/* The Munshi platform: "Dispensary". Every app is a carton with a colour band, a twin label in Urdu and English at equal size,
   and printed facts; documentation is a folded leaflet. Colours, type and spacing come from the shared tokens; the bands are
   the shared meanings (green, blue, amber, ink) and red is kept for "not yet published". */

:root {
  --ground: #eceeeb;
  --carton: var(--surface);
  --band-desktop: var(--in);
  --band-mobile: var(--out);
  --band-connector: var(--alert);
  --band-shopapp: var(--ink);
  --stamp-red: #b3261e;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) { :root { --ground: #0b1015; --stamp-red: #f08a7e; } }

body { background: var(--ground); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-5); }
.wrap.narrow { max-width: 760px; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; z-index: 30; padding: var(--s-3) var(--s-4); background: var(--surface); }
.skip:focus { inset-inline-start: var(--s-3); top: var(--s-3); }
a:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--carton); border-bottom: 1px solid var(--rule-strong); }
.bar { display: flex; align-items: center; gap: var(--s-5); min-height: 68px; }
.brand { display: flex; align-items: center; gap: var(--s-3); color: var(--ink); text-decoration: none; flex: none; }
.brand-twin { display: grid; line-height: 1.1; }
.brand-twin b { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.01em; }
.brand-twin span { color: var(--ink-3); font-size: var(--text-sm); }
:lang(ur) .brand-twin b { font-family: var(--font-urdu-read); font-size: var(--text-xl); line-height: 1.6; }
.brand-twin span:lang(ur) { font-family: var(--font-urdu-read); line-height: 1.6; }
.main-nav { display: flex; gap: var(--s-1); flex: 1; min-width: 0; }
.main-nav a { padding: var(--s-2) var(--s-3); border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 560; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); background: var(--sunken); }
.main-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.actions { display: flex; align-items: center; gap: var(--s-4); flex: none; }
.lang { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.lang:lang(ur) { font-family: var(--font-urdu-read); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-5); border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--carton); color: var(--ink); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--ink-3); }
.btn.primary { background: var(--action); border-color: var(--action); color: var(--on-action); }
.btn.primary:hover { background: var(--action-hover); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.text-link { color: var(--ink); font-weight: 650; text-underline-offset: 0.25em; }

/* ---------- Sections ---------- */
section { padding-block: var(--s-8); }
section.tight { padding-block: var(--s-5) var(--s-8); }
section.quiet { background: var(--carton); border-block: 1px solid var(--rule); }
.page-head { padding-block: var(--s-7) var(--s-4); }
.page-head h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch; }
.page-head .lead { margin-top: var(--s-3); }
:lang(ur) .page-head h1 { line-height: 1.9; letter-spacing: 0; }
.lead { color: var(--ink-2); font-size: var(--text-md); max-width: 62ch; }
.muted { color: var(--ink-2); }
.sec-head { display: grid; gap: var(--s-2); margin-bottom: var(--s-6); max-width: 60ch; }
.sec-head h2 { font-size: var(--text-2xl); letter-spacing: -0.015em; }
.sec-head p { color: var(--ink-2); }
:lang(ur) .sec-head h2 { line-height: 2; }

