/* ECS screens use the existing Apprentice palette and premium button component. */
.ecs-page{background:#f2f4f7;color:#173253;min-height:calc(100svh - 80px);padding:1px 0 36px}.ecs-content{max-width:1480px;margin:auto;padding:24px clamp(16px,4vw,64px)}.ecs-breadcrumb{display:flex;flex-wrap:wrap;gap:20px;font-size:.85rem}.ecs-breadcrumb a{color:#173253;text-transform:capitalize;text-underline-offset:4px}.ecs-heading{padding:34px 0 26px;max-width:1000px}.ecs-heading h1{font-size:clamp(2rem,4.2vw,3.9rem);letter-spacing:-.035em;line-height:1.1;color:#071b43;margin:10px 0 18px}.ecs-heading>p:last-child{font-size:1.1rem;line-height:1.65}.ecs-page .eyebrow{font-size:.75rem;letter-spacing:.14em;color:#806020;font-weight:800}.ecs-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.ecs-mode-card{background:#fff;border:1px solid #d4b268;border-radius:20px;overflow:hidden;text-decoration:none;color:#173253;box-shadow:0 16px 32px #071b4314;display:flex;flex-direction:column;transition:transform .2s}.ecs-mode-card:hover{transform:translateY(-4px)}.ecs-mode-card>img{aspect-ratio:16/10;width:100%;object-fit:cover}.ecs-mode-card>div{padding:26px;display:flex;flex:1;flex-direction:column;align-items:flex-start}.ecs-mode-card h2{font-size:1.6rem;line-height:1.15;color:#071b43;margin:6px 0 12px}.ecs-mode-card p{line-height:1.65}.ecs-mode-card .tfe-premium-button{margin-top:auto}.ecs-meta{padding:24px 0;font-size:.9rem}.ecs-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.ecs-topic-card{min-width:0;display:flex;flex-direction:column;background:white;border:1px solid #d4b268;border-radius:18px;overflow:hidden;text-decoration:none;color:#173253;box-shadow:0 12px 26px #071b4312}.ecs-topic-card header{background:#091e47;color:#fff;padding:20px;min-height:115px;border-bottom:2px solid #d4b268}.ecs-topic-card header span{color:#f0cc7a;font-size:.72rem;letter-spacing:.12em}.ecs-topic-card h2{color:#fff;font-size:1.13rem;line-height:1.3;margin:10px 0 0}.ecs-topic-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.ecs-topic-card p{padding:0 20px;line-height:1.6}.ecs-topic-card small{padding:0 20px;line-height:1.6;margin-top:auto}.ecs-topic-card>.tfe-premium-button{margin:20px}.ecs-panel{padding:clamp(20px,3vw,34px);border:1px solid #dce3eb;background:#fff;border-radius:18px;margin-bottom:24px;box-shadow:0 8px 20px #071b4309}.ecs-panel h2{color:#071b43;line-height:1.2;margin-top:0}.ecs-panel p,.ecs-panel li{line-height:1.75}.ecs-teaching{display:grid;grid-template-columns:1fr 1fr;gap:24px}.ecs-teaching>.ecs-panel:last-child{grid-column:1/-1}.ecs-teaching .ecs-panel{margin:0}.ecs-onsite{background:#091e47;color:white;border-color:#d4b268}.ecs-onsite h2{color:#fff}.ecs-section-title{margin:30px 0 20px;color:#071b43}.ecs-options{padding:0;border:0;min-width:0;margin:0}.ecs-options legend{font-size:clamp(1.15rem,2vw,1.55rem);font-weight:750;line-height:1.5;color:#071b43;margin:12px 0 24px;max-width:100%}.ecs-option{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #cbd5e1;border-radius:12px;margin:12px 0;cursor:pointer;line-height:1.55}.ecs-option input{width:20px;height:20px;min-width:20px;accent-color:#0a2353}.ecs-option.selected{background:#e9eff8;border:2px solid #a17d39;padding:17px}.ecs-letter{font-weight:800;color:#725415}.ecs-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 0}.ecs-page button:disabled{opacity:.55;cursor:wait}.ecs-feedback{border-top:2px solid #d4b268;margin-top:30px;padding-top:26px}.ecs-feedback h2{font-size:1.6rem}.ecs-feedback-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ecs-feedback-grid h3{font-size:.8rem;color:#806020;letter-spacing:.08em}.ecs-feedback mark{display:inline-block;background:#f4e7c9;color:#493b1f;border-radius:6px;padding:3px 7px;margin:3px}.ecs-test-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;border-bottom:1px solid #dce3eb;padding-bottom:24px}.ecs-test-facts>div{display:flex;flex-direction:column;gap:8px}.ecs-test-facts strong{font-size:2rem;color:#071b43}.ecs-panel details{padding:18px 0;border-top:1px solid #e1e7ee}.ecs-panel summary{cursor:pointer;font-weight:700;line-height:1.5}.ecs-test-intro details{margin-top:26px}.ecs-history{display:flex;flex-wrap:wrap;gap:12px}.ecs-mock-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.ecs-mock-layout .ecs-panel{min-width:0}.ecs-mock-toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid #dce3eb}.ecs-mock-toolbar strong{font-variant-numeric:tabular-nums;color:#071b43}.ecs-navigator{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.ecs-navigator button{min-height:45px;padding:6px 2px;background:#f0f3f8;color:#071b43;border:1px solid #cbd5e1;border-radius:8px;font-weight:750}.ecs-navigator small{display:block;font-size:.6rem;height:10px}.ecs-navigator button[aria-current]{background:#091e47;color:#fff;border:2px solid #d4b268}.ecs-result{background:#091e47;color:white;text-align:center;border:1px solid #d4b268}.ecs-result h2{color:white}.ecs-result>strong{font-size:3.6rem}.ecs-result .eyebrow{color:#f0cc7a}.ecs-breakdown>div{display:grid;grid-template-columns:1fr auto;gap:12px;padding:14px 0}.ecs-breakdown progress{grid-column:1/-1;width:100%;height:9px;accent-color:#b4914e}.ecs-focus{padding:10px 0 22px}.ecs-focus h3{color:#071b43}.ecs-footer{font-size:.8rem;line-height:1.7;padding:28px 0;color:#4b5d73}.ecs-footer a{color:#314e73}.ecs-page :is(a,button,input,summary):focus-visible{outline:3px solid #b58a32;outline-offset:4px}.ecs-page #ecsNotice:not(:empty){padding:18px;background:#fff5d9;border:1px solid #a68033;border-radius:10px;margin-bottom:20px}.ecs-page :is(p,h1,h2,h3,span,legend){overflow-wrap:anywhere}
@media(min-width:1700px){.ecs-topic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1050px){.ecs-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ecs-mock-layout{grid-template-columns:1fr}.ecs-navigator{grid-template-columns:repeat(10,minmax(0,1fr))}.ecs-mode-card>div{padding:20px}.ecs-mode-card h2{font-size:1.3rem}}@media(max-width:650px){.ecs-mode-grid,.ecs-topic-grid,.ecs-teaching,.ecs-feedback-grid{grid-template-columns:1fr}.ecs-teaching>.ecs-panel:last-child{grid-column:auto}.ecs-test-facts{gap:10px}.ecs-test-facts strong{font-size:1.5rem}.ecs-option{padding:14px;gap:9px}.ecs-option.selected{padding:13px}.ecs-letter{display:none}.ecs-navigator{grid-template-columns:repeat(5,minmax(0,1fr))}.ecs-actions>*{flex:1;justify-content:center}.ecs-breakdown>div{grid-template-columns:1fr}.ecs-result>strong{font-size:3rem}.ecs-heading{padding-top:28px}}
@media(prefers-reduced-motion:reduce){.ecs-page *{transition:none!important;animation:none!important}}

/* 18th Edition learner dashboard. */
[data-prep-course="regulations"] .reg-dashboard{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:24px}
[data-prep-course="regulations"] .reg-dashboard>*{min-width:0}
[data-prep-course="regulations"] .reg-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);min-height:390px;overflow:hidden;border:1px solid #caa85e;border-radius:26px;background:linear-gradient(135deg,#061936 0%,#0b2c5c 72%,#173d71 100%);box-shadow:0 24px 54px #071b4326;color:#fff}
[data-prep-course="regulations"] .reg-hero>div{align-self:center;padding:clamp(30px,5vw,64px)}
[data-prep-course="regulations"] .reg-hero .eyebrow{color:#f2cf7c}
[data-prep-course="regulations"] .reg-hero h2{max-width:760px;margin:10px 0 18px;color:#fff;font-size:clamp(2rem,4vw,3.7rem);line-height:1.06;letter-spacing:-.035em}
[data-prep-course="regulations"] .reg-hero p:not(.eyebrow){max-width:650px;font-size:1.08rem;line-height:1.65;color:#dce7f5}
[data-prep-course="regulations"] .reg-hero>img{width:100%;height:100%;min-height:390px;object-fit:cover;object-position:center}
[data-prep-course="regulations"] .reg-secondary-link{display:inline-flex;align-items:center;min-height:48px;padding:0 6px;color:#fff;font-weight:750;text-underline-offset:5px}
[data-prep-course="regulations"] .reg-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
[data-prep-course="regulations"] .reg-stat-grid article{display:flex;min-width:0;min-height:124px;flex-direction:column;justify-content:space-between;padding:20px;border:1px solid #d8e0ea;border-top:3px solid #c5a04f;border-radius:16px;background:#fff;box-shadow:0 10px 24px #071b430d}
[data-prep-course="regulations"] .reg-stat-grid span{font-size:.78rem;font-weight:750;color:#52647a}
[data-prep-course="regulations"] .reg-stat-grid strong{font-size:clamp(1.7rem,3vw,2.6rem);color:#071b43;font-variant-numeric:tabular-nums}
[data-prep-course="regulations"] .reg-latest{display:flex;align-items:center;justify-content:space-between;gap:24px;border-left:5px solid #c5a04f}
[data-prep-course="regulations"] .reg-latest p{margin-bottom:0}
[data-prep-course="regulations"] .reg-dashboard-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:24px}
[data-prep-course="regulations"] .reg-dashboard-grid>.ecs-panel{margin:0}
[data-prep-course="regulations"] .reg-focus-row{display:grid;grid-template-columns:minmax(0,1fr) 140px;align-items:center;gap:18px;padding:16px 0;border-top:1px solid #e4e9ef}
[data-prep-course="regulations"] .reg-focus-row div{display:flex;flex-direction:column;gap:5px}
[data-prep-course="regulations"] .reg-focus-row span{font-size:.85rem;color:#5d6e82}
[data-prep-course="regulations"] .reg-focus-row progress{width:100%;height:9px;accent-color:#b58a32}
[data-prep-course="regulations"] .reg-tips{display:grid;gap:12px;padding-left:20px}
[data-prep-course="regulations"] .reg-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
[data-prep-course="regulations"] .reg-section-heading h2{margin-bottom:0}
[data-prep-course="regulations"] .reg-table-wrap{max-width:100%;overflow-x:auto;margin-top:20px}
[data-prep-course="regulations"] .reg-history table{width:100%;border-collapse:collapse;white-space:nowrap}
[data-prep-course="regulations"] .reg-history :is(th,td){padding:15px 12px;border-bottom:1px solid #e2e8f0;text-align:left}
[data-prep-course="regulations"] .reg-history th{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#607186}
[data-prep-course="regulations"] .reg-status{display:inline-flex;padding:5px 10px;border-radius:999px;font-size:.75rem;font-weight:800}
[data-prep-course="regulations"] .reg-status.is-pass{background:#e4f5ec;color:#176139}
[data-prep-course="regulations"] .reg-status.is-review{background:#fff0df;color:#8a4815}
[data-prep-course="regulations"] .reg-text-button{border:0;background:transparent;color:#0b4a8b;font:inherit;font-weight:750;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
[data-prep-course="regulations"] .reg-review{scroll-margin-top:20px;border-top:4px solid #c5a04f}
[data-prep-course="regulations"] .reg-review-item{padding:22px 0;border-top:1px solid #dce3eb}
[data-prep-course="regulations"] .reg-review-item h3{color:#071b43;line-height:1.45}
[data-prep-course="regulations"] .reg-review-item dl{display:grid;grid-template-columns:1fr 1fr;gap:14px}
[data-prep-course="regulations"] .reg-review-item dl>div{padding:14px;border-radius:10px;background:#f4f6f9}
[data-prep-course="regulations"] .reg-review-item dt{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#68788b}
[data-prep-course="regulations"] .reg-review-item dd{margin:6px 0 0;line-height:1.5}
[data-prep-course="regulations"] .reg-reference{font-weight:700;color:#71551e}
@media(max-width:1050px){[data-prep-course="regulations"] .reg-stat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){[data-prep-course="regulations"] .reg-hero{grid-template-columns:1fr}[data-prep-course="regulations"] .reg-hero>img{order:-1;min-height:0;max-height:290px;aspect-ratio:16/9}[data-prep-course="regulations"] .reg-dashboard-grid{grid-template-columns:1fr}[data-prep-course="regulations"] .reg-latest{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){[data-prep-course="regulations"] .reg-stat-grid{grid-template-columns:repeat(2,1fr)}[data-prep-course="regulations"] .reg-stat-grid article{min-height:105px;padding:16px}[data-prep-course="regulations"] .reg-focus-row{grid-template-columns:1fr}[data-prep-course="regulations"] .reg-review-item dl{grid-template-columns:1fr}[data-prep-course="regulations"] .reg-section-heading{align-items:flex-start;flex-direction:column}}

/* Reference-led 18th Edition dashboard: one hero and three learner-question cards. */
[data-prep-course="regulations"][data-prep-mode="landing"] .ecs-content{max-width:1640px}
[data-prep-course="regulations"][data-prep-mode="landing"] .ecs-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[data-prep-course="regulations"] .reg-ref-dashboard{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;min-width:0;padding-top:18px}
[data-prep-course="regulations"] .reg-ref-hero{display:grid;grid-template-columns:minmax(440px,.88fr) minmax(0,1.12fr);min-height:320px;overflow:hidden;border:1px solid #dce3ec;border-radius:22px;background:#fff;box-shadow:0 18px 46px #071b4314}
[data-prep-course="regulations"] .reg-ref-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:34px clamp(32px,4vw,66px);background:linear-gradient(90deg,#fff 0%,#fff 78%,#fffffff2 88%,#ffffff9c 96%,transparent 100%)}
[data-prep-course="regulations"] .reg-ref-hero-copy .eyebrow{margin:0;color:#173253;font-size:.82rem;letter-spacing:.16em}
[data-prep-course="regulations"] .reg-ref-rule{width:62px;height:3px;margin:18px 0 16px;border-radius:9px;background:#bd8f2d}
[data-prep-course="regulations"] .reg-ref-hero h2{max-width:680px;margin:0;color:#061b46;font-size:clamp(2.2rem,3.7vw,3.75rem);line-height:1.02;letter-spacing:-.045em}
[data-prep-course="regulations"] .reg-ref-hero-copy>p:not(.eyebrow){max-width:650px;margin:16px 0 22px;color:#344e71;font-size:clamp(1rem,1.35vw,1.2rem);line-height:1.5}
[data-prep-course="regulations"] .reg-ref-hero .tfe-premium-button{--tfe-premium-top:#d1a541;--tfe-premium-middle:#bd8c28;--tfe-premium-bottom:#a97718;--tfe-premium-gold:#a97718;min-width:260px;justify-content:center;padding:16px 28px;color:#fff;font-size:1.03rem;box-shadow:0 12px 24px #9e741c31}
[data-prep-course="regulations"] .reg-ref-hero .tfe-premium-button>span{color:#fff!important}
[data-prep-course="regulations"] .reg-ref-hero-visual{position:relative;min-width:0;overflow:hidden;background:#eef1f4}
[data-prep-course="regulations"] .reg-ref-workshop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 75%;filter:saturate(.92) contrast(.98)}
[data-prep-course="regulations"] .reg-ref-hero-visual>span{position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,#ffffff70 13%,#ffffff18 35%,transparent 58%),linear-gradient(0deg,#071b4312,transparent 45%)}
[data-prep-course="regulations"] .reg-ref-book{position:absolute;z-index:2;right:3.5%;top:50%;width:min(46%,350px);height:94%;object-fit:contain;transform:translateY(-50%);clip-path:polygon(20% 1%,79% 4%,79% 92%,19% 99%);filter:drop-shadow(0 18px 18px #07182d52)}
[data-prep-course="regulations"] .reg-ref-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
[data-prep-course="regulations"] .reg-ref-card{display:flex;min-width:0;flex-direction:column;padding:22px;border:1px solid #dce3ec;border-radius:20px;background:#fff;box-shadow:0 14px 34px #071b4310}
[data-prep-course="regulations"] .reg-ref-card>header{display:flex;align-items:center;gap:15px;min-height:72px;padding-bottom:20px;border-bottom:1px solid #e1e7ee}
[data-prep-course="regulations"] .reg-ref-card>header>div:nth-child(2){min-width:0}
[data-prep-course="regulations"] .reg-ref-card h2{margin:0;color:#071b43;font-size:clamp(1.15rem,1.45vw,1.5rem);line-height:1.18;letter-spacing:-.025em}
[data-prep-course="regulations"] .reg-ref-card header p{margin:4px 0 0;color:#526987}
[data-prep-course="regulations"] .reg-ref-card header small{margin-left:auto;color:#526987;text-align:right;line-height:1.45;white-space:nowrap}
[data-prep-course="regulations"] .reg-ref-icon{display:grid;width:54px;height:54px;flex:0 0 54px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#0b376f,#031637);color:#fff;font-size:1.5rem;box-shadow:inset 0 0 0 1px #315c8c}
[data-prep-course="regulations"] .reg-ref-score-row{display:grid;grid-template-columns:minmax(150px,.9fr) minmax(0,1.1fr);gap:20px;align-items:center;padding:22px 0}
[data-prep-course="regulations"] .reg-ref-score{display:grid;aspect-ratio:1;place-content:center;border-radius:50%;background:radial-gradient(circle at center,#fff 0 58%,transparent 59%),conic-gradient(#082c5c var(--score),#dfe5ec 0);text-align:center;box-shadow:inset 0 0 0 1px #d4dce6}
[data-prep-course="regulations"] .reg-ref-score strong{color:#061b46;font-size:clamp(2.1rem,3.5vw,3.3rem);line-height:1;font-variant-numeric:tabular-nums}
[data-prep-course="regulations"] .reg-ref-score sup{font-size:.5em}
[data-prep-course="regulations"] .reg-ref-score span{color:#526987}
[data-prep-course="regulations"] .reg-ref-score-row dl{display:grid;gap:15px;margin:0;padding-left:18px;border-left:1px solid #e0e6ed}
[data-prep-course="regulations"] .reg-ref-score-row dl>div{display:grid;grid-template-columns:36px 1fr;align-items:center;gap:9px}
[data-prep-course="regulations"] .reg-ref-score-row dt{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#25ae68;color:#fff;font-size:1.15rem;font-weight:800}
[data-prep-course="regulations"] .reg-ref-score-row .is-wrong dt{background:#df3e38}
[data-prep-course="regulations"] .reg-ref-score-row .is-time dt{border:2px solid #526987;background:#fff;color:#526987}
[data-prep-course="regulations"] .reg-ref-score-row dd{display:flex;margin:0;flex-direction:column;color:#526987}
[data-prep-course="regulations"] .reg-ref-score-row dd strong{color:#071b43;font-size:1.45rem;line-height:1.1}
[data-prep-course="regulations"] .reg-ref-diagnosis{margin-top:auto;padding:20px;border:1px solid #eadfbe;border-radius:14px;background:linear-gradient(135deg,#fffaf0,#fff)}
[data-prep-course="regulations"] .reg-ref-diagnosis strong{color:#071b43;font-size:1.08rem}
[data-prep-course="regulations"] .reg-ref-diagnosis p{margin:7px 0 0;color:#526987;line-height:1.5}
[data-prep-course="regulations"] .reg-ref-empty{margin:auto 0;padding:40px 8px;text-align:center}
[data-prep-course="regulations"] .reg-ref-empty h3{color:#071b43;font-size:1.35rem}
[data-prep-course="regulations"] .reg-ref-plan ol{display:grid;gap:0;margin:8px 0 20px;padding:0;list-style:none}
[data-prep-course="regulations"] .reg-ref-plan li{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #e1e7ee}
[data-prep-course="regulations"] .reg-ref-plan li>span{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#d2a13f,#a97818);color:#fff;font-weight:800}
[data-prep-course="regulations"] .reg-ref-plan li strong{color:#071b43;font-size:1.04rem}
[data-prep-course="regulations"] .reg-ref-plan li p{margin:4px 0 0;color:#526987;line-height:1.4}
[data-prep-course="regulations"] .reg-ref-plan li :is(button,a){border:0;background:transparent;color:#31557f;font-size:2rem;text-decoration:none;cursor:pointer}
[data-prep-course="regulations"] .reg-ref-explains{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:auto;padding:15px;border-radius:13px;background:#f2f6fb}
[data-prep-course="regulations"] .reg-ref-explains>span{display:grid;width:38px;height:28px;place-items:center;border-radius:8px;background:#082c5c;color:#fff;font-size:.72rem}
[data-prep-course="regulations"] .reg-ref-explains strong{color:#071b43}
[data-prep-course="regulations"] .reg-ref-explains p{margin:3px 0 0;color:#526987;font-size:.84rem;line-height:1.35}
[data-prep-course="regulations"] .reg-ref-explains button{min-height:40px;padding:0 14px;border:1px solid #187443;border-radius:9px;background:#187443;color:#fff;font-weight:750;box-shadow:0 3px 8px #18744326;cursor:pointer}
[data-prep-course="regulations"] .reg-ref-progress>header{padding-right:110px;position:relative}
[data-prep-course="regulations"] .reg-ref-ready{position:absolute;right:0;top:-12px;display:grid;width:92px;aspect-ratio:1;place-content:center;border-radius:50%;background:radial-gradient(circle at center,#fff 0 61%,transparent 62%),conic-gradient(#b98a2b var(--score),#e0e5eb 0);text-align:center}
[data-prep-course="regulations"] .reg-ref-ready strong{color:#071b43;font-size:1.28rem;font-variant-numeric:tabular-nums}
[data-prep-course="regulations"] .reg-ref-ready span{max-width:70px;color:#526987;font-size:.64rem;line-height:1.1}
[data-prep-course="regulations"] .reg-ref-trend{width:100%;height:154px;margin:15px 0 2px;overflow:visible}
[data-prep-course="regulations"] .reg-ref-axis line,[data-prep-course="regulations"] .reg-ref-gridline{stroke:#e2e8ef;stroke-width:1}
[data-prep-course="regulations"] .reg-ref-axis text,[data-prep-course="regulations"] .reg-ref-x-label{fill:#61738d;font-size:10px;font-family:inherit}
[data-prep-course="regulations"] .reg-ref-gridline{stroke:#edf1f5}
[data-prep-course="regulations"] .reg-ref-trend-area{fill:#dceaf7;fill-opacity:.62}
[data-prep-course="regulations"] .reg-ref-trend-line{fill:none;stroke:#0b4a8b;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
[data-prep-course="regulations"] .reg-ref-trend circle{fill:#0b4a8b;stroke:#fff;stroke-width:2}
[data-prep-course="regulations"] .reg-ref-no-history{display:grid;height:145px;margin:20px 0 4px;place-items:center;border-radius:12px;background:#f6f8fa;color:#64758a}
[data-prep-course="regulations"] .reg-ref-progress-copy{margin:0 0 12px;color:#526987;font-size:.86rem;line-height:1.45}
[data-prep-course="regulations"] .reg-ref-table-wrap{overflow-x:auto;margin-top:auto;border:1px solid #e1e7ee;border-radius:11px}
[data-prep-course="regulations"] .reg-ref-progress table{width:100%;border-collapse:collapse;font-size:.86rem;white-space:nowrap}
[data-prep-course="regulations"] .reg-ref-progress :is(th,td){padding:9px 10px;border-bottom:1px solid #e5eaf0;text-align:left}
[data-prep-course="regulations"] .reg-ref-progress th{color:#526987;font-weight:650}
[data-prep-course="regulations"] .reg-ref-progress tbody tr:first-child{background:#eef4fb;color:#071b43;font-weight:750}
[data-prep-course="regulations"] .reg-ref-progress details{padding:13px 2px 0;border:0;color:#526987;font-size:.78rem}
[data-prep-course="regulations"] .reg-ref-progress summary{color:#173253}
[data-prep-course="regulations"] .reg-review{margin-top:0}
@media(max-width:1180px){[data-prep-course="regulations"] .reg-ref-grid{grid-template-columns:repeat(2,minmax(0,1fr))}[data-prep-course="regulations"] .reg-ref-progress{grid-column:1/-1}[data-prep-course="regulations"] .reg-ref-hero{grid-template-columns:minmax(390px,.95fr) minmax(0,1.05fr)}[data-prep-course="regulations"] .reg-ref-book{right:4%;width:48%}}
@media(max-width:800px){[data-prep-course="regulations"] .reg-ref-hero{grid-template-columns:1fr}[data-prep-course="regulations"] .reg-ref-hero-copy{background:#fff}[data-prep-course="regulations"] .reg-ref-hero-visual{order:-1;min-height:260px}[data-prep-course="regulations"] .reg-ref-workshop{object-position:center 36%}[data-prep-course="regulations"] .reg-ref-book{right:7%;width:34%;height:90%}[data-prep-course="regulations"] .reg-ref-grid{grid-template-columns:1fr}[data-prep-course="regulations"] .reg-ref-progress{grid-column:auto}}
@media(max-width:520px){[data-prep-course="regulations"] .reg-ref-dashboard{padding-top:8px}[data-prep-course="regulations"] .reg-ref-hero-copy{padding:28px 22px}[data-prep-course="regulations"] .reg-ref-hero h2{font-size:2.15rem}[data-prep-course="regulations"] .reg-ref-hero .tfe-premium-button{width:100%;min-width:0}[data-prep-course="regulations"] .reg-ref-hero-visual{min-height:220px}[data-prep-course="regulations"] .reg-ref-book{right:4%;width:42%}[data-prep-course="regulations"] .reg-ref-card{padding:19px}[data-prep-course="regulations"] .reg-ref-card>header{align-items:flex-start}[data-prep-course="regulations"] .reg-ref-icon{width:46px;height:46px;flex-basis:46px}[data-prep-course="regulations"] .reg-ref-card header small{font-size:.72rem}[data-prep-course="regulations"] .reg-ref-score-row{grid-template-columns:135px minmax(0,1fr);gap:12px}[data-prep-course="regulations"] .reg-ref-score-row dl{padding-left:12px}[data-prep-course="regulations"] .reg-ref-score-row dd strong{font-size:1.15rem}[data-prep-course="regulations"] .reg-ref-score-row dd span{font-size:.75rem}[data-prep-course="regulations"] .reg-ref-plan li{grid-template-columns:40px minmax(0,1fr) auto;gap:10px}[data-prep-course="regulations"] .reg-ref-explains{grid-template-columns:38px minmax(0,1fr)}[data-prep-course="regulations"] .reg-ref-explains button{grid-column:1/-1}[data-prep-course="regulations"] .reg-ref-progress>header{padding-right:0;padding-bottom:105px}[data-prep-course="regulations"] .reg-ref-ready{left:50%;right:auto;top:auto;bottom:4px;transform:translateX(-50%)}}

/* Book navigation extends the existing preparation design. */
.navigation-map{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0}.navigation-map span{background:#102c46;color:white;border:1px solid #b59a5b;border-radius:12px;padding:16px 22px}.navigation-guide{border-left:3px solid #b59a5b;padding:20px;background:#f8f6f0}.navigation-guide li{margin:18px 0}.navigation-question{font-size:1.15rem;font-weight:700}.navigation-timing{position:sticky;top:0;background:white;z-index:1;border-bottom:1px solid #dbe3e9;padding:12px}.navigation-timing strong{font-variant-numeric:tabular-nums}.ecs-test-facts>div{min-width:0;overflow-wrap:anywhere}.ecs-options input:focus-visible{outline:3px solid #926b17;outline-offset:4px}@media(max-width:600px){.navigation-map span{padding:10px}.navigation-guide{padding:12px}.navigation-timing{gap:12px}.navigation-timing strong{font-size:1.7rem}}

/* Dedicated completed-attempt review; dashboard styles remain unchanged. */
[data-prep-course="regulations"][data-prep-mode="review"] .ecs-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
[data-prep-mode="review"] .ecs-content{max-width:1640px;padding-top:18px}
.exam-review{--er-navy:#0b2347;--er-gold:#b5872c;--er-muted:#617086;display:grid;gap:22px;margin-top:20px;color:var(--er-navy)}
.exam-review *,.er-modal *{box-sizing:border-box}
.er-hero{position:relative;isolation:isolate;overflow:hidden;min-height:330px;border-radius:20px;background:#0b2347;box-shadow:0 12px 30px #102a4814}
.er-hero>img{position:absolute;inset:0 0 0 auto;width:78%;height:100%;object-fit:cover;object-position:center 46%;z-index:-2}
.er-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b2347 0%,#0b2347f2 29%,#0b2347b3 46%,#0b234700 74%)}
.er-hero-copy{padding:38px 44px;max-width:630px;color:#fff}.er-hero .eyebrow{color:#ebca83;margin:0 0 20px;font-size:.68rem;letter-spacing:.16em}.er-hero h2{color:#fff;font-size:clamp(2.1rem,3.6vw,3.65rem);line-height:1.05;letter-spacing:-.035em;margin:0 0 18px}.er-hero-copy>p:not(.eyebrow){font-size:1rem;line-height:1.7;max-width:450px;color:#edf2f8}.er-back{display:inline-flex;align-items:center;min-height:42px;padding:9px 17px;border:1px solid #e5c77f99;border-radius:8px;background:#0b234733;color:#fff;text-decoration:none;font-weight:700;font-size:.88rem}.er-hero-copy .er-attempt{font-size:.78rem;margin-bottom:0;opacity:.85}
.er-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.er-summary article{display:flex;align-items:center;gap:18px;padding:22px;background:#fff;border:1px solid #dfe6ee;border-radius:15px;box-shadow:0 4px 14px #102a4805;min-width:0}.er-summary h3{color:var(--er-muted);font-weight:600;font-size:.82rem;margin:0 0 7px}.er-summary strong{font-size:clamp(1.45rem,2.2vw,2.1rem);line-height:1.2;letter-spacing:-.035em;white-space:nowrap}.er-summary small{display:block;font-size:.7rem;color:var(--er-muted);margin-top:7px}.er-icon{display:grid;place-items:center;flex-shrink:0;width:50px;height:50px;border-radius:50%;background:#eaf1fa;color:#12365e;font-size:1.9rem;font-weight:600}.er-wrong{background:#fcebed;color:#b64e57}.er-result.is-pass{border-top:3px solid #55a180}.er-result.is-fail{border-top:3px solid #c27379}.er-result.is-pass strong{color:#347558}.er-result.is-fail strong{color:#aa4d58}.er-result strong span{margin-left:10px;font-size:1.4rem}
.er-analysis{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px}.er-card{padding:26px;border:1px solid #dfe6ee;border-radius:16px;background:white;box-shadow:0 6px 20px #102a4806;min-width:0}.er-card header{display:flex;align-items:center;gap:14px;margin-bottom:22px}.er-card h2{margin:0 0 6px;font-size:clamp(1.2rem,1.6vw,1.55rem);letter-spacing:-.025em;line-height:1.2;color:var(--er-navy)}.er-card header p{margin:0;color:var(--er-muted);font-size:.87rem;line-height:1.55}.er-performance ol{list-style:none;margin:0;padding:0}.er-area{display:grid;grid-template-columns:26px minmax(160px,1.25fr) minmax(60px,1fr) 40px 85px;gap:12px;align-items:center;min-height:49px;border-bottom:1px solid #edf0f4;font-size:.78rem}.er-area:last-child{border:0}.er-number{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e8edf4;color:#435d7c;font-weight:700}.er-area-name{font-weight:600;line-height:1.25}.er-area-name small{display:block;color:#748297;font-size:.65rem;font-weight:400;margin-top:3px}.er-bar{height:10px;border-radius:12px;background:#e9edf3;overflow:hidden}.er-bar>span{display:block;height:100%;border-radius:12px;background:#54aa86}.er-bar>span.needs-focus{background:#de858c}.er-status{display:inline-block;text-align:center;white-space:nowrap;border-radius:20px;padding:4px 8px;font-size:.69rem;font-weight:600}.er-status.is-good{color:#337253;background:#e9f5ef}.er-status.needs-focus{color:#a64b56;background:#fcebee}.er-status.no-data{color:#637087;background:#edf0f5}.er-note{font-size:.68rem;color:var(--er-muted);line-height:1.6;margin:14px 0 0}
.er-next{background:#fdfaf3;border-color:#ecdfbf}.er-next .er-icon{color:white;background:#b78b36}.er-next ol{list-style:none;padding:0;margin:0 0 20px}.er-next li{display:flex;gap:16px;padding:13px 0;border-bottom:1px solid #e8e4da}.er-next li:first-child{padding-top:0}.er-next li:last-child{border:0}.er-next .er-number{background:#b78b36;color:#fff;flex-shrink:0;width:34px;height:34px;font-size:1rem}.er-next h3{margin:0 0 5px;font-size:.93rem;color:var(--er-navy)}.er-next h3 a{color:inherit;text-decoration:none}.er-next h3 a:hover{text-decoration:underline}.er-next li p{margin:0;color:#596b81;font-size:.85rem;line-height:1.5}.er-next>.tfe-premium-button{display:flex;justify-content:center;min-height:44px}.er-questions>header{justify-content:space-between}.er-questions .eyebrow{font-size:.64rem;margin-bottom:8px}.er-count{font-size:.78rem;white-space:nowrap;color:var(--er-muted)}.er-question-list{padding:0;margin:0;list-style:none}.er-question-list>li{display:grid;grid-template-columns:42px minmax(0,1fr) 86px 150px;align-items:center;gap:18px;padding:16px 0;border-top:1px solid #e6ebf1}.er-question-number{font-weight:750;font-size:.9rem}.er-question-label{min-width:0}.er-question-label strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}.er-question-label>span{display:block;font-size:.76rem;color:var(--er-muted);margin-top:5px}.er-question-list button{min-height:40px;padding:9px 12px;border:1px solid #dfcfaa;border-radius:8px;background:#fcf9f1;color:#886322;font-size:.75rem;font-weight:750;cursor:pointer}.er-question-list button span{margin-left:10px}.er-perfect{color:#337253}
.er-modal{width:min(760px,calc(100vw - 40px));max-height:calc(100dvh - 60px);padding:30px;border:1px solid #ddd6c5;border-radius:20px;color:#193354;background:#fff;box-shadow:0 24px 100px #0005;overscroll-behavior:contain}.er-modal::backdrop{background:#06162b99;backdrop-filter:blur(4px)}.er-modal-top{display:flex;align-items:center;justify-content:space-between}.er-modal .eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.15em;color:#93702b}.er-modal-top button{width:42px;height:42px;border:1px solid #dce3eb;border-radius:50%;background:#f5f7fa;font-size:1.6rem;cursor:pointer}.er-modal h2{color:#0b2347;font-size:1.6rem;margin:12px 0 18px}.er-modal h3{font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;margin:22px 0 10px;color:#52647b}.er-full-question{font-size:1.15rem;font-weight:650;line-height:1.6}.er-modal p,.er-modal li{line-height:1.65}.er-modal mark{background:#f7e8bd;border-radius:4px;padding:2px 4px;color:inherit}.er-answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.er-answer-grid section{padding:16px;border:1px solid #eadde0;border-radius:12px;background:#fcf7f8}.er-answer-grid section+section{background:#f2f8f5;border-color:#d6e9de}.er-answer-grid h3{margin:0}.er-answer-grid p{font-size:.9rem;margin-bottom:0}.er-method{padding:22px;background:#f8fafc;border-radius:14px;margin-bottom:24px}.er-method>h2{margin-top:6px}.er-keywords{display:flex;flex-wrap:wrap;gap:8px}.er-keywords mark{font-size:.84rem;padding:5px 9px}.er-method ol{padding-left:22px}.er-method li{padding:4px 0 6px;font-size:.9rem}.er-method li p{margin:4px 0}.er-book-route{border-left:3px solid #b68a32;padding:10px 14px;background:#fcf6e8;font-size:.85rem}.er-final-answer{border-top:1px solid #d9e3eb;margin-top:20px}.er-final-answer p{font-weight:650}.er-modal :is(button,a):focus-visible{outline:3px solid #b58a32;outline-offset:3px}body:has(.er-modal[open]){overflow:hidden}
@media(max-width:1150px){.er-summary article{gap:10px;padding:18px}.er-summary .er-icon{width:38px;height:38px;font-size:1.4rem}.er-analysis{grid-template-columns:1fr}.er-next ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.er-next li{border:0;padding:0}.er-next>.tfe-premium-button{width:max-content}.er-hero-copy{max-width:580px}}
@media(max-width:800px){.er-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.er-hero-copy{padding:30px;max-width:540px}.er-hero:before{background:linear-gradient(90deg,#0b2347f5 0%,#0b2347bf 50%,#0b234725 100%)}.er-next ol{display:block}.er-next li{padding:14px 0;border-bottom:1px solid #e8e4da}.er-card{padding:22px}.er-question-list>li{grid-template-columns:34px minmax(0,1fr) 135px;gap:12px}.er-question-list .er-status{grid-column:2;grid-row:auto;justify-self:start}.er-question-list button{grid-column:3;grid-row:1 / span 2}.er-question-label strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.er-area{grid-template-columns:24px minmax(120px,1.2fr) minmax(50px,1fr) 36px 78px;gap:8px;font-size:.74rem}}
@media(max-width:540px){.exam-review{gap:16px}.er-hero{min-height:390px}.er-hero>img{width:100%;object-position:60% center}.er-hero:before{background:linear-gradient(90deg,#0b2347f2,#0b2347bb 65%,#0b234760)}.er-hero-copy{padding:30px 24px}.er-hero h2{font-size:2.45rem}.er-summary{gap:10px}.er-summary article{padding:16px;gap:8px}.er-summary .er-icon{display:none}.er-summary strong{font-size:1.55rem}.er-result strong span{font-size:1.05rem;margin-left:5px}.er-summary h3{font-size:.73rem}.er-summary small{font-size:.66rem}.er-card{padding:18px}.er-card header{gap:10px}.er-card header>.er-icon{width:40px;height:40px;font-size:1.5rem}.er-area{grid-template-columns:24px minmax(0,1fr) 38px 78px;gap:8px;padding:11px 0}.er-area-name{grid-column:2/5}.er-area .er-bar{grid-column:2;grid-row:2}.er-area>strong{grid-row:2;grid-column:3}.er-area>.er-status{grid-row:2;grid-column:4}.er-question-list>li{grid-template-columns:30px minmax(0,1fr);gap:10px}.er-question-list .er-status{grid-row:auto;grid-column:2;justify-self:start}.er-question-list button{grid-row:auto;grid-column:2;justify-self:start}.er-questions header{align-items:flex-start;flex-direction:column}.er-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:20px;border-radius:14px}.er-answer-grid{grid-template-columns:1fr}.er-method{padding:16px}.er-modal h2{font-size:1.4rem}.er-full-question{font-size:1rem}}

.exam-review .er-next>.tfe-premium-button{--tfe-premium-top:#b5872c;--tfe-premium-middle:#b5872c;--tfe-premium-bottom:#b5872c;background:#b5872c;background-image:none;border-color:#a87c24;color:#fff;box-shadow:0 4px 10px #9b73211a}

/* ECS preparation dashboard only. Existing assessment and other courses are unchanged. */
.ecs-page[data-prep-course="ecs"]:has([data-ecs-dashboard]) .ecs-heading{display:none}
.ecs-dashboard{color:#09233e;font-family:inherit;--dash-gold:#cf941e}
.ecs-dashboard *{box-sizing:border-box}
/* The ECS dashboard is intentionally full-width; keep other preparation routes on the shared content width. */
.ecs-page[data-prep-course="ecs"]:has([data-ecs-dashboard]) .ecs-content{width:100%;max-width:none;margin-inline:auto;padding-inline:clamp(24px,2vw,32px)}
.ecs-page[data-prep-course="ecs"]:has([data-ecs-dashboard]) .ecs-dash-history{width:100%;max-width:none;margin-inline:0}
.ecs-dash-hero{position:relative;isolation:isolate;overflow:hidden;min-height:440px;background:white;border-radius:22px;border:1px solid #e3e9ef;box-shadow:0 8px 30px #132f4c08}
.ecs-dash-hero-copy{position:relative;z-index:2;width:56%;padding:42px 0 40px 34px}
.ecs-dash-eyebrow{color:#ad7818!important;font-size:13px!important;letter-spacing:.18em;font-weight:800;margin:0 0 24px!important}
.ecs-dash-hero h1{font-size:clamp(36px,4.4vw,66px);line-height:1.06;letter-spacing:-.045em;margin:0 0 18px;color:#061b31}
.ecs-dash-hero h2{font-size:20px;line-height:1.45;font-weight:650;margin:0 0 14px}
.ecs-dash-hero-copy>p:not(.ecs-dash-eyebrow){font-size:17px;line-height:1.6;color:#496077;max-width:560px;margin-bottom:28px}
.ecs-dash-visual{position:absolute;inset:0 0 0 46%;background:linear-gradient(90deg,#fff0,#071e32a8),url('./public/assets/tfe-workshop-team.jpg') center/cover}
.ecs-dash-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,#ffffffd9 9%,#ffffff00 38%);pointer-events:none}
.ecs-dash-visual>img{position:absolute;object-fit:contain;width:68%;height:auto;max-height:74%;top:21%;left:2%;transform:rotate(8deg);box-shadow:0 18px 35px #00152b50;border-radius:14px}
.ecs-dash-brand{position:absolute;right:3%;top:12%;width:23%;color:#fff;text-shadow:0 2px 8px #00152b;line-height:1.3;font-size:clamp(12px,1.2vw,18px)}
.ecs-dash-brand em{display:block;margin-bottom:65px;font-family:Georgia,serif}
.ecs-dash-brand strong{display:block;font-size:.85em}.ecs-dash-brand b{color:#ffd369}
.ecs-dash-link{display:inline-flex;justify-content:space-between;align-items:center;gap:14px;color:#0b3156;text-decoration:none;font-weight:750;border-radius:11px;line-height:1.4}
.ecs-dash-link:focus-visible{outline:3px solid #bb871e;outline-offset:4px}.ecs-dash-link:hover{text-decoration:underline}
.ecs-dash-gold{background:linear-gradient(110deg,#dcae3b,#c18b1b);color:#fff;padding:17px 26px;min-width:240px;box-shadow:0 5px 16px #aa74151b;text-transform:uppercase;font-size:14px;letter-spacing:.035em}
.ecs-dash-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px;align-items:stretch}
.ecs-dash-card{background:#fff;border:1px solid #e1e9f1;border-radius:20px;padding:24px;box-shadow:0 6px 22px #143b6108;min-width:0}
.ecs-dash-card-head{display:flex;align-items:center;gap:12px;padding-bottom:20px;margin-bottom:23px;border-bottom:1px solid #e5ebf2}
.ecs-dash-icon{flex:0 0 48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#062947;color:white;font-size:28px}
.ecs-dash-card h2{font-size:20px;line-height:1.25;letter-spacing:-.025em;margin:0 0 5px;color:#09233e}
.ecs-dash-card p{font-size:14px;line-height:1.6;color:#4a6179;margin:0}
.ecs-dash-progress{display:flex;align-items:center;gap:20px;flex-wrap:wrap;justify-content:center}
.ecs-dash-ring{width:160px;aspect-ratio:1;flex-shrink:0;padding:12px;border-radius:50%;background:conic-gradient(#17a65a calc(var(--score)*1%),#e0e5eb 0);box-shadow:0 10px 20px #21a65d12}
.ecs-dash-ring>div{border-radius:50%;height:100%;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ecs-dash-ring strong{font-size:38px;line-height:1.2}.ecs-dash-ring span{font-size:12px;color:#536a80}
.ecs-dash-progress dl{margin:0;display:grid;gap:17px;flex:1;min-width:118px}.ecs-dash-progress dl>div{display:flex;flex-direction:column-reverse}.ecs-dash-progress dt{font-size:12px;color:#536a80}.ecs-dash-progress dt span{font-size:18px;margin-right:6px}.ecs-dash-progress dd{margin:0;font-size:23px;font-weight:800}.ecs-dash-good{color:#0b9951}.ecs-dash-wrong{color:#d73849}
.ecs-dash-message{background:#eff9f3;border-radius:12px;margin-top:26px;padding:20px}.ecs-dash-message strong{display:block;color:#148c4b;margin-bottom:7px}
.ecs-dash-empty{padding:16px 0 24px}.ecs-dash-empty h3{font-size:21px;line-height:1.3}.ecs-dash-empty .ecs-dash-link{margin-top:20px;min-width:0}
.ecs-dash-step{display:flex;gap:16px;padding:0 0 21px;margin-bottom:21px;border-bottom:1px solid #e5ebf2}.ecs-dash-step:last-child{margin:0;border:0;padding:0}
.ecs-dash-step>span{flex:0 0 42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(130deg,#e0b546,#c68b13);color:white;font-size:22px;font-weight:750}
.ecs-dash-step h3{font-size:15px;line-height:1.4;margin:0 0 5px}.ecs-dash-step .ecs-dash-link{font-size:13px;margin-top:7px}.ecs-dash-step ul{list-style:none;padding:0;margin:0}
.ecs-dash-table{overflow-x:auto;border:1px solid #e5ebf2;border-radius:12px}.ecs-dash-table table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.ecs-dash-table th,.ecs-dash-table td{padding:12px 8px;text-align:left;border-bottom:1px solid #e8edf3;color:#334d66}.ecs-dash-table th{font-weight:550}.ecs-dash-table tbody tr:first-child{background:#edf5fc;font-weight:750}.ecs-dash-table a{color:#103758}.ecs-dash-history-link{display:flex;background:#f1f5fa;border:1px solid #e3eaf2;padding:19px;margin-top:28px}.ecs-dash-history{max-width:1050px;margin:auto}.ecs-dash-history>.ecs-dash-link{margin-top:22px;padding:12px}
body:has([data-ecs-dashboard]):not(:has(.kc-gate))>aside[aria-label="TFE account"]{position:static!important;margin:22px auto!important;max-width:600px!important;width:calc(100% - 32px)!important;box-shadow:none!important}

/* ECS Mock Assessment: compact, full-width exam presentation. Scoped to the active ECS attempt. */
.ecs-page[data-prep-course="ecs"]:has(.ecs-exam-hero) .ecs-content{width:100%;max-width:none;padding:18px clamp(24px,2vw,32px) 28px}
.ecs-page[data-prep-course="ecs"]:has(.ecs-exam-hero) .ecs-heading{display:none}
.ecs-exam-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,57fr) minmax(0,43fr);align-items:center;min-height:128px;overflow:hidden;margin:0 0 12px;border:1px solid #d9e1e9;border-top:3px solid #c29a4a;border-radius:18px;background:#fff;box-shadow:0 9px 24px #142d4b0a}
.ecs-exam-hero-copy{position:relative;z-index:2;padding:12px 24px;background:linear-gradient(90deg,#fff 84%,#fffffff0 94%,#ffffff00 100%)}
.ecs-exam-hero-copy h1{margin:8px 0 4px;color:#0b2344;font-size:clamp(1.7rem,2.1vw,2rem);line-height:1.12;letter-spacing:-.035em}
.ecs-exam-hero-copy>p:not(.eyebrow){margin:0;color:#526980;font-size:.9rem;font-weight:550}
.ecs-exam-facts{display:flex;align-items:center;gap:17px;margin-top:15px;color:#58708a;font-size:.75rem}
.ecs-exam-facts span{display:flex;align-items:baseline;gap:6px;white-space:nowrap}
.ecs-exam-facts strong{color:#102a4c;font-size:1rem;font-variant-numeric:tabular-nums}
.ecs-exam-facts i{width:1px;height:18px;background:#dce2e9}
.ecs-exam-hero-photo{position:absolute;z-index:1;inset:0 0 0 auto;width:45%;height:100%;object-fit:cover;object-position:center 54%;mask-image:linear-gradient(90deg,transparent 0%,#000 20%)}
.ecs-mock-layout-premium{grid-template-columns:minmax(0,7fr) minmax(310px,3fr);align-items:stretch;gap:18px}
.ecs-mock-layout-premium>.ecs-panel{margin:0;padding:clamp(20px,2vw,28px);border-radius:15px;box-shadow:0 5px 18px #152f4b0a}
.ecs-mock-layout-premium .ecs-mock-toolbar{align-items:center;padding-bottom:15px}
.ecs-mock-toolbar>div:first-child{display:grid;gap:8px}
.ecs-mock-answer-count{color:#5e7287;font-size:.75rem}
.ecs-mock-answer-count b{color:#102a4c}
.ecs-mock-timer{min-width:128px;padding:8px 12px 9px;border:1px solid #eadbb9;border-radius:10px;background:#fffaf0;color:#7b5d26;text-align:center}
.ecs-mock-timer span{display:block;font-size:.58rem;font-weight:800;letter-spacing:.1em}
.ecs-mock-timer strong{display:block;margin-top:2px;color:#153153;font-size:1.35rem;font-variant-numeric:tabular-nums}
.ecs-mock-layout-premium .ecs-options legend{max-width:none;margin:15px 0 18px;color:#112d50;font-size:clamp(1.15rem,1.6vw,1.4rem);line-height:1.42}
.ecs-mock-layout-premium .ecs-option{min-height:54px;margin:9px 0;padding:12px 14px;border-color:#d7e0e9;border-radius:10px;background:#fff;transition:border-color .15s,background .15s,box-shadow .15s}
.ecs-mock-layout-premium .ecs-option:hover{border-color:#9eafc0;background:#f9fbfd}
.ecs-mock-layout-premium .ecs-option.selected{padding:11px 13px;border:2px solid #b78d40;background:#fffaf0;box-shadow:0 0 0 2px #c39b4a12}
.ecs-mock-layout-premium .ecs-option input{accent-color:#173b60}
.ecs-mock-layout-premium .ecs-letter{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#edf2f7;color:#24405e}
.ecs-mock-layout-premium .ecs-option.selected .ecs-letter{background:#f1e3c4;color:#73561f}
.ecs-exam-controls{align-items:center;gap:9px;margin-top:17px}
.ecs-exam-controls button{min-height:40px;padding:0 13px;border:1px solid #cfdae5;border-radius:9px;background:#fff;color:#294762;font-size:.74rem;font-weight:700;white-space:nowrap}
.ecs-exam-controls button[data-ecs-action="flag"]{border-color:#e2d4b2;background:#fffdf8;color:#7b612c}
.ecs-exam-controls button[data-ecs-action="forward"]{margin-left:auto;border-color:#132f50;background:#132f50;color:#fff;box-shadow:0 3px 8px #102a4c20}
.ecs-exam-controls button:disabled{opacity:.48}
.ecs-mock-layout-premium .ecs-save-status{margin:10px 0 0;color:#748397;font-size:.68rem}
.ecs-mock-navigator{display:flex;flex-direction:column}
.ecs-mock-navigator-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ecs-mock-navigator-heading h2{margin:6px 0 0;color:#132f50;font-size:1.12rem}
.ecs-mock-navigator-heading>span{padding:6px 9px;border-radius:99px;background:#edf3f8;color:#284660;font-size:.68rem;font-weight:750;white-space:nowrap}
.ecs-navigator-legend{display:flex;flex-wrap:wrap;gap:9px 13px;margin:13px 0;color:#617589;font-size:.62rem}
.ecs-mock-layout-premium .ecs-navigator{grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}
.ecs-mock-layout-premium .ecs-navigator button{position:relative;min-height:34px;padding:4px 1px;border:1px solid #d6e0e9;border-radius:7px;background:#fff;color:#4d6278;font-size:.68rem}
.ecs-mock-layout-premium .ecs-navigator button[aria-label*="answered"]{border-color:#c5e0d1;background:#edf6f1;color:#2e7355}
.ecs-mock-layout-premium .ecs-navigator button[aria-label*="flagged"]{box-shadow:inset 0 -2px #c29a4a}
.ecs-mock-layout-premium .ecs-navigator button[aria-current]{border:2px solid #c29a4a;background:#102a4c;color:#fff;box-shadow:0 0 0 2px #c29a4a20}
.ecs-mock-layout-premium .ecs-navigator small{height:9px;font-size:.56rem;line-height:1}
.ecs-mock-navigator>[data-ecs-action="review"]{width:100%;min-height:40px;margin-top:auto;padding:0 12px;border:1px solid #cfd9e3;border-radius:9px;background:#fff;color:#28445f;font-size:.75rem;font-weight:700}
body:has(.ecs-page[data-prep-course="ecs"] .ecs-exam-hero) .ecs-content{padding-top:18px}
@media(max-width:900px){.ecs-mock-layout-premium{grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:14px}.ecs-mock-layout-premium .ecs-navigator{grid-template-columns:repeat(5,minmax(0,1fr))}.ecs-exam-hero{min-height:128px}.ecs-exam-hero-copy{padding-inline:24px}}
@media(max-width:680px){.ecs-page[data-prep-course="ecs"]:has(.ecs-exam-hero) .ecs-content{padding:12px 14px 24px}.ecs-exam-hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;margin-bottom:12px;border-radius:14px}.ecs-exam-hero-copy{padding:18px 17px 14px;background:#fff}.ecs-exam-hero-copy h1{margin-top:7px;font-size:1.55rem}.ecs-exam-hero-copy>p:not(.eyebrow){font-size:.74rem;line-height:1.4}.ecs-exam-facts{gap:10px;margin-top:12px;font-size:.63rem}.ecs-exam-facts span{gap:4px}.ecs-exam-facts strong{font-size:.85rem}.ecs-exam-facts i{height:16px}.ecs-exam-hero-photo{position:relative;inset:auto;display:block;width:100%;height:100px;object-position:center 48%;mask-image:linear-gradient(180deg,transparent 0%,#000 25%)}.ecs-mock-layout-premium{display:flex;flex-direction:column;gap:12px}.ecs-mock-layout-premium>.ecs-mock-question{order:0;padding:16px 14px}.ecs-mock-layout-premium>.ecs-mock-navigator{order:1;padding:16px 14px}.ecs-mock-layout-premium .ecs-mock-toolbar{align-items:flex-start;gap:8px;padding-bottom:12px}.ecs-mock-answer-count{font-size:.65rem}.ecs-mock-timer{min-width:100px;padding:7px}.ecs-mock-timer span{font-size:.5rem}.ecs-mock-timer strong{font-size:1.15rem}.ecs-mock-layout-premium .ecs-options legend{margin:13px 0 15px;font-size:1.05rem;line-height:1.4}.ecs-mock-layout-premium .ecs-option{min-height:50px;margin:7px 0;padding:10px;gap:9px;font-size:.78rem}.ecs-mock-layout-premium .ecs-option.selected{padding:9px}.ecs-mock-layout-premium .ecs-letter{width:26px;height:26px;font-size:.7rem}.ecs-exam-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.ecs-exam-controls button{min-height:42px;padding-inline:8px;font-size:.67rem}.ecs-exam-controls button[data-ecs-action="forward"]{grid-column:1/-1;grid-row:1;margin-left:0}.ecs-mock-layout-premium .ecs-save-status{font-size:.62rem}.ecs-mock-layout-premium .ecs-navigator{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.ecs-mock-layout-premium .ecs-navigator button{min-height:38px;font-size:.73rem}.ecs-mock-navigator>[data-ecs-action="review"]{min-height:42px;margin-top:14px}}
@media(max-width:360px){.ecs-exam-facts{gap:7px;font-size:.58rem}.ecs-exam-facts strong{font-size:.8rem}.ecs-exam-hero-copy h1{font-size:1.4rem}.ecs-mock-timer{min-width:88px}.ecs-mock-timer strong{font-size:1.05rem}}
@media(min-width:1200px) and (max-width:1450px){.ecs-dash-card{padding:18px}.ecs-dash-progress{gap:12px}.ecs-dash-ring{width:138px}.ecs-dash-card h2{font-size:18px}.ecs-dash-icon{flex-basis:40px;height:40px}.ecs-dash-table th,.ecs-dash-table td{padding:11px 5px;font-size:12px}}
@media(max-width:1100px){.ecs-dash-grid{grid-template-columns:1fr}.ecs-dash-card{padding:24px}.ecs-dash-progress{justify-content:flex-start}.ecs-dash-progress dl{flex:none}.ecs-dash-brand{display:none}.ecs-dash-visual>img{width:94%;top:30%}.ecs-dash-hero-copy{width:67%;padding:30px}.ecs-dash-hero{min-height:400px}.ecs-dash-visual{left:50%}}
@media(max-width:600px){.ecs-dash-hero-copy{width:100%;padding:28px 22px 230px}.ecs-dash-hero h1{font-size:39px}.ecs-dash-hero h2{font-size:18px}.ecs-dash-visual{inset:auto 0 0;height:230px}.ecs-dash-visual:after{background:linear-gradient(#fff,#fff0 50%)}.ecs-dash-visual>img{width:210px;top:28px;left:calc(50% - 105px);transform:rotate(7deg)}.ecs-dash-card{padding:20px}.ecs-dash-card-head{gap:10px}.ecs-dash-card h2{font-size:20px}.ecs-dash-grid{gap:15px}.ecs-dash-gold{min-width:0}.ecs-dash-table th,.ecs-dash-table td{font-size:12px;padding:10px 6px}}
.ecs-page[data-prep-course="ecs"]:has(.ecs-results-page) .ecs-content{width:100%;max-width:none;padding:14px clamp(24px,2vw,32px) 36px}
.ecs-page[data-prep-course="ecs"]:has(.ecs-results-page) .ecs-heading{display:none}
.ecs-results-page{display:grid;gap:12px;max-width:1700px;margin:0 auto;color:#102b50}
.ecs-results-page h1,.ecs-results-page h2,.ecs-results-page h3,.ecs-results-page p{margin-top:0}
.ecs-results-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:176px;overflow:hidden;border:1px solid #d9e2ec;border-top:2px solid #c69839;border-radius:18px;background:#fff;box-shadow:0 6px 20px #1836530a}
.ecs-results-hero:after{position:absolute;z-index:1;inset:0 0 0 48%;content:"";background:linear-gradient(90deg,#fff 0%,#fffffff2 15%,#ffffff70 42%,transparent 70%)}
.ecs-results-hero-copy{position:relative;z-index:2;width:67%;padding:24px 34px}
.ecs-results-hero-copy .eyebrow{margin:0 0 6px;color:#b27a12;font-size:.76rem;font-weight:850;letter-spacing:.1em}
.ecs-results-hero-copy h1{max-width:760px;margin:0 0 5px;color:#102b50;font-size:clamp(1.8rem,2.5vw,2.55rem);letter-spacing:-.045em;line-height:1.08}
.ecs-results-hero-copy>p:last-child{max-width:620px;margin:0;color:#49627e;font-size:.96rem;line-height:1.45}
.ecs-results-hero>img{position:absolute;z-index:0;inset:0 0 0 auto;width:53%;height:100%;object-fit:cover;object-position:center 48%}
.ecs-results-summary{display:grid;grid-template-columns:1.12fr 1fr 1.06fr 1fr;gap:12px}
.ecs-results-metric{display:flex;align-items:center;gap:16px;min-width:0;min-height:118px;padding:17px 20px;border:1px solid #dce4ed;border-radius:15px;background:#fff;box-shadow:0 4px 14px #19365308}
.ecs-results-metric>div{display:grid;align-content:center;gap:3px;min-width:0}
.ecs-results-metric-label{color:#59728e;font-size:.76rem}
.ecs-results-metric>div>strong{color:#102b50;font-size:1.45rem;line-height:1.2}
.ecs-results-metric>div>span:last-child{color:#49627e;font-size:.78rem}
.ecs-results-score-card{gap:14px}
.ecs-results-score-ring{--score:0;display:grid;flex:0 0 92px;place-items:center;width:92px;height:92px;border-radius:50%;background:conic-gradient(#dba531 calc(var(--score)*1%),#e7edf3 0);position:relative}
.ecs-results-score-ring:before{position:absolute;inset:9px;content:"";border-radius:50%;background:#fff}
.ecs-results-score-ring>div{position:relative;display:grid;text-align:center}
.ecs-results-score-ring strong{color:#102b50;font-size:1.22rem;line-height:1.1}
.ecs-results-score-ring span{color:#59728e;font-size:.65rem}
.ecs-results-score-details{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:0 7px;min-width:0}
.ecs-results-score-details strong{color:#102b50;font-size:1.12rem;line-height:1.35}
.ecs-results-score-details span{color:#49627e;font-size:.72rem}
.ecs-results-metric-icon{display:grid;flex:0 0 52px;place-items:center;width:52px;height:52px;border-radius:50%;background:#eef3f8;color:#173d68;font-size:1.7rem;font-weight:650}
.ecs-results-outcome.is-pass{border-color:#d2eadc;background:#f4fbf6}
.ecs-results-outcome.is-pass .ecs-results-metric-icon{background:#e4f4e9;color:#278151}
.ecs-results-outcome.is-pass>div>strong{color:#278151}
.ecs-results-outcome.is-not-yet{border-color:#f1dfe0;background:#fff8f8}
.ecs-results-outcome.is-not-yet .ecs-results-metric-icon{background:#fce9e9;color:#db414b}
.ecs-results-outcome.is-not-yet>div>strong{color:#d63c45}
.ecs-results-section{min-width:0;padding:16px 22px;border:1px solid #dce4ed;border-radius:15px;background:#fff;box-shadow:0 4px 14px #19365308}
.ecs-results-section-head{margin:0 0 12px}
.ecs-results-section-head h2{margin:0 0 1px;color:#102b50;font-size:1.2rem;letter-spacing:-.025em}
.ecs-results-section-head p{margin:0;color:#59728e;font-size:.78rem;line-height:1.4}
.ecs-results-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:38px}
.ecs-results-topic-row{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(90px,1fr) 48px 40px;align-items:center;gap:10px;min-width:0;min-height:33px;border-bottom:1px solid #e8edf2;color:#173253;font-size:.74rem}
.ecs-results-topic-row:nth-last-child(-n+2){border-bottom:0}
.ecs-results-topic-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ecs-results-topic-meter{height:9px;overflow:hidden;border-radius:99px;background:#e7edf3}
.ecs-results-topic-meter>span{display:block;width:calc(var(--topic-value)*1%);height:100%;border-radius:inherit;background:var(--topic-colour)}
.ecs-results-topic-count{color:#59728e;text-align:right;white-space:nowrap}
.ecs-results-topic-row>strong{text-align:right;color:#173253}
.ecs-results-focus-section{border-color:#eee6d6;background:#fffdf9}
.ecs-results-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ecs-results-focus-card{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:14px;border:1px solid #f0e7d6;border-radius:13px;background:#fff;box-shadow:0 4px 12px #9a70100a}
.ecs-results-focus-number{display:grid;flex:0 0 36px;place-items:center;width:36px;height:36px;border-radius:50%;background:#d69d20;color:#fff;font-size:1rem;font-weight:850;box-shadow:inset 0 1px 3px #80580045}
.ecs-results-focus-content{display:grid;gap:4px;min-width:0;flex:1}
.ecs-results-focus-content h3{margin:0;color:#102b50;font-size:.9rem;line-height:1.25}
.ecs-results-focus-content>p{margin:0;color:#59728e;font-size:.76rem}
.ecs-results-focus-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px}
.ecs-results-focus-actions .tfe-premium-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin:0;padding:7px 12px;border:1px solid #d1a243;border-radius:8px;background:#fff;color:#102b50;font-size:.68rem;font-weight:750;text-align:center;text-decoration:none}
.ecs-results-focus-actions .tfe-premium-button:first-child{border-color:#c79837;background:#102b50;color:#fff}
.ecs-results-focus-actions .tfe-premium-button:hover{filter:brightness(.96);transform:translateY(-1px)}
.ecs-results-empty-focus{margin:0;color:#59728e;font-size:.84rem}
.ecs-results-review-list{display:grid;gap:5px}
.ecs-results-review-row{overflow:hidden;border:1px solid #e1e8ef;border-radius:10px;background:#fff}
.ecs-results-review-row>summary{display:flex;align-items:center;gap:12px;min-height:38px;padding:7px 12px;cursor:pointer;list-style:none;color:#173253;font-size:.76rem}
.ecs-results-review-row>summary::-webkit-details-marker{display:none}
.ecs-results-review-question{flex:1;min-width:0;font-weight:650}
.ecs-results-review-status{flex:0 0 auto;padding:4px 9px;border-radius:99px;background:#edf5ef;color:#287a4c;font-size:.66rem;font-weight:800}
.ecs-results-review-status.is-incorrect,.ecs-results-review-status.is-unanswered{background:#fff0f0;color:#cb343d}
.ecs-results-review-chevron{color:#173d68;font-size:1rem;transition:transform .15s}
.ecs-results-review-row[open] .ecs-results-review-chevron{transform:rotate(180deg)}
.ecs-results-review-body{padding:10px 14px 12px;border-top:1px solid #e6edf3;color:#49627e;font-size:.77rem;line-height:1.5}
.ecs-results-review-body p{margin:4px 0}
.ecs-results-review-body strong{color:#173253}
.ecs-results-footer-actions{display:flex;flex-wrap:wrap;gap:9px;padding-top:3px}
.ecs-results-footer-actions .tfe-premium-button{margin:0}
.ecs-results-disclaimer{margin:0;color:#71849a;font-size:.7rem}
@media(max-width:1100px){.ecs-results-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ecs-results-focus-grid{grid-template-columns:1fr}.ecs-results-focus-actions{margin-left:auto}.ecs-results-topic-grid{column-gap:22px}}
@media(max-width:700px){.ecs-page[data-prep-course="ecs"]:has(.ecs-results-page) .ecs-content{padding:10px 14px 24px}.ecs-results-page{gap:10px}.ecs-results-hero{display:block;min-height:0}.ecs-results-hero:after{inset:0;background:linear-gradient(180deg,#fff 0%,#fffffff5 43%,#ffffff55 76%,transparent 100%)}.ecs-results-hero-copy{width:100%;padding:19px 18px 85px}.ecs-results-hero-copy h1{font-size:1.65rem}.ecs-results-hero-copy>p:last-child{font-size:.82rem}.ecs-results-hero>img{inset:auto 0 0;width:100%;height:125px;object-position:center 47%}.ecs-results-summary{grid-template-columns:1fr}.ecs-results-metric{min-height:91px;padding:13px 15px}.ecs-results-score-ring{flex-basis:78px;width:78px;height:78px}.ecs-results-score-ring:before{inset:8px}.ecs-results-section{padding:14px}.ecs-results-topic-grid{grid-template-columns:1fr}.ecs-results-topic-row{grid-template-columns:minmax(112px,.85fr) minmax(55px,1fr) 42px 34px;gap:7px;font-size:.68rem}.ecs-results-topic-row:nth-last-child(2){border-bottom:1px solid #e8edf2}.ecs-results-topic-row:last-child{border-bottom:0}.ecs-results-focus-card{display:grid;grid-template-columns:36px minmax(0,1fr);padding:12px}.ecs-results-focus-actions{margin-left:0}.ecs-results-focus-actions .tfe-premium-button{flex:1;padding-inline:8px;font-size:.65rem}.ecs-results-review-row>summary{gap:7px;padding:7px 8px;font-size:.7rem}.ecs-results-review-status{padding:4px 7px;font-size:.6rem}.ecs-results-footer-actions{display:grid;grid-template-columns:1fr}.ecs-results-footer-actions .tfe-premium-button{justify-content:center}}
