@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #1D1B2A;
  --ink-2: #4E4B5C;
  --ink-3: #6F6B7C;
  --navy: #1A1A2E;
  --paper: #FBF7EE;
  --paper-2: #F4ECDB;
  --card: #FFFFFF;
  --line: #E9E1D1;
  --gold: #C8A96E;
  --gold-deep: #8F6F2E;
  --butter: #F6E7C6;
  --good: #23704F;
  --good-bg: #E3F3EA;
  --bad: #B5372A;
  --bad-bg: #FBE7E3;
  --warn: #96600F;
  --warn-bg: #FBEFD6;
  --calm: #4A5A85;
  --calm-bg: #E8ECF6;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(29,27,42,.04), 0 8px 24px rgba(29,27,42,.05);
  --nav-h: 104px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', system-ui, sans-serif; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Unbounded', sans-serif; line-height: 1.2; letter-spacing: -0.01em; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; border-radius: 8px; }
.n { white-space: nowrap; font-variant-numeric: tabular-nums; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section.screen { scroll-margin-top: var(--nav-h); padding: 64px 0; }
section.alt { background: var(--paper-2); }

/* Верхня панель */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251,247,238,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px 4px; max-width: 1180px; margin: 0 auto; }
.brand { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.brand i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F2DBA6, var(--gold) 70%); display: inline-block; }
.sample { font-size: 12.5px; font-weight: 700; color: var(--warn); background: var(--warn-bg); padding: 3px 10px; border-radius: 999px; }
.tools { display: flex; align-items: center; gap: 8px; }
.numtoggle { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); white-space: nowrap; }
.numtoggle[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabs { display: flex; gap: 4px; padding: 6px 20px 10px; max-width: 1180px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--ink-2); padding: 7px 10px; border-radius: 999px; transition: background .15s, color .15s; }
.tabs a:hover { background: var(--paper-2); color: var(--ink); }
.tabs a.on { background: var(--navy); color: #fff; }

/* Заголовки екранів: питання і коротка відповідь */
.ask { max-width: 780px; margin-bottom: 32px; }
.ask .q { font-weight: 800; color: var(--gold-deep); font-size: 15px; margin-bottom: 8px; }
.ask h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; margin-bottom: 10px; }
.ask p { color: var(--ink-2); font-size: 17px; }
.ref { display: inline-block; font-size: 11px; font-weight: 700; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; margin-left: 4px; vertical-align: 1px; white-space: nowrap; font-family: 'Manrope', sans-serif; letter-spacing: 0; }
body.no-refs .ref { display: none; }
.next { display: inline-flex; gap: 6px; align-items: center; margin-top: 28px; font-weight: 700; color: var(--gold-deep); text-decoration: none; font-size: 15px; }
.next:hover { text-decoration: underline; }