/* ---------- Carton ---------- */
.carton { position: relative; display: flex; flex-direction: column; background: var(--carton); border: 1px solid var(--rule-strong); border-radius: 6px; box-shadow: 0 1px 0 var(--rule), 0 14px 28px -22px rgb(20 32 43 / 0.45); overflow: hidden; }
.carton-band { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: var(--s-2) var(--s-4); background: var(--band); color: #fff; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; }
.band-desktop { --band: var(--band-desktop); }
.band-mobile { --band: var(--band-mobile); }
.band-connector { --band: var(--band-connector); }
.band-shopapp { --band: var(--band-shopapp); }
@media (prefers-color-scheme: dark) { .carton-band { color: var(--paper); } }
.carton-face { display: grid; align-content: start; gap: var(--s-3); padding: var(--s-4) var(--s-4) var(--s-5); flex: 1; }
.carton-link { color: inherit; text-decoration: none; }
.carton-link:hover .twin-a { text-decoration: underline; text-underline-offset: 0.2em; }
.twin { display: grid; gap: 2px; font-size: 1.3rem; line-height: 1.25; }
.twin-a { font-weight: 700; letter-spacing: -0.01em; }
.twin-b { font-weight: 600; color: var(--ink-2); }
html[dir="ltr"] .twin-b { text-align: left; }
html[dir="rtl"] .twin-b { text-align: right; }
.twin :lang(ur), .twin-a:lang(ur) { font-family: var(--font-urdu-read); line-height: 1.85; font-weight: 600; }
:lang(ur) .twin-a { font-family: var(--font-urdu-read); line-height: 1.85; }
.carton-role { color: var(--ink-2); font-size: var(--text-sm); }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px var(--s-4); margin: var(--s-1) 0 0; padding-top: var(--s-3); border-top: 1px dashed var(--rule-strong); font-size: var(--text-sm); }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.seal { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.85em; font-weight: 500; overflow-wrap: anywhere; }

/* Stamps: printed in one ink, glyph-free words with a ruled border, never colour alone. */
.stamp { justify-self: start; display: inline-flex; align-items: center; padding: 1px 8px; border: 1.5px solid currentColor; border-radius: 3px; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
:lang(ur) .stamp { letter-spacing: 0; text-transform: none; font-family: var(--font-urdu-compact); font-size: var(--text-sm); }
.st-testing { color: var(--alert); }
.st-preview { color: var(--out); }
.st-included { color: var(--ink-2); }
.st-released { color: var(--in); }
.st-unpublished { color: var(--stamp-red); border-style: dashed; }

/* ---------- Home: shelf and leaflet ---------- */
.hero { padding-block: var(--s-7) var(--s-8); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); gap: var(--s-6); align-items: start; }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.shelf .carton.is-open { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
.shelf .carton.is-open .carton-band { flex-basis: 100%; }
.shelf .carton.is-open .carton-face { flex: 1 1 240px; }
.shelf-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.leaflet { background: var(--carton); border: 1px solid var(--rule-strong); border-radius: 4px; padding: var(--s-5) var(--s-5) var(--s-6); }
.hero-leaflet h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; }
:lang(ur) .hero-leaflet h1 { line-height: 1.85; letter-spacing: 0; }
.hero-leaflet .lead { margin-top: var(--s-3); }
.fold, section.fold { margin-top: var(--s-5); padding-block: var(--s-5) 0; border-top: 1px dashed var(--rule-strong); }
.fold:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.fold h2 { font-size: var(--text-lg); margin-bottom: var(--s-2); }
.points { display: grid; gap: var(--s-3); margin-top: var(--s-5); counter-reset: pt; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 2px var(--s-3); counter-increment: pt; }
.points li::before { content: counter(pt); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--ink); border-radius: 50%; font-weight: 700; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.points b { font-weight: 650; }
.points span { color: var(--ink-2); font-size: var(--text-sm); }

