/* Navito placeholder sites (navito.com.ua, navito.tech).
   Palette «Еспресо і помаранч» — the same values as libs/brand (NAVITO_COLORS). */
:root {
  --ink: #3a2a22;
  --ink-soft: #6b5a50;
  --accent: #e8622c;
  --accent-ink: #b8461a;
  --ground: #f5eee4;
  --card: #fffaf3;
  --line: #e6dccd;
  color-scheme: light;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5eee4;
    --ink-soft: #c9b9aa;
    --accent: #e8622c;
    --accent-ink: #f08a5a;
    --ground: #2a1f19;
    --card: #3a2a22;
    --line: #4d3c32;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  text-rendering: optimizeLegibility;
}
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }

.top { padding-block: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top .logo img { height: 40px; width: auto; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.hero { padding-block: clamp(40px, 9vw, 104px) clamp(32px, 6vw, 72px); max-width: 760px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 16px; }
h1 {
  font-size: clamp(36px, 6.4vw, 64px); line-height: 1.06; letter-spacing: -0.025em;
  font-weight: 700; margin: 0 0 24px; text-wrap: balance;
}
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); margin: 0; max-width: 62ch; text-wrap: pretty; }

h2 { font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 8px; text-wrap: balance; }
.section { padding-block: 40px; border-top: 1px solid var(--line); }
.section > p { color: var(--ink-soft); margin: 0 0 28px; max-width: 62ch; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.card img { height: 52px; width: auto; }
.card h3 { margin: 0; font-size: 19px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card .num { font-size: 14px; font-weight: 600; color: var(--accent-ink); }

.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 70ch; }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.list li::before { content: ""; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; border: 3px solid var(--accent); }
.list b { font-weight: 600; }

.cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; font-weight: 600; text-decoration: none;
  background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 999px; }
