@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #f3efe7;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: #ffffff;
    --surface-subtle: rgba(252, 248, 241, 0.95);
    --line: rgba(39, 51, 69, 0.12);
    --text: #152033;
    --muted: #68758a;
    --primary: #b63d1d;
    --primary-strong: #8f2710;
    --secondary: #204b73;
    --accent: #188a7d;
    --danger: #bf243f;
    --success: #1b8c4f;
    --warning: #d89017;
    --neutral: #8c744e;
    --shadow: 0 24px 70px rgba(26, 40, 66, 0.12);
    --radius: 26px;
    --radius-small: 16px;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(182, 61, 29, 0.15), transparent 32%),
        radial-gradient(circle at top right, rgba(24, 138, 125, 0.14), transparent 27%),
        linear-gradient(180deg, #f7f3ec 0%, #efe6da 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.page-gradient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.52), transparent 38%),
        linear-gradient(300deg, rgba(32, 75, 115, 0.08), transparent 40%);
}

.layout-shell {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.layout-shell--wide {
    width: min(1320px, calc(100vw - 32px));
}

.topbar {
    position: relative;
    z-index: 40;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 6px 0 16px;
    margin-bottom: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    overflow: visible;
}

.topbar > * {
    min-width: 0;
}

.brandmark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: center;
}

.brandmark--logoonly {
    gap: 0;
}

.brandmark strong {
    display: block;
    font-size: 1rem;
}

.brandmark small {
    display: block;
    color: var(--muted);
}

.brandmark__badge {
    display: inline-grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--primary), #e5752a);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 1.5rem;
}

.brandmark__badge--image {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    padding: 0;
}

.brandmark__badge--image img {
    width: clamp(92px, 10vw, 128px);
    height: auto;
    display: block;
    object-fit: contain;
}

.receipt-logo--image {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    padding: 0;
}

.receipt-logo--image img {
    width: min(150px, 100%);
    height: auto;
    display: block;
    object-fit: contain;
}

.topnav {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
    overflow: visible;
}

.dropdown-shell--mobile {
    display: none;
}

.topnav a,
.dropdown-pill,
.dropdown-link,
.button {
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.topnav a {
    padding: 10px 11px;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.98rem;
}

.topnav a:hover,
.topnav a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.78);
}

.topbar__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    align-self: center;
}

.topbar__navcluster {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    align-self: center;
}

.user-chip {
    display: flex;
    flex-direction: column;
    padding: 9px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    white-space: nowrap;
}

.user-chip span {
    font-size: 0.92rem;
    font-weight: 700;
}

.user-chip small {
    color: var(--muted);
    font-size: 0.9rem;
}

.lang-switcher {
    position: relative;
}

.dropdown-shell {
    position: relative;
    z-index: 45;
}

.dropdown-shell summary {
    list-style: none;
}

.dropdown-shell summary::-webkit-details-marker {
    display: none;
}

.dropdown-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
}

.dropdown-pill svg {
    width: 16px;
    height: 16px;
}

.dropdown-pill--menu {
    color: var(--secondary);
}

.dropdown-card {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(39, 51, 69, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 60;
}

.dropdown-card--menu {
    min-width: 210px;
    left: 0;
    right: auto;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 600;
}

.dropdown-link.is-active,
.dropdown-link:hover {
    color: var(--text);
    background: rgba(32, 75, 115, 0.08);
}

.flag-badge {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(32, 75, 115, 0.08);
    font-size: 0.95rem;
}

.flash {
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.flash--success {
    border-color: rgba(27, 140, 79, 0.25);
    color: var(--success);
}

.flash--danger {
    border-color: rgba(191, 36, 63, 0.25);
    color: var(--danger);
}

.flash--warning {
    border-color: rgba(216, 144, 23, 0.25);
    color: var(--warning);
}

.hero-grid,
.content-grid,
.split-panel {
    display: grid;
    gap: 22px;
    margin-bottom: 22px;
}

.hero-grid > *,
.content-grid > *,
.split-panel > * {
    min-width: 0;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
}

.hero-grid--tracker {
    align-items: stretch;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.8fr);
}

.hero-grid--ops {
    align-items: stretch;
    grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
}

.content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-grid--single {
    grid-template-columns: 1fr;
}

.split-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: stretch;
}

.split-panel--request {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    align-items: start;
}

