/* Market price board: sunshine yellow framing, ink type, flat square-edged blocks. */
:root {
  --sun: #ffd931;
  --sun-soft: #fff7cc;
  --ink: #231f20;
  --on-sun: #231f20;
  --canvas: #c8cbcd;
  --surface: #ffffff;
  --line: #d6d6d6;
  --edge: #a6a8aa;
  --muted: #55585b;
  --track: #e6e7e8;
  --tick: #7a7d80;
  --bar: #7a7d80;
  --warn: #9a3a10;
  --warn-soft: #fde4d6;
  --board: #231f20;
  --board-text: #ffd931;
  --board-sub: #e9e3c4;
  --scrim: rgba(35, 31, 32, 0.55);
  --up: #a3330c;
  --down: #1e6b2a;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --telugu: "Anek Telugu", "Noto Sans Telugu", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sun: #ffd931;
    --sun-soft: #3a3418;
    --ink: #f2efe6;
    --on-sun: #231f20;
    --canvas: #141415;
    --surface: #1f1f21;
    --line: #2f2f32;
    --edge: #3a3a3e;
    --muted: #a9abad;
    --track: #333336;
    --tick: #8c8f92;
    --bar: #6c6f73;
    --warn: #ffb08a;
    --warn-soft: #3d2216;
    --board: #2b2829;
    --board-text: #ffd931;
    --board-sub: #cfc8a6;
    --scrim: rgba(0, 0, 0, 0.6);
    --up: #ffa27a;
    --down: #8fd69a;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.4 var(--display);
  font-stretch: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.te {
  font-family: var(--telugu);
}

.num {
  font-stretch: 75%;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* ---------- Header ---------- */

.top {
  --top-bg: var(--sun);
  --top-fg: var(--on-sun);
  background: var(--top-bg);
  color: var(--top-fg);
  padding: max(16px, env(safe-area-inset-top)) 0 20px;
}
@media (prefers-color-scheme: dark) {
  .top {
    --top-bg: #1d1a1b;
    --top-fg: var(--sun);
  }
}

.top-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eyebrow {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  margin-bottom: 4px;
  padding: 0 14px 0 8px;
  border: 1.5px solid currentColor;
  border-radius: 25px;
  background: none;
  font-size: 14px;
  font-weight: 600;
}
.back-btn[hidden] {
  display: none;
}
.back-btn svg {
  width: 18px;
  height: 18px;
}

.market-name {
  margin: 0;
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(34px, 10vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.market-sub {
  margin: 0;
  font-size: 14px;
}

.fresh {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  min-height: 1.4em;
}
.fresh::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.fresh time {
  white-space: nowrap;
}
.fresh:empty::before {
  display: none;
}
.fresh.stale {
  color: var(--warn);
}
@media (prefers-color-scheme: light) {
  .fresh.stale {
    color: #8a3008;
  }
}
.fresh.stale::before {
  background: none;
  border: 2px solid currentColor;
}

/* Staples board: the three rates everyone checks, styled like a stall's price board. */
.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.board[hidden] {
  display: none;
}

.staple {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 10px 12px;
  border: 0;
  background: var(--board);
  color: var(--board-text);
  text-align: left;
}
.staple:hover {
  background: #000;
}
.staple .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.staple .te {
  font-size: 13px;
  line-height: 1.1;
  color: var(--board-sub);
}
.staple .num {
  margin-top: 4px;
  font-size: clamp(32px, 9.5vw, 44px);
}
.staple .num.small {
  font-size: clamp(22px, 6.6vw, 34px);
}
.staple .move {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.staple .spark {
  width: 100%;
  height: 14px;
  margin: 4px 0 2px;
}
.staple .spark polyline {
  stroke: var(--board-sub);
  stroke-opacity: 0.5;
}
.board-label {
  margin: 0 0 -6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.board-label[hidden] {
  display: none;
}
.staple .note {
  font-size: 11px;
  color: var(--board-sub);
}

/* ---------- Search + sort ---------- */

.controls {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--canvas);
  border-bottom: 1px solid var(--edge);
}

.controls-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 10px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 12px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
}
.search:focus-within {
  outline: 3px solid var(--sun);
  outline-offset: 0;
}
.search svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}
.search input::placeholder {
  color: var(--muted);
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 0 16px;
}

.chip {
  flex: none;
  height: 36px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  border-radius: 25px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}
.chip[hidden] {
  display: none;
}
.chip-bazar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-right: 10px;
}
.chip-bazar svg {
  width: 16px;
  height: 16px;
}
.chip[aria-pressed="true"] {
  background: var(--sun);
  border-color: var(--on-sun);
  color: var(--on-sun);
}

/* ---------- Price list ---------- */

.main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 24px;
}

.card {
  margin: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--edge);
}

.prices {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--edge);
}
.prices:empty {
  display: none;
}
.prices.old {
  opacity: 0.75;
}
.prices > li:not([hidden]) ~ li:not([hidden]) {
  border-top: 1px solid var(--line);
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 12px;
  border: 0;
  background: none;
  text-align: left;
}
.row:hover {
  background: var(--sun-soft);
}
/* A search hit with only an old price: not tappable, and visibly older than today's rows. */
.row.old {
  color: var(--muted);
}
.row.old:hover {
  background: none;
}

.tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--telugu);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}

.what {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.what .en {
  font-weight: 600;
  line-height: 1.2;
}
.what .te {
  font-size: 14px;
  line-height: 1.25;
  color: var(--muted);
}

.badge {
  align-self: flex-start;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}
.badge.good {
  background: var(--sun);
  color: var(--on-sun);
}
.badge.bad {
  background: var(--warn-soft);
  color: var(--warn);
}
.badge.plain {
  padding-left: 0;
  color: var(--muted);
}

.cost {
  flex: none;
  width: 92px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.cost .num {
  font-size: 28px;
}
.cost .num.small {
  font-size: 22px;
}
.cost .unit {
  font-size: 12px;
  font-weight: 500;
  font-stretch: 100%;
  color: var(--muted);
}

/* Trend line + change under the price: quiet, so the price stays the headline. */
.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 12px;
}
.spark {
  display: block;
  width: 36px;
  height: 12px;
  overflow: visible;
}
.spark polyline {
  fill: none;
  stroke: var(--tick);
  stroke-width: 1.25;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.chg {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.chg.up {
  color: var(--up);
}
.chg.down {
  color: var(--down);
}
/* ---------- Notices (stale / not reported) ---------- */

.notice {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.notice h2 {
  margin: 0;
  font-stretch: 75%;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
}
.notice p {
  margin: 0;
  font-size: 15px;
}
.notice.warn {
  border-color: var(--warn);
}

.sheet-section {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.foot {
  padding-bottom: 40px;
  font-size: 12px;
  color: var(--muted);
}
@media (prefers-color-scheme: light) {
  .foot {
    color: #3a3d40;
  }
}
.foot p {
  margin: 0 0 8px;
  text-wrap: pretty;
}
.foot .credit {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--edge);
}
.foot .credit a {
  color: inherit;
  text-underline-offset: 2px;
}

/* ---------- Sheets (bottom sheet on phones, panel on wider screens) ---------- */

.sheet {
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - 48px);
  height: calc(100dvh - 48px);
  margin: auto 0 0;
  padding: 0;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  flex-direction: column;
}
.sheet[open] {
  display: flex;
  animation: rise 0.22s ease-out;
}
.sheet::backdrop {
  background: var(--scrim);
}

@keyframes rise {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sheet[open] {
    animation: none;
  }
}

.sheet-grip {
  align-self: center;
  width: 40px;
  height: 4px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--edge);
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 12px;
}
.sheet-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sheet-title h2 {
  margin: 0;
  font-stretch: 75%;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}
.sheet-title .te {
  font-size: 16px;
  color: var(--muted);
}

.icon-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 25px;
  background: none;
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}

.sheet-search {
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--line);
}

.sheet-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.mk-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sheet-section {
  padding: 16px 16px 6px;
}
.sheet-section.muted {
  color: var(--muted);
}

.mk-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 16px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
}
.mk-btn:hover {
  background: var(--sun-soft);
}
.mk-btn[aria-current="true"] {
  background: var(--sun);
  color: var(--on-sun);
}
.mk-btn .radio {
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.mk-btn[aria-current="true"] .radio {
  background: var(--on-sun);
  box-shadow: inset 0 0 0 4px var(--sun);
}
.mk-btn .what .sub {
  font-size: 13px;
  opacity: 0.8;
}
.mk-btn .meta {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.mk-btn.later {
  color: var(--muted);
}

.sheet-msg {
  margin: 0;
  padding: 16px;
  color: var(--muted);
}

@media (min-width: 720px) {
  .sheet {
    width: 480px;
    max-width: calc(100vw - 32px);
    height: min(720px, calc(100dvh - 64px));
    margin: auto;
    border: 1.5px solid var(--ink);
  }
  .sheet-grip {
    display: none;
  }
  .sheet-head {
    padding-top: 16px;
  }
}

/* ---------- Near me ---------- */

.pin {
  flex: none;
  width: 18px;
  height: 18px;
}

/* Home: one row under the header, an invite or a link to the nearest branch. */
.near-ask {
  background: var(--surface);
  border-bottom: 1px solid var(--edge);
}
.near-ask[hidden] {
  display: none;
}
.near-ask-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding-right: 4px;
}
.near-ask .what {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
}
.btn-sun {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--on-sun);
  border-radius: 25px;
  background: var(--sun);
  color: var(--on-sun);
  font-size: 14px;
  font-weight: 700;
}
.btn-sun:disabled {
  opacity: 0.7;
}
.icon-btn.bare {
  border-color: transparent;
  color: var(--muted);
}
.near-go {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 6px 0;
  border: 0;
  background: none;
  text-align: left;
}
.near-go .what {
  display: flex;
  flex-direction: column;
}
.near-go small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.near-go .chev {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--muted);
}

