.showcase {
    position: relative;
    min-width: 0;
    width: 100%;
    color: var(--text);
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}
.showcase, .showcase * { box-sizing: border-box; }
.showcase .ui-icon { flex: 0 0 auto; width: 17px; height: 17px; }
.showcase .showcase-caption {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 9px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 550;
    letter-spacing: .025em;
}
.showcase-caption .ui-icon { width: 15px; height: 15px; }
.showcase-window {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: var(--shadow-float);
}
.showcase-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 22px;
    border-bottom: 1px solid var(--border);
}
.showcase-brand { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 750; letter-spacing: -.02em; }
.showcase-brand-mark {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 7px;
    color: var(--on-primary);
    background: var(--primary);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.06em;
}
.showcase-topbar-note { color: var(--muted); font-size: 11px; }
.showcase-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 5px; border-bottom: 1px solid var(--border); background: var(--panel-soft); }
.showcase-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 42px;
    padding: 9px 4px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.showcase-tab:hover { color: var(--text); background: var(--panel); }
.showcase-tab[aria-selected="true"] { border-color: var(--border); color: var(--accent-text); background: var(--panel); box-shadow: var(--shadow); }
.showcase .showcase-tab:focus-visible, .showcase .showcase-panel:focus-visible { outline: 2px solid var(--primary); outline-offset: -3px; }
.showcase-panel { padding: 18px 24px 0; scroll-margin-top: 95px; }
.showcase-panel + .showcase-panel { border-top: 1px solid var(--border); }
.showcase-enhanced .showcase-panel { border-top: 0; }
.showcase-panel[hidden] { display: none; }
.showcase-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.showcase .showcase-eyebrow { margin: 0 0 5px; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.showcase-heading h3 { margin: 0; color: var(--text); font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
.showcase-status { display: flex; flex-shrink: 0; align-items: center; gap: 4px; margin-top: 3px; color: var(--accent-text); font-size: 10px; font-weight: 600; white-space: nowrap; }
.showcase-status .ui-icon { width: 13px; height: 13px; }
.showcase-context { display: grid; grid-template-columns: .9fr 1.1fr; gap: 15px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-soft); }
.showcase-context-item { display: flex; align-items: center; gap: 9px; min-width: 0; }
.showcase-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%; color: var(--accent-text); background: var(--panel); font-size: 10px; font-weight: 700; }
.showcase-vehicle-icon { display: grid; place-items: center; width: 27px; flex: 0 0 auto; color: var(--muted); }
.showcase-vehicle-icon .ui-icon { width: 22px; height: 22px; }
.showcase-label { display: block; margin-bottom: 1px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.showcase-context-item strong { display: block; font-size: 11.5px; font-weight: 650; }
.showcase-vehicle-detail { color: var(--muted); font-size: 10.5px; font-weight: 450; white-space: nowrap; }
.showcase-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 14px 0; padding: 0; list-style: none; }
.showcase-flow li { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 4px; text-align: center; }
.showcase-flow li + li::before { position: absolute; top: 13px; left: -50%; width: 100%; border-top: 1px solid var(--border); content: ""; }
.showcase-step { position: relative; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: 5px; border: 1px solid var(--border); border-radius: 50%; color: var(--muted); background: var(--panel); box-shadow: 0 0 0 5px var(--panel); }
.showcase-step .ui-icon { width: 14px; height: 14px; }
.showcase-flow-current .showcase-step { border-color: var(--primary); color: var(--on-primary); background: var(--primary); }
.showcase-flow strong { color: var(--text); font-size: 11px; font-weight: 650; line-height: 1.25; }
.showcase-flow li > span:last-child { display: none; }
.showcase-record { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }
.showcase-record-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--border); background: var(--panel-soft); }
.showcase-record-heading > span:first-child { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 650; }
.showcase-record-heading > span:last-child { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.showcase-record-heading .ui-icon { width: 14px; height: 14px; color: var(--muted); }
.showcase-table { width: calc(100% - 28px); margin: 4px 14px 0; border-collapse: collapse; font-size: 11.5px; }
.showcase-table th { padding: 5px 0 4px; color: var(--muted); font-size: 10px; font-weight: 450; text-align: left; }
.showcase-table th:last-child, .showcase-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.showcase-table td { padding: 6px 0; border-top: 1px solid var(--border); }
.showcase-table td span { margin-left: 5px; color: var(--muted); font-size: 10px; }
.showcase-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 5px 14px 0; padding: 9px 0 11px; border-top: 1px solid var(--border); }
.showcase-total > span { font-size: 11px; font-weight: 600; }
.showcase-total small { display: inline; margin-left: 5px; color: var(--muted); font-size: 10px; font-weight: 400; }
.showcase-total > strong { font-size: 20px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.035em; white-space: nowrap; }
.showcase-facts { display: grid; gap: 6px; margin: 10px 14px 8px; font-size: 11px; }
.showcase-facts > div { display: flex; justify-content: space-between; gap: 12px; }
.showcase-facts dt { color: var(--muted); }
.showcase-facts dd { margin: 0; font-weight: 550; text-align: right; }
.showcase-connection { display: flex; align-items: center; gap: 7px; min-height: 36px; margin: 0; padding: 8px 0; color: var(--muted); font-size: 10px; }
.showcase-connection .ui-icon { width: 13px; height: 13px; color: var(--accent-text); }
.showcase-shared { display: flex; justify-content: center; gap: 25px; padding: 8px 18px; border-top: 1px solid var(--border); background: var(--panel-soft); color: var(--muted); }
.showcase-shared span { display: flex; align-items: center; gap: 6px; font-size: 10px; }
.showcase-shared .ui-icon { width: 13px; height: 13px; }
.showcase .showcase-footnote { margin: 9px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.showcase-sr-only { position: absolute; overflow: hidden; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 881px) {
    .showcase-enhanced .showcase-panel { min-height: 416px; }
}
@media (max-width: 600px) {
    .showcase-topbar { padding: 12px 16px; }
    .showcase-panel { padding: 18px 16px 0; }
    .showcase-heading { flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
    .showcase-heading h3 { font-size: 20px; }
    .showcase-status { margin-top: 0; }
    .showcase-context { gap: 10px; padding: 10px; }
    .showcase-context-item { gap: 7px; }
    .showcase-vehicle-icon { display: none; }
    .showcase-vehicle-detail { display: block; font-size: 10px; }
    .showcase-flow { margin: 15px 0; }
    .showcase-total small { display: block; margin: 1px 0 0; }
}
@media (max-width: 380px) {
    .showcase-tab { gap: 5px; font-size: 11px; }
    .showcase-tab .ui-icon { width: 14px; height: 14px; }
    .showcase-topbar-note { font-size: 10px; }
    .showcase-heading h3 { font-size: 18px; }
    .showcase-context { grid-template-columns: 1fr 1fr; }
    .showcase-avatar { width: 27px; height: 27px; font-size: 9px; }
    .showcase-flow strong { font-size: 10px; }
    .showcase-table td span { display: block; margin-left: 0; }
    .showcase-total > strong { font-size: 18px; }
    .showcase-shared { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .showcase-tab { transition: none; }
}