/* The open carton: the shop app's Day Book, drawn like the console draws it. */
.flap { flex: 1.6 1 360px; margin: 0; padding: var(--s-4); background: var(--sunken); border-inline-start: 1px dashed var(--rule-strong); display: grid; gap: var(--s-2); }
.fl-screen { display: grid; gap: 6px; padding: var(--s-4); background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; }
.fl-q { justify-self: end; max-width: 85%; padding: 6px 12px; border-radius: 12px 12px 4px 12px; background: var(--sunken); font-size: var(--text-sm); }
[dir="rtl"] .fl-q { justify-self: start; border-radius: 12px 12px 12px 4px; }
.fl-say { font-weight: 600; font-size: var(--text-md); line-height: 1.4; }
:lang(ur) .fl-say { font-family: var(--font-urdu-read); line-height: 2; font-weight: 500; }
.fl-head, .fl-row { display: grid; grid-template-columns: minmax(110px, 1.3fr) minmax(0, 1fr) 1px minmax(0, 1fr) auto; align-items: center; gap: 0; }
.cur { margin-inline-end: 0.22em; color: var(--ink-3); font-size: max(11px, 0.8em); font-weight: 600; }
.fl-head span { color: var(--ink-3); font-size: var(--text-xs); font-weight: 600; padding-block: 4px; }
.fl-head span:nth-child(2) { text-align: end; padding-inline-end: 6px; }
.fl-head span:nth-child(4) { padding-inline-start: 6px; }
.fl-row { min-height: 26px; font-size: var(--text-sm); }
.fl-label { color: var(--ink-2); line-height: 1.25; padding-inline-end: var(--s-2); }
.fl-out { display: flex; justify-content: flex-end; padding-inline-end: 4px; }
.fl-in { display: flex; padding-inline-start: 4px; }
.fl-axis { align-self: stretch; background: var(--ink); }
.fl-bar { display: block; height: 12px; border-radius: 2px; }
.fl-bar-in { background: var(--in); }
.fl-bar-out { background: color-mix(in srgb, var(--out) 10%, transparent); box-shadow: inset 0 0 0 1.5px var(--out); }
.fl-fig { min-width: 92px; text-align: end; font-weight: 650; padding-inline-start: var(--s-2); }
.w1 { width: 10%; } .w2 { width: 20%; } .w3 { width: 30%; } .w4 { width: 40%; } .w5 { width: 50%; } .w6 { width: 60%; } .w7 { width: 70%; } .w8 { width: 80%; } .w9 { width: 90%; } .w10 { width: 100%; }
.flap figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); color: var(--ink-3); font-size: var(--text-xs); }
.demo-tag { padding: 0 6px; border: 1px dashed var(--ink-3); border-radius: 3px; }

/* ---------- Leaflet form ---------- */
.leaflet-form { display: grid; gap: 6px; margin-top: var(--s-3); }
.leaflet-form label { font-weight: 600; font-size: var(--text-sm); margin-top: var(--s-2); }
.leaflet-form input, .leaflet-form select, .leaflet-form textarea { width: 100%; min-height: 44px; padding: var(--s-2) var(--s-3); border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; }
.leaflet-form textarea { min-height: 72px; resize: vertical; }
.leaflet-form .btn { margin-top: var(--s-3); justify-self: start; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hint { color: var(--ink-3); font-size: var(--text-sm); }
#result { font-weight: 600; }
#result.bad { color: var(--stamp-red); }
#result.good { color: var(--in); }

/* ---------- Promises: ranked, so the first is the largest ---------- */
.band-section { background: var(--carton); border-block: 1px solid var(--rule); }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.promise { position: relative; padding: var(--s-5) var(--s-5) var(--s-5) 0; border-bottom: 1px solid var(--rule); }
.promise + .promise { padding-inline-start: var(--s-5); border-inline-start: 1px dashed var(--rule-strong); }
.promise.pr-0 { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-2) var(--s-5); padding-inline-start: 0; border-inline-start: 0; }
.promise.pr-0 .pr-no { grid-row: span 2; font-size: 4.5rem; line-height: 0.9; }
.promise.pr-0 h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.15; }
.promise.pr-0 p { font-size: var(--text-md); max-width: 62ch; }
.promise.pr-1 { padding-inline-start: 0; border-inline-start: 0; }
.pr-no { display: block; color: var(--ink-3); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 1.75rem; line-height: 1; margin-bottom: var(--s-2); }
.promise h3 { font-size: var(--text-lg); line-height: 1.25; margin-bottom: var(--s-2); }
:lang(ur) .promise h3 { line-height: 2; }
.promise p { color: var(--ink-2); }

