:root {
    color-scheme: light;
    --navy-primary: #06182c;
    --navy-secondary: #0b2945;
    --dair-green: #82b936;
    --app-background: #eef4f7;
    --card-background: #ffffff;
    --border-color: #d7e1e8;
    --text-primary: #1b2b38;
    --text-secondary: #607486;
    --warning: #9a6700;
    --error: #c43d4b;
    --radius-card: 1.15rem;
    --radius-control: .7rem;
    --shadow-card: 0 16px 40px rgba(6,24,44,.08);
    --navy: var(--navy-primary);
    --blue: #1769aa;
    --blue-dark: #0d4f85;
    --cyan: #24a9c7;
    --ink: var(--text-primary);
    --muted: var(--text-secondary);
    --line: var(--border-color);
    --surface: var(--card-background);
    --wash: var(--app-background);
    --success: #397d1f;
    --security-green: var(--dair-green);
    --security-green-bright: #a4d33f;
    --night: var(--navy-primary);
    --night-soft: var(--navy-secondary);
    --danger: var(--error);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(180deg, var(--app-background) 0, #f8fafc 30rem); color: var(--ink); }
body:not(.auth-page) { display: grid; grid-template-rows: auto 1fr auto; }
.site-header, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem max(1.25rem, calc((100vw - 1120px) / 2)); }
.site-header { background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(217,226,236,.8); backdrop-filter: blur(12px); }
body:not(.auth-page) .site-header { position: sticky; top: 0; z-index: 1000; color: white; background: rgba(6,24,44,.97); border-color: rgba(255,255,255,.1); box-shadow: 0 8px 24px rgba(6,24,44,.14); }
body:not(.auth-page) .site-header .brand { color: white; }
body:not(.auth-page) .site-header .brand strong { color: var(--security-green-bright); text-transform: uppercase; letter-spacing: .035em; }
body:not(.auth-page) .site-header .secondary-button { border-color: rgba(255,255,255,.24); color: white; background: rgba(255,255,255,.08); }
body:not(.auth-page) .site-header .secondary-button:hover { border-color: rgba(164,211,63,.55); background: rgba(130,185,54,.14); }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; font-size: 1.15rem; letter-spacing: .02em; }
.brand-logo { display: block; width: 2.5rem; height: 2.5rem; flex: 0 0 auto; border-radius: .7rem; box-shadow: 0 8px 24px rgba(6,24,44,.18); }
.brand-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .65rem; color: white; font-weight: 800; background: linear-gradient(140deg, var(--blue), var(--cyan)); box-shadow: 0 5px 14px rgba(23,105,170,.25); }
.poc-label { color: var(--muted); font-size: .82rem; }
main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0; }
.intro { max-width: 740px; margin-bottom: 2rem; }
.eyebrow { margin: 0 0 .5rem; color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 800; }
h1 { margin: 0; max-width: 700px; color: var(--navy); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; }
.intro > p:last-child { max-width: 650px; margin: 1.2rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.vehicle-card { min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.vehicle-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
h2 { margin: 0; color: var(--navy); font-size: 1.65rem; }
.status { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; padding: .55rem .8rem; border: 1px solid #cfe4bd; border-radius: 99px; background: #f1f8e9; color: #39731f; font-weight: 750; font-size: .82rem; }
.status-dot { width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(20,134,109,.12); }
.status[data-state="loading"] { color: var(--warning); background: #fff7d6; border-color: #ead894; }
.status[data-state="loading"] .status-dot { animation: pulse 1s infinite; }
.status[data-state="offline"] { color: var(--danger); background: #fff0f1; border-color: #f1c8cd; }
.status[data-state="ready"], .status[data-state="online"] { color: #39731f; background: #f1f8e9; border-color: #cfe4bd; }
.locate-button { display: inline-flex; justify-content: center; align-items: center; gap: .65rem; min-height: 3.25rem; padding: .8rem 1.25rem; border: 1px solid #679a2e; border-radius: var(--radius-control); background: linear-gradient(135deg, var(--security-green), #5f962a); color: white; box-shadow: 0 10px 24px rgba(75,126,38,.22); font: inherit; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease; }
.locate-button:hover { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(75,126,38,.3); }
.locate-button:focus-visible { outline: 3px solid rgba(130,185,54,.35); outline-offset: 3px; }
.locate-button:disabled { cursor: wait; opacity: .72; transform: none; }
.button-icon { font-size: 1.4rem; }
.is-loading .button-icon { animation: spin 1s linear infinite; }
.message { margin: 1rem 0 1.35rem; min-height: 1.5rem; color: var(--muted); font-size: .92rem; }
.message.success { color: var(--success); font-weight: 700; }
.message.error { color: var(--danger); font-weight: 700; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .65rem 1rem; border: 1px solid #b8c8d6; border-radius: var(--radius-control); background: white; color: var(--navy); font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.secondary-button:hover { border-color: var(--navy-secondary); background: #f4f8fa; }
.secondary-button:focus-visible { outline: 3px solid rgba(36,169,199,.35); outline-offset: 2px; }
.logout-form { margin: 0; }
.dashboard-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 2rem; align-items: end; margin-bottom: 1.5rem; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-card); color: white; background: radial-gradient(circle at 92% 10%, rgba(130,185,54,.18), transparent 18rem), linear-gradient(135deg, var(--navy-primary), var(--navy-secondary)); box-shadow: 0 18px 42px rgba(6,24,44,.16); }
.dashboard-heading h1 { color: white; font-size: clamp(1.85rem, 4vw, 3rem); }
.dashboard-heading .eyebrow { color: var(--security-green-bright); }
.dashboard-heading .page-subtitle { color: #c6d3df; }
.dashboard-heading > .status { align-self: center; justify-self: end; }
.identity-summary { display: grid; gap: .65rem; margin: 0; padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,.16); border-radius: .9rem; background: rgba(255,255,255,.07); }
.identity-summary > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.identity-summary dt { color: #aebfce; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.identity-summary dd { margin: 0; color: white; font-weight: 750; overflow-wrap: anywhere; }
.vehicle-list { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 1.75rem; }
.result-head { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.customer-list { display: grid; gap: .65rem; margin: 1.25rem 0; padding: 0; list-style: none; }
.customer-list li { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: .8rem; background: #fbfdff; color: var(--navy); font-weight: 750; }
.permission-note, .empty-state { margin: 1.2rem 0 0; color: var(--muted); line-height: 1.6; }
.page-subtitle { margin: .8rem 0 0; color: var(--muted); font-size: 1rem; }
.flash-message { padding: .9rem 1rem; border: 1px solid #b9dfd3; border-radius: .8rem; background: #eef9f5; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.fleet-grid, .customer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.fleet-card, .customer-card { display: flex; flex-direction: column; gap: 1rem; min-width: 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: .9rem; background: linear-gradient(145deg, #fff, #f7fafb); box-shadow: 0 8px 24px rgba(6,24,44,.05); }
.fleet-card h3, .customer-card h3 { margin: 0; color: var(--navy); font-size: 1.2rem; }
.fleet-card-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.vehicle-symbol { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; color: var(--security-green); background: #eef7df; }
.compact-data { display: grid; gap: .65rem; margin: 0; }
.compact-data > div { display: grid; grid-template-columns: minmax(7rem, .8fr) 1.2fr; gap: .7rem; align-items: baseline; }
.compact-data dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .045em; }
.compact-data dd { margin: 0; color: var(--navy); font-weight: 750; overflow-wrap: anywhere; }
.fleet-card .locate-button { margin-top: auto; text-decoration: none; }
.customer-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; color: var(--muted); font-size: .75rem; }
.customer-counts span { display: grid; gap: .2rem; }
.customer-counts strong { color: var(--navy); font-size: 1.25rem; }
.customer-card .secondary-button { align-self: flex-start; margin-top: auto; text-decoration: none; }
.inline-create-form { display: flex; align-items: end; gap: .75rem; margin-top: 1.25rem; padding: 1rem; border: 1px dashed #b8c8d6; border-radius: .9rem; background: #f8fbfd; }
.inline-create-form label, .stack-form label, .form-grid label, .one-time-secret label { display: grid; gap: .4rem; flex: 1; color: var(--navy); font-size: .82rem; font-weight: 750; }
input, select, textarea { width: 100%; min-height: 2.8rem; padding: .65rem .75rem; border: 1px solid #c7d3dd; border-radius: .6rem; background: white; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(130,185,54,.2); border-color: #72a730; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.detail-data { margin-top: 1.25rem; }
.location-panel, .future-panel, .alarm-panel { margin-top: 1rem; }
.location-panel { border-top: 4px solid var(--security-green); }
.alarm-panel { border-top: 4px solid var(--navy-secondary); }
.future-panel p { color: var(--muted); line-height: 1.6; }
.future-badge { display: inline-flex; padding: .45rem .7rem; border-radius: 99px; color: #627d21; background: #eef7df; font-size: .76rem; font-weight: 800; }
.privacy-note { margin: auto 0 0; padding-top: .75rem; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.permission-callout { display: grid; gap: .3rem; padding: 1rem; border: 1px solid rgba(164,211,63,.35); border-radius: .9rem; background: rgba(130,185,54,.1); color: #e8f4d4; }
.permission-callout span { color: #c6d3df; font-size: .82rem; }
.manager-list { display: grid; gap: .5rem; margin: 1rem 0; padding: 0; list-style: none; }
.manager-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: .7rem; }
.manager-list li > span:first-child { display: grid; gap: .2rem; min-width: 0; }
.manager-list small { color: var(--muted); overflow-wrap: anywhere; }
.stack-form { display: grid; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.wide-field { grid-column: 1 / -1; }
.form-grid button { justify-self: start; }
.one-time-secret { display: grid; gap: .5rem; margin-bottom: 1rem; padding: 1rem; border: 1px solid #e2c970; border-radius: .8rem; background: #fff9df; }
.one-time-secret input { font-family: ui-monospace, monospace; font-size: .78rem; }
.one-time-secret small { color: #75652e; }
.invitation-main { grid-template-columns: minmax(320px, 520px); justify-content: center; }
.invitation-title { color: var(--navy); font-size: clamp(2rem, 5vw, 3rem); }
.auth-page { display: grid; grid-template-rows: auto 1fr auto; color: white; background: var(--night); background-image: radial-gradient(circle at 78% 12%, rgba(86,139,181,.22), transparent 31rem), radial-gradient(circle at 12% 88%, rgba(130,185,54,.12), transparent 27rem), linear-gradient(128deg, #03111f 0%, #071d33 52%, #0b2945 100%); }
.auth-page::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.auth-header { position: relative; z-index: 2; padding-block: 1rem; color: white; background: rgba(3,17,31,.72); border-color: rgba(255,255,255,.1); }
.auth-header .brand { color: white; }
.brand-premium { gap: .85rem; }
.brand-premium .brand-logo { width: 3rem; height: 3rem; border: 1px solid rgba(164,211,63,.45); }
.brand-copy { display: grid; gap: .15rem; }
.brand-name { font-size: 1.22rem; font-weight: 800; letter-spacing: .055em; }
.brand-name strong { color: var(--security-green-bright); }
.brand-copy small { color: #c6d3df; font-size: .69rem; letter-spacing: .045em; text-transform: uppercase; }
.brand-copy i { color: white; font-style: normal; text-transform: none; }
.secure-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .8rem; border: 1px solid rgba(164,211,63,.42); border-radius: 99px; color: #e9f5d0; background: rgba(130,185,54,.08); font-size: .78rem; font-weight: 750; letter-spacing: .03em; }
.secure-pill span { color: var(--security-green-bright); font-size: .65rem; filter: drop-shadow(0 0 5px rgba(164,211,63,.7)); }
.auth-main { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(350px, 450px); gap: clamp(3rem, 7vw, 7rem); align-items: center; width: min(1240px, calc(100% - 3rem)); padding: clamp(3rem, 7vh, 6rem) 0; }
.auth-hero { min-width: 0; }
.solution-label { display: inline-flex; margin: 0 0 1.25rem; padding: .45rem .8rem; border: 1px solid rgba(164,211,63,.6); border-radius: .5rem; color: var(--security-green-bright); background: rgba(130,185,54,.07); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.auth-hero h1 { margin: 0; max-width: 800px; color: white; font-size: clamp(2.5rem, 5.5vw, 4.9rem); line-height: .98; letter-spacing: -.045em; }
.auth-hero h1 strong { display: inline-block; margin-top: .28em; color: var(--security-green-bright); font-weight: 820; }
.auth-lead { max-width: 720px; margin: 1.5rem 0 0; color: #c5d2df; font-size: clamp(1rem, 1.4vw, 1.13rem); line-height: 1.65; }
.use-cases { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 2rem; }
.use-case { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 1rem; border: 1px solid rgba(183,205,224,.17); border-radius: .9rem; background: rgba(255,255,255,.045); backdrop-filter: blur(10px); }
.use-case-active { border-color: rgba(164,211,63,.38); background: linear-gradient(135deg, rgba(130,185,54,.12), rgba(255,255,255,.035)); }
.use-case-number { color: var(--security-green-bright); font-size: .74rem; font-weight: 900; letter-spacing: .08em; }
.use-case h2 { margin: 0 0 .3rem; color: white; font-size: .96rem; letter-spacing: .01em; }
.use-case p { margin: 0; color: #9fb1c2; font-size: .78rem; line-height: 1.5; }
.solution-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .7rem; align-items: center; margin-top: 1.1rem; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.11); }
.solution-flow > div { display: grid; grid-template-columns: auto 1fr; column-gap: .65rem; align-items: center; }
.flow-icon { grid-row: span 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid rgba(164,211,63,.45); border-radius: 50%; color: var(--security-green-bright); font-size: 1.15rem; }
.solution-flow strong { color: #edf4f8; font-size: .76rem; }
.solution-flow small { color: #8096aa; font-size: .68rem; }
.flow-arrow { color: rgba(164,211,63,.58); }
.login-card { width: 100%; padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid rgba(255,255,255,.72); border-radius: 1.25rem; color: var(--ink); background: rgba(255,255,255,.97); box-shadow: 0 30px 80px rgba(0,0,0,.32); }
.login-card-heading { display: flex; align-items: center; gap: .9rem; }
.login-lock { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; border-radius: .8rem; color: white; background: linear-gradient(145deg, var(--security-green), #4d9228); box-shadow: 0 9px 22px rgba(77,146,40,.24); font-weight: 900; }
.login-card .eyebrow { margin-bottom: .2rem; color: #5d8e26; }
.login-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.025em; }
.login-intro { margin: 1rem 0 1.5rem; color: var(--muted); line-height: 1.6; }
.login-form { display: grid; gap: 1.1rem; }
.login-form label { display: grid; gap: .45rem; color: var(--navy); font-weight: 750; }
.login-form input { width: 100%; min-height: 3.15rem; padding: .75rem .9rem; border: 1px solid #c7d3dd; border-radius: .65rem; background: #f7fafb; color: var(--ink); font: inherit; }
.login-form input:focus { outline: 3px solid rgba(130,185,54,.22); border-color: #72a730; background: white; }
.auth-page .login-submit { justify-content: space-between; width: 100%; margin-top: .35rem; background: linear-gradient(135deg, #72a72e, #4d8d2b); box-shadow: 0 10px 25px rgba(77,141,43,.25); }
.auth-page .login-submit:hover { box-shadow: 0 14px 30px rgba(77,141,43,.34); }
.auth-page .login-submit:focus-visible { outline-color: rgba(164,211,63,.5); }
.login-assurance { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: 1.25rem 0 0; color: #708398; font-size: .7rem; text-align: center; }
.login-assurance span { color: var(--security-green); }
.form-alert { margin-bottom: 1.2rem; padding: .85rem 1rem; border: 1px solid #f3c5ca; border-radius: .75rem; background: #fff4f5; color: #9d2633; font-weight: 700; }
.auth-footer { position: relative; z-index: 1; margin-top: 0; color: #8197aa; border-color: rgba(255,255,255,.1); background: rgba(3,17,31,.4); }
.auth-footer strong { color: #dce7ef; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1.25rem; }
.map-shell { position: relative; width: 100%; height: 390px; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--wash); }
#map, #alarm-map { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; min-height: 100%; }
.alarm-badge { display: inline-flex; padding: .45rem .7rem; border: 1px solid #cfe4bd; border-radius: 99px; color: #39731f; background: #f1f8e9; font-size: .76rem; font-weight: 800; }
.alarm-empty { display: grid; justify-items: center; gap: .55rem; padding: 2rem; border: 1px dashed #b8c8d6; border-radius: 1rem; color: var(--muted); text-align: center; background: #f8fbfd; }
.alarm-empty > span { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; color: var(--security-green); background: #eef7df; font-size: 1.8rem; }
.alarm-empty strong { color: var(--navy); }
.alarm-empty small { max-width: 32rem; line-height: 1.5; }
.alarm-metrics dd { font-size: .96rem; }
.map-placeholder { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: .45rem; color: var(--muted); text-align: center; background-image: radial-gradient(#c9d6e2 1px, transparent 1px); background-size: 16px 16px; }
.map-placeholder[hidden] { display: none; }
.map-placeholder > span { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; color: var(--blue); background: white; box-shadow: 0 8px 24px rgba(16,42,67,.12); font-size: 2rem; }
.map-placeholder small { padding: 0 1rem; }
.metrics { display: grid; align-content: start; gap: .75rem; margin: 0; }
.metrics > div { padding: 1rem; border: 1px solid var(--line); border-radius: .85rem; background: #fbfdff; }
.metrics dt { margin-bottom: .35rem; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.metrics dd { margin: 0; color: var(--navy); font-size: 1.05rem; font-weight: 800; }
footer { margin-top: 2rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .78rem; }
body:not(.auth-page) footer { margin-top: 0; color: #c6d3df; border-color: rgba(255,255,255,.1); background: var(--navy-primary); }
body:not(.auth-page) footer strong { color: white; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }
@media (max-width: 760px) {
    .poc-label { display: none; }
    main { width: min(100% - 1rem, 1120px); padding: 1.5rem 0; }
    .vehicle-head { align-items: flex-start; flex-direction: column; }
    .locate-button { width: 100%; }
    .content-grid { grid-template-columns: 1fr; }
    .map-shell { height: 330px; }
    .metrics { grid-template-columns: 1fr 1fr; }
    footer { align-items: flex-start; flex-direction: column; }
    .dashboard-heading { grid-template-columns: 1fr; align-items: start; }
    .dashboard-heading > .status { justify-self: start; }
    .identity-summary { width: 100%; }
    .vehicle-list { display: grid; grid-template-columns: 1fr; }
    .vehicle-list .locate-button { width: 100%; }
    .detail-grid, .form-grid { grid-template-columns: 1fr; }
    .inline-create-form { align-items: stretch; flex-direction: column; }
    .customer-counts { grid-template-columns: 1fr 1fr 1fr; }
    .permission-callout { width: 100%; }
    .wide-field { grid-column: auto; }
}
@media (max-width: 960px) {
    .auth-main { grid-template-columns: 1fr; gap: 2.5rem; width: min(760px, calc(100% - 2rem)); padding-block: 3rem; }
    .auth-hero h1 { max-width: 680px; }
    .login-card { width: min(100%, 560px); justify-self: center; }
}
@media (max-width: 620px) {
    .auth-header { padding-inline: .85rem; }
    .brand-premium .brand-logo { width: 2.6rem; height: 2.6rem; }
    .brand-name { font-size: 1rem; }
    .brand-copy small { max-width: 210px; font-size: .58rem; }
    .secure-pill { display: none; }
    .auth-main { width: min(100% - 1.25rem, 760px); padding-block: 2.4rem; }
    .auth-hero h1 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
    .auth-lead { font-size: .95rem; }
    .use-cases { grid-template-columns: 1fr; }
    .solution-flow { grid-template-columns: 1fr; gap: .8rem; }
    .flow-arrow { display: none; }
    .auth-footer { gap: .45rem; }
}
@media (max-width: 420px) {
    .metrics { grid-template-columns: 1fr; }
    .map-shell { height: 290px; }
    .identity-summary > div { grid-template-columns: 1fr; gap: .2rem; }
    .site-header { padding: .75rem; }
    body:not(.auth-page) .brand-logo { width: 2.2rem; height: 2.2rem; }
    body:not(.auth-page) .brand { gap: .5rem; font-size: 1rem; }
    body:not(.auth-page) .site-header .secondary-button { min-height: 2.5rem; padding-inline: .75rem; font-size: .82rem; }
    .dashboard-heading { padding: 1.15rem; }
    .vehicle-card { padding: 1.1rem; }
    .customer-counts { gap: .35rem; }
    .customer-counts strong { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
