/* GoldRibbon — component CSS for KSAEZ
   ── PLATFORM STANDARDS ────────────────────────────────────────────────
   SOURCE OF TRUTH: /config.json#platform_intent  (KSAWorks Portal)
   Component CSS MUST conform: shared tokens only (--gx-*, --gr-*),
   no bare hex, no priority overrides outside HC, no inline style in render output,
   no hardcoded user-facing strings (use i18n). Theme element families:
     surface, action_button, brand, focus, passive_marker,
     semantic_state, modal_overlay  — each has one purpose; do not mix.
   Counted by tools/preflight-local-deploy.ps1. Drift will not pass acceptance.
   ─────────────────────────────────────────────────────────────────────
*/
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:var(--gx-font-family);background:var(--gx-bg);color:var(--gx-ink);min-height:100vh;display:flex;flex-direction:column;font-size:var(--gx-font-size-base);line-height:var(--gx-line-height-base)}
body.gr-config-pending{visibility:visible}
/* Session 89 Chunk 01b-2 — Stage 2 page-init hard-stop. Shown when the
   centralized health contract reports non-ok for this deployment. */
.gr-health-blocked{max-width:640px;margin:80px auto;padding:32px 28px;text-align:center;background:var(--gx-panel,#fff);border:1px solid var(--gx-border,#ddd);border-radius:8px;font-family:var(--gx-font-family,system-ui,-apple-system,sans-serif);color:var(--gx-ink,#222)}
.gr-health-blocked h1{font-size:22px;font-weight:600;margin-bottom:14px;color:var(--gx-ink,#222)}
.gr-health-blocked p{font-size:15px;line-height:1.55;color:var(--gx-muted,#555)}
body[data-gold-contrast='readable']{--gx-font-size-xs:14px;--gx-font-size-sm:15px;--gx-font-size-base:16px;--gx-line-height-base:1.75}

/* Contrast toggle: footer-controlled high-contrast black surface with white text. */
body[data-gold-contrast='high']{
  --gx-bg:black;
  --gx-panel:black;
  --gx-panel2:black;
  --gx-surface-hover:#111;
  --gx-ink:white;
  --gx-ink-soft:white;
  --gx-muted:white;
  --gx-link:white;
  --gx-border:white;
  --gx-border-strong:white;
  --gx-note-bg:black;
  --gx-note-border:white;
  --gx-note-ink:white;
  --gx-note-label:white;
  --gx-marker-bg:black;
  --gx-marker-ink:white;
  --gx-state-block-border:white;
  --gx-state-affirmed-border:white;
  --gx-btn-primary-bg:white;
  --gx-btn-primary-ink:black;
  --gx-btn-primary-hover:#e6e6e6;
  --gx-btn-accent-bg:white;
  --gx-btn-accent-ink:black;
  --gx-btn-accent-hover:#e6e6e6;
  --gx-btn-success-bg:white;
  --gx-btn-success-ink:black;
  --gx-btn-danger-bg:white;
  --gx-btn-danger-ink:black;
  --gr-gold:white;
  --gr-gold-bright:white;
  --gr-wordmark-suffix:white;
  --gr-blue:white;
  --gr-blue-ring:rgba(255,255,255,.35);
  /* [David 2026-11-09] tokens the page uses with a light fallback; undefined here,
     high contrast left a light fill under white text. */
  --gx-panel-alt:black;
  --gx-surface:black;
  --gr-surface:black;
  --gx-warning-bg:black;
  --gx-primary:white;
}
body[data-gold-contrast='high'] a,
body[data-gold-contrast='high'] button,
body[data-gold-contrast='high'] input,
body[data-gold-contrast='high'] select,
body[data-gold-contrast='high'] textarea{color:var(--gx-ink)}
body[data-gold-contrast='high'] .gx-footer-tool-btn,
body[data-gold-contrast='high'] .gx-header-toolstrip__toggle,
body[data-gold-contrast='high'] .gx-header-pill{background:black;color:white;border-color:white}
body[data-gold-contrast='high'] .gx-header-toolstrip__toggle:has(#gx-contrast-toggle:checked){background:white;color:black;border-color:white}


:root{--gx-font-family:system-ui,-apple-system,sans-serif;--gx-font-size-xs:12px;--gx-font-size-sm:13px;--gx-font-size-base:14px;--gx-line-height-base:1.5;--gx-control-height-sm:34px}

/* Header bar */
/* token-definition: GoldRibbon brand chrome gradient (dark navy). */
.gr-header{background:linear-gradient(135deg,rgb(26,26,46),rgb(22,33,62));padding:14px 24px;border-bottom:1px solid rgba(255,255,255,0.08);display:flex;align-items:center;gap:16px}
/* end token-definition */
/* token-definition: chrome=none toggle must override embedder styles. */
body[data-gold-chrome='none'] .gr-header,
body[data-gold-chrome='none'] #gr-suite-footer,
body[data-gold-chrome='none'] #gx-inspector-host{display:none}
/* end token-definition */
body[data-gold-chrome='minimal'] .gr-header{display:none}
.gr-header .logo{display:inline-flex;align-items:baseline;gap:0;font-size:20px;font-weight:800;letter-spacing:-0.02em}
.gr-header .gr-logo-gold{color:var(--gr-gold)}
.gr-header .gr-logo-suffix{color:var(--gr-wordmark-suffix)}
.gr-header .tag{font-size:13px;color:var(--gx-muted);flex:1}

.gr-wordmark{display:inline-flex;align-items:baseline;gap:0}
/* [SESSION-120 UI STANDARD] Brand rule: wherever the wordmark renders, "Gold"
   is gold -- never heading ink. The var() fallbacks guard the one case the
   config :root block is absent, so gold can never silently render black. */
.gr-wordmark .gr-wordmark-gold{color:var(--gr-gold,#f0b323)}
.gr-wordmark .gr-wordmark-ribbon{color:var(--gr-wordmark-suffix,currentColor)}
/* Inside header pills and the footer brand line the suffix half inherits the
   surrounding ink (the wordmark-suffix token is tuned for the header brand). */
.gx-app-header__pill .gr-wordmark-ribbon,
.gx-footer .gr-wordmark-ribbon,
.gx-footer-brand .gr-wordmark-ribbon{color:inherit}

/* Main content */
.gr-main{flex:1;padding:48px 24px;max-width:860px;margin:0 auto;width:100%}

/* Hero */
.gr-hero{display:flex;align-items:center;gap:48px;margin-bottom:24px}
.gr-hero-text{flex:1;min-width:0}
.gr-hero-text h1{font-size:32px;font-weight:800;line-height:1.3;margin-bottom:16px}
.gr-hero-text .gr-value{font-size:18px;font-weight:700;color:var(--gx-ink);line-height:1.5;margin-bottom:0;max-width:700px}

/* Ribbon emblem */
.gr-emblem{flex-shrink:0;width:180px;height:220px;display:flex;align-items:center;justify-content:center}
.gr-emblem svg{width:140px;height:200px;filter:drop-shadow(0 0 40px rgba(212,160,23,0.35)) drop-shadow(0 0 80px rgba(212,160,23,0.15))}

/* Domain prompt */
.gr-domain-section{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:12px;padding:24px;margin-bottom:36px}
.gr-domain-section label{font-size:15px;font-weight:600;display:block;margin-bottom:8px}
.gr-domain-section .gr-row{display:flex;gap:10px; justify-content: flex-end;align-items:center;}
/* [SESSION-120] Landing picker: the destination question gets a real heading
   + explainer (why the institution field exists) and a trust line under the
   CTA. Same 22px/800 title standard as every stair h2. */
.gr-domain-section h2{font-size:22px;font-weight:800;margin-bottom:6px}
.gr-domain-section .gr-subtext{font-size:14px;color:var(--gx-muted);margin-bottom:14px}
.gr-trust-line{font-size:12px;color:var(--gx-muted);margin-top:10px}
.gr-domain-section input{width:100%;padding:10px 14px;border-radius:8px;border:1px solid var(--gx-border-strong);background:var(--gx-panel);color:var(--gx-ink);font-size:15px;font-family:inherit;max-width:none;box-sizing:border-box}
.gr-domain-section input:focus{border-color:var(--gr-blue);outline:none;box-shadow:0 0 0 2px var(--gr-blue-ring)}
.gr-domain-section .gr-btn-discover{padding:10px 20px;border-radius:8px;border:none;background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink);font-weight:600;cursor:pointer;font-size:14px;white-space:nowrap}
.gr-domain-section .gr-btn-discover:hover{background:var(--gx-btn-primary-hover)}
.gr-domain-section .gr-btn-discover:disabled{opacity:0.5;cursor:not-allowed}
.gr-domain-section .gr-domain-status{font-size:13px;color:var(--gx-muted);margin-top:10px}
.gr-domain-section .gr-suggestions{position:absolute;left:0;right:0;top:100%;background:var(--gx-panel);border:1px solid var(--gx-border-strong);border-radius:0 0 8px 8px;max-height:240px;overflow-y:auto;z-index:100;display:none}
.gr-domain-section .gr-suggestions.is-open{display:block}
.gr-domain-section .gr-suggestion{padding:10px 14px;cursor:pointer;border-bottom:1px solid var(--gx-border);font-size:14px}
.gr-domain-section .gr-suggestion:hover{background:var(--gx-surface-hover)}
.gr-domain-section .gr-suggestion .gr-sug-name{color:var(--gx-ink);font-weight:500}
.gr-domain-section .gr-suggestion .gr-sug-domain{color:var(--gx-muted);font-size:12px;margin-top:2px}
.gr-domain-section .gr-input-wrap{position:relative;flex:1 1 320px;min-width:260px;max-width:none}

/* [SESSION-120] Below-card escape hatches: institution-staff (GiveCredit) and
   re-lookup share the row as two equal sibling containers; they wrap to a stack
   on narrow viewports. .gr-split-col zeroes the panel's own bottom margin since
   the row owns the spacing. */
.gr-split-row{display:flex;gap:24px;flex-wrap:wrap;align-items:stretch;margin-bottom:36px}
/* Equal-height cells laid out as columns so each card's gold button can be
   pinned to the bottom — the two buttons then align on one row regardless of
   how much copy sits above them. */
.gr-split-col{flex:1 1 320px;min-width:0;margin-bottom:0;display:flex;flex-direction:column}
.gr-split-col .gr-status{margin:0}
/* Staff (GiveCredit) cell: title, copy, then the SSO trust line, then the CTA
   pinned to the bottom. The trust line uses the container's normal body font
   (not the tiny caption style) so both cells share one text rhythm. */
.gr-split-col .gr-trust-line{margin-top:4px;font-size:14px;color:var(--gx-muted);line-height:1.5}
/* Both cells end in a button row of identical height, pinned to the bottom so
   the two gold buttons sit on exactly the same line across the two cards. */
.gr-split-col .gr-staff-actions,
.gr-split-col .gr-signal-form .gr-action-row{margin-top:auto;padding-top:16px;justify-content:flex-start}
/* Multiple staff queue buttons (CPL Advisor / Enrollment / Employer stub) wrap
   in a row. The Employer stub is a non-interactive "coming soon" marker. */
.gr-split-col .gr-staff-actions{display:flex;flex-wrap:wrap;gap:10px}
/* [FIX-019] A "coming soon" stub rendered as <span class="gr-btn gr-btn-disabled">
   inherited .gr-btn's live styling (colored fill, pointer cursor) because .gr-btn is
   defined later at equal specificity, so the dead button looked clickable. The
   combined-class selector wins on specificity and grays it further (flat, dimmed,
   normal cursor) so it reads as plainly inactive without changing the cursor. */
.gr-btn-disabled,
.gr-btn.gr-btn-disabled{background:var(--gx-panel);background-image:none;color:var(--gx-muted);border:1px dashed var(--gx-border-strong);cursor:default;pointer-events:none;opacity:0.55;box-shadow:none}
/* Anchor the buttons identically: <a> and <button> render at different natural
   heights, so force one box model — inline-flex centering + a fixed min-height —
   so the two CTAs are pixel-identical in both containers. */
.gr-split-col .gr-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;line-height:1.2;text-decoration:none;text-align:center}
/* Let the re-lookup form fill its column so its action row can pin to the base. */
.gr-split-col .gr-signal-form{display:flex;flex-direction:column;flex:1 1 auto}

/* Try section (preview discovered pages) */
.gr-try-section{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:12px;padding:24px;margin-bottom:36px}
.gr-try-section h2{font-size:22px;font-weight:800;margin-bottom:6px}
.gr-try-section .gr-subtext{font-size:14px;color:var(--gx-muted);margin-bottom:16px}
.gr-try-section .gr-split-row{flex-wrap:nowrap}
.gr-try-section .gr-split-col{flex:1 1 0;padding:20px}
.gr-try-section select{width:100%;max-width:520px;padding:10px 14px;border-radius:8px;border:1px solid var(--gx-border-strong);background:var(--gx-panel);color:var(--gx-ink);font-size:14px;font-family:inherit;cursor:pointer}
.gr-try-section select:focus{border-color:var(--gr-blue);outline:none;box-shadow:0 0 0 2px var(--gr-blue-ring)}
.gr-try-section .gr-page-count{font-size:13px;color:var(--gold-status-success-ink);margin-top:8px}
@media (max-width: 860px){
  .gr-try-section .gr-split-row{flex-wrap:wrap}
  .gr-try-section .gr-split-col{flex:1 1 260px}
}

/* [GOLD-OEM] GetCredit's four destination PRINCIPALS -- one equal-width row
   of four fully-clickable cards (no separate gold pill; the card itself is
   the <button>). Grid, not flex: guarantees four equal columns on one line
   regardless of content-length differences between cards, unlike flex-basis
   rounding. */
.gr-destination-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
/* [WO-025 follow-up] Finder participant list: two columns, and let the gold
   school buttons WRAP instead of truncating. The shared .gr-destination-row is
   a 4-up grid with minmax(0,1fr), which squeezed long institution names to an
   ellipsis; the finder rows carry their own .gr-finder-rows class so this
   override does not touch the picker's four-card row. */
.gr-finder-rows{grid-template-columns:repeat(2,minmax(0,1fr))}
/* [WO-070] Variable-length NARROWING rows: one full-width card per row.
   The shared .gr-destination-row is a fixed 4-track grid sized for GetCredit's
   four avenues, so a data-driven narrowing whose group sizes run 1..N would lay
   1 card into one of four ~148px tracks inside a 640px column and wrap a group
   of 14 across four rows -- the same squeeze .gr-finder-rows exists to undo.
   gold::get_parent's rows carry this class, following that precedent, so the
   override never touches the picker's four-card row. The base rule is NOT
   edited: getcredit.rs and gold/plan.rs depend on the four-up geometry and are
   out of bounds for the order that added this. */
.gr-narrow-rows{grid-template-columns:1fr}
.gr-finder-rows .gr-signal-form{width:100%}
.gr-finder-rows .gr-action-row{margin-top:0}
.gr-finder-rows .gr-btn{width:100%;white-space:normal;text-align:center;line-height:1.3}
.gr-destination-card-form{margin:0;display:block}
.gr-destination-card{
  all:unset;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  gap:10px;
  width:100%;
  height:100%;
  min-height:120px;
  padding:20px;
  border:1px solid var(--gx-border-strong);
  border-radius:12px;
  background:var(--gx-panel);
  cursor:pointer;
  text-align:left;
  transition:border-color .15s,background .15s;
}
.gr-destination-card:hover{border-color:var(--gr-blue);background:var(--gx-surface-hover)}
.gr-destination-card:focus-visible{outline:2px solid var(--gr-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--gr-blue-ring)}
/* [WO-032] Confirm-surface found-them visual + above-the-fold go-back. The
   confirm row overrides the shared 4-up .gr-destination-row grid to a flex row
   so the single proceed card keeps its width and the owned hero SVG fills the
   space beside it (the empty white space the owner flagged). */
.gr-confirm-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.gr-confirm-head .gr-goback-form{margin:0}
.gr-confirm-row{display:flex;gap:24px;align-items:stretch}
.gr-confirm-row .gr-destination-card-form{flex:0 0 auto;max-width:340px}
.gr-confirm-hero{flex:1 1 0;min-width:0;display:flex;align-items:stretch;border-radius:12px;overflow:hidden}
.gr-confirm-hero-img{width:100%;height:100%;min-height:180px;max-height:280px;object-fit:cover;display:block}
.gr-getcredit-favicon{display:inline-flex;vertical-align:middle;margin:0 6px}
.gr-getcredit-favicon-img{width:20px;height:20px;vertical-align:middle}
.gr-getcredit-favicon-ph{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:4px;background:var(--gx-panel);border:1px solid var(--gx-border-strong);color:var(--gx-ink);font-size:12px;font-weight:700;line-height:1}
.gr-getcredit-inst-link{color:inherit;text-decoration:none}
.gr-getcredit-inst-link:hover{text-decoration:underline}
.gr-goback-btn{background:none;border:none;color:var(--gx-ink);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer;padding:6px 8px;border-radius:6px}
.gr-goback-btn:hover{background:var(--gx-surface-hover)}
.gr-goback-btn:focus-visible{outline:2px solid var(--gx-ink);outline-offset:2px}
@media (max-width: 860px){
  .gr-confirm-row{flex-direction:column}
  .gr-confirm-row .gr-destination-card-form{max-width:none}
}
.gr-destination-card__title{font-size:16px;font-weight:700;color:var(--gx-ink)}
.gr-destination-card__copy{font-size:14px;color:var(--gx-muted);line-height:1.5}
@media (max-width: 860px){
  .gr-destination-row{grid-template-columns:1fr}
  .gr-finder-rows{grid-template-columns:1fr}
}

.gr-hidden{display:none}
.gr-intake-intro{display:none;border:1px solid var(--gx-border);background:transparent;color:var(--gx-ink);padding:12px 16px;margin:12px 0 16px;border-radius:8px;font-size:14px;line-height:1.55}
.gr-link-inline{color:var(--gx-link);text-decoration:underline}
.gr-aspiration-panel{margin-top:18px;padding:14px 16px;background:transparent;border:1px solid var(--gx-border);border-radius:8px}
.gr-aspiration-label{display:block;font-weight:600;color:var(--gx-ink);margin-bottom:6px}
.gr-aspiration-note{font-weight:400;color:var(--gx-muted)}
.gr-aspiration-input{width:100%;max-width:520px;padding:8px 12px;border:1px solid var(--gx-border-strong);border-radius:6px;font-size:14px;background:var(--gx-panel);color:var(--gx-ink)}
.gr-aspiration-chips{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}
.gr-action-row{margin-top:18px;display:flex;gap:12px;align-items:center}
.gr-action-row--wrap{flex-wrap:wrap}
.gr-action-row--end{justify-content:flex-end}
.gr-section-gap{margin-top:18px}
/* [Owner walk 2026-08-19: "Buttons"] The compact tier is QUIET, not INVISIBLE:
   with no background or border of its own it read as floating text beside the
   gold tier (Explore's card Compare between two gold pills). Same quiet-pill
   visual as the ghost tier; A7 §6's prominence order (gold > ghost/compact)
   is preserved. */
.gr-btn-compact{font-size:13px;padding:10px 18px;background:#fff;border:1px solid #d3d8de;color:#3a3f4a}
.gr-recognition-summary-host{margin-top:34px;padding-top:22px;border-top:1px solid var(--gx-border)}
.gr-recognition-results-host{margin-top:24px}
.gr-disclaimer{font-size:12px;color:var(--gx-muted);line-height:1.6;text-align:center;margin:0 0 32px;padding:0 16px}

/* Sections */
.gr-section{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:12px;padding:var(--gx-stair-inset);margin-bottom:36px}
.gr-section h2{font-size:22px;font-weight:800;margin-bottom:6px}
.gr-section .gr-subtext{font-size:14px;color:var(--gx-muted);margin-bottom:16px}
.gr-section label{font-size:15px;font-weight:600;display:block;margin-bottom:8px}
.gr-section input[type="file"]{display:none}

/* Upload area */
.gr-upload-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.gr-upload-card-wrap{display:block}
.gr-upload-card{width:100%;background:var(--gx-panel);border:2px dashed var(--gx-border-strong);border-radius:10px;padding:20px 16px;text-align:center;cursor:pointer;transition:border-color 0.2s,background 0.2s;font:inherit;appearance:none}
.gr-upload-card:hover{border-color:var(--gx-btn-primary-bg);background:var(--gx-bg)}
.gr-upload-card.gr-uploaded{border-color:var(--gx-state-affirmed-border);border-style:solid}
.gr-upload-card .gr-icon{font-size:28px;margin-bottom:6px;display:block}
.gr-upload-card h3{font-size:14px;font-weight:700;margin-bottom:4px}
.gr-upload-card p{font-size:12px;color:var(--gx-muted);margin:0}
.gr-upload-card .gr-file-name{font-size:11px;color:var(--gx-state-affirmed-border);margin-top:6px;word-break:break-all}
/* [MULTI-UPLOAD, David 2026-11-10] A Many category with saved files is a list,
   not a button: each file a row with its own Remove, then Add another. */
.gr-upload-card.gr-upload-card--list{cursor:default;justify-content:flex-start;gap:10px}
.gr-upload-card.gr-upload-card--list:hover{border-color:var(--gx-state-affirmed-border);background:var(--gx-panel)}
.gr-upload-card--list .gr-lexp-added{width:100%}
.gr-upload-card--list .gr-ov-result{margin:0 0 8px}
.gr-upload-card--list .gr-ov-result-title{word-break:break-all}
.gr-upload-card--list .gr-action-row{margin-top:0}
.gr-upload-card--list .gr-signal-form{margin:0}

/* LinkedIn input */
.gr-linkedin-row{display:flex;gap:10px;margin-top:14px}
.gr-linkedin-row input{flex:1;padding:10px 14px;border-radius:8px;border:1px solid var(--gx-border-strong);background:var(--gx-panel);color:var(--gx-ink);font-size:14px;font-family:inherit;max-width:500px}
.gr-linkedin-row input:focus{border-color:var(--gr-blue);outline:none;box-shadow:0 0 0 2px var(--gr-blue-ring)}

/* Buttons */
.gr-btn{padding:10px 20px;border-radius:8px;border:none;background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink);font-family:inherit;font-weight:600;cursor:pointer;font-size:14px;white-space:nowrap;transition:background 0.2s}
.gr-btn:hover{background:var(--gx-btn-primary-hover)}
.gr-btn:disabled{opacity:0.5;cursor:not-allowed}
.gr-btn.is-complete{opacity:0.6;cursor:default}
.gr-btn-gold{background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink);font-weight:700}
.gr-btn-gold:hover{background:var(--gx-btn-accent-hover)}
.gr-btn:focus-visible,.gr-upload-card:focus-visible,.gr-next-action:focus-visible,.gr-claim-btn:focus-visible,.gr-rec-assistbtn:focus-visible,.gr-rec-overridebtn:focus-visible,.gr-rec-removebtn:focus-visible,.gr-aspiration-chip:focus-visible,.gx-header-pill:focus-visible,.gx-footer-tool-btn:focus-visible,.gx-inspector-btn:focus-visible,.gx-inspector-panel__close:focus-visible,.gr-ov-btn:focus-visible,.gr-ov-btn--ghost:focus-visible,.gr-ov-x:focus-visible{outline:2px solid var(--gr-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--gr-blue-ring)}

/* Selfie result area — Performer-aligned 7-dimension layout
  (Knowledge full-width on top, 6 dimension tiles in a row below).
  Knowledge title is centered and its items render in 3 columns. */
.gr-selfie{}
.gr-selfie-grid{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.gr-selfie-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:1024px){.gr-selfie-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.gr-selfie-row{grid-template-columns:1fr}}
.gr-selfie-card{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:10px}
.gr-selfie-card--lead{padding:18px 20px}
.gr-selfie-card h3{font-size:13px;font-weight:800;color:var(--gx-btn-accent-ink);margin-bottom:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:7px 14px;background:var(--gx-btn-accent-bg);border:1px solid var(--gx-btn-accent-hover);border-radius:999px;text-align:center;align-self:center}
.gr-selfie-card--lead h3{font-size:15px;justify-content:center;text-align:center;margin-bottom:0;align-self:center}
.gr-selfie-icon{display:inline-flex;align-items:center;justify-content:center;min-width:1.5em;min-height:1.5em;padding:2px;border-radius:999px;background:var(--gx-panel);border:1px solid var(--gx-border);line-height:1}
.gr-selfie-mirror,.gr-claim-title{font-size:15px;font-weight:700;color:var(--gx-ink);margin:6px 0 4px;font-style:normal;text-align:left}
.gr-selfie-card ul{list-style:none;padding:0;margin:0}
.gr-selfie-card--lead ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:16px;row-gap:0}
@media (max-width:768px){.gr-selfie-card--lead ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.gr-selfie-card--lead ul{grid-template-columns:1fr}}
.gr-selfie-card li{font-size:13px;color:var(--gx-ink-soft);padding:3px 0;border-bottom:1px solid var(--gx-border)}
.gr-selfie-card li:last-child{border:none}
/* [WO-1118-02] A statement's count in small type; the occupation's call-for section. */
.gr-selfie-seen{font-size:11px;color:var(--gx-ink-soft);opacity:.8;margin-left:4px}
.gr-selfie-calls-for h4{font-size:13px;font-weight:700;color:var(--gx-ink);margin:6px 0 2px}
/* [WO-V1120-02-C3 ruling 6] The occupation card: opens below its title on hover, tap or keyboard focus (never over the title); closes on Escape, a tap outside or the pointer leaving (goldribbon_shell.js). */
.gr-occ-head{position:relative}
.gr-occ-trigger{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:left;text-decoration:underline dotted;text-underline-offset:3px}
.gr-occ-trigger:focus-visible{outline:2px solid var(--gx-gold,#d4a017);outline-offset:2px}
.gr-occ-card{display:none;position:absolute;top:100%;left:0;z-index:30;width:min(440px,calc(100vw - 32px));margin-top:4px;padding:12px 14px;background:var(--gx-panel);border:1px solid var(--gx-border);border-left:4px solid var(--gx-gold,#d4a017);border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.25);font-size:13px;font-weight:400;color:var(--gx-ink-soft);text-align:left}
.gr-occ-head:hover .gr-occ-card,.gr-occ-head:focus-within .gr-occ-card{display:block}
.gr-occ-head.gr-occ-closed .gr-occ-card{display:none}
.gr-occ-card-title{font-size:14px;font-weight:700;color:var(--gx-ink)}
.gr-occ-card-code{font-weight:400;color:var(--gx-muted)}
.gr-occ-card p{margin:6px 0}
.gr-occ-card-meets{color:var(--gx-muted);font-size:12px}
.gr-occ-card-h{margin-top:8px;font-size:12px;font-weight:700;color:var(--gx-ink)}
.gr-occ-card ul{list-style:disc;padding-left:18px;margin:2px 0}
.gr-occ-card li{border:none;padding:1px 0}
.gr-occ-card-links{margin-top:8px}
.gr-occ-card-links a{color:var(--gx-gold,#d4a017)}
/* [SESSION-120] Items merged from the Add Life Experience popup render italic
   (provenance cue: self-reported life entry vs evidence extraction). */
.gr-selfie-card li.gr-selfie-item--life{font-style:italic}
.gr-selfie-card--lead li{border-bottom:1px solid var(--gx-border-strong)}

/* Claims Reflection */
.gr-claims{}
.gr-claim-card{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:10px;padding:14px 16px;margin-bottom:12px;transition:opacity .2s,border-color .2s}
.gr-claim-card.gr-claim--declined{opacity:.5}
.gr-claim-card.gr-claim--affirmed{border-color:var(--gx-state-affirmed-border)}
.gr-claim-head{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:6px}
.gr-claim-pill{display:inline-block;font-size:11px;padding:2px 8px;border-radius:10px;font-weight:600;letter-spacing:.02em;background:var(--gx-marker-bg);color:var(--gx-marker-ink)}
.gr-claim-pill--literal{background:var(--gx-marker-bg);color:var(--gx-marker-ink)}
.gr-claim-pill--inferred{background:var(--gx-marker-bg);color:var(--gx-marker-ink)}
.gr-claim-pill--tier{background:var(--gx-marker-bg);color:var(--gx-marker-ink)}
.gr-claim-pill--scope{background:var(--gx-marker-bg);color:var(--gx-marker-ink)}
.gr-claim-pill--aspire{background:var(--gx-marker-bg);color:var(--gx-marker-ink)}
.gr-claim-narrative{font-size:13px;color:var(--gx-ink-soft);margin:6px 0}
.gr-claim-fragment{margin:8px 0;padding:8px 12px;border-left:3px solid var(--gr-gold-bright);background:var(--gx-note-bg);font-size:12.5px;color:var(--gx-note-ink);font-style:italic;border-radius:0 4px 4px 0}
.gr-claim-fragment-label{font-style:normal;font-weight:700;color:var(--gx-ink);margin-right:4px}
.gr-claim-reasoning{font-size:12.5px;color:var(--gx-muted);margin-top:6px}
.gr-claim-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--gx-border);align-items:center}
.gr-claim-action-group{display:flex;gap:4px}
.gr-claim-decision-wrap{display:flex;align-items:center}
.gr-claim-mode-wrap{display:flex;align-items:center;gap:6px;margin-left:auto;padding:4px 8px;border:1px dashed var(--gr-gold-bright);border-radius:8px;background:var(--gx-note-bg)}
.gr-claim-btn{font-size:12px;padding:5px 10px;border:1px solid var(--gx-btn-primary-bg);background:var(--gx-panel);color:var(--gx-btn-primary-bg);border-radius:6px;cursor:pointer;font-weight:600}
.gr-claim-btn:hover{background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink);border-color:var(--gx-btn-primary-bg)}
.gr-claim-btn.gr-claim-btn--active{background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink);border-color:var(--gx-btn-accent-bg)}
.gr-claim-btn--decline.gr-claim-btn--active{background:var(--gx-btn-danger-bg);color:var(--gx-btn-danger-ink);border-color:var(--gx-btn-danger-bg)}
.gr-claim-btn--affirm.gr-claim-btn--active{background:var(--gx-btn-success-bg);color:var(--gx-btn-success-ink);border-color:var(--gx-btn-success-bg)}
.gr-claim-mode-label{font-size:11px;color:var(--gx-muted);margin-right:4px;text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.gr-claim-refine{margin-top:8px;width:100%;font-size:13px;padding:6px 10px;background:var(--gx-panel);border:1px solid var(--gx-border-strong);color:var(--gx-ink);border-radius:6px;font-family:inherit}
.gr-recognition-section{margin-top:28px;padding-top:18px;border-top:1px solid var(--gx-border)}
.gr-recognition-section h3{font-size:18px;font-weight:800;color:var(--gx-ink);margin-bottom:12px;text-transform:uppercase;letter-spacing:.03em}
.gr-rec-item{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:8px;padding:12px 14px;margin-bottom:10px;font-size:13px;color:var(--gx-ink-soft)}
.gr-rec-item strong{color:var(--gx-ink)}
.gr-rec-item .gr-rec-rationale{margin-top:4px;color:var(--gx-muted)}
.gr-rec-item--course{border-left:3px solid var(--gr-gold-bright)}
.gr-rec-item--block{border-left:3px solid var(--gx-state-block-border)}
.gr-rec-item--affirmed{border-left:3px solid var(--gx-state-affirmed-border)}
.gr-rec-assertion{margin-top:10px;padding-top:10px;border-top:1px solid var(--gx-border);display:grid;grid-template-columns:repeat(3,max-content) 1fr;gap:8px;align-items:center}
.gr-rec-assertion-label{font-size:11px;font-weight:800;color:var(--gx-ink);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;display:block}
.gr-rec-assertion>.gr-rec-assertion-label{grid-column:1/-1;margin-bottom:0}
.gr-rec-assertion>.gr-signal-form,.gr-rec-assertion-bar,.gr-rec-assertion-bar>.gr-signal-form{display:contents}
.gr-rec-assertion textarea{grid-column:1/-1;width:100%;min-height:90px;padding:8px 10px;background:var(--gx-panel);border:1px solid var(--gx-border-strong);color:var(--gx-ink);border-radius:6px;font-family:inherit;font-size:13px;resize:vertical}
.gr-rec-assertion .gr-action-row{margin:0}
.gr-rec-assertion-bar .gr-status:empty{display:none}
.gr-rec-assistbtn{font-size:12px;padding:5px 10px;border:1px solid var(--gr-gold-bright);background:var(--gr-gold-bright);color:var(--gx-btn-accent-ink);border-radius:6px;cursor:pointer;font-weight:700}
.gr-rec-assistbtn:hover{background:var(--gr-gold);color:var(--gx-btn-accent-ink)}
.gr-rec-overridebtn{font-size:12px;padding:6px 12px;border:1px solid var(--gx-note-border);background:transparent;color:var(--gx-note-border);border-radius:6px;cursor:pointer;font-weight:600}
.gr-rec-removebtn{font-size:12px;padding:6px 12px;border:1px solid var(--gx-btn-primary-bg);background:var(--gx-panel);color:var(--gx-btn-primary-bg);border-radius:8px;cursor:pointer;font-weight:600;margin-left:auto}
.gr-rec-summary-detail{color:var(--gx-muted)}
.gr-rec-summary-note{font-size:12px;color:var(--gx-muted);margin-top:6px;line-height:1.5}
.gr-rec-summary-emphasis{color:var(--gx-ink);font-weight:700}
.gr-rec-transition{margin:8px 0;padding:8px 12px;background:var(--gx-note-bg);border-left:3px solid var(--gx-note-border);border-radius:4px;color:var(--gx-note-ink);font-size:12px;line-height:1.55}
.gr-rec-transition-label{color:var(--gx-note-label);font-weight:700;margin-right:6px}
.gr-rec-override-badge{color:var(--gx-note-border);font-size:11px;font-weight:700}
/* [CODE-REVIEW-2026-07-16 P2 #8] course_pending force-award: visually distinct from vetted matches */
.gr-rec-unvetted-badge{color:var(--gx-note-label);background:var(--gx-note-bg);border:1px dashed var(--gx-note-border);border-radius:4px;padding:1px 6px;font-size:11px;font-weight:700}
/* [CODE-REVIEW-2026-07-16 P2 #3] couldn't-prepare-suggestions retry card */
.gr-suggestions-retry{text-align:center;padding:28px 20px}
.gr-suggestions-retry h3{margin-bottom:8px}
/* [CODE-REVIEW-2026-07-16 P2 #15] stale-share banner on FortCloud lanes */
.gr-lane-superseded{margin:12px auto;max-width:1080px;padding:10px 16px;background:var(--gx-note-bg);border:1px solid var(--gx-note-border);border-radius:6px;color:var(--gx-note-ink);font-size:13px;line-height:1.5}
.gr-rec-original{font-size:11px;color:var(--gx-muted);margin-top:4px}
.gr-rec-block-label{color:var(--gx-muted);font-size:12px}
.gr-rec-opportunity-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px;padding-top:10px;border-top:1px solid var(--gx-border)}
.gr-rec-opportunity-actions .gr-signal-form{margin:0}
.gr-rec-opportunity-actions .gr-action-row{margin:0}
.gr-rec-continue{margin-top:24px;padding-top:18px;border-top:1px solid var(--gx-border);display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap}
/* [SESSION-120 UI STANDARD] Back + advance share the continue bar on one line:
   zero the signal-form and nested action-row margins inside it. */
.gr-rec-continue .gr-signal-form{margin:0}
.gr-rec-continue .gr-action-row{margin:0}
.gr-rec-continue-copy{color:var(--gx-muted);font-size:12px}
.gr-rec-continue-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}

/* Assertion review stair */
.gr-summary-bar{margin:18px 0 16px;padding:12px 14px;border:1px solid var(--gx-border);border-left:3px solid var(--gr-gold-bright);border-radius:8px;background:var(--gx-panel);color:var(--gx-ink-soft)}
.gr-summary-text{font-size:13px;line-height:1.45}
.gr-bucket{margin-top:20px}
.gr-bucket-title{margin:0 0 10px;color:var(--gx-ink);font-size:16px;font-weight:800;letter-spacing:0;text-transform:none}
.gr-bucket .gr-rec-item{padding:16px;margin-bottom:12px}
.gr-rec-item--cc{border-left:3px solid var(--gr-gold-bright)}
.gr-rec-item--bc{border-left:3px solid var(--gx-state-block-border)}
.gr-rec-item--af{border-left:3px solid var(--gx-state-affirmed-border)}
.gr-rec-item-label{font-size:11px;font-weight:800;color:var(--gx-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.gr-rec-item-subject{font-size:14px;font-weight:700;line-height:1.35;color:var(--gx-ink);margin-bottom:12px}
.gr-rec-item-assertion{display:grid;gap:6px;margin-top:8px}
.gr-rec-item-assertion .gr-label{font-size:12px;font-weight:800;color:var(--gx-ink);line-height:1.3}
.gr-rec-item-assertion .gr-assertion-textarea{width:100%;min-height:112px;padding:10px 12px;border:1px solid var(--gx-border-strong);border-radius:8px;background:var(--gx-panel);color:var(--gx-ink);font:inherit;font-size:13px;line-height:1.45;resize:vertical}
.gr-rec-item-assertion .gr-assertion-textarea:focus{border-color:var(--gr-blue);outline:none;box-shadow:0 0 0 2px var(--gr-blue-ring)}
.gr-assertion-course{margin-bottom:20px}
.gr-assertion-course-title{font-size:15px;font-weight:700;color:var(--gr-gold-bright);margin-bottom:4px}
.gr-assertion-actions{margin-top:8px}
.gr-rec-assertion-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}
.gr-rec-assertion-actions .gr-signal-form{margin:0}
.gr-rec-assertion-actions .gr-action-row{margin:0}
.gr-status-inline{margin-left:8px}
.gr-aspiration-chip{font-size:12px;padding:5px 12px;border:1px solid var(--gx-note-border);color:var(--gx-note-label);background:transparent;border-radius:14px;cursor:pointer}
.gr-aspiration-chip.is-selected{background:var(--gx-btn-accent-bg);border-color:var(--gx-btn-accent-hover);color:var(--gx-btn-primary-ink)}
.gr-rec-summary{background:var(--gx-panel);border:1px solid var(--gr-gold-bright);border-radius:8px;padding:12px 16px;color:var(--gx-ink-soft);font-size:14px;display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.gr-rec-summary .gr-rec-summary-num{font-size:22px;font-weight:800;color:var(--gr-gold-bright);margin-right:6px}

/* Course suggestions */
.gr-courses{}
.gr-course-card{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:10px;padding:16px;margin-bottom:12px}
.gr-course-card .gr-course-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}
.gr-course-card .gr-course-code{font-size:14px;font-weight:700;color:var(--gr-gold-bright)}
.gr-course-card .gr-course-title{font-size:15px;font-weight:700;margin-bottom:4px}
.gr-course-card .gr-course-why{font-size:13px;color:var(--gx-muted);margin-bottom:8px}
.gr-course-card .gr-strength{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:700;text-transform:uppercase}
.gr-strength-strong{background:var(--gx-marker-bg);color:var(--gx-marker-ink)}
.gr-strength-moderate{background:var(--gx-marker-bg);color:var(--gx-marker-ink)}
.gr-strength-exploratory{background:var(--gx-marker-bg);color:var(--gx-marker-ink)}

/* Review alignment — evidence-by-source pattern (reuses KSAEX selfie style) */
.gr-review-detail{margin-top:10px;border-top:1px solid var(--gx-border-strong);padding-top:8px}
.gr-review-toggle{cursor:pointer;font-size:12px;font-weight:700;color:var(--gr-blue-deep);list-style:none;text-transform:uppercase;letter-spacing:.04em;user-select:none}
.gr-review-toggle::-webkit-details-marker{display:none}
.gr-review-body{margin-top:10px}
.gr-review-mirror{padding:12px;background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:10px;margin-bottom:10px;font-size:13px;color:var(--gx-ink);line-height:1.5}
.gr-review-mirror .gr-strength{margin-right:6px}
.gr-review-source-badge{display:inline-block;font-size:10px;font-weight:700;padding:2px 8px;border-radius:4px;text-transform:uppercase;letter-spacing:.04em;color:var(--gx-marker-ink);margin-top:10px;background:var(--gx-marker-bg)}
.gr-review-source-badge--comp{background:var(--gx-marker-bg)}
.gr-review-source-badge--evid{background:var(--gx-marker-bg)}
.gr-review-item{padding:5px 0;border-bottom:1px solid var(--gx-border);font-size:12px;font-weight:600;color:var(--gx-ink-soft)}

/* Assertion builder */
.gr-assertion{}
.gr-assertion textarea{width:100%;min-height:120px;padding:12px;border-radius:8px;border:1px solid var(--gx-border-strong);background:var(--gx-panel);color:var(--gx-ink);font-size:14px;font-family:inherit;resize:vertical}
.gr-assertion textarea:focus{border-color:var(--gr-blue);outline:none;box-shadow:0 0 0 2px var(--gr-blue-ring)}
.gr-assertion-prompt{font-size:13px;color:var(--gx-muted);margin-bottom:8px;font-style:italic}

/* Status / loading */
.gr-status{font-size:13px;color:var(--gx-muted);margin-top:10px}
.gr-status.gr-error{color:var(--gx-btn-danger-bg)}
.gr-status.gr-success{color:var(--gx-state-affirmed-border)}
.gr-spinner{display:inline-block;width:16px;height:16px;border:2px solid var(--gx-border-strong);border-top-color:var(--gr-gold);border-radius:50%;animation:gr-spin 0.8s linear infinite;vertical-align:middle;margin-right:8px}
.gr-progress-wait-head{margin-bottom:14px}
.gr-progress-wait-head h2{font-size:22px;font-weight:800;line-height:1.2;margin:0}
.gr-progress-wait-body{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.gr-progress-wait-copy{margin:0;max-width:58ch}
.gr-progress-wait-spinner{display:inline-flex;align-items:center;justify-content:flex-start;min-height:24px}
.gr-progress-wait .gr-spinner{width:18px;height:18px;margin-right:0}
.gr-progress-current{margin:0;max-width:58ch;font-size:15px}
.gr-progress-current-label{font-weight:800;font-size:15px;color:var(--gr-gold-bright)}
@keyframes gr-spin{to{transform:rotate(360deg)}}
/* [WAIT-ROBOT] (David 2026-11-14: "yes, put the robot on the goldribbon waiting screen")
   The waiting robot on the step wait panel, as the portal's wait panel draws it
   (ksaworks-public.css .ks-wait): it walks the track and back (8s), hopping (0.5s),
   its shadow shrinking at the top of each hop; coloured by GoldRibbon's tokens. */
.gr-wait-robot-track{position:relative;width:100%;height:136px}
.gr-wait-robot-track .cmp-robot-wrap{position:absolute;left:0;bottom:0;width:84px;height:104px;animation:gr-robot-walk 8s linear infinite}
.gr-wait-robot-track .cmp-robot{width:72px;height:84px;position:absolute;left:6px;top:0;animation:gr-robot-hop .5s infinite}
.gr-wait-robot-track .cmp-robot-shadow{position:absolute;left:18px;bottom:2px;width:48px;height:8px;border-radius:50%;background:var(--gx-border-strong);animation:gr-robot-shadow .5s infinite}
.gr-wait-robot-track .cmp-r-line{stroke:var(--gx-ink)}
.gr-wait-robot-track .cmp-r-ink{fill:var(--gx-ink)}
.gr-wait-robot-track .cmp-r-gold{fill:var(--gr-gold)}
.gr-wait-robot-track .cmp-r-head{fill:var(--gx-btn-primary-bg)}
.gr-wait-robot-track .cmp-r-face{fill:var(--gx-panel)}
.gr-wait-robot-track .cmp-r-body{fill:var(--gx-btn-accent-bg)}
@keyframes gr-robot-walk{0%{left:0;transform:scaleX(1)}49.99%{left:calc(100% - 84px);transform:scaleX(1)}50%{left:calc(100% - 84px);transform:scaleX(-1)}99.99%{left:0;transform:scaleX(-1)}100%{left:0;transform:scaleX(1)}}
@keyframes gr-robot-hop{0%,100%{transform:translateY(12px);animation-timing-function:ease-out}50%{transform:translateY(-24px);animation-timing-function:ease-in}}
@keyframes gr-robot-shadow{0%,100%{transform:scaleX(1);animation-timing-function:ease-out}50%{transform:scaleX(.5);animation-timing-function:ease-in}}
/* [GC-WAIT-ROBOT] (David 2026-11-27, Normandy chat: "a ball rolled by the robot from his left to the
   right would give the user notice of the progress between steps") GiveCredit's wait panel, over the
   middle of the view while a step loads, taking no room and no press. The waiting robot hops as above
   and walks from the track's left edge to its right, rolling the gold ball ahead of him (4s a pass),
   then starts again from the left; the seconds count under the words. */
.gc-wait-panel{position:fixed;inset:0;z-index:2147483000;display:flex;flex-direction:column;gap:6px;width:min(340px,calc(100vw - 32px));height:fit-content;max-height:calc(100vh - 32px);margin:auto;padding:12px 16px 14px;overflow:hidden;border:1px solid var(--gx-border-strong,#c9ccd1);border-radius:14px;background:var(--gx-panel,#fff);color:var(--gx-ink,#1f2328);box-shadow:0 10px 30px rgba(0,0,0,.18);pointer-events:none}
.gc-wait-panel[hidden]{display:none}
.gc-wait-words{margin:0;font-weight:800}
.gc-wait-secs{margin:0;font-size:13px;opacity:.75}
.gc-wait-track{position:relative;height:120px;overflow:hidden}
.gc-wait-track .cmp-robot-wrap{position:absolute;left:0;bottom:0;width:84px;height:104px;animation:gc-wait-robot 4s linear infinite}
.gc-wait-track .cmp-robot{width:72px;height:84px;position:absolute;left:6px;top:0;animation:gr-robot-hop .5s infinite}
.gc-wait-track .cmp-robot-shadow{position:absolute;left:18px;bottom:2px;width:48px;height:8px;border-radius:50%;background:var(--gx-border-strong,#c9ccd1);animation:gr-robot-shadow .5s infinite}
.gc-wait-track .cmp-r-line{stroke:var(--gx-ink,#1f2328)}
.gc-wait-track .cmp-r-ink{fill:var(--gx-ink,#1f2328)}
.gc-wait-track .cmp-r-gold{fill:var(--gr-gold,#d4a017)}
.gc-wait-track .cmp-r-head{fill:var(--gx-btn-primary-bg,#1f4e79)}
.gc-wait-track .cmp-r-face{fill:var(--gx-panel,#fff)}
.gc-wait-track .cmp-r-body{fill:var(--gx-btn-accent-bg,#2a8c82)}
.gc-wait-ball{position:absolute;bottom:4px;left:0;width:22px;height:22px;border-radius:50%;background:var(--gr-gold,#d4a017);background-image:linear-gradient(90deg,transparent 42%,rgba(0,0,0,.28) 42% 58%,transparent 58%);animation:gc-wait-ball 4s linear infinite}
@keyframes gc-wait-robot{0%{left:-84px}100%{left:calc(100% - 106px)}}
@keyframes gc-wait-ball{0%{left:0;transform:rotate(0)}100%{left:calc(100% - 22px);transform:rotate(1080deg)}}

/* Steps */
.gr-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:20px}
.gr-step{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:10px;padding:16px}
.gr-step .num{font-size:24px;font-weight:800;color:var(--gr-gold-bright);margin-bottom:2px}
.gr-step h3{font-size:13px;font-weight:700;margin-bottom:3px}
.gr-step p{font-size:12px;color:var(--gx-muted);margin:0}

/* Next-steps panel — 3 distinct containers */
/* ── Value ledger (Save half): "what your portfolio could be worth" ──────────
   Residency toggle is pure CSS: two hidden radios; :has() swaps the .val-in /
   .val-out figures. Gold accent = savings (money you keep). */
.gr-val{margin:18px 0 10px}
.gr-val .val-out{display:none}
.gr-val:has(#gr-val-out:checked) .val-in{display:none}
.gr-val:has(#gr-val-out:checked) .val-out{display:inline}
.gr-val-target{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:12px;padding:12px 16px;margin:0 0 16px;display:flex;flex-direction:column;gap:8px}
.gr-val-target-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}
.gr-val-target-k{flex:0 0 auto;min-width:150px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--gx-muted)}
.gr-val-target-v{flex:1 1 200px;font-size:15px;font-weight:700;color:var(--gx-ink);font-variant-numeric:tabular-nums}
.gr-val-heading{font-size:20px;font-weight:800;margin:0 0 4px;color:var(--gx-ink)}
.gr-val-intro{font-size:14px;color:var(--gx-muted);margin:0 0 14px;line-height:1.5;max-width:none}
.gr-val-resbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px}
.gr-val-resq{font-size:13px;font-weight:700;color:var(--gx-ink-soft)}
.gr-val-res{display:inline-flex;border:1px solid var(--gx-border-strong);border-radius:999px;padding:3px;background:var(--gx-panel)}
.gr-val-radio{position:absolute;opacity:0;width:0;height:0}
.gr-val-res label{font-size:13px;font-weight:700;color:var(--gx-muted);padding:7px 15px;border-radius:999px;cursor:pointer}
.gr-val-radio:checked + label{background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink)}
.gr-val-radio:focus-visible + label{outline:2px solid var(--gr-blue-ring);outline-offset:2px}
.gr-val-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:640px){.gr-val-tiles{grid-template-columns:1fr}}
.gr-val-tile{position:relative;background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:12px;padding:16px 15px;overflow:hidden}
.gr-val-tile::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--gx-btn-accent-bg)}
.gr-val-k{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--gx-muted)}
.gr-val-v{font-size:28px;font-weight:800;letter-spacing:-.02em;margin:8px 0 2px;font-variant-numeric:tabular-nums;color:var(--gx-ink)}
.gr-val-u{font-size:12px;color:var(--gx-ink-soft);line-height:1.45}
.gr-val-note-sm{font-size:13px;color:var(--gx-muted);margin:10px 0 0;line-height:1.5}
.gr-val-note-sm a{color:var(--gx-btn-primary-bg);font-weight:700}
.gr-val-path{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:stretch;margin-top:18px}
@media (max-width:640px){.gr-val-path{grid-template-columns:1fr}}
.gr-val-col{border:1px solid var(--gx-border);border-radius:12px;padding:14px 16px;background:var(--gx-panel)}
.gr-val-col--after{border-color:var(--gx-btn-success-bg)}
.gr-val-col-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--gx-muted);margin-bottom:6px}
.gr-val-col--after .gr-val-col-label{color:var(--gx-btn-success-bg)}
.gr-val-row{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding:6px 0;border-bottom:1px dashed var(--gx-border);color:var(--gx-ink)}
.gr-val-row:last-child{border-bottom:0}
.gr-val-row b{font-variant-numeric:tabular-nums;font-weight:700}
.gr-val-arrow{display:flex;align-items:center;justify-content:center;color:var(--gx-muted);font-size:20px;font-weight:800}
@media (max-width:640px){.gr-val-arrow{transform:rotate(90deg)}}
.gr-val-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.gr-val-chip{font-size:13px;font-weight:700;border-radius:999px;padding:5px 12px;background:var(--gx-panel);border:1px solid var(--gx-btn-accent-bg);color:var(--gx-ink)}
.gr-val-chip.good{border-color:var(--gx-btn-success-bg);color:var(--gx-btn-success-bg)}
.gr-val-prov{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:13px;color:var(--gx-ink-soft);margin-top:14px}
.gr-val-prov b{color:var(--gx-ink);font-variant-numeric:tabular-nums}
.gr-val-note{margin-top:16px;font-size:13px;line-height:1.5;color:var(--gx-ink-soft);border-left:4px solid var(--gx-btn-accent-bg);background:var(--gx-panel);border-radius:0 8px 8px 0;padding:10px 14px}

/* ── Return band: fit signal + earnings horizon + reskill close ──────────────
   Blue accent = return (distinct from the gold savings ledger above). */
.gr-ret{margin:22px 0 6px;border-top:1px solid var(--gx-border);padding-top:20px}
.gr-ret-heading{font-size:20px;font-weight:800;margin:0 0 4px;color:var(--gx-ink)}
.gr-ret-intro{font-size:14px;color:var(--gx-muted);margin:0 0 16px;line-height:1.5;max-width:none}
.gr-ret-detail-control{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;font-size:13px;color:var(--gx-ink-soft)}
.gr-ret-detail-control span{font-weight:800;color:var(--gx-ink)}
.gr-ret-detail-radio{position:absolute;opacity:0;width:0;height:0}
.gr-ret-detail-control label{border:1px solid var(--gx-border-strong);border-radius:999px;padding:6px 12px;font-weight:800;color:var(--gx-muted);cursor:pointer;background:var(--gx-panel)}
.gr-ret-detail-radio:checked + label{background:var(--gx-btn-primary-bg);border-color:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink)}
.gr-ret-detail-radio:focus-visible + label{outline:2px solid var(--gr-blue-ring);outline-offset:2px}
.gr-ret-detail-panels{margin:0 0 16px}
.gr-ret-detail{display:none;margin:0;font-size:13px;line-height:1.5;color:var(--gx-ink-soft);background:var(--gx-panel);border-left:4px solid var(--gx-btn-accent-bg);border-radius:0 8px 8px 0;padding:10px 12px}
.gr-ret:has(#gr-ret-simple:checked) .gr-ret-detail-simple{display:block}
.gr-ret:has(#gr-ret-guided:checked) .gr-ret-detail-guided{display:block}
.gr-ret:has(#gr-ret-detailed:checked) .gr-ret-detail-detailed{display:block}
.gr-ret-fit{margin-bottom:20px}
.gr-ret-verdict{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:15px;margin-bottom:12px;color:var(--gx-ink)}
.gr-ret-badge{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:4px 12px;border-radius:999px;border:1px solid}
.gr-ret-badge.high{background:var(--gx-panel);color:var(--gx-btn-success-bg);border-color:var(--gx-btn-success-bg)}
.gr-ret-badge.med{background:var(--gx-panel);color:var(--gx-btn-accent-bg);border-color:var(--gx-btn-accent-bg)}
.gr-ret-badge.low{background:var(--gx-panel);color:var(--gx-muted);border-color:var(--gx-border-strong)}
.gr-ret-factors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:640px){.gr-ret-factors{grid-template-columns:1fr}}
.gr-ret-factor{border:1px solid var(--gx-border);border-radius:10px;padding:12px 13px;background:var(--gx-panel)}
.gr-ret-fl{font-size:12px;font-weight:800;color:var(--gx-muted);margin-bottom:8px}
.gr-ret-dots{display:flex;gap:5px;align-items:center}
.gr-ret-dot{width:26px;height:6px;border-radius:3px;background:var(--gx-border-strong)}
.gr-ret-dot.on{background:var(--gx-btn-primary-bg)}
.gr-ret-lvl{font-size:12px;font-weight:700;margin-top:8px;color:var(--gx-ink-soft)}
.gr-ret-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--gx-muted);margin-bottom:12px}
.gr-ret-legend span{display:inline-flex;align-items:center;gap:6px}
.gr-ret-sw{width:12px;height:12px;border-radius:3px;background:var(--gx-btn-primary-bg)}
.gr-ret-sw.base{background:transparent;border-top:2px dashed var(--gx-muted);height:0;width:18px;border-radius:0}
.gr-ret-chart{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:26px;align-items:end;height:236px;padding:8px 8px 26px;border-bottom:1px solid var(--gx-border)}
.gr-ret-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;position:relative}
.gr-ret-val{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--gx-ink)}
.gr-ret-range{font-size:11px;color:var(--gx-muted);margin-bottom:8px;font-variant-numeric:tabular-nums}
.gr-ret-bar{width:70%;max-width:96px;background:linear-gradient(180deg,var(--gx-btn-primary-bg),var(--gx-btn-primary-hover,var(--gx-btn-primary-bg)));border-radius:8px 8px 0 0}
.gr-ret-col.unresolved .gr-ret-val{font-size:12px;line-height:1.25;text-align:center;color:var(--gx-muted);max-width:110px}
.gr-ret-col.unresolved .gr-ret-bar{background:repeating-linear-gradient(135deg,var(--gx-border-strong),var(--gx-border-strong) 6px,transparent 6px,transparent 12px);border:1px dashed var(--gx-border-strong)}
.gr-ret-x{position:absolute;bottom:-24px;font-size:12px;font-weight:800;color:var(--gx-ink-soft)}
.gr-ret-baseline{position:absolute;left:8px;right:8px;border-top:2px dashed var(--gx-muted);pointer-events:none}
.gr-ret-baseline span{position:absolute;right:0;top:-9px;font-size:11px;color:var(--gx-muted);background:var(--gx-panel);padding:0 5px;font-variant-numeric:tabular-nums}
.gr-ret-chart-note{font-size:12px;color:var(--gx-ink-soft);line-height:1.5;margin:32px 0 16px}
.gr-ret-chart-note a{font-weight:800;color:var(--gr-blue-deep,var(--gx-btn-primary-bg))}
.gr-ret-sources{border:1px solid var(--gx-border);border-radius:10px;background:var(--gx-panel);padding:14px;margin-top:16px}
.gr-ret-sources h4{font-size:15px;margin:0 0 8px;color:var(--gx-ink)}
.gr-ret-source-row{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px dashed var(--gx-border);font-size:13px;color:var(--gx-ink-soft)}
.gr-ret-source-row:last-of-type{border-bottom:0}
.gr-ret-source-row b{text-align:right;color:var(--gx-ink);font-weight:800}
.gr-ret-sources p{font-size:13px;color:var(--gx-ink-soft);line-height:1.5;margin:10px 0 0}
.gr-ret-sources a{font-weight:800;color:var(--gr-blue-deep,var(--gx-btn-primary-bg))}
.gr-ret-resil{display:flex;gap:14px;align-items:flex-start;margin-top:22px;border:1px dashed var(--gx-border-strong);border-radius:12px;padding:16px;background:var(--gx-panel)}
.gr-ret-resil-ic{font-size:22px;line-height:1.2}
.gr-ret-resil h4{margin:0 0 4px;font-size:15px;color:var(--gx-ink)}
.gr-ret-resil p{margin:0;font-size:13px;color:var(--gx-ink-soft);line-height:1.5}
/* ── Program picker (bundle stair, no return source yet) ── */
.gr-picker-intro{margin:16px 0 10px}
.gr-picker-intro h4{margin:0 0 4px;font-size:14px;font-weight:600;color:var(--gx-ink)}
.gr-picker-intro p{margin:0;font-size:13px;color:var(--gx-ink-soft)}
.gr-picker-fieldset{border:1px solid var(--gx-border-strong);border-radius:8px;padding:12px 16px;margin:0 0 10px;display:flex;flex-direction:column;gap:8px}
.gr-picker-option{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--gx-ink);cursor:pointer;padding:6px 8px;border-radius:6px}
.gr-picker-option:hover{background:var(--gx-panel)}
.gr-picker-option input[type="radio"]{accent-color:var(--gx-btn-accent-bg,#d4a017);flex-shrink:0}
.gr-picker-code{font-size:11px;color:var(--gx-ink-soft);margin-left:4px}
/* [WO-027 follow-up] Synopsis edit header: "Edit your story" label at left, the
   compact person-voice toggle at right, one horizontal row directly above the
   textarea (the first cut jammed the toggle into the action-button row). The
   voice group reuses gr-picker-option but goes borderless + horizontal here. */
.gr-synopsis-edit-head{display:flex;justify-content:space-between;align-items:center;gap:6px 16px;flex-wrap:wrap;margin-bottom:6px}
.gr-synopsis-edit-head>.gr-rec-assertion-label{margin-bottom:0}
.gr-rec-assertion-label--plain{text-transform:none;letter-spacing:0;font-size:13px;font-weight:700}
.gr-voice-picker{flex-direction:row;flex-wrap:wrap;align-items:center;gap:2px 8px;border:0;padding:0;margin:0}
.gr-voice-legend{font-size:13px;font-weight:700;color:var(--gx-ink);display:inline-flex;align-items:center;line-height:1.2}
.gr-voice-picker .gr-picker-option{padding:2px 6px;display:inline-flex;align-items:center;gap:4px;line-height:1.2}
.gr-voice-picker input[type=radio]{margin:0}

/* ── GiveCredit (institution staff surface, inside the shared parent frame) ── */
.gc-hero,.gc-panel{background:var(--gx-panel);border:1px solid var(--gx-border-strong);border-radius:8px;padding:22px}
.gc-hero{border-left:6px solid var(--gx-btn-accent-bg);box-shadow:var(--gx-modal-shadow,none);margin-bottom:16px}
.gc-hero h1{margin:0 0 8px;font-size:28px;letter-spacing:0;line-height:1.15}
.gc-hero p{max-width:82ch;margin:0;color:var(--gx-muted);line-height:1.5}
/* GiveCredit's queue: the quick process, step by step (David 2026-11-08) */
.gc-steps{margin:0 0 16px;padding:12px 16px;border:1px solid var(--gx-border);border-left:4px solid var(--gx-btn-accent-bg);border-radius:6px;background:var(--gx-bg);line-height:1.5}
.gc-steps ol{margin:6px 0 0;padding-left:20px}
.gc-steps ul{margin:6px 0 0;padding-left:0;list-style:none}
/* The queue's native disclosure opens into normal flow beneath its title. */
.gc-queue-heading{position:relative;--gc-queue-help-width:min(45%,18rem)}
.gc-queue-heading .page-title{min-block-size:44px;padding-inline-end:calc(var(--gc-queue-help-width) + 12px)}
.gc-queue-help > summary.gc-btn {
  position:absolute;
  inset-block-start:0;
  inset-inline-end:0;
  display:list-item;
  list-style-position:inside;
  box-sizing:border-box;
  min-block-size:44px;
  max-inline-size:var(--gc-queue-help-width);
  white-space:normal;
  overflow-wrap:anywhere;
  padding-block:12px;
}
.gc-queue-heading:has(> .gc-queue-harness) {
  --gc-harness-button-width: min(32%, 10rem);
  --gc-queue-help-width: min(67%, 26rem);
}
.gc-queue-heading:has(> .gc-queue-harness) .gc-queue-help > summary {
  inset-inline-end: calc(var(--gc-harness-button-width) + 8px);
  max-inline-size: calc(var(--gc-queue-help-width) - var(--gc-harness-button-width) - 8px);
}
.gc-queue-heading > .gc-queue-harness {
  position:absolute;
  inset-block-start:0;
  inset-inline-end:0;
  box-sizing:border-box;
  inline-size:var(--gc-harness-button-width);
  min-block-size:44px;
  white-space:normal;
  text-align:center;
  overflow-wrap:anywhere;
}
.gc-steps li{margin:3px 0}
/* GiveCredit's Open: the application as the learner sent it */
.gc-app-facts{display:grid;grid-template-columns:max-content 1fr;gap:6px 18px;margin:12px 0 0}
.gc-app-facts dt{font-weight:700;color:var(--gx-muted)}
.gc-app-facts dd{margin:0}
.gc-open-back{margin:0 0 14px}
.gc-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
.gc-stat{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:8px;padding:12px}
.gc-stat span{display:block;color:var(--gx-muted);font-size:12px;font-weight:800;text-transform:uppercase}
.gc-stat strong{display:block;margin-top:4px;overflow-wrap:anywhere}
.gc-stat-signout{display:flex;align-items:center;justify-content:center}
.gc-panel{overflow:auto}
.gc-panel h2{margin:0 0 12px;font-size:22px;letter-spacing:0}
.gc-table{width:100%;border-collapse:collapse;min-width:860px}
.gc-table th,.gc-table td{border-bottom:1px solid var(--gx-border);padding:8px 6px;text-align:left;vertical-align:top}
.gc-table th{font-size:12px;text-transform:uppercase;color:var(--gx-muted)}
.gc-link{font-weight:800;color:var(--gr-blue-deep,var(--gx-btn-primary-bg))}
.gc-muted{color:var(--gx-muted)}
.gc-num{text-align:right;font-variant-numeric:tabular-nums}
.gc-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--gx-btn-primary-bg);background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink,#fff);font:inherit;font-weight:700;font-size:13px;border-radius:6px;padding:6px 12px;cursor:pointer;text-decoration:none;white-space:nowrap}
.gc-btn-ghost{background:transparent;color:var(--gx-btn-primary-bg)}
.gc-inline{display:inline}
.gc-manage{white-space:nowrap}
.gc-nudge{display:flex;gap:6px;align-items:center;margin-top:6px}
.gc-nudge input[type=text]{flex:1;min-width:120px;padding:6px 8px;border:1px solid var(--gx-border-strong);border-radius:6px;background:var(--gx-panel);color:var(--gx-ink);font:inherit;font-size:13px}
.gc-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:0;padding:12px;border:1px solid var(--gx-border);border-radius:8px;background:var(--gx-panel)}
.gc-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--gx-muted)}
.gc-filters select,.gc-filters input{padding:6px 8px;border:1px solid var(--gx-border-strong);border-radius:6px;background:var(--gx-panel);color:var(--gx-ink);font:inherit;font-size:13px}
.gc-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:stretch;gap:12px;margin:0 0 16px}
.gc-toolbar .gc-filters{flex:1 1 auto}
.gc-export{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0;padding:12px;border:1px solid var(--gx-border);border-radius:8px;background:var(--gx-panel)}
.gc-ids{display:flex;gap:6px;align-items:center;margin-top:6px;flex-wrap:wrap}
.gc-ids input{width:96px;padding:6px 8px;border:1px solid var(--gx-border-strong);border-radius:6px;background:var(--gx-panel);color:var(--gx-ink);font:inherit;font-size:12px}
.gc-ids-summary{font-size:12px;color:var(--gx-muted);line-height:1.5;white-space:nowrap}
.gc-row-action{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.gc-row-action select{padding:6px 8px;border:1px solid var(--gx-border-strong);border-radius:6px;background:var(--gx-panel);color:var(--gx-ink);font:inherit;font-size:12px;max-width:110px}
.gc-state-cell{display:flex;flex-direction:column;gap:2px}
.gc-edit-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:40;display:block}
.gc-edit-popup{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:41;background:var(--gx-panel);border:1px solid var(--gx-border-strong);border-radius:10px;padding:20px;min-width:280px;max-width:calc(100vw - 32px);box-shadow:0 12px 32px rgba(0,0,0,.35)}
.gc-edit-popup h3{margin:0 0 10px;font-size:16px}
.gc-edit-popup .gc-ids{margin-top:0;flex-direction:column;align-items:stretch}
.gc-edit-popup .gc-ids input:not([type=checkbox]):not([type=radio]){width:100%}
.gc-edit-close{display:inline-block;margin-top:12px;font-size:12px;color:var(--gx-muted);text-decoration:underline}
.gc-analytics-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 16px}
.gc-analytics-stats .gc-stat strong{font-size:22px;line-height:1.2;font-variant-numeric:tabular-nums}
.gc-chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;align-items:start;margin:0 0 16px}
.gc-chart-grid .gc-chart-card{margin:0}
.gc-chart-card{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:8px;padding:16px;margin:0 0 16px;overflow:hidden}
.gc-chart-card h3{margin:0 0 12px;font-size:14px;color:var(--gx-muted);text-transform:uppercase;letter-spacing:.02em}
.gc-chart{display:block;max-width:100%;height:auto}
.gc-chart-scroll{overflow-x:auto}
.gc-chart-scroll .gc-chart{max-width:none}
.gc-chart text{fill:var(--gx-ink)}
.gc-bar-fill{fill:var(--gx-btn-primary-bg)}
.gc-line-stroke{stroke:var(--gx-btn-primary-bg);stroke-width:2}
.gc-line-dot{fill:var(--gx-btn-primary-bg)}
.gc-pie-wrap{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.gc-pie{width:180px;height:180px;flex:0 0 auto}
.gc-legend{display:flex;flex-direction:column;gap:6px;font-size:13px}
.gc-legend-row{display:flex;align-items:center;gap:8px}
.gc-legend-swatch{width:12px;height:12px;border-radius:3px;display:inline-block}
.gc-slice-a{fill:var(--gx-btn-primary-bg)}
.gc-slice-b{fill:var(--gx-btn-accent-bg)}
.gc-slice-c{fill:#2f855a}
.gc-slice-d{fill:#a0aec0}
.gc-swatch-a{background:var(--gx-btn-primary-bg)}
.gc-swatch-b{background:var(--gx-btn-accent-bg)}
.gc-swatch-c{background:#2f855a}
.gc-swatch-d{background:#a0aec0}
.gc-period-toggle{display:flex;gap:8px;margin:0 0 16px}
.gc-period-toggle a.active{background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink,#fff);border-color:var(--gx-btn-primary-bg)}
.gc-chart-note{margin:0 0 10px}
.gc-access-card{background:var(--gx-panel);border:1px solid var(--gx-border-strong);border-left:6px solid var(--gx-btn-accent-bg);border-radius:8px;padding:24px;box-shadow:var(--gx-modal-shadow,none);max-width:720px}
.gc-access-card h1{margin:0 0 10px;font-size:28px;letter-spacing:0;line-height:1.15}
.gc-access-card p{line-height:1.55;color:var(--gx-muted)}
.gc-action{display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;font:inherit;border-radius:8px;background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink,#fff);font-weight:800;text-decoration:none;padding:10px 14px}
.gc-signin-status{font-size:13px;color:var(--gx-muted);margin-top:6px;min-height:1em}
.gc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.gc-pick{display:block;border:1px solid var(--gx-border);border-radius:8px;background:var(--gx-panel2,var(--gx-panel));padding:14px;text-decoration:none;color:var(--gx-ink)}
.gc-pick:hover{border-color:var(--gx-btn-primary-bg)}
.gc-pick strong,.gc-pick span,.gc-pick em{display:block;overflow-wrap:anywhere}
.gc-pick span{margin-top:4px;color:var(--gx-muted);font-size:13px}
.gc-pick em{margin-top:6px;color:var(--gx-muted);font-size:12px;font-style:normal}
@media(max-width:720px){.gc-meta{grid-template-columns:1fr}.gc-grid{grid-template-columns:1fr}}

.gr-next-steps{}
/* What's Next funnel tiers: Keep -> Understand (Compass) -> Connect. Each tier
   gets an uppercase eyebrow label so the three-part structure reads at a glance. */
.gr-next-tier{margin-top:22px}
.gr-next-tier-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--gx-muted);margin-bottom:10px}
/* Quiet flow-advance link (one-gold rule): the outcome cards own the emphasis,
   so this control is a plain text link, not a competing gold button. */
.gr-next-finish{margin-top:20px}
.gr-next-finish .gr-btn{background:transparent;color:var(--gx-link);border:none;box-shadow:none;font-weight:700;min-height:0;padding:8px 4px}
.gr-next-finish .gr-btn::after{content:" \2192"}
.gr-next-finish .gr-btn:hover{background:transparent;filter:none;text-decoration:underline}
/* [FIX-020] Proceed-button busy state (enhancement layer; set by
   goldribbon_shell.js::initSignalBusy on native submit). color:transparent keeps
   the label's box so the button does NOT change width; pointer-events:none blocks
   a second click. Placed AFTER .gr-next-finish .gr-btn::after so the spinner's
   empty content wins over that variant's " ->" glyph by source order (equal
   specificity). The centered spinner reuses @keyframes gr-spin (defined above) and
   inherits the button's own ink via --gr-busy-ink (captured in JS).
   [2026-08-20 owner button ruling] The JS sets aria-busy on EVERY submit button
   inside a .gr-signal-form, so the visual must match that scope — not just the
   .gr-btn subset. One base behavior, every submitting button inherits it. */
.gr-btn[aria-busy="true"],.gr-signal-form button[type="submit"][aria-busy="true"]{position:relative;color:transparent;pointer-events:none;cursor:progress}
.gr-btn[aria-busy="true"] > *,.gr-signal-form button[type="submit"][aria-busy="true"] > *{visibility:hidden}
.gr-btn[aria-busy="true"]::after,.gr-signal-form button[type="submit"][aria-busy="true"]::after{content:"";position:absolute;top:50%;left:50%;width:16px;height:16px;margin:-8px 0 0 -8px;border:2px solid var(--gr-busy-ink,currentColor);border-top-color:transparent;border-radius:50%;animation:gr-spin .6s linear infinite}
.gr-next-containers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
@media (max-width:640px){.gr-next-containers{grid-template-columns:1fr}}
/* Equal-height cards laid out as columns so the CTA can pin to the bottom of
   each card — the buttons in a row then sit on one shared line — and center. */
.gr-next-box{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:12px;padding:20px;text-align:center;transition:border-color 0.2s,box-shadow 0.2s;display:flex;flex-direction:column}
.gr-next-box:hover{border-color:var(--gx-btn-primary-bg);box-shadow:var(--gx-modal-shadow)}
.gr-next-box .gr-next-icon{font-size:32px;margin-bottom:8px}
.gr-next-box h3{font-size:16px;font-weight:800;margin-bottom:4px;color:var(--gx-ink)}
.gr-next-box p{font-size:13px;color:var(--gx-muted);margin:0 0 12px}
/* CTA: pin the form to the base, center the button within the card. */
.gr-next-box .gr-signal-form{margin-top:auto}
.gr-next-box .gr-action-row{justify-content:center;margin-top:0}
.gr-next-box .gr-next-action{display:inline-block;padding:8px 18px;border-radius:8px;border:none;font-weight:600;cursor:pointer;font-size:13px;transition:filter 0.15s}
.gr-next-box .gr-next-action:hover{filter:brightness(1.1)}
.gr-next-box-fortknox{border-color:var(--gx-border)}
.gr-next-box-fortknox .gr-next-action{background:var(--gx-btn-success-bg);color:var(--gx-btn-success-ink)}
.gr-next-box-share{border-color:var(--gx-border)}
.gr-next-box-share .gr-next-action{background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink)}
.gr-next-box-enroll{border-color:var(--gx-border)}
.gr-next-box-enroll .gr-next-action{background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink)}
.gr-next-box-advisor{border-color:var(--gx-border)}
.gr-next-box-advisor .gr-next-action{background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink)}
.gr-opportunity-compass{margin-top:18px;background:var(--gx-panel);border:1px solid var(--gx-border-strong);border-radius:8px;padding:18px;text-align:left}
.gr-opportunity-compass h3{font-size:18px;margin:0 0 8px;color:var(--gx-ink)}
.gr-opportunity-compass p{font-size:13px;line-height:1.5;color:var(--gx-muted);margin:0 0 10px}
.gr-opportunity-focus,.gr-opportunity-signal{background:var(--gx-panel2,var(--gx-panel));border-left:4px solid var(--gx-btn-accent-bg);border-radius:6px;padding:8px 10px;color:var(--gx-ink)!important}
.gr-opportunity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
/* Flex column so each card's action row anchors to the bottom of the card
   regardless of how much copy/metrics content sits above it -- otherwise the
   three Compass cards' buttons "float" at different heights since their
   descriptions/metric counts differ. */
.gr-opportunity-card{display:flex;flex-direction:column;border:1px solid var(--gx-border);border-radius:8px;padding:12px;background:var(--gx-panel2,var(--gx-panel))}
.gr-opportunity-card h3{font-size:14px;margin:0 0 6px}
.gr-opportunity-card p{margin:0}
.gr-opportunity-status{margin-top:8px!important;color:var(--gx-ink)!important;font-weight:800}
.gr-opportunity-metrics{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.gr-opportunity-metric{display:inline-flex;gap:4px;align-items:center;border:1px solid var(--gx-border);border-radius:999px;background:var(--gx-panel);padding:5px 8px;font-size:12px;color:var(--gx-muted)}
.gr-opportunity-metric strong{color:var(--gx-ink)}
.gr-opportunity-note{margin-top:12px!important}
.gr-opportunity-note a{font-weight:800;color:var(--gr-blue-deep,var(--gx-btn-primary-bg))}
.gr-opportunity-action{margin-top:auto;padding-top:12px}
.gr-opportunity-action .gr-signal-form{display:block}
/* [2026-07-30] The "Connect to {brand}" label can be long (e.g. "Connect to
   Tennessee Transfer Pathway"); pin the button to its 1fr column and let the
   label wrap so it never overflows the card. */
.gr-opportunity-action .gr-signal-form button,
.gr-opportunity-action button{width:100%;box-sizing:border-box;white-space:normal;line-height:1.2;text-align:center}
@media (max-width:800px){.gr-opportunity-grid{grid-template-columns:1fr}}

/* Override modal — learner picks a different course from the catalog */
#gr-override-modal{position:fixed;inset:0;background:var(--gx-modal-overlay-strong);z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px}
/* [GOLD-POPUP] Shared parent overlay backdrop. Reusable centered fixed wrapper
   for ParentPopup descendants (header Overview / Start / Show Me). Mirrors the
   #gr-override-modal rule as a CLASS so every popup centers identically without
   forking the shell. Wrap a .gr-ov-panel in .gr-popup-overlay to present it. */
.gr-popup-overlay{position:fixed;inset:0;background:rgba(8,12,24,.62);backdrop-filter:blur(8px) saturate(115%);-webkit-backdrop-filter:blur(8px) saturate(115%);z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px}
.gr-popup-overlay::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top,rgba(255,255,255,.06),transparent 55%),rgba(16,24,40,.18);pointer-events:none}
/* [2026-07-11] max-width 720->820, max-height 90vh->95vh: multi-step popups
   (Add Your Transcript's Where/How/What) were scrolling inside a viewport
   smaller than the content needed, inside an already-cramped overlay frame. */
.gr-ov-panel{position:relative;z-index:1;background:var(--gx-panel);border:1px solid var(--gx-border-strong);border-radius:16px;max-width:820px;width:100%;max-height:95vh;display:flex;flex-direction:column;overflow:hidden;font-family:inherit;color:var(--gx-ink);box-shadow:0 28px 80px rgba(2,6,23,.48),0 0 0 1px rgba(255,255,255,.04) inset}
/* [SESSION-120] Wide popup variant: form-bearing popups (Add Life Experience)
   get more room than the 720px reading popups so fields flow two-up and the
   action buttons stay visible without scrolling. Shell rule lives HERE, not
   in a descendant (parent_popup.rs DRIFT GUARD). */
.gr-popup-overlay--wide .gr-ov-panel{max-width:960px}
.gr-ov-head{padding:14px 18px;border-bottom:1px solid var(--gx-border);display:flex;justify-content:space-between;align-items:center}
/* [GOLD-OEM] Welcome-stair hub-rendering preferences (GOLD_OEM_RENDERING spec
   section 7): the same language-pill-group/contrast-toggle controls the
   footer normally carries, surfaced on the Welcome card when the footer is
   hidden under hub rendering. Reuses .gx-header-toolstrip__* styling as-is. */
.gr-welcome-preferences{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 18px;border-bottom:1px solid var(--gx-border)}
/* Demo Source selector: right-justified within whichever toolstrip row it
   renders in. The footer's own .gx-header-toolstrip is already
   justify-content:flex-end, so appending at the end keeps it rightmost
   there; .gr-welcome-preferences (hub Welcome row) is left-aligned by
   default, so this needs its own auto-margin push. */
.gx-demo-persona-selector{margin-left:auto;display:flex;align-items:center;gap:6px}
.gx-demo-persona-selector select{border:1px solid var(--gx-border-strong);border-radius:6px;padding:4px 8px;background:var(--gx-panel);color:var(--gx-ink);font-size:13px}
.gx-demo-persona-selector form.gr-signal-form{display:flex;align-items:center;gap:6px}
/* [SESSION-120 UI STANDARD] ONE eyebrow treatment everywhere -- popups, the
   consent gate, and every stair page (.gr-page-eyebrow carries the branded
   wordmark line above each stair h2). Brand gold, not the note-border token. */
.gr-ov-eyebrow,.gr-gate-eyebrow{color:var(--gr-gold,#f0b323);font-size:11px;text-transform:uppercase;letter-spacing:0.06em;font-weight:700}
.gr-page-eyebrow{margin-bottom:4px;color:var(--gr-gold,#f0b323);font-size:11px;text-transform:uppercase;letter-spacing:0.06em;font-weight:700} /* [Owner 2026-08-18] the hero eyebrow ("Build your plan") wears the same gold treatment as gr-ov-eyebrow — it rendered plain because only the margin rule existed */
/* [SESSION-120 UI STANDARD] ONE title scale: popup titles match the 22px/800
   stair h2 (.gr-section h2); .gr-welcome-title previously had no rule at all
   and rode browser-default h2 sizing. */
.gr-welcome-title{font-size:22px;font-weight:800;line-height:1.2;margin:0;color:var(--gx-ink)}
.gr-ov-current{color:var(--gx-muted);font-size:13px;margin-top:2px}
.gr-ov-x{background:transparent;border:none;color:var(--gx-muted);font-size:22px;cursor:pointer;line-height:1}
/* [2026-07-30] row+wrap (was column/stretch): controls sit side by side — e.g.
   the Check-What-We-Found popup's "Use a Different File" + "View Transcript
   Data" pair — and wrap only when the panel is too narrow. */
.gr-ov-controls{padding:12px 18px;border-bottom:1px solid var(--gx-border);display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px}
/* Empty controls slot must not paint a dead band (double line) at the top of popups. */
.gr-ov-controls:empty{display:none;border:0;padding:0}
.gr-ov-controls-fields{display:flex;flex-wrap:wrap;gap:8px}
.gr-ov-controls-actions{display:flex;gap:8px;justify-content:flex-end}
.gr-ov-input{background:var(--gx-panel);color:var(--gx-ink);border:1px solid var(--gx-border-strong);border-radius:8px;padding:8px 10px;font-size:13px}
.gr-ov-input--q{flex:1 1 auto;min-width:220px}
.gr-ov-input--prefix{width:140px;text-transform:uppercase}
.gr-ov-btn{background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink);border:none;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:700;cursor:pointer}
.gr-ov-btn--sm{padding:6px 14px;font-size:12px;white-space:nowrap}
.gr-ov-btn--ghost{background:var(--gx-panel);border:1px solid var(--gx-btn-primary-bg);color:var(--gx-btn-primary-bg);border-radius:8px;padding:6px 14px;font-size:12px;cursor:pointer}
.gr-ov-results{flex:1;overflow-y:auto;padding:8px 18px 18px}
.gr-ov-empty{color:var(--gx-muted);padding:14px 0;font-size:13px}
.gr-ov-error{color:var(--gx-btn-danger-bg);padding:14px 0;font-size:13px}
.gr-ov-result{border:1px solid var(--gx-border);border-radius:10px;padding:10px 12px;margin:8px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--gx-panel)}
.gr-ov-result-body{flex:1;min-width:0}
.gr-ov-result-title{color:var(--gx-ink);font-weight:700;font-size:13px}
.gr-ov-result-meta{color:var(--gx-muted);font-size:11px;margin-top:2px}
.gr-ov-result-desc{color:var(--gx-muted);font-size:12px;margin-top:4px}
.gr-getcredit-fields{display:grid;gap:12px;margin:14px 0 10px}
.gr-getcredit-fields label{font-size:13px;font-weight:700;color:var(--gx-ink);margin:0}
.gr-getcredit-fields .gr-ov-input{max-width:100%}
.gr-ov-foot{padding:10px 18px;border-top:1px solid var(--gx-border);display:flex;justify-content:space-between;align-items:center;color:var(--gx-muted);font-size:11px}
/* [David 2026-11-09] "should be self adjusting to the size of the text": a popup
   panel takes its height from its text in any language, up to the screen inside
   the overlay's 24px padding; past that the middle scrolls while the head and the
   foot's buttons stay in view, and foot buttons wrap when their labels run longer.
   The Welcome page's own rules (.gr-welcome-page, below) keep their 76px fit. */
.gr-popup-overlay .gr-ov-panel{max-height:calc(100vh - 48px)}
.gr-ov-head,.gr-ov-controls,.gr-ov-foot{flex:0 0 auto}
.gr-ov-body{flex:1 1 auto;min-height:0;overflow-y:auto}
.gr-ov-foot{flex-wrap:wrap;gap:8px}
.gr-welcome-learn-more,.gr-intake-how-link{display:inline-flex;align-items:center;gap:4px;padding:0;border:none;background:transparent;color:var(--gx-link);font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.gr-welcome-learn-more{margin-left:6px;white-space:nowrap}
.gr-welcome-learn-more:hover,.gr-intake-how-link:hover{color:var(--gx-ink)}
.gr-welcome-learn-more:focus-visible,.gr-intake-how-link:focus-visible{outline:2px solid var(--gr-blue);outline-offset:2px;border-radius:4px}

/* GoldRibbon Lead Consent gate — canonical consent modal (Step 7 consent surface).
   Tokens only; no bare hex; no inline style in render output. Replaces the prior
   inline-CSS gate_form. One consent surface. */
.gr-gate-overlay{position:fixed;inset:0;background:var(--gx-modal-overlay-strong);z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px}
.gr-gate-overlay[hidden]{display:none}
/* [SESSION-120 UI STANDARD] Consent gate widened (760 -> 1040) with the PII
   fields and consent checkboxes flowing multi-column, so the submit button is
   visible without scrolling on desktop. Narrow screens collapse back to one
   column via auto-fit. */
.gr-gate-card{width:min(1040px,100%);max-height:90vh;overflow-y:auto;margin:0;padding:24px 24px 22px;box-shadow:var(--gx-modal-shadow);font-family:inherit}
.gr-gate-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.gr-gate-headtext{min-width:0}
.gr-gate-eyebrow{margin-bottom:8px}
.gr-gate-title{font-size:22px;font-weight:800;line-height:1.2;margin:0 0 8px;color:var(--gx-ink)}
.gr-gate-intro{margin:0;color:var(--gx-muted);line-height:1.6}
.gr-gate-cancel{border:1px solid var(--gx-border-strong);background:var(--gx-panel);color:var(--gx-ink);border-radius:999px;padding:8px 14px;font-weight:700;cursor:pointer;font:inherit}
.gr-gate-form{margin-top:20px;display:grid;gap:16px}
.gr-gate-pii{padding:16px;border:1px solid var(--gx-border);border-radius:14px;background:var(--gx-note-bg)}
.gr-gate-fields{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.gr-gate-field{display:grid;gap:6px}
.gr-gate-label{font-size:var(--gx-font-size-xs);font-weight:800;color:var(--gx-muted)}
.gr-gate-input{width:100%;border:1px solid var(--gx-border-strong);border-radius:10px;padding:12px 14px;font-size:15px;background:var(--gx-panel);color:var(--gx-ink);font-family:inherit;box-sizing:border-box}
.gr-gate-consents{display:grid;gap:12px;padding:16px;border:1px solid var(--gx-border);border-radius:14px;background:var(--gx-note-bg);grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.gr-gate-consent{display:flex;gap:10px;align-items:flex-start;line-height:1.5;color:var(--gx-ink)}
.gr-gate-check{margin-top:4px}
.gr-gate-consent-copy{color:var(--gx-muted)}
.gr-gate-link{color:var(--gr-blue);font-weight:700;text-decoration:underline}
.gr-gate-note{font-size:var(--gx-font-size-xs);color:var(--gx-muted);line-height:1.5}
.gr-gate-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.gr-gate-err{flex:1 1 100%;color:var(--gx-btn-danger-bg);font-size:13px;line-height:1.5}
.gr-gate-err[hidden]{display:none}
.gr-gate-cancel:focus-visible,.gr-gate-input:focus-visible{outline:2px solid var(--gr-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--gr-blue-ring)}

/* Suite footer + inspector */

.gx-footer{
  padding:16px 24px 12px;
  background:var(--gx-panel);
  border-top:1px solid var(--gx-border);
  font-size:12px;
  color:var(--gx-muted);
  display:flex;
  flex-direction:column;
  gap:10px;
}

.gx-footer-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.gx-footer-right{
  flex:0 0 auto;
  white-space:nowrap;
  text-align:right;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.gx-footer-data{
  display:inline-block;
}

.gx-footer-device{
  display:inline-block;
}

.gx-footer-privacy{
  color:var(--gx-muted);
  text-align:center;
  line-height:1.35;
  display:block;
  white-space:normal;
}

.gx-footer-brand{
  font-size:13px;
  font-weight:700;
  opacity:1;
}

.gx-footer-links{
  flex:0 0 auto;
  white-space:nowrap;
  text-align:right;
}

.gx-footer-links a{
  color:inherit;
  text-decoration:none;
}

.gx-footer-links a:hover{
  text-decoration:underline;
}

.gx-footer-row-main{
  align-items:center;
  padding-bottom:10px;
  border-bottom:1px solid var(--gx-border);
}

.gx-footer-row-sub{
  align-items:center;
  gap:12px;
}

.gx-footer-privacy-main{
  flex:1 1 auto;
}

.gx-footer-privacy-sub{
  order:0;
}

.gx-footer-link{
  color:inherit;
  text-decoration:none;
}

.gx-footer-link:hover{
  text-decoration:underline;
}

.gx-footer-data-btn{
  background:none;
  border:none;
  cursor:pointer;
  padding:0;
  color:inherit;
  font:inherit;
}

.gx-footer-data-btn:focus-visible{
  outline:2px solid var(--gr-gold);
  outline-offset:2px;
  border-radius:4px;
}

.gx-toolband{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  padding-top:10px;
  border-top:1px solid var(--gx-border);
}
.gx-header-toolstrip{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.gx-header-toolstrip__pill-group{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid var(--gx-border-strong);border-radius:999px;background:var(--gx-panel)}
.gx-header-toolstrip__pill-label{font-size:11px;font-weight:700;color:var(--gx-muted);text-transform:uppercase;letter-spacing:.04em}
.gx-header-toolstrip__toggle{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid var(--gx-border-strong);border-radius:999px;background:var(--gx-panel);color:var(--gx-ink);font-size:12px}
.gx-header-pill,.gx-footer-tool-btn,.gx-inspector-btn{padding:6px 10px;border-radius:999px;border:1px solid var(--gx-border-strong);background:transparent;color:var(--gx-ink);cursor:pointer;font:inherit}
.gx-header-pill.is-active,.gx-footer-tool-btn.is-active,.gx-inspector-btn.is-active{background:var(--gx-btn-accent-bg);border-color:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink)}
.gx-inspector-host{position:fixed;top:0;right:0;z-index:9998;pointer-events:none}
.gx-inspector-panel{position:fixed;top:88px;right:14px;bottom:14px;height:auto;max-height:calc(100vh - 104px);width:min(360px,92vw);z-index:9999;background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:18px;box-shadow:var(--gx-modal-shadow);display:flex;flex-direction:column;overflow:hidden;color:var(--gx-ink);pointer-events:auto}
.gx-inspector-panel[hidden]{display:none}
.gx-inspector-panel__header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink);font-weight:700;font-size:13px;flex-shrink:0}
.gx-inspector-panel__title{display:flex;flex-direction:column;gap:2px;min-width:0}
.gx-inspector-panel__subtitle{font-size:11px;opacity:.78}
.gx-inspector-panel__close{background:none;border:none;color:var(--gx-ink);font-size:18px;cursor:pointer;line-height:1;padding:2px 4px}
.gx-inspector-panel__body{flex:1 1 auto;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:12px}
.gx-inspector-panel__intro{padding:10px 12px;border:1px solid var(--gx-border);border-radius:12px;background:var(--gx-panel2);color:var(--gx-muted);font-size:12px}
.gx-inspector-section{border:1px solid var(--gx-border);border-radius:10px;padding:8px 10px;margin:0}
.gx-inspector-section legend{font-size:11px;font-weight:700;color:var(--gx-muted);text-transform:uppercase;letter-spacing:.04em;padding:0 4px}
.gx-inspector-label{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:500;color:var(--gx-ink);margin-top:8px}
.gx-inspector-label:first-of-type{margin-top:4px}
.gx-inspector-chk{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--gx-ink);margin-top:6px;cursor:pointer}
.gx-input,.gx-select{width:100%;min-height:36px;padding:8px 10px;border:1px solid var(--gx-border);border-radius:8px;background:var(--gx-bg);color:var(--gx-ink);font:inherit}
.gx-inspector-panel__footer{display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid var(--gx-border);flex-shrink:0;background:var(--gx-panel)}
.gx-inspector-panel__footer .gx-inspector-btn{height:var(--gx-control-height-sm);border-radius:10px;padding:0 12px;border-color:var(--gx-btn-accent-bg);background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink);font-weight:700}
.gx-inspector-panel__footer .gx-inspector-btn.ghost{background:transparent;color:var(--gx-link);border-color:transparent}
.gx-inspector-status{min-width:0;font-size:11px;color:var(--gx-muted)}

/* Portal light theme overrides */
.gr-header,.gr-domain-section,.gr-try-section,.gr-section,.gx-footer,.gx-inspector-panel,.gx-inspector-panel__footer{background:var(--gx-panel);border-color:var(--gx-border);box-shadow:var(--gx-modal-shadow)}
.gr-header{border-bottom:1px solid var(--gx-border)}
.gr-header .tag,.gr-section .gr-subtext,.gr-status,.gx-footer,.gx-footer-brand,.gx-footer-privacy,.gx-inspector-status,.gx-inspector-panel__intro,.gx-inspector-section legend{color:var(--gx-muted)}
.gr-wordmark .gr-wordmark-ribbon,.gr-header .gr-logo-suffix{color:var(--gr-wordmark-suffix)}
.gr-header .gr-logo-gold{color:var(--gr-gold)}
.gr-domain-section input,.gr-domain-section .gr-suggestions,.gr-try-section select,.gr-upload-card,.gr-linkedin-row input,.gr-selfie-card,.gr-course-card,.gr-review-mirror,.gr-review-item,.gr-assertion textarea,.gr-step,.gr-next-box,.gr-ov-panel,.gr-ov-input,.gr-ov-result,.gx-input,.gx-select,.gx-header-toolstrip__pill-group,.gx-header-toolstrip__toggle,.gx-header-pill,.gx-footer-tool-btn,.gx-inspector-btn,.gr-destination-card{background:var(--gx-panel);color:var(--gx-ink);border-color:var(--gx-border-strong)}
.gr-domain-section .gr-suggestion:hover,.gr-upload-card:hover,.gr-next-box:hover,.gr-destination-card:hover{background:var(--gx-surface-hover)}
.gr-upload-card p,.gr-course-card .gr-course-why,.gr-assertion-prompt,.gr-review-toggle,.gr-review-source-badge--evid{color:var(--gx-muted)}
.gr-selfie-card li,.gr-review-item,.gx-header-toolstrip__pill-label{color:var(--gx-ink-soft)}
.gr-review-source-badge--evid{background:var(--gx-panel2)}
.gx-inspector-panel__header{background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink)}
body[data-gold-contrast='high'] .gr-domain-section input,
body[data-gold-contrast='high'] .gr-domain-section .gr-suggestions,
body[data-gold-contrast='high'] .gr-try-section select,
body[data-gold-contrast='high'] .gr-upload-card,
body[data-gold-contrast='high'] .gr-linkedin-row input,
body[data-gold-contrast='high'] .gr-selfie-card,
body[data-gold-contrast='high'] .gr-course-card,
body[data-gold-contrast='high'] .gr-review-mirror,
body[data-gold-contrast='high'] .gr-review-item,
body[data-gold-contrast='high'] .gr-assertion textarea,
body[data-gold-contrast='high'] .gr-step,
body[data-gold-contrast='high'] .gr-next-box,
body[data-gold-contrast='high'] .gr-ov-panel,
body[data-gold-contrast='high'] .gr-ov-input,
body[data-gold-contrast='high'] .gr-ov-result,
body[data-gold-contrast='high'] .gx-input,
body[data-gold-contrast='high'] .gx-select,
body[data-gold-contrast='high'] .gx-header-toolstrip__pill-group,
body[data-gold-contrast='high'] .gx-header-toolstrip__toggle,
body[data-gold-contrast='high'] .gx-header-pill,
body[data-gold-contrast='high'] .gx-footer-tool-btn,
body[data-gold-contrast='high'] .gr-destination-card,
/* token-definition: HC contrast overrides win by selector placement and specificity. */
body[data-gold-contrast='high'] .gx-inspector-btn{background:var(--gx-panel);color:var(--gx-ink);border-color:var(--gx-border-strong);box-shadow:none}
body[data-gold-contrast='high'] .gr-domain-section .gr-suggestion:hover,
body[data-gold-contrast='high'] .gr-upload-card:hover,
body[data-gold-contrast='high'] .gr-destination-card:hover,
body[data-gold-contrast='high'] .gr-next-box:hover{background:var(--gx-surface-hover)}
body[data-gold-contrast='high'] .gr-btn{color:var(--gx-btn-primary-ink)}
body[data-gold-contrast='high'] .gr-btn-gold{color:var(--gx-btn-accent-ink)}
body[data-gold-contrast='high'] .gr-btn.gr-btn-disabled{color:var(--gx-muted)}
body[data-gold-contrast='high'] .gr-next-finish .gr-btn{color:var(--gx-link)}
body[data-gold-contrast='high'] .gr-welcome-returning .gr-btn{color:var(--gx-btn-primary-bg)}
body[data-gold-contrast='high'] .gr-view-toggle .gr-btn{color:var(--gx-ink)}
body[data-gold-contrast='high'] .gr-btn[aria-busy="true"]{color:transparent}
/* [David 2026-11-09] "just want the buttons and text to be readable": the a/button
   rule above (white ink) outranked these buttons' own ink, leaving white on white. */
body[data-gold-contrast='high'] .gc-btn,
body[data-gold-contrast='high'] .gc-action,
body[data-gold-contrast='high'] .fc-lane-button{color:var(--gx-btn-primary-ink)}
body[data-gold-contrast='high'] .gc-btn-ghost{color:var(--gx-btn-primary-bg)}
body[data-gold-contrast='high'] .fc-lane-button--secondary,
body[data-gold-contrast='high'] .ld-open,
body[data-gold-contrast='high'] .ld-viewas__stop{color:var(--gx-btn-accent-ink)}
body[data-gold-contrast='high'] .ld-open--inert{color:var(--gx-muted)}
body[data-gold-contrast='high'] .gr-evconf-step .gr-btn:disabled{background:var(--gx-panel);color:var(--gx-muted)}
body[data-gold-contrast='high'] .gr-resbar-sort,
body[data-gold-contrast='high'] .gr-signalbtn--deep,
body[data-gold-contrast='high'] .gr-pill,
body[data-gold-contrast='high'] .gr-roi-band,
body[data-gold-contrast='high'] .ld-viewas__only{background:var(--gx-panel);color:var(--gx-ink)}
body[data-gold-contrast='high'] .gr-roi-band span,
body[data-gold-contrast='high'] .gr-evconf-step-tag,
body[data-gold-contrast='high'] .gr-demo-receipt__verdict,
body[data-gold-contrast='high'] .gr-stat--gap b,
body[data-gold-contrast='high'] .gb-instrument-head h3{color:var(--gx-ink)}
body[data-gold-contrast='high'] .gr-plan-step .gr-plan-n{color:var(--gx-btn-primary-ink)}
body[data-gold-contrast='high'] .ld-viewas b{color:var(--gx-panel)}
/* end token-definition */

@media(max-width:600px){
  .gr-main{padding:28px 16px}
  .gr-hero{flex-direction:column;gap:24px;text-align:center}
  .gr-hero-text h1{font-size:24px}
  .gr-hero-text .gr-value{font-size:15px}
  .gr-emblem{width:120px;height:160px}
  .gr-emblem svg{width:100px;height:140px}
  .gr-linkedin-row{flex-direction:column}
  .gr-linkedin-row input{max-width:100%}
  .gx-footer-row{flex-direction:column;align-items:flex-start;gap:4px}
  .gx-footer-right{text-align:left;justify-content:flex-start;white-space:normal}
  .gx-inspector-panel{top:74px;left:12px;right:12px;bottom:12px;width:auto;max-height:calc(100vh - 86px)}
}

/* Welcome to GoldRibbon chip — sits to the left of the Show Me chip
   (which is fixed at top:14px;right:70px in showme.css). */
.gr-welcome-row{display:flex;justify-content:flex-end;margin:0 0 8px 0}
.gr-welcome-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border:1px solid var(--gx-border,#d4d4d4);border-radius:999px;background:#fff;color:var(--gx-ink,#222);font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.gr-welcome-chip:hover{background:#fafafa;border-color:#b8b8b8}
.gr-welcome-chip:focus-visible{outline:2px solid var(--gx-focus,#2563eb);outline-offset:2px}
#gr-welcome-modal{position:fixed;inset:0;background:var(--gx-modal-overlay-strong);z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px}
#gr-welcome-modal[hidden]{display:none}
.gr-welcome-page{width:min(900px,100%);margin:0 auto;display:flex;justify-content:center;align-items:flex-start}
.gr-welcome-page .gr-ov-panel{width:min(720px,100%)}
#gr-welcome-body{line-height:1.55;color:var(--gx-ink);font-size:14px}
#gr-welcome-body p{margin:0 0 12px 0}
#gr-welcome-body p:last-child{margin-bottom:0}
#gr-welcome-options{margin:16px 0;display:flex;flex-direction:column;gap:8px}
.gr-welcome-option{display:flex !important;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--gx-border-strong,#c9ccd1);border-radius:8px;margin:8px 0;cursor:pointer;background:var(--gx-panel,#fff);transition:background .15s,border-color .15s}
.gr-welcome-option:hover{background:var(--gx-surface-hover,#f4f5f7);border-color:var(--gx-btn-primary-bg)}
.gr-welcome-option input[type="radio"]{margin:0;width:18px;height:18px;flex-shrink:0;cursor:pointer}
.gr-welcome-option span{font-size:14px;font-weight:500;color:var(--gx-ink)}
.gr-welcome-foot{display:flex;justify-content:flex-end;gap:12px}
/* [FIX-048] alignment: the foot holds TWO independent forms, and only the
   evidence wrapper zeroed its form margin (.gr-welcome-evidence .gr-signal-form),
   so Continue kept the form's default margin plus the nested .gr-action-row's
   18px top -- measured live as Add evidence sitting 6px below Continue while
   both buttons were 42px tall. Normalize BOTH children rather than adding a
   second wrapper: the row's own margin is meaningless inside a flex foot. */
.gr-welcome-foot .gr-signal-form{margin:0}
.gr-welcome-foot .gr-action-row{margin-top:0}
/* [David 2026-11-09] Welcome popup resize: the panel fits inside main.gr-stage's
   28px + 48px padding (76px), and #gr-welcome-form becomes the flex column that
   lets .gr-ov-results scroll while .gr-ov-foot stays in view (the GiveCredit
   popup and form standard, .gc-edit-popup form.gc-popup-form / .gc-popup-body). */
.gr-welcome-page .gr-ov-panel{max-height:calc(100vh - 76px)}
.gr-welcome-page .gr-ov-panel > .gr-signal-form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;margin:0}
.gr-welcome-page .gr-ov-results{min-height:0}
/* How GoldRibbon Works modal — same surface as Welcome modal. */
#gr-howitworks-modal{position:fixed;inset:0;background:var(--gx-modal-overlay-strong);z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px}
#gr-howitworks-modal[hidden]{display:none}
#gr-howitworks-body{line-height:1.55;color:var(--gx-ink);font-size:14px}
#gr-howitworks-body p{margin:0 0 12px 0}
#gr-howitworks-body p:last-child{margin-bottom:0}
#gr-howitworks-body strong{color:var(--gx-ink);font-weight:700}
/* === KSAserver page_shell scaffold (moved from inline page_shell, Session 118) === */
/* The <main class="gr-stage"> wrapper page_shell emits, plus spacing between the */
/* stacked no-JS <form class="gr-signal-form"> elements. Layout scaffold only -- no */
/* theme colors (those live in the token-driven rules above). */
.gr-stage{max-width:760px;margin:0 auto;padding:16px 20px;}
.gr-signal-form{margin:0 0 12px 0;}

/* === Slice A: canonical parent Frame header + footer (GoldMap parity) ====== */
/* The header is the canonical two-element band (logo + tag) styled by the      */
/* .gr-header rules at the top of this file -- identical to GoldPath/GoldCheck.  */
/* The footer is the canonical three-row + toolband structure. Only the footer  */
/* behavior hooks and the toolband mobile stack remain here; tokens drive color. */
.gr-footer-status{color:var(--gx-muted)}
.gr-footer-action{color:var(--gx-ink)}
@media (max-width:640px){
  .gx-toolband{flex-direction:column;align-items:flex-start;gap:6px}
}

/* === GoldMap canonical parent Frame replacement =========================
   This section styles the parent_frame.rs output:
   .gx-app-header / .gr-stage.gr-main / .gx-app-footer.
   It intentionally uses shared tokens only and keeps descendant body content
   inside the same centered GoldMap frame shown in the target screenshot. */

html{min-height:100%}
body{background:var(--gx-bg);color:var(--gx-ink)}

/* Parent Frame header */
.gx-app-header{
  flex:0 0 auto;
  /* [David 2026-11-17, Pass 2 Issues] Always a solid banner: the system's own
     page colour when no theme is given, and under an operating system contrast theme. */
  background:var(--gx-panel,Canvas);
  border-bottom:1px solid var(--gx-border);
  box-shadow:var(--gx-modal-shadow);
  /* [2026-09-13 David ruling] The hamburger menu must be ALWAYS visible, so the
     header stays at the top of the viewport while the stair scrolls. */
  position:sticky;
  top:0;
  z-index:30;
}
/* David 2026-11-07: the header and footer span the browser window, inside
   the stage's 24px gutter, in every app on this frame. */
.gx-app-header__inner{
  width:calc(100% - 48px);
  min-height:88px;
  margin:0 auto;
  display:grid;
  /* fourth track: the hamburger menu (render_settings_menu), header's last child */
  grid-template-columns:190px minmax(0,1fr) auto auto;
  align-items:center;
  gap:28px;
}
/* [2026-09-13 David ruling] THE HAMBURGER MENU -- language + accessibility
   (contrast) choices, in the header, not the footer. Native <details>; the
   <summary> is the 44px button (a11y target size), tokens only. */
.gx-app-menu{position:relative;justify-self:end;align-self:start}
.gx-app-menu__button{
  list-style:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:44px;
  height:44px;
  min-height:44px;
  padding:6px;
  border:1px solid var(--gx-border-strong);
  border-radius:10px;
  background:var(--gx-panel);
  color:var(--gx-ink);
  cursor:pointer;
}
.gx-app-menu__button::-webkit-details-marker{display:none}
.gx-app-menu__button::marker{content:""}
.gx-app-menu__button:hover{background:var(--gx-surface-hover)}
.gx-app-menu__button:focus-visible{outline:2px solid var(--gr-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--gr-blue-ring)}
.gx-app-menu__bar{display:block;width:20px;height:2px;border-radius:2px;background:var(--gx-ink)}
.gx-app-menu__panel{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  z-index:31;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  min-width:240px;
  padding:14px;
  border:1px solid var(--gx-border-strong);
  border-radius:12px;
  background:var(--gx-panel);
  color:var(--gx-ink);
  box-shadow:var(--gx-modal-shadow);
}
.gx-app-menu__panel .gx-header-toolstrip__pill-group,
.gx-app-menu__panel .gx-header-toolstrip__toggle{min-height:44px}
.gx-app-header__brand{min-width:0}
.gx-app-wordmark{
  display:inline-flex;
  align-items:baseline;
  gap:0;
  font-size:26px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.04em;
}
.gx-app-wordmark__gold{color:var(--gr-gold)}
.gx-app-wordmark__suffix{color:var(--gr-wordmark-suffix)}
/* [GOLD-OEM] Plain-text wordmark fallback for a deployment that names an OEM
   brand but authors no custom wordmark HTML -- reads as the host's own ink,
   not the GoldRibbon two-tone mark. */
.gx-app-wordmark__plain{color:var(--gx-ink)}
/* [GOLD-OEM] Real logo image tier -- height-capped to the wordmark's own line
   box (26px font-size/line-height:1 above) so a tall/wide institution mark
   never blows out the header row; width is intrinsic. */
.gx-app-wordmark__logo{display:block;height:32px;width:auto;max-width:220px}
.gx-app-header__product-subtitle{
  margin-top:7px;
  color:var(--gx-ink-soft);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  line-height:1.2;
}
.gx-app-header__message{min-width:0;padding-top:2px}
.gx-app-header__title{
  color:var(--gx-ink);
  font-size:14px;
  line-height:1.25;
  font-weight:800;
}
.gx-app-header__subtitle{
  margin-top:6px;
  color:var(--gx-muted);
  font-size:12px;
  line-height:1.35;
}

/* [WO-076 rev c] The summary band. Proposed additions -- nothing existing is altered. */

/* TOP right, and this rule is why it is TOP.
   `.gx-app-header__inner` sets align-items:center, so a band with no nav beneath
   it lands vertically CENTERED. Measured at 1280px before this rule existed:
   GoldPlan's band sat 4px from the header top (its flex column is tall enough to
   fill), while GoldMine's and GoldSetting's sat 28-29px down, dead centre. The
   band therefore read as "top right" on one lane and "middle right" on two.
   The child combinator matters: `align-self` inside the column flex wrapper
   controls the HORIZONTAL axis, so applying it to the summary unconditionally
   pulled GoldPlan's band 108px off the right edge. Restricted to the direct grid
   child, all three lanes measure 0 from the top and 0 from the right. */
.gx-app-header__inner > .gx-app-header__summary,
.gx-app-header__right{align-self:start;}

.gx-app-header__right{display:flex;flex-direction:column;align-items:flex-end;gap:10px;}
.gx-app-header__summary{
  display:flex; align-items:flex-start; gap:18px;
  justify-content:flex-end; text-align:right; white-space:nowrap;
}
.gx-app-header__summary-half{display:flex;flex-direction:column;line-height:1.35;}
.gx-app-header__summary-half--subject{
  padding-left:18px;
  border-left:1px solid var(--gx-border,#d8dee8);
}
.gx-app-header__summary-line{
  font-size:12px; font-weight:700; color:var(--gx-ink,#1e2733);
}
.gx-app-header__summary-line--soft{
  font-size:11px; font-weight:600; color:var(--gx-ink-soft,#5b6577);
}

.gx-app-header__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  white-space:nowrap;
}
.gx-app-header__pill{
  min-height:38px;
  padding:0 18px;
  border:1px solid var(--gx-border-strong);
  border-radius:999px;
  background:var(--gx-panel);
  color:var(--gx-ink);
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  box-shadow:var(--gx-modal-shadow);
}
.gx-app-header__pill:hover{background:var(--gx-surface-hover)}
.gx-app-header__pill:focus-visible{outline:2px solid var(--gr-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--gr-blue-ring)}
/* [GOLD-POPUP] Each header pill is now a no-JS signal <form>. Neutralize the
   default .gr-signal-form bottom margin inside the header so the pills stay on
   one centered row exactly as before. */
.gx-app-header__actions .gr-signal-form{margin:0}
/* [GOLD-POPUP] Show Me popup -- two-student demo choice (Coming Soon). Cards are
   inert today (the JS walkthrough is deferred); rendered disabled so the surface
   is honest. The "Coming Soon" badge uses the shared accent tokens. */
.gr-popup-soon{display:inline-block;margin-left:10px;padding:2px 10px;border-radius:999px;background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;white-space:nowrap}
.gr-showme-choices{display:grid;gap:12px;margin-top:12px}
.gr-showme-card{display:flex;flex-direction:column;gap:4px;text-align:left;padding:14px 16px;border:1px solid var(--gx-border);border-radius:10px;background:var(--gx-panel);color:var(--gx-ink);font:inherit;cursor:pointer;width:100%}
.gr-showme-card:hover{border-color:var(--gx-btn-accent-bg,#d4a017);background:var(--gx-surface)}
.gr-showme-card__name{font-weight:800;font-size:14px}
.gr-showme-card__desc{color:var(--gx-muted);font-size:12px}

/* [GOLD-POPUP] Add Life Experience popup (life_experience.rs) + the Selfie
   Life Experience progress panel. Content-slot classes only -- the popup
   shell is the canonical .gr-ov-panel frame (DRIFT GUARD in parent_popup.rs).
   Tokens only; no bare hex; no inline style in render output. The field grid
   mirrors .gr-getcredit-fields; the note mirrors .gr-rec-transition; the
   dimension chip mirrors the .gr-selfie-card h3 pill so the bucket a life
   experience strengthens reads like the tile it points at. */
.gr-lexp-fields{display:grid;gap:14px;margin:14px 0 4px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.gr-lexp-field{display:flex;flex-direction:column;gap:4px;margin:0}
.gr-lexp-field--full{grid-column:1/-1}
.gr-lexp-label{font-size:13px;font-weight:700;color:var(--gx-ink)}
.gr-lexp-hint{font-size:12px;color:var(--gx-muted)}
.gr-evconf-demo-hint{font-style:italic;border-left:2px solid var(--gx-border-strong);padding-left:8px;margin:6px 0}
/* Evidence-identify popup: fixed two-column layout (not auto-fit) so the
   four prompts sit in two stacked-pair containers that line up both across
   (row 1: names / row 2: source detail) and down each column. */
.gr-lexp-fields--two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
.gr-lexp-fields-col{display:flex;flex-direction:column;gap:14px}
@media(max-width:640px){.gr-lexp-fields--two-col{grid-template-columns:1fr}}
.gr-lexp-note{margin-top:14px;padding:8px 12px;background:var(--gx-note-bg);border-left:3px solid var(--gx-note-border);border-radius:4px;color:var(--gx-note-ink);font-size:12px;line-height:1.55}
.gr-lexp-added-heading{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--gx-muted);margin:10px 0 2px}
.gr-lexp-added,.gr-lexp-progress-list{list-style:none;margin:0;padding:0}
.gr-lexp-dim-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--gx-btn-accent-bg);border:1px solid var(--gx-btn-accent-hover);color:var(--gx-btn-accent-ink);font-size:12px;font-weight:700;white-space:nowrap;flex-shrink:0}
.gr-lexp-progress-list .gr-ov-result{margin:8px 0 0}

/* [TRANSCRIPT-INTAKE] Transcript popup three-step containers (approved
   mockup design/transcript-intake-mockup.html): Step 1 Where / Step 2 How /
   Step 3 What. Step 2 renders locked (disabled buttons, dimmed container)
   until Step 1 confirms; the selected Step-2 choice carries a visible ring
   and Step 3 shows that choice's own prompt. Tokens only. */
.gr-evconf-step{border:1.5px solid var(--gx-border);border-radius:10px;padding:12px 16px;margin:12px 0}
/* [2026-07-11] Once Step 1 confirms, its full re-search form collapses behind
   this disclosure instead of staying permanently visible -- keeps Step 2
   from being pushed down the popup by a redundant, already-done form. */
.gr-evconf-change-school{margin-top:8px}
.gr-evconf-change-school summary{cursor:pointer;color:var(--gx-link);font-size:13px;font-weight:600;list-style:none}
.gr-evconf-change-school summary::-webkit-details-marker{display:none}
.gr-evconf-change-school summary:before{content:"+ ";}
.gr-evconf-change-school[open] summary:before{content:"\2212 ";}
.gr-evconf-change-school[open] summary{margin-bottom:10px}
.gr-evconf-step-tag{display:block;color:var(--gx-btn-accent-ink);background:transparent;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px}
.gr-evconf-step--locked{background:var(--gx-surface)}
.gr-evconf-step--locked .gr-lexp-label,.gr-evconf-step--locked .gr-lexp-hint{color:var(--gx-muted)}
.gr-evconf-step .gr-btn:disabled{background:var(--gx-border);color:var(--gx-muted);cursor:not-allowed}
.gr-evconf-choice{display:inline-block}
.gr-evconf-choice--selected .gr-btn{outline:3px solid var(--gr-blue);outline-offset:1px}
/* [DRIFT-GUARD] Moved off an inline style= on the transcript-view <pre> --
   this class was already referenced there, the rules just never lived here. */
.gr-evconf-transcript-text{white-space:pre-wrap;max-height:20rem;overflow:auto}

/* [SESSION-120] Debug activity log — footer 🔍 toggle + the appended panel
   (parent.rs parent_debug_footer_button / render_progress_log_view). Tokens
   only. The panel is informational: log entries + a corner close, no other
   interactivity. */
.gr-debug-button-form{display:inline;margin:0}
.gr-debug-button{background:transparent;border:none;cursor:pointer;font-size:15px;line-height:1;padding:2px 4px}
.gr-debug-button:focus-visible{outline:2px solid var(--gr-blue);outline-offset:2px;border-radius:4px}
.gr-debug-panel{width:min(1080px,100%);margin:16px auto 0;background:var(--gx-panel);border:1px solid var(--gx-border-strong);border-radius:12px;padding:14px 18px}
.gr-debug-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.gr-debug-header h3{font-size:14px;font-weight:800;margin:0;color:var(--gx-ink)}
.gr-debug-header .gr-signal-form{margin:0}
.gr-debug-log-container{max-height:280px;overflow-y:auto}
.gr-debug-log{list-style:none;margin:0;padding:0}
.gr-progress-entry{font-size:12px;color:var(--gx-ink-soft);padding:4px 0;border-bottom:1px solid var(--gx-border)}
.gr-progress-entry:last-child{border-bottom:none}
.gr-progress-entry code{font-size:11px;color:var(--gx-muted)}

/* Parent Frame main stage */
:root{--gx-stair-content-max:1100px;--gx-stage-gutter:24px;--gx-stair-inset:24px}
.gr-stage.gr-main,
main.gr-stage{
  flex:1 0 auto;
  width:100%;
  max-width:none;
  margin:0;
  padding:28px var(--gx-stage-gutter) 48px;
  background:linear-gradient(180deg,var(--gx-bg),var(--gx-bg));
}
.gr-stage > .gr-signal-form,
.gr-stage > .gr-section,
.gr-stage > .gr-domain-section,
.gr-stage > .gr-try-section,
/* Return Door fragments that render as the whole stair body (result/ack
   cards, the landing's "Returning?" prompt) and any bare section card a
   stair returns directly — same centered column as every other stair. */
.gr-stage > .gr-section-card,
.gr-stage > .gr-return-door,
/* Door-hold waiting room and dispatcher refusals render as the whole body. */
.gr-stage > .gr-doorhold,
.gr-stage > .gr-blocked{
  /* [2026-07-30] 870->1100: shared content cap for every full-page stair —
     GoldRibbon AND the three satellites (all render through parent_frame.rs's
     <main class="gr-stage gr-main">). Widened for all four in one lever. The
     GoldPath proxy-overlay frame (KSAEZ GoldPath.js) was bumped to match so it
     does not re-clamp this width. */
  width:min(var(--gx-stair-content-max),100%);
  margin-left:auto;
  margin-right:auto;
}
/* gr-blocked: the dispatcher's refusal surface — a bounded card, honest warn
   accent, never a bare full-width string. */
.gr-blocked{background:var(--gx-panel,#fff);border:1px solid var(--gx-border,#dde2ea);border-left:4px solid var(--gx-warn,#b25e09);border-radius:10px;padding:16px 18px;margin:12px 0}

/* GoldMap-like form card rhythm */
.gr-section,
.gr-domain-section,
.gr-try-section{
  border:1px solid var(--gx-border-strong);
  border-radius:16px;
  background:var(--gx-panel);
  box-shadow:0 28px 80px rgba(2,6,23,.48),0 0 0 1px rgba(255,255,255,.04) inset;
}
.gr-section h2,
.gr-domain-section label,
.gr-try-section h2{
  color:var(--gx-ink);
}
.gr-upload-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gr-upload-card{
  min-height:140px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  text-align:left;
  border-style:solid;
  border-width:1px;
  border-radius:16px;
  padding:20px 18px;
  box-shadow:var(--gx-modal-shadow);
}
.gr-upload-card .gr-icon{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:var(--gx-btn-accent-bg);
  color:var(--gx-btn-accent-ink);
  font-size:19px;
  margin-bottom:14px;
}
/* [EVIDENCE-CONFIRM] Type cards are now submit buttons (each card is its own
   signal form opening the per-type upload popup) -- normalize button UA
   styles to the card look. */
button.gr-upload-card{font:inherit;cursor:pointer;width:100%;align-items:center;text-align:center}
.gr-upload-card-wrap .gr-signal-form{margin:0}
.gr-upload-card .gr-lexp-dim-chip{margin-top:8px}
/* Demo extraction receipt — shows parsed name + per-document type/org verdicts */
.gr-demo-receipt{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;padding:12px 16px;margin:16px 0;background:var(--gx-surface,#f8f9fa);border:1px solid var(--gx-border,#dee2e6);border-left:4px solid var(--gx-gold,#d4a017);border-radius:8px;font-size:13px;line-height:1.5}
.gr-demo-receipt__badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;background:var(--gx-btn-accent-bg,#e8f5e9);color:var(--gx-btn-accent-ink,#2e7d32);border:1px solid var(--gx-btn-accent-hover,#c8e6c9);font-size:11px;font-weight:700;white-space:nowrap}
.gr-demo-receipt__name{font-weight:700;color:var(--gx-ink,#111);font-size:13px}
.gr-demo-receipt__list{list-style:none;padding:0;margin:0;width:100%;display:flex;flex-direction:column;gap:4px}
.gr-demo-receipt__row{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12px;color:var(--gx-muted,#6c757d)}
.gr-demo-receipt__slot{font-weight:600;color:var(--gx-ink,#111);text-transform:capitalize}
.gr-demo-receipt__sep{color:var(--gx-border,#adb5bd)}
.gr-demo-receipt__org{color:var(--gx-muted,#6c757d)}
.gr-demo-receipt__verdict{color:var(--gx-btn-accent-ink,#2e7d32);font-weight:600}
.gr-evconf-error{border-left-color:var(--gx-btn-danger-bg)}
/* [MULTI-UPLOAD] The replace notice on a One category's check step. */
.gr-evconf-replace{border:2px solid var(--gr-gold-bright);border-left-width:4px}
.gr-upload-card h3{font-size:14px;line-height:1.25;margin-bottom:5px;color:var(--gx-ink)}
.gr-upload-card p{font-size:11px;line-height:1.35;color:var(--gx-muted)}
.gr-action-row{align-items:center;gap:14px}
.gr-btn,.gr-btn-gold{
  border-radius:9px;
  min-height:42px;
  padding:0 20px;
  box-shadow:none;
}

/* Evidence intake: keep the Share Your Evidence step and footer in the initial viewport. */
main.gr-stage:has(#gr-intake){padding-top:28px;padding-bottom:24px}
#gr-intake{padding:18px 20px;margin-bottom:16px}
#gr-intake .gr-subtext{margin-bottom:12px}
#gr-intake .gr-upload-grid{gap:10px}
#gr-intake .gr-upload-card{min-height:108px;padding:14px 16px;border-radius:12px}
#gr-intake .gr-upload-card .gr-icon{width:34px;height:34px;border-radius:11px;margin-bottom:9px}
#gr-intake .gr-aspiration-panel{margin-top:12px;padding:10px 12px}
#gr-intake .gr-aspiration-label{margin-bottom:4px}
#gr-intake .gr-aspiration-chips{margin-top:6px;gap:5px}
#gr-intake .gr-action-row{margin-top:12px}

/* Parent Frame footer */
.gx-app-footer{
  flex:0 0 auto;
  background:var(--gx-panel);
  border-top:1px solid var(--gx-border);
  color:var(--gx-muted);
  padding:10px 24px 10px;
}
.gx-app-footer__inner{
  width:100%;
  margin:0 auto;
}
.gx-app-footer__top{
  min-height:22px;
  display:flex;
  align-items:center;
  padding-bottom:6px;
  border-bottom:1px solid var(--gx-border);
}
.gx-app-footer__message{
  margin:0;
  padding:0;
  text-align:left;
  font-size:12px;
  line-height:1.25;
  color:var(--gx-muted);
  max-width:560px;
}
.gx-app-footer__brandline{min-width:0;text-align:left;white-space:nowrap}
.gx-app-footer__links{display:none}
.gx-app-footer__links a,
.gx-footer-brand a{color:inherit;text-decoration:none}
.gx-app-footer__links a:hover,
.gx-footer-brand a:hover{text-decoration:underline}
.gx-app-footer__bottom{
  display:grid;
  /* Both columns share the band: the tools strip (which grew a Demo Source
     select in b695a67) wraps onto extra rows via .gx-header-toolstrip's
     flex-wrap instead of an auto column taking its full natural width and
     starving the status/meta column into a sliver. */
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:18px;
  padding-top:8px;
  font-size:12px;
}
.gx-app-footer__meta{min-width:0;display:flex;flex-direction:column;gap:4px}
.gx-app-footer__meta-line{
  min-width:0;
  display:flex;
  align-items:center;
  gap:34px;
  flex-wrap:wrap;
}
.gx-app-footer__status{min-width:0}
.gx-app-footer__tools{display:flex;justify-content:flex-end;align-items:center}
.gx-app-footer__data{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.gx-footer-brand{font-size:13px;font-weight:800;color:var(--gx-muted)}
.gx-footer-privacy{font-size:12px;color:var(--gx-muted);text-align:left;line-height:1.45}
.gx-footer-privacy-sub{text-align:left}
.gx-footer-state,.gx-footer-data,.gx-footer-device{display:inline-flex;align-items:center;gap:3px}
/* [GOLD-POPUP] Bold the small footer status readouts (Data: server, Device:
   desktop, State: ready) so the labels and values stand out from the band. */
.gx-footer-state,.gx-footer-data,.gx-footer-device{font-weight:700}
.gx-header-toolstrip{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}
.gx-app-footer__tools .gx-header-toolstrip{justify-content:flex-end}
/* Demo Source persona picker (gold/ribbon.rs demo_persona_selector_html):
   keep the select from dictating the whole toolstrip's width. */
.gx-demo-persona-selector{display:inline-flex;align-items:center;gap:6px}
.gx-demo-persona-selector form{display:inline-flex;align-items:center;gap:6px}
.gx-demo-persona-selector select{max-width:170px}
.gx-header-toolstrip__pill-group,
.gx-header-toolstrip__toggle,
.gx-footer-tool-btn{
  min-height:34px;
  border-radius:999px;
  border:1px solid var(--gx-border-strong);
  background:var(--gx-panel);
  color:var(--gx-ink);
}
/* [2026-09-13 David ruling: accessibility is an MVP gate] The language pills
   now live in the hamburger menu (and the hub Welcome preferences); a 44px
   target is the a11y_tokens.py minimum, so they leave the shared 34px rule. */
.gx-header-pill{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  border:1px solid var(--gx-border-strong);
  background:var(--gx-panel);
  color:var(--gx-ink);
}
.gx-header-toolstrip__pill-group{padding:0 8px;gap:6px}
.gx-header-toolstrip__toggle{padding:0 10px}
.gx-header-pill,.gx-footer-tool-btn{padding:0 12px;text-decoration:none}
.gx-header-pill.is-active,.gx-footer-tool-btn.is-active{
  background:var(--gx-btn-accent-bg);
  border-color:var(--gx-btn-accent-bg);
  color:var(--gx-btn-accent-ink);
}

/* Hide legacy header if an older descendant also emits it inside the parent. */
.gx-app-header ~ .gr-header{display:none}

@media(max-width:900px){
  .gx-app-header__inner{grid-template-columns:1fr auto;gap:12px;align-items:start;padding:18px 0}
  .gx-app-header__brand{grid-column:1}
  .gx-app-menu{grid-column:2;grid-row:1}
  .gx-app-header__message,.gx-app-header__right,.gx-app-header__actions,.gx-app-header__inner > .gx-app-header__summary{grid-column:1 / -1}
  .gx-app-header__actions{justify-content:flex-start;flex-wrap:wrap}
  .gx-app-footer__top{min-height:0;text-align:left}
  .gx-app-footer__meta-line{gap:6px 14px}
  .gx-app-footer__brandline{text-align:left;white-space:normal}
  .gx-app-footer__message{text-align:left}
  .gx-app-footer__links{display:none}
  .gx-app-footer__bottom{grid-template-columns:1fr;align-items:start;gap:10px}
  .gx-app-footer__tools{justify-content:flex-start}
  .gx-app-footer__tools .gx-header-toolstrip{justify-content:flex-start}
  .gx-app-footer__data{justify-content:flex-start;white-space:normal;flex-wrap:wrap}
  .gr-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .gx-app-header__inner,.gx-app-footer__inner{width:calc(100% - 32px)}
  :root{--gx-stage-gutter:16px}
  .gr-stage.gr-main,main.gr-stage{padding:24px var(--gx-stage-gutter) 36px}
  .gr-upload-grid{grid-template-columns:1fr}
  .gx-app-wordmark{font-size:24px}
}

/* FortCloud access-lane pages (learner/advisor/enrollment/employer, inside the shared parent frame) */
.fc-lane-shell{max-width:1100px;margin:0 auto;padding:28px 18px 44px}
.fc-lane-hero{background:var(--gx-panel);border:1px solid var(--gx-border-strong);border-left:6px solid var(--gx-btn-accent-bg);padding:24px;border-radius:8px;box-shadow:var(--gx-modal-shadow,none)}
.fc-lane-hero h1{margin:0 0 8px;font-size:30px;line-height:1.15;letter-spacing:0}
.fc-lane-hero p{max-width:78ch;margin:0;color:var(--gx-muted)}
.fc-lane-meta,.fc-lane-stats,.fc-lane-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.fc-lane-stat,.fc-lane-card,.fc-lane-section{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:8px;padding:14px}
.fc-lane-stat span{display:block;color:var(--gx-muted);font-size:12px;font-weight:700;text-transform:uppercase}
.fc-lane-stat strong{display:block;margin-top:4px;overflow-wrap:anywhere}
.fc-lane-section{margin-top:16px}
.fc-lane-section h2{margin:0 0 10px;font-size:20px;letter-spacing:0}
.fc-lane-card h3{margin:0 0 8px;font-size:16px}
.fc-lane-card p,.fc-lane-section p{line-height:1.5}
.fc-lane-bucket{padding:0;cursor:pointer}
.fc-lane-bucket summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;font-size:16px;font-weight:800}
.fc-lane-bucket summary::-webkit-details-marker{display:none}
.fc-lane-bucket summary::after{content:"+";flex:0 0 auto;font-size:18px;font-weight:800;color:var(--gx-muted)}
.fc-lane-bucket[open] summary::after{content:"\2212"}
.fc-lane-bucket-count{flex:0 0 auto;font-size:12px;font-weight:700;color:var(--gx-muted);background:var(--gx-panel2,var(--gx-panel));border:1px solid var(--gx-border);border-radius:999px;padding:2px 10px}
.fc-lane-bucket-body{padding:0 14px 14px}
.fc-lane-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;margin:0;list-style:none}
.fc-lane-list li{border:1px solid var(--gx-border);border-radius:6px;padding:10px;background:var(--gx-panel2,var(--gx-panel))}
.fc-lane-list span{display:block;color:var(--gx-muted);font-size:12px;margin-top:4px}
.fc-lane-note{border-left:4px solid var(--gx-btn-accent-bg);background:var(--gx-warning-bg,#fff7d6);padding:10px 12px;margin:8px 0;border-radius:6px;color:var(--gx-ink)}
.fc-lane-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0;list-style:none}
.fc-lane-actions li{border:1px solid var(--gx-border-strong);background:var(--gx-panel2,var(--gx-panel));border-radius:999px;padding:8px 12px;font-weight:800}
.fc-lane-button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-fg,#fff);font-weight:800;text-decoration:none;padding:10px 14px}
.fc-lane-button--secondary{background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink,var(--gx-ink))}
.fc-lane-link{font-weight:800;color:var(--gx-btn-primary-bg);overflow-wrap:anywhere}
.fc-lane-tools{display:block;margin-top:16px;background:var(--gx-panel);border:1px solid var(--gx-border-strong);border-radius:8px;padding:16px}
.fc-lane-tools h2{margin:0 0 6px;font-size:18px;letter-spacing:0}
.fc-lane-tools p{margin:0;color:var(--gx-muted);line-height:1.5}
.fc-lane-tools span{display:block;margin-top:8px;color:var(--gx-muted);font-size:12px;overflow-wrap:anywhere}
.fc-lane-tool-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.fc-assistant-frame{margin-top:14px;border-top:1px solid var(--gx-border);padding-top:14px}
.fc-assistant-frame h3{margin:0 0 8px;font-size:14px;text-transform:uppercase;letter-spacing:.05em;color:var(--gx-muted)}
.fc-assistant-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.fc-assistant-link{display:flex;align-items:center;justify-content:center;min-height:38px;border:1px solid var(--gx-border-strong);border-radius:8px;background:var(--gx-panel2,var(--gx-panel));color:var(--gx-ink);font-weight:800;text-decoration:none;text-align:center;padding:8px;overflow-wrap:anywhere}
.fc-assistant-link:hover{border-color:var(--gx-btn-primary-bg);background:var(--gx-hover-bg,var(--gx-panel))}
.fc-assistant-link--chatgpt,.fc-assistant-link--gemini{border-color:var(--gx-btn-primary-bg)}
.fc-assistant-link--alexa{border-color:var(--gx-btn-accent-bg)}
.fc-assistant-frame p{margin-top:10px;font-size:12px}
.fc-lane-prompt-frame{margin-top:14px;border-top:1px solid var(--gx-border);padding-top:14px}
.fc-lane-prompt-label{display:block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--gx-muted)}
.fc-lane-prompt-row{display:flex;gap:10px;align-items:flex-start;margin-top:6px}
.fc-lane-prompt-box{display:block;flex:1 1 auto;width:100%;min-height:96px;padding:10px;border:1px solid var(--gx-border-strong);border-radius:6px;background:var(--gx-panel2,var(--gx-panel));color:var(--gx-ink);font:inherit;font-size:12px;resize:vertical;-webkit-user-select:all;user-select:all}
.fc-lane-prompt-copy{flex:0 0 auto;white-space:nowrap}
.fc-lane-prompt-hint{margin:6px 0 0;font-size:12px;color:var(--gx-muted)}
@media(max-width:560px){.fc-lane-prompt-row{flex-direction:column}.fc-lane-prompt-copy{width:100%}}
.fc-lane-advanced{margin-top:14px;border-top:1px solid var(--gx-border);padding-top:10px}
.fc-lane-advanced summary{cursor:pointer;font-weight:800;color:var(--gx-muted)}
.fc-lane-advanced p{margin:8px 0 0}
@media(max-width:800px){.fc-lane-meta,.fc-lane-stats,.fc-lane-card-grid,.fc-lane-list{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.fc-assistant-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.fc-lane-meta,.fc-lane-stats,.fc-lane-card-grid,.fc-lane-list{grid-template-columns:1fr}}
@media(max-width:560px){.fc-assistant-grid{grid-template-columns:1fr 1fr}}

/* Your SELFIE — clickable pillar tiles + Evidence Details popup, matched to
   Performer's "My Selfie" reflection view (KSAEX src/ui/reflection.rs:
   .gx-ref-col tiles + ReflectionEvidenceSurface popup). Popup shell is the
   canonical .gr-popup-overlay/.gr-ov-panel frame (parent_popup.rs); the tile
   grid and evidence-panel content below are FortCloud-specific.
   `.gr-popup-overlay{display:flex}` is an author rule and beats the browser's
   built-in `[hidden]{display:none}`, so without this override the popup
   renders open (and empty) on page load instead of staying hidden until a
   tile is clicked -- same trap #gr-welcome-modal/#gr-howitworks-modal guard
   against above. */
#fc-selfie-modal-overlay[hidden]{display:none}
.fc-selfie-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.fc-selfie-tile{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:10px;padding:20px 12px;cursor:pointer;font:inherit;color:var(--gx-ink)}
.fc-selfie-tile:hover,.fc-selfie-tile:focus-visible{border-color:var(--gx-btn-primary-bg);background:var(--gx-surface-hover,var(--gx-panel2,var(--gx-panel)))}
.fc-selfie-tile-icon-wrap{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:999px;background:#eef0f3}
.fc-selfie-tile-icon{font-size:24px;line-height:1}
.fc-selfie-tile-title{font-weight:800;font-size:15px}
.fc-selfie-tile-progress{display:block;width:100%;height:4px;border-radius:999px;background:var(--gx-border);overflow:hidden}
.fc-selfie-tile-progress-fill{display:block;height:100%;background:var(--gx-btn-primary-bg);border-radius:999px}
.fc-selfie-tile-badge{font-size:11px;font-weight:800;color:#166534;background:#dcfce7;border-radius:999px;padding:3px 10px}
.fc-selfie-tile-hint{font-size:11px;color:var(--gx-btn-primary-bg);font-weight:700}
/* Per-pillar icon-circle tint, keyed by the canonical dimension key so the
   colors stay stable no matter what order dimensions render in. */
[data-dim="skills"] .fc-selfie-tile-icon-wrap{background:#fde3e3}
[data-dim="knowledge"] .fc-selfie-tile-icon-wrap{background:#fbe3ef}
[data-dim="cognitive"] .fc-selfie-tile-icon-wrap{background:#e8eaed}
[data-dim="physical"] .fc-selfie-tile-icon-wrap{background:#fde3e3}
[data-dim="work"] .fc-selfie-tile-icon-wrap{background:#e8eaed}
[data-dim="motivation"] .fc-selfie-tile-icon-wrap{background:#fdf1d3}
[data-dim="personality"] .fc-selfie-tile-icon-wrap{background:#e2ecfb}
/* Eighth tile: static "Circle of Reference" placeholder, not clickable. */
.fc-selfie-tile--soon{cursor:default;opacity:.72}
.fc-selfie-tile--soon:hover{border-color:var(--gx-border);background:var(--gx-panel)}
.fc-selfie-tile--soon .fc-selfie-tile-icon-wrap{background:#eef0f3}
.fc-selfie-tile--soon .fc-selfie-tile-hint{color:var(--gx-muted);font-style:italic}
#fc-selfie-modal-body{padding-top:14px}
.fc-selfie-evidence-head{display:flex;align-items:center;gap:10px;margin-bottom:4px}
.fc-selfie-evidence-head h3{margin:0;font-size:18px}
.fc-selfie-evidence-head .fc-selfie-tile-icon-wrap{width:40px;height:40px}
.fc-selfie-evidence-head .fc-selfie-tile-icon-wrap span{font-size:18px}
.fc-selfie-evidence-tagline{margin:0 0 12px;color:var(--gx-btn-primary-bg);font-weight:700;font-size:13px}
.fc-selfie-evidence-narrative{background:var(--gx-panel2,#f4f5f7);border-radius:8px;padding:12px 14px;margin-bottom:14px;line-height:1.6;font-size:14px}
.fc-selfie-evidence-source{margin-top:10px;border-top:1px solid var(--gx-border);padding-top:10px}
.fc-selfie-evidence-source summary{cursor:pointer;font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.04em;color:var(--gx-muted)}
.fc-selfie-evidence-badge{display:inline-block;margin-top:10px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#166534;background:#dcfce7;border-radius:999px;padding:3px 10px}
.fc-selfie-evidence-rows{margin-top:6px}
.fc-selfie-evidence-row{padding:9px 2px;border-bottom:1px solid var(--gx-border);font-size:14px}
.fc-selfie-evidence-row:last-child{border-bottom:none}
@media(max-width:800px){.fc-selfie-tile-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.fc-selfie-tile-grid{grid-template-columns:1fr}}


/* [GOLD-POPUP] Transfer-map popup table (gold/popups.rs render_transfer_map_popup).
   Reuses the shared .gc-table; these two classes only add the source/target
   sub-line and a horizontal scroll guard for narrow viewports. */
.gr-xfer-scroll{overflow-x:auto}
.gr-xfer-table{min-width:560px}
.gr-xfer-sub{font-size:12px;color:var(--gx-muted, #667)}
/* [COURSE-HISTORY] Evidence-stair retained course-history section
   (evidence.rs render_course_history_section) and its add/edit/search popup
   (evidence_confirm.rs render_course_entry_popup). .gr-section-inset is a
   generic boxed-section wrapper (same top-border idiom as
   .gr-recognition-summary-host); the coursehx-specific classes only scope
   the CourseAtlas search row inside the popup. */
.gr-section-inset{margin-top:22px;padding-top:18px;border-top:1px solid var(--gx-border)}
.gr-coursehx-section h3{margin:0 0 4px;font-size:16px}
.gr-coursehx-atlas{margin-top:16px;padding-top:14px;border-top:1px solid var(--gx-border)}
.gr-coursehx-atlas-results{margin-top:10px}
.gr-coursehx-scope{display:block;margin-bottom:10px}
/* Typeahead suggestion list (coursehx_suggest.js fills .gr-coursehx-suggest;
   empty and invisible without JS -- the form-submit Search results render in
   .gr-coursehx-atlas-results above, untouched by this block). */
.gr-coursehx-suggest{margin-top:8px}
.gr-coursehx-suggest-status{font-size:12px;color:var(--gx-muted, #667);padding:4px 2px}
.gr-coursehx-suggest-list{border:1px solid var(--gx-border);border-radius:8px;overflow:hidden}
.gr-coursehx-suggest-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;width:100%;padding:8px 10px;border:0;border-bottom:1px solid var(--gx-border);background:transparent;text-align:left;font:inherit;cursor:pointer}
.gr-coursehx-suggest-row:last-child{border-bottom:0}
.gr-coursehx-suggest-row:hover,.gr-coursehx-suggest-row:focus{background:var(--gx-hover, rgba(0,0,0,.04))}
.gr-coursehx-suggest-title{font-size:13px}
.gr-coursehx-suggest-meta{font-size:12px;color:var(--gx-muted, #667);white-space:nowrap}
/* ═══════════════════════════════════════════════════════════════════════
   [GOLD-SHARED] Family-wide component vocabulary (2026-07-15 design spec).
   ONE master stylesheet, per the standing rule: these classes serve
   GoldRibbon AND the Gold satellites alike -- no per-component dialects.
   Every color rides the --gx-*/--gr-* theme variables (with literal
   fallbacks matching component_defaults/goldribbon.json) so deployment
   theme families keep working. Rationale per class lives in the design
   spec's shared-class ledger.
   ═══════════════════════════════════════════════════════════════════════ */
/* gr-chip: small attribute tokens (codes, wages, counts, KSA matches). */
.gr-chip-row{display:flex;gap:6px;flex-wrap:wrap}
/* [Owner 2026-08-22, cosmetic] The boxed .gr-route strip (WO-029 chunk 1a) is
   retired: the source->receiver pair now leads .gr-facts as its first two cells
   on all three satellites, so no code emits gr-route-* any longer. */
/* [WO-029] Explore card facts grid (WS-001). [Owner 2026-08-22] Three equal
   columns, two rows, beginning with the source: Offered by/From · source,
   Credential/To · receiver, then each satellite's own cells. */
.gr-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:11px 0}
@media(max-width:560px){.gr-facts{grid-template-columns:1fr}}
.gr-fact{display:flex;flex-direction:column;gap:2px}
.gr-fact-k{font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--gx-faint,#7d8ba0)}
.gr-fact-v{font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}
.gr-fact-v small{color:var(--gx-muted,#5b6b84);font-weight:600}
/* [WO-029] The Selfie bridge fit-bar: proven / projected / to-earn (WS-001). */
.gr-fitbar{border:1px solid var(--gx-border,#dde2ea);border-radius:10px;background:var(--gx-panel-alt,#f8f9fb);padding:11px 13px;margin-top:6px}
.gr-fitbar-top{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.gr-fitbar-lab{font-size:11.5px;font-weight:800;color:var(--gx-ink-soft,#3d4a61)}
.gr-fitbar-score{margin-left:auto;font-size:12.5px;font-weight:800;font-variant-numeric:tabular-nums}
.gr-fitbar-score b{color:var(--gx-success,#1f8a4c)}
.gr-fitbar-seg{display:flex;height:9px;border-radius:999px;overflow:hidden;background:var(--gx-marker-bg,#e8edf8);border:1px solid var(--gx-border,#dde2ea)}
.gr-fitbar-seg i{display:block;height:100%}
.gr-fitbar-good{background:var(--gx-success,#1f8a4c)}
.gr-fitbar-warn{background:var(--gr-gold,#f0b323)}
.gr-fitbar-none{background:transparent}
.gr-fitbar-leg{display:flex;gap:14px;margin-top:8px;font-size:11px;color:var(--gx-muted,#5b6b84);flex-wrap:wrap}
.gr-fitbar-leg b{color:var(--gx-ink,#1f2a3d);font-variant-numeric:tabular-nums}
.gr-fit-notyet{margin-top:6px;font-style:italic}
/* [WS-001 rev b] Explore rev-b layout: intro card, results-bar, column cards,
   attribute pills, KISS action buttons. Shared parent, three data fills. */
.gr-section{display:flex;flex-direction:column;gap:16px}
.gr-intro{background:var(--gx-panel,#fff);border:1px solid var(--gx-border,#e2e5ea);border-radius:14px;padding:22px 24px;position:relative}
.gr-selfie-link{position:absolute;top:22px;right:24px;color:var(--gx-primary,#1f6feb);text-decoration:none;font-size:.9rem;font-weight:600}
.gr-h-lead{font-size:1.85rem;margin:.35rem 0 .5rem;font-weight:800;color:var(--gx-ink,#1a1d24)}
.gr-resbar{background:var(--gx-panel,#fff);border:1px solid var(--gx-border,#e2e5ea);border-radius:12px;padding:12px 24px /* [Owner 2026-08-18] match .gr-section s 24px text gutter so the count row aligns with the panel text above and below */;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.gr-resbar-count{font-size:1.05rem} .gr-resbar-count b{color:var(--gx-primary,#1f6feb)}
.gr-resbar-tray{color:var(--gx-muted,#4a5060);display:inline-flex;align-items:center;gap:9px}
.gr-resbar-slots{display:inline-flex;gap:5px}
.gr-resbar-slot{width:26px;height:26px;border:1.5px dashed #c4c9d0;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:var(--gx-muted,#8a909a)}
.gr-resbar-slot.full{border-style:solid;border-color:#b8860b;background:#fff7e6;color:#8a6d1a}
.gr-resbar-actions{margin-left:auto;display:inline-flex;align-items:center;gap:12px}
.gr-resbar-actions form{margin:0}
/* [Owner walk 2026-08-19: "lineup of Refine with the Sort still off"] The
   Refine control rides a gr-action-row INSIDE the res-bar form, and the card
   rule's padding-top:16px pushed it below the Sort select's centerline. The
   row is a flex child here, not a card footer — neutralize the card spacing. */
.gr-resbar-actions .gr-action-row{margin-top:0;padding-top:0}
.gr-resbar-sort{padding:8px 12px;border:1px solid #d3d8de;border-radius:9px;background:#fff;font:inherit}
.gr-card-list{display:flex;flex-direction:column;gap:16px}
.gr-card{background:var(--gx-panel,#fff);border:1px solid var(--gx-border,#e2e5ea);border-radius:14px;padding:22px 24px}
.gr-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.gr-badges{display:inline-flex;gap:8px;flex-wrap:wrap}
.gr-card-title{font-size:1.3rem;margin:.55rem 0 .5rem;font-weight:800;color:var(--gx-ink,#1a1d24)}
.gr-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 11px;border-radius:999px;font-size:.8rem;font-weight:600;background:#eef0f3;color:var(--gx-ink-soft,#4a5060)}
.gr-pill--blue{background:#e7f0fe;color:#1f5fc4} .gr-pill--good{background:#e7f6ec;color:#1f8a4c} .gr-pill--gold{background:#fdf3d6;color:#8a6a12} .gr-pill--mono{font-family:ui-monospace,monospace;background:#f0f1f4}
.gr-attr-pills{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.gr-btn-gold{background:var(--gr-gold,#f2b705);color:#3a2e00;border:1px solid transparent}
.gr-btn-ghost{background:#fff;border:1px solid #d3d8de;color:#3a3f4a}
.gr-btn-sm{font-size:.9rem}
.gr-lmi-credit img{height:18px;vertical-align:middle}
/* [FIX-008] WS-001 rev-b spec [CSS] classes were EMITTED in the markup but had
   zero/insufficient rules here, so the render drifted while class-agnostic
   match-design still passed (MI-037 root cause). These lay the horizontal action
   row, the icon+label inline button, the 16px icons, the below-grid Refine CTA,
   and a graceful results-bar wrap. Shared parent — lands on all three satellites. */
.gr-tile-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.gr-tile-actions form{margin:0}
.gr-btn{display:inline-flex;align-items:center;gap:7px}
.gr-btn svg{width:16px;height:16px;flex:0 0 auto}
.gr-refine-cta{display:flex;justify-content:center;margin-top:4px}
.gr-refine-cta form{margin:0}
@media(max-width:820px){.gr-resbar{gap:12px}.gr-resbar-actions{margin-left:0}}
.gr-chip{font-size:11px;padding:3px 9px;border-radius:999px;border:1px solid var(--gx-border-strong,#c4ccd8);color:var(--gx-ink-soft,#3d4a61);background:var(--gx-panel-alt,#f8f9fb);white-space:nowrap}
.gr-chip--code{font-variant-numeric:tabular-nums;letter-spacing:.03em}
.gr-chip--pos{border-color:#bfe3cd;background:#ecf7f0;color:var(--gx-success,#1f8a4c)}
.gr-chip--gold{border-color:var(--gr-gold,#f0b323);background:#fdf4dd;color:#7a5a00}
.gr-chip--match{border-color:#bfe3cd;background:#ecf7f0;color:var(--gx-success,#1f8a4c)}
.gr-chip--gap{border-style:dashed;color:var(--gx-warn,#b25e09);background:transparent}
/* gr-tile: the shared catalog card (occupations, programs, pathways). */
.gr-tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}
.gr-tile{background:var(--gx-panel,#fff);border:1px solid var(--gx-border,#dde2ea);border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:9px}
.gr-tile h4{margin:0;font-size:15px}
.gr-tile .gr-tile-desc{font-size:12.5px;color:var(--gx-muted,#66738a);margin:0}
.gr-tile .gr-action-row{margin-top:auto;padding-top:8px}
.gr-tile-local,.gr-tile-ksa{border-top:1px dashed var(--gx-border,#dde2ea);padding-top:8px;display:flex;flex-direction:column;gap:6px}
.gr-tile-local .gr-tile-lbl,.gr-tile-ksa .gr-tile-lbl{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--gx-muted,#66738a)}
.gr-tile-ksa .gr-ksa-score{font-size:12px;color:var(--gx-ink-soft,#3d4a61)}
/* [WO-019] gr-uri-plate / gr-uri-ref: the visible, copyable Gold-URI identity
   (§2.5) on every tile, View, and Compare column, plus the sayable GR- short ref
   beside it. Muted advisor reference — never the primary label. */
.gr-uri-plate{margin:2px 0 0;font-size:11px;color:var(--gx-muted,#66738a);overflow-wrap:anywhere}
.gr-uri-plate code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;letter-spacing:.01em}
.gr-uri-ref{margin:2px 0 0;font-size:11px;color:var(--gx-muted,#66738a)}
.gr-uri-ref code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;letter-spacing:.04em;color:var(--gx-ink-soft,#3d4a61)}
/* [WO-019] gr-not-yet: an HONEST placeholder band whose source is not wired yet
   (assemble-not-assert). Dashed to read as pending, never as a real metric. */
.gr-not-yet{border:1px dashed var(--gx-border-strong,#c4ccd8);border-radius:10px;padding:14px 16px;margin:16px 0;background:var(--gx-panel-alt,#f8f9fb)}
.gr-not-yet h3{margin:0 0 4px;font-size:13px;color:var(--gx-ink-soft,#3d4a61)}
.gr-not-yet p{margin:0;font-size:12.5px;color:var(--gx-muted,#66738a)}
/* gr-stat-band: summary-before-detail counts. */
.gr-stat-band{display:flex;background:var(--gx-panel-alt,#f8f9fb);border:1px solid var(--gx-border,#dde2ea);border-radius:10px;overflow:hidden;margin:0 0 16px}
.gr-stat{flex:1;padding:12px 10px;text-align:center;border-right:1px solid var(--gx-border,#dde2ea)}
.gr-stat:last-child{border-right:none}
.gr-stat b{display:block;font-size:20px;font-variant-numeric:tabular-nums}
.gr-stat span{font-size:11px;color:var(--gx-muted,#66738a);letter-spacing:.03em;text-transform:uppercase}
.gr-stat--good b{color:var(--gx-success,#1f8a4c)}
.gr-stat--warn b{color:var(--gx-warn,#b25e09)}
.gr-stat--gap b{color:var(--gx-danger,#b42318)}
/* gr-fit-table + gr-status-badge: the shared requirement/gap table. */
.gr-fit-table{width:100%;border-collapse:collapse;font-size:13.5px}
.gr-fit-table th{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--gx-muted,#66738a);text-align:left;padding:8px 10px;border-bottom:2px solid var(--gx-border-strong,#c4ccd8)}
.gr-fit-table td{padding:10px;border-bottom:1px solid var(--gx-border,#dde2ea);vertical-align:top}
.gr-fit-table td.gr-fit-ev{color:var(--gx-muted,#66738a);font-size:12.5px}
.gr-fit-sub{font-size:11px;color:var(--gx-muted,#66738a)}
.gr-status-badge{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:2px 9px;border-radius:5px;white-space:nowrap}
.gr-status-badge--strong{background:#ecf7f0;color:var(--gx-success,#1f8a4c)}
.gr-status-badge--partial{background:#fbf1e2;color:var(--gx-warn,#b25e09)}
.gr-status-badge--missing{background:#fbeae8;color:var(--gx-danger,#b42318)}
/* gr-progress: completion meter. */
.gr-progress{margin:14px 0 4px}
.gr-progress .gr-progress-track{height:14px;border-radius:999px;background:var(--gx-panel-alt,#f8f9fb);border:1px solid var(--gx-border,#dde2ea);overflow:hidden}
.gr-progress .gr-progress-fill{height:100%;background:linear-gradient(90deg,var(--gr-gold,#f0b323),var(--gr-gold-bright,#ffd76a))}
.gr-progress .gr-progress-lbl{display:flex;justify-content:space-between;font-size:12px;color:var(--gx-muted,#66738a);margin-top:5px}
/* gr-roi-band: the payoff banner (wage lift, total investment). */
.gr-roi-band{display:flex;align-items:center;gap:18px;background:#fdf4dd;border:1px solid var(--gr-gold,#f0b323);border-radius:10px;padding:14px 18px;margin:0 0 16px;flex-wrap:wrap}
.gr-roi-band .gr-roi-arrow{font-size:22px;color:var(--gr-gold,#f0b323)}
.gr-roi-band b{font-size:19px;font-variant-numeric:tabular-nums;display:block}
.gr-roi-band span{font-size:11px;color:#7a5a00;text-transform:uppercase;letter-spacing:.04em}
.gr-roi-band .gr-roi-total{margin-left:auto;text-align:right}
/* gr-plan-step: ordered plan with numbered markers (sequence carries meaning). */
.gr-plan-step{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--gx-border,#dde2ea)}
.gr-plan-step:last-child{border-bottom:none}
.gr-plan-step .gr-plan-n{width:26px;height:26px;border-radius:50%;background:var(--gx-btn-primary-bg,#1542cc);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex:0 0 auto}
.gr-plan-step h5{margin:0 0 2px;font-size:14px}
.gr-plan-step p{margin:0 0 6px;font-size:12.5px;color:var(--gx-muted,#66738a)}
/* gr-view-toggle: report view switcher (each button is a real signal form). */
.gr-view-toggle{display:inline-flex;border:1px solid var(--gx-border-strong,#c4ccd8);border-radius:8px;overflow:hidden;margin:0 0 16px}
.gr-view-toggle form{display:contents}
.gr-view-toggle .gr-btn{border-radius:0;background:var(--gx-panel,#fff);color:var(--gx-ink,#1f2a3d);font-weight:400;padding:8px 16px;font-size:13px}
.gr-view-toggle .gr-view-on{background:var(--gx-btn-primary-bg,#1542cc);color:#fff;font-weight:600}
/* gr-disclaimer: honest scope footer. */
.gr-disclaimer{font-size:11.5px;color:var(--gx-muted,#66738a);border-top:1px solid var(--gx-border,#dde2ea);padding-top:10px;margin-top:18px}
/* gr-section-card: generic bordered content card (satellite stair bodies). */
.gr-section-card{background:var(--gx-panel,#fff);border:1px solid var(--gx-border,#dde2ea);border-radius:10px;padding:16px 18px;margin:0 0 12px}
.gr-section-card p{margin:0}
/* gr-lede: quiet intro/context sentence under a heading. */
.gr-lede{font-size:13px;color:var(--gx-muted,#66738a);margin:0 0 14px}
/* gr-report__back: the person's way home from the portfolio report -- gold
   primary treatment so it never blends into the print/download utilities
   (report_parent.rs wraps the close_popup form in this span). */
.gr-report__back .gr-btn{background:var(--gr-gold,#f0b323);color:#1f2a3d;font-weight:700;padding:10px 22px}
.gr-report__back .gr-btn:hover{background:var(--gr-gold-bright,#ffd76a)}
/* gr-lmi-credit: CareerOneStop attribution (their terms require the logo on
   every page showing their Web API data). */
.gr-lmi-credit{font-size:11.5px;color:var(--gx-muted,#66738a);margin:14px 0 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.gr-lmi-credit img{height:20px;vertical-align:middle}

/* [RETURN-DOOR] The shared return-by-email organ (gold/return_door.rs): the
   offer card (whats_next / GoldPlan compare_versions), the result/ack cards,
   and the landing's collapsed "Returning?" prompt. One rule set for every
   descendant that mounts the organ — never per-component copies. */
.gr-return-door label{display:block;font-size:13px;margin:10px 0 4px}
.gr-return-door input[type=email],.gr-return-door-returning input{display:block;width:100%;max-width:340px;padding:8px 10px;border:1px solid var(--gx-border-strong,#c4ccd8);border-radius:8px;font:inherit;background:var(--gx-panel,#fff);color:inherit;margin:4px 0 0}
.gr-return-door code{display:inline-block;word-break:break-all;font-size:12px;background:var(--gx-panel-alt,#f4f6fa);border:1px solid var(--gx-border,#dde2ea);border-radius:6px;padding:6px 8px;margin:8px 0 0}
.gr-return-door input[type=text]{display:block;width:100%;max-width:340px;padding:8px 10px;border:1px solid var(--gx-border-strong,#c4ccd8);border-radius:8px;font:inherit;background:var(--gx-panel,#fff);color:inherit;margin:4px 0 0}
/* The Welcome head's "Returning to claim your Gold?" affordance: a quiet
   LINK-presented signal button (the head already carries the title; a second
   button-weight element there would compete with the primary action). */
.gr-welcome-returning{font-size:12.5px;white-space:nowrap}
.gr-welcome-returning .gr-signal-form{display:inline}
.gr-welcome-returning .gr-action-row{margin:0;padding:0;display:inline}
.gr-welcome-returning .gr-btn{background:none;border:none;box-shadow:none;padding:0;color:var(--gx-btn-primary-bg,#1542cc);text-decoration:underline;font-weight:600;font-size:12.5px;cursor:pointer}
.gr-welcome-returning .gr-btn:hover{color:var(--gr-gold,#f0b323);background:none}

/* [GOLD-WELCOME] The satellite Welcome contract (Uplift 2.0 §1.3, one organ
   in gold/welcome.rs mounted by all three satellites): receipt card, hub
   preference controls, Return Door link, and the Continue action stacked with
   one rhythm. The receipt's lead line sits above its chip row, so it needs the
   breathing room the generic gr-section-card p{margin:0} removes. */
.gr-welcome-satellite{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.gr-welcome-satellite .gr-section-card{width:100%}
.gr-welcome-satellite .gr-welcome-receipt p{margin:0 0 8px;font-weight:600}
/* [WO-056 rev h] AC6 the unconditional bundle summary: the empty-state card sits
   in the same slot as the receipt and speaks in muted body text (it reports the
   appliance has no fix yet). AC7 the evidence control sits in the Welcome foot
   (.gr-welcome-foot is already flex/flex-end/gap) beside Continue, never instead. */
.gr-welcome-satellite .gr-welcome-summary p{margin:0;color:var(--gx-muted)}
.gr-welcome-evidence{display:inline-flex}
.gr-welcome-evidence .gr-signal-form{margin:0}

/* [DOOR-HOLD] Satellite entry waiting room (gold/mod.rs bundle_waiting_room):
   the self-updating progress list shown while a satellite's bucket view
   catches up to a just-written bundle. */
.gr-doorhold-steps{list-style:none;padding:0;margin:14px 0}
.gr-doorhold-steps li{padding:6px 0;color:var(--gx-muted, #667)}
.gr-doorhold-steps li.gr-doorhold-done{color:inherit}
.gr-doorhold-steps li.gr-doorhold-now{color:inherit;font-weight:600}
.gr-doorhold-mark{display:inline-block;width:20px}
.gr-doorhold-note{font-size:12px;color:var(--gx-muted, #667)}

/* ── [WO-002] Unresolved placement + three-origin provenance ─────────────────
   Tokens only (--gx-*/--gr-*), so light / dark / high-contrast all inherit.
   The affordance reuses gr-selfie-card + native parent_form signals; these
   rules only add the "invitation, not error" voice and lay out the per-item
   place/dismiss controls. No new JavaScript, no palette literals. */

/* Per-tile origin caption after a phrase: "from your evidence" /
   "from the occupation profile" / "placed by you" — a quiet provenance cue. */
.gr-selfie-origin{color:var(--gx-muted);font-size:11px;font-weight:400;font-style:normal;white-space:nowrap}

/* The "help us place these" and "you set these aside" blocks are full-width
   cards below the tile grid. Unresolved reads as a gentle invitation; dismissed
   reads as quietly set aside. Both reuse gr-selfie-card for shell + border. */
.gr-selfie-unresolved{background:var(--gx-note-bg);border-color:var(--gx-note-border)}
.gr-selfie-dismissed{opacity:.72}
.gr-selfie-unresolved .gr-selfie-mirror,
.gr-selfie-dismissed .gr-selfie-mirror{font-weight:400;font-size:13px;color:var(--gx-muted);margin:2px 0 8px;text-align:left}

/* Per-phrase rows: the phrase on top, its controls below; no tile borders. */
.gr-selfie-unresolved-list{display:flex;flex-direction:column;gap:4px}
/* [fix] one row per phrase: the phrase label + the action row sit on a single
   line at desktop; the header is a plain label, not the gold dimension pill. */
.gr-selfie-unresolved h3,.gr-selfie-dismissed h3{background:none;border:none;padding:0;border-radius:0;color:var(--gx-ink);font-size:14px;align-self:flex-start;justify-content:flex-start;text-align:left}
.gr-selfie-card li.gr-selfie-unresolved-item{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:12px 0;color:var(--gx-ink-soft)}
.gr-selfie-unresolved-phrase{font-size:13px;font-weight:600;color:var(--gx-ink);flex:0 0 auto;min-width:150px}

/* The action row: dimension picker + "Place it" + "Not about me", wrapping on
   narrow widths. Controls reuse .gx-select / .gr-btn unchanged. */
.gr-selfie-place-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:1 1 auto}
.gr-selfie-place-actions form{display:inline-flex;align-items:center;gap:8px;margin:0}
.gr-selfie-place-actions .gx-select{min-width:150px;max-width:100%}
@media (max-width:640px){
  /* stack the phrase over its controls on narrow / mobile */
  .gr-selfie-card li.gr-selfie-unresolved-item{flex-direction:column;align-items:stretch}
  .gr-selfie-place-actions,.gr-selfie-place-actions form{width:100%}
  .gr-selfie-place-actions .gx-select{flex:1 1 auto}
}
/* ── end WO-002 ──────────────────────────────────────────────────────────── */

/* ── WO-056 · GoldPlan reduced direct intake ───────────────────────
   Four bands the reduced intake adds to the shared evidence/selfie renders.
   Each carries honesty framing the WO's Design Element Inventory requires, so
   each is given a real rule rather than riding a bare class name: a class
   emitted in the markup with no rule PASSES the structural gate while the live
   screen drifts (the WS-001 / MI-037 blind spot).

   DEFINED tokens only, and no hex fallbacks. The first pass wrote
   var(--gx-accent,#c48a12) and a11y_tokens caught two things at once: the hex
   is a usage-site literal that drifts the theme, and --gx-accent IS NOT
   DEFINED anywhere in this stylesheet -- so that rule was not "token with a
   safety net", it was a hex wearing a token's costume, and it would have
   ignored the contrast toggle entirely. The accent token that exists is
   --gx-btn-accent-bg. */
.gr-goldplan-intake-orientation{
  border-left:3px solid var(--gx-btn-accent-bg);
  background:var(--gx-panel);
  margin:0 0 14px;
}
.gr-goldplan-intake-orientation p{margin:0}
/* The empty-intake note is deliberately quiet: it reassures a person who has
   nothing to share, so it must not compete with the proceed control. */
.gr-goldplan-intake-empty{
  color:var(--gx-muted);
  margin:10px 0 0;
}
/* The Selfie lede introduces the mirror below it and states what the next step
   matches against, so it sits close to the heading it follows. */
.gr-goldplan-selfie-lede{
  color:var(--gx-muted);
  margin:0 0 14px;
}
.gr-goldplan-selfie-lede p{margin:0}
/* The transfer-map honest not-yet. Muted border rather than the accent: it
   names a step that is COMING, and must never read as a result. */
.gr-goldplan-transfer-notyet{
  border-left:3px solid var(--gx-border);
  margin:14px 0 0;
}
.gr-goldplan-transfer-notyet p{margin:0}
/* ── end WO-056 ──────────────────────────────────────────────────────────── */

/* ── [WO-057] GoldPlan's journey tail ─────────────────────────────────────────
   The compass's human-connection rows and the checklist package's controls.
   Shared tokens only (--gx-*), no bare hex, per the platform standards above.

   NOTE FOR WHOEVER READS THIS NEXT: before this block the stylesheet carried
   ZERO `.gp-` rules, so every GoldPlan stair class (gp-stair,
   gp-compare-versions, gp-version-row, ...) was — and outside this tail still
   is — unstyled, relying on inherited `gr-`/`gx-` styling alone. That is a
   pre-existing gap across the GoldPlan component, not something this order
   introduced; it is recorded in WO-057's Phase B report rather than fixed
   here, because restyling surfaces this order does not own is out of its
   boundary. */

.gp-compass-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:18px 0 0;
}
/* A connection row reads as one line: what it is, then where it goes. */
.gp-compass-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border:1px solid var(--gx-border);
  border-radius:6px;
  background:var(--gx-panel);
}
.gp-compass-link-k{
  font-weight:600;
  color:var(--gx-ink);
}
.gp-compass-link-v{
  color:var(--gx-muted);
  font-size:var(--gx-font-size-sm);
  text-align:right;
}
/* The honest not-yet: a MUTED left border, never the accent. It names
   something absent, and must not read as a result or an error. Same reasoning
   as WO-056's transfer-map not-yet directly above. */
.gp-compass-link--notyet{
  border-left:3px solid var(--gx-border);
  background:transparent;
}

.gp-pkg-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:18px 0 0;
}
/* Disabled controls stay VISIBLE and legible. They are dimmed, never hidden:
   a control that vanishes reads as a broken screen, while one that explains
   itself reads as an honest one. Contrast is kept above the passive-marker
   floor rather than faded out. */
.gp-pkg-actions--disabled{
  flex-direction:column;
  align-items:flex-start;
}
.gp-pkg-actions--disabled .gr-btn[disabled]{
  opacity:.6;
  cursor:not-allowed;
}
.gp-pkg-why{
  color:var(--gx-muted);
  font-size:var(--gx-font-size-sm);
  margin:2px 0 0;
}
.gp-pkg-note{
  margin:12px 0 0;
  padding:10px 12px;
  border-left:3px solid var(--gx-border);
  color:var(--gx-ink);
  background:var(--gx-panel);
}
.gp-pkg-empty{
  margin:14px 0 0;
  padding:14px;
  border:1px dashed var(--gx-border);
  border-radius:6px;
  color:var(--gx-muted);
}
.gp-pkg-checklist{margin:14px 0 0}
/* Provenance sits ABOVE the rows: the reader learns where the list came from
   before they read what it says. */
.gp-pkg-prov{
  color:var(--gx-muted);
  font-size:var(--gx-font-size-sm);
  margin:0 0 12px;
}
.gp-pkg-row{
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid var(--gx-border);
}
.gp-pkg-row:last-child{border-bottom:0}
.gp-pkg-k{flex:1;color:var(--gx-ink)}
.gp-pkg-v{color:var(--gx-muted);font-size:var(--gx-font-size-sm)}
/* The mark is decorative ONLY (aria-hidden in the render) — the state is
   carried in words on the row's accessible name, so a screen-reader user and
   the parity grader both get the same fact a sighted reader gets from colour.
   Colour is never the sole carrier. */
.gp-pkg-mark{
  width:10px;height:10px;border-radius:50%;
  flex:0 0 auto;
  background:var(--gx-border);
}
.gp-pkg-mark--satisfied{background:var(--gx-ok,var(--gx-ink))}
.gp-pkg-mark--likely{background:var(--gx-muted)}
.gp-pkg-mark--notyet{background:transparent;border:1px solid var(--gx-border)}
/* ── end WO-057 ──────────────────────────────────────────────────────────── */

/* ── [FIX-066] Ported from design/wo-059/goldplan_explore_card.html ───────────
   The code emitted these class names and this stylesheet had NO rule for any of
   them, so the browser's defaults rendered instead: five pill buttons became five
   bare boxes stacked down the page (owner, 2026-08-17: "the program summary
   buttons are vertical instead of horizontal"), and every signal popup opened
   unstyled. The design study carried the rules the whole time; they were never
   ported into the served sheet.

   The study's literal hexes are mapped onto the --gx-* theme tokens so a
   deployment's theme reaches them, with the study's value as the fallback. A
   hardcoded colour here would be a governed value frozen in CSS, which is the
   same class of defect one layer down. */
.gr-signalbar{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 2px;padding-top:14px;border-top:1px solid var(--gx-border,#eef0f3)}
.gr-signalbar form{margin:0}
.gr-signalbtn{padding:7px 13px;border-radius:999px;border:1px solid var(--gx-border-strong,#d3d8de);background:var(--gx-panel,#fff);font:inherit;font-size:.84rem;font-weight:600;color:var(--gx-ink-soft,#4a5261);cursor:pointer;min-height:44px}
.gr-signalbtn--empty{border-style:dashed;color:var(--gx-muted,#6b7280)}
.gr-signalbtn--notyet{border-style:dashed;color:var(--gx-muted,#6b7280);font-style:italic}
.gr-signalbtn--deep{border-color:var(--gr-gold,#d4a017);color:#8a6d1a;background:#fffdf5}
/* [2026-08-20 owner button ruling] The institution-name trigger is a real button
   (fires open_institution) — it must at least read as clickable. Full class
   convergence onto .gr-btn is the standing audit. [Owner 2026-08-22, cosmetic]
   It now sits as a facts-grid cell VALUE, so the native button box is stripped
   and it aligns with its sibling cells; the underline (not color alone) marks it
   interactive. */
.gr-instbtn{cursor:pointer;font:inherit;border:0;background:none;padding:0;text-align:left;font-weight:650;color:var(--gx-primary,#1542cc);text-decoration:underline;text-underline-offset:2px}
.gr-instbtn:focus-visible{outline:2px solid var(--gx-primary,#1542cc);outline-offset:2px}

.gr-popup{background:var(--gx-panel,#fff);border:1px solid var(--gx-border,#dde2ea);border-radius:14px;padding:20px 22px;max-width:620px}
/* [rev c 2026-08-20] Presented inside the fixed .gr-popup-overlay backdrop, a tall
   panel (e.g. a program checklist) must scroll within the viewport, not under it. */
.gr-popup-overlay .gr-popup{max-height:86vh;overflow-y:auto;width:min(620px,100%)}
/* [2026-08-21 owner redline] The checklist's CREDITS column aligns vertically across
   every group table — each group is its own table, so without a shared column width
   the numbers rag from group to group. Second column = credits in both browse
   (Requirement|Credits) and follow (Requirement|Credits|Standing) modes. */
.gp-published-checklist .gr-fit-table{width:100%;table-layout:fixed}
.gp-published-checklist .gr-fit-table th:nth-child(2),.gp-published-checklist .gr-fit-table td:nth-child(2){width:90px;text-align:right;white-space:nowrap}
.gp-published-checklist .gr-fit-table td:first-child{overflow-wrap:break-word}
.gr-popup-h{font-size:1.05rem;font-weight:800;margin:0 0 4px}
.gr-popup-sub{font-size:.83rem;color:var(--gx-muted,#6b7280);margin:0 0 14px}
.gr-popup-row{padding:12px 0;border-bottom:1px solid var(--gx-border,#f2f4f7)}
.gr-popup-row:last-child{border-bottom:0}
.gr-popup-k{display:block;font-weight:700;font-size:.9rem;margin-bottom:2px}
.gr-popup-alt{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;font-size:.68rem;font-weight:700;background:var(--gx-marker-bg,#eef0f3);color:var(--gx-muted,#6b7280);text-transform:uppercase;letter-spacing:.04em}
.gr-popup-v{font-size:.92rem}
.gr-popup-attr{display:block;margin-top:3px;font-size:.78rem;color:var(--gx-muted,#6b7280)}
.gr-popup-bridge{display:block;margin-top:3px;font-size:.78rem;color:var(--gx-muted,#6b7280);font-style:italic}
.gr-popup-foot{margin-top:16px;padding-top:14px;border-top:1px solid var(--gx-border,#f2f4f7);display:flex;gap:10px;align-items:center}
.gr-popup-foot .gr-signal-form{margin:0}
/* [rev d 2026-08-21] Foot controls line up as one row of equal-height buttons. */
.gr-popup-foot .gr-btn,.gr-popup-foot button{min-height:40px;display:inline-flex;align-items:center;justify-content:center}

/* The study has no rule for these four; they are the built surface's own.
   Given shape here rather than left to browser defaults, matching the study's
   grammar (same radius, same border token, same spacing scale). */
.gr-compare{display:flex;flex-direction:column;gap:12px}
.gr-compare-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.gr-details{display:flex;flex-direction:column;gap:12px}
.gr-field{display:flex;flex-direction:column;gap:2px;padding:8px 0}
.gr-field-lab{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gx-muted,#6b7280)}
.gr-ov-body{padding:4px 18px 2px} /* [Owner 2026-08-18] side gutters match gr-ov-head/-foot (18px): the Refine drawer facets ran edge to edge with "no margins left and right" */

/* [FIX-063] The Refine/Sort band. It sits INSIDE the panel now, so it needs the
   panel's own gutters rather than the page's — and the controls sit right with
   the row still claiming full width, which is the "leaves a lot of space" the
   owner reported. */
.gr-resbar--controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:4px 0 12px;padding:0}

/* [UNSTYLED-OK: gr-getcredit-domain — the model's own domain span (getcredit.rs resolved line) has never carried a rule: the parenthesized domain inherits the surrounding status line's text style by design. The FIX-066 gate first saw the class when get_parent.rs/launch carried the model's markup into scanned files.] */

/* [WO-078] The requirements-explore stair + the completed provenance band. */
.gp-req-door { margin: 18px 0 6px; padding: 12px 14px; border: 1px solid var(--gr-border, #e2e5ea); border-radius: 10px; background: var(--gr-surface, #fbfcfd); }
.gp-req-door .gr-signal-form { display: inline-block; margin-top: 6px; }
.gp-req-school-form { margin: 10px 0 14px; }
.gp-requirements .gp-req-school-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0 14px; }
.gp-requirements .gp-req-school-form input[type="text"] { padding: 8px 10px; border: 1px solid var(--gr-border, #ccd2da); border-radius: 6px; font: inherit; min-width: 260px; }
.gp-req-list { width: 100%; margin: 10px 0 14px; }
.gp-req-list td { vertical-align: middle; }
.gp-req-list .gr-signal-form { display: inline; }
.gp-req-notyet { margin: 12px 0; }
.gp-pub-serving { margin: 4px 0 0; font-variant-numeric: tabular-nums; }
/* [WO-078 rev c 2026-08-23] The AWARD FRAME section. It is set apart from the
   program's own requirement groups by a rule above it, because it is the CONTEXT
   the course list sits inside rather than one more group of courses.
   The remainder row's value is WORDS ("Not yet gathered"), not a number, so the
   nowrap the 2026-08-21 owner redline put on the credits column has to relax for
   this table or the phrase overflows its 90px cell. The redline's WIDTH is kept
   deliberately, so the credits still align down the screen across every group. */
.gp-pub-framework{margin-top:18px;padding-top:14px;border-top:2px solid var(--gx-border-strong,#bcc6d6)}
.gp-published-checklist .gp-pub-framework .gr-fit-table td:nth-child(2){white-space:normal}
.gp-pub-framework .gr-fit-ev{color:var(--gx-muted,#5b6b84)}
/* The provenance band's own container class. It had NO rule in any of the four
   stylesheets and rode entirely on its children's styling -- the same gap WO-077
   left on GoldMap's band and named there as a ride-along for this order to close.
   WS-001/MI-037: a structure PASS with zero CSS is a design FAIL the user
   receives. */
.gp-pub-provenance{margin-top:18px;padding-top:12px;border-top:1px solid var(--gx-border,#d8dee8)}
.gp-req-published { border-left: 3px solid var(--gr-gold, #d4a017); }
/* [rev d 2026-08-21] The Prepare Checklist control sits on its own row BENEATH the
   summary — block, never inline, so no ambient flex/score styling can float it. */
.gp-req-published .gr-signal-form { display: block; margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════════════
   [GB-STUDIO] GoldBridge — the studio and its two instruments, and the
   GetBridge studio index. Added 2026-08-29 (POC).

   Mobile is the base here and min-width enhances up. Every other breakpoint
   in this sheet is max-width (a grid authored wide, then collapsed); that
   habit is left untouched — this block simply does not need it, because a
   single column of tiles is already the right phone layout and the wider
   arrangement is the enhancement.
   ═══════════════════════════════════════════════════════════════════════ */

.gb-who { font-size: 12.5px; color: var(--gx-muted, #66738a); margin: -6px 0 16px; }

.gb-instrument { margin: 0 0 20px; }
.gb-instrument-head { display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 2px solid var(--gx-border, #dde2ea); }
.gb-instrument-head h3 { font-size: 15px; font-weight: 800; margin: 0; }
.gb-instrument-head .gb-where { font-size: 12px; color: var(--gx-muted, #66738a); font-style: italic; }
.gb-instrument--learning .gb-instrument-head { border-bottom-color: #3d6470; }
.gb-instrument--learning .gb-instrument-head h3 { color: #3d6470; }
.gb-instrument--earning .gb-instrument-head { border-bottom-color: #7a3d8f; }
.gb-instrument--earning .gb-instrument-head h3 { color: #7a3d8f; }

/* GetBridge aligns the shared breadcrumb with the text inside its stair. */
body[data-page="goldbridge"]:has(.gb-find) > .gx-crumbs {
  width: calc(100% - 2 * var(--gx-stage-gutter));
  --gx-crumb-max-width: var(--gx-stair-content-max);
  --gx-crumb-inset: calc(var(--gx-stair-inset) + 1px);
}

.gb-tile-grid { grid-template-columns: 1fr; gap: 10px; }
.gb-studio-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.gb-studio { min-width: 0; overflow-wrap: anywhere; }

.gb-tile, .gb-studio { padding: 13px; gap: 5px; min-height: 44px;
  text-decoration: none; color: inherit; }
.gb-tile h4, .gb-studio h4 { font-size: 13.5px; font-weight: 800; line-height: 1.25; margin: 0; }
.gb-tile .gb-ic { font-size: 19px; line-height: 1; }
.gb-tile-note { font-size: 11.5px; color: var(--gx-faint, #7d8ba0); margin: 2px 0 0; line-height: 1.4; }
.gb-studio-state { font-size: 11.5px; color: var(--gx-muted, #66738a); margin: 2px 0 0; }
.gb-instrument--learning .gb-tile { border-color: #3d6470; }
.gb-instrument--earning .gb-tile { border-color: #7a3d8f; }
/* A tile that is not built reuses the shipped not-yet treatment rather than
   inventing a second "unavailable" look, and stays visible: a person can see
   the whole road including the parts not made yet. */
.gb-tile.gr-not-yet { margin: 0; border-style: dashed;
  border-color: var(--gx-border-strong, #c4ccd8); background: var(--gx-panel-alt, #f8f9fb); }

.gb-group { margin: 0 0 22px; }
.gb-group-head { font-size: 14px; font-weight: 800; margin: 0 0 9px;
  display: flex; align-items: center; gap: 9px; }

/* The finder is a real form: it posts, it works with scripting off. */
.gb-find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.gb-find label { font-size: 12px; font-weight: 700; color: var(--gx-muted, #66738a);
  flex: 1 0 100%; }
.gb-find input { flex: 1 1 200px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--gx-border, #dde2ea); border-radius: 8px;
  font: inherit; font-size: 14px; background: var(--gx-panel, #fff); }
.gb-find .gr-btn { min-height: 44px; }

@media (min-width: 560px) {
  .gb-tile-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gb-studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gb-find label { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  .gb-tile-grid { grid-template-columns: repeat(4, 1fr); }
  .gb-studio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ═══════════════════════════════════════════════════════════════════════
   [GB-STUDIO-2] The studio's drawer, role bar, match and cues.
   Added 2026-08-29. No script anywhere: the drawer is <details>, the role
   switch is a GET form.
   ═══════════════════════════════════════════════════════════════════════ */

/* The drawer — reached, not monitored. */
.gb-drawer { border: 1px solid var(--gx-border, #dde2ea); border-radius: 10px;
  background: var(--gx-panel, #fff); margin: 0 0 14px; }
.gb-drawer > summary { cursor: pointer; list-style: none; padding: 12px 14px;
  font-size: 13px; font-weight: 800; min-height: 44px; display: flex;
  align-items: center; gap: 9px; }
.gb-drawer > summary::-webkit-details-marker { display: none; }
.gb-drawer > summary::before { content: "³0"; font-size: 16px; opacity: .7; }
.gb-drawer[open] > summary { border-bottom: 1px solid var(--gx-border, #dde2ea); }
.gb-dw { padding: 6px 14px 14px; }
.gb-dw-h { font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gx-faint, #7d8ba0); margin: 12px 0 4px; }
.gb-dw ul { list-style: none; margin: 0; padding: 0; }
.gb-dw li { display: flex; align-items: center; gap: 11px; padding: 9px 0;
  min-height: 44px; border-bottom: 1px dotted var(--gx-border, #dde2ea); }
.gb-dw li:last-child { border-bottom: 0; }
.gb-dw-ic { width: 20px; text-align: center; font-size: 15px; }
.gb-dw-t { font-size: 13px; font-weight: 600; }
.gb-dw-t small { display: block; font-size: 11px; font-weight: 400;
  color: var(--gx-faint, #7d8ba0); margin-top: 1px; }

/* The role bar — what the person is reaching for, and their control over it. */
.gb-role { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  border: 1px solid var(--gx-border, #dde2ea); border-radius: 10px;
  background: var(--gx-panel-alt, #f8f9fb); padding: 12px 14px; margin: 0 0 18px; }
.gb-role-cur, .gb-role-none { flex: 1 0 100%; font-size: 13px; }
.gb-role-cur b { font-weight: 800; }
.gb-role-none { color: var(--gx-muted, #66738a); font-style: italic; }
.gb-role label { flex: 1 0 100%; font-size: 12px; font-weight: 700;
  color: var(--gx-muted, #66738a); }
.gb-role input { flex: 1 1 220px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--gx-border, #dde2ea); border-radius: 8px;
  font: inherit; font-size: 14px; background: var(--gx-panel, #fff); }
.gb-role .gr-btn { min-height: 44px; }

/* The match — three states, and UNKNOWN must never read as MISSING. */
.gb-match { margin: 0 0 18px; }
.gb-match-lines { grid-template-columns: 1fr; gap: 0; }
.gb-match-line { display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--gx-border, #dde2ea); }
.gb-match-line:last-child { border-bottom: 0; }
.gb-match-line .gr-fact-k { font-size: 13.5px; font-weight: 650; }
.gb-match-line .gr-fact-k small { display: block; font-size: 11.5px; font-weight: 400;
  color: var(--gx-faint, #7d8ba0); margin-top: 2px; line-height: 1.4; }
/* Unlit is given its own shape as well as its own colour: a dashed edge, so the
   difference survives a monochrome screen and does not rely on hue alone. */
.gb-state { border: 1px solid transparent; }
.gb-state--partial { border-style: dashed; border-color: var(--gx-warn, #b25e09); }
.gb-state--missing { border-color: var(--gx-danger, #b42318); }
.gb-shadow { margin: 14px 0 0; }

/* The cues — what to do next, each with its source and confidence. */
.gb-cues { margin: 0 0 18px; }
.gb-cues-h { font-size: 14px; font-weight: 800; margin: 0 0 9px; }
.gb-cue { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 44px; padding: 11px 13px; margin-bottom: 8px;
  border: 1px solid var(--gx-border, #dde2ea); border-radius: 9px;
  background: var(--gx-panel, #fff); text-decoration: none; color: inherit; }
.gb-cue-t b { font-size: 13.5px; font-weight: 700; display: block; }
.gb-cue-t small { display: block; font-size: 11.5px; color: var(--gx-faint, #7d8ba0);
  margin-top: 2px; line-height: 1.4; }
.gb-cue-go { font-size: 12px; font-weight: 800; color: #8a6a12; white-space: nowrap; }

@media (min-width: 560px) {
  .gb-role-cur, .gb-role-none, .gb-role label { flex: 0 0 auto; }
}

/* [GB-SCRIPTS] The person's checklists — what a part asks of them, line by
   line — with the ONE canonical fit-bar over each. No bar is styled here: the
   shipped .gr-fitbar rules own it, and a rival copy would be a reuse fail. */
.gb-scripts { margin: 0 0 18px; }
.gb-script { margin: 0 0 12px; }
.gb-script .gr-card-top { align-items: center; }
.gb-script .gr-card-title { font-size: 1rem; margin: 0; }
.gb-script .gr-fitbar { margin-top: 10px; }
.gb-script .gb-match-lines { margin-top: 4px; }
.gb-dw-none { opacity: .62; }
.gb-dw-soon { font-size: 10px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gx-faint, #7d8ba0); white-space: nowrap; }
.gb-dw li a { display: flex; align-items: center; gap: 11px; flex: 1;
  color: inherit; text-decoration: none; min-height: 44px; }

/* [GIVECREDIT_PETITION.md §3.4] The petition screen, from the GiveCredit design
   screens (givecredit-design.css): the seven-step bar, the tabs, the notes and
   the scrolling tables. Scoped to GiveCredit's pages. */
/* Keep the in-content portal trail visible on narrow GiveCredit screens. */
body[data-page="givecredit"] .gc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
[data-page="givecredit"] .gr-steps{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:16px 0}
[data-page="givecredit"] .gr-step{min-width:0;overflow-wrap:anywhere;padding:12px}
[data-page="givecredit"] .gr-step h3{font-size:14px}
[data-page="givecredit"] .gr-step h3 a{color:inherit;text-decoration:none}
[data-page="givecredit"] .gr-step h3 a[aria-current="page"]{text-decoration:underline}
[data-page="givecredit"] .gr-step[aria-current="step"]{border-color:var(--gx-btn-accent-bg);box-shadow:0 0 0 1px var(--gx-btn-accent-bg)}
[data-page="givecredit"] .gc-period-toggle{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}
.gc-review-note{padding:12px 16px;margin:12px 0;border:1px solid var(--gx-border-strong);border-radius:8px;background:var(--gx-panel2);color:var(--gx-ink);line-height:1.5}
.gc-table-scroll{max-width:100%;overflow-x:auto;margin:12px 0;overscroll-behavior-x:contain}
.gc-table-scroll .gc-table{margin:0}
.gc-table td{overflow-wrap:anywhere}
.gc-panel .gc-panel{margin:16px 0}
.gc-panel .gc-ids{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.gc-panel .gc-ids label:not(.gr-picker-option){display:flex;flex-direction:column;gap:6px}
.gc-panel .gc-ids input:not([type=checkbox]):not([type=radio]),.gc-panel .gc-ids select,.gc-panel .gc-ids textarea,.gc-offer-url{width:100%;min-height:40px;padding:8px;border:1px solid var(--gx-border-strong);border-radius:6px;background:var(--gx-panel);color:var(--gx-ink);font:inherit}
.gc-edit-popup{max-height:85vh;overflow-y:auto}
/* [David 2026-11-08; the GiveCredit popup and form standard, concurred by the
   90% Goal chat] ONE popup: a title bar with Close always in view, a body that
   scrolls up and down only, a fixed bar with Cancel on the left and the one
   action on the right; 720 px, or 1040 px wide for field rows and choice
   lists. ONE form: each label above its field, fields full width and one
   height, one short width, four-line notes, choices box first and left
   aligned, one section heading, field rows that stack on a phone. One
   spacing scale: 4 8 12 16 24 32. */
.gc-edit-popup{display:flex;flex-direction:column;padding:0;width:min(720px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:85vh;overflow:hidden}
.gc-edit-popup.gc-popup-wide{width:min(1040px,calc(100vw - 32px))}
.gc-popup-title{position:relative;flex:0 0 auto;padding:16px 64px 16px 24px;border-bottom:1px solid var(--gx-border)}
.gc-popup-title h3{margin:0;font-size:18px;line-height:1.3}
.gc-popup-about{margin:2px 0 0;font-size:13px;color:var(--gx-muted);overflow-wrap:anywhere}
.gc-popup-x{position:absolute;top:12px;right:12px;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:var(--gx-muted);border:1px solid transparent}
.gc-popup-x:hover,.gc-popup-x:focus-visible{border-color:var(--gx-border-strong);color:var(--gx-ink)}
.gc-edit-popup form.gc-popup-form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;margin:0}
.gc-popup-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:20px 24px;display:flex;flex-direction:column;gap:16px}
.gc-popup-bar{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 24px;border-top:1px solid var(--gx-border);background:var(--gx-panel2)}
.gc-popup-left,.gc-popup-right{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gc-popup-body label:not(.gr-picker-option),.gc-panel .gc-ids label:not(.gr-picker-option){display:flex;flex-direction:column;align-items:stretch;gap:6px;font-size:13px;font-weight:600;min-width:0}
.gc-popup-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.gc-popup-body select,.gc-popup-body textarea{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--gx-border-strong);border-radius:6px;background:var(--gx-panel);color:var(--gx-ink);font:inherit;font-weight:400;box-sizing:border-box}
.gc-panel .gc-ids input:not([type=checkbox]):not([type=radio]),.gc-panel .gc-ids select,.gc-panel .gc-ids textarea{font-weight:400;box-sizing:border-box}
.gc-popup-body textarea,.gc-panel .gc-ids textarea{min-height:96px;resize:vertical}
.gc-popup-body input[type=date]:not([type=checkbox]):not([type=radio]),.gc-popup-body input[type=number]:not([type=checkbox]):not([type=radio]),.gc-popup-body .gc-short:not([type=checkbox]):not([type=radio]),.gc-panel .gc-ids input[type=date]:not([type=checkbox]):not([type=radio]),.gc-panel .gc-ids input[type=number]:not([type=checkbox]):not([type=radio]),.gc-panel .gc-ids .gc-short:not([type=checkbox]):not([type=radio]){width:12rem;max-width:100%}
.gc-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:16px;align-items:end}
.gc-row .gc-span2{grid-column:span 2}
.gc-popup-body .gc-row input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.gc-popup-body .gc-row select,.gc-panel .gc-ids .gc-row input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.gc-panel .gc-ids .gc-row select{width:100%}
.gc-row-inline{display:flex;gap:8px;align-items:flex-end}
.gc-row-inline label{flex:1 1 auto}
.gc-section{margin:4px 0 0;padding-top:12px;border-top:1px solid var(--gx-border);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gx-muted)}
.gc-popup-body>.gc-section:first-child,.gc-popup-body>input[type=hidden]+.gc-section{border-top:0;padding-top:0;margin-top:0}
.gc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gc-popup-body .gr-picker-fieldset,.gc-ids .gr-picker-fieldset{margin:0;min-width:0}
.gc-popup-body .gr-picker-option,.gc-ids .gr-picker-option{justify-content:flex-start;text-align:left;font-weight:400}
.gc-popup-body .gr-picker-option input,.gc-ids .gr-picker-option input{width:auto;min-height:0;margin:0;flex:0 0 auto}
.gc-popup-body .gr-picker-option span,.gc-ids .gr-picker-option span{flex:1 1 auto;min-width:0}
.gr-picker-fieldset.gc-choices-row{flex-direction:row;flex-wrap:wrap}
.gr-picker-fieldset.gc-choices-row .gr-picker-option span{flex:0 1 auto}
.gc-pick-all{border-bottom:1px solid var(--gx-border);border-radius:0;padding-bottom:10px}
.gc-popup-block{border:1px solid var(--gx-border);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:12px}
.gc-popup-block h4{margin:0;font-size:14px}
.gc-facts{display:grid;grid-template-columns:9rem 1fr;gap:4px 12px;margin:0;font-size:13px;padding:12px;border:1px solid var(--gx-border);border-radius:6px;background:var(--gx-panel2)}
.gc-facts dt{color:var(--gx-muted)}
.gc-facts dd{margin:0;overflow-wrap:anywhere}
.gc-panel .gc-ids>button,.gc-panel .gc-ids>.gc-btn{align-self:flex-end}
.gc-chip{display:inline-flex;align-items:center;border-radius:999px;padding:1px 10px;font-size:12px;font-weight:600;border:1px solid var(--gx-border);background:var(--gx-panel2);color:var(--gx-muted);white-space:nowrap}
.gc-chip-ok{border-color:#a7d8bd;background:#e5f4ec;color:#16794a}
.gc-chip-warn{border-color:#e7c27a;background:#fdf2df;color:#9a5b00}
.gc-chip-info{border-color:#b8c4f5;background:#e8ecfc;color:#1f3fd4}
@media(max-width:760px){.gc-row .gc-span2{grid-column:auto}.gc-facts{grid-template-columns:1fr}.gc-row-inline{flex-wrap:wrap}}
.gc-btn,.gc-action{min-height:40px}
button:disabled{opacity:.65;cursor:not-allowed}
.gc-navigation-help{flex-basis:100%;margin-top:12px}
.gc-export,.gc-toolbar>form{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
@media(max-width:760px){[data-page="givecredit"] .gr-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{.gc-period-toggle,.gc-toolbar,.gx-app-header__actions{display:none}.gc-table-scroll{overflow:visible}}

/* ============================================================================
   [GOLD_LOGIN_DASHBOARD_DESIGN.md §3.3, §3.6, §3.7] The login dashboard
   (/dashboard, KSAserver login_dashboard.rs). Theme tokens only. Uniform
   product cards 352 x 300 and deployment cards 916 x 300, a gold-family band
   per card, the one button pinned to the bottom line, full width on a phone.
   ============================================================================ */
.ld-page{padding-block:24px;display:flex;flex-direction:column;gap:16px}
.ld-section{display:flex;align-items:baseline;gap:14px;margin-top:8px}
.ld-section h2{margin:0;font-size:22px;font-weight:800;color:var(--gx-ink)}
.ld-rule{flex:1;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--gr-gold),var(--gr-gold-bright) 40%,transparent)}
.ld-grid{display:grid;grid-template-columns:repeat(auto-fill,352px);gap:24px}
.ld-dgrid{display:grid;grid-template-columns:repeat(auto-fill,916px);gap:24px}

.ld-card,.ld-dcard{background:var(--gx-panel);border:1px solid var(--gx-border);border-radius:8px;display:flex;flex-direction:column;min-width:0;box-shadow:var(--gx-modal-shadow,none)}
.ld-card{width:352px;height:300px}
.ld-dcard{width:916px;height:300px}

.ld-band{flex:0 0 56px;height:56px;border-radius:7px 7px 0 0;display:flex;align-items:center;gap:12px;padding:0 14px;background:linear-gradient(135deg,var(--gr-gold),var(--gr-gold-bright))}
.ld-band--ops{background:linear-gradient(135deg,var(--gx-btn-accent-hover),var(--gr-gold))}
.ld-band--legacy{background:var(--gx-note-bg);border-bottom:3px solid var(--gx-note-border)}
.ld-plate{background:var(--gx-panel);border-radius:6px;padding:6px 10px;font-size:18px;line-height:1;font-weight:900;letter-spacing:-.03em;white-space:nowrap}
.ld-wm-gold{color:var(--gr-gold)}
.ld-wm-suffix{color:var(--gr-wordmark-suffix,var(--gx-ink))}
/* [WO-1122-07 Rev 1 Part 1.4; Rev 2 Part 2] Every product wordmark, the identical rules and tokens of the portal's
   ksaworks-suite.css (.ks-wm; .ks-gold-word in --ks-gold #d4a017, .ks-wm-rest in --ks-wordmark-black #000; on a dark
   background .ks-wm-dark, the second word white), for main's pages that load this stylesheet and not the portal's
   (main's own Where do you want to go? page). */
.ks-wm{display:inline!important;white-space:nowrap;text-transform:none;font-variant:normal;letter-spacing:normal}
.ks-wm>.ks-gold-word,.ks-wm>.ks-wm-rest{display:inline!important}
:where(.ks-wm) .ks-gold-word{color:var(--ks-gold,#d4a017)}
:where(.ks-wm) .ks-wm-rest{color:var(--ks-wordmark-black,#000)}
.ks-wm-dark .ks-wm-rest{color:var(--ks-surface,#fff)}
.ld-dlabel{flex:1;min-width:0;font-size:15px;font-weight:800;color:var(--gx-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ld-chip{margin-left:auto;font-size:11px;font-weight:800;line-height:1;letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;border-radius:999px;white-space:nowrap}
.ld-chip--ok{background:var(--gx-btn-success-bg);color:var(--gx-btn-success-ink)}
.ld-chip--warn{background:var(--gx-note-bg);color:var(--gx-note-ink);border:1px solid var(--gx-note-border)}
.ld-chip--bad{background:var(--gx-btn-danger-bg);color:var(--gx-btn-danger-ink)}

.ld-lines{flex:1;min-height:0;padding:10px 16px 0;display:flex;flex-direction:column;overflow:hidden}
.ld-row{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:baseline;gap:10px;padding:8px 0;border-bottom:1px solid var(--gx-border)}
.ld-row:last-child{border-bottom:0}
.ld-k{font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--gx-muted);border-bottom:1px dotted var(--gx-border-strong);justify-self:start;cursor:help}
.ld-v{font-size:15px;line-height:1.3;font-weight:700;color:var(--gx-ink);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ld-v--mono{font-family:ui-monospace,Consolas,monospace;font-size:13px;word-break:break-all}
.ld-v--warn{color:var(--gx-note-ink)}
.ld-v--bad{color:var(--gx-btn-danger-bg)}
.ld-desc{margin:0;padding:6px 0 4px;font-size:14px;line-height:1.5;color:var(--gx-ink-soft)}
.ld-foot{flex:0 0 62px;display:flex;align-items:center;gap:8px;padding:0 16px;border-top:1px solid var(--gx-border)}
.ld-open{height:38px;padding:0 24px;display:inline-flex;align-items:center;background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink);border:1px solid var(--gx-btn-accent-hover);border-radius:6px;font:inherit;font-size:14px;font-weight:800;text-decoration:none;cursor:pointer}
.ld-open:hover{background:var(--gx-btn-accent-hover)}
.ld-open:focus-visible,.ld-copy:focus-visible,.ld-viewas__stop:focus-visible{outline:2px solid var(--gr-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--gr-blue-ring)}
.ld-open--inert,.ld-open--inert:hover{background:var(--gx-marker-bg);color:var(--gx-muted);border-color:var(--gx-border);cursor:not-allowed}

.ld-dbody{flex:1;min-height:0;display:grid;grid-template-columns:340px minmax(0,1fr);gap:22px;padding:10px 16px}
.ld-dbody .ld-lines{padding:0}
.ld-code{display:flex;flex-direction:column;min-height:0;min-width:0;padding-top:8px}
.ld-code__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.ld-code__help{margin:0 0 6px;font-size:12px;color:var(--gx-note-ink);background:var(--gx-note-bg);border:1px solid var(--gx-note-border);border-radius:6px;padding:5px 8px}
.ld-code__box{flex:1;min-height:0;width:100%;box-sizing:border-box;resize:none;font:12px/1.45 ui-monospace,Consolas,monospace;color:var(--gx-ink);background:var(--gx-panel2,var(--gx-panel));border:1px solid var(--gx-border-strong);border-radius:6px;padding:8px 10px;white-space:pre;overflow:auto}
.ld-copy{height:28px;padding:0 12px;border:1px solid var(--gx-border-strong);border-radius:6px;background:var(--gx-panel);color:var(--gx-ink);font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.ld-copy:hover{background:var(--gx-surface-hover)}

.ld-inline{display:inline;margin:0}

.ld-viewas{background:var(--gx-ink);color:var(--gx-panel);display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:10px 24px;font-size:14px}
.ld-viewas b{color:var(--gr-gold-bright)}
.ld-viewas__only{background:var(--gr-gold);color:var(--gx-ink);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:4px 8px;border-radius:999px;cursor:help}
.ld-viewas__end{margin-left:auto}
.ld-viewas__stop{background:var(--gx-btn-accent-bg);color:var(--gx-btn-accent-ink);border:1px solid var(--gx-btn-accent-hover);border-radius:6px;font:inherit;font-size:13px;font-weight:800;padding:7px 16px;cursor:pointer}
body:has(.ld-viewas){outline:6px solid var(--gr-gold);outline-offset:-6px}

.ld-va{max-width:1100px}
.ld-find{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0 16px}
.ld-find input,.ld-find select{flex:1 1 280px;max-width:520px;min-height:40px;padding:8px 12px;border:1px solid var(--gx-border-strong);border-radius:6px;background:var(--gx-panel);color:var(--gx-ink);font:inherit}
.ld-table-scroll{overflow-x:auto}
.ld-users{width:100%;border-collapse:collapse;font-size:14px}
.ld-users th{text-align:left;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--gx-muted);padding:8px 10px;border-bottom:1px solid var(--gx-border-strong)}
.ld-users td{padding:10px;border-bottom:1px solid var(--gx-border)}
.ld-users .ld-open{height:32px;padding:0 16px;font-size:13px}

@media (max-width:960px){
  .ld-dgrid{grid-template-columns:1fr}
  .ld-dcard{width:auto;height:auto}
  .ld-dbody{grid-template-columns:1fr}
  .ld-code__box{flex:0 0 160px;height:160px}
}
@media (max-width:400px){
  .ld-grid{grid-template-columns:1fr}
  .ld-card{width:auto}
}

/* [David 2026-11-09: "the dashboard should be my homepage"] Home, beside the
   always-visible hamburger menu (satellite_common::with_home): a signed-in
   person's way back to the dashboard on every Gold app page. Tokens only; a
   44px target like the menu button. The pair takes the menu's place in the
   header grid at every width. */
.gx-app-header__end{display:flex;align-items:center;gap:10px;justify-self:end;align-self:start}
.gx-app-home{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--gx-border-strong);border-radius:10px;background:var(--gx-panel);color:var(--gx-ink);font-size:14px;font-weight:800;text-decoration:none}
.gx-app-home:hover{background:var(--gx-surface-hover)}
.gx-app-home:focus-visible{outline:2px solid var(--gr-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--gr-blue-ring)}
@media(max-width:900px){.gx-app-header__end{grid-column:2;grid-row:1}}

/* [90% Goal chat 2026-11-09, item 1: "Put them on that line"] Home and the
   hamburger menu sit on the header's line (Sign in / Manage / Sign out),
   centred as the header row's other items are. A header whose summary band is
   anchored TOP (the WO-076 rule above) keeps the menu at the top beside it. */
@media(min-width:901px){
  .gx-app-header__inner:not(:has(> .gx-app-header__summary, > .gx-app-header__right)) > .gx-app-menu,
  .gx-app-header__inner:not(:has(> .gx-app-header__summary, > .gx-app-header__right)) > .gx-app-header__end{align-self:center}
}

/* [90% Goal chat 2026-11-09, item 2: "Give it a Close in view"] The menu's
   Close, on the panel's bottom line (render_settings_menu). */
.gx-app-menu__foot{display:flex;justify-content:flex-end;padding-top:10px;border-top:1px solid var(--gx-border)}
.gx-app-menu__close{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--gx-border-strong);border-radius:10px;background:var(--gx-panel);color:var(--gx-ink);font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.gx-app-menu__close:hover{background:var(--gx-surface-hover)}
.gx-app-menu__close:focus-visible{outline:2px solid var(--gr-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--gr-blue-ring)}
/* On a phone the open menu drops below the whole header, across its width, so
   it hides neither the wordmark nor the header's rows. The sticky header is
   the panel's containing block once the menu itself is not positioned. */
@media(max-width:900px){
  .gx-app-menu{position:static}
  .gx-app-menu__panel{top:100%;left:16px;right:16px;min-width:0;margin-top:8px}
}
/* [REPORT-WRAP, David 2026-11-10 "Fix both and deploy"] The portfolio's
   transfer table on the stair (this page does not load goldribbon_report.css):
   long text wraps inside its own cell instead of running into the next. */
.gr-pf-transfer-table th,.gr-pf-transfer-table td{overflow-wrap:anywhere}
.gr-pf-transfer-table pre{white-space:pre-wrap;overflow-wrap:anywhere}

/* ── GiveCredit conventions (WCAG 2.2 AA) [David 2026-11-13, GiveCredit Workflow Pass 1 Issues]
   One body style and one secondary style in a table cell; every link and
   button a click area of at least 24px; a red asterisk after a required
   field's prompt; a save's missing fields listed together in the page's
   own type; buttons of one kind one size. ─────────────────────────────── */
.gc-req{color:var(--gx-btn-danger-bg);font-weight:800;margin:0 .3em}
/* [David 2026-11-17, GiveCredit Workflow Pass 2 Issues] A policy exclusion's reason reads in the
   note ink (#5d4700 on white is above 4.5:1), not in the note border's gold (1.51:1). */
.gc-excluded-badge{color:var(--gx-note-ink);font-size:12px;font-weight:700}
@media (forced-colors:active){.gx-app-header{background:Canvas;color:CanvasText}.gc-req{color:Mark}}
a.gc-link,.gc-table a{display:inline-flex;align-items:center;min-height:24px;min-width:24px}
.gc-form-errors{border:2px solid var(--gx-btn-danger-bg);border-radius:6px;padding:10px 14px;margin:0 0 12px;background:var(--gx-panel);color:var(--gx-ink);font:inherit}
.gc-form-errors ul{margin:6px 0 0 20px}
[aria-invalid=true]{outline:2px solid var(--gx-btn-danger-bg);outline-offset:1px}
.gc-cell-line{display:block;color:var(--gx-muted)}
.gc-btn-row{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin:12px 0}
.gc-btn-row>form,.gc-btn-row>details{margin:0}
.gc-period-toggle a .gc-task-mark{margin-left:.5em;font-weight:400;color:var(--gx-muted)}
.gc-period-toggle a.active .gc-task-mark{color:inherit}
/* [David 2026-11-17, GiveCredit Workflow Pass 2 Issues] The petition's Reference links on one
   line, its Tasks on the line below; a New flag on a message; adding a course apart from the note. */
[data-page="givecredit"] .gc-petition-nav{flex-direction:column;align-items:flex-start;gap:8px}
.gc-nav-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.gc-new{display:inline-block;padding:0 6px;border-radius:4px;background:var(--gx-btn-primary-bg);color:var(--gx-btn-primary-ink,#fff);font-size:12px;font-weight:700}
.gc-add-course{margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--gx-border)}
.gc-add-results{list-style:none;margin:8px 0;padding:0}
.gc-add-found{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0;border-bottom:1px solid var(--gx-border)}
.gc-state-pop{font:inherit;color:inherit;background:none;border:0;border-bottom:1px dotted currentColor;padding:0;min-height:24px;cursor:pointer}
.gc-popover{padding:8px 12px;border:1px solid var(--gx-border-strong);border-radius:6px;background:var(--gx-panel);color:var(--gx-ink);font:inherit}
