/* NovaFaces Academy 1.0 — LearningSuite-inspired learning space in the NovaFaces brand colours.
   Structure: tokens · shell · shared parts · dashboard · course · module · lesson · states · login · responsive. */
@font-face {
  font-family: Archivo;
  src: url('archivo.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --nf-ink: #4D403A;
  --nf-dark: #211B18;
  --nf-cream: #FDF2E8;
  --nf-sand: #F4E6DA;
  --nf-warm: #F7EFE7;
  --nf-taupe: #9A7F74;
  --nf-taupe-strong: #7A6155;
  --nf-taupe-light: #BBA69B;
  --nf-white: #FFFFFF;
  --nf-app: #F7EFE7;
  --nf-line: rgba(77, 64, 58, .12);
  --nf-line-strong: rgba(77, 64, 58, .22);
  --nf-shadow: 0 1px 2px rgba(33, 27, 24, .04), 0 8px 24px -12px rgba(33, 27, 24, .12);
  --nf-font: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nf-r-lg: 22px;
  --nf-r: 16px;
  --nf-r-sm: 12px;
  --nf-content: 1120px;
}

/* ---------- Base ---------- */
.nfa-app, .login {
  margin: 0;
  background: var(--nf-app);
  color: var(--nf-ink);
  font: 400 16px/1.6 var(--nf-font);
  -webkit-font-smoothing: antialiased;
}
.nfa-app *, .login * { box-sizing: border-box; }
.nfa-app a { color: inherit; }
.nfa-app h1, .nfa-app h2, .nfa-app h3, .nfa-login-intro h2 {
  margin: 0; color: var(--nf-dark); font-family: var(--nf-font); font-weight: 600;
  line-height: 1.18; letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: balance;
}
.nfa-app h1 { font-size: 34px; }
.nfa-app h2 { font-size: 24px; }
.nfa-app h3 { font-size: 18px; }
.nfa-app p { margin: 12px 0; }
.nfa-app button, .nfa-app input { font: inherit; }
.nfa-app :focus-visible, .login :focus-visible { outline: 2px solid var(--nf-dark); outline-offset: 3px; border-radius: 6px; }
.nfa-app main:focus { outline: none; }
.nfa-icon { flex-shrink: 0; width: 20px; height: 20px; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nfa-skip { position: fixed; z-index: 99999; left: 20px; top: -100px; background: var(--nf-white); padding: 12px 20px; border-radius: 12px; }
.nfa-skip:focus { top: 12px; }
.nfa-eyebrow { margin: 0; font: 600 11px/1.5 var(--nf-font); text-transform: uppercase; letter-spacing: .14em; color: var(--nf-taupe-strong); }
.nfa-meta { margin: 0 0 8px !important; font: 600 11px/1.5 var(--nf-font); text-transform: uppercase; letter-spacing: .12em; color: var(--nf-taupe-strong); }

/* ---------- Shell: white sidebar, warm canvas (LearningSuite layout) ---------- */
.nfa-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.nfa-sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px;
  padding: 26px 16px 20px; background: var(--nf-white); border-right: 1px solid var(--nf-line); overflow-y: auto;
}
.admin-bar .nfa-sidebar { top: 32px; height: calc(100vh - 32px); }
.nfa-brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; padding: 0 8px 4px; }
.nfa-brand img { width: 150px; max-width: 100%; height: 40px; object-fit: contain; }
.nfa-brand > span { margin-top: 6px; font: 600 9px/1.5 var(--nf-font); text-transform: uppercase; letter-spacing: .34em; color: var(--nf-taupe-strong); }
.nfa-navigation > summary { display: none; }
.nfa-usercard { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 18px; border-radius: var(--nf-r-sm); background: var(--nf-warm); }
.nfa-usercard strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; color: var(--nf-dark); }
.nfa-usercard small { display: block; font-size: 12px; color: var(--nf-taupe-strong); }
.nfa-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--nf-ink); color: var(--nf-cream); font-weight: 600; }
.nfa-sidebar nav { display: grid; gap: 2px; }
.nfa-nav-label { margin: 16px 10px 6px !important; font: 600 10px/1.4 var(--nf-font); text-transform: uppercase; letter-spacing: .16em; color: var(--nf-taupe); }
.nfa-nav-label:first-child { margin-top: 0 !important; }
.nfa-sidebar nav a {
  display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 9px 10px;
  border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none;
}
.nfa-sidebar nav a .nfa-icon { width: 18px; height: 18px; color: var(--nf-taupe-strong); }
.nfa-sidebar nav a:hover { background: var(--nf-warm); }
.nfa-sidebar nav a[aria-current="page"] { background: var(--nf-sand); color: var(--nf-dark); font-weight: 600; }
.nfa-sidebar nav a[aria-current="page"] .nfa-icon { color: var(--nf-dark); }
.nfa-sidebar-bottom { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--nf-line); }
.nfa-private-label { display: flex; gap: 7px; align-items: center; font-size: 11px; color: var(--nf-taupe-strong); }
.nfa-private-label .nfa-icon { width: 14px; height: 14px; }
.nfa-workspace { min-width: 0; display: flex; flex-direction: column; }
.nfa-workspace main { width: 100%; max-width: var(--nf-content); margin: 0 auto; padding: 36px 40px 64px; flex: 1; }
.nfa-footer { display: flex; justify-content: space-between; gap: 20px; padding: 18px 40px; border-top: 1px solid var(--nf-line); font-size: 11px; color: var(--nf-taupe-strong); }
.nfa-footer > span:last-child { display: flex; align-items: center; gap: 6px; }
.nfa-footer .nfa-icon { width: 13px; height: 13px; }

