:root{--stag-bg:#050607;--stag-panel:#0d0e0f;--stag-panel2:#121315;--stag-gold:#c7a874;--stag-gold2:#e7d2a8;--stag-white:#f4f1ec;--stag-muted:#a39c90;--stag-line:rgba(199,168,116,.19);--stag-danger:#d98d8d}.stag-backoffice-page,.stag-backoffice-page #page,.stag-backoffice-page .site,.stag-backoffice-page .site-main{margin:0!important;padding:0!important;max-width:none!important;background:var(--stag-bg)!important}.stag-backoffice-page header.site-header,.stag-backoffice-page footer.site-footer,.stag-backoffice-page .entry-header{display:none!important}.stag-backoffice-page .entry-content{margin:0!important}.stag-backoffice-page *{box-sizing:border-box}.stag-app-shell{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--stag-white)}.stag-app-shell{min-height:100vh;background:radial-gradient(circle at 90% 0,rgba(199,168,116,.07),transparent 30%),var(--stag-bg);display:grid;grid-template-columns:268px minmax(0,1fr)}.stag-side{position:sticky;top:0;height:100vh;border-right:1px solid var(--stag-line);background:linear-gradient(180deg,#080909,#050607);padding:22px 14px;display:flex;flex-direction:column;z-index:40}.stag-side-brand{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 11px 12px;border-bottom:1px solid rgba(255,255,255,.06)}.stag-side-brand img{display:block;width:116px;height:62px;object-fit:cover;object-position:center 66%;filter:contrast(1.04)}.stag-client-box{margin:18px 7px 12px;padding:14px;border:1px solid var(--stag-line);background:linear-gradient(145deg,rgba(199,168,116,.08),rgba(255,255,255,.01));border-radius:13px}.stag-client-box span,.stag-card>span,.stag-page-head span,.stag-eyebrow{font-size:9px;letter-spacing:.15em;font-weight:800;color:var(--stag-gold)}.stag-client-box strong{display:block;margin-top:6px;font-size:13px}.stag-client-box small{color:#777168;font-size:9px}.stag-side nav{display:flex;flex-direction:column;gap:3px;overflow:auto;padding:5px}.stag-side nav a{min-height:42px;padding:0 11px;border-radius:10px;color:#aaa49c;text-decoration:none;display:flex;align-items:center;gap:10px;font-size:11px;font-weight:650}.stag-side nav a i{font-style:normal;width:23px;height:23px;border-radius:7px;display:grid;place-items:center;background:rgba(255,255,255,.04);font-size:10px}.stag-side nav a:hover,.stag-side nav a.active{background:rgba(199,168,116,.09);color:var(--stag-white)}.stag-side nav a.active{box-shadow:inset 2px 0 var(--stag-gold)}.stag-side nav a.active i{background:var(--stag-gold);color:#0a0a0a}.stag-side-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.06);padding:15px 10px 0;display:flex;flex-direction:column;gap:4px}.stag-side-foot a{color:var(--stag-white);text-decoration:none;font-size:11px}.stag-side-foot .stag-foot-link{min-height:36px;display:flex;align-items:center;padding:0 9px;border-radius:9px;color:#aaa49c}.stag-side-foot .stag-foot-link:hover,.stag-side-foot .stag-foot-link.active{background:rgba(199,168,116,.09);color:var(--stag-white)}.stag-side-foot .stag-foot-link.active{box-shadow:inset 2px 0 var(--stag-gold)}.stag-side-foot .stag-signout{margin-top:2px;padding:9px;border-top:1px solid rgba(255,255,255,.06)}.stag-side-foot small{color:#625e58;font-size:9px}.stag-main{min-width:0}.stag-top{height:84px;position:sticky;top:0;z-index:30;padding:0 28px;background:rgba(5,6,7,.88);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.06);display:flex;align-items:center;justify-content:space-between}.stag-top h1{font-size:19px;line-height:1;margin:3px 0 0;color:var(--stag-white);font-weight:700;letter-spacing:-.02em}.stag-top-right{display:flex;align-items:center;gap:12px}.stag-user{display:flex;align-items:center;gap:9px}.stag-user>b{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,var(--stag-gold2),var(--stag-gold));color:#080808;font-size:12px}.stag-user span{display:flex;flex-direction:column}.stag-user strong{font-size:11px}.stag-user small{font-size:9px;color:var(--stag-muted)}.stag-switcher select{height:36px;border:1px solid var(--stag-line);background:#0b0c0d;color:var(--stag-white);border-radius:9px;padding:0 29px 0 10px;font-size:10px}.stag-page{max-width:1580px;margin:0 auto;padding:28px}.stag-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.stag-page-head h2{font-size:28px;letter-spacing:-.035em;margin:5px 0;color:var(--stag-white)}.stag-page-head p{margin:0;color:var(--stag-muted);font-size:12px;max-width:760px}.stag-status,.stag-pill{padding:7px 10px;border-radius:999px;border:1px solid var(--stag-line);font-size:9px;color:var(--stag-gold2);text-decoration:none;white-space:nowrap}.stag-status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--stag-gold);margin-right:5px;box-shadow:0 0 12px var(--stag-gold)}.stag-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px}.stag-kpis.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stag-kpis article,.stag-card,.stag-integrations article,.stag-client-grid article{background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.014));border:1px solid rgba(255,255,255,.07);border-radius:15px}.stag-kpis article{padding:16px}.stag-kpis span{font-size:10px;color:var(--stag-muted)}.stag-kpis strong{display:block;font-size:24px;margin:8px 0 3px;color:var(--stag-white)}.stag-kpis small{font-size:9px;color:#706c66}.stag-grid{display:grid;gap:15px}.stag-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.stag-card{padding:20px;margin-bottom:15px}.stag-card h3{font-size:17px;margin:5px 0 7px;color:var(--stag-white)}.stag-card p{font-size:11px;color:var(--stag-muted);line-height:1.6}.stag-card a{color:var(--stag-gold2);text-decoration:none;font-size:11px}.stag-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:15px}.stag-flow b{min-height:80px;padding:12px;border:1px solid var(--stag-line);border-radius:11px;display:flex;align-items:flex-end;font-size:10px;background:rgba(199,168,116,.035)}.table-card{overflow:auto}.stag-card.table-card{padding:0}.stag-card.table-card table{margin:0}.stag-card table,.table-card table{width:100%;border-collapse:collapse;color:var(--stag-white);font-size:10px}.stag-card th,.stag-card td,.table-card th,.table-card td{padding:11px 12px;border-bottom:1px solid rgba(255,255,255,.055);text-align:left;vertical-align:middle}.stag-card th,.table-card th{font-size:8px;text-transform:uppercase;letter-spacing:.09em;color:#807a70;background:rgba(255,255,255,.018);white-space:nowrap}.stag-card tbody tr:hover,.table-card tbody tr:hover{background:rgba(199,168,116,.025)}.stag-tag{display:inline-block;padding:4px 7px;border-radius:999px;background:rgba(199,168,116,.08);border:1px solid var(--stag-line);font-size:8px;text-transform:capitalize;color:var(--stag-gold2)}.stag-tag.ok{background:rgba(116,199,153,.1);border-color:rgba(116,199,153,.2);color:#c3ebd2}.stag-table-search{width:100%;height:43px;border:1px solid var(--stag-line)!important;border-radius:10px!important;background:#090a0b!important;color:var(--stag-white)!important;margin-bottom:12px!important;padding:0 12px!important;font:inherit!important;font-size:11px!important}.stag-filters{display:flex;gap:6px}.stag-filters a{padding:6px 9px;border:1px solid var(--stag-line);border-radius:8px;color:var(--stag-gold2);text-decoration:none;font-size:9px}.stag-integrations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stag-integrations article{padding:14px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:11px}.stag-integrations article>b{width:38px;height:38px;border:1px solid var(--stag-line);border-radius:10px;display:grid;place-items:center;color:var(--stag-gold);background:rgba(199,168,116,.06)}.stag-integrations h3{font-size:12px;margin:0 0 3px}.stag-integrations p{font-size:9px;margin:0;color:var(--stag-muted)}.stag-paymix{display:grid;gap:6px;margin-top:12px}.stag-paymix div{display:flex;justify-content:space-between;padding:9px;border-bottom:1px solid rgba(255,255,255,.05);font-size:10px}.stag-staff-list{display:grid;gap:8px;margin-top:14px}.stag-staff-list>div{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid rgba(255,255,255,.05);border-radius:9px}.stag-staff-list b{width:31px;height:31px;border-radius:9px;background:rgba(199,168,116,.14);display:grid;place-items:center;color:var(--stag-gold)}.stag-staff-list span{display:flex;flex-direction:column}.stag-staff-list strong{font-size:10px}.stag-staff-list small{font-size:9px;color:var(--stag-muted)}.stag-form-grid{display:grid;gap:10px;margin-top:13px}.stag-form-grid label,.stag-date-filter label{font-size:9px;font-weight:700;color:#c9c2b8}.stag-form-grid input,.stag-form-grid select,.stag-form-grid textarea,.stag-date-filter input{display:block;width:100%;margin-top:5px;border:1px solid var(--stag-line);border-radius:9px;background:#08090a;color:var(--stag-white);padding:9px;font:inherit;font-size:10px}.stag-form-grid textarea{min-height:70px}.stag-form-grid.compact{border-top:1px solid rgba(255,255,255,.06);padding-top:13px}.stag-btn,.stag-date-filter button{display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;padding:0 14px!important;border-radius:9px!important;border:1px solid var(--stag-gold)!important;background:linear-gradient(145deg,var(--stag-gold2),var(--stag-gold))!important;color:#090909!important;font-weight:850!important;font-size:9px!important;letter-spacing:.05em;text-decoration:none!important;cursor:pointer}.stag-btn.secondary{background:transparent!important;color:var(--stag-gold2)!important}.stag-import-json{margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.06)}.stag-date-filter{display:flex;gap:9px;align-items:end;margin-bottom:15px}.stag-date-filter label{min-width:150px}.stag-date-filter button{height:37px}.stag-client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.stag-client-grid article{padding:17px}.stag-client-grid article>span{font-size:9px;color:var(--stag-gold);letter-spacing:.08em}.stag-client-grid h3{margin:6px 0 3px}.stag-client-grid p{min-height:22px;font-size:9px;color:var(--stag-muted)}.stag-client-grid article>div{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:5px;align-items:center;padding:10px 0}.stag-client-grid article>div b{font-size:18px}.stag-client-grid article>div small{font-size:8px;color:var(--stag-muted)}.stag-client-grid a{font-size:10px;color:var(--stag-gold2);text-decoration:none}.stag-store-row{padding:9px 0;border-bottom:1px solid rgba(255,255,255,.05);display:flex;justify-content:space-between}.stag-store-row b{font-size:10px}.stag-store-row small{font-size:9px;color:var(--stag-muted)}.stag-card dl{display:grid;grid-template-columns:120px 1fr;margin:15px 0 0;font-size:10px}.stag-card dt,.stag-card dd{padding:7px 0;border-bottom:1px solid rgba(255,255,255,.05)}.stag-card dt{color:var(--stag-muted)}.stag-card dd{margin:0}.stag-notice,.stag-error{padding:10px 12px;border:1px solid var(--stag-line);background:rgba(199,168,116,.07);border-radius:9px;margin-bottom:13px;font-size:10px}.stag-error{border-color:rgba(217,141,141,.25);background:rgba(217,141,141,.08);color:#f2bebe}.stag-empty,.stag-denied{max-width:780px;margin:40px auto;padding:30px;border:1px solid var(--stag-line);border-radius:15px;background:var(--stag-panel);color:var(--stag-white)}.stag-nav-open,.stag-nav-close{display:none}.stag-scrim{display:none}

@media(max-width:1100px){.stag-integrations,.stag-client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stag-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.stag-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.stag-app-shell{display:block}.stag-side{position:fixed;left:0;top:0;width:min(85vw,300px);transform:translateX(-105%);transition:.2s}.stag-side.open{transform:translateX(0)}.stag-scrim{display:block;position:fixed;inset:0;z-index:35;background:rgba(0,0,0,.62);opacity:0;pointer-events:none;transition:.2s}.stag-scrim.open{opacity:1;pointer-events:auto}.stag-nav-open,.stag-nav-close{display:block;border:0;background:transparent;color:var(--stag-white);font-size:18px}.stag-top{padding:0 15px}.stag-top>div:first-child{display:grid;grid-template-columns:30px 1fr;align-items:center}.stag-top>div:first-child .stag-eyebrow,.stag-top>div:first-child h1{grid-column:2}.stag-top h1{font-size:16px}.stag-user span{display:none}.stag-page{padding:19px 13px}.stag-grid.two{grid-template-columns:1fr}.stag-login{display:block}.stag-login-brand{display:none}.stag-login-form{min-height:100vh;padding:15px}.stag-page-head{align-items:flex-start;flex-direction:column}.stag-top-right{gap:6px}.stag-switcher select{max-width:150px}}
@media(max-width:580px){.stag-kpis,.stag-kpis.three,.stag-integrations,.stag-client-grid,.stag-flow{grid-template-columns:1fr}.stag-kpis strong{font-size:22px}.stag-page-head h2{font-size:24px}.stag-date-filter{align-items:stretch;flex-direction:column}.stag-date-filter label{min-width:0}.stag-card{padding:15px}.stag-login-card{padding:24px}.stag-user>b{width:32px;height:32px}.stag-switcher select{max-width:120px}.stag-top{height:75px}}

/* v2.5.0 Potter-style client workflow: structure only; current STAG theme/palette retained. */
.stag-workflow-label{margin:7px 16px 5px;font-size:9px;font-weight:800;letter-spacing:.22em;color:var(--stag-gold2);text-transform:uppercase}.stag-platform-label{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07)}.stag-workflow-finance .stag-side nav a,.stag-workflow-cashier .stag-side nav a{padding-left:14px}.stag-workflow-finance .stag-side nav a span,.stag-workflow-cashier .stag-side nav a span{font-size:11px}.stag-workflow-tabs{flex-wrap:wrap;margin-bottom:18px}.stag-workflow-tabs a{white-space:nowrap}.stag-side nav .stag-workflow-label{pointer-events:none}


