/* Кабинет ОСА — интерфейс по одобренному прототипу (prototype/assets/app.css):
   тёмный сайдбар, золото #DC9C00 на чернильном #17181C, шрифт Lato.
   Классы страниц сохранены — менялась только их одежда. */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

:root {
  --gold: #DC9C00;
  --gold-lt: #F2B62A;
  --gold-wash: #FDF6E6;
  --ink: #17181C;
  --ink-2: #1F2126;
  --page: #F5F6F8;
  --bg: #F5F6F8;
  --line: #E6E8EC;
  --line-soft: #EFF1F4;
  --text: #1B1D22;
  --muted: #6E747F;
  --muted-2: #9AA0AB;
  --dim: #6E747F;
  --red: #B3271B;
  --red-bg: #FBEAE8;
  --green: #147D46;
  --green-bg: #E7F4EC;
  --r: 14px;
  --sh: 0 1px 2px rgba(20,22,28,.05), 0 10px 26px -14px rgba(20,22,28,.16);
  --sh-lift: 0 2px 4px rgba(20,22,28,.06), 0 16px 34px -16px rgba(20,22,28,.24);
  --sb: 268px;
}

* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0; min-height: 100%;
  font-family: 'Lato', -apple-system, 'Segoe UI', sans-serif;
  background: var(--page); color: var(--text);
  font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.22; font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: 26px; margin: 0 0 18px; }
h2 { font-size: 18px; margin: 0 0 12px; }
h3 { font-size: 15.5px; margin: 0 0 8px; }
p { margin: 0 0 .75em; }
p:last-child { margin-bottom: 0; }

.ico { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.ico svg { width: 1em; height: 1em; display: block; }

/* ─── каркас: сайдбар + шапка ─── */
.app { min-height: 100vh; }

.sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; width: var(--sb);
  background: var(--ink); display: flex; flex-direction: column; z-index: 60;
  overflow-y: auto; overflow-x: hidden;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 3px; }

