/*
 * .auDO Infrastructure Atlas · evergreen, provider-led proof of concept.
 * Only this review-only route is styled. Source-of-truth identity palette,
 * Poppins type and official logo assets follow the approved .auDO system.
 */
.atlas-page {
  --at-bg: #07111f;
  --at-surface: #0d1828;
  --at-raised: #132235;
  --at-text: #f3f5f7;
  --at-secondary: #d5dee8;
  --at-muted: #afbdca;
  --at-line: rgba(213,226,238,.18);
  --at-line-strong: rgba(213,226,238,.3);
  --at-gold: #f0b24d;
  --at-gold-subtle: rgba(240,178,77,.11);
  --at-teal: #46b8d8;
  --at-teal-subtle: rgba(70,184,216,.13);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--at-bg);
  color: var(--at-text);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
}
.atlas-page *, .atlas-page *::before, .atlas-page *::after { box-sizing: border-box; }
.atlas-page p, .atlas-page h1, .atlas-page h2, .atlas-page h3,
.atlas-page h4, .atlas-page dl, .atlas-page dt, .atlas-page dd { margin: 0; }
.atlas-page p { max-width: 80ch; }
.atlas-page a { color: var(--at-teal); text-underline-offset: 4px; }
.atlas-page button { color: inherit; font-family: inherit; }
.atlas-page :focus-visible { outline: 3px solid var(--at-gold); outline-offset: 4px; }
.atlas-page [hidden] { display: none !important; }
.atlas-shell { max-width: 1320px; padding: 0 clamp(1.2rem, 4.2vw, 4.2rem); margin: 0 auto; }
.atlas-eyebrow { font-size: .72rem; font-weight: 600; color: var(--at-gold); letter-spacing: .13em; text-transform: uppercase; }
.atlas-small { font-size: .81rem; color: var(--at-muted); line-height: 1.76; }
.atlas-text-link { font-size: .85rem; font-weight: 600; text-decoration: none; }
.atlas-text-link:hover, .atlas-page a:hover { text-decoration: underline; }
.atlas-masthead {
  display: flex; align-items: center; justify-content: space-between; min-height: 119px;
  border-bottom: 1px solid var(--at-line); gap: 1.4rem;
}
.atlas-brand { display: block; width: clamp(155px, 16vw, 202px); flex-shrink: 0; }
.atlas-brand img { display: block; width: 100%; height: auto; }
.atlas-masthead-actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.65rem, 2vw, 1.45rem); }
.atlas-preview { display: inline-flex; align-items: center; gap: .55rem; font-size: .74rem; font-weight: 600; color: var(--at-muted); white-space: nowrap; }
.atlas-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--at-gold); }
.atlas-home-link { font-weight: 600; font-size: .8rem; text-decoration: none; white-space: nowrap; }
.atlas-page .theme-toggle {
  min-height: 40px; min-width: 40px; padding: .45rem; color: var(--at-muted);
  background: transparent; border: 1px solid var(--at-line); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.atlas-page .theme-toggle:hover { border-color: var(--at-gold); color: var(--at-text); }
.atlas-page .theme-toggle svg { width: 19px; height: 19px; }
.atlas-hero { padding: clamp(3.1rem, 7.5vw, 6.6rem) 0 clamp(3.4rem, 8vw, 6.5rem); }
.atlas-hero-rule { display: flex; align-items: center; gap: .75rem; color: var(--at-muted); font-size: .72rem; font-weight: 600; letter-spacing: .11em; }
.atlas-rule-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--at-gold); position: relative; }
.atlas-rule-dot::after { content: ""; position: absolute; inset: -6px; border: 1px solid rgba(240,178,77,.52); border-radius: 50%; }
.atlas-hero h1 {
  max-width: 17.8ch; margin: 1.45rem 0 1.55rem;
  font-size: clamp(2.55rem, 5.35vw, 5.4rem); line-height: 1.12;
  font-weight: 700; letter-spacing: -.055em;
  color: var(--at-text); text-wrap: balance;
}
.atlas-hero h1 span { display: block; color: var(--at-gold); }
.atlas-standfirst { max-width: 70ch; color: var(--at-secondary); font-size: clamp(1.08rem, 1.6vw, 1.26rem); line-height: 1.7; }
.atlas-standfirst strong { color: var(--at-text); font-weight: 600; }
.atlas-hero-support { margin-top: .95rem !important; color: var(--at-muted); font-size: .93rem; }
.atlas-hero-metadata {
  display: flex; flex-wrap: wrap; gap: .75rem 1.8rem;
  margin-top: 2.5rem; padding-top: 1.1rem; border-top: 1px solid var(--at-line);
  color: var(--at-muted); font-size: .77rem;
}
.atlas-hero-metadata span + span { position: relative; }
.atlas-hero-metadata strong { color: var(--at-text); font-weight: 700; }
.atlas-explorer { padding-bottom: 4.5rem; }
.atlas-section-lead { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.8rem; }
.atlas-section-lead h2 { font-size: clamp(1.85rem, 3.25vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.22; margin: .6rem 0 .8rem; color: var(--at-text); }
.atlas-section-lead p:not(.atlas-eyebrow) { color: var(--at-secondary); font-size: .96rem; max-width: 68ch; }
.atlas-date { text-align: right; max-width: 225px; color: var(--at-muted); font: 500 .77rem/1.6 "Poppins",sans-serif; white-space: normal; }
.atlas-provider-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1.25rem; }
.atlas-provider-choices button {
  position: relative; min-height: 134px; min-width: 0; border: 1px solid var(--at-line);
  border-radius: 15px; padding: 1.35rem 1.25rem;
  text-align: left; background: var(--at-surface); color: var(--at-text);
  display: flex; align-items: flex-start; flex-direction: column; justify-content: center;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.atlas-provider-choices button:hover { border-color: var(--at-line-strong); background: var(--at-raised); transform: translateY(-2px); }
.atlas-provider-choices button[aria-pressed="true"] {
  border-color: var(--at-gold);
  background: linear-gradient(160deg,var(--at-raised),var(--at-surface));
  box-shadow: inset 0 3px 0 var(--at-gold);
}
.atlas-provider-name { display: block; max-width: 100%; font-size: clamp(1.1rem, 1.8vw, 1.48rem); line-height: 1.3; letter-spacing: -.03em; font-weight: 700; color: var(--at-text); }
.atlas-provider-sub { display: block; margin-top: .45rem; font-size: .72rem; color: var(--at-muted); }
.atlas-provider-trade { display: block; margin-top: 1px; font-weight: 400; letter-spacing: 0; font-size: .62rem; color: var(--at-muted); }
.atlas-provider-arrow { position: absolute; right: 1.1rem; top: .9rem; color: var(--at-teal); font-size: 1.1rem; opacity: .85; }
.atlas-provider-choices button[aria-pressed="true"] .atlas-provider-arrow { color: var(--at-gold); }
.atlas-stage {
  overflow: hidden; border: 1px solid var(--at-line-strong); border-radius: 21px;
  background: var(--at-surface);
}
.atlas-stage-head {
  display: flex; justify-content: space-between; gap: 1.4rem; align-items: end;
  padding: clamp(1.3rem, 2.8vw, 2.5rem);
  border-bottom: 1px solid var(--at-line);
}
.atlas-stage-head h3 { margin: .25rem 0 .3rem; font-size: clamp(2rem, 3.7vw, 3.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -.045em; }
.atlas-stage-head p:not(.atlas-eyebrow) { font-size: .88rem; color: var(--at-muted); }
.atlas-role-picker { flex-shrink: 0; display: flex; align-items: center; border: 1px solid var(--at-line-strong); padding: 4px; border-radius: 12px; background: var(--at-bg); }
.atlas-role-picker button { padding: .7rem 1rem; font-size: .79rem; font-weight: 600; border-radius: 8px; color: var(--at-muted); }
.atlas-role-picker button[aria-pressed="true"] { color: var(--at-bg); background: var(--at-gold); }
.atlas-role-picker button:hover:not([aria-pressed="true"]) { color: var(--at-text); }
.atlas-stage-grid { display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(285px,.83fr); }
.atlas-network { position: relative; min-width: 0; padding: 1.2rem clamp(.6rem, 1.5vw, 1.6rem) 1.3rem; background: var(--at-bg); }
.atlas-network::before {
  position: absolute; inset: 0; content: ""; pointer-events: none; opacity: .6;
  background: radial-gradient(ellipse at 50% 46%,rgba(70,184,216,.06),transparent 62%);
}
.atlas-network-head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--at-muted); font-size: .71rem; font-weight: 600; letter-spacing: .025em; }
.atlas-network-head span:last-child { font-family: var(--font-mono); font-size: .7rem; }
#atlas-network-svg { position: relative; display: block; width: 100%; height: auto; max-height: 410px; margin: .75rem auto 0; overflow: visible; }
.atlas-legend { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.3rem; color: var(--at-muted); font-size: .69rem; }
.atlas-legend > span { display: inline-flex; gap: .5rem; align-items: center; }
.atlas-legend-line { width: 25px; height: 3px; border-top: 2px solid var(--at-teal); }
.atlas-legend-line--quiet { border-top: 1px dashed var(--at-muted); }
.atlas-network-caption { position: relative; max-width: 74ch; margin-top: .65rem; color: var(--at-muted); font-size: .73rem; }
.atlas-evidence { border-left: 1px solid var(--at-line); padding: clamp(1.3rem, 2.8vw, 2.5rem) clamp(1.2rem, 2.5vw, 2.2rem); }
.atlas-evidence h4 { margin: .4rem 0 1.25rem; font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 600; line-height: 1.25; }
.atlas-evidence-value { font-size: clamp(2.1rem, 3.8vw, 3.8rem); letter-spacing: -.055em; line-height: 1; font-weight: 700; color: var(--at-gold); font-variant-numeric: tabular-nums; }
.atlas-evidence-explain { margin-top: .8rem !important; min-height: 3.4rem; font-size: .86rem; color: var(--at-secondary); }
.atlas-evidence-meter { height: 5px; background: var(--at-raised); border-radius: 4px; overflow: hidden; margin: 1.2rem 0 1.7rem; }
.atlas-evidence-meter > span { display: block; height: 100%; background: var(--at-teal); border-radius: inherit; }
.atlas-evidence-facts { border-top: 1px solid var(--at-line); }
.atlas-evidence-facts div { display: flex; justify-content: space-between; gap: .75rem; border-bottom: 1px solid var(--at-line); padding: .85rem 0; }
.atlas-evidence-facts dt { color: var(--at-muted); font-size: .72rem; }
.atlas-evidence-facts dd { max-width: 60%; text-align: right; color: var(--at-text); font-size: .72rem; font-weight: 600; overflow-wrap: anywhere; }
.atlas-evidence .atlas-small { margin: 1.4rem 0 1.2rem !important; }
.atlas-source-link { text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 600; }
.atlas-cohort-section { padding: clamp(1.2rem, 2.7vw, 2.3rem); border-top: 1px solid var(--at-line); }
.atlas-cohort-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; margin-bottom: 1.1rem; }
.atlas-cohort-heading h4 { font-size: .9rem; font-weight: 600; }
.atlas-cohort-heading span { font-size: .74rem; color: var(--at-muted); }
.atlas-cohort-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.atlas-cohort-controls button {
  display: flex; flex-direction: column; min-width: 0; gap: .35rem; align-items: flex-start;
  padding: .85rem .9rem; border: 1px solid var(--at-line);
  border-radius: 10px; background: var(--at-raised); color: var(--at-secondary); text-align: left;
}
.atlas-cohort-controls button:hover { border-color: var(--at-teal); }
.atlas-cohort-controls button[aria-pressed="true"] { border-color: var(--at-gold); box-shadow: inset 3px 0 0 var(--at-gold); }
.atlas-cohort-controls button strong { font-size: .79rem; font-weight: 600; color: var(--at-text); }
.atlas-cohort-controls button span { font-size: .69rem; color: var(--at-muted); }
.atlas-disclosure { margin: 1.1rem 0 0 !important; max-width: 100ch !important; font-size: .77rem; line-height: 1.75; color: var(--at-muted); }
.atlas-understand { padding: clamp(2.5rem, 6vw, 5.5rem) 0; border-top: 1px solid var(--at-line); }
.atlas-explain-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.atlas-explain { border-top: 1px solid var(--at-line-strong); padding-top: 1.15rem; }
.atlas-explain-number { color: var(--at-teal); font: 500 .75rem var(--font-mono); }
.atlas-explain h3 { margin: 1.15rem 0 .65rem; font-size: 1.35rem; letter-spacing: -.02em; font-weight: 600; }
.atlas-explain p { color: var(--at-secondary); font-size: .86rem; line-height: 1.9; }
.atlas-method { border-bottom: 1px solid var(--at-line); padding: 1.2rem 0; margin-top: 1.5rem; }
.atlas-method summary { cursor: pointer; font-weight: 600; color: var(--at-text); font-size: .89rem; }
.atlas-method p { margin-top: .85rem; font-size: .82rem; color: var(--at-muted); max-width: 85ch; }
.atlas-history { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.1fr); gap: clamp(2rem, 7vw, 6rem); padding: clamp(2.5rem, 6vw, 5rem) 0; border-top: 1px solid var(--at-line); }
.atlas-history h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); margin: .6rem 0 1.2rem; }
.atlas-history p:not(.atlas-eyebrow) { color: var(--at-secondary); font-size: .9rem; margin-bottom: 1rem; }
.atlas-history-detail { align-self: start; border: 1px solid var(--at-line-strong); background: var(--at-surface); border-radius: 15px; overflow: hidden; }
.atlas-history-detail summary {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  cursor: pointer; padding: 1.4rem 1.5rem; font-weight: 600; font-size: .9rem; list-style: none;
}
.atlas-history-detail summary::-webkit-details-marker { display: none; }
.atlas-history-detail summary span { color: var(--at-teal); }
.atlas-history-inner { border-top: 1px solid var(--at-line); padding: 1.5rem; }
.atlas-history-inner h3 { margin: .5rem 0 1rem; font-size: 1.45rem; font-weight: 600; }
.atlas-demo { margin: 1rem 0; }
.atlas-demo-totals { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.atlas-demo-totals > div { background: var(--at-raised); border: 1px solid var(--at-line); padding: 1rem; border-radius: 9px; }
.atlas-demo-totals strong { display: block; color: var(--at-gold); font-size: 2rem; letter-spacing: -.05em; font-weight: 700; }
.atlas-demo-totals span { color: var(--at-muted); font-size: .72rem; }
.atlas-demo-transitions { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
.atlas-demo-transitions li { font-size: .76rem; padding: .9rem; background: var(--at-raised); border: 1px solid var(--at-line); border-radius: 8px; }
.atlas-demo-transitions strong { display: block; font-size: 1.5rem; color: var(--at-teal); }
.atlas-demo-result { padding: .85rem 1rem; border-left: 3px solid var(--at-gold); background: var(--at-raised); font-size: .81rem; color: var(--at-secondary); margin: .8rem 0 !important; }
.atlas-reveal { background: var(--at-gold); border: 1px solid var(--at-gold); padding: .75rem 1rem; border-radius: 8px; color: #07111f !important; font-size: .79rem; font-weight: 700; }
.atlas-research-link { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; border-top: 1px solid var(--at-line); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.atlas-research-link h2 { font-size: clamp(1.6rem, 2.7vw, 2.5rem); letter-spacing: -.025em; margin: .6rem 0; }
.atlas-research-link p:not(.atlas-eyebrow) { font-size: .85rem; color: var(--at-muted); max-width: 65ch; }
.atlas-research-cta { border: 1px solid var(--at-line-strong); border-radius: 10px; padding: 1rem 1.25rem; color: var(--at-text) !important; text-decoration: none; font-size: .81rem; font-weight: 600; max-width: 295px; }
.atlas-research-cta span { margin-left: .65rem; color: var(--at-teal); }
.atlas-research-cta:hover { border-color: var(--at-teal); }
.atlas-footer { display: flex; flex-wrap: wrap; gap: .9rem 1.5rem; justify-content: space-between; border-top: 1px solid var(--at-line); padding: 2rem 0 3rem; color: var(--at-muted); font-size: .75rem; }
.atlas-footer strong { color: var(--at-text); }
.atlas-footer p { max-width: 62ch; }
.atlas-footer a { font-size: .75rem; text-decoration: none; }
#atlas-network-svg .at-svg-wire { fill: none; stroke: var(--at-teal); stroke-width: 2.25px; stroke-opacity: .8; }
#atlas-network-svg .at-svg-wire--quiet { stroke: var(--at-muted); stroke-opacity: .24; stroke-width: 1; stroke-dasharray: 4 7; }
#atlas-network-svg .at-svg-wire--selected { stroke: var(--at-gold); stroke-width: 3; stroke-opacity: 1; }
#atlas-network-svg .at-svg-node { fill: var(--at-surface); stroke: var(--at-line-strong); stroke-width: 1.25; }
#atlas-network-svg .at-svg-node--selected { stroke: var(--at-gold); stroke-width: 2; }
#atlas-network-svg .at-svg-node--quiet { fill: var(--at-bg); stroke-opacity: .5; }
#atlas-network-svg .at-svg-hub { fill: var(--at-raised); stroke: var(--at-gold); stroke-width: 1.5; }
#atlas-network-svg .at-svg-hub-ring { fill: none; stroke: var(--at-gold); stroke-opacity: .18; stroke-width: 1; }
#atlas-network-svg .at-svg-title { fill: var(--at-text); font: 600 13px "Poppins",sans-serif; }
#atlas-network-svg .at-svg-value { fill: var(--at-muted); font: 400 11px "Poppins",sans-serif; }
#atlas-network-svg .at-svg-hub-title { fill: var(--at-text); font: 700 23px "Poppins",sans-serif; }
#atlas-network-svg .at-svg-hub-sub { fill: var(--at-muted); font: 500 11px "Poppins",sans-serif; }
#atlas-network-svg .at-svg-small-dot { fill: var(--at-teal); }
#atlas-network-svg .at-svg-small-dot--selected { fill: var(--at-gold); }
#atlas-network-svg .at-svg-small-dot--quiet { fill: var(--at-muted); opacity: .3; }
[data-theme="light"] .atlas-page {
  --at-bg: #f3f5f7;
  --at-surface: #fff;
  --at-raised: #eaf0f5;
  --at-text: #07111f;
  --at-secondary: #25374b;
  --at-muted: #51647a;
  --at-line: rgba(19,47,69,.14);
  --at-line-strong: rgba(19,47,69,.25);
  --at-gold: #86510c;
  --at-gold-subtle: rgba(176,115,28,.09);
  --at-teal: #076781;
  --at-teal-subtle: rgba(20,118,142,.1);
}
[data-theme="light"] .atlas-role-picker button[aria-pressed="true"],
[data-theme="light"] .atlas-reveal { background: #f0b24d; color: #07111f; }
@media (max-width: 1150px) {
  .atlas-stage-grid { grid-template-columns: minmax(0,1.3fr) minmax(275px,.8fr); }
  .atlas-cohort-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .atlas-provider-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .atlas-stage-grid { grid-template-columns: 1fr; }
  .atlas-evidence { border-left: 0; border-top: 1px solid var(--at-line); }
  .atlas-network { padding: 1.2rem; }
  .atlas-section-lead { align-items: start; }
  .atlas-date { display: none; }
}
@media (max-width: 680px) {
  .atlas-masthead { min-height: 92px; }
  .atlas-brand { width: 142px; }
  .atlas-preview { display: none; }
  .atlas-home-link { display: none; }
  .atlas-hero { padding: 3.2rem 0 4.1rem; }
  .atlas-hero h1 { font-size: clamp(2.42rem,9vw,3.8rem); letter-spacing: -.04em; }
  .atlas-hero-metadata { gap: .5rem 1rem; }
  .atlas-provider-choices { gap: .55rem; }
  .atlas-provider-choices button { min-height: 105px; padding: 1rem .85rem; }
  .atlas-provider-name { font-size: 1.08rem; }
  .atlas-provider-arrow { right: .65rem; top: .55rem; }
  .atlas-stage-head { flex-direction: column; align-items: stretch; gap: 1.1rem; }
  .atlas-role-picker { align-self: flex-start; }
  .atlas-role-picker button { padding: .6rem .8rem; }
  /* Small-screen readers use the accessible cohort list rather than a
     shrunk and horizontally scrolling network graph. */
  .atlas-network { display: none; }
  .atlas-evidence { border-top: 0; }
  .atlas-stage-grid { display: block; }
  .atlas-cohort-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .atlas-cohort-heading { flex-direction: column; gap: .25rem; }
  .atlas-explain-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .atlas-explain h3 { margin-top: .6rem; }
  .atlas-history { grid-template-columns: 1fr; gap: 1.4rem; }
  .atlas-research-link { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-page *, .atlas-page *::before, .atlas-page *::after { transition: none !important; transform: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 440px) {
  .atlas-cohort-controls { grid-template-columns: 1fr; }
  .atlas-provider-name { font-size: 1rem; }
  .atlas-provider-sub { font-size: .68rem; }
}


/* ============================================================
   Provider and cohort as equal entry points
   ============================================================ */
.atlas-hero h1 { max-width: 20ch; }
.atlas-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.atlas-start-pane {
  min-width: 0;
  padding: clamp(1.15rem, 2.1vw, 1.8rem);
  border: 1px solid var(--at-line-strong);
  border-radius: 18px;
  background: var(--at-surface);
}
.atlas-start-pane:focus-within { border-color: color-mix(in srgb, var(--at-gold) 64%, var(--at-line)); }
.atlas-start-title { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.4rem; }
.atlas-start-number {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  color: var(--at-gold); border: 1px solid var(--at-line-strong);
  font: 700 .83rem "Poppins", sans-serif;
}
.atlas-start-title h3 { margin: 0 0 .35rem; font-size: clamp(1.03rem, 1.5vw, 1.28rem); font-weight: 600; }
.atlas-start-title p { font-size: .78rem; color: var(--at-muted); line-height: 1.6; }
.atlas-provider-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .5rem;
  margin-bottom: 1rem;
}
.atlas-provider-choices button {
  position: relative;
  display: flex; flex-direction: row; justify-content: space-between; align-items: center;
  min-height: 53px;
  width: 100%;
  padding: .65rem .85rem;
  background: var(--at-raised);
  border: 1px solid var(--at-line);
  border-radius: 9px;
  text-align: left;
  color: var(--at-text);
}
.atlas-provider-choices button strong { font-size: .82rem; font-weight: 600; overflow-wrap: anywhere; }
.atlas-provider-choices button:hover { transform: none; border-color: var(--at-teal); background: var(--at-raised); }
.atlas-provider-choices button[aria-pressed="true"] {
  border-color: var(--at-gold); box-shadow: inset 3px 0 0 var(--at-gold);
  background: var(--at-raised);
}
.atlas-featured-action { color: var(--at-teal); font-size: .89rem; padding-left: .3rem; }
.atlas-label { display: block; font-size: .8rem; font-weight: 600; margin: .9rem 0 .4rem; color: var(--at-secondary); }
.atlas-page #atlas-provider-search,
.atlas-page #atlas-provider-select {
  display: block; width: 100%; min-height: 44px; padding: .65rem .85rem;
  margin: .45rem 0 0;
  border: 1px solid var(--at-line-strong); border-radius: 9px;
  background: var(--at-raised); color: var(--at-text);
  font: 500 .85rem "Poppins", sans-serif;
}
.atlas-page #atlas-provider-search::placeholder { color: var(--at-muted); }
.atlas-page #atlas-provider-search:focus,
.atlas-page #atlas-provider-select:focus { border-color: var(--at-teal); }
.atlas-picker-note { margin-top: .85rem !important; color: var(--at-muted); font-size: .73rem; line-height: 1.7; }
.atlas-cohort-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
.atlas-cohort-choices button {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: .17rem; width: 100%; min-width: 0; min-height: 65px;
  padding: .75rem .85rem; border: 1px solid var(--at-line);
  border-radius: 9px; background: var(--at-raised); text-align: left;
}
.atlas-cohort-choices button:hover { border-color: var(--at-teal); }
.atlas-cohort-choices button[aria-pressed="true"] { border-color: var(--at-gold); box-shadow: inset 3px 0 0 var(--at-gold); }
.atlas-cohort-choices button strong { font-size: .82rem; font-weight: 600; color: var(--at-text); line-height: 1.45; }
.atlas-cohort-choices button span { font-size: .69rem; color: var(--at-muted); }
.atlas-role-area { align-self: end; }
.atlas-role-area > p:first-child { margin-bottom: .4rem; color: var(--at-muted); font-size: .73rem; font-weight: 600; }
.atlas-role-area .atlas-role-picker {
  display: flex; flex-wrap: wrap; justify-content: flex-start;
  gap: .15rem;
  max-width: 100%;
  background: var(--at-bg);
}
.atlas-role-area .atlas-role-picker button { white-space: nowrap; padding: .64rem .78rem; font-size: .76rem; }
.atlas-role-area .atlas-role-picker button:disabled {
  cursor: not-allowed; opacity: .36; color: var(--at-muted); 
}
.atlas-role-area .atlas-role-picker button:disabled:hover { color: var(--at-muted); }
.atlas-role-note { max-width: 38ch; margin: .45rem 0 0 !important; font-size: .71rem !important; color: var(--at-muted) !important; }
.atlas-stage-grid { grid-template-columns: minmax(0, 1.67fr) minmax(295px,.84fr); }
.atlas-cohort-controls button { min-height: 62px; }
.atlas-network-caption { max-width: 81ch; }

/* ============================================================
   Longitudinal evidence: actual 14-day State observations
   and governed 30- and 90-day cohort windows
   ============================================================ */
.atlas-time {
  padding: clamp(3.4rem, 6vw, 5.5rem) 0;
  border-top: 1px solid var(--at-line);
}
.atlas-time-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(300px,.84fr);
  gap: 1rem;
  align-items: stretch;
}
.atlas-time-panel {
  min-width: 0;
  border: 1px solid var(--at-line-strong);
  border-radius: 17px;
  background: var(--at-surface);
  padding: clamp(1.3rem, 2.4vw, 2rem);
}
.atlas-time-panel h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.48rem);
  line-height: 1.35; font-weight: 600; margin: .4rem 0 .65rem;
}
.atlas-time-intro { font-size: .84rem; color: var(--at-secondary); line-height: 1.85; }
.atlas-signal-controls,
.atlas-window-controls {
  display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.35rem 0 1rem;
}
.atlas-signal-controls button, .atlas-window-controls button {
  padding: .65rem .75rem;
  font: 600 .74rem "Poppins",sans-serif;
  border: 1px solid var(--at-line-strong);
  border-radius: 9px; background: var(--at-raised); color: var(--at-secondary);
}
.atlas-signal-controls button:hover, .atlas-window-controls button:hover { border-color: var(--at-teal); }
.atlas-signal-controls button[aria-pressed="true"], .atlas-window-controls button[aria-pressed="true"] {
  border-color: var(--at-gold);
  background: var(--at-gold-subtle);
  color: var(--at-text);
}
.atlas-chart-note { font-size: .72rem; color: var(--at-muted); margin: .75rem 0; }
#atlas-trend-svg { display: block; width: 100%; height: auto; max-height: 210px; overflow: visible; }
#atlas-trend-svg .at-trend-line { fill: none; stroke: var(--at-teal); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
#atlas-trend-svg .at-trend-point { fill: var(--at-teal); stroke: var(--at-surface); stroke-width: 2.2; }
#atlas-trend-svg .at-trend-point--active { fill: var(--at-gold); stroke: var(--at-surface); stroke-width: 3; }
#atlas-trend-svg g[role="button"] { cursor: pointer; }
#atlas-trend-svg .at-trend-tick { fill: var(--at-muted); font: 500 12px var(--font-mono); }
#atlas-trend-svg g[role="button"]:focus-visible circle { stroke: var(--at-gold); stroke-width: 4; }
.atlas-trend-detail {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--at-teal);
  border-radius: 0 9px 9px 0;
  background: var(--at-raised);
  margin: 1.15rem 0;
}
.atlas-trend-detail strong { display: block; font-size: .89rem; font-weight: 700; margin-bottom: .3rem; }
.atlas-trend-detail p { font-size: .78rem; color: var(--at-secondary); line-height: 1.8; }
.atlas-time-panel .atlas-source-link { margin-top: 1.2rem; font-size: .8rem; }
.atlas-table-scroll { margin-top: 1rem; overflow-x: auto; }
#atlas-trend-table { border-collapse: collapse; width: 100%; font-size: .76rem; }
#atlas-trend-table th, #atlas-trend-table td { text-align: left; border-bottom: 1px solid var(--at-line); padding: .6rem; }
#atlas-trend-table th { font-weight: 600; }
#atlas-trend-table th button { color: var(--at-teal); font-size: .75rem; font-weight: 600; }
.atlas-cohort-time-name {
  padding-top: .6rem;
  color: var(--at-gold); font-size: 1.3rem;
  font-weight: 600; line-height: 1.35;
}
.atlas-time-metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .5rem;
  margin: 1.2rem 0;
}
.atlas-time-metrics div {
  padding: .85rem .65rem;
  border: 1px solid var(--at-line);
  border-radius: 9px;
  background: var(--at-raised);
}
.atlas-time-metrics strong {
  display: block;
  margin-bottom: .65rem;
  font: 700 clamp(1.3rem, 2vw, 1.9rem)/1.2 "Poppins",sans-serif;
  letter-spacing: -.04em;
  color: var(--at-gold);
  font-variant-numeric: tabular-nums;
}
.atlas-time-metrics span { display: block; font-size: .69rem; line-height: 1.55; color: var(--at-muted); }
#atlas-time-context { font-size: .84rem; line-height: 1.85; color: var(--at-secondary); margin: 1.1rem 0; }
.atlas-optional-history {
  margin-top: 1.2rem;
  border: 1px solid var(--at-line);
  border-radius: 14px;
  background: var(--at-surface);
}
.atlas-optional-history summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: .9rem; font-weight: 600;
}
.atlas-optional-history summary::-webkit-details-marker { display: none; }
.atlas-optional-history summary span { color: var(--at-teal); }
.atlas-optional-history .atlas-history-inner { border-top: 1px solid var(--at-line); max-width: 750px; }
.atlas-optional-history .atlas-history-inner p:not(.atlas-eyebrow) { margin: .65rem 0; font-size: .82rem; }