/* ---------- How the pieces fit ---------- */
.map { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); grid-template-areas: "phone wifi shop" ". . pos-link" "away . pos"; gap: var(--s-3) 0; align-items: stretch; }
.node { display: grid; gap: var(--s-1); align-content: start; padding: var(--s-4); background: var(--carton); border: 1px solid var(--rule-strong); border-radius: 4px; }
.node span { color: var(--ink-2); font-size: var(--text-sm); }
/* Each node wears its app's carton band along the top, the same mark the cartons carry. */
.node-shop, .node-phone, .node-pos { padding-top: calc(var(--s-4) + 8px); background-image: linear-gradient(var(--band), var(--band)); background-size: 100% 8px; background-repeat: no-repeat; }
.node-shop { grid-area: shop; --band: var(--band-desktop); }
.node-phone { grid-area: phone; --band: var(--band-mobile); }
.node-pos { grid-area: pos; --band: var(--band-connector); }
.node-away { grid-area: away; background: transparent; border: 1.5px dashed var(--rule-strong); }
.link { position: relative; display: grid; place-items: center; color: var(--ink-3); font-size: var(--text-xs); font-weight: 600; }
.link-wifi { grid-area: wifi; }
.link-wifi::before { content: ""; position: absolute; inset-inline: 0; top: 50%; border-top: 2px dashed var(--ink-3); }
.link-wifi span, .link-pos span { position: relative; padding: 0 6px; background: var(--ground); }
.link-pos { grid-area: pos-link; min-height: 46px; }
.link-pos::before { content: ""; position: absolute; block-size: 100%; inset-inline-start: 50%; border-inline-start: 2px dashed var(--ink-3); }

/* ---------- Lists ---------- */
.split-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
.split-2 h2 { font-size: var(--text-xl); margin-bottom: var(--s-4); }
.upd-mini li { display: grid; gap: 2px; padding: var(--s-3) 0; border-top: 1px solid var(--rule); }
.upd-mini time, .upds time { color: var(--ink-3); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.guide-list { display: grid; }
.guide-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.guide-list a:hover b { text-decoration: underline; text-underline-offset: 0.2em; }
.guide-list b { display: block; font-weight: 650; }
.guide-list small { display: block; color: var(--ink-2); font-size: var(--text-sm); }
.g-no { color: var(--ink-3); font-weight: 700; font-variant-numeric: tabular-nums; padding-top: 2px; }

/* ---------- Apps ---------- */
.app-hero { padding-block: var(--s-7) var(--s-8); }
.app-grid { display: grid; grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.4fr); gap: var(--s-6); align-items: start; }
.carton-xl { position: sticky; top: 92px; }
.carton-xl .twin { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.ticks { display: grid; gap: var(--s-2); }
.ticks li { position: relative; padding-inline-start: var(--s-5); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.6em; width: 10px; height: 2px; background: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: var(--carton); border: 1px solid var(--rule-strong); }
table.data th, table.data td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--rule); text-align: start; vertical-align: middle; }
table.data thead th { color: var(--ink-3); font-size: var(--text-sm); font-weight: 600; border-bottom: 1px solid var(--rule-strong); }
table.data tbody th a { color: var(--ink); font-weight: 650; }
.notice { margin-top: var(--s-5); padding: var(--s-5); border: 1.5px dashed var(--rule-strong); border-radius: 4px; }
.notice h2 { font-size: var(--text-lg); margin-bottom: var(--s-2); }
.notice[hidden] { display: none; }

