
#worldforexnews-prototype {
  --fx-bg: light-dark(#f4f6f8, #111923);
  --fx-surface: light-dark(#ffffff, #182330);
  --fx-surface-soft: light-dark(#f7f9fb, #202e3d);
  --fx-text: light-dark(#182a40, #e9eef4);
  --fx-muted: light-dark(#5c6b7b, #a8b4c1);
  --fx-line: light-dark(#dce3e9, #344453);
  --fx-blue: light-dark(#1456a0, #79b6ff);
  --fx-blue-dark: light-dark(#0d3566, #0d3566);
  --fx-blue-soft: light-dark(#eaf2fb, #223d59);
  --fx-warm: light-dark(#f5f1e8, #2c2b27);
  --fx-hero: light-dark(#102b4d, #102b4d);
  --fx-hero-2: light-dark(#1e5284, #1e5284);
  --fx-hero-ink: light-dark(#ffffff, #ffffff);
  --fx-grid: light-dark(rgba(255,255,255,.14), rgba(255,255,255,.14));
  color-scheme: light dark;
  color: var(--fx-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}
#worldforexnews-prototype *,
#worldforexnews-prototype *::before,
#worldforexnews-prototype *::after { box-sizing: border-box; }
#worldforexnews-prototype a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
#worldforexnews-prototype button,
#worldforexnews-prototype input,
#worldforexnews-prototype select,
#worldforexnews-prototype textarea { font: inherit; color: inherit; }
#worldforexnews-prototype button,
#worldforexnews-prototype input,
#worldforexnews-prototype select,
#worldforexnews-prototype textarea { border-radius: 0; }
#worldforexnews-prototype button { background: transparent; }
#worldforexnews-prototype h1,
#worldforexnews-prototype h2,
#worldforexnews-prototype h3,
#worldforexnews-prototype p { margin-top: 0; }
#worldforexnews-prototype h1,
#worldforexnews-prototype h2,
#worldforexnews-prototype h3 { font-weight: 400; }
#worldforexnews-prototype .preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  color: var(--fx-muted);
}
#worldforexnews-prototype .preview-controls,
#worldforexnews-prototype .preview-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#worldforexnews-prototype .preview-status strong {
  color: var(--fx-blue);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#worldforexnews-prototype .preview-button {
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid var(--fx-line);
  color: var(--fx-text);
}
#worldforexnews-prototype .preview-button[aria-pressed="true"] {
  background: var(--fx-blue);
  border-color: var(--fx-blue);
  color: light-dark(#ffffff, #0d1c2c);
}
#worldforexnews-prototype .app-window {
  container: worldforexnewslayout / inline-size;
  width: 100%;
  overflow: hidden;
  background: var(--fx-surface);
  border: 1px solid var(--fx-line);
}
#worldforexnews-prototype .app-window.mobile-preview {
  width: min(390px, 100%);
  margin-inline: auto;
  border-radius: 16px;
}
#worldforexnews-prototype .topline {
  background: var(--fx-blue-dark);
  color: #ffffff;
}
#worldforexnews-prototype .topline-inner,
#worldforexnews-prototype .header-inner,
#worldforexnews-prototype .page-wrap,
#worldforexnews-prototype .footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
#worldforexnews-prototype .topline-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}
#worldforexnews-prototype .topline small { color: rgba(255,255,255,.88); }
#worldforexnews-prototype .header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  padding-block: 14px;
}
#worldforexnews-prototype .brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--fx-line);
}
#worldforexnews-prototype .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fx-text);
  text-decoration: none;
  white-space: nowrap;
}
#worldforexnews-prototype .brand-symbol {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--fx-blue);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--fx-blue), var(--fx-hero));
  color: #ffffff;
  font-weight: 500;
  letter-spacing: -.08em;
}
#worldforexnews-prototype .brand-symbol::before {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  content: "";
}
#worldforexnews-prototype .brand-symbol::after {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: rgba(255,255,255,.96);
  border-right-color: rgba(255,255,255,.55);
  border-radius: 50%;
  animation: wfn-orbit 18s linear infinite;
  content: "";
}
#worldforexnews-prototype .brand-symbol span { position: relative; z-index: 1; }
#worldforexnews-prototype .brand-wordmark { display: flex; flex-direction: column; gap: 2px; }
#worldforexnews-prototype .brand-wordmark strong { color: var(--fx-text); font-weight: 500; letter-spacing: .035em; }
#worldforexnews-prototype .brand-wordmark span { color: var(--fx-blue); font-weight: 500; letter-spacing: .18em; }
@keyframes wfn-orbit { to { transform: rotate(360deg); } }
#worldforexnews-prototype .primary-nav { display: flex; align-items: center; gap: clamp(8px, .9vw, 14px); grid-column: 1; grid-row: 2; min-width: 0; flex-wrap: nowrap; font-size: .94rem; }
#worldforexnews-prototype .primary-nav > a {
  padding-block: 8px;
  color: var(--fx-muted);
  text-decoration: none;
  white-space: nowrap;
}
#worldforexnews-prototype .primary-nav > a[aria-current="page"] { color: var(--fx-blue); box-shadow: inset 0 -2px var(--fx-blue); }
#worldforexnews-prototype .header-tools { display: flex; align-items: center; justify-self: end; grid-column: 2; grid-row: 2; gap: 8px; min-width: 0; }
#worldforexnews-prototype .header-search { display: flex; align-items: center; gap: 6px; min-width: 0; }
#worldforexnews-prototype .header-search input,
#worldforexnews-prototype .search-field,
#worldforexnews-prototype .filter-field,
#worldforexnews-prototype .form-control {
  min-height: 44px;
  width: 100%;
  padding: 9px 11px;
  background: var(--fx-surface);
  border: 1px solid var(--fx-line);
}
#worldforexnews-prototype .header-search input { width: clamp(132px, 12vw, 182px); min-width: 0; }
#worldforexnews-prototype .theme-toggle {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--fx-line);
  white-space: nowrap;
}
#worldforexnews-prototype .header-search button,
#worldforexnews-prototype .saved-link,
#worldforexnews-prototype .menu-toggle {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--fx-line);
  text-decoration: none;
  white-space: nowrap;
}
#worldforexnews-prototype .header-search button:hover,
#worldforexnews-prototype .saved-link:hover,
#worldforexnews-prototype .menu-toggle:hover { background: var(--fx-blue-soft); }
#worldforexnews-prototype .menu-toggle { display: none; }
#worldforexnews-prototype .saved-count { color: var(--fx-blue); font-weight: 500; }
#worldforexnews-prototype .page-wrap { padding-block: 30px 58px; }
#worldforexnews-prototype .eyebrow,
#worldforexnews-prototype .section-label {
  color: var(--fx-blue);
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}
#worldforexnews-prototype .page-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
#worldforexnews-prototype .page-intro h1 { margin-bottom: 7px; }
#worldforexnews-prototype .page-intro p { margin-bottom: 0; color: var(--fx-muted); }
#worldforexnews-prototype .feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, .85fr);
  gap: 28px;
  align-items: start;
}
#worldforexnews-prototype .feature-lead {
  display: grid;
  grid-template-columns: minmax(190px, .82fr) minmax(0, 1fr);
  min-height: 320px;
  background: var(--fx-surface-soft);
}
#worldforexnews-prototype .feature-art,
#worldforexnews-prototype .article-art {
  position: relative;
  display: flex;
  min-height: 100%;
  align-items: end;
  overflow: hidden;
  padding: 22px;
  color: var(--fx-hero-ink);
  background:
    radial-gradient(ellipse at 70% 26%, rgba(131,193,255,.52), transparent 24%),
    repeating-linear-gradient(0deg, transparent 0 38px, var(--fx-grid) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, var(--fx-grid) 39px 40px),
    linear-gradient(140deg, var(--fx-hero), var(--fx-hero-2));
}
#worldforexnews-prototype .feature-art::after,
#worldforexnews-prototype .article-art::after {
  position: absolute;
  right: -16%;
  bottom: -34%;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.05), 0 0 0 68px rgba(255,255,255,.04);
  content: "";
}
#worldforexnews-prototype .feature-photo,
#worldforexnews-prototype .article-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
#worldforexnews-prototype .feature-art::before,
#worldforexnews-prototype .article-art::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,22,39,.72), rgba(7,22,39,.04) 70%);
  content: "";
}
#worldforexnews-prototype .feature-art:hover .feature-photo,
#worldforexnews-prototype .article-art:hover .article-photo { transform: scale(1.035); }
#worldforexnews-prototype .art-caption { position: relative; z-index: 1; max-width: 180px; }
#worldforexnews-prototype .art-caption strong { display: block; font-weight: 500; letter-spacing: .1em; }
#worldforexnews-prototype .feature-copy { align-self: center; padding: 26px; }
#worldforexnews-prototype .feature-copy h2 { margin: 12px 0; }
#worldforexnews-prototype .feature-copy p { color: var(--fx-muted); }
#worldforexnews-prototype .feature-meta,
#worldforexnews-prototype .story-meta { color: var(--fx-muted); }
#worldforexnews-prototype .text-link { color: var(--fx-blue); font-weight: 500; text-decoration: none; }
#worldforexnews-prototype .text-link:hover { text-decoration: underline; }
#worldforexnews-prototype .side-briefings h2 { margin-bottom: 6px; }
#worldforexnews-prototype .side-briefings > p { color: var(--fx-muted); }
#worldforexnews-prototype .context-lens { margin-top: 30px; padding: 22px 0 24px; border-block: 1px solid var(--fx-line); }
#worldforexnews-prototype .context-lens-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
#worldforexnews-prototype .context-lens-head h2 { margin: 5px 0 0; }
#worldforexnews-prototype .context-lens-head p { max-width: 430px; margin: 0; color: var(--fx-muted); }
#worldforexnews-prototype .context-lens-layout { display: grid; grid-template-columns: minmax(205px,.72fr) minmax(0,1.5fr); gap: 28px; align-items: stretch; }
#worldforexnews-prototype .lens-steps { display: grid; gap: 5px; align-content: start; }
#worldforexnews-prototype .lens-step { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px; border: 1px solid transparent; text-align: left; color: var(--fx-muted); transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
#worldforexnews-prototype .lens-step[aria-pressed="true"] { color: var(--fx-text); background: var(--fx-blue-soft); border-color: var(--fx-line); }
#worldforexnews-prototype .lens-number { color: var(--fx-blue); font-variant-numeric: tabular-nums; }
#worldforexnews-prototype .lens-detail { display: flex; min-height: 165px; flex-direction: column; justify-content: center; padding: 20px 24px; background: var(--fx-surface-soft); border-inline-start: 3px solid var(--fx-blue); }
#worldforexnews-prototype .lens-detail.lens-updated { animation: lens-enter 240ms ease both; }
#worldforexnews-prototype .lens-detail h3 { margin: 6px 0 8px; }
#worldforexnews-prototype .lens-detail p { max-width: 620px; margin-bottom: 10px; color: var(--fx-muted); }
#worldforexnews-prototype .lens-detail a { width: fit-content; color: var(--fx-blue); font-weight: 500; text-decoration: none; }
@keyframes lens-enter { from { opacity: .55; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
#worldforexnews-prototype .briefing-item {
  display: block;
  padding-block: 13px;
  border-top: 1px solid var(--fx-line);
  text-decoration: none;
}
#worldforexnews-prototype .briefing-item small { display: block; margin-bottom: 5px; color: var(--fx-blue); text-transform: uppercase; letter-spacing: .08em; }
#worldforexnews-prototype .briefing-item strong { font-weight: 500; }
#worldforexnews-prototype .ad-slot {
  margin-top: 17px;
  padding: 13px 15px;
  border: 1px dashed var(--fx-line);
  background: var(--fx-bg);
}
#worldforexnews-prototype .ad-slot small { display: block; margin-bottom: 6px; color: var(--fx-muted); letter-spacing: .1em; }
#worldforexnews-prototype .ad-slot p { margin-bottom: 0; color: var(--fx-muted); }
#worldforexnews-prototype .section-break { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}
#worldforexnews-prototype .section-heading h2 { margin-bottom: 0; }
#worldforexnews-prototype .topic-filter { display: flex; flex-wrap: wrap; gap: 7px; }
#worldforexnews-prototype .topic-filter button,
#worldforexnews-prototype .filter-reset {
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--fx-line);
}
#worldforexnews-prototype .topic-filter button[aria-pressed="true"] {
  color: light-dark(#ffffff, #10243a);
  background: var(--fx-blue);
  border-color: var(--fx-blue);
}
#worldforexnews-prototype .story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
#worldforexnews-prototype .story-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--fx-line);
  border-top: 2px solid var(--fx-text);
  background: var(--fx-surface);
  transition: transform 220ms ease, border-color 220ms ease;
}
#worldforexnews-prototype .story-card:hover { transform: translateY(-3px); border-color: var(--fx-blue); }
#worldforexnews-prototype .story-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  margin-bottom: 0;
  object-fit: cover;
  background: var(--fx-surface-soft);
}
#worldforexnews-prototype .story-card > .eyebrow { margin: 16px 20px 0; }
#worldforexnews-prototype .story-card h3 { margin: 8px 20px; }
#worldforexnews-prototype .story-card h3 a { text-decoration: none; }
#worldforexnews-prototype .story-card h3 a:hover { color: var(--fx-blue); }
#worldforexnews-prototype .story-card p { margin: 0 20px 12px; color: var(--fx-muted); }
#worldforexnews-prototype .story-card .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: auto 20px 0; padding: 10px 0 16px; }
#worldforexnews-prototype .save-button,
#worldforexnews-prototype .quiet-button {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--fx-line);
  white-space: nowrap;
}
#worldforexnews-prototype .save-button[aria-pressed="true"] { color: var(--fx-blue); background: var(--fx-blue-soft); }
#worldforexnews-prototype .save-button:hover,
#worldforexnews-prototype .quiet-button:hover { border-color: var(--fx-blue); }
#worldforexnews-prototype .article-crumbs { margin-bottom: 18px; color: var(--fx-muted); }
#worldforexnews-prototype .article-crumbs a { color: var(--fx-blue); }
#worldforexnews-prototype .article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 290px);
  justify-content: space-between;
  gap: 46px;
  align-items: start;
}
#worldforexnews-prototype .article-heading { max-width: 760px; }
#worldforexnews-prototype .article-heading h1 { margin: 9px 0 12px; }
#worldforexnews-prototype .article-deck { color: var(--fx-muted); }
#worldforexnews-prototype .article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 15px 0 20px;
  padding-block: 12px;
  border-block: 1px solid var(--fx-line);
}
#worldforexnews-prototype .article-art { min-height: 270px; margin-bottom: 20px; }
#worldforexnews-prototype .search-section { margin-top: 22px; }
#worldforexnews-prototype .search-section h2 { margin-bottom: 14px; }
#worldforexnews-prototype .article-body { max-width: 690px; }
#worldforexnews-prototype .article-body h2 { margin-top: 26px; }
#worldforexnews-prototype .prototype-note {
  padding: 11px 13px;
  background: var(--fx-warm);
  color: var(--fx-text);
}
#worldforexnews-prototype .article-aside { position: static; }
#worldforexnews-prototype .article-aside h2 { margin-top: 23px; }
#worldforexnews-prototype .article-aside a { display: block; padding-block: 9px; color: var(--fx-blue); border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .directory-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(170px, .8fr) minmax(150px, .7fr);
  gap: 14px;
  margin-block: 22px 12px;
}
#worldforexnews-prototype .field-label { display: block; margin-bottom: 6px; font-weight: 500; }
#worldforexnews-prototype .filter-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--fx-muted); margin-bottom: 14px; }
#worldforexnews-prototype .company-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
#worldforexnews-prototype .company-row {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 0 16px;
  border-top: 1px solid var(--fx-line);
}
#worldforexnews-prototype .company-row h2 { margin: 7px 0; }
#worldforexnews-prototype .company-row p { color: var(--fx-muted); }
#worldforexnews-prototype .company-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 13px; }
#worldforexnews-prototype .company-tags span,
#worldforexnews-prototype .demo-label {
  padding: 5px 8px;
  background: var(--fx-blue-soft);
  color: var(--fx-blue);
}
#worldforexnews-prototype .company-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
#worldforexnews-prototype .company-profile { max-width: 820px; }
#worldforexnews-prototype .company-profile .profile-intro { color: var(--fx-muted); }
#worldforexnews-prototype .profile-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-block: 24px; }
#worldforexnews-prototype .profile-fact { padding-block: 14px; border-block: 1px solid var(--fx-line); }
#worldforexnews-prototype .profile-fact strong { display: block; margin-bottom: 5px; font-weight: 500; }
#worldforexnews-prototype .empty-state {
  padding: 24px 0;
  border-block: 1px solid var(--fx-line);
}
#worldforexnews-prototype .empty-state h2 { margin-bottom: 7px; }
#worldforexnews-prototype .press-intro { max-width: 850px; padding: 17px 20px; background: var(--fx-surface-soft); }
#worldforexnews-prototype .press-intro p:last-child { margin-bottom: 0; }
#worldforexnews-prototype .press-rules { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--fx-muted); }
#worldforexnews-prototype .wizard { max-width: 900px; margin-top: 27px; }
#worldforexnews-prototype .stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 22px;
}
#worldforexnews-prototype .step-marker { padding: 10px 8px; border-bottom: 2px solid var(--fx-line); color: var(--fx-muted); }
#worldforexnews-prototype .step-marker[aria-current="step"] { color: var(--fx-blue); border-color: var(--fx-blue); font-weight: 500; }
#worldforexnews-prototype .wizard-panel { max-width: 680px; }
#worldforexnews-prototype .wizard-panel h2 { margin-bottom: 8px; }
#worldforexnews-prototype .wizard-panel > p { color: var(--fx-muted); }
#worldforexnews-prototype .form-field { margin-block: 15px; }
#worldforexnews-prototype .form-control:focus { border-color: var(--fx-blue); }
#worldforexnews-prototype textarea.form-control { min-height: 150px; resize: vertical; }
#worldforexnews-prototype .field-help { display: block; margin-top: 5px; color: var(--fx-muted); }
#worldforexnews-prototype .form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
#worldforexnews-prototype .primary-button {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--fx-blue);
  background: var(--fx-blue);
  color: light-dark(#ffffff, #10243a);
  font-weight: 500;
}
#worldforexnews-prototype .primary-button:hover { filter: brightness(1.06); }
#worldforexnews-prototype .form-status { min-height: 1.5em; margin-top: 10px; color: var(--fx-blue); }
#worldforexnews-prototype .press-preview { padding: 16px 0; border-block: 1px solid var(--fx-line); }
#worldforexnews-prototype .service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  margin-block: 24px;
}
#worldforexnews-prototype .service-item { padding-top: 13px; border-top: 2px solid var(--fx-text); }
#worldforexnews-prototype .service-item h2 { margin-bottom: 7px; }
#worldforexnews-prototype .service-item p { color: var(--fx-muted); }
#worldforexnews-prototype .inquiry-form { max-width: 720px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .contact-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; max-width: 850px; margin-block: 22px; }
#worldforexnews-prototype .contact-option { padding-block: 14px; border-block: 1px solid var(--fx-line); }
#worldforexnews-prototype .contact-option h2 { margin-bottom: 7px; }
#worldforexnews-prototype .contact-option p { margin-bottom: 0; color: var(--fx-muted); }
#worldforexnews-prototype .footer {
  padding-block: 24px;
  background: var(--fx-surface-soft);
  border-top: 1px solid var(--fx-line);
}
#worldforexnews-prototype .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
#worldforexnews-prototype .footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
#worldforexnews-prototype .footer-links a { color: var(--fx-muted); }
#worldforexnews-prototype .footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 44px 0 18px;
  color: #e8f0f8;
  background:
    radial-gradient(ellipse at 76% -8%, rgba(79,154,221,.25), transparent 38%),
    linear-gradient(135deg, #0b2036 0%, #102b45 55%, #0a1b2d 100%);
  border-top: 1px solid rgba(120,177,226,.38);
}
#worldforexnews-prototype .footer::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #74b8ff, #86d8c4 40%, rgba(134,216,196,0) 82%);
  content: "";
}
#worldforexnews-prototype .footer::after {
  position: absolute;
  z-index: -1;
  right: -130px;
  bottom: -250px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(183,211,239,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(183,211,239,.025), 0 0 0 84px rgba(183,211,239,.02);
  content: "";
  pointer-events: none;
}
#worldforexnews-prototype .footer-inner { display: block; }
#worldforexnews-prototype .footer-main {
  display: grid;
  grid-template-columns: minmax(210px, 1.15fr) minmax(0, 2fr);
  gap: clamp(32px, 6vw, 84px);
  padding-bottom: 34px;
}
#worldforexnews-prototype .footer-identity .brand { color: #f5f8fc; }
#worldforexnews-prototype .footer-identity .brand-wordmark strong { color: #f5f8fc; }
#worldforexnews-prototype .footer-identity .brand-wordmark span { color: #a8d1ff; }
#worldforexnews-prototype .footer-tagline {
  margin: 22px 0 16px;
  color: rgba(232,240,248,.72);
  font-size: .98rem;
  line-height: 1.55;
}
#worldforexnews-prototype .footer-tagline strong { color: #fff; font-weight: 560; }
#worldforexnews-prototype .footer-desk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bad1e5;
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
#worldforexnews-prototype .footer-desk i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77d2bb;
  box-shadow: 0 0 0 4px rgba(119,210,187,.12);
}
#worldforexnews-prototype .footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
#worldforexnews-prototype .footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
#worldforexnews-prototype .footer-group h2 {
  margin: 5px 0 5px;
  color: #9fc6ed;
  font-size: .71rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}
