/* /impact page. Look A (teal band), aesthetics/output/impact-look/LOOK-A.md (UT picked 2026-10-26 20:42). */
@font-face { font-family: "DWA Digits"; src: url("/fonts/dwa-digits-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: "DWA Digits"; src: url("/fonts/dwa-digits-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0030-0039; }

:root {
  color-scheme: light;
  --teal: #0E4D57; --teal-dark: #08363D; --sand: #F4EFE6; --sand-line: #E4DCCD; --coral: #C4562B; --coral-soft: #E8835A;
  --ink: #1D2B2F; --muted: #5E6B6E; --on-teal-soft: #E9DFCF; --card: #FFFFFF; --hatch-bg: #F1ECE3; --hatch-line: #CDBFAA;
  --none: #E6E0D5; --sel: #C4562B;
  --font: "DWA Digits", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
body.col-coral { --sel: #08363D; }
body.col-pd1, body.col-pd2, body.col-tri { --sel: #1D2B2F; }
* { box-sizing: border-box; }
html, body { background: var(--sand); }
body { margin: 0; color: var(--ink); font: 16px/1.5 var(--font); -webkit-text-size-adjust: 100%; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral-soft); outline-offset: 2px; }
[hidden] { display: none !important; }

h1 { margin: 0; font-size: clamp(30px, 1.4rem + 1.6vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
h2 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; text-wrap: balance; }
h3 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 700; }
.sample { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(232, 131, 90, 0.25); color: inherit; }
.card { background: var(--card); border: 1px solid var(--sand-line); border-radius: 20px; padding: 18px; min-width: 0; }

/* Teal band */
.intro { background: var(--teal); color: #FFFFFF; }
.intro-in { max-width: 1080px; margin: 0 auto; padding: 32px 24px 0; display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 18px; }
.stats { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 1.1fr); gap: 12px; align-items: stretch; }
.stat { border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(233, 223, 207, 0.25); }
.stat b { display: block; font-size: 32px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat b.few { font-size: 22px; }
.stat span { display: block; font-size: 14px; color: var(--on-teal-soft); }
.stat .sample { align-self: flex-start; margin: 4px 0 0; }
#stSample { display: flex; }
.bnote { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--on-teal-soft); }
#stCostBox b { font-size: 28px; }
/* Highest need identified: the top courts, each opens its details */
.toph { display: block; font-size: 14px; color: var(--on-teal-soft); margin-bottom: 4px; }
.toplist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.topc { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 4px 0; border: 0;
  background: none; color: #FFFFFF; text-align: left; cursor: pointer; font-size: 15px; font-weight: 600; }
.topc:hover .tn { text-decoration: underline; }
.topc .tn { min-width: 0; overflow-wrap: anywhere; }
.topc .tv { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Beta / Soft launch tabs with the palette menu at the end of the row */
.setrow { grid-column: 1 / -1; margin-top: 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.setrow .pal { margin-bottom: 8px; }
/* Bigger tabs on the web, with the unselected one filled so both read as tabs (UT 2026-10-27 01:46). */
.sets { display: flex; gap: 8px; }
.sets button { border: 0; background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(233, 223, 207, 0.35); cursor: pointer;
  font-weight: 800; white-space: nowrap; color: #FFFFFF; padding: 16px 36px 15px; min-width: 150px; border-radius: 16px 16px 0 0; font-size: 20px; }
.sets button:hover { background: rgba(255, 255, 255, 0.26); }
.sets button[aria-selected="true"] { background: var(--sand); color: var(--teal-dark); box-shadow: inset 0 4px 0 var(--coral); }
.pal { position: relative; }
.pal-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1px solid var(--sand-line); border-radius: 999px;
  background: var(--card); color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.pal-btn::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.pal-sw { display: inline-flex; flex: none; border-radius: 4px; overflow: hidden; }
.pal-sw i { display: block; width: 7px; height: 16px; }
.pal-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 280px; max-width: calc(100vw - 24px); padding: 8px;
  background: var(--card); color: var(--ink); border: 1px solid var(--sand-line); border-radius: 16px; box-shadow: 0 12px 32px rgba(29, 43, 47, 0.18); }
.pal-h { margin: 6px 8px 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pal-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: none;
  text-align: left; font-size: 15px; font-weight: 600; cursor: pointer; }
.pal-opt:hover { background: var(--sand); }
.pal-opt[aria-checked="true"] { background: var(--sand); box-shadow: inset 0 0 0 1.5px var(--teal); }
.pal-opt small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.pal-opt .pal-sw i { width: 9px; height: 20px; }

.content { max-width: 1080px; margin: 0 auto; padding: 20px 24px 48px; display: flex; flex-direction: column; gap: 16px; }

/* Map card */
.cardhead { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sand); border: 1px solid var(--sand-line); }
.seg button { border: 0; background: none; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--teal); color: #FFFFFF; }
.vt { margin: 12px 0 4px; font-size: 14px; color: var(--muted); }
.mapwrap { position: relative; }
svg.map { display: block; width: 100%; height: auto; }
.map path { stroke: #FFFFFF; stroke-width: 0.7; stroke-linejoin: round; cursor: pointer; outline: none; transition: opacity 0.15s; }
.map #gC path { stroke: var(--ink); stroke-opacity: 0.35; stroke-width: 1; }
.map path:hover { stroke: var(--ink); stroke-opacity: 1; stroke-width: 1.5; }
.map path:focus-visible { stroke: var(--sel); stroke-opacity: 1; stroke-width: 3.2; }
/* The selected district or circuit: a colored line with a white edge, so it shows on any fill */
.map #gS path { fill: none; pointer-events: none; stroke-linejoin: round; }
.map #gS .halo { stroke: #FFFFFF; stroke-width: 6.5; }
.map #gS .line { stroke: var(--sel); stroke-width: 3; }
.map path.dim { opacity: 0.18; pointer-events: none; }
.map .bd { font-size: 17px; font-weight: 700; text-anchor: middle; dominant-baseline: central; fill: var(--ink); stroke: #FFFFFF; stroke-width: 4px;
  paint-order: stroke; pointer-events: none; }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: #FFFFFF; border-radius: 10px; padding: 7px 11px;
  font-size: 13px; line-height: 1.35; max-width: 240px; box-shadow: 0 4px 14px rgba(29, 43, 47, 0.18); }
.tip b { display: block; font-size: 14px; }
.maperr { margin: 12px 0; color: var(--muted); }
.lg { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.lg span { display: inline-flex; align-items: center; gap: 6px; }
.lg i, .dot { flex: none; width: 18px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid rgba(29, 43, 47, 0.08); }
.lg .note { flex-basis: 100%; }
.hatch { background: repeating-linear-gradient(45deg, var(--hatch-line) 0 1.6px, var(--hatch-bg) 1.6px 4.2px) !important; }
.rk { margin-top: 14px; }
.rk h3 { font-size: 15px; margin-bottom: 8px; }
.rl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; }
.rr { display: grid; grid-template-columns: 28px 1fr 80px; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--sand-line);
  border-radius: 12px; background: var(--card); text-align: left; cursor: pointer; font-size: 14px; }
.rr b { font-size: 17px; }
.rr small { display: block; font-size: 12px; color: var(--muted); }
.rr.on { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.mb { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--sand); }
.mb i { display: block; }
.chips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--sand-line);
  font-size: 14px; color: var(--muted); }
.chips div { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--sand-line); border-radius: 999px;
  background: var(--card); color: var(--ink); font-size: 14px; cursor: pointer; }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; }