.cta:hover { background: var(--accent-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row .cta { margin-top: 0; }
.cta-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.cta-ghost:hover { background: var(--card); }

.faq-list { display: grid; gap: 12px; max-width: 78ch; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq-item h3 { margin: 0 0 6px; font-size: 18px; text-wrap: balance; }
.faq-item p { margin: 0; color: var(--ink-soft); }

.foot { padding-block: 40px 56px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; color: var(--ink-soft); font-size: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 600ms cubic-bezier(.2,.7,.2,1) both; }
  .hero > *:nth-child(2) { animation-delay: 60ms; }
  .hero > *:nth-child(3) { animation-delay: 120ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* Service pages (/recipes/, /auto/, …) */
.svc-logo { margin: 0 0 20px; }
.svc-logo img { height: 64px; width: auto; }

a.card { color: inherit; text-decoration: none; transition: border-color 150ms, transform 150ms; }
a.card:hover { border-color: var(--accent); }
a.card .more { font-size: 15px; font-weight: 600; color: var(--accent-ink); }
@media (prefers-reduced-motion: no-preference) { a.card:hover { transform: translateY(-2px); } }

.mock { position: relative; background: var(--card); border: 1px dashed var(--line); border-radius: 18px;
  padding: 44px 22px 22px; max-width: 760px; display: grid; gap: 16px; }
.mock-tag { position: absolute; top: 14px; left: 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-soft); }
.mock h3 { margin: 0; font-size: 21px; }
.mock .meta { margin: 0; color: var(--ink-soft); font-size: 15px; }
.mock .chip { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; border-radius: 999px;
  padding: 3px 10px; border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.mock .chip.accent { border-color: var(--accent); color: var(--accent-ink); }
.rows { margin: 0; padding: 0; list-style: none; display: grid; }
.rows li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  padding: 11px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows .what { font-weight: 500; }
.rows .what small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.rows .price { font-weight: 600; white-space: nowrap; }
.total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 14px;
  border-top: 2px solid var(--ink); font-weight: 700; }
.field { display: flex; gap: 8px; flex-wrap: wrap; }
.field span { flex: 1 1 240px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; letter-spacing: 0.04em; background: var(--ground); }
.field b { border-radius: 999px; padding: 10px 18px; background: var(--accent); color: #fff; font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; background: var(--ground); }
.tile b { font-size: 24px; letter-spacing: -0.01em; }
.tile span { font-size: 14px; color: var(--ink-soft); }
.bars { display: grid; gap: 6px; max-width: 360px; }
.bar { display: grid; grid-template-columns: 24px 1fr 36px; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.bar i { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--accent); }
.quote { border-left: 3px solid var(--accent); padding: 2px 0 2px 14px; display: grid; gap: 6px; }
.quote p { margin: 0; }
.quote .reply { color: var(--ink-soft); font-size: 15px; }

.others { display: flex; flex-wrap: wrap; gap: 10px; }
.others a { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  background: var(--card); color: var(--ink); text-decoration: none; font-weight: 500; }
.others a:hover { border-color: var(--accent); }

.hero-split { max-width: none; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-split:has(.photo) { grid-template-columns: 1.1fr 0.9fr; } }
.hero-split:not(:has(.photo)) > div { max-width: 760px; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); }
.section > .photo { margin-bottom: 24px; max-width: 760px; }
.split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .split:has(.photo) { grid-template-columns: 1fr 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.steps h3 { margin: 4px 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--ink-soft); }
.step-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: var(--accent); color: #fff; }
.prose p { max-width: 70ch; margin: 0 0 16px; color: var(--ink); }
.credits { flex-basis: 100%; font-size: 13px; }
.credits ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.credits summary { cursor: pointer; }

/* Product pages: the product logo sits in the header, the hero starts right under it */
.top .logo-product img { height: 52px; width: auto; }
.hero-product { padding-top: clamp(16px, 4vw, 40px); }

/* Buyer guides (navito.com.ua/guides/) */
a.badge-link { text-decoration: none; }
a.badge-link::before { display: none; }
a.badge-link:hover { border-color: var(--accent); color: var(--ink); }
.guide { max-width: 860px; }
.guide-hero { padding-block: clamp(24px, 5vw, 56px) 24px; max-width: none; }
.guide-meta { font-size: 15px; color: var(--ink-soft); margin: 0 0 20px; }
.guide > article > .photo { margin: 0 0 32px; }
.guide-intro { display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 760px) { .guide-intro { grid-template-columns: 1.2fr 1fr; } }
.summary, .toc { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.summary h2, .toc h2 { font-size: 18px; margin: 0 0 10px; }
.summary ul, .toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent-ink); text-decoration: underline; }
.guide .prose h3 { font-size: 20px; margin: 28px 0 8px; }
.guide .prose ul, .guide .prose ol { max-width: 70ch; padding-left: 22px; margin: 0 0 16px; display: grid; gap: 6px; }
.guide .prose > .photo { margin: 8px 0 24px; max-width: none; }
.tip { max-width: 70ch; border-left: 4px solid var(--accent); background: var(--card); border-radius: 0 12px 12px 0;
  padding: 14px 18px; margin: 0 0 16px; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.table-figure { margin: 0; }
.table-figure figcaption { color: var(--ink-soft); font-size: 14px; margin-bottom: 8px; }
.table-wrap th, .table-wrap td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap thead th { background: var(--card); font-weight: 600; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap .price { white-space: nowrap; }
.table-wrap table.compact { min-width: 0; }
.table-wrap th.price, .table-wrap td.price { text-align: right; }
.cell-note { display: block; font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.table-wrap td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  /* wide tables become one labelled card per row; two-column (.compact) tables already fit */
  .table-wrap:has(table:not(.compact)) { border: 0; border-radius: 0; overflow: visible; }
  .table-wrap table:not(.compact) { min-width: 0; }
  .table-wrap table:not(.compact) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table-wrap table:not(.compact), .table-wrap table:not(.compact) tbody,
  .table-wrap table:not(.compact) tr, .table-wrap table:not(.compact) th,
  .table-wrap table:not(.compact) td { display: block; }
  .table-wrap table:not(.compact) tr { background: var(--card); border: 1px solid var(--line); border-radius: 12px;
    padding: 12px 14px; margin-bottom: 10px; }
  .table-wrap table:not(.compact) tr > * { border: 0; padding: 0; text-align: left; }
  .table-wrap table:not(.compact) th[scope="row"] { font-size: 17px; margin-bottom: 6px; }
  .table-wrap table:not(.compact) td { padding: 4px 0; }
  .table-wrap table:not(.compact) td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
}
.table-wrap td.price { font-weight: 700; font-size: 16px; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.type-cards { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.type-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.type-card p { margin: 0; }
.type-card-title { font-weight: 600; font-size: 17px; }
.type-card .type-card-price { margin-top: 6px; font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--accent-ink);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.type-card-note { font-size: 13px; color: var(--ink-soft); }
.type-card dl { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.type-card dt { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 13px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.type-card dt::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.type-card dd { margin: 3px 0 12px; color: var(--ink-soft); }
.type-card dd:last-child { margin-bottom: 0; }
.sources ol { padding-left: 22px; display: grid; gap: 6px; font-size: 15px; overflow-wrap: anywhere; }
.back { padding-block: 8px 32px; }
.guide-card h2, .guide-card h3 { font-size: 22px; margin: 0; }
.top-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.product-photo img { aspect-ratio: 3 / 2; object-fit: contain; background: #fff; max-width: 520px; }
.product-photo figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }

/* guide calculators (copy/guides/calculators/*.html) */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 20px 0; }
.calc input[type="number"], .calc input[type="text"] { font: inherit; color: var(--ink); background: var(--ground); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 8px; width: 6.5em; font-variant-numeric: tabular-nums; }
.calc input[type="number"]:focus-visible, .calc input[type="text"]:focus-visible, .calc input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc input[type="checkbox"] { accent-color: var(--accent); width: 18px; height: 18px; vertical-align: -3px; }
.calc-outage { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; }
.calc-table { width: 100%; border-collapse: collapse; }
.calc-table caption { text-align: left; font-size: 14px; color: var(--ink-soft); padding-bottom: 8px; }
.calc-table th, .calc-table td { padding: 8px 6px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.calc-table thead th { border-top: 0; font-size: 13px; color: var(--ink-soft); }
.calc-table th[scope="row"] { font-weight: 500; }
.calc-table th[scope="row"] label { cursor: pointer; }
.calc-table small { display: block; font-size: 13px; color: var(--ink-soft); margin: 2px 0 0 26px; font-weight: 400; }
.calc-result { margin-top: 16px; }
.calc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.calc-cards section { background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.calc-cards h3 { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.calc-cards p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.calc-cards .calc-big { font-size: 26px; font-weight: 700; color: var(--accent-ink); margin-bottom: 6px; white-space: nowrap; }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 20px; margin: 0 0 14px; }
.calc-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.calc-fields .calc-wide { grid-column: span 2; }
.calc-fields[hidden] { display: none; }
.calc-fields > [hidden] { display: none; }
.calc-sizes small { display: block; margin: 2px 0 0; font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.calc-sizes td b { font-size: 18px; }
.calc-fields input[type="text"] { width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.calc-fields label small { font-size: 13px; color: var(--ink-soft); }
.guide .prose .calc .calc-marks { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; gap: 8px; font-size: 15px; }
#calc-tyre .calc-result .calc-bars-title, #calc-oil .calc-result .calc-bars-title, #calc-cpu .calc-result .calc-bars-title { margin: 18px 0 8px; }
.calc-marks li { padding: 10px 12px; background: var(--ground); border: 1px solid var(--line); border-radius: 10px; }
.calc-build .calc-result { margin-top: 0; }
.calc-fields .calc-full { grid-column: 1 / -1; }
.calc-range { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.calc-range-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.calc-range small { font-size: 13px; color: var(--ink-soft); }
.calc-range output, .calc-val { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc .calc-val input[type="number"] { width: 5.5em; text-align: right; font-weight: 700; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px;
  background: linear-gradient(to right, var(--accent) var(--fill, 50%), var(--line) var(--fill, 50%)); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px;
  border-radius: 50%; background: var(--card); border: 2px solid var(--accent); }
.calc input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.calc input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); }
.calc input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.calc-seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-seg legend { padding: 0; margin-bottom: 6px; font-size: 14px; color: var(--ink-soft); }
.calc-seg-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.calc-seg label { position: relative; }
.calc-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.calc-seg span { display: block; min-width: 2.75em; box-sizing: border-box; padding: 7px 14px; text-align: center; font-size: 14px;
  color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.calc-seg input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--card); font-weight: 700; }
.calc-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-build { margin: 0 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-sub { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.calc-note { margin: 0 0 10px; font-size: 14px; color: var(--ink-soft); }
.calc-row { padding: 12px 0; border-top: 1px solid var(--line); }
.calc-row:first-child { border-top: 0; }
.calc-row-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.calc-row-name { font-weight: 700; color: var(--ink); }
.calc-r { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.calc .calc-r input[type="number"] { width: 5em; text-align: right; font-weight: 700; }
.calc-row-ctl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 14px; }
.calc-row-ctl select { flex: 1 1 240px; min-width: 0; }
.calc-row-ctl .calc-thick { flex: 1 1 100%; }
.calc-row-ctl [hidden] { display: none; }
.calc-fields input[type="number"] { width: 100%; box-sizing: border-box; }
.calc select { font: inherit; color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; max-width: 100%; }
.calc select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-bars-title { margin: 24px 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.calc-result .calc-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.calc-bars li { display: grid; grid-template-columns: 9em 1fr auto; align-items: center; gap: 10px; }
.calc-bar { height: 10px; background: var(--ground); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.calc-bar span { display: block; height: 100%; background: var(--accent); }
.calc-bars .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .calc { padding: 14px; }
  .calc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .calc-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; border-top: 1px solid var(--line); padding: 10px 0; }
  .calc-table th[scope="row"] { grid-column: 1 / -1; }
  .calc-table th, .calc-table td { border: 0; padding: 0; }
  .calc-table td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--ink-soft); }
  .calc input[type="number"] { width: 100%; box-sizing: border-box; }
  .calc-fields .calc-wide { grid-column: 1 / -1; }
  .calc-result .calc-bars { gap: 10px; }
  .calc-bars li { grid-template-columns: 1fr auto; grid-template-areas: "label num" "bar bar"; gap: 4px 10px; }
  .calc-bars li > span:first-child { grid-area: label; }
  .calc-bars .calc-bar { grid-area: bar; }
  .calc-bars .num { grid-area: num; text-align: right; }
}
/* «Журнал» Navito Рецепти (copy/journal/render_journal.py) */
.crumbs { font-size: 15px; color: var(--ink-soft); padding-top: 16px; }
.crumbs a { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.guide .prose ol.howto { gap: 10px; }
.guide .prose ol.howto li::marker { font-weight: 700; color: var(--accent-ink); }
.quote { max-width: 70ch; margin: 0 0 16px; padding: 4px 0 4px 18px; border-left: 4px solid var(--line); }
.quote p { margin: 0 0 6px; font-size: 18px; }
.quote footer { font-size: 15px; color: var(--ink-soft); }