#worldforexnews-prototype .footer-group a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  color: rgba(232,240,248,.78);
  font-size: .88rem;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}
#worldforexnews-prototype .footer-group a span { color: #8fb8dc; font-size: .78rem; opacity: .55; transition: opacity 160ms ease, transform 160ms ease; }
#worldforexnews-prototype .footer-group a:hover { color: #fff; transform: translateX(2px); }
#worldforexnews-prototype .footer-group a:hover span { opacity: 1; transform: translate(2px, -1px); }
#worldforexnews-prototype .footer-group a:focus-visible,
#worldforexnews-prototype .footer-bottom a:focus-visible,
#worldforexnews-prototype .footer-identity .brand:focus-visible { outline: 2px solid #91c9ff; outline-offset: 4px; border-radius: 2px; }
#worldforexnews-prototype .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(210,228,244,.16);
  color: rgba(222,235,247,.62);
  font-size: .76rem;
  letter-spacing: .035em;
}
#worldforexnews-prototype .footer-bottom > div { display: flex; align-items: center; gap: 22px; }
#worldforexnews-prototype .footer-bottom a { color: rgba(232,240,248,.78); text-decoration: none; }
#worldforexnews-prototype .footer-bottom a:hover { color: #fff; }
#worldforexnews-prototype .footer-bottom a:last-child span { color: #a8d1ff; }
@container worldforexnewslayout (max-width: 900px) {
  #worldforexnews-prototype .footer-main { grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr); gap: 32px; }
  #worldforexnews-prototype .footer-nav { gap: 16px; }
}
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .footer { padding-top: 34px; }
  #worldforexnews-prototype .footer-main { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-bottom: 26px; }
  #worldforexnews-prototype .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@container worldforexnewslayout (max-width: 470px) {
  #worldforexnews-prototype .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  #worldforexnews-prototype .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  #worldforexnews-prototype .footer-bottom > div { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .footer-group a,
  #worldforexnews-prototype .footer-group a span { transition: none; }
}
#worldforexnews-prototype .toast {
  min-height: 1.5em;
  padding: 8px 12px;
  color: var(--fx-blue);
}
#worldforexnews-prototype [hidden] { display: none !important; }
@container worldforexnewslayout (min-width: 741px) and (max-width: 1160px) {
  #worldforexnews-prototype .header-inner { grid-template-columns: minmax(0, 1fr); }
  #worldforexnews-prototype .brand-row { grid-row: 1; }
  #worldforexnews-prototype .primary-nav { grid-column: 1 / -1; grid-row: 2; }
  #worldforexnews-prototype .header-tools { grid-column: 1 / -1; grid-row: 3; justify-self: end; }
}
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .topline-inner,
  #worldforexnews-prototype .header-inner,
  #worldforexnews-prototype .page-wrap,
  #worldforexnews-prototype .footer-inner { width: calc(100% - 32px); }
  #worldforexnews-prototype .topline-inner { justify-content: center; text-align: center; }
  #worldforexnews-prototype .topline-inner small:last-child { display: none; }
  #worldforexnews-prototype .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-block: 12px; }
  #worldforexnews-prototype .brand-row { grid-column: 1 / -1; grid-row: 1; padding-bottom: 0; border-bottom: 0; }
  #worldforexnews-prototype .menu-toggle { display: inline-block; margin-left: auto; }
  #worldforexnews-prototype .primary-nav { display: none; grid-column: 1 / -1; grid-row: 2; align-items: stretch; flex-direction: column; flex-wrap: nowrap; gap: 0; }
  #worldforexnews-prototype .primary-nav > a { padding: 11px 4px; border-top: 1px solid var(--fx-line); }
  #worldforexnews-prototype .app-window.nav-open .primary-nav { display: flex; }
  #worldforexnews-prototype .header-tools { grid-column: 1 / -1; grid-row: 3; justify-self: stretch; width: 100%; }
  #worldforexnews-prototype .header-search { flex: 1; }
  #worldforexnews-prototype .header-search input { flex: 1; }
  #worldforexnews-prototype .header-search input { width: 100%; }
  #worldforexnews-prototype .feature-layout,
  #worldforexnews-prototype .article-layout,
  #worldforexnews-prototype .context-lens-layout { grid-template-columns: minmax(0,1fr); gap: 14px; }
  #worldforexnews-prototype .feature-layout { grid-template-columns: minmax(0,1fr); gap: 25px; }
  #worldforexnews-prototype .context-lens-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  #worldforexnews-prototype .lens-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #worldforexnews-prototype .lens-step { justify-content: center; gap: 6px; padding: 7px 5px; }
  #worldforexnews-prototype .lens-detail { min-height: 145px; padding: 17px; }
  #worldforexnews-prototype .feature-lead { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .feature-art { min-height: 185px; }
  #worldforexnews-prototype .feature-copy { padding: 20px; }
  #worldforexnews-prototype .story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #worldforexnews-prototype .directory-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #worldforexnews-prototype .directory-filters .filter-wide { grid-column: 1 / -1; }
  #worldforexnews-prototype .company-list { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .article-aside { order: 2; }
  #worldforexnews-prototype .service-grid { grid-template-columns: minmax(0,1fr); }
}
@container worldforexnewslayout (max-width: 470px) {
  #worldforexnews-prototype .preview-bar { align-items: flex-start; flex-direction: column; gap: 7px; }
  #worldforexnews-prototype .page-wrap { padding-block: 22px 40px; }
  #worldforexnews-prototype .page-intro,
  #worldforexnews-prototype .section-heading,
  #worldforexnews-prototype .filter-status,
  #worldforexnews-prototype .footer-inner { align-items: flex-start; flex-direction: column; }
  #worldforexnews-prototype .story-grid,
  #worldforexnews-prototype .directory-filters,
  #worldforexnews-prototype .profile-facts,
  #worldforexnews-prototype .contact-options { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .directory-filters .filter-wide { grid-column: auto; }
  #worldforexnews-prototype .stepper { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #worldforexnews-prototype .step-marker { min-height: 44px; }
  #worldforexnews-prototype .article-art { min-height: 190px; }
  #worldforexnews-prototype .form-actions { flex-direction: column-reverse; }
  #worldforexnews-prototype .form-actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype *, #worldforexnews-prototype *::before, #worldforexnews-prototype *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #worldforexnews-prototype .brand-symbol::after { animation: none; }
}

html{color-scheme:light dark}body{margin:0;padding:0;background:light-dark(#eef2f6,#0d151e)}#worldforexnews-prototype{min-height:100vh}.app-window{border:0}

/* UX polish: resilient header, calm motion and useful reading controls. */
#worldforexnews-prototype .site-header { position: relative; z-index: 5; background: var(--fx-surface); }
#worldforexnews-prototype .primary-nav > a,
#worldforexnews-prototype button,
#worldforexnews-prototype .story-card,
#worldforexnews-prototype .briefing-item,
#worldforexnews-prototype .company-row { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
#worldforexnews-prototype .primary-nav > a:hover { color: var(--fx-blue); }
#worldforexnews-prototype button:focus-visible,
#worldforexnews-prototype a:focus-visible,
#worldforexnews-prototype input:focus-visible,
#worldforexnews-prototype select:focus-visible,
#worldforexnews-prototype textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--fx-blue) 52%, transparent); outline-offset: 2px; }
#worldforexnews-prototype .screen-enter { animation: wfn-screen-in 360ms cubic-bezier(.2,.7,.2,1) both; }
#worldforexnews-prototype .cards-enter .story-card { animation: wfn-card-in 420ms cubic-bezier(.2,.7,.2,1) both; }
#worldforexnews-prototype .cards-enter .story-card:nth-child(2) { animation-delay: 45ms; }
#worldforexnews-prototype .cards-enter .story-card:nth-child(3) { animation-delay: 90ms; }
#worldforexnews-prototype .cards-enter .story-card:nth-child(4) { animation-delay: 135ms; }
#worldforexnews-prototype .story-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(17,42,70,.11); }
#worldforexnews-prototype .briefing-item:hover { transform: translateX(4px); }
#worldforexnews-prototype .reading-progress { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 3px; background: transparent; pointer-events: none; }
#worldforexnews-prototype .reading-progress span { display: block; width: var(--read-progress, 0%); height: 100%; background: var(--fx-blue); box-shadow: 0 0 12px color-mix(in srgb, var(--fx-blue) 55%, transparent); transition: width 100ms linear; }
#worldforexnews-prototype .back-to-top { position: fixed; z-index: 12; right: max(20px, calc((100vw - 1120px) / 2)); bottom: 24px; min-height: 44px; padding: 9px 13px; border: 1px solid var(--fx-line); border-radius: 999px; background: var(--fx-surface); color: var(--fx-text); box-shadow: 0 8px 24px rgba(17,42,70,.13); animation: wfn-card-in 180ms ease both; }
#worldforexnews-prototype .back-to-top:hover { transform: translateY(-2px); border-color: var(--fx-blue); }
@keyframes wfn-screen-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wfn-card-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .header-inner { grid-template-columns: minmax(0,1fr) auto; }
  #worldforexnews-prototype .header-search input { width: 100%; }
  #worldforexnews-prototype .back-to-top { right: 16px; bottom: 16px; }
}

/* Story Compass: a practical way to navigate how a developing story is framed. */
#worldforexnews-prototype .story-compass {
  position: sticky;
  z-index: 4;
  top: 10px;
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(0, 1.5fr);
  gap: 10px 18px;
  margin: 16px 0 20px;
  padding: 15px 16px 12px;
  border: 1px solid var(--fx-line);
  border-left: 3px solid var(--fx-blue);
  background: var(--fx-surface);
  box-shadow: 0 8px 26px rgba(17,42,70,.08);
}
#worldforexnews-prototype .story-compass-copy h2 { margin: 4px 0 5px; font-size: 1.12rem; font-weight: 600; }
#worldforexnews-prototype .story-compass-copy p { margin: 0; color: var(--fx-muted); font-size: .9rem; line-height: 1.45; }
#worldforexnews-prototype .story-compass-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
#worldforexnews-prototype .compass-button,
#worldforexnews-prototype .compass-reset { min-height: 40px; padding: 7px 10px; border: 1px solid var(--fx-line); background: var(--fx-surface-soft); color: var(--fx-text); }
#worldforexnews-prototype .compass-button span { margin-right: 4px; color: var(--fx-blue); font-size: .76rem; font-weight: 600; }
#worldforexnews-prototype .compass-button[aria-pressed="true"],
#worldforexnews-prototype .compass-reset[aria-pressed="true"] { border-color: var(--fx-blue); background: var(--fx-blue-soft); color: var(--fx-blue); }
#worldforexnews-prototype .compass-button:hover,
#worldforexnews-prototype .compass-reset:hover { border-color: var(--fx-blue); transform: translateY(-1px); }
#worldforexnews-prototype .story-compass-status { grid-column: 1 / -1; margin: 0; color: var(--fx-muted); font-size: .82rem; line-height: 1.4; }
#worldforexnews-prototype .context-section { margin-block: 24px; padding: 15px 18px; border-left: 2px solid transparent; scroll-margin-top: 120px; transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
#worldforexnews-prototype .context-section.is-context-focus { border-left-color: var(--fx-blue); background: var(--fx-surface-soft); box-shadow: inset 0 0 0 1px var(--fx-line); }
#worldforexnews-prototype .context-section-label { color: var(--fx-blue); font-size: .78rem; font-weight: 600; letter-spacing: .09em; }
#worldforexnews-prototype .context-section h2 { margin: 5px 0 8px; }
#worldforexnews-prototype .context-section p { margin-bottom: 0; }
#worldforexnews-prototype .editorial-context { padding: 24px; border: 1px solid var(--fx-line); background: var(--fx-surface-soft); }
#worldforexnews-prototype .editorial-context h2 { margin: 9px 0; font-size: clamp(1.35rem, 2vw, 1.8rem); }
#worldforexnews-prototype .editorial-context > p { color: var(--fx-muted); line-height: 1.55; }
#worldforexnews-prototype .editorial-context-steps { display: grid; gap: 8px; margin-top: 22px; }
#worldforexnews-prototype .editorial-context-steps span { padding: 8px 0; border-top: 1px solid var(--fx-line); color: var(--fx-muted); font-size: .88rem; }
#worldforexnews-prototype .editorial-context .ad-slot { margin-top: 24px; }
#worldforexnews-prototype .article-source-note { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 19px; padding: 12px 14px; border-left: 3px solid var(--fx-blue); background: var(--fx-blue-soft); color: var(--fx-text); line-height: 1.5; }
#worldforexnews-prototype .article-source-note strong { color: var(--fx-blue); white-space: nowrap; }
#worldforexnews-prototype .article-change-history { margin: 0 0 20px; overflow: hidden; border: 1px solid var(--fx-line); border-radius: 12px; background: var(--fx-surface); }
#worldforexnews-prototype .article-change-history > summary { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 15px; cursor: pointer; list-style: none; }
#worldforexnews-prototype .article-change-history > summary::-webkit-details-marker { display: none; }
#worldforexnews-prototype .article-change-history > summary:focus-visible { outline: 3px solid var(--fx-blue); outline-offset: -3px; }
#worldforexnews-prototype .article-change-heading { display: grid; gap: 3px; }
#worldforexnews-prototype .article-change-heading strong { font-size: .98rem; }
#worldforexnews-prototype .article-change-status { display: inline-flex; align-items: center; gap: 10px; color: var(--fx-muted); font-size: .8rem; text-align: right; }
#worldforexnews-prototype .article-change-chevron { color: var(--fx-blue); font-size: 1.12rem; transition: transform .18s ease; }
#worldforexnews-prototype .article-change-history[open] .article-change-chevron { transform: rotate(180deg); }
#worldforexnews-prototype .article-change-panel { padding: 0 15px 14px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .article-change-origin { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--fx-muted); font-size: .84rem; }
#worldforexnews-prototype .article-change-origin time { color: var(--fx-text); font-weight: 700; }
#worldforexnews-prototype .article-change-list { margin: 0; padding: 0; border-top: 1px solid var(--fx-line); list-style: none; }
#worldforexnews-prototype .article-change-list li { display: grid; grid-template-columns: minmax(90px, .25fr) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--fx-line); }
#worldforexnews-prototype .article-change-list time { color: var(--fx-muted); font-size: .82rem; }
#worldforexnews-prototype .article-change-list li > div { display: grid; gap: 6px; }
#worldforexnews-prototype .article-change-list a { width: fit-content; color: var(--fx-blue); font-size: .82rem; }
#worldforexnews-prototype .article-change-empty { margin: 0; padding: 0 0 9px; color: var(--fx-muted); font-size: .87rem; line-height: 1.5; }
#worldforexnews-prototype .article-change-footnote { margin: 5px 0 0; color: var(--fx-muted); font-size: .78rem; line-height: 1.5; }
#worldforexnews-prototype .article-change-footnote a { color: var(--fx-blue); }
#worldforexnews-prototype .event-outcome-tracker { margin: 0 0 25px; padding: clamp(14px, 2vw, 20px); border: 1px solid var(--fx-line); border-top: 3px solid var(--fx-blue); border-radius: 12px; background: linear-gradient(145deg, var(--fx-surface), color-mix(in srgb, var(--fx-blue) 3%, var(--fx-surface))); }
#worldforexnews-prototype .event-outcome-tracker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
#worldforexnews-prototype .event-outcome-tracker-head h2 { margin: 5px 0 6px; font-size: 1.2rem; }
#worldforexnews-prototype .event-outcome-tracker-head p { max-width: 62ch; margin: 0; color: var(--fx-muted); font-size: .86rem; line-height: 1.5; }
#worldforexnews-prototype .event-outcome-count { flex: 0 0 auto; padding: 6px 9px; border: 1px solid var(--fx-line); border-radius: 999px; color: var(--fx-muted); font-size: .74rem; }
#worldforexnews-prototype .event-outcome-list { display: grid; gap: 8px; }
#worldforexnews-prototype .event-outcome-item { overflow: hidden; border: 1px solid var(--fx-line); border-radius: 9px; background: var(--fx-surface); }
#worldforexnews-prototype .event-outcome-item > summary { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 13px; cursor: pointer; list-style: none; }
#worldforexnews-prototype .event-outcome-item > summary::-webkit-details-marker { display: none; }
#worldforexnews-prototype .event-outcome-item > summary:focus-visible { outline: 3px solid var(--fx-blue); outline-offset: -3px; }
#worldforexnews-prototype .event-outcome-name { display: grid; gap: 4px; }
#worldforexnews-prototype .event-outcome-name strong { font-size: .92rem; }
#worldforexnews-prototype .event-outcome-name > span { color: var(--fx-muted); font-size: .79rem; }
#worldforexnews-prototype .event-outcome-state { display: inline-flex; align-items: center; gap: 7px; color: #8a5a10; font-size: .76rem; font-weight: 700; text-align: right; }
#worldforexnews-prototype .event-outcome-state i { width: 8px; height: 8px; border-radius: 50%; background: #d7962c; box-shadow: 0 0 0 3px color-mix(in srgb, #d7962c 17%, transparent); }
#worldforexnews-prototype .event-outcome-state.is-released { color: #237663; }
#worldforexnews-prototype .event-outcome-state.is-released i { background: #3c9b83; box-shadow: 0 0 0 3px color-mix(in srgb, #3c9b83 17%, transparent); }
#worldforexnews-prototype .event-outcome-detail { padding: 0 13px 12px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .event-outcome-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 10px; }
#worldforexnews-prototype .event-outcome-column { display: grid; align-content: start; gap: 5px; min-height: 92px; padding: 10px; border-radius: 7px; background: var(--fx-surface-soft); }
#worldforexnews-prototype .event-outcome-column.is-actual { background: color-mix(in srgb, #3c9b83 8%, var(--fx-surface)); }
#worldforexnews-prototype .event-outcome-column > span { color: var(--fx-muted); font-size: .73rem; font-weight: 700; }
#worldforexnews-prototype .event-outcome-column > span small { margin-left: 4px; font-size: .66rem; font-weight: 500; }
#worldforexnews-prototype .event-outcome-column > strong { font-size: .9rem; }
#worldforexnews-prototype .event-outcome-column > small { color: var(--fx-muted); font-size: .73rem; line-height: 1.4; }
#worldforexnews-prototype .event-outcome-column > a,
#worldforexnews-prototype .event-outcome-source a { color: var(--fx-blue); font-size: .74rem; line-height: 1.4; }
#worldforexnews-prototype .event-outcome-source { display: flex; flex-wrap: wrap; gap: 4px 9px; margin: 10px 0 0; color: var(--fx-muted); font-size: .75rem; }
#worldforexnews-prototype .event-outcome-item > summary::after { content: "⌄"; color: var(--fx-blue); font-size: 1.1rem; transition: transform .18s ease; }
#worldforexnews-prototype .event-outcome-item[open] > summary::after { transform: rotate(180deg); }
@media (max-width: 720px) {
  #worldforexnews-prototype .event-outcome-tracker-head { flex-direction: column; gap: 8px; }
  #worldforexnews-prototype .event-outcome-item > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 10px; }
  #worldforexnews-prototype .event-outcome-name,
  #worldforexnews-prototype .event-outcome-state { grid-column: 1; text-align: left; }
  #worldforexnews-prototype .event-outcome-comparison { grid-template-columns: minmax(0, 1fr); }
  #worldforexnews-prototype .event-outcome-column { min-height: 0; }
  #worldforexnews-prototype .event-outcome-item > summary::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
}
#worldforexnews-prototype .reality-ledger {
  margin: 0 0 25px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--fx-line);
  border-top: 3px solid #3c9b83;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--fx-surface), color-mix(in srgb, #3c9b83 4%, var(--fx-surface)));
  box-shadow: 0 10px 30px rgba(13, 37, 64, .055);
}
#worldforexnews-prototype .reality-ledger-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#worldforexnews-prototype .reality-ledger-top h2 { margin: 4px 0 0; font-size: 1.23rem; }
#worldforexnews-prototype .reality-ledger-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--fx-blue) 38%, var(--fx-line)); border-radius: 999px; background: color-mix(in srgb, var(--fx-blue) 9%, var(--fx-surface)); color: var(--fx-blue); font-size: .75rem; font-weight: 700; letter-spacing: .015em; line-height: 1.2; }
#worldforexnews-prototype .reality-ledger-badge.is-unlogged { border-color: var(--fx-line); background: var(--fx-surface-soft); color: var(--fx-muted); }
#worldforexnews-prototype .reality-ledger-status { max-width: 76ch; margin: 10px 0 15px; color: var(--fx-muted); font-size: .91rem; line-height: 1.5; }
#worldforexnews-prototype .reality-ledger-clocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#worldforexnews-prototype .reality-ledger-clock { display: grid; align-content: start; gap: 6px; min-width: 0; min-height: 73px; padding: 10px 11px; border: 1px solid var(--fx-line); border-radius: 8px; background: var(--fx-surface-soft); }
#worldforexnews-prototype .reality-ledger-clock > span { color: var(--fx-muted); font-size: .69rem; font-weight: 700; letter-spacing: .06em; line-height: 1.25; text-transform: uppercase; }
#worldforexnews-prototype .reality-ledger-clock time,
#worldforexnews-prototype .reality-ledger-clock strong { color: var(--fx-text); font-size: .82rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
#worldforexnews-prototype .reality-ledger-details { margin-top: 12px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .reality-ledger-details summary { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 5px 0; color: var(--fx-blue); font-size: .84rem; font-weight: 650; cursor: pointer; list-style: none; }
#worldforexnews-prototype .reality-ledger-details summary::-webkit-details-marker { display: none; }
#worldforexnews-prototype .reality-ledger-details summary::before { content: "+"; display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; border: 1px solid var(--fx-line); border-radius: 50%; color: var(--fx-blue); transition: transform 180ms ease, background 180ms ease; }
#worldforexnews-prototype .reality-ledger-details[open] summary::before { content: "−"; background: var(--fx-blue-soft); transform: rotate(180deg); }
#worldforexnews-prototype .reality-ledger-details summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--fx-blue) 52%, transparent); outline-offset: 3px; }
#worldforexnews-prototype .reality-ledger-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; padding: 9px 0 2px; animation: evidence-reveal 200ms ease both; }
#worldforexnews-prototype .reality-ledger-detail-grid > div { min-width: 0; }
#worldforexnews-prototype .reality-ledger-detail-grid h3 { margin: 0 0 6px; font-size: .82rem; }
#worldforexnews-prototype .reality-ledger-detail-grid p,
#worldforexnews-prototype .reality-ledger-sources { margin: 0; color: var(--fx-muted); font-size: .83rem; line-height: 1.5; }
#worldforexnews-prototype .reality-ledger-sources { padding-left: 18px; }
#worldforexnews-prototype .reality-ledger-sources li + li { margin-top: 5px; }
#worldforexnews-prototype .reality-ledger-sources a { color: var(--fx-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
#worldforexnews-prototype .reality-ledger-history { grid-column: 1 / -1; padding-top: 11px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .reality-ledger-history p { max-width: 90ch; }
#worldforexnews-prototype .reality-ledger-details summary:hover { text-decoration: underline; text-underline-offset: 3px; }
#worldforexnews-prototype .article-tool-card > a { color: var(--fx-blue); }
#worldforexnews-prototype .archive-intro { max-width: 760px; margin-bottom: 30px; padding: 28px 0 24px; border-bottom: 1px solid var(--fx-line); }
#worldforexnews-prototype .archive-intro h1 { margin: 9px 0; }
#worldforexnews-prototype .archive-intro > p { max-width: 620px; color: var(--fx-muted); line-height: 1.55; }
#worldforexnews-prototype .archive-count { display: inline-flex; align-items: center; gap: 9px; margin-top: 8px; color: var(--fx-muted); }
#worldforexnews-prototype .archive-count strong { color: var(--fx-blue); font-size: 1.3rem; }
#worldforexnews-prototype .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
#worldforexnews-prototype .archive-grid .story-card h2 { margin: 8px 20px; font-size: 1.3rem; line-height: 1.25; }
#worldforexnews-prototype .archive-grid .story-card h2 a { text-decoration: none; }
#worldforexnews-prototype .archive-grid .story-card h2 a:hover { color: var(--fx-blue); }
#worldforexnews-prototype .article-tool-card { margin-bottom: 18px; padding: 16px; border: 1px solid var(--fx-line); background: var(--fx-surface-soft); }
#worldforexnews-prototype .article-tool-card nav { margin-top: 8px; }
#worldforexnews-prototype .article-tool-card p { margin: 10px 0; color: var(--fx-muted); line-height: 1.5; }
#worldforexnews-prototype .related-articles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
#worldforexnews-prototype .related-article { display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 15px; border: 1px solid var(--fx-line); text-decoration: none; }
#worldforexnews-prototype .related-article small { color: var(--fx-blue); text-transform: uppercase; letter-spacing: .08em; }
#worldforexnews-prototype .related-article strong { font-weight: 500; line-height: 1.35; }
#worldforexnews-prototype .related-article span { margin-top: auto; color: var(--fx-muted); font-size: .88rem; }
#worldforexnews-prototype .related-article:hover { border-color: var(--fx-blue); background: var(--fx-surface-soft); }
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #worldforexnews-prototype .related-articles { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .reality-ledger-clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container worldforexnewslayout (max-width: 470px) {
  #worldforexnews-prototype .archive-grid { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .archive-intro { padding-top: 8px; }
  #worldforexnews-prototype .editorial-context { padding: 18px; }
  #worldforexnews-prototype .reality-ledger-top { align-items: flex-start; flex-direction: column; }
  #worldforexnews-prototype .reality-ledger-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  #worldforexnews-prototype .reality-ledger-history { grid-column: 1; }
}
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .story-compass { position: relative; top: auto; grid-template-columns: minmax(0,1fr); gap: 10px; }
  #worldforexnews-prototype .story-compass-actions { justify-content: flex-start; }
  #worldforexnews-prototype .story-compass-status { grid-column: 1; }
}