.hero-card,
.hero-panel,
.panel-card {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.search-hero {
    min-width: 0;
    display: grid;
    gap: 16px;
    align-content: start;
    align-self: start;
    padding: 38px;
    border-radius: 34px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 241, 0.94)),
        linear-gradient(120deg, rgba(255, 198, 46, 0.08), transparent 48%);
    box-shadow: var(--shadow);
}

.search-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.search-hero .eyebrow,
.search-hero .tracking-prompt,
.search-hero h1,
.search-hero__note {
    margin: 0;
}

.search-hero__note {
    max-width: 38rem;
    color: var(--muted);
    line-height: 1.7;
}

.hero-card--primary {
    background:
        linear-gradient(135deg, rgba(182, 61, 29, 0.94), rgba(224, 119, 33, 0.88)),
        linear-gradient(160deg, rgba(255, 255, 255, 0.18), transparent 60%);
    color: #fff;
}

.hero-card--primary p,
.hero-card--primary .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.hero-card--intro {
    background:
        linear-gradient(145deg, rgba(32, 75, 115, 0.96), rgba(24, 138, 125, 0.82)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
    color: #fff;
}

.hero-card h1,
.panel-card h1,
.panel-card h2 {
    margin: 0 0 12px;
    line-height: 1.1;
}

.hero-card h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.hero-card p,
.panel-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.hero-panel {
    display: grid;
    gap: 16px;
    padding: 20px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hero-panel--compact {
    margin: 18px 0 24px;
}

.metric-card {
    padding: 22px;
    min-height: 132px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 235, 0.94));
    border: 1px solid rgba(39, 51, 69, 0.08);
}

.metric-card strong {
    display: block;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin-bottom: 6px;
}

.metric-card span,
.eyebrow,
.detail-grid span,
.price-row span,
.receipt-sheet span {
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 700;
}

.metric-card small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.5;
}

.metric-card--accent {
    background:
        linear-gradient(180deg, rgba(255, 248, 226, 0.96), rgba(255, 255, 255, 0.94)),
        linear-gradient(135deg, rgba(255, 198, 46, 0.14), transparent 55%);
    border-color: rgba(255, 198, 46, 0.22);
}

.hero-actions,
.button-group,
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(182, 61, 29, 0.26);
}

.button:hover,
.dropdown-pill:hover,
.topnav a:hover {
    transform: translateY(-1px);
}

.button:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}

.button--light {
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-strong);
    box-shadow: none;
}

.button--soft {
    background: rgba(32, 75, 115, 0.1);
    color: var(--secondary);
    border-color: rgba(32, 75, 115, 0.12);
    box-shadow: none;
}

.button--ghost {
    background: rgba(255, 255, 255, 0.3);
    color: var(--text);
    border-color: rgba(39, 51, 69, 0.12);
    box-shadow: none;
}

.button-group--table {
    justify-content: flex-start;
}

.button-group--table .button {
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: none;
}

.dashboard-hero {
    align-content: start;
}

.dashboard-alert-stack,
.dashboard-record-list {
    display: grid;
    gap: 14px;
}

