/* ZeroLog Newsroom: chronological editorial reading, graphite surfaces and reviewed user impact. */
.ds.nw, .ds.np {
  --ink: #101116; --panel: #17181f; --paper: #f0f0f5;
  --g1: #c1c2ce; --g2: #aaaab9; --g3: #9192a3;
  --rule: #444551; --rule-soft: #2d2e39; --nw-violet: #b4a5fa;
  --nw-fast: 150ms; --nw-ui: 220ms; --nw-ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 4vw, 52px); --sheet: 1140px;
  background: var(--ink); color: var(--paper);
}
.nw :focus-visible, .np :focus-visible { outline: 2px solid var(--nw-violet); outline-offset: 4px; border-radius: 4px; }
.nw ::selection, .np ::selection { background: #514474; color: #fff; }
.nw-skip { position: absolute; top: 8px; left: 20px; padding: 12px 18px; z-index: 3; background: var(--panel); color: var(--paper); transform: translateY(-150%); }
.nw-skip:focus { transform: none; }
.nw .ds-nav, .np .ds-nav { max-width: var(--sheet); margin: auto; border: 0; min-height: 84px; gap: 20px; }
.nw .ds-brand, .np .ds-brand { font-family: 'Barlow', system-ui, sans-serif; font-size: 26px; font-weight: 600; letter-spacing: -.04em; text-transform: none; }
.nw .ds-link, .np .ds-link, .nw .ds-btn, .np .ds-btn { font-family: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; }
.nw .ds-btn, .np .ds-btn { border: 1px solid var(--rule); border-radius: 8px; min-height: 44px; }
.nw .ds-crumb, .np .ds-crumb { letter-spacing: 0; text-transform: none; font-size: 12px; }
.nw-language { display: inline-flex; padding: 3px; border: 1px solid var(--rule-soft); border-radius: 8px; background: var(--panel); }
.nw-language a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 5px; font-size: 12px; text-decoration: none; color: var(--g2); transition: background var(--nw-fast), color var(--nw-fast); }
.nw-language a[aria-current] { background: #302b43; color: var(--nw-violet); }
.nw-main, .np-main { max-width: var(--sheet); margin: auto; padding: clamp(34px, 6vw, 76px) var(--pad) 60px; }
.nw-head { max-width: 64ch; }
.nw-kicker { margin: 0 0 16px; font-family: var(--mono); color: var(--g3); font-size: 11px; letter-spacing: .03em; }
.nw-head h1 { margin: 0 0 18px; font-size: clamp(40px, 6vw, 68px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.nw-lede { margin: 0; font-size: clamp(17px, 2.3vw, 20px); line-height: 1.5; color: var(--g1); text-wrap: pretty; }
.nw-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; }
.nw-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--rule-soft); border-radius: 8px; text-decoration: none; color: var(--g1); font-size: 14px; transition: background var(--nw-fast), color var(--nw-fast), border-color var(--nw-fast); }
.nw-chip span { color: var(--g3); font-size: 12px; font-variant-numeric: tabular-nums; }
.nw-chip.is-on { background: #262235; border-color: #554b75; color: var(--nw-violet); }
.nw-scale { max-width: 74ch; margin: 16px 0 0; color: var(--g3); font-size: 12px; line-height: 1.6; }
.nw-rail { --rail: 5.5rem; list-style: none; margin: 28px 0 0; padding: 0; }
.nw-year { padding: 24px 0 12px; font-family: var(--mono); font-size: 12px; color: var(--g2); }
.nw-entry { --impact-color: #9698a7; }
.nw-entry[data-impact='2'], .nw-impact[data-impact='2'] { --impact-color: #a9a1c5; }
.nw-entry[data-impact='3'], .nw-impact[data-impact='3'] { --impact-color: #b1a1e7; }
.nw-entry[data-impact='4'], .nw-impact[data-impact='4'] { --impact-color: #b4a5fa; }
.nw-entry > a { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); align-items: start; padding: 26px 16px 26px 0; border-top: 1px solid var(--rule-soft); border-radius: 0 12px 12px 0; color: inherit; text-decoration: none; position: relative; isolation: isolate; }
.nw-entry > a::after { content: ''; position: absolute; inset: 0 0 0 var(--rail); border-radius: 12px; background: var(--panel); z-index: -1; opacity: 0; transform: translateX(-4px); transition: opacity var(--nw-fast), transform var(--nw-ui) var(--nw-ease); }
.nw-date, .np-date { display: flex; flex-direction: column; gap: 5px; padding: 3px 20px 0 0; font-variant-numeric: tabular-nums; }
.nw-date b, .np-date b { font-size: 24px; font-weight: 500; line-height: 1; color: var(--g1); }
.nw-date i, .np-date i { font: normal 11px var(--mono); color: var(--g3); }
.nw-text { min-width: 0; padding-left: 20px; border-left: 2px solid var(--impact-color); }
.nw-entry-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 10px; }
.nw-cat, .np-cat { color: var(--g2); font-size: 12px; }
.nw-title { display: block; max-width: 42ch; color: var(--paper); font-size: clamp(21px, 2.5vw, 27px); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; text-wrap: pretty; }
.nw-lead { display: block; margin-top: 10px; max-width: 72ch; color: var(--g1); font-size: 15px; line-height: 1.65; }
.nw-effect { display: block; margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--impact-color); }
.nw-impact { --impact-color: #9698a7; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--impact-color); }
.nw-impact-bars { display: inline-flex; gap: 3px; flex-shrink: 0; }
.nw-impact-bars i { width: 5px; height: 12px; border-radius: 2px; background: var(--rule-soft); }
.nw-impact-bars .is-filled { background: var(--impact-color); }
.nw-language-notice { display: block; margin: 16px 0 0; color: var(--g2); font-size: 12px; }
.nw-leer { margin-top: 40px; color: var(--g1); }
.np-art { max-width: 84ch; }
.np-back { display: none; }
.np-head { --rail: 5.5rem; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); margin-bottom: 36px; }
.np-headtext { padding-left: 20px; min-width: 0; }
.np-cat { margin: 0 0 14px; }
.np-art h1 { margin: 0 0 24px; font-size: clamp(30px, 5vw, 52px); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; text-wrap: pretty; }
.np-lead { margin: 0; color: var(--g1); font-size: clamp(18px, 2.5vw, 22px); line-height: 1.55; }
.np-impact { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule-soft); }
.np-impact p { margin: 8px 0 0; color: var(--g2); font-size: 14px; }
.np-body { margin-left: calc(5.5rem + 20px); max-width: 68ch; font-size: 17px; line-height: 1.75; color: var(--g1); overflow-wrap: anywhere; }
.np-body p { margin: 0 0 1.3em; }
.np-body-plain { white-space: pre-line; }
.np-body h2 { margin: 2em 0 .7em; font-size: clamp(22px, 3vw, 27px); line-height: 1.25; font-weight: 500; color: var(--paper); }
.np-body h3 { margin: 1.7em 0 .6em; font-size: 19px; font-weight: 500; color: var(--paper); }
.np-body ul, .np-body ol { padding-left: 1.2em; margin: 0 0 1.4em; }
.np-body li { margin: 0 0 .6em; }
.np-body strong { color: var(--paper); font-weight: 600; }
.np-body a { color: var(--nw-violet); text-decoration: underline; text-underline-offset: 4px; }
.np-body code { font-family: var(--mono); font-size: .85em; padding: 2px 5px; border-radius: 4px; background: var(--panel); color: var(--paper); }
.np-body pre { max-width: 100%; overflow-x: auto; padding: 16px; border: 1px solid var(--rule-soft); border-radius: 8px; background: var(--panel); }
.np-body pre code { padding: 0; }
.np-body img, .np-body video, .np-body svg { max-width: 100%; height: auto; }
.np-body table { display: block; max-width: 100%; overflow-x: auto; }
.np-entwurf { margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--rule); border-radius: 8px; color: var(--g1); }
.nw .ds-fine, .np .ds-fine { margin-top: 0; }
.np .ds-foot { margin-top: 0; padding-top: 28px; }
.np .ds-foot a { border-radius: 8px; }
.np .ds-foot i { color: var(--g3); }
.nw-entry > a:focus-visible::after { opacity: 1; transform: none; }
.nw-chip:focus-visible, .nw-language a:focus-visible { background: var(--panel); color: var(--nw-violet); }
@media (hover: hover) and (pointer: fine) {
  .nw-entry > a:hover::after { opacity: 1; transform: none; }
  .nw-entry > a:hover .nw-title { color: var(--impact-color); }
  .nw-chip:hover { background: var(--panel); border-color: var(--rule); }
  .nw-language a:hover { color: var(--paper); }
}
@media (max-width: 720px) {
  .nw .ds-nav, .np .ds-nav { gap: 12px; }
  .nw .ds-crumb, .np .ds-crumb { display: none; }
  .np-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 16px; color: var(--nw-violet); font-size: 14px; text-decoration: none; transition: color var(--nw-fast); }
  .nw .ds-link, .np .ds-link { font-size: 13px; }
  .nw .ds-btn, .np .ds-btn { padding-inline: 12px; font-size: 13px; }
  .nw-entry-meta { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .nw-main, .np-main { padding-top: 24px; }
  .nw-head h1 { margin-bottom: 12px; font-size: 36px; }
  .nw-lede { font-size: 16px; }
  .nw-filter { margin-top: 22px; gap: 6px; }
  .nw-scale { margin-top: 12px; }
  .nw-rail { margin-top: 20px; }
  .nw-entry[data-impact]:not([data-impact='0']) .nw-lead { display: none; }
  .nw-rail { --rail: 0rem; }
  .nw-entry > a, .np-head { display: block; padding-right: 0; }
  .nw-date, .np-date { flex-direction: row; align-items: baseline; padding: 0 0 14px; }
  .nw-date b, .np-date b { font-size: 14px; }
  .nw-text { display: block; padding-left: 14px; }
  .np-headtext { padding-left: 0; }
}
@media (max-width: 640px) {
  .np-body { margin-left: 0; font-size: 16px; }
  .nw-entry > a::after { inset-inline-start: 0; }
  .nw .ds-nav, .np .ds-nav { column-gap: 8px; }
  .nw .ds-brand, .np .ds-brand { font-size: 23px; }
  .nw .ds-gap, .np .ds-gap { display: none; }
  .nw .ds-brand, .np .ds-brand { flex: 1 1 auto; min-width: 0; }
  .nw-language { flex: 0 0 auto; margin-left: auto; }
  .nw .ds-link, .np .ds-link, .nw .ds-btn, .np .ds-btn { order: 2; }
  .nw .ds-btn, .np .ds-btn { margin-left: auto; }
  .nw-language a { min-width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .nw *, .nw *::before, .nw *::after, .np *, .np *::before, .np *::after { transition: none !important; animation: none !important; }
  .nw-entry > a::after { transform: none; }
}
