/*
 * NAVLE Workspace Shell — scoped workspace chrome and route composition.
 *
 * Scope: app header, left workspace rail, mobile bottom navigation, mobile
 * drawer, account-state display, and approved workspace route composition.
 * All selectors are namespaced with .nws- so the shell never restyles page
 * content rendered by existing page JavaScript. Do not merge these rules into
 * site-chrome.css; keep the shell scoped (see SHELL-CONTRACT).
 *
 * Synchronized markup comes from scripts/lib/navle-workspace-shell.mjs via
 * scripts/sync-navle-workspace-shell.mjs.
 */

.nws-app,
.nws-drawer {
  --nws-navy-950: #0b2036;
  --nws-navy-900: #102a43;
  --nws-navy-800: #173b5e;
  --nws-slate-600: #52667a;
  --nws-slate-500: #697b8d;
  --nws-slate-400: #8b9aaa;
  --nws-slate-300: #c6d0d9;
  --nws-slate-200: #dce4ea;
  --nws-slate-150: #e8edf1;
  --nws-slate-100: #f1f5f7;
  --nws-paper: #ffffff;
  --nws-teal-800: #0b5f5a;
  --nws-teal-700: #0f766e;
  --nws-teal-600: #149188;
  --nws-teal-100: #dff3ef;
  --nws-teal-50: #eef8f6;
  --nws-blue-700: var(--dvm-color-info, #245f91);
  --nws-blue-50: #f0f6fb;
  --nws-amber-800: #9a5507;
  --nws-amber-600: #d9860b;
  --nws-amber-50: #fff8e8;
  --nws-shadow-xs: 0 1px 2px rgba(16, 42, 67, 0.05);
  --nws-shadow-md: 0 18px 48px rgba(16, 42, 67, 0.12);
  --nws-radius-md: 14px;
  --nws-rail-w: 252px;
  --nws-header-h: 72px;
  --nws-transition: 160ms ease;
}

.nws-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.nws-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#nws-icon-paw,
#nws-icon-spark {
  fill: currentColor;
  stroke: none;
}

.nws-app :where(a, button):focus-visible,
.nws-drawer :where(a, button):focus-visible {
  outline: 3px solid rgba(20, 125, 117, 0.28);
  outline-offset: 2px;
}

/* ---- App frame ---------------------------------------------------------- */

.nws-app {
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--nws-rail-w) minmax(0, 1fr);
  grid-template-rows: var(--nws-header-h) minmax(0, 1fr);
}

.nws-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  height: var(--nws-header-h);
  grid-column: 1 / -1;
  grid-row: 1;
  grid-template-columns: var(--nws-rail-w) minmax(0, 1fr) auto;
  align-items: center;
  padding-right: 26px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--nws-slate-150);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nws-brand {
  display: inline-flex;
  height: 100%;
  align-items: center;
  gap: 9px;
  padding: 0 24px;
  color: var(--nws-navy-900);
  text-decoration: none;
}

.nws-brand__logo {
  display: block;
  width: 148px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

.nws-header__context {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 12px;
  padding-left: 28px;
}

.nws-eyebrow {
  margin: 0;
  color: var(--nws-teal-700);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nws-header__context strong {
  font-size: 1rem;
}

.nws-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nws-header__menu {
  display: none;
}

.nws-icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--nws-navy-900);
  background: #fff;
  border: 1px solid var(--nws-slate-200);
  border-radius: 12px;
  cursor: pointer;
}

.nws-icon-button:hover {
  border-color: var(--nws-slate-300);
  box-shadow: var(--nws-shadow-xs);
}

/* Keep the drawer trigger hidden on desktop despite .nws-icon-button display. */
.nws-header .nws-header__menu {
  display: none;
}

.nws-access-pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  color: var(--nws-teal-800);
  background: var(--nws-teal-50);
  border: 1px solid #cde8e3;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.nws-access-pill__dot {
  width: 7px;
  height: 7px;
  background: var(--nws-teal-600);
  border-radius: 999px;
}

body[data-nws-account-state="free"] .nws-access-pill,
body[data-nws-account-state="signedout"] .nws-access-pill {
  color: var(--nws-blue-700);
  background: var(--nws-blue-50);
  border-color: #d5e4f1;
}

body[data-nws-account-state="free"] .nws-access-pill__dot,
body[data-nws-account-state="signedout"] .nws-access-pill__dot {
  background: var(--nws-blue-700);
}

body[data-nws-account-state="expired"] .nws-access-pill {
  color: var(--nws-amber-800);
  background: var(--nws-amber-50);
  border-color: #f2dca9;
}

body[data-nws-account-state="expired"] .nws-access-pill__dot {
  background: var(--nws-amber-600);
}

.nws-header__auth {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 6px 8px;
  color: var(--nws-navy-800);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.nws-header__auth:hover {
  color: var(--nws-teal-800);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nws-header__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  color: #fff;
  background: var(--nws-teal-700);
  border: 1px solid var(--nws-teal-700);
  border-radius: 10px;
  box-shadow: 0 7px 16px rgba(15, 118, 110, 0.15);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--nws-transition),
    border-color var(--nws-transition);
}

.nws-header__cta:hover {
  color: #fff;
  background: var(--nws-teal-800);
  border-color: var(--nws-teal-800);
}

/* ---- Left rail ---------------------------------------------------------- */

.nws-rail {
  position: sticky;
  top: var(--nws-header-h);
  z-index: 20;
  display: flex;
  height: calc(100vh - var(--nws-header-h));
  min-height: 0;
  grid-column: 1;
  grid-row: 2;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow-y: auto;
  padding: 22px 16px 18px;
  background: #fff;
  border-right: 1px solid var(--nws-slate-150);
}

.nws-nav-section + .nws-nav-section {
  margin-top: 20px;
}

.nws-nav-section__label {
  margin: 0 0 7px 12px;
  color: var(--nws-slate-500);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.nws-nav-link {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  color: var(--nws-slate-600);
  text-align: left;
  border-radius: 10px;
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    color var(--nws-transition),
    background var(--nws-transition);
}

.nws-nav-link:hover {
  color: var(--nws-navy-900);
  background: var(--nws-slate-100);
}

.nws-nav-link.is-active {
  color: var(--nws-teal-800);
  background: var(--nws-teal-50);
  font-weight: 720;
}

.nws-rail .nws-nav-link.is-active::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -16px;
  width: 3px;
  background: var(--nws-teal-700);
  border-radius: 0 3px 3px 0;
  content: "";
}

.nws-nav-link--soon {
  color: var(--nws-slate-500);
}

.nws-nav-badge {
  margin-left: auto;
  padding: 3px 7px;
  color: var(--nws-slate-600);
  background: var(--nws-slate-100);
  border: 1px solid var(--nws-slate-150);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nws-rail__access {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 14px;
  background: var(--nws-teal-50);
  border: 1px solid #d1e9e5;
  border-radius: var(--nws-radius-md);
}

.nws-rail__access > .nws-icon {
  color: var(--nws-teal-700);
}

.nws-rail__access strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.86rem;
}

.nws-rail__access p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.4;
}

.nws-rail__access .nws-text-link {
  grid-column: 2;
  justify-self: start;
}

body[data-nws-account-state="free"] .nws-rail__access,
body[data-nws-account-state="signedout"] .nws-rail__access {
  background: var(--nws-blue-50);
  border-color: #d9e7f2;
}

body[data-nws-account-state="free"] .nws-rail__access > .nws-icon,
body[data-nws-account-state="signedout"] .nws-rail__access > .nws-icon {
  color: var(--nws-blue-700);
}

body[data-nws-account-state="expired"] .nws-rail__access {
  background: var(--nws-amber-50);
  border-color: #f0d9a7;
}

body[data-nws-account-state="expired"] .nws-rail__access > .nws-icon {
  color: var(--nws-amber-800);
}

.nws-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  color: var(--nws-teal-700);
  font-size: 0.82rem;
  font-weight: 720;
  text-decoration: none;
}

.nws-text-link:hover {
  color: var(--nws-teal-800);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Main column -------------------------------------------------------- */

.nws-main {
  min-width: 0;
  grid-column: 2;
  grid-row: 2;
}

/* ---- Bottom navigation (phone) ------------------------------------------ */

.nws-bottom-nav {
  display: none;
}

/* ---- Drawer -------------------------------------------------------------- */

.nws-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 20, 34, 0.48);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nws-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: min(88vw, 350px);
  overflow-y: auto;
  padding: 0 16px 28px;
  background: #fff;
  box-shadow: var(--nws-shadow-md);
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 220ms ease;
}

.nws-drawer[aria-hidden="false"] {
  transform: translateX(0);
  visibility: visible;
}

.nws-drawer__header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--nws-slate-150);
}

.nws-drawer__header .nws-brand {
  order: 1;
  min-height: 44px;
  padding: 0;
}

.nws-drawer__header .nws-icon-button {
  order: 2;
}

.nws-drawer .nws-nav-section__label {
  margin-top: 22px;
}

.nws-drawer__account {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--nws-slate-150);
}

.nws-drawer__account .nws-header__auth {
  padding: 6px 11px;
}

body.nws-scroll-locked {
  overflow: hidden;
}

/* ---- Responsive ---------------------------------------------------------- */

@media (max-width: 1180px) {
  .nws-app,
  .nws-drawer {
    --nws-rail-w: 232px;
  }
}

@media (max-width: 900px) {
  .nws-app,
  .nws-drawer {
    --nws-header-h: 64px;
  }

  .nws-app {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: var(--nws-header-h) minmax(0, 1fr);
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .nws-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0 16px;
  }

  .nws-header > .nws-brand {
    display: none;
  }

  .nws-header > .nws-header__menu {
    display: inline-grid;
    margin-right: 12px;
  }

  .nws-header__context {
    padding: 0;
  }

  .nws-header__context .nws-eyebrow {
    display: none;
  }

  .nws-header__context strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .nws-header__actions .nws-header__auth {
    display: none;
  }

  .nws-rail {
    display: none;
    visibility: hidden;
  }

  .nws-main {
    grid-column: 1;
    grid-row: 2;
  }

  .nws-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    min-height: 68px;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px max(8px, env(safe-area-inset-right))
      calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--nws-slate-200);
    box-shadow: 0 -8px 22px rgba(16, 42, 67, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nws-bottom-nav__item {
    display: grid;
    min-height: 52px;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 4px;
    color: var(--nws-slate-500);
    border-radius: 8px;
    font-size: 0.66rem;
    font-weight: 650;
    text-decoration: none;
  }

  .nws-bottom-nav__item .nws-icon {
    width: 21px;
    height: 21px;
  }

  .nws-bottom-nav__item.is-active {
    color: var(--nws-teal-800);
    background: var(--nws-teal-50);
  }

  .nws-bottom-nav__item .nws-nav-badge {
    margin-left: 2px;
    padding: 1px 5px;
    font-size: 0.56rem;
  }
}

@media (max-width: 720px) {
  .nws-access-pill {
    display: none;
  }
}

