
.preview-notice{margin:20px 28px 0;padding:12px 16px;border:1px solid #ead7a9;border-radius:12px;background:#fff9ea;color:#76551a;font-size:13px}
.topbar{justify-content:space-between}.topbar form{margin:0}.topbar .user-meta{display:block}
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 15% 15%,#fce7f3,transparent 55%),#f5f6fa;font-family:Inter,system-ui,sans-serif}
.login-card{width:min(100%,430px);padding:40px;background:white;border:1px solid #e7e8ed;border-radius:24px;box-shadow:0 18px 60px #18223012}
.login-card .brand-mark{width:52px;height:52px;display:grid;place-items:center;background:#b91372;color:white;border-radius:14px;font-weight:800;margin-bottom:28px}
.login-card h1{font-size:30px;letter-spacing:-1px;margin:10px 0}.login-intro,.login-note,.login-footer{color:#667085}.login-intro{margin-bottom:28px}
.login-card label{display:block;font-size:13px;font-weight:650;margin:20px 0 8px}.login-card input:not([type=hidden]){width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:10px;padding:13px;font:inherit}
.login-card input:focus{outline:3px solid #b9137226;border-color:#b91372}.login-submit{width:100%;margin-top:25px;border:0;border-radius:10px;padding:14px;background:#b91372;color:#fff;font:inherit;font-weight:650;cursor:pointer}
.login-note{font-size:13px;text-align:center;margin-top:20px}.login-footer{border-top:1px solid #eee;margin-top:28px;padding-top:20px;font-size:12px;text-align:center}.login-error{padding:12px;border-radius:8px;background:#fff0f0;color:#a51d2d;font-size:14px}
button:disabled{cursor:not-allowed;opacity:.55}@media(max-width:600px){.login-card{padding:28px}.preview-notice{margin:16px 16px 0}.top-actions{gap:10px}.topbar .user-role{display:none}}
.sync-error{max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-page="epos-cache"] code{color:var(--main);background:rgba(var(--main-rgb),.06);padding:.12rem .3rem;border-radius:.3rem}
[data-page="epos-cache"] .table-zone{overflow-x:auto}
[data-page="epos-cache"] .table>tbody>tr>td{vertical-align:middle}

/* V6 module navigation */
.sidebar{overflow-y:auto;overflow-x:hidden;padding-bottom:78px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.16) transparent}
.v6-nav{padding-bottom:20px}
.nav-group{margin:3px 0}
.nav-group>summary{list-style:none;cursor:pointer;color:#cbd1de;display:grid;grid-template-columns:24px 1fr 18px;align-items:center;gap:8px;min-height:44px;padding:0 12px;border-radius:10px;font-size:14px;font-weight:500;user-select:none}
.nav-group>summary::-webkit-details-marker{display:none}
.nav-group>summary:hover{background:rgba(255,255,255,.06);color:#fff}
.nav-group.active>summary{color:#fff;background:rgba(var(--main-rgb),.12)}
.nav-group>summary .icon{opacity:.95}
.nav-group>summary .chev{transition:transform .18s ease;font-size:11px}
.nav-group[open]>summary .chev{transform:rotate(180deg)}
.nav-submenu{margin:3px 0 9px 31px;padding:3px 0 3px 13px;border-left:1px solid rgba(255,255,255,.09)}
.nav-subitem{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#929bad;text-decoration:none;border-radius:8px;padding:8px 10px;margin:1px 0;font-size:12.5px;line-height:1.25}
.nav-subitem:hover{color:#fff;background:rgba(255,255,255,.05)}
.nav-subitem.active{color:#fff;background:rgba(var(--main-rgb),.24);font-weight:650}
.nav-subitem.active::before{content:"";position:absolute;left:-15px;width:3px;height:20px;border-radius:4px;background:var(--accent)}
.nav-live-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#2fb171;box-shadow:0 0 0 3px rgba(47,177,113,.12)}
.topbar-title{display:flex;align-items:baseline;gap:9px;min-width:0}
.topbar-title strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-section{color:var(--muted);font-size:12px;font-weight:600}
.topbar-section:not(:empty)::after{content:"/";margin-left:9px;color:#c0c5cf}
.module-placeholder{display:flex;align-items:flex-start;gap:18px;padding:28px}
.module-placeholder-icon{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border-radius:15px;background:rgba(var(--main-rgb),.09);color:var(--main);font-size:24px}
.module-placeholder-copy h2{font-size:20px;margin:0 0 7px}
.module-placeholder-copy p{max-width:780px;color:var(--muted);margin:0;line-height:1.55}
.module-siblings-head{padding:18px 20px 13px;border-bottom:1px solid var(--line)}
.module-siblings-head h2{font-size:16px;margin:0 0 2px}
.module-link{position:relative;height:100%;display:flex;flex-direction:column;gap:4px;padding:14px 38px 14px 15px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--text);background:#fff;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.module-link:hover{border-color:rgba(var(--main-rgb),.35);transform:translateY(-1px);box-shadow:0 7px 20px rgba(31,38,56,.06)}
.module-link strong{font-size:13px}
.module-link span{font-size:11.5px;color:var(--muted);line-height:1.35}
.module-link>i{position:absolute;right:14px;top:16px;color:var(--main)}
.module-card{position:relative;display:flex;align-items:center;gap:15px;padding:20px;text-decoration:none;color:var(--text);border:1px solid var(--line);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.module-card:hover{transform:translateY(-2px);border-color:rgba(var(--main-rgb),.28);box-shadow:var(--shadow)}
.module-card-icon{width:46px;height:46px;flex:0 0 46px;border-radius:13px;display:grid;place-items:center;background:rgba(var(--main-rgb),.08);color:var(--main);font-size:21px}
.module-card h2{font-size:15px;margin:0 0 3px}
.module-card p{font-size:11.5px;color:var(--muted);margin:0}
.module-card-arrow{margin-left:auto;color:#a1a8b5}
.dashboard-shortcuts>div+div{border-left:1px solid var(--line)}
.dashboard-shortcuts a{display:flex;align-items:center;gap:13px;padding:20px;text-decoration:none;color:var(--text)}
.dashboard-shortcuts a:hover{background:var(--surface-2)}
.dashboard-shortcuts a>i{font-size:20px;color:var(--main)}
.dashboard-shortcuts span{display:flex;flex-direction:column;gap:2px}
.dashboard-shortcuts strong{font-size:13px}
.dashboard-shortcuts small{color:var(--muted);font-size:11.5px}

body.sidebar-collapsed .nav-group-name,
body.sidebar-collapsed .nav-group>summary .chev{display:none}
body.sidebar-collapsed .nav-group>summary{grid-template-columns:1fr;justify-items:center;padding:0}
body.sidebar-collapsed .nav-submenu{display:none}
body.sidebar-collapsed .nav-group.active>summary{background:linear-gradient(90deg,rgba(var(--main-rgb),.34),rgba(var(--main-rgb),.12))}

@media(max-width:760px){
  .topbar-title{gap:5px}.topbar-section{display:none}
  .dashboard-shortcuts>div+div{border-left:0;border-top:1px solid var(--line)}
  .module-placeholder{padding:20px;flex-direction:column}
}


/* Temporary V6 access gate: only user_level 1 sees application navigation. */
.restricted-sidebar-note{margin:1rem;padding:.8rem .9rem;border-radius:.75rem;background:rgba(255,255,255,.08);display:flex;gap:.6rem;align-items:center;font-size:.82rem;opacity:.85}
.restricted-user .main{min-width:0}
.restricted-user .topbar-section{display:none}
.restricted-icon{width:4rem;height:4rem;margin-inline:auto;border-radius:1.25rem;display:grid;place-items:center;background:rgba(var(--bs-primary-rgb),.1);color:var(--main);font-size:1.65rem}
@media (max-width: 991.98px){.restricted-user .sidebar{display:none}.restricted-user .main{margin-left:0!important;width:100%}}

/* Admin dashboard: current Sales by Location */
.dashboard-sales-card{overflow:hidden}
.dashboard-sales-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 21px;border-bottom:1px solid var(--line)}
.dashboard-sales-head h2{font-size:18px;margin:2px 0 3px}.dashboard-sales-head p{margin:0;color:var(--muted);font-size:12px}
.dashboard-sales-actions{display:flex;align-items:center;gap:18px}.dashboard-sales-total{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15}
.dashboard-sales-total span{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}.dashboard-sales-total strong{font-size:20px;margin-top:4px}
.dashboard-sales-body{min-height:330px}.dashboard-sales-chart-wrap{height:330px;padding:22px 28px}.dashboard-sales-chart-wrap canvas{width:100%!important;height:100%!important}
.dashboard-sales-legend{padding:18px 24px 18px 10px}.dashboard-sales-legend-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto 48px;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}
.dashboard-sales-legend-row:last-child{border-bottom:0}.dashboard-sales-dot{width:9px;height:9px;border-radius:50%;background:#cbd5e1}.dashboard-sales-location{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12.5px}.dashboard-sales-legend-row strong{font-size:12.5px;font-variant-numeric:tabular-nums}.dashboard-sales-legend-row small{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}
.dashboard-sales-empty{display:flex;align-items:center;justify-content:center;gap:15px;min-height:220px;color:var(--muted)}.dashboard-sales-empty>i{font-size:30px;color:#b8bfca}.dashboard-sales-empty>div{display:flex;flex-direction:column;gap:3px}.dashboard-sales-empty strong{color:var(--text);font-size:14px}.dashboard-sales-empty span{font-size:12px}
@media(max-width:991.98px){.dashboard-sales-chart-wrap{height:290px;padding:20px}.dashboard-sales-legend{padding:0 22px 20px}.dashboard-sales-body{min-height:0}}
@media(max-width:600px){.dashboard-sales-head{align-items:flex-start;flex-direction:column}.dashboard-sales-actions{width:100%;justify-content:space-between}.dashboard-sales-total{align-items:flex-start}.dashboard-sales-chart-wrap{height:260px}.dashboard-sales-legend-row{grid-template-columns:10px minmax(0,1fr) auto 44px}}

/* V6 0.3 live dashboard + catalogue */
.dashboard-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dashboard-kpi{padding:16px 18px;min-height:112px;display:flex;flex-direction:column;justify-content:center}
.dashboard-kpi>span{font-size:10.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:750}
.dashboard-kpi>strong{font-size:24px;line-height:1.08;margin:7px 0 4px;letter-spacing:-.02em}
.dashboard-kpi>small{font-size:11px;color:var(--muted)}
.dashboard-kpi-warn{border-color:#efb4ba;background:#fffafb}.dashboard-kpi-warn>strong{color:#bd2636}
.outlet-card-live .outlet-sales-line{display:flex;justify-content:space-between;align-items:center;margin:16px 0 4px;padding:10px 12px;border-radius:10px;background:rgba(var(--main-rgb),.055)}
.outlet-card-live .outlet-sales-line span{font-size:11px;color:var(--muted)}.outlet-card-live .outlet-sales-line strong{font-size:16px}
.outlet-numbers-live{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.outlet-numbers-live>div{background:#fff;padding:11px 12px}.outlet-numbers-live>div span{font-size:10.5px}.outlet-numbers-live>div strong{font-size:14px}
.outlet-card-foot{display:flex;justify-content:space-between;gap:12px;margin-top:11px;color:var(--muted);font-size:10.5px}
.dashboard-all-clear{display:flex;align-items:center;gap:12px;padding:14px 0;color:#21815a}.dashboard-all-clear>i{font-size:22px}.dashboard-all-clear>span{display:flex;flex-direction:column}.dashboard-all-clear strong{font-size:13px}.dashboard-all-clear small{font-size:11px;color:var(--muted)}

.catalogue-live-filters{padding:16px}.catalogue-filter-grid{display:grid;grid-template-columns:minmax(260px,2fr) repeat(6,minmax(130px,1fr));gap:12px;align-items:end}
.catalogue-filter-grid .form-label{font-size:10.5px;font-weight:750;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:5px}
.catalogue-filter-search{min-width:0}.catalogue-filter-reset{align-self:end}.catalogue-filter-reset .btn{height:38px}
.catalogue-cache-note{display:flex;align-items:center;gap:8px;margin-top:13px;padding-top:12px;border-top:1px solid var(--line);font-size:11.5px;color:var(--muted)}.catalogue-cache-note>i{color:#2c9b6c}
.catalogue-result-note{font-size:12px;color:var(--muted);white-space:nowrap}
.live-catalogue-table-card .table-zone{overflow:auto}.live-catalogue-table-card table{min-width:1240px}
.live-catalogue-table-card th{white-space:nowrap}.live-catalogue-table-card td{font-size:12px;vertical-align:middle}
.catalogue-product-cell{display:flex;flex-direction:column;min-width:220px}.catalogue-product-cell strong{font-size:12.5px;color:var(--text)}.catalogue-product-cell span{color:var(--muted);font-size:11.5px;margin-top:2px}.catalogue-product-cell small{color:#a0a8b4;font-size:9.5px;margin-top:3px}
.catalogue-code{display:flex;flex-direction:column;max-width:170px}.catalogue-code strong{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalogue-code small{font-size:10px;color:var(--muted);margin-top:2px}
.quality-ok{display:inline-flex;align-items:center;gap:5px;color:#28815c;font-size:10.5px;white-space:nowrap}.quality-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;max-width:210px}.quality-badges span{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border-radius:6px;background:#fff3e8;color:#9b5b19;font-size:9.5px;white-space:nowrap}.quality-badges b{font-size:9.5px;color:var(--muted)}
.live-product-drawer{width:min(620px,100vw)!important}.product-drawer-loading{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;padding:10px 0}
.product-detail-price{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.product-detail-price>div{padding:13px;border:1px solid var(--line);border-radius:10px}.product-detail-price span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.product-detail-price strong{display:block;font-size:17px;margin-top:4px}
.product-description{padding:12px 14px;background:var(--surface-2);border-radius:10px}.product-description>span{font-size:10px;text-transform:uppercase;color:var(--muted);font-weight:700}.product-description p{white-space:pre-wrap;margin:5px 0 0;font-size:12px}
.product-stock-list{border-top:1px solid var(--line)}.product-stock-row{display:grid;grid-template-columns:minmax(0,1fr) auto 90px;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);align-items:center}.product-stock-row span{font-size:12px}.product-stock-row strong{text-align:right;font-size:12px}.product-stock-row small{text-align:right;color:var(--muted);font-size:10px}
.product-advanced{border:1px solid var(--line);border-radius:10px;overflow:hidden}.product-advanced summary{padding:11px 13px;cursor:pointer;font-size:11.5px;font-weight:650;background:var(--surface-2)}.product-advanced pre{margin:0;padding:13px;max-height:320px;overflow:auto;background:#111827;color:#dbe4f0;font-size:10px;white-space:pre-wrap;word-break:break-word}
.dataTables_wrapper .dt-processing,.dt-container .dt-processing{border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important;box-shadow:var(--shadow)!important}

@media(max-width:1400px){.catalogue-filter-grid{grid-template-columns:minmax(260px,2fr) repeat(3,minmax(150px,1fr))}.catalogue-filter-search{grid-column:span 2}.dashboard-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:991.98px){.dashboard-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalogue-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalogue-filter-search{grid-column:1/-1}}
@media(max-width:575.98px){.dashboard-status-grid{grid-template-columns:1fr 1fr}.dashboard-kpi{padding:13px;min-height:100px}.dashboard-kpi>strong{font-size:20px}.catalogue-filter-grid{grid-template-columns:1fr}.catalogue-filter-search{grid-column:auto}.outlet-card-foot{flex-direction:column;gap:3px}}
\n\n/* V6 0.3.2 dashboard header / summary treatment reused from the original modern example */\n.topbar-icon-link{display:grid;place-items:center;color:var(--text);text-decoration:none;line-height:1}.topbar-icon-link:hover{color:var(--main);background:var(--surface-2)}\n.dashboard-source-card{margin-bottom:18px}.dashboard-source-card .freshness-pills{justify-content:flex-end}.dashboard-source-card .btn{white-space:nowrap}\n.dashboard-summary-cards{margin-bottom:18px}.dashboard-summary-card{position:relative;overflow:hidden;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.dashboard-summary-card:hover{transform:translateY(-1px);border-color:rgba(var(--main-rgb),.22);box-shadow:0 10px 26px rgba(31,38,56,.065)}\n.dashboard-stat-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-stat-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(var(--main-rgb),.075);color:var(--main);font-size:15px}.dashboard-summary-warn{border-color:#efc0c5;background:linear-gradient(180deg,#fff,#fffafa)}.dashboard-summary-warn .dashboard-stat-icon{background:#fff0ee;color:#b42318}.dashboard-cache-age{font-size:22px}.dashboard-attention-anchor{position:relative;top:-92px;visibility:hidden}\n@media(max-width:991.98px){.dashboard-source-card{grid-template-columns:auto 1fr}.dashboard-source-card .freshness-pills{grid-column:2;justify-content:flex-start}.dashboard-source-card .btn{grid-column:2;justify-self:start}}\n@media(max-width:575.98px){.dashboard-source-card{display:flex;flex-wrap:wrap;align-items:flex-start}.dashboard-source-card .freshness-icon{flex:0 0 42px}.dashboard-source-card>div:nth-child(2){flex:1 1 calc(100% - 60px)}.dashboard-source-card .freshness-pills{width:100%;justify-content:flex-start}.dashboard-source-card .btn{margin-left:56px}.dashboard-summary-card{padding:14px}.dashboard-summary-card .stat-value{font-size:23px}.dashboard-stat-icon{width:30px;height:30px}}\n
/* V6 0.3.3 Bootstrap-aligned sales doughnut */
.dashboard-sales-card{border-radius:16px}
.dashboard-sales-updated{font-size:10.5px;font-weight:650;color:var(--muted)!important;background:var(--surface-2)!important}
.dashboard-sales-body{min-height:315px;background:linear-gradient(180deg,#fff,var(--surface-2))}
.dashboard-sales-chart-column{display:flex;align-items:center;justify-content:center;padding:24px 18px 26px}
.dashboard-sales-chart-shell{position:relative;width:300px;height:300px;max-width:100%;flex:0 0 auto;overflow:hidden;border-radius:50%;contain:layout paint size}
.dashboard-sales-doughnut{position:absolute;inset:8px;border-radius:50%;background:var(--sales-gradient);box-shadow:inset 0 0 0 1px rgba(15,23,42,.04)}
.dashboard-sales-center{position:absolute;inset:29%;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;pointer-events:none;line-height:1.1;border-radius:50%;background:var(--surface);box-shadow:0 0 0 4px var(--surface),0 2px 12px rgba(15,23,42,.045)}
.dashboard-sales-center span{font-size:10px;text-transform:uppercase;letter-spacing:.075em;color:var(--muted);font-weight:750}
.dashboard-sales-center strong{font-size:24px;letter-spacing:-.035em;margin:6px 0 4px;color:var(--text);font-variant-numeric:tabular-nums}
.dashboard-sales-center small{font-size:10px;color:var(--muted)}
.dashboard-sales-legend{padding:24px 26px 24px 16px}
.dashboard-sales-legend-head{display:grid;grid-template-columns:minmax(0,1fr) 120px 66px;gap:14px;padding:0 10px 8px 27px;border-bottom:1px solid var(--line);color:var(--muted);font-size:9.5px;font-weight:750;text-transform:uppercase;letter-spacing:.07em}
.dashboard-sales-legend-head span:nth-child(2),.dashboard-sales-legend-head span:nth-child(3){text-align:right}
.dashboard-sales-legend-row{grid-template-columns:9px minmax(0,1fr) 120px 66px;gap:14px;padding:12px 10px;border-bottom:1px solid var(--line);border-radius:8px;transition:background-color .12s ease}
.dashboard-sales-legend-row:hover{background:rgba(var(--main-rgb),.035)}
.dashboard-sales-dot{width:9px;height:9px;box-shadow:0 0 0 3px rgba(0,0,0,.025)}
.dashboard-sales-location{font-size:12.5px;font-weight:600}
.dashboard-sales-legend-row strong{font-size:12.5px;text-align:right}
.dashboard-sales-share{justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-width:52px;padding:3px 7px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:10.5px;font-weight:650;font-variant-numeric:tabular-nums}
@media(max-width:991.98px){
  .dashboard-sales-body{min-height:0}
  .dashboard-sales-chart-column{padding-bottom:12px}
  .dashboard-sales-chart-shell{width:280px;height:280px}
  .dashboard-sales-legend{padding:8px 22px 22px}
}
@media(max-width:575.98px){
  .dashboard-sales-chart-shell{width:245px;height:245px}
  .dashboard-sales-center strong{font-size:20px}
  .dashboard-sales-legend{padding:4px 14px 18px}
  .dashboard-sales-legend-head{grid-template-columns:minmax(0,1fr) 92px 52px;padding-left:24px;gap:8px}
  .dashboard-sales-legend-row{grid-template-columns:8px minmax(0,1fr) 92px 52px;gap:8px;padding:10px 6px}
  .dashboard-sales-share{min-width:46px;padding:3px 5px}
}

/* V6 0.4 actionable dashboard */
.dashboard-card-link{display:block;color:inherit;text-decoration:none}.dashboard-card-link:hover{color:inherit}.dashboard-card-link:focus-visible,.outlet-card-link:focus-visible{outline:3px solid rgba(var(--main-rgb),.25);outline-offset:2px}
.outlet-card-link{display:block;color:inherit;text-decoration:none;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.outlet-card-link:hover{color:inherit;transform:translateY(-2px);border-color:rgba(var(--main-rgb),.23);box-shadow:0 12px 30px rgba(31,38,56,.08)}
.dashboard-sales-context{overflow:hidden}.dashboard-sales-context-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 19px;border-bottom:1px solid var(--line)}.dashboard-sales-context-head h2{font-size:16px;margin:3px 0 0}.dashboard-context-cell{padding:16px 19px}.dashboard-context-cell+.dashboard-context-cell{border-left:1px solid var(--line)}.dashboard-context-cell span,.dashboard-context-cell strong,.dashboard-context-cell small{display:block}.dashboard-context-cell span{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:800}.dashboard-context-cell strong{font-size:22px;margin-top:4px}.dashboard-context-cell small{color:var(--muted);margin-top:3px;font-size:11px}.dashboard-context-cell small b{font-weight:800}
.dashboard-notifications{--bs-offcanvas-width:min(430px,92vw)}.notification-list{display:grid;gap:10px}.notification-item{display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:13px;color:inherit;text-decoration:none;background:var(--surface)}.notification-item:hover{color:inherit;border-color:rgba(var(--main-rgb),.25);background:var(--surface-2)}.notification-item strong,.notification-item small{display:block}.notification-item strong{font-size:12.5px}.notification-item small{font-size:10.5px;color:var(--muted);margin-top:3px;line-height:1.45}.notification-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#eef5ff;color:#1c65b7;font-size:16px}.notification-danger .notification-icon{background:#fff0ee;color:#b42318}.notification-warning .notification-icon{background:#fff6dc;color:#9a6700}.notification-info .notification-icon{background:#eef5ff;color:#1c65b7}.dashboard-all-clear-panel{padding:18px;border:1px solid var(--line);border-radius:13px}
.negative-stock-filters{padding:18px}.negative-stock-table-card .table-zone{overflow-x:auto}.negative-stock-page .stat-card{min-height:110px}.negative-stock-page .catalogue-product-cell small{max-width:280px;white-space:normal}.negative-stock-page table td{vertical-align:middle}.negative-stock-page table td:nth-child(6),.negative-stock-page table td:nth-child(7){font-variant-numeric:tabular-nums}
@media(max-width:767.98px){.dashboard-context-cell+.dashboard-context-cell{border-left:0;border-top:1px solid var(--line)}.dashboard-sales-context-head{align-items:flex-start;flex-direction:column}}
/* Replenishment 0.5 */
.replenishment-source-note{border:1px solid rgba(255,193,7,.35);background:rgba(255,193,7,.12)}
.replenishment-outlet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem}
.replenishment-outlet-choice{display:flex;gap:.55rem;align-items:center;border:1px solid var(--bs-border-color);border-radius:.75rem;padding:.7rem .8rem;background:var(--bs-body-bg);cursor:pointer}
.replenishment-outlet-choice:has(input:checked){border-color:rgba(var(--main-rgb),.45);background:rgba(var(--main-rgb),.06)}
.replenishment-readiness-row{display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0;font-size:.9rem}.replenishment-readiness-row span{color:var(--bs-secondary-color)}
.replenishment-spin{animation:dvspin 1s linear infinite}@keyframes dvspin{to{transform:rotate(360deg)}}
.replenishment-reason{max-width:300px}.replenishment-page .dataTable-wrapper{padding:0 1rem 1rem}

.dashboard-replenishment-card{border-color:rgba(var(--main-rgb),.16)}
.dashboard-mini-metric{display:flex;flex-direction:column;gap:.25rem;padding:1rem;border:1px solid var(--bs-border-color);border-radius:.8rem;color:inherit;text-decoration:none;background:var(--bs-body-bg);height:100%}.dashboard-mini-metric:hover{border-color:rgba(var(--main-rgb),.45);background:rgba(var(--main-rgb),.035)}.dashboard-mini-metric span{font-size:.78rem;color:var(--bs-secondary-color)}.dashboard-mini-metric strong{font-size:1.55rem}.dashboard-mini-metric.warning{border-color:rgba(220,53,69,.3);background:rgba(220,53,69,.04)}.dashboard-mini-metric.warning strong{color:var(--bs-danger)}

/* V6 0.5.1 dashboard outlet replenishment links */
.outlet-card-actions{transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.outlet-card-actions:hover{transform:translateY(-1px);border-color:rgba(var(--main-rgb),.18);box-shadow:0 10px 26px rgba(31,38,56,.065)}
.outlet-card-buttons{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;justify-content:flex-end}
.btn-theme-soft{border:1px solid rgba(var(--main-rgb),.22);background:rgba(var(--main-rgb),.07);color:var(--main)}
.btn-theme-soft:hover,.btn-theme-soft:focus{border-color:rgba(var(--main-rgb),.42);background:rgba(var(--main-rgb),.12);color:var(--main)}
.outlet-replenishment-status{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:.7rem;margin-top:13px;padding:10px 11px;border:1px solid rgba(var(--main-rgb),.14);border-radius:10px;background:rgba(var(--main-rgb),.035);color:inherit;text-decoration:none;transition:border-color .12s ease,background-color .12s ease}
.outlet-replenishment-status:hover{color:inherit;border-color:rgba(var(--main-rgb),.35);background:rgba(var(--main-rgb),.065)}
.outlet-replenishment-status.warning{border-color:rgba(220,53,69,.24);background:rgba(220,53,69,.035)}
.outlet-replenishment-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:rgba(var(--main-rgb),.09);color:var(--main)}
.outlet-replenishment-status.warning .outlet-replenishment-icon{background:rgba(220,53,69,.09);color:var(--bs-danger)}
.outlet-replenishment-copy{min-width:0}.outlet-replenishment-copy strong,.outlet-replenishment-copy small{display:block}.outlet-replenishment-copy strong{font-size:11.5px}.outlet-replenishment-copy small{font-size:10.25px;color:var(--muted);margin-top:2px;white-space:normal;line-height:1.35}
.outlet-replenishment-chevron{color:var(--muted);font-size:.85rem}
@media(max-width:575.98px){.outlet-card-head{align-items:flex-start;flex-wrap:wrap}.outlet-card-buttons{width:100%;justify-content:flex-start;margin-top:.25rem}.outlet-card-buttons .btn{flex:1}.outlet-replenishment-status{grid-template-columns:32px minmax(0,1fr) auto}}
