/* CarCare Cloud — component-level premium styles. Global layout, typography and forms are owned by styles.css. */

/* ===== dashboard: kill the old dark theme ===== */
#dashboard#dashboard.active,#dashboard#dashboard.active .hero{background:transparent!important;border:0!important;box-shadow:none!important}
#dashboard#dashboard.active :is(h1,h2,h3,b,strong,p,span,em,div,i){color:var(--c-ink)!important;text-shadow:none!important}
#dashboard#dashboard.active :is(small,.muted,.eyebrow,.panel-kicker,.glass-stat>span,.digital-cluster>span,.digital-cluster em,.spend-bars span,.timeline-date,.timeline-main small,.garage-avatar>span,.gauge-value small,.radial-gauge span,.hero .muted,.timeline-empty){color:var(--c-mute)!important}
#dashboard#dashboard.active :is(.eyebrow,.panel-kicker,.glass-stat>span,.digital-cluster>span){font-size:11px!important;letter-spacing:.12em!important;font-weight:600!important;text-transform:uppercase}
#dashboard#dashboard.active :is(.garage-hero,.glass-panel,.glass-stat,.digital-cluster,.flip-front,.flip-back,.timeline-empty){background:#fff!important;border:1px solid var(--c-line)!important;box-shadow:none!important;backdrop-filter:none!important}
#dashboard#dashboard.active .garage-hero{border-radius:14px!important;background:var(--c-soft)!important}
#dashboard#dashboard.active .garage-hero::before,#dashboard#dashboard.active .garage-hero::after,.avatar-glow{display:none!important}
#dashboard#dashboard.active .garage-hero h2{font-size:30px!important;font-weight:700!important}
#dashboard#dashboard.active .digital-cluster{border-radius:12px!important}
#dashboard#dashboard.active .digital-cluster strong,#dashboard#dashboard.active .glass-stat b,#dashboard#dashboard.active .gauge-value{font-size:26px!important;font-weight:700!important;color:var(--c-ink)!important;letter-spacing:-.01em!important;font-variant-numeric:tabular-nums}
#dashboard#dashboard.active .glass-stat b.ok,#dashboard#dashboard.active .health-badge.ok,#dashboard#dashboard.active .health-badge.ok *{color:var(--c-ok)!important}
#dashboard#dashboard.active .glass-stat b.warn,#dashboard#dashboard.active .health-badge.warn,#dashboard#dashboard.active .health-badge.warn *{color:var(--c-warn)!important}
#dashboard#dashboard.active .glass-stat b.danger,#dashboard#dashboard.active .glass-stat b.bad,#dashboard#dashboard.active .health-badge.danger,#dashboard#dashboard.active .health-badge.danger *{color:var(--c-bad)!important}
#dashboard#dashboard.active .glass-stat b{background:transparent!important;padding:0!important}
#dashboard#dashboard.active .health-badge{background:#fff!important;border:1px solid var(--c-line)!important;letter-spacing:.06em!important;box-shadow:none!important}
#dashboard#dashboard.active .health-badge i{box-shadow:none!important}
#dashboard#dashboard.active .avatar-car{filter:none!important;animation:none!important}
#dashboard#dashboard.active .spend-bars i{background:var(--c-accent)!important;box-shadow:none!important;border-radius:4px!important}
#dashboard#dashboard.active .radial-gauge{box-shadow:none!important;background:conic-gradient(var(--c-accent) var(--gauge,0%),var(--c-line) 0)!important}
#dashboard#dashboard.active .radial-gauge>div{background:#fff!important}
#dashboard#dashboard.active .timeline-event{background:var(--c-soft)!important;border:1px solid var(--c-line)!important;box-shadow:none!important}
#dashboard#dashboard.active .timeline-event:hover{background:#f0f0ec!important}
#dashboard#dashboard.active .timeline-detail{background:#fff!important;border:1px solid var(--c-line)!important}
#dashboard#dashboard.active .timeline-node{background:var(--c-accent)!important;box-shadow:none!important}
.maintenance-timeline:before{background:var(--c-line)!important}
#dashboard#dashboard.active .flip-card{background:transparent!important}
#dashboard#dashboard.active .ghost{background:#fff!important;color:var(--c-accent)!important;border:1px solid var(--c-line)!important;box-shadow:none!important}
#dashboard#dashboard.active .primary{background:var(--c-accent)!important;color:#fff!important}