/* ---------- Shared parts ---------- */
.nfa-button, .nfa-complete input[type="submit"], .nfa-complete button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px;
  padding: 11px 20px; border: 1px solid var(--nf-ink); border-radius: 999px;
  background: var(--nf-ink); color: var(--nf-cream) !important; text-decoration: none;
  font: 600 14px/1.4 var(--nf-font); cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s;
}
.nfa-button .nfa-icon { width: 18px; height: 18px; }
.nfa-button:hover, .nfa-complete input[type="submit"]:hover { background: var(--nf-dark); border-color: var(--nf-dark); }
.nfa-button:active { transform: translateY(1px); }
.nfa-button-outline { background: var(--nf-white); color: var(--nf-ink) !important; border-color: var(--nf-line-strong); }
.nfa-button-outline:hover { background: var(--nf-warm); border-color: var(--nf-ink); }
.nfa-button-light { background: var(--nf-cream); color: var(--nf-dark) !important; border-color: var(--nf-cream); }
.nfa-button-light:hover { background: var(--nf-white); border-color: var(--nf-white); }
.nfa-button[hidden] { display: none; }
.nfa-text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; font-size: 14px; font-weight: 500; text-underline-offset: 4px; }
.nfa-icon-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--nf-line); border-radius: 50%; background: var(--nf-white); color: var(--nf-ink); cursor: pointer; }
.nfa-icon-badge { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--nf-ink); color: var(--nf-cream); }
.nfa-icon-badge .nfa-icon { width: 18px; height: 18px; }
.nfa-back { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: -6px 0 14px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--nf-taupe-strong); }
.nfa-back .nfa-icon { width: 18px; height: 18px; }
.nfa-back:hover { color: var(--nf-dark); }
.nfa-panel { background: var(--nf-white); border: 1px solid var(--nf-line); border-radius: var(--nf-r-lg); box-shadow: var(--nf-shadow); padding: 24px; }
.nfa-panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.nfa-panel-head h2 { font-size: 20px; }
.nfa-panel-head p { margin: 2px 0 0; font-size: 13px; color: var(--nf-taupe-strong); }
.nfa-section { margin-top: 32px; }
.nfa-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.nfa-section-title h2 { font-size: 22px; }
.nfa-section-title > span { font-size: 13px; color: var(--nf-taupe-strong); white-space: nowrap; }
.nfa-section-title-bar h2 { padding-left: 14px; border-left: 3px solid var(--nf-ink); line-height: 1.1; }
.nfa-pagehead { margin-bottom: 26px; }
.nfa-pagehead h1 { margin-top: 6px; font-size: 36px; }
.nfa-pagehead > p:last-child { margin: 8px 0 0; color: var(--nf-taupe-strong); font-size: 15px; }

/* Progress ring */
.nfa-ring { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; }
.nfa-ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.nfa-ring circle { fill: none; stroke-width: 4; }
.nfa-ring-track { stroke: var(--nf-sand); }
.nfa-ring-value { stroke: var(--nf-ink); stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.nfa-ring > span { position: relative; font-size: 13px; font-weight: 700; color: var(--nf-dark); letter-spacing: -.02em; }
.nfa-ring > span .nfa-icon { width: 22px; height: 22px; stroke-width: 2.2; }
.nfa-ring.is-done > span { display: grid; place-items: center; width: 24px; height: 24px; }
.nfa-ring.is-done .nfa-ring-value { stroke: var(--nf-taupe); }
.nfa-ring-light .nfa-ring-track { stroke: rgba(253, 242, 232, .18); }
.nfa-ring-light .nfa-ring-value { stroke: var(--nf-cream); }
.nfa-ring-light.is-done .nfa-ring-value { stroke: var(--nf-cream); }
.nfa-ring-light > span { color: var(--nf-cream); }
.nfa-ring-sm { width: 44px; height: 44px; }
.nfa-ring-sm > span { font-size: 11px; }
.nfa-ring-md { width: 56px; height: 56px; }
.nfa-ring-lg { width: 84px; height: 84px; }
.nfa-ring-lg > span { font-size: 18px; }
.nfa-ring-xl { width: 104px; height: 104px; }
.nfa-ring-xl > span { font-size: 22px; }

/* Account and editorial offer catalog reuse the established Academy panels/cards. */
.nfa-account-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.nfa-account-grid > .nfa-panel { min-width: 0; }
.nfa-account-grid h2, .nfa-account-confirm h2 { font-size: 23px; margin-bottom: 18px; }
.nfa-account-grid p { overflow-wrap: anywhere; }
.nfa-account-form { display: grid; gap: 16px; margin-top: 20px; }
.nfa-account-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.nfa-account-form input { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--nf-line); border-radius: 8px; background: var(--nf-white); color: var(--nf-ink); font: inherit; font-size: 16px; }
.nfa-account-form .nfa-button { justify-self: start; white-space: normal; }
.nfa-account-form p { margin: 0; font-size: 13px; }
.nfa-account-notice { padding: 16px 20px; margin-block: 24px; border: 1px solid var(--nf-taupe); border-radius: var(--nf-r); background: var(--nf-warm); }
.nfa-account-confirm { margin-block: 24px; }
.nfa-account-confirm[hidden] { display: none; }
.nfa-offer-card h3 { font-size: 23px; line-height: 1.3; }
.nfa-offer-card h3 a { text-decoration: none; }
.nfa-offer-card .nfa-card-body { display: flex; flex-direction: column; }
.nfa-offer-card .nfa-card-actions { margin-top: auto; padding-top: 20px; }
.nfa-catalog-intro { margin: -4px 0 22px; color: var(--nf-taupe-strong); max-width: 65ch; }
.nfa-catalog-section + .nfa-catalog-section { border-top: 1px solid var(--nf-line); margin-top: 48px; padding-top: 16px; }
@media(max-width:700px) { .nfa-account-grid { grid-template-columns: 1fr; gap: 16px; } .nfa-account-form .nfa-button { width: 100%; } }
.nfa-ring-lg circle, .nfa-ring-xl circle { stroke-width: 3.2; }

