/* forma karkas/prototypes/app/lanx-design.css sha256:dfcb5e3c878f2bc8a00aa1e9c98bf2186a2385345a07b956011b584e0cb6981e — не править здесь, правка идёт в GarroV/forma */
/* Копия экранного эталона LANX (GarroV/lanx 64eafc3, docs/furca/design/design.css) — вид приложения по решению 18.11.2026. Временно здесь, для прототипов каркаса; канон вида переедет в forma/lanx/. */
/* LANX — экранный эталон: токены и компоненты.
   Визуал — нуар «дело о пропавшем теле» (D021): бумага, чернила и один сигнальный красный.
   Палитра своя и от темы Telegram не зависит: из Telegram берётся только colorScheme
   (светлая или ночная), шапка и низ мини-апа красятся setHeaderColor/setBottomBarColor в --bg.
   Светлая/ночная: prefers-color-scheme, переключатель на страницах эталона — [data-theme].
   Акценты — штампом, плашкой-закладкой и меткой, без цветных полос сбоку у карточек. */

:root {
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Oswald", "Arial Narrow", "Golos Text", sans-serif;

  --bg: #EFE6D8;            /* бумага: фон экрана */
  --surface: #F7F4EE;       /* карточки, листы, поля */
  --surface-2: #E9E2D6;     /* вложенное: дорожки, кнопки степпера */
  --line: #E2DCD2;
  --line-2: #CFC7BA;
  --text: #1A1714;          /* чернила: текст и числа */
  --text-2: #4A443D;
  --text-3: #6B645B;
  --ink: #1A1714;           /* жирные плашки: выбранное, кольцо, столбцы, навигация */
  --on-ink: #EFE6D8;
  --sig: #C8370A;           /* сигнальный красный: только главное действие и запись голоса */
  --on-sig: #FFF8F2;
  --sig-soft: #F6DED3;
  --track: #DDD5C8;

  --p: var(--ink);          /* белки — сплошная заливка */
  --f: repeating-linear-gradient(135deg, var(--ink) 0 2px, transparent 2px 4.5px);  /* жиры — штриховка */
  --c: var(--text-3);       /* углеводы — серые чернила */

  --chat-bg: #E4DCCD;
  --bubble-in: #F7F4EE;
  --bubble-out: #DCD3C3;
  --bar: #1A1714;
  --on-bar: #EFE6D8;
  --on-bar-2: #A39A8C;
  --shadow: 0 1px 0 rgba(26, 23, 20, .05), 0 14px 30px -18px rgba(26, 23, 20, .45);
  --scrim: rgba(26, 23, 20, .5);
  --grain-op: .5;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .10 0 0 0 0 .09 0 0 0 0 .08 0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1A1714;
    --surface: #24201C;
    --surface-2: #2E2924;
    --line: #38322B;
    --line-2: #4A433A;
    --text: #EFE6D8;
    --text-2: #C9BFAF;
    --text-3: #978D7F;
    --ink: #EFE6D8;
    --on-ink: #1A1714;
    --sig-soft: #3A2117;
    --track: #3A342D;
    --chat-bg: #13110F;
    --bubble-in: #24201C;
    --bubble-out: #3A332B;
    --bar: #0F0D0B;
    --on-bar: #EFE6D8;
    --on-bar-2: #8C8376;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 14px 30px -16px rgba(0, 0, 0, .8);
    --scrim: rgba(0, 0, 0, .62);
    --grain-op: .35;
    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .94 0 0 0 0 .90 0 0 0 0 .85 0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1A1714;
  --surface: #24201C;
  --surface-2: #2E2924;
  --line: #38322B;
  --line-2: #4A433A;
  --text: #EFE6D8;
  --text-2: #C9BFAF;
  --text-3: #978D7F;
  --ink: #EFE6D8;
  --on-ink: #1A1714;
  --sig-soft: #3A2117;
  --track: #3A342D;
  --chat-bg: #13110F;
  --bubble-in: #24201C;
  --bubble-out: #3A332B;
  --bar: #0F0D0B;
  --on-bar: #EFE6D8;
  --on-bar-2: #8C8376;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 14px 30px -16px rgba(0, 0, 0, .8);
  --scrim: rgba(0, 0, 0, .62);
  --grain-op: .35;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .94 0 0 0 0 .90 0 0 0 0 .85 0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color-scheme: dark;
}

