:root{--shell-bg:#f4f5f7;--shell-paper:#fff;--shell-text:#292c32;--shell-muted:#646a73;--shell-line:#e1e3e7;--shell-dark:#25282e;--shell-gold:#a77a27;background:var(--shell-bg);color:var(--shell-text);font-family:system-ui,-apple-system,Segoe UI,sans-serif}body{background:var(--shell-bg)}main,main:has(#account:not([hidden])){display:block;max-width:none;margin:0;padding:0}h1{color:var(--shell-text);font-size:28px;letter-spacing:-.7px;line-height:1.25;margin:8px 0 14px}h2{font-size:21px;color:var(--shell-text);letter-spacing:0}h3{font-size:19px}button{width:auto;min-height:42px;padding:10px 15px;margin:8px 6px 8px 0;font-weight:600;background:var(--shell-gold);border:1px solid var(--shell-gold);color:#fff}button:disabled{cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #c6a361;outline-offset:3px}input,select{background:#fff;border-color:#cbd0d6;font-size:14px}input[type=checkbox]{accent-color:var(--shell-gold)}label{color:var(--shell-text);font-weight:500}form{margin-top:16px}.brand{color:#d8b576;font-size:25px;font-weight:700}.brand span{font-weight:500}.login-layout{display:grid;grid-template-columns:.85fr 1.15fr;min-height:620px;background:#fff}.login-brand{background:var(--shell-dark);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:55px 48px;border-top:4px solid var(--shell-gold)}.login-brand h1{font-size:40px;color:#fff;letter-spacing:-1px}.login-brand p,.login-brand small{color:#c9ccd2}.login-fields{width:100%;max-width:460px;padding:55px 35px;margin:auto}.login-fields>h2{font-size:30px}.login-fields button{width:100%;margin-top:24px}.eyebrow{color:var(--shell-muted)}.footnote{color:var(--shell-muted);font-size:12px}#account-summary,#store-chooser,#credential-gate,.account-global-actions{max-width:630px;margin:auto;padding:20px 30px}#account-summary{padding-top:40px}#account-summary .brand{color:#846025}#account-summary h2{font-size:18px;margin-bottom:0}#identity{margin-top:5px;color:var(--shell-muted)}#store-chooser h1{font-size:26px}#stores{padding:0;margin:18px 0;list-style:none}.store-choice{width:100%;background:#fff;color:var(--shell-text);border:1px solid var(--shell-line);text-align:left;padding:16px;margin:7px 0}.store-choice:hover,.store-choice[aria-current=true]{background:#faf4e7;border-color:#d4ba88}.store-choice small{display:block;color:var(--shell-muted);font-weight:400;margin-top:5px}#credential-gate details{margin-top:0}.account-global-actions button{background:#fff;color:var(--shell-text);border-color:var(--shell-line)}#account.is-working .account-global-actions{display:none}#workspace{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:calc(100vh - 48px)}#workspace.menu-collapsed{grid-template-columns:66px minmax(0,1fr)}#shell-sidebar{background:var(--shell-dark);color:#fff;padding:24px 10px;display:flex;flex-direction:column;gap:8px;min-width:0}#shell-sidebar>.brand{padding:5px 16px 24px;font-size:21px}#shell-nav{display:flex;flex-direction:column;gap:3px}#shell-sidebar button{background:transparent;border-color:transparent;color:#e3e5e9;text-align:left;width:100%;display:flex;align-items:center;gap:10px;padding:11px 12px;margin:0;font-size:13px}#shell-sidebar button[aria-current=page]{background:#444036;color:#f0d6a7;border-color:#685738}.nav-icon{font:21px system-ui;display:inline-flex;align-items:center;justify-content:center;width:20px;flex:none}.nav-section{font-size:10px;letter-spacing:1.6px;color:#adb1b9;margin:16px 13px 5px}.nav-label{overflow-wrap:anywhere}#sidebar-logout{margin-top:25px!important}.menu-collapsed #shell-sidebar>.brand,.menu-collapsed .nav-label,.menu-collapsed .nav-section{display:none}.menu-collapsed #shell-sidebar button{justify-content:center;padding:12px 5px}.shell-main{min-width:0}.shell-top{background:#fff;border-bottom:1px solid var(--shell-line);padding:12px 24px;display:flex;align-items:center;gap:14px;justify-content:flex-start;flex-wrap:wrap}.shell-top button{margin:0}.shell-top #menu-toggle{background:transparent;color:var(--shell-text);border-color:transparent;font-size:20px;padding:4px 8px;min-width:38px}#shell-page-title{color:var(--shell-muted);font-size:13px}#store-control{margin-left:auto;position:relative}#store-toggle{background:#f8f8f5;color:var(--shell-text);border-color:var(--shell-line);text-align:left;padding:7px 14px}#store-toggle small{display:block;font-size:10px;color:var(--shell-muted);font-weight:400}#active-user{font-size:12px;max-width:200px;overflow-wrap:anywhere}#store-menu{position:absolute;right:0;top:calc(100% + 8px);width:300px;max-width:calc(100vw - 24px);background:#fff;box-shadow:0 12px 36px #10182825;border:1px solid var(--shell-line);border-radius:8px;padding:14px;z-index:20}#store-menu label{margin-top:0}.shell-content{padding:22px 30px}.breadcrumb{font-size:12px;color:var(--shell-muted);margin:0 0 20px}#shell-message:empty{display:none}#shell-message{padding:10px 13px;background:#fff6df;border-radius:6px;color:#72551c;font-size:13px}#page-home>h1{margin-bottom:4px}#dashboard-store{color:var(--shell-muted);margin-top:0}.dashboard-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:25px 0}.dashboard-metrics article,.dashboard-shortcuts{background:#fff;border:1px solid var(--shell-line);border-radius:9px;padding:22px}.dashboard-metrics h2{font-size:14px;margin:0;color:var(--shell-muted);font-weight:500}.dashboard-metrics strong{font-size:32px;font-weight:500;display:block;margin:9px 0}.dashboard-metrics p{font-size:12px;color:var(--shell-muted);margin-bottom:0}.dashboard-shortcuts h2{font-size:18px;margin:0 0 12px}.dashboard-shortcuts button{background:#fff;color:var(--shell-text);border-color:var(--shell-line)}[data-shell-page]:not(#page-home){background:#fff;border:1px solid var(--shell-line);border-radius:9px;padding:24px}[data-shell-page]>section{border-top:0!important;padding-top:0!important;margin-top:0!important}.legacy-launcher{display:none!important}.scope-note{font-size:13px;color:var(--shell-muted);margin-bottom:22px}#products-panel>h3,#stock-panel>h3,#staff-panel>h3{margin-top:0}#product-list,#stock-list{padding:0;list-style:none}#product-list>li,#stock-list>li{padding:15px 0;border-bottom:1px solid var(--shell-line)}#product-list>li p,#stock-list>li p{font-size:13px;margin:7px 0}.catalog-editor{padding-top:16px;border-top:1px solid var(--shell-line);margin:20px 0}.catalog-tabs{border-bottom:1px solid var(--shell-line);padding-bottom:12px}.catalog-tabs button{border-color:transparent;font-weight:500}.catalog-tabs button[aria-selected=true]{background:#f3e9d4;color:#76571f;border-color:#e1cb9c}.catalog-editor [role=tabpanel]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px}.catalog-editor [role=tabpanel]>div,.catalog-editor [role=tabpanel]>p{grid-column:1/-1}.catalog-editor input[type=checkbox]{width:auto}.catalog-editor p{font-size:13px;color:var(--shell-muted)}.catalog-store{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.catalog-store label{flex:1;min-width:150px}.employee{padding-top:24px}.employee form{margin:14px 0}#unsaved-dialog{max-width:calc(100% - 30px);width:500px;background:#fff;border:1px solid var(--shell-line);border-radius:10px;padding:26px;color:var(--shell-text)}#unsaved-dialog::backdrop{background:#15192370}.dialog-actions{display:flex;gap:8px;flex-wrap:wrap}.dialog-actions button:not(#save-and-continue){background:#fff;color:var(--shell-text);border-color:var(--shell-line)}footer{padding:16px;font-size:11px}#password-change{max-width:520px}
@media(max-width:800px){.shell-content{padding:18px}.shell-top{padding:10px 16px;gap:9px}.dashboard-metrics{grid-template-columns:1fr}.dashboard-metrics article{padding:16px}.login-brand{padding:30px}.login-fields{padding:35px 28px}#active-user{max-width:130px}.shell-content [data-shell-page]:not(#page-home){padding:18px}}
@media(max-width:640px){#workspace,#workspace.menu-collapsed{grid-template-columns:minmax(0,1fr);position:relative}#shell-sidebar{position:absolute;top:70px;bottom:0;left:0;width:225px;z-index:15;box-shadow:8px 10px 25px #10182825;min-height:680px}.menu-collapsed #shell-sidebar{display:none}#shell-page-title{display:none}#active-user{display:none}.shell-top{min-height:70px}.shell-content{padding:16px 12px}.catalog-editor [role=tabpanel]{grid-template-columns:1fr}.login-layout{grid-template-columns:1fr;min-height:0}.login-brand{padding:24px;gap:24px}.login-brand>div{display:none}.login-brand .brand{font-size:24px}.login-fields{max-width:460px;padding:30px 24px}.login-fields input{font-size:16px}#account-summary,#store-chooser,#credential-gate,.account-global-actions{padding-left:22px;padding-right:22px}.shell-content [data-shell-page]:not(#page-home){padding:15px}input,select{font-size:16px}.catalog-tabs button{padding:9px 10px}#store-menu{width:270px}fieldset{min-width:0}}

/* Separate product consultation, report and editor. */
#operation-menu{border-left:1px solid #685738;margin-left:12px;padding-left:4px}#operation-toggle::after{content:'⌄';margin-left:auto}#operation-toggle[aria-expanded=false]::after{content:'›'}.menu-collapsed #operation-toggle{font-size:0}.menu-collapsed #operation-toggle::after{font-size:18px}.menu-collapsed #operation-menu{margin-left:0;padding-left:0;border:0}
.catalog-heading,.catalog-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.catalog-heading{justify-content:space-between;margin-bottom:18px}.catalog-heading h3{margin:0;font-size:23px;font-weight:500}.catalog-heading button,.catalog-toolbar button{margin:0}.catalog-toolbar{margin:14px 0}.catalog-filter-summary{font-size:13px;color:var(--shell-muted)}#product-consultation{max-width:800px;margin:0}#product-consultation label{margin-top:0}#product-consultation button{margin-top:16px}.catalog-table-wrap{overflow-x:auto;max-width:100%}table#product-list{width:100%;min-width:640px;border-collapse:collapse;font-size:13px}#product-list th,#product-list td{padding:11px 8px;border-bottom:1px solid var(--shell-line);text-align:left;vertical-align:top}#product-list th{font-weight:500;background:#f7f8fa;color:var(--shell-muted)}#product-list td small{display:block;color:var(--shell-muted)}#product-list td button{min-height:34px;font-size:12px;padding:6px 8px;margin:0 4px 5px 0;background:#fff;color:var(--shell-text);border-color:var(--shell-line)}#products-panel .catalog-editor{border-top:0;margin-top:0;padding-top:0}#products-panel .catalog-editor>h4{display:none}#products-panel .catalog-editor>button{margin-top:20px}#page-presale{background:transparent!important;border:0!important;padding:0!important}#page-products{min-width:0}
@media(max-width:640px){#operation-toggle{font-size:13px!important}#operation-menu{margin-left:12px!important;border-left:1px solid #685738!important}.catalog-heading{align-items:flex-start}.catalog-toolbar button{flex:1 1 auto}table#product-list{min-width:620px}}

/* Simple navigation: one direct destination; each module starts closed. */
#shell-sidebar .nav-group-toggle::after{content:'›';margin-left:auto;font-size:16px}#shell-sidebar .nav-group-toggle[aria-expanded=true]::after{content:'⌄'}#shell-sidebar .nav-group-menu{border-left:1px solid #685738;margin-left:14px;padding-left:5px}#shell-sidebar .nav-group-menu button{font-weight:400;font-size:12px}#shell-sidebar #operation-menu{margin-left:14px;padding-left:5px}#shell-sidebar #sidebar-logout{margin-top:0!important}.menu-collapsed #shell-sidebar .nav-group-menu{margin-left:0;border:0;padding-left:0}.menu-collapsed #shell-sidebar .nav-group-toggle{font-size:13px}.menu-collapsed #shell-sidebar .nav-group-toggle::after{display:none}
/* Product consultation: a single primary action, quiet utilities and compact rows. */
#products-panel[data-screen=report]>.catalog-heading,#products-panel[data-screen=query]>.catalog-heading{margin-bottom:16px}#products-panel>[role=status]:empty{display:none}
#products-panel[data-screen=report] button,#products-panel[data-screen=query] button{background:white;color:var(--shell-text);border-color:var(--shell-line);font-size:13px;font-weight:500;min-height:36px;padding:8px 12px}
#products-panel[data-screen=report] button.catalog-primary,#products-panel[data-screen=query] button.catalog-primary{background:var(--shell-gold);color:white;border-color:var(--shell-gold)}
#products-panel[data-screen=report]>.catalog-toolbar{justify-content:space-between;gap:12px;margin:12px 0}.catalog-utilities{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.catalog-filter-summary{margin:0;font-size:12px}.catalog-export-menu{position:relative;margin:0}.catalog-export-menu summary{list-style:none;border:1px solid var(--shell-line);border-radius:6px;padding:8px 12px;font-size:13px;min-height:36px;background:white;font-weight:500;cursor:pointer}.catalog-export-menu summary::-webkit-details-marker{display:none}.catalog-export-menu summary::after{content:'⌄';margin-left:9px}.catalog-export-options{position:absolute;right:0;top:calc(100% + 5px);width:155px;padding:5px;background:white;border:1px solid var(--shell-line);border-radius:6px;box-shadow:0 5px 16px #20252c20;z-index:5}.catalog-export-options button{display:block;width:100%;text-align:left;border:0!important}.catalog-price{text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums}#product-list th,#product-list td{padding:10px 8px;font-size:12px}#product-list td button{padding:4px 6px;min-height:30px;font-size:12px;background:transparent;border:0;color:#805c19}#products-panel>.catalog-toolbar:last-child{font-size:12px;padding-top:8px}#products-panel>.catalog-toolbar:last-child>span{order:-1;margin-right:auto}#products-panel>.catalog-toolbar:last-child>button{padding:3px 9px;min-height:30px}.catalog-toolbar button:disabled{opacity:.45}
@media(max-width:640px){#shell-sidebar .nav-group-toggle{font-size:13px!important}.menu-collapsed #shell-sidebar .nav-group-toggle::after{display:block}#products-panel[data-screen=report]>.catalog-toolbar>.catalog-utilities{width:100%;justify-content:flex-end}#products-panel>.catalog-toolbar:last-child>span{flex-basis:100%}}
@media(pointer:coarse){#products-panel[data-screen=report] button,#products-panel[data-screen=query] button,.catalog-export-menu summary,#product-list td button{min-height:44px}}

/* Compact navigation always contains only primary module icons. */
.menu-collapsed #shell-sidebar .nav-group-menu{display:none!important}