/* WFN editorial flagship: a source-led, keyboard and touch friendly cover story. */
#worldforexnews-prototype .skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  border: 1px solid var(--fx-line);
  background: var(--fx-surface);
  color: var(--fx-text);
}
#worldforexnews-prototype .skip-link:focus { transform: translateY(0); }
#worldforexnews-prototype .page-intro { margin-bottom: 25px; }
#worldforexnews-prototype .page-intro h1 {
  max-width: 850px;
  margin-block: 8px;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
#worldforexnews-prototype .page-intro p { max-width: 660px; font-size: 1.04rem; line-height: 1.55; }
#worldforexnews-prototype .feature-layout {
  grid-template-columns: minmax(0, 1.8fr) minmax(235px, .68fr);
  gap: 20px;
  align-items: stretch;
}
#worldforexnews-prototype .feature-carousel {
  position: relative;
  display: flex;
  height: 560px;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--fx-hero) 70%, #ffffff);
  background: var(--fx-hero);
  color: var(--fx-hero-ink);
  box-shadow: 0 18px 44px rgba(7, 24, 45, .18);
}
#worldforexnews-prototype .feature-lead {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  min-height: 0;
  flex: 1 1 0;
  background: var(--fx-hero);
}
#worldforexnews-prototype .feature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  justify-content: center;
  min-height: 0;
  padding: clamp(22px, 2.6vw, 36px);
}
#worldforexnews-prototype .feature-kicker { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; }
#worldforexnews-prototype .feature-copy .eyebrow { color: #a6d0ff; font-size: .78rem; }
#worldforexnews-prototype .feature-count { color: rgba(255,255,255,.68); font-size: .82rem; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
#worldforexnews-prototype .feature-copy h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  margin: 20px 0 12px;
  font-size: clamp(1.75rem, 2.65vw, 2.45rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}
