/* Lesesaal: shared public layout, reading surfaces and functional states. */
:root {
    color-scheme: light;
    --paper: #fdfbf7;
    --surface: #ffffff;
    --surface-soft: #f8f4eb;
    --ink: #103d3c;
    --body: #344b48;
    --muted: #687370;
    --line: #daddd5;
    --line-strong: #b9c3bb;
    --gold: #a77830;
    --gold-dark: #805a24;
    --danger: #923e34;
    --success: #276247;
    --radius: 10px;
    font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--body); font-family: "Manrope", "Noto Sans Transliteration", "Noto Naskh Arabic", sans-serif; font-size: 16px; line-height: 1.65; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: "Fraunces", "Noto Sans Transliteration", "Noto Naskh Arabic", Georgia, serif; font-weight: 700; font-optical-sizing: auto; line-height: 1.2; }
h1 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -.035em; overflow-wrap: anywhere; }
h2 { font-size: 30px; letter-spacing: -.02em; }
h3 { font-size: 25px; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
button, select, summary { cursor: pointer; }
img, video { max-width: 100%; }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 4px; }
[hidden] { display: none !important; }
.site-shell { width: min(1258px, calc(100% - 64px)); margin-inline: auto; }
.site-header { padding: 19px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--ink); border-radius: 12px; color: #fff; font-size: 22px; }
.brand-mark .bi { line-height: 1; display: block; }
.brand-copy strong { display: block; font-family: "Fraunces", "Noto Sans Transliteration", Georgia, serif; font-size: 27px; font-weight: 700; line-height: 1.05; letter-spacing: -.025em; }
.brand-copy small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); line-height: 1.3; }
.site-nav { display: flex; align-items: center; gap: 10px; }
.nav-link { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 8px 15px; font-size: 17px; text-decoration: none; white-space: nowrap; border-radius: 24px; }
.nav-link:hover { background: var(--surface-soft); }
.nav-link[aria-current="page"]:not(.nav-cta) { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.nav-link.nav-cta { color: #fff; background: var(--ink); font-weight: 800; padding-inline: 20px; }
.nav-link.nav-cta:hover { background: #20534e; }
.page-main { min-height: 55vh; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: var(--ink); color: white; border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 27px 30px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.footer-brand > a:first-child { font-family: "Fraunces", "Noto Sans Transliteration", Georgia, serif; font-size: 20px; font-weight: 700; color: var(--ink); }
.footer-brand .operator-link { font-size: 13px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 30px; }
.eyebrow { color: var(--muted); font-family: "Manrope", "Noto Sans Transliteration", sans-serif; font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; line-height: 1.4; font-size: 16px; font-weight: 800; text-align: center; }
.button:hover { text-decoration: none; }
.button-dark, .button-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.button-dark:hover, .button-primary:hover { background: #20534e; border-color: #20534e; }
.button-ghost, .button-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button-ghost:hover, .button-secondary:hover { background: var(--surface-soft); border-color: var(--ink); }
.button-telegram { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button-small { min-height: 42px; padding: 8px 15px; font-size: 14px; }
button:disabled, .button[aria-disabled="true"], input:disabled, select:disabled { cursor: not-allowed; color: #5e6862; border-color: var(--line); background: #edf0e9; opacity: 1; }
.bi { flex-shrink: 0; }
.text-link, .read-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.text-link { text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.reading-intro { padding-top: 34px; padding-bottom: 38px; }
.reading-intro > .eyebrow { letter-spacing: .28em; margin-bottom: 9px; font-size: 13px; }
.reading-intro h1 { font-size: clamp(48px, 4.85vw, 72px); line-height: 1.09; letter-spacing: -.04em; }
.reading-subtitle { margin: 5px 0 24px; color: var(--muted); font-size: 22px; line-height: 1.45; }
.knowledge-search label { display: block; color: var(--ink); font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) 138px; gap: 16px; }
.search-input { position: relative; min-width: 0; }
.search-input .bi { position: absolute; left: 21px; top: 14px; font-size: 22px; color: var(--ink); pointer-events: none; }
.search-input input { width: 100%; height: 58px; padding: 12px 20px 12px 64px; border: 1px solid var(--line-strong); border-radius: 13px; color: var(--ink); background: #fffefa; font-size: 18px; outline-offset: 3px; }
input::placeholder, textarea::placeholder { color: #78837f; opacity: 1; }
.search-row .button { font-size: 18px; border-radius: 16px; }
.reading-layout { display: grid; grid-template-columns: 286px minmax(0, 1fr); gap: 38px; padding-top: 30px; border-top: 1px solid var(--line); align-items: start; }
.topic-index { padding-right: 40px; border-right: 1px solid var(--line); min-width: 0; }
.topic-index > .eyebrow { margin: 3px 0 17px; }
.topic-links { display: grid; gap: 5px; }
.topic-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 42px; padding: 8px 14px 8px 18px; border-left: 3px solid transparent; border-radius: 0 8px 8px 0; color: var(--muted); text-decoration: none; line-height: 1.45; font-size: 18px; }
.topic-links a:hover { color: var(--ink); background: var(--surface-soft); }
.topic-links a[aria-current="page"] { color: var(--ink); border-left-color: var(--gold); background: var(--surface-soft); font-weight: 700; }
.topic-count { color: var(--muted); font-size: 12px; font-weight: 500; }
.topic-more { margin-top: 13px; }
.topic-more > summary { min-height: 44px; padding: 10px 14px 10px 18px; color: var(--muted); font-size: 15px; }
.topic-more[open] > summary { margin-bottom: 5px; }
.article-aside .topic-more { margin: -12px 0 22px; }
.reading-results { min-width: 0; }
.results-toolbar { min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 12px; }
.result-count { color: var(--muted); font-family: "Manrope", "Noto Sans Transliteration", sans-serif; font-size: 13px; font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.sort-form { display: flex; align-items: center; gap: 18px; flex-shrink: 0; color: var(--muted); font-size: 13px; }
.sort-form select { width: 190px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--paper); font-size: 14px; }
.search-context { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 9px 0 17px; font-size: 14px; color: var(--muted); }
.search-context a { display: inline-flex; align-items: center; gap: 8px; }
.answer-row { border-top: 1px solid var(--line); }
.answer-row:last-child { border-bottom: 1px solid var(--line); }
.answer-link { display: block; padding: 17px 0 19px; text-decoration: none; }
.answer-topic { color: var(--gold-dark); font-size: 11px; letter-spacing: .16em; }
.answer-link h3 { margin: 6px 0 4px; font-size: 29px; line-height: 1.2; letter-spacing: -.024em; overflow-wrap: anywhere; }
.answer-link p { margin: 0 0 8px; color: var(--muted); font-size: 20px; line-height: 1.45; }
.answer-link .read-more { color: var(--ink); font-size: 17px; }
.answer-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .13em; }
.personal-question { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--surface-soft); border-left: 4px solid var(--gold); border-radius: 7px; padding: 22px 28px 24px 31px; margin-top: 25px; }
.personal-question h2 { margin: 0 0 4px; font-size: 29px; }
.personal-question p { margin: 0; font-size: 16px; color: #53645e; }
.personal-question .button { flex-shrink: 0; min-height: 55px; padding-inline: 28px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; align-items: center; }
.pagination a { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; font-size: 14px; }
.pagination a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { padding: 34px 0; border-block: 1px solid var(--line); }
.empty-state > .bi { display: block; color: var(--gold-dark); font-size: 24px; margin-bottom: 13px; }
.empty-state h3 { max-width: 30ch; margin-bottom: 12px; }
.empty-state p { max-width: 54ch; color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px 0 18px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .bi { font-size: 10px; }
.article-header { max-width: 1060px; padding: 12px 0 30px; }
.article-header h1 { max-width: 28ch; margin: 10px 0 17px; font-size: clamp(38px, 4.1vw, 60px); line-height: 1.14; }
.article-intro { max-width: 70ch; color: var(--muted); font-size: 20px; line-height: 1.6; margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 6px; color: var(--muted); font-size: 13px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag { color: var(--muted); font-size: 12px; padding: 2px 9px; border: 1px solid var(--line); border-radius: 5px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 246px; gap: 65px; border-top: 1px solid var(--line); padding-top: 30px; }
.article-column { min-width: 0; max-width: 850px; }
.article-answer > .eyebrow { margin-bottom: 18px; }
.article-aside { border-left: 1px solid var(--line); padding-left: 25px; }
.article-aside .topic-links { margin: 15px 0 27px; }
.article-aside .topic-links a { padding-left: 8px; font-size: 16px; }
.article-aside .text-link { font-size: 13px; }
.prose { color: var(--body); line-height: 1.85; overflow-wrap: anywhere; font-size: 17px; }
.prose > p { margin: 0 0 1.3em; white-space: pre-wrap; }
.prose > p:last-child { margin-bottom: 0; }
.prose-answer { font-size: 19px; line-height: 1.9; }
[lang="ar"] { font-family: "Noto Naskh Arabic", serif; font-size: 1.25em; line-height: 2.1; text-align: right; font-weight: 400; letter-spacing: 0; }
.question-detail, .article-sources, .related-section { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 22px; }
.question-detail summary { min-height: 44px; color: var(--ink); font-weight: 800; }
.question-detail .prose { padding: 14px 0 7px; }
.article-sources h2, .related-section > h2 { font-size: 27px; margin-bottom: 18px; }
.source-list { padding-left: 20px; margin: 14px 0 0; overflow-wrap: anywhere; }
.source-list li { padding: 6px 0; }
.reading-page > .page-main > .personal-question { margin-top: 40px; }
.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; padding: 34px 0 27px; }
.hero h1 { margin: 7px 0 13px; max-width: 25ch; }
.hero .lead { max-width: 66ch; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.65; margin: 0; }
.task-hero .lead { max-width: 64ch; }
.hero-actions, .form-actions, .header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-actions { margin-top: 20px; }
.section { margin-top: 10px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 15px 0 20px; }
.section-heading h2 { font-size: 27px; }
.question-total { color: var(--muted); font-family: "Manrope", "Noto Sans Transliteration", sans-serif; font-size: 17px; font-weight: 500; }
.form-layout, .status-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 55px; align-items: start; padding-top: 26px; border-top: 1px solid var(--line); }
.stack { display: grid; gap: 27px; min-width: 0; align-content: start; }
.form-card, .content-card, .status-card, .article-card { min-width: 0; }
.content-card + .content-card { border-top: 1px solid var(--line); padding-top: 24px; }
.content-card h2, .form-card h2, .status-card h2 { margin: 6px 0 15px; font-size: 29px; }
.form-layout > aside, .status-layout > aside { border-left: 1px solid var(--line); padding-left: 26px; }
aside .content-card h2 { font-size: 23px; }
aside p, aside .form-help { font-size: 14px; line-height: 1.7; }
aside .button { font-size: 14px; min-height: 42px; padding: 9px 14px; }
.form-section { padding-bottom: 28px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.form-section h2 { font-size: 29px; }
.form-help, .field small, .disclaimer { color: var(--muted); font-size: 14px; line-height: 1.65; }
.form-help { margin: 0 0 17px; }
.disclaimer { margin: 14px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.field { display: grid; gap: 8px; min-width: 0; margin-bottom: 19px; }
.field > label, .field-label { color: var(--ink); font-weight: 800; }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select { width: 100%; min-width: 0; min-height: 50px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 14px; color: var(--body); background: #fffefa; }
.field textarea { min-height: 210px; resize: vertical; line-height: 1.65; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.char-count { text-align: right; margin-top: -8px; }
.check-row { display: flex; align-items: flex-start; gap: 13px; padding: 15px 0; cursor: pointer; }
.check-row + .check-row { border-top: 1px solid var(--line); }
.check-row input { width: 18px; height: 18px; flex: 0 0 18px; margin: 5px 0 0; accent-color: var(--ink); }
.check-row > span { min-width: 0; }
.check-row strong { display: block; color: var(--ink); font-size: 15px; }
.check-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.check-row a { display: inline; text-decoration: underline; }
.suggestion-control { display: grid; justify-items: start; gap: 9px; margin-top: -4px; }
.suggestion-control .form-help { font-size: 12px; max-width: 66ch; }
.suggestion-box { display: grid; gap: 0; }
.suggestion-item { display: block; padding: 13px 15px; border-left: 3px solid var(--gold); background: var(--surface-soft); text-decoration: none; margin-bottom: 8px; }
.suggestion-item strong { display: block; }
.suggestion-item span { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.suggestion-item:hover strong { text-decoration: underline; }
.notice, .error-summary { padding: 15px 18px; border: 1px solid var(--line); border-left: 3px solid var(--line-strong); border-radius: 6px; margin: 10px 0 23px; font-size: 15px; }
.notice-success { color: var(--success); background: #f0f5ef; border-color: #c2d5c6; }
.notice-danger, .error-summary { color: var(--danger); background: #fcf3ed; border-color: #dcb7a9; }
.notice-warning { color: #78541b; background: #fbf5e8; border-color: #dbc698; }
.notice-info { background: #eef3f0; color: var(--ink); }
.error-summary a { color: inherit; font-weight: 650; }
.error-summary ul { margin: 7px 0 0; padding-left: 20px; }
.error-summary li + li { margin-top: 5px; }
.error-summary:focus { outline: 3px solid var(--danger); outline-offset: 4px; }
.field .field-error, .field-error { color: var(--danger); font-size: 13px; font-weight: 700; }
.field [aria-invalid="true"], .check-row:has([aria-invalid="true"]) { border-color: var(--danger); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.process-list { list-style: decimal; padding-left: 19px; margin: 15px 0 0; }
.process-list li { padding: 0 0 18px 3px; font-size: 14px; }
.inline-form { display: inline-flex; margin: 0; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 17px; font-size: 12px; color: var(--muted); }
.chip, .status-label { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 5px; background: #eff2ed; color: #50665d; font-size: 13px; font-weight: 700; }
.chip-accent, .status-priority { color: #78541b; background: #f8eed9; }
.status-answered { color: var(--success); background: #ebf2e9; }
.status-open { color: var(--ink); background: #edf2ef; }
.status-archived { color: var(--muted); background: #efefea; }
.status-hero .status-label { margin-top: 16px; }
.status-hero h1 { margin-top: 13px; }
.status-layout > .stack > .content-card { padding-bottom: 5px; }
.status-layout > .stack > .content-card + .content-card { padding-top: 25px; }
.status-layout .prose-answer { margin-top: 24px; }
.private-link { padding: 19px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 5px; background: var(--surface-soft); min-width: 0; }
.private-link > strong { color: var(--ink); font-size: 15px; }
.private-link code, .portable-link { display: block; min-width: 0; overflow-wrap: anywhere; white-space: normal; font-family: inherit; font-size: 12px; line-height: 1.65; margin: 11px 0 15px; color: var(--muted); }
.status-timeline { padding: 18px 0; border-block: 1px solid var(--line); }
.status-timeline summary { min-height: 30px; color: var(--ink); font-weight: 800; }
.status-timeline[open] summary { margin-bottom: 20px; }
.timeline { display: grid; gap: 19px; margin: 22px 0 3px; }
.timeline-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; }
.timeline-dot { font-size: 15px; color: var(--muted); font-weight: 800; }
.timeline-step strong { display: block; color: var(--ink); font-size: 15px; }
.timeline-step small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.timeline-step.done .timeline-dot { color: var(--success); }
.timeline-step.current .timeline-dot { color: var(--gold-dark); }
.radio-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-card { display: flex; align-items: center; gap: 6px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.radio-card input { accent-color: var(--ink); }
.radio-card label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.answer-media, .answer-media-list { display: grid; gap: 15px; margin-top: 24px; }
.answer-media audio, .answer-media video, .answer-media-list audio, .answer-media-list video { display: block; width: 100%; margin-top: 10px; }
.media-card, .answer-media-list .answer-media { padding: 15px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.account-question-list { display: grid; }
.account-question-card { display: block; padding: 23px 0; border-top: 1px solid var(--line); text-decoration: none; min-width: 0; }
.account-question-card:last-child { border-bottom: 1px solid var(--line); }
.account-question-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.account-question-card h3 { margin: 12px 0 10px; max-width: 42ch; font-size: 28px; overflow-wrap: anywhere; }
.account-question-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.account-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 800; font-size: 14px; }
.account-auth-grid, .account-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; padding-top: 27px; border-top: 1px solid var(--line); }
.account-auth-grid > :nth-child(2), .account-settings-grid > :nth-child(2) { padding-left: 36px; border-left: 1px solid var(--line); }
.account-auth-grid .form-card { max-width: 520px; }
.account-form { display: grid; gap: 9px; margin-top: 20px; }
.account-form > .button { justify-self: start; }
.account-inline-notice { margin: 8px 0 0; font-size: 13px; }
.account-telegram-entry { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--line); margin-top: 35px; padding-top: 27px; }
.account-telegram-entry > div { max-width: 72ch; }
.account-telegram-entry .button { flex-shrink: 0; }
.account-telegram-entry h2 { font-size: 27px; }
.account-telegram-entry p { font-size: 15px; color: var(--muted); margin-bottom: 0; }
.account-identity-list { list-style: none; margin: 20px 0; padding: 0; }
.account-identity-list li { display: flex; align-items: center; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.account-identity-list strong, .account-identity-list small { display: block; }
.account-identity-list small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.account-identity-icon { font-size: 23px; }
.account-divider { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 24px; max-width: 520px; }
.stat-card { min-width: 0; padding-left: 18px; border-left: 2px solid var(--line); }
.stat-card strong, .stat-card span { display: block; overflow-wrap: anywhere; }
.stat-card strong { font-family: "Fraunces", "Noto Sans Transliteration", Georgia, serif; color: var(--ink); font-size: 22px; margin-top: 6px; }
.stat-card span { color: var(--muted); font-size: 12px; margin-top: 4px; }
.account-confirm-card, .payment-return { max-width: 760px; margin: 36px auto; padding: 28px 0; }
.account-confirm-icon { font-size: 32px; color: var(--ink); margin-bottom: 16px; }
.account-confirm-icon-muted { color: var(--muted); }
.account-confirm-card h1 { margin: 8px 0 18px; }
.account-confirm-card .form-actions { margin-top: 25px; }
.telegram-link-input { text-transform: uppercase; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.account-telegram-entry + .site-footer { margin-top: 30px; }
.information-page { max-width: 850px; margin: 36px auto 20px; }
.information-page h1 { font-size: clamp(36px, 4.4vw, 60px); margin: 10px 0 22px; }
.information-page .information-intro { font-size: 21px; color: var(--muted); }
.information-page section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.information-page h2 { font-size: 29px; margin-bottom: 17px; }
.information-page p, .information-page address { font-size: 16px; line-height: 1.85; }
.information-page address { font-style: normal; margin: 0 0 15px; }
.information-page .muted, .muted { color: var(--muted); }
.payment-return h1 { margin: 10px 0 20px; }
.payment-return .header-actions { margin-top: 25px; }
@media (min-width: 1000px) {
    .knowledge-page .reading-intro { padding-top: 22px; padding-bottom: 24px; }
    .knowledge-page .reading-layout { padding-top: 16px; }
}
@media (max-width: 1100px) {
    .reading-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 27px; }
    .topic-index { padding-right: 24px; }
    .reading-intro h1 { font-size: 59px; }
    .article-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 36px; }
    .form-layout, .status-layout { grid-template-columns: minmax(0, 1fr) 275px; gap: 32px; }
    .personal-question { padding-inline: 20px; }
    .personal-question h2 { font-size: 26px; }
    .sort-form { gap: 10px; }
    .hero { flex-direction: column; gap: 22px; }
}
@media (max-width: 800px) {
    .site-shell { width: calc(100% - 40px); }
    .header-inner { gap: 18px; }
    .brand-copy strong { font-size: 24px; }
    .brand-copy small { font-size: 12px; }
    .nav-link { font-size: 14px; padding-inline: 11px; }
    .reading-intro h1 { font-size: 49px; max-width: 20ch; }
    .reading-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 22px; }
    .topic-index { padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--line); }
    .topic-index > .eyebrow { margin-bottom: 12px; }
    .topic-index .topic-links { display: flex; gap: 7px; overflow-x: auto; padding: 4px 4px 8px; scroll-snap-type: x proximity; }
    .topic-index .topic-links a { flex: 0 0 auto; max-width: 230px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; scroll-snap-align: start; font-size: 14px; }
    .topic-index .topic-links a[aria-current="page"] { border-color: var(--gold); background: var(--surface-soft); }
    .topic-more { margin-top: 1px; }
    .topic-more > summary { padding-left: 4px; font-size: 14px; }
    .topic-index .topic-more .topic-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
    .topic-index .topic-more .topic-links a { max-width: none; }
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .article-aside { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
    .article-aside .topic-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-layout, .status-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; }
    .form-layout > aside, .status-layout > aside { border-left: 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
    .form-layout aside.stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-layout aside .content-card + .content-card { padding-top: 0; border: 0; }
    .site-footer { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 25px; }
    .footer-nav { gap: 24px; }
}
@media (max-width: 600px) {
    .site-shell { width: calc(100% - 36px); }
    .site-header { padding: 16px 0 9px; }
    .header-inner { flex-direction: column; align-items: stretch; gap: 18px; }
    .brand { align-self: flex-start; gap: 12px; }
    .brand-mark { width: 39px; height: 39px; border-radius: 10px; font-size: 20px; }
    .brand-copy strong { font-size: 25px; }
    .brand-copy small { font-size: 12px; }
    .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .nav-link { min-height: 42px; padding: 8px 2px; white-space: normal; text-align: center; font-size: 13px; }
    .nav-link.nav-cta { padding-inline: 6px; border-radius: 23px; }
    .reading-intro { padding-top: 28px; padding-bottom: 26px; }
    .reading-intro > .eyebrow { font-size: 11px; margin-bottom: 10px; }
    .reading-intro h1 { font-size: 43px; line-height: 1.1; letter-spacing: -.04em; }
    .reading-subtitle { font-size: 16px; line-height: 1.65; margin: 13px 0 23px; max-width: 36ch; }
    .knowledge-search label { font-size: 14px; margin-bottom: 8px; }
    .search-row { grid-template-columns: minmax(0, 1fr) 84px; gap: 8px; }
    .search-input input { height: 52px; font-size: 15px; padding: 11px 9px 11px 38px; border-radius: 9px; }
    .search-input .bi { top: 13px; left: 12px; font-size: 17px; }
    .search-row .button { font-size: 14px; padding: 11px 9px; border-radius: 10px; min-height: 52px; }
    .results-toolbar { gap: 12px; align-items: center; padding-bottom: 14px; }
    .result-count { font-size: 12px; }
    .sort-form label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .sort-form select { width: 152px; font-size: 12px; padding: 8px 9px; }
    .answer-link { padding: 20px 0 22px; }
    .answer-link h3 { font-size: 26px; line-height: 1.22; margin-top: 8px; }
    .answer-link p { font-size: 15px; line-height: 1.65; margin: 8px 0 12px; }
    .answer-topic { font-size: 10px; letter-spacing: .14em; }
    .personal-question { display: block; padding: 20px 20px 22px; margin-top: 24px; }
    .personal-question h2 { font-size: 27px; line-height: 1.22; }
    .personal-question p { font-size: 14px; line-height: 1.65; margin-top: 10px; }
    .personal-question .button { margin-top: 17px; min-height: 46px; font-size: 14px; padding-inline: 21px; }
    .site-footer { padding-top: 25px; padding-bottom: 24px; gap: 15px; font-size: 12px; }
    .footer-nav { gap: 18px; }
    .footer-brand > a:first-child { font-size: 19px; }
    .footer-brand .operator-link { font-size: 12px; }
    .breadcrumbs { padding: 23px 0 14px; font-size: 12px; }
    .article-header { padding: 10px 0 25px; }
    .article-header h1 { font-size: 36px; line-height: 1.18; margin-top: 12px; }
    .article-intro { font-size: 17px; line-height: 1.7; }
    .article-meta { display: grid; gap: 4px; font-size: 11px; }
    .article-layout { padding-top: 24px; }
    .prose { font-size: 16px; line-height: 1.85; }
    .prose-answer { font-size: 17px; }
    .hero { padding: 28px 0 22px; }
    .hero h1 { font-size: 38px; line-height: 1.16; margin: 9px 0 12px; }
    .hero .lead { font-size: 16px; line-height: 1.7; }
    .hero-actions { gap: 8px; margin-top: 18px; }
    .hero-actions .button { font-size: 13px; padding: 10px 13px; min-height: 44px; }
    .section { margin-top: 0; }
    .form-layout, .status-layout { padding-top: 22px; gap: 28px; }
    .form-layout aside.stack { grid-template-columns: minmax(0, 1fr); }
    .form-layout aside .content-card + .content-card { border-top: 1px solid var(--line); padding-top: 22px; }
    .content-card h2, .form-card h2, .status-card h2 { font-size: 26px; margin-bottom: 13px; }
    .form-section { padding-bottom: 23px; margin-bottom: 23px; }
    .form-section h2 { font-size: 27px; }
    .form-help, .field small { font-size: 13px; }
    .field > label { font-size: 14px; }
    .field textarea { min-height: 185px; font-size: 16px; }
    .field-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .form-actions .button { font-size: 14px; }
    .field input:not([type="checkbox"]):not([type="radio"]), .field select { font-size: 16px; }
    .check-row strong { font-size: 14px; }
    .check-row small { font-size: 12px; }
    .notice, .error-summary { font-size: 14px; padding: 13px 14px; }
    .account-question-card { padding: 21px 0; }
    .account-question-card h3 { font-size: 26px; margin: 13px 0; }
    .account-question-card .meta-row { font-size: 11px; gap: 6px 13px; }
    .account-auth-grid, .account-settings-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 23px; }
    .account-auth-grid > :nth-child(2), .account-settings-grid > :nth-child(2) { padding: 25px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .account-form { margin-top: 20px; }
    .account-telegram-entry { display: block; margin-top: 30px; padding-top: 25px; }
    .account-telegram-entry .button { margin-top: 18px; }
    .hero-stats { gap: 18px; }
    .stat-card { max-width: 100%; padding-left: 12px; }
    .stat-card strong { font-size: 19px; }
    .account-confirm-card, .payment-return { margin: 24px auto; padding-top: 18px; }
    .account-confirm-card h1 { font-size: 35px; }
    .information-page { margin-top: 30px; }
    .information-page h1 { font-size: 38px; }
    .information-page .information-intro { font-size: 18px; }
    .information-page h2 { font-size: 27px; }
    .information-page p, .information-page address { font-size: 15px; }
}
@media (max-width: 350px) {
    .site-shell { width: calc(100% - 28px); }
    .nav-link { font-size: 12px; }
    .reading-intro h1 { font-size: 38px; }
    .hero h1, .article-header h1 { font-size: 33px; }
    .sort-form select { width: 139px; }
    .answer-link h3 { font-size: 24px; }
    .form-section h2 { font-size: 24px; }
    .footer-nav { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Private conversation and explicit editorial review states. */
.editorial-note { margin: 18px 0 20px; padding: 13px 0; border-block: 1px solid var(--line); }
.editorial-responsibility { font-size: 14px; font-weight: 800; text-decoration: none; }
.editorial-responsibility:hover { text-decoration: underline; }
.editorial-status { display: flex; align-items: baseline; gap: 8px; margin: 7px 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.editorial-method { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.audio-transcript { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 7px; }
.audio-transcript summary { min-height: 44px; padding: 8px 0; color: var(--ink); font-weight: 800; font-size: 15px; }
.transcript-meta { font-size: 13px; color: var(--muted); margin: 8px 0 15px; line-height: 1.65; }
.audio-transcript .transcript-text { margin-top: 0; font-size: 17px; }
.care-conversation { scroll-margin-top: 24px; }
.conversation-header p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 18px; }
.conversation-empty, .conversation-readonly { color: var(--muted); font-size: 15px; line-height: 1.7; }
.conversation-pending { color: var(--ink); font-size: 14px; line-height: 1.65; border-left: 3px solid var(--gold); padding: 8px 12px; margin: 0 0 15px; background: var(--surface-soft); }
.conversation-list { list-style: none; margin: 0; padding: 0; }
.conversation-message { padding: 19px 0; border-top: 1px solid var(--line); }
.conversation-message.conversation-editorial { border-left: 3px solid var(--line-strong); padding-left: 17px; }
.conversation-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 15px; margin-bottom: 10px; }
.conversation-meta strong { font-size: 14px; color: var(--ink); }
.conversation-meta time { color: var(--muted); font-size: 12px; }
.conversation-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; font-size: 17px; }
.conversation-attachment { color: var(--muted); font-size: 13px; margin-top: 12px; }
.conversation-attachment p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 0; }
.conversation-compose { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.conversation-compose textarea { min-height: 145px; }
.conversation-compose .field { margin-bottom: 15px; }
.expert-role { margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.profile-source { font-size: 14px; color: var(--muted); }
.methodology-steps { list-style: decimal-leading-zero; margin: 22px 0 0; padding-left: 35px; }
.methodology-steps li { padding: 2px 0 19px 8px; }
.methodology-steps li + li { border-top: 1px solid var(--line); padding-top: 19px; }
.methodology-steps li::marker { color: var(--gold-dark); font-size: 14px; font-weight: 800; }
.methodology-steps h3 { font-size: 24px; margin: 0 0 9px; }
.methodology-steps p { margin: 0; }
@media (max-width: 600px) {
    .editorial-note { margin: 15px 0 17px; }
    .editorial-responsibility { font-size: 13px; }
    .editorial-status, .editorial-method { font-size: 12px; }
    .conversation-meta { display: grid; gap: 4px; }
    .conversation-text { font-size: 16px; }
    .conversation-compose textarea { min-height: 135px; }
    .conversation-compose .button { min-height: 44px; }
    .audio-transcript .transcript-text { font-size: 16px; }
    .methodology-steps h3 { font-size: 23px; }
}

.account-conversation-note { margin: 15px 0 0; color: var(--ink); font-size: 14px; line-height: 1.65; }
.account-conversation-note > span { display: block; color: var(--muted); margin-top: 3px; font-size: 12px; }
.conversation-error-page .error-summary p { margin-bottom: 8px; }
.conversation-error-page .conversation-compose { border-top: 0; padding-top: 0; }
.conversation-error-page .conversation-compose textarea { min-height: 220px; }
@media (max-width: 600px) {
    .account-conversation-note { font-size: 13px; }
    .conversation-error-page h1 { font-size: 34px; }
    .conversation-error-page .conversation-compose textarea { min-height: 180px; }
}