/* ============================================================
   Pick your own next journey; no forced quarterly-report tie.
   ============================================================ */
.atlas-journeys {
  border-top: 1px solid var(--at-line);
  padding: clamp(3.2rem, 6vw, 5.6rem) 0;
}
.atlas-journey-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .9rem;
  margin-top: 1.5rem;
}
.atlas-journey-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 170px;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--at-line-strong);
  background: var(--at-surface);
  border-radius: 12px;
  text-decoration: none;
  color: var(--at-text);
}
.atlas-journey-grid a:hover { border-color: var(--at-gold); background: var(--at-raised); text-decoration: none; }
.atlas-journey-grid a > span:first-child {
  color: var(--at-teal); font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.atlas-journey-grid a strong {
  display: block;
  font-size: clamp(.97rem, 1.35vw, 1.17rem);
  font-weight: 600;
  line-height: 1.52;
  max-width: 22ch;
}
.atlas-journey-arrow { position: absolute; right: 1.4rem; top: 1.1rem; color: var(--at-gold); }
.atlas-explain a { display: inline-block; margin-top: 1rem; font-size: .77rem; font-weight: 600; text-decoration: none; }
#atlas-network-svg g[role="button"] { cursor: pointer; }
#atlas-network-svg g[role="button"]:focus-visible .at-svg-node { stroke: var(--at-gold); stroke-width: 3; }

@media (max-width: 1100px) {
  .atlas-start-grid { grid-template-columns: 1fr; }
  .atlas-provider-choices, .atlas-cohort-choices { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .atlas-time-grid { grid-template-columns: 1fr; }
  .atlas-journey-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 750px) {
  .atlas-provider-choices, .atlas-cohort-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .atlas-stage-head { flex-direction: column; align-items: stretch; }
  .atlas-role-area { align-self: stretch; }
  .atlas-role-area .atlas-role-picker { display: flex; }
  .atlas-cohort-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .atlas-start-pane { padding: 1.25rem; }
  .atlas-time-metrics strong { font-size: 1.45rem; }
}
@media (max-width: 540px) {
  .atlas-cohort-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .atlas-cohort-choices button { min-height: 63px; }
  .atlas-time-metrics { grid-template-columns: 1fr 1fr; }
  .atlas-journey-grid { grid-template-columns: 1fr; }
  .atlas-journey-grid a { min-height: 135px; }
  .atlas-hero h1 { font-size: clamp(2.1rem,8vw,3rem); }
  .atlas-signal-controls button { flex-grow: 1; }
}

/* An unlisted relationship has no connecting line; identify the idle node without implying an edge. */
.atlas-legend-empty {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--at-muted);
  border-radius: 3px;
  opacity: .5;
}

/* Focused validation: every published cohort association remains reachable.
   The relationship diagram shows up to eight per page; the companion
   selection list displays the complete named role-specific set. */
.atlas-graph-pager {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin: .45rem 0 .85rem;
  padding: .7rem .85rem;
  border: 1px solid var(--at-line);
  border-radius: 9px;
  background: var(--at-surface);
}
.atlas-graph-pager[hidden] { display: none !important; }
.atlas-graph-pager p { margin: 0; color: var(--at-secondary); font-size: .73rem; }
.atlas-graph-pager-actions { display: inline-flex; gap: .5rem; }
.atlas-graph-pager-actions button {
  padding: .38rem .6rem;
  border: 1px solid var(--at-line-strong);
  border-radius: 7px;
  color: var(--at-text);
  background: var(--at-raised);
  font-size: .7rem;
  font-weight: 600;
}
.atlas-graph-pager-actions button:hover:not(:disabled) { border-color: var(--at-teal); }
.atlas-graph-pager-actions button:disabled { opacity: .45; cursor: not-allowed; }
/* Explain a change of evidence unit rather than implying provider-specific
   histories when showing panel-wide and cohort-wide observations. */
.atlas-time-scope {
  max-width: 95ch !important;
  margin: 1rem 0 1.6rem !important;
  padding: 1rem 1.3rem;
  border-left: 3px solid var(--at-gold);
  border-radius: 0 9px 9px 0;
  background: var(--at-gold-subtle);
  color: var(--at-secondary);
  font-size: .85rem;
}
.atlas-time-scope strong { color: var(--at-text); }
/* Dated observations must not be joined by a continuous trend line. */
#atlas-trend-svg .at-trend-point { fill: var(--at-teal); stroke: var(--at-surface); stroke-width: 2; }
#atlas-trend-svg .at-trend-point--active { fill: var(--at-gold); stroke: var(--at-bg); stroke-width: 3; }
@media (max-width: 540px) {
  .atlas-graph-pager { align-items: stretch; }
  .atlas-graph-pager-actions { width: 100%; }
  .atlas-graph-pager-actions button { flex: 1; min-height: 38px; }
}

/* WCAG AA: journey-card labels need a darker teal in light mode because
   the rendered card surface is visually muted by the shared site theme. */
[data-theme="light"] .atlas-page .atlas-journey-grid a > span:first-child {
  color: #00495c;
}

/* ============================================================
   Atlas / .auDO shared-site alignment — October 2026
   The shared audo.css is the authority for palette, typography,
   panels, logo, navigation and footer. Atlas retains its own
   interactive graph, evidence and selection components.
   ============================================================ */
.atlas-page {
  --at-bg: var(--bg);
  --at-surface: var(--bg-elevated);
  --at-raised: var(--surface-2);
  --at-text: var(--text);
  --at-secondary: var(--text-soft);
  --at-muted: var(--muted);
  --at-line: var(--border);
  --at-line-strong: var(--border-strong);
  --at-gold: var(--accent);
  --at-gold-subtle: var(--accent-soft);
  --at-teal: var(--teal);
  --at-teal-subtle: color-mix(in srgb, var(--teal) 13%, transparent);
  background: transparent;
  padding: 32px 18px;
  min-height: 100vh;
  color: var(--text);
  font-size: var(--text-base);
  line-height: 1.58;
}
html[data-theme="light"] .atlas-page {
  --at-bg: #f0f4fa;
  --at-surface: #fff;
  --at-raised: #eaf0f5;
  --at-text: var(--text);
  --at-secondary: var(--text-soft);
  --at-muted: var(--muted);
  --at-line: var(--border);
  --at-line-strong: var(--border-strong);
  --at-gold: var(--accent);
  --at-gold-subtle: var(--accent-soft);
  --at-teal: #076781;
  --at-teal-subtle: rgba(20,118,142,.1);
  background: transparent;
}
.atlas-shell.shell {
  width: 100%;
  max-width: var(--max-wide);
  display: grid;
  gap: var(--space-4);
  margin: 0 auto;
  padding: 0;
}
.atlas-page .atlas-cover {
  margin: 0;
}
.atlas-page .atlas-cover .panel-inner {
  padding: var(--space-8);
}
.atlas-page .atlas-cover .panel-top {
  margin-bottom: 1.5rem;
}
.atlas-page .atlas-cover .site-nav a {
  color: inherit;
}
.atlas-page .atlas-cover .site-nav a[aria-current="page"] {
  color: var(--text);
}
.atlas-page .atlas-hero {
  margin-top: 20px;
  padding: 0;
}
.atlas-page .atlas-hero h1 {
  max-width: none;
  margin: 0;
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: .98;
  letter-spacing: var(--tracking-tight);
  color: var(--text);
}
.atlas-page .atlas-hero .hero-title-row {
  padding-bottom: 1.05rem;
}
.atlas-page .atlas-hero .hero-sub {
  max-width: 70ch;
  margin-top: 1.15rem;
  font-size: clamp(1.18rem, 2.3vw, 1.7rem);
  line-height: 1.45;
  color: var(--text-soft);
}
.atlas-page .atlas-hero .hero-sub strong {
  color: var(--accent);
  font-weight: 600;
}
.atlas-page .atlas-hero .status-line {
  max-width: 80ch;
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: var(--text-base);
  line-height: 1.68;
}
.atlas-page .atlas-hero .atlas-hero-support {
  max-width: 75ch;
  font-size: .88rem;
  margin-top: .75rem !important;
  color: var(--muted);
}
.atlas-page .atlas-hero .atlas-hero-metadata {
  margin-top: 1.4rem;
  padding-top: 0;
  gap: .4rem 1rem;
  border-top: 0;
  font-size: .78rem;
}
.atlas-page .atlas-hero-metadata strong {
  color: var(--text);
}
.atlas-page .atlas-review-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 1.2rem;
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--accent-soft);
  color: var(--text-soft);
  font-size: .72rem;
  font-weight: 500;
}
.atlas-page .atlas-explorer,
.atlas-page .atlas-time,
.atlas-page .atlas-understand,
.atlas-page .atlas-journeys {
  padding: 0;
  border-top: 0;
  background: var(--panel);
}
.atlas-page .atlas-section-inner {
  padding: clamp(1.35rem, 3vw, 2rem);
}
.atlas-page .atlas-section-lead {
  margin-bottom: 1.5rem;
}
.atlas-page .atlas-section-lead h2 {
  max-width: 33ch;
  margin: .45rem 0 .65rem;
  font-size: clamp(1.38rem, 2.4vw, 2rem);
  line-height: 1.23;
  letter-spacing: var(--tracking-tight);
}
.atlas-page .atlas-section-lead p:not(.atlas-eyebrow) {
  font-size: .9rem;
  line-height: 1.7;
}
.atlas-page .atlas-eyebrow {
  color: var(--muted);
  letter-spacing: var(--tracking-label);
}
.atlas-page .atlas-start-pane,
.atlas-page .atlas-stage,
.atlas-page .atlas-time-panel,
.atlas-page .atlas-journey-grid a {
  border-radius: var(--radius-md);
}
.atlas-page .atlas-time-panel,
.atlas-page .atlas-start-pane {
  background: var(--at-surface);
}
.atlas-page .atlas-time-panel {
  border-color: var(--at-line);
}
.atlas-page .atlas-stage-head h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  letter-spacing: var(--tracking-tight);
}
.atlas-page .atlas-stage {
  border-radius: var(--radius-md);
}
.atlas-page .atlas-journey-grid a {
  min-height: 150px;
}
.atlas-page .atlas-explain {
  padding: 1.1rem;
  border: 1px solid var(--at-line);
  border-radius: var(--radius-md);
  background: var(--at-surface);
}
.atlas-page .atlas-explain h3 {
  margin: .45rem 0 .65rem;
  font-size: 1.2rem;
}
.atlas-page .atlas-explain-grid {
  margin-top: 1rem;
}
.atlas-page .atlas-journey-grid {
  margin-top: 1.1rem;
}
/* The existing public footer remains the sole site footer. Restore its
   shared link colours after the Atlas-scoped exploration link styles. */