@media (max-width: 430px) {
  .nws-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .nws-header__menu {
    margin-right: 8px;
  }

  .nws-header__cta {
    padding: 9px 12px;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nws-app *,
  .nws-app *::before,
  .nws-app *::after,
  .nws-drawer,
  .nws-drawer *,
  .nws-drawer-overlay {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .nws-header,
  .nws-rail,
  .nws-bottom-nav,
  .nws-drawer,
  .nws-drawer-overlay {
    display: none !important;
  }

  .nws-app,
  .nws-main {
    display: block;
  }
}

/* ==========================================================================
   Batch 1B approved production visual contract
   ========================================================================== */

body[data-analytics-page="navle_dashboard"],
body[data-analytics-page="navle_qbank"] {
  margin: 0;
  color: #0b1d3a;
  background: #f4f7f8;
  font-family:
    "Source Sans 3",
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.nws-app,
.nws-drawer {
  --nws-navy-950: #0b1d3a;
  --nws-navy-900: #102847;
  --nws-navy-800: #173b5e;
  --nws-slate-600: #4e6179;
  --nws-slate-500: #718096;
  --nws-slate-300: #c8d3de;
  --nws-slate-200: #dbe3ea;
  --nws-slate-150: #e8edf1;
  --nws-slate-100: #f4f7f9;
  --nws-teal-800: #0b625c;
  --nws-teal-700: #0f766e;
  --nws-teal-600: #188d84;
  --nws-teal-100: #dff3ef;
  --nws-teal-50: #edf8f6;
  --nws-blue-700: var(--dvm-color-info, #245f91);
  --nws-blue-50: #f0f6fb;
  --nws-amber-800: #8a651c;
  --nws-amber-600: #c9a24a;
  --nws-amber-50: #fff9ea;
  --nws-radius-sm: 10px;
  --nws-radius-md: 14px;
  --nws-radius-lg: 18px;
  --nws-rail-w: 226px;
  --nws-header-h: 66px;
  --nws-shadow-xs: 0 1px 2px rgba(11, 29, 58, 0.04);
  --nws-shadow-sm: 0 7px 20px rgba(11, 29, 58, 0.06);
}

.nws-app {
  background: #f4f7f8;
}

.nws-header {
  grid-template-columns: var(--nws-rail-w) minmax(0, 1fr) auto;
  height: var(--nws-header-h);
  padding-right: 18px;
  border-color: #e6ebef;
  box-shadow: 0 1px 0 rgba(11, 29, 58, 0.02);
}

.nws-header > .nws-brand {
  padding: 0 18px;
}

.nws-brand__logo {
  width: 150px;
  max-height: 38px;
}

.nws-top-nav {
  display: flex;
  height: 100%;
  min-width: 0;
  align-items: stretch;
  justify-content: center;
  gap: 28px;
}

.nws-top-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--nws-navy-950);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.nws-top-nav a:hover {
  color: var(--nws-teal-700);
}

.nws-top-nav a.is-active {
  color: var(--nws-teal-700);
}

.nws-top-nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--nws-teal-700);
  border-radius: 3px 3px 0 0;
  content: "";
}

.nws-header__context {
  display: none;
}

.nws-header__actions {
  gap: 7px;
}

.nws-header__auth {
  gap: 7px;
  padding: 6px 10px;
  border-radius: 10px;
}

.nws-header__auth .nws-icon {
  width: 18px;
  height: 18px;
}

.nws-header__cta {
  padding-right: 14px;
  padding-left: 14px;
}

.nws-access-pill {
  min-height: 34px;
  font-size: 0.74rem;
}

.nws-rail {
  padding: 20px 14px 16px;
  border-color: #e6ebef;
}

.nws-nav-section + .nws-nav-section {
  margin-top: 14px;
}

.nws-nav-section__label {
  margin-left: 10px;
  font-size: 0.62rem;
}

.nws-nav-link {
  gap: 10px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.nws-rail .nws-nav-link.is-active::before {
  left: -14px;
}

.nws-rail__access {
  padding: 12px;
}

.nws-main {
  min-height: calc(100vh - var(--nws-header-h));
  overflow: clip;
  background:
    radial-gradient(circle at 95% 0%, rgba(201, 162, 74, 0.08), transparent 26rem),
    radial-gradient(circle at 0% 0%, rgba(15, 118, 110, 0.06), transparent 28rem),
    #f4f7f8;
}

.nws-content {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 24px 24px 30px;
}

.nws-section-kicker {
  display: block;
  margin: 0 0 5px;
  color: var(--nws-teal-700);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nws-hero {
  position: relative;
  display: grid;
  min-height: 184px;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(15, 118, 110, 0.13), transparent 30%),
    linear-gradient(105deg, #fffdfb 0%, #f8fbfa 58%, #faf5ef 100%);
  border: 1px solid #dfe7eb;
  border-radius: var(--nws-radius-lg);
  box-shadow: var(--nws-shadow-sm);
}

.nws-hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--nws-teal-700);
  content: "";
}

.nws-hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 28px 20px 28px 30px;
}

.nws-hero h1 {
  max-width: 590px;
  margin: 0;
  color: var(--nws-navy-950);
  font-size: clamp(2rem, 3vw, 2.72rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.nws-hero__copy > p {
  max-width: 590px;
  margin: 11px 0 0;
  color: #465a73;
  font-size: 0.98rem;
  line-height: 1.48;
}

.nws-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.nws-hero__actions .button {
  min-height: 44px;
}

.nws-hero__actions .nws-icon {
  width: 17px;
  height: 17px;
}

.nws-hero__art {
  position: absolute;
  right: -2%;
  bottom: -1px;
  z-index: 1;
  width: min(46%, 520px);
  height: 96%;
  object-fit: contain;
  object-position: right bottom;
}

.nws-hero--qbank {
  min-height: 162px;
}

.nws-hero--qbank .nws-hero__actions {
  position: absolute;
  width: 1px;
  height: 44px;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.nws-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.nws-metric {
  display: grid;
  min-width: 0;
  min-height: 102px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 14px;
  background: var(--nws-metric-bg, #f7f9fc);
  border: 1px solid var(--nws-metric-border, #dce5ee);
  border-radius: var(--nws-radius-md);
  box-shadow: var(--nws-shadow-xs);
}

.nws-metric__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--nws-metric-ink, var(--nws-navy-800));
  background: var(--nws-metric-icon, #eaf0f7);
  border-radius: 11px;
}

.nws-metric__icon .nws-icon {
  width: 20px;
  height: 20px;
}

.nws-metric div {
  display: grid;
  min-width: 0;
}

.nws-metric div > span {
  color: #3c4d65;
  font-size: 0.72rem;
  font-weight: 700;
}

.nws-metric strong {
  margin-top: 1px;
  color: var(--nws-navy-950);
  font-size: 1.48rem;
  letter-spacing: -0.035em;
  line-height: 1;
}

.nws-metric small {
  margin-top: 6px;
  color: #718096;
  font-size: 0.66rem;
  line-height: 1.25;
}

.nws-metric--navy {
  --nws-metric-bg: #f5f8fc;
  --nws-metric-border: #dce5ef;
  --nws-metric-icon: #e7eef8;
  --nws-metric-ink: #173b5e;
}

.nws-metric--blue {
  --nws-metric-bg: #f3f8fc;
  --nws-metric-border: #d9e8f2;
  --nws-metric-icon: #dff0f7;
  --nws-metric-ink: var(--dvm-color-info, #245f91);
}

.nws-metric--teal {
  --nws-metric-bg: #f0faf8;
  --nws-metric-border: #d3ebe6;
  --nws-metric-icon: #d9f1ec;
  --nws-metric-ink: #0f766e;
}

.nws-metric--amber {
  --nws-metric-bg: #fffaf0;
  --nws-metric-border: #f0dfb7;
  --nws-metric-icon: #f7eccd;
  --nws-metric-ink: #9a7423;
}

.nws-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(280px, 0.78fr);
  align-items: start;
  gap: 14px;
  margin-top: 14px;
}

.nws-panel,
.nws-context-card,
.nws-coming-soon,
.nws-filter-panel,
.nws-block-section,
.nws-premium-library {
  background: #fff;
  border: 1px solid #dfe6eb;
  border-radius: var(--nws-radius-md);
  box-shadow: var(--nws-shadow-xs);
}

.nws-panel,
.nws-block-section,
.nws-premium-library {
  padding: 18px;
}

.nws-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.nws-section-heading h2,
.nws-context-heading h2 {
  margin: 0;
  color: var(--nws-navy-950);
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.nws-section-heading p {
  margin: 4px 0 0;
  color: #687991;
  font-size: 0.75rem;
}

.nws-section-heading > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: var(--nws-teal-700);
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.nws-section-heading > a .nws-icon {
  width: 16px;
  height: 16px;
}

.nws-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nws-route-card {
  position: relative;
  display: flex;
  min-height: 212px;
  flex-direction: column;
  overflow: hidden;
  padding: 14px;
  background: var(--nws-route-bg);
  border: 1px solid var(--nws-route-border);
  border-radius: 12px;
}

.nws-route-card::after {
  position: absolute;
  top: -34px;
  right: -22px;
  width: 116px;
  height: 92px;
  background: var(--nws-route-orb);
  border-radius: 50%;
  content: "";
  opacity: 0.55;
}

.nws-route-card--navy {
  --nws-route-bg: #f4f7fb;
  --nws-route-border: #dbe4ef;
  --nws-route-orb: #d8e2f0;
  --nws-route-ink: #173b5e;
}

.nws-route-card--blue {
  --nws-route-bg: #eff7fb;
  --nws-route-border: #d6e8f2;
  --nws-route-orb: #cce7f1;
  --nws-route-ink: var(--dvm-color-info, #245f91);
}

.nws-route-card--teal {
  --nws-route-bg: #eef9f7;
  --nws-route-border: #d2ebe6;
  --nws-route-orb: #c6e7e1;
  --nws-route-ink: #0f766e;
}

.nws-route-card--amber {
  --nws-route-bg: #fff9ed;
  --nws-route-border: #efdfb8;
  --nws-route-orb: #f2ddb0;
  --nws-route-ink: #8f6d27;
}

.nws-route-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nws-route-card__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--nws-route-ink);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 10px;
}

.nws-route-card__badge {
  padding: 4px 7px;
  color: var(--nws-route-ink);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
}

.nws-route-card__eyebrow {
  margin-top: 10px;
  color: var(--nws-route-ink);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nws-route-card h3 {
  margin: 2px 0 0;
  color: var(--nws-navy-950);
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.nws-route-card p {
  margin: 7px 0 12px;
  color: #566880;
  font-size: 0.76rem;
  line-height: 1.38;
}

.nws-route-card > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--nws-route-ink);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.nws-route-card > a .nws-icon {
  width: 15px;
  height: 15px;
}

.nws-context-column,
.nws-qbank-aside {
  display: grid;
  gap: 10px;
}

.nws-context-card {
  padding: 14px;
}

.nws-context-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.nws-context-heading h2 {
  font-size: 0.98rem;
}

.nws-context-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #173b5e;
  background: #e8eef7;
  border-radius: 10px;
}

.nws-context-icon--teal {
  color: #0f766e;
  background: #dff3ef;
}

.nws-empty-state {
  display: grid;
  justify-items: center;
  margin-top: 12px;
  padding: 13px;
  text-align: center;
  background: #f7f9fb;
  border: 1px dashed #cfd9e3;
  border-radius: 11px;
}

.nws-empty-state__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #7a8aa0;
  background: #fff;
  border-radius: 50%;
}

.nws-empty-state strong {
  margin-top: 8px;
  font-size: 0.84rem;
}

.nws-empty-state p {
  margin: 3px 0 8px;
  color: #6a7b91;
  font-size: 0.68rem;
  line-height: 1.35;
}

.nws-empty-state .button {
  min-height: 40px;
  padding: 7px 11px;
  font-size: 0.7rem;
}

.nws-step-list,
.nws-check-list,
.nws-plain-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.nws-step-list li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 8px;
}

.nws-step-list li > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #0f766e;
  background: #e3f4f0;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 800;
}

.nws-step-list strong,
.nws-step-list small {
  display: block;
}

.nws-step-list strong {
  color: #233954;
  font-size: 0.74rem;
}

.nws-step-list small {
  margin-top: 1px;
  color: #77879a;
  font-size: 0.63rem;
}

.nws-coming-soon {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #fffaf0;
  border-color: #eeddb4;
}

.nws-coming-soon__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #8a651c;
  background: #f6e9c7;
  border-radius: 10px;
}

.nws-coming-soon strong,
.nws-coming-soon p {
  display: block;
}

.nws-coming-soon strong {
  color: #253751;
  font-size: 0.76rem;
}

.nws-coming-soon p {
  margin: 2px 0 0;
  color: #7a6b4c;
  font-size: 0.63rem;
  line-height: 1.3;
}

.nws-coming-soon__badge {
  padding: 5px 8px;
  color: #8a651c;
  background: #fff;
  border: 1px solid #ead59f;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nws-truth-banner {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  background: #edf8f6;
  border: 1px solid #d3eae6;
  border-radius: var(--nws-radius-md);
}

.nws-truth-banner__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #0f766e;
  background: #d9f0eb;
  border-radius: 10px;
}

.nws-truth-banner strong {
  color: #15314b;
  font-size: 0.78rem;
}

.nws-truth-banner p {
  margin: 2px 0 0;
  color: #61758a;
  font-size: 0.66rem;
}

.nws-truth-banner > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: #0f766e;
  background: #fff;
  border: 1px solid #cae2de;
  border-radius: 9px;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
}

.nws-truth-banner > a .nws-icon {
  width: 15px;
  height: 15px;
}

.nws-state-detail,
.nws-workspace-history {
  padding-top: 0;
}

.nws-workspace-history {
  margin-top: 0;
}

/* QBank */

.nws-resume-panel {
  margin-bottom: 14px;
}

.nws-filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px;
}

.nws-search-field {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #f9fbfc;
  border: 1px solid #d7e0e8;
  border-radius: 10px;
}

.nws-search-field:focus-within {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.11);
}

.nws-search-field .nws-icon {
  color: #7a8a9d;
}

.nws-search-field input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  color: #0b1d3a;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.84rem;
}

.nws-search-field .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.nws-filter-actions {
  display: flex;
  gap: 7px;
}

.nws-filter-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  color: #596a80;
  background: #fff;
  border: 1px solid #d8e1e8;
  border-radius: 9px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.nws-filter-button:hover,
.nws-filter-button.is-selected,
.nws-filter-button[aria-pressed="true"] {
  color: #0f766e;
  background: #edf8f6;
  border-color: #bfe0da;
}

.nws-filter-button .nws-icon {
  width: 17px;
  height: 17px;
}

.nws-qbank-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  align-items: start;
  gap: 14px;
  margin-top: 14px;
}

.nws-qbank-primary {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.nws-inventory-note {
  padding: 5px 8px;
  color: #6d7d91;
  background: #f3f6f8;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}

.nws-block-section .navle-block-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

#timed-blocks.nws-block-section {
  background: #fff;
}

#timed-blocks.nws-block-section::before {
  display: none !important;
}

#timed-blocks > .nws-section-heading {
  margin-bottom: 14px;
  padding: 0 !important;
  color: var(--nws-navy-950) !important;
  background: transparent !important;
  border-radius: 0 !important;
}

#timed-blocks > .nws-section-heading h2 {
  color: var(--nws-navy-950) !important;
  font-size: 1.18rem !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
}