/* Linear progress for cards and sheets */
.nfa-progress { margin: 16px 0; }
.nfa-progress > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 12px; color: var(--nf-taupe-strong); }
.nfa-progress strong { color: var(--nf-dark); font-size: 13px; font-weight: 700; }
.nfa-progress progress { display: block; appearance: none; width: 100%; height: 6px; border: 0; border-radius: 99px; overflow: hidden; background: var(--nf-sand); }
.nfa-progress progress::-webkit-progress-bar { background: var(--nf-sand); }
.nfa-progress progress::-webkit-progress-value { background: var(--nf-ink); border-radius: 99px; }
.nfa-progress progress::-moz-progress-bar { background: var(--nf-ink); border-radius: 99px; }

/* Typographic tiles on the course photograph */
.nfa-tile { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 96px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: var(--nf-dark); isolation: isolate; }
.nfa-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) blur(1.5px); transform: scale(1.08); opacity: .62; z-index: -1; }
.nfa-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, rgba(33, 27, 24, .55), rgba(77, 64, 58, .35)); }
.nfa-tile > span { padding: 6px 8px; color: var(--nf-cream); font: 600 9px/1.25 var(--nf-font); text-transform: uppercase; letter-spacing: .12em; text-align: center; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nfa-tile.is-plain { background: linear-gradient(140deg, var(--nf-sand), var(--nf-cream)); }
.nfa-tile.is-plain::after { display: none; }
.nfa-tile.is-plain > span { color: var(--nf-ink); }
.nfa-tile-sm { width: 64px; border-radius: 8px; }
.nfa-tile-sm > span { font-size: 7px; padding: 4px; letter-spacing: .1em; }
.nfa-tile-lg { width: 148px; border-radius: 14px; }
.nfa-tile-lg > span { font-size: 12px; padding: 10px; }
.nfa-tile-xl { width: 188px; border-radius: 16px; }
.nfa-tile-xl > span { font-size: 15px; padding: 12px; letter-spacing: .16em; }

/* Status markers */
.nfa-state { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--nf-warm); color: var(--nf-taupe-strong); }
.nfa-state .nfa-icon { width: 18px; height: 18px; }
.nfa-state.is-done { background: var(--nf-sand); color: var(--nf-dark); }
.nfa-state.is-done .nfa-icon { stroke-width: 2.2; }
.nfa-chip { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--nf-ink); color: var(--nf-cream); font-size: 12px; font-weight: 600; white-space: nowrap; }
.nfa-chip .nfa-icon { width: 16px; height: 16px; }

/* ---------- Dark banner (course, module, continue) ---------- */
.nfa-banner {
  position: relative; display: flex; align-items: center; gap: 24px; overflow: hidden; isolation: isolate;
  padding: 22px; border-radius: var(--nf-r-lg); background: var(--nf-dark); color: var(--nf-cream); text-decoration: none;
}
.nfa-banner-bg { position: absolute; inset: 0; z-index: -1; background: var(--nfa-bg) center/cover no-repeat; filter: blur(22px) saturate(.7); transform: scale(1.25); opacity: .45; }
.nfa-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(33, 27, 24, .92) 18%, rgba(33, 27, 24, .55)); }
.nfa-banner-copy { flex: 1; min-width: 0; }
.nfa-banner .nfa-eyebrow { color: var(--nf-taupe-light); }
.nfa-banner h1, .nfa-banner h2 { color: var(--nf-cream); margin-top: 4px; }
.nfa-banner h1 { font-size: 32px; }
.nfa-banner h2 { font-size: 28px; }
.nfa-banner-meta { margin: 8px 0 0 !important; font-size: 14px; color: rgba(253, 242, 232, .78); }
.nfa-banner .nfa-button { margin-top: 18px; }
.nfa-banner :focus-visible { outline-color: var(--nf-cream); }
.nfa-continue { margin-bottom: 8px; }

