/* clinomir — стили сайта. Гамма: зелёный (основной) + оранжевый (акцент). */
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope.946beb949095.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../fonts/GolosText.caa4693f600e.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }

:root {
  --ink: #0F1F17; --ink2: #3A4A41; --muted: #586960; --line: #D8E3DC; --bg: #F2F6F3; --card: #FFFFFF;
  --green-d: #0E6B38; --green: #0F7A44; --green-t: #E3F3E8; --green-brand: #138A48; --green-word: #0E5E33;
  --orange: #E8833F; --orange-t: #FCEBDD; --orange-d: #9A4210; --orange-ink: #2A1406;
  --grey-t: #EBF0EC; --grey-d: #475950; --dark: #0C1F15;
  --display: "Manrope", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 16px; --shadow: 0 18px 40px rgba(15, 31, 23, 0.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: var(--green-d); text-decoration: none; }
a:hover { color: var(--ink); }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin: 0; color: var(--ink); }
h1 { font-size: clamp(32px, 4.4vw, 52px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-d); }
.eyebrow.orange { color: var(--orange-d); }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.mono { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; }
.center { align-items: center; } .between { justify-content: space-between; } .end { align-items: flex-end; }
.grow { flex: 1 1 auto; min-width: 0; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; } .mt-96 { margin-top: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px;
  border: 1px solid transparent; font: 600 15px var(--body); cursor: pointer; white-space: nowrap; text-decoration: none; transition: background .15s, border-color .15s; }