#timed-blocks > .nws-section-heading p {
  color: #687991 !important;
}

.nws-block-section .navle-block-card {
  min-width: 0;
  min-height: 260px;
  padding: 13px;
  border-radius: 11px;
  box-shadow: none;
}

.nws-block-section .navle-block-card::before {
  height: 3px;
}

.nws-block-section .navle-block-card__header {
  align-items: flex-start;
  gap: 6px;
}

.nws-block-section .navle-block-card__header > div:last-child {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nws-block-section .navle-block-card h3 {
  font-size: 0.9rem;
}

.nws-block-section .section-kicker {
  font-size: 0.58rem;
}

.nws-block-section .navle-chip {
  padding: 3px 6px;
  font-size: 0.56rem;
}

.nws-block-section .navle-block-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.nws-block-section .navle-block-card__meta span {
  padding: 4px 6px;
  font-size: 0.61rem;
}

.navle-block-card__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.navle-block-card__topics span {
  padding: 4px 6px;
  color: #66778d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #e1e7ec;
  border-radius: 999px;
  font-size: 0.55rem;
  line-height: 1.1;
}

.nws-block-section .navle-block-card__footer {
  margin-top: auto;
}

.nws-block-section .navle-block-card__actions .button {
  width: 100%;
  padding-right: 8px;
  padding-left: 8px;
  font-size: 0.66rem;
}

.nws-no-blocks {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px 20px;
  color: #62758b;
  text-align: center;
  background: #f7f9fb;
  border: 1px dashed #cdd8e1;
  border-radius: 10px;
}

.nws-premium-range-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nws-range-card {
  display: grid;
  min-height: 74px;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 9px;
  padding: 10px;
  color: #243953;
  text-align: left;
  background: #f8fafb;
  border: 1px solid #dfe6eb;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}

.nws-range-card:hover {
  background: #f1f7f6;
  border-color: #cbe2de;
}

.nws-range-card__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #947128;
  background: #f7eccf;
  border-radius: 9px;
}

.nws-range-card__icon--teal {
  color: #0f766e;
  background: #ddf1ed;
}

.nws-range-card strong,
.nws-range-card small {
  display: block;
}

.nws-range-card strong {
  font-size: 0.74rem;
}

.nws-range-card small {
  margin-top: 2px;
  color: #718096;
  font-size: 0.6rem;
  line-height: 1.3;
}

.nws-access-status {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 7px;
  color: #0f766e;
  background: #e8f6f3;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
}

.nws-access-card > p {
  margin: 8px 0 0;
  color: #64768c;
  font-size: 0.7rem;
  line-height: 1.4;
}

.nws-access-total {
  display: block;
  margin-top: 10px;
  padding: 8px 10px;
  color: #0f766e;
  background: #eaf7f4;
  border-radius: 9px;
  font-size: 1.18rem;
}

.nws-access-total span {
  font-size: 0.66rem;
  font-weight: 700;
}

.nws-check-list {
  gap: 6px;
}

.nws-check-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #51647a;
  font-size: 0.68rem;
}

.nws-check-list .nws-icon {
  width: 14px;
  height: 14px;
  color: #0f766e;
}

.nws-access-card > .button {
  width: 100%;
  min-height: 42px;
  margin-top: 11px;
  font-size: 0.7rem;
}

.nws-plain-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
}

.nws-plain-list li > span {
  color: #a27b2a;
  font-size: 0.62rem;
  font-weight: 800;
}

.nws-plain-list p {
  margin: 0;
  color: #5e7086;
  font-size: 0.68rem;
  line-height: 1.35;
}

.nws-simulation-promo {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 9px;
  min-height: 76px;
  padding: 11px;
  color: #6d5420;
  background: #fff8e8;
  border: 1px solid #eddaaa;
  border-radius: var(--nws-radius-md);
  text-decoration: none;
}

.nws-simulation-promo > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #f5e7c3;
  border-radius: 9px;
}

.nws-simulation-promo small,
.nws-simulation-promo strong {
  display: block;
}

.nws-simulation-promo small {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nws-simulation-promo strong {
  color: #263a52;
  font-size: 0.75rem;
}

.nws-simulation-promo p {
  margin: 2px 0 0;
  font-size: 0.61rem;
}

.nws-qbank-legacy-modes {
  display: none;
}

.nws-qbank-page .qbank-progress-insights,
.nws-qbank-page .qbank-recent,
.nws-qbank-page .qbank-premium-proof {
  margin-top: 14px;
}

@media (max-width: 1180px) {
  .nws-top-nav {
    gap: 18px;
  }

  .nws-access-pill {
    display: none;
  }

  .nws-block-section .navle-block-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nws-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0 12px;
  }

  .nws-header > .nws-brand {
    display: inline-flex;
    min-width: 0;
    justify-self: start;
    padding: 0;
  }

  .nws-header > .nws-header__menu {
    display: inline-grid;
    margin-right: 10px;
  }

  .nws-top-nav,
  .nws-header__context,
  .nws-header__actions .nws-access-pill {
    display: none;
  }

  .nws-header .nws-header__cta {
    display: none !important;
  }

  .nws-header__actions .nws-header__auth:not([hidden]) {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: var(--nws-navy-950);
    border-radius: 50%;
  }

  .nws-header__auth span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .nws-content {
    padding: 16px 16px 24px;
  }

  .nws-workspace-grid,
  .nws-qbank-layout {
    grid-template-columns: 1fr;
  }

  .nws-qbank-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nws-simulation-promo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .nws-content {
    padding: 12px 12px 22px;
  }

  .nws-hero {
    min-height: 430px;
    grid-template-columns: 1fr;
    align-content: start;
  }

  .nws-hero__copy {
    padding: 24px 18px 18px;
  }

  .nws-hero h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.25rem);
    line-height: 1;
  }

  .nws-hero__copy > p {
    font-size: 0.9rem;
  }

  .nws-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nws-hero__actions .button {
    justify-content: center;
    width: 100%;
  }

  .nws-hero--workspace .nws-hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .nws-hero--workspace .nws-hero__actions .button {
    width: auto;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.76rem;
  }

  .nws-hero__art {
    right: -4%;
    bottom: 0;
    width: 108%;
    max-width: none;
    height: 47%;
    object-position: right bottom;
  }

  .nws-hero--qbank {
    min-height: 330px;
  }

  .nws-hero--qbank .nws-hero__art {
    height: 52%;
  }

  .nws-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .nws-metric {
    min-height: 132px;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 12px;
  }

  .nws-route-grid,
  .nws-premium-range-grid,
  .nws-qbank-aside {
    grid-template-columns: 1fr;
  }

  .nws-route-card {
    min-height: 206px;
  }

  .nws-filter-panel {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .nws-filter-actions {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .nws-block-section .navle-block-grid {
    grid-template-columns: 1fr;
  }

  .nws-block-section .navle-block-card {
    min-height: 0;
  }

  .nws-section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .nws-section-heading > a {
    align-self: flex-start;
  }

  .nws-inventory-note {
    align-self: flex-start;
  }

  .nws-coming-soon {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .nws-coming-soon__badge {
    grid-column: 2;
    justify-self: start;
  }

  .nws-truth-banner {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .nws-truth-banner > a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 390px) {
  .nws-brand__logo {
    width: 136px;
    max-height: 34px;
  }

  .nws-metric strong {
    font-size: 1.36rem;
  }
}

/* Phase 2A — shared full-workspace destinations */
body:has([data-nws-app]) > .skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1200;
  padding: 10px 14px;
  color: #102a43;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(109, 70, 229, 0.28);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 30, 55, 0.14);
  transform: translateY(calc(-100% - 18px));
}

body:has([data-nws-app]) > .skip-link:focus {
  transform: translateY(0);
}

.nws-fidelity-hero {
  position: relative;
  display: grid;
  min-height: 184px;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(15, 118, 110, 0.13), transparent 30%),
    linear-gradient(105deg, #fffdfb 0%, #f8fbfa 58%, #faf5ef 100%);
  border: 1px solid #dfe7eb;
  border-radius: var(--nws-radius-lg);
  box-shadow: var(--nws-shadow-sm);
  text-align: left;
}

.nws-fidelity-hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--nws-teal-700);
  content: "";
}

.nws-fidelity-hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 28px 20px 28px 30px;
}

.nws-fidelity-hero h1,
.nws-fidelity-hero .calc-v2-title {
  max-width: 590px;
  margin: 0;
  color: var(--nws-navy-950);
  font-size: clamp(2rem, 3vw, 2.72rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.nws-fidelity-hero__copy > p,
.nws-fidelity-hero .calc-v2-subtitle {
  max-width: 590px;
  margin: 11px 0 0;
  color: #465a73;
  font-size: 0.98rem;
  line-height: 1.48;
}

.nws-fidelity-hero__image {
  position: absolute;
  right: -2%;
  bottom: -1px;
  z-index: 1;
  width: min(46%, 520px);
  height: 96%;
  object-fit: contain;
  object-position: right bottom;
}

.nws-practice-page .container,
.nws-daily-page .dq-container,
.nws-daily-page .related-tools-section {
  width: 100%;
  max-width: none;
}

.nws-practice-page .practice-hero {
  padding: 0;
}

.nws-practice-page .practice-hero__actions {
  position: relative;
  z-index: 2;
}

.nws-practice-page .practice-stats-bar {
  margin-top: 0;
  border-color: #dfe7eb;
  border-radius: var(--nws-radius-md);
  box-shadow: var(--nws-shadow-xs);
}

.nws-practice-page .practice-setup-card {
  border-color: #dfe7eb;
  border-radius: var(--nws-radius-lg);
  box-shadow: var(--nws-shadow-sm);
}

.nws-simulation-page .nws-content {
  width: min(100%, 1220px);
}

.nws-simulation-page .sim-stats,
.nws-simulation-page .sim-sections,
.nws-simulation-page #sim-gate,
.nws-simulation-page #sim-ready,
.nws-simulation-page .sim-disclaimer {
  max-width: none;
}

.nws-simulation-page .sim-stats {
  margin: 0 0 16px;
}

.nws-simulation-page .sim-stat,
.nws-simulation-page .sim-sections,
.nws-simulation-page .sim-gate,
.nws-simulation-page .sim-ready-panel,
.nws-simulation-page .sim-form-card {
  border-color: #dfe7eb;
  box-shadow: var(--nws-shadow-xs);
}

.nws-simulation-page .sim-sections {
  margin-bottom: 16px;
}

.nws-simulation-page .sim-sections ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nws-simulation-page .sim-disclaimer {
  margin-bottom: 0;
}

.nws-daily-page .page,
.nws-daily-page .dose-workspace-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.nws-daily-page .calc-v2-header {
  display: grid;
}

.nws-daily-page .tool-tag {
  width: fit-content;
  margin-bottom: 10px;
}

.nws-daily-page .dq-email-card,
.nws-daily-page .related-tools-section,
.nws-daily-page .dq-card,
.nws-daily-page .dq-empty {
  border-color: #dfe7eb;
  box-shadow: var(--nws-shadow-xs);
}

.nws-daily-page .related-tools-section {
  margin-top: 20px;
}

body:has(.nws-daily-page) #cookie-banner > div {
  height: auto !important;
}

body:has(.nws-daily-page) #cookie-banner span {
  flex: 0 0 auto !important;
  height: auto !important;
}

body:has(.nws-daily-page) #cookie-banner > div > div {
  flex: 0 0 auto !important;
  height: auto !important;
}

body:has(.nws-daily-page) #cookie-banner button,
body:has(.nws-daily-page) #cookie-banner a {
  height: auto !important;
  min-height: 44px !important;
}

.nws-coming-soon-page .nws-content {
  display: grid;
  min-height: calc(100vh - var(--nws-header-h));
  align-items: center;
}

.nws-coming-soon-page .access-shell {
  position: relative;
  display: grid;
  min-height: 430px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: center;
  overflow: hidden;
  padding: clamp(24px, 5vw, 58px);
  background:
    radial-gradient(circle at 82% 18%, rgba(15, 118, 110, 0.13), transparent 30%),
    linear-gradient(105deg, #fffdfb 0%, #f8fbfa 58%, #faf5ef 100%);
  border: 1px solid #dfe7eb;
  border-radius: var(--nws-radius-lg);
  box-shadow: var(--nws-shadow-sm);
}

.nws-coming-soon-page .access-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 610px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.nws-coming-soon-page .access-panel h1 {
  color: var(--nws-navy-950);
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.045em;
}

.nws-coming-soon-page .nws-coming-soon-art {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(100%, 320px);
  height: auto;
  justify-self: center;
  align-self: center;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .nws-simulation-page .sim-sections ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nws-fidelity-hero {
    min-height: 410px;
    grid-template-columns: 1fr;
    align-content: start;
  }

  .nws-fidelity-hero__copy {
    padding: 24px 18px 18px;
  }

  .nws-fidelity-hero h1,
  .nws-fidelity-hero .calc-v2-title {
    font-size: clamp(1.8rem, 8.5vw, 2.25rem);
  }

  .nws-fidelity-hero__image {
    right: -4%;
    width: 108%;
    max-width: none;
    height: 47%;
  }

  .nws-practice-page .practice-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nws-practice-page .practice-hero__actions .button {
    justify-content: center;
    width: 100%;
  }

  .nws-practice-page .practice-stats-bar {
    grid-template-columns: 1fr;
  }

  .nws-simulation-page .sim-sections ul {
    grid-template-columns: 1fr;
  }

  body:has(.nws-daily-page) #cookie-banner > div > div {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) !important;
  }

  body:has(.nws-daily-page) #cookie-banner #cookie-accept {
    flex: 0 0 auto !important;
  }

  .nws-coming-soon-page .nws-content {
    min-height: auto;
  }

  .nws-coming-soon-page .access-shell {
    min-height: 640px;
    grid-template-columns: 1fr;
    align-content: start;
    padding: 28px 20px;
  }

  .nws-coming-soon-page .nws-coming-soon-art {
    right: auto;
    width: min(100%, 220px);
    max-width: 220px;
    height: auto;
    justify-self: center;
  }
}