.dashboard-alert {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.dashboard-alert__icon,
.dashboard-action-card__icon,
.dashboard-queue-card__icon {
    width: 50px;
    height: 50px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(32, 75, 115, 0.08);
    color: var(--secondary);
}

.dashboard-alert__icon svg,
.dashboard-action-card__icon svg,
.dashboard-queue-card__icon svg {
    width: 26px;
    height: 26px;
}

.dashboard-alert__text,
.dashboard-action-card__copy,
.dashboard-timeline-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.dashboard-alert__text strong,
.dashboard-action-card__copy strong,
.dashboard-timeline-copy strong {
    display: block;
}

.dashboard-alert__text small,
.dashboard-action-card__copy small,
.dashboard-timeline-copy p,
.dashboard-timeline-copy small {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.dashboard-action-grid,
.dashboard-kpi-grid,
.dashboard-queue-grid,
.dashboard-record__meta {
    display: grid;
    gap: 14px;
}

.dashboard-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-kpi-grid {
    align-content: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-kpi-grid .metric-card {
    min-height: 0;
}

.dashboard-action-card,
.dashboard-record,
.dashboard-queue-card {
    border-radius: 24px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.dashboard-action-card,
.dashboard-record {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.dashboard-action-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
}

.dashboard-queue-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dashboard-queue-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 20px 18px;
}

.dashboard-queue-card strong {
    font-size: clamp(1.65rem, 2.8vw, 2.1rem);
    line-height: 1;
}

.dashboard-queue-card > span:not(.dashboard-queue-card__icon) {
    font-weight: 700;
}

.dashboard-queue-card small {
    color: var(--muted);
    line-height: 1.5;
}

.dashboard-queue-card__icon--neutral {
    background: rgba(140, 116, 78, 0.12);
    color: var(--neutral);
}

.dashboard-queue-card__icon--info {
    background: rgba(32, 75, 115, 0.12);
    color: var(--secondary);
}

.dashboard-queue-card__icon--secondary {
    background: rgba(108, 123, 146, 0.15);
    color: #5d6b81;
}

.dashboard-queue-card__icon--warning {
    background: rgba(216, 144, 23, 0.16);
    color: #935e0d;
}

.dashboard-queue-card__icon--accent {
    background: rgba(24, 138, 125, 0.14);
    color: var(--accent);
}

.dashboard-queue-card__icon--success {
    background: rgba(27, 140, 79, 0.14);
    color: var(--success);
}

.dashboard-record__top,
.dashboard-record__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.dashboard-record__top small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.dashboard-record__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-record__footer {
    padding-top: 12px;
    border-top: 1px solid rgba(39, 51, 69, 0.08);
    color: var(--muted);
    font-size: 0.92rem;
}

.subtle-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(32, 75, 115, 0.08);
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 700;
}

.panel-card {
    padding: 28px;
}

.panel-card--track-search {
    margin-bottom: 22px;
}

.panel-card--quote {
    padding: 26px;
}

.panel-card--visual,
.panel-card--quote,
.quote-widget,
.request-intro {
    display: grid;
    gap: 18px;
    align-content: start;
}

.request-intro,
.split-panel--request .panel-card {
    align-self: start;
}

.login-card--visual {
    display: grid;
    place-items: center;
    padding: 12px 0;
    min-height: 100%;
}

.login-visual-logo {
    display: inline-grid;
    place-items: center;
    width: 180px;
    height: 180px;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--primary), #e5752a);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.login-visual-logo--image {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
}

.login-visual-logo--image img {
    width: min(240px, 100%);
    height: auto;
    display: block;
    object-fit: contain;
}

.showcase-card {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(39, 51, 69, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 201, 52, 0.22), transparent 28%),
        radial-gradient(circle at bottom left, rgba(32, 75, 115, 0.12), transparent 32%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 235, 0.94));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.showcase-card--media {
    align-content: stretch;
    padding: 0;
    gap: 0;
}

.showcase-card__badge {
    display: inline-flex;
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(32, 75, 115, 0.08);
    color: var(--secondary);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.showcase-card h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    line-height: 1.15;
}

.showcase-card h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.showcase-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.showcase-card__board {
    display: grid;
    gap: 18px;
}

.showcase-card__route,
.showcase-card__stats {
    display: grid;
    gap: 10px;
}

.showcase-card__route {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-card__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-card__route span,
.showcase-card__stats div {
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: rgba(255, 255, 255, 0.88);
    text-align: center;
}

.showcase-card__route span {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--secondary);
}

