@import url('./catalog-colors.css');
/* Shared theme and component defaults. Responsive changes follow below. */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]), select { height:44px; min-width:0; }
.field > span { line-height:20px; }

:root { color:var(--ink); background:var(--paper); --ink:#17263c; --paper:#f4f7fb; --card:#fff; --surface:#fff; --line:#e3eaf3; --muted:#64758b; --accent:#2563eb; --accent-soft:#edf4ff; --green:#19734d; --olive:#19734d; --olive-soft:#e9f7f0; --red:#c83d4d; --danger:#c83d4d; --amber:#9b650e; --warning:#a96812; --sage:#e7f5ee; --sand:#eef3fb; --shadow:0 4px 18px rgba(22,40,70,.035); font-family:"Segoe UI",Tahoma,Arial,sans-serif; font-size:14px; font-synthesis:none; }
* { box-sizing: border-box; }
body { margin: 0px; min-width: min(320px, 100%); min-height: 100vh; text-align: start; background: rgb(255, 255, 255); }
button { font: inherit; -webkit-tap-highlight-color: transparent; color: inherit; }
input, textarea, select { font: inherit; }
a { -webkit-tap-highlight-color: transparent; color: inherit; }
h1 { margin:0 0 8px; font-size:28px; line-height:1.25; font-weight:700; letter-spacing:-.025em; }
h2 { margin:0 0 8px; font-size:17px; line-height:1.4; font-weight:650; }
p { margin-top: 0px; color: var(--muted); line-height: 1.55; }
.wordmark { color: white; font-size: 2rem; font-weight: 700; letter-spacing: -0.06em; text-decoration: none; font-family: inherit; }
.wordmark--dark { font-size:26px; color:inherit; }
.eyebrow { margin-bottom: 10px; font-weight: 800; text-transform: uppercase; color: var(--accent); letter-spacing: 0.04em; font-size: 0.72rem; }
.lede { max-width: 520px; font-size: 1.03rem; }
.auth-layout { display: grid; min-height: 100vh; grid-template-columns: minmax(360px, 1.05fr) minmax(440px, 0.95fr); }
.auth-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 42px 48px; overflow: hidden; color: white; background: linear-gradient(145deg, rgba(16, 17, 15, 0.3), rgba(16, 17, 15, 0.88)), radial-gradient(circle at 70% 22%, rgb(189, 118, 94) 0px, rgb(189, 118, 94) 11%, transparent 35%), linear-gradient(120deg, rgb(50, 59, 51), rgb(23, 23, 19) 67%); }
.auth-art::before { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 48% 52% 40% 60%; transform: rotate(-20deg); width: 60%; aspect-ratio: 0.72 / 1; right: 3%; top: 9%; background: linear-gradient(155deg, rgba(255, 255, 255, 0.11), transparent 46%); }
.auth-art::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 48% 52% 40% 60%; transform: rotate(-20deg); width: 38%; aspect-ratio: 0.55 / 1; right: 22%; top: 19%; }
.auth-art--delivery { background: linear-gradient(145deg, rgba(16, 17, 15, 0.24), rgba(16, 17, 15, 0.9)), radial-gradient(circle at 65% 25%, rgb(118, 141, 132) 0px, rgb(118, 141, 132) 12%, transparent 38%), linear-gradient(120deg, rgb(38, 55, 52), rgb(18, 23, 22) 70%); }
.auth-art > * { position: relative; z-index: 1; }
.auth-art__copy { max-width: 540px; }
.auth-art__copy > span { display: block; margin-bottom: 18px; color: rgb(215, 210, 201); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.auth-art blockquote { margin: 0px; font-family: Georgia, serif; font-size: clamp(2.3rem, 4.3vw, 5rem); line-height: 0.98; letter-spacing: -0.055em; }
.auth-card { display: grid; place-items: center; padding: 40px; }
.auth-card__body { width: min(100%, 510px); padding: 42px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 254, 249, 0.84); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.preview-entry { margin-top: 16px; padding: 16px; border: 1px dashed rgb(170, 166, 156); border-radius: 14px; background: rgb(245, 241, 232); }
.preview-entry p { margin: 5px 0px 14px; color: rgb(98, 95, 88); font-size: 0.86rem; line-height: 1.45; }
.button--preview { width: 100%; background: rgb(235, 224, 201); color: rgb(23, 23, 19); border-color: rgb(23, 23, 19); }
.preview-banner { padding:7px 20px; background:#edf4ff; color:#365174; font-size:12px; text-align:center; border-bottom:1px solid #dbe7f8; }
.step-guide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 14px; }
.step-guide > div { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; padding: 14px; background: rgb(255, 255, 255); }
.step-guide > div > span { display: grid; place-items: center; width: 28px; height: 28px; color: rgb(255, 255, 255); background: var(--ink); border-radius: 50%; font-size: 0.72rem; font-weight: 800; }
.step-guide strong { display: block; }
.step-guide small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.7rem; line-height: 1.3; }
.step-guide--delivery > div > span { background: rgb(49, 92, 73); }
.form-message { min-height: 1.4em; margin: 14px 0px 0px; color: var(--danger); font-size: 0.88rem; }
.stack { display: grid; gap: 15px; }
.field { display: grid; align-content: start; gap: 7px; color: rgb(63, 61, 55); font-size: 0.82rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); padding: 12px 13px; outline: none; color: var(--ink); font-weight: 500; transition: border-color 0.15s, box-shadow 0.15s; border-radius: 8px; background: rgb(255, 255, 255); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: rgba(37, 99, 235, 0.12) 0px 0px 0px 2px; }
.check-row { display: flex; gap: 10px; align-items: center; color: rgb(69, 67, 61); font-size: 0.9rem; }
.check-row input { width: 18px; height: 18px; accent-color: var(--ink); }
.button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px; padding:9px 15px; color:#fff; background:var(--accent); border:1px solid transparent; border-radius:7px; font-weight:600; font-size:13px; cursor:pointer; box-shadow:none; }
.button:hover:not(:disabled) { filter:brightness(.97); }
.button:disabled { cursor: not-allowed; opacity: 0.42; }
.button--secondary, .button--quiet { color: var(--ink); border: 1px solid var(--line); background: rgb(255, 255, 255); box-shadow: none; }
.button--danger { background: var(--danger); box-shadow: none; }
.text-button { border: 0px; padding: 3px 0px; cursor: pointer; background: transparent; font-size: 0.82rem; font-weight: 750; color: var(--accent); }
.icon-button { width: 38px; height: 38px; border: 0px; border-radius: 50%; cursor: pointer; background: rgb(238, 236, 229); font-size: 1.5rem; }
.portal-shell { display:grid; min-height:100vh; grid-template-columns:240px minmax(0,1fr); }
.sidebar { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; padding:26px 16px 18px; background:#10213b; color:#edf3fc; border-inline-end:1px solid #10213b; overflow-y:auto; scrollbar-width:thin; }
.workspace-label { display:flex; align-items:center; gap:12px; margin:18px 12px 22px; padding-bottom:18px; border-bottom:1px solid #2d405b; }
.workspace-label span { font-size:12px; color:#a7bbd7; }
.workspace-label strong { display:block; font-size:15px; font-weight:650; color:#fff; }
.portal-nav { display: grid; gap: 5px; }
.portal-nav button { display:flex; align-items:center; gap:12px; width:100%; min-height:44px; padding:11px 12px; color:#d2deee; background:transparent; border:0; border-radius:7px; text-align:start; cursor:pointer; }
.logout { margin-top:auto; display:flex; align-items:center; gap:10px; min-height:42px; padding:10px 12px; text-align:start; background:transparent; color:#cad6e7; border:1px solid #30425d; border-radius:8px; }
.portal-nav .nav-marker { display: grid; width: 24px; height: 24px; place-items: center; font-size: 1.1rem; color: rgb(80, 120, 255); }
.logout span { display: grid; width: 24px; height: 24px; place-items: center; font-size: 1.1rem; }
.portal-nav .nav-copy { display: grid; width: auto; height: auto; place-items: start; gap: 2px; }
.portal-nav .nav-copy strong { font-size:13px; font-weight:500; }
.portal-nav .nav-copy small { font-size: 0.68rem; font-weight: 500; color: rgb(117, 130, 151); }
.portal-nav button.is-active .nav-copy small { color: rgb(117, 130, 151); }
.portal-nav button:hover, .portal-nav button.is-active, .logout:hover { background:#1a3b67; color:#fff; }
.portal-frame { min-width: 0px; background: var(--paper); }
.mobile-head { display:flex; background:#fff; color:var(--ink); border-bottom:1px solid var(--line); }
.portal-main { margin:0 auto; width:min(100%,1480px); padding:28px clamp(20px,2.2vw,34px) 100px; }
.loading { display: grid; min-height: 70vh; place-content: center; text-align: center; }
.load-error { display: grid; min-height: 70vh; place-content: center; text-align: center; justify-items: center; }
.load-error p { max-width: 520px; }
.load-error small { margin-bottom: 18px; color: var(--muted); }
.page { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; max-width:1480px; margin:auto; gap:22px; }
.page-head { display:flex; justify-content:space-between; align-items:center; gap:22px; min-height:70px; }
.page-head h1 { font-size:28px; margin-bottom:8px; }
.page-head p:not(.eyebrow) { margin-bottom: 0px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric-grid--three { grid-template-columns: repeat(3, 1fr); }
.metric-card { display:grid; gap:10px; align-content:start; padding:18px; min-height:112px; border:1px solid var(--line); border-radius:9px; background:#fff; box-shadow:none; }
.metric-card > span { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.metric-card > strong { font-family: inherit; font-size: 2rem; font-weight: 800; }
.metric-card button { width: max-content; border: 0px; padding: 0px; cursor: pointer; background: none; font-size: 0.8rem; font-weight: 750; color: var(--accent); }
.panel { min-width:0; padding:22px; background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:none; }
.panel--warm { background: rgb(255, 255, 255); }
.panel--error { border-color: var(--line); background: rgb(255, 255, 255); }
.panel--error p:last-of-type { margin-bottom: 14px; }
.panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.panel__head h2 { font-size: 1.18rem; }
.split-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.split-panel p { margin-bottom: 0px; }
.compact-list { display: grid; }
.compact-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding: 13px 0px; }
.compact-row:first-child { border-top: 0px; }
.compact-row > div:first-child { display: grid; gap: 3px; }
.compact-row span { color: var(--muted); font-size: 0.82rem; }
.compact-row__end { display: flex; align-items: center; gap: 12px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.stock-chip { border-radius: 999px; padding: 8px 12px; color: rgb(92, 59, 25); background: rgba(255, 255, 255, 0.58); font-size: 0.78rem; font-weight: 700; }
.count-pill { border-radius: 999px; padding: 8px 12px; font-size: 0.78rem; font-weight: 700; color: rgb(49, 80, 125); background: rgb(237, 243, 255); }
.status { display:inline-flex; width:max-content; border-radius:6px; color:#52647a; background:#edf1f6; font-size:11px; font-weight:600; padding:5px 9px; }
.status--active, .status--approved, .status--paid, .status--delivered { color: rgb(18, 97, 63); background: rgb(226, 245, 234); }
.status--preparing, .status--pending, .status--confirmed { color: rgb(138, 90, 19); background: rgb(255, 242, 216); }
.status--ready_for_pickup, .status--available { color: rgb(27, 90, 154); background: rgb(232, 242, 255); }
.status--canceled, .status--rejected, .status--failed, .status--suspended { color: rgb(129, 47, 43); background: rgb(242, 223, 220); }
.inline-badges { display: flex; gap: 7px; align-items: center; margin-bottom: 10px; }
.published { font-size: 0.72rem; font-weight: 750; color: var(--olive); }
.category-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 3px; }
.category-chip { display: grid; min-width: 175px; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.category-chip > span:first-child { grid-row: span 2; color: rgb(170, 166, 157); font-family: Georgia, serif; font-size: 1.5rem; }
.category-chip .status { padding: 2px 6px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.product-card__visual { position: relative; display: grid; height: 155px; place-items: center; overflow: hidden; color: rgb(238, 231, 221); background: linear-gradient(145deg, rgb(213, 206, 194), rgb(164, 155, 141)); }
.product-card__visual::before { content: ""; position: absolute; width: 150px; height: 190px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 70% 35% 50% 45%; transform: rotate(21deg); }
.product-card__visual > span { position: absolute; top: 14px; left: 16px; color: white; font-size: 0.66rem; font-weight: 850; letter-spacing: 0.1em; }
.garment-mark { position: relative; font-family: Georgia, serif; font-size: 4rem; opacity: 0.82; }
.product-card__body { padding: 20px; }
.product-card__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.product-card__title h2 { font-size: 1.3rem; }
.product-card__title p { margin-bottom: 16px; font-size: 0.83rem; }
.price { white-space: nowrap; font-size: 1.22rem; font-family: inherit; }
.variant-list { display: grid; border-top: 1px solid var(--line); }
.variant-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0px; border-bottom: 1px solid var(--line); }
.variant-row > div:first-child { display: grid; gap: 2px; }
.variant-row span { color: var(--muted); font-size: 0.75rem; }
.variant-row__actions { display: flex; align-items: center; gap: 10px; }
.variant-row__actions .stock { color: var(--olive); font-weight: 750; }
.variant-row__actions .stock--low { color: var(--warning); }
.product-card__actions, .order-card__actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }
.locked-note { margin: 13px 0px 0px; font-size: 0.72rem; }
.segmented { display: flex; width: max-content; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: #f5f8fc; }
.segmented button { border: 0px; border-radius: 7px; padding: 8px 14px; cursor: pointer; color: var(--muted); background: transparent; font-size: 0.8rem; font-weight: 750; }
.segmented button.is-active { color: var(--ink); background: white; box-shadow: rgba(20, 20, 10, 0.05) 0px 3px 10px; }
.order-list { display: grid; gap: 15px; }
.order-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.order-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.order-card__head h2 { margin-bottom: 4px; font-size: 1.35rem; }
.order-card__head p:not(.eyebrow) { margin-bottom: 0px; font-size: 0.84rem; }
.order-card__status { display: grid; justify-items: end; gap: 9px; }
.order-card__status > strong { font-family: inherit; font-size: 1.2rem; }
.order-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0px; padding: 14px; border-radius: 10px; background: #f5f8fc; }
.order-meta div { display: grid; gap: 3px; }
.order-meta span { color: var(--muted); font-size: 12px; font-weight: 500; }
.order-meta strong { font-size: 0.81rem; }
.line-items { display: grid; }
.line-item { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0px; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0px; }
.line-item > div { display: grid; gap: 3px; }
.line-item span { color: var(--muted); font-size: 0.78rem; }
.courier-strip { display: flex; align-items: center; margin-top: 13px; padding: 11px 13px; color: var(--muted); font-size: 0.8rem; gap: 9px; border: 0px; border-radius: 10px; background: rgb(237, 248, 242); }
.courier-strip strong { color: var(--ink); }
.courier-strip a { color: var(--olive); font-weight: 750; margin-left: 0px; margin-inline-start: auto; }
.delivery-list { display: grid; gap: 16px; }
.delivery-card { padding: 23px; border-radius: 16px; background: rgb(255, 255, 255); border: 1px solid var(--line); box-shadow: var(--shadow); }
.delivery-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.delivery-card__head h2 { max-width: 700px; font-size: 1.45rem; }
.delivery-card__head p:not(.eyebrow) { margin-bottom: 0px; }
.route-progress { margin: 15px 0px; }
.route-progress > div { height: 5px; overflow: hidden; border-radius: 999px; background: rgb(228, 225, 217); }
.route-progress > div::after { content: ""; display: block; width: var(--progress); height: 100%; border-radius: inherit; background: var(--olive); transition: width 0.2s; }
.route-progress span { display: block; margin-top: 7px; color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.pickup-list { display: grid; }
.pickup-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; border-top: 1px solid var(--line); padding: 12px 0px; }
.destination { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; border-top: 1px solid var(--line); margin-top: 4px; padding: 12px 0px; }
.pickup-row > div:nth-child(2), .destination > div:nth-child(2) { display: grid; gap: 3px; }
.pickup-row span, .destination span { color: var(--muted); font-size: 0.76rem; }
.route-index { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 0.72rem; font-weight: 800; }
.route-index.is-done { color: white; border-color: var(--olive); background: var(--olive); }
.route-index--destination { color: white; border-color: var(--accent); background: var(--accent); }
.pickup-row__actions { display: flex; align-items: center; gap: 9px; }
.map-links { display: flex; align-items: center; gap: 9px; direction: ltr; }
.map-links a { color: var(--accent); font-size: 0.74rem; font-weight: 750; text-decoration: none; }
.button--small { font-size: 0.74rem; min-height: 34px; padding: 6px 11px; border-radius: 9px; }
.delivery-card__footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); align-items: center; }
.delivery-card__footer > span { color: var(--muted); font-size: 0.76rem; }
.availability-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.78rem; font-weight: 750; }
.availability-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgb(167, 164, 156); }
.availability-dot.is-active { color: var(--olive); }
.availability-dot.is-active::before { background: rgb(95, 128, 94); box-shadow: rgba(95, 128, 94, 0.13) 0px 0px 0px 4px; }
.data-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0px; border-bottom: 1px solid var(--line); }
.data-row:last-child { border-bottom: 0px; }
.data-row > span { color: var(--muted); font-size: 0.78rem; }
.data-row code { overflow-wrap: anywhere; }
.onboarding-form { max-width: 620px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid__wide { grid-column: 1 / -1; }
.empty-state { display: grid; min-height: 280px; place-items: center; align-content: center; padding: 30px; border: 1px dashed rgb(203, 199, 187); border-radius: 16px; text-align: center; }
.empty-state__mark { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 16px; border-radius: 50%; color: white; background: var(--ink); font-family: Georgia, serif; font-size: 1.6rem; }
.empty-state p { max-width: 460px; margin-bottom: 0px; }
.dialog { width: min(92vw, 480px); border: 0px; padding: 0px; color: var(--ink); background: var(--surface); box-shadow: rgba(0, 0, 0, 0.24) 0px 30px 100px; border-radius: 17px; }
.dialog::backdrop { background: rgba(20, 20, 17, 0.55); backdrop-filter: blur(3px); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 17px 19px; }
.dialog__head h2 { margin: 0px; }
.dialog > .stack, .dialog > form { padding: 21px; }
.dialog__actions { display: flex; justify-content: flex-end; gap: 9px; }
.toast { position: fixed; z-index: 20; bottom: 24px; max-width: min(420px, -48px + 100vw); border-radius: 10px; padding: 13px 16px; color: white; background: var(--olive); box-shadow: var(--shadow); font-weight: 650; right: auto; left: 24px; }
.toast--error { background: var(--danger); }
.text-button--danger { color: var(--danger); }
.category-chip__actions { grid-column: 2; display: flex; gap: 10px; align-items: center; }
.icon-action { border: 0px; background: transparent; color: var(--accent); cursor: pointer; padding: 5px 6px; font-weight: 750; font-size: 0.78rem; }
.icon-action--danger { color: var(--danger); }
.page-head--compact { min-height: 72px; }
.panel--soft { background: rgb(255, 255, 255); }
.status--picked_up { color: rgb(18, 97, 63); background: rgb(226, 245, 234); }
.status--assigned, .status--picking_up, .status--out_for_delivery { color: rgb(138, 90, 19); background: rgb(255, 242, 216); }
.category-rail { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x; padding: 2px 1px 8px; scrollbar-width: thin; }
.category-card { flex: 0 0 200px; scroll-snap-align: start; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 14px; background: rgb(255, 255, 255); border: 1px solid var(--line); border-radius: 14px; }
.category-card > div:first-child { display: grid; gap: 7px; }
.category-card__actions { display: grid; gap: 2px; justify-items: end; }
.category-rail-empty { padding: 18px; color: var(--muted); background: rgb(255, 255, 255); border: 1px dashed var(--line); border-radius: 14px; }
.catalog-list { display: grid; gap: 11px; }
.catalog-product { padding: 17px; background: rgb(255, 255, 255); border: 1px solid var(--line); border-radius: 16px; box-shadow: rgba(20, 34, 60, 0.035) 0px 7px 22px; }
.catalog-product__main { display: grid; grid-template-columns: 54px minmax(0px, 1fr) auto; align-items: center; gap: 14px; }
.product-thumb { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 13px; color: rgb(255, 255, 255); background: linear-gradient(145deg, rgb(36, 54, 83), rgb(31, 94, 255)); font-size: 1.3rem; font-weight: 850; }
.catalog-product__copy { min-width: 0px; }
.catalog-product__copy h2 { margin: 0px 0px 4px; font-size: 1.02rem; }
.catalog-product__copy p { margin: 0px; font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-product__numbers { display: grid; justify-items: end; gap: 4px; }
.catalog-product__numbers .price { font-size: 1.05rem; font-weight: 850; }
.catalog-product__numbers span { color: var(--muted); font-size: 0.75rem; }
.variant-chips { display: flex; gap: 7px; overflow-x: auto; padding: 12px 0px 4px; }
.variant-chip { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; background: rgb(248, 250, 252); cursor: pointer; }
.variant-chip strong { font-size: 0.75rem; }
.variant-chip span { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; color: rgb(49, 80, 125); background: rgb(231, 239, 255); font-size: 0.7rem; font-weight: 800; }
.variant-chip--low { border-color: rgb(240, 211, 166); background: rgb(255, 249, 238); }
.variant-chip--low span { color: rgb(142, 89, 9); background: rgb(255, 237, 201); }
.product-row__actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgb(238, 241, 245); }
.draft-label, .muted-note { color: var(--muted); font-size: 0.72rem; }
.option-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip { min-width: 48px; min-height: 36px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); font-weight: 750; cursor: pointer; }
.option-chip.is-selected { box-shadow: rgba(31, 94, 255, 0.06) 0px 0px 0px 2px; color: white; border-color: var(--ink); background: var(--ink); }
.picker-block { display: grid; gap: 8px; }
.picker-block__label { color: rgb(63, 70, 84); font-size: 0.82rem; font-weight: 750; }
.dialog--wide { width: min(94vw, 700px); }
.form-grid--product { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sort-select { min-height: 42px; min-width: 170px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--ink); background: rgb(255, 255, 255); outline: none; }
.order-list--compact { gap: 11px; }
.order-card--clean { padding: 18px; border-radius: 16px; box-shadow: rgba(20, 34, 60, 0.035) 0px 7px 22px; }
.order-card__identity { min-width: 0px; }
.order-card__topline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-time { color: var(--muted); font-size: 0.74rem; direction: ltr; unicode-bidi: isolate; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-summary-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0px 8px; }
.order-summary-row > div { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 9px; background: rgb(246, 248, 251); }
.order-summary-row span { color: var(--muted); font-size: 0.68rem; }
.order-summary-row strong { font-size: 0.76rem; }
.line-items--compact .line-item { padding: 9px 0px; }
.courier-strip small { color: rgb(91, 113, 100); }
.profile-panel { width:100%; }
.profile-form { display: grid; gap: 18px; }
.shop-brand-grid {display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;}
.brand-image {display:grid;gap:12px;align-content:start;min-width:0;}
.brand-image h3 {font-size:13px;margin:0;}
.brand-image .button {justify-self:start;}
.brand-logo-photo,.brand-cover-photo {display:grid;place-items:center;height:180px;background:var(--paper);border:1px solid var(--line);border-radius:8px;overflow:hidden;color:var(--muted);}
.brand-logo-photo img {width:100%;height:100%;object-fit:contain;}
.brand-cover-photo img {width:100%;height:100%;object-fit:cover;}
@media(max-width:600px){.shop-brand-grid {grid-template-columns:minmax(0,1fr);}.brand-logo-photo {width:160px;height:160px;}}

.location-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; border: 1px solid rgb(219, 229, 245); border-radius: 14px; background: rgb(245, 249, 255); }
.location-card > div { display: grid; gap: 4px; }
.location-card p { margin: 0px; font-size: 0.8rem; }
.location-state { color: var(--warning); font-size: 0.76rem; font-weight: 750; }
.location-state.is-ready { color: var(--olive); }
.profile-submit { justify-self: start; }
.store-state-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; width:100%; }
.store-state-card > div { display: grid; gap: 4px; }
.store-state-card span { color: var(--muted); font-size: 0.8rem; }
.delivery-card--clean { padding: 18px; border-radius: 16px; box-shadow: rgba(20, 34, 60, 0.035) 0px 7px 22px; }
.field small { color: var(--muted); font-size: 0.72rem; font-weight: 500; }
.order-number-stack { display: grid; gap: 2px; }
.order-number-stack small { color: var(--muted); font-size: 0.7rem; font-weight: 700; }
.primary-order-number { direction: ltr; unicode-bidi: isolate; font-size: 1.05rem; letter-spacing: 0.01em; }
.cash-handoff-dialog { gap: 18px; }
.cash-handoff-amount { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgb(248, 250, 252); text-align: center; }
.cash-handoff-amount span { color: var(--muted); font-size: 0.8rem; font-weight: 750; }
.cash-handoff-amount strong { direction: ltr; unicode-bidi: isolate; font-size: 2rem; font-variant-numeric: tabular-nums; }
.dialog__actions--stacked { display: grid; grid-template-columns: 1fr; }
.dialog__actions--stacked .button { width: 100%; min-height: 50px; }
.page--delivery-worker { max-width: 1000px; margin-inline: auto; }
.delivery-list--worker { gap: 14px; }
.delivery-card--worker { padding: 20px; border-radius: 18px; box-shadow: var(--shadow); }
.delivery-worker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.delivery-worker-head > div:first-child { display: grid; gap: 3px; }
.delivery-order-label { color: var(--muted); font-size: 0.72rem; font-weight: 750; }
.delivery-order-number { direction: ltr; unicode-bidi: isolate; font-size: 1.32rem; font-variant-numeric: tabular-nums; }
.delivery-secondary-id { direction: ltr; unicode-bidi: isolate; color: var(--muted); font-size: 0.72rem; }
.delivery-worker-state { display: grid; justify-items: end; gap: 7px; }
.delivery-worker-state > strong { direction: ltr; unicode-bidi: isolate; font-size: 0.95rem; }
.delivery-destination-card { display: grid; gap: 5px; margin-top: 16px; padding: 15px; border-radius: 13px; background: rgb(245, 247, 251); }
.delivery-destination-card > span { color: var(--muted); font-size: 0.72rem; font-weight: 750; }
.delivery-destination-card > strong { font-size: 1rem; }
.delivery-destination-card > small { color: var(--muted); }
.delivery-destination-card .map-links { margin-top: 5px; }
.worker-progress { display: flex; align-items: baseline; gap: 8px; margin: 16px 0px 6px; }
.worker-progress strong { direction: ltr; unicode-bidi: isolate; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.worker-progress span { color: var(--muted); font-size: 0.78rem; }
.pickup-list--worker { border-top: 1px solid var(--line); }
.pickup-row--worker { grid-template-columns: auto minmax(0px, 1fr) auto; padding: 13px 0px; }
.pickup-row--worker.is-done { opacity: 0.72; }
.pickup-main { display: grid; gap: 4px; }
.pickup-main .map-links { margin-top: 3px; }
.worker-pickup-button { min-height: 44px; min-width: 150px; }
.delivery-primary-actions { margin-top: 16px; }
.worker-main-button { width: 100%; min-height: 56px; font-size: 1rem; font-weight: 850; }
.delivery-secondary-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.delivery-secondary-actions .button { min-height: 38px; padding: 7px 11px; font-size: 0.75rem; box-shadow: none; }
.product-editor-form { gap: 18px; }
.product-editor-section { display:grid; gap:16px; padding-block:8px; background:white; }
.product-editor-section p { margin: 3px 0px 0px; color: var(--muted); font-size: 0.78rem; }
.variant-editor { display: grid; gap: 12px; }
.size-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-size-panel { display: grid; gap: 12px; min-width: 0; }
.variant-stock-list { display: grid; gap: 8px; }
.variant-stock-row { display: grid; grid-template-columns: 1fr 110px; align-items: center; gap: 12px; }
.variant-stock-row input { width: 100%; }
.variant-editor [hidden] { display: none !important; }
.variant-editor input:not([type=checkbox]), .variant-editor select { min-width:0; min-height:44px; padding:9px 10px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--ink); font-size:16px; }
.variant-editor input:focus-visible, .variant-editor select:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
.variant-editor .option-chip { max-width:100%; overflow-wrap:anywhere; min-height:44px; }
.variant-size-panel .check-row { min-width:0; overflow-wrap:anywhere; }
.variant-size-panel .variant-stock-row { grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.variant-stock-field { display:grid; grid-template-columns:minmax(0,1fr) 84px; gap:8px; align-items:center; min-width:0; }
.variant-stock-field span { overflow-wrap:anywhere; }
.variant-stock-field input { text-align:center; direction:ltr; font-variant-numeric:tabular-nums; }
.variant-remove-color { min-height:44px; padding:8px; }
.variant-stock-head { display:flex; justify-content:space-between; gap:12px; align-items:center; font-size:12px; }
.product-editor-section .variant-hint, .product-editor-section .variant-total, .product-editor-section .variant-feedback { font-size:12px; margin:0; }
.product-editor-section .variant-feedback { color:var(--danger); }
.variant-feedback:empty { display:none; }
.catalog-swatch { display:inline-block; flex:0 0 auto; width:22px; height:22px; border-radius:50%; border:1px solid rgba(23,38,60,.18); background:var(--catalog-swatch,#B8B3AD); }
.catalog-swatch--unknown { border-style:dashed; }
.variant-color-label { display:flex; align-items:center; gap:8px; min-width:0; }
.variant-color-picker { display:grid; gap:12px; }
.variant-color-picker-head { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.variant-color-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(62px,1fr)); gap:8px; }
.variant-color-choice { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; min-width:0; min-height:64px; padding:7px 3px; border:1px solid transparent; border-radius:10px; background:white; color:var(--ink); font:inherit; font-size:12px; cursor:pointer; overflow-wrap:anywhere; }
.variant-color-choice .catalog-swatch { width:28px; height:28px; }
.variant-color-choice:hover:not(:disabled) { background:var(--paper); }
.variant-color-choice[aria-pressed=true] { border-color:var(--ink); background:var(--paper); cursor:default; }
.variant-color-choice:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
.variant-shade-picker { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.variant-shade-field { display:grid; gap:6px; font-size:12px; }
.variant-editor .variant-shade-field input[type=color] { width:76px; height:48px; padding:3px; cursor:pointer; }
.variant-shade-picker bdi { align-self:center; font-size:12px; color:var(--muted); }
.variant-ready-colors summary { min-height:44px; display:list-item; padding-block:12px; cursor:pointer; font-size:13px; }
.delivery-contact .button { width: 100%; text-align: center; }
.contact-unavailable { display: grid; gap: 5px; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.photo-thumb { height: 140px; background: rgb(238, 233, 226); border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.photo-thumb img, .product-thumb img, .storefront-cover-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-card { display: grid; gap: 8px; }
.photo-card button { padding: 8px; font: inherit; cursor: pointer; border: 1px solid rgb(221, 221, 221); border-radius: 8px; background: white; }
.storefront-cover-photo { height: 180px; overflow: hidden; border-radius: 12px; }
.photo-card .row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.line-item > .photo-thumb { width: 60px; height: 70px; flex-shrink: 0; }
#pwa-controls { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px; border-bottom: 1px solid var(--line,#ddd9ce); background: rgb(250, 249, 245); }
#pwa-controls[hidden], .pwa-connection[hidden] { display: none; }
.pwa-install { font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 0.8rem; padding: 9px 16px; min-height: 40px; border: 1px solid rgb(221, 217, 206); border-radius: 999px; background: white; color: rgb(23, 23, 19); cursor: pointer; }
.pwa-hint { margin: 0px; font-size: 0.8rem; line-height: 1.7; color: rgb(101, 95, 84); }
.pwa-connection { position: fixed; inset: 0px; z-index: 10000; display: grid; place-items: center; background: rgb(250, 249, 245); padding: 24px; text-align: center; }
.pwa-connection > div { max-width: 440px; background: white; border: 1px solid rgb(221, 217, 206); border-radius: 24px; padding: 32px; line-height: 1.8; }
.pwa-connection strong { font-size: 28px; }
.storefront-device { display: block; width: min(100%, 390px); height: min(75vh, 780px); min-height: 480px; margin: 0px auto; border: 1px solid rgb(222, 219, 212); border-radius: 20px; background: rgb(250, 249, 245); }
.storefront-preview-note { text-align: center; }
.page--delivery-worker h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.worker-next-step { margin: 16px 0px; padding: 12px 15px; border-radius: 8px; background: rgb(238, 245, 255); color: rgb(37, 79, 146); font-weight: 700; }
.page--delivery-worker .segmented { gap: 6px; padding: 5px; background: rgb(240, 243, 247); }
.page--delivery-worker .segmented button { min-height: 46px; flex: 1 1 0%; }
.page--delivery-worker .segmented button.is-active { background: rgb(255, 255, 255); color: rgb(32, 80, 184); box-shadow: rgb(220, 228, 240) 0px 2px 8px; }
.page--delivery-worker .worker-main-button, .page--delivery-worker .worker-pickup-button { min-height: 48px; }
.page--owner { max-width: 1180px; margin-inline: auto; }
.owner-welcome { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:0 0 6px; border:0; background:transparent; border-radius:0; }
.owner-welcome h1 { margin: 6px 0px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.owner-welcome p { margin: 5px 0px; color: var(--muted); }
.owner-welcome .eyebrow { color: rgb(101, 115, 135); letter-spacing: 0px; }
.owner-quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 16px; }
.owner-quick-action { display: grid; gap: 8px; text-align: start; padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: rgb(255, 255, 255); cursor: pointer; font: inherit; box-shadow: var(--shadow); }
.owner-quick-action strong { font-size: 1.02rem; color: var(--ink); }
.owner-quick-action span { font-size: 0.83rem; color: var(--muted); line-height: 1.8; }
.owner-quick-action small { color: rgb(32, 80, 184); font-weight: 750; }
.owner-quick-action:hover, .owner-order-link:hover, .owner-stock-link:hover { background: rgb(246, 249, 254); border-color: rgb(198, 215, 239); }
.owner-order-link { width: 100%; border-top: 0px; border-right: 0px; border-left: 0px; border-image: none; border-bottom: 1px solid var(--line); background: white; font: inherit; text-align: start; cursor: pointer; border-radius: 8px; padding: 15px; }
.owner-attention-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 18px; }
.owner-attention-grid .panel { margin: 0px; }
.owner-stock-link { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgb(255, 255, 255); text-align: start; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 0.85rem; cursor: pointer; margin-top: 8px; }
.owner-stock-link strong { color: rgb(149, 96, 19); min-width: 30px; text-align: center; }
.owner-notice { border-inline-start: 4px solid rgb(213, 173, 101); }
.owner-catalog-toolbar { display: grid; grid-template-columns: minmax(0px, 1fr) 190px auto; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: rgb(255, 255, 255); border: 1px solid var(--line); }
.variant-custom-row { display: flex; gap: 10px; align-items: center; }
.variant-custom-row input { min-width: 0px; flex: 1 1 0%; }
.variant-custom-row .button { width: auto; white-space: nowrap; }
.request-list { display: grid; gap: 10px; }
.request-list .result-box { display: grid; gap: 7px; }
.page--owner .metric-card { background: rgb(255, 255, 255); border: 1px solid var(--line); box-shadow: var(--shadow); }
.page--owner .metric-card strong { font-size: 2rem; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: rgb(155, 188, 237) solid 3px; outline-offset: 3px; }
.updates-list { display: grid; gap: 14px; }
.update-card { display: flex; align-items: center; gap: 16px; width: 100%; text-align: start; padding: 22px; border: 1px solid rgb(231, 237, 243); border-radius: 16px; background: rgb(255, 255, 255); color: rgb(32, 41, 54); font: inherit; cursor: pointer; box-shadow: rgba(30, 44, 68, 0.024) 0px 4px 18px; }
.update-card > div { flex: 1 1 0%; min-width: 0px; }
.update-card strong { font-size: 1rem; }
.update-card p { margin: 7px 0px 0px; color: rgb(104, 117, 137); line-height: 1.7; font-size: 0.86rem; }
.update-card:hover { background: rgb(246, 249, 254); border-color: rgb(198, 215, 239); }
.update-mark { display: grid; place-items: center; background: rgb(238, 244, 255); border-radius: 50%; width: 38px; height: 38px; flex: 0 0 auto; color: rgb(32, 80, 184); font-size: 25px; }


/* Finance and catalog library: one task at a time, with logical RTL spacing. */
.finance-tabs { display:flex; flex-wrap:wrap; gap:8px; }
.finance-tabs button { padding:10px 16px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--muted); }
.finance-tabs button[aria-pressed=true] { background:#eef4ff; border-color:#bfd2ff; color:#1e51bd; font-weight:650; }
.payout-progress { list-style:none; padding:0; margin:18px 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.payout-progress li { display:grid; justify-items:start; gap:7px; padding:10px 4px; border-block-start:2px solid var(--line); color:var(--muted); font-size:.7rem; }
.payout-progress li span { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#f2f4f7; }
.payout-progress .is-complete { border-color:#8ccbb0; color:#19734d; }
.payout-progress .is-current { border-color:#1f5eff; color:#1e51bd; }
.payout-progress .is-current span { background:#eef4ff; }
.library-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.library-toolbar input, .library-toolbar select { flex:1; min-width:180px; width:auto; }
.library-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(145px,1fr)); gap:16px; }
.library-grid > .library-card { display:flex; flex-direction:column; gap:10px; padding:12px; border:1px solid var(--line); border-radius:14px; background:white; min-width:0; }
.library-card .photo-thumb, .library-pick .photo-thumb { width:100%; height:auto; aspect-ratio:1; }
.library-card small { color:var(--muted); font-size:.75rem; }
.library-usages { display:flex; flex-wrap:wrap; gap:6px; }
.library-usage { border:0; border-radius:6px; background:#eef4ff; color:#2451a8; font-size:.75rem; padding:6px 8px; text-align:start; overflow-wrap:anywhere; }
.library-empty { grid-column:1/-1; padding:32px 12px; text-align:center; }
.library-pick { padding:8px; border:1px solid var(--line); border-radius:12px; background:white; text-align:start; }
.library-pick span { display:block; margin-top:8px; }
.library-dialog { width:min(840px,calc(100% - 32px)); max-height:88vh; padding:24px; color:var(--ink); border:1px solid var(--line); border-radius:20px; overflow:auto; }
.library-dialog .library-grid { grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); }
.library-dialog::backdrop { background:rgba(19,29,43,.35); }
.library-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.library-dialog-head h2 { margin:0; }
.library-card .row-actions { display:flex; flex-wrap:wrap; gap:6px; }
.library-card .button { padding:6px 8px; font-size:.75rem; }
[hidden] { display:none !important; }

.finance-task-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;}

/* Workspace chrome and operation queues. No simulated analytics. */
.workspace-icon { width:19px; height:19px; flex-shrink:0; }
.workspace-topbar { min-height:66px; padding:12px 28px; display:flex; align-items:center; justify-content:space-between; gap:12px; background:#fff; border-bottom:1px solid var(--line); }
.workspace-context, .workspace-tools { display:flex; align-items:center; gap:12px; min-width:0; }
.workspace-context strong { font-size:14px; font-weight:600; }
.toolbar-icon { display:inline-grid; place-items:center; width:36px; height:36px; border:1px solid var(--line); border-radius:7px; background:#fff; color:#52647e; }
.toolbar-icon:hover { background:#edf4ff; color:var(--accent); }
.nav-group { margin:20px 12px 5px; font-size:11px; color:#95aac8; font-weight:500; }
.navigation-toggle { display:none; }
.work-queue { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.queue-tile { display:flex; align-items:center; gap:14px; padding:20px; border:1px solid var(--line); border-radius:9px; background:#fff; text-align:start; }
.queue-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:9px; background:#edf4ff; color:var(--accent); flex-shrink:0; }
.queue-copy { display:grid; gap:7px; flex:1; }
.queue-copy > span { color:var(--muted); font-size:13px; }
.queue-copy strong { font-size:25px; font-weight:700; line-height:1; font-variant-numeric:tabular-nums; }
.queue-open { color:#8090a8; font-size:22px; }
.queue-tile:hover { border-color:#a5bfe9; background:#fcfdff; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline:3px solid #81aafa; outline-offset:3px; }
@media(max-width:1100px) { .work-queue {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:560px) { .workspace-topbar {padding:12px 14px;gap:8px;} .workspace-tools {gap:6px;} .workspace-topbar .language-control > span {display:none;} .workspace-context strong {font-size:12px;} .work-queue {grid-template-columns:1fr 1fr;gap:8px;} .queue-tile {padding:13px;gap:8px;flex-wrap:wrap;} .queue-icon {width:30px;height:30px;} .queue-copy > span {font-size:12px;} .queue-open {display:none;} }
.sidebar > .wordmark {color:#fff;}
.delivery-filter > input {width:min(100%,370px);padding:11px 13px;border:1px solid var(--line);border-radius:7px;background:#fff;}
.delivery-summary {display:flex;gap:16px;color:var(--muted);font-size:13px;}
.delivery-list--worker {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
.delivery-list--worker > .empty, .delivery-list--worker > .panel--error {grid-column:1 / -1;}
@media(max-width:1150px) {.delivery-list--worker {grid-template-columns:1fr;}}

/* Owner order workbench: one selected order, one set of task actions. */
.table-wrap {overflow:auto;border:1px solid var(--line);border-radius:8px;scrollbar-width:thin;}
.operational-table {width:100%;border-collapse:collapse;background:#fff;}
.operational-table th {background:#f6f9fc;text-align:start;color:#526580;font-size:12px;font-weight:600;padding:12px;white-space:nowrap;}
.operational-table td {text-align:start;padding:15px 12px;border-top:1px solid #edf1f6;font-size:13px;white-space:nowrap;}
.operational-table small {display:block;margin-top:5px;color:var(--muted);font-size:11px;}
.operational-table tr:hover {background:#f8faff;}
.operational-table .is-selected {background:#edf4ff;}
.table-note {font-size:12px;color:var(--muted);margin:12px 0;}
.button--small {min-height:32px;font-size:12px;padding:6px 11px;}
.review-workspace {display:grid;gap:18px;grid-template-columns:minmax(0,1fr);align-items:start;min-width:0;}
.review-workspace.has-detail {grid-template-columns:minmax(0,1fr) minmax(320px,380px);}
.review-workspace .review-detail {position:sticky;top:20px;max-height:calc(100dvh - 40px);overflow:auto;}
.review-detail[hidden] {display:none;}
.review-detail .panel-head {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px;}
.review-detail .order-card {border:0;padding:0;box-shadow:none;}
.review-detail .order-card__head,.review-detail .order-card__topline {flex-direction:column;align-items:start;}
.review-detail .order-summary-row {grid-template-columns:1fr 1fr;}
@media(max-width:1150px) {.review-workspace.has-detail {grid-template-columns:minmax(0,1fr);} .review-workspace .review-detail {position:static;max-height:none;}}

.partner-more-toggle {display:none;}
@media(max-width:780px) {
 .sidebar {display:flex;align-items:end;gap:5px;}
 .portal-nav {flex:1;overflow:visible;min-width:0;}
 .portal-nav button {flex:1 1 0;min-width:0;}
 .portal-nav .nav-secondary {display:none;}
 .partner-more-toggle {display:grid;justify-items:center;gap:5px;align-content:center;min-width:58px;min-height:56px;border:0;border-radius:7px;background:#fff;color:#52647a;font-size:11px;}
 .partner-more-open .sidebar {height:auto;}
 .partner-more-open .portal-nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
 .partner-more-open .portal-nav .nav-secondary {display:grid;}
 .partner-more-open .partner-more-toggle {color:var(--accent);background:#edf4ff;}
}
/* Shop reference system: garment imagery and selected-record actions. */
[hidden] {display:none !important;}
.workspace-shop-logo {width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:9px;overflow:hidden;background:#fff;color:var(--ink);}
.workspace-shop-logo img {width:100%;height:100%;object-fit:contain;}
.workspace-label > div:last-child {min-width:0;}
.workspace-label small {display:block;color:#adbed6;font-size:11px;margin-top:5px;}
.sidebar-preview {border:0;background:none;color:#88b9ff;padding:6px 0 0;text-align:start;font-size:12px;cursor:pointer;}
.workspace-store-context {display:grid;gap:3px;min-width:0;}
.workspace-store-context strong {font-size:14px;}
.workspace-store-context small {color:var(--muted);font-size:11px;}
.workspace-search {display:flex;align-items:center;gap:10px;flex:1;max-width:510px;border:1px solid var(--line);background:#f8fafd;border-radius:8px;padding:6px 10px;}
.workspace-search .workspace-icon {width:18px;flex-shrink:0;color:var(--muted);}
.workspace-search input {flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:12px;}
.workspace-search select {border:0;border-inline-end:1px solid var(--line);background:transparent;max-width:90px;color:var(--muted);font-size:12px;padding-inline-end:6px;}
.workspace-search button {border:0;background:transparent;color:var(--accent);font-size:12px;cursor:pointer;}
.shop-metrics {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;}
.shop-metric {display:flex;align-items:start;gap:14px;text-align:start;border:1px solid var(--line);background:#fff;border-radius:9px;padding:18px 16px;cursor:pointer;min-width:0;}
.shop-metric > div {display:grid;gap:5px;min-width:0;}
.shop-metric strong {font-size:24px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2;}
.shop-metric span:not(.shop-metric-icon) {font-size:12px;}
.shop-metric small {font-size:11px;color:var(--muted);}
.shop-metric-icon {display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);width:36px;height:36px;border-radius:8px;flex:0 0 36px;}
.shop-metric:nth-child(4) .shop-metric-icon {color:var(--amber);background:#fff5e6;}
.shop-metric:hover {border-color:#b5ccef;}
.shop-overview-grid {display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:18px;align-items:start;}
.overview-orders .panel__head p,.overview-stock .panel__head p {font-size:12px;margin-bottom:0;}
.overview-stock-list {display:grid;}
.stock-record {display:flex;align-items:center;gap:12px;justify-content:space-between;min-width:0;width:100%;padding:12px 0;border:0;border-block-start:1px solid var(--line);background:none;text-align:start;cursor:pointer;}
.stock-record:first-child {border:0;}
.stock-record > strong {padding:5px 8px;background:#fff0e7;border-radius:6px;flex-shrink:0;}
.stock-record .record-identity {min-width:0;}
.overview-product-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.overview-product {display:grid;gap:0;padding:0;text-align:start;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;cursor:pointer;min-width:0;}
.overview-product-photo {display:grid;place-items:center;aspect-ratio:1.1;background:#f3f5f8;overflow:hidden;}
.overview-product-photo img {width:100%;height:100%;object-fit:cover;}
.overview-product > div:last-child {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;}
.overview-product strong {grid-column:1 / -1;font-size:13px;}
.overview-product span {font-size:12px;}
.workbench-list {padding:18px;}
.workbench-filters {display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.workbench-search {display:flex;align-items:center;gap:9px;flex:1;min-width:180px;border:1px solid var(--line);border-radius:7px;padding:9px 11px;background:#fff;}
.workbench-search .workspace-icon {width:17px;height:17px;color:var(--muted);}
.workbench-search input {border:0;outline:0;min-width:0;flex:1;width:100%;color:var(--ink);background:transparent;font-size:13px;}
.workbench-filters > select {padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:12px;max-width:210px;}
.table-pagination,.table-pagination > div {display:flex;align-items:center;gap:9px;}
.table-pagination {justify-content:space-between;margin-top:14px;flex-wrap:wrap;}
.table-pagination .table-note {margin:0;}
.table-pagination select {border:1px solid var(--line);border-radius:6px;padding:8px;background:#fff;}
.record-identity {display:flex;align-items:center;gap:10px;min-width:170px;}
.record-identity > div:last-child {min-width:0;}
.record-identity strong {display:block;white-space:normal;font-size:13px;max-width:220px;}
.record-photo {display:grid;place-items:center;width:46px;height:52px;flex:0 0 46px;border-radius:6px;overflow:hidden;background:#f2f5f8;color:var(--muted);}
.record-photo img {width:100%;height:100%;object-fit:cover;}
.operational-table .wrap-cell {white-space:normal;min-width:90px;max-width:240px;}
.category-labels,.variant-labels {display:flex;flex-wrap:wrap;gap:4px;font-size:11px;}
.category-labels > span:first-child {flex-basis:100%;margin-bottom:2px;}
.category-label {padding:3px 6px;background:#f0f4fb;color:#45618a;border-radius:4px;}
.size-label {padding:3px 5px;border:1px solid var(--line);border-radius:4px;font-size:11px;}
.locked-price {display:flex;gap:5px;align-items:center;font-variant-numeric:tabular-nums;}
.locked-price > span {color:var(--accent);font-size:10px;}
.quantity--low {color:#aa591c;font-variant-numeric:tabular-nums;}
.quantity--good {color:var(--green);font-variant-numeric:tabular-nums;}
.record-detail {display:grid;gap:16px;min-width:0;}
.record-detail > p {margin:0;}
.record-detail small,.record-reference {font-size:12px;color:var(--muted);overflow-wrap:anywhere;}
.record-detail h2 {margin:0;}
.record-facts {margin:0;display:grid;}
.record-facts > div {display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px;}
.record-facts dt {color:var(--muted);}
.record-facts dd {margin:0;text-align:end;font-weight:600;overflow-wrap:anywhere;max-width:65%;font-variant-numeric:tabular-nums;}
.record-detail-actions {display:grid;gap:8px;padding-block-start:8px;}
.record-detail-actions .button {width:100%;}
.record-detail-actions details {margin-top:8px;font-size:12px;color:var(--muted);}
.record-detail-actions details > .button {margin-top:10px;}
.detail-product-photo {display:grid;place-items:center;width:100%;height:160px;overflow:hidden;border-radius:8px;background:var(--paper);}
.detail-category-photo {display:grid;place-items:center;width:100%;aspect-ratio:1.15;max-height:360px;border-radius:8px;background:#f3f5f8;overflow:hidden;}
.detail-product-photo img {width:100%;height:100%;object-fit:contain;}
.detail-category-photo img {width:100%;height:100%;object-fit:cover;}
.price-lock-note {border:1px solid #f1debd;background:#fff7eb;color:#865820;padding:12px;border-radius:7px;font-size:12px;}
.product-category-field {grid-column:1 / -1;}
.category-multiselect {border:1px solid var(--line);padding:15px;border-radius:8px;display:flex;flex-wrap:wrap;gap:10px 18px;margin:0;}
.category-multiselect legend {padding:0 6px;font-size:13px;font-weight:600;}
.category-multiselect p {width:100%;font-size:12px;margin:0 0 4px;}
.category-multiselect .check-row {font-size:13px;}
.marketing-current {display:flex;align-items:center;gap:10px;font-size:13px;padding:14px 18px;border:1px solid var(--line);border-radius:8px;background:#fff;}
.document-history {border-block-start:1px solid var(--line);padding-top:12px;font-size:12px;}
.record-detail .form-grid {grid-template-columns:1fr;gap:14px;border-block-start:1px solid var(--line);padding-top:16px;}
.record-detail .form-grid > * {grid-column:1;}
.record-detail .payout-progress {margin:0;}
.library-table .library-card {background:transparent;}
.library > input[type=search],.library-toolbar select {min-height:42px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font:inherit;font-size:13px;}
.library > input[type=search] {width:100%;}
.library-toolbar select {flex:1;min-width:0;}
.library-toolbar input[type=file] {min-width:0;max-width:100%;font-size:12px;}
.library-toolbar input::file-selector-button {border:1px solid var(--line);border-radius:6px;padding:9px 12px;margin-inline-end:10px;background:#f5f8fc;color:var(--ink);font:inherit;cursor:pointer;}
.locked-price .workspace-icon {width:13px;height:13px;}
.workspace-tools #pwa-controls {position:relative;padding:0;border:0;background:transparent;flex-shrink:0;}
.workspace-tools .pwa-install {border-radius:7px;border-color:var(--line);min-height:36px;padding:7px 10px;background:#fff;color:var(--muted);font-size:12px;}
.workspace-tools .pwa-hint {position:absolute;top:100%;inset-inline-end:0;z-index:30;width:min(300px,75vw);padding:14px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #10213b1a;}

@media(max-width:1280px) {
 .shop-metrics {grid-template-columns:repeat(3,minmax(0,1fr));}
 .shop-overview-grid {grid-template-columns:1fr;}
 .overview-stock-list {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;}
 .workspace-search {max-width:390px;}
}
@media(max-width:780px) {
 .workspace-topbar {flex-wrap:wrap;}
 .workspace-search {order:3;max-width:none;flex-basis:100%;}
 .shop-metrics {grid-template-columns:repeat(2,minmax(0,1fr));}
 .shop-metric {gap:10px;padding:14px 12px;}
 .shop-metric strong {font-size:21px;}
 .shop-metric-icon {width:30px;height:30px;flex-basis:30px;}
 .overview-product-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .overview-stock-list {grid-template-columns:1fr;}
 .workbench-filters > select {flex:1;max-width:none;min-width:100px;}
 .workbench-search {flex-basis:100%;}
 .page-head {align-items:start;gap:14px;}
 .workbench-list {padding:14px;}
 .overview-orders .panel__head,.overview-stock .panel__head {flex-direction:row;}
 .table-pagination .button {min-width:70px;}
 .workspace-label {display:none;}
}
/* Responsive and accessibility variants (ordered by original cascade). */
@media (max-width: 1080px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .order-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-card { min-height: 100vh; padding: 18px; }
  .auth-card__body { padding: 28px 22px; }
  .portal-shell { display: block; }
  .sidebar { flex-direction:row;overflow:visible;position: fixed; z-index: 10; inset: auto 0px 0px; display: flex; align-items:end; gap:5px; width: auto; height: 76px; padding:7px 10px; background:#fff; color:var(--ink); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
  .sidebar > .wordmark, .workspace-label, .logout { display: none; }
  .portal-nav { display:flex; overflow:visible; gap:4px; }
  .portal-nav--delivery { grid-template-columns: repeat(3, 1fr); }
  .portal-nav button {display:grid;grid-template-columns:1fr;justify-items:center;gap:5px;padding:7px 3px;font-size:11px;}
  .portal-nav .nav-marker, .portal-nav .nav-copy small { display: none; }
  .portal-nav .nav-copy { display: block; width: auto; height: auto; }
  .portal-nav .nav-copy strong { font-size: 0.68rem; }
  .mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .mobile-head > span:last-child { color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
  .page-head { flex-direction: column; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .panel__head, .split-panel, .product-card__title, .order-card__head { align-items: stretch; flex-direction: column; }
  .compact-row, .variant-row { align-items: flex-start; flex-direction: column; }
  .compact-row__end, .variant-row__actions { width: 100%; justify-content: space-between; }
  .order-card__status { justify-items: start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid > * { grid-column: 1 !important; }
  .step-guide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .metric-grid {grid-template-columns:1fr 1fr;}
  .head-actions, .head-actions .button, .product-card__actions .button, .order-card__actions .button { width: 100%; }
  .order-meta { grid-template-columns: 1fr; }
  .line-item { flex-direction: column; }
  .courier-strip { align-items: flex-start; flex-direction: column; }
  .metric-grid--three { grid-template-columns: 1fr; }
  .delivery-card__head { align-items: stretch; flex-direction: column; }
  .delivery-card__footer { flex-direction: column; }
  .pickup-row, .destination { grid-template-columns: auto 1fr; align-items: start; }
  .pickup-row__actions, .destination > .map-links { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { scroll-behavior: auto !important; transition: none !important; }
}
@media (max-width: 780px) {
  .sidebar { border-left-width: 0px; border-left-style: none; border-left-color: var(--line); }
  .portal-nav button {flex:1 1 0; color:#52647a; min-height:56px;}
  .portal-nav button.is-active {background:#edf4ff;color:var(--accent);}
  .portal-nav .workspace-icon {width:18px;height:18px;}
  .portal-nav--delivery { grid-template-columns: repeat(3, 1fr); }
  .mobile-head .wordmark--dark { color: var(--ink); }
  .portal-main { padding-top: 22px; }
  .category-card { flex-basis: 170px; }
  .catalog-product__main { grid-template-columns: 46px minmax(0px, 1fr); }
  .product-thumb { width: 46px; height: 46px; }
  .catalog-product__numbers { grid-column: 2; justify-items: start; grid-auto-flow: column; gap: 10px; }
  .form-grid--product { grid-template-columns: 1fr; }
  .list-toolbar { align-items: stretch; }
  .sort-select, .segmented { width: 100%; }
  .segmented { justify-content: stretch; }
  .segmented button { flex: 1 1 0%; }
  .location-card, .store-state-card { align-items: stretch; flex-direction: column; }
  .location-card .button, .profile-submit, .courier-strip small { width: 100%; }
  .delivery-card--worker { padding: 16px; }
  .delivery-worker-head { align-items: stretch; flex-direction: column; }
  .delivery-worker-state { grid-template-columns: auto 1fr; place-items: center start; }
  .pickup-row--worker { grid-template-columns: auto 1fr; }
  .pickup-row--worker > :last-child { grid-column: 1 / -1; width: 100%; }
  .worker-pickup-button { width: 100%; min-height: 52px; }
  .map-links a { min-height: 36px; display: inline-flex; align-items: center; padding-inline: 6px; }
  .delivery-secondary-actions { justify-content: stretch; }
  .delivery-secondary-actions .button { width: 100%; }
}
@media (max-width: 640px) {
  .variant-stock-row { grid-template-columns: 1fr 90px; }
}
@media (max-width: 760px) {
  .page--delivery-worker .segmented { display: flex; }
  .page--delivery-worker .segmented button { font-size: 0.82rem; padding: 9px 8px; }
  .worker-next-step { font-size: 0.88rem; }
  .delivery-worker-head { gap: 12px; }
}
@media (max-width: 900px) {
  .owner-quick-actions, .owner-attention-grid { grid-template-columns: 1fr; }
  .owner-welcome { flex-direction: column; align-items: stretch; padding: 22px; }
  .owner-welcome .head-actions { justify-content: flex-start; }
  .owner-catalog-toolbar { grid-template-columns: 1fr 160px; }
  .owner-catalog-toolbar > span { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .owner-catalog-toolbar { grid-template-columns: 1fr; }
  .owner-catalog-toolbar > span { grid-column: auto; }
  .variant-custom-row { flex-wrap: wrap; }
  .variant-custom-row input { flex-basis: 100%; }
  .owner-order-link { gap: 10px; }
  .page--owner .head-actions .button { width: 100%; }
  .update-card { padding: 16px; gap: 12px; }
}

.language-control { display:flex; align-items:center; gap:8px; width:max-content; margin:0; font-size:12px; color:var(--muted); }
.language-control select { width: auto; min-height: 34px; padding: 5px 8px; background: white; color: #202733; border: 1px solid #e5eaf0; border-radius: 8px; }
.mobile-header .language-control, .mobile-head .language-control { margin: 0; }
[dir=rtl] .eyebrow { letter-spacing: 0; }

/* Home marketing: one live placement, one image per request. */
.marketing-section { display:grid; gap:20px; }
.marketing-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; align-items:start; }
.marketing-live { display:grid; gap:14px; }
.marketing-photo { aspect-ratio:1.8; width:100%; overflow:hidden; background:#f4f6f8; display:grid; place-items:center; border-radius:12px; color:#607087; }
.marketing-photo img { width:100%; height:100%; object-fit:cover; }
.marketing-image-preview { min-height:140px; display:grid; place-items:center; border:1px dashed #d5dee8; border-radius:12px; padding:8px; }
.marketing-image-preview .marketing-photo { max-height:280px; }
.marketing-picker { display:grid; gap:12px; min-width:0; }
.marketing-request { display:grid; grid-template-columns:180px minmax(0,1fr); gap:20px; padding:18px; border:1px solid #e5eaf0; border-radius:14px; }
.marketing-request h3,.marketing-live h3 { margin:0; }
.marketing-request .panel-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.marketing-picker .library-grid { max-height:320px; overflow:auto; }
@media(max-width:760px) { .marketing-layout { grid-template-columns:1fr; } .marketing-request { grid-template-columns:1fr; } .marketing-request .marketing-photo { max-height:220px; } }
/* Courier history: one compact earnings strip, one selected record. */
.history-earnings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.history-earnings > div > span { display:block; color:var(--muted); margin-bottom:6px; }
.history-earnings strong { font-size:24px; line-height:1.25; }
.history-total-note { grid-column:1/-1; margin:0; }
.history-shops { margin:0; padding-inline-start:20px; }
.history-shops li { margin-bottom:12px; }
.history-shops small { display:block; margin-top:4px; color:var(--muted); }
.request-error > p { margin:0 0 8px; }
.diagnostic-detail { font-size:12px; overflow-wrap:anywhere; text-align:start; }
.payout-request-form > .muted-note { margin:0; }

/* A framed search control shares the same 44px outer border as adjacent filters. */
.workbench-search {height:44px;padding:0 11px;}
.workbench-search input[type=search] {height:42px !important;padding:0;}

/* Courier phone work: a single column with the next stop in the same delivery. */
.page--delivery-worker {display:block;max-width:760px;width:100%;min-width:0;margin-inline:auto;--delivery-muted:#52647a;}
.delivery-page-head {margin-bottom:20px;}
.delivery-page-head h1 {font-size:1.65rem;margin:0 0 6px;}
.delivery-page-head p {font-size:14px;margin:0;color:var(--delivery-muted);}
.delivery-search {display:flex;gap:8px;align-items:center;margin-bottom:12px;}
.delivery-search input {min-width:0;flex:1;min-height:48px;font-size:14px;border:1px solid #b8c6d9;border-radius:8px;padding:10px 12px;background:#fff;color:var(--ink);}
.delivery-search .button {min-height:48px;padding:10px 14px;gap:6px;}
.delivery-announcement {font-size:14px;color:#24523e;margin:0;}
.delivery-announcement:not(:empty) {margin-block:12px 20px;}
.delivery-sections {display:grid;gap:28px;}
.delivery-group-head {display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px;}
.delivery-group-head h2 {font-size:1.15rem;margin:0;}
.delivery-count {min-width:28px;text-align:center;border-radius:6px;background:#eaf0fa;padding:3px 8px;font-size:14px;font-weight:700;}
.delivery-list--phone {display:grid;grid-template-columns:minmax(0,1fr);gap:16px;}
.delivery-phone-card {min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;scroll-margin-block:90px;}
.delivery-card-heading {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:14px;}
.delivery-reference {font-size:1.12rem;font-weight:750;overflow-wrap:anywhere;}
.delivery-phone-card .status {font-size:12px;white-space:normal;}
.delivery-payment {display:flex;align-items:center;gap:8px;color:#24523e;font-size:14px;flex-wrap:wrap;}
.delivery-payment.is-cash {color:#174f38;}
.delivery-payment bdi {margin-inline-start:auto;font-size:1.3rem;font-weight:750;font-variant-numeric:tabular-nums;}
.delivery-route-overview {display:grid;gap:10px;margin-block:16px;}
.delivery-route-overview p {display:flex;gap:10px;align-items:flex-start;margin:0;font-size:15px;color:var(--ink);}
.delivery-route-overview .workspace-icon {margin-top:2px;color:var(--delivery-muted);}
.delivery-route-overview strong,.delivery-route-overview span {min-width:0;overflow-wrap:anywhere;line-height:1.65;}
.delivery-next-label {font-size:14px;color:#244b8e;margin:0 0 12px;font-weight:650;}
.delivery-route {border-top:1px solid var(--line);}
.delivery-route > summary {display:flex;align-items:center;gap:9px;min-height:48px;padding-block:10px;cursor:pointer;font-size:14px;font-weight:650;list-style:none;}
.delivery-route > summary::-webkit-details-marker {display:none;}
.delivery-route > summary > .workspace-icon:last-child {margin-inline-start:auto;width:16px;}
.delivery-route[open] > summary {color:#1c50a4;}
.delivery-route-body {padding-top:4px;}
.delivery-progress {font-size:14px;font-weight:650;color:var(--delivery-muted);margin:4px 0 12px;}
.pickup-stops {list-style:none;margin:0;padding:0;display:grid;gap:14px;}
.pickup-stop {padding:16px 0;border-top:1px solid var(--line);scroll-margin-block:90px;}
.pickup-stop.is-next {background:#f0f5ff;padding:16px;border:1px solid #c8d9f5;border-radius:12px;}
.pickup-stop-heading {display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
.pickup-stop-heading h3 {flex:1;min-width:90px;margin:0;font-size:16px;overflow-wrap:anywhere;}
.pickup-number {display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border:1px solid #a6b6cd;border-radius:50%;font-size:13px;font-weight:700;}
.pickup-stop.is-done .pickup-number {background:#e8f4eb;border-color:#b7d7c3;color:#215439;}
.pickup-next-badge {color:#244b8e;font-size:12px;font-weight:700;}
.pickup-address,.delivery-customer > p {margin:10px 0 12px;font-size:15px;line-height:1.65;overflow-wrap:anywhere;color:var(--ink);}
.pickup-links {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;}
.delivery-map-links {display:flex;gap:8px;flex-wrap:wrap;}
.delivery-map-links .button,.pickup-links > .button {min-height:46px;min-width:72px;padding:9px 12px;font-size:14px;gap:6px;}
.delivery-phone-card .worker-pickup-button,.delivery-phone-card .worker-main-button {display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:52px;font-size:16px;padding:12px;white-space:normal;line-height:1.5;}
.delivery-phone-card > .worker-main-button {margin-top:10px;}
.delivery-customer {border-top:1px solid var(--line);margin-top:16px;padding-top:18px;scroll-margin-block:90px;}
.delivery-customer h3 {font-size:16px;margin:0;}
.delivery-customer.is-next {padding:16px;background:#edf7f0;border:1px solid #bfdac9;border-radius:12px;}
.delivery-customer .worker-main-button {margin-top:14px;}
.delivery-notes {font-size:14px !important;color:var(--delivery-muted) !important;}
.delivery-help {width:100%;min-height:46px;margin-top:14px;}
.delivery-phone-card .delivery-secondary-actions {margin-top:14px;}
.delivery-phone-card .delivery-secondary-actions .button {min-height:46px;font-size:14px;}
.delivery-empty {padding:22px 16px;margin:0;background:#fff;border:1px solid var(--line);border-radius:12px;font-size:14px;color:var(--delivery-muted);}
.page--delivery-worker .request-error {overflow-wrap:anywhere;}
.cash-handoff-amount bdi {font-size:2rem;font-weight:750;}
.portal-shell--delivery .toolbar-icon {width:44px;height:44px;}
@media(max-width:780px) {
 .portal-shell--delivery .portal-main {padding:18px 12px 108px;}
 .portal-shell--delivery .workspace-topbar {padding:10px 12px;}
 .portal-shell--delivery .workspace-store-context {display:none;}
 .portal-shell--delivery .workspace-tools {width:100%;justify-content:flex-end;flex-wrap:wrap;}
 .portal-shell--delivery .workspace-tools .language-control {margin-inline-end:auto;}
 .portal-shell--delivery .sidebar {height:auto;min-height:76px;padding-bottom:max(8px,env(safe-area-inset-bottom));}
 .portal-shell--delivery .portal-nav button {min-height:56px;}
 .portal-shell--delivery .portal-nav strong {font-size:13px;}
 .portal-shell--delivery .toast {bottom:100px;}
}
@media(max-width:360px) {
 .delivery-phone-card {padding:14px;}
 .pickup-stop.is-next {padding:12px;}
 .delivery-search .button {padding-inline:10px;}
}

.page--delivery-history {display:block;max-width:760px;margin-inline:auto;--delivery-muted:#52647a;}
.delivery-route[open] > summary > .workspace-icon:last-child {transform:rotate(180deg);}
.delivery-history-tabs {display:flex;gap:8px;margin-block:14px;}
.delivery-history-tabs button {flex:1;min-height:48px;font-size:15px;}
.page--delivery-history .history-earnings {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px;margin-bottom:18px;}
.page--delivery-history .history-earnings > div {min-width:0;}
.page--delivery-history .history-earnings strong {font-size:1.4rem;overflow-wrap:anywhere;}
.page--delivery-history .history-total-note {grid-column:1 / -1;margin:0;font-size:14px;color:var(--delivery-muted);}
.page--delivery-history .muted-note {font-size:13px;margin-block:12px;}
.delivery-history-time {font-size:14px;color:var(--delivery-muted);margin-block:0 14px;}
.delivery-history-amount {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-block:12px;align-items:baseline;}
.delivery-history-amount bdi {font-size:1.4rem;font-weight:700;}
.delivery-history-shops {margin:0;padding:0;list-style:none;}
.delivery-history-shops li {padding-block:12px;border-top:1px solid var(--line);}
.delivery-history-shops p {margin:6px 0 0;font-size:14px;color:var(--delivery-muted);overflow-wrap:anywhere;}
.delivery-phone-card .delivery-route h3 {font-size:16px;}

.refund-status-line{display:flex;align-items:center;gap:6px;margin-block-start:6px;font-size:12px;line-height:1.6}.refund-receipt-section{border-top:1px solid var(--line);padding-block:14px}.refund-receipt-section h3{margin:0 0 10px;font-size:14px}.refund-receipt-section .snapshot{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-block:8px}.manual-refund-form{border-top:1px solid var(--line);padding-block-start:16px}

/* Compact garment entry: one size, its chosen colours and exact quantities. */
.variant-size-entry { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:8px; }
.variant-entry-field { display:grid; gap:6px; min-width:0; font-size:13px; }
.variant-entry-field input { width:100%; }
.variant-editor .size-tabs:empty { display:none; }
.variant-editor { gap:16px; }
.variant-size-panel { gap:12px; }
.product-editor-section .variant-empty { margin:0; font-size:14px; color:var(--ink); }
.variant-color-picker { gap:8px; padding:12px; background:#f7f8fa; border-radius:12px; }
.variant-shade-picker { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:12px; }
.variant-shade-picker .button { min-height:44px; }
.variant-editor .variant-shade-field input[type=color] { width:64px; height:44px; padding:2px; background:white; }
.variant-stock-field { grid-template-columns:minmax(0,1fr) 76px; }
.variant-stock-head { padding-inline-end:52px; font-size:13px; }
.variant-stock-head strong { font-weight:600; }
.variant-remove-color { min-width:44px; min-height:44px; padding:8px 4px; border:0; box-shadow:none; background:transparent; }
.variant-color-label .catalog-swatch { width:26px; height:26px; }
.product-editor-section .variant-total { text-align:end; color:var(--muted); font-size:13px; }
.variant-ready-colors summary, .variant-size-options summary { min-height:44px; padding-block:12px; font-size:13px; color:var(--ink); cursor:pointer; }
.variant-ready-colors .variant-custom-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:8px; margin-top:12px; }
.variant-editor .button--secondary { box-shadow:none; background:#f3f5f7; color:var(--ink); border-color:#e5e9ed; }
.variant-size-options { border-top:1px solid var(--line); }
.product-editor-section > div > strong { font-size:17px; }

.product-editor-form .product-category-field .category-multiselect { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px 12px; padding:0; border:0; }
.product-editor-form .product-category-field .category-multiselect p { grid-column:1/-1; margin:0; }
.product-editor-form .product-category-field .category-multiselect .check-row { min-height:44px; }
@media (max-width:780px) { .product-editor-form .product-category-field .category-multiselect { grid-template-columns:repeat(2,minmax(0,1fr)); } }
