/* Разумофф — пиксельное воспроизведение макетов OpenAI (banki-направление). v5 */
:root{
  --ink:#14263D; --ink2:#33475F; --blue:var(--ds-blue); --blue-hover:var(--ds-blue-hover);
  --emerald:#0E9F6E; --emerald-dark:#1B6A13;
  --bg:#F6F8F2; --card:var(--ds-card); --line:var(--ds-line); --line-strong:#8392AB;
  --muted:#4A5A75; --faint:#5F6E89;
  --amber:#B45309; --amber-bg:#FDF1E7; --amber-line:#F3D9BF;
  --red:#B91C1C; --red-dark:#7F1D1D;
}

/* ── дизайн-токены, снятые с эталона главной (design/specs/home-measured.md) ── */
:root{
  --ds-w:1413px; --ds-m-left:65px;
  --ds-gap-block:21px; --ds-gap-col:8px; --ds-gap-tile:17px; --ds-gap-promo:16px;
  --ds-r-card:12px; --ds-r-tile:12px; --ds-r-promo:12px; --ds-r-btn:8px; --ds-bw:1px;
  --ds-pad-x:24px; --ds-pad-y:15px;
  --ds-page:#FFFFFF; --ds-card:#FFFFFF; --ds-line:#ECECEE; --ds-div:#EBECEE;
  --ds-ink:#0B1533; --ds-ink2:#111A38; --ds-text:#3A4152; --ds-dim:#94959B;
  --ds-blue:#257E1A; --ds-blue-hover:#1B6A13; --ds-green:#257E1A; --ds-grid:#EEF1EA;
  --ds-fs-h1:44px; --ds-fs-sub:17px; --ds-fs-h2:22px; --ds-fs-h3:18px;
  --ds-fs-tile:15.5px; --ds-fs-tile-s:13px; --ds-fs-nav:15px; --ds-fs-meta:16px;
  --tint-blue:#EDF7E8; --tint-green:#E7F6EF;
}

*{box-sizing:border-box}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color-scheme:light;scroll-padding-top:64px}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:'Onest',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  font-size:16px;line-height:1.5}
a{color:var(--blue);text-decoration:underline;text-decoration-color:transparent;transition:color .15s ease,text-decoration-color .15s ease}
a:hover{color:var(--blue-hover);text-decoration-color:currentColor}
/* единый контейнер = главная (--ds-w/--ds-m-left из design/specs/home-measured.md):
   ≤760 жидкий с паддингом 16, 761–1535 жидкий с паддингом 32, ≥1536 фикс. 1413 слева на 65 */
