/* Simple Shopfront admin: quiet and clear, in the Simple Reels family look (Robert HQ/SIMPLE-REELS-DESIGN-RULES.md):
   Outfit, one 24 px page heading, 18 px section headings, rows never bold, a choice shows by colour only, light and dark
   from the same colours. Outline boxes; colour only for meaning (green tick, red dot, order colours). */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/outfit-latin-wght-normal.woff2') format('woff2'); }
:root { --ink: #1e1b4b; --soft: #475569; --line: #e2e8f0; --bg: #f8fafc; --surface: #ffffff; --field: #ffffff; --code: #eef2f7; --navy: #4f46e5; --link: #4f46e5; --on-brand: #ffffff; --ok: #15803d; --bad: #b91c1c; --amber: #a16207; --blue: #1d4ed8; --mute-dot: #94a3b8; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root { --ink: #f1f5f9; --soft: #b6c2d4; --line: #263247; --bg: #0b1120; --surface: #131b2c; --field: #0f1726; --code: #1c2638; --navy: #4f46e5; --link: #a5b4fc; --ok: #4ade80; --bad: #f87171; --amber: #fbbf24; --blue: #93c5fd; --mute-dot: #64748b; color-scheme: dark; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: 'Outfit', system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.5; }
a { color: var(--link); text-underline-offset: 3px; }
h1 { font-size: 24px; font-weight: 600; margin: 8px 0 18px; }
h2 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
code { background: var(--code); padding: 1px 5px; border-radius: 4px; font-size: 14px; }
code.wrap { word-break: break-all; }
pre { white-space: pre-wrap; background: var(--code); padding: 10px; border-radius: 6px; font-size: 13px; }
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top__inner { max-width: 1160px; margin: 0 auto; padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.top__shop { font-weight: 600; font-size: 18px; text-decoration: none; color: var(--ink); }
.top__state { font-size: 14px; color: var(--soft); }
.top__view { margin-left: auto; font-size: 14px; }
.top__out { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--soft); }
.tabs { list-style: none; margin: 0 auto; padding: 0 20px; max-width: 1160px; display: flex; gap: 4px; overflow-x: auto; }
.tabs a { display: block; padding: 10px 12px; text-decoration: none; color: var(--soft); border-bottom: 2px solid transparent; white-space: nowrap; font-size: 15px; }
.tabs a[aria-current="page"] { color: var(--link); border-color: var(--navy); }
.main { max-width: 860px; margin: 0 auto; padding: 20px 20px 60px; }
.main--wide { max-width: 1160px; }
.foot { text-align: center; color: var(--soft); font-size: 13px; padding: 20px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 0 0 18px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.cols > .box { margin: 0 0 18px; }
.muted { color: var(--soft); }
.small { font-size: 14px; }
.lead { font-size: 19px; color: var(--soft); }
.flash { border: 1px solid var(--line); background: var(--surface); border-left: 4px solid var(--ok); padding: 10px 14px; border-radius: 8px; }
.flash--error { border-left-color: var(--bad); }
.helper-note { border: 1px dashed var(--amber); padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.tick { color: var(--ok); font-weight: 600; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--mute-dot); margin-right: 6px; vertical-align: middle; }
.dot--ok { background: var(--ok); } .dot--bad { background: var(--bad); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: var(--on-brand); border: 0; border-radius: 8px; padding: 10px 18px; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; min-height: 42px; }
.button--small { padding: 6px 12px; min-height: 34px; font-size: 14px; }
.button--quiet { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.button--danger { background: var(--surface); color: var(--bad); border: 1px solid var(--bad); }
.link { background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.link--danger { color: var(--bad); }
.inline { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 8px 0 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.form .field, .box .field { display: grid; gap: 4px; margin-bottom: 14px; }
.field__label { font-size: 14px; font-weight: 500; }
.field__hint { font-size: 13px; color: var(--soft); }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), select, textarea { font: inherit; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--field); color: var(--ink); width: 100%; max-width: 100%; }
td input:not([type=checkbox]), .inline input, .inline select { width: auto; }
textarea { resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 0 0 14px; }
legend { font-size: 14px; font-weight: 500; padding: 0 4px; }
.nutrition-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 14px; }
.choice { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: center; margin: 8px 0 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; border-bottom: 1px solid var(--line); padding: 9px 10px 9px 0; vertical-align: top; }
.table thead th { font-size: 13px; color: var(--soft); font-weight: 500; }
.num { text-align: right !important; white-space: nowrap; }
.thumb img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: var(--field); }
.preview { max-height: 140px; width: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--field); }
.photos { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.photos li { border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: grid; gap: 8px; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--field); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; }
.stat__label { font-size: 13px; color: var(--soft); }
.stat__num { font-size: 18px; font-weight: 600; }
.stat__sub { font-size: 14px; color: var(--soft); }
.list { margin: 0; padding-left: 20px; }
.list li { margin-bottom: 4px; }
.subtabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.subtabs a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--soft); background: var(--surface); }
.subtabs a[aria-current="page"] { color: var(--link); border-color: var(--navy); }
.tag { display: inline-block; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; margin-left: 6px; color: var(--soft); vertical-align: middle; }
.tag--check, .tag--late { border-color: var(--bad); color: var(--bad); }
.tag--first { border-color: var(--blue); color: var(--blue); }
.tag--big { border-color: var(--amber); color: var(--amber); }
.tag--blocked { border-color: var(--bad); color: #fff; background: var(--bad); }
.order.order--blocked td:first-child { border-left-color: var(--bad); }
.order--blocked td { background: color-mix(in srgb, var(--bad) 8%, transparent); }
.box--blocked { border-color: var(--bad); border-left: 4px solid var(--bad); }
.order td:first-child { border-left: 4px solid transparent; padding-left: 8px; }
.order--check td:first-child, .order--late td:first-child { border-left-color: var(--bad); }
.order--first td:first-child { border-left-color: var(--blue); }
.order--big td:first-child { border-left-color: var(--amber); }
.checks { list-style: none; padding: 0; margin: 0; }
.check-line { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.check-line:last-child { border-bottom: 0; }
.check-line .tick, .check-line .dot { margin-top: 4px; }
.steps li { margin-bottom: 10px; }
@media (max-width: 700px) {
  .orders thead { display: none; }
  .orders tr { display: grid; grid-template-columns: 28px 1fr; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .orders td { border: 0; padding: 2px 0; grid-column: 2; }
  .orders td:first-child { grid-column: 1; grid-row: 1 / 6; }
}
/* packing slips */
.slips { background: var(--surface); }
.slips .noprint { padding: 12px 20px; }
.slip { max-width: 720px; margin: 0 auto 40px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; page-break-after: always; break-after: page; }
.slip header { display: flex; justify-content: space-between; font-size: 18px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; margin-bottom: 16px; }
.slip__to p { font-size: 18px; }
@media print { .noprint { display: none; } .slip { border: 0; margin: 0; } body { background: #fff; color: #000; } } /* style-check: ok (paper is white) */

/* own platform (19 Nov 2026): look choice, wizard steps, swatches, stars */
.choice:has(input:checked) { border-color: var(--navy); background: color-mix(in srgb, var(--navy) 8%, var(--surface)); }
.choice img { width: 120px; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.swatch { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); vertical-align: middle; margin-right: 6px; }
.steps-bar { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; }
.steps-bar li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--soft); background: var(--surface); }
.steps-bar li[aria-current="step"] { color: var(--link); border-color: var(--navy); }
.stars { color: var(--amber); letter-spacing: 1px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; }
.menu-rows td { padding-right: 8px; }
input[type=color] { width: 56px; height: 42px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--field); vertical-align: middle; }
@media (max-width: 700px) { .table { font-size: 14px; } .top__view { margin-left: 0; } .table.packs input { min-width: 70px; } }
