/* The light design remains the default; dark surfaces follow the designer reference. */
@media(min-width:641px){#login-screen{background-image:url('../assets/login-designer-desktop.png')!important;background-size:cover!important;background-position:center!important}}
.vp-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:38px;min-height:38px;width:38px;height:38px;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;cursor:pointer;vertical-align:middle;padding:9px}
.vp-theme-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.vp-theme-toggle .vp-theme-sun{display:none}
.vp-theme-toggle .vp-theme-label{display:none}.vp-more-panel .vp-theme-toggle .vp-theme-label{display:block}.vp-more-panel .vp-theme-toggle{width:100%}.driver-page header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.legal-page>.vp-theme-toggle{float:right;margin:0 0 12px 12px}
.vp-login-theme{position:absolute;right:22px;top:22px;background:#ffffffdf;color:#6524ba;border-color:#ffffff66;z-index:1}
.vp-theme-settings{border:1px solid #e1d8ed;background:#fff;padding:16px;border-radius:16px;margin-bottom:18px}
.vp-theme-settings label{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:14px;font-weight:600}
.vp-theme-settings select{min-width:150px;max-width:100%;padding:9px 12px;border:1px solid #d7cce3;border-radius:10px;background:transparent;font:inherit}
.vp-dark-notice{display:none}
[data-theme="dark"]{--vp-dark-bg:#0a090e;--vp-dark-card:#151419;--vp-dark-border:#2a2632;--vp-dark-text:#f6f2ff;--vp-dark-muted:#aaa2bb;--vp-gradient:linear-gradient(115deg,#7933ff,#bd2ed9);--vp-glass:#17151d;--vp-glass-border:#2a2632;color-scheme:dark;background:var(--vp-dark-bg)}
[data-theme="dark"] body{background:radial-gradient(ellipse 650px 240px at 50% 0,#48206d 0,rgba(55,25,76,.55) 45%,transparent 100%),#0a090e!important;color:var(--vp-dark-text)!important;background-repeat:no-repeat!important;min-height:100dvh;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
[data-theme="dark"] :where(.bg-white,.bg-slate-50,.bg-slate-100,.bg-slate-200,.bg-gray-50,.bg-gray-100,.bg-blue-50,.bg-indigo-50,.bg-purple-50,.bg-violet-50,.bg-white\/80,.fleet-card,.policy-card,.queue-card,.yard-dock-card,.card,.vp-theme-settings,.vp-cookie-panel,.vp-profile-dialog,.vp-notice-documents,.vp-document-download,#engagement-panel,#modal-body){background:linear-gradient(135deg,#1d1b24,#111015)!important;border-color:var(--vp-dark-border)!important;color:var(--vp-dark-text)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
[data-theme="dark"] :where(.text-slate-900,.text-slate-800,.text-slate-700,.text-gray-900,.text-gray-800,.fleet h2,.fleet-form h2,.policy-card h2,.policy-card h3,.legal-page,.vp-notice-documents summary,.vp-profile-dialog){color:var(--vp-dark-text)!important}
[data-theme="dark"] :where(.text-slate-600,.text-slate-500,.text-slate-400,.text-gray-600,.text-gray-500,.fleet-muted,.policy-card p,.queue-field,.vp-profile-note,.vp-notice-documents small,.vp-profile-field,.vp-theme-settings label){color:var(--vp-dark-muted)!important}
[data-theme="dark"] :where(.border-slate-100,.border-slate-200,.border-slate-300,.border-gray-200,.border-t,.border-b,.border){border-color:var(--vp-dark-border)!important}
[data-theme="dark"] #grid :where(tr,td,th){border-color:#292330!important}
[data-theme="dark"] body:has(#workspace) :where(form,article,details){background:#17131e;border-color:#362b43;color:#f5efff}
[data-theme="dark"] :where(.bg-white,.bg-slate-50){animation:none!important}
[data-theme="dark"] :where(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background:#151319!important;color:#f5f1ff!important;border-color:#3c354b!important;box-shadow:none!important;color-scheme:dark}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#a49aad!important;opacity:1}
[data-theme="dark"] input[readonly]{color:#b3a9c4!important;background:#211c2a!important}
[data-theme="dark"] #modal-body{background:#17131efc!important;color:#f6f2ff!important;border-color:#3b3048!important;box-shadow:0 24px 80px #0009!important}
[data-theme="dark"] #modal{background:rgba(4,2,9,.72)!important}
[data-theme="dark"] input[type=checkbox]{background:#19141f!important;border-color:#766788!important}
[data-theme="dark"] input[type=checkbox]:checked{background:#943aff!important;border-color:#ad68ff!important}
[data-theme="dark"] select:not(#wh-switch),[data-theme="dark"] #wh-switch{background-color:#151319!important;color:#f5f1ff!important;border-color:#493b58!important}
[data-theme="dark"] select:not(#wh-switch){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cabbdd' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important}
[data-theme="dark"] option{background:#17131e;color:#f5f1ff}
[data-theme="dark"] :where(button,a):focus-visible,[data-theme="dark"] :where(input,select,textarea):focus-visible{outline:2px solid #b77dff;outline-offset:3px}
[data-theme="dark"] :where(.brand-bg,button[class*="bg-blue"],button[class*="bg-indigo"],.fleet button.primary,.policy-card button,.vp-cargo-switch button[aria-pressed=true]){background:linear-gradient(115deg,#7933ff,#bd2ed9)!important;color:#fff!important;border-color:transparent!important}
[data-theme="dark"] .brand-text{color:#c299ff!important}
[data-theme="dark"] :where(.fleet button,.fleet a.fleet-button,.queue-field select,.slot-yard-toolbar button,.vp-world-toolbar button,.vp-world-metrics>div,.vp-world-hint,.slot-yard-toolbar,.slot-mode-switch,.vp-cargo-switch,.vp-more-panel,.vp-warehouse-geo-toolbar,.vp-map-toolbar){background:#18151f!important;border-color:#332d3e!important;color:#ede7f8!important;box-shadow:none!important}
[data-theme="dark"] :where(.slot-mode-switch button,.vp-cargo-switch button){color:#b5abc7}
[data-theme="dark"] .slot-mode-switch button[aria-pressed=true]{background:#352146!important;color:#e5cfff!important}
[data-theme="dark"] :where(.text-red-600,.text-red-500,.fleet-error){color:#ff9aa9!important}
[data-theme="dark"] :where(.bg-red-50,.bg-red-100,.fleet-error){background:#391923!important;border-color:#69303e!important}
[data-theme="dark"] :where(.text-green-700,.text-green-800,.text-emerald-700){color:#8ee2b6!important}
[data-theme="dark"] :where(.bg-green-50,.bg-green-100,.bg-emerald-50){background:#153025!important}
[data-theme="dark"] :where(.bg-amber-50,.bg-yellow-50,.queue-alerts,.fleet-warning){background:#342613!important;border-color:#5f4824!important;color:#ffda8d!important}
[data-theme="dark"] :where(.queue-heading,.queue-card span,.queue-card small){color:#e4bc80}
[data-theme="dark"] :where(.fleet-status,.fleet-stop-number,.vp-document-icon){background:#332343;color:#e0b9ff}
[data-theme="dark"] :where(.fleet-map,.vp-world,#slot-yard){border-color:#342d41;background:#191720}
[data-theme="dark"] header.brand-bg{background:transparent!important;box-shadow:none!important;border-color:transparent!important}
[data-theme="dark"] .vp-header-inner{background:transparent;box-shadow:none}
[data-theme="dark"] #main-nav{background:rgba(24,22,29,.96)!important;border-color:#25222d!important;box-shadow:0 8px 25px #0004!important;backdrop-filter:blur(20px)!important}
[data-theme="dark"] #main-nav .vtab{color:#9388a7!important;background:transparent!important;box-shadow:none}
[data-theme="dark"] #main-nav .vtab.is-active{color:#fff!important;background:linear-gradient(135deg,#7429ff,#d840ef)!important;box-shadow:0 0 13px #b537ffb0,0 0 26px #9c32f94d!important;border-radius:14px}
[data-theme="dark"] .vp-more-menu .vp-more-panel{background:#18151f!important;border-color:#352a42}
[data-theme="dark"] .vp-more-panel button{color:#f2eaff!important;background:transparent!important}
[data-theme="dark"] .vp-more-panel button:hover{background:#2a2035!important}
[data-theme="dark"] .vp-theme-toggle{color:#f8f2ff;background:#1a1423;border-color:#4d355e}
[data-theme="dark"] .vp-theme-toggle .vp-theme-sun{display:block}
[data-theme="dark"] .vp-theme-toggle .vp-theme-moon{display:none}
[data-theme="dark"] .vp-login-theme{color:#fff;background:#211330e6}
[data-theme="dark"] #login-screen{background-color:#0a090e!important;background-blend-mode:multiply}
[data-theme="dark"] #login-screen>div{background:#17121ef5!important;border:1px solid #483054!important;box-shadow:0 20px 70px #0006!important}
[data-theme="dark"] #login-screen .brand-text{-webkit-text-fill-color:#f9f3ff!important;color:#f9f3ff!important}
[data-theme="dark"] #login-screen input{background:#100d17!important;border-color:#493951!important;color:#fff!important}
[data-theme="dark"] #kpi{gap:12px}
[data-theme="dark"] #kpi>div{border-radius:13px!important;min-height:128px;padding:12px!important;box-shadow:none!important}
[data-theme="dark"] #kpi>div>div:first-child{font-size:14px;line-height:18px;letter-spacing:0;font-weight:700;color:#aaa2bb!important;margin-bottom:0}
[data-theme="dark"] #kpi>div>div:nth-child(2){font-family:inherit;font-size:48px;line-height:1;font-weight:800;letter-spacing:-1.5px;color:#f7f3ff}
[data-theme="dark"] #kpi>div>div:last-child{font-size:12px;line-height:16px;color:#aaa2bb!important;margin-top:0}
[data-theme="dark"] #kpi>div:first-child>div{color:#fff!important}
[data-theme="dark"] #v-wh>.bg-white{background:transparent!important;border:0!important;border-radius:0!important}
[data-theme="dark"] #v-wh>.bg-white>div:first-child{padding:0 0 16px;border:0;gap:12px}
[data-theme="dark"] #v-wh>.bg-white>div:first-child>span{font-size:24px;line-height:1.3}
[data-theme="dark"] #grid .cell{border-color:#32293f!important}
[data-theme="dark"] #grid .cell:not([class*="bg-"]){background:#15121c!important;color:#b4a9c4!important}
[data-theme="dark"] #grid :where(.bg-blue-50,.bg-indigo-50){background:#28203b!important;color:#d6c4ff!important}
[data-theme="dark"] #grid .bg-slate-200{background:#29252e!important;color:#b0a5ba!important}
[data-theme="dark"] .vp-cookie-panel button{background:linear-gradient(115deg,#7933ff,#b535e6);color:white}
[data-theme="dark"] :where(.vp-cookie-panel a,.vp-legal-links,.vp-legal-links a,.vp-legal-links button){color:#c3b6d9}
[data-theme="dark"] .legal-page a{color:#cea5ff}
/* Landing page: preserve the composition while adapting surfaces and typography. */
[data-theme="dark"] body:has(.top){--b:#b16dff;--bh:#a05ae9;--i:#f6f0ff;--m:#b8afc8;--l:#302737;--w:#121015}
[data-theme="dark"] :where(.top,.footer,.cta){background:linear-gradient(130deg,#271336,#120e19)!important;color:#fff!important;border-color:#3f2558!important}
[data-theme="dark"] .top{background:rgba(29,15,41,.92)!important;box-shadow:none}
[data-theme="dark"] :where(.stage,.app,.routebox,.app-live,.bars,.metrics,.pane,.cal div,.field){background:#141118!important;border-color:#34283f!important;color:#f6efff!important}
[data-theme="dark"] :where(.hero p,.lead,.step p,.metric span,.label,.note,.field){color:#b8afc8!important}
[data-theme="dark"] .soft{background:#100d14!important}
[data-theme="dark"] :where(.btn.light,.top .nav .login){background:#21182b!important;border-color:#573269!important;color:white!important}
[data-theme="dark"] .footer .mark{background:transparent}
[data-theme="dark"] :where(.warehouse,.warehouse-sign){background:#22182f!important}
[data-theme="dark"] .cta p,[data-theme="dark"] .footrow{color:#c6b7d6}
[data-theme="dark"] .cta .btn{background:#f3e8ff;color:#391458}
[data-theme="dark"] .cta .btn.outline{background:transparent;color:#f3e8ff}
[data-theme="dark"] .vp-theme-toggle{font-size:16px}
[data-theme="dark"] :where(.text-blue-600,.text-blue-700,.text-blue-800,.text-indigo-600,.text-indigo-700,.text-purple-700){color:#c6b3ff!important}
[data-theme="dark"] :where(.bg-blue-100,.bg-indigo-100){background:#252540!important;color:#d7d0ff!important}
[data-theme="dark"] :where(.text-amber-800,.text-yellow-800){color:#f4cc82!important}
@media(max-width:540px){.top .nav{gap:8px}.top .vp-theme-toggle{min-width:34px;min-height:34px;width:34px;height:34px;padding:7px}}
@media(max-width:900px){
 [data-theme="dark"] .vp-header-inner{min-height:88px;padding:16px 12px;gap:10px!important;align-items:center}
 [data-theme="dark"] .vp-header-inner>a{gap:6px}
 [data-theme="dark"] .vp-header-inner>a>span:first-child,[data-theme="dark"] header .vp-brand-mark{width:42px;height:42px}
 [data-theme="dark"] .vp-header-inner>a .text-xl{font-size:25px;letter-spacing:-.7px}
 [data-theme="dark"] .vp-dark-notice{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;width:38px;height:38px;border:1px solid #63417b;border-radius:50%;background:#1c112c66;color:#fff;position:relative;flex-shrink:0}
 [data-theme="dark"] .vp-dark-notice-count{position:absolute;right:-3px;top:-3px;background:#cc365c;color:#fff;min-width:16px;height:16px;border-radius:9px;font:700 10px/16px system-ui;text-align:center;padding:0 3px}
 [data-theme="dark"] .vp-dark-notice svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
 [data-theme="dark"] .vp-more-menu{margin-left:0}
 [data-theme="dark"] .vp-more-toggle{width:38px;height:38px;border-radius:50%;font-size:0;padding:0;background:#1b1225a6;position:relative}
 [data-theme="dark"] .vp-more-toggle:before,[data-theme="dark"] .vp-more-toggle:after{content:'';position:absolute;height:2px;background:#fff;border-radius:2px;right:10px;top:14px;width:17px}
 [data-theme="dark"] .vp-more-toggle:after{top:21px;width:11px}
 [data-theme="dark"] body>main{padding:20px 12px 120px!important}
 [data-theme="dark"] #wh-title{font-size:24px;line-height:1.25;letter-spacing:-.6px}
 [data-theme="dark"] #wh-sub{font-size:14px;margin-top:4px;line-height:1.4}
 [data-theme="dark"] #v-wh>div:first-child{gap:12px;margin-bottom:12px}
 [data-theme="dark"] #v-wh>div:first-child>div:last-child{display:grid;grid-template-columns:1fr 1fr 1.18fr;width:100%;gap:12px}
 [data-theme="dark"] #v-wh>div:first-child>div:last-child :where(button,input){width:100%;min-width:0;border-radius:17px;padding:10px 8px;min-height:41px;font-size:13px;line-height:1.3;background:linear-gradient(135deg,#1b1921,#101014)!important;border:1px solid #2b2534!important;color:#f1eaff!important}
 [data-theme="dark"] #v-wh>div:first-child>div:last-child button[aria-pressed=true]{border-color:#914aff!important;box-shadow:0 0 7px #8e3dff88!important}
 [data-theme="dark"] #kpi{margin-bottom:22px}
 [data-theme="dark"] #main-nav{bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;border-radius:23px;max-width:calc(100vw - 24px);width:calc(100vw - 24px);justify-content:space-between;padding:8px 12px;gap:6px}
 [data-theme="dark"] #main-nav .vtab{min-width:36px;width:36px;min-height:40px;height:40px;border-radius:12px;flex-shrink:0}
 [data-theme="dark"] .vp-legal-links{padding-bottom:100px}
}
@media(min-width:901px){[data-theme="dark"] #main-nav{background:#1a1323b3!important}[data-theme="dark"] .vp-more-panel button{border:1px solid #3a2b49!important}}
@media(max-width:360px){[data-theme="dark"] #v-wh>div:first-child>div:last-child{grid-template-columns:minmax(0,.9fr) minmax(0,.9fr) minmax(0,1.5fr);gap:8px}[data-theme="dark"] #v-wh>div:first-child>div:last-child :where(button,input){font-size:12px;padding:9px 5px}}
@media print{html[data-theme="dark"],html[data-theme="dark"] body{background:white!important;color:black!important}html[data-theme="dark"] #print-report,html[data-theme="dark"] #print-report *{color:black!important;background:white!important}.vp-theme-toggle,.vp-theme-settings,.vp-dark-notice{display:none!important}}

/* Booking contrast and a single dropdown chevron in both themes. */
#wh-switch{appearance:none;-webkit-appearance:none;border:1px solid #d8cbea;border-radius:12px;min-height:42px;padding:8px 36px 8px 14px!important;background-color:#fff!important;color:#281b3b!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23625374' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important}
select,#wh-switch{background-repeat:no-repeat!important;background-position:right .7rem center!important;background-size:1rem!important}
[data-theme="dark"] select,[data-theme="dark"] #wh-switch{appearance:none;-webkit-appearance:none;padding-right:2.25rem!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ded2f1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right .7rem center!important;background-size:1rem!important}
#bk-dates>button{flex:0 0 auto;width:auto;min-width:max-content;padding:12px 18px;white-space:nowrap;line-height:1.4}
[data-theme="dark"] .vp-booking-label,[data-theme="dark"] .text-indigo-950{color:#f6f2ff!important}
[data-theme="dark"] #bk-slots button:not(:disabled){color:#fff!important;opacity:1!important;text-shadow:none!important}
[data-theme="dark"] #bk-slots button:disabled{color:#b8afc8!important;background:#25212e!important;opacity:1!important;text-shadow:none!important}
[data-theme="dark"] #app-loading{background:#111!important}
#stat-cards>div{min-width:0;overflow-wrap:anywhere}#stat-cards .mono{white-space:normal}
@media(max-width:540px){#stat-cards{grid-template-columns:1fr}#stat-cards>div{padding:16px}}

/* Header controls share the toolbar's translucent glass material. */
.vp-header-inner{--vp-header-glass:rgba(255,255,255,.17);--vp-header-glass-shine:rgba(255,255,255,.27);--vp-header-glass-edge:rgba(255,255,255,.30);--vp-header-glass-shadow:0 5px 18px rgba(37,12,72,.10),inset 0 1px 0 rgba(255,255,255,.30),inset 0 -1px 0 rgba(255,255,255,.07)}
[data-theme="dark"] .vp-header-inner{--vp-header-glass:rgba(255,255,255,.065);--vp-header-glass-shine:rgba(255,255,255,.13);--vp-header-glass-edge:rgba(232,214,255,.24);--vp-header-glass-shadow:0 5px 18px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.20),inset 0 -1px 0 rgba(255,255,255,.035)}
.vp-header-inner #wh-switch,.vp-header-inner #who,.vp-header-inner .vp-more-toggle,.vp-header-inner .vp-dark-notice,.vp-header-inner .vp-more-panel button{
 background-color:var(--vp-header-glass)!important;
 background-image:linear-gradient(145deg,var(--vp-header-glass-shine),transparent 65%)!important;
 color:#fff!important;border:1px solid var(--vp-header-glass-edge)!important;
 box-shadow:var(--vp-header-glass-shadow)!important;
 -webkit-backdrop-filter:blur(22px) saturate(170%)!important;backdrop-filter:blur(22px) saturate(170%)!important;
 transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.vp-header-inner #wh-switch{
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"),linear-gradient(145deg,var(--vp-header-glass-shine),transparent 65%)!important;
 background-repeat:no-repeat!important;background-size:1rem,100% 100%!important;background-position:right .7rem center,center!important;
 border-radius:16px;min-height:42px;
}
.vp-header-inner #wh-switch option{color:#281b3b;background:#fff}
[data-theme="dark"] .vp-header-inner #wh-switch option{color:#f5f1ff;background:#17131e}
.vp-header-inner #who{border-radius:14px}
.vp-header-inner .vp-more-panel button:hover,.vp-header-inner .vp-more-toggle:hover,.vp-header-inner .vp-dark-notice:hover,.vp-header-inner #wh-switch:hover{background-color:rgba(255,255,255,.23)!important;border-color:rgba(255,255,255,.52)!important}
.vp-header-inner .vp-more-panel button:focus-visible,.vp-header-inner .vp-more-toggle:focus-visible,.vp-header-inner .vp-dark-notice:focus-visible,.vp-header-inner #wh-switch:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(min-width:901px){
 .vp-header-inner .vp-more-menu>.vp-more-panel{background:transparent!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
 .vp-header-inner .vp-more-panel button{width:42px!important;height:42px!important;min-height:42px!important;padding:9px!important;border-radius:50%!important}
 .vp-header-inner .vp-more-panel button.is-active,.vp-header-inner .vp-more-panel button.active{border-color:rgba(255,255,255,.70)!important;background-color:rgba(255,255,255,.25)!important;box-shadow:var(--vp-header-glass-shadow),inset 0 0 0 1px rgba(255,255,255,.16)!important}
}
@media(max-width:900px){
 .vp-header-inner .vp-more-menu>.vp-more-panel{background:rgba(250,244,255,.88)!important;border-color:rgba(255,255,255,.5)!important;-webkit-backdrop-filter:blur(24px) saturate(160%)!important;backdrop-filter:blur(24px) saturate(160%)!important;box-shadow:0 12px 36px #160a3038!important}
 .vp-header-inner .vp-more-panel button{color:#2b173f!important;background-color:rgba(255,255,255,.25)!important;margin:3px 0}
 [data-theme="dark"] .vp-header-inner .vp-more-menu>.vp-more-panel{background:rgba(25,19,35,.9)!important;border-color:rgba(232,214,255,.24)!important}
 [data-theme="dark"] .vp-header-inner .vp-more-panel button{color:#fff!important;background-color:rgba(255,255,255,.065)!important}
}
@media(prefers-reduced-motion:reduce){.vp-header-inner #wh-switch,.vp-header-inner #who,.vp-header-inner .vp-more-panel button,.vp-header-inner .vp-more-toggle,.vp-header-inner .vp-dark-notice{transition:none}}

/* Dark toolbar: match the brighter glass of its adjacent header controls. */
[data-theme="dark"] .vp-header-inner #main-nav{
 background-color:var(--vp-header-glass)!important;
 background-image:linear-gradient(145deg,var(--vp-header-glass-shine),rgba(255,255,255,.025) 65%)!important;
 border-color:var(--vp-header-glass-edge)!important;
 box-shadow:var(--vp-header-glass-shadow)!important;
 -webkit-backdrop-filter:blur(22px) saturate(170%)!important;
 backdrop-filter:blur(22px) saturate(170%)!important;
}
[data-theme="dark"] .vp-header-inner #main-nav .vtab{color:#f6f0ff!important}
[data-theme="dark"] .vp-header-inner #main-nav .vtab:hover{
 background:rgba(255,255,255,.15)!important;color:#fff!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.24)!important;
}
[data-theme="dark"] .vp-header-inner #main-nav .vtab.is-active{
 background:linear-gradient(145deg,rgba(255,255,255,.32),rgba(255,255,255,.13))!important;
 color:#fff!important;border:1px solid rgba(255,255,255,.58)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.38),0 3px 12px rgba(0,0,0,.12)!important;
}

/* The phone header uses the same bell + two-line menu in either theme. */
@media(max-width:900px){
 .vp-header-inner .vp-dark-notice{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;width:38px;height:38px;min-width:38px;padding:0;border-radius:50%;position:relative;flex-shrink:0;color:#fff}
 .vp-header-inner .vp-dark-notice svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
 .vp-header-inner .vp-dark-notice-count{position:absolute;right:-3px;top:-3px;background:#cc365c;color:#fff;min-width:16px;height:16px;border-radius:9px;font:700 10px/16px system-ui;text-align:center;padding:0 3px}
 .vp-header-inner .vp-more-menu{margin-left:0}
 .vp-header-inner .vp-more-toggle{width:38px;height:38px;min-width:38px;border-radius:50%;font-size:0;line-height:1;padding:0;position:relative}
 .vp-header-inner .vp-more-toggle:before,.vp-header-inner .vp-more-toggle:after{content:'';position:absolute;height:2px;background:#fff;border-radius:2px;right:10px;top:14px;width:17px}
 .vp-header-inner .vp-more-toggle:after{top:21px;width:11px}
}