/* ---- Phase 2B: evidence and review routes ------------------------------ */

.nws-performance-page,
.nws-results-page,
.nws-wrong-page,
.nws-review-page {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.nws-performance-page .nws-content,
.nws-results-page .nws-content,
.nws-wrong-page .nws-content,
.nws-review-page .nws-content {
  width: min(100%, 1260px);
}

.nws-page-guidance {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 15px 18px;
  color: var(--nws-navy-900);
  background:
    linear-gradient(110deg, rgba(238, 248, 246, 0.96), rgba(240, 246, 251, 0.9));
  border: 1px solid #d9e9e7;
  border-radius: var(--nws-radius-md);
}

.nws-page-guidance > .nws-icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--nws-teal-700);
  background: #fff;
  border: 1px solid #d7e7e4;
  border-radius: 12px;
}

.nws-page-guidance div {
  display: grid;
  gap: 3px;
}

.nws-page-guidance strong {
  font-size: 0.96rem;
}

.nws-page-guidance span {
  color: var(--nws-slate-600);
  font-size: 0.86rem;
  line-height: 1.5;
}

.nws-review-hero {
  position: relative;
  display: grid;
  min-height: 230px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 32px;
  overflow: hidden;
  margin-bottom: 20px;
  padding: clamp(26px, 4vw, 44px);
  background:
    radial-gradient(circle at 86% 15%, rgba(132, 204, 196, 0.18), transparent 28%),
    linear-gradient(112deg, #fffdfb 0%, #f4faf8 62%, #f0f6fb 100%);
  border: 1px solid #dce8e6;
  border-radius: 22px;
  box-shadow: var(--nws-shadow-xs);
}

.nws-review-hero::after {
  position: absolute;
  right: -32px;
  bottom: -56px;
  width: 220px;
  height: 220px;
  background: rgba(15, 118, 110, 0.06);
  border-radius: 999px;
  content: "";
}

.nws-review-hero h1 {
  margin: 8px 0 10px;
  color: var(--nws-navy-950);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.nws-review-hero p {
  max-width: 690px;
  margin: 0;
  color: var(--nws-slate-600);
  font-size: 1rem;
  line-height: 1.65;
}

.nws-review-hero__note {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 3px 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dce7e5;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.07);
}

.nws-review-hero__note .nws-icon {
  width: 44px;
  height: 44px;
  grid-row: 1 / 3;
  padding: 10px;
  color: var(--nws-blue-700);
  background: var(--nws-blue-50);
  border-radius: 12px;
}

.nws-review-hero__note strong {
  align-self: end;
  color: var(--nws-navy-900);
  font-size: 0.9rem;
}

.nws-review-hero__note span {
  color: var(--nws-slate-600);
  font-size: 0.8rem;
  line-height: 1.45;
}

.nws-performance-page .wd-grid {
  gap: 18px;
}

.nws-performance-page :is(.wd-card, .wd-panel, .wd-empty) {
  background: #fff;
  border-color: var(--nws-slate-150);
  border-radius: 16px;
  box-shadow: var(--nws-shadow-xs);
}

.nws-performance-page .wd-empty {
  min-height: 280px;
  align-content: center;
  padding: 36px 24px;
}

.nws-results-page :is(
  .results-hero,
  .results-section,
  .results-priority-path,
  .results-review-preview,
  .results-system-card,
  .results-support-card,
  .results-next-card
),
.nws-wrong-page :is(
  .review-hero,
  .review-controls,
  .review-card,
  .navle-empty-shell
),
.nws-review-page :is(
  .review-hero,
  .review-controls,
  .review-card,
  .review-empty-state
) {
  border-color: var(--nws-slate-150);
  border-radius: 16px;
  box-shadow: var(--nws-shadow-xs);
}

.nws-results-page .results-hero,
.nws-wrong-page .review-hero,
.nws-review-page .review-hero {
  background:
    radial-gradient(circle at 90% 0%, rgba(15, 118, 110, 0.1), transparent 30%),
    #fff;
}

.nws-app--compact {
  grid-template-columns: minmax(0, 1fr);
}

.nws-app--compact .nws-header {
  grid-template-columns: minmax(190px, var(--nws-rail-w)) minmax(0, 1fr) auto;
}

.nws-app--compact .nws-rail {
  display: none;
}

.nws-app--compact .nws-main {
  grid-column: 1;
}

.nws-app--compact .nws-content--review {
  width: min(100%, 1180px);
}

.nws-compact-review-bar {
  display: grid;
  min-height: 68px;
  grid-template-columns: minmax(150px, 0.8fr) minmax(180px, 1fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--nws-slate-150);
  border-radius: var(--nws-radius-md);
  box-shadow: var(--nws-shadow-xs);
}

.nws-compact-review-bar > a,
.nws-compact-review-bar nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  color: var(--nws-teal-800);
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 760;
  text-decoration: none;
}

.nws-compact-review-bar > a {
  justify-self: start;
  background: var(--nws-teal-50);
}

.nws-compact-review-bar > div {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}

.nws-compact-review-bar > div strong {
  color: var(--nws-navy-950);
  font-size: 1rem;
}

.nws-compact-review-bar nav {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.nws-compact-review-bar nav a:hover,
.nws-compact-review-bar > a:hover {
  background: var(--nws-teal-100);
}

@media (max-width: 900px) {
  body:has(.nws-app) #cookie-banner {
    bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  }

  body.is-navle-session-active:has(.nws-app--focus) #cookie-banner {
    bottom: calc(184px + env(safe-area-inset-bottom)) !important;
  }

  .nws-review-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nws-compact-review-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nws-compact-review-bar > div {
    justify-items: end;
    text-align: right;
  }

  .nws-compact-review-bar nav {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .nws-compact-review-bar nav a {
    flex: 1;
  }
}

