/* One public layout contract. Loaded last by both Next.js and the reader.
   Route content can differ; grid, navigation and control geometry cannot. */
html { overflow-y: scroll; scrollbar-gutter: stable; }
/* A theme must not switch WebKit between classic and overlay scrollbars. */
:root, :root[data-theme] { scrollbar-width: auto; scrollbar-color: auto; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--page); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }
:root {
  --theme-toggle-track: #eae1eb;
  --theme-toggle-knob: #fff;
  --theme-toggle-shadow: 0 2px 6px #35243e24;
  --transition: 160ms ease;
  --nc-layout-width: 1760px;
  --nc-sidebar-width: 205px;
  --nc-rail-width: 280px;
  --nc-layout-gap: 24px;
  --nc-outer-gutter: 30px;
  --nc-content-gutter: 30px;
}
:is(.app-grid, .app-grid.wide, .nc-public-shell .ty-product-grid) {
  width: 100%;
  max-width: var(--nc-layout-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: var(--nc-sidebar-width) minmax(0, 1fr) var(--nc-rail-width);
  gap: var(--nc-layout-gap);
  padding: 0 var(--nc-outer-gutter);
}
:is(.main-column, .wide .main-column, .nc-public-shell .ty-product-main) {
  min-width: 0;
  padding: 24px var(--nc-content-gutter) 60px;
  border-inline: 1px solid var(--line);
  background: var(--surface);
  min-height: calc(100dvh - 26px);
}
:root[data-theme] .nc-public-shell .ty-product-main { background: var(--surface); }
.nc-public-shell .ty-product-main::before { display: none; }
/* Discovery should lead with search and reporting, not repeat the demo hero. */
.main-column > .yr-pulse-lane { display: none !important; }
.main-column:not(:has(> .feed-tabs)) > .yr-pref-bar,
:root[data-theme] .main-column:not(:has(> .feed-tabs)) > .yr-pref-bar { min-height: 44px; margin-bottom: 20px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.main-column > .yr-pref-bar strong { display: none; }
/* Every catalogue uses the same story treatment, including Discover, saved
   reports and source pages. Status belongs in a label, never a full-height rail. */
.main-column .report-card,
:root[data-theme] .main-column .report-card {
  box-shadow: none !important;
  border-inline: 0 !important;
  border-color: var(--line) !important;
  background: var(--surface) !important;
  transform: none !important;
}
.main-column .report-card > .community-bar > .reaction-quick-set,
.main-column .report-card .yr-pulse-why,
.main-column .report-card .yr-pulse-marker-score { display: none !important; }
.main-column .report-card .yr-pulse-card-marker {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--berry);
}
.main-column .report-card .yr-pulse-marker-dot { display: none; }
.main-column .report-card .report-summary { font-size: 16px; line-height: 1.6; }
.main-column .report-card .report-actions :is(.text-button, .text-link) { min-height: 44px; font-size: 13px; }
@media (min-width: 768px) {
  .main-column .report-card,
  :root[data-theme] .main-column .report-card { margin: 0; padding: 24px 0; border-top: 0; border-radius: 0; }
  .main-column .report-card .report-heading h2 { font-size: clamp(22px, 1.6vw, 26px); line-height: 1.25; }
  .main-column .report-card .identity strong { font-size: 14px; }
  .main-column .report-card .yr-pulse-marker-label { font-size: 10px; }
}
:is(.sidebar, .nc-public-shell .ty-product-sidebar) {
  position: sticky;
  top: 16px;
  height: auto;
  align-self: start;
  min-width: 0;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}
:is(.sidebar > .brand, .nc-public-shell .ty-product-sidebar > .ty-product-brand) { margin: 0 0 24px 9px; }
:is(.sidebar-bottom, .nc-public-shell .ty-product-sidebar-bottom) { margin-top: 24px; padding: 16px 8px 0; border-top: 1px solid var(--line); }
:is(.sidebar nav, .nc-public-shell .ty-product-nav) { flex-shrink: 0; overflow: visible; }
/* Short/zoomed windows need one natural page scroll, not a clipped fixed rail. */
@media (max-height: 760px) {
  :is(.sidebar, .nc-public-shell .ty-product-sidebar) { position: static; }
}
.nc-page-jumps { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: 0 0 24px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.nc-page-jumps a, .nc-page-top { display: inline-flex; align-items: center; min-height: 44px; color: var(--berry); font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.nc-page-jumps a:hover, .nc-page-top:hover { color: var(--ink); }
.nc-page-top { margin-top: 20px; }
:is(.right-rail, .nc-public-shell .ty-product-rail) { display: block; padding-top: 36px; min-width: 0; }
:is(.build-strip, .nc-public-shell .ty-product-build-strip) {
  height: auto;
  min-height: 26px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 9px;
  color: var(--muted);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
}
:is(.build-strip, .nc-public-shell .ty-product-build-strip) strong { color: inherit; font-size: inherit; font-weight: 700; letter-spacing: .06em; }
:is(.build-strip button, .nc-public-shell .ty-product-build-strip a) { min-height: 24px; display: inline-flex; align-items: center; padding: 0; font: inherit; color: inherit; text-decoration: underline; }
.nc-public-shell .ty-product-story-lines h3 { font-weight: 700; }
.nc-public-shell .ty-product-nav-link[aria-current="page"] { color: #fff; background: var(--deep); font-weight: 650; }
.nc-public-shell .ty-product-main .nc-public-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.nc-public-toolbar .ty-product-eyebrow { color: var(--berry); margin: 0; font-size: 9px; line-height: 1.5; }
:is(.yr-member-dock, .nc-public-shell .nc-member-dock) {
  position: static !important;
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 20px auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.nc-public-shell .nc-member-dock { flex-shrink: 0; margin: 0; }
:is(.yr-member-dock, .nc-member-dock) .yr-member-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}
:is(.yr-member-dock, .nc-member-dock) .yr-member-join { background: var(--berry); color: var(--on-berry, #fff); }
:is(.yr-member-dock, .nc-member-dock) .yr-member-support { background: var(--surface-alt); border-color: var(--line); }
.nc-public-shell :is(a, button, input, summary):focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }
.nc-skip-link { position: fixed; z-index: 100; left: 16px; top: -100px; padding: 12px 18px; border-radius: 10px; background: var(--surface); color: var(--ink); }
.nc-skip-link:focus { top: 12px; }
.nc-public-content { min-width: 0; font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
.nc-public-content .nc-public-page { max-width: none; margin: 0; padding: 0; }
.nc-public-content h1 { margin-top: 0; color: var(--ink); font-family: inherit; font-size: clamp(28px, 2.4vw, 34px); line-height: 1.16; letter-spacing: -1.1px; font-weight: 750; }
.nc-public-content :is(p, li).text-sm { font-size: 15px; line-height: 1.75; }
.nc-public-content .nc-article { max-width: 44rem; margin-inline: auto; }
.nc-public-content .nc-article h1 { font-size: clamp(28px, 2.8vw, 38px); }
.nc-public-content :is(img, video) { max-width: 100%; }
.nc-public-content input:not([type="checkbox"]):not([type="radio"]), .nc-public-content select { min-width: 0; max-width: 100%; font-size: 16px; }
.nc-public-content .ty-login-stage { display: block; padding: 0; border: 0; background: none; box-shadow: none; }
.nc-public-content .ty-login-orbit { display: none; }
.nc-public-content .ty-login-context { margin-top: 20px; padding: 20px; }
.nc-public-content .ty-login-form-zone { padding: 24px; }
.nc-public-content .ty-account-heading { margin-bottom: 24px; }
.nc-public-content .ty-account-live { display: none; }
.nc-public-links { color: var(--muted); font-size: 11px; line-height: 1.65; }
.nc-public-links nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.nc-public-links a:hover { color: var(--berry); text-decoration: underline; }
.nc-public-links p { margin-top: 18px; }
.nc-public-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.nc-rail-footer { margin-top: 32px; }
.nc-recovery .ty-system-recovery-card { width: 100%; padding: 24px; }
.nc-loading-lines { display: grid; gap: 14px; margin-top: 36px; }
.nc-loading-lines span { height: 18px; border-radius: 6px; background: var(--surface-alt); }
.nc-loading-lines span:last-child { width: 65%; }
.yr-theme-quick {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin: 12px 0 0;
  padding: 8px 9px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--muted);
  text-align: left;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.yr-theme-quick:hover {
  border-color: var(--rose-line);
  background: var(--berry-wash);
  color: var(--ink);
  transform: translateY(-1px);
}

.yr-theme-quick:active {
  transform: translateY(1px);
}

:root[data-theme="dark"] .yr-theme-quick {
  border-color: rgba(255,255,255,.075);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: 0 12px 32px rgba(0,0,0,.18), 0 1px 0 rgba(255,255,255,.025) inset;
}

:root[data-theme="dark"] .yr-theme-quick:hover {
  border-color: rgba(255,79,154,.32);
  background: linear-gradient(145deg, rgba(255,79,154,.13), rgba(255,79,154,.055));
  box-shadow: 0 15px 38px rgba(0,0,0,.22), 0 0 26px rgba(255,79,154,.05);
}

.yr-theme-quick-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--berry-wash);
  color: var(--berry);
}

:root[data-theme="dark"] .yr-theme-quick-icon {
  color: #ffacd0;
  border: 1px solid rgba(255,79,154,.14);
  background: rgba(255,79,154,.10);
  box-shadow: 0 0 24px rgba(255,79,154,.08);
}

.yr-theme-quick-icon svg,
.yr-theme-mobile svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yr-theme-quick-copy {
  min-width: 0;
  flex: 1;
}

.yr-theme-quick-copy strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.25;
}

.yr-theme-quick-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.yr-theme-switch {
  position: relative;
  width: 36px;
  height: 21px;
  flex: 0 0 36px;
  border-radius: 999px;
  background: var(--theme-toggle-track);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.yr-theme-switch > i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--theme-toggle-knob);
  box-shadow: var(--theme-toggle-shadow);
  transition: transform 180ms cubic-bezier(.2,.7,.2,1), background 180ms ease, box-shadow 180ms ease;
}

:root[data-theme="dark"] .yr-theme-switch {
  box-shadow: inset 0 0 0 1px #523749, 0 0 20px rgba(255,79,154,.05);
}

:root[data-theme="dark"] .yr-theme-switch > i {
  transform: translateX(15px);
  background: linear-gradient(145deg, #ff8fbe, #f53b89);
  box-shadow: 0 5px 16px rgba(255,79,154,.32);
}


@media (min-width: 1600px) {
  :root { --nc-layout-width: 1760px; --nc-sidebar-width: 220px; --nc-rail-width: 290px; --nc-layout-gap: 24px; --nc-outer-gutter: 32px; --nc-content-gutter: 32px; }
}
@media (max-width: 1279px) and (min-width: 768px) {
  :root { --nc-layout-width: 1050px; --nc-layout-gap: 28px; --nc-outer-gutter: 25px; }
  :is(.app-grid, .app-grid.wide, .nc-public-shell .ty-product-grid) { grid-template-columns: var(--nc-sidebar-width) minmax(0, 1fr); }
  :is(.right-rail, .nc-public-shell .ty-product-rail) { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --nc-layout-width: 920px; --nc-sidebar-width: 73px; --nc-layout-gap: 17px; --nc-outer-gutter: 20px; --nc-content-gutter: 32px; }
  :is(.sidebar, .nc-public-shell .ty-product-sidebar) { align-items: center; }
  :is(.sidebar > .brand, .nc-public-shell .ty-product-sidebar > .ty-product-brand) { margin: 0 0 37px; }
  :is(.sidebar > .brand > span, .ty-product-sidebar > .ty-product-brand > span,
    .ty-product-nav-link > span, .ty-product-build-link > span, .ty-product-build-link .ty-product-arrow,
    .ty-product-account-entry > span, .ty-product-account-entry > .ty-product-arrow, .ty-product-theme-copy, .ty-product-theme-symbol,
    .sidebar .yr-account-entry > span, .sidebar .yr-theme-quick-copy, .sidebar .yr-theme-quick-icon,
    .sidebar .preview-side-note, .ty-product-demo-note) { display: none !important; }
  .nc-public-shell .ty-product-nav { width: 100%; }
  .nc-public-shell .ty-product-nav-link { justify-content: center; padding: 12px; min-height: 49px; }
  .nc-public-shell .ty-product-nav-section { font-size: 0; margin: 14px 0; padding-top: 9px; }
  :is(.sidebar-bottom, .nc-public-shell .ty-product-sidebar-bottom) { width: 100%; padding: 20px 0 0; }
  :is(.ty-product-account-entry, .ty-product-theme-entry, .ty-product-build-link, .sidebar .yr-account-entry, .sidebar .yr-theme-quick) { justify-content: center; padding-inline: 10px; }
  .nc-public-shell .ty-product-account-entry { min-height: 49px; }
  .nc-public-shell .ty-product-account-pulse { display: none; }
}
@media (max-width: 767px) {
  :root { --nc-content-gutter: 16px; }
  :is(.app-grid, .app-grid.wide, .nc-public-shell .ty-product-grid) { display: block; max-width: 640px; padding: 0; }
  :is(.sidebar, .right-rail, .nc-public-shell .ty-product-sidebar, .nc-public-shell .ty-product-rail) { display: none; }
  :is(.main-column, .wide .main-column, .nc-public-shell .ty-product-main) { display: flow-root; padding: 0 var(--nc-content-gutter) calc(82px + env(safe-area-inset-bottom)); border: 0; min-height: calc(100dvh - 92px); }
  :is(.build-strip, .nc-public-shell .ty-product-build-strip) { min-height: 36px; font-size: 10px; }
  :is(.build-divider, .ty-product-build-strip > span[aria-hidden="true"]:not(.ty-product-build-dot)) { display: none; }
  :is(.mobile-header, .nc-public-shell .ty-product-mobile-header) { position: static; height: 56px; gap: 0; padding-inline: 16px; background: var(--surface); }
  :is(.bottom-nav, .nc-public-shell .ty-product-bottom-nav) { min-height: 67px; padding: 8px 8px max(7px, env(safe-area-inset-bottom)); background: var(--surface); }
  :is(.bottom-nav, .nc-public-shell .ty-product-bottom-nav) > a { min-width: 50px; min-height: 49px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; font-size: 11px; font-weight: 500; line-height: 1.25; letter-spacing: 0; color: var(--muted); }
  :is(.bottom-nav, .nc-public-shell .ty-product-bottom-nav) > a[aria-current="page"] { color: var(--berry); font-weight: 700; }
  :is(.bottom-nav, .nc-public-shell .ty-product-bottom-nav) > a > svg { width: 22px; height: 22px; }
  .nc-public-shell .ty-product-mobile-header > div { gap: 1px; }
  .nc-public-shell .ty-product-mobile-header :is(.ty-theme-toggle, .ty-product-icon-button) { width: 44px; min-width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); box-shadow: none; }
  .nc-public-shell .ty-product-main .nc-public-toolbar { margin: 0 0 22px; padding: 10px 0 0; }
  .nc-public-toolbar > .ty-product-eyebrow { display: none; }
  :is(.yr-member-dock, .nc-public-shell .nc-member-dock) { width: 100%; margin: 4px 0 16px; gap: 6px; }
  .nc-public-shell .nc-member-dock { margin: 0; }
  :is(.yr-member-dock, .nc-member-dock) .yr-member-join { margin-left: auto; }
  .nc-public-content h1 { font-size: 28px; }
  .nc-public-content .ty-login-form-zone { padding: 20px 16px; }
  .nc-public-footer { margin-top: 32px; }
}
@media print {
  .nc-public-shell :is(.ty-product-sidebar, .ty-product-rail, .ty-product-build-strip, .ty-product-mobile-header, .ty-product-bottom-nav, .nc-public-toolbar, .nc-public-links) { display: none; }
  .nc-public-shell .ty-product-grid { display: block; padding: 0; }
  .nc-public-shell .ty-product-main { border: 0; padding: 0; }
}

@media (max-width: 767px) {
  .main-column .report-actions { column-gap: 8px; row-gap: 0; justify-content: space-between; }
  .main-column .report-actions .action-spacer { display: none; }
}

/* Account identity must keep its own contrast, independent of action colours. */
:is(.yr-member-dock, .nc-member-dock) .yr-member-account {
  background: var(--brand-nav, #38233e);
  color: #fff;
  padding: 7px 12px;
  gap: 9px;
}
:is(.yr-member-dock, .nc-member-dock) .yr-member-account-copy strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  max-width: 140px;
}
:is(.yr-member-dock, .nc-member-dock) .yr-member-account-copy small {
  color: #eee5ef;
  font-size: 11px;
  line-height: 1.2;
}
.main-column:has(> .feed-tabs) > .queue-wrapper:has(.new-reports[hidden]),
.main-column:has(> .feed-tabs) > .queue-wrapper:empty { display: none; }
.main-column:has(> .feed-tabs) > .queue-wrapper { height: auto; padding: 8px 0 0; }
@media (min-width: 768px) {
  .main-column:has(> .feed-tabs) { padding-top: 24px; column-gap: 16px; }
  .main-column:has(> .feed-tabs) .page-heading .eyebrow { margin-bottom: 4px; font-size: 9px; }
  .main-column:has(> .feed-tabs) .page-heading h1 { font-size: 30px; line-height: 1.1; margin: 0; }
  .main-column:has(> .feed-tabs) > .yr-pref-bar {
    min-height: 44px; margin: 8px 0 0; padding: 0 88px 0 0;
  }
  .main-column:has(> .feed-tabs) > .page-heading > .button { margin-top: 8px; }
  .main-column:has(> .feed-tabs) > .feed-tabs { gap: 24px; }
  .main-column:has(> .feed-tabs) > .feed-tabs > button { min-height: 44px; padding-block: 10px; }
  .main-column:has(> .feed-tabs) > .topic-chips { padding: 12px 0 8px; }
  .main-column .report-card,
  :root[data-theme] .main-column .report-card { padding-block: 20px; }
  .main-column .report-card:first-child { padding-top: 16px; }
  .main-column .report-card .report-byline { margin-bottom: 12px; }
  .main-column .report-card .report-summary { margin-bottom: 16px; }
  .main-column .report-card .report-image {
    display: block; width: 100%; height: clamp(220px, 23vw, 340px);
    aspect-ratio: auto; object-fit: cover;
  }
  .main-column .report-card .report-image-link { border-radius: 12px; }
  :is(.right-rail, .nc-public-shell .ty-product-rail) { padding-top: 24px; }
}


/* The live reader uses the same shell geometry as every public route. */
@media (max-width: 767px) {
  :is(.build-strip, .nc-public-shell .ty-product-build-strip) { flex-wrap: nowrap; }
  :is(.build-strip, .nc-public-shell .ty-product-build-strip) > span:not([aria-hidden]) { display: none; }
}
.nc-news-home { padding-block: 8px 24px; }
.nc-news-heading { margin-bottom: 22px; }
.nc-news-heading h1 { margin: 4px 0 10px; font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -.04em; line-height: 1.12; }
.nc-news-heading > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0; }
.nc-news-kicker { margin: 0 0 6px; color: var(--berry); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nc-news-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.nc-news-topics a { min-height: 44px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); font-size: .875rem; background: var(--surface); }
.nc-news-topics a:hover { border-color: var(--berry); color: var(--berry); }
.nc-news-section { margin: 0 0 36px; }
.nc-news-section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.nc-news-section-heading h2 { margin: 0; font-size: 1.375rem; font-weight: 750; letter-spacing: -.025em; line-height: 1.3; }
.nc-news-section-heading > :is(a,span), .nc-news-status { margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.nc-news-section-heading > a, .nc-news-read { color: var(--berry); font-weight: 650; }
.nc-news-grid, .nc-wire-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.nc-news-card { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.nc-news-media { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; background: var(--surface-alt); }
.nc-news-media img { object-fit: cover; }
.nc-news-card-copy { padding-top: 14px; }
.nc-news-card:not(:has(.nc-news-media)) .nc-news-card-copy { padding-top: 0; }
.nc-news-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.nc-news-meta a { color: var(--berry); font-weight: 650; }
.nc-news-card h2, .nc-wire-report h3 { margin: 9px 0 12px; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.025em; font-weight: 750; overflow-wrap: anywhere; }
.nc-news-lead h2 { font-family: var(--font-serif), Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12; }
.nc-news-card h2 a:hover, .nc-wire-report h3 a:hover { color: var(--berry); }
.nc-news-brief { margin: 0 0 14px; color: var(--ink); font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.nc-news-byline { font-size: .8125rem; line-height: 1.5; color: var(--muted); margin: 10px 0; }
.nc-news-read { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: .875rem; }
.nc-news-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.nc-news-filters label { flex: 1 1 130px; font-size: .875rem; font-weight: 600; }
.nc-news-filters :is(input,select) { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.nc-wire-report { border-bottom: 1px solid var(--line); padding-bottom: 20px; min-width: 0; }
.nc-wire-report figure { margin: 12px 0; }
.nc-wire-report figcaption { color: var(--muted); font-size: .75rem; line-height: 1.5; padding-top: 5px; }
.nc-news-empty { padding: 18px; background: var(--surface-alt); border-radius: 12px; color: var(--muted); font-size: .9375rem; line-height: 1.65; }
.nc-news-empty :is(a,button) { color: var(--berry); text-decoration: underline; }
.nc-news-update { display: block; width: 100%; min-height: 44px; padding: 12px 16px; margin: 12px 0 20px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 10px; color: var(--berry); font-weight: 650; }
.nc-news-note { color: var(--muted); font-size: .8125rem; line-height: 1.6; margin: 12px 0 0; }
.nc-news-ranked { list-style: decimal; padding-left: 24px; }
.nc-news-ranked li { padding: 12px 0 12px 8px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; font-weight: 650; line-height: 1.5; }
.nc-news-ranked li::marker { color: var(--berry); }
.nc-news-newsletter { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-alt); display: grid; gap: 20px; margin-block: 24px; }
.nc-news-newsletter h2 { margin: 6px 0 12px; font-size: 1.5rem; line-height: 1.25; }
.nc-news-newsletter p { font-size: 1rem; line-height: 1.6; }
.nc-news-home :is(a,button,input,select):focus-visible { outline: 2px solid var(--berry); outline-offset: 4px; }
@media (max-width: 600px) {
  .nc-news-grid, .nc-wire-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .nc-news-section { margin-bottom: 28px; }
  .nc-news-newsletter { padding: 20px 16px; }
}
.nc-news-search-button { min-height: 44px; align-self: end; padding: 10px 20px; border: 1px solid var(--berry); border-radius: 8px; color: var(--berry); font-weight: 650; }
.nc-news-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-top: 24px; }
.nc-news-pagination a { padding: 12px 18px; min-height: 44px; color: var(--berry); border: 1px solid var(--line); border-radius: 8px; }