/* One branch: distance above the name, Directions under it. */
.near-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.near-line .pin {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.near-line[hidden],
.directions[hidden] {
  display: none;
}
.directions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 14px;
  border: 1.5px solid currentColor;
  border-radius: 25px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.directions svg {
  width: 14px;
  height: 14px;
}

/* Branch list: "Use my location", then the sort toggle and distances. */
.sheet-near {
  padding: 0 16px 10px;
}
.sheet-near[hidden] {
  display: none;
}
.near-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
  border: 1.5px solid var(--on-sun);
  background: var(--sun);
  color: var(--on-sun);
  text-align: left;
}
.near-btn .what {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.near-btn small {
  font-size: 13px;
}
.near-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.near-sort > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.near-sort .pin {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.near-sort small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.link-btn {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mk-btn .dist {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.mk-btn .dist .num {
  font-size: 19px;
}
.tag {
  padding: 1px 6px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag.today {
  background: var(--sun);
  color: var(--on-sun);
  border-color: var(--on-sun);
}
.tag.recent {
  background: var(--track);
}
.tag.old {
  border-color: var(--edge);
  color: var(--muted);
}
.mk-btn[aria-current="true"] .tag.old {
  color: inherit;
}

/* ---------- Links that look like the rows and buttons they replaced ---------- */

a.row,
a.staple,
a.mk-btn,
a.near-go,
a.back-btn,
a.chip {
  color: inherit;
  text-decoration: none;
}
a.staple {
  color: var(--board-text);
}
a.chip {
  display: inline-flex;
  align-items: center;
}

/* ---------- Sections under a list ---------- */

.section-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.more {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-wrap: pretty;
}
.what .sub {
  font-size: 14px;
  line-height: 1.25;
  color: var(--muted);
}
.near-row {
  min-height: 60px;
  padding: 8px 12px;
}
.near-row .tag {
  flex: none;
}
.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-wrap: pretty;
}
.foot-nav a {
  color: inherit;
  text-underline-offset: 2px;
}
@media (prefers-color-scheme: light) {
  .note,
  .about p,
  .faq p {
    color: #3a3d40;
  }
}

/* ---------- One branch: Directions beside the name ---------- */

.title-row {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 12px;
}
.title-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dir-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}
.dir-btn svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

/* ---------- One vegetable ---------- */

.veg-top {
  gap: 12px;
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.top-row .back-btn {
  margin-bottom: 0;
}
.veg-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.veg-name {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.veg-name .market-name {
  font-size: clamp(32px, 11vw, 44px);
}
.veg-name .te {
  font-size: 17px;
  line-height: 1.35;
}
.veg-price {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.veg-when {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.veg-num {
  font-size: 44px;
  line-height: 0.95;
}
.veg-num .unit {
  font-size: 13px;
  font-weight: 600;
  font-stretch: 100%;
}
.veg-price .chg {
  font-size: 13px;
  font-weight: 700;
}
.veg-note,
.chart-note {
  margin: 0;
  font-size: 13px;
}
.veg-note {
  max-width: 14em;
  text-align: right;
}

/* The price chart: the server draws one per period; app.js shows one and reads days off it. */
.trend-wrap {
  touch-action: pan-y;
}
.trend {
  position: relative;
  height: 104px;
}
.trend[hidden],
.trend-cursor[hidden] {
  display: none;
}
.trend svg {
  display: block;
  width: 100%;
  height: 96px;
  overflow: visible;
  stroke: none;
}
.trend-base {
  stroke: currentColor;
  stroke-opacity: 0.45;
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
.trend-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.trend-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 2px var(--top-bg);
  pointer-events: none;
}
.trend-cursor {
  position: absolute;
  top: 0;
  width: 1px;
  height: 96px;
  margin-left: -0.5px;
  background: currentColor;
  pointer-events: none;
}
.trend-label {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
}
.trend-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ranges {
  display: flex;
  gap: 6px;
}
.range-chip {
  flex: none;
  height: 32px;
  min-width: 44px;
  padding: 0 10px;
  border: 1.5px solid var(--top-fg);
  border-radius: 25px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}
.range-chip[aria-pressed="true"] {
  background: var(--top-fg);
  color: var(--top-bg);
}

/* Each branch's rate */
.br-row {
  min-height: 72px;
}
.br-row .cost {
  width: auto;
  gap: 4px;
}
.br-row .when {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.br-row .when.fresh-when {
  color: inherit;
}
.chip-near {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip-near[hidden] {
  display: none;
}
.chip-near .pin {
  width: 14px;
  height: 14px;
}
.near-msg {
  margin: 0;
  font-size: 13px;
  color: var(--warn);
}
.near-msg[hidden] {
  display: none;
}

.faq {
  padding: 0;
}
.faq > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
}
.faq > div + div {
  border-top: 1px solid var(--line);
}
.faq h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.faq p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-wrap: pretty;
}

.veg-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
@media (min-width: 560px) {
  .veg-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.veg-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  min-height: 56px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--edge);
  color: inherit;
  text-decoration: none;
}
.veg-grid a:hover {
  background: var(--sun-soft);
}
.veg-grid .en {
  font-size: 14px;
}
.veg-grid .te {
  font-size: 13px;
}
.veg-grid .num {
  flex: none;
  font-size: 17px;
}