.showcase-card__center {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.showcase-card__signal,
.showcase-card__vehicle {
    width: 72px;
    height: 72px;
    display: inline-grid;
    place-items: center;
    border-radius: 24px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: rgba(255, 255, 255, 0.94);
    color: var(--secondary);
}

.showcase-card__vehicle {
    color: #0e90b0;
    background: linear-gradient(180deg, rgba(255, 208, 69, 0.95), rgba(255, 190, 38, 0.88));
}

.showcase-card__signal svg,
.showcase-card__vehicle svg {
    width: 34px;
    height: 34px;
}

.showcase-card__capsule {
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.showcase-card__capsule strong,
.showcase-card__stats strong {
    display: block;
}

.showcase-card__capsule small,
.showcase-card__stats span {
    color: var(--muted);
}

.showcase-card__stats strong {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.quote-total-card,
.quote-placeholder,
.request-note {
    margin-top: 20px;
    padding: 20px 22px;
    border-radius: 24px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 235, 0.94));
}

.quote-total-card,
.quote-placeholder {
    display: grid;
    gap: 10px;
}

.quote-total-card strong {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.quote-total-card--strong {
    margin-top: 24px;
}

.quote-placeholder strong,
.request-note strong {
    display: block;
    margin-bottom: 4px;
}

.quote-placeholder--strong {
    margin-top: 24px;
}

.request-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.request-summary .metric-card {
    min-height: auto;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: none;
}

.request-summary .metric-card span {
    color: #6f7b8a;
}

.request-summary .metric-card strong {
    color: var(--text);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.35;
    word-break: break-word;
}

.media-frame {
    position: relative;
    min-height: 0;
    border-radius: 28px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: rgba(255, 255, 255, 0.94);
    overflow: hidden;
}

.media-frame--image {
    display: block;
    height: auto;
    aspect-ratio: auto;
    background: transparent;
}

.media-frame__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.media-frame--fallback {
    display: grid;
    align-content: space-between;
    gap: 22px;
    padding: 28px;
    min-height: 320px;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 198, 46, 0.2), transparent 20%),
        radial-gradient(circle at 78% 28%, rgba(32, 75, 115, 0.12), transparent 18%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(246, 242, 236, 0.95));
}

.media-frame__halo {
    position: absolute;
    right: -16px;
    top: -12px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 198, 46, 0.34), rgba(255, 198, 46, 0.02));
    filter: blur(6px);
}

.media-frame__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.media-tile {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(39, 51, 69, 0.08);
}

.media-tile span {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
}

.media-tile span svg {
    width: 26px;
    height: 26px;
}

.media-tile strong {
    line-height: 1.35;
}

.media-tile--warm span {
    background: linear-gradient(180deg, rgba(255, 207, 61, 0.95), rgba(255, 191, 36, 0.9));
    color: #0e8fb0;
}

.media-tile--bright span {
    background: rgba(32, 75, 115, 0.12);
    color: var(--secondary);
}

.media-tile--cool span {
    background: rgba(24, 138, 125, 0.14);
    color: var(--accent);
}

.media-frame__caption {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(39, 51, 69, 0.08);
}

.media-frame__caption strong {
    display: block;
}

.media-frame__caption small {
    color: var(--muted);
    line-height: 1.6;
}