/* ---------- Dashboard cards ---------- */
.nfa-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.nfa-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid var(--nf-line); border-radius: var(--nf-r-lg); background: var(--nf-white); box-shadow: var(--nf-shadow); transition: transform .2s, box-shadow .2s; }
.nfa-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(33, 27, 24, .05), 0 18px 36px -18px rgba(33, 27, 24, .25); }
.nfa-card-media { position: relative; display: block; }
.nfa-card-media .nfa-ring { position: absolute; right: 14px; bottom: 14px; background: rgba(33, 27, 24, .72); border-radius: 50%; backdrop-filter: blur(6px); }
.nfa-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--nf-sand); }
.nfa-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nfa-cover-fallback { display: grid; height: 100%; place-items: center; color: var(--nf-taupe); }
.nfa-cover-fallback .nfa-icon { width: 48px; height: 48px; }
.nfa-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.nfa-card h2 { font-size: 22px; }
.nfa-card h2 a { text-decoration: none; }
.nfa-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nfa-card-description { font-size: 14px; color: var(--nf-taupe-strong); margin: 8px 0 0 !important; }
.nfa-card .nfa-progress { margin-top: auto; padding-top: 18px; }
.nfa-card-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.nfa-unavailable { display: flex; align-items: center; gap: 9px; margin-top: auto !important; padding-top: 16px; border-top: 1px solid var(--nf-line); font-size: 13px; color: var(--nf-taupe-strong); }

/* ---------- Course page ---------- */
.nfa-course-head { border-radius: var(--nf-r-lg); background: var(--nf-white); border: 1px solid var(--nf-line); box-shadow: var(--nf-shadow); padding: 8px; }
.nfa-course-head .nfa-banner { padding: 18px 28px 18px 18px; border-radius: 16px; }
.nfa-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 10px 6px; }
.nfa-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 10px; background: var(--nf-warm); font-size: 14px; font-weight: 600; text-decoration: none; }
.nfa-tabs a .nfa-icon { width: 17px; height: 17px; }
.nfa-tabs a:hover { background: var(--nf-sand); }
.nfa-tabs a[aria-current="page"] { background: var(--nf-ink); color: var(--nf-cream); }
.nfa-module-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nfa-module-card { display: flex; align-items: center; gap: 18px; padding: 10px 18px 10px 10px; border: 1px solid var(--nf-line); border-radius: var(--nf-r); background: var(--nf-white); box-shadow: var(--nf-shadow); text-decoration: none; transition: border-color .15s, transform .15s; }
.nfa-module-card:hover { border-color: var(--nf-line-strong); transform: translateX(2px); }
.nfa-module-card .nfa-tile { width: 112px; }
.nfa-module-copy { flex: 1; min-width: 0; display: grid; gap: 2px; }
.nfa-module-copy small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--nf-taupe-strong); }
.nfa-module-copy strong { font-size: 18px; font-weight: 600; color: var(--nf-dark); overflow-wrap: anywhere; letter-spacing: -.01em; }
.nfa-module-copy > span { font-size: 13px; color: var(--nf-taupe-strong); }
.nfa-info-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 20px; margin-top: 24px; align-items: start; }
.nfa-prose h2, .nfa-facts h2 { font-size: 20px; margin-bottom: 12px; }
.nfa-prose p { max-width: 64ch; line-height: 1.75; }
.nfa-facts dl { margin: 0; display: grid; gap: 14px; }
.nfa-facts dl > div { padding-top: 14px; border-top: 1px solid var(--nf-line); }
.nfa-facts dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--nf-taupe-strong); }
.nfa-facts dd { margin: 4px 0 0; font-size: 15px; color: var(--nf-dark); }