/* v2.5.3 Square-to-STAG preview mode. */
.stag-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:15px 17px;border:1px solid rgba(199,168,116,.38);border-left:4px solid var(--stag-gold);border-radius:12px;background:linear-gradient(135deg,rgba(199,168,116,.12),rgba(199,168,116,.035));color:var(--stag-white)}
.stag-preview-banner>div{display:grid;gap:4px}.stag-preview-banner b{font-size:9px;letter-spacing:.18em;color:var(--stag-gold2)}.stag-preview-banner strong{font-size:13px}.stag-preview-banner span{max-width:900px;font-size:10px;line-height:1.55;color:var(--stag-muted)}.stag-preview-banner>a{flex:0 0 auto;padding:9px 12px;border:1px solid var(--stag-gold);border-radius:9px;color:var(--stag-gold2);font-size:9px;font-weight:800;text-decoration:none}.stag-preview-banner.importing{border-left-color:#a39c90;background:rgba(255,255,255,.025)}.stag-preview-checklist{margin-top:14px}.stag-preview-checklist .stag-quick-actions{flex-wrap:wrap}
@media(max-width:700px){.stag-preview-banner{align-items:flex-start;flex-direction:column}.stag-preview-banner>a{width:100%;text-align:center}}

/* STAG v2.7.0 — light operational portal skin requested for dense retail workflows */
:root{--stag-bg:#fff;--stag-panel:#fff;--stag-panel2:#f7f7f7;--stag-gold:#b89456;--stag-gold2:#7c5c28;--stag-white:#111;--stag-muted:#565656;--stag-line:#111;--stag-danger:#a40000}
.stag-backoffice-page,.stag-backoffice-page #page,.stag-backoffice-page .site,.stag-backoffice-page .site-main{background:#fff!important;color:#111!important}
.stag-app-shell{background:#fff!important;color:#111!important}
.stag-side{background:#fff!important;border-right:1px solid #111!important;box-shadow:none!important}
.stag-side-brand{border-bottom:1px solid #111!important}
.stag-side-brand img{filter:none}
.stag-client-box{background:#fff!important;border:1px solid #111!important;box-shadow:none!important}
.stag-client-box strong,.stag-workflow-label,.stag-side nav a,.stag-side-foot a,.stag-top,.stag-top h1,.stag-user strong,.stag-page,.stag-page-head h2,.stag-kpis strong,.stag-card h3,.stag-card table,.table-card table{color:#111!important}
.stag-client-box small,.stag-user small,.stag-page-head p,.stag-kpis span,.stag-kpis small,.stag-card p,.stag-muted,.stag-card td small{color:#565656!important}
.stag-side nav a,.stag-side-foot .stag-foot-link{color:#111!important;border:1px solid transparent!important}
.stag-side nav a:hover,.stag-side nav a.active,.stag-side-foot .stag-foot-link:hover,.stag-side-foot .stag-foot-link.active{background:#f2f2f2!important;color:#111!important;border-color:#111!important;box-shadow:none!important}
.stag-side nav a.active,.stag-side-foot .stag-foot-link.active{border-left:4px solid #111!important}
.stag-side-foot{border-top:1px solid #111!important;background:#fff!important}
.stag-side-foot .stag-signout{border-top:1px solid #111!important;color:#111!important}
.stag-side-foot small{color:#666!important}
.stag-top{background:#fff!important;border-bottom:1px solid #111!important;backdrop-filter:none!important;box-shadow:none!important}
.stag-user>b{background:#111!important;color:#fff!important}
.stag-switcher select{background:#fff!important;color:#111!important;border:1px solid #111!important}
.stag-page-head span,.stag-card>span,.stag-eyebrow,.stag-client-box span{color:#7c5c28!important}
.stag-status,.stag-pill{border:1px solid #111!important;color:#111!important;background:#fff!important}
.stag-kpis article,.stag-card,.stag-integrations article,.stag-client-grid article{background:#fff!important;border:1px solid #111!important;box-shadow:none!important}
.stag-flow b{background:#fff!important;border:1px solid #111!important;color:#111!important}
.stag-card th,.table-card th{background:#f3f3f3!important;color:#111!important;border-bottom:1px solid #111!important}
.stag-card td,.table-card td{border-bottom:1px solid #c9c9c9!important;color:#111!important}
.stag-card tbody tr:hover,.table-card tbody tr:hover{background:#f8f8f8!important}
.stag-tag,.stag-tag.ok{background:#fff!important;border:1px solid #111!important;color:#111!important}
.stag-table-search,.stag-form-grid input,.stag-form-grid select,.stag-form-grid textarea,.stag-date-filter input,.stag-live-directory-search input[type="search"]{background:#fff!important;color:#111!important;border:1px solid #111!important;box-shadow:none!important}
.stag-form-grid label,.stag-date-filter label{color:#111!important}
.stag-btn,.stag-date-filter button{background:#111!important;color:#fff!important;border:1px solid #111!important;box-shadow:none!important}
.stag-btn.secondary{background:#fff!important;color:#111!important;border:1px solid #111!important}
.stag-btn:hover,.stag-date-filter button:hover{opacity:.82}
.stag-filters a{background:#fff!important;color:#111!important;border:1px solid #111!important}
.stag-staff-list>div,.stag-integrations article>b{background:#fff!important;border:1px solid #111!important;color:#111!important}
.stag-preview-banner,.stag-preview-banner.importing,.stag-notice{background:#fffdf8!important;color:#111!important;border:1px solid #111!important;border-left:5px solid #b89456!important;box-shadow:none!important}
.stag-preview-banner strong,.stag-preview-banner span,.stag-preview-banner b{color:#111!important}
.stag-preview-banner>a{color:#111!important;border:1px solid #111!important;background:#fff!important}
.stag-scrim{background:rgba(0,0,0,.24)!important}
.table-card{border-color:#111!important}

/* Performance: remove expensive decorative rendering from high-density screens. */
.stag-app-shell *{text-shadow:none!important}
.stag-card,.stag-kpis article,.stag-live-results,.stag-confirm-dialog,.stag-sale-details>div{box-shadow:none!important}
.stag-top{will-change:auto!important}
.table-card tbody tr{contain:layout style}

/* Mobile: comfortable single-column workflow, touch targets, and horizontal tables only when required. */
@media(max-width:850px){
  .stag-app-shell{display:block!important}
  .stag-side{position:fixed!important;left:-290px!important;top:0!important;width:280px!important;height:100dvh!important;transition:left .18s ease!important;z-index:1000!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
  .stag-side.open{left:0!important}
  .stag-main{width:100%!important}
  .stag-top{height:66px!important;padding:0 14px!important}
  .stag-page{padding:16px!important}
  .stag-page-head{align-items:flex-start!important;flex-direction:column!important;gap:8px!important;margin-bottom:14px!important}
  .stag-page-head h2{font-size:24px!important}
  .stag-kpis,.stag-kpis.three{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .stag-kpis article{padding:13px!important}
  .stag-kpis strong{font-size:21px!important}
  .stag-card{padding:14px!important;border-radius:10px!important}
  .stag-subnav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .stag-subnav a{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-height:44px!important;border-radius:9px!important;padding:8px!important}
  .table-card{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .table-card table{min-width:720px!important}
  .stag-live-result{min-height:52px!important}
  .stag-form-grid.two-col,.stag-form-grid.three-col,.stag-grid.two{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .stag-kpis,.stag-kpis.three{grid-template-columns:1fr!important}
  .stag-subnav{grid-template-columns:1fr!important}
  .stag-top-right .stag-user span{display:none!important}
  .stag-top h1{font-size:17px!important}
  .stag-page{padding:12px!important}
  .stag-card{padding:12px!important}
  .stag-btn,.stag-date-filter button{min-height:44px!important;width:100%!important}
  .stag-quick-actions{display:grid!important;grid-template-columns:1fr!important}
}


/* v2.7.1 — Potter's exact cashier / live stock-count refinements */
.stag-app-shell, .stag-app-shell * { color:#000 !important; }
.stag-app-shell a, .stag-app-shell a:visited { color:#000 !important; }
.stag-app-shell .stag-btn, .stag-app-shell button, .stag-app-shell input[type="submit"] { background:#fff !important; color:#000 !important; border:2px solid #000 !important; box-shadow:none !important; }
.stag-app-shell .stag-btn:hover, .stag-app-shell button:hover { background:#f3ead8 !important; color:#000 !important; }
.stag-app-shell .stag-subnav a.active, .stag-app-shell .stag-nav a.active { background:#ead7ad !important; color:#000 !important; border-color:#000 !important; }
.stag-app-shell .stag-muted, .stag-app-shell small, .stag-app-shell p, .stag-app-shell span { color:#000 !important; }
.stag-app-shell input, .stag-app-shell select, .stag-app-shell textarea { color:#000 !important; background:#fff !important; border:1.5px solid #000 !important; }
.stag-app-shell table, .stag-app-shell th, .stag-app-shell td { color:#000 !important; border-color:#000 !important; background:#fff !important; }
.stag-sale-section { border:1.5px solid #000; padding:18px; margin:16px 0; border-radius:14px; background:#fff; }
.stag-sale-section h4 { margin:0 0 14px; color:#000 !important; }
.stag-selected-member { border:1.5px solid #000; padding:14px; border-radius:12px; margin-top:8px; background:#fff; }
.stag-member-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:12px; }
.stag-member-facts span { border-top:1px solid #000; padding-top:8px; }
.stag-payment-line { display:grid; grid-template-columns:minmax(180px,1fr) minmax(140px,220px) auto; gap:12px; align-items:end; margin-bottom:10px; }
.stag-payment-balance { display:flex; gap:24px; margin-top:14px; padding:12px 0; border-top:1px solid #000; border-bottom:1px solid #000; }
.stag-stock-live-table td,.stag-stock-live-table th{vertical-align:middle;}
.stag-stock-live-table input{min-width:110px;max-width:150px;}
.stag-ok{color:#006400 !important;font-weight:800;}.stag-bad{color:#a40000 !important;font-weight:800;}
@media(max-width:760px){
  .stag-payment-line{grid-template-columns:1fr 1fr}.stag-payment-line .stag-link-btn{grid-column:1/-1;justify-self:start}
  .stag-member-facts{grid-template-columns:1fr 1fr}
  .stag-sale-section{padding:12px}
  .stag-stock-live-table{min-width:760px}
  .stag-basket-head{display:none}.stag-basket-row{grid-template-columns:1fr 90px;gap:8px;border:1px solid #000;padding:10px;margin-bottom:10px}.stag-basket-row>span:nth-child(n+3){grid-column:1/-1}
}


/* v2.7.2 — warm-brown section headings, MTD dashboard comparison and near-tier dashboard */
.stag-app-shell .stag-page-head{
  background:#f3ead8!important;
  border:1.5px solid #111!important;
  border-left:6px solid #8a6335!important;
  border-radius:12px!important;
  padding:14px 16px!important;
}
.stag-app-shell .stag-page-head h1,
.stag-app-shell .stag-page-head h2,
.stag-app-shell .stag-page-head h3,
.stag-app-shell .stag-page-head h4{color:#000!important}
.stag-app-shell .stag-page-head>div>span{color:#5f4326!important;font-weight:800!important}
.stag-app-shell .stag-card>h3,
.stag-app-shell .stag-sale-section>h4{
  color:#000!important;
  background:#f3ead8!important;
  border-left:5px solid #8a6335!important;
  border-radius:7px!important;
  padding:9px 11px!important;
}
.stag-mtd-kpis{margin-top:14px!important}
.stag-mtd-kpis article{border-color:#8a6335!important;background:#fffaf2!important}
.stag-near-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
.stag-near-tier-grid>section{border:1.5px solid #111;border-radius:10px;background:#fff;padding:13px;min-width:0}
.stag-near-tier-head{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f3ead8;border-left:5px solid #8a6335;padding:9px 10px;border-radius:7px;margin-bottom:9px}
.stag-near-tier-head strong,.stag-near-tier-head b{color:#000!important}
.stag-near-tier-list{display:grid;gap:5px}
.stag-near-tier-list>a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 7px;border-bottom:1px solid #d4c5ae;text-decoration:none!important;color:#000!important}
.stag-near-tier-list>a:last-child{border-bottom:0}
.stag-near-tier-list>a span{display:grid;gap:2px;min-width:0}
.stag-near-tier-list>a b{white-space:nowrap;color:#000!important;font-size:12px}
.stag-sale-product-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(130px,.55fr);gap:14px;align-items:end;margin-bottom:10px}
.stag-sale-qty input{width:100%!important}
.stag-discount-before-payment{max-width:420px;margin:0 0 14px;padding:12px;background:#fffaf2;border:1.5px solid #8a6335;border-radius:9px}
.stag-discount-before-payment label{margin:0!important}
@media(max-width:850px){.stag-near-tier-grid{grid-template-columns:1fr}.stag-sale-product-row{grid-template-columns:minmax(0,1fr) 120px}}
@media(max-width:560px){.stag-sale-product-row{grid-template-columns:1fr}.stag-discount-before-payment{max-width:none}}


/* v2.7.3 — requested Potter's reference layouts; structure only, colour scheme inherited */
.stag-member-search-hero{padding:24px 28px!important}.stag-member-search-hero h3{margin:12px 0 20px!important}.stag-member-search-hero>label{display:block;margin-bottom:8px;font-weight:700}.stag-member-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end}.stag-member-search-row .stag-autocomplete{min-width:0}.stag-member-search-row .stag-btn{min-width:170px}.stag-member-dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}.stag-member-dashboard-kpis article{min-height:135px;display:flex;align-items:stretch}.stag-member-dashboard-kpis article>a{width:100%;display:flex;flex-direction:column;justify-content:center}.stag-member-dashboard-kpis strong{font-size:32px!important}.stag-member-near-title{margin:24px 0 12px}.stag-near-tier-summary>section{min-height:150px}.stag-near-tier-summary-head{display:grid;gap:6px}.stag-near-tier-summary-head>span{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.stag-near-tier-summary-head>strong{font-size:30px}.stag-member-directory-card{margin-top:18px}
.stag-potters-sale-layout{padding:20px!important}.stag-transaction-title{padding-bottom:14px;border-bottom:1px solid currentColor}.stag-transaction-title span,.stag-sale-block-title span,.stag-final-sale-block>span{font-size:10px;letter-spacing:.13em;font-weight:800}.stag-transaction-title h3{margin:5px 0 0!important;font-size:24px!important}.stag-sale-block{padding:16px 0;border-bottom:1px solid currentColor}.stag-sale-block:last-of-type{border-bottom:0}.stag-sale-member-block>label{display:block;margin-bottom:8px;font-weight:700}.stag-sale-info-line{margin-top:10px;padding:9px 12px;border:1px solid currentColor;border-radius:7px;font-size:11px}.stag-selected-member{margin-top:10px}.stag-sale-product-row-reference{grid-template-columns:minmax(0,1fr) minmax(120px,180px)!important}.stag-selected-stock-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid currentColor;border-radius:9px;padding:10px 12px;margin:8px 0 12px}.stag-selected-stock-item>div:first-child{display:grid;gap:2px}.stag-selected-stock-item>div:first-child span{font-size:9px;letter-spacing:.12em;font-weight:800}.stag-selected-stock-metrics{display:flex;align-items:center;gap:20px}.stag-selected-stock-metrics span{display:grid;gap:2px;font-size:9px;letter-spacing:.06em}.stag-selected-stock-metrics b{font-size:12px}.stag-sale-add-row{padding:8px 0}.stag-sale-block-title{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:12px}.stag-sale-block-title>div{display:grid;gap:4px}.stag-sale-block-title>strong,.stag-sale-block-title>div>strong{font-size:13px}.stag-sale-block-title>strong[data-wf-final]{font-size:25px}.stag-live-basket-block .stag-wf-basket-kpis{margin-top:10px}.stag-live-basket-block .stag-wf-basket-kpis article{border:1px solid currentColor}.stag-discount-before-payment{margin-bottom:18px}.stag-final-sale-block{display:grid;gap:5px}.stag-sale-complete{width:100%;margin-top:8px}
@media(max-width:900px){.stag-member-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.stag-selected-stock-item{grid-template-columns:1fr}.stag-selected-stock-metrics{justify-content:space-between;flex-wrap:wrap}.stag-sale-block-title{align-items:stretch;flex-direction:column}.stag-sale-block-title .stag-btn{align-self:flex-start}}
@media(max-width:620px){.stag-member-search-row{grid-template-columns:1fr}.stag-member-search-row .stag-btn{width:100%;min-width:0}.stag-member-dashboard-kpis{grid-template-columns:1fr!important}.stag-member-search-hero{padding:18px!important}.stag-sale-product-row-reference{grid-template-columns:1fr!important}.stag-selected-stock-metrics{display:grid;grid-template-columns:1fr 1fr}.stag-selected-stock-metrics .stag-link-btn{grid-column:1/-1;justify-self:start}.stag-potters-sale-layout{padding:14px!important}}

/* v2.7.4 — exact reference layouts for Members and Process Sale */
/* These two screens intentionally mirror the supplied Potter's references. */
.stag-app-shell .stag-member-search-hero,
.stag-app-shell .stag-member-dashboard-kpis article,
.stag-app-shell .stag-near-tier-summary > section,
.stag-app-shell .stag-potters-sale-layout{
  background:#000!important;
  border:0!important;
  color:#fff!important;
  box-shadow:0 10px 26px rgba(0,0,0,.10)!important;
}
.stag-app-shell .stag-member-search-hero *,
.stag-app-shell .stag-member-dashboard-kpis article *,
.stag-app-shell .stag-near-tier-summary > section *,
.stag-app-shell .stag-potters-sale-layout *{
  color:#fff!important;
}
.stag-app-shell .stag-member-search-hero input,
.stag-app-shell .stag-potters-sale-layout input,
.stag-app-shell .stag-potters-sale-layout select,
.stag-app-shell .stag-potters-sale-layout textarea{
  background:#fff!important;
  color:#111!important;
  border:0!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
.stag-app-shell .stag-member-search-hero input::placeholder,
.stag-app-shell .stag-potters-sale-layout input::placeholder{color:#888!important}
.stag-app-shell .stag-member-search-hero .stag-btn,
.stag-app-shell .stag-potters-sale-layout .stag-btn,
.stag-app-shell .stag-potters-sale-layout button{
  background:#fff!important;
  color:#111!important;
  border:1px solid #fff!important;
  box-shadow:none!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-link-btn{
  background:#000!important;
  color:#fff!important;
  border:1px solid #fff!important;
}

/* Members reference */
.stag-app-shell .stag-member-search-hero{
  border-radius:22px!important;
  padding:30px 34px 34px!important;
  margin-bottom:22px!important;
}
.stag-app-shell .stag-member-search-hero>span{
  display:block!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.23em!important;
  text-transform:uppercase!important;
  margin-bottom:24px!important;
}
.stag-app-shell .stag-member-search-hero h3{
  background:none!important;
  border:0!important;
  padding:0!important;
  margin:0 0 34px!important;
  font-size:17px!important;
  line-height:1.15!important;
}
.stag-app-shell .stag-member-search-hero>label{
  margin:0 0 12px!important;
  font-size:14px!important;
  font-weight:400!important;
}
.stag-app-shell .stag-member-search-row{
  grid-template-columns:minmax(0,1fr) 180px!important;
  gap:20px!important;
  align-items:center!important;
}
.stag-app-shell .stag-member-search-row input{
  height:50px!important;
  padding:0 18px!important;
  font-size:14px!important;
}
.stag-app-shell .stag-member-search-row .stag-btn{
  height:54px!important;
  min-width:180px!important;
  border-radius:28px!important;
  font-size:14px!important;
  font-weight:800!important;
}
.stag-app-shell .stag-member-dashboard-kpis{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:20px!important;
  margin:0 0 34px!important;
}
.stag-app-shell .stag-member-dashboard-kpis article{
  min-height:172px!important;
  border-radius:20px!important;
  padding:0!important;
}
.stag-app-shell .stag-member-dashboard-kpis article>a{
  justify-content:center!important;
  padding:28px 32px!important;
}
.stag-app-shell .stag-member-dashboard-kpis article span{
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.22em!important;
  text-transform:none!important;
  margin-bottom:18px!important;
}
.stag-app-shell .stag-member-dashboard-kpis article strong{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:36px!important;
  font-weight:400!important;
  line-height:1!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:8px!important;
  margin:0 0 14px!important;
}
.stag-app-shell .stag-member-dashboard-kpis article small{
  font-size:16px!important;
  line-height:1.12!important;
  opacity:.75!important;
}
.stag-app-shell .stag-member-near-title{
  color:#111!important;
  background:none!important;
  border:0!important;
  padding:0!important;
  margin:0 0 12px!important;
  font-size:18px!important;
  font-weight:800!important;
}
.stag-app-shell .stag-near-tier-summary{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  margin:0 0 30px!important;
}
.stag-app-shell .stag-near-tier-summary>section{
  min-height:173px!important;
  border-radius:20px!important;
  padding:28px 32px!important;
  display:flex!important;
  align-items:center!important;
}
.stag-app-shell .stag-near-tier-summary-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:12px!important;
  background:none!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
}
.stag-app-shell .stag-near-tier-summary-head>span{
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.22em!important;
}
.stag-app-shell .stag-near-tier-summary-head>strong{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:36px!important;
  font-weight:400!important;
  line-height:1!important;
  text-decoration:underline!important;
  text-underline-offset:8px!important;
}
.stag-app-shell .stag-near-tier-summary-head>small{
  font-size:16px!important;
  opacity:.75!important;
}

/* Process Sale reference */
.stag-app-shell .stag-potters-sale-layout{
  border-radius:10px!important;
  padding:16px 18px 24px!important;
  margin:0!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-transaction-title{
  border:0!important;
  padding:0 0 20px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-transaction-title span{
  font-size:10px!important;
  letter-spacing:.18em!important;
  font-weight:800!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-transaction-title h3{
  background:none!important;
  border:0!important;
  padding:0!important;
  margin:3px 0 0!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:22px!important;
  font-weight:400!important;
}
.stag-app-shell .stag-potters-sale-layout form>div{
  border-color:#494949!important;
}
.stag-app-shell .stag-potters-sale-layout label{
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.2!important;
}
.stag-app-shell .stag-potters-sale-layout input,
.stag-app-shell .stag-potters-sale-layout select{
  min-height:34px!important;
  margin-top:7px!important;
  padding:7px 10px!important;
  font-size:11px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-sale-member-block{
  padding:0 0 14px!important;
  border-bottom:0!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-sale-info-line{
  background:#fff!important;
  color:#111!important;
  border:0!important;
  border-radius:7px!important;
  padding:8px 10px!important;
  margin:8px 0 0!important;
  font-size:10px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-sale-info-line *{color:#111!important}
.stag-app-shell .stag-potters-sale-layout .stag-selected-member[hidden]{display:none!important}
.stag-app-shell .stag-potters-sale-layout .stag-selected-member{
  border:1px solid #777!important;
  background:#060606!important;
  padding:10px!important;
  margin-top:8px!important;
}
.stag-app-shell .stag-sale-top-discount{
  padding:0 0 16px!important;
  max-width:50%!important;
}
.stag-app-shell .stag-sale-top-discount p{
  margin:10px 0 0!important;
  font-size:10px!important;
  line-height:1.5!important;
  opacity:.72!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-sale-product-block{
  padding:0 0 14px!important;
  border-bottom:1px solid #444!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-sale-product-row-reference{
  grid-template-columns:1fr!important;
  margin:0!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-sale-qty[hidden]{display:none!important}
.stag-app-shell .stag-potters-sale-layout .stag-sale-qty:not([hidden]){
  width:180px!important;
  margin-top:8px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-selected-stock-item{
  grid-template-columns:minmax(0,1fr) auto!important;
  border:1px solid #bbb!important;
  border-radius:8px!important;
  padding:8px 10px!important;
  margin:8px 0!important;
  background:#050505!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-selected-stock-item>div:first-child span{
  font-size:9px!important;
  letter-spacing:.18em!important;
  font-weight:800!important;
}
.stag-app-shell .stag-potters-sale-layout [data-wf-selected-product-meta]{display:none!important}
.stag-app-shell .stag-potters-sale-layout .stag-selected-stock-metrics{
  gap:16px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-selected-stock-metrics span{
  font-size:8px!important;
  line-height:1.15!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-selected-stock-metrics b{font-size:10px!important}
.stag-app-shell .stag-potters-sale-layout .stag-sale-add-row{padding:10px 0 2px!important}
.stag-app-shell .stag-potters-sale-layout .stag-sale-add-row .stag-btn{
  min-height:30px!important;
  border-radius:16px!important;
  padding:0 14px!important;
  background:#000!important;
  color:#fff!important;
  border:1px solid #aaa!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-live-basket-block{
  padding:34px 10px 34px!important;
  border-bottom:0!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-sale-block-title{
  margin-bottom:8px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-sale-block-title span{
  font-size:10px!important;
  letter-spacing:.18em!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-sale-block-title strong[data-wf-final]{
  font-size:18px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-wf-basket-kpis{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;
  margin-top:8px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-wf-basket-kpis article{
  min-height:50px!important;
  background:#050505!important;
  border:1px solid #aaa!important;
  border-radius:6px!important;
  padding:7px 9px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-wf-basket-kpis article span{font-size:8px!important;font-weight:800!important;letter-spacing:.08em!important}
.stag-app-shell .stag-potters-sale-layout .stag-wf-basket-kpis article strong{font-size:11px!important;margin:4px 0 0!important}
.stag-app-shell .stag-potters-sale-layout .stag-wf-payment{
  padding:18px 8px 18px!important;
  border-top:0!important;
  border-bottom:0!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-wf-payment>.stag-sale-block-title{
  align-items:center!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-wf-payment .stag-sale-block-title>div{
  gap:10px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-wf-payment .stag-sale-block-title>div>strong{
  font-size:11px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-wf-payment .stag-sale-block-title small{
  font-size:9px!important;
  opacity:.72!important;
}
.stag-app-shell .stag-potters-sale-layout [data-wf-add-payment]{
  min-height:29px!important;
  border-radius:16px!important;
  background:#000!important;
  color:#fff!important;
  border:1px solid #fff!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-payment-line{
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(220px,1fr) auto!important;
  gap:6px!important;
  align-items:end!important;
  border:1px solid #aaa!important;
  padding:5px!important;
  margin:0!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-payment-line label{font-size:9px!important}
.stag-app-shell .stag-potters-sale-layout .stag-payment-line input,
.stag-app-shell .stag-potters-sale-layout .stag-payment-line select{min-height:29px!important;margin-top:3px!important;padding:4px 6px!important}
.stag-app-shell .stag-potters-sale-layout .stag-payment-balance{
  justify-content:flex-end!important;
  gap:18px!important;
  border:1px solid #aaa!important;
  border-top:0!important;
  margin:0!important;
  padding:2px 8px!important;
  font-size:9px!important;
}
.stag-app-shell .stag-potters-sale-layout [data-wf-payment-balance]{display:none!important}
.stag-app-shell .stag-potters-sale-layout .stag-final-sale-block{
  padding:24px 8px 0!important;
  border:0!important;
  gap:6px!important;
}
.stag-app-shell .stag-potters-sale-layout .stag-final-sale-block>span{font-size:9px!important;letter-spacing:.18em!important}
.stag-app-shell .stag-potters-sale-layout .stag-final-sale-block>strong{font-size:11px!important}
.stag-app-shell .stag-potters-sale-layout .stag-final-sale-block>small,
.stag-app-shell .stag-potters-sale-layout .stag-final-sale-block>p{font-size:9px!important;margin:0!important}
.stag-app-shell .stag-potters-sale-layout .stag-sale-complete{
  width:100%!important;
  min-height:32px!important;
  border-radius:17px!important;
  margin-top:8px!important;
  font-weight:800!important;
}

@media(max-width:900px){
  .stag-app-shell .stag-member-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .stag-app-shell .stag-near-tier-summary{grid-template-columns:1fr!important}
  .stag-app-shell .stag-sale-top-discount{max-width:100%!important}
}
@media(max-width:620px){
  .stag-app-shell .stag-member-search-row{grid-template-columns:1fr!important}
  .stag-app-shell .stag-member-search-row .stag-btn{width:100%!important;min-width:0!important}
  .stag-app-shell .stag-member-dashboard-kpis{grid-template-columns:1fr!important}
  .stag-app-shell .stag-member-search-hero{padding:24px 22px!important}
  .stag-app-shell .stag-potters-sale-layout .stag-selected-stock-item{grid-template-columns:1fr!important}
  .stag-app-shell .stag-potters-sale-layout .stag-selected-stock-metrics{display:grid!important;grid-template-columns:1fr 1fr!important}
  .stag-app-shell .stag-potters-sale-layout .stag-payment-line{grid-template-columns:1fr!important}
  .stag-app-shell .stag-potters-sale-layout .stag-wf-basket-kpis{grid-template-columns:1fr 1fr!important}
}

/* v2.7.5 — full-directory type-ahead + black dropdown text + clickable member drilldowns */
.stag-app-shell .stag-live-results{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:calc(100% + 4px)!important;
  z-index:9999!important;
  max-height:420px!important;
  overflow:auto!important;
  background:#fff!important;
  border:1.5px solid #111!important;
  border-radius:8px!important;
  box-shadow:0 10px 24px rgba(0,0,0,.12)!important;
}
.stag-app-shell .stag-live-results:empty{display:none!important}
.stag-app-shell .stag-live-result,
.stag-app-shell .stag-live-results .stag-live-result{
  width:100%!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:12px!important;
  padding:10px 12px!important;
  background:#fff!important;
  color:#000!important;
  border:0!important;
  border-bottom:1px solid #ddd!important;
  border-radius:0!important;
  text-align:left!important;
  cursor:pointer!important;
}
.stag-app-shell .stag-live-result:hover,
.stag-app-shell .stag-live-result:focus{background:#f3ead8!important;color:#000!important;outline:0!important}
.stag-app-shell .stag-live-result *,
.stag-app-shell .stag-live-result strong,
.stag-app-shell .stag-live-result small,
.stag-app-shell .stag-live-result b,
.stag-app-shell .stag-live-results .stag-muted{color:#000!important}
.stag-app-shell .stag-live-result small{opacity:.72!important}
.stag-app-shell .stag-autocomplete{position:relative!important;z-index:30!important}
.stag-app-shell .stag-near-tier-summary-head{display:grid!important;text-decoration:none!important;color:#000!important;height:100%!important}
.stag-app-shell .stag-near-tier-summary-head *{color:#000!important}
.stag-app-shell .stag-member-dashboard-kpis article>a:hover,
.stag-app-shell .stag-near-tier-summary>section>a:hover{background:#f3ead8!important}
@media(max-width:620px){.stag-app-shell .stag-live-results{max-height:55vh!important}}

/* v2.7.7 — separate Marketing / Analytics workspace */
.stag-app-shell .stag-marketing-label{margin-top:20px!important;padding-top:16px!important;border-top:1px solid #d4c2a1!important;color:#6d5434!important}
.stag-app-shell .stag-analytics-section{margin:0 0 28px!important;padding:22px!important;border:1px solid #111!important;border-radius:14px!important;background:#fff!important}
.stag-app-shell .stag-analytics-section>h3,
.stag-app-shell .stag-analytics-section-head h3{margin:0 0 6px!important;color:#000!important}
.stag-app-shell .stag-analytics-intro{margin:0 0 16px!important;color:#33291d!important}
.stag-app-shell .stag-analytics-section-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;margin-bottom:16px!important}
.stag-app-shell .stag-analytics-tier-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:20px 0 8px!important;padding:12px 14px!important;background:#f3ead8!important;border-left:5px solid #8b6a3e!important}
.stag-app-shell .stag-analytics-tier-head span{display:block!important;color:#6d5434!important;font-weight:800!important;letter-spacing:.12em!important;font-size:11px!important}
.stag-app-shell .stag-analytics-tier-head h4{margin:3px 0 0!important;color:#000!important}
.stag-app-shell .stag-analytics-tender{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-top:12px!important}
.stag-app-shell .stag-analytics-tender>div{border:1px solid #111!important;border-radius:10px!important;padding:12px!important;background:#fff!important;display:grid!important;gap:4px!important;color:#000!important}
.stag-app-shell .stag-analytics-tender *{color:#000!important}
.stag-app-shell .stag-bundle-tier-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.stag-app-shell .stag-bundle-tier-grid article{border:1px solid #111!important;border-radius:12px!important;background:#fff!important;padding:18px!important;color:#000!important}
.stag-app-shell .stag-bundle-tier-grid article span{color:#6d5434!important;font-weight:800!important;letter-spacing:.1em!important;font-size:11px!important}
.stag-app-shell .stag-bundle-tier-grid article h4,
.stag-app-shell .stag-bundle-tier-grid article p,
.stag-app-shell .stag-bundle-tier-grid article b,
.stag-app-shell .stag-bundle-tier-grid article strong,
.stag-app-shell .stag-bundle-tier-grid article small{color:#000!important}
.stag-app-shell .stag-bundle-tier-grid article>div{display:grid!important;gap:4px!important;margin-top:12px!important;padding-top:12px!important;border-top:1px solid #d8d0c5!important}
.stag-app-shell .stag-analytics-section .table-card{overflow:auto!important}
.stag-app-shell .stag-analytics-section table{min-width:880px!important}
.stag-app-shell .stag-analytics-section table strong,
.stag-app-shell .stag-analytics-section table small,
.stag-app-shell .stag-analytics-section table td,
.stag-app-shell .stag-analytics-section table th{color:#000!important}
@media(max-width:900px){
  .stag-app-shell .stag-analytics-tender{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .stag-app-shell .stag-bundle-tier-grid{grid-template-columns:1fr!important}
  .stag-app-shell .stag-analytics-section-head,.stag-app-shell .stag-analytics-tier-head{align-items:stretch!important;flex-direction:column!important}
}
@media(max-width:620px){.stag-app-shell .stag-analytics-tender{grid-template-columns:1fr!important}.stag-app-shell .stag-analytics-section{padding:16px!important}}

/* v2.7.8 — independent left navigation and right workspace scrolling */
@media (min-width:851px){
  html:has(body.stag-backoffice-page),
  body.stag-backoffice-page{
    height:100%!important;
    overflow:hidden!important;
  }
  .stag-backoffice-page .stag-app-shell{
    height:100vh!important;
    height:100dvh!important;
    min-height:0!important;
    overflow:hidden!important;
    grid-template-columns:268px minmax(0,1fr)!important;
  }
  /* Left-hand navigation has its own full-height scroll. */
  .stag-backoffice-page .stag-side{
    position:relative!important;
    top:auto!important;
    height:100vh!important;
    height:100dvh!important;
    min-height:0!important;
    overflow-y:scroll!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable!important;
    padding-bottom:24px!important;
  }
  .stag-backoffice-page .stag-side nav{
    overflow:visible!important;
    flex:0 0 auto!important;
    min-height:max-content!important;
  }
  .stag-backoffice-page .stag-side-foot{
    margin-top:22px!important;
    flex:0 0 auto!important;
  }
  /* Right-hand application workspace scrolls independently. */
  .stag-backoffice-page .stag-main{
    height:100vh!important;
    height:100dvh!important;
    min-height:0!important;
    overflow-y:scroll!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable!important;
  }
  .stag-backoffice-page .stag-top{
    position:sticky!important;
    top:0!important;
  }
  /* Keep both scroll areas obvious and easy to grab. */
  .stag-backoffice-page .stag-side,
  .stag-backoffice-page .stag-main{
    scrollbar-width:auto!important;
    scrollbar-color:#8a6335 #f4eee3!important;
  }
  .stag-backoffice-page .stag-side::-webkit-scrollbar,
  .stag-backoffice-page .stag-main::-webkit-scrollbar{
    width:12px!important;
  }
  .stag-backoffice-page .stag-side::-webkit-scrollbar-track,
  .stag-backoffice-page .stag-main::-webkit-scrollbar-track{
    background:#f4eee3!important;
    border-left:1px solid #111!important;
  }
  .stag-backoffice-page .stag-side::-webkit-scrollbar-thumb,
  .stag-backoffice-page .stag-main::-webkit-scrollbar-thumb{
    background:#8a6335!important;
    border:2px solid #f4eee3!important;
    border-radius:999px!important;
  }
}

/* Mobile keeps the existing off-canvas navigation; each drawer remains scrollable. */
@media (max-width:850px){
  body.stag-backoffice-page{overflow:auto!important;height:auto!important}
  .stag-backoffice-page .stag-app-shell{height:auto!important;min-height:100dvh!important;overflow:visible!important}
  .stag-backoffice-page .stag-side{height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain!important}
  .stag-backoffice-page .stag-side nav{overflow:visible!important}
  .stag-backoffice-page .stag-main{height:auto!important;overflow:visible!important}
}


/* v2.7.9 — compact marketing downloads + monthly recommendation */
.stag-app-shell .stag-analytics-download-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.stag-app-shell .stag-analytics-download-grid article{border:1px solid #111!important;border-radius:12px!important;padding:16px!important;background:#fff!important;display:grid!important;gap:7px!important;color:#000!important}
.stag-app-shell .stag-analytics-download-grid article span{font-size:11px!important;font-weight:800!important;letter-spacing:.12em!important;color:#6d5434!important}
.stag-app-shell .stag-analytics-download-grid article strong{font-size:26px!important;color:#000!important}
.stag-app-shell .stag-analytics-download-grid article small{color:#33291d!important;min-height:36px!important}
.stag-app-shell .stag-analytics-download-grid .stag-btn{margin-top:6px!important;width:100%!important;text-align:center!important}
.stag-app-shell .stag-analytics-download-summary{display:flex!important;align-items:baseline!important;gap:10px!important;padding:16px!important;border:1px solid #111!important;border-radius:12px!important;background:#fff!important;color:#000!important}
.stag-app-shell .stag-analytics-download-summary strong{font-size:28px!important;color:#000!important}
.stag-app-shell .stag-monthly-recommendations{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.stag-app-shell .stag-monthly-recommendations article{border:1px solid #111!important;border-left:5px solid #8b6a3e!important;border-radius:12px!important;padding:17px!important;background:#fff!important;color:#000!important}
.stag-app-shell .stag-monthly-recommendations article span{display:block!important;font-size:11px!important;font-weight:800!important;letter-spacing:.12em!important;color:#6d5434!important;margin-bottom:5px!important}
.stag-app-shell .stag-monthly-recommendations article h4{margin:0 0 7px!important;color:#000!important}
.stag-app-shell .stag-monthly-recommendations article p{margin:0!important;color:#33291d!important;line-height:1.5!important}
@media(max-width:1100px){.stag-app-shell .stag-analytics-download-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.stag-app-shell .stag-analytics-download-grid,.stag-app-shell .stag-monthly-recommendations{grid-template-columns:1fr!important}}

/* v2.8.4 — STAG master logo, campaign builders and richer sales comparison */
.stag-backoffice-page .stag-side-brand{height:auto!important;min-height:132px!important;padding:8px 10px 14px!important;background:#fff!important}
.stag-backoffice-page .stag-side-brand a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important}
.stag-backoffice-page .stag-side-brand img{width:150px!important;height:150px!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;filter:none!important;background:#fff!important}
.stag-backoffice-page .stag-login-brand>img{width:280px!important;height:auto!important;max-height:280px!important;object-fit:contain!important;object-position:center!important;background:#fff!important;border-radius:14px!important}
.stag-app-shell .stag-campaign-builder-grid{align-items:start!important}
.stag-app-shell .stag-campaign-builder-grid .stag-card{height:100%!important}
.stag-app-shell .stag-mtd-detail{display:grid!important;gap:3px!important;margin-top:10px!important;padding-top:10px!important;border-top:1px solid #d9cdbf!important}
.stag-app-shell .stag-mtd-detail b,.stag-app-shell .stag-mtd-detail em{color:#000!important;font-style:normal!important;font-size:12px!important}
.stag-app-shell .stag-mtd-detail em{color:#6d5434!important;font-weight:800!important}
.stag-app-shell .stag-mtd-method{margin:10px 0 0!important;color:#33291d!important}
@media(max-width:850px){
  .stag-backoffice-page .stag-side-brand{min-height:112px!important}
  .stag-backoffice-page .stag-side-brand img{width:120px!important;height:120px!important}
}

/* v2.8.5 — authoritative STAG master logo from uploaded brand asset */
.stag-backoffice-page .stag-side-brand{min-height:176px!important;padding:8px 10px 14px!important}
.stag-backoffice-page .stag-side-brand img{width:164px!important;height:164px!important;object-fit:contain!important;object-position:center!important;background:#fff!important}
.stag-backoffice-page .stag-login-brand>img{width:min(360px,88vw)!important;height:auto!important;max-height:360px!important;object-fit:contain!important;background:#fff!important}
@media(max-width:850px){
  .stag-backoffice-page .stag-side-brand{min-height:150px!important}
  .stag-backoffice-page .stag-side-brand img{width:138px!important;height:138px!important}
}

/* v2.10.3 async operations */
.stag-dashboard-operations{margin-top:18px}
.stag-activity-list{display:grid;gap:10px;margin:16px 0}
.stag-activity-row{padding:12px 14px;border:1px solid rgba(15,23,42,.10);border-radius:12px;background:rgba(248,250,252,.78)}
.stag-activity-row strong{display:block;font-size:14px;margin-bottom:4px}
.stag-activity-row small{display:block;line-height:1.45}
.stag-activity-row.high{border-left:4px solid currentColor}
.stag-muted{opacity:.72}

/* v2.10.7 — async system health/data protection */
.stag-dashboard-health{margin-top:18px}.stag-health-dl{display:grid;grid-template-columns:minmax(150px,.75fr) minmax(0,1.25fr);gap:8px 14px;margin:16px 0}.stag-health-dl dt{font-weight:700}.stag-health-dl dd{margin:0;min-width:0;overflow-wrap:anywhere}@media(max-width:620px){.stag-health-dl{grid-template-columns:1fr}.stag-health-dl dd{margin-bottom:6px}}

/* v2.10.9 Management Action Centre priorities */
.stag-dashboard-actions .stag-activity-row.high{border-left:4px solid #b42318}
.stag-dashboard-actions .stag-activity-row.review{border-left:4px solid #b7791f}
.stag-dashboard-actions .stag-activity-row.monitor{border-left:4px solid #4a6fa5}


/* v2.10.10 Client Performance & Risk scorecard */
.stag-dashboard-scorecard{margin-top:18px}
.stag-scorecard-categories{display:grid;gap:12px;margin:16px 0}
.stag-scorecard-row{padding:12px 14px;border:1px solid rgba(15,23,42,.10);border-radius:12px;background:rgba(248,250,252,.72)}
.stag-scorecard-row>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}
.stag-scorecard-row>div:first-child span{font-size:12px;font-weight:800;white-space:nowrap}
.stag-scorecard-row small{display:block;margin-top:7px;line-height:1.4;opacity:.78}
.stag-scorecard-bar{height:7px;border-radius:999px;background:rgba(15,23,42,.09);overflow:hidden}
.stag-scorecard-bar i{display:block;height:100%;background:currentColor;opacity:.55;border-radius:999px;transition:width .25s ease}
@media(max-width:620px){.stag-scorecard-row>div:first-child{align-items:flex-start;flex-direction:column;gap:4px}.stag-scorecard-row>div:first-child span{white-space:normal}}

/* v2.11.1 compact manual Square Dashboard control */
.stag-square-manual{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#111;color:#fff!important;border:1px solid #2c2c2c;border-radius:13px;padding:10px 12px;margin:0 0 12px;box-shadow:0 5px 16px rgba(0,0,0,.06);min-height:0!important}
.stag-square-manual-copy{min-width:0;flex:1}.stag-square-manual-head{display:flex;align-items:center;gap:10px;min-width:0}.stag-square-manual span{font-size:8px;letter-spacing:.12em;font-weight:850;color:#c7a874!important;opacity:1}.stag-square-manual h3{margin:0;font-size:15px;line-height:1.1;color:#fff!important;white-space:nowrap}.stag-square-manual p{margin:3px 0 0!important;color:#bdbdbd!important;max-width:none;font-size:9px!important;line-height:1.3!important}.stag-square-manual-action{flex:0 0 auto}.stag-square-manual .stag-btn{background:#fff!important;color:#111!important;border-color:#fff!important;min-width:145px;min-height:34px!important;height:34px;padding:0 12px!important}.stag-square-manual .stag-btn:disabled{opacity:.65;cursor:wait}
.stag-square-sync-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 0 4px;min-width:0}.stag-square-sync-meta strong{color:#fff!important;font-size:9px;white-space:nowrap}.stag-square-sync-meta small{color:#aaa!important;font-size:8px;white-space:nowrap}.stag-square-progress{height:3px;background:#333;border-radius:999px;overflow:hidden;margin:7px 0 2px;max-width:640px}.stag-square-progress i{display:block;height:100%;width:0;background:#fff;border-radius:999px;transition:width .18s ease}.stag-square-manual .stag-muted{font-size:8px!important;color:#aaa!important}
@media(max-width:760px){.stag-square-manual{align-items:stretch;flex-direction:column;padding:10px}.stag-square-manual-head{flex-wrap:wrap;gap:6px 9px}.stag-square-sync-meta{margin-left:0}.stag-square-manual-action,.stag-square-manual .stag-btn{width:100%}.stag-square-manual .stag-btn{min-width:0}.stag-square-manual h3{font-size:14px}}

/* v2.11.5 flexible client workspace configuration */
.stag-workspace-config{display:grid;gap:18px}
.stag-workspace-config>.stag-card{margin:0}
.stag-people-language>label{display:block;max-width:360px;margin:16px 0 4px}
.stag-feature-switches{display:grid;gap:10px;margin-top:14px}
.stag-feature-switch{display:flex!important;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid rgba(15,23,42,.10);border-radius:12px;background:rgba(248,250,252,.68);cursor:pointer}
.stag-feature-switch input{width:18px!important;height:18px!important;min-width:18px;margin:2px 0 0!important}
.stag-feature-switch span{display:grid;gap:3px}.stag-feature-switch b{font-size:14px}.stag-feature-switch small{font-size:12px;line-height:1.45;opacity:.72}
.stag-tier-config{transition:opacity .2s ease,filter .2s ease}
.stag-tier-config.stag-option-disabled{opacity:.58;filter:saturate(.6)}
.stag-tier-config.stag-option-disabled:after{content:'Loyalty tiers are currently off. Settings are retained and will apply when tiers are enabled.';display:block;margin-top:12px;padding:10px 12px;border-radius:10px;background:rgba(15,23,42,.05);font-size:12px;font-weight:650}
.stag-tier-builder{display:grid;gap:11px;margin-top:14px}
.stag-tier-row{display:grid;grid-template-columns:90px minmax(150px,1.35fr) minmax(130px,1fr) minmax(110px,.8fr) minmax(135px,.9fr) auto;gap:12px;align-items:end;padding:13px;border:1px solid rgba(15,23,42,.10);border-radius:12px;background:rgba(248,250,252,.55)}
.stag-tier-remove{appearance:none;border:1px solid rgba(15,23,42,.16);background:#fff;border-radius:9px;padding:10px 12px;font-weight:750;cursor:pointer}.stag-tier-remove:hover{background:#f8fafc}.stag-tier-remove:disabled{opacity:.4;cursor:not-allowed}
.stag-tier-builder-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.stag-tier-builder-actions small{opacity:.68}
.stag-tier-index{align-self:center;font-size:11px;font-weight:850;letter-spacing:.05em;text-transform:uppercase;opacity:.7}
.stag-settings-save{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:4px 0 12px}.stag-settings-save small{opacity:.7}
@media(max-width:850px){.stag-tier-row{grid-template-columns:1fr 1fr}.stag-tier-index{grid-column:1/-1}}
@media(max-width:560px){.stag-tier-row{grid-template-columns:1fr}.stag-tier-index{grid-column:auto}.stag-feature-switch{padding:11px}}

/* v2.11.13 multi-business profile chooser */
.stag-business-picker{min-height:100vh;display:grid;place-items:center;padding:28px;background:#f7f4ee}.stag-business-picker-card{width:min(900px,100%);background:#fff;border:2px solid #161616;border-radius:24px;padding:34px;box-shadow:0 18px 50px rgba(0,0,0,.08)}.stag-business-picker-card>img{width:150px;max-height:90px;object-fit:contain;margin-bottom:20px}.stag-business-picker-card>span{display:block;font-size:11px;font-weight:800;letter-spacing:.22em}.stag-business-picker-card h1{margin:8px 0 6px;font-size:36px}.stag-business-picker-card p{margin:0 0 24px;opacity:.72}.stag-business-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.stag-business-grid>a{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;padding:18px;border:1.5px solid #202020;border-radius:16px;text-decoration:none;color:#111;background:#fff;transition:.15s ease}.stag-business-grid>a:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(0,0,0,.08)}.stag-business-grid>a>b{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#efe4d1}.stag-business-grid span{display:flex;flex-direction:column}.stag-business-grid strong{font-size:16px}.stag-business-grid small{opacity:.65;margin-top:3px}.stag-business-grid em{font-style:normal;font-weight:800}.stag-business-signout{display:inline-block;margin-top:24px;color:#111;font-weight:700}.stag-switcher select{max-width:260px}
@media(max-width:640px){.stag-business-picker{padding:14px}.stag-business-picker-card{padding:22px;border-radius:18px}.stag-business-picker-card h1{font-size:28px}.stag-business-grid{grid-template-columns:1fr}}


/* v2.11.14 dashboard section tabs */
.stag-dashboard-tabs{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  overflow-x:auto;
  padding:8px 2px 12px;
  margin:0 0 16px;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.stag-dashboard-tab{
  appearance:none;
  flex:0 0 auto;
  min-height:40px;
  padding:9px 14px;
  border:1px solid #d9d9d9;
  border-radius:10px;
  background:#fff !important;
  color:#111 !important;
  font:inherit;
  font-size:13px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  cursor:pointer;
  opacity:1 !important;
  -webkit-text-fill-color:#111 !important;
}
.stag-dashboard-tab:hover,
.stag-dashboard-tab:focus-visible{
  border-color:#111;
  color:#111 !important;
  -webkit-text-fill-color:#111 !important;
  outline:none;
}
.stag-dashboard-tab.active,
.stag-dashboard-tab[aria-selected="true"]{
  background:#111 !important;
  border-color:#111 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  opacity:1 !important;
}
.stag-dashboard-panel{display:block;min-width:0;}
.stag-dashboard-panel[hidden]{display:none !important;}
.stag-dashboard-panel > :first-child{margin-top:0;}
.stag-dashboard-panel > :last-child{margin-bottom:0;}
@media (max-width:782px){
  .stag-dashboard-tabs{margin-bottom:12px;padding-bottom:10px;}
  .stag-dashboard-tab{min-height:38px;padding:8px 12px;font-size:12px;}
}

/* v2.11.17 unified Stock Control workspace */
.stag-app-shell .stag-stock-workspace-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin-bottom:20px!important}
.stag-app-shell .stag-stock-workspace-tabs a{min-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:800!important;text-align:center!important}
.stag-app-shell .stag-stock-workspace-tabs a.active{background:#111!important;color:#fff!important;border-color:#111!important}
.stag-stock-workspace-panel>.stag-page-head:first-child{margin-top:0}
@media(max-width:1100px){.stag-app-shell .stag-stock-workspace-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.stag-app-shell .stag-stock-workspace-tabs{grid-template-columns:1fr!important}}


/* v2.11.22 — live member/customer directory + tabbed Portal Settings */
.stag-app-shell .stag-member-search-hero{min-height:0!important;padding:26px 30px 28px!important}
.stag-app-shell .stag-member-search-hero h3{margin:8px 0 8px!important;color:#fff!important}
.stag-app-shell .stag-member-search-help{margin:0 0 20px!important;color:#d8d8d8!important;max-width:760px!important;font-size:12px!important;line-height:1.5!important}
.stag-app-shell .stag-member-directory-autocomplete{position:relative!important;width:min(860px,100%)!important;z-index:70!important}
.stag-app-shell .stag-member-directory-autocomplete>input{width:100%!important;height:52px!important;font-size:15px!important;padding:0 18px!important}
.stag-app-shell .stag-member-directory-autocomplete .stag-live-results{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 6px)!important;z-index:250!important;max-height:420px!important;overflow:auto!important;background:#fff!important;border:1px solid #111!important;border-radius:12px!important}
.stag-app-shell .stag-member-directory-autocomplete .stag-live-result,.stag-app-shell .stag-member-directory-autocomplete .stag-live-result *{color:#111!important}
.stag-app-shell .stag-member-filter-count{display:block!important;margin-top:9px!important;color:#d0d0d0!important;font-size:10px!important}
.stag-app-shell tr[data-wf-member-row][hidden]{display:none!important}
.stag-record-download-btn{font-weight:850!important}

.stag-settings-tabs{display:flex;align-items:center;gap:8px;width:100%;overflow-x:auto;padding:4px 2px 12px;margin:0 0 4px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.stag-settings-tab{appearance:none;white-space:nowrap;border:1.5px solid #161616;background:#fff;color:#161616;border-radius:999px;padding:10px 15px;font-size:11px;font-weight:850;letter-spacing:.01em;cursor:pointer}
.stag-settings-tab:hover{background:#f4efe7;color:#111}
.stag-settings-tab.active,.stag-settings-tab[aria-selected="true"]{background:#111!important;color:#fff!important;border-color:#111!important}
.stag-settings-panel{display:grid;gap:18px}
.stag-settings-tabs-ready .stag-settings-panel[hidden]{display:none!important}
.stag-settings-panel>.stag-card{margin:0!important}
.stag-settings-save{position:sticky;bottom:12px;z-index:20;background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:14px;padding:12px 14px!important;box-shadow:0 10px 30px rgba(0,0,0,.08)}
@media(max-width:700px){.stag-settings-tab{padding:9px 12px}.stag-settings-save{position:static}.stag-app-shell .stag-member-search-hero{padding:20px!important}}

/* v2.11.24 — POS customer/member type-ahead stays anchored to the search control. */
.stag-app-shell .stag-potters-sale-layout .stag-member-review-control{max-width:620px!important;}
.stag-app-shell .stag-potters-sale-layout .stag-member-review-control>[data-wf-member-search]{width:100%!important;max-width:620px!important;}
.stag-app-shell .stag-potters-sale-layout .stag-member-review-control>[data-wf-member-results]{left:0!important;right:0!important;width:auto!important;}


/* v2.11.38 — reusable tabs for SMS, WhatsApp and On Account workspaces */
.stag-section-tabs-shell{margin-top:16px}
.stag-section-tabs-nav{margin-bottom:14px!important}
.stag-section-panel{min-width:0}
.stag-section-panel[hidden]{display:none!important}
.stag-section-panel.active{display:block}
.stag-section-panel>.stag-card:first-child,.stag-section-panel>.stag-kpis:first-child{margin-top:0}
.stag-section-tabs-nav .stag-settings-tab.active,
.stag-section-tabs-nav .stag-settings-tab[aria-selected="true"]{background:#111!important;color:#fff!important;border-color:#111!important}
@media(max-width:700px){.stag-section-tabs-shell{margin-top:12px}.stag-section-tabs-nav{padding-bottom:10px!important}}

/* v2.11.40 — responsive tablet/mobile portal + PWA shell refinements. */
.stag-pwa-install{
  width:100%;appearance:none;-webkit-appearance:none;text-align:left;cursor:pointer;
  background:transparent!important;border:0!important;box-shadow:none!important;font:inherit!important;
}
.stag-pwa-toast{
  position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));z-index:5000;
  transform:translate(-50%,24px);opacity:0;pointer-events:none;max-width:min(520px,calc(100vw - 28px));
  padding:12px 16px;border:2px solid #111;border-radius:12px;background:#fff;color:#111!important;
  font:700 13px/1.4 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  transition:opacity .18s ease,transform .18s ease;
}
.stag-pwa-toast.show{opacity:1;transform:translate(-50%,0)}
html.stag-pwa-standalone,.stag-pwa-standalone body{min-height:100%;background:#fff}
html.stag-pwa-standalone .stag-app-shell{min-height:100dvh}

@media(max-width:1100px){
  .stag-app-shell{grid-template-columns:230px minmax(0,1fr)}
  .stag-page{padding:20px}
  .stag-top{padding-left:20px;padding-right:20px}
  .stag-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stag-integrations{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:850px){
  html,body{max-width:100%;overflow-x:hidden}
  .stag-backoffice-page{overscroll-behavior-y:none}
  .stag-side{padding-left:max(14px,env(safe-area-inset-left))!important}
  .stag-top{padding-top:env(safe-area-inset-top)!important;height:calc(66px + env(safe-area-inset-top))!important}
  .stag-page{padding-bottom:max(18px,env(safe-area-inset-bottom))!important}
  .stag-top-right{gap:7px!important;min-width:0}
  .stag-switcher{max-width:44vw}
  .stag-switcher select{max-width:100%;text-overflow:ellipsis}
  .stag-user>b{width:34px;height:34px}
  .stag-page-head{max-width:100%}
  .stag-grid.two,.stag-integrations,.stag-flow{grid-template-columns:1fr!important}
  .stag-date-filter{align-items:stretch;flex-direction:column}
  .stag-date-filter label{width:100%}
  .stag-date-filter input,.stag-date-filter select,.stag-date-filter button{width:100%!important}
  .stag-section-tabs-nav,.stag-settings-tabs,.stag-analytics-tabs,.stag-stock-workspace-tabs{
    display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;scrollbar-width:thin;gap:8px!important;padding-bottom:8px!important;
    scroll-snap-type:x proximity;
  }
  .stag-section-tabs-nav>* ,.stag-settings-tabs>* ,.stag-analytics-tabs>* ,.stag-stock-workspace-tabs>*{
    flex:0 0 auto!important;min-width:max-content!important;scroll-snap-align:start;
  }
  .stag-live-results{max-width:100vw}
  .stag-form-grid input,.stag-form-grid select,.stag-form-grid textarea,
  .stag-app-shell input,.stag-app-shell select,.stag-app-shell textarea{font-size:16px!important}
  .stag-app-shell input[type=checkbox],.stag-app-shell input[type=radio]{font-size:initial!important}
  .stag-btn,.stag-app-shell button,.stag-link-btn{min-height:44px}
  .stag-card.table-card,.table-card{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  .stag-card.table-card table,.table-card table{width:max-content;min-width:100%!important}
}

@media(max-width:620px){
  .stag-top{align-items:center}
  .stag-top>div:first-child{min-width:0}
  .stag-top h1{max-width:52vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .stag-eyebrow{display:none}
  .stag-switcher{max-width:38vw}
  .stag-page{padding-left:10px!important;padding-right:10px!important}
  .stag-page-head{padding:12px!important}
  .stag-page-head h2{font-size:21px!important}
  .stag-member-facts,.stag-selected-stock-metrics{grid-template-columns:1fr!important}
  .stag-kpis,.stag-kpis.three,.stag-member-dashboard-kpis{grid-template-columns:1fr!important}
  .stag-login{min-height:100dvh}
  .stag-login-brand,.stag-login-form{padding-left:max(18px,env(safe-area-inset-left))!important;padding-right:max(18px,env(safe-area-inset-right))!important}
  .stag-login-card{width:100%;max-width:none}
  .stag-basket-row,.stag-return-card,.stag-confirm-meta{min-width:0}
  .stag-final-sale-block{position:sticky;bottom:0;z-index:25;background:#fff!important;padding:12px 0 max(12px,env(safe-area-inset-bottom));border-top:2px solid #111}
}

@media(hover:none) and (pointer:coarse){
  .stag-app-shell a,.stag-app-shell button,.stag-app-shell input,.stag-app-shell select{touch-action:manipulation}
  .stag-side nav a,.stag-side-foot .stag-foot-link{min-height:46px}
  .stag-live-result{min-height:54px}
}

.stag-app-shell .stag-side-foot .stag-pwa-install{background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;padding:0 9px!important;justify-content:flex-start!important;font-size:11px!important;letter-spacing:0!important;font-weight:650!important}
.stag-pwa-install[hidden]{display:none!important}

/* v2.11.41 controlled offline PWA */
.stag-connectivity{position:fixed;left:50%;top:max(8px,env(safe-area-inset-top));transform:translateX(-50%);z-index:10020;display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;color:#111;border:2px solid #111;border-radius:999px;padding:7px 14px;font-size:12px;font-weight:900;letter-spacing:.08em;box-shadow:0 8px 30px rgba(0,0,0,.15);min-width:86px;text-align:center}
.stag-connectivity:before{content:"";width:9px;height:9px;border-radius:50%;background:#17853a}.stag-connectivity.offline:before{background:#a53627}.stag-connectivity.offline{background:#fff2ef}
.stag-pending-sales-button{position:fixed;z-index:10021;top:max(8px,env(safe-area-inset-top));left:calc(50% + 69px);min-width:38px;height:34px;border:2px solid #111;border-radius:999px;background:#fff;color:#111;display:flex;align-items:center;justify-content:center;gap:4px;padding:0 8px;box-shadow:0 8px 30px rgba(0,0,0,.15);cursor:pointer;font:900 11px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;touch-action:manipulation}.stag-pending-sync-label{display:none;font-size:10px;letter-spacing:.08em}.stag-pending-sync-icon{font-size:15px}.stag-pending-sales-button b{min-width:16px;height:16px;border-radius:999px;background:#e5e7eb;display:grid;place-items:center;font-size:9px}.stag-pending-sales-button.has-pending{background:#fff4d6;border-color:#8a6410}.stag-pending-sales-button.has-pending b{background:#b42318;color:#fff}
.stag-pending-sales-panel[hidden]{display:none!important}.stag-pending-sales-panel{position:fixed;inset:0;z-index:10080;display:grid;place-items:start center;padding:72px 16px 20px;box-sizing:border-box}.stag-pending-sales-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.52)}.stag-pending-sales-panel>section{position:relative;width:min(620px,100%);max-height:calc(100vh - 92px);overflow:auto;box-sizing:border-box;background:#fff;color:#111;border:2px solid #111;border-radius:20px;padding:24px;box-shadow:0 24px 70px rgba(0,0,0,.3)}.stag-pending-sales-panel>section>span{display:block;font-size:11px;font-weight:900;letter-spacing:.14em}.stag-pending-sales-panel h2{margin:7px 38px 6px 0;font-size:28px}.stag-pending-sales-panel p{color:#5f6368}.stag-pending-sales-x{position:absolute;right:16px;top:14px;width:36px;height:36px;border:0;background:transparent;font-size:28px;cursor:pointer}.stag-pending-sales-panel [data-stag-pending-sales-list]{display:grid;gap:8px;margin:18px 0}.stag-pending-sales-panel [data-stag-pending-sales-list] article{display:flex;justify-content:space-between;gap:18px;border:1px solid #d5d7da;border-radius:12px;padding:12px}.stag-pending-sales-panel [data-stag-pending-sales-list] article>div{display:grid;gap:4px}.stag-pending-sales-panel [data-stag-pending-sales-list] article>div:last-child{text-align:right;flex:0 0 auto}.stag-pending-sales-panel small,.stag-pending-sales-panel em{display:block;color:#666;font-size:12px;font-style:normal}.stag-pending-sales-panel em{color:#9b2c20;max-width:430px}.stag-pending-sales-empty{display:grid;gap:5px;padding:22px;border:1px dashed #adb1b7;border-radius:12px;text-align:center}.stag-pending-sales-actions{display:flex;gap:9px;justify-content:flex-end}.stag-sale-history-focus{background:#fff4d6!important;outline:2px solid #8a6410;outline-offset:-2px}.stag-sale-history-focus-detail>td{border:2px solid #8a6410!important;border-top:0!important}
.stag-offline-root{min-height:100vh;background:#f7f4ee;color:#111;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.stag-offline-loading,.stag-offline-empty{max-width:680px;margin:14vh auto;background:#fff;border:2px solid #111;border-radius:24px;padding:32px;text-align:center}.stag-offline-empty h1{margin:8px 0 12px}.stag-offline-empty button,.stag-offline-foot button,.stag-offline-card button,.stag-offline-picker button{min-height:46px;border:2px solid #111;background:#fff;color:#111;border-radius:10px;padding:8px 14px;font-weight:800;cursor:pointer}
.stag-offline-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;background:#000;color:#fff;border-radius:22px;padding:24px;margin-bottom:16px}.stag-offline-head span{font-size:12px;font-weight:900;letter-spacing:.18em}.stag-offline-head h1{font-size:clamp(28px,5vw,48px);margin:4px 0}.stag-offline-head p{margin:0;color:#ddd}.stag-offline-state{text-align:right;min-width:190px}.stag-offline-state strong{display:block;color:#000;background:#efdba9;border-radius:999px;padding:7px 12px;margin-bottom:8px}.stag-offline-state small{display:block;line-height:1.35;color:#ddd}
.stag-offline-tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 12px;scrollbar-width:thin}.stag-offline-tabs button{flex:0 0 auto;border:2px solid #111;background:#fff;color:#111;border-radius:12px;min-height:46px;padding:0 17px;font-weight:850}.stag-offline-tabs button.active{background:#000;color:#fff}
.stag-offline-panel{display:block}.stag-offline-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.stag-offline-kpis article,.stag-offline-card{background:#fff;border:2px solid #111;border-radius:18px;padding:18px}.stag-offline-kpis span{display:block;font-size:13px;color:#5c5147;margin-bottom:7px}.stag-offline-kpis strong{font-size:clamp(22px,4vw,34px)}.stag-offline-card{margin-bottom:14px}.stag-offline-card h2{margin:0 0 14px}.stag-offline-card label{display:block;font-weight:800;margin:12px 0}.stag-offline-card input,.stag-offline-card select{display:block;width:100%;box-sizing:border-box;min-height:50px;margin-top:7px;border:2px solid #111;border-radius:10px;background:#fff;color:#111;padding:9px 12px;font:inherit}.stag-offline-card-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.stag-offline-card-head p{margin:5px 0 0;color:#675a4e}
.stag-offline-results,.stag-offline-picker{display:grid;gap:7px}.stag-offline-result,.stag-offline-picker button{display:flex;width:100%;box-sizing:border-box;justify-content:space-between;align-items:center;gap:12px;text-align:left;border:1.5px solid #b6aea4;border-radius:12px;background:#fff;padding:11px 13px}.stag-offline-result span,.stag-offline-picker button span{display:grid;gap:3px}.stag-offline-result small,.stag-offline-picker small{color:#675a4e}.stag-offline-result b,.stag-offline-picker b{white-space:nowrap}.stag-offline-selected{border:1.5px solid #b6aea4;border-radius:10px;padding:11px 13px;background:#f8f2e6;margin:8px 0 14px}
.stag-offline-warning{display:flex;gap:10px;align-items:center;background:#fff3cd;border:2px solid #8a6410;border-radius:12px;padding:11px 13px;margin-bottom:16px}.stag-offline-warning strong{white-space:nowrap}.stag-offline-total{display:flex;justify-content:space-between;align-items:end;border-top:2px solid #111;border-bottom:2px solid #111;padding:13px 0;margin:14px 0}.stag-offline-total strong{font-size:30px}.stag-offline-basket{display:grid;gap:8px;margin:12px 0}.stag-offline-basket-row{display:grid;grid-template-columns:minmax(0,1fr) 95px 120px 42px;gap:9px;align-items:center;border:1.5px solid #b6aea4;border-radius:12px;padding:10px}.stag-offline-basket-row span{display:grid}.stag-offline-basket-row small{color:#675a4e}.stag-offline-basket-row input{margin:0;min-height:42px}.stag-offline-basket-row button{min-width:40px;padding:0}
.stag-offline-table{overflow:auto}.stag-offline-table table{width:100%;border-collapse:collapse;min-width:680px}.stag-offline-table th,.stag-offline-table td{text-align:left;padding:10px;border-bottom:1px solid #ccc;vertical-align:top}.stag-offline-table th{font-size:12px;letter-spacing:.08em;text-transform:uppercase}.stag-offline-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#000;color:#fff;border-radius:16px;padding:14px 16px;margin-top:18px}.stag-offline-foot p{margin:0}.stag-offline-foot button{flex:0 0 auto}.stag-offline-card .stag-bad{color:#8a2018;font-weight:800}.stag-offline-card .stag-muted{color:#6d6258}
@media(max-width:800px){.stag-offline-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.stag-offline-head{display:block}.stag-offline-state{text-align:left;min-width:0;margin-top:16px;max-width:360px}.stag-offline-basket-row{grid-template-columns:minmax(0,1fr) 80px}.stag-offline-basket-row>b{grid-column:1/2}.stag-offline-basket-row>button{grid-column:2/3;grid-row:2}.stag-offline-foot{display:block}.stag-offline-foot button{width:100%;margin-top:10px}}
@media(max-width:760px){.stag-pending-sales-button{min-width:84px;min-height:44px;height:44px;padding:0 10px;gap:5px}.stag-pending-sync-label{display:inline}.stag-pending-sync-icon{font-size:17px}.stag-pending-sales-button b{min-width:19px;height:19px;font-size:10px}}
@media(max-width:520px){.stag-offline-root{padding:12px}.stag-offline-kpis{grid-template-columns:1fr}.stag-offline-head{border-radius:16px;padding:18px}.stag-connectivity{top:max(6px,env(safe-area-inset-top));padding:6px 12px}.stag-pending-sales-button{top:max(4px,env(safe-area-inset-top));left:calc(50% + 62px)}.stag-pending-sales-panel{padding:58px 10px 10px}.stag-pending-sales-panel>section{padding:19px;max-height:calc(100vh - 68px)}.stag-pending-sales-panel [data-stag-pending-sales-list] article{display:grid}.stag-pending-sales-panel [data-stag-pending-sales-list] article>div:last-child{text-align:left}.stag-pending-sales-actions{display:grid}.stag-pending-sales-actions .stag-btn{width:100%;min-height:48px}.stag-offline-card{padding:14px}.stag-offline-result{display:grid}.stag-offline-result b{white-space:normal}}


/* v2.11.45 SMS queue and preview */
.stag-clickable-kpi{cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}
.stag-clickable-kpi:hover,.stag-clickable-kpi:focus{transform:translateY(-1px);box-shadow:0 5px 16px rgba(0,0,0,.08);outline:2px solid #111;outline-offset:2px}
.stag-sms-preview-card{border-width:2px!important}
.stag-sms-preview-card .stag-kpi p{font-size:1.05rem;line-height:1.5}
.stag-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* v2.11.48: nested Sales Report tabs stay visually separate from the main
   Sales Report / Transaction History navigation. */
.stag-nested-tabs{margin-top:16px}
.stag-nested-tabs>.stag-section-tabs-nav{margin-bottom:16px}

/* v2.11.54 — calmer, friendlier STAG visual system
   Preserve the white / black / warm-brown identity while reducing visual noise. */
.stag-backoffice-page,
.stag-backoffice-page #page,
.stag-backoffice-page .site,
.stag-backoffice-page .site-main,
.stag-app-shell{background:#f7f7f5!important;color:#171717!important}
.stag-app-shell{--stag-calm-line:#dedbd4;--stag-calm-line-strong:#c9c4ba;--stag-calm-panel:#fff;--stag-calm-soft:#faf8f4;--stag-calm-warm:#f4eee3;--stag-calm-accent:#8a6335;--stag-calm-muted:#66615a}
.stag-main{background:#f7f7f5!important}
.stag-page{max-width:1520px!important;padding:22px 24px 34px!important}

/* Header/navigation: quieter borders and fewer competing outlines. */
.stag-side{border-right:1px solid #e0ddd7!important;background:#fff!important;padding-left:12px!important;padding-right:12px!important}
.stag-side-brand{border-bottom:1px solid #eeeae4!important}
.stag-client-box{border:1px solid #e1ddd6!important;background:#faf8f4!important;border-radius:12px!important}
.stag-side nav{gap:2px!important}
.stag-side nav a,.stag-side-foot .stag-foot-link{border:0!important;border-radius:9px!important;color:#4e4a44!important}
.stag-side nav a:hover,.stag-side nav a.active,.stag-side-foot .stag-foot-link:hover,.stag-side-foot .stag-foot-link.active{background:#f3efe8!important;border:0!important;color:#111!important;box-shadow:none!important}
.stag-side nav a.active,.stag-side-foot .stag-foot-link.active{border-left:3px solid #8a6335!important}
.stag-side-foot{border-top:1px solid #eeeae4!important}
.stag-top{height:72px!important;padding:0 24px!important;border-bottom:1px solid #e3e0da!important;background:rgba(255,255,255,.96)!important}
.stag-top h1{font-size:18px!important}
.stag-switcher select{border:1px solid #d4d0c8!important;border-radius:10px!important}

/* Page hierarchy: one clear warm header, compact subheads below it. */
.stag-app-shell .stag-page-head{background:#f4eee3!important;border:1px solid #d9cdbb!important;border-left:4px solid #8a6335!important;border-radius:13px!important;padding:15px 18px!important;margin-bottom:18px!important;box-shadow:none!important}
.stag-app-shell .stag-page-head h1,.stag-app-shell .stag-page-head h2{font-size:clamp(24px,2vw,31px)!important;line-height:1.12!important;margin:4px 0 5px!important;letter-spacing:-.025em!important}
.stag-app-shell .stag-page-head p{max-width:900px!important;font-size:12px!important;line-height:1.45!important;color:#5f5a53!important}
.stag-app-shell .stag-page-head>div>span{font-size:9px!important;letter-spacing:.14em!important;color:#765533!important}
.stag-app-shell .stag-page-head.compact{background:#faf8f4!important;border:0!important;border-left:3px solid #b18a5c!important;border-radius:8px!important;padding:10px 12px!important;margin:0 0 12px!important}
.stag-app-shell .stag-page-head.compact h3{font-size:17px!important;margin:3px 0!important;background:none!important;border:0!important;padding:0!important}
.stag-app-shell .stag-page-head.compact p{font-size:11px!important;margin-top:3px!important}

/* Cards/KPIs: lighter edges, more whitespace, less visual competition. */
.stag-app-shell .stag-kpis{gap:10px!important;margin-bottom:13px!important}
.stag-app-shell .stag-kpis article,
.stag-app-shell .stag-card,
.stag-app-shell .stag-integrations article,
.stag-app-shell .stag-client-grid article,
.stag-app-shell .stag-analytics-section,
.stag-app-shell .stag-near-tier-grid>section,
.stag-app-shell .stag-analytics-download-grid article,
.stag-app-shell .stag-bundle-tier-grid article,
.stag-app-shell .stag-monthly-recommendations article{background:#fff!important;border:1px solid #dedbd4!important;border-radius:13px!important;box-shadow:0 1px 2px rgba(30,25,20,.025)!important}
.stag-app-shell .stag-kpis article{padding:14px 16px!important;min-height:94px!important}
.stag-app-shell .stag-kpis span{font-size:10px!important;color:#625d56!important}
.stag-app-shell .stag-kpis strong{font-size:clamp(22px,2vw,29px)!important;margin:6px 0 2px!important;letter-spacing:-.025em!important}
.stag-app-shell .stag-kpis small{font-size:9px!important;line-height:1.35!important;color:#77716a!important}
.stag-app-shell .stag-card{padding:17px!important;margin-bottom:13px!important}
.stag-app-shell .stag-card>h3,.stag-app-shell .stag-sale-section>h4{background:#f7f3ec!important;border-left:3px solid #a47c4b!important;border-radius:7px!important;padding:8px 10px!important;font-size:16px!important}
.stag-app-shell .stag-card p{line-height:1.5!important;color:#625d56!important}

/* Tabs: visually light when idle, clear when active. */
.stag-settings-tabs,.stag-section-tabs-nav,.stag-stock-workspace-tabs,.stag-analytics-tabs,.stag-subnav{gap:7px!important}
.stag-settings-tab,.stag-section-tabs-nav .stag-settings-tab,.stag-stock-workspace-tabs a,.stag-subnav a,.stag-analytics-tabs button,.stag-analytics-tabs a{background:#fff!important;color:#383530!important;border:1px solid #d2cec7!important;border-radius:10px!important;box-shadow:none!important;min-height:40px!important;padding:0 14px!important;font-weight:750!important}
.stag-settings-tab.active,.stag-settings-tab[aria-selected="true"],.stag-section-tabs-nav .stag-settings-tab[aria-selected="true"],.stag-stock-workspace-tabs a.active,.stag-subnav a.active,.stag-analytics-tabs .active{background:#272522!important;color:#fff!important;border-color:#272522!important}

/* Inputs/actions: one clear primary action, restrained secondary controls. */
.stag-app-shell input,.stag-app-shell select,.stag-app-shell textarea,
.stag-table-search,.stag-form-grid input,.stag-form-grid select,.stag-form-grid textarea,.stag-date-filter input{background:#fff!important;color:#111!important;border:1px solid #c9c5be!important;border-radius:9px!important;box-shadow:none!important}
.stag-app-shell input:focus,.stag-app-shell select:focus,.stag-app-shell textarea:focus{border-color:#8a6335!important;outline:0!important;box-shadow:0 0 0 3px rgba(138,99,53,.10)!important}
.stag-app-shell .stag-btn,.stag-app-shell button,.stag-app-shell input[type="submit"],.stag-date-filter button{border:1px solid #272522!important;border-radius:9px!important;background:#272522!important;color:#fff!important;box-shadow:none!important;min-height:40px!important;padding:0 14px!important}
.stag-app-shell .stag-btn.secondary,.stag-app-shell button.secondary{background:#fff!important;color:#272522!important;border-color:#c7c2ba!important}
.stag-app-shell .stag-btn:hover,.stag-app-shell button:hover{opacity:1!important;background:#8a6335!important;color:#fff!important;border-color:#8a6335!important}
.stag-app-shell .stag-btn.secondary:hover{background:#f4eee3!important;color:#111!important;border-color:#bca98f!important}
.stag-quick-actions{gap:8px!important;flex-wrap:wrap!important}

/* Notices and dense explanations become supportive rather than dominant. */
.stag-app-shell .stag-notice,.stag-app-shell .stag-preview-banner,.stag-app-shell .stag-preview-banner.importing{background:#fff!important;border:1px solid #e0ddd7!important;border-left:3px solid #b89456!important;border-radius:9px!important;padding:11px 13px!important;color:#4f4a44!important}
.stag-app-shell .stag-notice strong{color:#2d2a26!important}

/* Tables: softer lines and headers. Data remains dense but easier to scan. */
.stag-app-shell .table-card,.stag-app-shell .stag-card.table-card{border:1px solid #dedbd4!important;border-radius:13px!important;background:#fff!important;overflow:auto!important}
.stag-app-shell table{background:#fff!important;border-color:#dedbd4!important}
.stag-app-shell th{background:#f7f6f3!important;color:#57524b!important;border-color:#ddd9d2!important;font-size:9px!important;letter-spacing:.06em!important;padding:10px 11px!important}
.stag-app-shell td{background:#fff!important;color:#171717!important;border-color:#ebe8e2!important;padding:10px 11px!important}
.stag-app-shell tbody tr:hover td{background:#fbfaf7!important}
.stag-app-shell td small{color:#77716a!important}

/* Replace the older high-contrast black member/POS panels with calm operational cards. */
.stag-app-shell .stag-member-search-hero,
.stag-app-shell .stag-member-dashboard-kpis article,
.stag-app-shell .stag-near-tier-summary>section,
.stag-app-shell .stag-potters-sale-layout{background:#fff!important;color:#111!important;border:1px solid #dedbd4!important;border-radius:15px!important;box-shadow:none!important}
.stag-app-shell .stag-member-search-hero *,
.stag-app-shell .stag-member-dashboard-kpis article *,
.stag-app-shell .stag-near-tier-summary>section *,
.stag-app-shell .stag-potters-sale-layout *{color:#111!important}
.stag-app-shell .stag-potters-sale-layout .stag-link-btn{background:#fff!important;color:#111!important;border:1px solid #c7c2ba!important}
.stag-app-shell .stag-member-search-hero .stag-btn,
.stag-app-shell .stag-potters-sale-layout .stag-btn,
.stag-app-shell .stag-potters-sale-layout button{background:#272522!important;color:#fff!important;border:1px solid #272522!important}
.stag-app-shell .stag-member-search-hero>span{color:#765533!important}
.stag-app-shell .stag-member-search-hero h3{color:#111!important}

/* Keep key operational states visible without making the whole page loud. */
.stag-square-manual{border-radius:11px!important;margin-bottom:14px!important}
.stag-status,.stag-pill{border:1px solid #d0cbc2!important;background:#fff!important;color:#4f4a44!important}
.stag-tag,.stag-tag.ok{border:1px solid #d0cbc2!important;background:#f8f6f2!important;color:#3f3b36!important}
.stag-inventory-value-kpis article{background:#fcfbf8!important}

@media(max-width:850px){
  .stag-page{padding:16px!important}
  .stag-top{height:64px!important;padding:0 14px!important}
  .stag-app-shell .stag-page-head{padding:13px 14px!important}
  .stag-app-shell .stag-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .stag-page{padding:11px!important}
  .stag-app-shell .stag-kpis{grid-template-columns:1fr!important}
  .stag-app-shell .stag-card{padding:13px!important}
  .stag-app-shell .stag-page-head h1,.stag-app-shell .stag-page-head h2{font-size:23px!important}
}

/* v2.11.55 — explicit form affordance and POS contrast fallback.
   Duplicated in the feature stylesheet because stag-backoffice.css is the
   always-loaded portal stylesheet. */
.stag-app-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.stag-app-shell select,.stag-app-shell textarea{background:#fff!important;color:#111!important;border:1.5px solid #111!important;border-radius:9px!important;box-shadow:0 1px 0 rgba(0,0,0,.03)!important}
.stag-app-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
.stag-app-shell select:focus,.stag-app-shell textarea:focus{border-color:#111!important;outline:3px solid rgba(138,99,53,.16)!important;outline-offset:1px!important;box-shadow:none!important}
.stag-app-shell input::placeholder,.stag-app-shell textarea::placeholder{color:#777!important;opacity:1!important}
.stag-app-shell .stag-potters-sale-layout .stag-selected-member,
.stag-app-shell .stag-potters-sale-layout .stag-selected-stock-item{background:#faf8f4!important;color:#111!important;border:1.5px solid #111!important;box-shadow:none!important}
.stag-app-shell .stag-potters-sale-layout .stag-selected-member *,
.stag-app-shell .stag-potters-sale-layout .stag-selected-stock-item *{color:#111!important}
.stag-app-shell .stag-potters-sale-layout .stag-wf-basket-kpis article{background:#fff!important;color:#111!important;border:1px solid #c9c5be!important;box-shadow:none!important}
.stag-app-shell .stag-potters-sale-layout .stag-wf-basket-kpis article span{color:#625d56!important}.stag-app-shell .stag-potters-sale-layout .stag-wf-basket-kpis article strong{color:#111!important}

/* v2.11.63 — cleaner four-month Sales Outlook */
.stag-sales-outlook{display:grid;gap:12px;min-width:0}
.stag-sales-outlook>.stag-page-head.compact{margin-bottom:0!important;align-items:center!important}
.stag-outlook-pace{flex:0 0 auto;padding:8px 11px;border:1px solid #d4cfc6;border-radius:999px;background:#fff;color:#4d4943;font-size:10px;font-weight:800;white-space:nowrap}
.stag-outlook-pace.positive{background:#eef6f0;border-color:#bfd4c5;color:#315b3f}
.stag-outlook-pace.negative{background:#fbf0ee;border-color:#e2c3bd;color:#7a3e34}
.stag-app-shell .stag-outlook-summary{margin-bottom:0!important}
.stag-app-shell .stag-outlook-summary>article:first-child{background:#f6efe5!important;border-color:#cdbb9f!important}
.stag-outlook-compare,.stag-outlook-chart-card{margin-bottom:0!important;padding:16px!important}
.stag-outlook-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.stag-outlook-heading>div>span{display:block;font-size:9px;font-weight:850;letter-spacing:.14em;color:#765533;margin-bottom:4px}
.stag-outlook-heading h3{margin:0 0 4px!important;padding:0!important;border:0!important;background:none!important;font-size:16px!important;color:#171717!important}
.stag-outlook-heading p{margin:0!important;max-width:850px;font-size:10px!important;line-height:1.45!important;color:#6c665f!important}
.stag-outlook-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.stag-outlook-month{min-width:0;padding:13px 14px;border:1px solid #ded9d0;border-radius:11px;background:#faf9f6}
.stag-outlook-month.current{background:#f3eadc;border-color:#bfa783}
.stag-outlook-month>span{display:block;font-size:10px;font-weight:800;color:#5f5952}
.stag-outlook-month>strong{display:block;margin:5px 0 3px;font-size:21px;letter-spacing:-.025em;color:#111}
.stag-outlook-month>small{display:block;font-size:9px;line-height:1.35;color:#7b756d}
.stag-outlook-legend{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;margin:2px 0 10px;padding:9px 10px;border:1px solid #e4e0d9;border-radius:10px;background:#faf9f6}
.stag-outlook-legend-item{display:flex;align-items:center;gap:8px;min-width:150px}
.stag-outlook-legend-item>i{position:relative;width:34px;height:7px;flex:0 0 auto;background:transparent!important}
.stag-outlook-legend-item>i::after{content:"";position:absolute;left:0;right:0;top:50%;height:4px;transform:translateY(-50%);border-radius:999px;background:var(--series-color)}
.stag-outlook-legend-item>i.series-1::after{background:repeating-linear-gradient(90deg,var(--series-color) 0 12px,transparent 12px 17px)}
.stag-outlook-legend-item>i.series-2::after{background:repeating-linear-gradient(90deg,var(--series-color) 0 5px,transparent 5px 9px)}
.stag-outlook-legend-item>i.series-3::after{background:repeating-linear-gradient(90deg,var(--series-color) 0 2px,transparent 2px 7px)}
.stag-outlook-legend-item>span{display:flex;flex-direction:column;min-width:0}
.stag-outlook-legend-item strong{font-size:10px;color:#161616;line-height:1.2}
.stag-outlook-legend-item small{font-size:8px;color:#777068;line-height:1.25}
.stag-outlook-chart{width:100%;min-height:260px;overflow-x:auto;border:1.5px solid #d8d2c9;border-radius:11px;background:#fff;padding:6px}
.stag-outlook-chart>p{margin:14px!important;font-size:10px!important;color:#77716a!important}
.stag-outlook-svg{display:block;width:100%;min-width:620px;height:auto;aspect-ratio:920/310}
.stag-outlook-plot-bg{fill:#fcfbf8}
.stag-outlook-grid{stroke:#e2ddd5;stroke-width:1}
.stag-outlook-axis-tick{stroke:#bdb6ac;stroke-width:1}
.stag-outlook-axis-label{fill:#746e66;font-size:10px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.stag-outlook-axis-title{fill:#625d56;font-size:10px;font-weight:700;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.stag-outlook-today-line{stroke:#b89e7d;stroke-width:1.2;stroke-dasharray:5 5}
.stag-outlook-today-label{fill:#80613c;font-size:9px;font-weight:800;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.stag-outlook-series{vector-effect:non-scaling-stroke}
.stag-outlook-end-dot{stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
@media(max-width:900px){.stag-outlook-months{grid-template-columns:repeat(2,minmax(0,1fr))}.stag-sales-outlook>.stag-page-head.compact{align-items:flex-start!important;flex-direction:column}.stag-outlook-pace{white-space:normal}}
@media(max-width:520px){.stag-outlook-months{grid-template-columns:1fr}.stag-outlook-month>strong{font-size:19px}.stag-outlook-chart{padding:4px}}

/* v2.11.64 — evidence-based Sales Analysis dashboard tab */
.stag-sales-analysis{display:grid;gap:12px;min-width:0}
.stag-sales-analysis>.stag-page-head.compact{margin-bottom:0!important;align-items:center!important}
.stag-analysis-status{flex:0 0 auto;padding:8px 11px;border:1px solid #d5d0c8;border-radius:999px;background:#fff;color:#5a554f;font-size:10px;font-weight:850;white-space:nowrap}
.stag-analysis-status.higher{background:#eef6f0;border-color:#bfd4c5;color:#315b3f}.stag-analysis-status.lower{background:#fbf0ee;border-color:#e2c3bd;color:#7a3e34}.stag-analysis-status.stable{background:#f6f3ed;border-color:#d6cbbb;color:#655843}
.stag-app-shell .stag-analysis-summary{margin-bottom:0!important}.stag-app-shell .stag-analysis-summary>article:first-child{background:#f6efe5!important;border-color:#cdbb9f!important}
.stag-analysis-headline{margin-bottom:0!important;background:#faf8f4!important;border-color:#d8d0c3!important}.stag-analysis-headline>h3{font-size:20px!important;margin-bottom:6px!important}.stag-analysis-headline>p{max-width:980px!important;color:#5f5a54!important}
.stag-analysis-confidence{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid #e1ddd6;font-size:10px;color:#625d56}.stag-analysis-confidence small{color:#7b756d}
.stag-analysis-grid{align-items:stretch}.stag-analysis-grid>.stag-card{margin-bottom:0!important}
.stag-analysis-drivers{display:grid;gap:8px;margin-top:10px}.stag-analysis-driver{padding:11px 12px;border:1px solid #ded9d0;border-left-width:4px;border-radius:10px;background:#faf9f6}.stag-analysis-driver.negative{border-left-color:#b86c60}.stag-analysis-driver.positive{border-left-color:#6f9b7b}.stag-analysis-driver.watch{border-left-color:#b49763}.stag-analysis-driver.neutral{border-left-color:#aaa39a}
.stag-analysis-driver-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.stag-analysis-driver-head strong{font-size:12px;color:#191919}.stag-analysis-driver-head span{font-size:9px;font-weight:750;color:#6b655e;text-align:right}.stag-analysis-driver p{margin:5px 0 0!important;font-size:10px!important;line-height:1.45!important;color:#625d56!important}
.stag-analysis-projection{display:grid;gap:9px;margin-top:10px}.stag-analysis-projection-title{font-size:18px;color:#171717}.stag-analysis-projection>p{margin:0!important;color:#5f5a54!important}.stag-analysis-projection>small{display:block;padding-top:7px;border-top:1px solid #e4dfd8;color:#7c756d;font-size:9px}
.stag-analysis-projection-callout{padding:12px;border:1px solid #d5c8b5;border-radius:10px;background:#f6efe5}.stag-analysis-projection-callout span{display:block;font-size:9px;font-weight:850;letter-spacing:.09em;color:#755c3c;text-transform:uppercase}.stag-analysis-projection-callout strong{display:block;margin-top:4px;font-size:12px;line-height:1.45;color:#27231f}
.stag-analysis-evidence-card,.stag-analysis-actions-card{margin-bottom:0!important}.stag-analysis-table th{white-space:nowrap}.stag-analysis-table td{vertical-align:top}.stag-analysis-table td:last-child{min-width:260px;color:#625d56}.stag-analysis-row.up td:nth-child(4){color:#315b3f;font-weight:800}.stag-analysis-row.down td:nth-child(4){color:#7a3e34;font-weight:800}.stag-analysis-row.watch td:nth-child(4){color:#80613c;font-weight:800}
.stag-analysis-actions{display:grid;gap:9px;margin-top:10px}.stag-analysis-action{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;padding:11px 12px;border:1px solid #ded9d0;border-radius:10px;background:#faf9f6}.stag-analysis-action-no{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#2b2926;color:#fff;font-size:10px;font-weight:850}.stag-analysis-action strong{font-size:12px;color:#181818}.stag-analysis-action p{margin:4px 0!important;font-size:10px!important;line-height:1.5!important;color:#4f4b46!important}.stag-analysis-action small{display:block;font-size:9px;color:#7a746d}
@media(max-width:900px){.stag-sales-analysis>.stag-page-head.compact{align-items:flex-start!important;flex-direction:column}.stag-analysis-status{white-space:normal}.stag-analysis-driver-head{flex-direction:column}.stag-analysis-driver-head span{text-align:left}.stag-analysis-table td:last-child{min-width:200px}}
@media(max-width:620px){.stag-analysis-headline>h3{font-size:17px!important}.stag-analysis-evidence-card .table-card{overflow-x:auto}.stag-analysis-table{min-width:760px}.stag-analysis-action{grid-template-columns:26px minmax(0,1fr)}.stag-analysis-action-no{width:25px;height:25px}}


/* v2.11.65 — stronger high-contrast four-month trend palette and line patterns */

/* v2.11.69 — top-right Switch User + Sign out session menu */
.stag-user-menu{position:relative;flex:0 0 auto}
.stag-user-trigger{appearance:none;border:0;background:transparent!important;color:#111!important;padding:4px 5px 4px 4px!important;margin:0;min-height:48px;border-radius:12px;cursor:pointer;text-align:left}
.stag-user-trigger:hover,.stag-user-trigger[aria-expanded="true"]{background:#f5f1ea!important}
.stag-user-trigger>i{font-style:normal;font-size:14px;line-height:1;color:#59534c;margin-left:3px;transition:transform .15s ease}
.stag-user-trigger[aria-expanded="true"]>i{transform:rotate(180deg)}
.stag-user-dropdown{position:absolute;right:0;top:calc(100% + 9px);z-index:120;width:min(320px,calc(100vw - 24px));background:#fff;color:#111;border:1.5px solid #111;border-radius:14px;box-shadow:0 14px 36px rgba(0,0,0,.14);overflow:hidden}
.stag-user-dropdown[hidden]{display:none!important}
.stag-user-dropdown-head{display:grid;gap:2px;padding:14px 15px 12px;background:#f6f1e8;border-bottom:1px solid #d8d0c4}
.stag-user-dropdown-head>span{font-size:8px;letter-spacing:.15em;font-weight:850;color:#765533}
.stag-user-dropdown-head>strong{font-size:14px;color:#111}
.stag-user-dropdown-head>small{font-size:9px;color:#666}
.stag-switch-user-form{display:grid;gap:8px;padding:14px 15px}
.stag-switch-user-form label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#111}
.stag-switch-user-form input{width:100%;min-height:42px;margin:0!important;padding:9px 11px!important;background:#fff!important;color:#111!important;border:1.5px solid #111!important;border-radius:9px!important;font:inherit!important;font-size:14px!important;letter-spacing:.08em!important}
.stag-switch-user-form button{appearance:none;width:100%;min-height:40px;border:1.5px solid #111;border-radius:9px;background:#111;color:#fff;font:inherit;font-size:10px;font-weight:850;letter-spacing:.06em;cursor:pointer}
.stag-switch-user-form button:hover{background:#2c2925}
.stag-switch-user-help{font-size:9px;line-height:1.35;color:#6b655d}
.stag-user-switch-error{padding:8px 9px;border:1px solid #d9a49b;border-radius:8px;background:#fff0ed;color:#7b3026;font-size:9px;line-height:1.35;font-weight:700}
.stag-user-signout{display:flex!important;align-items:center;justify-content:flex-start;min-height:44px;padding:0 15px;border-top:1px solid #d8d0c4;background:#fff;color:#8a2f23!important;text-decoration:none!important;font-size:11px!important;font-weight:800!important}
.stag-user-signout:hover{background:#fff4f1}
@media(max-width:700px){
  .stag-user-trigger span{display:none!important}
  .stag-user-trigger>i{display:none}
  .stag-user-trigger{padding:3px!important;min-height:42px}
  .stag-user-trigger>b{width:38px;height:38px}
  .stag-user-dropdown{right:-2px;top:calc(100% + 7px)}
}


/* v2.11.70 — Sales Report > Stock Movement linked product search */
.stag-sales-product-filter-card .stag-page-head.compact{margin-bottom:14px!important}
.stag-product-sales-filter{margin:0 0 13px;padding:13px 14px;border:1px solid #d9d3ca;border-radius:11px;background:#f7f3ec}
.stag-product-sales-filter-row{display:grid;grid-template-columns:minmax(260px,620px) auto;gap:10px;align-items:end}
.stag-product-sales-filter-row label{display:block;min-width:0}
.stag-product-sales-filter-row label>span{display:block;margin-bottom:6px;font-size:9px;letter-spacing:.12em;font-weight:850;color:#6f5233}
.stag-product-sales-filter .stag-table-search{margin:0!important;min-height:44px!important;border:1.5px solid #24211e!important;background:#fff!important;color:#111!important}
.stag-product-sales-filter .stag-table-search:focus{outline:2px solid #b99260!important;outline-offset:1px!important;border-color:#111!important}
.stag-product-sales-filter p{margin:9px 0 0!important;font-size:10px!important;color:#625c55!important}
.stag-product-sales-filter p strong{color:#171717}
.stag-product-sales-clear{min-height:44px!important;white-space:nowrap}
.stag-product-sales-clear[hidden]{display:none!important}
[data-stag-product-sales-empty] td{padding:18px!important;text-align:center!important;font-weight:700;color:#675f56;background:#fbf8f2}
@media(max-width:700px){.stag-product-sales-filter-row{grid-template-columns:1fr}.stag-product-sales-clear{width:100%!important}}

/* v2.11.71 Ordering workspace */
.stag-ordering-needs-order td{background:#fbf7ef}
.stag-ordering-needs-order td:first-child{box-shadow:inset 3px 0 0 #9b6b2f}
@media(max-width:720px){
  #stag-ordering-stock,#stag-ordering-forecast{min-width:860px}
}

/* v2.12.40 — persistent Stock Take session */
.stag-stock-take-session{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;margin:0 0 16px;border:1px solid #d8d8d8;border-radius:16px;background:#faf9f6}.stag-stock-take-session>div:first-child{display:grid;gap:4px}.stag-stock-take-progress{white-space:nowrap;border:1px solid #ccc;border-radius:999px;background:#fff;padding:9px 13px}.stag-stock-take-start-card{border:1px solid #d8d8d8;border-radius:16px;padding:22px;background:#fff}.stag-stock-take-cancel{margin-top:10px}.stag-pending{font-weight:700;color:#78602a}@media(max-width:1180px){.stag-stock-take-session{align-items:flex-start;flex-direction:column}.stag-stock-take-progress{white-space:normal}}

/* v2.12.42 — Finance dashboard management-report presentation */
.stag-finance-report-grid{align-items:stretch}
.stag-income-statement,.stag-cash-movement-report{height:100%}
.stag-financial-lines{display:grid;gap:0;margin-top:14px;border:1px solid #dedede;border-radius:14px;overflow:hidden;background:#fff}
.stag-financial-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:13px 15px;border-bottom:1px solid #ececec}
.stag-financial-line:last-child{border-bottom:0}
.stag-financial-line span{font-weight:700;color:#4e4e4e}
.stag-financial-line strong{font-size:18px;color:#111;text-align:right;white-space:nowrap}
.stag-financial-line.less span{padding-left:18px;font-weight:600;color:#6d6d6d}
.stag-financial-line.total{border-top:2px solid #cfcfcf;background:#fafafa}
.stag-financial-line.total span,.stag-financial-line.total strong{font-weight:850;color:#111}
.stag-financial-line.grand{border-top:2px solid #111;background:#f6f2ea}
.stag-financial-line.grand span,.stag-financial-line.grand strong{font-weight:900;color:#111;font-size:20px}
.stag-financial-line.meta{background:#fbfbfb}
.stag-financial-line.meta strong{font-size:16px}
.stag-cash-movement-report .stag-kpis.compact{margin-top:14px}
.stag-cash-movement-history{margin-top:16px}
.stag-cash-movement-history .table-card{margin-top:10px}
@media(max-width:900px){
  .stag-finance-report-grid{grid-template-columns:1fr!important}
  .stag-financial-line{gap:12px;padding:12px}
  .stag-financial-line strong{font-size:16px}
  .stag-financial-line.grand span,.stag-financial-line.grand strong{font-size:18px}
}

/* v2.12.88 — transaction member type-ahead */
.stag-app-shell .stag-date-filter .stag-transaction-member-picker{position:relative!important;overflow:visible!important;z-index:80!important}
.stag-app-shell .stag-date-filter .stag-transaction-member-picker>.stag-autocomplete{display:block!important;width:100%!important;position:relative!important;z-index:90!important}
.stag-app-shell .stag-date-filter [data-wf-transaction-member-results]{z-index:10020!important;min-width:100%!important;max-height:360px!important}
@media(max-width:900px){.stag-app-shell .stag-date-filter .stag-transaction-member-picker{z-index:120!important}.stag-app-shell .stag-date-filter [data-wf-transaction-member-results]{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 5px)!important;max-height:42vh!important}}


/* v2.13.31 installable access-code app */
.stag-login-install-wrap{display:grid;gap:7px;margin:0 0 18px;padding:14px;border:1.5px solid #111;border-radius:14px;background:#f7f4ee}
.stag-login-install-wrap small{color:#625b52;line-height:1.35}
.stag-login-install{width:100%!important;text-align:center!important;background:#111!important;color:#fff!important;border:2px solid #111!important;border-radius:10px!important;min-height:48px!important;font-weight:900!important;letter-spacing:.04em!important}
.stag-login-install[hidden]{display:none!important}
.stag-code-login-label{display:block}
html.stag-pwa-standalone .stag-login-brand{display:none!important}
html.stag-pwa-standalone .stag-login{display:block!important;min-height:100dvh!important;background:#f7f4ee!important}
html.stag-pwa-standalone .stag-login-form{min-height:100dvh!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:max(20px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))!important}
html.stag-pwa-standalone .stag-login-card{max-width:480px!important;width:100%!important;border:2px solid #111!important;border-radius:22px!important;box-shadow:0 18px 50px rgba(0,0,0,.10)!important}
html.stag-pwa-standalone .stag-password-login,html.stag-pwa-standalone .stag-password-login-divider,html.stag-pwa-standalone .stag-login-install-wrap{display:none!important}
html.stag-pwa-standalone .stag-code-login{display:grid!important;gap:14px!important;margin-top:18px!important}
html.stag-pwa-standalone .stag-code-login label{font-size:14px!important;font-weight:850!important}
html.stag-pwa-standalone .stag-code-login input[name="access_code"]{min-height:70px!important;text-align:center!important;font-size:32px!important;font-weight:900!important;letter-spacing:.28em!important;border:2px solid #111!important;border-radius:14px!important;padding-left:calc(.28em + 14px)!important}
html.stag-pwa-standalone .stag-code-login button{min-height:56px!important;background:#111!important;color:#fff!important;font-size:15px!important;font-weight:900!important;border-radius:12px!important}
@media(max-width:620px){html.stag-pwa-standalone .stag-login-card{padding:24px 20px!important}html.stag-pwa-standalone .stag-code-login input[name="access_code"]{font-size:28px!important}}

/* v2.13.32.43 — high-visibility post-action confirmations.
   Only redirect/action feedback receives this treatment; ordinary explanatory
   .stag-notice panels keep their existing compact presentation. */
.stag-app-shell .stag-notice.stag-action-feedback{
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:6px!important;
    width:100%!important;
    min-height:88px!important;
    margin:0 0 22px!important;
    padding:18px 22px!important;
    border:2px solid #d2c3a6!important;
    border-left:7px solid #b89456!important;
    border-radius:12px!important;
    background:#fffaf0!important;
    color:#25221e!important;
    box-shadow:0 4px 16px rgba(31,27,22,.08)!important;
}
.stag-app-shell .stag-action-feedback-label{
    display:block!important;
    margin:0!important;
    color:#75603f!important;
    font-size:11px!important;
    font-weight:900!important;
    line-height:1.2!important;
    letter-spacing:.16em!important;
    text-transform:uppercase!important;
}
.stag-app-shell .stag-action-feedback-message{
    display:block!important;
    margin:0!important;
    color:#171717!important;
    font-size:19px!important;
    font-weight:800!important;
    line-height:1.35!important;
    letter-spacing:0!important;
}
@media(max-width:900px){
    .stag-app-shell .stag-notice.stag-action-feedback{
        min-height:82px!important;
        margin-bottom:18px!important;
        padding:16px 17px!important;
        border-left-width:6px!important;
    }
    .stag-app-shell .stag-action-feedback-label{font-size:10px!important}
    .stag-app-shell .stag-action-feedback-message{font-size:17px!important;line-height:1.4!important}
}

/* v2.13.32.44 — successful member registration confirmation for the
   mobile/tablet cashier PWA. The modal is emitted only after a successful new
   registration and is opened client-side on compact/standalone workspaces. */
.stag-member-registration-confirmation[hidden]{display:none!important}
.stag-member-registration-confirmation{
    position:fixed!important;
    inset:0!important;
    z-index:10050!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:max(20px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))!important;
}
.stag-member-registration-confirmation-backdrop{
    position:absolute!important;
    inset:0!important;
    background:rgba(17,17,17,.62)!important;
    backdrop-filter:blur(2px)!important;
}
.stag-member-registration-confirmation-card{
    position:relative!important;
    z-index:1!important;
    box-sizing:border-box!important;
    width:min(520px,100%)!important;
    padding:30px 28px 26px!important;
    border:1px solid #d9d5cd!important;
    border-radius:24px!important;
    background:#fff!important;
    color:#171717!important;
    box-shadow:0 28px 80px rgba(0,0,0,.28)!important;
    text-align:center!important;
}
.stag-member-registration-confirmation-card>span{
    display:block!important;
    margin:14px 0 6px!important;
    color:#6c655b!important;
    font-size:11px!important;
    font-weight:900!important;
    letter-spacing:.18em!important;
}
.stag-member-registration-confirmation-card h2{
    margin:0!important;
    font-size:28px!important;
    line-height:1.15!important;
    font-weight:900!important;
    color:#171717!important;
}
.stag-member-registration-confirmation-card>p{
    margin:13px auto 0!important;
    max-width:390px!important;
    color:#625f59!important;
    font-size:15px!important;
    line-height:1.5!important;
}
.stag-member-registration-confirmation-icon{
    display:grid!important;
    place-items:center!important;
    width:62px!important;
    height:62px!important;
    margin:0 auto!important;
    border-radius:50%!important;
    background:#e8f5ec!important;
    color:#23874b!important;
    font-size:31px!important;
    font-weight:900!important;
}
.stag-member-registration-confirmation-member{
    display:flex!important;
    flex-direction:column!important;
    gap:3px!important;
    margin-top:18px!important;
    padding:13px 14px!important;
    border:1px solid #e3dfd7!important;
    border-radius:13px!important;
    background:#f8f7f4!important;
}
.stag-member-registration-confirmation-member strong{font-size:17px!important;color:#171717!important}
.stag-member-registration-confirmation-member small{font-size:12px!important;color:#77716a!important}
.stag-member-registration-confirmation-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:24px!important;
}
.stag-member-registration-confirmation-actions .stag-btn{
    min-height:56px!important;
    width:100%!important;
    justify-content:center!important;
    font-size:15px!important;
    font-weight:900!important;
}
.stag-member-registration-confirmation-x{
    position:absolute!important;
    top:14px!important;
    right:14px!important;
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:#f2f0ec!important;
    color:#171717!important;
    font-size:26px!important;
    line-height:1!important;
    cursor:pointer!important;
}
html.stag-member-registration-modal-open{overflow:hidden!important}
@media(max-width:620px){
    .stag-member-registration-confirmation{align-items:flex-end!important;padding-left:12px!important;padding-right:12px!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
    .stag-member-registration-confirmation-card{width:100%!important;padding:26px 20px 20px!important;border-radius:22px 22px 18px 18px!important}
    .stag-member-registration-confirmation-card h2{font-size:25px!important}
    .stag-member-registration-confirmation-icon{width:56px!important;height:56px!important;font-size:28px!important}
}
