/* Shared interface polish */
body{line-height:1.5}button,input,select,textarea{line-height:1.4}button{transition:background .15s,border-color .15s}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #5276b5;outline-offset:2px}textarea{color:#111}button,input,select{min-height:44px}input[type=checkbox],input[type=radio]{min-height:0}p{overflow-wrap:anywhere}.panel{padding:26px}main>.panel+ .panel,main>details.panel+details.panel{margin-top:22px}fieldset{border:1px solid #ddd;border-radius:8px;padding:18px;margin:22px 0}legend{padding:0 8px;font-weight:600}.social-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.category-tabs{gap:12px;padding-bottom:16px}.category-tabs button{padding:11px 20px}.employee-toolbar{gap:10px 14px;padding:18px;margin-bottom:32px;line-height:1.4}.employee-toolbar strong{font-size:.95rem}.employee-toolbar span{font-size:.8rem}.employee-toolbar a{display:inline-flex;align-items:center;min-height:40px;padding:9px 12px;text-decoration:none;border:1px solid #444;border-radius:6px;white-space:nowrap}.employee-toolbar a:hover{background:#303030;border-color:#888}.employee-toolbar button{margin-left:0;padding:9px 14px}.staff-page h1{font-size:clamp(1.8rem,3vw,2.5rem);letter-spacing:-.025em;line-height:1.2;margin:0 0 16px}.staff-page h2{line-height:1.3}.staff-page p{color:#505866}.staff-page main{padding-top:28px}.staff-page .heading{margin-bottom:28px}.staff-page .employee-fields{gap:18px 22px}.staff-page label{line-height:1.45;margin-bottom:18px}.staff-page .employee-fields label{margin-bottom:0}.staff-page .employee-fields{margin-bottom:20px}.staff-page .check-label{margin-bottom:12px}.staff-page .layout>aside>.panel+.panel{margin-top:22px}.staff-page details.panel>summary{line-height:1.4}.staff-page details.panel[open]>summary{margin-bottom:20px}.staff-page .social-section[open]>summary{margin-bottom:0}.staff-page .product-body p{margin:0}.staff-page .product-body .meta{min-height:0}.content-category-group{padding:18px 0}.content-category-group>summary{font-size:1rem}.paperwork-upload input::file-selector-button{border:0;border-radius:5px;background:#eee;padding:9px 12px;margin-right:12px;font:inherit;cursor:pointer}#paperwork-review fieldset .employee-fields{margin-bottom:0}
body[data-page=employee] .employee-toolbar a[href='#employee'],body[data-page=warehouse] .employee-toolbar a[href='#warehouse'],body[data-page=products] .employee-toolbar a[href='#products'],body[data-page=pos] .employee-toolbar a[href='#pos'],body[data-page=delivery] .employee-toolbar a[href='#delivery'],body[data-page=social] .employee-toolbar a[href='#social'],body[data-page=team] .employee-toolbar a[href='#team'],body[data-page=audit] .employee-toolbar a[href='#audit'],body[data-page=marketing] .employee-toolbar a[href='#marketing']{background:#fff;color:#111;border-color:#fff}
@media(max-width:760px){.panel{padding:20px}.employee-toolbar{gap:10px;padding:14px}.employee-toolbar a{font-size:.82rem;padding:8px 10px}.staff-page .employee-fields{gap:16px}.category-tabs{gap:9px}.staff-page main{padding-top:22px}.staff-page .heading{gap:18px}.staff-page .layout{gap:22px}fieldset{padding:14px}.social-actions>label{width:100%}.staff-page .product h3{height:auto;min-height:54px;line-height:1.4}}

@media(max-width:760px){.employee-toolbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;align-items:center;padding:12px;margin-bottom:24px}.employee-toolbar>*{flex-shrink:0}.employee-toolbar>span{display:none}.employee-toolbar>a,.employee-toolbar>button{min-height:44px}.layout>section,.layout>aside,.intake-grid>section{min-width:0}.heading>label{width:100%}.product-body{overflow-wrap:anywhere}.product .buy strong{font-size:1rem}}@media(max-width:480px){.employee-fields,.permission-grid{grid-template-columns:1fr}.paperwork-upload{padding:16px}.paperwork-capture-actions{gap:10px}.staff-page .products{gap:10px}.staff-page .product-body{padding:12px}.staff-page .category-tabs button{font-size:.85rem;padding:10px 16px}}