/* ---------- Module page: vertical lesson timeline ---------- */
.nfa-banner-module { margin-bottom: 20px; }
.nfa-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nfa-timeline li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: center; }
.nfa-timeline li:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 50%; height: calc(100% + 12px); width: 2px; background: var(--nf-sand); }
.nfa-timeline li.is-done:not(:last-child)::before { background: var(--nf-ink); }
.nfa-timeline-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--nf-white); border: 2px solid var(--nf-sand); font-size: 12px; font-weight: 700; color: var(--nf-taupe-strong); }
.nfa-timeline li.is-done .nfa-timeline-dot { background: var(--nf-ink); border-color: var(--nf-ink); color: var(--nf-cream); }
.nfa-timeline li.is-next .nfa-timeline-dot { border-color: var(--nf-ink); color: var(--nf-dark); }
.nfa-timeline-dot .nfa-icon { width: 16px; height: 16px; stroke-width: 2.4; }
.nfa-lesson-row { display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border: 1px solid var(--nf-line); border-radius: 14px; background: var(--nf-white); text-decoration: none; transition: border-color .15s, background-color .15s; }
.nfa-lesson-row:hover { border-color: var(--nf-line-strong); background: var(--nf-warm); }
.nfa-timeline li.is-next .nfa-lesson-row { border-color: var(--nf-ink); }
.nfa-lesson-row .nfa-tile { width: 80px; }
.nfa-lesson-row-copy { flex: 1; min-width: 0; display: grid; gap: 4px; }
.nfa-lesson-row-copy strong { font-size: 16px; font-weight: 600; color: var(--nf-dark); overflow-wrap: anywhere; }
.nfa-lesson-row-copy small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--nf-taupe-strong); }
.nfa-lesson-row-copy small .nfa-icon { width: 14px; height: 14px; }
.nfa-module-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Lesson: breadcrumb, module banner, sheet + rail ---------- */
.nfa-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin: -6px 0 16px; font-size: 13px; font-weight: 500; color: var(--nf-taupe-strong); }
.nfa-crumbs a { text-decoration: none; }
.nfa-crumbs a:hover { color: var(--nf-dark); text-decoration: underline; text-underline-offset: 3px; }
.nfa-crumbs .nfa-icon { width: 14px; height: 14px; opacity: .6; }
.nfa-crumbs [aria-current] { color: var(--nf-dark); }
.nfa-banner-compact { padding: 12px 18px 12px 12px; margin-bottom: 20px; max-width: calc(100% - 320px); }
.nfa-banner-compact .nfa-tile { width: 92px; }
.nfa-app a.nfa-banner { color: var(--nf-cream); }
.nfa-banner-compact strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.015em; overflow-wrap: anywhere; }
.nfa-banner-compact:hover::after { background: linear-gradient(100deg, rgba(33, 27, 24, .86) 18%, rgba(33, 27, 24, .45)); }
.nfa-study { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.nfa-sheet { min-width: 0; background: var(--nf-white); border: 1px solid var(--nf-line); border-radius: var(--nf-r-lg); box-shadow: var(--nf-shadow); padding: 30px 36px 26px; }
.nfa-sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.nfa-sheet-head h1 { margin-top: 6px; font-size: 30px; outline: none; }
.nfa-page-count { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 6px 10px; border-radius: 999px; background: var(--nf-warm); font-size: 13px; font-weight: 700; color: var(--nf-dark); }
.nfa-page-count .nfa-icon { width: 16px; height: 16px; }
.nfa-page-count[hidden] { display: none; }
/* Lesson pages reuse the Phase-19 reading rules; the sheet replaces their own paper frame. */
.nfa-sheet .nfa-lesson-content { background: none; border: 0; border-radius: 0; padding: 0; max-width: 72ch; }
.nfa-sheet .nfa-lesson-content > :first-child { margin-top: 0; }
.nfa-page + .nfa-page { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--nf-line); }
.nfa-js .nfa-page + .nfa-page { margin-top: 0; padding-top: 0; border-top: 0; }
.nfa-js .nfa-page-fallback-title { display: none; }
.nfa-page[hidden] { display: none; }
.nfa-page:not([hidden]) { animation: nfa-page-in .28s ease; }
@keyframes nfa-page-in { from { transform: translateY(6px); } to { transform: none; } }
.nfa-video-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 16 / 9; margin-bottom: 28px; border-radius: 18px; background: var(--nf-dark); color: var(--nf-cream); padding: 24px; text-align: center; }
.nfa-video-placeholder > .nfa-icon { width: 36px; height: 36px; margin-bottom: 4px; }
.nfa-video-placeholder strong { font-weight: 600; font-size: 18px; }
.nfa-video-placeholder > span { font-size: 13px; max-width: 36ch; opacity: .8; }
.nfa-sheet-foot { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--nf-line); }
.nfa-complete[hidden] { display: none; }
.nfa-complete { margin-bottom: 18px; padding: 18px 20px; border-radius: var(--nf-r); background: var(--nf-warm); }
.nfa-complete-hint { margin: 0 0 12px !important; font-size: 14px; color: var(--nf-ink); }
.nfa-complete form { margin: 0; }
.nfa-complete input[type="submit"] { white-space: normal; padding-inline: 24px; }
.nfa-completed { display: flex; align-items: center; gap: 12px; margin: 0 !important; font-size: 14px; }
.nfa-completed > .nfa-icon { display: grid; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--nf-ink); color: var(--nf-cream); stroke-width: 2.4; }
.nfa-pager { display: flex; justify-content: space-between; gap: 12px; }
.nfa-pager .nfa-button { min-width: 0; }
.nfa-pager .nfa-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nfa-placeholder-note { margin: 18px 0 0 !important; font-size: 12px; color: var(--nf-taupe-strong); }

.nfa-rail { position: sticky; top: 24px; display: grid; gap: 12px; }
.admin-bar .nfa-rail { top: 56px; }
.nfa-rail-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 2px; }
.nfa-rail-head strong { display: block; font-size: 17px; font-weight: 600; color: var(--nf-dark); }
.nfa-rail-head small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--nf-taupe-strong); }
.nfa-rail-lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nfa-rail-lessons > li { border: 1px solid var(--nf-line); border-radius: var(--nf-r); background: var(--nf-white); box-shadow: var(--nf-shadow); overflow: hidden; }
.nfa-rail-lesson { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; text-decoration: none; }
.nfa-rail-lesson:hover { background: var(--nf-warm); }
.nfa-rail-thumb { position: relative; flex-shrink: 0; }
.nfa-rail-check { position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--nf-ink); color: var(--nf-cream); border: 2px solid var(--nf-white); }
.nfa-rail-check .nfa-icon { width: 11px; height: 11px; stroke-width: 3; }
.nfa-rail-copy { min-width: 0; display: grid; gap: 2px; }
.nfa-rail-copy strong { font-size: 14px; font-weight: 600; color: var(--nf-dark); line-height: 1.3; overflow-wrap: anywhere; }
.nfa-rail-copy small { font-size: 12px; color: var(--nf-taupe-strong); }
.nfa-rail-lessons > li.is-current { border-color: var(--nf-line-strong); }
.nfa-rail-lessons > li.is-current > .nfa-rail-lesson { background: var(--nf-warm); }
.nfa-rail-pages { list-style: none; margin: 0; padding: 8px; display: grid; gap: 6px; border-top: 1px solid var(--nf-line); }
.nfa-rail-pages a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 7px 10px; border: 1px solid var(--nf-line); border-radius: 10px; font-size: 13px; font-weight: 500; text-decoration: none; transition: background-color .15s, border-color .15s; }
.nfa-rail-pages a:hover { background: var(--nf-warm); }
.nfa-rail-pages a[aria-current="step"] { border-color: var(--nf-ink); box-shadow: inset 0 0 0 1px var(--nf-ink); color: var(--nf-dark); font-weight: 600; }
.nfa-rail-pages a.is-done, .nfa-rail-pages a.is-seen { background: var(--nf-warm); }
.nfa-page-dot { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--nf-line-strong); font-size: 11px; font-weight: 700; color: var(--nf-taupe-strong); }
.nfa-rail-pages a.is-done .nfa-page-dot { background: var(--nf-ink); border-color: var(--nf-ink); color: var(--nf-cream); }
.nfa-rail-pages a.is-seen .nfa-page-dot { border-color: var(--nf-ink); color: var(--nf-dark); }
.nfa-rail-pages a[aria-current="step"] .nfa-page-dot { background: var(--nf-ink); border-color: var(--nf-ink); color: var(--nf-cream); }
.nfa-page-dot .nfa-icon { width: 12px; height: 12px; stroke-width: 3; }
.nfa-rail-next, .nfa-rail-all { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; text-decoration: none; }
.nfa-rail-next { background: var(--nf-sand); color: var(--nf-dark); }
.nfa-rail-next:hover { background: var(--nf-taupe-light); }
.nfa-rail-all { color: var(--nf-taupe-strong); }
.nfa-rail-all .nfa-icon, .nfa-rail-next .nfa-icon { width: 17px; height: 17px; }
.nfa-rail-all:hover { color: var(--nf-dark); background: var(--nf-white); }
.nfa-dock { display: none; }