#worldforexnews-prototype .feature-copy h2 a { color: #ffffff; text-decoration: none; }
#worldforexnews-prototype .feature-copy h2 a:hover { color: #b9dcff; }
#worldforexnews-prototype .feature-copy > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  max-width: 50ch;
  margin-bottom: 16px;
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  line-height: 1.58;
}
#worldforexnews-prototype .feature-meta {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: auto;
  color: rgba(255,255,255,.62);
  font-size: .87rem;
}
#worldforexnews-prototype .feature-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
#worldforexnews-prototype .feature-read-link { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 9px 14px; background: #a9d4ff; color: #0b2948; font-weight: 600; text-decoration: none; }
#worldforexnews-prototype .feature-read-link:hover { background: #d1e8ff; }
#worldforexnews-prototype .feature-copy .save-button { border-color: rgba(255,255,255,.34); color: #ffffff; }
#worldforexnews-prototype .feature-copy .save-button:hover { background: rgba(255,255,255,.1); }
#worldforexnews-prototype .feature-copy .save-button[aria-pressed="true"] { border-color: #a9d4ff; background: rgba(169,212,255,.14); color: #c9e5ff; }
#worldforexnews-prototype .feature-art {
  grid-column: 2;
  grid-row: 1;
  min-height: 100%;
  padding: 20px;
  border-left: 1px solid rgba(255,255,255,.14);
  background: #102b4d;
}
#worldforexnews-prototype .feature-art::before { background: linear-gradient(90deg, rgba(9,31,55,.56), rgba(9,31,55,.03) 56%), linear-gradient(0deg, rgba(7,22,39,.7), transparent 52%); }
#worldforexnews-prototype .feature-art::after { right: -20%; bottom: -35%; }
#worldforexnews-prototype .feature-photo { object-position: center; }
#worldforexnews-prototype .feature-carousel[data-topic="Crypto"] .feature-photo { object-position: 68% center; }
#worldforexnews-prototype .feature-carousel[data-topic="Brokerage"] .feature-photo { object-position: 35% center; }
#worldforexnews-prototype .feature-carousel[data-topic="Binary Options"] .feature-photo { object-position: 72% center; filter: saturate(.82); }
#worldforexnews-prototype .feature-controls {
  display: flex;
  flex: 0 0 64px;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #0d2440;
}
#worldforexnews-prototype .carousel-dots,
#worldforexnews-prototype .carousel-control-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
#worldforexnews-prototype .carousel-dot {
  display: inline-flex;
  min-width: 78px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.64);
  font-variant-numeric: tabular-nums;
}
#worldforexnews-prototype .carousel-dot-topic { font-size: .78rem; }
#worldforexnews-prototype .carousel-dot:hover { border-color: rgba(255,255,255,.64); color: #ffffff; }
#worldforexnews-prototype .carousel-dot[aria-pressed="true"] { border-color: #a9d4ff; background: rgba(169,212,255,.12); color: #ffffff; }
#worldforexnews-prototype .carousel-dot-meter { width: 17px; height: 2px; background: rgba(255,255,255,.28); transition: width 220ms ease, background-color 220ms ease; }
#worldforexnews-prototype .carousel-dot[aria-pressed="true"] .carousel-dot-meter { width: 28px; background: #a9d4ff; }
#worldforexnews-prototype .carousel-toggle,
#worldforexnews-prototype .carousel-arrow {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.22);
  color: #ffffff;
}
#worldforexnews-prototype .carousel-toggle { min-width: 72px; font-size: .86rem; }
#worldforexnews-prototype .carousel-toggle:hover,
#worldforexnews-prototype .carousel-arrow:hover { border-color: #a9d4ff; background: rgba(169,212,255,.12); }
#worldforexnews-prototype .carousel-progress { height: 3px; overflow: hidden; background: rgba(255,255,255,.12); }
#worldforexnews-prototype .carousel-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; background: #8cc4ff; }
#worldforexnews-prototype .feature-carousel.is-playing .carousel-progress span { animation: wfn-feature-progress 8s linear both; }
#worldforexnews-prototype .feature-carousel.feature-enter .feature-copy { animation: wfn-feature-copy-in 360ms cubic-bezier(.2,.75,.2,1) both; }
#worldforexnews-prototype .feature-carousel.feature-enter .feature-photo { animation: wfn-feature-image-in 580ms cubic-bezier(.2,.75,.2,1) both; }
@keyframes wfn-feature-progress { to { transform: scaleX(1); } }
@keyframes wfn-feature-copy-in { from { opacity: .35; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wfn-feature-image-in { from { opacity: .66; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
#worldforexnews-prototype .feature-rail { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; border: 1px solid var(--fx-line); background: var(--fx-surface-soft); }
#worldforexnews-prototype .feature-rail-top { padding: clamp(20px, 2.2vw, 28px); }
#worldforexnews-prototype .feature-rail h2 { margin: 12px 0; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -.025em; }
#worldforexnews-prototype .feature-rail p { color: var(--fx-muted); font-size: .98rem; line-height: 1.6; }
#worldforexnews-prototype .feature-rail .text-link { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; }
#worldforexnews-prototype .editorial-index { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .editorial-index > div { display: grid; gap: 4px; padding: 16px 18px; }
#worldforexnews-prototype .editorial-index > div + div { border-left: 1px solid var(--fx-line); }
#worldforexnews-prototype .editorial-index strong { color: var(--fx-blue); font-size: 1.7rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
#worldforexnews-prototype .editorial-index span { color: var(--fx-muted); font-size: .78rem; line-height: 1.35; }
#worldforexnews-prototype .editorial-index > a { display: flex; min-height: 48px; grid-column: 1 / -1; align-items: center; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--fx-line); color: var(--fx-blue); font-weight: 600; text-decoration: none; }
#worldforexnews-prototype .editorial-index > a:hover { background: var(--fx-blue-soft); }
#worldforexnews-prototype .latest-footer { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .latest-footer > span { color: var(--fx-muted); font-size: .9rem; }
#worldforexnews-prototype .latest-footer > a { color: var(--fx-blue); font-weight: 600; text-decoration: none; }
#worldforexnews-prototype .latest-footer > a:hover { text-decoration: underline; }
#worldforexnews-prototype .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}
#worldforexnews-prototype .archive-tools { display: grid; gap: 15px; margin: 22px 0 26px; padding: 18px; border: 1px solid var(--fx-line); background: var(--fx-surface-soft); }
#worldforexnews-prototype .archive-search { display: grid; gap: 7px; max-width: 720px; color: var(--fx-muted); font-size: .88rem; }
#worldforexnews-prototype .archive-search input { min-height: 48px; width: 100%; padding: 10px 13px; border: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .archive-filters { align-items: center; }
#worldforexnews-prototype .archive-filters button { display: inline-flex; align-items: center; gap: 7px; }
#worldforexnews-prototype .archive-filters button span { font-size: .78rem; opacity: .76; font-variant-numeric: tabular-nums; }
#worldforexnews-prototype .archive-status { margin: 0; color: var(--fx-muted); font-size: .9rem; }
#worldforexnews-prototype .archive-card[hidden] { display: none !important; }
#worldforexnews-prototype .risk-notice { margin: 20px 0; padding: 16px 18px; border: 1px solid color-mix(in srgb, #c1812e 42%, var(--fx-line)); border-left: 4px solid #c1812e; background: light-dark(#fff8eb, #332b20); color: var(--fx-text); }
#worldforexnews-prototype .risk-notice strong { display: block; margin-bottom: 5px; color: light-dark(#814e08, #f2bd68); }
#worldforexnews-prototype .risk-notice p { margin: 0; line-height: 1.55; }
#worldforexnews-prototype .desk-briefing {
  position: relative;
  margin: 34px 0;
  padding: clamp(19px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid var(--fx-line);
  border-top: 2px solid var(--fx-blue);
  background: linear-gradient(132deg, var(--fx-surface-soft), var(--fx-surface) 60%, color-mix(in srgb, var(--fx-blue-soft) 54%, var(--fx-surface)));
  box-shadow: 0 18px 44px rgba(17,42,70,.075);
}
#worldforexnews-prototype .desk-briefing::after { position: absolute; top: -110px; right: -95px; width: 270px; height: 270px; border: 1px solid color-mix(in srgb, var(--fx-blue) 16%, transparent); border-radius: 50%; box-shadow: 0 0 0 24px color-mix(in srgb, var(--fx-blue) 4%, transparent), 0 0 0 50px color-mix(in srgb, var(--fx-blue) 3%, transparent); content: ""; pointer-events: none; }
#worldforexnews-prototype .desk-briefing-heading { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 19px; }
#worldforexnews-prototype .desk-briefing-heading h2 { margin: 7px 0 0; font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: -.035em; }
#worldforexnews-prototype .desk-briefing-heading > p { max-width: 430px; margin: 0; color: var(--fx-muted); line-height: 1.5; }
#worldforexnews-prototype .desk-selector { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
#worldforexnews-prototype .desk-selector button { display: inline-flex; min-height: 43px; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--fx-line); background: var(--fx-surface); color: var(--fx-text); font-size: .9rem; }
#worldforexnews-prototype .desk-selector button span { color: var(--fx-muted); font-size: .72rem; font-variant-numeric: tabular-nums; }
#worldforexnews-prototype .desk-selector button:hover { border-color: var(--fx-blue); transform: translateY(-1px); }
#worldforexnews-prototype .desk-selector button[aria-pressed="true"] { border-color: var(--fx-blue); background: var(--fx-blue-soft); color: var(--fx-blue); box-shadow: inset 0 -2px var(--fx-blue); }
#worldforexnews-prototype .desk-selector button[aria-pressed="true"] span { color: var(--fx-blue); }
#worldforexnews-prototype .desk-stage { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.78fr); gap: 14px; min-height: 365px; }
#worldforexnews-prototype .desk-story-list { display: grid; grid-template-rows: repeat(3,minmax(0,1fr)); gap: 9px; min-width: 0; }
#worldforexnews-prototype .desk-story-card { display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 13px; align-items: center; min-height: 112px; padding: 9px; border: 1px solid var(--fx-line); background: color-mix(in srgb, var(--fx-surface) 92%, transparent); transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
#worldforexnews-prototype .desk-story-card:hover { transform: translateX(3px); border-color: color-mix(in srgb, var(--fx-blue) 65%, var(--fx-line)); box-shadow: 0 8px 18px rgba(17,42,70,.08); }
#worldforexnews-prototype .desk-story-card img { display: block; width: 118px; height: 82px; object-fit: cover; border-radius: 2px; }
#worldforexnews-prototype .desk-story-card small { display: block; margin-bottom: 4px; color: var(--fx-blue); font-size: .66rem; font-weight: 650; letter-spacing: .09em; }
#worldforexnews-prototype .desk-story-card a { display: -webkit-box; overflow: hidden; min-height: 2.55em; color: var(--fx-text); font-size: .97rem; font-weight: 600; line-height: 1.28; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#worldforexnews-prototype .desk-story-card a:hover { color: var(--fx-blue); }
#worldforexnews-prototype .desk-story-card p { display: -webkit-box; overflow: hidden; margin: 4px 0 0; color: var(--fx-muted); font-size: .8rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
#worldforexnews-prototype .desk-focus { display: flex; min-height: 365px; flex-direction: column; padding: 19px 20px; border: 1px solid color-mix(in srgb, var(--fx-blue) 28%, var(--fx-line)); background: var(--fx-surface); }
#worldforexnews-prototype .desk-focus-number { display: flex; justify-content: space-between; gap: 12px; color: var(--fx-blue); font-size: .68rem; font-weight: 650; letter-spacing: .1em; }
#worldforexnews-prototype .desk-focus-number strong { font-variant-numeric: tabular-nums; }
#worldforexnews-prototype .desk-focus h3 { max-width: 27ch; margin: 17px 0 8px; font-size: clamp(1.1rem, 1.7vw, 1.42rem); line-height: 1.2; letter-spacing: -.025em; }
#worldforexnews-prototype .desk-focus > p { min-height: 4.4em; margin: 0; color: var(--fx-muted); font-size: .9rem; line-height: 1.5; }
#worldforexnews-prototype .desk-next-check { margin-top: auto; padding: 13px 0 12px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .desk-next-check span { color: var(--fx-blue); font-size: .68rem; font-weight: 650; letter-spacing: .1em; }
#worldforexnews-prototype .desk-next-check p { display: -webkit-box; overflow: hidden; min-height: 3.1em; margin: 5px 0 0; font-size: .86rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#worldforexnews-prototype .desk-focus > a { display: flex; align-items: center; justify-content: space-between; min-height: 39px; border-top: 1px solid var(--fx-line); color: var(--fx-blue); font-size: .84rem; font-weight: 650; text-decoration: none; }
#worldforexnews-prototype .desk-focus > a:hover { gap: 7px; }
#worldforexnews-prototype .desk-stage.desk-updated .desk-story-card { animation: wfn-desk-in 380ms cubic-bezier(.2,.7,.2,1) both; }
#worldforexnews-prototype .desk-stage.desk-updated .desk-story-card:nth-child(2) { animation-delay: 45ms; }
#worldforexnews-prototype .desk-stage.desk-updated .desk-story-card:nth-child(3) { animation-delay: 90ms; }
@keyframes wfn-desk-in { from { opacity: .35; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .desk-briefing-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  #worldforexnews-prototype .desk-stage { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .desk-story-list { grid-template-rows: none; }
  #worldforexnews-prototype .desk-focus { min-height: 300px; }
}
@container worldforexnewslayout (max-width: 470px) {
  #worldforexnews-prototype .desk-briefing { padding: 17px 13px; }
  #worldforexnews-prototype .desk-selector { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  #worldforexnews-prototype .desk-selector button { justify-content: flex-start; padding-inline: 8px; font-size: .8rem; }
  #worldforexnews-prototype .desk-story-card { grid-template-columns: 84px minmax(0,1fr); gap: 10px; min-height: 112px; }
  #worldforexnews-prototype .desk-story-card img { width: 84px; height: 72px; }
  #worldforexnews-prototype .desk-story-card a { font-size: .88rem; }
  #worldforexnews-prototype .desk-story-card p { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .desk-stage.desk-updated .desk-story-card { animation: none; }
}
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .feature-layout { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .feature-rail { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.72fr); }
  #worldforexnews-prototype .feature-rail-top { padding: 22px; }
  #worldforexnews-prototype .feature-carousel { height: 760px; }
  #worldforexnews-prototype .feature-lead { grid-template-columns: minmax(0,1fr); grid-template-rows: 260px minmax(0,1fr); }
  #worldforexnews-prototype .feature-art { grid-column: 1; grid-row: 1; min-height: 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  #worldforexnews-prototype .feature-copy { grid-column: 1; grid-row: 2; padding: 24px; }
}
@container worldforexnewslayout (max-width: 540px) {
  #worldforexnews-prototype .feature-carousel { height: 860px; }
  #worldforexnews-prototype .feature-controls { flex: 0 0 172px; min-height: 172px; align-items: flex-start; flex-direction: column; padding: 12px; }
  #worldforexnews-prototype .carousel-dots { width: 100%; }
  #worldforexnews-prototype .carousel-control-buttons { width: 100%; justify-content: flex-end; }
}
@container worldforexnewslayout (max-width: 470px) {
  #worldforexnews-prototype .feature-carousel { height: 820px; }
  #worldforexnews-prototype .feature-lead { grid-template-rows: 205px minmax(0,1fr); }
  #worldforexnews-prototype .feature-art { min-height: 0; }
  #worldforexnews-prototype .feature-copy { padding: 21px 18px 22px; }
  #worldforexnews-prototype .feature-copy h2 { margin-top: 15px; font-size: 1.75rem; }
  #worldforexnews-prototype .feature-controls { padding: 12px; }
  #worldforexnews-prototype .carousel-dots { width: 100%; }
  #worldforexnews-prototype .carousel-dot { min-width: 74px; flex: 1 1 74px; }
  #worldforexnews-prototype .feature-rail { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .editorial-index { grid-template-columns: 1fr 1fr; }
  #worldforexnews-prototype .latest-footer { align-items: flex-start; flex-direction: column; }
  #worldforexnews-prototype .archive-tools { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .feature-carousel.feature-enter .feature-copy,
  #worldforexnews-prototype .feature-carousel.feature-enter .feature-photo { animation: none; }
  #worldforexnews-prototype .feature-carousel.is-playing .carousel-progress span { animation: none; }
}

/* WFN Story Rewind: replay a source-backed record without implying a price signal. */
#worldforexnews-prototype .rewind-teaser {
  margin: 28px 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--fx-line);
  background: linear-gradient(128deg, var(--fx-surface-soft), var(--fx-surface) 62%, var(--fx-blue-soft));
  box-shadow: 0 14px 38px rgba(17,42,70,.08);
}
#worldforexnews-prototype .rewind-teaser-heading,
#worldforexnews-prototype .rewind-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
#worldforexnews-prototype .rewind-teaser-heading { margin-bottom: 20px; }
#worldforexnews-prototype .rewind-teaser-heading h2,
#worldforexnews-prototype .rewind-head h2 { margin: 6px 0; font-size: clamp(1.5rem, 2.7vw, 2.15rem); letter-spacing: -.035em; }
#worldforexnews-prototype .rewind-teaser-heading p,
#worldforexnews-prototype .rewind-head p { max-width: 470px; margin: 0; color: var(--fx-muted); line-height: 1.5; }
#worldforexnews-prototype .rewind-teaser-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); border: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .rewind-teaser-steps { display: grid; align-content: stretch; border-right: 1px solid var(--fx-line); }
#worldforexnews-prototype .rewind-teaser-steps button { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 2px 10px; align-content: center; min-height: 78px; padding: 13px 16px; border: 0; border-bottom: 1px solid var(--fx-line); text-align: left; cursor: pointer; transition: background-color 180ms ease; }
#worldforexnews-prototype .rewind-teaser-steps button:last-child { border-bottom: 0; }
#worldforexnews-prototype .rewind-teaser-steps button:hover,
#worldforexnews-prototype .rewind-teaser-steps button[aria-pressed="true"] { background: var(--fx-blue-soft); }
#worldforexnews-prototype .rewind-teaser-steps button[aria-pressed="true"] { box-shadow: inset 3px 0 var(--fx-blue); }
#worldforexnews-prototype .rewind-teaser-steps button > span { grid-row: 1 / 3; align-self: center; color: var(--fx-blue); font-size: .76rem; letter-spacing: .08em; }
#worldforexnews-prototype .rewind-teaser-steps time { color: var(--fx-muted); font-size: .72rem; letter-spacing: .08em; }
#worldforexnews-prototype .rewind-teaser-steps strong { font-size: .92rem; font-weight: 600; }
#worldforexnews-prototype .rewind-teaser-record { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; padding: clamp(18px, 2.5vw, 28px); }
#worldforexnews-prototype .rewind-teaser-record > div > span { color: var(--fx-blue); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
#worldforexnews-prototype .rewind-teaser-record h3 { margin: 8px 0 4px; font-size: clamp(1.15rem, 2vw, 1.48rem); line-height: 1.2; }
#worldforexnews-prototype .rewind-teaser-record p { max-width: 650px; margin: 0; color: var(--fx-muted); line-height: 1.52; }
#worldforexnews-prototype .rewind-teaser-links { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 18px; margin-top: 6px; }
#worldforexnews-prototype .rewind-teaser-links a { color: var(--fx-blue); font-size: .86rem; text-decoration: none; }
#worldforexnews-prototype .rewind-teaser-links a:hover { text-decoration: underline; }
#worldforexnews-prototype .rewind-teaser-open { font-weight: 700; }
#worldforexnews-prototype .rewind-page-wrap { padding-top: 22px; }
#worldforexnews-prototype .rewind-page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: 100%; }
#worldforexnews-prototype .rewind-page-intro h1 { max-width: 820px; }
#worldforexnews-prototype .news-rewind { margin: 22px 0 42px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--fx-line); border-top: 3px solid var(--fx-blue); background: var(--fx-surface); box-shadow: 0 15px 44px rgba(17,42,70,.1); scroll-margin-top: 25px; }
#worldforexnews-prototype .rewind-head { margin-bottom: 22px; }
#worldforexnews-prototype .rewind-record-count { display: grid; min-width: 74px; padding: 10px; border: 1px solid var(--fx-line); color: var(--fx-blue); font-size: 1.25rem; font-weight: 700; text-align: center; }
#worldforexnews-prototype .rewind-record-count small { color: var(--fx-muted); font-size: .62rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
#worldforexnews-prototype .rewind-controls { margin-bottom: 19px; }
#worldforexnews-prototype .rewind-controls > label { display: block; margin-bottom: 10px; color: var(--fx-muted); font-size: .82rem; }
#worldforexnews-prototype [data-rewind-range] { display: block; width: 100%; height: 24px; margin: 0 0 15px; accent-color: var(--fx-blue); cursor: ew-resize; }
#worldforexnews-prototype .rewind-stages { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
#worldforexnews-prototype .rewind-stages::before { position: absolute; top: 13px; right: 18%; left: 18%; height: 1px; background: var(--fx-line); content: ""; pointer-events: none; }
#worldforexnews-prototype .rewind-stage { position: relative; z-index: 1; display: grid; justify-items: start; align-content: start; gap: 6px; min-height: 118px; padding: 13px; border: 1px solid var(--fx-line); background: var(--fx-surface); text-align: left; cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease; }
#worldforexnews-prototype .rewind-stage:hover { transform: translateY(-2px); border-color: var(--fx-blue); }
#worldforexnews-prototype .rewind-stage[aria-pressed="true"] { border-color: var(--fx-blue); background: var(--fx-blue-soft); box-shadow: inset 0 -3px var(--fx-blue); }
#worldforexnews-prototype .rewind-stage time { color: var(--fx-blue); font-size: .76rem; font-weight: 700; }
#worldforexnews-prototype .rewind-stage span { color: var(--fx-muted); font-size: .65rem; font-weight: 700; letter-spacing: .05em; line-height: 1.25; }
#worldforexnews-prototype .rewind-stage strong { font-size: .88rem; font-weight: 600; line-height: 1.32; }
#worldforexnews-prototype .rewind-record { min-width: 0; border: 1px solid var(--fx-line); background: var(--fx-surface-soft); }
#worldforexnews-prototype .rewind-record-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; padding: 12px 16px; border-bottom: 1px solid var(--fx-line); color: var(--fx-muted); font-size: .8rem; }
#worldforexnews-prototype .rewind-record-index { color: var(--fx-blue); font-weight: 700; letter-spacing: .04em; }
#worldforexnews-prototype .rewind-instrument { margin-left: auto; padding: 4px 8px; border: 1px solid var(--fx-line); font-size: .72rem; }
#worldforexnews-prototype .rewind-record-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); }
#worldforexnews-prototype .rewind-record-main { min-width: 0; padding: clamp(17px, 2.6vw, 26px); }
#worldforexnews-prototype .rewind-agency { margin-bottom: 8px; color: var(--fx-muted); font-size: .78rem; letter-spacing: .045em; text-transform: uppercase; }
#worldforexnews-prototype .rewind-record-main h3 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.18; letter-spacing: -.025em; }
#worldforexnews-prototype .rewind-record-main > p { margin: 0; line-height: 1.58; }
#worldforexnews-prototype .rewind-record-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 18px; }
#worldforexnews-prototype .rewind-record-links a { color: var(--fx-blue); font-size: .84rem; line-height: 1.45; overflow-wrap: anywhere; }
#worldforexnews-prototype .rewind-article-link { font-weight: 700; text-decoration: none; }
#worldforexnews-prototype .rewind-status-card { display: grid; align-content: start; gap: 14px; padding: 18px; border-left: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .rewind-status-card > span { justify-self: start; padding: 6px 8px; background: var(--fx-blue-soft); color: var(--fx-blue); font-size: .69rem; font-weight: 700; letter-spacing: .06em; line-height: 1.35; }
#worldforexnews-prototype .rewind-status-card strong { display: block; margin-bottom: 5px; font-size: .78rem; }
#worldforexnews-prototype .rewind-status-card p { margin: 0; color: var(--fx-muted); font-size: .82rem; line-height: 1.48; }
#worldforexnews-prototype .rewind-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 14px; }
#worldforexnews-prototype .rewind-footer > p { flex: 1 1 350px; margin: 0; color: var(--fx-muted); font-size: .78rem; line-height: 1.45; }
#worldforexnews-prototype .rewind-footer .quiet-button { min-height: 38px; padding: 7px 11px; border: 1px solid var(--fx-line); background: var(--fx-surface); cursor: pointer; }
#worldforexnews-prototype .rewind-footer .quiet-button:hover { border-color: var(--fx-blue); }
#worldforexnews-prototype .rewind-share-status { color: var(--fx-blue); font-size: .78rem; }
#worldforexnews-prototype .rewind-no-script { margin-top: 18px; padding: 14px; border: 1px solid var(--fx-line); }
#worldforexnews-prototype .rewind-no-script li { padding-block: 10px; }
#worldforexnews-prototype .rewind-no-script p { margin: 6px 0; }
#worldforexnews-prototype .article-rewind-card { margin: 19px 0 24px; padding: 18px; border: 1px solid var(--fx-line); border-left: 3px solid var(--fx-blue); background: var(--fx-surface-soft); }
#worldforexnews-prototype .article-rewind-copy h2 { margin: 5px 0; font-size: 1.2rem; }
#worldforexnews-prototype .article-rewind-copy p { margin: 0; color: var(--fx-muted); font-size: .88rem; line-height: 1.45; }
#worldforexnews-prototype .article-rewind-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 14px 0 12px; padding: 0; list-style: none; }
#worldforexnews-prototype .article-rewind-steps a { display: grid; align-content: start; gap: 5px; height: 100%; min-height: 104px; padding: 10px; border: 1px solid var(--fx-line); background: var(--fx-surface); text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
#worldforexnews-prototype .article-rewind-steps a:hover { transform: translateY(-2px); border-color: var(--fx-blue); }
#worldforexnews-prototype .article-rewind-steps a[aria-current="step"] { border-color: var(--fx-blue); box-shadow: inset 0 -2px var(--fx-blue); }
#worldforexnews-prototype .article-rewind-steps time { color: var(--fx-blue); font-size: .72rem; font-weight: 700; }
#worldforexnews-prototype .article-rewind-steps span { color: var(--fx-muted); font-size: .66rem; line-height: 1.25; }
#worldforexnews-prototype .article-rewind-steps strong { font-size: .78rem; font-weight: 600; line-height: 1.3; }
#worldforexnews-prototype .article-rewind-open { color: var(--fx-blue); font-size: .84rem; font-weight: 700; text-decoration: none; }
#worldforexnews-prototype .article-rewind-open:hover { text-decoration: underline; }
#worldforexnews-prototype .rewind-coverage { margin-block: 36px; }
#worldforexnews-prototype .rewind-coverage .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
#worldforexnews-prototype .rewind-coverage .section-heading p { max-width: 340px; margin: 0; color: var(--fx-muted); font-size: .88rem; }
#worldforexnews-prototype .rewind-coverage-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
#worldforexnews-prototype .rewind-coverage-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 220px; padding: 18px; border: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .rewind-coverage-card .section-label { color: var(--fx-muted); font-size: .68rem; }
#worldforexnews-prototype .rewind-coverage-card h2 { margin: 12px 0 9px; font-size: 1.08rem; line-height: 1.3; }
#worldforexnews-prototype .rewind-coverage-card h2 a { text-decoration: none; }
#worldforexnews-prototype .rewind-coverage-card h2 a:hover { color: var(--fx-blue); }
#worldforexnews-prototype .rewind-coverage-card p { color: var(--fx-muted); font-size: .86rem; line-height: 1.45; }
#worldforexnews-prototype .rewind-coverage-card .text-link { margin-top: auto; color: var(--fx-blue); font-size: .84rem; font-weight: 700; }
#worldforexnews-prototype .rewind-method { margin: 26px 0 48px; padding: 18px 20px; border-left: 3px solid var(--fx-line); background: var(--fx-surface-soft); }
#worldforexnews-prototype .rewind-method strong { display: block; margin-bottom: 6px; }
#worldforexnews-prototype .rewind-method p { max-width: 890px; margin: 0; color: var(--fx-muted); line-height: 1.5; }
#worldforexnews-prototype .rewind-record-changed { animation: rewind-record-reveal 250ms ease both; }
@keyframes rewind-record-reveal { from { opacity: .52; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
#worldforexnews-prototype .news-rewind :focus-visible,
#worldforexnews-prototype .rewind-teaser :focus-visible,
#worldforexnews-prototype .article-rewind-card :focus-visible { outline: 3px solid var(--fx-blue); outline-offset: 3px; }
@container worldforexnewslayout (max-width: 760px) {
  #worldforexnews-prototype .rewind-teaser-heading,
  #worldforexnews-prototype .rewind-head,
  #worldforexnews-prototype .rewind-page-intro { align-items: flex-start; flex-direction: column; }
  #worldforexnews-prototype .rewind-teaser-layout { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .rewind-teaser-steps { grid-template-columns: repeat(3,minmax(0,1fr)); border-right: 0; border-bottom: 1px solid var(--fx-line); }
  #worldforexnews-prototype .rewind-teaser-steps button { grid-template-columns: 1fr; gap: 4px; min-height: 88px; padding: 11px; border-right: 1px solid var(--fx-line); border-bottom: 0; }
  #worldforexnews-prototype .rewind-teaser-steps button:last-child { border-right: 0; }
  #worldforexnews-prototype .rewind-teaser-steps button > span { grid-row: auto; }
  #worldforexnews-prototype .rewind-teaser-steps button[aria-pressed="true"] { box-shadow: inset 0 3px var(--fx-blue); }
  #worldforexnews-prototype .rewind-record-grid { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .rewind-status-card { border-top: 1px solid var(--fx-line); border-left: 0; }
  #worldforexnews-prototype .rewind-coverage-grid { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .rewind-coverage-card { min-height: 0; }
}
@container worldforexnewslayout (max-width: 500px) {
  #worldforexnews-prototype .rewind-teaser { padding: 16px 12px; }
  #worldforexnews-prototype .rewind-teaser-steps button { font-size: .76rem; }
  #worldforexnews-prototype .rewind-teaser-steps strong { font-size: .78rem; }
  #worldforexnews-prototype .rewind-stage { min-height: 132px; padding: 9px; }
  #worldforexnews-prototype .rewind-stage strong { font-size: .77rem; }
  #worldforexnews-prototype .rewind-stage span { font-size: .58rem; }
  #worldforexnews-prototype .rewind-stages { gap: 5px; }
  #worldforexnews-prototype .rewind-stage[aria-pressed="true"] { box-shadow: inset 0 -2px var(--fx-blue); }
  #worldforexnews-prototype .article-rewind-card { padding: 14px 12px; }
  #worldforexnews-prototype .article-rewind-steps { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .article-rewind-steps a { min-height: 0; }
  #worldforexnews-prototype .rewind-coverage .section-heading { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .rewind-teaser-steps button,
  #worldforexnews-prototype .rewind-stage,
  #worldforexnews-prototype .article-rewind-steps a { transition: none; }
  #worldforexnews-prototype .rewind-record-changed { animation: none; }
}
#worldforexnews-prototype .directory-launch-card {
  max-width: 900px;
  margin: 34px auto 10px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--fx-line);
  border-left: 4px solid var(--fx-blue);
  background: linear-gradient(125deg, var(--fx-surface-soft), var(--fx-surface));
  box-shadow: 0 18px 40px rgba(17,42,70,.07);
}
#worldforexnews-prototype .directory-launch-card h2 { margin: 14px 0 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.025em; }
#worldforexnews-prototype .directory-launch-card > p { max-width: 64ch; color: var(--fx-muted); line-height: 1.65; }
#worldforexnews-prototype .directory-criteria { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; margin: 23px 0; padding: 0; list-style: none; }
#worldforexnews-prototype .directory-criteria li { padding: 12px 0; border-top: 1px solid var(--fx-line); color: var(--fx-text); }
#worldforexnews-prototype .directory-criteria li::before { content: "—"; margin-right: 10px; color: var(--fx-blue); }
#worldforexnews-prototype .submission-notice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 12px; margin: 18px 0; padding: 13px 15px; border: 1px solid var(--fx-line); background: var(--fx-blue-soft); color: var(--fx-text); line-height: 1.5; }
#worldforexnews-prototype .submission-notice strong { color: var(--fx-blue); white-space: nowrap; }
#worldforexnews-prototype .service-item { display: flex; min-height: 220px; flex-direction: column; gap: 8px; color: var(--fx-text); text-decoration: none; }
#worldforexnews-prototype .service-item p { color: var(--fx-muted); line-height: 1.55; }
#worldforexnews-prototype .service-item .text-link { margin-top: auto; }
#worldforexnews-prototype a.service-item:hover { border-color: var(--fx-blue); background: var(--fx-blue-soft); transform: translateY(-3px); }
#worldforexnews-prototype .article-author { color: var(--fx-blue); font-weight: 650; text-decoration: none; }
#worldforexnews-prototype .article-author:hover,
#worldforexnews-prototype .article-published,
#worldforexnews-prototype .article-updated { color: var(--fx-muted); font-size: .9rem; }
#worldforexnews-prototype .editorial-page-wrap { padding-bottom: 68px; }
#worldforexnews-prototype .editorial-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 290px);
  justify-content: space-between;
  align-items: start;
  gap: 46px;
}
#worldforexnews-prototype .editorial-document { max-width: 760px; }
#worldforexnews-prototype .editorial-section { padding: 23px 0; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .editorial-section h2 { margin: 6px 0 12px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
#worldforexnews-prototype .editorial-section p { max-width: 72ch; color: var(--fx-muted); line-height: 1.72; }
#worldforexnews-prototype .editorial-section p:last-child { margin-bottom: 0; }
#worldforexnews-prototype .editorial-aside { display: grid; gap: 14px; }
#worldforexnews-prototype .editorial-aside .article-tool-card { padding: 18px; }
#worldforexnews-prototype .editorial-aside p { color: var(--fx-muted); line-height: 1.55; }
#worldforexnews-prototype .editorial-aside a { color: var(--fx-blue); font-weight: 600; }
@media (max-width: 780px) {
  #worldforexnews-prototype .editorial-page-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  #worldforexnews-prototype .editorial-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  #worldforexnews-prototype .editorial-aside { grid-template-columns: minmax(0,1fr); }
}
@container worldforexnewslayout (max-width: 470px) {
  #worldforexnews-prototype .directory-criteria { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .directory-launch-card { margin-top: 20px; padding: 22px; }
}
@container worldforexnewslayout (max-width: 470px) {
  #worldforexnews-prototype .story-card > .eyebrow { margin-inline: 14px; }
  #worldforexnews-prototype .story-card h2,
  #worldforexnews-prototype .story-card h3,
  #worldforexnews-prototype .story-card p { margin-inline: 14px; }
  #worldforexnews-prototype .story-card .card-bottom { margin-inline: 14px; padding-bottom: 14px; }
}

/* Company directory mega menu */
#worldforexnews-prototype .primary-nav > a { color: var(--fx-muted); }
#worldforexnews-prototype .primary-nav > [aria-current="page"] { color: var(--fx-blue); box-shadow: inset 0 -2px var(--fx-blue); }
#worldforexnews-prototype .directory-trigger[aria-current="page"] { color: var(--fx-blue); box-shadow: inset 0 -2px var(--fx-blue); }
#worldforexnews-prototype .directory-menu { position: static; flex: 0 0 auto; }
#worldforexnews-prototype .directory-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border: 0;
  color: var(--fx-muted);
  cursor: pointer;
  white-space: nowrap;
}
#worldforexnews-prototype .directory-trigger:hover,
#worldforexnews-prototype .directory-trigger[aria-expanded="true"] { color: var(--fx-blue); }
#worldforexnews-prototype .directory-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}
#worldforexnews-prototype .directory-trigger[aria-expanded="true"] .directory-chevron { transform: translateY(2px) rotate(225deg); }
#worldforexnews-prototype .company-mega-panel {
  position: absolute;
  z-index: 12;
  top: calc(100% - 12px);
  left: 50%;
  width: min(1120px, calc(100vw - 48px));
  padding: 24px 28px 18px;
  transform: translateX(-50%);
  border: 1px solid var(--fx-line);
  border-top: 2px solid var(--fx-blue);
  background: var(--fx-surface);
  color: var(--fx-text);
  box-shadow: 0 22px 54px rgba(12, 35, 61, .18);
  animation: wfn-menu-in 190ms cubic-bezier(.2,.7,.2,1) both;
}
#worldforexnews-prototype .company-mega-panel[hidden] { display: none !important; }
#worldforexnews-prototype .company-mega-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
}
#worldforexnews-prototype .company-mega-head .section-label { font-size: .76rem; }
#worldforexnews-prototype .company-mega-head h2 { margin: 7px 0 5px; font-size: clamp(1.3rem, 2.1vw, 1.75rem); letter-spacing: -.025em; }
#worldforexnews-prototype .company-mega-head p { margin: 0; color: var(--fx-muted); font-size: .94rem; }
#worldforexnews-prototype .directory-browse-all {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--fx-line);
  color: var(--fx-blue);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}