@media (max-width: 700px) {
  .nws-page-guidance {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .nws-page-guidance > .nws-icon {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .nws-review-hero {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .nws-review-hero h1 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .nws-review-hero__note {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  .nws-review-hero__note .nws-icon {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .nws-compact-review-bar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .nws-compact-review-bar > a {
    width: 100%;
    justify-self: stretch;
  }

  .nws-compact-review-bar > div {
    grid-row: 1;
    justify-items: center;
    text-align: center;
  }

  .nws-compact-review-bar nav {
    grid-column: 1;
    flex-direction: column;
  }

  .nws-compact-review-bar nav a {
    background: var(--nws-slate-100);
  }
}

/* ---- Phase 3: active question-session focus mode ----------------------- */

.nws-focus-page {
  min-width: 0;
  padding: 24px 24px 42px;
}

.nws-focus-page > :is(
  .exam-entry-shell,
  .exam-retake-shell,
  .locked-shell,
  [data-block-error]
) {
  width: min(100%, 1080px);
  margin-right: auto;
  margin-left: auto;
}

.nws-focus-page .exam-entry-shell {
  margin-top: 22px;
}

.nws-focus-page .exam-shell {
  width: min(100%, 1440px);
  margin-right: auto;
  margin-left: auto;
}

.nws-focus-page .exam-toolbar__actions .button,
.nws-focus-page .exam-review-chip,
.nws-focus-page .exam-nav-pill {
  min-height: 44px;
}

.nws-focus-page > [data-email-capture-section] {
  width: min(100%, 1080px);
}

html:has(body.is-navle-session-active .nws-app--focus) {
  scroll-behavior: auto;
}

body.is-navle-session-active .nws-app--focus {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 64px minmax(0, 1fr);
  padding-bottom: 0;
}

body.is-navle-session-active .nws-app--focus .nws-header {
  height: 64px;
  grid-template-columns: var(--nws-rail-w) minmax(0, 1fr);
  padding-right: 20px;
}

body.is-navle-session-active .nws-app--focus :is(
  .nws-top-nav,
  .nws-header__actions,
  .nws-header__menu,
  .nws-rail,
  .nws-bottom-nav
) {
  display: none;
}

body.is-navle-session-active .nws-app--focus .nws-header__context {
  display: flex;
  padding-left: 28px;
}

body.is-navle-session-active .nws-app--focus .nws-main {
  grid-column: 1;
  grid-row: 2;
}

body.is-navle-session-active .nws-app--focus .exam-command-bar {
  top: 74px;
}

body.is-navle-session-active .nws-app--focus .exam-sidebar {
  top: 168px;
}

@media (min-width: 1181px) {
  body.is-navle-session-active .nws-app--focus .exam-command-bar {
    position: fixed;
    right: 24px;
    left: 24px;
    width: auto;
  }

  body.is-navle-session-active .nws-app--focus .exam-toolbar {
    padding-top: 96px;
  }

  body.is-navle-session-active .nws-app--focus .exam-workspace {
    scroll-margin-top: 180px;
  }
}

@media (max-width: 900px) {
  .nws-focus-page {
    padding: 14px 12px 28px;
  }

  body.is-navle-session-active .nws-app--focus .nws-header {
    position: fixed;
    right: 0;
    left: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 0 12px;
  }

  body.is-navle-session-active .nws-app--focus .nws-header > .nws-brand {
    display: flex;
    width: 100%;
    min-height: 64px;
    justify-self: stretch;
    justify-content: center;
    padding: 0;
  }

  body.is-navle-session-active .nws-app--focus .nws-header__context {
    display: none;
  }

  body.is-navle-session-active .nws-app--focus .exam-command-bar {
    top: 72px;
  }

  body.is-navle-session-active .nws-app--focus .exam-toolbar__stats {
    display: none;
  }
}

@media (max-width: 759px) {
  body.is-navle-session-active .nws-app--focus .exam-toolbar {
    padding-top: 248px;
  }

  body.is-navle-session-active .nws-app--focus .exam-workspace {
    scroll-margin-top: 254px;
  }
}

/* ---- Workspace V2 Stage 2: owner-approved visual language -------------- */

.nws-app,
.nws-drawer {
  --nws-navy-950: #081a33;
  --nws-navy-900: #0b1d3a;
  --nws-navy-800: #102a43;
  --nws-slate-600: #52667d;
  --nws-slate-500: #6d7d90;
  --nws-slate-300: #cbd5df;
  --nws-slate-200: #dfe6ed;
  --nws-slate-150: #e8edf2;
  --nws-slate-100: #f2f5f7;
  --nws-paper: #fff;
  --nws-cream: #f6f1e8;
  --nws-teal-800: #0b625c;
  --nws-teal-700: #0f766e;
  --nws-teal-600: #0d9488;
  --nws-teal-100: #dff5f1;
  --nws-teal-50: #eff9f7;
  --nws-blue-700: var(--dvm-color-info, #245f91);
  --nws-blue-50: #eef6fc;
  --nws-amber-800: #8a5a14;
  --nws-amber-600: #c9a24a;
  --nws-amber-50: #fff7e3;
  --nws-radius-md: 14px;
  --nws-radius-lg: 24px;
  --nws-rail-w: 244px;
  --nws-header-h: 76px;
  --nws-shadow-xs: 0 1px 2px rgba(8, 26, 51, 0.04), 0 6px 18px rgba(8, 26, 51, 0.04);
  --nws-shadow-sm: 0 10px 28px rgba(8, 26, 51, 0.07);
  --nws-shadow-md: 0 18px 48px rgba(8, 26, 51, 0.12);
  color: var(--nws-navy-900);
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.nws-app {
  background: var(--nws-cream);
}

.nws-header {
  height: var(--nws-header-h);
  padding-right: 28px;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(16, 42, 67, 0.1);
  box-shadow: 0 1px 0 rgba(8, 26, 51, 0.02);
}

.nws-header > .nws-brand {
  padding: 0 26px;
}

.nws-brand__logo {
  width: 184px;
  max-height: 44px;
}

.nws-top-nav {
  gap: clamp(22px, 2.2vw, 34px);
}

.nws-top-nav a {
  color: #24415f;
  font-size: 0.92rem;
  font-weight: 700;
}

.nws-top-nav a.is-active::after {
  height: 3px;
  background: var(--nws-teal-600);
}

.nws-header__actions {
  gap: 12px;
}

.nws-header__auth {
  color: #24415f;
  font-size: 0.88rem;
  font-weight: 700;
}

.nws-header__cta {
  min-height: 46px;
  padding: 10px 18px;
  color: #fff;
  background: var(--nws-navy-900);
  border-color: var(--nws-navy-900);
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(8, 26, 51, 0.14);
  font-size: 0.88rem;
  font-weight: 800;
}

.nws-header__cta:hover {
  background: #102a43;
  border-color: #102a43;
}

.nws-rail {
  gap: 30px;
  padding: 25px 18px 20px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(16, 42, 67, 0.1);
}

.nws-nav-section:first-child .nws-nav-section__label {
  margin: 0 12px 9px;
  color: var(--nws-teal-700);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
}

.nws-nav-section + .nws-nav-section {
  margin-top: 18px;
}

.nws-nav-section__label {
  margin: 0 0 7px 12px;
  color: var(--nws-slate-500);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.nws-nav-link {
  min-height: 44px;
  gap: 12px;
  padding: 8px 11px;
  color: #24415f;
  border-radius: 10px;
  font-size: 0.91rem;
  font-weight: 700;
}

.nws-nav-link.is-active {
  color: var(--nws-teal-700);
  background: var(--nws-teal-100);
  box-shadow: inset 3px 0 0 var(--nws-teal-600);
}

.nws-rail .nws-nav-link.is-active::before {
  display: none;
}

.nws-nav-badge {
  color: var(--nws-amber-800);
  background: #fbf0cf;
  border-color: #f0dfae;
}

.nws-rail__access {
  padding: 15px;
  background: #fff;
  border-color: var(--nws-slate-200);
  border-radius: 12px;
  box-shadow: var(--nws-shadow-xs);
}

.nws-main {
  background:
    radial-gradient(circle at 98% 0%, rgba(13, 148, 136, 0.08), transparent 30rem),
    radial-gradient(circle at 6% 4%, rgba(201, 162, 74, 0.075), transparent 30rem),
    var(--nws-cream);
}

.nws-content {
  width: min(100%, 1320px);
  padding: 34px clamp(28px, 3.6vw, 62px) 64px;
}

.nws-section-kicker,
.nws-eyebrow {
  color: var(--nws-teal-700);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nws-hero,
.nws-fidelity-hero {
  min-height: 292px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(13, 148, 136, 0.15), transparent 27%),
    radial-gradient(circle at 92% 88%, rgba(210, 166, 59, 0.17), transparent 33%),
    #fff;
  border-color: rgba(16, 42, 67, 0.09);
  border-radius: var(--nws-radius-lg);
  box-shadow: var(--nws-shadow-xs);
}

.nws-hero::before,
.nws-fidelity-hero::before {
  display: none;
}

.nws-hero__copy,
.nws-fidelity-hero__copy {
  padding: 38px 20px 38px 46px;
}

.nws-hero h1,
.nws-fidelity-hero h1,
.nws-fidelity-hero .calc-v2-title {
  max-width: 720px;
  color: var(--nws-navy-900);
  font-size: clamp(2.35rem, 3.2vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.nws-hero__copy > p,
.nws-fidelity-hero__copy > p,
.nws-fidelity-hero .calc-v2-subtitle {
  max-width: 630px;
  margin-top: 14px;
  color: var(--nws-slate-600);
  font-size: 1.08rem;
  line-height: 1.55;
}

.nws-hero__actions {
  gap: 12px;
  margin-top: 24px;
}

.nws-hero__actions .button,
.nws-practice-page .practice-hero__actions .button {
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 11px;
  font-weight: 800;
}

.nws-hero__actions .button-primary {
  background: var(--nws-navy-900);
  border-color: var(--nws-navy-900);
}

.nws-hero__actions .button-secondary {
  color: var(--nws-teal-700);
  background: #fff;
  border-color: rgba(15, 118, 110, 0.28);
}

.nws-hero--qbank {
  min-height: 250px;
}

.nws-hero--qbank .nws-hero__actions {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  pointer-events: auto;
  visibility: visible;
}

.nws-vetmoji {
  display: block;
  width: min(100%, 320px);
  height: auto;
  justify-self: center;
  pointer-events: none;
  user-select: none;
}

.nws-vetmoji--hero {
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(8, 26, 51, 0.07));
}

.nws-vetmoji--empty {
  width: min(100%, 120px);
  margin: 0 auto 16px;
}

.nws-metric-grid {
  gap: 14px;
  margin-top: 20px;
}

.nws-metric {
  min-height: 124px;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border-color: rgba(16, 42, 67, 0.08);
  border-radius: var(--nws-radius-md);
  box-shadow: var(--nws-shadow-xs);
}

.nws-metric__icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
}

.nws-metric__icon .nws-icon {
  width: 24px;
  height: 24px;
}

.nws-metric div > span {
  color: var(--nws-slate-600);
  font-size: 0.79rem;
  font-weight: 800;
}

.nws-metric strong {
  margin-top: 2px;
  font-size: 1.65rem;
}

.nws-metric small {
  margin-top: 3px;
  color: var(--nws-slate-500);
  font-size: 0.76rem;
}

.nws-metric--navy .nws-metric__icon {
  color: var(--nws-navy-900);
  background: #e8eef5;
}

.nws-metric--blue .nws-metric__icon {
  color: var(--nws-blue-700);
  background: #e3f0fb;
}

.nws-metric--teal .nws-metric__icon {
  color: var(--nws-teal-700);
  background: var(--nws-teal-100);
}

.nws-metric--amber .nws-metric__icon {
  color: var(--nws-amber-800);
  background: #fbf0cf;
}

.nws-workspace-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.72fr);
  gap: 18px;
  margin-top: 22px;
}

.nws-panel,
.nws-context-card,
.nws-coming-soon,
.nws-filter-panel,
.nws-block-section,
.nws-premium-library {
  border-color: var(--nws-slate-200);
  border-radius: var(--nws-radius-md);
  box-shadow: var(--nws-shadow-xs);
}

.nws-panel,
.nws-block-section,
.nws-premium-library {
  padding: 24px;
}

.nws-section-heading {
  margin-bottom: 18px;
}

.nws-section-heading h2,
.nws-context-heading h2 {
  font-size: 1.42rem;
}

.nws-section-heading > a {
  color: var(--nws-teal-700);
  font-size: 0.86rem;
  font-weight: 800;
}

.nws-route-grid {
  gap: 15px;
}

.nws-route-card {
  min-height: 230px;
  padding: 22px;
  border-radius: var(--nws-radius-md);
  box-shadow: var(--nws-shadow-xs);
}

.nws-route-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
}

.nws-route-card__icon .nws-icon {
  width: 25px;
  height: 25px;
}

.nws-route-card__badge {
  padding: 5px 10px;
  font-size: 0.7rem;
}

.nws-route-card__eyebrow {
  margin-top: 14px;
  font-size: 0.7rem;
}

.nws-route-card h3 {
  margin-top: 4px;
  font-size: 1.18rem;
}

.nws-route-card p {
  color: var(--nws-slate-600);
  font-size: 0.9rem;
  line-height: 1.5;
}

.nws-route-card > a {
  color: var(--nws-route-ink);
  font-size: 0.86rem;
}

.nws-context-column,
.nws-qbank-aside {
  gap: 14px;
}

.nws-context-card {
  padding: 20px;
}

.nws-context-heading h2 {
  font-size: 1.08rem;
}

.nws-empty-state {
  padding: 20px 16px;
  border-radius: 14px;
}

.nws-empty-state p,
.nws-step-list strong {
  font-size: 0.78rem;
}

.nws-step-list small,
.nws-coming-soon p {
  font-size: 0.7rem;
}

.nws-coming-soon,
.nws-truth-banner {
  padding: 17px;
}

.nws-qbank-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-top: 20px;
}

.nws-filter-panel {
  margin-top: 20px;
  padding: 14px;
}

.nws-block-section .navle-block-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nws-block-section .navle-block-card {
  min-height: 276px;
  padding: 17px;
  border-radius: 14px;
}

.nws-block-section .navle-block-card h3 {
  font-size: 1rem;
}

.nws-block-section .navle-block-card__actions .button {
  min-height: 44px;
  font-size: 0.76rem;
}

.nws-practice-page .practice-stats-bar {
  gap: 14px;
  margin-top: 20px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.nws-practice-page .practice-stat {
  min-height: 104px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--nws-slate-200);
  border-radius: var(--nws-radius-md);
  box-shadow: var(--nws-shadow-xs);
}

.nws-practice-page .practice-setup-card {
  padding: clamp(24px, 3vw, 38px);
  background: #fff;
  border-radius: var(--nws-radius-lg);
}

.nws-practice-page .practice-setup-card__head {
  max-width: 720px;
}

.nws-practice-page .practice-setup-card__head h2 {
  color: var(--nws-navy-900);
  font-size: 1.55rem;
}

.nws-practice-page .practice-setup-field > span {
  color: var(--nws-navy-800);
  font-weight: 800;
}

.nws-practice-page :is(select, input[type="number"]) {
  min-height: 46px;
  background: #fbfcfd;
  border-color: var(--nws-slate-200);
  border-radius: 11px;
}

.nws-simulation-page .sim-stats {
  gap: 14px;
  margin-top: 20px;
}

.nws-simulation-page .sim-stat {
  min-height: 112px;
  display: grid;
  align-content: center;
  border-radius: var(--nws-radius-md);
}

.nws-simulation-page .sim-stat strong {
  color: var(--nws-navy-900);
  font-size: 1.65rem;
}

.nws-simulation-page .sim-sections,
.nws-simulation-page .sim-gate,
.nws-simulation-page .sim-ready-panel,
.nws-simulation-page .sim-form-card {
  background: #fff;
  border-radius: var(--nws-radius-md);
}

.nws-simulation-page .sim-sections {
  padding: 24px;
}

.nws-simulation-page .sim-sections li {
  min-height: 58px;
  background: #fbfcfd;
  border-radius: 12px;
}

.nws-simulation-page .sim-form-card {
  min-height: 170px;
  padding: 24px;
}

.nws-daily-page .dq-container {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, 0.72fr);
  align-items: start;
  gap: 18px;
}

.nws-daily-page .nws-fidelity-hero {
  grid-column: 1 / -1;
}

.nws-daily-page .dq-meta {
  grid-column: 1;
  margin: 0;
}

.nws-daily-page #dq-card-wrapper {
  grid-column: 1;
}

.nws-daily-page .dq-email-card {
  grid-column: 2;
  grid-row: 2 / span 3;
  margin: 0;
  padding: 24px;
  background: #fff;
  border-radius: var(--nws-radius-md);
}

.nws-daily-page .dq-email-card__layout {
  grid-template-columns: 1fr;
}

.nws-daily-page .dq-card,
.nws-daily-page .dq-empty {
  margin: 0;
  padding: 30px;
  background: #fff;
  border-radius: var(--nws-radius-md);
}

.nws-daily-page .dq-option {
  min-height: 56px;
  background: #fbfcfd;
  border-color: var(--nws-slate-200);
  border-radius: 12px;
}

.nws-daily-page .related-tools-section {
  padding: 24px;
  background: #fff;
  border-radius: var(--nws-radius-md);
}

.nws-focus-page {
  padding: 30px clamp(18px, 3vw, 42px) 50px;
  background: var(--nws-cream);
}

.nws-focus-page > :is(
  .exam-entry-shell,
  .exam-retake-shell,
  .locked-shell,
  [data-block-error]
) {
  padding: clamp(26px, 4vw, 48px);
  background: #fff;
  border-color: var(--nws-slate-200);
  border-radius: var(--nws-radius-lg);
  box-shadow: var(--nws-shadow-xs);
}

.nws-focus-page .exam-entry-shell {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  align-items: center;
}

.nws-focus-page .exam-entry-shell > :not(.exam-entry-shell__copy, .nws-vetmoji--entry) {
  grid-column: 1 / -1;
}

.nws-vetmoji--entry {
  width: min(100%, 220px);
}

.nws-focus-page .exam-command-bar,
.nws-focus-page .exam-workspace,
.nws-focus-page .exam-sidebar,
.nws-focus-page .exam-footer {
  background: #fff;
  border-color: var(--nws-slate-200);
  box-shadow: var(--nws-shadow-xs);
}

@media (max-width: 1180px) {
  .nws-app,
  .nws-drawer {
    --nws-rail-w: 226px;
  }

  .nws-top-nav {
    gap: 18px;
  }

  .nws-top-nav a {
    font-size: 0.84rem;
  }

  .nws-header__cta {
    padding-inline: 13px;
  }

  .nws-block-section .navle-block-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nws-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 14px;
  }

  .nws-header > .nws-brand {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .nws-header > .nws-header__menu {
    display: inline-grid;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .nws-header__actions {
    display: none;
  }

  .nws-brand__logo {
    width: 172px;
    max-height: 42px;
  }

  .nws-content {
    padding: 26px 22px 96px;
  }

  .nws-workspace-grid,
  .nws-qbank-layout,
  .nws-daily-page .dq-container {
    grid-template-columns: 1fr;
  }

  .nws-daily-page .dq-email-card {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  .nws-focus-page .exam-entry-shell {
    grid-template-columns: 1fr;
  }

  .nws-focus-page .exam-entry-shell > * {
    grid-column: 1;
  }

  .nws-vetmoji--entry {
    width: 148px;
    grid-row: 1;
  }

  .nws-content {
    padding: 18px 14px 92px;
  }

  .nws-hero,
  .nws-fidelity-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    align-content: start;
    border-radius: 20px;
  }

  .nws-hero__copy,
  .nws-fidelity-hero__copy {
    padding: 26px 22px 14px;
  }

  .nws-hero h1,
  .nws-fidelity-hero h1,
  .nws-fidelity-hero .calc-v2-title {
    font-size: clamp(2rem, 9.5vw, 2.65rem);
    line-height: 1.04;
  }

  .nws-hero__copy > p,
  .nws-fidelity-hero__copy > p,
  .nws-fidelity-hero .calc-v2-subtitle {
    font-size: 0.98rem;
  }

  .nws-hero--workspace .nws-hero__actions {
    grid-template-columns: 1fr;
  }

  .nws-hero--workspace .nws-hero__actions .button,
  .nws-hero__actions .button {
    width: 100%;
    padding-inline: 14px;
    font-size: 0.86rem;
  }

  .nws-vetmoji--hero {
    width: min(100%, 220px);
    margin: 0 auto 20px;
  }

  .nws-metric-grid {
    gap: 9px;
    margin-top: 12px;
  }

  .nws-metric {
    min-height: 128px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 8px;
    padding: 14px;
    border-radius: 15px;
  }

  .nws-metric__icon {
    width: 42px;
    height: 42px;
  }

  .nws-metric strong {
    font-size: 1.45rem;
  }

  .nws-metric small {
    font-size: 0.68rem;
  }

  .nws-panel,
  .nws-block-section,
  .nws-premium-library {
    padding: 18px;
  }

  .nws-route-card {
    min-height: 212px;
    padding: 18px;
  }

  .nws-practice-page .practice-stats-bar,
  .nws-simulation-page .sim-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nws-practice-page .practice-stat,
  .nws-simulation-page .sim-stat {
    min-height: 100px;
  }

  .nws-practice-page .practice-setup-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .nws-daily-page .dq-card,
  .nws-daily-page .dq-empty {
    padding: 22px 18px;
  }

  .nws-focus-page {
    padding: 16px 12px 88px;
  }
}

@media (max-width: 390px) {
  .nws-brand__logo {
    width: 156px;
    max-height: 38px;
  }

  .nws-header {
    min-width: 0;
  }
}

/* ---- Workspace V2 component migration --------------------------------- */

.nws-app,
.nws-drawer,
.nws-app :where(
  h1,
  h2,
  h3,
  p,
  a,
  button,
  input,
  select,
  label,
  summary,
  strong,
  small,
  span
) {
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.nws-rail__external,
.nws-drawer__external {
  border-top: 1px solid var(--nws-slate-200);
  padding-top: 14px;
}

.nws-rail__external {
  margin-top: 0;
}

.nws-rail__external .nws-nav-section__label,
.nws-drawer__external .nws-nav-section__label {
  color: var(--nws-slate-500);
}

.nws-drawer__external {
  margin-top: 16px;
}

.nws-route-hero {
  min-height: 240px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.nws-route-hero .nws-fidelity-hero__copy,
.nws-route-hero .nws-hero__copy {
  padding: 12px 24px 12px 4px;
}

.nws-route-hero h1,
.nws-route-hero .calc-v2-title {
  font-size: clamp(2.4rem, 3.4vw, 3.5rem);
}

.nws-workspace-overview .nws-workspace-grid {
  grid-template-columns: minmax(0, 1fr);
}

.nws-workspace-overview .nws-route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nws-workspace-overview .nws-route-card {
  min-height: 238px;
}

.nws-workspace-overview .nws-context-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nws-workspace-overview .nws-context-card,
.nws-workspace-overview .nws-coming-soon {
  min-height: 100%;
}

.nws-qbank-page .nws-route-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr);
}

.nws-block-section .navle-block-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--nws-slate-200);
  box-shadow: var(--nws-shadow-xs);
}

.nws-block-section .navle-block-card::before {
  height: 4px;
  background: var(--nws-teal-600);
}

.nws-block-section .navle-block-card.is-locked::before {
  background: var(--nws-amber-600);
}

.nws-block-section .navle-block-card__header {
  align-items: flex-start;
  gap: 10px;
}

.nws-block-section .navle-block-card__header > div:last-child {
  justify-content: flex-end;
}

.nws-block-section .navle-block-card .section-kicker {
  color: var(--nws-teal-700);
  letter-spacing: 0.11em;
}

.nws-block-section .navle-block-card__meta {
  margin-top: 14px;
}

.nws-block-section .navle-block-card__meta span,
.nws-block-section .navle-block-card__topics span {
  background: var(--nws-slate-100);
  border-color: var(--nws-slate-200);
  border-radius: 999px;
}

.nws-block-section .navle-block-card__locked-copy {
  max-height: 90px;
  overflow: auto;
  padding: 12px;
  background: var(--nws-amber-50);
  border: 1px solid #f0dfae;
  border-radius: 11px;
  color: var(--nws-amber-800);
  font-size: 0.75rem;
  line-height: 1.45;
}

.nws-block-section .navle-block-card__footer {
  margin-top: auto;
  padding-top: 16px;
}

.nws-builder-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nws-builder-layout,
.nws-simulation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 18px;
}