.atlas-page .site-footer {
  margin-top: clamp(42px, 7vw, 72px);
  padding-top: 24px;
  background: transparent;
  color: var(--faint);
  font-size: .9rem;
}
.atlas-page .site-footer a {
  color: var(--text);
}
.atlas-page .site-footer .footer-nav h2 {
  color: var(--muted);
}
.atlas-page .site-footer .footer-intro p {
  color: var(--muted);
}
.atlas-page .site-footer .footer-caution {
  color: var(--faint);
}
@media (max-width: 760px) {
  .atlas-page { padding: 16px 12px; }
  .atlas-page .atlas-cover .panel-inner { padding: 1.35rem; }
  .atlas-page .atlas-section-inner { padding: 1.2rem; }
  .atlas-page .atlas-hero h1 { font-size: clamp(1.75rem, 7.3vw, 2.5rem); }
  .atlas-page .atlas-hero .hero-sub { font-size: 1.08rem; }
  .atlas-page .atlas-start-grid { grid-template-columns: 1fr; }
  .atlas-page .atlas-hero .header-context-row { gap: .5rem .9rem; }
}
@media (max-width: 500px) {
  .atlas-page .atlas-explain-grid,
  .atlas-page .atlas-journey-grid { grid-template-columns: 1fr; }
}