.upload-preview {
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.upload-preview span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.upload-preview img {
    width: min(100%, 320px);
    max-height: 220px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(39, 51, 69, 0.08);
}

.panel-card--narrow {
    max-width: 820px;
    margin: 0 auto;
}

.panel-card--subtle {
    background: rgba(255, 255, 255, 0.72);
}

.panel-card--visual {
    padding: 0;
    overflow: hidden;
}

.panel-card--visual .media-frame {
    min-height: 0;
    height: auto;
    border: 0;
    border-radius: inherit;
}

.panel-card--request-shell {
    display: grid;
    gap: 22px;
}

.panel-card--request-form {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.panel-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.panel-card--quote .panel-card__header,
.panel-card--visual .panel-card__header {
    margin-bottom: 0;
}

.stack {
    display: grid;
    gap: 16px;
}

.form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid__full {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(39, 51, 69, 0.16);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(182, 61, 29, 0.2);
    border-color: rgba(182, 61, 29, 0.46);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.tracking-prompt {
    display: grid;
    gap: 14px;
}

.tracking-prompt__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    min-width: 0;
    align-items: center;
    border-radius: 34px;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(39, 51, 69, 0.06);
    box-shadow: 0 18px 40px rgba(26, 40, 66, 0.08);
}

.tracking-prompt__bar > * {
    min-width: 0;
}

.tracking-prompt__bar input {
    border: 0;
    background: #f1f2f4;
    border-radius: 24px 0 0 24px;
    min-height: 64px;
    padding-inline: 20px;
    font-size: 1.1rem;
    color: #3f4c62;
}

.tracking-prompt__bar input::placeholder {
    color: #97a1b0;
}

.tracking-prompt__submit {
    min-height: 64px;
    border: 0;
    border-radius: 0 24px 24px 0;
    background: linear-gradient(180deg, #ffd345 0%, #ffbf24 100%);
    color: #1d3552;
    font-weight: 800;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.tracking-prompt--panel .tracking-prompt__bar {
    max-width: 920px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tag {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(32, 75, 115, 0.08);
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    margin-top: 24px;
    min-height: 180px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 25%, rgba(255, 206, 58, 0.18), transparent 20%),
        radial-gradient(circle at 72% 35%, rgba(32, 75, 115, 0.08), transparent 18%),
        linear-gradient(180deg, rgba(246, 247, 250, 0.9), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(39, 51, 69, 0.08);
    overflow: hidden;
}

.hero-visual__orb {
    position: absolute;
    inset: 22px 24px auto auto;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 196, 31, 0.32), rgba(255, 196, 31, 0.04));
    filter: blur(6px);
}

.hero-visual__route {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-width: 0;
    gap: 14px;
    align-items: start;
}

.hero-visual__step-card {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.hero-visual__step-card strong {
    font-size: 0.82rem;
    line-height: 1.35;
}

.hero-visual__step--pending + strong {
    color: #8e98a6;
}

.hero-visual__step,
.mini-stage__icon,
.stage-step__icon {
    position: relative;
    width: 82px;
    height: 82px;
    margin: 0 auto;
    border-radius: 999px;
    border: 4px solid #c9ced8;
    color: #8f99a8;
    background: #f1f3f7;
    display: inline-grid;
    place-items: center;
}

.hero-visual__step svg,
.mini-stage__icon svg,
.stage-step__icon svg,
.dock-button svg {
    width: 34px;
    height: 34px;
}

.hero-visual__step::after,
.mini-stage__icon::after,
.stage-step__icon::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 999px;
    border: 6px solid #d9dde5;
    border-right-color: transparent;
}

.hero-visual__step--done,
.hero-visual__step--current,
.mini-stage--done .mini-stage__icon,
.mini-stage--current .mini-stage__icon,
.stage-step--done .stage-step__icon,
.stage-step--current .stage-step__icon {
    color: #0da0c4;
    background: #ffc531;
    border-color: #767c86;
}

.hero-visual__step--done::after,
.hero-visual__step--current::after,
.mini-stage--done .mini-stage__icon::after,
.mini-stage--current .mini-stage__icon::after,
.stage-step--done .stage-step__icon::after,
.stage-step--current .stage-step__icon::after {
    border-color: #ffc531;
    border-right-color: transparent;
}

.hero-visual__step--pending,
.mini-stage--pending .mini-stage__icon,
.stage-step--pending .stage-step__icon {
    background: #f5f7fa;
    border-color: #c9ced8;
    color: #a8b0bd;
}

.hero-visual__step--pending::after,
.mini-stage--pending .mini-stage__icon::after,
.stage-step--pending .stage-step__icon::after {
    border-color: #d9dde5;
    border-right-color: transparent;
}

.subtle-line {
    margin-top: 14px;
    color: var(--muted);
}

.subtle-line a {
    color: var(--secondary);
    font-weight: 700;
}

.empty-state {
    display: grid;
    gap: 10px;
    place-items: center;
    text-align: center;
    min-height: 280px;
    padding: 24px;
    border-radius: 20px;
    background: var(--surface-subtle);
    border: 1px dashed rgba(39, 51, 69, 0.12);
}

.pricing-stack,
.timeline {
    display: grid;
    gap: 14px;
}

.mini-stage-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.mini-stage {
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 20px 12px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(39, 51, 69, 0.08);
    text-align: center;
}

.mini-stage strong {
    font-size: 0.85rem;
    line-height: 1.3;
}

.mini-stage--pending strong,
.stage-step--pending strong {
    color: #8e98a6;
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(39, 51, 69, 0.08);
}

.price-row--total {
    font-size: 1.15rem;
    border-bottom: 0;
}

.tracking-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.stage-highlight {
    display: inline-grid;
    gap: 6px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(20, 159, 194, 0.08), rgba(255, 197, 49, 0.16));
    border: 1px solid rgba(255, 197, 49, 0.28);
}

.stage-highlight strong {
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    color: #149fc2;
}

.qr-preview {
    width: 180px;
    height: 180px;
    padding: 12px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
}

.qr-preview--small {
    width: 120px;
    height: 120px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.stage-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 16px;
    margin: 26px 0;
}

.stage-step {
    position: relative;
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
    padding: 22px 14px 16px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 243, 237, 0.86));
    border: 1px solid rgba(39, 51, 69, 0.08);
}

.stage-step strong {
    line-height: 1.35;
}