.nws-builder-layout .practice-setup-card {
  width: 100%;
  max-width: none;
  margin: 0;
}

.nws-builder-aside {
  position: sticky;
  top: calc(var(--nws-header-h) + 20px);
  display: grid;
  gap: 14px;
}

.nws-builder-aside .nws-context-card {
  padding: 22px;
  background: #fff;
}

.nws-builder-aside .nws-context-card h2 {
  margin: 5px 0 8px;
  color: var(--nws-navy-900);
  font-size: 1.15rem;
}

.nws-builder-aside .nws-context-card p {
  color: var(--nws-slate-600);
  font-size: 0.9rem;
  line-height: 1.55;
}

.nws-builder-aside .nws-context-card > .button {
  width: 100%;
  margin-top: 10px;
}

.nws-practice-page .practice-setup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nws-practice-page .practice-setup-form > :is(
  .practice-topic-notice,
  .practice-filter-counts,
  .practice-advanced-filters,
  .practice-setup-divider,
  .practice-setup-status,
  .practice-setup-actions,
  .practice-setup-error
) {
  grid-column: 1 / -1;
}

.nws-practice-page .practice-advanced-filters {
  padding: 16px;
  background: var(--nws-slate-100);
  border: 1px solid var(--nws-slate-200);
  border-radius: 12px;
}

.nws-practice-page .practice-advanced-filters summary {
  min-height: 44px;
  color: var(--nws-teal-700);
  font-weight: 800;
  cursor: pointer;
}

.nws-practice-page .practice-setup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.nws-simulation-page .sim-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nws-simulation-page .sim-stat {
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--nws-slate-200);
  box-shadow: var(--nws-shadow-xs);
}

.nws-simulation-page .sim-stat:nth-child(1) .nws-metric__icon {
  color: var(--nws-navy-900);
  background: #e8eef5;
}

.nws-simulation-page .sim-stat:nth-child(2) .nws-metric__icon {
  color: var(--nws-blue-700);
  background: #e3f0fb;
}

.nws-simulation-page .sim-stat:nth-child(3) .nws-metric__icon {
  color: var(--nws-teal-700);
  background: var(--nws-teal-100);
}

.nws-simulation-page .sim-stat:nth-child(4) .nws-metric__icon {
  color: var(--nws-amber-800);
  background: #fbf0cf;
}

.nws-simulation-page .sim-stat div {
  display: grid;
}

.nws-simulation-page .sim-stat span {
  color: var(--nws-slate-600);
  font-size: 0.78rem;
  font-weight: 800;
}

.nws-simulation-page .sim-stat small {
  color: var(--nws-slate-500);
  font-size: 0.73rem;
}

.nws-simulation-layout {
  margin-top: 18px;
}

.nws-simulation-main {
  display: grid;
  gap: 14px;
}

.nws-simulation-page :is(.sim-gate, .sim-ready-panel, .sim-sections, .sim-disclaimer) {
  margin: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--nws-slate-200);
  border-radius: var(--nws-radius-md);
  box-shadow: var(--nws-shadow-xs);
}

.nws-simulation-page .sim-gate {
  text-align: left;
}

.nws-simulation-page .sim-gate h2,
.nws-simulation-page .sim-ready-panel h2 {
  margin: 5px 0 8px;
  color: var(--nws-navy-900);
}

.nws-simulation-page .sim-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 12px;
}

.nws-simulation-page .sim-sections summary {
  min-height: 44px;
  color: var(--nws-teal-700);
  font-weight: 800;
  cursor: pointer;
}

.nws-simulation-page .sim-sections ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.nws-simulation-page .sim-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nws-simulation-page .sim-form-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  color: var(--nws-navy-900);
  border: 1px solid var(--nws-slate-200);
  text-decoration: none;
}

.nws-simulation-page .sim-form-card::after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--nws-teal-700);
  content: "→";
  font-size: 1.2rem;
  font-weight: 900;
}

.nws-daily-page .nws-route-hero {
  margin-bottom: 14px !important;
}

.nws-daily-page #dq-card-wrapper,
.nws-daily-page .dq-email-card {
  border: 1px solid var(--nws-slate-200);
  border-radius: var(--nws-radius-md);
  box-shadow: var(--nws-shadow-xs);
}

/* ---- Workspace V2 review-family migration ----------------------------- */

.nws-results-page .nws-review-hero__note .nws-icon {
  color: var(--nws-teal-700);
  background: var(--nws-teal-50);
}