#worldforexnews-prototype .directory-browse-all:hover { border-color: var(--fx-blue); background: var(--fx-blue-soft); }
#worldforexnews-prototype .company-mega-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
#worldforexnews-prototype .company-mega-group { min-width: 0; padding-top: 12px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .company-mega-group h3 {
  display: flex;
  min-height: 38px;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.35;
}
#worldforexnews-prototype .company-mega-group h3 span,
#worldforexnews-prototype .company-direction-heading > span { color: var(--fx-blue); font-size: .75rem; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
#worldforexnews-prototype .company-mega-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 8px;
  padding: 9px 8px;
  border-top: 1px solid color-mix(in srgb, var(--fx-line) 72%, transparent);
  color: var(--fx-text);
  text-decoration: none;
  transition: background-color 160ms ease, padding-left 160ms ease, color 160ms ease;
}
#worldforexnews-prototype .company-mega-link > span { display: block; font-size: .92rem; font-weight: 500; line-height: 1.35; }
#worldforexnews-prototype .company-mega-link small { display: block; grid-column: 1 / -1; margin-top: 0; color: var(--fx-muted); font-size: .78rem; line-height: 1.35; }
#worldforexnews-prototype .company-mega-count { align-self: start; margin-top: 1px; padding: 3px 6px; border: 1px solid var(--fx-line); border-radius: 99px; color: var(--fx-muted); font-size: .64rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
#worldforexnews-prototype .company-mega-count.is-empty { background: var(--fx-surface-soft); }
#worldforexnews-prototype .company-mega-link:hover,
#worldforexnews-prototype .company-mega-link[aria-current="page"] { padding-left: 12px; background: var(--fx-blue-soft); color: var(--fx-blue); }
#worldforexnews-prototype .company-mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid var(--fx-line);
  color: var(--fx-muted);
  font-size: .82rem;
}
#worldforexnews-prototype .company-mega-footer strong { color: var(--fx-text); font-weight: 600; }
#worldforexnews-prototype .company-mega-footer a { color: var(--fx-blue); font-weight: 500; text-decoration: none; white-space: nowrap; }
#worldforexnews-prototype .company-mega-footer a:hover { text-decoration: underline; }
@keyframes wfn-menu-in { from { opacity: 0; translate: 0 -7px; } to { opacity: 1; translate: 0 0; } }

#worldforexnews-prototype .company-directory-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); align-items: start; gap: 22px; }
#worldforexnews-prototype .company-direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#worldforexnews-prototype .company-direction-group { min-width: 0; padding: 18px; border: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .company-direction-heading { display: flex; align-items: baseline; gap: 9px; min-height: 34px; margin-bottom: 10px; }
#worldforexnews-prototype .company-direction-heading h2 { margin: 0; font-size: 1.03rem; font-weight: 600; }
#worldforexnews-prototype .company-direction-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 12px;
  min-height: 60px;
  padding: 9px 10px;
  border-top: 1px solid var(--fx-line);
  text-decoration: none;
  transition: padding 160ms ease, background-color 160ms ease, color 160ms ease;
}
#worldforexnews-prototype .company-direction-card strong { grid-column: 1; font-size: .91rem; font-weight: 500; line-height: 1.35; }
#worldforexnews-prototype .company-direction-card small { grid-column: 1; color: var(--fx-muted); font-size: .78rem; line-height: 1.35; }
#worldforexnews-prototype .company-direction-card > span { grid-column: 2; grid-row: 1 / 3; color: var(--fx-muted); transition: color 160ms ease, transform 160ms ease; }
#worldforexnews-prototype .company-direction-card:hover,
#worldforexnews-prototype .company-direction-card[aria-current="page"] { padding-left: 14px; background: var(--fx-blue-soft); color: var(--fx-blue); }
#worldforexnews-prototype .company-direction-card:hover > span { color: var(--fx-blue); transform: translate(2px, -2px); }
#worldforexnews-prototype .directory-status {
  position: sticky;
  top: 22px;
  padding: 23px;
  background: linear-gradient(145deg, var(--fx-hero), var(--fx-hero-2));
  color: #ffffff;
}
#worldforexnews-prototype .directory-status .section-label { color: #a6d0ff; font-size: .75rem; }
#worldforexnews-prototype .directory-status h2 { margin: 13px 0 10px; font-size: 1.35rem; line-height: 1.2; }
#worldforexnews-prototype .directory-status p { color: rgba(255,255,255,.78); font-size: .94rem; line-height: 1.55; }
#worldforexnews-prototype .directory-status > a { display: block; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); color: #c5e1ff; font-weight: 500; text-decoration: none; }
#worldforexnews-prototype .directory-status > a:hover { text-decoration: underline; }
#worldforexnews-prototype .directory-status .directory-clear { margin-top: 10px; color: #ffffff; }
#worldforexnews-prototype .company-results { margin-top: 30px; padding-top: 27px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .company-results-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
#worldforexnews-prototype .company-results-head h2 { margin: 7px 0 6px; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.025em; }
#worldforexnews-prototype .company-results-head p { max-width: 700px; margin: 0; color: var(--fx-muted); line-height: 1.55; }
#worldforexnews-prototype .company-source-link { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 10px 13px; border: 1px solid var(--fx-line); color: var(--fx-text); font-size: .86rem; text-decoration: none; transition: border-color 160ms ease, color 160ms ease, background 160ms ease; }
#worldforexnews-prototype .company-source-link:hover { border-color: var(--fx-blue); background: var(--fx-blue-soft); color: var(--fx-blue); }
#worldforexnews-prototype .company-provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#worldforexnews-prototype .company-provider-card { display: flex; min-width: 0; min-height: 230px; flex-direction: column; padding: 19px; border: 1px solid var(--fx-line); background: var(--fx-surface); box-shadow: 0 6px 18px rgba(15, 34, 58, .035); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; animation: wfn-provider-in 280ms both; }
#worldforexnews-prototype .company-provider-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--fx-blue) 42%, var(--fx-line)); box-shadow: 0 14px 28px rgba(15, 34, 58, .09); }
#worldforexnews-prototype .company-provider-card[hidden] { display: none; }
#worldforexnews-prototype .company-provider-top { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
#worldforexnews-prototype .company-monogram { display: grid; width: 38px; height: 38px; flex: none; place-items: center; border: 1px solid color-mix(in srgb, var(--fx-blue) 24%, var(--fx-line)); background: var(--fx-blue-soft); color: var(--fx-blue); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
#worldforexnews-prototype .company-provider-type { color: var(--fx-muted); font-size: .76rem; line-height: 1.35; }
#worldforexnews-prototype .company-provider-card h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.3; }
#worldforexnews-prototype .company-provider-card > p { flex: 1; margin: 0 0 22px; color: var(--fx-muted); font-size: .9rem; line-height: 1.55; }
#worldforexnews-prototype .company-provider-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding-top: 13px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .company-provider-actions a { color: var(--fx-blue); font-size: .83rem; font-weight: 600; text-decoration: none; }
#worldforexnews-prototype .company-provider-actions a:hover { text-decoration: underline; }
#worldforexnews-prototype .company-provider-actions .company-source { color: var(--fx-muted); font-weight: 400; }
#worldforexnews-prototype .company-results-empty { padding: 20px; border: 1px dashed var(--fx-line); color: var(--fx-muted); }
#worldforexnews-prototype .company-source-note { margin: 15px 0 0; color: var(--fx-muted); font-size: .78rem; line-height: 1.5; }
@keyframes wfn-provider-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
#worldforexnews-prototype .company-profile-page { padding-bottom: 64px; }
#worldforexnews-prototype .company-profile-hero { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 24px; align-items: center; margin-bottom: 27px; padding: clamp(24px,4vw,42px); border: 1px solid color-mix(in srgb, var(--fx-blue) 30%, var(--fx-line)); background: radial-gradient(ellipse at 88% 5%, rgba(87,160,231,.2), transparent 42%), linear-gradient(135deg, var(--fx-hero), var(--fx-hero-2)); color: #fff; animation: wfn-provider-in 280ms ease both; }
#worldforexnews-prototype .company-profile-mark { display: grid; width: 88px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(255,255,255,.11); box-shadow: inset 0 0 0 7px rgba(255,255,255,.045); color: #fff; font-size: 1.5rem; font-weight: 650; letter-spacing: -.05em; }
#worldforexnews-prototype .company-profile-intro .eyebrow { color: #b8d9ff; }
#worldforexnews-prototype .company-profile-intro h1 { margin: 7px 0 8px; font-size: clamp(2rem,4vw,3.35rem); letter-spacing: -.04em; line-height: 1.04; }
#worldforexnews-prototype .company-profile-intro > p { max-width: 760px; margin: 0 0 17px; color: rgba(255,255,255,.83); font-size: 1.05rem; line-height: 1.55; }
#worldforexnews-prototype .company-profile-tags { display: flex; flex-wrap: wrap; gap: 7px; }
#worldforexnews-prototype .company-profile-tag { padding: 5px 9px; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.08); color: rgba(255,255,255,.92); font-size: .74rem; line-height: 1.25; }
#worldforexnews-prototype .company-profile-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,340px); align-items: start; gap: clamp(24px,4vw,54px); }
#worldforexnews-prototype .company-profile-content { min-width: 0; }
#worldforexnews-prototype .company-profile-section { padding: 24px 0 27px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .company-profile-section h2 { margin: 7px 0 13px; font-size: clamp(1.35rem,2.4vw,1.8rem); letter-spacing: -.02em; }
#worldforexnews-prototype .company-profile-section p,
#worldforexnews-prototype .company-profile-section li { max-width: 74ch; color: var(--fx-muted); font-size: .98rem; line-height: 1.72; }
#worldforexnews-prototype .company-profile-section ul { display: grid; gap: 9px; margin: 16px 0; padding-left: 21px; }
#worldforexnews-prototype .company-profile-source-note { margin-top: 6px; padding: 19px; border: 1px solid var(--fx-line); background: var(--fx-surface-soft); }
#worldforexnews-prototype .company-profile-source-note strong { display: block; margin-bottom: 8px; font-size: .94rem; }
#worldforexnews-prototype .company-profile-source-note p { margin: 0 0 9px; color: var(--fx-muted); font-size: .87rem; line-height: 1.6; }
#worldforexnews-prototype .company-profile-source-note a { display: inline-block; margin-top: 4px; color: var(--fx-blue); font-size: .88rem; font-weight: 600; }
#worldforexnews-prototype .company-profile-aside { position: sticky; top: 20px; display: grid; gap: 14px; }
#worldforexnews-prototype .company-profile-facts,
#worldforexnews-prototype .company-profile-related { padding: 20px; border: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .company-profile-facts h2 { margin: 8px 0 15px; font-size: 1.3rem; }
#worldforexnews-prototype .company-profile-facts dl { margin: 0; }
#worldforexnews-prototype .company-profile-facts dl > div { padding: 11px 0; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .company-profile-facts dt { margin-bottom: 4px; color: var(--fx-muted); font-size: .76rem; }
#worldforexnews-prototype .company-profile-facts dd { margin: 0; color: var(--fx-text); font-size: .87rem; line-height: 1.45; }
#worldforexnews-prototype .company-profile-facts dd a { color: var(--fx-blue); text-decoration: none; overflow-wrap: anywhere; }
#worldforexnews-prototype .company-profile-facts dd a:hover { text-decoration: underline; }
#worldforexnews-prototype .company-profile-visit { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; padding: 10px 13px; background: var(--fx-blue); color: #fff !important; font-size: .88rem; font-weight: 600; text-decoration: none; transition: filter 160ms ease, transform 160ms ease; }
#worldforexnews-prototype .company-profile-visit:hover { filter: brightness(1.08); transform: translateY(-1px); }
#worldforexnews-prototype .company-profile-back { display: block; margin-top: 15px; color: var(--fx-blue); font-size: .84rem; }
#worldforexnews-prototype .company-profile-related { display: grid; gap: 12px; }
#worldforexnews-prototype .company-profile-related a { color: var(--fx-blue); font-size: .86rem; line-height: 1.5; text-decoration: none; }
#worldforexnews-prototype .company-profile-related a:hover { text-decoration: underline; }
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .company-profile-layout { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .company-profile-aside { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@container worldforexnewslayout (max-width: 470px) {
  #worldforexnews-prototype .company-profile-hero { grid-template-columns: minmax(0,1fr); gap: 16px; }
  #worldforexnews-prototype .company-profile-mark { width: 66px; font-size: 1.2rem; }
  #worldforexnews-prototype .company-profile-aside { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .company-profile-hero { animation: none; }
  #worldforexnews-prototype .company-profile-visit { transition: none; }
}
@container worldforexnewslayout (max-width: 920px) {
  #worldforexnews-prototype .company-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .primary-nav > .directory-menu { border-top: 1px solid var(--fx-line); }
  #worldforexnews-prototype .directory-trigger { width: 100%; justify-content: space-between; padding: 11px 4px; text-align: left; }
  #worldforexnews-prototype .company-mega-panel { position: static; width: 100%; margin-top: 3px; padding: 17px 12px 14px; transform: none; border-right: 0; border-bottom: 0; border-left: 0; box-shadow: none; }
  #worldforexnews-prototype .company-mega-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  #worldforexnews-prototype .company-mega-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  #worldforexnews-prototype .company-mega-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  #worldforexnews-prototype .company-directory-layout { grid-template-columns: minmax(0, 1fr); }
  #worldforexnews-prototype .directory-status { position: static; }
  #worldforexnews-prototype .company-results-head { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@container worldforexnewslayout (max-width: 470px) {
  #worldforexnews-prototype .company-mega-groups,
  #worldforexnews-prototype .company-direction-grid,
  #worldforexnews-prototype .company-provider-grid { grid-template-columns: minmax(0, 1fr); }
  #worldforexnews-prototype .company-mega-head h2 { font-size: 1.35rem; }
  #worldforexnews-prototype .company-mega-footer { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .company-mega-panel { animation: none; }
  #worldforexnews-prototype .directory-chevron,
  #worldforexnews-prototype .company-mega-link { transition: none; }
  #worldforexnews-prototype .company-provider-card { animation: none; transition: none; }
  #worldforexnews-prototype .company-provider-card:hover { transform: none; }
}

#worldforexnews-prototype .market-decoder { margin: clamp(44px, 7vw, 82px) 0; padding: clamp(23px, 4vw, 42px); overflow: hidden; border: 1px solid color-mix(in srgb, var(--fx-blue) 26%, var(--fx-line)); background: radial-gradient(ellipse at 96% 0%, color-mix(in srgb, var(--fx-blue) 13%, transparent), transparent 38%), var(--fx-surface); }
#worldforexnews-prototype .market-decoder-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
#worldforexnews-prototype .market-decoder-heading h2 { max-width: 17ch; margin: 8px 0 0; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.08; letter-spacing: -.035em; }
#worldforexnews-prototype .market-decoder-heading > p { max-width: 42ch; margin: 0 0 2px; color: var(--fx-muted); font-size: .96rem; line-height: 1.55; }
#worldforexnews-prototype .decoder-layout { display: grid; grid-template-columns: minmax(225px, .7fr) minmax(0, 1.6fr); gap: 17px; }
#worldforexnews-prototype .decoder-options { display: grid; gap: 7px; }
#worldforexnews-prototype .decoder-option { position: relative; display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 2px 10px; min-height: 67px; align-content: center; padding: 11px 13px; border: 1px solid var(--fx-line); background: var(--fx-surface); color: var(--fx-text); cursor: pointer; text-align: left; transition: border-color 180ms ease, background-color 180ms ease, translate 180ms ease; }
#worldforexnews-prototype .decoder-option > span { grid-row: span 2; align-self: center; color: var(--fx-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
#worldforexnews-prototype .decoder-option strong { font-size: .91rem; line-height: 1.25; }
#worldforexnews-prototype .decoder-option small { color: var(--fx-muted); font-size: .76rem; }
#worldforexnews-prototype .decoder-option:hover { translate: 2px 0; border-color: var(--fx-blue); }
#worldforexnews-prototype .decoder-option[aria-pressed="true"] { border-color: var(--fx-blue); background: color-mix(in srgb, var(--fx-blue) 9%, var(--fx-surface)); box-shadow: inset 3px 0 var(--fx-blue); }
#worldforexnews-prototype .decoder-option[aria-pressed="true"] > span { color: var(--fx-blue); }
#worldforexnews-prototype .decoder-result { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 22px; padding: clamp(18px, 3vw, 27px); border: 1px solid var(--fx-line); background: var(--fx-surface-soft); }
#worldforexnews-prototype .decoder-flow { display: grid; grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1.12fr); align-items: center; gap: 10px; }
#worldforexnews-prototype .decoder-node { min-width: 0; align-self: stretch; padding: 14px 12px; border-left: 2px solid color-mix(in srgb, var(--fx-blue) 60%, var(--fx-line)); background: var(--fx-surface); }
#worldforexnews-prototype .decoder-node > span { display: block; margin-bottom: 10px; color: var(--fx-muted); font-size: .68rem; font-weight: 650; letter-spacing: .1em; }
#worldforexnews-prototype .decoder-node strong { display: block; min-height: 2.6em; font-size: .97rem; line-height: 1.3; }
#worldforexnews-prototype .decoder-node small { display: block; margin-top: 8px; color: var(--fx-muted); font-size: .78rem; line-height: 1.45; }
#worldforexnews-prototype .decoder-connector { position: relative; height: 2px; background: color-mix(in srgb, var(--fx-blue) 35%, var(--fx-line)); }
#worldforexnews-prototype .decoder-connector::after { position: absolute; top: -3px; right: 0; width: 7px; height: 7px; border-top: 2px solid var(--fx-blue); border-right: 2px solid var(--fx-blue); content: ""; transform: rotate(45deg); }
#worldforexnews-prototype .decoder-updated .decoder-node { animation: wfn-decoder-reveal 420ms both; }
#worldforexnews-prototype .decoder-updated .decoder-node:nth-of-type(2) { animation-delay: 55ms; }
#worldforexnews-prototype .decoder-updated .decoder-node:nth-of-type(3) { animation-delay: 110ms; }
#worldforexnews-prototype .decoder-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .decoder-footer p { margin: 0; color: var(--fx-muted); font-size: .8rem; line-height: 1.45; }
#worldforexnews-prototype .decoder-footer a { display: inline-flex; min-height: 42px; flex: 0 0 auto; align-items: center; gap: 9px; color: var(--fx-blue); font-size: .86rem; font-weight: 650; text-decoration: none; }
#worldforexnews-prototype .decoder-footer a:hover { text-decoration: underline; }
#worldforexnews-prototype .company-directory-grid { margin-top: 24px; }
#worldforexnews-prototype .company-directory-grid .company-provider-card h2 { margin: 12px 0 8px; font-size: 1.15rem; line-height: 1.3; }
#worldforexnews-prototype .company-directory-grid .company-provider-card h2 a { color: var(--fx-text); text-decoration: none; }
#worldforexnews-prototype .company-directory-grid .company-provider-card h2 a:hover { color: var(--fx-blue); }
@keyframes wfn-decoder-reveal { from { opacity: .38; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@container worldforexnewslayout (max-width: 760px) {
  #worldforexnews-prototype .market-decoder-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  #worldforexnews-prototype .decoder-layout { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .decoder-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@container worldforexnewslayout (max-width: 530px) {
  #worldforexnews-prototype .decoder-options { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .decoder-flow { grid-template-columns: minmax(0,1fr); gap: 8px; }
  #worldforexnews-prototype .decoder-connector { width: 2px; height: 18px; margin-left: 17px; }
  #worldforexnews-prototype .decoder-connector::after { top: auto; right: -3px; bottom: 0; transform: rotate(135deg); }
  #worldforexnews-prototype .decoder-node strong { min-height: 0; }
  #worldforexnews-prototype .decoder-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .decoder-option { transition: none; }
  #worldforexnews-prototype .decoder-option:hover { translate: none; }
  #worldforexnews-prototype .decoder-updated .decoder-node { animation: none; }
}

/* Interactive evidence path and reading route */
#worldforexnews-prototype .inline-source {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-inline: 3px;
  color: var(--fx-blue);
  font-size: .88em;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
#worldforexnews-prototype .inline-source span { font-size: .85em; }
#worldforexnews-prototype .evidence-map,
#worldforexnews-prototype .hypothesis-compare,
#worldforexnews-prototype .reading-route {
  margin: 26px 0;
  padding: 19px;
  border: 1px solid var(--fx-line);
  border-radius: 13px;
  background: var(--fx-surface);
  box-shadow: 0 9px 28px rgba(13, 37, 64, .055);
}
#worldforexnews-prototype .evidence-map { border-top: 3px solid var(--fx-blue); }
#worldforexnews-prototype .evidence-map h2,
#worldforexnews-prototype .hypothesis-compare h2 { margin: 4px 0 6px; font-size: 1.27rem; }
#worldforexnews-prototype .evidence-map-intro,
#worldforexnews-prototype .hypothesis-compare > div:first-child > p { margin: 0; color: var(--fx-muted); font-size: .92rem; }
#worldforexnews-prototype .evidence-map-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin: 18px 0 12px;
  padding: 0;
  list-style: none;
}
#worldforexnews-prototype .evidence-map-steps li { position: relative; min-width: 0; }
#worldforexnews-prototype .evidence-map-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 21px;
  left: calc(100% - 2px);
  width: 10px;
  border-top: 1px solid var(--fx-line-strong, #cbd6e1);
}
#worldforexnews-prototype .evidence-map-steps button {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 4px;
  width: 100%;
  min-height: 66px;
  padding: 9px 10px;
  border: 1px solid var(--fx-line);
  border-radius: 9px;
  background: var(--fx-surface-soft);
  color: var(--fx-text);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
#worldforexnews-prototype .evidence-map-steps button:hover { transform: translateY(-2px); }
#worldforexnews-prototype .evidence-map-steps button:focus-visible,
#worldforexnews-prototype .hypothesis-switch button:focus-visible { outline: 3px solid var(--fx-blue); outline-offset: 2px; }
#worldforexnews-prototype .evidence-map-steps button[aria-pressed="true"] {
  border-color: var(--fx-blue);
  background: var(--fx-blue-soft);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--fx-blue) 13%, transparent);
}
#worldforexnews-prototype .evidence-map-steps button span { color: var(--fx-blue); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
#worldforexnews-prototype .evidence-map-steps button strong { font-size: .83rem; line-height: 1.2; }
#worldforexnews-prototype .evidence-map-detail {
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--fx-surface-soft);
  color: var(--fx-text);
  font-size: .91rem;
  line-height: 1.55;
}
#worldforexnews-prototype .evidence-map-touched .evidence-map-detail { animation: evidence-reveal 220ms ease both; }
#worldforexnews-prototype .hypothesis-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 20px;
  border-left: 3px solid var(--fx-warm-accent, #b98d54);
}
#worldforexnews-prototype .hypothesis-switch { display: flex; align-items: end; gap: 5px; }
#worldforexnews-prototype .hypothesis-switch button {
  min-height: 39px;
  padding: 7px 11px;
  border: 1px solid var(--fx-line);
  border-radius: 99px;
  background: var(--fx-surface-soft);
  color: var(--fx-text);
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
#worldforexnews-prototype .hypothesis-switch button[aria-pressed="true"] { border-color: var(--fx-text); background: var(--fx-text); color: var(--fx-surface); }
#worldforexnews-prototype .hypothesis-panel {
  grid-column: 1 / -1;
  min-height: 118px;
  padding: 14px 15px;
  border: 1px solid var(--fx-line);
  border-radius: 9px;
  background: var(--fx-surface-soft);
}
#worldforexnews-prototype .hypothesis-panel strong { display: block; margin-bottom: 5px; }
#worldforexnews-prototype .hypothesis-panel p,
#worldforexnews-prototype .hypothesis-no-script p { margin: 0; color: var(--fx-muted); line-height: 1.55; }
#worldforexnews-prototype .hypothesis-updated { animation: evidence-reveal 240ms ease both; }
#worldforexnews-prototype .hypothesis-no-script { margin-top: 10px; padding: 13px; border-radius: 9px; background: var(--fx-surface-soft); }
#worldforexnews-prototype .reading-route { padding-block: 16px; }
#worldforexnews-prototype .reading-route ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}
#worldforexnews-prototype .reading-route li { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 11px 12px; border-radius: 8px; background: var(--fx-surface-soft); }
#worldforexnews-prototype .reading-route li span { color: var(--fx-blue); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
#worldforexnews-prototype .reading-route li a { font-size: .9rem; line-height: 1.4; text-decoration: none; }
#worldforexnews-prototype .reading-route li a:hover { text-decoration: underline; text-underline-offset: 3px; }
#worldforexnews-prototype .evidence-map-no-script p { margin: 8px 0; }
@keyframes evidence-reveal {
  from { opacity: .5; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  #worldforexnews-prototype .evidence-map,
  #worldforexnews-prototype .hypothesis-compare,
  #worldforexnews-prototype .reading-route { padding: 15px; }
  #worldforexnews-prototype .evidence-map-steps {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    gap: 8px;
    padding: 2px 2px 9px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  #worldforexnews-prototype .evidence-map-steps li { flex: 0 0 124px; scroll-snap-align: start; }
  #worldforexnews-prototype .evidence-map-steps li:not(:last-child)::after { display: none; }
  #worldforexnews-prototype .hypothesis-compare { grid-template-columns: minmax(0, 1fr); }
  #worldforexnews-prototype .hypothesis-switch { justify-content: flex-start; }
  #worldforexnews-prototype .hypothesis-panel { grid-column: 1; min-height: 150px; }
  #worldforexnews-prototype .reading-route ol { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .evidence-map-steps button,
  #worldforexnews-prototype .hypothesis-switch button,
  #worldforexnews-prototype .reality-ledger-details summary::before { transition: none; }
  #worldforexnews-prototype .evidence-map-touched .evidence-map-detail,
  #worldforexnews-prototype .hypothesis-updated,
  #worldforexnews-prototype .reality-ledger-detail-grid { animation: none; }
}

#worldforexnews-prototype .market-radar-teaser {
  margin: 34px 0;
  padding: clamp(19px, 2.8vw, 29px);
  border: 1px solid var(--fx-line);
  border-top: 2px solid var(--fx-blue);
  background: linear-gradient(135deg, var(--fx-surface-soft), var(--fx-surface) 62%, color-mix(in srgb, var(--fx-blue-soft) 48%, var(--fx-surface)));
  box-shadow: 0 16px 40px rgba(17,42,70,.06);
}
#worldforexnews-prototype .radar-teaser-heading,
#worldforexnews-prototype .radar-dashboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 19px;
}
#worldforexnews-prototype .radar-teaser-heading h2,
#worldforexnews-prototype .radar-dashboard-head h2 { margin: 6px 0 0; font-size: clamp(1.35rem, 2vw, 1.85rem); letter-spacing: -.035em; }
#worldforexnews-prototype .radar-teaser-heading > p,
#worldforexnews-prototype .radar-dashboard-head > div:first-child p { max-width: 440px; margin: 0; color: var(--fx-muted); line-height: 1.5; }
#worldforexnews-prototype .radar-teaser-layout { display: grid; grid-template-columns: minmax(0,1.14fr) minmax(280px,.86fr); gap: 12px; }
#worldforexnews-prototype .radar-teaser-watch,
#worldforexnews-prototype .radar-teaser-calendar { min-width: 0; padding: 17px; border: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .radar-teaser-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--fx-blue); font-size: .69rem; font-weight: 700; letter-spacing: .09em; }
#worldforexnews-prototype .radar-teaser-label a { color: var(--fx-blue); font-size: .76rem; letter-spacing: 0; text-decoration: none; }
#worldforexnews-prototype .radar-teaser-label a:hover { text-decoration: underline; text-underline-offset: 3px; }
#worldforexnews-prototype .radar-quick-topics { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 12px; }
#worldforexnews-prototype .radar-quick-topic,
#worldforexnews-prototype .radar-topic { min-height: 37px; padding: 7px 10px; border: 1px solid var(--fx-line); border-radius: 3px; background: var(--fx-surface); color: var(--fx-text); text-align: left; cursor: pointer; transition: border-color 150ms ease, background 150ms ease, transform 150ms ease; }
#worldforexnews-prototype .radar-quick-topic { font-size: .82rem; }
#worldforexnews-prototype .radar-quick-topic:hover,
#worldforexnews-prototype .radar-topic:hover { border-color: var(--fx-blue); transform: translateY(-1px); }
#worldforexnews-prototype .radar-quick-topic[aria-pressed="true"],
#worldforexnews-prototype .radar-topic[aria-pressed="true"] { border-color: var(--fx-blue); background: var(--fx-blue-soft); color: var(--fx-blue); box-shadow: inset 0 -2px var(--fx-blue); }
#worldforexnews-prototype .radar-home-matches { min-height: 65px; padding: 11px 12px; border-left: 2px solid var(--fx-blue); background: var(--fx-surface-soft); }
#worldforexnews-prototype .radar-home-matches > p { margin: 0; color: var(--fx-muted); font-size: .84rem; line-height: 1.45; }
#worldforexnews-prototype .radar-home-match-list { display: grid; gap: 7px; }
#worldforexnews-prototype .radar-home-match { display: flex; align-items: baseline; gap: 9px; min-width: 0; font-size: .82rem; }
#worldforexnews-prototype .radar-home-match small { flex: 0 0 auto; color: var(--fx-blue); font-size: .66rem; font-weight: 700; }
#worldforexnews-prototype .radar-home-match a { overflow: hidden; color: var(--fx-text); text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
#worldforexnews-prototype .radar-home-match a:hover { color: var(--fx-blue); text-decoration: underline; text-underline-offset: 2px; }
#worldforexnews-prototype .radar-open-link { display: flex; justify-content: space-between; gap: 8px; margin-top: 11px; color: var(--fx-blue); font-size: .82rem; font-weight: 650; text-decoration: none; }
#worldforexnews-prototype .radar-open-link:hover { gap: 13px; }
#worldforexnews-prototype .radar-home-upcoming { display: grid; gap: 0; margin-top: 7px; }
#worldforexnews-prototype .radar-home-event { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 11px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--fx-line); }
#worldforexnews-prototype .radar-home-event:last-child { border-bottom: 0; }
#worldforexnews-prototype .radar-home-event time { color: var(--fx-blue); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
#worldforexnews-prototype .radar-home-event strong { display: block; font-size: .83rem; line-height: 1.32; }
#worldforexnews-prototype .radar-home-event small { display: block; margin-top: 3px; color: var(--fx-muted); font-size: .72rem; }
#worldforexnews-prototype .radar-teaser-note { margin: 9px 0 0; color: var(--fx-muted); font-size: .72rem; line-height: 1.4; }