.stage-step--current {
    background:
        linear-gradient(180deg, rgba(255, 248, 226, 0.95), rgba(255, 255, 255, 0.92)),
        linear-gradient(135deg, rgba(255, 198, 46, 0.12), transparent);
    border-color: rgba(255, 198, 46, 0.34);
    box-shadow: 0 16px 36px rgba(255, 198, 46, 0.15);
}

.tracking-ticket {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 10px 0 24px;
}

.tracking-ticket__card,
.tracking-ticket__meta {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(39, 51, 69, 0.08);
    overflow: hidden;
}

.tracking-ticket__card {
    padding: 18px;
}

.tracking-ticket__card--sender {
    border-top: 6px solid #16a3c8;
}

.tracking-ticket__card--route {
    border-top: 6px solid #ffbf24;
}

.tracking-ticket__card p,
.tracking-ticket__meta div strong {
    margin-top: 8px;
}

.tracking-ticket__card small {
    display: inline-block;
    margin-top: 12px;
    color: var(--muted);
}

.tracking-ticket__meta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tracking-ticket__meta div {
    padding: 18px;
    border-right: 1px solid rgba(39, 51, 69, 0.08);
}

.tracking-ticket__meta div:last-child {
    border-right: 0;
}

.timeline--public {
    border-top: 1px solid rgba(39, 51, 69, 0.08);
    padding-top: 20px;
}

.detail-grid strong,
.receipt-sheet strong {
    display: block;
    margin-top: 6px;
    line-height: 1.6;
}

.timeline__item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 16px;
}

.timeline__dot {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    margin-top: 6px;
    background: rgba(39, 51, 69, 0.22);
    box-shadow: 0 0 0 6px rgba(39, 51, 69, 0.04);
}