/* Integrated reader typography: keep Atlas' distinct relationship design
   while reusing the Observatory's sanctioned type scale and font family. */
.atlas-page .atlas-start-title p,
.atlas-page .atlas-section-lead p:not(.atlas-eyebrow),
.atlas-page .atlas-explain p,
.atlas-page .atlas-time-intro,
.atlas-page .atlas-time-scope {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.65;
}
.atlas-page .atlas-provider-choices button,
.atlas-page .atlas-cohort-choices button,
.atlas-page .atlas-role-picker button {
  font-family: var(--font-sans);
}
.atlas-page .atlas-picker-note,
.atlas-page .atlas-role-note,
.atlas-page .atlas-legend,
.atlas-page .atlas-network-caption {
  font-family: var(--font-sans);
  line-height: 1.65;
}

/* Candidate: make the relationship workspace the Atlas, not a numbered article. */
.atlas-page .atlas-hero { margin-top:.65rem; }
.atlas-page .atlas-cover .panel-inner { padding-bottom:clamp(1.3rem,2.3vw,1.8rem); }
.atlas-page .atlas-hero .status-line { max-width:68ch; }
.atlas-page .atlas-hero .atlas-hero-support { max-width:74ch; }
.atlas-page .atlas-review-label { background:transparent; border-color:var(--border); }
.atlas-page .atlas-explorer .atlas-section-lead { margin-bottom:.8rem; align-items:center; }
.atlas-page .atlas-workspace { display:grid; grid-template-columns:minmax(235px,.65fr) minmax(0,2fr); gap:1rem; align-items:start; }
.atlas-page .atlas-start-grid { grid-template-columns:1fr; gap:.85rem; margin:0; }
.atlas-page .atlas-start-pane { padding:1rem; border-color:var(--at-line); }
.atlas-page .atlas-start-title { gap:.55rem; margin-bottom:.8rem; }
.atlas-page .atlas-start-mark { color:var(--at-teal); font-size:1.1rem; line-height:1.45; }
.atlas-page .atlas-start-title h3 { font-size:1rem; }
.atlas-page .atlas-start-title p { font-size:.75rem; line-height:1.45; }
.atlas-page .atlas-provider-choices { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.35rem; margin-bottom:.6rem; }
.atlas-page .atlas-provider-choices button { min-height:40px; padding:.5rem; }
.atlas-page .atlas-provider-choices button strong { font-size:.72rem; }
.atlas-page .atlas-cohort-choices { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.35rem; }
.atlas-page .atlas-cohort-choices button { min-height:52px; padding:.5rem; }
.atlas-page .atlas-cohort-choices button strong { font-size:.73rem; }
.atlas-page .atlas-picker-note { font-size:.7rem; line-height:1.48; }
.atlas-page .atlas-stage { margin:0; border-color:var(--at-line-strong); overflow:hidden; box-shadow:0 14px 35px rgba(0,0,0,.10); }
.atlas-page .atlas-stage-head { padding:1rem 1.2rem; gap:.85rem; }
.atlas-page .atlas-stage-head h3 { font-size:clamp(1.3rem,2.15vw,2rem); }
.atlas-page .atlas-stage-grid { grid-template-columns:minmax(0,1.45fr) minmax(235px,.8fr); }
.atlas-page .atlas-network { min-height:360px; background:radial-gradient(circle at 50% 44%,rgba(70,184,216,.1),transparent 64%),var(--at-bg); }
.atlas-page .atlas-network svg { width:100%; height:auto; }
.atlas-page .atlas-evidence { padding:1.3rem; }
.atlas-page .atlas-cohort-section { padding:.85rem 1.15rem; }
.atlas-page .atlas-time,.atlas-page .atlas-understand,.atlas-page .atlas-journeys { background:transparent; }
.atlas-page .atlas-understand .atlas-section-inner,.atlas-page .atlas-journeys .atlas-section-inner { padding-top:.9rem; }
.atlas-page .atlas-reading-help { border:1px solid var(--at-line); border-radius:var(--radius-md); padding:.95rem 1rem; }
.atlas-page .atlas-reading-help summary { cursor:pointer; color:var(--at-text); font-weight:600; }
.atlas-page .atlas-reading-help .atlas-explain-grid { margin-top:.9rem; }
.atlas-page .atlas-evidence-links { display:flex; flex-wrap:wrap; gap:.55rem 1.4rem; }
.atlas-page .atlas-evidence-links a { color:var(--at-text); font-size:.84rem; text-underline-offset:.2em; }
.atlas-page .atlas-evidence-links a:hover { color:var(--at-teal); }
@media(max-width:1100px) {
 .atlas-page .atlas-workspace { grid-template-columns:1fr; }
 .atlas-page .atlas-start-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .atlas-page .atlas-stage-grid { grid-template-columns:minmax(0,1.45fr) minmax(230px,.8fr); }
}
@media(max-width:750px) {
 .atlas-page .atlas-start-grid { grid-template-columns:1fr; }
 .atlas-page .atlas-stage-grid { grid-template-columns:1fr; }
 .atlas-page .atlas-evidence { border:0; border-top:1px solid var(--at-line); }
 .atlas-page .atlas-network { display:block; overflow-x:auto; min-height:0; padding:.8rem; }
 .atlas-page .atlas-network svg { display:block; min-width:640px; }
 .atlas-page .atlas-network-head { font-size:.7rem; }
 .atlas-page .atlas-stage-head { padding:1rem; }
}

