/* Shop admin, approved design (norway-retreat-shop-layout-frames/admin.html).
   Loaded after shop.css on shop-admin.html only; every rule is scoped to body.admin.
   Tokens are the design's authored values. Status always carries a word, never colour alone. */
/* Screen blocks (t_1ccac941). Each "===== SCREEN" marker starts the block one screen lane owns, up to the next "====="
   marker. "SHARED" and "SHELL" blocks serve every screen: change them only through steering. A lane adds new rules at
   the end of its own block, scoped with [data-pane=...] or the screen's own classes, so they never depend on block order.
   The Orders lane owns the Order cards and Packing rules after the SHARED tables block, the #pickup-dialog rules and
   #pickup-dialog .pay-tick at the end of the Products block, and adds its own SCREEN marker. */
/* ===== SHARED: tokens, controls, header, status messages, sign-in, page parts (shell lane) ===== */
body.admin{--ivory:#f7f4ef;--card:#efebe4;--paper:#fff;--ink:#171614;--soft:#6a645c;--line:#e0dad0;--field:#cfc7bb;--rust:#8a3b1e;--green:#2f5b45;--amber:#7a5a12;
 --serif:"Iowan Old Style",Baskerville,"Times New Roman",serif;--sans:"Avenir Next","Helvetica Neue",Arial,sans-serif;
 --bg:var(--ivory);--surface:var(--paper);--text:var(--ink);--body:var(--ink);--muted:var(--soft);--border:var(--line);--error:var(--rust);
 margin:0;background:var(--ivory);color:var(--ink);font:14px/1.5 var(--sans);overflow-x:hidden}
body.admin *{box-sizing:border-box}
body.admin :focus-visible{outline:2px solid var(--ink);outline-offset:2px}
body.admin h1,body.admin h2,body.admin h3{color:var(--ink);font-family:var(--serif);font-weight:400}
body.admin h3{font-size:19px;line-height:1.25;margin:0 0 8px}
body.admin p{margin:0 0 12px}

/* Controls: at least 44px in both directions, square corners, ink outline. */
body.admin button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;padding:0 14px;border:1px solid var(--ink);border-radius:0;background:var(--ink);color:var(--ivory);font:600 14px/1.2 var(--sans);transition:none;white-space:normal;text-align:center}
body.admin button:hover:not(:disabled){background:#000}
body.admin button.secondary{background:transparent;color:var(--ink);border-color:var(--ink)}
body.admin button.secondary:hover:not(:disabled){background:var(--card)}
body.admin button.text-button,body.admin button.link{border:0;background:none;color:var(--soft);padding:0 6px;text-decoration:underline;text-underline-offset:4px;font-weight:400}
body.admin button.text-button:hover:not(:disabled),body.admin button.link:hover:not(:disabled){background:none;color:var(--ink)}
body.admin button:disabled{opacity:.4;cursor:not-allowed}
body.admin input,body.admin select,body.admin textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--field);border-radius:0;background:var(--paper);color:var(--ink);font:inherit}
/* Fields sit inside bold labels; their own text is normal weight. */
body.admin input,body.admin select,body.admin textarea{font-weight:400}
body.admin textarea{min-height:92px;resize:vertical;line-height:1.5}
body.admin input[type=checkbox],body.admin input[type=radio]{width:22px;min-height:22px;height:22px;margin:0 8px 0 0;accent-color:var(--ink)}
body.admin label{font-size:13px;font-weight:600;margin:12px 0 6px}
body.admin .hint,body.admin .muted{font-weight:400;color:var(--soft);font-size:12.5px}
body.admin .skip-link{position:absolute;left:8px;top:-80px;background:var(--paper);padding:12px;z-index:40;border:1px solid var(--ink)}
body.admin .skip-link:focus{top:8px}

/* Header: 60px on phone, 72px on desktop, sticky. */
body.admin .top{position:sticky;top:0;z-index:25;background:var(--ivory);isolation:isolate;border-bottom:1px solid var(--line)}
body.admin .bar{display:flex;align-items:center;gap:12px;min-height:60px;padding:0 16px}
body.admin .word{display:flex;align-items:center;gap:8px;font:500 11px/1 var(--serif);letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;color:var(--ink);text-decoration:none;min-height:44px}
body.admin .word img{width:40px;display:block}
body.admin .word small{font:600 10px var(--sans);letter-spacing:.16em;color:var(--soft);border-left:1px solid var(--line);padding-left:8px}
body.admin .who{margin-left:auto;display:flex;align-items:center;gap:6px;min-width:0}
body.admin .who .nm{color:var(--soft);font-size:13px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.admin .role{border:1px solid var(--ink);padding:3px 8px;font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
@media(max-width:699px){body.admin .who .nm,body.admin .word .long{display:none}}
/* Shell (t_1ccac941, frozen admin.html): the top bar holds View shop and, on a phone, the account avatar. The
   signed-in line stays for screen readers; the role chip and Sign out live in the account card. */
body.admin .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.admin .bar .who{display:contents}
body.admin .viewshop{margin-left:auto;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:1px solid var(--ink);color:var(--ink);font-size:13px;text-decoration:none;white-space:nowrap}
body.admin .viewshop:hover{background:var(--card)}
@media(max-width:699px){body.admin .viewshop{padding:0 8px;text-transform:capitalize}body.admin .viewshop .vsl{display:none}}
body.admin .acctbtn{display:none}
body.admin .av{display:grid;place-items:center;border-radius:50%;background:var(--card);color:var(--ink);font:600 13px var(--sans);overflow:hidden;flex:none}
body.admin .av img{width:100%;height:100%;object-fit:cover;object-position:50% 25%;display:block}
@media(max-width:899px){
 body.admin .acctbtn:not([hidden]){display:grid;place-items:center;margin-left:10px;padding:0;width:44px;height:44px;min-height:44px;min-width:44px;border:0;background:none}
 body.admin .acctbtn:hover:not(:disabled){background:none}
 body.admin .acctbtn .av{width:34px;height:34px;font-size:12px;border:1px solid var(--line)}}
@media(min-width:900px){body.admin .bar{min-height:72px;padding:0 32px}body.admin .word{font-size:15px;letter-spacing:.26em;gap:12px}body.admin .word img{width:62px}}

/* Status messages sit under the header, never covering content. */
body.admin .status-area{padding:0 16px}
/* Messages are a fixed toast, as in the approved design: they never push the page
   down, so a control never moves between being aimed at and being pressed. They let
   clicks pass through so they can never cover an action. */
body.admin .status-area .message,body.admin .status-area .error-message{position:fixed;z-index:30;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));margin:0;pointer-events:none;box-shadow:0 4px 24px rgba(23,22,20,.18)}
body.admin .status-area .message:empty,body.admin .status-area .error-message:empty{display:none}
body.admin .status-area .message .undo{pointer-events:auto;color:inherit;font-weight:600;min-height:0;padding:0 4px;text-decoration:underline;text-underline-offset:3px}
body.admin .status-area .message:not(:empty),body.admin .status-area .error-message:not(:empty){border-radius:0;padding:12px 14px;border-left:3px solid currentColor}
@media(min-width:900px){body.admin .status-area .message,body.admin .status-area .error-message{left:auto;right:40px;bottom:auto;top:88px;width:380px}}
body.admin .status-area .message:not(:empty){background:var(--paper);color:var(--green)}
body.admin .status-area .error-message:not(:empty){background:var(--paper);color:var(--rust)}
body.admin #connection{margin:12px 0 0;padding:10px 14px;background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--amber);color:var(--ink);font-size:13px}
@media(min-width:900px){
 /* The rail starts right under the header; messages and content share the right column. */
 body.admin .admin-main{display:grid;grid-template-columns:184px minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start}
 body.admin .admin-main>#workspace:not([hidden]){display:contents}
 body.admin .admin-main nav.tabs{grid-column:1;grid-row:1/span 2}
 body.admin .status-area{grid-column:2;grid-row:1;padding:0 40px}
 body.admin .admin-main .content{grid-column:2;grid-row:2}
 body.admin #login-panel,body.admin #self-invite-result{grid-column:1/-1}
 body.admin .admin-main:has(>#workspace[hidden]) .status-area{grid-column:1/-1;width:100%;max-width:440px;margin:0 auto;padding:0}}
body.admin [role=alert]:not(:empty){border-radius:0}

/* Sign in */
body.admin .signin{max-width:440px;margin:40px auto;padding:24px;background:var(--paper);border:1px solid var(--line)}
body.admin .signin h1{font-size:30px;margin:0 0 8px}
body.admin .signin form button{width:100%;margin-top:14px}
body.admin .signin .foot{margin-top:16px}
@media(max-width:480px){body.admin .signin{margin:20px 16px}}

/* Shell: tab strip on phone, 236px left rail on desktop. */
body.admin nav.tabs{display:flex;overflow-x:auto;border-bottom:1px solid var(--line);padding:0 8px;scrollbar-width:none;background:var(--ivory)}
body.admin nav.tabs::-webkit-scrollbar{display:none}
body.admin nav.tabs button{flex:none;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--soft);padding:0 12px;font-weight:400;white-space:nowrap}
body.admin nav.tabs button:hover:not(:disabled){background:none;color:var(--ink)}
body.admin nav.tabs button[aria-current]{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}
body.admin .admin-main{padding:0;margin:0;max-width:none}
body.admin .content{padding:20px 16px 110px;min-width:0}
body.admin #self-invite-result{margin:16px}
@media(min-width:900px){
 body.admin nav.tabs{flex-direction:column;border:0;border-right:1px solid var(--line);padding:24px 0;position:sticky;top:73px;align-self:start;height:calc(100vh - 73px);overflow-y:auto}
 body.admin nav.tabs button{justify-content:flex-start;border-bottom:0;border-left:2px solid transparent;padding:0 18px;text-align:left}
 body.admin nav.tabs button[aria-current]{border-left-color:var(--ink);background:var(--card)}
 body.admin nav.tabs button[aria-current]:hover:not(:disabled){background:var(--card)}
 body.admin .content{padding:32px 40px 110px;max-width:1204px}}

/* Page parts */
body.admin .page-title{font:400 26px/1.15 var(--serif);margin:0 0 6px}
@media(min-width:900px){body.admin .page-title{font-size:32px}}
body.admin [data-pane]>p,body.admin .phead p{color:var(--soft);max-width:680px}
body.admin .phead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:18px}
body.admin .admin-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:16px}
body.admin .admin-controls>div{flex:1 1 220px;max-width:360px}
body.admin .admin-controls label{margin-top:0}
body.admin .panel,body.admin .card{background:var(--paper);border:1px solid var(--line);border-radius:0;padding:16px;margin-bottom:16px}
@media(min-width:900px){body.admin .panel,body.admin .card{padding:20px 24px}}
body.admin .note{padding:12px 14px;border-left:2px solid var(--ink);background:var(--card);margin:0 0 16px}
body.admin .notice{padding:14px 16px;border:1px solid var(--line);border-left:3px solid var(--amber);background:var(--paper);margin:0 0 16px}
body.admin .empty{padding:40px 16px;text-align:center;border:1px dashed var(--field);border-radius:0;background:none;color:var(--soft)}
body.admin .empty h3,body.admin .empty p:first-child{font:italic 17px/1.4 var(--serif)}
body.admin .warning-text,body.admin .flag{color:var(--rust)}