/* ---------- основа ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.4 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.num, .ring .mid b, .kv b, .meal-k, .draft-k, .sum-n b, .stats b, .big-num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum", "lnum"; }
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- подставка эталона (вне телефона) ---------- */
.stage { max-width: 1320px; margin: 0 auto; padding: 16px; }
.stage-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.stage-bar a.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--text-2); }
.stage-bar h1 { margin: 0; font: 500 24px/1.1 var(--display); letter-spacing: .01em; flex: 1 1 200px; }
.stage-note { max-width: 72ch; margin: 0 0 18px; color: var(--text-2); font-size: 14px; }
.stage-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.frames { display: flex; flex-wrap: wrap; gap: 28px 24px; justify-content: center; align-items: flex-start; }
.frame { margin: 0; width: min(390px, 100%); }
.frame > figcaption { margin: 0 4px 8px; font-size: 13px; color: var(--text-2); }
.frame > figcaption b { color: var(--text); font-weight: 650; }
.sec-title { margin: 30px 0 12px; font: 500 22px/1.1 var(--display); letter-spacing: .01em; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.sec-title:first-of-type { margin-top: 0; }
.theme-seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; background: var(--surface); }
.theme-seg button { border: 0; background: none; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.theme-seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }

/* ---------- телефон ---------- */
.phone {
  position: relative; isolation: isolate; width: min(390px, 100%); min-height: 760px; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow);
}
.phone::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: var(--grain-op); pointer-events: none; z-index: 0; }
.phone > * { position: relative; z-index: 1; }
.phone > .scrim, .phone > .sheet { position: absolute; z-index: 5; }
.phone.fit { min-height: 0; }
.tgtop { display: grid; grid-template-columns: 96px 1fr 96px; align-items: center; height: 46px; padding: 0 8px; background: var(--bg); border-bottom: 1px solid var(--line-2); font-size: 15px; }
.tgtop .l { color: var(--text); display: flex; align-items: center; gap: 2px; font-weight: 550; }
.tgtop .t { text-align: center; font: 500 17px/1 var(--display); letter-spacing: .02em; }
.tgtop .r { justify-self: end; color: var(--text-2); display: flex; padding-right: 6px; }
.screen { flex: 1; padding: 12px 12px 18px; display: flex; flex-direction: column; gap: 10px; }

/* шапка приложения на «Сегодня» */
.mast { display: flex; align-items: center; gap: 10px; }
.mast img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--ink); flex: none; }
.mast b { font: 600 22px/1 var(--display); letter-spacing: .06em; }
.mast span { font-size: 12.5px; color: var(--text-3); line-height: 1.2; }

/* навигация: чернильная плашка с красной «Добавить» по центру */
.tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; background: var(--bar); color: var(--on-bar-2); padding: 0 4px 8px; margin-top: auto; }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 2px; font-size: 11px; font-weight: 600; min-width: 0; }
.tabbar a span { white-space: nowrap; }
.tabbar a[aria-current="page"] { color: var(--on-bar); }
.tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--on-bar); }
.tabbar a.add { color: var(--on-bar); }
.tabbar a.add i { width: 52px; height: 52px; margin-top: -22px; border-radius: 50%; background: var(--sig); color: var(--on-sig); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--bar), 0 8px 16px -6px rgba(0, 0, 0, .6); }
.tabbar a.add i .ic { width: 26px; height: 26px; stroke-width: 2.2; }

