/* Waga public site. Same tokens as the admin (admin.css), tuned for phones. */
:root {
  --bg: #f4f6f2;
  --surface: #ffffff;
  --ink: #1b1f1c;
  --muted: #667069;
  --faint: #98a09a;
  --line: #e1e5df;
  --line-strong: #cfd5ce;
  --hover: #f7f8f6;
  --green: #14532d;
  --green-soft: #e6efe9;
  --red: #b3261e;
  --amber: #a66a00;
  --r: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Noto Sans Ethiopic", Kefa, "Abyssinica SIL", Nyala, Roboto, sans-serif;
  --ethiopic: "Noto Sans Ethiopic", Kefa, "Abyssinica SIL", Nyala, var(--font);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--green); }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- header ---------- */
.top {
  max-width: 600px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; color: var(--ink); }
.logo .mark { font-family: var(--ethiopic); font-size: 24px; font-weight: 800; color: var(--green); }
.logo .word { font-size: 15px; font-weight: 700; }
.links { display: flex; align-items: center; gap: 4px; }
.links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 10px; border-radius: 8px; }
.links a:hover, .links a.active { color: var(--ink); }
.lang {
  height: 32px; min-width: 44px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 13px; font-weight: 700; cursor: pointer;
}
.lang:hover { background: var(--hover); }