/* Outline dialog: centred sheet on desktop, bottom sheet on phones */
.nfa-outline-sheet { width: min(560px, calc(100vw - 32px)); max-height: min(86vh, 820px); padding: 0; border: 0; border-radius: var(--nf-r-lg); background: var(--nf-white); color: var(--nf-ink); box-shadow: 0 30px 80px -20px rgba(33, 27, 24, .45); font-family: var(--nf-font); }
.nfa-outline-sheet::backdrop { background: rgba(33, 27, 24, .45); backdrop-filter: blur(3px); }
.nfa-outline-sheet[open] { display: flex; flex-direction: column; animation: nfa-sheet-in .25s ease both; }
@keyframes nfa-sheet-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.nfa-outline-sheet-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 22px 6px; background: var(--nf-white); }
.nfa-outline-sheet-head h2 { margin-top: 4px; font-size: 22px; }
.nfa-outline-sheet > .nfa-progress { margin: 6px 22px 10px; }
.nfa-outline { overflow-y: auto; padding: 4px 14px 22px; }
.nfa-outline-module { padding: 10px 0; border-top: 1px solid var(--nf-line); }
.nfa-outline-module h3 { display: flex; align-items: baseline; gap: 10px; padding: 6px 8px; font-size: 15px; }
.nfa-outline-module h3 small { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--nf-taupe-strong); }
.nfa-outline-index { flex-shrink: 0; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--nf-taupe-strong); }
.nfa-outline ol { list-style: none; margin: 0; padding: 0; }
.nfa-outline a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 500; }
.nfa-outline a:hover { background: var(--nf-warm); }
.nfa-outline a[aria-current="page"] { background: var(--nf-sand); color: var(--nf-dark); font-weight: 600; }
.nfa-dot { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--nf-line-strong); }
.nfa-outline a.is-done .nfa-dot { background: var(--nf-ink); border-color: var(--nf-ink); color: var(--nf-cream); }
.nfa-dot .nfa-icon { width: 13px; height: 13px; stroke-width: 3; }
.nfa-outline-label { min-width: 0; overflow-wrap: anywhere; }
.nfa-outline-label small { display: block; font-size: 12px; font-weight: 400; color: var(--nf-taupe-strong); }

/* ---------- States ---------- */
.nfa-empty { border: 1px solid var(--nf-line); border-radius: var(--nf-r-lg); padding: 40px; background: var(--nf-white); box-shadow: var(--nf-shadow); }
.nfa-empty > .nfa-icon { width: 36px; height: 36px; margin-bottom: 18px; color: var(--nf-taupe-strong); }
.nfa-empty p { max-width: 58ch; margin: 14px 0 24px; font-size: 15px; }
.nfa-access-state { max-width: 780px; margin: 24px auto; }
.nfa-access-state h1 { font-size: 30px; margin-top: 8px; }
.nfa-banner-finish { max-width: 860px; margin: 24px auto; padding: 36px; gap: 32px; }
.nfa-banner-finish .nfa-text-link { color: var(--nf-cream); }
.nfa-banner-finish .nfa-card-actions { margin-top: 18px; justify-content: flex-start; }
.nfa-banner-finish .nfa-card-actions .nfa-button { margin-top: 0; }

