.nf {
  --nf-amber:#ffd08a;
  --nf-night:#102235;
  --nf-line:var(--line,#d3dde6);
  --nf-panel:var(--surface,#fff);
  --nf-ink:var(--ink,#122c42);
  --nf-muted:var(--muted,#50647a);
  width:min(100%,1160px);
  margin-inline:auto;
  padding:clamp(14px,2.6vw,38px) clamp(12px,2.6vw,38px) 56px;
  color:var(--nf-ink);
}
.nf * {box-sizing:border-box;}
.nf [tabindex="-1"]:focus {outline:0;}
.nf button,.nf input,.nf select {font:inherit;}
.nf button {cursor:pointer;}
.nf button:disabled {cursor:default;}
.nf .nf-back {display:inline-flex;padding:5px 0 13px;color:var(--nf-muted);font-size:.9rem;font-weight:700;text-decoration:none;}
.nf a:hover {text-decoration:underline;}
.nf-hero,.nf-result-head,.nf-statusbar {position:relative;overflow:hidden;background:var(--nf-night);color:#fff;}
.nf-hero {display:flex;align-items:center;min-height:clamp(298px,28vw,430px);border-radius:16px 16px 0 0;}
.nf-hero-art {position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:65% 1%;}
.nf-hero::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#091a2df2 0%,#0c2039af 34%,transparent 66%);}
.nf-hero-copy {position:relative;z-index:1;max-width:51%;padding:clamp(21px,3.6vw,52px);}
.nf .nf-kicker,.nf-coach-label small,.nf-qmeta,.nf-clock,.nf-strip figcaption,.nf-facts dt {
  font-family:var(--ea-mono,ui-monospace,Consolas,monospace);
  font-size:.73rem;line-height:1.4;letter-spacing:.065em;font-weight:700;
}
.nf-hero .nf-kicker,.nf-statusbar .nf-kicker {color:var(--nf-amber);text-transform:uppercase;}
.nf .nf-hero h1 {font-size:clamp(3rem,5.7vw,5.6rem);line-height:.96;letter-spacing:-.04em;color:#fff;margin:12px 0 16px;}
.nf .nf-hero h1 em {display:block;white-space:nowrap;color:var(--nf-amber);font-style:italic;}
.nf-hero p {color:#eff6fc;max-width:37ch;margin:0;line-height:1.48;font-size:clamp(.94rem,1.3vw,1.08rem);}
.nf h2,.nf h3 {line-height:1.15;letter-spacing:-.032em;color:var(--nf-ink);}
.nf-config,.nf-summary {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(245px,1fr);background:var(--nf-panel);border:1px solid var(--nf-line);border-top:0;border-radius:0 0 16px 16px;overflow:hidden;}
.nf-options,.nf-brief,.nf-summary>div {padding:clamp(20px,3.1vw,38px);}
.nf-options h2,.nf-summary h2,.nf-review h2 {font-size:clamp(1.45rem,2.2vw,2rem);margin:0 0 20px;}
.nf fieldset {border:0;padding:0;min-width:0;margin:0 0 19px;}
.nf legend,.nf-filters label {font-size:.9rem;font-weight:750;color:var(--nf-ink);}
.nf legend {margin:0 0 8px;}
.nf-levels {display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;border-radius:9px;background:var(--soft,#edf2f7);}
.nf-level,.nf-mode,.nf-choice {position:relative;cursor:pointer;}
.nf-level input,.nf-mode input,.nf-choice input {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;}
.nf-level span,.nf-mode span {display:block;border:1px solid transparent;border-radius:7px;}
.nf-level span {padding:10px 3px;text-align:center;font-size:.92rem;font-weight:760;min-height:42px;}
.nf-level input:checked+span {background:var(--nf-panel);color:var(--nf-ink);border-color:var(--nf-line);box-shadow:0 2px 4px #12243a12;}
.nf :is(.nf-level,.nf-mode) input:focus-visible+span,.nf-choice:has(input:focus-visible) {outline:3px solid var(--blue,#145be1);outline-offset:2px;}
.nf-modes,.nf-filters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.nf-mode span {padding:13px 12px;height:100%;border-color:var(--nf-line);line-height:1.25;}
.nf-mode input:checked+span {border-color:var(--blue,#145be1);box-shadow:inset 3px 0 0 var(--blue,#145be1);}
.nf-mode strong {font-size:1rem;display:block;}
.nf-mode small {font-size:.83rem;line-height:1.4;display:block;margin-top:4px;color:var(--nf-muted);}
.nf-filters {grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);}
.nf select {appearance:auto;width:100%;min-height:44px;margin-top:6px;border:1px solid var(--nf-line);background:var(--nf-panel);color:var(--nf-ink);border-radius:7px;padding:7px;font-size:.92rem;}
.nf-brief,.nf-again {background:var(--soft,#f3f6fa);border-left:1px solid var(--nf-line);}
.nf-coach-label {display:flex;align-items:center;gap:11px;line-height:1.2;}
.nf-coach-label img {border-radius:50%;object-fit:cover;flex:none;}
.nf-coach-motion {width:50px;height:50px;flex:none;border-radius:50%;background:#112338 url("/nremt/gage-briefing.webp") 0 0/200% 200%;}
.nf-coach-label strong,.nf-coach-label small {display:block;}
.nf-coach-label small {color:var(--nf-muted);font-size:.65rem;text-transform:uppercase;margin-bottom:3px;}
.nf-brief h3 {margin:18px 0 7px;font-size:clamp(1.4rem,2vw,1.9rem);}
.nf-brief p,.nf-again p,.nf-sources p {line-height:1.52;color:var(--nf-muted);margin:6px 0 14px;}
.nf-facts {display:flex;flex-wrap:wrap;gap:8px clamp(14px,2vw,32px);margin:14px 0 18px;}
.nf-facts dt {letter-spacing:0;color:var(--nf-muted);font-size:.72rem;}
.nf-facts dd {margin:2px 0 0;font-weight:750;}
.nf-primary,.nf-secondary {min-height:44px;border-radius:8px;padding:11px 17px;font-weight:750!important;display:inline-flex;align-items:center;justify-content:center;gap:10px;}
.nf-primary {background:var(--action,#145be1);color:white;border:1px solid transparent;}
.nf-primary:hover:not(:disabled) {filter:brightness(.93);}
.nf-primary:disabled {opacity:.52;}
.nf-brief .nf-primary {width:100%;}
.nf-secondary {border:1px solid var(--nf-line);color:var(--nf-ink);background:var(--nf-panel);}
.nf-link,.nf-exit {display:inline-block;background:none;border:0;color:var(--blue,#145be1);text-decoration:underline;text-underline-offset:.18em;font-weight:bold!important;min-height:40px;}
.nf-error:empty {display:none;}
.nf-sources {padding:17px 0;border-bottom:1px solid var(--nf-line);font-size:.88rem;}
.nf-sources summary,.nf-review-item summary {cursor:pointer;}
.nf-sources summary {font-weight:720;}
.nf-sources>p {max-width:80ch;margin:13px 0;}
.nf-domains {list-style:none;margin:0;padding:0;max-width:62ch;}
.nf-domains li {display:flex;justify-content:space-between;align-items:baseline;gap:15px;padding:8px 0;border-bottom:1px solid var(--nf-line);font-size:.89rem;}
.nf-domains b {white-space:nowrap;}
.nf-source-links {display:flex;gap:8px 18px;flex-wrap:wrap;margin:17px 0;}
.nf-session,.nf-results {max-width:960px;}
body:has(main .nf) .flo-launcher-wrap {display:none;}
.nf-statusbar {display:flex;justify-content:space-between;align-items:center;gap:15px;border-radius:12px 12px 0 0;padding:18px clamp(16px,4vw,40px);}
.nf .nf-statusbar h1 {color:white;font-size:clamp(1.25rem,2.3vw,1.75rem);letter-spacing:-.025em;margin:2px 0 0;}
.nf-clock {font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1rem;letter-spacing:.02em;}
.nf-urgent {color:#ffbb99;}
.nf-progress {height:4px;background:#3a5164;}
.nf-progress span {display:block;height:100%;background:#ffc16c;}
.nf-sheet {background:var(--nf-panel);border:1px solid var(--nf-line);border-top:0;border-radius:0 0 12px 12px;padding:clamp(18px,3.4vw,42px);}
.nf-qmeta {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--nf-muted);letter-spacing:.03em;margin:0 0 18px;}
.nf .nf-sheet h2 {font-size:clamp(1.3rem,2.25vw,2rem);line-height:1.32;max-width:60ch;margin:12px 0 22px;scroll-margin-top:14px;}
.nf-case {border-left:3px solid #ab7936;padding:3px 0 3px 14px;margin:10px 0 16px;}
.nf-case strong {font-size:.77rem;text-transform:uppercase;letter-spacing:.05em;}
.nf-case p {margin:5px 0;line-height:1.52;}
.nf-answers,.nf-matrix {display:grid;gap:8px;}
.nf-choice,.nf-step {display:flex;align-items:center;gap:12px;min-height:50px;text-align:left;border:1px solid var(--nf-line);border-radius:8px;background:var(--nf-panel);color:var(--nf-ink);padding:10px 12px;line-height:1.45;}
.nf-letter {flex:0 0 29px;height:29px;display:grid;place-items:center;font-weight:700;font-size:.84rem;border-radius:5px;color:var(--nf-muted);background:var(--soft,#edf2f7);}
.nf-choice:has(input:checked) {border-color:var(--blue,#145be1);}
.nf-choice:has(input:checked) .nf-letter {background:var(--action,#145be1);color:white;}
.nf-choice:has(input:disabled) {cursor:default;}
.nf-submit-row,.nf-end-confirm {border-top:1px solid var(--nf-line);padding-top:16px;margin-top:15px;}
.nf-submit-row {display:flex;align-items:center;justify-content:space-between;gap:10px;}
.nf-link[aria-pressed="true"] {color:var(--nf-ink);}
.nf-end-confirm {background:var(--nf-panel);border-radius:9px;padding:15px;}
.nf-end-confirm p {margin:6px 0 12px;}
.nf-exit {margin-top:8px;color:var(--nf-muted);font-size:.86rem!important;}
.nf-step b {color:var(--blue,#145be1);}
.nf-order-list {padding-left:25px;margin:0;}
.nf-order-list li {padding-left:4px;}
.nf-order-list button {font-size:.8rem!important;margin-left:8px;}
.nf-matrix label {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(150px,1fr);gap:12px;align-items:center;padding-block:7px;border-bottom:1px solid var(--nf-line);}
.nf-matrix select {margin:0;}
.nf-feedback {border-inline-start:4px solid #b17e35;background:var(--soft,#eff4f8);padding:17px 19px;margin-top:18px;scroll-margin-top:16px;}
.nf-right {border-color:#318574;}
.nf-feedback p,.nf-review-body p {line-height:1.55;}
.nf-feedback a {font-weight:650;font-size:.85rem;}
.nf-answer-key {margin-top:16px;}
.nf-answer-key ul,.nf-answer-key ol,.nf-review-body>ul,.nf-review-body>ol {padding-left:20px;margin-block:5px;}
.nf-strip {max-width:660px;background:#0c2029;color:#b1f0c5;border-radius:8px;padding:11px 14px;margin:12px 0 22px;}
.nf-strip figcaption {display:flex;justify-content:space-between;color:white;}
.nf-strip svg {display:block;width:100%;height:auto;background-image:linear-gradient(#597a6a44 1px,transparent 1px),linear-gradient(90deg,#597a6a44 1px,transparent 1px);background-size:3.33% 18.18%;}
.nf-strip details {margin-top:6px;font-size:.78rem;color:white;}
.nf-strip summary {cursor:pointer;}
.nf-result-head {padding:clamp(20px,4vw,44px);border-radius:14px 14px 0 0;}
.nf-result-head .nf-coach-label small {color:#ffda9f;}
.nf-result-head h1 {color:white;margin:20px 0 12px;font-size:clamp(2rem,4.2vw,3.8rem);letter-spacing:-.035em;}
.nf-score {display:flex;align-items:center;gap:16px;}
.nf-score b {color:var(--nf-amber);font-size:clamp(2.8rem,6vw,4.5rem);line-height:1.05;}
.nf-score span {font-size:.9rem;line-height:1.5;}
.nf-again button {margin-bottom:8px;}
.nf-review {margin-top:28px;}
.nf-tabs {display:flex;flex-wrap:wrap;gap:5px;margin-bottom:14px;}
.nf-tabs button {border:1px solid var(--nf-line);border-radius:6px;min-height:40px;padding:6px 13px;background:var(--nf-panel);color:var(--nf-ink);}
.nf-tabs button[aria-pressed="true"] {background:var(--nf-night);color:white;}
.nf-review-item {background:var(--nf-panel);border-block-end:1px solid var(--nf-line);}
.nf-review-item summary {list-style:none;display:flex;gap:14px;align-items:start;font-weight:650;padding:16px;line-height:1.4;}
.nf-review-item summary::after {content:"+";margin-left:auto;}
.nf-review-item[open] summary::after {content:"−";}
.nf-review-item summary small {display:block;color:var(--nf-muted);font-size:.72rem;}
.nf-dot {min-width:32px;padding:6px 3px;border-radius:5px;text-align:center;color:#172b3c;background:#e5eaf0;}
.nf-dot-correct {background:#d2eee2;color:#124435;}
.nf-dot-missed {background:#f5dddd;color:#662626;}
.nf-review-body {padding:0 16px 17px;}
@media (prefers-reduced-motion:no-preference) {
  .nf-sheet .nf-coach-motion {animation:nf-briefing 1.15s steps(1,end) 2;}
  @keyframes nf-briefing {0%,92%{background-position:0 0}22%{background-position:100% 0}38%{background-position:0 100%}62%{background-position:100% 0}76%{background-position:100% 100%}}
  .nf-hero-art {animation:nf-enter 1.1s ease-out both;}
  @keyframes nf-enter {from{transform:scale(1.026)}to{transform:scale(1)}}
  .nf-feedback,.nf-case {animation:nf-note .22s ease-out both;}
  @keyframes nf-note {from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
  .nf-progress span {transition:width .25s ease-out;}
}
@media(max-width:780px) {
  .nf-config,.nf-summary {grid-template-columns:1fr;}
  .nf-brief,.nf-again {border-left:0;border-top:1px solid var(--nf-line);}
  .nf-hero-copy {max-width:59%;}
}
@media(max-width:510px) {
  .nf {padding:10px 10px 35px;}
  .nf-hero {min-height:278px;align-items:end;}
  .nf-hero-art {object-position:65% 0;}
  .nf-hero::after {background:linear-gradient(0deg,#0a1829f7,transparent 85%),linear-gradient(90deg,#0a18298c,transparent 80%);}
  .nf-hero-copy {max-width:100%;padding:19px 15px 15px;}
  .nf .nf-hero h1 {font-size:clamp(2.65rem,11vw,3.65rem);max-width:65%;margin-bottom:9px;}
  .nf-hero p {font-size:.88rem;max-width:36ch;}
  .nf-options,.nf-brief,.nf-summary>div,.nf-sheet {padding:18px 13px;}
  .nf-level span {font-size:.83rem;}
  .nf-matrix label {grid-template-columns:1fr;gap:3px;}
  .nf-submit-row {align-items:stretch;}
  .nf-filters {grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);}
  .nf-mode span {padding:9px;}
  .nf-qmeta {gap:4px 12px;margin-bottom:12px;}
}
