/* NewTimes editorial visual system. Fonts are bundled under OFL in fonts/. */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/static/fonts/onest-400-800-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/ibm-plex-mono-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/ibm-plex-mono-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/ibm-plex-mono-600-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/static/fonts/onest-400-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/ibm-plex-mono-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+2000-206F, U+20AC, U+2122; }

:root {
  --bg: #f4f5f7;
  --card: #fff;
  --ink: #14161a;
  --muted: #646c77;
  --line: #e4e6ea;
  --blue: #c8102e;
  --blue-dark: #a30d25;
  --soft: #fcf1f3;
  --green: #18794e;
  --green-bg: #e9f6ef;
  --red: #a30d25;
  --red-bg: #fcf1f3;
  --radius: 16px;
  --card-shadow: none;
  --surface-soft: #f7f8fa;
  --nt-mono: 'IBM Plex Mono', ui-monospace, monospace;
}
[data-theme="dark"] {
  --bg: #15171b; --card: #202329; --ink: #f5f6f7; --muted: #b2bac5;
  --line: #343942; --soft: #39242a; --surface-soft: #292d34;
  --green: #79d5a5; --green-bg: #1d3b2e; --red: #ff8193; --red-bg: #42252c;
  --card-shadow: none;
}
body, button, input, select, textarea,
.small-button, .nt-card-title, .nt-profile-menu a, .nt-profile-menu button { font-family: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif; }
body { color: var(--ink); background: var(--bg); }
.container { max-width: 1328px; padding-inline: 24px; }
main.container { padding-bottom: 56px; }
h1, h2, h3 { color: var(--ink); }
.page-intro { margin: 32px 0 24px; }
.page-intro h1 { font-size: clamp(32px, 3.5vw, 44px); letter-spacing: -.035em; }
.page-intro p { color: var(--muted); }
.eyebrow { font-size: 11px; letter-spacing: .1em; }
.card, .job-list, .nt-model-table-wrap, .nt-side-panel, .research-dialog { box-shadow: none; }
.card, .job-list, .nt-model-table-wrap { border: 1px solid var(--line); border-radius: 16px; }
.card { background: var(--card); }
.nt-stat, .nt-overview-section, .monitor-panel, .nt-seo-intro { padding: 24px; }
.nt-stat strong { font-size: 36px; letter-spacing: -.04em; }
.nt-stat span, .nt-stat small { color: var(--muted); }
.nt-overview-stats .nt-stat:last-child { background: #fff5e8; border-color: #f5dfbb; }
.nt-overview-stats .nt-stat:last-child span, .nt-overview-stats .nt-stat:last-child small { color: #885417; }
[data-theme="dark"] .nt-overview-stats .nt-stat:last-child { background: #392d20; border-color: #6d5231; }
.nt-overview-period strong, .nt-overview-period small, time,
.research-metrics, .research-timer, .research-api-timer,
.nt-seo-counter, .nt-distribution-row strong, .nt-topic-row strong,
.nt-key-value strong, .nt-hour > strong, .nt-hour > small,
.monitor-kpi strong, .monitor-event time, .nt-card-published, .nt-panel-date,
.nt-article-metric, .nt-summary-number { font-family: var(--nt-mono); font-variant-numeric: tabular-nums; }
.nt-overview-period { margin: 0 0 20px; }
.nt-overview-period strong { font-size: 12px; }
.nt-overview-columns { gap: 16px; }
.nt-overview-section { padding: 24px; }
.nt-distribution-row meter::-webkit-meter-bar { background: #eef0f3; }
.nt-distribution-row meter::-webkit-meter-optimum-value { background: #14161a; }
.nt-distribution-row:nth-of-type(2) meter::-webkit-meter-optimum-value { background: #9ca3af; }
.nt-distribution-row:nth-of-type(3) meter::-webkit-meter-optimum-value { background: #e57b19; }
.nt-distribution-row:nth-of-type(4) meter::-webkit-meter-optimum-value { background: #18794e; }
.nt-topic-row summary { display: grid; grid-template-columns: minmax(0,1fr) minmax(65px,115px) auto; }
.nt-topic-row meter { width: 100%; height: 7px; }
.nt-topic-row meter::-webkit-meter-bar { background: #eef0f3; border: 0; border-radius: 99px; }
.nt-topic-row meter::-webkit-meter-optimum-value { background: var(--ink); border-radius: 99px; }
.nt-distribution-percent { margin-left: 8px; color: var(--muted); font: 500 12px var(--nt-mono); }
.nt-hour-bar { background: var(--ink); }
.monitor-legend .legend-system { background: #14161a; }
.monitor-legend .legend-qwen { background: #8e98a5; }
.nt-analytic-note { padding: 12px 0 0; border-radius: 0; border-top: 1px solid var(--line); background: transparent; }
.nt-insight { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.nt-insight + .nt-insight { margin-top: 10px; }

.site-header { box-shadow: none; background: var(--card); }
.header-inner { min-height: 68px; gap: 24px; }
.nt-brand { font-size: 25px; }
.nt-brand small { top: 25px; color: var(--muted); letter-spacing: .2em; }
.nt-main-nav { height: 68px; gap: 4px; margin-left: 22px; }
.nt-main-nav a, .nt-main-nav a.active { height: 100%; min-height: 0; padding: 0 13px; border-radius: 0; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 600; color: var(--muted); background: transparent; }
.nt-main-nav a:hover { color: var(--ink); background: transparent; text-decoration: none; }
.nt-main-nav a.active { color: var(--ink); border-bottom-color: var(--blue); }
.nt-profile { width: auto; min-width: 130px; margin-left: auto; }
.nt-avatar { background: var(--ink); color: var(--card); }
.nt-profile summary:hover, .nt-profile[open] summary { background: var(--surface-soft); }
.nt-profile-menu { box-shadow: 0 18px 45px #11182724; }
.nt-subnav { border-top: 0; border-bottom: 1px solid var(--line); }
.nt-subnav .category-tabs { display: flex; gap: 6px; min-height: 60px; overflow-x: auto; padding-block: 8px; }
.nt-subnav .category-tab, .nt-social-tab { flex: 1 0 auto; min-height: 42px; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 650; }
.nt-subnav .category-tab:hover, .nt-social-tab:hover { border-color: var(--line); color: var(--ink); background: var(--surface-soft); }
.nt-subnav .category-tab.active, .nt-social-tab.active { color: #fff; border-color: #14161a; background: #14161a; }
.nt-unseen-count { display: inline-flex; padding: 2px 6px; border-radius: 5px; color: #18794e; background: #e9f6ef; font-size: 11px; }
.category-tab.active .nt-unseen-count, .nt-social-tab.active .nt-unseen-count { color: #9de2bc; background: #263d34; }
.nt-social-tabs { gap: 6px; }

.button, .small-button { min-height: 44px; padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.button, .small-button { color: #fff; background: var(--blue); border-color: var(--blue); }
.button:hover, .small-button:hover { color: #fff; background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary, .small-button.secondary, .collected-content .small-button {
  color: var(--ink); background: var(--card); border-color: var(--line);
}
.button.secondary:hover, .small-button.secondary:hover, .collected-content .small-button:hover {
  color: var(--ink); background: var(--surface-soft); border-color: #c8cdd4;
}
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #2457c5; outline-offset: 3px; }
input:focus, textarea:focus, select:focus { border-color: #2457c5; box-shadow: 0 0 0 3px #2457c533; }
.badge { padding: 4px 9px; font-size: 11px; }
.badge-done { color: #18794e; background: #e9f6ef; }
.badge-failed { color: #a30d25; background: #fcf1f3; }
.badge-running { color: #2457c5; background: #eaf0ff; }
.nt-badge-review { color: #8b561d; background: #fff2e2; }
.nt-badge-blocked { color: #8b561d; background: #fff2e2; }

.collector-controls { margin-top: 32px; padding: 16px 20px; }
.collector-controls > div:first-child { position: relative; padding-left: 52px; }
.collector-controls > div:first-child::before { content: ''; position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 10px; background: #e9f6ef; }
.nt-collector-icon { position: absolute; top: 9px; left: 9px; width: 20px; height: 20px; color: #18794e; }
.collector-controls strong { color: var(--ink); }
.collector-controls p, .collector-controls small { font-size: 12px; }
.collector-actions .button { margin: 0; }
.nt-monitor-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 24px 0 18px; }
.nt-monitor-header .section-heading { margin: 0; }
.nt-monitor-filter { display: flex; align-items: end; gap: 8px; width: min(390px, 100%); margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.nt-monitor-filter > div { flex: 1; }
.nt-monitor-filter .button { min-height: 44px; }
.history > .section-heading { margin-bottom: 18px; }
.nt-monitor-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; min-height: 0; padding: 18px 20px; border-left: 0; }
.nt-monitor-row.is-unread { box-shadow: none; }
.nt-monitor-row.is-unread .collected-title::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; vertical-align: middle; border-radius: 50%; background: #18794e; }
.nt-monitor-row .collected-content { min-width: 0; }
.nt-monitor-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.nt-monitor-meta > strong { color: var(--ink); font-size: 12px; }
.nt-monitor-meta .badge { margin-left: 2px; }
.nt-monitor-row .collected-title { margin: 0 0 5px; font-size: 17px; line-height: 1.42; }
.nt-row-description { max-width: 800px; margin: 4px 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.nt-row-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.nt-monitor-row .nt-row-reason { color: var(--muted); font-size: 12px; }
.nt-row-side { display: flex; width: auto; min-width: 0; flex-direction: row; align-items: center; gap: 12px; }
.nt-card-next { align-items: center; }
.nt-row-original { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.nt-monitor-row .inline-form { margin: 0; }
.nt-monitor-row .small-button { white-space: nowrap; }
.nt-load-more .button { margin: 0; }

.research-list { margin-top: 18px; }
.research-table-head { display: grid; grid-template-columns: minmax(0, 1fr) 120px 160px minmax(260px,auto); gap: 16px; padding: 12px 20px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.research-table-head span:last-child { text-align: right; }
.research-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 160px minmax(260px,auto); gap: 16px; padding: 18px 20px; align-items: center; }
.research-row .collected-title { font-size: 16px; }
.research-row .collected-content small { font-size: 11px; }
.research-row .research-actions { display: contents; }
.research-row .research-status { grid-column: 2; }
.research-row .research-cost { grid-column: 3; display: grid; gap: 2px; }
.research-row .research-row-buttons { grid-column: 4; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.research-row .research-timer, .research-row .research-api-timer { min-width: 0; text-align: left; }
.research-row .research-metrics { display: block; margin-top: 6px; font-size: 11px; }
.nt-icon-button { width: 44px; min-width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.nt-icon-button:hover { background: var(--surface-soft); }
.nt-stage-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 8px; }
.nt-stage-steps span { padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); color: var(--muted); font-size: 12px; font-weight: 700; }
.nt-stage-steps .current { background: var(--ink); border-color: var(--ink); color: var(--card); }
.nt-model-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; padding: 14px 16px; margin: 18px 0; font-size: 12px; }
.nt-model-banner strong { padding: 5px 9px; border-radius: 7px; background: var(--surface-soft); }
.nt-model-banner p { margin: 0; color: var(--muted); }
.nt-model-banner a { margin-left: auto; font-weight: 700; }

.nt-publication-panel { width: min(790px, 70vw); border-radius: 0; }
.nt-publication-panel .nt-panel-head { position: sticky; top: 0; z-index: 2; padding: 20px 28px 16px; background: var(--card); }
.nt-publication-panel .nt-panel-head h2 { margin: 9px 0; font-size: 25px; }
.nt-publication-panel .nt-panel-scroll { padding: 20px 28px; }
.nt-publication-panel .nt-panel-section { margin-bottom: 14px; padding: 0; border: 0; }
.nt-publication-panel .nt-panel-section h3 { margin: 18px 0 10px; font-size: 15px; }
.nt-publication-panel .nt-detail-grid { gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.nt-publication-panel .nt-detail-grid > div { padding: 12px 14px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: var(--card); }
.nt-publication-panel .nt-detail-grid > div:nth-child(even) { border-right: 0; }
.nt-publication-panel .nt-detail-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.nt-publication-panel .nt-detail-grid small { font-size: 11px; text-transform: none; }
.nt-publication-panel .nt-detail-grid strong { font-size: 13px; }
.nt-publication-panel .nt-detail-grid #publication-description { font-weight: 500; color: var(--muted); }
.nt-publication-panel .nt-description { margin-top: 12px; padding: 0; background: transparent; color: var(--muted); font-size: 14px; }
.nt-publication-panel .nt-stored-body { margin: 12px 0 0; font-size: 15px; line-height: 1.72; }
.nt-publication-panel .nt-panel-footer { flex: none; padding: 14px 28px; border-top: 1px solid var(--line); background: var(--card); }
.nt-publication-panel .nt-panel-footer label { font-size: 11px; }
.nt-publication-panel .nt-panel-footer .nt-category-controls { display: flex; align-items: center; gap: 10px; }
.nt-publication-panel .nt-panel-footer select { flex: 1; min-width: 0; }
.nt-publication-panel .nt-panel-footer .button { margin: 0; white-space: nowrap; }
.nt-research-callout { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 14px; border-radius: 10px; background: var(--surface-soft); }
.nt-research-callout > p { margin: 0; }
.nt-confidence-meter { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.nt-confidence-meter progress { width: 110px; height: 6px; }
.nt-confidence-meter progress::-webkit-progress-value { background: #9ca3af; }
.nt-confidence-meter progress::-moz-progress-bar { background: #9ca3af; }

.nt-seo-field { margin: 14px 0; }
.nt-seo-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.nt-seo-field-value { margin: 7px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--surface-soft); overflow-wrap: anywhere; }
.nt-seo-counter { color: #18794e; font-size: 12px; }
.nt-seo-counter.over { color: #a30d25; }
.nt-mono { font-family: var(--nt-mono); }
.nt-seo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.nt-seo-actions .button { margin: 0; }
.nt-seo-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 16px; align-items: start; }
.nt-seo-detail-grid .card { margin: 0; }
.nt-seo-warning { padding: 16px; border: 1px solid #f5dfbb; border-radius: 12px; color: #734619; background: #fff5e8; }
.nt-seo-warning .alert { margin: 0; }
.nt-seo-list .research-status { flex: none; }
.nt-seo-list .research-cost { flex: none; }
.nt-seo-list .research-row-buttons .small-button { white-space: nowrap; }

@media (max-width: 1050px) {
  .nt-main-nav { order: 3; flex-basis: 100%; height: 44px; margin-left: 0; }
  .nt-main-nav a { padding: 0 11px; }
  .research-table-head { display: none; }
  .research-row { grid-template-columns: minmax(0,1fr) auto; }
  .research-row .collected-content { grid-column: 1 / -1; }
  .research-row .research-status { grid-column: 1; }
  .research-row .research-cost { grid-column: 2; }
  .research-row .research-row-buttons { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .container { padding-inline: 16px; }
  .nt-subnav .category-tabs { padding-inline: 16px; }
  .nt-monitor-header { align-items: stretch; flex-direction: column; }
  .nt-monitor-filter { width: 100%; }
  .nt-monitor-row { grid-template-columns: 1fr; }
  .nt-row-side { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .nt-publication-panel { width: 100%; }
  .nt-publication-panel .nt-panel-head, .nt-publication-panel .nt-panel-scroll, .nt-publication-panel .nt-panel-footer { padding-inline: 18px; }
  .nt-publication-panel .nt-panel-footer .nt-category-controls { flex-direction: column; align-items: stretch; }
  .nt-publication-panel .nt-detail-grid { grid-template-columns: 1fr 1fr; }
  .nt-publication-panel .nt-detail-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .nt-publication-panel .nt-detail-grid > div:nth-child(even) { border-right: 0; }
  .nt-publication-panel .nt-detail-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .nt-seo-detail-grid { grid-template-columns: 1fr; }
}
[data-theme="dark"] .nt-main-nav a.active { color:var(--ink); background:transparent; border-bottom-color:var(--blue); }
[data-theme="dark"] .nt-main-nav a:hover { color:var(--ink); background:transparent; }
[data-theme="dark"] .small-button.secondary,
[data-theme="dark"] .collected-content .small-button,
[data-theme="dark"] .button.secondary { color:var(--ink); background:var(--card); border-color:var(--line); }
[data-theme="dark"] .nt-monitor-row.is-unread { box-shadow:none; }
[data-theme="dark"] .nt-badge-review,
[data-theme="dark"] .nt-badge-blocked { color:#ffcb85; background:#483421; }
[data-theme="dark"] .nt-seo-warning { color:#ffcb85; background:#392d20; border-color:#6d5231; }
.research-table-head + .research-list { margin-top:0; }

/* Wiki: the navigation and handbook have separate scroll containers. */
body.nt-wiki-page { display:flex; flex-direction:column; height:100dvh; overflow:hidden; }
.nt-wiki-page > .site-header { flex:none; }
.nt-wiki-page > main.container { width:100%; flex:1; min-height:0; padding-bottom:0; overflow:hidden; }
.nt-wiki-page > .nt-footer { display:none; }
.nt-wiki-layout { display:grid; grid-template-columns:224px minmax(0,1fr); gap:24px; height:100%; min-height:0; }
.nt-wiki-toc { min-height:0; overflow-y:auto; padding:28px 8px 32px 0; scrollbar-width:thin; }
.nt-wiki-toc > strong { display:block; margin:0 0 13px 12px; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.nt-wiki-toc > div { display:flex; flex-direction:column; gap:3px; }
.nt-wiki-toc a { display:block; min-height:40px; padding:10px 12px; border-left:2px solid transparent; border-radius:0 8px 8px 0; color:var(--muted); font-size:13px; font-weight:600; line-height:1.45; }
.nt-wiki-toc a:hover { color:var(--ink); background:var(--surface-soft); text-decoration:none; }
.nt-wiki-toc a.active, .nt-wiki-toc a[aria-current="location"] { color:var(--ink); border-left-color:var(--blue); background:var(--surface-soft); font-weight:700; }
.nt-wiki-toc a:focus-visible, .nt-wiki-content:focus-visible { outline:2px solid var(--blue); outline-offset:-2px; }
.nt-wiki-content { min-width:0; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:28px 4px 48px 0; scrollbar-width:thin; scroll-behavior:smooth; }
.nt-wiki-content .page-intro { max-width:none; margin:0 0 24px; scroll-margin-top:28px; }
.nt-wiki-content .page-intro h1 { margin:8px 0 10px; }
.nt-wiki-content .page-intro p { max-width:780px; line-height:1.6; }
.nt-wiki-sections { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:16px; }
.nt-wiki-section { min-width:0; padding:24px; scroll-margin-top:28px; }
.nt-wiki-section h2 { margin:7px 0 12px; font-size:21px; line-height:1.25; }
.nt-wiki-section p { margin:11px 0 0; color:var(--muted); font-size:14px; line-height:1.65; }
.nt-wiki-section strong { color:var(--ink); }
.nt-wiki-section ul, .nt-wiki-section ol { margin:13px 0; padding-left:20px; }
.nt-wiki-section li { margin:9px 0; color:var(--muted); font-size:14px; line-height:1.6; }
.nt-wiki-section a { color:var(--blue); text-decoration:underline; text-underline-offset:2px; overflow-wrap:anywhere; }
.nt-wiki-steps li::marker { color:var(--blue); font-weight:800; }
.nt-wiki-callout { padding:13px 16px; border-left:3px solid var(--blue); border-radius:0 9px 9px 0; background:var(--surface-soft); }
.nt-wiki-faq { display:grid; gap:12px; }
.nt-wiki-faq > div { padding-top:12px; border-top:1px solid var(--line); }
.nt-wiki-faq h3 { margin:0; font-size:15px; }
.nt-wiki-faq p { margin-top:5px; }
@media(max-width:1180px) { .nt-wiki-sections { grid-template-columns:1fr; } }
@media(max-width:760px) {
  .nt-wiki-layout { grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); gap:0; }
  .nt-wiki-toc { overflow-x:auto; overflow-y:hidden; padding:10px 0; border-bottom:1px solid var(--line); scrollbar-width:thin; }
  .nt-wiki-toc > strong { margin:0 0 6px; }
  .nt-wiki-toc > div { flex-direction:row; gap:4px; width:max-content; }
  .nt-wiki-toc a { min-height:36px; padding:8px 10px; border-left:0; border-bottom:2px solid transparent; border-radius:8px 8px 0 0; white-space:nowrap; }
  .nt-wiki-toc a.active, .nt-wiki-toc a[aria-current="location"] { border-left:0; border-bottom-color:var(--blue); }
  .nt-wiki-content { padding:20px 0 36px; }
  .nt-wiki-section { padding:20px; }
}
@media(prefers-reduced-motion:reduce) { .nt-wiki-content { scroll-behavior:auto; } }