.card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.card .sub { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g-21 { grid-template-columns: 2fr 1fr; }
.g-12 { grid-template-columns: 1fr 2fr; }
.mt { margin-top: 16px; }

/* Вердикти завжди зі словом, не лише кольором */
.v { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.v.bad { color: var(--bad); background: var(--bad-bg); }
.v.good { color: var(--good); background: var(--good-bg); }
.v.warn { color: var(--warn); background: var(--warn-bg); }
.v.calm { color: var(--calm); background: var(--calm-bg); }

/* Екран 1 */
.hero { padding: 44px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 560px; height: 560px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(200,169,110,.32), transparent 68%); }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.hello { font-weight: 700; color: var(--gold-deep); margin-bottom: 10px; }
.hero h1 { font-size: clamp(27px, 4vw, 44px); font-weight: 800; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.tasks { padding: 22px; }
.tasks h3 { font-size: 16px; margin-bottom: 12px; }
.task { display: block; text-decoration: none; padding: 12px 0; border-top: 1px solid var(--line); }
.task:first-of-type { border-top: 0; }
.task b { display: block; margin: 5px 0 1px; font-size: 15.5px; line-height: 1.35; }
.task span.t { font-size: 14px; color: var(--ink-3); }
.task:hover b { text-decoration: underline; }
.all { display: inline-block; margin-top: 10px; font-weight: 800; font-size: 15px; color: var(--gold-deep); text-decoration: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.stat { background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); min-width: 0; }
.stat .val { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 23px; color: var(--navy); line-height: 1.15; white-space: nowrap; }
.stat .val small { font-size: 12.5px; font-weight: 700; }
.stat .lbl { font-weight: 700; font-size: 14.5px; margin-top: 6px; }
.stat .say { color: var(--ink-3); font-size: 13.5px; line-height: 1.4; }
.up { color: var(--good); font-weight: 800; }
.down { color: var(--bad); font-weight: 800; }

/* Екран «Що робити» */
.todo { background: var(--navy); color: #fff; }
.todo .ask .q { color: var(--gold); }
.todo .ask p { color: rgba(255,255,255,.76); }
.todo .ref { background: transparent; border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.75); }
.todo .next { color: var(--gold); }
.todo .rec .ref { background: #fff; border-color: var(--line); color: var(--ink-3); }
.progress { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.bar { flex: 1; min-width: 160px; height: 8px; background: rgba(255,255,255,.16); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 99px; transition: width .25s; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font-size: 14px; font-weight: 700; padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.light .chip { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.light .chip[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.recs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rec { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rec.done { opacity: .55; }
.rec.done h3 { text-decoration: line-through; }
.rec-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rec h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.rec p { color: var(--ink-2); font-size: 15px; }
.gain { font-size: 14.5px; font-weight: 700; background: var(--paper); border-radius: 12px; padding: 8px 12px; }
.gain span { color: var(--ink-3); font-weight: 500; }
details.why { font-size: 14.5px; }
details.why summary { cursor: pointer; font-weight: 700; color: var(--gold-deep); padding: 2px 0; }
details.why ul { margin: 8px 0 8px 18px; color: var(--ink-2); }
details.why .ai { background: var(--calm-bg); border-radius: 12px 12px 12px 4px; padding: 10px 12px; color: var(--ink); margin-top: 8px; }
details.why .ai b { display: block; font-size: 12.5px; color: var(--calm); margin-bottom: 2px; }
.rec-actions { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.btn { font-weight: 700; font-size: 14px; padding: 7px 13px; border-radius: 10px; background: var(--paper-2); }
.btn.pri { background: var(--navy); color: #fff; }
.btn:hover { filter: brightness(.96); }

/* Гроші */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: 'Manrope', sans-serif; font-size: 12px; fill: var(--ink-3); }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .1s; z-index: 4; }
.planbar { height: 14px; border-radius: 99px; background: var(--paper-2); position: relative; margin: 12px 0 6px; }
.planbar i { position: absolute; inset: 0 auto 0 0; background: var(--navy); border-radius: 99px; }
.planbar b { position: absolute; top: -4px; width: 2px; height: 22px; background: var(--gold-deep); }
.flow { display: flex; gap: 2px; height: 22px; margin: 12px 0; }
.flow div { height: 100%; }
.flow div:first-child { border-radius: 6px 0 0 6px; }
.flow div:last-child { border-radius: 0 6px 6px 0; }
.rows { display: grid; gap: 8px; font-size: 15px; }
.rows div { display: flex; justify-content: space-between; gap: 12px; }
.rows span:first-child { color: var(--ink-2); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; }
.tiny { font-size: 13px; color: var(--ink-3); line-height: 1.4; }

/* Реклама */
.lanes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lane h3 { display: flex; align-items: center; gap: 6px; font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 0; margin-bottom: 10px; }
.camp { background: #fff; border-radius: 16px; padding: 15px; box-shadow: var(--shadow); margin-bottom: 12px; }
.camp .nm { font-weight: 800; font-size: 15px; line-height: 1.3; }
.camp .pl { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.camp .say { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.camp .say b { color: var(--ink); }
.cost { margin-top: 10px; }
.cost-track { height: 8px; background: var(--paper-2); border-radius: 99px; position: relative; }
.cost-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.cost-track b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.cost-lbl { font-size: 12.5px; color: var(--ink-3); display: flex; justify-content: space-between; margin-top: 3px; }
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; }
.calc input[type=range] { width: 100%; accent-color: var(--navy); height: 28px; }
.calc-big { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 26px; color: var(--good); line-height: 1.2; }
.swap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.swap .arrow { color: var(--gold-deep); }

/* Банери */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ban { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.ban-pic { height: 150px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; position: relative; }
.ban-pic .fmt { position: absolute; top: 10px; right: 10px; font-size: 12px; font-weight: 700; background: rgba(0,0,0,.42); color: #fff; padding: 2px 9px; border-radius: 999px; }
.ban-pic strong { font-family: 'Unbounded', sans-serif; font-size: 16px; line-height: 1.25; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.ban-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ban-camp { font-size: 13px; color: var(--ink-3); }
.ban-say { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.ban-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.ban-nums div { font-size: 12.5px; color: var(--ink-3); line-height: 1.25; }
.ban-nums b { display: block; font-size: 15px; color: var(--ink); white-space: nowrap; }
.spark { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.spark svg { flex: 1; height: 42px; min-width: 0; }
.explain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.explain div { background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.explain b { display: block; color: var(--ink); }

/* Шлях клієнта */
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: stretch; }
.step { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); position: relative; min-width: 0; }
.step .big { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 26px; color: var(--navy); line-height: 1.2; }
.step .nm { font-weight: 700; font-size: 14.5px; line-height: 1.3; margin-top: 2px; }
.step .pc { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.step.leak { box-shadow: inset 0 0 0 2px var(--bad); }
.step.leak .pc { color: var(--bad); font-weight: 800; }
.hbars { display: grid; grid-template-columns: minmax(110px, 1.2fr) 2fr auto; gap: 8px 12px; align-items: center; font-size: 14.5px; }
.hbars .t { height: 12px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.hbars .t i { display: block; height: 100%; background: var(--navy); border-radius: 99px; }
.hbars .t i.g { background: var(--gold); }
.hbars .x { font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hbars .x small { font-weight: 500; color: var(--ink-3); }
.note { font-size: 14.5px; background: var(--butter); border-radius: 14px; padding: 12px 14px; margin-top: 14px; line-height: 1.45; }

/* Клієнти */
.segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.seg { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.seg .big { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 26px; color: var(--navy); }
.seg b { display: block; }
.seg p { font-size: 14px; color: var(--ink-2); line-height: 1.4; margin-top: 4px; }
.coh { border-collapse: separate; border-spacing: 3px; width: 100%; font-size: 13.5px; }
.coh th { font-weight: 600; color: var(--ink-3); text-align: left; padding: 2px 4px; white-space: nowrap; }
.coh td { text-align: center; border-radius: 6px; padding: 6px 2px; font-weight: 700; font-variant-numeric: tabular-nums; }
.twin { display: flex; height: 22px; gap: 2px; margin: 8px 0 10px; }
.twin div:first-child { background: var(--navy); border-radius: 6px 0 0 6px; }
.twin div:last-child { background: var(--gold); border-radius: 0 6px 6px 0; }

/* Бот */
.bigfact { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 44px; color: var(--navy); line-height: 1.1; }
.waiting { display: grid; gap: 8px; }
.waiting div { display: flex; justify-content: space-between; gap: 10px; background: var(--bad-bg); border-radius: 10px; padding: 8px 12px; font-size: 14.5px; }
.qlist { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.qlist li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.qlist li:last-child { border: 0; padding-bottom: 0; }
.tw { overflow-x: auto; }
table.simple { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.simple th { font-size: 13px; color: var(--ink-3); font-weight: 700; text-align: right; padding: 4px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.simple td { text-align: right; padding: 8px; border-bottom: 1px solid var(--paper-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.simple th:first-child, table.simple td:first-child { text-align: left; white-space: normal; }
table.simple tr:last-child td { border: 0; }

/* Контент */
.posts { display: grid; gap: 10px; }
.post { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.post i { width: 56px; height: 56px; border-radius: 12px; display: block; }
.post .nm { font-weight: 700; font-size: 15px; line-height: 1.3; }
.post .sm { font-size: 13px; color: var(--ink-3); }
.post .ord { text-align: right; font-weight: 800; white-space: nowrap; }
.post .ord small { display: block; font-weight: 500; color: var(--ink-3); font-size: 13px; }

/* Акція */
.promo { background: linear-gradient(135deg, #1A1A2E, #2C2740); color: #fff; border-radius: 26px; padding: 30px; }
.promo h3 { font-size: 22px; margin-bottom: 4px; }
.promo .sub { color: rgba(255,255,255,.7); margin-bottom: 18px; font-size: 15px; }
.promo .ref { background: transparent; border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.72); }
.count { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.count div { background: rgba(255,255,255,.08); border-radius: 14px; padding: 12px 16px; font-size: 14px; color: rgba(255,255,255,.76); }
.count b { display: block; font-family: 'Unbounded', sans-serif; color: var(--gold); font-size: 26px; line-height: 1.2; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pbox { background: rgba(255,255,255,.07); border-radius: 16px; padding: 16px; min-width: 0; }
.pbox h4 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.pbox p, .pbox li { font-size: 14.5px; color: rgba(255,255,255,.82); }
.pbox ul { list-style: none; display: grid; gap: 5px; }
.pbox li { display: flex; justify-content: space-between; gap: 8px; }
.pbar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; margin: 8px 0; }
.pbar i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }

/* Звіти */
.phone { background: var(--navy); border-radius: 30px; padding: 12px; max-width: 360px; margin: 0 auto; }
.phone-in { background: #DCE6EF; border-radius: 20px; padding: 14px; min-height: 420px; }
.tg-h { display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.tg-h i { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F2DBA6, var(--gold) 70%); }
.bub { background: #fff; border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 14.5px; line-height: 1.5; margin-bottom: 8px; }
.bub time { display: block; text-align: right; font-size: 12px; color: var(--ink-3); }
.rolebar { display: inline-flex; background: var(--paper-2); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.rolebar button { font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 9px; color: var(--ink-2); }
.rolebar button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.switches { display: grid; gap: 10px; }
.sw { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.sw:last-child { border: 0; padding: 0; }
.sw input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }

.outside { display: inline-block; font-size: 13px; font-weight: 800; color: var(--calm); background: var(--calm-bg); padding: 4px 11px; border-radius: 12px; margin-bottom: 10px; }
.qbox { display: grid; gap: 10px; }
.qask { display: flex; flex-wrap: wrap; gap: 6px; }
.qask button { font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); }
.qask button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.qans { background: var(--calm-bg); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.src { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.src div { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); font-size: 14px; color: var(--ink-2); line-height: 1.4; min-width: 0; }
.src b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.neg { color: var(--bad); font-weight: 800; }
@media (max-width: 1020px) { .src { grid-template-columns: 1fr 1fr; } }

.pick { background: var(--navy); color: #fff; padding: 56px 0; }
.pick h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.pick p { color: rgba(255,255,255,.76); max-width: 720px; }
.pick .tag { color: var(--gold); font-weight: 800; margin-bottom: 8px; }

@media (max-width: 1020px) {
  .lanes { grid-template-columns: 1fr 1fr; }
  .gallery, .g3 { grid-template-columns: 1fr 1fr; }
  .segs { grid-template-columns: 1fr 1fr; }
  .explain { grid-template-columns: 1fr 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .path { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .hero-grid, .g2, .g-21, .g-12, .recs, .calc { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  section.screen { padding: 44px 0; }
}
@media (max-width: 560px) {
  :root { --nav-h: 108px; }
  .wrap { padding: 0 16px; }
  .top-row { padding: 8px 16px 2px; }
  .tabs { padding: 6px 12px 8px; }
  .brand span { display: none; }
  .sample { font-size: 12px; }
  .lanes, .gallery, .g3 { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr 1fr; }
  .hbars { grid-template-columns: 1fr auto; grid-auto-flow: row dense; gap: 4px 12px; }
  .hbars .x { grid-column: 2; }
  .hbars .t { grid-column: 1 / -1; margin-bottom: 8px; }
  table.simple th, table.simple td { padding-left: 5px; padding-right: 5px; }
  .card, .rec { padding: 18px 16px; }
  .promo { padding: 22px 16px; }
  .stat .val { font-size: 20px; }
  .bigfact { font-size: 36px; }
  .post { grid-template-columns: 44px 1fr auto; gap: 10px; }
  .post i { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Робоча панель: доповнення до стилів макета ===== */
.rhythm { display: inline-flex; background: var(--paper-2); border-radius: 12px; padding: 3px; }
.rhythm button { font-weight: 800; font-size: 13.5px; padding: 6px 12px; border-radius: 9px; color: var(--ink-2); white-space: nowrap; }
.rhythm button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.user { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.user button { font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.badge.live { color: var(--good); background: var(--good-bg); }
.loading main { opacity: .55; transition: opacity .15s; }
.err { background: var(--bad-bg); color: var(--bad); border-radius: 14px; padding: 12px 16px; font-weight: 700; margin: 12px auto 0; max-width: 1180px; }
.empty { color: var(--ink-3); font-size: 14.5px; padding: 10px 0; }
.card .chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: 'Manrope', sans-serif; font-size: 12px; fill: var(--ink-3); }
.chart .grid line { stroke: #EFE8DA; }
.chart .hit { fill: transparent; }
.chart .hit:hover + .bar, .chart .bar.hl { fill: var(--gold) !important; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend i.line { width: 18px; height: 3px; border-radius: 2px; vertical-align: 2px; }
.stat .spark { display: block; margin-top: 8px; }
.stat .spark svg { width: 100%; height: 34px; display: block; }
.events { display: grid; gap: 6px; max-height: 330px; overflow: auto; padding-right: 4px; }
.ev { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; font-size: 14.5px; padding: 7px 0; border-bottom: 1px solid var(--paper-2); }
.ev:last-child { border: 0; }
.ev time { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ev .k { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.ev .k.order { background: var(--good); } .ev .k.cancel { background: var(--bad); } .ev .k.handoff { background: var(--warn); }
.ev .amt { font-weight: 800; white-space: nowrap; }
.rank { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rank .col h4 { font-size: 13px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.rank ol { margin: 0; padding-left: 18px; font-size: 14px; display: grid; gap: 5px; }
.rank ol.anti { color: var(--bad); }
.rank ol li span { color: var(--ink-2); }
.rank ol li b { color: var(--ink); }
.cal { display: grid; grid-template-columns: 26px auto; gap: 6px; align-items: start; }
.cal .wd { height: 144px; }
.cal .wd { display: grid; grid-template-rows: repeat(7, 1fr); font-size: 11px; color: var(--ink-3); }
.cal svg { width: 100%; height: auto; display: block; }
.scale { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.scale i { display: inline-block; width: 16px; height: 10px; border-radius: 2px; }
.heat-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.heat-toggle button { font-size: 13px; font-weight: 700; padding: 5px 12px; color: var(--ink-2); }
.heat-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.wf-row { display: grid; grid-template-columns: minmax(130px, 1.3fr) 2fr auto; gap: 8px 12px; align-items: center; font-size: 14.5px; }
.wf-row .t { position: relative; height: 16px; background: var(--paper-2); border-radius: 6px; }
.wf-row .t i { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.wf-row .x { font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wf-row .x.neg { color: var(--bad); }
.wf-row .x.pos { color: var(--good); }
.wf-row .x.na { color: var(--ink-3); font-weight: 600; }
.bubble-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; margin-top: 8px; }
.done-toggle { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 8px; }
.bubble .alarm { border-left: 3px solid var(--bad); }
.bub.warn { border-left: 3px solid var(--warn); }
.bub.bad { border-left: 3px solid var(--bad); }
.tbl-note { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.pill-row { display: flex; gap: 6px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14.5px; }
.kv span:nth-child(odd) { color: var(--ink-2); }
.kv b { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.snapnote { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.card h3 .v { margin-left: 6px; vertical-align: 2px; }
@media (max-width: 1020px) { .rank { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .rank { grid-template-columns: 1fr; }
  .rhythm button { font-size: 12.5px; padding: 6px 9px; }
  .user span { display: none; }
  .wf-row { grid-template-columns: 1fr auto; grid-auto-flow: row dense; gap: 4px 12px; }
  .wf-row .x { grid-column: 2; }
  .wf-row .t { grid-column: 1 / -1; margin-bottom: 8px; }
  .ev { grid-template-columns: 40px 1fr auto; font-size: 13.5px; }
}

/* Вхід */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy); padding: 16px; }
.login { background: var(--paper); padding: 32px 28px; width: 100%; max-width: 400px; border-radius: 24px; }
.login h1 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.login h1 span { color: var(--gold-deep); }
.login label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 4px; }
.login input { width: 100%; font-family: 'Manrope', sans-serif; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); background: #fff; border-radius: 10px; }
.login button { width: 100%; margin-top: 18px; font-weight: 800; font-size: 14px; background: var(--navy); color: #fff; border: 0; padding: 12px; border-radius: 12px; }
.login .msg { color: var(--bad); font-size: 13px; margin-top: 12px; min-height: 18px; }

/* Підписи в таблицях */
.plat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; margin-right: 6px; background: var(--paper-2); color: var(--ink-2); border-radius: 6px; vertical-align: 1px; }
table.simple td .sub { display: block; font-size: 12.5px; color: var(--ink-3); margin: 2px 0 0; }
table.simple td:first-child { min-width: 160px; }

/* Шапка на вузьких екранах */
.sample .short { display: none; }
body.solo .top { position: static; }
body.solo .tabs { display: none; }
body.solo .screen { scroll-margin-top: 0; }
@media (max-width: 760px) {
  .top-row { flex-wrap: wrap; row-gap: 6px; }
  .tools { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
  .sample .full { display: none; }
  .sample .short { display: inline; }
  .brand { font-size: 13px; }
  .cal { overflow-x: auto; padding-bottom: 4px; }
  .lanes { grid-template-columns: 1fr; }
  .calc input[type=range] { max-width: 100%; }
}
@media (max-width: 420px) {
  .kv b, .rows strong { white-space: normal; }
  .rhythm button { padding: 5px 7px; font-size: 12px; }
  .user .rhythm button { padding: 5px 8px; }
  .segs { grid-template-columns: 1fr 1fr !important; }
}

/* ===== Блоки ночі 08.11 ===== */
.ai-src { font-weight: 600; font-size: 11.5px; color: var(--ink-3); background: var(--paper-2); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 1px; }
.ai-src.live { color: var(--good); background: var(--good-bg); }
.ai-box { background: var(--calm-bg); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 15px; line-height: 1.5; margin-top: 14px; max-width: 620px; }
.ai-box b { display: block; font-size: 12.5px; color: var(--calm); margin-bottom: 4px; }
.review { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 20px; margin-top: 18px; }
.review h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: 0; margin-bottom: 4px; }
.review .sub { font-size: 13.5px; color: var(--ink-3); margin-bottom: 12px; }
.act { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.act:first-of-type { border-top: 0; }
.act .d { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.act b { display: block; }
.act .res { font-size: 13px; color: var(--ink-2); }
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stack .col { display: flex; flex-direction: column; align-items: stretch; }
.stack .bar { flex: none; min-width: 0; height: 120px; display: flex; flex-direction: column-reverse; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.stack .bar i { display: block; width: 100%; border-radius: 0; flex: none; }
.stack .lbl { font-size: 12.5px; text-align: center; margin-top: 6px; color: var(--ink-2); }
.badge-learn { display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--calm); background: var(--calm-bg); border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.budget-line { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.budget-line b { color: var(--ink); }
.ban-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ban-pic strong, .ban-pic .fmt { position: relative; z-index: 1; }
.compl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; align-items: end; height: 110px; }
.compl div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; font-size: 12px; color: var(--ink-3); }
.compl i { display: block; width: 100%; background: var(--navy); border-radius: 6px 6px 0 0; min-height: 2px; }
.compl b { font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.two { display: grid; grid-template-columns: minmax(90px, 1fr) 2fr 2fr; gap: 6px 10px; align-items: center; font-size: 13.5px; }
.two .t { height: 12px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.two .t i { display: block; height: 100%; border-radius: 99px; }
.two .t i.a { background: var(--navy); }
.two .t i.b { background: var(--gold); }
.two .h { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.anom { display: grid; gap: 8px; }
.anom div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; background: var(--paper); border-radius: 12px; padding: 9px 12px; font-size: 14px; }
.anom .r { font-size: 12.5px; color: var(--ink-3); grid-column: 1 / -1; }
.anom b.up { color: var(--good); } .anom b.down { color: var(--bad); }
.net svg { width: 100%; height: auto; display: block; }
.net text { font-family: 'Manrope', sans-serif; font-size: 11.5px; fill: var(--ink); font-weight: 700; }
.cash { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cash div { background: var(--paper); border-radius: 10px; padding: 8px 6px; text-align: center; font-size: 12px; color: var(--ink-3); min-width: 0; }
.cash b { display: block; font-size: 13px; color: var(--ink); white-space: nowrap; }
.cash .today { outline: 2px solid var(--gold); }
.ev-mark { fill: var(--gold-deep); }
.ev-list { font-size: 13px; color: var(--ink-2); margin-top: 8px; display: grid; gap: 3px; }
.ev-list i { display: inline-block; width: 8px; height: 8px; background: var(--gold-deep); transform: rotate(45deg); margin-right: 8px; }
@media (max-width: 760px) { .stack { grid-template-columns: repeat(4, 1fr); } .cash { grid-template-columns: repeat(4, 1fr); } .two { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 560px) { .act { grid-template-columns: 1fr auto; } .act .d { grid-column: 1 / -1; } }
/* Жодна картка не ширша за свою колонку */
.grid > *, .stack .col, .stack .lbl, .compl div, .cash div { min-width: 0; }
.stack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack .lbl { overflow-wrap: anywhere; }
.rec, .review, .pbox, .seg, .stat { min-width: 0; overflow-wrap: anywhere; }

/* ===== Група А (09.11): стан даних, «як це пораховано», кабінет, відхилені банери ===== */
button.ref { cursor: help; line-height: 1.55; }
button.ref:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.how-pop { position: absolute; z-index: 60; background: var(--navy); color: #fff; border-radius: 16px; padding: 16px 18px 14px; box-shadow: 0 12px 40px rgba(29,27,42,.28); font-size: 14.5px; line-height: 1.5; }
.how-pop[hidden] { display: none; }
.how-pop b { display: block; font-size: 16px; margin-bottom: 4px; padding-right: 22px; }
.how-pop p { color: rgba(255,255,255,.84); }
.how-pop .how-k { font-size: 12px; font-weight: 800; color: var(--gold); margin-bottom: 6px; padding-right: 22px; }
.how-pop a { display: inline-block; margin-top: 10px; color: var(--gold); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.how-pop .how-x { position: absolute; top: 8px; right: 10px; font-size: 22px; line-height: 1; color: rgba(255,255,255,.7); padding: 4px 6px; }
.dstrip { max-width: 1132px; width: calc(100% - 48px); margin: 12px auto 0; border-radius: 14px; padding: 10px 16px; font-size: 14.5px; }
.dstrip[hidden] { display: none; }
.dstrip.warn { background: var(--warn-bg); color: var(--warn); }
.dstrip.bad { background: var(--bad-bg); color: var(--bad); }
.dstrip a { font-weight: 800; white-space: nowrap; }
body.solo .dstrip { display: none; }
.dsrcs { display: grid; gap: 12px; }
.dsrc { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.dsrc:last-child { border: 0; padding: 0; }
.dsrc .v { grid-row: span 2; align-self: start; min-width: 118px; justify-content: center; }
.dsrc .tiny { grid-column: 2; }
.chks { display: grid; gap: 14px; }
.chk { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.chk .v { width: 30px; height: 30px; padding: 0; justify-content: center; }
.chk p { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.chk .fix { margin-top: 4px; background: var(--paper); border-radius: 10px; padding: 6px 10px; font-size: 13.5px; overflow-wrap: anywhere; }
.chk .fix span { font-weight: 800; color: var(--ink); }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.terms div { background: var(--paper); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.terms b { display: block; color: var(--ink); margin-bottom: 2px; }
.acc-line { font-size: 14.5px; color: var(--ink-2); margin: -14px 0 20px; }
.acc-line .v { margin-right: 6px; }
.acc-line a { font-weight: 700; color: var(--gold-deep); }
.rejected { background: var(--bad-bg); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.rejected h3 { font-family: 'Manrope', sans-serif; letter-spacing: 0; font-size: 15px; margin-bottom: 12px; }
.rej { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; font-size: 14.5px; }
.rej + .rej { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(181,55,42,.18); }
.rej-pic { width: 96px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--navy); filter: grayscale(.6); }
.rej-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rej p { margin-top: 4px; color: var(--ink-2); line-height: 1.45; }
.rej .k { font-weight: 800; color: var(--ink); }
.caution { font-size: 13.5px; line-height: 1.45; color: var(--warn); background: var(--warn-bg); border-radius: 12px; padding: 8px 12px; }
.budget-line { line-height: 1.6; }
@media (max-width: 1020px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; } .dstrip { width: calc(100% - 32px); margin: 10px auto 0; } .rej { grid-template-columns: 64px 1fr; } .rej-pic { width: 64px; height: 44px; } .dsrc .v { min-width: 0; } }

/* ===== Група Б (09.11): період і фільтри, зріз, порівняння періодів, експорт, відповіді на поради ===== */
.fbar { max-width: 1180px; margin: 12px auto 0; padding: 0 24px; }
.fbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.fbar .fnow b { color: var(--ink); }
.fbtn { font-weight: 800; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.fbtn[aria-expanded="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.fbtn .ref { pointer-events: none; }
.fchip { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13.5px; background: var(--butter); color: var(--ink); border-radius: 999px; padding: 4px 6px 4px 12px; }
.fchip button { font-size: 17px; line-height: 1; padding: 0 6px; color: var(--ink-2); }
.fpanel { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); margin-top: 4px; }
.fpanel[hidden] { display: none; }
.fpanel label { display: grid; gap: 3px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.fpanel input, .fpanel select, .cmp-in input { font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; max-width: 100%; }
.fpanel select { max-width: 230px; }
.fpanel .tiny { flex-basis: 100%; color: var(--bad); }
.fpanel .tiny:empty { display: none; }
body.solo .fbar { display: none; }
body.sliced main > section:not(#slice), body.sliced .tabs, body.sliced .dstrip { display: none; }
#slice[hidden] { display: none; }
#slice .note { max-width: 780px; margin: 14px 0 0; }
.sl-h { font-size: 15px; margin-bottom: 12px; }
.cmp-in { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.cmp-in input { margin: 0 2px; }
.csv-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-state { font-size: 13.5px; font-weight: 800; color: var(--ink-3); align-self: center; }
.rec.done h3 { text-decoration: none; }
@media (max-width: 560px) { .fbar { padding: 0 16px; margin-top: 10px; } .fpanel label { flex: 1 1 140px; } .fpanel select { max-width: none; width: 100%; } .cmp-in input { max-width: 132px; padding: 6px; font-size: 13.5px; } }

/* План бюджету: на настільній ширині таблиця вміщається без прокрутки вбік (довге «Чому» переноситься) */
@media (min-width: 761px) {
  .budget table.simple th { white-space: normal; vertical-align: bottom; }
  .budget table.simple th, .budget table.simple td { padding-left: 6px; padding-right: 6px; }
  .budget table.simple td:first-child { min-width: 150px; }
  .budget table.simple th:last-child { text-align: left; }
  .budget table.simple td .why { display: block; white-space: normal; text-align: left; min-width: 110px; line-height: 1.35; }
}

/* 26.11: «Працює зараз» і «У розробці» (слова Олега). Нереалізоване: назва, розмитий каркас, плашка поверх */
.block-head { margin: 32px 0 14px; }
.block-head:first-child { margin-top: 0; }
.ask + .block-head { margin-top: 8px; }
.block-head h2 { font-size: 20px; font-weight: 800; color: var(--ink); }
.block-head p { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.block-head.wip-head { margin-top: 40px; padding-top: 24px; border-top: 1px dashed var(--line); }
.card.wip { position: relative; overflow: hidden; min-height: 190px; user-select: none; -webkit-user-select: none; cursor: default; }
.card.wip * { pointer-events: none; }
.card.wip h3 { color: var(--ink-2); }
.wip-bg { margin-top: 14px; color: var(--ink-3); filter: blur(5px); opacity: .45; }
.sk-line { height: 12px; border-radius: 6px; background: currentColor; margin: 11px 0; }
.sk-big { height: 40px; width: 46%; border-radius: 8px; background: currentColor; margin-bottom: 14px; }
.sk-bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.sk-bars i { flex: 1; border-radius: 4px 4px 0 0; background: currentColor; }
.sk-svg { width: 100%; height: 96px; display: block; }
.wip-tag { position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 32px);
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; text-align: center; padding: 9px 14px; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(26, 26, 46, .18); }
.sk-ban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: 84px; margin-bottom: 10px; }
.sk-ban i { border-radius: 8px; }
.card.wip .wip-bg:has(.sk-ban) { opacity: .7; color: var(--ink-3); }
/* Вкладка «Як читати панель» */
.guide-steps { padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.guide-steps b { color: var(--ink); }
.guide-tab .gi { padding: 10px 0; border-bottom: 1px solid var(--line); }
.guide-tab .gi:last-child { border-bottom: 0; }
.guide-tab .gi p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.guide-tab .gi p.tiny { font-size: 12.5px; color: var(--ink-3); }
.guide-tab h3 a { color: inherit; text-decoration: none; }
.guide-tab h4.sl-h { margin-top: 14px; }
