/* Mohalla cart. Tokens from the approved design (mohalla-ops/design/Brand.dc.html, Main.dc.html).
   Rebrand by changing --accent only: the soft and ink shades are mixed from it. */
:root {
  --accent: #0F7B4A;
  --accent-ink: color-mix(in srgb, var(--accent) 78%, #000);      /* accent text on light/soft grounds */
  --accent-soft: color-mix(in srgb, var(--accent) 12%, #fff);
  --accent-mid: color-mix(in srgb, var(--accent) 50%, #fff);      /* case-fill bar below 80% */
  --ink: #14201A;
  --body: #3D4842;
  --muted: #5B6660;
  --saffron: #F2B544;
  --ground: #F6F7F5;
  --page: #EEF0EC;
  --surface: #FFFFFF;
  --photo: #F1F3EF;
  --line: #E3E7E2;
  --line-soft: #EEF0EC;
  --line-strong: #D5DBD4;
  --track: #E7EBE6;
  --warm-bg: #FFF4DE;
  --warm-ink: #6B4200;
  --danger-bg: #FDECEA;
  --danger-ink: #8A1F11;
  --radius: 16px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.scroll-x { scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; }
.narrow { max-width: 560px; margin: 0 auto; }

/* --------------------------------------------------------------------------------------- header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.brandrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand .words { display: flex; flex-direction: column; line-height: 1.05; }
.brand .name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.brand .tag { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.iconbtn {
  position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; flex: 0 0 auto;
}
.badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.chips { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 16px;
  font-size: 13px; font-weight: 700;
}
.chip.community { background: var(--accent-soft); color: var(--accent-ink); }
.chip.cutoff { background: var(--warm-bg); color: var(--warm-ink); }
.chip.closed { background: var(--line); color: var(--ink); }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 13px; }
.search input {
  width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--ground);
  padding: 0 14px 0 42px; font-size: 15px; color: var(--ink);
}
.search input::placeholder { color: var(--muted); }
.cats { background: var(--surface); border-bottom: 1px solid var(--line); }
.cats .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; }
.cat {
  flex: 0 0 auto; min-height: 44px; padding: 0 16px; border-radius: 22px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
}
.cat[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* --------------------------------------------------------------------------------------- banners */
.banner { margin: 16px 16px 0; border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.45; display: flex; gap: 10px; }
.banner.warm { background: var(--warm-bg); color: var(--warm-ink); }
.banner.danger { background: var(--danger-bg); color: var(--danger-ink); }
.banner.info { background: var(--accent-soft); color: var(--accent-ink); }
.banner svg { flex: 0 0 auto; margin-top: 2px; }
.banner .act { margin-left: auto; align-self: center; }

/* --------------------------------------------------------------------------------------- hero + rows */
.hero {
  margin: 16px 16px 0; border-radius: 18px; padding: 18px; background: var(--accent); color: #fff;
  display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.hero .ring { position: absolute; right: -28px; top: -30px; opacity: 0.16; }
.hero .kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; max-width: 300px; }
.hero p { margin: 0; font-size: 14px; line-height: 1.45; max-width: 340px; }
.sect { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.sect-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 16px; }
.sect-head h2 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.sect-head .sub { font-size: 12px; color: var(--muted); font-weight: 600; }
.row { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px; }
.mini {
  flex: 0 0 140px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.mini .ph { height: 92px; }
.mini .nm { font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .foot { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 44px; }
.mini .pr { font-size: 13px; font-weight: 800; line-height: 1.2; }
.mini .pr small { font-size: 11px; font-weight: 600; color: var(--muted); }
.round {
  width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.pill {
  white-space: nowrap; min-height: 32px; padding: 0 10px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-ink);
  font-size: 12px; font-weight: 800; display: flex; align-items: center;
}

/* --------------------------------------------------------------------------------------- product grid */
.list { margin-top: 20px; padding: 0 16px 120px; display: flex; flex-direction: column; gap: 10px; }
.list .sect-head { padding: 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px;
  display: flex; flex-direction: column; gap: 8px;
}
.ph {
  position: relative; border: 0; padding: 0; background: var(--photo); border-radius: 12px; overflow: hidden; width: 100%;
}
.card .ph { aspect-ratio: 1 / 1; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.organic {
  position: absolute; left: 6px; top: 6px; height: 22px; padding: 0 8px; border-radius: 11px; background: #fff;
  color: var(--accent-ink); font-size: 11px; font-weight: 800; display: flex; align-items: center;
}
.card .nm { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.card .nm b { font-size: 14px; font-weight: 700; line-height: 1.25; }
.card .nm span { font-size: 12px; color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 16px; }
.price { display: flex; align-items: baseline; gap: 2px; padding: 0 2px; }
.price b { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.est { margin: 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.line .mid .est { display: block; }
.card .est { padding: 0 2px; }
.price span { font-size: 12px; color: var(--muted); font-weight: 600; }
.fill { display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.bar { height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent-mid); width: 0; }
.bar i.hi { background: var(--accent); }
.fill span { font-size: 11px; color: var(--muted); font-weight: 600; }
.add {
  height: 44px; border-radius: 12px; border: 1.5px solid var(--accent); background: var(--surface); color: var(--accent-ink);
  font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
}
.stepper {
  height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: space-between;
}
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; }
.stepper span { font-size: 13px; font-weight: 800; text-align: center; }
.card.readonly .add, .card.readonly .stepper button { display: none; }
.note-foot { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.empty {
  background: var(--surface); border: 1px dashed #C9D0C8; border-radius: 14px; padding: 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.empty .btn { margin-top: 6px; }
.empty b { font-size: 15px; }
.empty span { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------------------- cart bar */
.cartbar { position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 5; display: flex; justify-content: center; }
.cartbar a {
  width: 100%; max-width: 520px; min-height: 60px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 18px; box-shadow: 0 10px 30px rgba(20, 32, 26, 0.28);
}
.cartbar .what { display: flex; flex-direction: column; gap: 2px; }
.cartbar .what span { font-size: 12px; font-weight: 600; }
.cartbar .what b { font-size: 18px; font-weight: 800; }
.cartbar .go { min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--accent); font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------------------------------- item sheet */
dialog.sheet {
  border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; background: transparent; color: var(--ink);
}
@media (min-width: 640px) { dialog.sheet { margin: auto; max-width: 440px; } dialog.sheet .panel { border-radius: 24px; } }
dialog.sheet::backdrop { background: rgba(20, 32, 26, 0.45); }
.panel {
  background: var(--surface); border-radius: 24px 24px 0 0; padding: 10px 16px 20px; display: flex; flex-direction: column; gap: 14px;
}
.grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); align-self: center; }
.sheet-top { display: flex; gap: 14px; align-items: center; }
.sheet-top img, .sheet-top .noimg { width: 104px; height: 104px; border-radius: 16px; object-fit: cover; background: var(--photo); flex: 0 0 auto; }
.sheet-top h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.sheet-top .loc { font-size: 13px; color: var(--muted); }
.sheet-top .pr { font-size: 20px; font-weight: 800; }
.sheet-top .pr small { font-size: 13px; font-weight: 600; color: var(--muted); }
.close { position: absolute; right: 12px; top: 12px; }
.howmuch { display: flex; flex-direction: column; gap: 8px; }
.howmuch > b { font-size: 13px; }
.qchips { display: flex; gap: 8px; flex-wrap: wrap; }
.qchip {
  min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 700; border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink);
}
.qchip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.bigstep { display: flex; align-items: center; justify-content: space-between; height: 52px; border: 1px solid var(--line-strong); border-radius: 14px; padding: 0 4px; }
.bigstep button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--photo); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.bigstep span { font-size: 16px; font-weight: 800; }
.fillbox { background: var(--ground); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.fillbox .head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.fillbox .head span:last-child { color: var(--accent-ink); }
.fillbox .bar { height: 8px; border-radius: 4px; background: var(--line); }
.fillbox .bar i { background: var(--accent); }
.fillbox p, .fam-note { margin: 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.cta {
  min-height: 56px; border: 0; border-radius: 16px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px; width: 100%; text-decoration: none;
}
.cta[disabled] { opacity: 0.6; cursor: progress; }
.cta.center { justify-content: center; }
.btn {
  min-height: 44px; padding: 0 20px; border-radius: 12px; border: 0; background: var(--accent); color: #fff; font-size: 15px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.btn.ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn.small { min-height: 44px; padding: 0 14px; font-size: 14px; }

/* --------------------------------------------------------------------------------------- bag */
.bar-top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 4; }
.bar-top .narrow { height: 60px; padding: 0 8px; display: flex; align-items: center; gap: 4px; }
.bar-top h1 { margin: 0; font-size: 18px; font-weight: 800; }
.bar-top .count { margin-left: auto; padding-right: 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.back { width: 44px; height: 44px; border-radius: 12px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.bagbody { padding: 16px 16px 200px; display: flex; flex-direction: column; gap: 14px; }
.box { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.box.pad { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.line { display: flex; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line-soft); }
.line:last-child { border-bottom: 0; }
.line img, .line .noimg { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--photo); flex: 0 0 auto; }
.line .mid { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.line .mid b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line .mid span { font-size: 12px; color: var(--muted); }
.line .tot { font-size: 15px; font-weight: 800; align-self: flex-start; padding-top: 2px; }
.line .err { color: var(--danger-ink); font-size: 12px; font-weight: 700; }
.line .changed { color: var(--warm-ink); font-size: 12px; font-weight: 700; }
.minis { margin-top: 6px; display: inline-flex; align-items: center; align-self: flex-start; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; }
.minis button { width: 44px; height: 42px; border: 0; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.minis span { min-width: 64px; text-align: center; font-size: 13px; font-weight: 800; }
.sum { display: flex; justify-content: space-between; font-size: 14px; }
.sum span:first-child { color: var(--muted); }
.sum b { font-weight: 700; }
.sum .free { color: var(--accent-ink); font-weight: 700; }
.rule { height: 1px; background: var(--line-soft); }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total span { font-size: 16px; font-weight: 800; }
.total b { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.small-note { font-size: 12px; color: var(--muted); line-height: 1.45; }
.delivery { display: flex; gap: 12px; align-items: flex-start; padding: 16px; }
.delivery .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.delivery b { font-size: 14px; font-weight: 800; display: block; }
.delivery span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); z-index: 5; }
.dock .narrow { padding: 12px 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.dock .small-note { text-align: center; }
.skel { background: linear-gradient(90deg, var(--photo) 0%, var(--line-soft) 50%, var(--photo) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; border-radius: 12px; }
.skel.line-sk { height: 80px; margin: 12px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* --------------------------------------------------------------------------------------- placed, simple pages */
.done { background: var(--surface); min-height: 100vh; }
.done .narrow { padding: 48px 20px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.tick { width: 76px; height: 76px; border-radius: 38px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.tick span { width: 52px; height: 52px; border-radius: 26px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.tick.warn { background: var(--warm-bg); }
.tick.warn span { background: var(--warm-ink); }
.done h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.done p.lead { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; max-width: 340px; }
.facts { width: 100%; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.facts div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.facts div span { color: var(--muted); }
.facts div b { font-weight: 800; text-align: right; }
.done .banner { margin: 0; width: 100%; text-align: left; }
.actions { display: flex; gap: 10px; width: 100%; margin-top: 8px; }
.actions .btn { flex: 1 1 0; min-height: 52px; border-radius: 14px; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1 1 auto; }
.plain { padding: 32px 20px; display: flex; flex-direction: column; gap: 14px; }
.plain h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.plain p { margin: 0; color: var(--body); line-height: 1.55; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input {
  height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); padding: 0 14px; font-size: 16px;
}
.field input[aria-invalid="true"] { border-color: var(--danger-ink); }
.field .hint { font-size: 12px; color: var(--muted); }
.field .error { font-size: 13px; color: var(--danger-ink); font-weight: 700; }
.addr { border: 0; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.addr legend { font-size: 16px; font-weight: 800; padding: 0; margin-bottom: 10px; }
.addr .two { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; }
.plain .banner { margin: 0; }
.privacy h2 { margin: 10px 0 0; font-size: 17px; font-weight: 800; }
.privacy ul { margin: 0; padding-left: 20px; color: var(--body); line-height: 1.55; display: flex; flex-direction: column; gap: 4px; }
.ord .addr-line { font-size: 13px; color: var(--ink); line-height: 1.45; }
.ord .note { font-size: 13px; color: var(--warm-ink); background: var(--warm-bg); border-radius: 8px; padding: 4px 8px; align-self: flex-start; }
.google { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); gap: 10px; }
.devnote { font-size: 12px; color: var(--warm-ink); background: var(--warm-bg); border-radius: 10px; padding: 8px 10px; }

/* --------------------------------------------------------------------------------------- captain */
.cap { padding: 16px 16px 40px; display: flex; flex-direction: column; gap: 14px; }
.cap h2 { margin: 6px 0 0; font-size: 17px; font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.stat b { display: block; font-size: 20px; font-weight: 800; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; }
.ord { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 4px; }
.ord:last-child { border-bottom: 0; }
.ord .h { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.ord .h b { font-weight: 800; }
.ord .items { font-size: 13px; color: var(--body); line-height: 1.5; }
table.totals { width: 100%; border-collapse: collapse; font-size: 14px; }
table.totals th, table.totals td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.totals th { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
table.totals td.n, table.totals th.n { text-align: right; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------------------- go-live F/H */
.ribbon { background: #6B4200; color: #fff; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; padding: 4px 8px; }
.sum.fee span:first-child { max-width: 70%; }
.minnote { color: var(--warm-ink); background: var(--warm-bg); border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 700; }
.offline-note { color: var(--warm-ink); font-size: 13px; font-weight: 700; text-align: center; }
.report { width: 100%; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.report h2 { margin: 0; font-size: 17px; font-weight: 800; }
.report select, .report input[type=file], .field select, .field textarea { font: inherit; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 8px 10px; background: var(--surface); color: var(--ink); }
.field textarea { min-height: 72px; }
/* captain page */
.stop { padding: 14px; border-bottom: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 12px; }
.stop:last-child { border-bottom: 0; }
.stop .h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.stop .h b { font-size: 15px; font-weight: 800; }
.stop .h .due { font-size: 17px; font-weight: 800; }
.stop .who { font-size: 13px; color: var(--body); line-height: 1.45; }
.stop .who a { font-weight: 700; }
.stop .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 800; border-radius: 10px; padding: 3px 8px; background: var(--line); color: var(--ink); }
.tag.ok { background: var(--accent-soft); color: var(--accent-ink); }
.tag.warn { background: var(--warm-bg); color: var(--warm-ink); }
.taps { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.taps form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
.taps input { min-height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 10px; font: inherit; width: 110px; }
.lines-mini { display: flex; flex-direction: column; gap: 4px; }
.lines-mini .l { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.lines-mini .l form { margin: 0; display: flex; gap: 4px; }
.lines-mini .l button { min-height: 36px; min-width: 44px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 12px; font-weight: 700; }
.street { padding: 8px 14px; background: var(--page); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.earn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
