/* 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: center; 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; }
.party .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; }
  .party-row { flex-direction: column; gap: 12px; }
  .link-col { flex-direction: row; flex-basis: auto; }
  .detail-side { position: static; flex: 1 1 100%; }
}
@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; }
}