.wrap{max-width:var(--ds-w);margin:0 auto;padding:0 16px}
.wrap.wide{max-width:var(--ds-w)}
@media(min-width:761px){.wrap{padding:0 32px}}
@media(min-width:1536px){.wrap{margin-left:var(--ds-m-left);margin-right:auto;padding:0}}
.demo{background:#FFF7E6;color:#7A5200;font-size:12px;text-align:center;padding:5px 12px;border-bottom:1px solid #F0DFB8}

/* ── шапка ── */
/* ── шапка: одна на всех страницах (эталон — главная) ─────────────────────── */
.hdr{position:sticky;top:0;z-index:50;background:#fff;border:0}
.hdr-in{display:flex;align-items:center;gap:24px;height:76px;min-width:0}
.logo{display:flex;align-items:center;gap:15px;flex:0 1 auto;min-width:0;overflow:hidden;
  font-weight:800;font-size:20px;letter-spacing:-.01em;color:var(--ink);text-decoration:none;
  white-space:nowrap;border:0}
.logo img{width:25px;height:32px;object-fit:contain;border:0;border-radius:0;outline:0;background:transparent}
.logo:focus{outline:none}
.logo:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:6px}
.nav{display:none;align-items:center;gap:16px;font-size:15px;font-weight:600;white-space:nowrap;
  flex:0 1 auto;min-width:0;overflow:hidden}
.nav a{color:var(--ink2);text-decoration:none;padding:0;border:0}
.nav a:hover{color:var(--blue)}
.nav a.on{color:var(--blue)}
.hdr-search{margin-left:auto;width:300px;flex:0 1 auto;min-width:150px;height:41px;position:relative;display:none}
.hdr-search input{width:100%;min-width:0;height:41px;border:1px solid var(--line);border-radius:10px;
  padding:0 40px 0 14px;font:inherit;font-size:14px;color:var(--ink);background:#fff}
.hdr-search input::placeholder{color:#94959B}
.hdr-search input:focus{outline:2px solid var(--blue);outline-offset:1px}
.hdr-search svg{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#8A8F9C;pointer-events:none}
.hdr-enter{margin-left:20px;flex:0 0 auto;width:89px;height:42px;display:inline-flex;align-items:center;
  justify-content:center;background:var(--blue);color:#fff;font-size:15px;font-weight:700;
  border-radius:10px;text-decoration:none}
.hdr-enter:hover{background:var(--blue-hover)}
@media(min-width:1100px){.nav{display:flex}.hdr-search{display:block}}
@media(min-width:1100px) and (max-width:1299px){
  .hdr-in{gap:18px}
  .nav{gap:12px}
  .hdr-search{width:230px}
  .hdr-enter{margin-left:14px}
}
@media(max-width:1099px){
  .hdr-search{display:block;flex:1 1 auto;width:auto;margin-left:16px;min-width:0}
  .hdr-enter{margin-left:12px;width:74px;padding:0 8px}
}
@media(max-width:560px){
  .hdr-in{height:64px;gap:14px}
  .logo{font-size:19px;gap:10px}
  .hdr-search{height:38px;margin-left:10px}
  .hdr-search input{height:38px;font-size:15px}
  .hdr-enter{padding:0 12px;height:38px;font-size:14px}
}

/* ── кнопки ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:10px;
  font-family:inherit;font-size:15px;font-weight:700;padding:12px 20px;cursor:pointer;text-decoration:none;
  transition:transform .15s ease,background-color .15s ease,border-color .15s ease;min-height:44px}
.btn:active{transform:scale(.96)}
.btn.primary{background:var(--blue);color:#fff}
.btn.primary:hover{background:var(--blue-hover);color:#fff}
.btn.ghost{background:#fff;border:1px solid var(--line-strong);color:var(--ink)}
.btn.ghost:hover{border-color:var(--blue);color:var(--blue)}
.btn.green{background:var(--emerald);color:#fff}
.btn.small{padding:8px 14px;font-size:14px;min-height:40px}
@media(pointer:coarse){.btn:active{transform:none}}

/* ── секции и заголовки ── */
.sec{padding:26px 0}
.sec h2{font-size:22px;margin:0 0 14px;line-height:1.25;text-wrap:balance}
.crumbs{font-size:13px;color:var(--faint);padding:14px 0 0}
.crumbs a{color:var(--faint)}
.h1row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:8px 0 16px}
.h1row .badge{align-self:center;height:32px;padding:0 12px;font-size:13px;font-weight:700;line-height:1}
@media(max-width:560px){.h1row .badge{height:28px;font-size:12px}}
/* аватар организации: реальный логотип с официального сайта; если недоступен — монограмма-фолбэк assets/org-logo-fallback.png */
.org-avatar{flex:0 0 auto;width:56px;height:56px;border-radius:50%;overflow:hidden;border:1px solid var(--line);background:#fff}
.org-avatar img{width:100%;height:100%;object-fit:contain;display:block;padding:6px}

/* ── плиточная навигация категорий (главная; конфиг 3 nav-demo: D+B+F) ── */
.cats-nav{border-top:1px solid var(--line);padding:16px 24px 24px}
.cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.cats a{display:flex;align-items:center;gap:12px;min-width:0;height:70px;padding:14px 16px;
  background:#fff;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:inherit;
  transition:border-color .15s,box-shadow .15s,background .15s}
.cats a:hover{border-color:#C3D3F6;box-shadow:0 6px 18px rgba(17,26,56,.08)}
.cats a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.cats a[aria-current="page"]{background:#EDF7E8;border-color:#0454E0;box-shadow:inset 0 0 0 1px #0454E0}
.cat-txt{min-width:0;display:flex;flex-direction:column;gap:2px}
.cat-name{font-size:14.5px;font-weight:700;line-height:1.25;letter-spacing:-.1px}
.cat-sub{font-size:12px;color:var(--faint);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat-name.is-accent,.cats a[aria-current="page"] .cat-name{color:var(--blue)}
.ico{flex:0 0 auto;display:grid;place-items:center;color:var(--blue)}
.ico svg{width:20px;height:20px;display:block}
.ico--round{width:40px;height:40px;border-radius:50%;background:var(--tint-blue)}
.ico--round.is-green{background:var(--tint-green);color:var(--emerald-dark)}
.chev{flex:0 0 auto;color:#96A3B8;margin-left:auto}
.chev svg{width:16px;height:16px;display:block}
@media(max-width:1100px){.cats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.cats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){
  .cats-nav{padding:12px 16px 16px}
  /* компактный режим: шеврон скрыт, кегль/паддинги меньше — длинные названия
     («Страхование») влезают в одну строку, строка свежести переносится целиком */
  .cats{gap:8px}
  .cats a{min-height:70px;height:auto;padding:10px 8px;gap:8px}
  .cat-name{font-size:12.5px;white-space:nowrap}
  .cat-sub{font-size:11.5px;white-space:normal;overflow:visible;text-overflow:clip}
  .ico--round{width:34px;height:34px}
  .chev{display:none}
}
@media(max-width:360px){
  /* совсем узко (320): иконка уходит, чтобы названия «Все продукты/Страхование» влезали в строку */
  .cats .ico--round{display:none}
  .cats a{gap:0}
}

/* ── разделы-заглушки (якоря плиток категорий) ── */
.stub-cats{margin-top:24px}
.stub-cats .stub-h{font-size:20px;font-weight:800;letter-spacing:-.01em;margin:0 0 12px}
.stub-grid{display:grid;gap:12px}
@media(min-width:820px){.stub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.stub{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.stub h3{font-size:15px;margin:0 0 4px}
.stub p{font-size:13px;color:var(--muted);margin:0}
h1{font-size:26px;line-height:1.2;margin:0;text-wrap:balance;letter-spacing:-.01em}
@media(min-width:960px){h1{font-size:32px}}
.updated{font-size:13px;color:var(--muted);white-space:nowrap}

/* ── сетки ── */
.grid{display:grid;gap:14px}
@media(min-width:720px){.grid.cols2{grid-template-columns:1fr 1fr}}
@media(min-width:720px){.grid.cols3{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.grid.cols3{grid-template-columns:repeat(3,1fr)}}
.g3{display:grid;gap:14px}
@media(min-width:720px){.g3{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.g3{grid-template-columns:repeat(3,1fr)}}

/* ── карточка продукта (витрина) ── */
.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:9px;position:relative;transition:box-shadow .15s ease}
@media(min-width:361px) and (max-width:767px){.card{padding:20px}}
.card:hover{box-shadow:0 8px 24px rgba(20,38,61,.08)}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px;line-height:1.3}
.lg{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:800;color:#fff;font-size:15px;flex:none}
.lg.mm{background:#257E1A}.lg.wb{background:#1E293B}.lg.zm{background:#F97316}.lg.bs{background:#0E9F6E}
.lg.tb{background:#222222}.lg.al{background:#EF3124}.lg.vt{background:#0A2896}.lg.sb{background:#21A038}.lg.oz{background:#005BFF}
.lg.pq{background:#6B21A8}.lg.dm{background:#64748B}
.rating{font-size:13px;color:var(--faint)}
.psk{font-size:20px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.25}
.psk small{font-size:13px;color:var(--muted);font-weight:600}
.meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:14px;color:var(--muted)}
.meta b{color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}
.row{margin-top:auto;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.admark{font-size:13px;color:var(--muted);line-height:1.45}
.chip{display:inline-block;padding:4px 11px;border-radius:999px;background:var(--bg);border:1px solid var(--line);font-size:12.5px;font-weight:600;color:var(--ink2)}
.chip.on{background:#E7EEFD;border-color:#CBD9F8;color:#1B44B8}

/* ── бейджи типов выдачи и статусов ── */
.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;align-self:flex-start}
.badge.ad{background:transparent;color:var(--ink);border:1px solid var(--line-strong)}
.badge.partner{background:#EDF7E8;color:#1B44B8;border:1px solid #D8EBD0}
.badge.editorial{background:#E7F6EF;color:var(--emerald-dark);border:1px solid #CBEBDD}
.badge.cbr{background:#EFF2EA;color:#33475F;border:1px solid #DDE5D8}
.badge.st-in{background:#E7F6EF;color:var(--emerald-dark);border:1px solid #CBEBDD}
.badge.st-out{background:var(--amber-bg);color:var(--amber);border:1px solid var(--amber-line)}
.badge.st-rev{background:#F3E2E2;color:var(--red-dark);border:1px solid #E2C0C0}
.badge.age{background:#F3F4EF;color:var(--ink2);border:1px solid var(--line);font-size:11px}

/* ── тулбар ленты ── */
.toolbar{position:sticky;top:60px;z-index:40;background:rgba(246,248,251,.97);backdrop-filter:blur(4px);
  border-bottom:1px solid var(--line);padding:10px 0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.toolbar .count{font-weight:800;font-variant-numeric:tabular-nums;font-size:15px}
.toolbar select{appearance:none;-webkit-appearance:none;-moz-appearance:none;
  border:1px solid var(--line-strong);border-radius:10px;padding:8px 34px 8px 12px;font:inherit;font-size:14px;
  line-height:1.2;min-height:40px;min-width:220px;max-width:100%;color:var(--ink);cursor:pointer;
  background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%2314263D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 12px center;
  background-size:12px 12px}
.toolbar select:hover{border-color:var(--ink2)}
.toolbar select:focus{outline:2px solid var(--blue);outline-offset:1px}
.toolbar .how{font-size:13px;margin-left:2px}
.toolbar .cmp{margin-left:auto;font-size:13px;color:var(--muted)}

/* ── слайдеры ── */
.sliders{display:grid;gap:14px;margin:12px 0 4px}
@media(min-width:720px){.sliders{grid-template-columns:1fr 1fr}}
.sl{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px}
.sl .lab{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);font-weight:600}
.sl .lab b{color:var(--ink);font-variant-numeric:tabular-nums}
.sl input[type=range]{width:100%;margin:8px 0 4px;accent-color:var(--blue);height:20px}
.sl .ends{display:flex;justify-content:space-between;font-size:12px;color:var(--faint);font-variant-numeric:tabular-nums}

/* ── hero главной ── */
.hero{background:#fff;border-bottom:1px solid var(--line);padding:34px 0 28px}
.hero h1{font-size:32px;line-height:1.15;margin:0 0 8px}
@media(min-width:960px){.hero h1{font-size:40px}}
.hero .sub{color:var(--muted);max-width:620px;margin:0 0 20px;font-size:16px}
.check{display:flex;gap:10px;max-width:620px;margin-bottom:16px}
.check input{flex:1;height:48px;border:1px solid var(--line-strong);border-radius:12px;padding:0 16px;font:inherit;font-size:16px;background:#fff}
.check input:focus{outline:2px solid var(--blue);outline-offset:1px}
.tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tab{padding:8px 16px;border:1px solid var(--line-strong);border-radius:999px;background:#fff;font-size:14px;font-weight:600;color:var(--ink2);cursor:pointer;text-decoration:none}
.tab.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.tab:hover{border-color:var(--blue);color:var(--blue)}

/* ── ставка ЦБ на главной ── */
.ratecard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 24px;display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center}
.ratecard .num{font-size:44px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.ratecard .cap2{font-size:13px;color:var(--faint)}
.ratecard .graph{flex:1;min-width:240px;height:64px}
.ratecard .graph svg{width:100%;height:100%}
.ratecard .side{min-width:200px;font-size:14px;color:var(--muted)}

/* ── новости списком ── */
.nlist{display:flex;flex-direction:column;gap:0}
.nitem{display:flex;gap:14px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.nitem:last-child{border-bottom:0}
.nitem .d{font-size:13px;color:var(--faint);white-space:nowrap;font-variant-numeric:tabular-nums}
.nitem b{font-weight:700;font-size:15px}
.nitem:hover b{color:var(--blue)}

/* ── плитки подборок ── */
.tiles{display:grid;gap:12px}
@media(min-width:560px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.tiles{grid-template-columns:repeat(3,1fr)}}
.tile{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;gap:12px;align-items:flex-start;text-decoration:none;color:var(--ink)}
.tile:hover{border-color:var(--blue)}
.tile .tlg{width:40px;height:40px;border-radius:10px;background:#EDF7E8;color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:19px;flex:none}
.tile b{display:block;font-size:15px}
.tile span{font-size:13px;color:var(--muted)}

/* ── таблицы ── */
table.reestr{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;font-size:14px}
table.reestr td,table.reestr th{padding:11px 14px;border-top:1px solid var(--line);text-align:start;vertical-align:top}
table.reestr tr:first-child td,table.reestr tr:first-child th{border-top:0}
table.reestr th{color:var(--muted);font-weight:600;white-space:nowrap;background:var(--bg);width:38%}
table.reestr td b{font-variant-numeric:tabular-nums}
@media(max-width:640px){
  table.reestr thead{display:none}
  table.reestr,table.reestr tbody,table.reestr tr,table.reestr td,table.reestr th{display:block;width:100%}
  table.reestr th{display:none}
  table.reestr tr{border-bottom:1px solid var(--line);padding:6px 0}
  table.reestr td{border-top:0;padding:4px 14px}
  table.reestr td:before{content:attr(data-l);display:block;font-size:12px;color:var(--faint);margin-bottom:2px}
}

/* ── плашки ── */
.note{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-left:4px solid var(--amber);border-radius:12px;padding:14px 16px;font-size:14px;color:var(--ink);margin:14px 0}
.note.cbr{border-left-color:var(--blue)}
.note.good{border-left-color:var(--emerald)}

/* ── FAQ ── */
details{border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 16px;margin-bottom:8px}
details summary{cursor:pointer;font-weight:700;font-size:15px}
details p{margin:8px 0 0;font-size:15px;color:var(--muted)}

/* ── футер ── */
/* ── подвал: ярусы и воздух по образцу utovarisha ───────────────────────── */
.ftr{background:var(--ink);color:#C6D2E4;margin-top:48px;padding:52px 0 24px}
.ftr a{color:#A9BCD8;text-decoration:none}
.ftr a:hover{color:#fff}
.ftr-inner{min-width:0}
.ftr-top{display:flex;justify-content:space-between;align-items:flex-start;gap:64px;margin-bottom:40px;min-width:0}
.ftr-brand{min-width:0;flex:0 1 auto}
.ftr-logo{display:inline-flex;align-items:center;gap:11px;color:#fff;text-decoration:none}
.ftr-mark{width:34px;height:34px;flex:0 0 auto;border-radius:10px;display:inline-flex;align-items:center;
  justify-content:center;background:linear-gradient(140deg,#257E1A 0%,#0E9F6E 100%);color:#fff;
  font-weight:800;font-size:17px;line-height:1;letter-spacing:-.01em}
.ftr-name{font-size:20px;font-weight:800;letter-spacing:-.02em;color:#fff}
.ftr-tagline{font-size:13px;line-height:1.65;color:#9FB2CE;margin:16px 0 0;max-width:280px}
.ftr-cols{display:flex;flex-wrap:wrap;gap:56px;padding-top:3px;min-width:0}
.ftr-col{display:flex;flex-direction:column;align-items:flex-start;gap:11px;min-width:0;font-size:14.5px}
.ftr-col h4{font-size:13px;font-weight:700;color:#fff;margin:0 0 5px;letter-spacing:.01em}
.ftr-col a{line-height:1.45}
.ftr-col a:hover{color:#fff}
.ftr-risk{font-size:16px;line-height:1.5;color:#D8E3F3;margin:0 0 32px;max-width:900px}
.ftr-legal{font-size:12.5px;line-height:1.85;color:#8FA1BC;max-width:1040px}
.ftr-legal p{margin:0 0 10px}
.ftr-legal p:last-child{margin-bottom:0}
.ftr .stats{border:0;padding:0;margin:14px 0 0;font-size:12.5px;line-height:1.8;color:#7C90AF;max-width:1040px}
.ftr-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:28px;
  border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:20px;font-size:12.5px;color:#8FA1BC}
@media(max-width:900px){
  .ftr{padding:40px 0 22px;margin-top:36px}
  .ftr-top{flex-wrap:wrap;gap:36px;margin-bottom:36px}
  .ftr-brand{flex:1 1 100%}
  .ftr-tagline{max-width:420px}
  .ftr-cols{flex:1 1 100%;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 24px}
}
@media(max-width:560px){
  .ftr{padding:36px 0 20px}
  .ftr-top{gap:30px;margin-bottom:32px}
  .ftr-cols{gap:24px}
  .ftr-col{font-size:14px;gap:10px}
  .ftr-tagline{font-size:12.5px;margin-top:14px}
  .ftr-risk{font-size:15px;margin-bottom:32px}
  .ftr-legal{font-size:12px;line-height:1.8}
  .ftr-bottom{margin-top:32px;padding-top:18px;gap:10px;font-size:12px}
}

/* ── bottom-nav мобайл ── */
.bnav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);display:flex;z-index:60;padding-bottom:env(safe-area-inset-bottom)}
.bnav a{flex:1;text-align:center;padding:7px 4px 9px;font-size:11px;font-weight:600;color:var(--faint);text-decoration:none}
.bnav a.on{color:var(--blue)}
.bnav .dot{font-size:17px;display:block;line-height:1.3}
@media(min-width:1100px){.bnav{display:none}}
@media(max-width:1099px){body{padding-bottom:58px}}

/* ── карточка организации (блоки) ── */
.blk3{display:grid;gap:14px;margin-top:14px}
@media(min-width:720px){.blk3{grid-template-columns:repeat(3,1fr)}}
.subcard{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}
.subcard h3{font-size:15px;margin:0 0 10px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.subcard h3 .cnt{flex:none;font-size:12.5px;font-weight:700;line-height:18px;color:var(--ink2);background:#EFF2EC;border:1px solid var(--line);border-radius:999px;padding:1px 9px;min-width:24px;text-align:center;font-variant-numeric:tabular-nums}
.subcard .ln{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:14px}
.subcard .ln:first-of-type{border-top:0}
.subcard .ln b{font-variant-numeric:tabular-nums}
.subcard .all{display:block;margin-top:10px;font-size:14px;font-weight:700}

/* ── страница продукта ── */
.prodhead{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;margin:10px 0}
.prodhead .lg{width:48px;height:48px;font-size:20px}
.prodnums{display:grid;gap:12px;margin:16px 0}
@media(min-width:720px){.prodnums{grid-template-columns:repeat(3,1fr)}}
.prodnum{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}
.prodnum .cap2{font-size:13px;color:var(--faint)}
.prodnum b{display:block;font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;margin-top:2px}

/* ── новость ── */
.art{display:grid;gap:24px;margin-top:16px}
@media(min-width:900px){.art{grid-template-columns:minmax(0,1fr) 300px}}
.art .body{max-width:720px}
.art .lead{font-size:18px;font-weight:600;color:var(--muted);line-height:1.5}
.art h2{font-size:20px;margin:22px 0 8px}
.art p{line-height:1.65;color:var(--ink)}
.art .src{font-size:13px;color:var(--faint);margin-top:14px}
.art .author{font-size:14px;color:var(--muted);margin-top:10px}
.sidecard{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}
.sidecard h3{font-size:15px;margin:0 0 10px}
.sidecard .si{display:block;padding:9px 0;border-top:1px solid var(--line);font-size:13.5px;color:var(--ink);text-decoration:none;line-height:1.4}
.sidecard .si:first-of-type{border-top:0}
.sidecard .si .d{display:block;font-size:12px;color:var(--faint);margin-bottom:2px}
.sidecard .si:hover{color:var(--blue)}

/* ── кабинет/суд (существующие страницы) ── */
.cab{display:grid;gap:20px;margin-top:20px}
@media(min-width:900px){.cab{grid-template-columns:230px 1fr}}
.side{display:flex;flex-direction:column;gap:4px}
.side a{padding:10px 14px;border-radius:10px;font-weight:600;font-size:14px;text-decoration:none;color:var(--ink)}
.side a.on{background:#E7EEFD;color:#1B44B8}
.side-item{padding:8px 0}
.ev{border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px 16px;margin-bottom:10px}
.ev .d{font-size:12px;color:var(--faint)}
.toggle{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.toggle:first-of-type{border-top:0}
.toggle .lbl b{display:block;font-size:15px}
.toggle .lbl span{font-size:13px;color:var(--muted)}
.sw{width:44px;height:26px;border-radius:999px;background:#CBD5E1;position:relative;flex:none;cursor:pointer}
.sw::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:left .15s ease}
.sw.on{background:var(--emerald)}
.sw.on::after{left:21px}
.sidebar{display:flex;flex-direction:column;gap:8px}

/* ===== Главная по эталону design-home-reference ===== */
.hero-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px;position:relative}
.hero-grid{display:grid;gap:24px;align-items:center}
@media(min-width:900px){.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,320px)}}
@media(min-width:1150px){.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:28px}}
.hero-copy{min-width:0}
.hero-card h1{font-size:clamp(32px,3.5vw,46px);line-height:1.12;letter-spacing:-.02em;margin:0 0 12px;font-weight:800;max-width:820px}
.hero-sub{color:var(--muted);font-size:16px;margin:0 0 20px;max-width:560px}
.searchrow{display:flex;max-width:640px;background:#fff;border:1px solid var(--line-strong);border-radius:10px;overflow:hidden}
.searchrow input{flex:1;height:56px;border:0;padding:0 16px;font-size:16px;outline:none;background:transparent;color:var(--ink)}
.searchrow input::placeholder{color:#8A96A8}
.searchrow input:focus{box-shadow:inset 0 0 0 2px var(--blue)}
.searchrow .btn{border-radius:0;height:56px;padding:0 28px;min-height:56px}
.hero-ill{display:none;min-width:0}
@media(min-width:900px){.hero-ill{display:block}}
.hero-ill img{width:100%;max-width:420px;height:auto;display:block;border-radius:18px}
.prod-tabs{display:flex;margin:24px -32px -32px;border-top:1px solid var(--line);background:#fff;border-radius:0 0 16px 16px;overflow-x:auto}
.prod-tabs a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:16px 8px;font-size:14.5px;font-weight:600;color:var(--ink);text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap}
.prod-tabs a:hover{color:var(--blue)}
.prod-tabs a.on{color:var(--blue);border-bottom-color:var(--blue)}
.prod-tabs svg{width:20px;height:20px;flex:none}
@media(max-width:720px){.prod-tabs{margin:20px -20px -20px}.prod-tabs a{flex:0 0 auto;padding:14px 16px}}
.duo{display:grid;gap:18px}
@media(min-width:960px){.duo{grid-template-columns:1.15fr 1fr}}
.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 22px 18px}
.panel .head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:2px}
.panel .head h2{font-size:20px;margin:0}
.panel .head a{font-size:14px}
.rate-title{font-size:22px;font-weight:800;margin:0 0 2px}
.rate-title .pct{color:var(--emerald-dark)}
.rate-cap{font-size:13px;color:var(--faint);margin:0 0 14px}
.rt-chart{position:relative;padding-left:36px}
.rt-chart svg{width:100%;height:196px;display:block}
.rt-y{position:absolute;left:0;top:0;bottom:26px;display:flex;flex-direction:column;justify-content:space-between;font-size:11.5px;color:var(--muted);width:32px;text-align:right}
.rt-x{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);padding-left:36px;margin-top:8px}
.panel .more{display:inline-block;margin-top:12px;font-size:14px}
.news-item{display:flex;gap:12px;justify-content:space-between;padding:12px 0;border-top:1px solid var(--line);text-decoration:none;color:inherit}
.news-item:first-of-type{border-top:0;padding-top:4px}
.news-item .txt .d{font-size:12px;color:var(--faint);display:block;margin-bottom:4px}
.news-item .txt b{font-size:15px;line-height:1.35;font-weight:600;display:block;color:var(--ink)}
.news-item:hover .txt b{color:var(--blue)}
.news-item .thumb{width:64px;height:48px;border-radius:8px;flex:none;overflow:hidden;border:1px solid var(--line)}
.news-item .thumb svg{width:100%;height:100%;display:block}
.tiles5{display:grid;gap:12px}
@media(min-width:720px){.tiles5{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.tiles5{grid-template-columns:repeat(5,1fr)}}
.tile2{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;text-decoration:none;color:inherit;min-height:78px}
.tile2:hover{border-color:#C7D3EA;box-shadow:0 4px 14px rgba(20,38,61,.06)}
.tile2 .ico{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:none}
.tile2 .ico svg{width:22px;height:22px}
.tile2 .t b{display:block;font-size:15px;margin-bottom:2px}
.tile2 .t span{display:block;font-size:12.5px;color:var(--muted);line-height:1.35}
.tile2 .chev{margin-left:auto;color:var(--faint);flex:none}
.ico-green{background:var(--emerald);color:#fff}
.ico-blue{background:var(--blue);color:#fff}
.promo-row{display:grid;gap:16px}
@media(min-width:900px){.promo-row{grid-template-columns:repeat(3,1fr)}}
.promo{border-radius:16px;padding:20px;min-height:190px;color:#fff;position:relative;overflow:hidden;text-decoration:none;display:flex;flex-direction:column;justify-content:flex-start;isolation:isolate;background:#073590}
.promo-img{position:absolute;top:0;right:0;bottom:0;width:56%;height:100%;object-fit:cover;object-position:center;z-index:0;display:block}
.promo::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(3,16,40,.20) 0%,rgba(3,16,40,.06) 26%,rgba(3,16,40,0) 46%)}
.promo b{font-size:18px;line-height:1.25;max-width:60%;position:relative;z-index:2}
.promo.p1{background:#073590}
.promo.p2{background:#0A2052}
.promo.p3{background:#024032}
.sec-title{font-size:22px;font-weight:800;margin:0 0 14px}

/* Мобильная раскладка главной (по эталону) */
@media(max-width:640px){
  .hero-card{padding:20px}
  .hero-grid{gap:16px}
  .hero-sub br{display:none}
  .searchrow{flex-direction:column;gap:10px;background:transparent;border:0;max-width:none}
  .searchrow input{width:100%;height:52px;border:1px solid var(--line-strong);border-radius:10px;background:#fff}
  .searchrow .btn{width:100%;height:52px;min-height:52px;border-radius:10px;padding:0;font-size:16px}
  .prod-tabs{flex-wrap:wrap;margin:18px -16px -16px;overflow:visible}
  .prod-tabs a{flex:1 1 33.33%;padding:12px 4px;font-size:12.5px;border-bottom-width:2px}
  .prod-tabs svg{width:18px;height:18px}
}

/* Узкие экраны: устранить оверфлоу панелей */
@media(max-width:640px){
  .panel{padding:16px}
  .panel .head{flex-wrap:wrap;gap:4px 10px}
  .rate-title{font-size:18px;line-height:1.3;overflow-wrap:anywhere}
  .rate-cap{font-size:12px}
  .rt-chart{padding-left:28px}
  .rt-y{width:26px;font-size:10.5px}
  .rt-x{font-size:10px;padding-left:28px}
  .rt-x span:nth-child(even){display:none}
  .news-item .thumb{width:54px;height:40px}
  .tile2{padding:12px;gap:10px}
  .promo b{font-size:15.5px;max-width:58%}
  .promo{padding:16px;min-height:168px}
  .promo-img{width:54%}
  .hero-card h1{font-size:27px}
  .hero-sub{font-size:14.5px}
}

/* Планшет: вкладки переносить, а не выпихивать */
@media(min-width:641px) and (max-width:1100px){
  .prod-tabs{flex-wrap:wrap}
  .prod-tabs a{flex:1 1 25%;padding:14px 8px}
}

/* ===== Плитки подборок с буллетами (как в эталоне) ===== */
.tile2{align-items:flex-start}
.tile2 .t{flex:1;min-width:0}
.tile2 .t ul{margin:6px 0 0;padding:0;list-style:none}
.tile2 .t li{position:relative;padding-left:12px;font-size:12.5px;color:var(--muted);line-height:1.45}
.tile2 .t li::before{content:'•';position:absolute;left:0;color:var(--faint)}
.tile2 .more{margin-top:8px;font-size:13px;font-weight:600;color:var(--blue)}
.tile2 .chev{display:none}
.tile2 .ico{margin-top:2px}
/* Строка доверия */
.trustrow{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px 18px;margin-top:16px}
.trustrow div{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;color:var(--muted);line-height:1.4}
.trustrow svg{width:18px;height:18px;flex:none;color:var(--emerald-dark)}
@media(max-width:900px){.trustrow{grid-template-columns:1fr 1fr}}
/* Вкладки периодов в блоке ставки */
.rate-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 10px}
.rate-tabs span{font-size:12.5px;font-weight:600;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:4px 10px}
.rate-tabs span.on{color:var(--blue);border-color:#C7D6F5;background:#F3F7EF}
/* Новости без миниатюр */
.news-item--plain .txt b{font-weight:600}

/* Строка статистики в футере */
.stats{border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:10px 14px;font-size:13px;color:#B9C6DC;margin-bottom:18px}

/* ── карточка «Дело-пример» на court.html (эталон page-court.png) ─────────── */
.card.case-card{padding:0;border-radius:16px;gap:0;overflow:hidden;margin-bottom:22px}
.case-card .cc-title{display:block;font-size:15.5px;font-weight:800;line-height:1.5;color:var(--ink);padding:18px 24px}
.case-card .cc-row{display:grid;border-top:1px solid var(--line)}
.case-card .cc-row.r3{grid-template-columns:repeat(3,minmax(0,1fr))}
.case-card .cc-row.r2{grid-template-columns:1fr 1fr}
.case-card .cc-item{padding:16px 24px;min-width:0;display:flex;flex-direction:column;gap:5px;align-items:flex-start}
.case-card .cc-item + .cc-item{border-left:1px solid var(--line)}
.case-card .cc-l{font-size:13px;line-height:1.4;color:var(--muted)}
.case-card .cc-v{font-size:16px;font-weight:700;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}
.case-card .cc-note{display:block;font-weight:400;font-size:12.5px;line-height:1.45;color:var(--faint);margin-top:2px}
.case-card .cc-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:14px 24px;border-top:1px solid var(--line)}
.case-card .cc-foot .cc-link{display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:600;
  color:var(--blue);text-decoration:none;min-width:0;line-height:1.4}
.case-card .cc-foot .cc-link svg{width:18px;height:18px;flex:none}
.case-card .cc-foot .cc-link:hover{text-decoration:underline}
.case-card .cc-foot .cc-src{margin-left:auto;font-size:12px;line-height:1.5;color:var(--faint);max-width:60%}
@media(max-width:760px){
  .case-card .cc-row.r3,.case-card .cc-row.r2{grid-template-columns:1fr}
  .case-card .cc-item + .cc-item{border-left:0;border-top:1px solid var(--line)}
  .case-card .cc-title,.case-card .cc-item,.case-card .cc-foot{padding-left:16px;padding-right:16px}
  .case-card .cc-foot .cc-src{margin-left:0;max-width:none}
}

/* ── «Как это работает — по шагам» (номер в квадрате) ─────────────────────── */
.steps{display:grid;gap:14px;margin:12px 0 6px}
@media(min-width:820px){.steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
.step{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;display:flex;
  gap:14px;align-items:flex-start;min-width:0}
.step .num{flex:none;width:48px;height:48px;border-radius:10px;background:#EEF3FE;color:var(--blue);
  display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;
  font-variant-numeric:tabular-nums;line-height:1}
.step .st{min-width:0}
.step b{display:block;font-size:15px;line-height:1.4;margin-bottom:4px}
.step p{margin:0;font-size:13.5px;line-height:1.55;color:var(--muted)}
@media(max-width:420px){.step{padding:14px;gap:12px}.step .num{width:40px;height:40px;font-size:17px;border-radius:9px}}

/* ── таблица «Что говорит закон»: Норма / Суть, зебра ─────────────────────── */
table.lawt{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);
  border-radius:12px;overflow:hidden;font-size:14px;table-layout:fixed}
table.lawt thead th{background:#F4F6F1;color:var(--ink);font-weight:700;font-size:13.5px;
  padding:13px 18px;text-align:start;border-bottom:1px solid var(--line)}
table.lawt tbody th{width:40%;font-weight:600;font-size:14px;color:var(--ink);text-align:start;
  vertical-align:top;padding:14px 18px;line-height:1.5;overflow-wrap:anywhere}
table.lawt tbody td{vertical-align:top;padding:14px 18px;line-height:1.55;color:var(--muted);
  border-left:1px solid var(--line);overflow-wrap:anywhere}
table.lawt tbody tr{border-top:1px solid var(--line)}
table.lawt tbody tr:first-child{border-top:0}
table.lawt tbody tr:nth-child(even){background:#FAFBF8}
@media(max-width:640px){
  table.lawt,table.lawt tbody,table.lawt tr,table.lawt th,table.lawt td{display:block;width:auto}
  table.lawt thead{display:none}
  table.lawt{font-size:13.5px}
  table.lawt tbody th{padding:14px 16px 0;width:auto}
  table.lawt tbody td{border-left:0;padding:4px 16px 14px}
}

/* ── «Коротко»: блок краткого ответа под H1 (SEO/AEO, п.2.4 спеки) ────────── */
.korotko{background:#F5F8F2;border:1px solid #DFEDD7;border-radius:12px;padding:14px 18px 15px;
  margin:0 0 18px;max-width:820px}
.korotko .k-lbl{display:block;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  color:var(--blue);margin-bottom:6px}
.korotko p{margin:0;font-size:15px;line-height:1.65;color:var(--ink2)}
@media(max-width:560px){.korotko{padding:13px 14px}.korotko p{font-size:14.5px}}

/* ═══ courts.html — листинг разборов (эталон page-courts-list.png) ═════════ */
.courts-lead{font-size:17px;line-height:1.55;color:var(--muted);max-width:640px;margin:10px 0 0}
@media(max-width:640px){.courts-lead{font-size:15.5px}}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 22px}
.chips a{padding:9px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;
  font-size:14px;font-weight:600;color:var(--ink2);text-decoration:none;min-height:40px;
  display:inline-flex;align-items:center}
.chips a:hover{border-color:#C7D3EA;color:var(--blue)}
.chips a.on{background:var(--blue);border-color:var(--blue);color:#fff}
.courts{display:grid;gap:24px;margin-top:2px;align-items:start}
@media(min-width:1024px){.courts{grid-template-columns:minmax(0,1fr) 348px}}
.case-item{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:18px 20px;margin-bottom:14px;text-decoration:none;color:inherit;transition:border-color .15s ease,box-shadow .15s ease}
.case-item:hover{border-color:#C7D3EA;box-shadow:0 6px 18px rgba(20,38,61,.06)}
.case-item .ci-in{display:grid;gap:4px 20px;min-width:0}
@media(min-width:820px){.case-item .ci-in{grid-template-columns:168px minmax(0,1fr)}}
.case-item .cd{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);white-space:nowrap}
.case-item .cd svg{width:17px;height:17px;flex:none;color:var(--faint)}
.case-item .cb{min-width:0}
.case-item h3{font-size:18px;line-height:1.35;margin:0 0 6px;font-weight:700;color:var(--ink);text-wrap:balance}
.case-item:hover h3{color:var(--blue)}
.case-item p{margin:0;font-size:14.5px;line-height:1.55;color:var(--muted)}
.case-item .cfoot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:10px 16px;margin-top:14px}
.ctags{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.ctag{border:1px solid var(--line);border-radius:6px;padding:4px 10px;font-size:12.5px;
  color:var(--ink2);background:#fff;font-weight:600;line-height:1.4}
.cread{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--blue);white-space:nowrap}
.cread svg{width:16px;height:16px;flex:none}
@media(max-width:640px){
  .case-item{padding:16px}
  .case-item h3{font-size:16.5px}
  .case-item p{font-size:14px}
  .cread{font-size:13.5px}
}
.sb-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;margin-bottom:16px;min-width:0}
.sb-card .sb-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:4px}
.sb-card .sb-head h2{font-size:19px;margin:0;line-height:1.3}
.sb-card .sb-head a{font-size:13.5px;font-weight:600;white-space:nowrap}
.sb-item{display:block;padding:14px 0;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}
.sb-item:first-of-type{border-top:0;padding-top:8px}
.sb-item .sd{display:block;font-size:12.5px;color:var(--faint);margin-bottom:6px}
.sb-item .stl{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sb-item b{font-size:14.5px;font-weight:600;line-height:1.45;color:var(--blue)}
.sb-item .arr{flex:none;color:var(--faint);margin-top:2px}
.sb-item .arr svg{width:18px;height:18px;display:block}
.sb-item:hover b{color:var(--blue-hover);text-decoration:underline}
.rank{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:14px 0;border-top:1px solid var(--line)}
.rank:first-of-type{border-top:0;padding-top:8px}
.rank .n{width:34px;height:34px;border-radius:8px;background:#EEF3FE;color:var(--blue);
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;line-height:1}
.rank b{display:block;font-size:14.5px;font-weight:600;line-height:1.4;color:var(--blue)}
.rank .views{display:block;font-size:12.5px;color:var(--faint);margin-top:4px}
.rank:hover b{text-decoration:underline}
@media(max-width:1023px){
  .sb-card{padding:16px}
  .sb-card .sb-head h2{font-size:18px}
}

/* ═══ cabinet.html — кабинет (эталон page-cabinet.png) ═════════════════════ */
.divider-top{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}
.sb-card .sb-links{display:flex;flex-direction:column;gap:2px}

/* контент кабинета: белая панель с секциями */
.panel-cab{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;min-width:0}
@media(max-width:640px){.panel-cab{padding:16px;border-radius:14px}}
.panel-cab h1{font-size:26px;line-height:1.2;margin:0 0 18px;letter-spacing:-.01em}
.panel-cab h2{font-size:20px;line-height:1.3;margin:26px 0 14px}
.panel-cab h2:first-of-type{margin-top:0}
.ev-row{display:grid;gap:14px}
@media(min-width:760px){.ev-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
.evcard{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;min-width:0}
.evcard .ehead{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.icbox{flex:none;width:44px;height:44px;border-radius:10px;background:#EEF3FE;color:var(--blue);
  display:flex;align-items:center;justify-content:center}
.icbox svg{width:22px;height:22px;display:block}
.evcard .edate{font-size:13px;color:var(--muted);line-height:1.4}
.evcard b{display:block;font-size:16px;line-height:1.35;font-weight:700;margin-bottom:8px;text-wrap:balance}
.evcard p{margin:0 0 14px;font-size:14px;line-height:1.55;color:var(--muted)}
.evcard .more{margin-top:auto;display:inline-flex;align-items:center;gap:8px;font-size:14px;
  font-weight:700;color:var(--blue);text-decoration:none}
.evcard .more svg{width:16px;height:16px;flex:none}
.evcard .more:hover{text-decoration:underline}
@media(max-width:420px){.evcard{padding:14px}.evcard b{font-size:15px}}
.rowset{background:#fff;border:1px solid var(--line);border-radius:12px;padding:2px 18px}
.rowset .tgl{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--line)}
.rowset .tgl:first-child{border-top:0}
.rowset .tgl .lbl{flex:1;min-width:0}
.rowset .tgl .lbl b{display:block;font-size:15px;font-weight:700;line-height:1.4}
.rowset .tgl .lbl span{display:block;font-size:13.5px;line-height:1.45;color:var(--muted);margin-top:2px}
.rowset .icbox{width:40px;height:40px;border-radius:9px}
.rowset .icbox svg{width:20px;height:20px}
@media(max-width:480px){.rowset{padding:0 12px}.rowset .tgl{gap:10px}.rowset .icbox{display:none}}
.sw.on{background:var(--blue)}
.sw{cursor:pointer;border:0;padding:0;-webkit-appearance:none;appearance:none}
.sw:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

/* ── статья-разбор (court.html): одна колонка, широкий контент ────────────── */
.article{display:block;margin-top:16px;padding-bottom:8px}
.article > div{min-width:0}
.article h1{font-size:clamp(28px,3.2vw,40px);line-height:1.18;letter-spacing:-.02em;margin:8px 0 16px;max-width:900px}
.meta-top{font-size:13px;line-height:1.5;color:var(--faint);margin-top:10px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.also{display:grid;gap:0;max-width:760px;margin-top:4px}
.also-item{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;padding:11px 0;
  border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}
.also-item:first-child{border-top:0}
.also-item time{font-size:13px;color:var(--faint);white-space:nowrap;font-variant-numeric:tabular-nums}
.also-item b{font-size:15px;font-weight:600;line-height:1.4;min-width:0}
.also-item:hover b{color:var(--blue)}

/* Кабинет: сайдбар-карточка и его пункты (эталон page-cabinet.png) */
@media(min-width:960px){.cab{grid-template-columns:252px minmax(0,1fr);align-items:start;margin:20px 0 30px}}
.sb-links{gap:2px}
.sb-links a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;
  font-size:14.5px;font-weight:600;color:var(--ink2);text-decoration:none;line-height:1.35;min-width:0}
.sb-links a:hover{background:#F4F7F1;color:var(--ink)}
.sb-links a.on{background:#EEF3FE;color:var(--blue)}
.sb-links .icbox{width:36px;height:36px;border-radius:9px;background:#EFF2EC;color:var(--ink2)}
.sb-links a.on .icbox{background:#E1EAFE;color:var(--blue)}
.sb-links .icbox svg{width:19px;height:19px}
@media(max-width:959px){
  .sb-links{flex-direction:row;flex-wrap:wrap;padding:12px}
  .sb-links a{padding:8px 10px;font-size:13.5px;gap:8px}
  .sb-links .icbox{width:30px;height:30px;border-radius:8px}
  .sb-links .icbox svg{width:17px;height:17px}
}

/* Картинка новости: ширина контента, max-height 380, cover, радиус 16 */
.news-hero{display:block;width:100%;max-height:380px;height:auto;object-fit:cover;
  border-radius:16px;border:1px solid var(--line);margin:2px 0 18px;background:#EEF1EA}
@media(max-width:640px){.news-hero{max-height:220px;border-radius:12px}}
.art .corotko + .news-hero{margin-top:16px}

/* Узкие экраны: в шапке не обрезать логотип — поиск уходит в нижнюю навигацию */
@media(max-width:430px){
  .hdr-search{display:none}
  .hdr-enter{margin-left:auto}
}
.note > div{min-width:0}
/* Листинг судов: дата по верхней линии заголовка */
.case-item .cd{align-items:flex-start}
.case-item .cd svg{margin-top:2px}

/* ═══════════════════════════════════════════════════════════════════════════
   КАНОН НОВЫХ СТРАНИЦ ДЛЯ «СТАРЫХ» — метка class="std" на <body>.
   Значения сняты замером tools/consist-run.py с kredity.html на ширине 1366:
     H1 32/38.4/-0.32px/700, margin 0 · крошки 13px #5F6E89, до H1 ровно 10px
     .h1row margin 10/10 · «Обновлено» 13px, снизу 18px
     карточка padding 13px 14px, radius 12, border 1px #ECECEE, без тени
     сетка карточек gap 12 · h2 22/27.5/-0.22px, снизу 12
     основной текст 14.5/22.91/#4A5A75 · подпись 13.5/20.25/#5F6E89
     кнопка в контенте h 44 / radius 10 / 15px
   Все правила ниже — только под .std, поэтому главная, хабы, подборка и
   вертикаль «Кредиты» (эталон) остаются без изменений.
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1. Шапка страницы: крошки → H1 → подзаголовок → «Обновлено» */
.std .h1row{margin:10px 0 10px}
.std h1,
.std .h1row h1{font-size:26px;line-height:1.2;letter-spacing:-.01em;font-weight:700;
  margin:0;max-width:none;text-wrap:balance}
@media(min-width:960px){.std h1,.std .h1row h1{font-size:32px}}
.std .crumbs{font-size:13px;line-height:1.5;color:var(--faint);margin:0;padding-top:14px}
.std .crumbs a{color:var(--faint)}
/* подзаголовок под H1 — как .kr-sub эталона */
.std-sub{margin:0 0 10px;max-width:860px;font-size:17px;line-height:1.55;color:var(--muted)}
/* строка «Обновлено: <time>» — как .kr-upd эталона */
.kr-upd{margin:0 0 18px;font-size:13px;line-height:1.5;color:var(--muted)}
.kr-upd time{font-variant-numeric:tabular-nums}
.kr-upd a{color:var(--muted);text-decoration-color:currentColor}

/* 2. Заголовки блоков */
.std h2,
.std .art h2,
.std .pa-h2{font-size:22px;line-height:1.25;letter-spacing:-.01em;font-weight:700;
  margin:24px 0 12px;color:var(--ink)}
/* h2 внутри карточки и внутри секции уже отделён воздухом блока — без верхнего поля */
.std .pa-card>h2,
.std .pa-cmp-wrap+h2,
.std .sec-b h2{margin:0 0 12px}
.std .sb-card .sb-head h2{font-size:22px;line-height:1.25;letter-spacing:-.01em;margin:0 0 12px}
/* h2, который стоит первым блоком сразу после «Обновлено»: зазор даёт сама строка */
.std .pa-h2{margin:18px 0 12px}
/* логотип в строке H1 (страница продукта) остаётся 48px */
.std .h1row .lg{width:48px;height:48px;font-size:20px}
/* мета-строка статьи (дата · рубрика) — как «Обновлено»: 13px, снизу 10px */
.std .art-meta,
.std .meta-top{margin:0 0 10px;font-size:13px;line-height:1.5;color:var(--faint)}
/* лид-абзац листинга: основной текст, а не подзаголовок */
.std .courts-lead{margin:0 0 10px;max-width:860px;font-size:14.5px;line-height:1.58;color:var(--muted)}
/* колонка кабинета начинается сразу после «Обновлено» */
.std .cab{margin-top:0}
/* третья колонка карточек на странице организации — тот же шаг 12 */
.std .blk3{gap:12px}
/* полоса фильтров листинга судов начинается сразу после «Обновлено» */
.std .chips{margin:0 0 22px}
/* строка H1 с крупным логотипом: логотип не сдвигает H1 вниз */
.std .h1row-start{align-items:flex-start}
/* мелкая подпись/подсказка (13.5/20.25) — сноски, подписи к графикам, маркировка */
.std .pa-note,
.std .pa-chart-cap,
.std .admark{font-size:13.5px;line-height:1.5;color:var(--faint)}
.std .pa-rate-meta{font-size:13.5px;line-height:1.5}
/* переключатель .sw: сам трек 44×26 по центру, кликабельная область — 44px */
.std .sw{height:44px;font-size:15px;background:transparent;border-radius:10px}
.std .sw::before{content:'';position:absolute;left:0;top:9px;width:44px;height:26px;
  border-radius:999px;background:#CBD5E1;transition:background .15s}
.std .sw.on{background:transparent}
.std .sw.on::before{background:var(--blue)}
.std .sw::after{top:12px}

/* 3. Основной текст (14.5/1.58/#4A5A75) и мелкая подпись (13.5/1.5/#5F6E89) */
.std .korotko p,
.std .art .body p:not(.kr-upd),
.std .copy p,
.std .step p,
.std details p,
.std .pa-lead{font-size:14.5px;line-height:1.58;color:var(--muted)}
/* подзаголовок под H1 — 17px, как .kr-sub эталона */
.std .lead{font-size:17px;line-height:1.55;color:var(--muted)}
.std .note,
.std .hint,
.std .sec-b .hint,
.std .pa-field-hint{font-size:13.5px;line-height:1.5;color:var(--faint)}

/* 4. Карточки: 13px 14px, radius 12, рамка #ECECEE, без тени */
.std .card,
.std .subcard,
.std .sidecard,
.std .case-item,
.std .sb-card,
.std .pa-card,
.std .pa-item,
.std .pa-cmp-card,
.std .xcard,
.std .defbox,
.std .evcard{padding:13px 14px;border-radius:12px;border:1px solid var(--line);box-shadow:none}
/* карточка-раздел со списком строк (.case-card): внешние 13/14, строки — без своего воздуха */
.std .card.case-card{padding:13px 14px;border-radius:12px;overflow:visible}
.std .case-card .cc-item{padding:12px 0;border-radius:0;border:0;border-top:1px solid var(--line)}
.std .case-card .cc-item:first-of-type{border-top:0}

/* 5. Сетки карточек: шаг 12px */
.std .grid,
.std .grid3,
.std .grid2,
.std .cab,
.std .art,
.std .ev-row,
.std .cc-grid,
.std .pa-calc-grid,
.std .pa-news-grid,
.std .pa-cmp-cards{gap:12px}

/* 6. Кнопки в контенте: высота 44, radius 10, 15px (вторичная — та же) */
.std .btn{height:44px;min-height:44px;border-radius:10px;font-size:15px;padding:0 18px}
.std .btn.small{height:44px;min-height:44px;font-size:15px;padding:0 16px}