#worldforexnews-prototype .radar-page-wrap { max-width: 1320px; }
#worldforexnews-prototype .radar-page-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
#worldforexnews-prototype .radar-page-intro h1 { max-width: 20ch; }
#worldforexnews-prototype .radar-verified { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; margin-bottom: 9px; padding: 8px 10px; border: 1px solid var(--fx-line); background: var(--fx-surface); color: var(--fx-muted); font-size: .74rem; }
#worldforexnews-prototype .status-pulse { width: 7px; height: 7px; border-radius: 50%; background: #27876d; box-shadow: 0 0 0 4px color-mix(in srgb, #27876d 14%, transparent); }
#worldforexnews-prototype .radar-app { padding: clamp(14px,2.4vw,25px); border: 1px solid var(--fx-line); border-top: 2px solid var(--fx-blue); background: var(--fx-surface-soft); box-shadow: 0 18px 48px rgba(17,42,70,.07); }
#worldforexnews-prototype .radar-dashboard-head { align-items: center; margin-bottom: 15px; }
#worldforexnews-prototype .radar-dashboard-head h2 { font-size: clamp(1.2rem,1.7vw,1.5rem); }
#worldforexnews-prototype .radar-dashboard-head > div:first-child p { margin-top: 5px; font-size: .84rem; }
#worldforexnews-prototype .radar-dashboard-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: 7px; }
#worldforexnews-prototype .radar-dashboard-actions > span { margin-right: 5px; color: var(--fx-muted); font-size: .75rem; }
#worldforexnews-prototype .radar-dashboard-actions button { min-height: 34px; font-size: .77rem; }
#worldforexnews-prototype .radar-dashboard-grid { display: grid; grid-template-columns: minmax(255px,.73fr) minmax(0,1.5fr); gap: 14px; align-items: start; }
#worldforexnews-prototype .radar-topic-panel,
#worldforexnews-prototype .radar-workspace { min-width: 0; padding: 15px; border: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .radar-topic-group { min-width: 0; margin: 0 0 15px; padding: 0; border: 0; }
#worldforexnews-prototype .radar-topic-group:last-of-type { margin-bottom: 8px; }
#worldforexnews-prototype .radar-topic-group legend { margin-bottom: 8px; color: var(--fx-blue); font-size: .7rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
#worldforexnews-prototype .radar-topic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
#worldforexnews-prototype .radar-topic { display: flex; min-width: 0; min-height: 48px; flex-direction: column; justify-content: center; gap: 3px; padding: 6px 8px; }
#worldforexnews-prototype .radar-topic span { overflow: hidden; font-size: .77rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
#worldforexnews-prototype .radar-topic small { overflow: hidden; color: var(--fx-muted); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
#worldforexnews-prototype .radar-topic[aria-pressed="true"] small { color: var(--fx-blue); }
#worldforexnews-prototype .radar-local-note { display: flex; gap: 7px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--fx-line); color: var(--fx-muted); font-size: .73rem; line-height: 1.4; }
#worldforexnews-prototype .radar-workspace-tabs { display: flex; gap: 5px; border-bottom: 1px solid var(--fx-line); }
#worldforexnews-prototype .radar-workspace-tabs button { display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 11px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--fx-muted); font-size: .83rem; cursor: pointer; }
#worldforexnews-prototype .radar-workspace-tabs button span { display: inline-grid; min-width: 20px; height: 20px; place-items: center; border-radius: 99px; background: var(--fx-surface-soft); color: inherit; font-size: .68rem; font-variant-numeric: tabular-nums; }
#worldforexnews-prototype .radar-workspace-tabs button[aria-selected="true"] { border-color: var(--fx-blue); color: var(--fx-blue); font-weight: 700; }
#worldforexnews-prototype .radar-filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; min-height: 54px; padding: 8px 0; }
#worldforexnews-prototype .radar-filterbar label { display: flex; align-items: center; gap: 7px; color: var(--fx-muted); font-size: .75rem; }
#worldforexnews-prototype .radar-filterbar select { min-height: 31px; padding: 4px 24px 4px 8px; border: 1px solid var(--fx-line); border-radius: 2px; background: var(--fx-surface); color: var(--fx-text); font: inherit; }
#worldforexnews-prototype .radar-filterbar input { accent-color: var(--fx-blue); }
#worldforexnews-prototype .radar-filterbar [hidden] { display: none !important; }
#worldforexnews-prototype .radar-month-bar { display: flex; align-items: center; gap: 8px; min-height: 42px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .radar-month-bar h3 { flex: 1; margin: 0; font-size: .98rem; font-variant-numeric: tabular-nums; }
#worldforexnews-prototype .radar-month-bar button { display: grid; min-width: 34px; height: 32px; place-items: center; border: 1px solid var(--fx-line); background: var(--fx-surface); color: var(--fx-text); cursor: pointer; }
#worldforexnews-prototype .radar-month-bar button:hover:not(:disabled) { border-color: var(--fx-blue); color: var(--fx-blue); }
#worldforexnews-prototype .radar-month-bar button:disabled { opacity: .4; cursor: default; }
#worldforexnews-prototype .radar-month-bar .radar-today { display: inline-flex; width: auto; padding: 0 9px; color: var(--fx-blue); font-size: .72rem; }
#worldforexnews-prototype .radar-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; padding: 5px 0 13px; }
#worldforexnews-prototype .radar-calendar-weekday { padding: 4px 0; color: var(--fx-muted); font-size: .64rem; font-weight: 700; text-align: center; text-transform: uppercase; }
#worldforexnews-prototype .radar-calendar-day { position: relative; display: flex; min-width: 0; min-height: 38px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 3px 1px; border: 1px solid transparent; border-radius: 2px; background: transparent; color: var(--fx-text); font-size: .75rem; font-variant-numeric: tabular-nums; cursor: pointer; }
#worldforexnews-prototype .radar-calendar-day:hover { border-color: var(--fx-blue); background: var(--fx-blue-soft); }
#worldforexnews-prototype .radar-calendar-day[aria-pressed="true"] { border-color: var(--fx-blue); background: var(--fx-blue); color: #fff; box-shadow: 0 4px 10px color-mix(in srgb, var(--fx-blue) 22%, transparent); }
#worldforexnews-prototype .radar-calendar-day.is-outside { color: var(--fx-muted); opacity: .45; }
#worldforexnews-prototype .radar-calendar-day.is-today:not([aria-pressed="true"]) { border-color: color-mix(in srgb,var(--fx-blue) 45%, var(--fx-line)); }
#worldforexnews-prototype .radar-calendar-mark { width: 4px; height: 4px; border-radius: 50%; background: #d49a37; }
#worldforexnews-prototype .radar-calendar-day[aria-pressed="true"] .radar-calendar-mark { background: #fff; }
#worldforexnews-prototype .radar-day-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 0 8px; border-top: 1px solid var(--fx-line); }
#worldforexnews-prototype .radar-day-heading h3 { margin: 0; font-size: .94rem; }
#worldforexnews-prototype .radar-day-heading span { color: var(--fx-muted); font-size: .72rem; }
#worldforexnews-prototype .radar-results { display: grid; gap: 8px; min-height: 104px; }
#worldforexnews-prototype .radar-event-card { display: grid; grid-template-columns: 115px minmax(0,1fr); gap: 13px; padding: 12px; border: 1px solid var(--fx-line); background: var(--fx-surface); animation: radar-arrive 220ms ease both; }
#worldforexnews-prototype .radar-event-date { display: flex; flex-direction: column; gap: 6px; }
#worldforexnews-prototype .radar-event-date time { color: var(--fx-blue); font-size: .85rem; font-weight: 750; font-variant-numeric: tabular-nums; }
#worldforexnews-prototype .radar-event-date span { color: var(--fx-muted); font-size: .66rem; line-height: 1.35; }
#worldforexnews-prototype .radar-event-body h3 { margin: 0; font-size: .88rem; line-height: 1.35; }
#worldforexnews-prototype .radar-event-body > p { margin: 5px 0 7px; color: var(--fx-muted); font-size: .78rem; line-height: 1.45; }
#worldforexnews-prototype .radar-event-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--fx-muted); font-size: .69rem; }
#worldforexnews-prototype .radar-event-meta a { color: var(--fx-blue); font-weight: 650; text-decoration: none; }
#worldforexnews-prototype .radar-event-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
#worldforexnews-prototype .radar-event-actions { display: flex; align-items: center; gap: 10px; }
#worldforexnews-prototype .radar-event-actions button { min-height: 27px; padding: 3px 7px; border: 1px solid var(--fx-line); background: var(--fx-surface-soft); color: var(--fx-text); font: inherit; font-size: .66rem; cursor: pointer; }
#worldforexnews-prototype .radar-event-actions button:hover { border-color: var(--fx-blue); color: var(--fx-blue); }
#worldforexnews-prototype .radar-event-actions button:focus-visible { outline: 3px solid #e6a938; outline-offset: 2px; }
#worldforexnews-prototype .radar-results[hidden],
#worldforexnews-prototype .radar-empty[hidden] { display: none !important; }
#worldforexnews-prototype .radar-empty { display: grid; min-height: 110px; align-content: center; gap: 4px; padding: 16px; border: 1px dashed var(--fx-line); color: var(--fx-muted); text-align: center; }
#worldforexnews-prototype .radar-empty strong { color: var(--fx-text); font-size: .88rem; }
#worldforexnews-prototype .radar-empty span { font-size: .77rem; }
#worldforexnews-prototype .radar-method-note { display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 12px; margin-top: 14px; padding: 12px; border: 1px solid var(--fx-line); background: var(--fx-surface); color: var(--fx-muted); font-size: .74rem; line-height: 1.45; }
#worldforexnews-prototype .radar-method-note strong { color: var(--fx-blue); }
#worldforexnews-prototype .radar-story-card { display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 11px; align-items: center; padding: 8px; border: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .radar-story-card img { display: block; width: 94px; height: 65px; object-fit: cover; }
#worldforexnews-prototype .radar-story-card small { color: var(--fx-blue); font-size: .64rem; font-weight: 700; letter-spacing: .04em; }
#worldforexnews-prototype .radar-story-card a { display: block; margin-top: 3px; color: var(--fx-text); font-size: .82rem; font-weight: 650; line-height: 1.32; text-decoration: none; }
#worldforexnews-prototype .radar-story-card a:hover { color: var(--fx-blue); text-decoration: underline; text-underline-offset: 2px; }
#worldforexnews-prototype .radar-story-card p { margin: 4px 0 0; color: var(--fx-muted); font-size: .72rem; line-height: 1.4; }
#worldforexnews-prototype .radar-profile-mark { display: grid; width: 94px; height: 65px; place-items: center; background: linear-gradient(140deg, var(--fx-blue-soft), var(--fx-surface-soft)); color: var(--fx-blue); font-size: 1rem; font-weight: 750; letter-spacing: .04em; }
#worldforexnews-prototype .radar-profile-link { display: inline-flex; margin-top: 6px; color: var(--fx-blue); font-size: .72rem; font-weight: 650; text-decoration: none; }
#worldforexnews-prototype .radar-profile-link:hover { text-decoration: underline; text-underline-offset: 3px; }
#worldforexnews-prototype .radar-topic-summary { margin: 0 0 8px; color: var(--fx-muted); font-size: .75rem; }
#worldforexnews-prototype .radar-calendar-day:focus-visible,
#worldforexnews-prototype .radar-quick-topic:focus-visible,
#worldforexnews-prototype .radar-topic:focus-visible,
#worldforexnews-prototype .radar-workspace-tabs button:focus-visible,
#worldforexnews-prototype .radar-month-bar button:focus-visible { outline: 3px solid #e6a938; outline-offset: 2px; }
@keyframes radar-arrive { from { opacity: .45; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  #worldforexnews-prototype .radar-dashboard-grid { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .radar-topic-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  #worldforexnews-prototype .radar-teaser-heading,
  #worldforexnews-prototype .radar-dashboard-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  #worldforexnews-prototype .radar-teaser-layout { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .radar-page-intro { align-items: flex-start; flex-direction: column; gap: 8px; }
  #worldforexnews-prototype .radar-verified { margin-bottom: 0; }
  #worldforexnews-prototype .radar-dashboard-actions { justify-content: flex-start; }
  #worldforexnews-prototype .radar-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #worldforexnews-prototype .radar-calendar-grid { gap: 2px; }
  #worldforexnews-prototype .radar-calendar-day { min-height: 34px; font-size: .7rem; }
  #worldforexnews-prototype .radar-event-card { grid-template-columns: 90px minmax(0,1fr); gap: 9px; padding: 10px; }
  #worldforexnews-prototype .radar-event-meta { align-items: flex-start; flex-direction: column; }
  #worldforexnews-prototype .radar-method-note { grid-template-columns: minmax(0,1fr); gap: 4px; }
  #worldforexnews-prototype .article-change-history > summary { align-items: flex-start; flex-direction: column; gap: 6px; }
  #worldforexnews-prototype .article-change-status { width: 100%; justify-content: space-between; text-align: left; }
  #worldforexnews-prototype .article-change-list li { grid-template-columns: minmax(0,1fr); gap: 5px; }
}
@media (max-width: 440px) {
  #worldforexnews-prototype .market-radar-teaser { padding: 15px 12px; }
  #worldforexnews-prototype .radar-teaser-watch,
  #worldforexnews-prototype .radar-teaser-calendar,
  #worldforexnews-prototype .radar-topic-panel,
  #worldforexnews-prototype .radar-workspace { padding: 11px; }
  #worldforexnews-prototype .radar-dashboard-actions > span { flex-basis: 100%; }
  #worldforexnews-prototype .radar-event-card { grid-template-columns: minmax(0,1fr); gap: 6px; }
  #worldforexnews-prototype .radar-event-date { flex-direction: row; align-items: center; gap: 8px; }
  #worldforexnews-prototype .radar-story-card { grid-template-columns: 76px minmax(0,1fr); gap: 8px; }
  #worldforexnews-prototype .radar-story-card img { width: 76px; height: 58px; }
  #worldforexnews-prototype .radar-profile-mark { width: 76px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .radar-quick-topic,
  #worldforexnews-prototype .radar-topic { transition: none; }
  #worldforexnews-prototype .radar-event-card { animation: none; }
  #worldforexnews-prototype .article-change-chevron { transition: none; }
  #worldforexnews-prototype .event-outcome-item > summary::after { transition: none; }
}

/* Economic Calendar */
#worldforexnews-prototype .economic-page-wrap { padding-block: 26px 54px; }
#worldforexnews-prototype .economic-page-intro { align-items: center; margin-bottom: 18px; }
#worldforexnews-prototype .economic-page-intro h1 { margin-bottom: 5px; }
#worldforexnews-prototype .economic-page-intro p { max-width: 760px; }
#worldforexnews-prototype .economic-verified { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--fx-line); background: var(--fx-surface); color: var(--fx-muted); font-size: .88rem; }
#worldforexnews-prototype .economic-live-mark { width: 9px; height: 9px; border-radius: 50%; background: #4b9c8b; box-shadow: 0 0 0 4px color-mix(in srgb,#4b9c8b 16%,transparent); }
#worldforexnews-prototype .economic-calendar-app { --econ-radius: 3px; padding: 18px; border: 1px solid var(--fx-line); background: var(--fx-surface-soft); box-shadow: 0 12px 34px rgba(20,48,78,.055); }
#worldforexnews-prototype .economic-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 15px; border-bottom: 1px solid var(--fx-line); }
#worldforexnews-prototype .economic-years { display: flex; gap: 7px; }
#worldforexnews-prototype .economic-year-button { display: inline-flex; min-height: 46px; align-items: center; gap: 11px; padding: 7px 11px; border: 1px solid var(--fx-line); background: var(--fx-surface); color: var(--fx-text); font: inherit; font-size: 1rem; font-weight: 750; cursor: pointer; transition: border-color .18s ease,background .18s ease,color .18s ease; }
#worldforexnews-prototype .economic-year-button span { color: var(--fx-muted); font-size: .78rem; font-weight: 500; }
#worldforexnews-prototype .economic-year-button[aria-pressed="true"] { border-color: var(--fx-blue); background: var(--fx-blue); color: #fff; }
#worldforexnews-prototype .economic-year-button[aria-pressed="true"] span { color: rgba(255,255,255,.84); }
#worldforexnews-prototype .economic-month-control { display: flex; align-items: center; gap: 10px; }
#worldforexnews-prototype .economic-month-control h2 { min-width: 180px; margin: 0; font-size: 1.16rem; text-align: center; }
#worldforexnews-prototype .economic-month-arrow { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--fx-line); background: var(--fx-surface); color: var(--fx-text); font: inherit; font-size: 1.2rem; cursor: pointer; transition: background .18s ease,border-color .18s ease; }
#worldforexnews-prototype .economic-month-arrow:hover:not(:disabled) { border-color: var(--fx-blue); background: var(--fx-blue-soft); }
#worldforexnews-prototype .economic-month-arrow:disabled { cursor: default; opacity: .38; }
#worldforexnews-prototype .economic-filterbar { display: grid; grid-template-columns: minmax(180px,1.45fr) repeat(3,minmax(140px,1fr)) auto; gap: 10px; align-items: end; padding-block: 14px; }
#worldforexnews-prototype .economic-filterbar label { display: grid; min-width: 0; gap: 5px; }
#worldforexnews-prototype .economic-filterbar label > span { color: var(--fx-muted); font-size: .84rem; font-weight: 650; }
#worldforexnews-prototype .economic-filterbar input,
#worldforexnews-prototype .economic-filterbar select { width: 100%; min-width: 0; min-height: 44px; padding: 9px 10px; border: 1px solid var(--fx-line); border-radius: var(--econ-radius); background: var(--fx-surface); color: var(--fx-text); font: inherit; font-size: .95rem; }
#worldforexnews-prototype .economic-reset,
#worldforexnews-prototype .economic-utility-button { min-height: 44px; padding: 8px 11px; border: 1px solid var(--fx-line); border-radius: var(--econ-radius); background: var(--fx-surface); color: var(--fx-text); font: inherit; font-size: .88rem; font-weight: 650; white-space: nowrap; cursor: pointer; transition: border-color .18s ease,background .18s ease,color .18s ease; }
#worldforexnews-prototype .economic-reset:hover,
#worldforexnews-prototype .economic-utility-button:hover { border-color: var(--fx-blue); color: var(--fx-blue); }
#worldforexnews-prototype .economic-viewbar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--fx-line); color: var(--fx-muted); font-size: .9rem; }
#worldforexnews-prototype .economic-viewbar > div { display: flex; flex-wrap: wrap; gap: 7px; }
#worldforexnews-prototype .economic-viewbar .economic-utility-button { min-height: 38px; padding: 6px 10px; font-size: .84rem; }
#worldforexnews-prototype .economic-workspace { display: grid; grid-template-columns: minmax(340px,.92fr) minmax(420px,1.08fr); gap: 14px; align-items: stretch; }
#worldforexnews-prototype .economic-month-panel,
#worldforexnews-prototype .economic-agenda-panel { min-width: 0; padding: 14px; border: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .economic-weekdays { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; padding-bottom: 6px; }
#worldforexnews-prototype .economic-weekdays span { padding: 5px 0; color: var(--fx-muted); font-size: .82rem; font-weight: 700; text-align: center; }
#worldforexnews-prototype .economic-month-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); grid-auto-rows: minmax(47px,1fr); gap: 4px; }
#worldforexnews-prototype .economic-day { position: relative; display: grid; min-width: 0; min-height: 47px; place-items: center; align-content: center; gap: 1px; padding: 3px; border: 1px solid transparent; border-radius: var(--econ-radius); background: transparent; color: var(--fx-text); font: inherit; font-size: .94rem; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .16s ease,border-color .16s ease,transform .16s ease; }
#worldforexnews-prototype .economic-day:hover { z-index: 1; border-color: var(--fx-blue); background: var(--fx-blue-soft); transform: translateY(-1px); }
#worldforexnews-prototype .economic-day.is-selected { border-color: var(--fx-blue); background: var(--fx-blue); color: #fff; box-shadow: 0 4px 10px color-mix(in srgb,var(--fx-blue) 20%,transparent); }
#worldforexnews-prototype .economic-day.is-outside { color: var(--fx-muted); opacity: .45; }
#worldforexnews-prototype .economic-day.is-today:not(.is-selected) { border-color: color-mix(in srgb,var(--fx-blue) 55%,var(--fx-line)); }
#worldforexnews-prototype .economic-day > i { min-width: 16px; color: #bc7a1e; font-size: .68rem; font-style: normal; font-weight: 800; line-height: 1; }
#worldforexnews-prototype .economic-day.is-selected > i { color: #fff; }
#worldforexnews-prototype .economic-day-kinds { display: flex; min-height: 4px; justify-content: center; gap: 3px; }
#worldforexnews-prototype .economic-day-kinds i { width: 4px; height: 4px; border-radius: 50%; background: #c28b39; }
#worldforexnews-prototype .economic-day-kinds .is-data { background: #4b9c8b; }
#worldforexnews-prototype .economic-day-kinds .is-regulation { background: #8f6da5; }
#worldforexnews-prototype .economic-day-kinds .is-markets { background: #547aa6; }
#worldforexnews-prototype .economic-day.is-selected .economic-day-kinds i { background: #fff; }
#worldforexnews-prototype .economic-legend { display: flex; min-height: 34px; align-items: end; justify-content: space-between; gap: 10px; padding-top: 8px; color: var(--fx-muted); font-size: .82rem; }
#worldforexnews-prototype .economic-legend span:first-child { display: inline-flex; align-items: center; gap: 7px; }
#worldforexnews-prototype .economic-legend i { width: 8px; height: 8px; border-radius: 50%; background: #c28b39; }
#worldforexnews-prototype .economic-agenda-panel { display: flex; min-height: 400px; flex-direction: column; }
#worldforexnews-prototype .economic-agenda-heading { display: flex; min-height: 59px; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid var(--fx-line); }
#worldforexnews-prototype .economic-agenda-kicker { color: var(--fx-blue); font-size: .76rem; font-weight: 750; letter-spacing: .08em; }
#worldforexnews-prototype .economic-agenda-heading h2 { margin: 2px 0 0; font-size: 1.06rem; }
#worldforexnews-prototype .economic-agenda-heading button { min-height: 36px; padding: 6px 9px; border: 1px solid var(--fx-line); background: var(--fx-surface-soft); color: var(--fx-blue); font: inherit; font-size: .82rem; font-weight: 650; white-space: nowrap; cursor: pointer; }
#worldforexnews-prototype .economic-agenda-list { display: grid; max-height: 325px; min-height: 280px; align-content: start; gap: 8px; overflow: auto; padding: 10px 3px 5px 0; scrollbar-color: var(--fx-line) transparent; scrollbar-width: thin; }
#worldforexnews-prototype .economic-agenda-list[hidden] { display: none; }
#worldforexnews-prototype .economic-event-card { display: grid; grid-template-columns: minmax(100px, .27fr) minmax(0,1fr); gap: 12px; padding: 12px; border: 1px solid var(--fx-line); border-left: 3px solid var(--fx-blue); background: var(--fx-surface); animation: economic-arrive .2s ease both; }
#worldforexnews-prototype .economic-event-card[data-kind="data"] { border-left-color: #4b9c8b; }
#worldforexnews-prototype .economic-event-card[data-kind="regulation"] { border-left-color: #8f6da5; }
#worldforexnews-prototype .economic-event-card[data-kind="markets"] { border-left-color: #547aa6; }
#worldforexnews-prototype .economic-event-date { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
#worldforexnews-prototype .economic-event-date time { color: var(--fx-blue); font-size: .92rem; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.35; }
#worldforexnews-prototype .economic-event-date > span { color: var(--fx-muted); font-size: .82rem; line-height: 1.35; }
#worldforexnews-prototype .economic-event-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
#worldforexnews-prototype .economic-event-title-row h3 { margin: 0; font-size: .98rem; line-height: 1.35; }
#worldforexnews-prototype .economic-status { flex: 0 0 auto; padding: 3px 6px; border: 1px solid color-mix(in srgb,#4b9c8b 34%,var(--fx-line)); background: color-mix(in srgb,#4b9c8b 8%,var(--fx-surface)); color: var(--fx-text); font-size: .76rem; font-weight: 650; }
#worldforexnews-prototype .economic-status.is-tentative { border-color: color-mix(in srgb,#c28b39 44%,var(--fx-line)); background: color-mix(in srgb,#c28b39 10%,var(--fx-surface)); }
#worldforexnews-prototype .economic-event-main > p { margin: 6px 0 8px; color: var(--fx-muted); font-size: .91rem; line-height: 1.48; }
#worldforexnews-prototype .economic-event-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--fx-muted); font-size: .82rem; line-height: 1.4; }
#worldforexnews-prototype .economic-event-meta a { flex: 0 0 auto; color: var(--fx-blue); font-weight: 700; text-decoration: none; }
#worldforexnews-prototype .economic-event-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
#worldforexnews-prototype .economic-empty { display: grid; min-height: 280px; align-content: center; justify-items: center; gap: 5px; color: var(--fx-muted); text-align: center; }
#worldforexnews-prototype .economic-empty strong { color: var(--fx-text); font-size: .98rem; }
#worldforexnews-prototype .economic-empty span { font-size: .9rem; }
#worldforexnews-prototype .economic-selection-note { min-height: 24px; margin: auto 0 0; padding-top: 8px; color: var(--fx-muted); font-size: .83rem; }
#worldforexnews-prototype .economic-method-note { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 14px; margin: 14px 0 0; padding: 13px; border: 1px solid var(--fx-line); background: var(--fx-surface); color: var(--fx-muted); font-size: .88rem; line-height: 1.5; }
#worldforexnews-prototype .economic-method-note strong { color: var(--fx-blue); }
#worldforexnews-prototype .economic-index { margin-top: 27px; }
#worldforexnews-prototype .economic-index-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
#worldforexnews-prototype .economic-index-heading h2 { margin: 3px 0 0; font-size: 1.35rem; }
#worldforexnews-prototype .economic-index-heading p { max-width: 480px; margin: 0; color: var(--fx-muted); font-size: .9rem; }
#worldforexnews-prototype .economic-index-year { margin-top: 8px; border: 1px solid var(--fx-line); background: var(--fx-surface); }
#worldforexnews-prototype .economic-index-year > summary { display: flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; color: var(--fx-text); font-weight: 700; cursor: pointer; list-style-position: inside; }
#worldforexnews-prototype .economic-index-year > summary span { color: var(--fx-muted); font-size: .86rem; font-weight: 500; }
#worldforexnews-prototype .economic-index-list { display: grid; max-height: 680px; gap: 8px; overflow: auto; padding: 0 12px 12px; }
#worldforexnews-prototype .economic-live-status { min-height: 1px; }
@keyframes economic-arrive { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@container worldforexnewslayout (min-width: 741px) and (max-width: 950px) {
  #worldforexnews-prototype .economic-filterbar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #worldforexnews-prototype .economic-workspace { grid-template-columns: minmax(0,1fr); }
}
@container worldforexnewslayout (min-width: 741px) and (max-width: 820px) {
  #worldforexnews-prototype .primary-nav { gap: 6px; font-size: .86rem; }
  #worldforexnews-prototype .directory-trigger { gap: 6px; }
}
#worldforexnews-prototype .economic-day:focus-visible,
#worldforexnews-prototype .economic-year-button:focus-visible,
#worldforexnews-prototype .economic-month-arrow:focus-visible,
#worldforexnews-prototype .economic-utility-button:focus-visible,
#worldforexnews-prototype .economic-reset:focus-visible,
#worldforexnews-prototype .economic-agenda-heading button:focus-visible,
#worldforexnews-prototype .economic-event-meta a:focus-visible,
#worldforexnews-prototype .economic-filterbar input:focus-visible,
#worldforexnews-prototype .economic-filterbar select:focus-visible { outline: 3px solid #e6a938; outline-offset: 2px; }
@media (max-width: 720px) {
  #worldforexnews-prototype .economic-page-intro { align-items: flex-start; flex-direction: column; gap: 10px; }
  #worldforexnews-prototype .economic-calendar-app { padding: 11px; }
  #worldforexnews-prototype .economic-toolbar { align-items: flex-start; flex-direction: column; gap: 11px; }
  #worldforexnews-prototype .economic-filterbar { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  #worldforexnews-prototype .economic-search-label { grid-column: 1 / -1; }
  #worldforexnews-prototype .economic-reset { justify-self: start; }
  #worldforexnews-prototype .economic-viewbar { align-items: flex-start; flex-direction: column; padding-block: 9px; }
  #worldforexnews-prototype .economic-workspace { grid-template-columns: minmax(0,1fr); }
  #worldforexnews-prototype .economic-month-panel,
  #worldforexnews-prototype .economic-agenda-panel { padding: 10px; }
  #worldforexnews-prototype .economic-month-grid { grid-auto-rows: minmax(42px,1fr); gap: 2px; }
  #worldforexnews-prototype .economic-day { min-height: 42px; font-size: .9rem; }
  #worldforexnews-prototype .economic-weekdays { gap: 2px; }
  #worldforexnews-prototype .economic-agenda-panel { min-height: 370px; }
  #worldforexnews-prototype .economic-agenda-list { min-height: 250px; max-height: 330px; }
  #worldforexnews-prototype .economic-event-card { grid-template-columns: minmax(0,1fr); gap: 7px; }
  #worldforexnews-prototype .economic-event-date { flex-direction: row; align-items: center; gap: 8px; }
  #worldforexnews-prototype .economic-event-meta { align-items: flex-start; flex-direction: column; }
  #worldforexnews-prototype .economic-method-note { grid-template-columns: minmax(0,1fr); gap: 5px; }
  #worldforexnews-prototype .economic-index-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (max-width: 390px) {
  #worldforexnews-prototype .economic-year-button { flex: 1; justify-content: center; }
  #worldforexnews-prototype .economic-month-control { width: 100%; justify-content: space-between; }
  #worldforexnews-prototype .economic-month-control h2 { min-width: 0; }
  #worldforexnews-prototype .economic-day { min-height: 38px; padding: 2px 0; font-size: .82rem; }
  #worldforexnews-prototype .economic-day-kinds { gap: 2px; }
  #worldforexnews-prototype .economic-day-kinds i { width: 3px; height: 3px; }
  #worldforexnews-prototype .economic-event-title-row { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .economic-year-button,
  #worldforexnews-prototype .economic-month-arrow,
  #worldforexnews-prototype .economic-day,
  #worldforexnews-prototype .economic-reset,
  #worldforexnews-prototype .economic-utility-button { transition: none; }
  #worldforexnews-prototype .economic-event-card { animation: none; }
}
#worldforexnews-prototype .article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 18px;
}
#worldforexnews-prototype .article-tags span {
  padding: 6px 10px;
  border: 1px solid var(--fx-line);
  border-radius: 999px;
  color: var(--fx-muted);
  background: var(--fx-surface-soft);
  font-size: .78rem;
}
#worldforexnews-prototype .article-explore {
  margin: 20px 0 32px;
  padding: 18px 20px;
  border-left: 3px solid var(--fx-blue);
  background: var(--fx-surface-soft);
}
#worldforexnews-prototype .article-explore > strong { display: block; margin-bottom: 10px; }
#worldforexnews-prototype .article-explore > div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
#worldforexnews-prototype .article-explore a { color: var(--fx-text); text-decoration: none; }
#worldforexnews-prototype .article-explore a:hover { color: var(--fx-blue); text-decoration: underline; }

