/* v14: one control scale, restrained surfaces and clear action hierarchy. */
:root{--control-radius:10px;--accent-soft:color-mix(in srgb,var(--red) 8%,var(--panel));--elevation:0 14px 45px #0002}
[hidden]{display:none!important}
button,.button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
button,.button,select,input,textarea{font-family:inherit}
button,.button{letter-spacing:0;box-shadow:none}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--red);outline-offset:4px}
.button,.copy-link,.wide-control,.track-controls button,.profile-actions>button,.garage-card-actions button,.garage-card-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--panel);color:var(--text);font-size:13px;font-weight:600;line-height:1.3;text-decoration:none;cursor:pointer;width:auto;margin:0}
.button.red,.submit,.primary{background:var(--red);color:#fff;border:1px solid transparent;border-radius:var(--control-radius);box-shadow:none;font-weight:650}
.button:hover,.copy-link:hover,.wide-control:hover,.garage-card-actions button:hover,.garage-card-actions a:hover{border-color:var(--muted);background:var(--field,var(--bg))}
.button.red:hover,.primary:hover,.submit:hover{background:#dd332b;border-color:transparent;color:#fff}
button:disabled{cursor:not-allowed;opacity:.5}
label{line-height:1.5}
#booking-form label,#car-form label,.account-shell form label,#detail label{display:block}
#booking-form select,#saved-car,.account-shell select,.account-shell input:not([type=checkbox]):not([type=color]),.account-shell textarea,#detail select,#detail textarea,#detail input,.tracking-main select{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:48px;margin:8px 0 0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--field,var(--bg));color:var(--text);font:inherit;font-size:14px;line-height:1.5}
#saved-car,.account-shell select,#detail select,.tracking-main select{appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2389919f' stroke-width='1.7'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
#saved-car option,.account-shell option,#detail option{background:var(--panel);color:var(--text)}
#saved-car{margin-bottom:20px}input[readonly]{color:var(--muted)!important}.account-shell .password-field{align-items:center}.account-shell .password-field input{margin-top:0!important}.account-shell .password-field button{flex:0 0 42px;width:42px;min-height:42px;border:0;background:transparent;border-radius:8px;color:var(--muted);padding:6px;font-size:12px}
/* Public navigation */
.site-header{height:82px;min-height:82px;padding:0 max(24px,calc((100vw - 1320px)/2));gap:24px;flex-wrap:nowrap;z-index:50;background:var(--bg)}
.nav-icon{display:inline-flex;width:16px;height:16px;margin-right:7px;color:var(--muted);transition:color .2s ease,transform .2s ease}
.nav-icon svg{width:100%;height:100%;display:block}
.site-header #site-nav a{display:inline-flex;align-items:center;position:relative}
.site-header #site-nav a:after{content:'';position:absolute;left:0;bottom:6px;width:100%;height:2px;border-radius:2px;background:var(--red);transform:scaleX(0);transform-origin:center;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.site-header #site-nav a:hover:after,.site-header #site-nav a[aria-current=page]:after{transform:scaleX(1)}
.site-header #site-nav a:hover .nav-icon,.site-header #site-nav a[aria-current=page] .nav-icon{color:var(--red);transform:translateY(-1px)}
@media(max-width:980px){.site-header #site-nav a:after{display:none}.nav-icon{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.site-header #site-nav a:after{transition:none}.nav-icon{transition:none}}
/* Social links get their platform icon and a branded hover highlight, wherever they appear. */
.social-icon{display:inline-flex;width:20px;height:20px;flex:0 0 20px;color:var(--muted);transition:color .2s ease,transform .2s ease}
.social-icon svg{width:100%;height:100%;display:block}
.social-link:hover .social-icon,.social-link:focus-visible .social-icon{transform:scale(1.14)}
.social-link.tg:hover,.social-link.tg:focus-visible{color:#2ea6e6}
.social-link.ig:hover,.social-link.ig:focus-visible{color:#d6249f}
.social-link.tg:hover .social-icon,.social-link.tg:focus-visible .social-icon{color:#2ea6e6}
.social-link.ig:hover .social-icon,.social-link.ig:focus-visible .social-icon{color:#d6249f}
.footer-columns .social-link{display:flex;align-items:center;gap:9px}
.social-row a.social-link{position:relative;padding-left:38px}
.social-row a.social-link .social-icon{position:absolute;left:0;top:17px}
@media(prefers-reduced-motion:reduce){.social-icon{transition:none}}
.profile-stats>div.stat{position:relative;padding-right:56px}
.profile-stats .stat-icon{top:16px;right:16px}
/* A bigger, more impressive "car studio" 3D viewer — the interactive showcase model used on
   Home/About/Services/Contact/Booking. Overrides the older, smaller per-breakpoint heights. */
.showcase,.guide-intro .showcase{height:520px}
@media(max-width:1150px){.showcase,.guide-intro .showcase{height:440px}}
@media(max-width:980px){.showcase,.guide-intro .showcase{height:400px}}
@media(max-width:760px){.showcase,.guide-intro .showcase{height:340px}}
@media(max-width:480px){.showcase,.guide-intro .showcase{height:280px}}
.official-brand{gap:10px}.official-brand img{width:48px;height:48px;border-radius:10px}.official-brand>span{font-size:24px}.official-brand small{font-size:8px;letter-spacing:2.5px;margin-top:7px}
.site-header #site-nav{display:flex;align-items:center;justify-content:center;flex:1;gap:24px;position:static;padding:0;margin:0;background:none;border:0;height:auto}
.site-header #site-nav a{font-size:13px;font-weight:500;white-space:nowrap;padding:12px 0}
.site-actions{display:flex;align-items:center;gap:9px;flex-shrink:0;flex-wrap:nowrap}.site-actions>.button{min-height:40px;padding:10px 15px;font-size:12px;white-space:nowrap}.site-actions>.customer-avatar{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:40px;height:40px;min-width:40px;border:1px solid var(--line);border-radius:50%;padding:0;background:var(--panel);color:var(--text)}.customer-avatar>span{display:none}.customer-avatar svg{width:19px;height:19px;color:var(--text)}.site-actions>.theme-button{width:40px;height:40px;min-width:40px;margin:0;border:1px solid var(--line);border-radius:50%;padding:0;background:var(--panel);font-size:19px;color:var(--text)}
.site-actions>.language-switch,.header-right>.language-switch{min-width:58px;width:58px;height:40px;min-height:40px;margin:0;padding:7px;border:1px solid var(--line);border-radius:10px;font-size:12px;background:var(--panel);color:var(--text)}
.site-header .menu-toggle{display:none;width:40px;height:40px;min-width:40px;padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text)}.menu-toggle svg,#refresh svg,.control-icon svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}
.profile-page .site-actions>a[href='/booking']{display:none}
/* Menu actions are secondary to the page's main task. */
.action-menu{position:relative;margin:0;padding:0;border:0;flex-shrink:0}
.action-menu>summary{display:flex;align-items:center;justify-content:center;gap:14px;min-height:42px;list-style:none;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}.action-menu>summary::-webkit-details-marker{display:none}.action-menu>summary:after{content:'⌄';font-size:15px;color:var(--muted)}
.action-menu-items{position:absolute;right:0;top:calc(100% + 8px);z-index:70;min-width:220px;padding:7px;display:grid;gap:4px;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--elevation)}
.action-menu-items>*{width:100%!important;min-height:40px!important;display:flex!important;align-items:center;justify-content:flex-start;padding:10px 12px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--text);font-size:13px!important;text-align:left;margin:0!important}.action-menu-items>*:hover{background:var(--field,var(--bg))!important}.action-menu-items>#logout,.action-menu-items>#account-logout{color:#e05247;border-top:1px solid var(--line)!important;border-radius:0 0 8px 8px!important}
/* Customer profile */
.account-shell{width:min(1160px,calc(100% - 48px));max-width:1160px;margin:30px auto 65px;padding:0}
.profile-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 32px;margin:20px 0;border:1px solid var(--line);border-radius:20px;background:var(--panel);overflow:visible}
.profile-heading:before{content:'';position:absolute;left:0;top:26px;bottom:26px;width:3px;border-radius:3px;background:var(--red)}
.profile-person{gap:18px;min-width:0}.profile-person #profile-avatar{width:64px;height:64px;flex-shrink:0;border-radius:18px;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--red) 18%,var(--line));color:var(--red);font-size:25px;box-shadow:none}.profile-person .eyebrow{font-size:10px;letter-spacing:1.8px}.account-shell #account-greeting{font-size:28px;line-height:1.2;letter-spacing:-.7px;margin:6px 0}.profile-description{font-size:12px;color:var(--muted);margin:6px 0 0}#profile-username{font-size:12px}
.profile-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;max-width:440px}.profile-actions>.button{min-height:42px}.profile-actions .notification-controls{order:2}.profile-actions .action-menu{order:3}
.profile-stats{gap:14px;margin:0 0 32px}.profile-stats>div{border-radius:14px;padding:18px 22px;display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:16px}.profile-stats strong{font-size:28px;font-weight:650;letter-spacing:-1px;min-width:34px}.profile-stats span{font-size:12px;line-height:1.5;max-width:150px}
.email-banner{border-radius:12px;padding:14px 18px;gap:16px;margin-bottom:18px}.email-banner p{font-size:12px;line-height:1.5;margin:4px 0}.email-banner strong{font-size:13px}.email-banner .copy-link{font-size:12px;min-height:36px;padding:8px 12px;flex-shrink:0}
.garage{padding:0;margin:0 0 38px}.garage-heading{margin-bottom:18px;align-items:center}.garage-heading h2{font-size:25px;line-height:1.3;letter-spacing:-.5px;margin:7px 0}.garage-heading .eyebrow{font-size:10px;letter-spacing:1.6px}.garage-heading p{font-size:13px;margin:5px 0}.garage-heading>.button{min-height:40px;font-size:12px;padding:10px 14px}.garage-layout{gap:18px;align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.garage-stage{border-radius:18px;box-shadow:none}#car-preview{height:255px}.garage-preview-label{padding:0 20px 12px;font-size:15px;font-weight:600}.garage-preview-label button{min-height:32px;font-weight:400;font-size:10px}.garage-stage>small{font-size:10px;padding:0 20px 18px}
.garage-card{border-radius:14px;background:var(--panel);margin-bottom:12px}.garage-card.is-selected{border-color:color-mix(in srgb,var(--red) 38%,var(--line));background:var(--panel);box-shadow:inset 3px 0 var(--red)}.garage-select{gap:12px;padding:19px 18px;text-align:left}.garage-select strong{font-size:15px;font-weight:650}.garage-select small{font-size:11px;line-height:1.5}.garage-swatch{box-shadow:none;border:1px solid #8885;width:20px;height:20px;flex-shrink:0}.garage-card-actions{gap:6px;padding:0 18px 17px;display:flex;flex-wrap:wrap}.garage-card-actions>*{min-height:33px;font-size:11px;font-weight:500;padding:7px 10px;border-radius:8px;background:var(--field,var(--bg));border:1px solid var(--line);line-height:1.3}.garage-card-actions>a{color:var(--red);background:var(--accent-soft);border-color:transparent}.garage-card-actions>[data-car-archive]{background:transparent;color:var(--muted)}
.visits-heading{display:flex;align-items:center;justify-content:space-between;margin:32px 0 10px}.visits-heading h2{font-size:25px;letter-spacing:-.5px;margin:6px 0}.visits-heading .eyebrow{font-size:10px;letter-spacing:1.6px}.account-toolbar{border-bottom:1px solid var(--line);padding-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-tabs{display:inline-flex;gap:3px;padding:4px;background:var(--field,var(--bg));border:1px solid var(--line);border-radius:10px}.profile-tabs button{min-height:34px;padding:7px 14px;margin:0;border:0;border-radius:7px;font-size:12px;background:transparent}.profile-tabs button[aria-pressed=true]{background:var(--panel);box-shadow:0 1px 3px #0001;color:var(--text)}#account-refresh{font-size:12px;min-height:36px;padding:8px 12px}#account-sync{font-size:11px;margin:12px 0 18px}
.account-jobs{gap:18px}.account-job{border:1px solid var(--line);border-radius:16px;padding:22px}.account-job h3{font-size:21px;letter-spacing:-.3px;margin:16px 0 6px}.account-job>p{font-size:13px}.account-job-top{align-items:center;gap:10px}.account-job-top>span{font-size:11px;letter-spacing:.8px;color:var(--muted)}.account-job-top strong{font-size:11px;font-weight:600;border-radius:20px;padding:6px 11px;background:var(--accent-soft);color:var(--red)}.account-job-top .stage-ready,.account-job-top .stage-collected{color:#27926a;background:color-mix(in srgb,#27926a 10%,var(--panel))}.job-mechanic{display:flex;gap:10px;align-items:center;margin:18px 0;padding:12px 14px;background:var(--field,var(--bg));border-radius:10px}.person-mark{display:grid;place-items:center;width:30px;height:30px;background:var(--panel);border:1px solid var(--line);border-radius:50%;color:var(--muted);font-size:9px}.job-mechanic small,.job-mechanic strong{display:block}.job-mechanic small{font-size:10px;color:var(--muted);margin-bottom:2px}.job-mechanic strong{font-size:13px;font-weight:600}.job-meta{padding:14px 0;margin:14px 0}.job-meta small{font-size:10px}.job-meta strong{font-size:13px}.job-footer .button{font-size:12px;min-height:38px;padding:9px 12px}.job-footer>span{font-size:11px}.profile-bottom{margin-top:25px}.claim-panel,.profile-support{border-radius:14px;padding:20px}.claim-panel summary{font-size:13px}.profile-support .eyebrow{font-size:10px}.profile-support a{font-size:18px}
/* Notifications */
.notification-controls{gap:0;flex-wrap:nowrap}.notification-controls>.notification-open{min-height:42px;padding:10px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;background:var(--panel);border:1px solid var(--line);color:var(--text);font-size:12px;font-weight:500;margin:0}.control-icon{display:inline-flex}.control-icon svg{width:17px;height:17px}.notification-count{font-size:10px;min-width:18px;line-height:18px;height:18px;padding:0 5px;background:var(--accent-soft);color:var(--red);border-radius:6px}.notification-panel{top:calc(100% + 10px);padding:18px;border-radius:16px;background:var(--panel);border:1px solid var(--line);box-shadow:var(--elevation);text-align:left}.notification-panel>.notification-sound{display:flex;justify-content:center;width:100%;margin:12px 0;border-radius:8px;min-height:36px;border:1px solid var(--line);background:var(--field,var(--bg));font-size:12px}.notification-item{padding:12px;border:1px solid var(--line);border-radius:10px;margin-top:8px}.notification-item.unread{border-left:3px solid var(--red);background:var(--accent-soft)}.notification-heading>strong{font-size:14px}.notification-heading button{min-height:30px;border-radius:7px;padding:5px 8px;font-size:10px}
/* Staff workspace */
.polished-admin #admin-view>header{min-height:84px;padding:16px max(24px,calc((100vw - 1400px)/2));align-items:center;gap:20px;flex-wrap:nowrap}.staff-brand{display:flex;align-items:center;gap:24px;min-width:0}.staff-brand .brand{font-size:25px;line-height:1.2;white-space:nowrap}.staff-brand .brand img{width:42px!important;height:42px!important;margin-right:9px!important}.staff-brand .brand small{display:none}#staff-identity{font-size:12px;max-width:220px;overflow-wrap:anywhere;color:var(--text);border-left:1px solid var(--line);padding-left:20px}.header-right{display:flex;align-items:center;gap:8px;max-width:none!important;flex-wrap:nowrap}.header-right>#refresh{display:grid;place-items:center;width:40px;height:42px;min-width:40px;padding:10px;border-radius:10px}.polished-admin #clock{font-size:11px;white-space:nowrap;color:var(--muted);border:1px solid var(--line);padding:9px 12px;border-radius:9px}.polished-admin main{max-width:1400px;margin:auto;padding-top:30px}.polished-admin .title-row{margin-bottom:24px}.title-row h1{font-size:30px;letter-spacing:-.7px;margin:5px 0}.title-row .eyebrow{font-size:10px;letter-spacing:1.5px}#sync-text{font-size:11px}.view-tabs{padding:4px;gap:3px;border-radius:10px;background:var(--panel);border:1px solid var(--line)}.view-tabs button{border:0;border-radius:7px;font-size:12px;padding:8px 14px;min-height:34px}.view-tabs button.selected{background:var(--accent-soft);color:var(--red)}.today-intro h2{font-size:23px;letter-spacing:-.4px}.today-intro p{font-size:12px;margin-bottom:0}.today-intro .eyebrow{font-size:10px;letter-spacing:1.4px}.today-lane{border-radius:14px;padding:14px;background:var(--panel)}.today-lane h3{font-weight:600;font-size:12px;align-items:center}.today-lane h3>span{background:var(--field,var(--bg));color:var(--muted);padding:3px 7px;border-radius:6px;font-size:11px}.today-job{border-radius:11px;padding:14px;background:var(--bg)}.today-job strong{font-size:14px;line-height:1.5}.today-job small{font-size:10px;line-height:1.5}.today-job .next-action{background:var(--panel);color:var(--text);border:1px solid var(--line);font-size:11px;font-weight:500;padding:9px 10px;border-radius:8px;min-height:36px}.today-job .next-action:hover{border-color:var(--red);color:var(--red)}.stage-shortcuts button,.toolbar button,.card-actions button{border-radius:9px}.toolbar{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.toolbar input,.toolbar select{min-height:42px;border-radius:9px;font-size:13px}.toolbar label>span{font-size:11px}.request-card{padding:16px}.request-card h3{font-size:18px}.request-card .card-actions{gap:8px}.card-actions a,.card-actions button{font-size:11px!important}
/* Dialogs and job stages */
#detail{width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:26px;border-radius:18px;border:1px solid var(--line);background:var(--panel);color:var(--text);overflow-y:auto;scrollbar-gutter:stable}
dialog::backdrop{background:#090d16ad;backdrop-filter:blur(4px)}#detail .dialog-top{margin-bottom:14px}#detail h2{font-size:26px;letter-spacing:-.6px;margin:6px 0}#detail h3{font-size:13px;margin:20px 0 7px}#detail-service{font-size:13px;margin:5px 0 18px}#close-detail,#close-scheduling{min-width:34px;width:34px;height:34px;border:1px solid var(--line);padding:5px;border-radius:50%;display:grid;place-items:center;font-size:19px;background:var(--panel);color:var(--text)}#detail-number{font-size:10px;letter-spacing:1.4px}#detail .call-link{display:inline-flex;min-height:36px;padding:8px 12px;border:1px solid var(--line);background:var(--field,var(--bg));color:var(--text);border-radius:8px;font-size:12px;margin:0 0 16px;width:auto}#detail .detail-visit{margin:0;padding:16px 18px;border:1px solid var(--line);background:var(--field,var(--bg));border-radius:12px}#detail .detail-visit strong{font-size:19px}#detail .detail-visit span{font-size:10px}#detail .detail-visit small{font-size:11px}#detail-comment{font-size:13px;line-height:1.65;margin:7px 0}#detail-created{font-size:10px;margin:8px 0 18px}#assigned-resources{font-size:12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;line-height:1.6}
.status-editor{border:1px solid var(--line);background:var(--field,var(--bg));border-radius:12px;padding:16px;margin:18px 0}.status-editor #current-stage{display:inline-block;padding:5px 9px;border-radius:6px;background:var(--accent-soft);color:var(--red);font-size:11px;margin:0 0 12px}.status-editor[data-stage=collected] #current-stage,.status-editor[data-stage=ready] #current-stage{background:#2b916522;color:#69bda0}#detail .status-editor label{margin:0;font-size:12px;color:var(--muted)}#detail .status-editor select{background-color:var(--panel);color:var(--text);font-size:14px;margin-top:6px;min-height:46px}#detail #stage-help{font-size:11px;line-height:1.7;margin:12px 0 0;color:var(--muted)}#detail label{font-size:12px;font-weight:500}#detail textarea{min-height:90px;resize:vertical;font-size:13px}#detail .operation-section{padding:14px;border:1px solid var(--line);border-radius:10px;margin-top:14px;background:transparent}#detail summary{font-size:12px;font-weight:500;line-height:1.6}#detail #save-detail{position:static;bottom:auto;z-index:auto;box-shadow:none;display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;padding:12px 16px;margin:16px 0 22px;border-radius:10px;font-size:13px}#detail-error:empty{display:none}#detail-error{font-size:12px;padding:10px 0;line-height:1.6}#staff-dialog,#scheduling-dialog,.garage-dialog{border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--text);padding:26px}.staff-dialog h2{font-size:25px}.staff-row{font-size:13px}.staff-row button{min-height:34px;border-radius:8px}.staff-fields{margin:18px 0}.staff-fields input,.staff-fields select{min-height:44px;border-radius:9px}.staff-fields label{font-size:12px}#staff-create-submit,#staff-reset-form .primary{font-size:13px;min-height:44px}.event-list li{padding:0 0 20px 20px;border-color:var(--line)}.event-list time{font-size:10px}.event-list p{font-size:12px;line-height:1.7}.track-mechanic{padding:12px 15px;border:1px solid var(--line);border-radius:10px}.track-mechanic small,.track-mechanic strong{display:block}.track-mechanic small{font-size:11px;color:var(--muted)}.track-mechanic strong{font-size:15px}.tracking-card{border-radius:16px}.stage-label{font-size:14px;font-weight:600;padding:12px 15px;border-radius:10px}.tracking-card .track-controls button{min-height:40px;font-size:12px}
.guide-service summary{transition:background-color .18s ease,padding-left .18s ease}.guide-service summary:hover{background:var(--accent-soft);padding-left:12px}
.polished-admin .reveal{opacity:1;transform:none}.polished-admin.motion-ready .reveal{opacity:0;transform:translateY(16px);transition:opacity .5s,transform .5s}.polished-admin.motion-ready .reveal.visible{opacity:1;transform:none}@media(prefers-reduced-motion:reduce){.polished-admin.motion-ready .reveal{opacity:1;transform:none}}
.contact-details{position:relative;padding-left:22px}
.contact-details:before{content:'';position:absolute;left:0;top:6px;bottom:6px;width:2px;background-image:repeating-linear-gradient(to bottom,var(--red) 0 8px,transparent 8px 18px);background-size:2px 18px;animation:contact-line-flow 1.8s linear infinite}
@keyframes contact-line-flow{to{background-position:0 -18px}}
@media(prefers-reduced-motion:reduce){.contact-details:before{animation:none}}
@media(max-width:600px){.contact-details{padding-left:16px}}
.tour-line{width:100%;height:20px;display:block;margin-bottom:-6px}
.tour-line-base{stroke:var(--line)}
.tour-line-flow{stroke:var(--red);stroke-dasharray:8 10;animation:route-flow 2.5s linear infinite}
.tour-dot{fill:var(--red)}
@media(max-width:760px){.tour-line{display:none}}
@media(prefers-reduced-motion:reduce){.tour-line-flow{animation:none}}
.guide-service-name{display:flex;align-items:center;gap:16px}
.service-glyph{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:12px;background:var(--accent-soft);color:var(--red);transition:transform .2s ease}
.service-glyph svg{width:26px;height:26px;overflow:visible;display:block}
.guide-service summary:hover .service-glyph{transform:scale(1.08)}
.guide-service[open] .service-glyph{background:var(--red);color:#fff}
.glyph-spring{transform-origin:12px 12px;animation:glyph-spring-move 1.8s ease-in-out infinite}
@keyframes glyph-spring-move{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.68)}}
.glyph-piston{animation:glyph-piston-move 1.1s ease-in-out infinite}
@keyframes glyph-piston-move{0%,100%{transform:translateY(0)}50%{transform:translateY(5.5px)}}
.glyph-scanline{animation:glyph-scan-move 1.6s ease-in-out infinite}
@keyframes glyph-scan-move{0%{transform:translateY(0);opacity:.4}50%{opacity:1}100%{transform:translateY(11px);opacity:.4}}
.glyph-bolt{transform-origin:12px 12px;animation:glyph-bolt-pulse 1.4s ease-in-out infinite}
@keyframes glyph-bolt-pulse{0%,100%{opacity:.55;transform:scale(.94)}50%{opacity:1;transform:scale(1)}}
.glyph-sheen{transform-origin:12px 12px;animation:glyph-sheen-spin 2.4s linear infinite}
@keyframes glyph-sheen-spin{to{transform:rotate(360deg)}}
.glyph-drop{animation:glyph-drop-fall 2.2s ease-in infinite}
.glyph-drop.d2{animation-delay:.5s}
.glyph-drop.d3{animation-delay:1s}
@keyframes glyph-drop-fall{0%{transform:translateY(-2px);opacity:0}30%{opacity:1}100%{transform:translateY(4px);opacity:0}}
.glyph-star{transform-origin:center;animation:glyph-star-twinkle 1.6s ease-in-out infinite}
.glyph-star.s2{animation-delay:.4s}
.glyph-star.s3{animation-delay:.9s}
@keyframes glyph-star-twinkle{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}
.glyph-tint{animation:glyph-tint-pulse 2.4s ease-in-out infinite}
@keyframes glyph-tint-pulse{0%,100%{opacity:.12}50%{opacity:.4}}
.glyph-bubble{animation:glyph-bubble-rise 2s ease-in infinite}
.glyph-bubble.b2{animation-delay:.4s}
.glyph-bubble.b3{animation-delay:.8s}
@keyframes glyph-bubble-rise{0%{transform:translateY(0);opacity:0}30%{opacity:1}100%{transform:translateY(-6px);opacity:0}}
.glyph-dent{transform-origin:12px 12px;animation:glyph-dent-pop 2s ease-in-out infinite}
@keyframes glyph-dent-pop{0%,100%{transform:scale(1)}50%{transform:scale(.68)}}
.glyph-weld{stroke-dasharray:4 6;animation:route-flow 1.6s linear infinite;opacity:.85}
@media(max-width:600px){.service-glyph{width:38px;height:38px;flex:0 0 38px;border-radius:10px}.service-glyph svg{width:22px;height:22px}.guide-service-name{gap:12px}}
@media(prefers-reduced-motion:reduce){.service-glyph *{animation:none!important}}
.guide-nav{position:relative}
.guide-nav-indicator{position:absolute;bottom:-1px;left:0;height:2px;background:var(--red);transition:transform .32s ease,width .32s ease,opacity .2s ease;pointer-events:none;opacity:0}
.guide-nav a.active{color:var(--red)}
.guide-nav a.active span{color:var(--red)}
@media(prefers-reduced-motion:reduce){.guide-nav-indicator{transition:opacity .2s ease}}
.column-heading h2{display:flex;align-items:center;gap:8px}.column-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:var(--accent)}
.stat{transition:transform .18s ease,border-color .18s ease}.stat:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent,var(--red)) 40%,var(--line))}.stat-icon{position:absolute;top:18px;right:18px;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:color-mix(in srgb,var(--accent,var(--red)) 14%,transparent);color:var(--accent,var(--red))}.stat-icon svg{width:18px;height:18px}
@keyframes hero-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes hero-photo-in{from{opacity:0;transform:scale(1.06);clip-path:inset(0 0 100% 0)}to{opacity:1;transform:scale(1);clip-path:inset(0 0 0% 0)}}
@keyframes hero-sweep{from{transform:translateX(-60%) skewX(-15deg)}to{transform:translateX(320%) skewX(-15deg)}}
.home-hero .kicker{animation:hero-rise .7s .05s ease both}
.home-hero h1{perspective:900px}
.home-hero h1 .hero-line{display:block;transform-origin:50% 100%;animation:hero-line-in .75s cubic-bezier(.2,.8,.2,1) both}
.home-hero h1 .hero-line:nth-child(1){animation-delay:.14s}
.home-hero h1 .hero-line:nth-child(2){animation-delay:.3s}
.home-hero h1 .hero-line:nth-child(3){animation-delay:.46s}
@keyframes hero-line-in{from{opacity:0;transform:rotateX(-65deg) translateY(18px)}to{opacity:1;transform:none}}
.home-hero p{animation:hero-rise .8s .3s ease both}
.home-hero .hero-buttons{animation:hero-rise .8s .42s ease both}
.home-hero .hero-call{animation:hero-rise .8s .52s ease both}
.home-hero .hero-photo{animation:hero-photo-in 1s .22s cubic-bezier(.2,.7,.3,1) both}
.home-hero .hero-photo:after{content:'';position:absolute;top:-30%;left:0;width:26%;height:160%;background:linear-gradient(100deg,transparent,#ffffff26,transparent);animation:hero-sweep 1.1s .95s ease forwards;pointer-events:none;z-index:2}
@media(prefers-reduced-motion:reduce){.home-hero .kicker,.home-hero h1,.home-hero h1 .hero-line,.home-hero p,.home-hero .hero-buttons,.home-hero .hero-call,.home-hero .hero-photo,.home-hero .hero-photo:after{animation:none!important;opacity:1!important;transform:none!important;clip-path:none!important}}
.scan-hover{position:relative;overflow:hidden}
.scan-hover:before{content:'';position:absolute;inset:0;background-image:repeating-linear-gradient(0deg,color-mix(in srgb,var(--red) 10%,transparent) 0 1px,transparent 1px 7px);opacity:0;transition:opacity .25s ease;pointer-events:none;z-index:1}
.scan-hover:after{content:'';position:absolute;top:0;left:-30%;width:22%;height:100%;background:linear-gradient(100deg,transparent,color-mix(in srgb,var(--red) 40%,transparent) 50%,transparent);transform:translateX(-40%);opacity:0;transition:opacity .2s ease;pointer-events:none;z-index:1}
.scan-hover:hover:before{opacity:1}
.scan-hover:hover:after{opacity:1;animation:scan-sweep 1.1s ease-in-out infinite}
@keyframes scan-sweep{from{transform:translateX(-40%)}to{transform:translateX(520%)}}
@media(prefers-reduced-motion:reduce){.scan-hover:hover:after{animation:none;opacity:0}}
.service-summary{border:1px solid #654039;border-radius:12px;overflow:hidden;margin-bottom:4px}
.service-summary .selected-service{border:0;border-radius:0}
.service-summary .duration-panel{margin:0;border-left:0;border-top:1px solid #654039}
.form-group{border:1px solid var(--line);border-radius:14px;padding:14px 16px 4px;margin:18px 0}
.form-group .form-section{margin-top:0}
#booking-form label .field-icon{display:inline-flex;width:14px;height:14px;margin-right:6px;color:var(--muted);vertical-align:-2px}
#booking-form label:focus-within .field-icon{color:var(--red)}
@media(max-width:480px){.form-row{grid-template-columns:1fr}}
.auth-gate{display:flex;flex-direction:column;gap:14px;padding:22px 24px;margin:16px 0 22px;border:1px solid var(--line);border-radius:14px;background:var(--accent-soft)}.auth-gate p{margin:0;font-size:13px;line-height:1.6;color:var(--text)}.auth-gate-actions{display:flex;gap:10px;flex-wrap:wrap}.auth-gate-actions>.button{flex:1;min-width:140px}
@media(max-width:1150px){.site-header{gap:16px;padding:0 24px}.site-header #site-nav{gap:16px}.site-header #site-nav a{font-size:12px}.site-actions{gap:6px}.site-actions>.button{padding:9px 10px}.official-brand>span{font-size:21px}.official-brand img{width:42px;height:42px}.profile-heading{padding:24px}.profile-actions{max-width:330px}.profile-actions>.button{width:auto}.staff-brand{gap:14px}#staff-identity{padding-left:14px;max-width:150px}}
@media(max-width:980px){.site-header{height:74px;min-height:74px;justify-content:space-between}.site-header .menu-toggle{display:grid;place-items:center}.site-header #site-nav{display:none;position:absolute;top:calc(100% + 1px);left:16px;right:16px;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:10px;box-shadow:var(--elevation);height:auto}.site-header #site-nav.open{display:grid;grid-template-columns:1fr 1fr;gap:5px}.site-header #site-nav a{padding:13px;border-radius:8px;font-size:13px}.site-header #site-nav a:after{display:none}.site-header #site-nav a[aria-current=page]{background:var(--accent-soft);color:var(--red)}.profile-actions{max-width:300px}.profile-actions .notification-open>span:not(.control-icon){display:none}.polished-admin #admin-view>header{padding:16px 22px}.staff-brand{align-items:flex-start;flex-direction:column;gap:6px}#staff-identity{border:0;padding:0;font-size:11px;max-width:none}.header-right .notification-open>span:not(.control-icon){display:none}.today-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stats>div{padding:16px}.profile-stats span{font-size:11px}}
@media(max-width:700px){.account-shell{width:calc(100% - 32px);margin:20px auto 40px}.profile-heading{flex-direction:column;align-items:flex-start;padding:22px;gap:20px}.profile-actions{justify-content:flex-start;max-width:none;width:100%;gap:7px}.profile-actions>.button{flex:1}.profile-actions .notification-open{min-width:42px;padding:10px}.profile-person #profile-avatar{width:54px;height:54px;border-radius:15px;font-size:22px}.account-shell #account-greeting{font-size:25px}.profile-stats{gap:8px;margin-bottom:26px}.profile-stats>div{display:flex;flex-direction:column-reverse;align-items:flex-start;gap:6px;padding:13px}.profile-stats strong{font-size:25px}.profile-stats span{font-size:10px;min-height:30px}.garage-heading{flex-direction:row;align-items:flex-start;gap:12px}.garage-heading h2{font-size:21px}.garage-heading p{font-size:11px;max-width:230px}.garage-heading>.button{font-size:11px;padding:9px 11px;max-width:145px;flex-shrink:0}.garage-layout{grid-template-columns:minmax(0,1fr)}#car-preview{height:230px}.garage-preview-label{font-size:14px}.garage-card-actions>*{font-size:11px}.visits-heading h2{font-size:22px}.account-toolbar{flex-direction:row;gap:8px}.profile-tabs button{font-size:11px;padding:7px 10px}#account-refresh{font-size:11px}.account-job{padding:18px}.account-jobs{grid-template-columns:1fr}.job-footer{gap:10px}.job-footer .button{flex:1}.email-banner{flex-direction:column;align-items:flex-start;gap:8px}.profile-bottom{gap:14px}.notification-panel{position:fixed;right:16px;top:86px;width:calc(100vw - 32px);max-height:calc(100dvh - 110px)}.header-right .action-menu>summary{font-size:12px;padding:10px}.polished-admin #admin-view>header{padding:13px 16px;gap:12px}.staff-brand .brand{font-size:22px}.staff-brand .brand img{width:34px!important;height:34px!important}.polished-admin .header-right{gap:6px}.polished-admin main{padding:24px 16px}.today-intro{flex-direction:column;align-items:flex-start;gap:12px}.polished-admin #clock{display:inline-block}.today-intro h2{font-size:22px}.today-columns{grid-template-columns:1fr}.title-row{gap:16px}.title-row h1{font-size:27px}.view-tabs{width:100%}.view-tabs button{flex:1}.polished-admin #refresh{display:none}.header-right>.language-switch{width:52px;min-width:52px}.polished-admin .notification-count{display:none}#detail{padding:20px;max-height:calc(100dvh - 24px)}#detail .status-editor{padding:14px}.garage-dialog,#staff-dialog,#scheduling-dialog{padding:20px}.garage-fields,.staff-fields{grid-template-columns:1fr}.account-shell input,.account-shell select,#detail input,#detail select,#detail textarea{font-size:16px!important}}
@media(max-width:480px){.site-header{padding:0 16px;gap:10px}.official-brand>span{font-size:20px}.official-brand img{width:38px;height:38px}.official-brand small{font-size:7px;letter-spacing:2px}.site-actions{gap:5px}.site-actions .theme-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:36px;min-width:34px;font-size:17px}.site-actions>a[href='/booking'],.site-actions>a[href*='register']{display:none}.site-actions>.button{font-size:11px;padding:8px 9px}.site-actions>.language-switch{width:51px;min-width:51px}.site-actions>.customer-avatar{width:36px;height:36px;min-width:36px}.site-header .menu-toggle{width:36px;min-width:36px;height:36px;padding:8px}.polished-admin #staff-identity{max-width:135px}.staff-brand .brand img{display:none}.polished-admin .header-right{gap:5px}.header-right .action-menu>summary{font-size:11px;padding:9px;gap:5px}.profile-actions .action-menu>summary{font-size:11px;padding:10px}.garage-heading{flex-direction:column}.garage-heading>.button{max-width:none}.garage-heading p{max-width:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

@media(max-width:380px){.site-header .official-brand>span{display:none}.site-header .official-brand img{width:36px;height:36px}.polished-admin .header-right>.language-switch{width:46px;min-width:46px}}
body{--accent-soft:color-mix(in srgb,var(--red) 8%,var(--panel))}
/* Track page: phone link + theme toggle sit together in the header. */
.track-header-actions{display:flex;align-items:center;gap:12px}
.track-header-actions .theme-button{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--text);font-size:18px;cursor:pointer}
/* Touch targets: every tappable control gets at least a 40px (44px for icon buttons) hit area on phones.
   Small links are enlarged with padding, tiny visual controls with an invisible ::after so the design doesn't shift. */
@media(max-width:820px){
  .theme-button,.menu-toggle{min-width:40px;min-height:40px}
  .theme-button,.menu-toggle,.account-nav,.official-brand,#motion{position:relative}
  .theme-button::after,.menu-toggle::after,.account-nav::after,.official-brand::after,#motion::after{content:"";position:absolute;inset:-6px}
  #motion{min-width:40px;min-height:40px}
  .text-link,.footer-columns a,.footer-bottom a{display:inline-flex;align-items:center;min-height:40px}
  .footer-phone{min-height:44px}
  .mini-links a{min-height:44px;display:inline-flex;align-items:center}
  select,.language-select,#lang,.site-actions select{font-size:16px}
}
@media(max-width:820px){input,select,textarea{font-size:16px}}
@media(max-width:820px){
  .site-actions>.language-switch,.header-right>.language-switch,.language-switch{font-size:16px}
  .site-actions .theme-button,.site-header .menu-toggle,.site-actions>.customer-avatar{width:40px;min-width:40px;height:40px;min-height:40px}
  .account-nav{display:inline-flex;align-items:center;min-height:40px;padding:0 8px}
}
@media(max-width:820px){
  .location-call,.contact-strip a{display:inline-flex;align-items:center;min-height:44px}
  .selected-service>a[href="#services"]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
  .map-motion{position:relative}.map-motion::after{content:"";position:absolute;inset:-6px}
}
@media(max-width:820px){.site-actions>.language-switch,.header-right>.language-switch{width:64px;min-width:64px;padding:7px 4px 7px 8px}}
@media(max-width:380px){.polished-admin .header-right>.language-switch{width:58px;min-width:58px}}
@media(max-width:820px){
  .map-motion{min-width:40px;min-height:40px}.map-motion::after{content:none}
  #forgot-password{min-height:44px}
  body>header>.brand,.track-header-actions a{display:inline-flex;align-items:center;min-height:44px}
}
/* Track header: keep the phone number on one line on narrow phones. */
.track-header-actions a[href^="tel"]{white-space:nowrap}
@media(max-width:480px){body>header{padding-left:16px;padding-right:16px;gap:8px}.track-header-actions{gap:8px}.track-header-actions a[href^="tel"]{font-size:13px}}
/* B6: readable micro-labels and remaining tap targets on phones (nothing below 10px, labels at 11px). */
@media(max-width:820px){
  .kicker,.model-label,.photo-top,.map-label,.map-caption,.track-live,.eyebrow,.hero-call span,.service-ribbon span,
  .scene-controls span,.scene-controls button,.social-link span,.stat span,.stat small,.staff-phone-field small{font-size:11px}
  .official-brand small,.ops-logo small{font-size:9px}
  .ops-sidebar nav button{font-size:10px;padding:5px 4px}
  .notification-count{font-size:10px}
  .track-progress li,.service-picker small{font-size:10px}
  #map-motion{min-width:40px;min-height:40px}#map-motion::after{content:none}
  body>p>a[href="/account"],.polished-admin a[target="_blank"][href="/"]{display:inline-flex;align-items:center;min-height:44px}
}
@media(max-width:820px){
  .polished-admin .ops-sidebar nav button{font-size:10px!important;padding:5px 4px}
  .polished-admin .notification-count{font-size:10px!important}
}