.nws-wrong-page .nws-review-hero {
  background:
    radial-gradient(circle at 86% 15%, rgba(244, 185, 66, 0.14), transparent 28%),
    linear-gradient(112deg, #fffdfb 0%, #f8faf8 62%, #fff9ed 100%);
}

.nws-wrong-page .nws-review-hero__note .nws-icon {
  color: #a76a08;
  background: var(--nws-amber-50);
}

.nws-review-page .nws-review-hero {
  background:
    radial-gradient(circle at 86% 15%, rgba(13, 148, 136, 0.14), transparent 28%),
    radial-gradient(circle at 96% 90%, rgba(210, 166, 59, 0.12), transparent 30%),
    linear-gradient(112deg, #fffdfb 0%, #f3faf8 62%, #fff9ea 100%);
}

.nws-review-page .nws-review-hero__note .nws-icon {
  color: var(--nws-teal-700);
  background: var(--nws-teal-100);
}

.nws-review-page .nws-content--review {
  width: min(100%, 1260px);
  max-width: none;
}

.nws-results-page .navle-empty-shell,
.nws-wrong-page .navle-empty-shell,
.nws-review-page .navle-empty-shell {
  position: relative;
  display: grid;
  min-height: 300px;
  align-items: center;
  overflow: hidden;
  margin: 18px 0 0 !important;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 90% 20%, rgba(132, 204, 196, 0.12), transparent 26%),
    #fff;
  border: 1px solid var(--nws-slate-150);
  border-radius: 20px;
  box-shadow: var(--nws-shadow-xs);
  text-align: left;
}

.nws-results-page .navle-empty-shell::after,
.nws-wrong-page .navle-empty-shell::after,
.nws-review-page .navle-empty-shell::after {
  position: absolute;
  right: clamp(28px, 8vw, 100px);
  width: 94px;
  height: 94px;
  color: var(--nws-teal-700);
  background: var(--nws-teal-50);
  border: 1px solid var(--nws-teal-100);
  border-radius: 28px;
  content: "✓";
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 94px;
  text-align: center;
  transform: rotate(-4deg);
}

.nws-wrong-page .navle-empty-shell::after {
  color: #a76a08;
  background: var(--nws-amber-50);
  border-color: #f2dfb3;
  content: "×";
}

.nws-results-page .navle-empty-shell > div,
.nws-wrong-page .navle-empty-shell > div,
.nws-review-page .navle-empty-shell > div {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0;
  text-align: left !important;
}

.nws-results-page .navle-empty-shell h2,
.nws-wrong-page .navle-empty-shell h2,
.nws-review-page .navle-empty-shell h2 {
  max-width: 660px;
  margin: 10px 0 16px;
  color: var(--nws-navy-950);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.nws-results-page .navle-empty-shell p,
.nws-wrong-page .navle-empty-shell p,
.nws-review-page .navle-empty-shell p {
  max-width: 650px;
  color: var(--nws-slate-600);
  line-height: 1.65;
}

.nws-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.nws-performance-page .wd-empty small {
  display: block;
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.55;
}

.nws-qbank-page .nws-qbank-premium-compat,
.nws-daily-page .related-tools-section {
  display: none !important;
}

body.is-navle-session-active .nws-app--focus {
  display: block;
  min-height: 100vh;
  padding-bottom: 0;
}

body.is-navle-session-active .nws-app--focus :is(
  .nws-header,
  .nws-rail,
  .nws-bottom-nav,
  .nws-drawer,
  .nws-drawer-overlay
) {
  display: none !important;
}

body.is-navle-session-active .nws-app--focus .nws-main {
  min-height: 100vh;
  padding: 16px 20px 28px;
}

body.is-navle-session-active .nws-app--focus .exam-shell {
  width: min(1440px, 100%);
}

body.is-navle-session-active .nws-app--focus .exam-command-bar {
  position: sticky;
  top: 0;
  right: auto;
  left: auto;
  width: 100%;
  border-radius: 14px;
}

body.is-navle-session-active .nws-app--focus .exam-toolbar {
  padding-top: 0;
}

body.is-navle-session-active .nws-app--focus .exam-workspace {
  scroll-margin-top: 110px;
}

body.is-navle-session-active .nws-app--focus .exam-sidebar {
  top: 96px;
}

@media (max-width: 1180px) {
  .nws-workspace-overview .nws-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nws-workspace-overview .nws-context-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nws-rail__external {
    display: none;
  }

  .nws-route-hero,
  .nws-qbank-page .nws-route-hero {
    grid-template-columns: 1fr;
  }

  .nws-builder-layout,
  .nws-simulation-layout {
    grid-template-columns: 1fr;
  }

  .nws-builder-aside {
    position: static;
  }
}

@media (max-width: 700px) {
  .nws-route-hero {
    gap: 16px;
    padding: 10px 4px 22px;
  }

  .nws-route-hero .nws-fidelity-hero__copy,
  .nws-route-hero .nws-hero__copy {
    padding: 0;
  }

  .nws-route-hero h1,
  .nws-route-hero .calc-v2-title {
    font-size: clamp(2rem, 9.4vw, 2.55rem);
  }

  .nws-workspace-overview .nws-route-grid,
  .nws-workspace-overview .nws-context-column {
    grid-template-columns: 1fr;
  }

  .nws-builder-summary,
  .nws-simulation-page .sim-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nws-practice-page .practice-setup-form,
  .nws-practice-page .practice-setup-actions,
  .nws-simulation-page .sim-form-grid,
  .nws-simulation-page .sim-sections ul {
    grid-template-columns: 1fr;
  }

  .nws-practice-page .practice-setup-form > * {
    grid-column: 1;
  }

  .nws-simulation-page .sim-stat {
    min-height: 128px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 8px;
    padding: 14px;
  }

  .nws-review-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }

  .nws-review-hero h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .nws-review-hero__note {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 15px;
  }

  .nws-results-page .navle-empty-shell,
  .nws-wrong-page .navle-empty-shell,
  .nws-review-page .navle-empty-shell {
    min-height: 0;
    padding: 26px 20px 118px;
  }

  .nws-results-page .navle-empty-shell::after,
  .nws-wrong-page .navle-empty-shell::after,
  .nws-review-page .navle-empty-shell::after {
    right: 22px;
    bottom: 20px;
    width: 74px;
    height: 74px;
    border-radius: 22px;
    font-size: 1.8rem;
    line-height: 74px;
  }

  .nws-empty-actions {
    flex-direction: column;
  }

  .nws-empty-actions .button {
    width: 100%;
  }

  body.is-navle-session-active .nws-app--focus .nws-main {
    padding: 0 0 82px;
  }

  body.is-navle-session-active .nws-app--focus .exam-shell {
    width: 100%;
    padding: 0 10px;
  }

  body.is-navle-session-active .nws-app--focus .exam-command-bar {
    position: sticky;
    top: 0;
    right: auto;
    left: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    border-radius: 0 0 14px 14px;
  }

  body.is-navle-session-active .nws-app--focus .exam-command-bar__identity {
    display: block;
  }

  body.is-navle-session-active .nws-app--focus .exam-command-bar__identity .eyebrow {
    display: none;
  }

  body.is-navle-session-active .nws-app--focus .exam-command-bar__identity h1 {
    font-size: 0.98rem;
  }

  body.is-navle-session-active .nws-app--focus .exam-command-bar__identity p:last-child {
    font-size: 0.72rem;
  }

  body.is-navle-session-active .nws-app--focus .exam-command-bar__metrics.exam-status-strip {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.is-navle-session-active .nws-app--focus .exam-status-strip__item {
    display: none;
  }

  body.is-navle-session-active .nws-app--focus .exam-status-strip__item--current,
  body.is-navle-session-active .nws-app--focus .exam-status-strip__item--timer {
    display: grid;
  }

  body.is-navle-session-active .nws-app--focus .exam-toolbar__actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
  }

  body.is-navle-session-active .nws-app--focus .exam-toolbar__actions .exam-shortcut-hint {
    display: none;
  }

  body.is-navle-session-active .nws-app--focus .exam-toolbar__actions .button {
    width: 44px;
    min-width: 44px;
    overflow: hidden;
    padding: 0;
    font-size: 0;
  }

  body.is-navle-session-active .nws-app--focus .exam-toolbar__actions .nws-icon {
    width: 18px;
    height: 18px;
  }

  body.is-navle-session-active .nws-app--focus .exam-toolbar__actions .nws-icon--back {
    transform: rotate(180deg);
  }

  body.is-navle-session-active .nws-app--focus .exam-toolbar__stats {
    display: none;
  }

  body.is-navle-session-active .nws-app--focus .exam-toolbar {
    padding-top: 0;
  }

  body.is-navle-session-active .nws-app--focus .exam-main {
    display: block;
  }

  body.is-navle-session-active .nws-app--focus .exam-sidebar {
    display: none;
  }

  body.is-navle-session-active .nws-app--focus .exam-shell.is-nav-open .exam-sidebar {
    position: relative;
    top: auto;
    display: block;
    margin-top: 12px;
  }

  body.is-navle-session-active .nws-app--focus .exam-workspace {
    margin-top: 12px;
    scroll-margin-top: 150px;
  }

  body.is-navle-session-active .nws-app--focus .exam-footer {
    position: fixed;
    z-index: 55;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--nws-slate-200);
    border-radius: 0;
    box-shadow: 0 -8px 24px rgba(8, 26, 51, 0.08);
    backdrop-filter: blur(14px);
  }

  body.is-navle-session-active .nws-app--focus .exam-footer__actions:first-child {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.is-navle-session-active .nws-app--focus .exam-footer__actions:last-child {
    display: flex;
  }

  body.is-navle-session-active .nws-app--focus .exam-footer__actions:last-child .button {
    min-width: 84px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  body.is-navle-session-active .nws-app--focus .exam-footer [data-cookie-preferences] {
    display: none;
  }

  body.is-navle-session-active .nws-app--focus .exam-mobile-flag-button {
    display: inline-flex;
  }
}

/* ---- Unified DVMReady brand and shell contract ------------------------- */

.nws-header {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 24px;
}

.nws-header > .nws-brand {
  width: auto;
  height: 100%;
  padding: 0;
}

.nws-brand__logo {
  width: 176px;
  max-height: 44px;
}

.nws-product-divider {
  width: 1px;
  height: 28px;
  margin: 0 17px;
  background: var(--nws-slate-200);
}

.nws-product-name {
  color: var(--nws-navy-900);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nws-product-name:hover {
  color: var(--nws-teal-700);
}

.nws-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nws-header__utility {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nws-header__utility a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--nws-navy-800);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.nws-header__utility a:hover {
  color: var(--nws-teal-700);
}

.nws-header > .nws-header__menu {
  display: none;
  margin-left: 8px;
}

.nws-nav-link--resource {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  min-height: 62px;
  text-transform: none;
}

.nws-nav-link--resource > span {
  display: grid;
}

.nws-nav-link--resource strong {
  color: var(--nws-navy-900);
  font-size: 0.82rem;
}

.nws-nav-link--resource small {
  color: var(--nws-slate-600);
  font-size: 0.7rem;
  font-weight: 500;
}

.nws-nav-link--resource > .nws-icon:last-child {
  width: 16px;
  height: 16px;
  color: var(--nws-teal-700);
}

@media (max-width: 900px) {
  .nws-header {
    display: flex;
    padding: 0 14px;
  }

  .nws-header > .nws-brand {
    display: inline-flex;
  }

  .nws-brand__logo {
    width: 142px;
    max-height: 40px;
  }

  .nws-product-divider {
    height: 26px;
    margin: 0 10px;
  }

  .nws-product-name {
    max-width: 74px;
    font-size: 0.72rem;
    line-height: 1.05;
    white-space: normal;
  }

  .nws-header__actions {
    display: flex;
    gap: 7px;
    margin-left: auto;
  }

  .nws-header__utility,
  .nws-header__actions .nws-access-pill {
    display: none;
  }

  .nws-header > .nws-header__menu {
    display: inline-grid;
    margin: 0 0 0 7px;
  }

  .nws-bottom-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 390px) {
  .nws-brand__logo {
    width: 126px;
  }

  .nws-product-divider {
    margin-right: 8px;
    margin-left: 8px;
  }

  .nws-header__actions {
    gap: 4px;
  }
}

/* ==========================================================================
   Owner-approved Workspace V2 shell refinement — 2026-07-29
   This final layer intentionally follows the earlier staged shell rules.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/plusjakartasans/v12/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yygg_vb.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.nws-app,
.nws-drawer {
  --nws-display-font: "Plus Jakarta Sans", "Source Sans 3", "Segoe UI",
    system-ui, sans-serif;
  --nws-rail-w: 236px;
}

.nws-app :where(h1, h2, h3, h4),
.nws-drawer :where(h1, h2, h3, h4),
.nws-app :where(.nws-metric__value, .nws-stat__value, .nws-product-name) {
  font-family: var(--nws-display-font);
}

.nws-product-name {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.nws-app {
  background: #f3f6f7;
}

.nws-main {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(15, 118, 110, 0.018) 1px, transparent 1px),
    #f3f6f7;
  background-size: 32px 32px;
}

.nws-rail {
  color: #dce7ee;
  background: #0b1d3a;
  border-color: #0f766e;
  border-right-width: 3px;
  box-shadow: 5px 0 20px rgba(7, 23, 47, 0.08);
}

.nws-rail .nws-nav-section__label,
.nws-rail .nws-nav-section:first-child .nws-nav-section__label {
  color: #83d8cf;
}

.nws-rail .nws-nav-link {
  color: #dce7ee;
  border: 1px solid transparent;
  box-shadow: none;
}

.nws-rail .nws-nav-link .nws-icon {
  color: #c8d7e2;
}

.nws-rail .nws-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.08);
}

.nws-rail .nws-nav-link:hover .nws-icon {
  color: #ffffff;
}

.nws-rail .nws-nav-link.is-active {
  color: #ffffff;
  background: #155c67;
  border-color: rgba(132, 225, 215, 0.2);
  box-shadow: none;
}

.nws-rail .nws-nav-link.is-active .nws-icon {
  color: #9ce6dd;
}

.nws-rail .nws-nav-link.is-active::before {
  display: block;
  width: 4px;
  background: #c9a24a;
  border-radius: 0 4px 4px 0;
}

.nws-rail .nws-nav-badge {
  color: #ffe6a0;
  background: rgba(201, 162, 74, 0.18);
  border-color: rgba(201, 162, 74, 0.38);
}

.nws-rail .nws-rail__access,
body[data-nws-account-state="free"] .nws-rail .nws-rail__access,
body[data-nws-account-state="signedout"] .nws-rail .nws-rail__access,
body[data-nws-account-state="expired"] .nws-rail .nws-rail__access {
  color: #dce7ee;
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.nws-rail .nws-rail__access > .nws-icon,
.nws-rail .nws-rail__access .nws-text-link,
body[data-nws-account-state] .nws-rail .nws-rail__access > .nws-icon {
  color: #8fe1d7;
}

.nws-rail .nws-rail__access strong,
.nws-rail .nws-nav-link--resource strong {
  color: #ffffff;
}

.nws-rail .nws-rail__access p,
.nws-rail .nws-nav-link--resource small {
  color: #b8c9d4;
}

.nws-rail .nws-rail__external {
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .nws-app,
  .nws-drawer {
    --nws-rail-w: 236px;
  }

  .nws-bottom-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Site-wide immersive alignment — guided gold, focused workspace mode.
   This layer changes presentation only. Timed-session behavior, question data,
   scoring, access, and persistence remain owned by their existing scripts.
   ========================================================================== */

.nws-app,
.nws-drawer {
  --nws-display-font: var(--dvm-font-sans, "Source Sans 3", "Segoe UI", system-ui, sans-serif);
  --nws-guided-gold: var(--dvm-brand-gold, #c9a24a);
  --nws-guided-gold-soft: var(--dvm-brand-gold-soft, #fff7e3);
  --nws-immersive-radius: 24px;
  --nws-immersive-shadow: 0 22px 56px rgba(11, 29, 58, 0.1);
}

.nws-app :where(h1, h2, h3, h4, p, a, button, input, select, textarea),
.nws-drawer :where(h1, h2, h3, h4, p, a, button, input, select, textarea) {
  font-family: var(--nws-display-font);
}

.nws-header {
  min-height: var(--nws-header-h);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 0;
  box-shadow: 0 12px 34px rgba(11, 29, 58, 0.065);
}

.nws-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nws-guided-gold), var(--nws-teal-700) 38%, transparent 82%);
  opacity: 0.72;
  pointer-events: none;
}

.nws-product-divider {
  width: 2px;
  background: linear-gradient(var(--nws-guided-gold), var(--nws-teal-700));
  border: 0;
}

.nws-product-name,
.nws-header__utility a,
.nws-header__auth {
  border-radius: 12px;
}

.nws-main {
  background:
    radial-gradient(circle at 88% 8%, rgba(201, 162, 74, 0.1), transparent 23rem),
    radial-gradient(circle at 14% 82%, rgba(15, 118, 110, 0.07), transparent 26rem),
    linear-gradient(90deg, rgba(15, 118, 110, 0.022) 1px, transparent 1px),
    linear-gradient(rgba(15, 118, 110, 0.022) 1px, transparent 1px),
    #f4f6f5;
  background-size: auto, auto, 40px 40px, 40px 40px, auto;
}

.nws-rail {
  background:
    radial-gradient(circle at 22% 6%, rgba(15, 118, 110, 0.2), transparent 18rem),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    #0b1d3a;
  background-size: auto, 32px 32px, auto;
  border-right-color: var(--nws-teal-700);
  box-shadow: 8px 0 28px rgba(7, 23, 47, 0.1);
}

.nws-rail::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 3px;
  background: linear-gradient(180deg, var(--nws-guided-gold), var(--nws-teal-600) 28%, transparent 76%);
  opacity: 0.85;
  pointer-events: none;
}

.nws-rail .nws-nav-link {
  border-radius: 12px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nws-rail .nws-nav-link:hover,
.nws-rail .nws-nav-link:focus-visible {
  transform: translateX(2px);
}

.nws-rail .nws-nav-link.is-active {
  background: linear-gradient(100deg, rgba(15, 118, 110, 0.96), rgba(21, 92, 103, 0.9));
  box-shadow: inset 0 0 0 1px rgba(132, 225, 215, 0.16), 0 12px 28px rgba(0, 0, 0, 0.13);
}

.nws-rail .nws-nav-link.is-active::before {
  width: 5px;
  background: var(--nws-guided-gold);
  box-shadow: 0 0 16px rgba(201, 162, 74, 0.42);
}

.nws-nav-section__label,
.nws-section-kicker,
.nws-eyebrow,
.nws-route-hero .eyebrow,
.nwf-route-hero .nws-eyebrow,
.nws-fidelity-hero .eyebrow {
  letter-spacing: 0.14em;
}

.nws-main :is(.nws-section-kicker, .nws-eyebrow, .eyebrow, .section-kicker) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nws-main :is(.nws-section-kicker, .nws-eyebrow, .eyebrow, .section-kicker)::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--nws-guided-gold);
  box-shadow: 0 0 0 5px rgba(201, 162, 74, 0.12);
}

