.sales-mode-control{display:grid;grid-template-columns:minmax(0,1.25fr) auto auto;align-items:center;gap:22px;margin:17px 0;padding:18px 20px;border:1px solid #cfddeb;border-radius:19px;background:#fff;box-shadow:0 10px 28px rgba(18,32,51,.045)}
.sales-mode-control.is-on{border-color:#bfe1d7;background:linear-gradient(105deg,#f7fffc,#fff 58%)}
.sales-mode-control.is-off{border-color:#e5d5b4;background:linear-gradient(105deg,#fffaf0,#fff 58%)}
.sales-mode-state{display:flex;align-items:center;gap:13px;min-width:0}
.sales-mode-state>div{display:grid;min-width:0}
.sales-mode-state h2{margin:3px 0;font-size:18px;letter-spacing:-.02em}
.sales-mode-state p{max-width:650px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.sales-mode-icon{width:47px;height:47px;flex:0 0 47px;display:grid;place-items:center;border-radius:14px;background:#e7f8f2;color:#07805f}
.is-off .sales-mode-icon{background:#fff0cc;color:#9a6508}
.sales-mode-icon .icon{width:22px}
.sales-mode-readiness{display:flex;gap:7px}
.sales-mode-readiness>span{display:flex;align-items:center;gap:5px;min-height:34px;padding:7px 9px;border-radius:10px;background:#f1f4f8;color:#66778b;font-size:11px;font-weight:750;white-space:nowrap}
.sales-mode-readiness>span.ready{background:#e9f8f2;color:#087f5b}
.sales-mode-readiness .icon{width:13px}
.sales-mode-readiness b{font-size:13px}
.sales-mode-action{display:grid;justify-items:end;gap:5px}
.sales-mode-action form{margin:0}
.sales-mode-action small{color:var(--muted);font-size:10px}
.sales-mode-buttons{display:flex;align-items:center;justify-content:flex-end;gap:7px}
.sales-mode-buttons form{margin:0}

.sidebar-workspace-form{margin:8px 0 0;padding-top:9px;border-top:1px solid var(--line)}
.sidebar-workspace-form .nav-link{width:100%;border:0;background:#f0ecf8;color:#5f3479;font:inherit;text-align:left;cursor:pointer}
.sidebar-workspace-form .nav-link:hover{background:#e8e0f4;color:#4c2868}

.owner-counter-control{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border:1px solid #bfe1d7;border-radius:16px;background:linear-gradient(105deg,#f5fffb,#fff);box-shadow:0 8px 24px rgba(18,32,51,.04)}
.owner-counter-live{display:flex;align-items:center;gap:10px;min-width:0}
.owner-counter-live>span{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:12px;background:#e1f7ef;color:#087f5b}
.owner-counter-live>span .icon{width:19px}
.owner-counter-live>div{display:grid;min-width:0}
.owner-counter-live small{color:#087f5b;font-size:9px;font-weight:900;letter-spacing:.1em}
.owner-counter-live strong{font-size:14px}
.owner-counter-live em{color:var(--muted);font-size:10px;font-style:normal}
.owner-counter-buttons{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.owner-counter-buttons form{margin:0}
.owner-counter-buttons .btn{min-height:40px;padding:8px 12px;font-size:11px}
.owner-counter-buttons .btn .icon{width:15px}
.owner-counter-help form{margin:0;border-top:1px solid var(--line)}
.owner-management-link{width:100%;display:flex;align-items:center;justify-content:space-between;padding:11px 2px;border:0;background:transparent;color:var(--brand);font:inherit;font-size:12px;font-weight:800;text-align:left;cursor:pointer}
.owner-management-link .icon{width:14px}

.seller-workspace-v312{display:grid;gap:14px}
.seller-counter-v312{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(315px,420px);align-items:center;gap:28px;min-height:214px;padding:32px 36px;border-radius:25px;background:linear-gradient(120deg,#112e54,#263d7c 64%,#4a2b86);color:#fff;box-shadow:0 18px 44px rgba(15,43,78,.14)}
.seller-counter-v312:before,.seller-counter-v312:after{content:"";position:absolute;z-index:-1;border-radius:50%;border:52px solid rgba(255,255,255,.045)}
.seller-counter-v312:before{width:360px;height:360px;right:-80px;top:-250px}
.seller-counter-v312:after{width:230px;height:230px;left:43%;bottom:-200px}
.seller-counter-copy{min-width:0}
.seller-counter-copy h2{margin:9px 0 5px;font-size:34px;line-height:1.08;letter-spacing:-.04em}
.seller-counter-copy p{max-width:630px;margin:0;color:#dbe6f6;font-size:14px;line-height:1.55}
.seller-counter-status{display:flex;align-items:center;gap:7px;margin-top:18px}
.seller-counter-status>span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.08);color:#e7eef8;font-size:11px;font-weight:800}
.seller-counter-status i{width:7px;height:7px;border-radius:50%;background:#52dbb9;box-shadow:0 0 0 4px rgba(82,219,185,.12)}
.seller-counter-v312.is-paused{background:linear-gradient(120deg,#26384e,#4b3a63)}
.seller-counter-v312.is-paused .seller-counter-status i{background:#f2bd4b;box-shadow:0 0 0 4px rgba(242,189,75,.14)}
.seller-start-card{display:grid;grid-template-columns:52px minmax(0,1fr) 20px;align-items:center;gap:13px;min-height:124px;padding:21px;border-radius:21px;background:#fff;color:var(--ink);box-shadow:0 18px 42px rgba(5,14,29,.2);transition:transform .18s ease,box-shadow .18s ease}
.seller-start-card:hover{transform:translateY(-2px);box-shadow:0 22px 48px rgba(5,14,29,.24)}
.seller-start-card>span:first-child{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#eee8ff;color:#7445e8}
.seller-start-card>span:nth-child(2){display:grid;min-width:0}
.seller-start-card strong{font-size:18px}
.seller-start-card small{color:var(--muted);font-size:11px}
.seller-start-card>.icon{width:19px;color:#5f3479}
.seller-start-card.is-paused{pointer-events:none;background:#f7f8fb;color:#536275}
.seller-start-card.is-paused>span:first-child{background:#fff1cc;color:#9a6508}
.seller-counter-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:13px;border:1px solid var(--line);border-radius:18px;background:#fff}
.seller-counter-actions>a{display:flex;align-items:center;gap:9px;min-height:62px;padding:10px 12px;border-radius:13px;color:var(--ink);transition:background .16s ease,transform .16s ease}
.seller-counter-actions>a:hover{background:#f4f7fb;transform:translateY(-1px)}
.seller-counter-actions>a>span:first-child{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;background:#e9f8f5;color:#087f78}
.seller-counter-actions>a:nth-child(2)>span:first-child{background:#f1eaff;color:#7445e8}
.seller-counter-actions>a:nth-child(3)>span:first-child{background:#fff3d7;color:#9f6500}
.seller-counter-actions>a:nth-child(4)>span:first-child{background:#eaf1ff;color:#2f67d5}
.seller-counter-actions a>span:nth-child(2){display:grid;min-width:0}
.seller-counter-actions strong{font-size:13px}
.seller-counter-actions small{font-size:10px;color:var(--muted)}
.seller-counter-actions .icon{width:18px}
.seller-daily-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.seller-daily-strip>article{display:flex;align-items:center;gap:11px;min-height:92px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}
.seller-daily-strip>article:first-child{display:grid;align-content:center;padding-left:21px}
.seller-daily-strip>article:first-child small{font-size:11px;color:var(--muted)}
.seller-daily-strip>article:first-child strong{font-size:25px;letter-spacing:-.03em}
.seller-daily-strip>article:first-child span{font-size:10px;color:#8896a7}
.seller-daily-strip>article:not(:first-child)>span{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border-radius:11px}
.seller-daily-strip>article:not(:first-child)>span .icon{width:18px}
.seller-daily-strip article>div{display:grid;min-width:0}
.seller-daily-strip article div small{font-size:10px;color:var(--muted)}
.seller-daily-strip article div strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.seller-work-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:14px;align-items:start}
.seller-help-card{display:grid;gap:13px}
.seller-help-card>div{display:flex;gap:10px;padding:12px;border-radius:13px;background:#f1f6fb;color:var(--brand)}
.seller-help-card>div .icon{width:19px;flex:0 0 19px}
.seller-help-card>div p{display:grid;margin:0}
.seller-help-card>div strong{font-size:12px}
.seller-help-card>div span{color:var(--muted);font-size:10px;line-height:1.45}
.seller-help-card>a{display:flex;align-items:center;justify-content:space-between;padding:11px 2px;border-top:1px solid var(--line);font-size:12px;font-weight:800;color:var(--brand)}
.seller-help-card>a .icon{width:14px}

.pos-session-bar{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff}
.pos-session-bar>a{display:inline-flex;align-items:center;gap:6px;margin-right:auto;color:var(--brand);font-size:12px;font-weight:850}
.pos-session-bar>a .icon{width:14px;transform:rotate(180deg)}
.pos-session-bar>span{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#edf7f4;color:#087f5b;font-size:10px;font-weight:850}
.pos-session-bar>span.secondary{background:#eef3f9;color:#536c84}
.pos-session-bar i{width:6px;height:6px;border-radius:50%;background:#18a47c}
.pos-v312{position:relative}
.pos-v312 .pos-catalog{min-width:0}
.pos-v312 .pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.pos-v312 .pos-product{min-height:158px}
.pos-product-copy .pos-product-description{display:-webkit-box;min-height:24px;margin-top:3px;overflow:hidden;color:#66778b;font-size:9px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal}
.pos-product-copy>em{margin-top:3px;overflow:hidden;color:#98a4b2;font-size:8px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.pos-cart-item-copy{display:grid;min-width:0;align-content:center}
.pos-cart-item-copy>small{display:-webkit-box;overflow:hidden;color:#66778b;font-size:8px;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.pos-cart-item-copy>em{overflow:hidden;color:var(--muted);font-size:8px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.pos-filter-row{display:flex;align-items:center;gap:6px;margin:-5px 0 13px;overflow:auto;scrollbar-width:none}
.pos-filter-row::-webkit-scrollbar{display:none}
.pos-filter-row button{min-height:36px;padding:7px 12px;border:1px solid #dce4ee;border-radius:999px;background:#fff;color:#66768a;font:inherit;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}
.pos-filter-row button.active{border-color:#7550a1;background:#f2ecfa;color:#5f3479}
.pos-mobile-cart-bar,.pos-mobile-cart-backdrop,.pos-mobile-cart-close{display:none}
.pos-cart-head-actions{display:flex;align-items:center;gap:8px}
.pos-mobile-cart-close{width:36px;height:36px;border:0;border-radius:10px;background:#f0f3f7;color:#52667d;place-items:center}
.pos-mobile-cart-close .icon{width:17px}

@media(max-width:1100px){
  .sales-mode-control{grid-template-columns:minmax(0,1fr) auto}.sales-mode-readiness{grid-column:1}.sales-mode-action{grid-column:2;grid-row:1/3}
  .seller-work-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}
  .seller-counter-actions{grid-template-columns:repeat(2,1fr)}
  .seller-daily-strip{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .seller-counter-v312{grid-template-columns:1fr;gap:20px;padding:28px}
  .seller-start-card{min-height:94px}
  .seller-work-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .sales-mode-control{grid-template-columns:1fr;gap:12px;margin:11px 0;padding:15px;border-radius:16px}
  .sales-mode-state{align-items:flex-start}.sales-mode-state h2{font-size:17px}.sales-mode-state p{font-size:12px}
  .sales-mode-icon{width:40px;height:40px;flex-basis:40px;border-radius:12px}.sales-mode-readiness{grid-column:1;flex-wrap:wrap}
  .sales-mode-action{grid-column:1;grid-row:auto;justify-items:stretch}.sales-mode-action .btn{width:100%}.sales-mode-action small{text-align:center}
  .sales-mode-buttons{display:grid;grid-template-columns:1fr 1fr}.sales-mode-buttons form,.sales-mode-buttons .btn{width:100%}
  .owner-counter-control{align-items:stretch;display:grid;gap:10px;padding:11px;border-radius:14px}
  .owner-counter-live em{display:none}
  .owner-counter-buttons{display:grid;grid-template-columns:1fr 1fr}
  .owner-counter-buttons form,.owner-counter-buttons .btn{width:100%}
  .owner-counter-buttons .btn{min-height:43px;padding:7px 8px;font-size:10px}
  .seller-workspace-v312{gap:10px}
  .seller-counter-v312{gap:17px;min-height:0;padding:21px 18px;border-radius:20px}
  .seller-counter-copy h2{font-size:27px}.seller-counter-copy p{font-size:13px}
  .seller-counter-status{margin-top:13px;flex-wrap:wrap}
  .seller-start-card{grid-template-columns:46px minmax(0,1fr) 18px;min-height:86px;padding:14px;border-radius:17px}
  .seller-start-card>span:first-child{width:46px;height:46px}.seller-start-card strong{font-size:16px}
  .seller-counter-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:7px;border-radius:15px}
  .seller-counter-actions>a{min-width:0;min-height:58px;padding:8px}
  .seller-counter-actions>a>span:first-child{width:34px;height:34px;flex-basis:34px}
  .seller-counter-actions strong{font-size:12px}.seller-counter-actions small{font-size:10px}
  .seller-daily-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .seller-daily-strip>article{min-width:0;min-height:78px;padding:11px;gap:7px}
  .seller-daily-strip>article:first-child{padding-left:14px}.seller-daily-strip>article:first-child strong{font-size:21px}
  .seller-daily-strip>article:not(:first-child)>span{width:33px;height:33px;flex-basis:33px}.seller-daily-strip article div strong{font-size:12px}
  .seller-work-grid{gap:10px}.seller-help-card{display:none}
  .pos-session-bar{margin:0 0 8px;padding:8px 9px;border-radius:12px}.pos-session-bar>span.secondary{display:none}
  .pos-v312{margin-bottom:68px}
  .pos-v312 .pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pos-filter-row{margin:0 0 10px;padding-bottom:2px}
  .pos-mobile-cart-bar{position:fixed;z-index:29;left:12px;right:12px;bottom:calc(75px + env(safe-area-inset-bottom));display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:57px;padding:8px 12px;border:0;border-radius:17px;background:#263566;color:#fff;box-shadow:0 14px 32px rgba(20,30,64,.3);font:inherit;text-align:left}
  .pos-mobile-cart-bar>span:first-child{display:grid;place-items:center;min-width:29px;height:29px;padding:0 7px;border-radius:999px;background:#fff;color:#39266f;font-size:12px;font-weight:900}
  .pos-mobile-cart-bar>span:nth-child(2){display:grid}.pos-mobile-cart-bar strong{font-size:13px}.pos-mobile-cart-bar small{font-size:10px;color:#cfd8ec}
  .pos-mobile-cart-bar>b{font-size:15px}
  .pos-mobile-cart-backdrop{position:fixed;z-index:49;inset:0;display:none;border:0;background:rgba(8,17,31,.48)}
  .pos-mobile-cart-backdrop.is-open{display:block}
  .pos-v312 .pos-cart{position:fixed;z-index:50;left:0;right:0;bottom:0;max-height:88vh;max-height:88svh;overflow:auto;transform:translateY(105%);transition:transform .22s ease;padding-top:12px;border-radius:22px 22px 0 0;background:#fff;box-shadow:0 -18px 45px rgba(10,20,36,.2)}
  .pos-v312 .pos-cart.is-open{transform:none}
  .pos-v312 .pos-cart-card{border:0;border-radius:22px 22px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom))}
  .pos-mobile-cart-close{display:grid}
  .pos-v312 .pos-cart-items{max-height:32vh;max-height:32svh}
  .pos-v312 .pos-submit-actions{position:sticky;bottom:0;padding-top:9px;background:#fff}
  body.pos-cart-open{overflow:hidden}
}
@media(max-width:360px){
  .owner-counter-buttons,.sales-mode-buttons{grid-template-columns:1fr}
  .seller-counter-actions>a{display:grid;grid-template-columns:31px 1fr;gap:6px}.seller-counter-actions>a>span:first-child{width:31px;height:31px;flex-basis:31px}
  .seller-daily-strip>article:not(:first-child){display:grid;align-content:start}.seller-daily-strip>article:not(:first-child)>span{width:31px;height:31px}
  .pos-v312 .pos-product-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .pos-v312 .pos-cart,.seller-start-card,.seller-counter-actions>a{transition:none!important}
}
.pos-price-level{display:grid;gap:.2rem;font-size:.68rem;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.pos-price-level select{min-width:145px;height:42px;border:1px solid rgba(21,62,117,.16);border-radius:10px;background:var(--surface,#fff);color:var(--text,#1f2937);padding:0 .7rem;font-size:.86rem;font-weight:800;text-transform:none;letter-spacing:0}
@media(max-width:680px){.pos-price-level{width:100%}.pos-price-level select{width:100%}}