/* ===== SCREEN Home · pane home · assets/js/admin/home.js ===== */
/* Home (t_622d2a57): frozen admin.html B2, read-only over existing admin API data. */
body.admin [data-pane=home] .phead{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center}
body.admin [data-pane=home] .phead>div:first-child{display:contents}
body.admin [data-pane=home] .phead .page-title{grid-column:1;grid-row:1;margin-bottom:0}
body.admin [data-pane=home] .phead p{grid-column:1/-1;margin:4px 0 0}
body.admin [data-pane=home] #home-status{grid-column:2;grid-row:1;justify-self:end}
body.admin .home-status{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
body.admin .home-status-pill{display:inline-flex;align-items:center;padding:2px 8px;border:1px solid currentColor;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--soft);white-space:nowrap}
body.admin .home-status-pill.on{color:var(--green)}
body.admin .home-status-pill.off{color:var(--rust)}
body.admin .home-health{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 18px;color:var(--soft);font-size:13px}
body.admin .home-health-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:var(--rust)}
body.admin .home-health-dot.ok{background:var(--green)}
body.admin .home-health-sep{margin:0 4px}
body.admin .home-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}
body.admin button.home-tile{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;justify-items:start;align-content:start;gap:6px;width:100%;min-width:0;height:auto;min-height:0;padding:16px 18px;border:1px solid var(--line);background:var(--paper);color:var(--ink);text-align:left;white-space:normal}
body.admin button.home-tile:hover{background:var(--paper);border-color:var(--ink)}
body.admin .home-tile>*{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.admin .home-tile-label{color:var(--soft);font-size:11px;font-weight:600;letter-spacing:.12em;line-height:1.35;text-transform:uppercase}
body.admin .home-tile b{font:400 30px/1 var(--serif);font-variant-numeric:tabular-nums}
body.admin .home-tile .hint{margin:0;line-height:1.3;text-align:left}
body.admin .home-low-stock h3,body.admin .home-shop-preview h3{margin:0;font-size:21px}
body.admin .home-low-stock ul{list-style:none;margin:12px 0 0;padding:0}
body.admin .home-low-stock li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
body.admin .home-low-name{display:flex;align-items:center;gap:10px;min-width:0}
body.admin .home-low-name>span:last-child{min-width:0;overflow-wrap:anywhere}
body.admin .home-low-stock img,body.admin .home-low-stock .home-thumb-empty{flex:0 0 32px;width:32px;height:40px;object-fit:cover;background:var(--card)}
body.admin .home-thumb-empty{display:grid;place-items:center;padding:3px;color:var(--soft);font-size:8px;text-align:center}
body.admin .home-low-stock li>.hint{white-space:nowrap}
body.admin .home-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
body.admin .home-card-head button{flex:0 0 auto;min-height:40px}
body.admin .home-mini{overflow:hidden;border:1px solid var(--line);background:var(--ivory);color:var(--ink);font-size:12px}
body.admin .home-mini-banner{display:flex;align-items:center;height:24px;padding:0 16px;overflow:hidden;background:var(--ink);color:var(--ivory);font-size:9px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis}
body.admin .home-mini-head{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line);color:var(--soft);font-size:8px;letter-spacing:.14em;text-transform:uppercase}
body.admin .home-mini-head>*{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.admin .home-mini-head b{color:var(--ink);font-weight:400;letter-spacing:.22em;text-align:center}
body.admin .home-mini-head span:last-child{text-align:right}
body.admin .home-mini-note{padding:8px 14px;background:var(--card);font:italic 13px var(--serif)}
body.admin .home-mini-body{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:14px}
body.admin .home-mini-body>img,body.admin .home-mini-body>.home-thumb-empty{width:96px;height:auto;aspect-ratio:4/5;object-fit:cover;background:var(--card)}
body.admin .home-mini-cap{color:var(--soft);font-size:9px;letter-spacing:.1em;text-transform:uppercase}
body.admin .home-mini-body p{margin:4px 0;font:400 15px/1.25 var(--serif)}
body.admin .home-mini-button{display:block;margin-top:10px;padding:8px;border:1px solid var(--ink);font-size:9px;font-weight:600;letter-spacing:.16em;text-align:center;text-transform:uppercase}
body.admin .home-mini-button.off{border-color:var(--line);color:var(--soft)}
body.admin .home-mini-closed{display:grid;gap:6px;padding:40px 16px;text-align:center;font:400 17px var(--serif)}
body.admin .home-mini-closed span{color:var(--soft);font:12.5px/1.5 var(--sans)}
@media(min-width:900px){body.admin .home-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:899px){body.admin .home-card-head button{min-height:44px}}
@media(max-width:799px){body.admin .home-health{display:block;line-height:1.5}body.admin .home-health-dot{display:inline-block;margin:0 6px 2px 0;vertical-align:middle}body.admin .home-health-sep{display:block;height:0;overflow:hidden}body.admin button.home-tile{padding:12px 14px;gap:2px}body.admin .home-low-stock li>.hint{white-space:nowrap}}
@media(max-width:420px){body.admin .home-status{gap:4px}body.admin .home-status-pill{padding:2px 4px;font-size:9.5px;letter-spacing:0}body.admin button.home-tile{padding:14px;gap:6px}body.admin .home-tile b{font-size:clamp(24px,8vw,34px)}body.admin .home-card-head{display:grid;justify-content:start;gap:10px}body.admin .home-card-head button{justify-self:start}}

/* ===== SCREEN My sales · pane sales · assets/js/admin/sales.js (statement cards: Payouts block) ===== */
/* Stats strip (My sales) */
body.admin dl.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin:0 0 16px}
@media(min-width:900px){body.admin dl.stats{grid-template-columns:repeat(4,1fr)}}
body.admin dl.stats div{background:var(--paper);padding:12px 14px;display:flex;flex-direction:column-reverse;justify-content:flex-end}
body.admin dl.stats dd{margin:0;font:400 22px/1.2 var(--serif);font-variant-numeric:tabular-nums}
body.admin dl.stats dt{color:var(--soft);font-size:12px}

/* ===== SHARED: tables ===== */
/* Tables: bounded, tabular figures; horizontal scroll stays inside its region. */
body.admin .table-scroll{overflow-x:auto;max-width:100%;margin-bottom:16px}
body.admin table{width:100%;border-collapse:collapse;background:var(--paper);border:1px solid var(--line);font-size:13.5px}
body.admin th{font-size:10.5px;text-transform:uppercase;letter-spacing:.1em;color:var(--soft);text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);font-weight:600;background:#fbf9f5;white-space:nowrap}
body.admin tbody th{text-transform:none;letter-spacing:0;font-size:13.5px;color:var(--ink);background:none;white-space:normal}
body.admin td{padding:8px 12px;border-bottom:1px solid var(--line);vertical-align:top}
body.admin .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
body.admin td .hint,body.admin th .hint{display:block;font-weight:400}