.wrap { max-width: 600px; margin: 0 auto; padding: 0 16px 40px; }
body.has-bar .wrap { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* ---------- banners ---------- */
#banners { display: grid; gap: 8px; margin-top: 2px; }
.banner { border-radius: 12px; padding: 9px 14px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.banner.holiday { background: linear-gradient(90deg, #14532d, #1f6b3c); color: #fff; }
.banner.holiday b { color: #f2c230; }
.banner.demo { background: #fff4d6; color: #7a5600; border: 1px dashed #e2a62b; }
.banner.outdated { background: #fdecea; color: #8c1d16; border: 1px solid #f1b9b3; }

/* ---------- hero ---------- */
.hero { margin: 16px 0 6px; font-weight: 800; }
.hero-am {
  display: block; font-family: var(--ethiopic); font-size: clamp(40px, 12vw, 64px); line-height: 1.05;
  letter-spacing: -.01em; color: var(--ink); white-space: nowrap;
}
.hero-en { display: block; font-size: 18px; line-height: 1.25; margin-top: 6px; letter-spacing: -.01em; }
.sub { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
/* With a list on screen: headline shrinks to one small line, intro text goes */
#form-view.compact .hero { margin: 10px 0 12px; display: flex; align-items: baseline; gap: 10px; }
#form-view.compact .hero-am { font-size: 26px; }
#form-view.compact .hero-en { font-size: 15px; margin: 0; color: var(--muted); font-weight: 600; }
#form-view.compact .sub { display: none; }
@media (min-width: 700px) {
  .hero-am { font-size: 72px; }
  .hero-en { font-size: 22px; }
}

/* ---------- form panel ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.field-group { padding: 16px 16px 18px; }
.field-group + .field-group { border-top: 1px solid var(--line); }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.label-row label, .label-row .label { font-weight: 700; font-size: 15px; }
.picked { color: var(--muted); font-size: 13px; text-align: right; }

.search {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 16px;
}
.search:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(20,83,45,.12); }
.search::placeholder { color: var(--faint); }

.ac { position: relative; }
.ac-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
  box-shadow: 0 16px 40px rgba(20,30,24,.14); max-height: 360px; overflow-y: auto;
}
.ac-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.ac-list li.active, .ac-list li:hover { background: var(--bg); }
.ac-list .nm { font-weight: 600; min-width: 0; }
.ac-list .nm small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.ac-list .meta { color: var(--muted); font-size: 12px; text-align: right; white-space: nowrap; line-height: 1.35; }
.ac-list li.suggest { color: var(--green); font-weight: 600; }
.ac-list li.group-title { padding: 8px 12px 4px; font-size: 12px; font-weight: 700; color: var(--faint); cursor: default; }
.ac-list li.group-title:hover { background: none; }
/* "Add a new place" stays visible at the bottom of the list, even when it scrolls */
.ac-list li.sticky { position: sticky; bottom: -6px; margin: 4px -6px -6px; padding: 12px 18px; border-radius: 0 0 12px 12px;
  background: var(--surface); border-top: 1px solid var(--line); }
.ac-list li.sticky:hover, .ac-list li.sticky.active { background: var(--green-soft); }
.ac-list li.thanks { color: var(--muted); cursor: default; }
.ac-list li.thanks:hover { background: none; }
.ac-list li.error-row { color: var(--red); font-weight: 600; cursor: default; }
.ac-list li.error-row:hover { background: none; }
.ac-list mark { background: #fbeaa6; color: inherit; border-radius: 2px; }

.selected-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 48px; padding: 0 6px 0 14px; border-radius: var(--r); background: var(--green-soft); border: 1px solid #c7dccf;
}
.selected-item div { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selected-item b { font-weight: 700; }
.selected-item small { color: var(--muted); margin-left: 6px; font-size: 13px; }
.selected-item button { border: 0; background: none; color: var(--green); font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.selected-item button:hover { background: rgba(20,83,45,.08); }


.quick { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px;
}
.chip small { color: var(--faint); font-size: 12px; }
.chip:hover { border-color: var(--faint); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on small { color: rgba(255,255,255,.6); }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chips.scroll .chip { flex: none; }

details.browse { margin-top: 12px; }
details.browse summary { cursor: pointer; color: var(--green); font-size: 14px; font-weight: 600; list-style: none; }
details.browse summary::-webkit-details-marker { display: none; }
details.browse summary::after { content: " +"; }
details.browse[open] summary::after { content: " −"; }
.cat-title { font-size: 13px; font-weight: 700; color: var(--muted); margin: 16px 0 8px; }

.price-box {
  display: flex; align-items: center; height: 64px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--line-strong); background: var(--surface); cursor: text;
}
.price-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,83,45,.12); }
.price-box input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 100%;
  font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.price-box input::placeholder { color: var(--line-strong); }
.price-box span { color: var(--muted); font-weight: 600; }

.seg { display: inline-flex; margin-top: 12px; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: none; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* ---------- place ---------- */
.selected-item .pin { margin-right: 6px; }

/* ---------- shopping list lines ---------- */
#lines:not(:empty) { margin-bottom: 14px; }
.line { border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; background: var(--surface); }
.line + .line { margin-top: 10px; }
.line.missing { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,38,30,.1); }
.line-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.line-name { min-width: 0; }
.line-name b { font-size: 16px; }
.line-name small { color: var(--muted); margin-left: 6px; font-size: 13px; }
.icon-btn {
  width: 32px; height: 32px; margin: -6px -6px 0 0; flex: none; border: 0; border-radius: 8px; background: none;
  color: var(--muted); display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.mini-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.mini-label i { font-style: normal; font-weight: 400; color: var(--faint); }

.amount-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.stepper { display: flex; align-items: center; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.stepper button {
  width: 44px; height: 100%; border: 0; background: var(--bg); font-size: 22px; font-weight: 500; cursor: pointer; color: var(--ink);
}
.stepper button:hover { background: var(--line); }
.stepper input {
  width: 64px; height: 100%; border: 0; outline: 0; text-align: right; font-size: 17px; font-weight: 700;
  font-variant-numeric: tabular-nums; background: var(--surface); padding: 0 4px 0 0;
}
.stepper .measure { height: 100%; display: flex; align-items: center; padding: 0 10px 0 2px; background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 600; }
.stepper:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,83,45,.12); }
.presets { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
.presets button {
  min-width: 40px; height: 30px; padding: 0 10px; border-radius: 15px; border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 13px; font-weight: 600; cursor: pointer;
}
.presets button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.price-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 14px; }
.price-pair > * { min-width: 0; }
.mini-price { display: grid; gap: 6px; cursor: text; }
.pbox {
  display: flex; align-items: center; height: 52px; padding: 0 12px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: var(--surface);
}
.pbox:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,83,45,.12); }
.pbox input { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: none; height: 100%; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pbox.soft input { font-size: 18px; font-weight: 600; }
.pbox input::placeholder { color: var(--line-strong); }
.pbox em { font-style: normal; color: var(--muted); font-size: 13px; font-weight: 600; }
.line-hint { margin: 8px 0 0; font-size: 12px; color: var(--faint); }

/* ---------- bottom action bar (sticky, thumb reach) ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,30,24,.06);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.ab-inner { max-width: 600px; margin: 0 auto; }
.ab-row { display: flex; align-items: center; gap: 12px; }
.ab-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ab-row.hidden { display: none; }
.ab-info { flex: 1; min-width: 0; line-height: 1.25; }
.ab-info span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.ab-info b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-row .btn { height: 50px; padding: 0 20px; font-size: 16px; flex: none; }
.ab-row.two .btn { width: 100%; }
.action-bar .form-error { margin: 0 0 8px; }

/* ---------- multi-item results ---------- */
.result-list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-top: 12px; overflow: hidden; }
.result-row {
  display: block; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: none;
  padding: 14px 18px; cursor: pointer; font: inherit; color: inherit;
}
.result-row:first-child { border-top: 0; }
.result-row:hover:not(:disabled) { background: var(--hover); }
.result-row.on { background: var(--green-soft); }
.result-row:disabled { cursor: default; }
.rr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rr-name { font-weight: 700; min-width: 0; }
.rr-name small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.rr-detail { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.45; }
.rr-detail b { color: var(--ink); }
.v-chip { flex: none; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.v-chip.none { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.thanks-note { margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--green-soft); color: var(--green); font-size: 14px; font-weight: 600; }
.thanks-note span { display: block; font-weight: 400; color: var(--ink); margin-top: 2px; }
.hint.center { text-align: center; font-size: 13px; }

/* ---------- two modes ---------- */
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 14px; background: #e6eae4; }
.mode-tabs button {
  height: 44px; border: 0; border-radius: 11px; background: none; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer;
}
.mode-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

.reminder { background: var(--surface); border: 1px solid #c7dccf; border-radius: 16px; padding: 14px 16px; margin: 0 0 14px; }
.reminder p { margin: 0 0 10px; font-weight: 600; }
.rem-actions { display: flex; gap: 8px; }
.rem-actions .btn { height: 40px; font-size: 14px; padding: 0 14px; }

.basket-btn {
  width: 100%; height: 44px; margin-bottom: 4px; border-radius: 12px; border: 1px dashed #9fc3ab; background: var(--green-soft);
  color: var(--green); font-weight: 700; font-size: 15px; cursor: pointer;
}
#recent:empty { display: none; }

/* price insight for one item (look-up mode) */
.insight { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ins-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ins-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.ins-price b { font-size: 22px; font-variant-numeric: tabular-nums; }
.ins-price small { color: var(--muted); font-size: 13px; }
.range { position: relative; height: 10px; margin: 12px 0 6px; border-radius: 5px; background: #e9ece7; overflow: hidden; }
.range .r-band { position: absolute; top: 0; bottom: 0; background: #8fc0a0; border-radius: 5px; }
.range .r-rip { position: absolute; top: 0; bottom: 0; right: 0; background: #e8b4ae; }
.range .r-mark { position: absolute; top: -1px; bottom: -1px; width: 3px; margin-left: -1.5px; background: var(--green); border-radius: 2px; }
.range-labels { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.range-labels .rip-label { color: var(--red); text-align: right; }
.ins-max { margin: 10px 0 0; font-size: 15px; }
.ins-muted { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.ins-muted small { color: var(--faint); }

/* shopping estimate */
.estimate { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.est-title { margin: 0 0 10px; font-weight: 700; }
.est-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.est-grid div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.est-grid span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.est-grid b { font-size: 20px; font-variant-numeric: tabular-nums; }
.est-missing { margin: -4px 0 12px; font-size: 13px; color: var(--muted); }
.estimate .btn.big { margin-top: 0; }
.est-hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- buttons ---------- */
.btn {
  height: 48px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 16px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover { background: #0f4425; }
.btn.big { width: 100%; height: 56px; margin-top: 14px; font-size: 17px; }
.btn:disabled { opacity: .5; cursor: default; }
.form-error { color: var(--red); font-weight: 600; font-size: 14px; margin: 10px 0 0; }
.foot { color: var(--muted); font-size: 13px; margin: 18px 0 0; text-align: center; line-height: 1.5; }
.foot #report-count { color: var(--ink); font-weight: 600; }

/* ---------- result ---------- */
.verdict-block { border-radius: 18px; color: #fff; padding: 20px 18px 18px; }
.verdict-block .what { font-size: 14px; opacity: .85; margin: 0 0 12px; }
.verdict-block .v-main { font-size: clamp(34px, 10vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.verdict-block .v-alt { font-family: var(--ethiopic); font-size: 24px; font-weight: 700; margin-top: 8px; opacity: .92; }
.verdict-block .v-line { margin: 14px 0 0; font-size: 15px; line-height: 1.45; }
.verdict-block .v-line b { font-weight: 800; }
.verdict-block.neutral { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.verdict-block.neutral .v-main { font-size: 28px; }

.facts { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-top: 12px; padding: 4px 18px; }
.facts dl { margin: 0; }
.facts .f { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts .f:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.facts dd.soft { font-weight: 500; max-width: 62%; }
.facts .based { color: var(--muted); font-size: 13px; padding: 12px 0 14px; margin: 0; }
.out-of-range { color: var(--red); font-weight: 600; }

/* trend chart */
.trend-box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-top: 12px; padding: 16px 18px 14px; }
.trend-title { font-weight: 700; font-size: 15px; }
.trend-readout { font-size: 13px; color: var(--muted); min-height: 20px; margin: 2px 0 4px; }
.trend-readout.on { color: var(--ink); }
.trend-wrap { position: relative; }
.trend-svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.trend-svg .tick { font-size: 10px; fill: var(--faint); font-family: var(--font); }
.trend-svg .lbl { font-size: 11px; fill: #3d453f; font-weight: 600; font-family: var(--font); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.trend-svg .lbl.strong { fill: var(--ink); font-weight: 800; font-size: 12px; }
.trend-svg .bar { transition: opacity .12s; }
.trend-svg .bar.dim { opacity: .3; }
.trend-key { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.trend-key .k-bar { width: 10px; height: 12px; background: var(--green); border-radius: 3px 3px 0 0; }
.trend-key .k-dash { width: 16px; height: 0; border-top: 2px dashed; margin-left: 12px; }

/* ---------- prices page ---------- */
.page-title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 18px 0 4px; }
.page-sub { color: var(--muted); margin: 0 0 18px; }
.select {
  width: 100%; height: 48px; padding: 0 40px 0 14px; border-radius: var(--r); border: 1px solid var(--line-strong);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23667069' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 15px center;
  appearance: none; -webkit-appearance: none; font-size: 16px; cursor: pointer; margin-bottom: 16px;
}
.board { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; overflow: hidden; }
.board h2 { font-size: 15px; font-weight: 700; margin: 0; padding: 16px 18px 6px; }
.board-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 18px; border-top: 1px solid var(--line); text-decoration: none; color: inherit;
}
.board h2 + .board-row { border-top: 0; }
.board-row:hover { background: var(--hover); }
.board-row .name { font-weight: 600; min-width: 0; }
.board-row .name small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 1px; }
.board-row .price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.board-row .price small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-top: 1px; }
.board-empty { padding: 28px 18px; text-align: center; color: var(--muted); }

/* ---------- team page ---------- */
.field {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 16px; margin-bottom: 10px;
}
.field:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(20,83,45,.12); }
.team-list { padding: 0 18px 4px; }
.trow { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.trow:first-child { border-top: 0; }
.trow label { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; }
.trow label small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.trow input {
  width: 120px; flex: none; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-strong);
  font-size: 16px; text-align: right; font-variant-numeric: tabular-nums; background: var(--surface);
}
.trow input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(20,83,45,.12); }
.hint { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.ok { color: var(--green); font-weight: 600; margin: 12px 0 0; }
.sticky-save { position: sticky; bottom: 0; padding: 12px 0 16px; background: linear-gradient(to top, var(--bg) 70%, rgba(244,246,242,0)); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
code { font-size: 13px; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