.chip.on { border-color: var(--sel); box-shadow: 0 0 0 1.5px var(--sel); }
.chip.dim { opacity: 0.35; }
.jr { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 14px; align-items: end; }
.jr label { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); }
.jr select { display: block; margin-top: 4px; width: 100%; padding: 9px 10px; border: 1px solid var(--sand-line); border-radius: 10px; background: var(--card); color: var(--ink); }
.clear { justify-self: start; margin-top: 14px; padding: 8px 16px; border: 1.5px solid var(--teal); border-radius: 999px; background: var(--card);
  color: var(--teal); font-weight: 700; cursor: pointer; }
.cn { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* Details panel */
.panel { display: flex; flex-direction: column; gap: 16px; }
.empty { text-align: center; color: var(--muted); padding: 22px 8px; }
.empty p { margin: 0 auto; max-width: 46ch; }
.kicker { margin: 0 0 2px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.big { display: flex; align-items: flex-end; gap: 12px; }
.big .num { font-size: 56px; line-height: 0.95; font-weight: 700; color: var(--teal-dark); font-variant-numeric: tabular-nums; }
.big .unit { font-size: 14px; line-height: 1.35; color: var(--muted); padding-bottom: 4px; }
.big .few { font-size: 28px; line-height: 1.1; font-weight: 800; color: var(--teal-dark); }
.share { margin: 0; font-size: 14px; color: var(--muted); }
.track { display: block; height: 10px; border-radius: 5px; background: var(--sand); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 5px; }
.copy { align-self: flex-start; padding: 8px 16px; border: 1.5px solid var(--teal); border-radius: 999px; background: var(--card); color: var(--teal);
  font-weight: 700; cursor: pointer; }

/* Beta tester feedback */
.fb h2 { font-size: 20px; }
.fb .sub { margin-bottom: 6px; }
.fbrow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(80px, 1fr) 44px; gap: 6px 14px; align-items: center; padding: 10px 0;
  border-top: 1px solid var(--sand-line); }
.fbrow:first-of-type { border-top: 0; }
.fbrow .fl b { display: block; font-size: 15px; }
.fbrow .fl small { display: block; font-size: 13px; color: var(--muted); }
.fbrow .track i { background: var(--teal); }
.fbrow .fv { text-align: right; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
/* Soft Launch answers: each data point in its own box (UT 2026-10-27 01:12). */
.sd { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sintro { padding: 6px 2px 0; }
.sintro h2 { font-size: 20px; }
.sintro .sub { margin: 4px 0 0; }
.sbox { background: var(--card); border: 1px solid var(--sand-line); border-radius: 18px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.sbox-h { background: var(--sand); border-bottom: 1px solid var(--sand-line); box-shadow: inset 4px 0 0 var(--teal); padding: 11px 16px; }
.sbox-h h3 { margin: 0; font-size: 17px; }
/* The weekly count folds open and closed. */
.sweek > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 0; }
.sweek > summary::-webkit-details-marker { display: none; }
.sweek > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.sweek[open] > summary { border-bottom: 1px solid var(--sand-line); }
.sweek[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.sbox-b { padding: 10px 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.sbox-b .sub { margin: 2px 0 4px; }
.hl { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 8px; }
.hl b { font-size: 36px; line-height: 1.05; font-weight: 700; color: var(--teal-dark); font-variant-numeric: tabular-nums; }
.hl b.few { font-size: 22px; color: var(--muted); }
.hl span { font-size: 15px; font-weight: 600; }
.hl small { font-size: 13px; color: var(--muted); }
.stiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stiles.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stiles.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stiles.n1 { grid-template-columns: minmax(0, 1fr); }
.stats.n2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.stats.n1 { grid-template-columns: minmax(0, 1fr); }
.pvadmin { border: 2px dashed var(--coral); border-radius: 14px; background: var(--card); padding: 10px 14px; font-size: 14px; }
.pvadmin summary { cursor: pointer; font-weight: 700; color: var(--coral); }
.pvadmin div { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.pvadmin label { display: inline-flex; align-items: center; gap: 6px; }
.offnote { margin: 0 0 28px; font-size: 18px; color: var(--on-teal-soft); }
.stile { background: var(--card); border: 1px solid var(--sand-line); border-top: 4px solid var(--teal); border-radius: 18px; padding: 14px 16px; min-width: 0; }
/* The answers under the tiles as donuts (option B, UT 2026-10-27 23:32; mock impact/ideation/soft-answers-layouts.html):
   one-answer questions as a donut with its headline sentences and a chip legend, more-than-one-answer questions as bars.
   Two across on a computer, with Waiting and How they contacted USCIS across the full width. */
.snote { margin: 0; font-size: 13px; color: var(--muted); }
.sgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.scard { background: var(--card); border: 1px solid var(--sand-line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.scard h3 { margin: 0; font-size: 17px; line-height: 1.3; color: var(--teal-dark); text-wrap: balance; }
.scard .sub { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.donut { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.donut svg { width: 150px; height: 150px; flex: none; }
.donut .ring { stroke: var(--sand); }
.donut text { fill: var(--teal-dark); font-family: var(--font); }
.dlegend { flex: 1 1 160px; display: grid; gap: 6px; min-width: 0; }
.say { margin: 0; font-size: 17px; line-height: 1.4; }
.say b { color: var(--teal-dark); }
.dchips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 12px; }
.dchip { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 2px 8px; align-items: start; font-size: 13px; }
.dchip .dsw { width: 12px; height: 12px; border-radius: 3px; margin-top: 4px; }
.dchip b { font-variant-numeric: tabular-nums; }
.dchip small { grid-column: 2 / -1; color: var(--muted); font-size: 12px; margin-top: -4px; }
.rank { display: grid; gap: 6px; }
.rrow { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) 6.4em; gap: 8px; align-items: center; font-size: 13px; }
.rrow .rbar { height: 12px; background: var(--sand); border-radius: 0 4px 4px 0; overflow: hidden; }
.rrow .rbar i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.rrow b { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mini { background: var(--sand); border-radius: 12px; padding: 10px; display: grid; gap: 2px; }
.mini b { font-size: 26px; line-height: 1.1; color: var(--teal-dark); font-variant-numeric: tabular-nums; }
.mini b.fewb { font-size: 20px; }
.mini span { font-size: 13px; }
.mini small { font-size: 12px; color: var(--muted); }
.mini .m { height: 6px; background: var(--card); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.mini .m i { display: block; height: 100%; }
@media (min-width: 701px) {
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgrid .wide { grid-column: 1 / -1; }
}
@media (max-width: 700px) { .dlegend { flex-basis: 100%; } }
.stile h3 { margin: 0 0 4px; font-size: 14px; color: var(--muted); font-weight: 700; }
.srow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(80px, 1fr) 76px; gap: 6px 14px; align-items: center; padding: 7px 0; }
.srow .fl b { display: block; font-size: 15px; font-weight: 600; }
.srow .fl small { display: block; font-size: 13px; color: var(--muted); }
.srow .fv { text-align: right; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.srow .fv small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.srow .fv.few { font-size: 13px; font-weight: 600; color: var(--muted); }

/* How to read this map */
details.how summary { cursor: pointer; font-weight: 700; }
details.how p { margin: 8px 0 0; font-size: 14px; }
details.how .terms-h { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--sand-line); font-size: 15px; }
details.how .terms { margin-top: 6px; }
details.how a { color: var(--teal); font-weight: 600; }
/* The short use notice under the top boxes (Legal item 40). */
.usenote a { color: #FFFFFF; font-weight: 600; }
.usenote { margin: 0; font-size: 13px; line-height: 1.45; color: var(--on-teal-soft); max-width: 90ch; }

@media (max-width: 900px) and (min-width: 701px) {
  .stiles.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.n1 { grid-template-columns: minmax(0, 1fr); }
  #stTopBox { grid-column: 1 / -1; }
  .stats.soft.n3 #stCostBox { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .intro-in { padding: 24px 16px 20px; }
  .stats { grid-template-columns: minmax(0, 1fr); order: 2; }
  .usenote { order: 2; }
  /* Phones: the Beta / Soft Launch switch sits at the top, above the boxes it changes (UT 2026-10-27 01:05);
     the palette button comes after the boxes, just above the map (UT 01:07). */
  .setrow { display: contents; }
  .sets { order: 1; }
  .setrow .pal { order: 3; }
  .content { padding: 16px 16px 40px; }

  .pal-menu { left: 0; right: auto; width: min(300px, calc(100vw - 32px)); max-width: none; }  /* opens to the right, inside the screen */
  .sets { padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
  .sets { gap: 4px; }
  .sets button { flex: 1; min-width: 0; padding: 9px 12px; font-size: 15px; font-weight: 700; border-radius: 999px; background: none; box-shadow: none; }
  .sets button[aria-selected="true"] { box-shadow: none; }
  .card { border-radius: 16px; padding: 14px 12px; }
  .stat b { font-size: 26px; }
  #stCostBox b { font-size: 24px; }
  .big .num { font-size: 46px; }
  .rr { grid-template-columns: 26px 1fr 64px; }
  .fbrow { grid-template-columns: minmax(0, 1fr) 44px; }
  .fbrow .track { grid-column: 1 / -1; grid-row: 2; }
  .stiles, .stiles.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stiles.n3 .stile:last-child { grid-column: 1 / -1; }
  .stiles.n1 { grid-template-columns: minmax(0, 1fr); }
  .stats.n2 { grid-template-columns: minmax(0, 1fr); }
  .stile { padding: 12px; }
  .hl b { font-size: 30px; }
  .sbox-h, .sbox-b { padding-left: 12px; padding-right: 12px; }
  .srow { grid-template-columns: minmax(0, 1fr) 76px; }
  .srow .track { grid-column: 1 / -1; grid-row: 2; }
}

/* Find Your U.S. Attorney tab (UT 2026-10-27 21:01): notice in place of the boxes, and the office card. */
.usanote { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.10);
  border-left: 4px solid var(--coral-soft); max-width: 90ch; }
.usanote p { margin: 0; font-size: 15px; line-height: 1.5; color: #FFFFFF; }
.usanote #usaDate, .usanote .usaaff { font-size: 13px; color: var(--on-teal-soft); }
.usacard { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--sand);
  border: 1px solid var(--sand-line); font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; user-select: text; }
.usacard .usaname { font-size: 20px; color: var(--teal-dark); }
.usacard .usamiss { color: var(--muted); font-style: italic; }
.usarow { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.usarow .copy { align-self: auto; }
.usacopy { background: var(--teal); color: #FFFFFF; }
.usalink { color: var(--teal); font-weight: 700; }
@media (max-width: 1000px) and (min-width: 701px) {
  .sets button { padding: 14px 20px 13px; min-width: 0; font-size: 18px; }
}
@media (max-width: 700px) {
  .usanote { order: 2; padding: 12px 14px; }
  .usanote p { font-size: 14px; }
  /* Three tabs on a phone: Beta and Soft Launch side by side, the U.S. Attorney tab under them. */
  .sets { flex-wrap: wrap; border-radius: 22px; }
  .sets #tab-usa { flex-basis: 100%; }
}

/* Site tab bar: Aesthetics' layout B with the no-script menu, app name option C; tab order and bar logos set in the
   Optimize thread (UT 2026-10-27). A page's theme sets only the variables. */
.site-nav { --nav-bg: #08363D; --nav-ink: #FFFFFF; --name-dw: #9FCAC6; --name-app: #F4EFE6; --nav-line: #F4EFE6;
  --nav-hover: rgba(244, 239, 230, 0.45); --nav-sep: rgba(244, 239, 230, 0.16); --nav-pill: #F4EFE6;
  --nav-pill-ink: #08363D; --nav-focus: #E8835A; --nav-here: #9FCAC6;
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; height: 60px; box-sizing: border-box;
  margin: 0; padding: 0 24px; background: var(--nav-bg); color: var(--nav-ink); font-size: 15px; line-height: 1.2; }
.site-nav a { color: var(--nav-ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.site-nav a:focus-visible, .site-nav .menu-btn:focus-visible { outline: 3px solid var(--nav-focus); outline-offset: 2px; }
.site-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.site-brand img { display: block; flex: none; width: 32px; height: 32px; }
.site-name { display: flex; align-items: center; --h: 20px; }
.site-name span { display: block; height: var(--h); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.sn-dw { width: calc(var(--h) * 7.55); background: var(--name-dw); -webkit-mask-image: url(/name-daca-wom.png);
  mask-image: url(/name-daca-wom.png); }
.sn-app { width: calc(var(--h) * 2.7333); margin-left: calc(var(--h) * 0.45); background: var(--name-app);
  -webkit-mask-image: url(/name-app.png); mask-image: url(/name-app.png); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav li { margin: 0; padding: 0; }
.site-nav ul a { display: block; font-size: 15px; padding: 19px 14px 16px; border-bottom: 3px solid transparent; }
.site-nav ul a:hover { border-bottom-color: var(--nav-hover); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--nav-line); }
.site-nav a.cta { margin-left: 14px; padding: 8px 20px; border-radius: 999px; background: var(--nav-pill);
  color: var(--nav-pill-ink); font-weight: 700; }
.site-nav a.cta:hover { background: #FFFFFF; }
.site-nav a.cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--nav-bg), 0 0 0 4px var(--nav-pill); }
.nav-row { display: contents; }
.nav-menu { display: none; }
.nav-menu > summary { list-style: none; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu .lbl-close { display: none; }
@media (max-width: 980px) {
  .site-nav { padding: 0 12px; gap: 12px; }
  .site-brand { gap: 9px; }
  .site-name { --h: 17px; }
  .nav-row { display: none; }
  .nav-menu { display: block; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
    box-sizing: border-box; border: 1px solid rgba(244, 239, 230, 0.45); background: transparent; color: var(--nav-ink);
    font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; flex: none; }
  .menu-btn .bars { width: 16px; height: 12px; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
  .nav-menu[open] .menu-btn .bars { background: linear-gradient(45deg, transparent 45%, currentColor 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, currentColor 45% 55%, transparent 55%); }
  .nav-menu[open] .lbl-menu { display: none; }
  .nav-menu[open] .lbl-close { display: inline; }
  .nav-panel { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--nav-bg); padding: 4px 16px 18px;
    border-top: 1px solid var(--nav-sep); box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28); }
  .nav-menu[open] .nav-panel { display: block; }
  .nav-panel ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-panel ul a, .nav-panel ul a:hover, .nav-panel ul a[aria-current="page"] { font-size: 17px; padding: 14px 4px;
    border-bottom: 1px solid var(--nav-sep); display: flex; align-items: center; justify-content: space-between; }
  .nav-panel ul a:hover { color: var(--nav-line); }
  .nav-panel ul a[aria-current="page"] { color: var(--nav-here); }
  .nav-panel ul a[aria-current="page"]::after { content: "You are here"; font-size: 13px; font-weight: 600; color: var(--nav-here); }
  .nav-panel a.cta { display: block; text-align: center; margin: 16px 0 0; padding: 12px 20px; font-size: 16px; }
}
@media (max-width: 360px) {
  .site-nav { gap: 8px; }
  .site-brand { gap: 8px; }
  .site-brand img { width: 28px; height: 28px; }
  .site-name { --h: 15px; }
  .menu-btn { padding: 0 12px; gap: 7px; font-size: 14px; }
}
@media (max-width: 340px) {  /* icon only; the button keeps its name for screen readers */
  .menu-btn { width: 40px; padding: 0; justify-content: center; }
  .menu-btn .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* /impact: the app name follows the palette menu (body.col-<palette>), with the mini logo. */
body.col-coral .site-nav { --name-dw: #F4EFE6; --name-app: #E8835A; --nav-here: #F4EFE6; }
body.col-pd1 .site-nav { --name-dw: #FEE838; --name-app: #4E9BFF; --nav-here: #FEE838; }
body.col-pd2 .site-nav { --name-dw: #BDD7E7; --name-app: #439BF5; --nav-here: #BDD7E7; }
body.col-tri .site-nav { --name-dw: #F5C6D2; --name-app: #DA7AA8; --nav-here: #F5C6D2; }
/* ---- Vision colors (Optimize, UT 2026-10-27 21:08): the picker under the site bar on every tab. A choice sets
   html[data-palette] (the page colors below) and cv.js keeps it for every tab. ---- */
.cv-site { --cv-bg: #08363D; --cv-pill: #F4EFE6; --cv-pill-ink: #08363D; --cv-focus: #E8835A;
  background: var(--cv-bg); color: #FFFFFF; border-top: 1px solid rgba(244, 239, 230, 0.16); }
.cv-site-in { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 12px;
  box-sizing: border-box; min-height: 46px; padding: 6px 24px; }
.cv-site label { font-size: 15px; font-weight: 700; line-height: 1.3; }
.cv-site select { font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--cv-pill-ink);
  background-color: var(--cv-pill); border: 0; border-radius: 999px; padding: 7px 14px; max-width: 100%; cursor: pointer; }
.cv-site select:focus-visible { outline: 3px solid var(--cv-focus); outline-offset: 2px; }
.cv-site-icon { flex: none; display: block; }
.cv-site-icon .d1 { fill: #9B2C2C; } .cv-site-icon .d2 { fill: #C26A1E; } .cv-site-icon .d3 { fill: #D9A400; }
.cv-site-icon .d4 { fill: #573889; }
/* Computers: it stays under the bar, and the welcome panel sticks below both. */
@media (min-width: 960px) {
  .cv-site { position: sticky; top: 60px; z-index: 19; height: 46px; box-sizing: border-box; }
  .cv-site-in { height: 100%; min-height: 0; padding-top: 0; padding-bottom: 0; }
  html { scroll-padding-top: 112px; }
  .welcome { top: 106px; height: calc(100vh - 106px); }
}
@media (min-width: 601px) and (max-width: 959px) { .cv-site label, .cv-site select { font-size: 14px; } }
@media (max-width: 600px) {
  .cv-site-in { justify-content: flex-start; padding: 10px 16px 12px; }
  /* UT 2026-10-28 00:36 ("too big"): on phones too the menu keeps its own width, on its own line under the question. */
  .cv-site label { flex: 1 1 calc(100% - 38px); min-width: 0; }
  .cv-site select { flex: 0 0 auto; margin-left: 38px; }
}
html:is([data-palette="pd1"], [data-palette="pd2"], [data-palette="tri"]) .welcome { background: var(--teal);
  --cap-bg: var(--teal-dark); --cap-line: var(--coral-soft); --cap-ink: #FFFFFF; }
html:is([data-palette="pd1"], [data-palette="pd2"], [data-palette="tri"]) .welcome .sun circle { fill: var(--teal-circle); }
html:is([data-palette="pd1"], [data-palette="pd2"], [data-palette="tri"]) .r-tag { background: var(--cv-tint); color: var(--teal); }
html:is([data-palette="pd1"], [data-palette="pd2"], [data-palette="tri"]) .r-callout { background: var(--cv-tint); }
html[data-palette="pd1"] { --teal: #00224E; --teal-dark: #001634; --teal-circle: #0E3466; --sand: #F7F5EA; --sand-line: #E5E0C6; --coral: #575D6D; --coral-soft: #FEE838; --on-teal-soft: #F6F0C6; --cv-tint: #F6F0C6; }
html[data-palette="pd1"] .site-nav { --nav-bg: #001634; --name-dw: #FEE838; --name-app: #4E9BFF; --nav-line: #FEE838; --nav-pill: #FEE838; --nav-pill-ink: #00224E; --nav-focus: #FEE838; --nav-here: #FEE838; }
html[data-palette="pd1"] .cv-site { --cv-bg: #001634; --cv-pill: #FEE838; --cv-pill-ink: #00224E; --cv-focus: #FEE838; }
html[data-palette="pd1"] [style*="--sjs2-color-project-brand-600"] { --sjs2-color-project-brand-400: #575D6D !important; --sjs2-color-project-brand-600: #00224E !important; --sjs2-color-project-brand-700: #001A3D !important; --sjs2-color-project-brand-800: #001634 !important; --sjs2-color-bg-brand-secondary: #FBF6D3 !important; --sjs2-color-bg-brand-secondary-dim: #F3EBB5 !important; }
html[data-palette="pd1"] .cv-site-icon .d1 { fill: #00224E; } html[data-palette="pd1"] .cv-site-icon .d2 { fill: #575D6D; } html[data-palette="pd1"] .cv-site-icon .d3 { fill: #8F8C7F; } html[data-palette="pd1"] .cv-site-icon .d4 { fill: #C3B369; }
html[data-palette="pd2"] { --teal: #08519C; --teal-dark: #08306B; --teal-circle: #1A63AE; --sand: #F2F6FB; --sand-line: #D5E2EF; --coral: #3182BD; --coral-soft: #BDD7E7; --on-teal-soft: #DCEAF7; --cv-tint: #E2EBF8; }
html[data-palette="pd2"] .site-nav { --nav-bg: #08306B; --name-dw: #BDD7E7; --name-app: #439BF5; --nav-line: #BDD7E7; --nav-pill: #BDD7E7; --nav-pill-ink: #08306B; --nav-focus: #BDD7E7; --nav-here: #BDD7E7; }
html[data-palette="pd2"] .cv-site { --cv-bg: #08306B; --cv-pill: #BDD7E7; --cv-pill-ink: #08306B; --cv-focus: #BDD7E7; }
html[data-palette="pd2"] [style*="--sjs2-color-project-brand-600"] { --sjs2-color-project-brand-400: #3182BD !important; --sjs2-color-project-brand-600: #08519C !important; --sjs2-color-project-brand-700: #08458A !important; --sjs2-color-project-brand-800: #08306B !important; --sjs2-color-bg-brand-secondary: #E6F0FA !important; --sjs2-color-bg-brand-secondary-dim: #D3E4F4 !important; }
html[data-palette="pd2"] .cv-site-icon .d1 { fill: #08519C; } html[data-palette="pd2"] .cv-site-icon .d2 { fill: #2C7AB7; } html[data-palette="pd2"] .cv-site-icon .d3 { fill: #6BAED6; } html[data-palette="pd2"] .cv-site-icon .d4 { fill: #BDD7E7; }
html[data-palette="tri"] { --teal: #6E1F45; --teal-dark: #4A1430; --teal-circle: #7F2C56; --sand: #FBF3F6; --sand-line: #F0D9E2; --coral: #B84B73; --coral-soft: #F5C6D2; --on-teal-soft: #F9DFE8; --cv-tint: #FAE0E7; }
html[data-palette="tri"] .site-nav { --nav-bg: #4A1430; --name-dw: #F5C6D2; --name-app: #DA7AA8; --nav-line: #F5C6D2; --nav-pill: #F5C6D2; --nav-pill-ink: #4A1430; --nav-focus: #F5C6D2; --nav-here: #F5C6D2; }
html[data-palette="tri"] .cv-site { --cv-bg: #4A1430; --cv-pill: #F5C6D2; --cv-pill-ink: #4A1430; --cv-focus: #F5C6D2; }
html[data-palette="tri"] [style*="--sjs2-color-project-brand-600"] { --sjs2-color-project-brand-400: #B84B73 !important; --sjs2-color-project-brand-600: #6E1F45 !important; --sjs2-color-project-brand-700: #5C1A3A !important; --sjs2-color-project-brand-800: #4A1430 !important; --sjs2-color-bg-brand-secondary: #FBEAF0 !important; --sjs2-color-bg-brand-secondary-dim: #F5D6E1 !important; }
html[data-palette="tri"] .cv-site-icon .d1 { fill: #6E1F45; } html[data-palette="tri"] .cv-site-icon .d2 { fill: #B84B73; } html[data-palette="tri"] .cv-site-icon .d3 { fill: #E58FA9; } html[data-palette="tri"] .cv-site-icon .d4 { fill: #F5C6D2; }
/* Left panel logo under a vision choice (UT 2026-10-28 00:36): that palette's logo, same size and place. */
html:is([data-palette="pd1"], [data-palette="pd2"], [data-palette="tri"]) .welcome .brand img { width: 125.1px; height: 125.1px; margin: 11.2px 0 23.7px; }
@media (max-width: 700px) { html:is([data-palette="pd1"], [data-palette="pd2"], [data-palette="tri"]) .welcome .brand img { width: 81.3px; height: 81.3px; margin: 7.3px 0 15.4px; } }
@media (min-width: 960px) { html:is([data-palette="pd1"], [data-palette="pd2"], [data-palette="tri"]) .welcome .brand img { width: 87.6px; height: 87.6px; margin: 7.8px 0 16.6px; } }
/* ---- end of vision colors ---- */