/* Refined global navigation: stable hierarchy, compact tools and keyboard-ready panels. */
#worldforexnews-prototype .app-window { overflow: clip; }
#worldforexnews-prototype .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--fx-surface);
  border-bottom: 1px solid var(--fx-line);
  box-shadow: 0 8px 24px rgba(12, 35, 61, .065);
}
#worldforexnews-prototype .header-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 22px;
  padding-block: 10px 0;
}
#worldforexnews-prototype .brand-row {
  grid-column: 1;
  grid-row: 1;
  justify-content: flex-start;
  gap: 18px;
  min-width: 0;
  padding: 0;
  border: 0;
}
#worldforexnews-prototype .header-tools {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  gap: 7px;
}
#worldforexnews-prototype .primary-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  gap: 5px;
  min-height: 48px;
  padding: 5px 0 7px;
  border-top: 1px solid var(--fx-line);
  font-size: .91rem;
}
#worldforexnews-prototype .primary-nav > a,
#worldforexnews-prototype .directory-trigger,
#worldforexnews-prototype .nav-more-trigger {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--fx-muted);
  font-size: .9rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
#worldforexnews-prototype .primary-nav > a:hover,
#worldforexnews-prototype .directory-trigger:hover,
#worldforexnews-prototype .directory-trigger[aria-expanded="true"],
#worldforexnews-prototype .nav-more-trigger:hover,
#worldforexnews-prototype .nav-more-trigger[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--fx-blue) 18%, transparent);
  background: var(--fx-blue-soft);
  color: var(--fx-blue);
}
#worldforexnews-prototype .primary-nav > a[aria-current="page"],
#worldforexnews-prototype .directory-trigger[aria-current="page"] {
  border-color: color-mix(in srgb, var(--fx-blue) 20%, transparent);
  background: var(--fx-blue-soft);
  color: var(--fx-blue);
  box-shadow: inset 0 -2px var(--fx-blue);
  font-weight: 600;
}
#worldforexnews-prototype .directory-trigger { cursor: pointer; }
#worldforexnews-prototype .directory-menu { position: static; }
#worldforexnews-prototype .directory-chevron {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-left: 1px;
}
#worldforexnews-prototype .nav-more { position: relative; flex: 0 0 auto; }
#worldforexnews-prototype .nav-more-trigger { cursor: pointer; }
#worldforexnews-prototype .nav-more-panel {
  position: absolute;
  z-index: 45;
  top: calc(100% + 7px);
  right: 0;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  padding: 7px;
  border: 1px solid var(--fx-line);
  border-top: 2px solid var(--fx-blue);
  background: var(--fx-surface);
  box-shadow: 0 18px 42px rgba(12, 35, 61, .17);
  animation: wfn-menu-in 160ms ease both;
}
#worldforexnews-prototype .nav-more-panel[hidden] { display: none !important; }
#worldforexnews-prototype .nav-more-panel a {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--fx-line);
  color: var(--fx-text);
  text-decoration: none;
}
#worldforexnews-prototype .nav-more-panel a:last-child { border-bottom: 0; }
#worldforexnews-prototype .nav-more-panel a:hover,
#worldforexnews-prototype .nav-more-panel a:focus-visible {
  background: var(--fx-blue-soft);
  color: var(--fx-blue);
}
#worldforexnews-prototype .nav-more-panel a span { font-size: .92rem; font-weight: 600; }
#worldforexnews-prototype .nav-more-panel a small { color: var(--fx-muted); font-size: .77rem; line-height: 1.4; }
#worldforexnews-prototype .company-mega-panel {
  top: calc(100% + 1px);
  padding: 24px 28px 18px;
  border-radius: 0 0 8px 8px;
}
#worldforexnews-prototype .header-search { gap: 5px; }
#worldforexnews-prototype .header-search input {
  width: clamp(142px, 15vw, 205px);
  min-height: 40px;
  border-radius: 4px;
}
#worldforexnews-prototype .header-search button,
#worldforexnews-prototype .saved-link,
#worldforexnews-prototype .theme-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--fx-line);
  border-radius: 4px;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
