:root {
  --ink: #152238;
  --muted: #687181;
  --paper: #f3f0e8;
  --surface: #fffdf8;
  --line: #d7d5cd;
  --blue: #2457ff;
  --orange: #ff5c35;
  --lime: #d9ff5b;
  --shadow: 0 18px 45px rgba(21, 34, 56, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }

.shell { width: 100%; max-width: 100vw; min-height: 100vh; display: grid; grid-template-columns: 280px minmax(0, 1fr); }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 34px 28px 28px;
  display: flex; flex-direction: column; color: #fff; overflow: hidden;
  background: var(--ink);
}
.sidebar::after {
  content: ""; position: absolute; width: 270px; height: 270px; left: -120px; bottom: 84px;
  border: 54px solid rgba(217, 255, 91, .08); border-radius: 50%; pointer-events: none;
}
.brand { display: flex; gap: 14px; align-items: center; color: inherit; text-decoration: none; font-family: "Unbounded", sans-serif; font-size: 18px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; color: var(--ink); background: var(--lime); transform: rotate(-4deg); }
.brand small { display: block; margin-top: 5px; max-width: 150px; color: #9da7b7; font: 500 9px/1.35 "Manrope", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.nav { display: grid; gap: 5px; margin-top: 68px; }
.nav-item { width: 100%; padding: 13px 12px; display: flex; gap: 17px; border: 0; border-radius: 2px; color: #aeb7c5; background: transparent; text-align: left; cursor: pointer; transition: .2s ease; }
.nav-item span { font-size: 10px; opacity: .55; }
.nav-item:hover, .nav-item.is-active { color: #fff; background: rgba(255,255,255,.085); transform: translateX(3px); }
.nav-item.is-active { box-shadow: inset 3px 0 var(--lime); }
.source-state { display: flex; gap: 11px; margin-top: auto; padding: 15px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); }
.source-state p { margin: 0; font-size: 12px; line-height: 1.45; }
.source-state span { display: block; color: #9da7b7; }
.pulse { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(217,255,91,.12); }
.sidebar-note { margin: 16px 0 0; color: #7f8b9d; font-size: 10px; line-height: 1.5; }

main { min-width: 0; }
.topbar { height: 86px; padding: 19px clamp(24px, 5vw, 72px); display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); background: rgba(243,240,232,.86); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 10; }
.search-wrap { max-width: 760px; flex: 1; height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 4px 20px rgba(21,34,56,.04); }
.search-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,87,255,.1); }
.search-wrap svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-wrap input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
kbd { padding: 4px 7px; color: var(--muted); border: 1px solid var(--line); background: #f4f2ec; font-size: 11px; }
.icon-button { width: 48px; height: 48px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.view { min-width: 0; max-width: 100%; padding: 52px clamp(24px, 5vw, 72px) 80px; overflow-x: clip; }
.loading { padding: 60px 0; color: var(--muted); }

.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero { position: relative; min-height: 300px; padding: 42px clamp(28px, 5vw, 64px); overflow: hidden; color: #fff; background: var(--ink); }
.hero::before { content: "ERID"; position: absolute; right: -26px; bottom: -42px; color: rgba(255,255,255,.04); font: 600 clamp(90px, 14vw, 190px)/1 "Unbounded", sans-serif; letter-spacing: -.07em; }
.hero::after { content: ""; position: absolute; right: 8%; top: 28px; width: 88px; height: 88px; border: 20px solid var(--orange); transform: rotate(13deg); opacity: .9; }
.hero h1 { position: relative; z-index: 1; max-width: 760px; margin: 0; font: 600 clamp(34px, 5vw, 66px)/1.06 "Unbounded", sans-serif; letter-spacing: -.04em; }
.hero p { position: relative; z-index: 1; max-width: 620px; margin: 25px 0 0; color: #b8c1cf; font-size: 16px; line-height: 1.65; }
.hero .accent { color: var(--lime); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-top: 0; background: var(--surface); }
.stat { padding: 24px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; font: 600 29px/1 "Unbounded", sans-serif; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.snapshot-banner { width: 100%; margin-top: 16px; padding: 19px 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; border: 0; color: #fff; background: var(--blue); text-align: left; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.snapshot-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.snapshot-date { padding: 8px 11px; color: var(--ink); background: var(--lime); font-size: 11px; font-weight: 700; }
.snapshot-banner small { display: block; margin-bottom: 4px; color: #c7d3ff; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.snapshot-banner strong { font-size: 13px; }
.snapshot-arrow { font-size: 11px; font-weight: 700; }
.section-head { margin: 55px 0 22px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-head h2, .page-head h1 { margin: 0; font: 600 clamp(26px, 3vw, 38px)/1.15 "Unbounded", sans-serif; letter-spacing: -.035em; }
.section-head p, .page-head p { max-width: 580px; margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.text-button { border: 0; border-bottom: 1px solid currentColor; padding: 0 0 4px; background: transparent; color: var(--blue); cursor: pointer; }

.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic-card { position: relative; min-height: 172px; padding: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.topic-card::after { content: attr(data-index); position: absolute; right: -6px; bottom: -17px; color: rgba(21,34,56,.055); font: 600 72px/1 "Unbounded", sans-serif; }
.topic-card .topic-icon { width: 36px; height: 5px; margin-bottom: 28px; background: var(--blue); }
.topic-card:nth-child(2n) .topic-icon { background: var(--orange); }
.topic-card:nth-child(3n) .topic-icon { background: #abc924; }
.topic-card h3 { margin: 0 0 8px; font-size: 15px; }
.topic-card p { margin: 0; color: var(--muted); font-size: 12px; }

.message-grid { width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.message-card { min-width: 0; min-height: 250px; padding: 24px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .2s, box-shadow .2s, border-color .2s; }
.message-card:hover { transform: translateY(-3px); border-color: #adb2bb; box-shadow: var(--shadow); }
.message-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; }
.topic-tag { padding: 5px 7px; color: var(--blue); background: rgba(36,87,255,.08); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.message-card h3 { min-width: 0; margin: 22px 0 10px; overflow-wrap: anywhere; font-size: 16px; line-height: 1.35; }
.message-card > p { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--muted); font-size: 13px; line-height: 1.6; }
.card-foot { min-width: 0; margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.read-time { color: #9198a3; font-size: 10px; }
.card-foot button { padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 11px; font-weight: 700; cursor: pointer; }
.official-card { color: inherit; text-decoration: none; border-top: 4px solid var(--orange); }
.official-card:hover { border-color: var(--orange); }
.official-tag { color: #a52b0d; background: rgba(255,92,53,.12); }
.official-open { color: var(--ink); font-size: 11px; font-weight: 700; white-space: nowrap; }
.feed-label { margin: 30px 0 15px; padding-top: 18px; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }
.feed-label span { font: 600 14px "Unbounded", sans-serif; }
.feed-label small { color: var(--muted); font-size: 10px; }

.page-head { margin-bottom: 28px; }
.toolbar { margin-bottom: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 9px 13px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 11px; cursor: pointer; }
.chip:hover, .chip.is-active { color: #fff; border-color: var(--ink); background: var(--ink); }
.result-summary { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.empty { padding: 70px 20px; border: 1px dashed var(--line); text-align: center; color: var(--muted); background: rgba(255,255,255,.3); }

.source-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; }
.panel { padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.panel h2 { margin: 0 0 12px; font-size: 19px; }
.panel > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.source-row, .document-row { padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.source-row strong, .document-row strong { display: block; font-size: 13px; }
.source-row span, .document-row span { color: var(--muted); font-size: 10px; }
.status-pill { padding: 5px 8px; background: #e7f5bf; color: #486000 !important; }
.document-row a { color: var(--blue); text-decoration: none; font-size: 11px; }
.roadmap { counter-reset: roadmap; margin: 20px 0 0; padding: 0; list-style: none; }
.roadmap li { counter-increment: roadmap; position: relative; padding: 0 0 22px 40px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.roadmap li::before { content: counter(roadmap); position: absolute; left: 0; top: -2px; width: 24px; height: 24px; display: grid; place-items: center; color: #fff; background: var(--blue); font-size: 10px; font-weight: 700; }

.monthly-head { max-width: 850px; }
.archive-browser { padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.archive-browser-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; padding-bottom: 26px; }
.archive-browser-head h2 { margin: 0; font: 600 clamp(22px, 3vw, 32px)/1.2 "Unbounded", sans-serif; letter-spacing: -.035em; }
.archive-browser-head > p { max-width: 540px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.archive-year { min-width: 0; padding: 20px 0; display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 20px; border-top: 1px solid var(--line); }
.archive-year-label strong { display: block; font: 600 21px "Unbounded", sans-serif; }
.archive-year-label span { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; }
.archive-months { min-width: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.archive-months button { min-width: 0; min-height: 90px; padding: 11px; display: flex; flex-direction: column; align-items: start; border: 1px solid var(--line); background: var(--paper); text-align: left; cursor: pointer; transition: .18s; }
.archive-months button:hover { color: #fff; border-color: var(--blue); background: var(--blue); transform: translateY(-2px); }
.archive-months button.is-active { color: var(--ink); border-color: var(--blue); box-shadow: inset 0 -4px 0 var(--blue); background: color-mix(in srgb, var(--blue) 7%, var(--surface)); }
.archive-months button > span { max-width: 100%; overflow: hidden; font-size: 9px; text-overflow: ellipsis; }
.archive-months button strong { margin-top: 8px; font: 600 19px/1 "Unbounded", sans-serif; }
.archive-months button small { width: 100%; margin-top: auto; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.archive-months button:hover small { color: #cbd6ff; }
.archive-months button.is-active small { color: var(--blue); }
.monthly-cover { min-height: 310px; padding: clamp(28px, 5vw, 58px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; color: #fff; background: var(--ink); overflow: hidden; position: relative; }
.archive-intelligence-cover { min-height: 260px; background: linear-gradient(125deg, var(--ink), #243551); }
.monthly-cover::after { content: "Срез"; position: absolute; left: 42%; bottom: -38px; color: rgba(255,255,255,.035); font: 600 130px/1 "Unbounded", sans-serif; text-transform: uppercase; }
.monthly-status { display: inline-block; padding: 7px 9px; color: var(--ink); background: var(--lime); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.monthly-cover p { margin: 24px 0 10px; color: #aeb8c7; font-size: 12px; }
.monthly-cover h2 { max-width: 780px; margin: 0; position: relative; z-index: 1; font: 600 clamp(27px, 4vw, 48px)/1.14 "Unbounded", sans-serif; letter-spacing: -.04em; }
.month-stamp { width: 120px; height: 140px; display: grid; align-content: center; justify-items: center; border: 14px solid var(--orange); transform: rotate(5deg); }
.month-stamp strong { font: 600 47px/1 "Unbounded", sans-serif; }
.month-stamp span { margin-top: 7px; font-size: 12px; letter-spacing: .15em; }
.monthly-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-top: 0; }
.monthly-metrics div { padding: 21px; border-right: 1px solid var(--line); }
.monthly-metrics div:last-child { border: 0; }
.monthly-metrics strong { display: block; font: 600 24px/1 "Unbounded", sans-serif; }
.monthly-metrics span { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.monthly-summary { margin-top: 18px; padding: 34px clamp(25px, 5vw, 50px); border-left: 6px solid var(--blue); background: var(--surface); }
.monthly-summary > p:last-child { max-width: 970px; margin: 0; font-size: 17px; line-height: 1.75; }
.archive-source-action { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 22px 26px; border: 1px solid var(--line); background: var(--surface); }
.archive-source-action button { padding: 13px 17px; border: 0; color: #fff; background: var(--blue); font-weight: 700; cursor: pointer; }
.archive-source-action button:hover { filter: brightness(.92); }
.archive-source-action p { margin: 0; color: var(--muted); font-size: 11px; }
.model-analysis { margin-top: 18px; padding: clamp(26px, 5vw, 52px); border: 1px solid var(--line); background: var(--surface); }
.model-analysis-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.model-analysis-head h2 { margin: 12px 0 0; font: 600 clamp(26px, 3vw, 38px)/1.15 "Unbounded", sans-serif; letter-spacing: -.035em; }
.model-analysis-head > p { margin: 0; color: var(--muted); font-size: 10px; }
.model-badge { display: inline-block; padding: 7px 9px; color: var(--ink); background: var(--lime); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.model-judgement { margin-top: 24px; padding: 28px 30px; color: #fff; background: var(--ink); }
.model-judgement span, .model-shift span, .not-conclusions > span, .management-decision > span { color: var(--lime); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.model-judgement p { max-width: 1050px; margin: 12px 0 0; font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.model-shift { padding: 24px 28px; border: 1px solid var(--line); border-top: 0; }
.model-shift span { color: var(--blue); }
.model-shift p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.section-head.compact { margin-top: 38px; margin-bottom: 16px; }
.model-conclusions { display: grid; gap: 9px; }
.model-conclusions article { min-width: 0; padding: 26px 28px; display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 20px; border: 1px solid var(--line); background: var(--paper); }
.conclusion-number { color: var(--blue); font: 600 15px "Unbounded", sans-serif; }
.conclusion-verdict { color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.model-conclusions h3 { margin: 7px 0 9px; font-size: 16px; }
.model-conclusions p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.business-impact { margin-top: 15px; padding: 12px 14px; border-left: 3px solid var(--blue); background: var(--surface); font-size: 11px; line-height: 1.55; }
.business-impact strong { margin-right: 8px; color: var(--blue); font-size: 9px; text-transform: uppercase; }
.conclusion-foot { margin-top: 15px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 9px; }
.conclusion-foot div { display: flex; gap: 10px; flex-wrap: wrap; }
.conclusion-foot a { color: var(--blue); text-decoration: none; }
.model-evidence-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.not-conclusions, .management-decision { padding: 25px 27px; border: 1px solid var(--line); }
.not-conclusions > span { color: var(--orange); }
.not-conclusions ul { margin: 14px 0 0; padding-left: 18px; }
.not-conclusions li { margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.management-decision { color: #fff; background: var(--blue); border-color: var(--blue); }
.management-decision p { margin: 14px 0 0; font-size: 13px; line-height: 1.65; }
.risk-table { border: 1px solid var(--line); }
.risk-table > div { padding: 13px 17px; display: grid; grid-template-columns: minmax(0, 1fr) 120px 100px; gap: 15px; border-bottom: 1px solid var(--line); align-items: center; }
.risk-table > div:last-child { border-bottom: 0; }
.risk-table strong { font-size: 11px; }
.risk-table span { color: var(--muted); font-size: 10px; }
.risk-table .risk-table-head { background: var(--paper); }
.risk-table-head span { font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.confidence-note { margin: 17px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.signal-list { display: grid; gap: 10px; }
.signal-card { min-width: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; padding: 25px 28px; border: 1px solid var(--line); background: var(--surface); }
.signal-card.high { border-left: 6px solid var(--orange); }
.signal-card.medium { border-left: 6px solid var(--blue); }
.signal-card.watch { border-left: 6px solid #abc924; }
.signal-level { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.signal-card h3 { margin: 0 0 8px; font-size: 16px; }
.signal-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.signal-sources { margin-top: 13px; display: flex; gap: 13px; flex-wrap: wrap; }
.signal-sources a, .precedent-row a, .methodology a { color: var(--blue); font-size: 10px; text-decoration: none; }
.section-count { color: var(--muted); font-size: 11px; }
.precedent-table { border: 1px solid var(--line); background: var(--surface); }
.precedent-row { min-width: 0; padding: 17px 20px; display: grid; grid-template-columns: 65px 220px minmax(0, 1fr) auto; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); }
.precedent-row:last-child { border: 0; }
.precedent-row time { color: var(--orange); font-size: 11px; font-weight: 700; }
.precedent-row strong { font-size: 12px; }
.precedent-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.action-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; counter-reset: action; list-style: none; }
.action-list li { min-height: 100px; padding: 22px 22px 22px 66px; position: relative; border: 1px solid var(--line); background: var(--surface); font-size: 12px; line-height: 1.6; }
.action-list li::before { counter-increment: action; content: counter(action); position: absolute; left: 21px; top: 20px; width: 27px; height: 27px; display: grid; place-items: center; color: var(--ink); background: var(--lime); font-size: 10px; font-weight: 700; }
.methodology { margin-top: 45px; padding: 25px 28px; border: 1px dashed var(--line); }
.methodology strong { font-size: 12px; }
.methodology p { color: var(--muted); font-size: 11px; line-height: 1.6; }

dialog { width: min(760px, calc(100% - 32px)); max-height: 88vh; padding: 0; border: 0; color: var(--ink); background: var(--surface); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(10,18,30,.62); backdrop-filter: blur(4px); }
.dialog-close { position: sticky; float: right; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; border: 0; background: var(--ink); color: #fff; font-size: 25px; cursor: pointer; }
.dialog-body { padding: 48px clamp(25px, 6vw, 62px) 58px; }
.dialog-body h2 { max-width: 650px; margin: 22px 45px 30px 0; overflow-wrap: anywhere; font: 600 clamp(22px, 3vw, 32px)/1.25 "Unbounded", sans-serif; letter-spacing: -.035em; }
.dialog-summary { margin: 0 0 28px; padding: 18px 20px; border: 1px solid #cbd3ea; background: rgba(36,87,255,.055); }
.dialog-summary span { color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dialog-summary p { margin: 8px 0 0; font-size: 13px; line-height: 1.65; }
.article-divider { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.dialog-text { font-size: 15px; line-height: 1.75; }
.dialog-text p { margin: 0 0 19px; }
.dialog-text br { content: ""; display: block; margin-top: 7px; }
.dialog-text ol, .dialog-text ul { margin: 8px 0 23px; padding-left: 25px; }
.dialog-text li { margin: 8px 0; padding-left: 5px; }
.article-lead { padding: 13px 16px; border-left: 3px solid var(--blue); background: rgba(36,87,255,.055); font-weight: 600; }
.article-tags { margin-top: 28px; display: flex; gap: 7px; flex-wrap: wrap; }
.article-tags span { padding: 6px 8px; color: var(--blue); background: rgba(36,87,255,.08); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.dialog-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.primary-link, .secondary-link { display: inline-flex; padding: 12px 15px; text-decoration: none; font-size: 12px; font-weight: 700; }
.primary-link { color: #fff; background: var(--blue); }
.secondary-link { color: var(--ink); border: 1px solid var(--line); }
.external-links { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.external-links a { display: block; margin-top: 8px; color: var(--blue); font-size: 12px; word-break: break-all; }

body.dark { --ink: #ecf0f6; --muted: #a2abb8; --paper: #111821; --surface: #18212d; --line: #344050; --shadow: 0 18px 45px rgba(0,0,0,.25); }
body.dark .sidebar { color: #fff; background: #080d14; }
body.dark .brand-mark { color: #152238; }
body.dark .hero { background: #070d15; }
body.dark .topbar { background: rgba(17,24,33,.88); }
body.dark kbd { background: #111821; }
body.dark .topic-card::after { color: rgba(255,255,255,.05); }
body.dark .dialog-close { color: #fff; background: #080d14; }
body.dark .card-foot button, body.dark .secondary-link { color: var(--ink); }

@media (max-width: 1100px) {
  .shell { grid-template-columns: 220px minmax(0, 1fr); }
  .sidebar { padding-inline: 20px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .message-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .monthly-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .precedent-row { grid-template-columns: 60px 180px minmax(0, 1fr) auto; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; padding: 18px 20px; display: block; }
  .brand small, .source-state, .sidebar-note { display: none; }
  .nav { margin-top: 18px; display: flex; overflow-x: auto; }
  .nav-item { width: auto; white-space: nowrap; }
  .topbar { top: 0; height: 72px; padding: 12px 18px; }
  .search-wrap kbd { display: none; }
  .view { padding: 28px 18px 55px; }
  .hero { min-height: 360px; padding: 35px 26px; }
  .hero::after { right: 22px; top: auto; bottom: 34px; width: 58px; height: 58px; border-width: 13px; }
  .topic-grid, .message-grid, .source-panel { grid-template-columns: 1fr; }
  .snapshot-banner { grid-template-columns: auto 1fr; }
  .snapshot-arrow { display: none; }
  .monthly-cover { min-height: 390px; grid-template-columns: 1fr; }
  .archive-browser { padding: 20px; }
  .archive-browser-head, .archive-year { grid-template-columns: 1fr; }
  .archive-months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .month-stamp { width: 90px; height: 100px; border-width: 10px; }
  .month-stamp strong { font-size: 34px; }
  .signal-card { grid-template-columns: 1fr; gap: 12px; }
  .precedent-row { grid-template-columns: 60px 1fr; }
  .precedent-row p, .precedent-row a { grid-column: 2; }
  .action-list { grid-template-columns: 1fr; }
  .model-analysis { padding: 22px 18px; }
  .model-analysis-head { align-items: start; flex-direction: column; }
  .archive-source-action { align-items: stretch; flex-direction: column; }
  .model-conclusions article { grid-template-columns: 1fr; }
  .model-evidence-grid { grid-template-columns: 1fr; }
  .conclusion-foot { align-items: start; flex-direction: column; }
  .risk-table > div { grid-template-columns: minmax(0, 1fr) 82px 65px; padding-inline: 10px; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
