/* v62 shared UI: explicit navigation selectors avoid legacy global nav rules. */
html{--visible-height:100dvh;scroll-padding-top:88px}html.light,body.light{color-scheme:light;--bg:#f3f5f8;--panel:#fff;--card:#fff;--text:#182436;--muted:#59677b;--line:#dce3ec;--field:#edf1f6;--soft:#fff1ee;--red:#d9362d}
[hidden]{display:none!important}body.release62{padding-bottom:112px}body.release62:has(#admin-view){padding-bottom:0}
body .compact-header{height:76px;min-height:76px;padding:12px max(20px,5%);gap:14px;display:flex;align-items:center;justify-content:space-between;background:var(--bg);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:55}
.compact-header .official-brand img{width:42px;height:42px}.compact-header .official-brand>span{font-size:24px}.compact-header .official-brand small{font-size:8px}.compact-header .site-actions{display:flex;align-items:center;gap:10px}.compact-header>.brand{font-size:26px}.compact-header .customer-avatar,.compact-header .account-nav,.compact-header #site-nav,.compact-header .menu-toggle{display:none!important}
.site-settings{position:relative}.site-settings>summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:14px;background:var(--panel);cursor:pointer}.site-settings>summary::-webkit-details-marker{display:none}.site-settings svg{width:22px;height:22px}.site-settings-content{position:absolute;right:0;top:54px;width:260px;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:20px;box-shadow:0 16px 55px #0003;z-index:80}.site-settings-content>strong{font-size:14px}.site-settings-content>a{display:flex;justify-content:space-between;align-items:center;min-height:48px;border-top:1px solid var(--line);font-size:14px}.settings-controls{display:flex;gap:12px;margin:16px 0}.settings-controls select,.settings-controls button{min-height:44px;min-width:60px;border:1px solid var(--line);border-radius:12px;background:var(--field);color:var(--text)}
body .app-bottom-nav{position:fixed;z-index:85;top:auto;bottom:18px;left:50%;right:auto;transform:translateX(-50%);display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;width:min(540px,calc(100% - 32px));height:76px;margin:0;padding:6px;border:1px solid var(--line);border-radius:24px;background:var(--panel);box-shadow:0 12px 48px #0003;gap:4px;font-size:11px;isolation:isolate}
body .app-bottom-nav>a{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;color:var(--muted);height:auto;min-width:0;padding:6px 2px;border:0;border-radius:18px;font-size:11px;line-height:1.2;text-decoration:none;font-weight:600;white-space:nowrap;transition:background .18s,color .18s}
.app-bottom-nav .nav-icon{display:grid;place-items:center;width:25px;height:25px;margin:0;background:none!important}.app-bottom-nav svg{width:23px;height:23px}.app-bottom-nav a:after{display:none!important}body .app-bottom-nav a[aria-current=page]{color:var(--red);background:color-mix(in srgb,var(--red) 10%,var(--panel))}body .app-bottom-nav a[data-destination=book]{background:var(--red);color:#fff;box-shadow:0 4px 12px #d9362d25}body .app-bottom-nav a[data-destination=book] .nav-icon{background:none}.nav-unread{position:absolute;top:3px;right:12px;min-width:18px;padding:2px 4px;border-radius:9px;background:var(--red);color:#fff;font-size:10px}.public-mobile-nav,.customer-mobile-nav{display:none!important}
body .account-section-tabs{display:flex;position:static;height:auto;gap:4px;padding:5px;background:var(--panel);border:1px solid var(--line);border-radius:16px;max-width:540px;margin:20px 0 26px}.account-section-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:44px;border:0;border-radius:11px;background:transparent;color:var(--muted);font-size:13px;white-space:nowrap}.account-section-tabs button[aria-current=page]{background:var(--field);color:var(--text);font-weight:700}.account-section-tabs svg{width:18px;height:18px;flex-shrink:0}.account-section-tabs button:focus-visible{outline:2px solid var(--red)}
.account-loading{max-width:620px;margin:50px auto;padding:40px;border:1px solid var(--line);border-radius:24px;background:var(--panel)}.account-loading h1{font-size:26px;line-height:1.25;margin:20px 0 10px}.account-loading p{color:var(--muted);font-size:14px}.loading-mark{display:block;width:36px;height:36px;border:3px solid var(--line);border-top-color:var(--red);border-radius:50%;animation:loading-turn 1s linear infinite}.skeleton-line{height:14px;margin:22px 0;background:var(--field);border-radius:8px;width:95%}.skeleton-line.short{width:60%}@keyframes loading-turn{to{transform:rotate(360deg)}}
body .notification-controls{position:relative;display:flex;gap:8px;align-items:center}body .notification-open{display:inline-flex!important;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);font-size:13px}body .notification-symbol,body .notification-open .control-icon{display:grid;place-items:center;width:23px;height:23px;background:none;color:var(--text)}.notification-controls svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.notification-count{min-width:18px;height:18px;font-size:10px!important}
body .notification-panel{position:fixed!important;top:84px!important;right:20px!important;left:auto!important;bottom:auto!important;width:min(400px,calc(100vw - 32px))!important;max-height:calc(100dvh - 192px);overflow:auto;padding:20px!important;background:var(--panel)!important;color:var(--text);border:1px solid var(--line);border-radius:24px!important;box-shadow:0 24px 80px #0004;z-index:120;isolation:isolate}
.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.notification-heading strong{display:flex;align-items:center;gap:9px;font-size:18px}.notification-heading .notification-close{display:grid;place-items:center;width:40px;height:40px;padding:0;min-width:40px;min-height:40px;font-size:24px;border:1px solid var(--line);border-radius:12px;background:var(--field);color:var(--text)}body .notification-read{min-height:40px;color:var(--text)!important;border-color:var(--line)!important;font-size:11px;background:var(--field)}.notification-panel>small{display:block;color:var(--muted);font-size:12px;margin-bottom:12px}.notice-preferences{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.notice-preferences button,.notification-panel>.notification-sound{min-height:38px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:var(--field);color:var(--muted);font-size:11px}.notification-error:empty{display:none}
body .activity-card{width:100%;display:flex;align-items:flex-start;gap:12px;padding:16px 10px;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--text);text-align:left}.activity-card:hover{background:var(--field)}.activity-avatar,.toast-avatar{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:13px;background:color-mix(in srgb,var(--red) 10%,var(--panel));color:var(--red);font-weight:700}.activity-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.activity-copy>strong{font-size:13px}.activity-copy>span{font-size:13px;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.activity-copy small{font-size:10px;color:var(--muted)}.activity-dot{width:7px;height:7px;margin-top:8px;border-radius:50%;background:transparent;flex-shrink:0}.activity-card.unread .activity-dot{background:var(--red)}.notification-empty{text-align:center;padding:30px 10px}.notification-empty strong{display:block;font-size:16px}.notification-empty p{color:var(--muted);font-size:13px}.empty-bell{display:grid;place-items:center;margin:0 auto 18px;width:56px;height:56px;border-radius:20px;background:var(--field)}.empty-bell svg{width:26px;height:26px}
.message-toasts{position:fixed;right:20px;top:88px;z-index:150;display:flex;flex-direction:column;gap:10px;width:min(380px,calc(100vw - 24px));pointer-events:none}.message-toast{display:flex;align-items:flex-start;gap:4px;padding:12px;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--text);box-shadow:0 12px 40px #0003;pointer-events:auto;animation:notice-in .28s ease-out}.toast-open{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1;border:0;padding:3px;background:none;color:inherit;text-align:left}.toast-open>span:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}.toast-open small{font-size:9px;letter-spacing:1px;color:var(--muted)}.toast-open strong{font-size:14px;overflow-wrap:anywhere}.toast-open span span{font-size:13px;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.toast-dismiss{display:grid;place-items:center;width:36px;min-width:36px;height:36px;padding:0;border:0;border-radius:10px;background:var(--field);color:var(--muted);font-size:22px}@keyframes notice-in{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}
/* Chat uses flow layout: the composer and validation messages never overlap. */
body #booking-chat{width:min(920px,calc(100vw - 28px));height:min(720px,calc(var(--visible-height) - 28px));max-height:calc(var(--visible-height) - 20px);border-radius:24px}.chat-thread{display:flex;flex-direction:column;min-height:0}.chat-head{flex:0 0 auto;height:auto;min-height:82px}.chat-head h2{overflow-wrap:anywhere;font-size:19px}.chat-head button,.chat-inbox-head button{width:44px;height:44px}.chat-head>div{min-width:0}body #chat-list{flex:1;height:auto;min-height:0;overflow:auto;overscroll-behavior:contain}body #chat-form{position:static;inset:auto;display:flex;align-items:flex-end;gap:10px;flex:0 0 auto;height:auto;padding:14px;border-top:1px solid var(--line)}body #chat-form textarea{flex:1;min-width:0;min-height:48px;height:48px;max-height:120px;font-size:16px;padding:12px 14px;line-height:22px;overflow:auto}body .chat-send{flex:0 0 48px;align-self:flex-end;height:48px;border-radius:14px}.chat-send:disabled{opacity:.5}body #chat-error{position:static;margin:0;padding:0 14px 8px;font-size:12px;background:var(--panel);color:var(--red)}#chat-error:empty{display:none}.chat-message{animation:none;max-width:88%;width:fit-content}.chat-message>div{flex-wrap:wrap;gap:4px 12px}.chat-message strong{font-size:12px}.chat-message time{font-size:10px}.chat-message p{font-size:14px}.chat-conversation strong{font-size:14px}.chat-conversation small,.chat-conversation em{font-size:12px}.chat-conversation{padding:14px 12px}.chat-empty p{font-size:13px}.staff-password-field{display:flex;align-items:center;margin-top:7px;background:var(--field);border:1px solid var(--line);border-radius:12px;overflow:hidden}.staff-password-field input{border:0!important;margin:0!important;min-width:0;flex:1}.staff-password-field button{flex:0 0 auto;min-height:44px;border:0;background:none;padding:6px 10px;font-size:11px;color:var(--muted)}
body .button,body .primary,body .submit{border-radius:12px;min-height:46px;transition:background .18s,box-shadow .18s,transform .12s}.button.red,.primary,.submit{box-shadow:0 5px 15px #d9362d18}button:active,.button:active{transform:translateY(1px)}button:disabled{transform:none}input,select,textarea{border-radius:12px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--red);outline-offset:3px}
body.light .account-intro{background:linear-gradient(145deg,#e9edf3,#fff4ee);color:var(--text)}body.light .account-intro p,body.light .account-intro .eyebrow{color:var(--muted)}body.light .account-form-card,body.light .profile-heading,body.light .garage-stage,body.light .tracking-card,body.light .team-card,body.light .staff-workspace,body.light .today-lane{background:var(--panel);color:var(--text)}body.light .account-intro h1,body.light .account-intro h2{color:var(--text)}body.light input,body.light select,body.light textarea{background:var(--field);color:var(--text);border-color:var(--line)}body.light input::placeholder,body.light textarea::placeholder{color:var(--muted)}body.light .ops-sidebar,body.light .polished-admin,body.light #admin-view>header{background:var(--panel);color:var(--text)}body.light .ops-sidebar nav button,body.light .ops-sidebar nav button>span{color:var(--muted)}body.light .ops-sidebar nav button.active{color:var(--red);background:#d9362d0c;border-color:#d9362d30}body.light .ops-logo,body.light .ops-logo:before{color:var(--text)}body.light .team-card strong,body.light .today-job strong,body.light .staff-profile-hero,body.light .staff-profile-grid>section,body.light .staff-profile-stats article{color:var(--text);background:var(--panel)}body.light .staff-avatar,body.light .team-stats article,body.light .staff-form-title,body.light .service-picker label,body.light .team-load{background:var(--field);color:var(--text)}body.light .staff-summary strong,body.light .team-title h2,body.light .staff-form-title h3,body.light .staff-profile-hero h2,body.light .profile-job strong{color:var(--text)}body.light .today-job,body.light .today-empty,body.light #staff-create,body.light #staff-reset-form,body.light #staff-phone-form,body.light .profile-job{background:var(--panel);color:var(--text);border-color:var(--line)}body.light .ops-global-search,body.light .ops-global-search input{background:var(--field);color:var(--text)}body.light .chat-message.mine{background:#fff0ec;border-color:#e9bdb5}body.light .next-action{color:var(--red)}body.light .showcase{background:var(--panel)}
#event-list{padding:0;list-style:none}#event-list li{position:relative;margin:0 0 10px;padding:16px 16px 16px 25px;border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow-wrap:anywhere}#event-list li:before{content:'';position:absolute;left:10px;top:23px;width:5px;height:5px;border-radius:50%;background:var(--red)}#event-list time,#event-list small{color:var(--muted);font-size:12px}.track-controls{gap:10px;flex-wrap:wrap}.track-controls>*{min-height:46px}.staff-buttons{display:flex;gap:8px;flex-wrap:wrap}.staff-buttons button{min-height:44px;flex:1}.staff-contact{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.staff-contact a{overflow-wrap:anywhere}.staff-contact button{min-height:40px;margin-left:auto}.staff-theme{min-width:44px;min-height:44px}.password-hint{color:var(--muted);font-size:12px}
@media(max-width:760px){
 body.release62{padding-bottom:calc(88px + env(safe-area-inset-bottom))}body .compact-header{height:66px;min-height:66px;padding:10px 16px;gap:8px}.compact-header .official-brand{gap:8px}.compact-header .official-brand img{width:36px;height:36px}.compact-header .official-brand>span{font-size:21px}.compact-header .site-actions{gap:8px}.compact-header .notification-open>span:not(.control-icon):not(.notification-symbol){display:none}.compact-header .notification-open{padding:9px;min-width:44px}.site-settings-content{right:0;width:min(270px,calc(100vw - 32px))}
 body .app-bottom-nav{left:0;bottom:0;right:0;transform:none;width:100%;height:calc(74px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);border-radius:0;gap:3px;box-shadow:0 -5px 24px #0000000d}body .app-bottom-nav>a{font-size:10px;gap:4px;border-radius:14px}.app-bottom-nav svg{width:22px;height:22px}.nav-unread{right:4px;top:0}
 .account-shell{padding:0 14px;margin:20px auto}.account-loading{padding:26px;margin:20px 0}.account-loading h1{font-size:23px}body .account-section-tabs{width:100%;max-width:none;margin:16px 0 24px;gap:2px;padding:4px}.account-section-tabs button{font-size:12px;gap:5px}.account-section-tabs svg{width:16px;height:16px}.customer-phone .profile-actions:empty{display:none}.customer-phone .profile-heading{padding:16px}.customer-phone .profile-person{width:100%}.customer-phone .profile-stats{margin-bottom:16px}.customer-phone .profile-stats .stat{padding:14px 9px;min-height:0}
 body .notification-panel{top:74px!important;right:12px!important;left:12px!important;width:auto!important;max-height:calc(var(--visible-height) - 160px);padding:16px!important;border-radius:20px!important}.notification-heading strong{font-size:16px}.notification-heading{gap:6px}.message-toasts{right:12px;top:74px;width:calc(100vw - 24px)}
 body #booking-chat{width:100vw;max-width:100vw;height:var(--visible-height);max-height:var(--visible-height);margin:0;border:0;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.chat-head{padding:12px;min-height:76px}.chat-head h2{font-size:17px}.chat-head .eyebrow{display:none}.chat-head p{font-size:11px}body #chat-list{padding:14px 12px}body #chat-form{padding:12px}.chat-message{max-width:90%}body .chat-send{height:48px;width:48px}
 .polished-admin #admin-view{padding-bottom:calc(88px + env(safe-area-inset-bottom));padding-left:0}.polished-admin #admin-view>header{padding:12px 14px;gap:10px;flex-wrap:wrap;position:sticky;top:0;z-index:55;background:var(--bg)}.polished-admin .header-right{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.polished-admin .header-right>button,.polished-admin #staff-menu>summary{min-height:44px}.polished-admin .header-right .notification-open>span:not(.control-icon):not(.notification-symbol){display:none}.polished-admin .notification-open{padding:8px}.polished-admin .staff-chat-launch>span{display:none}.polished-admin .staff-chat-launch{width:44px;height:44px;padding:10px}.polished-admin .staff-brand{flex:1;min-width:150px}.polished-admin .ops-global-search{order:3;width:100%;max-width:none;flex-basis:100%;margin:0;min-height:44px}.polished-admin .ops-sidebar{left:0;right:0;top:auto;bottom:0;width:100%;height:calc(74px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid var(--line);border-radius:0;z-index:85}.polished-admin .ops-sidebar nav{height:auto;display:flex;align-items:stretch;gap:4px}.polished-admin .ops-sidebar nav button{flex:1;min-width:0;min-height:60px;font-size:10px;padding:5px 2px;gap:4px;flex-direction:column}.polished-admin .ops-logo,.polished-admin .ops-presence,.polished-admin .ops-version{display:none}.polished-admin main{padding:24px 14px}.polished-admin .title-row{align-items:flex-start;gap:16px}.polished-admin .title-row h1{font-size:27px;line-height:1.15}.polished-admin .view-tabs{flex-wrap:wrap;gap:4px}.polished-admin .team-title{display:flex;flex-direction:column;align-items:stretch;gap:16px}.polished-admin .team-title h2{font-size:27px;line-height:1.2}.polished-admin .team-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.polished-admin .team-grid{grid-template-columns:minmax(0,1fr)}.polished-admin .staff-fields{grid-template-columns:minmax(0,1fr)}.polished-admin .staff-form-title{gap:12px;flex-wrap:wrap}.polished-admin .service-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.polished-admin .service-picker label{padding:12px 9px;min-height:60px}.polished-admin .service-picker strong{font-size:12px;white-space:normal}.polished-admin .service-picker-head{flex-wrap:wrap;gap:12px}.polished-admin .staff-form-title h3{font-size:21px}.polished-admin #staff-create-submit{width:100%;min-height:48px}.polished-admin #staff-reset-form,.polished-admin #staff-phone-form{display:flex;flex-direction:column;align-items:stretch;gap:14px}.polished-admin #staff-reset-form>div:last-child,.polished-admin #staff-phone-form>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.polished-admin #staff-reset-form button,.polished-admin #staff-phone-form button{min-height:44px}.polished-admin .staff-buttons button{font-size:12px;padding:10px}.polished-admin .team-load{gap:6px}.polished-admin .team-load strong{font-size:12px;overflow-wrap:anywhere}.polished-admin .staff-contact{padding:12px 0}.polished-admin .staff-contact a{font-size:14px}
 .tracking-main{padding:24px 14px!important}.tracking-main .track-progress{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.tracking-card{padding:20px!important;border-radius:18px}.track-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.track-controls>*{min-width:0;font-size:12px;text-align:center;padding:12px 8px}.track-controls .track-call{grid-column:1/-1}.guide-service summary{padding:18px 0;gap:10px;min-height:78px}.guide-service-text{font-size:20px}.guide-service-text small{font-size:12px}.guide-service-content{padding:0 0 22px}.guide-service .expand-mark{flex:0 0 40px;width:40px;height:40px}.expand-mark:before,.expand-mark:after{left:11px;top:18px}.guide-nav{border-radius:14px;overflow:hidden;background:var(--panel)}
 #mascot-scene{bottom:calc(88px + env(safe-area-inset-bottom))!important;right:12px!important}body:has(dialog[open]) #mascot-scene,body:has(input:focus) #mascot-scene,body:has(textarea:focus) #mascot-scene{visibility:hidden}.keyboard-open .app-bottom-nav,.keyboard-open .ops-sidebar{display:none!important}.keyboard-open #mascot-scene{display:none!important}
}
@media(prefers-reduced-motion:reduce){.message-toast,.loading-mark{animation:none}.app-bottom-nav a,.button,.primary,.submit{transition:none}}
@media(max-width:760px){.public-site h1{font-size:clamp(32px,9vw,46px);line-height:1.1;letter-spacing:-1.3px;overflow-wrap:anywhere}.public-site h1 em{white-space:normal}.public-site .site-main{min-width:0}}
.account-section-tabs button{min-width:0;flex:1 1 0}#profile-username{color:var(--muted)}
@media(max-width:380px){.account-section-tabs button{flex-direction:column;gap:4px;min-height:54px;font-size:11px;padding:6px 2px}}
.tracking-main .track-progress li{padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--field);font-size:12px;line-height:1.35}.tracking-main .track-progress li span{display:block}.tracking-main .track-progress li.current{border-color:var(--red);background:color-mix(in srgb,var(--red) 7%,var(--panel));color:var(--text)}.tracking-main .track-progress li.done{color:var(--text)}.tracking-main .track-progress i{height:3px;margin-bottom:8px}body.light .track-controls .track-call{color:#176750;background:#edf8f2;border-color:#b8dccb}