/* Mobile is visual-first: lead with an actual association, then change the view. */
.atlas-page .atlas-mobile-jump { display:none; }
@media(max-width:750px) {
 .atlas-page .atlas-hero .hero-sub { font-size:1.02rem; line-height:1.38; }
 .atlas-page .atlas-hero .status-line { font-size:.9rem; line-height:1.52; margin-top:.65rem; }
 .atlas-page .atlas-hero .atlas-hero-support { font-size:.8rem; line-height:1.5; }
 .atlas-page .atlas-hero .atlas-hero-metadata { margin-top:.75rem; font-size:.72rem; }
 .atlas-page .atlas-review-label { margin-top:.75rem; }
 .atlas-page .atlas-mobile-jump { display:block; margin-top:.65rem; }
 .atlas-page .atlas-mobile-jump a { color:var(--at-teal); font-size:.8rem; font-weight:600; text-underline-offset:.2em; }
 .atlas-page .atlas-workspace { display:flex; flex-direction:column; }
 .atlas-page .atlas-stage { order:0; width:100%; }
 .atlas-page .atlas-start-grid { order:1; width:100%; }
}


/* Workbench legibility v2: selectors are a compact toolbar, not a permanent rail.
   The full-width graph and evidence panel now own the visual hierarchy. */
.atlas-page .atlas-workspace {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:1rem;
}
.atlas-page .atlas-start-grid {
  width:100%;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.9rem;
  margin:0;
}
.atlas-page .atlas-start-pane {
  padding:1rem 1.15rem;
  border-radius:var(--radius-md);
}
.atlas-page .atlas-start-title { margin-bottom:.65rem; }
.atlas-page .atlas-start-title h3 { font-size:1.02rem; font-weight:650; }
.atlas-page .atlas-start-title p { font-size:.79rem; }
.atlas-page .atlas-provider-choices {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.4rem;
  margin:0 0 .65rem;
}
.atlas-page .atlas-provider-choices button {
  min-height:42px;
  border-radius:var(--radius-sm);
  padding:.55rem .75rem;
}
.atlas-page .atlas-provider-choices button strong { font-size:.83rem; }
.atlas-page .atlas-cohort-choices {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.4rem;
}
.atlas-page .atlas-cohort-choices button {
  min-height:53px;
  border-radius:var(--radius-sm);
  padding:.52rem .6rem;
}
.atlas-page .atlas-cohort-choices button strong {
  font-size:.79rem;
  line-height:1.34;
}
.atlas-page .atlas-cohort-choices button span { font-size:.69rem; }
.atlas-page .atlas-label { margin:.65rem 0 .3rem; font-size:.76rem; }
.atlas-page #atlas-provider-search,
.atlas-page #atlas-provider-select {
  display:inline-block;
  width:calc(50% - .28rem);
  min-width:0;
  min-height:42px;
  margin:.15rem .32rem 0 0;
  font-size:.81rem;
  vertical-align:middle;
}
.atlas-page #atlas-provider-select { margin-right:0; }
.atlas-page .atlas-picker-note { margin:.52rem 0 0!important; font-size:.71rem; }
.atlas-page .atlas-stage {
  width:100%;
  margin:0;
  box-shadow:0 16px 35px rgba(0,0,0,.1);
}
.atlas-page .atlas-stage-head {
  padding:1.25rem 1.5rem;
  align-items:center;
  gap:1.25rem;
}
.atlas-page .atlas-stage-head > div:first-child { min-width:0; flex:1 1 auto; }
.atlas-page .atlas-stage-head h3 {
  font-size:clamp(1.7rem,2.5vw,2.55rem);
  margin:.2rem 0 .3rem;
}
.atlas-page .atlas-stage-head p:not(.atlas-eyebrow) {
  max-width:56ch;
  font-size:.86rem;
  line-height:1.55;
}
.atlas-page .atlas-role-area { align-self:center; flex:0 1 360px; }
.atlas-page .atlas-role-area .atlas-role-picker {
  flex-wrap:wrap;
  gap:.2rem;
}
.atlas-page .atlas-role-area .atlas-role-picker button {
  min-height:39px;
  padding:.55rem .7rem;
  font-size:.8rem;
}
.atlas-page .atlas-stage-grid {
  grid-template-columns:minmax(0,1.9fr) minmax(285px,.9fr);
}
.atlas-page .atlas-network {
  min-height:0;
  padding:1rem clamp(.85rem,2vw,1.45rem) 1.3rem;
}
.atlas-page #atlas-network-svg {
  width:100%;
  max-height:490px;
  margin:.9rem auto .35rem;
}
.atlas-page .atlas-network-head { font-size:.77rem; }
.atlas-page .atlas-network-head span:last-child { font-size:.74rem; }
.atlas-page .atlas-legend { gap:.55rem 1.15rem; font-size:.74rem; }
.atlas-page .atlas-network-caption { font-size:.78rem; line-height:1.55; }
.atlas-page .atlas-evidence { padding:1.3rem 1.45rem; }
.atlas-page .atlas-evidence h4 {
  margin:.4rem 0 .7rem;
  font-size:clamp(1.25rem,2.2vw,1.8rem);
}
.atlas-page .atlas-evidence-value { font-size:clamp(2.5rem,4.3vw,3.8rem); }
.atlas-page .atlas-evidence-explain {
  font-size:.9rem;
  line-height:1.65;
  min-height:0;
  margin:.75rem 0 0!important;
}
.atlas-page .atlas-evidence-meter { margin:1rem 0 1.1rem; }
.atlas-page .atlas-evidence-facts div { padding:.7rem 0; }
.atlas-page .atlas-evidence-facts dt,
.atlas-page .atlas-evidence-facts dd { font-size:.78rem; line-height:1.45; }
.atlas-page .atlas-evidence-method {
  margin:1rem 0;
  border-top:1px solid var(--at-line);
  padding-top:.85rem;
}
.atlas-page .atlas-evidence-method summary {
  font-size:.77rem;
  font-weight:600;
  color:var(--at-secondary);
  cursor:pointer;
}
.atlas-page .atlas-evidence-method .atlas-small {
  margin:.7rem 0!important;
  font-size:.77rem;
  line-height:1.62;
}
.atlas-page .atlas-source-link {
  margin:.8rem 0 0;
  font-size:.83rem;
}
.atlas-page .atlas-association-list {
  padding:.9rem 1.35rem 1rem;
}
.atlas-page .atlas-association-list summary {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.3rem 1rem;
  cursor:pointer;
  font-weight:650;
  font-size:.84rem;
  color:var(--at-text);
  list-style:revert;
}
.atlas-page .atlas-association-list summary::-webkit-details-marker { display:inline-block; }
.atlas-page .atlas-association-list .atlas-association-hint {
  font-size:.72rem;
  color:var(--at-muted);
  font-weight:400;
}
.atlas-page .atlas-association-list .atlas-cohort-controls { margin-top:1rem; }
@media (max-width:950px) {
  .atlas-page .atlas-start-grid { grid-template-columns:1fr; }
  .atlas-page .atlas-stage-grid { grid-template-columns:1fr; }
  .atlas-page .atlas-evidence { border-left:0; border-top:1px solid var(--at-line); }
}
@media (max-width:750px) {
  .atlas-page .atlas-workspace { display:flex; flex-direction:column; }
  .atlas-page .atlas-stage { order:0; }
  .atlas-page .atlas-start-grid { order:1; grid-template-columns:1fr; }
  .atlas-page .atlas-stage-head { padding:1rem; }
  .atlas-page .atlas-role-area { flex:none; width:100%; }
  .atlas-page .atlas-provider-choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .atlas-page .atlas-cohort-choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .atlas-page .atlas-network { overflow-x:auto; }
  .atlas-page #atlas-network-svg { min-width:640px; width:100%; }
  .atlas-page .atlas-evidence { padding:1.15rem; }
  .atlas-page .atlas-evidence-explain { font-size:.87rem; }
}