/* ---------- Docs ---------- */
.doc-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-7); }
.doc-group h2 { font-size: var(--text-lg); margin-bottom: var(--s-2); }
.guide { padding-block: var(--s-6) var(--s-8); }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-6); align-items: start; }
.guide-body h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; }
:lang(ur) .guide-body h1 { line-height: 1.9; letter-spacing: 0; }
.guide-body .lead { margin-top: var(--s-2); }
.crumb { margin-bottom: var(--s-3); font-size: var(--text-sm); }
.crumb a { color: var(--ink-2); }
.steps { display: grid; gap: 0; margin-top: var(--s-5); counter-reset: st; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--s-3); padding: var(--s-4) 0; border-top: 1px dashed var(--rule-strong); counter-increment: st; }
.steps li::before { content: counter(st); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; font-weight: 700; font-variant-numeric: tabular-nums; }
.steps h2 { font-size: var(--text-lg); line-height: 1.3; }
:lang(ur) .steps h2 { line-height: 1.9; }
.steps p { color: var(--ink-2); }
.note { margin-top: var(--s-5); padding: var(--s-4); border: 1.5px dashed var(--rule-strong); border-radius: 4px; }
.note-title { font-weight: 700; margin-bottom: var(--s-1); }
.guide-side { position: sticky; top: 92px; }

/* ---------- Integrations, updates, sign-in, legal ---------- */
.integs, .doors { display: grid; border-top: 2px solid var(--ink); }
.integ, .door { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); }
.integ h2, .door h2 { font-size: var(--text-lg); margin-bottom: var(--s-1); }
.integ p, .door p { color: var(--ink-2); max-width: 62ch; }
.upds { display: grid; border-top: 2px solid var(--ink); }
.upd { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); }
.upd h2 { font-size: var(--text-lg); margin-bottom: var(--s-1); }
.upd p { color: var(--ink-2); }
.legal h2 { font-size: var(--text-lg); margin: var(--s-5) 0 var(--s-2); }
.legal p { color: var(--ink-2); }
.note-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); color: var(--ink-2); }

/* ---------- Footer ---------- */
.foot { margin-top: 0; padding-block: var(--s-7) var(--s-5); background: var(--carton); border-top: 1px solid var(--rule-strong); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.foot-brand { display: grid; gap: var(--s-2); justify-items: start; }
.foot-brand span:lang(ur), .foot-brand span:lang(en) { color: var(--ink-3); }
.foot-group h2 { font-size: var(--text-sm); color: var(--ink-3); font-weight: 600; margin-bottom: var(--s-2); }
.foot-group ul { display: grid; gap: var(--s-1); }
.foot-group a { color: var(--ink-2); text-decoration: none; }
.foot-group a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--rule); color: var(--ink-3); font-size: var(--text-sm); }

/* ---------- Narrower screens ---------- */
@media (max-width: 1080px) {
  .hero-grid, .app-grid, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-leaflet { order: -1; }
  .carton-xl, .guide-side { position: static; }
  .shelf-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav { overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 760px) {
  section { padding-block: var(--s-7); }
  .wrap { padding-inline: var(--s-4); }
  .bar { flex-wrap: wrap; gap: var(--s-2) var(--s-4); min-height: 60px; padding-block: var(--s-2); }
  .main-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; overflow: visible; margin-inline: calc(-1 * var(--s-2)); }
  .main-nav a { padding: var(--s-2); }
  .actions .btn { min-height: 38px; padding: 0 var(--s-4); }
  .shelf, .shelf-wide { grid-template-columns: minmax(0, 1fr); }
  .promises, .split-2, .doc-groups, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .promise + .promise { padding-inline-start: 0; border-inline-start: 0; }
  .promise.pr-0 .pr-no { font-size: 3rem; }
  .map { grid-template-columns: minmax(0, 1fr); grid-template-areas: "shop" "wifi" "phone" "pos-link" "pos" "away"; }
  .link-wifi { min-height: 40px; }
  .link-wifi::before { inset-inline: auto; inset-inline-start: 50%; top: 0; bottom: 0; border-top: 0; border-inline-start: 2px dashed var(--ink-3); }
  .upd { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
  .integ, .door { flex-direction: column; }
  .fl-head, .fl-row { grid-template-columns: minmax(70px, 1fr) minmax(0, 1fr) 1px minmax(0, 1fr) auto; }
  .fl-fig { min-width: 78px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .main-nav a { transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
}