/* ===== SCREEN Orders · pane orders · assets/js/admin/orders.js, assets/js/shop-pickup.js (the .order-card rules also style Reconciliation's cards) ===== */
/* Order cards (Orders and pickup) */
body.admin .order-card{margin:0 0 12px;padding:14px 16px;background:var(--paper);border:1px solid var(--line);border-radius:0}
body.admin .order-card[tabindex="-1"]:focus{outline:2px solid var(--ink);outline-offset:2px}
body.admin .order-heading h3{font:600 15px/1.2 var(--sans);font-variant-numeric:tabular-nums;margin:0 0 4px}
body.admin .order-heading strong{font-variant-numeric:tabular-nums;white-space:nowrap}
body.admin .badges{margin:10px 0}
body.admin .badge{display:inline-block;border-radius:0;padding:2px 8px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;border:1px solid currentColor;background:none;color:var(--ink)}
body.admin .badge.done{background:none;color:var(--green)}
body.admin .badge.alert{background:none;color:var(--rust,#9a4a2c)}
body.admin .order-items li{border-top:1px solid var(--line);padding:8px 0}
body.admin .order-items li span{color:var(--soft)}
body.admin .order-items li.muted{color:var(--soft);font-style:normal}
body.admin .actions{gap:8px;margin-top:12px}
@media(max-width:699px){body.admin .order-card .actions button{flex:1 1 auto}}
/* Orders table, filter tabs and order pop-up (t_1dff377a, frozen admin.html vOrders and oview, audit A-03).
   A table row per order from 1100px; below that the same row is one card (tablets keep the rail, so the table needs the room). Status always carries a word. */
body.admin [data-pane=orders] .ptitle{display:flex;align-items:center;gap:10px;margin:0 0 6px}
body.admin [data-pane=orders] .ptitle .page-title{margin:0}
body.admin button.tipq{position:relative;display:inline-grid;place-items:center;width:22px;height:22px;min-width:0;min-height:0;padding:0;border:1px solid var(--soft);border-radius:50%;background:none;color:var(--soft);font:600 12px/1 var(--sans)}
body.admin button.tipq::after{content:'';position:absolute;inset:-11px}
body.admin button.tipq:hover:not(:disabled){background:none;color:var(--ink);border-color:var(--ink)}
/* ===== HELP AND TOUR · assets/js/admin/help.js ===== */
body.admin .help-title{display:inline-flex;align-items:center;gap:10px;max-width:100%}
body.admin .help-title .page-title{margin-bottom:0}
body.admin [data-pane=home] .phead .help-title{grid-column:1;grid-row:1}
body.admin .home-tour-card{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
body.admin .home-tour-card p{margin:0;font:400 18px/1.35 var(--serif)}
body.admin .home-tour-card .actions{display:flex;gap:8px;margin:0;padding:0}
body.admin .admin-help-pop,body.admin .admin-tour-pop{position:fixed;z-index:110;box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto;padding:18px;background:var(--paper);border:1px solid var(--ink);box-shadow:0 14px 40px rgba(23,22,20,.2);color:var(--ink)}
body.admin .admin-help-pop[hidden]{display:none}
body.admin .admin-help-pop strong{display:block;font:400 20px/1.25 var(--serif)}
body.admin .admin-help-pop p,body.admin .admin-tour-pop p{margin:10px 0 14px;line-height:1.45}
body.admin .admin-help-pop button{min-height:36px}
body.admin .admin-tour-ring{position:fixed;z-index:100;box-sizing:border-box;border:2px solid var(--amber);border-radius:5px;box-shadow:0 0 0 100vmax rgba(23,22,20,.5);pointer-events:none}
body.admin .admin-tour-pop h3{margin:0;font:400 22px/1.25 var(--serif)}
body.admin .admin-tour-pop .cap{margin:0 0 8px;color:var(--soft);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
body.admin .admin-tour-acts{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body.admin .admin-tour-acts button{min-height:38px}
body.admin .admin-tour-acts button:first-child{margin-right:auto}
/* Nick 5 Oct: the -36px pull-up left the "?" under the title start when the heading sat on its own line; keep it inline beside the title. */
body.admin [data-storefront-row=mode] .storefront-settings>h3,body.admin #override-panel>h3{display:inline-block;vertical-align:middle}
body.admin [data-storefront-row=mode] .storefront-settings>h3+button.tipq,body.admin #override-panel>h3+button.tipq{vertical-align:middle;margin:0 0 0 8px}
body.admin #orders-help .helpbox{padding:10px 12px;background:var(--card);font-size:13px}
body.admin #orders-help .helpbox p{margin:0 0 8px}
body.admin .otools{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;justify-content:space-between;margin:0 0 14px}
body.admin .otools .ofilter{margin:0;flex:1 1 auto;min-width:0}
body.admin .ofilter .n{display:inline-block;min-width:18px;padding:0 5px;margin-left:4px;background:var(--card);color:var(--soft);font-size:10.5px;font-weight:600;text-align:center}
body.admin .osearch{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;flex:0 1 auto}
body.admin .osearch input{flex:0 1 280px;width:280px;min-width:0}
body.admin .osearch>.link{flex:0 0 auto;white-space:nowrap}
body.admin .order-sort-row{display:none;align-items:center;gap:8px}
body.admin .order-sort-row label{margin:0;white-space:nowrap}
body.admin .order-sort-row select{width:auto;min-width:150px}
body.admin .order-sort-row button{flex:0 0 44px}
@media(max-width:1199px){body.admin .order-sort-row{display:flex}body.admin .osearch{flex:1 1 100%}body.admin .osearch input{flex:1 1 240px;width:auto}}
@media(max-width:899px){body.admin .osearch input{flex:1 1 100%;width:100%}}
@media(max-width:799px){body.admin .order-sort-row{flex:1 1 100%;align-items:flex-end;gap:8px;margin:0 0 10px}body.admin .order-sort-row label{flex:1;display:grid;gap:4px;color:var(--soft);font-size:12px;font-weight:600}body.admin .order-sort-row select{min-width:0;min-height:40px}body.admin .order-sort-row button{width:44px;height:40px;min-height:40px;border-color:var(--field);background:var(--paper);color:var(--ink)}}
@media(min-width:800px) and (max-width:1199px){body.admin .order-sort-row{max-width:420px;margin-left:auto}body.admin .order-sort-row select{min-height:40px}body.admin .order-sort-row button{width:44px;height:40px;min-height:40px;border-color:var(--field);background:var(--paper);color:var(--ink)}}
@media(max-width:599px){body.admin .order-sort-row{flex:1 1 100%}body.admin .order-sort-row select{flex:1;min-width:0}}
body.admin table.t.orders th{padding:0 12px}
body.admin .orders button.thsort{min-height:40px;min-width:0;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit}
body.admin .orders button.thsort:hover:not(:disabled){background:none;color:var(--ink)}
body.admin .orders .thsort::after{content:'↕';margin-left:5px;opacity:.35;font-size:10px}
body.admin .orders th[aria-sort]{color:var(--ink)}
body.admin .orders th[aria-sort=ascending] .thsort::after{content:'↑';opacity:1}
body.admin .orders th[aria-sort=descending] .thsort::after{content:'↓';opacity:1}
body.admin tr.order-card{margin:0;padding:0;border:0}
body.admin .orders td{padding:12px}
body.admin .orders td.lead{white-space:nowrap}
body.admin button.orefbtn{display:block;min-height:0;min-width:0;padding:0;border:0;background:none;color:var(--ink);font:600 15px/1.3 var(--sans);font-variant-numeric:tabular-nums;white-space:nowrap;text-decoration:underline dotted;text-underline-offset:4px}
body.admin button.orefbtn:hover:not(:disabled){background:none;color:var(--ink);text-decoration-style:solid}
body.admin .orders .when{display:block;margin-top:2px;color:var(--soft);font-size:11.5px}
body.admin .oitems{list-style:none;margin:0;padding:0;display:grid;gap:8px}
body.admin .oitems li{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;border:0;padding:0}
body.admin .oitems img,body.admin .oitems .ith{display:block;width:36px;height:45px;object-fit:cover;background:var(--card)}
body.admin .oname{display:grid;gap:1px;font-size:13.5px;line-height:1.3;overflow-wrap:anywhere}
body.admin .oname i{font-style:normal;font-size:11.5px;color:var(--soft)}
body.admin .oitems li>.tick,body.admin .oitems li>.istate{justify-self:end}
body.admin .oitems li.others{display:block}
body.admin .others summary{display:flex;align-items:center;gap:6px;min-height:36px;cursor:pointer;list-style:none;color:var(--soft);font-size:12.5px}
body.admin .others summary::-webkit-details-marker{display:none}
body.admin .others summary::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px)}
body.admin .others details[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
body.admin .others summary:hover{color:var(--ink)}
body.admin .others .oitems{margin-top:8px;padding-left:10px;border-left:2px solid var(--line)}
body.admin .oitems .tick{display:inline-flex;align-items:center;gap:6px;min-height:32px;margin:0;padding:0 8px 0 6px;border:1px solid transparent;background:#fbf1de;color:#825812;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;cursor:pointer}
body.admin .oitems .tick input{width:16px;height:16px;min-height:0;margin:0;accent-color:var(--green)}
body.admin .oitems .tick.on{background:#eef4ee;color:var(--green)}
body.admin .oitems .tick:hover{border-color:currentColor}
body.admin .oitems .tick:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
body.admin .istate{padding:2px 6px;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
body.admin .istate.ok{background:#eef4ee;color:var(--green)}
body.admin .istate.todo{background:#fbf1de;color:#825812}
body.admin .istate.rf{background:var(--card);color:var(--soft)}
body.admin .st{display:inline-block;padding:2px 8px;border:1px solid currentColor;color:var(--ink);font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
body.admin .st.ready{background:var(--ink);border-color:var(--ink);color:var(--ivory)}
body.admin .st.tobag,body.admin .st.partly{color:#825812}
body.admin .st.partly{border-style:dashed}
body.admin .st.collected{color:var(--green)}
body.admin .st.refunded,body.admin .st.cancelled{color:var(--soft)}
body.admin .st.disputed{color:var(--rust)}
body.admin .st.partrf{display:table;margin-top:6px}
/* S2 C37 on the Orders table (Release 4 merge): a current bounce or spam report flags the row, in words. */
body.admin .st.alert{display:table;margin-top:6px;color:var(--rust)}
body.admin .orders .ealert{display:block;margin-top:2px}
body.admin progress.prog{display:block;width:110px;height:4px;margin:8px 0 4px;border:0;background:var(--line);color:var(--ink);-webkit-appearance:none;appearance:none}
body.admin progress.prog::-webkit-progress-bar{background:var(--line)}
body.admin progress.prog::-webkit-progress-value{background:var(--ink)}
body.admin progress.prog::-moz-progress-bar{background:var(--ink)}
body.admin .orders .small,body.admin #order-dialog .sub,body.admin .orders .sub{font-size:12px}
body.admin .orders td.act{width:160px}
body.admin .orders td.act>.muted{display:block;max-width:150px;line-height:1.35}
body.admin .oact{display:grid;gap:4px;width:136px}
body.admin .oact button{width:100%;min-height:34px;padding:0 12px;font-size:13px;white-space:normal}
body.admin .oact button.link{justify-self:center;width:auto;min-height:28px;font-size:12px}
body.admin .oact .muted{text-align:center;line-height:1.35}
@media(max-width:1199px){ /* The frozen mockup keeps order cards through 1199px. */
 body.admin table.t.orders,body.admin .t.orders tbody{display:block;border:0;background:none}
 body.admin .t.orders thead{display:none}
 body.admin .t.orders tr.order-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;margin:0 0 12px;padding:12px 16px;background:var(--paper);border:1px solid var(--line)}
 body.admin .t.orders td[data-l],body.admin .t.orders td{display:block;border:0;padding:4px 0;text-align:left}
 body.admin .t.orders td[data-l]::before{display:none}
 body.admin .t.orders td.lead{grid-column:1;grid-row:1;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
 body.admin .t.orders .when{margin:0}
 body.admin .t.orders td[data-l=Status]{grid-column:2;grid-row:1;text-align:right}
 body.admin .t.orders td[data-l=Status] .prog,body.admin .t.orders td[data-l=Status] .partrf,body.admin .t.orders td[data-l=Status] .alert{margin-left:auto}
 body.admin .t.orders td[data-l=Guest]{grid-column:1;grid-row:2;color:var(--soft)}
 body.admin .t.orders td[data-l=Total]{grid-column:2;grid-row:2;text-align:right;font-weight:600}
 body.admin .t.orders td[data-l=Items]{grid-column:1/-1;margin-top:8px;padding-top:12px;border-top:1px solid var(--line)}
 body.admin .t.orders td.act{grid-column:1/-1;width:auto;padding-top:12px}
 body.admin .t.orders td.act:empty{display:none}
 body.admin .t.orders td.act>.muted{max-width:none}
 body.admin .t.orders .oact{display:flex;flex-wrap:wrap;gap:8px;width:100%}
 body.admin .t.orders .oact>*{flex:1 1 auto}
 body.admin .t.orders .oact button{min-height:44px}
 body.admin .t.orders .oact>.muted{flex-basis:100%}
 body.admin .oitems .tick{min-height:40px;padding:0 10px}}
@media(max-width:799px){body.admin .t.orders tr.order-card{padding:12px 14px;margin-bottom:10px}body.admin .t.orders tr.order-card>td{display:block;padding:4px 0}body.admin .t.orders td[data-l=Items]{margin-top:6px;padding-top:8px}body.admin .t.orders .oact>button:not(.link){flex:1 1 100%}body.admin .t.orders .oact>.link{margin:0 auto}}
@media(min-width:800px) and (max-width:1199px){body.admin .t.orders tr.order-card{column-gap:16px;padding:14px 18px}body.admin .t.orders td[data-l=Items]{margin-top:8px;padding-top:10px}body.admin .t.orders .oact{justify-content:flex-end}body.admin .t.orders .oact>*{flex:0 0 auto}}
body.admin dialog#order-dialog{width:min(600px,calc(100vw - 32px));padding:22px 24px;background:var(--ivory)}
body.admin #order-dialog .oitems+.hint{margin:12px 0 0}
body.admin .ohead{display:flex;align-items:center;gap:12px;margin:0 0 14px}
body.admin .ohead h2{margin:0;font:400 26px/1.2 var(--serif)}
body.admin button.ox{margin-left:auto;min-width:44px;min-height:44px;padding:0;border:0;background:none;color:var(--soft);font-size:22px}
body.admin button.ox:hover:not(:disabled){background:none;color:var(--ink)}
body.admin .osum{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:0 0 18px;padding:12px 14px;background:var(--paper);border:1px solid var(--line)}
body.admin .osum dt{color:var(--soft);font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
body.admin .osum dd{margin:2px 0 0;font-size:14px;overflow-wrap:anywhere}
body.admin #order-dialog .osec,body.admin #order-dialog .rfsec h3{margin:0 0 8px;font:400 17px/1.3 var(--serif)}
body.admin .rfsec{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}
body.admin .rfrow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
body.admin .rfrow>span{min-width:0;overflow-wrap:anywhere}
body.admin .rfrow button{flex:0 0 auto}
body.admin #order-dialog button.danger{background:none;border-color:var(--rust);color:var(--rust)}
body.admin #order-dialog button.danger:hover:not(:disabled){background:#fbefee}
body.admin .drow{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
body.admin .drow label{flex:1 1 100%;margin:0}
body.admin .drow select{flex:1 1 200px;width:auto;min-width:0}
body.admin #order-dialog .actions{display:flex;justify-content:flex-end;margin-top:18px}
@media(max-width:560px){body.admin .osum{grid-template-columns:1fr}body.admin dialog#order-dialog{padding:16px}}
body.admin .guest-preview ul{list-style:none;padding-left:0;margin-left:0}
body .code-tiles{display:flex;justify-content:center;gap:7px;letter-spacing:0;font:700 22px/1 ui-monospace,Menlo,monospace}
body .code-tiles span{display:grid;place-items:center;width:52px;height:64px;background:#292724;color:#fff}
body.admin .guest-preview .code-tiles span{width:34px;height:42px;font-size:16px}
@media(max-width:375px){body .code-tiles{gap:4px}body .code-tiles span{width:min(44px,13vw);height:56px}}

/* ===== SHARED: dialogs and forms (the #pickup-dialog rules belong to the Orders lane, #refund-dialog to Payouts) ===== */
/* Dialogs within 16px side insets */
body.admin dialog{border:1px solid var(--line);border-radius:0;padding:20px;background:var(--paper);color:var(--ink);width:min(560px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px)}
body.admin dialog::backdrop{background:rgba(23,22,20,.45)}
body.admin #refund-dialog fieldset{border:0;padding:0;margin:0 0 12px}body.admin #refund-dialog .refund-piece{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}body.admin #refund-dialog .chip{display:inline-flex;align-items:center;gap:6px;min-height:44px;max-width:100%;overflow-wrap:anywhere}body.admin #refund-dialog input[type=text],body.admin #refund-dialog #refund-reason{width:100%}body.admin #refund-summary dl{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);gap:4px 12px}
body.admin #refund-dialog #refund-summary dl>*{min-width:0;overflow-wrap:anywhere}
body.admin #refund-dialog #refund-summary small{display:block;font-size:.84em;color:var(--soft)}
body.admin #refund-dialog .refund-help{max-width:100%;overflow-wrap:anywhere;margin:8px 0 14px}
body.admin #refund-dialog .refund-help summary{cursor:pointer;min-height:44px;text-decoration:underline;text-underline-offset:3px}
body.admin #refund-dialog .refund-help p{margin:4px 0}
body.admin #refund-dialog #refund-submit.danger{background:var(--rust);color:#fff}
body.admin dialog h2{font:400 22px/1.2 var(--serif);margin:0 0 12px}
body.admin #pickup-dialog .warning{border-left:3px solid var(--rust);padding:8px 12px;color:var(--rust)}
body.admin #pickup-dialog .notice,body.admin #pickup-dialog .guest-preview{border:1px solid var(--line);border-radius:0;background:#fff;padding:12px 14px}
body.admin #pickup-dialog .override summary{text-decoration:underline;text-underline-offset:4px;color:var(--soft)}

/* Forms: one column on phone, two from about 700px where the markup groups them. */
body.admin form .grid2{display:grid;gap:14px}
@media(min-width:700px){body.admin form .grid2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}body.admin form .grid2>*,body.admin form .grid2 input,body.admin form .grid2 select,body.admin form .grid2 textarea{min-width:0}

/* ===== SCREEN Audit trail · pane audit · assets/js/admin/audit.js ===== */
body.admin .audit-table{width:100%;border-collapse:collapse;background:var(--paper)}
body.admin .audit-table th,body.admin .audit-table td{padding:13px 15px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
body.admin .audit-table th{font-size:12px;color:var(--soft)}
body.admin .audit-table td:nth-child(2) strong,body.admin .audit-table td:nth-child(2) .muted{display:block}
body.admin .audit-table details{margin-top:8px;font-size:12px;color:var(--soft)}
body.admin .audit-table pre{max-width:45vw;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:699px){body.admin .audit-table pre{max-width:100%}body.admin .audit-table td[data-l="What"]{display:block;text-align:left}body.admin .audit-table td[data-l="What"]::before{display:block;margin-bottom:5px}}

/* ===== SHARED: tables as stacked rows on a phone, reduced motion ===== */
/* Tables marked .t become labelled stacked rows on a phone, as in the approved design. */
@media(max-width:799px){
 body.admin table.t,body.admin .t tbody,body.admin .t tr,body.admin .t td,body.admin .t tbody th{display:block}
 body.admin .t thead{display:none}body.admin table.t{border:0;background:none}
 /* Design D2 (4 Oct): phones hide the column titles, so the hint that points at them goes too. */
 body.admin .sort-hint{display:none}
 body.admin .table-scroll:has(>table.t){overflow:visible}
 body.admin .t tr{background:var(--paper);border:1px solid var(--line);margin-bottom:10px;padding:12px 14px}
 body.admin .t td,body.admin .t tbody th{border:0;padding:4px 0;display:flex;justify-content:space-between;align-items:baseline;gap:16px;text-align:right;white-space:normal}
 body.admin .t td[data-l]::before{content:attr(data-l);color:var(--soft);font-size:12px;text-align:left;flex:none}
 body.admin .t tbody th{justify-content:flex-start;text-align:left;font-size:15px;flex-wrap:wrap}
 body.admin .t td .hint{text-align:right}
 body.admin .t td.act{justify-content:flex-end;flex-wrap:wrap;gap:6px;padding-top:10px}
 body.admin .t td.act>button{flex:1;width:100%}
 body.admin .t td.act>.muted{flex-basis:100%}
 body.admin .t:not(.orders) td[data-l]{display:grid;grid-template-columns:minmax(90px,auto) minmax(0,1fr);column-gap:16px;align-items:baseline}
 body.admin .t:not(.orders) td[data-l]::before{grid-column:1;grid-row:1;align-self:baseline}
 body.admin .t:not(.orders) td[data-l]>*{grid-column:2;justify-self:end}
 body.admin .t:not(.orders) td[data-l] .sub{display:block;margin-top:2px;font-size:12px}
 body.admin .t:not(.orders) tr>td[data-l]+td[data-l]{border-top:1px solid var(--line);padding-top:8px}
 body.admin .t:not(.orders) td[data-l]{padding-bottom:8px}
 body.admin .t tfoot td.blank,body.admin .t tfoot td:empty{display:none}
 body.admin .t tfoot tr{background:var(--card);border-top:2px solid var(--ink)}
 body.admin .t tfoot td.lead{font-weight:700;padding-bottom:8px}
 body.admin .t tfoot td[data-l]{padding-top:8px;padding-bottom:8px}
 body.admin dl.stats div:last-child:nth-child(odd){grid-column:1/-1}}
@media(min-width:800px) and (max-width:1279px){body.admin .t th,body.admin .t td{padding-left:10px;padding-right:10px}body.admin .t th{white-space:normal}}
@media(prefers-reduced-motion:reduce){body.admin *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* ===== SCREEN Maker profiles · pane profiles (Makers > Maker profiles and My profile) · assets/js/admin/profile.js ===== */
/* Profile editor with live preview: preview becomes a sticky second column when there is room. */
body.admin .pgrid{display:grid;gap:16px}
@media(min-width:1100px){body.admin .pgrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}body.admin .pgrid .pv{position:sticky;top:100px}}
body.admin .pv{background:var(--ivory);border:1px solid var(--line);padding:16px}
body.admin .pv .cap{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--soft)}
body.admin .pv .maker-portrait{width:120px;height:150px;object-fit:cover;object-position:50% 25%;display:block;margin-bottom:12px}
body.admin .pv h3{font-size:28px}
body.admin .pv blockquote{font:italic 18px/1.35 var(--serif);margin:14px 0;padding-left:14px;border-left:1px solid var(--ink)}
body.admin .pv p{color:#3d3934;line-height:1.7;overflow-wrap:anywhere}
body.admin .pgrid .panel.narrow{max-width:none}
/* ===== SCREEN Products · panes products, catalog, offers · assets/js/admin/products.js, offers.js (last rule here, #pickup-dialog .pay-tick, is Orders') ===== */
/* Product editor: six-photo grid and info boxes, as in the approved admin editor. */
body.admin .editor-section{border-top:1px solid var(--line);margin-top:18px;padding-top:6px}
body.admin .editor-section h3 .hint{font:400 12.5px var(--sans);margin-left:6px}
body.admin ol.photos{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media(min-width:700px){body.admin ol.photos{grid-template-columns:repeat(6,minmax(0,1fr))}}
body.admin .photo-tile{border:1px solid var(--line);background:var(--ivory);min-width:0}
body.admin .photo-thumb{aspect-ratio:1;background:var(--card);display:grid;place-items:center;overflow:hidden}
body.admin .photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}
body.admin .photo-thumb span{font-size:11px;color:var(--soft);text-align:center;padding:4px}
body.admin .photo-tile .pc{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;border-top:1px solid var(--line)}
body.admin .photo-tile .pc span{flex:1 0 100%;font-size:11px;color:var(--soft);padding:6px 8px 0}
body.admin .photo-tile .pc div{display:flex;flex:1 0 100%}
body.admin .photo-tile .pc div button.icon{flex:1 1 44px}
body.admin .photo-tile .pc div button.icon:first-child{border-left:0}
body.admin .photo-tile label{margin:0;padding:6px 8px 8px;font-weight:400}
body.admin .photo-tile input{min-height:44px;font-size:12px;padding:6px 8px}
body.admin button.icon{padding:0;width:44px;min-width:44px;font-size:18px;border:0;border-left:1px solid var(--line);background:none;color:var(--ink)}
body.admin button.icon:hover:not(:disabled){background:var(--card)}
body.admin .boxes{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:10px}
body.admin .box{border:1px solid var(--line);padding:0 12px 12px;background:var(--ivory);display:grid;gap:6px}
body.admin .box label{margin:6px 0 0}
body.admin .boxbar{display:flex;justify-content:space-between;align-items:center;margin:0 -12px;padding-left:12px;border-bottom:1px solid var(--line)}
body.admin .boxbar div{display:flex}
body.admin .box .cap{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
body.admin .box.locked{background:var(--card)}
body.admin .box.locked p{margin:8px 0 0}
body.admin .lock{font-size:12px;color:var(--soft);padding:0 12px;min-height:44px;display:flex;align-items:center}
body.admin #product-form.panel.narrow{max-width:none}
body.admin .product-shell-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
body.admin .product-shell-head .page-title{margin:0}
body.admin [data-pane=products].product-editor-open{display:none}
body.admin #product-page-description{margin:6px 0 14px}
/* Admin release: the header action and line arrive with the list, so their space is kept from the start and the sub-tabs never move under the pointer. */
body.admin .product-shell-head{min-height:44px}body.admin #product-page-description{min-height:1lh}
body.admin .product-list-head{display:none}
body.admin #products-editor.is-editing>:not(#product-edit),body.admin #offers-editor.is-editing>:not(#offer-edit){display:none}
body.admin .product-table-wrap{overflow-x:auto}
body.admin .product-table{width:100%;border-collapse:collapse;background:var(--ivory)}
body.admin .product-table th,body.admin .product-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
body.admin .product-table th{font-size:11px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;color:var(--soft)}
body.admin .product-table th button{border:0;background:none;padding:0;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;min-height:36px}
body.admin .product-table th button:hover:not(:disabled){background:none;color:var(--ink)}
body.admin .product-table .product-photo{width:72px}
body.admin .product-photo img{width:52px;height:52px;object-fit:cover;display:block}
body.admin .product-photo span{display:grid;place-items:center;width:52px;height:52px;background:var(--card);font-size:10px;text-align:center;color:var(--soft)}
body.admin .product-table .product-name{font-weight:600;min-width:145px}
body.admin .product-table .product-num{font-variant-numeric:tabular-nums;white-space:nowrap}
body.admin .product-table s{color:var(--soft)}
body.admin .product-table .product-edit{text-align:right}
body.admin .product-table .product-edit a{display:inline-block;white-space:nowrap}
@media(max-width:799px){body.admin .product-table .product-edit a{white-space:normal;text-align:right;line-height:1.3}}
body.admin .product-status{display:inline-block;border:1px solid var(--line);padding:4px 9px;border-radius:20px;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
body.admin .product-status.is-published{background:#e7eee6;color:#3c5d3e;border-color:#c9dac8}
body.admin .product-status.is-draft{background:var(--card);color:var(--soft)}
body.admin .product-empty{border:1px solid var(--line);background:var(--ivory);padding:28px;text-align:center}
body.admin .product-editor-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.admin .product-editor-title{margin:14px 0 20px}
body.admin .product-editor-grid{display:grid;gap:20px}
body.admin .product-editor-main{min-width:0}
body.admin .product-editor .editor-section{border:1px solid var(--line);background:var(--ivory);padding:18px;margin:0 0 16px}
body.admin .product-editor .editor-section h3{margin:0 0 14px}
body.admin .product-editor .editor-section fieldset{border:1px solid var(--line);margin:12px 0;padding:12px}
body.admin .product-editor .editor-section fieldset legend{font-weight:600}
body.admin .product-editor .editor-section .variant-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.admin .product-editor .editor-section .variant-fields>.hint{grid-column:1/-1;margin:0}
body.admin .product-editor .editor-section input,body.admin .product-editor .editor-section select,body.admin .product-editor .editor-section textarea{max-width:100%;box-sizing:border-box}
body.admin .product-preview{border:1px solid var(--line);background:var(--ivory);padding:16px;align-self:start}
body.admin .product-preview>.cap{display:block;margin-bottom:12px;text-transform:uppercase;letter-spacing:.14em;font-size:11px;color:var(--soft)}
body.admin .product-preview-card{max-width:320px;margin:auto;border:1px solid var(--line);background:white}
body.admin .product-preview-photo{aspect-ratio:1;background:var(--card);display:grid;place-items:center;color:var(--soft)}
body.admin .product-preview-photo img{width:100%;height:100%;object-fit:cover}
body.admin .product-preview-copy{padding:12px}
body.admin .product-preview-copy .cap{font-size:10px;color:var(--soft)}
body.admin .product-preview-name{font:24px/1.2 var(--serif);margin:8px 0}
body.admin .product-preview-line{display:flex;justify-content:space-between;gap:8px;font-size:13px}
body.admin .product-preview-line s{color:var(--soft)}
body.admin .product-preview-button{display:block;background:var(--ink);color:white;text-align:center;margin-top:12px;padding:10px}
body.admin .product-savebar{position:sticky;bottom:0;z-index:5;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:12px 16px;margin:0 -16px;background:rgba(247,244,239,.97);border-top:1px solid var(--line)}
/* The fixed phone tab bar occupies the bottom 56px; keep Save above it. */
@media(max-width:899px){body.admin .product-savebar{bottom:calc(64px + env(safe-area-inset-bottom))}}
body.admin #offer-edit>.link{margin-bottom:12px}
body.admin #offer-form{max-width:720px}
@media(min-width:1100px){body.admin .product-editor-grid{grid-template-columns:minmax(0,1fr) 260px}body.admin .product-preview{position:sticky;top:90px}}
@media(min-width:900px){body.admin .product-savebar{margin:0 -40px;padding:12px 40px}}
@media(max-width:799px){body.admin .product-table{display:block;border:0;background:none}body.admin .product-table thead{display:none}body.admin .product-table tbody{display:grid;gap:10px}body.admin .product-table tr{display:grid;grid-template-columns:62px minmax(0,1fr);border:1px solid var(--line);padding:10px;background:var(--paper)}body.admin .product-table td{border:0;padding:5px;min-width:0}body.admin .product-table td.product-photo{grid-row:1/3}body.admin .product-table td.product-name{grid-column:2;min-width:0}body.admin .product-table td:not(.product-photo):not(.product-name){grid-column:1/-1;display:flex;justify-content:space-between;gap:10px}body.admin .product-table td:not(.product-photo):not(.product-name):before{content:attr(data-label);color:var(--soft)}body.admin .product-table td.product-edit:before{content:''}body.admin .product-editor .editor-section .variant-fields{grid-template-columns:1fr}}
@media(max-width:799px){body.admin .product-table:not(.offer-table) tr{grid-template-columns:72px minmax(0,1fr) 80px;column-gap:12px;row-gap:4px;align-items:center}body.admin .product-table:not(.offer-table) td{display:block;padding:2px 0;text-align:left}body.admin .product-table:not(.offer-table) td::before{display:none!important}body.admin .product-table:not(.offer-table) td.product-photo{grid-column:1;grid-row:1/6;align-self:start}body.admin .product-table:not(.offer-table) .product-photo img,body.admin .product-table:not(.offer-table) .product-photo span{width:72px;height:90px;object-fit:cover}body.admin .product-table:not(.offer-table) td.product-name{grid-column:2;grid-row:1;font-size:15px}body.admin .product-table:not(.offer-table) td[data-label=Maker]{grid-column:2;grid-row:2;color:var(--soft);font-size:13px}body.admin .product-table:not(.offer-table) td[data-label=Type]{grid-column:2;grid-row:3;color:var(--soft);font-size:13px}body.admin .product-table:not(.offer-table) td[data-label=Price]{grid-column:2;grid-row:4;font-size:14px}body.admin .product-table:not(.offer-table) td[data-label=Stock]{grid-column:2;grid-row:5;font-size:13px;white-space:normal;overflow-wrap:anywhere}body.admin .product-table:not(.offer-table) td[data-label=Status]{grid-column:2;grid-row:6}body.admin .product-table:not(.offer-table) td.product-edit{grid-column:3;grid-row:1/3;align-self:start}body.admin .product-table:not(.offer-table) td.product-edit button{width:80px;min-width:80px}}
@media(max-width:799px){body.admin .product-table:not(.offer-table) td:not(.product-photo):not(.product-name){display:block}}
@media(min-width:800px) and (max-width:1279px){body.admin .product-table th,body.admin .product-table td{padding-left:10px;padding-right:10px;white-space:normal}body.admin .product-table:not(.offer-table):has(th:nth-child(8)) th:nth-child(4),body.admin .product-table:not(.offer-table):not(:has(th:nth-child(8))) th:nth-child(3),body.admin .product-table:not(.offer-table) td[data-label=Type]{display:none}}
/* Nick 4 Oct (live screenshot, ~740px): shop.css td{overflow-wrap:anywhere} let the table squeeze Maker, Type and Edit letter by letter to make room for long names. Mockup .prodt: Edit, Price and Stock stay on one line; other cells break only between words. */
@media(min-width:800px){body.admin .product-table td{overflow-wrap:break-word}body.admin .product-table td.product-edit,body.admin .product-table .product-num{width:1%;white-space:nowrap}}
body.admin #pickup-dialog .pay-tick{display:flex;align-items:center;gap:8px;min-height:44px;margin:12px 0 0;font-weight:600}
/* ===== SCREEN Team · panes team, users, security · assets/js/admin/team.js, shop-override.js (override panel moved from Orders) ===== */
body.admin [data-pane=team]>p{color:var(--soft);max-width:680px;margin:6px 0 16px}
body.admin .content:has([data-pane=roles]:not([hidden])) #team-intro,body.admin .content:has([data-pane=security]:not([hidden])) #team-intro{display:none}
body.admin [data-pane=users] .team-invite h3,body.admin [data-pane=security] .card h3{font:400 22px/1.2 var(--serif);margin:0 0 12px}
body.admin #team-manage-dialog .team-manage-form h3{font:400 18px/1.2 var(--serif);margin:0 0 12px}
body.admin :is([data-pane=users] .team-invite,#team-manage-dialog .team-manage-form) .grid2{align-items:start}
body.admin :is([data-pane=users] .team-invite,#team-manage-dialog .team-manage-form) .grid2>label{display:flex;flex-direction:column;align-self:start;gap:4px;min-width:0;margin:0}
body.admin :is([data-pane=users] .team-invite,#team-manage-dialog .team-manage-form) .grid2>label>.hint{margin:0}
body.admin :is([data-pane=users] .team-invite,#team-manage-dialog .team-manage-form) .grid2>.team-active{flex-direction:row;align-items:center;min-height:44px}
body.admin :is([data-pane=users] .team-invite,#team-manage-dialog .team-manage-form) .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.admin #team-manage-dialog{overflow:auto}
body.admin #team-manage-dialog .team-manage-form .grid2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.admin #team-manage-dialog .team-manage-form>.hint{display:block;margin:12px 0 0}
@media(max-width:560px){body.admin #team-manage-dialog .team-manage-form .grid2{grid-template-columns:minmax(0,1fr)}body.admin #team-manage-dialog .team-manage-form .actions button{flex:1 1 100%}}
body.admin [data-pane=users] .team-people{margin-top:18px}
body.admin [data-pane=users] .team-people .lead strong,body.admin [data-pane=users] .team-people .lead .hint{display:block}
body.admin [data-pane=users] .team-people .act{text-align:right}
body.admin [data-pane=users] .team-people .act button{white-space:nowrap}
body.admin .view-as-banner{position:sticky;top:0;z-index:8;margin:-20px -16px 20px;padding:12px 16px;background:#fff3d6;border:1px solid #b78032;color:var(--ink);font-weight:600}
body.admin .view-as-banner[hidden]{display:none}
body.admin .view-as-banner button{margin-left:8px;white-space:nowrap}
body.admin .team-row-actions{display:inline-flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
body.admin .team-permissions .team-permission-group th{background:var(--ivory);color:var(--ink);font-size:12px}
body.admin .team-permissions td{text-align:center}
@media(min-width:800px){body.admin .team-people{min-width:740px}body.admin .team-people td[data-l=Role]{white-space:nowrap}body.admin .team-permissions{min-width:760px}}
@media(max-width:799px){body.admin .team-permissions .team-permission-group{padding:8px 14px;background:var(--ivory)}body.admin .team-permissions .team-permission-group th{border:0;padding:0}body.admin .team-permissions td{text-align:right}body.admin .team-row-actions{width:100%}body.admin .team-row-actions button{flex:1}}
body.admin [data-pane=security] .team-code-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
body.admin [data-pane=security] .team-code-row input{width:180px;max-width:100%}
body.admin .override-panel{margin:16px 0}
body.admin .override-panel h4{margin:16px 0 8px;font:600 15px/1.4 var(--sans)}
body.admin .override-uses{list-style:none;margin:0 0 12px;padding:0}
body.admin .override-uses li{padding:10px 12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
body.admin .override-uses li.unseen{border-left:3px solid var(--rust)}
body.admin .invite-result{background:var(--card);border:1px solid var(--line);padding:14px 16px}
/* The Team heading and People intro sit above the sub-tabs. Other tab intros stay in their panes. */
/* Sign-in and security keeps its intro line but not a second Team title and help button (the group heading has both). */
body.admin .content[data-in-group] [data-pane=security] .phead .help-title{display:none}
@media(max-width:799px){body.admin [data-pane=users] .team-people .lead{display:block;text-align:left;font-size:16px;font-weight:600;padding-bottom:10px;margin-bottom:2px;border-bottom:1px solid var(--line)}body.admin [data-pane=users] .team-people .lead .hint{font-size:13px;font-weight:400}body.admin [data-pane=users] .team-people .act{justify-content:flex-end}body.admin [data-pane=users] .team-people .act .row{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}}
@media(max-width:699px){body.admin [data-pane=security] .team-code-row input,body.admin [data-pane=security] .team-code-row button{width:100%}}

/* ===== SCREEN Storefront · pane storefront · shop-storefront-admin.js, shop-storefront-content.js, shop-storefront-faq-footer.js ===== */
body.admin [data-pane=storefront] [data-storefront-section][hidden]{display:none!important}
body.admin [data-pane=storefront] .storefront-row{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:18px;align-items:start}
body.admin [data-pane=storefront] .storefront-row>.card{min-width:0;margin:0}
body.admin [data-pane=storefront] .storefront-row h3{font:400 21px/1.25 var(--serif);margin:0 0 8px}
body.admin [data-pane=storefront] .storefront-preview-label{display:block;margin:0 0 12px;color:var(--soft);font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
body.admin [data-pane=storefront] .storefront-row .hint{margin:0 0 14px;color:var(--soft);font-size:13px}
body.admin [data-pane=storefront] .storefront-actions{display:flex;justify-content:flex-end;margin-top:16px}
body.admin [data-pane=storefront] .storefront-actions button{min-height:40px}
body.admin [data-pane=storefront] .storefront-modes{display:grid;gap:9px;padding:0;border:0;margin:0}
body.admin [data-pane=storefront] .storefront-mode{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);padding:12px;margin:0;cursor:pointer}
body.admin [data-pane=storefront] .storefront-mode:has(input:checked){border-color:var(--ink);background:var(--card)}
body.admin [data-pane=storefront] .storefront-mode input{flex:none;margin:3px 0 0}
body.admin [data-pane=storefront] .storefront-mode span{display:block;min-width:0}
body.admin [data-pane=storefront] .storefront-mode .hint{display:block;margin:4px 0 0}
body.admin [data-pane=storefront] .storefront-check{display:flex;align-items:center;gap:8px;margin-top:12px}
body.admin [data-pane=storefront] .storefront-check input{width:auto;flex:none}
body.admin [data-pane=storefront] .storefront-mini{border:1px solid var(--line);background:var(--ivory);min-height:150px;overflow:hidden;min-width:0;font-size:12px;color:var(--ink)}
body.admin [data-pane=storefront] .storefront-mini-banner{height:24px;display:flex;align-items:center;overflow:hidden;background:var(--ink);color:var(--ivory);font-size:9px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}
body.admin [data-pane=storefront] .storefront-mini-banner-track{display:flex;width:max-content;animation:storefront-mini-scroll 30s linear infinite}
body.admin [data-pane=storefront] .storefront-mini-banner span{white-space:nowrap;padding:0 16px}
body.admin [data-pane=storefront] .storefront-mini-banner i{font-style:normal;opacity:.55}
@keyframes storefront-mini-scroll{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){body.admin [data-pane=storefront] .storefront-mini-banner-track{animation:none}}
body.admin [data-pane=storefront] .storefront-mini-head{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line);font-size:8px;letter-spacing:.14em;text-transform:uppercase;color:var(--soft)}
body.admin [data-pane=storefront] .storefront-mini-head>*{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.admin [data-pane=storefront] .storefront-mini-head .storefront-mini-mark{font-weight:400;letter-spacing:.28em;color:var(--ink);font-size:10px}
body.admin [data-pane=storefront] .storefront-mini-head span:last-child{text-align:right}
body.admin [data-pane=storefront] .storefront-mini-note{background:var(--card);padding:8px 14px;font:italic 13px var(--serif)}
body.admin [data-pane=storefront] .storefront-mini-body,body.admin [data-pane=storefront] .storefront-mini-product-empty{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:14px}
body.admin [data-pane=storefront] .storefront-mini-body img,body.admin [data-pane=storefront] .storefront-mini-photo-empty{display:block;width:96px;aspect-ratio:4/5;object-fit:cover;background:var(--card)}
body.admin [data-pane=storefront] .storefront-mini-cap{font-size:9px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--soft)}
body.admin [data-pane=storefront] .storefront-mini-name{margin:4px 0;font:400 15px/1.25 var(--serif);overflow-wrap:anywhere}
body.admin [data-pane=storefront] .storefront-mini-button{margin-top:10px;border:1px solid var(--ink);padding:8px;text-align:center;font-size:9px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
body.admin [data-pane=storefront] .storefront-mini-button.off{border-color:var(--line);color:var(--soft)}
body.admin [data-pane=storefront] .storefront-mini-closed{display:grid;gap:6px;padding:40px 16px;text-align:center;font:400 17px var(--serif);overflow-wrap:anywhere;white-space:pre-line}
body.admin [data-pane=storefront] .storefront-mini-closed strong{font-weight:400}
body.admin [data-pane=storefront] .storefront-preview-context{margin:0 0 4px;color:var(--soft);font-size:12.5px}
body.admin [data-pane=storefront] .storefront-product-accordion{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
body.admin [data-pane=storefront] .storefront-product-accordion summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
body.admin [data-pane=storefront] .storefront-product-accordion summary::-webkit-details-marker{display:none}
body.admin [data-pane=storefront] .storefront-product-accordion p{margin:0 0 12px;color:#3d3934;font-size:13px;white-space:pre-line;overflow-wrap:anywhere}
body.admin [data-pane=storefront] .storefront-checkout{margin-top:18px}
body.admin [data-pane=storefront] .storefront-checkout button{width:100%;height:54px;min-height:0;padding:0;margin:12px 0 6px;border:0;background:var(--ink);color:var(--ivory);font-weight:inherit;font-size:inherit;pointer-events:none;opacity:1}
/* Design wave 2 recheck (10:51): the banner preview is only as tall as its strip and header. */
body.admin [data-pane=storefront] [data-storefront-section=banner] .storefront-mini{min-height:0}
body.admin [data-pane=storefront] .storefront-checkout p:last-child{margin:0;color:var(--soft);font-size:12.5px;white-space:pre-line}
body.admin [data-pane=storefront] .storefront-readonly{overflow-wrap:anywhere;white-space:pre-line}
body.admin [data-pane=storefront] .storefront-closed{text-align:center}
body.admin [data-pane=storefront] .storefront-settings input,body.admin [data-pane=storefront] .storefront-settings textarea{min-width:0;max-width:100%;box-sizing:border-box}
body.admin [data-pane=storefront] .storefront-footer-logo{display:block;max-width:140px;height:auto;margin:16px auto 8px}
body.admin [data-pane=storefront] #faq-preview,#footer-preview{min-height:160px}
body.admin [data-pane=storefront] .footer-columns fieldset{min-width:0}
@media(min-width:1180px){body.admin [data-pane=storefront] .storefront-row{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}body.admin [data-pane=storefront] .storefront-preview{position:sticky;top:90px;align-self:start}}
@media(max-width:1099px){body.admin [data-pane=storefront] .footer-pair{grid-template-columns:minmax(0,1fr)}}
/* Shop switch (t_749d1251) */
body.admin .mode-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
body.admin .mode-options button{min-height:44px}
body.admin .mode-options button[aria-pressed="true"]{outline:2px solid currentColor;outline-offset:2px}
body.admin .mode-help dt{font-weight:600;margin-top:8px}
body.admin .mode-help dd{margin:2px 0 0}
body.admin #landing-form textarea{width:100%;box-sizing:border-box}
body.admin .landing-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
body.admin .landing-preview{border:1px dashed var(--line);padding:24px;text-align:center}
body.admin .landing-preview h2,body.admin .landing-preview p{overflow-wrap:anywhere;white-space:pre-line}
/* Banner and pickup editors (t_b563ef21 C17 C18). These sat inside the header comment and never applied until the
   admin release. Place and Time stack on a phone and sit side by side from 700px, as the mockup's .grid2. */
body.admin .content-fields{display:grid;gap:18px}body.admin .content-fields>*{min-width:0}body.admin .content-fields input{min-width:0;width:100%}
@media(min-width:700px){body.admin .content-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
body.admin .content-preview{background:#fffdf9;padding:18px;overflow-wrap:anywhere}
body.admin .content-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
/* C19 FAQ and footer links editors (t_71aff17c) */
.faq-edit,.footer-links{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:12px}.faq-edit>li{border:1px solid var(--border);border-radius:8px;padding:12px;background:#fffdf9;min-width:0}.faq-edit label{margin-top:8px}.edit-row-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.edit-row-head .hint{margin:0}.move-buttons{display:flex;gap:4px;flex:none}.move-buttons button{min-width:44px;padding:0 10px}.footer-columns fieldset{background:#fffdf9}.footer-links>li{display:flex;gap:8px;align-items:center;min-width:0}.footer-pair,.footer-fixed{flex:1;min-width:0;display:grid;gap:6px}.footer-pair{grid-template-columns:minmax(0,1fr)} /* frozen mockup: .fpair{grid-template-columns:1fr!important}, text above URL at every width */.footer-fixed{padding:8px 10px;background:var(--surface);border-radius:8px;min-height:44px;align-content:center}.footer-fixed .hint{margin:0;font-size:13px}.field-error:not(:empty){color:var(--error);font-size:14px}[aria-invalid=true]{border-color:var(--error);background:#fff0f1}.faq-preview{background:var(--ivory)!important;padding:16px!important}.faq-preview h4{margin:0 0 8px;font:400 20px var(--serif)}.faq-preview details{border-top:1px solid var(--line)}.faq-preview details:last-child{border-bottom:1px solid var(--line)}.faq-preview summary{min-height:40px;display:flex;align-items:center;font-size:13px;cursor:pointer;list-style:none}.faq-preview summary::-webkit-details-marker{display:none}.faq-preview summary::after{content:'+';margin-left:auto;color:var(--soft)}.faq-preview details[open] summary::after{content:'−'}.faq-preview details p{margin:0 0 12px;font-size:12.5px;color:#3d3934}.footer-preview{background:#f1ede6!important;padding:20px 16px 16px!important;text-align:center;color:var(--soft)}.footer-preview-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;text-align:left;margin-bottom:16px}.footer-preview-columns>div{display:grid;gap:5px;align-content:start;min-width:0;font-size:12px}.footer-preview-columns strong{color:var(--ink);font-size:9px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}.footer-preview-columns span{overflow-wrap:anywhere}.footer-preview .storefront-footer-tagline,.footer-preview .storefront-footer-copyright{margin:2px 0;font-size:11px;text-align:center}.footer-preview .storefront-footer-copyright{font-size:10px}
@media(min-width:1400px){body.admin .footer-preview-columns{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.footer-pair{grid-template-columns:minmax(0,1fr)}.footer-links>li{align-items:start}.footer-links .move-buttons{flex-direction:column}}
.faq-preview p{white-space:pre-line}
/* Design REVISE 88 D1: frozen admin.html jump links (.golink) on locked rows */
.faq-auto{display:grid;gap:2px;margin-top:8px;padding:8px 10px;background:var(--surface);border-radius:8px;min-width:0;overflow-wrap:anywhere}.faq-auto .hint{margin:0;font-size:13px}body.admin button.golink{justify-self:start;padding:0;font-size:12.5px;text-align:left}.jump-flash{animation:jump-flash 1.6s ease-out}@keyframes jump-flash{0%,30%{box-shadow:0 0 0 3px var(--ink)}100%{box-shadow:0 0 0 0 transparent}}@media(prefers-reduced-motion:reduce){.jump-flash{animation:none;outline:2px solid var(--ink)}}
/* ===== SCREEN Payouts · panes money, ledger, payouts, reconciliation · assets/js/admin/payouts.js, ledger.js, reconciliation.js (statement cards also show in My sales) ===== */
body.admin .recon-table{width:100%;border-collapse:collapse;background:var(--paper);font-size:13px}
body.admin .recon-table th,body.admin .recon-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
body.admin .recon-table th{font-size:11px;color:var(--soft)}
body.admin .recon-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
body.admin .recon-table tfoot{font-weight:700;background:var(--card)}
body.admin .stripe-ref{overflow-wrap:anywhere}
body.admin .recon-table [data-copy-ref]{min-height:30px;padding:3px 7px;font-size:11px}
body.admin .recon-detail{margin-top:7px;font-weight:400;min-width:220px}
body.admin .recon-detail summary,body.admin .recon-extra summary{cursor:pointer;color:var(--soft)}
body.admin .recon-detail dl{display:grid;grid-template-columns:minmax(125px,1fr) minmax(0,2fr);gap:6px 10px;margin:10px 0;overflow-wrap:anywhere}
body.admin .recon-detail dt{font-weight:600}body.admin .recon-detail dd{margin:0}
body.admin .recon-extra{margin:16px 0}
@media(max-width:799px){body.admin .recon-table tfoot,body.admin .recon-table tfoot tr,body.admin .recon-table tfoot td,body.admin .recon-table tfoot th{display:block}body.admin .recon-table tfoot tr{padding:12px 14px;border:1px solid var(--line)}body.admin .recon-table tfoot td:empty{display:none}body.admin .recon-table tfoot td[data-l]{display:flex;justify-content:space-between}body.admin .recon-table tfoot td[data-l]::before{content:attr(data-l)}body.admin .recon-table td[data-l="Stripe reference"]{display:block;text-align:left}body.admin .recon-table td[data-l="Stripe reference"]::before{display:block;margin-bottom:5px}body.admin .recon-detail{min-width:0;max-width:100%}}
/* Payout statement and safe-to-pay panels, from the current admin layout. */
body.admin .payout-statement,body.admin .payout-setup{border:1px solid var(--line);background:var(--paper,#fff);padding:18px;margin:18px 0}
body.admin .payout-statement header{display:flex;justify-content:space-between;align-items:start;gap:16px;flex-wrap:wrap;margin-bottom:16px}
body.admin .payout-statement h3{margin:2px 0 0;font-size:1.3rem}
body.admin .payout-status{border:1px solid var(--line);border-radius:24px;padding:5px 10px;white-space:nowrap}
body.admin .payout-safe{border:1px solid var(--ink);background:var(--paper,#fff);margin:18px 0}
body.admin .payout-figure{display:flex;justify-content:space-between;gap:18px;align-items:baseline;padding:10px 16px;border-bottom:1px solid var(--line)}
body.admin .payout-figure:last-child{border-bottom:0;font-weight:700}
body.admin .payout-figure dt{font-weight:600}
body.admin .payout-figure dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
body.admin .payout-figure small{display:block;font-weight:400;color:var(--muted);font-size:.85rem}
body.admin .payout-totals{margin:16px 0 0;border-top:1px solid var(--line)}
body.admin .payout-setup dl{margin:0}
body.admin .payout-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:16px;border-top:1px solid var(--line)}
body.admin .payout-actions button{min-height:40px}
body.admin .payout-statements{display:grid;gap:18px}body.admin .payout-statements>.payout-statement{margin:0}
body.admin .payout-owes{margin:12px 0 0;padding:10px 14px;border-left:3px solid #b0413e;background:#fbefee;font-weight:600}
@media(max-width:600px){body.admin .payout-statement,body.admin .payout-setup{padding:14px}body.admin .payout-figure{align-items:start}body.admin .payout-figure dd{max-width:58%}body.admin .payout-setup .payout-figure,body.admin .payout-safe .payout-figure{display:block}body.admin .payout-setup .payout-figure dd,body.admin .payout-safe .payout-figure dd{max-width:none;text-align:left;margin-top:4px}body.admin .payout-actions button{min-height:44px;width:100%}}

/* ===== SCREEN Customers · pane customers · assets/js/admin/customers.js. No rules yet ===== */

/* ===== SCREEN Makers · panes makers, vendors · assets/js/admin/makers.js (profiles: Maker profiles block) ===== */
body.admin [data-pane=vendors] .makers-intro{margin:0 0 18px}
body.admin [data-pane=vendors] .makers-table .lead{font-weight:600}
body.admin [data-pane=vendors] .maker-status{display:inline-block;padding:4px 9px;border:1px solid currentColor;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
body.admin [data-pane=vendors] .maker-status.on{color:var(--green)}
body.admin [data-pane=vendors] .maker-status.off{color:var(--soft)}
body.admin [data-pane=vendors] .maker-row-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body.admin [data-pane=vendors] .maker-row-actions button{min-height:40px;font-size:12px}
body.admin [data-pane=vendors] button.maker-danger{background:transparent;border-color:var(--rust);color:var(--rust)}
body.admin [data-pane=vendors] button.maker-danger:hover:not(:disabled){background:#fbefee}
body.admin [data-pane=vendors] .maker-details{margin-top:24px;border:1px solid var(--line);background:var(--paper);padding:0 16px 16px}
body.admin [data-pane=vendors] .maker-details summary{cursor:pointer;min-height:52px;padding:15px 0;font:400 18px/1.2 var(--serif)}
body.admin [data-pane=vendors] .maker-details>p{margin:0 0 12px}
body.admin [data-pane=vendors] .maker-details #vendor-form{margin:16px 0 0}
@media(max-width:799px){body.admin [data-pane=vendors] .makers-table .act{display:block;text-align:left}body.admin [data-pane=vendors] .maker-row-actions{justify-content:flex-start}body.admin [data-pane=vendors] .maker-row-actions button{flex:1 1 130px}body.admin [data-pane=vendors] .makers-table .lead{font-size:16px}}

/* ===== SCREEN Emails · pane emails · assets/js/admin/emails.js. No rules yet ===== */

/* ===== SCREEN Payments · panes settings, connect · shop-settings.js, shop-connect.js, admin/payments-view.js ===== */
body.admin [data-pane=settings] .card h2{font-size:22px;margin:0 0 10px}
body.admin [data-pane=settings] .card>.hint{margin:-6px 0 12px}
body.admin [data-pane=settings] .paysetup{margin:0;border-top:1px solid var(--line)}
body.admin [data-pane=settings] .psrow{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
body.admin [data-pane=settings] .psrow:last-child{border-bottom:0}
body.admin [data-pane=settings] .psrow dt{padding-top:3px;color:var(--soft);font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
body.admin [data-pane=settings] .psrow dd{display:grid;gap:3px;justify-items:start;margin:0;min-width:0}
body.admin [data-pane=settings] .psv{font-size:15px}
body.admin [data-pane=settings] .psrow .hint{font-size:12.5px;margin:0}
body.admin [data-pane=settings] .st{display:inline-block;border:1px solid currentColor;padding:2px 7px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
body.admin [data-pane=settings] .st.on{color:var(--green)}
body.admin [data-pane=settings] .st.off{color:var(--rust)}
body.admin [data-pane=settings] .st.tobag{color:var(--amber)}
body.admin [data-pane=settings] .payment-account-table{border:0}
body.admin [data-pane=settings] .payment-account-table td{vertical-align:middle;overflow-wrap:anywhere}
body.admin [data-pane=settings] .payment-account-table [data-settlement-route]{width:100%;min-width:0;max-width:280px;margin:0;font-size:13px}
body.admin [data-pane=settings] .payment-account-table .act{text-align:right}
body.admin [data-pane=settings] .payment-account-table button{min-height:36px}
body.admin [data-pane=settings] .account-reference,body.admin [data-pane=connect] .account-reference{display:inline-flex;align-items:center;max-width:100%;border:1px solid var(--line);background:var(--paper);vertical-align:middle}
body.admin [data-pane=settings] .account-reference code,body.admin [data-pane=connect] .account-reference code{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;padding:5px 7px;font:12px ui-monospace,Menlo,monospace;color:var(--ink)}
body.admin [data-pane=settings] .account-reference button,body.admin [data-pane=connect] .account-reference button{min-width:44px;min-height:32px;padding:0 7px;border:0;border-left:1px solid var(--line);background:transparent;color:var(--soft);font-size:11px;cursor:copy}
body.admin [data-pane=settings] .account-reference button:hover:not(:disabled),body.admin [data-pane=connect] .account-reference button:hover:not(:disabled){background:none;color:var(--ink)}
body.admin [data-pane=settings] .payment-account-details>p{margin:0 0 8px}
body.admin [data-pane=settings] .payment-account-details article{margin:12px 0 0}
body.admin [data-pane=settings] .payment-account-details article[hidden]{display:none}
body.admin [data-pane=settings] .payment-policy summary{cursor:pointer;font:400 20px/1.3 var(--serif)}
body.admin [data-pane=settings] .payment-policy #settings-editor{max-width:720px;padding-top:18px}
@media(max-width:600px){body.admin [data-pane=settings] .psrow{grid-template-columns:1fr;gap:4px}}
@media(max-width:799px){body.admin [data-pane=settings] .payment-account-table,body.admin [data-pane=settings] .payment-account-table tbody,body.admin [data-pane=settings] .payment-account-table tr{display:block}body.admin [data-pane=settings] .payment-account-table thead{display:none}body.admin [data-pane=settings] .payment-account-table tr{padding:10px 12px;border:1px solid var(--line);margin-bottom:10px}body.admin [data-pane=settings] .payment-account-table td{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border:0}body.admin [data-pane=settings] .payment-account-table td:before{content:attr(data-l);color:var(--soft)}body.admin [data-pane=settings] .payment-account-table td.lead{display:block;text-align:left;font-size:15px;font-weight:600}body.admin [data-pane=settings] .payment-account-table td.lead:before,body.admin [data-pane=settings] .payment-account-table td.act:before{display:none}body.admin [data-pane=settings] .payment-account-table td[data-l="Stripe account"]{flex-wrap:wrap}body.admin [data-pane=settings] .payment-account-table td.act button{width:100%}body.admin [data-pane=settings] .payment-account-table .account-reference button{width:auto}}
/* Design REVISE 88 (2321ba2, 375px): beside its label the select clipped "(card at checkout)". On phones the label sits above a full-width select. Merged onto wave 4's mockup card switch (799px); #main outranks the mockup's two-column td[data-l] grid rule. */
@media(max-width:799px){body.admin #main [data-pane=settings] .payment-account-table td:has(>[data-settlement-route]){display:flex!important;flex-direction:column;align-items:stretch;gap:4px}body.admin [data-pane=settings] .payment-account-table [data-settlement-route]{flex:none;width:100%;max-width:none}}

/* ===== SHELL: navigation rail, phone bar and More sheet, sub-tabs, page spacing ===== */
/* Navigation (t_aed0dd65, admin.html B1): rail with group headings on desktop; phone bottom bar
   (first three pages + More) with the rest in a bottom sheet. Group pages use sub-tabs. */
body.admin .navlabel,body.admin .navmore,body.admin nav.tabs .navclose{display:none}
body.admin .subtabs{display:flex;gap:4px;margin:0 0 18px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
body.admin .subtabs::-webkit-scrollbar{display:none}
@media(max-width:799px){body.admin .content .subtabs{flex-wrap:nowrap;gap:4px;margin-left:-16px;margin-right:-16px;padding:0 16px}body.admin .content .subtabs>*{flex:none}}
body.admin .subtabs button{flex:none;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;min-height:44px;padding:0 14px;color:var(--soft);font-weight:400;white-space:nowrap}
body.admin .subtabs button:hover:not(:disabled){background:none;color:var(--ink)}
body.admin .subtabs [aria-selected=true]{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}
body.admin [data-group]>.page-title{margin-bottom:12px}
body.admin .content[data-in-group] [data-pane]:not([data-group])>.page-title{display:none}
/* A page starts right under the content padding, as in the mockup; a second section on the same page (Payments: Stripe accounts) keeps a gap. */
body.admin .content>[data-pane]{margin-top:0}
body.admin .content>[data-pane]:not([data-group]):not([hidden])~[data-pane]:not([hidden]){margin-top:32px}
@media(min-width:900px){body.admin nav.tabs .navlabel:first-child{margin-top:0;padding-top:0;border-top:0}body.admin .navlabel{display:block;margin:20px 18px 6px;padding-top:18px;border-top:1px solid var(--line);color:var(--soft);font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}}
@media(max-width:899px){
 body.admin{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
 body.admin nav.tabs{position:fixed;left:0;right:0;bottom:0;z-index:40;flex-wrap:wrap;overflow:visible;border-top:1px solid var(--line);border-bottom:0;padding:0 0 env(safe-area-inset-bottom)}
 body.admin nav.tabs button{flex:1 1 0;min-width:0;min-height:56px;border-bottom:0;border-top:2px solid transparent;font-size:12px;padding:0 4px}
 body.admin nav.tabs button[aria-current],body.admin nav.tabs .navmore[data-cur]{border-top-color:var(--ink);color:var(--ink);font-weight:600}
 body.admin nav.tabs .navmore{display:flex}
 /* Sheet open (Design 2 Oct): More is the current control, and a labelled × closes the sheet. */
 body.admin nav.tabs.open>button[aria-current]:not(.extra){border-top-color:var(--line);color:var(--soft);font-weight:400}
 body.admin nav.tabs.open>button.navmore[aria-expanded]{border-top:2px solid var(--ink);color:var(--ink);font-weight:600}
 body.admin nav.tabs.open .navclose{display:flex;position:absolute;top:6px;right:8px;flex:none;width:44px;min-width:44px;min-height:44px;padding:0;border:0;font-size:24px;line-height:1;color:var(--ink)}
 body.admin nav.tabs .extra{display:none}
 body.admin nav.tabs.open{border-radius:18px 18px 0 0;padding-top:8px;box-shadow:0 0 0 100vmax rgba(23,22,20,.38),0 -10px 30px rgba(23,22,20,.15);background:var(--ivory);z-index:60}
 /* Design D1 (4 Oct): the handle row is the sheet's header band, tall enough that the 44px Close (top 6px) sits above the first row. */
 body.admin nav.tabs.open::before{content:'';order:-3;flex:0 0 40px;height:4px;border-radius:2px;background:var(--field);margin:2px calc(50% - 20px) 40px}
 body.admin nav.tabs.open .navlabel.baronly{display:none!important}
 body.admin nav.tabs.open .navlabel{display:block;order:-1;flex:0 0 100%;margin:6px 20px 8px;color:var(--soft);font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
 body.admin nav.tabs.open .extra{display:flex;order:-1;flex:0 0 calc(50% - 21px);margin:0 0 8px 14px;min-height:54px;padding:0 14px;border:1px solid var(--line)!important;border-radius:10px;background:var(--paper);font-size:14.5px;justify-content:flex-start;text-align:left}
 body.admin nav.tabs.open .extra[aria-current]{border-color:var(--ink)!important;font-weight:600;box-shadow:inset 3px 0 0 var(--ink)}
 body.admin nav.tabs.open>button:not(.extra){border-top:1px solid var(--line)}
 /* The sheet's pages end their own rows: the bottom bar always starts on a new line, never beside a tile. */
 body.admin nav.tabs.open::after{content:'';order:-1;flex:0 0 100%;height:0}
 body.admin nav.tabs.open .extra{white-space:normal;line-height:1.25}
 body.admin .status-area .message,body.admin .status-area .error-message{bottom:calc(72px + env(safe-area-inset-bottom))}
}

/* ===== SHELL: account card ===== */
/* Account card (t_1ccac941, frozen admin.html): foot of the rail on desktop; on a phone the top-bar avatar opens
   it as a dialog-style card over the page. */
body.admin nav.tabs .acct{display:none}
body.admin nav.tabs .acct .nm{color:var(--ink);font-size:13px;font-weight:600;overflow-wrap:anywhere}
body.admin nav.tabs .acct .acctx{display:grid;gap:4px;justify-items:start;min-width:0}
/* Design REVISE on 820eb6f: "Maker · Savinder" was cut off in the narrow desktop account card; the badge wraps there. */
body.admin nav.tabs .acct .role{white-space:normal;max-width:100%;overflow-wrap:break-word}
body.admin nav.tabs .acct button{flex:none;width:auto;min-width:0;border:0;background:none}
@media(min-width:900px){
 body.admin nav.tabs .acct{display:grid;grid-template-columns:36px 1fr;gap:4px 10px;align-items:center;margin:auto 14px 0;padding:16px 0 4px;min-width:0;border-top:1px solid var(--line)}
 body.admin nav.tabs .acct .av{width:36px;height:36px}
 body.admin nav.tabs .acct .acctl{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:0 14px;margin-top:6px}
 body.admin nav.tabs .acct .acctl .link{padding:0 18px;min-height:32px;font-size:12.5px;white-space:nowrap;border:0;border-left:2px solid transparent}
 body.admin nav.tabs .acct .acts{display:none}}
@media(max-width:899px){
 body.admin nav.tabs .acct.open{display:grid;position:fixed;z-index:70;left:16px;right:16px;top:50%;transform:translateY(-50%);max-width:480px;margin:0 auto;padding:22px 24px;grid-template-columns:56px 1fr;gap:14px;align-items:center;background:var(--ivory);border:1px solid var(--line);box-shadow:0 0 0 100vmax rgba(23,22,20,.5)}
 body.admin nav.tabs .acct.open .av{width:56px;height:56px;font-size:18px}
 body.admin nav.tabs .acct.open .nm{font:400 22px/1.25 var(--serif)}
 body.admin nav.tabs .acct.open .acctl{grid-column:1/-1;display:grid;gap:10px;margin-top:6px}
 body.admin nav.tabs .acct.open .acctl button{width:100%;min-height:44px;padding:0 16px;border:1px solid var(--ink);background:transparent;color:var(--ink);font-size:14px;text-decoration:none;justify-content:center}
 body.admin nav.tabs .acct.open #logout{border-color:var(--rust);color:var(--rust)}
 body.admin nav.tabs .acct.open .acts{grid-column:1/-1;display:flex;justify-content:flex-end;margin-top:6px;padding-top:14px;border-top:1px solid var(--line)}
 body.admin nav.tabs .acct.open .acts button{width:auto;min-height:40px;padding:0 16px;border:1px solid var(--ink);background:transparent;color:var(--ink);font-weight:400}}

/* C12 Collections base geometry. Width rules remain owned by the responsive lane. */
body.admin .pickset{border:1px solid var(--line);padding:14px;margin:16px 0 0;min-width:0}
body.admin .collgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px}
body.admin .collgrid figure{margin:0;min-width:0}
body.admin .collgrid img,body.admin .collection-photo-empty{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:var(--card)}
body.admin .collgrid figcaption{font-size:12px;margin-top:6px;overflow-wrap:anywhere}
body.admin .collection-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:14px}
body.admin .picks .pick{display:grid;grid-template-columns:22px 44px minmax(0,1fr);align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);margin:0}
body.admin .picks .pick input{width:22px;min-height:22px;height:22px;margin:0}
body.admin .picks .pick img,body.admin .picks .collection-photo-empty{width:44px;height:44px;object-fit:contain}
body.admin .picks .ptx{display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}
body.admin .picks .st,body.admin .picks .ptag{width:fit-content;max-width:100%;white-space:normal;overflow-wrap:anywhere;padding:3px 6px;font-size:11px;background:var(--card)}
body.admin .picks .tobag{background:#f5e6d3;color:var(--rust)}
body.admin .picks .ok{background:#edf2e7;color:#45623d}
body.admin .pickcount{font-size:12px;color:var(--soft);margin:0 0 8px}
body.admin .coll-preview{padding:14px;border:1px solid var(--line);min-width:0}
body.admin .coll-preview .cap{font-size:9px;color:var(--soft)}
body.admin .coll-preview p{margin:6px 0 10px;font:italic 13px var(--serif);overflow-wrap:anywhere}
body.admin .coll-preview .sw-row{display:flex;flex-wrap:wrap;gap:8px}
body.admin .coll-preview .sw-row img{width:44px;height:44px;object-fit:contain}
body.admin #collection-dialog{width:min(620px,calc(100% - 24px));max-height:90vh;overflow:auto;padding:18px}

body.admin .signin input[type=email],body.admin .signin #email-code{width:100%;box-sizing:border-box}
body.admin .signin .email-request-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
body.admin .signin .email-request-row button{width:auto;margin-top:0;white-space:nowrap}
body.admin .signin .email-signin-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
body.admin .signin .email-signin-links button,body.admin .signin #use-invite-code,body.admin .signin #use-email-code{width:auto;margin-top:12px}
body.admin .team-email-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.admin .team-email-line button{padding:0}
@media(max-width:480px){body.admin .signin .email-request-row{grid-template-columns:minmax(0,1fr)}body.admin .signin .email-request-row button{width:100%}}