/* ---------- Login (native WordPress forms, nonces and errors stay intact) ---------- */
.login { min-height: 100vh; }
.login #login { width: min(420px, calc(100% - 40px)); padding: 7vh 0 32px; }
.login h1 a { width: 210px; height: 62px; margin-bottom: 24px; background: url('logo.svg') center/contain no-repeat; }
.nfa-login-intro { margin-bottom: 24px; text-align: center; }
.nfa-login-intro h2 { font-size: 28px; margin-top: 8px; }
.nfa-login-intro > p:last-child { font-size: 14px; line-height: 1.6; margin: 12px 0 0; }
.login #loginform, .login #lostpasswordform, .login #resetpassform { margin-top: 0; background: var(--nf-white); border: 1px solid var(--nf-line); border-radius: var(--nf-r-lg); padding: 28px; box-shadow: var(--nf-shadow); }
.login label { color: var(--nf-ink); font: 500 13px/1.5 var(--nf-font); }
.login input[type="text"], .login input[type="password"], .login input[type="email"] { min-height: 48px; border: 1px solid var(--nf-line-strong); border-radius: 12px; background: var(--nf-warm); color: var(--nf-ink); font: 400 16px/1.5 var(--nf-font); padding: 11px 12px; }
.login input[type="text"]:focus, .login input[type="password"]:focus, .login input[type="email"]:focus { border-color: var(--nf-ink); box-shadow: 0 0 0 1px var(--nf-ink); }
.login .button.wp-hide-pw { width: 48px; min-height: 48px; color: var(--nf-ink); }
.login .forgetmenot { float: none; display: flex; align-items: center; min-height: 44px; margin: 4px 0 14px; }
.login .forgetmenot label { display: inline-flex; align-items: center; min-height: 44px; }
.login input[type="checkbox"] { color: var(--nf-ink); border-color: var(--nf-ink); }
.login #wp-submit { float: none; width: 100%; min-height: 48px; border: 1px solid var(--nf-ink); border-radius: 999px; background: var(--nf-ink); color: var(--nf-cream); box-shadow: none; font: 600 14px/1.5 var(--nf-font); padding: 12px 20px; }
.login .button-primary:hover, .login .button-primary:focus { background: var(--nf-dark); border-color: var(--nf-dark); color: var(--nf-cream); }
.login #nav, .login #backtoblog { margin: 12px 0 0; padding: 0; text-align: center; }
.login #nav a, .login #backtoblog a { display: inline-flex; align-items: center; min-height: 44px; color: var(--nf-ink); font: 500 13px/1.5 var(--nf-font); }
.login .message, .login .notice, .login #login_error { background: var(--nf-white); color: var(--nf-ink); border: 1px solid var(--nf-line); border-left: 3px solid var(--nf-ink); border-radius: 12px; box-shadow: none; font-size: 14px; }
.login .language-switcher { display: none; }
@media (min-width: 1200px) {
  .login::before { content: ''; position: fixed; left: 0; top: 0; width: 47%; height: 100vh; background: url('academy.jpg') center/cover no-repeat; pointer-events: none; }
  .login #login { margin-left: calc(47% + (53% - 420px) / 2); padding-top: 9vh; }
}