.nws-main :is(
  .nws-qbank-v3__hero,
  .nws-fidelity-hero,
  .nws-route-art-hero,
  .nwf-route-hero,
  .upgrade-hero,
  .dashboard-hero,
  .dashboard-cockpit__hero,
  .dashboard-signedout__hero
) {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: var(--nws-immersive-radius);
  box-shadow: var(--nws-immersive-shadow);
}

.nws-main :is(
  .nws-qbank-v3__hero,
  .nws-fidelity-hero,
  .nws-route-art-hero,
  .nwf-route-hero,
  .upgrade-hero,
  .dashboard-hero,
  .dashboard-cockpit__hero,
  .dashboard-signedout__hero
)::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--nws-guided-gold), var(--nws-teal-700), transparent 86%);
  pointer-events: none;
}

.nws-main :is(
  .nws-qbank-access-banner,
  .practice-stats-bar,
  .nws-builder-summary,
  .navle-section,
  .practice-setup-card,
  .sim-ready-panel,
  .sim-form-directory,
  .nws-page-guidance,
  .nwf-info-strip,
  .nwf-empty-split,
  .upgrade-trial-callout,
  .upgrade-plan-card,
  .navle-empty-shell,
  .exam-entry-shell
) {
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(11, 29, 58, 0.065);
}

.nws-main :is(.nws-qbank-access-banner, .nws-page-guidance, .nwf-info-strip) {
  overflow: hidden;
  border-left-color: var(--nws-teal-700);
}

.nws-main :is(.nws-route-card, .upgrade-plan-card, .sim-form-row) {
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease, border-color 240ms ease;
}

.nws-main :is(.nws-route-card, .upgrade-plan-card, .sim-form-row):hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 74, 0.48);
  box-shadow: var(--nws-immersive-shadow);
}

.nws-bottom-nav {
  background: rgba(255, 255, 255, 0.94);
  border-top-color: rgba(201, 162, 74, 0.34);
  box-shadow: 0 -14px 34px rgba(11, 29, 58, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nws-bottom-nav__item.is-active {
  color: var(--nws-teal-700);
}

/* Timed practice stays still and distraction-free. */
body.is-navle-session-active .nws-main {
  background: #f3f6f7;
}

body.is-navle-session-active .nws-rail .nws-nav-link,
body.is-navle-session-active .nws-main * {
  animation: none !important;
  transition-duration: 0.01ms !important;
}

@media (max-width: 900px) {
  .nws-app,
  .nws-drawer {
    --nws-immersive-radius: 20px;
  }

  .nws-header {
    box-shadow: 0 8px 24px rgba(11, 29, 58, 0.075);
  }

  .nws-main {
    background-size: auto, auto, 32px 32px, 32px 32px, auto;
  }

  .nws-main :is(
    .nws-qbank-v3__hero,
    .nws-fidelity-hero,
    .nws-route-art-hero,
    .nwf-route-hero,
    .upgrade-hero,
    .dashboard-hero,
    .dashboard-cockpit__hero,
    .dashboard-signedout__hero
  ) {
    border-radius: var(--nws-immersive-radius);
  }
}

@media (max-width: 700px) {
  .nws-app,
  .nws-drawer {
    --nws-immersive-radius: 18px;
  }

  .nws-main :is(
    .nws-qbank-access-banner,
    .practice-stats-bar,
    .nws-builder-summary,
    .navle-section,
    .practice-setup-card,
    .sim-ready-panel,
    .sim-form-directory,
    .nws-page-guidance,
    .nwf-info-strip,
    .nwf-empty-split,
    .upgrade-trial-callout,
    .upgrade-plan-card,
    .navle-empty-shell,
    .exam-entry-shell
  ) {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nws-app *,
  .nws-app *::before,
  .nws-app *::after,
  .nws-drawer *,
  .nws-drawer *::before,
  .nws-drawer *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================
   Public-family header alignment — 2026-08-14

   The Workspace uses the same brand shell as public DVMReady pages while
   retaining app-focused navigation. Marketing links and the public practice
   CTA intentionally stay outside this shell.
   ======================================================================== */

.nws-app {
  --nws-header-h: 102px;
}

.nws-header {
  box-sizing: border-box;
  width: min(calc(100% - 32px), 1180px);
  height: 66px;
  min-height: 66px;
  justify-self: center;
  margin: 18px auto;
  padding: 10px 12px 10px 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 39, 72, 0.99), rgba(8, 28, 55, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(6, 20, 38, 0.2);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
}

.nws-header::after {
  right: 24px;
  bottom: -1px;
  left: 24px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 162, 74, 0.62),
    rgba(15, 118, 110, 0.44),
    transparent
  );
  opacity: 1;
}

.nws-header :where(a, button, span) {
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.nws-header > .nws-brand {
  width: auto;
  height: 44px;
  min-height: 44px;
  padding: 0;
}

.nws-header .nws-brand__logo {
  width: auto;
  height: 40px;
  max-height: 40px;
}

.nws-product-name,
.nws-header__utility a,
.nws-header__auth {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #d9e5ea;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.nws-product-name {
  padding: 0 12px;
  color: #fff;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(108, 210, 199, 0.5);
  box-shadow: inset 0 -2px 0 rgba(108, 210, 199, 0.86);
}

.nws-header__utility {
  gap: 4px;
}

.nws-header__utility a,
.nws-header__auth {
  padding: 0 13px;
}

.nws-product-name:hover,
.nws-header__utility a:hover,
.nws-header__auth:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  text-decoration: none;
}

.nws-header__actions {
  gap: 6px;
}

.nws-header__auth {
  gap: 0;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 -2px 0 rgba(20, 145, 136, 0.86);
}

.nws-header__auth .nws-icon {
  display: none;
}

.nws-header .nws-access-pill {
  min-height: 36px;
  color: #dff7f2;
  background: rgba(15, 118, 110, 0.28);
  border-color: rgba(108, 210, 199, 0.24);
}

.nws-header .nws-access-pill__dot {
  background: #6cd2c7;
}

.nws-header > .nws-header__menu {
  width: 44px;
  height: 44px;
  margin-left: 8px;
  color: #0b2036;
  background: #fff;
  border-color: rgba(15, 118, 110, 0.18);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(6, 20, 38, 0.14);
}

.nws-header > .nws-header__menu:hover {
  color: var(--nws-teal-800);
  border-color: rgba(201, 162, 74, 0.62);
}

.nws-header :where(a, button):focus-visible {
  outline-color: rgba(229, 197, 118, 0.92);
}

/* The app drawer mirrors the dark public mobile menu without changing routes. */
.nws-drawer {
  z-index: 1002;
  color: #fff;
  background:
    radial-gradient(circle at 16% 3%, rgba(15, 118, 110, 0.24), transparent 16rem),
    linear-gradient(180deg, #0f2748, #081c37 72%);
  border-right: 1px solid rgba(201, 162, 74, 0.34);
  border-radius: 0 22px 22px 0;
  box-shadow: 18px 0 46px rgba(4, 16, 31, 0.3);
}

.nws-drawer-overlay {
  z-index: 1001;
}

.nws-drawer__header {
  border-bottom-color: rgba(255, 255, 255, 0.13);
}

.nws-drawer__header .nws-brand__logo {
  width: auto;
  height: 38px;
  max-height: 38px;
}

.nws-drawer__header .nws-icon-button {
  color: #0b2036;
  background: #fff;
  border-color: rgba(201, 162, 74, 0.34);
  border-radius: 14px;
}

.nws-drawer .nws-nav-section__label {
  color: #76d3ca;
}

.nws-drawer .nws-nav-link {
  color: #cfdae4;
  border: 1px solid transparent;
  border-radius: 12px;
}

.nws-drawer .nws-nav-link:hover,
.nws-drawer .nws-nav-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.nws-drawer .nws-nav-link.is-active {
  color: #fff;
  background: linear-gradient(100deg, rgba(15, 118, 110, 0.96), rgba(21, 92, 103, 0.9));
  border-color: rgba(108, 210, 199, 0.2);
  box-shadow: inset 4px 0 0 var(--nws-guided-gold);
}

.nws-drawer .nws-nav-link--soon,
.nws-drawer .nws-nav-link--resource small {
  color: #aebfcc;
}

.nws-drawer .nws-nav-badge {
  color: #d9e5ea;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.nws-drawer__external,
.nws-drawer__account {
  border-color: rgba(255, 255, 255, 0.13);
}

.nws-drawer__account .nws-header__auth {
  justify-content: center;
  color: #fff;
  background: rgba(15, 118, 110, 0.82);
  border-color: rgba(108, 210, 199, 0.22);
  box-shadow: none;
}

@media (max-width: 1100px) {
  .nws-header .nws-access-pill {
    display: none;
  }
}

@media (max-width: 900px) {
  .nws-app {
    --nws-header-h: 102px;
  }

  .nws-header {
    display: flex;
    width: min(calc(100% - 32px), 1180px);
    height: 66px;
    min-height: 66px;
    margin: 18px auto;
    padding: 10px 12px 10px 16px;
  }

  .nws-header > .nws-brand {
    display: inline-flex;
    min-width: 0;
  }

  .nws-header .nws-brand__logo {
    width: auto;
    height: 38px;
    max-height: 38px;
  }

  .nws-product-divider,
  .nws-product-name,
  .nws-header__utility,
  .nws-header__actions .nws-access-pill {
    display: none;
  }

  .nws-header__actions {
    display: flex;
    gap: 0;
    margin-left: auto;
  }

  .nws-header__actions .nws-header__auth:not([hidden]) {
    display: inline-flex !important;
    width: auto;
    max-width: min(30vw, 104px);
    height: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0 12px;
    overflow: hidden;
    color: var(--nws-teal-800);
    background: #fff;
    border: 1px solid rgba(15, 118, 110, 0.28);
    border-radius: 14px;
    box-shadow: inset 0 -2px 0 rgba(20, 145, 136, 0.72);
  }

  .nws-header__actions .nws-header__auth:not([hidden]) span {
    position: static;
    width: auto;
    height: auto;
    overflow: hidden;
    clip: auto;
    clip-path: none;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nws-header__actions .nws-header__auth:not([hidden]) .nws-icon {
    display: none;
  }

  .nws-header > .nws-header__menu {
    display: inline-grid;
    flex: 0 0 44px;
    margin: 0 0 0 8px;
  }
}

@media (max-width: 420px) {
  .nws-header {
    width: calc(100% - 24px);
    padding-left: 12px;
  }

  .nws-header .nws-brand__logo {
    height: 32px;
    max-height: 32px;
  }

  .nws-header__actions .nws-header__auth:not([hidden]) {
    max-width: 92px;
    padding-inline: 10px;
  }
}

/* Timed practice remains a compact, distraction-free application surface. */
body.is-navle-session-active .nws-app--focus {
  --nws-header-h: 64px;
}

body.is-navle-session-active .nws-app--focus .nws-header {
  width: 100%;
  max-width: none;
  height: 64px;
  min-height: 64px;
  margin: 0;
  border-radius: 0;
}

body.is-navle-session-active .nws-app--focus :is(.nws-product-divider, .nws-product-name) {
  display: none;
}