.sb-logo {
  padding: 20px 22px 18px; border-bottom: 1px solid rgba(255,255,255,.09);
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.sb-logo img { height: 34px; width: auto; }
.sb-logo .lk {
  color: rgba(255,255,255,.55); font-size: 10.5px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  border-left: 1px solid rgba(255,255,255,.16); padding-left: 12px; line-height: 1.3;
}
.sb-logo .lk b { display: block; color: #fff; font-size: 12px; letter-spacing: .04em; }

.sb-nav { padding: 14px 12px; flex: 1; }
.sb-nav .grp {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.34); font-weight: 900; padding: 16px 12px 7px;
}
.sb-nav .grp:first-child { padding-top: 4px; }
.sb-nav a {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px;
  border-radius: 9px; color: rgba(255,255,255,.72); font-size: 14px;
  margin-bottom: 2px; position: relative; text-decoration: none;
  transition: background .14s, color .14s;
}
.sb-nav a .ico { font-size: 18px; color: rgba(255,255,255,.45); transition: color .14s; }
.sb-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.sb-nav a:hover .ico { color: rgba(255,255,255,.8); }
.sb-nav a.on { background: rgba(220,156,0,.16); color: #fff; font-weight: 700; }
.sb-nav a.on .ico { color: var(--gold-lt); }
.sb-nav a.on::before {
  content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px;
  width: 3px; background: var(--gold); border-radius: 0 3px 3px 0;
}
.sb-nav .badge {
  margin-left: auto; background: #D9463A; color: #fff; font-size: 11px;
  font-weight: 900; border-radius: 20px; padding: 1px 7px; line-height: 17px;
}

.sb-foot { padding: 14px 24px 20px; border-top: 1px solid rgba(255,255,255,.09); }
.sb-foot .row { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.6); font-size: 13px; margin-bottom: 7px; }
.sb-foot .row .ico { font-size: 14px; color: var(--gold); }
.sb-foot b { color: #fff; }
.sb-logout {
  display: flex; align-items: center; gap: 10px; background: none; border: none;
  color: rgba(255,255,255,.6); font-family: inherit; font-size: 13px; cursor: pointer;
  padding: 0; margin-top: 8px;
}
.sb-logout .ico { font-size: 14px; color: var(--gold); }
.sb-logout:hover { color: #fff; }

.sb-shade { display: none; }

.main { margin-left: var(--sb); min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); height: 62px;
  display: flex; align-items: center; gap: 14px; padding: 0 30px;
}
.topbar .ttl { font-weight: 900; font-size: 15.5px; }
.topbar .spacer { flex: 1; }
.topbar .tb-act {
  position: relative; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; color: var(--muted); font-size: 18px;
  border: 1px solid var(--line); background: #fff; transition: .14s; text-decoration: none;
}
.topbar .tb-act:hover { border-color: var(--ink); color: var(--ink); }
.topbar .tb-act .dot {
  position: absolute; top: -5px; right: -5px; background: #D9463A; color: #fff;
  font-size: 10px; font-weight: 900; border-radius: 10px; padding: 0 5px;
  line-height: 16px; border: 2px solid #fff;
}
.topbar .me {
  display: flex; align-items: center; gap: 11px; padding-left: 14px;
  border-left: 1px solid var(--line); text-decoration: none;
}
.topbar .me .ava {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(140deg, var(--gold-lt), var(--gold));
  color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 14px;
}
.topbar .me b { font-size: 14px; display: block; line-height: 1.25; }
.topbar .me small { color: var(--muted); font-size: 12px; }
.topbar .me .right { text-align: right; }
.burger {
  display: none; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font-size: 17px;
  cursor: pointer; color: var(--ink);
}

.content { flex: 1; padding: 26px 30px 80px; width: 100%; max-width: 1180px; }

/* ─── страницы без входа: вход, регистрация, публичный отчёт ─── */
main.auth { max-width: 460px; margin: 6vh auto 40px; padding: 0 20px 40px; }
main.auth.wide { max-width: 900px; margin-top: 24px; }
.auth-brand {
  background: var(--ink); border-radius: var(--r); padding: 18px 22px;
  display: flex; justify-content: center; margin-bottom: 18px; box-shadow: var(--sh);
}
.auth-brand img { height: 44px; }

/* ─── карточки ─── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; box-shadow: var(--sh);
}
.cards .card { margin-bottom: 0; }
.errorcard { max-width: 560px; }
.authcard {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 30px; box-shadow: var(--sh);
}
.authbrand { display: flex; align-items: center; gap: 10px; font-weight: 900; margin-bottom: 16px; }

/* ─── формы ─── */
label { display: block; margin: 0 0 14px; font-weight: 700; font-size: 12.5px; color: #3A3E46; }
input[type=text], input[type=tel], input[type=password], input[type=file],
input:not([type]), select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 13px;
  border: 1px solid var(--line); border-radius: 10px; font-family: inherit;
  font-size: 14.5px; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(220,156,0,.18); border-color: var(--gold);
}
label.check, label.chk { display: flex; gap: 9px; font-weight: 400; align-items: flex-start; font-size: 13.5px; }
label.check input, label.chk input { width: auto; margin-top: 3px; accent-color: var(--gold); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 14px; }
.checks .check { margin-bottom: 6px; }
.filters { display: flex; gap: 10px; margin-bottom: 16px; align-items: center; flex-wrap: wrap; }
.filters input, .filters select { width: auto; margin-top: 0; }
.oprow { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 6px; }
.oprow label { flex: 1; margin-bottom: 8px; }
.oprow.tight { margin-bottom: 0; align-items: center; }
.oprow.tight input[name=value], .short { width: 90px; }
.inline { display: inline; }

/* ─── кнопки ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: #fff; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 10px; text-decoration: none;
  transition: .15s; white-space: nowrap;
}
.btn:hover { background: var(--ink); }
.btn.wide, .btn.block { width: 100%; }
.btn.ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn.danger { background: var(--red); }
.btn.danger:hover { background: var(--ink); }
.btn.sm { padding: 7px 13px; font-size: 13px; border-radius: 9px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.linkbtn {
  background: none; border: none; color: inherit; font-family: inherit; font-size: 13px;
  cursor: pointer; text-decoration: underline; padding: 2px 4px;
}
.linkbtn.dim { color: var(--dim); }
.linkbtn:hover { color: var(--gold); }

/* ─── заметки, подсказки ─── */
.err {
  background: var(--red-bg); border: 1px solid #F3D2CE; color: var(--red);
  border-radius: 11px; padding: 12px 16px; margin-bottom: 14px; font-size: 14px;
}
.ok-note h2 { color: var(--green); }
.alt { font-size: 14px; color: var(--muted); }
.hint { font-size: 12.5px; color: var(--muted); }
.dim { color: var(--muted); font-size: 13px; }
.nowrap { white-space: nowrap; }
.crumbs { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.crumbs a { color: var(--muted-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.mt { margin-top: 22px; }

/* ─── таблицы ─── */
.tbl {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: var(--sh); font-size: 14px;
}
.tbl th {
  text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted-2); font-weight: 900; padding: 11px 16px;
  border-bottom: 1px solid var(--line); background: #FAFBFC;
}
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover td, .tbl tr:hover td { background: #FCFBF7; }
.tbl .msg { max-width: 360px; }

.kv { border-collapse: collapse; width: 100%; }
.kv td { padding: 6px 0; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.kv tr:last-child td { border-bottom: none; }
.kv td:first-child { color: var(--muted); width: 42%; padding-right: 12px; font-size: 13.5px; }

/* ─── бейджи ─── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #EEF0F3; color: #61666F;
  border-radius: 20px; padding: 2px 10px; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 6px; }
.tag.red { background: var(--red-bg); color: var(--red); }
.tag.green { background: var(--green-bg); color: var(--green); }

/* ─── вкладки ─── */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs a {
  padding: 9px 15px; font-size: 14px; font-weight: 700; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none;
}
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--text); border-bottom-color: var(--gold); }

/* ─── тост, диалоги, плавающие кнопки ─── */
.toast {
  position: fixed; top: 74px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px;
  font-size: 14px; z-index: 90; box-shadow: 0 6px 24px rgba(0,0,0,.25);
  max-width: calc(100vw - 32px);
}
.problem-open {
  position: fixed; right: 18px; bottom: 18px; z-index: 55;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-family: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; box-shadow: var(--sh-lift); color: var(--ink);
}
.problem-open .ico { font-size: 15px; color: var(--gold); }
.problem-open:hover { border-color: var(--gold); color: var(--gold); }
.helpfab {
  position: fixed; left: 16px; bottom: 16px; width: 42px; height: 42px;
  border-radius: 50%; background: var(--gold); color: #fff; font-weight: 900;
  font-size: 20px; display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: var(--sh-lift); z-index: 55;
}
.helpfab:hover { background: var(--ink); }

dialog {
  border: none; border-radius: 14px; padding: 22px 24px; max-width: 480px;
  width: calc(100% - 40px); box-shadow: 0 12px 48px rgba(0,0,0,.3);
}
dialog::backdrop { background: rgba(23,24,28,.45); }
.dlg-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.consent-body { font-size: 14px; line-height: 1.5; max-height: 50vh; overflow-y: auto; }

/* ─── профиль, анкета, тест ─── */
.photo-row { display: flex; gap: 16px; align-items: flex-start; }
.avatar {
  width: 96px; height: 96px; border-radius: 14px; object-fit: cover;
  border: 1px solid var(--line); flex: 0 0 96px;
}
.avatar.empty {
  display: grid; place-items: center; background: var(--gold-wash);
  color: var(--muted); font-size: 12px;
}
.qcard { margin-bottom: 14px; }
.qcard .qn {
  font-size: 10.5px; color: var(--gold); text-transform: uppercase;
  letter-spacing: .11em; font-weight: 900; margin-bottom: 4px;
}
.opt {
  display: flex; gap: 11px; align-items: flex-start; font-weight: 400;
  padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px;
  margin: 0 0 8px; cursor: pointer; font-size: 14px; transition: .12s;
}
.opt:hover { border-color: var(--gold); background: var(--gold-wash); }
.opt input { width: auto; margin-top: 3px; accent-color: var(--gold); }
.steps ol { margin: 0 0 14px; padding-left: 20px; }
.steps li { margin-bottom: 6px; }
.steps-state { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.steps-actions form { display: inline; }

/* ─── документы, коды ─── */
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.doc-actions form { display: inline; }
.reset-code {
  font-family: Consolas, monospace; font-size: 30px; font-weight: 700;
  letter-spacing: 6px; background: var(--gold-wash); border: 1px dashed var(--gold);
  border-radius: 10px; padding: 14px 18px; text-align: center; user-select: all;
}
details { margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 700; margin-bottom: 10px; }
code {
  background: var(--gold-wash); border-radius: 5px; padding: 1px 6px;
  font-family: Consolas, monospace; font-size: 13px;
}

/* ─── отчёт диагностики ─── */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seccard { margin-bottom: 14px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin: 10px 0; }
.shot { position: relative; }
.shot img {
  width: 100%; height: 110px; object-fit: cover; border-radius: 9px;
  border: 1px solid var(--line); display: block;
}
.shot video { width: 100%; border-radius: 9px; border: 1px solid var(--line); }
.shot-video {
  display: grid; place-items: center; height: 110px; border-radius: 9px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 13px;
}
.shot-del {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  border: none; border-radius: 999px; background: rgba(23,24,28,.75); color: #fff;
  cursor: pointer; font-size: 13px; line-height: 1;
}
.shot-del:hover { background: var(--red); }
.sec-actions { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.filebtn { position: relative; overflow: hidden; display: inline-block; }
.skipbox { flex: 1; min-width: 240px; margin-bottom: 0; }
.skipbox summary { font-size: 13px; color: var(--muted); font-weight: 700; }
.prewrap { white-space: pre-wrap; font-size: 14px; line-height: 1.55; }
.pub-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  background: var(--ink); color: #fff; padding: 14px 18px; border-radius: var(--r);
}
#public-url { margin-bottom: 8px; }

/* ─── мессенджер ─── */
.msgwrap { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; align-items: start; }
.msgcol { min-width: 0; }
.msgside {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; box-shadow: var(--sh);
}
.msgside .kv td:first-child { width: 60%; color: var(--text); font-size: 14px; }
.msglist {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; max-height: 56vh; overflow-y: auto; margin-bottom: 10px;
  box-shadow: var(--sh);
}
.msg { max-width: 78%; background: #F3F4F6; border-radius: 12px; padding: 9px 13px; margin: 7px 0; }
.msg.mine { margin-left: auto; background: var(--gold-wash); }
.msghead { font-size: 12px; color: var(--muted); margin-bottom: 2px; font-weight: 700; }
.msgbody { white-space: pre-wrap; word-break: break-word; font-size: 14.5px; }
.msgform { display: flex; gap: 10px; align-items: flex-end; }
.msgform textarea { flex: 1; margin-top: 0; }
.chk { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.msgquote {
  border-left: 3px solid var(--gold); background: rgba(220,156,0,.07);
  border-radius: 6px; padding: 4px 10px; margin: 4px 0; font-size: 13px; color: var(--muted);
}
.msgops { margin-top: 3px; font-size: 12px; display: flex; gap: 10px; align-items: baseline; }
.msgops summary { list-style: none; cursor: pointer; }
.conv-unread { margin-left: 6px; background: #D9463A; color: #fff; }
.conv-unread::before { display: none; }

/* ─── справка ─── */
.helpdoc { max-width: 780px; }
.helpdoc h1 { margin-bottom: 10px; }
.helpdoc h2 { color: var(--gold); margin: 28px 0 8px; }
.helpdoc ul { padding-left: 22px; margin: 8px 0; }
.helpdoc li { margin: 6px 0; }
.helpdoc .help-here { scroll-margin-top: 20px; }
.helpdoc .help-here::after { content: ' ◄'; color: var(--gold); }

/* ─── адаптив ─── */
@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .sidebar { transform: translateX(-100%); transition: transform .22s; box-shadow: 0 0 60px rgba(0,0,0,.35); }
  .sidebar.open { transform: none; }
  .sb-shade.on {
    display: block; position: fixed; inset: 0; z-index: 59;
    background: rgba(23,24,28,.4);
  }
  .main { margin-left: 0; }
  .topbar { padding: 0 14px; gap: 10px; }
  .topbar .me .right { display: none; }
  .content { padding: 18px 14px 76px; }
  h1 { font-size: 22px; }
  .grid2 { grid-template-columns: 1fr; }
  .msgwrap { grid-template-columns: 1fr; }
  .msg { max-width: 92%; }
  .tbl { display: block; overflow-x: auto; white-space: nowrap; border-radius: 12px; }
  .tbl td, .tbl th { white-space: normal; min-width: 90px; }
  .problem-open span { display: none; }
  .problem-open { width: 44px; height: 44px; border-radius: 50%; padding: 0; justify-content: center; }
  .problem-open .ico { font-size: 18px; }
  .photo-row { flex-wrap: wrap; }
  main.auth { margin-top: 3vh; }
}

/* --- панель (главная): компоненты прототипа --- */
.member-card {
  background: linear-gradient(118deg, #17181C 0%, #24231C 58%, #2E2A18 100%);
  color: #fff; border-radius: var(--r); padding: 24px 26px;
  position: relative; overflow: hidden; box-shadow: var(--sh);
}
.member-card::after {
  content: ''; position: absolute; right: -50px; top: -70px; width: 240px; height: 240px;
  border: 14px solid rgba(220,156,0,.13); border-radius: 50%;
}
.member-card::before {
  content: ''; position: absolute; right: 60px; bottom: -90px; width: 150px; height: 150px;
  border: 10px solid rgba(220,156,0,.07); border-radius: 50%;
}
.member-card .row { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }
.member-card .k {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .11em;
  color: rgba(255,255,255,.45); font-weight: 900; margin-bottom: 3px;
}
.member-card .v { font-size: 17px; font-weight: 900; }
.member-card .v.gold { color: var(--gold-lt); display: flex; align-items: center; gap: 7px; }
.member-card .v.gold .ico { font-size: 17px; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px; display: block; transition: .17s; box-shadow: var(--sh); text-decoration: none;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); border-color: #DAD9D2; }
.tile .tico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--gold-wash);
  color: var(--gold); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
}
.tile:hover .tico { background: var(--gold); color: #fff; }
.tile b { display: block; font-size: 15px; margin-bottom: 3px; }
.tile small { color: var(--muted); font-size: 13px; line-height: 1.45; display: block; }

.grid { display: grid; gap: 18px; }
.g-2-1 { grid-template-columns: minmax(0,2.1fr) minmax(300px,1fr); align-items: start; }
.card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-h h2 { margin: 0; }
.card-h .more { margin-left: auto; font-size: 13px; color: var(--gold); font-weight: 700; white-space: nowrap; text-decoration: none; }
.card-h .more:hover { text-decoration: underline; }

.feed { margin: 0; padding: 0; }
.feed li { list-style: none; display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); align-items: flex-start; }
.feed li:last-child { border-bottom: 0; padding-bottom: 0; }
.feed li:first-child { padding-top: 0; }
.feed .fi {
  width: 34px; height: 34px; border-radius: 10px; background: var(--gold-wash); color: var(--gold);
  display: grid; place-items: center; font-size: 16px; flex: 0 0 34px;
}
.feed b { font-size: 14px; display: block; line-height: 1.4; font-weight: 700; }
.feed a { text-decoration: none; }
.feed a:hover b { color: var(--gold); }
.feed small { color: var(--muted); font-size: 12.5px; display: block; }

.kpis { display: grid; gap: 14px; }
.kpi-card { display: flex; align-items: center; gap: 16px; }
.kpi-card .kico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--gold-wash);
  color: var(--gold); display: grid; place-items: center; font-size: 21px; flex: 0 0 46px;
}
.kpi .n { font-size: 28px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.kpi .n.gold { color: var(--gold); }
.kpi .n .of { font-size: 14px; color: var(--muted); font-weight: 700; margin-left: 6px; }
.kpi .l { font-size: 12.5px; color: var(--muted); }

@media (max-width: 1280px) { .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 1100px) { .g-2-1 { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .tiles { grid-template-columns: 1fr; }
  .member-card .row { gap: 18px; }
}
