/* S02: administrative shell shared by the two distinct workspaces. */
:root{--ink:#263249;--muted:#626e82;--gold:#285fcd;--gold-soft:#edf3ff;--paper:#f3f5f9;--line:#e3e8f0;--dark:#1d2535;--white:#fff;--radius:9px;--bs-link-color:#285fcd;--bs-link-hover-color:#17459e}
body{font-family:'Segoe UI',system-ui,sans-serif}a{color:#285fcd}a:hover{color:#17459e}h1{font:600 25px/1.3 'Segoe UI',system-ui,sans-serif;letter-spacing:0;margin-bottom:5px}.eyebrow{display:none}.brand{letter-spacing:.6px;padding:23px 20px;color:#edf2fb}.brand-mark{font-family:inherit;color:#edf2fb;border-color:#596a87;border-radius:7px}.brand small{color:#b1bed2;font-size:11px}.sidebar{background:#1d2535;color:#edf2fb}.sidebar nav>a{color:#bdc9dc;font-size:14px;min-height:44px}.sidebar nav>a.active{background:#354866;color:#fff}.sidebar nav>a:hover{background:#2a364c;color:#fff}.sidebar nav>a small{font-size:11px;margin-left:auto}.sidebar-note{color:#c5d1e3;border-color:#445069}.sidebar-note small{color:#b1bed2;font-size:11px;margin-left:0}.business-selector{padding:0 20px 16px}.business-selector label{display:block;color:#b1bed2;font-size:12px;margin-bottom:7px}.business-selector select{display:block;width:100%;min-width:0;background:#2d394e;color:#fff;border:1px solid #53617a;border-radius:6px;padding:9px 5px;font-size:13px}.business-selector button{width:100%;margin-top:8px;background:transparent;color:#cedafa;border:1px solid #53617a;border-radius:6px;padding:6px;font-size:12px}.nav-tools{margin:15px 10px;color:#b1bed2;font-size:13px}.nav-tools summary{padding:8px 3px;cursor:pointer}.nav-tools a{display:block;padding:9px;color:#c5d1e3}.topbar{background:#fff;height:70px}.breadcrumb-label{font-size:14px;color:#263249;letter-spacing:0}.avatar{background:#edf3ff;border-color:#d6e2fb;color:#285fcd}.content-wrap{padding:26px 30px}.page-heading{margin-bottom:20px}.panel,.metric{border-radius:9px;background:#fff;box-shadow:none;border:1px solid #e3e8f0}.metric strong{font-family:inherit;font-weight:600;font-size:27px;color:#263249}.metric small,.caption{font-size:12px}.workspace-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.workspace-metrics .metric{min-width:0}.filters{background:#fff;border:1px solid #e3e8f0;border-radius:9px}.filters label{font-size:12px}.btn-primary{background:#285fcd;border-color:#285fcd;color:#fff;box-shadow:none}.btn-primary:hover,.btn-primary:active,.btn-primary:focus{background:#17459e!important;border-color:#17459e!important;color:#fff!important}.btn-outline-primary,.btn-outline-secondary{background:#fff;color:#285fcd;border-color:#d2dcea}.btn-outline-primary:hover,.btn-outline-secondary:hover{background:#edf3ff;color:#17459e;border-color:#98b2e5}.view-tabs>a.selected{color:#285fcd;border-bottom-color:#285fcd}.callout,.form-guidance,.workspace-notice{background:#edf3ff;border-color:#d6e2fb;color:#263249}.workspace-notice{padding:12px 16px;margin-bottom:20px;border-radius:7px;border-left:3px solid #285fcd}.workspace-chart{display:grid;gap:12px}.workspace-chart-row{display:grid;grid-template-columns:45px minmax(0,1fr) 130px;gap:12px;align-items:center;font-size:12px}.workspace-chart-row strong{text-align:right;font-weight:500;font-variant-numeric:tabular-nums}.workspace-track{background:#edf3ff;height:12px;border-radius:3px;overflow:hidden}.workspace-bar{height:100%;background:#285fcd}.workspace-bar.negative{background:#b14242}.group-number{color:#285fcd}.list-row{gap:16px}.list-row>span{min-width:0;overflow-wrap:anywhere}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#285fcd}
@media(max-width:900px){.content-wrap{padding:20px 16px}.topbar{padding:12px 16px;height:auto;min-height:65px}.breadcrumb-label{font-size:12px}.profile>span:not(.avatar){display:none}.workspace-metrics{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:1fr}.workspace-chart-row{grid-template-columns:34px minmax(0,1fr) 108px;gap:8px}.page-heading{align-items:flex-start;flex-wrap:wrap}.business-selector select{font-size:16px}}
.breadcrumb-label{display:inline}.header-left{min-width:0}.breadcrumb-label{overflow-wrap:anywhere}.topbar{gap:12px}.metric>span{font-size:13px}.metric small{font-size:12px}.guest-layout{background:#f3f5f9}.guest-brand{font-family:inherit;letter-spacing:1px}input:not([type=hidden]),select,textarea,.form-control{background:#fff;border-color:#d2dcea}.form-control:focus{background:#fff;border-color:#285fcd;box-shadow:0 0 0 3px #285fcd20}.line-form{background:#f7f9fc}.line-form legend,.form-guidance h3{color:#415777}.form-guidance h2{font-family:inherit;font-size:18px;font-weight:600}.next-action{background:#edf3ff;border-color:#d6e2fb}.next-action p{color:#626e82}
@media(pointer:coarse){button,.btn,.nav-tools a{min-height:44px}input,select,textarea{font-size:16px}}
.retail-form{display:grid;gap:20px;max-width:1080px}.sale-total{font-size:26px;font-weight:600;font-variant-numeric:tabular-nums}.sale-line-info{margin:14px 0 0}.receipt{max-width:1050px}.receipt-totals{max-width:390px;margin-left:auto}.receipt-totals strong{font-variant-numeric:tabular-nums}
@media print{.receipt-actions,.workspace-notice{display:none!important}.receipt{border:0;padding:0;max-width:none}.receipt .table-responsive{overflow:visible}.receipt .table th,.receipt .table td{white-space:normal}.receipt table{width:100%}.receipt tr{break-inside:avoid}.receipt thead{display:table-header-group}}
.commercial-sheet{max-width:1000px;margin:24px auto;border-top:4px solid #f49b00}.commercial-brand{display:flex;align-items:center;gap:24px;border-bottom:2px solid #f49b00;padding-bottom:18px;margin-bottom:24px}.commercial-brand h1{font-size:26px}.commercial-brand img{object-fit:contain;flex-shrink:0}.commercial-sheet thead th{background:#c7f0eb}.commercial-sheet p{overflow-wrap:anywhere}

.analytics-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px}.analytics-grid>.panel{min-width:0}.profit-chart{width:100%;height:auto;max-height:290px;margin-top:12px}.line-sales,.line-profit{fill:none;stroke-width:2.5;stroke-linejoin:round}.line-sales{stroke:#285fcd}.line-profit{stroke:#12836f}.dot-sales{fill:#285fcd}.dot-profit{fill:#12836f}.chart-legend,.chart-axis{display:flex;justify-content:space-between;gap:15px;font-size:12px}.chart-legend{justify-content:flex-start}.series-sales{color:#285fcd}.series-profit{color:#12836f}.chart-axis{color:#626e82}.component-row{margin:16px 0}.component-row>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px;font-size:13px}.component-row strong{font-variant-numeric:tabular-nums}.chart-empty{padding:55px 20px;background:#f7f9fc;color:#626e82;text-align:center;margin:15px 0;border-radius:7px}.analytics-grid details summary{font-size:13px;cursor:pointer}@media(max-width:1000px){.analytics-grid{grid-template-columns:1fr}.chart-axis{font-size:11px}.profit-chart{min-height:170px}}

.notification-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;text-decoration:none}.notification-link [data-alert-count]{background:#e8eefb;color:#183a78;border-radius:1rem;padding:.1rem .5rem;font-weight:700}.alert-row{display:flex;justify-content:space-between;gap:1rem;padding:1.2rem 0;border-bottom:1px solid #e5e9f0}.alert-row h2{font-size:1rem}.alert-row p{overflow-wrap:anywhere}@media(max-width:700px){.alert-row{display:block}.profile{flex-wrap:wrap}.list-row{flex-wrap:wrap}}