.timeline__dot--neutral { background: var(--neutral); }
.timeline__dot--info { background: var(--secondary); }
.timeline__dot--secondary { background: #6c7b92; }
.timeline__dot--warning { background: var(--warning); }
.timeline__dot--accent { background: var(--accent); }
.timeline__dot--success { background: var(--success); }
.timeline__dot--danger { background: var(--danger); }

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.status-badge--neutral {
    color: #7b6037;
    background: rgba(140, 116, 78, 0.12);
}

.status-badge--info {
    color: var(--secondary);
    background: rgba(32, 75, 115, 0.12);
}

.status-badge--secondary {
    color: #4f6280;
    background: rgba(108, 123, 146, 0.15);
}

.status-badge--warning {
    color: #935e0d;
    background: rgba(216, 144, 23, 0.16);
}

.status-badge--accent {
    color: #0e7368;
    background: rgba(24, 138, 125, 0.14);
}

.status-badge--success {
    color: #136f3d;
    background: rgba(27, 140, 79, 0.14);
}

.status-badge--danger {
    color: #9b1830;
    background: rgba(191, 36, 63, 0.14);
}

.filter-bar {
    margin-bottom: 20px;
}

.filter-bar > * {
    flex: 1 1 180px;
}

.table-scroll {
    overflow-x: auto;
}

.table-scroll--fit {
    overflow-x: visible;
}

.table-scroll--fit table {
    min-width: 0;
    table-layout: fixed;
}

.table-scroll--fit th,
.table-scroll--fit td {
    white-space: normal;
    word-break: break-word;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

th,
td {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(39, 51, 69, 0.08);
    text-align: left;
    vertical-align: top;
}

th {
    font-size: 0.82rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.selection-list {
    display: grid;
    gap: 10px;
}

.selection-list__item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
}

.selection-list__item input {
    width: auto;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.permission-pill {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(39, 51, 69, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.permission-pill input {
    width: auto;
    margin-top: 3px;
}

.permission-pill__text {
    display: grid;
    gap: 4px;
}

.permission-pill__text strong,
.permission-pill__text small {
    display: block;
}

.permission-pill__text small {
    color: var(--muted);
}

.permission-editor {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: rgba(255, 255, 255, 0.84);
}

.permission-editor__header,
.permission-editor__meta {
    display: grid;
    gap: 16px;
}

.permission-editor__header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    margin-bottom: 18px;
}

.permission-editor__header h3,
.permission-editor__meta-card strong {
    margin: 0;
}

.permission-editor__header p {
    margin-top: 8px;
}

.permission-editor__meta {
    grid-template-columns: minmax(220px, 0.9fr) repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.permission-editor__meta-card {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: rgba(247, 242, 235, 0.9);
}

.floating-dock {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    display: grid;
    gap: 12px;
}

.dock-button {
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 16px 36px rgba(26, 40, 66, 0.2);
}

.dock-button--phone {
    background: linear-gradient(180deg, #294766, #1d3148);
}

.dock-button--whatsapp {
    background: linear-gradient(180deg, #32d26d, #18a94f);
}

.dock-button--track {
    background: linear-gradient(180deg, #ffcf3d, #ffb700);
    color: #21304a;
}

.dock-button--scan {
    border: 0;
    background: linear-gradient(180deg, #2a7cc7, #1b5f9c);
    cursor: pointer;
}

.scan-modal[hidden] {
    display: none;
}

.scan-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
}

.scan-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 32, 51, 0.44);
    backdrop-filter: blur(8px);
}

.scan-modal__panel {
    position: relative;
    width: min(540px, calc(100vw - 28px));
    margin: min(8vh, 48px) auto 0;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(39, 51, 69, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.scan-modal__header,
.scan-modal__meta,
.scan-modal__manual {
    display: grid;
    gap: 14px;
}

.scan-modal__header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    margin-bottom: 18px;
}

.scan-modal__body {
    display: grid;
    gap: 18px;
}

.scan-modal__video {
    width: 100%;
    min-height: 280px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(32, 75, 115, 0.14), rgba(24, 138, 125, 0.14));
    object-fit: cover;
}

.scan-modal__manual {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.translation-table textarea {
    min-width: 220px;
    min-height: 120px;
}

.receipt-sheet {
    width: 176mm;
    height: 250mm;
    margin: 0 auto;
    padding: 10mm 11mm;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10mm;
    overflow: hidden;
}

.receipt-sheet__header,
.receipt-sheet__footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.receipt-sheet__header h1 {
    margin: 0 0 6px;
}

.receipt-sheet__status {
    text-align: right;
}

.receipt-sheet__body {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
}

.receipt-sheet__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    width: 100%;
    margin: 0;
}

.receipt-sheet__block {
    padding: 14px 0;
}

.receipt-sheet__block p {
    margin-top: 8px;
    color: var(--text);
}

.receipt-sheet__block small {
    display: inline-block;
    margin-top: 8px;
    color: var(--muted);
}

.receipt-sheet__qr {
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(39, 51, 69, 0.1);
    border-radius: 22px;
    padding: 18px;
    min-height: 108mm;
}

.receipt-sheet__qr img {
    width: 100%;
    max-width: 280px;
}

.receipt-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.receipt-brand {
    display: flex;
    align-items: center;
    gap: 0;
}

.receipt-logo {
    width: 64px;
    height: 64px;
    display: inline-grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), #e5752a);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.receipt-sheet__codebox {
    text-align: right;
}

.receipt-sheet__codebox strong {
    margin-top: 6px;
    font-size: 1.22rem;
}

.receipt-sheet__grid--label {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    align-content: space-between;
    min-height: 100%;
}

.receipt-sheet__grid--customer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    grid-auto-rows: minmax(0, auto);
}

.receipt-sheet--label .receipt-sheet__qr {
    grid-column: 1 / -1;
    max-width: 320px;
    margin: 0 auto;
}

.receipt-sheet--customer .receipt-sheet__grid {
    align-content: start;
}

.receipt-sheet__block--wide {
    grid-column: 1 / -1;
}

.print-page .topbar,
.print-page .lang-switcher,
.print-page .user-chip,
.print-page .page-gradient,
 .print-page .floating-dock,
 .print-page .receipt-toolbar {
    display: none;
}

@page {
    size: B5 portrait;
    margin: 0;
}

@media (max-width: 1024px) {
    .hero-grid,
    .content-grid,
    .split-panel {
        grid-template-columns: 1fr;
    }

    .topbar {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .brandmark,
    .topbar__navcluster,
    .topbar__actions {
        grid-column: auto;
        width: 100%;
    }

    .topbar__navcluster {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
    }

    .topbar__actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .topnav--desktop,
    .dropdown-shell--desktop {
        display: none;
    }

    .dropdown-shell--mobile {
        display: block;
        width: 100%;
    }

    .dropdown-shell--mobile .dropdown-pill {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-card--menu {
        left: auto;
        right: 0;
    }

    .media-frame__grid,
    .request-summary {
        grid-template-columns: 1fr;
    }

    .dashboard-queue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .layout-shell,
    .layout-shell--wide {
        width: min(100vw - 20px, 100%);
        padding-top: 14px;
    }

    .hero-card,
    .panel-card {
        padding: 22px;
    }

    .hero-panel,
    .form-grid,
    .form-grid--compact,
    .detail-grid,
    .receipt-sheet__grid,
    .tracking-ticket,
    .tracking-ticket__meta,
    .permission-grid,
    .permission-editor__meta,
    .dashboard-action-grid,
    .dashboard-kpi-grid,
    .dashboard-queue-grid,
    .dashboard-record__meta {
        grid-template-columns: 1fr;
    }

    .tracking-ticket__meta div {
        border-right: 0;
        border-bottom: 1px solid rgba(39, 51, 69, 0.08);
    }

    .tracking-ticket__meta div:last-child {
        border-bottom: 0;
    }

    .mini-stage-strip,
    .stage-strip {
        grid-auto-flow: column;
        grid-auto-columns: minmax(150px, 1fr);
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-visual__route {
        grid-auto-flow: column;
        grid-auto-columns: minmax(112px, 1fr);
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .showcase-card__route,
    .showcase-card__stats,
    .showcase-card__center {
        grid-template-columns: 1fr;
    }

    .topbar {
        padding: 0;
        border-radius: 0;
        border: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        margin-bottom: 16px;
    }

    .brandmark {
        justify-content: center;
        text-align: center;
        margin-bottom: 10px;
    }

    .brandmark div {
        text-align: center;
    }

    .brandmark__badge {
        width: 110px;
        height: 110px;
        border-radius: 32px;
    }

    .brandmark__badge--image {
        width: auto;
        height: auto;
        border-radius: 0;
    }

    .brandmark__badge--image img {
        width: min(150px, 72vw);
    }

    .topbar__navcluster {
        grid-template-columns: 1fr;
    }

    .topbar__actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: center;
    }

    .user-chip {
        width: 100%;
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .lang-switcher,
    .lang-switcher .dropdown-shell,
    .lang-switcher .dropdown-pill {
        width: 100%;
    }

    .lang-switcher .dropdown-pill {
        justify-content: space-between;
    }

    .hero-card h1 {
        font-size: 2rem;
    }

    .tracking-prompt__bar {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .tracking-prompt__bar input,
    .tracking-prompt__submit {
        border-radius: 20px;
    }

    .dashboard-alert,
    .dashboard-action-card {
        grid-template-columns: 1fr;
    }

    .dashboard-alert__icon,
    .dashboard-action-card__icon,
    .dashboard-queue-card__icon {
        width: 44px;
        height: 44px;
    }

    .dashboard-record__top,
    .dashboard-record__footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .permission-editor__header {
        grid-template-columns: 1fr;
    }

    .floating-dock {
        right: 14px;
        bottom: 16px;
        gap: 10px;
    }

    .dock-button {
        width: 56px;
        height: 56px;
    }

    .dropdown-pill {
        padding-inline: 12px;
    }

    .dropdown-card {
        top: calc(100% + 8px);
        left: 0;
        right: auto;
        min-width: min(280px, calc(100vw - 40px));
        max-width: calc(100vw - 40px);
    }

    .dropdown-card--menu {
        left: 0;
        right: auto;
    }

    .quote-total-card strong {
        font-size: 2.2rem;
    }

    .media-frame--fallback {
        min-height: 280px;
    }

    .media-frame--fallback {
        padding: 22px;
    }

    .scan-modal__panel {
        width: min(100vw - 20px, 100%);
        margin-top: 18px;
        padding: 18px;
    }

    .scan-modal__manual {
        grid-template-columns: 1fr;
    }
}

@media print {
    @page {
        size: A5 portrait;
        margin: 0;
    }

    body {
        background: #fff;
    }

    .layout-shell {
        width: 100%;
        padding: 0;
    }

    .receipt-sheet {
        width: 100%;
        height: 250mm;
        padding: 9mm 9mm;
        border-radius: 0;
        box-shadow: none;
    }

    .button,
    .flash {
        display: none !important;
    }
}
