/* Shared finishing layer for public, client and workshop screens.
   Component layouts and state colors stay in their owning stylesheets. */
:root{
 --ui-ink:#20262c;--ui-muted:#59636c;--ui-paper:#f5f5f2;--ui-line:#dce1dd;
 --ui-accent:#b64019;--ui-soft:#fff2ea;--ui-radius:14px;
 --ui-shadow:0 3px 14px rgb(32 38 44 / .045);
}
html{scroll-padding-top:100px}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:where(button,input,select,textarea){font:inherit}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #b64019;outline-offset:4px}
:where(#publicSite,#mechanicApp,#clientPortal) :where(p,li){text-wrap:pretty}
:where(#publicSite,#mechanicApp,#clientPortal) :where(h1,h2,h3){text-wrap:balance}
:where(#publicSite,#mechanicApp,#clientPortal) :where(input,textarea)::placeholder{color:#717a81;opacity:1}
:where(#publicSite,#mechanicApp,#clientPortal) :where(button,a,input,select,textarea){-webkit-tap-highlight-color:rgb(182 64 25 / .12)}

/* Public pages: a quieter hero, consistent section rhythm, legible details. */
#publicSite{--tf-paper:#f5f5f2;--tf-line:#dce1dd;--tf-ink:#20262c;--tf-muted:#535e67;--tf-signal:#b64019;--tf-signal-dark:#953011;--tf-signal-soft:#fff0e7}
#publicSite .tf-nav{height:76px;background:rgb(250 250 248 / .97);border-color:var(--tf-line)}
#publicSite .tf-nav-links a,#publicSite .tf-text-btn{display:inline-flex;align-items:center;min-height:44px}
#publicSite .tf-btn{min-height:44px;border-radius:10px;box-shadow:none}
#publicSite .tf-hero{min-height:660px;padding:64px 0 72px;gap:clamp(32px,5vw,76px);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#publicSite .tf-hero::before{height:100%;top:0;background:#e9ece7;right:-15vw;opacity:.65}
#publicSite .tf-hero h1{font-size:clamp(58px,6.1vw,88px);line-height:.99;letter-spacing:-.065em}
#publicSite .tf-lede{font-size:18px;line-height:1.75;margin-top:26px;max-width:48ch}
#publicSite .tf-trust{gap:12px 20px;margin-top:28px;padding-top:20px}
#publicSite .tf-trust span{font-size:12px;line-height:1.6}
#publicSite .tf-status-stage{min-height:500px}
#publicSite .tf-status-card{border:1px solid #dce1dd;background:#fff;border-radius:18px;box-shadow:0 20px 55px rgb(32 38 44 / .1);padding:24px}
#publicSite .tf-status-glow{display:none}
#publicSite .tf-status-head{gap:12px}
#publicSite .tf-status-head small{font-size:11px;line-height:1.6}
#publicSite .tf-status-pill{font-size:10px;line-height:1.4;white-space:nowrap}
#publicSite .tf-car-art{border-radius:10px}
#publicSite .tf-float-card{box-shadow:0 7px 24px rgb(32 38 44 / .08);border:1px solid #dce1dd;border-radius:12px}
#publicSite .tf-float-top{display:none}
#publicSite .tf-progress button{font-size:9px;min-height:44px}
#publicSite .tf-finding{border-radius:10px}
#publicSite .tf-sec{padding-top:88px;padding-bottom:88px;scroll-margin-top:90px}
#publicSite .tf-sec-head{gap:36px;margin-bottom:36px;align-items:end}
#publicSite .tf-sec-head h2{font-size:clamp(34px,4.3vw,58px);line-height:1.08;max-width:18ch}
#publicSite .tf-sec-head>p{font-size:15px;line-height:1.75}
#publicSite .tf-svc-grid{gap:16px}
#publicSite .tf-svc{border-radius:14px;padding:28px 24px;box-shadow:var(--ui-shadow)}
#publicSite .tf-svc h3{font-size:24px;line-height:1.2}
#publicSite .tf-svc p{font-size:14px;line-height:1.75}
#publicSite .tf-svc button{min-height:44px;font-size:13px}
#publicSite .tf-about{padding-block:76px;gap:36px}
#publicSite .tf-about h2{line-height:1.08;font-size:clamp(34px,4vw,54px)}
#publicSite .tf-final{padding:88px 5vw}
#publicSite .tf-final h2{line-height:1.06;font-size:clamp(38px,5vw,64px)}
#publicSite .tf-foot{padding-block:30px;gap:24px}
#publicSite .tf-foot a{display:inline-flex;align-items:center;min-height:36px;font-size:12px}
#publicSite .tf-foot-legal{font-size:11px;line-height:1.75;color:#b9c2ca}
#publicSite .tf-shop-head{padding-bottom:28px}
#publicSite .tf-shop-head h1{font-size:clamp(38px,4.6vw,64px);line-height:1.08}
#publicSite .tf-shop-rail{border-radius:14px}
#publicSite .tf-car-card{border-radius:14px;border-color:var(--tf-line);box-shadow:var(--ui-shadow);overflow:hidden}
#publicSite .tf-car-card:hover{box-shadow:0 10px 26px rgb(32 38 44 / .09)}
#publicSite .tf-car-body{padding:20px}
#publicSite .tf-car-name{font-size:21px;line-height:1.25}
#publicSite .tf-car-facts{font-size:12px;line-height:1.6}
#publicSite .tf-lhero{border-radius:14px;overflow:hidden}
#publicSite .tf-lrail{background:#fff;border-radius:14px;border:1px solid var(--tf-line);overflow:hidden}
#publicSite .tf-listing h1{line-height:1.2}
#publicSite .tf-lsay{font-size:15px;line-height:1.8}
#publicSite .tf-lsec-sub{font-size:13px;line-height:1.7}
#publicSite .tf-lthumb{border-radius:8px}

/* Workshop: align every desk with the repair workspace. */
#mechanicApp{--bg:#f5f5f2;--panel2:#fafbf9;--line:#dce1dd;--muted:#59636c;--shadow:var(--ui-shadow);--accent-ink:#a23b16}
#mechanicApp .topbar{background:rgb(250 250 248 / .97);box-shadow:none;gap:20px}
#mechanicApp .workspace-nav button{font-size:12px;min-height:44px;padding-inline:12px}
#mechanicApp .brand-sub{font-size:9px;color:#59636c}
#mechanicApp .btn{font-size:12px;min-height:42px;border-radius:9px}
#mechanicApp .btn.primary{background:#b64019;border-color:#b64019;color:#fff}
#mechanicApp .btn.primary:hover{background:#953011;border-color:#953011}
#mechanicApp .text-action{font-size:12px;min-height:36px;color:#a23b16}
#mechanicApp .shell{padding-top:28px}
#mechanicApp :is(.tfo-head,.tfg-head,.wb-head,.inv-head,.tool-library-head){gap:20px;margin-bottom:26px}
#mechanicApp :is(.tfo-head,.tfg-head,.wb-head,.inv-head,.tool-library-head) h2{font-size:clamp(30px,3.6vw,48px);line-height:1.12}
#mechanicApp :is(.tfo-panel,.tfo-tile,.tfo-dest,.tfg-card,.inventory-section,.active-job-card){border-radius:14px;box-shadow:var(--ui-shadow)}
#mechanicApp .tfo-strip{gap:14px}
#mechanicApp .tfo-tile{padding:22px}
#mechanicApp .tfo-n{font-size:38px;font-variant-numeric:tabular-nums;letter-spacing:-.045em}
#mechanicApp .tfo-tile small{font-size:12px;line-height:1.5}
#mechanicApp .tfo-panel>h3{background:#fafbf9;font-size:13px;min-height:52px}
#mechanicApp .tfo-row{padding-block:15px}
#mechanicApp .tfo-row:hover{transform:none;background:#fafbf9}
#mechanicApp .tfo-dest{min-height:110px}
#mechanicApp .tfg-grid{gap:20px}
#mechanicApp .tfg-body{padding:20px}
#mechanicApp .tfg-name{font-size:19px;line-height:1.3}
#mechanicApp .tfg-owner{font-size:12px;line-height:1.6;color:#59636c}
#mechanicApp .tfg-k{font-size:10px;letter-spacing:.04em}
#mechanicApp .tfg-v{font-size:13px;line-height:1.55}
#mechanicApp .tfg-due{font-size:12px;line-height:1.6}
#mechanicApp .wb-col{border-radius:14px;background:#eaede8;padding:12px}
#mechanicApp .wb-card{border-radius:10px;padding:18px;background:#fff;box-shadow:0 2px 5px rgb(32 38 44 / .03)}
#mechanicApp .wb-card h3{line-height:1.3}
#mechanicApp .wb-card p{font-size:13px;line-height:1.6}
#mechanicApp .wb-chip{min-height:40px;border-radius:8px}
#mechanicApp .wb-field select{min-height:40px;font-size:12px}
#mechanicApp .active-job-card{padding:22px}
#mechanicApp .job-vehicle{font-size:21px;line-height:1.3}
#mechanicApp .job-meta{font-size:12px;line-height:1.6}
#mechanicApp .job-repair{line-height:1.6}
#mechanicApp :is(.owned-tool-row,.tool-table-row){min-height:72px}
#mechanicApp .owned-tool-copy{padding:18px}
#mechanicApp .owned-tool-copy>strong{font-size:17px;line-height:1.35}
#mechanicApp .owned-tool-copy p{font-size:13px;line-height:1.65}
#mechanicApp .owned-tool-facts span{font-size:11px;line-height:1.5}
#mechanicApp :is(.tfv-item,.vr-top,.vr-plan,.vr-history){border-radius:14px;overflow:hidden}
#mechanicApp :is(.team-card,.tft-card){border-radius:14px;box-shadow:var(--ui-shadow)}
:where(#mechanicApp,#clientPortal) .vr-say{font-family:"Space Grotesk",system-ui,sans-serif;text-transform:none;font-size:clamp(30px,3.5vw,46px);line-height:1.1;letter-spacing:-.045em}
:where(#mechanicApp,#clientPortal) .vr-do .btn{min-height:44px}

/* Client portal: replace the retired green palette, including literal colors. */
#clientPortal{
 --bg:#f5f5f2;--panel:#fff;--panel2:#f8faf7;--line:#dce1dd;--text:#20262c;--muted:#59636c;
 --accent:#b64019;--ok:#28764b;--warn:#94620a;--danger:#b63c2c;--shadow:var(--ui-shadow);
 --sig:"Space Grotesk",system-ui,sans-serif;--sans:Inter,system-ui,sans-serif;
 font-family:var(--sans);color-scheme:light;
}
#clientPortal .portal-nav{background:rgb(250 250 248 / .97);padding-block:16px;gap:20px}
#clientPortal .public-brand>span{border-radius:50%;background:#20262c;color:#fff}
#clientPortal .public-brand strong{font:700 18px/1.3 var(--sig);text-transform:none;letter-spacing:-.03em}
#clientPortal .portal-shell{width:min(1200px,92vw);padding-top:38px}
#clientPortal .btn{font:600 12px/1.4 var(--sans);text-transform:none;letter-spacing:0;border-radius:9px;min-height:44px;padding:10px 14px;background:#fff}
#clientPortal .btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}
#clientPortal .btn.primary:hover{background:#953011;border-color:#953011}
#clientPortal .btn.ghost:hover{background:#fff0e7}
#clientPortal :is(h1,h2,h3,.mg-name,.mg-nick,.cpm-car-head strong){font-family:var(--sig);text-transform:none;letter-spacing:-.035em;line-height:1.2}
#clientPortal .client-welcome{padding:30px 32px;border:1px solid #303b43;border-radius:16px;background:#20262c}
#clientPortal .client-welcome h1{color:#fff;font-size:clamp(34px,4.8vw,56px);line-height:1.08;text-transform:none;letter-spacing:-.05em}
#clientPortal .client-welcome .eyebrow{color:#ffac89;font-size:10px}
#clientPortal .client-welcome p{color:#cbd4db;font-size:15px;line-height:1.75}
#clientPortal .client-job{border-radius:14px;box-shadow:var(--ui-shadow);padding:26px}
#clientPortal .client-job h3{font-size:26px;line-height:1.2;text-transform:none;letter-spacing:-.035em}
#clientPortal .client-job p,#clientPortal .client-latest-update p{color:#535e67;font-size:14px;line-height:1.75}
#clientPortal .client-progress{background:#e6ebe5;height:5px;margin-block:24px}
#clientPortal .client-update-grid>div{background:#f8faf7;border-radius:10px;padding:16px}
#clientPortal .client-update-grid small{font:600 10px/1.5 var(--sans);letter-spacing:.05em}
#clientPortal .client-update-grid strong{font:600 19px/1.4 var(--sig);font-variant-numeric:tabular-nums}
#clientPortal .client-latest-update{background:#fff4ed;border-radius:0 10px 10px 0;padding:18px}
#clientPortal .client-latest-update small{font-size:10px;letter-spacing:.06em;color:#a23b16}
#clientPortal .status-pill{border-radius:99px;font-size:10px;line-height:1.5;letter-spacing:.04em}
#clientPortal .status-pill.live{background:#eaf4ed;color:#24613e;border-color:#c9ddcf}
#clientPortal :is(.cpm-note,.mg-intro,.mg-note){color:#59636c;line-height:1.75}
#clientPortal :is(.cpm-car,.mg-card,.mg-item,.cp-card){border-radius:14px;box-shadow:var(--ui-shadow);background:#fff}
#clientPortal :is(.cpm-car-head,.mg-item-head){background:#f8faf7}
#clientPortal .mg-card-body{padding:20px;gap:7px}
#clientPortal .mg-name{font-size:18px}
#clientPortal .mg-nick{font-size:20px}
#clientPortal .mg-card:hover{border-color:#bfc8be;box-shadow:0 10px 24px rgb(32 38 44 / .07)}
#clientPortal .mg-flag{border-radius:6px;font-size:10px;letter-spacing:.03em}
#clientPortal .mg-flag:is(.is-overdue,.is-soon,.is-ok){color:#fff}
#clientPortal .mg-empty{border-radius:14px;font:400 14px/1.75 var(--sans);letter-spacing:0;text-transform:none;padding:32px;background:#fff}
#clientPortal .cpm-head h2,#clientPortal .mg-head h2{font-size:clamp(28px,3.5vw,40px);text-transform:none;line-height:1.15;letter-spacing:-.04em}
#clientPortal .cpm-car-head strong{font-size:20px;text-transform:none}
#clientPortal .cpm-state{font:600 10px/1.5 var(--sans);letter-spacing:.03em;border-radius:6px}
#clientPortal :is(.mg-facts div,.mg-check,.mg-hero-photo img){border-radius:9px}
#clientPortal .cp-card-name{color:#20262c;font-family:var(--sig);text-transform:none}
#clientPortal .cp-card-mail{color:#59636c}
#clientPortal .cp-car{background:#f8faf7;color:#46515a;border-color:var(--line);border-radius:8px}
#clientPortal .cp-band h3{font-size:23px;letter-spacing:-.025em}
#clientPortal input,#clientPortal select,#clientPortal textarea{border-radius:8px;color:#20262c;background-color:#fff;border-color:#ced5ce;min-height:42px}
#clientPortal input[type=checkbox]{min-height:0;accent-color:var(--accent)}
#clientPortal .portal-acct #cpInitials{background:#e8ece6;color:#394a3e}

/* Forms and native menus share the same surface and readable field sizing. */
:where(#accessModal,#requestModal,#enquiryModal,#mgAddModal,#addVehicleModal) :is(.tf-sheet,.diagnostic-panel){border-radius:16px;box-shadow:0 24px 80px rgb(20 28 32 / .22)}
:where(#accessModal,#requestModal,#enquiryModal,#mgAddModal,#addVehicleModal) :is(input,select,textarea){font-size:14px;line-height:1.5;border-radius:8px;min-height:44px}
:where(#accessModal,#requestModal,#enquiryModal,#mgAddModal,#addVehicleModal) input[type=checkbox]{min-height:0}
:where(#accessModal,#requestModal,#enquiryModal,#mgAddModal,#addVehicleModal) :is(.tf-b,.tfa-x,.tf-x){min-height:44px}
#mechanicApp select option,#clientPortal select option,#publicSite select option,
#addVehicleModal select option,#mgAddModal select option,#requestModal select option,#accessModal select option{background:#fff;color:#20262c}
#mechanicApp select optgroup,#clientPortal select optgroup,#addVehicleModal select optgroup,#mgAddModal select optgroup{background:#f5f5f2;color:#59636c}
@supports(appearance:base-select){
 #mechanicApp select::picker(select),#clientPortal select::picker(select),#addVehicleModal select::picker(select),#mgAddModal select::picker(select){background:#fff;color:#20262c;border-color:#dce1dd;border-radius:10px;box-shadow:0 12px 36px rgb(32 38 44 / .16)}
 #mechanicApp select option:checked,#clientPortal select option:checked{background:#fff0e7;color:#953011}
}

/* Legal pages use the same typography and a comfortable reading measure. */
body.legal-page{background:#f5f5f2;color:#20262c;font-family:Inter,system-ui,sans-serif;padding:48px 20px}
body.legal-page main{max-width:800px;margin:auto;padding:40px 48px;background:#fff;border:1px solid #dce1dd;border-radius:16px;box-shadow:var(--ui-shadow)}
body.legal-page h1{font-size:clamp(32px,5vw,48px);line-height:1.15;letter-spacing:-.04em;color:#20262c;margin:28px 0 16px}
body.legal-page h2{font-size:21px;line-height:1.3;letter-spacing:-.02em;margin-top:30px;color:#20262c}
body.legal-page p{font-size:15px;line-height:1.85;color:#535e67}
body.legal-page a{color:#a23b16;text-underline-offset:3px}
body.legal-page .legal-warning{background:#fff4df;border-left:3px solid #a57213;padding:16px;border-radius:0 8px 8px 0;color:#775117}

@media(max-width:1100px){
 #mechanicApp .topbar{gap:10px}
 #mechanicApp .workspace-nav button{padding-inline:8px}
 #publicSite .tf-hero{gap:28px}
 #publicSite .tf-status-pill{white-space:normal}
 #publicSite .tf-float-bottom{right:0;bottom:0}
}
@media(max-width:900px){
 #publicSite .tf-hero{grid-template-columns:minmax(0,1fr);padding:44px 0 56px;min-height:0}
 #publicSite .tf-hero-copy{max-width:680px}
 #publicSite .tf-hero h1{font-size:clamp(50px,8vw,76px)}
 #publicSite .tf-status-stage{min-height:0;padding-bottom:20px}
 #publicSite .tf-status-card{width:100%;max-width:620px}
 #publicSite .tf-float-bottom{display:none}
 #publicSite .tf-sec-head{grid-template-columns:1fr;gap:18px}
 #publicSite .tf-sec-head>p{max-width:64ch}
 #publicSite .tf-about{gap:24px}
 #clientPortal .portal-nav{flex-wrap:wrap}
}
@media(max-width:600px){
 html{scroll-padding-top:84px}
 #publicSite .tf-nav{height:68px;gap:10px}
 #publicSite .tf-nav-act{gap:10px}
 #publicSite .tf-nav-act .tf-btn{font-size:12px;padding:10px 12px}
 #publicSite .tf-nav-burger{min-width:44px;min-height:44px}
 #publicSite .tf-nav-menu a{min-height:44px;display:flex;align-items:center}
 #publicSite .tf-hero{padding:36px 0 44px;gap:32px}
 #publicSite .tf-hero h1{font-size:clamp(44px,11vw,62px);line-height:1.03}
 #publicSite .tf-live{font-size:10px;margin-bottom:20px;line-height:1.5}
 #publicSite .tf-lede{font-size:16px;line-height:1.75;margin-top:20px}
 #publicSite .tf-cta{gap:10px;margin-top:24px}
 #publicSite .tf-cta .tf-btn{width:100%;min-height:48px}
 #publicSite .tf-status-card{padding:18px;border-radius:14px}
 #publicSite .tf-status-head strong{font-size:17px;line-height:1.3}
 #publicSite .tf-status-head small{font-size:10px}
 #publicSite .tf-status-pill{font-size:9px;padding:7px 9px}
 #publicSite .tf-status-stage{padding:0}
 #publicSite .tf-car-art{height:190px}
 #publicSite .tf-sec{padding-block:56px}
 #publicSite .tf-sec-head{margin-bottom:26px}
 #publicSite .tf-sec-head h2{font-size:34px;line-height:1.12}
 #publicSite .tf-svc{padding:24px 22px}
 #publicSite .tf-about{padding-block:48px}
 #publicSite .tf-final{padding:56px 5vw}
 #publicSite .tf-foot{padding-block:28px}
 #publicSite .tf-lrail{border-radius:10px}
 #mechanicApp .shell{padding-top:20px}
 #mechanicApp .workspace-nav button{font-size:11px;min-height:48px}
 #mechanicApp .tfo-tile{padding:17px}
 #mechanicApp .tfo-n{font-size:32px}
 #mechanicApp .tfo-tile small{font-size:11px}
 #mechanicApp .tfg-body{padding:18px}
 #mechanicApp .wb-card{padding:16px}
 #mechanicApp .btn{min-height:44px}
 #clientPortal .portal-nav{padding:14px 4vw;gap:12px}
 #clientPortal .public-brand strong{font-size:16px}
 #clientPortal .portal-acct{width:100%;justify-content:space-between;gap:10px}
 #clientPortal .portal-shell{padding-top:22px}
 #clientPortal .client-welcome{padding:24px 22px}
 #clientPortal .client-welcome h1{font-size:36px}
 #clientPortal .client-job{padding:20px 18px}
 #clientPortal .client-job-head{flex-wrap:wrap;gap:14px}
 #clientPortal .client-update-grid{grid-template-columns:1fr}
 #clientPortal .client-update-grid>div{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px}
 #clientPortal .client-update-grid strong{margin:0;font-size:17px}
 #clientPortal .cpm-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:16px}
 #clientPortal .cpm-row>:last-child{grid-column:1/-1}
 #clientPortal :is(input,select,textarea){font-size:16px}
 :where(#accessModal,#requestModal,#enquiryModal,#mgAddModal,#addVehicleModal) :is(input,select,textarea){font-size:16px}
 body.legal-page{padding:20px 12px}
 body.legal-page main{padding:26px 22px;border-radius:12px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 :where(#publicSite,#mechanicApp,#clientPortal) *,
 :where(#publicSite,#mechanicApp,#clientPortal) *::before,
 :where(#publicSite,#mechanicApp,#clientPortal) *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* Today has its own denser component selectors; keep its hierarchy consistent. */
#mechanicApp #overviewSection{--ink:#20262c;--manila:#f5f5f2;--fire:#b64019;--dim:#59636c;--rule:#dce1dd;--flag:#fff0dc;--chip:#fff0e7;background:transparent}
#mechanicApp #overviewSection :is(.tfo-bay,.tfo-panel,.tfo-dest){border:1px solid #dce1dd;border-radius:14px;background:#fff;box-shadow:var(--ui-shadow)}
#mechanicApp #overviewSection .tfo-bay{padding:22px}
#mechanicApp #overviewSection .tfo-head-row h3{font-size:12px;letter-spacing:.08em}
#mechanicApp #overviewSection .tfo-head-row span{font-size:10px;letter-spacing:.03em}
#mechanicApp #overviewSection .tfo-lift{border:1px solid #dce1dd;border-radius:10px;overflow:hidden}
#mechanicApp #overviewSection .tfo-lift:hover,#mechanicApp #overviewSection .tfo-dest:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgb(32 38 44 / .08);border-color:#bfc8be}
#mechanicApp #overviewSection .tfo-lift:focus-visible{outline:3px solid #b64019;outline-offset:3px;box-shadow:none}
#mechanicApp #overviewSection .tfo-lift-head{padding:11px 14px;font-size:10px;letter-spacing:.06em}
#mechanicApp #overviewSection .tfo-lift-head span:last-child{color:#ffca9e}
#mechanicApp #overviewSection .tfo-lift.is-empty{background:#f8faf7;border-color:#dce1dd}
#mechanicApp #overviewSection .tfo-lift.is-empty .tfo-lift-head{background:#eaf0e7;color:#46514a}
#mechanicApp #overviewSection .tfo-lift.is-empty .tfo-lift-head span:last-child{color:#59636c}
#mechanicApp #overviewSection .tfo-lift-meter span{height:5px;border-radius:99px}
#mechanicApp #overviewSection .tfo-chip{border-radius:6px;font-size:10px;letter-spacing:.04em}
#mechanicApp #overviewSection .tfo-curb{border-top:1px dashed #c9d1c7}
#mechanicApp #overviewSection .tfo-btn{border:1px solid #c8d0c6;border-radius:8px;font-size:12px;min-height:42px;letter-spacing:0;text-transform:none}
#mechanicApp #overviewSection .tfo-focus-card{border:1px solid #e7d1ad;border-radius:14px;background:#fff3de;padding:24px}
#mechanicApp #overviewSection .tfo-focus-copy>span{font-size:10px;letter-spacing:.08em;color:#79541d}
#mechanicApp #overviewSection .tfo-focus-copy h3{font-size:25px;line-height:1.2}
#mechanicApp #overviewSection .tfo-focus-card>button{border-radius:8px;min-height:44px;font-size:12px;letter-spacing:0;text-transform:none}
#mechanicApp #overviewSection .tfo-grid{border:1px solid #dce1dd;border-radius:14px;background:#dce1dd;gap:1px;overflow:hidden}
#mechanicApp #overviewSection .tfo-stat{background:#fff;padding:20px}
#mechanicApp #overviewSection .tfo-stat span:last-child{font-size:10px;letter-spacing:.05em}
#mechanicApp #overviewSection .tfo-panel h3{font-size:12px;letter-spacing:.06em}
#mechanicApp #overviewSection .tfo-dest{padding:18px;min-height:94px}
#mechanicApp #overviewSection .tfo-dest-detail{font:400 12px/1.6 Inter,sans-serif;text-transform:none;letter-spacing:0}
#mechanicApp #overviewSection .tfo-odo-row button,#mechanicApp #overviewSection .tfo-panel button.btn{border-radius:8px;border-width:1px;font-size:12px;letter-spacing:0;text-transform:none}
#mechanicApp #boardSection{--b-ink:#20262c;--b-dim:#59636c;--b-dim2:#59636c;--b-fire:#b64019;--b-rule:#dce1dd;--b-soft:#f8faf7}
#mechanicApp #boardSection .wb-col{padding:12px;background:#eaf0e7;border-radius:14px}
#mechanicApp #boardSection .wb-col-head{padding:6px 4px 10px}
#mechanicApp #boardSection .wb-col-head strong{letter-spacing:.06em}
#mechanicApp #boardSection .wb-card{padding:0;border-color:#dce1dd}
#mechanicApp #boardSection .wb-veh{font-size:16px;line-height:1.35}
#mechanicApp #boardSection .wb-chip{min-height:40px;font-size:11px;letter-spacing:.02em}
#mechanicApp #inventorySection .inv-row{border-color:#dce1dd}
#mechanicApp #inventorySection .inv-row-note{color:#59636c;line-height:1.6}
#mechanicApp #inventorySection .inv-desk{gap:18px}
#clientPortal .public-brand .tf-mark{width:24px;height:24px;color:#fff;fill:currentColor}
#publicSite .tf-float-bottom{display:none}
@media(max-width:600px){
 #mechanicApp #overviewSection .tfo-bay{padding:16px}
 #mechanicApp #overviewSection .tfo-dest{min-height:86px}
 #mechanicApp #boardSection .wb-cols{grid-template-columns:minmax(0,1fr);overflow:visible;scroll-snap-type:none}
 #mechanicApp #boardSection .wb-col{min-width:0;min-height:0}
}
/* Shared vehicle records and the client dock also appear outside the workshop. */
:where(#mechanicApp,#clientPortal) .vr-top{min-width:0;border-radius:14px}
:where(#mechanicApp,#clientPortal) :is(.vr-verdict,.vr-shot,.vr-odo-form){min-width:0}
:where(#mechanicApp,#clientPortal) .vr-odo-form label{min-width:0;flex:1}
:where(#mechanicApp,#clientPortal) .vr-odo-form input{min-width:0;max-width:100%;box-sizing:border-box}
:is(#mechanicApp,#clientPortal) .vri-cell.is-empty .vri-v{color:#737b80}
#clientPortal .vr-block{margin-top:18px}
#clientPortal .client-mobile-nav{background:rgb(250 250 248 / .97);border-color:#dce1dd;box-shadow:0 -3px 18px rgb(32 38 44 / .07)}
#clientPortal .client-mobile-nav button{color:#59636c;font-family:Inter,system-ui,sans-serif;font-size:10px;text-transform:none;letter-spacing:0}
#clientPortal .client-mobile-nav button.active{background:#20262c;color:#fff}
@media(max-width:1080px){
 #mechanicApp #boardSection .wb-cols{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;scroll-snap-type:none}
}
@media(max-width:900px){
 #mechanicApp #inventorySection .desk-nav{display:flex;flex-wrap:wrap;overflow:visible;gap:6px}
 #mechanicApp #inventorySection .desk-item{width:auto;min-height:42px;font-size:12px}
}
@media(max-width:600px){
 #mechanicApp #boardSection .wb-cols{grid-template-columns:minmax(0,1fr)}
 :where(#mechanicApp,#clientPortal) .vr-top{grid-template-columns:minmax(0,1fr)}
 #mechanicApp #inventorySection .inv-garage-row{flex-wrap:wrap}
}
#mechanicApp .vehicle-video-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin:18px 0}
#mechanicApp .vehicle-video-form label{display:grid;gap:7px;min-width:0;font-size:12px;color:var(--muted)}
#mechanicApp .vehicle-video-form input{width:100%;min-width:0;padding:10px}
#mechanicApp .vehicle-video-status{font-size:12px;line-height:1.6;color:var(--muted)}
#mechanicApp .vehicle-video-list{display:grid;gap:14px;margin-top:18px}
#mechanicApp .vehicle-video-card{padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}
#mechanicApp .vehicle-video-card h4{margin:0;font-size:16px;overflow-wrap:anywhere}
#mechanicApp .vehicle-video-card p{font-size:12px;color:var(--muted)}
#mechanicApp .vehicle-video-player video{display:block;width:100%;max-height:65vh;margin-top:14px;border-radius:10px;background:#20262c}
@media(max-width:760px){#mechanicApp .vehicle-video-form{grid-template-columns:minmax(0,1fr)}}

/* Expanded VIN sources, shared by both garages. */
.vin-specifications{min-width:0}
.vin-specifications p{color:var(--muted);line-height:1.6}
.vin-spec-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.vin-specifications details{border:1px solid var(--line,#ddd);border-radius:12px;padding:16px;margin-top:14px}
.vin-specifications summary{font-weight:700;cursor:pointer}
.vin-spec-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:0 24px;margin:16px 0}
.vin-spec-row{padding:10px 0;border-bottom:1px solid var(--line,#ddd);min-width:0}
.vin-spec-row dt{font-size:.8rem;color:var(--muted)}
.vin-spec-row dd{margin:4px 0 0;overflow-wrap:anywhere;font-weight:600}
.vin-spec-group{min-width:0}
.vin-specifications code{overflow-wrap:anywhere}
.vin-specifications [data-vin-status]:empty{display:none}

/* Projects: compact navigation followed by the repairs ready to resume. */
#mechanicApp .project-hub{border-top:0;margin:28px 0 56px;padding-top:0}
.project-hub-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
#mechanicApp .project-choice-grid{gap:18px;margin-top:26px}
#mechanicApp .project-choice{padding:24px;border-radius:16px;box-shadow:none;transition:border-color .18s,box-shadow .18s}
#mechanicApp .project-choice:hover{transform:none;box-shadow:0 6px 20px #17211b0a}
#mechanicApp .project-choice:focus-visible,.project-resume-card:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
#mechanicApp .choice-icon{width:32px;height:32px;font-size:11px;border-radius:9px;background:#fff0e5;color:#a5450e}
#mechanicApp .past-choice .choice-icon{background:#eef0ed;color:#525c54}
#mechanicApp .choice-label{font-size:28px;margin-top:20px;letter-spacing:-.035em}
#mechanicApp .choice-copy{min-height:0;margin:10px 0 18px;font-size:14px}
#mechanicApp .choice-preview{border:0;border-top:1px solid #e8e9e4;border-radius:0;background:transparent;padding:16px 0 0}
#mechanicApp .choice-preview strong{font-size:13px}
#mechanicApp .choice-preview small{font-size:12px}
.project-resume-heading{margin:34px 0 16px}
.project-resume-heading h3{font-size:20px;letter-spacing:-.025em;margin:0}
.project-resume-heading p{font-size:14px;color:var(--muted);margin:7px 0 0}
.project-resume-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.project-resume-card{display:flex;flex-direction:column;min-width:0;gap:0;text-align:left;padding:22px;border:1px solid #dedfd9;border-radius:16px;background:#fff;color:var(--text);font:inherit;cursor:pointer;transition:border-color .18s,box-shadow .18s}
.project-resume-card:hover{border-color:var(--accent);box-shadow:0 6px 24px #19251d0a}
.project-resume-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.project-resume-top>span:last-child{font-size:21px;color:var(--muted)}
.project-resume-vehicle{font-size:20px;letter-spacing:-.025em;line-height:1.3;margin:22px 0 7px;overflow-wrap:anywhere}
.project-resume-repair{font-size:13px;color:var(--muted);line-height:1.5}
.project-resume-next{display:block;margin:22px 0;flex:1;padding:14px;border-radius:10px;background:#f6f6f2}
.project-resume-next small{display:block;font-size:9px;font-weight:800;letter-spacing:.1em;color:#6b7069;margin-bottom:7px}
.project-resume-next>span{font-size:13px;line-height:1.5;display:block;overflow-wrap:anywhere}
.project-resume-progress{display:block}
.project-resume-progress>span{display:block;height:5px;border-radius:9px;background:#eceee8;overflow:hidden}
.project-resume-progress i{display:block;height:100%;background:var(--accent);border-radius:9px}
.project-resume-progress small{display:block;margin-top:10px;font-size:11px;color:var(--muted)}
.project-resume-empty{grid-column:1/-1;padding:28px;border:1px dashed #ccd0c7;border-radius:14px;background:#f8f8f4}
.project-resume-empty p{color:var(--muted);margin:8px 0 0;font-size:14px}
#mechanicApp #projectHub .tool-library-entry{margin-top:28px;padding:18px 22px;border-radius:14px;box-shadow:none}
#mechanicApp #projectHub .tool-library-entry strong{font-size:18px}
#mechanicApp #projectHub .tool-library-entry em{font-size:12px}
#mechanicApp #activeJobsSection .active-job-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#mechanicApp #activeJobsSection .active-job-card{min-height:0;padding:22px;display:flex;flex-direction:column;border-radius:16px}
#mechanicApp #activeJobsSection .job-vehicle{font-size:23px;line-height:1.25;margin-top:22px;overflow-wrap:anywhere}
#mechanicApp #activeJobsSection .job-repair{margin:20px 0;flex:1;line-height:1.5}
#mechanicApp #activeJobsSection .job-open{margin-top:0;padding-top:16px;border-top:1px solid #e8e9e4}
#mechanicApp #activeJobsSection .new-job-card{min-height:230px;border-radius:16px}
@media(max-width:1100px){.project-resume-grid,#mechanicApp #activeJobsSection .active-job-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.project-resume-grid,#mechanicApp #activeJobsSection .active-job-grid{grid-template-columns:1fr}#mechanicApp .project-choice-grid{grid-template-columns:1fr;gap:12px}#mechanicApp .project-choice{padding:20px}#mechanicApp .choice-label{font-size:25px;margin-top:14px}.project-hub-actions{width:100%;justify-content:space-between}.project-resume-card{padding:20px}#mechanicApp #projectHub .tool-library-entry{padding:18px}}

/* Client experience: warm surfaces, calm typography and clear repair updates. */
#clientPortal{--bg:#f6f4ef;--panel2:#faf9f6;--line:#e3e2da;background:radial-gradient(ellipse at 100% 0,#f4e4d5 0,transparent 38%),var(--bg)}
#clientPortal .portal-nav{background:rgba(253,252,249,.96);border-bottom:1px solid #e5e2da;padding-block:18px}
#clientPortal .portal-shell{width:min(1120px,92vw);padding-top:36px}
#clientPortal .client-welcome{position:relative;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(230px,1fr);gap:44px;align-items:center;padding:42px;border-radius:24px;background:linear-gradient(120deg,#232b2d,#303c3d);border:1px solid #354344;box-shadow:0 16px 45px #23322c10;overflow:hidden}
#clientPortal .client-welcome h1{font-size:clamp(34px,4.4vw,52px);line-height:1.07;letter-spacing:-.05em}
#clientPortal .client-welcome p{font-size:14px;line-height:1.8;max-width:48ch;margin:18px 0 0;color:#d2d9d7}
#clientPortal .client-welcome .eyebrow{font:600 9px/1.5 var(--sans);letter-spacing:.16em;color:#ffc09e;margin-bottom:18px}
#clientPortal .client-welcome-summary{padding:24px;border:1px solid #657370;border-radius:16px;background:#ffffff08;color:#fff;display:grid;grid-template-columns:1fr 1fr;gap:22px 18px}
#clientPortal .client-summary-label{grid-column:1/-1;color:#d3ded8;font-size:12px}
#clientPortal .client-welcome-summary strong{display:block;font:500 36px/1 var(--sig);letter-spacing:-.04em}
#clientPortal .client-welcome-summary div span{display:block;color:#d3ded8;font-size:11px;margin-top:9px}
#clientPortal .client-welcome-summary>small{grid-column:1/-1;padding-top:15px;border-top:1px solid #586866;color:#d3ded8;font-size:10px}
#clientPortal .client-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:38px 0 18px}
#clientPortal .client-section-heading h2{margin:5px 0 0;font-size:25px;letter-spacing:-.035em}
#clientPortal .client-section-heading .eyebrow{font:600 9px/1.5 var(--sans);letter-spacing:.14em;margin:0;color:#8e512e}
#clientPortal .client-section-heading>span{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:7px 11px;border-radius:99px;white-space:nowrap}
#clientPortal .client-job-list{margin-top:0;gap:22px}
#clientPortal .client-job{padding:28px;border-radius:20px;border-color:#e3e2da;box-shadow:0 4px 18px #202c2404}
#clientPortal .client-job-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}
#clientPortal .client-job-head>div{min-width:0}
#clientPortal .client-job .eyebrow{font:600 9px/1.5 var(--sans);letter-spacing:.14em;margin-bottom:9px;color:#8e512e}
#clientPortal .client-job h3{font-size:25px;line-height:1.25;overflow-wrap:anywhere}
#clientPortal .client-job-head p{margin:8px 0 0;max-width:68ch}
#clientPortal .status-pill{font-family:var(--sans);font-size:10px;letter-spacing:0;text-transform:none;white-space:normal;flex-shrink:0;padding:7px 11px}
#clientPortal .client-progress{height:5px;margin:24px 0;background:#efece4}
#clientPortal .client-progress i{background:#bd5732;border-radius:99px}
#clientPortal .client-update-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#f8f7f3;border:1px solid #ece9e1;border-radius:12px;overflow:hidden}
#clientPortal .client-update-grid>div{background:transparent;border:0;border-right:1px solid #e6e4dc;border-radius:0;padding:18px 20px;min-width:0}
#clientPortal .client-update-grid>div:last-child{border-right:0}
#clientPortal .client-update-grid small{font-size:9px;letter-spacing:.08em;color:#656c66}
#clientPortal .client-update-grid strong{font-size:20px;margin-top:8px;overflow-wrap:anywhere}
#clientPortal .client-latest-update{border-radius:0 12px 12px 0;background:#fff6eb;border-left:3px solid #bd5732;padding:18px 20px;margin-top:22px}
#clientPortal .client-latest-update p{margin-bottom:0}
#clientPortal .client-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:14px}
#clientPortal .client-photo-grid figure{margin:0;min-width:0}
#clientPortal .client-photo-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
#clientPortal .client-photo-grid figcaption{font-family:var(--sans);font-size:11px;text-transform:none;letter-spacing:0;line-height:1.5}
#clientPortal .mg{margin-top:42px;padding-top:32px;border-top:1px solid var(--line)}
#clientPortal .mg-head{align-items:center;gap:24px;margin-bottom:24px}
#clientPortal .mg-head h2,#clientPortal .cpm-head h2{font-size:30px;line-height:1.2}
#clientPortal .mg-intro{font-size:14px;max-width:58ch;margin:12px 0 0}
#clientPortal .mg-list{gap:22px}
#clientPortal .mg-card{border-radius:18px;border-color:#e3e2da;box-shadow:0 4px 18px #202c2404;transition:box-shadow .2s,border-color .2s}
#clientPortal .mg-card:hover{transform:none;border-color:#b58c73;box-shadow:0 10px 24px #202c240c}
#clientPortal .mg-card-photo{background:#edece6}
#clientPortal .mg-card-photo img{aspect-ratio:16/9}
#clientPortal .mg-card-body{padding:22px;gap:8px}
#clientPortal .mg-nick{color:#92502e;font:600 11px/1.4 var(--sans);letter-spacing:.02em}
#clientPortal .mg-name{font-size:21px}
#clientPortal .mg-odo{font:400 12px/1.5 var(--sans);color:var(--muted)}
#clientPortal .mg-card-open{display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:15px;margin-top:12px;font-size:11px;color:#9e441f;font-weight:600}
#clientPortal .mg-card-open>span{font-size:18px}
#clientPortal .mg-flag{font-family:var(--sans);font-size:10px;letter-spacing:0;text-transform:none;border-radius:99px;padding:7px 11px}
#clientPortal .cpm{margin-top:42px;border-color:var(--line)}
#clientPortal .cpm-note{max-width:70ch;font-size:14px}
#clientPortal .cpm-car{border-radius:18px;overflow:hidden;border-color:var(--line)}
#clientPortal .cpm-car-head{padding:22px;background:#faf9f6}
#clientPortal .cpm-history{background:#faf9f6}
@media(max-width:760px){#clientPortal .client-welcome{grid-template-columns:1fr;gap:28px;padding:28px}#clientPortal .client-welcome-summary{gap:16px;padding:20px}#clientPortal .client-welcome-summary>small{display:none}#clientPortal .client-welcome-summary strong{font-size:30px}#clientPortal .client-job-head{flex-direction:column;gap:14px}#clientPortal .client-job{padding:22px}#clientPortal .client-update-grid>div{padding:15px 12px}#clientPortal .client-update-grid strong{font-size:16px}#clientPortal .client-update-grid small{font-size:8px}#clientPortal .client-welcome h1{font-size:38px}#clientPortal .portal-shell{padding-top:24px}}
@media(max-width:400px){#clientPortal .client-welcome{padding:24px}#clientPortal .client-welcome h1{font-size:33px}#clientPortal .client-job{padding:18px}#clientPortal .client-update-grid{grid-template-columns:1fr}#clientPortal .client-update-grid>div{display:flex;align-items:center;justify-content:space-between;gap:14px;border-right:0;border-bottom:1px solid #e6e4dc;padding:12px 14px}#clientPortal .client-update-grid>div:last-child{border-bottom:0}#clientPortal .client-update-grid strong{margin:0}#clientPortal .client-update-grid small{font-size:9px}}

#accessVerification{padding:16px 18px;margin:18px 0;border:1px solid #e5d8c9;border-radius:12px;background:#fff8ef;color:#303832}
#accessVerificationStatus{margin:0 0 8px;font-size:14px;line-height:1.6}
#accessVerification .text-action{padding:6px 0;min-height:44px;text-align:left;color:#a23e1b}
#accessVerification button:disabled{opacity:.55;cursor:wait}

#clientPortal .client-connected>p{font-size:14px;color:var(--muted);line-height:1.6;margin:-6px 0 18px}
#clientPortal .client-connected-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:18px}
#clientPortal .client-connected-grid article{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}
#clientPortal .client-connected-grid .eyebrow{font-size:9px;letter-spacing:.1em}
#clientPortal .client-connected-grid h3{font-size:23px;margin:10px 0 20px;overflow-wrap:anywhere}

/* Opening a client vehicle is a dedicated view below the account bar. */
#clientPortal.is-vehicle-open #clientPortalContent,
#clientPortal.is-vehicle-open #myGarage>.mg-head{display:none!important}
#clientPortal.is-vehicle-open #myGarage{margin-top:0;padding-top:0;border-top:0}
#clientPortal.is-vehicle-open #mgDetail{margin-top:0}
#clientPortal.is-vehicle-open #mgDetail>.back-link{margin-bottom:22px}

#reconEditDialog{width:min(520px,92vw);max-height:90vh;overflow:auto;padding:28px;border:1px solid #deded6;border-radius:18px;background:#fff;color:#20262c;box-shadow:0 24px 80px #0003}
#reconEditDialog::backdrop{background:#15202088;backdrop-filter:blur(4px)}
#reconEditDialog h2{margin:0;font-size:26px}
#reconEditDialog p{font-size:14px;line-height:1.6;color:#59636c}
#reconEditDialog label{display:grid;gap:7px;margin-top:16px;font-size:13px;font-weight:600}
#reconEditDialog input,#reconEditDialog textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #ccd0ca;border-radius:8px;background:#fff;color:#20262c;font:inherit;min-height:44px}
.recon-edit-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}
.recon-edit-actions button{padding:12px 16px;border:1px solid #ddd;border-radius:8px;background:#fff;cursor:pointer}
.recon-edit-actions button[type=submit]{background:#b64019;color:#fff;border-color:#b64019}

.inv-cost-filter{display:flex;align-items:center;gap:14px;margin-bottom:22px;font-size:13px;font-weight:600;flex-wrap:wrap}
.inv-cost-filter select{min-height:44px;max-width:100%;padding:10px 14px;border:1px solid #d9ddd5;border-radius:9px;background:#fff;color:#20262c}
.inv-cost-scope{font-size:12px;color:#59636c;margin-bottom:14px}
.inv-car-cost-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}
.inv-car-cost{padding:22px;text-align:left;background:#fff;border:1px solid #dedfd8;border-radius:14px;color:#20262c;cursor:pointer;min-width:0;font:inherit}
.inv-car-cost:hover{border-color:#b64019}
.inv-car-cost>strong{display:block;font-size:20px;overflow-wrap:anywhere}
.inv-car-cost>span{display:block;color:#59636c;font-size:12px;margin-top:8px}
.inv-car-cost dl{margin:20px 0}
.inv-car-cost dl>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #eeeee8;font-size:12px}
.inv-car-cost dd{margin:0;text-align:right;font-weight:600}
.inv-car-cost em{font-size:12px;color:#a6401b;font-style:normal;font-weight:600}
