:root {
  --bg: #f3f4f6; --card: #fff; --text: #15171c; --muted: #6b7280; --line: #e5e7eb;
  /* Фирменный цвет #00449e (CMYK 100/57/0/38): шапка, кнопки, акценты */
  --brand: #00449e; --on-brand: #fff;
  --accent: #00449e; --accent-soft: #e6edf8; --on-accent: #fff;
  --ok: #15803d; --warn: #b45309; --danger: #b91c1c; --out: #9aa0aa;
  --radius: 14px; --tabs-h: 60px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115; --card: #191c22; --text: #e9ebef; --muted: #9aa1ad; --line: #2a2f38;
    --brand: #00449e;
    --accent: #7aa7f0; --accent-soft: #14233d; --on-accent: #04112b;
    --ok: #4ade80; --warn: #f5a524; --danger: #f87171; --out: #5d6470;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.35 Arial, "Liberation Sans", Helvetica, sans-serif;
  padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 72px);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- шапка ---------- */
#top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px;
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px; background: var(--brand); color: var(--on-brand);
  border-bottom: 1px solid rgba(0, 0, 0, .15);
}
#title { flex: 1; margin: 0; font-size: 19px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-mark { fill: currentColor; stroke: none; }
#mark { width: 30px; height: 26px; flex: none; margin: 0 2px; }
#wh {
  max-width: 46%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .14); color: var(--on-brand);
  border-radius: 999px; padding: 7px 12px; font-size: 14px;
}
#wh option { color: var(--text); background: var(--card); }
#top .icon-btn { color: var(--on-brand); }
#top .icon-btn:active { background: rgba(255, 255, 255, .18); }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px;
  background: transparent; cursor: pointer;
}
.icon-btn:active { background: var(--line); }
#searchbar { position: sticky; top: 57px; z-index: 19; display: flex; gap: 8px; padding: 8px 12px; background: var(--bg); }
.search { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.search svg { width: 20px; height: 20px; color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.file-btn { position: relative; overflow: hidden; cursor: pointer; }
.file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search .clear { flex: none; width: 30px; height: 30px; margin-right: -4px; padding: 0; border: 0; border-radius: 50%; background: var(--line); color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search .clear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.search input:placeholder-shown + .clear { display: none; }
#scan { background: var(--card); border: 1px solid var(--line); width: 46px; height: 46px; }
body.guest #top, body.guest #searchbar, body.guest #tabs, body.guest #pill { display: none !important; }
#status { margin: 0 12px 8px; padding: 8px 12px; border-radius: 10px; background: #fff4e5; color: #7a4a00; font-size: 14px; }
@media (prefers-color-scheme: dark) { #status { background: #3a2a10; color: #f5c97a; } }

main { padding: 4px 12px 12px; max-width: 760px; margin: 0 auto; }

/* ---------- плитки групп ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 104px; padding: 14px;
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
}
.tile-name { font-weight: 650; font-size: 16px; }
.tile-meta { display: block; color: var(--muted); font-size: 14px; white-space: nowrap; }
.tile-meta b { color: var(--text); }
.tile-foot { display: block; }
.tile .bar { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 8px; }
.tile .bar i { display: block; height: 100%; background: var(--accent); }
.section-title { margin: 18px 4px 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* ---------- списки ---------- */
.list { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.row { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .muted { color: var(--muted); font-size: 14px; }
.chev { color: var(--muted); width: 18px; height: 18px; }
.found { margin: 4px 4px 8px; color: var(--muted); font-size: 14px; }

.item { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); align-items: center; }
.item:first-child { border-top: 0; }
.item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item-name { font-weight: 560; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.item-sub { font-size: 13px; color: var(--muted); }
.item-stock { font-size: 13px; color: var(--ok); font-weight: 560; }
.item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.item-price { font-weight: 650; white-space: nowrap; }
.item.out .item-name, .item.out .item-price { color: var(--out); }
.item.out .item-stock { color: var(--out); font-weight: 400; }
.more { display: block; width: 100%; margin-top: 10px; }

/* ---------- кнопки, степпер ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 16px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 600; cursor: pointer;
  text-align: center; line-height: 1.2;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.btn-add {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 38px; padding: 0 14px;
  border: 0; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: 15px;
  line-height: 1; white-space: nowrap; text-align: center; cursor: pointer;
}
.step { display: inline-flex; align-items: center; background: var(--accent); color: var(--on-accent); border-radius: 10px; height: 38px; }
.step button {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0;
  border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer;
}
.step input {
  width: 48px; border: 0; background: transparent; color: inherit; text-align: center; font-weight: 650; font-size: 16px;
  -moz-appearance: textfield;
}
.step input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- карточка товара ---------- */
.card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; margin-bottom: 12px; }
.card h2 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.props { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; margin: 10px 0 0; }
.props dt { color: var(--muted); }
.props dd { margin: 0; }
.wh-head { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 4px 8px; }
.wh-head h3 { margin: 0; font-size: 16px; }
.wh-head span { color: var(--muted); font-size: 14px; }
.batch { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.batch:first-child { border-top: 0; }
.batch .grow { flex: 1; min-width: 0; }
.b-ch { font-size: 15px; }
.b-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.b-price { font-size: 15px; font-weight: 650; margin-top: 2px; white-space: nowrap; }
.empty { text-align: center; color: var(--muted); padding: 32px 16px; }

/* ---------- корзина ---------- */
.cline { padding: 12px 14px; border-top: 1px solid var(--line); }
.cline:first-child { border-top: 0; }
.cline .top { display: flex; gap: 10px; }
.cline .name { flex: 1; font-weight: 560; }
.cline .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cline .bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.cline .sum { font-weight: 650; }
.cline .warn { color: var(--danger); font-size: 13px; margin-top: 6px; }
.del { color: var(--muted); width: 36px; height: 36px; }
.totals { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; font-weight: 700; margin: 14px 4px; }
.totals span:first-child { font-weight: 500; color: var(--muted); font-size: 15px; }
.field { display: block; margin-bottom: 10px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin: 0 4px 4px; }
.field input, .field textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 16px;
}
.field textarea { min-height: 72px; resize: vertical; }
.actions { display: grid; gap: 8px; margin-top: 12px; }

/* ---------- форма заявки ---------- */
.cline .rc { font-size: 14px; text-align: right; line-height: 1.3; }
.cline .rc .muted { color: var(--muted); font-size: 13px; }
.line-sum { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.ls-label { flex: none; font-size: 14px; color: var(--muted); }
.line-sum .sum-input { flex: 1; min-width: 0; }
.line-sum input, .line-note {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 16px;
}
.line-sum input { text-align: right; font-weight: 650; }
.line-note { margin-top: 8px; font-size: 15px; }
.line-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.line-total .muted { color: var(--muted); font-size: 14px; }
.line-total b { font-size: 16px; }
.dev { font-size: 13px; font-weight: 600; text-align: right; min-height: 0; margin-top: 4px; }
.dev:empty { display: none; }
.note { margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: var(--bg); font-size: 14px; }
.card.form { padding: 14px; }
.card.form .field:last-child { margin-bottom: 0; }
.field select, .field input[type=date] {
  width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 16px;
}
/* Safari на iPhone рисует поле даты по-своему: шире карточки и с текстом по центру — приводим к виду остальных полей */
.field input[type=date] {
  display: block; min-width: 0; max-width: 100%; box-sizing: border-box;
  -webkit-appearance: none; appearance: none; text-align: left; line-height: 44px;
}
.field input[type=date]::-webkit-date-and-time-value { text-align: left; margin: 0; min-height: 1.2em; }
.field input[type=date]::-webkit-datetime-edit { padding: 0; }
.field input[type=date]::-webkit-calendar-picker-indicator { margin: 0; }
.btn-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 4px;
  border: 0; background: none; color: var(--accent); font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
}
.hint { font-size: 13px; color: var(--muted); margin: 6px 4px; }
.dropdown { margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-height: 320px; overflow-y: auto; }
.dd-item { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-top: 1px solid var(--line); background: var(--card); cursor: pointer; }
.dd-item:first-child { border-top: 0; }
.dd-item:active { background: var(--accent-soft); }
.dd-name { display: block; font-weight: 560; }
.dd-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.new-client { margin-top: 10px; }
.new-client .field { margin-bottom: 4px; }
.chip-client { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); }
.chip-client .grow { flex: 1; min-width: 0; }
.tp-row { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.tp-label { width: 34px; font-size: 14px; font-weight: 650; color: var(--muted); flex: none; }
.tp-row select { flex: 1; min-width: 0; height: 44px; }
.tp-row .tp-pct { width: 72px; flex: none; height: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-align: right; font-size: 16px; }
.tp-pct[readonly] { background: var(--bg); color: var(--muted); }
.tp-unit { color: var(--muted); }
.tp-del { width: 36px; height: 36px; font-size: 22px; color: var(--muted); }
.seg { display: flex; gap: 6px; }
.seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; line-height: 1; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-weight: 600; cursor: pointer; }
.seg button.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.srow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 2px; }
.srow > span { color: var(--muted); }
.srow > b { text-align: right; white-space: nowrap; }
.srow.big { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 18px; }
.srow.big > span { color: var(--text); font-size: 15px; }
.list + .card, .list + .totals { margin-top: 12px; }
.pos { color: var(--ok); }
.neg { color: var(--danger); }
.sum-input { display: flex; align-items: center; gap: 8px; }
.sum-input input { flex: 1; min-width: 0; font-size: 18px; font-weight: 650; }
.props dd.pre { white-space: pre-line; }

/* ---------- заказы ---------- */
.order { padding: 14px; border-top: 1px solid var(--line); }
.order:first-child { border-top: 0; }
.order .head { display: flex; justify-content: space-between; gap: 8px; font-weight: 650; }
.order .sub { color: var(--muted); font-size: 13px; margin: 2px 0 8px; }
.tag {
  display: inline-flex; align-items: center; height: 22px; margin-top: 6px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 650; line-height: 1; white-space: nowrap;
}
.tag.new { background: #fff1db; color: #8a4b00; }
.tag.tag-done { background: #e3f5e8; color: #166534; }
.tag.work { background: var(--accent-soft); color: var(--accent); }
.tag.cancelled { background: var(--line); color: var(--muted); }
.tag.tag-admin { background: #e3f5e8; color: #166534; }
@media (prefers-color-scheme: dark) {
  .tag.new { background: #3a2a10; color: #f5c97a; }
  .tag.tag-done { background: #12301c; color: #86efac; }
  .tag.tag-admin { background: #12301c; color: #86efac; }
}
.card > .tag { margin: 0 0 4px; }
.res { color: var(--warn); }
.res-tag { font-size: 13px; font-weight: 650; color: var(--warn); white-space: nowrap; }
.btn.danger { color: var(--danger); }
.order-link { display: flex; align-items: center; gap: 8px; }
.order-link .grow { flex: 1; min-width: 0; }
.order-link .head, .order-link .sub { display: flex; }
.order-link .sub { display: block; }
.order-actions .btns { display: flex; gap: 8px; margin-top: 8px; }
.order-actions .btn { flex: 1; white-space: nowrap; font-size: 15px; padding: 0 10px; }
.order .btns .btn { flex: 1; white-space: nowrap; padding: 0 10px; }
.order .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.order .btns .btn { min-height: 38px; font-size: 14px; }
.done { text-align: center; padding: 24px 8px 8px; }
.done .ok { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.done .ok svg { width: 34px; height: 34px; }
.done h2 { margin: 0 0 6px; }

/* ---------- вход ---------- */
.login { max-width: 380px; margin: 12vh auto 0; padding: 0 8px; }
.login .logo { width: 72px; height: 72px; border-radius: 20px; background: var(--brand); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.login .logo svg { width: 44px; height: 38px; }
.login .brand-name { margin: 0 0 2px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.login h1 { margin: 0 0 4px; font-size: 24px; }
.login p.lead { margin: 0 0 20px; color: var(--muted); }
.err { color: var(--danger); min-height: 1.4em; font-size: 14px; }
.err.good { color: #1a7f37; }
/* Поле пароля с «глазком» */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-wrap .eye {
  position: absolute; top: 0; right: 0; width: 48px; height: 100%; padding: 0; border: 0; background: transparent;
  color: var(--muted); display: grid; place-items: center; cursor: pointer; border-radius: 12px;
}
.pw-wrap .eye:active { color: var(--accent); }
.pw-wrap .eye svg { width: 22px; height: 22px; }
.notice { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fff4e5; color: #7a4a00; font-size: 14px; line-height: 1.4; }
@media (prefers-color-scheme: dark) { .notice { background: #3a2a10; color: #f5c97a; } }
.order-actions .btns, .order .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.actions.logout { margin-top: 12px; }
/* Меню «Посмотреть / Отправить файлом» для PDF */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; display: grid; gap: 10px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--card); border-radius: 18px 18px 0 0; }
.sheet h3 { margin: 0; font-size: 17px; }
.sheet .hint { margin: 0; min-height: 1.3em; word-break: break-word; }
.list-top { margin-top: 12px; }
.row .tag { margin: 0 0 0 8px; vertical-align: middle; }  /* метки «Админ» и «Закрыт» стоят в строке с именем */
.order .head > span:first-child { min-width: 0; }
.order .head > span:last-child { flex: none; white-space: nowrap; }  /* сумма с «₽» не переносится на вторую строку */
.mgr-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.creds { margin: 8px 0 12px; padding: 12px; border-radius: 10px; background: var(--bg); white-space: pre-wrap; word-break: break-all; font: 15px/1.5 Consolas, "Courier New", monospace; user-select: all; }
.card form .btn-link { margin: -2px 0 10px 2px; }
details.pw { margin-top: 12px; }
details.pw .btn { margin-top: 4px; }
details.pw summary { position: relative; cursor: pointer; font-weight: 700; list-style: none; padding: 2px 24px; text-align: center; }
details.pw summary::-webkit-details-marker { display: none; }
details.pw summary::after { content: '▾'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--muted); }
details.pw[open] summary { margin-bottom: 12px; }
details.pw[open] summary::after { content: '▴'; }
#tpErr:empty { min-height: 0; }

/* ---------- нижняя панель ---------- */
#tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; height: calc(var(--tabs-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: var(--card); border-top: 1px solid var(--line);
}
#tabs a { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--muted); }
#tabs a.active { color: var(--accent); }
#badge {
  position: absolute; top: 5px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
#pill {
  position: fixed; z-index: 29; left: 12px; right: 12px; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 10px);
  max-width: 736px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
  height: 52px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--accent); color: var(--on-accent);
  font-weight: 650; font-size: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.18); cursor: pointer;
}
#toast {
  position: fixed; z-index: 50; left: 50%; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 76px); transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px; background: #1f2329; color: #fff; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
#toast.show { opacity: .95; }

/* ---------- сканер ---------- */
#scanner { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
#scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#scanner .scan-frame { position: relative; width: 72vw; max-width: 340px; height: 160px; border: 3px solid rgba(255,255,255,.9); border-radius: 16px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.45); }
#scanner p { position: relative; margin: 16px; }
#scanner .btn { position: relative; }

/* ---------- заказы: поиск, фильтр, архив; бухгалтер ---------- */
.ofilter { display: grid; gap: 8px; margin-bottom: 12px; }
.ofilter-row { display: flex; gap: 8px; }
.ofilter-row select { flex: 1; min-width: 0; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 15px; }
.ofilter-row .seg { flex: 1; }
.ofilter-row .seg button { font-size: 14px; }
.order-h { font-size: 17px; margin: 8px 0 4px; }
.cline .code { margin-top: 4px; font-size: 14px; }
.cline .code b { font-size: 16px; letter-spacing: .02em; }
.b-who { margin-top: 4px; padding: 6px 10px; border-radius: 8px; background: var(--bg); font-size: 13px; color: var(--muted); line-height: 1.4; }
.item-stock .res { color: var(--warn); font-weight: 600; }
body.acc #tabs a[data-tab="cart"], body.acc #pill { display: none !important; }
body.acc #tabs { grid-template-columns: repeat(3, 1fr); }

/* ---------- несколько городов, передача склада ---------- */
.checks { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 4px 4px 2px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.deleg { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.deleg-h { margin-top: 10px; }