.ft-shell { padding-bottom: 7rem; }
.ft-hero { min-height: 430px; padding: clamp(1.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: center; gap: clamp(1.2rem, 4vw, 3rem); overflow: hidden; border-radius: 2rem; color: #fff; background: radial-gradient(circle at 86% 14%, rgba(213,163,38,.24), transparent 19rem), linear-gradient(135deg, #071b2d, #153B5B 64%, #245b80); box-shadow: var(--fp-shadow); }
.ft-hero h1 { margin: .75rem 0 1rem; font-size: clamp(2.4rem, 6vw, 5.1rem); line-height: .95; letter-spacing: -.06em; }
.ft-hero h1 span { color: #dbeaf5; }
.ft-hero p { max-width: 700px; color: #edf5fa; line-height: 1.65; }
.ft-hero-note { padding: 1.25rem; border: 1px solid rgba(255,255,255,.2); border-radius: 1.2rem; background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.ft-hero-note strong { color: var(--fp-gold); }
.ft-hero-note p { margin-bottom: 0; font-size: .92rem; }
.ft-toolbar, .ft-setup { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; padding: 1rem; border: 1px solid var(--fp-border); border-radius: 1rem; background: var(--fp-card); }
.ft-toolbar .fp-field, .ft-setup .fp-field { min-width: min(220px, 100%); flex: 1; }
.ft-note { margin: .8rem 0 0; padding: .85rem 1rem; border-left: 4px solid var(--fp-gold); color: #5d4a12; background: #fff8e7; line-height: 1.55; }
.ft-exam-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.ft-exam-card { min-height: 220px; padding: 1.05rem; display: grid; align-content: start; gap: .55rem; border: 1px solid var(--fp-border); border-top: 5px solid var(--fp-gold); border-radius: 1.1rem; color: var(--fp-ink); text-align: left; background: var(--fp-card); box-shadow: 0 14px 36px rgba(8,35,58,.08); cursor: pointer; touch-action: manipulation; }
.ft-exam-card:hover { border-color: var(--fp-olive); background: #edf5fa; transform: translateY(-2px); }
.ft-exam-card > span { color: var(--fp-olive); font-size: .72rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.ft-exam-card strong { margin-top: auto; font-size: 1.12rem; line-height: 1.2; }
.ft-exam-card small { min-height: 3.7em; color: var(--fp-muted); line-height: 1.45; }
.ft-exam-card b { color: var(--fp-gold-dark); font-size: .78rem; }
.ft-program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: .9rem; }
.ft-program-card { min-width: 0; padding: 1.1rem; border: 1px solid var(--fp-border); border-radius: 1rem; background: var(--fp-card); }
.ft-program-card > span { color: var(--fp-olive); font-size: .73rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.ft-program-card h3 { margin: .45rem 0; }
.ft-program-card p { margin: .35rem 0; color: var(--fp-muted); line-height: 1.55; }
.ft-program-card a { min-height: 44px; margin-top: .65rem; display: inline-flex; align-items: center; color: var(--fp-olive); font-weight: 900; }
.ft-question-panel, .ft-result { margin-top: .9rem; padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid var(--fp-border); border-top: 5px solid var(--fp-gold); border-radius: 1.2rem; background: var(--fp-card); box-shadow: 0 16px 44px rgba(17,36,27,.08); scroll-margin-top: 7rem; }
.ft-question-head, .ft-sim-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ft-question-panel h3, .ft-result h3 { margin: 1rem 0; font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.3; }
.ft-choices { margin: 0; padding: 0; display: grid; gap: .6rem; border: 0; }
.ft-choice { min-height: 52px; padding: .8rem; display: flex; align-items: center; gap: .7rem; border: 1px solid var(--fp-border); border-radius: .8rem; color: var(--fp-ink); background: var(--fp-card); cursor: pointer; touch-action: manipulation; }
.ft-choice:hover { border-color: var(--fp-olive); background: #edf5fa; }
.ft-choice:has(input:checked) { border-color: var(--fp-olive); box-shadow: 0 0 0 2px rgba(21,59,91,.18); }
.ft-choice input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--fp-olive); }
.ft-choice.is-correct { border-color: #287a4c; background: #e9f7ef; }
.ft-choice.is-wrong { border-color: #b13b34; background: #fff0ef; }
.ft-feedback { margin-top: .9rem; padding: 1rem; border-radius: .9rem; background: #edf4f8; }
.ft-feedback strong { color: var(--fp-olive); }
.ft-feedback p { color: var(--fp-muted); line-height: 1.55; }
.ft-feedback a { min-height: 44px; display: inline-flex; align-items: center; color: var(--fp-olive); font-weight: 900; }
.ft-sim-nav { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .65rem; }
.ft-sim-nav > * { flex: 1; }
.ft-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.ft-result-card { padding: .9rem; border-radius: .8rem; background: #edf4f8; }
.ft-result-card strong, .ft-result-card span { display: block; }
.ft-result-card span { margin-top: .25rem; color: var(--fp-muted); }
.ft-review-title { margin: 1.5rem 0 .75rem; font-size: 1.15rem; }
.ft-review-list { display: grid; gap: .75rem; }
.ft-review-card { padding: 1rem; border: 1px solid var(--fp-border); border-left: 5px solid #287a4c; border-radius: .9rem; background: #f8fbfd; }
.ft-review-card.is-wrong { border-left-color: #b13b34; }
.ft-review-card > span { color: var(--fp-olive); font-size: .72rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.ft-review-card h5 { margin: .45rem 0 .65rem; font-size: 1rem; line-height: 1.45; }
.ft-review-card p { margin: .35rem 0; color: var(--fp-muted); line-height: 1.55; }
.ft-review-card p strong { color: var(--fp-ink); }
.ft-review-card a { min-height: 44px; display: inline-flex; align-items: center; color: var(--fp-olive); font-weight: 900; }
.ft-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.ft-info-grid article { padding: 1.1rem; border: 1px solid var(--fp-border); border-radius: 1rem; background: var(--fp-card); }
.ft-info-grid h3 { margin: 0 0 .45rem; color: var(--fp-olive); }
.ft-info-grid p { margin: 0; color: var(--fp-muted); line-height: 1.6; }
.ft-faq { display: grid; gap: .65rem; margin-top: 1rem; }
.ft-faq details { border: 1px solid var(--fp-border); border-radius: .85rem; background: var(--fp-card); }
.ft-faq summary { min-height: 52px; padding: .85rem 1rem; display: flex; align-items: center; color: var(--fp-ink); font-weight: 900; cursor: pointer; }
.ft-faq p { margin: 0; padding: 0 1rem 1rem; color: var(--fp-muted); line-height: 1.6; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
[data-nb-theme="dark"] .ft-toolbar, [data-nb-theme="dark"] .ft-setup, [data-nb-theme="dark"] .ft-program-card, [data-nb-theme="dark"] .ft-choice { background: var(--fp-card); }
[data-nb-theme="dark"] .ft-choice:hover, [data-nb-theme="dark"] .ft-feedback, [data-nb-theme="dark"] .ft-result-card, [data-nb-theme="dark"] .ft-review-card, [data-nb-theme="dark"] .ft-exam-card:hover { background: #153b56; }
[data-nb-theme="dark"] .ft-note { color: #f4df9d; background: #332a12; }
@media (max-width: 1050px) { .ft-exam-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .ft-program-grid, .ft-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .ft-hero { min-height: auto; padding: 2rem 1.15rem; grid-template-columns: 1fr; border-radius: 1.35rem; }
  .ft-program-grid, .ft-result-grid, .ft-exam-grid, .ft-info-grid { grid-template-columns: 1fr; }
  .ft-toolbar, .ft-setup { align-items: stretch; flex-direction: column; }
  .ft-toolbar > *, .ft-setup > *, .ft-sim-nav > * { width: 100%; }
  .ft-question-head, .ft-sim-head { align-items: flex-start; }
  .ft-choice { min-height: 56px; }
  .ft-exam-card { min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) { .ft-choice { transition: none; } }