#worldforexnews-prototype .header-search button {
  border-color: var(--fx-blue);
  background: var(--fx-blue);
  color: #fff;
  cursor: pointer;
}
#worldforexnews-prototype .header-search button:hover { filter: brightness(1.08); transform: translateY(-1px); }
#worldforexnews-prototype .saved-link:hover,
#worldforexnews-prototype .theme-toggle:hover { border-color: var(--fx-blue); background: var(--fx-blue-soft); color: var(--fx-blue); }
#worldforexnews-prototype .theme-toggle[aria-pressed="true"] { border-color: var(--fx-blue); color: var(--fx-blue); }
#worldforexnews-prototype .menu-toggle {
  display: none;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid var(--fx-line);
  border-radius: 4px;
  background: var(--fx-surface);
  color: var(--fx-text);
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
}
#worldforexnews-prototype .menu-toggle:hover,
#worldforexnews-prototype .menu-toggle[aria-expanded="true"] { border-color: var(--fx-blue); background: var(--fx-blue-soft); color: var(--fx-blue); }
#worldforexnews-prototype .menu-toggle-lines {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 12px;
  border-block: 1.5px solid currentColor;
}
#worldforexnews-prototype .menu-toggle-lines::after {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  border-top: 1.5px solid currentColor;
  content: "";
}
#worldforexnews-prototype .menu-toggle[aria-expanded="true"] .menu-toggle-lines { border-color: transparent; }
#worldforexnews-prototype .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 5px; transform: rotate(45deg); }
#worldforexnews-prototype .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  border-top: 1.5px solid currentColor;
  transform: rotate(-45deg);
  content: "";
}
#worldforexnews-prototype .site-header :is(a, button, input):focus-visible {
  outline: 3px solid #e6a938;
  outline-offset: 3px;
}
@container worldforexnewslayout (min-width: 741px) and (max-width: 1160px) {
  #worldforexnews-prototype .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  #worldforexnews-prototype .brand-row { grid-column: 1; grid-row: 1; }
  #worldforexnews-prototype .header-tools { grid-column: 2; grid-row: 1; justify-self: end; }
  #worldforexnews-prototype .primary-nav { grid-column: 1 / -1; grid-row: 2; }
}
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .header-inner { grid-template-columns: minmax(0,1fr); gap: 11px; padding-block: 10px; }
  #worldforexnews-prototype .brand-row { grid-column: 1 / -1; grid-row: 1; justify-content: space-between; gap: 10px; }
  #worldforexnews-prototype .menu-toggle { display: inline-flex; }
  #worldforexnews-prototype .primary-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 3px;
    min-height: 0;
    padding: 7px 0 0;
    border-top: 1px solid var(--fx-line);
  }
  #worldforexnews-prototype .app-window.nav-open .primary-nav { display: flex; }
  #worldforexnews-prototype .primary-nav > a,
  #worldforexnews-prototype .directory-trigger,
  #worldforexnews-prototype .nav-more-trigger { width: 100%; justify-content: space-between; min-height: 42px; padding: 10px 12px; }
  #worldforexnews-prototype .primary-nav > .directory-menu,
  #worldforexnews-prototype .primary-nav > .nav-more { width: 100%; border-top: 1px solid var(--fx-line); }
  #worldforexnews-prototype .nav-more-panel {
    position: static;
    width: 100%;
    margin-top: 2px;
    box-shadow: none;
    animation: none;
  }
  #worldforexnews-prototype .company-mega-panel {
    position: static;
    width: 100%;
    margin-top: 2px;
    padding: 17px 12px 14px;
    transform: none;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
    animation: none;
  }
  #worldforexnews-prototype .header-tools {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: stretch;
    gap: 7px;
    width: 100%;
  }
  #worldforexnews-prototype .header-search { grid-column: 1 / -1; min-width: 0; }
  #worldforexnews-prototype .header-search input { flex: 1; width: 100%; min-width: 0; }
  #worldforexnews-prototype .header-search button { flex: 0 0 auto; }
  #worldforexnews-prototype .header-tools .saved-link,
  #worldforexnews-prototype .header-tools .theme-toggle { width: 100%; }
}
@container worldforexnewslayout (max-width: 470px) {
  #worldforexnews-prototype .header-inner,
  #worldforexnews-prototype .topline-inner { width: calc(100% - 28px); }
  #worldforexnews-prototype .header-tools { gap: 6px; }
  #worldforexnews-prototype .header-search input { min-height: 42px; }
  #worldforexnews-prototype .header-search button,
  #worldforexnews-prototype .header-tools .saved-link,
  #worldforexnews-prototype .header-tools .theme-toggle { min-height: 42px; font-size: .82rem; }
  #worldforexnews-prototype .company-mega-groups { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #worldforexnews-prototype .nav-more-panel,
  #worldforexnews-prototype .company-mega-panel { animation: none !important; }
  #worldforexnews-prototype .header-search button,
  #worldforexnews-prototype .primary-nav > a,
  #worldforexnews-prototype .directory-trigger,
  #worldforexnews-prototype .nav-more-trigger { transition: none !important; }
}


#worldforexnews-prototype .nav-more-trigger[aria-current="page"] {
  border-color: color-mix(in srgb, var(--fx-blue) 20%, transparent);
  background: var(--fx-blue-soft);
  color: var(--fx-blue);
  box-shadow: inset 0 -2px var(--fx-blue);
  font-weight: 600;
}
#worldforexnews-prototype .header-search-field {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
}
#worldforexnews-prototype .header-search-field input {
  width: 100%;
  min-width: 0;
  padding-right: 34px;
}
#worldforexnews-prototype .header-search-field kbd {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--fx-line);
  border-radius: 3px;
  background: var(--fx-surface-soft);
  color: var(--fx-muted);
  font-family: inherit;
  font-size: .72rem;
  line-height: 1;
}
#worldforexnews-prototype .header-search-field:focus-within kbd { opacity: .38; }

/* Article pages keep the reading column clear while the reader scrolls. */
#worldforexnews-prototype .app-window.article-page > .site-header {
  position: relative;
  top: auto;
}

/* On touch widths, keep the menu in a bounded, independently scrollable panel. */
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 60;
    width: 100%;
    max-height: calc(100vh - 170px);
    max-height: calc(100dvh - 170px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 9px 14px 14px;
    border: 1px solid var(--fx-line);
    border-top: 2px solid var(--fx-blue);
    background: var(--fx-surface);
    box-shadow: 0 18px 42px rgba(12, 35, 61, .18);
    scrollbar-gutter: stable;
  }
  #worldforexnews-prototype .app-window.nav-open .primary-nav { display: flex; }
  #worldforexnews-prototype .header-tools { grid-row: 2; }
  #worldforexnews-prototype .company-mega-panel {
    max-height: none;
    overflow: visible;
  }
}

/* Clear, compact controls across desktop and touch layouts. */
#worldforexnews-prototype .header-tool-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#worldforexnews-prototype .header-search button { gap: 7px; }
#worldforexnews-prototype .saved-link,
#worldforexnews-prototype .theme-toggle { gap: 7px; }
#worldforexnews-prototype .header-search-field input { border-radius: 8px; }
#worldforexnews-prototype .header-search button,
#worldforexnews-prototype .saved-link,
#worldforexnews-prototype .theme-toggle,
#worldforexnews-prototype .menu-toggle { border-radius: 8px; }

@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .header-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-block: 8px;
  }
  #worldforexnews-prototype .brand-row { gap: 8px; }
  #worldforexnews-prototype .header-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    grid-row: 2;
    align-items: center;
    justify-self: stretch;
    gap: 6px;
    width: 100%;
  }
  #worldforexnews-prototype .header-search {
    grid-column: 1;
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 5px;
  }
  #worldforexnews-prototype .header-tools .saved-link { grid-column: 2; }
  #worldforexnews-prototype .header-tools .theme-toggle { grid-column: 3; }
  #worldforexnews-prototype .header-search-field { flex: 1 1 auto; width: 0; min-width: 0; }
  #worldforexnews-prototype .header-search-field input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding-inline: 12px;
  }
  #worldforexnews-prototype .header-search-field kbd { display: none; }
  #worldforexnews-prototype .header-search button {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
  #worldforexnews-prototype .header-search .tool-label,
  #worldforexnews-prototype .saved-link-label,
  #worldforexnews-prototype [data-theme-label] { display: none; }
  #worldforexnews-prototype .header-tools .saved-link,
  #worldforexnews-prototype .header-tools .theme-toggle {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    justify-self: center;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  #worldforexnews-prototype .saved-link { position: relative; }
  #worldforexnews-prototype .saved-count {
    position: absolute;
    top: 1px;
    right: 0;
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    padding-inline: 3px;
    border: 1px solid var(--fx-surface);
    border-radius: 999px;
    background: var(--fx-blue);
    color: #fff;
    font-size: .65rem;
    line-height: 1;
  }
  #worldforexnews-prototype .menu-toggle { min-width: 86px; }
  #worldforexnews-prototype .primary-nav > a,
  #worldforexnews-prototype .directory-trigger,
  #worldforexnews-prototype .nav-more-trigger {
    min-height: 46px;
    border-radius: 7px;
  }
  #worldforexnews-prototype .company-mega-link {
    min-height: 58px;
    padding: 11px 12px;
    border-radius: 7px;
  }
}

@container worldforexnewslayout (max-width: 380px) {
  #worldforexnews-prototype .header-inner,
  #worldforexnews-prototype .topline-inner { width: calc(100% - 24px); }
  #worldforexnews-prototype .brand { gap: 7px; }
  #worldforexnews-prototype .brand-symbol { flex-basis: 38px; width: 38px; height: 38px; }
  #worldforexnews-prototype .brand-wordmark strong { font-size: .91rem; }
  #worldforexnews-prototype .brand-wordmark span { font-size: .73rem; }
  #worldforexnews-prototype .menu-toggle { min-width: 80px; padding-inline: 9px; }
  #worldforexnews-prototype .header-tools { grid-template-columns: minmax(0, 1fr) 42px 42px; gap: 5px; }
  #worldforexnews-prototype .header-search button,
  #worldforexnews-prototype .header-tools .saved-link,
  #worldforexnews-prototype .header-tools .theme-toggle { width: 42px; min-width: 42px; }
}

/* Mobile navigation: keep the search available and make the full directory easy to scan. */
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .app-window.nav-open .header-tools {
    grid-template-columns: minmax(0, 1fr);
  }
  #worldforexnews-prototype .app-window.nav-open .header-tools .saved-link,
  #worldforexnews-prototype .app-window.nav-open .header-tools .theme-toggle {
    display: none;
  }
  #worldforexnews-prototype .app-window.nav-open .header-search {
    grid-column: 1;
    width: 100%;
  }
  #worldforexnews-prototype .primary-nav {
    max-height: min(72dvh, calc(100dvh - 142px));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
  #worldforexnews-prototype .company-mega-panel {
    padding: 10px 8px 8px;
  }
  #worldforexnews-prototype .company-mega-head {
    align-items: center;
    gap: 8px;
    padding-bottom: 9px;
  }
  #worldforexnews-prototype .company-mega-head .section-label { font-size: .68rem; }
  #worldforexnews-prototype .company-mega-head h2 {
    margin: 4px 0 0;
    font-size: 1.05rem;
    line-height: 1.2;
  }
  #worldforexnews-prototype .company-mega-head p,
  #worldforexnews-prototype .company-mega-footer { display: none; }
  #worldforexnews-prototype .directory-browse-all {
    min-height: 38px;
    gap: 5px;
    padding: 6px 8px;
    font-size: .76rem;
  }
  #worldforexnews-prototype .company-mega-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  #worldforexnews-prototype .company-mega-group { padding-top: 8px; }
  #worldforexnews-prototype .company-mega-group h3 {
    min-height: 0;
    margin: 0 0 4px;
    font-size: .78rem;
    line-height: 1.3;
  }
  #worldforexnews-prototype .company-mega-link {
    min-height: 46px;
    align-items: center;
    gap: 4px 8px;
    padding: 8px 9px;
  }
  #worldforexnews-prototype .company-mega-link > span { font-size: .88rem; }
  #worldforexnews-prototype .company-mega-link small { display: none; }
  #worldforexnews-prototype .company-mega-count { align-self: center; }
}

@container worldforexnewslayout (max-width: 380px) {
  #worldforexnews-prototype .company-mega-head { align-items: flex-start; }
  #worldforexnews-prototype .directory-browse-all { white-space: nowrap; }
}

/* Pin every mobile header control to the same grid row; auto-placement otherwise wraps Saved above search. */
@container worldforexnewslayout (max-width: 740px) {
  #worldforexnews-prototype .header-tools .saved-link,
  #worldforexnews-prototype .header-tools .header-search,
  #worldforexnews-prototype .header-tools .theme-toggle {
    grid-row: 1;
  }
}

/* Market Radar topic finder and venue-closure labels. */
#worldforexnews-prototype .radar-topic-search { display: grid; gap: 5px; margin: 0 0 14px; }
#worldforexnews-prototype .radar-topic-search > span { color: var(--fx-muted); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
#worldforexnews-prototype .radar-topic-search input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--fx-line); border-radius: 3px; background: var(--fx-surface); color: var(--fx-text); font: inherit; font-size: .86rem; }
#worldforexnews-prototype .radar-topic-search input:focus-visible { outline: 3px solid #e6a938; outline-offset: 2px; }
#worldforexnews-prototype .radar-topic-group[hidden],
#worldforexnews-prototype .radar-topic[hidden],
#worldforexnews-prototype .radar-topic-empty[hidden] { display: none !important; }
#worldforexnews-prototype .radar-topic-empty { margin: 0 0 12px; padding: 10px; border: 1px dashed var(--fx-line); color: var(--fx-muted); font-size: .78rem; }
#worldforexnews-prototype .radar-event-card.is-market-closure { border-left: 3px solid #d49a37; }
#worldforexnews-prototype .radar-event-status { width: max-content; padding: 3px 6px; border: 1px solid color-mix(in srgb,#d49a37 52%,var(--fx-line)); background: color-mix(in srgb,#d49a37 11%,var(--fx-surface)); color: var(--fx-text); font-size: .63rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
#worldforexnews-prototype .radar-closure-scope { display: block; margin: 0 0 8px; color: var(--fx-muted); font-size: .7rem; line-height: 1.35; }
@media (max-width: 440px) {
  #worldforexnews-prototype .radar-topic-search { margin-bottom: 12px; }
  #worldforexnews-prototype .radar-topic-search input { min-height: 44px; font-size: .9rem; }
}