.btn svg { flex-shrink: 0; }
.btn-s { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-l { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--green-d); color: #fff; }
.btn-primary:hover { background: #0B5A2F; color: #fff; }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--green); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--green-d); }
.btn-accent { background: var(--orange); color: var(--orange-ink); }
.btn-accent:hover { background: #DD7432; color: var(--orange-ink); }
.btn-light { background: #fff; color: var(--green-d); }
.btn-block { width: 100%; }

/* метки */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; }
.pill-active { background: var(--green-t); color: var(--green-d); } .pill-active .dot { background: var(--green); }
.pill-recruit { background: var(--orange-t); color: var(--orange-d); } .pill-recruit .dot { background: var(--orange); }
.pill-done { background: var(--grey-t); color: var(--grey-d); }
.pill-stop { background: #F7E9E4; color: #8A3B22; }
.pill-phase { background: var(--card); color: var(--ink2); border: 1px solid var(--line); }
.pill-be { background: var(--card); color: var(--orange-d); border: 1px solid #F2C9AE; }
.pill-dark { background: var(--ink); color: #fff; }
.pill-country { background: var(--card); color: var(--ink2); border: 1px solid var(--line); font-weight: 600; }

/* карточки */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card-l { padding: 28px; } .card-xl { padding: 36px; }
.shadow { box-shadow: var(--shadow); }
.tint { background: var(--green-t); border-color: #C6E6D1; }
.tint-orange { background: var(--orange-t); border-color: #F3D3BD; }

/* шапка */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { height: 72px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.045em; line-height: 1; color: var(--green-word); }
.logo-word span { color: var(--green-brand); }
.logo.light .logo-word { color: #fff; } .logo.light .logo-word span { color: #4FD488; }
.nav { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--ink2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--bg); }
.nav a.on { color: var(--green-d); background: var(--green-t); font-weight: 600; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.country-form select { height: 36px; padding: 0 30px 0 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230E6B38' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18M5 7.5h14M5 16.5h14'/%3E%3C/svg%3E") no-repeat 10px center;
  font: 600 14px var(--body); color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
.country-form { position: relative; }
.country-form::after { content: ""; position: absolute; right: 12px; top: 15px; width: 7px; height: 7px; border-right: 2px solid var(--ink2); border-bottom: 2px solid var(--ink2); transform: rotate(45deg); pointer-events: none; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-d); color: #fff; font-weight: 700; font-size: 14px; }
.menu-toggle { display: none; }

/* подвал */
.site-footer { background: var(--dark); color: #fff; margin-top: 96px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.site-footer a { color: #C8D8CE; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; flex: 1 1 200px; }
.footer-col h4 { font: 600 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: #8DBB9F; }
.footer-note { padding-top: 24px; border-top: 1px solid #263F31; color: #A7BFB0; font-size: 13px; line-height: 1.6; }

/* сообщения */
.messages { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.msg { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 12px; font-size: 15px; box-shadow: var(--shadow); }
.msg.success { background: var(--green-d); }

/* цифры */
.stat-value { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-value.green { color: var(--green-d); }
.stat-value.s { font-size: 30px; }
.stat-label { font-size: 15px; color: var(--ink2); line-height: 1.4; margin-top: 6px; }
.stat-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px 28px; padding-top: 24px; border-top: 1px solid var(--line); }

/* графики */
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--ink2); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.c-innov { background: var(--green); } .c-be { background: var(--orange); }
.ychart { position: relative; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); }
.ychart .grid { position: absolute; left: 0; right: 0; border-top: 1px dashed #E1E9E4; }
.ychart .grid span { position: absolute; left: -34px; top: -9px; width: 28px; text-align: right; font-size: 11px; color: var(--muted); }
.ychart .col { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; padding: 0 3px; min-width: 0; }
.ychart .bar { position: relative; width: 100%; display: flex; flex-direction: column; min-height: 2px; }
.ychart .seg-be { background: var(--orange); border-radius: 4px 4px 0 0; flex-shrink: 0; }
.ychart .seg-innov { background: var(--green); flex: 1 1 auto; border-top: 2px solid var(--card); }
.ychart .seg-innov.solo { border-radius: 4px 4px 0 0; border-top: 0; }
.ychart .total { position: absolute; bottom: 100%; left: -8px; right: -8px; padding-bottom: 4px; text-align: center; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ychart-labels { display: flex; margin-top: 8px; }
.ychart-labels span { flex: 1 1 0; min-width: 0; text-align: center; font-size: 12px; color: var(--muted); white-space: nowrap; }
.ychart-wrap { padding-left: 34px; }
.ychart-wrap.compact { padding-left: 0; }
.bars { display: flex; flex-direction: column; gap: 4px; }
.bar-row { display: flex; align-items: center; gap: 12px; min-height: 30px; color: var(--ink); }
a.bar-row:hover .bar-label { color: var(--green-d); }
.bar-label { width: 200px; flex-shrink: 0; font-size: 14px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.bar-fill { height: 12px; background: var(--green); border-radius: 0 4px 4px 0; }
.bar-fill.orange { background: var(--orange); }
.bar-value { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* герой и главная */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding: 64px 0 56px; }
.hero-main { flex: 1 1 600px; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-side { flex: 0 1 460px; min-width: 300px; }
.roles-box { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.role-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.role-tabs { gap: 6px; }
.role-tabs label { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 13px; border-radius: 21px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-weight: 600; font-size: 14px; cursor: pointer; }
.role-panel { display: none; flex-direction: column; gap: 18px; min-height: 172px; }
#r-sponsor:checked ~ .role-tabs label[for="r-sponsor"], #r-researcher:checked ~ .role-tabs label[for="r-researcher"],
#r-patient:checked ~ .role-tabs label[for="r-patient"], #r-pro:checked ~ .role-tabs label[for="r-pro"] { background: var(--green-d); border-color: var(--green-d); color: #fff; }
#r-sponsor:checked ~ .p-sponsor, #r-researcher:checked ~ .p-researcher, #r-patient:checked ~ .p-patient, #r-pro:checked ~ .p-pro { display: flex; }
.roles-box input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.roles-box input[type=radio]:focus-visible ~ .role-tabs { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 22px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.checks li, .checklist li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-t); color: var(--green-d); flex-shrink: 0; }
.ico.solid { background: var(--green-d); color: #fff; width: 52px; height: 52px; border-radius: 14px; }
.ico.orange { background: var(--orange-t); color: var(--orange-d); }
.party-row { display: flex; align-items: stretch; }
.party { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.link-col { flex: 0 0 150px; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 4px; }
.link-col div { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13px; line-height: 1.35; color: var(--ink2); }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit > div > b { display: block; font-size: 17px; font-weight: 600; line-height: 1.3; }
.benefit > div > span { display: block; font-size: 15px; line-height: 1.5; color: var(--ink2); margin-top: 4px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split-main { flex: 1 1 560px; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.split-side { flex: 0 1 460px; min-width: 300px; }
.final { background: var(--green-d); border-radius: 24px; padding: 48px; display: flex; flex-direction: column; gap: 28px; color: #fff; }
.final h2 { color: #fff; }
.role-btn { flex: 1 1 200px; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px; border-radius: 14px; background: #0B4F2A; border: 1px solid #2C7A4B; color: #fff; font-size: 16px; font-weight: 600; }
.role-btn:hover { background: #0A4425; color: #fff; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.chip:hover { border-color: var(--green); color: var(--ink); }
.chip b { margin-left: 8px; color: var(--muted); font-weight: 500; }

/* лента и карточки исследований */
.feed-item { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); }
.feed-item:hover .feed-title { color: var(--green-d); }
.feed-date { width: 84px; flex-shrink: 0; display: flex; flex-direction: column; gap: 2px; }
.feed-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.feed-title span { font-weight: 400; color: var(--ink2); }
.trial-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.trial-card .t-title { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.trial-card .t-title:hover { color: var(--green-d); }
.trial-card .t-sub { font-size: 15px; color: var(--ink2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 14px; color: var(--ink2); }
.meta span { display: inline-flex; gap: 6px; align-items: center; min-width: 0; }
.meta svg { color: var(--muted); flex-shrink: 0; }
.t-foot { padding-top: 12px; border-top: 1px solid var(--line); }

/* каталог */
.catalog { display: flex; gap: 24px; align-items: flex-start; }
.filters { flex: 0 0 290px; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.filters legend, .f-label { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green-d); margin: 0; }
.check .n { margin-left: auto; color: var(--muted); font-size: 13px; }
.field, .filters select, .filters input[type=text], .filters input[type=search] { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: 500 15px var(--body); color: var(--ink); }
.searchbar { display: flex; gap: 8px; max-width: 820px; }
.searchbar label { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.searchbar input { flex: 1 1 auto; border: 0; outline: none; font: 500 17px var(--body); color: var(--ink); background: transparent; min-width: 0; }
.subscribe-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 16px; background: var(--orange-t); border: 1px solid #F3D3BD; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding-top: 12px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 500; }
.pagination .cur { background: var(--green-d); border-color: var(--green-d); color: #fff; }
.empty { text-align: center; padding: 48px 24px; }

/* карточка исследования */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { display: flex; gap: 14px; padding: 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.fact .ico { width: 40px; height: 40px; border-radius: 10px; }
.fact small { display: block; font-size: 13px; color: var(--muted); }
.fact b { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.site-city { display: flex; gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.site-city > div:first-child { width: 180px; flex-shrink: 0; display: flex; gap: 8px; font-weight: 600; }
.site-city ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.site-city li.off { color: var(--muted); }
.timeline { position: relative; height: 10px; border-radius: 5px; background: var(--grey-t); }
.timeline div { height: 10px; border-radius: 5px; background: var(--green); }
.timeline i { position: absolute; top: -6px; width: 2px; height: 22px; background: var(--ink); }
.detail { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.detail-main { flex: 1 1 640px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.detail-side { flex: 0 0 360px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.crumbs { padding: 28px 0 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.crumbs-row .crumbs { flex: 1 1 auto; }

/* таблицы */
.table { width: 100%; border-collapse: collapse; }
.table th { padding: 0 8px 10px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: left; }
.table td { padding: 12px 8px; border-top: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr > :first-child { padding-left: 0; } .table tr > :last-child { padding-right: 0; }

/* формы */
.form-card { max-width: 560px; margin: 48px auto 0; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label.lbl, .form .lbl { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form input[type=password], .form select, .form textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: 500 16px var(--body); color: var(--ink); }
.form textarea { height: 120px; padding: 12px 14px; }
.form .help { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form .err, .errorlist { color: #A2361C; font-size: 14px; margin: 4px 0 0; padding: 0; list-style: none; }
.role-opt { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.role-opt:has(input:checked) { border: 2px solid var(--green-d); background: var(--green-t); }
.role-opt input { width: 20px; height: 20px; accent-color: var(--green-d); margin: 0 0 0 auto; flex-shrink: 0; }
.role-opt b { display: block; font-size: 16px; } .role-opt small { display: block; font-size: 13px; color: var(--ink2); }
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- дополнения: шапка, подвал, разделы ---------- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.logo-mark { color: var(--green-brand); flex-shrink: 0; }
.logo.light .logo-mark { color: #4FD488; }
.nav-auth { display: none; }
.user-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 14px; }
.uname { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar-l { width: 56px; height: 56px; font-size: 20px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { color: #C8D8CE; font-size: 14px; line-height: 1.6; max-width: 340px; }
.footer-brand p.tiny { color: #8DBB9F; font-size: 13px; }
.messages.fade { opacity: 0; transition: opacity .5s; }
.msg.error, .msg.warning { background: #8A3B22; }
.msg.info { background: var(--ink2); }
.section { margin-top: 96px; }
.section-first { padding-top: 40px; }
.section-top { padding-top: 48px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.split.reverse { flex-wrap: wrap-reverse; }
.party-get { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.party h3 { font-size: 19px; }
.checklist svg, .checks svg { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.info-strip { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding: 22px 26px; border-radius: 18px; background: var(--green-t); border: 1px solid #C6E6D1; }
.info-strip b { font-size: 17px; font-weight: 600; }
.tint-box { padding: 14px 16px; border-radius: 12px; background: var(--green-t); line-height: 1.5; }
.tint-box b { font-weight: 600; }
.tint-orange-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--orange-t); color: var(--ink); line-height: 1.45; }
.tint-orange-box svg { color: var(--orange-d); flex-shrink: 0; }
.snip-title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.pick-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pick-row:first-child { border-top: 0; }
.pick-name { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
a.pick-name:hover { color: var(--green-d); }
.pros-strip { margin-top: 96px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 32px 36px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.h3-l { font-size: 22px; line-height: 1.25; }
.h1-m { font-size: clamp(28px, 3.4vw, 42px); }
.h1-s { font-size: clamp(26px, 3vw, 32px); }
.gap-28 { gap: 28px; }
.ml-auto { margin-left: auto; display: inline-flex; }
.final-sub { font-size: 17px; line-height: 1.5; color: #CFEBD9; }
.role-btn svg { color: #BFE8CF; }
.panel-lead { font-size: 19px; line-height: 1.5; color: var(--ink); }
.field-l { height: 52px; border-radius: 12px; font-size: 16px; }
.field-s { height: 36px; width: auto; font-size: 14px; padding: 0 10px; }
select.field { padding-right: 10px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-size: 13px; font-weight: 600; }
.seg a:hover { border-color: var(--green); color: var(--ink); }
.seg a.on { background: var(--green-d); border-color: var(--green-d); color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.feed-date b { font-size: 15px; font-weight: 600; }
.trial-card .t-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.t-sponsor { font-weight: 400; color: var(--ink2); }
.save-form { margin-left: auto; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--bg); color: var(--orange-d); }
.icon-btn.on { color: var(--orange); }
.icon-btn.on svg { fill: currentColor; }
.chip-on { background: var(--green-t); border-color: #C6E6D1; gap: 6px; }
.chip-orange { background: var(--orange-t); border-color: #F3D3BD; }
.pagination .dots { border: 0; background: transparent; min-width: 24px; padding: 0 4px; }
.page-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; padding: 40px 0 28px; }
.page-head .searchbar { flex: 1 1 520px; }
.filters-toggle { display: none; margin-bottom: 12px; }
.filters { display: flex; flex-direction: column; gap: 20px; padding: 20px; }
.f-group { display: flex; flex-direction: column; gap: 2px; }
.f-actions { padding-top: 4px; }
.bars.stacked { gap: 12px; }
.bars.stacked .bar-row { flex-direction: column; align-items: stretch; gap: 4px; }
.bars.stacked .bar-label { width: auto; white-space: normal; color: var(--ink); line-height: 1.35; }
.results { flex: 1 1 auto; min-width: 0; }
.detail-head { max-width: 980px; }
.detail-title { font-size: 17px; line-height: 1.55; color: var(--ink2); }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--grey-t); color: var(--ink2); font-size: 14px; line-height: 1.45; }
.note svg { flex-shrink: 0; margin-top: 1px; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.45; }
.mini-trial { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.mini-trial b { font-size: 15px; font-weight: 600; line-height: 1.35; }
.mini-trial:hover b { color: var(--green-d); }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.kpi-row .card { padding: 20px 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.green-t { color: var(--green-d); }
.show-mobile { display: none; }
.narrow { max-width: 900px; }
.prose { display: flex; flex-direction: column; gap: 16px; line-height: 1.65; }
.prose h2 { font-size: 24px; margin-top: 12px; }
.prose h3 { margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose .draft { padding: 12px 16px; border-radius: 12px; background: var(--orange-t); color: var(--orange-d); font-size: 14px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--orange-ink); font-weight: 800; font-family: var(--display); }
.auth-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 48px; }
.auth-grid > .card { flex: 1 1 520px; max-width: 600px; }
.auth-side { flex: 1 1 320px; padding-top: 12px; }
.form .check { font-size: 15px; min-height: 0; align-items: flex-start; }
.form .check input { margin-top: 2px; flex-shrink: 0; }
.role-opt .ico { width: 40px; height: 40px; }
.errorlist li { margin: 0; }
.table td .tiny { margin-top: 2px; }
details > summary { list-style-position: inside; }

/* адаптив */
@media (max-width: 1100px) {
  .nav a { padding: 0 8px; font-size: 14px; }
  .site-header .wrap { gap: 12px; }
  .party-row { flex-direction: column; gap: 12px; }
  .link-col { flex-direction: row; flex-basis: auto; }
  .detail-side { position: static; flex: 1 1 100%; }
}
/* шапка: на планшетах (901–1024) меню прячется в «бургер», справа остаются страна и вход */
@media (max-width: 1024px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 28px 16px; }
  .nav a { height: 44px; padding: 0 12px; font-size: 15px; }
  .menu-toggle { display: inline-flex; }
  #menu:checked ~ .nav { display: flex; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .site-header .wrap { gap: 12px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; }
  .menu-toggle { display: inline-flex; }
  #menu:checked ~ .nav { display: flex; }
  .header-right .btn-ghost, .header-right .uname { display: none; }
  .catalog { flex-direction: column; }
  .filters { position: static; flex: 1 1 auto; width: 100%; max-height: none; }
  .facts, .benefits { grid-template-columns: minmax(0, 1fr); }
  .stat-value { font-size: 32px; }
  .bar-label { width: 130px; }
  .site-city { flex-direction: column; gap: 8px; }
  .final { padding: 28px; }
  .hero { padding-top: 32px; gap: 32px; }
  .hide-mobile { display: none !important; }
  .show-mobile { display: block; }
  .nav-auth { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .uname { display: none; }
  .country-form select { padding-right: 26px; width: 118px; }
  .page-head { padding-top: 24px; }
  .filters-toggle { display: inline-flex; }
  .filters { display: none; }
  #ftoggle:checked ~ .catalog .filters { display: flex; }
  .pros-strip, .final { padding: 24px; }
  .auth-grid { padding-top: 24px; gap: 24px; }
  .card-xl { padding: 24px; }
  .searchbar { flex-wrap: wrap; }
  .searchbar .btn { flex: 1 1 auto; }
  .ychart .total { display: none; }
  .ychart-labels span { font-size: 10px; overflow: visible; }
  .ychart-labels span:nth-child(even) { visibility: hidden; }
  .section { margin-top: 64px; }
}

/* ================= личный кабинет ================= */
.cab-band { background: var(--card); border-bottom: 1px solid var(--line); }
.cab-band > .wrap { padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.cab-top { display: flex; flex-wrap: wrap; gap: 24px 28px; align-items: center; justify-content: space-between; }
.cab-who { flex: 1 1 520px; display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.cab-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--green-d); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 800 26px var(--display); flex-shrink: 0; }
.cab-avatar.sq { border-radius: 18px; background: var(--orange-t); color: var(--orange-d); }
.cab-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cab-name h1 { font-size: 28px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.cab-sub { font-size: 15px; color: var(--ink2); line-height: 1.45; }
.roles-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.roles-row .lbl { font-size: 13px; color: var(--muted); margin-right: 2px; }
.role-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font: 600 13px var(--body); cursor: pointer; white-space: nowrap; }
.role-chip:hover { border-color: var(--green); color: var(--ink); }
.role-chip.on { background: var(--green-d); border-color: var(--green-d); color: #fff; cursor: default; }
.role-chip.add { border: 1.5px dashed #A9C4B2; color: var(--green-d); background: transparent; }
.speed { flex: 0 1 480px; min-width: 320px; display: flex; gap: 20px; align-items: center; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, var(--green-t) 0%, #fff 70%); border: 1px solid #CFE6D7; }
.ring { position: relative; flex-shrink: 0; }
.ring svg { display: block; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.ring-label b { font: 800 24px var(--display); letter-spacing: -0.03em; line-height: 1; }
.ring-label span { font-size: 11px; color: var(--muted); font-weight: 500; }
.ring.s .ring-label b { font-size: 18px; }
.speed-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.speed-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.speed-head span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-d); }
.ladder { display: flex; gap: 6px; }
.ladder > div { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ladder i { display: block; height: 6px; border-radius: 3px; background: var(--green-t); }
.ladder .on i { background: var(--green); }
.ladder span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; font-weight: 500; }
.ladder .on span { color: var(--green-d); }
.ladder .cur span { font-weight: 700; }
.ladder.dark i { background: rgba(255,255,255,.18); }
.ladder.dark .on i { background: #4FD488; }
.ladder.dark span { color: #9FC2AE; }
.ladder.dark .on span { color: #fff; }
.speed-text { font-size: 13px; line-height: 1.45; color: var(--ink2); }
.cab-tabs { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; margin-top: 2px; }
.cab-tabs::-webkit-scrollbar { display: none; }
.cab-tabs a { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 3px 2px 0; border-bottom: 3px solid transparent; color: var(--ink2); font-size: 15px; font-weight: 500; white-space: nowrap; }
.cab-tabs a:hover { color: var(--ink); }
.cab-tabs a.on { color: var(--green-d); font-weight: 700; border-bottom-color: var(--green); }
.cnt { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--green-t); color: var(--green-d); font-size: 12px; font-weight: 700; }
.cnt.new { background: var(--orange-t); color: var(--orange-d); }
.cab-body { padding-top: 28px; }
.cab-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cab-main { flex: 1 1 640px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.cab-side { flex: 0 1 380px; display: flex; flex-direction: column; gap: 24px; min-width: 300px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.box.accent { border-color: #F2C9AE; box-shadow: inset 4px 0 0 var(--orange); }
.box.green { background: var(--green-t); border-color: #C6E6D1; }
.box.dark { background: var(--dark); border-color: var(--dark); color: #D5E6DB; }
.box.dark h2, .box.dark h3 { color: #fff; }
.box-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.box-head h2 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
.box-head p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.box h3 { font-size: 17px; }
.gain { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; background: var(--orange-t); color: var(--orange-d); font-size: 12px; font-weight: 700; white-space: nowrap; }
.time { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.todo { list-style: none; margin: 0; padding: 0; }
.todo li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.todo .mark { width: 26px; height: 26px; border-radius: 50%; border: 2px dashed #B9CCBF; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.todo .done .mark { border: 0; background: var(--green); color: #fff; }
.todo .t { font-size: 15px; font-weight: 600; color: var(--ink); }
.todo .done .t { color: var(--muted); text-decoration: line-through; }
.todo .s { font-size: 13px; color: var(--muted); line-height: 1.45; }
.todo .go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border-radius: 9px; background: var(--orange-t); color: var(--orange-d); font-size: 14px; font-weight: 600; white-space: nowrap; }
.todo .go:hover { background: #F8DCC6; }
.todo .wait { margin-left: auto; }
.vis { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.tscroll { overflow-x: auto; }
.ctable { width: 100%; border-collapse: collapse; }
.ctable th { text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.ctable td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 15px; }
.ctable th.r, .ctable td.r { text-align: right; }
.ctable tr.on td { background: var(--green-t); }
.ctable .nm { font-weight: 600; color: var(--ink); line-height: 1.35; }
.ctable .meta2 { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin-top: 3px; }
.big-n { font: 800 18px var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.big-n.g { color: var(--green-d); }
.locked { position: relative; min-height: 120px; }
.locked .ghost { display: flex; align-items: center; gap: 16px; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.locked .ghost i { display: block; height: 12px; border-radius: 6px; background: var(--grey-t); }
.locked .veil { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 12px; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.94)); }
.locked .veil > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid #F2C9AE; box-shadow: 0 10px 28px rgba(15,31,23,.10); max-width: 660px; }
.locked .veil span.txt { flex: 1 1 260px; font-size: 14px; line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipc { position: relative; display: inline-flex; }
.chipc input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chipc span { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.chipc span:hover { border-color: var(--green); }
.chipc input:checked + span { background: var(--green-t); color: var(--green-d); border: 1.5px solid var(--green); }
.chipc input:checked + span::before { content: ""; width: 9px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.chipc input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.chips.s .chipc span { height: 32px; font-size: 13px; padding: 0 12px; }
.segc { display: flex; gap: 4px; padding: 4px; background: var(--grey-t); border-radius: 12px; }
.segc label { flex: 1 1 0; min-width: 0; position: relative; }
.segc input { position: absolute; opacity: 0; }
.segc span { display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink2); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.segc input:checked + span { background: var(--green-d); color: #fff; }
.segc input:focus-visible + span { outline: 2px solid var(--orange); }
.switch { position: relative; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .tr { position: relative; width: 46px; height: 26px; border-radius: 13px; background: #C8D8CE; flex-shrink: 0; transition: background .15s; margin-top: 1px; }
.switch .tr::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15,31,23,.25); transition: left .15s; }
.switch input:checked + .tr { background: var(--green); }
.switch input:checked + .tr::after { left: 22px; }
.switch input:focus-visible + .tr { outline: 2px solid var(--orange); outline-offset: 2px; }
.switch b { display: block; font-size: 15px; font-weight: 600; }
.switch small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.f > .lbl, .f-head { font-size: 14px; font-weight: 600; }
.f-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.inp { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: 500 15px var(--body); color: var(--ink); }
.inp:focus { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-t); outline: none; }
textarea.inp { height: 110px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
select.inp { padding-right: 10px; }
.hint { font-size: 13px; color: var(--muted); line-height: 1.45; }
.err-t { font-size: 14px; color: #A2361C; }
.ac { position: relative; }
.ac-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(15,31,23,.12); display: none; max-height: 340px; overflow-y: auto; }
.ac-list.open { display: block; }
.ac-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.ac-list li.act, .ac-list li:hover { background: var(--green-t); }
.ac-list b { font-size: 14px; font-weight: 600; line-height: 1.35; }
.ac-list small { font-size: 12px; color: var(--muted); }
.ac-picked { display: none; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--green-d); font-weight: 600; }
.ac-picked.on { display: flex; }
.qcard { gap: 16px; }
.qcard .qh { display: flex; align-items: center; gap: 12px; }
.qcard .qh h2 { font-size: 20px; }
.qcard .qh .gain { margin-left: auto; }
.qn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--green); color: var(--green-d); font: 800 15px var(--display); flex-shrink: 0; }
.steps-top { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.steps-top b { color: var(--ink); }
.steps-top .n { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-d); color: #fff; font-size: 12px; font-weight: 700; }
.steps-top i { width: 32px; height: 2px; background: var(--line); }
.steps-top i.on { background: var(--green); }
.welcome { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 40px; }
.welcome-main { flex: 1 1 620px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.welcome-side { flex: 0 1 420px; min-width: 300px; position: sticky; top: 96px; }
.live { background: var(--dark); color: #fff; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 24px 50px rgba(12,31,21,.25); }
.live .eb { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #4FD488; }
.live .eb small { font-size: 12px; letter-spacing: 0; text-transform: none; color: #9FC2AE; font-weight: 500; white-space: nowrap; }
.live .kv { display: flex; align-items: baseline; gap: 14px; }
.live .n { flex: 0 0 84px; font: 800 44px var(--display); letter-spacing: -0.04em; line-height: 1; color: #fff; }
.live .n.g { color: #4FD488; }
.live .t { font-size: 15px; line-height: 1.4; color: #D5E6DB; }
.live ul { margin: 0; padding: 0; list-style: none; }
.live li { display: flex; gap: 12px; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.live li span { color: #BFD3C6; font-size: 14px; white-space: nowrap; }
.live .sb { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 10px; }
.live .sb > span:first-child { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #4FD488; }
.live .sb p { font-size: 13px; line-height: 1.5; color: #D5E6DB; }
.savebar { position: sticky; bottom: 12px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 14px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 -8px 24px rgba(15,31,23,.06); }
.dropzone { flex: 1 1 340px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px; border: 1.5px dashed #A9C4B2; border-radius: 14px; background: var(--bg); }
.dropzone input[type=file] { font: 500 13px var(--body); max-width: 100%; }
.kv-list { list-style: none; margin: 0; padding: 0; }
.kv-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kv-list li:first-child { border-top: 0; }
.feed2 { list-style: none; margin: 0; padding: 0; }
.feed2 li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.feed2 .dt { flex: 0 0 92px; font-size: 13px; color: var(--muted); padding-top: 3px; }
.feed2 .bd { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feed2 .bd > a { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.feed2 .bd > a:hover { color: var(--green-d); }
.feed2 .mt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--ink2); }
.anon { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.anon ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.anon li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.anon li svg { color: var(--green-d); flex-shrink: 0; margin-top: 1px; }
.empty-box { padding: 28px 20px; text-align: center; color: var(--ink2); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.empty-box svg { color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.mini-stats b { display: block; font: 800 30px var(--display); letter-spacing: -0.03em; line-height: 1.05; }
.mini-stats b.g { color: var(--green-d); }
.mini-stats span { display: block; font-size: 13px; color: var(--ink2); line-height: 1.4; margin-top: 4px; }
.proj-row { display: flex; flex-wrap: wrap; gap: 20px; }
.proj-card { flex: 1 1 400px; }
.proj-new { flex: 0 1 270px; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 22px; border-radius: 16px; border: 1.5px dashed #A9C4B2; background: var(--bg); color: var(--ink); }
.proj-new:hover { border-color: var(--green); color: var(--ink); }
.proj-new b { font: 800 20px var(--display); letter-spacing: -0.02em; }
.hero-patient { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 18px; background: var(--green-d); color: #fff; }
.hero-patient .big { font: 800 56px var(--display); letter-spacing: -0.04em; line-height: 1; }
.hero-patient p { color: #D5E6DB; font-size: 14px; line-height: 1.5; }
.hero-patient .place { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #BFE8CF; }
.req-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.tabs-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs-mini a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-size: 14px; font-weight: 600; }
.tabs-mini a.on { background: var(--green-d); border-color: var(--green-d); color: #fff; }
.role-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.role-card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.role-card:hover { border-color: var(--green); }
.role-card b { font-size: 17px; }
.role-card small { font-size: 14px; color: var(--ink2); line-height: 1.45; }
.warn-box { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #F7E9E4; color: #8A3B22; font-size: 14px; line-height: 1.45; }
@media (max-width: 900px) {
  .cab-band > .wrap { padding-top: 20px; }
  .cab-who { flex-basis: 100%; }
  .cab-avatar { width: 56px; height: 56px; font-size: 20px; }
  .cab-name h1 { font-size: 24px; }
  .speed { flex: 1 1 100%; min-width: 0; padding: 14px; gap: 14px; }
  .speed .ring svg { width: 76px; height: 76px; }
  .speed .ring-label b { font-size: 19px; }
  .cab-side { min-width: 0; flex-basis: 100%; }
  .box { padding: 18px; }
  .welcome { padding-top: 24px; gap: 24px; }
  .welcome-side { position: static; min-width: 0; flex-basis: 100%; }
  .live .n { flex-basis: 68px; font-size: 36px; }
  .feed2 li { flex-direction: column; gap: 6px; }
  .feed2 .dt { flex-basis: auto; }
  .segc { flex-wrap: wrap; }
  .segc label { flex: 1 1 30%; }
  .todo .go { padding: 0 10px; }
  .proj-new { flex-basis: 100%; }
  .ctable td, .ctable th { padding: 10px 8px; }
}
.box.finish { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.locked { overflow: hidden; border-radius: 12px; }
.locked .ghost i { flex-shrink: 1; min-width: 0; }
@media (max-width: 900px) {
  .box-head { flex-wrap: wrap; }
  .vis { white-space: normal; }
  .chipc span { white-space: normal; height: auto; min-height: 38px; padding: 7px 14px; line-height: 1.3; }
  .chips.s .chipc span { min-height: 32px; padding: 5px 12px; height: auto; }
  .locked .veil > div { padding: 12px; }
  .cab-tabs { gap: 18px; }
}
.tscroll { position: relative; }
.ladder span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 900px) { .ladder span { font-size: 11px; } }
[hidden] { display: none !important; }

/* ежемесячная инфографика: «новый отчёт» */
@keyframes ra-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 131, 63, 0.55); } 50% { box-shadow: 0 0 0 10px rgba(232, 131, 63, 0); } }
.report-alert { display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin: 0 0 20px; border-radius: 16px; background: linear-gradient(100deg, #FCEBDD 0%, #FFF6EF 60%, #FCEBDD 100%); border: 2px solid var(--orange); color: var(--ink); animation: ra-glow 2s ease-in-out infinite; }
.report-alert:hover { text-decoration: none; filter: brightness(0.99); }
.ra-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--orange); color: #2A1406; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; flex-shrink: 0; animation: ra-glow 2s ease-in-out infinite; }
.ra-badge.s { padding: 2px 8px; font-size: 10.5px; margin-left: 8px; vertical-align: 2px; animation: none; }
.ra-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.ra-text small { color: var(--ink2, #44564C); font-size: 13px; }
.ra-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--green-d); color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 10px; flex-shrink: 0; }
.avatar { position: relative; }
.avatar-dot { position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); border: 2px solid #fff; animation: ra-glow 2s ease-in-out infinite; }
.nav-new { color: var(--orange-d) !important; font-weight: 800; }
.report-hero { display: flex; gap: 20px; align-items: stretch; flex-direction: row; }
.report-hero.is-new { border: 2px solid var(--orange); }
.rh-cover { flex: 0 0 150px; border-radius: 14px; background: radial-gradient(120% 90% at 85% 10%, #138A48 0%, #0E6B38 45%, #0A2F1C 100%); color: #fff; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; }
.rh-cover b { font-size: 54px; line-height: 0.9; font-weight: 800; letter-spacing: -0.04em; }
.rh-cover small { color: #CFEBD9; font-size: 12px; margin-top: 4px; }
.rh-eyebrow, .eyebrow-s { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.rh-eyebrow { color: #4FD488; margin-bottom: auto; }
.report-row { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-top: 1px solid var(--line); color: var(--ink); }
.report-row:first-of-type { border-top: 0; }
.report-row:hover { text-decoration: none; background: var(--green-t); border-radius: 10px; }
.report-row b { font-size: 15px; }
.report-row small { display: block; color: var(--ink2, #44564C); font-size: 13px; margin-top: 2px; }
.report-row.is-new b { color: var(--orange-d); }
.rr-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--green-t); color: var(--green-d); display: grid; place-items: center; flex-shrink: 0; }
.report-row.is-new .rr-ico { background: var(--orange-t); color: var(--orange-d); }
.rr-open { color: var(--green-d); font-weight: 700; font-size: 14px; flex-shrink: 0; }
@media (max-width: 640px) {
  .report-alert { flex-wrap: wrap; gap: 10px; }
  .ra-cta { width: 100%; justify-content: center; }
  .report-hero { flex-direction: column; }
  .rh-cover { flex-basis: auto; min-height: 120px; }
}
@media (prefers-reduced-motion: reduce) { .report-alert, .ra-badge, .avatar-dot { animation: none; } }
.mail-alert { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin: 0 0 18px; border-radius: 14px; background: #FBE4DE; border: 2px solid #C2492B; color: #5A1A0B; }
.mail-alert:hover { text-decoration: none; }
.mail-alert > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }

/* главная: анонс ежемесячной инфографики (компактная карточка над «Пульсом») */
.report-teaser { display: grid; grid-template-columns: 98px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 20px; row-gap: 8px;
  align-items: center; align-content: center; padding: 20px 22px; }
.rt-thumb { grid-row: 1 / 4; position: relative; height: 128px; border-radius: 10px; padding: 11px 10px; color: #fff; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none;
  background: radial-gradient(120% 90% at 85% 10%, #138A48 0%, #0E6B38 45%, #0A2F1C 100%);
  box-shadow: 6px 6px 0 -1px #fff, 6px 6px 0 0 #CFE3D6, 0 12px 22px rgba(15, 31, 23, 0.18); transition: transform .15s; }
.rt-thumb:hover { color: #fff; text-decoration: none; transform: translateY(-2px); }
.rt-e { font-size: 7.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #4FD488; }
.rt-t { font-family: var(--display); font-weight: 800; font-size: 11px; line-height: 1.15; margin-top: 4px; }
.rt-bars { display: flex; gap: 3px; align-items: flex-end; height: 26px; margin-top: auto; opacity: .55; }
.rt-bars i { flex: 1; background: #4FD488; border-radius: 2px 2px 0 0; }
.report-teaser.is-locked .rt-bars { filter: blur(1.2px); }
.rt-lock { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--orange-ink); box-shadow: 0 0 0 4px rgba(232, 131, 63, 0.25); }
.rt-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; }
.rt-name { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.22; letter-spacing: -0.015em; color: var(--ink); }
.report-teaser .rt-go { justify-self: start; height: 40px; padding: 0 16px; font-size: 14px; margin-top: 4px; }
@media (max-width: 560px) {
  .report-teaser { grid-template-columns: 86px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .rt-thumb { grid-row: 1 / 3; height: 112px; padding: 9px 7px; }
  .rt-e { font-size: 6.5px; letter-spacing: .06em; }
  .rt-t { font-size: 9.5px; }
  .rt-name { font-size: 16px; }
  .report-teaser .rt-go { grid-column: 1 / -1; justify-self: stretch; height: 44px; font-size: 15px; margin-top: 8px; }
}
.btn-block { width: 100%; justify-content: center; }
.apply-head { padding: 12px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.apply-head h2 { margin: 0; font-size: 22px; }
.apply-head p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.55; max-width: 720px; }

/* специалисты: группы специализаций */
.spec-groups { display: flex; flex-direction: column; gap: 14px; }
.spec-group { display: flex; flex-direction: column; gap: 8px; }
.spec-g { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* вкладка «Интересы» */
.interests-hero { background: linear-gradient(135deg, var(--green-t) 0%, #fff 70%); }
.interests-hero h2 { margin: 6px 0 0; font-size: 26px; }
.interests-hero p { margin: 8px 0 0; color: var(--ink2); line-height: 1.6; max-width: 720px; }
.int-progress { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; max-width: 420px; }
.int-progress .meter { height: 8px; border-radius: 4px; background: #DDE7E1; overflow: hidden; }
.int-progress .meter i { display: block; height: 100%; background: var(--green); border-radius: 4px; }
.int-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.int-row:first-of-type { border-top: 0; padding-top: 4px; }
.int-q { display: flex; flex-direction: column; gap: 3px; flex: 1 1 300px; min-width: 0; }
.int-q b { font-size: 15px; }
.int-share { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green-d); margin-top: 2px; }
.int-row .segc { flex: 0 0 auto; }
@media (max-width: 640px) { .int-row .segc { width: 100%; } .int-row .segc label { flex: 1 1 0; } }
/* панель: итоги опроса */
.poll-legend { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ink2); margin-bottom: 6px; }
.poll-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.poll-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.poll-q { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.poll-q b { font-size: 14px; }
.poll-bar { display: flex; gap: 2px; height: 24px; border-radius: 6px; overflow: hidden; align-items: stretch; }
.poll-bar i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; min-width: 18px; }
i.py { background: var(--green); } i.pm { background: #8FBFA3; } i.pn { background: #C9D3CD; color: var(--ink) !important; }
.poll-legend i.pn { color: transparent; }
.idea { padding: 10px 0; border-top: 1px solid var(--line); }
.idea:first-of-type { border-top: 0; }
.idea p { margin: 0 0 4px; font-size: 14px; line-height: 1.5; }
@media (max-width: 640px) { .poll-row { grid-template-columns: 1fr; gap: 6px; } }
.int-row .segc label { flex: 1 0 auto; }
.int-row .segc span { padding: 0 14px; }

/* шапка на узких телефонах (≤400px) */
@media (max-width: 400px) {
  .site-header .wrap { gap: 8px; }
  .header-right { gap: 6px; }
  .country-form select { width: 104px; padding-left: 32px; }
}
@media (max-width: 400px) {
  .speed-body .btn { white-space: normal; height: auto; min-height: 36px; padding: 6px 12px; text-align: left; }
}
@media (max-width: 360px) {
  .btn-l { white-space: normal; height: auto; min-height: 52px; padding: 10px 18px; text-align: center; max-width: 100%; }
}