/* Final legibility refinements: two-field lookup, single-row desktop role picker,
   and discoverable mobile horizontal map navigation. */
.atlas-page .atlas-provider-lookup {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:.55rem;
  align-items:center;
}
.atlas-page .atlas-provider-lookup > #atlas-provider-search,
.atlas-page .atlas-provider-lookup > #atlas-provider-select {
  display:block;
  margin:0;
  width:100%;
  min-width:0;
}
.atlas-page .atlas-role-area { flex:0 0 430px; max-width:100%; }
.atlas-page .atlas-role-area .atlas-role-picker { flex-wrap:nowrap; }
.atlas-page .atlas-role-area .atlas-role-picker button {
  font-size:.76rem;
  padding:.53rem .55rem;
  white-space:nowrap;
}
.atlas-page .atlas-swipe-cue { display:none; }
.atlas-page .atlas-network:focus-visible {
  outline:2px solid var(--at-teal);
  outline-offset:-3px;
}
@media(max-width:950px) {
  .atlas-page .atlas-stage-head { flex-wrap:wrap; }
  .atlas-page .atlas-role-area { flex:1 1 100%; }
}
@media(max-width:750px) {
  .atlas-page .atlas-role-area .atlas-role-picker { flex-wrap:wrap; }
  .atlas-page .atlas-swipe-cue {
    display:block;
    position:relative;
    margin:.7rem 0 0;
    color:var(--at-teal);
    font-size:.75rem;
    font-weight:600;
    line-height:1.5;
  }
}
@media(max-width:540px) {
  .atlas-page .atlas-provider-lookup { grid-template-columns:1fr; }
}