/* Service item component */
.service-item-row{background:var(--c-soft)!important;border:1px solid var(--c-line)!important;border-radius:10px!important}
.service-item-detail{border-top-color:var(--c-line)!important}
/* ===== Login — clean split garage ===== */
#auth.login{position:relative;z-index:100000;min-height:100dvh;padding:32px clamp(16px,4vw,56px);overflow:auto;background:#f7f7f5;color:#141414;display:grid;place-items:center}
.auth-shell{position:relative;z-index:2;width:min(1120px,100%);min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,430px);grid-template-areas:"story card";align-items:center;gap:clamp(40px,7vw,100px)}
.auth-story{grid-area:story;display:grid;grid-template-rows:auto 150px;min-width:0;align-self:center;padding-top:0}.auth-story-copy{position:relative;z-index:2;max-width:610px;align-self:center}.auth-story h2{margin:0;font-size:clamp(42px,5.7vw,74px)!important;line-height:.98!important;letter-spacing:-.065em!important}.auth-story h2 span{color:#14352b}.auth-story-copy>p:not(.auth-kicker){max-width:490px;margin:18px 0 22px;color:#334155;font-size:15px;line-height:1.6}.auth-kicker{margin:0 0 10px;color: #1d4ed8;font-size:10px;font-weight:800;letter-spacing:.15em}.auth-features{display:grid;gap:10px;margin:0;padding:0;list-style:none;max-width:555px}.auth-features li{display:flex;align-items:flex-start;gap:10px;color:#303430;font-size:12px;line-height:1.45}.auth-feature-icon{flex:0 0 20px;width:20px;height:20px;display:grid;place-items:center;border:1px solid #d9e0da;border-radius:50%;color:#14352b;font-size:10px;font-weight:800}.auth-story-footer{margin-top:20px;color:#475569;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.auth-scene{position:relative;grid-row:2;min-height:150px;isolation:isolate;overflow:hidden;pointer-events:none}.auth-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#f7f7f5 0%,transparent 28%,transparent 100%);z-index:4;pointer-events:none}.auth-scene-glow{position:absolute;width:310px;height:150px;left:12%;bottom:35px;border-radius:50%;background:#edf1e8;opacity:.65}.auth-speedometer{position:absolute;width:300px;height:150px;left:5%;bottom:52px;border:1px solid rgba(20,53,43,.08);border-bottom:0;border-radius:300px 300px 0 0;transform:rotate(-7deg)}.auth-horizon{position:absolute;left:0;right:0;bottom:48px;height:1px;background:#e1e3de}.auth-road-line{position:absolute;left:0;right:0;bottom:47px;height:2px;background:repeating-linear-gradient(90deg,#cfd5ce 0 42px,transparent 42px 72px);opacity:.85}.auth-car{position:absolute;z-index:3;left:6%;bottom:47px;width:300px;height:auto;overflow:visible;transform:translate3d(0,0,0);opacity:.94;will-change:transform,opacity}.auth-car-line{fill:none;stroke:#14352b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:900;stroke-dashoffset:900}.auth-car-window-line{stroke:#475569;stroke-width:1.4}.auth-car-wheel{fill:#f7f7f5;stroke:#14352b;stroke-width:2}
.auth-mobile-actions{display:none}
.auth-card{grid-area:card;width:100%;max-width:430px;justify-self:end;padding:28px;background:#fff;border:1px solid #e6e6e1;border-radius:20px;box-shadow:0 18px 55px rgba(20,53,43,.07);overflow:hidden;transition:height .28s ease,transform .24s ease,opacity .24s ease}.auth-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.auth-brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:700;letter-spacing:-.02em}.auth-brand i{color:#14352b;font-style:normal}.auth-brand-mark{display:block;width:32px;height:32px;color:#14352b;flex:0 0 32px;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;pointer-events:none}.auth-private{display:flex;align-items:center;gap:5px;color:#334155;font-size:10px;font-weight:700;letter-spacing:.05em;white-space:nowrap}.auth-private span{color:#14352b}.auth-card :is(h1, h2.auth-title){margin:0;font-size:29px!important;line-height:1.08!important;letter-spacing:-.045em!important}.auth-card-copy{margin:8px 0 14px;color:#334155;font-size:13px;line-height:1.5}.auth-form{display:grid;gap:8px;transition:opacity .16s ease,transform .16s ease}.auth-mode-switching .auth-form{opacity:.25;transform:translateY(4px)}
.auth-field{display:block;min-height:0;margin:0;padding:0;transition:opacity .22s ease,transform .22s ease,max-height .28s ease}.auth-field label{display:block!important;position:static!important;width:auto!important;height:auto!important;margin:0 0 4px!important;padding:0!important;background:none!important;color:#414541!important;font-size:12px!important;font-weight:600!important;line-height:16px!important;pointer-events:auto;transform:none!important}.auth-field input{display:block;width:100%!important;height:44px!important;margin:0!important;padding:0 13px!important;border:1px solid #d9d9d3!important;border-radius:12px!important;background:#fff!important;color:#141414!important;font-size:14px;outline:none!important;box-shadow:none!important;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.auth-field input:focus{border-color:#14352b!important;box-shadow:0 0 0 3px rgba(20,53,43,.12)!important}.auth-field.is-valid input{border-color:#87a694!important}.auth-field.is-error input{border-color:#b84a43!important;box-shadow:0 0 0 2px rgba(184,74,67,.08)!important}.auth-message,.auth-hint{margin-top:4px;min-height:0;color:#334155;font-size:12px;line-height:15px}.auth-message:empty{display:none}.auth-message.error{color:#a53d37}.auth-message.success{color:#35644e}.auth-password-field{position:relative}.auth-password-field input{padding-right:64px!important}.auth-password-toggle{position:absolute;right:6px;top:29px;height:36px;min-width:48px;padding:0 9px!important;border:0!important;border-radius:8px!important;background:#f7f7f5!important;color:#14352b!important;font-size:11px!important;font-weight:700!important}.auth-password-meta{min-height:0;margin-top:5px}.auth-checklist{display:grid;grid-template-columns:1fr 1fr;gap:2px 10px;margin-top:0}.auth-check{font-size:11px;color:#475569}.auth-check.ok{color:#35644e}.auth-check b{display:inline-grid;place-items:center;width:14px;height:14px;margin-right:4px;border:1px solid #cfd4cf;border-radius:50%;font-size:9px}.auth-check.ok b{border-color:#7d9e8c}.auth-strength{display:flex;align-items:center;gap:8px;margin-top:4px}.auth-strength-bar{display:grid;grid-template-columns:repeat(3,34px);gap:3px}.auth-strength-bar i{height:4px;border-radius:4px;background:#e1e3de}.auth-strength.s1 .auth-strength-bar i:nth-child(1),.auth-strength.s2 .auth-strength-bar i:nth-child(-n+2),.auth-strength.s3 .auth-strength-bar i{background:#14352b}.auth-strength b{font-size:10px;color:#334155;font-weight:700}.auth-submit{width:100%;height:46px!important;margin-top:0}.auth-submit:disabled,.auth-submit.auth-submit-disabled{opacity:.55;cursor:not-allowed}.auth-submit:not(:disabled):not(.auth-submit-disabled):hover{transform:translateY(-1px)}.auth-submit:active{transform:translateY(1px) scale(.99)!important}.auth-switch{width:100%;height:42px!important;margin:0}.auth-card-foot{margin:12px 0 0;padding-top:10px;border-top:1px solid #e6e6e1;color:#334155;font-size:11px;text-align:center}
.auth-signup-only{max-height:0;overflow:hidden;opacity:0;transform:translateY(-4px);pointer-events:none;margin:0!important}.auth-signup-active .auth-signup-only{max-height:100px;opacity:1;transform:none;pointer-events:auto;margin-bottom:0!important}
.auth-paused *{animation-play-state:paused!important}.auth-animated .auth-story-copy{animation:authEnter .45s ease-out .08s both}.auth-animated .auth-card{animation:authEnter .45s ease-out .18s both}.auth-animated .auth-car-line{animation:authCarDraw 1.2s ease-out forwards}.auth-animated .auth-car{animation:authCarIdle 4s ease-in-out 1.2s infinite}.auth-animated .auth-road-line{animation:authRoad 3.5s linear infinite}
#auth.auth-success .auth-card{opacity:0;transform:translate3d(18px,0,0)}#auth.auth-success .auth-car{animation:authDriveOff .55s ease-in forwards!important}
@keyframes authEnter{to{opacity:1;transform:translateY(0)}}@keyframes authCarDraw{to{stroke-dashoffset:0}}@keyframes authCarIdle{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(4px,-2px,0)}}@keyframes authRoad{to{transform:translate3d(-72px,0,0)}}@keyframes authDriveOff{to{opacity:0;transform:translate3d(250px,-3px,0)}}
@media(max-width:820px){
  #auth.login{padding:14px!important;place-items:start center}
  .auth-shell{
    min-height:auto;
    grid-template-columns:1fr;
    grid-template-areas:"story" "actions" "card";
    gap:14px;
    width:min(520px,100%);
  }
  .auth-story{grid-template-rows:auto 105px;padding:0 4px}
  .auth-story-copy{padding:8px 4px}
  .auth-story h2{font-size:34px!important}
  .auth-story-copy>p:not(.auth-kicker),.auth-features{display:block}
  .auth-story-copy>p:not(.auth-kicker){margin:12px 0 16px;font-size:13px}
  .auth-features{gap:8px}
  .auth-features li{font-size:11px}
  .auth-story-footer{margin-top:10px}
  .auth-scene{min-height:105px}
  .auth-car{width:210px;left:4%;bottom:28px}
  .auth-road-line,.auth-horizon{bottom:28px}
  .auth-speedometer{display:none}
  .auth-mobile-actions{
    grid-area:actions;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    width:100%;
  }
  .auth-mobile-tab{
    min-height:46px;
    border:1px solid #e6e6e1;
    border-radius:12px;
    background:#fff;
    color:#14352b;
    font:600 12px Inter,system-ui,sans-serif;
    cursor:pointer;
    transition:transform .16s ease,border-color .16s ease,background .16s ease;
  }
  .auth-mobile-tab:hover,.auth-mobile-tab.is-active{border-color:#14352b;background:#14352b;color:#fff}
  .auth-mobile-tab:active{transform:translateY(1px)}
  .auth-card{
    display:none;
    grid-area:card;
    max-width:none;
    justify-self:stretch;
    padding:24px 20px;
  }
  #auth.auth-mobile-open .auth-card{display:block}
}
@media(max-width:480px){
  #auth.login{padding:10px!important}
  .auth-shell{gap:10px}
  .auth-card{padding:20px 16px;border-radius:16px}
  .auth-card-head{margin-bottom:20px}
  .auth-private{font-size:9px}
  .auth-story{grid-template-rows:auto 80px}
  .auth-story h2{font-size:30px!important}
  .auth-scene{min-height:80px}
  .auth-car{width:170px;left:2%;bottom:22px}
  .auth-road-line,.auth-horizon{bottom:22px}
  .auth-story-footer{font-size:9px}
}
@media(max-width:340px){
  .auth-private{display:none}
  .auth-card{padding:18px 13px}
  .auth-story h2{font-size:28px!important}
}
@media(prefers-reduced-motion:reduce){.auth-animated *{animation:none!important;transition:none!important}.auth-signup-only,.auth-signup-active .auth-signup-only{transition:none!important}.auth-signup-only{opacity:0!important;transform:none!important}.auth-signup-active .auth-signup-only{opacity:1!important;max-height:100px}.auth-car-line{stroke-dashoffset:0!important}#auth.auth-success .auth-card{opacity:1;transform:none}#auth.auth-success .auth-car{opacity:.94;transform:none}}

/* drawer, fab, toast */
.side-drawer{background:#fff!important;border-right:1px solid var(--c-line)!important;color:var(--c-ink)!important}
.drawer-link{background:transparent!important;color:var(--c-ink)!important;border:1px solid transparent!important;border-radius:10px!important}
.drawer-link b{color:var(--c-ink)!important}.drawer-link span{color:var(--c-mute)!important}.drawer-link em{color:var(--c-mute)!important;font-style:normal}
.drawer-link:hover,.drawer-link.active{background:var(--c-soft)!important;border-color:var(--c-line)!important}
.drawer-kicker{color:var(--c-mute)!important;letter-spacing:.12em}
.drawer-car,.drawer-utility{background:var(--c-soft)!important;border:1px solid var(--c-line)!important;color:var(--c-ink)!important;border-radius:10px!important}
.drawer-close{color:var(--c-ink)!important;background:transparent!important}
.side-menu-backdrop{background:rgba(0,0,0,.3)!important;backdrop-filter:none!important}
.fab-main{background:var(--c-accent)!important;color:#fff!important;border:0!important;box-shadow:0 8px 24px rgba(0,0,0,.18)!important}
#dashboardFab .fab-menu,#dashboard#dashboard.active .fab-menu{background:#fff!important;border:1px solid var(--c-line)!important;border-radius:12px!important;box-shadow:0 12px 32px rgba(0,0,0,.12)!important}
#dashboardFab .fab-menu button,#dashboard#dashboard.active .fab-menu button{color:var(--c-ink)!important;background:transparent!important}
.fab-menu button:hover{background:var(--c-soft)!important}
#dashboardFab:not(.open) .fab-menu{pointer-events:none}
.toast{background:var(--c-ink)!important;color:#fff!important;border:0!important;border-radius:10px!important}

/* modals (z-index bug fix kept) */
#editCarModal,#insurancePicker{z-index:10030!important}
#editCarModal,#insurancePicker,#editServiceRecordModal,#docUploadModal,#ownerProfileModal,#vehicleHistoryModal,#saleFormsModal{background:rgba(0,0,0,.4)!important;backdrop-filter:none!important}
#editCarModal{overflow:auto}
#insurancePicker>div{background:#fff!important;color:var(--c-ink)!important;border:1px solid var(--c-line)!important}
#docExpiryPopup{z-index:10040!important}
::selection{background:#d9e8e1;color:var(--c-ink)}
@media print{html,body{background:#fff!important;color:#000!important}}
/* Minimal Overview + Owner Profile */
.minimal-dashboard{display:flex;flex-direction:column;gap:16px}
.minimal-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;border:1px solid rgba(15,48,39,.10);border-radius:22px;background:#fff}
.minimal-hero h2{margin:6px 0 4px;font-size:clamp(28px,4vw,42px);letter-spacing:-.04em}
.minimal-hero p{margin:0;color:#737a84}
.minimal-km{text-align:right;padding-left:20px;border-left:1px solid #e7e4dc}
.minimal-km span,.minimal-card>span{display:block;font-size:10px;letter-spacing:.16em;font-weight:800;color:#8b8a84}
.minimal-km b{display:block;margin-top:5px;font-size:27px}
.minimal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.minimal-card{padding:18px;border:1px solid rgba(15,48,39,.09);border-radius:17px;background:#fff}
.minimal-card b{display:block;margin-top:9px;font-size:19px}
.minimal-card small{display:block;margin-top:5px;color:#85847e}
.minimal-status{display:flex;align-items:center;gap:12px;padding:2px 4px;color:#737a84;font-size:13px}
.minimal-last{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px;border:1px solid rgba(15,48,39,.09);border-radius:18px;background:#fff}
.minimal-last h3{margin:5px 0 3px}.minimal-last p{margin:0;color:#737a84}
.minimal-empty{padding:30px}
.owner-profile-shell{max-width:900px;margin:0 auto}
.owner-profile-head{margin-bottom:18px}
.owner-profile-head h2{margin:5px 0}.owner-profile-card{padding:24px}
.owner-profile-actions{display:flex;gap:10px;justify-content:flex-end}
@media(max-width:850px){.minimal-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.minimal-hero{padding:18px;align-items:flex-start}.minimal-km{padding-left:12px}.minimal-km b{font-size:21px}.minimal-grid{grid-template-columns:1fr 1fr}.minimal-status{align-items:flex-start;flex-direction:column;gap:5px}.minimal-last{align-items:flex-start;flex-direction:column}.owner-profile-card{padding:16px}.owner-profile-actions{flex-direction:column}.owner-profile-actions button{width:100%}}

/* Historical Import Phase 1 */
.toolbar-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.history-import-modal{position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.42);display:grid;place-items:center;padding:18px;overflow:auto}
.history-import-card{width:min(1180px,100%);max-height:94vh;overflow:auto;background:#fff;border:1px solid var(--c-line);border-radius:18px;padding:22px;box-shadow:0 24px 80px rgba(0,0,0,.18)}
.history-import-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid var(--c-line);padding-bottom:16px;margin-bottom:18px}.history-import-head h2{margin:4px 0}.history-import-head p{margin:0}
.history-import-grid{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(420px,1.15fr);gap:18px}.history-import-grid label{display:block;margin-bottom:7px}.history-import-text{width:100%;min-height:500px;resize:vertical;padding:14px;line-height:1.5;font-family:Inter,system-ui,sans-serif!important}
.history-import-note{margin:9px 0 12px;padding:10px 12px;background:var(--c-soft);border:1px solid var(--c-line);border-radius:9px;font-size:12px;color:var(--c-mute)}
.history-import-preview{border:1px solid var(--c-line);border-radius:12px;overflow:hidden;background:#fff}.history-import-summary{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--c-line);background:var(--c-soft)}.history-import-summary div{padding:13px;border-right:1px solid var(--c-line)}.history-import-summary div:last-child{border-right:0}.history-import-summary span{display:block;font-size:10px;letter-spacing:.12em;color:var(--c-mute);font-weight:700}.history-import-summary b{display:block;margin-top:4px;font-size:20px}.history-import-list{max-height:500px;overflow:auto}.history-import-row{display:grid;grid-template-columns:1.1fr 1.2fr .8fr auto;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--c-line)}.history-import-row:last-child{border-bottom:0}.history-import-row b{display:block;font-size:13px}.history-import-row small{display:block;margin-top:3px;font-size:11px}.hi-badge{justify-self:end;padding:5px 8px;border-radius:999px;background:#eef2ef;color:var(--c-accent);font-size:10px;font-weight:700;white-space:nowrap}.hi-badge.hi-est{background:#fbf1de;color:var(--c-warn)}.history-import-empty{padding:50px 20px;text-align:center;display:grid;gap:6px;color:var(--c-mute)}.history-import-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px;border-top:1px solid var(--c-line)}
@media(max-width:850px){.history-import-grid{grid-template-columns:1fr}.history-import-text{min-height:300px}.history-import-list{max-height:360px}}
@media(max-width:600px){.history-import-card{padding:15px}.history-import-row{grid-template-columns:1fr 1fr}.hi-badge{justify-self:start}.history-import-summary b{font-size:17px}.toolbar-actions{width:100%}.toolbar-actions button{flex:1}}

/* Historical Import — final split preview/resolver */
.history-import-final-card{width:min(1320px,100%);padding:20px}
.history-import-final-grid{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);align-items:stretch}
.history-import-left,.history-import-right{min-width:0}
.hi-left-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.hi-toolbar-count{font-size:11px;color:var(--c-mute);font-weight:700}
.hi-record-list{max-height:430px;border:1px solid var(--c-line);border-radius:12px;margin-bottom:12px}
.history-import-row{width:100%;background:#fff;text-align:left;cursor:pointer;font:inherit}
.history-import-row:hover{background:var(--c-soft)}
.history-import-row.hi-warning-row{background:#fff9f2}
.history-import-row.hi-selected-row{outline:2px solid var(--c-accent);outline-offset:-2px;background:#f5faf7}
.hi-badge.hi-warn{background:#fde9e6;color:#b42318}
.hi-resolver{height:100%;min-height:520px;border:1px solid var(--c-line);border-radius:12px;background:var(--c-soft);overflow:auto}
.hi-resolver-head{padding:18px;border-bottom:1px solid var(--c-line)}
.hi-resolver-head span{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--c-warn)}
.hi-resolver-head h3{margin:6px 0 3px}
.hi-resolver-head p{margin:0;color:var(--c-mute);font-size:12px}
.hi-resolver-card{margin:16px;padding:16px;background:#fff;border:1px solid var(--c-line);border-radius:12px;display:grid;gap:12px}
.hi-resolver-issue{padding:12px;border-radius:9px;background:#fff8ed;border:1px solid #f0d7a9;font-size:13px;line-height:1.55}
.hi-radio{display:flex!important;gap:9px;align-items:flex-start;padding:10px;border:1px solid var(--c-line);border-radius:9px;background:#fff;margin:0!important;font-size:13px!important}
.hi-radio input{margin-top:3px}
.hi-field-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.hi-field-row input{min-width:0}
.hi-full-btn{width:100%}
.hi-divider{text-align:center;color:var(--c-mute);font-size:11px;font-weight:700}
.history-import-status{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;margin-top:14px;border:1px solid var(--c-line);border-radius:10px;background:var(--c-soft);font-size:12px}
.history-import-status>div{display:flex;gap:12px;align-items:center}
.hi-status-est{color:var(--c-warn);font-weight:700}
#hiApprove:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:850px){
  .history-import-final-grid{grid-template-columns:1fr}
  .hi-record-list{max-height:330px}
  .hi-resolver{min-height:360px}
  .history-import-text{min-height:280px}
  .history-import-status{align-items:flex-start;flex-direction:column}
}

/* ===== Post-login loading: CarCare Cloud boot progress ===== */
#appLoadingOverlay{
  position:fixed;
  inset:0;
  z-index:2147483646;
  display:grid;
  place-items:center;
  padding:20px;
  background:#fff;
  color:#141414;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .34s ease,visibility .34s ease;
}
#appLoadingOverlay.loading-out{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.app-loading-panel{
  width:min(760px,100%);
  padding:clamp(24px,4vw,44px);
  text-align:center;
}
.app-loading-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#141414;
  font-size:clamp(18px,2.2vw,22px);
  line-height:1;
  font-weight:700;
  letter-spacing:-.02em;
}
.app-loading-brand-mark{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:9px;
  background:#14352b;
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:-.04em;
}
.app-loading-brand-name{white-space:nowrap}
.app-loading-brand-name i{color:#14352b;font-style:normal}

.app-loading-visual{
  position:relative;
  width:100%;
  height:clamp(175px,24vw,220px);
  margin:30px 0 14px;
  overflow:hidden;
  isolation:isolate;
  perspective:900px;
}
.app-loading-sky{
  position:absolute;
  inset:0 0 48%;
  overflow:hidden;
  pointer-events:none;
}
.app-loading-hills{
  position:absolute;
  left:-5%;
  bottom:-2px;
  width:110%;
  height:72px;
  opacity:.72;
  background:#f1f2ee;
  border-radius:52% 48% 0 0/100% 100% 0 0;
  transform:translate3d(var(--loading-parallax,0px),0,0);
}
.app-loading-hills:after{
  content:"";
  position:absolute;
  left:22%;
  bottom:-22px;
  width:58%;
  height:58px;
  background:#e8ebe5;
  border-radius:48% 52% 0 0/100% 100% 0 0;
  transform:translate3d(calc(var(--loading-parallax,0px) * .55),0,0);
}
.app-loading-road{
  position:absolute;
  left:4%;
  right:4%;
  bottom:18px;
  height:92px;
  overflow:hidden;
  transform:rotateX(58deg) translateZ(0);
  transform-origin:center bottom;
  border:1px solid #dcded8;
  border-radius:9px;
  background:#f3f3ef;
  box-shadow:0 15px 30px rgba(20,53,43,.08);
}
.app-loading-road:before{
  content:"";
  position:absolute;
  inset:0;
  background:#ecece7;
}
.app-loading-road-markings{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  gap:34px;
  width:220%;
  transform:translate3d(0,0,0);
  animation:loadingRoadScroll .85s linear infinite;
  will-change:transform;
}
.app-loading-road-markings span{
  display:block;
  flex:0 0 54px;
  height:3px;
  border-radius:99px;
  background:#c8cbc5;
}
.app-loading-finish{
  position:absolute;
  right:4%;
  top:7px;
  bottom:7px;
  width:2px;
  background:#14352b;
  z-index:2;
}
.app-loading-finish:before{
  content:"";
  position:absolute;
  top:-2px;
  left:2px;
  width:18px;
  height:13px;
  background:
    linear-gradient(45deg,#14352b 25%,transparent 25% 75%,#14352b 75%),
    linear-gradient(45deg,transparent 25%,#14352b 25% 75%,transparent 75%);
  background-size:8px 8px;
  transform:skewY(-4deg);
}
.app-loading-ground-shadow{
  position:absolute;
  left:8%;
  right:8%;
  bottom:27px;
  height:22px;
  border-radius:50%;
  background:rgba(20,53,43,.13);
  filter:blur(7px);
  transform:translate3d(0,0,0);
}

.loading-car-position{
  position:absolute;
  left:0;
  bottom:54px;
  width:74px;
  height:82px;
  transform:translate3d(-50%,0,0);
  transition:transform .12s linear;
  z-index:4;
  will-change:transform;
}
.loading-car-scene{
  position:absolute;
  inset:0;
  transform:translate3d(0,0,0);
}
.loading-car-svg{
  position:absolute;
  left:0;
  bottom:13px;
  width:74px;
  height:auto;
  overflow:visible;
}
.loading-car-svg .car-body{fill:#14352b}
.loading-car-svg .car-roof{fill:#1d4d3e}
.loading-car-svg .car-window{fill:#e8eee9}
.loading-car-svg .car-trim{fill:#d5d9d4}
.loading-car-svg .car-wheel{fill:#202421;transform-box:fill-box;transform-origin:center;animation:loadingWheelSpin .5s linear infinite}
.loading-car-svg .car-hub{fill:#b7bcb7}
.loading-car-svg .car-light{fill:#f0c86a}
.loading-car-svg .car-shadow-line{fill:#0e251e}

.app-loading-smoke{
  position:absolute;
  left:-3px;
  bottom:38px;
  width:38px;
  height:38px;
  pointer-events:none;
  z-index:3;
}
.app-loading-smoke-puff{
  position:absolute;
  left:0;
  top:50%;
  width:var(--puff-size,8px);
  height:var(--puff-size,8px);
  border-radius:50%;
  background:#c9cdc8;
  opacity:0;
  transform:translate3d(0,-50%,0) scale(.65);
  will-change:transform,opacity;
}
.app-loading-smoke-puff.is-live{
  animation:loadingSmoke var(--puff-duration,900ms) ease-out forwards;
}

.app-loading-progress-row{
  display:flex;
  align-items:center;
  gap:12px;
  width:min(650px,100%);
  margin:0 auto;
}
.app-loading-progress-track{
  position:relative;
  flex:1;
  height:6px;
  overflow:hidden;
  border-radius:999px;
  background:#e8e9e4;
  border:1px solid #e1e2dc;
}
.app-loading-progress-fill{
  width:100%;
  height:100%;
  border-radius:inherit;
  background:#14352b;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .12s linear;
  will-change:transform;
}
.app-loading-percent{
  min-width:42px;
  text-align:right;
  color:#141414;
  font-size:13px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.app-loading-title{
  min-height:24px;
  margin-top:17px;
  color:#141414;
  font-size:16px;
  line-height:1.35;
  font-weight:700;
}
.app-loading-sub{
  min-height:20px;
  margin-top:5px;
  color:#334155;
  font-size:13px;
  line-height:1.45;
}

@keyframes loadingRoadScroll{
  to{transform:translate3d(-88px,0,0)}
}
@keyframes loadingWheelSpin{
  to{transform:rotate(360deg)}
}
@keyframes loadingSmoke{
  0%{opacity:.32;transform:translate3d(0,-50%,0) scale(.65)}
  100%{opacity:0;transform:translate3d(-34px,-62%,0) scale(1.55)}
}
@keyframes dashboardIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:none}
}
@keyframes spin{to{transform:rotate(360deg)}}


#appLoadingOverlay.app-loading-paused *{animation-play-state:paused!important}

@media(max-width:650px){
  #appLoadingOverlay{padding:14px}
  .app-loading-panel{padding:22px 4px}
  .app-loading-visual{height:175px;margin-top:24px}
  .app-loading-road{left:1%;right:1%;bottom:16px;height:82px}
  .loading-car-position{bottom:49px}
  .app-loading-ground-shadow{bottom:24px}
}
@media(max-width:380px){
  .app-loading-brand{font-size:17px}
  .app-loading-brand-mark{width:30px;height:30px}
  .app-loading-visual{height:160px}
  .app-loading-road{height:74px}
  .loading-car-position{bottom:45px}
  .app-loading-progress-row{gap:9px}
}

@media(prefers-reduced-motion:reduce){
  #appLoadingOverlay *{
    animation:none!important;
    transition:none!important;
  }
  .app-loading-road{transform:none!important;perspective:none!important}
  .app-loading-hills,.app-loading-hills:after,.app-loading-ground-shadow{transform:none!important}
  .app-loading-road-markings{transform:none!important}
  .loading-car-position{transition:none!important}
  .loading-car-svg .car-wheel{animation:none!important}
  .app-loading-smoke{display:none!important}
  .app-loading-progress-fill{transition:none!important}
}

/* ===== Signup verification state ===== */
.auth-verification{display:flex;flex-direction:column;gap:12px;text-align:center;padding:6px 2px 2px;width:100%;max-width:100%;box-sizing:border-box;min-width:0;word-break:normal;overflow-wrap:break-word}
.auth-verification-icon{width:50px;height:50px;margin:0 auto 2px;display:grid;place-items:center;border-radius:50%;background:#edf5ef;border:1px solid #cfe0d4;color:#14352b;font-size:22px;font-weight:800;flex-shrink:0}
.auth-verification-kicker{margin:0;color:#475569;font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;overflow-wrap:break-word}
.auth-verification h2{margin:0;font-size:clamp(20px,5vw,24px);line-height:1.25;letter-spacing:-.02em;color:#141414;word-break:normal;overflow-wrap:break-word;hyphens:auto;max-width:100%}
.auth-verification-copy{margin:0;color:#4b5563;font-size:13px;line-height:1.5;word-break:normal;overflow-wrap:break-word;max-width:100%}
.auth-verification-copy strong{display:block;margin-top:4px;color:#111827;font-size:14px;font-weight:700;word-break:break-all;overflow-wrap:anywhere;max-width:100%}
.auth-verification-note{margin:0;color:#475569;font-size:12px;line-height:1.5;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:8px 12px;word-break:normal;overflow-wrap:break-word;max-width:100%;box-sizing:border-box}
.auth-verification-note b{color:#0f172a}
.auth-verification-timer{min-height:18px;margin-top:2px;color:#475569;font-size:11px;font-weight:700;overflow-wrap:break-word}
.auth-resend-btn{width:100%;height:44px!important;font-size:13px!important}
.auth-resend-btn:disabled{opacity:.5!important;cursor:not-allowed}
.auth-verification-otp-block{margin-top:4px;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;text-align:left;box-sizing:border-box;width:100%;max-width:100%;transition:all .2s ease}
.auth-verification-otp-label{font-size:12px;font-weight:600;color:#475569;margin-bottom:6px;display:block}
.auth-verification-input-group{display:flex;gap:8px;align-items:center;width:100%;box-sizing:border-box}
.auth-verification-code-input{flex:1 1 0%;min-width:0;height:42px;font-size:18px;letter-spacing:4px;text-align:center;border:1px solid #cbd5e1;border-radius:8px;background:#ffffff;font-weight:700;box-sizing:border-box}
.auth-verify-code-btn{flex:0 0 auto;height:42px;padding:0 16px;font-size:13px;white-space:nowrap;border-radius:8px;box-sizing:border-box}
.auth-verification-switch-row{display:flex;justify-content:center;margin-top:2px}
.auth-link-toggle{background:none;border:none;color:#0369a1;font-size:12px;font-weight:600;text-decoration:underline;cursor:pointer;padding:4px 6px;line-height:1.4;overflow-wrap:break-word;text-align:center}
.auth-link-toggle:hover{color:#0369a1}
.auth-verification-open .auth-card-head{margin-bottom:16px}
.auth-verification-open .auth-mobile-actions{display:none!important}
@media(max-width:820px){.auth-verification{padding-top:4px}.auth-verification h2{font-size:clamp(19px,4.5vw,22px)}}
@media(max-width:360px){.auth-verification-input-group{flex-direction:column;gap:6px}.auth-verify-code-btn{width:100%}}

/* Dashboard header actions */
.header-logout{font-weight:700!important;white-space:nowrap}
#userEmail{font-size:14px;font-weight:700}
@media(max-width:760px){.header-logout{padding:9px 10px!important;font-size:12px!important}}

/* Shared Concept A logo surfaces */
.drawer-brand{display:flex;align-items:center;gap:10px;min-width:0;padding:0;background:transparent!important;color:inherit!important;border:0!important;text-align:left!important;box-shadow:none!important;cursor:pointer!important;user-select:none;-webkit-user-select:none}
.drawer-brand:focus-visible{outline:2px solid #14352b;outline-offset:4px;border-radius:12px}
.drawer-brand-mark{width:32px;height:32px;flex:0 0 32px;color:#14352b;display:block;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;pointer-events:none}

.cc-logo{overflow:visible}


/* Temporary CarCareCloud branding test — preserve existing layout and typography. */
.auth-main-logo{display:block;width:min(210px,100%);height:auto;max-height:46px;object-fit:contain;object-position:left center}
.brand-logo{display:block;width:190px;height:auto;max-height:42px;object-fit:contain;object-position:left center}
.drawer-brand-mark{width:32px!important;height:32px!important;flex:0 0 32px!important;object-fit:contain!important;border-radius:8px!important;background:#fff!important}
.app-loading-brand-mark{display:block!important;width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:9px!important;background:#fff!important;object-fit:contain!important;padding:0!important}
.report-brand-logo{display:block;width:190px;max-width:190px;height:auto;flex:0 0 auto;object-fit:contain;object-position:left center}
@media(max-width:600px){.auth-main-logo{width:min(190px,100%);max-height:42px}.brand-logo{width:155px;max-height:36px}.report-brand-logo{width:155px;max-width:155px}}


/* Browser extraction review */
.ex-review-card{width:min(980px,100%);max-height:calc(100vh - 28px);overflow:auto;background:#fff;color:#172033;border:1px solid #e6e8ed;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.18);padding:22px;font-family:inherit}
.ex-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #eceef2;padding-bottom:16px;margin-bottom:16px}.ex-review-kicker{font-size:11px;letter-spacing:.12em;font-weight:700;color:#667085}.ex-review-head h2{margin:5px 0 4px;font-size:22px}.ex-review-head p{margin:0;color:#667085;font-size:13px}.ex-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ex-review-field{display:flex;flex-direction:column;gap:6px}.ex-review-field span{font-size:12px;font-weight:600;color:#475467}.ex-review-field em{font-style:normal;font-size:9px;letter-spacing:.08em;color:#b54708}.ex-review-field input{width:100%;box-sizing:border-box;border:1px solid #d8dde6;border-radius:9px;background:#fff;color:#172033;padding:10px 11px;font:inherit;font-size:13px;outline:none}.ex-review-field input:focus{border-color:#98a2b3;box-shadow:0 0 0 3px rgba(152,162,179,.13)}.ex-review-validation{min-height:20px;margin-bottom:14px;padding:10px 12px;border-radius:10px;background:#f8fafc;color:#475467;font-size:12px}.ex-review-validation ul{margin:6px 0 0 18px;padding:0}.ex-review-validation b.ok{color:#067647}.ex-review-claim{margin-top:16px;padding:14px;border:1px solid #e5e7eb;border-radius:12px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.ex-review-claim small{display:block;color:#667085;margin-top:3px}.ex-review-claim-actions{display:flex;gap:14px}.ex-review-claim-actions label{font-size:13px}.ex-claim-invoice{grid-column:1/-1}.ex-review-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:15px;border-top:1px solid #eceef2;color:#667085;font-size:12px}.ex-review-footer>div{display:flex;gap:8px}.ex-review-footer button:disabled{opacity:.45;cursor:not-allowed}.report-current-policy{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border:1px solid #d9dee7;border-radius:12px;padding:14px;background:#fafbfc}.report-current-policy div{display:flex;flex-direction:column;gap:4px}.report-current-policy span{font-size:10px;color:#667085;text-transform:uppercase;letter-spacing:.07em}.report-current-policy b{font-size:13px;color:#172033}.report-current-policy>span{grid-column:1/-1;font-size:12px;color:#667085}
@media(max-width:700px){.ex-review-card{padding:16px;border-radius:14px}.ex-review-grid{grid-template-columns:1fr}.ex-review-head h2{font-size:19px}.ex-review-claim{grid-template-columns:1fr}.ex-review-footer{align-items:flex-start;flex-direction:column}.ex-review-footer>div{width:100%}.ex-review-footer button{flex:1}.report-current-policy{grid-template-columns:repeat(2,minmax(0,1fr))}}

.report-current-policy{break-inside:avoid;page-break-inside:avoid}.report-sheet .report-table{font-size:10px}.report-sheet .report-table th,.report-sheet .report-table td{padding:6px 5px;vertical-align:top}.report-sheet .report-table td{overflow-wrap:anywhere}.report-sheet .report-section-title{break-after:avoid;page-break-after:avoid}

/* Extraction/date review fixes */
.ex-review-layout{display:grid;grid-template-columns:minmax(160px,220px) 1fr;gap:18px;align-items:start}.ex-review-preview{border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;padding:8px;position:sticky;top:0}.ex-review-preview img{display:block;width:100%;height:auto;border-radius:8px}.ex-review-duplicate{margin:0 0 14px;padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa;font-size:12px;color:#475467}.ex-review-duplicate b{color:#111827}.ex-review-duplicate p{margin:4px 0 8px}.ex-review-duplicate div{margin:4px 0}.ex-review-duplicate span{font-weight:700;color:#344054}.ex-review-warning{margin-top:8px;padding:8px 10px;border-radius:8px;background:#fffaeb;color:#92400e}.ex-review-field input[data-date-input]{letter-spacing:.02em}@media(max-width:700px){.ex-review-layout{grid-template-columns:1fr}.ex-review-preview{position:static;max-width:240px;margin:auto}}

/* Vehicle report document cards and print selection */
.report-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.report-document-card{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;min-width:0}.report-document-card>b{font-size:13px;color:#111827}.report-document-card>span{font-size:11px;color:#667085;overflow-wrap:anywhere}.report-doc-view{align-self:flex-start;border:1px solid #d0d5dd;background:#fff;color:#111827;border-radius:8px;padding:6px 12px;font-size:11px;font-weight:700}.report-doc-missing{font-weight:700!important;color:#98a2b3!important}.report-document-print-page{width:190mm;min-height:277mm;page-break-before:always;break-before:page;padding:5mm;background:#fff;color:#111827}.report-document-print-page h3{font-size:10pt;border-bottom:1px solid #d0d5dd;padding-bottom:3mm;margin:0 0 4mm}.report-document-print-page img,.report-document-print-page canvas{display:block;max-width:100%;max-height:245mm;object-fit:contain;margin:auto}.report-print-options{position:fixed;inset:0;z-index:2147483640;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;padding:16px}.report-print-options-card{background:#fff;color:#111827;border:1px solid #e5e7eb;border-radius:16px;padding:22px;width:min(520px,100%);max-height:90vh;overflow:auto;box-shadow:0 20px 60px #0002}.report-print-options-card h2{font-size:18px;margin:0 0 8px}.report-print-options-card label{display:flex;gap:10px;align-items:center;padding:10px 0;font-size:14px}.report-print-options-card label small{color:#667085}.report-print-options-card .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.report-print-options-card button{border-radius:9px;padding:9px 14px;border:1px solid #d0d5dd;background:#fff}.report-print-options-card button.primary{background:#111827;color:#fff}@media(max-width:700px){.report-document-grid{grid-template-columns:1fr}.report-print-options-card{padding:18px}}



/* Task 3: compact, predictable A4 report output */
.ex-field-evidence{display:block;margin-top:2px;font-size:10px;font-weight:500;color:#667085;line-height:1.35}
.ex-field-evidence.is-verified{color:#067647}
.ex-field-evidence.is-single{color:#475467}
.ex-field-evidence.is-unverified{color:#b54708}
.extraction-diagnostics{margin:12px 0;padding:10px 12px;border:1px solid #d0d5dd;border-radius:8px;background:#fafafa;color:#344054;font-size:12px}
.extraction-diagnostics summary{cursor:pointer;font-weight:700}
.extraction-diagnostics pre{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}
.report-print-incomplete{display:flex;gap:8px;align-items:center;padding:10px 0;border-top:1px solid #eaecf0;margin-top:10px;font-size:12px;color:#475467}
.report-incomplete-label{font-size:11px;color:#98a2b3;font-style:italic}
.report-incomplete-row td{background:#fafafa;color:#98a2b3}
@page{size:A4;margin:12mm 12mm 14mm}
@page{size:A4;margin:12mm}
@media print{
 html{font-size:9.5pt!important;height:auto!important;overflow:visible!important}
 html,body{background:#fff!important;color:#172033!important;height:auto!important;min-height:0!important;overflow:visible!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 body>*{visibility:hidden!important}
 #vehicleReportPdfStage,#vehicleReportPdfStage *{visibility:visible!important}
 #vehicleReportPdfStage{display:block!important;position:static!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;margin:0!important;z-index:auto!important}
 #vehicleReportPdfStage .report-print-hint{display:none!important}
 #vehicleReportPdfStage .report-sheet{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
 #vehicleReportPdfStage .report-head,#vehicleReportPdfStage .report-section-title{break-after:avoid!important;page-break-after:avoid!important}
 #vehicleReportPdfStage .report-head,#vehicleReportPdfStage .report-grid>div,#vehicleReportPdfStage .report-current-policy,#vehicleReportPdfStage .report-table tr,#vehicleReportPdfStage .report-document-card{break-inside:avoid!important;page-break-inside:avoid!important}
 .report-sheet{width:auto!important;min-height:0!important;height:auto!important;overflow:visible!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important}
 .report-brand{overflow:visible!important}
 .report-brand-logo{display:block!important;width:48mm!important;height:10.3mm!important;min-width:48mm!important;max-width:48mm!important;max-height:10.3mm!important;object-fit:fill!important;object-position:left center!important;overflow:visible!important;flex:0 0 48mm!important}
 .report-section-title{font-size:8pt!important;letter-spacing:.08em!important;margin:10pt 0 4pt!important;break-after:avoid;page-break-after:avoid}
 .report-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4pt!important}
 .report-grid>div,.report-current-policy{padding:4pt 6pt!important;break-inside:avoid;page-break-inside:avoid}
 .report-table{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important;font-size:7.5pt!important}
 .report-table thead{display:table-header-group!important}
 .report-table tr{break-inside:avoid;page-break-inside:avoid}
 .report-table th{height:auto!important;padding:3pt 2pt!important}
 .report-table td,.report-table th{overflow-wrap:anywhere}
 .report-table td.date,.report-table td.cost{white-space:nowrap}
 .report-doc-view,.report-document-card button,.no-print,button{display:none!important}
 .report-document-grid{display:block!important}
 .report-document-card{display:grid!important;grid-template-columns:38mm 1fr 1fr!important;padding:4pt 0!important;border:0!important;border-bottom:1px solid #e5e7eb!important;break-inside:avoid}
 .report-document-print-page{width:auto!important;min-height:0!important;height:auto!important;padding:3mm!important;break-before:page!important;page-break-before:always!important;break-after:auto!important;page-break-after:auto!important}
 .report-document-print-page img,.report-document-print-page canvas{max-width:100%!important;max-height:250mm!important;object-fit:contain!important;display:block!important;margin:0 auto!important}
}


.report-date-provenance{display:block;margin-top:1mm;font-size:6.5pt;font-weight:500;color:#667085;white-space:normal}
.report-date-provenance.report-estimated{font-weight:700;color:#b54708}
@media print{.report-date-provenance{font-size:6pt!important}}


/* Torq Desk login story polish: refined hierarchy and restrained motion */
.auth-story{overflow:visible}
.auth-kicker{display:flex;align-items:center;gap:9px;color: #1d4ed8;letter-spacing:.19em}
.auth-kicker-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#38a6f5;box-shadow:0 0 0 4px rgba(56,166,245,.12);animation:mdPulse 2.4s ease-in-out infinite}
.auth-story h2{font-weight:750!important;letter-spacing:-.072em!important}
.auth-story h2 span{background:linear-gradient(100deg,#14352b 0%,#2376a8 62%,#38a6f5 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.auth-story-lead{max-width:470px!important;margin:18px 0 25px!important;color:#65717c!important;font-size:15px!important;line-height:1.75!important}
.auth-features{gap:13px!important;max-width:580px!important}
.auth-features li{gap:12px!important;align-items:flex-start!important;color:#263746!important;font-size:12px!important;line-height:1.45!important}
.auth-features li>span:last-child{display:grid;gap:3px}
.auth-features li strong{font-size:12px;font-weight:750;letter-spacing:-.01em;color:#1d2935}
.auth-features li small{display:block;color:#6b7784;font-size:11px;line-height:1.5}
.auth-feature-icon{margin-top:1px;flex-basis:21px!important;width:21px!important;height:21px!important;border-color:rgba(56,166,245,.25)!important;background:rgba(56,166,245,.07);color:#1676b7!important;transition:transform .25s ease,background .25s ease,box-shadow .25s ease}
.auth-features li:hover .auth-feature-icon{transform:translateY(-2px) scale(1.06);background:rgba(56,166,245,.14);box-shadow:0 5px 14px rgba(22,118,183,.12)}
.auth-features li{animation:mdFeatureIn .55s both;animation-delay:calc(.16s + var(--feature-index,0)*.09s)}
.auth-features li:nth-child(1){--feature-index:0}.auth-features li:nth-child(2){--feature-index:1}.auth-features li:nth-child(3){--feature-index:2}.auth-features li:nth-child(4){--feature-index:3}.auth-features li:nth-child(5){--feature-index:4}
.auth-story-footer{display:flex;align-items:center;gap:9px;margin-top:24px!important;color:#718096!important;font-size:9px!important;letter-spacing:.08em!important}
.auth-footer-mark{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:linear-gradient(145deg,#102c43,#2376a8);color:#fff;font-size:9px;font-weight:800;letter-spacing:-.04em;box-shadow:0 5px 14px rgba(16,44,67,.18)}
.auth-footer-line{width:24px;height:1px;background:#d5dde4;margin:0 2px}
.auth-animated .auth-story-copy{animation:mdStoryIn .8s cubic-bezier(.2,.7,.2,1) .05s both!important}
.auth-animated .auth-card{animation:mdCardIn .75s cubic-bezier(.2,.7,.2,1) .16s both!important}
.auth-animated .auth-features li{animation:mdFeatureIn .55s both;animation-delay:calc(.45s + var(--feature-index,0)*.1s)}
.auth-animated .auth-scene-glow{animation:mdGlowDrift 7s ease-in-out infinite alternate}
.auth-animated .auth-speedometer{animation:mdGaugeFloat 6s ease-in-out infinite alternate}
.auth-animated .auth-car{filter:drop-shadow(0 8px 8px rgba(20,53,43,.08))}
@keyframes mdStoryIn{from{opacity:0;transform:translate3d(0,20px,0);filter:blur(5px)}to{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}}
@keyframes mdCardIn{from{opacity:0;transform:translate3d(18px,12px,0) scale(.985)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes mdFeatureIn{from{opacity:0;transform:translate3d(0,10px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes mdPulse{0%,100%{box-shadow:0 0 0 4px rgba(56,166,245,.10)}50%{box-shadow:0 0 0 7px rgba(56,166,245,.04)}}
@keyframes mdGlowDrift{from{transform:translate3d(-8px,3px,0) scale(.97);opacity:.45}to{transform:translate3d(16px,-5px,0) scale(1.05);opacity:.8}}
@keyframes mdGaugeFloat{from{transform:translate3d(0,0,0) rotate(-7deg)}to{transform:translate3d(0,-5px,0) rotate(-4deg)}}
@media(max-width:760px){
 .auth-story-lead{font-size:13px!important;line-height:1.65!important;margin:12px 0 18px!important}
 .auth-features{gap:10px!important}
 .auth-features li small{font-size:10px}
 .auth-story-footer{margin-top:18px!important}
}
@media(prefers-reduced-motion:reduce){
 .auth-kicker-dot,.auth-features li,.auth-animated .auth-story-copy,.auth-animated .auth-card,.auth-animated .auth-scene-glow,.auth-animated .auth-speedometer{animation:none!important}
 .auth-features li{opacity:1!important;transform:none!important}
}


/* Torq Desk login: fit the full experience in a standard desktop viewport */
@media (min-width: 761px) {
  #auth.login {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    padding: clamp(12px, 2.2vh, 24px) clamp(24px, 4vw, 56px);
    overflow-x: hidden;
    overflow-y: auto;
  }
  .auth-shell {
    width: min(1160px, 100%);
    grid-template-columns: minmax(0, 1fr) minmax(350px, 410px);
    gap: clamp(28px, 4.5vw, 68px);
    align-items: center;
  }
  .auth-story { grid-template-rows: auto minmax(0, 105px); }
  .auth-story-copy { max-width: 590px; }
  .auth-story h2 { font-size: clamp(40px, 4.8vw, 64px) !important; }
  .auth-story-copy > p:not(.auth-kicker) { margin: 13px 0 16px; font-size: 14px; line-height: 1.5; }
  .auth-features { gap: 8px; }
  .auth-features li { font-size: 11px; }
  .auth-scene { min-height: 105px; }
  .auth-speedometer { width: 250px; height: 125px; bottom: 36px; }
  .auth-scene-glow { height: 115px; bottom: 24px; }
  .auth-car { width: 250px; bottom: 35px; }
  .auth-horizon { bottom: 36px; }
  .auth-road-line { bottom: 35px; }
  .auth-card { max-width: 410px; padding: 22px; }
  .auth-card-head { margin-bottom: 12px; }
  .auth-card-copy { margin: 6px 0 10px; }
  .auth-card :is(h1, h2.auth-title) { font-size: 25px !important; }
  .auth-form { gap: 7px; }
  .auth-field input { height: 42px !important; min-height: 42px !important; }
  .auth-submit { height: 42px !important; }
}
@media (min-width: 761px) and (max-height: 800px) {
  #auth.login { padding-top: 10px; padding-bottom: 10px; }
  .auth-story h2 { font-size: clamp(38px, 4.1vw, 56px) !important; }
  .auth-story-copy > p:not(.auth-kicker) { margin: 10px 0 12px; }
  .auth-features { gap: 6px; }
  .auth-features li { font-size: 10.5px; }
  .auth-story { grid-template-rows: auto minmax(0, 72px); }
  .auth-scene { min-height: 72px; }
  .auth-car { width: 215px; bottom: 25px; }
  .auth-speedometer { width: 215px; height: 100px; bottom: 26px; }
  .auth-scene-glow { width: 240px; height: 90px; bottom: 18px; }
  .auth-horizon { bottom: 26px; }
  .auth-road-line { bottom: 25px; }
  .auth-card { padding: 18px 20px; }
  .auth-card-head { margin-bottom: 9px; }
  .auth-card-copy { margin: 4px 0 8px; font-size: 12px; }
  .auth-form { gap: 6px; }
  .auth-field input { height: 39px !important; min-height: 39px !important; }
  .auth-submit { height: 40px !important; }
}
/* Keep the password action anchored to the input itself on login and signup. */
.auth-password-field { display: grid; grid-template-columns: minmax(0, 1fr); }
.auth-password-field input { box-sizing: border-box; padding-right: 76px !important; }
.auth-password-toggle {
  top: auto !important;
  right: 7px !important;
  bottom: auto !important;
  transform: none !important;
  height: 30px !important;
  min-width: 48px !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.auth-password-field label + input + .auth-password-toggle { top: 29px !important; }
.auth-password-field input:focus + .auth-password-toggle { top: 29px !important; }
@media (min-width: 761px) and (max-height: 800px) {
  .auth-password-field label + input + .auth-password-toggle { top: 26px !important; }
  .auth-password-field input:focus + .auth-password-toggle { top: 26px !important; }
}


/* Final desktop composition: separate brand tagline, copy and animated car */
.auth-story { grid-template-rows: auto minmax(88px, 112px); row-gap: 8px; }
.auth-story-copy { align-self: center; }
.auth-story-footer { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:15px!important; }
.auth-footer-tagline { color:#63758a; font-size:9px; font-weight:800; letter-spacing:.13em; white-space:nowrap; }
.auth-scene { align-self:end; min-height:0; height:112px; overflow:hidden; }
.auth-car { bottom:22px; }
.auth-speedometer { bottom:27px; }
.auth-scene-glow { bottom:15px; }
.auth-horizon { bottom:22px; }
.auth-road-line { bottom:21px; }
@media (min-width:761px) {
  #auth.login { padding-top:12px; padding-bottom:12px; }
  .auth-shell { gap:clamp(24px,3.6vw,52px); }
  .auth-story h2 { font-size:clamp(38px,4.2vw,58px)!important; }
  .auth-story-copy > p:not(.auth-kicker) { margin:11px 0 14px!important; }
  .auth-features { gap:7px!important; }
  .auth-features li { font-size:11px!important; }
  .auth-features li small { font-size:10px!important; }
}
@media (min-width:761px) and (max-height:800px) {
  .auth-story { grid-template-rows:auto 68px; row-gap:2px; }
  .auth-story-footer { margin-top:10px!important; }
  .auth-scene { height:68px; }
  .auth-car { width:205px; bottom:16px; }
  .auth-speedometer { width:205px; height:85px; bottom:19px; }
  .auth-scene-glow { height:75px; bottom:10px; }
  .auth-horizon { bottom:16px; }
  .auth-road-line { bottom:15px; }
}
@media (max-width:760px) {
  .auth-story-footer { gap:7px; }
  .auth-footer-tagline { font-size:8px; }
  .auth-scene { margin-top:8px; }
}


/* Password Show/Hide: overlay the control in the input's own grid row.
   This avoids hard-coded top offsets that drift when label/input heights change. */
.auth-password-field {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto 42px auto !important;
  align-items: stretch !important;
  position: relative !important;
}
.auth-password-field > label {
  grid-column: 1 !important;
  grid-row: 1 !important;
}
.auth-password-field > input {
  grid-column: 1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
  padding-right: 76px !important;
}
.auth-password-field > .auth-password-toggle {
  grid-column: 1 !important;
  grid-row: 2 !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  justify-self: end !important;
  align-self: center !important;
  z-index: 2 !important;
  transform: none !important;
  margin: 0 7px 0 0 !important;
  height: 30px !important;
  min-height: 30px !important;
  min-width: 48px !important;
  padding: 0 8px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
@media (min-width: 761px) and (max-height: 800px) {
  .auth-password-field { grid-template-rows: auto 39px auto !important; }
  .auth-password-field > input { height: 39px !important; min-height: 39px !important; }
}

/* Torq Desk public information pages */
.md-info-modal[hidden]{display:none!important}.md-info-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;box-sizing:border-box}.md-info-backdrop{position:absolute;inset:0;background:rgba(8,20,34,.64);backdrop-filter:blur(8px)}.md-info-panel{position:relative;display:flex;flex-direction:column;width:min(760px,100%);max-height:min(88dvh,850px);overflow:hidden;background:#fff;border:1px solid #ffffffb3;border-radius:22px;box-shadow:0 28px 100px #05142647;color:#172b3c;animation:mdInfoIn .25s ease-out}.md-info-close{position:absolute;right:17px;top:15px;width:36px;height:36px;border:1px solid #e4eaf0;border-radius:12px;background:#f7fafc;color:#24384a;font-size:24px;cursor:pointer}.md-info-brand{display:flex;align-items:center;gap:10px;padding:22px 26px 14px;font-weight:800;font-size:16px}.md-info-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#102b43;color:#fff;font-size:12px}.md-info-india{margin-left:auto;margin-right:42px;padding:6px 9px;border-radius:999px;background:#fff7e8;color:#87521b;font-size:9px;letter-spacing:.12em;font-weight:800}.md-info-badges{display:flex;flex-wrap:wrap;gap:8px;padding:0 26px 16px}.md-info-badges span{padding:7px 10px;border:1px solid #e6edf2;border-radius:999px;background:#f8fafc;color:#52677a;font-size:10px;font-weight:700}.md-info-tabs{display:flex;gap:5px;padding:0 26px;border-bottom:1px solid #e8edf1}.md-info-tabs button{padding:12px 14px;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;background:transparent;color:#687b8d;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.md-info-tabs button.active{border-bottom-color:#2c9be8;color:#176fa8}.md-info-content{padding:24px 28px 28px;overflow:auto;overscroll-behavior:contain;font-size:13px;line-height:1.75;color:#506274}.md-info-content h1{margin:0 0 16px;color:#152b3e;font-size:25px;letter-spacing:-.04em;line-height:1.2}.md-info-content h2{margin:0 0 15px;color:#172b3c;font-size:clamp(22px,3vw,32px);letter-spacing:-.05em;line-height:1.2}.md-info-content h2 span{color:#258bd0}.md-info-content h3{margin:20px 0 4px;color:#20384d;font-size:13px}.md-info-content p{margin:10px 0}.md-info-content a{color:#1678b5;font-weight:700;text-decoration:none}.md-info-eyebrow{color:#258bd0!important;font-size:10px;font-weight:800;letter-spacing:.18em}.md-info-muted{color:#8794a0;font-size:11px}.md-info-content blockquote{margin:20px 0;padding:15px 18px;border-left:3px solid #2d9de5;border-radius:0 12px 12px 0;background:linear-gradient(100deg,#eef7fc,#f8fbfd);color:#28485d;font-size:14px;font-weight:600;line-height:1.7}.md-info-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:20px}.md-info-values div{display:grid;gap:7px;padding:13px;border:1px solid #e7edf2;border-radius:12px;background:#fbfcfd}.md-info-values b{font-size:11px;color:#1b354a}.md-info-values span{font-size:10px;line-height:1.55}.md-contact-cards{display:grid;gap:10px;margin:22px 0}.md-contact-cards a{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid #e4ebf0;border-radius:14px;background:#fbfdfe;color:inherit;text-decoration:none;transition:transform .2s,border-color .2s}.md-contact-cards a:hover{transform:translateY(-2px);border-color:#9bcfed}.md-contact-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:12px;background:#eaf6fd;color:#147cb7;font-size:18px}.md-contact-cards a>span:last-child{display:grid;gap:2px}.md-contact-cards small{font-size:9px;letter-spacing:.12em;color:#748698;font-weight:800}.md-contact-cards b{font-size:14px;color:#1d3d56}.md-contact-cards em{font-size:11px;color:#475569;font-style:normal}.md-info-note{padding:11px 13px;border-radius:10px;background:#f5f8fa;color:#74818c;font-size:10px;line-height:1.65}.md-info-bottom{display:flex;justify-content:space-between;gap:12px;padding:12px 26px;border-top:1px solid #edf1f4;color:#83919c;font-size:9px;font-weight:800;letter-spacing:.1em}.md-public-links,.md-drawer-info{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:13px;margin-top:10px}.md-public-links button,.md-drawer-info button{padding:0;border:0;background:transparent;color:#647789;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.md-public-links button:hover,.md-drawer-info button:hover{color:#1683c2;text-decoration:underline}.md-drawer-info{justify-content:flex-start;padding:10px 0 2px}body.md-info-open{overflow:hidden}@keyframes mdInfoIn{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:560px){.md-info-modal{padding:8px}.md-info-panel{max-height:94dvh;border-radius:17px}.md-info-brand{padding:17px 17px 12px}.md-info-badges{padding:0 17px 12px}.md-info-tabs{padding:0 12px}.md-info-tabs button{padding:11px 9px;font-size:10px}.md-info-content{padding:19px 18px 22px}.md-info-content h1{font-size:22px}.md-info-values{grid-template-columns:1fr}.md-info-bottom{padding:11px 17px;font-size:8px}.md-info-india{margin-right:36px;font-size:8px}}@media(prefers-reduced-motion:reduce){.md-info-panel,.md-contact-cards a{animation:none;transition:none}}


/* Password visibility button stays inside the right end of its own input. */
.auth-field.auth-password-field > .auth-password-control {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
}
.auth-field.auth-password-field > .auth-password-control > #password {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding-right: 78px !important;
}
.auth-field.auth-password-field > .auth-password-control > #passwordToggle {
  position: absolute !important;
  top: 50% !important;
  right: 7px !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 48px !important;
  height: 30px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 0 9px !important;
  z-index: 2 !important;
}

/* Refined footer navigation tabs and copyright / India badge */
.md-public-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 10px;margin:14px 0 2px;padding:12px 8px 0;border-top:1px solid #e8edf2}
.md-public-links button,.md-drawer-info button{padding:7px 11px;border:1px solid #e2eaf0;border-radius:999px;background:#f7fafc;color:#425b70;font-size:11px;font-weight:700;transition:background .18s,border-color .18s,color .18s}
.md-public-links button:hover,.md-drawer-info button:hover{background:#eaf6fd;border-color:#b7dff4;color:#116da7;text-decoration:none}
.md-public-links>span{font-size:9px;color:#7b8b98;font-weight:700;letter-spacing:.03em}
.md-public-links .md-made-in-india{padding:6px 9px;border-radius:999px;background:#fff7e8;color:#865a23;letter-spacing:.08em}
.md-drawer-info{justify-content:flex-start;gap:6px 8px;padding:10px 0}
.md-drawer-info>span{width:100%;margin-top:3px;font-size:9px;color:#82909c}
.md-info-tabs button{border-radius:10px 10px 0 0}
.md-info-tabs button.active{background:#eef7fc}

/* Global Torq Desk footer on both auth and app screens, never inside the login card */
.md-public-links{display:none!important}
.md-site-footer{width:100%;box-sizing:border-box;position:relative;z-index:2;background:rgba(255,255,255,.94);border-top:1px solid #e1e8ee;color:#66798a}
.md-footer-inner{width:min(1160px,calc(100% - 40px));min-height:58px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;box-sizing:border-box}
.md-footer-copy{white-space:nowrap;font-size:11px;font-weight:700;color:#536a7c}
.md-footer-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px}
.md-footer-links button{border:1px solid transparent;border-radius:999px;background:transparent;padding:8px 12px;color:#526a7d;font:inherit;font-size:11px;font-weight:650;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.md-footer-links button:hover,.md-footer-links button:focus-visible{outline:none;background:#edf7fd;border-color:#c5e3f4;color:#1479b5}
.md-footer-made{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid #f0e1c8;border-radius:999px;padding:7px 10px;background:#fffaf1;color:#875b24;font-size:9px;font-weight:800;letter-spacing:.06em}
.md-footer-made i{width:3px;height:3px;border-radius:50%;background:#d3a46b}
.md-auth-footer{display:block;margin-top:0}
.md-app-footer{display:none;margin-top:24px}
body:has(#app:not(.hidden)) .md-auth-footer{display:none}
body:has(#app:not(.hidden)) .md-app-footer{display:block}
@media(max-width:760px){.md-footer-inner{width:calc(100% - 28px);justify-content:center;flex-wrap:wrap;gap:8px;padding:12px 0}.md-footer-copy{order:1}.md-footer-made{order:2;font-size:8px}.md-footer-links{order:3;width:100%;gap:3px}.md-footer-links button{font-size:10px;padding:7px 9px}.md-app-footer{margin-top:16px}}

/* Footer information links are real page anchors, styled consistently with the Torq Desk footer. */
.md-footer-links a{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:999px;background:transparent;padding:8px 12px;color:#526a7d;font:inherit;font-size:11px;font-weight:650;text-decoration:none;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.md-footer-links a:hover,.md-footer-links a:focus-visible{outline:none;background:#edf7fd;border-color:#c5e3f4;color:#1479b5}


/* Torq Desk: company footer sits naturally in page flow, pushed to bottom via flexbox. */
html {
  min-height: 100%;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex !important;
  flex-direction: column !important;
}
#app, #torqLanding {
  flex: 1 0 auto;
}
.layout {
  min-height: 100%;
}
.md-site-footer{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  z-index:2!important;
  margin-top:auto!important;
  background:#ffffff!important;
  border-top:1px solid #e2e8f0!important;
  box-shadow:none!important;
  padding:20px 0 max(20px,env(safe-area-inset-bottom,0px))!important;
  box-sizing:border-box!important;
}
#torqLanding ~ .md-auth-footer,
body:not(.td-auth-open) .md-auth-footer{display:none!important}
body:not(:has(#app:not(.hidden))){padding-bottom:0!important}
body:has(#app:not(.hidden)){padding-bottom:0!important}
body:has(#app:not(.hidden)) .md-app-footer{display:block!important;margin-top:auto!important;position:relative!important}
body.md-info-open{overflow:hidden!important}
.md-info-modal:not([hidden]){
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  z-index:2147483000!important;
}
.md-info-panel{z-index:1}
@media(max-width:760px){
  .md-footer-inner{min-height:0!important;padding:8px 12px!important;gap:6px!important}
  .md-footer-copy{font-size:10px!important}
  .md-footer-links{width:100%;gap:4px!important}
  .md-footer-links button,.md-footer-links a{font-size:11px!important;padding:6px 8px!important}
  .md-footer-made{font-size:8px!important;padding:4px 6px!important}
  body:not(:has(#app:not(.hidden))){padding-bottom:0!important}
  body:has(#app:not(.hidden)){padding-bottom:0!important}
  body:has(#app:not(.hidden)) .md-app-footer{margin-bottom:80px!important}
}


/* Torq Desk popup readability hotfix: compact, opaque panel with crisp text. */
.md-info-modal:not([hidden]) {
  position: fixed !important; inset: 0 !important;
  display: grid !important; place-items: center !important;
  padding: 12px !important; box-sizing: border-box !important;
  visibility: visible !important; opacity: 1 !important;
  z-index: 2147483000 !important;
  filter: none !important; backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(12, 27, 42, .56) !important;
}
.md-info-backdrop {
  background: rgba(12, 27, 42, .56) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}
.md-info-panel {
  display: flex !important; flex-direction: column !important;
  position: relative !important;
  width: min(540px, calc(100vw - 24px)) !important;
  max-width: 540px !important;
  max-height: min(78vh, 660px) !important;
  margin: auto !important; overflow: hidden !important;
  background: #fff !important; color: #172b3c !important;
  opacity: 1 !important; visibility: visible !important;
  filter: none !important; backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  border: 1px solid #dce5ec !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 55px rgba(0,0,0,.24) !important;
  animation: none !important;
}
.md-info-brand, .md-info-badges, .md-info-tabs, .md-info-content, .md-info-bottom {
  flex-shrink: 0 !important; filter: none !important; opacity: 1 !important;
}
.md-info-content {
  display: block !important; flex: 1 1 auto !important;
  min-height: 120px !important; overflow-y: auto !important;
  color: #40566a !important; background: #fff !important;
  font-size: 13px !important; line-height: 1.65 !important;
  -webkit-text-fill-color: currentColor !important;
}
.md-info-content h1, .md-info-content h2, .md-info-content h3,
.md-info-content p, .md-info-content span, .md-info-content b,
.md-info-content em, .md-info-content a, .md-info-content blockquote {
  opacity: 1 !important; filter: none !important;
  -webkit-text-fill-color: currentColor;
}
.md-info-content h1, .md-info-content h2, .md-info-content h3 { color: #152b3e !important; }
.md-info-content p { color: #40566a !important; }
.md-info-content a { color: #087bb5 !important; }
@media (max-width: 560px) {
  .md-info-modal:not([hidden]) { padding: 8px !important; }
  .md-info-panel { width: calc(100vw - 16px) !important; max-height: 82vh !important; border-radius: 14px !important; }
  .md-info-brand { padding: 14px 15px 10px !important; }
  .md-info-badges { padding: 0 15px 10px !important; }
  .md-info-content { padding: 16px !important; }
  .md-info-bottom { padding: 10px 15px !important; }
}


/* Torq Desk modal visibility/readability: isolate the dialog from page effects. */
#mdInfoModal.md-info-modal:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  padding: 12px !important;
  background: rgba(15, 29, 43, .48) !important;
  isolation: isolate !important;
  contain: layout paint style !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2147483647 !important;
}
#mdInfoModal .md-info-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 29, 43, .48) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}
#mdInfoModal .md-info-panel {
  position: relative !important;
  z-index: 1 !important;
  width: min(500px, calc(100vw - 24px)) !important;
  max-width: 500px !important;
  max-height: min(76vh, 600px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: #fff !important;
  color: #24384a !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  animation: none !important;
  isolation: isolate !important;
}
#mdInfoModal .md-info-brand,
#mdInfoModal .md-info-badges,
#mdInfoModal .md-info-tabs,
#mdInfoModal .md-info-bottom { flex: 0 0 auto !important; }
#mdInfoModal .md-info-content {
  position: relative !important;
  display: block !important;
  flex: 1 1 auto !important;
  min-height: 120px !important;
  overflow: auto !important;
  background: #fff !important;
  color: #40566a !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  -webkit-text-fill-color: #40566a !important;
  text-shadow: none !important;
}
#mdInfoModal .md-info-content * {
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}
#mdInfoModal .md-info-content h1,
#mdInfoModal .md-info-content h2,
#mdInfoModal .md-info-content h3,
#mdInfoModal .md-info-content b { color: #172b3c !important; -webkit-text-fill-color: #172b3c !important; }
#mdInfoModal .md-info-content p,
#mdInfoModal .md-info-content li,
#mdInfoModal .md-info-content blockquote { color: #40566a !important; -webkit-text-fill-color: #40566a !important; }
#mdInfoModal .md-info-content h2 span { color: #187db7 !important; -webkit-text-fill-color: #187db7 !important; }
@media (max-width: 560px) {
  #mdInfoModal .md-info-panel { width: calc(100vw - 20px) !important; max-height: 80vh !important; }
}


/* Torq Desk mobile layout and company-dialog stability.
   Consolidated override: replaces the previous overlapping mobile hotfix blocks. */
@media (max-width: 760px) {
  html, body { width:100%; max-width:100%; overflow-x:hidden; }
  #auth.login {
    box-sizing:border-box !important; width:100% !important;
    min-height:100dvh !important; height:auto !important;
    padding:12px 12px calc(24px + env(safe-area-inset-bottom,0px)) !important;
    overflow:visible !important; align-items:start !important;
  }
  #auth .auth-shell {
    width:100% !important; min-width:0 !important; min-height:0 !important;
    display:grid !important; grid-template-columns:minmax(0,1fr) !important;
    grid-template-areas:"story" "actions" "card" !important;
    align-items:start !important; justify-items:stretch !important;
    gap:12px !important; margin:0 auto !important;
  }
  #auth .auth-story { min-width:0 !important; width:100% !important; grid-template-rows:auto !important; }
  #auth .auth-story-copy { width:100% !important; max-width:none !important; padding:0 2px !important; }
  #auth .auth-story h2 { font-size:clamp(27px,7vw,34px) !important; line-height:1.04 !important; }
  #auth .auth-story-copy > p:not(.auth-kicker) { margin:9px 0 12px !important; font-size:12px !important; line-height:1.45 !important; }
  #auth .auth-features, #auth .auth-scene { display:none !important; }
  #auth .auth-story-footer { margin-top:8px !important; }
  #auth .auth-mobile-actions { display:grid !important; grid-area:actions !important; width:100% !important; }
  #auth .auth-card {
    display:none !important; grid-area:card !important; width:100% !important;
    max-width:none !important; min-width:0 !important; box-sizing:border-box !important;
    justify-self:stretch !important; align-self:start !important; margin:0 !important;
    padding:18px 16px !important; border-radius:16px !important;
    overflow:visible !important; transform:none !important;
  }
  #auth.auth-mobile-open .auth-shell { grid-template-areas:"card" !important; }
  #auth.auth-mobile-open .auth-story, #auth.auth-mobile-open .auth-mobile-actions { display:none !important; }
  #auth.auth-mobile-open .auth-card { display:block !important; }
  #auth .auth-card-head { margin-bottom:12px !important; }
  #auth .auth-card :is(h1, h2.auth-title) { font-size:24px !important; }
  #auth .auth-card-copy { margin:7px 0 10px !important; }
  #auth .auth-verification { width:100% !important; box-sizing:border-box !important; }
  .md-site-footer {
    position:relative !important; inset:auto !important; width:100% !important;
    z-index:10 !important; margin:0 !important; padding:0 0 env(safe-area-inset-bottom,0px) !important;
    box-sizing:border-box !important;
  }
  .md-footer-inner {
    width:100% !important; min-height:0 !important; margin:0 !important;
    padding:8px 8px !important; display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:"copy made" "links links" !important;
    align-items:center !important; justify-content:stretch !important; gap:5px 8px !important;
    box-sizing:border-box !important;
  }
  .md-footer-copy { grid-area:copy !important; justify-self:start !important; order:unset !important; }
  .md-footer-made { grid-area:made !important; justify-self:end !important; order:unset !important; white-space:nowrap !important; }
  .md-footer-links {
    grid-area:links !important; display:flex !important; width:100% !important;
    flex-wrap:nowrap !important; justify-content:center !important; align-items:center !important;
    gap:2px !important; min-width:0 !important; order:unset !important;
  }
  .md-footer-links button, .md-footer-links a {
    flex:0 1 auto !important; min-width:0 !important;
    padding:6px clamp(3px,1.5vw,6px) !important;
    font-size:clamp(9px,2.5vw,10px) !important; line-height:1.2 !important;
    white-space:nowrap !important;
  }
  body:has(#app:not(.hidden)) .md-auth-footer { display:none !important; }
  body:has(#app:not(.hidden)) .md-app-footer,
  .md-site-footer.md-app-footer {
    display:block !important;
    margin-top:24px !important;
    margin-bottom:0 !important;
    padding-bottom:calc(84px + env(safe-area-inset-bottom,0px)) !important;
  }
  body:has(#app:not(.hidden)) .mobile-nav { position:fixed !important; bottom:0 !important; z-index:1000 !important; }
}
@media (max-width: 360px) {
  .md-footer-links button, .md-footer-links a { padding-left:3px !important; padding-right:3px !important; font-size:9px !important; }
  .md-footer-made { font-size:6.5px !important; padding:4px 5px !important; }
  #auth .auth-card { padding:15px 12px !important; }
}
/* Keep info dialog independent of body scroll, while allowing its content to scroll. */
#mdInfoModal.md-info-modal[hidden] { display:none !important; }
#mdInfoModal.md-info-modal:not([hidden]) {
  position:fixed !important; inset:0 !important; z-index:2147483647 !important;
  display:grid !important; place-items:center !important;
  box-sizing:border-box !important; padding:12px !important;
  overflow:hidden !important; isolation:isolate !important; contain:layout paint style !important;
  background:rgba(15,29,43,.52) !important; opacity:1 !important; visibility:visible !important;
}
#mdInfoModal .md-info-backdrop {
  position:absolute !important; inset:0 !important; background:transparent !important;
  filter:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
}
#mdInfoModal .md-info-panel {
  position:relative !important; z-index:1 !important; display:flex !important; flex-direction:column !important;
  width:min(500px,100%) !important; max-width:500px !important;
  max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)) !important;
  min-height:0 !important; margin:0 !important; overflow:hidden !important;
  box-sizing:border-box !important; background:#fff !important; color:#24384a !important;
  opacity:1 !important; visibility:visible !important; filter:none !important;
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
  transform:none !important; animation:none !important; isolation:isolate !important;
  border:1px solid #dce5ec !important; border-radius:16px !important;
  box-shadow:0 20px 55px rgba(0,0,0,.24) !important;
}
#mdInfoModal .md-info-brand, #mdInfoModal .md-info-badges,
#mdInfoModal .md-info-tabs, #mdInfoModal .md-info-bottom { flex:0 0 auto !important; }
#mdInfoModal .md-info-content {
  position:relative !important; display:block !important; flex:1 1 auto !important;
  min-height:0 !important; overflow-y:auto !important; overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch !important; background:#fff !important; color:#40566a !important;
  opacity:1 !important; visibility:visible !important; filter:none !important;
  font-size:13px !important; line-height:1.6 !important;
  -webkit-text-fill-color:#40566a !important; text-shadow:none !important;
}
#mdInfoModal .md-info-content * { visibility:visible !important; opacity:1 !important; filter:none !important; text-shadow:none !important; }
#mdInfoModal .md-info-content h1, #mdInfoModal .md-info-content h2,
#mdInfoModal .md-info-content h3, #mdInfoModal .md-info-content b {
  color:#172b3c !important; -webkit-text-fill-color:#172b3c !important;
}
#mdInfoModal .md-info-content p, #mdInfoModal .md-info-content li,
#mdInfoModal .md-info-content blockquote { color:#40566a !important; -webkit-text-fill-color:#40566a !important; }
#mdInfoModal .md-info-content h2 span { color:#187db7 !important; -webkit-text-fill-color:#187db7 !important; }
#mdInfoModal .md-info-content a { color:#087bb5 !important; overflow-wrap:anywhere !important; }
@media (max-width:560px) {
  #mdInfoModal.md-info-modal:not([hidden]) {
    padding:calc(8px + env(safe-area-inset-top,0px)) 8px calc(8px + env(safe-area-inset-bottom,0px)) !important;
    align-items:center !important;
  }
  #mdInfoModal .md-info-panel { width:100% !important; max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)) !important; border-radius:14px !important; }
  #mdInfoModal .md-info-content { min-height:0 !important; padding:14px !important; }
  #mdInfoModal .md-info-tabs { gap:4px !important; }
  #mdInfoModal .md-info-tabs button { min-width:0 !important; padding:8px 6px !important; font-size:10px !important; white-space:normal !important; }
}

/* Torq Desk brand tokens */
:root{--torq-navy:#0B1220;--torq-blue:#2563EB;--torq-sky:#38B2FF;}
/* Torq Desk — blue automotive identity, aligned with login and dashboard UI. */
:root{--c-accent:#2563EB;--c-accent-2:#1D4ED8;--c-ok:#0D9F80;--c-warn:#B7791F;--c-bad:#B83A2E;--c-ink:#0B1220;--c-mute:#62738A;--c-line:#DCE5EF;--c-soft:#F0F6FC;--c-bg:#F6F8FB;--torq-navy:#0B1220;--torq-blue:#2563EB;--torq-sky:#38B2FF;--torq-teal:#10B981;--torq-gradient:linear-gradient(120deg,#0B1220 0%,#12345A 56%,#2563EB 100%)}
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#F6F8FB;color:var(--c-ink)}
.primary,button.primary{background:linear-gradient(135deg,#2563EB,#1D4ED8)!important;border-color:#2563EB!important;color:#fff!important;box-shadow:0 8px 20px rgba(37,99,235,.16)!important}
.primary:hover,button.primary:hover{filter:brightness(1.05)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(56,178,255,.65);outline-offset:3px}
.auth-story h2 span{color:#2563EB!important}.auth-feature-icon{color:#2563EB!important;border-color:#B7D6FF!important;background:#EAF3FF!important}.auth-car-line{stroke:#1D4ED8!important}.auth-car-window-line{stroke:#38B2FF!important}.auth-car-wheel{stroke:#0B1220!important}
.top{background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom-color:#DCE5EF}.brand-logo{max-height:46px;width:auto}.md-info-modal:not([hidden]){z-index:2147483647!important}.md-info-panel{border-color:#DCE5EF!important;box-shadow:0 24px 70px rgba(11,18,32,.24)!important}.md-info-mark,.md-footer-mark{background:var(--torq-gradient)!important}.md-footer-links button:hover{background:#EAF3FF!important;color:#1D4ED8!important}
@media(max-width:820px){.auth-story h2 span{color:#2563EB!important}.auth-mobile-tab.is-active,.auth-mobile-tab:hover{background:#2563EB!important;border-color:#2563EB!important;color:#fff!important}}


/* Torq Desk public homepage */
.td-landing{--td-ink:#0b1220;--td-blue:#2563eb;min-height:100vh;background:#f7f9fc;color:var(--td-ink);font-family:Inter,system-ui,sans-serif}.td-landing *{box-sizing:border-box}.td-landing button,.td-landing a{-webkit-tap-highlight-color:transparent}.td-nav{height:78px;max-width:1440px;margin:auto;padding:0 clamp(18px,4vw,58px);display:flex;align-items:center;justify-content:space-between;gap:22px;background:#fff}.td-brand{display:flex;align-items:center;min-width:180px}.td-brand img{width:190px;max-width:100%;height:auto}.td-nav-links{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,28px);flex:1}.td-nav-links a{font-size:12px;font-weight:700;color:#111d33;text-decoration:none;white-space:nowrap}.td-nav-links a:hover{color:#2563eb}.td-nav-actions{display:flex;gap:9px}.td-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:10px;padding:11px 16px;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap;transition:transform .2s,box-shadow .2s;cursor:pointer}.td-btn:hover{transform:translateY(-2px)}.td-primary{background:linear-gradient(135deg,#2563eb,#1554d7);color:#fff;box-shadow:0 8px 18px #2563eb22}.td-light{background:#f8fafc;border-color:#e1e7ef;color:#13213a}.td-outline{background:#fff;border-color:#cbd4e0;color:#13213a}.td-large{padding:14px 21px;font-size:13px;border-radius:11px}.td-play{display:grid;place-items:center;width:20px;height:20px;background:#12223c;color:#fff;border-radius:50%;font-size:9px}.td-mobile-menu{display:none;background:#f3f6fb;border:1px solid #e1e8f1;border-radius:10px;padding:8px 11px;color:#12223c;font-size:18px}
.td-hero{max-width:1440px;min-height:480px;margin:auto;display:grid;grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);overflow:hidden;background:linear-gradient(115deg,#fff 0%,#f5f9ff 48%,#e7f2ff 100%);border-top:1px solid #edf1f7}.td-hero-copy{position:relative;z-index:2;padding:clamp(32px,5vw,65px) 0 28px clamp(22px,5vw,68px);display:flex;flex-direction:column;align-items:flex-start}.td-eyebrow{display:inline-flex;align-items:center;border:1px solid #a7c6ff;color:#174ca8;background:#eff6ff;padding:7px 12px;border-radius:99px;font-size:9px;font-weight:800;letter-spacing:.06em}.td-hero h1{font-size:clamp(34px,4.1vw,58px);line-height:1.04;letter-spacing:-.06em;font-weight:850;margin:22px 0 15px;color:#0b1220}.td-hero h1 span,.td-section-heading h2 span,.td-how h2 span{color:#2563eb}.td-hero-copy>p{font-size:clamp(13px,1.1vw,16px);line-height:1.7;color:#202b3c;max-width:470px;margin:0 0 22px}.td-hero-actions{display:flex;flex-wrap:wrap;gap:11px}.td-feature-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;width:min(690px,calc(100% + 100px));margin-top:auto;padding-top:30px;position:relative;z-index:4}.td-feature-strip>div{display:flex;align-items:center;gap:7px;min-width:0}.td-feature-strip span{display:flex;flex-direction:column;min-width:0}.td-feature-strip b{font-size:9px;white-space:nowrap;color:#14213a}.td-feature-strip small{font-size:8px;color:#6c7788;white-space:nowrap}.td-symbol{font-style:normal;display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:8px;color:#fff;font-size:12px}.td-blue,.td-card-blue{background:#2874f0}.td-teal,.td-card-green{background:#10a981}.td-pink{background:#d64f9a}.td-cyan{background:#16a7df}
.td-hero-art{position:relative;min-height:480px;overflow:hidden;background:linear-gradient(140deg,#e8f5ff,#b9def7 50%,#eaf5ff)}.td-hero-art:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f4faff 0%,transparent 29%),linear-gradient(0deg,#e9f4fc 0%,transparent 45%)}.td-city{position:absolute;bottom:33%;width:16%;border:1px solid #a4cde7;background:repeating-linear-gradient(90deg,#5ba5d4 0 3px,#b4d9f0 3px 9px);box-shadow:inset 10px 0 18px #fff8;opacity:.9;transform:skewY(-4deg)}.td-city-one{height:54%;left:43%;width:18%}.td-city-two{height:67%;left:65%;background:repeating-linear-gradient(90deg,#3286c1 0 3px,#9bcae9 3px 8px)}.td-city-three{height:44%;left:82%}.td-road{position:absolute;left:-5%;right:-5%;height:31%;bottom:0;background:linear-gradient(175deg,#dce7f0,#8e9cac);clip-path:polygon(0 45%,100% 0,100% 100%,0 100%)}.td-road:after{content:"";position:absolute;left:0;right:0;top:52%;height:2px;background:#fff9;transform:rotate(-8deg)}.td-suv{position:absolute;z-index:2;width:112%;max-width:none;height:auto;left:-10%;bottom:7%;filter:drop-shadow(0 18px 13px #0b1f3833);overflow:visible}.td-reminder{position:absolute;z-index:3;display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid #e7edf5;border-radius:12px;background:#ffffffed;box-shadow:0 12px 30px #15375a16;backdrop-filter:blur(8px);min-width:140px}.td-reminder>span{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#e5f7f1;color:#078c72;font-size:15px}.td-reminder div{display:flex;flex-direction:column}.td-reminder b{font-size:10px;color:#12213a}.td-reminder strong{font-size:12px;color:#0b1220}.td-reminder small{font-size:8px;color:#677386}.td-service{top:13%;right:13%}.td-insurance{top:32%;right:4%}.td-insurance>span{background:#e7edff;color:#315ce9}.td-puc{top:49%;right:2%}
.td-features-section{max-width:1440px;margin:auto;padding:34px clamp(22px,5vw,68px) 46px;background:#0b1220;color:#fff}.td-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:22px}.td-section-kicker{font-size:9px;letter-spacing:.24em;font-weight:800;color:#8ea4c3}.td-section-heading h2,.td-how h2{font-size:clamp(25px,3vw,36px);line-height:1.12;letter-spacing:-.05em;margin:8px 0;color:#fff}.td-section-heading p,.td-how>p{font-size:12px;line-height:1.7;color:#aab7cb;max-width:590px;margin:0}.td-feature-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(150px,.85fr);gap:11px}.td-feature-card{position:relative;background:#fff;border:1px solid #e6ebf3;border-radius:12px;padding:15px 14px 22px;color:#101b2d;min-height:150px}.td-card-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;color:#fff;font-size:17px;font-style:normal;margin-bottom:11px}.td-card-orange{background:#f59e0b}.td-card-purple{background:#7c3aed}.td-feature-card h3{font-size:12px;margin:0 0 7px;color:#101b2d}.td-feature-card p{font-size:10px;line-height:1.6;color:#687487;margin:0}.td-feature-card>a{position:absolute;right:11px;bottom:9px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#edf2f8;color:#13213a;text-decoration:none}.td-drive-card{border:1px solid #25344b;border-radius:12px;background:linear-gradient(145deg,#16243a,#0e1929);padding:13px;min-height:150px;overflow:hidden}.td-drive-car{height:50px;font-size:46px;text-align:right;color:#318cff;text-shadow:0 0 24px #2563eb77}.td-drive-card h3{font-size:14px;line-height:1.25;margin:6px 0;color:#fff}.td-drive-card p{font-size:10px;color:#bdc9d9;margin:0}.td-drive-card>span{display:block;width:38px;height:2px;background:#318cff;margin-top:12px}.td-how{max-width:1440px;margin:auto;padding:45px clamp(22px,5vw,68px);background:#111c2d;color:#fff;border-top:1px solid #25334a}.td-how h2{margin:10px 0}.td-how>p{margin-bottom:22px}.td-anchor{height:1px;overflow:hidden}.td-footer{max-width:1440px;margin:auto;background:#09101c;color:#aab7ca;padding:18px clamp(18px,4vw,58px);display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:10px}.td-footer-brand{display:flex;align-items:center;gap:8px;color:#fff;font-weight:800;text-decoration:none}.td-footer-brand img{width:26px;height:26px}.td-footer nav{display:flex;gap:14px}.td-footer nav button{background:transparent;color:#c4cfdf;font-size:10px;padding:5px}.td-footer nav button:hover{color:#fff}
@media(max-width:1000px){.td-nav{gap:12px}.td-brand{min-width:145px}.td-brand img{width:155px}.td-nav-links{gap:11px}.td-nav-links a{font-size:10px}.td-hero{grid-template-columns:1fr 1fr}.td-feature-strip{width:calc(100% + 60px);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.td-hero-art{min-height:450px}.td-feature-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.td-drive-card{grid-column:span 2;min-height:120px}.td-drive-car{float:right;width:40%;height:48px}}
@media(max-width:700px){.td-nav{height:65px;padding:0 14px;gap:9px}.td-brand{min-width:0;flex:1}.td-brand img{width:150px}.td-nav-links{display:none}.td-nav-actions .td-light{display:none}.td-nav-actions .td-btn{padding:9px 11px;font-size:10px}.td-mobile-menu{display:block}.td-hero{display:flex;flex-direction:column;min-height:0}.td-hero-copy{padding:27px 20px 18px}.td-hero h1{font-size:clamp(34px,9vw,45px);margin:18px 0 12px}.td-hero-copy>p{font-size:13px;margin-bottom:18px}.td-hero-actions{gap:8px}.td-large{padding:12px 13px;font-size:11px}.td-feature-strip{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:25px;padding-top:0}.td-feature-strip b{font-size:9px}.td-feature-strip small{font-size:8px}.td-hero-art{min-height:300px;height:300px}.td-suv{width:120%;left:-9%;bottom:5%}.td-reminder{min-width:0;padding:7px 8px;gap:6px;border-radius:9px}.td-reminder>span{width:22px;height:22px;font-size:11px}.td-reminder b{font-size:8px}.td-reminder strong{font-size:9px}.td-reminder small{font-size:7px}.td-service{top:6%;right:8%}.td-insurance{top:25%;right:3%}.td-puc{top:43%;right:2%}.td-features-section{padding:29px 17px 31px}.td-section-heading{align-items:flex-start;flex-direction:column;gap:15px}.td-section-heading h2,.td-how h2{font-size:27px}.td-section-heading p{font-size:11px}.td-feature-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.td-feature-card{padding:12px 11px 22px;min-height:145px}.td-feature-card h3{font-size:11px}.td-feature-card p{font-size:9px}.td-drive-card{grid-column:span 2;min-height:135px}.td-drive-car{font-size:42px;height:43px}.td-how{padding:33px 19px}.td-footer{flex-wrap:wrap;justify-content:center;text-align:center;padding:18px}.td-footer-brand{width:100%;justify-content:center}.td-footer nav{width:100%;justify-content:center}.td-footer>span{order:3;width:100%}}
@media(prefers-reduced-motion:reduce){.td-landing *{scroll-behavior:auto!important;transition:none!important}}

.auth-footer-logo{display:block;width:25px;height:25px;flex:0 0 25px;object-fit:contain;border-radius:7px}


/* Torq Desk auth is a modal over the public homepage, not a second landing page. */
html{scrollbar-gutter:stable}
body.td-auth-open{overflow-y:hidden;scrollbar-gutter:stable}
body.td-auth-open #auth.login{position:fixed;inset:0;z-index:100000;min-height:100dvh;height:100dvh;padding:20px;overflow:auto;background:rgba(7,16,31,.58);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);display:grid;place-items:center}
body.td-auth-open #auth .auth-shell{width:min(440px,100%);min-height:0;display:block;grid-template-columns:minmax(0,1fr);grid-template-areas:"card";gap:0;margin:auto}
body.td-auth-open #auth .auth-story,body.td-auth-open #auth .auth-mobile-actions{display:none!important}
body.td-auth-open #auth .auth-card{display:block!important;position:relative;width:100%;max-width:440px;margin:auto;border:1px solid #dce5ef;border-radius:22px;box-shadow:0 24px 75px rgba(0,0,0,.22);overflow:hidden;transform:none!important;animation:authFadeIn .2s cubic-bezier(.16,1,.3,1) both!important}
@keyframes authFadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
body.td-auth-open #auth .auth-card-head{position:relative;padding-right:38px}
.td-auth-close{position:absolute;right:15px;top:14px;z-index:5;width:32px;height:32px;border:1px solid #dce5ef;border-radius:50%;background:#f7f9fc;color:#26374d;font-size:23px;line-height:1;display:grid;place-items:center;cursor:pointer}
.td-auth-close:hover{background:#eaf2ff;color:#1d4ed8}
body.td-auth-open #auth .auth-card-head .auth-private{margin-right:0}
body.td-auth-open #auth .auth-card-body{padding-top:8px}
@media(max-width:600px){body.td-auth-open #auth.login{padding:14px}body.td-auth-open #auth .auth-card{border-radius:18px;max-height:calc(100dvh - 28px);overflow-y:auto}body.td-auth-open #auth .auth-card-head{padding-top:20px}}


/* ===== Torq Desk unified visual system — homepage to garage ===== */
:root{
 --c-bg:#f3f8ff;--c-soft:#edf5ff;--c-line:#dbe7f5;--c-ink:#10233f;--c-mute:#61738c;
 --c-accent:#1677e8;--c-accent-2:#0b56bf;--c-ok:#16835f;--c-warn:#b7791f;--c-bad:#c43d4b;
 --bg-0:#f3f8ff;--bg-1:#edf5ff;--surface-1:#fff;--surface-2:#f7fbff;--hairline:#dbe7f5;
 --accent-a:#1677e8;--accent-b:#0b56bf;--accent-gradient:linear-gradient(135deg,#38bdf8,#1677e8 58%,#0b56bf);
 --shadow:0 12px 32px rgba(14,56,105,.07);--shadow-soft:0 12px 32px rgba(14,56,105,.07);--shadow-lifted:0 24px 70px rgba(11,42,82,.18);
 --premium-shadow:0 12px 32px rgba(14,56,105,.07);--premium-panel:#fff;--premium-ink:#10233f;--premium-line:#dbe7f5;--premium-soft:#edf5ff;--premium-muted:#61738c;--premium-accent:#1677e8;--premium-accent-soft:#e5f3ff;--premium-deep:#0b1f3a;
 color-scheme:light;
}
html,body{background:#f3f8ff;color:#10233f}
body{background:linear-gradient(180deg,#f6faff 0%,#f1f7ff 100%)}
#app{min-height:100dvh;background:transparent}
#app .top{height:76px;min-height:76px;padding:0 clamp(16px,3vw,38px);background:rgba(255,255,255,.94);border-bottom:1px solid #dbe7f5;box-shadow:0 4px 18px rgba(14,56,105,.04);backdrop-filter:blur(16px)}
#app .brand-logo{display:block;width:174px;max-height:46px;object-fit:contain}
#app .top-actions{gap:12px}
#app #userEmail{color:#61738c;font-weight:600}
#app .layout{min-height:calc(100dvh - 76px);gap:0}
#app .layout>aside{flex:0 0 236px;width:236px;background:linear-gradient(180deg,#102b4e 0%,#0b1f3a 100%);padding:20px 14px;border-right:1px solid rgba(255,255,255,.08)}
#app .layout>aside button{display:flex;align-items:center;gap:10px;min-height:46px;margin:5px 0;padding:12px 13px;border:1px solid transparent;border-radius:12px;color:#d5e6fb;font-weight:600;transition:background .18s,border-color .18s,transform .18s}
#app .layout>aside button:hover{background:rgba(76,169,255,.13);border-color:rgba(125,190,255,.16);transform:translateX(2px)}
#app .layout>aside button.active{background:linear-gradient(110deg,#1677e8,#2399f5);border-color:rgba(255,255,255,.2);color:#fff;box-shadow:0 8px 22px rgba(22,119,232,.22)}
#app .main{max-width:1600px;padding:clamp(20px,3vw,42px);min-width:0}
#app .view{animation:tdViewIn .24s ease both}
@keyframes tdViewIn{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:none}}
#app .hero,#app .toolbar{align-items:center;margin-bottom:24px;gap:16px}
#app .hero h1,#app .toolbar h2{color:#102b4e;font-weight:750;letter-spacing:-.04em}
#app .hero h1{font-size:clamp(28px,3vw,38px)}
#app .toolbar h2{font-size:clamp(23px,2.5vw,30px)}
#app .muted,#app .toolbar p{color:#61738c}
#app .card,#app .glass-panel,#app .glass-stat,#app .doc-archive,#app .doc-col{background:#fff;border:1px solid #dbe7f5;border-radius:18px;box-shadow:0 8px 26px rgba(14,56,105,.045)}
#app .card{padding:clamp(15px,2vw,22px)}
#app .grid,#app .dashboard-grid{gap:16px}
#app .dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
#app .glass-stat{padding:20px;min-width:0}
#app .glass-stat>span,#app .panel-kicker,#app .eyebrow{color:#6483a8!important}
#app .glass-stat b{color:#102b4e!important;font-size:clamp(22px,2.2vw,29px)}
#app .garage-hero{grid-template-columns:1.1fr .85fr .7fr;min-height:230px;padding:clamp(20px,2.5vw,32px);border:1px solid #cfe4ff;border-radius:24px;background:radial-gradient(circle at 72% 20%,rgba(56,189,248,.22),transparent 30%),linear-gradient(120deg,#e8f5ff 0%,#d9edff 48%,#eef8ff 100%);box-shadow:0 14px 36px rgba(19,105,190,.09);color:#102b4e}
#app .garage-hero-info h2{color:#102b4e!important;font-size:clamp(26px,3vw,40px);letter-spacing:-.045em}
#app .garage-hero-info p,#app .garage-hero-info small{color:#536e8c!important}
#app .garage-hero .health-badge{background:#fff;border-color:#d4e5f7;color:#102b4e}
#app .garage-avatar .avatar-car{filter:none}
#app .garage-avatar span{color:#557596!important}
#app .digital-cluster{background:#fff;border:1px solid #cfe4ff;box-shadow:0 8px 22px rgba(20,91,160,.07);border-radius:16px}
#app .digital-cluster span,#app .digital-cluster em{color:#617b98!important}
#app .digital-cluster strong{color:#1677e8!important;text-shadow:none;font-size:clamp(24px,2.5vw,32px)}
#app .dashboard-analytics{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
#app .panel-heading h3,#app .panel-heading h2{color:#102b4e}
#app .spend-bars i{background:linear-gradient(180deg,#38bdf8,#1677e8)!important}
#app .radial-gauge{background:conic-gradient(#1677e8 var(--gauge,0%),#e2edf9 0)!important}
#app .radial-gauge>div{background:#fff!important}
#app .timeline-event{background:#f8fbff!important;border:1px solid #dbe7f5!important;border-radius:14px!important}
#app .timeline-event:hover{background:#edf6ff!important}
#app .timeline-node{background:#1677e8!important}
#app .maintenance-timeline:before{background:#dbe7f5!important}
#app .table th{color:#61738c;background:#f2f7fd}
#app .table td{color:#243b59}
#app .table th,#app .table td{border-bottom-color:#e4edf8}
#app input,#app select,#app textarea,#app .field input,#app .field select,#app .field textarea{border-color:#d4e1f0;background:#fff;color:#10233f;border-radius:11px}
#app input:focus,#app select:focus,#app textarea:focus{border-color:#38a5f5;box-shadow:0 0 0 3px rgba(56,165,245,.16)}
#app button.primary,#app .primary{background:linear-gradient(135deg,#2398f4,#1269d3);border-color:#1677e8;color:#fff;box-shadow:0 5px 14px rgba(22,119,232,.16);transition:transform .18s,box-shadow .18s,filter .18s}
#app button.primary:hover,#app .primary:hover{filter:brightness(1.04);box-shadow:0 8px 20px rgba(22,119,232,.22);transform:translateY(-1px)}
#app button.ghost,#app .ghost{background:#fff;color:#1769c5;border:1px solid #cfe0f3;transition:background .18s,border-color .18s}
#app button.ghost:hover,#app .ghost:hover{background:#edf6ff;border-color:#9fcdf8}
#app button.danger,#app .danger{background:#fff;color:#bd3546;border-color:#f0c8ce}
#app .service-item-row{background:#f6faff!important;border:1px solid #dbe7f5!important;border-radius:12px!important}
#app .service-item-detail{border-top-color:#dbe7f5!important}
#app .doc-col{background:#f7fbff;border-color:#dbe7f5}
#app .doc-row{border-color:#dbe7f5;border-radius:13px}
#app .doc-row.active{border-color:#b6e4d0;background:#f1fbf7}
#app .doc-row.soon{border-color:#f3d89c;background:#fffbef}
#app .doc-row.expired{border-color:#f2c3ca;background:#fff5f6}
#app .doc-icon{background:#e8f4ff;color:#1769c5}
#app .doc-archive{border-color:#dbe7f5}
#app .doc-archive summary span{background:#e5f2ff;color:#1769c5}
#app .doc-popup,#app .doc-upload-card,#app .edit-modal-card{border-color:#dbe7f5;box-shadow:0 24px 80px rgba(11,42,82,.2);border-radius:20px}
#app .doc-popup-icon{color:#1677e8}
#app .mobile-nav{border-top:1px solid #dbe7f5;background:rgba(255,255,255,.96);box-shadow:0 -8px 24px rgba(14,56,105,.07);backdrop-filter:blur(16px)}
#app .mobile-nav button{color:#61738c}
#app .mobile-nav button.active{color:#1677e8}
#app .mobile-car-tab{color:#102b4e}
#app .side-drawer{background:linear-gradient(180deg,#102b4e,#0b1f3a)!important;border-right:1px solid rgba(255,255,255,.12)!important;color:#fff!important}
#app .drawer-head h3,#app .drawer-brand h3{color:#fff!important}
#app .drawer-kicker{color:#78c8ff!important}
#app .drawer-link{color:#e3efff!important;border-color:transparent!important}
#app .drawer-link b{color:#fff!important}
#app .drawer-link span,#app .drawer-link em{color:#aac8e8!important}
#app .drawer-link:hover,#app .drawer-link.active{background:rgba(35,152,244,.18)!important;border-color:rgba(123,196,255,.28)!important}
#app .drawer-link.active{box-shadow:inset 3px 0 #38bdf8}
#app .drawer-car,#app .drawer-utility{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.15)!important;color:#fff!important}
#app .drawer-car b,#app .drawer-utility{color:#fff!important}
#app .drawer-car small,#app .drawer-secure{color:#aac8e8!important}
#app .drawer-close{color:#fff!important}
.md-app-footer{background:#fff!important;border-top:1px solid #dbe7f5!important}
.md-app-footer .md-footer-links button,.md-app-footer .md-footer-links a{color:#456583!important}
.md-app-footer .md-footer-made{color:#61738c!important}
#appLoadingOverlay{background:#f4f9ff!important;color:#10233f!important}
.app-loading-brand{color:#102b4e!important}
.app-loading-brand-mark{background:linear-gradient(135deg,#38bdf8,#1677e8)!important}
.app-loading-brand-name i{color:#1677e8!important}
.app-loading-hills{background:#e3f2ff!important}
.app-loading-hills:after{background:#d1e9ff!important}
.app-loading-road{border-color:#c8def4!important;background:#eaf5ff!important;box-shadow:0 15px 30px rgba(22,119,232,.08)!important}
.app-loading-road:before{background:#e1f1ff!important}
.app-loading-road-markings span{background:#9bc8f2!important}
.app-loading-finish{background:#1677e8!important}
.app-loading-ground-shadow{background:rgba(22,119,232,.13)!important}
.loading-car-svg .car-body{fill:#1677e8!important}.loading-car-svg .car-roof{fill:#0b56bf!important}.loading-car-svg .car-window{fill:#d9f1ff!important}.loading-car-svg .car-trim{fill:#b8dfff!important}.loading-car-svg .car-wheel{fill:#102b4e!important}.loading-car-svg .car-hub{fill:#a8d5fb!important}
.app-loading-progress-track{background:#e1edf9!important;border-color:#d3e4f6!important}
.app-loading-progress-fill{background:linear-gradient(90deg,#38bdf8,#1677e8)!important}
.app-loading-percent,.app-loading-title{color:#102b4e!important}.app-loading-sub{color:#61738c!important}
/* Auth overlay inherits the same Torq Desk blue language. */
#auth.login{background:rgba(7,22,43,.62);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
#auth .auth-card{border-color:#dbe7f5;box-shadow:0 24px 80px rgba(7,38,78,.2)}
#auth .auth-card :is(h1, h2.auth-title){color:#102b4e}
#auth .auth-kicker{color:#1d4ed8}
#auth .auth-field input:focus{border-color:#1677e8!important;box-shadow:0 0 0 3px rgba(22,119,232,.14)!important}
#auth .auth-field.is-valid input{border-color:#87c9f5!important}
#auth .auth-feature-icon{color:#1677e8;border-color:#cfe4fb}
#auth .auth-story h2 span{color:#1677e8}
#auth .auth-car-line{stroke:#1677e8}
#auth .auth-car-window-line{stroke:#75bdf5}
#auth .auth-car-wheel{stroke:#1677e8}
#auth .auth-submit{background:linear-gradient(135deg,#2398f4,#1269d3)!important;border-color:#1677e8!important;color:#fff!important}
#auth .auth-switch{color:#1769c5!important;border-color:#cfe0f3!important}
#auth .auth-switch:hover{background:#edf6ff!important}
#auth .auth-private span{color:#047857}
#auth .auth-strength.s1 .auth-strength-bar i:nth-child(1),#auth .auth-strength.s2 .auth-strength-bar i:nth-child(-n+2),#auth .auth-strength.s3 .auth-strength-bar i{background:#1677e8}
#auth .auth-mobile-tab:hover,#auth .auth-mobile-tab.is-active{border-color:#1677e8;background:#1677e8}
#auth .auth-verification-icon{background:#eff6ff;color:#1d4ed8}
#app .md-info-mark{background:linear-gradient(135deg,#38bdf8,#1677e8)!important}
#app .md-info-panel{border-color:#dbe7f5}
#app .md-info-tabs button.active{color:#1677e8;border-color:#1677e8}
#app .md-info-bottom{color:#61738c}
@media(max-width:900px){
 #app .layout>aside{flex-basis:205px;width:205px;padding:14px 10px}
 #app .main{padding:22px 18px}
 #app .garage-hero{grid-template-columns:minmax(0,1fr) minmax(130px,.7fr);gap:14px}
 #app .digital-cluster{grid-column:1/-1;justify-self:stretch;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px}
}
@media(max-width:760px){
 #app .top{height:66px;min-height:66px;padding:0 14px}
 #app .brand-logo{width:148px}
 #app .layout{min-height:calc(100dvh - 66px)}
 #app .layout>aside{display:none}
 #app .main{padding:18px 14px 94px}
 #app .hero{align-items:flex-start}
 #app .hero>div:last-child{justify-content:flex-start!important}
 #app .dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 #app .dashboard-analytics{grid-template-columns:1fr}
 #app .garage-hero{grid-template-columns:minmax(0,1fr) minmax(100px,.55fr);padding:18px;gap:12px;border-radius:18px}
 #app .garage-avatar .avatar-car{font-size:58px}
 #app .digital-cluster{grid-column:1/-1;padding:13px 15px}
 #app .mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:9000;padding-bottom:env(safe-area-inset-bottom)}
 #app .mobile-nav button{min-height:56px}
 .md-app-footer,
 body:has(#app:not(.hidden)) .md-app-footer{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
}
@media(max-width:420px){
 #app .main{padding:14px 10px 90px}
 #app .dashboard-stats{gap:9px}
 #app .glass-stat{padding:14px}
 #app .glass-stat b{font-size:22px!important}
 #app .garage-hero{grid-template-columns:minmax(0,1fr) 90px;padding:14px}
 #app .garage-hero-info h2{font-size:24px!important}
 #app .garage-avatar .avatar-car{font-size:48px}
 #app .digital-cluster strong{font-size:24px!important}
 #app .toolbar-actions,#app .doc-toolbar-actions{width:100%;display:flex;flex-wrap:wrap}
 #app .toolbar-actions button,#app .doc-toolbar-actions button{flex:1 1 auto}
 #app .form{grid-template-columns:minmax(0,1fr)}
 #app .itemgrid{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:0.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.001ms !important;
    scroll-behavior:auto !important;
  }
}


/* High-specificity component overrides: supersede legacy dashboard theme rules. */
#dashboard#dashboard.active .garage-hero{
 background:radial-gradient(circle at 72% 20%,rgba(56,189,248,.22),transparent 30%),linear-gradient(120deg,#e8f5ff 0%,#d9edff 48%,#eef8ff 100%)!important;
 border:1px solid #cfe4ff!important;box-shadow:0 14px 36px rgba(19,105,190,.09)!important;color:#102b4e!important;border-radius:24px!important
}
#dashboard#dashboard.active .garage-hero-info h2{color:#102b4e!important}
#dashboard#dashboard.active .garage-hero-info p,#dashboard#dashboard.active .garage-hero-info small{color:#536e8c!important}
#dashboard#dashboard.active .garage-hero .health-badge{background:#fff!important;border-color:#d4e5f7!important;color:#102b4e!important}
#dashboard#dashboard.active .garage-avatar span{color:#557596!important}
#dashboard#dashboard.active .digital-cluster{background:#fff!important;border:1px solid #cfe4ff!important;box-shadow:0 8px 22px rgba(20,91,160,.07)!important}
#dashboard#dashboard.active .digital-cluster strong{color:#1677e8!important;text-shadow:none!important}
#dashboard#dashboard.active .digital-cluster span,#dashboard#dashboard.active .digital-cluster em{color:#617b98!important}
#dashboard#dashboard.active .glass-panel,#dashboard#dashboard.active .glass-stat{background:#fff!important;border:1px solid #dbe7f5!important;box-shadow:0 8px 26px rgba(14,56,105,.045)!important;border-radius:18px!important;backdrop-filter:none!important}
#dashboard#dashboard.active .glass-stat b,#dashboard#dashboard.active .digital-cluster strong{color:#102b4e!important;text-shadow:none!important}
#dashboard#dashboard.active .glass-stat b.ok,#dashboard#dashboard.active .health-badge.ok,#dashboard#dashboard.active .health-badge.ok *{color:#16835f!important}
#dashboard#dashboard.active .glass-stat b.warn,#dashboard#dashboard.active .health-badge.warn,#dashboard#dashboard.active .health-badge.warn *{color:#b7791f!important}
#dashboard#dashboard.active .glass-stat b.danger,#dashboard#dashboard.active .glass-stat b.bad,#dashboard#dashboard.active .health-badge.danger,#dashboard#dashboard.active .health-badge.danger *{color:#c43d4b!important}
#dashboard#dashboard.active .spend-bars i{background:linear-gradient(180deg,#38bdf8,#1677e8)!important}
#dashboard#dashboard.active .radial-gauge{background:conic-gradient(#1677e8 var(--gauge,0%),#e2edf9 0)!important}
#dashboard#dashboard.active .timeline-event{background:#f8fbff!important;border-color:#dbe7f5!important}
#dashboard#dashboard.active .timeline-event:hover{background:#edf6ff!important}
#dashboard#dashboard.active .timeline-node{background:#1677e8!important}
#dashboard#dashboard.active .maintenance-timeline:before{background:#dbe7f5!important}
#dashboard#dashboard.active .panel-heading h3,#dashboard#dashboard.active .panel-heading h2{color:#102b4e!important}
#dashboard#dashboard.active .garage-hero::before,#dashboard#dashboard.active .garage-hero::after{display:none!important}
#app .md-site-footer{color:#61738c}


/* Footer information links must navigate directly to real pages; never depend on modal JS. */
.td-footer nav{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.td-footer nav a{display:inline-flex;align-items:center;min-height:34px;padding:8px 11px;border-radius:999px;color:#526a7d;background:transparent;text-decoration:none;font-size:11px;font-weight:700;line-height:1.3;transition:background .18s,color .18s}
.td-footer nav a:hover,.td-footer nav a:focus-visible{background:#edf7fd;color:#1479b5;outline-offset:3px}
.md-footer-links a{display:inline-flex;align-items:center;text-decoration:none;cursor:pointer}

/* Phase 1: public homepage navigation drawer. */
@media(max-width:900px){.td-nav-links.is-open{display:flex!important;position:absolute;top:68px;left:0;right:0;z-index:10001;flex-direction:column;align-items:stretch;gap:0;padding:14px 20px 20px;background:#fff;border:1px solid var(--c-line);border-radius:0 0 18px 18px;box-shadow:0 18px 35px rgba(11,31,59,.12)}.td-nav-links.is-open a{display:block;padding:12px 4px;color:var(--c-ink);text-decoration:none}.td-mobile-menu{min-width:44px;min-height:44px}}

/* -------------------------------------------------------------------------- */
/* Fleet Scalability (100+ Vehicles) & Vehicle Quick Switcher                */
/* -------------------------------------------------------------------------- */
.fleet-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}
.fleet-title-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.fleet-count-badge {
  display: inline-block !important;
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  vertical-align: middle !important;
  margin-left: 6px !important;
}
.fleet-top-actions {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
.fleet-metrics-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
  padding: 12px 16px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
}
.fleet-filter-chips {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.fleet-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  border: 1px solid #cbd5e1 !important;
  background: #fff !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
}
.fleet-chip:hover {
  border-color: #475569 !important;
  background: #f1f5f9 !important;
}
.fleet-chip.active {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,.25) !important;
}
.fleet-chip.active .chip-count {
  background: rgba(255,255,255,.25) !important;
  color: #fff !important;
}
.chip-count {
  display: inline-block !important;
  padding: 1px 6px !important;
  border-radius: 999px !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
.fleet-chip.chip-warn.active {
  background: #d97706 !important;
  border-color: #d97706 !important;
}
.fleet-search-wrap {
  flex: 1 1 240px !important;
  max-width: 380px !important;
}
.fleet-search-input {
  width: 100% !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  border: 1px solid #cbd5e1 !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 13px !important;
  outline: none !important;
  transition: border-color .15s, box-shadow .15s !important;
}
.fleet-search-input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15) !important;
}
.fleet-pagination-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding: 16px 4px !important;
  margin-top: 14px !important;
  border-top: 1px solid #e2e8f0 !important;
}
.pagination-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.pagination-page-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569 !important;
}
.drawer-car {
  cursor: pointer !important;
  transition: transform .15s ease, border-color .15s ease !important;
}
.drawer-car:hover {
  transform: translateY(-1px) !important;
  border-color: #38bdf8 !important;
}
#mobileCarReg {
  cursor: pointer !important;
  text-decoration: underline dotted !important;
  text-underline-offset: 3px !important;
}
.switcher-dialog {
  background: #fff !important;
  border-radius: 18px !important;
  width: 100% !important;
  max-width: 500px !important;
  max-height: 85vh !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 25px 60px rgba(15,23,42,.25) !important;
  border: 1px solid #dbe7f5 !important;
  overflow: hidden !important;
  animation: switcherPop .2s ease-out !important;
}
@keyframes switcherPop {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
.switcher-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
}
.switcher-search-box {
  padding: 12px 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.switcher-search-box input {
  width: 100% !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 14px !important;
  outline: none !important;
}
.switcher-search-box input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15) !important;
}
.switcher-list {
  overflow-y: auto !important;
  max-height: 55vh !important;
  padding: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.switcher-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
}
.switcher-item:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}
.switcher-item.is-selected {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
}
.switcher-meta {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.switcher-meta b {
  font-size: 14px !important;
  color: #0f172a !important;
}
.switcher-meta small {
  font-size: 12px !important;
  color: #334155 !important;
}
.hsrp-mini {
  padding: 2px 6px !important;
  font-size: 12px !important;
}