.staff-mobile-menu{display:none}@media(max-width:760px){.employee-toolbar{flex-wrap:wrap;overflow:visible;gap:12px}.employee-toolbar>a{display:none}.staff-page .employee-toolbar .staff-mobile-menu{display:block;flex:1 1 100%;margin:0;font-size:.8rem;color:#ddd}.staff-mobile-menu select{margin-top:8px;min-height:46px}.employee-toolbar>strong{font-size:.85rem}.employee-toolbar>button{margin-left:auto}.employee-toolbar>span{display:none}}

@media(min-width:761px){.employee-toolbar{gap:16px;padding:16px 20px}.employee-toolbar a{display:inline;min-height:0;padding:0;border:0;border-radius:0;text-decoration:underline;background:transparent!important;color:inherit!important}.employee-toolbar a:hover{background:transparent;border:0}.employee-toolbar button{margin-left:auto}.employee-toolbar .staff-mobile-menu{display:none}}

.staff-header-account{display:none}.staff-page .staff-header-account{display:flex;align-items:center;gap:18px;margin-left:auto;color:white;font-size:.9rem}.staff-header-account button{padding:8px 16px;min-height:40px;background:#fff;color:#111}.staff-header-account span{font-weight:600}@media(max-width:480px){.staff-page .staff-header-account{gap:10px;font-size:.8rem}.staff-page .site-header .brand img{width:110px}.staff-header-account button{padding:8px 12px}.staff-header-account span{max-width:110px;overflow-wrap:anywhere}}

.customer-header-actions{display:flex;align-items:center;gap:18px;margin-left:auto}.header-call{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 24px;background:#fff;color:#111;border-radius:8px;font:600 15px Roboto,Arial,sans-serif}.site-header+.delivery-banner{position:sticky;top:95px;z-index:29;justify-content:center;min-height:40px}.staff-page .customer-header-actions{display:none}@media(max-width:760px){.site-header+.delivery-banner{top:75px}.customer-header-actions{gap:10px}.header-call{min-height:48px;padding:12px 16px;font-size:14px}}@media(max-width:480px){body:not(.staff-page) .site-header .brand img{width:145px}.customer-header-actions{gap:5px}.header-call{padding:12px;font-size:13px}.customer-header-actions .site-menu-toggle{font-size:28px;padding:5px 8px}}

.promo-dots{align-items:center;gap:10px}.promo-dots button{width:9px;height:9px;min-width:9px;min-height:9px;flex:0 0 9px;border-radius:50%;padding:0;line-height:0}.promo-controls{margin-top:18px;min-height:24px}

@media(min-width:761px) and (max-width:1200px){.employee-toolbar{gap:12px;padding:18px;align-items:center}.employee-toolbar a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border:1px solid #555;border-radius:8px;text-decoration:none;font-size:.9rem;background:#202020!important;color:#fff!important}.employee-toolbar a:hover{background:#353535!important;border:1px solid #888}body[data-page=employee] .employee-toolbar a[href='#employee'],body[data-page=warehouse] .employee-toolbar a[href='#warehouse'],body[data-page=products] .employee-toolbar a[href='#products'],body[data-page=pos] .employee-toolbar a[href='#pos'],body[data-page=delivery] .employee-toolbar a[href='#delivery'],body[data-page=social] .employee-toolbar a[href='#social'],body[data-page=team] .employee-toolbar a[href='#team'],body[data-page=audit] .employee-toolbar a[href='#audit'],body[data-page=marketing] .employee-toolbar a[href='#marketing']{background:#fff!important;color:#111!important;border-color:#fff}}

@media(min-width:761px){.employee-toolbar{gap:12px;padding:16px 18px}.employee-toolbar a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border:1px solid #555;border-radius:8px;text-decoration:none;background:#202020!important;color:#fff!important;font-size:.9rem}.employee-toolbar a:hover{background:#353535!important;border:1px solid #888}body[data-page=warehouse] .employee-toolbar a[href='#warehouse']{background:white!important;color:#111!important;border-color:white}}

#customer-dialog{text-align:left;max-height:90vh;overflow-y:auto}#customer-dialog>button{float:right;margin-bottom:16px}#customer-dialog h2{clear:both;padding-top:8px}#customer-account-controls{margin-bottom:22px}#staff-customer-info{padding:0 0 12px}#automatic-tax-total{margin:20px 0}

#staff-customer-results{display:grid;gap:8px;margin-bottom:12px}.customer-search-match{text-align:left;width:100%;padding:12px;white-space:normal}

.workspace-link{display:inline-flex;align-items:center;min-height:48px;background:#111;color:#fff;border-radius:7px;padding:12px 18px}

@media(min-width:761px){.employee-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:18px;align-items:stretch}.employee-toolbar a{width:100%;min-height:48px;padding:12px;text-align:center;white-space:normal;line-height:1.35;margin:0}.employee-toolbar button{margin:0}.employee-toolbar .staff-mobile-menu{display:none}}@media(min-width:1400px){.employee-toolbar{grid-template-columns:repeat(5,minmax(0,1fr))}}

.sale-savings{display:block;font-size:.8rem;color:#555;margin-top:5px}.sale-badge{display:inline-block;background:#111;color:white;border-radius:4px;font-size:.75rem;padding:3px 8px;margin-top:7px}

/* Driver workspace: portrait-first, with operational inventory folded away. */
.driver-workspace{max-width:900px;margin:0 auto}.driver-orders{display:grid;gap:18px;margin-bottom:28px}.driver-order{margin:0;min-width:0}.driver-order-heading{display:flex;gap:12px;align-items:baseline;justify-content:space-between;flex-wrap:wrap}.driver-order-heading h3{margin:0}.driver-stage{font-size:.85rem;background:#eee;border-radius:6px;padding:5px 9px}.driver-address{font-weight:600;overflow-wrap:anywhere}.driver-directions{display:flex;justify-content:center;text-align:center;min-height:52px;margin-top:18px}.driver-map-note{font-size:.85rem;line-height:1.5}.driver-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.driver-actions button{min-height:50px;margin:0;white-space:normal;line-height:1.35}.driver-action-wide{grid-column:1/-1}.driver-stock summary{min-height:48px;line-height:1.5;cursor:pointer;font-weight:600}.driver-stock form{margin-top:24px}.driver-tracking #driver-tracking-status{font-weight:600;overflow-wrap:anywhere}
@media(max-width:600px){body[data-page=driver] #app{padding:16px 12px}body[data-page=driver] .panel{padding:18px 16px}.driver-workspace h1{font-size:1.65rem}.driver-workspace h2{font-size:1.2rem}.driver-workspace h3{font-size:1.1rem}.driver-workspace input,.driver-workspace textarea{font-size:16px;min-height:48px}.driver-stock .employee-fields{grid-template-columns:1fr}.driver-workspace .driver-actions{gap:10px}#tracking-consent,#delivery-proof{width:calc(100vw - 24px);max-width:520px;max-height:90dvh;overflow:auto;padding:20px;box-sizing:border-box}#tracking-consent .social-actions,#delivery-proof .social-actions{display:grid;grid-template-columns:1fr;gap:12px}#tracking-consent button,#delivery-proof button{min-height:48px;margin:0}#delivery-proof input{font-size:16px}}

.driver-embedded-map{margin-top:18px}.driver-embedded-map iframe{display:block;width:100%;height:360px;border:0;border-radius:10px}.driver-embedded-map>button{width:100%;min-height:50px}@media(max-width:600px){.driver-embedded-map iframe{height:clamp(260px,42dvh,380px)}}
.driver-inventory-list{display:grid;gap:0;margin:18px 0}.driver-inventory-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #ddd;padding:14px 0}.driver-inventory-row span{min-width:0;overflow-wrap:anywhere}.driver-inventory-row strong{white-space:nowrap;font-size:.9rem}
.driver-workspace{max-width:1400px}.driver-live-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.8fr);gap:22px;align-items:start}.driver-primary{min-width:0}.driver-ledger-column{position:sticky;top:18px;max-height:calc(100dvh - 36px);overflow:auto;margin:0}.driver-ledger-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.driver-ledger-heading h2{margin:.2rem 0 0}.driver-ledger-live{color:#16833b;font-weight:700;font-size:.85rem}.driver-ledger-sales{display:grid;gap:10px}.driver-ledger-sales article{display:grid;gap:3px;padding:12px;border:1px solid #b9daf6;border-radius:10px;background:#f5faff}.driver-ledger-sales article span{font-size:.86rem}.driver-ledger-stock{margin-top:18px}.driver-ledger-stock summary{font-weight:700;cursor:pointer}.driver-ledger-updated{text-align:right}
@media(max-width:900px){.driver-live-layout{grid-template-columns:1fr}.driver-ledger-column{position:static;max-height:none;order:-1}.driver-ledger-stock .driver-inventory-row{padding:10px 0}}

.driver-map-placeholder{position:relative;isolation:isolate;overflow:hidden;height:320px;border:1px solid #d6ded8;border-radius:12px;background:#eaf0e9;margin-bottom:12px}.placeholder-map-roads{position:absolute;inset:-40%;transform:rotate(-22deg);background:linear-gradient(90deg,transparent 46%,#fff 46%,#fff 49%,#d5ded4 49%,#d5ded4 50%,transparent 50%),linear-gradient(0deg,transparent 45%,#fff 45%,#fff 49%,transparent 49%);background-size:100px 140px;opacity:.8;z-index:-1}.placeholder-map-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:24px;text-align:center;background:radial-gradient(ellipse at center,#ffffffef 15%,#ffffffaa 45%,transparent 75%)}.placeholder-map-label strong{font-size:1.3rem}.placeholder-map-label>span:not(.placeholder-map-pin){font-size:.9rem;color:#4b5a50}.placeholder-map-label small{max-width:260px;overflow-wrap:anywhere;color:#526057}.placeholder-map-pin{font-size:34px}.placeholder-map-caption{position:absolute;bottom:12px;left:12px;padding:5px 9px;background:#fffffff0;border-radius:5px;color:#526057;font-size:.75rem}@media(max-width:600px){.driver-map-placeholder{height:280px}}

.staff-dropdown-toolbar{display:flex!important;flex-wrap:wrap;gap:16px!important;padding:16px!important;align-items:end!important}.staff-navigation-group{flex:1 1 180px;min-width:0;margin:0;color:#ddd;font-size:.8rem;font-weight:600;letter-spacing:.02em}.staff-navigation-group select{display:block;width:100%;min-height:48px;margin:7px 0 0;padding:10px 12px;background:#fff;color:#111;border:1px solid #666;border-radius:8px;font-size:.9rem;letter-spacing:normal}.staff-dropdown-toolbar .staff-mobile-menu{display:none!important}@media(max-width:760px){.staff-dropdown-toolbar .staff-navigation-group{display:none}.staff-dropdown-toolbar .staff-mobile-menu{display:block!important;flex:1 1 100%}}

.staff-single-toolbar{display:block!important;padding:14px 18px!important}.staff-single-navigation{display:block;margin:0;color:#ddd;font-size:.8rem;font-weight:600;max-width:420px}.staff-single-navigation select{display:block;width:100%;min-height:48px;margin:7px 0 0;background:#fff;color:#111;border:1px solid #666;border-radius:8px;padding:10px 12px;font-size:1rem}@media(max-width:760px){.staff-single-navigation{max-width:none}}

.staff-banner-navigation{display:none}.staff-page .staff-banner-navigation:not([hidden]){display:block;grid-column:2;grid-row:1;width:100%;justify-self:center}.staff-page .site-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,360px) minmax(0,1fr);gap:20px;align-items:center}.staff-page .site-header .brand{grid-column:1;grid-row:1;justify-self:start}.staff-page .staff-header-account{grid-column:3;grid-row:1;justify-self:end;margin-left:0}.staff-banner-navigation .staff-single-navigation{max-width:none}.staff-banner-navigation select{margin:0;min-height:44px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:760px){.staff-page .site-header{grid-template-columns:minmax(0,1fr) auto;gap:12px;height:auto!important;padding:12px 16px}.staff-page .staff-header-account{grid-column:2;gap:10px}.staff-page .staff-banner-navigation:not([hidden]){grid-column:1/-1;grid-row:2;max-width:420px}.staff-page .site-header .brand img{max-width:130px}.staff-page .staff-header-account span{max-width:110px;overflow-wrap:anywhere}.staff-banner-navigation select{font-size:16px}}

body:not(.staff-page) .site-header{min-height:0;padding:10px max(5%,calc((100vw - 1140px)/2));align-items:center;gap:16px}body:not(.staff-page) .site-header .brand{display:flex;flex-direction:column;align-items:center;gap:3px;flex-shrink:0}body:not(.staff-page) .site-header .brand img{width:190px;height:auto;max-height:48px}body:not(.staff-page) .site-header .brand .delivery-banner{position:static;display:block;min-height:0;padding:0;background:transparent;font-size:13px;line-height:1.3;white-space:nowrap;font-weight:600;margin:0}body:not(.staff-page) .customer-header-actions{gap:12px}body:not(.staff-page) .header-call{min-height:44px;padding:10px 20px}body:not(.staff-page) .site-menu-toggle{min-height:44px;font-size:30px;padding:4px 8px}@media(max-width:480px){body:not(.staff-page) .site-header{padding:9px 14px;gap:8px}body:not(.staff-page) .site-header .brand img{width:145px;max-height:38px}body:not(.staff-page) .site-header .brand .delivery-banner{font-size:11px}body:not(.staff-page) .customer-header-actions{gap:5px}body:not(.staff-page) .header-call{padding:10px 12px;font-size:12px}}

body:not(.staff-page) .site-header .brand .delivery-banner{color:#fff;text-decoration:none;opacity:1}

body:not(.staff-page) .site-header{padding-top:14px;padding-bottom:14px;align-items:center}body:not(.staff-page) .site-header .brand{gap:6px;margin:0}body:not(.staff-page) .site-header .brand img{display:block;width:240px;max-height:62px;height:auto}body:not(.staff-page) .site-header .brand .delivery-banner{font-size:14px;line-height:18px}@media(max-width:480px){body:not(.staff-page) .site-header{padding-top:12px;padding-bottom:12px}body:not(.staff-page) .site-header .brand{gap:5px}body:not(.staff-page) .site-header .brand img{width:175px;max-height:46px}body:not(.staff-page) .site-header .brand .delivery-banner{font-size:12px;line-height:16px}}
body:not(.staff-page) .site-header .brand .delivery-banner{width:240px;line-height:0}body:not(.staff-page) .site-header .brand .delivery-banner svg{display:block;width:100%;height:auto}@media(max-width:480px){body:not(.staff-page) .site-header .brand .delivery-banner{width:175px}}
/* Shared banner navigation spacing for every employee role. */
.staff-page .site-header .staff-banner-navigation{margin:0;padding:0;align-self:center}.staff-page .site-header .staff-banner-navigation .staff-single-navigation{display:block;margin:0!important;padding:0;line-height:1}.staff-page .site-header .staff-banner-navigation select{display:block;box-sizing:border-box;width:100%;height:44px;min-height:44px;margin:0!important;padding:10px 36px 10px 16px;line-height:1.4}.staff-page .site-header{padding-top:10px;padding-bottom:10px}.staff-banner-navigation optgroup{font-weight:700}.staff-banner-navigation option{font-weight:400}@media(max-width:760px){.staff-page .site-header{padding-top:12px;padding-bottom:12px;row-gap:14px}.staff-page .site-header .staff-banner-navigation select{height:48px;min-height:48px}}

.rewards-page{max-width:1100px;margin:0 auto;padding:20px 0 40px}.rewards-hero{display:grid;grid-template-columns:1.4fr 1fr;gap:48px;align-items:center;background:#080808;color:white;padding:48px;border-radius:18px}.rewards-kicker{font-size:.75rem;font-weight:700;letter-spacing:.15em}.rewards-hero h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.1;margin:16px 0 24px}.rewards-hero p{line-height:1.7;max-width:560px}.rewards-rate{text-align:center;padding:30px;border:1px solid #555;border-radius:14px}.rewards-rate>span{display:block;font-size:42px}.rewards-rate strong{display:block;font-size:4.5rem;line-height:1.2}.rewards-rate small{color:#bbb}.rewards-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.rewards-actions button,.rewards-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px 18px;border-radius:8px;font-weight:600;text-align:center}.rewards-hero button{background:white;color:#111}.rewards-hero button.quiet{background:#252525;color:white;border:1px solid #666}.rewards-how{padding:44px 0}.rewards-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.rewards-steps article{border:1px solid #ddd;padding:24px;border-radius:12px}.rewards-steps article>span{font-size:.8rem;font-weight:700;color:#666}.rewards-steps h3{margin:16px 0 12px}.rewards-steps p,.rewards-rules p,.rewards-contact p{line-height:1.65;color:#555}.rewards-rules{display:grid;grid-template-columns:1fr 1.3fr;gap:36px;background:#f4f4f4;border-radius:14px;padding:32px}.rewards-rules dl{margin:0}.rewards-rules dl div{padding:16px 0;border-bottom:1px solid #ddd}.rewards-rules dl div:first-child{padding-top:0}.rewards-rules dl div:last-child{border:0;padding-bottom:0}.rewards-rules dt{font-weight:700;margin-bottom:6px}.rewards-rules dd{margin:0;color:#555;line-height:1.5}.rewards-contact{padding:40px 0 20px}.rewards-contact a{background:#111;color:white}.rewards-preview-note{padding:16px;border-left:3px solid #888;font-size:.85rem;line-height:1.6;color:#666;background:#fafafa}@media(max-width:760px){.rewards-hero{grid-template-columns:1fr;gap:24px;padding:28px 22px}.rewards-steps,.rewards-rules{grid-template-columns:1fr}.rewards-steps{gap:14px}.rewards-rules{padding:24px;gap:18px}.rewards-actions>*{flex:1 1 100%}.rewards-rate strong{font-size:3.5rem}}

.rewards-page .rewards-hero p{color:#dedede}.rewards-page .rewards-hero .rewards-kicker{color:#b9c4d5}

#rewards-wallet{margin-top:24px}#checkout-rewards{border-top:1px solid #ddd;margin-top:24px;padding-top:18px}#checkout-rewards details{margin-top:18px}#checkout-rewards summary{min-height:44px;cursor:pointer;font-weight:600}#checkout-rewards details[open]>summary{margin-bottom:16px}#checkout-rewards details p{font-size:.85rem}@media(min-width:761px){body[data-page=pos] .basket,body[data-page=shop] .basket{top:80px;max-height:calc(100dvh - 100px);overflow-y:auto;scrollbar-gutter:stable}}

.content-page{max-width:1100px;margin:auto;padding:20px 0 40px}.content-hero{background:#080808;color:white;border-radius:18px;padding:48px;margin-bottom:28px}.content-hero h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.15;margin:16px 0 24px}.content-hero p{color:#ddd;max-width:700px;line-height:1.7}.content-kicker{font-size:.75rem;font-weight:700;letter-spacing:.15em}.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:28px}.content-grid .panel{margin:0}.content-page p{line-height:1.7}.content-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.content-actions a,.content-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;margin:0;border-radius:8px;background:#111;color:white;text-align:center;font-weight:600}.content-feature{display:grid;grid-template-columns:140px 1fr;gap:28px;align-items:center;background:#f4f4f4;border-radius:14px;padding:32px;margin-bottom:24px}.content-emblem{text-align:center;font-size:90px}.content-page blockquote{border-left:3px solid #111;margin:24px 0;padding:0 20px;line-height:1.7}.content-faq details{padding:18px 0;border-bottom:1px solid #ddd}.content-faq details:last-child{border:0}.content-faq summary{font-weight:600;cursor:pointer;min-height:32px}@media(max-width:760px){.content-grid,.content-feature{grid-template-columns:1fr}.content-hero{padding:28px 22px}.content-feature{padding:24px;gap:10px}.content-emblem{font-size:60px}.content-actions>*{flex:1 1 100%}}

.content-page .content-hero{display:block;position:static;min-height:0;height:auto;top:auto;gap:0}.content-page .content-hero .content-kicker{display:block;margin:0;color:#b9c4d5}

.community-photo{margin:0 0 28px;border-radius:14px;overflow:hidden;background:#f4f4f4}.community-photo img{display:block;width:100%;height:auto;object-fit:contain}

/* Compact employee POS product cards; customer menu retains its layout. */
body[data-page=pos] .layout{gap:20px}body[data-page=pos] .products{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}body[data-page=pos] .product-photo{aspect-ratio:auto;height:125px;padding:8px}body[data-page=pos] .product-photo.brand-fallback{padding:16px}body[data-page=pos] .product-top{height:50px;min-height:50px;padding:8px 12px;gap:3px}body[data-page=pos] .product-top span{font-size:.7rem}body[data-page=pos] .product-top strong{font-size:.85rem}body[data-page=pos] .product-body{padding:12px;gap:6px}body[data-page=pos] .product-body>.meta:first-child{min-height:18px;font-size:.75rem}body[data-page=pos] .product h3{height:54px;min-height:54px;font-size:.9rem;line-height:18px}body[data-page=pos] .product-body>.meta{font-size:.75rem;min-height:18px}body[data-page=pos] .buy{gap:8px;padding-top:6px}body[data-page=pos] .buy>div{min-height:34px}body[data-page=pos] .buy strong{font-size:1rem}body[data-page=pos] .buy button{padding:8px 10px;min-height:44px;font-size:.8rem}body[data-page=pos] .source-link{font-size:.7rem;min-height:16px}body[data-page=pos] .reference-price{font-size:.65rem;margin-top:2px}@media(max-width:1200px) and (min-width:761px){body[data-page=pos] .products{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){body[data-page=pos] .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body[data-page=pos] .product-photo{height:115px}}

body[data-page=pos] .product h3{height:36px;min-height:36px;-webkit-line-clamp:2;line-height:18px}body[data-page=pos] .product-body{gap:4px}

/* Sale presentation shared by the shop, POS and warehouse. */
.product-photo{position:relative}.product-sale-tag{position:absolute;top:10px;left:10px;z-index:2;background:#bd222c;color:#fff;padding:6px 12px;border-radius:5px;font-weight:800;font-size:13px;line-height:1.2}.sale-price-block{display:grid;gap:5px;min-width:0}.sale-price-block .original-price{color:#616161}.original-price s{text-decoration-color:#cf2635;text-decoration-thickness:2px}.sale-price-block strong{font-size:16px;line-height:1.3}.sale-price-block .sale-savings{color:#9b1824;font-weight:700}
/* Corner sale marker and equally prominent savings. */
.product-sale-tag{top:0;left:0;width:78px;height:78px;padding:13px 28px 0 5px;border-radius:0;clip-path:polygon(0 0,100% 0,0 100%);font-size:14px;text-align:center;box-sizing:border-box}
.sale-price-block .sale-savings{font-size:16px;line-height:1.3;font-weight:700}

/* Customer menu follows the price, size, brand, strain and potency hierarchy. */
body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-body{padding:16px;gap:8px}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .customer-price{min-height:85px}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .customer-size{font-size:14px;color:#555;line-height:1.4}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .customer-brand{font-size:12px;font-weight:300;color:#666;line-height:1.4;letter-spacing:.02em}
body:is([data-page="shop"],[data-page="pos"]) .customer-product h3{height:auto;min-height:48px;font-size:17px;line-height:1.4;font-weight:750;margin:0;-webkit-line-clamp:2}
body:is([data-page="shop"],[data-page="pos"]) .customer-potency{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:12px;line-height:1.5;color:#555;min-height:36px}
body:is([data-page="shop"],[data-page="pos"]) .customer-stock{font-size:12px;color:#666;margin-top:auto}
body:is([data-page="shop"],[data-page="pos"]) .customer-product button{width:100%;min-height:44px;margin-top:8px}
@media(max-width:600px){body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-body{padding:12px}body:is([data-page="shop"],[data-page="pos"]) .customer-product h3{font-size:15px}body:is([data-page="shop"],[data-page="pos"]) .customer-product .sale-price-block strong,body:is([data-page="shop"],[data-page="pos"]) .customer-product .sale-savings{font-size:14px}}

/* Customer cards match the supplied Bleu Diamond menu reference. */
body:is([data-page="shop"],[data-page="pos"]) .customer-product{background:#111;color:#fff;border:0;border-radius:0;padding:6px;gap:0;overflow:hidden}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-photo{border-radius:0;background:#fff;padding:0;border:1px solid #fff;overflow:hidden}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-photo.brand-fallback{background:#fff;color:#111}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-photo.brand-fallback img{filter:brightness(0)}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-photo.brand-fallback img[src*="logo-eighthbrother"]{filter:none}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .brand-name-tile small{color:#666}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-sale-tag{display:flex;align-items:center;justify-content:center;top:0;left:0;width:52px;height:26px;padding:0;clip-path:none;border-radius:0;background:#c92332;color:#fff;font-size:17px;font-weight:800;z-index:2}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-body{padding:12px 7px 7px;gap:0}
body:is([data-page="shop"],[data-page="pos"]) .customer-inline-price{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 5px;min-height:22px;margin-bottom:8px;line-height:1.25}
body:is([data-page="shop"],[data-page="pos"]) .customer-inline-price s{font-size:20px;font-weight:750;color:#fff;text-decoration-color:#ed3346;text-decoration-thickness:2px}
body:is([data-page="shop"],[data-page="pos"]) .customer-inline-price strong{font-size:24px;font-weight:750;color:#fff}
body:is([data-page="shop"],[data-page="pos"]) .customer-discount{font-size:11px;letter-spacing:.03em;font-weight:750;border:1px solid #aaa;border-radius:7px;padding:3px 7px;white-space:nowrap;flex-basis:max-content}
body:is([data-page="shop"],[data-page="pos"]) .customer-inline-price .customer-discount{grid-column:1 / -1;width:fit-content;margin-top:3px}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .customer-size{font-size:14px;color:#fff;margin:0 0 12px;line-height:1.3}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .customer-brand{font-size:14px;font-style:italic;font-weight:400;color:#fff;letter-spacing:0;line-height:1.25}
body:is([data-page="shop"],[data-page="pos"]) .customer-product h3{font-size:16px;font-weight:700;line-height:1.2;min-height:38px;height:auto;margin:0 0 10px}
body:is([data-page="shop"],[data-page="pos"]) .customer-strain{margin-bottom:12px}
body:is([data-page="shop"],[data-page="pos"]) .customer-strain span{display:inline-block;background:#414141;border-radius:7px;padding:4px 10px;font-size:11px;font-weight:750;line-height:1.2}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .customer-potency{font-size:11px;color:#fff;line-height:1.5;gap:5px;min-height:32px;margin-bottom:16px}
body:is([data-page="shop"],[data-page="pos"]) .customer-product button{background:#4ded35;color:#fff;border:3px solid #fff;border-radius:7px;font-size:14px;font-weight:750;min-height:38px;padding:8px;margin-top:auto}
body:is([data-page="shop"],[data-page="pos"]) .customer-product button:hover:not(:disabled){background:#6aff50}
body:is([data-page="shop"],[data-page="pos"]) .customer-product button:focus-visible{outline:3px solid #4ded35;outline-offset:3px}
body:is([data-page="shop"],[data-page="pos"]) .customer-product button:disabled{opacity:.45}
.recipient-id,.customer-id-upload{padding:16px;margin:16px 0;border:1px solid #ddd;border-radius:12px;background:#f7f7f7}
.recipient-id img,.customer-id-upload img{display:block;max-width:100%;max-height:320px;object-fit:contain;margin:12px auto;border-radius:8px}
.customer-id-upload img[hidden]{display:none}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .customer-description{color:#ccc;font-size:12px;line-height:1.45;margin:0 0 12px}
body:is([data-page="shop"],[data-page="pos"]) .customer-strain .strain-indica{background:#7045a0}
body:is([data-page="shop"],[data-page="pos"]) .customer-strain .strain-sativa{background:#c92332}
body:is([data-page="shop"],[data-page="pos"]) .customer-strain .strain-hybrid{background:#267648}


/* Reserve the Sale strip above image content, including text printed on packaging. */
body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-photo:has(.product-sale-tag){padding-top:30px}
body:is([data-page="shop"],[data-page="pos"]) .customer-product:hover .product-photo img{transform:none}

/* Gravity flower packaging has room above its brand for the short Sale label. */
body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-photo:has(img[data-product-image="item1"]){padding-top:0}

/* Staff POS shares the customer product card layout. */
body[data-page="pos"] .customer-product .product-photo{aspect-ratio:1;height:auto}
body[data-page="pos"] .customer-product .product-photo.brand-fallback{padding:0}
.dashboard-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dashboard-filters label{margin:0}.dashboard-filters input,.dashboard-filters select{width:auto;min-height:44px}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.dashboard-metrics strong{font-size:28px;color:#111}.dashboard-metrics h2{font-size:15px;margin:12px 0}.dashboard-metrics summary{font-size:12px;color:#666;cursor:pointer}.dashboard-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.dashboard-row{margin:16px 0}.dashboard-row>div{display:flex;justify-content:space-between;gap:16px;font-size:14px}.dashboard-row meter{width:100%;height:16px;margin-top:6px}@media(max-width:1050px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.dashboard-charts{grid-template-columns:1fr}.dashboard-filters{gap:8px}.dashboard-metrics .panel{padding:16px}.dashboard-metrics strong{font-size:24px}}
/* Center dashboard content with balanced desktop margins. */
body[data-page="dashboard"] main{max-width:1200px;padding-left:32px;padding-right:32px}
body[data-page="dashboard"] .dashboard-metrics{gap:14px}
body[data-page="dashboard"] .dashboard-charts{gap:16px}
@media(max-width:760px){body[data-page="dashboard"] main{padding-left:16px;padding-right:16px}}
/* Dashboard content follows the two sales rows and three order counts of the reference. */
body[data-page="dashboard"] main{max-width:756px;padding:30px 32px;background:#fff}
body[data-page="dashboard"] .heading{display:block;background:#f7f7f7;border-bottom:1px solid #e5e5e5;padding:10px 14px;margin:0 0 22px}
body[data-page="dashboard"] .heading h1{font-size:16px;letter-spacing:0;font-weight:400;margin:0 0 8px}
body[data-page="dashboard"] .heading p{font-size:13px}
body[data-page="dashboard"] .dashboard-filters{justify-content:flex-end;gap:8px;margin-top:10px}
body[data-page="dashboard"] .dashboard-filters button{min-height:30px;padding:4px 9px;border:1px solid #887299;background:transparent;color:#78628b;border-radius:4px;font-size:13px;font-weight:400}
body[data-page="dashboard"] .dashboard-filters label{font-size:11px}
body[data-page="dashboard"] .dashboard-filters input,body[data-page="dashboard"] .dashboard-filters select{min-height:30px;padding:4px 8px;margin-top:3px;font-size:13px}
body[data-page="dashboard"] .dashboard-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;row-gap:36px;margin:0 0 42px}
body[data-page="dashboard"] .dashboard-metrics>.panel{grid-column:span 3;text-align:center;padding:8px 4px;border:0;border-radius:0;background:none;box-shadow:none;position:relative}
body[data-page="dashboard"] .dashboard-metrics>.panel:nth-child(n+5){grid-column:span 2}
body[data-page="dashboard"] .dashboard-metrics>.panel:nth-child(odd):nth-child(-n+4)::after,body[data-page="dashboard"] .dashboard-metrics>.panel:nth-child(5)::after,body[data-page="dashboard"] .dashboard-metrics>.panel:nth-child(6)::after{content:'';position:absolute;right:0;top:24px;width:1px;height:44px;background:#ddd}
body[data-page="dashboard"] .dashboard-metrics strong{font-size:42px;font-weight:300;color:#78628b;line-height:1.3}
body[data-page="dashboard"] .dashboard-metrics h2{font-size:14px;font-weight:400;margin:0;color:#444}
.dashboard-help{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:50%;background:#45414b;color:#fff;font-size:12px;cursor:help}
body[data-page="dashboard"] .dashboard-charts{gap:28px 0}
body[data-page="dashboard"] .dashboard-chart{border:0;border-radius:0;box-shadow:none;background:none;padding:12px 16px;min-height:220px}
body[data-page="dashboard"] .dashboard-chart h2{text-align:center;font-size:18px;font-weight:400;margin-bottom:24px}
body[data-page="dashboard"] .dashboard-chart>p{text-align:center;font-size:13px;color:#888}
@media(max-width:600px){body[data-page="dashboard"] main{padding:20px 12px}body[data-page="dashboard"] .dashboard-metrics strong{font-size:32px}body[data-page="dashboard"] .dashboard-metrics h2{font-size:12px}body[data-page="dashboard"] .dashboard-charts{grid-template-columns:1fr}body[data-page="dashboard"] .dashboard-filters{justify-content:flex-start}}
/* Bleu Diamond styling for the dashboard's shared toolbar and totals. */
body[data-page="dashboard"] .heading{border:1px solid #dedede;border-radius:14px;background:#f7f7f7;padding:14px 16px}
body[data-page="dashboard"] .dashboard-metrics strong{color:#111}
body[data-page="dashboard"] .dashboard-filters button{background:#111;color:#fff;border:1px solid #111;border-radius:8px;font-weight:600;min-height:36px;padding:7px 12px}
body[data-page="dashboard"] .dashboard-filters button:hover{background:#333}
body[data-page="dashboard"] .dashboard-filters input,body[data-page="dashboard"] .dashboard-filters select{border:1px solid #ccc;border-radius:8px;min-height:36px;background:#fff;color:#111;padding:7px 10px}
body[data-page="dashboard"] .dashboard-help{background:#111}
/* Staff desktop/tablet sidebar, with the existing mobile dropdown. */
#staff-sidebar{display:none}
@media(min-width:761px){
body.staff-page .staff-banner-navigation{display:none!important}
body.staff-page #staff-sidebar:not(:empty){display:block;position:fixed;top:125px;bottom:var(--staff-footer-clearance,118px);left:24px;width:240px;margin:0;background:#f7f7f7;border:1px solid #ddd;border-radius:8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
body[data-page="dashboard"] #staff-sidebar:not(:empty){left:max(24px,calc(50% - 480px))}
#staff-sidebar .sidebar-group{display:block}
#staff-sidebar a{display:block;padding:13px 15px;border-bottom:1px solid #e2e2e2;font-size:14px;color:#333;line-height:18px}
#staff-sidebar a.active{background:#111;color:#fff}
#staff-sidebar a:hover{background:#e7e7e7;color:#111}
body.staff-page main{max-width:none;width:calc(100% - 320px);margin-left:296px;margin-right:24px;padding:30px 24px}
body[data-page="dashboard"] main{width:min(692px,calc(100% - 320px));margin-left:max(296px,calc(50% - 212px));margin-right:auto;padding:30px 0}
body[data-page="dashboard"] .heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;min-height:46px;margin-bottom:22px}
body[data-page="dashboard"] .heading h1{font-size:14px;margin:0}
body[data-page="dashboard"] .heading p{font-size:11px;line-height:1.2;margin-top:3px}
body[data-page="dashboard"] .dashboard-filters{margin:0;gap:6px;flex-wrap:nowrap}
body[data-page="dashboard"] .dashboard-filters label{font-size:0}
body[data-page="dashboard"] .dashboard-filters input,body[data-page="dashboard"] .dashboard-filters select{font-size:12px;min-height:30px;padding:4px 6px;margin:0;width:110px}
body[data-page="dashboard"] .dashboard-filters button{font-size:12px;min-height:30px;padding:4px 8px;white-space:nowrap}
}
@media(min-width:761px) and (max-width:1050px){body.staff-page #staff-sidebar:not(:empty){width:190px;left:16px}body.staff-page main{margin-left:222px;width:calc(100% - 238px);padding:30px 12px}body[data-page="dashboard"] main{margin-left:222px;width:calc(100% - 238px);padding:30px 0}body[data-page="dashboard"] .heading{flex-wrap:wrap}body[data-page="dashboard"] .dashboard-filters{flex-wrap:wrap}}

/* Added workspaces remain available in independent collapsible groups. */
#staff-sidebar .sidebar-extra{margin:0;border:0;border-radius:0;background:transparent;padding:0}
#staff-sidebar .sidebar-extra summary{cursor:pointer;padding:14px 15px;border-bottom:1px solid #ddd;font-size:14px;font-weight:600;line-height:20px;list-style-position:inside}
#staff-sidebar .sidebar-extra summary:hover{background:#e7e7e7}
#staff-sidebar .sidebar-extra a{padding-left:29px}
#staff-sidebar .sidebar-extra summary:focus-visible{outline:2px solid #111;outline-offset:-3px}

.workflow-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}.workflow-toolbar input{min-width:0;max-width:100%}.workflow-form{margin:18px 0}.workflow-form .social-actions{margin-top:18px}.workflow-table{width:100%;overflow:auto;margin:16px 0}.workflow-table table{width:100%;border-collapse:collapse}.workflow-table th,.workflow-table td{padding:10px;text-align:left;border-bottom:1px solid #ddd;vertical-align:top}.workflow-table input{min-width:90px}.workflow-table input[type=checkbox]{min-width:0}.workflow-table th{white-space:nowrap}.workflow-form select[multiple]{min-height:160px}.workflow-form label{overflow-wrap:anywhere}.workflow-form{min-width:0}.workflow-toolbar a{padding:10px}@media(max-width:600px){.workflow-toolbar button{min-height:44px}.workflow-form .employee-fields{grid-template-columns:1fr}}

/* Keep existing card gutters; shorten only mobile POS card contents. */
@media(max-width:600px){
 body[data-page="pos"] .layout>section .products{grid-template-columns:minmax(0,1fr);}
 body[data-page="pos"] .customer-product{min-width:0;}
 body[data-page="pos"] .customer-product .product-body{padding:10px;}
 body[data-page="pos"] .customer-product h3{font-size:14px;min-height:0;margin-bottom:6px;overflow-wrap:anywhere;}
 body[data-page="pos"] .customer-product .customer-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12px;line-height:1.3;margin-bottom:6px;}
 body[data-page="pos"] .customer-product .customer-size,body[data-page="pos"] .customer-product .customer-potency{min-height:0;margin-bottom:6px;}
 body[data-page="pos"] .customer-product .customer-inline-price{flex-wrap:wrap;}
 body[data-page="pos"] .customer-product .customer-discount{max-width:100%;white-space:normal;}
}
@media(min-width:761px){
 body[data-page="pos"] .layout>section .products{grid-template-columns:repeat(2,minmax(0,1fr));}
}
/* Reduce only the two requested internal card gaps. */
.recipient-id img[hidden]{display:none;}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .product-photo.brand-fallback img[data-logo-treatment="original"]{filter:none;}
#delivery-proof [data-approve-recipient]{margin-right:12px;margin-bottom:12px;}
body:is([data-page="shop"],[data-page="pos"]) .customer-product h3{min-height:0;margin-bottom:5px;}
body:is([data-page="shop"],[data-page="pos"]) .customer-product .customer-potency{min-height:0;margin-bottom:8px;}
@media(max-width:600px){
 body[data-page="pos"] .customer-product h3,
 body[data-page="pos"] .customer-product .customer-potency{margin-bottom:3px;}
}

/* Staff theme: preserve strong black structure and soften the workspace with blue accents. */
body.staff-page{
 --staff-black:#090c11;
 --staff-navy:#102a56;
 --staff-blue:#2f8fd3;
 --staff-blue-light:#8bc9f5;
 --staff-blue-pale:#edf7ff;
 --staff-blue-line:#c7e2f5;
}
body.staff-page .panel{border-color:var(--staff-blue-line)}
body.staff-page button:not(.danger):not(.product-remove),body.staff-page .button{background:#fff;color:var(--staff-black);border:1px solid var(--staff-blue-line)}
body.staff-page button:not(.danger):not(.product-remove):hover,body.staff-page .button:hover{background:var(--staff-blue-pale);color:var(--staff-black);border-color:var(--staff-blue-light)}
body.staff-page button:focus-visible,body.staff-page a:focus-visible,body.staff-page input:focus-visible,body.staff-page select:focus-visible,body.staff-page textarea:focus-visible{outline:3px solid var(--staff-blue-light);outline-offset:2px}
body.staff-page input:focus,body.staff-page select:focus,body.staff-page textarea:focus{border-color:var(--staff-blue)}
body.staff-page .stat strong,body.staff-page .total strong{color:var(--staff-blue)}

/* Apply the same visual language to every staff sidebar workspace. */
body.staff-page main>h1,body.staff-page main>section>h1{color:var(--staff-black)}
body.staff-page main>h1::after,body.staff-page main>section>h1::after{content:'';display:block;width:52px;height:4px;margin-top:12px;border-radius:999px;background:linear-gradient(90deg,var(--staff-navy),var(--staff-blue-light))}
body.staff-page .eyebrow{color:var(--staff-blue)}
body.staff-page .panel{position:relative;background:linear-gradient(145deg,#fff 0%,#fff 76%,#f8fcff 100%);box-shadow:0 8px 22px rgba(16,42,86,.055)}
body.staff-page .panel>h2,body.staff-page .panel>h3,body.staff-page .dashboard-chart h2{color:var(--staff-navy)}
body.staff-page .panel>h2::after,body.staff-page .panel>h3::after{content:'';display:block;width:30px;height:3px;margin-top:9px;border-radius:999px;background:var(--staff-blue-light)}
body.staff-page .panel>summary{color:var(--staff-navy);border-color:var(--staff-blue-line)}
body.staff-page details.panel[open]>summary{border-bottom:1px solid var(--staff-blue-line)}
body.staff-page .line,body.staff-page .stock,body.staff-page .workflow-table th,body.staff-page .workflow-table td{border-color:var(--staff-blue-line)}
body.staff-page .workflow-table thead,body.staff-page table thead{background:var(--staff-blue-pale);color:var(--staff-navy)}
body.staff-page .workflow-table tbody tr:hover,body.staff-page table tbody tr:hover{background:#f7fbff}
body.staff-page input,body.staff-page select,body.staff-page textarea{border-color:var(--staff-blue-line);color:var(--staff-black)}
body.staff-page .quiet,body.staff-page button.quiet,body.staff-page .qty button{background:var(--staff-blue-pale);border:1px solid var(--staff-blue-line);color:var(--staff-navy)}
body.staff-page .quiet:hover,body.staff-page button.quiet:hover,body.staff-page .qty button:hover{background:#dcefff;border-color:var(--staff-blue-light);color:var(--staff-navy)}
body.staff-page .badge{background:var(--staff-blue-pale);border:1px solid var(--staff-blue-line);color:var(--staff-navy)}
body.staff-page .category-tabs{border-bottom-color:var(--staff-blue-line)}
body.staff-page .category-tabs button{background:var(--staff-blue-pale);border-color:var(--staff-blue-line);color:var(--staff-navy)}
body.staff-page .category-tabs button.selected{background:#fff;border-color:var(--staff-blue-light);color:var(--staff-black);box-shadow:inset 0 -4px 0 var(--staff-blue)}
body.staff-page .workflow-toolbar{padding:12px;border:1px solid var(--staff-blue-line);border-radius:12px;background:var(--staff-blue-pale)}
body.staff-page .product:not(.customer-product){border-color:var(--staff-blue-line);box-shadow:0 8px 20px rgba(16,42,86,.06)}
body.staff-page .product:not(.customer-product) .product-top{background:var(--staff-blue-pale);border-color:var(--staff-blue-line);color:var(--staff-navy)}
body.staff-page .product:not(.customer-product) .buy strong,body.staff-page .line>strong,body.staff-page .stock>strong,body.staff-page output{color:var(--staff-blue)}
body[data-page="pos"].staff-page .customer-product{box-shadow:0 0 0 2px var(--staff-blue-line),0 8px 20px rgba(16,42,86,.1)}
body.staff-page progress{accent-color:var(--staff-blue)}
body.staff-page hr{border:0;border-top:1px solid var(--staff-blue-line)}
body[data-page="pending-fleet-0"] .fleet-heading{padding:18px 20px;border:1px solid var(--staff-blue-line);border-radius:14px;background:linear-gradient(135deg,#fff,var(--staff-blue-pale));box-shadow:inset 4px 0 0 var(--staff-navy)}
body[data-page="pending-fleet-0"] .fleet-heading h1{margin:2px 0 6px}
body[data-page="pending-fleet-0"] .dispatcher-map-panel{padding:20px}
body[data-page="pending-fleet-0"] .dispatch-map-host .delivery-map-canvas{height:min(58vh,560px);min-height:360px;border-color:var(--staff-blue-line)}
body[data-page="pending-fleet-0"] .dispatch-map-row{border-color:var(--staff-blue-line)}

body[data-page="dashboard"] .heading{background:linear-gradient(135deg,#fff 0%,var(--staff-blue-pale) 100%);border-color:var(--staff-blue-line);box-shadow:inset 4px 0 0 var(--staff-navy)}
body[data-page="dashboard"] .dashboard-filters button{background:#fff;color:var(--staff-black);border-color:var(--staff-blue-line)}
body[data-page="dashboard"] .dashboard-filters button:hover{background:var(--staff-blue-pale);color:var(--staff-black);border-color:var(--staff-blue-light)}
body[data-page="dashboard"] .dashboard-filters input,body[data-page="dashboard"] .dashboard-filters select{border-color:var(--staff-blue-line)}
body[data-page="dashboard"] .dashboard-metrics strong{color:var(--staff-blue)}
body[data-page="dashboard"] .dashboard-metrics>.panel::before{content:'';display:block;width:34px;height:3px;margin:0 auto 8px;border-radius:999px;background:linear-gradient(90deg,var(--staff-navy),var(--staff-blue-light))}
body[data-page="dashboard"] .dashboard-metrics>.panel>h2::after{display:none}
body[data-page="dashboard"] .dashboard-metrics>.panel:nth-child(odd):nth-child(-n+4)::after,body[data-page="dashboard"] .dashboard-metrics>.panel:nth-child(5)::after,body[data-page="dashboard"] .dashboard-metrics>.panel:nth-child(6)::after{background:var(--staff-blue-line)}
body[data-page="dashboard"] .dashboard-help{background:var(--staff-navy);box-shadow:0 0 0 3px var(--staff-blue-pale)}
body[data-page="dashboard"] .dashboard-chart h2{color:var(--staff-navy)}
body[data-page="dashboard"] .dashboard-row>div strong{color:var(--staff-blue)}
body[data-page="dashboard"] .dashboard-row meter{accent-color:var(--staff-blue)}
body[data-page="dashboard"] .dashboard-row meter::-webkit-meter-bar{background:var(--staff-blue-pale);border:1px solid var(--staff-blue-line);border-radius:999px}
body[data-page="dashboard"] .dashboard-row meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,var(--staff-navy),var(--staff-blue-light));border-radius:999px}
body[data-page="dashboard"] .dashboard-row meter::-moz-meter-bar{background:linear-gradient(90deg,var(--staff-navy),var(--staff-blue-light));border-radius:999px}
body[data-page="pos"].staff-page .customer-product button{background:#4ded35;color:#fff;border-color:#fff}
body[data-page="pos"].staff-page .customer-product button:hover:not(:disabled){background:#6aff50;color:#fff;border-color:#fff}

/* Meadow-style dashboard pies paired with compact breakdown tables. */
body[data-page="dashboard"] main{width:min(980px,calc(100% - 320px));margin-left:max(296px,calc(50% - 350px))}
body[data-page="dashboard"] .dashboard-chart{padding:18px;min-height:280px}
body[data-page="dashboard"] .dashboard-visual{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center}
body[data-page="dashboard"] .dashboard-donut{width:142px;aspect-ratio:1;border-radius:50%;background:conic-gradient(var(--segments));display:grid;place-items:center;box-shadow:0 0 0 1px var(--staff-blue-line)}
body[data-page="dashboard"] .dashboard-donut::after{content:'';grid-area:1/1;width:70%;aspect-ratio:1;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px var(--staff-blue-line)}
body[data-page="dashboard"] .dashboard-donut>span{grid-area:1/1;z-index:1;text-align:center;color:var(--staff-navy)}
body[data-page="dashboard"] .dashboard-donut strong{display:block;font-size:24px;line-height:1;color:var(--staff-blue)}
body[data-page="dashboard"] .dashboard-donut small{display:block;margin-top:5px;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
body[data-page="dashboard"] .dashboard-table-wrap{min-width:0;overflow-x:auto}
body[data-page="dashboard"] .dashboard-table{width:100%;border-collapse:collapse;font-size:12px}
body[data-page="dashboard"] .dashboard-table th,body[data-page="dashboard"] .dashboard-table td{padding:7px 8px;border-bottom:1px solid var(--staff-blue-line);text-align:right;white-space:nowrap}
body[data-page="dashboard"] .dashboard-table th:first-child,body[data-page="dashboard"] .dashboard-table td:first-child{text-align:left;white-space:normal}
body[data-page="dashboard"] .dashboard-table th{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--staff-navy)}
body[data-page="dashboard"] .dashboard-table td:last-child{font-weight:700;color:var(--staff-blue)}
body[data-page="dashboard"] .dashboard-key{display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:2px;background:var(--key-color)}
@media(max-width:1050px){body[data-page="dashboard"] main{margin-left:222px;width:calc(100% - 238px)}}
@media(max-width:760px){body[data-page="dashboard"] main{width:auto;margin-left:auto}.dashboard-visual{grid-template-columns:1fr!important}.dashboard-donut{margin:0 auto}}

@media(min-width:761px){
 body.staff-page #staff-sidebar:not(:empty){background:#f8fbfe;border-color:var(--staff-blue-line);box-shadow:0 10px 30px rgba(16,42,86,.08)}
 #staff-sidebar a{border-bottom-color:var(--staff-blue-line)}
 #staff-sidebar a.active{background:var(--staff-black);color:#fff;box-shadow:inset 5px 0 0 var(--staff-blue-light)}
 #staff-sidebar a:hover{background:var(--staff-blue-pale);color:var(--staff-navy)}
 #staff-sidebar .sidebar-extra summary{border-bottom-color:var(--staff-blue-line);color:var(--staff-navy)}
 #staff-sidebar .sidebar-extra summary:hover{background:var(--staff-blue-pale)}
 #staff-sidebar .sidebar-extra summary:focus-visible{outline-color:var(--staff-blue)}
}