/* ---------- Responsive ---------- */
@media (min-width: 1024px) and (max-width: 1239px) {
  .nfa-layout { grid-template-columns: 216px minmax(0, 1fr); }
  .nfa-workspace main { padding: 30px 28px 56px; }
  .nfa-study { grid-template-columns: minmax(0, 1fr) 260px; }
  .nfa-banner-compact { max-width: calc(100% - 280px); }
  .nfa-sheet { padding: 26px 28px; }
}
@media (max-width: 1023px) {
  .nfa-layout { display: block; }
  .nfa-sidebar, .admin-bar .nfa-sidebar { position: sticky; top: 0; z-index: 40; height: auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; border-right: 0; border-bottom: 1px solid var(--nf-line); overflow: visible; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); }
  .admin-bar .nfa-sidebar { top: 46px; }
  .nfa-brand { flex-direction: row; align-items: center; gap: 10px; padding: 0; }
  .nfa-brand img { width: 120px; height: 32px; }
  .nfa-brand > span { margin: 0; font-size: 8px; }
  .nfa-navigation { position: static; }
  .nfa-navigation > summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--nf-line); cursor: pointer; list-style: none; }
  .nfa-navigation > summary::-webkit-details-marker { display: none; }
  .nfa-nav-panel { position: absolute; right: 12px; top: calc(100% + 8px); z-index: 50; width: min(320px, calc(100vw - 24px)); max-height: calc(100vh - 90px); overflow-y: auto; padding: 14px; border: 1px solid var(--nf-line); border-radius: var(--nf-r-lg); background: var(--nf-white); box-shadow: 0 24px 60px -20px rgba(33, 27, 24, .35); }
  .nfa-sidebar-bottom { display: none; }
  .nfa-workspace main { padding: 24px 20px 48px; }
  .nfa-footer { padding: 16px 20px; }
  .nfa-study { grid-template-columns: 1fr; }
  .nfa-rail { display: none; }
  .nfa-banner-compact { max-width: none; }
  .nfa-js .nfa-pager { display: none; }
  .nfa-js .nfa-dock { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); border-top: 1px solid var(--nf-line); backdrop-filter: blur(14px); }
  .nfa-js body.single-lesson .nfa-workspace { padding-bottom: 76px; }
  .nfa-dock-btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 10px; border-radius: 14px; background: var(--nf-warm); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--nf-ink); }
  .nfa-dock-btn .nfa-icon { width: 18px; height: 18px; }
  .nfa-dock-btn.is-primary { background: var(--nf-dark); color: var(--nf-cream); }
  .nfa-outline-sheet { width: 100vw; max-width: 100vw; max-height: 88vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .nfa-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .nfa-sidebar, .admin-bar .nfa-sidebar { padding: 8px 14px; }
  .admin-bar .nfa-sidebar { top: 0; }
  .nfa-workspace main { padding: 20px 16px 40px; }
  .nfa-app h1, .nfa-pagehead h1 { font-size: 28px; }
  .nfa-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .nfa-banner { flex-wrap: wrap; gap: 16px; padding: 18px; }
  .nfa-banner .nfa-tile-lg, .nfa-banner .nfa-tile-xl { display: none; }
  .nfa-banner h1 { font-size: 26px; }
  .nfa-banner h2 { font-size: 23px; }
  .nfa-banner .nfa-ring-lg, .nfa-banner .nfa-ring-xl { position: absolute; right: 16px; top: 16px; width: 64px; height: 64px; }
  .nfa-banner .nfa-ring-lg > span, .nfa-banner .nfa-ring-xl > span { font-size: 14px; }
  .nfa-banner-copy { padding-right: 72px; }
  .nfa-banner .nfa-button { width: 100%; }
  .nfa-course-head { padding: 6px; }
  .nfa-course-head .nfa-banner { padding: 18px; }
  .nfa-tabs a { flex: 1; justify-content: center; }
  .nfa-module-card { gap: 12px; padding: 8px 12px 8px 8px; }
  .nfa-module-card .nfa-tile { width: 76px; }
  .nfa-module-copy strong { font-size: 16px; }
  .nfa-panel { padding: 18px; }
  .nfa-timeline li { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
  .nfa-timeline li:not(:last-child)::before { left: 12px; }
  .nfa-timeline-dot { width: 26px; height: 26px; font-size: 11px; }
  .nfa-lesson-row .nfa-tile { display: none; }
  .nfa-lesson-row { padding: 12px 10px 12px 14px; }
  .nfa-chip { padding: 5px 7px 5px 10px; font-size: 11px; }
  .nfa-banner-compact { flex-wrap: nowrap; padding: 10px 12px 10px 10px; }
  .nfa-banner-compact .nfa-tile { width: 64px; }
  .nfa-banner-compact .nfa-banner-copy { padding-right: 0; }
  .nfa-banner-compact strong { font-size: 16px; }
  .nfa-banner-compact .nfa-ring-md { position: relative; width: 48px; height: 48px; }
  .nfa-sheet { margin: 0 -16px; padding: 22px 18px; border-radius: 20px; border-left: 0; border-right: 0; }
  .nfa-sheet-head h1 { font-size: 25px; }
  .nfa-pager { flex-direction: column-reverse; }
  .nfa-pager .nfa-button { width: 100%; }
  .nfa-complete input[type="submit"] { width: 100%; }
  .nfa-empty { padding: 26px 20px; }
  .nfa-banner-finish { padding: 24px 18px; }
  .nfa-banner-finish .nfa-ring-xl { position: static; }
  .nfa-banner-finish .nfa-banner-copy { padding-right: 0; }
  .nfa-footer { font-size: 10px; }
  .login #login { padding-top: 32px; width: min(420px, calc(100% - 32px)); }
  .login #loginform, .login #lostpasswordform, .login #resetpassform { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .nfa-app *, .login * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* Original lesson artwork already contains its title; preserve its color and crop. */
.nfa-tile-original img { object-fit: contain; filter: none; transform: none; opacity: 1; z-index: 0; }
.nfa-tile-original::after { display: none; }
@media (max-width: 767px) {
  .nfa-lesson-row .nfa-tile-original { display: grid; width: 64px; }
  .nfa-lesson-row:has(.nfa-tile-original) { display: grid; grid-template-columns: 64px minmax(0, 1fr) 24px; gap: 10px; padding-left: 8px; }
  .nfa-lesson-row:has(.nfa-tile-original) .nfa-chip { grid-column: 2 / -1; justify-self: start; }
  .nfa-lesson-row:has(.nfa-tile-original) .nfa-state { width: 24px; height: 24px; }
}

/* Completion banner owns its progress-ring containing block at every breakpoint. */
.nfa-banner.nfa-banner-finish{display:grid;grid-template-columns:104px minmax(0,1fr);gap:28px;align-items:center;padding:30px}
.nfa-banner.nfa-banner-finish>.nfa-ring{position:relative;inset:auto;z-index:1;width:104px;height:104px;justify-self:start;isolation:isolate}
.nfa-banner.nfa-banner-finish>.nfa-ring>svg{position:absolute;inset:0;width:100%;height:100%}
.nfa-banner.nfa-banner-finish>.nfa-ring>span{position:relative;z-index:1;font-size:22px}
.nfa-banner.nfa-banner-finish+.nfa-panel{margin-top:24px}
.nfa-completion-delivery{margin:18px 0 0;color:var(--nf-taupe-strong);font-size:14px;line-height:1.6}
@media(max-width:720px){.nfa-banner.nfa-banner-finish{grid-template-columns:minmax(0,1fr);gap:22px;padding:24px}.nfa-banner.nfa-banner-finish>.nfa-ring{width:84px;height:84px}.nfa-banner.nfa-banner-finish>.nfa-ring>span{font-size:20px}}

/* Preserve the original course artwork's 16:9 format. */
.nfa-tile-original.nfa-course-artwork { aspect-ratio: 16 / 9; background: var(--nf-cream); }
