/* Guide-only reading surfaces. Shared brand and policy styles remain unchanged. */
body.brand-shell.data-guide {
  --guide-surface: #0e1121;
  --guide-raised: #171c31;
  --guide-copy: #dce4f5;
  --guide-border: #35435c;
  --guide-radius: 24px;
  font-size: 18px;
  line-height: 1.85;
}
.data-guide > .wrap { width: min(940px, calc(100% - 64px)); }
.data-guide > .wrap.wide { width: min(1220px, calc(100% - 72px)); }
.data-guide header.site { padding-block: 27px 23px; }
.data-guide header.site::after { left: 18px; border-radius: 999px; }
.data-guide .crumb { margin: 25px 0; font-size: 13px; letter-spacing: .015em; }
.data-guide .crumb a {
  min-height: 44px;
  padding: 9px 15px;
  margin: 3px 5px 3px 0;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  background: var(--guide-surface);
  color: var(--cyan);
  text-decoration: none;
}
.data-guide .crumb a:hover { border-color: var(--cyan); color: var(--lime); }
.data-guide > .wrap:not(.wide) article {
  padding: clamp(23px, 4.2vw, 48px);
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius);
  background: var(--guide-surface);
  box-shadow: 0 24px 65px #00000035;
}
.data-guide article { min-width: 0; }
.data-guide h1 {
  max-width: 27ch;
  margin: 0 0 24px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.13;
  letter-spacing: -.025em;
  text-transform: none;
}
.data-guide .wide h1 { max-width: 23ch; font-size: clamp(38px, 5vw, 60px); }
.data-guide .eyebrow { margin-bottom: 18px; font-size: 12px; }
.data-guide .eyebrow::before { border-radius: 50%; }
.data-guide .standfirst {
  max-width: 72ch;
  margin: 0 0 32px;
  padding-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.data-guide article > h2 {
  margin: 42px 0 17px;
  padding-top: 25px;
  border-top-color: var(--guide-border);
  font-size: clamp(25px, 3vw, 31px);
  line-height: 1.3;
  text-wrap: pretty;
  scroll-margin-top: 24px;
}
.data-guide article > h3 { font-size: 22px; line-height: 1.4; }
.data-guide article :is(p, li) { color: var(--guide-copy); }
.data-guide article p { margin-bottom: 22px; }
.data-guide article li { margin-bottom: 12px; }
.data-guide article li::marker { color: var(--cyan); }
.data-guide article strong { color: var(--text); }
.data-guide article a { text-decoration-thickness: 1px; }
.data-guide article code {
  border-color: var(--guide-border);
  border-radius: 6px;
  background: var(--guide-raised);
  color: var(--text);
  font-size: .86em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.data-guide article pre {
  width: 100%;
  max-width: 100%;
  margin: 24px 0 30px;
  padding: 23px;
  border: 1px solid var(--guide-border);
  border-radius: 20px;
  background: #080c18;
  color: var(--guide-copy);
  scrollbar-color: #6a819f #080c18;
  scrollbar-width: thin;
  tab-size: 2;
}
.data-guide article pre code {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: 14px;
  line-height: 1.85;
}
.data-guide article table {
  width: 100%;
  max-width: 100%;
  margin: 24px 0 30px;
  border: 1px solid var(--guide-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
  background: var(--guide-surface);
  font-size: 15px;
  scrollbar-color: #6a819f var(--guide-surface);
  scrollbar-width: thin;
}
.data-guide article :is(th, td) {
  min-width: 130px;
  padding: 15px 18px;
  border: 0;
  border-right: 1px solid var(--guide-border);
  border-bottom: 1px solid var(--guide-border);
  color: var(--guide-copy);
  line-height: 1.65;
}
.data-guide article th { background: var(--guide-raised); color: var(--text); font-family: var(--body); font-weight: 600; }
.data-guide article tr > :last-child { border-right: 0; }
.data-guide article tbody tr:last-child > td { border-bottom: 0; }
.data-guide article tbody tr:nth-child(even) { background: #ffffff03; }
.data-guide article blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  border: 1px solid var(--guide-border);
  border-left: 3px solid var(--pink);
  border-radius: 20px;
  background: var(--guide-raised);
}
.data-guide :is(.summary, .callout, .endnote) {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--guide-border);
  border-radius: 20px;
  background: var(--guide-raised);
  color: var(--guide-copy);
  line-height: 1.85;
}
.data-guide .cards { gap: 22px; margin-top: 30px; align-items: stretch; }
.data-guide .card {
  padding: 29px;
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius);
  background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--accent) 8%, transparent), transparent 65%), var(--guide-surface);
  box-shadow: 0 15px 32px #00000030;
}
.data-guide .card::before {
  content: "";
  display: block;
  width: 43px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 15px color-mix(in srgb, var(--accent) 25%, transparent);
}
.data-guide .card h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.35; }
.data-guide .card h2 a { display: inline-block; min-height: 44px; text-decoration: none; }
.data-guide .card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.data-guide .card:hover { border-color: var(--accent); transform: none; }
.data-guide .card .go { border-radius: 14px; }
.data-guide a:focus-visible, .data-guide [tabindex]:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
.data-guide :is(.crumb a, .card .go):focus-visible { border-radius: 14px; }
.data-guide article :is(pre, table)[tabindex]:focus-visible { border-radius: 20px; }
.data-guide footer { font-size: 14px; line-height: 1.85; }
.data-guide footer p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; }
.data-guide footer p:last-child a { display: inline-block; min-height: 44px; padding-block: 9px; }
@media (max-width: 640px) {
  body.brand-shell.data-guide { font-size: 16px; }
  .data-guide > .wrap, .data-guide > .wrap.wide { width: calc(100% - 32px); }
  .data-guide header.site { padding-block: 23px; }
  .data-guide .crumb { margin-block: 18px; font-size: 12px; }
  .data-guide .crumb a { padding-inline: 12px; }
  .data-guide > .wrap:not(.wide) article { padding: 24px 18px; }
  .data-guide h1 { font-size: clamp(29px, 8vw, 40px); line-height: 1.16; }
  .data-guide .wide h1 { font-size: clamp(34px, 9.3vw, 46px); }
  .data-guide .standfirst { font-size: 16px; margin-bottom: 25px; padding-bottom: 25px; }
  .data-guide article > h2 { font-size: 25px; margin-top: 34px; padding-top: 24px; }
  .data-guide article pre { padding: 16px; }
  .data-guide article :is(th, td) { padding: 13px 14px; }
  .data-guide .cards { gap: 18px; }
  .data-guide .card { padding: 24px; }
  .data-guide .card h2 { font-size: 23px; }
}
@media (forced-colors: active) {
  .data-guide > .wrap:not(.wide) article, .data-guide :is(.crumb a, .card, .summary, .callout, .endnote), .data-guide article :is(pre, table, blockquote) { border-color: CanvasText; box-shadow: none; }
  .data-guide .card::before { background: Highlight; box-shadow: none; }
  .data-guide a:focus-visible, .data-guide [tabindex]:focus-visible { outline-color: Highlight; }
}
@media print {
  body.brand-shell.data-guide { --guide-surface: #fff; --guide-raised: #f3f5f8; --guide-copy: #172033; --guide-border: #aeb8c7; font-size: 11pt; }
  .data-guide > .wrap, .data-guide > .wrap.wide { width: 100%; }
  .data-guide > .wrap:not(.wide) article { padding: 0; border: 0; background: white; box-shadow: none; }
  .data-guide .crumb a { min-height: 0; padding: 0; border: 0; background: none; color: #172033; }
  .data-guide .card, .data-guide :is(.summary, .callout, .endnote) { background: #f3f5f8; box-shadow: none; }
  .data-guide .card::before { background: #172033; box-shadow: none; }
  .data-guide article :is(pre, table) { overflow: visible; background: #f3f5f8; color: #172033; }
  .data-guide article pre code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 9pt; }
  .data-guide article :is(th, td) { min-width: 0; padding: 8px; font-size: 9pt; }
  .data-guide article li::marker { color: #172033; }
  .data-guide article :is(h2, h3) { break-after: avoid; }
}

/* Optional workflow notes sit outside the original dated research article. */
.data-guide .guide-report-watch {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--guide-border);
  border-left: 3px solid var(--cyan);
  border-radius: 24px;
  background: var(--guide-raised);
  color: var(--guide-copy);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.data-guide .guide-report-watch .guide-report-watch-date {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
}
.data-guide .guide-report-watch h2 {
  margin: 0 0 17px;
  color: var(--text);
  font-family: var(--head);
  font-size: clamp(23px, 3vw, 29px);
  line-height: 1.3;
}
.data-guide .guide-report-watch p { margin: 0 0 17px; }
.data-guide .guide-report-watch code { font-family: var(--mono); font-size: .88em; }
.data-guide .guide-report-watch-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.data-guide .guide-report-watch-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  color: var(--cyan);
  font-size: 15px;
  line-height: 1.6;
}
.data-guide .guide-report-watch-links a:hover { border-color: var(--cyan); color: var(--lime); }
.data-guide .guide-report-watch-links a:focus-visible { border-radius: 14px; }
@media (forced-colors: active) {
  .data-guide .guide-report-watch { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .data-guide .guide-report-watch h2 { color: CanvasText; }
  .data-guide .guide-report-watch .guide-report-watch-date { color: CanvasText; }
  .data-guide .guide-report-watch-links a { color: LinkText; border-color: LinkText; }
}
@media print {
  .data-guide .guide-report-watch { background: white; color: #172033; border-color: #aeb8c7; font-size: 10pt; break-inside: avoid; }
  .data-guide .guide-report-watch h2 { color: #172033; font-size: 16pt; break-after: avoid; }
  .data-guide .guide-report-watch .guide-report-watch-date { color: #404b60; font-size: 9pt; }
  .data-guide .guide-report-watch-links a { min-height: 0; padding: 3px 0; border: 0; color: #172033; font-size: 10pt; }
}
