/* Palmward One — Retail Light
   Premium, Apple Store-inspired visual direction. Palmward brand and merchant identity remain unchanged.
   Presentation-only: checkout, stock, roles, session, money, audit and IMEI rules are not modified.
   Loaded after all base and module styles for consistent POS / Inventory / Owner HQ presentation. */
:root{
  color-scheme:light;
  --retail-blue:#0071e3;
  --retail-blue-hover:#0066cc;
  --retail-blue-pressed:#0055ad;
  --retail-text:#1d1d1f;
  --retail-muted:#6e6e73;
  --retail-canvas:#f5f5f7;
  --retail-border:#e5e5e7;
  --retail-shadow:0 3px 22px rgba(17,24,39,.035);
  --one-pine:#1d1d1f;
  --one-pine-raised:#303036;
  --one-teal:var(--retail-blue);
  --one-lime:var(--retail-blue);
  --one-ivory:var(--retail-canvas);
  --one-ink:var(--retail-text);
  --one-muted:var(--retail-muted);
  --one-line:var(--retail-border);
  --one-shadow:var(--retail-shadow);
  --ink:var(--retail-text);
  --muted:var(--retail-muted);
  --bg:var(--retail-canvas);
  --nav:#fff;
  --green:var(--retail-blue);
  --line:var(--retail-border);
  --shadow:var(--retail-shadow);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Arial,sans-serif;
}
body{background:var(--retail-canvas);color:var(--retail-text);font-weight:400}
h1,h2,h3,h4,.page-heading strong{letter-spacing:-.035em;color:var(--retail-text)}
button,input,select,textarea{font-family:inherit}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,
[role="button"]:focus-visible,summary:focus-visible{
  outline:3px solid rgba(0,113,227,.50)!important;
  outline-offset:2px;
}
a{color:var(--retail-blue)}
a:hover{text-decoration-thickness:1.5px}
.primary,.checkout,.clock-actions button:not(.clock-alt){
  background:var(--retail-blue);border-color:var(--retail-blue);
  color:#fff;border-radius:12px;box-shadow:none;
  font-weight:650;letter-spacing:-.008em;
}
.primary:hover:not(:disabled),.checkout:hover:not(:disabled),.clock-actions button:not(.clock-alt):hover:not(:disabled){
  background:var(--retail-blue-hover);border-color:var(--retail-blue-hover);box-shadow:none;
}
.primary:active:not(:disabled){background:var(--retail-blue-pressed)}
.secondary,.scan-btn,.icon-btn,.mini-btn{
  background:#fff;color:var(--retail-text);border:1px solid #d2d2d7;
  box-shadow:none;border-radius:12px;
}
.secondary:hover:not(:disabled),.scan-btn:hover:not(:disabled),.icon-btn:hover:not(:disabled){
  background:#f5f5f7;border-color:#a1a1a6;
}
.text-button{color:#515154}
.text-button:hover{color:var(--retail-blue)}
 .eyebrow,.page-heading small{color:#6e6e73;font-weight:650;letter-spacing:.075em}
.muted,.micro.muted{color:var(--retail-muted)}
/* Floor terminal: full screen, crew on one side, PIN pad on the other. */
.auth-shell{
  background:#f3f3f1;background-image:none;
  min-height:100dvh;width:100%;display:flex;flex-direction:column;
  align-items:stretch;justify-content:flex-start;place-items:stretch;
  padding:0;
}
.pos-lock-bar{
  align-self:stretch;width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:max(14px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 14px max(20px,env(safe-area-inset-left));
  background:#fff;border-bottom:1px solid #e6e6e4;
}
.pos-lock-bar .auth-merchant-lockup{min-height:0}
.pos-lock-bar #auth-istore-logo{width:auto;max-height:34px;height:auto}
.pos-lock-bar #auth-one-lockup img{width:auto;max-height:32px;height:auto}
.pos-lock-clock{display:flex;flex-direction:column;align-items:flex-end;line-height:1}
.pos-lock-clock time{font-size:28px;font-weight:650;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:#111}
.pos-lock-clock span{margin-top:2px;font-size:12px;font-weight:600;color:#6e6e73;letter-spacing:.02em}
.auth-stage{flex:1;display:flex;align-items:center;justify-content:center;overflow:auto;padding:20px 20px max(20px,env(safe-area-inset-bottom));min-height:0}
@media(max-height:760px){.auth-stage{align-items:flex-start}}
.auth-card{
  background:transparent;border:0;border-radius:0;box-shadow:none;
  width:min(1080px,100%);max-height:none;overflow:visible;
  padding:0;color:#111;
  display:grid;grid-template-columns:1fr;gap:18px;align-items:center;
}
.auth-shell .auth-card h1{font-size:clamp(28px,4vw,40px);font-weight:680;letter-spacing:-.045em;color:#111;margin:0;line-height:1.05}
.pos-lock-intro p{margin-top:6px;font-size:15px;color:#6e6e73}
.pos-crew{display:flex;flex-direction:column;gap:16px;min-width:0}
@media(min-width:900px){
  .auth-card{grid-template-columns:minmax(300px,1fr) minmax(340px,440px);column-gap:64px;row-gap:0}
  .pos-pin-stage{grid-column:2;grid-row:1}
  #auth.is-form .auth-card{grid-template-columns:1fr;justify-items:center}
  #auth.is-form .pos-crew{width:min(440px,100%)}
}
#login-form,#setup-form{
  grid-column:1 / -1;width:min(440px,100%);justify-self:center;
  background:#fff;border:1px solid #e6e6e4;border-radius:18px;padding:22px;
}
.form-stack input,.form-stack select,.paper-form input,.paper-form select,.paper-form textarea{
  border:1px solid #d2d2d7;border-radius:12px;color:var(--retail-text);
  background:#fff;
}
.form-stack label,.paper-form label{font-weight:600;color:#3a3a3c}
.form-stack input:focus,.paper-form input:focus,.paper-form select:focus{
  border-color:var(--retail-blue);box-shadow:0 0 0 3px rgba(0,113,227,.11)
}
/* Light navigation: consistent on desktop, tablet, and drawer on phones. */
.sidebar{
  background:#fff;color:var(--retail-text);
  border-right:1px solid var(--retail-border);box-shadow:none;
}
.sidebar-brand strong{color:var(--retail-text)}
.sidebar-brand .mark-light{color:var(--retail-text)}
.sidebar-brand small{color:#86868b}
.store-pill{background:#f5f5f7;border:1px solid #eeeeef;color:var(--retail-text)}
.store-pill strong,.store-info strong{color:var(--retail-text)}
.store-pill small,.store-info small{color:var(--retail-muted)}
.nav-list{gap:4px}
.nav-item{
  color:#57575c;background:transparent;
  font-weight:570;border-radius:11px;
}
.nav-item .nav-ico{color:inherit}
.nav-item:hover{color:#1d1d1f;background:#f5f5f7}
.nav-item.active,.nav-item[aria-current="page"]{
  color:#0066cc;background:#eaf3ff;
  font-weight:670;
}
.nav-item.active:hover{background:#e1efff;color:#005fc4}
.nav-item small{color:inherit;opacity:.50}
.sidebar-bottom{border-top:1px solid var(--retail-border)}
.sidebar-bottom .connection{color:var(--retail-muted)}
.sidebar-bottom .text-button{color:#515154}
.status-dot{background:#30a46c} /* Green only means connected. */
.status-dot.down{background:#e6a12b}
.topbar{
  background:rgba(255,255,255,.96);border-bottom:1px solid var(--retail-border);
  box-shadow:none;
}
.topbar .page-heading small{color:var(--retail-muted)}
.topbar .page-heading strong{color:var(--retail-text);font-size:18px}
.staff-chip,.topbar-tools{color:var(--retail-text)}
.staff-avatar{background:#eaf3ff;color:#0066cc}
#trial-banner{
  background:#1d1d1f;color:#fff;border-color:#44444a;
  font-size:10px;letter-spacing:.015em;border-radius:0 0 11px 11px;
}
/* Primary selling surface. */
.selling-left{background:var(--retail-canvas)}
.hero-line h2,.section-head h2{
  font-size:clamp(28px,3.4vw,38px);
  letter-spacing:-.052em;font-weight:700;line-height:1.12;
}
.hero-line p,.section-head p{font-size:13px;color:var(--retail-muted)}
.today-tag{
  background:#fff;border:1px solid var(--retail-border);
  color:var(--retail-muted);border-radius:12px;
}
.search-wrap{
  background:#fff;border:1px solid #d2d2d7;
  border-radius:14px;box-shadow:0 2px 12px rgba(23,24,30,.025);
  min-height:55px;
}
.search-wrap:focus-within{
  border-color:var(--retail-blue);
  box-shadow:0 0 0 4px rgba(0,113,227,.10);
}
.search-wrap input{font-size:15px;color:var(--retail-text)}
.search-icon{color:#86868b}
.kbd{background:#f5f5f7;color:var(--retail-muted);border:1px solid var(--retail-border)}
.catalog-heading strong{color:var(--retail-text);font-size:15px;letter-spacing:-.015em}
.catalog-heading span{color:var(--retail-muted)}
.product-grid{gap:13px}
@media(min-width:691px){
 .view-sell .product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:14px;
  align-items:stretch;
 }
 .view-sell .product-card{display:flex;flex-direction:column;min-height:100%}
 .view-sell .product-card-hit{flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:18px;text-align:left;gap:10px}
 .view-sell .product-card-copy{flex:1;width:100%}
 .view-sell .product-card-price{margin-top:auto;width:100%;display:flex;justify-content:space-between;align-items:baseline;gap:8px}
 .view-sell .product-card-price .price{font-size:20px}
}
.product-card{
  background:#fff;border:1px solid var(--retail-border);
  border-radius:18px;box-shadow:var(--retail-shadow);
  padding:0;gap:0;overflow:hidden;
}
.product-card-hit{border:0;background:transparent;width:100%;text-align:inherit;color:inherit;cursor:pointer}
.product-card-copy{text-align:left}
.product-card:hover:not(:disabled){
  border-color:#93c5ff;
  box-shadow:0 6px 26px rgba(0,66,132,.07);
  transform:translateY(-1px);
}
.product-card:active:not(:disabled){background:#f9fbff;transform:none}
.product-card:disabled{opacity:1;background:#fafafa;color:#86868b;box-shadow:none}
.product-card:disabled .price,.product-card:disabled strong{color:#6e6e73}
.product-card:disabled .card-action{color:#86868b}
.product-card:disabled .card-action::after{content:none}
.picon,.inventory-avatar,.catalog-ref-glyph{
  background:#f5f5f7;color:#656569;
  border-radius:13px;
}
.product-card strong{font-size:14px;font-weight:680;letter-spacing:-.015em;line-height:1.33}
.product-card .pmeta{font-size:11px;color:var(--retail-muted);line-height:1.4}
.product-card .price{font-size:18px;font-weight:715;color:var(--retail-text);letter-spacing:-.025em}
.product-card .card-action{font-size:12px;color:var(--retail-blue);font-weight:640}
.more-products{background:#fff;border:1px solid #d2d2d7;color:var(--retail-blue);border-radius:14px}
.product-empty,.inventory-list,.paper-form,.stat-card,.dash-panel,.owner-panel,.exec-kpi,.tool-tile{
  border-color:var(--retail-border);border-radius:17px;
  box-shadow:none;background:#fff;
}
.product-empty{border-style:solid;color:var(--retail-text)}
.empty-illustration{background:#eaf3ff;color:var(--retail-blue)}
/* A stable checkout with one primary action. */
.cart-panel{background:#fff;border-left:1px solid var(--retail-border);box-shadow:none}
.cart-head,.cart-summary{border-color:var(--retail-border)}
.cart-head h3{font-size:20px;color:var(--retail-text);font-weight:690}
.cart-head h3 span{background:#eaf3ff;color:#0066cc}
.cart-empty{color:var(--retail-muted)}
.cart-line{border-color:var(--retail-border)}
.cart-line .item-name{font-size:13px;font-weight:650;color:var(--retail-text)}
.cart-line .item-price{color:var(--retail-text);font-weight:700}
.total-row strong{color:var(--retail-text)}
.total-row.big{color:var(--retail-text);border-color:var(--retail-border)}
.total-row.big strong{font-size:29px;letter-spacing:-.065em;font-weight:730}
.inline-label{color:#515154;font-weight:640}
.inline-label input,.inline-label select,.customer-details input{
  border:1px solid #d2d2d7;border-radius:11px;background:#fff;color:var(--retail-text);
}
.customer-details{color:var(--retail-muted)}
.checkout{min-height:54px;font-size:14px;justify-content:space-between}
.cash-change{color:var(--retail-muted)}
/* Inventory, tools, receipts, and small controls should share one language. */
.content-view{background:var(--retail-canvas)}
.inventory-group{margin-top:18px}
.inventory-group h3{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 8px;font-size:20px;font-weight:700;letter-spacing:-.03em}
.inventory-group h3 span{font-size:13px;font-weight:650;color:#6e6e73}
.inventory-item{border-bottom:1px solid var(--retail-border)}
.inventory-info strong{white-space:normal;font-size:16px;line-height:1.25}
.inventory-status.is-empty{color:#9a5b12;font-weight:650}
.inventory-info strong{color:var(--retail-text);font-weight:650}
.inventory-price{color:var(--retail-text);font-weight:700}
.kind-choice.chosen,.device-tabs button.is-selected,.catalog-ref-filter.active{
  background:#eaf3ff!important;border-color:#93c5ff!important;color:#0066cc!important;
}
.kind-choice,.device-tabs button,.catalog-ref-filter{border-radius:12px}
.device-search-suggestions>button{background:#f5f5f7;color:var(--retail-text)}
.device-search-suggestions>button:hover{background:#eaf3ff}
.device-card{border-color:var(--retail-border);box-shadow:none}
.device-card-actions button{border-radius:11px}
.tool-tile:hover{
  background:#fafcff;border-color:#93c5ff;
  box-shadow:0 3px 18px rgba(0,113,227,.055);
  transform:none;
}
.tool-tile:focus-visible{outline-color:var(--retail-blue)}
.tool-icon{background:#f5f5f7;color:var(--retail-blue)}
.catalog-ref-list{border-color:var(--retail-border);border-radius:17px}
.catalog-ref-item{border-color:var(--retail-border)}
.catalog-ref-add{background:#fff;border:1px solid #d2d2d7;color:var(--retail-blue)}
.catalog-ref-add:hover{background:#eaf3ff;border-color:#93c5ff}
.catalog-ref-open{color:var(--retail-blue)}
.catalog-ref-form-note{background:#f5f5f7;color:var(--retail-muted)}
.data-table th{color:#6e6e73;background:#fafafa;font-weight:650}
.data-table td{color:var(--retail-text)}
.data-table .click:hover{background:#f5f9ff}
.pill{background:#e9f6ee;color:#217746}
.pill.pending{background:#fff4db;color:#875e17}
.pill.cancelled{background:#fff0f0;color:#ae3232}
/* Owner HQ: no green marketing glow, just trustworthy metrics. */
.exec-masthead,.owner-hero{
  background:#fff!important;color:var(--retail-text)!important;
  border:1px solid var(--retail-border);border-radius:20px;
  box-shadow:none;min-height:0;
}
.exec-masthead::before,.exec-masthead::after,.owner-hero::before{display:none!important}
.exec-masthead h3,.exec-masthead h3 em,.owner-hero h3{color:var(--retail-text)!important}
.exec-masthead h3 em{color:var(--retail-blue)!important}
.exec-masthead .exec-eyebrow,.exec-eyebrow,.owner-hero .eyebrow{color:var(--retail-muted)}
.exec-masthead p,.owner-hero p,.exec-masthead .exec-status{color:var(--retail-muted)}
.exec-live-dot{background:#30a46c;box-shadow:0 0 0 4px #30a46c17}
.exec-masthead-actions label{color:var(--retail-muted)}
.exec-masthead-actions select,.owner-filter label,.owner-filter select{
  background:#f5f5f7;color:var(--retail-text);border-color:#d2d2d7;
}
.exec-buttons button,.owner-filter button{
  background:#fff;border:1px solid #d2d2d7;color:var(--retail-blue);
}
.exec-buttons button:hover,.owner-filter button:hover{background:#eaf3ff}
.exec-pulse{
  background:#f0f7ff;border:1px solid #d8eaff;
  border-radius:17px;
}
.exec-pulse .exec-eyebrow{color:#0066cc}
.exec-pulse p,.exec-pulse p strong{color:#33465c}
.exec-pulse-tag{color:#0066cc;background:#dceeff}
.exec-pulse button,.exec-action.primary{background:var(--retail-blue);color:white}
.exec-kpi-title,.exec-kpi p,.owner-metric .kicker{color:var(--retail-muted)}
.exec-kpi-value,.owner-metric strong{color:var(--retail-text);font-weight:700}
.exec-kpi-icon{background:#f5f5f7;color:#656569}
.exec-nav button.active,.exec-nav button[aria-current="page"]{
  background:#eaf3ff;color:#0066cc;border-color:#93c5ff;
}
.exec-chart-column{background:transparent!important} /* Columns are layout, never data. */
.exec-bar,.owner-bar{background:#0071e3!important} /* Only data bars are filled. */
.owner-priority button,.exec-history-link a{color:var(--retail-blue)}
.exec-history-link a{background:#eaf3ff;border-color:#cce5ff}
.exec-history-link a:hover{background:#dceeff;color:#005fc4}
/* Clock and staff actions use functional color only. */
.clock-card{background:#fff;color:var(--retail-text);border:1px solid var(--retail-border)}
.clock-card h3,.clock-card .eyebrow,.clock-card p{color:var(--retail-text)}
.clock-chip{background:#eaf3ff;color:var(--retail-blue)}
.clock-actions button:not(.clock-alt){background:var(--retail-blue);color:#fff;border-color:var(--retail-blue)}
.clock-actions .clock-alt{background:#f5f5f7;color:var(--retail-text);border:1px solid #d2d2d7}
.clock-report{color:var(--retail-blue)}
#toast .toast-message{background:#28282c;color:#fff}
#toast .toast-message.error{background:#b3261e}
/* Preserve red, amber and green for real operational states (not decoration). */
.device-integrity-alert{background:#fff8f0;border-color:#ecc6a8;color:#70442c}
@media(min-width:691px){
  .sidebar{padding-top:24px}
  .topbar{min-height:70px}
  .selling-left{padding-inline:clamp(22px,3vw,48px)}
  .cart-panel{width:100%}
}
@media(max-width:900px) and (min-width:691px){
  .sidebar-brand strong{color:var(--retail-text)}
  .nav-item.active{background:#eaf3ff;color:#0066cc}
}
@media(max-width:690px){
  body,.workspace,.selling-left{background:var(--retail-canvas)}
  .sidebar{background:#fff;box-shadow:13px 0 42px rgba(20,24,34,.12)}
  .sidebar .nav-item{color:#515154}
  .sidebar .nav-item.active{color:#0066cc;background:#eaf3ff}
  .mobile-nav-scrim:not([hidden]){background:rgba(15,19,27,.32)}
  .topbar{background:rgba(255,255,255,.97);border-color:var(--retail-border)}
  .topbar .mobile-menu{background:#f5f5f7;color:var(--retail-text)}
  .mobile-title strong{color:var(--retail-text)}
  .mobile-title span{color:var(--retail-muted)}
  .hero-line h2,.section-head h2{font-size:29px;letter-spacing:-.052em}
  .selling-left{padding-top:22px}
  .product-grid{gap:9px}
  .product-card{min-height:165px;padding:13px;border-radius:16px}
  .product-card strong{font-size:13px}
  .product-card .price{font-size:16px}
  .product-card .pmeta{font-size:10px}
  .product-card .card-action{font-size:11px}
  .mobile-tabbar{background:rgba(255,255,255,.98);border-top:1px solid var(--retail-border)}
  .mobile-tab{color:#6e6e73}
  .mobile-tab.active,.mobile-tab[aria-current="page"]{color:#0066cc}
  .mobile-tab.active::before{background:var(--retail-blue)}
  .mobile-tab:active{background:#eaf3ff}
  .mobile-cart-bar{
    background:var(--retail-blue);color:#fff;
    box-shadow:0 8px 24px rgba(0,113,227,.23);border-radius:16px;
  }
  .cart-panel{background:#fff;border-color:var(--retail-border);box-shadow:0 -14px 40px #16161926}
  .exec-masthead{border-radius:17px;padding:19px}
  .pos-lock-clock time{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
  .product-card,.tool-tile,.nav-item,.primary,.secondary{transition:none!important}
  .product-card:hover:not(:disabled){transform:none}
}

/* Apple-like segmented product availability: cashier defaults to sellable items. */
.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.catalog-heading-copy{display:grid;gap:5px;min-width:0}
.catalog-heading-copy strong{font-size:15px;font-weight:680;color:var(--retail-text);letter-spacing:-.025em}
.catalog-heading-copy #result-count{font-size:11px;line-height:1.45;color:var(--retail-muted)}
.catalog-scope{display:inline-flex;align-items:center;padding:4px;gap:2px;border-radius:14px;background:#e9e9ed;flex:none}
.catalog-scope button{min-height:39px;padding:8px 15px;border:0;border-radius:11px;background:transparent;color:#515154;white-space:nowrap;font-size:12px;font-weight:620;box-shadow:none;transition:background-color .15s,color .15s,box-shadow .15s}
.catalog-scope button.active,.catalog-scope button[aria-pressed="true"]{background:#fff;color:var(--retail-text);box-shadow:0 1px 5px #10121615}
.catalog-scope button:not(.active):hover{background:#f5f5f8}
@media(max-width:690px){
 .catalog-heading{align-items:stretch;row-gap:13px;margin-top:22px}
 .catalog-heading-copy{flex:1 1 100%;gap:2px}
 .catalog-scope{width:100%;border-radius:12px}
 .catalog-scope button{flex:1 1 50%;min-width:0;min-height:42px;padding:8px 5px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.catalog-scope button{transition:none}}

/* Owner controls: consistent blue interaction, with green reserved for positive operational states. */
.exec-section-head>button,.exec-mini-link,.exec-drawer-controls button{
  background:#f5f5f7;border:1px solid #e5e5e7;
  color:#0066cc;border-radius:11px;box-shadow:none;font-weight:650;
}
.exec-section-head>button:hover,.exec-mini-link:hover,.exec-drawer-controls button:hover{
  background:#eaf3ff;border-color:#c6dfff;color:#005fc4;
}
.exec-nav button:hover{background:#f5f9ff;border-color:#c6dfff;color:#0066cc}
.exec-insight button,.exec-data-foot button,.exec-close-check button{
  color:var(--retail-blue);background:transparent;
}
.exec-question-list button{background:#fff;border:1px solid #d2d2d7;color:#515154}
.exec-question-list button:hover{background:#f5f9ff;border-color:#bedcff;color:#0066cc}
.exec-question-list button.selected{
  background:var(--retail-blue);color:#fff;border-color:var(--retail-blue);
}
.exec-close-bottom button,.exec-first-store button,.exec-start-sale,.exec-unavailable button{
  background:var(--retail-blue);color:#fff;border-color:var(--retail-blue);
}
.exec-close-bottom button:hover,.exec-first-store button:hover,.exec-start-sale:hover,
.exec-unavailable button:hover{background:var(--retail-blue-hover);color:#fff}
.exec-rail-track>div{background:var(--retail-blue)} /* Payment method proportions, not a success state. */
.exec-history-link small{color:var(--retail-muted)}
/* Only the active navigation destination gets the blue selection treatment. */
.sidebar .nav-item:not(.active):not([aria-current="page"]):hover{
  background:#f5f5f7;color:#515154;
}
.sidebar .nav-item.active,.sidebar .nav-item[aria-current="page"]{
  background:#eaf3ff;color:#0066cc;
}

/* Keep the shared-register profile control consistent in compact mobile top bars. */
.topbar .staff-avatar{background:#eaf3ff;color:#0066cc}

/* Checkout layout: receipt list and payment form share the only scrolling region;
   the final pay action stays visible even with long baskets or a mobile keyboard. */
.cart-panel{flex-direction:column;min-height:0}
@media(min-width:691px){.cart-panel{display:flex}}
@media(max-width:690px){.cart-panel:not(.open){display:none!important;pointer-events:none}}
.cart-body{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.cart-body .cart-lines{min-height:0;flex:none;overflow:visible}
.cart-body .cart-summary{min-height:0;flex:none;overflow:visible;border-top:1px solid var(--retail-border)}
.cart-footer{flex:0 0 auto;background:#fff;border-top:1px solid var(--retail-border);padding:12px 20px 14px;z-index:2}
.cart-footer .checkout{width:100%;margin:0;display:flex;min-height:53px}
.cart-footer #clear-cart{display:block;margin:10px auto 0;font-size:12px}
.shift-status{margin:0 0 10px;font-size:13px;font-weight:650;line-height:1.35;color:#3d5a34}
.shift-status button{display:block;width:100%;margin-top:8px;min-height:44px;border:1px solid #dfe6dc;border-radius:10px;background:#eff6e8;color:#3d5a34;font:inherit;font-weight:750}
.cart-extras{border:1px solid var(--retail-border);border-radius:12px;margin:14px 0 4px}
.cart-extras>summary{list-style:none;cursor:pointer;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;color:#515154;font-size:12px;font-weight:650}
.cart-extras>summary::-webkit-details-marker{display:none}
.cart-extras>summary:after{content:"+";color:var(--retail-blue);font-size:18px;font-weight:500}
.cart-extras[open]>summary:after{content:"−"}
.cart-extras[open]>summary{border-bottom:1px solid var(--retail-border)}
.cart-extras-content{padding:13px 14px 16px;display:grid;gap:12px}
.cart-extras-content .inline-label{margin:2px 0}
.cart-extras-content .customer-details{margin:0}
@media(max-width:690px){
 .cart-panel.open{display:flex;inset:0!important;height:100dvh!important;max-height:100dvh!important;min-height:0;
   padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);
   border-radius:20px 20px 0 0;overflow:hidden;box-shadow:0 -16px 55px #10121632}
 .cart-panel .cart-head{flex:0 0 auto;padding:14px 16px 12px;align-items:center}
 .cart-panel .cart-head h3{font-size:20px;margin-top:2px}
 .cart-panel #cart-close{width:44px;height:44px;border:1px solid #e5e5e7;flex:none}
 .cart-panel .cart-body{flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:none}
 .cart-panel .cart-body::-webkit-scrollbar{display:none}
 .cart-panel .cart-lines{padding:6px 16px 0;max-height:none;min-height:0}
 .cart-panel .cart-empty{min-height:76px;padding:14px 4px;gap:4px}
 .cart-panel .cart-empty .big-icon{display:none}
 .cart-panel .cart-line{padding:10px 0;gap:8px}
 .cart-panel .cart-summary{padding:7px 16px 10px;border-top:0}
 .cart-panel .cart-summary .total-row{margin-bottom:6px;line-height:1.3}
 .cart-panel .cart-summary .total-row.big{margin-top:6px;padding-top:9px}
 .cart-panel .cart-summary .total-row.big strong{font-size:26px}
 .cart-panel .cart-summary .inline-label{margin:8px 0 4px;gap:5px;font-size:12px}
 .cart-panel .cart-summary select,.cart-panel .cart-summary input{min-height:44px;font-size:16px;padding:9px 11px}
 .cart-panel .cash-change{font-size:11px;line-height:1.35;min-height:0;margin:6px 0}
 .cart-panel .cart-extras{margin:10px 0 0}
 .cart-panel .cart-extras>summary{min-height:42px;padding:9px 12px}
 .cart-panel .cart-footer{padding:9px 16px 11px;box-shadow:0 -4px 18px #10121607}
 .cart-panel .cart-footer .checkout{min-height:54px;font-size:15px}
 .cart-panel .cart-footer #clear-cart{min-height:30px;margin:5px auto 0}
 .cart-panel .mini-btn,#cart-lines button[data-remove]{min-height:44px;min-width:44px}
}
@media(max-width:355px){
 .cart-panel .cart-head{padding:9px 12px}
 .cart-panel .cart-lines{padding-inline:12px}
 .cart-panel .cart-summary{padding-inline:12px}
 .cart-panel .cart-footer{padding-inline:12px}
}
@media(max-width:355px){
 .cart-panel .cart-head .eyebrow{display:none}
 .cart-panel .cart-head h3{margin:0}
 .cart-panel .cart-summary .total-row.big{margin:1px 0 5px;padding-top:8px}
 .cart-panel .cart-summary .inline-label{margin:5px 0 2px}
 .cart-panel .cart-summary .cash-change{margin:3px 0}
 .cart-panel .cart-extras{margin:4px 0 0}
}
@media(max-height:670px) and (max-width:690px){
 .cart-panel .cart-head{padding-block:8px}
}

/* Goals & recognition — quiet, native-feeling progress. No fake points or leaderboards. */
.goals-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.goals-toolbar button{min-height:44px;white-space:nowrap}
.goal-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}
.goal-stats>div{display:grid;gap:7px;background:#fff;border:1px solid var(--retail-border);border-radius:18px;padding:20px;min-width:0}
.goal-stats small{font-size:12px;color:var(--retail-muted);font-weight:550}
.goal-stats strong{font-size:clamp(24px,3vw,34px);font-weight:690;letter-spacing:-.055em;line-height:1.15;color:var(--retail-text);font-variant-numeric:tabular-nums}
.goal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px}
.goal-card{background:#fff;border:1px solid var(--retail-border);border-radius:20px;padding:22px;min-width:0;box-shadow:var(--retail-shadow)}
.goal-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.goal-person{display:block;font-size:11px;font-weight:650;color:var(--retail-muted);margin-bottom:7px}
.goal-card h3{font-size:19px;font-weight:680;color:var(--retail-text);letter-spacing:-.04em;line-height:1.2;margin:0}
.goal-status{flex:none;display:inline-flex;align-items:center;border-radius:20px;padding:6px 9px;font-size:10px;font-weight:660;white-space:nowrap;background:#f5f5f7;color:#65656b}
.goal-status-success{background:#eaf6ef;color:#246c42}
.goal-progress-caption{display:flex;align-items:baseline;gap:9px;margin:29px 0 10px;flex-wrap:wrap}
.goal-progress-caption strong{font-size:clamp(26px,3vw,32px);line-height:1;font-weight:710;letter-spacing:-.055em;color:var(--retail-text);font-variant-numeric:tabular-nums}
.goal-progress-caption span{font-size:12px;color:var(--retail-muted)}
.goal-progress-track{height:9px;background:#ececf0;border-radius:100px;overflow:hidden}
.goal-progress-track>span{display:block;height:100%;border-radius:inherit;background:var(--retail-blue);transition:width .2s ease}
.goal-meta{display:flex;justify-content:space-between;gap:10px;margin-top:9px;font-size:11px;color:var(--retail-muted);flex-wrap:wrap}
.goal-reward{display:flex;gap:12px;align-items:center;border-top:1px solid var(--retail-border);margin-top:22px;padding-top:17px}
.goal-reward-icon{width:38px;height:38px;border-radius:11px;background:#f2f6ff;color:var(--retail-blue);display:grid;place-items:center;font-size:19px;flex:none}
.goal-reward>span:last-child{display:grid;gap:4px;min-width:0}
.goal-reward small{font-size:10px;color:var(--retail-muted)}
.goal-reward strong{font-size:13px;font-weight:640;overflow-wrap:anywhere}
.goal-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.goal-actions button{min-height:44px;padding:10px 15px;font-size:12px}
.goal-note,.goal-disclaimer{color:var(--retail-muted);font-size:11px;line-height:1.6;margin:17px 0 0}
.goals-empty{background:#fff;border:1px solid var(--retail-border);border-radius:20px;padding:40px 24px;text-align:center;display:grid;justify-items:center;gap:12px}
.goals-empty h3{font-size:21px;font-weight:690;color:var(--retail-text)}
.goals-empty p{color:var(--retail-muted);font-size:13px;line-height:1.55;max-width:38ch}
.goals-empty-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:#eaf3ff;color:var(--retail-blue);font-size:30px}
.goals-loading{padding:40px 20px;text-align:center;color:var(--retail-muted);font-size:13px}
.goal-reward-preview{background:#f5f5f7;border:1px solid var(--retail-border);border-radius:12px;padding:14px;color:var(--retail-text);font-size:14px;font-weight:650}
@media(max-width:690px){
 .goals-toolbar{width:100%;justify-content:flex-start}
 .goals-toolbar button{flex:1 1 auto;min-width:0}
 .goal-stats{gap:8px;margin-bottom:12px}
 .goal-stats>div{padding:13px 9px;border-radius:15px;gap:8px}
 .goal-stats small{font-size:10px;line-height:1.25}
 .goal-stats strong{font-size:24px}
 .goal-grid{grid-template-columns:1fr;gap:10px}
 .goal-card{padding:17px;border-radius:17px}
 .goal-card h3{font-size:18px}
 .goal-card-top{flex-wrap:wrap}
 .goal-progress-caption{margin-top:22px}
 .goal-actions button{flex:1 1 auto}
 .goals-empty{padding:32px 18px}
}
@media(prefers-reduced-motion:reduce){.goal-progress-track>span{transition:none}}

/* Product creation and receiving: Apple Store-like choice and search, not huge native select menus. */
.receive-picker{display:grid;gap:9px;position:relative;min-width:0}
.receive-picker>label{color:#3a3a3c;font-size:13px;font-weight:650}
.receive-search-wrap{position:relative}
.receive-search-wrap input{width:100%;height:52px;padding:11px 46px 11px 14px;border:1px solid #d2d2d7;border-radius:13px;background:#fff;color:#1d1d1f;font-size:16px;outline:0}
.receive-search-wrap input:focus{border-color:var(--retail-blue);box-shadow:0 0 0 3px #0071e31c}
.receive-search-wrap>span{position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:23px;color:#86868b;pointer-events:none}
.receive-results{display:grid;gap:0;position:relative;max-height:258px;overflow-y:auto;background:#fff;border:1px solid #d2d2d7;border-radius:13px;box-shadow:0 9px 28px #15151a0e;z-index:4}
.receive-results[hidden]{display:none}
.receive-results [data-receive-id]{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:14px;padding:13px 14px;min-height:55px;background:#fff;border:0;border-bottom:1px solid #ededf0;color:#1d1d1f;cursor:pointer}
.receive-results [data-receive-id]:hover,.receive-results [data-receive-id]:focus-visible{background:#eaf3ff}
.receive-results [data-receive-id] strong{display:block;font-size:13px;line-height:1.35;font-weight:630}
.receive-results [data-receive-id] small{display:block;font-size:11px;color:#6e6e73;margin-top:3px;overflow-wrap:anywhere}
.receive-results .receive-qty{font-size:11px;color:#6e6e73;flex:none}
.receive-no-results{padding:19px 14px;color:#6e6e73;font-size:12px}
.receive-selected{font-size:12px;color:#0066cc;overflow-wrap:anywhere;background:#eaf3ff;padding:10px 12px;border-radius:10px}
#receive-create{justify-self:start;color:var(--retail-blue);font-weight:650}
.add-product-choice{display:grid;gap:10px}
.add-product-choice>p{line-height:1.5;font-size:13px;margin:0 0 8px}
.add-product-tile{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:79px;background:#fff;color:#1d1d1f;border:1px solid #e5e5e7;border-radius:16px;padding:13px 15px;text-align:left;cursor:pointer}
.add-product-tile:hover,.add-product-tile:focus-visible{background:#f5f9ff;border-color:#a5ceff}
.add-product-glyph{display:grid;place-items:center;height:42px;width:42px;border-radius:12px;background:#f5f5f7;color:#0066cc;font-size:23px}
.add-product-tile strong{display:block;font-size:14px;font-weight:680;letter-spacing:-.015em}
.add-product-tile small{display:block;margin-top:5px;color:#6e6e73;font-size:11px;line-height:1.3}
/* Cashier no-stock sheet: a full-width, three-column action per row.
   The shared add-product-tile grid requires icon + flexible copy + arrow. */
#modal-body .oos-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;width:100%}
#modal-body .oos-intro{margin:0 0 8px;font-size:13px;line-height:1.5;max-width:60ch}
#modal-body .oos-tile{display:grid;width:100%;min-width:0;max-width:none;min-height:82px;grid-template-columns:42px minmax(0,1fr) 18px;column-gap:13px;align-items:center;padding:13px 15px;white-space:normal;overflow-wrap:anywhere}
#modal-body .oos-tile-primary{background:#f5f9ff;border-color:#accdf4}
#modal-body .oos-tile-primary:hover{background:#edf5ff;border-color:#70a9eb}
#modal-body .oos-glyph{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f0f3f7;color:#36566f}
#modal-body .oos-tile-primary .oos-glyph{background:#e4f0ff;color:#0071e3}
#modal-body .oos-glyph svg{display:block;width:23px;height:23px}
#modal-body .oos-copy{display:block;min-width:0;max-width:100%;text-align:left}
#modal-body .oos-copy strong{display:block;font-size:14px;line-height:1.3;font-weight:680}
#modal-body .oos-copy small{display:block;font-size:12px;line-height:1.45;margin-top:5px;overflow-wrap:anywhere}
#modal-body .oos-chevron{display:block;width:17px;height:17px;justify-self:end;color:#89929c}
#overlay #modal-title{overflow-wrap:anywhere;line-height:1.32}
@media(max-width:690px){
 #modal-body .oos-actions{gap:9px}
 #modal-body .oos-tile{min-height:76px;grid-template-columns:40px minmax(0,1fr) 16px;gap:11px;padding:12px}
 #modal-body .oos-glyph{width:40px;height:40px}
 #modal-body .oos-intro{font-size:13px}
}

@media(max-width:690px){.add-product-tile{padding:11px 12px}.receive-results{max-height:226px}.receive-results [data-receive-id]{min-height:54px}}

/* Separate the store OKRs from employees' individual goal cards. */
.goals-tabs{display:inline-flex;gap:3px;padding:4px;border-radius:14px;background:#e9e9ed;margin-bottom:19px;max-width:100%}
.goals-tabs[hidden]{display:none}
.goals-tabs button{border:0;border-radius:11px;padding:11px 16px;min-height:43px;background:transparent;color:#515154;font-size:12px;font-weight:650;cursor:pointer}
.goals-tabs button.active{background:#fff;color:#1d1d1f;box-shadow:0 1px 5px #10121618}
.okr-section{background:#fff;border:1px solid var(--retail-border);border-radius:19px;padding:23px;max-width:960px}
.okr-section-head{margin:0 0 17px}
.okr-section-head h3{font-size:22px;letter-spacing:-.04em;line-height:1.2;margin:5px 0 7px}
.okr-section-head p{font-size:12px;line-height:1.5}
.okr-rank{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #ececf0}
.okr-rank-num{height:37px;width:37px;display:grid;place-items:center;border-radius:11px;background:#f5f5f7;color:#515154;font-size:14px;font-weight:680}
.okr-rank:first-child .okr-rank-num{background:#eaf3ff;color:#0066cc}
.okr-rank-person{display:grid;gap:4px;min-width:0}
.okr-rank-person strong{font-size:14px;font-weight:670;color:#1d1d1f}
.okr-rank-person small{font-size:11px;color:#6e6e73}
.okr-rank-score{font-size:22px;font-weight:720;letter-spacing:-.045em;color:#1d1d1f;font-variant-numeric:tabular-nums}
@media(max-width:690px){.goals-tabs{display:flex;width:100%}.goals-tabs button{flex:1 1 50%;padding:10px 8px;min-width:0}.okr-section{padding:17px}.okr-rank-score{font-size:20px}}

@media(max-width:690px){
 .mobile-title:has(.mobile-store-logo:not([hidden])){display:grid;grid-template-columns:39px minmax(0,1fr);column-gap:8px;align-items:center}
 .mobile-store-logo:not([hidden]){display:block;grid-row:1/3;grid-column:1;max-width:39px;max-height:26px;width:100%;height:auto;object-fit:contain}
 .mobile-title:has(.mobile-store-logo:not([hidden])) strong,
 .mobile-title:has(.mobile-store-logo:not([hidden])) span{grid-column:2;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:355px){
 .mobile-title:has(.mobile-store-logo:not([hidden])){grid-template-columns:31px minmax(0,1fr);gap:1px 5px}
 .mobile-store-logo:not([hidden]){max-width:31px}
}


/* Rewards & OKR — signature retail experience. */
.goal-spotlight,.okr-hero{
  display:flex;justify-content:space-between;align-items:center;gap:clamp(20px,4vw,45px);
  padding:clamp(22px,3vw,36px);margin:0 0 16px;
  background:#fff;border:1px solid var(--retail-border);
  border-radius:24px;min-width:0;box-shadow:0 3px 21px #1d1d1f07;
}
.goal-spotlight-text,.okr-hero-copy{flex:1 1 auto;min-width:0;max-width:680px}
.goal-spotlight-eyebrow{
  display:inline-block;font-size:10px;letter-spacing:.12em;font-weight:730;color:#0066cc;
  line-height:1.5;margin:0 0 12px;
}
.goal-spotlight-text h3,.okr-hero-copy h3{
  color:#1d1d1f;letter-spacing:-.058em;font-weight:710;
  font-size:clamp(27px,3.15vw,39px);line-height:1.12;max-width:17ch;margin:0 0 12px;
}
.goal-spotlight-text p,.okr-hero-copy>p{
  color:#6e6e73;font-size:13px;line-height:1.5;margin:0 0 20px;max-width:45ch;
}
.goal-spotlight-track{
  height:10px;max-width:640px;background:#ebebef;border-radius:100px;
  overflow:hidden;margin:0 0 12px;
}
.goal-spotlight-track>span{
  display:block;height:100%;width:0;max-width:100%;border-radius:inherit;
  background:#0071e3;transition:width .3s ease;
}
.goal-spotlight-next{display:flex;align-items:center;gap:9px;min-width:0;margin-top:17px}
.goal-spotlight-next-mark{
  display:grid;place-items:center;width:38px;height:38px;flex:none;
  background:#eaf3ff;border-radius:12px;color:#0071e3;
}
.goal-spotlight-next-mark svg{width:20px;height:20px}
.goal-spotlight-next>span:last-child{display:grid;gap:3px;min-width:0}
.goal-spotlight-next small{font-size:10px;color:#86868b}
.goal-spotlight-next strong{font-size:13px;letter-spacing:-.015em;overflow-wrap:anywhere;color:#1d1d1f}
.goal-spotlight-note{margin:13px 0 0!important;font-size:12px!important}
.goal-ring{
  --goal-pct:0%;width:151px;height:151px;flex:0 0 151px;
  display:grid;place-items:center;border-radius:50%;
  background:conic-gradient(#0071e3 var(--goal-pct),#e9edf3 0);
  position:relative;box-shadow:0 2px 11px #0055a70a;
}
.goal-ring-center{
  width:calc(100% - 20px);height:calc(100% - 20px);
  background:#fff;border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
}
.goal-ring strong{color:#1d1d1f;font-size:36px;line-height:1;letter-spacing:-.068em;font-weight:740;font-variant-numeric:tabular-nums}
.goal-ring small{color:#86868b;font-size:10px;font-weight:600}
.goal-card-percent{margin-left:auto;font-size:24px;font-weight:720;letter-spacing:-.05em;color:#0066cc;white-space:nowrap;font-variant-numeric:tabular-nums}
.goal-progress-caption{align-items:center;justify-content:space-between}
.goal-progress-caption>span:first-child{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.goal-next-step{font-size:12px;color:#0066cc;margin:11px 0 0;font-weight:580}
.goal-reward-icon{width:41px;height:41px;display:grid;place-items:center;flex:none}
.goal-reward-icon svg{width:23px;height:23px}
.goal-card .goal-progress-track{height:9px}
.goal-status-success{color:#1c7044}
.reward-shelf{margin:19px 0 4px}
.reward-shelf-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 13px;flex-wrap:wrap}
.reward-shelf-title h3{
  font-size:20px;font-weight:695;color:#1d1d1f;line-height:1.2;letter-spacing:-.045em;margin:4px 0 0;
}
.reward-shelf-title>small{color:#6e6e73;font-size:11px;line-height:1.35}
.reward-shelf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.reward-shelf-item{
  min-height:158px;padding:20px;display:flex;align-items:flex-start;flex-direction:column;gap:8px;
  background:#fff;border:1px solid var(--retail-border);border-radius:19px;box-shadow:var(--retail-shadow);
}
.reward-shelf-item strong{color:#1d1d1f;font-size:13px;font-weight:670;line-height:1.3;letter-spacing:-.015em}
.reward-shelf-item>span:last-child{color:#86868b;font-size:11px;line-height:1.4}
.reward-graphic{
  height:48px;width:48px;display:grid;place-items:center;background:#f4f7fc;
  color:#0066cc;border-radius:14px;margin-bottom:8px;
}
.reward-graphic svg{height:24px;width:24px}
.reward-graphic-phone{background:#ebeff7}
.reward-graphic-meal{background:#f4f4f7}
.reward-graphic-accessory{background:#edf5ff}
.okr-hero{margin-bottom:15px}
.okr-overall-progress{margin-top:19px;max-width:640px}
.okr-overall-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 12px;flex-wrap:wrap}
.okr-overall-progress strong{font-size:13px;font-weight:650;color:#1d1d1f}
.okr-overall-progress span{font-size:12px;color:#0066cc;font-weight:690}
.okr-overall-progress>small{font-size:11px;color:#6e6e73;line-height:1.4}
.okr-mvp{
  display:flex;align-items:center;gap:16px;min-height:120px;
  padding:23px;margin-bottom:16px;border-radius:20px;border:1px solid #e1eaf7;
  background:#f6f9ff;
}
.okr-mvp-icon{
  width:55px;height:55px;flex:none;border-radius:16px;display:grid;place-items:center;
  background:#e6f0ff;color:#0066cc;
}
.okr-mvp-icon svg{width:26px;height:26px}
.okr-mvp>div:nth-child(2){min-width:0;flex:1}
.okr-mvp h3{font-size:23px;font-weight:710;letter-spacing:-.045em;color:#1d1d1f;margin:3px 0 5px}
.okr-mvp p{font-size:12px;color:#515154;line-height:1.45;margin:0;max-width:62ch}
.okr-mvp-value{font-size:28px;color:#0066cc;font-weight:740;letter-spacing:-.05em;white-space:nowrap;text-align:right}
.okr-mvp-value small{display:block;font-size:10px;color:#6e6e73;font-weight:600;letter-spacing:0}
.okr-rank{grid-template-columns:43px minmax(0,1fr) auto;padding:15px 0}
.okr-rank-person{gap:5px}
.okr-rank-person>strong{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.okr-rank-lead{background:#eaf3ff;color:#0066cc}
.okr-lead-tag{font-size:10px;font-weight:650;border-radius:10px;padding:3px 7px;background:#eaf3ff;color:#0066cc;letter-spacing:0}
.okr-rank-track{
  display:block;width:min(100%,540px);height:6px;border-radius:100px;
  overflow:hidden;background:#edeef1;margin-top:4px;
}
.okr-rank-track>span{display:block;height:100%;background:#0071e3;border-radius:inherit}
@media(max-width:900px){
 .reward-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .goal-ring{width:131px;height:131px;flex-basis:131px}
 .goal-ring strong{font-size:31px}
}
@media(max-width:690px){
 .goal-spotlight,.okr-hero{border-radius:20px;padding:20px;gap:14px;align-items:center}
 .goal-spotlight-text h3,.okr-hero-copy h3{font-size:25px;max-width:none;margin-bottom:8px}
 .goal-spotlight-text p,.okr-hero-copy>p{font-size:12px;margin-bottom:12px}
 .goal-ring{width:106px;height:106px;flex-basis:106px}
 .goal-ring-center{width:calc(100% - 15px);height:calc(100% - 15px)}
 .goal-ring strong{font-size:25px}
 .goal-ring small{font-size:9px}
 .goal-spotlight-track{height:8px;margin-bottom:7px}
 .goal-spotlight-next{margin-top:8px}
 .goal-spotlight-next-mark{width:31px;height:31px}
 .goal-spotlight-next-mark svg{width:17px;height:17px}
 .goal-spotlight-next small{font-size:9px}
 .goal-spotlight-next strong{font-size:11px}
 .reward-shelf-title h3{font-size:19px}
 .reward-shelf-grid{gap:9px}
 .reward-shelf-item{min-height:142px;padding:15px 12px;border-radius:16px;gap:7px}
 .reward-graphic{width:42px;height:42px;margin-bottom:4px}
 .reward-shelf-item strong{font-size:12px}
 .reward-shelf-item>span:last-child{font-size:10px}
 .okr-mvp{padding:17px;gap:11px;min-height:104px}
 .okr-mvp-icon{width:43px;height:43px;border-radius:13px}
 .okr-mvp-icon svg{width:23px;height:23px}
 .okr-mvp h3{font-size:19px}
 .okr-mvp-value{font-size:21px}
}
@media(max-width:355px){
 .goal-spotlight,.okr-hero{padding:16px;gap:8px}
 .goal-spotlight-eyebrow{font-size:9px}
 .goal-spotlight-text h3,.okr-hero-copy h3{font-size:22px}
 .goal-ring{width:88px;height:88px;flex-basis:88px}
 .goal-ring strong{font-size:21px}
 .goal-spotlight-next-mark{display:none}
 .reward-shelf-item{padding:12px 10px}
 .okr-mvp-icon{display:none}
}
@media(prefers-reduced-motion:reduce){
 .goal-spotlight-track>span{transition:none}
}

/* Guided trade-in intake */
.tradein-wizard{display:grid;gap:13px}
.tradein-wizard label{min-width:0}
.tradein-wizard select,.tradein-wizard input{font-size:16px;min-height:46px;border-radius:12px}
.tradein-step{display:flex;align-items:center;gap:11px;border-top:1px solid #e5e5e7;padding-top:18px;margin-top:8px}
.tradein-step:first-child{border-top:0;padding-top:0;margin-top:0}
.tradein-step>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eaf3ff;color:#0066cc;font-size:12px;font-weight:740;flex:none}
.tradein-step strong{display:block;color:#1d1d1f;font-weight:690;font-size:15px;letter-spacing:-.024em}
.tradein-step small{display:block;color:#6e6e73;font-size:11px;margin-top:4px}
.tradein-reference{font-size:12px;line-height:1.5;color:#3b4c69;background:#eff5ff;padding:12px 14px;border-radius:12px;border:1px solid #dce9ff}
.tradein-extras{border:1px solid #e5e5e7;border-radius:12px;background:#fff}
.tradein-extras>summary{list-style:none;cursor:pointer;padding:13px 14px;color:#0066cc;font-weight:650;font-size:12px}
.tradein-extras>summary::-webkit-details-marker{display:none}
.tradein-extras[open]{padding-bottom:12px}
.tradein-extras[open]>label{display:block;margin:12px 14px 0}
.tradein-wizard .tradein-submit{min-height:53px;margin:3px 0 0}
.tradein-result{display:grid;gap:11px;text-align:left}
.tradein-result-label{color:#0066cc;font-weight:700;font-size:10px;letter-spacing:.1em}
.tradein-result h2{font-size:clamp(32px,5vw,44px);line-height:1.05;letter-spacing:-.06em;color:#1d1d1f;margin:0}
.tradein-result>p{line-height:1.5;margin:0;color:#6e6e73;font-size:12px}
.tradein-breakdown{background:#f5f5f7;border-radius:16px;padding:16px;margin:8px 0;display:grid;gap:0}
.tradein-breakdown>div{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:12px;padding:9px 0;border-bottom:1px solid #e5e5e7}
.tradein-breakdown>div:first-child{color:#1d1d1f;font-weight:700}
.tradein-breakdown>div:last-of-type{border:0}
.tradein-breakdown>div>span{color:#515154}
.tradein-breakdown>div>strong{color:#1d1d1f;white-space:nowrap;font-variant-numeric:tabular-nums}
.tradein-breakdown>p{font-size:10px;color:#6e6e73;margin:11px 0 0;line-height:1.5}
.tradein-warning{border:1px solid #edd6b2;border-radius:11px;padding:12px;background:#fffaf2;color:#744e1e!important}
.tradein-result>.primary{min-height:50px}
@media(max-width:690px){.tradein-wizard{gap:11px}.tradein-wizard .two-fields{gap:10px}.tradein-result h2{font-size:34px}.tradein-breakdown{padding:12px}}

.goal-scenario-label{display:inline-flex;align-items:center;gap:8px;background:#eef4ff;border:1px solid #d5e7ff;color:#35577c;padding:9px 13px;border-radius:12px;font-size:11px;font-weight:650;line-height:1.4;margin:0 0 12px}
#goals-intro[data-example="true"]{color:#436b9f}
#goals-showcase{color:#0066cc;border-color:#bfd8ff}
#goals-showcase:hover{background:#eaf3ff}

/* Customer upgrade desk: purpose-built two-phone flow. Calm, tactile, unmistakably transactional. */
.upgrade-wizard{display:grid;gap:14px;min-width:0}
.upgrade-heading{display:flex;gap:11px;align-items:center;padding-top:17px;border-top:1px solid #e5e5e7}
.upgrade-heading:first-child{padding-top:0;border:0}
.upgrade-step{width:36px;height:36px;border-radius:12px;background:#eaf3ff;color:#0066cc;flex:none;display:grid;place-items:center;font-size:12px;font-weight:750}
.upgrade-heading strong{color:#1d1d1f;font-size:15px;font-weight:700;line-height:1.35;display:block;letter-spacing:-.025em}
.upgrade-heading small{color:#6e6e73;font-size:11px;display:block;margin-top:4px}
.upgrade-wizard select,.upgrade-wizard input{min-height:49px;border-radius:12px;font-size:16px;background:#fff;border:1px solid #d2d2d7}
.upgrade-wizard input:focus,.upgrade-wizard select:focus{border-color:#0071e3;box-shadow:0 0 0 3px #0071e31a;outline:0}
.upgrade-availability{font-size:11px;color:#6e6e73;line-height:1.5;margin:0;padding:0}
.upgrade-price{border-radius:18px;border:1px solid #dfe7ef;background:#f7faff;overflow:hidden}
.upgrade-price>p{color:#526a80;font-size:12px;line-height:1.55;padding:19px;margin:0}
.upgrade-price>p.micro{border-top:1px solid #dfe7ef;font-size:10px;padding:12px 17px}
.upgrade-breakdown{display:grid;gap:0;padding:13px 19px 0}
.upgrade-breakdown>div{display:flex;justify-content:space-between;gap:14px;align-items:baseline;padding:9px 0;font-size:13px;color:#515154}
.upgrade-breakdown strong{color:#1d1d1f;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.upgrade-pay{border-top:1px solid #dfe7ef;margin-top:8px;padding:16px 19px 17px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#eaf3ff}
.upgrade-pay small{font-size:12px;color:#415873;font-weight:650;line-height:1.45}
.upgrade-pay strong{font-size:clamp(25px,3.6vw,34px);font-weight:730;letter-spacing:-.06em;line-height:1.1;color:#0066cc;white-space:nowrap;font-variant-numeric:tabular-nums}
.upgrade-manual{color:#85501f!important;background:#fff8eb;padding:18px!important}
.upgrade-extras{margin:0}
.upgrade-extras[open]>.two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 14px}
.upgrade-extras[open]>label{display:block;margin:13px 14px}
.upgrade-wizard>button[type=submit]{min-height:54px;font-size:14px}
.upgrade-success{display:grid;gap:13px}
.upgrade-success-label{font-size:10px;letter-spacing:.09em;font-weight:750;color:#0066cc}
.upgrade-success h3{font-size:21px;letter-spacing:-.04em;color:#1d1d1f;margin:0}
.upgrade-success>p{font-size:12px;color:#6e6e73;line-height:1.5;margin:0}
.upgrade-success .upgrade-pay{border-radius:15px;padding:18px}
@media(max-width:690px){
 .upgrade-wizard{gap:12px}
 .upgrade-heading strong{font-size:14px}
 .upgrade-pay{padding:14px}
 .upgrade-breakdown{padding:10px 14px 0}
 .upgrade-pay strong{font-size:27px}
 .upgrade-wizard .two-fields{gap:9px}
 .upgrade-extras[open]>.two-fields{grid-template-columns:1fr}
}
@media(max-width:355px){.upgrade-pay{display:grid;gap:6px}.upgrade-pay strong{font-size:29px}}

/* Release polish — one clear Apple-like interaction language.
   Functional guards live in Worker, never in visual-only styles. */
:root{--retail-focus:rgba(0,113,227,.46)}
.content-view .section-head{flex-wrap:wrap}
.content-view .section-head>div:first-child{min-width:0}
.content-view .section-head h2{overflow-wrap:break-word}
.content-view .section-head p{max-width:62ch;line-height:1.55}
.content-view>.paper-form,.content-view>.table-wrap,
.content-view>.dash-panel{min-width:0}
.paper-form,.dash-panel,.stat-card,.goal-card,.okr-section{box-shadow:0 2px 18px rgba(20,24,32,.025)}
.table-wrap{border-color:var(--retail-border);border-radius:17px;overflow:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}
.data-table{border-collapse:separate;border-spacing:0}
.data-table th{background:#f8f8fa;color:#6e6e73;font-weight:680;white-space:nowrap}
.data-table td{color:#35353a;line-height:1.45}
.data-table tbody tr:last-child td{border-bottom:0}
.data-table .click:hover{background:#f5f9ff}
.modal,.auth-card,.paper-form{color:var(--retail-text)}
.modal-body{line-height:1.55}
.modal-form>p,.form-stack>p{line-height:1.55}
.modal-form label{line-height:1.3}
.modal-form input,.modal-form select,.modal-form textarea,
.paper-form input,.paper-form select,.paper-form textarea,
.inline-label input,.inline-label select{
 border-color:#d2d2d7;border-radius:12px;color:var(--retail-text);
}
.modal-form input:focus,.modal-form select:focus,.modal-form textarea:focus,
.paper-form input:focus,.paper-form select:focus,.paper-form textarea:focus{
 border-color:var(--retail-blue);box-shadow:0 0 0 3px rgba(0,113,227,.11);
}
.primary:disabled,.checkout:disabled{opacity:.46;box-shadow:none;cursor:not-allowed}
.secondary:disabled,.text-button:disabled{opacity:.43;cursor:not-allowed}
.text-button{font-weight:610}
details>summary{min-height:40px;display:flex;align-items:center}
.device-tabs button,.goals-tabs button,.kind-choice{touch-action:manipulation}
.goal-progress-track>span,.goal-spotlight-track>span,.okr-rank-track>span{
 background:var(--retail-blue)
}
@media(max-width:690px){
 .content-view{padding-inline:16px;padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
 .section-head{gap:12px;margin-bottom:19px}
 .section-head h2{font-size:28px}
 .section-head .secondary,.section-head .primary{min-height:44px}
 .modal{max-height:calc(100dvh - 10px);overscroll-behavior:contain}
 .modal-body{min-width:0;overflow-wrap:anywhere}
 .modal-form input,.modal-form select,.modal-form textarea,
 .paper-form input,.paper-form select,.paper-form textarea,
 .inline-label input,.inline-label select{font-size:16px;min-height:44px}
 .table-wrap{margin-inline:0;max-width:100%;-webkit-overflow-scrolling:touch}
 .data-table th,.data-table td{padding:13px 12px}
 .goals-toolbar button,.goal-actions button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}
}

/* Preserve merchant wordmark without colliding with the active screen title. */
@media(max-width:690px){
 .mobile-title:has(.mobile-store-logo:not([hidden])){grid-template-columns:minmax(0,1fr);gap:2px}
 .mobile-title #mobile-store-wordmark{grid-column:1;grid-row:1;object-fit:contain;width:92px;height:28px}
 .mobile-title #mobile-top-title,.mobile-title #mobile-store-name{display:none}
 .mobile-title #mobile-top-store{grid-column:1;grid-row:2;max-width:100%}
 .mobile-title .mobile-store-logo:not([hidden]){display:none}
}
@media(max-width:360px){
 .mobile-title #mobile-store-wordmark{display:none}
 .mobile-title .mobile-store-logo:not([hidden]){display:block;grid-column:1;grid-row:1;width:31px;height:28px}
}
.inventory-subnav{display:flex;gap:8px;overflow-x:auto;padding:4px 0 14px;margin-bottom:8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.inventory-subnav::-webkit-scrollbar{display:none}
.inventory-subnav-btn{flex:0 0 auto;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;font-size:13px;font-weight:600;color:var(--ink);min-height:44px}
.inventory-subnav-btn.active{background:var(--accent);border-color:var(--accent);color:#fff}
.inventory-pane[hidden]{display:none!important}
.boot-screen{background:#f3f3f1;color:#111}
.boot-identity img{width:min(168px,70vw);height:auto;max-height:48px}
.boot-identity span{color:#6e6e73;font-size:15px;font-weight:600;letter-spacing:0}
.boot-error{position:fixed;inset:auto 16px 24px 16px;max-width:420px;margin:0 auto;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.12);z-index:9999}
.boot-error p{margin:0 0 12px;font-size:14px;line-height:1.5;color:var(--ink)}
.quick-login{display:block;margin:0}
.quick-login-staff{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:none;overflow:visible}
@media(min-width:900px){.quick-login-staff{grid-template-columns:1fr}}
.staff-pick{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 14px;border:1px solid #e4e4e2;border-radius:16px;background:#fff;min-height:clamp(64px,9vh,84px);transition:background .12s,color .12s,border-color .12s}
.staff-pick.active{background:#111;border-color:#111;color:#fff;box-shadow:none}
.staff-pick-avatar{width:44px;height:44px;border-radius:50%;background:#f3f3f1;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;color:#111;flex:0 0 auto}
.staff-pick.active .staff-pick-avatar{background:#fff;color:#111}
.staff-pick strong{display:block;font-size:17px;font-weight:650;letter-spacing:-.02em;line-height:1.15}
.staff-pick span:last-child{min-width:0}
@media(max-width:690px){
 .staff-pick{gap:8px;padding:10px 12px}
 .staff-pick-avatar{width:36px;height:36px;font-size:15px}
 .staff-pick strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.staff-pick small{color:#6e6e73;text-transform:capitalize;font-size:12px;font-weight:600}
.staff-pick.active small{color:rgba(255,255,255,.72)}
.pos-pin-stage{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%}
.pin-login-msg{min-height:0;font-size:15px;font-weight:600;color:#3a3a3c;text-align:center;margin:0}
.pin-login-msg:empty{display:none}
.pin-login-msg.is-error{color:#b42318}
.pin-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:2px 0 4px}
.pin-dots span{width:16px;height:16px;border-radius:50%;border:2px solid #c7c7cc;background:transparent;transition:background .12s,border-color .12s,transform .12s}
.pin-dots span.filled{background:#111;border-color:#111}
.pin-dots span.error{border-color:#ff3b30;background:#ff3b30;animation:pin-shake .35s ease}
@keyframes pin-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.pin-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:min(100%,420px);margin:0 auto}
.pin-keypad button{min-height:clamp(58px,8.4vh,78px);font-size:28px;font-weight:560;letter-spacing:-.03em;border:1px solid #e4e4e2;border-radius:16px;background:#fff;color:#111;box-shadow:0 1px 0 rgba(17,17,17,.04)}
.pin-keypad button:active{transform:scale(.98);background:#111;color:#fff;border-color:#111}
.pin-keypad .pin-key-muted{font-size:16px;font-weight:650;letter-spacing:0}
.pin-type-hint{margin:10px 0 0;text-align:center;color:#6e6e73;font-size:13px}
.shelf-actions{display:flex;gap:8px;margin-top:4px}
.shelf-actions button{flex:1}
.pin-advanced{margin-top:2px;color:#6e6e73;font-size:13px;font-weight:600}
.sell-category-bar{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;margin-bottom:4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.sell-category-bar::-webkit-scrollbar{display:none}
.sell-cat-btn{flex:0 0 auto;display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:600;color:var(--ink);min-height:40px}
.sell-cat-btn.active{border-color:var(--accent);color:var(--accent);box-shadow:0 0 0 2px rgba(0,113,227,.12)}
.sell-cat-ico{width:18px;height:18px;display:inline-flex}
.sell-cat-ico svg{width:18px;height:18px}
.product-card.example-card{outline:2px dashed #c7c7cc}
.card-alt-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.presentation-banner{position:sticky;top:0;z-index:9998;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#1d1d1f;color:#fff;font-size:13px}
.presentation-banner .secondary{background:transparent;border-color:rgba(255,255,255,.35);color:#fff}
.tasks-panel{display:flex;flex-direction:column;gap:12px}
.task-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}
.tasks-rank ul{list-style:none;padding:0;margin:8px 0 0}
.tasks-rank li{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid var(--line)}
.view-sell .hero-line{display:none}
.view-sell .kbd{display:none}
.view-sell .search-wrap{min-height:64px;border-radius:16px;background:#fff}
.view-sell .search-wrap input{font-size:20px;min-height:56px}
.scan-status{margin:12px 0 0;padding:14px 16px;border-radius:14px;font-size:16px;font-weight:650;line-height:1.35}
.scan-status.is-bad{background:#fff1f0;color:#9f1c14;border:1px solid #f3c1bd}
.scan-status.is-ok{background:#eef8e8;color:#246112;border:1px solid #c9e6bc}
.sell-home{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.sell-empty{grid-column:1/-1;margin:0;padding:14px 16px;border-radius:16px;background:#fff;border:1px solid #e4e4e2;font-size:16px;font-weight:600;line-height:1.4}
.sell-note{grid-column:1/-1;margin:2px 2px 0;font-size:14px;font-weight:600;color:#6e6e73}
.sell-empty button,.sell-note button{border:0;background:transparent;padding:0;font:inherit;font-weight:750;text-decoration:underline;min-height:44px;color:#111}
@media(min-width:900px){.sell-home{grid-template-columns:1fr 1fr 1fr;gap:14px}}
.sell-desk{min-height:132px;border:1px solid #e4e4e2;border-radius:20px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:6px;padding:18px 18px 16px;text-align:left;color:#111}
.sell-desk strong{font-size:clamp(22px,2.6vw,30px);font-weight:680;letter-spacing:-.04em;line-height:1.05}
.sell-desk span{font-size:14px;font-weight:600;color:#6e6e73}
.sell-desk:active{background:#111;color:#fff;border-color:#111}
.sell-desk:active span{color:rgba(255,255,255,.72)}
@media(hover:hover){.sell-desk:hover{border-color:#111}}
.sell-desk:focus-visible{outline:2px solid #111;outline-offset:3px}
.sell-cue{margin:12px 2px 0;color:#6e6e73;font-size:15px;font-weight:620}
.cart-line.is-new{animation:till-add .8s ease}
@keyframes till-add{from{background:#eef8e8}to{background:transparent}}
.view-sell .cart-line .item-name,.view-sell .cart-line .item-price{font-size:16px}
.shelf-item strong{flex:1;min-width:0;line-height:1.25}
.sell-back{border:0;background:transparent;color:#111;font-weight:650;font-size:15px;padding:0;min-height:44px}
.product-grid.sell-shelf{display:flex;flex-direction:column;gap:8px}
.shelf-item{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:76px;padding:16px 18px;border:1px solid #e4e4e2;border-radius:16px;background:#fff;text-align:left;color:#111}
.shelf-item strong{font-size:18px;font-weight:650;letter-spacing:-.02em}
.shelf-item .price{font-size:18px;font-weight:720;white-space:nowrap}
.shelf-item .shelf-wait{font-size:13px;font-weight:650;color:#9a5b12}
.shelf-item.is-wait{background:#fffdf8}
.shelf-item:active{background:#111;color:#fff}
/* Sell screen: one product tile system for desktop and iPad. */
.view-sell .product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;align-items:stretch}
.view-sell .product-grid.sell-shelf{display:flex;flex-direction:column;gap:8px}
.view-sell .product-card{display:flex;flex-direction:column;min-height:168px;padding:0;overflow:hidden}
.view-sell .product-card-hit{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;min-height:148px;padding:16px;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer}
.view-sell .product-card-hit .picon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto}
.view-sell .product-card-copy{width:100%;min-width:0}
.view-sell .product-card-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.view-sell .product-card-price{margin-top:auto;width:100%;display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.view-sell .card-alt-actions{margin:0;padding:0 14px 12px}
@media(max-width:690px){
 .view-sell .product-grid{display:flex;flex-direction:column;gap:8px}
 .view-sell .product-card{min-height:0}
 .view-sell .product-card-hit{display:grid;grid-template-columns:46px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;row-gap:4px;align-items:center;min-height:82px;padding:12px}
 .view-sell .product-card-hit .picon{grid-column:1;grid-row:1/3}
 .view-sell .product-card-copy{grid-column:2;grid-row:1/3}
 .view-sell .product-card-price{grid-column:3;grid-row:1/3;margin:0;width:auto;flex-direction:column;align-items:flex-end}
}


/* Cashier-first: actual products and clear SVG departments on the opening view. */
#view-sell .sell-home{align-items:stretch;gap:10px}
#view-sell .sell-desk{min-height:100px;padding:14px 15px 13px;gap:4px;justify-content:flex-start}
#view-sell .sell-desk-icon{width:25px;height:25px;display:grid;place-items:center;color:#0071e3;margin-bottom:3px}
#view-sell .sell-desk-icon svg{display:block;width:24px;height:24px}
#view-sell .sell-desk strong{font-size:clamp(16px,1.5vw,20px);line-height:1.18}
#view-sell .sell-desk>span:last-child{font-size:11px;line-height:1.4}
#view-sell .sell-home-products{grid-column:1/-1;min-width:0;margin-top:6px}
#view-sell .sell-home-products-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}
#view-sell .sell-home-products-head h3{font-size:17px;line-height:1.25;letter-spacing:-.02em}
#view-sell .sell-home-products-head span{font-size:11px;color:#6e6e73}
#view-sell .sell-home-product-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
#view-sell .sell-home-product-list .sell-quick-item{display:flex;align-items:center;justify-content:space-between;gap:11px;width:100%;border:1px solid #e4e4e2;border-radius:16px;background:#fff;text-align:left;color:#111;cursor:pointer;min-width:0;min-height:67px;padding:11px 14px;gap:11px}
#view-sell .sell-home-product-list .sell-quick-item strong{font-size:14px;overflow-wrap:anywhere}
#view-sell .sell-home-product-list .sell-quick-item .price{font-size:14px}
#view-sell .sell-home-product-list .sell-quick-item .shelf-wait{font-size:11px}
@media(min-width:1100px){
 #view-sell .sell-home-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:690px){
 #view-sell .sell-desk{min-height:85px;padding:11px 12px;border-radius:14px}
 #view-sell .sell-desk-icon{width:21px;height:21px;margin:0}
 #view-sell .sell-desk-icon svg{width:20px;height:20px}
 #view-sell .sell-desk strong{font-size:16px}
 #view-sell .sell-home-products-head{flex-direction:column;gap:4px}
 #view-sell .sell-home-product-list .sell-quick-item{min-height:64px}
}

#view-sell .sell-home-product-list .sell-quick-item.is-wait{background:#fffdf8}
#view-sell .sell-home-product-list .sell-quick-item:hover{border-color:#8ab9f2}
#view-sell .sell-home-product-list .sell-quick-item:focus-visible{outline:2px solid #0071e3;outline-offset:2px}

/* A small daily-action rail below departments, not another competing product grid. */
.sell-home-shortcuts{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin:2px 0 0}
.sell-home-shortcut{min-width:0;min-height:74px;display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:16px;border:1px solid #e2e6ec;background:#fafbfc;color:#1a1b1f;text-align:left}
.sell-home-shortcut>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}
.sell-home-shortcut strong{font-size:15px;font-weight:700;letter-spacing:-.02em}
.sell-home-shortcut small{font-size:12px;color:#606975;line-height:1.35}
.sell-shortcut-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d9e0e9;background:#fff;border-radius:11px;color:#1e5eae;font-size:20px;font-weight:650}
.sell-home-shortcut>span:last-child{font-size:24px;color:#5b6471}
.sell-home-shortcut:focus-visible{outline:2px solid #1676f3;outline-offset:2px}
@media(hover:hover){.sell-home-shortcut:hover{border-color:#97b5e0;background:#f4f8ff}}
@media(max-width:530px){.sell-home-shortcuts{grid-template-columns:1fr;gap:9px}.sell-home-shortcut{min-height:64px;padding:10px 13px}}
.team-babou-status{padding:14px;border-radius:12px;background:#f2f7ff;border:1px solid #d0e2ff;color:#214c82;font-size:14px;line-height:1.5;font-weight:600;margin:0 0 18px}

/* Cashier and inventory clarity, 2026-10-22: no three-across cramped product lines. */
#view-sell .product-grid.sell-shelf .shelf-item,
#view-sell .sell-home-product-list .sell-quick-item{
 display:grid;grid-template-columns:minmax(0,1fr) max-content;
 align-items:center;column-gap:12px;row-gap:6px;
}
#view-sell .product-grid.sell-shelf .shelf-item>strong,
#view-sell .sell-home-product-list .sell-quick-item>strong{
 grid-column:1;grid-row:1;min-width:0;overflow-wrap:anywhere;
}
#view-sell .product-grid.sell-shelf .shelf-item>.price,
#view-sell .sell-home-product-list .sell-quick-item>.price{
 grid-column:2;grid-row:1;justify-self:end;white-space:nowrap;
}
#view-sell .product-grid.sell-shelf .shelf-item>.shelf-wait,
#view-sell .sell-home-product-list .sell-quick-item>.shelf-wait{
 grid-column:1/-1;grid-row:2;justify-self:start;line-height:1.3;
}
@media(max-width:690px){
 #view-sell .product-grid.sell-shelf .shelf-item{padding:12px;column-gap:8px;min-height:68px}
 #view-sell .product-grid.sell-shelf .shelf-item>strong{font-size:15px;line-height:1.32}
 #view-sell .product-grid.sell-shelf .shelf-item>.price{font-size:15px}
 #view-stock .inventory-list .inventory-item{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:start;column-gap:8px;row-gap:10px;padding:13px 12px;
 }
 #view-stock .inventory-list .inventory-item>.inventory-avatar{
  grid-column:1;grid-row:1;align-self:start;justify-self:start;
 }
 #view-stock .inventory-list .inventory-item>.inventory-info{
  grid-column:2/-1;grid-row:1/3;min-width:0;
 }
 #view-stock .inventory-list .inventory-item>.inventory-price{
  grid-column:1/-1;grid-row:3;text-align:left;justify-self:start;min-width:0;
 }
 #view-stock .inventory-list .inventory-item>button{
  grid-row:4;grid-column:auto;min-width:0;width:100%;
  min-height:44px;padding:8px 3px;font-size:12px;white-space:nowrap;
 }
 #view-stock .inventory-list .inventory-item>button:only-of-type{grid-column:1/-1}
}
@media(min-width:691px) and (max-width:1199px){
 #view-stock .inventory-list .inventory-item{flex-wrap:wrap}
 #view-stock .inventory-list .inventory-item>.inventory-info{flex:1 1 240px}
}

/* Receiving stays focused on the delivery; phone workflows remain one tap away. */
.receive-phone-options{margin:16px 0}.receive-phone-options>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:#0071e3}.receive-delivery-lines{margin:16px 0;padding:12px 0;border-block:1px solid #e5e5e7}.receive-delivery-lines .dash-row{gap:12px}.receive-delivery-lines .dash-row>span{min-width:0;overflow-wrap:anywhere}.receive-delivery-lines button{min-height:44px;flex-shrink:0}

/* Physical-first inventory onboarding: clear next action, no false availability. */
.inventory-start-guide{margin:12px 0 19px;border:1px solid #dfe5ed;background:#fafbfd;border-radius:18px;padding:17px 18px}
.inventory-start-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.inventory-start-heading h3{margin:4px 0 5px;font-size:17px;line-height:1.25;letter-spacing:-.025em}
.inventory-start-heading p{font-size:13px;color:#626974;margin:0;line-height:1.5}
.inventory-start-safe{display:inline-flex;align-items:center;min-height:28px;background:white;border:1px solid #dfe5ed;color:#475568;border-radius:20px;font-size:11px;font-weight:650;padding:3px 10px}
.inventory-start-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:12px}
.inventory-start-steps>button{display:flex;align-items:center;gap:10px;background:#fff;text-align:left;padding:12px;border:1px solid #e0e6ed;border-radius:13px;min-height:94px}
.inventory-start-steps>button>span:nth-child(2){display:grid;min-width:0;flex:1;gap:5px}
.inventory-start-steps strong{font-size:13px;line-height:1.3;font-weight:710}
.inventory-start-steps small{font-size:11.5px;line-height:1.45;color:#677382}
.inventory-start-steps>button>span:last-child{color:#788596;font-size:22px}
.inventory-start-number{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;color:#1765b9;background:#eaf2ff;font-size:12px;font-weight:750}
.inventory-start-steps>button:focus-visible{outline:3px solid #71aafa;outline-offset:2px}
.inventory-start-guide>.micro{margin:0;line-height:1.55;color:#667382}
@media(hover:hover){.inventory-start-steps>button:hover{border-color:#9cb8dd;background:#f6faff}}
@media(max-width:990px){.inventory-start-steps{grid-template-columns:1fr}.inventory-start-steps>button{min-height:64px}}
@media(max-width:520px){.inventory-start-guide{padding:14px 12px}.inventory-start-heading{margin-bottom:10px}.inventory-start-steps{gap:7px}.inventory-start-steps>button{min-height:68px}}
@media(prefers-reduced-motion:reduce){.inventory-start-steps>button{transition:none}}

/* Task-first controls. Native disclosure keeps secondary actions reachable by
   touch and keyboard, without a second navigation or custom menu key model. */
.action-menu,.section-disclosure{min-width:0}
.action-menu>summary,.section-disclosure>summary{
 list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;
 min-height:44px;font-size:14px;font-weight:650;color:#3d4754;
}
.action-menu>summary::-webkit-details-marker,.section-disclosure>summary::-webkit-details-marker{display:none}
.action-menu>summary::after,.section-disclosure>summary::after{
 content:"";width:7px;height:7px;border-right:1.5px solid currentColor;
 border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 3px 4px auto;flex-shrink:0;
}
.action-menu[open]>summary::after,.section-disclosure[open]>summary::after{transform:rotate(225deg);margin-bottom:-3px}
.action-menu>summary{padding:9px 13px;border:1px solid #d8dce3;border-radius:12px;background:#fff;white-space:nowrap}
.action-menu.has-selection>summary{border-color:#0071e3;color:#005bb5;background:#f5f9ff}
.action-menu-items{display:grid;gap:5px;padding:8px 0 0;min-width:150px}
.action-menu-items>button{min-height:44px;width:100%;text-align:left;border-radius:10px;white-space:normal}
.action-menu>summary:focus-visible,.section-disclosure>summary:focus-visible{outline:3px solid #0071e3;outline-offset:3px}
.section-disclosure[open]>summary{margin-bottom:15px}
#view-stock .inventory-header-actions{display:flex;align-items:start;flex-wrap:wrap;gap:8px}
#view-stock .inventory-subnav{overflow:visible;flex-wrap:wrap;align-items:start;gap:8px;padding:4px 0 12px}
#view-stock .inventory-subnav-btn.active{background:#0071e3;border-color:#0071e3;color:#fff}
#inventory-more-filters .action-menu-items{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
#inventory-more-filters[open]{flex-basis:100%;max-width:460px}
#inventory-start-guide{padding:3px 14px;background:transparent;margin:0 0 12px}
#inventory-start-guide .inventory-start-heading{margin-top:12px}
#view-stock .inventory-list .inventory-item{align-items:center}
#view-stock .inventory-list .row-actions{flex:0 0 auto;min-width:100px;max-width:220px;align-self:center}
#view-stock .inventory-list .row-actions .action-menu-items{min-width:0}
.tools-disclosure{margin-top:20px;border-top:1px solid #dfe3e9;padding-top:10px}
.tools-disclosure>summary{font-size:16px;min-height:52px}
#view-tools .tool-tile .tool-icon{display:none}
#view-tools .tool-tile{grid-template-columns:minmax(0,1fr) auto;min-height:78px}
#view-tools .tool-tile .tool-arrow{align-self:center}
#team-planning-options{border-top:1px solid #e3e6eb;padding-top:8px;margin-top:2px}
#team-planning-options>button{margin-bottom:17px}
#team-add-employee form{margin-top:12px}
.repair-secondary-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}
.repair-secondary-actions>button{flex:1 1 190px;min-height:44px}
#repair-actions>.repair-next-btn{min-width:210px}
.exec-section:has(>.exec-report-disclosure){padding:12px 17px;scroll-margin-top:85px}
.exec-report-disclosure>summary{min-height:48px}
.exec-report-disclosure>summary h3{margin:0;font-size:17px;line-height:1.3;font-weight:700}
.exec-report-disclosure[open]>summary{margin-bottom:12px}
.exec-report-body{padding-top:4px}
.exec-report-body .exec-section-head:has(>div:empty){display:none}
.tradein-guide-search{display:grid;gap:7px;margin:16px 0;font-size:13px;font-weight:600}
.tradein-guide-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid #e5e5e7}
.tradein-guide-row>div{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.tradein-guide-row small{color:#6e6e73;font-size:12px}
.tradein-guide-row span{font-size:14px}.tradein-guide-row button{min-height:44px}
/* Long inventory forms scroll below the persistent title and close control. */
#overlay .modal{display:flex;flex-direction:column;overflow:hidden}
#modal-title{flex:0 0 auto}
#modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:690px){
 #view-stock .inventory-list .inventory-item{grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:9px}
 #view-stock .inventory-list .inventory-item>.inventory-avatar{grid-column:1;grid-row:1}
 #view-stock .inventory-list .inventory-item>.inventory-info{grid-column:2/-1;grid-row:1}
 #view-stock .inventory-list .inventory-item>.inventory-price{grid-column:2;grid-row:2;align-self:center}
 #view-stock .inventory-list .row-actions{grid-column:3;grid-row:2;min-width:90px;max-width:none}
 #view-stock .inventory-list .row-actions[open]{grid-column:2/-1;grid-row:3;width:100%}
 #view-stock .inventory-list .row-actions .action-menu-items{grid-template-columns:repeat(2,minmax(0,1fr))}
 #view-stock .inventory-header-actions>.primary{flex:1 1 auto}
 #view-stock .inventory-subnav>.inventory-subnav-btn{padding:9px 11px;font-size:12px}
 #view-stock .inventory-subnav>.action-menu{flex:1 0 100%}
 #view-stock .inventory-subnav>.action-menu:not([open]){flex:0 1 auto}
 .repair-secondary-actions{display:grid;grid-template-columns:1fr;width:100%}
 #repair-actions>.repair-next-btn{width:100%;min-width:0}
}