/* ---------- карточки и текст ---------- */
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; padding: 12px; }
.h { margin: 0; font: 500 15px/1.2 var(--display); letter-spacing: .02em; color: var(--text); }
.hs { margin: 6px 2px 0; font: 500 16px/1.2 var(--display); letter-spacing: .02em; display: flex; align-items: baseline; gap: 8px; }
.hs::after { content: ""; flex: 1; border-bottom: 1px solid var(--line-2); transform: translateY(-4px); }
.t-xs { font-size: 12px; color: var(--text-2); }
.t-sm { font-size: 13px; color: var(--text-2); }
.muted { color: var(--text-2); }
.row { display: flex; align-items: center; gap: 8px; }
.row.sp { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.hr { height: 1px; background: var(--line-2); margin: 10px -12px; border: 0; }

/* период / листание */
.pager { display: grid; grid-template-columns: 40px 1fr 40px; gap: 6px; }
.pager .arr { height: 40px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 6px; display: grid; place-items: center; color: var(--text); }
.pager .cur { height: 40px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 650; min-width: 0; }
.pager .cur small { color: var(--text-3); font-weight: 500; font-size: 12px; }
.pager .cur .ic { width: 16px; height: 16px; color: var(--text-3); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 6px; border: 1px solid transparent; font-size: 15px; font-weight: 650; background: var(--surface-2); color: var(--text); white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--sig); color: var(--on-sig); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-secondary { background: var(--surface); border-color: var(--line-2); }
.btn-ghost { background: none; color: var(--text); padding: 0 8px; text-decoration: underline; text-underline-offset: 3px; }
.btn-danger { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-danger .ic { color: var(--text-2); }
.btn-sm { height: 36px; padding: 0 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .38; pointer-events: none; }
.btn.is-loading { pointer-events: none; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.btns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }

/* ---------- поля ---------- */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > label, .lbl { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.inp { height: 46px; width: 100%; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); font-size: 16px; font-variant-numeric: tabular-nums; }
textarea.inp { height: auto; min-height: 76px; padding: 10px 12px; resize: none; line-height: 1.4; display: block; }
.inp::placeholder { color: var(--text-3); }
.inp.is-focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.inp.is-error { border-color: var(--sig); box-shadow: 0 0 0 1px var(--sig); }
.inp[disabled] { background: var(--surface-2); color: var(--text-3); }
.inp.big { height: 66px; font: 500 38px/1 var(--display); text-align: center; letter-spacing: .01em; }
.hint { font-size: 12px; color: var(--text-2); }
.hint.err { color: var(--sig); font-weight: 600; }
.sel { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); min-width: 0; }
.sel > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel .ic { width: 16px; height: 16px; color: var(--text-3); }
.at { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* степпер граммов */
.stepper { display: inline-grid; grid-template-columns: 36px 60px 36px; height: 38px; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: var(--surface); }
.stepper button { border: 0; background: var(--surface-2); display: grid; place-items: center; padding: 0; }
.stepper button .ic { width: 16px; height: 16px; }
.stepper input { width: 100%; min-width: 0; border: 0; text-align: center; font-weight: 650; font-size: 15px; background: none; font-variant-numeric: tabular-nums; padding: 0; }

/* сегмент */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; gap: 2px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; }
.seg button { border: 0; background: none; height: 34px; border-radius: 4px; font-size: 14px; font-weight: 600; color: var(--text-2); padding: 0 4px; min-width: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.seg.sm button { height: 30px; font-size: 13px; }

/* переключатель */
.switch { position: relative; width: 46px; height: 28px; border-radius: 14px; background: var(--track); border: 0; padding: 0; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .15s; }
.switch.on { background: var(--ink); }
.switch.on::after { transform: translateX(18px); background: var(--on-ink); }
.time { display: inline-flex; align-items: center; height: 34px; padding: 0 10px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 650; font-variant-numeric: tabular-nums; }
.time.off { color: var(--text-3); }

/* бейджи и штамп */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 7px; border-radius: 3px; font-size: 11.5px; font-weight: 650; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.badge.ok { border-color: var(--ink); color: var(--text); }
.badge.admin { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.badge.off { color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.badge.draft, .badge.low { border-style: dashed; border-color: var(--text-3); color: var(--text-2); }
.badge .ic { width: 12px; height: 12px; stroke-width: 2.2; }
.stamp { display: inline-block; padding: 2px 8px; border: 2px solid currentColor; border-radius: 3px; color: var(--text-2); font: 600 12px/1.2 var(--display); letter-spacing: .14em; transform: rotate(-4deg); opacity: .85; white-space: nowrap; }

/* ---------- кольцо и полосы ---------- */
.today-hero { display: grid; grid-template-columns: 148px 1fr; gap: 14px; align-items: center; }
.ring { position: relative; width: 148px; height: 148px; }
.ring svg { width: 100%; height: 100%; display: block; }
.ring .trk { stroke: var(--track); }
.ring .a1 { stroke: var(--ink); }
.ring .a2 { stroke: var(--text-3); }
.ring .notch { stroke: var(--text); stroke-width: 2; }
.ring .mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring .mid b { font: 500 40px/1 var(--display); letter-spacing: 0; }
.ring .mid span { margin-top: 4px; font-size: 12px; color: var(--text-2); }
.kv { display: flex; flex-direction: column; gap: 9px; }
.kv div { display: flex; flex-direction: column; }
.kv span { font-size: 12px; color: var(--text-2); }
.kv b { font: 500 24px/1.05 var(--display); }
.kv b small { font: 400 13px var(--font); color: var(--text-2); margin-left: 4px; }
.macs { display: grid; gap: 9px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.mac-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-bottom: 4px; }
.mac-h b { font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.mac-h span { color: var(--text-2); font-variant-numeric: tabular-nums; }
.mac-h span em { font-style: normal; color: var(--text); font-weight: 700; }
.mac-bar { position: relative; height: 10px; border-radius: 2px; background: var(--track); }
.mac-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; }
.mac-bar i.p, .dot.p { background: var(--p); }
.mac-bar i.f, .dot.f { background: var(--f); box-shadow: inset 0 0 0 1px var(--ink); }
.mac-bar i.c, .dot.c { background: var(--c); }
.mac-bar u { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--text); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 1px; margin-right: 4px; vertical-align: -1px; }

/* ---------- приёмы ---------- */
.meal { display: block; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.meal-h { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; }
.meal-t { min-width: 0; }
.meal-t b { display: block; font: 500 18px/1.15 var(--display); letter-spacing: .01em; }
.meal-t .sub { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 3px; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.meal-k { font: 500 26px/1 var(--display); text-align: right; }
.meal-k small { display: block; font: 400 11px/1.4 var(--font); color: var(--text-2); }
.items { list-style: none; margin: 0; padding: 0 12px 6px; }
.items li { display: grid; grid-template-columns: 1fr auto 44px; gap: 10px; padding: 6px 0; border-top: 1px dotted var(--line-2); font-size: 14px; align-items: baseline; }
.items li .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.items li .g, .items li .kc { text-align: right; font-variant-numeric: tabular-nums; }
.items li .g { color: var(--text-2); }
.items li .kc { font-weight: 650; }
.meal.empty { background: none; border-style: dashed; }
.meal.empty .meal-h { grid-template-columns: 1fr auto; }
.meal.empty .meal-t b { color: var(--text-3); }
.ph { width: 50px; height: 50px; border-radius: 3px; overflow: hidden; flex: none; background: var(--surface-2); border: 1px solid var(--line-2); }
.ph svg { width: 100%; height: 100%; display: block; }
.ph.noimg { display: grid; place-items: center; color: var(--text-3); border-style: dashed; background: none; }

.draft { position: relative; background: var(--surface); border: 1.5px dashed var(--text-3); border-radius: 6px; padding: 10px 12px; display: grid; gap: 10px; }
.draft .stamp { position: absolute; right: 12px; top: -11px; background: var(--bg); }
.draft-h { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.draft-h b { display: block; font: 500 17px/1.15 var(--display); letter-spacing: .01em; }
.draft-k { font: 500 24px/1 var(--display); text-align: right; }
.draft-k small { font: 400 12px var(--font); color: var(--text-2); }

/* ---------- лист (bottom sheet) ---------- */
.scrim { position: absolute; inset: 0; background: var(--scrim); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: 14px 14px 0 0; border-top: 2px solid var(--ink); padding: 8px 14px 18px; display: grid; gap: 12px; box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .4); }
.sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 0 auto 2px; }
.sheet h2 { margin: 0; font: 500 21px/1.15 var(--display); letter-spacing: .01em; }
.sheet.inline { position: static; border: 1px solid var(--line-2); border-top: 2px solid var(--ink); border-radius: 8px; box-shadow: none; }

/* календарь */
.cal { display: grid; gap: 6px; }
.cal-h { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; text-align: center; font: 500 16px var(--display); letter-spacing: .02em; }
.cal-h .arr { height: 36px; display: grid; place-items: center; color: var(--text-2); }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.cal-g .wd { text-align: center; font-size: 11px; color: var(--text-3); padding-bottom: 2px; font-weight: 600; }
.cal-g .d { position: relative; height: 38px; display: grid; place-items: center; font-size: 15px; font-variant-numeric: tabular-nums; border-radius: 4px; }
.cal-g .d.out { color: var(--text-3); opacity: .5; }
.cal-g .d.has::after { content: ""; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }
.cal-g .d.in { background: var(--surface-2); border-radius: 0; }
.cal-g .d.s { background: var(--ink); color: var(--on-ink); font-weight: 700; }
.cal-g .d.s.has::after { background: var(--on-ink); }
.cal-g .d.s1 { border-radius: 4px 0 0 4px; } .cal-g .d.s2 { border-radius: 0 4px 4px 0; } .cal-g .d.s1.s2 { border-radius: 4px; }
.cal-g .d.now { box-shadow: inset 0 0 0 1.5px var(--text-2); }
.cal-g .d.fut { color: var(--text-3); opacity: .45; }

/* ---------- списки ---------- */
.list { background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.list > * { padding: 11px 12px; }
.list > * + * { border-top: 1px solid var(--line); }
.li { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.li b { font-weight: 650; }
.li small { display: block; color: var(--text-2); font-size: 12.5px; }

/* ---------- графики ---------- */
.chart { width: 100%; height: auto; display: block; }
.chart text { font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart .ax { fill: var(--text-3); font-size: 10.5px; }
.chart .gl { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 1 3; }
.chart .goal { stroke: var(--text); stroke-width: 1.4; stroke-dasharray: 5 3; }
.chart .goal-t { fill: var(--text-2); font-size: 10.5px; font-weight: 600; }
.chart .bar { fill: var(--ink); }
.chart .cap { fill: var(--text-3); }
.chart .ghost { fill: none; stroke: var(--text-3); stroke-width: 1.2; stroke-dasharray: 3 2; }
.chart .val { fill: var(--text); font-size: 10.5px; font-weight: 650; }
.chart .raw { fill: var(--text-3); opacity: .55; }
.chart .trend { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.chart .endp { fill: var(--surface); stroke: var(--ink); stroke-width: 2.4; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--text-2); flex-wrap: wrap; }
.legend i { display: inline-block; vertical-align: middle; margin-right: 5px; }
.lg-bar { width: 10px; height: 10px; background: var(--ink); }
.lg-cap { width: 10px; height: 10px; background: var(--text-3); }
.lg-goal { width: 16px; border-top: 1.5px dashed var(--text); }
.lg-ghost { width: 10px; height: 10px; border: 1.5px dashed var(--text-3); }
.lg-raw { width: 8px; height: 8px; background: var(--text-3); opacity: .6; border-radius: 50%; }
.lg-trend { width: 16px; border-top: 2.5px solid var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stats > div { padding: 0 10px; border-left: 1px solid var(--line-2); min-width: 0; }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats span { display: block; font-size: 12px; color: var(--text-2); }
.stats b { display: block; font: 500 23px/1.15 var(--display); }
.stats b small { font: 400 12px var(--font); color: var(--text-2); }
.stats .dlt { display: block; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cmp { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.cmp th { text-align: right; font-size: 12px; font-weight: 600; color: var(--text-2); padding: 0 0 6px; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp td { text-align: right; padding: 7px 0; border-top: 1px solid var(--line-2); }
.cmp td:first-child { color: var(--text-2); }
.cmp td.dl { font-weight: 700; }
.dayrow { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; }
.dayrow .dd { font: 500 18px/1 var(--display); }
.dayrow .dd small { display: block; font: 500 12px/1.4 var(--font); color: var(--text-2); }
.dayrow .mm { display: flex; gap: 10px; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.dayrow .kk { font: 500 19px/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.dayrow.none .kk, .dayrow.none .dd { color: var(--text-3); }

/* ---------- «Тарелка» ---------- */
.pos { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 11px 12px; align-items: center; }
.pos + .pos { border-top: 1px solid var(--line); }
.pos .nm { font-weight: 650; min-width: 0; }
.pos .nm small { display: block; font-weight: 400; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pos .nm .badge { margin-top: 4px; }
.pos .kc { text-align: right; font: 500 21px/1 var(--display); font-variant-numeric: tabular-nums; }
.pos .kc small { font: 400 11px var(--font); color: var(--text-2); margin-left: 3px; }
.pos .ctl { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.pos .ctl .x { margin-left: auto; width: 38px; height: 38px; display: grid; place-items: center; color: var(--text-3); border-radius: 6px; border: 0; background: none; }
.pos.changed .kc::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 6px; vertical-align: 4px; }
.pos.low { background: repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--text-3) 9%, transparent) 7px 8px); }
.ask { position: relative; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 0 6px 6px 6px; padding: 12px 12px 11px; margin-top: 14px; display: grid; gap: 9px; }
.ask .tag { position: absolute; left: -1.5px; top: -22px; height: 22px; padding: 0 10px; display: inline-flex; align-items: center; background: var(--ink); color: var(--on-ink); border-radius: 4px 4px 0 0; font: 500 12.5px/1 var(--display); letter-spacing: .06em; }
.ask-h { display: flex; gap: 10px; align-items: flex-start; }
.ask-h img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.ask-h b { display: block; font: 500 17px/1.2 var(--display); letter-spacing: .01em; }
.ask-h small { display: block; font-size: 12px; color: var(--text-2); }
.note-ok { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-2); padding: 0 2px; }
.note-ok .ic { width: 16px; height: 16px; margin-top: 1px; color: var(--text); }
.sumbar { position: sticky; bottom: 0; background: var(--surface); border-top: 2px solid var(--ink); padding: 10px 12px 12px; display: grid; gap: 10px; margin: auto -12px -18px; }
.sum-n { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sum-n b { font: 500 36px/1 var(--display); }
.sum-n b small { font: 400 14px var(--font); color: var(--text-2); margin-left: 4px; }
.sum-m { display: flex; gap: 12px; font-size: 14px; font-variant-numeric: tabular-nums; align-items: center; }
.sum-m span { color: var(--text-2); }
.sum-m b { font-weight: 700; color: var(--text); }
.photo-big { width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--surface-2); position: relative; border: 1px solid var(--line-2); }
.photo-big svg { width: 100%; height: 100%; display: block; }
.photo-big .lock { position: absolute; left: 8px; bottom: 8px; display: inline-flex; gap: 4px; align-items: center; background: rgba(26, 23, 20, .78); color: #EFE6D8; font-size: 11.5px; padding: 3px 8px; border-radius: 3px; }
.photo-big .stamp { position: absolute; right: 10px; top: 10px; background: #F7F4EE; color: #4A443D; }
.photo-big .lock .ic { width: 12px; height: 12px; }
.photo-big .cap { position: absolute; right: 8px; bottom: 8px; background: #F7F4EE; color: #1A1714; font-size: 12px; padding: 3px 8px; border-radius: 2px; transform: rotate(-1.5deg); box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }

/* ---------- «Добавить» ---------- */
/* строка ввода как в мессенджере (D050): поле, под ним иконки 44 px и «Разобрать» */
.composer { display: grid; gap: 8px; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; }
.composer:focus-within, .composer.is-focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.composer textarea { display: block; width: 100%; min-height: 76px; max-height: 40dvh; padding: 4px; border: 0; background: none; font-size: 16px; line-height: 1.4; resize: none; overflow-y: auto; }
.composer textarea:focus { outline: none; }
.composer textarea::placeholder { color: var(--text-3); }
.attach { position: relative; width: 80px; height: 80px; }
.attach .ph { width: 80px; height: 80px; }
.attach .x { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; }
.attach .x i { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.attach .x .ic { width: 14px; height: 14px; stroke-width: 2; }
.cbar { display: flex; align-items: center; gap: 4px; }
.cbar .btn-primary { margin-left: auto; }
.ib { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text); display: grid; place-items: center; }
.ib .ic { width: 24px; height: 24px; }
.ib.hold.rec { background: var(--sig); color: var(--on-sig); }
.recst { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.recst .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sig); }
.recst .timer { flex: none; }
.recst span.cap { display: grid; min-width: 0; font-size: 13px; font-weight: 650; line-height: 1.25; }
.recst small { font-size: 11.5px; font-weight: 400; color: var(--text-2); }
.timer { font: 500 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 34px; width: 100%; }
.wave i { width: 3px; border-radius: 2px; background: var(--ink); }
.wave i.q { background: var(--line-2); }
.typehint { font-size: 12px; color: var(--text-3); margin-top: -4px; padding: 0 2px; }

/* ---------- «Разбор» ---------- */
.probe { display: grid; justify-items: center; gap: 12px; padding: 8px 4px 0; text-align: center; }
.evidence { position: relative; width: 210px; height: 210px; padding: 8px 8px 30px; background: #F7F4EE; border: 1px solid var(--line-2); box-shadow: var(--shadow); transform: rotate(-2deg); box-sizing: content-box; }
.evidence img { width: 210px; height: 210px; display: block; object-fit: cover; filter: sepia(.25) contrast(1.05); }
.evidence figcaption { position: absolute; left: 0; right: 0; bottom: 6px; font-size: 12px; color: #4A443D; }
.evidence .clip { position: absolute; top: -12px; left: 26px; width: 14px; height: 40px; border: 2.5px solid #6B645B; border-radius: 8px; }
.lens { position: absolute; width: 74px; height: 74px; border-radius: 50%; border: 3px solid #EFE6D8; box-shadow: 0 0 0 2px #1A1714, inset 0 0 0 999px rgba(239, 230, 216, .12); left: 30px; top: 40px; animation: sweep 3.2s ease-in-out infinite alternate; }
.lens::after { content: ""; position: absolute; width: 8px; height: 36px; background: #1A1714; right: -18px; bottom: -30px; transform: rotate(-45deg); border-radius: 3px; }
@keyframes sweep { 0% { transform: translate(0, 0); } 50% { transform: translate(90px, 30px); } 100% { transform: translate(40px, 100px); } }
.probe h2 { margin: 6px 0 0; font: 500 30px/1.05 var(--display); letter-spacing: .01em; }
.probe p { margin: 0; color: var(--text-2); font-size: 14px; max-width: 32ch; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; font-size: 14px; }
.steps li + li { border-top: 1px solid var(--line); }
.steps li::before { content: counter(st); width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font: 500 13px/1 var(--display); color: var(--text-3); }
.steps li.done::before { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.steps li.now { font-weight: 650; }
.steps li.now::before { border-color: var(--ink); color: var(--text); }
.steps li.wait { color: var(--text-3); }
.steps li small { display: block; font-weight: 400; font-size: 12px; color: var(--text-2); }
.steps .ic { width: 16px; height: 16px; }

/* вес: лента */
.wrow { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; }
.wrow .wd { font: 500 18px/1 var(--display); }
.wrow .wd small { display: block; font: 500 12px/1.4 var(--font); color: var(--text-2); }
.wrow .wv { font: 500 21px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.wrow .wv small { display: block; font: 400 12px/1.4 var(--font); color: var(--text-2); }
.privacy { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text-2); }
.privacy .ic { width: 15px; height: 15px; }
.big-num { font: 500 48px/1 var(--display); }
.big-num small { font: 400 15px var(--font); color: var(--text-2); margin-left: 4px; }
.mid-num { font: 500 26px/1 var(--display); font-variant-numeric: tabular-nums; }

/* ---------- пусто / загрузка / ошибка ---------- */
.empty-box { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 24px 18px; }
.empty-box .glyph { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); }
.empty-box .glyph .ic { width: 26px; height: 26px; }
.empty-box .art { width: 132px; height: 132px; border-radius: 4px; object-fit: cover; border: 1px solid var(--line-2); }
.empty-box h3 { margin: 0; font: 500 21px/1.15 var(--display); letter-spacing: .01em; }
.empty-box p { margin: 0; color: var(--text-2); font-size: 14px; max-width: 32ch; }
.empty-box .btns { width: 100%; margin-top: 4px; }
.skel { position: relative; overflow: hidden; background: var(--track); border-radius: 3px; }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 55%, transparent), transparent); transform: translateX(-100%); animation: sh 1.4s infinite; }
@keyframes sh { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skel::after, .spin, .lens { animation: none; } }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; }
.banner.err { border: 1.5px solid var(--ink); }
.banner.err > .ic { width: 26px; height: 26px; padding: 4px; margin-top: -2px; border: 1.5px solid var(--sig); border-radius: 50%; color: var(--sig); }
.banner .ic { margin-top: 1px; }
.toast { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 6px; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 550; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); }
.toast .btn-ghost { color: inherit; height: auto; padding: 0; margin-left: auto; font-size: 14px; }

/* ---------- люди ---------- */
.person { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font: 500 17px var(--display); color: var(--text-2); border: 1px solid var(--line-2); }
.person > div { min-width: 0; }
.person b { font-weight: 650; }
.person small { display: block; font-size: 12.5px; color: var(--text-2); }

/* ---------- бот (чат Telegram) ---------- */
.phone.chat { background: var(--chat-bg); }
.chat-top { display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; height: 54px; padding: 0 8px; background: var(--surface); border-bottom: 1px solid var(--line-2); }
.chat-top .l { color: var(--text); display: flex; }
.chat-top .mid { display: flex; align-items: center; gap: 9px; justify-content: center; }
.chat-top .mid b { display: block; font-size: 15px; line-height: 1.1; }
.chat-top .mid small { display: block; font-size: 12px; color: var(--text-2); }
.chat-top .r { justify-self: end; color: var(--text-2); padding-right: 6px; display: flex; }
.bot-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; }
.msgs { flex: 1; padding: 10px 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.dchip { align-self: center; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 10px; background: rgba(26, 23, 20, .55); color: #EFE6D8; margin: 4px 0 6px; }
.m { max-width: 86%; padding: 7px 10px 6px; border-radius: 12px; background: var(--bubble-in); font-size: 14.5px; line-height: 1.38; position: relative; overflow-wrap: break-word; }
.m.in { align-self: flex-start; border-bottom-left-radius: 4px; }
.m.out { align-self: flex-end; background: var(--bubble-out); border-bottom-right-radius: 4px; }
.m .tm { float: right; margin: 6px 0 -2px 10px; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.m b { font-weight: 650; }
.m .mu { color: var(--text-2); }
.m.photo { padding: 3px 3px 6px; }
.m.photo .pic { width: 230px; max-width: 100%; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; }
.m.photo .pic svg { width: 100%; height: 100%; display: block; }
.m.photo .cap { display: block; padding: 5px 7px 0; }
.m .fwd { display: block; font-size: 12.5px; color: var(--text-2); padding: 2px 7px 4px; }
.kb { align-self: flex-start; width: 86%; display: grid; grid-template-columns: 1fr; gap: 4px; margin-top: 1px; }
.kb button { height: 36px; border: 0; border-radius: 8px; background: rgba(26, 23, 20, .62); color: #EFE6D8; font-size: 14px; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.kb button .ic { width: 14px; height: 14px; }
.voice { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.voice .pl { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; flex: none; }
.voice .pl .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.voice .wv { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; }
.voice .wv i { width: 2.5px; border-radius: 2px; background: var(--ink); opacity: .75; }
.voice small { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.inbar { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--surface); border-top: 1px solid var(--line-2); color: var(--text-3); }
.inbar .f { flex: 1; min-width: 0; height: 36px; border-radius: 18px; background: var(--surface-2); display: flex; align-items: center; padding: 0 14px; font-size: 15px; }
.menubtn { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 18px; background: var(--ink); font-weight: 650; font-size: 14px; color: var(--on-ink); }
.menubtn .ic { width: 16px; height: 16px; }

/* ---------- карта экранов ---------- */
.intro { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; margin-bottom: 22px; max-width: 760px; }
.intro img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
.intro p { margin: 0 0 8px; color: var(--text-2); font-size: 14px; }
.map { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.mapc { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; }
.mapc:hover { border-color: var(--ink); }
.mapc i { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.mapc.new i { background: var(--sig); color: var(--on-sig); }
.mapc b { display: block; font: 500 19px/1.15 var(--display); letter-spacing: .01em; }
.mapc em { display: block; font-style: normal; font-size: 13px; color: var(--text); margin-top: 2px; }
.mapc span { display: block; font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--surface); border: 1px solid var(--line-2); }
.tbl th, .tbl td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line-2); vertical-align: top; }
.tbl th { font-size: 12px; color: var(--text-2); font-weight: 600; border-top: 0; }
.tbl td i.sw1 { display: inline-block; width: 14px; height: 14px; border: 1px solid var(--line-2); vertical-align: -2px; margin-right: 6px; }
.tbl code, code { font: 500 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; }
.scroll-x { overflow-x: auto; max-width: 100%; }
ul.plain, ol.plain { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 14px; display: grid; gap: 5px; max-width: 80ch; }

.plain a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- словарь: плашки ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; align-items: start; }
.bcard { background: var(--bg); border: 1px solid var(--line-2); border-radius: 6px; padding: 12px; display: grid; gap: 10px; min-width: 0; }
.bcard > h3 { margin: 0; font: 500 17px/1.2 var(--display); letter-spacing: .01em; }
.bcard .cap { font-size: 12px; color: var(--text-2); }
.sw { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 6px; }
.sw div { border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; font-size: 11.5px; background: var(--surface); }
.sw div i { display: block; height: 30px; }
.sw div span { display: block; padding: 4px 6px; color: var(--text-2); }

/* ---------- демо ---------- */
.demobar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--ink); color: var(--on-ink); font-size: 13px; font-weight: 650; }
.demobar .grow { opacity: .85; font-weight: 500; }
.demobar button { border: 1px solid color-mix(in srgb, var(--on-ink) 45%, transparent); background: none; color: inherit; height: 28px; border-radius: 4px; padding: 0 10px; font-weight: 650; font-size: 13px; }

@media (max-width: 430px) {
  .stage { padding: 12px 0; }
  .stage-bar, .stage-note, .sec-title, .intro { padding: 0 12px; }
  .sec-title { margin-left: 12px; margin-right: 12px; padding: 0 0 6px; }
  .frames { gap: 20px; }
  .phone { border-radius: 0; border-left: 0; border-right: 0; }
  .frame > figcaption { margin-left: 12px; }
  .board, .map { padding: 0 12px; }
  .intro { grid-template-columns: 64px 1fr; }
  .intro img { width: 64px; height: 64px; }
}
