.reconciliation-report{display:grid;gap:20px;margin-top:28px;padding:26px;border:1px solid #d4deea;border-top:5px solid #d5a42f;border-radius:24px;background:#fff;color:#102d52;box-shadow:0 18px 44px rgba(16,45,82,.1)}.reconciliation-report>header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.reconciliation-report>header h3{margin:4px 0 8px;font-size:clamp(1.55rem,3vw,2.25rem)}.reconciliation-report>header p{margin:0;color:#5d7185}.reconciliation-report-actions{display:flex;flex-wrap:wrap;gap:12px}.reconciliation-report-message{margin:0;padding:12px 16px;border-radius:12px;background:#eef7f1;color:#145c39;font-weight:700}.reconciliation-report-output{display:grid;gap:8px;font-weight:800}.reconciliation-report-output textarea{width:100%;min-height:520px;padding:18px;border:1px solid #cad6e5;border-radius:14px;background:#f7f9fc;color:#172b46;font:500 .82rem/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical}@media(max-width:760px){.reconciliation-report{padding:18px}.reconciliation-report>header{align-items:stretch;flex-direction:column}.reconciliation-report>header button{width:100%}.reconciliation-report-actions{display:grid}.reconciliation-report-output textarea{min-height:420px}}
:root {
  --navy: #0b1f4d;
  --navy-2: #12306b;
  --blue: #1b5d89;
  --gold: #f2b632;
  --gold-2: #f2d77d;
  --gold-dark: #a87512;
  --tfe-card-gold-border: #d4af37;
  --tfe-premium-card-shadow: 0 18px 38px rgba(7, 27, 77, 0.18);
  --tfe-button-amber: #d9911b;
  --tfe-button-amber-hover: #c98214;
  --tfe-button-amber-pressed: #ad6d0e;
  --tfe-button-amber-border: #a96f10;
  --tfe-button-navy: linear-gradient(180deg, #123d73 0%, #08285a 100%);
  --tfe-button-navy-hover: linear-gradient(180deg, #174981 0%, #0a2f67 100%);
  --tfe-button-navy-pressed: linear-gradient(180deg, #0b2f62 0%, #061f47 100%);
  --tfe-button-gold-border: #d89a13;
  --tfe-button-gold-highlight: rgba(255, 220, 128, 0.32);
  --tfe-button-focus: rgba(242, 182, 50, 0.44);
  --ink: #132238;
  --muted: #64748b;
  --line: #d8e0ea;
  --paper: #ffffff;
  --wash: #f4f7fb;
  --good: #0f8a61;
  --warn: #b7791f;
  --bad: #ba3d3d;
  --shadow: 0 18px 45px rgba(7, 27, 51, 0.14);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* Tutor Daily Register — focused premium attendance task. */
body:has(.tutor-register-task-page) #tutorWelcomeCard{display:none!important}
body:has(.tutor-register-task-page) .app-shell{width:min(100%,1560px);padding:clamp(10px,1.4vw,20px)}
body:has(.tutor-register-task-page) :is(.tutor-signoff-layout,#tutorSignoffPanel){width:100%;max-width:none;min-width:0}
.tutor-register-task-page{padding:0!important;border:0!important;background:#eef3f8!important;box-shadow:none!important}
.tutor-register-premium{display:grid;gap:10px;padding:clamp(10px,1.2vw,16px)!important;border:1px solid rgba(7,27,70,.1)!important;border-radius:16px!important;background:#f7f9fc!important;box-shadow:0 12px 34px rgba(7,27,70,.06)!important}
.tutor-register-compact-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 20px;padding:14px 16px;border:1px solid rgba(7,27,77,.13);border-left:4px solid #d4af37;border-radius:13px;background:#fff;color:#071b4d;box-shadow:0 7px 20px rgba(7,27,77,.07)}
.tutor-register-heading :is(h3,p){margin:0}.tutor-register-heading .eyebrow{color:#9a7026}.tutor-register-heading h3{margin-top:2px;color:#071b4d;font-size:clamp(1.28rem,2vw,1.65rem);line-height:1.05}.tutor-register-heading p:last-child{margin-top:4px;color:#68758a;font-size:.75rem;font-weight:700}
.tutor-register-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.tutor-register-header-actions :is(.primary-action,.secondary-action){min-height:42px;padding-inline:15px;border-radius:9px}.tutor-register-header-actions .secondary-action{border-color:#cdd6e2;background:#fff;color:#173760}.tutor-register-header-actions .secondary-action:is(:hover,:focus-visible){background:#f2f5f9}
.tutor-register-context{grid-column:1/-1;display:grid;grid-template-columns:1.3fr 1.5fr repeat(4,minmax(105px,1fr));overflow:hidden;border-top:1px solid #e3e8ef;background:#fff}
.tutor-register-context>span{display:flex;min-width:0;flex-direction:column;gap:2px;padding:8px 11px 2px;border-right:1px solid #e3e8ef}.tutor-register-context>span:last-child{border:0}.tutor-register-context small{color:#7a8798;font-size:.57rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.tutor-register-context strong{overflow-wrap:anywhere;color:#173760;font-size:.73rem;line-height:1.25}
.tutor-register-premium .attendance-register-list{gap:5px}.tutor-register-premium .attendance-register-row{grid-template-columns:minmax(205px,1.25fr) repeat(4,minmax(96px,1fr));gap:5px;padding:6px;border:1px solid #e2e7ee;border-radius:11px;background:#fff;box-shadow:0 3px 10px rgba(7,27,70,.035)}
.tutor-register-premium .daily-cohort-identity{min-height:42px;padding:4px 8px;border:0;background:transparent}.tutor-register-premium .daily-cohort-identity .learner-avatar{width:36px;height:36px;min-width:36px}.tutor-register-premium .daily-cohort-identity h4{font-size:.84rem}.tutor-register-premium .daily-cohort-identity p{font-size:.64rem}
.tutor-register-premium .attendance-button{height:42px;min-height:42px;border-width:1px;border-radius:8px;background:#f8fafc;box-shadow:none;font-size:.72rem}.tutor-register-premium .attendance-button strong{font-size:.72rem}.tutor-register-premium .attendance-button.active{border-width:2px;box-shadow:inset 3px 0 0 currentColor}.tutor-register-premium .attendance-selected-indicator{display:inline-grid;margin-right:4px}
.tutor-register-premium .daily-register-footer{grid-template-columns:minmax(0,1fr) auto;position:sticky;z-index:3;bottom:8px;gap:12px;padding:11px;border:1px solid rgba(7,27,70,.11);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 12px 30px rgba(7,27,70,.11);backdrop-filter:blur(12px)}
.tutor-register-premium .tutor-register-live-summary{display:flex!important;align-items:center;gap:0!important;overflow:hidden;border:1px solid #e1e7ee;border-radius:10px;background:#f7f9fc}.tutor-register-premium .tutor-register-live-summary div{display:flex!important;align-items:baseline;gap:5px;flex:1;padding:8px 10px!important;border:0!important;border-right:1px solid #e1e7ee!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.tutor-register-premium .tutor-register-live-summary div:last-child{border-right:0!important}.tutor-register-premium .tutor-register-live-summary div::before{display:none}.tutor-register-premium .tutor-register-live-summary span{color:#69778d!important;font-size:.56rem!important;letter-spacing:.04em!important}.tutor-register-premium .tutor-register-live-summary strong{margin:0;color:#071b4d!important;font-size:.94rem!important;text-shadow:none!important}
.tutor-register-premium [data-save-attendance-register]{min-width:175px;min-height:44px;border-radius:10px;font-weight:950}.tutor-register-feedback{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid #b8d1f4;border-radius:10px;background:#eef6ff;color:#173f77}.tutor-register-feedback span{font-size:.74rem;font-weight:700}.tutor-register-feedback--error{border-color:#efb3b3;background:#fff1f1;color:#8e2424}.tutor-register-feedback--saved{border-color:#a7ddbd;background:#effaf3;color:#11633a}.tutor-register-feedback--dirty{border-color:#e4c77c;background:#fff9e9;color:#76540e}
@media(max-width:1050px){.tutor-register-context{grid-template-columns:repeat(3,minmax(0,1fr))}.tutor-register-context>span:nth-child(3){border-right:0}.tutor-register-context>span:nth-child(-n+3){border-bottom:1px solid rgba(255,255,255,.13)}.tutor-register-premium .attendance-register-row{grid-template-columns:repeat(4,minmax(0,1fr))}.tutor-register-premium .daily-cohort-identity{grid-column:1/-1}.tutor-register-premium .daily-register-footer{position:static;grid-template-columns:1fr}.tutor-register-premium [data-save-attendance-register]{width:100%}}
@media(max-width:680px){body:has(.tutor-register-task-page) .app-shell{padding:8px}.tutor-register-premium{padding:8px!important}.tutor-register-compact-header{grid-template-columns:1fr;padding:16px}.tutor-register-header-actions{justify-content:stretch}.tutor-register-header-actions :is(.primary-action,.secondary-action){flex:1}.tutor-register-context{grid-template-columns:1fr 1fr}.tutor-register-context>span{border-right:1px solid rgba(255,255,255,.13)!important;border-bottom:1px solid rgba(255,255,255,.13)}.tutor-register-context>span:nth-child(2n){border-right:0!important}.tutor-register-context>span:nth-last-child(-n+2){border-bottom:0}.tutor-register-premium .attendance-register-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.tutor-register-premium .daily-cohort-identity{grid-column:1/-1}.tutor-register-premium .attendance-button{min-height:46px}.tutor-register-premium .tutor-register-live-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.tutor-register-premium .tutor-register-live-summary div:first-child{grid-column:span 1}}
/* End Tutor Daily Register. */

/* TFE Induction, Centre Rules & Safety — Ask, Teach, Check */
.centre-induction-intro,.centre-induction-activity,.centre-induction-review,.centre-induction-complete{max-width:880px;margin:28px auto;padding:clamp(22px,4vw,42px);border:1px solid #d9e0e7;border-radius:24px;background:#fff;box-shadow:0 18px 50px rgba(19,39,56,.1)}
.centre-induction-intro>span{display:block;margin:18px 0;color:#516272;font-weight:700}.centre-teaching-card{padding:clamp(22px,4vw,40px);border-radius:20px;background:linear-gradient(145deg,#102f46,#174c69);color:#fff}.centre-teaching-card .eyebrow{color:#83d7e6}.centre-teaching-card h4{margin-top:22px}.centre-induction-review article{margin:14px 0;padding:18px;border-left:4px solid #f0a229;background:#fff8e8;border-radius:10px}.centre-induction-complete{text-align:center;background:linear-gradient(145deg,#edfdf8,#fff)}.centre-induction-complete dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.centre-induction-complete dl div{padding:16px;border-radius:14px;background:#fff}.centre-induction-complete dt{color:#667582}.centre-induction-complete dd{margin:4px 0 0;font-size:1.35rem;font-weight:800;color:#0d6b52}
.centre-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.centre-policy-grid label,.centre-admin-body>label,.centre-threshold-field{display:grid;gap:7px;font-weight:700}.centre-policy-grid textarea{min-height:110px}.centre-admin-questions{display:grid;gap:10px}.centre-admin-questions>details{border:1px solid #dce3e9;border-radius:14px;background:#fff}.centre-admin-questions>details>summary{display:flex;align-items:center;gap:12px;padding:16px;cursor:pointer}.centre-admin-questions>details>summary>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#123d57;color:#fff}.centre-admin-body{display:grid;gap:14px;padding:0 18px 20px}.centre-admin-body textarea{min-height:88px}.centre-threshold-field{max-width:220px;margin-top:16px}
@media(max-width:720px){.centre-policy-grid,.centre-induction-complete dl{grid-template-columns:1fr}.centre-induction-intro,.centre-induction-activity,.centre-induction-review,.centre-induction-complete{margin:16px 0;padding:20px;border-radius:18px}.centre-admin-questions>details>summary{align-items:flex-start}.centre-admin-questions .induction-admin-controls{margin-left:auto}}

/* Restored governed City & Guilds qualification alignment (known-good 2026-07-31 release). */
.theory-qualification-alignment-card{display:grid;gap:22px;padding:clamp(22px,3vw,32px);border:1px solid rgba(11,31,77,.13);border-top:3px solid #c8a96b;border-radius:18px;background:linear-gradient(145deg,#fff 0%,#fbfaf6 100%);box-shadow:0 9px 24px rgba(7,27,77,.06)}
.theory-qualification-alignment-header{display:grid;grid-template-columns:112px minmax(0,1fr);gap:22px;align-items:center}
.theory-qualification-alignment-header img{display:block;width:112px;height:auto;object-fit:contain}
.theory-qualification-alignment-header .eyebrow,.theory-qualification-alignment-header h3,.theory-qualification-alignment-header p{margin:0}
.theory-qualification-alignment-header .eyebrow{color:#9a7026}
.theory-qualification-alignment-header h3{margin-top:6px;color:var(--navy);font-size:clamp(1.25rem,2.2vw,1.65rem);line-height:1.2}
.theory-qualification-alignment-header p:last-child{margin-top:6px;color:#5f6f82;font-weight:750}
@media(max-width:640px){
  .theory-qualification-alignment-card{gap:18px;padding:20px}
  .theory-qualification-alignment-header{grid-template-columns:84px minmax(0,1fr);gap:15px;align-items:start}
  .theory-qualification-alignment-header img{width:84px}
}


/* School Attendance Dashboard — read-only authorised cohort attendance */
.school-attendance-dashboard{--sa-navy:#071b4e;--sa-blue:#2459d3;--sa-green:#168a47;--sa-amber:#d98b00;--sa-red:#d73535;max-width:1480px;margin:0 auto;padding:28px 30px 46px;color:var(--sa-navy);background:#f7f9fc;min-height:calc(100vh - 90px)}
.school-attendance-header{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(470px,.9fr);gap:34px;align-items:stretch;min-height:220px;margin-bottom:20px;padding:28px 30px;border-radius:16px;overflow:hidden;background:linear-gradient(130deg,#071b4d 0%,#0d2b65 58%,#081d4c 100%);color:#fff;box-shadow:0 16px 38px rgba(7,27,77,.18)}
.school-attendance-header:before{content:"";position:absolute;z-index:-1;top:-105px;left:34%;width:310px;height:340px;border:42px solid rgba(255,255,255,.025);border-radius:56px;transform:rotate(28deg)}.school-attendance-header:after{content:"";position:absolute;z-index:-1;right:20%;bottom:-120px;width:210px;height:230px;border:30px solid rgba(255,255,255,.018);border-radius:44px;transform:rotate(-24deg)}
.school-attendance-hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}.school-attendance-hero-copy>button{appearance:none;margin:0 0 20px;padding:8px 12px;border:1px solid rgba(242,201,76,.42);border-radius:9px;background:rgba(4,18,54,.25);color:#fff;font-weight:800;cursor:pointer}.school-attendance-hero-copy>button:hover,.school-attendance-hero-copy>button:focus-visible{border-color:#f2c94c;background:rgba(242,201,76,.12);outline:3px solid rgba(242,201,76,.18)}
.school-attendance-hero-copy>small{margin-bottom:9px;color:#f2c94c;font-size:.67rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.school-attendance-header h2{margin:0 0 9px;color:#fff;font-size:clamp(1.9rem,2.7vw,2.55rem);line-height:1.05}.school-attendance-header p{max-width:650px;margin:0;color:rgba(255,255,255,.76);font-size:.88rem;line-height:1.55}
.school-attendance-hero-summaries{display:grid;grid-template-columns:1fr;gap:16px;align-items:center}.school-attendance-hero-summaries>span{display:flex;min-width:0;min-height:108px;flex-direction:column;justify-content:center;padding:18px;border:1px solid rgba(255,255,255,.19);border-radius:13px;background:linear-gradient(145deg,rgba(24,55,111,.84),rgba(7,29,74,.66));box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 11px 25px rgba(0,0,0,.13)}
.school-attendance-hero-summaries>span small{margin-bottom:8px;color:#f2c94c;font-size:.64rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.school-attendance-hero-summaries>span strong{color:#fff;font-size:1.13rem;line-height:1.25}
.school-attendance-cohort-control{margin-bottom:14px;padding:17px 20px;background:#fff;border:1px solid #dce3ed;border-radius:12px;box-shadow:0 8px 24px rgba(13,35,75,.04)}.school-attendance-cohort-control label{display:flex;flex-direction:column;gap:8px}.school-attendance-cohort-control label>span{color:#596b88;font-size:.66rem;font-weight:850;letter-spacing:.075em;text-transform:uppercase}.school-attendance-cohort-control select{width:100%;min-height:48px;padding:0 44px 0 15px;border:1px solid #d6deea;border-radius:9px;background:#fff;color:var(--sa-navy);font:inherit;font-size:.86rem;font-weight:700;outline:0}.school-attendance-cohort-control select:hover{border-color:#aebbd0}.school-attendance-cohort-control select:focus-visible{border-color:#b98a17;box-shadow:0 0 0 3px rgba(185,138,23,.13)}
.school-attendance-learner-control{position:relative;z-index:4;margin-bottom:14px;padding:17px 20px;background:#fff;border:1px solid #dce3ed;border-radius:12px;box-shadow:0 8px 24px rgba(13,35,75,.04)}.school-attendance-learner-control>label{display:block;margin-bottom:8px;color:#596b88;font-size:.66rem;font-weight:850;letter-spacing:.075em;text-transform:uppercase}.school-attendance-learner-combobox{position:relative}.school-attendance-learner-combobox>svg{position:absolute;z-index:1;left:17px;top:50%;width:20px;height:20px;transform:translateY(-50%);fill:none;stroke:#587097;stroke-width:2;stroke-linecap:round;pointer-events:none}.school-attendance-learner-combobox input{width:100%;min-height:48px;padding:0 48px 0 52px!important;border:1px solid #d6deea;border-radius:9px;background:#fff;color:var(--sa-navy);font:inherit;font-size:.86rem;font-weight:650;outline:0}.school-attendance-learner-combobox input::placeholder{color:#8b98ad;font-weight:500}.school-attendance-learner-combobox input:hover{border-color:#aebbd0}.school-attendance-learner-combobox input:focus-visible{border-color:#b98a17;box-shadow:0 0 0 3px rgba(185,138,23,.13)}.school-attendance-learner-chevron{position:absolute;right:17px;top:50%;transform:translateY(-54%);color:#718098;font-size:1.15rem;pointer-events:none}
.school-attendance-learner-results{position:absolute;z-index:10;left:20px;right:20px;top:82px;max-height:290px;padding:6px;overflow:auto;border:1px solid #d7dfeb;border-radius:10px;background:#fff;box-shadow:0 18px 38px rgba(7,27,77,.16)}.school-attendance-learner-results>p{margin:0;padding:15px;color:#68758e;font-size:.78rem}.school-attendance-learner-results>button{display:flex;align-items:center;gap:11px;width:100%;padding:9px 11px;border:0;border-bottom:1px solid #edf1f6;background:#fff;color:var(--sa-navy);text-align:left;cursor:pointer}.school-attendance-learner-results>button:last-child{border-bottom:0}.school-attendance-learner-results>button:hover,.school-attendance-learner-results>button:focus-visible,.school-attendance-learner-results>button.is-active{background:#f1f5fc;outline:0}.school-attendance-learner-results .learner-avatar{width:35px;height:35px;min-width:35px}.school-attendance-learner-results button>span{display:flex;min-width:0;flex-direction:column;gap:2px}.school-attendance-learner-results strong{font-size:.79rem}.school-attendance-learner-results small{color:#718098;font-size:.68rem}
.school-attendance-learner-selection{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px;color:#53627f;font-size:.74rem}.school-attendance-learner-selection>span{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}.school-attendance-learner-selection strong{color:#157044}.school-attendance-learner-selection small{color:#7b8799}.school-attendance-learner-selection button{appearance:none;padding:5px 9px;border:1px solid #d2dae6;border-radius:8px;background:#fff;color:#2459d3;font-size:.7rem;font-weight:750;cursor:pointer}.school-attendance-learner-selection button:hover,.school-attendance-learner-selection button:focus-visible{border-color:#b98a17;background:#fffaf0;outline:2px solid rgba(185,138,23,.12)}
.school-attendance-controls{display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);margin-bottom:18px;border:1px solid #d7e0ed;border-radius:15px;background:#fff;box-shadow:0 9px 25px rgba(13,35,75,.045);overflow:visible}.school-attendance-controls .school-attendance-cohort-control,.school-attendance-controls .school-attendance-learner-control{margin:0;padding:17px 26px;border:0;border-radius:0;background:transparent;box-shadow:none}.school-attendance-controls .school-attendance-cohort-control{border-right:1px solid #e1e7f0}.school-attendance-controls .school-attendance-learner-results{left:26px;right:26px}.school-attendance-controls .school-attendance-learner-selection{margin-top:7px;color:#51699d}
.school-attendance-controls{box-shadow:0 10px 28px rgba(13,35,75,.055)}.school-attendance-controls .school-attendance-cohort-control,.school-attendance-controls .school-attendance-learner-control{padding:20px 28px}.school-attendance-controls .school-attendance-cohort-control{border-right-color:#edf1f6}.school-attendance-controls .school-attendance-cohort-control label{position:relative}.school-attendance-controls .school-attendance-cohort-control label:before{content:"";position:absolute;z-index:1;left:17px;bottom:14px;width:20px;height:20px;pointer-events:none;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23587097' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='9' r='3'/%3E%3Ccircle cx='17' cy='10' r='2.5'/%3E%3Cpath d='M3 20c0-3 2-5 5-5s5 2 5 5M14 16c3 0 5 1.7 5 4'/%3E%3C/svg%3E")}.school-attendance-controls .school-attendance-cohort-control label:after{content:"";position:absolute;right:18px;bottom:19px;width:10px;height:10px;border-right:2px solid #587097;border-bottom:2px solid #587097;transform:rotate(45deg);pointer-events:none}.school-attendance-controls .school-attendance-cohort-control select{appearance:none;-webkit-appearance:none;min-height:48px;padding:0 50px 0 52px;border:1px solid #d6deea;border-radius:9px;background:#fff;color:var(--sa-navy);font-size:.86rem;font-weight:650;line-height:1.2;box-shadow:none}.school-attendance-controls .school-attendance-cohort-control select::-ms-expand{display:none}.school-attendance-controls .school-attendance-cohort-control select:hover{border-color:#aebbd0}.school-attendance-controls .school-attendance-cohort-control select:focus-visible{border-color:#b98a17;box-shadow:0 0 0 3px rgba(185,138,23,.13);outline:0}.school-attendance-controls .school-attendance-learner-results{left:28px;right:28px;top:85px}
.school-attendance-header{grid-template-columns:minmax(0,1.65fr) minmax(290px,.55fr);gap:28px;min-height:168px;margin-bottom:15px;padding:20px 24px}.school-attendance-hero-copy>button{margin-bottom:12px;padding:7px 11px;font-size:.76rem}.school-attendance-hero-copy>small{margin-bottom:5px;font-size:.63rem}.school-attendance-header h2{margin-bottom:5px;font-size:clamp(1.72rem,2.35vw,2.25rem)}.school-attendance-header p{font-size:.82rem;line-height:1.45}.school-attendance-hero-summaries{justify-items:end}.school-attendance-hero-summaries>span{width:100%;max-width:290px;min-height:82px;padding:14px 16px;border-color:rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 8px 19px rgba(0,0,0,.1)}.school-attendance-hero-summaries>span small{margin-bottom:6px;font-size:.59rem}.school-attendance-hero-summaries>span strong{font-size:1rem;font-weight:700}
.school-attendance-controls{margin-bottom:15px;border-color:rgba(198,209,224,.62);background:#fbfcfe;box-shadow:0 7px 22px rgba(13,35,75,.035)}.school-attendance-controls .school-attendance-cohort-control,.school-attendance-controls .school-attendance-learner-control{padding:18px 30px}.school-attendance-controls .school-attendance-cohort-control{border-right-color:rgba(214,223,235,.56)}.school-attendance-cohort-control label>span,.school-attendance-learner-control>label{font-size:.61rem;font-weight:750;letter-spacing:.085em}.school-attendance-cohort-control select,.school-attendance-learner-combobox input{min-height:46px!important;border-color:#d9e1ec!important;border-radius:10px!important;font-size:.83rem!important;font-weight:600!important}.school-attendance-controls .school-attendance-cohort-control label:before{bottom:13px}.school-attendance-controls .school-attendance-cohort-control label:after{bottom:18px}.school-attendance-controls .school-attendance-learner-results{left:30px;right:30px;top:80px}
.school-attendance-learner-selection{justify-content:flex-start;width:max-content;max-width:100%;gap:10px;margin-top:8px;padding:4px 7px 4px 9px;border-radius:999px;background:#f0f4fa;color:#52627d;font-size:.67rem}.school-attendance-learner-selection>span{gap:5px}.school-attendance-learner-selection>span>small{color:#718098;font-size:.55rem;font-weight:750;letter-spacing:.075em;text-transform:uppercase}.school-attendance-learner-selection>span>strong{color:#233c6f;font-size:.69rem;font-weight:700}.school-attendance-learner-selection>span>em{color:#718098;font-size:.61rem;font-style:normal}.school-attendance-learner-selection button{padding:3px 7px;border-color:#d8e0eb;border-radius:999px;background:#fff;font-size:.61rem;font-weight:700}.school-attendance-learner-selection.is-selected{background:#ecf6f0}
.school-attendance-cohort-strip{margin-bottom:15px;border-color:rgba(201,211,224,.58);box-shadow:0 6px 19px rgba(13,35,75,.028)}.school-attendance-cohort-strip>div{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:15px 19px;border-right-color:rgba(222,229,238,.52)}.school-attendance-cohort-strip>div>i{width:35px;height:35px;background:#f0f4fb}.school-attendance-cohort-strip>div>i svg{width:19px}.school-attendance-cohort-strip small{font-size:.58rem;font-weight:750;letter-spacing:.075em}.school-attendance-cohort-strip>div>span strong{font-size:.79rem;font-weight:700}.school-attendance-cohort-strip>div>span em{font-size:.65rem}
.school-attendance-executive-metrics{gap:14px;margin-bottom:14px}.school-attendance-executive-metrics>.school-attendance-metric,.school-attendance-executive-metrics>.school-attendance-summary{min-height:146px;padding:19px;border:1px solid rgba(211,221,233,.68);border-top:3px solid var(--tone,#2961db);border-radius:14px;box-shadow:0 7px 20px rgba(12,32,69,.045)}.school-attendance-executive-metrics .school-attendance-metric__icon,.school-attendance-executive-metrics .school-attendance-summary>span{width:44px;height:44px}.school-attendance-executive-metrics .school-attendance-metric__icon svg,.school-attendance-executive-metrics .school-attendance-summary>span svg{width:22px}.school-attendance-executive-metrics small{font-size:.61rem;font-weight:750;letter-spacing:.07em}.school-attendance-executive-metrics .school-attendance-metric strong,.school-attendance-executive-metrics .school-attendance-summary strong{font-weight:750}.school-attendance-executive-metrics .school-attendance-metric p,.school-attendance-executive-metrics .school-attendance-summary p{font-size:.68rem;color:#748097}.school-attendance-executive-metrics .school-attendance-summary.status strong{font-size:.85rem;font-weight:700}
.school-attendance-journey{padding:18px 17px;border-color:rgba(202,212,225,.62);box-shadow:0 7px 22px rgba(12,32,69,.04)}.school-attendance-journey>header{margin-bottom:13px}.school-attendance-journey>header h3{font-size:1.25rem;font-weight:750;letter-spacing:-.015em}.school-attendance-journey>header p{font-size:.72rem}
.school-attendance-cohort-strip>div{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:13px;padding:18px 20px}.school-attendance-cohort-strip>div>i{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#edf3ff;color:#2459d3;font-style:normal}.school-attendance-cohort-strip>div>i svg{width:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.school-attendance-cohort-strip>div>span{display:flex;min-width:0;flex-direction:column;gap:3px;color:inherit;font-size:inherit;white-space:normal;overflow:visible}.school-attendance-cohort-strip>div>span em{color:#5971a8;font-size:.7rem;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.school-attendance-cohort-strip>div>span strong{font-size:.82rem}
.school-attendance-executive-metrics>.school-attendance-metric,.school-attendance-executive-metrics>.school-attendance-summary{border-color:#dbe3ef;border-top:4px solid var(--tone,#2961db);border-radius:15px;box-shadow:0 11px 28px rgba(12,32,69,.07)}.school-attendance-executive-metrics>.school-attendance-metric:after,.school-attendance-executive-metrics>.school-attendance-summary:after{display:none}.school-attendance-executive-metrics .school-attendance-summary.trend,.school-attendance-executive-metrics .school-attendance-summary.status{display:flex;align-items:flex-start}.school-attendance-executive-metrics .school-attendance-summary.trend>span,.school-attendance-executive-metrics .school-attendance-summary.status>span{margin-top:5px}.school-attendance-executive-metrics .school-attendance-summary.trend strong{order:0;margin:6px 0 3px;font-size:1.35rem}.school-attendance-executive-metrics .school-attendance-summary.trend p{order:1}.school-attendance-executive-metrics .school-attendance-summary.trend svg.school-attendance-trend{order:2;margin-top:7px}.school-attendance-executive-metrics .school-attendance-summary.status{--tone:#7a35ed}.school-attendance-executive-metrics .school-attendance-summary.status>span{color:#7a35ed;background:#f0e8ff}.school-attendance-executive-metrics .school-attendance-summary.status>div{justify-content:flex-start}.school-attendance-executive-metrics .school-attendance-summary.status strong{margin:10px 0 9px}
.school-attendance-cohort-strip{display:grid;grid-template-columns:1.15fr 1fr .85fr 1fr 1.35fr;background:#fff;border:1px solid #dce3ed;border-radius:12px;box-shadow:0 8px 24px rgba(13,35,75,.04);margin-bottom:22px;overflow:hidden}
.school-attendance-cohort-strip>div{display:flex;flex-direction:column;min-width:0;padding:14px 17px;border-right:1px solid #e6ebf2}
.school-attendance-cohort-strip>div:last-child{border-right:0}
.school-attendance-cohort-strip small,.school-attendance-metric small,.school-attendance-summary small{font-size:.66rem;text-transform:uppercase;letter-spacing:.075em;font-weight:850;color:#596b88}
.school-attendance-cohort-strip strong{font-size:.85rem;line-height:1.35;color:var(--sa-navy)}
.school-attendance-cohort-strip span{font-size:.7rem;color:#75819a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.school-attendance-loading{padding:12px 16px;margin:0 0 18px;border-radius:10px;background:#eaf1ff;color:#1d4fac;font-weight:750}
.school-attendance-primary-metrics,.school-attendance-secondary-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:14px}
.school-attendance-executive-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}
.school-attendance-executive-metrics>.school-attendance-metric,.school-attendance-executive-metrics>.school-attendance-summary{min-height:150px;height:100%;padding:18px}
.school-attendance-executive-metrics .school-attendance-summary{align-items:center}
.school-attendance-executive-metrics .school-attendance-summary.trend,.school-attendance-executive-metrics .school-attendance-summary.status{display:flex}
.school-attendance-executive-metrics .school-attendance-summary.trend strong{margin:6px 0 3px;font-size:1rem}
.school-attendance-executive-metrics .school-attendance-trend{height:46px;margin-top:4px}
.school-attendance-executive-metrics .school-attendance-trend-empty{min-height:51px;padding-top:10px}
.school-attendance-metric,.school-attendance-summary{position:relative;display:flex;align-items:center;gap:15px;min-width:0;background:#fff;border:1px solid #e1e7ef;border-radius:14px;padding:20px 17px;box-shadow:0 9px 24px rgba(12,32,69,.055);overflow:hidden}
.school-attendance-metric:after,.school-attendance-summary:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--tone,#2961db)}
.school-attendance-metric.green,.school-attendance-summary.green{--tone:var(--sa-green)}.school-attendance-metric.amber{--tone:var(--sa-amber)}.school-attendance-metric.red,.school-attendance-summary.red{--tone:var(--sa-red)}
.school-attendance-metric__icon,.school-attendance-summary>span{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;color:var(--tone,#2961db);background:color-mix(in srgb,var(--tone,#2961db) 12%,white)}
.school-attendance-metric__icon svg,.school-attendance-summary>span svg{width:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.school-attendance-metric>div:last-child,.school-attendance-summary>div{display:flex;flex-direction:column;min-width:0;flex:1}
.school-attendance-metric strong,.school-attendance-summary strong{font-size:1.55rem;line-height:1.1;margin:6px 0;color:var(--sa-navy)}
.school-attendance-metric p,.school-attendance-summary p{font-size:.73rem;line-height:1.35;color:#68758e;margin:0}
.school-attendance-metric i,.school-attendance-summary i{display:block;height:5px;border-radius:20px;background:#e4e9f1;margin:8px 0 4px;overflow:hidden}
.school-attendance-metric i b,.school-attendance-summary i b{display:block;height:100%;background:var(--tone,#2961db);border-radius:inherit}
.school-attendance-ring{--attendance:0;display:grid;place-items:center;width:76px;height:76px;flex:0 0 auto;border-radius:50%;background:conic-gradient(var(--sa-green) calc(var(--attendance)*1%),#e4e9ef 0);position:relative}
.school-attendance-ring:before{content:"";position:absolute;inset:6px;background:#fff;border-radius:50%}
.school-attendance-ring span{position:relative;z-index:1;font-size:1.18rem;font-weight:900;color:var(--sa-navy);text-align:center;line-height:1.05}
.school-attendance-metric.ring{align-items:center}.school-attendance-metric.ring>div:last-child{justify-content:center;overflow:hidden}.school-attendance-metric.ring>div:last-child small{white-space:nowrap}.school-attendance-metric.ring>div:last-child p{max-width:100%;overflow-wrap:normal}
.school-attendance-secondary-metrics{grid-template-columns:1fr 1fr .9fr 1.3fr 1fr;margin-bottom:22px}
.school-attendance-summary{min-height:132px;align-items:flex-start}
.school-attendance-summary button{appearance:none;border:0;background:transparent;color:#2459d3;font-weight:800;padding:7px 0 0;text-align:left;cursor:pointer}
.school-attendance-summary.trend,.school-attendance-summary.status{display:block}
.school-attendance-trend{width:100%;height:78px;margin-top:7px;overflow:visible}
.school-attendance-trend path{stroke:#d8dfe9;stroke-width:1;fill:none}.school-attendance-trend polyline{stroke:var(--sa-green);stroke-width:2;fill:none}.school-attendance-trend circle{fill:var(--sa-green);stroke:#fff;stroke-width:.6}
.school-attendance-trend-empty{font-size:.74rem;line-height:1.4;color:#748198;padding-top:18px}
.school-attendance-summary.status strong{display:inline-flex;align-self:flex-start;border-radius:30px;padding:8px 13px;font-size:.9rem;margin:13px 0;background:#edf1f6}.school-attendance-summary.status strong.green{color:#14733d;background:#e3f5e9}.school-attendance-summary.status strong.amber{color:#9b6200;background:#fff2d8}.school-attendance-summary.status strong.red{color:#b32323;background:#fde4e4}
.school-attendance-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;font-size:.68rem;color:#68758e}.school-attendance-legend span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;background:#d9dfe8;border:1px solid transparent}.school-attendance-legend .good:before{background:#dff4e6;border-color:#168a47}.school-attendance-legend .warning:before{background:#fff2d8;border-color:#d98b00}.school-attendance-legend .poor:before{background:#fde4e4;border-color:#d73535}.school-attendance-legend .current:before{background:#fff;border-color:#2459d3}
.school-attendance-register-detail header button{appearance:none;background:#fff;border:1px solid #d6deea;border-radius:8px;padding:7px 11px;color:#183d7b;font-weight:750;cursor:pointer}
.school-attendance-journey{background:#fff;border:1px solid #dce3ed;border-radius:14px;padding:20px 18px;box-shadow:0 10px 28px rgba(12,32,69,.05)}
.school-attendance-journey>header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:16px}.school-attendance-journey>header h3{font-size:1.15rem;margin:0 0 3px;color:var(--sa-navy)}.school-attendance-journey>header p{font-size:.75rem;margin:0;color:#68758e}
.school-attendance-pathway{padding:0;background:transparent;box-shadow:none}.school-attendance-pathway>.admin-pathway-overview{margin-bottom:14px}.school-attendance-pathway .admin-pathway-month-jump{margin-bottom:16px}
.school-attendance-journey .school-attendance-pathway .admin-pathway-day{min-height:245px;height:auto;cursor:pointer}.school-attendance-journey .school-attendance-pathway .admin-pathway-day.attendance-good{border-color:#49a96d;box-shadow:inset 0 0 0 2px rgba(22,138,71,.14)}.school-attendance-journey .school-attendance-pathway .admin-pathway-day.attendance-warning{border-color:#dfa21f;box-shadow:inset 0 0 0 2px rgba(217,139,0,.14)}.school-attendance-journey .school-attendance-pathway .admin-pathway-day.attendance-poor{border-color:#dc4a4a;box-shadow:inset 0 0 0 2px rgba(215,53,53,.14)}.school-attendance-journey .school-attendance-pathway .admin-pathway-day.attendance-missing{border-color:#aeb8c8;border-style:dashed}
.admin-pathway-attendance-overlay{display:flex;flex-direction:column;gap:3px;margin-top:auto;padding-top:8px;border-top:1px solid rgba(33,55,90,.16);font-size:.62rem;line-height:1.3;text-align:left}.admin-pathway-attendance-overlay strong{color:#1e3156;text-transform:uppercase;letter-spacing:.06em;font-size:.58rem}.admin-pathway-attendance-overlay span{color:#485b78}.admin-pathway-attendance-overlay b{color:#0e7540;font-size:.68rem}.attendance-warning .admin-pathway-attendance-overlay b{color:#996000}.attendance-poor .admin-pathway-attendance-overlay b,.attendance-missing .admin-pathway-attendance-overlay b{color:#b92d2d}.attendance-authorised .admin-pathway-attendance-overlay b{color:#2459b9}.admin-pathway-attendance-overlay em{color:#39724e;font-style:normal;font-size:.58rem}
.school-attendance-journey .school-attendance-pathway .admin-pathway-day.attendance-authorised{border-color:#3472de;box-shadow:inset 0 0 0 2px rgba(52,114,222,.14)}
.school-attendance-journey .school-attendance-pathway .admin-pathway-day:not([data-school-attendance-date]){cursor:default}
.school-attendance-register-detail{margin-top:20px;background:#fff;border:1px solid #dce3ed;border-radius:14px;padding:20px;box-shadow:0 10px 28px rgba(12,32,69,.05)}.school-attendance-register-detail>header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #e6ebf2;padding-bottom:14px;margin-bottom:12px}.school-attendance-register-detail h3{margin:3px 0;color:var(--sa-navy)}.school-attendance-register-detail header small{color:#b3820b;text-transform:uppercase;font-weight:850;letter-spacing:.08em}.school-attendance-register-detail header p{margin:0;color:#64728a}.school-attendance-register-detail>div>article{display:flex;justify-content:space-between;align-items:center;padding:11px 4px;border-bottom:1px solid #edf0f4}.school-attendance-register-detail article span{display:flex;flex-direction:column}.school-attendance-register-detail article span small{color:#748198}.school-attendance-register-detail article>b{padding:6px 10px;border-radius:20px;font-size:.72rem}.school-attendance-register-detail article>b.present{background:#e3f5e9;color:#14733d}.school-attendance-register-detail article>b.late{background:#fff2d8;color:#9b6200}.school-attendance-register-detail article>b.absent{background:#fde4e4;color:#b32323}
.school-daily-register{min-height:100vh;padding:28px clamp(18px,3vw,48px) 48px;background:#f5f7fb;color:var(--sa-navy)}
.school-daily-register-back{appearance:none;margin:0 0 18px;padding:10px 15px;border:1px solid #d5ad31;border-radius:9px;background:#fff;color:#12366f;font-weight:850;cursor:pointer}.school-daily-register-back:hover,.school-daily-register-back:focus-visible{background:#fff9e7;outline:3px solid rgba(213,173,49,.2)}
.school-daily-register>header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 28px;border-radius:15px;background:linear-gradient(130deg,#071b4d,#102e68);color:#fff;box-shadow:0 15px 34px rgba(7,27,77,.16)}.school-daily-register>header small{color:#f1c748;text-transform:uppercase;font-weight:900;letter-spacing:.1em}.school-daily-register>header h2{margin:5px 0 3px;color:#fff}.school-daily-register>header p{margin:0;color:rgba(255,255,255,.75)}.school-daily-register>header>strong{padding:8px 12px;border-radius:999px;font-size:.72rem}.school-daily-register>header>strong.scheduled{background:#e7efff;color:#174a9e}.school-daily-register>header>strong.recorded{background:#ddf5e6;color:#116d39}.school-daily-register>header>strong.missing{background:#fde4e4;color:#ad2020}
.school-daily-register-context{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:18px 0;background:#fff;border:1px solid #dde4ee;border-radius:13px;box-shadow:0 8px 22px rgba(12,32,69,.04)}.school-daily-register-context>div{display:flex;flex-direction:column;gap:5px;min-width:0;padding:17px 18px;border-right:1px solid #e8edf3}.school-daily-register-context>div:last-child{border:0}.school-daily-register-context small,.school-daily-register-summary small,.school-daily-register-curriculum small{color:#6c7990;text-transform:uppercase;font-size:.64rem;font-weight:850;letter-spacing:.07em}.school-daily-register-context strong{font-size:.82rem;line-height:1.4}
.school-daily-register-curriculum,.school-daily-register-learners{margin-bottom:18px;padding:22px;background:#fff;border:1px solid #dde4ee;border-radius:13px;box-shadow:0 8px 22px rgba(12,32,69,.04)}.school-daily-register-curriculum header h3,.school-daily-register-learners header h3{margin:4px 0;color:var(--sa-navy)}.school-daily-register-curriculum>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.school-daily-register-curriculum article{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #e4e9f1;border-radius:10px;background:#f9fbfe}.school-daily-register-curriculum article strong{font-size:.8rem;line-height:1.4}
.school-daily-register-summary{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px;margin-bottom:18px}.school-daily-register-summary article{display:flex;flex-direction:column;gap:6px;padding:15px;background:#fff;border:1px solid #dde4ee;border-bottom:3px solid #9aa8bc;border-radius:11px;text-align:center}.school-daily-register-summary article.present{border-bottom-color:#20904a}.school-daily-register-summary article.late{border-bottom-color:#d99209}.school-daily-register-summary article.authorised{border-bottom-color:#3070cb}.school-daily-register-summary article.absent{border-bottom-color:#d53b3b}.school-daily-register-summary strong{font-size:1.15rem}
.school-daily-register-missing{margin-bottom:18px;padding:15px 18px;border:1px solid #e55d5d;border-radius:11px;background:#fff1f1;color:#922626}.school-daily-register-missing p{margin:4px 0 0;font-size:.8rem}
.school-daily-register-learners>header{margin-bottom:10px}.school-daily-register-learners>header p{margin:3px 0;color:#68758e;font-size:.77rem}
.school-individual-attendance{--sia-navy:#071b4e;max-width:1480px;margin:0 auto;padding:24px 30px 46px;background:#f6f8fc;color:var(--sia-navy);min-height:calc(100vh - 90px)}.school-individual-back{appearance:none;margin:0 0 14px;padding:7px 4px;border:0;background:transparent;color:#314e83;font-size:.76rem;font-weight:700;cursor:pointer}.school-individual-back:hover,.school-individual-back:focus-visible{color:#b3820b;outline:0;text-decoration:underline}.school-individual-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.55fr);gap:30px;align-items:center;min-height:190px;margin-bottom:17px;padding:24px 30px;border-radius:16px;overflow:hidden;background:linear-gradient(130deg,#071b4d,#0d2d69 62%,#071b4d);color:#fff;box-shadow:0 15px 35px rgba(7,27,77,.16)}.school-individual-hero:after{content:"";position:absolute;z-index:-1;left:40%;top:-130px;width:350px;height:390px;border:44px solid rgba(255,255,255,.022);border-radius:60px;transform:rotate(28deg)}.school-individual-identity{display:flex;align-items:center;gap:22px;min-width:0}.school-individual-identity>.learner-avatar{width:112px;height:112px;min-width:112px;border:3px solid #d4ac3c;box-shadow:0 0 0 4px rgba(255,255,255,.15)}.school-individual-identity>div{min-width:0}.school-individual-identity>div>small,.school-individual-hero-actions article small{color:#f2c94c;font-size:.61rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.school-individual-name{display:flex;align-items:center;gap:15px;margin:6px 0 3px}.school-individual-name h2{margin:0;color:#fff;font-size:clamp(1.8rem,2.6vw,2.45rem);line-height:1.05}.school-individual-name>span{padding:6px 10px;border:1px solid rgba(33,192,99,.5);border-radius:999px;background:rgba(16,125,62,.45);color:#9cf0bd;font-size:.65rem;font-weight:700}.school-individual-identity>div>p{margin:0;color:#dbe5f7;font-size:.82rem}.school-individual-meta{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:18px;color:#eef3fb;font-size:.72rem}.school-individual-meta span+span{padding-left:20px;border-left:1px solid rgba(255,255,255,.18)}.school-individual-hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}.school-individual-hero-actions>button{align-self:flex-end;padding:7px 12px;border:1px solid rgba(242,201,76,.55);border-radius:8px;background:rgba(5,21,59,.34);color:#fff;font-size:.68rem;font-weight:700;cursor:pointer}.school-individual-hero-actions article{padding:16px;border:1px solid rgba(255,255,255,.19);border-radius:12px;background:rgba(11,42,98,.64)}.school-individual-hero-actions article strong{display:block;margin:7px 0 3px;font-size:1.1rem}.school-individual-hero-actions article strong.green{color:#8ce4af}.school-individual-hero-actions article strong.amber{color:#ffd782}.school-individual-hero-actions article strong.red{color:#ff9e9e}.school-individual-hero-actions article strong.muted{color:#d8e2f1}.school-individual-hero-actions article p{margin:0;color:#d4deee;font-size:.67rem;line-height:1.4}
.school-individual-metrics{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:11px;margin-bottom:16px;padding:8px;border-radius:14px;background:#eef2f7}.school-individual-metric{display:flex;min-width:0;min-height:160px;flex-direction:column;align-items:center;justify-content:center;padding:13px 9px;border:1px solid rgba(210,220,232,.7);border-radius:11px;background:#fff;text-align:center;box-shadow:0 5px 15px rgba(11,31,77,.035)}.school-individual-metric>small{order:-2;min-height:28px;color:#62728f;font-size:.55rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.school-individual-metric>span{display:grid;place-items:center;width:42px;height:42px;margin:4px 0 7px;border-radius:50%;background:#edf3ff;color:#2b65d8}.school-individual-metric.green>span{background:#e8f7ee;color:#168a47}.school-individual-metric.amber>span{background:#fff5df;color:#d98b00}.school-individual-metric.red>span{background:#fdeaea;color:#d73535}.school-individual-metric>span svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.8}.school-individual-metric>strong{font-size:1.35rem;line-height:1.1}.school-individual-metric>p{margin:7px 0 0;color:#718098;font-size:.61rem;line-height:1.35}.school-individual-ring{--value:0;display:grid;place-items:center;width:68px;height:68px;margin:3px 0 8px;border-radius:50%;background:conic-gradient(#2d6be0 calc(var(--value)*1%),#e3e8f0 0);position:relative}.school-individual-ring:before{content:"";position:absolute;inset:6px;border-radius:50%;background:#fff}.school-individual-ring strong{position:relative;z-index:1;font-size:1.05rem}
.school-individual-analysis{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.school-individual-panel{padding:18px;border:1px solid rgba(204,214,227,.68);border-radius:13px;background:#fff;box-shadow:0 7px 21px rgba(12,32,69,.04)}.school-individual-panel>header{margin-bottom:13px}.school-individual-panel>header h3{margin:0 0 3px;font-size:.82rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.school-individual-panel>header p{margin:0;color:#718098;font-size:.67rem}.school-individual-empty{display:flex;min-height:150px;flex-direction:column;align-items:center;justify-content:center;color:#697791;text-align:center}.school-individual-empty strong{font-size:.88rem}.school-individual-empty p{max-width:360px;margin:6px 0 0;font-size:.68rem;line-height:1.45}.school-individual-trend-legend{display:flex;gap:15px;color:#687791;font-size:.62rem}.school-individual-trend-legend span:before{content:"";display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;background:#2b68dc}.school-individual-trend-legend .punctuality:before{background:#16924a}.school-individual-trend-chart{width:100%;height:150px;margin-top:8px}.school-individual-trend-chart path{fill:none;stroke:#dfe5ed;stroke-width:.7}.school-individual-trend-chart polyline{fill:none;stroke-width:1.8}.school-individual-trend-chart polyline.attendance{stroke:#2b68dc}.school-individual-trend-chart polyline.punctuality{stroke:#16924a}.school-individual-trend-labels{display:flex;justify-content:space-around;color:#718098;font-size:.54rem}.school-individual-programme-summary{display:grid;grid-template-columns:190px 1fr;gap:28px;align-items:center;min-height:185px}.school-individual-donut{display:grid;place-items:center;width:160px;height:160px;margin:auto;border-radius:50%;position:relative}.school-individual-donut:before{content:"";position:absolute;inset:27px;border-radius:50%;background:#fff}.school-individual-donut>span{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;color:#687791;font-size:.62rem}.school-individual-donut strong{color:var(--sia-navy);font-size:1.6rem}.school-individual-programme-legend{display:grid;gap:8px}.school-individual-programme-legend>div{display:grid;grid-template-columns:10px 28px 1fr 38px;gap:7px;align-items:center;padding-bottom:6px;border-bottom:1px solid #edf1f5;font-size:.65rem}.school-individual-programme-legend i{width:7px;height:7px;border-radius:50%}.school-individual-programme-legend em{color:#718098;font-style:normal;text-align:right}.school-individual-data-note{margin:5px 0 0;color:#8a660f;font-size:.62rem}
.school-individual-calendar{margin-bottom:16px;padding:15px}.school-individual-calendar>.school-attendance-journey{padding:0;border:0;box-shadow:none}.school-individual-calendar .school-attendance-pathway{padding:0}.school-individual-calendar .admin-pathway-overview{margin-top:0}.school-individual-missed{margin-bottom:16px}.school-individual-missed-table{overflow-x:auto}.school-individual-missed-table .head,.school-individual-missed-table article{display:grid;grid-template-columns:1.05fr .9fr 1.35fr 1.35fr 1.2fr;gap:12px;align-items:center;min-width:900px}.school-individual-missed-table .head{padding:8px 10px;background:#f4f7fb;color:#61718e;font-size:.53rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.school-individual-missed-table article{padding:11px 10px;border-bottom:1px solid #e7ecf2;color:#243a66;font-size:.65rem}.school-individual-missed-table article>span:first-child{display:flex;flex-direction:column;gap:2px}.school-individual-missed-table article small{color:#77849a}
@media(max-width:1180px){.school-attendance-primary-metrics{grid-template-columns:repeat(3,1fr)}.school-attendance-secondary-metrics{grid-template-columns:repeat(3,1fr)}.school-attendance-cohort-strip{grid-template-columns:repeat(3,1fr)}.school-attendance-cohort-strip>div{border-bottom:1px solid #e6ebf2}}
@media(max-width:1180px){.school-attendance-executive-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1250px){.school-individual-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.school-individual-metric{min-height:145px}}
@media(max-width:900px){.school-attendance-controls{grid-template-columns:1fr}.school-attendance-controls .school-attendance-cohort-control{border-right:0;border-bottom:1px solid #e1e7f0}.school-attendance-cohort-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.school-individual-hero{grid-template-columns:1fr}.school-individual-hero-actions>button{align-self:flex-start}.school-individual-analysis{grid-template-columns:1fr}.school-individual-programme-summary{grid-template-columns:170px 1fr}}
@media(max-width:1000px){.school-daily-register-context{grid-template-columns:repeat(2,1fr)}.school-daily-register-context>div{border-bottom:1px solid #e8edf3}.school-daily-register-summary{grid-template-columns:repeat(4,1fr)}}
@media(max-width:1050px){.school-attendance-header{grid-template-columns:1fr;min-height:0}.school-attendance-hero-summaries{min-height:0;justify-items:stretch}.school-attendance-hero-summaries>span{max-width:none}}
@media(max-width:820px){.school-attendance-dashboard{padding:20px 14px 35px}.school-attendance-header{padding:24px 20px}.school-attendance-hero-summaries{grid-template-columns:1fr;min-height:0}.school-attendance-primary-metrics,.school-attendance-secondary-metrics{grid-template-columns:repeat(2,1fr)}.school-attendance-journey{overflow-x:auto}.school-attendance-journey>header{flex-direction:column}.school-attendance-legend{justify-content:flex-start}.school-attendance-pathway{min-width:860px}.school-daily-register-curriculum>div{grid-template-columns:1fr}}
@media(max-width:560px){.school-attendance-primary-metrics,.school-attendance-secondary-metrics,.school-attendance-cohort-strip{grid-template-columns:1fr}.school-attendance-cohort-strip>div{border-right:0}.school-attendance-metric,.school-attendance-summary{min-height:110px}.school-attendance-register-detail>header{flex-direction:column;gap:12px}.school-daily-register{padding:16px 12px 30px}.school-daily-register>header{align-items:flex-start;flex-direction:column;padding:21px 18px}.school-daily-register-context,.school-daily-register-summary{grid-template-columns:1fr}.school-daily-register-context>div{border-right:0}.school-daily-register-learners{padding:16px 12px}}
@media(max-width:560px){.school-attendance-executive-metrics{grid-template-columns:1fr}}
@media(max-width:560px){.school-attendance-learner-control{padding:15px 14px}.school-attendance-learner-results{left:14px;right:14px;top:80px}.school-attendance-learner-selection{align-items:flex-start;flex-direction:column}.school-attendance-learner-selection button{width:100%}}
@media(max-width:560px){.school-attendance-controls .school-attendance-cohort-control,.school-attendance-controls .school-attendance-learner-control{padding:15px 14px}.school-attendance-cohort-strip{grid-template-columns:1fr}}
@media(max-width:560px){.school-individual-attendance{padding:16px 12px 30px}.school-individual-hero{padding:20px 17px}.school-individual-identity{align-items:flex-start;flex-direction:column}.school-individual-identity>.learner-avatar{width:88px;height:88px;min-width:88px}.school-individual-name{align-items:flex-start;flex-direction:column;gap:7px}.school-individual-meta{flex-direction:column;gap:6px}.school-individual-meta span+span{padding-left:0;border-left:0}.school-individual-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.school-individual-programme-summary{grid-template-columns:1fr}.school-individual-panel{padding:14px}.school-individual-trend-chart{height:120px}}

/* Approved School Learner Dashboard */
.school-dashboard-shell.school-cohort-dashboard { gap:22px; padding:24px clamp(18px,2.4vw,34px) 34px; border-radius:0; background:#f6f8fc; color:#071b4d; }
.school-dashboard-top-actions { display:flex; align-items:center; justify-content:flex-end; min-height:40px; margin-bottom:-8px; }
.school-dashboard-top-actions .school-hero-logout { display:inline-flex; align-items:center; justify-content:center; gap:8px; width:auto; min-width:112px; min-height:38px; padding:8px 17px; border-width:1px; font-size:.8rem; }
.school-dashboard-top-actions .school-hero-logout svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.school-premium-hero { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(390px,1fr) minmax(620px,1.45fr); align-items:stretch; gap:36px; min-height:264px; overflow:hidden; padding:34px 32px 30px 42px; border-radius:16px; background:linear-gradient(128deg,#071b4d 0%,#0b2256 52%,#091a45 100%); color:#fff; box-shadow:0 18px 44px rgba(7,27,77,.18); }
.school-premium-hero::before { content:""; position:absolute; z-index:-1; top:-90px; left:300px; width:330px; height:380px; border:48px solid rgba(255,255,255,.022); border-radius:54px; transform:rotate(30deg); }
.school-premium-hero::after { content:""; position:absolute; z-index:-1; bottom:-110px; left:420px; width:220px; height:260px; border:34px solid rgba(255,255,255,.014); border-radius:46px; transform:rotate(-28deg); }
.school-premium-hero__intro { align-self:center; min-width:0; padding:10px 0; }
.school-premium-hero__intro .eyebrow { margin:0 0 17px; color:#f2c94c; font-size:.7rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.school-premium-hero__intro h1 { margin:0; color:#fff; font-size:clamp(2.2rem,3.25vw,3.25rem); font-weight:900; letter-spacing:-.04em; line-height:1.04; }
.school-premium-hero__intro h2 { margin:10px 0 12px; color:#fff; font-size:clamp(1.2rem,1.6vw,1.55rem); font-weight:750; line-height:1.25; }
.school-premium-hero__intro > p:last-of-type { margin:0; max-width:560px; color:rgba(255,255,255,.78); font-size:.91rem; line-height:1.6; }
.school-premium-hero__intro > i { display:block; width:48px; height:3px; margin-top:18px; border-radius:999px; background:#e2b72f; }
.school-premium-hero__summaries { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; min-width:0; }
.school-premium-hero__summaries article { display:grid; grid-template-columns:52px minmax(0,1fr); grid-template-rows:minmax(0,1fr) 38px; align-items:start; gap:14px 14px; min-width:0; height:100%; padding:24px 20px 18px; border:1px solid rgba(255,255,255,.2); border-radius:15px; background:linear-gradient(145deg,rgba(20,49,103,.9),rgba(11,31,75,.72)); box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 14px 30px rgba(0,0,0,.16); backdrop-filter:blur(10px); }
.school-premium-hero__icon { display:grid; width:46px; height:46px; place-items:center; border-radius:50%; background:#3e64dd; color:#fff; box-shadow:0 10px 24px rgba(0,0,0,.2); }
.school-premium-hero__icon.purple { background:#7a39ef; }
.school-premium-hero__icon.teal { background:#12b99e; }
.school-premium-hero__icon svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.school-premium-hero__summaries article > div { min-width:0; }
.school-premium-hero__summaries small { display:block; margin-bottom:8px; color:#f2c94c; font-size:.65rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.school-premium-hero__summaries strong { display:block; overflow:hidden; color:#fff; font-size:1.35rem; font-weight:900; line-height:1.1; text-overflow:ellipsis; }
.school-premium-hero__summaries p { margin:6px 0 0; overflow:hidden; color:rgba(255,255,255,.84); font-size:.75rem; line-height:1.4; text-overflow:ellipsis; }
.school-premium-hero__summaries button { display:flex; grid-column:1/-1; align-items:center; justify-content:center; justify-self:stretch; width:100%; min-height:38px; padding:7px 12px; border:1px solid rgba(242,201,76,.24); border-radius:8px; background:rgba(4,18,54,.22); color:#f2c94c; font-size:.78rem; font-weight:850; line-height:1; box-shadow:none; }
.school-premium-hero__summaries button:hover,.school-premium-hero__summaries button:focus-visible { color:#fff; transform:none; box-shadow:none; outline:2px solid rgba(242,201,76,.55); outline-offset:4px; }
.school-render-path-placeholders { display:grid; gap:18px; }
.school-render-path-placeholder { display:grid; min-height:96px; place-items:center; padding:24px; border:2px solid #aeb9ca; border-radius:12px; background:#fff; color:#071b4d; font-size:.88rem; font-weight:900; letter-spacing:.06em; text-align:center; box-shadow:0 8px 22px rgba(15,35,75,.06); }
.school-premium-dashboard-body { display:grid; gap:22px; }
.school-premium-controls { display:grid; grid-template-columns:minmax(300px,45fr) minmax(420px,55fr); gap:28px; align-items:end; padding:18px 28px 20px; border:1px solid #e4e9f1; border-radius:14px; background:#fff; box-shadow:0 10px 28px rgba(15,35,75,.07); }
.school-premium-controls .school-cohort-filter,.school-premium-universal-search { display:grid; gap:8px; position:relative; width:100%; }
.school-premium-controls .school-cohort-filter__label,.school-premium-universal-search > span { color:#53627f; font-size:.66rem; font-weight:900; letter-spacing:.09em; text-transform:uppercase; text-shadow:none; }
.school-premium-controls .school-cohort-filter::after { right:17px; bottom:14px; color:#37557f; font-size:1rem; }
.school-premium-controls .school-cohort-filter::before { content:""; position:absolute; z-index:1; left:16px; bottom:15px; width:20px; height:20px; pointer-events:none; background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f60d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20v-1c0-3 2-5 6-5s6 2 6 5v1'/%3E%3Ccircle cx='17' cy='9' r='2'/%3E%3Cpath d='M16 15c3 0 5 1.5 5 4v1'/%3E%3C/svg%3E"); }
.school-premium-controls .school-cohort-filter__select,.school-premium-universal-search input { width:100%; min-height:50px; margin:0; appearance:none; border:1px solid #d9e0eb; border-radius:9px; background:#fff; color:#0b1f4d; padding:12px 44px; font-size:.92rem; font-weight:700; box-shadow:none; outline:none; }
.school-premium-universal-search input { padding-left:52px !important; }
.school-premium-universal-search::before { content:""; position:absolute; z-index:1; left:18px; top:50%; width:20px; height:20px; transform:translateY(-50%); pointer-events:none; background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23587097' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E"); }
.school-premium-controls select:hover,.school-premium-controls input:hover { transform:none; box-shadow:none; border-color:#b8c5d8; }
.school-premium-controls select:focus,.school-premium-controls input:focus { border-color:#2f60d4; box-shadow:0 0 0 3px rgba(47,96,212,.12); }
.school-premium-universal-search input::placeholder { color:#8b98ad; font-size:.9rem; font-weight:500; }
.school-premium-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; }
.school-premium-metric { --metric:#2f60d4; display:flex; align-items:center; gap:18px; min-width:0; min-height:112px; padding:20px 20px; border:1px solid #e7ebf2; border-bottom:3px solid var(--metric); border-radius:14px; background:#fff; box-shadow:0 10px 25px rgba(15,35,75,.07); }
.school-premium-metric--green { --metric:#169247; }.school-premium-metric--amber { --metric:#f2a413; }.school-premium-metric--red { --metric:#ed3b42; }.school-premium-metric--purple { --metric:#7440ef; }
.school-premium-metric__icon { display:grid; flex:0 0 52px; width:52px; height:52px; place-items:center; border-radius:50%; background:color-mix(in srgb,var(--metric) 14%,white); color:var(--metric); }
.school-premium-metric__icon svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.school-premium-metric > div { display:grid; gap:3px; min-width:0; }
.school-premium-metric strong { color:#071b4d; font-size:1.65rem; font-weight:900; line-height:1; }
.school-premium-metric b { color:#14264d; font-size:.82rem; }
.school-premium-metric small { color:#66748e; font-size:.72rem; }
.school-premium-overview { overflow:hidden; border:1px solid #e5eaf1; border-radius:14px; background:#fff; box-shadow:0 12px 30px rgba(15,35,75,.07); }
.school-premium-overview > header { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:19px 24px 15px; }
.school-premium-overview > header h3 { margin:0; color:#071b4d; font-size:1.05rem; }
.school-premium-overview > header p { margin:4px 0 0; color:#65738d; font-size:.78rem; }
.school-premium-overview-controls { display:flex; justify-content:flex-end; gap:10px; }
.school-premium-overview-controls input,.school-premium-overview-controls select { min-height:38px; border:1px solid #dae1ec; border-radius:8px; background:#fff; color:#0b1f4d; padding:8px 12px; font-size:.76rem; outline:none; }
.school-premium-overview-controls input { min-width:240px; }
.school-premium-overview-controls select { min-width:138px; }
.school-premium-overview-controls input:focus,.school-premium-overview-controls select:focus { border-color:#c49a2c; box-shadow:0 0 0 3px rgba(196,154,44,.13); }
.school-premium-table-wrap { overflow-x:auto; padding:0 24px 18px; }
.school-premium-overview table { width:100%; min-width:980px; border-collapse:collapse; color:#16264b; font-size:.76rem; }
.school-premium-overview thead { background:#f7f8fb; }
.school-premium-overview th { padding:12px 14px; color:#60708e; font-size:.62rem; font-weight:900; letter-spacing:.04em; text-align:left; text-transform:uppercase; }
.school-premium-overview td { padding:11px 14px; border-bottom:1px solid #edf0f5; vertical-align:middle; }
.school-premium-overview tbody tr { transition:background .16s ease; }
.school-premium-overview tbody tr:hover { background:#f9fbff; }
.school-premium-overview td > strong,.school-premium-overview td > small { display:block; }
.school-premium-overview td > small { margin-top:3px; color:#64728d; }
.school-overview-learner { display:flex; align-items:center; gap:11px; min-width:180px; }
.school-overview-learner > span { display:grid; flex:0 0 36px; width:36px; height:36px; place-items:center; border-radius:50%; background:linear-gradient(135deg,#5277e3,#2d52c6); color:#fff; font-size:.7rem; font-weight:850; }
.school-overview-learner div { display:grid; gap:3px; }
.school-overview-learner strong { color:#071b4d; font-size:.8rem; }
.school-overview-learner small { color:#60708c; font-size:.68rem; }
.school-overview-progress { display:grid; gap:7px; min-width:90px; }
.school-overview-progress strong { color:#0b1f4d; font-size:.75rem; white-space:nowrap; }
.school-overview-progress i { display:block; overflow:hidden; width:100%; height:6px; border-radius:99px; background:#e5e9ef; }
.school-overview-progress i b { display:block; height:100%; border-radius:inherit; background:#1446a0; }
.school-overview-progress.green i b { background:#19914a; }
.school-overview-status { display:inline-flex; width:max-content; padding:6px 9px; border-radius:6px; font-size:.68rem; font-weight:850; }
.school-overview-status.green { background:#e4f6e9; color:#147b3c; }.school-overview-status.amber { background:#fff3d9; color:#ad6800; }.school-overview-status.red { background:#fee8e9; color:#c6242c; }.school-overview-status.purple { background:#eee8ff; color:#6334ce; }
.school-overview-view { min-height:34px; padding:7px 12px; border:1px solid #d8e0ec; border-radius:8px; background:#fff; color:#123c98; font-size:.7rem; font-weight:850; box-shadow:none; }
.school-overview-view:hover,.school-overview-view:focus-visible { border-color:#c49a2c; background:#0b2d61; color:#fff; transform:none; }
@media (max-width:1200px) {
  .school-premium-hero { grid-template-columns:1fr; }
  .school-premium-hero__summaries { min-height:190px; }
  .school-premium-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:820px) {
  .school-dashboard-shell.school-cohort-dashboard { padding:16px; }
  .school-premium-hero { padding:24px; }
  .school-premium-hero__summaries { grid-template-columns:1fr; }
  .school-premium-controls { grid-template-columns:1fr; gap:16px; padding:18px; }
  .school-premium-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .school-premium-overview > header { align-items:flex-start; flex-direction:column; }
  .school-premium-overview-controls { width:100%; flex-wrap:wrap; justify-content:flex-start; }
  .school-premium-overview-controls input { flex:1 1 100%; min-width:0; }
}
@media (max-width:560px) {
  .school-premium-hero__intro h1 { font-size:1.9rem; }
  .school-premium-metrics { grid-template-columns:1fr; }
  .school-premium-overview-controls select { flex:1 1 130px; min-width:0; }
  .school-premium-table-wrap { overflow:visible; padding:0 14px 16px; }
  .school-premium-overview table,.school-premium-overview tbody,.school-premium-overview tr,.school-premium-overview td { display:block; min-width:0; width:100%; }
  .school-premium-overview thead { display:none; }
  .school-premium-overview tr { margin-bottom:12px; padding:12px; border:1px solid #e4e9f1; border-radius:11px; }
  .school-premium-overview td { display:grid; grid-template-columns:110px minmax(0,1fr); align-items:center; gap:10px; padding:8px 0; border:0; }
  .school-premium-overview td::before { content:attr(data-label); color:#60708e; font-size:.62rem; font-weight:900; text-transform:uppercase; }
  .school-overview-learner { min-width:0; }
}

/* Tutor Dashboard — reuse the approved School full-width shell measurements.
   Scope excludes Daily Register and every non-dashboard Tutor workspace. */
body:has(.tutor-hero--landing) .app-shell,
body:has(#tutorView:not(.hidden) .tutor-dashboard-mode) .app-shell,
body:has(#tutorView:not(.hidden) .tutor-debrief-page) .app-shell {
  --portal-header-inline:clamp(24px,2.2vw,32px);
  width: 100%;
  max-width: none;
  padding-inline: clamp(24px, 2.2vw, 32px);
}
#tutorView:not(.hidden) .tutor-dashboard-mode,
#tutorView:not(.hidden) .tutor-dashboard-mode #tutorSignoffPanel,
#tutorView:not(.hidden) .tutor-dashboard-mode .tutor-dashboard-control,
body:has(.tutor-hero--landing) :is(.tutor-welcome-card, .tutor-shell, #tutorView, .tutor-signoff-layout, #tutorSignoffPanel, .tutor-dashboard-control) {
  width: 100%;
  max-width: none;
  min-width: 0;
}
body:has(#tutorView:not(.hidden) .tutor-debrief-page) :is(.tutor-welcome-card, .tutor-shell, #tutorView, .tutor-signoff-layout, #tutorSignoffPanel, .tutor-debrief-page) {
  width: 100%;
  max-width: none;
  min-width: 0;
}
@media (max-width: 900px) {
  body:has(.tutor-hero--landing) .app-shell,
  body:has(#tutorView:not(.hidden) .tutor-dashboard-mode) .app-shell,
  body:has(#tutorView:not(.hidden) .tutor-debrief-page) .app-shell {
    padding-inline: clamp(16px, 3vw, 24px);
  }
}

/* School Learner Dashboard — full-width desktop shell alignment */
body:has(#employerView.school-view-active) .app-shell {
  --portal-header-inline:clamp(24px,2.2vw,32px);
  width: 100%;
  max-width: none;
  padding-inline: clamp(24px, 2.2vw, 32px);
}
#employerView.school-view-active,
#employerView.school-view-active > .employer-panel,
#employerView.school-view-active .school-dashboard-shell.school-cohort-dashboard {
  width: 100%;
  max-width: none;
  min-width: 0;
}
#employerView.school-view-active .school-premium-hero,
#employerView.school-view-active .school-premium-hero__summaries,
#employerView.school-view-active .school-render-path-placeholders,
#employerView.school-view-active .school-premium-controls,
#employerView.school-view-active .school-premium-metrics,
#employerView.school-view-active .school-premium-overview {
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 1360px) {
  #employerView.school-view-active .school-premium-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  #employerView.school-view-active .school-premium-hero__summaries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
  }
}
@media (max-width: 900px) {
  body:has(#employerView.school-view-active) .app-shell {
    padding-inline: clamp(16px, 3vw, 24px);
  }
  #employerView.school-view-active .school-premium-hero__summaries {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Admin TFE Learner Pathway — premium curriculum operations workspace.
   Root-scoped so shared dashboards remain unchanged. */
.admin-pathway-page {
  --pathway-navy: #0a2555;
  --pathway-muted: #65758b;
  --pathway-border: rgba(27, 65, 109, 0.14);
  --pathway-gold: #c99220;
  --pathway-surface-soft: #f5f8fc;
  --pathway-shadow: 0 8px 24px rgba(13, 42, 80, 0.065);
  gap: 14px;
  padding: clamp(12px, 1.6vw, 20px);
  border: 1px solid rgba(27, 65, 109, 0.08);
  border-radius: 20px;
  background: #eef3f8;
  color: #173253;
}

.admin-pathway-page > .admin-pathway-header { order: 1; }
.admin-pathway-page > .admin-pathway-cohort-control { order: 2; }
.admin-pathway-page > .admin-pathway-overview { order: 3; }
.admin-pathway-page > .admin-pathway-month-jump { order: 4; }
.admin-pathway-page > .admin-pathway-full-year { order: 5; }
.admin-pathway-page > .admin-pathway-detail { order: 6; }
.admin-pathway-page > .admin-pathway-legend { order: 7; }

.admin-pathway-page > :is(.admin-pathway-header, .admin-pathway-overview, .admin-pathway-cohort-control, .admin-pathway-month-jump, .admin-pathway-month-section, .admin-pathway-detail) {
  border-color: var(--pathway-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.admin-pathway-page .admin-pathway-header {
  align-items: center;
  padding: 16px 20px;
  box-shadow: 0 5px 16px rgba(13, 42, 80, 0.045);
}

.admin-pathway-page .admin-pathway-header > div {
  display: grid;
  gap: 5px;
}

.admin-pathway-page .admin-pathway-header > .admin-pathway-header-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.admin-pathway-page .admin-pathway-header .eyebrow {
  justify-self: start;
  margin: 0 0 2px;
  padding: 4px 9px;
  border: 1px solid rgba(201, 146, 32, 0.3);
  border-radius: 999px;
  background: #fff8e7;
  color: #74500c;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-transform: uppercase;
}

.admin-pathway-page .admin-pathway-header h3 {
  margin: 0;
  color: var(--pathway-navy);
  font-size: clamp(1.75rem, 2.5vw, 2.15rem);
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 1.08;
  outline: none;
}

.admin-pathway-page .admin-pathway-header h3:focus-visible {
  border-radius: 3px;
  outline: 2px solid rgba(201, 146, 32, 0.72);
  outline-offset: 4px;
}

.admin-pathway-page .admin-pathway-header h3 + p {
  margin: 0;
  color: var(--pathway-muted);
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.45;
}

.admin-pathway-page .admin-pathway-header .secondary-action {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(27, 65, 109, 0.2);
  background: transparent;
  color: var(--pathway-navy);
  font-size: 0.74rem;
  font-weight: 760;
  text-shadow: none;
  box-shadow: none;
}

.admin-pathway-page .admin-pathway-header .curriculum-create-cohort-button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--pathway-gold);
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
}

.admin-pathway-page .admin-pathway-header .secondary-action:not(.action-success):not(.action-error):not(.is-failed):hover:not(:disabled),
.admin-pathway-page .admin-pathway-header .secondary-action:not(.action-success):not(.action-error):not(.is-failed):focus-visible {
  transform: none;
  border-color: rgba(27, 65, 109, 0.38);
  background: #f5f8fc;
  color: var(--pathway-navy);
  box-shadow: 0 0 0 3px rgba(201, 146, 32, 0.12);
}

.admin-pathway-page .admin-pathway-overview {
  padding: 10px;
  border-color: rgba(27, 65, 109, 0.1);
  background: rgba(255, 255, 255, 0.72);
}
.admin-pathway-page .admin-pathway-phase-strip { gap: 8px; }

.admin-pathway-page .admin-pathway-phase {
  --phase-accent: #376fa8;
  --phase-border: rgba(55, 111, 168, 0.24);
  --phase-surface: #edf5fc;
  gap: 5px;
  min-height: 116px;
  padding: 13px;
  border: 1px solid var(--phase-border);
  border-top: 3px solid var(--phase-accent);
  border-radius: 12px;
  background: var(--phase-surface);
  color: var(--pathway-navy);
  box-shadow: none;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.admin-pathway-page .admin-pathway-phase.phase-green { --phase-accent: #4c9460; --phase-border: rgba(76, 148, 96, 0.24); --phase-surface: #eef8f0; }
.admin-pathway-page .admin-pathway-phase.phase-orange { --phase-accent: #c77a38; --phase-border: rgba(199, 122, 56, 0.24); --phase-surface: #fff5ec; }
.admin-pathway-page .admin-pathway-phase.phase-purple { --phase-accent: #8064a4; --phase-border: rgba(128, 100, 164, 0.24); --phase-surface: #f5f0fa; }
.admin-pathway-page .admin-pathway-phase.phase-teal { --phase-accent: #3f8991; --phase-border: rgba(63, 137, 145, 0.24); --phase-surface: #edf8f8; }

.admin-pathway-page .admin-pathway-phase span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--phase-accent) 12%, white);
  color: color-mix(in srgb, var(--phase-accent) 78%, var(--pathway-navy));
  font-size: 0.64rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.admin-pathway-page .admin-pathway-phase strong { color: var(--pathway-navy); font-size: 0.9rem; font-weight: 820; line-height: 1.15; }
.admin-pathway-page .admin-pathway-phase small { color: #536780; font-size: 0.69rem; font-weight: 650; }
.admin-pathway-page .admin-pathway-phase em { color: #68778b; font-size: 0.66rem; font-weight: 650; line-height: 1.35; }
.admin-pathway-page .admin-pathway-phase:hover { border-color: color-mix(in srgb, var(--phase-accent) 52%, white); box-shadow: 0 7px 18px rgba(13, 42, 80, 0.09); }
.admin-pathway-page .admin-pathway-phase:focus-visible {
  outline: 2px solid var(--pathway-gold);
  outline-offset: 2px;
  border-color: rgba(201, 146, 32, 0.75);
  box-shadow: 0 10px 26px rgba(13, 42, 80, 0.11);
}

.admin-pathway-page .admin-pathway-cohort-control { gap: 12px; padding: 16px 18px; }
.admin-pathway-page .admin-pathway-cohort-control label { gap: 7px; max-width: 480px; color: var(--pathway-navy); font-size: 0.86rem; }
.admin-pathway-page .admin-pathway-cohort-control select {
  min-height: 42px;
  padding: 9px 40px 9px 12px;
  border: 1px solid rgba(27, 65, 109, 0.22);
  border-radius: 10px;
  background: #fbfdff;
  color: var(--pathway-navy);
  font-size: 0.9rem;
  font-weight: 740;
}
.admin-pathway-page .admin-pathway-cohort-control select:focus-visible { border-color: #3977ba; outline: 3px solid rgba(57, 119, 186, 0.18); outline-offset: 1px; }
.admin-pathway-page .admin-pathway-assigned-cohort {
  display: grid;
  gap: 7px;
  max-width: 480px;
  color: var(--pathway-navy);
  font-size: 0.86rem;
}
.admin-pathway-page .admin-pathway-assigned-cohort span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(27, 65, 109, 0.16);
  border-radius: 10px;
  background: #f7f9fc;
  font-size: 0.9rem;
  font-weight: 740;
}

.admin-pathway-page .admin-pathway-cohort-summary {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(27, 65, 109, 0.09);
  border-radius: 10px;
  background: var(--pathway-surface-soft);
}

.admin-pathway-page .admin-pathway-cohort-summary div {
  gap: 4px;
  min-width: 0;
  padding: 11px 13px;
  border: 0;
  border-right: 1px solid rgba(27, 65, 109, 0.065);
  border-radius: 0;
  background: transparent;
}
.admin-pathway-page .admin-pathway-cohort-summary div:last-child { border-right: 0; }
.admin-pathway-page .admin-pathway-cohort-summary span { color: #718095; font-size: 0.69rem; font-weight: 650; line-height: 1.25; }
.admin-pathway-page .admin-pathway-cohort-summary strong { overflow-wrap: anywhere; color: var(--pathway-navy); font-size: 0.84rem; font-weight: 790; line-height: 1.3; }
.admin-pathway-page .admin-pathway-cohort-summary div:last-child { align-content: center; background: rgba(236, 247, 238, 0.72); }
.admin-pathway-page .admin-pathway-cohort-summary div:last-child strong {
  width: fit-content;
  padding: 3px 7px;
  border: 1px solid rgba(55, 130, 74, 0.22);
  border-radius: 999px;
  background: #e7f4e9;
  color: #25653a;
  font-size: 0.68rem;
}

.admin-pathway-page .admin-pathway-month-jump {
  gap: 7px;
  padding: 10px 14px 8px;
  border-color: rgba(27, 65, 109, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--pathway-navy);
}
.admin-pathway-page .admin-pathway-month-jump > strong {
  color: var(--pathway-navy);
  font-size: 0.84rem;
  font-weight: 790;
  letter-spacing: -0.01em;
}
.admin-pathway-page .admin-pathway-month-jump div {
  justify-content: space-between;
  gap: 2px 18px;
  border-bottom: 1px solid rgba(27, 65, 109, 0.09);
}
.admin-pathway-page .admin-pathway-month-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: -1px;
  padding: 7px 1px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #526a84;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms ease, border-color 140ms ease;
}
.admin-pathway-page .admin-pathway-month-jump a:hover {
  border-bottom-color: rgba(201, 146, 32, 0.7);
  background: transparent;
  color: var(--pathway-navy);
}
.admin-pathway-page:has(#pathway-month-2026-09:target) .admin-pathway-month-jump a[href="#pathway-month-2026-09"],
.admin-pathway-page:has(#pathway-month-2026-10:target) .admin-pathway-month-jump a[href="#pathway-month-2026-10"],
.admin-pathway-page:has(#pathway-month-2026-11:target) .admin-pathway-month-jump a[href="#pathway-month-2026-11"],
.admin-pathway-page:has(#pathway-month-2026-12:target) .admin-pathway-month-jump a[href="#pathway-month-2026-12"],
.admin-pathway-page:has(#pathway-month-2027-01:target) .admin-pathway-month-jump a[href="#pathway-month-2027-01"],
.admin-pathway-page:has(#pathway-month-2027-02:target) .admin-pathway-month-jump a[href="#pathway-month-2027-02"],
.admin-pathway-page:has(#pathway-month-2027-03:target) .admin-pathway-month-jump a[href="#pathway-month-2027-03"],
.admin-pathway-page:has(#pathway-month-2027-04:target) .admin-pathway-month-jump a[href="#pathway-month-2027-04"],
.admin-pathway-page:has(#pathway-month-2027-05:target) .admin-pathway-month-jump a[href="#pathway-month-2027-05"],
.admin-pathway-page:has(#pathway-month-2027-06:target) .admin-pathway-month-jump a[href="#pathway-month-2027-06"],
.admin-pathway-page:has(#pathway-month-2027-07:target) .admin-pathway-month-jump a[href="#pathway-month-2027-07"] {
  border-bottom-color: var(--pathway-gold);
  color: var(--pathway-navy);
}
.admin-pathway-page .admin-pathway-month-jump a:focus-visible,
.admin-pathway-page .admin-pathway-month-heading a:focus-visible {
  border-radius: 3px;
  outline: 2px solid rgba(201, 146, 32, 0.72);
  outline-offset: 3px;
}

.admin-pathway-page .admin-pathway-full-year { gap: 20px; }
.admin-pathway-page .admin-pathway-month-section { padding: 15px; border-color: var(--pathway-border); border-radius: 14px; box-shadow: none; }
.admin-pathway-page .admin-pathway-month-heading { margin-bottom: 9px; }
.admin-pathway-page .admin-pathway-month-heading h4 {
  position: relative;
  margin-bottom: 5px;
  padding-bottom: 7px;
  color: var(--pathway-navy);
  font-size: 1.18rem;
  font-weight: 820;
}
.admin-pathway-page .admin-pathway-month-heading h4::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--month-phase-accent, #7897b7);
  content: "";
}
.admin-pathway-page :is(#pathway-month-2026-09, #pathway-month-2026-10) { --month-phase-accent: #7fa2c3; }
.admin-pathway-page :is(#pathway-month-2026-11, #pathway-month-2026-12) { --month-phase-accent: #83aa8c; }
.admin-pathway-page :is(#pathway-month-2027-01, #pathway-month-2027-02) { --month-phase-accent: #d4a47d; }
.admin-pathway-page :is(#pathway-month-2027-03, #pathway-month-2027-04, #pathway-month-2027-05) { --month-phase-accent: #a38fb6; }
.admin-pathway-page :is(#pathway-month-2027-06, #pathway-month-2027-07) { --month-phase-accent: #82aaad; }
.admin-pathway-page .admin-pathway-month-heading a { padding: 4px 6px; color: #60738b; font-size: 0.67rem; text-decoration: none; }
.admin-pathway-page .register-history-weekdays span { padding: 6px 2px 8px; color: #61748c; font-size: 0.76rem; font-weight: 700; }
.admin-pathway-page .register-history-calendar { gap: 5px; }

.admin-pathway-page .admin-pathway-day {
  --calendar-phase-accent: transparent;
  gap: 5px;
  min-height: 110px;
  padding: 11px;
  border-width: 1px;
  border-color: rgba(27, 65, 109, 0.1);
  border-radius: 10px;
  color: var(--pathway-navy);
  box-shadow: none;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}
.admin-pathway-page .admin-pathway-day > span { font-size: 0.96rem; font-weight: 820; line-height: 1.1; }
.admin-pathway-page .admin-pathway-day small { color: #40546e; font-size: 0.72rem; font-weight: 670; line-height: 1.4; }
.admin-pathway-page .admin-pathway-day:not(.in-centre) {
  border-color: rgba(27, 65, 109, 0.07);
  background: #fbfcfe;
  color: #687a90;
}
.admin-pathway-page .admin-pathway-day:not(.in-centre) small {
  color: #8290a1;
  font-weight: 620;
}
.admin-pathway-page .admin-pathway-day.in-centre {
  border-color: rgba(27, 65, 109, 0.13);
  border-left: 4px solid var(--calendar-phase-accent);
  background: #fbfdff;
}
.admin-pathway-page .admin-pathway-day.in-centre.phase-navy { --calendar-phase-accent: #7fa2c3; background: #f3f8fc; box-shadow: none; }
.admin-pathway-page .admin-pathway-day.in-centre.phase-green { --calendar-phase-accent: #83aa8c; background: #f4f9f5; box-shadow: none; }
.admin-pathway-page .admin-pathway-day.in-centre.phase-orange { --calendar-phase-accent: #d4a47d; background: #fff8f2; box-shadow: none; }
.admin-pathway-page .admin-pathway-day.in-centre.phase-purple { --calendar-phase-accent: #a38fb6; background: #f8f5fa; box-shadow: none; }
.admin-pathway-page .admin-pathway-day.in-centre.phase-teal { --calendar-phase-accent: #82aaad; background: #f3f9f9; box-shadow: none; }
.admin-pathway-page .admin-pathway-day.holiday {
  border-color: #f0d8bf;
  border-style: solid;
  background: #fff7ed;
  color: #5f4938;
}
.admin-pathway-page .admin-pathway-holiday-label {
  color: #a65f2d !important;
  font-size: 0.67rem !important;
  font-weight: 780 !important;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.admin-pathway-page .admin-pathway-holiday-name {
  color: #243d5d !important;
  font-size: 0.74rem !important;
  font-weight: 740 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
}
.admin-pathway-page .admin-pathway-day.in-centre.assessment { border-width: 1px; border-color: #c59a42; background-color: #fff8e8; box-shadow: inset 0 2px 0 #c59a42; }
.admin-pathway-page .admin-pathway-day.in-centre.enrichment { border-style: solid; border-color: #bba8cb; }
.admin-pathway-page .admin-pathway-day.mapped-theory-lesson,
.admin-pathway-page .admin-pathway-day.reserved-event { border-width: 1px; }
.admin-pathway-page .admin-pathway-day[data-admin-pathway-overview]:hover { border-color: rgba(31, 80, 130, 0.28); background-color: #f8fbfe; box-shadow: 0 3px 10px rgba(13, 42, 80, 0.055); }
.admin-pathway-page .admin-pathway-day[data-admin-pathway-overview]:focus-visible { border-color: #2e6cab; outline: 3px solid rgba(46, 108, 171, 0.2); outline-offset: 1px; box-shadow: inset 0 2px 0 var(--pathway-gold); }
.admin-pathway-page .admin-pathway-cohort-phase-label { color: #52667f !important; font-size: 0.67rem !important; font-weight: 680 !important; }
.admin-pathway-page .admin-pathway-in-centre-label { color: #397049 !important; font-weight: 760 !important; }
.admin-pathway-page .admin-pathway-event-label {
  display: -webkit-box;
  overflow: hidden;
  color: #253d5a !important;
  font-size: 0.75rem;
  font-weight: 750 !important;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.admin-pathway-page .admin-pathway-lesson-type {
  margin-top: 2px;
  color: #315e8f !important;
  font-size: 0.61rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.045em;
  line-height: 1.1 !important;
  text-transform: uppercase;
}
.admin-pathway-page .admin-pathway-lesson-type.practical {
  color: #397049 !important;
}
.admin-pathway-page .admin-pathway-practical-label {
  -webkit-line-clamp: 1;
}
.admin-pathway-page .admin-pathway-overview-action {
  margin-top: auto;
  padding-top: 5px;
  color: #315e8f;
  font-size: 0.69rem;
  font-weight: 730;
  text-decoration-color: rgba(49, 94, 143, 0.32);
  text-underline-offset: 3px;
}
.admin-pathway-page .admin-pathway-day[data-admin-pathway-overview]:hover .admin-pathway-overview-action {
  color: #163f70;
  text-decoration-color: currentColor;
}
.admin-pathway-page .admin-pathway-empty-day {
  min-height: 78px;
  border: 0;
  border-radius: 9px;
  background: rgba(226, 233, 241, 0.34);
}

@media (max-width: 980px) {
  .admin-pathway-page .admin-pathway-phase-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-pathway-page .admin-pathway-cohort-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-pathway-page .admin-pathway-cohort-summary div:nth-child(4) { border-right: 0; }
  .admin-pathway-page .admin-pathway-cohort-summary div:nth-child(-n + 4) { border-bottom: 1px solid rgba(27, 65, 109, 0.09); }
}

@media (max-width: 560px) {
  .admin-pathway-page { gap: 12px; padding: 10px; border-radius: 14px; }
  .admin-pathway-page .admin-pathway-header { gap: 12px; padding: 15px; }
  .admin-pathway-page .admin-pathway-header > .admin-pathway-header-actions { justify-content: flex-start; }
  .admin-pathway-page .admin-pathway-header .secondary-action,
  .admin-pathway-page .admin-pathway-header .curriculum-create-cohort-button { align-self: flex-start; width: auto; min-height: 38px; }
  .admin-pathway-page .admin-pathway-overview,
  .admin-pathway-page .admin-pathway-cohort-control { padding: 12px; }
  .admin-pathway-page .admin-pathway-phase-strip { grid-template-columns: 1fr; gap: 6px; }
  .admin-pathway-page .admin-pathway-phase { min-height: 0; padding: 11px; }
  .admin-pathway-page .admin-pathway-cohort-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-pathway-page .admin-pathway-cohort-summary div:nth-child(2n) { border-right: 0; }
  .admin-pathway-page .admin-pathway-cohort-summary div:not(:nth-last-child(-n + 2)) { border-bottom: 1px solid rgba(27, 65, 109, 0.09); }
  .admin-pathway-page .admin-pathway-month-jump { overflow: hidden; }
  .admin-pathway-page .admin-pathway-month-jump div { flex-wrap: nowrap; padding-bottom: 0; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .admin-pathway-page .admin-pathway-month-jump div::-webkit-scrollbar { display: none; }
  .admin-pathway-page .admin-pathway-month-section { padding: 11px; }
  .admin-pathway-page .admin-pathway-day { min-height: 82px; padding: 6px; }
  .admin-pathway-page .admin-pathway-day small { font-size: 0.58rem; }
}

/* Admin TFE Learner Pathway: read-only lesson delivery overview. */
.admin-pathway-day[data-admin-pathway-overview] {
  cursor: pointer;
}

.admin-pathway-overview-action {
  display: block;
  margin-top: auto;
  padding-top: 5px;
  color: #0b3a78;
  font-size: 0.68rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.admin-pathway-overview-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 18, 46, 0.62);
}

body.pathway-modal-open {
  overflow: hidden;
}

.admin-pathway-lesson-overview {
  width: min(900px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(194, 149, 42, 0.5);
  border-top: 6px solid var(--navy);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(4, 17, 45, 0.3);
}

.admin-pathway-lesson-overview.phase-green { border-top-color: #25813a; }
.admin-pathway-lesson-overview.phase-orange { border-top-color: #de6a16; }
.admin-pathway-lesson-overview.phase-purple { border-top-color: #653496; }
.admin-pathway-lesson-overview.phase-teal { border-top-color: #0a8391; }

.admin-pathway-lesson-overview > header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.admin-pathway-lesson-overview > header > div:first-child {
  min-width: 0;
}

.admin-pathway-lesson-overview > header h3 {
  margin: 3px 0 5px;
  color: var(--navy);
}

.admin-pathway-overview-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
  align-items: flex-start;
}

.admin-pathway-qualification-action {
  display: inline-flex;
  min-height: 72px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(20, 54, 91, 0.18);
  border-radius: 11px;
  background: #fff;
  color: var(--navy);
  text-align: left;
  box-shadow: 0 3px 10px rgba(9, 31, 65, 0.07);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.admin-pathway-qualification-action:hover {
  border-color: rgba(20, 54, 91, 0.34);
  background: #fbfcfe;
  box-shadow: 0 6px 16px rgba(9, 31, 65, 0.1);
}

.admin-pathway-qualification-action:focus-visible,
.admin-pathway-qualification-close:focus-visible {
  outline: 3px solid rgba(32, 103, 194, 0.38);
  outline-offset: 2px;
}

.admin-pathway-qualification-action-logo {
  display: block;
  flex: 0 0 auto;
  width: 72px;
  height: 49px;
  object-fit: contain;
}

.admin-pathway-qualification-action-label {
  max-width: 105px;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.22;
}

.admin-pathway-qualification-action-chevron {
  flex: 0 0 auto;
  margin-left: 1px;
  color: #9a7026;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.admin-pathway-overview-close {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #cbd4e1;
  border-radius: 50%;
  background: #f7f9fc;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 900;
}

.admin-pathway-overview-status {
  width: fit-content;
  margin: 16px 0;
  padding: 6px 10px;
  border: 1px solid rgba(193, 142, 35, 0.38);
  border-radius: 999px;
  background: #fff8e8;
  color: #67490a;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-pathway-overview-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.admin-pathway-overview-context div,
.admin-pathway-overview-content section {
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: #f5f7fb;
}

.admin-pathway-overview-context dt {
  color: #5b687a;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-pathway-overview-context dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-weight: 800;
}

.admin-pathway-overview-content {
  display: grid;
  gap: 10px;
}

.admin-pathway-day-overview-content {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-pathway-overview-lesson {
  display: grid;
  gap: 9px;
  align-content: start;
  border: 1px solid rgba(27, 65, 109, 0.12);
}

.admin-pathway-overview-lesson.admin-pathway-overview-practical {
  border-color: rgba(57, 112, 73, 0.2);
  background: #f4f9f5;
}

.admin-pathway-overview-lesson button {
  align-self: end;
  width: fit-content;
  margin-top: 4px;
}

.admin-pathway-overview-content h4 {
  margin: 0 0 6px;
  color: var(--navy);
}

.admin-pathway-overview-content p {
  margin: 0;
  line-height: 1.55;
}

.admin-pathway-lesson-overview > footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.admin-pathway-qualification-backdrop {
  position: fixed;
  z-index: 1010;
  inset: 0;
  display: grid;
  justify-items: end;
  background: rgba(5, 18, 46, 0.5);
  overscroll-behavior: contain;
}

.admin-pathway-qualification-panel {
  display: grid;
  width: min(610px, 100%);
  height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-left: 1px solid rgba(194, 149, 42, 0.52);
  background: #fbfcfe;
  box-shadow: -24px 0 70px rgba(4, 17, 45, 0.28);
}

.admin-pathway-qualification-panel > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 24px;
  border-bottom: 1px solid #dce3ed;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.admin-pathway-qualification-panel > header h3 {
  margin: 3px 0 7px;
  color: var(--navy);
}

.admin-pathway-qualification-panel > header p {
  margin: 0;
  color: #4d5e75;
  line-height: 1.45;
}

.admin-pathway-qualification-panel-logo {
  display: block;
  width: 160px;
  height: 109px;
  object-fit: contain;
}

.admin-pathway-qualification-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #cbd4e1;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 900;
}

.admin-pathway-qualification-scroll {
  display: grid;
  gap: 14px;
  align-content: start;
  overflow-y: auto;
  padding: 20px 24px 28px;
  overscroll-behavior: contain;
}

.admin-pathway-qualification-lesson {
  display: grid;
  gap: 15px;
  padding: 20px;
  border: 1px solid #d7e0eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(9, 31, 65, 0.07);
}

.admin-pathway-qualification-lesson > .eyebrow {
  margin: 0;
}

.admin-pathway-qualification-lesson h4,
.admin-pathway-qualification-lesson h5,
.admin-pathway-qualification-lesson p {
  margin: 0;
}

.admin-pathway-qualification-lesson h4 {
  color: var(--navy);
}

.admin-pathway-qualification-lesson h5 {
  margin-bottom: 6px;
  color: #17345f;
  font-size: 0.82rem;
}

.admin-pathway-qualification-lesson p {
  color: #46586f;
  line-height: 1.55;
}

.admin-pathway-qualification-publication {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid #d7e0eb;
  border-radius: 999px;
  background: #f5f7fa;
  font-size: 0.74rem;
  font-weight: 850;
}

.admin-pathway-qualification-pending,
.admin-pathway-qualification-neutral {
  padding: 11px 12px;
  border-left: 3px solid #c7952a;
  border-radius: 8px;
  background: #fff8e9;
  color: #634808 !important;
  font-weight: 800;
}

.admin-pathway-qualification-mappings {
  display: grid;
  gap: 9px;
}

.admin-pathway-qualification-mappings article {
  padding: 12px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #f7f9fc;
}

.admin-pathway-qualification-panel > footer {
  padding: 16px 24px;
  border-top: 1px solid #dce3ed;
  background: #fff;
}

@media (max-width: 560px) {
  .admin-pathway-overview-backdrop {
    align-items: end;
    padding: 10px;
  }

  .admin-pathway-lesson-overview {
    max-height: calc(100dvh - 20px);
    padding: 18px;
    border-radius: 18px;
  }

  .admin-pathway-lesson-overview > header {
    display: grid;
  }

  .admin-pathway-overview-actions {
    width: 100%;
  }

  .admin-pathway-qualification-action {
    flex: 1 1 auto;
    min-height: 66px;
    gap: 9px;
    padding: 8px 10px;
  }

  .admin-pathway-qualification-action-logo {
    width: 64px;
    height: 44px;
  }

  .admin-pathway-qualification-action-label {
    max-width: 105px;
    font-size: 0.85rem;
  }

  .admin-pathway-overview-context {
    grid-template-columns: 1fr;
  }

  .admin-pathway-day-overview-content {
    grid-template-columns: 1fr;
  }

  .admin-pathway-overview-lesson button {
    width: 100%;
    min-height: 44px;
  }

  .admin-pathway-lesson-overview > footer {
    display: grid;
  }

  .admin-pathway-lesson-overview > footer button {
    width: 100%;
    min-height: 44px;
  }

  .admin-pathway-qualification-panel {
    width: 100%;
  }

  .admin-pathway-qualification-panel > header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px;
  }

  .admin-pathway-qualification-panel-logo {
    grid-column: 1 / -1;
    width: 130px;
    height: 88px;
  }

  .admin-pathway-qualification-scroll {
    padding: 14px;
  }

  .admin-pathway-qualification-lesson {
    padding: 16px;
  }

  .admin-pathway-qualification-panel > footer {
    padding: 12px 14px;
  }

  .admin-pathway-qualification-panel > footer button {
    width: 100%;
    min-height: 44px;
  }
}

/* Unified Tutor welcome and teaching workspace. Kept after the carousel's
   responsive framework so the selected-cohort composition owns its boundary. */
.tutor-teaching-workspace {
  display: grid;
  gap: clamp(18px, 2vw, 26px);
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid #d4a62a;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 20px 42px rgba(7, 27, 77, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tutor-phase-progress {
  min-width: 0;
  padding: clamp(20px, 2.2vw, 28px) clamp(22px, 3vw, 38px) 0;
  background: #ffffff;
}

.tutor-phase-progress ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
  margin: 0;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 77, 0.16);
  border-radius: 14px;
  background: #edf2f8;
  list-style: none;
}

.tutor-phase-progress-segment {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 52px;
  padding: 0;
  border-radius: 10px;
  color: #52647c;
  text-align: center;
}

.tutor-phase-progress-action {
  display: grid;
  gap: 2px;
  place-content: center;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.tutor-phase-progress-action:not(:disabled):hover {
  background: rgba(7, 27, 77, 0.06);
}

.tutor-phase-progress-action:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: -3px;
}

.tutor-phase-progress-action:disabled {
  color: #8b98aa;
  cursor: default;
  opacity: 0.58;
}

.tutor-phase-progress-segment + .tutor-phase-progress-segment::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 1px;
  background: rgba(7, 27, 77, 0.12);
  content: "";
}

.tutor-phase-progress-segment span {
  font-size: clamp(0.72rem, 1.1vw, 0.84rem);
  font-weight: 900;
  white-space: nowrap;
}

.tutor-phase-progress-segment small {
  color: #718096;
  font-size: 0.62rem;
  font-weight: 750;
  white-space: nowrap;
}

.tutor-phase-progress-segment.is-active {
  background: var(--navy);
  color: #ffffff;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.tutor-phase-progress-segment.is-active .tutor-phase-progress-action {
  background: transparent;
  color: #ffffff;
  opacity: 1;
}

.tutor-phase-progress-segment.is-active::before,
.tutor-phase-progress-segment.is-active + .tutor-phase-progress-segment::before {
  opacity: 0;
}

.tutor-teaching-workspace-carousel {
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: 0 clamp(26px, 3vw, 38px) clamp(28px, 3vw, 40px);
  background: #ffffff;
}

.tutor-teaching-workspace .tutor-lesson-carousel {
  gap: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.tutor-teaching-workspace .tutor-lesson-carousel-card--adjacent {
  min-height: 359px;
}

.tutor-teaching-workspace .tutor-lesson-carousel-card--current {
  min-height: 494px;
  border-color: rgba(216, 154, 19, 0.56);
  box-shadow:
    0 28px 58px rgba(7, 27, 77, 0.22),
    0 0 0 1px rgba(216, 154, 19, 0.12);
  opacity: 1;
}

.tutor-teaching-workspace .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-header {
  gap: 8px;
  background: var(--navy);
}

.tutor-teaching-workspace .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-header strong {
  color: #ffffff;
  font-weight: 1000;
}

.tutor-teaching-workspace .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-header small {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.92rem, 1.375vw, 1.1rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.005em;
}

@media (max-width: 900px) {
  .tutor-teaching-workspace-carousel {
    min-height: 0;
  }

  .tutor-teaching-workspace .tutor-lesson-carousel {
    transform: none;
  }

  .tutor-teaching-workspace .tutor-lesson-carousel-card--adjacent {
    min-height: 304px;
  }

  .tutor-teaching-workspace .tutor-lesson-carousel-card--current {
    min-height: 449px;
  }

}

@media (max-width: 560px) {
  .tutor-teaching-workspace {
    margin-bottom: 0;
    border-radius: 20px;
  }

  .tutor-teaching-workspace-carousel {
    padding: 0 16px 22px;
  }

  .tutor-phase-progress {
    padding: 14px 16px 0;
  }

  .tutor-phase-progress ol {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .tutor-phase-progress-segment {
    min-height: 48px;
    padding-inline: 4px;
  }

  .tutor-phase-progress-segment small {
    display: none;
  }

  .tutor-teaching-workspace .tutor-lesson-carousel {
    transform: none;
  }

  .tutor-teaching-workspace .tutor-lesson-carousel-card--current {
    min-height: 0;
  }

  .tutor-teaching-workspace .tutor-lesson-carousel-card--adjacent {
    min-height: 248px;
  }

}

/* Keep the compact pathway utility action above later shared button styling. */
.admin-pathway-page .admin-pathway-header .secondary-action:not(.action-success):not(.action-error):not(.is-failed) {
  min-height: 36px;
  padding: 7px 13px;
  border-width: 1px;
  background: #fff;
  color: var(--pathway-navy);
  font-size: 0.78rem;
  text-shadow: none;
  box-shadow: 0 3px 10px rgba(13, 42, 80, 0.06);
}

/* Tutor action-and-exception dashboard */
.tutor-dashboard-section-loading,
.tutor-attention-section,
.tutor-intelligence-view,
.tutor-cohort-roster {
  min-width: 0;
  width: 100%;
}

.tutor-dashboard-section-loading {
  padding: 20px;
  border: 1px solid rgba(16, 48, 101, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(13, 38, 78, 0.07);
}

.tutor-dashboard-section-loading h4,
.tutor-dashboard-section-loading p {
  margin: 4px 0;
}

.tutor-attention-section {
  display: grid;
  gap: 16px;
}

.tutor-intelligence-view {
  display: grid;
  gap: 18px;
}

.tutor-intelligence-view > .tutor-back-dashboard {
  justify-self: start;
}

.tutor-attention-list {
  display: grid;
  gap: 14px;
}

.tutor-attention-card {
  min-width: 0;
}

.tutor-attention-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tutor-cohort-roster {
  display: grid;
  gap: 18px;
}

.tutor-cohort-roster-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(223, 169, 36, 0.55);
  border-radius: 20px;
  background: linear-gradient(135deg, #071d52, #0b3774);
  color: #fff;
}

.tutor-cohort-roster-header h3,
.tutor-cohort-roster-header p {
  margin: 4px 0;
  color: inherit;
}

.tutor-cohort-roster-list {
  display: grid;
  gap: 12px;
}

.tutor-cohort-roster-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(16, 48, 101, 0.16);
  border-radius: 16px;
  background: #fff;
}

.tutor-cohort-roster-avatar {
  width: 64px;
  height: 64px;
}

.tutor-cohort-roster-avatar .learner-avatar {
  width: 100%;
  height: 100%;
}

.tutor-cohort-roster-identity {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tutor-cohort-roster-identity h4,
.tutor-cohort-roster-identity p {
  margin: 0;
}

.tutor-cohort-roster button:focus-visible,
.tutor-attention-section button:focus-visible {
  outline: 3px solid #f4bd32;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .tutor-cohort-roster-header,
  .tutor-cohort-roster-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutor-cohort-roster-header {
    display: grid;
  }

  .tutor-cohort-roster-header button,
  .tutor-cohort-roster-card > button {
    width: 100%;
  }

  .tutor-attention-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Read-only tutor register history */
.register-history-page {
  display: grid;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.register-history-header,
.register-history-month-controls,
.register-history-detail .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.register-history-header,
.register-history-calendar-panel,
.register-history-detail,
.register-history-state {
  padding: 24px;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 35, 75, 0.08);
}

.register-history-header h3,
.register-history-header p,
.register-history-month-controls h4,
.register-history-state h4,
.register-history-state p {
  margin: 0;
}

.register-history-calendar-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
}

.register-history-month-controls h4 {
  flex: 1;
  color: var(--navy);
  text-align: center;
  font-size: 1.35rem;
}

.register-history-weekdays,
.register-history-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.register-history-weekdays span {
  padding: 6px 2px;
  color: #526175;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.register-history-day {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  min-height: 92px;
  padding: 9px;
  border: 1px solid #dbe3ec;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}

.register-history-day:hover,
.register-history-day:focus-visible {
  border-color: #17457e;
  outline: 3px solid rgba(23, 69, 126, 0.2);
  outline-offset: 1px;
}

.register-history-day.outside-month {
  background: #f5f7fa;
  color: #7b8796;
}

.register-history-day.recorded {
  border-color: rgba(24, 165, 88, 0.55);
  background: #effaf4;
}

.register-history-day.selected {
  border-color: #0b2b66;
  box-shadow: inset 0 0 0 2px #0b2b66;
}

.register-history-day > span {
  font-weight: 1000;
}

.register-history-day small {
  color: #17633b;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.register-history-month-empty {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f8fb;
  color: #526175;
  font-weight: 800;
}

.tutor-theory-map-day {
  position: relative;
}

.tutor-theory-map-day.today {
  border-color: rgba(11, 43, 102, 0.62);
  background: #f4f7fc;
  box-shadow: inset 0 0 0 1px rgba(11, 43, 102, 0.16);
}

.tutor-theory-map-day.today > span {
  color: #0b2b66;
}

.tutor-theory-map-day.today small {
  color: #0b2b66;
}

.tutor-theory-map-day.has-event {
  border-color: rgba(11, 43, 102, 0.36);
  background: linear-gradient(180deg, #fffdf7 0%, #f8fafc 100%);
  box-shadow: inset 0 3px 0 #d8a72c;
}

.tutor-theory-map-day.event-induction {
  border-color: rgba(36, 99, 167, 0.44);
  background: #f1f7fd;
  box-shadow: inset 0 3px 0 #2463a7;
}

.tutor-theory-map-day.event-enrichment {
  border-color: rgba(190, 135, 18, 0.42);
  background: #fffaec;
  box-shadow: inset 0 3px 0 #c59220;
}

.tutor-theory-map-day.event-practical_assessment {
  border-color: rgba(125, 68, 157, 0.4);
  background: #f8f3fb;
  box-shadow: inset 0 3px 0 #7d449d;
}

.tutor-theory-map-day.event-theory_assessment {
  border-color: rgba(172, 65, 65, 0.4);
  background: #fdf4f4;
  box-shadow: inset 0 3px 0 #ac4141;
}

.tutor-theory-map-event-label {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: #1b355c !important;
}

.tutor-theory-map-event-label strong,
.tutor-theory-map-event-label em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tutor-theory-map-event-label strong {
  font-size: 0.67rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.tutor-theory-map-event-label em {
  color: #526175;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 750;
}

.tutor-theory-map-event-detail {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.tutor-theory-map-event-detail > span,
.tutor-theory-map-event-detail > small {
  color: #526175;
  font-weight: 850;
  text-transform: capitalize;
}

.tutor-theory-map-event-detail > strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.tutor-theory-map-event-detail .primary-action {
  justify-self: start;
  margin-top: 4px;
}

.tutor-theory-lesson-workspace {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.tutor-theory-map-empty {
  border: 1px solid rgba(11, 31, 77, 0.08);
  background: #f8fafc;
}

.tutor-theory-map-selection .eyebrow {
  margin-bottom: 4px;
}

.tutor-theory-map-live {
  min-height: 1.25rem;
  color: #17643a;
  font-weight: 800;
}

.tutor-theory-map-day.enrichment-drop-date {
  outline-offset: -3px;
}

.tutor-theory-map-day.enrichment-drop-date:focus-visible {
  outline: 3px solid rgba(36, 99, 167, 0.42);
}

.tutor-theory-move-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 27, 77, 0.58);
}

.tutor-theory-move-dialog {
  display: grid;
  gap: 14px;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(7, 27, 77, 0.28);
}

.tutor-theory-move-dialog h4,
.tutor-theory-move-dialog p {
  margin: 0;
}

.tutor-theory-move-dialog label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 850;
}

.tutor-theory-move-dialog select,
.tutor-theory-move-dialog textarea {
  width: 100%;
  box-sizing: border-box;
}

.tutor-theory-move-changes {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: #f6f8fb;
}

.tutor-theory-move-changes p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tutor-theory-move-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 760px) {
  .tutor-theory-map-event-label em {
    display: none;
  }

  .tutor-theory-map-event-label strong {
    font-size: 0.55rem;
  }

  .tutor-theory-map-event-detail .primary-action {
    width: 100%;
  }

  .tutor-theory-move-dialog {
    padding: 18px;
  }

  .tutor-theory-move-actions {
    display: grid;
  }

  .tutor-theory-move-changes p {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tutor-theory-move-overlay,
  .tutor-theory-move-dialog {
    scroll-behavior: auto;
    transition: none;
  }
}

.register-history-choice-list,
.register-history-entry-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.register-history-choice-list button {
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
}

.register-history-choice-list button span {
  white-space: normal;
}

.register-history-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.register-history-totals article {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #dbe3ec;
  border-radius: 16px;
  background: #f8fafc;
}

.register-history-totals span,
.register-history-entry span,
.register-history-entry small {
  color: #526175;
  font-weight: 800;
}

.register-history-totals strong {
  color: var(--navy);
  font-size: 1.4rem;
}

.register-history-entry {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dbe3ec;
  border-radius: 18px;
  background: #fff;
}

.register-history-entry > div {
  display: grid;
  gap: 4px;
}

.register-history-entry > div:nth-child(2) {
  justify-items: end;
}

.register-history-entry > p,
.register-history-entry > small {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 760px) {
  .register-history-header,
  .register-history-detail .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .register-history-month-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .register-history-month-controls h4 {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .register-history-calendar-panel,
  .register-history-header,
  .register-history-detail,
  .register-history-state {
    padding: 16px;
    border-radius: 20px;
  }

  .register-history-weekdays,
  .register-history-calendar {
    gap: 3px;
  }

  .register-history-day {
    min-height: 66px;
    padding: 6px 4px;
    border-radius: 10px;
  }

  .register-history-day small {
    font-size: 0.57rem;
  }

  .register-history-entry {
    grid-template-columns: 1fr;
  }

  .register-history-entry > div:nth-child(2) {
    justify-items: start;
  }
}

/* Tutor Debrief AI-assisted evidence interpreter - active */
.tutor-debrief-launch {
  border: 1px solid rgba(238, 177, 52, 0.92) !important;
  box-shadow: 0 14px 30px rgba(3, 21, 52, 0.2);
}

.tutor-debrief-page {
  display: grid;
  gap: 22px;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.tutor-debrief-general,
.tutor-debrief-card {
  border: 1px solid rgba(218, 166, 62, 0.62);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(6, 24, 58, 0.12);
}

.tutor-debrief-controls label,
.tutor-debrief-general label,
.tutor-debrief-question {
  display: grid;
  gap: 8px;
  color: #10234a;
  font-weight: 800;
}

.tutor-debrief-page :is(select, textarea) {
  width: 100%;
  border: 1px solid rgba(12, 37, 80, 0.18);
  border-radius: 12px;
  background: #fff;
  color: #10234a;
  font: inherit;
}

.tutor-debrief-page select {
  min-height: 44px;
  padding: 10px 12px;
}

.tutor-debrief-page textarea {
  min-height: 118px;
  padding: 12px 14px;
  resize: vertical;
}

.tutor-debrief-page :is(select, textarea):focus-visible {
  outline: 3px solid rgba(224, 170, 56, 0.35);
  border-color: #d9a02e;
}

.tutor-debrief-learners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.tutor-debrief-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tutor-debrief-card.is-expanded {
  grid-column: 1 / -1;
  border-color: rgba(218, 166, 62, 0.82);
  box-shadow: 0 24px 56px rgba(6, 24, 58, 0.16);
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.tutor-debrief-card.is-collapsed {
  cursor: pointer;
  gap: 0;
  padding: 14px 16px;
  border-color: rgba(218, 166, 62, 0.38);
  box-shadow: 0 10px 24px rgba(6, 24, 58, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  opacity: 0.94;
}

.tutor-debrief-card.is-collapsed:hover {
  transform: translateY(-2px);
  border-color: rgba(218, 166, 62, 0.88);
  box-shadow: 0 18px 38px rgba(6, 24, 58, 0.14);
}

.tutor-debrief-card-detail {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.tutor-debrief-card-detail[hidden] {
  display: none;
}

.tutor-debrief-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(224, 170, 56, 0.42);
}

.tutor-debrief-card-summary {
  cursor: pointer;
}

.tutor-debrief-learner-lockup {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.tutor-debrief-learner-lockup > div {
  min-width: 0;
}

.tutor-debrief-learner-lockup .learner-avatar.tutor-intelligence {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(214, 156, 37, 0.88);
  border-radius: 50%;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(239, 245, 255, 0.88)),
    #ffffff;
  color: #071b42;
  box-shadow: 0 10px 24px rgba(7, 27, 77, 0.16), 0 0 0 4px rgba(255, 232, 168, 0.16);
  font-size: 1.05rem;
  font-weight: 950;
}

span.learner-avatar.tutor-intelligence {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.03em;
}

.tutor-debrief-card.is-expanded .tutor-debrief-card-summary {
  position: relative;
  align-items: center;
  padding: 22px 24px 18px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(214, 156, 37, 0.08), transparent 44%),
    linear-gradient(135deg, #061a3f 0%, #082b63 58%, #0b3672 100%);
  border-bottom: 3px solid #d69c25;
}

.tutor-debrief-card.is-expanded .tutor-debrief-card-summary::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -3px;
  height: 1px;
  background: rgba(255, 232, 168, 0.9);
}

.tutor-debrief-card.is-expanded .tutor-debrief-card-summary .eyebrow {
  color: rgba(255, 232, 168, 0.9);
}

.tutor-debrief-card.is-expanded .tutor-debrief-card-summary h4 {
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.tutor-debrief-card.is-expanded .learner-avatar.tutor-intelligence {
  border-color: #d69c25;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(255, 232, 168, 0.18);
}

.tutor-debrief-card.is-collapsed .tutor-debrief-card-summary {
  align-items: center;
  padding-bottom: 0;
  border-bottom: 0;
}

.tutor-debrief-card.is-collapsed .tutor-debrief-learner-lockup {
  gap: 11px;
}

.tutor-debrief-card.is-collapsed .learner-avatar.tutor-intelligence {
  flex-basis: 46px;
  width: 46px;
  height: 46px;
  border-width: 1px;
  box-shadow: 0 8px 16px rgba(7, 27, 77, 0.1);
  font-size: 0.88rem;
}

.tutor-debrief-compact-reason {
  max-width: 56rem;
  margin: 6px 0 0;
  color: #40516f;
  font-size: 0.93rem;
  line-height: 1.45;
}

.tutor-debrief-card.is-expanded .tutor-debrief-compact-reason {
  max-width: 68rem;
  color: rgba(255, 255, 255, 0.84);
}

.tutor-debrief-card.is-collapsed .tutor-debrief-compact-reason {
  display: -webkit-box;
  overflow: hidden;
  color: #5a6982;
  font-size: 0.86rem;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.tutor-debrief-summary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.tutor-debrief-header-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(214, 156, 37, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #071b42;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tutor-debrief-card.is-expanded .tutor-debrief-header-badge,
.tutor-debrief-card.is-expanded .tutor-debrief-status {
  border-color: rgba(255, 215, 128, 0.62);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tutor-debrief-card.is-collapsed .tutor-debrief-header-badge {
  display: none;
}

.tutor-debrief-expand-button {
  min-height: 36px !important;
  padding: 8px 15px !important;
  border: 1px solid rgba(214, 156, 37, 0.82) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
  color: #071b42 !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(7, 27, 77, 0.08) !important;
}

.tutor-debrief-card.is-expanded .tutor-debrief-expand-button {
  border-color: rgba(255, 215, 128, 0.9) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
  color: #071b42 !important;
  box-shadow: 0 10px 22px rgba(7, 27, 77, 0.16) !important;
}

@media (max-width: 680px) {
  .tutor-debrief-card.is-expanded .tutor-debrief-card-summary {
    align-items: flex-start;
  }

  .tutor-debrief-learner-lockup {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .tutor-debrief-learner-lockup .learner-avatar.tutor-intelligence {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .tutor-debrief-summary-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

/* Final Tutor register density override: intentionally last so legacy shared attendance cards cannot expand the task rows. */
body:has(.tutor-register-task-page) .tutor-register-premium .attendance-register-row{display:block;min-width:0;padding:6px!important;border:1px solid #e2e7ee;border-radius:11px;box-shadow:0 3px 10px rgba(7,27,70,.035)}
body:has(.tutor-register-task-page) .tutor-register-premium .attendance-register-main{display:grid;grid-template-columns:minmax(205px,.75fr) minmax(0,1.5fr);align-items:center;gap:8px}
body:has(.tutor-register-task-page) .tutor-register-premium .daily-cohort-identity{min-height:42px;padding:4px 8px!important;background:transparent}
body:has(.tutor-register-task-page) .tutor-register-premium .attendance-segmented-control{min-width:0;padding:0;gap:0}
body:has(.tutor-register-task-page) .tutor-register-premium .attendance-button{height:42px;min-height:42px;padding:5px 8px}
@media(max-width:780px){body:has(.tutor-register-task-page) .tutor-register-premium .attendance-register-main{grid-template-columns:1fr;gap:5px}body:has(.tutor-register-task-page) .tutor-register-premium .attendance-segmented-control{grid-template-columns:repeat(2,minmax(0,1fr))}}

.tutor-debrief-card h4 {
  margin: 2px 0 0;
  color: #071b42;
  font-size: 1.25rem;
}

.tutor-debrief-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
}

.tutor-debrief-status.stable {
  background: #e8f7ed;
  color: #116733;
  border-color: #bde7c9;
}

.tutor-debrief-status.monitor {
  background: #fff4d6;
  color: #8a5a02;
  border-color: #f1cb72;
}

.tutor-debrief-status.priority {
  background: #ffe8d7;
  color: #9a4810;
  border-color: #efb081;
}

.tutor-debrief-status.urgent {
  background: #ffe5e8;
  color: #9d1730;
  border-color: #ef9aa8;
}

.tutor-debrief-evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.tutor-debrief-evidence-grid section {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(12, 37, 80, 0.1);
  background: #fff;
}

.tutor-debrief-evidence-grid span,
.tutor-debrief-question span,
.tutor-debrief-general label span {
  color: #5d6d86;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tutor-debrief-evidence-grid p {
  margin: 4px 0 0;
  color: #162b55;
  line-height: 1.45;
}

.tutor-debrief-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tutor-debrief-controls fieldset {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(224, 170, 56, 0.45);
  border-radius: 12px;
}

.tutor-debrief-controls legend {
  padding: 0 6px;
  color: #10234a;
  font-weight: 900;
}

.tutor-debrief-controls fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f5f8fd;
  font-size: 0.86rem;
}

.tutor-debrief-interview {
  display: grid;
  gap: 14px;
}

.tutor-intelligence-question-list {
  display: grid;
  gap: 12px;
}

.tutor-intelligence-question {
  display: grid;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 16px;
  border: 1px solid rgba(12, 37, 80, 0.12);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 27, 77, 0.08);
}

.tutor-intelligence-question.risk {
  border-color: rgba(186, 61, 61, 0.28);
  border-left: 4px solid #ba3d3d;
}

.tutor-intelligence-question.positive {
  border-color: rgba(15, 138, 97, 0.28);
  border-left: 4px solid #0f8a61;
}

.tutor-intelligence-question.teaching,
.tutor-intelligence-question.open {
  border-left: 4px solid #d69c25;
}

.tutor-intelligence-question-head {
  display: grid;
  gap: 6px;
}

.tutor-intelligence-question-head span {
  color: #d69c25;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tutor-intelligence-question-head strong {
  color: #071b42;
  font-size: 1rem;
  line-height: 1.35;
}

.tutor-intelligence-light-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tutor-intelligence-light-actions label,
.tutor-intelligence-light-actions .tutor-intelligence-dictate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(214, 156, 37, 0.7);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  color: #071b42;
  box-shadow: 0 8px 18px rgba(7, 27, 77, 0.08);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  white-space: nowrap;
}

.tutor-intelligence-light-actions label:hover,
.tutor-intelligence-light-actions label:focus-within,
.tutor-intelligence-light-actions .tutor-intelligence-dictate-button:hover,
.tutor-intelligence-light-actions .tutor-intelligence-dictate-button:focus-visible {
  border-color: #d69c25;
  background:
    linear-gradient(135deg, rgba(214, 156, 37, 0.12), rgba(255, 255, 255, 0.92)),
    #ffffff;
  box-shadow: 0 12px 24px rgba(7, 27, 77, 0.13), 0 0 0 3px rgba(214, 156, 37, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.tutor-intelligence-light-actions input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #d69c25;
}

.tutor-intelligence-light-actions label:has(input:checked) {
  border-color: #d69c25;
  background:
    linear-gradient(135deg, rgba(214, 156, 37, 0.2), rgba(214, 156, 37, 0.06)),
    linear-gradient(135deg, #071b42, #0b2f6f);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 27, 77, 0.18), 0 0 0 3px rgba(214, 156, 37, 0.14);
}

.tutor-intelligence-light-actions .tutor-intelligence-dictate-button.is-listening {
  border-color: #d69c25;
  background:
    linear-gradient(135deg, rgba(214, 156, 37, 0.22), rgba(214, 156, 37, 0.06)),
    linear-gradient(135deg, #071b42, #0b2f6f);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 27, 77, 0.18), 0 0 0 4px rgba(214, 156, 37, 0.16);
}

.tutor-intelligence-light-actions .tutor-intelligence-dictate-button.is-unavailable {
  border-color: rgba(186, 61, 61, 0.38);
  background: #fff7f7;
  color: #8f2424;
}

.tutor-intelligence-dictation-status {
  align-self: center;
  min-height: 1.2em;
  color: #53637f;
  font-size: 0.84rem;
  font-weight: 850;
}

.tutor-intelligence-light-actions .tutor-intelligence-dictate-button.is-listening + .tutor-intelligence-dictation-status {
  color: #116733;
}

.tutor-debrief-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.tutor-debrief-choice-grid fieldset {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(12, 37, 80, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fe 100%);
}

.tutor-debrief-choice-grid legend {
  padding: 0 6px;
  color: #071b42;
  font-weight: 900;
}

.tutor-debrief-choice-grid legend small {
  display: block;
  margin-top: 2px;
  color: #60708c;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tutor-debrief-choice-grid label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #152b55;
  background: #fff;
  border: 1px solid rgba(12, 37, 80, 0.08);
  font-weight: 750;
  line-height: 1.3;
}

.tutor-debrief-choice-grid input {
  margin-top: 3px;
  accent-color: #0f8a61;
}

.tutor-debrief-dictation textarea {
  min-height: 150px;
  border-color: rgba(224, 170, 56, 0.38);
  box-shadow: inset 0 1px 0 rgba(224, 170, 56, 0.08);
}

.tutor-debrief-interpretation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.tutor-debrief-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(218, 166, 62, 0.58);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 28px rgba(6, 24, 58, 0.08);
}

.tutor-debrief-panel > span {
  color: #071b42;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tutor-debrief-panel p {
  margin: 0;
  color: #213758;
  line-height: 1.55;
  white-space: pre-wrap;
}

.tutor-debrief-panel textarea {
  min-height: 260px;
  border-color: rgba(12, 37, 80, 0.14);
  line-height: 1.5;
}

.tutor-debrief-confidence {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef7f2;
  color: #116733;
}

.tutor-debrief-confidence strong {
  color: #116733;
}

.tutor-debrief-confidence p {
  color: #335d4a;
  font-size: 0.86rem;
}

.tutor-debrief-card-actions .danger-lite {
  border-color: rgba(186, 61, 61, 0.38);
  color: #8f2032;
  background: #fff8f8;
}

.tutor-debrief-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.tutor-debrief-saved,
.tutor-debrief-message {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e8f7ed;
  color: #116733;
  font-weight: 800;
}

.tutor-debrief-message {
  justify-self: start;
  margin: 0;
}

.tutor-debrief-propagation-checklist {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(214, 156, 37, 0.55);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 16px 34px rgba(7, 27, 77, 0.1);
}

.tutor-debrief-propagation-checklist header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.tutor-debrief-propagation-checklist header span,
.tutor-debrief-propagation-checklist li strong {
  color: #071b42;
  font-weight: 900;
}

.tutor-debrief-propagation-checklist header span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.tutor-debrief-propagation-checklist ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tutor-debrief-propagation-checklist li {
  display: grid;
  grid-template-columns: auto minmax(150px, 0.8fr) 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 12px;
  background: #ffffff;
}

.tutor-debrief-propagation-checklist li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e8f7ed;
  color: #116733;
  font-weight: 950;
}

.tutor-debrief-propagation-checklist li.no_update span {
  width: auto;
  padding: 0 8px;
  background: #fff6dd;
  color: #7a5312;
  font-size: 0.72rem;
  white-space: nowrap;
}

.tutor-debrief-propagation-checklist li em {
  color: #475975;
  font-style: normal;
  line-height: 1.35;
}

.tutor-debrief-general {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.tutor-debrief-general h4 {
  margin: 2px 0 6px;
  color: #071b42;
}

.tutor-debrief-general-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

@media (max-width: 820px) {
  .tutor-debrief-controls {
    grid-template-columns: 1fr;
  }

  .tutor-debrief-interpretation {
    grid-template-columns: 1fr;
  }
}

.tfe-premium-card {
  border: 1px solid var(--tfe-card-gold-border);
  box-shadow: var(--tfe-premium-card-shadow);
}

/* Tutor Evidence Interpreter ILP history - active */
.live-ilp-dashboard .live-ilp-evidence-history {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(218, 166, 62, 0.62);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 38px rgba(7, 27, 77, 0.12);
}

.live-ilp-dashboard .live-ilp-evidence-history .live-ilp-section-heading {
  margin: 0;
}

.live-ilp-dashboard .live-ilp-evidence-history .live-ilp-section-heading span {
  color: #d69c25;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-ilp-evidence-history-list {
  display: grid;
  gap: 12px;
}

.live-ilp-evidence-history-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(12, 37, 80, 0.12);
  border-left: 4px solid #d69c25;
  border-radius: 14px;
  background: #fff;
}

.live-ilp-evidence-history-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.live-ilp-evidence-history-card span {
  color: #071b42;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-ilp-evidence-history-card strong {
  color: #10234a;
}

.live-ilp-evidence-history-card p {
  margin: 0;
  color: #213758;
  line-height: 1.5;
  white-space: pre-wrap;
}

.live-ilp-evidence-history-card .live-ilp-evidence-meta {
  color: #116733;
  font-weight: 850;
}

.live-ilp-evidence-history-card details {
  padding-top: 4px;
}

.live-ilp-evidence-history-card summary {
  cursor: pointer;
  color: #0b1f4d;
  font-weight: 900;
}

.parent-tutor-intelligence-card,
.school-tutor-intelligence-note,
.management-tutor-intelligence-summary {
  border: 1px solid rgba(214, 156, 37, 0.52);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 34px rgba(7, 27, 77, 0.1);
}

.parent-tutor-intelligence-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.parent-tutor-intelligence-card header,
.management-tutor-intelligence-summary header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.parent-tutor-intelligence-card header span,
.school-tutor-intelligence-note strong,
.management-tutor-intelligence-summary .eyebrow {
  color: #d69c25;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-tutor-intelligence-card header strong,
.management-tutor-intelligence-summary h4 {
  color: #071b42;
  font-weight: 950;
}

.parent-tutor-intelligence-card p,
.school-tutor-intelligence-note p,
.management-tutor-intelligence-summary p {
  margin: 0;
  color: #213758;
  line-height: 1.5;
}

.parent-tutor-intelligence-card small,
.school-tutor-intelligence-note span {
  color: #116733;
  font-weight: 850;
}

.school-tutor-intelligence-note {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-left: 4px solid #d69c25;
}

.management-tutor-intelligence-summary {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.management-tutor-intelligence-summary header > strong {
  display: grid;
  place-items: center;
  min-width: 52px;
  min-height: 52px;
  border-radius: 14px;
  background: #071b42;
  color: #ffffff;
  border: 1px solid rgba(214, 156, 37, 0.64);
  font-size: 1.35rem;
}

.management-tutor-intelligence-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.management-tutor-intelligence-metrics span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #10234a;
  font-weight: 850;
}

.management-tutor-intelligence-list {
  display: grid;
  gap: 10px;
}

.management-tutor-intelligence-list article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(7, 27, 77, 0.08);
}

.management-tutor-intelligence-list strong {
  color: #071b42;
}

.management-tutor-intelligence-list span {
  color: #475975;
  line-height: 1.45;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(216, 167, 44, 0.16), transparent 28rem),
    linear-gradient(180deg, #eef4fa 0%, #ffffff 42%, #f4f7fb 100%);
  color: var(--ink);
}

button,
select,
input,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.app-shell {
  --shell-pad: 14px;
  --portal-header-inline:max(var(--shell-pad),calc((100vw - 1180px) / 2 + var(--shell-pad)));
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: var(--shell-pad);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  margin: calc(var(--shell-pad) * -1) calc(50% - 50vw) 18px;
  padding: 16px max(var(--shell-pad), calc((100vw - 1180px) / 2 + var(--shell-pad)));
  background: #ffffff;
  border-bottom: 1px solid #e5eaf2;
  box-shadow: 0 4px 20px rgba(15, 35, 75, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: min(76vw, 620px);
  text-decoration: none;
  background: transparent;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(48px, 9vw, 70px);
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.icon-button {
  display: none;
}

.tutor-welcome-card {
  position: relative;
  margin: 4px 0 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #071b4d;
}

.tutor-welcome-card::after {
  display: none;
}

.tutor-shell {
  display: grid;
  gap: 18px;
  animation: tutorDashboardEnter 360ms ease both;
}

body:has(#tutorWelcomeCard:not(.hidden)) {
  background:
    radial-gradient(circle at 12% 10%, rgba(49, 111, 177, 0.1), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(242, 182, 50, 0.11), transparent 24rem),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 48%, #f8fbff 100%);
}

.tutor-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 290px;
  padding: 38px;
  border: 1px solid rgba(242, 182, 50, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 215, 108, 0.2), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(72, 139, 210, 0.34), transparent 32%),
    linear-gradient(135deg, #041333 0%, #071b4d 36%, #0b3477 72%, #05152f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 26px 54px rgba(7, 27, 77, 0.24);
  color: #ffffff !important;
}

.tutor-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.tutor-hero > * {
  position: relative;
  z-index: 1;
}

.tutor-hero-logout {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 226, 138, 0.48);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)),
    rgba(7, 27, 77, 0.2);
  color: #ffffff;
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 20px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tutor-hero-logout:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 226, 138, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)),
    rgba(18, 61, 115, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 26px rgba(0, 0, 0, 0.18),
    0 0 0 3px rgba(216, 154, 19, 0.1);
}

.tutor-hero-logout:focus-visible {
  outline: 3px solid rgba(255, 215, 108, 0.72);
  outline-offset: 3px;
}

.tutor-photo-wrap {
  position: relative;
  display: grid;
  width: 200px;
  height: 200px;
  min-width: 200px;
  place-items: center;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: linear-gradient(135deg, #fff3c4, #ffffff);
  color: #071b4d;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.26),
    0 0 0 3px rgba(242, 182, 50, 0.66),
    0 0 0 11px rgba(49, 111, 177, 0.18),
    0 0 32px rgba(77, 147, 217, 0.28);
}

.tutor-photo-img,
.tutor-photo-fallback {
  grid-area: 1 / 1;
}

.tutor-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutor-photo-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, #fff1bd, #ffffff);
  color: #071b4d;
  font-size: 2.35rem;
  font-weight: 1000;
}

.tutor-photo-wrap.has-photo .tutor-photo-fallback {
  opacity: 0;
}

.tutor-photo-wrap.photo-missing .tutor-photo-fallback {
  opacity: 1;
}

.tutor-hero-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.tutor-hero-label {
  display: inline-flex;
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid rgba(242, 182, 50, 0.38);
  border-radius: 999px;
  background: rgba(242, 182, 50, 0.12);
  color: #ffd76c;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tutor-greeting {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.65rem, 4.9vw, 4.45rem);
  line-height: 0.98;
  font-weight: 1000;
}

.tutor-hero-copy p {
  max-width: 39rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  font-weight: 760;
  line-height: 1.45;
}

.tutor-identity-line {
  margin-top: -2px !important;
  color: rgba(255, 215, 108, 0.9) !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em;
}

.tutor-hero-ready {
  margin-top: 8px !important;
}

.tutor-hero-ready strong {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 1000;
}

.tutor-hero-unlock {
  color: rgba(255, 255, 255, 0.94) !important;
  font-weight: 790 !important;
}

.tutor-hero-command-actions {
  margin-top: 18px;
}

.tutor-hero .tutor-hero-command-actions .primary-action {
  min-width: 168px;
  border: 1px solid rgba(255, 226, 138, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 255, 0.94));
  color: #071b4d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 34px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tutor-hero .tutor-hero-command-actions .primary-action:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 226, 138, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 20px 42px rgba(0, 0, 0, 0.24),
    0 0 0 4px rgba(216, 154, 19, 0.12);
}

.tutor-hero-meta-card {
  display: grid;
  gap: 12px;
  min-width: 260px;
  padding: 18px;
  border: 1px solid rgba(255, 226, 138, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(216, 154, 19, 0.64), rgba(216, 154, 19, 0)) 0 0 / 100% 3px no-repeat,
    radial-gradient(circle at 92% 4%, rgba(255, 226, 138, 0.16), transparent 7rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.075));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(216, 154, 19, 0.1),
    0 20px 42px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(1.15);
}

.tutor-hero-meta-card div {
  display: grid;
  gap: 3px;
}

.tutor-online-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(77, 147, 217, 0.26), rgba(7, 27, 77, 0.18));
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.12);
}

.tutor-online-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #62f08f;
  box-shadow:
    0 0 0 4px rgba(98, 240, 143, 0.14),
    0 0 14px rgba(98, 240, 143, 0.62);
  animation: tutorOnlinePulse 1.8s ease-out infinite;
}

.tutor-hero-meta-card small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tutor-hero-meta-card strong {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 1000;
  line-height: 1.25;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.tutor-hero-time strong {
  font-size: clamp(1.72rem, 2.3vw, 2.35rem);
  font-weight: 1000;
  letter-spacing: 0.01em;
  line-height: 1;
}

.tutor-hero-date strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.96rem;
}

/* Tutor landing only: mirrors the established premium dashboard language without
   changing the selected-cohort workspace or any shared screen. */
.tutor-hero--landing {
  grid-template-columns: auto minmax(0, 1fr) minmax(230px, 280px);
  min-height: 250px;
  padding: 34px 38px;
}

.tutor-hero--landing .tutor-photo-wrap {
  width: 132px;
  height: 132px;
  min-width: 132px;
  border-width: 4px;
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.22),
    0 0 0 3px rgba(242, 182, 50, 0.58),
    0 0 0 8px rgba(49, 111, 177, 0.14);
}

.tutor-hero--landing .tutor-photo-fallback {
  font-size: 1.8rem;
}

.tutor-hero--landing .tutor-greeting {
  font-size: clamp(2.35rem, 4.2vw, 3.65rem);
  line-height: 1.02;
}

.tutor-hero--landing .tutor-hero-intro {
  max-width: 34rem;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 760;
}

.tutor-hero--landing .tutor-hero-meta-card {
  min-width: 0;
  padding: 16px;
}

.tutor-welcome-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 34px;
  align-items: center;
}

.tutor-welcome-identity {
  display: flex;
  gap: 28px;
  align-items: center;
  min-width: 0;
}

.tutor-welcome-photo-wrap {
  position: relative;
  flex: 0 0 auto;
}

.tutor-welcome-photo {
  display: grid;
  width: 124px;
  height: 124px;
  min-width: 124px;
  place-items: center;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: linear-gradient(135deg, #fff8df, #ffffff);
  color: #071b4d;
  font-size: 2.1rem;
  font-weight: 1000;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.tutor-welcome-photo img,
.tutor-welcome-photo .tutor-welcome-initials {
  grid-area: 1 / 1;
}

.tutor-welcome-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutor-welcome-photo .tutor-welcome-initials {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.tutor-welcome-photo.has-photo .tutor-welcome-initials {
  opacity: 0;
}

.tutor-welcome-photo.photo-missing .tutor-welcome-initials {
  opacity: 1;
}

.tutor-welcome-photo-badge {
  position: absolute;
  right: -8px;
  bottom: 5px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #0b2c6b;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.tutor-welcome-photo-badge img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.tutor-welcome-identity p,
.tutor-welcome-identity h2,
.tutor-welcome-identity span,
.tutor-welcome-identity em,
.tutor-welcome-meta p,
.tutor-welcome-meta strong {
  margin: 0;
}

.tutor-welcome-role {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 11px;
  border: 1px solid rgba(242, 182, 50, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffd76c;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tutor-welcome-identity p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-weight: 850;
}

.tutor-welcome-identity h2 {
  color: #ffffff;
  font-size: clamp(2.75rem, 5vw, 4.2rem);
  line-height: 0.98;
  font-weight: 1000;
}

.tutor-welcome-identity span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34rem;
  font-size: 1.02rem;
  font-weight: 760;
  line-height: 1.45;
}

.tutor-welcome-meta {
  display: grid;
  gap: 28px;
  min-width: 286px;
}

.tutor-welcome-meta > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 14px;
  align-items: center;
}

.tutor-welcome-meta-icon {
  grid-row: span 2;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid #f2b632;
  border-radius: 50%;
  color: #f2b632;
  font-size: 0.52rem;
  font-weight: 1000;
}

.tutor-welcome-meta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
}

.tutor-welcome-meta strong {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 1000;
}

@keyframes tutorDashboardEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tutorOnlinePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(94, 227, 138, 0.35);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(94, 227, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(94, 227, 138, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tutor-shell,
  .tutor-landing-panel > .tutor-cohort-card,
  .tutor-hero-logout,
  .tutor-online-status::before {
    animation: none;
    transition: none;
  }
}

.session-strip.tutor-session-strip {
  align-items: center;
  border: 1px solid rgba(49, 111, 177, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(15, 35, 75, 0.055);
}

.session-strip.tutor-session-strip #sessionLabel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #071b4d;
}

.tutor-account-name {
  font-weight: 1000;
}

.tutor-account-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tutor-account-role {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 27, 77, 0.08);
  color: #071b4d;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.94), rgba(16, 45, 80, 0.92)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(216, 167, 44, 0.18) 18px 20px);
  color: white;
  box-shadow: var(--shadow);
}

.hero-panel.admin-hero-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 24px clamp(18px, 4vw, 34px);
  border: 1px solid rgba(242, 182, 50, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.12), transparent 18rem),
    linear-gradient(135deg, #071b4d 0%, #0d2c66 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 48px rgba(7, 27, 77, 0.2);
}

.hero-panel.admin-hero-panel > div:first-child,
.hero-panel.tutor-hero-panel > div:first-child {
  max-width: 64rem;
}

.admin-tool-card {
  width: 164px;
  min-height: 146px;
}

.admin-hero-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 12px;
}

.admin-hero-logout {
  align-self: flex-start;
  min-width: 112px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 226, 138, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.07)),
    rgba(7, 27, 77, 0.22);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 1000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.admin-register-history-action {
  flex: 0 0 164px;
  padding-inline: 22px;
}

.admin-learner-pathway-action {
  flex: 0 0 164px;
}

.admin-learner-pathway-action span {
  font-size: 1rem;
  line-height: 1.02;
}

.admin-pathway-page {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.admin-pathway-full-year {
  display: grid;
  gap: 28px;
}

.admin-pathway-month-section {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(11, 31, 77, 0.11);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(7, 27, 77, 0.06);
  scroll-margin-top: 18px;
}

.admin-pathway-month-section:focus {
  outline: 3px solid rgba(39, 118, 213, 0.28);
  outline-offset: 3px;
}

.admin-pathway-month-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-pathway-month-heading h4 {
  margin: 0;
  color: var(--navy);
}

.admin-pathway-month-heading a,
.admin-pathway-month-jump a {
  color: #174f9c;
  font-size: 0.76rem;
  font-weight: 850;
}

.admin-pathway-month-jump {
  display: grid;
  gap: 9px;
  padding: 14px 16px;
  border: 1px solid rgba(11, 31, 77, 0.11);
  border-radius: 14px;
  background: #f8fafc;
  color: var(--navy);
}

.admin-pathway-month-jump div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
}

.admin-pathway-empty-day {
  min-width: 0;
  min-height: 82px;
  border-radius: 10px;
  background: rgba(240, 244, 248, 0.38);
}

.admin-pathway-overview,
.admin-pathway-cohort-control,
.admin-pathway-detail {
  padding: 20px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 27, 77, 0.08);
}

.admin-pathway-cohort-control {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 27, 77, 0.08);
}

.admin-pathway-cohort-control label {
  display: grid;
  gap: 8px;
  max-width: 520px;
  color: var(--navy);
}

.admin-pathway-cohort-control select {
  width: 100%;
  padding: 12px 42px 12px 14px;
  border: 1px solid rgba(11, 43, 102, 0.28);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
}

.admin-pathway-cohort-control select:focus-visible {
  outline: 3px solid rgba(39, 118, 213, 0.32);
  outline-offset: 2px;
  border-color: #2776d5;
}

.admin-pathway-cohort-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-pathway-cohort-summary div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 12px;
  background: #f6f8fb;
}

.admin-pathway-cohort-summary span {
  color: #526175;
  font-size: 0.74rem;
  font-weight: 800;
}

.admin-pathway-cohort-summary strong {
  color: var(--navy);
}

.admin-pathway-phase-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.admin-pathway-phase {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 142px;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.admin-pathway-phase span,
.admin-pathway-phase em,
.admin-pathway-phase small {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.admin-pathway-phase strong {
  line-height: 1.08;
}

.admin-pathway-phase.phase-navy { background: #edf5fc; color: #0a2555; }
.admin-pathway-phase.phase-green { background: #eef8f0; color: #0a2555; }
.admin-pathway-phase.phase-orange { background: #fff5ec; color: #0a2555; }
.admin-pathway-phase.phase-purple { background: #f5f0fa; color: #0a2555; }
.admin-pathway-phase.phase-teal { background: #edf8f8; color: #0a2555; }

.admin-pathway-phase:hover,
.admin-pathway-phase:focus-visible {
  outline: 3px solid rgba(216, 167, 44, 0.5);
  outline-offset: 2px;
  box-shadow: 0 12px 24px rgba(7, 27, 77, 0.18);
}

.admin-pathway-day small {
  overflow: hidden;
  color: #30425d;
  font-size: 0.6rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-pathway-day.phase-navy,
.admin-pathway-day.phase-green,
.admin-pathway-day.phase-orange,
.admin-pathway-day.phase-purple,
.admin-pathway-day.phase-teal { box-shadow: none; }
.admin-pathway-day.away { background: #e7f1f4; border-style: dashed; }
.admin-pathway-day.assessment { background: #fff4da; border-color: #c99112; }
.admin-pathway-day.enrichment { background: #f5ecff; }
.admin-pathway-day.mapping-required { background: repeating-linear-gradient(135deg, #fff 0 6px, #f1f3f6 6px 12px); }
.admin-pathway-day.in-centre {
  border-color: #54a96a;
  background: #e4f5e8;
}
.admin-pathway-day.in-centre.phase-navy { background: #f0f6fc; border-color: #c9d8e7; }
.admin-pathway-day.in-centre.phase-green { background: #f1f8f2; border-color: #ccddcf; }
.admin-pathway-day.in-centre.phase-orange { background: #fff7f0; border-color: #ead7c7; }
.admin-pathway-day.in-centre.phase-purple { background: #f7f3fa; border-color: #dbd1e3; }
.admin-pathway-day.in-centre.phase-teal { background: #f0f8f8; border-color: #c9dcde; }
.admin-pathway-day.in-centre.assessment {
  border-width: 2px;
  border-color: #b47c0d;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72), inset 0 -4px 0 #d7a020;
}
.admin-pathway-day.in-centre.enrichment {
  border-style: double;
}
.admin-pathway-day.in-centre.mapping-required {
  background-image: repeating-linear-gradient(135deg, transparent 0 7px, rgba(255, 255, 255, 0.55) 7px 14px);
}
.admin-pathway-cohort-phase-label { color: #243d61 !important; font-weight: 900 !important; }
.admin-pathway-in-centre-label {
  color: #166329 !important;
}
.admin-pathway-event-label {
  color: #4c3a16 !important;
  font-weight: 850 !important;
}

.admin-pathway-day.mapped-theory-lesson {
  border-width: 2px;
}

.admin-pathway-day.unassigned-theory-slot {
  border-style: dashed;
  border-color: #b98c1e;
}

.admin-pathway-day.reserved-event {
  border-width: 2px;
  border-style: double;
  border-color: #405a86;
}

.admin-pathway-compact-label { display: none; }
.admin-pathway-day.outside-year { opacity: 0.32; }

.admin-pathway-detail {
  display: grid;
  gap: 10px;
}

.admin-pathway-away-detail,
.admin-pathway-attendance-detail,
.admin-pathway-milestone,
.admin-pathway-lesson,
.admin-pathway-mapping-required {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 12px;
  background: #f6f8fb;
}

.admin-pathway-attendance-detail {
  border: 1px solid #9dcea8;
  background: #eaf8ed;
  color: #164f25;
}

.theory-capacity-status {
  width: max-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--navy);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
}

.theory-capacity-status.status-aligned {
  background: #e5f5e8;
  color: #17602b;
}

.theory-capacity-status.status-underfilled {
  background: #fff3d5;
  color: #76530a;
}

.theory-builder-schedule-indicator {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  margin: 8px 0 0;
  padding: 6px 10px;
  border: 1px solid rgba(193, 142, 35, 0.35);
  border-radius: 999px;
  background: #fff8e8;
  color: #5d4310;
  font-size: 0.84rem;
}

.theory-builder-draft-badge,
.theory-builder-draft-notice,
.admin-pathway-draft-status {
  color: #6b4c0d;
  font-weight: 800;
}

.theory-builder-draft-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 3px;
  padding: 4px 7px;
  border: 1px solid rgba(193, 142, 35, 0.38);
  border-radius: 999px;
  background: #fff8e8;
  font-size: 0.7rem;
  font-style: normal;
}

.theory-builder-draft-notice {
  margin: 8px 0 0;
}

.admin-pathway-draft-status {
  display: block;
  margin-top: 6px;
}

.theory-unassigned-slot {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px dashed #c39625;
  border-radius: 12px;
  background: #fff9e9;
  color: #67490a;
}

.admin-pathway-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-pathway-legend span {
  padding: 7px 10px;
  border: 1px solid rgba(11, 31, 77, 0.13);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 850;
}

.parent-community-hub-cta.admin-register-history-action strong {
  max-width: 100%;
  min-width: 0;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1;
  letter-spacing: 0.008em;
  white-space: normal;
}

.admin-register-history-action span {
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

.register-history-cohort-selector {
  display: grid;
  gap: 0.45rem;
  max-width: 34rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.register-history-cohort-selector select {
  width: 100%;
  min-height: 44px;
}

.admin-hero-logout:hover,
.admin-hero-logout:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 226, 138, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.11)),
    rgba(18, 61, 115, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 30px rgba(0, 0, 0, 0.2),
    0 0 0 3px rgba(216, 154, 19, 0.12);
  outline: none;
}

.admin-tool-card em {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.hero-panel.tutor-hero-panel {
  padding: 24px clamp(18px, 4vw, 34px);
}

.hero-panel h2 {
  margin: 5px 0 8px;
  font-size: clamp(1.55rem, 7vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-panel p:last-child {
  max-width: 55rem;
  margin: 0;
  color: #d7e3ee;
}

.status-tile {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 94px;
  padding: 14px;
  border: 1px solid rgba(242, 215, 125, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.status-tile span {
  color: var(--gold-2);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-tile strong {
  font-size: 1.6rem;
}

.status-tile strong {
  line-height: 1.05;
}

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

.metric {
  min-height: 95px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 1.55rem;
}

.admin-action-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  min-height: 132px;
  padding: 18px;
  text-align: left;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 35, 75, 0.08);
}

.admin-action-card:hover {
  border-color: rgba(242, 182, 50, 0.72);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 35, 75, 0.12);
}

.admin-action-card strong {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.15;
}

.admin-action-card em {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.admin-navigation-groups {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.admin-navigation-group {
  position: relative;
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(215, 227, 241, 0.86);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.05), transparent 10rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 16px 38px rgba(11, 31, 77, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-navigation-group::before {
  content: "";
  position: absolute;
  inset: 0 18px auto;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #f2b632, #ffe28a);
}

.admin-navigation-group::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -54px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(242, 182, 50, 0.04);
  pointer-events: none;
}

.admin-navigation-group:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 182, 50, 0.36);
  box-shadow:
    0 24px 52px rgba(11, 31, 77, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.admin-navigation-group h4 {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
  min-height: 44px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(215, 227, 241, 0.82);
  color: #071b4d;
  font-size: 1.12rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.admin-navigation-group h4::before {
  content: "";
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 182, 50, 0.38);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 252, 0.72)),
    rgba(242, 182, 50, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 20px rgba(11, 31, 77, 0.08);
}

.admin-navigation-group h4::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 18px;
  height: 18px;
  border: 2px solid #071b4d;
  border-radius: 999px;
  box-shadow: 9px 10px 0 -6px #071b4d;
}

.admin-navigation-group > div {
  display: grid;
  gap: 10px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 11px 12px 11px 14px;
  border: 1px solid rgba(216, 154, 19, 0.72);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #123d73 0%, #071b4d 100%);
  color: #ffffff;
  font-weight: 950;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(216, 154, 19, 0.18),
    0 13px 25px rgba(7, 27, 77, 0.18);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.admin-nav-link::after {
  content: "›";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: 1px solid rgba(255, 226, 138, 0.9);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe28a 0%, #d89a13 100%);
  color: #071b4d;
  font-size: 1.05rem;
  font-weight: 1000;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 5px 12px rgba(7, 27, 77, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-nav-link:hover,
.admin-nav-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 182, 50, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #17477f 0%, #092f66 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(242, 182, 50, 0.24),
    0 17px 32px rgba(7, 27, 77, 0.24),
    0 0 0 3px rgba(216, 154, 19, 0.08);
  outline: none;
}

.admin-nav-link:hover::after,
.admin-nav-link:focus-visible::after {
  transform: translateX(2px);
  background: linear-gradient(180deg, #fff0ad 0%, #e3a31a 100%);
  border-color: #ffe28a;
  color: #071b4d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 7px 16px rgba(7, 27, 77, 0.28);
}

.admin-nav-link:active {
  transform: translateY(0);
  border-color: rgba(190, 124, 5, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #092f66 0%, #071b4d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(216, 154, 19, 0.14),
    0 9px 18px rgba(7, 27, 77, 0.18);
}

.admin-nav-link.active {
  border-color: rgba(242, 182, 50, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #123d73 0%, #071b4d 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(242, 182, 50, 0.22),
    0 13px 25px rgba(7, 27, 77, 0.18);
}

.admin-nav-link.active::after {
  background: linear-gradient(180deg, #ffe28a 0%, #d89a13 100%);
  border-color: rgba(255, 226, 138, 0.9);
  color: #071b4d;
}

.admin-nav-link.disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.admin-nav-link.disabled:hover,
.admin-nav-link.disabled:focus-visible {
  transform: none;
  border-color: rgba(216, 154, 19, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #123d73 0%, #071b4d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(216, 154, 19, 0.18),
    0 13px 25px rgba(7, 27, 77, 0.18);
}

.admin-nav-link.disabled:hover::after,
.admin-nav-link.disabled:focus-visible::after {
  transform: none;
}

.admin-nav-link em {
  color: #f2d77d;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.admin-action-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(242, 182, 50, 0.18);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
}

.view {
  margin: 18px 0 36px;
}

.hidden {
  display: none !important;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.section-heading h3 {
  margin: 2px 0 0;
  font-size: 1.25rem;
}

.learner-dashboard-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.learner-dashboard-topbar .portal-logout {
  width: auto;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 35, 75, 0.08);
}

.lesson-heading {
  margin-top: 18px;
}

.learner-dashboard-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.learner-dashboard-grid:first-of-type {
  align-items: stretch;
}

.learner-dashboard-loading-state {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(15, 35, 75, 0.1);
}

.learner-dashboard-loading-state strong {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 1000;
}

.learner-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.learner-menu button {
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(15, 35, 75, 0.05);
}

.learner-menu button.active {
  border-color: rgba(216, 167, 44, 0.72);
  background: #fff7dc;
  box-shadow: 0 8px 18px rgba(216, 167, 44, 0.14);
}

.learner-menu-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.learner-menu-page > .learner-home-card:first-child,
.learner-menu-page > .achievement-cabinet {
  grid-column: 1 / -1;
}

.learner-achievements-page {
  gap: 18px;
}

.learner-trophy-cabinet,
.learner-awards-history-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 167, 44, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(245, 180, 27, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 22px 48px rgba(7, 27, 77, 0.12);
}

.learner-trophy-cabinet {
  padding: 22px;
}

.learner-trophy-cabinet::before,
.learner-awards-history-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #f8d45c, #d8a72c);
}

.learner-trophy-head {
  margin-bottom: 18px;
}

.learner-trophy-head h4,
.learner-awards-history-card h4 {
  margin: 4px 0;
  color: #071b4d;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 1000;
  letter-spacing: 0;
}

.learner-trophy-head span,
.learner-awards-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(216, 167, 44, 0.35);
  border-radius: 999px;
  background: #fff7dc;
  color: #8a6100;
  font-size: 0.76rem;
  font-weight: 1000;
}

.learner-trophy-cabinet .achievement-badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.learner-trophy-cabinet .achievement-badge-grid article {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 128px;
  align-content: center;
  padding: 16px;
  border: 1px solid #dbe5f1;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.learner-trophy-cabinet .achievement-badge-grid article.unlocked {
  border-color: rgba(216, 167, 44, 0.5);
  background: linear-gradient(180deg, #fffdf5, #ffffff);
  box-shadow: 0 16px 34px rgba(216, 167, 44, 0.16);
}

.learner-trophy-cabinet .achievement-badge-grid article.locked {
  color: #64748b;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  opacity: 0.82;
}

.learner-trophy-cabinet .achievement-badge-grid article > span {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #071b4d;
  color: #f8d45c;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.learner-trophy-cabinet .achievement-badge-grid article.locked > span {
  background: #e2e8f0;
  color: #64748b;
}

.learner-trophy-cabinet .achievement-badge-grid strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
  line-height: 1.18;
}

.learner-trophy-cabinet .achievement-badge-grid em {
  color: #64748b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.learner-trophy-cabinet .achievement-badge-grid article.unlocked em {
  color: #8a6100;
}

.learner-awards-history-card {
  padding: 20px;
}

.learner-awards-history-card .learner-home-card-head {
  align-items: center;
}

.learner-awards-list {
  display: grid;
  gap: 10px;
}

.learner-awards-list > div {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.learner-awards-list span {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.learner-awards-list strong {
  color: #071b4d;
  font-size: 0.95rem;
  font-weight: 1000;
}

.learner-awards-list em {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(216, 167, 44, 0.36);
  border-radius: 999px;
  background: #fff7dc;
  color: #8a6100;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
}

.profile-panel,
.rating-panel,
.readiness-panel,
.progress-panel,
.current-lesson-panel,
.action-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.profile-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.premium-learner-dashboard {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  padding: 0 0 10px;
}

.learner-passport-header,
.premium-learner-hero-grid,
.premium-metric-grid,
.premium-lesson-action-grid {
  grid-column: 1 / -1;
}

.learner-passport-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid #dbe3ef;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.learner-passport-header .eyebrow {
  color: #f5b41b;
  letter-spacing: 0.16em;
}

.learner-passport-header h2 {
  margin: 4px 0 0;
  color: #071b4d;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 1000;
  letter-spacing: 0;
}

.premium-id-chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  border: 1px solid #071b4d;
  border-radius: 999px;
  background: #071b4d;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 1000;
  box-shadow: 0 10px 22px rgba(7, 27, 77, 0.16);
}

.premium-learner-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.premium-profile-card {
  grid-column: span 8;
  display: grid;
  /* Visual-only learner hero layout adjustment. Keep data/routing/persistence untouched. */
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  min-height: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(245, 180, 27, 0.16), transparent 34%),
    linear-gradient(135deg, #071b4d 0%, #0d3271 100%);
  color: #ffffff;
  box-shadow: 0 24px 58px rgba(7, 27, 77, 0.22);
  overflow: hidden;
}

.premium-profile-photo-column {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  min-height: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.055));
  text-align: center;
}

.premium-profile-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(160px, 15vw, 214px);
  height: clamp(160px, 15vw, 214px);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #f8d45c, #f2b632) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(245, 180, 27, 0.45)) border-box;
  padding: 9px;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.24);
}

.premium-profile-photo-wrap .learner-photo {
  width: 100%;
  height: 100%;
  min-width: 100%;
  border: 5px solid #ffffff;
  border-radius: 999px;
  object-fit: cover;
  background: #ffffff;
  color: #071b4d;
  font-size: 3rem;
  font-weight: 1000;
}

.premium-profile-name-lockup {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 5px;
}

.premium-photo-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.premium-photo-badges span {
  display: grid;
  gap: 3px;
  min-height: 48px;
  min-width: 118px;
  align-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 3px solid rgba(245, 180, 27, 0.88);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.085));
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 1000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.premium-photo-badges small {
  color: #f5b41b;
  font-size: 0.58rem;
  font-weight: 1000;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.premium-profile-main {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 11px;
  padding: 4px 4px 4px 0;
}

.premium-welcome,
.premium-card-kicker {
  margin: 0;
  color: #f5b41b;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-profile-name-lockup h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.1rem, 1.7vw, 1.66rem);
  font-weight: 1000;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

.premium-learner-strapline {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 850;
}

.premium-profile-chip-row {
  margin: 1px 0 0;
}

.premium-profile-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: -3px;
}

.premium-profile-info-grid article {
  min-width: 0;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.075));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 10px 24px rgba(2, 6, 23, 0.09);
}

.premium-profile-info-grid span,
.premium-metric-grid span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-profile-info-grid strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.32;
}

.premium-performance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.premium-performance-row span,
.premium-performance-row strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 1000;
}

.premium-performance-row strong {
  background: rgba(245, 180, 27, 0.18);
  color: #ffdf78;
}

.premium-readiness-card {
  grid-column: span 4;
  display: grid;
  gap: 15px;
  align-content: start;
  padding: 24px;
  border: 1px solid rgba(216, 167, 44, 0.42);
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 26px 62px rgba(7, 27, 77, 0.15);
}

.premium-card-kicker {
  text-align: left;
  color: #64748b;
}

.premium-readiness-score-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.premium-readiness-score-row strong {
  display: block;
  color: #071b4d;
  font-size: clamp(3.45rem, 4.45vw, 4.35rem);
  font-weight: 1000;
  line-height: 0.9;
}

.premium-readiness-score-row span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 1000;
  line-height: 1.2;
}

.premium-readiness-score-row em {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8dc, #fff0bd);
  color: #805700;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 1000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 8px 16px rgba(154, 106, 0, 0.08);
}

.premium-readiness-progress {
  display: grid;
  gap: 9px;
  width: 100%;
  background: linear-gradient(180deg, #ffffff, #fff8de);
  border: 1px solid rgba(216, 167, 44, 0.38);
  border-radius: 18px;
  padding: 16px;
  cursor: pointer;
  text-align: left;
}

.premium-readiness-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-readiness-progress > div:first-child strong {
  color: #071b4d;
}

.premium-readiness-steps {
  display: grid;
  gap: 9px;
}

.premium-readiness-steps article {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.premium-readiness-steps article span {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #cbd5e1;
}

.premium-readiness-steps article strong {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 1000;
}

.premium-readiness-steps article.active {
  border-color: rgba(22, 163, 74, 0.3);
  background: linear-gradient(180deg, #f0fdf4, #ecfdf5);
}

.premium-readiness-steps article.active span {
  background: #16a34a;
}

.premium-readiness-steps article.active strong {
  color: #15803d;
}

.premium-readiness-ring {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 190px;
  height: 190px;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #ffffff 0 58%, transparent 59%),
    conic-gradient(#16a34a var(--score), #dbe3ef 0);
  box-shadow: inset 0 0 0 12px #ffffff, 0 18px 34px rgba(15, 23, 42, 0.11);
  cursor: pointer;
}

.premium-readiness-ring span,
.premium-readiness-ring strong,
.premium-readiness-ring em {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
  font-style: normal;
}

.premium-readiness-ring span {
  color: #071b4d;
  font-size: 3rem;
  font-weight: 1000;
  line-height: 1;
}

.premium-readiness-ring strong {
  margin-top: 5px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.premium-readiness-ring em {
  width: 130px;
  margin-top: 7px;
  color: #a87512;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
}

.premium-readiness-target {
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  text-align: center;
}

.premium-readiness-target strong {
  color: #0f172a;
  font-size: 0.9rem;
}

.premium-progress-bar {
  width: 100%;
  height: 11px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(214, 226, 241, 0.78), rgba(241, 246, 252, 0.96));
  box-shadow:
    inset 0 1px 3px rgba(7, 27, 77, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.9);
}

.premium-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #0a2a66 0%, #d4af37 56%, #f7d774 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 0 18px rgba(212, 175, 55, 0.3);
  animation: learnerProgressFill 0.72s ease both;
}

.premium-progress-bar.wide {
  grid-column: 1 / -1;
  height: 14px;
}

.premium-cta-stack {
  display: grid;
  gap: 10px;
}

.premium-cta {
  min-height: 48px;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 1000;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.premium-cta:hover,
.premium-metric-grid button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

.premium-cta.navy {
  border: 1px solid #071b4d;
  background: #071b4d;
  color: #ffffff;
}

.premium-cta.white {
  border: 1px solid #dbe3ef;
  background: #ffffff;
  color: #071b4d;
}

.premium-cta.gold {
  border: 2px solid var(--tfe-button-gold-border);
  background: var(--tfe-button-navy);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 var(--tfe-button-gold-highlight),
    0 12px 26px rgba(7, 27, 77, 0.18);
}

.premium-cta.gold:hover,
.premium-cta.gold:focus-visible {
  border-color: #f2b632;
  background: var(--tfe-button-navy-hover);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.42),
    0 16px 32px rgba(7, 27, 77, 0.24),
    0 0 0 4px rgba(242, 182, 50, 0.12);
}

.premium-cta.gold:active {
  transform: translateY(0);
  border-color: #b8790f;
  background: var(--tfe-button-navy-pressed);
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.2),
    0 8px 16px rgba(7, 27, 77, 0.18);
}

.premium-cta.navy-outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.premium-cta:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.premium-learner-passport-redesign {
  gap: 22px;
  padding: 4px 0 18px;
  animation: learnerDashboardReveal 0.48s ease both;
}

.premium-passport-hero-card {
  grid-column: span 8;
  min-height: 360px;
  background:
    radial-gradient(circle at top left, rgba(245, 180, 27, 0.24), transparent 32%),
    linear-gradient(135deg, #071b4d 0%, #0b2a63 58%, #113b7f 100%);
}

.premium-passport-hero-card .premium-profile-photo-column {
  gap: 14px;
}

.premium-passport-hero-card .premium-profile-photo-wrap {
  width: 218px;
  height: 218px;
}

.premium-standard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(245, 180, 27, 0.56);
  border-radius: 999px;
  background: rgba(245, 180, 27, 0.16);
  color: #ffe28a;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.premium-standard-badge.gold {
  background: rgba(245, 180, 27, 0.24);
  color: #ffe28a;
}

.premium-standard-badge.silver {
  background: rgba(226, 232, 240, 0.18);
  color: #f8fafc;
}

.premium-standard-badge.bronze {
  background: rgba(180, 83, 9, 0.22);
  color: #fed7aa;
}

.premium-passport-hero-card .premium-profile-name-lockup h3 {
  font-size: 2rem;
}

.premium-passport-hero-card .premium-photo-badges span,
.premium-passport-hero-card .premium-profile-info-grid strong {
  overflow-wrap: anywhere;
}

.premium-primary-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.premium-learner-passport-redesign .premium-readiness-card {
  align-content: stretch;
}

.premium-learner-passport-redesign .premium-readiness-score-row strong {
  font-size: 2.65rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.premium-info-card-grid {
  grid-column: 1 / -1;
}

.premium-breakdown-section {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #d7e3f1;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.premium-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.premium-section-title h3 {
  margin: 2px 0 0;
  color: #071b4d;
  font-size: 1.25rem;
  font-weight: 1000;
}

.premium-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.premium-breakdown-grid article {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.premium-breakdown-grid article > div:first-child {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.premium-breakdown-grid span,
.premium-info-card-grid span {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-breakdown-grid strong,
.premium-info-card-grid strong {
  display: block;
  color: #071b4d;
  font-size: 0.95rem;
  font-weight: 1000;
  line-height: 1.25;
  text-align: right;
  overflow-wrap: anywhere;
}

.premium-info-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.premium-info-card-grid article {
  min-width: 0;
  min-height: 104px;
  padding: 16px;
  border: 1px solid #d7e3f1;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.065);
}

.premium-info-card-grid article::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #f5b41b;
}

.premium-info-card-grid strong {
  margin-top: 6px;
  text-align: left;
}

.premium-dashboard-hero-card,
.premium-readiness-summary-grid,
.premium-learner-detail-grid {
  grid-column: 1 / -1;
}

.premium-dashboard-hero-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.62fr) minmax(0, 2.62fr) minmax(224px, 0.76fr);
  column-gap: clamp(38px, 5.2vw, 76px);
  row-gap: 28px;
  align-items: center;
  min-height: 278px;
  padding: clamp(28px, 3.4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 180, 27, 0.22), transparent 30%),
    linear-gradient(135deg, #061842 0%, #092864 55%, #103d82 100%);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(7, 27, 77, 0.24);
  position: relative;
  overflow: hidden;
}

.premium-dashboard-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% 44%;
  height: 220px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.premium-dashboard-photo-column {
  display: grid;
  justify-items: center;
  gap: 0;
  min-width: 0;
}

.premium-dashboard-photo-column .premium-profile-photo-wrap {
  width: clamp(190px, 17vw, 232px);
  height: clamp(190px, 17vw, 232px);
  box-shadow:
    0 24px 48px rgba(2, 6, 23, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.42),
    0 0 0 10px rgba(245, 180, 27, 0.12);
}

.premium-dashboard-identity {
  display: grid;
  gap: 22px;
  align-content: center;
  min-width: 0;
  padding-inline-start: clamp(4px, 1.2vw, 18px);
}

.premium-dashboard-identity .premium-profile-name-lockup {
  gap: 10px;
}

.premium-dashboard-identity .premium-profile-name-lockup h3 {
  max-width: 900px;
  font-size: clamp(3rem, 5.15vw, 5.65rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.premium-dashboard-identity .premium-profile-name-lockup .premium-welcome {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(245, 180, 27, 0.44);
  border-radius: 999px;
  background: rgba(245, 180, 27, 0.14);
  color: #ffe28a;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.premium-dashboard-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.premium-dashboard-meta-grid article {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.premium-dashboard-meta-grid span,
.premium-info-row-grid span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-dashboard-meta-grid strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.premium-hero-detail-list {
  display: grid;
  gap: 7px;
  max-width: 720px;
}

.premium-hero-detail-list div {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 3px 0;
}

.premium-hero-detail-list span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.premium-hero-detail-list strong {
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.premium-dashboard-hero-card .premium-primary-actions {
  grid-template-columns: 1fr;
  align-self: stretch;
  align-content: center;
  gap: 16px;
}

.premium-dashboard-hero-card .premium-cta {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 16px 30px rgba(2, 6, 23, 0.18);
}

.premium-dashboard-hero-card .premium-cta:is(.learner-continue, .learner-practical, .learner-progress, .learner-passport) {
  border: 2px solid var(--tfe-button-gold-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 var(--tfe-button-gold-highlight),
    0 16px 30px rgba(7, 27, 77, 0.24);
}

.premium-dashboard-hero-card .premium-cta:is(.learner-continue, .learner-practical, .learner-progress, .learner-passport):hover,
.premium-dashboard-hero-card .premium-cta:is(.learner-continue, .learner-practical, .learner-progress, .learner-passport):focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 20px 38px rgba(2, 6, 23, 0.24);
}

.premium-dashboard-hero-card .premium-cta:is(.learner-continue, .learner-practical, .learner-progress, .learner-passport):hover,
.premium-dashboard-hero-card .premium-cta:is(.learner-continue, .learner-practical, .learner-progress, .learner-passport):focus-visible {
  border-color: #f2b632;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy-hover);
}

.premium-dashboard-hero-card .premium-cta:is(.learner-continue, .learner-practical, .learner-progress, .learner-passport):active {
  transform: translateY(0);
  border-color: #b8790f;
  background: var(--tfe-button-navy-pressed);
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.2),
    0 8px 16px rgba(7, 27, 77, 0.18);
}

.premium-readiness-summary-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: stretch;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 36px;
  background:
    radial-gradient(circle at 6% 0%, rgba(212, 175, 55, 0.14), transparent 25rem),
    radial-gradient(circle at 98% 12%, rgba(10, 42, 102, 0.12), transparent 27rem),
    linear-gradient(135deg, rgba(244, 249, 255, 0.99), rgba(255, 253, 246, 0.98));
  box-shadow:
    0 28px 68px rgba(7, 27, 77, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.premium-readiness-kpi-card,
.premium-mission-card,
.premium-info-panel,
.premium-performance-panel,
.premium-activity-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow:
    0 22px 52px rgba(7, 27, 77, 0.105),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.premium-readiness-kpi-card:hover,
.premium-readiness-breakdown-card:hover,
.premium-mission-card:hover,
.premium-performance-panel:hover,
.premium-activity-panel:hover,
.premium-dashboard-hero-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 72px rgba(7, 27, 77, 0.14),
    0 0 0 1px rgba(212, 175, 55, 0.18);
}

.premium-readiness-kpi-card {
  grid-template-columns: 1fr;
  align-content: start;
  grid-template-rows: auto auto auto minmax(260px, 1fr);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.11), transparent 16rem),
    radial-gradient(circle at 0% 8%, rgba(10, 42, 102, 0.06), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 255, 0.99)),
    #ffffff;
  border-color: rgba(212, 175, 55, 0.38);
  box-shadow:
    0 24px 58px rgba(7, 27, 77, 0.115),
    inset 0 0 0 1px rgba(255, 255, 255, 0.76);
}

.premium-readiness-kpi-card h3 {
  margin: 2px 0 0;
  color: #071b4d;
  font-size: 1.35rem;
  font-weight: 1000;
}

.premium-readiness-kpi-card .premium-readiness-progress {
  align-self: stretch;
  border: 1px solid rgba(212, 175, 55, 0.24);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 12rem),
    linear-gradient(180deg, #ffffff, #f4f8ff);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.86),
    0 12px 26px rgba(7, 27, 77, 0.055);
}

.premium-readiness-score-layout {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.18),
    0 14px 30px rgba(7, 27, 77, 0.07);
}

.premium-readiness-score-layout .premium-readiness-ring {
  width: 132px;
  height: 132px;
  background:
    radial-gradient(circle at center, #ffffff 0 54%, transparent 55%),
    conic-gradient(#d4af37 0 var(--score), #dfe9f5 var(--score) 100%);
  box-shadow:
    inset 0 0 0 9px rgba(255, 255, 255, 0.98),
    0 18px 34px rgba(7, 27, 77, 0.14),
    0 0 0 1px rgba(212, 175, 55, 0.26);
  animation: readinessRingIn 0.7s ease both;
}

.premium-readiness-score-layout .premium-readiness-ring span {
  color: #071b4d;
  font-size: clamp(1.62rem, 2.2vw, 1.95rem);
  letter-spacing: 0;
}

.premium-readiness-score-layout .premium-readiness-ring strong {
  color: #7b8798;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.premium-readiness-score-layout .premium-readiness-score-row {
  align-items: center;
  gap: 12px;
}

.premium-readiness-score-layout .premium-readiness-score-row strong {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: 0;
  white-space: nowrap;
}

.premium-readiness-empty-state {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 180, 27, 0.2), transparent 36%),
    linear-gradient(135deg, #fff8df, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(216, 167, 44, 0.26);
}

.premium-readiness-empty-state strong {
  color: #071b4d;
  font-size: 2.35rem;
  font-weight: 1000;
  line-height: 1.05;
  white-space: nowrap;
}

.premium-readiness-empty-state span {
  color: #64748b;
  font-weight: 900;
}

.premium-secondary-kpi,
.premium-today-target-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.1), transparent 10rem),
    linear-gradient(180deg, #ffffff, #f4f8ff);
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.2),
    0 16px 34px rgba(7, 27, 77, 0.07);
}

.premium-secondary-kpi {
  min-height: 132px;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.premium-secondary-kpi::before {
  content: "";
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4af37, #ffe28a);
}

.premium-secondary-kpi::after {
  content: "";
  display: block;
  width: min(var(--professional-development, 0%), 100%);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0a2a66, #d4af37);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.premium-secondary-kpi span,
.premium-evidence-progress-block span,
.premium-employment-target-head span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-secondary-kpi strong {
  color: #071b4d;
  font-size: clamp(2rem, 3.35vw, 2.75rem);
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 0 #ffffff;
}

.premium-evidence-progress-block > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.premium-evidence-progress-block strong {
  color: #071b4d;
  font-size: 0.95rem;
  text-align: right;
}

.premium-evidence-progress-block em {
  color: #9a6a00;
  font-style: normal;
  font-weight: 1000;
}

.premium-today-target-card {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.28), transparent 36%),
    radial-gradient(circle at bottom right, rgba(7, 27, 77, 0.1), transparent 40%),
    linear-gradient(145deg, #fff5cf 0%, #ffffff 48%, #f7fbff 100%);
  align-content: space-between;
  gap: 18px;
  min-height: 100%;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 28px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 22px 46px rgba(154, 106, 0, 0.105),
    0 8px 18px rgba(7, 27, 77, 0.055);
  position: relative;
  overflow: hidden;
}

.premium-today-target-card::before {
  content: "";
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4af37, #ffe28a);
}

.premium-employment-target-head {
  display: grid;
  gap: 7px;
}

.premium-employment-target-head strong {
  color: #071b4d;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  font-weight: 1000;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.premium-target-progress {
  display: grid;
  gap: 10px;
}

.premium-target-progress em {
  color: #805700;
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 1000;
}

.premium-target-checklist {
  display: grid;
  gap: 12px;
}

.premium-target-checklist div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: #1e293b;
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.18),
    0 10px 22px rgba(154, 106, 0, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.premium-target-checklist div:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.28),
    0 14px 28px rgba(154, 106, 0, 0.09);
}

.premium-target-checklist b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 1000;
}

.premium-target-checklist div.done b {
  background: rgba(22, 163, 74, 0.14);
  color: #16a34a;
}

.premium-target-checklist strong {
  color: #071b4d;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.premium-today-target-card p {
  display: block;
  margin: 0;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(245, 180, 27, 0.16);
  color: #7a5400;
  font-size: 0.94rem;
  font-weight: 1000;
}

.premium-readiness-breakdown-card {
  align-content: start;
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(10, 42, 102, 0.07), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 255, 0.99));
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow:
    0 24px 58px rgba(7, 27, 77, 0.105),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.premium-readiness-breakdown-card .premium-breakdown-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.premium-readiness-breakdown-card .premium-breakdown-grid article {
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.85);
}

.premium-readiness-breakdown-card .premium-breakdown-grid strong {
  white-space: nowrap;
}

.premium-improvement-list {
  display: grid;
  gap: 14px;
}

.premium-improvement-list article {
  display: grid;
  gap: 9px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.08), transparent 9rem),
    linear-gradient(180deg, #ffffff, #f4f8ff);
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.18),
    0 14px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.premium-improvement-list article:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.28),
    0 18px 36px rgba(7, 27, 77, 0.09);
}

.premium-improvement-list article > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.premium-improvement-list span {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.premium-improvement-list strong {
  color: #9a6a00;
  font-size: 0.92rem;
  white-space: nowrap;
}

.premium-improvement-list p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 850;
}

.premium-improvement-empty strong {
  color: #071b4d;
  white-space: normal;
}

.premium-learner-details-panel {
  display: grid;
  gap: 11px;
  margin-top: 4px;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(245, 180, 27, 0.18);
  background:
    radial-gradient(circle at 92% 4%, rgba(245, 180, 27, 0.18), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(145deg, #071b4d 0%, #14284a 48%, #293a53 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 42px rgba(7, 27, 77, 0.18);
}

.premium-learner-details-panel > span {
  color: #ffe28a;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-learner-details-panel div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.premium-learner-details-panel em {
  color: rgba(255, 226, 138, 0.72);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-learner-details-panel strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.premium-employment-insights-panel {
  display: grid;
  gap: 14px;
  margin-top: 4px;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 20px 44px rgba(7, 27, 77, 0.09);
}

.premium-employment-insights-panel > span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #071b4d;
  color: #ffe28a;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-employment-insights-panel > span::after {
  content: "";
  width: 42px;
  height: 3px;
  margin-left: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4af37, #ffe28a);
}

.premium-employment-insights-panel article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.premium-employment-insights-panel article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.premium-employment-insights-panel em {
  color: #64748b;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.premium-employment-insights-panel article > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  min-width: 0;
}

.premium-employment-insights-panel strong {
  color: #071b4d;
  font-size: clamp(1.08rem, 1.7vw, 1.38rem);
  font-weight: 1000;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.premium-employment-insights-panel b {
  color: #9a6a00;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.premium-employment-insights-panel small {
  color: #9a6a00;
  font-size: 0.82rem;
  font-weight: 900;
}

.premium-employment-insights-panel .secondary-action {
  width: fit-content;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
}

.premium-readiness-evidence-summary {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #071b4d;
  color: #ffffff;
}

.premium-readiness-evidence-summary span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
}

.premium-readiness-evidence-summary strong {
  color: #f5b41b;
  font-size: 1rem;
}

.premium-readiness-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.premium-readiness-timeline article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 8px;
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.88);
  text-align: center;
}

.premium-readiness-timeline article span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #cbd5e1;
  box-shadow: 0 0 0 5px rgba(203, 213, 225, 0.22);
}

.premium-readiness-timeline article.complete span {
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.13);
}

.premium-readiness-timeline article.current span {
  background: #f5b41b;
  box-shadow: 0 0 0 5px rgba(245, 180, 27, 0.2);
}

.premium-readiness-timeline strong {
  color: #334155;
  font-size: 0.74rem;
  font-weight: 1000;
  line-height: 1.2;
}

.premium-mission-card {
  align-content: center;
  border-color: rgba(245, 180, 27, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 248, 222, 0.95), #ffffff);
}

.premium-mission-card h3 {
  margin: 0;
  color: #071b4d;
  font-size: 1.55rem;
  font-weight: 1000;
}

.premium-mission-card p {
  margin: 0;
  color: #475569;
  font-weight: 850;
  line-height: 1.45;
}

.premium-mission-card > strong {
  display: block;
  color: #9a6a00;
  font-size: 0.92rem;
}

.premium-mission-checklist {
  display: grid;
  gap: 10px;
}

.premium-mission-checklist div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(216, 167, 44, 0.28);
}

.premium-mission-checklist span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #cbd5e1;
}

.premium-mission-checklist div.done span {
  background: #16a34a;
}

.premium-mission-checklist strong {
  color: #071b4d;
  font-size: 0.9rem;
  line-height: 1.25;
}

.premium-lower-dashboard-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.premium-lower-dashboard-grid .premium-mission-card {
  grid-column: span 4;
}

.premium-lower-dashboard-grid .premium-performance-panel {
  grid-column: span 8;
}

.premium-lower-dashboard-grid .premium-activity-panel {
  grid-column: 1 / -1;
}

.premium-info-card-grid.compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.premium-learner-passport-redesign .premium-info-card-grid article {
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(226, 232, 240, 0.9),
    0 14px 30px rgba(15, 23, 42, 0.055);
}

@keyframes learnerDashboardReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes learnerProgressFill {
  from {
    transform: scaleX(0);
    transform-origin: left center;
  }
  to {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

@keyframes readinessRingIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.premium-learner-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

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

.premium-info-row-grid div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.premium-info-row-grid span {
  color: #64748b;
}

.premium-info-row-grid strong {
  display: block;
  color: #071b4d;
  font-size: 0.95rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.premium-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.premium-metric-grid article,
.premium-metric-grid button {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 19px;
  border: 1px solid #d7e3f1;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  text-align: left;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.075);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.premium-metric-grid article::before,
.premium-metric-grid button::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #f5b41b;
}

.premium-metric-grid button {
  cursor: pointer;
}

.premium-metric-grid article:hover,
.premium-current-lesson-card:hover,
.premium-next-action-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
  border-color: #c9d7e8;
}

.premium-metric-grid strong {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 1000;
  line-height: 1.15;
}

.premium-metric-grid p {
  margin: 0;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.premium-lesson-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.premium-current-lesson-card,
.premium-next-action-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.premium-current-lesson-card {
  border: 1px solid #d7e3f1;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.premium-next-action-card {
  align-content: start;
  background: #071b4d;
  color: #ffffff;
}

.premium-current-lesson-card h3,
.premium-next-action-card h3 {
  margin: 4px 0 6px;
  color: #071b4d;
  font-size: 1.55rem;
  font-weight: 1000;
}

.premium-next-action-card h3 {
  color: #ffffff;
}

.premium-current-lesson-card p:not(.eyebrow),
.premium-next-action-card p:not(.eyebrow) {
  margin: 0;
  color: #64748b;
  font-weight: 800;
  line-height: 1.45;
}

.premium-next-action-card .eyebrow {
  color: #f5b41b;
}

.premium-next-action-card p:not(.eyebrow) {
  color: #cbd5e1;
}

@media (max-width: 1180px) {
  .premium-profile-card,
  .premium-readiness-card {
    grid-column: 1 / -1;
  }

  .premium-breakdown-grid,
  .premium-info-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-dashboard-hero-card,
  .premium-readiness-summary-grid,
  .premium-learner-detail-grid {
    grid-template-columns: 1fr;
  }

  .premium-dashboard-hero-card {
    text-align: center;
  }

  .premium-dashboard-identity .premium-profile-name-lockup h3 {
    font-size: clamp(2.35rem, 7vw, 4.1rem);
  }

  .premium-dashboard-identity,
  .premium-profile-name-lockup {
    justify-items: center;
  }

  .premium-dashboard-identity {
    padding-inline-start: 0;
  }

  .premium-dashboard-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .premium-readiness-kpi-card {
    grid-template-columns: 1fr;
  }

  .premium-readiness-kpi-card .premium-readiness-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-readiness-score-layout {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .premium-readiness-score-layout .premium-readiness-ring {
    width: 126px;
    height: 126px;
  }

  .premium-readiness-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .premium-profile-card {
    grid-template-columns: minmax(210px, 0.4fr) minmax(0, 1fr);
    min-height: 0;
  }

  .premium-profile-photo-wrap {
    width: clamp(168px, 22vw, 210px);
    height: clamp(168px, 22vw, 210px);
  }

  .premium-readiness-card {
    grid-template-columns: 1fr;
  }

  .premium-card-kicker {
    grid-column: 1 / -1;
    text-align: left;
  }

  .premium-cta-stack {
    align-self: stretch;
  }

  .premium-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learner-trophy-cabinet .achievement-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-lesson-action-grid {
    grid-template-columns: 1fr;
  }

  .admin-navigation-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #adminView > .section-heading.admin-home-search-panel,
  #adminView > .section-heading.admin-home-search-panel .admin-controls {
    grid-template-columns: 1fr;
  }

  .admissions-summary,
  .admissions-learner-card,
  .admissions-learner-meta,
  .admin-search-result-card,
  .admin-intel-hero,
  .admin-intel-hero-meta,
  .admin-intel-summary-panel,
  .admin-intel-summary-grid,
  .admin-intel-kpi-grid,
  .admin-intel-metric-grid,
  .admin-intel-two-column,
  .admin-performance-dashboard-head,
  .admin-performance-dashboard-stats,
  .admin-decision-support-grid,
  .admin-intel-review-body,
  .admin-intel-snapshot-grid,
  .admin-intel-report-body,
  .admin-progress-timeline {
    grid-template-columns: 1fr;
  }

  .admin-intel-identity {
    align-items: flex-start;
  }

  .admin-intel-identity .learner-avatar.large {
    width: 112px;
    height: 112px;
    min-width: 112px;
  }

  .admin-intel-review-panel .panel-head {
    grid-template-columns: 1fr;
  }

  .tutor-work-awaiting-review .cohort-slot-summary,
  .tutor-submitted-work-card {
    grid-template-columns: 1fr;
  }

  .tutor-submitted-work-actions {
    justify-content: flex-start;
  }

  .admin-navigation-groups {
    grid-template-columns: 1fr;
  }

  .premium-learner-dashboard {
    gap: 16px;
  }

  .learner-passport-header,
  .premium-profile-card,
  .premium-current-lesson-card,
  .premium-lesson-action-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .learner-passport-header {
    padding: 20px;
  }

  .premium-profile-card {
    padding: 20px;
    text-align: center;
  }

  .premium-profile-photo-wrap {
    width: min(58vw, 190px);
    height: min(58vw, 190px);
  }

  .premium-profile-photo-column,
  .premium-profile-photo-wrap {
    justify-self: center;
  }

  .premium-profile-name-lockup,
  .premium-photo-badges {
    justify-items: center;
    justify-content: center;
  }

  .premium-profile-info-grid,
  .premium-readiness-card,
  .premium-metric-grid,
  .premium-breakdown-grid,
  .premium-info-card-grid,
  .premium-dashboard-meta-grid,
  .premium-info-row-grid,
  .premium-lower-dashboard-grid,
  .premium-info-card-grid.compact,
  .learner-trophy-cabinet .achievement-badge-grid {
    grid-template-columns: 1fr;
  }

  .premium-lower-dashboard-grid .premium-mission-card,
  .premium-lower-dashboard-grid .premium-performance-panel,
  .premium-lower-dashboard-grid .premium-activity-panel {
    grid-column: 1 / -1;
  }

  .premium-hero-detail-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .premium-dashboard-identity .premium-profile-name-lockup h3 {
    font-size: clamp(2.05rem, 10.5vw, 3.15rem);
    line-height: 0.98;
  }

  .premium-dashboard-identity .premium-profile-name-lockup .premium-welcome {
    justify-self: center;
    max-width: 100%;
    text-align: center;
  }

  .premium-readiness-empty-state strong {
    font-size: 1.85rem;
    white-space: normal;
  }

  .premium-readiness-score-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .premium-readiness-score-layout .premium-readiness-ring {
    width: 124px;
    height: 124px;
  }

  .premium-readiness-timeline {
    grid-template-columns: 1fr;
  }

  .premium-readiness-timeline article {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .premium-evidence-progress-block > div:first-child,
  .premium-improvement-list article > div:first-child {
    display: grid;
  }

  .premium-evidence-progress-block strong,
  .premium-improvement-list strong {
    text-align: left;
    white-space: normal;
  }

  .premium-learner-details-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .premium-learner-details-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .premium-employment-insights-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .premium-employment-insights-panel article > div {
    display: grid;
    gap: 5px;
  }

  .premium-secondary-kpi strong {
    white-space: normal;
  }

  .premium-dashboard-hero-card,
  .premium-breakdown-section,
  .premium-readiness-kpi-card,
  .premium-mission-card,
  .premium-info-panel,
  .premium-performance-panel,
  .premium-activity-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .premium-dashboard-photo-column .premium-profile-photo-wrap {
    width: min(58vw, 190px);
    height: min(58vw, 190px);
  }

  .premium-readiness-kpi-card .premium-readiness-steps {
    grid-template-columns: 1fr;
  }

  .premium-passport-hero-card .premium-profile-name-lockup h3 {
    font-size: 1.55rem;
  }

  .premium-primary-actions {
    grid-template-columns: 1fr;
  }

  .premium-section-title {
    display: grid;
    align-items: start;
  }

  .premium-breakdown-grid article > div:first-child {
    display: grid;
  }

  .premium-breakdown-grid strong {
    text-align: left;
  }

  .learner-awards-list > div {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .premium-readiness-card {
    padding: 24px;
  }

  .premium-card-kicker {
    text-align: center;
  }

  .premium-readiness-score-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-next-action-card .premium-cta,
  .premium-primary-actions .premium-cta {
    width: 100%;
  }
}

.premium-learner-passport-redesign .premium-readiness-summary-grid {
  border-color: rgba(212, 175, 55, 0.34);
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 175, 55, 0.11), transparent 20rem),
    radial-gradient(circle at 100% 14%, rgba(10, 42, 102, 0.1), transparent 24rem),
    linear-gradient(135deg, #f5f9ff 0%, #ffffff 58%, #fffaf1 100%);
  box-shadow:
    0 26px 62px rgba(7, 27, 77, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.premium-learner-passport-redesign .premium-readiness-kpi-card {
  gap: 15px;
  grid-template-rows: auto;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 14rem),
    radial-gradient(circle at left 18%, rgba(10, 42, 102, 0.065), transparent 15rem),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  box-shadow:
    0 22px 52px rgba(7, 27, 77, 0.115),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    inset 0 0 0 2px rgba(10, 42, 102, 0.035);
}

.premium-learner-passport-redesign .premium-readiness-score-layout {
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 15px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
  box-shadow:
    0 12px 26px rgba(7, 27, 77, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.premium-learner-passport-redesign .premium-readiness-score-layout .premium-readiness-ring {
  width: 116px;
  height: 116px;
  background:
    radial-gradient(circle at center, #ffffff 0 55%, transparent 56%),
    conic-gradient(#0a2a66 0 calc(var(--score) * 0.55), #d4af37 calc(var(--score) * 0.55) var(--score), #e4edf8 var(--score) 100%);
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.98),
    0 14px 28px rgba(7, 27, 77, 0.12),
    0 0 0 1px rgba(212, 175, 55, 0.24);
}

.premium-learner-passport-redesign .premium-readiness-score-layout .premium-readiness-ring span {
  font-size: clamp(1.42rem, 1.9vw, 1.7rem);
  line-height: 0.98;
}

.premium-learner-passport-redesign .premium-readiness-score-layout .premium-readiness-ring strong {
  margin-top: 3px;
  color: #6b7890;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.premium-learner-passport-redesign .premium-readiness-score-summary {
  display: grid;
  gap: 10px;
  align-content: center;
  min-width: 0;
}

.premium-learner-passport-redesign .premium-readiness-score-summary > strong {
  display: block;
  color: #071b4d;
  font-size: clamp(1.58rem, 2.4vw, 2rem);
  font-weight: 1000;
  line-height: 0.95;
}

.premium-learner-passport-redesign .premium-readiness-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.premium-learner-passport-redesign .premium-readiness-meta-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(10, 42, 102, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  color: #516078;
  font-size: 0.82rem;
  font-weight: 1000;
}

.premium-learner-passport-redesign .premium-readiness-meta-row em {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: #805700;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 1000;
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(180deg, #fff8dd, #ffefba);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 8px 16px rgba(154, 106, 0, 0.08);
}

.premium-learner-passport-redesign .premium-readiness-kpi-card .premium-readiness-progress {
  padding: 13px 14px;
  border-color: rgba(212, 175, 55, 0.24);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.07), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 22px rgba(7, 27, 77, 0.045);
}

.premium-learner-passport-redesign .premium-secondary-kpi {
  min-height: 0;
  gap: 11px;
  padding: 15px 16px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 10rem),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow:
    0 14px 30px rgba(7, 27, 77, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.premium-learner-passport-redesign .premium-secondary-kpi::before {
  content: none;
}

.premium-learner-passport-redesign .premium-secondary-kpi::after {
  content: none;
}

.premium-learner-passport-redesign .premium-secondary-kpi__head {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  min-width: 0;
}

.premium-learner-passport-redesign .premium-secondary-kpi__head span {
  color: #53627a;
}

.premium-learner-passport-redesign .premium-secondary-kpi__head strong {
  font-size: clamp(1.68rem, 2.6vw, 2.15rem);
}

.premium-learner-passport-redesign .premium-secondary-kpi__track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(10, 42, 102, 0.06);
  background: linear-gradient(180deg, rgba(222, 233, 246, 0.88), rgba(243, 247, 252, 0.98));
  box-shadow: inset 0 1px 2px rgba(7, 27, 77, 0.1);
}

.premium-learner-passport-redesign .premium-secondary-kpi__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0a2a66 0%, #4774b1 46%, #d4af37 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 0 14px rgba(212, 175, 55, 0.2);
}

.premium-learner-passport-redesign .premium-today-target-card {
  min-height: 0;
}

.premium-learner-passport-redesign .premium-improvement-list article,
.premium-learner-passport-redesign .premium-employment-insights-panel {
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  box-shadow:
    0 16px 34px rgba(7, 27, 77, 0.085),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.premium-learner-passport-redesign .premium-improvement-list article:hover {
  box-shadow:
    0 20px 42px rgba(7, 27, 77, 0.11),
    0 0 0 1px rgba(212, 175, 55, 0.18);
}

.premium-learner-passport-redesign .premium-progress-bar {
  height: 10px;
  background:
    linear-gradient(180deg, rgba(222, 233, 246, 0.9), rgba(244, 248, 252, 0.98));
  box-shadow:
    inset 0 1px 2px rgba(7, 27, 77, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.9);
}

.premium-learner-passport-redesign .premium-progress-bar span {
  background: linear-gradient(90deg, #0a2a66 0%, #4774b1 48%, #d4af37 82%, #f3d678 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 0 14px rgba(212, 175, 55, 0.22);
}

/* Learner dashboard premium polish: visual-only overrides scoped to the learner surface. */
.premium-learner-passport-redesign {
  --learner-premium-navy: #061842;
  --learner-premium-blue: #0a2a66;
  --learner-premium-gold: #d4af37;
  --learner-premium-gold-soft: rgba(212, 175, 55, 0.22);
  --learner-premium-border: rgba(212, 175, 55, 0.34);
  --learner-premium-muted: #52627a;
  --learner-premium-track: #e9eef6;
}

.premium-learner-passport-redesign .premium-dashboard-hero-card {
  border-color: rgba(212, 175, 55, 0.42);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.22), transparent 18%),
    linear-gradient(135deg, #061842 0%, #09245a 54%, #0a2a66 100%);
  box-shadow:
    0 22px 54px rgba(7, 27, 77, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.premium-learner-passport-redesign .premium-dashboard-hero-card::after {
  opacity: 0.34;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07));
}

.premium-learner-passport-redesign .premium-dashboard-photo-column .premium-profile-photo-wrap {
  box-shadow:
    0 20px 42px rgba(2, 6, 23, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.48),
    0 0 0 8px rgba(212, 175, 55, 0.11);
}

.premium-learner-passport-redesign .premium-dashboard-identity .premium-profile-name-lockup .premium-welcome {
  border-color: rgba(212, 175, 55, 0.58);
  background: rgba(212, 175, 55, 0.12);
  color: #f7dc86;
  letter-spacing: 0.1em;
}

.premium-learner-passport-redesign .premium-readiness-summary-grid {
  border-color: var(--learner-premium-border);
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 64%, #f7faff 100%);
  box-shadow:
    0 22px 54px rgba(7, 27, 77, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.premium-learner-passport-redesign .premium-readiness-kpi-card,
.premium-learner-passport-redesign .premium-readiness-breakdown-card {
  border-color: var(--learner-premium-border);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow:
    0 18px 42px rgba(7, 27, 77, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.premium-learner-passport-redesign .premium-card-kicker,
.premium-learner-passport-redesign .premium-section-title .eyebrow,
.premium-learner-passport-redesign .premium-secondary-kpi__head span,
.premium-learner-passport-redesign .premium-employment-target-head span,
.premium-learner-passport-redesign .premium-target-progress em,
.premium-learner-passport-redesign .premium-improvement-list p,
.premium-learner-passport-redesign .premium-employment-insights-panel em {
  color: var(--learner-premium-muted);
  letter-spacing: 0.08em;
}

.premium-learner-passport-redesign .premium-readiness-kpi-card h3,
.premium-learner-passport-redesign .premium-section-title h3,
.premium-learner-passport-redesign .premium-employment-target-head strong,
.premium-learner-passport-redesign .premium-improvement-list span,
.premium-learner-passport-redesign .premium-employment-insights-panel strong {
  color: var(--learner-premium-navy);
}

.premium-learner-passport-redesign .premium-readiness-score-layout {
  border-color: rgba(212, 175, 55, 0.44);
  background:
    linear-gradient(135deg, #061842 0%, #08235a 56%, #0a2a66 100%);
  color: #ffffff;
  box-shadow:
    0 18px 38px rgba(7, 27, 77, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.premium-learner-passport-redesign .premium-readiness-score-layout .premium-readiness-ring {
  background:
    radial-gradient(circle at center, #ffffff 0 55%, transparent 56%),
    conic-gradient(var(--learner-premium-gold) 0 var(--score), rgba(255, 255, 255, 0.2) var(--score) 100%);
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.98),
    0 14px 28px rgba(2, 6, 23, 0.22),
    0 0 0 1px rgba(212, 175, 55, 0.4);
}

.premium-learner-passport-redesign .premium-readiness-score-summary > strong {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(2, 6, 23, 0.24);
}

.premium-learner-passport-redesign .premium-readiness-meta-row span {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.premium-learner-passport-redesign .premium-readiness-meta-row em {
  border: 1px solid rgba(212, 175, 55, 0.62);
  background: linear-gradient(180deg, #fff7dc, #f3d678);
  color: #5f4200;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 16px rgba(154, 106, 0, 0.1);
}

.premium-learner-passport-redesign .premium-readiness-kpi-card .premium-readiness-progress,
.premium-learner-passport-redesign .premium-secondary-kpi,
.premium-learner-passport-redesign .premium-today-target-card {
  border-color: rgba(212, 175, 55, 0.32);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 12px 28px rgba(7, 27, 77, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.premium-learner-passport-redesign .premium-secondary-kpi__head strong {
  color: var(--learner-premium-navy);
  text-shadow: none;
}

.premium-learner-passport-redesign .premium-progress-bar,
.premium-learner-passport-redesign .premium-secondary-kpi__track {
  border-color: rgba(7, 27, 77, 0.07);
  background: var(--learner-premium-track);
  box-shadow:
    inset 0 1px 2px rgba(7, 27, 77, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.9);
}

.premium-learner-passport-redesign .premium-progress-bar span,
.premium-learner-passport-redesign .premium-secondary-kpi__track i {
  background: linear-gradient(90deg, var(--learner-premium-navy), var(--learner-premium-blue));
  box-shadow:
    inset -4px 0 0 var(--learner-premium-gold),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.premium-learner-passport-redesign .premium-today-target-card::before {
  background: linear-gradient(90deg, var(--learner-premium-gold), #f7dc86);
}

.premium-learner-passport-redesign .premium-target-checklist div {
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.18),
    0 8px 18px rgba(7, 27, 77, 0.045);
}

.premium-learner-passport-redesign .premium-target-checklist b {
  background: #eef3f9;
  color: var(--learner-premium-blue);
}

.premium-learner-passport-redesign .premium-target-checklist div.done b {
  background: rgba(13, 128, 42, 0.14);
  color: #0d802a;
}

.premium-learner-passport-redesign .premium-today-target-card p {
  background: rgba(212, 175, 55, 0.12);
  color: #6f4b00;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.16);
}

.premium-learner-passport-redesign .premium-improvement-list article {
  position: relative;
  overflow: hidden;
  border-color: rgba(212, 175, 55, 0.3);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow:
    0 12px 28px rgba(7, 27, 77, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.premium-learner-passport-redesign .premium-improvement-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--learner-premium-gold), rgba(212, 175, 55, 0.18));
}

.premium-learner-passport-redesign .premium-improvement-list strong,
.premium-learner-passport-redesign .premium-employment-insights-panel b,
.premium-learner-passport-redesign .premium-employment-insights-panel small {
  color: #805700;
}

.premium-learner-passport-redesign .premium-employment-insights-panel {
  border-color: rgba(212, 175, 55, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 16px 36px rgba(7, 27, 77, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.premium-learner-passport-redesign .premium-employment-insights-panel > span {
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: var(--learner-premium-navy);
  color: #f7dc86;
}

.premium-learner-passport-redesign .premium-employment-insights-panel article {
  border-bottom-color: rgba(212, 175, 55, 0.18);
}

@media (max-width: 1180px) {
  .premium-learner-passport-redesign .premium-readiness-score-layout {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .premium-learner-passport-redesign .premium-readiness-score-layout .premium-readiness-ring {
    width: 112px;
    height: 112px;
  }
}

@media (max-width: 760px) {
  .premium-learner-passport-redesign .premium-readiness-score-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .premium-learner-passport-redesign .premium-readiness-score-layout .premium-readiness-ring {
    width: 110px;
    height: 110px;
  }

  .premium-learner-passport-redesign .premium-readiness-score-summary {
    justify-items: center;
  }

  .premium-learner-passport-redesign .premium-readiness-score-summary > strong {
    font-size: clamp(1.7rem, 9vw, 2.15rem);
  }

  .premium-learner-passport-redesign .premium-secondary-kpi {
    min-height: 0;
  }

  .premium-learner-passport-redesign .premium-secondary-kpi__head {
    display: grid;
    gap: 8px;
  }
}

.learner-hero {
  width: 100%;
  min-height: 420px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: center;
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0B1F4D, #183E7A);
  box-sizing: border-box;
  overflow: hidden;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.photo-column,
.hero-details,
.readiness-column {
  min-width: 0;
}

.learner-home-card {
  display: grid;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 18px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 35, 75, 0.08);
  box-sizing: border-box;
}

.learner-home-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.learner-home-card h4,
.learner-home-card p {
  margin: 0;
}

.learner-home-card h4 {
  color: var(--navy);
}

.learner-home-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.45;
}

.league-position-snapshot {
  border-top: 5px solid var(--gold);
}

.league-position-snapshot.green {
  border-left: 6px solid #18a558;
}

.league-position-snapshot.amber {
  border-left: 6px solid #f2b632;
}

.league-position-snapshot.red {
  border-left: 6px solid #c0392b;
}

.league-position-grid,
.learner-score-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.league-position-grid article,
.learner-score-metric-grid article {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(11, 31, 77, 0.08);
}

.league-position-grid article span,
.learner-score-metric-grid article span,
.passport-next-task span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.league-position-grid article strong {
  color: var(--navy);
  font-size: 1.35rem;
}

.league-position-rank {
  background: linear-gradient(135deg, #fff7dc, #ffffff) !important;
  border-color: rgba(216, 167, 44, 0.5) !important;
}

.league-position-rank strong {
  color: #9a6a00 !important;
  font-size: 2rem !important;
}

.learner-score-metric-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.learner-score-metric-grid article.green {
  border-left: 5px solid #18a558;
  background: #effaf3;
}

.learner-score-metric-grid article.amber {
  border-left: 5px solid #f2b632;
  background: #fff8e6;
}

.learner-score-metric-grid article.red {
  border-left: 5px solid #c0392b;
  background: #fff1f0;
}

.learner-score-metric-grid article strong {
  color: var(--navy);
  font-size: 1.4rem;
}

.learner-improvement-message {
  border-left: 6px solid var(--gold);
  background: linear-gradient(135deg, #ffffff, #fffaf0);
}

.learner-passport-summary .passport-progress {
  margin: 0;
}

.passport-next-task {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(11, 31, 77, 0.08);
}

.passport-next-task strong {
  color: var(--navy);
}

.photo-column,
.readiness-column {
  display: grid;
  place-items: center;
}

.learner-photo {
  display: grid;
  width: 200px;
  height: 200px;
  min-width: 200px;
  place-items: center;
  border: 6px solid #F2B632;
  border-radius: 50%;
  background: #fff8df;
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 0 5px rgba(255, 255, 255, 0.95);
  font-size: 2rem;
  font-weight: 900;
  object-fit: cover;
}

.hero-details {
  display: grid;
  align-content: center;
  gap: 14px;
}

.hero-kicker {
  margin: 0;
  color: #F2B632;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learner-name {
  max-width: 100%;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}

.learner-course-lines {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  font-weight: 800;
}

.learner-course-lines span {
  overflow-wrap: normal;
  word-break: normal;
}

.status-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.status-chip {
  min-width: 180px;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.status-chip-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.8;
}

.status-chip-value {
  display: block;
  margin-top: 5px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.learner-readiness-circle {
  --score: 0;
  display: grid;
  width: 260px;
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  gap: 6px;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #0B1F4D 70%, transparent 71%),
    conic-gradient(#18A558 calc(var(--score) * 1%), rgba(255, 255, 255, 0.25) 0);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.learner-readiness-circle strong {
  color: white;
  font-size: 3.8rem;
  line-height: 1;
}

.learner-readiness-circle span {
  display: block;
  max-width: 140px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.learner-readiness-circle em {
  max-width: 160px;
  color: var(--gold-2);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.15;
}

.career-journey {
  width: 100%;
  display: grid;
  gap: 12px;
}

.rating-panel {
  grid-column: 1 / -1;
}

.apprentice-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.25fr) minmax(0, 0.45fr) minmax(260px, 0.3fr);
  align-items: center;
  gap: 32px;
  width: 100%;
  min-height: 420px;
  padding: 48px;
  border-radius: 24px;
  background:
    linear-gradient(110deg, rgba(11, 31, 77, 0.98), rgba(18, 48, 107, 0.92)),
    radial-gradient(circle at 85% 10%, rgba(242, 182, 50, 0.34), transparent 28rem);
  color: white;
  box-shadow: var(--shadow);
}

.hero-photo,
.hero-identity,
.hero-meta,
.task-reward-grid,
.career-goal-grid {
  display: grid;
  gap: 10px;
}

.hero-photo {
  place-items: center;
  min-width: 0;
}

.hero-identity {
  align-content: center;
  gap: 22px;
  min-width: 0;
}

.apprentice-hero .learner-avatar.large {
  width: 240px;
  height: 240px;
  min-width: 240px;
  border: 6px solid var(--gold);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.32),
    0 0 0 5px rgba(255, 255, 255, 0.95),
    0 0 0 14px rgba(255, 255, 255, 0.12);
  font-size: 2.35rem;
  object-fit: cover;
}

.hero-identity h3,
.hero-copy h4,
.next-task-card h4 {
  margin: 0;
  letter-spacing: 0;
}

.hero-identity h3 {
  max-width: 560px;
  font-size: 3.25rem;
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-identity span,
.phase-label {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.hero-copy h4 {
  margin-top: 6px;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.hero-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.hero-meta div,
.career-goal-grid div,
.task-reward-grid div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-meta div {
  min-height: 78px;
}

.hero-meta span,
.career-goal-grid span,
.task-reward-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-meta strong,
.career-goal-grid strong,
.task-reward-grid strong {
  display: block;
  margin-top: 4px;
  color: white;
  overflow-wrap: anywhere;
}

.apprentice-score {
  --score: 0;
  display: grid;
  width: 270px;
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  align-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, var(--navy) 70%, transparent 71%),
    conic-gradient(var(--score-color) calc(var(--score) * 1%), rgba(255, 255, 255, 0.2) 0);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  align-content: center;
  gap: 6px;
  text-align: center;
}

.apprentice-score.red {
  --score-color: #e45454;
}

.apprentice-score.amber {
  --score-color: var(--gold);
}

.apprentice-score.green {
  --score-color: #18A558;
}

.apprentice-score strong {
  color: white;
  font-size: 3.85rem;
  line-height: 1;
}

.apprentice-score span {
  display: block;
  max-width: 120px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.apprentice-score em {
  max-width: 140px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.15;
}

.career-roadmap {
  display: grid;
  gap: 10px;
}

.journey-phase {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.journey-phase summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}

.journey-phase summary::-webkit-details-marker {
  display: none;
}

.journey-phase summary span,
.journey-phase summary strong {
  font-weight: 900;
}

.journey-phase.completed {
  border-color: rgba(242, 182, 50, 0.76);
  background: #fff8df;
}

.journey-phase.current {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 182, 50, 0.2), 0 14px 30px rgba(11, 31, 77, 0.1);
}

.journey-phase.future {
  color: var(--muted);
  background: #f3f6fa;
}

.phase-metrics,
.passport-levels,
.employer-checks,
.leaderboard-list {
  display: grid;
  gap: 8px;
}

.phase-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 12px 12px;
}

.phase-metrics div,
.passport-level,
.employer-checks div,
.leaderboard-list div {
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
}

.phase-metrics span,
.passport-level p,
.employer-checks strong,
.leaderboard-list strong,
.leaderboard-list em {
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.phase-metrics strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 1.15rem;
}

.passport-level {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
}

.passport-level.unlocked {
  border-color: rgba(242, 182, 50, 0.68);
  background: #fffaf0;
}

.passport-level.locked {
  opacity: 0.72;
}

.passport-level h4 {
  margin: 2px 0 0;
  color: var(--navy);
}

.passport-level > strong {
  color: var(--navy);
  font-size: 1.6rem;
}

.level-bar,
.attendance-track,
.xp-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf5;
}

.level-bar span,
.attendance-track span,
.xp-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.employer-checks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.employer-checks div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.employer-checks span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--muted);
  font-weight: 900;
}

.employer-checks .passed span {
  background: #e7f5ee;
  color: var(--good);
}

.next-task-card {
  display: grid;
  gap: 14px;
  height: 100%;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff, #fff8df);
  border: 1px solid rgba(242, 182, 50, 0.45);
}

.next-task-card h4 {
  color: var(--navy);
  font-size: clamp(1.45rem, 4vw, 2.4rem);
}

.task-reward-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.task-reward-grid div,
.career-goal-grid div {
  border-color: var(--line);
  background: white;
}

.task-reward-grid span,
.career-goal-grid span {
  color: var(--muted);
}

.task-reward-grid strong,
.career-goal-grid strong {
  color: var(--navy);
}

.dashboard-split {
  display: grid;
  gap: 12px;
}

.visual-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(15, 35, 63, 0.07);
}

.achievement-feed {
  display: grid;
  gap: 8px;
}

.achievement-feed article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
}

.achievement-feed article > span,
.leaderboard-list div > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #fff8df;
  color: #684a0f;
  font-weight: 900;
}

.achievement-feed strong {
  color: var(--navy);
}

.achievement-feed p,
.achievement-feed em {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
}

.attendance-track.green span {
  background: var(--good);
}

.attendance-track.red span {
  background: var(--bad);
}

.career-goal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-gallery {
  display: grid;
  gap: 10px;
}

.portfolio-gallery article {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
}

.portfolio-gallery .evidence-media {
  max-height: 150px;
}

.portfolio-gallery span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-gallery strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
}

.portfolio-gallery p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.portfolio-placeholder {
  display: grid;
  min-height: 120px;
  place-items: center;
  border: 1px dashed #b9c8d8;
  border-radius: 8px;
  background: white;
  color: var(--navy);
  font-weight: 900;
}

.leaderboard-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.leaderboard-list strong {
  color: var(--navy);
  font-size: 0.95rem;
  text-transform: none;
}

.leaderboard-list em {
  color: var(--gold);
}

.rating-panel {
  background:
    linear-gradient(180deg, rgba(27, 93, 137, 0.08), rgba(255, 255, 255, 0)),
    var(--paper);
}

.readiness-panel {
  background:
    linear-gradient(180deg, rgba(216, 167, 44, 0.12), rgba(255, 255, 255, 0)),
    var(--paper);
}

.readiness-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 58px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
  font-weight: 900;
}

.readiness-label.getting-there {
  background: #edf3f8;
  color: var(--blue);
}

.readiness-label.nearly-ready {
  background: #fff4cc;
  color: #7a5610;
}

.readiness-label.phase-2-ready {
  background: #e7f5ee;
  color: #1f5a43;
}

.readiness-label.red {
  background: #fde8e8;
  color: var(--bad);
}

.readiness-label.amber {
  background: #fff4cc;
  color: #7a5610;
}

.readiness-label.green {
  background: #e7f5ee;
  color: #1f5a43;
}

.readiness-meter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.readiness-gauge {
  display: grid;
  place-items: center;
  width: clamp(92px, 24vw, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--paper) 0 58%, transparent 59%),
    conic-gradient(var(--gold) calc(var(--readiness) * 1%), #e6edf5 0);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 22px rgba(15, 35, 63, 0.12);
  text-align: center;
}

.readiness-gauge strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.5rem, 7vw, 2rem);
  line-height: 1;
}

.readiness-gauge span {
  display: block;
  max-width: 74px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.readiness-bar {
  min-width: 0;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf5;
}

.readiness-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

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

.readiness-breakdown div {
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
}

.readiness-breakdown span,
.readiness-actions {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.readiness-breakdown span {
  display: block;
  text-transform: uppercase;
}

.readiness-breakdown strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 1.15rem;
}

.readiness-actions {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.readiness-actions li {
  position: relative;
  padding-left: 16px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.readiness-actions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.rating-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.rating-hero h4 {
  margin: 4px 0 8px;
  color: var(--navy);
  font-size: 1.6rem;
}

.rating-medal {
  --medal-start: #eef2f7;
  --medal-mid: #d7dee8;
  --medal-end: #aeb9c7;
  --medal-edge: #8794a5;
  --ribbon-left: var(--navy);
  --ribbon-right: var(--blue);
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(82px, 20vw, 116px);
  min-width: clamp(82px, 20vw, 116px);
  height: clamp(96px, 23vw, 136px);
}

.medal-ribbon {
  position: absolute;
  top: 0;
  width: 28%;
  height: 52%;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--ribbon-left), #0b2341);
  box-shadow: 0 8px 16px rgba(15, 35, 63, 0.14);
}

.medal-ribbon.left {
  left: 29%;
  transform: rotate(11deg);
}

.medal-ribbon.right {
  right: 29%;
  transform: rotate(-11deg);
  background: linear-gradient(180deg, var(--ribbon-right), #123c66);
}

.medal-disc {
  position: absolute;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 76%;
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(145deg, var(--medal-start), var(--medal-mid) 48%, var(--medal-end));
  box-shadow:
    inset 0 -5px 10px rgba(15, 35, 63, 0.14),
    inset 0 4px 8px rgba(255, 255, 255, 0.45),
    0 14px 28px rgba(15, 35, 63, 0.18);
}

.medal-disc::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 2px solid color-mix(in srgb, var(--medal-edge), white 38%);
  border-radius: 50%;
}

.medal-disc span {
  position: relative;
  color: #17335a;
  font-size: clamp(1.4rem, 5vw, 2.15rem);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.rating-medal.gold {
  --medal-start: #fff4bd;
  --medal-mid: #e3bb42;
  --medal-end: #b98212;
  --medal-edge: #9c6a0e;
  --ribbon-left: #112a4d;
  --ribbon-right: #d8a72c;
}

.rating-medal.silver {
  --medal-start: #f9fbfd;
  --medal-mid: #cbd4df;
  --medal-end: #8f9bad;
  --medal-edge: #667386;
  --ribbon-left: #123c66;
  --ribbon-right: #7d8998;
}

.rating-medal.bronze {
  --medal-start: #f7d8ae;
  --medal-mid: #c77b32;
  --medal-end: #884918;
  --medal-edge: #713810;
  --ribbon-left: #112a4d;
  --ribbon-right: #b66426;
}

.rating-medal.not-assessed {
  --medal-start: #f7f9fc;
  --medal-mid: #d7dee8;
  --medal-end: #aeb9c7;
  --medal-edge: #8794a5;
  --ribbon-left: #536173;
  --ribbon-right: #8b97a8;
}

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

.rating-counts div {
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
}

.rating-counts span {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rating-counts strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 1.35rem;
}

.rating-message {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.profile-panel {
  background:
    linear-gradient(180deg, rgba(216, 167, 44, 0.1), rgba(255, 255, 255, 0)),
    var(--paper);
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.learner-avatar {
  display: inline-grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(216, 167, 44, 0.72);
  border-radius: 50%;
  background: #fff8df;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  object-fit: cover;
}

.learner-avatar.large {
  width: 72px;
  height: 72px;
  min-width: 72px;
  font-size: 1rem;
}

.learner-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(216, 167, 44, 0.58);
  border-radius: 999px;
  background: #fff8df;
  color: #684a0f;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

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

.profile-grid div {
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
}

.profile-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-grid strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.progress-panel {
  background:
    linear-gradient(180deg, rgba(7, 27, 51, 0.04), rgba(255, 255, 255, 0)),
    var(--paper);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.panel-head h4 {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.progress-ring {
  --progress: 0;
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 72%, transparent 73%),
    conic-gradient(var(--gold) calc(var(--progress) * 1%), #e6edf5 0);
}

.progress-ring strong {
  color: var(--navy);
  font-size: 1.75rem;
}

.progress-ring span {
  display: block;
  max-width: 76px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.focus-task {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: var(--wash);
}

.focus-task span,
.action-row span,
.evidence-row span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.focus-task strong,
.action-row strong,
.evidence-row strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.focus-task p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.action-list {
  display: grid;
  gap: 8px;
}

.action-row,
.evidence-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: inherit;
  text-align: left;
}

.action-row {
  width: 100%;
}

.mini-upload {
  position: relative;
  display: inline-grid;
  min-height: 38px;
  min-width: 82px;
  place-items: center;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: white;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.mini-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.evidence-list {
  display: grid;
  gap: 8px;
}

.evidence-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.evidence-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.evidence-card-head span,
.evidence-card-head em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.evidence-card-head strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.evidence-media {
  display: block;
  width: 100%;
  max-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  object-fit: contain;
}

.evidence-file-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.evidence-card-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.evidence-card-actions span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-preview-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 2px solid #F2B632;
  border-radius: 18px;
  background: #0B1F4D;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 35, 63, 0.16);
}

.admin-preview-banner h3,
.admin-preview-banner p {
  margin: 0;
}

.admin-preview-banner .eyebrow {
  color: #F2B632;
}

.admin-learner-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.admin-learner-row-actions button {
  min-height: 40px;
}

[title="Disabled in Admin Preview Mode."] {
  cursor: not-allowed;
}

.disabled-control {
  opacity: 0.62;
  cursor: not-allowed;
}

select,
input[type="search"],
input[type="text"],
textarea,
.file-control {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

select {
  min-height: 44px;
  padding: 0 12px;
  font-weight: 700;
}

input[type="search"],
input[type="text"] {
  min-height: 44px;
  padding: 0 12px;
  font-weight: 700;
}

.portal-login {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.auth-panel,
.session-strip {
  display: grid;
  gap: 12px;
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.auth-panel h2 {
  margin: 4px 0 6px;
  color: var(--navy);
  font-size: 1.25rem;
}

.auth-panel p:not(.eyebrow),
.session-strip span {
  margin: 0;
  color: var(--muted);
}

#roleLoginForm {
  display: grid;
  gap: 8px;
}

#roleLoginForm select,
#roleLoginForm input {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--navy);
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
}

#roleLoginForm select {
  appearance: auto;
  cursor: pointer;
}

.session-strip {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.session-strip.learner-logout-strip,
.session-strip.admin-logout-strip {
  justify-items: end;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.session-strip.admin-logout-strip {
  margin: 0 0 10px;
}

.session-strip.learner-logout-strip #sessionLabel,
.session-strip.admin-logout-strip #sessionLabel {
  display: none;
}

.session-strip.learner-logout-strip .secondary-action,
.session-strip.admin-logout-strip .secondary-action {
  width: auto;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 35, 75, 0.08);
}

.session-strip.tutor-session-strip {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(49, 111, 177, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(15, 35, 75, 0.055);
}

.session-strip.tutor-session-strip span {
  color: #52647d;
  font-weight: 760;
}

.session-strip.tutor-session-strip .secondary-action {
  border-color: rgba(11, 31, 77, 0.34);
  color: #071b4d;
  font-weight: 900;
}

.portal-login h3 {
  margin: 4px 0 6px;
  color: var(--navy);
  font-size: 1.35rem;
}

.portal-login p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.portal-login form {
  display: grid;
  gap: 8px;
}

.portal-login label,
.comment-label {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.portal-login-row {
  display: grid;
  gap: 8px;
}

.login-error {
  min-height: 20px;
  color: var(--bad);
  font-size: 0.86rem;
  font-weight: 800;
}

.portal-logout {
  width: 100%;
}

textarea {
  min-height: 72px;
  padding: 10px;
  resize: vertical;
}

.login-shell {
  display: contents;
}

.login-card-panel {
  display: contents;
}

.login-visual-panel {
  display: none;
}

body:has(#authPanel:not(.hidden)),
body:has(#passwordRecoveryPanel:not(.hidden)),
body:has(#memberRegistrationPanel:not(.hidden)),
body:has(#memberWelcomePanel:not(.hidden)) {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(11, 31, 77, 0.08), rgba(242, 182, 50, 0.1)),
    #f4f7fb;
}

body:has(#authPanel:not(.hidden)) .app-shell,
body:has(#passwordRecoveryPanel:not(.hidden)) .app-shell,
body:has(#memberRegistrationPanel:not(.hidden)) .app-shell,
body:has(#memberWelcomePanel:not(.hidden)) .app-shell {
  width: min(100%, 1280px);
  min-height: 100vh;
  padding: clamp(14px, 2.4vw, 28px);
  display: grid;
  align-items: center;
}

body:has(#authPanel:not(.hidden)) .login-shell,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-shell,
body:has(#memberRegistrationPanel:not(.hidden)) .login-shell,
body:has(#memberWelcomePanel:not(.hidden)) .login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  min-height: min(760px, calc(100vh - 56px));
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(7, 27, 51, 0.18);
}

body:has(#authPanel:not(.hidden)) .login-visual-panel,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-visual-panel,
body:has(#memberRegistrationPanel:not(.hidden)) .login-visual-panel,
body:has(#memberWelcomePanel:not(.hidden)) .login-visual-panel {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 100%;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(4, 13, 34, 0.82) 0%, rgba(11, 31, 77, 0.66) 42%, rgba(11, 31, 77, 0.29) 100%),
    linear-gradient(0deg, rgba(4, 13, 34, 0.58), rgba(4, 13, 34, 0.07)),
    url("./public/assets/login-workshop-photo.webp") center / cover no-repeat;
  color: #ffffff;
}

body:has(#authPanel:not(.hidden)) .login-visual-panel {
  border-right: 2.5px solid rgba(242, 182, 50, 0.58);
}

body:has(#authPanel:not(.hidden)) .login-visual-panel::after,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-visual-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(4, 13, 34, 0.78), transparent);
  pointer-events: none;
}

.login-visual-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  max-width: 620px;
}

.login-visual-content .eyebrow {
  color: var(--gold-2);
}

.login-visual-content h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.login-visual-content p:not(.eyebrow) {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.55;
  font-weight: 700;
}

.login-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.login-feature-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(242, 215, 125, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(4, 13, 34, 0.18);
  backdrop-filter: blur(10px);
}

body:has(#authPanel:not(.hidden)) .login-card-panel,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-card-panel,
body:has(#memberRegistrationPanel:not(.hidden)) .login-card-panel,
body:has(#memberWelcomePanel:not(.hidden)) .login-card-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 4.8vw, 56px);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body:has(#authPanel:not(.hidden)) .topbar,
body:has(#passwordRecoveryPanel:not(.hidden)) .topbar {
  position: static;
  min-height: auto;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:has(#authPanel:not(.hidden)) .brand,
body:has(#passwordRecoveryPanel:not(.hidden)) .brand {
  max-width: 100%;
}

body:has(#authPanel:not(.hidden)) .brand-logo,
body:has(#passwordRecoveryPanel:not(.hidden)) .brand-logo {
  height: clamp(54px, 7vw, 78px);
}

body:has(#authPanel:not(.hidden)) .auth-panel,
body:has(#passwordRecoveryPanel:not(.hidden)) .auth-panel {
  gap: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:has(#authPanel:not(.hidden)) .auth-panel h2,
body:has(#passwordRecoveryPanel:not(.hidden)) .auth-panel h2 {
  margin: 6px 0 8px;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.08;
}

body:has(#authPanel:not(.hidden)) .auth-panel p:not(.eyebrow),
body:has(#passwordRecoveryPanel:not(.hidden)) .auth-panel p:not(.eyebrow) {
  max-width: 34rem;
  color: #536277;
  line-height: 1.55;
}

body:has(#authPanel:not(.hidden)) #roleLoginForm,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm {
  gap: 12px;
}

body:has(#authPanel:not(.hidden)) #roleLoginForm select,
body:has(#authPanel:not(.hidden)) #roleLoginForm input,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm input {
  min-height: 54px;
  border: 1px solid #ccd6e4;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(11, 31, 77, 0.04);
}

body:has(#authPanel:not(.hidden)) #roleLoginForm select:focus,
body:has(#authPanel:not(.hidden)) #roleLoginForm input:focus,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm input:focus {
  outline: 3px solid rgba(242, 182, 50, 0.28);
  border-color: var(--gold);
}

body:has(#authPanel:not(.hidden)) #roleLoginForm .primary-action,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm .primary-action {
  min-height: 56px;
  margin-top: 4px;
  border-color: #d99b18;
  background:
    linear-gradient(180deg, #f7ca58 0%, var(--gold) 100%);
  color: #132238;
  font-size: 1rem;
  box-shadow: 0 16px 30px rgba(168, 117, 18, 0.28);
}

body:has(#authPanel:not(.hidden)) #roleLoginForm .primary-action:hover:not(:disabled),
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm .primary-action:hover:not(:disabled) {
  background:
    linear-gradient(180deg, #ffd86d 0%, #ecae28 100%);
  box-shadow: 0 18px 34px rgba(168, 117, 18, 0.34);
}

body:has(#authPanel:not(.hidden)) main,
body:has(#passwordRecoveryPanel:not(.hidden)) main {
  display: none;
}

body:has(#memberRegistrationPanel:not(.hidden)) main,
body:has(#memberWelcomePanel:not(.hidden)) main { display: none; }

.account-mode-switch { display:flex; justify-content:center; align-items:center; gap:7px; color:#536783; font-weight:700; }
.account-mode-switch button { padding:4px; border:0; background:transparent; color:#0b4bb3; font:inherit; font-weight:900; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.account-mode-switch button:focus-visible { outline:3px solid rgba(242,182,50,.35); border-radius:4px; }
.member-registration-panel { width:min(100%,720px) !important; gap:20px !important; }
.member-registration-heading { text-align:center; display:grid; gap:7px; }
.member-registration-heading h1, .member-welcome-panel h1 { margin:0; color:#071b4d; font-size:clamp(2rem,3vw,2.7rem); line-height:1.06; }
#memberRegistrationForm { display:grid; gap:14px; }
.member-type-fieldset { min-width:0; margin:0; padding:0; border:0; }
.member-type-fieldset legend { margin-bottom:12px; color:#071b4d; font-size:1.35rem; font-weight:950; }
.member-type-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.member-type-card { position:relative; display:grid; grid-template-rows:auto 64px auto; gap:0; min-height:168px; padding:0 0 12px; overflow:hidden; border:1px solid #d9aa3d; border-radius:12px; background:#fff; text-align:center; cursor:pointer; box-shadow:0 8px 20px rgba(7,27,77,.05); transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease; }
.member-type-card:hover { transform:translateY(-2px); box-shadow:0 14px 28px rgba(7,27,77,.12); }
.member-type-card:has(input:checked) { border:2px solid #d9911b; background:linear-gradient(180deg,#fffdf7,#fff8e8); box-shadow:0 12px 26px rgba(168,117,18,.16); }
.member-type-card:has(input:focus-visible) { outline:3px solid rgba(242,182,50,.3); outline-offset:2px; }
.member-type-card input { position:absolute; opacity:0; pointer-events:none; }
.member-type-card-header { display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:8px; border-bottom:2px solid #d9aa3d; background:#071b4d; }
.member-type-icon { display:grid; place-items:center; width:26px; height:26px; border:1px solid rgba(242,182,50,.7); border-radius:999px; color:#f2b632; font-weight:950; }
.member-type-card strong { color:#fff; font-size:1rem; }
.member-type-image-placeholder { display:block; background:linear-gradient(135deg,rgba(7,27,77,.09),rgba(242,182,50,.12)),url("./public/assets/login-workshop-photo.webp") center 44%/cover no-repeat; opacity:.82; }
.member-type-card small { align-self:center; padding:10px 9px 0; color:#667892; font-size:.75rem; line-height:1.3; }
@media (prefers-reduced-motion:reduce) { .member-type-card { transition:none; } .member-type-card:hover { transform:none; } }
#memberRegistrationForm input:not([type=radio]) { width:100%; min-height:48px; padding:0 14px; border:1px solid #d4dce8; border-radius:8px; background:#fff; color:#071b4d; font:inherit; }
#memberRegistrationForm input:not([type=radio]):focus { border-color:#d9911b; outline:3px solid rgba(242,182,50,.22); }
#memberRegistrationForm .primary-action, .member-welcome-panel .primary-action { min-height:54px; border:2px solid #d9911b; background:linear-gradient(180deg,#092f70,#061a3c); color:#fff; font-weight:950; }
.member-form-help { margin:-8px 0 0; color:#667892; font-size:.8rem; }
.member-welcome-panel { justify-items:center; text-align:center; }
.member-welcome-mark { display:grid; place-items:center; width:64px; height:64px; border-radius:999px; background:#071b4d; color:#f2b632; font-size:1.8rem; font-weight:950; box-shadow:0 12px 28px rgba(7,27,77,.2); }

@media (max-width: 980px) {
  body:has(#memberRegistrationPanel:not(.hidden)) .app-shell,
  body:has(#memberWelcomePanel:not(.hidden)) .app-shell { padding:0; align-items:start; }
  body:has(#memberRegistrationPanel:not(.hidden)) .login-shell,
  body:has(#memberWelcomePanel:not(.hidden)) .login-shell { grid-template-columns:1fr; min-height:100vh; border:0; border-radius:0; }
  body:has(#memberRegistrationPanel:not(.hidden)) .login-card-panel,
  body:has(#memberWelcomePanel:not(.hidden)) .login-card-panel { padding:34px 20px 42px; }
}
@media (max-width: 620px) { .member-type-grid { grid-template-columns:1fr; } .member-type-card { min-height:98px; } }

/* Public member registration shares the approved premium login shell. */
body:has(#memberRegistrationPanel:not(.hidden)), body:has(#memberWelcomePanel:not(.hidden)) { min-height:100vh; background:radial-gradient(circle at 8% 0%,rgba(242,182,50,.14),transparent 24rem),linear-gradient(180deg,#f7fbff,#eef4fa); }
body:has(#memberRegistrationPanel:not(.hidden)) .app-shell, body:has(#memberWelcomePanel:not(.hidden)) .app-shell { width:min(100%,1540px); min-height:100vh; padding:clamp(18px,2vw,28px); display:grid; align-items:center; }
body:has(#memberRegistrationPanel:not(.hidden)) .login-shell, body:has(#memberWelcomePanel:not(.hidden)) .login-shell { display:grid; grid-template-columns:minmax(0,.9fr) minmax(620px,1.1fr); min-height:min(960px,calc(100vh - 46px)); overflow:hidden; border:1px solid rgba(242,182,50,.48); border-radius:18px; background:#fff; box-shadow:0 34px 80px rgba(7,27,77,.2); }
body:has(#memberRegistrationPanel:not(.hidden)) .login-visual-panel, body:has(#memberWelcomePanel:not(.hidden)) .login-visual-panel { position:relative; display:grid; min-height:100%; padding:clamp(34px,4vw,64px); align-content:space-between; overflow:hidden; background:linear-gradient(90deg,rgba(4,13,34,.92),rgba(7,27,77,.5)),linear-gradient(0deg,rgba(4,13,34,.9),rgba(4,13,34,.18)),url("./public/assets/login-workshop-photo.webp") center/cover no-repeat; color:#fff; }
body:has(#memberRegistrationPanel:not(.hidden)) .login-card-panel, body:has(#memberWelcomePanel:not(.hidden)) .login-card-panel { display:grid; align-content:center; justify-items:center; padding:clamp(28px,4vw,58px); background:radial-gradient(circle at 100% 0%,rgba(242,182,50,.07),transparent 18rem),linear-gradient(180deg,#fff 0%,#f4f8fd 100%); }
body:has(#memberRegistrationPanel:not(.hidden)) .topbar, body:has(#memberWelcomePanel:not(.hidden)) .topbar { display:none; }
body:has(#memberRegistrationPanel:not(.hidden)) .auth-panel, body:has(#memberWelcomePanel:not(.hidden)) .auth-panel { display:grid; margin:0; padding:0; border:0; background:transparent; box-shadow:none; }

@media (max-width:980px) {
  body:has(#memberRegistrationPanel:not(.hidden)) .login-shell, body:has(#memberWelcomePanel:not(.hidden)) .login-shell { grid-template-columns:1fr; }
  body:has(#memberRegistrationPanel:not(.hidden)) .login-visual-panel, body:has(#memberWelcomePanel:not(.hidden)) .login-visual-panel { min-height:420px; padding:28px 24px 34px; }
}

/* FULL-PAGE PREMIUM MEMBER REGISTRATION — presentation only */
body:has(#memberRegistrationPanel:not(.hidden)) .app-shell {
  width: min(100%, 1440px);
  padding: clamp(24px, 3.5vw, 52px);
  align-items: start;
}

body:has(#memberRegistrationPanel:not(.hidden)) .login-shell {
  display: block;
  min-height: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:has(#memberRegistrationPanel:not(.hidden)) .login-visual-panel,
body:has(#memberRegistrationPanel:not(.hidden)) .topbar,
body:has(#memberRegistrationPanel:not(.hidden)) .tutor-welcome-card {
  display: none !important;
}

body:has(#memberRegistrationPanel:not(.hidden)) .login-card-panel {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-registration-panel {
  width: 100% !important;
  max-width: none;
  gap: clamp(28px, 3vw, 42px) !important;
}

.member-registration-hero {
  justify-items: start;
  gap: 10px;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid rgba(7, 27, 77, 0.13);
  border-top: 4px solid #d9aa3d;
  border-radius: 18px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 22px 52px rgba(7, 27, 77, 0.1);
}

.member-registration-hero::after {
  content: "";
  width: 72px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: #d9aa3d;
}

.member-registration-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  letter-spacing: -0.035em;
}

.member-registration-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #536783;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

body:has(#memberRegistrationPanel:not(.hidden)) #memberRegistrationForm {
  gap: 26px;
  padding: clamp(26px, 3.5vw, 46px);
  border: 1px solid rgba(7, 27, 77, 0.13);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 46px rgba(7, 27, 77, 0.085);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-fieldset legend {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card {
  grid-template-rows: auto auto minmax(74px, auto);
  min-height: 427px;
  border-radius: 16px;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card:has(input:checked) {
  transform: translateY(-3px) scale(1.008);
  border-width: 2px;
  box-shadow: 0 22px 42px rgba(7, 27, 77, 0.18), 0 0 0 3px rgba(217, 170, 61, 0.16);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card-header {
  min-height: 64px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card-header strong {
  font-size: 1.08rem;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  opacity: 0.86;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card small {
  display: grid;
  align-content: center;
  padding: 18px 22px 8px;
  color: #445974;
  font-size: 0.94rem;
  line-height: 1.5;
  font-weight: 720;
}

.member-registration-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  padding-top: 4px;
  border-top: 1px solid #e2e8f0;
}

.member-password-field {
  grid-column: 1 / -1;
}

.member-password-field .member-form-help {
  margin: 0;
}

body:has(#memberRegistrationPanel:not(.hidden)) #memberRegistrationSubmit {
  width: min(100%, 420px);
  justify-self: center;
}

body:has(#memberRegistrationPanel:not(.hidden)) .account-mode-switch {
  padding: 2px 0 10px;
  font-size: 1rem;
}

@media (max-width: 1100px) {
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card {
    min-height: 386px;
  }
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card small {
    padding-inline: 14px;
    font-size: 0.86rem;
  }
}

/* TWO-STEP ROLE-FIRST MEMBER REGISTRATION — interaction presentation only */
body:has(#memberRegistrationPanel:not(.hidden)) .member-registration-hero {
  padding: clamp(18px, 2.3vw, 32px);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-registration-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.35rem);
}

#memberRegistrationForm[data-registration-step="role"] .member-registration-details {
  display: none;
}

#memberRegistrationForm[data-registration-step="details"] .member-type-fieldset {
  display: none;
}

.member-registration-details {
  display: grid;
  gap: 24px;
  width: min(100%, 900px);
  margin: 0 auto;
  animation: member-details-reveal 180ms ease-out;
}

.member-details-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.member-details-heading h2 {
  margin: 3px 0 0;
  color: #071b4d;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.member-registration-details #memberRegistrationSubmit {
  justify-self: center;
}

@keyframes member-details-reveal {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .member-details-heading { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .member-registration-details { animation: none; }
}

@media (max-width: 820px) {
  body:has(#memberRegistrationPanel:not(.hidden)) .app-shell { padding: 18px; }
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-grid { grid-template-columns: 1fr; }
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card { min-height: 0; }
  .member-registration-fields { grid-template-columns: 1fr; }
  .member-password-field { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card:has(input:checked) { transform: none; }
}

/* PREMIUM MEMBER ROLE GATEWAY — presentation only */
body:has(#memberRegistrationPanel:not(.hidden)) .member-registration-panel {
  gap: clamp(20px, 2.1vw, 30px) !important;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-registration-hero {
  gap: 7px;
  padding: clamp(16px, 1.8vw, 24px) clamp(22px, 2.8vw, 38px);
  box-shadow: 0 14px 34px rgba(7, 27, 77, 0.075);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-registration-hero::after {
  width: 58px;
  margin-top: 3px;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-registration-hero h1 {
  font-size: clamp(2.25rem, 3.9vw, 3.8rem);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-registration-hero p:not(.eyebrow) {
  font-size: clamp(0.94rem, 1.15vw, 1.06rem);
}

body:has(#memberRegistrationPanel:not(.hidden)) #memberRegistrationForm[data-registration-step="role"] {
  gap: 0;
  padding: clamp(26px, 3vw, 40px);
  border-color: rgba(7, 27, 77, 0.16);
  border-top: 3px solid #d9aa3d;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 182, 50, 0.075), transparent 22rem),
    linear-gradient(180deg, #f8fbff 0%, #f2f6fb 100%);
  box-shadow: 0 24px 56px rgba(7, 27, 77, 0.11);
}

body:has(#memberRegistrationPanel:not(.hidden)) #memberRegistrationForm[data-registration-step="role"] .member-type-fieldset legend {
  width: 100%;
  margin-bottom: clamp(24px, 2.8vw, 34px);
  color: #071b4d;
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: center;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-grid {
  gap: clamp(18px, 2.25vw, 30px);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card {
  grid-template-rows: 70px auto minmax(90px, auto);
  min-height: 442px;
  border: 1.5px solid #d9aa3d;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.105);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #bf8413;
  box-shadow: 0 24px 46px rgba(7, 27, 77, 0.17);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card:has(input:focus-visible) {
  outline: 4px solid rgba(11, 75, 179, 0.26);
  outline-offset: 4px;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card:has(input:checked) {
  transform: translateY(-5px) scale(1.02);
  border-color: #b8790c;
  border-width: 3px;
  background: #ffffff;
  box-shadow: 0 26px 48px rgba(7, 27, 77, 0.2), 0 0 0 4px rgba(217, 170, 61, 0.2);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card:has(input:checked)::after {
  content: "Selected";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 7px;
  border: 1px solid rgba(242, 182, 50, 0.78);
  border-radius: 999px;
  background: #ffffff;
  color: #071b4d;
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card-header {
  min-height: 70px;
  padding: 12px 16px;
  border-bottom: 3px solid #d9aa3d;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card-header strong {
  font-size: clamp(1.04rem, 1.25vw, 1.2rem);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-image-placeholder {
  aspect-ratio: 16 / 9;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  opacity: 0.92;
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card small {
  padding: 20px 22px 16px;
  color: #354d6c;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.5;
}

body:has(#memberRegistrationPanel:not(.hidden)) #memberRegistrationForm[data-registration-step="role"] + .account-mode-switch {
  padding-top: 0;
  color: #64748b;
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card {
    grid-template-rows: 64px auto minmax(104px, auto);
    min-height: 400px;
  }
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card-header { min-height: 64px; }
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card small { padding: 17px 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card,
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card:hover,
  body:has(#memberRegistrationPanel:not(.hidden)) .member-type-card:has(input:checked) {
    transform: none;
    transition: none;
  }
}

/* PREMIUM EMPLOYER ACCOUNT FORM — unified Step 2 presentation */
body:has(#memberRegistrationForm[data-registration-step="details"]) .member-registration-hero {
  display: none;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .member-registration-panel {
  justify-items: center;
  gap: 18px !important;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) #memberRegistrationForm {
  width: min(100%, 980px);
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(7, 27, 77, 0.15);
  border-top: 4px solid #d9aa3d;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 58px rgba(7, 27, 77, 0.12);
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .member-registration-details {
  width: 100%;
  gap: clamp(22px, 2.5vw, 28px);
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .member-details-heading {
  display: block;
  padding: 0;
  border-bottom: 0;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .member-details-heading h2 {
  margin-top: 0;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  letter-spacing: -0.035em;
}

.member-details-intro {
  max-width: 720px;
  margin: 12px 0 0;
  color: #536783;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.55;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .member-registration-fields {
  gap: 20px 24px;
  padding-top: 0;
  border-top: 0;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .member-registration-fields .login-field {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .member-registration-fields .login-field > span:first-child {
  min-height: 20px;
  color: #071b4d;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .member-registration-fields input:not([type="radio"]) {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #cfd8e5;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.2;
}

#memberRegistrationForm[data-registration-role="employer"] .member-password-field {
  grid-column: auto;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) #memberRegistrationSubmit {
  width: min(100%, 380px);
  margin-top: 2px;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .account-mode-switch {
  display: none;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .member-registration-step-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* FULL-PAGE PHOTOGRAPHIC ROLE GATEWAY — account-type selection only */
body:has(#memberRegistrationForm[data-registration-step="role"]) .member-registration-panel {
  gap: clamp(22px, 2.6vw, 36px) !important;
}

body:has(#memberRegistrationForm[data-registration-step="role"]) .member-role-gateway-heading {
  text-align: center;
}

body:has(#memberRegistrationForm[data-registration-step="role"]) .member-role-gateway-heading h1 {
  margin: 0;
  color: #071b4d;
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

body:has(#memberRegistrationForm[data-registration-step="role"]) #memberRegistrationTitle:focus {
  outline: none;
}

body:has(#memberRegistrationForm[data-registration-step="details"]) .member-role-gateway-heading {
  display: none;
}

body:has(#memberRegistrationForm[data-registration-step="role"]) #memberRegistrationForm {
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:has(#memberRegistrationForm[data-registration-step="role"]) .member-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  align-items: stretch;
}

body:has(#memberRegistrationForm[data-registration-step="role"]) .member-type-card {
  grid-template-rows: 70px auto minmax(96px, 1fr);
  min-height: 430px;
  height: 100%;
  padding: 0;
  border: 1.5px solid #d9aa3d;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(7, 27, 77, 0.12);
}

body:has(#memberRegistrationForm[data-registration-step="role"]) .member-type-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

body:has(#memberRegistrationForm[data-registration-step="role"]) .member-type-image-employer {
  object-position: 50% 48%;
}

body:has(#memberRegistrationForm[data-registration-step="role"]) .member-type-image-electrician {
  object-position: 50% 44%;
}

body:has(#memberRegistrationForm[data-registration-step="role"]) .member-type-image-apprentice {
  object-position: 50% 46%;
}

body:has(#memberRegistrationForm[data-registration-step="role"]) .member-type-card small {
  padding: 20px 22px;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
}

body:has(#memberRegistrationPanel:not(.hidden)) .member-registration-step-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  body:has(#memberRegistrationForm[data-registration-step="role"]) .member-type-card {
    grid-template-rows: 64px auto minmax(104px, 1fr);
    min-height: 370px;
  }
}

@media (max-width: 820px) {
  body:has(#memberRegistrationForm[data-registration-step="role"]) .member-type-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body:has(#memberRegistrationForm[data-registration-step="details"]) #memberRegistrationForm {
    padding: 26px 20px 30px;
  }
  body:has(#memberRegistrationForm[data-registration-step="details"]) .member-registration-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body:has(#authPanel:not(.hidden)) .app-shell,
  body:has(#passwordRecoveryPanel:not(.hidden)) .app-shell {
    align-items: start;
    padding: 0;
  }

  body:has(#authPanel:not(.hidden)) .login-shell,
  body:has(#passwordRecoveryPanel:not(.hidden)) .login-shell {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  body:has(#authPanel:not(.hidden)) .login-visual-panel,
  body:has(#passwordRecoveryPanel:not(.hidden)) .login-visual-panel {
    min-height: 300px;
    padding: 24px;
    background-position: center 43%;
  }

  .login-visual-content {
    gap: 12px;
  }

  .login-visual-content h1 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .login-feature-pills span {
    min-height: 31px;
    font-size: 0.76rem;
  }

  body:has(#authPanel:not(.hidden)) .login-card-panel,
  body:has(#passwordRecoveryPanel:not(.hidden)) .login-card-panel {
    align-content: start;
    padding: 24px 18px 30px;
  }
}

.lesson-list,
.review-stack,
.admin-grid,
.admin-record-panels,
.admin-marking-panel,
.learner-portal-grid {
  display: grid;
  gap: 12px;
}

.admin-grid > .cohort-slot-overview,
.admin-record-panels > .live-setup-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid #dbe3ef;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 35, 63, 0.07);
}

.live-setup-panel h4,
.live-setup-panel p {
  margin: 0;
}

.live-setup-panel h4 {
  color: #0B1F4D;
  font-size: 1.35rem;
}

.live-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .live-setup-panel {
    grid-template-columns: 1fr;
  }

  .live-admin-actions {
    justify-content: stretch;
  }

  .live-admin-actions button {
    width: 100%;
  }
}

.cohort-slot-overview {
  grid-column: 1 / -1;
}

.portal-record-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.portal-record-panel h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.passport-lines,
.award-list,
.attendance-list,
.feedback-list {
  display: grid;
  gap: 8px;
}

.passport-lines span,
.award-list div,
.attendance-list div,
.feedback-list div {
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
}

.award-list div,
.attendance-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.award-list span,
.attendance-list span,
.feedback-list span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.award-list strong,
.attendance-list strong,
.feedback-list strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.attendance-list em {
  color: var(--blue);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.feedback-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.reflection-box {
  min-height: 86px;
}

.admin-controls {
  display: grid;
  gap: 8px;
}

.admissions-page {
  gap: 18px;
  padding: 18px;
  border-color: rgba(216, 167, 44, 0.36);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.12), transparent 14rem),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.admissions-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admissions-summary div,
.admissions-learner-card {
  border: 1px solid rgba(215, 227, 241, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(11, 31, 77, 0.07);
}

.admissions-summary div {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.admissions-summary span,
.admissions-learner-meta small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admissions-summary strong,
.admissions-learner-meta strong {
  color: #071b4d;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.admissions-learner-list {
  display: grid;
  gap: 12px;
}

.admissions-learner-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.admissions-learner-photo .learner-avatar.large {
  width: 76px;
  height: 76px;
  border: 4px solid #ffffff;
  outline: 3px solid rgba(242, 182, 50, 0.72);
  box-shadow: 0 12px 24px rgba(11, 31, 77, 0.15);
}

.admissions-learner-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admissions-learner-main h5 {
  margin: 0;
  color: #071b4d;
  font-size: 1.2rem;
  line-height: 1.15;
}

.admissions-learner-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admissions-learner-meta span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  background: #f8fbff;
}

.admin-search-results-panel,
.admin-learner-intelligence-page {
  display: grid;
  gap: 16px;
}

.admin-search-result-list {
  display: grid;
  gap: 12px;
}

.admin-search-result-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 16px;
  text-align: left;
  border: 1px solid rgba(215, 227, 241, 0.92);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(11, 31, 77, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-search-result-card:hover,
.admin-search-result-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 182, 50, 0.55);
  box-shadow: 0 20px 42px rgba(7, 27, 77, 0.14);
}

.admin-search-result-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-search-result-main strong {
  color: #071b4d;
  font-size: 1.08rem;
  font-weight: 1000;
}

.admin-search-result-main em,
.admin-search-result-main small,
.admin-search-result-score small {
  color: #64748b;
  font-style: normal;
  font-weight: 850;
}

.admin-search-result-score {
  display: grid;
  justify-items: center;
  min-width: 86px;
  padding: 10px;
  border-radius: 16px;
  background: #071b4d;
  color: #ffffff;
}

.admin-search-result-score b {
  color: #f2b632;
  font-size: 1.3rem;
}

.admin-intel-actions-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-intel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1.48fr) minmax(220px, 0.42fr);
  gap: 26px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid rgba(242, 182, 50, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.14), transparent 18rem),
    linear-gradient(135deg, #071b4d 0%, #0d2c66 100%);
  color: #ffffff;
  box-shadow: 0 24px 54px rgba(7, 27, 77, 0.22);
}

.admin-intel-identity {
  display: flex;
  gap: 28px;
  align-items: center;
  min-width: 0;
}

.admin-intel-identity .learner-avatar.large {
  width: 134px;
  height: 134px;
  min-width: 134px;
  border: 4px solid #ffffff;
  outline: 3px solid #f2b632;
}

.admin-intel-identity h3 {
  margin: 4px 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.admin-intel-identity p:not(.eyebrow) {
  margin: 0;
  color: #d7e3ee;
  font-weight: 800;
}

.admin-intel-hero-meta,
.admin-intel-kpi-grid,
.admin-intel-metric-grid {
  display: grid;
  gap: 10px;
}

.admin-intel-hero-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-intel-hero.school-intel-hero {
  grid-template-columns: minmax(360px, 1.18fr) minmax(420px, 1.42fr);
}

.admin-intel-hero-meta span,
.admin-intel-kpi-grid .admin-intel-metric,
.admin-intel-card {
  border: 1px solid rgba(215, 227, 241, 0.86);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(11, 31, 77, 0.08);
}

.admin-intel-hero-meta span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.admin-intel-hero-meta small,
.admin-intel-metric span,
.admin-intel-card .eyebrow {
  color: #b98208;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-intel-hero-meta small {
  color: #f2d77d;
}

.admin-intel-hero-meta strong {
  overflow-wrap: anywhere;
}

.admin-intel-action-stack {
  display: grid;
  gap: 10px;
}

.admin-intel-action-stack button {
  width: 100%;
}

.admin-intel-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-intel-summary-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(242, 182, 50, 0.26);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.12), transparent 14rem),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 20px 46px rgba(11, 31, 77, 0.11);
}

.admin-intel-summary-main {
  display: grid;
  gap: 8px;
  align-content: center;
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.16), transparent 11rem),
    linear-gradient(135deg, #071b4d 0%, #0d2c66 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(7, 27, 77, 0.18);
}

.admin-intel-summary-main .eyebrow {
  color: #f2d77d;
}

.admin-intel-summary-main h4 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.05;
}

.admin-intel-summary-main p:not(.eyebrow) {
  margin: 0;
  color: #d7e3ee;
  font-weight: 750;
  line-height: 1.45;
}

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

.admin-intel-summary-grid article {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(215, 227, 241, 0.9);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(11, 31, 77, 0.07);
}

.admin-intel-summary-grid span {
  color: #b98208;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-intel-summary-grid strong {
  color: #071b4d;
  font-size: 1.05rem;
  font-weight: 1000;
}

.admin-intel-summary-grid ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  color: #071b4d;
  font-weight: 850;
}

.admin-intel-section,
.admin-intel-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(215, 227, 241, 0.9);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 40px rgba(11, 31, 77, 0.09);
}

.admin-performance-dashboard {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(242, 182, 50, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.1), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 22px 52px rgba(11, 31, 77, 0.1);
}

.admin-performance-dashboard-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.16), transparent 13rem),
    linear-gradient(135deg, #071b4d 0%, #0d2c66 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(7, 27, 77, 0.18);
}

.admin-performance-dashboard-head h4 {
  margin: 4px 0 6px;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.05;
}

.admin-performance-dashboard-head p:not(.eyebrow) {
  margin: 0;
  color: #d7e3ee;
  font-weight: 760;
  line-height: 1.45;
}

.admin-performance-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-performance-dashboard-stats span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.admin-performance-dashboard-stats small {
  color: #f2d77d;
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-performance-dashboard-stats strong {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 1000;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-metric-rag-section {
  display: grid;
  gap: 12px;
}

.admin-metric-rag-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.admin-metric-rag-heading h5 {
  margin: 0;
  color: #071b4d;
  font-size: 1.05rem;
  font-weight: 1000;
}

.admin-metric-rag-heading span {
  color: #b98208;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-priority-empty-state {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(125, 143, 166, 0.24);
  border-left: 4px solid rgba(100, 116, 139, 0.42);
  border-radius: 20px;
  background: linear-gradient(135deg, #f3f6fa 0%, #fbfdff 100%);
  box-shadow: 0 12px 26px rgba(11, 31, 77, 0.07);
}

.admin-priority-empty-state strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.admin-priority-empty-state p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.45;
}

.admin-intel-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-intel-metric {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 132px;
  padding: 16px;
  border-left: 4px solid rgba(100, 116, 139, 0.35);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 14px 30px rgba(11, 31, 77, 0.075);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.admin-intel-metric:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 36px rgba(11, 31, 77, 0.12);
}

.admin-intel-metric-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.admin-intel-metric-head span {
  max-width: 11rem;
  line-height: 1.25;
}

.admin-intel-metric strong {
  color: #071b4d;
  font-size: 1.28rem;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.admin-intel-kpi-grid .admin-intel-metric strong {
  font-size: 1.72rem;
}

.admin-intel-metric.secondary {
  min-height: 118px;
}

.admin-intel-metric.secondary strong {
  font-size: 1.18rem;
}

.admin-intel-metric-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.admin-intel-metric-meta small {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
}

.admin-intel-metric-meta em {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #071b4d;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.admin-intel-metric p {
  margin: 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 850;
}

.admin-intel-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11, 31, 77, 0.08);
}

.admin-intel-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(11, 31, 77, 0.2);
}

.admin-intel-metric.green {
  border-color: rgba(64, 128, 92, 0.24);
  border-left-color: rgba(46, 125, 82, 0.52);
  background: linear-gradient(135deg, #eef8f1 0%, #fbfefc 100%);
}

.admin-intel-metric.green strong {
  color: #0f6f50;
}

.admin-intel-metric.green .admin-intel-metric-meta em {
  border-color: rgba(46, 125, 82, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: #0f6f50;
}

.admin-intel-metric.amber {
  border-color: rgba(210, 145, 45, 0.24);
  border-left-color: rgba(204, 139, 36, 0.55);
  background: linear-gradient(135deg, #fff6e4 0%, #fffdf8 100%);
}

.admin-intel-metric.amber strong {
  color: #8a6100;
}

.admin-intel-metric.amber .admin-intel-metric-meta em {
  border-color: rgba(204, 139, 36, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: #8a6100;
}

.admin-intel-metric.red {
  border-color: rgba(190, 82, 88, 0.24);
  border-left-color: rgba(176, 67, 77, 0.55);
  background: linear-gradient(135deg, #fff0f1 0%, #fffafa 100%);
}

.admin-intel-metric.red strong {
  color: #9f2f2f;
}

.admin-intel-metric.red .admin-intel-metric-meta em {
  border-color: rgba(176, 67, 77, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: #9f2f2f;
}

.admin-intel-metric.muted {
  border-color: rgba(125, 143, 166, 0.24);
  border-left-color: rgba(100, 116, 139, 0.42);
  background: linear-gradient(135deg, #f3f6fa 0%, #fbfdff 100%);
}

.admin-intel-metric.muted strong {
  color: #64748b;
}

.admin-intel-metric.muted .admin-intel-metric-meta em {
  border-color: rgba(100, 116, 139, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: #52657d;
}

.admin-intel-metric.muted .admin-intel-progress i {
  background: rgba(100, 116, 139, 0.18);
}

.admin-intel-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-intel-card h4 {
  margin: 0;
  color: #071b4d;
  font-size: 1.2rem;
}

.admin-intel-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
}

.admin-intel-list {
  display: grid;
  gap: 9px;
}

.admin-intel-list div {
  display: grid;
  gap: 3px;
  padding: 11px;
  border-radius: 14px;
  background: #f8fbff;
}

.admin-intel-list strong {
  color: #071b4d;
}

.admin-intel-list span {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 750;
}

.learner-intelligence-centre-page {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.learner-intelligence-centre-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
}

.learner-intelligence-selector-panel,
.learner-intelligence-selected-card,
.learner-intelligence-strategy-panel,
.learner-intelligence-phase-review {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(216, 167, 44, 0.32);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 40px rgba(11, 31, 77, 0.09);
}

.learner-intelligence-selector-panel {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: end;
}

.learner-intelligence-selector-panel h4,
.learner-intelligence-selected-card h4 {
  margin: 0;
  color: #071b4d;
  font-size: 1.22rem;
}

.learner-intelligence-selector-panel p,
.learner-intelligence-selected-card p {
  margin: 0;
  color: #64748b;
  font-weight: 780;
}

.learner-intelligence-selector-panel select {
  width: 100%;
  min-height: 48px;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(11, 31, 77, 0.18);
  border-radius: 12px;
  background: #ffffff;
  color: #071b4d;
  font-weight: 850;
}

.learner-intelligence-selected-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.learner-intelligence-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.learner-intelligence-question-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(215, 227, 241, 0.95);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(11, 31, 77, 0.075);
}

.learner-intelligence-question-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.learner-intelligence-question-head > span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  min-width: 34px;
  place-items: center;
  border-radius: 50%;
  background: #071b4d;
  color: #f2b632;
  font-weight: 1000;
}

.learner-intelligence-question-head h5 {
  margin: 0;
  color: #071b4d;
  font-size: 1rem;
  line-height: 1.3;
}

.learner-intelligence-question-head p {
  margin: 3px 0 0;
  color: #b98208;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.learner-intelligence-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.learner-intelligence-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(11, 31, 77, 0.14);
  border-radius: 999px;
  background: #f8fbff;
  color: #071b4d;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.learner-intelligence-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.learner-intelligence-option.selected {
  border-color: rgba(216, 167, 44, 0.72);
  background: #fff5d6;
  box-shadow: inset 0 0 0 1px rgba(216, 167, 44, 0.2);
}

.learner-intelligence-note {
  display: grid;
  gap: 6px;
  color: #071b4d;
  font-size: 0.82rem;
  font-weight: 900;
}

.learner-intelligence-note textarea {
  min-height: 82px;
  resize: vertical;
  border: 1px solid rgba(11, 31, 77, 0.16);
  border-radius: 12px;
  background: #ffffff;
  color: #071b4d;
}

.learner-intelligence-limit-message {
  min-height: 18px;
  margin: 0;
  color: #9b1c1c;
  font-size: 0.78rem;
  font-weight: 850;
}

.learner-intelligence-actions {
  background: #ffffff;
}

.learner-intelligence-strategy-grid,
.learner-intelligence-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.learner-intelligence-strategy-grid article,
.learner-intelligence-review-status,
.learner-intelligence-review-grid article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(215, 227, 241, 0.95);
  border-radius: 18px;
  background: #ffffff;
}

.learner-intelligence-strategy-grid h5,
.learner-intelligence-review-status h5,
.learner-intelligence-review-grid strong {
  margin: 0;
  color: #071b4d;
  font-size: 0.96rem;
  font-weight: 1000;
}

.learner-intelligence-strategy-grid ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.42;
}

.learner-intelligence-review-status p,
.learner-intelligence-review-grid p {
  margin: 0;
  color: #64748b;
  font-weight: 780;
  line-height: 1.45;
}

.learner-intelligence-strategy-panel {
  gap: 18px;
  border-color: rgba(216, 167, 44, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #fffaf0 100%);
}

.learner-intelligence-strategy-rag-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.learner-intelligence-strategy-grid .learner-intelligence-strategy-card,
.learner-intelligence-strategy-summary-card {
  position: relative;
  overflow: hidden;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(11, 31, 77, 0.08);
}

.learner-intelligence-strategy-grid .learner-intelligence-strategy-card::before,
.learner-intelligence-strategy-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
}

.learner-intelligence-strategy-card--green {
  border-color: rgba(27, 128, 82, 0.2);
  background: #effaf3;
}

.learner-intelligence-strategy-card--green::before {
  background: #36a269;
}

.learner-intelligence-strategy-card--amber {
  border-color: rgba(188, 111, 18, 0.22);
  background: #fff6e6;
}

.learner-intelligence-strategy-card--amber::before {
  background: #e39a2d;
}

.learner-intelligence-strategy-card--red {
  border-color: rgba(190, 71, 71, 0.22);
  background: #fff0f0;
}

.learner-intelligence-strategy-card--red::before {
  background: #d96b6b;
}

.learner-intelligence-strategy-card-head {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.learner-intelligence-strategy-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  padding: 5px 10px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #071b4d;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.learner-intelligence-strategy-card-head h5 {
  margin: 0;
  color: #071b4d;
  font-size: 1.04rem;
  line-height: 1.2;
  font-weight: 1000;
}

.learner-intelligence-strategy-grid .learner-intelligence-strategy-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.learner-intelligence-strategy-grid .learner-intelligence-strategy-card li {
  position: relative;
  padding-left: 18px;
  color: #263446;
  font-size: 0.91rem;
  font-weight: 790;
  line-height: 1.42;
}

.learner-intelligence-strategy-grid .learner-intelligence-strategy-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.42;
}

.learner-intelligence-strategy-summary-card {
  border-color: rgba(49, 111, 177, 0.2);
  background: #edf6ff;
}

.learner-intelligence-strategy-summary-card::before {
  background: #4d93d9;
}

.learner-intelligence-strategy-summary-card p {
  max-width: 920px;
  color: #1e3858;
  font-size: 0.98rem;
  font-weight: 820;
  line-height: 1.55;
}

.phase-teaching-brief {
  gap: 18px;
}

.phase-teaching-brief-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.phase-teaching-brief-head h4 {
  margin: 0;
  color: #071b4d;
  font-size: 1.42rem;
  line-height: 1.12;
  font-weight: 1000;
}

.phase-teaching-brief-head p:not(.eyebrow) {
  margin: 5px 0 0;
  color: #64748b;
  font-weight: 820;
}

.phase-teaching-snapshot,
.phase-teaching-adjustments,
.phase-teaching-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-width: 0;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(11, 31, 77, 0.085);
}

.phase-teaching-snapshot {
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #eef6ff 0%, #f8fbff 55%, #fff9eb 100%);
}

.phase-teaching-snapshot-title {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.phase-teaching-snapshot-title strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.phase-teaching-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.phase-teaching-snapshot-grid span {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.phase-teaching-snapshot-grid small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phase-teaching-snapshot-grid strong {
  color: #071b4d;
  font-size: 0.91rem;
  font-weight: 930;
  line-height: 1.35;
}

.phase-teaching-personalised {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(49, 111, 177, 0.18);
  border-radius: 22px;
  background: linear-gradient(135deg, #eef6ff 0%, #ffffff 58%, #fff9eb 100%);
  box-shadow: 0 20px 42px rgba(11, 31, 77, 0.095);
}

.phase-teaching-personalised::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #4d93d9;
}

.phase-teaching-personalised-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.phase-teaching-personalised-head h5 {
  margin: 0;
  color: #071b4d;
  font-size: 1.12rem;
  line-height: 1.18;
  font-weight: 1000;
}

.phase-teaching-personalised-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.35;
}

.phase-teaching-personalised > p {
  max-width: 980px;
  margin: 0;
  color: #1e3858;
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.62;
}

.phase-teaching-learning-prediction {
  display: grid;
  gap: 7px;
  max-width: 980px;
  padding: 14px 16px;
  border: 1px solid rgba(49, 111, 177, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.phase-teaching-learning-prediction strong {
  color: #071b4d;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phase-teaching-learning-prediction span {
  color: #1e3858;
  font-size: 0.94rem;
  font-weight: 820;
  line-height: 1.48;
}

.phase-teaching-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.phase-teaching-card {
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.phase-teaching-card::before,
.phase-teaching-adjustments::before,
.phase-teaching-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
}

.phase-teaching-card--green {
  border-color: rgba(27, 128, 82, 0.2);
  background: #effaf3;
}

.phase-teaching-card--green::before {
  background: #36a269;
}

.phase-teaching-card--amber {
  border-color: rgba(188, 111, 18, 0.22);
  background: #fff6e6;
}

.phase-teaching-card--amber::before {
  background: #e39a2d;
}

.phase-teaching-card--red {
  border-color: rgba(190, 71, 71, 0.22);
  background: #fff0f0;
}

.phase-teaching-card--red::before {
  background: #d96b6b;
}

.phase-teaching-card ul,
.phase-teaching-adjustments ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase-teaching-card li,
.phase-teaching-adjustments li {
  position: relative;
  padding-left: 18px;
  color: #263446;
  font-size: 0.91rem;
  font-weight: 790;
  line-height: 1.42;
}

.phase-teaching-card li::before,
.phase-teaching-adjustments li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.42;
}

.phase-teaching-adjustments {
  gap: 16px;
  padding: 20px;
  border-color: rgba(216, 167, 44, 0.22);
  background: #ffffff;
}

.phase-teaching-adjustments::before {
  background: #d8a72c;
}

.phase-teaching-adjustment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.phase-teaching-adjustment-grid section {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(215, 227, 241, 0.95);
  border-radius: 16px;
  background: #f8fbff;
}

.phase-teaching-adjustment-grid strong {
  color: #071b4d;
  font-size: 0.93rem;
  font-weight: 1000;
}

.phase-teaching-summary {
  padding: 20px;
}

.phase-teaching-confidence {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 17px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(49, 111, 177, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, #f3f8ff 0%, #ffffff 58%, #fffaf0 100%);
  box-shadow: 0 20px 44px rgba(11, 31, 77, 0.095);
}

.phase-teaching-confidence::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #071b4d 0%, #4d93d9 68%, #d8a72c 100%);
}

.phase-teaching-confidence--high {
  border-color: rgba(27, 128, 82, 0.22);
  background: linear-gradient(135deg, #f0faf4 0%, #ffffff 62%, #f7fbff 100%);
}

.phase-teaching-confidence--high::before {
  background: linear-gradient(90deg, #1b8052 0%, #36a269 72%, #d8a72c 100%);
}

.phase-teaching-confidence--moderate {
  border-color: rgba(49, 111, 177, 0.24);
  background: linear-gradient(135deg, #edf6ff 0%, #ffffff 58%, #fff8e7 100%);
}

.phase-teaching-confidence--moderate::before {
  background: linear-gradient(90deg, #316fb1 0%, #4d93d9 68%, #d8a72c 100%);
}

.phase-teaching-confidence--developing {
  border-color: rgba(188, 111, 18, 0.24);
  background: linear-gradient(135deg, #fff8eb 0%, #ffffff 64%, #f7fbff 100%);
}

.phase-teaching-confidence--developing::before {
  background: linear-gradient(90deg, #bc6f12 0%, #e3a13b 74%, #4d93d9 100%);
}

.phase-teaching-confidence--low {
  border-color: rgba(100, 116, 139, 0.22);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 68%, #f3f8ff 100%);
}

.phase-teaching-confidence--low::before {
  background: linear-gradient(90deg, #64748b 0%, #94a3b8 75%, #4d93d9 100%);
}

.phase-teaching-confidence-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.phase-teaching-confidence .learner-intelligence-strategy-chip {
  border-color: rgba(216, 167, 44, 0.36);
  background: linear-gradient(135deg, #071b4d 0%, #123a76 100%);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 rgba(216, 167, 44, 0.42), 0 8px 18px rgba(7, 27, 77, 0.12);
}

.phase-teaching-confidence-head h5 {
  margin: 8px 0 0;
  color: #071b4d;
  font-size: 1.12rem;
  line-height: 1.2;
  font-weight: 1000;
}

.phase-teaching-confidence-head > strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid rgba(49, 111, 177, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #071b4d;
  font-size: 0.9rem;
  font-weight: 1000;
  box-shadow: 0 10px 22px rgba(11, 31, 77, 0.09);
}

.phase-teaching-confidence--high .phase-teaching-confidence-head > strong {
  border-color: rgba(27, 128, 82, 0.22);
  background: #effaf3;
  color: #145c3b;
}

.phase-teaching-confidence--moderate .phase-teaching-confidence-head > strong {
  border-color: rgba(216, 167, 44, 0.34);
  background: linear-gradient(135deg, #edf6ff 0%, #fff6dc 100%);
  color: #071b4d;
}

.phase-teaching-confidence--developing .phase-teaching-confidence-head > strong {
  border-color: rgba(188, 111, 18, 0.26);
  background: #fff3d8;
  color: #7a4a09;
}

.phase-teaching-confidence--low .phase-teaching-confidence-head > strong {
  border-color: rgba(100, 116, 139, 0.22);
  background: #f1f5f9;
  color: #334155;
}

.phase-teaching-evidence-meter {
  position: relative;
  overflow: hidden;
  height: 13px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(49, 111, 177, 0.12);
  box-shadow: inset 0 1px 2px rgba(11, 31, 77, 0.12);
}

.phase-teaching-evidence-meter::before {
  content: "Evidence strength";
  position: absolute;
  left: 0;
  bottom: calc(100% + 7px);
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phase-teaching-evidence-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #071b4d 0%, #316fb1 58%, #d8a72c 100%);
  box-shadow: 0 0 18px rgba(49, 111, 177, 0.26);
}

.phase-teaching-confidence p {
  margin: 0;
  color: #1e3858;
  font-size: 0.94rem;
  font-weight: 790;
  line-height: 1.62;
}

.phase-teaching-confidence p b {
  color: #071b4d;
  font-weight: 1000;
}

.phase-teaching-confidence h6 {
  margin: 0;
  color: #071b4d;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phase-teaching-evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.phase-teaching-evidence-grid span {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(49, 111, 177, 0.12);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 251, 255, 0.92) 100%);
  box-shadow: 0 10px 22px rgba(11, 31, 77, 0.055);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.phase-teaching-evidence-grid span::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #4d93d9 0%, #d8a72c 100%);
}

.phase-teaching-evidence-grid span:hover {
  border-color: rgba(49, 111, 177, 0.22);
  box-shadow: 0 14px 28px rgba(11, 31, 77, 0.085);
  transform: translateY(-1px);
}

.phase-teaching-evidence-grid small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 920;
  line-height: 1.28;
}

.phase-teaching-evidence-grid strong {
  color: #071b4d;
  font-size: 1.28rem;
  font-weight: 1000;
  line-height: 1;
}

.phase-teaching-confidence-note {
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  border: 1px solid rgba(216, 167, 44, 0.22);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8e7 0%, #f3f8ff 100%);
}

.phase-teaching-confidence-note::before {
  content: "Improves over time";
  color: #7a4a09;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phase-teaching-confidence > small {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
}

.learner-intelligence-phase-review {
  margin-top: 8px;
  border-color: rgba(215, 227, 241, 0.92);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(11, 31, 77, 0.055);
}

@media (max-width: 880px) {
  .learner-intelligence-centre-hero,
  .learner-intelligence-selector-panel,
  .learner-intelligence-selected-card,
  .learner-intelligence-question-grid,
  .learner-intelligence-strategy-grid,
  .learner-intelligence-review-grid {
    grid-template-columns: 1fr;
  }

  .learner-intelligence-selected-card {
    justify-items: start;
  }

  .phase-teaching-brief-head,
  .phase-teaching-snapshot-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .phase-teaching-snapshot-grid,
  .phase-teaching-action-grid,
  .phase-teaching-adjustment-grid,
  .phase-teaching-evidence-grid {
    grid-template-columns: 1fr;
  }
}

.admin-progress-timeline-panel {
  overflow: hidden;
}

.admin-progress-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-progress-timeline article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px 14px 14px 18px;
  border: 1px solid rgba(215, 227, 241, 0.9);
  border-left: 4px solid rgba(242, 182, 50, 0.55);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(11, 31, 77, 0.06);
}

.admin-progress-timeline span {
  color: #b98208;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-progress-timeline strong {
  color: #071b4d;
  font-weight: 1000;
}

.admin-progress-timeline p {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 780;
}

.admin-standard-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(242, 182, 50, 0.34);
  border-radius: 999px;
  background: #fff8dc;
  color: #071b4d;
  font-weight: 1000;
}

.admin-awards-progress,
.admin-feedback-themes {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(215, 227, 241, 0.86);
  border-radius: 16px;
  background: #f8fbff;
}

.admin-awards-progress span,
.admin-feedback-themes span {
  color: #b98208;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-awards-progress strong,
.admin-feedback-themes strong {
  color: #071b4d;
  font-weight: 1000;
}

.admin-feedback-themes div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-feedback-themes em {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(242, 182, 50, 0.25);
  border-radius: 999px;
  background: #fff8dc;
  color: #071b4d;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
}

.admin-evidence-status-list span {
  display: inline-flex;
  width: fit-content;
  min-height: 25px;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 999px;
  background: #eef4fb;
  color: #071b4d;
  font-size: 0.76rem;
  font-weight: 1000;
}

/* Premium learner panel visual enhancement */
/* Panel identity styling */
.admin-awards-card,
.admin-interventions-card,
.admin-evidence-card,
.admin-feedback-card {
  position: relative;
  overflow: hidden;
  gap: 15px;
  padding: 20px;
  border-color: rgba(190, 204, 220, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94)),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 48px rgba(11, 31, 77, 0.11);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.admin-awards-card:hover,
.admin-interventions-card:hover,
.admin-evidence-card:hover,
.admin-feedback-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 28px 58px rgba(11, 31, 77, 0.14);
}

.admin-awards-card::before,
.admin-interventions-card::before,
.admin-evidence-card::before,
.admin-feedback-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  opacity: 0.9;
}

.admin-awards-card::after,
.admin-interventions-card::after,
.admin-evidence-card::after,
.admin-feedback-card::after {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  opacity: 0.78;
}

.admin-awards-card {
  border-color: rgba(176, 116, 37, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(176, 116, 37, 0.1), transparent 13rem),
    linear-gradient(135deg, #fffaf0 0%, #ffffff 58%, #f8fbff 100%);
}

.admin-awards-card::before {
  background: linear-gradient(90deg, #b87425, #f2b632, rgba(242, 182, 50, 0.2));
}

.admin-awards-card::after {
  content: "AWD";
  border: 1px solid rgba(176, 116, 37, 0.22);
  background: linear-gradient(135deg, #fff4cc, #ffffff);
  color: #8a4f0b;
}

.admin-interventions-card {
  border-color: rgba(39, 92, 150, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(39, 92, 150, 0.09), transparent 13rem),
    linear-gradient(135deg, #f2f8ff 0%, #ffffff 58%, #f8fbff 100%);
}

.admin-interventions-card::before {
  background: linear-gradient(90deg, #275c96, #7aa8d8, rgba(122, 168, 216, 0.18));
}

.admin-interventions-card::after {
  content: "SAFE";
  border: 1px solid rgba(39, 92, 150, 0.2);
  background: linear-gradient(135deg, #eaf4ff, #ffffff);
  color: #174a82;
}

.admin-evidence-card {
  border-color: rgba(46, 125, 82, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 125, 82, 0.09), transparent 13rem),
    linear-gradient(135deg, #f0faf4 0%, #ffffff 58%, #f8fbff 100%);
}

.admin-evidence-card::before {
  background: linear-gradient(90deg, #2e7d52, #78c090, rgba(120, 192, 144, 0.18));
}

.admin-evidence-card::after {
  content: "DOC";
  border: 1px solid rgba(46, 125, 82, 0.2);
  background: linear-gradient(135deg, #e9f8ef, #ffffff);
  color: #17603f;
}

.admin-feedback-card {
  border-color: rgba(204, 139, 36, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(204, 139, 36, 0.09), transparent 13rem),
    linear-gradient(135deg, #fff8e8 0%, #ffffff 58%, #f8fbff 100%);
}

.admin-feedback-card::before {
  background: linear-gradient(90deg, #cc8b24, #f2b632, rgba(242, 182, 50, 0.18));
}

.admin-feedback-card::after {
  content: "NOTE";
  border: 1px solid rgba(204, 139, 36, 0.2);
  background: linear-gradient(135deg, #fff4d6, #ffffff);
  color: #8a6100;
}

/* Dashboard typography refinement */
.admin-awards-card h4,
.admin-interventions-card h4,
.admin-evidence-card h4,
.admin-feedback-card h4 {
  padding-right: 42px;
  font-size: clamp(1.28rem, 1.7vw, 1.58rem);
  font-weight: 1000;
  line-height: 1.12;
}

.admin-awards-card p,
.admin-interventions-card p,
.admin-evidence-card p,
.admin-feedback-card p {
  color: #536781;
  font-size: 0.92rem;
  font-weight: 760;
}

.admin-awards-card .admin-standard-badge {
  min-height: 40px;
  padding: 8px 14px;
  border-color: rgba(176, 116, 37, 0.36);
  background:
    linear-gradient(135deg, #fff4cc, #ffffff),
    #fff8dc;
  color: #7a4300;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 20px rgba(176, 116, 37, 0.12);
}

.admin-awards-card .admin-awards-progress {
  border-color: rgba(176, 116, 37, 0.2);
  background: linear-gradient(135deg, rgba(255, 244, 204, 0.75), rgba(255, 255, 255, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.admin-awards-card .admin-intel-list div {
  border: 1px solid rgba(176, 116, 37, 0.16);
  background: linear-gradient(135deg, #fff9e8, #ffffff);
}

.admin-awards-card .admin-intel-list strong::before {
  content: "AWD";
  display: inline-flex;
  margin-right: 8px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(176, 116, 37, 0.12);
  color: #8a4f0b;
  font-size: 0.62rem;
  font-weight: 1000;
  vertical-align: middle;
}

.admin-evidence-status-list {
  gap: 11px;
}

.admin-evidence-status-list div {
  position: relative;
  gap: 7px;
  padding: 14px 14px 14px 46px;
  border: 1px solid rgba(46, 125, 82, 0.14);
  background: linear-gradient(135deg, rgba(240, 250, 244, 0.86), #ffffff);
}

.admin-evidence-status-list div::before {
  content: "DOC";
  position: absolute;
  top: 13px;
  left: 13px;
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(46, 125, 82, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: #17603f;
  font-size: 0.55rem;
  font-weight: 1000;
}

.admin-evidence-status-list span {
  border-color: rgba(46, 125, 82, 0.2);
  background: linear-gradient(135deg, #e9f8ef, #ffffff);
  color: #17603f;
  box-shadow: 0 7px 14px rgba(46, 125, 82, 0.08);
}

.admin-feedback-card .admin-feedback-themes {
  gap: 9px;
  border-color: rgba(204, 139, 36, 0.18);
  background: linear-gradient(135deg, rgba(255, 244, 214, 0.76), rgba(255, 255, 255, 0.88));
}

.admin-feedback-card .admin-feedback-themes div {
  gap: 9px;
}

.admin-feedback-card .admin-feedback-themes em {
  min-height: 30px;
  padding: 7px 11px;
  border-color: rgba(204, 139, 36, 0.26);
  background: rgba(255, 255, 255, 0.78);
  color: #7a5600;
  font-size: 0.78rem;
}

.admin-feedback-card .admin-intel-list {
  gap: 12px;
}

.admin-feedback-card .admin-intel-list div {
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(204, 139, 36, 0.14);
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.82), #ffffff);
}

.admin-monitoring-state {
  display: grid;
  gap: 7px;
  padding: 15px;
  border: 1px solid rgba(39, 92, 150, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(234, 244, 255, 0.86), rgba(255, 255, 255, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.admin-monitoring-state span {
  color: #174a82;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-monitoring-state strong {
  color: #071b4d;
  font-size: 1.16rem;
  font-weight: 1000;
}

.admin-monitoring-state p,
.admin-monitoring-state em {
  margin: 0;
  color: #536781;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 800;
}

.admin-intel-review-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(242, 182, 50, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(242, 182, 50, 0.9), rgba(255, 224, 138, 0.56), transparent 44%) top left / 100% 5px no-repeat,
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.13), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 50px rgba(11, 31, 77, 0.11);
}

.admin-intel-review-panel .panel-head {
  align-items: start;
  gap: 16px;
  margin: 0;
}

.admin-intel-review-panel .panel-head h4 {
  color: #071b4d;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.admin-intel-review-panel .panel-head p:not(.eyebrow) {
  color: #64748b;
  font-weight: 780;
}

.admin-intel-confidence {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(242, 182, 50, 0.4);
  border-radius: 999px;
  background: #fff8dc;
  color: #071b4d;
  font-size: 0.78rem;
  font-weight: 1000;
  white-space: nowrap;
}

.admin-decision-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-decision-card {
  display: grid;
  gap: 9px;
  align-content: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(215, 227, 241, 0.9);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.09), transparent 10rem),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(11, 31, 77, 0.08);
}

.admin-decision-card.readiness {
  border-color: rgba(242, 182, 50, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.16), transparent 12rem),
    linear-gradient(135deg, #fffdf4 0%, #ffffff 100%);
}

.admin-decision-card span {
  color: #b98208;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-decision-card strong {
  color: #071b4d;
  font-size: 1.15rem;
  font-weight: 1000;
  line-height: 1.18;
}

.admin-decision-card p {
  margin: 0;
  color: #536781;
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.4;
}

.admin-decision-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-decision-card li {
  display: grid;
  gap: 2px;
  color: #071b4d;
  font-size: 0.84rem;
  font-weight: 820;
  line-height: 1.32;
}

.admin-decision-card li b {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-intel-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-intel-snapshot-grid article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(215, 227, 241, 0.94);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.1), transparent 8rem),
    linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 12px 24px rgba(11, 31, 77, 0.07);
}

.admin-intel-snapshot-grid span {
  color: #b98208;
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-intel-snapshot-grid strong {
  color: #071b4d;
  font-size: 1.02rem;
  font-weight: 1000;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.admin-intel-review-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-intel-review-body article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(215, 227, 241, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(11, 31, 77, 0.07);
}

.admin-intel-review-body .admin-intel-review-summary {
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.12), transparent 12rem),
    linear-gradient(135deg, #ffffff 0%, #f3f7fd 100%);
}

.admin-intel-review-body span {
  color: #b98208;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-intel-review-body p {
  margin: 0;
  color: #26364a;
  font-size: 0.96rem;
  font-weight: 720;
  line-height: 1.6;
}

.admin-intel-review-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-intel-review-body li {
  position: relative;
  padding-left: 17px;
  color: #071b4d;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
}

.admin-intel-review-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f2b632;
  box-shadow: 0 0 0 3px rgba(242, 182, 50, 0.16);
}

.admin-intel-report-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 14px;
}

.admin-intel-report-body article {
  display: grid;
  gap: 11px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(215, 227, 241, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 30px rgba(11, 31, 77, 0.075);
}

.admin-intel-report-summary {
  grid-row: span 2;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.13), transparent 14rem),
    linear-gradient(135deg, #ffffff 0%, #f5f8fd 100%);
}

.admin-intel-report-summary p {
  color: #24364d;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 720;
  line-height: 1.72;
}

.admin-intel-report-sections {
  display: grid;
  gap: 16px;
}

.admin-intel-report-sections div {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(215, 227, 241, 0.86);
  border-left-width: 4px;
  border-radius: 16px;
  background: #f8fbff;
}

.admin-intel-report-sections div:last-child {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(215, 227, 241, 0.86);
}

.admin-intel-report-sections h5 {
  margin: 0;
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.admin-intel-report-sections .rag-strength {
  border-color: rgba(64, 128, 92, 0.24);
  border-left-color: rgba(46, 125, 82, 0.5);
  background: linear-gradient(135deg, #eef8f1 0%, #fbfefc 100%);
}

.admin-intel-report-sections .rag-monitor {
  border-color: rgba(210, 145, 45, 0.24);
  border-left-color: rgba(204, 139, 36, 0.52);
  background: linear-gradient(135deg, #fff6e4 0%, #fffdf8 100%);
}

.admin-intel-report-sections .rag-priority {
  border-color: rgba(190, 82, 88, 0.24);
  border-left-color: rgba(176, 67, 77, 0.52);
  background: linear-gradient(135deg, #fff0f1 0%, #fffafa 100%);
}

.admin-intel-report-sections .rag-insufficient {
  border-color: rgba(125, 143, 166, 0.24);
  border-left-color: rgba(100, 116, 139, 0.42);
  background: linear-gradient(135deg, #f3f6fa 0%, #fbfdff 100%);
}

.admin-intel-report-sections .rag-strength p,
.admin-intel-report-sections .rag-monitor p,
.admin-intel-report-sections .rag-priority p,
.admin-intel-report-sections .rag-insufficient p {
  color: #132238;
}

.admin-intel-report-body span {
  color: #b98208;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-intel-report-body p,
.admin-intel-report-confidence strong {
  margin: 0;
  color: #26364a;
  font-size: 0.96rem;
  line-height: 1.58;
}

.admin-intel-report-confidence {
  border-color: rgba(242, 182, 50, 0.32) !important;
  background: linear-gradient(135deg, #fff8dc 0%, #ffffff 100%) !important;
}

.admin-intel-report-confidence strong {
  color: #071b4d;
  font-weight: 900;
}

.admin-intel-report-body ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-intel-report-body ol {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: report-priority;
}

.admin-intel-report-body ol li {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(242, 182, 50, 0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, #fffdf4 0%, #ffffff 100%);
}

.admin-intel-report-body ol strong {
  color: #071b4d;
  font-size: 0.93rem;
  font-weight: 1000;
  line-height: 1.35;
}

.admin-intel-report-body ol em {
  color: #52657d;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.45;
}

.admin-intel-report-body li {
  position: relative;
  padding-left: 19px;
  color: #071b4d;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.42;
}

.admin-intel-report-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2b632, #ffe08a);
  box-shadow: 0 0 0 3px rgba(242, 182, 50, 0.16);
}

.admin-intel-report-body ol li::before {
  display: none;
}

#adminView > .section-heading.admin-home-search-panel {
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  align-items: center;
  gap: 22px;
  margin: 6px 0 0;
  padding: 24px;
  border: 1px solid rgba(216, 154, 19, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 96% 6%, rgba(242, 182, 50, 0.16), transparent 13rem),
    radial-gradient(circle at 0% 100%, rgba(15, 76, 138, 0.08), transparent 15rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 54%, rgba(239, 245, 252, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(216, 154, 19, 0.08),
    0 22px 50px rgba(11, 31, 77, 0.13);
}

#adminView > .section-heading.admin-home-search-panel .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(216, 154, 19, 0.28);
  border-radius: 999px;
  background: #fff8e7;
  color: #9a6505;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

#adminView > .section-heading.admin-home-search-panel h3 {
  color: #071b4d;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 1000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

#adminView > .section-heading.admin-home-search-panel .admin-controls {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.34fr);
  align-items: center;
  gap: 10px;
}

#adminView > .section-heading.admin-home-search-panel input,
#adminView > .section-heading.admin-home-search-panel select {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(7, 27, 77, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.98));
  color: #071b4d;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 999px rgba(255, 255, 255, 0.18),
    0 10px 22px rgba(11, 31, 77, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#adminView > .section-heading.admin-home-search-panel input::placeholder {
  color: rgba(83, 97, 115, 0.78);
  font-weight: 800;
}

#adminView > .section-heading.admin-home-search-panel input:focus,
#adminView > .section-heading.admin-home-search-panel select:focus {
  border-color: rgba(216, 154, 19, 0.82);
  outline: 3px solid rgba(216, 154, 19, 0.16);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 0 5px rgba(15, 76, 138, 0.08),
    0 14px 30px rgba(7, 27, 77, 0.13);
}

.tutor-signoff-layout {
  display: grid;
  gap: 16px;
}

.signoff-queue {
  display: grid;
  gap: 14px;
}

.tutor-dashboard-mode {
  grid-template-columns: 1fr;
}

.tutor-dashboard-mode .signoff-queue {
  display: none;
}

.tutor-dashboard-control {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  max-width: none;
  padding: 4px;
  background: #f4f7fb;
}

/* Tutor Lesson Carousel — Phase 1 static framework only. */
.tutor-lesson-carousel {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 30px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--tfe-premium-card-shadow);
}

.tutor-lesson-carousel-heading {
  display: grid;
  gap: 4px;
}

.tutor-lesson-carousel-heading :is(p, h3) {
  margin: 0;
}

.tutor-lesson-carousel-heading .eyebrow {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.tutor-lesson-carousel-heading h3 {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 1000;
  line-height: 1.15;
}

.tutor-lesson-carousel-track {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(300px, 1fr) minmax(220px, 0.75fr);
  gap: clamp(10px, 1.3vw, 18px);
  align-items: center;
  min-width: 0;
}

.tutor-lesson-carousel-card {
  display: grid;
  grid-column: var(--tutor-carousel-column);
  grid-template-rows: auto 3px minmax(0, 1fr);
  align-content: stretch;
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 77, 0.12);
  border-radius: 20px;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 14px 32px rgba(11, 31, 77, 0.105);
  transition:
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    min-height 720ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
  will-change: transform, opacity, box-shadow;
}

.tutor-lesson-carousel-card[data-carousel-offset="-1"]:not([aria-disabled="true"]),
.tutor-lesson-carousel-card[data-carousel-offset="1"]:not([aria-disabled="true"]) {
  cursor: pointer;
}

.tutor-lesson-carousel-card[data-carousel-offset="-1"]:focus-visible,
.tutor-lesson-carousel-card[data-carousel-offset="1"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.tutor-lesson-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(216, 154, 19, 0.42);
  border-radius: 50%;
  background: #ffffff;
  color: var(--gold-dark);
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.tutor-lesson-carousel-control--previous {
  left: 30%;
}

.tutor-lesson-carousel-control--next {
  left: 70%;
}

.tutor-lesson-carousel-control span {
  width: 13px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.tutor-lesson-carousel-control--previous span {
  transform: rotate(-135deg);
}

.tutor-lesson-carousel-control--next span {
  transform: rotate(45deg);
}

.tutor-lesson-carousel-control:is(:hover, :focus-visible) {
  color: var(--gold);
}

.tutor-lesson-carousel-control:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.tutor-lesson-carousel-control:disabled {
  color: rgba(125, 91, 17, 0.32);
  cursor: default;
}

.tutor-lesson-carousel-card-header :is(strong, small),
.tutor-lesson-carousel-card-body h4,
.tutor-lesson-carousel-lessons :is(small, h4) {
  margin: 0;
}

.tutor-lesson-carousel-card-header {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 12px clamp(14px, 1.7vw, 22px);
  background: var(--navy);
  color: #ffffff;
}

.tutor-lesson-carousel-card-header strong {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tutor-lesson-carousel-card-header small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 800;
}

.tutor-lesson-carousel-card-divider {
  width: 100%;
  height: 3px;
  background: var(--gold);
}

.tutor-lesson-carousel-card-body {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: clamp(14px, 1.7vw, 22px);
  background: #ffffff;
}

.tutor-lesson-carousel-lessons small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.065em;
  line-height: 1.25;
  text-transform: uppercase;
}

.tutor-lesson-carousel-card h4 {
  color: var(--navy);
  font-size: clamp(0.82rem, 1.15vw, 1rem);
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: normal;
}

.tutor-lesson-carousel-card--adjacent {
  position: relative;
  z-index: 2;
  min-height: 208px;
  opacity: 0.88;
}

.tutor-lesson-carousel-card--adjacent .tutor-lesson-carousel-lessons {
  grid-template-columns: minmax(180px, 1fr);
}

.tutor-lesson-carousel-card--adjacent .tutor-lesson-carousel-panel p {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.tutor-lesson-carousel-card--current {
  position: relative;
  z-index: 3;
  min-height: 286px;
  border-color: rgba(216, 154, 19, 0.38);
  box-shadow: 0 23px 50px rgba(11, 31, 77, 0.17);
}

.tutor-lesson-carousel-card--adjacent .tutor-lesson-carousel-card-header {
  min-height: 72px;
}

.tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-header {
  min-height: 99px;
  padding: 16px clamp(20px, 2.2vw, 30px);
}

.tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-body {
  gap: 14px;
  padding: clamp(20px, 2.2vw, 30px);
}

.tutor-lesson-carousel-card-label,
.tutor-lesson-carousel-lessons {
  display: grid;
  gap: 4px;
}

.tutor-lesson-carousel-lessons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 12px);
  align-content: center;
  width: 100%;
}

.tutor-lesson-carousel-panel {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
  padding: clamp(12px, 1.5vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(27, 65, 109, 0.12);
  border-radius: 16px;
  background: #f5f7fb;
}

.tutor-lesson-carousel-panel--theory {
  background: #eef6ff;
}

.tutor-lesson-carousel-panel--practical {
  border-color: rgba(57, 112, 73, 0.2);
  background: #f4f9f5;
}

.tutor-lesson-carousel-card--current .tutor-lesson-carousel-panel {
  min-height: 258px;
}

.tutor-lesson-carousel-panel p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #5f6f86;
  font-size: clamp(0.66rem, 0.85vw, 0.76rem);
  font-weight: 600;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.tutor-lesson-carousel-card--current .tutor-lesson-carousel-panel p {
  -webkit-line-clamp: 6;
  line-clamp: 6;
}

@media (max-width: 900px) {
  .tutor-lesson-carousel-track {
    grid-template-columns: minmax(180px, 0.75fr) minmax(240px, 1fr) minmax(180px, 0.75fr);
  }

  .tutor-lesson-carousel-card--current { grid-column: 2; }
  .tutor-lesson-carousel-card[data-carousel-offset="-1"] { grid-column: 1; }
  .tutor-lesson-carousel-card[data-carousel-offset="1"] { grid-column: 3; }

  .tutor-lesson-carousel-card--adjacent {
    min-height: 176px;
  }

  .tutor-lesson-carousel-card--current {
    min-height: 260px;
  }

  .tutor-lesson-carousel-control--previous {
    left: 30%;
  }

  .tutor-lesson-carousel-control--next {
    left: 70%;
  }
}

@media (max-width: 700px) {
  .tutor-lesson-carousel {
    padding: 18px;
    overflow: visible;
  }

  .tutor-lesson-carousel-track {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutor-lesson-carousel-card--current {
    grid-column: 1;
    min-height: 0;
  }

  .tutor-lesson-carousel-card--adjacent {
    display: none;
  }

  .tutor-lesson-carousel-control {
    top: 50%;
    width: 44px;
    height: 44px;
  }

  .tutor-lesson-carousel-control--previous {
    left: 8px;
    transform: translate(0, -50%);
  }

  .tutor-lesson-carousel-control--next {
    right: 8px;
    left: auto;
    transform: translate(0, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tutor-lesson-carousel-card {
    transition: none;
  }
}

/* One read-only presentation family for the published lesson-to-matrix relationship. */
.curriculum-alignment-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(27, 65, 109, 0.16);
  border-left: 4px solid var(--gold);
  border-radius: 16px;
  background: #f7f9fc;
  color: var(--navy);
}

.curriculum-alignment-card :is(h4, h5, p, ul) { margin: 0; }

.curriculum-alignment-card > header {
  display: grid;
  gap: 5px;
}

.curriculum-alignment-card > header h4 {
  color: var(--navy);
  font-size: clamp(1.02rem, 1.7vw, 1.3rem);
}

.curriculum-alignment-branded-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.curriculum-alignment-branded-heading img {
  display: block;
  flex: 0 0 auto;
  width: 64px;
  height: 44px;
  object-fit: contain;
}

.curriculum-alignment-card > header > p:last-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.curriculum-alignment-groups {
  display: grid;
  gap: 12px;
}

.curriculum-alignment-group {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(27, 65, 109, 0.12);
  border-radius: 12px;
  background: #ffffff;
}

.curriculum-alignment-group h5 {
  display: grid;
  gap: 3px;
}

.curriculum-alignment-group h5 strong {
  color: var(--navy);
  font-size: 0.86rem;
}

.curriculum-alignment-group h5 span,
.curriculum-alignment-outcome {
  color: #52647c;
  font-size: 0.78rem;
  line-height: 1.4;
}

.curriculum-alignment-group ul {
  display: grid;
  gap: 7px;
  padding: 0;
  list-style: none;
}

.curriculum-alignment-group li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 0.78rem;
  line-height: 1.4;
}

.curriculum-alignment-group li strong {
  padding: 2px 7px;
  border-radius: 999px;
  background: #e9f1fb;
  color: var(--navy);
  white-space: nowrap;
}

.curriculum-alignment-card.is-unmapped {
  gap: 5px;
  border-left-color: #9aa8ba;
  background: #f5f7fa;
}

.curriculum-alignment-compact {
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid rgba(27, 65, 109, 0.14);
  color: var(--navy);
  font-size: 0.7rem;
}

.curriculum-alignment-compact > summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 9px;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 5px 7px;
  border: 1px solid rgba(11, 31, 77, 0.15);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 5px 14px rgba(11, 31, 77, 0.07);
  list-style: none;
  cursor: pointer;
}

.curriculum-alignment-compact > summary::-webkit-details-marker { display: none; }

.curriculum-alignment-compact > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.curriculum-alignment-compact[open] > summary::after { transform: rotate(225deg); }

.curriculum-alignment-compact > summary:focus-visible {
  outline: 3px solid rgba(32, 103, 194, 0.38);
  outline-offset: 2px;
}

.curriculum-alignment-compact-logo {
  display: block;
  width: 44px;
  height: 30px;
  object-fit: contain;
}

.curriculum-alignment-compact-copy {
  display: block;
  min-width: 0;
}

.curriculum-alignment-compact-copy strong {
  color: var(--navy);
  font-size: 0.69rem;
  font-weight: 950;
  line-height: 1.12;
}

.curriculum-alignment-compact > div {
  display: grid;
  gap: 8px;
  padding-top: 9px;
}

.curriculum-alignment-compact .curriculum-alignment-group {
  gap: 5px;
  padding: 9px;
}

.curriculum-alignment-compact .curriculum-alignment-group li {
  grid-template-columns: 1fr;
  gap: 3px;
  font-size: 0.68rem;
}

.curriculum-alignment-compact.is-unmapped {
  display: block;
  padding-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 560px) {
  .curriculum-alignment-card { padding: 14px; }
  .curriculum-alignment-group li { grid-template-columns: 1fr; }
  .curriculum-alignment-group li strong { width: fit-content; }
}

.tutor-command-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, #061b46 0%, #0d3c87 100%);
  color: #ffffff;
  box-shadow: 0 24px 54px rgba(4, 18, 54, 0.24);
}

.tutor-command-hero h1,
.tutor-command-hero p {
  margin: 0;
}

.tutor-command-hero .eyebrow {
  color: #f5b41b;
  letter-spacing: 0.22em;
}

.tutor-command-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.95;
  font-weight: 1000;
  letter-spacing: -0.03em;
}

.tutor-command-hero p {
  max-width: 760px;
  margin-top: 16px;
  color: #dbeafe;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
}

.tutor-command-hero > div > span {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 1000;
}

.tutor-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.tutor-hero-actions .primary-action {
  width: auto;
  min-width: 180px;
  box-shadow: 0 16px 34px rgba(245, 180, 27, 0.28);
}

.tutor-hero-actions .small-text {
  color: #dbeafe;
  font-weight: 900;
}

.tutor-priority-card {
  min-width: 190px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.11);
  text-align: right;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tutor-priority-card p,
.tutor-priority-card span {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tutor-priority-card p {
  color: #facc15;
}

.tutor-priority-card strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 3rem;
  line-height: 1;
  font-weight: 1000;
}

.tutor-recognition-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 18, 54, 0.68);
}

.tutor-recognition-modal {
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(4, 18, 54, 0.28);
}

.tutor-recognition-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.tutor-recognition-modal h3,
.tutor-recognition-modal p {
  margin: 0;
}

.tutor-recognition-modal h3 {
  margin-top: 4px;
  color: #071b4d;
  font-size: 2rem;
  font-weight: 1000;
}

.tutor-recognition-modal header p:not(.eyebrow) {
  margin-top: 6px;
  color: #64748b;
  font-weight: 800;
}

.tutor-recognition-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tutor-recognition-form label {
  display: grid;
  gap: 8px;
  color: #071b4d;
  font-size: 0.82rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tutor-recognition-form input,
.tutor-recognition-form select,
.tutor-recognition-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  color: #071b4d;
  font-size: 0.95rem;
  font-weight: 800;
}

.tutor-recognition-form input,
.tutor-recognition-form select {
  min-height: 52px;
  padding: 0 14px;
}

.tutor-recognition-form textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.tutor-recognition-form .form-wide,
.tutor-recognition-feedback,
.tutor-recognition-form .modal-actions {
  grid-column: 1 / -1;
}

.tutor-recognition-feedback {
  min-height: 20px;
  margin: 0;
  font-weight: 900;
}

.tutor-recognition-feedback.error {
  color: #b91c1c;
}

.tutor-queue-overview {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
  padding: 22px;
  box-sizing: border-box;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%),
    radial-gradient(circle at 100% 0%, rgba(245, 180, 27, 0.1), transparent 15rem);
  box-shadow: 0 22px 50px rgba(15, 35, 75, 0.1), 0 8px 22px rgba(15, 23, 42, 0.04);
  overflow: visible;
}

.tutor-queue-overview > .cohort-slot-summary {
  padding: 18px 20px;
  border: 1px solid rgba(245, 180, 27, 0.22);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 248, 220, 0.7), rgba(255, 255, 255, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tutor-queue-overview > .cohort-slot-summary h4 {
  font-size: 1.22rem;
  font-weight: 1000;
}

.tutor-queue-overview .empty-state {
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.tutor-work-awaiting-review {
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%),
    radial-gradient(circle at 100% 0%, rgba(245, 180, 27, 0.12), transparent 14rem);
  box-shadow: 0 22px 50px rgba(15, 35, 75, 0.1), 0 8px 22px rgba(15, 23, 42, 0.04);
  margin-top: 26px;
}

.tutor-work-awaiting-review .cohort-slot-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 20px;
  border: 1px solid rgba(245, 180, 27, 0.24);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 248, 220, 0.74), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tutor-awaiting-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5b41b, #ffd96a);
  color: var(--navy);
  font-weight: 1000;
  box-shadow: 0 10px 20px rgba(245, 180, 27, 0.22);
}

.tutor-submitted-work-list {
  display: grid;
  gap: 12px;
}

.tutor-submitted-work-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(245, 180, 27, 0.3);
  border-radius: 26px;
  background: linear-gradient(135deg, #fff8e8 0%, #ffffff 82%);
  box-shadow: 0 14px 32px rgba(245, 180, 27, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tutor-submitted-work-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(245, 180, 27, 0.16), 0 8px 18px rgba(15, 23, 42, 0.05);
}

.tutor-submitted-work-card h5,
.tutor-submitted-work-card p {
  margin: 0;
}

.tutor-submitted-work-card h5 {
  color: var(--navy);
  font-size: 1.28rem;
  font-weight: 1000;
}

.tutor-submitted-work-card p {
  color: #64748b;
  font-weight: 800;
}

.tutor-submitted-work-card strong,
.tutor-submitted-work-card span {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-weight: 900;
}

.tutor-submitted-work-card span {
  color: #a36f00;
}

.tutor-submitted-work-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.tutor-submitted-work-actions .primary-action,
.tutor-submitted-work-actions .secondary-action {
  min-height: 44px;
  border-radius: 16px;
  font-weight: 1000;
}

.tutor-cohort-card.needs-action {
  border-color: rgba(242, 182, 50, 0.55);
  background: #fffdf3;
}

.tutor-card-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tutor-attendance-note {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.tutor-back-dashboard {
  width: fit-content;
}

.tutor-learner-banner {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(11, 31, 77, 0.98), rgba(18, 48, 107, 0.94)),
    radial-gradient(circle at 90% 10%, rgba(242, 182, 50, 0.28), transparent 22rem);
  color: white;
  box-shadow: var(--shadow);
}

.tutor-banner-photo {
  display: grid;
  place-items: start;
}

.tutor-banner-photo .learner-avatar.large {
  width: 140px;
  height: 140px;
  min-width: 140px;
  border: 5px solid var(--gold);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28), 0 0 0 5px rgba(255, 255, 255, 0.16);
  font-size: 1.6rem;
}

.tutor-banner-main {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.tutor-banner-main h3 {
  margin: 0;
  color: white;
  font-size: 2rem;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.tutor-banner-main p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.tutor-banner-stats,
.tutor-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tutor-banner-stats span,
.ready-count-pill,
.phase-status-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
}

.tutor-banner-stats strong,
.ready-count-pill strong,
.phase-status-pill strong {
  color: white;
}

.tutor-banner-actions {
  align-content: center;
}

.tutor-banner-actions label {
  display: grid;
  gap: 5px;
  width: 100%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ready-count-pill {
  border: 1px solid rgba(24, 165, 88, 0.45);
  background: #def8e8;
  color: #0b6b35;
}

.ready-count-pill strong {
  color: #0b6b35;
  font-size: 1.4rem;
}

.phase-status-pill {
  border: 1px solid rgba(242, 182, 50, 0.45);
  background: #fff2c7;
  color: #8a5b00;
}

.phase-status-pill span {
  color: #8a5b00;
}

.tutor-summary-grid {
  display: grid;
  gap: 10px;
}

.tutor-summary-card {
  display: grid;
  gap: 4px;
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.tutor-summary-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tutor-summary-card strong {
  color: var(--navy);
  font-size: 1.8rem;
}

.tutor-summary-card.green {
  border-color: rgba(24, 165, 88, 0.35);
  box-shadow: inset 5px 0 0 #18a558, 0 8px 24px rgba(15, 35, 63, 0.07);
}

.tutor-summary-card.blue {
  box-shadow: inset 5px 0 0 var(--blue), 0 8px 24px rgba(15, 35, 63, 0.07);
}

.tutor-summary-card.amber {
  box-shadow: inset 5px 0 0 var(--warn), 0 8px 24px rgba(15, 35, 63, 0.07);
}

.tutor-summary-card.gold {
  box-shadow: inset 5px 0 0 var(--gold), 0 8px 24px rgba(15, 35, 63, 0.07);
}

.tutor-attendance-inline {
  grid-template-columns: minmax(0, 1fr);
}

.tutor-queue-section,
.tutor-collapsible {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.ready-marking-grid,
.marked-task-list,
.awaiting-task-list {
  display: grid;
  gap: 10px;
}

.ready-mark-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(24, 165, 88, 0.42);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24, 165, 88, 0.08), rgba(255, 255, 255, 0)), #ffffff;
  box-shadow: inset 5px 0 0 #18a558;
}

.ready-mark-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ready-mark-head h4,
.marked-task-card h4,
.awaiting-task-list h4 {
  margin: 6px 0 0;
  color: var(--navy);
}

.ready-mark-head p,
.marked-task-card p,
.awaiting-task-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.ready-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #def8e8;
  color: #0b6b35;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ready-mark-facts {
  display: grid;
  gap: 8px;
}

.ready-mark-facts div {
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
}

.ready-mark-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ready-mark-facts strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
}

.queue-evidence-preview .evidence-list {
  margin-top: 0;
}

.queue-mark-actions {
  display: grid;
  gap: 8px;
}

.queue-mark-actions .selected,
.grade-picker button.selected {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.grade-bronze {
  border-color: #c47a3c;
}

.grade-silver {
  border-color: #b9c5d1;
}

.grade-gold {
  border-color: var(--gold);
}

.tutor-collapsible summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
  list-style: none;
}

.tutor-collapsible summary::-webkit-details-marker {
  display: none;
}

.tutor-collapsible summary strong {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--wash);
}

.marked-task-card,
.awaiting-task-list article {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.awaiting-task-list article {
  border-color: rgba(183, 121, 31, 0.28);
  background: #fffaf0;
}

.awaiting-task-list article > span {
  color: var(--warn);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.marked-task-actions {
  display: grid;
  gap: 8px;
}

.queue-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: inherit;
  text-align: left;
}

.queue-task.active {
  border-color: var(--gold);
  box-shadow: inset 4px 0 0 var(--gold), 0 8px 24px rgba(15, 35, 63, 0.08);
}

.queue-task span,
.signoff-evidence span,
.evidence-preview span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.queue-task strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.queue-task small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.signoff-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

#tutorSignoffPanel:has(.award-certificate-wrap) {
  width: calc(100vw - 28px);
  max-width: none;
  margin-left: calc(50% - 50vw + 14px);
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

#tutorSignoffPanel:has(.tutor-shared-live-ilp-overlay) {
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.tutor-shared-live-ilp-overlay {
  z-index: 10000;
}

.marking-assessment-layout {
  display: grid;
  gap: 16px;
}

.technical-assessment-panel,
.professional-behaviour-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.professional-behaviour-panel {
  min-height: 100%;
  padding: 14px;
  border: 1px solid rgba(216, 167, 44, 0.38);
  border-radius: 8px;
  background: #fffdf7;
}

.professional-behaviour-panel .panel-head {
  align-items: start;
}

.tutor-marking-workflow-mode .signoff-queue,
.tutor-marking-workflow-mode #tutorTaskList {
  display: none;
}

.tutor-marking-workflow {
  display: grid;
  gap: 18px;
}

body:has(.tutor-marking-workspace) .app-shell {
  width: min(94%, 1680px);
  max-width: none;
}

.tutor-back-dashboard {
  justify-self: start;
}

.tutor-marking-learner-header {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: center;
  padding: clamp(14px, 1.6vw, 20px);
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96)),
    #ffffff;
  box-shadow: 0 14px 34px rgba(5, 19, 50, 0.1);
}

.tutor-marking-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.tutor-marking-identity-copy { min-width: 0; }
.tutor-marking-identity-copy h2 {
  margin: 3px 0 4px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}
.tutor-marking-id { margin: 0; color: var(--muted); font-weight: 850; }
.tutor-marking-submission-context {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, .75fr) minmax(150px, .7fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 12px;
  background: rgba(11, 31, 77, 0.1);
}
.tutor-marking-submission-context div { display: grid; gap: 4px; padding: 12px 14px; background: #fff; }
.tutor-marking-submission-context small { color: var(--muted); font-size: .68rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.tutor-marking-submission-context strong { color: var(--navy); font-size: .9rem; line-height: 1.3; }
.tutor-marking-identity .learner-avatar.large { width: 70px; height: 70px; border: 3px solid #fff; outline: 2px solid var(--gold); }

.tutor-learner-confirmation-profile {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.tutor-learner-confirmation-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(242, 182, 50, 0.18), transparent 34%),
    linear-gradient(135deg, #0b1f4d 0%, #123674 100%);
  box-shadow: 0 20px 42px rgba(15, 35, 63, 0.22);
}

.tutor-learner-confirmation-name {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.tutor-marking-learner-header .assigned-slot-photo .learner-avatar.large {
  width: clamp(112px, 10vw, 142px);
  height: clamp(112px, 10vw, 142px);
  border-radius: 50%;
  border: 6px solid #ffffff;
  outline: 4px solid rgba(242, 182, 50, 0.78);
  box-shadow: 0 18px 34px rgba(5, 19, 50, 0.26);
}

.tutor-marking-learner-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.04;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.tutor-learner-confirmation-panel .eyebrow {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.tutor-learner-status-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  font-weight: 850;
}

.tutor-marking-learner-header .assigned-slot-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tutor-marking-learner-header .assigned-slot-meta span {
  display: grid;
  gap: 3px;
  align-content: center;
  min-height: 34px;
  padding: 10px 12px;
  border: 1px solid rgba(11, 31, 77, 0.11);
  border-left: 4px solid var(--gold);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(15, 35, 63, 0.07);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 950;
  min-width: 0;
  overflow-wrap: anywhere;
}

.tutor-marking-learner-header .assigned-slot-meta small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tutor-marking-kpis {
  display: grid;
  gap: 12px;
}

.tutor-marking-kpis div {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 16px 17px 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.11);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 32px rgba(5, 19, 50, 0.09);
}

.tutor-marking-kpis div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
}

.tutor-marking-kpis span,
.lesson-marking-facts span,
.learner-response-box span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tutor-marking-kpis strong,
.lesson-marking-facts strong {
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 1000;
}

.outstanding-lessons-queue {
  display: grid;
  gap: 16px;
}

.lesson-marking-card {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 1.8vw, 24px);
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(5, 19, 50, 0.1);
}

.lesson-marking-card-head {
  display: grid;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.lesson-marking-card-head h4 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
}

.lesson-marking-card-head p:not(.eyebrow) {
  margin: 5px 0 0;
  color: var(--muted);
}

.lesson-marking-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.lesson-evidence-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.lesson-marking-facts {
  display: grid;
  gap: 10px;
}

.lesson-marking-facts div,
.learner-response-box {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.lesson-marking-facts div {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 12px 24px rgba(5, 19, 50, 0.08);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.lesson-marking-facts div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}

.lesson-marking-facts div:hover {
  border-color: rgba(242, 182, 50, 0.36);
  box-shadow: 0 16px 30px rgba(5, 19, 50, 0.11);
  transform: translateY(-1px);
}

.lesson-marking-facts div span {
  color: rgba(11, 31, 77, 0.62);
  letter-spacing: 0.055em;
}

.lesson-marking-facts div strong {
  color: var(--navy);
  font-weight: 1000;
}

.learner-response-box p {
  margin: 0;
  color: var(--navy);
  line-height: 1.5;
}

.lesson-evidence-column .evidence-review-panel {
  display: grid;
  min-height: 320px;
  align-content: start;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-left: 6px solid var(--gold);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 16px 34px rgba(5, 19, 50, 0.09);
}

.lesson-evidence-column .evidence-review-panel .eyebrow {
  color: var(--gold);
  font-weight: 1000;
  letter-spacing: 0.065em;
}

.lesson-evidence-column .evidence-review-panel .evidence-preview {
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(5, 19, 50, 0.06);
}

.lesson-evidence-column .evidence-review-panel .evidence-preview strong {
  color: var(--navy);
  font-weight: 1000;
}

.lesson-evidence-column .evidence-review-panel .evidence-preview p {
  color: rgba(11, 31, 77, 0.62);
  font-weight: 750;
}

.lesson-evidence-column .evidence-media {
  width: 100%;
  min-height: 220px;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
}

.lesson-evidence-column .evidence-preview-grid { grid-template-columns: 1fr; }
.lesson-evidence-column .evidence-preview-card { grid-template-columns: minmax(0, 1fr); }
.lesson-evidence-column .evidence-preview-media { min-height: clamp(280px, 36vw, 560px); background: #eef2f6; }
.lesson-evidence-column .evidence-preview-media :is(img, video),
.lesson-evidence-column .evidence-preview-open { width: 100%; height: 100%; }
.lesson-evidence-column .evidence-preview-media :is(img, video) { display: block; max-height: 560px; object-fit: contain; }
.lesson-evidence-column .evidence-preview-body { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
.lesson-evidence-column .evidence-file-name { grid-column: 1 / -1; }

.tutor-marking-workspace.single-marking-item > .outstanding-lessons-queue > .panel-head,
.tutor-marking-workspace.single-marking-item .lesson-marking-card-head { display: none; }
.tutor-marking-workspace.single-marking-item .lesson-marking-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tutor-marking-workspace.single-marking-item .lesson-marking-facts div { min-height: 62px; padding: 9px 12px; }
.tutor-marking-workspace.single-marking-item .lesson-marking-facts strong { font-size: 1rem; }
.tutor-marking-workspace .tutor-marking-identity .learner-avatar.large { width: 68px; height: 68px; border-width: 3px; outline-width: 2px; }

.lesson-evidence-column .learner-response-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-left: 6px solid var(--gold);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 16px 34px rgba(5, 19, 50, 0.09);
}

.lesson-evidence-column .learner-response-box span {
  color: var(--gold);
  font-weight: 1000;
  letter-spacing: 0.065em;
}

.lesson-evidence-column .learner-response-box p {
  color: var(--navy);
  font-weight: 800;
}

.lesson-comment-save {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* Practical Mark Work V3: compact, exception-led assessment workspace. */
.practical-marking-compact-header {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  padding: 12px 14px;
  gap: 14px;
}
.practical-marking-compact-header .tutor-marking-identity .learner-avatar.large { width: 54px; height: 54px; }
.practical-marking-compact-header .tutor-marking-identity-copy { display: grid; gap: 2px; }
.practical-marking-compact-header .tutor-marking-identity-copy h2 { margin: 0; font-size: 1.2rem; }
.practical-marking-compact-header .tutor-marking-identity-copy h2 span { color: var(--muted); font-size: .82rem; }
.practical-marking-compact-header .tutor-marking-identity-copy > strong { color: var(--navy); font-size: .98rem; }
.practical-marking-compact-header .tutor-marking-identity-copy > p:last-child { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 750; }
.practical-header-evidence .evidence-preview-card { grid-template-columns: 78px minmax(0, 1fr); min-height: 66px; border-radius: 9px; overflow: hidden; }
.practical-header-evidence .evidence-preview-media { min-height: 66px; height: 66px; }
.practical-header-evidence .evidence-preview-media :is(img, video) { width: 100%; height: 100%; object-fit: cover; }
.practical-header-evidence .evidence-preview-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 7px 9px; }
.practical-header-evidence .evidence-preview-body > span,
.practical-header-evidence .evidence-preview-body > em { display: none; }
.practical-header-evidence .evidence-file-name { grid-column: 1 / -1; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.practical-header-evidence .evidence-open-link { min-height: 30px; padding: 5px 9px; font-size: .72rem; }

.practical-assessment-only .outstanding-lessons-queue { gap: 0; }
.lesson-marking-card.practical-assessment-v3 { gap: 12px; padding: 0; overflow: hidden; border-radius: 14px; }
.practical-assessment-section { display: grid; gap: 10px; padding: 15px 18px; border-bottom: 1px solid rgba(11, 31, 77, .11); }
.practical-assessment-section:last-child { border-bottom: 0; }
.practical-assessment-section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.practical-assessment-section-head h3 { margin: 1px 0 0; color: var(--navy); font-size: 1.04rem; }
.assessment-review-state { padding: 5px 9px; border: 1px solid rgba(242, 182, 50, .38); border-radius: 999px; background: #fffaf0; color: #72510a; font-size: .7rem; font-weight: 900; white-space: nowrap; }
.practical-workmanship-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.practical-workmanship-row,
.practical-professional-row { margin: 0; min-width: 0; padding: 7px 0; border: 0; border-top: 1px solid rgba(11, 31, 77, .08); }
.practical-workmanship-row legend,
.practical-professional-row legend { display: grid; float: left; width: 41%; padding: 1px 10px 0 0; color: var(--navy); }
.practical-workmanship-row legend strong,
.practical-professional-row legend strong { font-size: .77rem; line-height: 1.2; text-transform: uppercase; }
.practical-workmanship-row legend small,
.practical-professional-row legend small { margin-top: 2px; color: var(--muted); font-size: .64rem; line-height: 1.25; }
.practical-rating-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.practical-rating-options button,
.practical-professional-row .behaviour-grade-options button { min-height: 36px; padding: 5px 7px; border: 1px solid rgba(11, 31, 77, .16); border-radius: 7px; background: #fff; color: var(--navy); font-size: .69rem; font-weight: 900; cursor: pointer; }
.practical-rating-options button:hover,
.practical-professional-row .behaviour-grade-options button:hover { border-color: var(--gold); }
.practical-rating-options button.selected,
.practical-professional-row .behaviour-grade-options button.selected { border-color: #75ad8b; background: #e7f5ec; color: var(--navy); box-shadow: 0 3px 9px rgba(41, 111, 70, .12); }
.practical-rating-options button.selected::before,
.practical-professional-row .behaviour-grade-options button.selected::before { content: "✓ "; color: #23643d; font-weight: 950; }
.practical-rating-options button:focus-visible,
.practical-professional-row .behaviour-grade-options button:focus-visible { outline: 3px solid rgba(201,157,52,.38); outline-offset: 2px; }
.practical-professional-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.practical-professional-row .behaviour-grade-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.practical-completion-section { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.practical-completion-section .practical-assessment-section-head,
.practical-completion-section .practical-comments,
.practical-completion-section .edit-reason-field,
.practical-completion-section .assessment-history,
.practical-completion-section .lesson-save-feedback,
.practical-completion-section .login-error { grid-column: 1; }
.practical-comments { display: grid; gap: 5px; }
.practical-comments > span { display: flex; gap: 8px; align-items: baseline; color: var(--navy); font-size: .8rem; font-weight: 900; }
.practical-comments > span small { color: var(--muted); font-weight: 700; }
.requires-practical-feedback .practical-comments > span small { color: #a22b2b; }
.practical-comments textarea { min-height: 68px; resize: vertical; }
.practical-completion-sidebar { grid-column: 2; grid-row: 1 / span 7; display: grid; gap: 8px; align-self: stretch; align-content: end; min-width: 250px; }
.practical-live-summary { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px; border: 1px solid rgba(11, 31, 77, .12); border-radius: 10px; background: #f8fafc; }
.practical-live-summary > .eyebrow { grid-column: 1 / -1; margin: 0; }
.practical-live-summary > div { display: grid; gap: 2px; min-width: 0; padding: 7px 9px; border-left: 3px solid rgba(242, 182, 50, .65); background: #fff; }
.practical-live-summary span { color: var(--muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.practical-live-summary strong { color: var(--navy); font-size: .82rem; line-height: 1.2; }
.practical-live-summary .practical-overall-outcome { border-left-color: var(--navy); }
.practical-completion-actions { display: grid; gap: 6px; }
.practical-completion-actions .primary-action { min-height: 48px; }
.practical-assessment-v5 .practical-completion-section { grid-template-columns: 1fr; align-items: stretch; padding: 20px; background: linear-gradient(145deg, #f8fafc 0%, #fff 58%); }
.practical-assessment-v5 .practical-completion-section > * { grid-column: 1; }
.practical-assessment-v5 .practical-completion-sidebar { grid-column: 1; grid-row: auto; min-width: 0; align-content: stretch; gap: 14px; }
.practical-ai-feedback { display: grid; gap: 14px; padding: 18px; border: 1px solid #cbd7e5; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(7,27,66,.08); }
.practical-ai-feedback.approved { border-color: #78c69c; box-shadow: 0 14px 34px rgba(17,99,58,.1); }
.practical-ai-feedback.stale { border-color: #d89d31; background: #fffaf0; }
.practical-ai-feedback.failed { border-color: #d69a9a; background: #fffafa; }
.practical-ai-feedback-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.practical-ai-feedback-head h4 { margin: 2px 0 0; color: var(--navy); font-size: 1.05rem; }
.practical-ai-feedback-head > span { max-width: 290px; padding: 6px 10px; border-radius: 999px; background: #eef3f8; color: #435a71; font-size: .69rem; font-weight: 900; text-align: center; }
.practical-ai-feedback.approved .practical-ai-feedback-head > span { background: #e9f8ef; color: #11633a; }
.practical-ai-feedback.stale .practical-ai-feedback-head > span { background: #fff1cf; color: #76540e; }
.practical-feedback-report { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.practical-feedback-card { display: grid; grid-template-rows: auto 1fr; gap: 8px; min-width: 0; padding: 14px; border: 1px solid rgba(11,31,77,.1); border-radius: 12px; }
.practical-feedback-card-strengths { background: #edf8f1; border-color: #c7e6d2; }
.practical-feedback-card-development { background: #eef6fc; border-color: #c8dfef; }
.practical-feedback-card-next-step { background: #fff5e6; border-color: #efd8b6; }
.practical-feedback-report span,
.practical-manual-feedback > span { color: var(--navy); font-size: .72rem; font-weight: 950; letter-spacing: .035em; text-transform: uppercase; }
.practical-feedback-report textarea,
.practical-manual-feedback textarea { min-height: 92px; padding: 12px; border: 1px solid #cbd7e5; border-radius: 10px; background: #fff; color: #183653; font: inherit; line-height: 1.45; resize: vertical; }
.practical-feedback-report textarea[readonly] { field-sizing: content; min-height: 0; overflow: hidden; border-color: transparent; background: rgba(255,255,255,.48); resize: none; }
.practical-feedback-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.practical-feedback-message { min-height: 0; margin: 0; color: #8e2424; font-size: .76rem; font-weight: 780; }
.practical-feedback-loading { display: grid; grid-template-columns: 2fr 1.7fr 1fr; gap: 10px; }
.practical-feedback-loading span { height: 54px; border-radius: 9px; background: linear-gradient(90deg,#edf2f7,#f8fafc,#edf2f7); background-size: 200% 100%; animation: practicalFeedbackPulse 1.3s linear infinite; }
.practical-completion-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@keyframes practicalFeedbackPulse { to { background-position: -200% 0; } }

@media (max-width: 1100px) {
  .practical-workmanship-list,
  .practical-professional-matrix { grid-template-columns: 1fr; }
  .practical-feedback-report { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .practical-marking-compact-header { grid-template-columns: 1fr; }
  .practical-assessment-section { padding: 13px 12px; }
  .practical-assessment-section-head { align-items: start; }
  .practical-workmanship-row legend { float: none; width: 100%; padding-bottom: 6px; }
  .practical-professional-row legend { float: none; width: 100%; padding-bottom: 6px; }
  .practical-completion-section { grid-template-columns: 1fr; }
  .practical-completion-sidebar { grid-column: 1; grid-row: auto; min-width: 0; }
  .assessment-review-state { white-space: normal; }
  .practical-feedback-report,
  .practical-completion-actions { grid-template-columns: 1fr; }
  .practical-ai-feedback-head { display: grid; }
  .practical-ai-feedback-head > span { max-width: none; text-align: left; }
  .practical-feedback-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

.tutor-feedback-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-left: 6px solid var(--gold);
  border-radius: 18px;
  background: #fbfdff;
  box-shadow: 0 16px 36px rgba(15, 35, 63, 0.1);
}

.tutor-feedback-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.tutor-feedback-card-head span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tutor-feedback-card-head h4 {
  margin: 3px 0;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
}

.tutor-feedback-card-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.tutor-feedback-card-head em {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(242, 182, 50, 0.42);
  border-radius: 999px;
  background: #fff8df;
  color: #946400;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
  text-transform: uppercase;
}

.tutor-feedback-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tutor-feedback-chip {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 7px 14px rgba(15, 35, 63, 0.06);
}

.tutor-feedback-chip:hover,
.tutor-feedback-chip:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 182, 50, 0.22);
}

.tutor-feedback-textarea-label {
  display: grid;
  gap: 8px;
}

.tutor-feedback-textarea-label span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.tutor-feedback-textarea-label textarea {
  min-height: 150px;
  padding: 14px;
  border: 1px solid rgba(11, 31, 77, 0.16);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
  box-shadow: inset 0 1px 0 rgba(15, 35, 63, 0.04);
}

.tutor-feedback-textarea-label textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(242, 182, 50, 0.24);
}

.tutor-feedback-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.45;
}

.lesson-comment-save .primary-action {
  justify-self: start;
  min-width: min(260px, 100%);
}

.lesson-comment-save .primary-action.is-saving {
  opacity: 0.75;
  cursor: wait;
}

.lesson-comment-save .primary-action.is-saved {
  background: #18A558;
  border-color: #18A558;
  color: #ffffff;
}

.lesson-comment-save .primary-action.is-failed {
  background: #d32f2f;
  border-color: #d32f2f;
  color: #ffffff;
}

.lesson-comment-save .primary-action.has-unsaved-changes {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.lesson-save-feedback {
  min-height: 20px;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 900;
}

.lesson-save-feedback.success {
  color: #137a3f;
}

.lesson-save-feedback.error {
  color: #b42318;
}

.lesson-save-feedback.unsaved {
  color: #8a6200;
}

.lesson-technical-picker button {
  position: relative;
  min-height: 88px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(5, 19, 50, 0.08);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.lesson-technical-picker button::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
}

.lesson-technical-picker button:hover,
.lesson-technical-picker button:focus-visible {
  border-color: rgba(242, 182, 50, 0.72);
  box-shadow: 0 16px 30px rgba(5, 19, 50, 0.12), 0 0 0 3px rgba(242, 182, 50, 0.16);
  transform: translateY(-1px);
}

.lesson-technical-picker button:active {
  transform: scale(0.99);
}

.lesson-technical-picker button.selected {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--navy) 0%, #123674 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(5, 19, 50, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.lesson-technical-picker button span {
  color: inherit;
  font-weight: 1000;
}

.lesson-technical-picker button small {
  color: inherit;
  opacity: 0.72;
  font-weight: 800;
}

.marked-lesson-summary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.assessment-history {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 8px;
  background: #f8fafc;
}

.assessment-history-list {
  display: grid;
  gap: 8px;
}

.assessment-history-list article {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: #ffffff;
}

.assessment-history-list strong {
  color: var(--navy);
}

.assessment-history-list span,
.assessment-history-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.edit-reason-field textarea {
  border-color: rgba(242, 182, 50, 0.6);
  background: #fffdf4;
}

.behaviour-metric-list {
  display: grid;
  gap: 18px;
}

.behaviour-metric {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(11, 31, 77, 0.1);
}

.behaviour-metric:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.behaviour-metric legend {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 1000;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.behaviour-metric legend::before {
  content: "";
  width: 5px;
  height: 24px;
  flex: 0 0 5px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 4px 10px rgba(242, 182, 50, 0.28);
}

.behaviour-grade-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.behaviour-grade-options button {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(11, 31, 77, 0.14);
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(5, 19, 50, 0.06);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.behaviour-grade-options button:hover,
.behaviour-grade-options button:focus-visible {
  border-color: rgba(242, 182, 50, 0.72);
  box-shadow: 0 12px 22px rgba(5, 19, 50, 0.11), 0 0 0 3px rgba(242, 182, 50, 0.18);
  transform: translateY(-1px);
}

.behaviour-grade-options button:active {
  transform: scale(0.98);
}

.behaviour-grade-options button.selected {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--navy) 0%, #123674 100%);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(5, 19, 50, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.behaviour-grade-options button.selected span {
  color: #ffffff;
}

.behaviour-score-summary {
  display: grid;
  align-content: center;
  min-height: 190px;
  padding: 24px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
}

.behaviour-score-summary span {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.behaviour-score-summary strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
}

.behaviour-score-summary p,
.professional-standards-score-display {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

.behaviour-score-summary .professional-standards-score-value {
  display: block;
  color: #ffffff;
  font-size: clamp(3.1rem, 8vw, 5.2rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: none;
}

.behaviour-score-summary .professional-standards-score-display small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.behaviour-score-summary .professional-standards-score-display.incomplete .professional-standards-score-value {
  font-size: clamp(2.35rem, 5vw, 3.8rem);
}

.behaviour-live-metrics {
  display: grid;
  gap: 8px;
}

.behaviour-live-metrics div {
  padding: 10px;
  border: 1px solid rgba(15, 35, 63, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.behaviour-live-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.behaviour-live-metrics strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
}

.behaviour-profile-grid {
  display: grid;
  gap: 8px;
}

.behaviour-profile-grid div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.behaviour-profile-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.behaviour-profile-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 1.25rem;
}

.signoff-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.signoff-header h4 {
  margin: 3px 0;
  color: var(--navy);
  font-size: 1.15rem;
}

.signoff-header p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.signoff-evidence div,
.evidence-preview,
.attempt-row {
  padding: 11px;
  border-radius: 8px;
  background: var(--wash);
}

.signoff-evidence strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.evidence-preview {
  display: grid;
  gap: 4px;
  border: 1px dashed #b9c8d8;
}

.evidence-preview strong {
  color: var(--navy);
}

.evidence-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.grade-picker {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.grade-picker legend,
.comment-label {
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.grade-picker button {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
  text-align: left;
}

.grade-picker button.selected {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.grade-picker button span {
  font-weight: 900;
}

.grade-picker button small {
  color: inherit;
  opacity: 0.78;
  font-size: 0.78rem;
}

.comment-label {
  display: block;
}

.official-signoff-panel,
.official-signoff-note,
.signed-record {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(216, 167, 44, 0.55);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(216, 167, 44, 0.1), rgba(255, 255, 255, 0)),
    #fffdf7;
}

.official-signoff-note {
  border-color: var(--line);
  background: #fbfdff;
}

.official-signoff-note h4,
.signed-record h5 {
  margin: 0;
  color: var(--navy);
}

.official-signoff-note p:not(.eyebrow),
.signed-record p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.signature-pad-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid #aebed0;
  border-radius: 8px;
  background:
    linear-gradient(transparent calc(100% - 42px), rgba(15, 35, 63, 0.08) calc(100% - 41px), transparent calc(100% - 40px)),
    white;
}

.signature-pad {
  display: block;
  width: 100%;
  height: clamp(150px, 26vw, 230px);
  cursor: crosshair;
  touch-action: none;
}

.signed-record {
  border-color: #c9d5e3;
  background: #fbfdff;
}

.signed-record.compact {
  box-shadow: none;
}

.signed-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

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

.signed-record-grid div {
  padding: 9px;
  border-radius: 8px;
  background: var(--wash);
}

.signed-record-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signed-record-grid strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.signature-image {
  width: min(100%, 260px);
  min-height: 74px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  object-fit: contain;
}

.signature-thumb {
  width: 92px;
  height: 42px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  object-fit: contain;
}

.signoff-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.attempt-history {
  display: grid;
  gap: 8px;
}

.attempt-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.signoff-audit-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.employer-signoffs {
  display: grid;
  gap: 10px;
}

.attempt-row span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: white;
  color: var(--navy);
  font-weight: 900;
}

.attempt-row strong {
  color: var(--navy);
}

.attempt-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.lesson-card,
.review-card,
.learner-row,
.record-panel,
.employer-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.record-panel {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.admin-setup-panel,
.empty-state,
.attendance-marker {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.admin-setup-panel {
  border-color: rgba(216, 167, 44, 0.58);
  background: #fffaf0;
}

.learner-setup-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 16px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 240, 0.98)),
    #fffaf0;
}

.admin-back-button {
  width: fit-content;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(11, 31, 77, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 35, 75, 0.06);
}

.admin-back-button:hover {
  border-color: rgba(242, 182, 50, 0.72);
  background: #fffaf0;
}

.learner-setup-title h4 {
  font-size: 1.28rem;
}

.learner-setup-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.setup-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.setup-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.setup-section-heading span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.setup-section-heading h5 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.identity-layout {
  display: grid;
  gap: 12px;
}

.profile-photo-setup {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(216, 167, 44, 0.35);
  border-radius: 8px;
  background: white;
}

.profile-photo-setup.photo-complete {
  border-color: rgba(15, 138, 97, 0.35);
  background: #eefaf3;
}

.profile-photo-setup.show-warning {
  border-color: rgba(186, 61, 61, 0.62);
  background: #fffafa;
}

.profile-photo-setup .photo-upload-status {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.profile-photo-setup.photo-complete .photo-upload-status {
  color: var(--good);
}

.profile-photo-setup .field-warning {
  grid-column: 2;
}

.photo-upload {
  position: relative;
  display: inline-grid;
  min-height: 40px;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: white;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.profile-photo-setup.photo-complete .photo-upload {
  border-color: rgba(15, 138, 97, 0.44);
  background: #ffffff;
  color: var(--good);
}

.visually-hidden-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.learner-setup-page .profile-photo-setup {
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(216, 167, 44, 0.48);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  box-shadow: 0 14px 30px rgba(15, 35, 63, 0.08);
}

.learner-setup-page .profile-photo-setup .learner-avatar.large {
  width: 156px;
  height: 156px;
  min-width: 156px;
  border: 5px solid #ffffff;
  outline: 4px solid rgba(216, 167, 44, 0.84);
  box-shadow: 0 18px 34px rgba(15, 35, 63, 0.18);
  object-fit: cover;
}

.learner-setup-page .profile-photo-setup .photo-upload {
  width: fit-content;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 12px;
  border-color: var(--navy);
  box-shadow: 0 8px 18px rgba(15, 35, 63, 0.08);
}

.learner-setup-page .profile-photo-setup .photo-upload-status,
.learner-setup-page .profile-photo-setup .field-warning {
  grid-column: 2;
}

@media (max-width: 720px) {
  .learner-setup-page .profile-photo-setup {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .learner-setup-page .profile-photo-setup .learner-avatar.large {
    width: 132px;
    height: 132px;
    min-width: 132px;
  }

  .learner-setup-page .profile-photo-setup .photo-upload-status,
  .learner-setup-page .profile-photo-setup .field-warning {
    grid-column: 1;
  }
}

/* Verified public Electrician employment hub: Step 1 work-type multi-select */
body:has(#electricianEmploymentView:not(.hidden)) { background: #f3f6fa; }
body:has(#electricianEmploymentView:not(.hidden)) .app-shell { width: min(100%, 1240px); max-width: 1240px; }
#electricianEmploymentView { min-width: 0; }
.electrician-employment-hub { display: grid; gap: 1.5rem; padding: 0.35rem 0 2.5rem; color: #173253; }
.electrician-employment-hero { padding: clamp(1.65rem, 3vw, 2.35rem); border: 1px solid rgba(20, 54, 91, 0.13); border-radius: 1.2rem; background: #fff; box-shadow: 0 10px 28px rgba(13, 42, 80, 0.08); }
.electrician-employment-welcome h1 { margin: 0; color: #0a2555; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1.05; letter-spacing: -0.035em; }
.electrician-employment-welcome h2 { margin: 1.15rem 0 0; color: #173253; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; }
.electrician-employment-welcome p { margin: 0.6rem 0 0; color: #607086; font-size: 1rem; font-weight: 650; line-height: 1.5; }
.electrician-work-picker { display: grid; gap: 1.25rem; width: 100%; }
.electrician-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: clamp(1rem, 2vw, 1.4rem); }
.electrician-work-card { display: grid; grid-template-rows: auto 190px minmax(5.4rem, 1fr) auto; min-width: 0; min-height: 390px; padding: 0; overflow: hidden; border: 2px solid #d0a633; border-radius: 1rem; background: #fff; box-shadow: 0 8px 22px rgba(13, 42, 80, 0.09); color: #203852; text-align: left; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.electrician-work-card-header { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.95rem 1.15rem; border-bottom: 3px solid #d9ad36; background: #0a2555; color: #fff; }
.electrician-work-card-header strong { color: #fff; font-size: clamp(1rem, 1.35vw, 1.18rem); letter-spacing: 0.05em; text-transform: uppercase; }
.electrician-work-card-check { display: grid; width: 1.65rem; height: 1.65rem; flex: 0 0 auto; place-items: center; border: 2px solid rgba(255, 255, 255, 0.54); border-radius: 50%; color: #0a2555; font-size: 1rem; font-weight: 900; }
.electrician-work-card-image { display: block; width: 100%; height: 190px; object-fit: cover; border: 0; }
.electrician-work-card--domestic .electrician-work-card-image { object-position: center 43%; }
.electrician-work-card--commercial .electrician-work-card-image { object-position: center 42%; }
.electrician-work-card--industrial .electrician-work-card-image { object-position: center 50%; }
.electrician-work-card-body { display: block; padding: 1.1rem 1.15rem 0.65rem; color: #314a67; font-size: 0.96rem; font-weight: 650; line-height: 1.5; }
.electrician-work-card-state { display: block; padding: 0.5rem 1.15rem 1.05rem; color: #62758a; font-size: 0.75rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.055em; }
.electrician-work-card:hover { border-color: #b88415; box-shadow: 0 14px 30px rgba(13, 42, 80, 0.14); transform: translateY(-3px); }
.electrician-work-card:focus-visible { outline: 4px solid #f0c857; outline-offset: 4px; }
.electrician-work-card.is-selected { border-color: #a87512; box-shadow: 0 0 0 3px rgba(240, 200, 87, 0.3), 0 15px 32px rgba(13, 42, 80, 0.16); }
.electrician-work-card.is-selected .electrician-work-card-check { border-color: #f0c857; background: #f0c857; }
.electrician-work-card.is-selected .electrician-work-card-state { color: #765307; }
.electrician-work-actions { display: flex; min-height: 48px; align-items: center; justify-content: flex-end; gap: 1rem; }
.electrician-work-handoff-status { margin: 0 auto 0 0; color: #52677f; font-size: 0.85rem; font-weight: 700; }
.electrician-work-next { min-width: 132px; min-height: 46px; }
.electrician-work-next:disabled { border-color: #bbc6d3; background: #dbe2ea; color: #718096; box-shadow: none; cursor: not-allowed; opacity: 1; }

.electrician-location-page { display: grid; gap: 1rem; padding: 0.35rem 0 2.5rem; }
.electrician-journey-progress { display: flex; align-items: center; gap: 0.55rem; color: #7a899c; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.035em; text-transform: uppercase; }
.electrician-journey-progress span { display: flex; align-items: center; gap: 0.4rem; }
.electrician-journey-progress span:not(:last-child)::after { margin-left: 0.15rem; color: #bec8d4; content: "→"; }
.electrician-journey-progress b { display: grid; width: 1.45rem; height: 1.45rem; place-items: center; border: 1px solid #cad3de; border-radius: 50%; font-size: 0.68rem; }
.electrician-journey-progress .is-complete { color: #6f5008; }
.electrician-journey-progress .is-complete b { border-color: #d9ad36; background: #f7e6ad; }
.electrician-journey-progress .is-current { color: #0a2555; }
.electrician-journey-progress .is-current b { border-color: #0a2555; background: #0a2555; color: #fff; }
.electrician-location-hero { padding: 1.4rem 1.55rem; border: 1px solid rgba(20, 54, 91, 0.12); border-radius: 1rem; background: #fff; box-shadow: 0 8px 22px rgba(13, 42, 80, 0.06); }
.electrician-location-hero :is(p, h1) { margin: 0; }
.electrician-location-hero .eyebrow { color: #9a7026; }
.electrician-location-hero h1 { margin-top: 0.35rem; color: #0a2555; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.06; letter-spacing: -0.035em; }
.electrician-location-hero p:last-child { margin-top: 0.55rem; color: #607086; font-weight: 650; }
.electrician-location-layout { display: grid; grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr); gap: 1.25rem; align-items: stretch; }
.electrician-location-controls,
.electrician-map-card { min-width: 0; border: 1px solid rgba(20, 54, 91, 0.13); border-radius: 1rem; background: #fff; box-shadow: 0 10px 26px rgba(13, 42, 80, 0.07); }
.electrician-location-controls { display: flex; padding: 1.35rem; flex-direction: column; }
.electrician-location-back { align-self: flex-start; margin: -0.25rem 0 0.75rem; padding: 0.25rem 0; border: 0; background: transparent; color: #52677f; font: inherit; font-size: 0.82rem; font-weight: 800; cursor: pointer; }
.electrician-location-back:hover { color: #0a2555; }
.electrician-location-back:focus-visible { outline: 3px solid rgba(217, 173, 54, 0.5); outline-offset: 4px; }
.electrician-location-controls h2 { margin: 0 0 1.15rem; color: #0a2555; font-size: 1.45rem; }
.electrician-location-controls form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.65rem 0.7rem; }
.electrician-postcode-field { display: grid; grid-column: 1 / -1; gap: 0.45rem; color: #203852; font-size: 0.82rem; font-weight: 850; }
.electrician-postcode-field input { width: 100%; min-height: 52px; padding: 0 0.9rem; border: 1px solid #bdc9d6; border-radius: 0.72rem; background: #fff; color: #0a2555; font: inherit; font-size: 1.1rem; font-weight: 800; letter-spacing: 0.055em; text-transform: uppercase; }
.electrician-postcode-field input:hover { border-color: #8fa0b3; }
.electrician-postcode-field input:focus-visible { border-color: #b88415; outline: 3px solid rgba(217, 173, 54, 0.25); outline-offset: 1px; }
.electrician-postcode-field input[aria-invalid="true"] { border-color: #b94b4b; }
#electricianPostcodeHelp { grid-column: 1; margin: 0; color: #718096; font-size: 0.75rem; line-height: 1.4; }
.electrician-postcode-resolve { min-height: 40px; padding: 0 0.9rem; border: 1px solid #c99a2b; border-radius: 0.65rem; background: #fffaf0; color: #0a2555; font: inherit; font-size: 0.78rem; font-weight: 850; cursor: pointer; }
.electrician-postcode-resolve:hover { background: #f8edca; }
.electrician-postcode-resolve:focus-visible { outline: 3px solid rgba(217, 173, 54, 0.42); outline-offset: 2px; }
.electrician-radius-control { display: grid; gap: 0.85rem; margin-top: 1.6rem; padding-top: 1.35rem; border-top: 1px solid #e3e8ef; }
.electrician-radius-control > div:first-child { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.electrician-radius-control label { color: #203852; font-size: 0.82rem; font-weight: 850; }
.electrician-radius-control output { color: #9a7026; font-size: 1.3rem; font-weight: 900; white-space: nowrap; }
.electrician-radius-control input[type="range"] { width: 100%; height: 24px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
.electrician-radius-control input[type="range"]::-webkit-slider-runnable-track { height: 7px; border-radius: 999px; background: linear-gradient(90deg, #d9ad36, #0a2555); }
.electrician-radius-control input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: -7.5px; appearance: none; border: 3px solid #fff; border-radius: 50%; background: #0a2555; box-shadow: 0 0 0 2px #d9ad36, 0 4px 10px rgba(10, 37, 85, 0.24); }
.electrician-radius-control input[type="range"]::-moz-range-track { height: 7px; border-radius: 999px; background: linear-gradient(90deg, #d9ad36, #0a2555); }
.electrician-radius-control input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: #0a2555; box-shadow: 0 0 0 2px #d9ad36; }
.electrician-radius-control input[type="range"]:focus-visible { outline: 3px solid rgba(217, 173, 54, 0.45); outline-offset: 5px; }
.electrician-radius-scale { display: flex; justify-content: space-between; color: #7a899c; font-size: 0.7rem; font-weight: 750; }
.electrician-location-status { min-height: 2.6rem; margin: 1rem 0 0; color: #52677f; font-size: 0.8rem; font-weight: 700; line-height: 1.45; }
.electrician-location-status.is-error { color: #a63c3c; }
.electrician-location-actions { display: flex; margin-top: auto; padding-top: 0.85rem; align-items: center; gap: 0.8rem; }
.electrician-location-next { min-width: 118px; min-height: 46px; padding: 0 1.25rem; border: 1px solid #d9ad36; border-radius: 0.72rem; background: #0a2555; color: #fff; font: inherit; font-weight: 850; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 7px 15px rgba(10, 37, 85, 0.17); cursor: pointer; }
.electrician-location-next:hover:not(:disabled) { background: #12366e; box-shadow: 0 10px 20px rgba(10, 37, 85, 0.22); }
.electrician-location-next:focus-visible { outline: 4px solid #f0c857; outline-offset: 3px; }
.electrician-location-next:disabled { border-color: #c5ced8; background: #dbe2ea; color: #718096; box-shadow: none; cursor: not-allowed; }
.electrician-location-handoff { margin: 0; color: #52677f; font-size: 0.76rem; font-weight: 700; }
.electrician-map-card { display: grid; grid-template-rows: auto minmax(390px, 1fr) auto; overflow: hidden; }
.electrician-map-card-heading { padding: 1rem 1.15rem 0.9rem; border-bottom: 3px solid #d9ad36; }
.electrician-map-card-heading :is(p, h2) { margin: 0; }
.electrician-map-card-heading .eyebrow { color: #9a7026; }
.electrician-map-card-heading h2 { margin-top: 0.25rem; color: #0a2555; font-size: 1.15rem; }
.electrician-location-map { z-index: 0; min-width: 0; min-height: 390px; background: #e8edf3; }
.electrician-map-card > p { margin: 0; padding: 0.8rem 1.15rem; color: #607086; font-size: 0.78rem; font-weight: 650; }
.electrician-map-card .leaflet-control-attribution { font-size: 0.65rem; }

@media (max-width: 900px) {
  .electrician-location-layout { grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr); }
  .electrician-map-card { grid-template-rows: auto minmax(350px, 1fr) auto; }
  .electrician-location-map { min-height: 350px; }
}

@media (max-width: 760px) {
  .electrician-employment-hub { padding-bottom: 2rem; }
  .electrician-work-grid { grid-template-columns: 1fr; }
  .electrician-work-card { grid-template-rows: auto 200px auto auto; min-height: 0; }
  .electrician-work-card-image { height: 200px; }
  .electrician-work-actions { align-items: stretch; flex-direction: column; }
  .electrician-work-next { width: 100%; }
  .electrician-location-layout { grid-template-columns: 1fr; }
  .electrician-journey-progress { flex-wrap: wrap; }
  .electrician-location-controls form { grid-template-columns: 1fr; }
  #electricianPostcodeHelp { grid-column: 1; }
  .electrician-postcode-resolve { justify-self: start; }
  .electrician-map-card { grid-template-rows: auto 320px auto; }
  .electrician-location-map { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .electrician-work-card,
  .electrician-location-next { transition: none; }
}

/* Electrician Employment Hub — Step 3 premium job results. */
.electrician-jobs-page { display: grid; gap: 1rem; padding: .35rem 0 2.75rem; color: #0a2555; }
.electrician-jobs-hero { display: grid; gap: .28rem; padding: 1.15rem 1.4rem; border: 1px solid rgba(20,54,91,.12); border-radius: 1rem; background: #fff; box-shadow: 0 8px 22px rgba(13,42,80,.055); }
.electrician-jobs-hero :is(p,h1) { margin: 0; }
.electrician-jobs-hero .eyebrow { color: #9a7026; }
.electrician-jobs-hero h1 { font-size: clamp(1.65rem,2.8vw,2.45rem); line-height: 1.08; letter-spacing: -.03em; }
.electrician-jobs-hero p:last-child { color: #607086; font-weight: 650; }
.electrician-jobs-search { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,.42fr); gap: 1rem; align-items: stretch; }
.electrician-jobs-filter-panel,.electrician-jobs-map,.electrician-job-results { min-width: 0; overflow: hidden; border: 1px solid rgba(20,54,91,.13); border-radius: 1rem; background: #fff; box-shadow: 0 8px 22px rgba(13,42,80,.055); }
.electrician-jobs-filter-panel { display: grid; gap: 1rem; padding: 1.15rem 1.25rem; }
.electrician-jobs-filter-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.electrician-jobs-filter-heading :is(p,h2) { margin: 0; }
.electrician-jobs-filter-heading h2 { margin-top: .18rem; font-size: 1.25rem; }
.electrician-jobs-filter-heading button,.electrician-jobs-empty button { min-height: 40px; padding: 0 .9rem; border: 1px solid rgba(10,37,85,.25); border-radius: .65rem; background: #fff; color: #0a2555; font: inherit; font-size: .78rem; font-weight: 850; cursor: pointer; }
.electrician-jobs-work-filters { display: flex; flex-wrap: wrap; gap: .65rem; }
.electrician-jobs-work-filters button { display: inline-flex; min-height: 42px; padding: 0 .9rem; gap: .5rem; align-items: center; border: 1px solid rgba(10,37,85,.16); border-radius: .72rem; background: #f8fafc; color: #425671; font: inherit; font-size: .8rem; font-weight: 850; cursor: pointer; }
.electrician-jobs-work-filters button span { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid rgba(10,37,85,.24); border-radius: .35rem; background: #fff; }
.electrician-jobs-work-filters button.is-selected { border-color: rgba(217,173,54,.72); background: #fffaf0; color: #0a2555; box-shadow: inset 3px 0 #d9ad36; }
.electrician-jobs-map { display: grid; grid-template-columns: minmax(118px,.46fr) minmax(150px,1fr); min-height: 132px; }
.electrician-jobs-map > div:first-child { display: grid; align-content: center; gap: .2rem; padding: 1rem; }
.electrician-jobs-map :is(p,h2) { margin: 0; }
.electrician-jobs-map h2 { font-size: 1rem; }
.electrician-jobs-map .electrician-location-map { min-height: 132px; border: 0; }
.electrician-job-results { padding: 1.25rem; }
.electrician-job-results > header { display: flex; justify-content: space-between; gap: 1.25rem; align-items: end; margin-bottom: 1rem; }
.electrician-job-results > header :is(p,h2) { margin: 0; }
.electrician-job-results > header h2 { margin-top: .15rem; font-size: 1.55rem; }
.electrician-job-count { display: grid; gap: .12rem; text-align: right; }
.electrician-job-count strong { font-size: 1rem; }
.electrician-job-count span { color: #607086; font-size: .75rem; font-weight: 700; }
.electrician-job-list { display: grid; gap: .85rem; }
.electrician-job-card { position: relative; display: grid; width: 100%; min-width: 0; padding: 1.15rem 1.2rem 1rem; gap: .72rem; overflow: hidden; border: 1px solid rgba(20,54,91,.13); border-radius: .9rem; background: #fff; color: #0a2555; font: inherit; text-align: left; box-shadow: 0 6px 16px rgba(13,42,80,.045); cursor: pointer; transition: transform 160ms ease,border-color 160ms ease,box-shadow 160ms ease; }
.electrician-job-card:hover { transform: translateY(-2px); border-color: rgba(217,173,54,.58); box-shadow: 0 12px 24px rgba(13,42,80,.1); }
.electrician-job-card:focus-visible,.electrician-jobs-work-filters button:focus-visible,.electrician-jobs-filter-heading button:focus-visible,.electrician-jobs-empty button:focus-visible { outline: 3px solid #f0c857; outline-offset: 3px; }
.electrician-job-card-accent { position: absolute; inset: 0 auto 0 0; width: 4px; background: #d9ad36; }
.electrician-job-card-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.electrician-job-card-heading > span:first-child { display: grid; gap: .22rem; }
.electrician-job-card-heading strong { color: #0a2555; font-size: 1.12rem; }
.electrician-job-card-heading small { color: #52677f; font-size: .79rem; font-weight: 750; }
.electrician-job-distance { flex: 0 0 auto; color: #8a651e; font-size: .8rem; font-weight: 900; }
.electrician-job-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; color: #344b68; font-size: .78rem; font-weight: 800; }
.electrician-job-meta span + span::before { content: "·"; margin-right: 1rem; color: #b0832b; }
.electrician-job-teaser { max-width: 76ch; color: #607086; font-size: .84rem; font-weight: 650; line-height: 1.5; }
.electrician-job-card-foot { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-top: .65rem; border-top: 1px solid rgba(20,54,91,.08); }
.electrician-job-card-foot small { color: #718096; font-weight: 700; }
.electrician-job-card-foot > span { color: #0a2555; font-size: .77rem; font-weight: 900; }
.electrician-jobs-empty { display: grid; justify-items: start; gap: .65rem; padding: 2rem; border: 1px dashed rgba(20,54,91,.22); border-radius: .9rem; background: #f8fafc; }
.electrician-jobs-empty :is(h3,p) { margin: 0; }
.electrician-jobs-empty p { color: #607086; }
.electrician-job-dialog-backdrop { position: fixed; inset: 0; z-index: 1200; display: grid; padding: clamp(1rem,4vh,2.5rem) clamp(1rem,4vw,3rem); place-items: center; overflow: hidden; background: rgba(4,18,43,.46); backdrop-filter: blur(5px); }
.electrician-job-dialog { position: relative; display: grid; grid-template-rows: auto minmax(0,1fr) auto; width: min(820px,calc(100vw - 2rem)); max-height: min(82vh,860px); overflow: hidden; border: 1px solid rgba(217,173,54,.62); border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(4,18,43,.34),0 8px 24px rgba(4,18,43,.18); }
.electrician-job-dialog-close { position: absolute; top: 1rem; right: 1rem; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(240,200,87,.78); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.55rem; line-height: 1; cursor: pointer; transition: background 150ms ease,transform 150ms ease; }
.electrician-job-dialog-close:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.electrician-job-dialog-close:focus-visible,.electrician-job-apply:focus-visible { outline: 4px solid #f0c857; outline-offset: 3px; }
.electrician-job-dialog > header { display: grid; gap: .45rem; padding: 1.65rem 4.75rem 1.35rem 2rem; border-bottom: 3px solid #d9ad36; background: linear-gradient(135deg,#071b43,#0a2555 68%,#12376b); color: #fff; }
.electrician-job-dialog > header :is(p,h2,strong) { margin: 0; color: inherit; }
.electrician-job-dialog > header h2 { font-size: clamp(1.55rem,3vw,2.2rem); }
.electrician-job-dialog > header p:not(.eyebrow) { color: rgba(255,255,255,.78); font-weight: 700; }
.electrician-job-dialog-body { display: grid; min-height: 0; align-content: start; gap: 1.25rem; padding: 1.5rem 2rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.electrician-job-dialog-body :is(h3,p,ul,dl,dd) { margin: 0; }
.electrician-job-dialog-body section { display: grid; gap: .6rem; }
.electrician-job-dialog-body h3 { font-size: 1rem; }
.electrician-job-dialog-body :is(p,li,dd) { color: #52677f; line-height: 1.55; }
.electrician-job-dialog-body ul { padding-left: 1.25rem; }
.electrician-job-dialog-body dl { display: grid; gap: .8rem; }
.electrician-job-dialog-body dl div { display: grid; grid-template-columns: minmax(110px,.32fr) 1fr; gap: 1rem; padding-top: .8rem; border-top: 1px solid rgba(20,54,91,.1); }
.electrician-job-dialog-body dt { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.electrician-job-dialog > footer { position: relative; z-index: 1; display: flex; padding: .9rem 2rem 1rem; border-top: 1px solid rgba(20,54,91,.12); background: linear-gradient(180deg,#fff,#f7f9fc); box-shadow: 0 -8px 20px rgba(10,37,85,.05); }
.electrician-job-apply { display: inline-flex; min-height: 46px; padding: 0 1.1rem; align-items: center; justify-content: center; border: 1px solid #d9ad36; border-radius: .72rem; background: #0a2555; color: #fff; font: inherit; font-weight: 850; text-decoration: none; }
.electrician-job-apply:disabled { border-color: #c5ced8; background: #dbe2ea; color: #607086; }
@media (max-width:900px) { .electrician-jobs-search { grid-template-columns: minmax(0,1fr) minmax(240px,.42fr); } .electrician-jobs-map { grid-template-columns: 1fr; } .electrician-jobs-map > div:first-child { padding: .8rem 1rem; } .electrician-jobs-map .electrician-location-map { min-height: 112px; } }
@media (max-width:760px) { .electrician-jobs-search { grid-template-columns: 1fr; } .electrician-jobs-map { grid-template-columns: minmax(110px,.35fr) 1fr; } .electrician-job-results > header,.electrician-job-card-heading { align-items: start; flex-direction: column; } .electrician-job-count { text-align: left; } .electrician-job-meta span + span::before { display: none; } }
@media (max-width:520px) { .electrician-jobs-filter-heading { align-items: start; flex-direction: column; } .electrician-jobs-map { grid-template-columns: 1fr; } .electrician-job-dialog-backdrop { padding: .75rem; } .electrician-job-dialog { width: calc(100vw - 1.5rem); max-height: calc(100dvh - 1.5rem); border-radius: 20px; } .electrician-job-dialog > header { padding: 1.35rem 4.25rem 1.15rem 1.25rem; } .electrician-job-dialog-body,.electrician-job-dialog > footer { padding-right: 1.25rem; padding-left: 1.25rem; } .electrician-job-dialog-body dl div { grid-template-columns: 1fr; gap: .25rem; } }
@media (prefers-reduced-motion:reduce) { .electrician-job-card { transition: none; } }

/* Step 3 control-centre refinement. */
body:has(#electricianEmploymentView:not(.hidden)) .app-shell { --shell-pad: 10px; width: min(calc(100% - 1rem),1600px); max-width: 1600px; }
.electrician-jobs-page { gap: 1.1rem; padding-top: 0; }
.electrician-jobs-hero { position: relative; min-height: 190px; padding: clamp(1.8rem,3.2vw,2.8rem) clamp(1.8rem,4vw,3.5rem); align-content: center; gap: .5rem; overflow: hidden; border-color: rgba(217,173,54,.45); background: linear-gradient(135deg,#071b43 0%,#0a2555 62%,#12376b 100%); color: #fff; box-shadow: 0 18px 38px rgba(7,27,67,.2); }
.electrician-jobs-hero::after { position: absolute; inset: auto -5rem -8rem auto; width: 18rem; height: 18rem; border: 1px solid rgba(217,173,54,.14); border-radius: 50%; content: ""; }
.electrician-jobs-hero .eyebrow { color: #f0c857; font-size: .74rem; letter-spacing: .12em; }
.electrician-jobs-hero h1 { color: #fff; font-size: clamp(2rem,3.6vw,3.35rem); }
.electrician-jobs-hero > span { width: min(280px,38%); height: 2px; margin: .35rem 0 .15rem; background: linear-gradient(90deg,#d9ad36,rgba(217,173,54,.08)); }
.electrician-jobs-hero p:last-child { color: rgba(255,255,255,.82); font-size: clamp(.92rem,1.2vw,1.05rem); }
.electrician-jobs-control-panel { display: grid; grid-template-columns: minmax(0,1fr) 490px; gap: 1rem; min-width: 0; align-items: stretch; }
.electrician-jobs-work-panel,.electrician-jobs-location-panel { min-width: 0; padding: 1.2rem; border: 1px solid rgba(20,54,91,.14); border-radius: 1.1rem; background: #fff; box-shadow: 0 12px 28px rgba(13,42,80,.08); }
.electrician-jobs-work-panel { display: grid; gap: .9rem; padding: 1rem; }
.electrician-jobs-control-heading { display: grid; gap: .2rem; }
.electrician-jobs-control-heading :is(p,h2) { margin: 0; }
.electrician-jobs-control-heading h2 { color: #0a2555; font-size: 1.18rem; }
.electrician-jobs-work-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; min-width: 0; }
.electrician-jobs-work-card { display: grid; grid-template-rows: 54px 3px 232px minmax(117px,auto) 34px; min-width: 0; min-height: 440px; height: 100%; padding: 0; overflow: hidden; border: 1px solid rgba(10,37,85,.16); border-radius: .9rem; background: #fff; color: #0a2555; font: inherit; text-align: left; box-shadow: 0 7px 18px rgba(13,42,80,.07); cursor: pointer; transition: transform 170ms ease,border-color 170ms ease,box-shadow 170ms ease; }
.electrician-jobs-work-card-header { display: flex; padding: 0 .85rem; align-items: center; justify-content: space-between; gap: .6rem; background: #0a2555; color: #fff; }
.electrician-jobs-work-card-header strong { color: #fff; font-size: .75rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.electrician-jobs-work-card-header span { display: grid; flex: 0 0 auto; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; font-size: .72rem; }
.electrician-jobs-work-card-divider { background: #d9ad36; }
.electrician-jobs-work-card img { display: block; width: 100%; height: 232px; object-fit: cover; }
.electrician-jobs-work-card--domestic img { object-position: center 35%; }
.electrician-jobs-work-card--commercial img { object-position: center 42%; }
.electrician-jobs-work-card--industrial img { object-position: center 50%; }
.electrician-jobs-work-card-copy { padding: .75rem .85rem .4rem; color: #52677f; font-size: .74rem; font-weight: 650; line-height: 1.42; }
.electrician-jobs-work-card-state { padding: .2rem .85rem .7rem; color: #718096; font-size: .67rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.electrician-jobs-work-card:hover { transform: translateY(-2px); border-color: rgba(217,173,54,.68); box-shadow: 0 13px 25px rgba(13,42,80,.13); }
.electrician-jobs-work-card.is-selected { border-color: #b88415; box-shadow: 0 0 0 3px rgba(240,200,87,.25),0 14px 28px rgba(13,42,80,.15); }
.electrician-jobs-work-card.is-selected .electrician-jobs-work-card-header span { border-color: #f0c857; background: #f0c857; color: #0a2555; }
.electrician-jobs-work-card.is-selected .electrician-jobs-work-card-state { color: #805b0b; }
.electrician-jobs-work-card:focus-visible { outline: 4px solid #f0c857; outline-offset: 3px; }
.electrician-jobs-location-panel { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 1rem; min-height: 505px; padding: 1rem; }
.electrician-jobs-location-controls { display: flex; min-width: 0; flex-direction: column; }
.electrician-jobs-location-controls form { display: grid; gap: .45rem; margin-top: 1rem; }
.electrician-jobs-location-controls form > label { color: #203852; font-size: .78rem; font-weight: 850; }
.electrician-jobs-location-controls form input { width: 100%; min-width: 0; min-height: 46px; padding: 0 .7rem; border: 1px solid #bdc9d6; border-radius: .65rem; color: #0a2555; font: inherit; font-size: .95rem; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.electrician-jobs-location-controls form button { min-height: 46px; padding: 0 .75rem; border: 1px solid #d9ad36; border-radius: .65rem; background: #0a2555; color: #fff; font: inherit; font-size: .74rem; font-weight: 850; cursor: pointer; }
.electrician-jobs-location-controls form :is(input,button):focus-visible { outline: 3px solid rgba(217,173,54,.48); outline-offset: 2px; }
.electrician-jobs-radius-control { margin-top: 1.2rem; padding-top: 1rem; }
.electrician-jobs-radius-control label { max-width: 145px; line-height: 1.3; }
.electrician-jobs-radius-control output { font-size: 1.12rem; }
.electrician-jobs-location-status { min-height: 2.5rem; margin: auto 0 0; padding-top: .75rem; color: #607086; font-size: .72rem; font-weight: 700; line-height: 1.4; }
.electrician-jobs-location-status.is-error { color: #a63c3c; }
.electrician-jobs-map { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) auto; min-height: 0; overflow: hidden; border: 1px solid rgba(20,54,91,.13); border-radius: .9rem; background: #f3f6fa; }
.electrician-jobs-map .electrician-location-map { min-height: 414px; height: 100%; }
.electrician-jobs-map > p { margin: 0; padding: .65rem .8rem; border-top: 2px solid #d9ad36; color: #344b68; font-size: .72rem; font-weight: 850; text-align: center; }
.electrician-job-results { padding: 1.4rem; }
.electrician-job-results > header h2 { font-size: clamp(1.65rem,2.4vw,2.15rem); }
@media (max-width:1100px) { .electrician-jobs-control-panel { grid-template-columns: 1fr; } .electrician-jobs-location-panel { grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); min-height: 391px; } .electrician-jobs-map .electrician-location-map { min-height: 311px; } }
@media (max-width:760px) { body:has(#electricianEmploymentView:not(.hidden)) .app-shell { width: min(calc(100% - 1rem),1380px); } .electrician-jobs-hero { min-height: 170px; } .electrician-jobs-work-card-grid { grid-template-columns: 1fr; } .electrician-jobs-work-card { grid-template-rows: 54px 3px 180px auto 34px; } .electrician-jobs-work-card img { height: 180px; } .electrician-jobs-location-panel { grid-template-columns: 1fr; } .electrician-jobs-map .electrician-location-map { min-height: 260px; } }
@media (prefers-reduced-motion:reduce) { .electrician-jobs-work-card { transition: none; } }

/* Curriculum Coverage executive Unit-card presentation. */
.curriculum-coverage-overview-strip,
.curriculum-coverage-unit-card,
.curriculum-coverage-unit-detail {
  border: 1px solid rgba(20, 54, 91, 0.13);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 5px 16px rgba(13, 42, 80, 0.045);
}

.curriculum-coverage-overview-strip {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto auto auto;
  align-items: center;
  gap: 1.15rem;
  padding: 0.85rem 1rem;
}
.curriculum-coverage-overview-strip :is(p, h4) { margin: 0; }
.curriculum-coverage-overview-strip h4 { margin-top: 0.15rem; color: #0a2555; font-size: 1rem; }
.curriculum-coverage-overview-strip > strong { color: #9a7026; font-size: 1.1rem; }
.curriculum-coverage-overview-strip > span { color: #52677f; font-size: 0.76rem; font-weight: 750; white-space: nowrap; }

.curriculum-coverage-unit-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
  min-width: 0;
}

.curriculum-coverage-unit-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 365px;
  padding: 0;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  overflow: clip;
  color: #173253;
  font: inherit;
  text-align: center;
  cursor: pointer;
  border-color: #c99220;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.curriculum-coverage-unit-card:hover { border-color: #b7841c; background: #fbfcfe; box-shadow: 0 11px 26px rgba(13, 42, 80, 0.11); }
.curriculum-coverage-unit-card:focus-visible { outline: 3px solid rgba(32, 103, 194, 0.42); outline-offset: 2px; }
.curriculum-coverage-unit-card[aria-expanded="true"] { z-index: 1; border-color: #a87512; box-shadow: 0 0 0 2px rgba(201, 146, 32, 0.22), 0 16px 34px rgba(13, 42, 80, 0.17); transform: scale(1.035); }
.curriculum-coverage-unit-header { display: grid; min-height: 62px; place-items: center; padding: 0.7rem; border-bottom: 2px solid #c99220; background: #0a2555; color: #fff; }
.curriculum-coverage-unit-header strong { color: #fff; font-size: 0.935rem; font-weight: 800; letter-spacing: 0.045em; }
.curriculum-coverage-unit-body { display: flex; min-width: 0; padding: 1rem 0.84rem; align-items: center; flex: 1 1 auto; flex-direction: column; gap: 0.72rem; background: #fff; }
.curriculum-coverage-card-title { display: -webkit-box; min-height: 3.15rem; overflow: hidden; color: #314a67; font-size: 0.75rem; font-weight: 740; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.curriculum-coverage-ring {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#c99220 var(--coverage-angle), #e3e9f0 0);
}
.curriculum-coverage-ring::before { position: absolute; inset: 7px; border-radius: 50%; background: #fff; content: ""; }
.curriculum-coverage-ring strong { position: relative; z-index: 1; color: #0a2555; font-size: 1rem; }
.curriculum-coverage-card-metrics { display: grid; width: 100%; margin-top: 0.12rem; gap: 0.55rem; }
.curriculum-coverage-card-metrics > span { display: grid; gap: 0.15rem; padding-top: 0.52rem; border-top: 1px solid rgba(20, 54, 91, 0.1); }
.curriculum-coverage-card-metrics small { color: #65758b; font-size: 0.75rem; font-weight: 780; line-height: 1.2; }
.curriculum-coverage-card-metrics strong { color: #0a2555; font-size: 0.92rem; font-weight: 820; line-height: 1.2; }
.curriculum-coverage-card-metrics i { color: #65758b; font-size: 0.75rem; font-style: normal; font-weight: 690; }

.curriculum-coverage-unit-detail { width: 100%; overflow: clip; }
.curriculum-coverage-unit-detail > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid rgba(20, 54, 91, 0.1); }
.curriculum-coverage-unit-detail > header :is(p, h4) { margin: 0; }
.curriculum-coverage-unit-detail > header h4 { margin-top: 0.15rem; color: #0a2555; font-size: 1.15rem; }
.curriculum-coverage-unit-detail > header p:last-child { margin-top: 0.25rem; color: #65758b; font-size: 0.8rem; }
.curriculum-coverage-detail-brand { display: flex; min-width: 0; align-items: center; gap: 0.9rem; }
.curriculum-coverage-detail-brand img { display: block; width: 76px; height: auto; max-height: 52px; flex: 0 0 auto; }
.curriculum-coverage-section-heading :is(p, h5),
.curriculum-coverage-selected-outcome > header :is(p, h5),
.curriculum-coverage-lo-prompt :is(strong, p) { margin: 0; }
.curriculum-coverage-section-heading h5,
.curriculum-coverage-selected-outcome > header h5 { margin-top: 0.15rem; color: #0a2555; font-size: 1rem; }
.curriculum-coverage-lo-workspace { display: grid; gap: 0.75rem; padding: 1rem 1.1rem; background: #f7f9fc; }
.curriculum-coverage-lo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.7rem; }
.curriculum-coverage-lo-card { position: relative; display: grid; min-width: 0; min-height: 172px; gap: 0.48rem; padding: 0.85rem; border: 1px solid #c99220; border-radius: 0.8rem; background: #fff; color: #173253; font: inherit; text-align: left; box-shadow: 0 4px 13px rgba(13, 42, 80, 0.045); cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.curriculum-coverage-lo-card:hover { border-color: #b7841c; box-shadow: 0 8px 20px rgba(13, 42, 80, 0.09); }
.curriculum-coverage-lo-card:focus-visible { outline: 3px solid rgba(32, 103, 194, 0.42); outline-offset: 2px; }
.curriculum-coverage-lo-card[aria-pressed="true"] { z-index: 1; border-color: #a87512; box-shadow: 0 0 0 2px rgba(201, 146, 32, 0.22), 0 13px 28px rgba(13, 42, 80, 0.15); transform: scale(1.035); }
.curriculum-coverage-lo-card > strong { color: #0a2555; font-size: 1.05rem; }
.curriculum-coverage-lo-card > span { min-height: 3.15rem; color: #314a67; font-size: 0.75rem; font-weight: 720; line-height: 1.3; }
.curriculum-coverage-lo-card > small { color: #52677f; font-size: 0.72rem; font-weight: 780; }
.curriculum-coverage-lo-card > i { display: block; height: 0.38rem; overflow: hidden; border-radius: 999px; background: #e3e9f0; }
.curriculum-coverage-lo-card > i > b { display: block; width: var(--coverage); height: 100%; border-radius: inherit; background: #c99220; }
.curriculum-coverage-lo-card > em { justify-self: end; color: #0a2555; font-size: 0.72rem; font-style: normal; font-weight: 800; }
.curriculum-coverage-selected-outcome { overflow: clip; }
.curriculum-coverage-selected-outcome > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid rgba(20, 54, 91, 0.1); background: #fff; }
.curriculum-coverage-selected-outcome > header h5 { font-size: 1.15rem; }
.curriculum-coverage-selected-outcome > header > strong { flex: 0 0 auto; color: #9a7026; }
.curriculum-coverage-ac-workspace { display: grid; gap: 0.75rem; padding: 1rem 1.1rem; background: #f7f9fc; }
.curriculum-coverage-lo-prompt { margin: 0 1.1rem 1.1rem; padding: 1.25rem; border: 1px dashed rgba(20, 54, 91, 0.22); border-radius: 0.8rem; background: #fbfcfe; text-align: center; }
.curriculum-coverage-lo-prompt strong { color: #0a2555; }
.curriculum-coverage-lo-prompt p { margin-top: 0.25rem; color: #65758b; font-size: 0.8rem; }

@media (max-width: 1180px) {
  .curriculum-coverage-unit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .curriculum-coverage-unit-card { min-height: 342px; }
}

@media (max-width: 820px) {
  .curriculum-coverage-overview-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .curriculum-coverage-overview-strip > div { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .curriculum-coverage-unit-card,
  .curriculum-coverage-lo-card {
    transition: none;
  }

  .curriculum-coverage-unit-card[aria-expanded="true"],
  .curriculum-coverage-lo-card[aria-pressed="true"] {
    transform: none;
  }
}

@media (max-width: 620px) {
  .curriculum-coverage-unit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .curriculum-coverage-overview-strip { grid-template-columns: 1fr; }
  .curriculum-coverage-overview-strip > div { grid-column: auto; }
  .curriculum-coverage-unit-detail > header,
  .curriculum-coverage-selected-outcome > header { flex-wrap: wrap; }
  .curriculum-coverage-detail-brand { align-items: flex-start; }
  .curriculum-coverage-detail-brand img { width: 62px; max-height: 44px; }
  .curriculum-coverage-lo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .curriculum-coverage-unit-grid { grid-template-columns: 1fr; }
}

.setup-grid {
  display: grid;
  gap: 8px;
}

.setup-grid label,
.setup-section-grid label {
  display: grid;
  gap: 5px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.setup-section-grid {
  display: grid;
  gap: 10px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  width: 100%;
  min-width: 0;
}

.form-control,
.form-field input,
.form-field select {
  width: 100%;
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}

.form-field textarea {
  width: 100%;
  min-height: 96px;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}

.form-control.completed,
.form-control.completed-field,
.form-field input.completed,
.form-field input.completed-field,
.form-field select.completed,
.form-field select.completed-field,
.form-field textarea.completed,
.form-field textarea.completed-field {
  background: #e8f7ec;
  border-color: #4caf50;
}

.setup-section-grid label span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.setup-section-grid input,
.setup-section-grid select,
.setup-section-grid textarea {
  width: 100%;
}

.setup-section-grid.school-partner-organisation-grid,
.partner-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.setup-section-grid.school-partner-organisation-grid.partner-form-grid {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: none;
  overflow: visible;
}

.school-partner-organisation-grid .admin-required-field,
.school-partner-organisation-grid label,
.partner-form-field {
  width: 100%;
  min-width: 0;
}

.school-partner-organisation-grid input,
.school-partner-organisation-grid select,
.school-partner-organisation-grid textarea,
.partner-form-control,
.partner-form-field input,
.partner-form-field select,
.partner-form-field textarea {
  width: 100%;
  height: 48px;
  min-height: 48px;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  background: #ffffff;
}

.partner-form-field textarea {
  height: 96px;
  padding-top: 12px;
}

@media (max-width: 900px) {
  .form-grid-3,
  .setup-section-grid.school-partner-organisation-grid,
  .partner-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .form-grid-3,
  .setup-section-grid.school-partner-organisation-grid,
  .partner-form-grid {
    grid-template-columns: 1fr;
  }
}

.admin-required-field input,
.admin-required-field select,
.admin-required-field textarea {
  border: 1px solid var(--line);
  background: #ffffff;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.admin-required-field input.field-valid,
.admin-required-field select.field-valid,
.admin-required-field textarea.field-valid {
  border-color: rgba(15, 138, 97, 0.38);
  background: #eefaf3;
  box-shadow: inset 0 0 0 1px rgba(15, 138, 97, 0.08);
}

.admin-required-field {
  position: relative;
}

.completed-field,
.admin-required-field input.completed-field,
.admin-required-field select.completed-field,
.admin-required-field textarea.completed-field {
  background: #e8f7ec;
  border: 1px solid #4caf50;
  transition: all 0.2s ease;
}

.completed-field:focus,
.admin-required-field input.completed-field:focus,
.admin-required-field select.completed-field:focus,
.admin-required-field textarea.completed-field:focus {
  background: #e8f7ec;
}

.admin-required-field.field-complete::after {
  content: "✓";
  position: absolute;
  right: 12px;
  top: 34px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.12);
  color: #2e7d32;
  font-size: 0.78rem;
  font-weight: 900;
  pointer-events: none;
}

.admin-required-field.field-complete input,
.admin-required-field.field-complete select,
.admin-required-field.field-complete textarea {
  padding-right: 38px;
}

.admin-required-field input.field-invalid,
.admin-required-field select.field-invalid,
.admin-required-field textarea.field-invalid {
  border-color: rgba(186, 61, 61, 0.62);
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(186, 61, 61, 0.08);
}

.partner-form-field .partner-form-control,
.partner-form-field input.partner-form-control,
.partner-form-field select.partner-form-control,
.partner-form-field textarea.partner-form-control {
  width: 100%;
  height: 48px;
  min-height: 48px;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  background: #ffffff;
}

.partner-form-field.field-complete .partner-form-control,
.partner-form-field.field-complete input.partner-form-control,
.partner-form-field.field-complete select.partner-form-control,
.partner-form-field.field-complete textarea.partner-form-control {
  padding-right: 38px;
}

.partner-form-field textarea.partner-form-control {
  height: 96px;
  padding-top: 12px;
}

.school-partner-logo-upload {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(216, 167, 44, 0.48);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  box-shadow: 0 14px 30px rgba(15, 35, 63, 0.08);
}

.school-partner-logo-preview {
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  overflow: hidden;
  border: 5px solid #ffffff;
  border-radius: 22px;
  outline: 4px solid rgba(216, 167, 44, 0.84);
  background: #fff8df;
  color: var(--navy);
  font-size: 2.2rem;
  font-weight: 1000;
  box-shadow: 0 18px 34px rgba(15, 35, 63, 0.18);
}

.school-partner-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-partner-logo-controls {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.school-partner-logo-upload .photo-upload {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 35, 63, 0.08);
}

.school-partner-account-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.school-partner-account-identity .partner-logo-card {
  width: 82px;
  height: 64px;
  border-radius: 14px;
  flex: 0 0 auto;
}

.school-partner-account-identity .partner-logo,
.school-partner-account-identity .partner-logo-fallback {
  width: 72px;
  height: 54px;
}

.data-integrity-panel {
  display: grid;
  gap: 18px;
}

.learner-reset-panel {
  display: grid;
  gap: 18px;
}

.reset-danger-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #fecaca;
  border-left: 6px solid #dc2626;
  background: #fff1f2;
  color: #7f1d1d;
}

.reset-danger-card strong {
  color: #7f1d1d;
}

.reset-danger-card p {
  margin: 8px 0 0;
  font-weight: 800;
  line-height: 1.45;
}

.reset-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.reset-report-grid article {
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-left: 4px solid #16a34a;
}

.reset-report-grid span {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.reset-report-grid strong {
  display: block;
  margin-top: 6px;
  color: #071b4d;
  font-size: 1.45rem;
  line-height: 1;
}

.reset-warning-list {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #92400e;
  font-weight: 800;
}

.integrity-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.integrity-summary-grid article {
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-left: 4px solid #f5b41b;
}

.integrity-summary-grid span {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.integrity-summary-grid strong {
  display: block;
  margin-top: 6px;
  color: #071b4d;
  font-size: 1.8rem;
  line-height: 1;
}

.integrity-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.integrity-detail-grid > div,
.integrity-regression-card {
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
}

.integrity-detail-grid h5 {
  margin: 0 0 10px;
  color: #071b4d;
}

.integrity-detail-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-weight: 800;
}

.integrity-regression-card {
  border-left: 5px solid #22c55e;
}

.integrity-regression-card.failed {
  border-left-color: #dc2626;
}

.integrity-regression-card span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.integrity-regression-card strong {
  display: block;
  margin: 5px 0;
  color: #071b4d;
  font-size: 1.3rem;
}

.integrity-regression-card p {
  margin: 0;
  color: #64748b;
  font-weight: 800;
}

.admin-cohort-slot-view {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
}

.admin-cohort-slot-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-cohort-slot-view-head h5,
.admin-cohort-slot-view-head p {
  margin: 0;
}

.admin-cohort-slot-view-head h5 {
  margin-top: 4px;
  color: #071b4d;
}

.admin-cohort-slot-view-head p {
  color: #64748b;
  font-weight: 800;
}

.admin-slot-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 10px;
}

.admin-slot-mini-card {
  display: grid;
  gap: 8px;
  min-height: 88px;
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-left: 4px solid #cbd5e1;
}

.admin-slot-mini-card.selected {
  border-left-color: #f5b41b;
  box-shadow: 0 0 0 3px rgba(245, 180, 27, 0.14);
}

.admin-slot-mini-card.current {
  background: #ecfdf3;
  border-color: #86efac;
  border-left-color: #16a34a;
}

.admin-slot-mini-card.occupied {
  border-left-color: #071b4d;
}

.admin-slot-mini-card.empty {
  border-left-color: #f5b41b;
}

.admin-slot-mini-card > span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-slot-mini-card > strong {
  color: #071b4d;
}

.admin-slot-learner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-slot-learner .learner-avatar,
.admin-slot-learner .learner-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.admin-slot-learner strong,
.admin-slot-learner small {
  display: block;
}

.admin-slot-learner strong {
  color: #071b4d;
  line-height: 1.1;
}

.admin-slot-learner small {
  color: #64748b;
  font-weight: 900;
}

@media (max-width: 720px) {
  .school-partner-logo-upload {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .school-partner-logo-preview {
    width: 132px;
    height: 132px;
  }

  .school-partner-logo-controls {
    justify-items: center;
  }

  .integrity-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-cohort-slot-view-head {
    align-items: stretch;
    flex-direction: column;
  }
}

.partner-form-field .partner-form-control.completed-field,
.partner-form-field input.partner-form-control.completed-field,
.partner-form-field select.partner-form-control.completed-field,
.partner-form-field textarea.partner-form-control.completed-field {
  background: #e8f7ec;
  border-color: #4caf50;
}

.field-warning {
  display: none;
  color: var(--bad);
  font-size: 0.74rem;
  font-weight: 800;
}

.learner-id-load-status {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.45;
}

.learner-id-load-status.loading {
  color: #76520b;
}

.learner-id-load-status.ready {
  color: var(--good);
}

.learner-id-load-status.error {
  color: var(--bad);
}

.learner-id-retry {
  margin-left: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.learner-id-retry:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.parent-link-status {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.parent-link-status.valid {
  color: var(--good);
}

.parent-link-status.invalid {
  color: var(--bad);
}

.admin-required-field.show-warning .field-warning,
.profile-photo-setup.show-warning .field-warning {
  display: block;
}

.learner-setup-status {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(186, 61, 61, 0.18);
  border-radius: 8px;
  background: #fffafa;
  color: var(--bad);
  font-size: 0.86rem;
  font-weight: 900;
}

.learner-setup-status.progress-low {
  border-color: rgba(186, 61, 61, 0.22);
  background: #fffafa;
  color: var(--bad);
}

.learner-setup-status.progress-almost {
  border-color: rgba(245, 158, 11, 0.28);
  background: #fff7e6;
  color: #92400e;
}

.learner-setup-status.ready {
  border-color: rgba(15, 138, 97, 0.2);
  background: #eefaf3;
  color: var(--good);
}

.setup-field-full {
  grid-column: 1 / -1;
}

.setup-actions-section {
  background: #f8fbff;
}

.setup-action-grid {
  display: grid;
  gap: 8px;
}

.admin-action-feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-action-feedback span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.82rem;
}

.admin-action-feedback.success {
  border: 1px solid rgba(15, 138, 97, 0.24);
  background: #eefaf3;
  color: var(--good);
}

.admin-action-feedback.success span {
  background: var(--good);
}

.admin-action-feedback.error {
  border: 1px solid rgba(186, 61, 61, 0.24);
  background: #fffafa;
  color: var(--bad);
}

.admin-action-feedback.error span {
  background: var(--bad);
}

.progress-snapshot-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.snapshot-card-grid {
  display: grid;
  gap: 10px;
}

.snapshot-card {
  min-height: 132px;
}

.employer-account-admin {
  grid-column: 1 / -1;
}

.admin-viewer-account-grid {
  display: grid;
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  gap: 14px;
}

.cohort-slot-overview {
  display: grid;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 35, 75, 0.08);
}

.cohort-slot-summary {
  display: grid;
  gap: 12px;
  align-items: center;
}

.cohort-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cohort-slot-summary h4,
.cohort-slot-summary p,
.cohort-slot-card h5,
.cohort-slot-card p {
  margin: 0;
}

.cohort-slot-summary h4 {
  color: var(--navy);
  font-size: 1.28rem;
}

.cohort-slot-summary p,
.cohort-slot-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.cohort-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.admin-record-panels .cohort-slot-overview {
  max-width: none;
}

.admin-record-panels .cohort-slot-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.admin-record-panels .cohort-slot-card {
  grid-column: 1 / -1;
}

.admin-record-panels .cohort-slot-card.assigned,
.admin-record-panels .assigned-slot-card {
  grid-column: 1 / -1;
}

.admin-record-panels .assigned-slot-profile {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
}

.admin-record-panels .cohort-slot-card.available {
  min-height: 120px;
}

.cohort-slot-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  width: 100%;
  min-height: 150px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.slot-card {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.cohort-slot-card.assigned {
  grid-column: span 2;
  align-content: stretch;
  padding: 18px;
  border-color: rgba(15, 138, 97, 0.28);
  background: #f4fff8;
  box-shadow: 0 14px 30px rgba(15, 138, 97, 0.1);
}

.assigned-slot-card {
  grid-column: span 2;
}

.admin-grid .cohort-slot-card.assigned,
.admin-grid .assigned-slot-card,
.admin-record-panels .cohort-slot-card.assigned,
.admin-record-panels .assigned-slot-card {
  grid-column: span 1;
}

.cohort-slot-card.available {
  min-height: 132px;
  border-color: rgba(242, 182, 50, 0.34);
  border-left: 4px solid var(--gold);
  background: #fbfcfe;
}

.assigned-slot-profile {
  display: grid;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.assigned-slot-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.assigned-slot-photo .learner-avatar.large {
  width: 92px;
  height: 92px;
  border: 4px solid #ffffff;
  outline: 3px solid rgba(242, 182, 50, 0.78);
  box-shadow: 0 12px 24px rgba(15, 35, 63, 0.16);
}

.assigned-slot-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.assigned-slot-main h5 {
  font-size: 1.28rem;
  line-height: 1.15;
}

.assigned-slot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.assigned-slot-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(15, 138, 97, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.assigned-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.assigned-slot-actions button {
  min-height: 40px;
}

.slot-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.slot-card-top span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slot-card-top strong,
.cohort-slot-card h5 {
  color: var(--navy);
}

.slot-status {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slot-status.assigned {
  background: rgba(15, 138, 97, 0.12);
  color: var(--good);
}

.slot-status.available {
  background: rgba(242, 182, 50, 0.16);
  color: var(--gold-dark);
}

@media (max-width: 900px) {
  .cohort-slot-card.assigned,
  .assigned-slot-card {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .cohort-slot-grid,
  .employer-account-list {
    grid-template-columns: 1fr;
  }

  .admin-record-panels .assigned-slot-profile {
    grid-template-columns: 1fr;
  }
}

#adminView .cohort-slot-overview {
  max-width: none;
}

#adminView .cohort-slot-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px;
}

#adminView .cohort-slot-card,
#adminView .cohort-slot-card.assigned,
#adminView .assigned-slot-card {
  grid-column: 1 / -1 !important;
  width: 100%;
}

#adminView .assigned-slot-profile {
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
}

#adminView .cohort-slot-card.available {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(220px, 1fr) auto minmax(180px, 240px);
  align-items: center;
  gap: 18px;
  min-height: 104px;
}

#adminView .cohort-slot-card.available .slot-card-top,
#adminView .cohort-slot-card.available h5,
#adminView .cohort-slot-card.available .slot-status,
#adminView .cohort-slot-card.available button {
  margin: 0;
}

#adminView .cohort-slot-card.available button {
  width: 100%;
}

@media (max-width: 760px) {
  #adminView .assigned-slot-profile,
  #adminView .cohort-slot-card.available {
    grid-template-columns: 1fr;
  }
}

.employer-account-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.employer-account-row {
  display: grid;
  gap: 10px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  box-shadow: 0 10px 24px rgba(15, 35, 75, 0.07);
}

.employer-account-row.archived {
  border-style: dashed;
  background: #f4f6f8;
  opacity: 0.72;
  box-shadow: none;
}

.parent-carer-account-row.archived h4,
.parent-carer-account-row.archived strong {
  color: #53606f;
}

.employer-account-row h4,
.employer-account-row p {
  margin: 0;
}

.employer-account-row h4 {
  color: var(--navy);
}

.employer-account-row p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.88rem;
}

.employer-account-row span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.employer-account-row strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.employer-account-actions {
  display: grid;
  gap: 8px;
}

.account-list-heading {
  align-items: center;
}

.show-archived-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 900;
}

.show-archived-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.danger-action {
  min-height: 42px;
  border: 1px solid #dc2626;
  border-radius: 8px;
  background: #dc2626;
  color: #ffffff;
  font-weight: 1000;
  transition:
    transform 0.12s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.danger-action:hover:not(:disabled) {
  background: #b91c1c;
  border-color: #991b1b;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.18);
}

.danger-action.action-loading {
  opacity: 0.72;
  cursor: progress;
}

.warning-action {
  border-color: #f59e0b;
  color: #92400e;
  background: #fff7e6;
}

.empty-state h4 {
  margin: 0;
  color: var(--navy);
}

.empty-state p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.record-panel h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.record-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.id-management {
  border-color: rgba(216, 167, 44, 0.58);
  background: #fffaf0;
}

.lesson-summary {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  min-height: 190px;
  padding: 18px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
}

.day-pill {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lesson-title {
  display: -webkit-box;
  width: 100%;
  min-height: 44px;
  margin-bottom: 16px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  color: #071b4d;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.lesson-score,
.grade-badge,
.ready-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.lesson-score {
  background: #edf3f8;
  color: var(--blue);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 14px;
}

.evidence-list {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.evidence-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.evidence-row.complete {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

.evidence-row.awaiting,
.evidence-row.pending {
  background: #fff7e6;
  border-color: #fed7aa;
  color: #92400e;
}

.evidence-row.locked {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
}

.evidence-label {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.evidence-value {
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.locked-message {
  margin-top: 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.task-groups {
  display: none;
  padding: 0 14px 14px;
}

.lesson-card.open .task-groups {
  display: grid;
  gap: 12px;
}

.task-group h4 {
  margin: 0 0 8px;
  color: var(--navy);
}

.task-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.task-workbook {
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  box-shadow: 0 16px 34px rgba(15, 35, 63, 0.08);
}

.task-workbook.lesson-workbook-page {
  background: #f4f7fb;
  box-shadow: none;
}

.mission-step-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(15, 35, 63, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 35, 63, 0.08);
}

.mission-step-heading {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mission-step-heading > span {
  display: grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  place-items: center;
  border-radius: 50%;
  background: #0B1F4D;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
}

.mission-step-heading h3,
.mission-step-heading p,
.mission-step-card h4,
.mission-step-card p {
  margin: 0;
}

.mission-step-card h3 {
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

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

.mission-outcomes span {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef8f1;
  color: #12633a;
  font-weight: 900;
}

.mission-outcomes span::before {
  content: "✓ ";
}

.mission-video-panel,
.mission-drop-zone {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 18px;
  background: #eef2f6;
}

.mission-video-panel {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.play-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

.mission-guide-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 10px 14px;
  border-radius: 12px;
  background: #0B1F4D;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.mission-safety-box {
  padding: 16px;
  border-left: 6px solid #F2B632;
  border-radius: 14px;
  background: #fff8df;
}

.mission-drop-zone {
  border: 2px dashed #9fb0c6;
  background: #f7f9fc;
  text-align: center;
}

.mission-upload-buttons {
  padding: 0;
  border: 0;
  background: transparent;
}

.mission-status-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 9px 14px;
  border-radius: 999px;
  background: #edf1f5;
  color: var(--navy);
  font-weight: 900;
}

.mission-status-pill.awaiting-review {
  background: #fff4cf;
  color: #7a5600;
}

.mission-status-pill.passed {
  background: #e8f8ef;
  color: #12633a;
}

.mission-status-pill.further-practice-required {
  background: #ffe8e8;
  color: #a33a3a;
}

.mission-next-step {
  padding: 14px;
  border-radius: 14px;
  background: #eef2f6;
  color: var(--navy);
  font-weight: 900;
}

.mission-progress {
  height: 12px;
  max-width: 360px;
  margin: 10px 0 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.mission-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #18A558;
}

.workbook-section {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(15, 35, 63, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.workbook-task-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: linear-gradient(135deg, #0B1F4D, #15366f);
  color: #ffffff;
}

.workbook-task-header h3,
.workbook-task-header p {
  margin: 0;
}

.workbook-task-header .eyebrow {
  color: var(--gold);
}

.workbook-status {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.workbook-status > span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.workbook-meta-grid,
.standard-reference-grid,
.workbook-progress-steps {
  display: grid;
  gap: 10px;
}

.workbook-meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workbook-meta-grid div {
  padding: 13px;
  border-radius: 14px;
  background: #eef2f6;
}

.workbook-meta-grid span,
.signed-record-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.workbook-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
}

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

.workbook-checklist span {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef8f1;
  color: #12633a;
  font-weight: 900;
}

.workbook-checklist span::before {
  content: "✓ ";
}

.standard-reference-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.standard-reference-grid article {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f9fc;
}

.reference-image {
  display: grid;
  min-height: 130px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(11, 31, 77, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(11, 31, 77, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: 18px 18px;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 900;
}

.reference-image.pass {
  border-color: #18A558;
}

.reference-image.gold {
  border-color: var(--gold);
  background-color: #fff8df;
}

.large-upload-area {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 2px dashed #b7c5d7;
  border-radius: 18px;
  background: #f7f9fc;
}

.large-upload-area label {
  position: relative;
  display: grid;
  min-height: 112px;
  place-items: center;
  border-radius: 16px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.large-upload-area label:first-child {
  background: var(--gold);
}

.large-upload-area input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.workbook-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upload-success {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #e8f8ef;
  color: #12633a;
  font-weight: 900;
}

.workbook-signoff-card,
.workbook-assessment-card,
.practical-check-tutor-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 35, 63, 0.08);
  background: #ffffff;
}

.workbook-signoff-card.pending {
  border-left: 6px solid #b7c5d7;
}

.workbook-signoff-card.passed,
.practical-check-tutor-panel.passed {
  border-left: 6px solid #18A558;
  background: #f0fbf5;
}

.workbook-signoff-card h5,
.workbook-assessment-card h5,
.practical-check-tutor-panel h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.workbook-progress-steps {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.workbook-progress-steps article {
  display: grid;
  gap: 8px;
  min-height: 104px;
  justify-items: center;
  align-content: center;
  padding: 12px 8px;
  border-radius: 14px;
  background: #edf1f5;
  color: var(--muted);
  text-align: center;
}

.workbook-progress-steps span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #d8dee8;
  color: var(--navy);
  font-weight: 900;
}

.workbook-progress-steps .complete {
  background: #e8f8ef;
  color: #12633a;
}

.workbook-progress-steps .complete span {
  background: #18A558;
  color: #ffffff;
}

.workbook-progress-steps .current {
  background: #e8f3ff;
  color: #0B3A66;
}

.workbook-progress-steps .current span {
  background: #1b5d89;
  color: #ffffff;
}

.next-step-note {
  background: #fff8df;
  border-color: rgba(242, 182, 50, 0.42);
}

@media (max-width: 900px) {
  .mission-outcomes,
  .lesson-workflow-grid,
  .lesson-checklist-grid,
  .lesson-review-flow,
  .workbook-meta-grid,
  .workbook-checklist,
  .standard-reference-grid,
  .large-upload-area,
  .workbook-actions,
  .workbook-progress-steps,
  .submitted-status-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .submitted-review-facts {
    grid-template-columns: 1fr;
  }

  .submitted-evidence-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qr-marking-card,
  .mark-submission-facts,
  .marking-criteria-grid {
    grid-template-columns: 1fr;
  }

  .lesson-workflow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .mission-outcomes,
  .mission-video-panel,
  .lesson-resource-grid,
  .lesson-guide-row,
  .lesson-upload-buttons,
  .lesson-checklist-grid,
  .lesson-review-flow,
  .workbook-task-header,
  .workbook-meta-grid,
  .workbook-checklist,
  .standard-reference-grid,
  .large-upload-area,
  .workbook-actions,
  .workbook-progress-steps,
  .submitted-evidence-row,
  .submitted-status-timeline {
    grid-template-columns: 1fr;
  }

  .workbook-status {
    justify-items: start;
  }

  .evidence-preview-media {
    height: 120px;
  }

  .task-workbook,
  .mission-step-card,
  .lesson-step-card,
  .lesson-section-card,
  .workbook-section,
  .workbook-signoff-card,
  .workbook-assessment-card {
    padding: 14px;
  }
}

.task-topline,
.review-topline,
.learner-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.task-name,
.review-card h4,
.learner-row h4 {
  margin: 0;
  font-size: 0.98rem;
}

.task-meta,
.history,
.comment,
.small-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.evidence-actions,
.marking-row {
  display: grid;
  gap: 8px;
}

.file-control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 10px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.file-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 15px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.18s ease;
}

.primary-action {
  border: 2px solid var(--tfe-button-amber-border);
  background: var(--tfe-button-amber);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(169, 111, 16, 0.18);
}

.secondary-action {
  border: 2px solid var(--tfe-button-amber-border);
  background: var(--tfe-button-amber);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(169, 111, 16, 0.18);
}

.primary-action:hover:not(:disabled),
.secondary-action:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #8f5e0d;
  background: var(--tfe-button-amber-hover);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(169, 111, 16, 0.24);
}

.primary-action:active:not(:disabled),
.secondary-action:active:not(:disabled) {
  transform: translateY(0);
  border-color: #83540b;
  background: var(--tfe-button-amber-pressed);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(169, 111, 16, 0.16);
}

.primary-action:focus-visible,
.secondary-action:focus-visible {
  outline: 3px solid var(--tfe-button-focus);
  outline-offset: 3px;
}

.primary-action.action-loading,
.secondary-action.action-loading {
  opacity: 0.72;
  cursor: progress;
}

.primary-action.action-success,
.secondary-action.action-success {
  border-color: rgba(15, 138, 97, 0.45);
  background: #dff7e8;
  color: #0b6b35;
}

.primary-action.action-success::before,
.secondary-action.action-success::before {
  content: "✓";
  margin-right: 6px;
}

.primary-action.action-error,
.secondary-action.action-error {
  border-color: rgba(186, 61, 61, 0.5);
  background: #ffe8e8;
  color: #9b1c1c;
}

.tfe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border: 3px solid #d9ae2b;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      #284d88 0%,
      #0b2b66 45%,
      #061a49 100%
    );
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 10px 24px rgba(6, 26, 73, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.tfe-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(6, 26, 73, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.tfe-btn:active:not(:disabled) {
  transform: translateY(0);
}

.tfe-btn:focus-visible {
  outline: 3px solid rgba(217, 174, 43, 0.35);
  outline-offset: 3px;
}

#metricsGrid .admin-navigation-groups .admin-nav-link,
#adminView :is(.primary-action, .secondary-action, .admin-back-button, .admin-community-hub-cta),
#adminView a.primary-action,
#adminView a.secondary-action {
  border-width: 2px;
  border-style: solid;
  border-color: #d9ae2b;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      #284d88 0%,
      #0b2b66 45%,
      #061a49 100%
    );
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    0 10px 24px rgba(6, 26, 73, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-shadow: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

#metricsGrid .admin-navigation-groups .admin-nav-link:hover:not(:disabled),
#metricsGrid .admin-navigation-groups .admin-nav-link:focus-visible,
#adminView :is(.primary-action, .secondary-action, .admin-back-button, .admin-community-hub-cta):hover:not(:disabled),
#adminView :is(.primary-action, .secondary-action, .admin-back-button, .admin-community-hub-cta):focus-visible,
#adminView a.primary-action:hover,
#adminView a.primary-action:focus-visible,
#adminView a.secondary-action:hover,
#adminView a.secondary-action:focus-visible {
  transform: translateY(-2px);
  border-color: #f2d77d;
  background:
    linear-gradient(
      180deg,
      #315994 0%,
      #0f3470 45%,
      #071f55 100%
    );
  color: #ffffff;
  box-shadow:
    0 14px 30px rgba(6, 26, 73, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  outline: 3px solid rgba(217, 174, 43, 0.24);
  outline-offset: 3px;
}

#metricsGrid .admin-navigation-groups .admin-nav-link:active:not(:disabled),
#adminView :is(.primary-action, .secondary-action, .admin-back-button, .admin-community-hub-cta):active:not(:disabled),
#adminView a.primary-action:active,
#adminView a.secondary-action:active {
  transform: translateY(0);
  box-shadow:
    0 7px 18px rgba(6, 26, 73, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#metricsGrid .admin-navigation-groups .admin-nav-link:disabled,
#adminView :is(.primary-action, .secondary-action, .admin-back-button, .admin-community-hub-cta):disabled,
#adminView a.primary-action[aria-disabled="true"],
#adminView a.secondary-action[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

#adminView .primary-action.action-success,
#adminView .secondary-action.action-success {
  border-color: rgba(15, 138, 97, 0.45);
  background: #dff7e8;
  color: #0b6b35;
  box-shadow: 0 10px 22px rgba(15, 138, 97, 0.14);
}

#adminView .primary-action.action-error,
#adminView .secondary-action.action-error {
  border-color: rgba(186, 61, 61, 0.5);
  background: #ffe8e8;
  color: #9b1c1c;
  box-shadow: 0 10px 22px rgba(186, 61, 61, 0.12);
}

.grade-badge.bronze {
  background: #f5e8d9;
  color: #8a4c19;
}

.grade-badge.silver {
  background: #edf1f5;
  color: #526173;
}

.grade-badge.gold,
.ready-badge.ready {
  background: #fff4cc;
  color: #7a5610;
}

.grade-badge.unmarked,
.grade-badge.not-assessed,
.grade-badge.not-yet-assessed,
.ready-badge.not-ready {
  background: #eef2f7;
  color: var(--muted);
}

.ready-badge.ready {
  color: #1f5a43;
}

.ready-badge.not-ready {
  color: var(--bad);
}

.review-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

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

.review-meta-grid div {
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
}

.review-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-meta-grid strong {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.learner-row {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.progress-line {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ebf3;
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.employer-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

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

.snapshot-grid div {
  padding: 12px;
  border-radius: 8px;
  background: var(--wash);
}

.snapshot-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.snapshot-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
}

.employer-dashboard-hero,
.live-cv-page {
  display: grid;
  gap: 14px;
}

.employer-dashboard-hero {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
}

.employer-talent-pipeline-page {
  display: grid;
  gap: 22px;
  width: 100%;
}

.employer-talent-pipeline-page .employer-dashboard-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-radius: 20px;
}

.employer-pipeline-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.talent-pipeline-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
  width: 100%;
}

.talent-pipeline-summary article,
.talent-pipeline-table-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(15, 35, 63, 0.08);
}

.talent-pipeline-summary article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border-top: 5px solid var(--gold);
}

.talent-pipeline-summary span {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.talent-pipeline-summary strong {
  color: var(--navy);
  font-size: 2.25rem;
  line-height: 1;
}

.talent-pipeline-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.talent-pipeline-table-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
}

.talent-pipeline-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.talent-pipeline-card-list {
  display: grid;
  gap: 16px;
  width: 100%;
}

/* Employer pipeline action containment fix — full-width action row */
.talent-candidate-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(174, 190, 208, 0.72);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.94)),
    #f8fafc;
  box-shadow: 0 16px 34px rgba(15, 35, 63, 0.1);
}

.talent-candidate-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.talent-candidate-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.talent-candidate-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.talent-candidate-identity .learner-avatar.large,
.talent-candidate-identity .learner-avatar {
  width: 96px;
  height: 96px;
  border: 4px solid rgba(245, 180, 27, 0.82);
  box-shadow: 0 14px 30px rgba(15, 35, 63, 0.18);
}

.talent-candidate-nameplate {
  display: grid;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
}

.talent-candidate-nameplate h5 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 1000;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.talent-candidate-nameplate > span {
  color: #65758b;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.talent-candidate-progress,
.talent-candidate-readiness {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(219, 227, 239, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.talent-candidate-progress span,
.talent-candidate-readiness span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.talent-candidate-progress strong,
.talent-candidate-readiness strong {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.talent-candidate-progress .pipeline-progress {
  width: 100%;
}

.talent-candidate-readiness {
  border-color: rgba(245, 180, 27, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 248, 230, 0.84), rgba(255, 255, 255, 0.82)),
    #fffdf7;
}

.pipeline-actions.talent-candidate-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: center;
  justify-content: stretch;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.pipeline-actions.talent-candidate-actions .primary-action,
.pipeline-actions.talent-candidate-actions .secondary-action {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  height: 44px;
  padding: 8px 10px;
  justify-content: center;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
/* End employer pipeline action containment fix. */

.talent-pipeline-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.talent-pipeline-table th,
.talent-pipeline-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
}

.talent-pipeline-table th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.talent-pipeline-table tbody tr {
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #dbe3ef;
}

.talent-pipeline-table tbody td:first-child {
  border-radius: 14px 0 0 14px;
}

.talent-pipeline-table tbody td:last-child {
  border-radius: 0 14px 14px 0;
}

.talent-pipeline-table td strong,
.talent-pipeline-table td span,
.talent-pipeline-table td em {
  display: block;
}

.talent-pipeline-table td strong {
  color: var(--navy);
}

.talent-pipeline-table td span,
.talent-pipeline-table td em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.pipeline-progress {
  width: 150px;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.pipeline-progress span {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #16a34a);
}

.pipeline-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.pipeline-status.early_development {
  background: #eef6ff;
  color: #1d4ed8;
}

.pipeline-status.progressing_well {
  background: #ecfdf3;
  color: #166534;
}

.pipeline-status.employer_ready_soon {
  background: #fff7e6;
  color: #92400e;
}

.pipeline-status.employment_ready {
  background: #fef3c7;
  color: #071b4d;
  box-shadow: inset 0 0 0 1px rgba(245, 180, 27, 0.45);
}

.pipeline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 290px;
}

.pipeline-actions .primary-action,
.pipeline-actions .secondary-action {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 0.78rem;
}

.employer-pipeline-extras {
  align-items: stretch;
}

.employer-learner-passport-page {
  display: grid;
  gap: 18px;
}

.employer-passport-action-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 180, 27, 0.34);
  border-radius: 10px;
  background: #fffdf7;
  box-shadow: 0 8px 20px rgba(15, 35, 63, 0.07);
}

.employer-passport-action-strip div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.employer-passport-action-strip span {
  color: #a86f00;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.employer-passport-action-strip strong {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.employer-learner-passport-page #employerPrivateNote {
  width: 100%;
  min-height: 110px;
  box-sizing: border-box;
  margin-bottom: 12px;
}

@media (max-width: 1100px) {
  .employer-talent-pipeline-page .employer-dashboard-hero,
  .talent-pipeline-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .talent-candidate-row {
    grid-template-columns: 1fr;
  }

  .talent-candidate-main {
    grid-template-columns: 1fr;
  }

  .pipeline-actions.talent-candidate-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .employer-talent-pipeline-page .employer-dashboard-hero,
  .talent-pipeline-summary {
    grid-template-columns: 1fr;
  }

  .employer-filter-grid {
    grid-template-columns: 1fr;
  }

  .employer-talent-pipeline-page .employer-dashboard-hero {
    padding: 22px;
  }

  .talent-candidate-row {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .employer-passport-action-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .employer-passport-action-strip .secondary-action {
    width: 100%;
  }

  .talent-candidate-identity {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .talent-candidate-identity .learner-avatar.large,
  .talent-candidate-identity .learner-avatar {
    width: 116px;
    height: 116px;
  }

  .talent-candidate-nameplate {
    justify-items: center;
  }

  .talent-candidate-metrics {
    grid-template-columns: 1fr;
  }

  .pipeline-actions.talent-candidate-actions {
    grid-template-columns: 1fr;
  }

  .talent-pipeline-table {
    min-width: 0;
    border-spacing: 0 14px;
  }

  .talent-pipeline-table thead {
    display: none;
  }

  .talent-pipeline-table,
  .talent-pipeline-table tbody,
  .talent-pipeline-table tr,
  .talent-pipeline-table td {
    display: block;
    width: 100%;
  }

  .talent-pipeline-table tbody tr {
    box-sizing: border-box;
    padding: 14px;
    border-radius: 16px;
  }

  .talent-pipeline-table th,
  .talent-pipeline-table td {
    padding: 8px 0;
  }

  .talent-pipeline-table tbody td:first-child,
  .talent-pipeline-table tbody td:last-child {
    border-radius: 0;
  }

  .talent-pipeline-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 1000;
    text-transform: uppercase;
  }

  .pipeline-progress,
  .pipeline-actions {
    width: 100%;
    min-width: 0;
  }

  .pipeline-actions .primary-action,
  .pipeline-actions .secondary-action {
    flex: 1 1 100%;
  }
}

.employer-dashboard-hero h3,
.employer-dashboard-hero p {
  margin: 0;
}

.employer-dashboard-hero .eyebrow {
  color: var(--gold);
}

.employer-origin {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.employer-origin span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
}

.talent-hero-stat {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.talent-hero-stat span,
.talent-hero-stat em {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 800;
}

.talent-hero-stat strong {
  color: var(--gold);
  font-size: 2.2rem;
}

.talent-pool-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.talent-pool-summary article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.talent-pool-summary span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.talent-pool-summary strong {
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.professional-league-card,
.professional-league-panel {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 35, 63, 0.08);
  overflow: hidden;
}

.professional-league-panel {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 28px auto 0;
  padding: 22px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%),
    radial-gradient(circle at 100% 0%, rgba(245, 180, 27, 0.12), transparent 16rem);
  box-shadow: 0 22px 50px rgba(15, 35, 75, 0.1), 0 8px 22px rgba(15, 23, 42, 0.04);
}

.professional-league-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(245, 180, 27, 0.22);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 248, 220, 0.72), rgba(255, 255, 255, 0.96));
}

.professional-league-head h4,
.professional-league-head p {
  margin: 0;
}

.professional-league-head h4 {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 1000;
}

.professional-league-table-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.professional-league-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.professional-league-table th,
.professional-league-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e7edf5;
  color: var(--navy);
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  word-break: normal;
  font-size: 0.88rem;
}

.professional-league-table th {
  background: linear-gradient(135deg, #071b4d, #102b62);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.professional-league-table th:first-child {
  width: 70px;
}

.professional-league-table th:nth-child(2) {
  width: 28%;
}

.professional-league-table th:nth-child(3),
.professional-league-table th:nth-child(4),
.professional-league-table th:nth-child(5),
.professional-league-table th:nth-child(6) {
  width: 12%;
}

.professional-league-table th:last-child {
  text-align: right;
  width: 15%;
}

.professional-league-table-row.current {
  background: #fff8e3;
  box-shadow: inset 4px 0 0 var(--gold);
}

.league-table-learner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.league-table-learner .learner-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
}

.league-table-learner strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 1000;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-table-learner span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-rank-chip,
.league-score-pill,
.league-grade-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 1000;
  white-space: nowrap;
}

.league-rank-chip {
  min-width: 42px;
  background: #edf2f7;
  color: var(--navy);
}

.league-rank-chip.rank-1 {
  background: #fff2bd;
  color: #7a5600;
  border: 1px solid #e4b62d;
}

.league-rank-chip.rank-2 {
  background: #eef2f6;
  color: #3e5165;
  border: 1px solid #b9c5d1;
}

.league-rank-chip.rank-3 {
  background: #f7ddc4;
  color: #7c2d12;
  border: 1px solid #c47c3c;
}

.league-score-pill.green,
.league-grade-pill.green,
.league-overall-cell strong.green {
  background: #dcfce7;
  color: #166534;
}

.league-score-pill.amber,
.league-grade-pill.amber,
.league-overall-cell strong.amber {
  background: #fff7e6;
  color: #92400e;
}

.league-score-pill.red,
.league-grade-pill.red,
.league-overall-cell strong.red {
  background: #fee2e2;
  color: #991b1b;
}

.league-overall-cell {
  display: grid;
  gap: 6px;
}

.league-overall-cell strong {
  display: inline-flex;
  width: max-content;
  min-width: 48px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 1000;
}

.league-overall-cell .progress-line {
  width: 100%;
  max-width: 180px;
  height: 8px;
}

.league-distribution {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 18px;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  background: #f8fafc;
  overflow-x: auto;
}

.league-distribution h5,
.league-distribution p {
  margin: 0;
}

.league-distribution-bars {
  display: grid;
  gap: 10px;
  min-width: 420px;
}

.league-distribution-bars article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 40px;
  gap: 10px;
  align-items: center;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 1000;
}

.league-distribution-bars div {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.league-distribution-bars i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.league-distribution-bars .green i {
  background: #22c55e;
}

.league-distribution-bars .amber i {
  background: #f59e0b;
}

.league-distribution-bars .red i {
  background: #ef4444;
}

.league-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.league-quick-stats article {
  padding: 16px;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  background: #ffffff;
}

.league-quick-stats span {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.league-quick-stats strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 1000;
}

@media (min-width: 1201px) {
  .professional-league-panel {
    min-width: 0;
  }
}

@media (min-width: 901px) {
  .tutor-dashboard-control .professional-league-table-wrap {
    overflow-x: hidden;
  }

  .tutor-dashboard-control .professional-league-table {
    min-width: 0;
  }
}

.professional-league-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-top: 5px solid var(--gold);
}

.professional-league-card h4,
.professional-league-card p {
  margin: 0;
}

.professional-league-card h4 {
  color: var(--navy);
  font-size: 1.35rem;
}

.professional-league-card p {
  color: var(--muted);
  font-weight: 800;
}

.professional-league-card p strong {
  color: var(--navy);
}

.professional-league-list {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.professional-league-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1.45fr) auto auto;
  gap: 22px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 156px;
  box-sizing: border-box;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
  box-shadow: 0 14px 32px rgba(15, 35, 63, 0.08);
  overflow: hidden;
}

.professional-league-row * {
  box-sizing: border-box;
}

.professional-league-row > * {
  min-width: 0;
}

.professional-league-row.current {
  border-color: rgba(242, 182, 50, 0.75);
  background: #fffaf0;
  box-shadow: 0 0 0 3px rgba(242, 182, 50, 0.14);
}

.league-rank {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 20px;
  background: #edf1f5;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.league-rank.winner,
.league-rank.gold {
  background: #fff2bd;
  color: #7a5600;
}

.league-rank.silver {
  background: #eef2f6;
  color: #3e5165;
}

.league-rank.development {
  background: #edf1f5;
  color: #516172;
}

.league-identity {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.league-identity .learner-avatar {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  min-width: 96px;
  border: 4px solid #ffffff;
  outline: 3px solid rgba(24, 165, 88, 0.55);
  box-shadow: 0 12px 26px rgba(15, 35, 63, 0.14);
  object-fit: cover;
}

.league-identity strong,
.league-score strong {
  display: block;
  color: var(--navy);
}

.league-identity strong {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.league-identity span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.league-score {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.league-score strong {
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1;
}

.league-score .progress-line {
  width: 100%;
  min-width: 0;
  height: 12px;
}

.league-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.league-metrics span {
  display: inline-flex;
  flex: 1 1 124px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1f4f8;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.league-zone {
  display: inline-flex;
  justify-self: start;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.professional-league-row > .secondary-action {
  justify-self: start;
  white-space: nowrap;
}

.league-zone.gold {
  background: #fff2bd;
  color: #7a5600;
  border: 1px solid #e4b62d;
}

.league-zone.silver {
  background: #eef2f6;
  color: #3e5165;
  border: 1px solid #b9c5d1;
}

.league-zone.development,
.league-zone.bronze {
  background: #edf1f5;
  color: #516172;
  border: 1px solid #d3dae2;
}

.learner-league-page {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.league-page-mode .learner-dashboard-grid,
.league-page-mode .learner-portal-grid {
  display: none;
}

.league-page-mode .learner-dashboard-grid:first-of-type {
  display: grid;
  grid-template-columns: 1fr;
}

.league-page-mode #learnerProfilePanel {
  display: block;
}

.league-page-mode #overallRatingPanel,
.league-page-mode #phase2ReadinessPanel,
.league-page-mode #phaseProgressPanel,
.league-page-mode #currentLessonPanel,
.league-page-mode #nextActionsPanel,
.league-page-mode #evidencePanel,
.league-page-mode #passportPanel,
.league-page-mode #awardsPanel,
.league-page-mode #attendancePanel,
.league-page-mode #feedbackPanel {
  display: none;
}

.league-page-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 0.35fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #ffffff;
  box-shadow: var(--shadow);
}

.league-page-header .eyebrow {
  color: var(--gold);
}

.league-page-header h3,
.league-page-header p {
  margin: 0;
}

.league-page-header h3 {
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
}

.league-page-header p:not(.eyebrow) {
  margin-top: 8px;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  line-height: 1.4;
}

.league-card-table {
  display: grid;
  gap: 22px;
}

.league-row-card {
  display: grid;
  grid-template-columns: 106px 116px minmax(260px, 1fr) minmax(220px, 0.44fr);
  gap: 24px;
  align-items: center;
  min-height: 240px;
  padding: 30px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 35, 63, 0.09);
}

.league-row-card.rank-1 {
  background: linear-gradient(135deg, #fff8df, #ffffff);
  border-color: rgba(242, 182, 50, 0.55);
}

.league-row-card.rank-2 {
  background: linear-gradient(135deg, #f4f7fb, #ffffff);
  border-color: rgba(185, 197, 209, 0.8);
}

.league-row-card.rank-3 {
  background: linear-gradient(135deg, #fff1e4, #ffffff);
  border-color: rgba(196, 122, 60, 0.56);
}

.league-row-card.current {
  box-shadow: 0 0 0 3px rgba(242, 182, 50, 0.2), 0 14px 34px rgba(15, 35, 63, 0.09);
}

.league-row-card.empty-position {
  grid-template-columns: 106px 116px minmax(0, 1fr);
  min-height: 180px;
  background: #f4f6f9;
  border-color: #d8e0ea;
  color: #667386;
  box-shadow: none;
}

.league-row-rank {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 22px;
  background: var(--navy);
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 900;
}

.rank-1 .league-row-rank {
  background: #f2b632;
  color: #081a42;
}

.rank-2 .league-row-rank {
  background: #c9d3de;
  color: #081a42;
}

.rank-3 .league-row-rank {
  background: #c47a3c;
  color: #ffffff;
}

.league-row-card > .learner-avatar {
  width: 104px;
  height: 104px;
  min-width: 104px;
  border: 4px solid #ffffff;
  outline: 3px solid #1f7a54;
  box-shadow: 0 10px 22px rgba(15, 35, 63, 0.14);
  object-fit: cover;
}

.rank-1 > .learner-avatar {
  outline-color: #f2b632;
}

.rank-2 > .learner-avatar {
  outline-color: #b9c5d1;
}

.rank-3 > .learner-avatar {
  outline-color: #c47a3c;
}

.league-row-identity {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.league-row-identity h4,
.league-row-identity p {
  margin: 0;
}

.league-row-identity h4 {
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.league-row-identity p {
  color: var(--muted);
  font-weight: 900;
}

.league-row-score {
  display: grid;
  gap: 10px;
}

.league-row-score strong {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.league-row-score > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.league-row-score .progress-line {
  height: 14px;
  width: 100%;
}

.league-row-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.league-row-metrics div {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid #e3eaf2;
  border-left-width: 5px;
  border-radius: 14px;
  background: #fbfdff;
}

.league-row-metrics div.green {
  border-left-color: #18A558;
}

.league-row-metrics div.amber {
  border-left-color: var(--gold);
}

.league-row-metrics div.red {
  border-left-color: #dc4c4c;
}

.league-row-metrics span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.league-row-metrics strong {
  color: var(--navy);
  font-size: 1.18rem;
}

.league-row-action {
  grid-column: 4;
  justify-self: end;
  align-self: end;
}

.league-podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.podium-card,
.league-performance-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 35, 63, 0.1);
}

.podium-card {
  justify-items: center;
  align-content: start;
  padding: 24px;
  text-align: center;
  overflow: hidden;
}

.podium-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--gold);
}

.podium-card.rank-1 {
  background: linear-gradient(145deg, #fff8df, #ffffff);
  border-color: rgba(242, 182, 50, 0.55);
}

.podium-card.rank-2 {
  background: linear-gradient(145deg, #f4f7fb, #ffffff);
  border-color: rgba(185, 197, 209, 0.75);
}

.podium-card.rank-2::before {
  background: #b9c5d1;
}

.podium-card.rank-3 {
  background: linear-gradient(145deg, #fff1e4, #ffffff);
  border-color: rgba(196, 122, 60, 0.55);
}

.podium-card.rank-3::before {
  background: #c47a3c;
}

.podium-card.current,
.league-performance-card.current {
  box-shadow: 0 0 0 3px rgba(242, 182, 50, 0.22), 0 16px 36px rgba(15, 35, 63, 0.1);
}

.podium-rank,
.league-card-rank {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #081a42;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.podium-card .learner-avatar.large {
  width: 132px;
  height: 132px;
  min-width: 132px;
  border: 4px solid #ffffff;
  outline: 4px solid rgba(242, 182, 50, 0.6);
  box-shadow: 0 12px 26px rgba(15, 35, 63, 0.18);
}

.podium-card h4,
.league-performance-card h4 {
  margin: 0;
  color: var(--navy);
  line-height: 1.12;
}

.podium-card h4 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.podium-card p,
.league-performance-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.podium-score {
  display: grid;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #081a42;
  color: #ffffff;
}

.podium-score strong {
  color: var(--gold);
  font-size: 2.3rem;
  line-height: 1;
}

.podium-score span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.league-readiness-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.league-readiness-badge.ready {
  background: #def8e8;
  color: #0b6b35;
}

.league-readiness-badge.interview {
  background: #e5f0ff;
  color: #124a8d;
}

.league-readiness-badge.developing {
  background: #fff2c7;
  color: #8a5b00;
}

.league-readiness-badge.building {
  background: #edf1f5;
  color: #516172;
}

.league-strengths,
.league-achievement-badges,
.league-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.league-strengths {
  justify-content: center;
}

.league-strengths span,
.league-achievement-badges span,
.league-card-metrics span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f4f8;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.league-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.league-performance-card {
  padding: 18px;
}

.league-card-top {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.league-card-top .learner-avatar {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border: 3px solid #ffffff;
  outline: 2px solid rgba(242, 182, 50, 0.45);
}

.league-card-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.league-card-score strong {
  color: var(--navy);
  font-size: 1.8rem;
}

.league-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.podium-card.placeholder,
.league-performance-card.placeholder {
  justify-items: center;
  align-content: center;
  min-height: 220px;
  background: #f4f6f9;
  color: #667386;
  text-align: center;
  box-shadow: none;
}

.podium-card.placeholder::before {
  background: #cbd5e1;
}

.empty-avatar.large {
  width: 112px;
  height: 112px;
  min-width: 112px;
}

.league-table-shell {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 35, 63, 0.09);
}

.sports-league-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: separate;
  border-spacing: 0;
}

.sports-league-table th {
  padding: 14px 12px;
  background: #081a42;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.sports-league-table th:first-child {
  border-top-left-radius: 18px;
}

.sports-league-table th:last-child {
  border-top-right-radius: 18px;
}

.sports-league-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e7edf5;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  vertical-align: middle;
  white-space: nowrap;
}

.league-table-row.rank-1 {
  background: #fff8df;
}

.league-table-row.rank-2 {
  background: #f4f7fb;
}

.league-table-row.rank-3 {
  background: #fff1e4;
}

.league-table-row.current {
  box-shadow: inset 5px 0 0 var(--gold);
}

.league-table-row.empty-position {
  background: #f4f6f9;
  color: #667386;
}

.league-table-row.empty-position td {
  color: #667386;
}

.table-rank {
  display: inline-grid;
  min-width: 44px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: #edf1f5;
  color: var(--navy);
  font-weight: 900;
}

.rank-1 .table-rank {
  background: #f2b632;
  color: #081a42;
}

.rank-2 .table-rank {
  background: #c9d3de;
  color: #081a42;
}

.rank-3 .table-rank {
  background: #c47a3c;
  color: #ffffff;
}

.table-learner-cell {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 190px;
}

.sports-league-table td > .learner-avatar,
.table-learner-cell .learner-avatar {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border: 2px solid #ffffff;
  outline: 2px solid rgba(242, 182, 50, 0.55);
}

.empty-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  min-width: 46px;
  place-items: center;
  border-radius: 999px;
  background: #e2e8f0;
  color: #7b8798;
  font-weight: 900;
}

.sports-league-table .progress-line {
  width: 96px;
  margin-top: 7px;
}

.parent-dashboard {
  display: grid;
  gap: 18px;
}

.parent-dashboard-hero .talent-hero-stat {
  min-width: 220px;
}

.parent-progress-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.parent-alert-list {
  display: grid;
  gap: 10px;
}

.parent-alert-list article {
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fffdf7;
}

.parent-alert-list span {
  display: block;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.parent-alert-list strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  line-height: 1.35;
}

.phase-progress-card {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.phase-progress-card .eyebrow {
  color: var(--gold);
}

.phase-progress-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.phase-progress-head h4,
.phase-progress-head p {
  margin: 0;
}

.phase-progress-head h4 {
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.phase-progress-head > strong {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.phase-progress-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ebf3;
}

.phase-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #18A558;
}

.phase-progress-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.employer-filter-panel,
.cv-section,
.cv-brand-strip,
.candidate-card,
.evidence-modal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.07);
}

.employer-filter-panel,
.cv-section,
.cv-brand-strip {
  padding: 14px;
}

/* Employer filter panel compression fix */
.employer-filter-panel {
  padding: 12px;
}

.employer-filter-grid,
.candidate-grid,
.candidate-facts,
.cv-hero,
.candidate-metrics-grid,
.cv-metric-grid,
.cv-status-grid,
.qualification-grid,
.cv-evidence-grid {
  display: grid;
  gap: 10px;
}

.employer-filter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  align-items: end;
}

.employer-filter-grid label {
  display: grid;
  gap: 4px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
}

.employer-filter-grid .employer-filter-search {
  grid-column: 1 / -1;
}

.employer-filter-grid input,
.employer-filter-grid select {
  min-height: 38px;
  padding: 8px 10px;
}

.quick-filter-row,
.candidate-card-footer,
.cv-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.quick-filter-row {
  margin-top: 10px;
}

.active-filter {
  background: var(--gold) !important;
  border-color: #9b6b00 !important;
  color: var(--navy) !important;
  font-weight: 1000;
  box-shadow: 0 0 0 2px rgba(242, 182, 50, 0.28);
}

.active-filter-summary {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
}

.candidate-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.candidate-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.candidate-card-top h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.candidate-card-top span,
.candidate-facts span,
.candidate-meter span,
.cv-metric-grid span,
.qualification-grid span,
.cv-status-grid span,
.skill-row span,
.cv-evidence-card span,
.tutor-recommendation span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.candidate-award,
.employer-rag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.candidate-award.gold {
  background: #fff2bd;
  color: #7a5600;
  border: 1px solid #e4b62d;
}

.candidate-award.silver {
  background: #eef2f6;
  color: #3e5165;
  border: 1px solid #b9c5d1;
}

.candidate-award.bronze {
  background: #f6dcc6;
  color: #744014;
  border: 1px solid #c47a3c;
}

.candidate-award.not-assessed {
  background: #edf1f5;
  color: #5c6977;
  border: 1px solid #d3dae2;
}

.candidate-award.gold-standard,
.performance-badge.gold {
  background: #fff2bd;
  color: #7a5600;
  border: 1px solid #e4b62d;
}

.candidate-award.silver-standard,
.performance-badge.silver {
  background: #eef2f6;
  color: #3e5165;
  border: 1px solid #b9c5d1;
}

.candidate-award.bronze-standard,
.performance-badge.bronze {
  background: #f6dcc6;
  color: #744014;
  border: 1px solid #c47a3c;
}

.candidate-award.not-yet-assessed,
.performance-badge.not-assessed {
  background: #edf1f5;
  color: #5c6977;
  border: 1px solid #d3dae2;
}

.performance-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.performance-badge.compact {
  font-size: 0.72rem;
}

.performance-standard-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 35, 63, 0.09);
  border: 1px solid rgba(15, 35, 63, 0.08);
}

.performance-standard-card.gold {
  border-top: 6px solid #F2B632;
  background: linear-gradient(145deg, #fffaf0, #ffffff);
}

.performance-standard-card.silver {
  border-top: 6px solid #b9c5d1;
  background: linear-gradient(145deg, #f7f9fc, #ffffff);
}

.performance-standard-card.bronze {
  border-top: 6px solid #c47a3c;
  background: linear-gradient(145deg, #fff5ed, #ffffff);
}

.performance-standard-card.not-assessed {
  border-top: 6px solid #d3dae2;
}

.performance-standard-card span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.performance-standard-card strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1;
}

.performance-standard-card p {
  margin: 4px 0 0;
  color: var(--ink);
}

.performance-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.performance-counts span {
  min-height: 32px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f1f4f8;
  color: var(--navy);
}

.performance-message {
  padding: 12px 14px;
  border-left: 5px solid #F2B632;
  border-radius: 12px;
  background: #fff9e8;
  font-weight: 800;
}

.performance-progress {
  display: grid;
  gap: 8px;
}

.performance-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.performance-progress strong {
  margin: 0;
  font-size: 1rem;
}

.performance-standard-card.gold .progress-line span {
  background: #F2B632;
}

.performance-standard-card.silver .progress-line span {
  background: #b9c5d1;
}

.performance-standard-card.bronze .progress-line span {
  background: #c47a3c;
}

.performance-standard-card.not-assessed .progress-line span {
  background: #d3dae2;
}

.employer-rag.green {
  background: #def8e8;
  color: #0b6b35;
}

.employer-rag.amber {
  background: #fff2c7;
  color: #8a5b00;
}

.employer-rag.red {
  background: #ffe0e0;
  color: #9b1c1c;
}

.candidate-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.candidate-location-stack {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 8px;
  background: #fbfdff;
}

.candidate-location-stack span {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.candidate-location-stack em,
.travel-location-grid em {
  color: var(--bad);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.travel-suitability {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.travel-suitability.green {
  background: #def8e8;
  color: #0b6b35;
}

.travel-suitability.amber {
  background: #fff2c7;
  color: #8a5b00;
}

.travel-suitability.red {
  background: #ffe0e0;
  color: #9b1c1c;
}

.travel-suitability.neutral {
  background: #edf1f5;
  color: #516172;
}

.candidate-facts div,
.cv-metric-grid article,
.qualification-grid div,
.cv-status-grid div,
.tutor-recommendation div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
}

.candidate-facts strong,
.candidate-meter strong,
.cv-metric-grid strong,
.qualification-grid strong,
.cv-status-grid strong,
.skill-row strong,
.tutor-recommendation strong {
  color: var(--navy);
}

.candidate-card-footer {
  justify-content: space-between;
}

.cv-brand-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.cv-brand-strip img {
  width: min(320px, 100%);
  height: auto;
}

.cv-brand-strip strong,
.cv-brand-strip span {
  display: block;
  color: var(--navy);
}

.cv-brand-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.cv-hero {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), #16438f);
  color: white;
}

.cv-profile-photo-card {
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(242, 182, 50, 0.46);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cv-profile-photo-card .learner-avatar.large {
  width: 180px;
  height: 180px;
  min-width: 180px;
  border: 6px solid var(--gold);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 0 10px rgba(255, 255, 255, 0.1);
  font-size: 2.1rem;
}

.cv-profile-details {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.cv-profile-details h3,
.cv-profile-details p {
  margin: 0;
}

.cv-profile-details h3 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.cv-profile-details .eyebrow,
.cv-profile-details p {
  color: rgba(255, 255, 255, 0.8);
}

.profile-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-detail-list span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-award-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.hero-award-badge span {
  font-size: 1.55rem;
  line-height: 1;
}

.hero-award-badge strong {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-award-badge.gold {
  background: linear-gradient(135deg, #ffe889, var(--gold));
}

.hero-award-badge.silver {
  background: linear-gradient(135deg, #ffffff, #cfd8e3);
}

.hero-award-badge.bronze {
  background: linear-gradient(135deg, #f7c59d, #c77a39);
}

.hero-award-badge.development {
  background: linear-gradient(135deg, #ffffff, #dbe3ec);
}

.employer-quick-view {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-status-chip {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.quick-status-chip strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.quick-status-chip.status-green {
  background: #def8e8;
  color: #0b6b35;
}

.quick-status-chip.status-green strong {
  color: #0b6b35;
}

.quick-status-chip.status-amber {
  background: #fff2c7;
  color: #8a5b00;
}

.quick-status-chip.status-amber strong {
  color: #8a5b00;
}

.quick-status-chip.status-red {
  background: #ffe0e0;
  color: #9b1c1c;
}

.quick-status-chip.status-red strong {
  color: #9b1c1c;
}

.quick-status-chip.status-neutral {
  background: #edf1f5;
  color: #516172;
}

.quick-status-chip.status-neutral strong {
  color: #516172;
}

.cv-badge-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
}

.candidate-metrics-grid {
  grid-template-columns: 1fr;
}

.metric-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 142px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(5, 19, 50, 0.16);
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--gold);
}

.metric-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.metric-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #fff4cf;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.metric-label {
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
}

.metric-value {
  color: var(--navy);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.metric-helper {
  color: #40536a;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.metric-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ecf3;
}

.metric-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.metric-card.status-green::before,
.metric-card.status-green .metric-progress span {
  background: #1b9a58;
}

.metric-card.status-amber::before,
.metric-card.status-amber .metric-progress span {
  background: var(--gold);
}

.metric-card.status-red::before,
.metric-card.status-red .metric-progress span {
  background: #d64040;
}

.metric-card.status-neutral::before,
.metric-card.status-neutral .metric-progress span {
  background: #9aa8b7;
}

.metric-card.status-green .metric-icon {
  background: #def8e8;
  color: #0b6b35;
}

.metric-card.status-amber .metric-icon {
  background: #fff2c7;
  color: #8a5b00;
}

.metric-card.status-red .metric-icon {
  background: #ffe0e0;
  color: #9b1c1c;
}

.metric-card.status-neutral .metric-icon {
  background: #edf1f5;
  color: #516172;
}

.featured-metric {
  min-height: 158px;
}

.cv-section h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.12rem;
}

.travel-location-grid {
  display: grid;
  gap: 10px;
}

.travel-location-grid article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 8px;
  background: var(--wash);
}

.travel-location-grid span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.travel-location-grid strong {
  color: var(--navy);
}

.travel-location-section .travel-location-grid {
  gap: 14px;
}

.travel-location-section .travel-location-grid article {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(11, 31, 77, 0.08);
}

.travel-location-section .travel-location-grid span {
  display: block;
  padding: 10px 14px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.travel-location-section .travel-location-grid strong {
  display: block;
  padding: 14px;
  color: var(--navy);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.travel-location-section .travel-location-grid .travel-suitability {
  display: inline-flex;
  margin: 14px;
  padding: 7px 12px;
  font-size: 0.86rem;
}

.travel-location-section .travel-location-grid em {
  display: block;
  padding: 0 14px 14px;
}

.cv-section > p:not(.eyebrow),
.tutor-recommendation p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.skill-grid {
  display: grid;
  gap: 8px;
}

.skill-row {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.cv-evidence-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.cv-evidence-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (min-width: 1024px) {
  .tutor-marking-learner-header {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  }

  .tutor-marking-kpis {
    grid-column: auto;
  }

  .lesson-marking-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(390px, 1fr);
  }

  .lesson-behaviour-column {
    position: sticky;
    top: 16px;
    align-self: stretch;
  }
}

@media (max-width: 1023px) {
  .tutor-marking-learner-header {
    grid-template-columns: 1fr;
  }

  .tutor-marking-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body:has(.tutor-marking-workspace) .app-shell { width: 100%; padding-inline: 14px; }
  .tutor-marking-submission-context { grid-template-columns: 1fr; }
  .tutor-marking-identity .learner-avatar.large { width: 58px; height: 58px; }
  .lesson-evidence-column .evidence-preview-media { min-height: 240px; }
  .tutor-marking-workspace.single-marking-item .lesson-marking-facts { grid-template-columns: 1fr; }
  .tutor-learner-confirmation-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .tutor-marking-learner-header .assigned-slot-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutor-marking-kpis {
    grid-template-columns: 1fr;
  }

  .tutor-marking-learner-header h3,
  .tutor-learner-status-line {
    text-align: center;
  }

  .tutor-feedback-card-head {
    display: grid;
  }

  .tutor-feedback-card-head em {
    justify-self: start;
  }
}

.evidence-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(11, 31, 77, 0.72);
}

.evidence-modal-panel {
  display: grid;
  gap: 12px;
  width: min(860px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 14px;
}

@media print {
  body {
    background: white;
  }

  .topbar,
  .auth-panel,
  .session-strip,
  .hero-panel,
  .metrics-grid,
  .section-heading,
  .cv-actions,
  [data-back-employer-dashboard],
  [data-employer-evidence] {
    display: none !important;
  }

  .app-shell,
  main,
  .employer-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }

}

.intervention-review-summary {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(242, 182, 50, 0.34);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.intervention-review-summary p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  line-height: 1.4;
}

.intervention-review-summary .secondary-action {
  flex: 0 0 auto;
}

.tutor-workflow-filtered-list {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(15, 35, 75, 0.06);
}

.tutor-workflow-learner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  width: 100%;
}

.tutor-work-awaiting-marking .tutor-workflow-learner-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  justify-content: start;
}

.tutor-work-awaiting-marking .tutor-workflow-work-item-card {
  grid-template-rows: auto 1fr auto;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(11, 31, 77, 0.14);
  border-radius: 22px;
  background: #fff;
}

.tutor-marking-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #0b2b66, #071b4d);
}

.tutor-marking-card-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutor-marking-card-image-missing {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.tutor-marking-card-image-missing span {
  color: #f2b632;
  font-size: 1.25rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
}

.tutor-marking-card-image-missing small {
  font-size: 0.78rem;
  font-weight: 800;
}

.tutor-marking-card-content {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 17px 18px 12px;
}

.tutor-marking-card-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tutor-marking-card-badges span,
.tutor-marking-card-badges em {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tutor-marking-card-badges span {
  background: #fff5d6;
  color: #765300;
}

.tutor-marking-card-badges em {
  background: #eaf1fb;
  color: #0b2b66;
}

.tutor-workflow-work-item-card[data-tutor-marking-card-type="practical"] .tutor-marking-card-badges em {
  background: #edf7ef;
  color: #24603a;
}

.tutor-marking-card-learner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.tutor-marking-card-learner .learner-avatar {
  width: 48px;
  height: 48px;
}

.tutor-marking-card-learner h4,
.tutor-marking-card-learner p,
.tutor-marking-card-lesson h5,
.tutor-marking-card-lesson p {
  margin: 0;
}

.tutor-marking-card-learner h4 {
  color: #071b4d;
  font-size: 1.02rem;
  line-height: 1.2;
}

.tutor-marking-card-learner p {
  margin-top: 2px;
  color: #66758a;
  font-size: 0.8rem;
  font-weight: 850;
}

.tutor-marking-card-lesson {
  display: grid;
  gap: 7px;
}

.tutor-marking-card-lesson h5 {
  display: -webkit-box;
  overflow: hidden;
  color: #071b4d;
  font-size: 1.15rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tutor-marking-card-lesson p {
  display: -webkit-box;
  overflow: hidden;
  color: #405169;
  font-size: 0.88rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tutor-marking-card-lesson > span,
.tutor-marking-card-lesson > small {
  color: #52647b;
  font-size: 0.75rem;
  font-weight: 800;
}

.tutor-marking-card-lesson > small {
  color: #987000;
}

.tutor-marking-card-submission {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
  padding-top: 11px;
  border-top: 1px solid rgba(11, 31, 77, 0.1);
}

.tutor-marking-card-submission span,
.tutor-marking-card-submission small {
  color: #68778b;
  font-size: 0.73rem;
  font-weight: 800;
}

.tutor-marking-card-submission strong {
  color: #12294f;
  font-size: 0.8rem;
}

.tutor-marking-card-submission small {
  grid-column: 1 / -1;
}

.tutor-work-awaiting-marking .tutor-workflow-work-item-card > .tutor-workflow-card-actions {
  align-self: end;
  padding: 4px 18px 18px;
}

.tutor-work-awaiting-marking .tutor-workflow-work-item-card > .tutor-workflow-card-actions .primary-action {
  flex: 1 1 150px;
}

.tutor-work-awaiting-marking .tutor-marking-queue-empty {
  min-height: 0;
  width: min(100%, 520px);
  padding: 18px 20px;
  text-align: left;
}

.tutor-workflow-learner-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d8e1ec;
  border-left-width: 6px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 35, 63, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tutor-workflow-learner-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 35, 63, 0.1);
}

.tutor-workflow-learner-card.green {
  border-color: rgba(24, 165, 88, 0.35);
  border-left-color: #18A558;
  background: #effaf4;
}

.tutor-workflow-learner-card.amber {
  border-color: rgba(242, 182, 50, 0.5);
  border-left-color: #F2B632;
  background: #fff8df;
}

.tutor-workflow-learner-card.red {
  border-color: rgba(211, 47, 47, 0.34);
  border-left-color: #d32f2f;
  background: #fff1f1;
}

.tutor-workflow-learner-card.blue {
  border-color: rgba(27, 107, 196, 0.3);
  border-left-color: #1b6bc4;
  background: #eef6ff;
}

.tutor-workflow-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.tutor-workflow-card-top h4,
.tutor-workflow-card-top p,
.tutor-workflow-card-body p {
  margin: 0;
}

.tutor-workflow-card-top span,
.tutor-workflow-card-body strong {
  color: #0B1F4D;
  font-weight: 1000;
}

.tutor-workflow-card-top h4 {
  color: #0B1F4D;
  font-size: 1.08rem;
  line-height: 1.18;
}

.tutor-workflow-card-top p,
.tutor-workflow-card-body p {
  color: #334257;
  line-height: 1.4;
}

.tutor-workflow-card-body {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.tutor-pending-work-list {
  display: grid;
  gap: 10px;
}

.tutor-pending-work-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-left: 4px solid #d9ae2b;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(11, 31, 77, 0.06);
}

.tutor-pending-work-item--theory {
  border-left-color: #0b2b66;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.92));
}

.tutor-pending-work-item--practical {
  border-left-color: #d9ae2b;
}

.tutor-pending-work-item span {
  color: #9a6f00;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tutor-pending-work-item strong {
  display: block;
  margin-top: 3px;
}

.tutor-pending-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tutor-workflow-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.tutor-workflow-filtered-list .empty-state {
  min-height: 160px;
  border: 1px solid rgba(245, 180, 27, 0.18);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 248, 220, 0.58), rgba(255, 255, 255, 0.95));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.tutor-cohort-first-panel,
.teacher-intelligence-brief {
  display: grid;
  gap: 18px;
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(49, 111, 177, 0.16);
  border-radius: 26px;
  background: linear-gradient(135deg, #f3f8ff 0%, #ffffff 58%, #fffaf0 100%);
  box-shadow: 0 18px 42px rgba(11, 31, 77, 0.09);
}

.tutor-cohort-first-panel {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 255, 0.94) 54%, rgba(255, 249, 235, 0.96) 100%);
}

.tutor-cohort-first-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: 22px;
  border: 1px solid rgba(49, 111, 177, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.tutor-cohort-accent {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  margin-right: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 182, 50, 0.22), rgba(242, 182, 50, 0.08) 42%, transparent 70%),
    linear-gradient(135deg, rgba(7, 27, 77, 0.08), rgba(49, 111, 177, 0.08));
}

.tutor-cohort-accent::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 2px solid rgba(242, 182, 50, 0.46);
  border-radius: 50%;
}

.tutor-cohort-first-panel h3,
.teacher-intelligence-head h3 {
  margin: 0;
  color: #071b4d;
  font-size: 1.45rem;
  line-height: 1.16;
  font-weight: 1000;
}

.tutor-cohort-first-panel p,
.teacher-intelligence-head p {
  margin: 5px 0 0;
  color: #51627a;
  font-weight: 820;
  line-height: 1.45;
}

.tutor-cohort-select-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 9px;
  max-width: 560px;
  padding: 16px;
  border: 1px solid rgba(216, 154, 19, 0.26);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.16), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.98) 100%);
  box-shadow:
    0 16px 34px rgba(15, 35, 75, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.tutor-cohort-select-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #071b4d 0%, #123d73 48%, #f2b632 100%);
}

.tutor-landing-panel {
  display: grid;
  gap: 18px;
}

.tutor-landing-panel > .tutor-cohort-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 28px;
  align-items: center;
  width: 100%;
  padding: 28px;
  border: 1px solid rgba(216, 154, 19, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(242, 182, 50, 0.72), rgba(242, 182, 50, 0)) 0 0 / 100% 4px no-repeat,
    radial-gradient(circle at 94% 18%, rgba(242, 182, 50, 0.12), transparent 16rem),
    radial-gradient(circle at 0% 100%, rgba(15, 76, 138, 0.08), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.96) 62%, rgba(255, 250, 240, 0.94) 100%);
  box-shadow:
    0 22px 52px rgba(11, 31, 77, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.tutor-landing-panel .tutor-cohort-select-card {
  width: 100%;
  max-width: none;
}

.tutor-landing-panel .tutor-cohort-select-card select {
  width: 100%;
  max-width: none;
}

/* TFE-UI-003: exact Admin Dashboard alignment for the pre-cohort Tutor landing.
   Every selector is landing-scoped so the selected-cohort workspace is unchanged. */
body:has(.tutor-hero--landing) .app-shell {
  width: min(100%, 1500px);
}

body:has(.tutor-hero--landing) .tutor-welcome-card,
body:has(.tutor-hero--landing) .tutor-shell,
body:has(.tutor-hero--landing) .tutor-signoff-layout,
body:has(.tutor-hero--landing) #tutorSignoffPanel,
body:has(.tutor-hero--landing) .tutor-dashboard-control,
body:has(.tutor-hero--landing) .tutor-landing-panel {
  width: 100%;
  max-width: none;
}

.tutor-hero.tutor-hero--landing {
  grid-template-columns: auto minmax(0, 1fr) minmax(230px, 280px);
  gap: 24px;
  min-height: 0;
  padding: 24px clamp(18px, 4vw, 34px);
  border: 1px solid rgba(242, 182, 50, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.12), transparent 18rem),
    linear-gradient(135deg, #071b4d 0%, #0d2c66 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 48px rgba(7, 27, 77, 0.2);
}

.tutor-hero.tutor-hero--landing::before {
  display: none;
}

.tutor-hero--landing .tutor-photo-wrap {
  width: 104px;
  height: 104px;
  min-width: 104px;
  border: 3px solid #ffffff;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.16),
    0 0 0 2px rgba(242, 182, 50, 0.56);
}

.tutor-hero--landing .tutor-photo-fallback {
  font-size: 1.45rem;
}

.tutor-hero--landing .tutor-hero-copy {
  gap: 6px;
}

.tutor-hero--landing .tutor-hero-label {
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.tutor-hero--landing .tutor-greeting {
  margin: 5px 0 2px;
  font-family: inherit;
  font-size: clamp(1.55rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

.tutor-hero--landing .tutor-identity-line {
  margin: 0 !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
}

.tutor-hero--landing .tutor-hero-intro {
  max-width: 55rem;
  margin: 4px 0 0;
  color: #d7e3ee;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.tutor-hero--landing .tutor-hero-meta-card {
  gap: 9px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(242, 215, 125, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: none;
}

.tutor-hero--landing .tutor-hero-time strong {
  font-size: 1.55rem;
}

.tutor-landing-panel {
  width: 100%;
}

.tutor-landing-panel > .tutor-cohort-card {
  grid-template-columns: minmax(250px, 0.62fr) minmax(360px, 1.38fr);
  gap: 24px;
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--tfe-premium-card-shadow);
  transition: none;
}

.tutor-landing-panel > .tutor-cohort-card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--tfe-premium-card-shadow);
}

.tutor-landing-panel .tutor-cohort-card-copy {
  gap: 8px;
  align-content: center;
}

.tutor-landing-panel .tutor-cohort-card-copy .eyebrow {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.tutor-landing-panel .tutor-cohort-card-copy h3 {
  margin: 2px 0 0;
  color: var(--navy);
  font-family: inherit;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 1.15;
  text-shadow: none;
}

.tutor-landing-panel .tutor-cohort-card-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.tutor-landing-panel .tutor-cohort-select-card {
  gap: 8px;
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tutor-landing-panel .tutor-cohort-select-card::before {
  display: none;
}

.tutor-landing-panel .tutor-cohort-select-card span {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.tutor-landing-panel .tutor-cohort-select-card small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
}

.tutor-landing-panel .tutor-cohort-select-card select {
  width: 100%;
  max-width: none;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(7, 27, 77, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: #071b4d;
  font-weight: 900;
  box-shadow: none;
}

.tutor-landing-panel .tutor-cohort-select-card select:focus-visible {
  border-color: rgba(216, 154, 19, 0.82);
  outline: 3px solid rgba(216, 154, 19, 0.16);
  outline-offset: 0;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 0 5px rgba(15, 76, 138, 0.08),
    0 14px 30px rgba(7, 27, 77, 0.13);
}

@media (max-width: 1350px) {
  .tutor-hero.tutor-hero--landing {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tutor-hero--landing .tutor-hero-meta-card {
    grid-column: 1 / -1;
    grid-template-columns: auto repeat(2, minmax(0, 1fr));
    align-items: center;
  }
}

/* End TFE-UI-003 pre-cohort correction. */

/* TFE-UI-004: Tutor landing cohort combobox only. */
.tutor-landing-panel .tutor-cohort-native-fallback {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.tutor-landing-panel .tutor-cohort-combobox {
  position: relative;
  z-index: 20;
  width: 100%;
  min-width: 0;
}

.tutor-landing-panel .tutor-cohort-combobox-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid rgba(7, 27, 77, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: #071b4d;
  font: inherit;
  font-weight: 900;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 8px 20px rgba(7, 27, 77, 0.07);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.tutor-landing-panel .tutor-cohort-combobox-trigger:hover {
  border-color: rgba(7, 27, 77, 0.3);
  background: #fbfcff;
}

.tutor-landing-panel .tutor-cohort-combobox-trigger:focus-visible,
.tutor-landing-panel .tutor-cohort-combobox.is-open .tutor-cohort-combobox-trigger {
  border-color: rgba(216, 154, 19, 0.82);
  outline: 3px solid rgba(216, 154, 19, 0.16);
  outline-offset: 0;
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(15, 76, 138, 0.08), 0 14px 30px rgba(7, 27, 77, 0.13);
}

.tutor-landing-panel .tutor-cohort-combobox-trigger > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tutor-landing-panel .tutor-cohort-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #071b4d;
  border-bottom: 2px solid #071b4d;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 150ms ease;
}

.tutor-landing-panel .tutor-cohort-combobox.is-open .tutor-cohort-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

.tutor-landing-panel .tutor-cohort-listbox {
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: grid;
  gap: 5px;
  max-height: min(320px, 45vh);
  margin: 0;
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(7, 27, 77, 0.15);
  border-radius: 12px;
  background: #ffffff;
  color: #071b4d;
  box-shadow: 0 22px 48px rgba(7, 27, 77, 0.18), 0 4px 12px rgba(7, 27, 77, 0.08);
  animation: tutor-cohort-menu-enter 130ms ease-out;
}

.tutor-landing-panel .tutor-cohort-listbox[hidden] {
  display: none;
}

.tutor-landing-panel .tutor-cohort-combobox.opens-upward .tutor-cohort-listbox {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom;
}

.tutor-landing-panel .tutor-cohort-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #ffffff;
  color: #071b4d;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.tutor-landing-panel .tutor-cohort-option:hover,
.tutor-landing-panel .tutor-cohort-option.is-active {
  border-color: rgba(7, 27, 77, 0.12);
  background: #f5f8fc;
  box-shadow: inset 3px 0 0 #0d2c66;
}

.tutor-landing-panel .tutor-cohort-option.is-selected {
  border-color: rgba(216, 154, 19, 0.28);
  background: #fffaf0;
  box-shadow: inset 3px 0 0 #d89a13;
}

.tutor-landing-panel .tutor-cohort-option-check {
  visibility: hidden;
  color: #8a6105;
  font-size: 1rem;
  text-align: center;
}

.tutor-landing-panel .tutor-cohort-option.is-selected .tutor-cohort-option-check {
  visibility: visible;
}

.tutor-landing-panel .tutor-cohort-option.is-disabled {
  color: #8994a5;
  background: #f5f6f8;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

@keyframes tutor-cohort-menu-enter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .tutor-landing-panel .tutor-cohort-combobox-trigger,
  .tutor-landing-panel .tutor-cohort-chevron,
  .tutor-landing-panel .tutor-cohort-option {
    transition: none;
  }
  .tutor-landing-panel .tutor-cohort-listbox { animation: none; }
}

@media (max-width: 650px) {
  .tutor-landing-panel .tutor-cohort-combobox-trigger { min-height: 56px; }
  .tutor-landing-panel .tutor-cohort-listbox { max-height: min(280px, 48vh); }
  .tutor-landing-panel .tutor-cohort-option { min-height: 50px; font-size: 0.88rem; }
}

/* End TFE-UI-004 Tutor cohort combobox. */

.tutor-landing-panel > .tutor-cohort-card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--tfe-premium-card-shadow);
}

.tutor-cohort-card-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.tutor-cohort-card-copy h3 {
  margin: 0;
  color: #071b4d;
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
  line-height: 1.08;
  font-weight: 1000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
}

.tutor-cohort-card-copy p:not(.eyebrow) {
  margin: 0;
  color: #3e506b;
  font-weight: 820;
  line-height: 1.45;
}

.tutor-cohort-select-card span {
  color: #071b4d;
  font-size: 1.02rem;
  font-weight: 1000;
}

.tutor-cohort-select-card small {
  color: #536173;
  font-size: 0.84rem;
  font-weight: 800;
}

.tutor-cohort-first-panel select,
.tutor-cohort-select-card select {
  min-height: 58px;
  max-width: 520px;
  border: 1px solid rgba(7, 27, 77, 0.15);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.98));
  color: #071b4d;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 999px rgba(255, 255, 255, 0.16),
    0 10px 20px rgba(15, 35, 75, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.tutor-cohort-select-card select:hover {
  border-color: rgba(216, 154, 19, 0.46);
}

.tutor-cohort-select-card select:focus-visible {
  outline: 3px solid rgba(216, 154, 19, 0.2);
  outline-offset: 3px;
  border-color: rgba(216, 154, 19, 0.82);
  background: #ffffff;
  box-shadow:
    0 0 0 5px rgba(15, 76, 138, 0.08),
    0 13px 28px rgba(15, 35, 75, 0.12);
}

.teacher-intelligence-head,
.teacher-handover-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.teacher-intelligence-head > span,
.teacher-handover-top em {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 1000;
  text-transform: uppercase;
}

.teacher-intelligence-head > span {
  border: 1px solid rgba(216, 167, 44, 0.34);
  background: linear-gradient(135deg, #071b4d 0%, #123a76 100%);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 rgba(216, 167, 44, 0.42);
}

.teacher-today-brief {
  display: grid;
  gap: 12px;
  padding: 28px 32px;
  border: 1px solid rgba(247, 212, 123, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(247, 212, 123, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(7, 27, 77, 0.98), rgba(18, 58, 118, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -2px 0 rgba(216, 167, 44, 0.26),
    0 22px 42px rgba(11, 31, 77, 0.18);
}

.teacher-today-brief span {
  color: #f7d47b;
  font-size: 0.92rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.teacher-today-brief p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.16rem, 1.02rem + 0.45vw, 1.35rem);
  font-weight: 860;
  line-height: 1.52;
  max-width: 78ch;
}

.teacher-handover-list {
  display: grid;
  gap: 12px;
}

.teacher-handover-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  position: relative;
  min-width: 0;
  padding: 14px 16px 13px;
  border: 1px solid rgba(49, 111, 177, 0.12);
  border-left: 6px solid #4d93d9;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 31, 77, 0.07);
}

.teacher-handover-card.urgent { border-left-color: #d96b6b; background: #fff6f6; }
.teacher-handover-card.priority { border-left-color: #e39a2d; background: #fff9ee; }
.teacher-handover-card.monitor { border-left-color: #d8a72c; background: #fffdf3; }
.teacher-handover-card.stable { border-left-color: #36a269; background: #f5fcf7; }

.teacher-handover-top {
  display: grid;
  grid-template-columns: 168px minmax(128px, 0.68fr) minmax(240px, 1.25fr) minmax(168px, 0.82fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding-right: 92px;
}

.teacher-handover-photo {
  display: grid;
  place-items: center;
  min-width: 0;
}

.teacher-handover-identity {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.teacher-handover-top .learner-avatar.teacher-brief {
  width: 168px;
  height: 168px;
  min-width: 168px;
  border-width: 4px;
  font-size: 1.48rem;
  box-shadow:
    0 0 0 3px rgba(216, 167, 44, 0.55),
    0 14px 30px rgba(11, 31, 77, 0.2);
}

.teacher-brief-photo {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  background: #fff8df;
  color: #071b4d;
}

.teacher-brief-photo img,
.teacher-brief-photo > span {
  grid-area: 1 / 1;
}

.teacher-brief-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-brief-photo > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #071b4d;
  font-weight: 1000;
}

.teacher-brief-photo.has-photo > span {
  opacity: 0;
}

.teacher-brief-photo.photo-missing > span {
  opacity: 1;
}

.teacher-handover-top strong {
  display: block;
  color: #071b4d;
  font-size: clamp(1.08rem, 0.98rem + 0.25vw, 1.22rem);
  font-weight: 1000;
  line-height: 1.15;
  text-align: left;
}

.teacher-handover-top small {
  display: block;
  color: #64748b;
  font-weight: 820;
  line-height: 1.25;
  text-align: left;
}

.teacher-handover-top em {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(7, 27, 77, 0.08);
  color: #071b4d;
}

.teacher-handover-compact {
  display: block;
  min-width: 0;
}

.teacher-handover-note {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(49, 111, 177, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.46);
}

.teacher-handover-guidance,
.teacher-handover-avoid {
  min-width: 0;
  align-self: center;
  padding: 10px 12px;
  border: 1px solid rgba(49, 111, 177, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.teacher-handover-avoid {
  border-color: rgba(216, 125, 38, 0.16);
  background: rgba(255, 255, 255, 0.58);
}

.teacher-handover-note h4,
.teacher-handover-guidance h4,
.teacher-handover-avoid h4 {
  margin: 0 0 6px;
  color: #071b4d;
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 1.2;
}

.teacher-handover-note p {
  margin: 0;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 780;
  line-height: 1.48;
}

.teacher-handover-guidance ul,
.teacher-handover-avoid ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 1.05rem;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 820;
  line-height: 1.36;
}

.teacher-handover-guidance li::marker,
.teacher-handover-avoid li::marker {
  color: #d8a72c;
}

.teacher-handover-avoid li::marker {
  color: #d87d26;
}

@media (max-width: 1100px) {
  .tutor-hero,
  .tutor-landing-panel > .tutor-cohort-card {
    grid-template-columns: 1fr;
  }

  .tutor-photo-wrap {
    width: 150px;
    height: 150px;
    min-width: 150px;
  }

  .tutor-hero--landing {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tutor-hero--landing .tutor-hero-meta-card {
    grid-column: 1 / -1;
  }

  .tutor-hero-meta-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .tutor-online-status {
    grid-column: 1 / -1;
  }

  .tutor-welcome-inner,
  .tutor-cohort-first-panel {
    grid-template-columns: 1fr;
  }

  .tutor-welcome-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .tutor-cohort-accent {
    display: none;
  }

  .tutor-command-hero {
    grid-template-columns: 1fr;
  }

  .tutor-priority-card {
    text-align: left;
  }

  .tutor-workflow-summary-panel {
    grid-template-columns: 1fr;
  }

  .tutor-workflow-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .tutor-welcome-card {
    margin-bottom: 16px;
  }

  .tutor-hero,
  .tutor-landing-panel > .tutor-cohort-card {
    padding: 20px;
    border-radius: 20px;
  }

  .tutor-hero-meta-card {
    grid-template-columns: 1fr;
  }

  .tutor-greeting {
    font-size: 2.25rem;
  }

  .tutor-photo-wrap {
    width: 132px;
    height: 132px;
    min-width: 132px;
  }

  .tutor-hero--landing {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .tutor-hero--landing .tutor-photo-wrap {
    width: 104px;
    height: 104px;
    min-width: 104px;
  }

  .tutor-hero--landing .tutor-greeting {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  .tutor-landing-panel > .tutor-cohort-card {
    gap: 20px;
  }

  .tutor-hero-logout {
    position: relative;
    top: auto;
    right: auto;
    justify-self: start;
    order: -1;
  }

  .tutor-welcome-inner,
  .tutor-welcome-identity,
  .tutor-welcome-meta {
    grid-template-columns: 1fr;
  }

  .tutor-welcome-identity {
    display: grid;
    justify-items: start;
    gap: 18px;
  }

  .tutor-welcome-photo {
    width: 96px;
    height: 96px;
    min-width: 96px;
  }

  .tutor-welcome-photo-badge {
    width: 38px;
    height: 38px;
  }

  .tutor-welcome-photo-badge img {
    width: 34px;
    height: 34px;
  }

  .tutor-welcome-meta {
    gap: 14px;
  }

  .session-strip.tutor-session-strip {
    grid-template-columns: 1fr;
  }

  .session-strip.tutor-session-strip .secondary-action {
    justify-self: start;
  }

  .tutor-cohort-first-content {
    padding: 16px;
    border-radius: 18px;
  }

  .tutor-command-hero,
  .tutor-work-awaiting-review,
  .tutor-queue-overview,
  .tutor-learner-search-section,
  .tutor-workflow-filtered-list,
  .teacher-intelligence-brief,
  .tutor-cohort-first-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .tutor-command-hero h1 {
    font-size: 2.35rem;
  }

  .tutor-learner-search-controls {
    grid-template-columns: 1fr;
  }

  .tutor-recognition-modal {
    padding: 18px;
    border-radius: 22px;
  }

  .tutor-recognition-modal header,
  .tutor-recognition-form {
    grid-template-columns: 1fr;
  }

  .tutor-recognition-modal header {
    display: grid;
  }

  .tutor-workflow-summary-panel {
    padding: 18px;
  }

  .tutor-workflow-summary-grid {
    grid-template-columns: 1fr;
  }

  .tutor-workflow-learner-grid {
    grid-template-columns: 1fr;
  }

  .tutor-workflow-card-top {
    grid-template-columns: 1fr;
  }

  .teacher-intelligence-head {
    flex-direction: column;
  }

  .teacher-today-brief {
    gap: 10px;
    padding: 22px 20px;
    border-radius: 20px;
  }

  .teacher-today-brief span {
    font-size: 0.82rem;
  }

  .teacher-today-brief p {
    font-size: 1.12rem;
    line-height: 1.46;
  }

  .teacher-handover-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .teacher-handover-top {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding-right: 0;
  }

  .teacher-handover-photo {
    grid-column: 1;
    grid-row: 1;
  }

  .teacher-handover-identity {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
    padding-right: 86px;
  }

  .teacher-handover-guidance,
  .teacher-handover-avoid {
    grid-column: 1 / -1;
  }

  .teacher-handover-guidance {
    grid-row: 2;
  }

  .teacher-handover-avoid {
    grid-row: 3;
  }

  .teacher-handover-top strong,
  .teacher-handover-top small {
    text-align: left;
  }

  .teacher-handover-top .learner-avatar.teacher-brief {
    width: 92px;
    height: 92px;
    min-width: 92px;
  }

  .teacher-handover-top em {
    top: 14px;
    right: 14px;
  }
}

/* Employer talent pool cards */
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.candidate-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 18px;
  padding: 22px;
  border-radius: 16px;
}

.candidate-card-top {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.candidate-card-top .learner-avatar.large {
  width: 92px;
  height: 92px;
  min-width: 92px;
  border: 4px solid #ffffff;
  outline: 3px solid rgba(242, 182, 50, 0.55);
  box-shadow: 0 10px 22px rgba(15, 35, 63, 0.14);
}

.candidate-card-top h4 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.candidate-meter {
  display: grid;
  gap: 9px;
}

.candidate-meter > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.candidate-meter strong {
  font-size: 1.85rem;
  line-height: 1;
}

.candidate-location-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.candidate-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.candidate-facts div {
  min-height: 76px;
  padding: 12px;
}

.candidate-facts strong {
  font-size: 1rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.candidate-card-footer {
  margin-top: auto;
  justify-content: flex-end;
  gap: 12px;
}

.candidate-card-footer .employer-rag {
  margin-right: auto;
}

.priority-candidate-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(242, 182, 50, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, #0B1F4D, #17366c);
  color: #F2B632;
  font-size: 0.75rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .candidate-grid {
    grid-template-columns: 1fr;
  }

  .candidate-facts,
  .candidate-location-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .candidate-card-top,
  .candidate-facts,
  .candidate-location-stack {
    grid-template-columns: 1fr;
  }

  .candidate-card-footer {
    justify-content: stretch;
  }

  .candidate-card-footer .primary-action,
  .candidate-card-footer .employer-rag {
    width: 100%;
    margin-right: 0;
  }
}

/* Employer Talent Dashboard premium visual polish - CSS-only presentation layer */
.employer-talent-pipeline-page {
  gap: 26px;
  padding: clamp(10px, 1.8vw, 18px);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(244, 248, 252, 0.92), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 12% 0%, rgba(242, 182, 50, 0.12), transparent 28rem);
}

.employer-talent-pipeline-page .employer-dashboard-hero {
  border: 1px solid rgba(242, 182, 50, 0.22);
  box-shadow: 0 24px 52px rgba(11, 31, 77, 0.2);
}

.employer-talent-pipeline-page .employer-pipeline-nav {
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(174, 190, 208, 0.42);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(15, 35, 63, 0.06);
}

.employer-talent-pipeline-page .employer-pipeline-nav .primary-action,
.employer-talent-pipeline-page .employer-pipeline-nav .secondary-action {
  min-height: 44px;
  border-radius: 14px;
  font-weight: 1000;
}

.employer-talent-pipeline-page .talent-pipeline-summary {
  gap: 16px;
}

.employer-talent-pipeline-page .talent-pipeline-summary article {
  position: relative;
  min-height: 148px;
  padding: 22px 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(174, 190, 208, 0.58);
  border-top: 0;
  border-radius: 22px;
  background:
    linear-gradient(145deg, #ffffff 0%, #f7faff 70%, #fff9e8 100%);
  box-shadow: 0 18px 38px rgba(15, 35, 63, 0.1);
}

.employer-talent-pipeline-page .talent-pipeline-summary article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), #ffe08a, var(--blue));
}

.employer-talent-pipeline-page .talent-pipeline-summary span {
  color: #17366c;
  letter-spacing: 0.045em;
}

.employer-talent-pipeline-page .talent-pipeline-summary strong {
  color: var(--navy);
  font-size: clamp(2.05rem, 3.1vw, 2.85rem);
  font-weight: 1000;
  letter-spacing: -0.02em;
}

.employer-talent-pipeline-page .talent-pipeline-summary p {
  color: #5b6b82;
}

.employer-talent-pipeline-page .employer-filter-panel {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(174, 190, 208, 0.62);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.13), transparent 22rem);
  box-shadow: 0 22px 46px rgba(15, 35, 63, 0.12);
}

.employer-talent-pipeline-page .employer-filter-panel::before {
  content: "Employer search controls";
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(242, 182, 50, 0.5);
  border-radius: 999px;
  background: rgba(255, 248, 220, 0.92);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.employer-talent-pipeline-page .employer-filter-grid {
  gap: 14px 16px;
}

.employer-talent-pipeline-page .employer-filter-grid label {
  gap: 8px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.employer-talent-pipeline-page .employer-filter-grid input,
.employer-talent-pipeline-page .employer-filter-grid select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(11, 31, 77, 0.16);
  border-radius: 15px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 850;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(15, 35, 63, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.employer-talent-pipeline-page .employer-filter-grid input::placeholder {
  color: rgba(91, 107, 130, 0.72);
  font-weight: 750;
}

.employer-talent-pipeline-page .employer-filter-grid input:focus,
.employer-talent-pipeline-page .employer-filter-grid select:focus {
  border-color: var(--navy);
  outline: none;
  box-shadow:
    0 0 0 4px rgba(242, 182, 50, 0.22),
    0 12px 24px rgba(15, 35, 63, 0.1);
}

.employer-talent-pipeline-page .quick-filter-row {
  gap: 10px;
  margin-top: 0;
  padding-top: 4px;
}

.employer-talent-pipeline-page .quick-filter-row .secondary-action {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(11, 31, 77, 0.28);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(15, 35, 63, 0.06);
}

.employer-talent-pipeline-page .quick-filter-row .secondary-action:hover,
.employer-talent-pipeline-page .quick-filter-row .secondary-action:focus-visible {
  border-color: rgba(242, 182, 50, 0.84);
  background: #fff8dc;
  box-shadow: 0 12px 24px rgba(15, 35, 63, 0.12);
  transform: translateY(-1px);
}

.employer-talent-pipeline-page .quick-filter-row .secondary-action.active-filter {
  border-color: #bd850e !important;
  background: linear-gradient(135deg, #f2b632, #ffe08a) !important;
  color: var(--navy) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.46),
    0 14px 26px rgba(174, 118, 0, 0.2);
}

.employer-talent-pipeline-page .active-filter-summary {
  width: fit-content;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(174, 190, 208, 0.48);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: #17366c;
}

.employer-talent-pipeline-page .talent-pipeline-table-card {
  gap: 18px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(174, 190, 208, 0.6);
  border-radius: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 22px 48px rgba(15, 35, 63, 0.11);
}

.employer-talent-pipeline-page .talent-pipeline-table-card > .panel-head {
  position: relative;
  padding: 18px 20px 18px 24px;
  overflow: hidden;
  border: 1px solid rgba(242, 182, 50, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 248, 220, 0.78), rgba(255, 255, 255, 0.96));
}

.employer-talent-pipeline-page .talent-pipeline-table-card > .panel-head::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: var(--gold);
}

.employer-talent-pipeline-page .talent-pipeline-table-card > .panel-head h4 {
  margin: 2px 0 5px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 1000;
}

.employer-talent-pipeline-page .talent-pipeline-table-card > .panel-head p:last-child {
  color: #5b6b82;
  font-weight: 800;
}

.employer-panel .professional-league-panel {
  border: 1px solid rgba(174, 190, 208, 0.6);
  border-radius: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 22px 48px rgba(15, 35, 63, 0.11);
}

.employer-panel .professional-league-head {
  position: relative;
  overflow: hidden;
  border-color: rgba(242, 182, 50, 0.3);
  background: linear-gradient(135deg, rgba(255, 248, 220, 0.84), rgba(255, 255, 255, 0.96));
}

.employer-panel .professional-league-head::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: var(--gold);
}

.employer-panel .professional-league-head h4 {
  color: var(--navy);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 1000;
}

@media (max-width: 980px) {
  .employer-talent-pipeline-page .talent-pipeline-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employer-talent-pipeline-page .employer-filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .employer-talent-pipeline-page {
    padding: 8px;
    border-radius: 20px;
  }

  .employer-talent-pipeline-page .talent-pipeline-summary {
    grid-template-columns: 1fr;
  }

  .employer-talent-pipeline-page .quick-filter-row .secondary-action {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .league-page-header {
    grid-template-columns: 1fr;
  }

  .league-row-card,
  .league-row-card.empty-position {
    grid-template-columns: 92px 108px minmax(0, 1fr);
  }

  .league-row-score {
    grid-column: 3;
  }

  .league-row-action {
    grid-column: 3;
    justify-self: start;
  }

  .league-row-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .league-podium-grid,
  .league-card-list {
    grid-template-columns: 1fr;
  }

  .podium-card .learner-avatar.large {
    width: 116px;
    height: 116px;
    min-width: 116px;
  }

  .professional-league-row {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 180px;
  }

  .professional-league-row .league-score,
  .professional-league-row .league-metrics,
  .professional-league-row .league-zone,
  .professional-league-row .secondary-action {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .learner-league-page {
    gap: 14px;
  }

  .league-page-header {
    padding: 18px;
  }

  .sports-league-table {
    min-width: 1040px;
  }

  .sports-league-table th,
  .sports-league-table td {
    padding: 12px 10px;
    font-size: 0.82rem;
  }

  .league-row-card,
  .league-row-card.empty-position {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    min-height: 0;
    padding: 18px;
  }

  .league-row-rank {
    width: auto;
    min-width: 76px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.1rem;
  }

  .league-row-card > .learner-avatar {
    width: 88px;
    height: 88px;
    min-width: 88px;
  }

  .league-row-score {
    grid-column: auto;
    width: 100%;
  }

  .league-row-metrics {
    grid-template-columns: 1fr;
  }

  .league-row-action {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .league-card-top {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .league-card-top .league-readiness-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .league-card-score {
    grid-template-columns: 1fr;
  }

  .professional-league-card,
  .professional-league-row {
    grid-template-columns: 1fr;
  }

  .professional-league-row .league-score,
  .professional-league-row .league-metrics,
  .professional-league-row .league-zone,
  .professional-league-row .secondary-action {
    grid-column: auto;
  }

  .league-rank {
    width: 64px;
    height: 54px;
    border-radius: 16px;
  }

  .league-identity {
    align-items: flex-start;
  }

  .league-identity .learner-avatar {
    width: 88px;
    height: 88px;
    min-width: 88px;
  }

  .professional-league-panel {
    padding: 16px;
  }

  .professional-league-head,
  .league-distribution {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .professional-league-table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }

  .professional-league-table,
  .professional-league-table thead,
  .professional-league-table tbody,
  .professional-league-table tr,
  .professional-league-table th,
  .professional-league-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .professional-league-table {
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .professional-league-table thead {
    display: none;
  }

  .professional-league-table-row {
    padding: 14px;
    border: 1px solid #e1e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 35, 63, 0.06);
  }

  .professional-league-table td {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    text-align: right;
  }

  .professional-league-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 1000;
    text-align: left;
    text-transform: uppercase;
  }

  .professional-league-table td:last-child {
    border-bottom: 0;
  }

  .league-table-learner {
    justify-content: flex-end;
    text-align: left;
  }

  .league-overall-cell {
    justify-items: end;
    min-width: 170px;
  }

  .league-distribution-bars {
    min-width: 0;
    width: 100%;
  }

  .league-distribution-bars article {
    grid-template-columns: 94px minmax(0, 1fr) 32px;
  }

  .league-quick-stats {
    grid-template-columns: 1fr;
  }
}

.premium-passport-page {
  max-width: 1280px;
  margin: 0 auto;
  gap: 22px;
  padding: 4px 0 30px;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 42%);
}

.passport-brand-strip {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 18px 22px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 35, 75, 0.08);
}

.passport-brand-strip img {
  width: min(280px, 34vw);
  max-height: 72px;
  object-fit: contain;
}

.passport-hero {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) minmax(190px, 0.28fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(11, 31, 77, 0.96), rgba(18, 64, 139, 0.94)),
    var(--navy);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(11, 31, 77, 0.28);
}

.passport-hero-photo {
  display: grid;
  place-items: center;
}

.passport-hero-photo .learner-avatar.large {
  width: 220px;
  height: 220px;
  min-width: 220px;
  border: 7px solid var(--gold);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(255, 255, 255, 0.12);
  font-size: 2.3rem;
}

.passport-hero-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.passport-hero-main .eyebrow {
  color: var(--gold);
}

.passport-hero-main h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.passport-hero-main > strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.passport-identity-list,
.passport-hero-actions,
.passport-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.passport-identity-list span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
}

.passport-hero-actions {
  display: grid;
}

.passport-hero-actions .primary-action,
.passport-hero-actions .secondary-action {
  width: 100%;
  justify-content: center;
  min-height: 46px;
}

.passport-hero-actions .primary-action {
  background: var(--gold);
  color: var(--navy);
}

.passport-readiness-panel,
.passport-card {
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(15, 35, 75, 0.08);
}

.passport-readiness-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
}

.readiness-score-block {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 26px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy), #173f87);
  color: #ffffff;
}

.readiness-score-block span,
.readiness-score-block em,
.passport-section-heading .eyebrow,
.passport-snapshot-grid span,
.passport-behaviour-grid span,
.passport-evidence-card span,
.passport-check-grid span {
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.readiness-score-block span,
.readiness-score-block em {
  color: rgba(255, 255, 255, 0.78);
}

.readiness-score-block strong {
  color: var(--gold);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.9;
}

.readiness-metric-list,
.passport-snapshot-grid,
.passport-behaviour-grid,
.passport-check-grid,
.passport-evidence-grid,
.milestone-list {
  display: grid;
  gap: 14px;
}

.readiness-metric-list {
  align-content: center;
}

.readiness-metric-list article {
  display: grid;
  gap: 9px;
}

.readiness-metric-list article > div:first-child,
.passport-section-heading,
.phase-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.readiness-metric-list span,
.passport-snapshot-grid span,
.passport-behaviour-grid span,
.passport-check-grid span,
.passport-evidence-card span {
  color: var(--muted);
}

.readiness-metric-list strong {
  color: var(--navy);
}

.passport-progress {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ecf3;
}

.passport-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18a558, #56c27d);
}

.passport-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.passport-card > p {
  margin: 0;
  color: #40536a;
  font-size: 1.02rem;
  line-height: 1.7;
}

.passport-section-heading {
  align-items: end;
}

.passport-section-heading h4 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.passport-section-heading .eyebrow {
  margin: 0 0 4px;
  color: var(--gold-dark);
}

.passport-snapshot-grid,
.passport-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.passport-snapshot-grid article,
.passport-behaviour-grid article,
.passport-check-grid article,
.milestone-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 14px;
  background: #f8fbff;
}

.passport-snapshot-grid strong,
.passport-behaviour-grid strong {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.passport-snapshot-grid em,
.passport-behaviour-grid em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.passport-evidence-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.passport-evidence-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.passport-evidence-card h5 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 1.1rem;
}

.passport-evidence-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.evidence-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.evidence-card-meta strong,
.passport-muted-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
}

.passport-behaviour-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.passport-testimonial {
  background: linear-gradient(145deg, #ffffff, #fffaf0);
}

.passport-testimonial blockquote {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 850;
  line-height: 1.35;
}

.testimonial-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tutor-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
}

.testimonial-author strong,
.testimonial-author span {
  display: block;
}

.testimonial-author strong {
  color: var(--navy);
}

.testimonial-author span {
  color: var(--muted);
  font-size: 0.88rem;
}

.passport-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.passport-pill-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #def8e8;
  color: #0b6b35;
  font-size: 0.86rem;
  font-weight: 900;
}

.passport-pill-list.development span {
  background: #fff2c7;
  color: #8a5b00;
}

.passport-check-grid article em {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
}

.passport-check-grid article em.green {
  background: #def8e8;
  color: #0b6b35;
}

.passport-check-grid article em.amber,
.passport-check-grid article em.neutral {
  background: #fff2c7;
  color: #8a5b00;
}

.passport-check-grid article em.red {
  background: #ffe0e0;
  color: #9b1c1c;
}

.milestone-list article {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.milestone-list span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

.milestone-list strong {
  color: var(--navy);
  font-size: 1rem;
}

@media (max-width: 1080px) {
  .passport-hero,
  .passport-readiness-panel {
    grid-template-columns: 1fr;
  }

  .passport-hero-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .passport-snapshot-grid,
  .passport-behaviour-grid,
  .passport-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .passport-brand-strip,
  .passport-hero,
  .passport-two-column,
  .passport-snapshot-grid,
  .passport-behaviour-grid,
  .passport-check-grid,
  .passport-hero-actions {
    grid-template-columns: 1fr;
  }

  .passport-brand-strip img {
    width: min(240px, 100%);
  }

  .passport-hero {
    padding: 22px;
  }

  .passport-hero-photo .learner-avatar.large {
    width: 170px;
    height: 170px;
    min-width: 170px;
  }
}

/* End of day daily standard marking */
.daily-standard-page {
  display: grid;
  gap: 20px;
}

.daily-wizard-hero,
.daily-wizard-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 35, 63, 0.08);
}

.daily-wizard-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: linear-gradient(135deg, #0B1F4D, #15366f);
  color: #ffffff;
}

.daily-wizard-hero h3,
.daily-wizard-hero p {
  margin: 0;
}

.daily-wizard-hero .eyebrow {
  color: var(--gold);
}

.daily-register-header {
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(216, 154, 19, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 94% 8%, rgba(242, 182, 50, 0.12), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
  box-shadow:
    0 16px 34px rgba(11, 31, 77, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.daily-register-title-block {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.daily-register-step-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  margin: 0;
  padding: 6px 11px;
  border: 1px solid rgba(216, 154, 19, 0.34);
  border-radius: 999px;
  background: #fff8e7;
  color: #9a6505;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.daily-register-header h4 {
  margin: 0;
  color: #071b4d;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
  font-weight: 1000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
}

.daily-register-meta-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.daily-register-meta-chips span {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(216, 154, 19, 0.26);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(216, 154, 19, 0.18), rgba(216, 154, 19, 0) 42%) border-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9)) padding-box;
  color: #4b5d76;
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(216, 154, 19, 0.08),
    0 9px 18px rgba(11, 31, 77, 0.07);
}

.daily-register-meta-chips span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe28a, #d89a13);
  box-shadow: 0 0 0 3px rgba(216, 154, 19, 0.1);
}

.daily-register-meta-chips b {
  margin-right: 5px;
  color: #071b4d;
  font-weight: 1000;
  letter-spacing: 0.01em;
}

.daily-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.daily-step {
  display: flex;
  min-height: 64px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.daily-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf1f5;
  color: var(--navy);
}

.daily-step.active {
  border-color: var(--gold);
  background: #fff8df;
  color: var(--navy);
}

.daily-step.active span,
.daily-step.complete span {
  background: var(--gold);
  color: var(--navy);
}

.daily-step.complete {
  border-color: rgba(24, 165, 88, 0.28);
  background: #f0fbf5;
  color: #12633a;
}

.daily-select-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.daily-select-grid label,
.daily-register-date-field,
.late-minutes-field,
.attendance-notes-field,
.daily-comment-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-select-grid input,
.daily-select-grid select,
.daily-register-date-field input,
.late-minutes-field input,
.attendance-notes-field input,
.daily-comment-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.daily-start-button {
  justify-self: start;
}

.daily-register-start-area {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.daily-register-date-field {
  min-width: 220px;
}

.attendance-register-list,
.daily-marking-queue {
  display: grid;
  gap: 20px;
}

.attendance-register-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(92px, 1fr)) repeat(2, minmax(92px, 1fr)) minmax(100px, 0.8fr);
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%),
    #ffffff;
  box-shadow: 0 10px 22px rgba(11, 31, 77, 0.07);
}

.attendance-register-main {
  display: contents;
}

.attendance-button-group {
  display: contents;
}

.attendance-button {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  place-items: center;
  width: 100%;
  min-width: 0;
  height: 58px;
  min-height: 58px;
  border: 2px solid rgba(245, 180, 27, 0.42);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 236, 1) 0%, rgba(255, 255, 255, 0.98) 78%),
    #ffffff;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 10px 20px rgba(15, 35, 63, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.attendance-button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #f8d36b, #f2b632);
  opacity: 0.9;
}

.attendance-button::after {
  content: none;
  display: none !important;
  width: 0;
  height: 0;
  border: 0;
  background: none;
}

.attendance-button strong {
  position: relative;
  z-index: 1;
  font-size: 0.98rem;
  font-weight: 1000;
  letter-spacing: 0.01em;
}

.attendance-button:hover,
.attendance-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(242, 182, 50, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 244, 207, 1), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 12px 24px rgba(15, 35, 63, 0.13);
  outline: 3px solid rgba(245, 180, 27, 0.18);
  outline-offset: 2px;
}

.attendance-button.active {
  border-color: #d79a05;
  color: var(--navy);
  background:
    linear-gradient(180deg, #fff0ba 0%, #ffe19a 100%),
    #ffe19a;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.52), inset 0 0 0 5px rgba(245, 180, 27, 0.22), 0 14px 28px rgba(15, 35, 63, 0.16);
}

.attendance-button.active::before {
  width: 7px;
  background: linear-gradient(180deg, #ffdf73, #b77b00);
  opacity: 1;
}

.attendance-button.active::after {
  content: none;
  display: none !important;
  width: 0;
  height: 0;
  border: 0;
  background: none;
}

.attendance-button.present.active {
  background: linear-gradient(180deg, #ebfff3, #cdefdc);
  color: #12633a;
}

.attendance-button.late.active {
  background: linear-gradient(180deg, #fff2bf, #ffdc84);
  color: #8a5a00;
}

.attendance-button.absent.active {
  background: linear-gradient(180deg, #fff0f0, #ffcaca);
  color: #9b1c1c;
}

.attendance-button.authorised-absence.active {
  background: linear-gradient(180deg, #f1f6ff, #d8e7ff);
  color: #173f8a;
}

.attendance-score-block {
  display: contents;
}

.attendance-score-summary {
  display: contents;
}

.attendance-score-item {
  display: grid;
  place-items: center;
  gap: 2px;
  height: 58px;
  min-width: 0;
  padding: 6px 5px;
  border: 2px solid rgba(245, 180, 27, 0.34);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf0, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 8px 16px rgba(15, 35, 63, 0.05);
}

.attendance-detail-drawer {
  min-width: 0;
  align-self: stretch;
}

.attendance-detail-drawer summary,
.school-readonly-detail-action button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 58px;
  padding: 6px 8px;
  border: 2px solid rgba(245, 180, 27, 0.3);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 250, 236, 1), rgba(255, 255, 255, 0.96));
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 1000;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(15, 35, 63, 0.05);
}

.attendance-detail-drawer[open] {
  grid-column: 1 / -1;
}

.attendance-detail-drawer[open] summary {
  max-width: 180px;
  margin-left: auto;
}

.attendance-validation-panel {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(138, 100, 15, 0.16);
}

.attendance-validation-panel p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  color: rgba(11, 31, 77, 0.72);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
}

.attendance-validation-panel p span {
  color: rgba(11, 31, 77, 0.58);
  font-size: inherit;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.attendance-validation-panel p strong {
  color: var(--navy);
  font-size: inherit;
  font-weight: 1000;
  text-align: right;
}

.employment-readiness-preview-panel {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(11, 31, 77, 0.14);
}

.employment-readiness-preview-panel h5,
.employment-readiness-preview-panel p {
  margin: 0;
}

.employment-readiness-preview-panel h5 {
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.employment-readiness-preview-panel p,
.preview-breakdown p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  color: rgba(11, 31, 77, 0.72);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
}

.employment-readiness-preview-panel p span,
.preview-breakdown p span {
  color: rgba(11, 31, 77, 0.58);
  font-size: inherit;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.employment-readiness-preview-panel p strong,
.preview-breakdown p strong {
  color: var(--navy);
  font-size: inherit;
  font-weight: 1000;
  text-align: right;
}

.employment-readiness-preview-panel .preview-warning {
  display: block;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 249, 231, 0.9);
  color: #8a5a00;
  font-size: 0.6rem;
  font-weight: 900;
  text-align: left;
}

.professionalism-placeholder-panel {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.88);
}

.professionalism-placeholder-panel strong {
  color: var(--navy);
  font-size: 0.64rem;
  font-weight: 1000;
  line-height: 1.25;
}

.professionalism-placeholder-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 3px 8px;
  margin: 0;
  padding-left: 14px;
}

.professionalism-placeholder-panel li,
.professionalism-placeholder-panel p {
  margin: 0;
  color: rgba(11, 31, 77, 0.66);
  font-size: 0.6rem;
  font-weight: 850;
  line-height: 1.2;
}

.attendance-score-block span {
  color: #8a640f;
  font-size: 0.52rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.attendance-score-block strong {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 1000;
}

.daily-register-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.attendance-success-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(24, 165, 88, 0.22);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(240, 251, 245, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: 0 18px 42px rgba(11, 31, 77, 0.08);
}

.attendance-success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(24, 165, 88, 0.22);
  border-radius: 999px;
  background: #dff8eb;
  color: #12633a;
  font-size: 1.55rem;
  font-weight: 1000;
  box-shadow: 0 12px 24px rgba(24, 165, 88, 0.16);
}

.attendance-success-hero h4,
.attendance-success-hero p {
  margin: 0;
}

.attendance-success-hero h4 {
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 1000;
  line-height: 1.05;
}

.attendance-success-hero p:not(.eyebrow) {
  margin-top: 8px;
  color: #4f6078;
  font-weight: 800;
}

.daily-review-summary {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.daily-review-summary.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.daily-review-summary div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
}

.daily-review-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-review-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.daily-register-footer .daily-review-summary.compact div {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(216, 154, 19, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 92% 0%, rgba(242, 182, 50, 0.16), transparent 6rem),
    linear-gradient(135deg, #123d73 0%, #071b4d 100%);
  box-shadow:
    0 14px 28px rgba(7, 27, 77, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(216, 154, 19, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.daily-register-footer .daily-review-summary.compact div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ffe28a, #d89a13);
  opacity: 0.9;
}

.daily-register-footer .daily-review-summary.compact div:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 182, 50, 0.9);
  box-shadow:
    0 18px 34px rgba(7, 27, 77, 0.24),
    0 0 0 3px rgba(216, 154, 19, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(242, 182, 50, 0.24);
}

.daily-register-footer .daily-review-summary.compact span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.daily-register-footer .daily-review-summary.compact strong {
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.45rem);
  font-weight: 1000;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
}

.attendance-save-summary {
  gap: 12px;
}

.attendance-save-summary div {
  display: grid;
  min-height: 112px;
  align-content: center;
  border-color: rgba(11, 31, 77, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 10px 24px rgba(11, 31, 77, 0.06);
}

.attendance-save-summary span {
  color: #71809a;
  letter-spacing: 0.08em;
}

.attendance-save-summary strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 1000;
}

.attendance-save-summary .text-card {
  grid-column: span 2;
  justify-content: start;
}

.attendance-save-summary .text-card strong {
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.2;
}

.daily-register-diagnostic {
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.78rem;
  box-shadow: none;
}

.daily-register-diagnostic strong {
  color: var(--navy);
  font-size: 0.8rem;
}

.daily-register-diagnostic p {
  margin: 4px 0 0;
  color: #5d6e86;
}

.attendance-save-actions {
  grid-template-columns: auto auto;
  justify-content: end;
  gap: 12px;
}

.attendance-save-actions .primary-action,
.attendance-save-actions .secondary-action {
  min-height: 50px;
  min-width: 210px;
}

.daily-marking-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fbfdff;
}

.daily-marking-card.confirmed {
  border-color: rgba(24, 165, 88, 0.4);
  background: #f3fbf6;
}

.daily-marking-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.attendance-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf1f5;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
}

.attendance-pill.present {
  background: #e8f8ef;
  color: #12633a;
}

.attendance-pill.late {
  background: #fff4cf;
  color: #7a5600;
}

.daily-grade-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.daily-grade-row {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 16px;
  background: #ffffff;
}

.daily-grade-row > span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.daily-grade-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.daily-grade-button {
  min-height: 44px;
  border: 1px solid #d6deea;
  border-radius: 12px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.daily-grade-button.bronze.active {
  border-color: #c47a3c;
  background: #f6dcc6;
  color: #744014;
}

.daily-grade-button.silver.active {
  border-color: #b9c5d1;
  background: #eef2f6;
  color: #3e5165;
}

.daily-grade-button.gold.active {
  border-color: #e4b62d;
  background: #fff2bd;
  color: #7a5600;
}

.safety-concern-check {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--navy);
  font-weight: 900;
}

.daily-comment-field textarea {
  min-height: 96px;
  resize: vertical;
}

.daily-card-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.success-panel {
  padding: 18px;
  border: 1px solid rgba(24, 165, 88, 0.28);
  border-radius: 16px;
  background: #f0fbf5;
  color: #12633a;
}

.daily-single-card,
.daily-cohort-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 35, 63, 0.08);
}

.daily-standard-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.daily-standard-fields label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-standard-fields input,
.daily-standard-fields select,
.daily-standard-fields textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.daily-standard-fields select {
  font-weight: 900;
}

.daily-standard-fields textarea {
  min-height: 92px;
  resize: vertical;
}

.daily-field-wide {
  grid-column: span 2;
}

.daily-result-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  background: #f7f9fc;
}

.daily-result-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-result-card strong {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.daily-result-card p {
  margin: 0;
  color: var(--ink);
}

.daily-result-card.gold {
  border-left: 7px solid #F2B632;
  background: #fff9e8;
}

.daily-result-card.silver {
  border-left: 7px solid #b9c5d1;
  background: #f7f9fc;
}

.daily-result-card.bronze {
  border-left: 7px solid #c47a3c;
  background: #fff5ed;
}

.daily-result-card.not-assessed {
  border-left: 7px solid #d3dae2;
}

.daily-cohort-list {
  display: grid;
  gap: 14px;
}

.daily-cohort-row {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.daily-cohort-identity {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  padding: 7px 10px;
  border: 1px solid rgba(245, 180, 27, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 8px 18px rgba(11, 31, 77, 0.05);
}

.attendance-register-row .daily-cohort-identity .learner-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-width: 2px;
  box-shadow: 0 8px 18px rgba(11, 31, 77, 0.1);
}

.daily-cohort-identity h4,
.daily-cohort-identity p {
  margin: 0;
}

.daily-learner-copy {
  min-width: 0;
}

.attendance-register-row .daily-cohort-identity h4 {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 1000;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.attendance-register-row .daily-cohort-identity p {
  margin-top: 3px;
  color: #8a640f;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.daily-cohort-row .daily-standard-fields {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.daily-cohort-row .daily-field-wide {
  grid-column: span 5;
}

@media (max-width: 1100px) {
  .daily-stepper,
  .daily-select-grid,
  .daily-review-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attendance-save-summary .text-card {
    grid-column: span 1;
  }

  .attendance-register-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .attendance-register-row .daily-cohort-identity {
    grid-column: 1 / -1;
  }

  .attendance-button,
  .attendance-score-item,
  .attendance-detail-drawer summary,
  .school-readonly-detail-action button {
    height: 54px;
    min-height: 54px;
  }

  .attendance-detail-drawer {
    grid-column: span 2;
  }

  .daily-standard-fields,
  .daily-cohort-row .daily-standard-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .daily-field-wide,
  .daily-cohort-row .daily-field-wide {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .daily-wizard-hero,
  .daily-register-footer,
  .attendance-success-hero,
  .daily-marking-top,
  .daily-card-actions {
    grid-template-columns: 1fr;
  }

  .daily-stepper,
  .daily-select-grid,
  .daily-grade-grid,
  .daily-grade-buttons,
  .daily-review-summary,
  .daily-review-summary.compact {
    grid-template-columns: 1fr;
  }

  .attendance-button-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attendance-register-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attendance-register-row .daily-cohort-identity,
  .attendance-detail-drawer,
  .attendance-detail-drawer[open] {
    grid-column: 1 / -1;
  }

  .attendance-detail-drawer[open] summary {
    max-width: none;
    margin-left: 0;
  }

  .daily-register-start-area,
  .daily-register-date-field,
  .daily-register-start-area .primary-action {
    width: 100%;
  }

  .professionalism-placeholder-panel ul {
    grid-template-columns: 1fr;
  }

  .attendance-save-summary .text-card strong {
    font-size: 1rem;
  }

  .attendance-save-actions {
    justify-content: stretch;
  }

  .attendance-save-actions .primary-action,
  .attendance-save-actions .secondary-action {
    width: 100%;
    min-width: 0;
  }

  .daily-wizard-hero,
  .daily-wizard-panel {
    padding: 18px;
  }

  .daily-step {
    min-height: 54px;
  }

  .daily-standard-fields,
  .daily-cohort-row .daily-standard-fields {
    grid-template-columns: 1fr;
  }

  .daily-field-wide,
  .daily-cohort-row .daily-field-wide {
    grid-column: span 1;
  }
}

/* Tutor Daily Attendance Register — presentation-only alignment with the
   approved premium Tutor landing screen. Workflow selectors remain unchanged. */
body:has(.daily-wizard-page) .app-shell { --portal-header-inline:max(var(--shell-pad),calc((100vw - 1500px) / 2 + var(--shell-pad))); }
body:has(.daily-wizard-page) .app-shell { width: min(100%, 1500px); }
body:has(.daily-wizard-page) :is(.tutor-welcome-card, .tutor-shell, .tutor-signoff-layout, #tutorSignoffPanel, .daily-standard-page) { width: 100%; max-width: none; }
body:has(.daily-wizard-page) .view { margin-top: 14px; }
body:has(.daily-wizard-page) .tutor-signoff-layout { gap: 14px; }
body:has(.daily-wizard-page) .signoff-queue { display: flex; justify-content: flex-start; }
body:has(.daily-wizard-page) .tutor-back-dashboard {
  min-height: 44px; padding: 10px 16px; border: 1px solid rgba(216,154,19,.54);
  border-radius: 12px; background: #fff; color: #071b4d; font-size: .84rem;
  font-weight: 900; box-shadow: 0 8px 18px rgba(7,27,77,.07);
}
body:has(.daily-wizard-page) .tutor-back-dashboard:is(:hover, :focus-visible) {
  border-color: #d89a13; outline: 3px solid rgba(216,154,19,.16); outline-offset: 2px; background: #fffaf0;
}
body:has(.daily-wizard-page) .tutor-hero {
  grid-template-columns: auto minmax(0,1fr) minmax(220px,270px); gap: clamp(20px,2.4vw,32px);
  min-height: 238px; padding: 30px 36px; border-color: rgba(216,154,19,.58); border-radius: 20px;
  background: radial-gradient(circle at 88% 12%,rgba(72,139,210,.2),transparent 30%), linear-gradient(135deg,#071b4d 0%,#0b2f67 68%,#071b4d 100%);
  box-shadow: 0 20px 42px rgba(7,27,77,.2);
}
body:has(.daily-wizard-page) .tutor-hero::before { opacity: 0; }
body:has(.daily-wizard-page) .tutor-photo-wrap {
  width: 126px; height: 126px; min-width: 126px; border-width: 4px;
  box-shadow: 0 18px 34px rgba(0,0,0,.22), 0 0 0 3px rgba(242,182,50,.58), 0 0 0 8px rgba(49,111,177,.12);
}
body:has(.daily-wizard-page) .tutor-photo-fallback { font-size: 1.7rem; }
body:has(.daily-wizard-page) .tutor-hero-copy { gap: 6px; }
body:has(.daily-wizard-page) .tutor-greeting { font-size: clamp(2rem,3.2vw,3.1rem); line-height: 1.04; letter-spacing: -.025em; }
body:has(.daily-wizard-page) .tutor-hero-ready { margin-top: 4px !important; }
body:has(.daily-wizard-page) :is(.tutor-hero-ready strong, .tutor-hero-unlock) { font-size: .9rem; }
body:has(.daily-wizard-page) .tutor-hero-command-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
body:has(.daily-wizard-page) .tutor-hero .tutor-hero-command-actions .primary-action {
  min-width: 0; min-height: 42px; padding: 9px 13px; border-radius: 11px; font-size: .78rem; font-weight: 900;
}
@media (min-width: 1041px) {
  body:has(.daily-wizard-page) .tutor-hero-command-actions .primary-action {
    flex: 1 1 calc(25% - 6px);
    max-width: calc(25% - 6px);
    white-space: normal;
  }
}
body:has(.daily-wizard-page) .tutor-hero-meta-card { min-width: 0; gap: 9px; padding: 15px; border-radius: 16px; }
body:has(.daily-wizard-page) .tutor-hero-time strong { font-size: clamp(1.5rem,2vw,2rem); }
body:has(.daily-wizard-page) .daily-wizard-page {
  gap: 14px; padding: clamp(12px,1.5vw,20px); border: 1px solid rgba(27,65,109,.09);
  border-radius: 20px; background: #eef3f8; color: #173253; box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
body:has(.daily-wizard-page) :is(.daily-wizard-hero, .daily-wizard-panel) {
  gap: 14px; padding: clamp(18px,2vw,26px); border: 1px solid rgba(27,65,109,.14);
  border-radius: 16px; background: #fff; color: #173253; box-shadow: 0 8px 24px rgba(13,42,80,.065);
}
body:has(.daily-wizard-page) .daily-wizard-hero { grid-template-columns: minmax(0,1fr) auto; align-items: center; }
body:has(.daily-wizard-page) .daily-wizard-hero .eyebrow { color: #9a6505; }
body:has(.daily-wizard-page) .daily-wizard-hero h3 { margin-top: 4px; color: #071b4d; font-size: clamp(1.65rem,2.6vw,2.35rem); line-height: 1.08; }
body:has(.daily-wizard-page) .daily-wizard-hero p:not(.eyebrow) { margin-top: 7px; color: #64748b; font-size: .92rem; font-weight: 700; }
body:has(.daily-wizard-page) :is(.daily-wizard-hero .secondary-action, .setup-action-grid .secondary-action, .daily-register-footer .primary-action) {
  min-height: 44px; border-radius: 11px; font-size: .82rem; font-weight: 900;
}
body:has(.daily-wizard-page) .daily-stepper { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
body:has(.daily-wizard-page) .daily-step {
  min-height: 54px; padding: 10px 12px; border-color: rgba(27,65,109,.14); border-radius: 13px; box-shadow: 0 5px 14px rgba(13,42,80,.04);
}
body:has(.daily-wizard-page) .daily-step.active { border-color: rgba(216,154,19,.52); background: #fffaf0; }
body:has(.daily-wizard-page) .daily-register-header {
  padding: 0 0 16px; border: 0; border-bottom: 1px solid rgba(27,65,109,.12); border-radius: 0; background: transparent; box-shadow: none;
}
body:has(.daily-wizard-page) .daily-register-meta-chips span {
  min-height: 32px; padding: 7px 11px; border-color: rgba(27,65,109,.13); background: #f6f9fc; box-shadow: none;
}
body:has(.daily-wizard-page) .attendance-register-list { gap: 10px; }
body:has(.daily-wizard-page) .attendance-register-row {
  padding: 10px; border-color: rgba(27,65,109,.13); border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(13,42,80,.05);
}
body:has(.daily-wizard-page) :is(.daily-cohort-identity, .attendance-button, .attendance-score-item, .attendance-detail-drawer summary) {
  border-radius: 11px; box-shadow: none;
}
body:has(.daily-wizard-page) .daily-cohort-identity { border-color: rgba(27,65,109,.11); background: #f7f9fc; }
body:has(.daily-wizard-page) :is(.attendance-button, .attendance-score-item, .attendance-detail-drawer summary) {
  height: 52px; min-height: 52px; border-width: 1px; border-color: rgba(216,154,19,.28); background: #fff;
}
body:has(.daily-wizard-page) .attendance-button:is(:hover, :focus-visible) {
  border-color: #d89a13; outline: 3px solid rgba(216,154,19,.14); outline-offset: 2px; background: #fffaf0; box-shadow: none; transform: none;
}
body:has(.daily-wizard-page) .attendance-button.active { border-color: #d89a13; box-shadow: inset 3px 0 0 #d89a13; }
body:has(.daily-wizard-page) .daily-register-footer { gap: 12px; padding-top: 4px; }
body:has(.daily-wizard-page) .daily-register-footer .daily-review-summary.compact div {
  padding: 12px; border: 1px solid rgba(27,65,109,.13); border-radius: 12px; background: #f6f9fc; box-shadow: none;
}
body:has(.daily-wizard-page) .daily-register-footer .daily-review-summary.compact div::before { height: 2px; }
body:has(.daily-wizard-page) .daily-register-footer .daily-review-summary.compact div:hover { transform: none; border-color: rgba(216,154,19,.48); box-shadow: none; }
body:has(.daily-wizard-page) .daily-register-footer .daily-review-summary.compact span { color: #64748b; font-size: .68rem; }
body:has(.daily-wizard-page) .daily-register-footer .daily-review-summary.compact strong { color: #071b4d; font-size: clamp(1.55rem,2.3vw,2rem); text-shadow: none; }
body:has(.daily-wizard-page) .daily-register-diagnostic { border: 1px solid rgba(27,65,109,.12); background: #f7f9fc; }
@media (max-width: 1040px) {
  body:has(.daily-wizard-page) .tutor-hero { grid-template-columns: auto minmax(0,1fr); min-height: 0; }
  body:has(.daily-wizard-page) .tutor-hero-meta-card { grid-column: 1 / -1; grid-template-columns: repeat(3,minmax(0,1fr)); }
  body:has(.daily-wizard-page) .attendance-register-row { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  body:has(.daily-wizard-page) .app-shell { --shell-pad: 10px; }
  body:has(.daily-wizard-page) .tutor-hero { grid-template-columns: 1fr; gap: 16px; padding: 22px 18px; }
  body:has(.daily-wizard-page) .tutor-photo-wrap { width: 92px; height: 92px; min-width: 92px; }
  body:has(.daily-wizard-page) .tutor-greeting { font-size: clamp(1.7rem,9vw,2.35rem); }
  body:has(.daily-wizard-page) .tutor-hero-meta-card { grid-column: auto; grid-template-columns: 1fr; }
  body:has(.daily-wizard-page) .tutor-hero-command-actions .primary-action { flex: 1 1 145px; }
  body:has(.daily-wizard-page) .daily-wizard-page { padding: 8px; border-radius: 14px; }
  body:has(.daily-wizard-page) :is(.daily-wizard-hero, .daily-wizard-panel) { padding: 16px; border-radius: 13px; }
  body:has(.daily-wizard-page) :is(.daily-stepper, .daily-wizard-hero, .daily-register-footer) { grid-template-columns: 1fr; }
  body:has(.daily-wizard-page) .attendance-register-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body:has(.daily-wizard-page) .daily-register-meta-chips { display: grid; grid-template-columns: 1fr; }
  body:has(.daily-wizard-page) :is(.daily-register-meta-chips span, .daily-register-footer .primary-action) { width: 100%; }
}

/* Tutor and School Attendance Register — Admin Dashboard design-system alignment.
   Presentation only: existing workflow selectors and event contracts are unchanged. */
body:has(.daily-wizard-page),
body:has(.school-daily-register) {
  --attendance-premium-navy: #061842;
  --attendance-premium-ink: #071b46;
  --attendance-premium-gold: #dba51d;
  --attendance-premium-gold-soft: rgba(219,165,29,.2);
  --attendance-premium-muted: #5e6d82;
  --attendance-premium-canvas: #eef4fb;
  --attendance-premium-surface: #fff;
  --attendance-premium-line: rgba(7,27,70,.11);
  --attendance-premium-shadow: 0 14px 34px rgba(7,27,70,.08);
}

body:has(.daily-wizard-page) .daily-wizard-page,
body:has(.school-daily-register) .school-daily-register {
  background: var(--attendance-premium-canvas);
}

body:has(.daily-wizard-page) .daily-wizard-hero,
body:has(.school-daily-register) .school-daily-register > header {
  position: relative;
  overflow: hidden;
  padding: clamp(28px,3vw,42px);
  border: 1px solid rgba(7,27,70,.08);
  border-radius: 20px;
  background: var(--attendance-premium-navy);
  box-shadow: 0 18px 42px rgba(7,27,70,.16);
}

body:has(.daily-wizard-page) .daily-wizard-hero::after,
body:has(.school-daily-register) .school-daily-register > header::after {
  position: absolute;
  top: -65%;
  bottom: -65%;
  left: 42%;
  width: 132px;
  border: 42px solid rgba(255,255,255,.028);
  border-top: 0;
  border-bottom: 0;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

body:has(.daily-wizard-page) .daily-wizard-hero > *,
body:has(.school-daily-register) .school-daily-register > header > * {
  position: relative;
  z-index: 1;
}

body:has(.daily-wizard-page) .daily-wizard-hero .eyebrow,
body:has(.school-daily-register) .school-daily-register > header small {
  margin: 0 0 14px;
  color: var(--attendance-premium-gold);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .13em;
}

body:has(.daily-wizard-page) .daily-wizard-hero h3,
body:has(.school-daily-register) .school-daily-register > header h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2rem,3.2vw,3rem);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -.04em;
}

body:has(.daily-wizard-page) .daily-wizard-hero p:not(.eyebrow),
body:has(.school-daily-register) .school-daily-register > header p {
  max-width: 680px;
  margin: 0;
  color: #dce5f2;
  font-size: .98rem;
  font-weight: 650;
  line-height: 1.6;
}

body:has(.daily-wizard-page) .daily-wizard-hero .secondary-action,
body:has(.school-daily-register) .school-daily-register-header-status {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: #fff;
  box-shadow: none;
}

body:has(.daily-wizard-page) .daily-wizard-hero .secondary-action:is(:hover,:focus-visible) {
  border-color: var(--attendance-premium-gold);
  background: rgba(255,255,255,.1);
  color: #fff;
  outline: 3px solid var(--attendance-premium-gold-soft);
  outline-offset: 3px;
}

body:has(.school-daily-register) .school-daily-register-header-status {
  display: grid;
  gap: 8px;
  min-width: 190px;
  padding: 17px 18px;
}

body:has(.school-daily-register) .school-daily-register-header-status span {
  color: #dce5f2;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body:has(.daily-wizard-page) .daily-wizard-panel,
body:has(.school-daily-register) :is(.school-daily-register-curriculum,.school-daily-register-learners) {
  border: 1px solid var(--attendance-premium-line);
  border-radius: 18px;
  background: var(--attendance-premium-surface);
  box-shadow: var(--attendance-premium-shadow);
}

body:has(.daily-wizard-page) .daily-register-header {
  align-items: end;
  gap: 24px;
  padding: 0 0 22px;
  border-bottom-color: var(--attendance-premium-line);
}

body:has(.daily-wizard-page) .daily-register-title-block h4 {
  margin: 5px 0 16px;
  color: var(--attendance-premium-ink);
  font-size: clamp(1.45rem,2vw,1.9rem);
  font-weight: 850;
  letter-spacing: -.025em;
}

body:has(.daily-wizard-page) .daily-register-step-pill {
  color: #a56f09;
  font-size: .66rem;
  letter-spacing: .11em;
}

body:has(.daily-wizard-page) .daily-register-meta-chips,
body:has(.school-daily-register) .school-daily-register-context {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:has(.daily-wizard-page) .daily-register-meta-chips span,
body:has(.school-daily-register) .school-daily-register-context > div {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: center;
  min-width: 0;
  min-height: 64px;
  padding: 11px 13px;
  border: 1px solid var(--attendance-premium-line);
  border-radius: 13px;
  background: #f7faff;
  color: var(--attendance-premium-ink);
}

body:has(.daily-wizard-page) .daily-register-meta-chips span::before,
body:has(.school-daily-register) .school-daily-register-context > div::before {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff7df;
  color: #9a6505;
  content: "◆";
  font-size: .78rem;
  box-shadow: inset 0 0 0 1px rgba(219,165,29,.14);
}

body:has(.daily-wizard-page) .daily-register-meta-chips span:nth-child(1)::before,
body:has(.school-daily-register) .school-daily-register-context > div:nth-child(1)::before { content: "◉"; }
body:has(.daily-wizard-page) .daily-register-meta-chips span:nth-child(2)::before,
body:has(.school-daily-register) .school-daily-register-context > div:nth-child(2)::before { content: "△"; }
body:has(.daily-wizard-page) .daily-register-meta-chips span:nth-child(3)::before,
body:has(.school-daily-register) .school-daily-register-context > div:nth-child(3)::before { content: "◷"; }
body:has(.daily-wizard-page) .daily-register-meta-chips span:nth-child(4)::before,
body:has(.school-daily-register) .school-daily-register-context > div:nth-child(4)::before { content: "▣"; }

body:has(.daily-wizard-page) .daily-register-meta-chips b,
body:has(.school-daily-register) .school-daily-register-context small {
  grid-column: 2;
  color: #7a5a15;
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body:has(.daily-wizard-page) .daily-register-header .setup-action-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body:has(.daily-wizard-page) .daily-register-header .setup-action-grid .secondary-action {
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid var(--attendance-premium-line);
  border-radius: 11px;
  background: #fff;
  color: var(--attendance-premium-navy);
  box-shadow: none;
}

body:has(.daily-wizard-page) .daily-register-header .setup-action-grid .secondary-action:first-child {
  border-color: var(--attendance-premium-navy);
  background: var(--attendance-premium-navy);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--attendance-premium-gold);
}

body:has(.daily-wizard-page) .daily-register-header .setup-action-grid .secondary-action:is(:hover,:focus-visible) {
  border-color: var(--attendance-premium-gold);
  outline: 3px solid var(--attendance-premium-gold-soft);
  outline-offset: 2px;
}

body:has(.daily-wizard-page) .attendance-register-list,
body:has(.school-daily-register) .attendance-register-list {
  gap: 14px;
}

body:has(.daily-wizard-page) .attendance-register-row,
body:has(.school-daily-register) .attendance-register-row {
  grid-template-columns: minmax(0,2.7fr) minmax(250px,1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--attendance-premium-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7,27,70,.065);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body:has(.daily-wizard-page) .attendance-register-row:hover,
body:has(.school-daily-register) .attendance-register-row:hover {
  transform: translateY(-1px);
  border-color: rgba(7,27,70,.18);
  box-shadow: 0 16px 34px rgba(7,27,70,.09);
}

body:has(.daily-wizard-page) .attendance-register-main,
body:has(.school-daily-register) .attendance-register-main {
  display: grid;
  grid-template-columns: minmax(210px,.9fr) minmax(380px,2fr);
  gap: 12px;
  min-width: 0;
}

body:has(.daily-wizard-page) .daily-cohort-identity,
body:has(.school-daily-register) .daily-cohort-identity {
  min-height: 66px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #f7faff;
}

body:has(.daily-wizard-page) .attendance-register-row .daily-cohort-identity h4,
body:has(.school-daily-register) .attendance-register-row .daily-cohort-identity h4 {
  color: var(--attendance-premium-ink);
  font-size: 1.04rem;
  font-weight: 850;
  letter-spacing: -.015em;
}

body:has(.daily-wizard-page) .attendance-register-row .daily-cohort-identity p,
body:has(.school-daily-register) .attendance-register-row .daily-cohort-identity p {
  color: var(--attendance-premium-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
}

body:has(.daily-wizard-page) .attendance-button-group,
body:has(.school-daily-register) .attendance-button-group {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 7px;
  min-width: 0;
}

body:has(.daily-wizard-page) .attendance-button,
body:has(.school-daily-register) .attendance-button {
  height: 52px;
  min-height: 52px;
  padding: 8px;
  border: 1px solid var(--attendance-premium-line);
  border-radius: 10px;
  background: #f7faff;
  color: var(--attendance-premium-ink);
  box-shadow: none;
}

body:has(.daily-wizard-page) .attendance-button::before,
body:has(.school-daily-register) .attendance-button::before {
  inset: auto 8px 0;
  width: auto;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--attendance-premium-gold);
  opacity: .45;
}

body:has(.daily-wizard-page) .attendance-button:is(:hover,:focus-visible),
body:has(.school-daily-register) .attendance-button:is(:hover,:focus-visible) {
  transform: none;
  border-color: rgba(219,165,29,.75);
  background: #fff;
  outline: 3px solid var(--attendance-premium-gold-soft);
  outline-offset: 2px;
  box-shadow: none;
}

body:has(.daily-wizard-page) .attendance-button.active,
body:has(.school-daily-register) .attendance-button.active {
  border-color: rgba(7,27,70,.28);
  background: #eef4fb;
  color: var(--attendance-premium-navy);
  box-shadow: inset 0 0 0 1px #fff, inset 0 -3px 0 var(--attendance-premium-gold);
}

body:has(.daily-wizard-page) .attendance-score-block,
body:has(.school-daily-register) .attendance-score-block {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  min-width: 0;
}

body:has(.daily-wizard-page) .attendance-score-summary,
body:has(.school-daily-register) .attendance-score-summary {
  display: contents;
}

body:has(.daily-wizard-page) .attendance-score-item,
body:has(.school-daily-register) .attendance-score-item {
  position: relative;
  min-height: 52px;
  height: auto;
  padding: 8px 8px 8px 34px;
  border: 1px solid var(--attendance-premium-line);
  border-radius: 10px;
  background: #f7faff;
  box-shadow: none;
}

body:has(.daily-wizard-page) .attendance-score-item::before,
body:has(.school-daily-register) .attendance-score-item::before {
  position: absolute;
  left: 10px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #fff7df;
  color: #9a6505;
  content: "✓";
  font-size: .65rem;
  transform: translateY(-50%);
}

body:has(.daily-wizard-page) .attendance-score-item:nth-child(2)::before,
body:has(.school-daily-register) .attendance-score-item:nth-child(2)::before { content: "◷"; }

body:has(.daily-wizard-page) .attendance-detail-drawer,
body:has(.school-daily-register) .attendance-detail-drawer {
  grid-column: 1 / -1;
}

body:has(.daily-wizard-page) .attendance-detail-drawer summary,
body:has(.school-daily-register) .school-readonly-detail-action button {
  min-height: 42px;
  height: auto;
  border: 1px solid rgba(7,27,70,.18);
  border-radius: 10px;
  background: #fff;
  color: var(--attendance-premium-navy);
  font-size: .68rem;
  letter-spacing: .04em;
  box-shadow: none;
}

body:has(.daily-wizard-page) .attendance-detail-drawer summary:is(:hover,:focus-visible),
body:has(.school-daily-register) .school-readonly-detail-action button:is(:hover,:focus-visible) {
  border-color: var(--attendance-premium-gold);
  background: #fffaf0;
  outline: 3px solid var(--attendance-premium-gold-soft);
  outline-offset: 2px;
}

body:has(.school-daily-register) .school-daily-register-context {
  grid-template-columns: repeat(5,minmax(0,1fr));
  margin: 18px 0;
}

body:has(.school-daily-register) .school-daily-register-context > div {
  border-right: 1px solid var(--attendance-premium-line);
}

body:has(.school-daily-register) .school-daily-register-summary article {
  border-color: var(--attendance-premium-line);
  border-bottom-width: 3px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(7,27,70,.045);
}

@media (max-width: 1180px) {
  body:has(.daily-wizard-page) .attendance-register-row,
  body:has(.school-daily-register) .attendance-register-row { grid-template-columns: 1fr; }
  body:has(.daily-wizard-page) .attendance-score-block,
  body:has(.school-daily-register) .attendance-score-block { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body:has(.daily-wizard-page) .attendance-detail-drawer,
  body:has(.school-daily-register) .attendance-detail-drawer { grid-column: auto; }
}

@media (max-width: 900px) {
  body:has(.daily-wizard-page) .daily-register-meta-chips,
  body:has(.school-daily-register) .school-daily-register-context { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body:has(.daily-wizard-page) .attendance-register-main,
  body:has(.school-daily-register) .attendance-register-main { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body:has(.daily-wizard-page) .daily-wizard-hero,
  body:has(.school-daily-register) .school-daily-register > header { padding: 24px 20px; }
  body:has(.daily-wizard-page) .daily-register-header,
  body:has(.school-daily-register) .school-daily-register > header { align-items: stretch; }
  body:has(.daily-wizard-page) .daily-register-header .setup-action-grid { justify-content: stretch; }
  body:has(.daily-wizard-page) .daily-register-header .setup-action-grid .secondary-action { flex: 1 1 150px; }
  body:has(.daily-wizard-page) .daily-register-meta-chips,
  body:has(.school-daily-register) .school-daily-register-context { grid-template-columns: 1fr; }
  body:has(.daily-wizard-page) .attendance-button-group,
  body:has(.school-daily-register) .attendance-button-group { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body:has(.daily-wizard-page) .attendance-score-block,
  body:has(.school-daily-register) .attendance-score-block { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body:has(.daily-wizard-page) .attendance-detail-drawer,
  body:has(.school-daily-register) .attendance-detail-drawer { grid-column: 1 / -1; }
  body:has(.school-daily-register) .school-daily-register-header-status { min-width: 0; }
}


/* Attendance Register second pass — direct Admin Dashboard primitive reuse.
   These scoped rules supersede the earlier register-only presentation layer. */
body:has(.daily-wizard-page) .daily-wizard-page,
body:has(.school-daily-register) .school-daily-register {
  width: 100%;
  max-width: none;
  padding: clamp(12px, 2vw, 24px);
  color: var(--ink);
  background: var(--wash);
}

body:has(.daily-wizard-page) .attendance-register-hero,
body:has(.school-daily-register) .attendance-register-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr);
  gap: 24px;
  align-items: center;
  min-height: 220px;
  padding: 24px clamp(18px, 4vw, 34px);
  border: 1px solid rgba(242, 182, 50, .24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, .12), transparent 18rem),
    linear-gradient(135deg, #071b4d 0%, #0d2c66 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 22px 48px rgba(7, 27, 77, .2);
}

body:has(.daily-wizard-page) .attendance-register-hero::after,
body:has(.school-daily-register) .attendance-register-hero::after {
  content: none;
}

body:has(.daily-wizard-page) .attendance-register-hero .eyebrow,
body:has(.school-daily-register) .attendance-register-hero .eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 0;
}

body:has(.daily-wizard-page) .attendance-register-hero h3,
body:has(.school-daily-register) .attendance-register-hero h2 {
  margin: 0 0 10px;
  color: var(--paper);
  font-size: clamp(2.25rem, 4vw, 3.45rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
}

body:has(.daily-wizard-page) .attendance-register-hero p:not(.eyebrow),
body:has(.school-daily-register) .attendance-register-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, .76);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

body:has(.daily-wizard-page) .attendance-register-hero-summary,
body:has(.school-daily-register) .attendance-register-hero-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body:has(.daily-wizard-page) .attendance-register-hero-summary > span,
body:has(.school-daily-register) .attendance-register-hero-summary > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 82px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(11, 42, 98, .64);
  color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

body:has(.daily-wizard-page) .attendance-register-hero-summary small,
body:has(.school-daily-register) .attendance-register-hero-summary small {
  color: var(--gold-2);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body:has(.daily-wizard-page) .attendance-register-hero-summary strong,
body:has(.school-daily-register) .attendance-register-hero-summary strong {
  overflow-wrap: anywhere;
  color: var(--paper);
  font-size: 1.16rem;
  line-height: 1.15;
}

body:has(.daily-wizard-page) .attendance-register-hero > .secondary-action {
  grid-column: 2;
  justify-self: end;
  min-height: 42px;
  margin-top: -10px;
}

body:has(.school-daily-register) .school-daily-register-header-status {
  grid-column: 2;
  justify-self: end;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body:has(.daily-wizard-page) .attendance-register-progress {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 0;
  width: min(100%, 520px);
  margin: 16px 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(7, 27, 77, .06);
}

body:has(.daily-wizard-page) .attendance-register-progress .daily-step {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

body:has(.daily-wizard-page) .attendance-register-progress .daily-step span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: .72rem;
}

body:has(.daily-wizard-page) .attendance-register-progress .daily-step:is(.active, .complete) {
  background: var(--wash);
  color: var(--navy);
}

body:has(.daily-wizard-page) .attendance-register-progress .daily-step:is(.active, .complete) span {
  border-color: var(--gold);
  background: var(--navy);
  color: var(--paper);
}

body:has(.daily-wizard-page) .attendance-register-progress .daily-step.active {
  box-shadow: inset 0 -3px 0 var(--gold);
}

body:has(.daily-wizard-page) .attendance-register-workspace,
body:has(.school-daily-register) .school-daily-register-learners {
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid rgba(215, 227, 241, .86);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 14px 30px rgba(11, 31, 77, .08);
}

body:has(.daily-wizard-page) .daily-register-meta-chips,
body:has(.school-daily-register) .school-daily-register-context {
  gap: 10px;
}

body:has(.daily-wizard-page) .daily-register-meta-chips > span,
body:has(.school-daily-register) .school-daily-register-context > div {
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid rgba(215, 227, 241, .86);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(11, 31, 77, .055);
}

body:has(.daily-wizard-page) .daily-register-meta-chips strong,
body:has(.school-daily-register) .school-daily-register-context strong {
  grid-column: 2;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.3;
}

body:has(.daily-wizard-page) .daily-register-header .setup-action-grid .primary-action,
body:has(.daily-wizard-page) .daily-register-header .setup-action-grid .secondary-action,
body:has(.school-daily-register) .school-readonly-detail-action .secondary-action {
  border-radius: 999px;
}

body:has(.daily-wizard-page) .daily-register-header .setup-action-grid .primary-action {
  border-color: var(--tfe-button-gold-border);
  background: var(--tfe-button-navy);
  box-shadow: 0 10px 24px rgba(6, 26, 73, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
}

body:has(.daily-wizard-page) .daily-register-header .setup-action-grid .secondary-action {
  border-color: var(--line);
  background: var(--paper);
  color: var(--navy);
}

body:has(.daily-wizard-page) .attendance-register-row,
body:has(.school-daily-register) .attendance-register-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .55fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(215, 227, 241, .86);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 14px 30px rgba(11, 31, 77, .08);
}

body:has(.daily-wizard-page) .attendance-register-row:hover,
body:has(.school-daily-register) .attendance-register-row:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 182, 50, .48);
  box-shadow: var(--shadow);
}

body:has(.daily-wizard-page) .attendance-register-row:focus-within,
body:has(.school-daily-register) .attendance-register-row:focus-within {
  outline: 3px solid var(--tfe-button-focus);
  outline-offset: 3px;
}

body:has(.daily-wizard-page) .attendance-register-main,
body:has(.school-daily-register) .attendance-register-main {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(420px, 1.45fr);
  gap: 14px;
  align-items: stretch;
}

body:has(.daily-wizard-page) .daily-cohort-identity,
body:has(.school-daily-register) .daily-cohort-identity {
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--wash);
}

body:has(.daily-wizard-page) .attendance-segmented-control,
body:has(.school-daily-register) .attendance-segmented-control {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-self: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--wash);
}

body:has(.daily-wizard-page) .attendance-segmented-control .attendance-button,
body:has(.school-daily-register) .attendance-segmented-control .attendance-button {
  min-height: 50px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

body:has(.daily-wizard-page) .attendance-segmented-control .attendance-button:last-child,
body:has(.school-daily-register) .attendance-segmented-control .attendance-button:last-child {
  border-right: 0;
}

body:has(.daily-wizard-page) .attendance-segmented-control .attendance-button::before,
body:has(.school-daily-register) .attendance-segmented-control .attendance-button::before {
  content: none;
}

.attendance-selected-indicator {
  display: inline-grid;
  width: 0;
  height: 18px;
  place-items: center;
  margin-right: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  font-size: .68rem;
  opacity: 0;
  overflow: hidden;
}

body:has(.daily-wizard-page) .attendance-segmented-control .attendance-button.active,
body:has(.school-daily-register) .attendance-segmented-control .attendance-button.active {
  border: 1px solid rgba(242, 182, 50, .72);
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 7px 16px rgba(11, 31, 77, .12), inset 0 -3px 0 var(--gold);
}

body:has(.daily-wizard-page) .attendance-segmented-control .attendance-button.active .attendance-selected-indicator,
body:has(.school-daily-register) .attendance-segmented-control .attendance-button.active .attendance-selected-indicator {
  width: 18px;
  margin-right: 5px;
  opacity: 1;
}

body:has(.daily-wizard-page) .attendance-segmented-control .attendance-button:is(:hover, :focus-visible),
body:has(.school-daily-register) .attendance-segmented-control .attendance-button:is(:hover, :focus-visible) {
  z-index: 1;
  background: var(--paper);
  outline: 3px solid var(--tfe-button-focus);
  outline-offset: 2px;
}

body:has(.daily-wizard-page) .attendance-register-tracking,
body:has(.school-daily-register) .attendance-register-tracking {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body:has(.daily-wizard-page) .attendance-register-tracking .attendance-score-item,
body:has(.school-daily-register) .attendance-register-tracking .attendance-score-item {
  display: grid;
  min-height: 72px;
  align-content: center;
  gap: 5px;
  padding: 12px 12px 12px 42px;
  border: 1px solid rgba(215, 227, 241, .86);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(11, 31, 77, .06);
}

body:has(.daily-wizard-page) .attendance-register-tracking .attendance-score-item span,
body:has(.school-daily-register) .attendance-register-tracking .attendance-score-item span {
  color: var(--muted);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body:has(.daily-wizard-page) .attendance-register-tracking .attendance-detail-drawer,
body:has(.school-daily-register) .attendance-register-tracking .attendance-detail-drawer {
  grid-column: 1 / -1;
}

body:has(.daily-wizard-page) .attendance-register-tracking .attendance-detail-drawer summary,
body:has(.school-daily-register) .attendance-register-tracking .school-readonly-detail-action button {
  width: 100%;
  min-height: 44px;
  border: 2px solid var(--tfe-button-gold-border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 900;
}

@media (max-width: 1180px) {
  body:has(.daily-wizard-page) .attendance-register-hero,
  body:has(.school-daily-register) .attendance-register-hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .8fr);
  }
  body:has(.daily-wizard-page) .attendance-register-row,
  body:has(.school-daily-register) .attendance-register-row {
    grid-template-columns: 1fr;
  }
  body:has(.daily-wizard-page) .attendance-register-tracking,
  body:has(.school-daily-register) .attendance-register-tracking {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body:has(.daily-wizard-page) .attendance-register-tracking .attendance-detail-drawer,
  body:has(.school-daily-register) .attendance-register-tracking .attendance-detail-drawer {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  body:has(.daily-wizard-page) .attendance-register-hero,
  body:has(.school-daily-register) .attendance-register-hero {
    grid-template-columns: 1fr;
  }
  body:has(.daily-wizard-page) .attendance-register-hero > .secondary-action,
  body:has(.school-daily-register) .school-daily-register-header-status {
    grid-column: 1;
    justify-self: start;
    margin: 0;
  }
  body:has(.daily-wizard-page) .attendance-register-main,
  body:has(.school-daily-register) .attendance-register-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body:has(.daily-wizard-page) .attendance-register-hero,
  body:has(.school-daily-register) .attendance-register-hero {
    min-height: 0;
    padding: 22px 18px;
  }
  body:has(.daily-wizard-page) .attendance-register-hero-summary,
  body:has(.school-daily-register) .attendance-register-hero-summary,
  body:has(.daily-wizard-page) .daily-register-meta-chips,
  body:has(.school-daily-register) .school-daily-register-context {
    grid-template-columns: 1fr;
  }
  body:has(.daily-wizard-page) .attendance-register-progress {
    grid-template-columns: 1fr;
    width: 100%;
  }
  body:has(.daily-wizard-page) .attendance-segmented-control,
  body:has(.school-daily-register) .attendance-segmented-control,
  body:has(.daily-wizard-page) .attendance-register-tracking,
  body:has(.school-daily-register) .attendance-register-tracking {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body:has(.daily-wizard-page) .attendance-register-tracking .attendance-detail-drawer,
  body:has(.school-daily-register) .attendance-register-tracking .attendance-detail-drawer {
    grid-column: 1 / -1;
  }
  body:has(.daily-wizard-page) .attendance-register-row,
  body:has(.school-daily-register) .attendance-register-row {
    padding: 14px;
  }
}

/* Learner lesson workbook full-width Safari layout fix */
#learnerPortalContent .lesson-list {
  display: grid;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}

#learnerPortalContent .lesson-card {
  min-width: 0;
  width: 100%;
  min-height: 188px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #dbe3ef;
  border-left: 6px solid #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.18s ease,
    background 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

#learnerPortalContent .lesson-card:not(.lesson-locked):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

#learnerPortalContent .lesson-card .lesson-summary {
  min-height: 188px;
  height: 100%;
  background: transparent;
}

#learnerPortalContent .lesson-card .day-pill {
  border: 0;
}

#learnerPortalContent .lesson-title {
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#learnerPortalContent .lesson-card.open {
  grid-column: 1 / -1;
  width: 100%;
}

#learnerPortalContent .lesson-card.open .task-groups {
  display: grid;
  gap: 24px;
  width: 100%;
  padding: 18px;
  box-sizing: border-box;
}

#learnerPortalContent .task-group {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.passport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  width: 100%;
}

@media (max-width: 1023px) {
  .learner-score-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .league-position-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #learnerPortalContent .lesson-list,
  .passport-grid {
    grid-template-columns: 1fr;
  }

  .learner-home-card-head,
  .league-position-grid,
  .learner-score-metric-grid,
  .learner-menu-page {
    grid-template-columns: 1fr;
  }

  .learner-home-card-head {
    display: grid;
  }
}

.lesson-summary:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.lesson-card.lesson-completed {
  border-left-color: #16a34a;
}

.lesson-card.lesson-completed .lesson-score {
  background: #dcfce7;
  color: #166534;
}

.lesson-card.lesson-awaiting {
  border-left-color: #f59e0b;
}

.lesson-card.lesson-awaiting .lesson-score {
  background: #fef3c7;
  color: #92400e;
}

.lesson-card.lesson-current {
  border-left-color: #1d4ed8;
}

.lesson-card.lesson-current .lesson-score {
  background: #dbeafe;
  color: #1e40af;
}

.lesson-card.lesson-try-again {
  border-left-color: #f59e0b;
}

.lesson-card.lesson-try-again .lesson-score {
  background: #fff7e6;
  color: #92400e;
}

.lesson-card.lesson-locked {
  border-left-color: #94a3b8;
  background: #f8fafc;
  color: #64748b;
}

.lesson-card.lesson-locked .lesson-score {
  background: #e2e8f0;
  color: #475569;
}

#learnerPortalContent .lesson-heading:has(.theory-learning-hero) {
  display: block;
  max-width: 1280px;
  margin: 32px auto 28px;
}

#learnerPortalContent .lesson-heading:has(.practical-learning-hero) {
  display: block;
  max-width: 1280px;
  margin: 32px auto 28px;
}

#learnerPortalContent .lesson-list:has(.theory-progress-summary) {
  gap: 22px;
  align-items: stretch;
}

#learnerPortalContent .lesson-list:has(.practical-progress-summary) {
  gap: 22px;
  align-items: stretch;
}

.theory-back-dashboard {
  width: auto;
  margin-bottom: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  border-color: rgba(15, 35, 75, 0.14);
  box-shadow: 0 10px 24px rgba(15, 35, 75, 0.08);
  white-space: nowrap;
}

.practical-back-dashboard {
  position: relative;
  z-index: 3;
  width: auto;
  margin-bottom: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  border-color: rgba(15, 35, 75, 0.14);
  box-shadow: 0 10px 24px rgba(15, 35, 75, 0.08);
  white-space: nowrap;
}

.theory-learning-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 32px 44px 52px;
  border: 1px solid rgba(242, 182, 50, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 18%, rgba(242, 182, 50, 0.08), transparent 28%),
    linear-gradient(135deg, #05142d 0%, #071a33 52%, #0f2f5f 100%);
  box-shadow: 0 28px 62px rgba(15, 35, 75, 0.22);
}

.theory-learning-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -35% 26% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.theory-hero-page-header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
}

.theory-hero-page-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.3rem, 2.2vw, 2.05rem);
  line-height: 1.04;
  font-weight: 950;
}

.theory-hero-page-header span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  font-weight: 800;
}

.theory-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.theory-hero-actions button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(242, 182, 50, 0.72);
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(5, 20, 45, 0.94), rgba(15, 47, 95, 0.88));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.theory-hero-actions button:hover,
.theory-hero-actions button:focus-visible {
  border-color: #f2b632;
  background:
    linear-gradient(135deg, rgba(242, 182, 50, 0.14), rgba(242, 182, 50, 0.03)),
    linear-gradient(135deg, rgba(5, 20, 45, 0.98), rgba(15, 47, 95, 0.94));
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(242, 182, 50, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.practical-learning-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 40px 44px 46px;
  border: 1px solid rgba(242, 182, 50, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(242, 182, 50, 0.08), transparent 28%),
    linear-gradient(135deg, #061226 0%, #071a33 48%, #0f2f5f 100%);
  box-shadow: 0 28px 62px rgba(15, 35, 75, 0.22);
  isolation: isolate;
}

.practical-learning-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, #061226 0%, rgba(6, 18, 38, 0.98) 35%, rgba(7, 26, 51, 0.78) 55%, rgba(7, 26, 51, 0.24) 76%, rgba(7, 26, 51, 0.04) 100%),
    linear-gradient(180deg, rgba(6, 18, 38, 0.08) 0%, rgba(6, 18, 38, 0.2) 62%, rgba(6, 18, 38, 0.48) 100%);
  pointer-events: none;
}

.theory-hero-content {
  position: static;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  gap: 0;
  align-items: stretch;
  min-height: 390px;
}

.practical-hero-content {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  gap: 0;
  align-items: center;
  min-height: 300px;
}

.theory-hero-copy {
  max-width: 760px;
}

.theory-hero-text-panel {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 30px;
  min-width: 0;
  padding-right: 30px;
}

.practical-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.theory-phase-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff4cf;
  color: #7a5600;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0;
}

.practical-phase-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff4cf;
  color: #7a5600;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0;
}

#learnerPortalContent .lesson-heading .theory-hero-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 0.93;
  font-weight: 950;
}

#learnerPortalContent .lesson-heading .practical-hero-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: 0.98;
  font-weight: 950;
}

#learnerPortalContent .lesson-heading .theory-hero-copy p:not(.theory-phase-label) {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 650;
}

#learnerPortalContent .lesson-heading .practical-hero-copy p:not(.practical-phase-label) {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 650;
}

.theory-curriculum-subtitle {
  display: block;
  margin: 14px 0 5px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 850;
}

.practical-curriculum-subtitle {
  display: block;
  margin: 10px 0 3px;
  color: #f2b632;
  font-size: 1.08rem;
  font-weight: 850;
}

.practical-hero-feature-panel {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 52%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 24px 24px 0;
  background: #071a33;
  box-shadow: none;
}

.practical-hero-feature-panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, #061226 0%, rgba(7, 26, 51, 0.86) 16%, rgba(7, 26, 51, 0.44) 44%, rgba(7, 26, 51, 0.05) 72%),
    linear-gradient(180deg, rgba(7, 26, 51, 0.06) 0%, rgba(7, 26, 51, 0.12) 54%, rgba(7, 26, 51, 0.46) 100%);
  pointer-events: none;
}

.practical-hero-feature-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 48% 42%;
}

.theory-hero-status-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(7, 26, 51, 0.54);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.theory-hero-feature-panel {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 40%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 24px 24px 0;
  background: #071a33;
  box-shadow: none;
}

.theory-hero-feature-panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, #071a33 0%, rgba(7, 26, 51, 0.88) 18%, rgba(7, 26, 51, 0.42) 48%, rgba(7, 26, 51, 0.06) 72%),
    linear-gradient(180deg, rgba(7, 26, 51, 0.08) 0%, rgba(7, 26, 51, 0.16) 54%, rgba(7, 26, 51, 0.46) 100%);
  pointer-events: none;
}

.theory-hero-feature-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.practical-hero-status-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(7, 26, 51, 0.54);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.theory-hero-status-panel article {
  display: grid;
  gap: 5px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.theory-hero-status-panel article i {
  display: block;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
}

.theory-hero-status-panel article i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2b632, #ffe39a);
  box-shadow: 0 0 14px rgba(242, 182, 50, 0.28);
}

.practical-hero-status-panel article {
  display: grid;
  gap: 5px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.theory-hero-status-panel article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.practical-hero-status-panel article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.theory-hero-status-panel span,
.theory-hero-status-panel em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.practical-hero-status-panel span,
.practical-hero-status-panel em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.theory-hero-status-panel strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.practical-hero-status-panel strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.theory-progress-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 8px 0 18px;
  padding: 24px;
  border: 1px solid rgba(242, 182, 50, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, #071a33 0%, #0f2f5f 100%);
  box-shadow: 0 24px 54px rgba(15, 35, 75, 0.18);
}

.practical-progress-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin: 0 0 18px;
  padding: 26px;
  border: 1px solid rgba(242, 182, 50, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 96% 14%, rgba(242, 182, 50, 0.08), transparent 24rem),
    linear-gradient(135deg, #061226 0%, #071a33 52%, #0f2f5f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 54px rgba(15, 35, 75, 0.2);
}

.theory-progress-summary article {
  display: grid;
  gap: 12px;
  padding: 20px 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(10, 32, 62, 0.96), rgba(15, 47, 95, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--gold);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.practical-progress-summary article {
  display: grid;
  gap: 12px;
  padding: 22px 20px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(10, 32, 62, 0.96), rgba(15, 47, 95, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 3px solid #f2b632;
  box-shadow:
    inset 0 0 0 1px rgba(242, 182, 50, 0.05),
    0 18px 34px rgba(0, 0, 0, 0.14);
}

.theory-progress-summary span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.practical-progress-summary span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.theory-progress-summary strong {
  color: #ffffff;
  font-size: 2.35rem;
  line-height: 1;
}

.practical-progress-summary strong {
  color: #ffffff;
  font-size: 2.35rem;
  line-height: 1;
}

.theory-progress-meter {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 14px 2px 2px;
}

.practical-progress-meter {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 14px 2px 2px;
}

.theory-progress-meter div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  font-weight: 900;
}

.practical-progress-meter div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  font-weight: 900;
}

.theory-progress-meter div:first-child span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  text-transform: none;
}

.practical-progress-meter div:first-child span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  text-transform: none;
}

.theory-progress-meter div:first-child strong {
  font-size: 1rem;
}

.practical-progress-meter div:first-child strong {
  font-size: 1rem;
}

.theory-progress-track {
  width: 100%;
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.16);
}

.practical-progress-track {
  width: 100%;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.theory-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2b632 0%, #ffffff 100%);
}

.practical-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2b632 0%, #ffe28a 100%);
  box-shadow: 0 0 18px rgba(242, 182, 50, 0.28);
}

.theory-progress-meter p {
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  font-weight: 800;
}

.practical-progress-meter p {
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  font-weight: 800;
}

#learnerPortalContent .practical-lesson-card,
#learnerPortalContent .theory-lesson-card {
  min-height: 188px;
  height: 100%;
  transition: transform 250ms ease, background 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

#learnerPortalContent .practical-lesson-card .lesson-summary,
#learnerPortalContent .theory-lesson-card .lesson-summary {
  min-height: 188px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  box-sizing: border-box;
}

#learnerPortalContent .practical-lesson-card .card-topline,
#learnerPortalContent .theory-lesson-card .card-topline {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#learnerPortalContent .practical-lesson-card .lesson-title,
#learnerPortalContent .theory-lesson-card .lesson-title {
  flex: 0 0 50px;
  min-height: 50px;
}

#learnerPortalContent .theory-lesson-card .lesson-outcome {
  display: block;
  min-height: 42px;
  color: #53627a;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.35;
}

#learnerPortalContent .practical-lesson-card .evidence-list,
#learnerPortalContent .theory-lesson-card .evidence-list {
  flex: 1 1 auto;
  display: grid;
  align-content: end;
  gap: 6px;
  margin-top: 0;
  min-height: 58px;
}

#learnerPortalContent .practical-lesson-card .evidence-row,
#learnerPortalContent .theory-lesson-card .evidence-row {
  min-height: 0;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 0.76rem;
}

#learnerPortalContent .practical-lesson-card .day-pill,
#learnerPortalContent .practical-lesson-card .lesson-score,
#learnerPortalContent .theory-lesson-card .day-pill,
#learnerPortalContent .theory-lesson-card .lesson-score {
  min-height: 0;
  padding: 5px 8px;
  font-size: 0.72rem;
  line-height: 1.1;
}

#learnerPortalContent .practical-lesson-card:not(.lesson-locked):hover,
#learnerPortalContent .practical-lesson-card.lesson-locked:hover {
  transform: translateY(-3px);
  border-color: #c4d8ee;
  box-shadow: 0 18px 40px rgba(15, 35, 75, 0.12);
}

#learnerPortalContent .lesson-card.lesson-card--completed,
#learnerPortalContent .practical-lesson-card.lesson-completed,
#learnerPortalContent .theory-lesson-card.lesson-completed {
  background: linear-gradient(180deg, #f3fff5 0%, #ecfaef 100%);
  border-color: #c8ebd0;
  border-left-color: #16a34a;
  box-shadow: 0 8px 22px rgba(22, 101, 52, 0.08);
}

#learnerPortalContent .lesson-card--completed .lesson-status-badge,
#learnerPortalContent .lesson-card--completed .completed-badge,
#learnerPortalContent .practical-lesson-card.lesson-completed .lesson-score {
  background: #dff7e7;
  border: 1px solid #c8ebd0;
  color: #0f6b3a;
}

#learnerPortalContent .practical-lesson-card.lesson-current,
#learnerPortalContent .practical-lesson-card.lesson-awaiting,
#learnerPortalContent .practical-lesson-card.lesson-try-again {
  background: #fff8e6;
  border-color: #e5aa2d;
  border-left-color: #d9961f;
  box-shadow: 0 20px 44px rgba(217, 150, 31, 0.18), 0 0 0 4px rgba(242, 182, 50, 0.1);
}

#learnerPortalContent .practical-lesson-card.lesson-current .lesson-score,
#learnerPortalContent .practical-lesson-card.lesson-awaiting .lesson-score,
#learnerPortalContent .practical-lesson-card.lesson-try-again .lesson-score {
  background: #fff0c2;
  border: 1px solid rgba(217, 150, 31, 0.2);
  color: #7a5600;
}

#learnerPortalContent .practical-lesson-card.lesson-locked {
  background: #f7fbff;
  border-color: #e2eefb;
  border-left-color: #d7e6f7;
  color: #506175;
  box-shadow: 0 8px 22px rgba(15, 35, 75, 0.03);
}

#learnerPortalContent .practical-lesson-card.lesson-locked .lesson-score {
  background: #eaf3ff;
  border: 1px solid #d7e6f7;
  color: #506175;
}

#learnerPortalContent .theory-lesson-card.lesson-locked {
  background: #f7fbff;
  border-color: rgba(217, 174, 43, 0.72);
  border-left-color: rgba(217, 174, 43, 0.72);
  color: #506175;
  box-shadow:
    inset 0 0 0 1px rgba(7, 27, 77, 0.08),
    0 12px 28px rgba(7, 27, 77, 0.07);
}

#learnerPortalContent .theory-lesson-card.lesson-current {
  background: #fff8e6;
  border-color: rgba(217, 174, 43, 0.95);
  border-left-color: rgba(217, 174, 43, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(7, 27, 77, 0.12),
    0 22px 46px rgba(217, 150, 31, 0.18),
    0 0 0 4px rgba(242, 182, 50, 0.1);
  z-index: 1;
}

#learnerPortalContent .theory-lesson-card:not(.lesson-locked):hover,
#learnerPortalContent .theory-lesson-card.lesson-locked:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 174, 43, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(7, 27, 77, 0.15),
    0 20px 42px rgba(7, 27, 77, 0.14);
}

#learnerPortalContent .theory-lesson-card.lesson-current .lesson-title {
  font-size: inherit;
  line-height: inherit;
}

#learnerPortalContent .theory-lesson-card.lesson-current .lesson-score {
  background: #fff0c2;
  color: #7a5600;
  border: 1px solid rgba(217, 150, 31, 0.2);
}

#learnerPortalContent .theory-lesson-card.lesson-completed .lesson-score {
  background: #dff7e7;
  border: 1px solid #c8ebd0;
  color: #0f6b3a;
}

#learnerPortalContent .theory-lesson-card.lesson-locked .lesson-score {
  background: #eaf3ff;
  border: 1px solid #d7e6f7;
  color: #506175;
}

.theory-open-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
  padding: 9px 12px;
  border: 2px solid var(--tfe-button-gold-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 var(--tfe-button-gold-highlight),
    0 12px 26px rgba(7, 27, 77, 0.2);
}

#learnerPortalContent .theory-lesson-card .theory-open-action {
  margin-top: auto;
}

#learnerPortalContent .learner-theory-phase-timeline {
  margin: 0 0 14px;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card {
  text-align: left;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.available {
  border-color: rgba(212, 175, 55, 0.42);
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.completed {
  background: linear-gradient(180deg, #f3fff5 0%, #ecfaef 100%);
  border-color: #c8ebd0;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.locked {
  opacity: 0.74;
  cursor: not-allowed;
}

#learnerPortalContent .learner-theory-lesson-map {
  margin-top: 14px;
}

.theory-lesson-detail {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.theory-content-lesson {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid #d7e6f7;
  border-radius: 24px;
  background: #f7fbff;
  box-shadow: 0 22px 54px rgba(15, 35, 75, 0.1);
}

.theory-content-lesson-header,
.theory-content-card,
.theory-completion-card {
  border: 1px solid rgba(215, 230, 247, 0.82);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 35, 75, 0.07);
}

.theory-content-lesson-header {
  padding: 26px;
}

.theory-content-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff4cf;
  color: #7a5600;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0;
}

.theory-content-lesson-header h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 950;
}

.theory-content-lesson-header p,
.theory-content-card p,
.theory-completion-card p {
  margin: 10px 0 0;
  color: #506175;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 600;
}

.theory-content-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.theory-content-card {
  padding: 22px;
}

.theory-content-card h4,
.theory-completion-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 920;
}

.theory-completion-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.theory-completion-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: #fff8e6;
  border-color: rgba(242, 182, 50, 0.34);
}

.theory-knowledge-check-button {
  min-height: 44px;
  white-space: nowrap;
}

.theory-acknowledgement-card,
.theory-completion-success-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(215, 230, 247, 0.86);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 35, 75, 0.09);
}

.theory-acknowledgement-card {
  border-left: 5px solid var(--gold);
}

.theory-acknowledgement-card h4,
.theory-completion-success-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.32rem;
  line-height: 1.15;
  font-weight: 950;
}

.theory-acknowledgement-card p,
.theory-completion-success-card p {
  margin: 10px 0 0;
  color: #506175;
  font-weight: 650;
  line-height: 1.6;
}

.theory-acknowledgement-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(242, 182, 50, 0.28);
  border-radius: 16px;
  background: #fffaf0;
  color: var(--navy);
  font-weight: 850;
  line-height: 1.45;
  cursor: pointer;
}

.theory-acknowledgement-check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}

.theory-complete-lesson-button,
.theory-continue-next-button {
  min-height: 48px;
  justify-self: start;
  box-shadow: 0 14px 28px rgba(15, 35, 75, 0.18);
}

.theory-complete-lesson-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  filter: grayscale(0.25);
}

.theory-completion-success-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: linear-gradient(135deg, #f3fff7 0%, #ffffff 58%, #fff8e6 100%);
  border-color: rgba(46, 125, 80, 0.28);
  border-left: 5px solid #2e7d50;
}

.theory-two-lesson {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid #d7e6f7;
  border-radius: 24px;
  background: #f7fbff;
  box-shadow: 0 22px 54px rgba(15, 35, 75, 0.1);
}

.theory-two-hero,
.theory-two-card {
  border: 1px solid rgba(215, 230, 247, 0.82);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 35, 75, 0.07);
}

.theory-two-hero {
  padding: 34px 30px;
  background: linear-gradient(135deg, var(--navy) 0%, #173b66 74%, #214f7c 100%);
  color: #ffffff;
  overflow: hidden;
}

.theory-two-hero h3 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.08rem, 4vw, 3.15rem);
  line-height: 1.02;
  font-weight: 950;
}

.theory-two-hero p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 760;
}

.theory-two-hero span {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 850;
}

.theory-two-card {
  padding: 24px;
}

.theory-two-intro-card {
  border-color: rgba(242, 182, 50, 0.34);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 62%, #fff8e6 100%);
  box-shadow: 0 18px 40px rgba(15, 35, 75, 0.09);
}

.theory-two-card-heading h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 950;
}

.theory-two-card-heading p:not(.theory-content-label),
.theory-two-card > p {
  margin: 9px 0 0;
  color: #506175;
  font-weight: 650;
  line-height: 1.6;
}

.theory-two-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.theory-two-list li {
  position: relative;
  padding: 12px 14px 12px 36px;
  border: 1px solid rgba(215, 230, 247, 0.9);
  border-radius: 14px;
  background: #f7fbff;
  color: var(--navy);
  font-weight: 780;
  line-height: 1.45;
}

.theory-two-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.theory-video-frame {
  position: relative;
  width: 100%;
  margin-top: 18px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #071a2e;
  box-shadow: 0 20px 44px rgba(15, 35, 75, 0.16);
}

.theory-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #071a2e;
}

.theory-two-question-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.theory-two-question {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 18px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.theory-two-question legend {
  display: block;
  width: 100%;
  padding: 0 2px;
  color: var(--navy);
  font-weight: 930;
  line-height: 1.35;
}

.theory-two-options {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(215, 230, 247, 0.95);
  border-radius: 16px;
  background: #f7fbff;
  box-shadow: 0 10px 24px rgba(15, 35, 75, 0.05);
}

.theory-two-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(215, 230, 247, 0.95);
  border-radius: 14px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 780;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.theory-two-option:hover,
.theory-two-option.selected {
  border-color: rgba(242, 182, 50, 0.72);
  box-shadow: 0 10px 22px rgba(15, 35, 75, 0.08);
}

.theory-two-option:has(input:checked) {
  border-color: rgba(34, 145, 88, 0.42);
  background: #eaf8ec;
  box-shadow: 0 10px 22px rgba(34, 145, 88, 0.12);
}

.theory-two-option input {
  accent-color: var(--gold);
}

.theory-two-feedback {
  min-height: 22px;
  margin: 0;
  color: #506175;
  font-weight: 820;
}

.theory-two-feedback.correct {
  color: #2e7d50;
}

.theory-two-feedback.incorrect {
  color: #9a3412;
}

.theory-induction-check-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(215, 230, 247, 0.86);
  border-left: 5px solid var(--gold);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(242, 182, 50, 0.08), transparent 18rem),
    #ffffff;
  box-shadow: 0 18px 38px rgba(15, 35, 75, 0.09);
}

.theory-induction-check-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.theory-induction-check-head h4 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
  font-weight: 950;
}

.theory-induction-check-head p {
  margin: 8px 0 0;
  color: #506175;
  font-weight: 700;
  line-height: 1.55;
}

.theory-induction-check-head .theory-induction-meta {
  width: fit-content;
  margin-top: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff8e6;
  color: #8a6100;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.theory-induction-check-head aside {
  display: grid;
  gap: 4px;
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid rgba(242, 182, 50, 0.34);
  border-radius: 18px;
  background: linear-gradient(135deg, #071b4d, #0a2a66);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 14px 28px rgba(15, 35, 75, 0.18);
}

.theory-induction-check-head aside span,
.theory-induction-result span {
  color: #f7d774;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theory-induction-check-head aside strong {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 950;
}

.theory-induction-question-list {
  display: grid;
  gap: 0;
}

.theory-induction-question {
  display: grid;
  gap: 18px;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 12px 26px rgba(15, 35, 75, 0.06);
}

.theory-induction-question:last-child {
  margin-bottom: 0;
}

.theory-induction-question.is-correct {
  background: linear-gradient(180deg, #f5fff7, #ffffff);
}

.theory-induction-question.is-incorrect {
  background: linear-gradient(180deg, #fff8f1, #ffffff);
}

.theory-induction-question legend {
  display: block;
  width: 100%;
  padding: 0 2px;
  color: var(--navy);
  font-weight: 930;
  line-height: 1.35;
}

.theory-induction-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border: 1px solid #d9eafd;
  border-radius: 18px;
  background: #f4f9ff;
  box-shadow: 0 10px 24px rgba(15, 35, 75, 0.05);
}

.theory-induction-option {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(215, 230, 247, 0.95);
  border-radius: 14px;
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 35, 75, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.theory-induction-option:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(242, 182, 50, 0.72);
  box-shadow: 0 12px 24px rgba(15, 35, 75, 0.09);
}

.theory-induction-option.selected {
  transform: translateY(-1px);
  background: #ecfdf3;
  border-color: #86d39a;
  color: var(--navy);
  box-shadow:
    0 0 0 1px rgba(22, 163, 74, 0.14),
    0 12px 24px rgba(15, 35, 75, 0.07);
}

.theory-induction-option.correct-answer {
  border-color: rgba(46, 125, 80, 0.34);
  background: #e9f9ef;
  color: #0f6b3a;
}

.theory-induction-option.incorrect-answer {
  border-color: rgba(154, 52, 18, 0.3);
  background: #fff0e5;
  color: #9a3412;
}

.theory-induction-option:disabled {
  cursor: default;
}

.theory-induction-feedback {
  margin: 0;
  font-weight: 850;
  line-height: 1.4;
}

.theory-induction-feedback.correct {
  color: #0f6b3a;
}

.theory-induction-feedback.incorrect {
  color: #9a3412;
}

.theory-induction-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-top: 4px;
}

.theory-induction-result {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid rgba(215, 230, 247, 0.9);
  border-radius: 18px;
  background: #f8fbff;
}

.theory-induction-result strong {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 950;
}

.theory-induction-result p,
.theory-induction-result em {
  margin: 0;
  color: #506175;
  font-style: normal;
  font-weight: 760;
  line-height: 1.4;
}

.theory-induction-result b,
.theory-critical-review-flag span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theory-critical-review-flag {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(185, 28, 28, 0.28);
  border-left: 6px solid #dc2626;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
  box-shadow: 0 16px 34px rgba(127, 29, 29, 0.1);
}

.theory-critical-review-flag strong {
  color: #7f1d1d;
  font-size: 1.12rem;
  font-weight: 950;
}

.theory-critical-review-flag p {
  margin: 0;
  color: #7f1d1d;
  font-weight: 800;
  line-height: 1.5;
}

.theory-induction-result.gold {
  background: #fff7d8;
  border-color: rgba(212, 175, 55, 0.4);
}

.theory-induction-result.silver {
  background: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.36);
}

.theory-induction-result.bronze {
  background: #fff1df;
  border-color: rgba(180, 94, 24, 0.28);
}

.theory-induction-result.below-bronze {
  background: #fff7ed;
  border-color: rgba(154, 52, 18, 0.24);
}

.theory-two-complete-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: #fff8e6;
  border-color: rgba(242, 182, 50, 0.34);
}

.theory-lesson-card .locked-message {
  color: #64748b;
  font-weight: 800;
  line-height: 1.45;
  flex: 1 1 auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 4px;
}

@media (max-width: 720px) {
  #learnerPortalContent .lesson-heading:has(.theory-learning-hero),
  #learnerPortalContent .lesson-heading:has(.practical-learning-hero),
  .practical-progress-summary,
  .theory-progress-summary {
    grid-template-columns: 1fr;
  }

  .practical-hero-content,
  .theory-hero-content {
    grid-template-columns: 1fr;
  }

  .practical-hero-content,
  .theory-hero-content {
    min-height: 0;
  }

  .theory-hero-page-header {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .theory-hero-actions {
    justify-content: stretch;
  }

  .theory-hero-actions button {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .theory-hero-status-panel {
    grid-template-columns: 1fr;
  }

  .practical-back-dashboard,
  .theory-back-dashboard {
    width: 100%;
    justify-self: stretch;
  }

  .practical-learning-hero,
  .theory-learning-hero {
    min-height: 0;
    padding: 24px 20px 26px;
  }

  .theory-hero-text-panel {
    padding-right: 0;
  }

  .practical-hero-feature-panel,
  .theory-hero-feature-panel {
    position: relative;
    inset: auto;
    width: 100%;
    border-radius: 20px;
    margin-top: 24px;
    min-height: 280px;
  }

  .practical-hero-feature-panel {
    height: 280px;
  }

  .practical-hero-feature-panel::before,
  .theory-hero-feature-panel::before {
    background:
      linear-gradient(180deg, rgba(7, 26, 51, 0.04) 0%, rgba(7, 26, 51, 0.28) 58%, rgba(7, 26, 51, 0.74) 100%);
  }

  .practical-hero-feature-panel img,
  .theory-hero-feature-panel img {
    min-height: 280px;
  }

  .practical-hero-feature-panel img {
    height: 100%;
    min-height: 0;
  }

  #learnerPortalContent .practical-lesson-card,
  #learnerPortalContent .theory-lesson-card,
  #learnerPortalContent .practical-lesson-card .lesson-summary,
  #learnerPortalContent .theory-lesson-card .lesson-summary {
    min-height: 198px;
  }

  .theory-content-section-grid,
  .theory-completion-card,
  .theory-completion-success-card,
  .theory-two-complete-card,
  .theory-induction-check-head,
  .theory-induction-options,
  .theory-induction-actions {
    grid-template-columns: 1fr;
  }

  .theory-complete-lesson-button,
  .theory-continue-next-button {
    width: 100%;
    justify-self: stretch;
  }
}

.lesson-workbook-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

.lesson-workbook-header {
  width: 100%;
}

.lesson-workbook-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.lesson-workbook-left,
.lesson-workbook-right {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.lesson-workbook-left .workbook-section,
.lesson-workbook-right .workbook-section,
.lesson-workbook-right .workbook-signoff-card,
.lesson-workbook-right .workbook-assessment-card {
  width: 100%;
  box-sizing: border-box;
}

.evidence-required-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff4cf;
  color: #7a5600;
  font-weight: 900;
}

.single-lesson-mode > .section-heading,
.single-lesson-mode > .learner-dashboard-grid,
.single-lesson-mode > .learner-portal-grid,
.single-lesson-mode > .lesson-heading {
  display: none;
}

#learnerPortalContent .rating-panel:empty,
#learnerPortalContent .readiness-panel:empty,
#learnerPortalContent .progress-panel:empty,
#learnerPortalContent .current-lesson-panel:empty,
#learnerPortalContent .action-panel:empty,
#learnerPortalContent .portal-record-panel:empty {
  display: none;
}

.premium-learner-portal {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  width: 100%;
}

.premium-learner-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  align-self: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 35, 75, 0.08);
}

.premium-learner-sidebar button {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--navy);
  font-weight: 900;
  text-align: left;
}

.premium-learner-sidebar button span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: #eef4fb;
  color: var(--navy);
  font-size: 0.76rem;
}

.premium-learner-sidebar button.active,
.premium-learner-sidebar button:hover {
  border-color: rgba(242, 182, 50, 0.42);
  background: #fff8e6;
}

.premium-learner-sidebar button.active span {
  background: var(--gold);
}

.premium-learner-main,
.premium-dashboard-main,
.premium-dashboard-side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.premium-learner-header {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(180px, 0.24fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(11, 31, 77, 0.96), rgba(20, 70, 150, 0.94)),
    var(--navy);
  color: #ffffff;
  box-shadow: 0 24px 56px rgba(11, 31, 77, 0.24);
}

.premium-profile-photo .learner-photo-large,
.premium-profile-photo .learner-avatar.large {
  width: 170px;
  height: 170px;
  min-width: 170px;
  border: 6px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 0 8px rgba(255, 255, 255, 0.12);
}

.premium-profile-main {
  display: grid;
  gap: 10px;
}

.premium-profile-main .eyebrow {
  color: var(--gold);
}

.premium-profile-main h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.premium-profile-main > strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.premium-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.premium-profile-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 900;
}

.premium-header-actions {
  display: grid;
  gap: 10px;
}

.premium-header-actions .primary-action,
.premium-header-actions .secondary-action {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}

.premium-header-actions .primary-action {
  background: var(--gold);
  color: var(--navy);
}

.premium-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.premium-kpi-card,
.premium-card {
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 35, 75, 0.08);
}

.premium-kpi-card {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
  border-top: 5px solid #dbe4ef;
}

.premium-kpi-card.green {
  border-top-color: #18a558;
}

.premium-kpi-card.gold {
  border-top-color: var(--gold);
}

.premium-kpi-card.amber {
  border-top-color: #f0a91f;
}

.premium-kpi-card span,
.premium-section-head .eyebrow,
.employment-timeline strong,
.next-lesson-focus span,
.premium-breakdown-list span,
.league-list span,
.learner-feedback-content span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-kpi-card strong {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
}

.premium-kpi-card p {
  margin: 0;
  color: #40536a;
  font-size: 0.9rem;
  line-height: 1.35;
}

.premium-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.premium-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.premium-section-head h4 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
}

.employment-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.employment-timeline article {
  display: grid;
  gap: 8px;
  min-width: 120px;
  padding: 14px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 14px;
  background: #f1f4f8;
}

.employment-timeline article span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #cfd8e3;
  color: var(--navy);
  font-weight: 900;
}

.employment-timeline article.complete {
  background: #eefaf3;
}

.employment-timeline article.complete span {
  background: #18a558;
  color: #ffffff;
}

.employment-timeline article.current {
  background: #fff8e6;
  border-color: rgba(242, 182, 50, 0.55);
}

.employment-timeline article.current span {
  background: var(--gold);
}

.next-lesson-focus {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, #fffaf0, #ffffff);
}

.next-lesson-focus strong {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.next-lesson-focus p,
.next-milestone-card p {
  margin: 0;
  color: #40536a;
  line-height: 1.5;
  font-weight: 800;
}

.premium-breakdown-list,
.league-list {
  display: grid;
  gap: 12px;
}

.premium-breakdown-list article {
  display: grid;
  gap: 8px;
}

.premium-breakdown-list article > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.premium-breakdown-list strong {
  color: var(--navy);
}

.premium-progress {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ecf3;
}

.premium-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18a558, #6fcf93);
}

.league-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f8fbff;
}

.league-list article.current {
  background: #fff8e6;
  outline: 2px solid rgba(242, 182, 50, 0.34);
}

.league-list strong {
  color: var(--navy);
}

.league-list em {
  color: #18a558;
  font-style: normal;
  font-weight: 900;
}

.learner-feedback-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.learner-feedback-content strong,
.learner-feedback-content span {
  display: block;
}

.learner-feedback-content strong {
  color: var(--navy);
}

.learner-feedback-content p {
  margin: 8px 0 0;
  color: #40536a;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .premium-learner-portal,
  .premium-learner-header,
  .premium-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .premium-learner-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .premium-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .premium-header-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .premium-learner-sidebar,
  .premium-kpi-grid,
  .premium-header-actions {
    grid-template-columns: 1fr;
  }

  .premium-learner-header {
    padding: 20px;
  }

  .premium-profile-photo .learner-photo-large,
  .premium-profile-photo .learner-avatar.large {
    width: 140px;
    height: 140px;
    min-width: 140px;
  }
}

.single-lesson-mode #lessonList {
  display: block;
  max-width: none;
}

.focused-lesson-page {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

.focused-lesson-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0B1F4D, #15366f);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 35, 63, 0.14);
}

.focused-lesson-topbar h3,
.focused-lesson-topbar p {
  margin: 0;
}

.focused-lesson-topbar .eyebrow {
  color: #F2B632;
}

/* Learner practical: expanded lesson card and four-stage guided journey */
.practical-journey-page {
  max-width: 1600px;
  gap: clamp(20px, 2.4vw, 34px);
  padding: clamp(16px, 2.8vw, 42px);
  scroll-behavior: smooth;
}

.practical-expanded-card {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(11,31,77,.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(11,31,77,.13);
}

.practical-expanded-card__media {
  display: grid;
  position: relative;
  min-height: 100%;
  overflow: hidden;
  place-items: center;
  background: linear-gradient(145deg,#102f55,#071a37);
}

.practical-expanded-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.practical-expanded-card__image-fallback { display: grid; gap: 8px; place-items: center; color: #e6c56d; font-size: 1.05rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.practical-expanded-card__image-fallback b { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid rgba(230,197,109,.6); border-radius: 18px; color: #fff; font-size: 1.35rem; letter-spacing: .03em; }

.practical-expanded-card__content {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: clamp(28px,4vw,58px);
  border-top: 7px solid #c8a96b;
  background: linear-gradient(145deg,#0b1f4d,#163b76);
  color: #fff;
}

.practical-expanded-card__content h2 { max-width: 17ch; margin: 0; color: #fff; font-size: clamp(2rem,4vw,3.7rem); line-height: 1; letter-spacing: -.035em; }
.practical-expanded-card__content .eyebrow { margin: 10px 0 0; color: #e8c969; }
.practical-expanded-card__phase { margin: 0; color: #d7e0ec; font-weight: 800; }
.practical-expanded-card__description { max-width: 66ch; margin: 10px 0; color: #eef3f8; font-size: clamp(1rem,1.5vw,1.14rem); line-height: 1.7; }
.practical-expanded-card__alignment { display: flex; flex-wrap: wrap; gap: 7px 12px; margin: 0; color: #dce5f0; font-size: .84rem; line-height: 1.45; }
.practical-expanded-card__alignment span { color: #e8c969; font-weight: 900; }
.practical-expanded-card__back { justify-self: start; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.practical-expanded-card__back:focus-visible { outline: 3px solid #f2b632; outline-offset: 5px; border-radius: 3px; }

.practical-expanded-card__progress { display: grid; grid-template-columns: 1fr auto; gap: 7px 18px; margin-top: 8px; color: #dce5f0; font-size: .85rem; }
.practical-expanded-card__progress strong { color: #fff; }
.practical-expanded-card__progress > div { grid-column: 1/-1; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.18); }
.practical-expanded-card__progress > div span { display: block; height: 100%; border-radius: inherit; background: #f2b632; }

.practical-journey-page .focused-lesson-topbar {
  grid-template-columns: auto minmax(280px, 1fr) minmax(240px, 360px);
  padding: clamp(20px, 3vw, 34px);
}

.practical-journey-hero-copy {
  display: grid;
  gap: 5px;
}

.practical-journey-hero-copy h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.55rem);
  line-height: 1.05;
}

.practical-journey-hero-progress {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.practical-journey-hero-progress span,
.practical-journey-hero-progress strong {
  display: block;
}

.practical-journey-hero-progress > span {
  color: #f7d676;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.practical-journey-hero-progress .mission-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
}

.practical-journey-hero-progress .mission-progress span {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2b632, #ffe398);
}

.practical-journey-nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 32px rgba(15,35,63,.1);
  backdrop-filter: blur(14px);
}

.practical-journey-nav a {
  display: flex;
  min-width: 0;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
  border-right: 1px solid #e6ebf2;
  color: #68768a;
  text-decoration: none;
}

.practical-journey-nav a:last-child { border-right: 0; }
.practical-journey-nav a.current { color: #0b1f4d; background: #fff7df; box-shadow: inset 0 -4px #f2b632; }
.practical-journey-nav a.complete { color: #0d634a; background: #eefaf5; }
.practical-journey-nav a:focus-visible { outline: 3px solid #2b74d6; outline-offset: -3px; }

.practical-journey-nav a > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: #e9eef4;
  font-size: .78rem;
  font-weight: 1000;
}

.practical-journey-nav a.current > span { background: #f2b632; }
.practical-journey-nav a.complete > span { color: #fff; background: #198765; }

.practical-journey-stage {
  scroll-margin-top: 100px;
  padding: clamp(24px, 3.6vw, 46px);
  border-top: 5px solid #0b1f4d;
}

.practical-journey-stage .lesson-step-heading > div { display: grid; gap: 3px; }
.practical-stage-intro { max-width: 76ch; color: #526176; font-size: 1.05rem; line-height: 1.7; }

.practical-demonstration-cinema,
.practical-demonstration-neutral {
  display: grid;
  min-height: clamp(300px, 52vw, 690px);
  overflow: hidden;
  place-items: center;
  border-radius: 22px;
  background: #07152f;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 18px 46px rgba(5,19,45,.18);
}

.practical-demonstration-cinema {
  min-height: 0;
  padding: clamp(18px,3vw,42px);
  background: radial-gradient(circle at 50% 45%,#18365f 0,#0a1d3d 48%,#06132c 100%);
}

.practical-demonstration-cinema video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh,860px);
  object-fit: contain;
  border-radius: 14px;
  background: #030914;
  box-shadow: 0 22px 54px rgba(0,0,0,.35);
}

.practical-demonstration-cinema.is-portrait video {
  width: auto;
  height: min(86vh,960px);
  max-width: 100%;
  max-height: min(86vh,960px);
}

.practical-demonstration-cinema.is-landscape video {
  width: min(100%,1280px);
  max-height: 76vh;
  aspect-ratio: 16/9;
}

.practical-demonstration-neutral {
  min-height: 340px;
  gap: 10px;
  align-content: center;
  padding: 30px;
  color: #fff;
  text-align: center;
}

.practical-demonstration-neutral strong { color: #f7d676; font-size: clamp(1.25rem, 3vw, 2rem); }
.practical-demonstration-neutral span { color: #d8e0ed; }

.practical-journey-loading,
.practical-journey-neutral {
  display: grid;
  min-height: 150px;
  gap: 8px;
  align-content: center;
  padding: 26px;
  border: 1px dashed #bdc9d8;
  border-radius: 18px;
  background: #f7f9fc;
  color: #526176;
  text-align: center;
}

.practical-journey-neutral strong { color: #0b1f4d; font-size: 1.15rem; }
.practical-journey-activity-list { display: grid; gap: 24px; }

.practical-journey-activity {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid #dfe6ef;
  border-radius: 20px;
  background: #f9fbfd;
}

.practical-digital-stage .practical-journey-activity,
.practical-digital-stage .interactive-practical-learner,
.practical-digital-stage .interactive-practical-learner-grid { width: 100%; max-width: none; }

.practical-digital-stage .interactive-practical-canvas { display: block; min-height: 0; }
.practical-digital-stage .interactive-practical-canvas > img { display: block; width: 100%; height: auto; min-height: 0; max-height: none; object-fit: contain; }

.practical-journey-activity > header {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.practical-journey-activity > header h4 { margin: 0; color: #0b1f4d; font-size: 1.25rem; }
.practical-journey-activity > header > span { padding: 7px 10px; border-radius: 999px; background: #e8eef7; color: #334257; font-size: .75rem; font-weight: 900; text-transform: capitalize; }

.practical-ready-panel {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 20px;
  background: linear-gradient(135deg, #0b1f4d, #17407c);
  color: #fff;
}

.practical-ready-panel h4,
.practical-ready-panel p { margin: 0; }
.practical-ready-panel h4 { color: #f7d676; font-size: 1.25rem; }
.practical-ready-panel p { margin-top: 7px; color: #e0e8f3; }
.practical-process-workspace { display: grid; gap: 14px; padding-top: 8px; }

.practical-evidence-requirements,
.practical-evidence-workspace,
.practical-evidence-submitted,
.practical-review-inline { display: grid; gap: 18px; padding-top: 12px; border-top: 1px solid #e1e7ef; }

.practical-evidence-card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 18px; }

.practical-evidence-card {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 16px;
  align-items: start;
  min-height: 220px;
  padding: 24px;
  border: 1px solid #dce4ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(11,31,77,.07);
}

.practical-evidence-card.is-uploaded { border-color: #77bca4; background: #f2fbf7; }
.practical-evidence-card__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: #0b1f4d; color: #f2b632; font-size: 1.3rem; }
.practical-evidence-card > div { display: grid; gap: 8px; }
.practical-evidence-card strong { color: #0b1f4d; font-size: 1.05rem; }
.practical-evidence-card p { color: #596a7e; line-height: 1.55; }
.practical-evidence-card em { color: #526176; font-size: .82rem; font-style: normal; font-weight: 850; }
.practical-evidence-card.is-uploaded em { color: #0d6d50; }
.practical-evidence-card__preview { grid-column: 1/-1; min-width: 0; overflow: hidden; border-radius: 12px; }
.practical-evidence-card__preview .evidence-preview-card { margin: 0; box-shadow: none; }
.practical-evidence-card > button { grid-column: 1/-1; align-self: end; width: 100%; }

.practical-review-stage { padding: 0; border: 0; }
.practical-review-stage > .lesson-review-section { border-top: 5px solid #0b1f4d; }

.interactive-practical-canvas { position: relative; }
.interactive-practical-palette-complete { padding: 18px; color: #176b48; font-weight: 850; line-height: 1.5; }
.interactive-practical-completion-effect {
  position: absolute;
  z-index: 1;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,229,133,.68) 0, rgba(242,182,50,.2) 34%, rgba(242,182,50,0) 72%);
  pointer-events: none;
  animation: practicalCircuitGlow 1.8s ease-in-out infinite alternate;
}

@keyframes practicalCircuitGlow {
  from { opacity: .55; transform: scale(.96); }
  to { opacity: 1; transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .interactive-practical-completion-effect { animation: none; }
}

@media (max-width: 1024px) {
  .practical-expanded-card { grid-template-columns: minmax(260px,.75fr) minmax(0,1.25fr); }
  .practical-journey-page .focused-lesson-topbar { grid-template-columns: auto minmax(0, 1fr); }
  .practical-journey-hero-progress { grid-column: 1 / -1; }
  .practical-journey-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); position: static; }
}

@media (max-width: 680px) {
  .practical-expanded-card { grid-template-columns: 1fr; }
  .practical-expanded-card__media { min-height: 240px; }
  .practical-journey-page .focused-lesson-topbar { grid-template-columns: 1fr; }
  .practical-journey-page .focused-lesson-topbar > .secondary-action { justify-self: start; }
  .practical-journey-hero-progress { grid-column: auto; }
  .practical-journey-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practical-journey-nav a:nth-child(2n) { border-right: 0; }
  .practical-journey-nav a:nth-child(-n+2) { border-bottom: 1px solid #e6ebf2; }
  .practical-journey-nav a strong { font-size: .78rem; }
  .practical-ready-panel,
  .practical-journey-activity > header { align-items: stretch; flex-direction: column; }
  .practical-ready-panel .primary-action { text-align: center; }
  .practical-demonstration-cinema,
  .practical-demonstration-neutral { min-height: 230px; }
  .practical-demonstration-cinema { min-height: 0; padding: 10px; }
  .practical-demonstration-cinema.is-portrait video { width: 100%; height: auto; max-height: 84vh; }
}

.focused-lesson-page .task-group > h4 {
  display: none;
}

.focused-lesson-page .task-workbook {
  max-width: none;
  margin: 0;
}

.focused-lesson-page .lesson-workbook-page {
  display: grid;
  gap: 20px;
  max-width: 1080px;
}

.lesson-image-workbook {
  display: grid;
  gap: 24px;
  width: 100%;
}

.lesson-step-card,
.lesson-section-card {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(15, 35, 63, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 35, 63, 0.08);
  box-sizing: border-box;
}

.lesson-step-card h3,
.lesson-step-card p,
.lesson-section-card h3,
.lesson-section-card p {
  margin: 0;
}

.lesson-step-card h3,
.lesson-section-card h3 {
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.lesson-step-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.lesson-step-heading > span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lesson-step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lesson-step-meta strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.lesson-step-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef3f8;
  color: #334257;
  font-size: 0.85rem;
  font-weight: 900;
}

.lesson-task-summary {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-left: 6px solid var(--gold);
  border-radius: 16px;
  background: #fff8df;
}

.lesson-task-summary strong {
  color: var(--navy);
}

.lesson-image-frame {
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d8e1ec;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 35, 63, 0.08);
}

.lesson-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
}

.lesson-task-instructions {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3.5vw, 34px);
  border: 1px solid rgba(15, 35, 63, 0.1);
  border-radius: 24px;
  background: #f7f9fc;
  box-shadow: 0 12px 30px rgba(15, 35, 63, 0.07);
}

.curriculum-preview-instructions {
  display: grid;
  gap: 16px;
  margin: 20px 0;
}

.lesson-task-instructions > section {
  min-width: 0;
  border-radius: 20px;
}

.practical-instruction-overview {
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid rgba(13, 43, 107, 0.1);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(13, 43, 107, 0.05);
}

.practical-instruction-process {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #dfe6ef;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(15, 35, 63, 0.07);
}

.practical-instruction-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.practical-overview-heading {
  margin-bottom: 10px;
}

.practical-overview-heading small {
  color: #9a6b0b;
}

.practical-instruction-heading small {
  display: block;
  margin-bottom: 3px;
  color: #69788d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practical-instruction-heading h4 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  line-height: 1.15;
}

.practical-instruction-description {
  max-width: 76ch;
  margin: 0;
  color: #2e4058;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
}

.practical-process-heading {
  justify-content: space-between;
  margin-bottom: 22px;
}

.practical-process-heading small {
  color: #9a6b0b;
}

.practical-process-heading h4 {
  color: var(--navy);
}

.practical-process-heading p {
  margin: 6px 0 0;
  color: #69788d;
  font-size: 0.94rem;
  line-height: 1.5;
}

.practical-step-count {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid #e6d18d;
  border-radius: 999px;
  background: #fffaf0;
  color: #75520c;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.practical-instruction-process ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: practical-step;
}

.practical-instruction-process li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 58px;
  position: relative;
  padding: 0 0 22px;
  background: transparent;
  counter-increment: practical-step;
}

.practical-instruction-process li:last-child {
  padding-bottom: 0;
}

.practical-instruction-process li:not(:last-child)::after {
  position: absolute;
  top: 42px;
  bottom: 4px;
  left: 18px;
  width: 2px;
  border-radius: 999px;
  background: #dce4ee;
  content: "";
}

.practical-instruction-process li::before {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #e1b94f;
  border-radius: 50%;
  background: #fffaf0;
  color: var(--navy);
  content: counter(practical-step, decimal-leading-zero);
  font-size: 0.76rem;
  font-weight: 900;
}

.practical-instruction-process li > span {
  max-width: 82ch;
  padding: 7px 0 18px;
  color: #2e4058;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .lesson-task-instructions {
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
  }

  .practical-instruction-overview,
  .practical-instruction-process {
    padding: 18px;
    border-radius: 16px;
  }

  .practical-instruction-process li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 0 0 18px;
  }

  .practical-instruction-process li::before {
    width: 34px;
    height: 34px;
  }

  .practical-instruction-process li:not(:last-child)::after {
    top: 38px;
    left: 16px;
  }

  .practical-process-heading {
    align-items: flex-start;
  }

  .practical-step-count {
    white-space: normal;
  }
}

.lesson-image-placeholder,
.lesson-image-missing {
  width: 100%;
  min-height: 220px;
  margin: 0;
  display: grid;
  place-items: center;
  color: #5b6778;
  font-weight: 900;
  text-align: center;
  background: #f6f8fb;
}

.lesson-guide-list {
  display: grid;
  gap: 14px;
}

.lesson-guide-row {
  display: grid;
  grid-template-columns: 86px minmax(170px, 0.28fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  background: #f8fafc;
}

.lesson-guide-icon {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #0B1F4D;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.lesson-guide-row h4 {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lesson-guide-row ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-guide-row li {
  position: relative;
  padding-left: 24px;
  color: #334257;
  font-weight: 800;
  line-height: 1.35;
}

.lesson-guide-row li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #18A558;
  font-weight: 900;
}

.lesson-workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.lesson-workbook-main,
.lesson-action-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.lesson-outcome-card,
.lesson-resource-card,
.lesson-action-panel {
  padding: 22px;
  border: 1px solid rgba(15, 35, 63, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 35, 63, 0.07);
}

.lesson-outcome-card h3,
.lesson-outcome-card p,
.lesson-resource-card h4,
.lesson-action-panel h4,
.lesson-action-panel p {
  margin: 0;
}

.lesson-outcome-card h3,
.lesson-resource-card h4,
.lesson-action-panel h4 {
  color: var(--navy);
}

.lesson-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lesson-resource-card ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.lesson-resource-card li {
  position: relative;
  padding-left: 24px;
  color: #334257;
  font-weight: 800;
  line-height: 1.35;
}

.lesson-resource-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #18A558;
  font-weight: 900;
}

.lesson-upload-zone {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 2px dashed #b7c5d7;
  border-radius: 18px;
  background: #f7f9fc;
  text-align: center;
}

.upload-diagnostic-panel {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  background: #f8fafc;
  color: #071b4d;
  font-size: 12px;
}

html:not(.evidence-debug-enabled) .upload-diagnostic-panel {
  display: none !important;
}

.upload-diagnostic-panel summary {
  cursor: pointer;
  font-weight: 900;
}

.upload-diagnostic-panel div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.upload-diagnostic-panel span {
  color: #64748b;
  font-weight: 800;
}

.upload-diagnostic-panel strong {
  color: #071b4d;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.lesson-upload-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.lesson-upload-card {
  position: relative;
  display: grid;
  min-height: 130px;
  place-items: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid #d8e1ec;
  border-radius: 18px;
  background: #ffffff;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 35, 63, 0.06);
}

button.lesson-upload-card {
  width: 100%;
  border: 1px solid #d8e1ec;
  font-family: inherit;
  text-align: center;
}

button.lesson-upload-card:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.lesson-upload-card::before {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #fff8df;
  color: var(--navy);
  font-size: 1.5rem;
}

.lesson-upload-card.photo::before {
  content: "📷";
}

.lesson-upload-card.video::before {
  content: "🎥";
}

.lesson-upload-card.document::before {
  content: "📄";
}

.lesson-upload-card span {
  color: #5b6778;
  font-size: 0.82rem;
  font-weight: 900;
}

.lesson-upload-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.lesson-hidden-upload-input {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.submitted-evidence-panel {
  border-color: rgba(245, 158, 11, 0.34);
  background: #fffbeb;
}

.submitted-evidence-list {
  display: grid;
  gap: 12px;
}

.submitted-review-confirmation {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  background: #ecfdf3;
  color: #166534;
}

.submitted-review-confirmation strong {
  font-size: 1rem;
  font-weight: 1000;
}

.submitted-review-confirmation p {
  margin: 0;
  color: #166534;
  font-weight: 800;
}

.submitted-review-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.submitted-review-facts div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fff7e6;
}

.submitted-review-facts span {
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.submitted-review-facts strong {
  color: #071b4d;
  font-size: 0.9rem;
}

.primary-action.submitted-review-button,
.primary-action.submitted-review-button:disabled {
  border-color: #22c55e;
  background: #22c55e;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 1;
}

.uploaded-evidence-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #ffffff;
}

.panel-head.compact {
  margin: 0;
}

.evidence-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  gap: 14px;
}

.evidence-preview-card {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 10px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(5, 19, 50, 0.08);
}

.evidence-preview-media {
  display: flex;
  width: 100%;
  height: 160px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f1f5f9;
}

.evidence-preview-media img,
.evidence-preview-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evidence-preview-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.evidence-preview-open img {
  transition: transform 0.18s ease;
}

.evidence-preview-open:hover img {
  transform: scale(1.03);
}

.evidence-media-large {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 14px;
  background: #f8fafc;
}

.document-file-icon {
  display: grid;
  width: 74px;
  height: 88px;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 1000;
}

.evidence-preview-body {
  display: grid;
  gap: 6px;
  padding-top: 10px;
}

.evidence-open-link {
  width: fit-content;
  min-height: 0;
  padding: 7px 11px;
  font-size: 0.78rem;
}

.evidence-empty-state {
  margin: 0;
  border: 1px dashed rgba(11, 31, 77, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.evidence-file-name {
  margin-top: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.evidence-preview-body span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.status-badge.uploaded,
.status-badge.submitted {
  background: #dcfce7;
  color: #166534;
}

.status-badge.uploading {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge.failed {
  background: #fee2e2;
  color: #991b1b;
}

.evidence-upload-progress {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.evidence-upload-progress span {
  display: block;
  width: 65%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d4ed8, #60a5fa);
  animation: upload-progress-pulse 1.1s ease-in-out infinite alternate;
}

@keyframes upload-progress-pulse {
  from {
    transform: translateX(-20%);
  }

  to {
    transform: translateX(45%);
  }
}

.submitted-evidence-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(120px, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.submitted-evidence-row.compact {
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(120px, 1fr));
  border-color: #bbf7d0;
  background: #ecfdf3;
}

.submitted-evidence-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.submitted-evidence-row span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.submitted-evidence-row strong {
  overflow-wrap: anywhere;
  color: #071b4d;
  font-size: 0.86rem;
}

.submitted-status-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.submitted-status-timeline article {
  display: grid;
  gap: 8px;
  min-height: 98px;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #ffffff;
}

.submitted-status-timeline article > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-weight: 1000;
}

.submitted-status-timeline strong {
  display: block;
  color: #071b4d;
  font-size: 0.86rem;
}

.submitted-status-timeline em {
  color: #64748b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.submitted-status-timeline .complete {
  border-color: #bbf7d0;
  background: #ecfdf3;
}

.submitted-status-timeline .complete > span {
  background: #22c55e;
  color: #ffffff;
}

.submitted-status-timeline .awaiting {
  border-color: #fed7aa;
  background: #fff7e6;
}

.submitted-status-timeline .awaiting > span {
  background: #f59e0b;
  color: #1f2937;
}

.submitted-status-timeline .pending {
  background: #f8fafc;
}

.qr-marking-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(180px, 0.8fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(216, 167, 44, 0.36);
  border-left: 6px solid var(--gold);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.qr-marking-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.qr-code-frame {
  display: grid;
  place-items: center;
  min-width: 198px;
  min-height: 198px;
  padding: 9px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #f8fafc;
}

.qr-code-frame img {
  width: 180px;
  height: 180px;
}

.qr-fallback {
  max-width: 180px;
  margin: 0;
  color: #92400e;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.qr-details {
  display: grid;
  gap: 6px;
}

.qr-details strong {
  color: var(--navy);
  font-size: 1rem;
}

.qr-details span,
.qr-details a {
  color: #475569;
  font-size: 0.88rem;
  font-weight: 800;
}

.mark-submission-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: auto;
  padding: 28px;
  background: rgba(7, 27, 77, 0.72);
}

.mark-submission-panel {
  display: grid;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(216, 167, 44, 0.28);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.mark-submission-panel.error {
  border-color: #fecaca;
}

.mark-submission-panel.warning {
  border-color: #fed7aa;
}

.try-again-reset-panel {
  max-width: 820px;
}

.try-again-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.try-again-choice-grid label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.try-again-choice-grid select {
  min-height: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0 12px;
  color: var(--navy);
  font-weight: 800;
}

.try-again-feedback-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #fed7aa;
  border-left: 6px solid #f59e0b;
  border-radius: 14px;
  background: #fff7e6;
  color: #92400e;
}

.try-again-feedback-card h4,
.try-again-feedback-card p {
  margin: 0;
}

.previous-attempt-feedback {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.mark-submission-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.mark-submission-facts div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  background: #f8fafc;
}

.mark-submission-facts span,
.mark-submission-section h4 {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mark-submission-facts strong {
  color: var(--navy);
}

.mark-submission-section {
  display: grid;
  gap: 12px;
}

.mark-submission-section h4 {
  margin: 0;
}

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

.marking-criteria-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--navy);
  font-weight: 900;
}

.tutor-learner-search-section {
  display: grid;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
  padding: 28px;
  box-sizing: border-box;
  border: 1px solid rgba(11, 31, 77, 0.13);
  border-radius: 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%),
    radial-gradient(circle at 100% 0%, rgba(11, 31, 77, 0.07), transparent 16rem);
  box-shadow: 0 28px 62px rgba(15, 35, 75, 0.13), 0 10px 24px rgba(15, 23, 42, 0.05);
  margin-top: 26px;
}

.tutor-universal-search {
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 1.15rem 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% -28%, rgba(79, 137, 195, 0.22), transparent 34%) padding-box,
    radial-gradient(circle at 96% -18%, rgba(209, 163, 48, 0.12), transparent 28%) padding-box,
    linear-gradient(145deg, #0b2952 0%, #081f43 48%, #061a38 100%) padding-box,
    linear-gradient(118deg, #b98822 0%, #e1ba57 34%, #9d7625 61%, #d2a83f 100%) border-box;
  box-shadow:
    0 30px 62px rgba(4, 19, 43, 0.22),
    0 9px 21px rgba(4, 19, 43, 0.13),
    0 2px 5px rgba(4, 19, 43, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(1, 10, 27, 0.28);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.tutor-universal-search::before {
  position: absolute;
  top: -1px;
  right: clamp(1.4rem, 4vw, 3.2rem);
  left: clamp(1.4rem, 4vw, 3.2rem);
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(193, 144, 34, 0.54) 15%, rgba(238, 204, 112, 0.96) 48%, rgba(199, 151, 42, 0.62) 84%, transparent 100%);
  box-shadow: 0 1px 7px rgba(214, 170, 60, 0.18);
  content: "";
  pointer-events: none;
}

.tutor-universal-search:focus-within {
  background:
    radial-gradient(circle at 10% -28%, rgba(83, 153, 219, 0.27), transparent 34%) padding-box,
    radial-gradient(circle at 96% -18%, rgba(220, 176, 60, 0.15), transparent 28%) padding-box,
    linear-gradient(145deg, #0c2c58 0%, #092449 48%, #071d3d 100%) padding-box,
    linear-gradient(118deg, #c09027 0%, #e8c66c 34%, #aa812b 61%, #ddb652 100%) border-box;
  box-shadow:
    0 32px 66px rgba(4, 22, 49, 0.25),
    0 10px 23px rgba(4, 22, 49, 0.15),
    0 2px 5px rgba(4, 22, 49, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(1, 10, 27, 0.3);
}

.tutor-universal-search-heading .eyebrow {
  color: #e7bd54;
  letter-spacing: 0.055em;
}

.tutor-universal-search-heading h4 {
  margin: 0.2rem 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.tutor-universal-search-heading p:last-child {
  margin: 0;
  color: #dce7f4;
  font-weight: 520;
}

.tutor-universal-search-combobox {
  position: relative;
  margin-top: 1rem;
  min-width: 0;
}

.tutor-universal-search-combobox > label {
  display: block;
  margin-bottom: 0.5rem;
  color: #f7faff;
  font-weight: 800;
}

.tutor-universal-search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.35rem;
  border: 2px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%) padding-box,
    linear-gradient(135deg, #7896b5 0%, #c5d4e3 44%, #a8bdd1 72%, #b58a2a 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(66, 103, 143, 0.075),
    0 11px 25px rgba(8, 34, 79, 0.115),
    0 2px 5px rgba(8, 34, 79, 0.055);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.tutor-universal-search-field:focus-within {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #075a9b 0%, #2984c8 58%, #70add7 100%) border-box;
  box-shadow:
    0 0 0 4px rgba(18, 105, 178, 0.2),
    0 15px 31px rgba(8, 48, 94, 0.17),
    0 3px 8px rgba(8, 48, 94, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.tutor-universal-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  z-index: 1;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.28rem;
  transform: translateY(-50%);
  fill: none;
  border: 1px solid rgba(66, 104, 145, 0.2);
  border-radius: 10px;
  background: linear-gradient(180deg, #f5f9fd 0%, #e7f0f9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 2px 5px rgba(8, 48, 94, 0.08);
  stroke: #285a87;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: stroke 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.tutor-universal-search-field:focus-within .tutor-universal-search-icon {
  border-color: rgba(15, 98, 169, 0.32);
  background: linear-gradient(180deg, #edf7ff 0%, #dceeff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 2px 7px rgba(15, 98, 169, 0.14);
  stroke: #07558f;
}

.tutor-universal-search-field input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.75rem 0.8rem 0.75rem 2.65rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: #081f48;
  font: inherit;
  font-weight: 650;
  text-overflow: ellipsis;
}

.tutor-universal-search-field input::placeholder {
  color: #60758b;
  font-weight: 560;
  opacity: 1;
}

.tutor-universal-search-field input:focus-visible {
  outline: none;
}

.tutor-universal-search-clear {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid #c8a13a;
  border-radius: 12px;
  background: #fffaf0;
  color: #082650;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(8, 34, 79, 0.06);
  transition: border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.tutor-universal-search-clear:hover,
.tutor-universal-search-clear:focus-visible {
  border-color: #1766ad;
  background: #f4f9ff;
  box-shadow: 0 0 0 3px rgba(23, 102, 173, 0.13);
  outline: none;
}

.tutor-universal-search-results {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
  max-height: 32rem;
  margin-top: 0.65rem;
  padding: 0.6rem;
  overflow-y: auto;
  box-sizing: border-box;
  border: 1px solid #acbfd3;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow:
    0 23px 46px rgba(8, 31, 72, 0.155),
    0 4px 12px rgba(8, 31, 72, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(73, 104, 139, 0.05);
}

.tutor-universal-search-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid #cedbe8;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
  color: #082650;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 5px 13px rgba(8, 31, 72, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.tutor-universal-search-result:hover,
.tutor-universal-search-result.is-active,
.tutor-universal-search-result:focus-visible {
  border-color: #397fba;
  background: linear-gradient(180deg, #f4f9ff 0%, #eaf4fd 100%);
  box-shadow:
    0 0 0 3px rgba(15, 98, 169, 0.16),
    0 10px 22px rgba(8, 48, 94, 0.12),
    inset 3px 0 0 #1766ad;
  outline: none;
}

.tutor-universal-search-result .learner-avatar {
  border-color: rgba(185, 136, 26, 0.58);
  background: linear-gradient(145deg, #fffdf6 0%, #f8edcb 100%);
  box-shadow:
    0 0 0 3px rgba(218, 170, 52, 0.1),
    0 4px 10px rgba(8, 31, 72, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.tutor-universal-search-result-copy {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.tutor-universal-search-result-copy strong,
.tutor-universal-search-result-copy small {
  overflow-wrap: anywhere;
}

.tutor-universal-search-result-copy strong {
  color: #071f49;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.tutor-universal-search-result-copy small {
  color: #5b6e85;
  font-size: 0.8rem;
  font-weight: 650;
}

.tutor-universal-search-result-action {
  color: #0b5797;
  font-weight: 800;
}

.tutor-universal-search-message {
  margin: 0;
  padding: 1rem;
  border: 1px solid #e2e9f1;
  border-radius: 12px;
  background: #f7f9fc;
  color: #53677f;
  font-weight: 650;
}

@media (hover: hover) and (pointer: fine) {
  .tutor-universal-search-field:hover {
    background:
      linear-gradient(180deg, #ffffff 0%, #f7faff 100%) padding-box,
      linear-gradient(135deg, #5f83a8 0%, #adc2d6 45%, #8facbf 74%, #ad8126 100%) border-box;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      inset 0 -1px 0 rgba(66, 103, 143, 0.07),
      0 13px 28px rgba(8, 34, 79, 0.135),
      0 3px 7px rgba(8, 34, 79, 0.07);
  }

  .tutor-universal-search-field:hover:focus-within {
    background:
      linear-gradient(#ffffff, #ffffff) padding-box,
      linear-gradient(135deg, #075a9b 0%, #2984c8 58%, #70add7 100%) border-box;
    box-shadow:
      0 0 0 4px rgba(15, 98, 169, 0.22),
      0 14px 30px rgba(8, 48, 94, 0.17),
      0 3px 8px rgba(8, 48, 94, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tutor-universal-search,
  .tutor-universal-search-field,
  .tutor-universal-search-icon,
  .tutor-universal-search-clear,
  .tutor-universal-search-result {
    transition: none;
  }
}

@media (max-width: 680px) {
  .tutor-universal-search {
    border-radius: 18px;
  }

  .tutor-universal-search-result {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tutor-universal-search-result-action {
    grid-column: 2;
  }
}

.tutor-queue-overview .tutor-learner-search-section {
  margin-top: 0;
}

.tutor-learner-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 14px 30px rgba(5, 19, 50, 0.07);
}

.tutor-learner-search-controls input {
  min-width: 0;
  min-height: 60px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(11, 31, 77, 0.14);
  border-radius: 20px;
  padding: 0 18px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 10px 22px rgba(15, 23, 42, 0.05);
}

.tutor-learner-search-controls input::placeholder {
  color: rgba(11, 31, 77, 0.45);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.tutor-learner-search-controls input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(242, 182, 50, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 12px 24px rgba(15, 23, 42, 0.08);
}

.tutor-learner-search-controls .primary-action,
.tutor-learner-search-controls .secondary-action {
  min-height: 52px;
  border-radius: 18px;
  font-weight: 1000;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tutor-learner-search-controls .primary-action {
  border: 1px solid rgba(183, 121, 31, 0.45);
  background: linear-gradient(180deg, #ffd86b 0%, var(--gold) 100%);
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(183, 121, 31, 0.2);
}

.tutor-learner-search-controls .secondary-action {
  border: 1px solid rgba(11, 31, 77, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--navy);
  box-shadow: 0 10px 20px rgba(5, 19, 50, 0.08);
}

.tutor-learner-search-controls .primary-action:hover,
.tutor-learner-search-controls .secondary-action:hover {
  border-color: rgba(242, 182, 50, 0.68);
  box-shadow: 0 15px 28px rgba(5, 19, 50, 0.13), 0 0 0 3px rgba(242, 182, 50, 0.15);
  transform: translateY(-1px);
}

.tutor-learner-search-controls .primary-action:active,
.tutor-learner-search-controls .secondary-action:active {
  transform: scale(0.98);
}

.tutor-search-action-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
}

.tutor-search-action-bar button {
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid rgba(242, 182, 50, 0.72);
  border-radius: 18px;
  background: linear-gradient(180deg, #12306b 0%, #061842 100%);
  color: #ffffff;
  font-weight: 1000;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(6, 24, 66, 0.16);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.tutor-search-action-bar button:hover,
.tutor-search-action-bar button.active {
  border-color: rgba(242, 182, 50, 0.95);
  box-shadow: 0 18px 34px rgba(6, 24, 66, 0.22), 0 0 0 3px rgba(242, 182, 50, 0.16);
  transform: translateY(-1px);
}

.tutor-search-action-bar button.active {
  background: linear-gradient(180deg, #0f4c8a 0%, #061842 100%);
}

.tutor-search-choice-empty {
  padding: 18px;
  border: 1px dashed rgba(11, 31, 77, 0.2);
  border-radius: 18px;
  background: #ffffff;
}

.tutor-search-choice-empty p {
  margin: 0;
  color: rgba(11, 31, 77, 0.72);
  font-weight: 900;
  text-align: center;
}

.learner-marking-record-card,
.tutor-lesson-review-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #dbe3ef;
  border-radius: 24px;
  background: #f8fafc;
}

.tutor-learner-lesson-list {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.tutor-learner-lesson-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
  padding: 14px;
  box-sizing: border-box;
  border: 1px solid #dbe3ef;
  border-left: 6px solid #94a3b8;
  border-radius: 14px;
  background: #ffffff;
}

.tutor-learner-lesson-row.awaiting-tutor-review {
  border-left-color: #f0ad00;
  background: #fff8e8;
}

.mark-card--saved {
  position: relative;
  background: #e8f7ee;
  border: 2px solid #22c55e;
  border-left-width: 6px;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.mark-card--saved::before {
  content: "Updated";
  position: absolute;
  left: 14px;
  top: -12px;
  display: inline-block;
  background: #22c55e;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
}

.tutor-learner-lesson-row.completed {
  border-left-color: #2ca44f;
  background: #edf8f0;
}

.tutor-learner-lesson-row.requires-more-evidence,
.tutor-learner-lesson-row.not-yet-competent,
.tutor-learner-lesson-row.try-again-required {
  border-left-color: #d93025;
  background: #fff0f0;
}

.tutor-learner-lesson-row.evidence-uploaded,
.tutor-learner-lesson-row.open {
  border-left-color: #2563eb;
  background: #eef5ff;
}

.tutor-learner-lesson-row.locked {
  border-left-color: #bfc6d1;
  background: #f5f6f8;
}

.tutor-learner-lesson-row.mark-card--saved {
  background: #e8f7ee;
  border-color: #22c55e;
  border-left-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.tutor-learner-lesson-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  align-content: start;
}

.tutor-learner-lesson-row span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tutor-learner-lesson-row strong {
  min-width: 0;
  color: var(--navy);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.lesson-row-actions {
  display: flex !important;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
  align-content: center !important;
}

.lesson-row-actions button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.74rem;
}

.tutor-progress-summary-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.tutor-progress-summary-bar article {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dbe3ef;
  border-left: 5px solid #94a3b8;
  border-radius: 14px;
  background: #ffffff;
}

.tutor-progress-summary-bar article.completed {
  border-left-color: #2ca44f;
  background: #edf8f0;
}

.tutor-progress-summary-bar article.awaiting {
  border-left-color: #f0ad00;
  background: #fff8e8;
}

.tutor-progress-summary-bar article.current {
  border-left-color: #2563eb;
  background: #eef5ff;
}

.tutor-progress-summary-bar article.locked {
  border-left-color: #bfc6d1;
  background: #f5f6f8;
}

.tutor-progress-summary-bar article.try-again {
  border-left-color: #d93025;
  background: #fff0f0;
}

.tutor-progress-summary-bar span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tutor-progress-summary-bar strong {
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1;
}

.tutor-review-modal-panel {
  width: 100%;
  max-width: min(1180px, 100%);
  box-sizing: border-box;
}

.criteria-standards-grid,
.tutor-evidence-viewer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.criteria-standards-grid article,
.tutor-evidence-viewer-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #f8fafc;
}

.criteria-standards-grid article.bronze {
  border-left: 5px solid #b45309;
}

.criteria-standards-grid article.silver {
  border-left: 5px solid #64748b;
}

.criteria-standards-grid article.gold {
  border-left: 5px solid #d8a72c;
}

.criteria-standards-grid h4,
.criteria-standards-grid ul,
.criteria-safety-list {
  margin: 0;
}

.readonly-criteria {
  opacity: 0.82;
}

.tutor-evidence-viewer-card .evidence-media,
.tutor-evidence-viewer-card img,
.tutor-evidence-viewer-card video {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
}

.file-preview-placeholder {
  display: grid;
  min-height: 160px;
  place-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

.tutor-evidence-viewer-card div {
  display: grid;
  gap: 4px;
}

.tutor-evidence-viewer-card span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
}

.tutor-audit-timeline {
  display: grid;
  gap: 10px;
}

.tutor-audit-timeline article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  padding: 14px;
  box-sizing: border-box;
  border: 1px solid #dbe3ef;
  border-left: 5px solid #2563eb;
  border-radius: 14px;
  background: #ffffff;
}

.tutor-audit-timeline span,
.tutor-audit-timeline em {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
}

.tutor-audit-timeline p {
  margin: 4px 0;
  color: var(--navy);
}

.warning-panel {
  padding: 14px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fff7e6;
  color: #92400e;
}

.warning-panel p {
  margin: 4px 0 0;
}

.lesson-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.lesson-check-item {
  display: grid;
  gap: 8px;
  min-height: 94px;
  align-content: center;
  padding: 14px;
  border: 1px solid #d8e1ec;
  border-radius: 16px;
  background: #f8fafc;
  color: #5b6778;
  font-weight: 900;
}

.lesson-check-item span {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 1000;
}

.lesson-check-item.complete {
  border-color: rgba(24, 165, 88, 0.35);
  background: #e8f8ef;
  color: #12633a;
}

.lesson-progress-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
}

.lesson-progress-summary > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy);
  font-weight: 1000;
}

.lesson-step-progress {
  overflow: hidden;
  height: 14px;
  border-radius: 999px;
  background: #dde6f0;
}

.lesson-step-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18A558, #67c985);
}

.lesson-review-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.lesson-review-step {
  display: grid;
  gap: 8px;
  min-height: 92px;
  align-content: center;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #d8e1ec;
  background: #f2f5f8;
  color: #5b6778;
  font-weight: 900;
}

.lesson-review-step span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #d8e1ec;
  color: var(--navy);
  font-weight: 1000;
}

.lesson-review-step.active,
.lesson-review-step.complete {
  border-color: rgba(27, 107, 196, 0.25);
  background: #ecfdf3;
  color: #166534;
}

.lesson-review-step.complete {
  border-color: #bbf7d0;
}

.lesson-review-step.complete span {
  background: #22c55e;
  color: #ffffff;
}

.lesson-review-step.awaiting {
  border-color: rgba(242, 182, 50, 0.45);
  background: #fff8df;
  color: #7a5600;
}

.lesson-review-step.approved {
  border-color: rgba(24, 165, 88, 0.35);
  background: #e8f8ef;
  color: #12633a;
}

.lesson-approved-section {
  border-color: rgba(242, 182, 50, 0.55);
  background: linear-gradient(135deg, #fff8df, #ffffff);
}

.lesson-approved-banner {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: #0B1F4D;
  color: #ffffff;
}

.lesson-approved-banner > span {
  font-size: 2.2rem;
}

.lesson-approved-banner h3 {
  color: #ffffff;
}

/* Tutor Progress & Intervention */
.progress-intervention-page,
.intervention-profile-page {
  display: grid;
  gap: 22px;
  width: 100%;
}

.progress-intervention-hero,
.intervention-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0B1F4D, #173B75);
  color: #ffffff;
}

.progress-intervention-hero h3,
.progress-intervention-hero p,
.intervention-profile-hero h3,
.intervention-profile-hero p {
  margin: 0;
}

.progress-intervention-hero .eyebrow,
.intervention-profile-hero .eyebrow {
  color: #F2B632;
}

.intervention-profile-hero {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.intervention-summary-grid,
.weekly-report-grid,
.intervention-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.intervention-summary-grid article,
.weekly-report-grid article,
.intervention-profile-grid article,
.intervention-detail-card,
.guidance-template-card,
.record-intervention-card,
.intervention-history-card,
.intervention-list-panel,
.weekly-report-card {
  padding: 18px;
  border: 1px solid rgba(15, 35, 63, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 35, 63, 0.07);
}

.intervention-summary-grid span,
.weekly-report-grid span,
.intervention-profile-grid span {
  display: block;
  color: #5b6778;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intervention-summary-grid strong,
.weekly-report-grid strong,
.intervention-profile-grid strong {
  color: #0B1F4D;
  font-size: 1.55rem;
}

.intervention-summary-grid .green {
  border-color: rgba(24, 165, 88, 0.35);
  background: #e8f8ef;
}

.intervention-summary-grid .amber {
  border-color: rgba(242, 182, 50, 0.45);
  background: #fff8df;
}

.intervention-summary-grid .red {
  border-color: rgba(211, 47, 47, 0.25);
  background: #fff0f0;
}

.intervention-summary-grid .blue {
  border-color: rgba(27, 107, 196, 0.25);
  background: #eef6ff;
}

.intervention-list-panel {
  display: grid;
  gap: 10px;
  overflow-x: auto;
}

.intervention-list-head,
.intervention-learner-row > button {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 92px minmax(140px, 1fr) 80px minmax(220px, 1.4fr) 130px 120px minmax(150px, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 1060px;
}

.intervention-list-head {
  color: #5b6778;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intervention-learner-row > button {
  width: 100%;
  padding: 14px;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  background: #ffffff;
  color: #334257;
  text-align: left;
  cursor: pointer;
}

.intervention-learner-row.green > button {
  border-left: 8px solid #18A558;
}

.intervention-learner-row.amber > button {
  border-left: 8px solid #F2B632;
}

.intervention-learner-row.red > button {
  border-left: 8px solid #d32f2f;
}

.intervention-learner-row.blue > button {
  border-left: 8px solid #1b6bc4;
}

.intervention-status-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 1000;
}

.intervention-status-badge.green {
  background: #18A558;
}

.intervention-status-badge.amber {
  background: #F2B632;
  color: #0B1F4D;
}

.intervention-status-badge.red {
  background: #d32f2f;
}

.intervention-status-badge.blue {
  background: #1b6bc4;
}

.utc-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
  white-space: nowrap;
}

.utc-status-badge.green {
  background: #dcfce7;
  color: #166534;
}

.utc-status-badge.amber {
  background: #fff7e6;
  color: #92400e;
}

.utc-status-badge.redamber {
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #f97316;
}

.utc-status-badge.blue {
  background: #dbeafe;
  color: #1e40af;
}

.school-dashboard-shell,
.school-cohort-dashboard {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: 22px;
  background: #f8fafc;
}

#employerView.school-view-active > .section-heading {
  display: none;
}

#employerView.employer-dashboard-active > .section-heading {
  display: none;
}

.school-cohort-dashboard .dashboard-section {
  margin-bottom: 0;
  max-width: 100%;
  min-width: 0;
}

.school-cohort-hero {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 20px;
  background: linear-gradient(135deg, #071b4d, #041236);
  border-bottom: 3px solid #d9a21b;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 27, 77, 0.14);
}

.school-hero-card {
  position: relative;
  min-height: 360px;
  border: 2px solid #d4af37;
  background: #071b4d;
  box-shadow:
    0 18px 42px rgba(3, 18, 58, 0.24),
    0 8px 18px rgba(212, 175, 55, 0.12),
    0 0 0 1px rgba(212, 175, 55, 0.28);
}

.school-hero-card::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), #d4af37, rgba(212, 175, 55, 0.25));
  z-index: 3;
}

.school-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 18, 58, 0.92) 0%,
    rgba(3, 18, 58, 0.76) 45%,
    rgba(3, 18, 58, 0.35) 100%
  );
  z-index: 1;
}

.school-hero-card__image {
  position: absolute;
  inset: 0;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center center;
  transform: scale(0.94);
  transform-origin: center center;
  z-index: 0;
}

.school-hero-card > *:not(.school-hero-card__image) {
  position: relative;
  z-index: 2;
}

.school-cohort-hero h3,
.school-cohort-hero p {
  margin: 0;
}

.school-cohort-hero h3 {
  margin: 6px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.school-cohort-hero .eyebrow {
  color: #f5b41b;
}

.school-cohort-hero .partner-logo-card {
  width: fit-content;
  max-width: 178px;
  height: auto;
  flex: 0 0 auto;
  padding: 10px 12px;
  border: 2px solid #d4af37;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(4, 18, 54, 0.26);
}

.school-cohort-hero .partner-logo {
  width: 100%;
  max-width: 154px;
  height: auto;
  max-height: 170px;
  object-fit: contain;
  padding: 0;
}

.school-dashboard-header {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 56px;
  width: 100%;
}

.school-dashboard-title {
  flex: 1;
  min-width: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.school-hero-card .school-dashboard-title h3,
.school-hero-card .school-dashboard-title p {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(3, 18, 58, 0.46);
}

.school-hero-card .school-partnership-badge {
  background: rgba(7, 27, 77, 0.78);
  border: 1.5px solid #d4af37;
  color: #f7d774;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.parent-carer-school-card-dashboard {
  gap: 16px;
}

.parent-portal-frame {
  display: grid;
  gap: 16px;
}

.parent-portal-header {
  position: sticky;
  top: 12px;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px 16px 12px 20px;
  overflow: hidden;
  border: 1px solid rgba(174, 190, 208, 0.62);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 18px 44px rgba(7, 27, 77, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
}

.parent-portal-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, #071b4d 0%, #0f4c8a 52%, #f2b632 100%);
}

.parent-portal-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.parent-portal-brand img {
  width: clamp(150px, 19vw, 220px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.parent-portal-brand span {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid rgba(7, 27, 77, 0.14);
}

.parent-portal-brand strong {
  color: #071b4d;
  font-size: 0.92rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.parent-portal-brand small {
  color: #60708a;
  font-size: 0.76rem;
  font-weight: 780;
}

.parent-portal-logout {
  min-width: 126px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid rgba(242, 182, 50, 0.9);
  border-radius: 999px;
  background: linear-gradient(135deg, #071b4d 0%, #0f3b70 100%);
  color: #ffffff;
  box-shadow:
    0 12px 24px rgba(7, 27, 77, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.parent-portal-logout svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.parent-portal-logout:hover,
.parent-portal-logout:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0b2a63 0%, #145493 100%);
  box-shadow:
    0 16px 30px rgba(7, 27, 77, 0.26),
    0 0 0 4px rgba(242, 182, 50, 0.16);
}

.parent-portal-logout:focus-visible {
  outline: 3px solid rgba(242, 182, 50, 0.68);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .parent-portal-header {
    top: 8px;
    min-height: 66px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .parent-portal-brand img {
    width: min(45vw, 168px);
    height: 44px;
  }

  .parent-portal-brand span {
    display: none;
  }

  .parent-portal-logout {
    min-width: 108px;
    min-height: 42px;
    padding: 9px 14px;
  }
}

.parent-carer-hero {
  padding: 30px 34px;
  border-bottom-color: #f2b632;
  box-shadow:
    0 18px 42px rgba(7, 27, 77, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.parent-carer-hero .school-dashboard-title h3 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.parent-dashboard-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 900;
}

.parent-dashboard-meta-row > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.parent-dashboard-login-status {
  gap: 8px;
}

.parent-dashboard-login-status i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.parent-community-hub-cta {
  width: 164px;
  min-height: 146px;
  flex: 0 0 164px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 20px;
  border: 2px solid rgba(242, 182, 50, 0.86);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 10%, rgba(242, 182, 50, 0.2), transparent 6.5rem),
    linear-gradient(180deg, #123d73 0%, #061f4d 100%);
  color: #ffffff;
  text-align: left;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.2),
    0 0 0 5px rgba(242, 182, 50, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.parent-community-hub-cta small {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(242, 182, 50, 0.16);
  border: 1px solid rgba(242, 182, 50, 0.42);
  color: #f8d779;
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-community-hub-cta strong {
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 1000;
  line-height: 0.92;
  letter-spacing: 0.02em;
}

.parent-community-hub-cta span {
  font-size: 0.98rem;
  font-weight: 1000;
  line-height: 1.1;
}

.parent-community-hub-cta:hover,
.parent-community-hub-cta:focus-visible {
  border-color: #f7d774;
  background:
    radial-gradient(circle at 80% 10%, rgba(242, 182, 50, 0.26), transparent 6.5rem),
    linear-gradient(180deg, #174a86 0%, #082b61 100%);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(247, 215, 116, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  outline: none;
}

.parent-community-hub-cta:active {
  transform: translateY(0);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.2),
    0 0 0 4px rgba(242, 182, 50, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.school-hero-actions {
  width: 164px;
  flex: 0 0 164px;
  display: grid;
  gap: 12px;
  margin-left: auto;
}

.school-community-hub-button {
  margin-left: auto;
  border-color: #d4af37;
  background:
    radial-gradient(circle at 80% 10%, rgba(242, 182, 50, 0.2), transparent 6.5rem),
    linear-gradient(180deg, rgba(10, 42, 102, 0.92), rgba(7, 27, 77, 0.96));
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.school-community-hub-button:hover,
.school-community-hub-button:focus-visible {
  border-color: #f7d774;
  background:
    radial-gradient(circle at 80% 10%, rgba(242, 182, 50, 0.24), transparent 6.5rem),
    linear-gradient(180deg, rgba(10, 42, 102, 0.96), rgba(7, 27, 77, 0.98));
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(247, 215, 116, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.school-community-hub-button:focus-visible {
  outline: 3px solid rgba(255, 215, 106, 0.78);
  outline-offset: 4px;
}

.school-hero-actions .school-community-hub-button {
  width: 100%;
  flex: 0 0 auto;
  margin-left: 0;
}

.school-hero-logout {
  width: 100%;
  min-height: 48px;
  border: 2px solid #d4af37;
  border-radius: 28px;
  background: linear-gradient(180deg, #0a2a66 0%, #071b4d 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
  text-align: center;
  box-shadow:
    0 8px 20px rgba(3, 18, 58, 0.18),
    0 0 0 1px rgba(212, 175, 55, 0.18);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.school-hero-logout:hover,
.school-hero-logout:focus-visible {
  background: #d4af37;
  color: #071b4d;
  transform: translateY(-1px);
  box-shadow:
    0 12px 26px rgba(3, 18, 58, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  outline: none;
}

.school-cohort-intelligence-button {
  padding-inline: 0.78rem;
  line-height: 1.15;
}

.parent-community-hub-view {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(216, 154, 19, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 8%, rgba(242, 182, 50, 0.13), transparent 13rem),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  box-shadow:
    0 20px 48px rgba(7, 27, 77, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.parent-community-hub-view > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.parent-community-hub-view > header span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 9px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(216, 154, 19, 0.12);
  border: 1px solid rgba(216, 154, 19, 0.34);
  color: #94640a;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-community-hub-view h3 {
  margin: 0 0 7px;
  color: #071b4d;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  line-height: 1.04;
}

.parent-community-hub-view p {
  margin: 0;
  color: #475569;
  font-weight: 800;
  line-height: 1.55;
}

.parent-community-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.parent-community-hub-grid article {
  padding: 18px;
  border: 1px solid rgba(15, 76, 138, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.parent-community-hub-grid article span {
  display: block;
  margin-bottom: 8px;
  color: #94640a;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-community-hub-grid article strong {
  display: block;
  margin-bottom: 8px;
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.parent-community-back-button {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(216, 154, 19, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #071b4d;
  font-size: 0.86rem;
  font-weight: 1000;
  box-shadow: 0 10px 22px rgba(7, 27, 77, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.parent-community-back-button::before {
  content: "<";
  margin-right: 8px;
  color: #d89a13;
  font-weight: 1000;
}

.parent-community-back-button:hover,
.parent-community-back-button:focus-visible {
  border-color: #f2b632;
  box-shadow: 0 14px 26px rgba(7, 27, 77, 0.12), 0 0 0 4px rgba(216, 154, 19, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.parent-community-newsletter-hero {
  position: relative;
  min-height: clamp(440px, 46vw, 520px);
  overflow: hidden;
  border: 2px solid rgba(216, 154, 19, 0.48);
  border-radius: 30px;
  background: #071b4d;
  box-shadow:
    0 26px 62px rgba(7, 27, 77, 0.2),
    0 0 0 6px rgba(216, 154, 19, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.parent-community-newsletter-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 18, 54, 0.86) 0%, rgba(7, 27, 77, 0.58) 42%, rgba(7, 27, 77, 0.18) 78%),
    linear-gradient(180deg, rgba(4, 18, 54, 0.1) 0%, rgba(4, 18, 54, 0.34) 100%);
  pointer-events: none;
  z-index: 1;
}

.parent-community-hero-image {
  position: absolute;
  inset: 0;
  background: #071b4d;
}

.parent-community-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
}

.parent-community-hero-copy {
  position: relative;
  z-index: 2;
  min-height: clamp(440px, 46vw, 520px);
  max-width: 720px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: clamp(28px, 4vw, 46px);
  color: #ffffff;
}

.parent-community-hero-copy span,
.parent-community-section > header span,
.parent-community-editorial-card > span {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(216, 154, 19, 0.42);
  border-radius: 999px;
  background: rgba(216, 154, 19, 0.13);
  color: #f7d77a;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.parent-community-hero-copy h3 {
  margin: 0;
  max-width: 10ch;
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.parent-community-hero-copy p {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  font-weight: 800;
  line-height: 1.5;
}

.parent-community-hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 4px;
}

.parent-community-hero-status em {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  backdrop-filter: blur(8px);
}

.parent-community-editorial-card {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(15, 76, 138, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(216, 154, 19, 0.1), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 42px rgba(7, 27, 77, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.parent-community-editorial-card > span,
.parent-community-section > header span {
  color: #94640a;
  background: rgba(216, 154, 19, 0.1);
}

.parent-community-editorial-card p {
  max-width: 74rem;
  color: #19345f;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 850;
  line-height: 1.68;
}

.parent-community-section {
  display: grid;
  gap: 16px;
}

.parent-community-section > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.parent-community-section h4 {
  margin: 8px 0 0;
  color: #071b4d;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}

.parent-community-learning-grid,
.parent-community-success-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.parent-community-learning-grid article,
.parent-community-success-grid article,
.parent-community-coming-up article {
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(15, 76, 138, 0.12);
  box-shadow: 0 16px 34px rgba(7, 27, 77, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.parent-community-learning-grid article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.parent-community-learning-grid i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #071b4d, #123d73);
  color: #f7d77a;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 22px rgba(7, 27, 77, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.parent-community-learning-grid strong {
  color: #071b4d;
  font-size: 1.04rem;
  font-weight: 1000;
  line-height: 1.15;
}

.parent-community-learning-grid p {
  color: #516173;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.55;
}

.parent-community-matters {
  border-left: 5px solid #d89a13;
}

.parent-community-success-grid article {
  min-height: 136px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.parent-community-success-grid article.gold {
  border-color: rgba(216, 154, 19, 0.36);
  background:
    radial-gradient(circle at 90% 0%, rgba(216, 154, 19, 0.16), transparent 8rem),
    linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
}

.parent-community-success-grid article.silver {
  border-color: rgba(148, 163, 184, 0.35);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.parent-community-success-grid article.blue {
  border-color: rgba(15, 76, 138, 0.18);
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
}

.parent-community-success-grid span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(216, 154, 19, 0.12);
  color: #94640a;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-community-success-grid strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.35;
}

.parent-community-coming-up > div {
  display: grid;
  gap: 10px;
}

.parent-community-coming-up article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
}

.parent-community-coming-up article span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #071b4d;
  color: #f7d77a;
  font-weight: 1000;
}

.parent-community-coming-up article strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.parent-community-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.parent-community-empty-posts {
  padding: 22px;
  border: 1px dashed rgba(15, 76, 138, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  color: #475569;
  font-weight: 900;
}

.admin-community-manager {
  display: grid;
  gap: 20px;
}

.admin-community-manager > header {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(216, 154, 19, 0.46);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 0%, rgba(216, 154, 19, 0.24), transparent 15rem),
    radial-gradient(circle at 8% 110%, rgba(33, 103, 178, 0.34), transparent 18rem),
    linear-gradient(135deg, #071b4d 0%, #0b2d66 52%, #123d73 100%);
  box-shadow:
    0 22px 54px rgba(7, 27, 77, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(216, 154, 19, 0.24);
}

.admin-community-manager > header::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%);
}

.admin-community-manager > header > * {
  position: relative;
  z-index: 1;
}

.admin-community-manager > header .eyebrow {
  color: #f7d77a;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.admin-community-manager > header h3 {
  margin: 4px 0 6px;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.admin-community-manager > header p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
  line-height: 1.55;
}

.admin-community-manager > header .admin-back-button {
  border: 1px solid rgba(216, 154, 19, 0.58);
  background: rgba(255, 255, 255, 0.96);
  color: #071b4d;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-community-manager > header .admin-back-button:hover,
.admin-community-manager > header .admin-back-button:focus-visible {
  border-color: #f7d77a;
  background: #ffffff;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.2),
    0 0 0 4px rgba(216, 154, 19, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  outline: none;
}

.admin-community-manager-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.admin-community-form-card,
.admin-community-preview-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(15, 76, 138, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 42px rgba(7, 27, 77, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.admin-community-warning {
  padding: 12px 14px;
  border: 1px solid rgba(216, 154, 19, 0.26);
  border-radius: 16px;
  background: rgba(216, 154, 19, 0.09);
  color: #6f4a06;
  font-weight: 950;
  line-height: 1.45;
}

.admin-community-form-card .setup-grid {
  gap: 11px;
}

.admin-community-field,
.community-field-card {
  position: relative;
  gap: 8px;
  min-height: 92px;
  padding: 11px 12px;
  border: 1px solid rgba(221, 170, 36, 0.35);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8 0%, #fffcf5 100%);
  color: #071b4d;
  box-shadow: 0 9px 22px rgba(7, 27, 77, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-community-field:hover,
.community-field-card:hover,
.community-upload-card:hover {
  border-color: rgba(221, 170, 36, 0.56);
  box-shadow: 0 12px 28px rgba(7, 27, 77, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.admin-community-field small,
.community-upload-card small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-community-field input:not([type="checkbox"]),
.admin-community-field select,
.admin-community-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 42px 11px 13px;
  border: 1px solid rgba(221, 170, 36, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  color: #071b4d;
  box-shadow: inset 0 1px 2px rgba(7, 27, 77, 0.045);
  font-weight: 850;
  line-height: 1.35;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.admin-community-field textarea {
  min-height: 78px;
  resize: vertical;
}

.admin-community-note-field textarea {
  min-height: 112px;
}

.admin-community-field input:not([type="checkbox"]):focus,
.admin-community-field select:focus,
.admin-community-field textarea:focus {
  border-color: rgba(216, 154, 19, 0.58);
  box-shadow: 0 0 0 4px rgba(216, 154, 19, 0.13), inset 0 1px 2px rgba(7, 27, 77, 0.05);
}

.admin-community-field.is-complete,
.community-field-card.is-complete,
.community-upload-card.is-complete {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.admin-community-field.is-complete::after,
.community-upload-card.is-complete::after {
  content: "✓";
  position: absolute;
  right: 24px;
  bottom: 26px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #22c55e;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(22, 163, 74, 0.24);
  font-size: 0.75rem;
  font-weight: 1000;
  line-height: 1;
  pointer-events: none;
}

.admin-community-field.is-complete input:not([type="checkbox"]),
.admin-community-field.is-complete select,
.admin-community-field.is-complete textarea {
  border-color: #86efac;
  background: rgba(240, 253, 244, 0.86);
  color: #071b4d;
}

.admin-community-headline-field,
.community-field-card--headline {
  min-height: 136px;
  border-color: rgba(221, 170, 36, 0.52);
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
  box-shadow: 0 14px 32px rgba(7, 27, 77, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.admin-community-headline-field input:not([type="checkbox"]) {
  min-height: 92px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-color: rgba(221, 170, 36, 0.48);
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
  font-weight: 1000;
}

.admin-community-headline-field.is-complete input:not([type="checkbox"]) {
  background: #f0fdf4;
}

.admin-community-field.consent-row {
  align-items: center;
  min-height: 92px;
  padding: 14px 48px 14px 14px;
  border-color: rgba(221, 170, 36, 0.35);
}

.admin-community-field.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #16a34a;
}

.admin-community-field.consent-row.is-complete::after {
  right: 16px;
  bottom: 50%;
  transform: translateY(50%);
}

.admin-community-consent-bar {
  min-height: 56px;
  padding: 10px 52px 10px 14px;
  border-color: rgba(221, 170, 36, 0.28);
  background: linear-gradient(180deg, #fffdf8 0%, #fffcf5 100%);
  font-size: 0.82rem;
  line-height: 1.35;
}

.admin-community-consent-bar.is-complete {
  border-color: #86efac;
  background: #f0fdf4;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.admin-community-consent-bar.is-complete::before {
  content: "Consent confirmed";
  margin-left: auto;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-community-ai-badge {
  justify-self: start;
  padding: 9px 13px;
  border: 1px solid rgba(216, 154, 19, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff7df 0%, #ffffff 100%);
  color: #6f4a06;
  box-shadow: 0 10px 22px rgba(7, 27, 77, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-community-upload {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 14px;
  border: 1px dashed rgba(221, 170, 36, 0.52);
  border-radius: 20px;
  background: #fffcf7;
  box-shadow: 0 9px 20px rgba(7, 27, 77, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.admin-community-upload:hover {
  border-color: rgba(221, 170, 36, 0.72);
  background: #fffaf0;
  box-shadow: 0 12px 26px rgba(7, 27, 77, 0.06), 0 0 0 4px rgba(221, 170, 36, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.admin-community-upload span,
.admin-community-preview-panel > .eyebrow {
  color: #94640a;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-community-upload img {
  width: 100%;
  height: 300px;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
  border: 2px solid rgba(216, 154, 19, 0.28);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.12);
}

.admin-community-upload .community-upload-prompt {
  min-height: 112px;
  display: grid;
  gap: 8px;
  place-items: center;
  align-content: center;
  padding: 24px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(221, 170, 36, 0.34);
  background: rgba(255, 255, 255, 0.58);
  color: #071b4d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
}

.community-upload-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(221, 170, 36, 0.42);
  border-radius: 999px;
  background: #ffffff;
  color: #071b4d;
  box-shadow: 0 8px 18px rgba(7, 27, 77, 0.08);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.community-upload-heading {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
  line-height: 1.2;
}

.community-upload-support {
  max-width: 32rem;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.4;
}

.community-upload-button {
  margin-top: 4px;
  padding: 8px 16px;
  border: 2px solid #d89a13;
  border-radius: 999px;
  background: linear-gradient(135deg, #123d73 0%, #071d49 100%);
  color: #ffffff !important;
  box-shadow:
    0 10px 20px rgba(7, 29, 73, 0.2),
    0 0 0 3px rgba(216, 154, 19, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.admin-community-upload:hover .community-upload-button {
  border-color: #f0b429;
  background: linear-gradient(135deg, #174a86 0%, #09265d 100%);
  box-shadow:
    0 14px 26px rgba(7, 29, 73, 0.24),
    0 0 0 5px rgba(216, 154, 19, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.admin-community-upload:active .community-upload-button {
  box-shadow:
    0 7px 14px rgba(7, 29, 73, 0.18),
    0 0 0 3px rgba(216, 154, 19, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(0);
}

.admin-community-upload:focus-within .community-upload-button {
  border-color: #f7d77a;
  box-shadow:
    0 10px 20px rgba(7, 29, 73, 0.2),
    0 0 0 4px rgba(216, 154, 19, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.community-upload-card.is-complete .community-upload-prompt {
  background: #f0fdf4;
  border-color: #86efac;
}

.consent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(15, 76, 138, 0.06);
}

.admin-community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-community-actions :is(.primary-action, .secondary-action):not(:disabled) {
  border-color: #d89a13;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #123d73 0%, #071b4d 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 170, 0.22),
    0 12px 26px rgba(7, 27, 77, 0.18),
    0 0 0 1px rgba(216, 154, 19, 0.12);
}

.admin-community-actions :is(.primary-action, .secondary-action):not(:disabled):hover {
  border-color: #f0b429;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 170, 0.28),
    0 16px 32px rgba(7, 27, 77, 0.22),
    0 0 0 4px rgba(216, 154, 19, 0.1);
}

.admin-community-status {
  margin: 0;
  padding: 11px 13px;
  border-radius: 14px;
  font-weight: 950;
}

.admin-community-status.success {
  background: #ecfdf5;
  color: #047857;
}

.admin-community-status.error {
  background: #fff7ed;
  color: #c2410c;
}

.admin-community-status.warning {
  border: 1px solid rgba(216, 154, 19, 0.24);
  background: #fff8e7;
  color: #8a5a05;
}

.admin-community-preview-panel h4 {
  margin: 0;
  color: #071b4d;
  font-size: 1.25rem;
}

.admin-community-preview-card {
  overflow: hidden;
  border: 1px solid rgba(216, 154, 19, 0.24);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(7, 27, 77, 0.1);
}

.admin-community-preview-image {
  height: 260px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #071b4d, #123d73);
  color: #f7d77a;
  font-weight: 1000;
}

.admin-community-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-community-preview-card > div:last-child {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.admin-community-preview-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(216, 154, 19, 0.12);
  color: #94640a;
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-community-preview-card h4 {
  margin: 0;
  color: #071b4d;
}

.admin-community-preview-card p,
.admin-community-preview-card small {
  color: #475569;
  font-weight: 780;
  line-height: 1.55;
}

.admin-community-preview-card em {
  color: #94640a;
  font-style: normal;
  font-weight: 950;
}

.admin-community-recent-posts {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 76, 138, 0.1);
}

.admin-community-recent-posts h4 {
  margin: 0;
  color: #071b4d;
}

.admin-community-recent-posts > div:last-child {
  display: grid;
  gap: 8px;
}

.admin-community-recent-posts article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(15, 76, 138, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.admin-community-recent-posts article span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(216, 154, 19, 0.1);
  color: #94640a;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-community-recent-posts article strong {
  color: #071b4d;
  font-weight: 1000;
}

.admin-community-recent-posts article small,
.admin-community-empty {
  color: #64748b;
  font-weight: 850;
}

.parent-community-latest .parent-community-post-grid {
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
}

.parent-community-latest .parent-community-empty-posts {
  display: grid;
  gap: 10px;
  min-height: 180px;
  place-items: center;
  border: 1px solid rgba(216, 154, 19, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 154, 19, 0.1), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  color: #071b4d;
  box-shadow: 0 22px 50px rgba(7, 27, 77, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  text-align: center;
}

.community-news-card {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 0 auto 32px;
  gap: 22px;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid #bfdbfe;
  border-radius: 28px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(191, 219, 254, 0.95), rgba(216, 154, 19, 0.7)) border-box;
  box-shadow:
    0 24px 58px rgba(7, 27, 77, 0.13),
    0 0 0 2px rgba(216, 154, 19, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.parent-community-latest,
.parent-community-latest .parent-community-post-grid,
.community-news-card,
.community-news-card * {
  box-sizing: border-box;
}

.parent-community-latest {
  width: 100%;
  overflow-x: hidden;
}

.community-news-card img {
  max-width: 100%;
}

.community-news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 6%, rgba(216, 154, 19, 0.12), transparent 16rem),
    radial-gradient(circle at 0% 100%, rgba(191, 219, 254, 0.26), transparent 18rem);
  pointer-events: none;
}

.community-news-card > * {
  position: relative;
  z-index: 1;
}

.community-news-card__ribbon {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(216, 154, 19, 0.72);
  border-radius: 999px;
  background: linear-gradient(180deg, #0b2c6b 0%, #061b49 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(7, 27, 77, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.community-news-card__ribbon span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 20px;
  padding: 0 5px;
  border: 1px solid rgba(244, 179, 33, 0.54);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4b321;
  font-size: 0.58rem;
}

.community-news-card :is(h5, h6, p, span, strong, small, time, b) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.community-news-layout,
.community-news-card__main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  margin-top: 22px;
}

.community-news-card__visual,
.community-news-card__article {
  min-width: 0;
  overflow-wrap: anywhere;
}

.community-news-card__visual {
  display: grid;
  gap: 14px;
  align-content: start;
}

.community-news-card__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(191, 219, 254, 0.95);
  border-radius: 18px;
  background: #f8fbff;
  box-shadow: 0 18px 34px rgba(7, 27, 77, 0.12), inset 0 0 0 2px rgba(216, 154, 19, 0.14);
}

.community-news-card__media.has-image-error::after {
  content: "No community image uploaded yet";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #071b4d;
  font-weight: 1000;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(216, 154, 19, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #fffdf8 0%, #f8fbff 100%);
}

.community-news-card__image,
.community-news-card__image-empty {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-news-card__image {
  display: block;
  object-fit: cover;
  object-position: center;
  background: #f8fbff;
}

.community-news-card__image-empty {
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(216, 154, 19, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #fffdf8 0%, #f8fbff 100%);
  color: #071b4d;
  text-align: center;
}

.community-news-card__empty-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 154, 19, 0.42);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #071b4d;
  box-shadow: 0 12px 24px rgba(7, 27, 77, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  font-size: 1.4rem;
  line-height: 1;
}

.community-news-card__image-empty strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.community-news-card__image-empty small {
  max-width: 24rem;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.45;
}

.community-news-card__gallery {
  display: grid;
  gap: 10px;
}

.community-news-card__gallery strong,
.community-news-card__highlights h6,
.community-news-card__support h6,
.community-news-card__recognition span {
  margin: 0;
  color: #7c5208;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.community-news-card__gallery div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.community-news-card__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(191, 219, 254, 0.95);
  border-radius: 12px;
  background: #f8fbff;
  box-shadow: 0 8px 18px rgba(7, 27, 77, 0.08);
}

.community-news-card__article {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(191, 219, 254, 0.85);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 32px rgba(7, 27, 77, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.community-news-card__article time {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 900;
}

.community-news-card__category {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(216, 154, 19, 0.4);
  border-radius: 999px;
  background: rgba(216, 154, 19, 0.12);
  color: #8a5a05;
  font-size: 0.69rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.community-news-card h5 {
  margin: 0;
  color: #061b49;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 1000;
  line-height: 1.08;
}

.community-news-card__caption {
  margin: 0;
  color: #334155;
  font-size: clamp(0.96rem, 1vw, 1.06rem);
  font-weight: 700;
  line-height: 1.65;
}

.community-news-card__divider {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d89a13 0%, rgba(216, 154, 19, 0.18) 65%, transparent 100%);
}

.community-news-card__highlights {
  display: grid;
  gap: 10px;
}

.community-news-card__highlights div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(191, 219, 254, 0.86);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.92);
}

.community-news-card__highlights span {
  min-width: 0;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 900;
}

.community-news-card__highlights strong {
  min-width: 0;
  color: #071b4d;
  font-size: 0.82rem;
  font-weight: 1000;
  text-align: right;
}

.community-news-card__support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  margin-top: 22px;
}

.community-news-card__support section,
.community-news-card__recognition {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(216, 154, 19, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(216, 154, 19, 0.54) 0 4px, transparent 4px),
    linear-gradient(180deg, #fff8e7 0%, #ffffff 100%);
  box-shadow: 0 14px 28px rgba(7, 27, 77, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.community-news-card__support p,
.community-news-card__recognition p {
  margin: 0;
  color: #475569;
  font-weight: 700;
  line-height: 1.62;
}

.community-news-card__recognition {
  margin-top: 16px;
  background:
    linear-gradient(90deg, rgba(216, 154, 19, 0.64) 0 4px, transparent 4px),
    linear-gradient(180deg, #fff7df 0%, #ffffff 100%);
}

.community-news-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid rgba(216, 154, 19, 0.42);
  border-radius: 18px;
  background: linear-gradient(180deg, #0b2c6b 0%, #061b49 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(7, 27, 77, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  margin-top: 16px;
}

.community-news-card__footer strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.community-news-card__footer small {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.community-news-card__footer b {
  padding: 5px 9px;
  border: 1px solid rgba(216, 154, 19, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4b321;
  font-size: 0.76rem;
  font-weight: 1000;
}

.parent-community-latest .community-news-card:first-child {
  grid-column: auto;
}

.admin-community-recent-posts .community-news-card {
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
}

.admin-community-recent-posts .community-news-card__main,
.community-news-card--admin .community-news-card__main {
  grid-template-columns: 1fr;
}

.admin-community-recent-posts .community-news-card__support,
.community-news-card--admin .community-news-card__support {
  grid-template-columns: 1fr;
}

.admin-community-recent-posts .community-news-card__media {
  aspect-ratio: 16 / 10;
}

.parent-support-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(216, 154, 19, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 154, 19, 0.1), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 253, 0.94));
  box-shadow: 0 18px 38px rgba(7, 27, 77, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.parent-support-action-button {
  min-width: 0;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 14px;
  border: 2px solid #d89a13;
  border-radius: 18px;
  background: linear-gradient(180deg, #123d73 0%, #08285a 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 1000;
  line-height: 1.15;
  text-align: center;
  box-shadow:
    0 14px 26px rgba(7, 27, 77, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.parent-support-action-button:hover,
.parent-support-action-button:focus-visible {
  border-color: #f2b632;
  background: linear-gradient(180deg, #17477f 0%, #092f66 100%);
  box-shadow:
    0 18px 32px rgba(7, 27, 77, 0.22),
    0 0 0 4px rgba(216, 154, 19, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.parent-support-action-button:active {
  transform: translateY(0);
  box-shadow:
    0 10px 18px rgba(7, 27, 77, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.parent-support-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 27, 77, 0.58);
  backdrop-filter: blur(8px);
  overflow: auto;
}

.parent-support-modal {
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(216, 154, 19, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 0%, rgba(242, 182, 50, 0.13), transparent 14rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 28px 70px rgba(7, 27, 77, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.parent-support-modal-wide {
  width: min(1180px, 100%);
}

.parent-support-modal > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(7, 27, 77, 0.08);
}

.parent-support-modal > header span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(216, 154, 19, 0.32);
  border-radius: 999px;
  background: #fff8e7;
  color: #9a6505;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-support-modal h3 {
  margin: 0;
  color: #071b4d;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.parent-support-modal-body {
  padding: 24px;
}

.parent-support-summary-text {
  margin: 0;
  color: #243451;
  font-size: 1.04rem;
  font-weight: 780;
  line-height: 1.72;
}

.parent-support-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.parent-support-option-card {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 20px;
  border: 1px solid rgba(216, 154, 19, 0.24);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f6f9fd);
  color: #071b4d;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(7, 27, 77, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.parent-support-option-card:hover,
.parent-support-option-card:focus-visible {
  border-color: #d89a13;
  box-shadow: 0 18px 34px rgba(7, 27, 77, 0.13), 0 0 0 4px rgba(216, 154, 19, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.parent-support-option-card span,
.parent-support-mini-metrics span,
.parent-attendance-row-list span {
  color: #5a6781;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.parent-support-option-card strong {
  color: #071b4d;
  font-size: 1rem;
}

.parent-attendance-history {
  display: grid;
  gap: 18px;
}

.parent-support-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.parent-support-mini-metrics article,
.parent-attendance-row-list article,
.parent-support-empty {
  padding: 16px;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 27, 77, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.parent-support-mini-metrics article {
  display: grid;
  gap: 6px;
}

.parent-support-mini-metrics strong {
  color: #071b4d;
  font-size: 1.35rem;
}

.parent-attendance-history p,
.parent-support-empty {
  margin: 0;
  color: #4e5f78;
  font-weight: 780;
  line-height: 1.55;
}

.parent-attendance-row-list {
  display: grid;
  gap: 10px;
}

.parent-attendance-row-list article {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(90px, 0.7fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 12px;
}

.parent-attendance-row-list strong {
  color: #071b4d;
  font-weight: 1000;
}

.parent-attendance-row-list em {
  color: #52637a;
  font-style: normal;
  font-weight: 760;
}

.parent-support-live-cv .live-cv-page {
  margin: 0;
}

.parent-linked-learner-panel {
  margin-top: 0;
}

.parent-learner-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.parent-learner-insight-card {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid rgba(7, 27, 77, 0.1);
  border-left: 6px solid #d89a13;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 18px 42px rgba(7, 27, 77, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.parent-learner-insight-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(7, 27, 77, 0.78), rgba(216, 154, 19, 0.72));
  opacity: 0.54;
}

.parent-learner-insight-card span {
  display: block;
  color: #071b4d;
  font-size: 0.84rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-learner-insight-card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.parent-learner-insight-card li {
  position: relative;
  padding-left: 18px;
  color: #263b5e;
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.48;
}

.parent-learner-insight-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d89a13;
  box-shadow: 0 0 0 3px rgba(216, 154, 19, 0.14);
}

.parent-learner-insight-card.positive {
  border-color: rgba(22, 163, 74, 0.2);
  border-left-color: #16a34a;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.parent-learner-insight-card.development {
  border-color: rgba(245, 158, 11, 0.24);
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.parent-learner-insight-card.support {
  border-color: rgba(248, 113, 113, 0.22);
  border-left-color: #f87171;
  background: linear-gradient(135deg, #fff7f7 0%, #ffffff 100%);
}

.parent-learner-insight-card.next {
  border-color: rgba(59, 130, 246, 0.2);
  border-left-color: #2563eb;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.parent-learner-insight-card.positive li::before { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14); }
.parent-learner-insight-card.development li::before { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14); }
.parent-learner-insight-card.support li::before { background: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.14); }
.parent-learner-insight-card.next li::before { background: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }

.parent-excellence-card {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(142, 155, 176, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 250, 235, 0.34) 32%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(circle at 91% 7%, rgba(216, 154, 19, 0.145), transparent 14rem),
    radial-gradient(circle at 8% 96%, rgba(80, 105, 137, 0.12), transparent 17rem),
    linear-gradient(180deg, #ffffff 0%, #fffefb 46%, #f8fbff 100%);
  box-shadow:
    0 26px 62px rgba(7, 27, 77, 0.105),
    0 1px 0 rgba(216, 154, 19, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(7, 27, 77, 0.025);
  overflow: hidden;
}

.parent-excellence-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 55%),
    linear-gradient(90deg, #061640 0%, #113b70 44%, #c78308 78%, #e0ad3d 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78), 0 7px 20px rgba(199, 131, 8, 0.15);
}

.parent-excellence-card header {
  position: relative;
  z-index: 1;
}

.parent-excellence-card header span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 11px;
  border: 1px solid rgba(199, 131, 8, 0.32);
  border-radius: 999px;
  background: linear-gradient(180deg, #fffaf1, #fff4dc);
  color: #7c5208;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(126, 83, 7, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.parent-excellence-card h3 {
  margin: 0;
  color: #061640;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 1000;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.parent-excellence-card header p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #475a75;
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.58;
}

.parent-excellence-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.parent-excellence-badge {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: flex-start;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(126, 145, 170, 0.15);
  border-radius: 20px;
  background: linear-gradient(145deg, #fbfdff, #ffffff);
  box-shadow:
    0 11px 28px rgba(7, 27, 77, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(7, 27, 77, 0.018);
  transition: transform 205ms ease, border-color 205ms ease, box-shadow 205ms ease, background 205ms ease;
}

.parent-excellence-badge:hover,
.parent-excellence-badge:focus-within {
  transform: translateY(-2px);
  border-color: rgba(199, 131, 8, 0.34);
  box-shadow:
    0 18px 40px rgba(7, 27, 77, 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(7, 27, 77, 0.02);
}

.parent-excellence-badge:focus-within {
  outline: 2px solid rgba(216, 154, 19, 0.34);
  outline-offset: 3px;
}

.parent-excellence-badge i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 24%, #ffffff, #e9f2ff 58%, #dbe8f7);
  color: #071b4d;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 1000;
  box-shadow:
    0 8px 18px rgba(7, 27, 77, 0.08),
    inset 0 0 0 1px rgba(7, 27, 77, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: box-shadow 190ms ease, transform 190ms ease;
}

.parent-excellence-badge:hover i,
.parent-excellence-badge:focus-within i {
  box-shadow:
    0 10px 22px rgba(7, 27, 77, 0.12),
    0 0 0 4px rgba(216, 154, 19, 0.1),
    inset 0 0 0 1px rgba(7, 27, 77, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.parent-excellence-badge strong,
.parent-excellence-badge span,
.parent-excellence-badge p {
  display: block;
  min-width: 0;
}

.parent-excellence-badge strong {
  color: #061640;
  font-size: 1.02rem;
  font-weight: 1000;
  letter-spacing: -0.005em;
  line-height: 1.22;
}

.parent-excellence-badge span {
  margin-top: 4px;
  color: #8d620b;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.parent-excellence-badge p {
  margin: 10px 0 0;
  color: #4c5d77;
  font-size: 0.92rem;
  font-weight: 690;
  line-height: 1.52;
}

.parent-excellence-badge.gold {
  border-color: rgba(190, 124, 8, 0.42);
  background:
    radial-gradient(circle at 13% 0%, rgba(216, 154, 19, 0.15), transparent 9.5rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 249, 229, 0.54) 42%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), transparent 36%),
    linear-gradient(145deg, #fff6e1 0%, #fffdf5 47%, #ffffff 100%);
  box-shadow:
    0 16px 38px rgba(126, 83, 7, 0.115),
    0 1px 0 rgba(216, 154, 19, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(126, 83, 7, 0.05);
}

.parent-excellence-badge.gold:hover,
.parent-excellence-badge.gold:focus-within {
  border-color: rgba(190, 124, 8, 0.58);
  box-shadow:
    0 22px 46px rgba(126, 83, 7, 0.145),
    0 0 0 3px rgba(216, 154, 19, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.parent-excellence-badge.gold i {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.92) 0 9%, transparent 10%),
    radial-gradient(circle at 32% 24%, #fffbe7 0%, #f7d978 43%, #d69d1e 70%, #ad6d05 100%);
  color: #5f3c03;
  box-shadow:
    0 11px 24px rgba(216, 154, 19, 0.24),
    0 0 0 5px rgba(216, 154, 19, 0.075),
    inset 0 0 0 1px rgba(116, 74, 4, 0.24),
    inset 0 0 0 4px rgba(255, 247, 215, 0.16),
    inset 0 2px 1px rgba(255, 255, 255, 0.72),
    inset 0 -2px 3px rgba(99, 61, 3, 0.12);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}

.parent-excellence-badge.gold span {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(190, 124, 8, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent 48%),
    linear-gradient(180deg, rgba(255, 248, 221, 0.96), rgba(255, 239, 184, 0.76));
  color: #805507;
  box-shadow:
    0 2px 5px rgba(126, 83, 7, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.parent-excellence-badge.silver {
  border-color: rgba(126, 145, 170, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(145deg, #f6f9fd 0%, #ffffff 56%, #eef3f8 100%);
  box-shadow:
    0 12px 30px rgba(51, 65, 85, 0.058),
    inset 0 1px 0 rgba(255, 255, 255, 0.97),
    inset 0 -1px 0 rgba(51, 65, 85, 0.025);
}

.parent-excellence-badge.silver i {
  background: radial-gradient(circle at 32% 22%, #ffffff, #eef3f9 52%, #d9e2ed 100%);
  color: #071b4d;
  box-shadow:
    0 8px 18px rgba(51, 65, 85, 0.085),
    inset 0 0 0 1px rgba(71, 85, 105, 0.12),
    inset 0 2px 1px rgba(255, 255, 255, 0.94),
    inset 0 -2px 3px rgba(51, 65, 85, 0.045);
}

.parent-excellence-badge.silver span {
  color: #6f5b2b;
}

@media (prefers-reduced-motion: reduce) {
  .parent-excellence-badge,
  .parent-excellence-badge i {
    transition: none;
  }

  .parent-excellence-badge:hover,
  .parent-excellence-badge:focus-within {
    transform: none;
  }
}

.parent-excellence-badge.positive {
  border-color: rgba(22, 163, 74, 0.18);
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.parent-excellence-badge.positive i {
  background: #dcfce7;
  color: #166534;
}

.parent-excellence-empty {
  position: relative;
  z-index: 1;
  padding: 18px;
  border: 1px dashed rgba(216, 154, 19, 0.38);
  border-radius: 20px;
  background: rgba(255, 248, 231, 0.72);
  color: #40516d;
  font-size: 1rem;
  font-weight: 820;
}

.parent-today-tfe-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(7, 27, 77, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(242, 182, 50, 0.12), transparent 13rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow:
    0 22px 52px rgba(7, 27, 77, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.parent-today-tfe-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #071b4d, #0f4c8a 48%, #f2b632);
}

.parent-today-tfe-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.parent-today-tfe-kicker,
.parent-today-tfe-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-today-tfe-kicker {
  margin-bottom: 10px;
  padding: 7px 11px;
  border: 1px solid rgba(216, 154, 19, 0.28);
  background: #fff8e7;
  color: #9a6505;
}

.parent-today-tfe-status {
  flex-shrink: 0;
  padding: 8px 12px;
  border: 1px solid rgba(15, 76, 138, 0.18);
  background: #eef6ff;
  color: #0b3f78;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.parent-today-tfe-card h3 {
  margin: 0;
  color: #071b4d;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.parent-today-tfe-card p {
  max-width: 1060px;
  margin: 0;
  color: #2f405d;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  font-weight: 760;
  line-height: 1.68;
}

.parent-today-evidence {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(126, 145, 170, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 10%, rgba(216, 154, 19, 0.12), transparent 15rem),
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow:
    0 20px 48px rgba(7, 27, 77, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.parent-today-evidence header h3,
.parent-today-evidence header p {
  margin: 0;
}

.parent-today-evidence header h3 {
  color: #071b4d;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 1000;
  line-height: 1.08;
}

.parent-today-evidence header p {
  margin-top: 6px;
  color: #52637a;
  font-size: 0.98rem;
  font-weight: 780;
  line-height: 1.45;
}

.parent-today-evidence-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(216, 154, 19, 0.42);
  border-radius: 20px;
  background: #f8fbff;
  box-shadow:
    0 24px 56px rgba(7, 27, 77, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.82),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.parent-today-evidence-photo img {
  display: block;
  width: 100%;
  height: clamp(280px, 42vw, 420px);
  object-fit: cover;
  background: #ffffff;
}

.parent-today-evidence-photo figcaption {
  position: absolute;
  inset: 16px 16px auto auto;
}

.parent-today-evidence-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(7, 27, 77, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #071b4d;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(7, 27, 77, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.parent-today-evidence-badge.gold {
  border-color: rgba(216, 154, 19, 0.52);
  background: linear-gradient(180deg, rgba(255, 249, 226, 0.94), rgba(255, 239, 184, 0.86));
  color: #805507;
}

.parent-today-evidence-badge.silver {
  border-color: rgba(126, 145, 170, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 243, 250, 0.88));
  color: #334155;
}

.parent-today-evidence-badge.bronze {
  border-color: rgba(146, 64, 14, 0.32);
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.94), rgba(254, 215, 170, 0.82));
  color: #7c2d12;
}

.parent-today-evidence-badge.awaiting {
  border-color: rgba(15, 76, 138, 0.24);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.86));
  color: #0b3f78;
}

.parent-today-evidence-caption {
  margin: 0;
  color: #52637a;
  font-size: 0.9rem;
  font-weight: 820;
  line-height: 1.4;
}

.parent-today-evidence-empty {
  padding: 20px;
  border: 1px dashed rgba(216, 154, 19, 0.36);
  border-radius: 20px;
  background: rgba(255, 248, 231, 0.68);
}

.parent-today-evidence-empty strong,
.parent-today-evidence-empty p {
  display: block;
  margin: 0;
}

.parent-today-evidence-empty strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.parent-today-evidence-empty p {
  margin-top: 6px;
  color: #52637a;
  font-weight: 760;
  line-height: 1.45;
}

.parent-certificates-showcase {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(7, 27, 77, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(242, 182, 50, 0.14), transparent 15rem),
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 24px 58px rgba(7, 27, 77, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.parent-certificates-showcase > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(7, 27, 77, 0.08);
}

.parent-certificates-showcase > header span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 11px;
  border: 1px solid rgba(242, 182, 50, 0.34);
  border-radius: 999px;
  background: #fff8e7;
  color: #a66a00;
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-certificates-showcase h3 {
  margin: 0;
  color: #071b4d;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.parent-certificates-showcase p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #536173;
  font-weight: 780;
  line-height: 1.55;
}

.parent-certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.parent-certificate-card {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 10px;
  min-height: 254px;
  padding: 16px;
  border: 1px solid rgba(7, 27, 77, 0.09);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(242, 182, 50, 0.16), transparent 9rem);
  color: #071b4d;
  text-align: left;
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.parent-certificate-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #071b4d, #f2b632);
}

.parent-certificate-card:hover,
.parent-certificate-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(242, 182, 50, 0.7);
  box-shadow: 0 22px 46px rgba(7, 27, 77, 0.14), 0 0 0 4px rgba(242, 182, 50, 0.1);
  outline: none;
}

.parent-certificate-thumb {
  display: grid;
  place-items: center;
  height: 104px;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(7, 27, 77, 0.96), rgba(11, 44, 107, 0.94)),
    radial-gradient(circle at top right, rgba(242, 182, 50, 0.22), transparent 8rem);
}

.parent-certificate-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parent-certificate-thumb strong {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(242, 182, 50, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd76a;
  font-size: 0.95rem;
  font-weight: 1000;
}

.parent-certificate-status {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.parent-certificate-card > strong {
  color: #071b4d;
  font-size: 1.02rem;
  font-weight: 1000;
  line-height: 1.18;
}

.parent-certificate-card em,
.parent-certificate-card small {
  color: #64748b;
  font-style: normal;
  font-weight: 820;
  line-height: 1.28;
}

.parent-certificate-card small {
  margin-top: auto;
  color: #a66a00;
}

.parent-certificates-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px 22px;
  border: 1px dashed rgba(7, 27, 77, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  text-align: center;
}

.parent-certificates-empty span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #fff8e7;
  color: #a66a00;
  font-size: 1.6rem;
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.08);
}

.parent-certificates-empty strong {
  color: #071b4d;
  font-size: 1.14rem;
  font-weight: 1000;
}

.parent-certificate-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 18, 54, 0.66);
}

.parent-certificate-modal {
  width: min(1160px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 28px;
  background: #f8fbff;
  box-shadow: 0 30px 90px rgba(4, 18, 54, 0.36);
}

.parent-certificate-modal > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.parent-certificate-modal > header [data-parent-certificate-close] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 44px;
  padding-inline: 18px;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
  border-color: rgba(216, 154, 19, 0.52);
  background: linear-gradient(180deg, #123d73 0%, #071b4d 100%);
  color: #ffffff;
  box-shadow:
    0 10px 22px rgba(7, 27, 77, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.parent-certificate-modal > header [data-parent-certificate-close]:hover,
.parent-certificate-modal > header [data-parent-certificate-close]:focus-visible {
  border-color: rgba(216, 154, 19, 0.72);
  box-shadow:
    0 12px 26px rgba(7, 27, 77, 0.18),
    0 0 0 3px rgba(216, 154, 19, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.parent-certificate-modal h3,
.parent-certificate-modal p {
  margin: 0;
}

.parent-certificate-modal h3 {
  color: #071b4d;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
}

.parent-certificate-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 22px;
}

.parent-certificate-preview-sheet {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 560px;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(7, 27, 77, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(242, 182, 50, 0.18), transparent 16rem),
    linear-gradient(135deg, #ffffff, #f9fbff);
  text-align: center;
  box-shadow:
    0 22px 54px rgba(7, 27, 77, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.parent-certificate-preview-sheet.has-image {
  padding: 18px;
  background: #ffffff;
}

.parent-certificate-preview-sheet.has-pdf {
  padding: 18px;
  background: #ffffff;
}

.parent-certificate-generated-fallback {
  display: grid;
  width: 100%;
}

.parent-certificate-preview-sheet.has-image .parent-certificate-generated-fallback {
  opacity: 0;
}

.parent-certificate-preview-sheet.has-image.image-failed .parent-certificate-generated-fallback {
  opacity: 1;
}

.parent-certificate-preview-image {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: contain;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 27, 77, 0.12);
}

.parent-certificate-preview-pdf {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 27, 77, 0.12);
}

.parent-certificate-pdf-fallback {
  display: grid;
  width: 100%;
  gap: 14px;
  justify-items: center;
}

.parent-certificate-preview-sheet.has-pdf .parent-certificate-pdf-fallback {
  opacity: 0;
  pointer-events: none;
}

.parent-certificate-preview-sheet.has-pdf:has(.parent-certificate-preview-pdf:not([src])) .parent-certificate-pdf-fallback {
  opacity: 1;
  pointer-events: auto;
}

.parent-certificate-generated-border {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 500px;
  align-content: space-between;
  gap: 22px;
  padding: clamp(22px, 3vw, 42px);
  border: 8px solid #071b4d;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(242, 182, 50, 0.95) 0 8px, transparent 8px calc(100% - 8px), rgba(242, 182, 50, 0.95) calc(100% - 8px)),
    linear-gradient(180deg, rgba(242, 182, 50, 0.95) 0 8px, transparent 8px calc(100% - 8px), rgba(242, 182, 50, 0.95) calc(100% - 8px)),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(242, 182, 50, 0.36);
}

.parent-certificate-generated-border::before {
  content: "TFE";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: rgba(7, 27, 77, 0.035);
  font-size: clamp(6rem, 16vw, 12rem);
  font-weight: 1000;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.parent-certificate-generated-header,
.parent-certificate-generated-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.parent-certificate-generated-header span,
.parent-certificate-generated-comment span,
.parent-certificate-generated-footer span {
  display: block;
  color: #a66a00;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-certificate-generated-header strong,
.parent-certificate-generated-footer strong {
  display: block;
  margin-top: 4px;
  color: #071b4d;
  font-size: 0.95rem;
  font-weight: 1000;
}

.parent-certificate-generated-header mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 3px solid #f2b632;
  border-radius: 999px;
  background: #071b4d;
  color: #ffffff;
  font-weight: 1000;
  box-shadow: 0 16px 30px rgba(7, 27, 77, 0.2);
}

.parent-certificate-generated-main {
  position: relative;
  z-index: 1;
}

.parent-certificate-generated-main p {
  margin: 0;
  color: #a66a00;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-certificate-generated-main h4 {
  margin: 12px auto 18px;
  max-width: 780px;
  color: #071b4d;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
}

.parent-certificate-generated-main span {
  display: block;
  color: #64748b;
  font-weight: 900;
}

.parent-certificate-generated-main strong {
  display: block;
  margin-top: 6px;
  color: #071b4d;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  font-weight: 1000;
  line-height: 1.02;
}

.parent-certificate-generated-main em,
.parent-certificate-generated-main small {
  display: block;
  margin-top: 10px;
  color: #334155;
  font-style: normal;
  font-weight: 900;
}

.parent-certificate-generated-comment {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(7, 27, 77, 0.1);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.86);
}

.parent-certificate-generated-comment p {
  margin: 6px 0 0;
  color: #071b4d;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.45;
}

.parent-certificate-preview-detail {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 2px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(248, 251, 255, 0.28));
}

.parent-certificate-preview-detail article {
  padding: 17px 18px;
  border: 1px solid rgba(126, 145, 170, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(216, 154, 19, 0.16), transparent 5px),
    linear-gradient(180deg, #ffffff 0%, #fffdf8 48%, #f8fbff 100%);
  box-shadow:
    0 12px 28px rgba(7, 27, 77, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(7, 27, 77, 0.018);
}

.parent-certificate-preview-detail span {
  display: block;
  color: #51627b;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.parent-certificate-preview-detail strong,
.parent-certificate-preview-detail p {
  display: block;
  margin-top: 9px;
  color: #061640;
  font-weight: 920;
  line-height: 1.44;
}

.parent-certificate-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.parent-certificate-print-page .parent-certificate-preview-pdf,
.parent-certificate-print-page .parent-certificate-preview-image {
  position: static;
  width: 100%;
  height: auto;
  min-height: 80vh;
}

.journey-employment-card {
  min-width: 0;
  width: 100%;
}

.journey-employment-frame {
  position: relative;
  display: grid;
  gap: 20px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(7, 27, 77, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)),
    radial-gradient(circle at top right, rgba(242, 182, 50, 0.16), transparent 19rem);
  box-shadow:
    0 24px 58px rgba(7, 27, 77, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.journey-employment-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #071b4d, #f2b632, #1b5d89);
}

.journey-employment-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.28fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, #071b4d, #0b2c6b);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(7, 27, 77, 0.2);
}

.journey-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 11px;
  border: 1px solid rgba(242, 182, 50, 0.48);
  border-radius: 999px;
  background: rgba(242, 182, 50, 0.14);
  color: #ffd76a;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-employment-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.journey-employment-header p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.journey-progress-meter {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.journey-progress-meter strong {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 1000;
  line-height: 1;
}

.journey-progress-meter span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 900;
}

.journey-progress-meter div {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.journey-progress-meter i {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: #f2b632;
}

.journey-employment-body {
  display: grid;
  grid-template-columns: minmax(112px, 0.16fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.journey-figure {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 190px;
  border: 1px solid rgba(242, 182, 50, 0.3);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(242, 182, 50, 0.2), transparent 50%),
    #071b4d;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.journey-figure span {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #f2b632;
  box-shadow: 0 16px 34px rgba(242, 182, 50, 0.22);
}

.journey-figure strong {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 1000;
}

.journey-figure em {
  color: #ffd76a;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 1000;
  text-transform: uppercase;
}

.journey-pathway-wrap {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 18px;
}

.journey-pathway-line {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #071b4d, #16a34a, #f59e0b, #7c3aed, #1b5d89);
  opacity: 0.22;
}

.journey-pathway-line i {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #f2b632;
  box-shadow: 0 0 0 6px rgba(242, 182, 50, 0.18), 0 10px 20px rgba(7, 27, 77, 0.16);
}

.journey-phase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.journey-phase-card {
  min-width: 0;
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid rgba(7, 27, 77, 0.1);
  border-radius: 20px;
  background: #ffffff;
  color: #071b4d;
  text-align: left;
  box-shadow: 0 14px 28px rgba(7, 27, 77, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.journey-phase-card:hover,
.journey-phase-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(7, 27, 77, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;
}

.journey-phase-card.is-selected,
.journey-phase-card.current-phase {
  border-color: rgba(242, 182, 50, 0.72);
  box-shadow: 0 20px 38px rgba(7, 27, 77, 0.14), 0 0 0 4px rgba(242, 182, 50, 0.12);
}

.journey-phase-card.upcoming {
  opacity: 0.68;
}

.journey-phase-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 1000;
}

.journey-phase-card.phase-1 .journey-phase-icon { background: #071b4d; }
.journey-phase-card.phase-2 .journey-phase-icon { background: #16a34a; }
.journey-phase-card.phase-3 .journey-phase-icon { background: #f59e0b; }
.journey-phase-card.phase-4 .journey-phase-icon { background: #7c3aed; }
.journey-phase-card.phase-5 .journey-phase-icon { background: #1b5d89; }

.journey-phase-number,
.journey-phase-card em,
.journey-phase-card small {
  color: #64748b;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.journey-phase-card strong {
  color: #071b4d;
  font-size: 0.96rem;
  font-weight: 1000;
  line-height: 1.16;
}

.journey-phase-card small {
  width: fit-content;
  margin-top: auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f8fafc;
  color: #071b4d;
}

.journey-phase-card.completed small { background: #ecfdf5; color: #166534; }
.journey-phase-card.current-phase small { background: #fff7e0; color: #8a5b00; }

.journey-phase-detail {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-left: 6px solid #f2b632;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 27, 77, 0.07);
}

.journey-phase-detail span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-phase-detail strong {
  color: #071b4d;
  font-size: 1.12rem;
  font-weight: 1000;
}

.journey-phase-detail p,
.journey-phase-detail em {
  margin: 0;
  color: #475569;
  font-style: normal;
  font-weight: 800;
  line-height: 1.42;
}

.journey-insight-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.journey-insight-row article {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(7, 27, 77, 0.09);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 27, 77, 0.06);
}

.journey-insight-row span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.journey-insight-row strong {
  display: block;
  margin-top: 7px;
  color: #071b4d;
  font-size: 0.98rem;
  font-weight: 1000;
  line-height: 1.22;
}

.journey-insight-row p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 820;
  line-height: 1.35;
}

.journey-road-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(7, 27, 77, 0.13);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.97)),
    radial-gradient(circle at 84% 12%, rgba(242, 182, 50, 0.16), transparent 18rem);
  box-shadow:
    0 28px 66px rgba(7, 27, 77, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.journey-road-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, #071b4d, #f2b632, #16a34a, #1b5d89);
}

.journey-road-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(245px, 0.31fr) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
}

.journey-left-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 430px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(242, 182, 50, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 24%, rgba(242, 182, 50, 0.2), transparent 11rem),
    radial-gradient(circle at 90% 82%, rgba(45, 119, 255, 0.18), transparent 13rem),
    linear-gradient(155deg, #071b4d 0%, #0b2c6b 62%, #061336 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 42px rgba(7, 27, 77, 0.18);
}

.journey-left-panel::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -32px;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: rgba(242, 182, 50, 0.12);
}

.journey-left-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.04;
}

.journey-left-panel p {
  position: relative;
  z-index: 1;
  max-width: 25ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 900;
  line-height: 1.42;
}

.journey-learner-figure {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(72%, 190px);
  aspect-ratio: 0.76;
  margin: 8px 0 0;
}

.journey-learner-figure span {
  position: absolute;
  bottom: 0;
  width: 78%;
  height: 62%;
  border-radius: 42% 42% 18% 18%;
  background: linear-gradient(180deg, #f2b632, #d99714);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.journey-learner-figure strong {
  position: absolute;
  top: 7%;
  display: grid;
  place-items: center;
  width: 42%;
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: #ffffff;
  color: #071b4d;
  font-size: 2rem;
  font-weight: 1000;
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.2);
}

.journey-progress-ring {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  justify-self: start;
  width: 150px;
  height: 150px;
  margin-top: auto;
  padding: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle, #071b4d 56%, transparent 57%),
    conic-gradient(#f2b632 var(--journey-progress), rgba(255, 255, 255, 0.18) 0);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  text-align: center;
}

.journey-progress-ring strong {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 1000;
  line-height: 1;
}

.journey-progress-ring span,
.journey-progress-ring small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 1000;
  line-height: 1.2;
  text-transform: uppercase;
}

.journey-progress-ring small {
  max-width: 11ch;
  color: #ffd76a;
  font-size: 0.62rem;
}

.journey-road-stage {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.85), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 80% 16%, rgba(27, 93, 137, 0.14), transparent 14rem),
    radial-gradient(circle at 22% 84%, rgba(242, 182, 50, 0.16), transparent 12rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.journey-road-stage::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  background-image:
    linear-gradient(rgba(7, 27, 77, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 27, 77, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 88%);
}

.journey-road-svg {
  position: absolute;
  inset: 32px 16px 58px;
  width: calc(100% - 32px);
  height: calc(100% - 90px);
  overflow: visible;
}

.journey-road-shadow,
.journey-road-base,
.journey-road-progress,
.journey-road-dash {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-road-shadow {
  stroke: rgba(7, 27, 77, 0.14);
  stroke-width: 76;
  transform: translateY(12px);
}

.journey-road-base {
  stroke: #172034;
  stroke-width: 62;
}

.journey-road-progress {
  stroke: #f2b632;
  stroke-width: 66;
  opacity: 0.82;
}

.journey-road-dash {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 5;
  stroke-dasharray: 18 18;
}

.journey-total-badge {
  position: absolute;
  z-index: 4;
  right: clamp(14px, 2vw, 28px);
  top: clamp(14px, 2vw, 26px);
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border: 5px solid #ffffff;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7c948, #d99714);
  color: #071b4d;
  box-shadow: 0 18px 38px rgba(7, 27, 77, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.52);
  text-align: center;
}

.journey-total-badge strong {
  max-width: 5.6ch;
  font-size: 1.05rem;
  font-weight: 1000;
  line-height: 0.98;
}

.journey-total-badge span {
  color: rgba(7, 27, 77, 0.72);
  font-size: 0.58rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-marker-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.journey-phase-marker {
  position: absolute;
  display: grid;
  justify-items: center;
  width: clamp(112px, 13vw, 150px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #071b4d;
  text-align: center;
  cursor: pointer;
  transform: translate(-50%, 0);
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.journey-phase-marker:hover,
.journey-phase-marker:focus-visible,
.journey-phase-marker.is-selected {
  transform: translate(-50%, -5px);
  filter: drop-shadow(0 14px 24px rgba(7, 27, 77, 0.18));
  outline: none;
}

.journey-phase-marker.upcoming {
  opacity: 0.72;
}

.journey-marker-number,
.journey-marker-icon {
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.journey-marker-number {
  width: 58px;
  height: 58px;
  border: 4px solid #ffffff;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 1000;
  box-shadow: 0 12px 24px rgba(7, 27, 77, 0.22);
}

.journey-marker-icon {
  width: 38px;
  height: 38px;
  margin-top: -5px;
  border: 3px solid #ffffff;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 1000;
  box-shadow: 0 10px 18px rgba(7, 27, 77, 0.16);
}

.journey-marker-connector {
  width: 3px;
  height: 34px;
  margin: 2px 0 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(7, 27, 77, 0.28), rgba(7, 27, 77, 0.04));
}

.journey-phase-marker.phase-1 .journey-marker-number,
.journey-phase-marker.phase-1 .journey-marker-icon { background: #071b4d; }
.journey-phase-marker.phase-2 .journey-marker-number,
.journey-phase-marker.phase-2 .journey-marker-icon { background: #16a34a; }
.journey-phase-marker.phase-3 .journey-marker-number,
.journey-phase-marker.phase-3 .journey-marker-icon { background: #f59e0b; }
.journey-phase-marker.phase-4 .journey-marker-number,
.journey-phase-marker.phase-4 .journey-marker-icon { background: #7c3aed; }
.journey-phase-marker.phase-5 .journey-marker-number,
.journey-phase-marker.phase-5 .journey-marker-icon { background: #1b5d89; }

.journey-phase-marker strong {
  margin-top: 4px;
  color: #071b4d;
  font-size: 0.86rem;
  font-weight: 1000;
  line-height: 1.08;
}

.journey-phase-marker em {
  margin-top: 4px;
  color: #64748b;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.journey-phase-marker small {
  width: fit-content;
  margin-top: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #071b4d;
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(7, 27, 77, 0.08);
}

.journey-phase-marker.completed small { color: #166534; background: #ecfdf5; }
.journey-phase-marker.current-phase small { color: #8a5b00; background: #fff7e0; border-color: rgba(242, 182, 50, 0.36); }

.journey-progress-pin {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -100%);
  border: 4px solid #ffffff;
  border-radius: 999px 999px 999px 2px;
  background: #f2b632;
  box-shadow: 0 0 0 7px rgba(242, 182, 50, 0.2), 0 16px 30px rgba(7, 27, 77, 0.2);
  rotate: -45deg;
}

.journey-progress-pin::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #071b4d;
}

.journey-progress-pin span {
  position: absolute;
  left: 30px;
  top: -12px;
  min-width: 86px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #071b4d;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  rotate: 45deg;
  box-shadow: 0 10px 20px rgba(7, 27, 77, 0.16);
}

.journey-insight-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.journey-insight-strip article {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 27, 77, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.journey-insight-strip span,
.journey-phase-detail span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.journey-insight-strip strong {
  display: block;
  margin-top: 7px;
  color: #071b4d;
  font-size: 0.98rem;
  font-weight: 1000;
  line-height: 1.2;
}

.journey-insight-strip p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 820;
  line-height: 1.35;
}

.journey-insight-strip article i {
  display: block;
  height: 6px;
  max-width: 100%;
  margin-top: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2b632, #16a34a);
}

.journey-value-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(242, 182, 50, 0.24);
  border-radius: 22px;
  background: linear-gradient(135deg, #071b4d, #0b2c6b);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(7, 27, 77, 0.14);
}

.journey-value-strip strong,
.journey-value-strip span {
  display: block;
}

.journey-value-strip strong {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 1000;
}

.journey-value-strip span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 820;
}

.journey-value-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-value-strip li {
  padding: 7px 10px;
  border: 1px solid rgba(242, 182, 50, 0.4);
  border-radius: 999px;
  background: rgba(242, 182, 50, 0.12);
  color: #ffd76a;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.journey-road-card {
  gap: clamp(22px, 3vw, 32px);
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(7, 27, 77, 0.09);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 10%, rgba(242, 182, 50, 0.08), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    0 26px 70px rgba(7, 27, 77, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.journey-road-card::before {
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #f2b632 18%, #f2b632 82%, transparent 100%);
}

.journey-premium-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
}

.journey-title-block {
  min-width: 0;
}

.journey-title-block h3 {
  margin: 0;
  color: #071b4d;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.journey-title-block p {
  margin: 12px 0 0;
  color: #61708a;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 740;
}

.journey-kicker {
  margin-bottom: 14px;
  border-color: rgba(242, 182, 50, 0.34);
  background: #fff8e7;
  color: #a66a00;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.journey-header-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 34px rgba(7, 27, 77, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.journey-header-status > div:last-child {
  display: grid;
  gap: 5px;
}

.journey-header-status > div:last-child > span,
.journey-learner-panel span,
.journey-insight-strip em {
  color: #64748b;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.journey-header-status > div:last-child > strong,
.journey-learner-panel strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 920;
  line-height: 1.18;
}

.journey-readiness-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.journey-progress-ring {
  width: 108px;
  height: 108px;
  margin: 0;
  background:
    radial-gradient(circle, #ffffff 55%, transparent 56%),
    conic-gradient(#f2b632 var(--journey-progress), #e8edf5 0);
  box-shadow: inset 0 0 0 1px rgba(7, 27, 77, 0.06), 0 14px 30px rgba(7, 27, 77, 0.08);
  animation: journeyRingIn 0.8s ease both;
}

.journey-progress-ring strong {
  color: #071b4d;
  font-size: 1.55rem;
  font-weight: 920;
}

.journey-progress-ring span,
.journey-progress-ring small {
  color: #64748b;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.journey-road-hero {
  display: grid;
  grid-template-columns: minmax(184px, 0.2fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.journey-learner-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 182, 50, 0.1), transparent 11rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 34px rgba(7, 27, 77, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.journey-learner-panel small:not(.journey-readiness-badge) {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.25;
}

.journey-pathway-column {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.journey-road-stage {
  min-height: 338px;
  overflow: visible;
  border: 1px solid rgba(7, 27, 77, 0.07);
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 20%, rgba(242, 182, 50, 0.08), transparent 12rem),
    linear-gradient(180deg, #f8fbff, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.journey-road-stage::before {
  opacity: 0.55;
  background-size: 42px 42px;
}

.journey-road-svg {
  inset: 42px 18px 58px;
  width: calc(100% - 36px);
  height: calc(100% - 98px);
  animation: journeyRoadReveal 0.8s ease both;
}

.journey-road-base {
  stroke: #dbe3ee;
  stroke-width: 22;
}

.journey-road-progress {
  stroke: #f2b632;
  stroke-width: 24;
  filter: drop-shadow(0 8px 16px rgba(242, 182, 50, 0.18));
}

.journey-road-shadow,
.journey-road-dash {
  display: none;
}

.journey-total-badge {
  right: 18px;
  top: 18px;
  width: 76px;
  height: 76px;
  border-width: 3px;
  background: #fff8e7;
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.journey-total-badge strong {
  max-width: none;
  color: #071b4d;
  font-size: 1.3rem;
}

.journey-total-badge span {
  color: #a66a00;
  font-size: 0.58rem;
}

.journey-phase-marker {
  width: 112px;
  gap: 6px;
  transform: translate(-50%, -50%);
}

.journey-phase-marker:hover,
.journey-phase-marker:focus-visible,
.journey-phase-marker.is-selected {
  transform: translate(-50%, calc(-50% - 4px));
}

.journey-marker-number {
  width: 42px;
  height: 42px;
  border-width: 3px;
  font-size: 0.95rem;
  box-shadow: 0 10px 22px rgba(7, 27, 77, 0.16);
}

.journey-marker-icon {
  width: 30px;
  height: 30px;
  border-width: 2px;
  font-size: 0.56rem;
}

.journey-marker-label {
  display: grid;
  gap: 2px;
  padding: 6px 8px;
  border: 1px solid rgba(7, 27, 77, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 20px rgba(7, 27, 77, 0.07);
}

.journey-marker-label strong {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1;
}

.journey-marker-label em {
  margin: 0;
  color: #64748b;
  font-size: 0.56rem;
}

.journey-phase-marker > strong,
.journey-phase-marker > em,
.journey-phase-marker > small,
.journey-marker-connector {
  display: none;
}

.journey-progress-pin {
  width: 30px;
  height: 30px;
  border-width: 3px;
  box-shadow: 0 0 0 0 rgba(242, 182, 50, 0.28), 0 16px 30px rgba(7, 27, 77, 0.15);
  animation: journeyPinPulse 2.4s ease-in-out infinite;
}

.journey-progress-pin span {
  left: 25px;
  top: -14px;
  padding: 6px 10px;
  background: #ffffff;
  color: #071b4d;
  box-shadow: 0 12px 24px rgba(7, 27, 77, 0.12);
}

.journey-phase-panel-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.journey-phase-panel {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 18px;
  background: #ffffff;
  color: #071b4d;
  text-align: left;
  box-shadow: 0 12px 26px rgba(7, 27, 77, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.journey-phase-panel:hover,
.journey-phase-panel:focus-visible,
.journey-phase-panel.is-selected {
  transform: translateY(-3px);
  border-color: rgba(242, 182, 50, 0.45);
  box-shadow: 0 18px 34px rgba(7, 27, 77, 0.1), 0 0 0 4px rgba(242, 182, 50, 0.09);
  outline: none;
}

.journey-phase-panel.upcoming {
  opacity: 0.68;
}

.journey-phase-panel span {
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.journey-phase-panel strong {
  color: #071b4d;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.16;
}

.journey-phase-panel em {
  color: #64748b;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 820;
}

.journey-phase-panel small {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f8fafc;
  color: #071b4d;
  font-size: 0.6rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.journey-phase-panel.completed small { color: #166534; background: #ecfdf5; }
.journey-phase-panel.current-phase small { color: #8a5b00; background: #fff7e0; }

.journey-phase-detail {
  padding: 18px 20px;
  border: 1px solid rgba(7, 27, 77, 0.07);
  border-left: 4px solid #f2b632;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 12px 30px rgba(7, 27, 77, 0.06);
}

.journey-insight-strip {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 27, 77, 0.07);
}

.journey-insight-strip article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 0;
  border-right: 1px solid rgba(7, 27, 77, 0.07);
  border-radius: 0;
  box-shadow: none;
}

.journey-insight-strip article:last-child {
  border-right: 0;
}

.journey-insight-strip article > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff8e7;
  color: #a66a00;
  font-size: 0.78rem;
}

.journey-insight-strip strong {
  font-size: 0.95rem;
  font-weight: 900;
}

.journey-value-strip {
  padding: 20px 22px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, #f2b632 0 3px, transparent 3px),
    linear-gradient(135deg, #071b4d, #0b2c6b);
  box-shadow: 0 18px 40px rgba(7, 27, 77, 0.15);
}

.journey-value-strip strong {
  font-size: 1.14rem;
  font-weight: 900;
  letter-spacing: 0;
}

.journey-value-strip li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.journey-value-strip li span {
  margin: 0;
  color: #ffd76a;
}

.journey-road-card {
  padding: clamp(28px, 4.4vw, 52px);
}

.journey-premium-header {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.journey-title-block h3 {
  max-width: 12ch;
}

.journey-progress-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 27, 77, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.journey-progress-strip article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid rgba(7, 27, 77, 0.07);
}

.journey-progress-strip article:last-child {
  border-right: 0;
}

.journey-progress-strip span,
.journey-progress-strip em {
  color: #64748b;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
}

.journey-progress-strip strong {
  color: #071b4d;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  font-weight: 900;
  line-height: 1.15;
}

.journey-progress-strip i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf5;
}

.journey-progress-strip b {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2b632, #16a34a);
}

.journey-road-hero {
  grid-template-columns: 1fr;
}

.journey-pathway-column {
  gap: 22px;
}

.journey-road-stage {
  min-height: clamp(500px, 52vw, 640px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 18%, rgba(242, 182, 50, 0.12), transparent 13rem),
    radial-gradient(circle at 12% 88%, rgba(7, 27, 77, 0.08), transparent 15rem),
    linear-gradient(180deg, #f8fbff, #ffffff);
}

.journey-road-svg {
  inset: 62px 26px 78px;
  width: calc(100% - 52px);
  height: calc(100% - 128px);
}

.journey-road-base {
  stroke: #dce4ef;
  stroke-width: 32;
}

.journey-road-progress {
  stroke: url("#journeyRoadGradient");
  stroke-width: 34;
}

.journey-road-centre {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16 18;
}

.journey-phase-marker {
  width: clamp(132px, 12vw, 176px);
}

.journey-marker-number {
  width: 58px;
  height: 58px;
  font-size: 1.18rem;
}

.journey-marker-icon {
  width: 38px;
  height: 38px;
  font-size: 0.66rem;
}

.journey-marker-label {
  max-width: 176px;
  padding: 8px 10px;
}

.journey-marker-label strong {
  font-size: 0.78rem;
  line-height: 1.08;
}

.journey-marker-label em {
  font-size: 0.62rem;
}

.journey-milestone-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.journey-milestone {
  position: absolute;
  bottom: 30px;
  display: grid;
  justify-items: center;
  gap: 5px;
  width: min(130px, 12vw);
  transform: translateX(-50%);
  text-align: center;
}

.journey-milestone i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #071b4d;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(7, 27, 77, 0.1);
}

.journey-milestone.completed i {
  background: #ecfdf5;
  color: #166534;
}

.journey-milestone em {
  color: #64748b;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 780;
  line-height: 1.15;
}

.journey-progress-pin {
  width: 38px;
  height: 38px;
  z-index: 7;
}

.journey-progress-pin span {
  left: 30px;
  top: -20px;
  display: grid;
  gap: 2px;
  min-width: 124px;
}

.journey-progress-pin span em {
  color: #64748b;
  font-size: 0.56rem;
  font-style: normal;
}

.journey-total-badge {
  right: 24px;
  top: 24px;
  width: 70px;
  height: 70px;
}

.journey-phase-panel ul,
.journey-expanded-grid ul {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.journey-phase-panel li,
.journey-expanded-grid li {
  color: #475569;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.2;
}

.journey-phase-panel li::before,
.journey-expanded-grid li::before {
  content: "✓";
  margin-right: 6px;
  color: #16a34a;
  font-weight: 1000;
}

.journey-phase-panel-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.journey-phase-panel {
  gap: 8px;
  min-height: 230px;
  padding: 18px;
  border-radius: 22px;
}

.journey-phase-panel strong {
  font-size: 0.98rem;
}

.journey-phase-panel p {
  margin: 0;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 790;
  line-height: 1.3;
}

.journey-phase-panel small {
  margin-top: auto;
}

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

.journey-expanded-grid div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(7, 27, 77, 0.07);
  border-radius: 16px;
  background: #ffffff;
}

.journey-expanded-grid em {
  display: block;
  color: #64748b;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.journey-expanded-grid p {
  margin: 8px 0 0;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.34;
}

.journey-day-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(7, 27, 77, 0.07);
  border-radius: 22px;
  background: #ffffff;
}

.journey-day-timeline span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
}

.journey-day-timeline span:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + 2px);
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #cbd5e1;
}

.journey-day-timeline .completed {
  background: #fff8e7;
  color: #071b4d;
}

@keyframes journeyPinPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 182, 50, 0.28), 0 16px 30px rgba(7, 27, 77, 0.15); }
  50% { box-shadow: 0 0 0 10px rgba(242, 182, 50, 0), 0 16px 30px rgba(7, 27, 77, 0.15); }
}

@keyframes journeyRoadReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes journeyRingIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 980px) {
  .journey-progress-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .journey-progress-strip article:nth-child(3n) {
    border-right: 0;
  }

  .journey-road-stage {
    min-height: 440px;
  }

  .journey-phase-marker {
    width: 112px;
  }

  .journey-marker-label {
    display: none;
  }

  .journey-milestone em {
    display: none;
  }

  .journey-phase-panel-row,
  .journey-expanded-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .journey-road-card {
    padding: 22px;
    border-radius: 26px;
  }

  .journey-title-block h3 {
    max-width: none;
  }

  .journey-progress-strip,
  .journey-phase-panel-row,
  .journey-expanded-grid,
  .journey-day-timeline {
    grid-template-columns: 1fr;
  }

  .journey-progress-strip article,
  .journey-insight-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(7, 27, 77, 0.07);
  }

  .journey-progress-strip article:last-child,
  .journey-insight-strip article:last-child {
    border-bottom: 0;
  }

  .journey-day-timeline span:not(:last-child)::after {
    display: none;
  }

}

.school-partnership-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(217, 162, 27, 0.14);
  border: 1px solid rgba(217, 162, 27, 0.42);
  color: #d9a21b;
  font-size: 0.75rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.school-dashboard-build-marker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f5b41b;
  color: #071b4d;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
}

.partner-logo-card {
  width: 150px;
  height: 110px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.partner-logo {
  width: 140px;
  height: 100px;
  object-fit: contain;
  padding: 8px;
}

.partner-logo-fallback {
  display: grid;
  place-items: center;
  width: 140px;
  height: 100px;
  background: #ffffff;
  color: #071b4d;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  font-size: 1.35rem;
  font-weight: 1000;
}

.school-summary-grid,
.school-access-badges {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.school-access-badges span {
  box-sizing: border-box;
  display: grid;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(245, 180, 27, 0.4);
  font-weight: 800;
  min-width: 0;
  overflow-wrap: anywhere;
}

.school-access-badges em {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-access-badges strong {
  color: #f5b41b;
  min-width: 0;
  overflow-wrap: anywhere;
}

.school-identity-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: stretch;
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.school-identity-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.school-identity-main h3,
.school-identity-main p {
  margin: 0;
}

.school-identity-main h3 {
  margin: 4px 0 7px;
  color: #071b4d;
  font-size: 1.45rem;
  line-height: 1.15;
}

.school-identity-main p:not(.eyebrow) {
  color: #64748b;
  font-weight: 800;
  line-height: 1.45;
}

.school-identity-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.school-identity-stats article {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 96px;
  padding: 15px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #f5b41b;
}

.school-identity-stats span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.school-identity-stats strong {
  color: #071b4d;
  font-size: 1.25rem;
  line-height: 1.1;
}

.school-dashboard-section {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  gap: 16px;
  overflow-wrap: anywhere;
}

.school-cohort-panel,
.school-linked-cohort-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: grid;
  gap: 18px;
  margin-top: 16px;
  padding: 22px;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.school-learner-search-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  display: grid;
  gap: 11px;
  margin-top: 20px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 24px;
  background: linear-gradient(180deg, #0a2a66 0%, #123b86 100%);
  box-shadow: 0 18px 42px rgba(7, 27, 77, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.school-learner-search {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  display: grid;
  gap: 9px;
  position: relative;
}

.school-cohort-filter {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  display: grid;
  gap: 9px;
  position: relative;
}

.school-cohort-filter__label {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(212, 175, 55, 0.28);
}

.school-cohort-filter::after {
  content: "⌄";
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #d4af37;
  font-size: 1.25rem;
  font-weight: 1000;
  pointer-events: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.school-cohort-filter__select {
  box-sizing: border-box;
  width: 100%;
  min-height: 62px;
  appearance: none;
  border: 2px solid #d4af37;
  border-radius: 22px;
  background: #ffffff;
  color: #0a2a66;
  padding: 16px 56px 16px 22px;
  font-size: 1.08rem;
  font-weight: 700;
  outline: none;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(212, 175, 55, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.school-cohort-filter:hover::after {
  color: #f5d76e;
  transform: translateY(-1px);
}

.school-cohort-filter__select:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    0 0 0 2px rgba(212, 175, 55, 0.28);
}

.school-cohort-filter__select:focus {
  border-color: #f5d76e;
  box-shadow:
    0 0 0 4px rgba(212, 175, 55, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

.school-learner-search span {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(212, 175, 55, 0.28);
}

.school-learner-search::after {
  content: "⌕";
  position: absolute;
  left: 20px;
  bottom: 17px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #d4af37;
  font-size: 1.25rem;
  font-weight: 1000;
  pointer-events: none;
}

.school-learner-search input {
  box-sizing: border-box;
  width: 100%;
  min-height: 62px;
  border: 2px solid #d4af37;
  border-radius: 22px;
  background: #ffffff;
  color: #0a2a66;
  padding: 16px 22px 16px 56px;
  font-size: 1.08rem;
  font-weight: 900;
  outline: none;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(212, 175, 55, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.school-learner-search input::placeholder {
  color: #8a96b2;
  font-size: 1.05rem;
  font-weight: 850;
}

.school-learner-search:hover::after {
  color: #f5d76e;
}

.school-learner-search input:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    0 0 0 2px rgba(212, 175, 55, 0.28);
}

.school-learner-search input:focus {
  border-color: #f5d76e;
  box-shadow:
    0 0 0 4px rgba(212, 175, 55, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

.school-learner-search-count {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 950;
}

.school-cohort-summary-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.school-executive-kpi {
  position: relative;
  min-width: 0;
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.school-executive-kpi::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #94a3b8;
}

.school-executive-kpi.blue {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border-color: #bfdbfe;
}

.school-executive-kpi.blue::before { background: #2563eb; }

.school-executive-kpi.green {
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
  border-color: #bbf7d0;
}

.school-executive-kpi.green::before { background: #16a34a; }

.school-executive-kpi.amber {
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
  border-color: #fde68a;
}

.school-executive-kpi.amber::before { background: #f59e0b; }

.school-executive-kpi.neutral {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-color: #e2e8f0;
}

.school-executive-kpi.is-clickable {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.school-executive-kpi.is-clickable:hover,
.school-executive-kpi.is-clickable:focus {
  transform: translateY(-3px);
  border-color: rgba(217, 162, 27, 0.5);
  box-shadow: 0 22px 44px rgba(7, 27, 77, 0.12);
  outline: none;
}

.school-achievements-panel {
  margin-top: 18px;
}

.school-achievement-card {
  cursor: default;
}

.school-achievement-card:hover {
  transform: none;
}

.school-achievement-card .award-reason strong {
  color: #071b4d;
}

.school-achievement-empty {
  cursor: default;
}

.award-certificate-unavailable {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-weight: 900;
}

.school-certificate-error {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #991b1b;
  box-shadow: 0 12px 24px rgba(153, 27, 27, 0.08);
}

.school-certificate-error strong {
  color: #7f1d1d;
  font-weight: 1000;
}

.school-certificate-error span {
  font-weight: 850;
}

.school-kpi-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  font-size: 1rem;
}

.school-executive-kpi span {
  display: block;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.school-executive-kpi strong {
  display: block;
  margin-top: 8px;
  color: #071b4d;
  font-size: 2.35rem;
  font-weight: 1000;
  line-height: 0.95;
}

.school-executive-kpi em {
  display: block;
  margin-top: 9px;
  color: #64748b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
}

.school-learner-row-list {
  display: grid;
  gap: 22px;
  min-width: 0;
  max-width: 100%;
}

.school-cohort-photo-preparation {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  min-height: 330px;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(7, 27, 77, 0.12);
  border-radius: 30px;
  background: linear-gradient(135deg, #f4f8fc 0%, #ffffff 55%, #fff8e5 100%);
  box-shadow: 0 24px 64px rgba(7, 27, 77, 0.12);
}

.school-cohort-photo-preparation h4 {
  margin: 7px 0 10px;
  color: #071b4d;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 1000;
  line-height: 1.04;
}

.school-cohort-photo-preparation p:last-child {
  max-width: 560px;
  margin: 0;
  color: #64748b;
  font-weight: 800;
  line-height: 1.55;
}

.school-cohort-photo-preparation__visual {
  display: grid;
  gap: 13px;
}

.school-cohort-photo-preparation__visual > span {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: 20px 13px;
  gap: 9px 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(207, 217, 232, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.school-cohort-photo-preparation__visual i,
.school-cohort-photo-preparation__visual b,
.school-cohort-photo-preparation__visual em {
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(100deg, #e8eef5 20%, #f9fbfd 42%, #e8eef5 64%);
  background-size: 240% 100%;
  animation: school-profile-preparation 1.35s ease-in-out infinite;
}

.school-cohort-photo-preparation__visual i {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  border: 3px solid rgba(242, 189, 43, 0.42);
  border-radius: 50%;
}

.school-cohort-photo-preparation__visual b { width: 72%; height: 16px; }
.school-cohort-photo-preparation__visual em { width: 48%; height: 11px; }

@keyframes school-profile-preparation {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@media (max-width: 760px) {
  .school-cohort-photo-preparation {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .school-cohort-photo-preparation__visual i,
  .school-cohort-photo-preparation__visual b,
  .school-cohort-photo-preparation__visual em { animation: none; }
}

.school-learner-row-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.9fr);
  align-items: stretch;
  gap: 24px;
  padding: 26px;
  border: 1px solid #cfd9e8;
  border-radius: 30px;
  background: linear-gradient(135deg, #eef4fb 0%, #f8fafc 54%, #fff8e5 100%);
  box-shadow: 0 24px 64px rgba(7, 27, 77, 0.16);
  overflow-wrap: anywhere;
}

.school-learner-profile-section {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  padding: 22px 18px;
  border: 1px solid rgba(242, 189, 43, 0.42);
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(242, 189, 43, 0.18), transparent 42%),
    #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 34px rgba(7, 27, 77, 0.08);
}

.school-learner-main {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.school-learner-main-head {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.school-learner-photo-wrap {
  width: clamp(220px, 18vw, 290px);
  height: clamp(220px, 18vw, 290px);
  min-width: clamp(220px, 18vw, 290px);
}

.school-learner-photo-wrap .learner-avatar.school-profile {
  width: 100%;
  height: 100%;
  min-width: 100%;
  border: 5px solid #f2bd2b;
  box-shadow: 0 24px 52px rgba(7, 27, 77, 0.22);
  font-size: 2.4rem;
}

.school-learner-photo-shell {
  position: relative;
  isolation: isolate;
}

.school-learner-photo-shell > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-learner-photo-fallback {
  position: relative;
  z-index: 0;
}

.school-learner-card-identity {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.school-learner-row-card span {
  display: block;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: none;
}

.school-learner-row-card strong {
  display: block;
  color: #071b4d;
  font-size: 2.05rem;
  font-weight: 1000;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.school-learner-card-identity small {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.school-learner-card-identity em {
  color: #64748b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.school-ilp-button {
  margin-top: 0;
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid rgba(242, 182, 50, 0.78);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.035)),
    linear-gradient(135deg, #061845 0%, #0d2f6f 52%, #1b5d89 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  box-shadow:
    0 12px 26px rgba(7, 27, 77, 0.18),
    0 0 0 3px rgba(242, 189, 43, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.school-ilp-button::before {
  content: none;
}

.school-ilp-button:hover,
.school-ilp-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 182, 50, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #0a2358 0%, #123a78 54%, #206aa7 100%);
  box-shadow:
    0 16px 34px rgba(7, 27, 77, 0.23),
    0 0 0 4px rgba(242, 189, 43, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  outline: none;
}

.school-ilp-button:active {
  transform: translateY(0) scale(0.99);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #061640 0%, #0b2c6b 60%, #174b91 100%);
  box-shadow:
    0 8px 18px rgba(7, 27, 77, 0.18),
    0 0 0 3px rgba(242, 189, 43, 0.12),
    inset 0 2px 5px rgba(7, 27, 77, 0.12);
}

.school-intelligence-button {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  border: 1.5px solid rgba(242, 182, 50, 0.78);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.035)),
    linear-gradient(135deg, #061845 0%, #0d2f6f 52%, #1b5d89 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.01em;
  box-shadow:
    0 12px 26px rgba(7, 27, 77, 0.18),
    0 0 0 3px rgba(242, 189, 43, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.school-intelligence-button::before {
  content: none;
}

.school-intelligence-button:hover,
.school-intelligence-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 182, 50, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #0a2358 0%, #123a78 54%, #206aa7 100%);
  box-shadow:
    0 16px 34px rgba(7, 27, 77, 0.23),
    0 0 0 4px rgba(242, 182, 50, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  outline: none;
}

.school-intelligence-button:active {
  transform: translateY(0) scale(0.99);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #061640 0%, #0b2c6b 60%, #174b91 100%);
  box-shadow:
    0 8px 18px rgba(7, 27, 77, 0.18),
    0 0 0 3px rgba(242, 189, 43, 0.12),
    inset 0 2px 5px rgba(7, 27, 77, 0.12);
}

.school-card-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.school-card-action-row .school-intelligence-button {
  margin-top: 0;
}

.school-intelligence-helper {
  display: block;
  width: min(180px, 100%);
  margin-top: 5px;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.25;
}

.school-ilp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(7, 27, 77, 0.62);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}

.school-ilp-modal {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(92vh, 980px);
  overflow-y: auto;
  border: 1px solid rgba(242, 189, 43, 0.42);
  border-radius: 30px;
  background: #f3f6fb;
  box-shadow: 0 30px 90px rgba(7, 27, 77, 0.34);
}

.school-ilp-close {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(242, 189, 43, 0.78);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffe38a 0%, #f2bd2b 100%);
  color: #071b4d;
  font-weight: 1000;
  box-shadow: 0 12px 26px rgba(242, 189, 43, 0.24);
  cursor: pointer;
}

/* Premium school ILP dashboard: visual-only modal content for the existing View ILP action. */
.school-ilp-dashboard {
  min-width: 0;
  display: grid;
  gap: 22px;
  padding: clamp(18px, 3vw, 30px);
}

.school-ilp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(242, 189, 43, 0.22), transparent 34%),
    linear-gradient(135deg, #071b4d 0%, #123f7a 100%);
  box-shadow: 0 24px 60px rgba(7, 27, 77, 0.22);
  color: #ffffff;
}

.school-ilp-hero-profile {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.school-ilp-hero-profile .learner-avatar,
.school-ilp-hero-profile .learner-photo {
  width: 126px;
  height: 126px;
  min-width: 126px;
  border: 5px solid #f2bd2b;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.school-ilp-hero .eyebrow {
  color: #f2bd2b;
}

.school-ilp-demo-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin: 4px 0 8px;
  padding: 5px 10px;
  border: 1px solid rgba(242, 189, 43, 0.52);
  border-radius: 999px;
  background: rgba(255, 248, 229, 0.16);
  color: #ffe38a;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.03em;
}

.school-ilp-hero h3 {
  margin: 6px 0 14px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.98;
}

.school-ilp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.school-ilp-hero-meta span,
.school-ilp-hero-action span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 1000;
}

.school-ilp-hero-action {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.school-ilp-hero-action span.green {
  border-color: rgba(134, 239, 172, 0.48);
  background: rgba(22, 163, 74, 0.24);
}

.school-ilp-hero-action span.amber {
  border-color: rgba(253, 230, 138, 0.62);
  background: rgba(245, 158, 11, 0.24);
}

.school-ilp-hero-action span.red {
  border-color: rgba(254, 202, 202, 0.58);
  background: rgba(220, 38, 38, 0.22);
}

.school-ilp-dashboard-section,
.school-ilp-chart-card,
.school-ilp-readiness-card {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid #d7e0ed;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(7, 27, 77, 0.1);
}

.school-ilp-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.school-ilp-section-head h4 {
  margin: 4px 0 0;
  color: #071b4d;
  font-size: clamp(1.28rem, 2vw, 1.68rem);
}

.school-ilp-section-head > span {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid rgba(242, 189, 43, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff8e5 0%, #ffe8a3 100%);
  color: #071b4d;
  font-size: 0.78rem;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(242, 189, 43, 0.16);
}

.school-ilp-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.school-ilp-metric-card {
  min-width: 0;
  display: grid;
  gap: 11px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-left: 6px solid #94a3b8;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.school-ilp-metric-card.above,
.school-ilp-chart-row.above {
  border-left-color: #16a34a;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.school-ilp-metric-card.on,
.school-ilp-chart-row.on {
  border-left-color: #f2bd2b;
  background: linear-gradient(135deg, #fff8e5 0%, #ffffff 100%);
}

.school-ilp-metric-card.below,
.school-ilp-chart-row.below {
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.school-ilp-metric-card.concern,
.school-ilp-chart-row.concern {
  border-left-color: #fca5a5;
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
}

.school-ilp-metric-card.awaiting,
.school-ilp-chart-row.awaiting {
  border-left-color: #94a3b8;
}

.school-ilp-metric-card.awaiting,
.school-ilp-chart-row.awaiting {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  border-color: #d7e0ed;
}

.school-ilp-metric-card.awaiting .school-ilp-metric-head strong,
.school-ilp-chart-row.awaiting strong {
  color: #64748b;
  font-size: 1rem;
}

.school-ilp-metric-card.awaiting .school-ilp-progress-track b,
.school-ilp-chart-row.awaiting .school-ilp-chart-bar b {
  background: repeating-linear-gradient(
    45deg,
    #cbd5e1 0,
    #cbd5e1 8px,
    #e2e8f0 8px,
    #e2e8f0 16px
  );
}

.school-ilp-metric-head,
.school-ilp-metric-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.school-ilp-metric-head span {
  color: #071b4d;
  font-size: 0.9rem;
  font-weight: 1000;
}

.school-ilp-metric-head strong {
  color: #071b4d;
  font-size: 1.25rem;
  font-weight: 1000;
  white-space: nowrap;
}

.school-ilp-metric-foot em,
.school-ilp-metric-foot small {
  color: #64748b;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.school-ilp-progress-track,
.school-ilp-chart-bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: #e2e8f0;
}

.school-ilp-progress-track {
  overflow: hidden;
}

.school-ilp-chart-bar {
  overflow: visible;
}

.school-ilp-progress-track b,
.school-ilp-chart-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2bd2b 0%, #16a34a 100%);
}

.school-ilp-progress-track .expected-line,
.school-ilp-chart-bar .expected-line {
  position: absolute;
  top: -7px;
  bottom: -7px;
  left: 75%;
  z-index: 2;
  width: 4px;
  border-radius: 999px;
  background: #071b4d;
  box-shadow:
    0 0 0 2px #f2bd2b,
    0 0 0 5px rgba(7, 27, 77, 0.12);
  opacity: 1;
}

.school-ilp-chart-bar::after {
  content: "75% expected";
  position: absolute;
  left: 75%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  z-index: 3;
  padding: 3px 7px;
  border-radius: 999px;
  background: #071b4d;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 1000;
  white-space: nowrap;
}

.school-ilp-chart-row:not(:first-child) .school-ilp-chart-bar::after {
  display: none;
}

.school-ilp-chart {
  display: grid;
  gap: 18px;
  padding-top: 12px;
}

.school-ilp-chart-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(0, 1.5fr) minmax(76px, auto);
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid #e2e8f0;
  border-left: 6px solid #94a3b8;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(7, 27, 77, 0.04);
}

.school-ilp-chart-row span,
.school-ilp-chart-row strong {
  color: #071b4d;
  font-weight: 1000;
}

.school-ilp-unit-section {
  background:
    radial-gradient(circle at top right, rgba(242, 189, 43, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.96);
}

.school-ilp-unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.school-ilp-unit-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d7e0ed;
  border-left: 6px solid #94a3b8;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 24px rgba(7, 27, 77, 0.06);
}

.school-ilp-unit-card.above {
  border-left-color: #16a34a;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.school-ilp-unit-card.on {
  border-left-color: #f2bd2b;
  background: linear-gradient(135deg, #fff8e5 0%, #ffffff 100%);
}

.school-ilp-unit-card.below {
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.school-ilp-unit-card.concern {
  border-left-color: #fca5a5;
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
}

.school-ilp-unit-card.awaiting {
  border-color: #d7e0ed;
  border-left-color: #94a3b8;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.school-ilp-unit-card.awaiting .school-ilp-progress-track b {
  background: repeating-linear-gradient(
    45deg,
    #cbd5e1 0,
    #cbd5e1 8px,
    #e2e8f0 8px,
    #e2e8f0 16px
  );
}

.qualification-mapping-dashboard {
  display: grid;
  gap: 18px;
}

.qualification-mapping-dashboard .school-ilp-section-head {
  margin-bottom: 0;
  padding: 18px;
  border: 1px solid rgba(212, 160, 23, 0.72);
  border-bottom: 4px solid #d4a017;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(212, 160, 23, 0.2), transparent 34%),
    linear-gradient(135deg, #061842 0%, #08265d 100%);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(6, 24, 66, 0.16);
}

.qualification-mapping-dashboard .school-ilp-section-head h4,
.qualification-mapping-dashboard .school-ilp-section-head p {
  color: #ffffff;
}

.qualification-mapping-dashboard .school-ilp-section-head .eyebrow {
  color: #ffe9a8;
}

.qualification-mapping-dashboard .school-ilp-section-head > div > p:not(.eyebrow) {
  margin: 6px 0 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
  line-height: 1.45;
}

.qualification-mapping-dashboard .school-ilp-section-head > span {
  border-color: rgba(212, 160, 23, 0.82);
  background: rgba(255, 255, 255, 0.12);
  color: #ffe9a8;
  box-shadow: none;
}

.qualification-mapping-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.qualification-mapping-summary article {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(212, 160, 23, 0.46);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(6, 24, 66, 0.08);
}

.qualification-mapping-summary span,
.qualification-unit-detail span {
  display: block;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qualification-mapping-summary strong {
  display: block;
  margin-top: 6px;
  color: #061842;
  font-size: 1.35rem;
  font-weight: 1000;
}

.qualification-unit-card {
  overflow: hidden;
  padding: 0;
}

.qualification-unit-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, auto) 28px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.qualification-unit-card summary::-webkit-details-marker {
  display: none;
}

.qualification-unit-card summary::after {
  content: "+";
  display: inline-grid;
  grid-column: 3;
  grid-row: 1;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(212, 160, 23, 0.58);
  border-radius: 999px;
  background: #061842;
  color: #ffe9a8;
  font-size: 1rem;
  font-weight: 1000;
}

.qualification-unit-card[open] summary::after {
  content: "−";
}

.qualification-unit-status {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.qualification-unit-status strong {
  color: #061842;
  font-size: 1.32rem;
  font-weight: 1000;
  line-height: 1;
}

.qualification-unit-status em {
  color: #475569;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
  text-align: right;
}

.qualification-unit-card .school-ilp-progress-track {
  margin: 0 16px 14px;
}

.qualification-unit-card .school-ilp-unit-meta {
  padding: 0 16px 16px;
}

.qualification-unit-card.green {
  border-left-color: #16a34a;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.qualification-unit-card.amber {
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.qualification-unit-card.red {
  border-left-color: #dc2626;
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
}

.qualification-unit-card.neutral {
  border-color: #d7e0ed;
  border-left-color: #93c5fd;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.qualification-unit-card.green .school-ilp-progress-track b {
  background: linear-gradient(90deg, #0f8a2b, #16a34a);
}

.qualification-unit-card.amber .school-ilp-progress-track b {
  background: linear-gradient(90deg, #d4a017, #f59e0b);
}

.qualification-unit-card.red .school-ilp-progress-track b {
  background: linear-gradient(90deg, #b91c1c, #ef4444);
}

.qualification-unit-card.neutral .school-ilp-progress-track b {
  background: repeating-linear-gradient(
    45deg,
    #93c5fd 0,
    #93c5fd 8px,
    #bfdbfe 8px,
    #bfdbfe 16px
  );
}

.qualification-unit-detail {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
}

.qualification-unit-detail article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(6, 24, 66, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.qualification-unit-detail p {
  margin: 5px 0 0;
  color: #061842;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.45;
}

.qualification-unit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 16px 16px;
}

.qualification-evidence-explorer {
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(212, 160, 23, 0.12), transparent 30%),
    #f8fbff;
}

.qualification-evidence-head {
  padding: 18px;
  border: 1px solid rgba(212, 160, 23, 0.72);
  border-bottom: 4px solid #d4a017;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(212, 160, 23, 0.2), transparent 34%),
    linear-gradient(135deg, #061842 0%, #08265d 100%);
  box-shadow: 0 18px 42px rgba(6, 24, 66, 0.16);
}

.qualification-evidence-head h4,
.qualification-evidence-head p {
  color: #ffffff;
}

.qualification-evidence-head .eyebrow {
  color: #ffe9a8;
}

.qualification-evidence-head > div > p:not(.eyebrow) {
  margin: 6px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
  line-height: 1.45;
}

.qualification-evidence-head > span {
  border-color: rgba(212, 160, 23, 0.82);
  background: rgba(255, 255, 255, 0.12);
  color: #ffe9a8;
  box-shadow: none;
}

.qualification-evidence-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.qualification-evidence-unit-card {
  overflow: hidden;
  min-width: 0;
  border-radius: 18px;
}

.qualification-evidence-unit-card.active {
  border-color: rgba(212, 160, 23, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(212, 160, 23, 0.26),
    0 22px 52px rgba(6, 24, 66, 0.18);
}

.qualification-evidence-card-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.qualification-evidence-card-header span {
  color: #ffe9a8;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qualification-evidence-card-header h5 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 1000;
  line-height: 1.25;
}

.qualification-evidence-ring {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--qualification-ring, conic-gradient(#d4a017 0deg, #e8edf5 0deg));
  box-shadow: inset 0 0 0 1px rgba(212, 160, 23, 0.55), 0 10px 22px rgba(2, 6, 23, 0.22);
}

.qualification-evidence-ring::before {
  content: "";
  grid-area: 1 / 1;
  width: 54px;
  height: 54px;
  border-radius: inherit;
  background: #ffffff;
}

.qualification-evidence-ring strong {
  position: relative;
  grid-area: 1 / 1;
  color: #061842;
  font-weight: 1000;
}

.qualification-evidence-card-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.qualification-evidence-card-body dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.qualification-evidence-card-body div {
  min-width: 0;
}

.qualification-evidence-card-body dt {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qualification-evidence-card-body dd {
  margin: 4px 0 0;
  color: #061842;
  font-size: 0.95rem;
  font-weight: 1000;
}

.qualification-evidence-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.qualification-evidence-trail {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(212, 160, 23, 0.42);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(6, 24, 66, 0.1);
}

.qualification-evidence-trail.is-open {
  animation: qualificationEvidenceReveal 260ms ease both;
}

@keyframes qualificationEvidenceReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qualification-evidence-trail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.34);
}

.qualification-evidence-trail-head h4 {
  margin: 4px 0 0;
  color: #061842;
  font-size: 1.18rem;
  font-weight: 1000;
}

.qualification-evidence-trail-head > span {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff8e5;
  color: #061842;
  font-size: 0.76rem;
  font-weight: 1000;
}

.qualification-evidence-trail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.qualification-evidence-trail-actions > span {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff8e5;
  color: #061842;
  font-size: 0.76rem;
  font-weight: 1000;
}

.qualification-evidence-item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qualification-evidence-item-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d7e0ed;
  border-left: 5px solid #93c5fd;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 24px rgba(7, 27, 77, 0.06);
}

.qualification-evidence-item-card.complete {
  border-left-color: #16a34a;
}

.qualification-evidence-item-card.is-complete {
  border-color: rgba(22, 163, 74, 0.2);
  border-left-color: #16a34a;
  background: linear-gradient(180deg, rgba(237, 252, 242, 0.85), rgba(248, 255, 250, 0.95));
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.08);
}

.qualification-evidence-item-card.awaiting-review {
  border-left-color: #d4a017;
}

.qualification-evidence-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qualification-evidence-item-top span,
.qualification-evidence-item-top em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #061842;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qualification-evidence-item-top em {
  margin-left: auto;
  background: #fff8e5;
}

.qualification-evidence-item-top strong,
.qualification-evidence-item-card h5 {
  color: #061842;
  font-weight: 1000;
}

.qualification-evidence-item-card h5 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.qualification-evidence-item-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.qualification-evidence-item-meta div,
.qualification-evidence-mapping-line {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(6, 24, 66, 0.08);
  border-radius: 12px;
  background: #f8fafc;
}

.qualification-evidence-item-meta span,
.qualification-evidence-mapping-line span,
.qualification-evidence-detail-grid span {
  display: block;
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qualification-evidence-item-meta strong,
.qualification-evidence-mapping-line strong {
  display: block;
  margin-top: 4px;
  color: #061842;
  font-size: 0.82rem;
  font-weight: 1000;
  line-height: 1.35;
}

.qualification-evidence-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.qualification-evidence-type-row span {
  padding: 5px 8px;
  border: 1px solid rgba(212, 160, 23, 0.42);
  border-radius: 999px;
  background: #ffffff;
  color: #061842;
  font-size: 0.66rem;
  font-weight: 1000;
}

.qualification-evidence-empty-state {
  padding: 18px;
  border: 1px dashed rgba(6, 24, 66, 0.22);
  border-radius: 16px;
  background: #f8fafc;
}

.qualification-evidence-empty-state h5 {
  margin: 4px 0 0;
  color: #061842;
  font-size: 1rem;
  font-weight: 1000;
}

.qualification-evidence-outstanding {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(6, 24, 66, 0.1);
  border-radius: 16px;
  background: #f8fafc;
  overflow: hidden;
}

.qualification-evidence-outstanding summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  cursor: pointer;
  color: #061842;
  font-size: 0.86rem;
  font-weight: 1000;
  list-style: none;
}

.qualification-evidence-outstanding summary::-webkit-details-marker {
  display: none;
}

.qualification-evidence-outstanding summary span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
}

.qualification-evidence-outstanding .qualification-evidence-item-grid {
  padding: 0 14px 14px;
}

.qualification-evidence-item-card.not-contributing {
  opacity: 0.86;
  border-left-color: #94a3b8;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.qualification-evidence-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.52);
}

.qualification-evidence-drawer-panel {
  width: min(920px, 100%);
  max-height: min(82vh, 780px);
  overflow: auto;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(212, 160, 23, 0.72);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.32);
}

.qualification-evidence-drawer-panel header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #061842 0%, #08265d 100%);
  box-shadow: inset 0 -4px 0 rgba(212, 160, 23, 0.92);
}

.qualification-evidence-drawer-panel header h4,
.qualification-evidence-drawer-panel header span {
  color: #ffffff;
}

.qualification-evidence-drawer-panel header h4 {
  margin: 4px 0;
  font-size: 1.2rem;
  font-weight: 1000;
}

.qualification-evidence-drawer-panel header .eyebrow {
  color: #ffe9a8;
}

.qualification-evidence-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.qualification-evidence-detail-grid article {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.qualification-evidence-detail-grid strong {
  display: block;
  margin-top: 5px;
  color: #061842;
  font-weight: 1000;
}

.qualification-evidence-drawer-panel section {
  display: grid;
  gap: 10px;
}

.qualification-evidence-drawer-panel h5 {
  margin: 0;
  color: #061842;
  font-size: 0.92rem;
  font-weight: 1000;
}

.qualification-evidence-drawer-panel p {
  margin: 0;
  color: #34455f;
  font-weight: 800;
  line-height: 1.5;
}

.qualification-evidence-file-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.qualification-evidence-file {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(212, 160, 23, 0.46);
  border-radius: 14px;
  background: #fff;
  color: #061842;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(6, 24, 66, 0.06);
}

.qualification-evidence-file span,
.qualification-evidence-file {
  font-weight: 950;
}

.qualification-evidence-file strong {
  overflow-wrap: anywhere;
}

.qualification-evidence-file.unavailable {
  border-color: #d7e0ed;
  color: #475569;
}

.qualification-evidence-file em,
.qualification-evidence-file-note {
  color: #64748b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.learner-submission-viewer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.learner-submission-viewer-section {
  padding: 14px;
  border: 1px solid rgba(6, 24, 66, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(6, 24, 66, 0.06);
}

.learner-submission-asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.learner-submission-asset {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(212, 160, 23, 0.5);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #061842;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(6, 24, 66, 0.08);
}

.learner-submission-asset span,
.learner-submission-record-grid span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.learner-submission-asset strong,
.learner-submission-record-grid strong {
  color: #061842;
  font-weight: 1000;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.learner-submission-asset p,
.learner-submission-asset em {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.45;
}

.learner-submission-asset.media img,
.learner-submission-asset.media video {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: 12px;
  background: #eef2f7;
}

.learner-submission-asset.unavailable {
  border-color: #d7e0ed;
  background: #f8fafc;
}

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

.learner-submission-record-grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.learner-submission-outcome-grid,
.competency-checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.learner-submission-outcome-grid article,
.competency-checklist-grid article {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.learner-submission-outcome-grid article.complete {
  border-color: rgba(15, 138, 43, 0.34);
  background: #ecfdf3;
}

.learner-submission-outcome-grid article.awaiting {
  border-color: rgba(217, 119, 6, 0.34);
  background: #fff7ed;
}

.learner-submission-outcome-grid article.not-met {
  border-color: rgba(185, 28, 28, 0.26);
  background: #fff1f2;
}

.learner-submission-outcome-grid span,
.competency-checklist-grid span:first-child {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.learner-submission-outcome-grid strong {
  color: #061842;
  font-weight: 1000;
  line-height: 1.3;
}

.competency-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 1000;
}

.competency-status.complete {
  background: #dcfce7;
  color: #166534;
}

.competency-status.not-recorded {
  background: #eef2f7;
  color: #475569;
}

.competency-status.not-met {
  background: #fee2e2;
  color: #991b1b;
}

.tutor-assessment-summary p {
  padding: 12px;
  border-left: 4px solid #d4a017;
  border-radius: 12px;
  background: #f8fafc;
}

.learner-submission-audit-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.learner-submission-audit-list li {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) minmax(90px, 0.7fr) minmax(70px, 0.5fr) minmax(120px, 0.9fr) minmax(0, 2fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.learner-submission-audit-list .audit-action {
  color: #061842;
  font-size: 0.78rem;
  font-weight: 1000;
}

.learner-submission-audit-list strong,
.learner-submission-audit-list em,
.learner-submission-audit-list small {
  color: #475569;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.learner-submission-audit-list p {
  margin: 0;
  color: #34455f;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .learner-submission-viewer-actions,
  .learner-submission-asset-grid,
  .learner-submission-record-grid,
  .learner-submission-outcome-grid,
  .competency-checklist-grid {
    grid-template-columns: 1fr;
  }

  .learner-submission-viewer-actions {
    display: grid;
    justify-content: stretch;
  }

  .learner-submission-audit-list li {
    grid-template-columns: 1fr;
  }
}

.qualification-evidence-drawer-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qualification-evidence-drawer-panel li {
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
}

.qualification-evidence-drawer-panel li strong,
.qualification-evidence-drawer-panel li span,
.qualification-evidence-drawer-panel li em {
  display: block;
  color: #061842;
  font-style: normal;
  font-weight: 900;
}

/* Qualification Evidence unit cards: visual-only alignment with ILP Programme Journey phase cards. */
.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-unit-grid {
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-unit-card.tfe-premium-card {
  min-height: 410px;
  display: grid;
  grid-template-rows: 128px 1fr;
  min-width: 0;
  border-color: rgba(212, 160, 23, 0.72);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 58%, #f4f8ff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 42px rgba(6, 24, 66, 0.14);
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-unit-card.tfe-premium-card.active {
  transform: translateY(-2px);
  border-color: rgba(212, 160, 23, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(212, 160, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 50px rgba(6, 24, 66, 0.18);
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-header.tfe-premium-card__header {
  position: relative;
  min-height: 128px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 7px;
  padding: 14px 12px 44px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.95);
  background: #061842;
  box-shadow: inset 0 -4px 0 rgba(212, 160, 23, 0.92);
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-header > div {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-header span {
  width: fit-content;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid rgba(212, 160, 23, 0.94);
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.16);
  color: #ffe9a8;
  font-size: 0.64rem;
  line-height: 1;
  letter-spacing: 0.09em;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-header h5 {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 1.14;
  letter-spacing: 0.012em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(6, 24, 66, 0.36);
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-ring {
  position: absolute;
  left: 50%;
  bottom: -46px;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  box-shadow:
    0 0 0 8px #ffffff,
    inset 0 0 0 1px rgba(212, 160, 23, 0.55),
    0 12px 24px rgba(2, 6, 23, 0.2);
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-ring::before {
  width: 64px;
  height: 64px;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-ring strong {
  font-size: 1rem;
  line-height: 1;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-body {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  align-content: stretch;
  padding: 56px 12px 14px;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-body dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-content: start;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-body dl div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 8px;
  border: 1px solid rgba(6, 24, 66, 0.08);
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-body dl div:nth-child(3) {
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  padding: 7px 11px;
  border-color: rgba(212, 160, 23, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff8e5 0%, #ffe8a3 100%);
  box-shadow: 0 8px 18px rgba(242, 189, 43, 0.12);
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-body dt {
  color: #52627a;
  font-size: 0.58rem;
  line-height: 1.1;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-body dd {
  margin: 0;
  color: #061842;
  font-size: 0.84rem;
  line-height: 1.14;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-body dl div:nth-child(3) dd {
  font-size: 0.72rem;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-actions {
  align-self: end;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.live-ilp-dashboard .qualification-evidence-explorer .qualification-evidence-card-actions .school-ilp-button {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  justify-content: center;
  padding: 10px 11px;
  border-radius: 11px;
  font-size: 0.72rem;
  line-height: 1.16;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 900px) {
  .qualification-mapping-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qualification-evidence-unit-grid,
  .qualification-evidence-item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qualification-evidence-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .qualification-mapping-dashboard .school-ilp-section-head,
  .qualification-unit-card summary,
  .qualification-evidence-head,
  .qualification-evidence-trail-head,
  .qualification-evidence-drawer-panel header {
    grid-template-columns: 1fr;
  }

  .qualification-mapping-summary,
  .qualification-mapping-dashboard .school-ilp-unit-grid,
  .qualification-evidence-unit-grid,
  .qualification-evidence-item-grid,
  .qualification-evidence-item-meta,
  .qualification-evidence-detail-grid,
  .qualification-evidence-file-list {
    grid-template-columns: 1fr;
  }

  .qualification-unit-status {
    justify-items: start;
  }

  .qualification-evidence-trail-head,
  .qualification-evidence-drawer-panel header {
    display: grid;
  }

  .qualification-unit-card summary::after {
    grid-column: 1;
    grid-row: auto;
  }
}

.school-ilp-unit-head {
  display: grid;
  gap: 5px;
}

.school-ilp-unit-head span {
  color: #8a5d00;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.school-ilp-unit-head strong {
  color: #071b4d;
  font-size: 0.98rem;
  font-weight: 1000;
  line-height: 1.25;
}

.school-ilp-unit-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.school-ilp-unit-meta span,
.school-ilp-unit-meta em,
.school-ilp-unit-meta small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
}

.school-ilp-unit-meta span {
  background: #071b4d;
  color: #ffffff;
}

.school-ilp-unit-meta em {
  background: #fff8e5;
  color: #8a5d00;
}

.school-ilp-summary-grid,
.school-ilp-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.school-ilp-summary-grid > article,
.school-ilp-insight-grid > article,
.school-ilp-strength-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8fafc;
}

.school-ilp-summary-grid > article span,
.school-ilp-insight-grid > article span {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-ilp-summary-grid > article strong,
.school-ilp-insight-grid > article strong {
  display: block;
  margin-top: 7px;
  color: #071b4d;
  font-size: 1rem;
  line-height: 1.35;
}

.school-ilp-readiness-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
  border-left: 8px solid #f2bd2b;
}

.school-ilp-readiness-card.green {
  border-left-color: #16a34a;
}

.school-ilp-readiness-card.amber {
  border-left-color: #f59e0b;
}

.school-ilp-readiness-card.awaiting {
  border-left-color: #94a3b8;
}

.school-ilp-readiness-card h4 {
  margin: 4px 0 8px;
  color: #071b4d;
}

.school-ilp-readiness-card strong {
  display: block;
  color: #071b4d;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1;
}

.school-ilp-readiness-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff8e5;
  color: #8a5d00;
  font-weight: 1000;
}

.school-ilp-readiness-card p,
.school-ilp-strength-card p,
.school-ilp-strength-card li {
  color: #334155;
  font-weight: 850;
  line-height: 1.5;
}

.school-ilp-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 30px 30px 0 0;
  background: linear-gradient(135deg, #071b4d 0%, #123f7a 100%);
  color: #ffffff;
}

.school-ilp-header .learner-avatar,
.school-ilp-header .learner-photo {
  width: 112px;
  height: 112px;
  min-width: 112px;
  border: 4px solid #f2bd2b;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.school-ilp-header .eyebrow {
  color: #f2bd2b;
}

.school-ilp-header h3 {
  margin: 4px 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.school-ilp-header p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.school-ilp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
}

.school-ilp-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #dbe3ef;
  border-left: 6px solid #f2bd2b;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(7, 27, 77, 0.08);
}

.school-ilp-card-wide {
  grid-column: 1 / -1;
}

.school-ilp-card h4 {
  margin: 0 0 14px;
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.school-ilp-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.school-ilp-card dl div {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
}

.school-ilp-card dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.school-ilp-card dt {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-ilp-card dd {
  margin: 0;
  color: #071b4d;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.school-ilp-card p,
.school-ilp-card li {
  color: #334155;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.5;
}

.school-ilp-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.school-learner-progress-panel {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border: 1px solid #dbe3ef;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.school-report-intelligence {
  display: grid;
  gap: 18px;
  margin: 18px 0;
}

.school-report-summary,
.school-report-section,
.school-report-judgement {
  border: 1px solid rgba(49, 111, 177, 0.14);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 66%, #fff9eb 100%);
  box-shadow: 0 18px 38px rgba(11, 31, 77, 0.08);
}

.school-report-summary,
.school-report-judgement {
  padding: 22px;
}

.school-report-summary h4 {
  margin: 0 0 10px;
  color: #071b4d;
  font-size: 1.28rem;
  font-weight: 1000;
}

.school-report-summary p:not(.eyebrow),
.school-report-judgement p:not(.eyebrow),
.school-report-evidence p {
  margin: 0;
  max-width: 96ch;
  color: #334155;
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.62;
}

.school-report-section {
  display: grid;
  gap: 15px;
  padding: 18px;
}

.school-report-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.school-report-section-head h4 {
  margin: 0;
  color: #071b4d;
  font-size: 1.08rem;
  font-weight: 1000;
}

.school-report-section-head > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(216, 167, 44, 0.14);
  color: #071b4d;
  font-size: 0.74rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.school-report-journey-grid,
.school-report-metric-grid,
.school-report-evidence-grid,
.school-report-action-grid {
  display: grid;
  gap: 12px;
}

.school-report-journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.school-report-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.school-report-evidence-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.school-report-action-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.school-report-journey-grid article,
.school-report-metric,
.school-report-evidence-grid span,
.school-report-action-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(49, 111, 177, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(11, 31, 77, 0.055);
}

.school-report-journey-grid article {
  display: grid;
  gap: 5px;
}

.school-report-journey-grid span,
.school-report-evidence-grid small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.school-report-journey-grid small {
  color: #7b8798;
  font-size: 0.72rem;
  font-weight: 850;
}

.school-report-journey-grid strong,
.school-report-evidence-grid strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 1000;
}

.school-report-journey-grid em {
  justify-self: start;
  margin-top: 3px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(49, 111, 177, 0.1);
  color: #071b4d;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
}

.school-report-metric {
  display: grid;
  gap: 9px;
}

.school-report-metric.above { background: #f2fbf5; border-color: rgba(27, 128, 82, 0.2); }
.school-report-metric.on { background: #f5f9ff; border-color: rgba(49, 111, 177, 0.18); }
.school-report-metric.below { background: #fff9ec; border-color: rgba(216, 167, 44, 0.22); }
.school-report-metric.concern { background: #fff3f1; border-color: rgba(190, 71, 71, 0.18); }

.school-report-metric-head,
.school-report-metric-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.school-report-metric-head span {
  color: #071b4d;
  font-size: 0.88rem;
  font-weight: 1000;
}

.school-report-metric-head strong {
  color: #071b4d;
  font-size: 1.12rem;
  font-weight: 1000;
}

.school-report-bar {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.school-report-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #316fb1 0%, #f2bd2b 100%);
}

.school-report-bar i {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 2px;
  border-radius: 999px;
  background: #071b4d;
  opacity: 0.72;
  z-index: 2;
}

.school-report-metric-foot em,
.school-report-metric-foot small {
  color: #64748b;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.school-report-action-grid article {
  display: grid;
  gap: 8px;
}

.school-report-action-grid strong {
  color: #071b4d;
  font-size: 0.98rem;
  font-weight: 1000;
  line-height: 1.3;
}

.school-report-action-grid p {
  margin: 0;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .school-report-journey-grid,
  .school-report-metric-grid,
  .school-report-evidence-grid,
  .school-report-action-grid {
    grid-template-columns: 1fr;
  }

  .school-report-section-head,
  .school-report-metric-head,
  .school-report-metric-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

.school-panel-title {
  color: #b68000;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.school-progress-meta-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.school-journey-panel {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #94a3b8;
}

.school-journey-panel.green {
  background: #ecfdf5;
  border-color: #bbf7d0;
  border-left-color: #16a34a;
}

.school-journey-panel.amber {
  background: #fffbeb;
  border-color: #fde68a;
  border-left-color: #f59e0b;
}

.school-journey-panel.red {
  background: #fef2f2;
  border-color: #fecaca;
  border-left-color: #dc2626;
}

.school-journey-panel.muted,
.school-journey-panel.neutral {
  background: #f8fafc;
  border-color: #e2e8f0;
  border-left-color: #94a3b8;
}

.school-journey-panel.green span,
.school-journey-panel.green strong {
  color: #166534;
}

.school-journey-panel.amber span,
.school-journey-panel.amber strong {
  color: #92400e;
}

.school-journey-panel.red span,
.school-journey-panel.red strong {
  color: #991b1b;
}

.school-journey-panel span {
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-journey-panel strong {
  display: block;
  margin-top: 4px;
  color: #071b4d;
  font-size: 0.96rem;
  line-height: 1.25;
}

.school-learner-outcome-panel {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid #dbe3ef;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.school-learner-info-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.2fr);
  align-content: start;
  gap: 16px;
  padding: 20px;
  border: 1px solid #dbe3ef;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.school-learner-brief {
  min-width: 0;
  padding: 17px 19px;
  border: 1px solid rgba(49, 111, 177, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9));
  box-shadow:
    0 9px 22px rgba(7, 27, 77, 0.052),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.school-learner-brief h4 {
  margin: 0 0 8px;
  color: #071b4d;
  font-size: 0.88rem;
  font-weight: 1000;
}

.school-learner-brief p {
  margin: 0;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.52;
}

.school-rag-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.school-rag-metric {
  min-width: 0;
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: 17px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow:
    0 8px 18px rgba(7, 27, 77, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.school-rag-metric span {
  display: block;
  color: #64748b;
  font-size: clamp(0.54rem, 0.58vw, 0.62rem);
  font-weight: 1000;
  letter-spacing: 0.012em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.school-rag-metric strong {
  display: block;
  color: #071b4d;
  font-size: 0.92rem;
  font-weight: 1000;
  line-height: 1.18;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.school-rag-metric.green {
  background: linear-gradient(180deg, #f0fdf4, #ecfdf5);
  border-color: #b8eccd;
}

.school-rag-metric.amber,
.school-rag-metric.gold,
.school-rag-metric.bronze {
  background: linear-gradient(180deg, #fffdf4, #fffbeb);
  border-color: #f6dd86;
}

.school-rag-metric.red {
  background: linear-gradient(180deg, #fff7f7, #fef2f2);
  border-color: #f7c1c1;
}

.school-rag-metric.muted,
.school-rag-metric.neutral {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: #d8e2ee;
}

.school-learner-info-panel .school-employment-feature {
  min-height: 100%;
}

.school-learner-supporting-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.school-employment-feature,
.school-outcome-indicator,
.school-outcome-note {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.school-outcome-indicator {
  border-left: 5px solid #f2bd2b;
}

.school-employment-feature {
  padding: 18px;
  border: 1px solid #bbf7d0;
  border-left: 7px solid #16a34a;
  border-radius: 22px;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.12);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.school-employment-feature span {
  display: block;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.school-employment-feature strong {
  display: block;
  margin-top: 6px;
  color: #064e3b;
  font-size: 1.72rem;
  font-weight: 1000;
  line-height: 1;
}

.school-employment-feature em {
  display: block;
  margin-top: 8px;
  color: #166534;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 900;
}

.school-employment-feature.very-well,
.school-employment-feature.positive {
  border-color: #bbf7d0;
  border-left-color: #16a34a;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.12);
}

.school-employment-feature.very-well span,
.school-employment-feature.very-well em,
.school-employment-feature.positive span,
.school-employment-feature.positive em { color: #166534; }
.school-employment-feature.very-well strong,
.school-employment-feature.positive strong { color: #064e3b; }

.school-employment-feature.progressing,
.school-employment-feature.progress {
  border-color: #fde68a;
  border-left-color: #d89a13;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
  box-shadow: 0 16px 34px rgba(216, 154, 19, 0.12);
}

.school-employment-feature.progressing span,
.school-employment-feature.progressing em,
.school-employment-feature.progress span,
.school-employment-feature.progress em { color: #92400e; }
.school-employment-feature.progressing strong,
.school-employment-feature.progress strong { color: #78350f; }

.school-employment-feature.concern {
  border-color: #fed7aa;
  border-left-color: #f97316;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.12);
}

.school-employment-feature.concern span,
.school-employment-feature.concern em { color: #9a3412; }
.school-employment-feature.concern strong { color: #7c2d12; }

.school-employment-feature.amber {
  border-color: #fde68a;
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.12);
}

.school-employment-feature.amber span,
.school-employment-feature.amber em { color: #92400e; }
.school-employment-feature.amber strong { color: #78350f; }

.school-employment-feature.red {
  border-color: #fecaca;
  border-left-color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.1);
}

.school-employment-feature.red span,
.school-employment-feature.red em { color: #991b1b; }
.school-employment-feature.red strong { color: #7f1d1d; }

.school-employment-feature.muted {
  border-color: #e2e8f0;
  border-left-color: #94a3b8;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  box-shadow: none;
}

.school-employment-feature.muted span,
.school-employment-feature.muted em { color: #64748b; }
.school-employment-feature.muted strong { color: #334155; }

.school-outcome-indicator span,
.school-outcome-note span {
  display: block;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-outcome-indicator strong,
.school-outcome-note strong {
  display: block;
  margin-top: 4px;
  color: #071b4d;
  font-size: 0.96rem;
  line-height: 1.25;
}

.school-outcome-indicator.green { background: #ecfdf5; border-color: #bbf7d0; border-left-color: #16a34a; }
.school-outcome-indicator.gold { background: #fffbeb; border-color: #fde68a; border-left-color: #f2bd2b; }
.school-outcome-indicator.amber { background: #fffbeb; border-color: #fde68a; border-left-color: #f59e0b; }
.school-outcome-indicator.red { background: #fef2f2; border-color: #fecaca; border-left-color: #dc2626; }
.school-outcome-indicator.bronze { background: #fff7ed; border-color: #fed7aa; border-left-color: #b45309; }
.school-outcome-indicator.muted { background: #f8fafc; border-color: #e2e8f0; border-left-color: #94a3b8; }

.school-outcome-note.green { background: #ecfdf5; border-color: #bbf7d0; }
.school-outcome-note.amber { background: #fffbeb; border-color: #fde68a; }
.school-outcome-note.red { background: #fef2f2; border-color: #fecaca; }
.school-outcome-note.muted { background: #f8fafc; border-color: #e2e8f0; }

.school-profile-metric {
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.school-profile-metric span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-profile-metric strong {
  margin-top: 3px;
  font-size: 0.96rem;
}

.school-profile-metric i {
  display: block;
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.school-profile-metric i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2563eb;
}

.school-profile-metric.green i b { background: #16a34a; }
.school-profile-metric.amber i b { background: #f59e0b; }
.school-profile-metric.red i b { background: #dc2626; }
.school-profile-metric.blue i b { background: #2563eb; }

.school-profile-metric.status {
  display: grid;
  align-content: center;
}

.school-profile-metric.status.green { background: #ecfdf5; border-color: #bbf7d0; }
.school-profile-metric.status.amber { background: #fffbeb; border-color: #fde68a; }
.school-profile-metric.status.red { background: #fef2f2; border-color: #fecaca; }
.school-profile-metric.status.muted,
.school-profile-metric.status.neutral { background: #f8fafc; border-color: #e2e8f0; }
.school-profile-metric.muted i b { background: #94a3b8; }

.school-status-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 1000;
  line-height: 1.1;
  overflow-wrap: anywhere;
  white-space: normal;
}

.school-status-chip.green {
  background: #dcfce7;
  color: #166534;
}

.school-status-chip.amber {
  background: #fef3c7;
  color: #92400e;
}

.school-status-chip.red {
  background: #fee2e2;
  color: #991b1b;
}

.school-status-chip.blue {
  background: #dbeafe;
  color: #1e3a8a;
}

.school-status-chip.neutral {
  background: #f1f5f9;
  color: #475569;
}

.school-status-chip.muted {
  background: #f1f5f9;
  color: #64748b;
}

.school-empty-diagnostic {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 14px;
  background: #fffbeb;
  color: #071b4d;
  overflow-wrap: anywhere;
}

.school-diagnostic-panel {
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.school-diagnostic-toggle {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #ffffff;
  color: #071b4d;
  padding: 9px 14px;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.school-diagnostic-toggle span {
  color: #64748b;
  font-size: 0.78rem;
}

.school-diagnostic-content {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px;
}

.school-source-diagnostic-panel,
.school-match-audit-panel {
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  overflow-wrap: anywhere;
}

.school-match-audit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.school-match-audit-head h4,
.school-match-audit-head p {
  margin: 0;
}

.school-match-audit-head h4 {
  color: #071b4d;
}

.school-match-audit-head strong {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff7e0;
  color: #7a4f01;
  padding: 8px 12px;
  font-weight: 1000;
}

.school-linked-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.school-linked-values-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.school-linked-values-grid span,
.school-match-audit-row span:first-child {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.school-linked-values-grid strong {
  color: #071b4d;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.school-match-audit-table {
  display: grid;
  gap: 6px;
  max-width: 100%;
  overflow-x: auto;
}

.school-match-audit-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.3fr) minmax(130px, 1fr) minmax(80px, 0.7fr) repeat(3, minmax(140px, 1fr)) minmax(70px, 0.5fr) minmax(170px, 1.2fr);
  gap: 8px;
  align-items: center;
  min-width: 980px;
  padding: 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.school-match-audit-row.head {
  background: #071b4d;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.school-match-audit-row.matched {
  border-color: rgba(22, 163, 74, 0.35);
  background: #f0fdf4;
}

.school-match-audit-row.not-matched {
  border-color: rgba(245, 158, 11, 0.45);
  background: #fffbeb;
}

.school-dashboard-section-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  padding: 0 2px;
}

.school-dashboard-section-title h3,
.school-dashboard-section-title p {
  margin: 0;
}

.school-dashboard-section-title h3 {
  margin-top: 4px;
  color: #071b4d;
  font-size: 1.25rem;
}

.school-readiness-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.school-readiness-panel article {
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #071b4d;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.school-readiness-panel article.gold { border-left-color: #f5b41b; }
.school-readiness-panel article.green { border-left-color: #16a34a; }
.school-readiness-panel article.blue { border-left-color: #2563eb; }

.school-readiness-panel span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.school-readiness-panel strong {
  display: block;
  margin: 8px 0 6px;
  color: #071b4d;
  font-size: 2rem;
  line-height: 1;
}

.school-readiness-panel p {
  margin: 0;
  color: #64748b;
  font-weight: 800;
  line-height: 1.4;
}

.school-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.school-kpi-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 124px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #071b4d;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.school-kpi-card.green { border-left-color: #15803d; }
.school-kpi-card.amber { border-left-color: #b45309; }
.school-kpi-card.red { border-left-color: #b91c1c; }
.school-kpi-card.blue { border-left-color: #1d4ed8; }
.school-kpi-card.gold { border-left-color: #d9a21b; }

.school-kpi-card > span {
  align-self: flex-start;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-kpi-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.school-kpi-card strong {
  display: block;
  margin-top: 4px;
  color: #071b4d;
  font-size: 2rem;
  line-height: 1;
}

.school-kpi-card em {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.school-executive-summary,
.school-awards-section {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.school-executive-summary h4,
.school-executive-summary p,
.school-awards-section h4,
.school-awards-section p {
  margin: 0;
}

.school-executive-summary h4,
.school-awards-section h4 {
  margin-top: 5px;
  color: #071b4d;
  font-size: 1.12rem;
  line-height: 1.4;
}

.school-executive-summary p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

.school-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.school-section-head > span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff7e0;
  color: #7a4f01;
  border: 1px solid #eab308;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.award-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #d9a21b;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.award-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 162, 27, 0.58);
  box-shadow: 0 16px 34px rgba(217, 162, 27, 0.18);
}

.award-card-medal {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff7e0;
  color: #7a4f01;
  border: 1px solid #eab308;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.award-card h5 {
  margin: 0 0 8px;
  color: #071b4d;
  font-size: 1rem;
}

.award-card strong {
  display: block;
  color: #071b4d;
}

.award-card p {
  margin: 8px 0;
  color: #475569;
  line-height: 1.45;
}

.award-card small {
  color: #64748b;
  font-weight: 800;
}

.award-certificate-link {
  margin-top: 12px;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #071b4d;
  background: #ffffff;
  color: #071b4d;
  font-weight: 900;
  cursor: pointer;
}

.award-certificate-link:hover {
  background: #071b4d;
  color: #ffffff;
}

.school-summary-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.school-summary-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 1000;
}

.school-summary-chip.green { background: #dcfce7; color: #166534; }
.school-summary-chip.amber { background: #fef3c7; color: #92400e; }
.school-summary-chip.red { background: #fee2e2; color: #991b1b; }
.school-summary-chip.blue { background: #dbeafe; color: #1e40af; }
.school-summary-chip.gold { background: #fef3c7; color: #713f12; border: 1px solid #f5b41b; }

.school-phase-progress-card,
.school-actions-panel,
.school-risk-summary {
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.school-large-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 14px;
}

.school-large-progress-head h4,
.school-actions-panel h4,
.school-risk-summary h4 {
  margin: 0;
  color: #071b4d;
}

.school-large-progress-head strong {
  color: #071b4d;
  font-size: 2.5rem;
  line-height: 1;
}

.school-large-progress-track {
  height: 18px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.school-large-progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5b41b, #16a34a);
}

.school-mini-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.school-action-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.school-action-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #071b4d;
  font-weight: 800;
}

.school-risk-summary {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.school-risk-summary p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.4;
}

.school-risk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.school-risk-grid article {
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.school-risk-grid article.green { border-left: 5px solid #16a34a; }
.school-risk-grid article.amber { border-left: 5px solid #f59e0b; }
.school-risk-grid article.red { border-left: 5px solid #dc2626; }
.school-risk-grid article.blue { border-left: 5px solid #60a5fa; }

.school-risk-grid span {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.school-risk-grid strong {
  display: block;
  margin-top: 6px;
  color: #071b4d;
  font-size: 1.25rem;
}

.school-learner-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
  gap: 24px;
}

.school-learner-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #071b4d;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.school-learner-card.green { border-top-color: #16a34a; }
.school-learner-card.amber { border-top-color: #f59e0b; }
.school-learner-card.red,
.school-learner-card.redamber { border-top-color: #dc2626; }
.school-learner-card.blue { border-top-color: #60a5fa; }
.school-learner-card.gold { border-top-color: #f5b41b; }

.school-learner-top {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  position: relative;
}

.school-learner-top .learner-avatar,
.school-learner-top .learner-photo,
.school-snapshot-head .learner-avatar,
.school-snapshot-head .learner-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #071b4d;
  object-fit: cover;
  background: #eef2ff;
  color: #071b4d;
  font-weight: 1000;
}

.school-learner-top .learner-avatar,
.school-learner-top .learner-photo {
  width: 84px;
  height: 84px;
  border-width: 4px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
}

.school-learner-top h4 {
  margin: 0 0 4px;
  color: #071b4d;
  font-size: 1.15rem;
}

.school-learner-top p {
  margin: 0;
  color: #64748b;
  font-weight: 800;
}

.school-rag-badge {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.school-rag-badge.green { background: #dcfce7; color: #166534; }
.school-rag-badge.amber { background: #fef3c7; color: #92400e; }
.school-rag-badge.red,
.school-rag-badge.redamber { background: #fee2e2; color: #991b1b; }
.school-rag-badge.blue { background: #dbeafe; color: #1e40af; }
.school-rag-badge.gold { background: #fef3c7; color: #713f12; border: 1px solid #f5b41b; }

.award-badge {
  display: grid;
  gap: 2px;
  justify-items: start;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff7e0;
  color: #7a4f01;
  border: 1px solid #eab308;
}

.award-badge span {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.award-badge strong {
  font-size: 0.88rem;
}

.school-card-metrics {
  display: grid;
  gap: 12px;
}

.school-phase-journey {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 1000;
}

.school-phase-journey .active {
  color: #071b4d;
}

.school-metric-bar {
  display: grid;
  gap: 6px;
}

.school-metric-bar > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #071b4d;
  font-size: 0.82rem;
  font-weight: 900;
}

.school-progress-track {
  height: 9px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.school-progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #071b4d;
}

.school-metric-bar.green .school-progress-track i { background: #16a34a; }
.school-metric-bar.amber .school-progress-track i { background: #f59e0b; }
.school-metric-bar.red .school-progress-track i { background: #dc2626; }

.school-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.school-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.school-status-chip em {
  color: inherit;
  font-style: normal;
  opacity: 0.72;
}

.school-status-chip.green { background: #dcfce7; color: #166534; }
.school-status-chip.amber { background: #fef3c7; color: #92400e; }
.school-status-chip.red { background: #fee2e2; color: #991b1b; }
.school-status-chip.blue { background: #dbeafe; color: #1e40af; }
.school-status-chip.muted { background: #f1f5f9; color: #64748b; }

.school-tutor-note {
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.school-tutor-note span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.school-tutor-note p {
  margin: 6px 0 0;
  color: #071b4d;
  font-weight: 800;
  line-height: 1.4;
}

.school-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.school-card-actions button {
  flex: 1 1 150px;
  min-height: 38px;
  border-color: #071b4d;
  color: #071b4d;
  background: #ffffff;
  font-size: 0.82rem;
}

.school-card-actions button:hover {
  background: #071b4d;
  color: #ffffff;
}

.snapshot-awards-list {
  display: grid;
  gap: 10px;
}

.snapshot-awards-list article {
  padding: 12px;
  border-radius: 12px;
  background: #fff7e0;
  border: 1px solid #eab308;
}

.snapshot-awards-list strong,
.snapshot-awards-list span {
  color: #7a4f01;
}

.snapshot-awards-list p {
  margin: 5px 0;
}

.certificate-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 18, 54, 0.68);
}

.certificate-preview-modal {
  width: min(1080px, 100%);
  max-height: 94vh;
  overflow-y: auto;
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 20px;
  background: #f8fafc;
  box-shadow: 0 28px 80px rgba(4, 18, 54, 0.36);
}

.certificate-preview-modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.certificate-preview-modal > header h3,
.certificate-preview-modal > header p {
  margin: 0;
}

.certificate-preview-modal > header h3 {
  color: #071b4d;
}

.certificate-preview-modal > header button,
.modal-actions button {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid #071b4d;
  background: #ffffff;
  color: #071b4d;
  font-weight: 900;
  cursor: pointer;
}

.certificate-preview-modal > header button:hover,
.modal-actions button:hover {
  background: #071b4d;
  color: #ffffff;
}

.certificate-preview {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 1.414 / 1;
  margin: 0 auto;
  background: #ffffff;
  border: 8px solid #071b4d;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  border-radius: 12px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.certificate-preview::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 3px solid #d9a21b;
  border-radius: 8px;
  pointer-events: none;
}

.certificate-preview-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.certificate-preview-top,
.certificate-preview-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.certificate-preview-logo,
.certificate-preview-medal {
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  color: #071b4d;
  font-weight: 1000;
  text-transform: uppercase;
}

.certificate-preview-medal {
  border-color: #d9a21b;
  background: #fff7e0;
  color: #7a4f01;
}

.certificate-standard {
  margin: 14px 0 0;
  color: #d9a21b;
  text-align: center;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.certificate-title {
  font-size: 42px;
  font-weight: 900;
  color: #071b4d;
  text-transform: uppercase;
  text-align: center;
  margin: 12px 0 10px;
}

.certificate-presented-label {
  margin: 6px 0;
  text-align: center;
  color: #475569;
  font-weight: 800;
}

.certificate-name {
  font-size: 52px;
  font-weight: 900;
  color: #071b4d;
  text-align: center;
  margin: 10px 0 6px;
  line-height: 1;
}

.certificate-meta-line {
  margin: 0 0 10px;
  text-align: center;
  color: #64748b;
  font-weight: 900;
}

.certificate-award {
  font-size: 30px;
  font-weight: 800;
  color: #d9a21b;
  text-align: center;
  margin: 4px 0 10px;
}

.certificate-recognition,
.certificate-reason {
  font-size: 18px;
  color: #334155;
  text-align: center;
  max-width: 760px;
  margin: 8px auto;
}

.certificate-preview-footer {
  margin-top: auto;
}

.certificate-preview-footer > div {
  min-width: 220px;
  text-align: center;
}

.certificate-preview-footer span {
  display: block;
  height: 1px;
  margin: 0 0 8px;
  background: #071b4d;
}

.certificate-preview-footer strong,
.certificate-preview-footer small {
  display: block;
  color: #071b4d;
}

.certificate-footer-line {
  margin: 14px 0 0;
  color: #071b4d;
  text-align: center;
  font-weight: 1000;
}

.uploaded-certificate-preview {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.school-snapshot-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 18, 54, 0.62);
}

.school-snapshot-modal {
  width: min(860px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(4, 18, 54, 0.35);
}

.school-snapshot-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #071b4d;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.school-snapshot-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 92px;
}

.school-snapshot-head h3 {
  margin: 4px 0;
  color: #071b4d;
}

.school-snapshot-head p {
  margin: 0;
}

.school-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.school-snapshot-grid article {
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.school-snapshot-grid span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.school-snapshot-grid strong {
  display: block;
  margin-top: 4px;
  color: #071b4d;
  font-size: 1.25rem;
}

.school-snapshot-copy h4 {
  margin: 16px 0 5px;
  color: #071b4d;
}

.school-snapshot-copy p {
  margin: 0;
  color: #334155;
  line-height: 1.45;
}

@media (max-width: 820px) {
  .school-cohort-hero {
    grid-template-columns: 1fr;
  }

  .school-identity-panel,
  .school-readiness-panel {
    grid-template-columns: 1fr;
  }

  .school-identity-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-dashboard-header {
    align-items: center;
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .school-dashboard-title {
    text-align: center;
  }

  .school-cohort-hero .partner-logo-card {
    width: fit-content;
    max-width: min(178px, 100%);
    height: auto;
  }

  .school-cohort-hero .partner-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 154px;
  }

  .school-learner-search-panel,
  .school-cohort-filter,
  .school-learner-search {
    width: 100%;
  }

  .school-cohort-summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .school-executive-kpi {
    min-height: 132px;
  }

  .school-learner-row-card {
    grid-template-columns: 1fr;
  }

  .school-learner-main-head {
    grid-template-columns: 1fr;
  }

  .journey-employment-header,
  .journey-employment-body {
    grid-template-columns: 1fr;
  }

  .journey-figure {
    min-height: 136px;
  }

  .journey-phase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-pathway-line {
    display: none;
  }

  .journey-insight-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-road-hero {
    grid-template-columns: 1fr;
  }

  .journey-premium-header {
    grid-template-columns: 1fr;
  }

  .journey-header-status {
    max-width: 420px;
  }

  .journey-learner-panel {
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .journey-road-stage {
    min-height: 380px;
  }

  .journey-phase-marker {
    width: clamp(92px, 16vw, 118px);
  }

  .journey-phase-panel-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-insight-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-value-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .journey-value-strip ul {
    justify-content: flex-start;
  }

  .school-learner-info-panel {
    grid-template-columns: 1fr;
  }

  .school-learner-supporting-grid,
  .school-rag-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-learner-row-card {
    align-items: stretch;
  }

  .school-learner-profile-section {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
  }

  .school-learner-photo-wrap {
    width: clamp(220px, 54vw, 280px);
    height: clamp(220px, 54vw, 280px);
    min-width: clamp(220px, 54vw, 280px);
  }

  .school-progress-meta-grid {
    grid-template-columns: 1fr;
  }

  .school-summary-grid,
  .school-access-badges {
    grid-template-columns: 1fr;
  }

  .school-progress-actions,
  .school-risk-summary {
    grid-template-columns: 1fr;
  }

  .school-risk-grid,
  .school-mini-progress-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .school-ilp-grid {
    grid-template-columns: 1fr;
  }

  .school-ilp-card-wide {
    grid-column: auto;
  }

  .school-ilp-hero,
  .school-ilp-readiness-card {
    grid-template-columns: 1fr;
  }

  .school-ilp-hero-action {
    justify-items: start;
  }

  .school-ilp-metric-grid,
  .school-ilp-unit-grid,
  .school-ilp-summary-grid,
  .school-ilp-insight-grid {
    grid-template-columns: 1fr;
  }

  .school-ilp-chart-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .school-cohort-summary-strip {
    grid-template-columns: 1fr;
  }

  .school-learner-supporting-grid {
    grid-template-columns: 1fr;
  }

  .school-rag-strip,
  .school-card-action-row,
  .journey-phase-grid,
  .journey-insight-row,
  .journey-insight-strip {
    grid-template-columns: 1fr;
  }

  .journey-employment-frame,
  .journey-employment-header {
    border-radius: 24px;
  }

  .journey-road-card,
  .journey-learner-panel,
  .journey-road-stage {
    border-radius: 24px;
  }

  .journey-phase-card {
    min-height: 0;
  }

  .journey-premium-header,
  .journey-header-status,
  .journey-learner-panel,
  .journey-phase-panel-row {
    grid-template-columns: 1fr;
  }

  .journey-title-block h3 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .journey-header-status {
    max-width: none;
  }

  .journey-progress-ring {
    width: 108px;
    height: 108px;
  }

  .journey-road-stage {
    display: none;
  }

  .journey-road-svg,
  .journey-progress-pin,
  .journey-total-badge {
    display: none;
  }

  .journey-marker-layer {
    position: relative;
    display: grid;
    gap: 12px;
  }

  .journey-phase-marker {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    min-height: 124px;
    grid-template-columns: auto auto minmax(0, 1fr);
    column-gap: 12px;
    justify-items: start;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(7, 27, 77, 0.08);
    border-radius: 18px;
    background: #ffffff;
    text-align: left;
    transform: none;
    box-shadow: 0 10px 22px rgba(7, 27, 77, 0.07);
  }

  .journey-phase-marker:hover,
  .journey-phase-marker:focus-visible,
  .journey-phase-marker.is-selected {
    transform: translateY(-2px);
  }

  .journey-marker-number,
  .journey-marker-icon {
    grid-row: 1 / span 4;
  }

  .journey-marker-connector {
    display: none;
  }

  .journey-phase-marker strong,
  .journey-phase-marker em,
  .journey-phase-marker small {
    grid-column: 3;
  }

  .school-executive-kpi {
    min-height: 116px;
  }

  .school-learner-row-card {
    padding: 18px;
    border-radius: 24px;
  }

  .school-learner-photo-wrap {
    width: min(78vw, 260px);
    height: min(78vw, 260px);
    min-width: min(78vw, 260px);
  }

  .school-learner-row-card strong {
    font-size: 1.62rem;
  }

  .school-learner-card-grid {
    grid-template-columns: 1fr;
  }

  .school-ilp-modal-overlay {
    padding: 12px;
    place-items: start center;
  }

  .school-ilp-modal {
    border-radius: 22px;
  }

  .school-ilp-close {
    position: static;
    justify-self: end;
    margin: 12px 12px 0 0;
  }

  .school-ilp-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-top: 18px;
    border-radius: 0;
  }

  .school-ilp-hero {
    padding: 20px;
  }

  .school-ilp-hero-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .school-ilp-hero-action {
    justify-items: stretch;
  }

  .school-ilp-hero-action .school-ilp-close {
    width: 100%;
  }

  .school-ilp-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .school-identity-main {
    flex-direction: column;
    text-align: center;
  }

  .school-identity-stats {
    grid-template-columns: 1fr;
  }

  .school-risk-grid,
  .school-mini-progress-grid {
    grid-template-columns: 1fr;
  }
}

.guidance-grid,
.record-intervention-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guidance-grid article {
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
}

.guidance-grid span {
  display: block;
  margin-bottom: 8px;
  color: #0B1F4D;
  font-weight: 1000;
  text-transform: uppercase;
}

.record-intervention-form label {
  display: grid;
  gap: 7px;
  color: #0B1F4D;
  font-weight: 900;
}

.record-intervention-form input,
.record-intervention-form select,
.record-intervention-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8e1ec;
  border-radius: 12px;
  padding: 10px 12px;
  box-sizing: border-box;
}

.record-intervention-form textarea {
  min-height: 92px;
  resize: vertical;
}

.record-intervention-form .form-wide {
  grid-column: 1 / -1;
}

.intervention-save-button {
  min-width: min(260px, 100%);
}

.intervention-save-button.is-saving {
  opacity: 0.75;
  cursor: wait;
}

.intervention-save-button.is-saved {
  background: #18A558;
  border-color: #18A558;
  color: #ffffff;
}

.intervention-save-button.is-failed {
  background: #d32f2f;
  border-color: #d32f2f;
  color: #ffffff;
}

.intervention-save-button.has-unsaved-changes {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.intervention-save-feedback {
  min-height: 20px;
  margin: 4px 0 0;
  font-size: 0.9rem;
  font-weight: 900;
}

.intervention-save-feedback.success {
  color: #137a3f;
}

.intervention-save-feedback.error {
  color: #b42318;
}

.intervention-save-feedback.unsaved {
  color: #9b6b00;
}

.elite-intervention-page {
  max-width: 1280px;
  margin: 0 auto;
}

.elite-intervention-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  padding: 30px;
  border: 1px solid rgba(242, 182, 50, 0.28);
  box-shadow: 0 20px 44px rgba(11, 31, 77, 0.18);
}

.elite-intervention-hero.amber {
  background: linear-gradient(135deg, #0B1F4D 0%, #173B75 70%, #8a6209 100%);
}

.elite-intervention-hero.red {
  background: linear-gradient(135deg, #0B1F4D 0%, #173B75 62%, #8f1f1f 100%);
}

.elite-learner-lockup {
  display: flex;
  gap: 18px;
  align-items: center;
}

.elite-learner-lockup .learner-avatar.large {
  width: 104px;
  height: 104px;
  min-width: 104px;
  border: 4px solid #ffffff;
  outline: 3px solid #F2B632;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.elite-intervention-hero h3 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.elite-intervention-meta {
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
}

.elite-intervention-meta > span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.elite-intervention-meta strong {
  color: #ffffff;
  font-size: 1.12rem;
}

.elite-intervention-meta div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.stage-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.elite-summary-strip article {
  min-height: 132px;
  border-top: 5px solid #d8e1ec;
}

.elite-summary-strip article.amber {
  border-top-color: #F2B632;
  background: #fff8df;
}

.elite-summary-strip article.red {
  border-top-color: #d32f2f;
  background: #fff0f0;
}

.elite-summary-strip article.blue {
  border-top-color: #1b6bc4;
  background: #eef6ff;
}

.elite-summary-strip article.green {
  border-top-color: #18A558;
  background: #e8f8ef;
}

.elite-summary-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.intervention-pathway-card,
.next-step-panel,
.intervention-action-panel {
  padding: 20px;
  border: 1px solid rgba(15, 35, 63, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 35, 63, 0.07);
}

.intervention-pathway {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.intervention-pathway article {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 104px;
  align-content: center;
  justify-items: center;
  padding: 14px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #f7f9fc;
  color: #64748b;
  text-align: center;
}

.intervention-pathway article::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  color: #94a3b8;
  font-weight: 1000;
  transform: translateY(-50%);
}

.intervention-pathway article:last-child::after {
  display: none;
}

.intervention-pathway span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #e2e8f0;
  color: #0B1F4D;
  font-weight: 1000;
}

.intervention-pathway strong {
  color: inherit;
  font-size: 0.84rem;
}

.intervention-pathway article.complete {
  border-color: rgba(24, 165, 88, 0.28);
  background: #e8f8ef;
  color: #137a3f;
}

.intervention-pathway article.complete span {
  background: #18A558;
  color: #ffffff;
}

.intervention-pathway article.active {
  border-color: rgba(242, 182, 50, 0.65);
  background: linear-gradient(135deg, #F2B632, #ffe08a);
  color: #0B1F4D;
  box-shadow: 0 12px 24px rgba(242, 182, 50, 0.24);
}

.intervention-pathway article.active span {
  background: #0B1F4D;
  color: #ffffff;
}

.intervention-evidence-timeline {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.intervention-evidence-timeline article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.2fr) minmax(160px, 0.8fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-left: 5px solid #F2B632;
  border-radius: 16px;
  background: #fbfdff;
}

.intervention-evidence-timeline span {
  color: #0B1F4D;
  font-weight: 1000;
}

.intervention-evidence-timeline strong {
  color: #0B1F4D;
}

.intervention-evidence-timeline p,
.intervention-evidence-timeline small {
  margin: 0;
  color: #526172;
  line-height: 1.4;
}

.elite-guidance-card {
  padding: 22px;
  border: 1px solid rgba(242, 182, 50, 0.32);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #fffaf0);
  box-shadow: 0 16px 36px rgba(15, 35, 63, 0.08);
}

.elite-guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.elite-guidance-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 154px;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 77, 0.08);
}

.elite-guidance-grid .why-card,
.elite-guidance-grid .script-card {
  grid-column: span 2;
}

.elite-guidance-grid span {
  color: #0B1F4D;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.elite-guidance-grid p,
.elite-guidance-grid li,
.elite-guidance-grid blockquote {
  margin: 0;
  color: #334257;
  line-height: 1.48;
}

.elite-guidance-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.elite-guidance-grid blockquote {
  padding: 14px 16px;
  border-left: 5px solid #F2B632;
  border-radius: 12px;
  background: #fff8df;
  font-size: 1rem;
  font-weight: 700;
}

.next-step-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
}

.next-step-panel h4,
.next-step-panel p {
  margin: 0;
}

.next-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.next-step-grid article {
  padding: 16px;
  border-radius: 16px;
}

.next-step-grid article.green {
  background: #e8f8ef;
  border: 1px solid rgba(24, 165, 88, 0.25);
}

.next-step-grid article.red {
  background: #fff0f0;
  border: 1px solid rgba(211, 47, 47, 0.2);
}

.next-step-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #0B1F4D;
}

.intervention-action-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, auto);
  gap: 18px;
  align-items: center;
  border-left: 8px solid #F2B632;
}

.intervention-action-panel.overdue {
  border-left-color: #d32f2f;
  background: #fff8f8;
}

.intervention-action-panel h4,
.intervention-action-panel p {
  margin: 0;
}

.intervention-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.intervention-action-buttons a {
  text-decoration: none;
}

.intervention-score-table {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.intervention-score-head,
.intervention-score-table article {
  display: grid;
  grid-template-columns: 90px minmax(220px, 1.2fr) 96px 96px 116px 104px minmax(190px, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 980px;
}

.intervention-score-head {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.intervention-score-table article {
  padding: 12px;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  background: #fbfdff;
}

.intervention-score-table strong,
.intervention-score-table p {
  margin: 0;
  color: #334257;
}

.score-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0B1F4D;
  font-size: 0.74rem;
  font-weight: 1000;
}

.score-badge.gold {
  background: #fff2bd;
  color: #7a5600;
}

.score-badge.silver {
  background: #eef2f6;
  color: #3e5165;
}

.score-badge.bronze,
.score-badge.late {
  background: #fff0f0;
  color: #9f1d1d;
}

.score-badge.on-time {
  background: #e8f8ef;
  color: #137a3f;
}

.management-dashboard-page {
  display: grid;
  gap: 22px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.management-title {
  align-items: center;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0B1F4D, #142d66);
  color: #ffffff;
}

.management-title h4,
.management-title p {
  margin: 0;
}

.management-title h4 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.management-title .eyebrow {
  color: var(--gold);
}

.management-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.management-workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.management-workflow-strip article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 35, 63, 0.08);
}

.management-workflow-strip span {
  grid-row: span 2;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 1000;
}

.management-workflow-strip strong {
  color: var(--navy);
  font-size: 1rem;
}

.management-workflow-strip p {
  margin: 0;
  color: #53627a;
  font-weight: 800;
}

.management-summary-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid #e1e8f0;
  border-radius: 18px;
  background: #ffffff;
  color: var(--navy);
  text-align: left;
  box-shadow: 0 12px 30px rgba(15, 35, 63, 0.08);
  cursor: pointer;
}

.management-summary-card span {
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.management-summary-card strong {
  font-size: 2.2rem;
  line-height: 1;
}

.management-summary-card small {
  color: #53627a;
  font-weight: 800;
  line-height: 1.35;
}

.management-summary-card.green { border-left: 7px solid #18A558; }
.management-summary-card.amber,
.management-summary-card.support { border-left: 7px solid var(--gold); }
.management-summary-card.notice,
.management-summary-card.meeting,
.management-summary-card.failed,
.management-summary-card.review,
.management-summary-card.overdue { border-left: 7px solid #dc4c4c; }
.management-summary-card.incident { border-left: 7px solid #b91c1c; }
.management-summary-card.high { border-left: 7px solid #8b1111; }
.management-summary-card.marking { border-left: 7px solid #2478d4; }
.management-summary-card.safeguarding { border-left: 7px solid #6c1b72; }

.management-summary-card.active {
  background: var(--gold);
  border-color: rgba(242, 182, 50, 0.75);
  color: var(--navy);
  box-shadow: 0 0 0 3px rgba(242, 182, 50, 0.2), 0 12px 30px rgba(15, 35, 63, 0.08);
}

.create-admin-tool-card,
.create-admin-account-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid #dfe7f1;
  border-left: 7px solid var(--gold);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 35, 63, 0.08);
}

.create-admin-tool-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.create-admin-tool-card h4,
.create-admin-tool-card p {
  margin: 0;
}

.create-admin-tool-card h4 {
  color: var(--navy);
  font-size: 1.35rem;
}

.create-admin-tool-card p {
  color: #53627a;
  font-weight: 800;
}

.create-admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2px;
}

.tutor-cohort-selector {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: grid;
  gap: .65rem;
}

.tutor-cohort-selector label {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}

.existing-tutor-cohort-management {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.existing-tutor-cohort-management > article {
  min-width: 0;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--tfe-card-gold-border);
  border-radius: 14px;
  background: var(--paper);
  color: var(--navy);
}

.existing-tutor-cohort-management > article > strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.existing-tutor-cohort-management > article > small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.existing-tutor-cohort-management .tutor-cohort-selector {
  min-width: 0;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  gap: 8px;
}

.existing-tutor-cohort-management .tutor-cohort-selector legend {
  margin-bottom: 8px;
  padding: 0;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 750;
}

.existing-tutor-cohort-management .tutor-cohort-selector > p {
  margin: 0 0 8px;
  font-size: .875rem;
  line-height: 1.5;
}

.existing-tutor-cohort-management .tutor-cohort-selector > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 6px 0;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

.existing-tutor-cohort-management .tutor-cohort-selector input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--navy);
}

.existing-tutor-cohort-management .tutor-cohort-selector > label > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.existing-tutor-cohort-management [data-save-tutor-cohorts] {
  justify-self: end;
  width: auto;
  max-width: 100%;
  min-height: 42px;
  margin-top: 12px;
  padding: 10px 18px;
  border: 1px solid var(--tfe-button-gold-border);
  border-radius: 9px;
  background: var(--tfe-button-navy) !important;
  color: #fff !important;
  font-size: .875rem;
  line-height: 1.4;
}

.existing-tutor-cohort-management [data-save-tutor-cohorts]:hover {
  background: var(--tfe-button-navy-hover) !important;
}

.existing-tutor-cohort-management :is(input[type="checkbox"], [data-save-tutor-cohorts]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.create-admin-form-grid label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.create-admin-form-grid input,
.create-admin-form-grid select {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.create-tutor-photo-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-width: 0;
  margin: 4px 0 8px;
  padding: 24px;
  border: 1px solid rgba(11, 31, 77, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.16), transparent 13rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 18px 40px rgba(15, 35, 75, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.create-tutor-photo-preview {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  min-width: 132px;
  overflow: hidden;
  border: 5px solid #f2b632;
  border-radius: 999px;
  background: linear-gradient(135deg, #071b4d 0%, #12306b 100%);
  color: #f8d45c;
  font-size: 2.35rem;
  font-weight: 1000;
  letter-spacing: 0;
  box-shadow:
    0 20px 38px rgba(7, 27, 77, 0.2),
    0 0 0 8px rgba(242, 182, 50, 0.12);
}

.create-tutor-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.create-tutor-photo-panel h5,
.create-tutor-photo-panel p,
.create-tutor-photo-panel small {
  margin: 0;
}

.create-tutor-photo-panel h5 {
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 1000;
  line-height: 1.15;
}

.create-tutor-photo-panel p,
.create-tutor-photo-panel small {
  color: #53627a;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
}

.create-tutor-photo-panel > div:last-child {
  display: grid;
  gap: 10px;
  min-width: 0;
  align-content: center;
}

.create-tutor-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.create-tutor-photo-actions .secondary-action {
  display: inline-flex;
  width: auto;
  min-width: 128px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
}

.create-tutor-photo-actions input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.management-filter-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid #e1e8f0;
  border-radius: 18px;
  background: #ffffff;
}

.management-filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 900;
}

.management-filter-panel select {
  min-height: 42px;
  border: 1px solid #d8e1ec;
  border-radius: 12px;
  padding: 8px 10px;
}

.cohort-intelligence-centre {
  max-width: 1360px;
}

.cohort-intelligence-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(242, 182, 50, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.16), transparent 17rem),
    linear-gradient(135deg, #071b4d 0%, #123b86 100%);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(7, 27, 77, 0.2);
}

.cohort-intelligence-hero h4,
.cohort-intelligence-hero p {
  margin: 0;
}

.cohort-intelligence-hero h4 {
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.05;
}

.cohort-intelligence-hero .eyebrow {
  color: var(--gold);
}

.cohort-intelligence-hero p:not(.eyebrow) {
  color: #d7e3ee;
  font-weight: 800;
}

.cohort-intelligence-controls {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.cohort-intelligence-controls label {
  display: grid;
  gap: 7px;
  color: #f2d77d;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.cohort-intelligence-controls select {
  min-height: 44px;
  border: 2px solid rgba(242, 182, 50, 0.75);
  border-radius: 14px;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

.executive-intelligence-report {
  display: block;
  padding: clamp(26px, 3.6vw, 44px);
  border: 1.5px solid rgba(217, 174, 43, 0.85);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 8%, rgba(212, 175, 55, 0.14), transparent 16rem),
    linear-gradient(135deg, #041235 0%, #071b4d 52%, #0a2a66 100%);
  color: #f8fbff;
  box-shadow:
    0 24px 54px rgba(6, 26, 73, 0.24),
    0 0 0 1px rgba(212, 175, 55, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.executive-intelligence-header {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  gap: clamp(22px, 3.6vw, 44px);
  align-items: center;
}

.executive-logo-column {
  display: grid;
  place-items: center start;
}

.partner-logo-tile {
  display: grid;
  width: fit-content;
  max-width: 210px;
  min-width: 178px;
  min-height: 96px;
  place-items: center;
  padding: 8px 10px;
  border: 1.5px solid rgba(212, 175, 55, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: #071b4d;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}

.partner-logo-tile img {
  display: block;
  width: 100%;
  max-width: 188px;
  max-height: 82px;
  object-fit: contain;
}

.executive-logo-tile {
  width: 170px;
  height: 170px;
  max-width: none;
  min-width: 0;
  min-height: 0;
  padding: 1rem;
  border: 2px solid #d9ae2b;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 16px 34px rgba(6, 26, 73, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.executive-logo-tile img {
  max-width: 76%;
  max-height: 76%;
  object-fit: contain;
}

.executive-briefing-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.executive-briefing-copy p {
  margin: 0;
  color: #d4af37;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.executive-briefing-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: 1000;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.executive-briefing-copy span {
  display: block;
  color: #c9d6e8;
  font-size: 0.96rem;
  font-weight: 780;
}

.executive-briefing-copy strong {
  display: block;
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(1.14rem, 1.9vw, 1.62rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.26;
}

.executive-briefing-copy em {
  display: block;
  color: #dbe7f7;
  font-size: 1rem;
  font-style: normal;
  font-weight: 760;
}

.risk-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.risk-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 999px;
  background: #fff8e8;
  color: #765600;
  font-size: 0.66rem;
  font-weight: 760;
  line-height: 1;
}

.cohort-intelligence-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.cohort-intelligence-kpi {
  width: 100%;
  border-width: 1px;
  text-align: left;
  cursor: pointer;
}

.cohort-intelligence-kpi.active {
  outline: 3px solid rgba(242, 182, 50, 0.36);
  border-color: var(--gold);
}

.cohort-performance-pillars {
  display: grid;
  gap: 20px;
}

.cohort-pillar-status-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cohort-pillar-status-bar__item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  align-items: center;
  min-width: 0;
  min-height: 112px;
  padding: 2.25rem 1.15rem 1rem;
  border: 1.5px solid rgba(217, 174, 43, 0.85);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), transparent 34%),
    linear-gradient(135deg, #061a49 0%, #0b2b66 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(6, 26, 73, 0.2);
}

.cohort-pillar-status-bar__item::before {
  content: attr(data-status-label);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 20px 0 0;
  color: #061a49;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.cohort-pillar-status-bar__item--success::before {
  background: linear-gradient(90deg, #8ce6a4 0%, #56c271 100%);
}

.cohort-pillar-status-bar__item--warning::before {
  background: linear-gradient(90deg, #ffd79a 0%, #f5a623 100%);
}

.cohort-pillar-status-bar__item--danger::before {
  background: linear-gradient(90deg, #f7a3a3 0%, #e05656 100%);
}

.cohort-pillar-status-bar__item--neutral::before {
  background: linear-gradient(90deg, #bfdbfe 0%, #93c5fd 100%);
}

.cohort-pillar-status-bar__item strong,
.cohort-pillar-status-bar__item span,
.cohort-pillar-status-bar__item em,
.cohort-pillar-status-bar__item small,
.cohort-pillar-status-bar__item time {
  display: block;
}

.cohort-pillar-status-bar__pillar {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.15;
  font-weight: 900;
}

.cohort-pillar-status-bar__eyebrow {
  margin: 0 0 0.2rem;
  color: #d9ae2b;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cohort-pillar-status-bar__meta,
.cohort-pillar-status-bar__updated {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  line-height: 1.28;
  font-weight: 800;
}

.cohort-pillar-status-bar__updated {
  color: rgba(255, 255, 255, 0.68);
}

.cohort-performance-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cohort-performance-pillar-card {
  display: grid;
  gap: 24px;
  align-content: space-between;
  min-width: 0;
  min-height: 360px;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.58);
  border-top: 5px solid rgba(212, 175, 55, 0.86);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.14), transparent 12rem),
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.14), transparent 10rem),
    linear-gradient(145deg, #0b3275 0%, #071b4d 58%, #041235 100%);
  color: #ffffff;
  box-shadow:
    0 26px 56px rgba(3, 18, 58, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cohort-performance-pillar-card.awaiting-evidence {
  border-color: rgba(147, 197, 253, 0.72);
  border-top-color: #93c5fd;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.14), transparent 12rem),
    radial-gradient(circle at 100% 0%, rgba(147, 197, 253, 0.16), transparent 10rem),
    linear-gradient(145deg, #12366f 0%, #0b2454 58%, #061842 100%);
}

.cohort-performance-pillar-card__top {
  display: grid;
  gap: 14px;
}

.cohort-performance-pillar-card h5,
.cohort-performance-pillar-card p {
  margin: 0;
}

.cohort-performance-pillar-card h5 {
  color: #ffffff;
  font-size: clamp(1.22rem, 1.8vw, 1.58rem);
  font-weight: 1000;
  line-height: 1.1;
}

.cohort-performance-pillar-card p {
  color: #dbe7f7;
  font-weight: 620;
  line-height: 1.58;
}

.pillar-rag {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pillar-rag.green {
  background: rgba(22, 163, 74, 0.2);
  color: #d1fae5;
}

.pillar-rag.amber {
  background: rgba(212, 175, 55, 0.2);
  color: #f7d774;
}

.pillar-rag.red {
  background: rgba(220, 38, 38, 0.18);
  color: #fee2e2;
}

.pillar-rag.data-developing {
  border: 1px dashed rgba(212, 175, 55, 0.48);
  color: #f7d774;
}

.pillar-rag.awaiting-evidence {
  background: rgba(147, 197, 253, 0.18);
  color: #dbeafe;
}

.cohort-performance-pillar-card__route {
  display: grid;
  gap: 8px;
}

.cohort-performance-pillar-card__route span {
  color: #d4af37;
  font-size: 0.64rem;
  font-weight: 880;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cohort-performance-pillar-card__route {
  align-self: end;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  color: #c9d6e8;
  font-size: 0.82rem;
  line-height: 1.45;
}

.cohort-performance-pillar-card .primary-action {
  width: 100%;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.88);
  background: #d4af37;
  color: #071b4d;
  font-weight: 1000;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cohort-performance-pillar-card .primary-action:hover,
.cohort-performance-pillar-card .primary-action:focus-visible {
  transform: translateY(-1px);
  border-color: #f7d774;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(247, 215, 116, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.cohort-pillar-placeholder {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(212, 175, 55, 0.58);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.14), transparent 14rem),
    linear-gradient(135deg, #071b4d 0%, #0a2a66 100%);
  color: #ffffff;
  box-shadow: 0 24px 58px rgba(7, 27, 77, 0.22);
}

.cohort-pillar-placeholder h4,
.cohort-pillar-placeholder p {
  margin: 0;
}

.cohort-pillar-placeholder h4 {
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.cohort-pillar-placeholder p {
  color: #dbe7f7;
  font-weight: 800;
}

.cohort-pillar-placeholder__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cohort-pillar-placeholder__summary strong {
  color: #ffffff;
}

.theory-knowledge-view {
  gap: 22px;
}

.theory-knowledge-hero {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(212, 175, 55, 0.48);
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 8%, rgba(212, 175, 55, 0.16), transparent 14rem),
    linear-gradient(135deg, #041235 0%, #071b4d 48%, #0a2a66 100%);
  color: #ffffff;
  box-shadow:
    0 30px 72px rgba(3, 18, 58, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.theory-knowledge-hero h4,
.theory-knowledge-hero p,
.theory-knowledge-hero dl {
  margin: 0;
}

.theory-knowledge-hero h4 {
  margin-top: 4px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 1000;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.theory-knowledge-hero p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 14px;
  color: #dbe7f7;
  font-size: 1.02rem;
  font-weight: 680;
  line-height: 1.5;
}

.theory-knowledge-hero strong,
.theory-knowledge-hero span {
  display: block;
}

.theory-knowledge-identity-row {
  margin-top: 0;
}

.theory-knowledge-identity {
  min-width: 0;
}

.theory-knowledge-identity strong {
  color: #f7d774;
  font-size: 1rem;
  font-weight: 900;
}

.theory-knowledge-identity span {
  margin-top: 3px;
  color: #c9d6e8;
  font-weight: 760;
}

.theory-cohort-status-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 20px;
  color: #071b4d;
  box-shadow:
    0 16px 30px rgba(3, 18, 58, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.theory-hero__status-inline {
  max-width: 300px;
  margin-top: 1.35rem;
  margin-bottom: 1.35rem;
}

.theory-cohort-status-card.success {
  background: linear-gradient(180deg, #f1fff4 0%, #e4f7ea 100%);
  border-color: rgba(48, 128, 78, 0.28);
}

.theory-cohort-status-card.warning {
  background: linear-gradient(180deg, #fff8eb 0%, #fff0d6 100%);
  border-color: rgba(196, 126, 31, 0.3);
}

.theory-cohort-status-card.danger {
  background: linear-gradient(180deg, #fff2f2 0%, #ffe2e2 100%);
  border-color: rgba(181, 60, 60, 0.3);
}

.theory-cohort-status-card span {
  color: #a77a1a;
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.theory-cohort-status-card strong {
  color: #071b4d;
  font-size: clamp(1.1rem, 1.9vw, 1.38rem);
  font-weight: 1000;
  line-height: 1.05;
}

.theory-cohort-status-card em,
.theory-cohort-status-card small {
  color: #335172;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 820;
  line-height: 1.25;
}

.theory-cohort-status-card small {
  color: #64748b;
  font-size: 0.7rem;
}

.theory-knowledge-hero dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
}

.theory-knowledge-hero dl div,
.theory-lesson-detail-panel article,
.theory-detail-grid article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.theory-knowledge-hero dl div {
  min-height: 135px;
  align-content: start;
  padding: 1.05rem 1.15rem;
}

.theory-knowledge-hero dt,
.theory-lesson-detail-panel article span,
.theory-detail-grid span,
.theory-evidence-chain span {
  color: #d4af37;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theory-knowledge-hero dd,
.theory-lesson-detail-panel article strong,
.theory-detail-grid strong,
.theory-evidence-chain strong {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 920;
  line-height: 1.18;
}

.theory-knowledge-hero dd {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.theory-knowledge-view .theory-knowledge-hero dl div {
  border: 2px solid var(--tfe-button-gold-border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy);
  box-shadow:
    inset 0 1px 0 var(--tfe-button-gold-highlight),
    inset 0 0 22px rgba(255, 220, 128, 0.08),
    0 18px 36px rgba(7, 27, 77, 0.24),
    0 2px 0 rgba(216, 154, 19, 0.28);
}

.theory-knowledge-view .theory-knowledge-hero dt {
  color: #f7d774;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.theory-knowledge-view .theory-knowledge-hero dd {
  color: #ffffff;
  font-size: clamp(1.2rem, 1.55vw, 1.48rem);
  line-height: 1.15;
  overflow-wrap: normal;
  text-wrap: balance;
}

.theory-knowledge-view .theory-knowledge-hero dl div:nth-of-type(2) dd {
  font-size: clamp(1rem, 1.24vw, 1.16rem);
  line-height: 1.22;
}

.theory-knowledge-school-action {
  grid-column: 1 / -1;
  display: grid;
  min-width: 0;
}

.theory-knowledge-view .theory-knowledge-hero dl .theory-knowledge-school-action {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.school-cohort-ilp-overview-button {
  width: 100%;
  min-height: 58px;
  padding: 15px 20px;
  border: 1.5px solid #d4af37;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #071b4d;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 1000;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 169, 0.35),
    0 16px 34px rgba(3, 18, 58, 0.26);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.school-cohort-ilp-overview-button:hover,
.school-cohort-ilp-overview-button:focus-visible {
  transform: translateY(-1px);
  border-color: #f7d774;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 169, 0.5),
    0 20px 42px rgba(3, 18, 58, 0.32),
    0 0 0 3px rgba(212, 175, 55, 0.2);
  outline: none;
}

.cohort-ilp-overview {
  display: grid;
  gap: 20px;
}

.cohort-ilp-overview-header {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(212, 175, 55, 0.52);
  border-radius: 24px;
  background: linear-gradient(135deg, #071b4d 0%, #0a2a66 100%);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(3, 18, 58, 0.22);
}

.cohort-ilp-overview-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #d4af37 0%, #f5d76e 52%, #d4af37 100%);
}

.cohort-ilp-overview-header > div {
  position: relative;
  z-index: 1;
}

.cohort-ilp-overview-header h4,
.cohort-ilp-overview-header p {
  margin: 0;
}

.cohort-ilp-overview-header h4 {
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.02;
}

.cohort-ilp-overview-header p:not(.eyebrow) {
  color: #dbe7f7;
  font-weight: 780;
  line-height: 1.48;
}

.cohort-ilp-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  box-shadow: 0 16px 38px rgba(7, 27, 77, 0.1);
}

.cohort-ilp-summary-grid article {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid rgba(10, 42, 102, 0.12);
  border-top: 4px solid #d4af37;
  border-radius: 16px;
  background: #ffffff;
}

.cohort-ilp-summary-grid span,
.cohort-ilp-learner-card span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cohort-ilp-summary-grid strong {
  color: #071b4d;
  font-size: 1.1rem;
  line-height: 1.15;
}

.cohort-ilp-overview .school-learner-search-panel {
  position: relative;
  overflow: hidden;
  gap: 14px;
  margin: 0;
  padding: clamp(18px, 2.4vw, 24px);
  border-color: rgba(212, 175, 55, 0.62);
  border-radius: 24px;
  background: linear-gradient(135deg, #061842 0%, #0a2a66 100%);
  box-shadow:
    0 20px 46px rgba(7, 27, 77, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cohort-ilp-overview .school-learner-search-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #d4af37 0%, #f5d76e 52%, #d4af37 100%);
}

.cohort-ilp-overview .school-cohort-filter__label,
.cohort-ilp-overview .school-learner-search span {
  color: #ffffff;
}

.cohort-ilp-overview .school-cohort-filter__select,
.cohort-ilp-overview .school-learner-search input {
  border-color: #d4af37;
  background: #ffffff;
  color: #061842;
}

.cohort-ilp-overview .school-cohort-filter__select:focus,
.cohort-ilp-overview .school-learner-search input:focus {
  border-color: #f5d76e;
  box-shadow:
    0 0 0 4px rgba(212, 175, 55, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

.cohort-ilp-overview .school-learner-search-count {
  color: rgba(255, 255, 255, 0.88);
}

.cohort-ilp-learner-list {
  display: grid;
  gap: 13px;
}

.cohort-ilp-learner-card {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) minmax(130px, 0.75fr) minmax(100px, 0.55fr) minmax(140px, 0.7fr) minmax(260px, 1.25fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(10, 42, 102, 0.12);
  border-left: 7px solid #94a3b8;
  border-radius: 20px;
  background: #f8fbff;
  box-shadow: 0 14px 32px rgba(7, 27, 77, 0.08);
}

.cohort-ilp-learner-card.at-risk {
  border-left-color: #dc4c4c;
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
}

.cohort-ilp-learner-card.monitoring {
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.cohort-ilp-learner-card.on-track {
  border-left-color: #16a34a;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.cohort-ilp-learner-card > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.cohort-ilp-learner-card strong {
  color: #071b4d;
  font-size: 0.95rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.cohort-ilp-learner-main strong {
  font-size: 1.05rem;
}

.cohort-ilp-status-cell {
  justify-items: start;
}

.cohort-ilp-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.cohort-ilp-action {
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid #d4af37;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #071b4d;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 1000;
  line-height: 1.1;
  box-shadow: 0 12px 24px rgba(7, 27, 77, 0.18), inset 0 1px 0 rgba(255, 236, 169, 0.32);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cohort-ilp-action.secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    #123b86;
  box-shadow: 0 10px 20px rgba(7, 27, 77, 0.14), inset 0 1px 0 rgba(255, 236, 169, 0.24);
}

.cohort-ilp-action.secondary.at-risk,
.cohort-ilp-action.secondary.monitoring {
  background:
    linear-gradient(180deg, rgba(255, 236, 169, 0.16), rgba(255, 255, 255, 0)),
    #071b4d;
  border-color: #f7d774;
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.22), 0 0 0 2px rgba(212, 175, 55, 0.14);
}

.cohort-ilp-action:hover,
.cohort-ilp-action:focus-visible {
  transform: translateY(-1px);
  border-color: #f7d774;
  box-shadow: 0 18px 34px rgba(7, 27, 77, 0.24), 0 0 0 3px rgba(212, 175, 55, 0.24);
  outline: none;
}

.cohort-ilp-action.primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    #071b4d;
}

.cohort-ilp-status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 1000;
}

.cohort-ilp-status-badge.at-risk {
  background: #ffe1e6;
  color: #9e1c1c;
}

.cohort-ilp-status-badge.monitoring {
  background: #ffedd5;
  color: #914b00;
}

.cohort-ilp-status-badge.on-track {
  background: #dcfce7;
  color: #0b6b35;
}

.cohort-ilp-status-cell small {
  color: #475569;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
}

.cohort-ilp-support-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(7, 27, 77, 0.62);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}

.cohort-ilp-support-modal {
  width: min(760px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  box-shadow: 0 30px 90px rgba(7, 27, 77, 0.34);
}

.cohort-ilp-support-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #071b4d 0%, #123b86 100%);
  color: #ffffff;
}

.cohort-ilp-support-modal h4,
.cohort-ilp-support-modal p {
  margin: 0;
}

.cohort-ilp-support-modal h4 {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.cohort-ilp-support-modal header span {
  color: #dbe7f7;
  font-weight: 850;
}

.cohort-ilp-modal-close {
  min-height: 40px;
  padding: 9px 15px;
  border: 1.5px solid #d4af37;
  border-radius: 14px;
  background: #071b4d;
  color: #ffffff;
  font-weight: 1000;
  cursor: pointer;
}

.cohort-ilp-modal-close:hover,
.cohort-ilp-modal-close:focus-visible {
  border-color: #f7d774;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.24);
  outline: none;
}

.cohort-ilp-support-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cohort-ilp-support-body article,
.cohort-ilp-support-empty {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(10, 42, 102, 0.12);
  border-radius: 16px;
  background: #ffffff;
}

.cohort-ilp-support-wide {
  grid-column: 1 / -1;
}

.cohort-ilp-support-body span,
.cohort-ilp-support-empty span {
  color: #94640a;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cohort-ilp-support-body strong {
  color: #071b4d;
  line-height: 1.25;
}

.cohort-ilp-support-body ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  font-weight: 820;
  line-height: 1.42;
}

.cohort-ilp-support-body p,
.cohort-ilp-support-empty p,
.cohort-ilp-support-empty small {
  color: #475569;
  font-weight: 820;
  line-height: 1.45;
}

.cohort-ilp-support-empty {
  border-color: rgba(212, 175, 55, 0.34);
  background: #fffaf0;
}

.theory-knowledge-current-lesson {
  max-width: 560px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.theory-phase-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.theory-phase-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(10, 42, 102, 0.12);
  border-radius: 20px;
  background: #ffffff;
  color: #071b4d;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(7, 27, 77, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.theory-phase-card:hover,
.theory-phase-card:focus-visible,
.theory-phase-card.active {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.72);
  box-shadow: 0 20px 42px rgba(7, 27, 77, 0.14);
}

.theory-phase-card.active {
  outline: 3px solid rgba(212, 175, 55, 0.34);
  outline-offset: 3px;
}

.theory-phase-card.current {
  background: linear-gradient(145deg, #0a2a66 0%, #071b4d 100%);
  color: #ffffff;
  border-color: rgba(212, 175, 55, 0.8);
}

.theory-phase-card.completed {
  background: linear-gradient(145deg, #f1fff4 0%, #e8f8ec 100%);
  border-color: rgba(25, 135, 84, 0.28);
}

.theory-phase-card span,
.theory-phase-card em,
.theory-phase-card small {
  color: inherit;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  opacity: 0.78;
}

.theory-phase-card strong {
  color: inherit;
  font-size: 1rem;
  font-weight: 1000;
  line-height: 1.15;
}

.theory-phase-card em {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: #8a6100;
  opacity: 1;
}

.theory-phase-card.current em {
  color: #f7d774;
}

.theory-lesson-map,
.theory-lesson-detail-panel,
.theory-support-panel,
.theory-evidence-chain {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(10, 42, 102, 0.12);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(7, 27, 77, 0.08);
}

.theory-lesson-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.theory-lesson-tile {
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 18px;
  border: 1px solid rgba(10, 42, 102, 0.12);
  border-radius: 20px;
  background: #f8fbff;
  color: #071b4d;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.theory-lesson-tile:hover,
.theory-lesson-tile:focus-visible,
.theory-lesson-tile.active {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.72);
  box-shadow: 0 16px 34px rgba(7, 27, 77, 0.12);
}

.theory-lesson-tile strong,
.theory-lesson-tile h5,
.theory-lesson-tile p,
.theory-lesson-tile small,
.theory-lesson-tile em {
  margin: 0;
}

.theory-lesson-tile h5 {
  color: #071b4d;
  font-size: 1.08rem;
  font-weight: 1000;
}

.theory-lesson-tile p {
  color: #53627a;
  font-weight: 680;
  line-height: 1.45;
}

.theory-lesson-tile small,
.theory-lesson-tile em {
  color: #65748a;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 760;
}

.theory-status-badge {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #174ea6;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theory-status-badge.completed { background: #def8e8; color: #0b6b35; }
.theory-status-badge.current { background: #fff2c7; color: #8a5b00; }
.theory-status-badge.overdue { background: #ffe1e1; color: #9e1c1c; }

.theory-lesson-detail-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.theory-lesson-evidence-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 20px 48px rgba(7, 27, 77, 0.1);
}

.theory-lesson-evidence-panel header {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.theory-lesson-evidence-panel h4,
.theory-lesson-evidence-panel p {
  margin: 0;
}

.theory-lesson-evidence-panel h4 {
  color: #071b4d;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 1000;
}

.theory-lesson-evidence-panel header p:not(.eyebrow) {
  color: #53627a;
  font-weight: 720;
  line-height: 1.5;
}

.theory-lesson-evidence-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.theory-lesson-evidence-meta article {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(10, 42, 102, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 27, 77, 0.06);
}

.theory-lesson-evidence-meta span {
  color: #d4af37;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theory-lesson-evidence-meta strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 920;
}

.theory-evidence-learner-grid {
  display: grid;
  gap: 10px;
}

.theory-evidence-learner-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(10, 42, 102, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 27, 77, 0.07);
}

.theory-evidence-learner-row strong,
.theory-evidence-learner-row span {
  display: block;
}

.theory-evidence-learner-row strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 920;
}

.theory-evidence-learner-row span {
  color: #53627a;
  font-size: 0.82rem;
  font-weight: 760;
}

.theory-standard-badge {
  display: inline-flex;
  min-width: 104px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theory-standard-badge.bronze {
  background: #fff1df;
  color: #8a4b12;
}

.theory-standard-badge.silver {
  background: #eef2f6;
  color: #475569;
}

.theory-standard-badge.gold {
  background: #fff6cf;
  color: #846108;
}

.theory-standard-badge.not-marked {
  background: #f1f5f9;
  color: #64748b;
}

.theory-marked-evidence-panel {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  padding: clamp(20px, 3vw, 28px);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.09), transparent 13rem),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 0 20px 44px rgba(7, 27, 77, 0.1);
}

.theory-marked-evidence-panel header {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.theory-marked-evidence-panel h4,
.theory-marked-evidence-panel p {
  margin: 0;
}

.theory-marked-evidence-panel h4 {
  color: #071b4d;
  font-size: clamp(1.3rem, 2vw, 1.95rem);
  font-weight: 1000;
}

.theory-marked-evidence-panel header p:not(.eyebrow) {
  color: #53627a;
  font-weight: 760;
  line-height: 1.45;
}

.theory-marked-evidence-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.theory-marked-evidence-facts.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.theory-marked-evidence-facts article,
.theory-marked-evidence-card,
.theory-marked-evidence-files {
  display: grid;
  gap: 8px;
  padding: 15px 16px;
  border: 1px solid rgba(10, 42, 102, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 27, 77, 0.07);
}

.theory-marked-evidence-facts span,
.theory-marked-evidence-card span,
.theory-marked-evidence-files span {
  color: #d4af37;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theory-marked-evidence-facts strong,
.theory-marked-evidence-card strong {
  color: #071b4d;
  font-size: 1rem;
  font-weight: 920;
}

.theory-marked-evidence-card p,
.theory-marked-evidence-files p {
  color: #53627a;
  font-weight: 720;
  line-height: 1.55;
}

.theory-marked-evidence-content {
  display: grid;
  gap: 14px;
}

.theory-marked-evidence-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 14px;
}

.theory-marked-evidence-files .evidence-preview-grid {
  margin-top: 4px;
}

.theory-marked-evidence-empty {
  border: 1px dashed rgba(212, 175, 55, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96));
}

.theory-submitted-quiz-card {
  gap: 14px;
  border-color: rgba(10, 42, 102, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.theory-submitted-quiz-list {
  display: grid;
  gap: 12px;
}

.theory-submitted-quiz-question {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(10, 42, 102, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.theory-submitted-quiz-question.correct {
  border-color: rgba(22, 101, 52, 0.24);
  background: linear-gradient(180deg, #f1fff4, #ffffff);
}

.theory-submitted-quiz-question.incorrect {
  border-color: rgba(185, 28, 28, 0.22);
  background: linear-gradient(180deg, #fff5f5, #ffffff);
}

.theory-submitted-quiz-question strong,
.theory-submitted-quiz-question p {
  margin: 0;
}

.theory-submitted-quiz-question p {
  color: #334257;
  font-weight: 730;
  line-height: 1.45;
}

.theory-quiz-result-badge {
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: #071b4d;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theory-quiz-result-badge.correct {
  background: #dcfce7;
  color: #166534;
}

.theory-quiz-result-badge.incorrect {
  background: #fee2e2;
  color: #991b1b;
}

.theory-quiz-result-badge.reviewed {
  background: #eef2ff;
  color: #0a2a66;
}

.theory-evidence-diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.theory-evidence-diagnostic-grid span {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(10, 42, 102, 0.05);
}

.theory-evidence-diagnostic-grid small {
  color: #9a6f00;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.theory-evidence-diagnostic-grid strong {
  color: #071b4d;
  overflow-wrap: anywhere;
}

.theory-lesson-detail-panel h4,
.theory-lesson-detail-panel p {
  margin: 0;
}

.theory-lesson-detail-panel h4 {
  color: #071b4d;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 1000;
}

.theory-lesson-detail-panel > p {
  color: #53627a;
  font-weight: 690;
  line-height: 1.55;
}

.theory-lesson-detail-panel article,
.theory-detail-grid article {
  background: #ffffff;
}

.theory-lesson-detail-panel article strong,
.theory-detail-grid strong,
.theory-evidence-chain strong {
  color: #071b4d;
}

.theory-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.theory-data-note {
  padding: 14px 16px;
  border: 1px dashed rgba(212, 175, 55, 0.52);
  border-radius: 16px;
  background: #fff9e9;
  color: #765600;
  font-weight: 780;
}

.theory-observation-list {
  display: grid;
  gap: 10px;
}

.theory-observation-list p {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef4ff;
}

.theory-observation-list strong {
  color: #071b4d;
}

.theory-observation-list span {
  color: #53627a;
  font-weight: 680;
}

.theory-evidence-chain {
  background: linear-gradient(135deg, #071b4d 0%, #0a2a66 100%);
}

.theory-evidence-chain strong {
  color: #ffffff;
}

.cohort-intelligence-section,
.cohort-intelligence-area-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(215, 227, 241, 0.9);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 40px rgba(11, 31, 77, 0.09);
}

.cohort-evidence-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.cohort-evidence-map article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #dfe7f1;
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  background: #ffffff;
}

.cohort-evidence-map span,
.cohort-intelligence-learner-row span {
  color: #b98208;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.cohort-evidence-map strong,
.cohort-intelligence-learner-row strong {
  color: var(--navy);
  font-weight: 1000;
}

.cohort-evidence-map p {
  margin: 0;
  color: #53627a;
  font-weight: 800;
  line-height: 1.4;
}

.cohort-intelligence-area-list {
  display: grid;
  gap: 10px;
}

.cohort-intelligence-learner-row {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) repeat(4, minmax(110px, 0.45fr)) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(11, 31, 77, 0.07);
}

.cohort-intelligence-learner-row > div {
  display: grid;
  gap: 3px;
}

.cohort-risk {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef8f1;
  color: #0f6f50;
}

.cohort-risk.amber {
  background: #fff6e4;
  color: #8a6100;
}

.cohort-risk.red {
  background: #fff0f1;
  color: #9f2f2f;
}

@media (max-width: 900px) {
  .cohort-intelligence-hero,
  .cohort-intelligence-learner-row {
    grid-template-columns: 1fr;
  }

  .executive-intelligence-header,
  .theory-knowledge-hero,
  .theory-knowledge-identity-row,
  .theory-knowledge-hero dl,
  .cohort-ilp-summary-grid,
  .cohort-ilp-learner-card,
  .theory-phase-timeline,
  .theory-lesson-grid,
  .theory-lesson-evidence-meta,
  .theory-marked-evidence-facts,
  .theory-marked-evidence-review-grid,
  .theory-detail-grid,
  .cohort-pillar-status-bar,
  .cohort-performance-pillars__grid {
    grid-template-columns: 1fr;
  }

  .theory-phase-timeline {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .theory-phase-card {
    min-width: 230px;
    scroll-snap-align: start;
  }

  .theory-lesson-evidence-panel header,
  .theory-marked-evidence-panel header,
  .theory-evidence-learner-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .theory-lesson-evidence-panel header,
  .theory-marked-evidence-panel header {
    flex-direction: column;
  }

  .theory-standard-badge {
    width: fit-content;
  }

  .cohort-ilp-learner-card {
    align-items: start;
  }

  .cohort-ilp-card-actions,
  .cohort-ilp-support-body {
    grid-template-columns: 1fr;
  }

  .cohort-ilp-status-cell {
    justify-items: start;
  }

  .executive-intelligence-report {
    padding: 24px;
    border-radius: 26px;
  }

  .executive-logo-column {
    place-items: center;
  }

  .executive-logo-tile {
    width: min(100%, 170px);
    height: min(170px, 58vw);
    justify-self: center;
  }

  .cohort-performance-pillar-card {
    min-height: 0;
  }

  .partner-logo-tile {
    max-width: 220px;
    min-width: 190px;
    min-height: 104px;
  }

  .cohort-intelligence-learner-row {
    align-items: stretch;
  }
}

.management-search-panel {
  grid-template-columns: minmax(320px, 1fr) auto;
  align-items: end;
}

.management-search-panel label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.management-search-panel input {
  min-height: 56px;
  width: 100%;
  border: 1px solid #d8e1ec;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--navy);
  background: #fbfdff;
}

.management-search-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
  color: #53627a;
  font-weight: 900;
}

.primary-action.is-saved,
.secondary-action.is-saved {
  border-color: #18A558 !important;
  background: #18A558 !important;
  color: #ffffff !important;
}

.management-search-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #f1c7c7;
  border-radius: 12px;
  background: #fff4f4;
  color: #9e1c1c;
  font-weight: 900;
}

.management-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.management-quick-filters button:not(.secondary-action) {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d8e1ec;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

.management-actions-today,
.management-risk-overview,
.management-case-panel,
.record-management-action-card,
.management-escalation-module,
.support-plan-card,
.management-history-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e1e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 35, 63, 0.07);
}

.management-escalation-module {
  border-color: #ffd0d0;
  border-left: 8px solid #b42318;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

.escalation-head {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0B1F4D 0%, #17366f 100%);
  color: #ffffff;
}

.escalation-head h4,
.escalation-head p {
  color: #ffffff;
}

.escalation-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e1e8f0;
  border-radius: 16px;
  background: #ffffff;
}

.escalation-section h5 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  letter-spacing: 0;
}

.management-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.management-check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  background: #fbfdff;
  color: var(--navy);
  font-weight: 850;
}

.management-check-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.escalation-textarea-label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.escalation-textarea-label textarea,
.management-escalation-module textarea {
  min-height: 92px;
}

.management-escalation-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.management-escalation-timeline article {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 96px;
  padding: 12px;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #f8fafc;
}

.management-escalation-timeline article span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #dfe7f1;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 1000;
}

.management-escalation-timeline article strong {
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.25;
}

.management-escalation-timeline article.complete {
  border-color: rgba(24, 165, 88, 0.36);
  background: #effbf3;
}

.management-escalation-timeline article.complete span {
  background: #18A558;
  color: #ffffff;
}

.management-escalation-timeline article.pending {
  opacity: 0.72;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.signature-grid label {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #fbfdff;
  color: var(--navy);
  font-weight: 900;
}

.management-escalation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.management-escalation-actions .management-save-feedback {
  flex: 1 1 100%;
}

.elite-escalation-panel {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.elite-escalation-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0B1F4D 0%, #172f64 100%);
  color: #ffffff;
  border-bottom: 5px solid var(--gold);
}

.elite-escalation-title h2,
.elite-escalation-title p {
  margin: 0;
  color: #ffffff;
}

.elite-escalation-title h2 {
  margin-bottom: 6px;
  font-size: clamp(1.7rem, 2.5vw, 2.55rem);
}

.elite-escalation-status {
  display: grid;
  gap: 8px;
  min-width: 260px;
}

.elite-escalation-status span {
  display: block;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 1000;
}

.elite-section h5 {
  padding-bottom: 10px;
  border-bottom: 1px solid #e5ebf4;
  font-size: 1.08rem;
}

.elite-overview-grid,
.notice-meta-grid,
.escalation-contact-grid,
.evidence-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.elite-overview-grid article,
.notice-meta-grid article,
.evidence-status-grid article,
.escalation-contact-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  background: #fbfdff;
}

.elite-overview-grid span,
.notice-meta-grid span,
.escalation-contact-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.elite-overview-grid strong,
.notice-meta-grid strong,
.evidence-status-grid strong,
.escalation-contact-card strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.elite-escalation-timeline {
  display: grid;
  gap: 12px;
}

.elite-escalation-timeline article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid #e1e8f0;
  border-left: 8px solid #d8e1ec;
  border-radius: 16px;
  background: #ffffff;
}

.elite-escalation-timeline article span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #eef2f6;
  color: var(--navy);
  font-weight: 1000;
}

.elite-escalation-timeline article strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
}

.elite-escalation-timeline article small {
  display: block;
  margin: 3px 0 8px;
  color: var(--muted);
  font-weight: 900;
}

.elite-escalation-timeline article p {
  margin: 5px 0 0;
  color: #334155;
}

.elite-escalation-timeline article.light-orange { border-left-color: #f2b632; background: #fffaf0; }
.elite-escalation-timeline article.amber { border-left-color: #f59f00; background: #fff7e8; }
.elite-escalation-timeline article.red-amber { border-left-color: #ef7d22; background: #fff1e8; }
.elite-escalation-timeline article.red { border-left-color: #b42318; background: #fff2f2; }

.evidence-status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.evidence-status-badge.complete { background: #def8e8; color: #0b6b35; }
.evidence-status-badge.required { background: #fff2c7; color: #8a5b00; }
.evidence-status-badge.incomplete { background: #ffe1e1; color: #9e1c1c; }
.evidence-status-badge.pending { background: #e8f1ff; color: #174ea6; }

.escalation-contact-card small {
  color: #64748b;
  font-weight: 900;
}

.escalation-contact-card p {
  margin: 0;
  color: #334155;
}

.notice-card {
  border-color: #f2d27a;
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}

.notice-card > p {
  margin: 0;
  color: #334155;
}

.notice-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.notice-columns article {
  padding: 15px;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  background: #ffffff;
}

.notice-columns h6 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.9rem;
}

.notice-columns p {
  margin: 6px 0;
  color: #334155;
}

.notice-columns p::before {
  content: "• ";
  color: var(--gold);
  font-weight: 1000;
}

@media (max-width: 1180px) {
  .management-decision-answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .management-workflow-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .management-escalation-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .elite-escalation-title,
  .notice-columns {
    grid-template-columns: 1fr;
  }

  .elite-escalation-status {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .management-escalation-timeline,
  .management-check-grid,
  .signature-grid,
  .elite-overview-grid,
  .notice-meta-grid,
  .escalation-contact-grid,
  .evidence-status-grid {
    grid-template-columns: 1fr;
  }

  .elite-escalation-timeline article {
    grid-template-columns: 1fr;
  }
}

.management-action-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.management-action-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e1e8f0;
  border-left: 7px solid #d8e1ec;
  border-radius: 16px;
  background: #fbfdff;
}

.management-action-card.amber { border-left-color: var(--gold); background: #fffaf0; }
.management-action-card.support { border-left-color: #f59f00; background: #fff8ea; }
.management-action-card.review { border-left-color: #dc4c4c; background: #fff2f2; }
.management-action-card.high { border-left-color: #8b1111; background: #fff0f0; }

.management-action-card span,
.management-risk-row span,
.management-case-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.management-action-card strong,
.management-risk-row strong,
.management-case-grid strong {
  color: var(--navy);
}

.management-action-learner,
.management-risk-identity,
.management-form-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.management-action-learner > div,
.management-risk-identity > div,
.management-form-identity > div {
  min-width: 0;
}

.management-action-learner p,
.management-form-identity p {
  margin: 2px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.management-risk-identity .learner-avatar.large,
.management-action-learner .learner-avatar.large,
.management-form-identity .learner-avatar.large {
  width: 84px;
  height: 84px;
  min-width: 84px;
  border: 4px solid #ffffff;
  outline: 3px solid rgba(242, 182, 50, 0.58);
  box-shadow: 0 12px 24px rgba(15, 35, 63, 0.14);
  object-fit: cover;
}

.management-action-learner .learner-avatar.large,
.management-form-identity .learner-avatar.large {
  width: 72px;
  height: 72px;
  min-width: 72px;
}

.management-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.management-decision-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 35, 63, 0.08);
}

.management-decision-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0;
}

.management-decision-table th,
.management-decision-table td {
  padding: 15px 14px;
  border-bottom: 1px solid #edf2f7;
  color: var(--navy);
  text-align: left;
  vertical-align: middle;
}

.management-decision-table th {
  position: sticky;
  top: 0;
  background: #f6f8fb;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
  z-index: 1;
}

.management-decision-table tbody tr.notice td { background: #fff8ea; }
.management-decision-table tbody tr.failed td,
.management-decision-table tbody tr.overdue td { background: #fff3f3; }
.management-decision-table tbody tr.safeguarding td { background: #f8effa; }

.management-table-learner {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 190px;
}

.management-table-learner .learner-avatar.small {
  width: 42px;
  height: 42px;
  min-width: 42px;
}

.primary-action.compact,
.secondary-action.compact {
  min-height: 38px;
  padding: 9px 12px;
  white-space: nowrap;
}

.learner-management-profile {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #dfe7f1;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 35, 63, 0.08);
}

.management-profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0B1F4D, #183a78);
  color: #ffffff;
}

.management-profile-hero h3,
.management-profile-hero p {
  margin: 0;
  color: #ffffff;
}

.management-profile-hero .learner-avatar.large {
  width: 96px;
  height: 96px;
  min-width: 96px;
  border: 4px solid #ffffff;
  outline: 3px solid var(--gold);
}

.management-quick-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid #dfe7f1;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 35, 63, 0.08);
}

.quick-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0B1F4D, #183a78);
  color: #ffffff;
}

.quick-card-header h3,
.quick-card-header p {
  margin: 0;
  color: #ffffff;
}

.quick-card-header .learner-avatar.large {
  width: 92px;
  height: 92px;
  min-width: 92px;
  border: 4px solid #ffffff;
  outline: 3px solid var(--gold);
}

.quick-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.management-decision-answer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.management-decision-answer-grid article {
  display: grid;
  gap: 6px;
  min-height: 136px;
  align-content: start;
  padding: 14px;
  border: 1px solid #e4ebf3;
  border-top: 7px solid #18A558;
  border-radius: 16px;
  background: #f0fbf5;
}

.management-decision-answer-grid article.amber {
  border-top-color: var(--gold);
  background: #fff8e8;
}

.management-decision-answer-grid article.monitor {
  border-top-color: #f59e0b;
  background: #fff7ed;
}

.management-decision-answer-grid article.red {
  border-top-color: #dc4c4c;
  background: #fff2f2;
}

.management-decision-answer-grid article.critical {
  border-top-color: #5c0711;
  background: #fff0f0;
}

.management-decision-answer-grid span {
  color: #58677d;
  font-size: 0.7rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.management-decision-answer-grid strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.management-decision-answer-grid article.green strong {
  color: #0b6b35;
}

.management-decision-answer-grid article.amber strong {
  color: #8a5b00;
}

.management-decision-answer-grid article.monitor strong {
  color: #9a5a00;
}

.management-decision-answer-grid article.red strong {
  color: #9e1c1c;
}

.management-decision-answer-grid article.critical strong {
  color: #5c0711;
}

.management-decision-answer-grid p {
  margin: 0;
  color: #44546c;
  font-weight: 800;
  line-height: 1.35;
}

/* Management Dashboard premium polish - visual only */
.management-dashboard-page {
  padding: clamp(6px, 1vw, 14px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0% 0%, rgba(242, 182, 50, 0.12), transparent 28rem),
    radial-gradient(circle at 100% 12%, rgba(11, 31, 77, 0.08), transparent 30rem),
    linear-gradient(180deg, rgba(247, 250, 255, 0.72), rgba(255, 255, 255, 0));
}

.management-dashboard-page > .management-title {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(242, 182, 50, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 0%, rgba(242, 182, 50, 0.24), transparent 18rem),
    radial-gradient(circle at 10% 0%, rgba(49, 111, 184, 0.26), transparent 24rem),
    linear-gradient(135deg, #06163c 0%, #0b1f4d 50%, #173a78 100%);
  box-shadow:
    0 30px 72px rgba(7, 27, 77, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.management-dashboard-page > .management-title::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(242, 182, 50, 0.9), transparent 42%) top left / 100% 5px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%);
}

.management-dashboard-page > .management-title > * {
  position: relative;
  z-index: 1;
}

.management-dashboard-page > .management-title h4 {
  font-size: clamp(2.15rem, 4vw, 4.15rem);
  font-weight: 1000;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.management-dashboard-page > .management-title .eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(242, 182, 50, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8d45c;
}

.management-dashboard-page .management-summary-card {
  position: relative;
  min-height: 146px;
  padding: 22px 20px;
  overflow: hidden;
  border: 1px solid rgba(215, 227, 241, 0.8);
  border-left: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.1), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.99));
  box-shadow:
    0 22px 48px rgba(11, 31, 77, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.management-dashboard-page .management-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(180deg, #dc4c4c, #8b1111);
}

.management-dashboard-page .management-summary-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(242, 182, 50, 0.16), rgba(255, 255, 255, 0.72));
}

.management-dashboard-page .management-summary-card:hover,
.management-dashboard-page .management-summary-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 182, 50, 0.38);
  box-shadow:
    0 30px 60px rgba(11, 31, 77, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.management-dashboard-page .management-summary-card span {
  max-width: calc(100% - 42px);
  color: #071b4d;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.management-dashboard-page .management-summary-card strong {
  color: #0b1f4d;
  font-size: clamp(2.55rem, 4vw, 3.8rem);
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow: 0 1px 0 #ffffff;
}

.management-dashboard-page .management-summary-card small {
  color: #536781;
  font-size: 0.84rem;
  font-weight: 850;
}

.management-dashboard-page .management-summary-card.incident::before,
.management-dashboard-page .management-summary-card.notice::before,
.management-dashboard-page .management-summary-card.meeting::before,
.management-dashboard-page .management-summary-card.failed::before,
.management-dashboard-page .management-summary-card.overdue::before {
  background: linear-gradient(180deg, #ef4444, #991b1b);
}

.management-dashboard-page .management-summary-card.safeguarding::before {
  background: linear-gradient(180deg, #9d4edd, #5b1570);
}

.management-dashboard-page .management-summary-card.active {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.32), transparent 12rem),
    linear-gradient(135deg, #f8d45c, #f2b632);
  box-shadow:
    0 0 0 4px rgba(242, 182, 50, 0.2),
    0 28px 56px rgba(154, 106, 0, 0.16);
}

.management-dashboard-page .management-filter-panel.management-search-panel {
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(215, 227, 241, 0.82);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.09), transparent 18rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow:
    0 22px 52px rgba(11, 31, 77, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.management-dashboard-page .management-search-panel label {
  color: #071b4d;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.management-dashboard-page .management-search-panel input {
  min-height: 60px;
  border: 1px solid rgba(174, 190, 208, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 24px rgba(11, 31, 77, 0.06);
  font-weight: 850;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.management-dashboard-page .management-search-panel input:focus {
  border-color: #f2b632;
  outline: 0;
  box-shadow:
    0 0 0 4px rgba(242, 182, 50, 0.18),
    0 16px 30px rgba(11, 31, 77, 0.11);
  transform: translateY(-1px);
}

.management-dashboard-page .management-search-actions {
  color: #536781;
}

.management-dashboard-page .management-search-actions .primary-action,
.management-dashboard-page .management-quick-filters .secondary-action {
  min-height: 44px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(11, 31, 77, 0.1);
}

.management-dashboard-page .management-risk-overview {
  border: 1px solid rgba(215, 227, 241, 0.82);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(11, 31, 77, 0.05), transparent 18rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow:
    0 24px 58px rgba(11, 31, 77, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.management-dashboard-page .management-risk-overview > .panel-head {
  padding: 18px 20px;
  border: 1px solid rgba(242, 182, 50, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 248, 220, 0.92), rgba(255, 255, 255, 0.92));
}

.management-dashboard-page .management-risk-overview > .panel-head h4 {
  color: #071b4d;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.management-dashboard-page .management-decision-table-wrap {
  border: 1px solid rgba(215, 227, 241, 0.82);
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 18px 40px rgba(11, 31, 77, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.management-dashboard-page .management-decision-table th {
  background:
    linear-gradient(180deg, #f8fbff, #eef4fb);
  color: #071b4d;
  letter-spacing: 0.07em;
}

.management-dashboard-page .management-decision-table td {
  border-bottom-color: rgba(226, 232, 240, 0.86);
  color: #26374d;
  font-weight: 760;
}

.management-dashboard-page .management-decision-table tbody tr:hover td {
  background: #fffaf0;
}

.management-dashboard-page .management-decision-table .empty-state {
  margin: 10px;
  border: 1px solid rgba(242, 182, 50, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.12), transparent 16rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 16px 34px rgba(11, 31, 77, 0.08);
}

.quick-card-field-grid,
.quick-summary-tiles,
.risk-rating-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.quick-card-field-grid div,
.quick-summary-tiles article,
.risk-rating-tile {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e4ebf3;
  border-radius: 14px;
  background: #fbfdff;
}

.quick-summary-tiles article {
  border-left: 5px solid var(--gold);
  background: #fffaf0;
}

.risk-rating-tiles {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.risk-rating-tile {
  min-height: 132px;
  align-content: start;
  border-left: 7px solid #18A558;
}

.risk-rating-tile.green {
  border-left-color: #18A558;
  background: #f0fbf5;
}

.risk-rating-tile.amber {
  border-left-color: var(--gold);
  background: #fff8e8;
}

.risk-rating-tile.monitor {
  border-left-color: #f59e0b;
  background: #fff7ed;
}

.risk-rating-tile.red {
  border-left-color: #dc4c4c;
  background: #fff2f2;
}

.risk-rating-tile.critical {
  border-left-color: #5c0711;
  background: #fff0f0;
}

.risk-rating-tile.critical strong {
  color: #5c0711;
}

.risk-rating-tile.red strong {
  color: #9e1c1c;
}

.risk-rating-tile.amber strong {
  color: #8a5b00;
}

.risk-rating-tile.monitor strong {
  color: #9a5a00;
}

.risk-rating-tile.green strong {
  color: #0b6b35;
}

.quick-card-field-grid span,
.quick-summary-tiles span,
.risk-rating-tile span,
.quick-mini-timeline span {
  color: #58677d;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.quick-card-field-grid strong,
.quick-summary-tiles strong,
.risk-rating-tile strong,
.quick-mini-timeline strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.quick-summary-tiles p,
.risk-rating-tile p {
  margin: 0;
  color: #44546c;
  font-weight: 800;
}

.quick-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 1000;
  text-transform: uppercase;
}

.quick-section-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.quick-mini-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #f6f8fb;
}

.quick-mini-timeline article {
  position: relative;
  display: grid;
  gap: 4px;
  padding-left: 16px;
}

.quick-mini-timeline article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
}

.quick-card-actions {
  justify-content: flex-end;
}

.management-report-preview {
  display: grid;
  gap: 16px;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: auto;
  padding: 24px;
  justify-items: center;
  align-content: start;
  background: rgba(11, 31, 77, 0.82);
}

.management-report-toolbar {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: flex;
  flex-wrap: wrap;
  width: min(100%, 900px);
  justify-content: flex-end;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 35, 63, 0.22);
}

.management-report-error-banner {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #f1b5b5;
  border-left: 6px solid #dc4c4c;
  border-radius: 10px;
  background: #fff2f2;
  color: #9e1c1c;
  font-weight: 900;
}

.management-report-document {
  position: relative;
  width: 210mm;
  min-height: 297mm;
  box-sizing: border-box;
  padding: 16mm 16mm 18mm;
  border: 1px solid #dfe7f1;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 22px 60px rgba(15, 35, 63, 0.16);
  overflow: hidden;
  counter-reset: page;
}

.management-report-watermark {
  position: fixed;
  inset: 42% auto auto 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
  width: 170mm;
  color: rgba(220, 76, 76, 0.08);
  font-size: 2.8rem;
  font-weight: 1000;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 0;
}

.management-report-header,
.management-report-section,
.management-report-footer {
  position: relative;
  z-index: 1;
}

.management-report-header {
  display: grid;
  grid-template-columns: 38mm minmax(0, 1fr) 46mm;
  gap: 12mm;
  align-items: center;
  padding-bottom: 7mm;
  border-bottom: 2px solid var(--gold);
}

.management-report-header img {
  width: 34mm;
  height: auto;
  object-fit: contain;
}

.management-report-header h1,
.management-report-header p {
  margin: 0;
}

.management-report-header h1 {
  color: var(--navy);
  font-size: 1.75rem;
}

.management-report-meta {
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 10px;
  background: #f7f9fc;
}

.management-report-meta span,
.report-grid span,
.management-report-footer,
.report-timeline span {
  color: #58677d;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.management-report-meta strong,
.report-grid strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.management-report-section {
  padding: 7mm 0 4mm;
  border-bottom: 1px solid #e4ebf3;
  break-inside: avoid;
  page-break-inside: avoid;
}

.management-report-section h3 {
  margin: 0 0 4mm;
  color: var(--navy);
  font-size: 1.05rem;
}

.management-report-section h3::after {
  content: "";
  display: block;
  width: 34mm;
  height: 2px;
  margin-top: 2mm;
  background: var(--gold);
}

.management-report-section p,
.management-report-section li {
  color: #26364d;
  line-height: 1.45;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.report-grid div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e4ebf3;
  border-radius: 9px;
  background: #fbfdff;
}

.report-timeline {
  display: grid;
  gap: 8px;
}

.report-timeline article {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-left: 3px solid var(--gold);
  border-radius: 9px;
  background: #fbfdff;
}

.report-timeline strong {
  color: var(--navy);
}

.report-muted,
.report-restricted {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f9fc;
  color: #58677d;
}

.report-restricted {
  border: 1px solid #f1c7c7;
  background: #fff4f4;
  color: #9e1c1c;
  font-weight: 900;
}

.report-signatures {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding-top: 8mm;
}

.report-signatures div {
  display: grid;
  gap: 5px;
  min-height: 24mm;
  align-content: end;
}

.report-signatures span {
  display: block;
  height: 1px;
  background: #0B1F4D;
}

.report-signatures small {
  color: #58677d;
}

.management-report-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6mm;
}

.management-report-footer span:last-child::after {
  content: counter(page);
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  body:has(.management-report-document) {
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  body:has(.management-report-document) .topbar,
  body:has(.management-report-document) .session-strip,
  body:has(.management-report-document) .management-dashboard-page > *:not(.management-report-preview),
  body:has(.management-report-document) .management-report-toolbar,
  body:has(.management-report-document) .no-print {
    display: none !important;
    visibility: hidden !important;
  }

  body:has(.management-report-document) .app-shell,
  body:has(.management-report-document) main,
  body:has(.management-report-document) #adminRecordPanels,
  body:has(.management-report-document) .management-dashboard-page,
  body:has(.management-report-document) .management-report-preview {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  .management-report-document {
    width: 100% !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .management-report-document::after {
    content: "Page " counter(page);
    position: fixed;
    right: 0;
    bottom: -7mm;
    color: #58677d;
    font-size: 8pt;
    font-weight: 800;
  }

  .management-report-header {
    grid-template-columns: 34mm minmax(0, 1fr) 42mm !important;
    gap: 8mm !important;
    padding-bottom: 5mm !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .management-report-header img {
    width: 30mm !important;
  }

  .management-report-header h1 {
    font-size: 18pt !important;
  }

  .management-report-section {
    padding: 5mm 0 3mm !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .management-report-section h3 {
    font-size: 12pt !important;
  }

  .management-report-section p,
  .management-report-section li,
  .report-grid strong,
  .report-timeline strong {
    font-size: 9pt !important;
  }

  .report-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }

  .report-grid div,
  .report-timeline article {
    padding: 6px !important;
  }

  .report-signatures {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .management-report-watermark {
    position: fixed !important;
    top: 45% !important;
    left: 50% !important;
    color: rgba(220, 76, 76, 0.08) !important;
  }
}

.management-risk-table {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.management-risk-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid #e1e8f0;
  border-left: 7px solid #d8e1ec;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.management-risk-row.green,
.management-risk-row.monitoring { border-left-color: #18A558; }
.management-risk-row.amber { border-left-color: var(--gold); background: #fffaf0; }
.management-risk-row.support { border-left-color: #f59f00; background: #fff8ea; }
.management-risk-row.review { border-left-color: #dc4c4c; background: #fff2f2; }
.management-risk-row.high { border-left-color: #8b1111; background: #fff0f0; }

.management-risk-top,
.management-risk-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.management-risk-top strong {
  display: block;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  overflow-wrap: anywhere;
}

.management-risk-top span,
.management-risk-bottom p,
.management-risk-bottom strong {
  overflow-wrap: anywhere;
}

.management-risk-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.management-stage-badge {
  display: inline-flex !important;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--navy) !important;
}

.management-risk-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.management-risk-metrics div,
.management-risk-bottom > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

.management-risk-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.management-risk-bottom {
  align-items: stretch;
}

.management-risk-bottom .management-card-actions {
  align-content: center;
  justify-content: flex-end;
}

.management-risk-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.management-risk-badge.green,
.management-risk-badge.monitoring { background: #def8e8; color: #0b6b35; }
.management-risk-badge.amber,
.management-risk-badge.light_amber,
.management-risk-badge.support { background: #fff2c7; color: #8a5b00; }
.management-risk-badge.orange,
.management-risk-badge.support_plan { background: #ffe3bf; color: #914b00; }
.management-risk-badge.review,
.management-risk-badge.red { background: #ffe1e1; color: #9e1c1c; }
.management-risk-badge.high,
.management-risk-badge.withdrawal { background: #2a0d12; color: #ffffff; }
.management-risk-badge.safeguarding { background: #6c1b72; color: #ffffff; }

.management-case-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background: #f8fafc;
}

.management-case-hero .learner-avatar.large {
  width: 104px;
  height: 104px;
  min-width: 104px;
  border: 4px solid #ffffff;
  outline: 3px solid var(--gold);
  object-fit: cover;
}

.management-case-hero h3,
.management-case-hero p {
  margin: 0;
}

.management-case-grid,
.management-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.management-case-grid article,
.management-detail-grid article {
  padding: 14px;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  background: #fbfdff;
}

.management-save-button.is-saved,
.support-plan-card .secondary-action.is-saved {
  background: #18A558;
  border-color: #18A558;
  color: #ffffff;
}

.management-save-button.is-failed {
  background: #d32f2f;
  border-color: #d32f2f;
  color: #ffffff;
}

.management-save-feedback {
  min-height: 20px;
  margin: 0;
  font-weight: 900;
}

.management-save-feedback.success {
  color: #137a3f;
}

.management-save-feedback.error {
  color: #b42318;
}

.achievement-recognition-section {
  display: grid;
  gap: 18px;
}

.recognition-title {
  background: linear-gradient(135deg, #0B1F4D, #185a48);
}

.recognition-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.recognition-summary-card {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid #e1e8f0;
  border-left: 7px solid var(--gold);
  border-radius: 18px;
  background: #ffffff;
  color: var(--navy);
  text-align: left;
  box-shadow: 0 12px 30px rgba(15, 35, 63, 0.08);
}

.recognition-summary-card span {
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.recognition-summary-card strong {
  font-size: 2.1rem;
}

.recognition-summary-card.green { border-left-color: #18A558; }
.recognition-summary-card.blue { border-left-color: #2478d4; }
.recognition-summary-card.purple { border-left-color: #6c1b72; }
.recognition-summary-card.platinum { border-left-color: #111827; }

.recognition-summary-card.active {
  background: #fff8df;
  border-color: rgba(242, 182, 50, 0.75);
  box-shadow: 0 0 0 3px rgba(242, 182, 50, 0.2), 0 12px 30px rgba(15, 35, 63, 0.08);
}

.recognition-list-panel,
.recognition-case-panel,
.record-recognition-action-card,
.recognition-history-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e1e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 35, 63, 0.07);
}

.recognition-learner-list {
  display: grid;
  gap: 16px;
}

.recognition-learner-card {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid #e1e8f0;
  border-left: 7px solid var(--gold);
  border-radius: 18px;
  background: #ffffff;
}

.recognition-learner-card.platinum { border-left-color: #111827; background: #f8fafc; }
.recognition-learner-card.gold { border-left-color: var(--gold); background: #fffaf0; }
.recognition-learner-card.silver { border-left-color: #b9c5d1; background: #f8fafc; }
.recognition-learner-card.bronze { border-left-color: #c47a3c; background: #fff8f0; }

.award-certificate-wrap {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  padding: 24px 12px 42px;
  background: #eef3f8;
  overflow-x: auto;
  overflow-y: visible;
  box-sizing: border-box;
}

.award-certificate-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 4px;
}

.award-certificate-toolbar .secondary-action:first-child {
  margin-right: auto;
}

.award-certificate-toolbar .secondary-action,
.award-certificate-toolbar .primary-action {
  flex: 0 1 auto;
  min-width: max-content;
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 760px) {
  .award-certificate-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0;
  }

  .award-certificate-toolbar .secondary-action:first-child {
    margin-right: 0;
  }

  .award-certificate-toolbar .secondary-action,
  .award-certificate-toolbar .primary-action {
    width: 100%;
    min-width: 0;
  }
}

.certificate-print-area {
  display: grid;
  place-items: center;
  width: 1123px;
  min-width: 1123px;
  max-width: none;
  height: auto;
  aspect-ratio: 1123 / 794;
  margin: 0 auto;
  overflow: visible;
  background: transparent;
  box-sizing: border-box;
}

.award-certificate-page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  width: 281mm;
  height: 194mm;
  min-width: 281mm;
  min-height: 194mm;
  margin: 0 auto;
  overflow: hidden;
  padding: 18mm 18mm 15mm;
  box-sizing: border-box;
  border: 6px solid #0B1F4D;
  border-radius: 22px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #F2B632, #fff4c8, #0B1F4D) border-box;
  box-shadow: 0 28px 70px rgba(11, 31, 77, 0.18);
}

.award-certificate-page::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1.5px solid rgba(242, 182, 50, 0.72);
  border-radius: 14px;
  pointer-events: none;
}

.award-certificate-page::after {
  content: "";
  position: absolute;
  inset: 28% 24%;
  background: url("./public/assets/tfe-logo.png") center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

.certificate-corner {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 0;
  border: 2px solid rgba(242, 182, 50, 0.42);
  background: transparent;
  pointer-events: none;
}

.certificate-corner.top-left {
  top: 18px;
  left: 18px;
  border-right: 0;
  border-bottom: 0;
}

.certificate-corner.bottom-right {
  right: 18px;
  bottom: 18px;
  border-left: 0;
  border-top: 0;
}

.certificate-header,
.certificate-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.certificate-logo-lockup {
  display: grid;
  align-items: center;
  min-height: 66px;
}

.certificate-logo-lockup img {
  width: 245px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.certificate-logo-fallback {
  display: none;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.certificate-header > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  justify-content: flex-end;
  color: var(--navy);
}

.certificate-header span,
.certificate-footer small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.certificate-header strong,
.certificate-footer strong {
  display: block;
  color: var(--navy);
  font-weight: 1000;
}

.certificate-body {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.certificate-kicker {
  margin: 0;
  color: #9b7410;
  font-size: 0.86rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.certificate-body h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  font-weight: 800;
}

.certificate-body h2 {
  margin: 5px 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 5.2vw, 4.35rem);
  line-height: 1;
}

.certificate-learner-meta {
  margin: 0;
  color: #526172;
  font-size: 0.92rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.certificate-body h3 {
  margin: 0;
  color: #9b7410;
  font-size: clamp(1.32rem, 2.4vw, 1.95rem);
}

.certificate-ribbon {
  width: fit-content;
  min-width: 260px;
  margin: 4px auto;
  padding: 8px 28px;
  border-radius: 4px;
  background: linear-gradient(135deg, #0B1F4D, #17366c);
  color: #F2B632;
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(11, 31, 77, 0.12);
}

.certificate-wording,
.certificate-area {
  margin: 0;
  color: #34435c;
  font-size: 0.96rem;
}

.certificate-area {
  color: #526172;
  font-weight: 800;
}

.certificate-evidence {
  width: min(100%, 760px);
  margin-top: 10px;
  padding: 12px 18px 10px;
  border-top: 2px solid rgba(242, 182, 50, 0.5);
  border-bottom: 2px solid rgba(242, 182, 50, 0.5);
  background: rgba(255, 252, 244, 0.72);
}

.certificate-evidence strong {
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.certificate-evidence p {
  margin: 6px 0;
  color: #27364d;
  line-height: 1.35;
}

.certificate-evidence ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.certificate-evidence li {
  padding: 5px 9px;
  border: 1px solid rgba(242, 182, 50, 0.34);
  border-radius: 7px;
  background: rgba(255, 246, 216, 0.74);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
}

.certificate-footer {
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  z-index: 2;
  min-height: 58px;
  padding-top: 10px;
  border-top: 1px solid rgba(11, 31, 77, 0.16);
}

.certificate-footer > div:last-child {
  text-align: right;
}

.certificate-signature span {
  display: block;
  width: min(100%, 300px);
  height: 1px;
  margin-bottom: 9px;
  background: var(--navy);
}

.certificate-signature.centre {
  text-align: center;
}

.certificate-signature.centre span {
  margin-inline: auto;
}

.certificate-seal {
  position: absolute;
  right: 32mm;
  bottom: 34mm;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 3px solid #c99618;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7d9, #f4d476);
  color: var(--navy);
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(156, 116, 16, 0.18);
}

.certificate-seal span {
  font-size: 1.25rem;
  font-weight: 1000;
  line-height: 1;
}

.certificate-seal strong {
  max-width: 66px;
  font-size: 0.54rem;
  font-weight: 1000;
  line-height: 1.05;
}

.certificate-save-feedback {
  width: min(100%, 1180px);
  margin: 0 auto;
  font-weight: 1000;
}

.certificate-save-feedback.success {
  color: var(--good);
}

.certificate-save-feedback.error {
  color: var(--bad);
}

/* Award certificate layout rebuild: fixed A4 landscape page with all content contained. */
.certificate-print-area {
  width: 1123px;
  min-width: 1123px;
  max-width: none;
  height: auto;
  aspect-ratio: 1123 / 794;
  display: grid;
  place-items: center;
  margin: 0 auto;
  overflow: visible;
  background: transparent;
  box-sizing: border-box;
}

.award-certificate-page.certificate-page {
  position: relative;
  display: block;
  width: 297mm;
  height: 210mm;
  min-width: 297mm;
  min-height: 210mm;
  max-width: 297mm;
  max-height: 210mm;
  margin: 0 auto;
  padding: 10mm;
  box-sizing: border-box;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(11, 31, 77, 0.18);
}

.award-certificate-page.certificate-page::before,
.award-certificate-page.certificate-page::after {
  display: none;
}

.certificate-inner {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 10mm;
  box-sizing: border-box;
  overflow: hidden;
  border: 6px solid #071d49;
  border-radius: 12px;
  background: #ffffff;
}

.certificate-inner::before {
  content: "";
  position: absolute;
  inset: 4mm;
  z-index: 0;
  border: 1.5px solid rgba(242, 182, 50, 0.74);
  border-radius: 7px;
  pointer-events: none;
}

.certificate-inner::after {
  content: "";
  position: absolute;
  inset: 52mm 80mm 50mm;
  z-index: 0;
  background: url("./public/assets/tfe-logo.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.certificate-inner > * {
  position: relative;
  z-index: 1;
}

.certificate-corner {
  position: absolute;
  z-index: 2;
  width: 35mm;
  height: 35mm;
  border: 1.5px solid rgba(242, 182, 50, 0.58);
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}

.certificate-corner.top-left {
  top: 4mm;
  left: 4mm;
  border-right: 0;
  border-bottom: 0;
}

.certificate-corner.bottom-right {
  right: 4mm;
  bottom: 4mm;
  border-left: 0;
  border-top: 0;
}

.certificate-header {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14mm;
  min-height: 20mm;
}

.certificate-logo-lockup {
  display: block;
  min-height: 0;
}

.certificate-logo-lockup img,
.certificate-logo {
  display: block;
  width: 150px;
  max-width: 150px;
  height: auto;
  object-fit: contain;
}

.certificate-logo-fallback {
  display: none;
  color: #0B1F4D;
  font-size: 0.88rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.certificate-meta,
.certificate-header > div.certificate-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  justify-items: end;
  align-items: baseline;
  color: #0B1F4D;
  text-align: right;
}

.certificate-meta span,
.certificate-header span,
.certificate-footer small {
  display: block;
  color: #617084;
  font-size: 0.64rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.certificate-meta strong,
.certificate-header strong,
.certificate-footer strong {
  display: block;
  color: #0B1F4D;
  font-size: 0.78rem;
  font-weight: 1000;
}

.certificate-main,
.certificate-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1mm 22mm 3mm;
  text-align: center;
  gap: 2.2mm;
}

.certificate-kicker,
.certificate-title {
  margin: 0;
  color: #9b7410;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.certificate-presented,
.certificate-body h1 {
  margin: 0;
  color: #0B1F4D;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.1;
}

.certificate-learner-name,
.certificate-body h2 {
  max-width: 225mm;
  margin: 0 0 8px;
  color: #0B1F4D;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.certificate-learner-meta {
  margin: 0;
  color: #526172;
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.certificate-wording,
.certificate-area {
  margin: 0;
  color: #34435c;
  font-size: 0.92rem;
  line-height: 1.25;
}

.certificate-area {
  color: #526172;
  font-weight: 800;
}

.certificate-award-title,
.certificate-body h3 {
  max-width: 215mm;
  margin: 6px 0;
  color: #9b7410;
  font-size: 30px;
  line-height: 1.1;
}

.certificate-ribbon {
  width: fit-content;
  min-width: 62mm;
  margin: 6px auto;
  padding: 8px 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, #0B1F4D, #17366c);
  color: #F2B632;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(11, 31, 77, 0.13);
}

.certificate-evidence,
.certificate-summary {
  width: min(75%, 190mm);
  max-height: 29mm;
  margin: 10px 0 0;
  padding: 10px 18px;
  overflow: hidden;
  border-top: 1.5px solid rgba(242, 182, 50, 0.58);
  border-bottom: 1.5px solid rgba(242, 182, 50, 0.58);
  background: rgba(255, 252, 244, 0.76);
}

.certificate-evidence strong {
  color: #0B1F4D;
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.certificate-evidence p {
  margin: 1.5mm 0;
  color: #27364d;
  font-size: 0.84rem;
  line-height: 1.25;
}

.certificate-evidence ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5mm;
  margin: 1.5mm 0 0;
  padding: 0;
  list-style: none;
}

.certificate-evidence li {
  display: block;
  min-height: 6mm;
  padding: 1.3mm 2.5mm;
  border: 1px solid rgba(242, 182, 50, 0.32);
  border-radius: 4px;
  background: rgba(255, 246, 216, 0.82);
  color: #0B1F4D;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
}

.certificate-seal {
  position: absolute;
  right: 18mm;
  bottom: 39mm;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 2.5px solid #c99618;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7d9, #f4d476);
  color: #0B1F4D;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(156, 116, 16, 0.16);
}

.certificate-seal span {
  font-size: 1rem;
  font-weight: 1000;
  line-height: 1;
}

.certificate-seal strong {
  max-width: 52px;
  font-size: 0.45rem;
  font-weight: 1000;
  line-height: 1.05;
}

.certificate-footer {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: end;
  min-height: 20mm;
  padding-top: 8px;
  border-top: 1px solid rgba(11, 31, 77, 0.16);
}

.certificate-footer > div:last-child {
  text-align: right;
}

.certificate-signature span {
  display: block;
  width: min(100%, 70mm);
  height: 1px;
  margin-bottom: 2.5mm;
  background: #0B1F4D;
}

.certificate-signature.centre {
  text-align: center;
}

.certificate-signature.centre span {
  margin-inline: auto;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }

  html,
  body {
    width: 297mm !important;
    height: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  body * {
    display: none !important;
  }

  #certificate-print-root,
  #certificate-print-root * {
    display: block !important;
    visibility: visible !important;
  }

  #certificate-print-root {
    position: fixed !important;
    inset: 0 !important;
    width: 297mm !important;
    height: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  #certificate-print-root .certificate-page {
    page: certificate;
    display: block !important;
    width: 297mm !important;
    height: 210mm !important;
    min-width: 297mm !important;
    min-height: 210mm !important;
    max-width: 297mm !important;
    max-height: 210mm !important;
    margin: 0 !important;
    padding: 10mm !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    page-break-before: avoid !important;
    page-break-after: avoid !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  #certificate-print-root .certificate-content {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  #certificate-print-root .certificate-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    padding: 10mm !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 6px solid #071d49 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
  }

  #certificate-print-root .certificate-inner::before,
  #certificate-print-root .certificate-inner::after,
  #certificate-print-root .certificate-corner,
  #certificate-print-root .certificate-seal {
    display: block !important;
  }

  #certificate-print-root .certificate-header {
    display: flex !important;
    flex-shrink: 0 !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
  }

  #certificate-print-root .certificate-logo,
  #certificate-print-root .certificate-logo-lockup img {
    display: block !important;
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
  }

  #certificate-print-root .certificate-meta {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  #certificate-print-root .certificate-main,
  #certificate-print-root .certificate-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 1mm 22mm 3mm !important;
  }

  #certificate-print-root .certificate-learner-name,
  #certificate-print-root .certificate-body h2 {
    font-size: 42pt !important;
    line-height: 1 !important;
  }

  #certificate-print-root .certificate-award-title,
  #certificate-print-root .certificate-body h3 {
    font-size: 18pt !important;
  }

  #certificate-print-root .certificate-ribbon {
    display: block !important;
  }

  #certificate-print-root .certificate-evidence,
  #certificate-print-root .certificate-summary {
    width: 75% !important;
    max-height: 29mm !important;
    overflow: hidden !important;
  }

  #certificate-print-root .certificate-evidence ul {
    display: flex !important;
  }

  #certificate-print-root .certificate-evidence li {
    display: block !important;
  }

  #certificate-print-root .certificate-seal {
    display: grid !important;
    right: 18mm !important;
    bottom: 39mm !important;
    width: 70px !important;
    height: 70px !important;
  }

  #certificate-print-root .certificate-footer {
    display: grid !important;
    flex-shrink: 0 !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: end !important;
    min-height: 21mm !important;
  }

  .no-print,
  button,
  nav,
  header:not(.certificate-header),
  footer:not(.certificate-footer),
  .app-header,
  .dashboard-controls,
  .login-panel {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Clean fixed-grid A4 landscape certificate template. */
.certificate-preview-modal {
  width: min(96vw, 1240px);
  max-height: 94vh;
}

.certificate-modal-body {
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 28px;
  background: #f5f7fb;
}

.certificate-scale-wrap {
  transform-origin: top center;
}

.certificate-shell {
  width: 1123px;
  height: 794px;
  max-width: none;
  background: #ffffff;
  border: 7px solid #071B4D;
  border-radius: 14px;
  padding: 18px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: #071B4D;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 70px rgba(7, 27, 77, 0.18);
}

.certificate-shell .certificate-inner {
  width: 100%;
  height: 100%;
  border: 2px solid #D9A21B;
  border-radius: 8px;
  padding: 36px 44px 30px;
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-rows: 90px 390px 120px 95px;
  gap: 0;
  overflow: hidden;
  background: #ffffff;
}

.certificate-shell .certificate-inner::before,
.certificate-shell .certificate-inner::after {
  display: none;
}

.certificate-shell .certificate-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.045;
  font-size: 160px;
  font-weight: 900;
  color: #071B4D;
  pointer-events: none;
  z-index: 0;
}

.certificate-shell .certificate-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  min-height: 0;
}

.certificate-shell .certificate-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.certificate-shell .certificate-brand img {
  width: 160px;
  height: 62px;
  object-fit: contain;
}

.certificate-shell .certificate-brand span {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 7px;
  color: #475569;
  white-space: nowrap;
  text-transform: uppercase;
}

.certificate-shell .certificate-meta {
  display: block;
  text-align: right;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 900;
  color: #334155;
  letter-spacing: 1px;
  white-space: nowrap;
  text-transform: uppercase;
}

.certificate-shell .certificate-main {
  text-align: center;
  align-self: start;
  padding: 22px 82px 0;
  z-index: 2;
  min-height: 0;
}

.certificate-shell .certificate-kicker {
  color: #A47708;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 12px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.certificate-shell .certificate-presented {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}

.certificate-shell .certificate-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 70px;
  font-weight: 900;
  line-height: 1;
  color: #071B4D;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.certificate-shell .certificate-learner-meta {
  color: #64748B;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 6px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.certificate-shell .certificate-awarded {
  color: #334155;
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 14px;
}

.certificate-shell .certificate-award-title {
  color: #A47708;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}

.certificate-shell .certificate-standard {
  display: inline-block;
  background: #071B4D;
  color: #F5B41B;
  padding: 13px 48px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.certificate-shell .certificate-reason {
  color: #475569;
  font-size: 20px;
  font-weight: 700;
}

.certificate-shell .certificate-summary {
  width: 72%;
  max-height: none;
  margin: 0 auto;
  align-self: center;
  background: linear-gradient(180deg, #FFFDF7 0%, #FFF7E8 100%);
  border-top: 2px solid #D9A21B;
  border-bottom: 2px solid #D9A21B;
  padding: 20px 24px;
  box-sizing: border-box;
  text-align: center;
  z-index: 2;
  overflow: hidden;
}

.certificate-shell .summary-title {
  color: #071B4D;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.certificate-shell .certificate-summary p {
  margin: 0;
  color: #334155;
  font-size: 18px;
}

.certificate-shell .summary-pill {
  display: inline-block;
  margin-top: 14px;
  border: 1px solid #D9A21B;
  border-radius: 6px;
  padding: 8px 20px;
  color: #071B4D;
  background: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.certificate-shell .certificate-seal {
  position: absolute;
  right: 68px;
  bottom: 150px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 4px solid #D9A21B;
  background: #FFF7E0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #071B4D;
  font-weight: 900;
  z-index: 3;
}

.certificate-shell .certificate-seal div {
  font-size: 28px;
  line-height: 1;
}

.certificate-shell .certificate-seal span {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.certificate-shell .certificate-footer {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  border-top: 1px solid #CBD5E1;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 42px;
  align-items: end;
  z-index: 2;
  min-height: 0;
}

.certificate-shell .signature-block {
  text-align: left;
}

.certificate-shell .signature-block.centre {
  text-align: center;
}

.certificate-shell .signature-line {
  width: 260px;
  max-width: 100%;
  border-top: 2px solid #071B4D;
  margin-bottom: 12px;
}

.certificate-shell .signature-block.centre .signature-line {
  margin-left: auto;
  margin-right: auto;
}

.certificate-shell .signature-block strong {
  display: block;
  color: #071B4D;
  font-size: 17px;
  font-weight: 900;
}

.certificate-shell .signature-block span {
  display: block;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.certificate-shell .certificate-ref-bottom {
  text-align: right;
}

.certificate-shell .certificate-ref-bottom span {
  display: block;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.certificate-shell .certificate-ref-bottom strong {
  display: block;
  color: #071B4D;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
}

@media (max-width: 1200px) {
  .certificate-scale-wrap {
    transform: scale(0.82);
  }

  .certificate-modal-body {
    min-height: 700px;
  }
}

@media (max-width: 900px) {
  .certificate-scale-wrap {
    transform: scale(0.68);
  }

  .certificate-modal-body {
    min-height: 560px;
    justify-content: flex-start;
  }
}

.recognition-main {
  display: flex;
  gap: 16px;
  align-items: center;
}

.recognition-main .learner-avatar.large {
  width: 92px;
  height: 92px;
  min-width: 92px;
  border: 4px solid #ffffff;
  outline: 3px solid var(--gold);
  object-fit: cover;
}

.recognition-main h4,
.recognition-main p {
  margin: 0;
}

.recognition-level {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff2bd;
  color: #7a5600;
  font-size: 0.74rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.recognition-level.platinum {
  background: #111827;
  color: #ffffff;
}

.recognition-level.gold {
  background: #fff2bd;
  color: #7a5600;
}

.recognition-level.silver {
  background: #eef2f6;
  color: #3e5165;
}

.recognition-level.bronze {
  background: #fff1e4;
  color: #8a4f1d;
}

.recognition-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.recognition-metrics span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  background: #fbfdff;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.recognition-metrics b {
  color: var(--navy);
  font-size: 1.05rem;
}

.recognition-save-button.is-saved {
  background: #18A558;
  border-color: #18A558;
  color: #ffffff;
}

.recognition-save-button.is-failed {
  background: #d32f2f;
  border-color: #d32f2f;
  color: #ffffff;
}

.recognition-save-button.has-unsaved-changes {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.recognition-save-feedback {
  min-height: 20px;
  margin: 0;
  font-weight: 900;
}

.recognition-save-feedback.success {
  color: #137a3f;
}

.recognition-save-feedback.error {
  color: #b42318;
}

.recognition-save-feedback.unsaved {
  color: #9b6b00;
}

@media (max-width: 1100px) {
  .recognition-learner-card {
    grid-template-columns: 1fr;
  }

  .recognition-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .management-dashboard-page,
  .management-actions-today,
  .management-risk-overview,
  .management-case-panel {
    padding: 14px;
  }

  .management-workflow-strip,
  .management-decision-answer-grid {
    grid-template-columns: 1fr;
  }

  .create-admin-tool-card,
  .create-admin-form-grid,
  .create-tutor-photo-panel {
    grid-template-columns: 1fr;
  }

  .create-tutor-photo-panel {
    justify-items: center;
    gap: 18px;
    padding: 22px 18px;
    text-align: center;
  }

  .create-tutor-photo-preview {
    justify-self: center;
    width: 118px;
    height: 118px;
    min-width: 118px;
  }

  .create-tutor-photo-actions {
    justify-content: center;
  }

  .create-tutor-photo-actions .secondary-action {
    min-width: min(150px, 100%);
  }

  .management-search-panel,
  .management-profile-hero,
  .quick-card-header {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .management-search-actions {
    justify-items: start;
  }

  .quick-card-badges,
  .quick-card-actions {
    justify-content: flex-start;
  }

  .management-case-hero,
  .management-risk-top,
  .management-risk-bottom {
    grid-template-columns: 1fr;
  }

  .management-risk-badges,
  .management-risk-bottom .management-card-actions {
    justify-content: flex-start;
  }

  .recognition-metrics {
    grid-template-columns: 1fr;
  }

  .recognition-main {
    align-items: flex-start;
  }

  .management-action-learner,
  .management-risk-identity,
  .management-form-identity {
    align-items: flex-start;
  }

  .management-risk-identity .learner-avatar.large,
  .management-action-learner .learner-avatar.large,
  .management-form-identity .learner-avatar.large {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }
}

.recent-score-list,
.intervention-history-list {
  display: grid;
  gap: 10px;
}

.recent-score-list article,
.intervention-history-list article {
  padding: 14px;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  background: #f8fafc;
}

@media (max-width: 900px) {
  .progress-intervention-hero,
  .intervention-profile-hero,
  .guidance-grid,
  .record-intervention-form {
    grid-template-columns: 1fr;
  }

  .tutor-learner-search-controls,
  .tutor-search-action-bar,
  .tutor-learner-lesson-row,
  .tutor-progress-summary-bar,
  .criteria-standards-grid,
  .tutor-evidence-viewer-grid,
  .tutor-audit-timeline article,
  .try-again-choice-grid {
    grid-template-columns: 1fr;
  }
}

.lesson-upload-zone strong,
.lesson-upload-zone p {
  margin: 0;
}

.lesson-upload-button {
  position: relative;
  justify-self: center;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.lesson-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.lesson-signoff-request {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e5eaf2;
}

.workbook-progress-steps .needs-action {
  background: #fff4cf;
  color: #7a5600;
}

.workbook-progress-steps .needs-action span {
  background: #F2B632;
  color: #0B1F4D;
}

@media (min-width: 1024px) {
  #learnerPortalContent .lesson-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lesson-workbook-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(360px, 0.8fr);
    gap: 24px;
    align-items: start;
  }

  .lesson-workbook-right {
    position: static;
  }

  .lesson-workbook-left .workbook-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-workbook-right .workbook-progress-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .phase-progress-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .phase-progress-head > strong {
    justify-self: start;
  }

  .focused-lesson-page,
  .focused-lesson-topbar {
    padding: 14px;
  }

  .focused-lesson-topbar {
    grid-template-columns: 1fr;
  }

  #learnerPortalContent .lesson-list,
  #learnerPortalContent .lesson-card.open .task-groups,
  .lesson-workbook-grid,
  .lesson-workflow-grid,
  .lesson-resource-grid,
  .lesson-workbook-left .workbook-checklist,
  .lesson-workbook-right .workbook-progress-steps {
    grid-template-columns: 1fr;
  }

  .lesson-workbook-page {
    padding: 14px;
  }

  #learnerPortalContent .lesson-card.open .task-groups {
    padding: 12px;
  }
}

/* Clean professional ILP review document */
.tutor-ilp-page {
  max-width: 1180px;
  margin: 0 auto;
}

.clean-ilp-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 35, 63, 0.08);
}

.clean-ilp-header h3 {
  margin: 4px 0;
  color: #0B1F4D;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.clean-ilp-header p {
  margin: 0;
  color: var(--muted);
}

.clean-ilp-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.clean-ilp-picker {
  display: flex;
  justify-content: flex-end;
}

.clean-learner-banner {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.4fr) minmax(230px, 0.7fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0B1F4D, #173B75);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 35, 63, 0.16);
}

.ilp-learner-header {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0B1F4D, #183E7A);
  box-sizing: border-box;
  overflow: visible;
}

.ilp-learner-header > *,
.ilp-learner-identity,
.ilp-learner-details,
.ilp-learner-status {
  min-width: 0;
}

.ilp-learner-name {
  max-width: 100%;
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  overflow: visible;
}

.clean-learner-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.clean-learner-identity .learner-avatar.large {
  width: 140px;
  height: 140px;
  min-width: 140px;
  border: 5px solid #F2B632;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), 0 0 0 5px #ffffff;
}

.clean-learner-identity h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.ilp-learner-identity {
  grid-template-columns: 1fr;
  justify-items: start;
}

.ilp-learner-identity .learner-avatar.large {
  margin-bottom: 12px;
}

.clean-learner-identity p,
.clean-learner-identity span {
  display: block;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.clean-learner-details {
  display: grid;
  gap: 10px;
}

.clean-learner-details div,
.clean-learner-status div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.clean-learner-details span,
.clean-learner-status span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.clean-learner-details strong,
.clean-learner-status strong {
  color: #ffffff;
  line-height: 1.25;
}

.clean-learner-status {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.clean-learner-status .rag-badge {
  justify-self: start;
}

.evidence-required-panel,
.signed-lock-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: #fff9e8;
  border: 1px solid rgba(242, 182, 50, 0.45);
}

.evidence-required-panel h4,
.signed-lock-panel h4 {
  margin: 0;
  color: #0B1F4D;
}

.evidence-required-panel p,
.signed-lock-panel p {
  margin: 0;
  color: var(--ink);
}

.signed-lock-panel {
  background: rgba(24, 165, 88, 0.08);
  border-color: rgba(24, 165, 88, 0.28);
}

.grade-picker button:disabled,
.comment-label textarea:disabled,
.comment-label input:disabled,
.signoff-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.ilp-status-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-left: 8px solid #18A558;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 35, 63, 0.08);
}

.ilp-status-panel.amber {
  border-left-color: #F2B632;
}

.ilp-status-panel.red {
  border-left-color: #C0392B;
}

.ilp-status-panel h4 {
  margin: 4px 0 8px;
  color: #0B1F4D;
  font-size: 1.5rem;
}

.ilp-status-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.clean-progress-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clean-progress-grid .ilp-progress-card {
  min-height: 170px;
  align-content: space-between;
  border: 1px solid rgba(11, 31, 77, 0.06);
  background: #ffffff;
}

.clean-progress-grid .ilp-progress-card.green {
  border-top: 5px solid #18A558;
}

.clean-progress-grid .ilp-progress-card.amber {
  border-top: 5px solid #F2B632;
}

.clean-progress-grid .ilp-progress-card.red {
  border-top: 5px solid #C0392B;
}

.clean-progress-grid .ilp-progress-card.neutral {
  border-top: 5px solid #94a3b8;
}

.clean-progress-grid .ilp-progress-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.ilp-phase-journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ilp-phase-journey article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 180px;
  padding: 18px;
  border-radius: 18px;
  background: #eef2f6;
  color: var(--muted);
}

.ilp-phase-journey article.progress {
  background: linear-gradient(145deg, #F2B632, #ffe08a);
  color: #0B1F4D;
  box-shadow: 0 14px 30px rgba(242, 182, 50, 0.22);
}

.ilp-phase-journey article.complete {
  background: rgba(24, 165, 88, 0.12);
  color: #106f3c;
}

.phase-step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #0B1F4D;
  font-weight: 900;
}

.ilp-phase-journey article span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ilp-phase-journey article strong {
  color: inherit;
}

.clean-phase-metrics {
  display: grid;
  gap: 6px;
}

.clean-phase-metrics span {
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  text-transform: none;
}

.outstanding-action-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.outstanding-action-grid article {
  display: grid;
  gap: 8px;
  min-height: 134px;
  padding: 16px;
  border-radius: 18px;
  background: #f7f9fc;
}

.outstanding-action-grid article.needs-action {
  border-left: 5px solid #F2B632;
  background: #fff9e8;
}

.outstanding-action-grid span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.outstanding-action-grid strong {
  color: #0B1F4D;
  font-size: 1.6rem;
}

.outstanding-action-grid p {
  margin: 0;
  color: var(--ink);
  line-height: 1.35;
}

.tutor-review-notes .review-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review-notes-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-notes-grid textarea,
.review-notes-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.review-notes-grid textarea {
  min-height: 132px;
  resize: vertical;
}

.review-notes-grid label:nth-child(-n + 3) {
  grid-column: span 1;
}

@media (max-width: 1100px) {
  .clean-learner-banner,
  .clean-ilp-header {
    grid-template-columns: 1fr;
  }

  .ilp-learner-header {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1fr);
  }

  .ilp-learner-status {
    grid-column: 1 / -1;
  }

  .clean-ilp-header-actions,
  .clean-ilp-picker {
    justify-content: flex-start;
  }

  .clean-progress-grid,
  .ilp-phase-journey,
  .outstanding-action-grid,
  .tutor-review-notes .review-notes-grid,
  .elite-intervention-hero,
  .next-step-panel,
  .intervention-action-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .elite-guidance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .elite-guidance-grid .why-card,
  .elite-guidance-grid .script-card {
    grid-column: span 1;
  }

  .intervention-pathway {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .clean-learner-identity,
  .clean-learner-details div,
  .clean-learner-status div,
  .ilp-status-panel,
  .clean-progress-grid,
  .ilp-phase-journey,
  .outstanding-action-grid,
  .tutor-review-notes .review-notes-grid,
  .elite-intervention-hero,
  .elite-summary-strip,
  .intervention-pathway,
  .elite-guidance-grid,
  .next-step-panel,
  .next-step-grid,
  .intervention-action-panel {
    grid-template-columns: 1fr;
  }

  .clean-learner-banner,
  .clean-ilp-header,
  .ilp-status-panel,
  .elite-intervention-hero {
    padding: 18px;
  }

  .ilp-learner-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .elite-learner-lockup,
  .elite-intervention-meta {
    display: grid;
    justify-items: start;
    text-align: left;
  }

  .elite-intervention-meta div,
  .intervention-action-buttons {
    justify-content: flex-start;
  }

  .intervention-pathway article::after {
    display: none;
  }

  .intervention-evidence-timeline article {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  body:has(.management-report-document) * {
    visibility: hidden !important;
  }

  body:has(.management-report-document) .management-report-preview,
  body:has(.management-report-document) .management-report-preview * {
    visibility: visible !important;
  }

  body:has(.management-report-document) .management-report-toolbar,
  body:has(.management-report-document) .management-report-toolbar * {
    display: none !important;
    visibility: hidden !important;
  }

  body:has(.management-report-document) .management-report-preview {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

body:has(.management-report-document) .management-report-document {
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: #ffffff !important;
    color: #0B1F4D !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

.management-report-document {
  width: 210mm;
  height: 297mm;
  min-height: 297mm;
  padding: 10mm;
}

.management-report-header {
  grid-template-columns: 34mm minmax(0, 1fr) 45mm;
  gap: 8mm;
  padding-bottom: 4mm;
}

.management-report-header img {
  width: 31mm;
}

.management-report-header h1 {
  font-size: 1.15rem;
}

.management-report-meta {
  gap: 2px;
  padding: 6px 8px;
}

.report-identity-banner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 18mm minmax(0, 1fr) 42mm;
  gap: 4mm;
  align-items: center;
  margin-top: 4mm;
  padding: 5mm;
  border-radius: 10px;
  border-left: 5px solid var(--gold);
  background: var(--navy);
  color: #ffffff;
}

.report-identity-banner .avatar,
.report-identity-banner .learner-avatar {
  width: 16mm;
  height: 16mm;
}

.report-identity-banner h2,
.report-identity-banner p {
  margin: 0;
}

.report-identity-banner h2 {
  font-size: 1.25rem;
  color: #ffffff;
}

.report-identity-banner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
}

.report-status-stack {
  display: grid;
  gap: 5px;
}

.report-status-pill,
.report-risk-pill {
  display: block;
  padding: 5px 7px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 1000;
  text-align: center;
  text-transform: uppercase;
}

.report-risk-pill.monitor {
  background: #fff7ed;
  color: #9a5a00;
}

.report-risk-pill.amber {
  background: #fff3c4;
  color: #7a4b00;
}

.report-risk-pill.red {
  background: #ffe1e1;
  color: #9e1c1c;
}

.report-risk-pill.critical {
  background: #ffe1e1;
  color: #9e1c1c;
}

.report-decision-row,
.report-metric-row {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  margin-top: 4mm;
}

.report-decision-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.report-metric-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.report-decision-row article,
.report-metric-row article {
  display: grid;
  gap: 3px;
  min-height: 25mm;
  align-content: start;
  padding: 7px;
  border: 1px solid #e3ebf5;
  border-top: 5px solid #18A558;
  border-radius: 8px;
  background: #f0fbf5;
}

.report-decision-row article.monitor,
.report-metric-row article.monitor {
  border-top-color: #f59e0b;
  background: #fff7ed;
}

.report-decision-row article.amber,
.report-metric-row article.amber {
  border-top-color: var(--gold);
  background: #fff8e8;
}

.report-decision-row article.red,
.report-metric-row article.red,
.report-decision-row article.critical,
.report-metric-row article.critical {
  border-top-color: #dc4c4c;
  background: #fff2f2;
}

.report-decision-row span,
.report-metric-row span,
.report-panel h3,
.report-summary-box h3,
.report-recommendation span {
  color: #58677d;
  font-size: 0.58rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.report-decision-row strong,
.report-metric-row strong {
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1.1;
}

.report-decision-row p,
.report-metric-row p {
  margin: 0;
  color: #3b4d65;
  font-size: 0.61rem;
  font-weight: 800;
  line-height: 1.2;
}

.report-two-column {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4mm;
  margin-top: 4mm;
}

.report-panel,
.report-summary-box,
.report-recommendation {
  position: relative;
  z-index: 1;
  border: 1px solid #e3ebf5;
  border-radius: 9px;
  background: #fbfdff;
}

.report-panel {
  padding: 8px;
}

.report-panel h3,
.report-summary-box h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.report-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}

.report-panel th,
.report-panel td {
  padding: 4px 3px;
  border-bottom: 1px solid #e8eef6;
  text-align: left;
  vertical-align: top;
}

.report-panel th {
  width: 47%;
  color: #58677d;
  font-weight: 1000;
}

.report-strip {
  display: grid;
  gap: 4px;
}

.report-strip article {
  display: grid;
  gap: 1px;
  padding: 4px 0 4px 8px;
  border-left: 3px solid var(--gold);
}

.report-strip span {
  color: #58677d;
  font-size: 0.57rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.report-strip strong {
  color: var(--navy);
  font-size: 0.68rem;
  line-height: 1.15;
}

.report-summary-box {
  margin-top: 4mm;
  padding: 8px 10px;
}

.report-summary-box p {
  margin: 0;
  color: #26364d;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
}

.report-recommendation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 3mm;
  padding: 8px 10px;
  border-left: 5px solid var(--gold);
  background: #fffaf0;
}

.report-recommendation strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.report-signatures.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12mm;
  padding-top: 6mm;
}

.report-signatures.compact div {
  min-height: 15mm;
}

.report-signatures.compact strong,
.report-signatures.compact small {
  font-size: 0.68rem;
}

.management-report-footer {
  position: absolute;
  right: 10mm;
  bottom: 7mm;
  left: 10mm;
  padding-top: 0;
  border-top: 1px solid #e3ebf5;
  font-size: 0.62rem;
}

.management-report-footer span:last-child::after,
.management-report-document::after {
  content: none !important;
}

.curriculum-management-page {
  display: grid;
  gap: 20px;
}

.curriculum-title {
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #071b4d, #0f2d64);
  color: #ffffff;
  border-bottom: 4px solid var(--gold);
}

.curriculum-title h4,
.curriculum-title h2,
.curriculum-title p,
.curriculum-title .eyebrow {
  color: #ffffff;
}

.lesson-builder-header h2,
.lesson-builder-header p {
  margin: 0;
}

.lesson-builder-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.lesson-builder-header p {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.82rem, 1.25vw, 0.96rem);
  font-weight: 650;
  line-height: 1.35;
}

.lesson-builder-entry-page {
  width: 100%;
  max-width: none;
}

/* Curriculum Management — lightweight multi-curriculum front door. */
.curriculum-landing-page {
  display: grid;
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.curriculum-landing-hero {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid #dce3ec;
  border-left: 4px solid var(--gold);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 27, 77, 0.08);
}

.curriculum-landing-hero .eyebrow,
.curriculum-creation-foundation .eyebrow {
  margin: 0 0 8px;
  color: #9b7113;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.curriculum-landing-hero h2,
.curriculum-creation-foundation h2 {
  display: block;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.04;
}

.curriculum-landing-hero h2 {
  /* Reserve the font's fractional left ink overhang without moving the heading. */
  margin-inline-start: -0.04em;
  padding-inline-start: 0.04em;
  overflow: visible;
}

.curriculum-landing-hero div > p:last-child,
.curriculum-creation-foundation header div > p:last-child {
  max-width: 780px;
  margin: 12px 0 0;
  color: #596b82;
  font-size: clamp(0.94rem, 1.25vw, 1.06rem);
  line-height: 1.55;
}

.curriculum-landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.curriculum-landing-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 410px;
  padding: 0;
  border: 1px solid rgba(190, 139, 24, 0.72);
  border-radius: 18px;
  background: #ffffff;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.curriculum-landing-card__header {
  display: block;
  height: 82px;
  padding: 20px 22px 18px;
  border-bottom: 3px solid var(--gold);
  background: linear-gradient(135deg, #071b4d, #102e66);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-transform: uppercase;
}

.curriculum-landing-card__body {
  display: grid;
  grid-template-rows: 108px auto auto 1fr;
  gap: 16px;
  align-content: start;
  padding: 24px;
}

.curriculum-landing-card__body > img {
  display: block;
  width: 116px;
  height: 92px;
  object-fit: contain;
  object-position: left center;
}

.curriculum-landing-card__copy {
  display: grid;
  gap: 8px;
}

.curriculum-landing-card__copy strong {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.35;
}

.curriculum-landing-card__copy > span {
  color: #5d6e84;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.curriculum-landing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.curriculum-landing-card__meta span {
  padding: 5px 9px;
  border: 1px solid #d9e1eb;
  border-radius: 999px;
  background: #f7f9fc;
  color: #506178;
  font-size: 0.72rem;
  font-weight: 850;
}

.curriculum-landing-card__action {
  align-self: end;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 900;
}

.curriculum-landing-card__action span { color: #a87400; font-size: 1.2rem; }

.curriculum-landing-card--create .curriculum-landing-card__body { grid-template-rows: 108px auto 1fr; }
.curriculum-landing-create-icon {
  display: inline-grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(190, 139, 24, 0.7);
  border-radius: 50%;
  background: #fffaf0;
  color: #9b7113;
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
}

.curriculum-landing-card:hover,
.curriculum-landing-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 22px 44px rgba(7, 27, 77, 0.16), 0 0 0 3px rgba(214, 164, 44, 0.14);
}

.curriculum-landing-card:focus-visible {
  outline: 3px solid rgba(214, 164, 44, 0.46);
  outline-offset: 4px;
}

.curriculum-creation-foundation {
  display: grid;
  gap: 22px;
}

.curriculum-creation-foundation > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid #dce3ec;
  border-left: 4px solid var(--gold);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 27, 77, 0.08);
}

.curriculum-creation-foundation__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(190, 139, 24, 0.5);
  border-radius: 18px;
  background: #ffffff;
}

.curriculum-creation-foundation__body strong { color: var(--navy); font-size: 1.15rem; }
.curriculum-creation-foundation__body p { max-width: 760px; margin: 8px 0 0; color: #5d6e84; line-height: 1.55; }

.curriculum-wizard,.curriculum-setup-workspace{display:grid;gap:22px;min-width:0}.curriculum-wizard>header,.curriculum-setup-workspace>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:clamp(26px,4vw,42px);border:1px solid #dce3ec;border-left:4px solid var(--gold);border-radius:18px;background:#fff;box-shadow:0 16px 36px rgba(7,27,77,.08)}.curriculum-wizard>header h2,.curriculum-setup-workspace>header h2{margin:0;color:var(--navy);font-size:clamp(1.8rem,3vw,2.7rem)}.curriculum-wizard>header p:last-child,.curriculum-setup-workspace>header p:last-child{margin:8px 0 0;color:#596b82}.curriculum-wizard-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}.curriculum-wizard-progress li{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #dce3ec;border-radius:14px;background:#fff;color:#64748b}.curriculum-wizard-progress li span{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#edf2f7;color:var(--navy);font-weight:900}.curriculum-wizard-progress li strong{font-size:.78rem}.curriculum-wizard-progress .is-current{border-color:rgba(190,139,24,.75);box-shadow:0 8px 20px rgba(7,27,77,.08);color:var(--navy)}.curriculum-wizard-progress .is-current span,.curriculum-wizard-progress .is-complete span{background:var(--navy);color:#fff}.curriculum-wizard-step{padding:clamp(24px,4vw,40px);border:1px solid #dce3ec;border-radius:18px;background:#fff;box-shadow:0 16px 36px rgba(7,27,77,.08)}.curriculum-wizard-step>h3{margin:0 0 22px;color:var(--navy);font-size:1.55rem}.curriculum-wizard-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.curriculum-wizard-fields label{display:grid;gap:8px;color:var(--navy);font-weight:850}.curriculum-wizard-fields .wide{grid-column:1/-1}.curriculum-wizard-fields input{width:100%;min-height:48px;padding:11px 13px;border:1px solid #cdd7e4;border-radius:12px;background:#fff;color:var(--ink);font:inherit}.curriculum-wizard-fields input:focus-visible{outline:3px solid rgba(242,182,50,.3);border-color:var(--gold)}.curriculum-wizard-choice{display:flex;flex-wrap:wrap;gap:14px;padding:16px;border:1px solid #dce3ec;border-radius:14px}.curriculum-wizard-choice legend{padding:0 6px;color:var(--navy);font-weight:900}.curriculum-wizard-choice label{display:flex;grid-template-columns:none;align-items:center;gap:8px}.curriculum-wizard-choice input{width:auto;min-height:0}.curriculum-wizard-phase-names{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.curriculum-wizard-note,.curriculum-wizard-brand>div,.curriculum-wizard-brand>section,.curriculum-wizard-review>p,.curriculum-setup-status{padding:18px;border:1px solid rgba(190,139,24,.38);border-radius:14px;background:#fffaf0}.curriculum-wizard-note p,.curriculum-wizard-brand p,.curriculum-wizard-review p,.curriculum-setup-status p{margin:6px 0 0;color:#596b82;line-height:1.5}.curriculum-wizard-brand{display:grid;gap:16px}.curriculum-wizard-brand>div,.curriculum-wizard-brand>section{display:flex;align-items:center;gap:20px;background:#fff}.curriculum-wizard-brand img{width:110px;height:72px;object-fit:contain}.curriculum-wizard-brand h3{margin:0;color:var(--navy)}.curriculum-wizard-brand>section>span{font-size:2rem;color:#a87400}.curriculum-wizard-review dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}.curriculum-wizard-review dl div{padding:15px;border:1px solid #dce3ec;border-radius:12px;background:#fbfdff}.curriculum-wizard-review dt{color:#6b7b90;font-size:.72rem;font-weight:900;text-transform:uppercase}.curriculum-wizard-review dd{margin:6px 0 0;color:var(--navy);font-weight:850}.curriculum-wizard-message{min-height:24px;margin:18px 0 0;color:#52647b}.curriculum-wizard-message.error{color:#a12626}.curriculum-wizard-step>footer{display:flex;justify-content:space-between;gap:12px;margin-top:12px;padding-top:18px;border-top:1px solid #e3e9f0}.curriculum-setup-status strong{color:#8b6200}.curriculum-setup-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.curriculum-setup-actions article{display:flex;align-items:center;gap:15px;min-width:0;padding:18px;border:1px solid #dce3ec;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(7,27,77,.06)}.curriculum-setup-actions article>span{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:var(--navy);color:#fff;font-weight:900}.curriculum-setup-actions article div{min-width:0;flex:1}.curriculum-setup-actions h3,.curriculum-setup-actions p{margin:0}.curriculum-setup-actions h3{color:var(--navy);font-size:1rem}.curriculum-setup-actions p{margin-top:5px;color:#596b82;font-size:.86rem;line-height:1.4}

@media(max-width:1024px){.curriculum-wizard-progress li{align-items:flex-start}.curriculum-wizard-progress li strong{line-height:1.25}.curriculum-setup-actions{grid-template-columns:1fr}}
@media(max-width:720px){.curriculum-wizard>header,.curriculum-setup-workspace>header{flex-direction:column}.curriculum-wizard-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.curriculum-wizard-fields,.curriculum-wizard-phase-names,.curriculum-wizard-review dl{grid-template-columns:1fr}.curriculum-wizard-fields .wide{grid-column:auto}}

@media (prefers-reduced-motion: reduce) {
  .curriculum-landing-card { transition: border-color 120ms ease, box-shadow 120ms ease; }
  .curriculum-landing-card:hover,
  .curriculum-landing-card:focus-visible { transform: none; }
}

@media (max-width: 900px) {
  .curriculum-landing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .curriculum-landing-grid { grid-template-columns: 1fr; }
  .curriculum-creation-foundation > header { flex-direction: column; }
  .curriculum-creation-foundation__body { grid-template-columns: 1fr; }
}

.lesson-builder-gateway-hero {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(24px, 3.2vw, 38px);
  border: 1px solid #dce3ec;
  border-left: 4px solid var(--gold);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 27, 77, 0.08);
}

.lesson-builder-gateway-hero img {
  display: block;
  width: 128px;
  height: auto;
  object-fit: contain;
}

.lesson-builder-gateway-hero .eyebrow {
  margin: 0 0 8px;
  color: #9b7113;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lesson-builder-gateway-hero h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.04;
}

.lesson-builder-gateway-hero div > p:last-child {
  max-width: 760px;
  margin: 12px 0 0;
  color: #596b82;
  font-size: clamp(0.94rem, 1.25vw, 1.06rem);
  line-height: 1.55;
}

.lesson-builder-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 30px);
  width: 100%;
  max-width: none;
}

.lesson-builder-choice-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 228px minmax(0, 1fr);
  min-width: 0;
  min-height: 430px;
  padding: 0;
  border: 1px solid rgba(190, 139, 24, 0.72);
  border-radius: 18px;
  background: #ffffff;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lesson-builder-choice-card__header {
  display: block;
  padding: 20px 24px 18px;
  border-bottom: 3px solid var(--gold);
  background: linear-gradient(135deg, #071b4d, #102e66);
  color: #ffffff;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lesson-builder-choice-card__image {
  display: block;
  width: 100%;
  height: 228px;
  min-height: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  filter: none;
}

.lesson-builder-choice-card--practical .lesson-builder-choice-card__image {
  background-image: url("./public/assets/tfe-practical-competency-hero.png");
  background-position: center 42%;
}

.lesson-builder-choice-card--theory .lesson-builder-choice-card__image {
  background-image: url("./public/assets/tfe-theory-classroom-hero.jpg");
  background-position: center 37%;
}

.lesson-builder-choice-card__body {
  display: grid;
  gap: 20px;
  align-content: space-between;
  padding: 24px;
  background: #ffffff;
}

.lesson-builder-choice-card__description {
  color: #44566f;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.55;
}

.lesson-builder-choice-card__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 900;
}

.lesson-builder-choice-card__action span {
  color: #a87400;
  font-size: 1.25rem;
  line-height: 1;
}

.lesson-builder-choice-card:hover,
.lesson-builder-choice-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 22px 44px rgba(7, 27, 77, 0.16), 0 0 0 3px rgba(214, 164, 44, 0.15);
}

.lesson-builder-choice-card:focus-visible {
  outline: 3px solid rgba(214, 164, 44, 0.46);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .lesson-builder-choice-card { transition: border-color 120ms ease, box-shadow 120ms ease; }
  .lesson-builder-choice-card:hover,
  .lesson-builder-choice-card:focus-visible { transform: none; }
}

.lesson-builder-placeholder {
  padding: 28px;
}

.curriculum-admin-nav,
.curriculum-phase-nav {
  display: grid;
  gap: 12px;
}

.curriculum-admin-nav {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.curriculum-admin-nav span {
  padding: 12px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 1000;
  text-align: center;
}

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

.curriculum-phase-nav button {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #ffffff;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.curriculum-phase-nav button.active {
  border-color: var(--gold);
  background: #fff8e3;
  box-shadow: 0 0 0 3px rgba(214, 164, 44, 0.16);
}

.curriculum-phase-nav span,
.curriculum-phase-nav small,
.curriculum-lesson-button span,
.curriculum-lesson-button small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.curriculum-phase-nav strong,
.curriculum-lesson-button strong {
  color: var(--navy);
  font-size: 0.94rem;
  line-height: 1.2;
}

.curriculum-workspace {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.curriculum-lesson-list,
.curriculum-builder-main,
.curriculum-editor-card,
.curriculum-learner-preview {
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.curriculum-lesson-list {
  position: sticky;
  top: 14px;
  overflow: hidden;
}

.curriculum-list-head,
.curriculum-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid #e7eef8;
}

.curriculum-lessons-scroll {
  display: grid;
  gap: 8px;
  max-height: 72vh;
  overflow: auto;
  padding: 12px;
}

.curriculum-lesson-button {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.curriculum-lesson-button.active {
  border-left-color: var(--gold);
  background: #fff8e3;
}

.theory-lesson-builder-page .curriculum-lesson-button.theory-builder-lesson-card--published {
  padding-bottom: 34px;
  border-color: rgba(22, 163, 74, 0.34);
  border-left-color: #16a34a;
  background:
    linear-gradient(180deg, rgba(237, 252, 242, 0.92), rgba(248, 255, 250, 0.98)),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.08), 0 8px 20px rgba(15, 23, 42, 0.05);
}

.theory-lesson-builder-page .curriculum-lesson-button.theory-builder-lesson-card--published.active {
  border-color: rgba(214, 164, 44, 0.72);
  border-left-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(255, 248, 227, 0.94), rgba(240, 253, 244, 0.98)),
    #ffffff;
  box-shadow: 0 0 0 3px rgba(214, 164, 44, 0.16), inset 0 0 0 1px rgba(22, 163, 74, 0.12);
}

.theory-builder-lesson-published-badge {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 3px 8px;
  border: 1px solid rgba(22, 101, 52, 0.24);
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 6px 12px rgba(22, 101, 52, 0.1);
}

.curriculum-lesson-button.archived {
  opacity: 0.62;
  background: #f8fafc;
}

.curriculum-builder-main {
  display: grid;
  gap: 18px;
  padding-bottom: 18px;
  overflow: hidden;
}

.curriculum-toolbar-actions,
.curriculum-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.curriculum-save-message {
  margin: 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 900;
}

.curriculum-save-message.success {
  background: #e8f7ec;
  color: #166534;
  border: 1px solid #4caf50;
}

.curriculum-save-message.error {
  background: #fff0f0;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.curriculum-editor-card,
.curriculum-learner-preview {
  margin: 0 18px;
  padding: 18px;
}

.curriculum-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.curriculum-form-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.curriculum-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--navy);
  font-weight: 900;
}

.curriculum-field textarea {
  min-height: 120px;
  resize: vertical;
}

.theory-tutor-engine-panel {
  display: grid;
  gap: 18px;
}

.theory-outcome-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #4caf50;
  border-radius: 999px;
  background: #e8f7ec;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.theory-outcome-status.draft {
  border-color: #d6a42c;
  background: #fff8e3;
  color: #7a4b00;
}

.theory-outcome-learning-outcome {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(214, 164, 44, 0.45);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf5, #ffffff);
  color: var(--navy);
}

.theory-outcome-learning-outcome span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.theory-outcome-learning-outcome strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.45;
}

.theory-learning-outcome-helper {
  margin: 8px 0 0;
  color: #52627a;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.55;
}

.theory-outcome-dev-debug {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed rgba(214, 164, 44, 0.8);
  border-radius: 10px;
  background: #fff8e3;
  color: #7a4b00;
  font-size: 0.78rem;
  font-weight: 800;
}

.theory-outcome-dev-debug strong {
  color: var(--navy);
  font-size: 0.84rem;
}

.theory-outcome-actions,
.theory-outcome-footer-actions,
.theory-outcome-question-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.theory-outcome-actions,
.theory-outcome-footer-actions {
  justify-content: flex-end;
}

.theory-outcome-footer-actions .primary-action.is-published,
.theory-outcome-footer-actions .primary-action.is-published:disabled {
  border-color: #16a34a;
  background: linear-gradient(180deg, #178a4f 0%, #0f6f42 100%);
  color: #ffffff;
  cursor: default;
  opacity: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 26px rgba(22, 101, 52, 0.2);
}

.theory-outcome-published-message {
  justify-self: end;
  margin: -8px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(22, 163, 74, 0.38);
  border-radius: 999px;
  background: #e8f7ec;
  color: #166534;
  font-size: 0.88rem;
  font-weight: 950;
}

.theory-outcome-question-list {
  display: grid;
  gap: 16px;
}

.theory-outcome-approval-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 15px 16px;
  border: 1px solid #dbe3ef;
  border-left: 5px solid #d6a42c;
  border-radius: 14px;
  background: #fffaf0;
  color: var(--navy);
}

.theory-outcome-approval-summary > div {
  display: grid;
  gap: 7px;
}

.theory-question-review-toggle {
  min-width: 148px;
  border-color: #d6a42c;
  color: var(--navy);
  font-weight: 950;
}

.theory-question-review-warning {
  margin: 0;
  padding: 13px 16px;
  border: 1px solid #f4b4b4;
  border-left: 5px solid #c43d3d;
  border-radius: 12px;
  background: #fff3f3;
  color: #8b2020;
  font-weight: 850;
}

.theory-outcome-approval-summary.complete {
  border-color: #4caf50;
  border-left-color: #16a34a;
  background: linear-gradient(180deg, #edfdf2, #f8fffa);
}

.theory-outcome-approval-summary span,
.theory-question-approved-badge,
.theory-question-review-badge {
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.theory-outcome-approval-summary strong {
  color: var(--navy);
  font-size: 1.2rem;
}

.theory-outcome-approval-summary p {
  margin: 0;
  color: #526176;
  font-weight: 800;
}

.theory-outcome-question-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #dbe3ef;
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.quiz-question-presentation{overflow:hidden;border:1px solid #d9e2ec;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(8,35,67,.06)}
.quiz-question-prompt{padding:20px 22px 18px;border-top:4px solid var(--gold);background:linear-gradient(145deg,#0a2852,#143f69);color:#fff}
.quiz-question-prompt>span{display:block;margin-bottom:7px;color:#e5c76e;font-size:.72rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.quiz-question-prompt h5{margin:0;color:#fff;font-size:clamp(1.05rem,2.2vw,1.35rem);line-height:1.42}
.quiz-question-choice-group{display:grid;gap:10px;padding:18px 20px;background:#f7f9fc}
.quiz-question-choice{display:block;min-height:54px;border:1px solid #d9e2eb;border-radius:12px;background:#fff;color:#294864}
.quiz-question-choice>span{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:center;padding:14px 16px;line-height:1.45}
.quiz-question-choice strong{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e9eff5;color:#15375b}
label.quiz-question-choice{cursor:pointer}label.quiz-question-choice input{position:absolute;opacity:0}label.quiz-question-choice input:checked+span{border-radius:11px;background:#fff7dc;box-shadow:inset 0 0 0 2px #c69c3d}label.quiz-question-choice input:focus-visible+span{outline:3px solid rgba(36,101,164,.32);outline-offset:2px}
.quiz-question-admin-answer{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center;padding:16px 20px;border-top:1px solid #ead9a8;background:#fff9e9;color:#17375b}
.quiz-question-admin-answer span{font-size:.72rem;font-weight:950;letter-spacing:.07em;text-transform:uppercase}.quiz-question-admin-answer strong{font-size:.9rem;line-height:1.45}
.quiz-question-admin-metadata{display:grid;grid-template-columns:minmax(170px,.35fr) minmax(0,1fr);gap:8px 18px;padding:16px 20px;border-top:1px solid #dbe5ed;background:#edf3f8;color:#17375b}.quiz-question-admin-metadata>span{color:#66798d;font-size:.7rem;font-weight:950;letter-spacing:.07em;text-transform:uppercase}.quiz-question-admin-metadata>strong{font-size:.86rem;line-height:1.45}.quiz-question-admin-metadata>ul{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:5px 0 0;padding:10px 0 0;border-top:1px solid #d4e0e9;list-style:none}.quiz-question-admin-metadata li{min-width:0;color:#526a82;font-size:.72rem;line-height:1.45;overflow-wrap:anywhere}
.quiz-builder-variant-review{display:grid;gap:14px;margin-top:18px}.quiz-builder-review-intro{margin:0;padding:12px 15px;border-left:4px solid #c29a3d;border-radius:8px;background:#fff;color:#526a82;font-size:.78rem;font-weight:750}.admin-induction-question-preview .quiz-question-presentation{box-shadow:none}.induction-admin-editor :is(.centre-admin-questions,.professional-admin-scenarios,.induction-admin-questions)>details{display:none}.induction-admin-editor :is(.centre-admin-questions,.professional-admin-scenarios,.induction-admin-questions)>details[open]{display:block;margin-top:16px;box-shadow:0 14px 34px rgba(10,37,85,.1)}
.quiz-question-validation{margin:0;padding:12px 20px;border-top:1px solid #fecaca;background:#fff1f2;color:#9f1239;font-weight:800}.quiz-question-presentation.has-validation-error{border-color:#fda4af}
.quiz-question-edit-panel{border:1px solid #d8e1eb;border-radius:12px;background:#f8fafc}.quiz-question-edit-panel>summary{padding:13px 16px;color:#17375b;font-weight:900;cursor:pointer}.quiz-question-edit-fields{display:grid;gap:14px;padding:16px;border-top:1px solid #d8e1eb}.quiz-question-edit-fields>.primary-action{justify-self:end}.quiz-builder-review{background:#f1f5f9}
@media(max-width:720px){.quiz-question-prompt,.quiz-question-choice-group{padding:16px}.quiz-question-admin-answer,.quiz-question-admin-metadata{grid-template-columns:1fr;gap:5px;padding:14px 16px}.quiz-question-admin-metadata>ul{grid-template-columns:1fr}.quiz-question-choice>span{padding:12px}.theory-outcome-question-actions{flex-wrap:wrap}.quiz-question-edit-fields>.primary-action{width:100%}}

.theory-outcome-question-card.is-approved {
  border-color: rgba(22, 163, 74, 0.48);
  border-left-color: #16a34a;
  background: linear-gradient(180deg, rgba(237, 252, 242, 0.85), rgba(248, 255, 250, 0.95));
  box-shadow: 0 12px 28px rgba(22, 101, 52, 0.1);
}

.theory-outcome-question-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.theory-outcome-question-head h5 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.theory-question-approved-badge,
.theory-question-review-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-top: 8px;
  padding: 0 10px;
  border-radius: 999px;
}

.theory-question-approved-badge {
  border: 1px solid #4caf50;
  background: #e8f7ec;
  color: #166534;
}

.theory-question-review-badge {
  border: 1px solid #f0c36a;
  background: #fff8e3;
  color: #7a4b00;
}

.theory-outcome-answer-grid,
.theory-outcome-question-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.theory-outcome-question-card select.form-control {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d4dce8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 850;
}

.secondary-action.compact.danger {
  border-color: #fca5a5;
  color: #991b1b;
  background: #fff7f7;
}

.theory-outcome-empty {
  padding: 22px;
}

.curriculum-image-manager {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.curriculum-guide-image-card {
  display: grid;
  gap: 18px;
}

.practical-authoring-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.practical-authoring-steps button {
  min-height: 50px;
  border: 1px solid var(--line, #d9dee7);
  border-radius: 10px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-weight: 700;
  text-align: left;
  padding: 9px 10px;
  cursor: pointer;
}

.practical-authoring-steps button span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 7px;
  border-radius: 50%;
  background: #eef2f6;
  font-size: 12px;
}

.practical-authoring-steps button.active {
  border-color: #b58a32;
  background: #fffaf0;
  color: #684f1d;
}

.practical-authoring-steps button.active span { background: #d7ad55; color: #17202d; }
.practical-step-intro { margin: 0 0 12px; }
.practical-step-intro h4 { margin: 3px 0 0; }
.practical-video-field { margin: 20px 0; }
.practical-video-upload { min-height: 140px; }
.practical-video-current { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--line, #d9dee7); border-radius: 12px; }
.practical-video-current video, .curriculum-preview-video { width: 100%; max-height: 360px; border-radius: 9px; background: #111827; }
.practical-video-current strong, .practical-video-current span { display: block; overflow-wrap: anywhere; }
.practical-video-current span { margin-top: 4px; color: #667085; }
.practical-video-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.practical-video-progress { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.practical-video-progress progress { width: min(320px, 65%); }
.curriculum-preview-video { margin: 0 0 18px; }

.practical-lesson-builder-page .practical-authoring-steps {
  position: relative;
  gap: 0;
  margin: 0 18px 20px;
  overflow: hidden;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(7, 27, 66, 0.07);
}

.practical-lesson-builder-page .practical-authoring-steps button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 16px;
  border: 0;
  border-right: 1px solid #e3e8ef;
  border-radius: 0;
  background: #ffffff;
  color: #475467;
  font-weight: 850;
}

.practical-lesson-builder-page .practical-authoring-steps button:last-child { border-right: 0; }
.practical-lesson-builder-page .practical-authoring-steps button::after { content: ""; position: absolute; inset: auto 14px 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.practical-lesson-builder-page .practical-authoring-steps button span { flex: 0 0 auto; width: auto; height: auto; margin: 0; background: none; color: #a47b24; font-size: 0.74rem; font-weight: 1000; letter-spacing: 0.08em; }
.practical-lesson-builder-page .practical-authoring-steps button strong { font-size: 0.84rem; line-height: 1.2; }
.practical-lesson-builder-page .practical-authoring-steps button.active { background: linear-gradient(180deg, #123d73 0%, #071b42 100%); color: #ffffff; }
.practical-lesson-builder-page .practical-authoring-steps button.active span { background: none; color: #e6bd61; }
.practical-lesson-builder-page .practical-authoring-steps button.active::after { background: #d7ad55; }
.practical-lesson-builder-page .practical-authoring-steps button:focus-visible { z-index: 1; outline: 3px solid rgba(215, 173, 85, 0.48); outline-offset: -3px; }

.practical-details-card,
.practical-content-stage,
.practical-instruction-card,
.practical-media-card {
  border: 1px solid #dce4ee;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 27, 66, 0.08);
}

.practical-details-card { padding: 0 !important; overflow: hidden; border-radius: 16px; }
.practical-premium-card-head { padding: 22px 24px 20px; border-bottom: 1px solid #e0e7ef; border-top: 4px solid #d7ad55; background: linear-gradient(110deg, #071b42 0%, #123d73 100%); color: #ffffff; }
.practical-premium-card-head .eyebrow { margin: 0 0 4px; color: #e6bd61; }
.practical-premium-card-head h4 { margin: 0; color: #ffffff; font-size: 1.35rem; }
.practical-premium-card-head p:last-child { margin: 6px 0 0; color: #d9e3ef; }
.practical-details-fields { display: grid; gap: 18px; padding: 24px; }
.practical-details-fields .curriculum-field span,
.practical-instruction-card .curriculum-field span { color: #0b1f4d; font-size: 0.78rem; font-weight: 1000; letter-spacing: 0.035em; }
.practical-details-fields .form-control,
.practical-instruction-card .form-control { border: 1px solid #cdd7e4; border-radius: 10px; background: #ffffff; color: #0b1f4d; box-shadow: inset 0 1px 2px rgba(7, 27, 66, 0.04); transition: border-color 150ms ease, box-shadow 150ms ease; }
.practical-details-fields input.form-control { min-height: 52px; }
.practical-details-fields textarea.form-control { min-height: 116px; line-height: 1.55; }
.practical-details-fields .form-control:focus,
.practical-instruction-card .form-control:focus { border-color: #b58a32; outline: 0; box-shadow: 0 0 0 4px rgba(215, 173, 85, 0.2); }

.practical-content-stage { margin: 0 18px; overflow: hidden; border-radius: 16px; }
.practical-content-head { margin: 0; }
.practical-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 22px; background: #f4f7fb; }
.practical-media-card { min-height: 100%; padding: 18px; border-radius: 14px; box-shadow: 0 8px 22px rgba(7, 27, 66, 0.06); }
.practical-media-card header .eyebrow { margin: 0 0 4px; color: #9a7222; }
.practical-media-card h5,
.practical-instruction-card h5,
.practical-step-preview h5 { margin: 0; color: #0b1f4d; font-size: 1.05rem; }
.practical-media-card header p:last-child,
.practical-instruction-card header p:last-child { margin: 6px 0 0; color: #667085; line-height: 1.5; }
.practical-image-frame,
.practical-video-frame { display: grid; place-items: center; margin-top: 14px; overflow: hidden; border: 1px solid #d5deea; border-radius: 11px; background: #eef2f7; aspect-ratio: 16 / 9; }
.practical-image-frame img { width: 100%; height: 100%; object-fit: contain; background: #ffffff; }
.practical-video-frame video { width: 100%; height: 100%; object-fit: contain; background: #07111f; }
.practical-media-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.practical-media-actions label,
.practical-media-empty label { cursor: pointer; }
.practical-media-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 12px; color: #667085; font-size: 0.82rem; }
.practical-media-meta strong { color: #344054; overflow-wrap: anywhere; }
.practical-media-empty { display: grid; place-items: center; align-content: center; gap: 14px; min-height: 330px; border-style: dashed; border-color: #b9c7d8; text-align: center; background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%); }
.practical-media-empty header { max-width: 27rem; }
.practical-upload-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #e9eff7; color: #0b2b5a; font-size: 1.6rem; font-weight: 500; }
.practical-video-icon { padding-left: 3px; font-size: 1rem; }
.practical-media-input { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.practical-media-input:focus-visible + label,
.practical-media-actions:has(.practical-media-input:focus-visible) label,
.practical-video-field:has(.practical-media-input:focus-visible) label[for="curriculumLessonVideoUpload"] { outline: 3px solid rgba(215, 173, 85, 0.46); outline-offset: 3px; }
.practical-video-field { margin: 0; }
.practical-video-progress { margin: 10px 18px 0; padding: 10px 12px; border-radius: 9px; background: #edf4fb; color: #0b2b5a; font-weight: 850; }
.practical-video-progress progress { accent-color: #b58a32; }

.practical-instruction-card { margin: 0 22px 22px; padding: 20px; border-radius: 14px; box-shadow: 0 8px 22px rgba(7, 27, 66, 0.06); }
.practical-instruction-card > header { padding-bottom: 16px; border-bottom: 1px solid #e4e9f0; }
.practical-instruction-card > header .eyebrow { margin: 0 0 4px; color: #9a7222; }
.practical-instruction-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr); gap: 18px; margin-top: 18px; align-items: stretch; }
.practical-step-editor { min-height: 280px !important; line-height: 1.6; resize: vertical; }
.practical-step-preview { padding: 17px; border: 1px solid #d7e0eb; border-radius: 11px; background: #f7f9fc; }
.practical-step-preview ol { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.practical-step-preview li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 10px; border-radius: 8px; background: #ffffff; box-shadow: 0 1px 3px rgba(7, 27, 66, 0.07); }
.practical-step-preview li > span { color: #a47b24; font-size: 0.76rem; font-weight: 1000; letter-spacing: 0.06em; }
.practical-step-preview li p { margin: 0; color: #243b5a; line-height: 1.45; }
.practical-step-preview li.empty { display: block; background: transparent; box-shadow: none; }

.practical-media-grid { align-items: stretch; }
.practical-video-field { display: flex; min-width: 0; }
.practical-video-field > .practical-media-card { width: 100%; }
.practical-media-card { display: flex; flex-direction: column; }
.practical-media-card .practical-media-actions { margin-top: auto; padding-top: 14px; }
.practical-media-workspace { margin: 0 22px 22px; padding: 20px; border: 1px solid #dce4ee; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(7, 27, 66, 0.06); }
.practical-media-workspace > header { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 16px; }
.practical-media-workspace h5 { margin: 0; color: #0b1f4d; font-size: 1.08rem; }
.practical-media-workspace .eyebrow { margin: 0 0 4px; color: #9a7222; }
.practical-workspace-frame { display: grid; place-items: center; width: 100%; min-height: 280px; overflow: hidden; border-radius: 12px; background: #07111f; aspect-ratio: 16 / 9; }
.practical-workspace-frame video, .practical-workspace-frame img { width: 100%; height: 100%; object-fit: contain; }
.practical-structured-step-editor { display: grid; gap: 14px; margin-top: 16px; padding: 18px; border: 1px solid #d7e0eb; border-radius: 11px; background: #f7f9fc; }
.practical-structured-step-editor header, .practical-step-editor-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; }
.practical-structured-step-editor label { display: grid; gap: 7px; color: #0b1f4d; font-weight: 850; }
.practical-structured-step-editor textarea { min-height: 100px; resize: vertical; }
.practical-step-preview { margin-top: 0; }
.practical-step-preview ol { gap: 12px; }
.practical-step-preview li.practical-author-step { display: block; padding: 0; overflow: hidden; border: 1px solid #dce4ee; }
.practical-step-main { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; width: 100%; gap: 12px; padding: 15px; border: 0; background: #fff; color: #243b5a; text-align: left; cursor: pointer; }
.practical-step-main > span:nth-child(2) { display: grid; gap: 4px; }
.practical-step-main small, .practical-timestamp-link small { color: #667085; font-weight: 600; line-height: 1.45; }
.practical-step-main time { color: #9a7222; font-weight: 900; }
.practical-step-sequence { color: #a47b24; font-weight: 1000; }
.practical-step-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 15px; border-top: 1px solid #e4e9f0; background: #f7f9fc; }
.practical-inline-confirm { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px; border: 1px solid #d7ad55; background: #fff9e9; color: #243b5a; }
.practical-inline-confirm p { margin: 0; line-height: 1.45; }
.practical-inline-confirm > div:last-child { display: flex; flex: 0 0 auto; gap: 8px; }
.practical-media-confirm { margin: 0 22px 22px; border-radius: 11px; }
.practical-media-confirm h5 { margin: 0 0 5px; color: #0b1f4d; }
.practical-timestamp-link { display: grid; width: 100%; gap: 4px; border: 0; background: transparent; color: #243b5a; text-align: left; cursor: pointer; }
.practical-timestamp-link > span { color: #9a7222; font-weight: 1000; }
.practical-step-main:focus-visible, .practical-timestamp-link:focus-visible { outline: 3px solid rgba(215, 173, 85, 0.55); outline-offset: -3px; }

/* Premium video-first Practical Content workspace. */
.practical-media-grid { grid-auto-rows: 1fr; }
.practical-media-card { display: grid; grid-template-rows: 66px minmax(190px, 1fr) 42px; min-height: 356px; padding: 16px; }
.practical-media-card > header { align-self: start; }
.practical-media-card .practical-image-frame,
.practical-media-card .practical-video-frame { width: 100%; margin: 0; }
.practical-media-card .practical-media-actions { align-self: end; align-items: center; min-height: 42px; margin: 0; padding: 10px 0 0; border-top: 1px solid #edf1f5; }
.practical-media-card .practical-media-meta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.practical-media-empty { grid-template-rows: 54px minmax(190px, 1fr) 42px; place-items: stretch; align-content: stretch; min-height: 356px; }
.practical-media-empty .practical-upload-icon { align-self: end; justify-self: center; }
.practical-media-empty header { align-self: center; justify-self: center; text-align: center; }
.practical-media-empty > label { align-self: end; justify-self: center; }
.practical-text-action, .tertiary-action { padding: 4px 2px; border: 0; background: transparent; color: #315276; font: inherit; font-size: 0.78rem; font-weight: 850; cursor: pointer; }
.practical-text-action + .practical-text-action { margin-left: 12px; }
.practical-text-action.danger, .practical-icon-action.danger { color: #a33c3c; }
.practical-text-action:hover, .tertiary-action:hover { color: #071b42; text-decoration: underline; text-underline-offset: 3px; }
.practical-text-action:focus-visible, .tertiary-action:focus-visible, .practical-icon-action:focus-visible { outline: 3px solid rgba(215, 173, 85, 0.48); outline-offset: 3px; }
.practical-media-workspace { padding: 22px; }
.practical-media-workspace > header { margin-bottom: 14px; }
.practical-workspace-frame { min-height: 360px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 18px 36px rgba(7,17,31,.16); }
.practical-add-step-bar { display: flex; justify-content: center; padding: 18px 0 2px; }
.practical-add-step-bar .primary-action { min-width: 240px; border-radius: 8px; }
.practical-structured-step-editor { max-width: 820px; margin: 18px auto 0; padding: 20px; background: #fff; box-shadow: 0 8px 24px rgba(7,27,66,.07); }
.practical-structured-step-editor header small { color: #9a7222; font-weight: 1000; letter-spacing: .08em; }
.practical-structured-step-editor header time { color: #0b2b5a; font-weight: 950; font-variant-numeric: tabular-nums; }
.practical-step-preview > header { padding-bottom: 14px; }
.practical-step-preview li.practical-author-step { position: relative; }
.practical-step-main { padding-right: 148px; }
.practical-step-actions { position: absolute; top: 50%; right: 12px; display: flex; gap: 3px; padding: 0; border: 0; background: transparent; transform: translateY(-50%); opacity: .58; transition: opacity 140ms ease; }
.practical-author-step:hover .practical-step-actions, .practical-step-actions:focus-within { opacity: 1; }
.practical-icon-action { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #45617f; font-size: .9rem; font-weight: 950; cursor: pointer; }
.practical-icon-action:hover { border-color: #d8e0ea; background: #fff; }
.practical-icon-action:disabled { opacity: .22; cursor: default; }
.practical-legacy-summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 14px 0 2px; padding: 10px 12px; border-radius: 8px; background: #f3f6fa; color: #5d6d81; font-size: .78rem; font-weight: 750; }
.practical-confirm-backdrop { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(4,15,35,.48); backdrop-filter: blur(2px); }
.practical-confirm-dialog { width: min(440px, 100%); padding: 22px; border: 1px solid rgba(215,173,85,.7); border-radius: 14px; background: #fff; box-shadow: 0 24px 64px rgba(4,15,35,.26); }
.practical-confirm-dialog h5 { margin: 0; color: #0b1f4d; font-size: 1.05rem; }
.practical-confirm-dialog p { margin: 8px 0 0; color: #5f6f82; line-height: 1.5; }
.practical-confirm-dialog > div:last-child { display: flex; justify-content: flex-end; gap: 14px; margin-top: 20px; }

/* One calm authoring canvas for the lesson's single practical material and steps. */
.practical-universal-workspace { position: relative; margin: 22px; padding: 22px; border: 1px solid #dce4ee; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(7, 27, 66, .08); transition: border-color 150ms ease, box-shadow 150ms ease; }
.practical-universal-workspace.is-dragover { border-color: #b58a32; box-shadow: 0 0 0 4px rgba(215, 173, 85, .2), 0 12px 32px rgba(7, 27, 66, .08); }
.practical-universal-empty { display: grid; place-items: center; align-content: center; min-height: 440px; padding: 40px 24px; border: 2px dashed #c5d0dd; border-radius: 13px; background: linear-gradient(180deg, #fbfcfe, #f5f8fb); color: #5f6f82; text-align: center; }
.practical-universal-empty > span { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: #e9eff7; color: #0b2b5a; font-size: 2rem; }
.practical-universal-empty h5 { margin: 0; color: #0b1f4d; font-size: 1.25rem; }
.practical-universal-empty p { max-width: 32rem; margin: 8px 0 20px; line-height: 1.55; }
.practical-universal-empty small { margin-bottom: 12px; color: #708094; font-weight: 750; }
.practical-universal-empty label, .practical-universal-actions label { cursor: pointer; }
.practical-universal-frame { display: grid; place-items: center; width: 100%; min-height: 400px; overflow: hidden; border-radius: 13px; background: #07111f; aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.practical-universal-frame.is-image { background: #f3f6fa; }
.practical-universal-frame video, .practical-universal-frame img { width: 100%; height: 100%; object-fit: contain; }
.practical-universal-actions { position: absolute; z-index: 2; top: 34px; right: 34px; display: flex; gap: 14px; padding: 8px 12px; border: 1px solid rgba(219,227,237,.92); border-radius: 9px; background: rgba(255,255,255,.94); box-shadow: 0 5px 16px rgba(7,27,66,.12); }
.practical-universal-actions .practical-text-action + .practical-text-action { margin-left: 0; }
.practical-universal-workspace:has(.practical-media-input:focus-visible) label[for="curriculumPracticalMaterialUpload"] { outline: 3px solid rgba(215, 173, 85, .5); outline-offset: 3px; }
.practical-universal-workspace .practical-add-step-bar { padding: 20px 0 8px; }
.practical-authored-steps { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.practical-authored-steps > li.empty { padding: 18px; border: 1px dashed #d6dee8; border-radius: 10px; color: #708094; text-align: center; }
.practical-authored-steps > li.empty p { margin: 0; }
.practical-authored-steps li.practical-author-step { position: relative; overflow: hidden; border: 1px solid #dce4ee; border-radius: 10px; background: #fff; }
.practical-material-progress { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: 9px; background: #edf4fb; color: #0b2b5a; font-weight: 850; }
.practical-material-progress progress { accent-color: #b58a32; }

/* Continuous Practical Lesson Builder: alignment-led visual language. */
.practical-lesson-builder-page { display: grid; gap: 18px; width: 100%; max-width: 100%; min-width: 0; padding-bottom: 34px; overflow: clip; background: #f3f6fa; }
.practical-lesson-builder-page > .lesson-builder-header { margin-bottom: 0; }
.practical-lesson-builder-page > :is(.lesson-builder-header, .curriculum-builder-main) { width: 100%; max-width: 100%; min-width: 0; }
.practical-lesson-builder-page > .curriculum-builder-main { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.practical-continuous-authoring { display: grid; gap: 22px; width: 100%; max-width: 100%; min-width: 0; padding: 0; }
.practical-continuous-authoring > * { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.practical-teaching-position-body { display: grid; gap: 16px; padding: 18px 22px 22px; background: #fff; }
.practical-phase-selector { display: grid; gap: 8px; min-width: 0; }
.practical-selector-label { color: #536780; font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.practical-teaching-position .curriculum-phase-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
.practical-teaching-position .curriculum-phase-nav .practical-premium-phase-card { --phase-accent:#376fa8;--phase-surface:#edf5fc;position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 1fr auto;align-items:start;gap:10px 14px;min-width:0;min-height:168px;padding:17px 17px 15px;overflow:hidden;border:1px solid color-mix(in srgb,var(--phase-accent) 30%,#d8e0e8);border-top:5px solid var(--phase-accent);border-radius:20px;background:linear-gradient(145deg,#fff 0%,var(--phase-surface) 100%);color:#0a2555;text-align:left;cursor:pointer;box-shadow:0 12px 28px rgba(7,27,77,.08);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.practical-teaching-position .curriculum-phase-nav .phase-green { --phase-accent:#4c9460;--phase-surface:#eef8f0; }
.practical-teaching-position .curriculum-phase-nav .phase-orange { --phase-accent:#c77a38;--phase-surface:#fff5ec; }
.practical-teaching-position .curriculum-phase-nav .phase-purple { --phase-accent:#8064a4;--phase-surface:#f5f0fa; }
.practical-teaching-position .curriculum-phase-nav .phase-teal { --phase-accent:#3f8991;--phase-surface:#edf8f8; }
.practical-teaching-position .curriculum-phase-nav .lesson-builder-phase-identity { display:grid;grid-row:1/3;align-content:start;justify-items:start;gap:0;width:54px;padding:0;background:transparent;color:var(--phase-accent);text-transform:uppercase; }
.practical-teaching-position .curriculum-phase-nav .lesson-builder-phase-identity small { color:#607184;font-size:.55rem;font-weight:950;letter-spacing:.14em;line-height:1; }
.practical-teaching-position .curriculum-phase-nav .lesson-builder-phase-identity b { font-size:2.05rem;font-weight:950;letter-spacing:-.07em;line-height:1.05; }
.practical-teaching-position .curriculum-phase-nav .practical-premium-phase-card>strong { align-self:start;min-height:2.55em;color:#102d49;font-size:.91rem;font-weight:900;letter-spacing:-.015em;line-height:1.28; }
.practical-teaching-position .curriculum-phase-nav .lesson-builder-phase-count { grid-column:2;color:#6a7b88;font-size:.59rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase; }
.practical-teaching-position .curriculum-phase-nav .practical-premium-phase-card em { grid-column:1/-1;display:inline-flex;align-items:center;justify-content:space-between;align-self:end;width:100%;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--phase-accent) 19%,#dce3e8);color:#5b6d7c;font-size:.61rem;font-style:normal;font-weight:900;letter-spacing:.055em;text-transform:uppercase; }
.practical-teaching-position .curriculum-phase-nav .practical-premium-phase-card em i { display:grid;width:21px;height:21px;place-items:center;border-radius:50%;background:#c5d52c;color:#092744;font-style:normal; }
.practical-teaching-position .curriculum-phase-nav .practical-premium-phase-card:hover { transform:translateY(-3px);border-color:var(--phase-accent);box-shadow:0 18px 38px rgba(7,27,77,.13); }
.practical-teaching-position .curriculum-phase-nav .practical-premium-phase-card.active { border-color:#c5d52c;outline:3px solid rgba(197,213,44,.32);outline-offset:2px;background:linear-gradient(145deg,#fff 0%,color-mix(in srgb,var(--phase-surface) 78%,#fff) 100%);box-shadow:0 18px 42px rgba(7,29,50,.14); }
.practical-teaching-position .curriculum-phase-nav .practical-premium-phase-card.active em { color:#173852; }
.practical-lesson-strip { min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.practical-lesson-strip > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.practical-lesson-strip h5 { margin: 3px 0 0; color: #0b1f4d; font-size: .92rem; }
.practical-new-lesson-action { align-self: center; padding: 5px 7px; color: #315276; }
.practical-lesson-strip-scroll { display: flex; width: 100%; max-width: 100%; gap: 8px; overflow-x: auto; padding: 2px 2px 9px; scroll-snap-type: x proximity; scrollbar-color: #c8d3df transparent; overscroll-behavior-inline: contain; }
.practical-lesson-chip { display: grid; align-content: start; flex: 0 0 230px; gap: 12px; min-height: 150px; padding: 18px; border: 1px solid #dce4ee; border-radius: 13px; background: #f8fafc; color: #0b1f4d; text-align: left; scroll-snap-align: start; cursor: pointer; }
.practical-lesson-chip span { color: #7a8797; font-size: .72rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.practical-lesson-chip strong { overflow: visible; font-size: .96rem; line-height: 1.35; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.practical-lesson-chip.active { border-color: #c69a3a; background: #fffaf0; box-shadow: inset 0 -2px #d7ad55; }
.practical-lesson-chip.archived { opacity: .58; }
.practical-lesson-chip:focus-visible, .practical-teaching-position .curriculum-phase-nav button:focus-visible { outline: 3px solid rgba(215,173,85,.52); outline-offset: 2px; }
.lesson-completion-secondary-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:10px; margin:4px 0; }
.theory-stage-authoring-actions { margin-top:0; }
.practical-continuous-card { margin: 0 !important; overflow: hidden; border: 1px solid #dbe3ed; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(7,27,66,.06); }
.practical-continuous-card .practical-premium-card-head { padding: 20px 22px 17px; border-top: 3px solid #d7ad55; border-bottom: 1px solid #dfe6ee; background: #f7f9fc; color: #0b1f4d; }
.practical-continuous-card .practical-premium-card-head .eyebrow { color: #9a7222; }
.practical-continuous-card .practical-premium-card-head h4 { color: #0b1f4d; font-size: 1.25rem; }
.practical-continuous-card .practical-premium-card-head p:last-child { color: #64748b; }
.practical-continuous-card .practical-details-fields { grid-template-columns: 1fr; }
.practical-continuous-card #curriculumLessonTitle { min-height: 58px; font-size: 1.12rem; font-weight: 850; }
.practical-continuous-card #curriculumLearnerOutcome { min-height: 92px; }
.practical-continuous-card #curriculumLessonDescription { min-height: 120px; }
.practical-continuous-card .practical-universal-workspace { margin: 22px; }
.practical-question-intro { padding: 18px 22px 16px; border: 1px solid #dbe3ed; border-bottom: 0; border-radius: 15px 15px 0 0; background: #f7f9fc; box-shadow: 0 8px 24px rgba(7,27,66,.04); }
.practical-question-intro .eyebrow { margin: 0; color: #9a7222; }
.practical-question-intro h4 { margin: 4px 0 0; color: #0b1f4d; font-size: 1.25rem; }
.practical-continuous-alignment > .theory-qualification-alignment-card { margin: 0; }
.practical-alignment-question .practical-continuous-alignment > .theory-qualification-alignment-card { border-top-left-radius: 0; border-top-right-radius: 0; }
.practical-final-actions { display: grid; gap: 18px; padding: 22px; border-top:4px solid #d7ad55; background:linear-gradient(145deg,#fff,#f7f9fc); }
.practical-final-actions-heading .eyebrow { margin: 0 0 3px; color: #9a7222; }
.practical-final-actions-heading h4 { margin: 0; color: #0b1f4d; font-size: 1.12rem; }
.practical-final-actions-heading > p:last-child { margin:5px 0 0;color:#64748b;font-size:.8rem; }
.practical-final-actions-groups { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch; }
.practical-final-action-group { display:grid;grid-template-rows:auto auto 1fr auto;align-content:stretch;gap:10px;min-width:0;padding:17px;border:1px solid #e0c98f;border-radius:13px;background:#fffaf0; }
.practical-workflow-step { width:fit-content;padding:4px 8px;border-radius:999px;background:rgba(154,114,34,.1);color:#8a651d;font-size:.65rem;font-weight:950;letter-spacing:.07em; }
.practical-workflow-card h5 { margin:0;color:#0b1f4d;font-size:.96rem; }
.practical-workflow-card p { margin:0;color:#6d5a31;font-size:.78rem;line-height:1.4; }
.practical-workflow-card.complete { border-color:#b8d8c0;background:#eff8f1; }
.practical-workflow-card.complete .practical-workflow-step { background:#dcefe1;color:#28663a; }
.practical-workflow-card.complete p { color:#28663a; }
.practical-workflow-card.complete p>span { display:inline-grid;place-items:center;width:19px;height:19px;margin-right:4px;border-radius:50%;background:#d5eadb;color:#236335; }
.practical-workflow-card.pending { border-color:#e0c98f;background:#fffaf0; }
.practical-final-action-group :is(.primary-action,.secondary-action,.tertiary-action) { display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:9px 14px;border-radius:8px;font-size:.78rem;line-height:1; }
.practical-workflow-card>button { width:100%;align-self:end; }
.practical-workflow-card>button:disabled { cursor:not-allowed;opacity:.62; }
.practical-final-action-group .practical-matrix-action { border-color:#b9c9da;background:#f1f6fb;color:#17375b; }
.practical-publication-actions.pending { border-color:rgba(215,173,85,.58);background:#fff7e8; }
.practical-publication-actions button { width:100%; }
.practical-details-card .practical-premium-card-head { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.practical-header-preview-action { flex:0 0 auto;min-height:40px;margin:0;border:1px solid #cbd7e4;border-radius:8px;background:#fff;color:#244768;font-weight:850; }
.practical-header-preview-action:hover { border-color:#9fb4c9;background:#f7fafc; }
.practical-header-preview-action:focus-visible { outline:3px solid rgba(215,173,85,.52);outline-offset:2px; }
.practical-alignment-action-location { margin:12px 0 0;padding:11px 13px;border-left:3px solid #d7ad55;border-radius:7px;background:#f7f9fc;color:#64748b;font-size:.76rem;font-weight:750; }
.practical-universal-workspace .practical-add-step-bar .primary-action { min-width: 0; padding-inline: 18px; border-radius: 7px; }
.practical-continuous-preview { padding: 20px; border: 1px solid #dbe3ed; border-radius: 15px; background: #f7f9fc; }
.practical-continuous-preview > header { margin-bottom: 15px; }
.practical-continuous-preview > header .eyebrow { margin: 0; color: #9a7222; }
.practical-continuous-preview > header h4 { margin: 4px 0 0; color: #0b1f4d; }
.practical-continuous-preview .curriculum-learner-preview { margin: 0; }
.practical-save-toast.success { position: fixed; z-index: 1250; right: 22px; bottom: 22px; width: min(380px, calc(100vw - 44px)); margin: 0; box-shadow: 0 16px 40px rgba(7,27,66,.18); }

@media (max-width: 1024px) {
  .practical-teaching-position .curriculum-phase-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .practical-final-actions-groups { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .practical-lesson-strip > header { align-items: stretch; flex-direction: column; }
  .practical-teaching-position-body { padding: 15px 14px 17px; }
  .practical-teaching-position .curriculum-phase-nav { grid-auto-columns:minmax(245px,78vw);grid-auto-flow:column;grid-template-columns:none;overflow-x:auto;padding:3px 3px 13px;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain; }
  .practical-teaching-position .curriculum-phase-nav .practical-premium-phase-card { min-height:160px;scroll-snap-align:start; }
  .practical-continuous-card .practical-universal-workspace { margin: 14px; }
  .practical-final-actions-groups { grid-template-columns:1fr; }
  .practical-details-card .practical-premium-card-head { align-items:flex-start;flex-direction:column; }
  .practical-header-preview-action { width:100%; }
}

@media (max-width: 760px) {
  .practical-authoring-steps { grid-template-columns: 1fr 1fr; }
  .practical-video-current { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .practical-lesson-builder-page .practical-authoring-steps button { padding-inline: 11px; }
  .practical-instruction-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .practical-lesson-builder-page .practical-authoring-steps { grid-template-columns: repeat(2, 1fr); }
  .practical-lesson-builder-page .practical-authoring-steps button:nth-child(2) { border-right: 0; }
  .practical-lesson-builder-page .practical-authoring-steps button:nth-child(-n + 2) { border-bottom: 1px solid #e3e8ef; }
  .practical-content-stage,
  .practical-lesson-builder-page .practical-authoring-steps { margin-inline: 10px; }
  .practical-media-grid { padding: 14px; }
  .practical-instruction-card { margin: 0 14px 14px; }
  .practical-media-grid { grid-template-columns: 1fr; }
  .practical-media-workspace, .practical-media-confirm { margin-inline: 14px; }
  .practical-media-workspace > header, .practical-inline-confirm { align-items: stretch; flex-direction: column; }
  .practical-step-main { grid-template-columns: 34px minmax(0, 1fr); }
  .practical-step-main time { grid-column: 2; }
  .practical-step-main { padding-right: 15px; padding-bottom: 52px; }
  .practical-step-actions { top: auto; right: 12px; bottom: 10px; transform: none; opacity: 1; }
  .practical-universal-workspace { margin: 14px; padding: 14px; }
  .practical-universal-empty { min-height: 330px; padding: 30px 18px; }
  .practical-universal-frame { min-height: 230px; }
  .practical-universal-actions { position: static; justify-content: flex-end; margin-bottom: 10px; box-shadow: none; }
  .practical-universal-workspace .practical-add-step-bar .primary-action { width: 100%; min-width: 0; }
}

.curriculum-guide-image-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: stretch;
}

.curriculum-guide-upload {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 340px;
  padding: 28px;
  border: 2px dashed rgba(214, 164, 44, 0.75);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  color: var(--navy);
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(11, 31, 77, 0.05);
}

.curriculum-guide-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.curriculum-guide-upload strong {
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 1000;
}

.curriculum-guide-upload span {
  max-width: 25rem;
  color: #526176;
  font-weight: 800;
  line-height: 1.45;
}

.curriculum-guide-upload em {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: linear-gradient(180deg, #123d73 0%, #071b42 100%);
  color: #ffffff;
  font-style: normal;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(7, 27, 66, 0.18);
}

.curriculum-guide-preview-panel {
  display: grid;
  gap: 10px;
}

.curriculum-guide-image-preview {
  min-height: 340px;
}

.curriculum-image-preview,
.curriculum-preview-placeholder {
  display: grid;
  place-items: center;
  min-height: 210px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 900;
}

.curriculum-image-preview img,
.curriculum-preview-image {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #dbe3ef;
  background: #ffffff;
}

.curriculum-gallery-list,
.curriculum-signoff-options,
.curriculum-toggle-grid,
.curriculum-resource-picker {
  display: grid;
  gap: 10px;
}

.curriculum-gallery-list span,
.curriculum-signoff-options span {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--navy);
  font-weight: 900;
}

.curriculum-resource-actions {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.curriculum-resource-actions input {
  flex: 1 1 260px;
}

.curriculum-resource-picker label,
.curriculum-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

.curriculum-resource-picker label span {
  display: grid;
  gap: 3px;
}

.curriculum-resource-picker small {
  color: #64748b;
  font-size: 0.72rem;
}

.curriculum-toggle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.curriculum-version-list {
  display: grid;
  gap: 10px;
}

.curriculum-version-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.curriculum-learner-preview {
  border-color: var(--gold);
  background: #fffdf7;
}

.admin-lesson-viewer-page {
  display: grid;
  gap: 20px;
}

.admin-lesson-viewer-title {
  border: 1px solid rgba(242, 189, 43, 0.42);
  border-left: 6px solid #f2bd2b;
  background: linear-gradient(135deg, #071b4d 0%, #0d2b6b 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(7, 27, 77, 0.16);
}

.admin-lesson-viewer-title h4,
.admin-lesson-viewer-title p,
.admin-lesson-viewer-title .eyebrow {
  color: #fff;
}

.admin-lesson-viewer-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-lesson-viewer-tabs button {
  min-height: 76px;
  border: 2px solid rgba(242, 189, 43, 0.92);
  border-radius: 20px;
  background: linear-gradient(135deg, #071b4d 0%, #123575 100%);
  color: #fff;
  font-weight: 950;
  font-size: 1rem;
  box-shadow:
    0 16px 32px rgba(7, 27, 77, 0.18),
    0 0 0 4px rgba(242, 189, 43, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -3px 0 rgba(242, 189, 43, 0.42);
}

.admin-lesson-viewer-tabs button.active {
  background: linear-gradient(135deg, #f2bd2b 0%, #ffe18a 100%);
  color: #071b4d;
  border-color: rgba(7, 27, 77, 0.18);
  box-shadow:
    0 16px 32px rgba(7, 27, 77, 0.16),
    0 0 0 4px rgba(242, 189, 43, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -3px 0 rgba(7, 27, 77, 0.16);
}

.admin-lesson-viewer-empty,
.admin-lesson-builder-link {
  padding: 22px;
  border: 1px solid rgba(7, 27, 77, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 27, 77, 0.08);
}

.admin-lesson-viewer-empty p {
  margin: 0;
  color: #526176;
  font-weight: 750;
}

.admin-lesson-viewer-list {
  display: grid;
  gap: 16px;
}

.admin-lesson-viewer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.admin-lesson-viewer-card {
  display: grid;
  gap: 16px;
  align-content: space-between;
  padding: 20px;
  border: 1px solid rgba(7, 27, 77, 0.1);
  border-top: 4px solid #f2bd2b;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 27, 77, 0.09);
}

.admin-lesson-viewer-card h4 {
  margin: 0;
  color: #071b4d;
  font-size: 1.05rem;
  line-height: 1.25;
}

.admin-lesson-viewer-card p {
  margin: 6px 0 0;
  color: #526176;
  font-weight: 700;
}

.admin-lesson-viewer-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.admin-lesson-viewer-card dl div {
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  background: #f7faff;
}

.admin-lesson-viewer-card dt {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-lesson-viewer-card dd {
  margin: 3px 0 0;
  color: #071b4d;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-lesson-preview-page {
  gap: 16px;
}

.admin-lesson-preview-frame {
  border-radius: 24px;
  background: #eef4fb;
}

.admin-lesson-preview-frame[inert] {
  cursor: default;
}

.curriculum-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.curriculum-preview-grid article {
  padding: 14px;
  border: 1px solid #e7eef8;
  border-radius: 12px;
  background: #ffffff;
}

.curriculum-preview-grid h5 {
  margin: 0 0 8px;
  color: var(--navy);
}

@media (max-width: 1100px) {
  .curriculum-phase-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curriculum-workspace,
  .curriculum-image-manager,
  .curriculum-guide-image-layout {
    grid-template-columns: 1fr;
  }

  .curriculum-lesson-list {
    position: static;
  }
}

@media (max-width: 720px) {
  .lesson-builder-choice-grid,
  .admin-lesson-viewer-tabs,
  .admin-lesson-viewer-card dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .lesson-builder-gateway-hero { grid-template-columns: 84px minmax(0, 1fr); padding: 22px; }
  .lesson-builder-gateway-hero img { width: 84px; }
  .lesson-builder-choice-card { min-height: 390px; }
  .lesson-builder-choice-card__image { height: 200px; }
}

@media (max-width: 760px) {
  .curriculum-phase-nav,
  .curriculum-form-grid,
  .curriculum-form-grid.compact,
  .curriculum-toggle-grid,
  .curriculum-preview-grid,
  .theory-outcome-answer-grid,
  .theory-outcome-question-meta {
    grid-template-columns: 1fr;
  }

  .curriculum-toolbar,
  .curriculum-list-head,
  .theory-outcome-question-head {
    flex-direction: column;
  }

  .curriculum-toolbar-actions,
  .theory-outcome-actions,
  .theory-outcome-footer-actions {
    justify-content: flex-start;
  }

  .theory-outcome-approval-summary {
    grid-template-columns: 1fr;
  }

  .theory-question-review-toggle {
    width: 100%;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html,
  body {
    width: 210mm !important;
    height: 297mm !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  body:has(.management-report-document) * {
    visibility: hidden !important;
  }

  body:has(.management-report-document) .management-report-preview,
  body:has(.management-report-document) .management-report-preview * {
    visibility: visible !important;
  }

  body:has(.management-report-document) .management-report-toolbar,
  body:has(.management-report-document) .management-report-toolbar *,
  body:has(.management-report-document) .no-print {
    display: none !important;
    visibility: hidden !important;
  }

  body:has(.management-report-document) .management-report-preview {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    width: 210mm !important;
    height: 297mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  body:has(.management-report-document) .management-report-document {
    width: 210mm !important;
    height: 297mm !important;
    min-height: 297mm !important;
    margin: 0 !important;
    padding: 10mm !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    background: #ffffff !important;
    page-break-before: avoid !important;
    page-break-after: avoid !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  body * {
    visibility: hidden !important;
  }

  .management-report-print-area,
  .management-report-print-area * {
    visibility: visible !important;
  }

  .management-report-preview {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    width: 210mm !important;
    height: 297mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  .management-report-print-area {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 210mm !important;
    height: 297mm !important;
    min-height: 297mm !important;
    margin: 0 !important;
    padding: 10mm !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border: 0 !important;
    page-break-before: avoid !important;
    page-break-after: avoid !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .no-print,
  .no-print *,
  .management-report-toolbar,
  .management-report-toolbar * {
    display: none !important;
    visibility: hidden !important;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }

  body:has(.certificate-preview) *,
  body:has(.uploaded-certificate-preview) * {
    visibility: hidden !important;
  }

  body:has(.certificate-preview) .certificate-modal-overlay,
  body:has(.certificate-preview) .certificate-preview-modal,
  body:has(.certificate-preview) .certificate-preview,
  body:has(.certificate-preview) .certificate-preview *,
  body:has(.uploaded-certificate-preview) .certificate-modal-overlay,
  body:has(.uploaded-certificate-preview) .certificate-preview-modal,
  body:has(.uploaded-certificate-preview) .uploaded-certificate-preview {
    visibility: visible !important;
  }

  body:has(.certificate-preview) .certificate-modal-overlay,
  body:has(.uploaded-certificate-preview) .certificate-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    padding: 0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }

  body:has(.certificate-preview) .certificate-preview-modal,
  body:has(.uploaded-certificate-preview) .certificate-preview-modal {
    display: block !important;
    width: 297mm !important;
    max-width: none !important;
    height: 210mm !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 8mm !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body:has(.certificate-preview) .certificate-preview {
    width: 281mm !important;
    max-width: none !important;
    min-height: 194mm !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body:has(.uploaded-certificate-preview) .uploaded-certificate-preview {
    width: 281mm !important;
    max-width: none !important;
    max-height: 194mm !important;
    object-fit: contain !important;
    box-shadow: none !important;
  }

  body:has(.certificate-preview) .certificate-preview-modal > header,
  body:has(.certificate-preview) .modal-actions,
  body:has(.uploaded-certificate-preview) .certificate-preview-modal > header,
  body:has(.uploaded-certificate-preview) .modal-actions {
    display: none !important;
    visibility: hidden !important;
  }
}

.certificate-shell {
  width: 1123px;
  height: 794px;
  max-width: 100%;
  background: #ffffff;
  border: 8px solid #071B4D;
  border-radius: 14px;
  padding: 24px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  font-family: Arial, sans-serif;
  color: #071B4D;
  box-shadow: 0 28px 70px rgba(7, 27, 77, 0.2);
}

.certificate-shell .certificate-inner {
  width: 100%;
  height: 100%;
  border: 2px solid #D9A21B;
  border-radius: 8px;
  padding: 34px 42px;
  box-sizing: border-box;
  position: relative;
  display: block;
  overflow: hidden;
  background: #ffffff;
}

.certificate-shell .certificate-inner::before,
.certificate-shell .certificate-inner::after {
  display: none;
}

.certificate-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.045;
  font-size: 160px;
  font-weight: 900;
  color: #071B4D;
  pointer-events: none;
}

.certificate-shell .certificate-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.certificate-shell .certificate-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.certificate-shell .certificate-brand img {
  width: 145px;
  height: auto;
  object-fit: contain;
}

.certificate-shell .certificate-brand-text {
  letter-spacing: 5px;
  font-weight: 900;
  color: #475569;
  font-size: 14px;
  text-transform: uppercase;
}

.certificate-shell .certificate-meta {
  display: grid;
  gap: 4px;
  text-align: right;
  color: #071B4D;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.35;
  text-transform: uppercase;
}

.certificate-shell .certificate-body {
  text-align: center;
  margin-top: 54px;
  position: relative;
  z-index: 2;
  display: block;
  padding: 0 92px;
}

.certificate-shell .certificate-heading {
  color: #A47708;
  letter-spacing: 12px;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.certificate-shell .presented-to {
  font-size: 28px;
  color: #071B4D;
  font-weight: 800;
  margin: 0;
}

.certificate-shell .learner-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 900;
  color: #071B4D;
  margin: 18px 0 12px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.certificate-shell .learner-meta {
  font-size: 18px;
  color: #64748B;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin: 0;
}

.certificate-shell .awarded-text {
  margin: 24px 0 0;
  font-size: 22px;
  color: #334155;
  font-weight: 700;
}

.certificate-shell .award-title {
  margin: 16px 0 0;
  color: #A47708;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
}

.certificate-shell .award-standard-pill {
  margin: 18px auto;
  display: inline-block;
  background: #071B4D;
  color: #F5B41B;
  padding: 14px 52px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.certificate-shell .recognition-box {
  margin: 30px auto 0;
  width: 76%;
  background: linear-gradient(180deg, #FFFDF7 0%, #FFF7E0 100%);
  border-top: 2px solid #D9A21B;
  border-bottom: 2px solid #D9A21B;
  padding: 18px 24px;
}

.certificate-shell .recognition-title {
  color: #071B4D;
  font-weight: 900;
  letter-spacing: 5px;
  font-size: 16px;
  text-transform: uppercase;
  margin: 0;
}

.certificate-shell .recognition-summary {
  margin: 12px 0 0;
  font-size: 18px;
  color: #334155;
}

.certificate-shell .recognition-pill {
  display: inline-block;
  margin-top: 14px;
  border: 1px solid #D9A21B;
  color: #071B4D;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 900;
  background: #FFFDF7;
}

.certificate-shell .award-seal {
  position: absolute;
  right: 58px;
  bottom: 150px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 4px solid #D9A21B;
  background: #FFF7E0;
  color: #071B4D;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  z-index: 3;
}

.certificate-shell .award-seal .seal-main {
  font-size: 28px;
  line-height: 1;
}

.certificate-shell .award-seal .seal-sub {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.15;
}

.certificate-shell .certificate-footer {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 28px;
  border-top: 1px solid #CBD5E1;
  padding-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: end;
  min-height: 0;
  z-index: 2;
}

.certificate-shell .signature-block {
  text-align: left;
}

.certificate-shell .signature-block-centre {
  text-align: center;
}

.certificate-shell .signature-line {
  border-top: 2px solid #071B4D;
  width: 290px;
  max-width: 100%;
  margin-bottom: 12px;
}

.certificate-shell .signature-block-centre .signature-line {
  margin-inline: auto;
}

.certificate-shell .signature-name {
  color: #071B4D;
  font-weight: 900;
  font-size: 17px;
}

.certificate-shell .signature-role {
  color: #475569;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.certificate-shell .certificate-reference-bottom {
  text-align: right;
  color: #071B4D;
  font-weight: 900;
  letter-spacing: 2px;
}

.certificate-shell .certificate-reference-bottom span,
.certificate-shell .certificate-reference-bottom strong {
  display: block;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }

  body:has(.certificate-shell) * {
    visibility: hidden !important;
  }

  body:has(.certificate-shell) .certificate-modal-overlay,
  body:has(.certificate-shell) .certificate-preview-modal,
  body:has(.certificate-shell) .certificate-shell,
  body:has(.certificate-shell) .certificate-shell *,
  #certificate-print-root,
  #certificate-print-root * {
    display: revert !important;
    visibility: visible !important;
  }

  body:has(.certificate-shell) .certificate-modal-overlay,
  body:has(.certificate-shell) .certificate-preview-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 297mm !important;
    height: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  body:has(.certificate-shell) .certificate-shell,
  #certificate-print-root .certificate-shell {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 1123px !important;
    height: 794px !important;
    max-width: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-header,
  #certificate-print-root .certificate-shell .certificate-header,
  body:has(.certificate-shell) .certificate-shell .certificate-brand,
  #certificate-print-root .certificate-shell .certificate-brand {
    display: flex !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-inner,
  #certificate-print-root .certificate-shell .certificate-inner {
    display: grid !important;
    grid-template-rows: 90px 390px 120px 95px !important;
    padding: 36px 44px 30px !important;
    border: 2px solid #D9A21B !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-meta,
  #certificate-print-root .certificate-shell .certificate-meta,
  body:has(.certificate-shell) .certificate-shell .certificate-footer,
  #certificate-print-root .certificate-shell .certificate-footer {
    display: grid !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-main,
  #certificate-print-root .certificate-shell .certificate-main,
  body:has(.certificate-shell) .certificate-shell .certificate-summary,
  #certificate-print-root .certificate-shell .certificate-summary {
    display: block !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-seal,
  #certificate-print-root .certificate-shell .certificate-seal {
    display: flex !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-standard,
  #certificate-print-root .certificate-shell .certificate-standard,
  body:has(.certificate-shell) .certificate-shell .summary-pill,
  #certificate-print-root .certificate-shell .summary-pill {
    display: inline-block !important;
  }

  body:has(.certificate-shell) .certificate-preview-modal > header,
  body:has(.certificate-shell) .modal-actions {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Final certificate layout override: fixed A4 structure with safe vertical section spacing. */
.certificate-shell .certificate-inner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 28px 42px 24px !important;
  border: 2px solid #D9A21B !important;
  overflow: visible !important;
}

.certificate-shell .certificate-header {
  display: flex !important;
  position: relative !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 28px !important;
  flex: 0 0 auto !important;
  min-height: 0 !important;
  z-index: 2 !important;
}

.certificate-shell .certificate-meta {
  display: grid !important;
  gap: 8px !important;
  max-width: 340px !important;
  text-align: right !important;
  font-size: 12px !important;
  line-height: 1.28 !important;
  letter-spacing: 0.8px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.certificate-shell .certificate-main {
  display: block !important;
  align-self: start !important;
  flex: 0 1 auto !important;
  width: 100% !important;
  padding: 6px 88px 0 !important;
  text-align: center !important;
  z-index: 2 !important;
}

.certificate-shell .certificate-kicker {
  margin-bottom: 10px !important;
}

.certificate-shell .certificate-presented {
  margin-bottom: 7px !important;
}

.certificate-shell .certificate-name {
  font-size: 62px !important;
  margin-bottom: 9px !important;
}

.certificate-shell .certificate-learner-meta {
  margin-bottom: 14px !important;
}

.certificate-shell .certificate-awarded {
  margin-bottom: 8px !important;
}

.certificate-shell .certificate-award-title {
  font-size: 34px !important;
  margin-bottom: 10px !important;
}

.certificate-shell .certificate-standard {
  display: inline-block !important;
  margin-bottom: 10px !important;
  padding: 10px 42px !important;
  position: relative !important;
  z-index: 3 !important;
}

.certificate-shell .certificate-reason {
  font-size: 18px !important;
}

.certificate-shell .certificate-summary {
  display: block !important;
  position: relative !important;
  width: 72% !important;
  margin: 0 auto !important;
  align-self: center !important;
  flex: 0 0 auto !important;
  max-height: none !important;
  padding: 13px 22px !important;
  overflow: visible !important;
  z-index: 2 !important;
}

.certificate-shell .summary-title {
  margin-bottom: 6px !important;
}

.certificate-shell .certificate-summary p {
  font-size: 16px !important;
}

.certificate-shell .summary-pill {
  margin-top: 8px !important;
  padding: 6px 18px !important;
}

.certificate-shell .certificate-seal {
  position: absolute !important;
  right: 62px !important;
  bottom: 132px !important;
  display: flex !important;
  width: 96px !important;
  height: 96px !important;
  z-index: 3 !important;
}

.certificate-shell .certificate-footer {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 32px !important;
  align-items: end !important;
  flex: 0 0 auto !important;
  min-height: 0 !important;
  padding-top: 16px !important;
  border-top: 1px solid #CBD5E1 !important;
  z-index: 2 !important;
}

.certificate-shell .signature-line {
  margin-bottom: 8px !important;
}

.certificate-shell .signature-block strong,
.certificate-shell .signature-block span,
.certificate-shell .certificate-ref-bottom span,
.certificate-shell .certificate-ref-bottom strong {
  line-height: 1.18 !important;
}

.certificate-shell .certificate-ref-bottom strong {
  overflow-wrap: anywhere;
}

@media print {
  body:has(.certificate-shell) .certificate-shell .certificate-inner,
  #certificate-print-root .certificate-shell .certificate-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 28px 42px 24px !important;
    overflow: visible !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-meta,
  #certificate-print-root .certificate-shell .certificate-meta {
    display: grid !important;
    gap: 8px !important;
    max-width: 340px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-main,
  #certificate-print-root .certificate-shell .certificate-main {
    padding: 6px 88px 0 !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-summary,
  #certificate-print-root .certificate-shell .certificate-summary {
    padding: 13px 22px !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-seal,
  #certificate-print-root .certificate-shell .certificate-seal {
    right: 62px !important;
    bottom: 132px !important;
    width: 96px !important;
    height: 96px !important;
  }

  body:has(.certificate-shell) .certificate-shell .certificate-footer,
  #certificate-print-root .certificate-shell .certificate-footer {
    gap: 32px !important;
    padding-top: 16px !important;
  }

  body:has(.certificate-shell) .certificate-shell .signature-line,
  #certificate-print-root .certificate-shell .signature-line {
    margin-bottom: 8px !important;
  }
}

/* School / Partner executive dashboard middle section. */
.cohort-position-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #f5b41b;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.cohort-position-card h3,
.cohort-position-card p {
  margin: 0;
}

.cohort-position-card h3 {
  margin-top: 5px;
  color: #071b4d;
  font-size: 1.24rem;
}

.cohort-position-card p:not(.eyebrow) {
  margin-top: 8px;
  color: #475569;
  line-height: 1.55;
  font-weight: 700;
}

.position-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.position-chips .chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #071b4d;
  font-size: 0.78rem;
  font-weight: 1000;
}

.position-chips .chip.green { border-color: #bbf7d0; background: #ecfdf3; color: #166534; }
.position-chips .chip.gold { border-color: #f5b41b; background: #fff7e0; color: #7a4f01; }
.position-chips .chip.amber { border-color: #fed7aa; background: #fff7e6; color: #92400e; }
.position-chips .chip.blue { border-color: #bfdbfe; background: #eef6ff; color: #1e40af; }

.executive-kpi-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 26px 0;
}

.kpi-group {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.kpi-group h4 {
  margin: 0 0 14px;
  color: #071b4d;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
}

.kpi-mini-grid {
  display: grid;
  gap: 12px;
}

.executive-kpi-card {
  border: 1px solid #e2e8f0;
  border-left: 4px solid #071b4d;
  border-radius: 14px;
  padding: 16px;
  background: #f8fafc;
}

.executive-kpi-card .kpi-label {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.executive-kpi-card strong {
  display: block;
  color: #071b4d;
  font-size: 34px;
  line-height: 1.1;
  margin: 4px 0;
}

.executive-kpi-card small {
  color: #475569;
  font-weight: 700;
}

.executive-kpi-card.green { border-left-color: #15803d; }
.executive-kpi-card.amber { border-left-color: #b45309; }
.executive-kpi-card.red { border-left-color: #b91c1c; }
.executive-kpi-card.blue { border-left-color: #1d4ed8; }
.executive-kpi-card.gold { border-left-color: #d9a21b; }
.executive-kpi-card.navy { border-left-color: #071b4d; }

.school-priority-card {
  border-left: 5px solid #f5b41b;
}

.school-priority-card h3 {
  margin: 4px 0 0;
  color: #071b4d;
  font-size: 1.24rem;
}

.school-priority-card .school-action-list li {
  position: relative;
  padding-left: 36px;
  background: #fbfdff;
}

.school-priority-card .school-action-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5b41b;
}

.awards-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.awards-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.awards-header .eyebrow {
  color: #b45309;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.awards-header h3 {
  margin: 4px 0;
  color: #071b4d;
  font-size: 22px;
}

.awards-header p {
  margin: 0;
  color: #475569;
}

.awards-count-badge {
  border: 1px solid #d9a21b;
  background: #fff7e0;
  color: #7a4f01;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  white-space: nowrap;
}

.awards-section .awards-grid {
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
}

.award-card.premium {
  border: 1px solid #e2e8f0;
  border-top: 4px solid #d9a21b;
  border-left: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.award-card.premium:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 162, 27, 0.55);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.award-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.award-card-header .learner-avatar {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border: 2px solid #d9a21b;
  background: #fff7e0;
  color: #071b4d;
  font-size: 0.9rem;
}

.award-card.premium h4 {
  margin: 0;
  color: #071b4d;
  font-size: 17px;
}

.award-card-header p {
  margin: 3px 0 0;
  color: #071b4d;
  font-weight: 900;
}

.award-reason {
  color: #475569;
  line-height: 1.45;
  margin: 12px 0;
}

.award-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.award-meta span {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.award-card.premium .award-certificate-link {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
}

@media (max-width: 1100px) {
  .executive-kpi-groups,
  .cohort-position-card {
    grid-template-columns: 1fr;
  }

  .position-chips {
    justify-content: flex-start;
  }
}

.tutor-signoff-layout:has(.report-incident-panel) .tutor-workspace-nav {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 24px;
  background: #071b4d;
  box-shadow: 0 18px 44px rgba(4, 18, 54, 0.18);
}

.tutor-signoff-layout:has(.report-incident-panel) .tutor-workspace-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.tutor-signoff-layout:has(.report-incident-panel) .tutor-workspace-nav button.active {
  border-color: #f5b41b;
  background: #f5b41b;
  color: #071b4d;
}

.report-incident-panel {
  min-height: 100vh;
  background: #f4f7fb;
}

.report-incident-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 32px 24px;
}

.incident-warning-banner {
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, #061b46 0%, #0d3c87 100%);
  color: #ffffff;
  box-shadow: 0 24px 54px rgba(4, 18, 54, 0.24);
}

.incident-warning-banner .eyebrow {
  margin: 0;
  color: #f5b41b;
  letter-spacing: 0.22em;
}

.incident-warning-banner h1 {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 1000;
  letter-spacing: -0.02em;
}

.incident-warning-banner p:not(.eyebrow) {
  max-width: 860px;
  margin: 14px 0 0;
  color: #dbeafe;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.6;
}

.incident-form-card,
.incident-log-panel {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #dbe3ef;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.incident-submit-message {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 900;
}

.incident-submit-message.success {
  border: 1px solid #bbf7d0;
  background: #ecfdf3;
  color: #166534;
}

.incident-submit-message.urgent,
.incident-submit-message.error {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.incident-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.incident-field {
  display: grid;
  gap: 8px;
}

.incident-field.full-width,
.incident-declaration.full-width,
.incident-submit-row.full-width {
  grid-column: 1 / -1;
}

.incident-field label,
.incident-declaration {
  color: #071b4d;
  font-size: 0.82rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.incident-field input,
.incident-field select,
.incident-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  color: #071b4d;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.incident-field input,
.incident-field select {
  min-height: 52px;
  padding: 0 14px;
}

.incident-field textarea {
  min-height: 118px;
  padding: 14px;
  resize: vertical;
}

.incident-field input:focus,
.incident-field select:focus,
.incident-field textarea:focus {
  border-color: #f5b41b;
  outline: none;
  box-shadow: 0 0 0 4px rgba(245, 180, 27, 0.16);
}

.incident-error {
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 900;
}

.incident-risk-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.incident-risk-card {
  min-height: 64px;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  color: #071b4d;
  font-size: 0.92rem;
  font-weight: 1000;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.incident-risk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.incident-risk-card--low { border-color: #86efac; background: #ecfdf3; color: #166534; }
.incident-risk-card--medium { border-color: #fde68a; background: #fff7e6; color: #92400e; }
.incident-risk-card--high { border-color: #fed7aa; background: #fff1e8; color: #9a3412; }
.incident-risk-card--critical { border-color: #fecaca; background: #fff1f2; color: #991b1b; }

.incident-risk-card--selected {
  box-shadow: 0 0 0 4px rgba(245, 180, 27, 0.25), 0 16px 30px rgba(15, 23, 42, 0.12);
  border-color: #071b4d;
}

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

.incident-toggle-button {
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-weight: 1000;
  cursor: pointer;
}

.incident-toggle-button.active {
  border-color: #f5b41b;
  background: #071b4d;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(245, 180, 27, 0.14);
}

.incident-follow-up-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.incident-check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #f8fafc;
  color: #071b4d;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
}

.incident-check-option input,
.incident-declaration input {
  width: 18px;
  height: 18px;
  accent-color: #071b4d;
}

.incident-upload-panel {
  padding: 18px;
  border: 2px dashed #cbd5e1;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.incident-upload-panel input[type="file"] {
  padding: 14px;
  border-style: dashed;
  background: #ffffff;
}

.incident-evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.incident-evidence-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 900;
}

.incident-declaration {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: #f8fafc;
}

.incident-submit-row {
  display: flex;
  justify-content: flex-end;
}

.incident-submit-button {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: #f5b41b;
  color: #071b4d;
  font-weight: 1000;
  box-shadow: 0 14px 28px rgba(245, 180, 27, 0.22);
  cursor: pointer;
}

@media (max-width: 760px) {
  .report-incident-shell {
    padding: 20px 14px;
  }

  .incident-warning-banner,
  .incident-form-card,
  .incident-log-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .incident-form-grid,
  .incident-risk-options {
    grid-template-columns: 1fr;
  }
}

/* Admin learner slot list: full-width horizontal rows */
body:has(#adminView:not(.hidden)) .app-shell {
  --portal-header-inline:max(var(--shell-pad),calc((100vw - 1500px) / 2 + var(--shell-pad)));
  width: min(100%, 1500px);
}

#adminView .admin-record-panels {
  width: 100%;
}

#adminView .cohort-slot-overview {
  width: 100%;
  max-width: none;
  padding: 24px;
}

#adminView .cohort-slot-summary,
#adminView .live-setup-panel {
  width: 100%;
}

#adminView .cohort-slot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px;
  width: 100%;
}

#adminView .cohort-slot-card,
#adminView .cohort-slot-card.assigned,
#adminView .assigned-slot-card,
#adminView .cohort-slot-card.available {
  grid-column: 1 / -1 !important;
  width: 100%;
  min-height: 108px;
  padding: 18px 20px;
  border-radius: 18px;
}

#adminView .assigned-slot-profile {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

#adminView .assigned-slot-photo .learner-avatar.large {
  width: 76px;
  height: 76px;
}

#adminView .assigned-slot-main {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(190px, 1.1fr) minmax(260px, 1.4fr) auto minmax(210px, auto);
  gap: 16px;
  align-items: center;
}

#adminView .assigned-slot-main h5,
#adminView .assigned-slot-main .slot-card-top,
#adminView .assigned-slot-main .assigned-slot-meta,
#adminView .assigned-slot-main .slot-status,
#adminView .assigned-slot-main .assigned-slot-actions {
  margin: 0;
}

#adminView .assigned-slot-main .slot-card-top {
  display: grid;
  justify-content: start;
  gap: 6px;
}

#adminView .assigned-slot-actions {
  justify-content: flex-end;
  white-space: nowrap;
}

#adminView .cohort-slot-card.available {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) minmax(220px, 1.4fr) auto minmax(220px, auto);
  gap: 18px;
  align-items: center;
}

#adminView .cohort-slot-card.available .slot-card-top,
#adminView .cohort-slot-card.available h5,
#adminView .cohort-slot-card.available .slot-status,
#adminView .cohort-slot-card.available button {
  margin: 0;
}

#adminView .cohort-slot-card.available button {
  justify-self: end;
  min-width: 210px;
}

@media (max-width: 1100px) {
  #adminView .assigned-slot-main,
  #adminView .cohort-slot-card.available {
    grid-template-columns: 1fr;
  }

  #adminView .assigned-slot-actions,
  #adminView .cohort-slot-card.available button {
    justify-self: stretch;
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 720px) {
  #adminView .assigned-slot-profile {
    grid-template-columns: 1fr;
  }
}

/* Final override: Admin > Create real learner records full-width row layout */
#adminView .cohort-slot-overview {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
}

#adminView .live-setup-panel,
#adminView .cohort-slot-summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
}

#adminView .cohort-slot-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
}

#adminView .cohort-slot-card,
#adminView .cohort-slot-card.assigned,
#adminView .cohort-slot-card.available,
#adminView .assigned-slot-card {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 104px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

#adminView .cohort-slot-card.assigned,
#adminView .assigned-slot-card {
  align-items: center !important;
}

#adminView .assigned-slot-profile {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}

#adminView .assigned-slot-photo .learner-avatar.large {
  width: 72px !important;
  height: 72px !important;
}

#adminView .assigned-slot-main {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 18px !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}

#adminView .assigned-slot-main .slot-card-top {
  display: grid !important;
  gap: 4px !important;
  flex: 0 0 125px !important;
  min-width: 105px !important;
}

#adminView .assigned-slot-main h5 {
  flex: 1 1 220px !important;
  min-width: 160px !important;
  margin: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
}

#adminView .assigned-slot-meta {
  flex: 1 1 280px !important;
  min-width: 220px !important;
}

#adminView .assigned-slot-main .slot-status {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

#adminView .assigned-slot-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
  white-space: nowrap !important;
}

#adminView .cohort-slot-card.available {
  align-items: center !important;
  gap: 20px !important;
}

#adminView .cohort-slot-card.available .slot-card-top {
  flex: 0 0 170px !important;
}

#adminView .cohort-slot-card.available h5 {
  flex: 1 1 auto !important;
  margin: 0 !important;
}

#adminView .cohort-slot-card.available .slot-status {
  flex: 0 0 auto !important;
}

#adminView .cohort-slot-card.available button {
  flex: 0 0 220px !important;
  margin-left: auto !important;
}

@media (max-width: 980px) {
  #adminView .live-setup-panel,
  #adminView .cohort-slot-summary,
  #adminView .assigned-slot-profile,
  #adminView .assigned-slot-main,
  #adminView .cohort-slot-card.available {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  #adminView .assigned-slot-main .slot-card-top,
  #adminView .assigned-slot-main h5,
  #adminView .assigned-slot-meta,
  #adminView .cohort-slot-card.available .slot-card-top,
  #adminView .cohort-slot-card.available h5,
  #adminView .cohort-slot-card.available button {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  #adminView .assigned-slot-actions,
  #adminView .cohort-slot-card.available button {
    margin-left: 0 !important;
    justify-content: flex-start !important;
  }
}

#adminView .admin-cohort-debug-panel {
  width: 100%;
  margin: 18px 0;
  padding: 18px;
  border: 2px solid #f5b41b;
  border-radius: 16px;
  background: #fffaf0;
  box-shadow: 0 10px 24px rgba(7, 27, 77, 0.08);
}

#adminView .admin-debug-warning {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #f59e0b;
  border-radius: 12px;
  background: #fffbeb;
  color: #92400e;
  font-weight: 900;
}

#adminView .debug-panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

#adminView .admin-debug-conflicts {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #f5b41b;
  border-radius: 14px;
  background: #ffffff;
}

#adminView .admin-debug-conflicts h5 {
  margin: 0;
  color: #071b4d;
  font-size: 15px;
}

#adminView .admin-debug-conflict-row {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  background: #fffbeb;
}

#adminView .admin-debug-conflict-row strong,
#adminView .admin-debug-conflict-row span,
#adminView .admin-debug-conflict-row small {
  color: #071b4d;
  font-weight: 800;
}

#adminView .admin-debug-conflict-row small {
  color: #64748b;
}

#adminView .admin-debug-table-wrap {
  width: 100%;
  overflow-x: auto;
}

#adminView .admin-debug-table {
  width: 100%;
  min-width: 1400px;
  border-collapse: collapse;
  font-size: 12px;
  background: #ffffff;
}

#adminView .admin-debug-table th,
#adminView .admin-debug-table td {
  padding: 10px;
  border: 1px solid #dbe3ef;
  text-align: left;
  vertical-align: top;
  color: #071b4d;
  word-break: normal;
}

#adminView .admin-debug-table th {
  background: #071b4d;
  color: #ffffff;
  font-weight: 900;
}

#adminView .admin-debug-table tr.not-allocated td {
  background: #fff1f2;
}

#adminView .admin-debug-table tr.allocated td {
  background: #ecfdf3;
}

.lesson-persistence-diagnostic {
  border: 1px dashed #f5b41b;
  background: #fffaf0;
}

html:not(.evidence-debug-enabled) .lesson-step-card.lesson-persistence-diagnostic {
  display: none !important;
}

html:not(.mark-debug-enabled) .tutor-mark-save-diagnostic {
  display: none !important;
}

.lesson-persistence-diagnostic .mark-submission-facts {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.supabase-debug-output {
  margin: 14px 0 0;
  max-height: 220px;
  overflow: auto;
  border-radius: 12px;
  background: #071b4d;
  color: #ffffff;
  padding: 14px;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Employer Talent Dashboard second-pass premium upgrade - visual CSS only */
#employerView:not(.hidden) {
  padding: clamp(12px, 2vw, 20px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 0%, rgba(242, 182, 50, 0.18), transparent 22rem),
    linear-gradient(180deg, #eef4fb 0%, #f8fbff 48%, #ffffff 100%);
}

#employerView:not(.hidden) .section-heading {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(174, 190, 208, 0.56);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(15, 35, 63, 0.08);
}

#employerView:not(.hidden) .employer-talent-pipeline-page {
  gap: 32px;
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid rgba(174, 190, 208, 0.5);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 252, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(27, 93, 137, 0.12), transparent 26rem);
  box-shadow: 0 28px 70px rgba(11, 31, 77, 0.13);
}

#employerView:not(.hidden) .employer-filter-panel {
  gap: 22px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(11, 31, 77, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(180deg, #0b1f4d 0 76px, #ffffff 76px, #f8fbff 100%);
  box-shadow:
    0 30px 70px rgba(11, 31, 77, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

#employerView:not(.hidden) .employer-filter-panel::before {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(242, 182, 50, 0.64);
  background: linear-gradient(135deg, #f2b632, #ffe38f);
  color: #071b4d;
  box-shadow: 0 14px 28px rgba(242, 182, 50, 0.2);
}

#employerView:not(.hidden) .employer-filter-panel::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin-top: -8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2b632, #ffe08a, rgba(255, 255, 255, 0));
}

#employerView:not(.hidden) .employer-filter-grid {
  gap: 18px 20px;
  padding-top: 2px;
}

#employerView:not(.hidden) .employer-filter-grid label {
  gap: 9px;
  color: #0b1f4d;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#employerView:not(.hidden) .employer-filter-grid input,
#employerView:not(.hidden) .employer-filter-grid select {
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(11, 31, 77, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  color: #071b4d;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(174, 190, 208, 0.18),
    0 12px 24px rgba(15, 35, 63, 0.07);
}

#employerView:not(.hidden) .employer-filter-grid select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #0b1f4d 50%),
    linear-gradient(135deg, #0b1f4d 50%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
  padding-right: 38px;
}

#employerView:not(.hidden) .employer-filter-grid input:focus,
#employerView:not(.hidden) .employer-filter-grid select:focus {
  border-color: #0b1f4d;
  box-shadow:
    0 0 0 4px rgba(242, 182, 50, 0.28),
    0 0 0 1px rgba(11, 31, 77, 0.12),
    0 16px 32px rgba(11, 31, 77, 0.14);
  transform: translateY(-1px);
}

#employerView:not(.hidden) .quick-filter-row {
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(174, 190, 208, 0.5);
  border-radius: 20px;
  background: rgba(244, 248, 252, 0.82);
}

#employerView:not(.hidden) .quick-filter-row .secondary-action {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(11, 31, 77, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1f4d;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 16px rgba(15, 35, 63, 0.07);
}

#employerView:not(.hidden) .quick-filter-row .secondary-action:hover,
#employerView:not(.hidden) .quick-filter-row .secondary-action:focus-visible {
  border-color: #f2b632;
  background: #0b1f4d;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(11, 31, 77, 0.18);
  transform: translateY(-1px);
}

#employerView:not(.hidden) .quick-filter-row .secondary-action.active-filter {
  border-color: #f2b632 !important;
  background: #0b1f4d !important;
  color: #f8d45c !important;
  box-shadow:
    inset 0 0 0 1px rgba(248, 212, 92, 0.48),
    0 14px 28px rgba(11, 31, 77, 0.22);
}

#employerView:not(.hidden) .active-filter-summary {
  padding: 10px 13px;
  border-color: rgba(242, 182, 50, 0.34);
  background: #fff8dc;
  color: #071b4d;
  font-size: 0.78rem;
  box-shadow: 0 8px 18px rgba(242, 182, 50, 0.1);
}

#employerView:not(.hidden) .talent-pipeline-summary {
  gap: 18px;
}

#employerView:not(.hidden) .talent-pipeline-summary article {
  min-height: 162px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 62%, #fff7dc 100%);
  box-shadow:
    0 24px 52px rgba(11, 31, 77, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#employerView:not(.hidden) .talent-pipeline-summary article::before {
  height: 7px;
  background: linear-gradient(90deg, #0b1f4d, #f2b632, #ffe08a);
}

#employerView:not(.hidden) .talent-pipeline-summary span {
  color: #071b4d;
  font-size: 0.72rem;
}

#employerView:not(.hidden) .talent-pipeline-summary strong {
  color: #0b1f4d;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

#employerView:not(.hidden) .talent-pipeline-summary p {
  color: #52657d;
  font-size: 0.84rem;
}

#employerView:not(.hidden) .talent-pipeline-table-card,
#employerView:not(.hidden) .professional-league-panel {
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(11, 31, 77, 0.14);
  border-radius: 32px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 28px 68px rgba(11, 31, 77, 0.13);
}

#employerView:not(.hidden) .talent-pipeline-table-card > .panel-head,
#employerView:not(.hidden) .professional-league-head {
  padding: 22px 24px 22px 28px;
  border: 1px solid rgba(242, 182, 50, 0.4);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 248, 220, 0.98), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.22), transparent 18rem);
  box-shadow: 0 16px 34px rgba(15, 35, 63, 0.08);
}

#employerView:not(.hidden) .talent-pipeline-table-card > .panel-head::before,
#employerView:not(.hidden) .professional-league-head::before {
  top: 18px;
  bottom: 18px;
  width: 7px;
  background: linear-gradient(180deg, #f2b632, #ffe08a);
}

#employerView:not(.hidden) .talent-pipeline-table-card > .panel-head .eyebrow,
#employerView:not(.hidden) .professional-league-head .eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(11, 31, 77, 0.18);
  border-radius: 999px;
  background: #0b1f4d;
  color: #f8d45c;
  letter-spacing: 0.08em;
}

#employerView:not(.hidden) .talent-pipeline-table-card > .panel-head h4,
#employerView:not(.hidden) .professional-league-head h4 {
  margin-top: 9px;
  color: #071b4d;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.05;
}

@media (max-width: 760px) {
  #employerView:not(.hidden) {
    padding: 8px;
    border-radius: 22px;
  }

  #employerView:not(.hidden) .employer-talent-pipeline-page,
  #employerView:not(.hidden) .employer-filter-panel,
  #employerView:not(.hidden) .talent-pipeline-table-card,
  #employerView:not(.hidden) .professional-league-panel {
    border-radius: 24px;
  }

  #employerView:not(.hidden) .quick-filter-row .secondary-action {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
}

/* Employer dashboard hero and KPI summary premium upgrade - visual CSS only */
#employerView:not(.hidden) .employer-talent-pipeline-page .employer-dashboard-hero {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: clamp(22px, 3vw, 38px);
  min-height: 260px;
  padding: clamp(30px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(248, 212, 92, 0.28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 182, 50, 0.24), transparent 20rem),
    radial-gradient(circle at 20% 0%, rgba(49, 111, 184, 0.34), transparent 28rem),
    linear-gradient(135deg, #06163c 0%, #0b1f4d 48%, #123a78 100%);
  box-shadow:
    0 34px 74px rgba(7, 27, 77, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -1px 0 rgba(242, 182, 50, 0.18);
}

#employerView:not(.hidden) .employer-talent-pipeline-page .employer-dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(242, 182, 50, 0.95), rgba(255, 224, 138, 0.65), transparent 42%) top left / 100% 5px no-repeat,
    linear-gradient(180deg, rgba(242, 182, 50, 0.72), transparent 32%) top left / 5px 100% no-repeat;
}

#employerView:not(.hidden) .employer-talent-pipeline-page .employer-dashboard-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  pointer-events: none;
  border: 1px solid rgba(248, 212, 92, 0.2);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 66%);
}

#employerView:not(.hidden) .employer-talent-pipeline-page .employer-dashboard-hero > div:first-child {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  max-width: 760px;
}

#employerView:not(.hidden) .employer-talent-pipeline-page .employer-dashboard-hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid rgba(248, 212, 92, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #f8d45c;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

#employerView:not(.hidden) .employer-talent-pipeline-page .employer-dashboard-hero h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 1000;
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

#employerView:not(.hidden) .employer-talent-pipeline-page .employer-dashboard-hero p:not(.eyebrow) {
  max-width: 58rem;
  margin: 0;
  color: rgba(235, 244, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 760;
  line-height: 1.55;
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-hero-stat {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(248, 212, 92, 0.34);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07)),
    rgba(7, 27, 77, 0.38);
  box-shadow:
    0 24px 48px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-hero-stat::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2b632, #ffe08a);
  box-shadow: 0 0 22px rgba(242, 182, 50, 0.38);
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-hero-stat span {
  color: rgba(235, 244, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-hero-stat strong {
  color: #f8d45c;
  font-size: clamp(4rem, 7vw, 6.4rem);
  font-weight: 1000;
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-hero-stat em {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.4;
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-pipeline-summary {
  position: relative;
  margin-top: -8px;
  padding: 4px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(235, 244, 255, 0.44));
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-pipeline-summary article {
  min-height: 176px;
  align-content: start;
  gap: 12px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(11, 31, 77, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.13), transparent 12rem);
  box-shadow:
    0 24px 52px rgba(11, 31, 77, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-pipeline-summary article::before {
  height: 6px;
  background: linear-gradient(90deg, #f2b632, #ffe08a, #1b5d89);
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-pipeline-summary article::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 182, 50, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(242, 182, 50, 0.16), rgba(255, 255, 255, 0.72));
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-pipeline-summary span {
  color: #0b1f4d;
  font-size: 0.73rem;
  font-weight: 1000;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-pipeline-summary strong {
  color: #0b1f4d;
  font-size: clamp(2.65rem, 4vw, 3.65rem);
  font-weight: 1000;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

#employerView:not(.hidden) .employer-talent-pipeline-page .talent-pipeline-summary p {
  max-width: 16rem;
  color: #536781;
  font-size: 0.86rem;
  font-weight: 820;
  line-height: 1.38;
}

@media (max-width: 980px) {
  #employerView:not(.hidden) .employer-talent-pipeline-page .employer-dashboard-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  #employerView:not(.hidden) .employer-talent-pipeline-page .talent-hero-stat {
    min-height: 150px;
  }
}

@media (max-width: 640px) {
  #employerView:not(.hidden) .employer-talent-pipeline-page .employer-dashboard-hero {
    padding: 26px 20px;
    border-radius: 26px;
  }

  #employerView:not(.hidden) .employer-talent-pipeline-page .employer-dashboard-hero h3 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  #employerView:not(.hidden) .employer-talent-pipeline-page .talent-pipeline-summary article {
    min-height: 142px;
  }
}

/* Employer hero/KPI active-path selector bridge - covers legacy dashboard markup */
#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
  min-height: 260px;
  padding: clamp(30px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(248, 212, 92, 0.28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 182, 50, 0.24), transparent 20rem),
    radial-gradient(circle at 20% 0%, rgba(49, 111, 184, 0.34), transparent 28rem),
    linear-gradient(135deg, #06163c 0%, #0b1f4d 48%, #123a78 100%);
  box-shadow:
    0 34px 74px rgba(7, 27, 77, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -1px 0 rgba(242, 182, 50, 0.18);
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(242, 182, 50, 0.95), rgba(255, 224, 138, 0.65), transparent 42%) top left / 100% 5px no-repeat,
    linear-gradient(180deg, rgba(242, 182, 50, 0.72), transparent 32%) top left / 5px 100% no-repeat;
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  pointer-events: none;
  border: 1px solid rgba(248, 212, 92, 0.2);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 66%);
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero > div:first-child,
#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero .talent-hero-stat {
  position: relative;
  z-index: 1;
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero > div:first-child {
  display: grid;
  align-content: center;
  gap: 12px;
  max-width: 760px;
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid rgba(248, 212, 92, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #f8d45c;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 1000;
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero p:not(.eyebrow) {
  max-width: 58rem;
  margin: 0;
  color: rgba(235, 244, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 760;
  line-height: 1.55;
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero .talent-hero-stat {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(248, 212, 92, 0.34);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07)),
    rgba(7, 27, 77, 0.38);
  box-shadow:
    0 24px 48px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero .talent-hero-stat::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2b632, #ffe08a);
  box-shadow: 0 0 22px rgba(242, 182, 50, 0.38);
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero .talent-hero-stat span {
  color: rgba(235, 244, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero .talent-hero-stat strong {
  color: #f8d45c;
  font-size: clamp(4rem, 7vw, 6.4rem);
  font-weight: 1000;
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

#employerView:not(.hidden) .employer-panel > .employer-dashboard-hero .talent-hero-stat em {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.4;
}

#employerView:not(.hidden) .employer-panel > .talent-pool-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: -8px;
  padding: 4px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(235, 244, 255, 0.44));
}

#employerView:not(.hidden) .employer-panel > .talent-pool-summary article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 176px;
  padding: 26px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.13), transparent 12rem);
  box-shadow:
    0 24px 52px rgba(11, 31, 77, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

#employerView:not(.hidden) .employer-panel > .talent-pool-summary article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #f2b632, #ffe08a, #1b5d89);
}

#employerView:not(.hidden) .employer-panel > .talent-pool-summary article::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 182, 50, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(242, 182, 50, 0.16), rgba(255, 255, 255, 0.72));
}

#employerView:not(.hidden) .employer-panel > .talent-pool-summary span {
  color: #0b1f4d;
  font-size: 0.73rem;
  font-weight: 1000;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

#employerView:not(.hidden) .employer-panel > .talent-pool-summary strong {
  color: #0b1f4d;
  font-size: clamp(2.1rem, 3vw, 3.1rem);
  font-weight: 1000;
  line-height: 0.96;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  #employerView:not(.hidden) .employer-panel > .employer-dashboard-hero,
  #employerView:not(.hidden) .employer-panel > .talent-pool-summary {
    grid-template-columns: 1fr;
  }

  #employerView:not(.hidden) .employer-panel > .employer-dashboard-hero {
    min-height: 0;
  }
}

/* Unified TFE premium primary navigation buttons. Keep this late so older page-level
   white/gold button overrides inherit the same branded language. */
:is(.primary-action, .secondary-action):not(.action-success):not(.action-error):not(.is-failed) {
  min-height: 46px;
  padding: 11px 22px;
  border: 2px solid var(--tfe-button-gold-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
  box-shadow:
    inset 0 1px 0 var(--tfe-button-gold-highlight),
    0 12px 26px rgba(7, 27, 77, 0.18),
    0 2px 0 rgba(216, 154, 19, 0.28);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

:is(.primary-action, .secondary-action):not(.action-success):not(.action-error):not(.is-failed):hover:not(:disabled),
:is(.primary-action, .secondary-action):not(.action-success):not(.action-error):not(.is-failed):focus-visible {
  transform: translateY(-1px);
  border-color: #f2b632;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy-hover);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.42),
    0 16px 32px rgba(7, 27, 77, 0.24),
    0 0 0 4px rgba(242, 182, 50, 0.12);
}

:is(.primary-action, .secondary-action):not(.action-success):not(.action-error):not(.is-failed):active:not(:disabled) {
  transform: translateY(0);
  border-color: #b8790f;
  background: var(--tfe-button-navy-pressed);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.2),
    0 8px 16px rgba(7, 27, 77, 0.18);
}

:is(.primary-action, .secondary-action, .school-ilp-button, .school-intelligence-button):focus-visible {
  outline: 3px solid var(--tfe-button-focus);
  outline-offset: 3px;
}

:is(.primary-action, .secondary-action, .school-ilp-button, .school-intelligence-button) :is(svg, img) {
  flex: 0 0 auto;
}

#employerView:not(.hidden) :is(.employer-pipeline-nav, .pipeline-actions, .candidate-card-footer, .employer-passport-action-strip, .cv-actions) :is(.primary-action, .secondary-action),
#employerView:not(.hidden) :is(.employer-pipeline-nav, .pipeline-actions, .candidate-card-footer, .employer-passport-action-strip, .cv-actions) :is(.primary-action, .secondary-action).is-saved {
  border: 2px solid var(--tfe-button-gold-border) !important;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy) !important;
  color: #ffffff !important;
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 var(--tfe-button-gold-highlight),
    0 12px 26px rgba(7, 27, 77, 0.2),
    0 2px 0 rgba(216, 154, 19, 0.26);
}

#employerView:not(.hidden) :is(.employer-pipeline-nav, .pipeline-actions, .candidate-card-footer, .employer-passport-action-strip, .cv-actions) :is(.primary-action, .secondary-action):hover:not(:disabled),
#employerView:not(.hidden) :is(.employer-pipeline-nav, .pipeline-actions, .candidate-card-footer, .employer-passport-action-strip, .cv-actions) :is(.primary-action, .secondary-action):focus-visible {
  transform: translateY(-1px);
  border-color: #f2b632 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy-hover) !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.42),
    0 16px 32px rgba(7, 27, 77, 0.25),
    0 0 0 4px rgba(242, 182, 50, 0.12);
}

#employerView:not(.hidden) :is(.employer-pipeline-nav, .pipeline-actions, .candidate-card-footer, .employer-passport-action-strip, .cv-actions) :is(.primary-action, .secondary-action):active:not(:disabled) {
  transform: translateY(0);
  border-color: #b8790f !important;
  background: var(--tfe-button-navy-pressed) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.2),
    0 8px 16px rgba(7, 27, 77, 0.18);
}

@media (max-width: 980px) {
  .journey-road-stage {
    min-height: 440px;
  }

  .journey-progress-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .journey-phase-panel-row,
  .journey-expanded-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .journey-road-stage {
    display: grid;
    min-height: 0;
    padding: 16px;
  }

  .journey-road-svg,
  .journey-progress-pin,
  .journey-total-badge,
  .journey-marker-layer,
  .journey-milestone-layer {
    display: none;
  }

  .journey-progress-strip,
  .journey-phase-panel-row,
  .journey-expanded-grid,
  .journey-day-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero-panel.admin-hero-panel {
    grid-template-columns: 1fr;
  }

  .admin-hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .admin-tool-card {
    width: 100%;
    min-height: 118px;
    flex: 0 1 auto;
    align-items: center;
    text-align: center;
  }

  .admin-pathway-phase-strip,
  .admin-pathway-cohort-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-hero-logout {
    align-self: stretch;
    width: 100%;
  }

  .admin-community-manager-grid {
    grid-template-columns: 1fr;
  }

  .parent-community-post-grid {
    grid-template-columns: 1fr;
  }

  .community-news-card {
    padding: 18px;
    border-radius: 22px;
  }

  .community-news-card__main,
  .community-news-layout,
  .parent-community-latest .community-news-card:first-child .community-news-card__main {
    grid-template-columns: 1fr;
  }

  .community-news-card__media {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }

  .community-news-card__article {
    padding: 20px;
    border-radius: 18px;
  }

  .community-news-card__support {
    grid-template-columns: 1fr;
  }

  .community-news-card__highlights div {
    grid-template-columns: 1fr;
  }

  .community-news-card__highlights strong {
    text-align: left;
  }

  .community-news-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .parent-community-newsletter-hero,
  .parent-community-hero-copy {
    min-height: 420px;
  }

  .parent-community-hero-copy h3 {
    max-width: none;
  }

  .parent-community-learning-grid,
  .parent-community-success-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parent-community-hub-grid {
    grid-template-columns: 1fr;
  }

  .parent-support-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parent-support-option-grid,
  .parent-support-mini-metrics {
    grid-template-columns: 1fr;
  }

  .parent-attendance-row-list article {
    grid-template-columns: 1fr;
  }

  .parent-certificates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parent-certificate-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-pathway-phase-strip,
  .admin-pathway-cohort-summary {
    grid-template-columns: 1fr;
  }

  .admin-pathway-phase {
    min-height: 0;
  }

  .admin-pathway-day small {
    font-size: 0.5rem;
  }

  .admin-pathway-full-label { display: none; }
  .admin-pathway-compact-label { display: inline; }
}

@media (max-width: 600px) {
  .parent-community-post-grid,
  .parent-community-latest .parent-community-post-grid {
    gap: 22px;
    max-width: 100%;
  }

  .community-news-card {
    max-width: 100%;
    margin-bottom: 24px;
    padding: 14px;
    border-radius: 20px;
  }

  .community-news-card__ribbon {
    max-width: 100%;
    white-space: normal;
  }

  .community-news-card h5 {
    font-size: clamp(1.25rem, 8vw, 1.65rem);
  }

  .community-news-card__article,
  .community-news-card__support section,
  .community-news-card__recognition {
    padding: 16px;
  }

  .community-news-card__gallery div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-news-card__footer {
    padding: 14px;
  }
}

@media (max-width: 560px) {
  .admin-community-manager > header,
  .admin-community-form-card,
  .admin-community-preview-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .admin-community-actions {
    display: grid;
  }

  .admin-community-consent-bar {
    align-items: flex-start;
    min-height: 0;
  }

  .admin-community-consent-bar.is-complete::before {
    display: none;
  }

  .parent-community-newsletter-hero {
    border-radius: 24px;
  }

  .parent-community-newsletter-hero,
  .parent-community-hero-copy {
    min-height: 350px;
  }

  .parent-community-hero-copy {
    padding: 24px;
  }

  .parent-community-newsletter-hero::after {
    background:
      linear-gradient(180deg, rgba(4, 18, 54, 0.18) 0%, rgba(4, 18, 54, 0.88) 100%),
      linear-gradient(90deg, rgba(4, 18, 54, 0.48), rgba(4, 18, 54, 0.1));
  }

  .parent-community-section > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .parent-community-learning-grid,
  .parent-community-success-grid {
    grid-template-columns: 1fr;
  }

  .parent-community-learning-grid article {
    min-height: auto;
  }

  .parent-community-hub-cta {
    width: 100%;
    min-height: 118px;
    flex: 0 1 auto;
    align-items: center;
    text-align: center;
  }

  .school-hero-actions {
    width: 100%;
    flex: 0 1 auto;
    margin-left: 0;
  }

  .school-community-hub-button {
    margin-left: 0;
  }

  .parent-community-hub-view {
    padding: 18px;
    border-radius: 22px;
  }

  .parent-community-hub-view > header {
    flex-direction: column;
  }

  .parent-community-hub-view > header .secondary-action {
    width: 100%;
  }

  .parent-support-actions {
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 20px;
  }

  .parent-support-action-button {
    min-height: 52px;
  }

  .parent-support-modal-overlay {
    padding: 12px;
    place-items: start center;
  }

  .parent-support-modal {
    border-radius: 22px;
  }

  .parent-support-modal > header {
    flex-direction: column;
    padding: 20px;
  }

  .parent-support-modal-body {
    padding: 20px;
  }

  .parent-learner-insights {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .parent-learner-insight-card {
    padding: 18px;
    border-radius: 20px;
  }

  .parent-excellence-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .parent-excellence-grid {
    grid-template-columns: 1fr;
  }

  .parent-today-tfe-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .parent-today-tfe-card header {
    flex-direction: column;
  }

  .parent-today-evidence {
    padding: 20px;
    border-radius: 24px;
  }

  .parent-today-evidence-photo img {
    height: clamp(260px, 72vw, 360px);
  }

  .parent-certificates-showcase {
    padding: 20px;
    border-radius: 24px;
  }

  .parent-certificates-grid {
    grid-template-columns: 1fr;
  }

  .parent-certificate-modal-overlay {
    padding: 12px;
    place-items: start center;
  }

  .parent-certificate-modal {
    border-radius: 22px;
  }

  .parent-certificate-modal > header {
    flex-direction: column;
  }

  .parent-certificate-preview-sheet {
    min-height: 320px;
    padding: 24px;
  }
}

.tfe-lesson-card-completed {
  background: linear-gradient(180deg, #f1fff4 0%, #e8f8ec 100%) !important;
  border-color: #bfe8c8 !important;
  box-shadow: 0 8px 22px rgba(22, 101, 52, 0.10) !important;
}

.tfe-lesson-card-completed.current,
.tfe-lesson-card-completed.active {
  border-color: #d4af37 !important;
}

.tfe-lesson-card-completed .completed,
.tfe-lesson-card-completed .completed-badge,
.tfe-lesson-card-completed [class*="badge"] {
  background: #dff7e7 !important;
  color: #0f6b3a !important;
}

#learnerPortalContent .lesson-heading:has(.theory-learning-hero),
#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) {
  width: min(100%, 1240px);
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}

#learnerPortalContent .lesson-heading:has(.theory-learning-hero) {
  margin-top: 32px;
  margin-bottom: 24px;
}

body:has(.theory-learning-hero) #sessionStrip,
#learnerPortalContent:has(.theory-learning-hero) .learner-dashboard-topbar,
#learnerPortalContent:has(.theory-learning-hero) .learner-menu {
  display: none;
}

#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

#learnerPortalContent .learner-theory-phase-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin: 0 0 24px;
  overflow: visible;
  padding: 0;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card {
  min-width: 0;
  width: 100%;
  min-height: 156px;
  padding: 18px;
  border-radius: 20px;
  white-space: normal;
  overflow: visible;
  transform: none;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.active,
#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.current {
  background: linear-gradient(145deg, #0a2a66 0%, #071b4d 100%);
  color: #ffffff;
  border-color: rgba(212, 175, 55, 0.85);
  box-shadow: 0 18px 38px rgba(7, 27, 77, 0.18);
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.completed:not(.active) {
  background: linear-gradient(180deg, #f3fff5 0%, #ecfaef 100%);
  border-color: #c8ebd0;
  color: #071b4d;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.locked {
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  border-color: #d7e2ef;
  color: #64748b;
  opacity: 1;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card strong,
#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card span,
#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card em,
#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card small {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: normal;
  line-height: 1.25;
}

#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) .theory-progress-summary {
  width: 100%;
  margin: 0 0 32px;
}

#learnerPortalContent .learner-theory-lesson-map {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card {
  min-width: 0;
  width: 100%;
  min-height: 230px;
  overflow: visible;
  border: 1px solid rgba(217, 174, 43, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(7, 27, 77, 0.09),
    0 16px 34px rgba(7, 27, 77, 0.09);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .lesson-summary {
  min-height: 230px;
  padding: 18px;
  gap: 12px;
  overflow: visible;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .lesson-title {
  display: block;
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: normal;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  font-size: 1.05rem;
  line-height: 1.3;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .lesson-outcome {
  min-height: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: normal;
  line-height: 1.4;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .card-topline {
  flex-wrap: wrap;
  align-items: flex-start;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .day-pill,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .lesson-score {
  white-space: normal;
  line-height: 1.2;
}

:is(
  .tfe-premium-card,
  .tutor-hero,
  .hero-panel,
  .learner-hero,
  .apprentice-hero,
  .rating-hero,
  .admin-preview-banner,
  .premium-passport-hero-card,
  .premium-dashboard-hero-card,
  .premium-profile-card,
  .premium-readiness-card,
  .premium-next-action-card,
  .premium-readiness-evidence-summary,
  .learner-home-card.hero,
  .admin-intel-card,
  .admin-navigation-group,
  .tutor-priority-card,
  .ready-mark-card,
  .school-hero-card,
  .school-cohort-hero,
  .school-learner-hero,
  .school-community-hero,
  .cohort-briefing-hero,
  .cohort-executive-summary,
  .cohort-pillar-status-bar__item,
  .cohort-performance-pillar-card,
  .theory-knowledge-hero,
  .theory-phase-card.current,
  #learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.active,
  #learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.current,
  .community-hub-hero,
  .community-news-card__ribbon,
  .employer-hero,
  .employer-dashboard-hero,
  .management-dashboard-hero,
  .management-risk-hero,
  .recognition-hero,
  .incident-hero,
  .curriculum-hero,
  .cohort-position-hero
) {
  border: 1px solid var(--tfe-card-gold-border);
  box-shadow: var(--tfe-premium-card-shadow);
}

:is(
  .tutor-hero,
  .hero-panel,
  .learner-hero,
  .apprentice-hero,
  .rating-hero,
  .admin-preview-banner,
  .premium-passport-hero-card,
  .premium-dashboard-hero-card,
  .premium-profile-card,
  .premium-readiness-card,
  .premium-next-action-card,
  .premium-readiness-evidence-summary,
  .admin-intel-card,
  .admin-navigation-group,
  .tutor-priority-card,
  .ready-mark-card,
  .school-hero-card,
  .school-cohort-hero,
  .cohort-briefing-hero,
  .cohort-pillar-status-bar__item,
  .cohort-performance-pillar-card,
  .theory-knowledge-hero,
  .community-hub-hero,
  .employer-hero,
  .management-dashboard-hero,
  .recognition-hero,
  .incident-hero,
  .curriculum-hero
):hover {
  box-shadow: 0 20px 42px rgba(7, 27, 77, 0.2);
}

@media (max-width: 1100px) {
  #learnerPortalContent .learner-theory-phase-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #learnerPortalContent .learner-theory-lesson-map .theory-lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #learnerPortalContent .learner-theory-phase-timeline,
  #learnerPortalContent .learner-theory-lesson-map .theory-lesson-grid {
    grid-template-columns: 1fr;
  }

  #learnerPortalContent .lesson-heading:has(.theory-learning-hero),
  #learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) {
    padding-inline: 16px;
  }

  #learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) .theory-progress-summary {
    grid-template-columns: 1fr;
  }
}

.tfe-premium-nav-button,
.admin-back-button:not(.danger-action):not(.warning-action),
.parent-community-back-button:not(.danger-action):not(.warning-action),
.school-ilp-close:not(.danger-action):not(.warning-action),
.school-snapshot-close:not(.danger-action):not(.warning-action),
button[data-school-certificate-close]:not(.danger-action):not(.warning-action),
button.secondary-action:is(
  [data-back-learner-dashboard],
  [data-back-theory-grid],
  [data-back-daily-attendance],
  [data-admin-back-dashboard],
  [data-return-admin-dashboard],
  [data-admin-back-search-results],
  [data-back-theory-lessons],
  [data-back-lesson-evidence],
  [data-back-cohort-intelligence],
  [data-school-cohort-intelligence-back],
  [data-school-intelligence-back],
  [data-back-employer-dashboard],
  [data-close-learner-live-cv],
  [data-close-recognition-case],
  [data-close-management-case],
  [data-employer-route]
):not(.danger-action):not(.warning-action) {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 2px solid var(--tfe-button-gold-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
  box-shadow:
    inset 0 1px 0 var(--tfe-button-gold-highlight),
    0 12px 24px rgba(7, 27, 77, 0.2),
    0 2px 0 rgba(216, 154, 19, 0.24);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.tfe-premium-nav-button:hover:not(:disabled),
.tfe-premium-nav-button:focus-visible,
.admin-back-button:not(.danger-action):not(.warning-action):hover:not(:disabled),
.admin-back-button:not(.danger-action):not(.warning-action):focus-visible,
.parent-community-back-button:not(.danger-action):not(.warning-action):hover:not(:disabled),
.parent-community-back-button:not(.danger-action):not(.warning-action):focus-visible,
.school-ilp-close:not(.danger-action):not(.warning-action):hover:not(:disabled),
.school-ilp-close:not(.danger-action):not(.warning-action):focus-visible,
.school-snapshot-close:not(.danger-action):not(.warning-action):hover:not(:disabled),
.school-snapshot-close:not(.danger-action):not(.warning-action):focus-visible,
button[data-school-certificate-close]:not(.danger-action):not(.warning-action):hover:not(:disabled),
button[data-school-certificate-close]:not(.danger-action):not(.warning-action):focus-visible,
button.secondary-action:is(
  [data-back-learner-dashboard],
  [data-back-theory-grid],
  [data-back-daily-attendance],
  [data-admin-back-dashboard],
  [data-return-admin-dashboard],
  [data-admin-back-search-results],
  [data-back-theory-lessons],
  [data-back-lesson-evidence],
  [data-back-cohort-intelligence],
  [data-school-cohort-intelligence-back],
  [data-school-intelligence-back],
  [data-back-employer-dashboard],
  [data-close-learner-live-cv],
  [data-close-recognition-case],
  [data-close-management-case],
  [data-employer-route]
):not(.danger-action):not(.warning-action):hover:not(:disabled),
button.secondary-action:is(
  [data-back-learner-dashboard],
  [data-back-theory-grid],
  [data-back-daily-attendance],
  [data-admin-back-dashboard],
  [data-return-admin-dashboard],
  [data-admin-back-search-results],
  [data-back-theory-lessons],
  [data-back-lesson-evidence],
  [data-back-cohort-intelligence],
  [data-school-cohort-intelligence-back],
  [data-school-intelligence-back],
  [data-back-employer-dashboard],
  [data-close-learner-live-cv],
  [data-close-recognition-case],
  [data-close-management-case],
  [data-employer-route]
):not(.danger-action):not(.warning-action):focus-visible {
  transform: translateY(-1px);
  border-color: #f2b632;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy-hover);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.42),
    0 16px 32px rgba(7, 27, 77, 0.26),
    0 0 0 4px rgba(242, 182, 50, 0.16);
  outline: 3px solid var(--tfe-button-focus);
  outline-offset: 3px;
}

.tfe-premium-nav-button:active:not(:disabled),
.admin-back-button:not(.danger-action):not(.warning-action):active:not(:disabled),
.parent-community-back-button:not(.danger-action):not(.warning-action):active:not(:disabled),
.school-ilp-close:not(.danger-action):not(.warning-action):active:not(:disabled),
.school-snapshot-close:not(.danger-action):not(.warning-action):active:not(:disabled),
button[data-school-certificate-close]:not(.danger-action):not(.warning-action):active:not(:disabled),
button.secondary-action:is(
  [data-back-learner-dashboard],
  [data-back-theory-grid],
  [data-back-daily-attendance],
  [data-admin-back-dashboard],
  [data-return-admin-dashboard],
  [data-admin-back-search-results],
  [data-back-theory-lessons],
  [data-back-lesson-evidence],
  [data-back-cohort-intelligence],
  [data-school-cohort-intelligence-back],
  [data-school-intelligence-back],
  [data-back-employer-dashboard],
  [data-close-learner-live-cv],
  [data-close-recognition-case],
  [data-close-management-case],
  [data-employer-route]
):not(.danger-action):not(.warning-action):active:not(:disabled) {
  transform: translateY(0);
  border-color: #b8790f;
  background: var(--tfe-button-navy-pressed);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.2),
    0 8px 16px rgba(7, 27, 77, 0.18);
}

.theory-knowledge-view {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(7, 27, 77, 0.11) 0%, rgba(7, 27, 77, 0.055) 28%, rgba(7, 27, 77, 0) 58%),
    radial-gradient(circle at 100% 6%, rgba(216, 154, 19, 0.075) 0%, rgba(216, 154, 19, 0.032) 18%, rgba(216, 154, 19, 0) 42%),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f8 46%, #f8fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 42px 90px rgba(255, 255, 255, 0.34);
}

.theory-knowledge-view .theory-knowledge-hero {
  box-shadow:
    0 30px 72px rgba(3, 18, 58, 0.3),
    0 0 0 1px rgba(216, 154, 19, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theory-knowledge-view .theory-lesson-map {
  border-color: rgba(216, 154, 19, 0.34);
  background:
    radial-gradient(ellipse at 98% 0%, rgba(216, 154, 19, 0.045) 0%, rgba(216, 154, 19, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 56%, #eef4fb 100%);
  box-shadow:
    0 24px 54px rgba(7, 27, 77, 0.115),
    0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.theory-knowledge-view .theory-lesson-map > .panel-head {
  border-bottom-color: rgba(216, 154, 19, 0.16);
}

#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(7, 27, 77, 0.1) 0%, rgba(7, 27, 77, 0.046) 28%, rgba(7, 27, 77, 0) 58%),
    radial-gradient(circle at 100% 6%, rgba(216, 154, 19, 0.064) 0%, rgba(216, 154, 19, 0.026) 18%, rgba(216, 154, 19, 0) 42%),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f8 46%, #f8fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 42px 90px rgba(255, 255, 255, 0.3);
}

#learnerPortalContent .learner-theory-lesson-map {
  border-color: rgba(216, 154, 19, 0.34);
  background:
    radial-gradient(ellipse at 98% 0%, rgba(216, 154, 19, 0.045) 0%, rgba(216, 154, 19, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 56%, #eef4fb 100%);
  box-shadow:
    0 24px 54px rgba(7, 27, 77, 0.115),
    0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body:has(#authPanel:not(.hidden)),
body:has(#passwordRecoveryPanel:not(.hidden)) {
  background:
    radial-gradient(ellipse at 20% 8%, rgba(7, 27, 77, 0.16) 0%, rgba(7, 27, 77, 0.07) 30%, rgba(7, 27, 77, 0) 62%),
    radial-gradient(circle at 96% 12%, rgba(216, 154, 19, 0.085) 0%, rgba(216, 154, 19, 0.032) 22%, rgba(216, 154, 19, 0) 46%),
    linear-gradient(180deg, #f5f8fc 0%, #edf3f8 48%, #f8fbff 100%);
}

body:has(#authPanel:not(.hidden)) .login-shell,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-shell {
  border-color: rgba(216, 154, 19, 0.32);
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  box-shadow:
    0 34px 86px rgba(7, 27, 77, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body:has(#authPanel:not(.hidden)) .login-visual-panel,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-visual-panel {
  background:
    linear-gradient(135deg, rgba(4, 13, 34, 0.88) 0%, rgba(7, 27, 77, 0.7) 42%, rgba(7, 27, 77, 0.36) 100%),
    linear-gradient(0deg, rgba(4, 13, 34, 0.64), rgba(4, 13, 34, 0.08)),
    url("./public/assets/login-workshop-photo.webp") center / cover no-repeat;
}

body:has(#authPanel:not(.hidden)) .login-card-panel,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-card-panel {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(216, 154, 19, 0.045) 0%, rgba(216, 154, 19, 0) 36%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 64%, #eef4fb 100%);
}

body:has(#authPanel:not(.hidden)) #roleLoginForm select,
body:has(#authPanel:not(.hidden)) #roleLoginForm input,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm input {
  border-color: rgba(216, 154, 19, 0.5);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #071b4d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 0 1px rgba(7, 27, 77, 0.025),
    0 8px 18px rgba(7, 27, 77, 0.055);
}

body:has(#authPanel:not(.hidden)) #roleLoginForm select:focus,
body:has(#authPanel:not(.hidden)) #roleLoginForm input:focus,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm input:focus {
  border-color: #d89a13;
  outline: 3px solid rgba(216, 154, 19, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 0 0 1px rgba(216, 154, 19, 0.18),
    0 12px 24px rgba(7, 27, 77, 0.08);
}

body:has(#authPanel:not(.hidden)) #roleLoginForm .primary-action,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm .primary-action {
  border-color: #d89a13;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #10357d 0%, #071b4d 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.34),
    0 16px 34px rgba(7, 27, 77, 0.24);
}

body:has(#authPanel:not(.hidden)) #roleLoginForm .primary-action:hover:not(:disabled),
body:has(#authPanel:not(.hidden)) #roleLoginForm .primary-action:focus-visible,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm .primary-action:hover:not(:disabled),
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm .primary-action:focus-visible {
  border-color: #f2b632;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, #164091 0%, #09235f 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.44),
    0 18px 38px rgba(7, 27, 77, 0.3),
    0 0 0 4px rgba(242, 182, 50, 0.15);
  outline: 3px solid rgba(242, 182, 50, 0.2);
  outline-offset: 3px;
}

/* TFE button visual polish layer: CSS-only standardisation for existing button selectors. */
:root {
  --tfe-button-radius: 15px;
  --tfe-button-height: 46px;
  --tfe-button-padding-y: 11px;
  --tfe-button-padding-x: 20px;
  --tfe-button-font-size: 0.88rem;
  --tfe-button-font-weight: 900;
  --tfe-button-transition: 0.18s ease;
  --tfe-button-shadow: 0 12px 26px rgba(7, 27, 77, 0.18), 0 2px 0 rgba(216, 154, 19, 0.16);
  --tfe-button-shadow-hover: 0 16px 32px rgba(7, 27, 77, 0.24), 0 0 0 4px rgba(242, 182, 50, 0.12);
  --tfe-button-shadow-active: 0 8px 16px rgba(7, 27, 77, 0.16);
  --tfe-button-secondary-bg: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  --tfe-button-secondary-bg-hover: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
  --tfe-button-danger-shadow: 0 12px 26px rgba(185, 28, 28, 0.18), 0 2px 0 rgba(127, 29, 29, 0.14);
}

:is(
  .primary-action,
  .secondary-action,
  .tfe-btn,
  .admin-back-button,
  .parent-community-back-button,
  .school-ilp-close,
  .school-snapshot-close,
  .school-ilp-button,
  .school-intelligence-button,
  .school-cohort-ilp-overview-button,
  .cohort-ilp-action,
  .community-upload-button,
  .parent-support-action-button,
  .incident-submit-button,
  .management-save-button,
  .recognition-save-button,
  .submitted-review-button,
  .theory-complete-lesson-button,
  .theory-continue-next-button,
  .intervention-save-button,
  .award-certificate-link,
  button[data-school-certificate-close],
  button[data-school-certificate-download],
  button[data-school-certificate-print]
):not(.icon-button):not(.lesson-summary):not(.theory-phase-card):not(.theory-lesson-tile):not(.curriculum-lesson-button):not(.attendance-button) {
  min-height: var(--tfe-button-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--tfe-button-padding-y) var(--tfe-button-padding-x);
  border-radius: var(--tfe-button-radius);
  font-size: var(--tfe-button-font-size);
  font-weight: var(--tfe-button-font-weight);
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--tfe-button-shadow);
  cursor: pointer;
  transition:
    transform var(--tfe-button-transition),
    background var(--tfe-button-transition),
    border-color var(--tfe-button-transition),
    box-shadow var(--tfe-button-transition),
    color var(--tfe-button-transition),
    opacity var(--tfe-button-transition);
}

:is(
  .primary-action,
  .tfe-btn,
  .school-ilp-button,
  .school-cohort-ilp-overview-button,
  .cohort-ilp-action.primary,
  .community-upload-button,
  .incident-submit-button,
  .management-save-button,
  .recognition-save-button,
  .submitted-review-button,
  .theory-complete-lesson-button,
  .theory-continue-next-button,
  .intervention-save-button
):not(.action-success):not(.action-error):not(.is-saved):not(.is-failed):not(.danger-action):not(.warning-action) {
  border: 1.5px solid var(--tfe-button-gold-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy);
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}

:is(
  .secondary-action,
  .admin-back-button,
  .parent-community-back-button,
  .school-ilp-close,
  .school-snapshot-close,
  .school-intelligence-button,
  .cohort-ilp-action.secondary,
  .parent-support-action-button,
  .award-certificate-link,
  button[data-school-certificate-close],
  button[data-school-certificate-download],
  button[data-school-certificate-print]
):not(.action-success):not(.action-error):not(.is-saved):not(.is-failed):not(.danger-action):not(.warning-action) {
  border: 1.5px solid var(--tfe-button-gold-border);
  background: var(--tfe-button-secondary-bg);
  color: #071b4d;
  text-shadow: none;
}

:is(.danger-action, .primary-action.danger-action, .secondary-action.danger-action) {
  min-height: var(--tfe-button-height);
  padding: var(--tfe-button-padding-y) var(--tfe-button-padding-x);
  border: 1.5px solid #dc2626;
  border-radius: var(--tfe-button-radius);
  background: #dc2626;
  color: #ffffff;
  font-size: var(--tfe-button-font-size);
  font-weight: var(--tfe-button-font-weight);
  box-shadow: var(--tfe-button-danger-shadow);
}

:is(.warning-action, .primary-action.warning-action, .secondary-action.warning-action):not(.danger-action) {
  min-height: var(--tfe-button-height);
  padding: var(--tfe-button-padding-y) var(--tfe-button-padding-x);
  border: 1.5px solid #f59e0b;
  border-radius: var(--tfe-button-radius);
  background: linear-gradient(180deg, #fffaf0 0%, #fff4db 100%);
  color: #92400e;
  font-size: var(--tfe-button-font-size);
  font-weight: var(--tfe-button-font-weight);
  box-shadow: 0 12px 26px rgba(146, 64, 14, 0.13), 0 2px 0 rgba(245, 158, 11, 0.16);
}

:is(
  .primary-action,
  .secondary-action,
  .tfe-btn,
  .admin-back-button,
  .parent-community-back-button,
  .school-ilp-close,
  .school-snapshot-close,
  .school-ilp-button,
  .school-intelligence-button,
  .school-cohort-ilp-overview-button,
  .cohort-ilp-action,
  .community-upload-button,
  .parent-support-action-button,
  .incident-submit-button,
  .management-save-button,
  .recognition-save-button,
  .submitted-review-button,
  .theory-complete-lesson-button,
  .theory-continue-next-button,
  .intervention-save-button,
  .award-certificate-link,
  button[data-school-certificate-close],
  button[data-school-certificate-download],
  button[data-school-certificate-print]
):not(.icon-button):not(.lesson-summary):not(.theory-phase-card):not(.theory-lesson-tile):not(.curriculum-lesson-button):not(.attendance-button):hover:not(:disabled),
:is(
  .primary-action,
  .secondary-action,
  .tfe-btn,
  .admin-back-button,
  .parent-community-back-button,
  .school-ilp-close,
  .school-snapshot-close,
  .school-ilp-button,
  .school-intelligence-button,
  .school-cohort-ilp-overview-button,
  .cohort-ilp-action,
  .community-upload-button,
  .parent-support-action-button,
  .incident-submit-button,
  .management-save-button,
  .recognition-save-button,
  .submitted-review-button,
  .theory-complete-lesson-button,
  .theory-continue-next-button,
  .intervention-save-button,
  .award-certificate-link,
  button[data-school-certificate-close],
  button[data-school-certificate-download],
  button[data-school-certificate-print]
):not(.icon-button):not(.lesson-summary):not(.theory-phase-card):not(.theory-lesson-tile):not(.curriculum-lesson-button):not(.attendance-button):focus-visible {
  transform: translateY(-1px);
  border-color: #f2b632;
  box-shadow: var(--tfe-button-shadow-hover);
}

:is(
  .primary-action,
  .tfe-btn,
  .school-ilp-button,
  .school-cohort-ilp-overview-button,
  .cohort-ilp-action.primary,
  .community-upload-button,
  .incident-submit-button,
  .management-save-button,
  .recognition-save-button,
  .submitted-review-button,
  .theory-complete-lesson-button,
  .theory-continue-next-button,
  .intervention-save-button
):not(.action-success):not(.action-error):not(.is-saved):not(.is-failed):not(.danger-action):not(.warning-action):hover:not(:disabled),
:is(
  .primary-action,
  .tfe-btn,
  .school-ilp-button,
  .school-cohort-ilp-overview-button,
  .cohort-ilp-action.primary,
  .community-upload-button,
  .incident-submit-button,
  .management-save-button,
  .recognition-save-button,
  .submitted-review-button,
  .theory-complete-lesson-button,
  .theory-continue-next-button,
  .intervention-save-button
):not(.action-success):not(.action-error):not(.is-saved):not(.is-failed):not(.danger-action):not(.warning-action):focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy-hover);
  color: #ffffff;
}

:is(
  .secondary-action,
  .admin-back-button,
  .parent-community-back-button,
  .school-ilp-close,
  .school-snapshot-close,
  .school-intelligence-button,
  .cohort-ilp-action.secondary,
  .parent-support-action-button,
  .award-certificate-link,
  button[data-school-certificate-close],
  button[data-school-certificate-download],
  button[data-school-certificate-print]
):not(.action-success):not(.action-error):not(.is-saved):not(.is-failed):not(.danger-action):not(.warning-action):hover:not(:disabled),
:is(
  .secondary-action,
  .admin-back-button,
  .parent-community-back-button,
  .school-ilp-close,
  .school-snapshot-close,
  .school-intelligence-button,
  .cohort-ilp-action.secondary,
  .parent-support-action-button,
  .award-certificate-link,
  button[data-school-certificate-close],
  button[data-school-certificate-download],
  button[data-school-certificate-print]
):not(.action-success):not(.action-error):not(.is-saved):not(.is-failed):not(.danger-action):not(.warning-action):focus-visible {
  background: var(--tfe-button-secondary-bg-hover);
  color: #071b4d;
}

:is(.danger-action, .primary-action.danger-action, .secondary-action.danger-action):hover:not(:disabled),
:is(.danger-action, .primary-action.danger-action, .secondary-action.danger-action):focus-visible {
  border-color: #991b1b;
  background: #b91c1c;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(185, 28, 28, 0.24), 0 0 0 4px rgba(220, 38, 38, 0.12);
}

:is(
  .primary-action,
  .secondary-action,
  .tfe-btn,
  .admin-back-button,
  .parent-community-back-button,
  .school-ilp-close,
  .school-snapshot-close,
  .school-ilp-button,
  .school-intelligence-button,
  .school-cohort-ilp-overview-button,
  .cohort-ilp-action,
  .community-upload-button,
  .parent-support-action-button,
  .incident-submit-button,
  .management-save-button,
  .recognition-save-button,
  .submitted-review-button,
  .theory-complete-lesson-button,
  .theory-continue-next-button,
  .intervention-save-button,
  .award-certificate-link,
  button[data-school-certificate-close],
  button[data-school-certificate-download],
  button[data-school-certificate-print]
):not(.icon-button):not(.lesson-summary):not(.theory-phase-card):not(.theory-lesson-tile):not(.curriculum-lesson-button):not(.attendance-button):active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--tfe-button-shadow-active);
}

:is(
  .primary-action,
  .secondary-action,
  .tfe-btn,
  .admin-back-button,
  .parent-community-back-button,
  .school-ilp-close,
  .school-snapshot-close,
  .school-ilp-button,
  .school-intelligence-button,
  .school-cohort-ilp-overview-button,
  .cohort-ilp-action,
  .community-upload-button,
  .parent-support-action-button,
  .incident-submit-button,
  .management-save-button,
  .recognition-save-button,
  .submitted-review-button,
  .theory-complete-lesson-button,
  .theory-continue-next-button,
  .intervention-save-button,
  .award-certificate-link,
  button[data-school-certificate-close],
  button[data-school-certificate-download],
  button[data-school-certificate-print]
):not(.icon-button):not(.lesson-summary):not(.theory-phase-card):not(.theory-lesson-tile):not(.curriculum-lesson-button):not(.attendance-button):focus-visible {
  outline: 3px solid var(--tfe-button-focus);
  outline-offset: 3px;
}

:is(
  .primary-action,
  .secondary-action,
  .tfe-btn,
  .admin-back-button,
  .parent-community-back-button,
  .school-ilp-close,
  .school-snapshot-close,
  .school-ilp-button,
  .school-intelligence-button,
  .school-cohort-ilp-overview-button,
  .cohort-ilp-action,
  .community-upload-button,
  .parent-support-action-button,
  .incident-submit-button,
  .management-save-button,
  .recognition-save-button,
  .submitted-review-button,
  .theory-complete-lesson-button,
  .theory-continue-next-button,
  .intervention-save-button,
  .award-certificate-link,
  button[data-school-certificate-close],
  button[data-school-certificate-download],
  button[data-school-certificate-print]
):disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

/* Outlier button selector bridge from existing role dashboards. */
:is(
  .tutor-hero-logout,
  .school-hero-logout,
  .school-cohort-intelligence-button,
  #employerView:not(.hidden) .employer-pipeline-nav .primary-action,
  #employerView:not(.hidden) .pipeline-actions .primary-action,
  #employerView:not(.hidden) .candidate-card-footer .primary-action,
  #employerView:not(.hidden) .employer-passport-action-strip .primary-action,
  #employerView:not(.hidden) .cv-actions .primary-action
) {
  min-height: var(--tfe-button-height) !important;
  padding: var(--tfe-button-padding-y) var(--tfe-button-padding-x) !important;
  border: 1.5px solid var(--tfe-button-gold-border) !important;
  border-radius: var(--tfe-button-radius) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy) !important;
  color: #ffffff !important;
  font-size: var(--tfe-button-font-size) !important;
  font-weight: var(--tfe-button-font-weight) !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-shadow: var(--tfe-button-shadow) !important;
  transition:
    transform var(--tfe-button-transition),
    background var(--tfe-button-transition),
    border-color var(--tfe-button-transition),
    box-shadow var(--tfe-button-transition),
    color var(--tfe-button-transition),
    opacity var(--tfe-button-transition) !important;
}

/* Parent learner-card actions are equal primary destinations. */
.parent-carer-school-card-dashboard .school-card-action-row :is(.school-ilp-button, .school-intelligence-button) {
  min-height: var(--tfe-button-height);
  margin-top: 0;
  padding: var(--tfe-button-padding-y) var(--tfe-button-padding-x);
  border: 1.5px solid var(--tfe-button-gold-border);
  border-radius: var(--tfe-button-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy);
  color: #ffffff;
  font-size: var(--tfe-button-font-size);
  font-weight: var(--tfe-button-font-weight);
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
  box-shadow: var(--tfe-button-shadow);
}

.parent-carer-school-card-dashboard .school-card-action-row :is(.school-ilp-button, .school-intelligence-button):hover:not(:disabled),
.parent-carer-school-card-dashboard .school-card-action-row :is(.school-ilp-button, .school-intelligence-button):focus-visible {
  transform: translateY(-1px);
  border-color: #f2b632;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy-hover);
  color: #ffffff;
  box-shadow: var(--tfe-button-shadow-hover);
}

.parent-carer-school-card-dashboard .school-card-action-row :is(.school-ilp-button, .school-intelligence-button):active:not(:disabled) {
  transform: translateY(0);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy);
  box-shadow: var(--tfe-button-shadow-active);
}

.parent-carer-school-card-dashboard .school-card-action-row :is(.school-ilp-button, .school-intelligence-button):disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

:is(
  #employerView:not(.hidden) .employer-pipeline-nav .secondary-action,
  #employerView:not(.hidden) .pipeline-actions .secondary-action,
  #employerView:not(.hidden) .candidate-card-footer .secondary-action,
  #employerView:not(.hidden) .employer-passport-action-strip .secondary-action,
  #employerView:not(.hidden) .cv-actions .secondary-action,
  #employerView:not(.hidden) .quick-filter-row .secondary-action,
  .employer-talent-pipeline-page .quick-filter-row .secondary-action
) {
  min-height: var(--tfe-button-height) !important;
  padding: var(--tfe-button-padding-y) var(--tfe-button-padding-x) !important;
  border: 1.5px solid var(--tfe-button-gold-border) !important;
  border-radius: var(--tfe-button-radius) !important;
  background: var(--tfe-button-secondary-bg) !important;
  color: #071b4d !important;
  font-size: var(--tfe-button-font-size) !important;
  font-weight: var(--tfe-button-font-weight) !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-shadow: var(--tfe-button-shadow) !important;
  text-shadow: none !important;
  transition:
    transform var(--tfe-button-transition),
    background var(--tfe-button-transition),
    border-color var(--tfe-button-transition),
    box-shadow var(--tfe-button-transition),
    color var(--tfe-button-transition),
    opacity var(--tfe-button-transition) !important;
}

:is(
  .tutor-hero-logout,
  .school-hero-logout,
  .school-cohort-intelligence-button,
  #employerView:not(.hidden) .employer-pipeline-nav .primary-action,
  #employerView:not(.hidden) .employer-pipeline-nav .secondary-action,
  #employerView:not(.hidden) .pipeline-actions .primary-action,
  #employerView:not(.hidden) .pipeline-actions .secondary-action,
  #employerView:not(.hidden) .candidate-card-footer .primary-action,
  #employerView:not(.hidden) .candidate-card-footer .secondary-action,
  #employerView:not(.hidden) .employer-passport-action-strip .primary-action,
  #employerView:not(.hidden) .employer-passport-action-strip .secondary-action,
  #employerView:not(.hidden) .cv-actions .primary-action,
  #employerView:not(.hidden) .cv-actions .secondary-action,
  #employerView:not(.hidden) .quick-filter-row .secondary-action,
  .employer-talent-pipeline-page .quick-filter-row .secondary-action
):hover:not(:disabled),
:is(
  .tutor-hero-logout,
  .school-hero-logout,
  .school-cohort-intelligence-button,
  #employerView:not(.hidden) .employer-pipeline-nav .primary-action,
  #employerView:not(.hidden) .employer-pipeline-nav .secondary-action,
  #employerView:not(.hidden) .pipeline-actions .primary-action,
  #employerView:not(.hidden) .pipeline-actions .secondary-action,
  #employerView:not(.hidden) .candidate-card-footer .primary-action,
  #employerView:not(.hidden) .candidate-card-footer .secondary-action,
  #employerView:not(.hidden) .employer-passport-action-strip .primary-action,
  #employerView:not(.hidden) .employer-passport-action-strip .secondary-action,
  #employerView:not(.hidden) .cv-actions .primary-action,
  #employerView:not(.hidden) .cv-actions .secondary-action,
  #employerView:not(.hidden) .quick-filter-row .secondary-action,
  .employer-talent-pipeline-page .quick-filter-row .secondary-action
):focus-visible {
  transform: translateY(-1px) !important;
  border-color: #f2b632 !important;
  box-shadow: var(--tfe-button-shadow-hover) !important;
  outline: 3px solid var(--tfe-button-focus) !important;
  outline-offset: 3px !important;
}

:is(
  .tutor-hero-logout,
  .school-hero-logout,
  .school-cohort-intelligence-button,
  #employerView:not(.hidden) .employer-pipeline-nav .primary-action,
  #employerView:not(.hidden) .employer-pipeline-nav .secondary-action,
  #employerView:not(.hidden) .pipeline-actions .primary-action,
  #employerView:not(.hidden) .pipeline-actions .secondary-action,
  #employerView:not(.hidden) .candidate-card-footer .primary-action,
  #employerView:not(.hidden) .candidate-card-footer .secondary-action,
  #employerView:not(.hidden) .employer-passport-action-strip .primary-action,
  #employerView:not(.hidden) .employer-passport-action-strip .secondary-action,
  #employerView:not(.hidden) .cv-actions .primary-action,
  #employerView:not(.hidden) .cv-actions .secondary-action,
  #employerView:not(.hidden) .quick-filter-row .secondary-action,
  .employer-talent-pipeline-page .quick-filter-row .secondary-action
):active:not(:disabled) {
  transform: translateY(0) !important;
  box-shadow: var(--tfe-button-shadow-active) !important;
}

/* Premium Live ILP programme journey view. Scoped to the existing school ILP modal/route. */
.learner-ilp-dashboard{display:grid;gap:12px;margin:0 auto 16px;max-width:1600px;padding:8px 0 0;color:#09245b;font-family:inherit}
.learner-ilp-title{display:flex;align-items:center;gap:24px;padding:10px 8px 12px;border-bottom:1px solid #d4e7fb;background:linear-gradient(100deg,#f2f9ff,#fff)}
.learner-ilp-title img{width:170px;height:78px;object-fit:contain;padding:7px;border-radius:12px;background:#fff}
.learner-ilp-title>div{padding-left:24px;border-left:1px solid #c9def4}
.learner-ilp-title h1{margin:0;color:#102d79;font-size:clamp(24px,2.6vw,38px);line-height:1.1}
.learner-ilp-title p{margin:4px 0 0;color:#0783ed;font-size:clamp(16px,1.8vw,24px);font-weight:650}
.learner-ilp-overview{display:grid;grid-template-columns:minmax(350px,1.12fr) minmax(0,2fr);gap:10px}
.learner-ilp-profile,.learner-ilp-stat,.learner-ilp-insights>article{min-width:0;border:1px solid #d8e9f8;border-radius:13px;background:#fff;box-shadow:0 5px 16px #113b7210}
.learner-ilp-profile{display:grid;grid-template-columns:148px minmax(0,1fr);gap:18px;align-items:center;padding:12px}
.learner-ilp-photo .learner-avatar,.learner-ilp-photo .learner-photo{width:148px;height:172px;min-width:0;border-radius:9px;object-fit:cover}
.learner-ilp-profile h2{margin:0 0 7px;color:#102d79;font-size:clamp(22px,2.3vw,34px);line-height:1.1}
.learner-ilp-profile dl{display:grid;grid-template-columns:minmax(80px,.7fr) minmax(0,1fr);gap:4px 10px;margin:0;font-size:14px;line-height:1.3}
.learner-ilp-profile dl div{display:contents}.learner-ilp-profile dt{color:#28518b}.learner-ilp-profile dd{margin:0;color:#173979;overflow-wrap:anywhere}
.learner-ilp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.learner-ilp-stat{display:grid;justify-items:center;align-content:start;gap:6px;padding:9px 10px;text-align:center}
.learner-ilp-stat-head{display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;color:#09245b;font-size:14px;font-weight:800}
.learner-ilp-stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e7f3ff;color:#0965c6;font-size:21px}
.learner-ilp-ring{--ilp-value:0;display:grid;place-items:center;width:clamp(76px,7vw,108px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff 0 58%,transparent 59%),conic-gradient(var(--ring-color,#389af5) calc(var(--ilp-value)*1%),#e7edf3 0)}
.learner-ilp-ring strong{color:#09245b;font-size:clamp(18px,2vw,28px)}
.learner-ilp-stat b{color:#183b78;font-size:12px;line-height:1.3;font-weight:650}
.learner-ilp-stat.green{--ring-color:#34b77b}.learner-ilp-stat.purple{--ring-color:#8b3de2}
.learner-ilp-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.learner-ilp-insights>article{overflow:hidden}.learner-ilp-insights header{display:flex;align-items:center;gap:12px;padding:10px 14px;background:#f4f9ff;border-bottom:1px solid #e2edf8}
.learner-ilp-insights header>span{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:#168b50;color:#fff;font-size:28px;font-weight:800}
.learner-ilp-insights h3{margin:0;color:#0c3375;font-size:20px;line-height:1.15}.learner-ilp-insights header p{margin:3px 0 0;color:#2878ca;font-size:13px}
.learner-ilp-insights ol{display:grid;gap:0;margin:0;padding:5px 14px 8px 44px}.learner-ilp-insights li{padding:8px 0;border-bottom:1px solid #e6eef7;color:#17366d;font-size:13px;line-height:1.35}.learner-ilp-insights li:last-child{border-bottom:0}
.learner-ilp-insights .priorities header>span{background:#f6a900}.learner-ilp-insights .focus header>span{background:#168be0}
.learner-ilp-empty{margin:12px 14px 16px;color:#536b8c;font-size:13px}
@media(max-width:1050px){.learner-ilp-overview{grid-template-columns:1fr}.learner-ilp-profile{grid-template-columns:130px minmax(0,1fr)}.learner-ilp-photo .learner-avatar,.learner-ilp-photo .learner-photo{width:130px;height:150px}}
@media(max-width:700px){.learner-ilp-dashboard{gap:9px;padding:4px 0}.learner-ilp-title{gap:12px}.learner-ilp-title img{width:92px;height:58px;padding:4px}.learner-ilp-title>div{padding-left:12px}.learner-ilp-title h1{font-size:21px}.learner-ilp-title p{font-size:15px}.learner-ilp-profile{grid-template-columns:86px minmax(0,1fr);gap:10px;padding:9px}.learner-ilp-photo .learner-avatar,.learner-ilp-photo .learner-photo{width:86px;height:110px}.learner-ilp-profile h2{font-size:20px}.learner-ilp-profile dl{grid-template-columns:90px minmax(0,1fr);gap:3px 6px;font-size:11px}.learner-ilp-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.learner-ilp-stat{padding:8px 6px}.learner-ilp-stat-head{font-size:12px}.learner-ilp-stat-icon{width:30px;height:30px;font-size:16px}.learner-ilp-ring{width:70px}.learner-ilp-stat b{font-size:11px}.learner-ilp-insights{grid-template-columns:1fr;gap:8px}.learner-ilp-insights header>span{flex-basis:42px;width:42px;height:42px;font-size:22px}.learner-ilp-insights h3{font-size:17px}.learner-ilp-insights header p{font-size:12px}.learner-ilp-insights li{font-size:12px}}

.school-ilp-modal:has(.live-ilp-dashboard) {
  width: min(1880px, 100%);
  max-height: min(94vh, 1120px);
  border-radius: 18px;
  background: #ffffff;
}

.live-ilp-dashboard {
  gap: 14px;
  padding: 0;
  background: #ffffff;
  color: #071b46;
}

.live-ilp-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 3px solid #f2b51d;
  border-radius: 18px 18px 0 0;
  background: #071b46;
  color: #ffffff;
}

.live-ilp-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-ilp-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  padding: 6px;
}

.live-ilp-brand h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.1;
}

.live-ilp-brand p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.live-ilp-topline {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(680px, 1.4fr);
  gap: 14px;
  padding: 20px 24px 0;
}

.live-ilp-identity-card,
.live-ilp-metric-card,
.live-ilp-programme-panel,
.live-ilp-side-card,
.live-ilp-lower-grid > article {
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(7, 27, 70, 0.08);
}

.live-ilp-identity-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
}

.live-ilp-photo .learner-avatar,
.live-ilp-photo .learner-photo {
  width: 142px;
  height: 142px;
  min-width: 142px;
  border: 3px solid #f2b51d;
  box-shadow: 0 14px 28px rgba(7, 27, 70, 0.18);
}

.live-ilp-learner-photo > * {
  grid-area: 1 / 1;
}

.live-ilp-learner-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-ilp-learner-photo.has-photo > .live-ilp-photo-fallback {
  visibility: hidden;
}

.live-ilp-learner-photo.photo-missing > .live-ilp-photo-fallback {
  visibility: visible;
}

.live-ilp-identity-main h3 {
  margin: 0;
  color: #071b46;
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1.05;
}

.live-ilp-identity-main > strong {
  display: block;
  margin: 6px 0 14px;
  color: #172554;
  font-size: 1.02rem;
}

.live-ilp-identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.live-ilp-identity-grid article,
.live-ilp-lower-grid dl div,
.live-ilp-side-card dl div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.live-ilp-identity-grid span,
.live-ilp-metric-card span,
.live-ilp-lower-grid > article > span,
.live-ilp-side-card dt {
  color: #1e3a8a;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.live-ilp-identity-grid b,
.live-ilp-side-card dd,
.live-ilp-lower-grid dd {
  color: #071b46;
  font-weight: 950;
}

.live-ilp-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.live-ilp-metric-card {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 142px;
  padding: 18px;
  border-top: 3px solid #e2e8f0;
}

.live-ilp-metric-card.green {
  border-top-color: #108a24;
}

.live-ilp-metric-card.amber {
  border-top-color: #f2b51d;
}

.live-ilp-metric-card.red {
  border-top-color: #ef4444;
}

.live-ilp-metric-card.gold,
.live-ilp-metric-card.silver,
.live-ilp-metric-card.bronze {
  border-top-color: #f2b51d;
}

.live-ilp-metric-card.awaiting {
  border-top-color: #94a3b8;
  background: #f8fafc;
}

.live-ilp-metric-card strong {
  color: #071b46;
  font-size: clamp(1.35rem, 2.2vw, 2.7rem);
  line-height: 1;
}

.live-ilp-metric-card em {
  color: #334155;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
}

.live-ilp-donut,
.live-ilp-phase-ring {
  --value: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 54%, transparent 55%),
    conic-gradient(#108a24 calc(var(--value) * 1%), #e2e8f0 0);
}

.live-ilp-donut {
  width: 96px;
  justify-self: center;
}

.live-ilp-donut strong,
.live-ilp-phase-ring strong {
  color: #071b46;
  font-size: 1.15rem;
}

.live-ilp-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  padding: 0 24px;
}

.live-ilp-programme-panel {
  min-width: 0;
  padding: 20px;
}

.live-ilp-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.live-ilp-section-heading h4,
.live-ilp-side-card h4 {
  margin: 0;
  color: #071b46;
  font-size: 1.12rem;
}

.live-ilp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
}

.live-ilp-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-ilp-legend span::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #94a3b8;
}

.live-ilp-legend .complete::before {
  background: #108a24;
}

.live-ilp-legend .current::before {
  background: #f2b51d;
}

.live-ilp-timeline {
  --progress: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 10px 4px 22px;
  padding: 0 3px;
}

.live-ilp-timeline::before,
.live-ilp-timeline::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 7px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: #94a3b8;
}

.live-ilp-timeline::after {
  right: auto;
  width: calc(var(--progress) * 1%);
  background: linear-gradient(90deg, #108a24 0%, #f2b51d 100%);
}

.live-ilp-timeline span {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border: 5px solid #ffffff;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 0 4px #94a3b8;
}

.live-ilp-timeline span.complete {
  background: #108a24;
  box-shadow: 0 0 0 4px #108a24;
}

.live-ilp-timeline span.current {
  background: #071b46;
  box-shadow: 0 0 0 5px #f2b51d;
}

.live-ilp-phase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.live-ilp-phase-card {
  min-width: 190px;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 18px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #ffffff;
}

.live-ilp-phase-card.complete {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #bbf7d0;
}

.live-ilp-phase-card.current {
  border: 2px solid #f2b51d;
  background: linear-gradient(150deg, #071b46 0%, #062b69 100%);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 27, 70, 0.28);
}

.live-ilp-phase-kicker {
  color: #1e3a8a;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.live-ilp-phase-card.current .live-ilp-phase-kicker,
.live-ilp-phase-card.current h5,
.live-ilp-phase-card.current b,
.live-ilp-phase-card.current em,
.live-ilp-phase-card.current li {
  color: #ffffff;
}

.live-ilp-phase-card h5 {
  min-height: 44px;
  margin: 0;
  color: #071b46;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
}

.live-ilp-phase-ring {
  width: 82px;
  background:
    radial-gradient(circle at center, #ffffff 0 54%, transparent 55%),
    conic-gradient(#f2b51d calc(var(--value) * 1%), #e2e8f0 0);
}

.live-ilp-phase-card.complete .live-ilp-phase-ring {
  background:
    radial-gradient(circle at center, #108a24 0 54%, transparent 55%),
    conic-gradient(#108a24 calc(var(--value) * 1%), #bbf7d0 0);
}

.live-ilp-phase-card.complete .live-ilp-phase-ring strong {
  color: #ffffff;
}

.live-ilp-phase-card b,
.live-ilp-phase-card em {
  color: #334155;
  font-style: normal;
  font-weight: 950;
}

.live-ilp-phase-bar {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.live-ilp-phase-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #108a24;
}

.live-ilp-phase-card.current .live-ilp-phase-bar i {
  background: #f2b51d;
}

.live-ilp-phase-card ul,
.live-ilp-lower-grid ul {
  width: 100%;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.live-ilp-phase-card li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
}

.live-ilp-phase-card li span {
  width: 14px;
  height: 14px;
  border: 2px solid #94a3b8;
  border-radius: 50%;
}

.live-ilp-phase-card li.done span {
  border-color: #108a24;
  background: #108a24;
}

.live-ilp-phase-card li.active span {
  border-color: #f2b51d;
  background: #f2b51d;
}

.live-ilp-side-panels {
  display: grid;
  gap: 14px;
  align-content: start;
}

.live-ilp-side-card {
  padding: 18px;
}

.live-ilp-side-card dl {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
}

.live-ilp-side-card dt,
.live-ilp-side-card dd {
  margin: 0;
}

.live-ilp-side-card dd.green,
.live-ilp-side-card.forecast.green strong {
  color: #108a24;
}

.live-ilp-side-card dd.amber,
.live-ilp-side-card.forecast.amber strong {
  color: #b77905;
}

.live-ilp-side-card dd.red,
.live-ilp-side-card.forecast.red strong {
  color: #dc2626;
}

.live-ilp-side-card.forecast {
  border-left: 5px solid #94a3b8;
}

.live-ilp-side-card.forecast.green {
  border-left-color: #108a24;
}

.live-ilp-side-card.forecast.amber {
  border-left-color: #f2b51d;
}

.live-ilp-side-card.forecast.red {
  border-left-color: #ef4444;
}

.live-ilp-side-card.forecast strong {
  display: block;
  margin-top: 18px;
  color: #071b46;
  font-size: 1.15rem;
}

.live-ilp-side-card.forecast span {
  display: block;
  margin-top: 6px;
  color: #071b46;
  font-weight: 950;
}

.live-ilp-lower-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px 24px;
}

.live-ilp-lower-grid > article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-top: 3px solid #f2b51d;
}

.live-ilp-lower-grid strong {
  color: #071b46;
  font-size: 1rem;
  line-height: 1.25;
}

.live-ilp-lower-grid p,
.live-ilp-lower-grid li,
.live-ilp-lower-grid dd {
  color: #334155;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.4;
}

.live-ilp-lower-grid li {
  display: grid;
  gap: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.live-ilp-lower-grid li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.live-ilp-lower-grid li span {
  color: #64748b;
  font-size: 0.78rem;
}

.live-ilp-lower-grid dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.live-ilp-lower-grid dt,
.live-ilp-lower-grid dd {
  margin: 0;
}

.live-ilp-lower-grid dt {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.live-ilp-header .school-ilp-close {
  min-height: 42px;
  border-radius: 14px;
  background: #09255c;
  color: #ffffff;
  border-color: #f2b51d;
}

.live-ilp-header .school-ilp-close:hover,
.live-ilp-header .school-ilp-close:focus-visible {
  background: #123f7a;
  outline: 3px solid rgba(242, 181, 29, 0.34);
  outline-offset: 3px;
}

.cohort-ilp-renderer-marker,
.school-ilp-renderer-marker {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(242, 181, 29, 0.72);
  border-radius: 999px;
  background: #fff8e5;
  color: #071b46;
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
}

@media (max-width: 1320px) {
  .live-ilp-topline {
    grid-template-columns: 1fr;
  }

  .live-ilp-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-ilp-main-grid {
    grid-template-columns: 1fr;
  }

  .live-ilp-side-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-ilp-lower-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .school-ilp-modal:has(.live-ilp-dashboard) {
    width: 100%;
    max-height: 96vh;
    border-radius: 16px;
  }

  .live-ilp-header,
  .live-ilp-topline,
  .live-ilp-main-grid,
  .live-ilp-lower-grid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .live-ilp-header {
    grid-template-columns: 1fr;
    border-radius: 16px 16px 0 0;
  }

  .live-ilp-brand {
    align-items: flex-start;
  }

  .live-ilp-brand img {
    width: 48px;
    height: 48px;
  }

  .live-ilp-identity-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .live-ilp-identity-grid,
  .live-ilp-metric-grid,
  .live-ilp-side-panels,
  .live-ilp-lower-grid {
    grid-template-columns: 1fr;
  }

  .live-ilp-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-ilp-phase-grid {
    grid-template-columns: repeat(5, minmax(214px, 1fr));
  }
}

/* Premium Live ILP visual polish only: scoped to the school ILP modal. */
.school-ilp-modal:has(.live-ilp-dashboard) {
  --ilp-navy: #071b46;
  --ilp-blue: #0b2d66;
  --ilp-gold: #f2b51d;
  --ilp-gold-soft: rgba(242, 181, 29, 0.26);
  --ilp-ink: #071b46;
  --ilp-muted: #53627a;
  --ilp-surface: #ffffff;
  --ilp-soft: #f5f8fc;
  --ilp-line: rgba(7, 27, 70, 0.12);
  --ilp-shadow: 0 22px 54px rgba(7, 27, 70, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96)),
    var(--ilp-soft);
  border: 1px solid var(--ilp-gold-soft);
  box-shadow: var(--ilp-shadow);
}

.live-ilp-dashboard {
  color: var(--ilp-ink);
  background:
    radial-gradient(circle at 0 0, rgba(242, 181, 29, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.live-ilp-header {
  border-bottom: 2px solid var(--ilp-gold);
  background:
    linear-gradient(135deg, #071b46 0%, #09275c 58%, #0d3572 100%);
  box-shadow: 0 14px 32px rgba(7, 27, 70, 0.2);
}

.live-ilp-brand img {
  border: 1px solid rgba(242, 181, 29, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.live-ilp-brand h2,
.live-ilp-identity-main h3,
.live-ilp-section-heading h4,
.live-ilp-side-card h4 {
  letter-spacing: 0;
}

.live-ilp-identity-card,
.live-ilp-metric-card,
.live-ilp-programme-panel,
.live-ilp-side-card,
.live-ilp-lower-grid > article {
  border: 1px solid rgba(7, 27, 70, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(7, 27, 70, 0.08);
}

.live-ilp-identity-card {
  position: relative;
  overflow: hidden;
}

.live-ilp-identity-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ilp-gold), rgba(0, 132, 40, 0.72), var(--ilp-blue));
}

.live-ilp-photo .learner-avatar,
.live-ilp-photo .learner-photo {
  border: 3px solid var(--ilp-gold);
  box-shadow: 0 18px 36px rgba(7, 27, 70, 0.16);
}

.live-ilp-identity-grid article,
.live-ilp-lower-grid dl div,
.live-ilp-side-card dl div {
  border-color: rgba(7, 27, 70, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.live-ilp-identity-grid span,
.live-ilp-metric-card span,
.live-ilp-lower-grid > article > span,
.live-ilp-side-card dt {
  color: #243b70;
  letter-spacing: 0.045em;
}

.live-ilp-metric-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.live-ilp-metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: #9aa7b8;
}

.live-ilp-metric-card.green::before {
  background: #008428;
}

.live-ilp-metric-card.amber::before {
  background: #f2b51d;
}

.live-ilp-metric-card.red::before {
  background: #d94b4b;
}

.live-ilp-metric-card.gold::before,
.live-ilp-metric-card.silver::before,
.live-ilp-metric-card.bronze::before {
  background: var(--ilp-gold);
}

.live-ilp-metric-card strong {
  color: var(--ilp-navy);
  line-height: 1;
}

.live-ilp-donut,
.live-ilp-phase-ring {
  background:
    radial-gradient(circle, #ffffff 58%, transparent 59%),
    conic-gradient(var(--ring, #008428) calc(var(--value) * 1%), #e3e9f2 0);
  box-shadow: inset 0 0 0 1px rgba(7, 27, 70, 0.06), 0 10px 24px rgba(7, 27, 70, 0.1);
}

.live-ilp-programme-panel {
  border-color: rgba(242, 181, 29, 0.36);
}

.live-ilp-section-heading {
  border-bottom: 1px solid rgba(7, 27, 70, 0.08);
  padding-bottom: 12px;
}

.live-ilp-legend span {
  color: #1f315b;
}

.live-ilp-timeline::before {
  height: 8px;
  background: #d7dfeb;
}

.live-ilp-timeline::after {
  height: 8px;
  background: linear-gradient(90deg, #008428, #2ca34a);
  box-shadow: 0 6px 16px rgba(0, 132, 40, 0.24);
}

.live-ilp-timeline span {
  border-width: 4px;
  box-shadow: 0 8px 18px rgba(7, 27, 70, 0.14);
}

.live-ilp-phase-card {
  border-color: rgba(7, 27, 70, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 28px rgba(7, 27, 70, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.live-ilp-phase-card.complete {
  background: linear-gradient(180deg, #f6fff8 0%, #ffffff 100%);
  border-color: rgba(0, 132, 40, 0.2);
}

.live-ilp-phase-card.current {
  border-color: var(--ilp-gold);
  background:
    linear-gradient(160deg, rgba(7, 27, 70, 0.98), rgba(5, 21, 55, 0.98)),
    var(--ilp-navy);
  box-shadow: 0 22px 42px rgba(7, 27, 70, 0.26);
}

.live-ilp-phase-kicker {
  color: #32456f;
}

.live-ilp-phase-card.current .live-ilp-phase-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.live-ilp-phase-bar {
  background: #e0e7f1;
}

.live-ilp-phase-bar i,
.live-ilp-phase-card.current .live-ilp-phase-bar i {
  background: linear-gradient(90deg, var(--ilp-gold), #ffd65a);
  box-shadow: 0 4px 12px rgba(242, 181, 29, 0.34);
}

.live-ilp-phase-card li {
  color: #40506e;
}

.live-ilp-phase-card li span {
  background: #ffffff;
  border-color: #a8b4c4;
}

.live-ilp-phase-card li.done span {
  background: #008428;
  border-color: #008428;
  box-shadow: 0 4px 10px rgba(0, 132, 40, 0.24);
}

.live-ilp-phase-card li.active span {
  background: var(--ilp-gold);
  border-color: var(--ilp-gold);
  box-shadow: 0 4px 10px rgba(242, 181, 29, 0.3);
}

.live-ilp-side-card.forecast {
  border-left-width: 5px;
}

.live-ilp-lower-grid strong {
  color: var(--ilp-navy);
}

.live-ilp-lower-grid li {
  border-color: rgba(7, 27, 70, 0.08);
}

.live-ilp-header .school-ilp-close {
  border: 1px solid var(--ilp-gold);
  background: linear-gradient(180deg, #123f7a, #071b46);
  box-shadow: 0 10px 22px rgba(7, 27, 70, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.live-ilp-header .school-ilp-close:hover,
.live-ilp-header .school-ilp-close:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(7, 27, 70, 0.32);
}

.live-ilp-header .school-ilp-close:active {
  transform: translateY(0);
}

.school-ilp-renderer-marker,
.cohort-ilp-renderer-marker {
  display: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  .live-ilp-metric-card:hover,
  .live-ilp-phase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(7, 27, 70, 0.12);
  }

  .live-ilp-phase-card.current:hover {
    box-shadow: 0 26px 48px rgba(7, 27, 70, 0.3);
  }
}

@media (max-width: 720px) {
  .live-ilp-dashboard {
    background: #f6f9fd;
  }

  .live-ilp-header {
    gap: 14px;
  }

  .live-ilp-metric-card,
  .live-ilp-phase-card,
  .live-ilp-side-card,
  .live-ilp-lower-grid > article {
    box-shadow: 0 12px 24px rgba(7, 27, 70, 0.08);
  }
}

/* Final premium Live ILP refinement: visual-only overrides, preserving existing layout and data. */
.learner-progress-ilp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(7, 27, 77, 0.62);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}

.school-ilp-modal:has(.live-ilp-dashboard),
.learner-progress-ilp-overlay > .school-ilp-modal,
.school-ilp-modal-overlay > .school-ilp-modal,
.live-ilp-dashboard {
  --ilp-navy: #061842;
  --ilp-blue: #0a2f6b;
  --ilp-gold: #dba51d;
  --ilp-gold-soft: rgba(219, 165, 29, 0.28);
  --ilp-ink: #071b46;
  --ilp-muted: #526176;
  --ilp-surface: #ffffff;
  --ilp-secondary: #f7faff;
  --ilp-canvas: #eef4fb;
  --ilp-line: rgba(7, 27, 70, 0.11);
  --ilp-line-strong: rgba(7, 27, 70, 0.18);
  --ilp-shadow-soft: 0 12px 28px rgba(7, 27, 70, 0.075);
  --ilp-shadow-card: 0 18px 42px rgba(7, 27, 70, 0.105);
  --ilp-shadow-deep: 0 30px 76px rgba(7, 27, 70, 0.24);
}

.school-ilp-modal:has(.live-ilp-dashboard),
.learner-progress-ilp-overlay > .school-ilp-modal,
.school-ilp-modal-overlay > .school-ilp-modal {
  background:
    linear-gradient(180deg, #f6faff 0%, var(--ilp-canvas) 100%);
  border-color: var(--ilp-gold-soft);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.76),
    var(--ilp-shadow-deep);
}

.live-ilp-dashboard {
  color: var(--ilp-ink);
  background:
    linear-gradient(180deg, #f4f8fd 0%, #e8f0f9 100%);
}

.live-ilp-header {
  border-bottom-color: var(--ilp-gold);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--ilp-navy) 0%, #092456 56%, var(--ilp-blue) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 18px 34px rgba(7, 27, 70, 0.22);
}

.live-ilp-brand img {
  border-color: rgba(219, 165, 29, 0.56);
  box-shadow:
    inset 0 0 0 1px rgba(7, 27, 70, 0.08),
    0 12px 26px rgba(0, 0, 0, 0.2);
}

.live-ilp-brand h2,
.live-ilp-identity-main h3 {
  text-rendering: geometricPrecision;
}

.live-ilp-brand p {
  color: rgba(255, 255, 255, 0.86);
}

.live-ilp-identity-card,
.live-ilp-metric-card,
.live-ilp-programme-panel,
.live-ilp-side-card,
.live-ilp-lower-grid > article {
  border-color: var(--ilp-line);
  background:
    linear-gradient(180deg, #ffffff, rgba(246, 250, 255, 0.98)),
    var(--ilp-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 44px rgba(7, 27, 70, 0.11);
}

.live-ilp-identity-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 56px rgba(7, 27, 70, 0.14);
}

.live-ilp-identity-card::before {
  background: linear-gradient(90deg, var(--ilp-gold), rgba(0, 132, 40, 0.64), rgba(10, 47, 107, 0.72));
}

.live-ilp-photo .learner-avatar,
.live-ilp-photo .learner-photo {
  border-color: var(--ilp-gold);
  box-shadow:
    0 0 0 5px rgba(219, 165, 29, 0.12),
    0 18px 38px rgba(7, 27, 70, 0.18);
}

.live-ilp-identity-main > strong,
.live-ilp-metric-card em,
.live-ilp-lower-grid p,
.live-ilp-lower-grid li,
.live-ilp-lower-grid dd {
  color: var(--ilp-muted);
}

.live-ilp-identity-grid article,
.live-ilp-lower-grid dl div,
.live-ilp-side-card dl div {
  border-color: rgba(7, 27, 70, 0.075);
  background:
    linear-gradient(180deg, #ffffff, var(--ilp-secondary));
}

.live-ilp-identity-grid span,
.live-ilp-metric-card span,
.live-ilp-lower-grid > article > span,
.live-ilp-side-card dt,
.live-ilp-phase-kicker {
  color: #273f70;
  letter-spacing: 0.04em;
}

.live-ilp-identity-grid b,
.live-ilp-side-card dd,
.live-ilp-lower-grid dd,
.live-ilp-lower-grid strong,
.live-ilp-metric-card strong {
  color: var(--ilp-navy);
}

.live-ilp-metric-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 42px rgba(7, 27, 70, 0.105);
}

.live-ilp-metric-card::before {
  height: 5px;
  background: #8796ab;
}

.live-ilp-metric-card.green::before {
  background: #0f8a2b;
}

.live-ilp-metric-card.amber::before,
.live-ilp-metric-card.gold::before,
.live-ilp-metric-card.silver::before,
.live-ilp-metric-card.bronze::before {
  background: var(--ilp-gold);
}

.live-ilp-metric-card.red::before {
  background: #d94a4a;
}

.live-ilp-metric-card.awaiting {
  background: #f4f7fb;
}

.live-ilp-donut,
.live-ilp-phase-ring {
  background:
    radial-gradient(circle at 50% 48%, #ffffff 0 54%, rgba(255, 255, 255, 0.66) 55%, transparent 56%),
    conic-gradient(var(--ring, #0f8a2b) calc(var(--value) * 1%), #dfe7f1 0);
  box-shadow:
    inset 0 0 0 1px rgba(7, 27, 70, 0.07),
    inset 0 8px 14px rgba(7, 27, 70, 0.06),
    0 14px 30px rgba(7, 27, 70, 0.15);
}

.live-ilp-programme-panel {
  border-color: rgba(219, 165, 29, 0.34);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 28px 64px rgba(7, 27, 70, 0.15);
}

.live-ilp-section-heading {
  border-bottom-color: rgba(7, 27, 70, 0.09);
}

.live-ilp-section-heading h4,
.live-ilp-side-card h4 {
  color: var(--ilp-navy);
}

.live-ilp-legend {
  color: #33445f;
}

.live-ilp-legend span::before {
  background: #a2adbd;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.82);
}

.live-ilp-legend .complete::before {
  background: #0f8a2b;
}

.live-ilp-legend .current::before {
  background: var(--ilp-gold);
}

.live-ilp-timeline::before {
  height: 10px;
  background: #c7d1df;
  box-shadow: inset 0 1px 2px rgba(7, 27, 70, 0.12);
}

.live-ilp-timeline::after {
  height: 10px;
  background: linear-gradient(90deg, #0f8a2b 0%, #1b9b3e 70%, var(--ilp-gold) 100%);
  box-shadow: 0 6px 16px rgba(15, 138, 43, 0.24);
}

.live-ilp-timeline span {
  background: #f7faff;
  box-shadow:
    0 0 0 4px #a2adbd,
    0 8px 18px rgba(7, 27, 70, 0.13);
}

.live-ilp-timeline span.complete {
  background: #ffffff;
  box-shadow:
    0 0 0 4px #0f8a2b,
    inset 0 0 0 7px #0f8a2b,
    0 8px 18px rgba(15, 138, 43, 0.18);
}

.live-ilp-timeline span.current {
  background: var(--ilp-navy);
  box-shadow:
    0 0 0 5px var(--ilp-gold),
    0 0 0 9px rgba(219, 165, 29, 0.16),
    0 10px 24px rgba(7, 27, 70, 0.22);
}

.live-ilp-phase-card {
  border-color: var(--ilp-line);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 40px rgba(7, 27, 70, 0.105);
}

.live-ilp-phase-card.complete {
  background: linear-gradient(180deg, #f4fff7 0%, #ffffff 100%);
  border-color: rgba(15, 138, 43, 0.2);
}

.live-ilp-phase-card.current {
  border-color: var(--ilp-gold);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, var(--ilp-navy) 0%, #071e50 58%, #0a2f6b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 66px rgba(7, 27, 70, 0.36);
}

.live-ilp-phase-card.current .live-ilp-phase-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.live-ilp-phase-card b,
.live-ilp-phase-card em {
  color: #384966;
}

.live-ilp-phase-bar {
  background: #dfe7f1;
  box-shadow: inset 0 1px 2px rgba(7, 27, 70, 0.1);
}

.live-ilp-phase-bar i {
  background: linear-gradient(90deg, #0f8a2b, #22a64a);
  box-shadow: 0 3px 8px rgba(15, 138, 43, 0.22);
}

.live-ilp-phase-card.current .live-ilp-phase-bar i {
  background: linear-gradient(90deg, var(--ilp-gold), #f7ca4f);
  box-shadow: 0 4px 12px rgba(219, 165, 29, 0.36);
}

.live-ilp-phase-card li {
  color: #45546b;
}

.live-ilp-phase-card li span {
  background: #ffffff;
  border-color: #9aa8ba;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.82);
}

.live-ilp-phase-card li.done span {
  background: #0f8a2b;
  border-color: #0f8a2b;
}

.live-ilp-phase-card li.active span {
  background: var(--ilp-gold);
  border-color: var(--ilp-gold);
}

.live-ilp-side-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 42px rgba(7, 27, 70, 0.105);
}

.live-ilp-side-card.forecast {
  border-left-color: #8796ab;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.live-ilp-side-card.forecast.green {
  border-left-color: #0f8a2b;
}

.live-ilp-side-card.forecast.amber {
  border-left-color: var(--ilp-gold);
}

.live-ilp-side-card.forecast.red {
  border-left-color: #d94a4a;
}

.live-ilp-side-card.forecast strong,
.live-ilp-side-card.forecast span {
  color: var(--ilp-navy);
}

.live-ilp-side-card dd.green,
.live-ilp-side-card.forecast.green strong {
  color: #0f7d28;
}

.live-ilp-side-card dd.amber,
.live-ilp-side-card.forecast.amber strong {
  color: #93680c;
}

.live-ilp-side-card dd.red,
.live-ilp-side-card.forecast.red strong {
  color: #c24141;
}

.live-ilp-lower-grid > article {
  border-top-color: var(--ilp-gold);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.live-ilp-lower-grid li {
  border-color: rgba(7, 27, 70, 0.075);
}

.live-ilp-lower-grid li span,
.live-ilp-lower-grid dt {
  color: #637086;
}

.live-ilp-header .school-ilp-close {
  border-color: var(--ilp-gold);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #123b78, var(--ilp-navy));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 10px 22px rgba(7, 27, 70, 0.28);
}

/* Cohort ILP learner card redesign: visual-only, scoped to the school overview list. */
.cohort-ilp-overview .cohort-ilp-learner-card {
  --school-card-navy: #071b4d;
  --school-card-blue: #0d2b6b;
  --school-card-gold: #d4af37;
  --school-card-ink: #071b4d;
  --school-card-muted: #52627a;
  display: grid;
  grid-template-columns: minmax(180px, 0.58fr) minmax(0, 2fr) minmax(176px, 0.58fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
  min-height: auto;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid rgba(7, 27, 70, 0.12);
  border-left: 9px solid #16a34a;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(236, 253, 245, 0.5) 0%, rgba(255, 255, 255, 0) 16%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 22px 48px rgba(7, 27, 70, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  overflow: visible;
}

.cohort-ilp-overview .cohort-ilp-renderer-marker {
  display: none !important;
}

.cohort-ilp-overview .cohort-ilp-profile-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.cohort-ilp-overview .cohort-ilp-photo-ring {
  display: grid;
  place-items: center;
  width: clamp(146px, 13vw, 196px);
  height: clamp(146px, 13vw, 196px);
  border: 7px solid var(--school-card-gold);
  border-radius: 999px;
  background: #fff8df;
  box-shadow: 0 18px 38px rgba(7, 27, 70, 0.18);
  overflow: hidden;
}

.cohort-ilp-overview .learner-avatar.cohort-ilp {
  width: 100%;
  height: 100%;
  min-width: 100%;
  border: 0;
  border-radius: 999px;
  background: #fff8df;
  color: var(--school-card-ink);
  font-size: 1.7rem;
  font-weight: 1000;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

.cohort-ilp-overview .cohort-ilp-status-badge {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  font-style: normal;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.cohort-ilp-overview .cohort-ilp-status-badge span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.cohort-ilp-overview .cohort-ilp-status-badge.monitoring {
  border-color: rgba(245, 158, 11, 0.22);
  background: #fff7ed;
  color: #b45309;
}

.cohort-ilp-overview .cohort-ilp-status-badge.monitoring span {
  background: #f59e0b;
}

.cohort-ilp-overview .cohort-ilp-status-badge.at-risk {
  border-color: rgba(220, 38, 38, 0.18);
  background: #fff1f2;
  color: #be123c;
}

.cohort-ilp-overview .cohort-ilp-status-badge.at-risk span {
  background: #dc2626;
}

.cohort-ilp-overview .cohort-ilp-card-body {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
}

.cohort-ilp-overview .cohort-ilp-learner-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(min(250px, 100%), 0.8fr);
  gap: clamp(16px, 2vw, 26px);
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(7, 27, 70, 0.11);
}

.cohort-ilp-overview .cohort-ilp-learner-title {
  min-width: 0;
}

.cohort-ilp-overview .cohort-ilp-learner-title span,
.cohort-ilp-overview .cohort-ilp-standard-panel span,
.cohort-ilp-overview .cohort-ilp-metric-title,
.cohort-ilp-overview .cohort-ilp-summary-strip span {
  color: #465875;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.cohort-ilp-overview .cohort-ilp-learner-title h3 {
  margin: 8px 0 8px;
  color: var(--school-card-ink);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 1000;
  line-height: 0.98;
}

.cohort-ilp-overview .cohort-ilp-learner-title p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #44546f;
  font-size: clamp(0.96rem, 1.1vw, 1.15rem);
  font-weight: 800;
}

.cohort-ilp-overview .cohort-ilp-learner-title b {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--school-card-gold);
}

.cohort-ilp-overview .cohort-ilp-standard-panel {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding-left: 28px;
  border-left: 1px solid rgba(7, 27, 70, 0.13);
}

.cohort-ilp-overview .cohort-ilp-standard-panel strong {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #92400e;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.cohort-ilp-overview .cohort-ilp-standard-panel strong em {
  font-size: clamp(2.2rem, 3vw, 3.25rem);
  font-style: normal;
  line-height: 1;
}

.cohort-ilp-overview .cohort-ilp-standard-panel.silver strong {
  color: #475569;
}

.cohort-ilp-overview .cohort-ilp-standard-panel.gold strong {
  color: #a16207;
}

.cohort-ilp-overview .cohort-ilp-standard-panel.concern strong {
  color: #be123c;
}

.cohort-ilp-overview .cohort-ilp-standard-panel p {
  margin: 0;
  color: var(--school-card-muted);
  font-size: 1rem;
  font-weight: 750;
}

.cohort-ilp-overview .cohort-ilp-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
  align-items: stretch;
  min-width: 0;
}

.cohort-ilp-overview .cohort-ilp-metric-card {
  display: grid;
  min-width: 0;
  min-height: 182px;
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding: 17px 14px;
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-top: 4px solid var(--school-card-gold);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #102e68 0%, var(--school-card-navy) 100%);
  text-align: center;
  box-shadow: 0 14px 28px rgba(7, 27, 70, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.cohort-ilp-overview .cohort-ilp-metric-card .cohort-ilp-metric-title {
  color: #f4d777;
  line-height: 1.2;
  white-space: normal;
}

.cohort-ilp-overview .cohort-ilp-metric-card strong {
  color: #ffffff;
  font-size: clamp(1.18rem, 1.34vw, 1.55rem);
  font-weight: 1000;
  line-height: 1.1;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.cohort-ilp-overview .cohort-ilp-metric-card em,
.cohort-ilp-overview .cohort-ilp-metric-card small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.cohort-ilp-overview .cohort-ilp-metric-card small {
  color: #f4d777;
}

.cohort-ilp-overview .cohort-ilp-metric-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #f4d777;
  font-size: 1.45rem;
  font-style: normal;
  font-weight: 1000;
}

.cohort-ilp-overview .cohort-ilp-metric-card.attendance .cohort-ilp-metric-icon,
.cohort-ilp-overview .cohort-ilp-metric-card.support .cohort-ilp-metric-icon {
  background: rgba(22, 163, 74, 0.18);
  color: #bbf7d0;
}

.cohort-ilp-overview .cohort-ilp-metric-card.evidence .cohort-ilp-metric-icon {
  background: rgba(212, 175, 55, 0.18);
  color: #f4d777;
}

.cohort-ilp-overview .cohort-ilp-metric-card.support.active .cohort-ilp-metric-icon {
  background: rgba(255, 228, 230, 0.16);
  color: #fecdd3;
}

.cohort-ilp-overview .cohort-ilp-mini-progress {
  width: 84%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.cohort-ilp-overview .cohort-ilp-mini-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3157d5, #6d4de6);
}

.cohort-ilp-overview .cohort-ilp-readiness-ring {
  display: grid;
  width: clamp(92px, 9vw, 112px);
  height: clamp(92px, 9vw, 112px);
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 55%, transparent 56%),
    conic-gradient(#f4d777 0 var(--readiness), rgba(255, 255, 255, 0.18) var(--readiness) 100%);
  box-shadow: inset 0 0 0 1px rgba(7, 27, 70, 0.04);
}

.cohort-ilp-overview .cohort-ilp-readiness-ring strong {
  color: var(--school-card-ink);
  font-size: 1.55rem;
}

.cohort-ilp-overview .cohort-ilp-summary-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 0;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(212, 175, 55, 0.52);
  border-left: 6px solid var(--school-card-gold);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0) 22%),
    linear-gradient(180deg, #102e68 0%, var(--school-card-navy) 100%);
  box-shadow: 0 14px 28px rgba(7, 27, 70, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  min-width: 0;
}

.cohort-ilp-overview .cohort-ilp-summary-strip article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  min-width: 0;
  padding: 0 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.cohort-ilp-overview .cohort-ilp-summary-strip article:first-child {
  border-left: 0;
}

.cohort-ilp-overview .cohort-ilp-summary-strip i {
  grid-row: span 2;
  color: #f4d777;
  font-size: 1.55rem;
  font-style: normal;
  line-height: 1;
}

.cohort-ilp-overview .cohort-ilp-summary-strip strong {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 1000;
  line-height: 1.18;
}

.cohort-ilp-overview .cohort-ilp-card-actions {
  display: flex;
  position: static;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  justify-self: end;
  align-self: stretch;
  gap: 18px;
  z-index: 0;
}

.cohort-ilp-overview .cohort-ilp-action {
  position: relative;
  display: inline-flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 2px solid var(--school-card-gold);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, #143d86 0%, var(--school-card-navy) 100%);
  color: #ffffff;
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  font-weight: 1000;
  line-height: 1.18;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  box-shadow: 0 18px 30px rgba(7, 27, 77, 0.22), inset 0 1px 0 rgba(255, 236, 169, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cohort-ilp-overview .school-cohort-learner-actions .cohort-ilp-action,
.cohort-ilp-overview .school-cohort-learner-actions .cohort-ilp-action.secondary,
.cohort-ilp-overview .school-cohort-learner-actions .cohort-ilp-action.primary {
  border-color: var(--school-card-gold) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, #143d86 0%, var(--school-card-navy) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 30px rgba(7, 27, 77, 0.22), inset 0 1px 0 rgba(255, 236, 169, 0.28) !important;
}

.cohort-ilp-overview .school-cohort-learner-actions .cohort-ilp-action.primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, #0e3379 0%, #061842 100%) !important;
}

.cohort-ilp-overview .cohort-ilp-action::before {
  display: grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.76);
  border-radius: 50%;
  color: #f5c84c;
  font-size: 1.1rem;
}

.cohort-ilp-overview .cohort-ilp-action-label {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: #ffffff;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
}

.cohort-ilp-overview .cohort-ilp-action-label span {
  color: #ffffff;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: inherit;
  text-transform: none;
}

.cohort-ilp-overview [data-school-intelligence-profile]::before {
  content: "⚡";
}

.cohort-ilp-overview [data-school-learner-evidence]::before {
  content: "⌕";
}

.cohort-ilp-overview [data-school-ilp]::before {
  content: "↗";
}

.cohort-ilp-overview .cohort-ilp-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(7, 27, 77, 0.27), inset 0 1px 0 rgba(255, 236, 169, 0.34);
}

@media (max-width: 1320px) {
  .cohort-ilp-overview .cohort-ilp-learner-card {
    grid-template-columns: minmax(170px, 0.5fr) minmax(0, 1.55fr) minmax(168px, 0.52fr);
    gap: 20px;
    padding: 26px;
  }

  .cohort-ilp-overview .cohort-ilp-card-actions {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    flex-direction: column;
    align-self: stretch;
  }

  .cohort-ilp-overview .cohort-ilp-action {
    min-height: 78px;
    text-align: center;
  }

  .cohort-ilp-overview .cohort-ilp-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip {
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip article,
  .cohort-ilp-overview .cohort-ilp-summary-strip article:first-child {
    padding: 12px;
    border-left: 0;
    border-top: 1px solid rgba(7, 27, 70, 0.13);
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip article:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (max-width: 980px) {
  .cohort-ilp-overview .cohort-ilp-learner-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cohort-ilp-overview .cohort-ilp-profile-column {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .cohort-ilp-overview .cohort-ilp-photo-ring {
    width: 150px;
    height: 150px;
  }

  .cohort-ilp-overview .cohort-ilp-learner-header,
  .cohort-ilp-overview .cohort-ilp-metric-grid,
  .cohort-ilp-overview .cohort-ilp-summary-strip {
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  }

  .cohort-ilp-overview .cohort-ilp-standard-panel {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .cohort-ilp-overview .cohort-ilp-learner-card {
    min-height: auto;
    padding: 22px;
  }

  .cohort-ilp-overview .cohort-ilp-profile-column,
  .cohort-ilp-overview .cohort-ilp-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cohort-ilp-overview .cohort-ilp-profile-column {
    align-items: center;
    text-align: center;
  }

  .cohort-ilp-overview .cohort-ilp-learner-header,
  .cohort-ilp-overview .cohort-ilp-metric-grid,
  .cohort-ilp-overview .cohort-ilp-summary-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip article,
  .cohort-ilp-overview .cohort-ilp-summary-strip article:first-child {
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid rgba(7, 27, 70, 0.13);
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip article:first-child {
    border-top: 0;
  }

  .cohort-ilp-overview .cohort-ilp-action {
    min-height: 70px;
    text-align: center;
  }
}

/* Premium learner card architecture: presentation-only redesign for school cohort overview. */
.cohort-ilp-overview .cohort-ilp-learner-list {
  gap: 18px;
}

.cohort-ilp-overview .cohort-ilp-learner-card {
  grid-template-columns: minmax(210px, 23%) minmax(0, 1fr) minmax(180px, 19%);
  gap: clamp(18px, 2.1vw, 30px);
  align-items: stretch;
  padding: clamp(20px, 2.3vw, 30px);
  border: 1px solid rgba(13, 43, 107, 0.12);
  border-left: 8px solid #16a34a;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(13, 43, 107, 0.035), rgba(255, 255, 255, 0) 28%),
    #ffffff;
  box-shadow: 0 20px 50px rgba(7, 27, 70, 0.12);
}

.cohort-ilp-overview .cohort-ilp-learner-card.at-risk {
  border-left-color: #dc2626;
}

.cohort-ilp-overview .cohort-ilp-learner-card.monitoring {
  border-left-color: #d97706;
}

.cohort-ilp-overview .cohort-ilp-profile-column {
  justify-content: flex-start;
  gap: 14px;
  padding: 6px 0;
}

.cohort-ilp-overview .cohort-ilp-photo-ring {
  width: clamp(132px, 12vw, 176px);
  height: clamp(132px, 12vw, 176px);
  border-width: 5px;
  box-shadow: 0 14px 28px rgba(7, 27, 70, 0.15);
}

.cohort-ilp-overview .cohort-ilp-status-badge {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 0.92rem;
}

.cohort-ilp-overview .cohort-ilp-status-badge span {
  width: 20px;
  height: 20px;
  font-size: 0.72rem;
}

.cohort-ilp-overview .cohort-ilp-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.cohort-ilp-overview .cohort-ilp-learner-header {
  display: block;
  padding-bottom: 0;
  border-bottom: 0;
}

.cohort-ilp-overview .cohort-ilp-learner-title h3 {
  margin: 5px 0 7px;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1;
}

.cohort-ilp-overview .cohort-ilp-learner-title p {
  gap: 8px;
  font-size: 0.95rem;
}

.cohort-ilp-overview .cohort-ilp-hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.cohort-ilp-overview .cohort-ilp-hero-pill {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(13, 43, 107, 0.1);
  border-radius: 14px;
  background: #f7f9fd;
  color: var(--school-card-ink);
}

.cohort-ilp-overview .cohort-ilp-hero-pill i {
  grid-row: span 2;
  color: #16a34a;
  font-style: normal;
  line-height: 1;
}

.cohort-ilp-overview .cohort-ilp-hero-pill strong,
.cohort-ilp-overview .cohort-ilp-hero-pill em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.cohort-ilp-overview .cohort-ilp-hero-pill strong {
  color: var(--school-card-ink);
  font-size: 0.9rem;
  font-weight: 1000;
  line-height: 1.1;
}

.cohort-ilp-overview .cohort-ilp-hero-pill em {
  color: #52627a;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.cohort-ilp-overview .cohort-ilp-hero-pill.gold i,
.cohort-ilp-overview .cohort-ilp-hero-pill.silver i,
.cohort-ilp-overview .cohort-ilp-hero-pill.bronze i,
.cohort-ilp-overview .cohort-ilp-hero-pill.readiness i,
.cohort-ilp-overview .cohort-ilp-hero-pill.theory i {
  color: var(--school-card-gold);
}

.cohort-ilp-overview .cohort-ilp-hero-pill.concern i,
.cohort-ilp-overview .cohort-ilp-hero-pill.at-risk i {
  color: #dc2626;
}

.cohort-ilp-overview .cohort-ilp-kpi-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.cohort-ilp-overview .cohort-ilp-kpi-tile {
  display: grid;
  min-width: 0;
  gap: 4px;
  align-content: start;
  padding: 12px;
  border: 1px solid rgba(13, 43, 107, 0.09);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 8px 20px rgba(7, 27, 70, 0.075);
}

.cohort-ilp-overview .cohort-ilp-kpi-tile i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: rgba(13, 43, 107, 0.07);
  color: #0d2b6b;
  font-style: normal;
  font-weight: 1000;
}

.cohort-ilp-overview .cohort-ilp-kpi-tile span,
.cohort-ilp-overview .cohort-ilp-kpi-tile strong,
.cohort-ilp-overview .cohort-ilp-kpi-tile em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.cohort-ilp-overview .cohort-ilp-kpi-tile span {
  color: #52627a;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cohort-ilp-overview .cohort-ilp-kpi-tile strong {
  color: var(--school-card-ink);
  font-size: clamp(0.92rem, 1.05vw, 1.08rem);
  font-weight: 1000;
  line-height: 1.08;
}

.cohort-ilp-overview .cohort-ilp-kpi-tile em {
  color: #52627a;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
}

.cohort-ilp-overview .cohort-ilp-kpi-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf7;
}

.cohort-ilp-overview .cohort-ilp-kpi-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d2b6b, var(--school-card-gold));
}

.cohort-ilp-overview .cohort-ilp-summary-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 12px 14px;
  border-radius: 16px;
}

.cohort-ilp-overview .cohort-ilp-summary-strip article {
  padding: 0 12px;
}

.cohort-ilp-overview .cohort-ilp-summary-strip i {
  font-size: 1.18rem;
}

.cohort-ilp-overview .cohort-ilp-summary-strip span {
  font-size: 0.66rem;
}

.cohort-ilp-overview .cohort-ilp-summary-strip strong {
  font-size: 0.78rem;
}

.cohort-ilp-overview .cohort-ilp-card-actions {
  justify-content: center;
  gap: 12px;
}

.cohort-ilp-overview .cohort-ilp-standard-panel {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin-bottom: 4px;
  padding: 13px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, #12356f, var(--school-card-navy));
}

.cohort-ilp-overview .cohort-ilp-standard-panel span {
  color: #f4d777;
  font-size: 0.64rem;
  line-height: 1.2;
}

.cohort-ilp-overview .cohort-ilp-standard-panel strong {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #ffffff;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.1;
}

.cohort-ilp-overview .cohort-ilp-standard-panel strong em {
  font-size: 1.45rem;
}

.cohort-ilp-overview .cohort-ilp-standard-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  line-height: 1.25;
}

.cohort-ilp-overview .cohort-ilp-action {
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  text-align: left;
}

.cohort-ilp-overview .cohort-ilp-action::before {
  width: 28px;
  min-width: 28px;
  height: 28px;
  font-size: 0.95rem;
}

@media (max-width: 1280px) {
  .cohort-ilp-overview .cohort-ilp-learner-card {
    grid-template-columns: minmax(180px, 22%) minmax(0, 1fr) minmax(162px, 18%);
    gap: 18px;
  }

  .cohort-ilp-overview .cohort-ilp-hero-strip,
  .cohort-ilp-overview .cohort-ilp-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip article,
  .cohort-ilp-overview .cohort-ilp-summary-strip article:first-child {
    padding: 10px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip article:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (min-width: 981px) {
  .cohort-ilp-overview .cohort-ilp-hero-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cohort-ilp-overview .cohort-ilp-kpi-row,
  .cohort-ilp-overview .cohort-ilp-summary-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip article,
  .cohort-ilp-overview .cohort-ilp-summary-strip article:first-child {
    padding: 0 10px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip article:first-child {
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .cohort-ilp-overview .cohort-ilp-learner-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cohort-ilp-overview .cohort-ilp-profile-column {
    align-items: center;
  }

  .cohort-ilp-overview .cohort-ilp-card-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cohort-ilp-overview .cohort-ilp-standard-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .cohort-ilp-overview .cohort-ilp-card-actions,
  .cohort-ilp-overview .cohort-ilp-hero-strip,
  .cohort-ilp-overview .cohort-ilp-kpi-row,
  .cohort-ilp-overview .cohort-ilp-summary-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip article,
  .cohort-ilp-overview .cohort-ilp-summary-strip article:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .cohort-ilp-overview .cohort-ilp-summary-strip article:first-child {
    border-top: 0;
  }
}

/* Minimal learner card reset: visual-only simplification, existing data and actions preserved. */
.cohort-ilp-overview .cohort-ilp-learner-card {
  grid-template-columns: minmax(166px, 20%) minmax(0, 1fr) minmax(168px, 17%);
  gap: clamp(16px, 2vw, 26px);
  align-items: center;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(7, 27, 70, 0.1);
  border-left: 7px solid #16a34a;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(7, 27, 70, 0.11);
}

.cohort-ilp-overview .cohort-ilp-profile-column {
  gap: 16px;
  justify-content: center;
  padding: 0;
}

.cohort-ilp-overview .cohort-ilp-photo-ring {
  width: clamp(165px, 14vw, 182px);
  height: clamp(165px, 14vw, 182px);
  border-width: 5px;
  box-shadow: 0 16px 34px rgba(7, 27, 70, 0.17);
}

.cohort-ilp-overview .cohort-ilp-status-badge {
  min-height: 32px;
  padding: 7px 13px;
  font-size: 0.82rem;
}

.cohort-ilp-overview .cohort-ilp-status-badge span {
  width: 17px;
  height: 17px;
  font-size: 0.66rem;
}

.cohort-ilp-overview .cohort-ilp-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.cohort-ilp-overview .cohort-ilp-learner-header {
  display: block;
  padding: 0;
  border: 0;
}

.cohort-ilp-overview .cohort-ilp-headline-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin: 0 0 8px;
  padding: 6px 10px;
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.cohort-ilp-overview .cohort-ilp-headline-status.monitoring {
  border-color: rgba(245, 158, 11, 0.22);
  background: #fff7ed;
  color: #b45309;
}

.cohort-ilp-overview .cohort-ilp-headline-status.at-risk {
  border-color: rgba(220, 38, 38, 0.18);
  background: #fff1f2;
  color: #be123c;
}

.cohort-ilp-overview .cohort-ilp-learner-title h3 {
  margin: 0 0 8px;
  color: var(--school-card-ink);
  font-size: clamp(1.78rem, 2.55vw, 2.85rem);
  font-weight: 1000;
  line-height: 0.98;
}

.cohort-ilp-overview .cohort-ilp-learner-title p {
  display: block;
  margin: 4px 0 0;
  color: #52627a;
  font-size: clamp(0.86rem, 0.94vw, 1rem);
  font-weight: 820;
  line-height: 1.32;
}

.cohort-ilp-overview .cohort-ilp-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  min-width: 0;
}

.cohort-ilp-overview .cohort-ilp-kpi-tile {
  min-height: 78px;
  padding: 11px 11px 10px;
  border: 1px solid rgba(13, 43, 107, 0.08);
  border-radius: 14px;
  background: #f8fbff;
  box-shadow: none;
}

.cohort-ilp-overview .cohort-ilp-kpi-tile i {
  display: none;
}

.cohort-ilp-overview .cohort-ilp-kpi-tile span {
  color: #66748a;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-overflow: clip;
}

.cohort-ilp-overview .cohort-ilp-kpi-tile strong {
  color: var(--school-card-ink);
  font-size: clamp(0.9rem, 1.05vw, 1.08rem);
}

.cohort-ilp-overview .cohort-ilp-kpi-tile em {
  color: #66748a;
  font-size: 0.68rem;
}

.cohort-ilp-overview .cohort-ilp-kpi-progress {
  height: 4px;
  background: #e9eef7;
}

.cohort-ilp-overview .cohort-ilp-kpi-progress b {
  background: linear-gradient(90deg, var(--school-card-blue), var(--school-card-gold));
}

.cohort-ilp-overview .cohort-ilp-card-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  align-self: center;
}

.cohort-ilp-overview .cohort-ilp-action {
  min-height: 58px;
  height: 58px;
  padding: 9px 12px;
  border-width: 1px;
  border-radius: 14px;
  font-size: 0.82rem;
  box-shadow: 0 12px 22px rgba(7, 27, 77, 0.16), inset 0 1px 0 rgba(255, 236, 169, 0.24);
}

.cohort-ilp-overview .school-cohort-learner-actions .cohort-ilp-action,
.cohort-ilp-overview .school-cohort-learner-actions .cohort-ilp-action.secondary,
.cohort-ilp-overview .school-cohort-learner-actions .cohort-ilp-action.primary {
  box-shadow: 0 12px 22px rgba(7, 27, 77, 0.16), inset 0 1px 0 rgba(255, 236, 169, 0.24) !important;
}

.cohort-ilp-overview .cohort-ilp-action::before {
  width: 22px;
  min-width: 22px;
  height: 22px;
  font-size: 0.74rem;
}

@media (max-width: 1180px) {
  .cohort-ilp-overview .cohort-ilp-learner-card {
    grid-template-columns: minmax(152px, 20%) minmax(0, 1fr) minmax(150px, 18%);
    gap: 16px;
  }

  .cohort-ilp-overview .cohort-ilp-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cohort-ilp-overview .cohort-ilp-learner-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cohort-ilp-overview .cohort-ilp-photo-ring {
    width: 150px;
    height: 150px;
  }

  .cohort-ilp-overview .cohort-ilp-card-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 620px) {
  .cohort-ilp-overview .cohort-ilp-kpi-row,
  .cohort-ilp-overview .cohort-ilp-card-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Premium school learner card replacement: scoped visual-only update, existing actions preserved. */
.cohort-ilp-overview .cohort-ilp-learner-card {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: stretch;
  width: 100%;
  min-width: 0;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-left: 7px solid #16a34a;
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 22px 54px rgba(7, 27, 70, 0.13);
  overflow: hidden;
}

.cohort-ilp-overview .cohort-ilp-learner-card.monitoring {
  border-left-color: #f59e0b;
}

.cohort-ilp-overview .cohort-ilp-learner-card.at-risk {
  border-left-color: #dc2626;
}

.cohort-ilp-overview .cohort-ilp-profile-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0) 30%),
    linear-gradient(145deg, #061842 0%, #0a2a66 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cohort-ilp-overview .cohort-ilp-photo-ring {
  width: clamp(136px, 11vw, 168px);
  height: clamp(136px, 11vw, 168px);
  flex: 0 0 auto;
  border: 5px solid #d4af37;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.cohort-ilp-overview .cohort-ilp-photo-ring .learner-avatar,
.cohort-ilp-overview .cohort-ilp-photo-ring img,
.cohort-ilp-overview .cohort-ilp-photo-ring span {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cohort-ilp-overview .cohort-ilp-profile-identity {
  display: grid;
  gap: 6px;
  text-align: center;
}

.cohort-ilp-overview .cohort-ilp-profile-identity h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.15rem, 1.45vw, 1.55rem);
  font-weight: 950;
  line-height: 1.08;
}

.cohort-ilp-overview .cohort-ilp-profile-identity span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cohort-ilp-overview .cohort-ilp-premium-panel {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: clamp(12px, 1.3vw, 18px);
  min-width: 0;
}

.cohort-ilp-overview .cohort-ilp-readiness-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  row-gap: 3px;
  align-items: center;
  min-width: 0;
  padding: clamp(14px, 1.5vw, 18px) clamp(16px, 1.8vw, 24px);
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0) 35%),
    linear-gradient(135deg, #061842 0%, #0a2a66 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(7, 27, 77, 0.18);
}

.cohort-ilp-overview .cohort-ilp-readiness-banner span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.cohort-ilp-overview .cohort-ilp-readiness-banner strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #ffffff;
  font-size: clamp(1.85rem, 2.3vw, 2.45rem);
  font-weight: 1000;
  line-height: 1;
}

.cohort-ilp-overview .cohort-ilp-readiness-banner em {
  color: #f8e7a5;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-style: normal;
  font-weight: 900;
  line-height: 1.18;
}

.cohort-ilp-overview .cohort-ilp-brief-box {
  min-width: 0;
  padding: clamp(13px, 1.4vw, 18px) clamp(15px, 1.6vw, 20px);
  border: 1px solid rgba(13, 43, 107, 0.09);
  border-radius: 18px;
  background: #f8fbff;
  box-shadow: inset 4px 0 0 rgba(212, 175, 55, 0.78);
}

.cohort-ilp-overview .cohort-ilp-brief-box span {
  display: block;
  margin: 0 0 6px;
  color: #52627a;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cohort-ilp-overview .cohort-ilp-brief-box p {
  margin: 0;
  color: #071b4d;
  font-size: clamp(0.92rem, 1vw, 1.04rem);
  font-weight: 760;
  line-height: 1.42;
}

.cohort-ilp-overview .cohort-ilp-premium-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  min-width: 0;
}

.cohort-ilp-overview .cohort-ilp-premium-metric {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 118px;
  padding: clamp(15px, 1.5vw, 20px);
  border: 1px solid rgba(13, 43, 107, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 27, 70, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58), 0 12px 26px rgba(7, 27, 70, 0.08);
}

.cohort-ilp-overview .cohort-ilp-premium-metric.rag-green {
  border-color: rgba(22, 163, 74, 0.24);
  background: linear-gradient(135deg, #ecfdf5 0%, #dcfce7 100%);
}

.cohort-ilp-overview .cohort-ilp-premium-metric.rag-orange {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.cohort-ilp-overview .cohort-ilp-premium-metric.rag-red {
  border-color: rgba(220, 38, 38, 0.24);
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
}

.cohort-ilp-overview .cohort-ilp-premium-metric.rag-blue {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.cohort-ilp-overview .cohort-ilp-premium-metric span,
.cohort-ilp-overview .cohort-ilp-premium-metric strong,
.cohort-ilp-overview .cohort-ilp-premium-metric em {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.cohort-ilp-overview .cohort-ilp-premium-metric span {
  color: #52627a;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.cohort-ilp-overview .cohort-ilp-premium-metric strong {
  color: #071b4d;
  font-size: clamp(1.16rem, 1.36vw, 1.48rem);
  font-weight: 1000;
  line-height: 1.1;
}

.cohort-ilp-overview .cohort-ilp-premium-metric em {
  color: #66748a;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.22;
}

.cohort-ilp-overview .cohort-ilp-premium-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  min-width: 0;
}

.cohort-ilp-overview .cohort-ilp-premium-actions .cohort-ilp-action,
.cohort-ilp-overview .cohort-ilp-premium-actions .cohort-ilp-action.secondary,
.cohort-ilp-overview .cohort-ilp-premium-actions .cohort-ilp-action.primary {
  width: 100%;
  min-height: 58px;
  height: auto;
  padding: 13px 16px;
  border: 1px solid rgba(212, 175, 55, 0.86);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #0a2a66 0%, #061842 100%) !important;
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(7, 27, 77, 0.22), inset 0 1px 0 rgba(255, 236, 169, 0.2) !important;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.cohort-ilp-overview .cohort-ilp-premium-actions .cohort-ilp-action::before {
  display: none;
}

.cohort-ilp-overview .cohort-ilp-premium-actions .cohort-ilp-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(7, 27, 77, 0.27), inset 0 1px 0 rgba(255, 236, 169, 0.24) !important;
}

@media (max-width: 1120px) {
  .cohort-ilp-overview .cohort-ilp-premium-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cohort-ilp-overview .cohort-ilp-learner-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cohort-ilp-overview .cohort-ilp-profile-column {
    min-height: auto;
  }

  .cohort-ilp-overview .cohort-ilp-photo-ring {
    width: 144px;
    height: 144px;
  }
}

@media (max-width: 640px) {
  .cohort-ilp-overview .cohort-ilp-premium-metrics,
  .cohort-ilp-overview .cohort-ilp-premium-actions,
  .cohort-ilp-overview .cohort-ilp-readiness-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cohort-ilp-overview .cohort-ilp-readiness-banner strong {
    grid-row: auto;
    grid-column: auto;
  }
}

/* Learner Dashboard Premium TFE Colour System - active */
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign {
  --learner-tfe-navy: #061842;
  --learner-tfe-blue: #0a2a66;
  --learner-tfe-ink: #071b4d;
  --learner-tfe-gold: #d4af37;
  --learner-tfe-gold-strong: #b8790f;
  --learner-tfe-gold-soft: rgba(212, 175, 55, 0.18);
  --learner-tfe-border: rgba(212, 175, 55, 0.42);
  --learner-tfe-muted: #52627a;
  --learner-tfe-track: #e8edf5;
  --learner-tfe-surface: #ffffff;
  --learner-tfe-surface-soft: #f8fbff;
  --learner-tfe-shadow: 0 18px 42px rgba(7, 27, 77, 0.09);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-dashboard-hero-card {
  border-color: rgba(212, 175, 55, 0.52);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0) 16%),
    linear-gradient(135deg, #041232 0%, #061842 50%, #0a2a66 100%);
  box-shadow:
    0 22px 52px rgba(7, 27, 77, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-dashboard-hero-card::after {
  opacity: 0.18;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08));
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-dashboard-photo-column .premium-profile-photo-wrap {
  box-shadow:
    0 20px 42px rgba(2, 6, 23, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.48),
    0 0 0 8px rgba(212, 175, 55, 0.1);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-dashboard-identity .premium-profile-name-lockup .premium-welcome {
  border-color: rgba(212, 175, 55, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: #f4d777;
  letter-spacing: 0.1em;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-summary-grid {
  border-color: var(--learner-tfe-border);
  background:
    linear-gradient(180deg, #f7faff 0%, #ffffff 54%, #f8fbff 100%);
  box-shadow:
    0 20px 48px rgba(7, 27, 77, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-kpi-card,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-breakdown-card {
  border-color: var(--learner-tfe-border);
  background: linear-gradient(180deg, var(--learner-tfe-surface) 0%, var(--learner-tfe-surface-soft) 100%);
  box-shadow:
    var(--learner-tfe-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-card-kicker,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-section-title .eyebrow,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-secondary-kpi__head span,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-employment-target-head span,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-target-progress em,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-improvement-list p,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-employment-insights-panel em {
  color: var(--learner-tfe-muted);
  letter-spacing: 0.09em;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-kpi-card h3,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-section-title h3,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-employment-target-head strong,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-improvement-list span,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-employment-insights-panel strong {
  color: var(--learner-tfe-ink);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-score-layout {
  border-color: rgba(212, 175, 55, 0.58);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0) 26%),
    linear-gradient(135deg, #041232 0%, #061842 58%, #0a2a66 100%);
  color: #ffffff;
  box-shadow:
    0 18px 38px rgba(7, 27, 77, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-score-layout .premium-readiness-ring {
  background:
    radial-gradient(circle at center, #ffffff 0 55%, transparent 56%),
    conic-gradient(var(--learner-tfe-gold) 0 var(--score), rgba(255, 255, 255, 0.18) var(--score) 100%);
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.98),
    0 14px 28px rgba(2, 6, 23, 0.22),
    0 0 0 1px rgba(212, 175, 55, 0.4);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-score-summary > strong {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(2, 6, 23, 0.24);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-empty-state {
  border: 1px solid rgba(212, 175, 55, 0.52);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.18), transparent 28%),
    linear-gradient(135deg, #041232 0%, #061842 62%, #0a2a66 100%);
  box-shadow:
    0 16px 34px rgba(7, 27, 77, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-empty-state strong {
  color: #ffffff;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-empty-state span {
  color: #f4d777;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-meta-row span {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-meta-row em {
  border: 1px solid rgba(212, 175, 55, 0.62);
  background: #fff6d8;
  color: #604000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 16px rgba(154, 106, 0, 0.08);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-readiness-kpi-card .premium-readiness-progress,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-secondary-kpi,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-today-target-card {
  border-color: rgba(212, 175, 55, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow:
    0 12px 28px rgba(7, 27, 77, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-secondary-kpi__head strong {
  color: var(--learner-tfe-ink);
  text-shadow: none;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-progress-bar,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-secondary-kpi__track {
  border-color: rgba(7, 27, 77, 0.07);
  background: var(--learner-tfe-track);
  box-shadow:
    inset 0 1px 2px rgba(7, 27, 77, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.9);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-progress-bar span,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-secondary-kpi__track i {
  background: linear-gradient(90deg, var(--learner-tfe-navy), var(--learner-tfe-blue));
  box-shadow:
    inset -4px 0 0 var(--learner-tfe-gold),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-today-target-card::before {
  background: linear-gradient(90deg, var(--learner-tfe-gold), #f4d777);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-target-checklist div,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-improvement-list article {
  border-color: rgba(212, 175, 55, 0.24);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow:
    0 10px 24px rgba(7, 27, 77, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-target-checklist b {
  background: #eef3f9;
  color: var(--learner-tfe-blue);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-target-checklist div.done b {
  background: rgba(13, 128, 42, 0.14);
  color: #0d802a;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-today-target-card p {
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: #fff7df;
  color: #604000;
  box-shadow: none;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-improvement-list article {
  position: relative;
  overflow: hidden;
  border-color: rgba(212, 175, 55, 0.32);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-improvement-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--learner-tfe-gold), rgba(212, 175, 55, 0.16));
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-improvement-list strong,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-employment-insights-panel b,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-employment-insights-panel small {
  color: var(--learner-tfe-gold-strong);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-employment-insights-panel {
  border-color: rgba(212, 175, 55, 0.38);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow:
    0 16px 36px rgba(7, 27, 77, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-employment-insights-panel > span {
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: var(--learner-tfe-navy);
  color: #f4d777;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-employment-insights-panel article {
  border-bottom-color: rgba(7, 27, 77, 0.09);
}

/* Premium learner dashboard reference redesign - active */
#learnerPortalContent:has(.premium-learner-reference) {
  background: #f6f8fb;
}

#learnerPortalContent:has(.premium-learner-reference) .learner-dashboard-topbar,
#learnerPortalContent:has(.premium-learner-reference) .learner-menu {
  display: none;
}

#learnerPortalContent:has(.premium-learner-reference) .learner-dashboard-grid {
  display: block;
  width: 100%;
  margin: 0;
}

#learnerPortalContent:has(.premium-learner-reference) .learner-dashboard-grid:has(#learnerProfilePanel) > :not(#learnerProfilePanel),
#learnerPortalContent:has(.premium-learner-reference) .learner-dashboard-grid + .learner-dashboard-grid,
#learnerPortalContent:has(.premium-learner-reference) .learner-portal-grid {
  display: none;
}

#learnerPortalContent:has(.premium-learner-reference) #learnerProfilePanel {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign.premium-learner-reference {
  --reference-navy: #061842;
  --reference-blue: #08265d;
  --reference-gold: #d4a017;
  --reference-gold-soft: rgba(212, 160, 23, 0.16);
  --reference-green: #159447;
  --reference-ink: #071842;
  --reference-muted: #657089;
  --reference-line: rgba(7, 24, 66, 0.1);
  --reference-card: #ffffff;
  --reference-soft: #f8fafc;
  --reference-shadow: 0 18px 44px rgba(7, 24, 66, 0.09);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 18px 18px 42px;
  color: var(--reference-ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 160, 23, 0.07), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f6f8fb 100%);
}

#learnerPortalContent .premium-learner-reference svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#learnerPortalContent .premium-reference-topbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 310px) minmax(300px, 370px);
  gap: 24px;
  align-items: center;
}

#learnerPortalContent .premium-reference-session-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

#learnerPortalContent .premium-reference-session-button {
  width: auto;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(212, 160, 23, 0.9);
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(180deg, #0b326f 0%, #061842 100%);
  box-shadow:
    0 10px 22px rgba(6, 24, 66, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font: inherit;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

#learnerPortalContent .premium-reference-session-button:hover,
#learnerPortalContent .premium-reference-session-button:focus-visible {
  border-color: #f2c14f;
  color: #ffffff;
  background: linear-gradient(180deg, #104080 0%, #08245a 100%);
  box-shadow:
    0 14px 28px rgba(6, 24, 66, 0.27),
    0 0 0 3px rgba(212, 160, 23, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  outline: 2px solid #f2c14f;
  outline-offset: 2px;
}

#learnerPortalContent .premium-reference-session-button:active {
  transform: translateY(0);
}

#learnerPortalContent .premium-reference-welcome span,
#learnerPortalContent .premium-reference-summary-card p,
#learnerPortalContent .premium-reference-identity p,
#learnerPortalContent .premium-reference-card-copy span {
  margin: 0;
  color: var(--reference-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#learnerPortalContent .premium-reference-welcome h2 {
  margin: 4px 0 8px;
  color: var(--reference-navy);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

#learnerPortalContent .premium-reference-welcome p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: var(--reference-muted);
  font-size: 1rem;
  font-weight: 700;
}

#learnerPortalContent .premium-reference-welcome i,
#learnerPortalContent .premium-reference-contact-row i {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(7, 24, 66, 0.28);
}

#learnerPortalContent .premium-reference-summary-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 22px 24px;
  border: 1px solid rgba(212, 160, 23, 0.34);
  border-radius: 16px;
  background: var(--reference-card);
  box-shadow: var(--reference-shadow);
}

#learnerPortalContent .premium-reference-summary-card > span {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 16px;
  color: var(--reference-gold);
  background: rgba(212, 160, 23, 0.1);
}

#learnerPortalContent .premium-reference-summary-card.score {
  justify-content: space-between;
}

#learnerPortalContent .premium-reference-summary-card strong {
  display: block;
  margin-top: 6px;
  color: var(--reference-navy);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

#learnerPortalContent .premium-reference-summary-card.status strong {
  color: var(--reference-green);
  font-size: 1.35rem;
  text-transform: uppercase;
}

#learnerPortalContent .premium-reference-summary-card em {
  display: block;
  margin-top: 8px;
  color: var(--reference-muted);
  font-style: normal;
  font-weight: 700;
}

#learnerPortalContent .premium-reference-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 250px minmax(280px, 1fr) minmax(330px, 420px);
  gap: 34px;
  align-items: center;
  min-height: 292px;
  padding: 38px 44px;
  border: 1px solid rgba(212, 160, 23, 0.5);
  border-radius: 18px;
  background:
    radial-gradient(circle at 65% 55%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #031331 0%, #061842 54%, #08265d 100%);
  box-shadow: 0 24px 58px rgba(7, 24, 66, 0.2);
}

#learnerPortalContent .premium-reference-hero-card::after {
  content: "TFE";
  position: absolute;
  right: 23%;
  bottom: -34px;
  color: rgba(255, 255, 255, 0.035);
  font-size: 12rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

#learnerPortalContent .premium-reference-photo-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  overflow: hidden;
  border: 3px solid var(--reference-gold);
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 0 0 8px rgba(255, 255, 255, 0.04);
}

#learnerPortalContent .premium-reference-photo-wrap .learner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  color: var(--reference-navy);
  font-size: 3rem;
  font-weight: 900;
}

#learnerPortalContent .premium-reference-identity {
  position: relative;
  z-index: 1;
  min-width: 0;
}

#learnerPortalContent .premium-reference-identity p {
  display: inline-flex;
  padding: 8px 18px;
  border: 1px solid rgba(212, 160, 23, 0.72);
  border-radius: 999px;
  color: #f6d77a;
  background: rgba(0, 0, 0, 0.08);
}

#learnerPortalContent .premium-reference-identity h3 {
  margin: 26px 0 12px;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

#learnerPortalContent .premium-reference-identity > span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 750;
}

#learnerPortalContent .premium-reference-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
}

#learnerPortalContent .premium-reference-contact-row span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

#learnerPortalContent .premium-reference-contact-row svg {
  color: var(--reference-gold);
}

#learnerPortalContent .premium-reference-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

#learnerPortalContent .premium-reference-action,
#learnerPortalContent .premium-reference-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(212, 160, 23, 0.78);
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #061842, #08265d);
  box-shadow: 0 14px 28px rgba(2, 10, 31, 0.2);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

#learnerPortalContent .premium-reference-action svg:first-child,
#learnerPortalContent .premium-reference-card-cta svg:first-child {
  color: var(--reference-gold);
}

#learnerPortalContent .premium-reference-action svg:last-child,
#learnerPortalContent .premium-reference-card-cta svg:last-child {
  width: 18px;
  height: 18px;
}

#learnerPortalContent .premium-reference-action:hover,
#learnerPortalContent .premium-reference-card:hover .premium-reference-card-cta {
  transform: translateY(-2px);
  border-color: #f1c85b;
  box-shadow: 0 18px 34px rgba(2, 10, 31, 0.24);
}

#learnerPortalContent .premium-reference-action:focus-visible,
#learnerPortalContent .premium-reference-card:focus-visible,
#learnerPortalContent .premium-reference-card-cta:focus-visible,
#learnerPortalContent .premium-reference-card-link:focus-visible {
  outline: 3px solid rgba(212, 160, 23, 0.44);
  outline-offset: 3px;
}

#learnerPortalContent .premium-reference-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

#learnerPortalContent .premium-reference-card {
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr;
  gap: 20px;
  min-height: 520px;
  padding: 28px 26px 24px;
  border: 1px solid rgba(212, 160, 23, 0.28);
  border-radius: 16px;
  background: var(--reference-card);
  box-shadow: var(--reference-shadow);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

#learnerPortalContent .premium-reference-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 23, 0.62);
  box-shadow: 0 24px 54px rgba(7, 24, 66, 0.13);
}

#learnerPortalContent .premium-reference-card-head {
  display: flex;
  gap: 14px;
  align-items: center;
}

#learnerPortalContent .premium-reference-card-head > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background: rgba(7, 24, 66, 0.06);
  color: var(--reference-blue);
}

#learnerPortalContent .premium-reference-card.gold .premium-reference-card-head > span {
  color: var(--reference-gold);
  background: rgba(212, 160, 23, 0.12);
}

#learnerPortalContent .premium-reference-card.green .premium-reference-card-head > span {
  color: var(--reference-green);
  background: rgba(21, 148, 71, 0.12);
}

#learnerPortalContent .premium-reference-card h3 {
  margin: 0;
  color: var(--reference-navy);
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

#learnerPortalContent .premium-reference-ring {
  display: grid;
  place-items: center;
  align-content: center;
  justify-self: center;
  width: 168px;
  height: 168px;
  margin: 6px 0 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 54%, transparent 55%),
    conic-gradient(var(--ring-color, var(--reference-blue)) 0 var(--ring-value), #e8edf5 var(--ring-value) 100%);
  box-shadow:
    inset 0 0 0 10px #ffffff,
    0 12px 26px rgba(7, 24, 66, 0.08);
}

#learnerPortalContent .premium-reference-ring.gold {
  --ring-color: var(--reference-gold);
}

#learnerPortalContent .premium-reference-ring.green {
  --ring-color: var(--reference-green);
}

#learnerPortalContent .premium-reference-ring.is-empty {
  background:
    radial-gradient(circle at center, #ffffff 0 54%, transparent 55%),
    conic-gradient(#dbe2ec 0 100%);
}

#learnerPortalContent .premium-reference-ring strong {
  color: var(--reference-navy);
  font-size: 2.5rem;
  line-height: 1;
  text-align: center;
}

#learnerPortalContent .premium-reference-ring.is-empty strong {
  max-width: 92px;
  font-size: 1rem;
  line-height: 1.08;
}

#learnerPortalContent .premium-reference-ring span {
  margin-top: 7px;
  color: var(--reference-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#learnerPortalContent .premium-reference-card-copy {
  min-height: 80px;
}

#learnerPortalContent .premium-reference-card-copy strong {
  display: block;
  margin-top: 8px;
  color: var(--reference-navy);
  font-size: 1.08rem;
  line-height: 1.28;
}

#learnerPortalContent .premium-reference-card-progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf5;
  box-shadow: inset 0 1px 2px rgba(7, 24, 66, 0.08);
}

#learnerPortalContent .premium-reference-card-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--reference-navy), var(--reference-blue));
  box-shadow: inset -6px 0 0 var(--reference-gold);
}

#learnerPortalContent .premium-reference-card.gold .premium-reference-card-progress span {
  background: linear-gradient(90deg, #c98b08, #f0bd32);
  box-shadow: inset -6px 0 0 rgba(255, 255, 255, 0.42);
}

#learnerPortalContent .premium-reference-card.green .premium-reference-card-progress span {
  background: linear-gradient(90deg, #0f803a, #1db85b);
  box-shadow: inset -6px 0 0 rgba(255, 255, 255, 0.36);
}

#learnerPortalContent .premium-reference-card > p {
  margin: 0;
  color: var(--reference-muted);
  font-size: 0.95rem;
  font-weight: 750;
}

#learnerPortalContent .premium-reference-card.gold .premium-reference-card-cta {
  background: linear-gradient(135deg, #c98500, #dc9f09);
}

#learnerPortalContent .premium-reference-card.green .premium-reference-card-cta {
  background: linear-gradient(135deg, #0f803a, #159447);
}

#learnerPortalContent .premium-reference-card-link {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--reference-navy);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

#learnerPortalContent .premium-reference-card-link:hover {
  color: #8b6100;
  background: rgba(212, 160, 23, 0.08);
}

@media (max-width: 1180px) {
  #learnerPortalContent .premium-reference-topbar {
    grid-template-columns: 1fr 1fr;
  }

  #learnerPortalContent .premium-reference-welcome {
    grid-column: 1 / -1;
  }

  #learnerPortalContent .premium-reference-hero-card {
    grid-template-columns: 180px 1fr;
  }

  #learnerPortalContent .premium-reference-photo-wrap {
    width: 170px;
    height: 170px;
  }

  #learnerPortalContent .premium-reference-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #learnerPortalContent .premium-reference-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign.premium-learner-reference {
    padding: 14px 12px 30px;
  }

  #learnerPortalContent .premium-reference-session-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #learnerPortalContent .premium-reference-session-button {
    width: 100%;
    max-width: 100%;
  }

  #learnerPortalContent .premium-reference-topbar,
  #learnerPortalContent .premium-reference-hero-card,
  #learnerPortalContent .premium-reference-card-grid {
    grid-template-columns: 1fr;
  }

  #learnerPortalContent .premium-reference-summary-card {
    min-height: 0;
    padding: 18px;
  }

  #learnerPortalContent .premium-reference-hero-card {
    gap: 22px;
    padding: 26px 20px;
    text-align: left;
  }

  #learnerPortalContent .premium-reference-photo-wrap {
    width: 150px;
    height: 150px;
  }

  #learnerPortalContent .premium-reference-identity h3 {
    margin-top: 18px;
  }

  #learnerPortalContent .premium-reference-actions {
    grid-template-columns: 1fr;
  }

  #learnerPortalContent .premium-reference-card {
    min-height: 0;
  }
}

/* Learner dashboard premium card edge refinement - active */
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(212, 160, 23, 0.5);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 58%, #f7faff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 34px rgba(6, 24, 66, 0.085);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px 18px auto;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(6, 24, 66, 0.9), rgba(8, 38, 93, 0.76), rgba(212, 160, 23, 0.58));
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card:hover {
  border-color: rgba(212, 160, 23, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.085),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 46px rgba(6, 24, 66, 0.14);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card:focus-visible {
  border-color: rgba(212, 160, 23, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.1),
    0 0 0 4px rgba(212, 160, 23, 0.22),
    0 22px 46px rgba(6, 24, 66, 0.14);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-head > span {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 253, 0.98));
  color: var(--reference-navy);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.045),
    0 8px 18px rgba(6, 24, 66, 0.07);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.gold .premium-reference-card-head > span,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.green .premium-reference-card-head > span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 253, 0.98));
  color: var(--reference-navy);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-head svg {
  width: 23px;
  height: 23px;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.7));
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-ring {
  position: relative;
  border: 1px solid rgba(212, 160, 23, 0.26);
  background:
    radial-gradient(circle at center, #ffffff 0 50%, transparent 51%),
    conic-gradient(var(--ring-color, var(--reference-blue)) 0 var(--ring-value), #e6ebf3 var(--ring-value) 100%);
  box-shadow:
    inset 0 0 0 9px #ffffff,
    inset 0 0 0 10px rgba(6, 24, 66, 0.04),
    0 14px 28px rgba(6, 24, 66, 0.1);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-ring::after {
  content: "";
  position: absolute;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(6, 24, 66, 0.075);
  border-radius: 50%;
  pointer-events: none;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-ring.gold,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-ring.green {
  --ring-color: var(--reference-navy);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-progress {
  border: 1px solid rgba(6, 24, 66, 0.06);
  background: #edf1f7;
  box-shadow:
    inset 0 1px 2px rgba(6, 24, 66, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-progress span,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.gold .premium-reference-card-progress span,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.green .premium-reference-card-progress span {
  background: linear-gradient(90deg, #061842, #08265d);
  box-shadow:
    inset -6px 0 0 rgba(212, 160, 23, 0.86),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-cta,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.gold .premium-reference-card-cta,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.green .premium-reference-card-cta {
  border: 1px solid rgba(212, 160, 23, 0.78);
  color: #ffffff;
  background: linear-gradient(135deg, #061842, #08265d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 12px 22px rgba(6, 24, 66, 0.18);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card:hover .premium-reference-card-cta {
  border-color: rgba(241, 200, 91, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 28px rgba(6, 24, 66, 0.22);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-link {
  gap: 8px;
  color: var(--reference-navy);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--reference-gold);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.12);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-link:hover {
  color: #061842;
  background: rgba(212, 160, 23, 0.08);
}

/* Learner dashboard green progress ring experiment - active */
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card .premium-reference-ring,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.gold .premium-reference-ring,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.green .premium-reference-ring {
  --ring-color: #159447;
  background:
    radial-gradient(circle at center, #ffffff 0 50%, transparent 51%),
    conic-gradient(var(--ring-color) 0 var(--ring-value), #e6ebf3 var(--ring-value) 100%);
}

/* Learner universal lesson card standardisation - active */
#learnerPortalContent .lesson-list:has(.practical-progress-summary) {
  max-width: 1280px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  align-items: stretch;
}

#learnerPortalContent .learner-theory-lesson-map {
  grid-column: 1 / -1;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

#learnerPortalContent .practical-lesson-card,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card {
  min-width: 0;
  width: 100%;
  min-height: 188px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(217, 174, 43, 0.7);
  border-left-width: 6px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(7, 27, 77, 0.05),
    0 8px 22px rgba(15, 35, 75, 0.06);
  transition:
    transform 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card {
  min-height: 320px;
  height: auto;
  overflow: visible;
}

#learnerPortalContent .practical-lesson-card .lesson-summary,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .lesson-summary {
  min-height: 188px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  overflow: hidden;
  box-sizing: border-box;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .lesson-summary {
  min-height: 320px;
  height: auto;
  gap: 10px;
  padding: 14px;
  overflow: visible;
}

#learnerPortalContent .practical-lesson-card .card-topline,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .card-topline {
  min-height: 28px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .card-topline {
  min-height: 24px;
}

#learnerPortalContent .practical-lesson-card .day-pill,
#learnerPortalContent .practical-lesson-card .lesson-score,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .day-pill,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .lesson-score {
  flex: 0 0 auto;
  min-height: 0;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1.1;
  white-space: nowrap;
}

#learnerPortalContent .practical-lesson-card .lesson-title,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .lesson-title {
  display: -webkit-box;
  flex: 0 0 50px;
  min-height: 50px;
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #071b4d;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .lesson-title {
  flex: 0 0 auto;
  min-height: 0;
  font-size: 1rem;
  line-height: 1.25;
}

#learnerPortalContent .practical-lesson-card .practical-module-meta {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: -2px;
}

#learnerPortalContent .practical-lesson-card .practical-module-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 5px 8px;
  border: 1px solid rgba(212, 160, 23, 0.28);
  border-radius: 999px;
  background: rgba(255, 248, 229, 0.78);
  color: #34455f;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.1;
}

#learnerPortalContent .practical-lesson-card .practical-module-meta strong {
  color: #061842;
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .lesson-outcome {
  display: block;
  min-height: 0;
  margin: 0;
  overflow: visible;
  color: #53627a;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.38;
  white-space: normal;
  overflow-wrap: break-word;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

#learnerPortalContent .practical-lesson-card .evidence-list,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .evidence-list {
  flex: 1 1 auto;
  display: grid;
  align-content: end;
  gap: 6px;
  min-height: 58px;
  margin-top: 0;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .evidence-list {
  min-height: 56px;
  gap: 5px;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .locked-message {
  flex: 0 0 auto;
  min-height: 44px;
  margin: 0;
  padding: 8px 10px;
  line-height: 1.35;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.9);
  color: #506175;
  font-weight: 800;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .locked-message:empty {
  display: none;
  padding: 0;
}

#learnerPortalContent .practical-lesson-card .evidence-row,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .evidence-row {
  min-height: 0;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 0.76rem;
  line-height: 1.2;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card .evidence-row {
  padding: 5px 7px;
  font-size: 0.72rem;
}

#learnerPortalContent .learner-theory-lesson-map .theory-open-action {
  width: 100%;
  margin-top: auto;
  padding: 7px 10px;
  border: 2px solid var(--tfe-button-gold-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    var(--tfe-button-navy);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 var(--tfe-button-gold-highlight),
    0 12px 26px rgba(7, 27, 77, 0.2);
}

#learnerPortalContent .practical-lesson-card.lesson-completed,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-completed,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-card--completed {
  background: linear-gradient(180deg, #f3fff5 0%, #ecfaef 100%);
  border-color: #c8ebd0;
  border-left-color: #16a34a;
  box-shadow: 0 8px 22px rgba(22, 101, 52, 0.08);
}

#learnerPortalContent .practical-lesson-card.lesson-current,
#learnerPortalContent .practical-lesson-card.lesson-awaiting,
#learnerPortalContent .practical-lesson-card.lesson-try-again,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-current,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-awaiting,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-try-again {
  background: #fff8e6;
  border-color: #e5aa2d;
  border-left-color: #d9961f;
  box-shadow:
    0 20px 44px rgba(217, 150, 31, 0.18),
    0 0 0 4px rgba(242, 182, 50, 0.1);
}

#learnerPortalContent .practical-lesson-card.lesson-locked,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-locked {
  background: #f7fbff;
  border-color: #e2eefb;
  border-left-color: #d7e6f7;
  color: #506175;
  box-shadow: 0 8px 22px rgba(15, 35, 75, 0.03);
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-current .lesson-score,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-awaiting .lesson-score,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-try-again .lesson-score {
  background: #fff0c2;
  border: 1px solid rgba(217, 150, 31, 0.2);
  color: #7a5600;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-completed .lesson-score,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-card--completed .lesson-score {
  background: #dff7e7;
  border: 1px solid #c8ebd0;
  color: #0f6b3a;
}

#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-locked .lesson-score {
  background: #eaf3ff;
  border: 1px solid #d7e6f7;
  color: #506175;
}

#learnerPortalContent .practical-lesson-card:not(.lesson-locked):hover,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card:not(.lesson-locked):hover,
#learnerPortalContent .learner-theory-lesson-map .theory-lesson-card.lesson-locked:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 174, 43, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(7, 27, 77, 0.12),
    0 20px 42px rgba(7, 27, 77, 0.14);
}

#learnerPortalContent .lesson-card:focus-within {
  outline: 3px solid rgba(242, 182, 50, 0.38);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  #learnerPortalContent .learner-theory-lesson-map .theory-lesson-grid {
    grid-template-columns: 1fr;
  }
}

/* Learner theory phase selector isolation - active */
#learnerPortalContent .learner-theory-phase-timeline {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  align-items: stretch;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  overflow: visible;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card {
  min-width: 0;
  width: 100%;
  min-height: 156px;
  height: auto;
  padding: 18px;
  border-radius: 20px;
  white-space: normal;
  overflow: visible;
  text-align: left;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card strong,
#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card span,
#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card em,
#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card small {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
}

/* FINAL THEORY & TECHNICAL KNOWLEDGE HERO VISUAL SPEC MATCH - 2026-07-01 */
body:has(.theory-learning-showcase) .app-shell,
body:has(.practical-learning-showcase) .app-shell {
  width: min(100%, 1492px);
}

#learnerPortalContent .lesson-heading:has(.theory-learning-showcase),
#learnerPortalContent .lesson-heading:has(.practical-learning-showcase),
#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) {
  width: min(100%, 1400px);
  max-width: 1400px;
  padding-inline: 46px;
}

#learnerPortalContent .lesson-heading:has(.theory-learning-showcase),
#learnerPortalContent .lesson-heading:has(.practical-learning-showcase) {
  margin-top: 24px;
  margin-bottom: 22px;
}

.theory-learning-showcase,
.practical-learning-showcase {
  display: grid;
  gap: 34px;
}

.theory-page-masthead {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  min-height: 52px;
}

.theory-page-masthead .theory-hero-actions {
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.theory-page-masthead .theory-hero-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 146px;
  min-height: 48px;
  padding: 0 18px;
  border: 1.5px solid #f2b632;
  border-radius: 11px;
  background: linear-gradient(180deg, #082a68 0%, #061a3c 100%);
  color: #ffffff;
  box-shadow: 0 9px 18px rgba(5, 20, 45, 0.18);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
}

.theory-page-masthead .theory-hero-actions button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #f2b632;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.theory-page-masthead .theory-hero-actions button:hover,
.theory-page-masthead .theory-hero-actions button:focus-visible {
  transform: translateY(-1px);
  border-color: #ffd36a;
  background: linear-gradient(180deg, #0a3478 0%, #061f49 100%);
  box-shadow:
    0 13px 24px rgba(5, 20, 45, 0.24),
    0 0 0 3px rgba(242, 182, 50, 0.16);
}

:is(.theory-learning-showcase, .practical-learning-showcase) :is(.theory-learning-hero, .practical-learning-hero) {
  min-height: 610px;
  padding: 54px 52px;
  border-radius: 22px;
  border-color: rgba(242, 182, 50, 0.24);
  background: linear-gradient(90deg, #061a3c 0%, #061a3c 37%, rgba(6, 26, 60, 0.92) 49%, rgba(6, 26, 60, 0.22) 72%, rgba(6, 26, 60, 0.02) 100%);
  box-shadow: 0 24px 56px rgba(7, 27, 77, 0.2);
}

:is(.theory-learning-showcase, .practical-learning-showcase) :is(.theory-learning-hero, .practical-learning-hero)::before {
  z-index: 1;
  inset: 0 auto 0 0;
  width: 56%;
  height: auto;
  border-radius: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(6, 26, 60, 0.96), rgba(6, 26, 60, 0.36), transparent);
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-content {
  min-height: 500px;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr);
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-text-panel {
  gap: 32px;
  padding-right: 28px;
}

#learnerPortalContent .lesson-heading :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-copy h3 {
  max-width: 650px;
  font-size: clamp(3.2rem, 5.4vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-phase-label {
  margin-bottom: 22px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd978, #f7bd43);
  color: #061a3c;
  font-size: 0.9rem;
  font-weight: 950;
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-curriculum-subtitle {
  margin-top: 22px;
  color: #ffffff;
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  font-weight: 900;
}

#learnerPortalContent .lesson-heading :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-copy p:not(.theory-phase-label) {
  max-width: 580px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.45;
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel {
  max-width: 585px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0;
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(6, 26, 60, 0.66);
  backdrop-filter: blur(4px);
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel article {
  position: relative;
  gap: 8px;
  padding: 0 24px 0 0;
  border: 0;
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel article + article {
  padding: 0 0 0 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel span,
:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel em {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  letter-spacing: 0;
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel strong {
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 950;
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel article + article strong {
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel article i {
  width: calc(100% - 42px);
  height: 12px;
  margin-top: 12px;
  background: rgba(112, 147, 190, 0.32);
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel article i b {
  background: linear-gradient(90deg, #f2b632, #ffe39a);
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel article small {
  position: absolute;
  right: 0;
  bottom: -1px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-feature-panel {
  width: 58%;
  border-radius: 0 22px 22px 0;
}

:is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-feature-panel::before {
  background:
    linear-gradient(90deg, #061a3c 0%, rgba(6, 26, 60, 0.98) 20%, rgba(6, 26, 60, 0.72) 38%, rgba(6, 26, 60, 0.24) 56%, rgba(6, 26, 60, 0.02) 78%),
    linear-gradient(180deg, rgba(6, 26, 60, 0.02) 0%, rgba(6, 26, 60, 0.18) 72%, rgba(6, 26, 60, 0.38) 100%);
}

.theory-learning-showcase .theory-hero-feature-panel img {
  object-position: center center;
}

.practical-learning-showcase .practical-hero-feature-panel img {
  object-position: 48% 42%;
}

#learnerPortalContent .learner-theory-phase-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card {
  min-height: 220px;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(7, 27, 77, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: #10254a;
  box-shadow: 0 14px 30px rgba(7, 27, 77, 0.1);
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.active,
#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.current {
  border: 2px solid #f2b632;
  background: linear-gradient(145deg, #061a3c 0%, #08245a 100%);
  color: #ffffff;
  box-shadow: 0 20px 38px rgba(7, 27, 77, 0.2);
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card span {
  color: inherit;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card:not(.active):not(.current) span {
  color: #425475;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card strong {
  margin-top: 12px;
  color: inherit;
  font-size: clamp(1.04rem, 1.35vw, 1.28rem);
  line-height: 1.15;
  font-weight: 950;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card em {
  width: fit-content;
  margin-top: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe4a6, #f6c553);
  color: #061a3c;
  font-size: 0.88rem;
  font-weight: 950;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card small {
  margin-top: auto;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 850;
}

#learnerPortalContent .learner-theory-phase-timeline .theory-phase-card.locked {
  opacity: 1;
  border-color: rgba(7, 27, 77, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
  color: #10254a;
}

#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) .theory-progress-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 32px;
  padding: 20px 26px;
  border-radius: 22px;
  border: 1px solid rgba(242, 182, 50, 0.22);
  background: linear-gradient(135deg, #061a3c 0%, #08245a 100%);
}

#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) .theory-progress-summary article {
  min-height: 104px;
  padding: 18px 24px;
  border-radius: 18px;
  border: 1px solid rgba(242, 182, 50, 0.22);
  border-top: 0;
  background: rgba(6, 26, 60, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) .theory-progress-summary span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  letter-spacing: 0;
}

#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) .theory-progress-summary strong {
  color: #ffffff;
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  line-height: 1;
}

#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) .theory-progress-meter {
  display: none;
}

@media (max-width: 1180px) {
  #learnerPortalContent .lesson-heading:has(.theory-learning-showcase),
  #learnerPortalContent .lesson-heading:has(.practical-learning-showcase),
  #learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) {
    padding-inline: 28px;
  }

  .theory-page-masthead {
    align-items: center;
    justify-content: flex-end;
  }

  .theory-page-masthead .theory-hero-actions {
    justify-content: flex-end;
  }

  .theory-page-masthead .theory-hero-actions button {
    min-width: 138px;
  }
}

@media (max-width: 900px) {
  :is(.theory-learning-showcase, .practical-learning-showcase) :is(.theory-learning-hero, .practical-learning-hero) {
    min-height: 0;
    padding: 34px 24px;
  }

  :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-content {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-text-panel {
    padding-right: 0;
  }

  :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-feature-panel {
    position: relative;
    width: 100%;
    min-height: 320px;
    margin-top: 28px;
    border-radius: 18px;
  }

  :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-feature-panel::before {
    background: linear-gradient(180deg, rgba(6, 26, 60, 0.02) 0%, rgba(6, 26, 60, 0.24) 62%, rgba(6, 26, 60, 0.62) 100%);
  }

  #learnerPortalContent .learner-theory-phase-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) .theory-progress-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  #learnerPortalContent .lesson-heading:has(.theory-learning-showcase),
  #learnerPortalContent .lesson-heading:has(.practical-learning-showcase),
  #learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) {
    padding-inline: 16px;
  }

  .theory-learning-showcase,
  .practical-learning-showcase {
    gap: 22px;
  }

  .theory-page-masthead .theory-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
  }

  .theory-page-masthead .theory-hero-actions button {
    min-width: 0;
    min-height: 48px;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .theory-page-masthead .theory-hero-actions button svg {
    width: 19px;
    height: 19px;
  }

  #learnerPortalContent .lesson-heading :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-copy h3 {
    font-size: clamp(2.55rem, 14vw, 3.5rem);
  }

  :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel,
  #learnerPortalContent .learner-theory-phase-timeline,
  #learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline) .theory-progress-summary {
    grid-template-columns: 1fr;
  }

  :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel article,
  :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel article + article {
    padding: 0;
    border-left: 0;
  }

  :is(.theory-learning-showcase, .practical-learning-showcase) .theory-hero-status-panel article + article {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 1100px) {
  #learnerPortalContent .learner-theory-phase-timeline {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 820px) {
  #learnerPortalContent .learner-theory-phase-timeline {
    grid-template-columns: 1fr;
  }
}

/* Live ILP Programme Journey phase card visual alignment - active */
.live-ilp-dashboard .live-ilp-phase-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(212, 160, 23, 0.5);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(249, 252, 255, 0.99) 50%, rgba(242, 247, 254, 0.99) 100%);
  color: #061842;
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 38px rgba(6, 24, 66, 0.1);
}

.live-ilp-dashboard .live-ilp-phase-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 86px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.32);
  border-radius: 13px 13px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 238, 0.98) 0%, rgba(255, 255, 255, 0.78) 100%),
    linear-gradient(90deg, rgba(6, 24, 66, 0.08), rgba(212, 160, 23, 0.16));
  pointer-events: none;
}

.live-ilp-dashboard .live-ilp-phase-card.complete,
.live-ilp-dashboard .live-ilp-phase-card.current {
  border-color: rgba(212, 160, 23, 0.64);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 58%, #f7faff 100%);
  color: #061842;
}

.live-ilp-dashboard .live-ilp-phase-card.current {
  border-color: rgba(212, 160, 23, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 24px 54px rgba(6, 24, 66, 0.2),
    0 0 0 3px rgba(212, 160, 23, 0.18);
}

.live-ilp-dashboard .live-ilp-phase-card.current::after {
  content: "CURRENT PHASE";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 3px 7px;
  border: 1px solid rgba(212, 160, 23, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #061842;
  box-shadow: 0 8px 16px rgba(6, 24, 66, 0.1);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  pointer-events: none;
}

.live-ilp-dashboard .live-ilp-phase-card.complete::before {
  background:
    linear-gradient(180deg, rgba(243, 255, 247, 0.98) 0%, rgba(255, 255, 255, 0.82) 100%),
    linear-gradient(90deg, rgba(15, 138, 43, 0.12), rgba(212, 160, 23, 0.18));
}

.live-ilp-dashboard .live-ilp-phase-card.current::before {
  height: 100px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, #061842 0%, #08265d 76%, #0f8a2b 100%);
  box-shadow: inset 0 -4px 0 #159447;
}

.live-ilp-dashboard .live-ilp-phase-kicker,
.live-ilp-dashboard .live-ilp-phase-card.current .live-ilp-phase-kicker {
  position: relative;
  z-index: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 8px;
  border: 1px solid rgba(212, 160, 23, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #7d5700;
  letter-spacing: 0.08em;
}

.live-ilp-dashboard .live-ilp-phase-card.current .live-ilp-phase-kicker {
  border-color: rgba(212, 160, 23, 0.92);
  background: rgba(212, 160, 23, 0.16);
  color: #ffe9a8;
}

.live-ilp-dashboard .live-ilp-phase-card h5,
.live-ilp-dashboard .live-ilp-phase-card.current h5 {
  position: relative;
  z-index: 2;
  color: #061842;
  padding-bottom: 8px;
}

.live-ilp-dashboard .live-ilp-phase-card.current h5 {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(6, 24, 66, 0.32);
}

.live-ilp-dashboard .live-ilp-phase-card h5::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(212, 160, 23, 0), rgba(212, 160, 23, 0.9), rgba(212, 160, 23, 0));
  transform: translateX(-50%);
}

.live-ilp-dashboard .live-ilp-phase-card b,
.live-ilp-dashboard .live-ilp-phase-card em,
.live-ilp-dashboard .live-ilp-phase-card li,
.live-ilp-dashboard .live-ilp-phase-card.current b,
.live-ilp-dashboard .live-ilp-phase-card.current em,
.live-ilp-dashboard .live-ilp-phase-card.current li {
  color: #45546b;
}

.live-ilp-dashboard .live-ilp-phase-card b,
.live-ilp-dashboard .live-ilp-phase-card.current b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid rgba(6, 24, 66, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eef3fa);
  color: #34455f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 8px 18px rgba(6, 24, 66, 0.1);
}

.live-ilp-dashboard .live-ilp-phase-card.complete b {
  border-color: rgba(15, 138, 43, 0.22);
  background: #0f8a2b;
}

.live-ilp-dashboard .live-ilp-phase-card.current b {
  border-color: rgba(212, 160, 23, 0.78);
  background: linear-gradient(135deg, #061842, #08265d);
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 20px rgba(6, 24, 66, 0.2);
}

.live-ilp-dashboard .live-ilp-phase-ring,
.live-ilp-dashboard .live-ilp-phase-card.complete .live-ilp-phase-ring {
  border: 1px solid rgba(212, 160, 23, 0.44);
  background:
    radial-gradient(circle at center, #ffffff 0 39%, transparent 40%),
    conic-gradient(#159447 0 calc(var(--value) * 1%), #e6ebf3 calc(var(--value) * 1%) 100%);
  box-shadow:
    inset 0 0 0 5px #ffffff,
    inset 0 0 0 8px rgba(6, 24, 66, 0.055),
    inset 0 9px 18px rgba(6, 24, 66, 0.07),
    0 15px 30px rgba(6, 24, 66, 0.14),
    0 0 0 3px rgba(212, 160, 23, 0.16);
}

.live-ilp-dashboard .live-ilp-phase-card.current .live-ilp-phase-ring {
  background:
    radial-gradient(circle at center, #ffffff 0 39%, transparent 40%),
    conic-gradient(#159447 0 calc(var(--value) * 1%), #e6ebf3 calc(var(--value) * 1%) 100%);
  box-shadow:
    inset 0 0 0 5px #ffffff,
    inset 0 0 0 8px rgba(6, 24, 66, 0.06),
    inset 0 9px 18px rgba(6, 24, 66, 0.08),
    0 18px 34px rgba(6, 24, 66, 0.18),
    0 0 0 4px rgba(212, 160, 23, 0.22);
}

.live-ilp-dashboard .live-ilp-phase-ring strong,
.live-ilp-dashboard .live-ilp-phase-card.complete .live-ilp-phase-ring strong,
.live-ilp-dashboard .live-ilp-phase-card.current .live-ilp-phase-ring strong {
  color: #061842;
}

.live-ilp-dashboard .live-ilp-phase-bar {
  border: 1px solid rgba(6, 24, 66, 0.06);
  background: #edf1f7;
  border-radius: 999px;
  height: 9px;
  box-shadow:
    inset 0 1px 2px rgba(6, 24, 66, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82);
}

.live-ilp-dashboard .live-ilp-phase-bar i,
.live-ilp-dashboard .live-ilp-phase-card.current .live-ilp-phase-bar i {
  background: linear-gradient(90deg, #061842, #08265d);
  box-shadow:
    inset -6px 0 0 rgba(212, 160, 23, 0.86),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.live-ilp-dashboard .live-ilp-phase-card.complete .live-ilp-phase-bar i {
  background: linear-gradient(90deg, #0f8a2b, #159447);
  box-shadow:
    inset -6px 0 0 rgba(212, 160, 23, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.live-ilp-dashboard .live-ilp-phase-card li span {
  position: relative;
  display: inline-grid;
  place-items: center;
  border-width: 1px;
  background: #f3f6fb;
  border-color: #c8d2df;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.82),
    0 2px 5px rgba(6, 24, 66, 0.08);
}

.live-ilp-dashboard .live-ilp-phase-card li {
  line-height: 1.28;
}

.live-ilp-dashboard .live-ilp-phase-card li.done span {
  background: #0f8a2b;
  border-color: #0f8a2b;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 138, 43, 0.22);
}

.live-ilp-dashboard .live-ilp-phase-card li.done span::after {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}

.live-ilp-dashboard .live-ilp-phase-card li.active span {
  background: #d4a017;
  border-color: #d4a017;
  box-shadow:
    0 0 0 3px rgba(212, 160, 23, 0.16),
    0 4px 10px rgba(212, 160, 23, 0.22);
}

.live-ilp-dashboard .live-ilp-phase-card li.active span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}

/* FINAL ILP PHASE CARD PREMIUM OVERRIDE - 2026-07-01 */
.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(212, 160, 23, 0.62);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fcff 54%, #f2f7fe 100%);
  color: #061842;
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 42px rgba(6, 24, 66, 0.14);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 92px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.46);
  border-radius: 13px 13px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 247, 225, 0.98) 0%, rgba(255, 255, 255, 0.8) 100%),
    linear-gradient(90deg, rgba(6, 24, 66, 0.12), rgba(212, 160, 23, 0.2));
  pointer-events: none;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card--current {
  border-color: rgba(212, 160, 23, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 58%, #f4f8ff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 28px 64px rgba(6, 24, 66, 0.24),
    0 0 0 3px rgba(212, 160, 23, 0.22);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card--current::before {
  height: 104px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.95);
  background: #061842;
  box-shadow: inset 0 -4px 0 rgba(212, 160, 23, 0.92);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card--current::after {
  content: none;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-header,
.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-title {
  position: relative;
  z-index: 2;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 21px;
  padding: 3px 9px;
  border: 1px solid rgba(212, 160, 23, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #735000;
  box-shadow: 0 6px 14px rgba(6, 24, 66, 0.08);
  letter-spacing: 0.08em;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-card--current .live-ilp-phase-header {
  border-color: rgba(212, 160, 23, 0.94);
  background: rgba(212, 160, 23, 0.17);
  color: #ffe9a8;
  box-shadow: none;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-title {
  color: #061842;
  text-align: center;
  text-wrap: balance;
  text-shadow: none;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(212, 160, 23, 0), rgba(212, 160, 23, 0.95), rgba(212, 160, 23, 0));
  transform: translateX(-50%);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-card--current .live-ilp-phase-title {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(6, 24, 66, 0.36);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 5px 13px;
  border: 1px solid rgba(6, 24, 66, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #edf3fb);
  color: #34455f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(6, 24, 66, 0.11);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-card--current .live-ilp-phase-status {
  border-color: rgba(212, 160, 23, 0.86);
  background: linear-gradient(135deg, #061842, #08265d);
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 10px 22px rgba(6, 24, 66, 0.22);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-card--complete .live-ilp-phase-status {
  border-color: rgba(15, 138, 43, 0.26);
  background: #0f8a2b;
  color: #ffffff;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-ring {
  border: 1px solid rgba(212, 160, 23, 0.54);
  background:
    radial-gradient(circle at center, #ffffff 0 38%, transparent 39%),
    conic-gradient(#159447 0 calc(var(--value) * 1%), #e6ebf3 calc(var(--value) * 1%) 100%);
  box-shadow:
    inset 0 0 0 5px #ffffff,
    inset 0 0 0 9px rgba(6, 24, 66, 0.06),
    inset 0 10px 18px rgba(6, 24, 66, 0.08),
    0 16px 32px rgba(6, 24, 66, 0.15),
    0 0 0 4px rgba(212, 160, 23, 0.17);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-card--upcoming .live-ilp-phase-ring {
  background:
    radial-gradient(circle at center, #ffffff 0 38%, transparent 39%),
    conic-gradient(#dce3ed 0 calc(var(--value) * 1%), #e6ebf3 calc(var(--value) * 1%) 100%);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-card--current .live-ilp-phase-ring {
  box-shadow:
    inset 0 0 0 5px #ffffff,
    inset 0 0 0 9px rgba(6, 24, 66, 0.07),
    inset 0 10px 18px rgba(6, 24, 66, 0.09),
    0 20px 38px rgba(6, 24, 66, 0.2),
    0 0 0 5px rgba(212, 160, 23, 0.22);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-ring strong {
  color: #061842;
  font-weight: 1000;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-progress {
  height: 10px;
  border: 1px solid rgba(6, 24, 66, 0.07);
  border-radius: 999px;
  background: #edf1f7;
  box-shadow:
    inset 0 1px 2px rgba(6, 24, 66, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.86);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-progress i {
  border-radius: inherit;
  background: linear-gradient(90deg, #061842, #08265d);
  box-shadow:
    inset -7px 0 0 rgba(212, 160, 23, 0.88),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-card--complete .live-ilp-phase-progress i {
  background: linear-gradient(90deg, #0f8a2b, #159447);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-lessons {
  width: 100%;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-lesson {
  color: #40506a;
  line-height: 1.3;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-lesson span {
  position: relative;
  display: inline-grid;
  place-items: center;
  border-width: 1px;
  background: #f3f6fb;
  border-color: #c8d2df;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.84),
    0 2px 5px rgba(6, 24, 66, 0.08);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-lesson--complete span {
  background: #0f8a2b;
  border-color: #0f8a2b;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 138, 43, 0.24);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-lesson--complete span::after {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-lesson--current span {
  background: #d4a017;
  border-color: #d4a017;
  box-shadow:
    0 0 0 3px rgba(212, 160, 23, 0.17),
    0 4px 10px rgba(212, 160, 23, 0.24);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-lesson--current span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}

/* FINAL ILP TOP SUMMARY CARD PREMIUM OVERRIDE - 2026-07-01 */
.live-ilp-dashboard .live-ilp-topline .live-ilp-identity-card,
.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(212, 160, 23, 0.68);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 58%, #f4f8ff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 42px rgba(6, 24, 66, 0.14);
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-identity-card::before,
.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 54px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.95);
  border-radius: 13px 13px 0 0;
  background: #061842;
  box-shadow: inset 0 -4px 0 rgba(212, 160, 23, 0.92);
  pointer-events: none;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-identity-card::before {
  height: 88px;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-photo,
.live-ilp-dashboard .live-ilp-topline .live-ilp-identity-main,
.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card > * {
  position: relative;
  z-index: 1;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-photo .learner-avatar,
.live-ilp-dashboard .live-ilp-topline .live-ilp-photo .learner-photo {
  border-color: rgba(212, 160, 23, 0.98);
  background: #ffffff;
  box-shadow:
    0 18px 34px rgba(6, 24, 66, 0.22),
    0 0 0 5px rgba(255, 255, 255, 0.88);
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-identity-main h3,
.live-ilp-dashboard .live-ilp-topline .live-ilp-identity-main > strong {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(6, 24, 66, 0.34);
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-identity-main > strong {
  color: rgba(255, 233, 168, 0.96);
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-identity-grid article {
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  padding: 8px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-identity-grid span {
  color: #536172;
  letter-spacing: 0.07em;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-identity-grid b {
  color: #061842;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card {
  align-content: start;
  gap: 12px;
  padding-top: 14px;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card > span {
  min-height: 30px;
  display: flex;
  align-items: center;
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(6, 24, 66, 0.34);
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card strong {
  color: #061842;
  text-shadow: none;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card.green strong,
.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card.attendance .live-ilp-donut strong {
  color: #0f8a2b;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card.gold strong,
.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card.silver strong,
.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card.bronze strong {
  color: #061842;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card em {
  color: #34455f;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-donut {
  border: 1px solid rgba(212, 160, 23, 0.58);
  background:
    radial-gradient(circle at center, #ffffff 0 54%, transparent 55%),
    conic-gradient(#0f8a2b calc(var(--value) * 1%), #e6ebf3 0);
  box-shadow:
    inset 0 0 0 4px #ffffff,
    inset 0 0 0 8px rgba(6, 24, 66, 0.05),
    0 14px 28px rgba(6, 24, 66, 0.15),
    0 0 0 4px rgba(212, 160, 23, 0.14);
}

/* FINAL ILP TOP SUMMARY CARD CONTENT ALIGNMENT - 2026-07-01 */
.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card > span {
  width: 100%;
  justify-content: center;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card > strong,
.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card > .live-ilp-donut {
  margin-top: auto;
}

.live-ilp-dashboard .live-ilp-topline .live-ilp-metric-card > em {
  margin-bottom: auto;
}

/* FINAL LEARNER DASHBOARD PILLAR CARD PREMIUM HEADER - 2026-07-01 */
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card {
  overflow: hidden;
  border-color: rgba(212, 160, 23, 0.68);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 58%, #f4f8ff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 42px rgba(6, 24, 66, 0.14);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card::before {
  content: none;
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card:hover {
  border-color: rgba(212, 160, 23, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 46px rgba(6, 24, 66, 0.16);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-head {
  min-height: 68px;
  margin: -28px -26px 0;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.95);
  background: #061842;
  box-shadow: inset 0 -4px 0 rgba(212, 160, 23, 0.92);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-head > span,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.gold .premium-reference-card-head > span,
#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.green .premium-reference-card-head > span {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 1px solid rgba(212, 160, 23, 0.82);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #061842;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(2, 6, 23, 0.22);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-head h3 {
  color: #ffffff;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 2px rgba(2, 6, 23, 0.34);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card .premium-reference-ring {
  margin-top: 2px;
}

/* Reusable TFE premium card visual system - approved scoped applications only */
.tfe-premium-card {
  --tfe-card-navy: #061842;
  --tfe-card-gold: #d4a017;
  --tfe-card-surface: #ffffff;
  --tfe-card-surface-soft: #f4f8ff;
  --tfe-card-ink: #061842;
  --tfe-card-muted: #34455f;
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(212, 160, 23, 0.68);
  border-radius: 14px;
  background:
    linear-gradient(180deg, var(--tfe-card-surface) 0%, #fbfcff 58%, var(--tfe-card-surface-soft) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 42px rgba(6, 24, 66, 0.14);
}

.tfe-premium-card__header {
  border-bottom: 1px solid rgba(212, 160, 23, 0.95);
  background: var(--tfe-card-navy);
  color: #ffffff;
  box-shadow: inset 0 -4px 0 rgba(212, 160, 23, 0.92);
}

.tfe-premium-card__title {
  color: inherit;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tfe-premium-card__body {
  color: var(--tfe-card-ink);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card.tfe-premium-card {
  border-color: rgba(212, 160, 23, 0.68);
}

#learnerPortalContent .premium-learner-dashboard.premium-learner-passport-redesign .premium-reference-card-head.tfe-premium-card__header {
  background: #061842;
  color: #ffffff;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card {
  border-color: rgba(212, 160, 23, 0.62);
}

.school-cohort-summary-strip .school-executive-kpi.tfe-premium-card {
  overflow: hidden;
  padding-top: 76px;
  border-color: rgba(212, 160, 23, 0.62);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 58%, #f4f8ff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.08),
    0 18px 42px rgba(6, 24, 66, 0.13);
}

.school-cohort-summary-strip .school-executive-kpi.tfe-premium-card::before {
  inset: 0 0 auto;
  width: auto;
  height: 58px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.95);
  background: #061842;
  box-shadow: inset 0 -4px 0 rgba(212, 160, 23, 0.92);
}

.school-cohort-summary-strip .school-executive-kpi.tfe-premium-card .school-kpi-icon {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(212, 160, 23, 0.82);
  background: rgba(255, 255, 255, 0.96);
  color: #061842;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(2, 6, 23, 0.22);
}

.school-cohort-summary-strip .school-executive-kpi.tfe-premium-card .tfe-premium-card__title {
  position: absolute;
  z-index: 1;
  top: 17px;
  left: 62px;
  right: 14px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(2, 6, 23, 0.34);
}

.school-cohort-summary-strip .school-executive-kpi.tfe-premium-card .tfe-premium-card__body {
  position: relative;
  z-index: 1;
}

.cohort-ilp-overview .cohort-ilp-summary-grid article.tfe-premium-card {
  overflow: hidden;
  min-height: 112px;
  padding-top: 62px;
  border-color: rgba(212, 160, 23, 0.62);
  border-top-width: 1px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 58%, #f4f8ff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.08),
    0 14px 32px rgba(6, 24, 66, 0.12);
}

.cohort-ilp-overview .cohort-ilp-summary-grid article.tfe-premium-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 48px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.95);
  border-radius: 13px 13px 0 0;
  background: #061842;
  box-shadow: inset 0 -4px 0 rgba(212, 160, 23, 0.92);
}

.cohort-ilp-overview .cohort-ilp-summary-grid article.tfe-premium-card .tfe-premium-card__title {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 14px;
  right: 14px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(2, 6, 23, 0.34);
}

.cohort-ilp-overview .cohort-ilp-summary-grid article.tfe-premium-card strong {
  position: relative;
  z-index: 1;
}

/* ILP Programme Journey phase cards - TFE premium card system application */
.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card {
  border-color: rgba(212, 160, 23, 0.72);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 58%, #f4f8ff 100%);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card::before,
.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card.live-ilp-phase-card--current::before {
  height: 104px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.95);
  background: #061842;
  box-shadow: inset 0 -4px 0 rgba(212, 160, 23, 0.92);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-header.tfe-premium-card__header,
.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card.live-ilp-phase-card--current .live-ilp-phase-header.tfe-premium-card__header {
  border-color: rgba(212, 160, 23, 0.94);
  background: rgba(212, 160, 23, 0.16);
  color: #ffe9a8;
  box-shadow: none;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-title.tfe-premium-card__title,
.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card.live-ilp-phase-card--current .live-ilp-phase-title.tfe-premium-card__title {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(6, 24, 66, 0.36);
}

/* ILP Programme Journey phase cards - premium hierarchy alignment */
.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card {
  grid-template-rows: 22px 54px 88px 30px 18px 10px minmax(92px, auto);
  gap: 10px;
  justify-items: center;
  align-items: center;
  padding: 16px 16px 18px;
  border-radius: 14px;
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 42px rgba(6, 24, 66, 0.14);
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card::before,
.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card.live-ilp-phase-card--current::before {
  height: 104px;
  border-bottom-width: 1px;
  border-radius: 13px 13px 0 0;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-header.tfe-premium-card__header {
  width: fit-content;
  height: 22px;
  min-height: 22px;
  padding: 3px 9px;
  align-self: center;
  font-size: 0.66rem;
  line-height: 1;
  letter-spacing: 0.09em;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-title.tfe-premium-card__title {
  width: 100%;
  height: 54px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 2px 5px;
  font-size: 0.82rem;
  line-height: 1.13;
  letter-spacing: 0.012em;
  text-align: center;
  text-wrap: balance;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-title::after {
  bottom: 0;
  height: 2px;
  width: 46px;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-ring {
  width: 84px;
  align-self: center;
  margin: 0;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-status {
  height: 30px;
  min-height: 30px;
  padding: 5px 13px;
  align-self: center;
  font-size: 0.72rem;
  line-height: 1;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card > em {
  align-self: center;
  color: #52627a;
  font-size: 0.76rem;
  line-height: 1.1;
  text-align: center;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-progress {
  align-self: center;
  height: 10px;
  margin: 0;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-lessons {
  align-self: start;
  gap: 6px;
  padding-top: 4px;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-lesson {
  gap: 7px;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.22;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-lesson span {
  width: 11px;
  height: 11px;
  border-width: 1px;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-lesson--more {
  margin-top: 2px;
  color: #061842;
  font-size: 0.74rem;
  font-weight: 900;
}

.live-ilp-dashboard .live-ilp-programme-panel .live-ilp-phase-grid > .live-ilp-phase-card.tfe-premium-card .live-ilp-phase-lesson--more span {
  border-color: rgba(212, 160, 23, 0.58);
  background: rgba(212, 160, 23, 0.16);
  box-shadow: none;
}

/* ILP page header premium visual refinement - 2026-07-01 */
.live-ilp-dashboard .live-ilp-header {
  min-height: 98px;
  padding: 18px 26px;
  align-items: center;
  border: 1px solid rgba(212, 160, 23, 0.72);
  border-bottom: 3px solid #d4a017;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 38%, rgba(212, 160, 23, 0.08) 100%),
    linear-gradient(180deg, #071b46 0%, #061842 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 16px 34px rgba(6, 24, 66, 0.2);
}

.live-ilp-dashboard .live-ilp-brand {
  align-items: center;
  gap: 14px;
}

.live-ilp-dashboard .live-ilp-brand img {
  width: 204px;
  height: 68px;
  flex: 0 0 204px;
  padding: 8px;
  border: 1px solid rgba(212, 160, 23, 0.55);
  border-radius: 18px;
  background: #ffffff;
  object-fit: contain;
  box-shadow:
    inset 0 0 0 1px rgba(6, 24, 66, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.live-ilp-dashboard .live-ilp-brand h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.25vw, 3rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.26);
}

.live-ilp-dashboard .live-ilp-brand p {
  display: none;
}

.live-ilp-dashboard .live-ilp-header .school-ilp-close {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(212, 160, 23, 0.82);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  color: #061842;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 24px rgba(6, 24, 66, 0.18);
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.school-ilp-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.school-ilp-exporting .school-ilp-header-actions,
.school-ilp-exporting [data-dev-debug],
.school-ilp-exporting .debug-panel,
.school-ilp-exporting .school-ilp-renderer-marker,
.school-ilp-exporting .theory-outcome-dev-debug {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.live-ilp-dashboard .live-ilp-header .school-ilp-download {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(212, 160, 23, 0.86);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, #123f7a 0%, #061842 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(6, 24, 66, 0.2);
  font-weight: 950;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.live-ilp-dashboard .live-ilp-header .school-ilp-download:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.school-ilp-download-status {
  flex-basis: 100%;
  min-height: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
}

.school-ilp-download-status.is-error {
  color: #ffe2e2;
}

.live-ilp-dashboard .live-ilp-header .school-ilp-close:hover,
.live-ilp-dashboard .live-ilp-header .school-ilp-close:focus-visible,
.live-ilp-dashboard .live-ilp-header .school-ilp-download:hover,
.live-ilp-dashboard .live-ilp-header .school-ilp-download:focus-visible {
  border-color: #d4a017;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 30px rgba(6, 24, 66, 0.23),
    0 0 0 4px rgba(212, 160, 23, 0.22);
  outline: none;
  transform: translateY(-1px);
}

.live-ilp-dashboard .live-ilp-header .school-ilp-close:hover,
.live-ilp-dashboard .live-ilp-header .school-ilp-close:focus-visible {
  background: #ffffff;
  color: #061842;
}

.live-ilp-dashboard .live-ilp-header .school-ilp-download:hover,
.live-ilp-dashboard .live-ilp-header .school-ilp-download:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)),
    linear-gradient(180deg, #164b91 0%, #071b46 100%);
  color: #ffffff;
}

.live-ilp-dashboard .live-ilp-header .school-ilp-close:active {
  transform: translateY(0);
}

@media (max-width: 680px) {
  .live-ilp-dashboard .live-ilp-header {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
    gap: 14px;
  }

  .live-ilp-dashboard .live-ilp-brand {
    gap: 12px;
  }

  .live-ilp-dashboard .live-ilp-brand img {
    width: 156px;
    height: 56px;
    flex-basis: 156px;
    padding: 7px;
    border-radius: 15px;
  }

  .live-ilp-dashboard .live-ilp-brand h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.04;
  }

  .school-ilp-header-actions {
    width: 100%;
    justify-content: stretch;
  }

  .school-ilp-download-status {
    text-align: center;
  }

  .live-ilp-dashboard .live-ilp-header .school-ilp-close,
  .live-ilp-dashboard .live-ilp-header .school-ilp-download {
    width: 100%;
    justify-content: center;
  }
}

/* ILP expected-position and forecast cards premium refinement - 2026-07-01 */
.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels {
  height: 100%;
  align-content: stretch;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(212, 160, 23, 0.62);
  border-left: 1px solid rgba(212, 160, 23, 0.62);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 34px rgba(6, 24, 66, 0.12);
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card > h4 {
  margin: 0;
  padding: 14px 16px 12px;
  border-bottom: 2px solid #d4a017;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(212, 160, 23, 0.08) 100%),
    linear-gradient(180deg, #071b46 0%, #061842 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 1000;
  line-height: 1.1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card > dl {
  flex: 1;
  display: grid;
  align-content: space-evenly;
  gap: 10px;
  margin: 0;
  padding: 16px;
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card > dl div {
  padding: 8px 0;
  border-bottom: 1px solid rgba(6, 24, 66, 0.08);
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card > dl div:last-child {
  border-bottom: 0;
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card dt {
  color: #52627a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card dd {
  color: #061842;
  font-size: 0.9rem;
  font-weight: 1000;
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness {
  align-items: stretch;
  align-self: start;
  justify-content: flex-start;
  text-align: left;
}

.live-ilp-dashboard .live-ilp-side-readiness-body {
  flex: 0 0 auto;
  display: grid;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  gap: 10px;
  padding: 16px 16px 14px;
  text-align: center;
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness .live-ilp-side-readiness-icon {
  display: none;
}

.live-ilp-dashboard .live-ilp-side-readiness-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 160, 23, 0.58);
  border-radius: 13px;
  background: rgba(212, 160, 23, 0.12);
  color: #061842;
}

.live-ilp-dashboard .live-ilp-side-readiness-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.live-ilp-dashboard .live-ilp-side-readiness-ring {
  --value: 0;
  display: grid;
  place-items: center;
  align-content: center;
  width: min(128px, 42vw);
  aspect-ratio: 1;
  border: 1px solid rgba(212, 160, 23, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 52%, transparent 53%),
    conic-gradient(#159447 0 calc(var(--value) * 1%), #e6ebf3 calc(var(--value) * 1%) 100%);
  box-shadow:
    inset 0 0 0 7px #ffffff,
    0 14px 28px rgba(6, 24, 66, 0.12);
}

.live-ilp-dashboard .live-ilp-side-readiness-ring.amber {
  background:
    radial-gradient(circle at center, #ffffff 0 52%, transparent 53%),
    conic-gradient(#d4a017 0 calc(var(--value) * 1%), #e6ebf3 calc(var(--value) * 1%) 100%);
}

.live-ilp-dashboard .live-ilp-side-readiness-ring.red,
.live-ilp-dashboard .live-ilp-side-readiness-ring.awaiting,
.live-ilp-dashboard .live-ilp-side-readiness-ring.is-empty {
  background:
    radial-gradient(circle at center, #ffffff 0 52%, transparent 53%),
    conic-gradient(#dbe3ee 0 100%);
}

.live-ilp-dashboard .live-ilp-side-readiness-ring strong,
.live-ilp-dashboard .live-ilp-side-readiness-ring span {
  display: flex;
  justify-content: center;
  text-align: center;
}

.live-ilp-dashboard .live-ilp-side-readiness-ring strong {
  color: #061842;
  font-size: 1.86rem;
  font-weight: 1000;
  line-height: 1;
}

.live-ilp-dashboard .live-ilp-side-readiness-ring.is-empty strong {
  max-width: 86px;
  font-size: 0.88rem;
  line-height: 1.08;
}

.live-ilp-dashboard .live-ilp-side-readiness-ring span {
  margin-top: 6px;
  color: #52627a;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-ilp-dashboard .live-ilp-side-readiness-body p {
  margin: 0;
  color: #061842;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.25;
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card dd.green,
.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness.green .live-ilp-side-readiness-ring strong {
  color: #0f8a2b;
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card dd.amber,
.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness.amber .live-ilp-side-readiness-ring strong {
  color: #9f6b05;
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card dd.red,
.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness.red .live-ilp-side-readiness-ring strong {
  color: #c02626;
}

.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness .live-ilp-side-readiness-ring strong,
.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness.green .live-ilp-side-readiness-ring strong,
.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness.amber .live-ilp-side-readiness-ring strong,
.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness.red .live-ilp-side-readiness-ring strong,
.live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness.awaiting .live-ilp-side-readiness-ring strong {
  color: #0f8a2b !important;
}

@media (min-width: 1321px) {
  .live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card.employment-readiness {
    height: calc(100% - 36px);
  }
}

@media (max-width: 1100px) {
  .live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels {
    height: auto;
    grid-template-rows: none;
    grid-auto-rows: 1fr;
    align-content: start;
  }
}

@media (max-width: 680px) {
  .live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels {
    grid-template-columns: 1fr;
  }

  .live-ilp-dashboard .live-ilp-main-grid > .live-ilp-side-panels > .live-ilp-side-card > h4 {
    padding: 13px 15px 11px;
  }
}

/* Learner Professional Development Passport overview - active */
#learnerPortalContent:has(.learner-professional-passport-overview) {
  background: #f6f8fb;
}

body:has(.learner-professional-passport-overview) #sessionStrip {
  display: none;
}

#learnerPortalContent:has(.learner-professional-passport-overview) .learner-dashboard-topbar,
#learnerPortalContent:has(.learner-professional-passport-overview) .learner-menu {
  display: none;
}

#learnerPortalContent:has(.learner-professional-passport-overview) .learner-dashboard-grid {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

#learnerPortalContent:has(.learner-professional-passport-overview) .learner-dashboard-grid:has(#learnerProfilePanel) > :not(#learnerProfilePanel),
#learnerPortalContent:has(.learner-professional-passport-overview) .learner-dashboard-grid + .learner-dashboard-grid,
#learnerPortalContent:has(.learner-professional-passport-overview) .learner-portal-grid {
  display: none;
}

#learnerPortalContent:has(.learner-professional-passport-overview) #learnerProfilePanel {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-overview {
  --professional-passport-navy: #061842;
  --professional-passport-blue: #08265d;
  --professional-passport-gold: #d4a017;
  --professional-passport-green: #0f8a2b;
  --professional-passport-orange: #d9911b;
  --professional-passport-red: #c02626;
  --professional-passport-muted: #63708a;
  --professional-passport-line: rgba(6, 24, 66, 0.1);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: min(100%, 1480px);
  max-width: none;
  margin: 0 auto;
  padding: 18px 18px 44px;
  box-sizing: border-box;
  color: var(--professional-passport-navy);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-actions .primary-action,
:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-actions .secondary-action {
  width: 168px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(212, 160, 23, 0.78);
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--professional-passport-navy), var(--professional-passport-blue));
  box-shadow: 0 12px 24px rgba(6, 24, 66, 0.12);
  font-weight: 950;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-actions .primary-action:hover,
:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-actions .primary-action:focus-visible,
:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-actions .secondary-action:hover,
:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-actions .secondary-action:focus-visible {
  border-color: #d4a017;
  background:
    linear-gradient(135deg, rgba(212, 160, 23, 0.16), rgba(212, 160, 23, 0.04)),
    linear-gradient(135deg, var(--professional-passport-navy), var(--professional-passport-blue));
  box-shadow:
    0 16px 30px rgba(6, 24, 66, 0.16),
    0 0 0 4px rgba(212, 160, 23, 0.18);
  outline: none;
  transform: translateY(-1px);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-topline h2 {
  margin: 2px 0 4px;
  color: var(--professional-passport-navy);
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-topline span {
  color: var(--professional-passport-muted);
  font-size: 1.05rem;
  font-weight: 800;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  padding: 26px;
  border: 1px solid rgba(212, 160, 23, 0.68);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(212, 160, 23, 0.12), transparent 32%),
    linear-gradient(135deg, #031331 0%, var(--professional-passport-navy) 56%, var(--professional-passport-blue) 100%);
  box-shadow: 0 24px 58px rgba(6, 24, 66, 0.18);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-feature {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 160, 23, 0.58);
  border-radius: 17px;
  background: #061842;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.2);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 19, 49, 0.06) 0%, rgba(3, 19, 49, 0.38) 54%, rgba(3, 19, 49, 0.88) 100%),
    linear-gradient(90deg, rgba(6, 24, 66, 0.38), rgba(6, 24, 66, 0.04));
  pointer-events: none;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-feature img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: 46% 42%;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-feature figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 18px 18px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-left: 3px solid var(--professional-passport-gold);
  border-radius: 13px;
  background: rgba(3, 19, 49, 0.74);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-feature figcaption strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 1000;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-feature figcaption span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 750;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-score {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(212, 160, 23, 0.38);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-score span,
:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary-grid span,
:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-score strong {
  color: var(--professional-passport-green);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-score p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
  line-height: 1.45;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary-grid article {
  min-height: 126px;
  padding: 16px;
  border: 1px solid rgba(212, 160, 23, 0.38);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary-grid strong {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.15;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary-grid em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  font-weight: 750;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-section {
  display: grid;
  gap: 18px;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-section-head h3 {
  margin: 0;
  color: var(--professional-passport-navy);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-section-head p {
  max-width: 720px;
  margin: 0;
  color: var(--professional-passport-muted);
  font-weight: 750;
  line-height: 1.45;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card {
  overflow: hidden;
  border: 1px solid rgba(212, 160, 23, 0.58);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 34px rgba(6, 24, 66, 0.1);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px 12px;
  border-bottom: 2px solid var(--professional-passport-gold);
  background: linear-gradient(180deg, #071b46 0%, var(--professional-passport-navy) 100%);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card header > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(212, 160, 23, 0.68);
  border-radius: 12px;
  color: var(--professional-passport-gold);
  background: rgba(255, 255, 255, 0.08);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card h4 {
  margin: 0;
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-grid.standards .learner-professional-passport-card-body {
  gap: 10px;
  padding: 16px;
}

#learnerPortalContent .professional-passport-percent,
#learnerPortalContent .professional-passport-status {
  color: var(--professional-passport-navy);
  font-size: 2.15rem;
  line-height: 1;
}

#learnerPortalContent .professional-passport-percent.green {
  color: var(--professional-passport-green);
}

#learnerPortalContent .professional-passport-percent.orange {
  color: var(--professional-passport-orange);
}

#learnerPortalContent .professional-passport-percent.red {
  color: var(--professional-passport-red);
}

#learnerPortalContent .professional-passport-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(6, 24, 66, 0.12);
  border-radius: 999px;
  color: var(--professional-passport-navy);
  background: #edf2f8;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#learnerPortalContent .professional-passport-badge.gold {
  border-color: rgba(212, 160, 23, 0.58);
  background: rgba(212, 160, 23, 0.16);
}

#learnerPortalContent .professional-passport-badge.silver {
  background: #eef2f7;
}

#learnerPortalContent .professional-passport-badge.bronze {
  border-color: rgba(180, 110, 24, 0.34);
  background: #fff3df;
}

#learnerPortalContent .professional-passport-badge.not-yet-assessed {
  color: #52627a;
  background: #f0f4f8;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card-body p {
  margin: 0;
  color: #334155;
  font-weight: 750;
  line-height: 1.42;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-grid.standards .professional-passport-explanation {
  padding-top: 10px;
  border-top: 1px solid rgba(6, 24, 66, 0.08);
  color: #52627a;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.38;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card dl div {
  padding-top: 10px;
  border-top: 1px solid rgba(6, 24, 66, 0.08);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card dt {
  color: var(--professional-passport-muted);
}

:is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-card dd {
  margin: 4px 0 0;
  color: var(--professional-passport-navy);
  font-weight: 850;
  line-height: 1.34;
}

@media (max-width: 1180px) {
  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary,
  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-topline {
    grid-template-columns: 1fr;
  }

  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary-grid,
  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-overview {
    padding: 14px 12px 32px;
  }

  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary {
    padding: 18px;
  }

  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-feature img {
    min-height: 260px;
  }

  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-feature figcaption {
    inset: auto 12px 12px;
    padding: 12px 13px;
  }

  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-summary-grid,
  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-grid {
    grid-template-columns: 1fr;
  }

  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-section-head {
    display: grid;
  }

  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-actions {
    justify-content: stretch;
  }

  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-actions .primary-action,
  :is(#learnerPortalContent, .parent-learner-mirror) .learner-professional-passport-actions .secondary-action {
    flex: 1 1 0;
    justify-content: center;
  }
}

/* FINAL LOGIN PAGE PREMIUM SPLIT-SCREEN VISUAL SPEC - 2026-07-01 */
body:has(#authPanel:not(.hidden)),
body:has(#passwordRecoveryPanel:not(.hidden)) {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, rgba(242, 182, 50, 0.14), transparent 24rem),
    radial-gradient(circle at 96% 0%, rgba(242, 182, 50, 0.1), transparent 26rem),
    linear-gradient(180deg, #f7fbff 0%, #eef4fa 100%);
}

body:has(#authPanel:not(.hidden)) .app-shell,
body:has(#passwordRecoveryPanel:not(.hidden)) .app-shell {
  width: min(100%, 1540px);
  min-height: 100vh;
  padding: clamp(18px, 2vw, 28px);
  display: grid;
  align-items: center;
}

body:has(#authPanel:not(.hidden)) .login-shell,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  min-height: min(960px, calc(100vh - 46px));
  overflow: hidden;
  border: 1px solid rgba(242, 182, 50, 0.48);
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 34px 80px rgba(7, 27, 77, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.8);
}

body:has(#authPanel:not(.hidden)) .login-visual-panel,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-visual-panel {
  position: relative;
  display: grid;
  min-height: 100%;
  padding: clamp(34px, 4vw, 64px) clamp(36px, 4.8vw, 72px);
  align-content: space-between;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 13, 34, 0.92) 0%, rgba(7, 27, 77, 0.82) 38%, rgba(7, 27, 77, 0.46) 68%, rgba(4, 13, 34, 0.6) 100%),
    linear-gradient(0deg, rgba(4, 13, 34, 0.92) 0%, rgba(4, 13, 34, 0.28) 52%, rgba(4, 13, 34, 0.18) 100%),
    url("./public/assets/login-workshop-photo.webp") center / cover no-repeat;
  color: #ffffff;
}

body:has(#authPanel:not(.hidden)) .login-visual-panel::before,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.08), transparent 22rem),
    linear-gradient(180deg, rgba(5, 20, 45, 0.04), rgba(5, 20, 45, 0.28));
  pointer-events: none;
}

body:has(#authPanel:not(.hidden)) .login-visual-panel::after,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-visual-panel::after {
  height: 62%;
  background: linear-gradient(0deg, rgba(4, 13, 34, 0.88), rgba(4, 13, 34, 0));
}

.login-visual-logo {
  position: relative;
  z-index: 2;
  width: clamp(220px, 18vw, 300px);
  height: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.login-visual-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  max-width: 720px;
  align-self: end;
  transform: translateY(clamp(64px, 12vh, 150px));
}

.login-visual-content .eyebrow {
  color: #f2d77d;
  font-size: 0.95rem;
  font-weight: 950;
}

.login-visual-content h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.8rem, 5.6vw, 6.4rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.login-visual-content h1::first-line {
  color: #ffffff;
}

.login-visual-content p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.45;
  font-weight: 760;
}

.login-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.login-feature-grid article {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-right: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.login-feature-grid article:last-child {
  border-right: 0;
  padding-right: 0;
}

.login-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 6px;
  border: 1px solid rgba(242, 215, 125, 0.42);
  border-radius: 999px;
  color: #f2d77d;
  font-size: 1.45rem;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.login-feature-grid strong {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.login-feature-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.42;
  font-weight: 650;
}

body:has(#authPanel:not(.hidden)) .login-card-panel,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-card-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(36px, 5vw, 72px);
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 182, 50, 0.07), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 74%, #f4f8fd 100%);
}

body:has(#authPanel:not(.hidden)) .topbar,
body:has(#passwordRecoveryPanel:not(.hidden)) .topbar {
  display: none;
}

body:has(#authPanel:not(.hidden)) .auth-panel,
body:has(#passwordRecoveryPanel:not(.hidden)) .auth-panel {
  width: min(100%, 440px);
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.login-form-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.login-panel-logo {
  position: relative;
  top: -14px;
  width: clamp(190px, 16.8vw, 232px);
  height: auto;
  margin: 0 0 4px;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(7, 27, 77, 0.16));
}

body:has(#authPanel:not(.hidden)) .auth-panel .eyebrow,
body:has(#passwordRecoveryPanel:not(.hidden)) .auth-panel .eyebrow {
  color: #d9911b;
  font-size: 0.86rem;
  font-weight: 950;
}

body:has(#authPanel:not(.hidden)) .auth-panel h2,
body:has(#passwordRecoveryPanel:not(.hidden)) .auth-panel h2 {
  margin: 0;
  color: #071b4d;
  font-size: clamp(2.05rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  font-weight: 950;
}

body:has(#authPanel:not(.hidden)) .auth-panel p:not(.eyebrow):not(.login-error):not(.login-help-text),
body:has(#passwordRecoveryPanel:not(.hidden)) .auth-panel p:not(.eyebrow):not(.login-error):not(.login-help-text) {
  margin: 0;
  color: #536783;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 650;
}

body:has(#authPanel:not(.hidden)) #roleLoginForm,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm {
  display: grid;
  gap: 18px;
  width: 100%;
}

.login-role-hidden-control {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.login-field {
  display: grid;
  gap: 9px;
  color: #071b4d;
  font-size: 0.92rem;
  font-weight: 900;
}

.login-control {
  position: relative;
  display: block;
}

.login-control::before {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #667892;
  font-size: 1.1rem;
  line-height: 1;
  pointer-events: none;
}

.login-role-control::before {
  content: "♙";
}

.login-id-control::before {
  content: "✉";
}

.login-password-control::before {
  content: "▣";
}

body:has(#authPanel:not(.hidden)) #roleLoginForm select,
body:has(#authPanel:not(.hidden)) #roleLoginForm input,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px 0 50px;
  border: 1px solid #d4dce8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #071b4d;
  font-size: 1rem;
  font-weight: 750;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 8px 20px rgba(7, 27, 77, 0.045);
}

body:has(#authPanel:not(.hidden)) #roleLoginForm select {
  appearance: auto;
}

body:has(#authPanel:not(.hidden)) #roleLoginForm #loginPassword {
  padding-right: 54px;
}

#loginPasswordToggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #667892;
  box-shadow: none;
  cursor: pointer;
}

#loginPasswordToggle:focus-visible {
  outline: 2px solid #d9911b;
  outline-offset: -2px;
}

#loginPasswordToggle[aria-pressed="false"] .password-eye-slash {
  display: none;
}

body:has(#authPanel:not(.hidden)) #roleLoginForm select:focus,
body:has(#authPanel:not(.hidden)) #roleLoginForm input:focus,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm input:focus {
  border-color: #d9911b;
  outline: 3px solid rgba(242, 182, 50, 0.22);
  box-shadow:
    0 0 0 1px rgba(242, 182, 50, 0.22),
    0 12px 24px rgba(7, 27, 77, 0.07);
}

body:has(#authPanel:not(.hidden)) #roleLoginForm .primary-action,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm .primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  border: 2px solid #d9911b;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #092f70 0%, #061a3c 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.32),
    0 16px 34px rgba(7, 27, 77, 0.22);
}

body:has(#authPanel:not(.hidden)) #roleLoginForm .primary-action:hover:not(:disabled),
body:has(#authPanel:not(.hidden)) #roleLoginForm .primary-action:focus-visible,
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm .primary-action:hover:not(:disabled),
body:has(#passwordRecoveryPanel:not(.hidden)) #passwordRecoveryForm .primary-action:focus-visible {
  transform: translateY(-1px);
  border-color: #f2b632;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #123d86 0%, #071f50 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 138, 0.38),
    0 20px 38px rgba(7, 27, 77, 0.26),
    0 0 0 4px rgba(242, 182, 50, 0.14);
}

.login-help-text {
  margin: 2px 0 0;
  color: #536783;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 650;
}

.login-help-text strong {
  color: #0b4bb3;
}

body:has(#authPanel:not(.hidden)) .login-error,
body:has(#passwordRecoveryPanel:not(.hidden)) .login-error {
  min-height: 20px;
  margin: -8px 0 0;
  color: #ba3d3d;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 850;
}

@media (max-width: 980px) {
  body:has(#authPanel:not(.hidden)) .app-shell,
  body:has(#passwordRecoveryPanel:not(.hidden)) .app-shell {
    padding: 0;
    align-items: start;
  }

  body:has(#authPanel:not(.hidden)) .login-shell,
  body:has(#passwordRecoveryPanel:not(.hidden)) .login-shell {
    grid-template-columns: 1fr;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  body:has(#authPanel:not(.hidden)) .login-visual-panel,
  body:has(#passwordRecoveryPanel:not(.hidden)) .login-visual-panel {
    min-height: 520px;
    padding: 28px 24px 34px;
  }

  .login-visual-content h1 {
    font-size: clamp(3rem, 12vw, 4.8rem);
  }

  .login-visual-content {
    transform: translateY(clamp(24px, 6vh, 48px));
  }

  .login-feature-grid {
    gap: 16px;
  }

  body:has(#authPanel:not(.hidden)) .login-card-panel,
  body:has(#passwordRecoveryPanel:not(.hidden)) .login-card-panel {
    padding: 34px 20px 42px;
  }
}

@media (max-width: 620px) {
  body:has(#authPanel:not(.hidden)) .login-visual-panel,
  body:has(#passwordRecoveryPanel:not(.hidden)) .login-visual-panel {
    min-height: 560px;
  }

  .login-visual-logo {
    width: 210px;
  }

  .login-panel-logo {
    top: -10px;
    width: 200px;
    margin-bottom: 2px;
  }

  .login-feature-grid {
    grid-template-columns: 1fr;
  }

  .login-visual-content {
    transform: translateY(20px);
  }

  .login-feature-grid article {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    padding-right: 0;
    border-right: 0;
  }

  .login-feature-icon {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    margin: 0;
    font-size: 1.15rem;
  }

}

/* Tutor Intelligence Review action pills - active scoped visual override */
.tutor-intelligence-question .tutor-intelligence-light-actions label,
.tutor-intelligence-question .tutor-intelligence-light-actions .tutor-intelligence-dictate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  height: auto;
  padding: 8px 16px;
  border: 1px solid rgba(214, 156, 37, 0.72);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  color: #071b42;
  box-shadow: 0 8px 18px rgba(7, 27, 77, 0.08);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  white-space: nowrap;
}

.tutor-intelligence-question .tutor-intelligence-light-actions label:hover,
.tutor-intelligence-question .tutor-intelligence-light-actions label:focus-within,
.tutor-intelligence-question .tutor-intelligence-light-actions .tutor-intelligence-dictate-button:hover,
.tutor-intelligence-question .tutor-intelligence-light-actions .tutor-intelligence-dictate-button:focus-visible {
  border-color: #d69c25;
  background:
    linear-gradient(135deg, rgba(214, 156, 37, 0.12), rgba(255, 255, 255, 0.92)),
    #ffffff;
  box-shadow: 0 12px 24px rgba(7, 27, 77, 0.13), 0 0 0 3px rgba(214, 156, 37, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.tutor-intelligence-question .tutor-intelligence-light-actions label:has(input:checked),
.tutor-intelligence-question .tutor-intelligence-light-actions .tutor-intelligence-dictate-button.is-listening {
  border-color: #d69c25;
  background:
    linear-gradient(135deg, rgba(214, 156, 37, 0.2), rgba(214, 156, 37, 0.06)),
    linear-gradient(135deg, #071b42, #0b2f6f);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 27, 77, 0.18), 0 0 0 3px rgba(214, 156, 37, 0.14);
}

.tutor-intelligence-question .tutor-intelligence-light-actions .tutor-intelligence-dictate-button.is-unavailable {
  border-color: rgba(186, 61, 61, 0.38);
  background: #fff7f7;
  color: #8f2424;
}

.tutor-intelligence-question .tutor-intelligence-light-actions .tutor-intelligence-dictate-button {
  min-height: 38px !important;
  height: auto !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-size: 0.86rem !important;
  box-shadow: 0 8px 18px rgba(7, 27, 77, 0.08) !important;
}

/* Tutor Intelligence Review question order refinement - active */
.tutor-intelligence-question .tutor-debrief-question {
  margin-top: 2px;
}

.tutor-intelligence-question .tutor-debrief-question span {
  color: #071b42;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tutor-intelligence-question .tutor-debrief-question textarea {
  min-height: 104px;
}

.tutor-intelligence-question .tutor-intelligence-light-actions {
  margin-top: -2px;
}

/* Tutor Intelligence Review premium enterprise question cards - active */
.tutor-debrief-page .tutor-intelligence-question {
  position: relative;
  overflow: hidden;
  gap: 0;
  padding: 0;
  border: 1px solid #d4a62a;
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 20px 42px rgba(7, 27, 77, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tutor-debrief-page .tutor-intelligence-question:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 166, 42, 0.96);
  box-shadow:
    0 24px 48px rgba(7, 27, 77, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.tutor-debrief-page .tutor-intelligence-question::before {
  content: none;
}

.tutor-debrief-page .tutor-intelligence-question.risk::before {
  background: #8f2424;
}

.tutor-debrief-page .tutor-intelligence-question.positive::before,
.tutor-debrief-page .tutor-intelligence-question.opportunity::before {
  background: #0f8a61;
}

.tutor-debrief-page .tutor-intelligence-question.teaching::before {
  background: #d4a62a;
}

.tutor-debrief-page .tutor-intelligence-question.open::before,
.tutor-debrief-page .tutor-intelligence-question.neutral::before {
  background: #071b42;
}

.tutor-debrief-page .tutor-intelligence-question-head {
  display: grid;
  gap: 14px;
  padding: 20px 22px 18px;
  border-bottom: 2px solid #d4a62a;
  background:
    linear-gradient(135deg, rgba(18, 61, 115, 0.98) 0%, rgba(7, 27, 66, 0.99) 58%, rgba(3, 14, 38, 1) 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 24px rgba(7, 27, 66, 0.12);
}

.tutor-debrief-page .tutor-intelligence-priority-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tutor-debrief-page .tfe-intelligence-icon {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.75), transparent 34%),
    linear-gradient(135deg, #ffe7a0, #d4a62a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 16px rgba(0, 0, 0, 0.2);
}

.tutor-debrief-page .tfe-intelligence-icon::before {
  content: "";
  width: 13px;
  height: 18px;
  background: #071b42;
  clip-path: polygon(48% 0, 100% 0, 63% 42%, 100% 42%, 35% 100%, 48% 56%, 10% 56%);
}

.tutor-debrief-page .tutor-intelligence-priority-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(212, 166, 42, 0.86);
  border-radius: 999px;
  background: rgba(255, 247, 221, 0.12);
  color: #fff7dd;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 16px rgba(0, 0, 0, 0.12);
}

.tutor-debrief-page .tutor-intelligence-question-head strong {
  max-width: 68rem;
  color: #ffffff;
  font-size: clamp(1.16rem, 1.7vw, 1.48rem);
  line-height: 1.32;
  font-weight: 950;
  letter-spacing: 0;
}

.tutor-debrief-page .tutor-debrief-question-guidance {
  max-width: 68rem;
  margin: -4px 0 0;
  color: rgba(255, 247, 221, 0.92);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question {
  gap: 8px;
  margin: 0;
  padding: 20px 22px 0;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-observation-label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question span {
  color: #071b42;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-observation-captured {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(15, 138, 97, 0.24);
  border-radius: 999px;
  background: rgba(226, 247, 237, 0.9);
  color: #0f6f4f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question.is-observation-captured .tutor-observation-captured {
  opacity: 1;
  transform: translateY(0);
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question textarea {
  min-height: 216px;
  padding: 14px 16px;
  border: 1px solid rgba(71, 89, 117, 0.22);
  border-radius: 16px;
  background: #ffffff;
  color: #071b42;
  line-height: 1.5;
  overflow-x: hidden;
  resize: vertical;
  field-sizing: content;
  box-shadow:
    inset 0 2px 5px rgba(7, 27, 66, 0.055),
    0 1px 0 rgba(255, 255, 255, 0.86);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question textarea::placeholder {
  color: rgba(71, 89, 117, 0.82);
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question textarea:focus {
  border-color: #d4a62a;
  background: #ffffff;
  box-shadow:
    inset 0 2px 5px rgba(7, 27, 66, 0.055),
    0 0 0 4px rgba(212, 166, 42, 0.16),
    0 12px 22px rgba(7, 27, 77, 0.08);
  outline: none;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question.is-observation-captured textarea {
  border-color: rgba(15, 138, 97, 0.38);
  background:
    linear-gradient(180deg, rgba(239, 250, 244, 0.98), rgba(232, 247, 239, 0.96));
  box-shadow:
    inset 0 2px 5px rgba(15, 138, 97, 0.06),
    0 0 0 1px rgba(15, 138, 97, 0.08);
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question.is-observation-captured textarea:focus {
  border-color: rgba(15, 138, 97, 0.54);
  background:
    linear-gradient(180deg, rgba(239, 250, 244, 1), rgba(232, 247, 239, 0.98));
  box-shadow:
    inset 0 2px 5px rgba(15, 138, 97, 0.06),
    0 0 0 4px rgba(15, 138, 97, 0.13),
    0 12px 22px rgba(7, 27, 77, 0.08);
}

.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-light-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 18px 22px 22px;
  padding: 12px;
  border: 1px solid rgba(212, 166, 42, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.95), rgba(255, 255, 255, 0.92));
}

.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-dictate-button {
  min-height: 42px !important;
  padding: 10px 18px !important;
  border: 1px solid #d4a62a !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #123d73 0%, #071b42 100%) !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 950 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(7, 27, 66, 0.22) !important;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-dictate-button:hover,
.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-dictate-button:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 30px rgba(7, 27, 66, 0.28),
    0 0 0 4px rgba(212, 166, 42, 0.14) !important;
  outline: none;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-generate-button {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid #d4a62a;
  border-radius: 999px;
  background: linear-gradient(180deg, #123d73 0%, #071b42 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(7, 27, 66, 0.22);
}

.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-generate-button:hover,
.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-generate-button:focus-visible {
  transform: translateY(-1px);
  border-color: #d4a62a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 30px rgba(7, 27, 66, 0.28),
    0 0 0 4px rgba(212, 166, 42, 0.14);
  outline: none;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-light-actions label {
  min-height: 40px;
  padding: 9px 14px;
  border-color: rgba(212, 166, 42, 0.5);
  background: #ffffff;
  color: #071b42;
  font-size: 0.84rem;
  box-shadow: 0 8px 18px rgba(7, 27, 77, 0.07);
}

.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-light-actions input {
  accent-color: #d4a62a;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-light-actions label:has(input:checked) {
  border-color: #d4a62a;
  background:
    linear-gradient(135deg, #071b42, #0b2f6f);
  color: #ffffff;
}

.tutor-debrief-page .tutor-intelligence-extra-context,
.tutor-debrief-page .tutor-intelligence-session-question {
  border-color: #d4a62a;
}

.tutor-debrief-page .tutor-intelligence-extra-context::before,
.tutor-debrief-page .tutor-intelligence-session-question::before {
  background: #071b42;
}

.tutor-debrief-page .tutor-intelligence-session-question-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.tutor-debrief-page .tutor-debrief-general {
  gap: 18px;
}

.tutor-debrief-page .tutor-debrief-general > div:first-child {
  display: grid;
  gap: 4px;
}

.tutor-debrief-page .tutor-debrief-final-workflow {
  display: grid;
  gap: 14px;
  margin-top: -4px;
}

.tutor-debrief-page .tutor-debrief-report-generation-actions {
  display: flex;
  justify-content: flex-start;
}

.tutor-debrief-page .tutor-debrief-report-generation-actions .tutor-intelligence-generate-button {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid #d4a62a;
  border-radius: 999px;
  background: linear-gradient(180deg, #123d73 0%, #071b42 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(7, 27, 66, 0.22);
}

.tutor-debrief-page .tutor-debrief-final-workflow .tutor-intelligence-final-question-stack {
  display: grid;
  gap: 12px;
}

.tutor-debrief-page .tutor-debrief-final-workflow .tutor-debrief-interpretation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tutor-debrief-page .tutor-debrief-final-workflow .tutor-debrief-panel textarea {
  width: 100%;
  min-height: 460px;
  padding: 18px;
  border: 1px solid rgba(212, 166, 42, 0.42);
  border-radius: 14px;
  background: #ffffff;
  color: #071b42;
  font-size: 0.92rem;
  line-height: 1.55;
  box-shadow:
    inset 0 2px 5px rgba(7, 27, 66, 0.045),
    0 12px 26px rgba(7, 27, 77, 0.06);
}

.tutor-debrief-page .tutor-debrief-final-workflow .tutor-debrief-panel textarea[readonly] {
  background: #f8fafc;
  cursor: default;
}

.tutor-debrief-page .tutor-debrief-final-workflow .tutor-debrief-panel {
  border: 1px solid rgba(212, 166, 42, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: 0 18px 36px rgba(7, 27, 77, 0.1);
}

.tutor-debrief-page .tutor-debrief-final-workflow .tutor-debrief-panel > span {
  display: block;
  margin: -1px -1px 14px;
  padding: 13px 16px;
  border: 1px solid rgba(212, 166, 42, 0.42);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #123d73 0%, #071b42 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tutor-debrief-page .tutor-report-section-kicker {
  color: #d4a62a;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tutor-debrief-page .tutor-saved-observation-list {
  display: grid;
  gap: 10px;
}

.tutor-debrief-page .tutor-saved-observation-list section {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(7, 27, 66, 0.08);
  border-radius: 12px;
  background: #f8fafc;
}

.tutor-debrief-page .tutor-saved-observation-list strong {
  color: #071b42;
  font-size: 0.88rem;
  font-weight: 950;
}

.tutor-debrief-page .tutor-saved-observation-list p {
  margin: 0;
  color: #42526b;
  line-height: 1.45;
}

.tutor-debrief-page .tutor-ai-recommendations-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(212, 166, 42, 0.38);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 18px 36px rgba(7, 27, 77, 0.1);
}

.tutor-debrief-page .tutor-ai-recommendations-panel strong {
  display: block;
  margin-top: 2px;
  color: #071b42;
  font-size: 1.12rem;
  font-weight: 950;
}

.tutor-debrief-page .tutor-ai-recommendations-panel p {
  margin: 0;
  color: #42526b;
  line-height: 1.45;
}

.tutor-debrief-page .tutor-intelligence-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tutor-debrief-page .tutor-intelligence-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(7, 27, 66, 0.12);
  background: #f3f5f8;
  color: #42526b;
  font-size: 0.74rem;
  font-weight: 950;
}

.tutor-debrief-page .tutor-intelligence-tag.strength {
  border-color: rgba(15, 138, 97, 0.28);
  background: #e4f6ec;
  color: #0f6f4f;
}

.tutor-debrief-page .tutor-intelligence-tag.monitor {
  border-color: rgba(212, 166, 42, 0.36);
  background: #fff7df;
  color: #735a12;
}

.tutor-debrief-page .tutor-intelligence-tag.risk {
  border-color: rgba(184, 65, 65, 0.28);
  background: #fff0f0;
  color: #9a2d2d;
}

.tutor-debrief-page .tutor-intelligence-tag.ai {
  border-color: rgba(18, 61, 115, 0.24);
  background: #eaf2ff;
  color: #123d73;
}

.tutor-debrief-page .tutor-ai-recommendation-list {
  display: grid;
  gap: 10px;
}

.tutor-debrief-page .tutor-ai-recommendation-list p {
  padding: 12px;
  border-left: 3px solid #d4a62a;
  border-radius: 10px;
  background: #f8fafc;
}

.tutor-debrief-page .tutor-report-confidence {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(7, 27, 66, 0.1);
  border-radius: 12px;
  background: #f8fafc;
}

.tutor-debrief-page .tutor-report-confidence span {
  color: #657084;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tutor-debrief-page .tutor-report-confidence strong {
  margin: 0;
  font-size: 1rem;
}

.tutor-debrief-page .tutor-report-confidence.strength {
  border-color: rgba(15, 138, 97, 0.28);
  background: #ecf8f1;
}

.tutor-debrief-page .tutor-report-confidence.monitor {
  border-color: rgba(212, 166, 42, 0.34);
  background: #fffaf0;
}

.tutor-debrief-page .tutor-debrief-final-workflow .tutor-debrief-confidence {
  margin-top: 0;
}

.tutor-debrief-page .tutor-debrief-final-actions {
  margin-top: 0;
}

@media (max-width: 640px) {
  .tutor-debrief-page .tutor-intelligence-question {
    padding: 0;
  }

  .tutor-debrief-page .tutor-intelligence-question-head {
    padding: 18px 16px 16px;
  }

  .tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question {
    padding: 18px 16px 0;
  }

  .tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-light-actions {
    margin-right: 16px;
    margin-left: 16px;
  }

  .tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-dictate-button,
  .tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-generate-button,
  .tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-light-actions label {
    width: 100%;
  }
}

/* Tutor Intelligence guided observations and save controls - active */
.tutor-debrief-page .tutor-guided-example-label {
  display: block;
  margin-top: 4px;
  color: #657084 !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.tutor-debrief-page .tutor-guided-example-text {
  display: block;
  padding: 13px 15px;
  border: 1px solid rgba(101, 112, 132, 0.18);
  border-radius: 12px;
  background: #f3f5f8;
  color: #4b5566 !important;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  line-height: 1.48;
  text-transform: none !important;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question.tutor-observation-empty textarea {
  border-color: rgba(71, 89, 117, 0.22);
  background: #ffffff;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question.tutor-observation-unsaved textarea {
  border-color: rgba(212, 166, 42, 0.46);
  background: #fffaf0;
  box-shadow:
    inset 0 2px 5px rgba(212, 166, 42, 0.055),
    0 0 0 1px rgba(212, 166, 42, 0.08);
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question.tutor-observation-saved textarea,
.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question.is-observation-captured textarea {
  border-color: rgba(15, 138, 97, 0.44);
  background: #ecf8f1;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-debrief-question.tutor-observation-saved textarea[readonly] {
  cursor: default;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-observation-captured {
  border-color: rgba(15, 138, 97, 0.32);
  background: #e4f6ec;
  color: #0f6f4f;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-observation-action-button,
.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-edit-button,
.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-save-button {
  min-height: 42px !important;
  padding: 10px 18px !important;
  border: 1px solid #d4a62a !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #123d73 0%, #071b42 100%) !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 950 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(7, 27, 66, 0.22) !important;
}

.tutor-debrief-page .tutor-intelligence-question .tutor-observation-action-button:hover,
.tutor-debrief-page .tutor-intelligence-question .tutor-observation-action-button:focus-visible,
.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-edit-button:hover,
.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-edit-button:focus-visible,
.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-save-button:hover,
.tutor-debrief-page .tutor-intelligence-question .tutor-intelligence-save-button:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 30px rgba(7, 27, 66, 0.28),
    0 0 0 4px rgba(212, 166, 42, 0.14) !important;
  outline: none;
}

.tutor-debrief-page .tutor-intelligence-question.has-saved-observation .tutor-intelligence-save-button {
  background: linear-gradient(180deg, #146d4f 0%, #0f5a42 100%) !important;
}

@media (max-width: 640px) {
  .tutor-debrief-page .tutor-intelligence-question .tutor-observation-action-button {
    width: 100%;
  }
}

/* Theory Lesson Content subsystem */
.theory-lesson-content-builder,
.theory-lesson-content {
  border: 1px solid rgba(212, 166, 42, 0.22);
  box-shadow: 0 18px 40px rgba(7, 27, 66, 0.08);
}

.theory-content-manager-heading { display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:18px 0 8px;padding-top:16px;border-top:1px solid #e2e8f0; }
.theory-content-manager-heading .eyebrow { margin:0 0 3px;color:#9a7222; }
.theory-content-manager-heading h5 { margin:0;color:var(--navy);font-size:1.05rem; }
.theory-content-manager-heading>p { max-width:520px;margin:0;color:#64748b;font-size:.8rem;text-align:right; }

.theory-content-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}

.theory-content-upload-card {
  min-height: 128px;
  border: 1px solid rgba(212, 166, 42, 0.4);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.theory-content-upload-card input,
.theory-content-replace-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.theory-content-upload-progress {
  display: grid;
  gap: 12px;
  margin: 12px 0 16px;
  padding: 16px;
  border: 1px solid rgba(212, 166, 42, 0.36);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 28px rgba(7, 27, 66, 0.08);
}

.theory-content-upload-progress.complete {
  border-color: rgba(22, 128, 86, 0.32);
  background: linear-gradient(180deg, #f1fbf5 0%, #ffffff 100%);
}

.theory-content-upload-progress.failed,
.theory-content-upload-progress.cancelled {
  border-color: rgba(190, 54, 54, 0.28);
  background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
}

.theory-content-upload-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.theory-content-upload-progress h5 {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.theory-content-progress-bar {
  position: relative;
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #e8eef7;
}

.theory-content-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d2b6b 0%, #1662b8 62%, #d4a62a 100%);
  transition: width 180ms ease;
}

.theory-content-upload-progress.complete .theory-content-progress-bar span {
  background: linear-gradient(90deg, #168056 0%, #22a06b 100%);
}

.theory-content-upload-progress-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.theory-content-upload-progress-grid span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(13, 43, 107, 0.05);
}

.theory-content-upload-progress-grid strong {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 900;
}

.theory-content-upload-progress-grid small,
.theory-content-upload-status {
  color: #657084;
  font-weight: 800;
}

.theory-content-upload-status {
  margin: 0;
}

@media (max-width: 760px) {
  .theory-content-upload-progress-head {
    flex-direction: column;
  }

  .theory-content-upload-progress-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .theory-content-upload-progress-grid {
    grid-template-columns: 1fr;
  }
}

.theory-content-asset-list,
.theory-content-resource-list {
  display: grid;
  gap: 12px;
}

.theory-content-builder-asset,
.theory-content-asset {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(13, 43, 107, 0.12);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 27, 66, 0.06);
}

.theory-content-builder-asset {
  grid-template-columns: minmax(180px, 1fr) minmax(240px, auto);
  align-items: center;
}

.theory-content-builder-asset span,
.theory-content-builder-asset small,
.theory-content-asset small {
  display: block;
  color: #657084;
  font-weight: 700;
}

.theory-content-builder-asset textarea {
  min-height: 72px;
}

/* Shared Practical/Theory Lesson Builder section architecture. */
.theory-lesson-builder-editor {
  display: grid;
  gap: 18px;
  padding-bottom: 34px;
  background: #f3f6fa;
}

.theory-lesson-builder-page,
.theory-lesson-builder-page > .theory-lesson-builder-editor,
.theory-lesson-builder-editor > .practical-continuous-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.theory-lesson-builder-page > .theory-lesson-builder-editor {
  margin: 0;
  padding-inline: 0;
  border: 0;
  box-shadow: none;
}

.theory-lesson-builder-editor > .curriculum-toolbar {
  margin: 0;
  border: 1px solid #dbe3ed;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 27, 66, .06);
}

.lesson-builder-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.lesson-builder-section-head > div {
  min-width: 0;
}

.lesson-builder-section-body,
.theory-content-asset-manager {
  padding: 22px;
}

.theory-details-fields {
  grid-template-columns: 1fr;
}

.theory-details-fields #theoryBuilderLessonTitle {
  min-height: 58px;
  font-size: 1.12rem;
  font-weight: 850;
}

.theory-details-fields #theoryBuilderLearningOutcome {
  min-height: 110px;
}

.theory-details-fields #theoryBuilderLessonDescription {
  min-height: 140px;
}

.theory-lesson-admin-context {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid #d7ad55;
  border-radius: 7px;
  background: #f7f9fc;
  color: #64748b;
  font-size: .76rem;
  font-weight: 750;
}

.theory-selected-lesson-title {
  padding: 18px 20px;
  border: 1px solid #dfe6ee;
  border-left: 4px solid #d7ad55;
  border-radius: 12px;
  background: #f8fafc;
}

.theory-selected-lesson-title span,
.theory-selected-lesson-title small {
  display: block;
  color: #64748b;
  font-size: .74rem;
  font-weight: 850;
}

.theory-selected-lesson-title h3 {
  margin: 4px 0 7px;
  color: #0b1f4d;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.theory-delivery-position {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0 22px 22px;
}

.theory-delivery-position > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #dfe6ee;
  border-radius: 12px;
  background: #f8fafc;
}

.theory-delivery-position dt {
  color: #9a7222;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.theory-delivery-position dd {
  margin: 4px 0 0;
  color: #0b1f4d;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.lesson-builder-selected-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 22px;
}

.lesson-builder-selected-summary > div {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #dfe6ee;
  border-radius: 12px;
  background: #f8fafc;
}

.lesson-builder-selected-summary .lesson-builder-selected-title {
  grid-column: span 2;
}

.lesson-builder-selected-summary dt {
  margin-bottom: 5px;
  color: #9a7222;
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lesson-builder-selected-summary dd {
  margin: 0;
  color: #0b1f4d;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.theory-curriculum-alignment .theory-qualification-alignment-card {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.theory-curriculum-alignment .theory-qualification-alignment-header {
  margin-top: 0;
}

.theory-content-manager-heading {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.theory-content-builder-asset-summary {
  min-width: 0;
}

.theory-content-builder-asset-summary strong {
  display: block;
  color: #0b1f4d;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.theory-teaching-position .practical-lesson-strip-scroll {
  gap: 12px;
  padding-bottom: 12px;
}

.theory-teaching-position .practical-lesson-chip {
  align-content: start;
  flex-basis: 230px;
  min-height: 150px;
  gap: 12px;
  padding: 18px;
  border-radius: 13px;
}

.theory-teaching-position .practical-lesson-chip span {
  font-size: .72rem;
}

.theory-teaching-position .practical-lesson-chip strong {
  overflow: visible;
  font-size: .96rem;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.theory-content-asset-details {
  grid-column: 1 / -1;
  border-top: 1px solid #e5eaf0;
  padding-top: 10px;
}

.theory-content-asset-details summary {
  cursor: pointer;
  color: #42526b;
  font-size: .78rem;
  font-weight: 850;
}

.theory-content-asset-details > div {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(240px, 1.2fr);
  gap: 12px;
  padding-top: 12px;
}

.theory-content-builder-asset-actions .secondary-action {
  min-height: 36px;
  padding: 7px 10px;
  font-size: .74rem;
}

.theory-lesson-experience {
  min-width: 0;
}

.theory-lesson-stage-player {
  padding: 22px;
  background: #071b42;
}

.theory-tutor-timeline { position:relative; width:calc(100% - 24px); max-width:1156px; height:18px; margin:-12px auto 0; z-index:2; pointer-events:none; }
.theory-tutor-timeline-marker { position:absolute; bottom:0; display:grid; place-items:center; width:24px; height:24px; padding:0; transform:translateX(-50%); border:2px solid #071b42; border-radius:50%; background:#d7ad55; color:#071b42; box-shadow:0 3px 10px rgba(0,0,0,.28); font-size:.67rem; font-weight:950; pointer-events:auto; cursor:pointer; }
.theory-tutor-timeline-marker.selected { background:#fff; box-shadow:0 0 0 3px rgba(215,173,85,.6),0 3px 10px rgba(0,0,0,.3); }
.theory-tutor-timeline-marker:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.theory-tutor-engine-console { width:min(100%,1180px); margin:14px auto 0; border-top:1px solid rgba(255,255,255,.16); color:#fff; }
.theory-tutor-engine-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px 0 4px; }
.theory-tutor-engine-toolbar .eyebrow { margin:0 0 4px; color:#e6bd61; }
.theory-tutor-engine-toolbar h5 { margin:0; color:#fff; font-size:1.05rem; }
.theory-tutor-playback-controls { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; }
.theory-tutor-playback-controls output { min-width:64px; color:#fff; font-variant-numeric:tabular-nums; font-size:1rem; font-weight:900; text-align:center; }
.theory-tutor-playback-controls>div { display:flex; overflow:hidden; border:1px solid rgba(255,255,255,.25); border-radius:9px; }
.theory-tutor-playback-controls>div button,.theory-tutor-step-editor button { min-height:38px; border:0; background:rgba(255,255,255,.08); color:#fff; font-weight:850; cursor:pointer; }
.theory-tutor-playback-controls>div button { min-width:46px; border-right:1px solid rgba(255,255,255,.16); }
.theory-tutor-playback-controls>div button:last-child { border-right:0; }
.theory-tutor-playback-controls>div button.selected { background:#d7ad55; color:#071b42; }
.theory-tutor-playback-controls .theory-tutor-outcome-tools { min-height:40px; padding:7px 11px; border:1px solid rgba(255,255,255,.22); border-radius:9px; background:transparent; color:#d9e3ef; font-size:.73rem; font-weight:850; cursor:pointer; }
.theory-tutor-step-editor { margin-top:16px; padding:18px; border:1px solid rgba(215,173,85,.46); border-radius:14px; background:rgba(255,255,255,.06); }
.theory-tutor-step-editor>header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.theory-tutor-step-editor>header>div { display:flex; align-items:center; gap:10px; }
.theory-tutor-step-editor>header span { color:#c9d7e8; font-size:.73rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.theory-tutor-step-editor>header strong { color:#e6bd61; font-variant-numeric:tabular-nums; }
.theory-tutor-step-editor>header button { padding:7px 11px; border:1px solid rgba(255,255,255,.18); border-radius:8px; }
.theory-tutor-step-editor>header button.danger { color:#ffd2d2; }
.theory-tutor-step-palette>p { margin:18px 0 10px; color:#fff; font-size:1rem; font-weight:850; }
.theory-tutor-step-palette>div { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:9px; }
.theory-tutor-step-palette button { display:grid; align-content:start; gap:5px; min-height:116px; padding:13px; border:1px solid rgba(255,255,255,.18); border-radius:10px; text-align:left; }
.theory-tutor-step-palette button:hover:not(:disabled) { border-color:#d7ad55; background:rgba(215,173,85,.12); }
.theory-tutor-step-palette button:disabled { cursor:not-allowed; opacity:.55; }
.theory-tutor-step-palette button strong { color:#fff; font-size:.78rem; }
.theory-tutor-step-palette button span { color:#c9d7e8; font-size:.7rem; line-height:1.4; }
.theory-tutor-step-palette button small { align-self:end; color:#e6bd61; font-weight:850; }
.theory-tutor-step-config-placeholder { display:flex; justify-content:space-between; gap:15px; margin-top:16px; padding:13px; border-radius:9px; background:rgba(255,255,255,.07); }
.theory-tutor-step-config-placeholder span { color:#c9d7e8; font-size:.78rem; }
.theory-tutor-step-list { display:grid; gap:8px; margin-top:16px; }
.theory-tutor-step-list>p { margin:0; padding:14px; color:#c9d7e8; text-align:center; }
.theory-tutor-step-summary { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-height:48px; padding:8px 10px; border:1px solid rgba(255,255,255,.14); border-radius:9px; background:rgba(255,255,255,.045); color:#fff; text-align:left; }
.theory-tutor-step-summary>button:first-child { display:grid; grid-template-columns:90px 70px minmax(0,1fr); align-items:center; gap:10px; flex:1; min-height:38px; border:0; background:transparent; color:#fff; text-align:left; cursor:pointer; }
.theory-tutor-step-summary>div { display:flex; flex-wrap:wrap; gap:5px; }
.theory-tutor-step-summary>div button { min-height:32px; padding:5px 8px; border:1px solid rgba(255,255,255,.18); border-radius:7px; background:rgba(255,255,255,.07); color:#fff; font-size:.68rem; font-weight:800; cursor:pointer; }
.theory-tutor-step-summary.selected { border-color:#d7ad55; background:rgba(215,173,85,.12); }
.theory-tutor-step-summary span { color:#c9d7e8; font-size:.72rem; font-weight:900; text-transform:uppercase; }
.theory-tutor-step-summary time { color:#e6bd61; font-variant-numeric:tabular-nums; font-weight:900; }
.theory-tutor-step-summary:focus-visible,.theory-tutor-step-palette button:focus-visible,.theory-tutor-step-editor button:focus-visible,.theory-tutor-playback-controls button:focus-visible { outline:3px solid #fff; outline-offset:2px; }
.theory-tutor-delivery-methods h6,.theory-tutor-checkpoint-editor h6 { margin:18px 0 10px; color:#fff; font-size:1rem; }
.theory-tutor-delivery-methods>div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.theory-tutor-delivery-methods button { display:grid; gap:6px; min-height:105px; padding:13px; border:1px solid rgba(255,255,255,.18); border-radius:10px; background:rgba(255,255,255,.07); color:#fff; text-align:left; cursor:pointer; }
.theory-tutor-delivery-methods button:disabled { cursor:not-allowed; opacity:.5; }.theory-tutor-delivery-methods button:not(:disabled):hover { border-color:#d7ad55; }
.theory-tutor-delivery-methods button span,.theory-tutor-delivery-methods button small { color:#c9d7e8; font-size:.72rem; }.theory-tutor-delivery-methods button small { color:#e6bd61; font-weight:850; }
.theory-tutor-checkpoint-heading { display:grid; gap:3px; margin-top:18px; }.theory-tutor-checkpoint-heading h6 { margin:0; font-size:1.08rem; }.theory-tutor-checkpoint-heading span { color:#e6bd61; font-size:.72rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.theory-tutor-checkpoint-editor fieldset { display:grid; gap:9px; margin:18px 0 0; padding:15px 16px; border:1px solid rgba(255,255,255,.17); border-radius:11px; color:#fff; }.theory-tutor-checkpoint-editor fieldset legend { padding:0 7px; color:#e6bd61; font-size:.76rem; font-weight:900; }.theory-tutor-checkpoint-editor fieldset label { display:flex; align-items:center; gap:9px; font-size:.8rem; }.theory-tutor-checkpoint-editor fieldset input { accent-color:#d7ad55; }
.theory-tutor-checkpoint-media { margin-top:16px; border:1px solid rgba(215,173,85,.34); border-radius:13px; background:rgba(2,15,38,.48); }.theory-tutor-checkpoint-media.has-media { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:13px; align-items:center; padding:15px; }.theory-tutor-checkpoint-media .theory-video-frame { grid-column:1/-1; }.theory-tutor-checkpoint-media-status { display:flex; align-items:center; gap:10px; }.theory-tutor-checkpoint-media-status>span { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#dff4e5; color:#176b38; font-weight:950; }.theory-tutor-checkpoint-media-status p { display:grid; gap:2px; margin:0; }.theory-tutor-checkpoint-media-status small { color:#c9d7e8; }.theory-tutor-checkpoint-media-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:8px; }
.theory-tutor-checkpoint-upload-target { display:grid; place-items:center; min-height:220px; padding:28px; border:2px dashed rgba(215,173,85,.55); border-radius:12px; color:#fff; text-align:center; cursor:pointer; transition:border-color .18s ease,background .18s ease; }.theory-tutor-checkpoint-upload-target:hover { border-color:#e6bd61; background:rgba(215,173,85,.08); }.theory-tutor-checkpoint-upload-target>span { display:grid; place-items:center; width:54px; height:54px; margin-bottom:10px; border:1px solid rgba(215,173,85,.75); border-radius:50%; color:#e6bd61; font-size:1.8rem; }.theory-tutor-checkpoint-upload-target strong { font-size:1.05rem; }.theory-tutor-checkpoint-upload-target small { margin-top:5px; color:#c9d7e8; }.theory-tutor-checkpoint-upload-target input { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; }
.theory-tutor-checkpoint-actions { display:flex; justify-content:flex-end; margin-top:16px; }.theory-tutor-checkpoint-actions .primary-action { min-width:190px; }.theory-tutor-checkpoint-saved { margin:14px 0 0; padding:10px 12px; border:1px solid rgba(110,200,139,.38); border-radius:9px; background:rgba(77,159,102,.14); color:#c9f0d4; font-size:.78rem; font-weight:900; text-align:center; }
.theory-tutor-checkpoint-upload-feedback { margin:0; padding:11px 13px; border-top:1px solid rgba(255,255,255,.12); color:#dbe7f4; font-size:.78rem; font-weight:850; text-align:center; }.theory-tutor-checkpoint-upload-feedback.checking,.theory-tutor-checkpoint-upload-feedback.uploading { color:#f2d58f; }.theory-tutor-checkpoint-upload-feedback.complete { color:#bfe7ca; }.theory-tutor-checkpoint-upload-feedback.error { color:#ffd2d2; }
.theory-interactive-lesson-player,.theory-lesson-stage-player { position:relative; overflow:hidden; border-radius:14px; background:#020f26; }.theory-interactive-lesson-player>.theory-content-video { margin:0; transition:opacity .22s ease,filter .22s ease; }.theory-interactive-lesson-player:has(.theory-tutor-checkpoint-overlay.active)>.theory-content-video { opacity:.24; filter:brightness(.55); }
.theory-tutor-checkpoint-overlay { position:absolute; inset:0; z-index:5; display:grid; place-items:center; padding:24px; background:rgba(2,12,31,.96); opacity:0; transition:opacity .22s ease; }.theory-tutor-checkpoint-overlay[hidden] { display:none; }.theory-tutor-checkpoint-overlay.active { opacity:1; }.theory-tutor-checkpoint-overlay.leaving { opacity:0; }.theory-tutor-checkpoint-overlay>div { width:min(100%,900px); color:#fff; }.theory-tutor-checkpoint-overlay h5 { margin:5px 0; color:#fff; font-size:1.2rem; }.theory-tutor-checkpoint-overlay p { color:#d7e0ec; }.theory-tutor-checkpoint-playback-status { display:grid; place-items:center; min-height:74px; margin:14px 0; border:1px solid rgba(215,173,85,.28); border-radius:11px; background:rgba(255,255,255,.04); color:#f1d38b!important; font-weight:850; text-align:center; }.theory-tutor-checkpoint-overlay.failed .theory-video-frame { display:none; }.theory-tutor-checkpoint-overlay.waiting [data-theory-tutor-checkpoint-continue],.theory-tutor-checkpoint-overlay.failed [data-theory-tutor-checkpoint-continue] { display:inline-flex; margin-top:14px; }.theory-tutor-checkpoint-overlay .primary-action { min-width:190px; justify-content:center; }

.theory-lesson-stage-player > .theory-content-video {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.theory-lesson-stage-player .theory-two-card-heading {
  padding: 0 0 14px;
}

.theory-lesson-stage-player .theory-two-card-heading :is(h4,p) {
  color: #fff;
}

.theory-lesson-stage-player .theory-video-frame {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: #000;
}

.theory-lesson-stage-player .theory-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.theory-lesson-stage-empty {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 40px 22px;
  background: linear-gradient(145deg,#071b42,#123d73);
  color: #fff;
  text-align: center;
}

.theory-lesson-stage-empty span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(215,173,85,.7);
  border-radius: 50%;
  color: #e6bd61;
  font-size: 1.5rem;
}

.theory-lesson-stage-empty h5 {
  margin: 18px 0 0;
  color: #fff;
  font-size: 1.2rem;
}

.theory-lesson-stage-empty p {
  margin: 7px 0 0;
  color: #d9e3ef;
}

.theory-lesson-actions .lesson-builder-action-row {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin: 0;
  padding: 22px;
}

.theory-teaching-method .admin-action-feedback {
  margin: 18px 22px 0;
}

.theory-induction-activity-canvas {
  padding: 22px;
  background: #f8fafc;
}

.theory-induction-activity-canvas > .induction-admin-editor {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.theory-induction-activity-canvas > .induction-admin-editor > .curriculum-toolbar {
  display: none;
}

.theory-induction-activity-canvas .induction-quiz-accordion-list {
  margin-top: 0;
}

@media (max-width: 900px) {
  .lesson-builder-selected-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theory-content-builder-asset,
  .theory-content-asset-details > div {
    grid-template-columns: 1fr;
  }

  .theory-content-builder-asset-actions {
    grid-column: 1 / -1;
  }

  .theory-delivery-position {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theory-induction-activity-canvas {
    padding: 14px;
  }

  .theory-teaching-position .practical-lesson-chip {
    flex-basis: 210px;
    min-height: 138px;
  }

  .theory-lesson-stage-player {
    padding: 14px;
  }

  .theory-tutor-engine-toolbar { align-items:flex-start; flex-direction:column; }
  .theory-tutor-playback-controls { justify-content:flex-start; width:100%; }
  .theory-tutor-step-palette>div { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .theory-tutor-delivery-methods>div { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .theory-tutor-step-summary { align-items:flex-start; flex-direction:column; }.theory-tutor-step-summary>div { width:100%; }
  .theory-tutor-checkpoint-media.has-media { grid-template-columns:1fr; }.theory-tutor-checkpoint-media-actions { justify-content:flex-start; }

  .theory-lesson-stage-empty {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .lesson-builder-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .theory-tutor-step-palette>div { grid-template-columns:1fr; }
  .theory-tutor-delivery-methods>div { grid-template-columns:1fr; }
  .theory-tutor-step-palette button { min-height:90px; }
  .theory-tutor-step-editor>header,.theory-tutor-step-config-placeholder { align-items:flex-start; flex-direction:column; }
  .theory-tutor-step-editor>header>button { align-self:flex-end; }
  .theory-tutor-checkpoint-actions .primary-action { width:100%; }
  .theory-tutor-step-summary>button:first-child { grid-template-columns:70px 58px minmax(0,1fr); }

  .lesson-builder-selected-summary {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .lesson-builder-selected-summary .lesson-builder-selected-title {
    grid-column: auto;
  }

  .lesson-builder-section-body,
  .theory-content-asset-manager,
  .theory-lesson-actions .lesson-builder-action-row {
    padding: 14px;
  }

  .theory-content-builder-asset-actions > *,
  .theory-lesson-actions .lesson-builder-action-row > * {
    width: 100%;
  }

  .theory-delivery-position {
    grid-template-columns: 1fr;
    padding: 0 14px 14px;
  }
}

.theory-content-builder-asset-actions,
.theory-content-builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.theory-builder-live-preview { margin-top:24px;border:1px solid rgba(13,43,107,.2);border-radius:20px;background:#eef3f8;box-shadow:0 20px 46px rgba(7,27,66,.1);overflow:hidden; }
.theory-builder-live-preview>header { display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #d8e2ed;background:#fff; }
.theory-builder-live-preview>header .eyebrow { margin:0 0 3px;color:#9a7222; }
.theory-builder-live-preview>header h4 { margin:0;color:var(--navy);font-size:1.12rem; }
.theory-builder-live-preview>header p:last-child { margin:4px 0 0;color:#64748b;font-size:.78rem; }
.theory-builder-live-preview>header>span { flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#fff6dd;color:#72551a;font-size:.7rem;font-weight:900; }
.theory-builder-learner-canvas { width:min(100%,1080px);margin:0 auto;padding:22px; }
.theory-builder-learner-canvas .theory-two-lesson { width:100%; }
.theory-content-block-sequence { display:grid;gap:14px; }
.theory-content-block { min-width:0; }

.theory-content-builder-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}

.theory-content-builder-actions > button {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  height: 100%;
  justify-content: center;
  text-align: center;
}

.theory-content-builder-actions > button:focus-visible {
  outline: 3px solid rgba(31, 113, 255, 0.42);
  outline-offset: 2px;
}

.theory-content-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.theory-content-image {
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1fr);
  align-items: center;
}

.theory-content-image img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(13, 43, 107, 0.1);
}

.theory-content-notes,
.theory-content-transcript {
  padding: 16px;
  border: 1px solid rgba(13, 43, 107, 0.1);
  border-radius: 16px;
  background: #f8fbff;
  color: #0d2b6b;
}

.theory-content-transcript summary {
  cursor: pointer;
  font-weight: 900;
  color: #0d2b6b;
}

.theory-content-empty {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .theory-content-upload-grid,
  .theory-content-builder-asset,
  .theory-content-image {
    grid-template-columns: 1fr;
  }

  .theory-content-builder-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theory-builder-learner-canvas { padding:16px; }
}

@media (max-width: 560px) {
  .theory-content-builder-actions {
    grid-template-columns: 1fr;
  }

  .theory-content-manager-heading,.theory-builder-live-preview>header { align-items:flex-start;flex-direction:column; }
  .theory-content-manager-heading>p { text-align:left; }
  .theory-builder-learner-canvas { padding:10px; }
}

/* Tutor register UX cleanup: identity-first rows and one neutral selected language. */
body:has(.tutor-register-task-page) .tutor-register-premium .daily-cohort-identity{gap:0;padding-inline:10px!important}
body:has(.tutor-register-task-page) .tutor-register-premium .daily-learner-copy{min-width:0}
body:has(.tutor-register-task-page) .tutor-register-premium .attendance-segmented-control{overflow:visible;border:0;background:transparent}
body:has(.tutor-register-task-page) .tutor-register-premium .attendance-segmented-control .attendance-button{border:1px solid #d8e1e8;background:#fbfcfd;color:#071b4d}
body:has(.tutor-register-task-page) .tutor-register-premium .attendance-segmented-control .attendance-button.active{border-color:#86b99b;background:#e6f5eb;color:#071b4d;box-shadow:0 0 0 1px rgba(134,185,155,.12)}
body:has(.tutor-register-task-page) .tutor-register-premium .attendance-segmented-control .attendance-button.active .attendance-selected-indicator{background:#2f7650;color:#fff}
body:has(.tutor-register-task-page) .tutor-register-premium .attendance-segmented-control .attendance-button:is(:hover,:focus-visible){border-color:#86b99b;background:#f3faf5;outline:3px solid rgba(80,143,105,.18);outline-offset:2px}

/*
 * Phase A phone foundation.
 * This deliberately late layer is limited to phones (<=720px). It reduces only
 * confirmed nested wrapper gutters, keeps an 8px outer page boundary, contains
 * school photographs to their card, and accounts for iPhone safe areas.
 */
@media (max-width: 720px) {
  .app-shell {
    --phase-a-shell-pad: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding:
      max(var(--phase-a-shell-pad), env(safe-area-inset-top))
      max(var(--phase-a-shell-pad), env(safe-area-inset-right))
      max(var(--phase-a-shell-pad), env(safe-area-inset-bottom))
      max(var(--phase-a-shell-pad), env(safe-area-inset-left));
  }

  .topbar {
    top: 0;
    min-width: 0;
    max-width: 100%;
    margin:
      calc(max(var(--phase-a-shell-pad), env(safe-area-inset-top)) * -1)
      calc(max(var(--phase-a-shell-pad), env(safe-area-inset-right)) * -1)
      12px
      calc(max(var(--phase-a-shell-pad), env(safe-area-inset-left)) * -1);
    padding:
      max(12px, env(safe-area-inset-top))
      max(var(--phase-a-shell-pad), env(safe-area-inset-right))
      12px
      max(var(--phase-a-shell-pad), env(safe-area-inset-left));
  }

  #employerView > .employer-panel,
  .school-dashboard-shell,
  .school-cohort-dashboard {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
  }

  .school-linked-cohort-panel,
  .school-learner-search-panel,
  .school-learner-row-card,
  .school-learner-profile-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px;
  }

  .school-learner-row-card,
  .school-learner-profile-section,
  .school-learner-main,
  .school-learner-main-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .school-learner-photo-wrap {
    width: min(100%, 260px);
    height: auto;
    min-width: 0;
    max-width: 260px;
    aspect-ratio: 1;
  }

  .school-learner-photo-wrap .learner-avatar.school-profile {
    min-width: 0;
    max-width: 100%;
  }

  .parent-portal-header {
    top: max(8px, env(safe-area-inset-top));
    max-width: 100%;
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }

  :is(
    .certificate-modal-overlay,
    .school-snapshot-overlay,
    .school-ilp-modal-overlay,
    .parent-support-modal-overlay,
    .parent-certificate-modal-overlay,
    .evidence-modal
  ) {
    padding-right: max(12px, env(safe-area-inset-right));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    padding-left: max(12px, env(safe-area-inset-left));
  }

  :is(.modal-actions, .tutor-recognition-form .modal-actions) {
    padding-bottom: env(safe-area-inset-bottom);
  }

  :is(
    .icon-button,
    .parent-portal-logout,
    .school-ilp-close,
    .school-snapshot-close,
    .certificate-preview-modal > header button,
    .modal-actions button
  ) {
    min-width: 44px;
    min-height: 44px;
  }

  #employerView,
  #employerView > .employer-panel,
  .parent-portal-frame,
  .school-dashboard-shell,
  .school-cohort-dashboard,
  .school-linked-cohort-panel,
  .school-learner-search-panel,
  .school-learner-row-card,
  .school-learner-profile-section,
  .school-learner-main {
    overflow-wrap: anywhere;
  }
}
/* Canonical pathway availability state */
.canonical-lesson-unavailable {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 42, 82, 0.14);
  border-left: 3px solid #c99a2e;
  background: linear-gradient(145deg, #fffefb 0%, #f7f9fc 100%);
  box-shadow: 0 14px 34px rgba(15, 42, 82, 0.08);
}

.canonical-lesson-unavailable::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 154, 46, 0.42), transparent 62%);
}

.canonical-lesson-unavailable .eyebrow {
  color: #7b5b17;
  letter-spacing: 0.08em;
}

.canonical-lesson-unavailable h4 {
  color: #0f2a52;
}

.canonical-lesson-unavailable p:last-child {
  color: #52647d;
  max-width: 62ch;
}

@media (max-width: 720px) {
  .canonical-lesson-unavailable {
    border-left-width: 2px;
    box-shadow: 0 10px 24px rgba(15, 42, 82, 0.07);
  }
}


/* Premium TFE Admin Dashboard home — deliberately scoped away from other admin pages. */
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) {
  --admin-ilp-navy:#061842;
  --admin-ilp-blue:#0a2f6b;
  --admin-ilp-gold:#dba51d;
  --admin-ilp-gold-soft:rgba(219,165,29,.28);
  --admin-ilp-ink:#071b46;
  --admin-ilp-muted:#526176;
  --admin-ilp-surface:#fff;
  --admin-ilp-secondary:#f7faff;
  --admin-ilp-canvas:#eef4fb;
  --admin-ilp-line:rgba(7,27,70,.11);
  --admin-ilp-shadow-soft:0 12px 28px rgba(7,27,70,.075);
  --admin-ilp-shadow-card:0 18px 42px rgba(7,27,70,.105);
  --admin-ilp-shadow-deep:0 30px 76px rgba(7,27,70,.24);
  background:var(--admin-ilp-canvas);
}
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .hero-panel.admin-hero-panel {
  position:relative;
  overflow:hidden;
  border:1px solid var(--admin-ilp-line);
  border-radius:24px;
  background:var(--admin-ilp-navy);
  box-shadow:var(--admin-ilp-shadow-card);
}
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .hero-panel.admin-hero-panel::before {
  display:none;
}
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .hero-panel.admin-hero-panel .eyebrow { color:var(--admin-ilp-gold);letter-spacing:.13em; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .hero-panel.admin-hero-panel h2 { margin:8px 0;color:#fff;font-size:clamp(1.8rem,3vw,2.65rem);line-height:1.08;letter-spacing:-.035em; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .hero-panel.admin-hero-panel p:not(.eyebrow) { max-width:720px;color:#d9e5ea;font-weight:700;line-height:1.6; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-tool-card {
  border-width:1px;
  border-color:rgba(255,255,255,.2);
  border-radius:16px;
  background:rgba(255,255,255,.055);
  box-shadow:none;
}
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-tool-card small { border-color:transparent;background:transparent;color:var(--admin-ilp-gold); }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-tool-card:hover,
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-tool-card:focus-visible { transform:translateY(-2px);border-color:rgba(255,255,255,.42);box-shadow:none;outline:3px solid var(--admin-ilp-gold-soft);outline-offset:3px; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-hero-logout,
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .session-strip.admin-logout-strip .secondary-action { border-color:var(--admin-ilp-line);background:var(--admin-ilp-surface);color:var(--admin-ilp-navy);box-shadow:none; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-hero-logout:hover,
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-hero-logout:focus-visible,
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .session-strip.admin-logout-strip .secondary-action:hover,
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .session-strip.admin-logout-strip .secondary-action:focus-visible { border-color:var(--admin-ilp-gold);background:var(--admin-ilp-secondary);color:var(--admin-ilp-navy);outline:3px solid var(--admin-ilp-gold-soft);outline-offset:3px; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-navigation-group {
  gap:20px;
  padding:26px 24px;
  border:1px solid var(--admin-ilp-line);
  border-radius:20px;
  background:var(--admin-ilp-surface);
  box-shadow:var(--admin-ilp-shadow-soft);
}
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-navigation-group::before { display:none; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-navigation-group::after { display:none; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-navigation-group:hover { border-color:rgba(7,27,70,.18);box-shadow:var(--admin-ilp-shadow-card); }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-navigation-group h4 { border-bottom-color:transparent;color:var(--admin-ilp-ink);font-size:1.08rem; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-navigation-group h4::before { border-color:transparent;background:var(--admin-ilp-secondary);box-shadow:none; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-navigation-group h4::after { border-color:var(--admin-ilp-gold);box-shadow:9px 10px 0 -6px var(--admin-ilp-gold); }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-nav-link {
  min-height:50px;
  min-width:0;
  border-width:1px;
  border-color:var(--admin-ilp-line);
  border-radius:12px;
  background:var(--admin-ilp-secondary);
  color:var(--admin-ilp-ink);
  box-shadow:none;
}
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-navigation-group > div,
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-nav-link span { min-width:0;overflow-wrap:anywhere; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-nav-link::after { border-color:transparent;background:transparent;color:var(--admin-ilp-gold); }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-nav-link:hover,
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-nav-link:focus-visible { border-color:rgba(7,27,70,.22);background:#fff;box-shadow:var(--admin-ilp-shadow-soft);outline:3px solid var(--admin-ilp-gold-soft);outline-offset:2px; }
body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-nav-link:active { transform:translateY(0);box-shadow:none; }
@media (max-width:760px) {
  body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .hero-panel.admin-hero-panel { border-radius:18px; }
  body:has(.hero-panel.admin-hero-panel):has(.admin-navigation-groups) .admin-navigation-group { padding:18px;border-radius:17px; }
}

/* Shared opt-in workspace width contract. The default application shell remains capped. */
body:has(.portal-workspace--wide) .app-shell {
  --portal-header-inline:clamp(24px,2.2vw,32px);
  width:100%;
  max-width:none;
  padding-inline:clamp(24px,2.2vw,32px);
  box-sizing:border-box;
}
.portal-workspace--wide {
  width:100%;
  max-width:none;
  min-width:0;
  box-sizing:border-box;
}
.portal-workspace--wide .premium-passport-page {
  width:100%;
  max-width:none;
  min-width:0;
}
@media (max-width:900px) {
  body:has(.portal-workspace--wide) .app-shell {
    --portal-header-inline:clamp(16px,3vw,24px);
    padding-inline:clamp(16px,3vw,24px);
  }
}

/* Preserve the ILP treatment against older global premium rules with ID-level specificity. */
body:has(#metricsGrid.admin-navigation-groups) .hero-panel.admin-hero-panel { border-color:var(--admin-ilp-line); }
body:has(#metricsGrid.admin-navigation-groups) .admin-tool-card {
  border-color:rgba(255,255,255,.2);
  color:#fff;
}
body:has(#metricsGrid.admin-navigation-groups) .admin-tool-card strong { color:#fff; }
body:has(#metricsGrid.admin-navigation-groups) #metricsGrid.admin-navigation-groups .admin-navigation-group {
  border-color:var(--admin-ilp-line);
  box-shadow:var(--admin-ilp-shadow-soft);
}
#metricsGrid.admin-navigation-groups .admin-nav-link {
  border-width:1px;
  border-color:var(--admin-ilp-line);
  border-radius:12px;
  background:var(--admin-ilp-secondary);
  color:var(--admin-ilp-ink);
}
#metricsGrid.admin-navigation-groups .admin-nav-link:hover:not(:disabled),
#metricsGrid.admin-navigation-groups .admin-nav-link:focus-visible {
  border-color:rgba(7,27,70,.22);
  background:#fff;
  color:var(--admin-ilp-ink);
  outline-color:var(--admin-ilp-gold-soft);
}

/* Admin Dashboard — approved reference-image treatment. */
body:has(.hero-panel.admin-hero-panel):has(#metricsGrid .admin-navigation-groups) {
  background:#f7f8fb;
}
body:has(#metricsGrid .admin-navigation-groups) .hero-panel.admin-hero-panel {
  min-height:260px;
  gap:clamp(28px,3vw,52px);
  padding:clamp(32px,3.6vw,52px);
  border:1px solid rgba(7,27,70,.08);
  border-radius:18px;
  background:#061842;
  box-shadow:0 12px 30px rgba(7,27,70,.12);
}
body:has(#metricsGrid .admin-navigation-groups) .hero-panel.admin-hero-panel::after {
  position:absolute;
  top:-54%;
  bottom:-54%;
  left:40%;
  width:132px;
  border:44px solid rgba(255,255,255,.035);
  border-top:0;
  border-bottom:0;
  border-radius:50%;
  content:"";
  pointer-events:none;
}
body:has(#metricsGrid .admin-navigation-groups) .hero-panel.admin-hero-panel > div:first-child { max-width:560px; }
body:has(#metricsGrid .admin-navigation-groups) .hero-panel.admin-hero-panel .eyebrow { margin:0 0 18px;color:#dba51d;font-size:.72rem;font-weight:900;letter-spacing:.13em; }
body:has(#metricsGrid .admin-navigation-groups) .hero-panel.admin-hero-panel h2 { max-width:580px;margin:0 0 15px;font-size:clamp(2rem,3.1vw,3rem);font-weight:820;line-height:1.04;letter-spacing:-.04em; }
body:has(#metricsGrid .admin-navigation-groups) .hero-panel.admin-hero-panel p:not(.eyebrow) { max-width:520px;margin:0;color:#dce5f2;font-size:1rem;font-weight:650;line-height:1.6; }
body:has(#metricsGrid .admin-navigation-groups) .admin-hero-actions { position:relative;z-index:1;gap:18px;align-items:flex-start; }
body:has(#metricsGrid .admin-navigation-groups) .admin-tool-card {
  flex:0 0 172px;
  width:172px;
  min-height:184px;
  padding:26px 22px 22px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:16px;
  background:rgba(255,255,255,.018);
  color:#fff;
  box-shadow:none;
}
body:has(#metricsGrid .admin-navigation-groups) .admin-tool-card small { margin-bottom:12px;color:#dba51d;font-size:.66rem;letter-spacing:.12em; }
body:has(#metricsGrid .admin-navigation-groups) .admin-tool-card strong { color:#fff;font-size:1.45rem;line-height:1; }
body:has(#metricsGrid .admin-navigation-groups) .admin-tool-card span { margin-top:5px;color:#fff;font-size:.95rem;font-weight:800; }
body:has(#metricsGrid .admin-navigation-groups) .admin-tool-card em { margin-top:8px;color:#cbd6e6;font-size:.73rem;font-weight:650; }
body:has(#metricsGrid .admin-navigation-groups) .admin-hero-logout {
  min-width:112px;
  min-height:46px;
  padding:10px 19px;
  border:1px solid rgba(7,27,70,.1);
  border-radius:999px;
  background:#fff;
  color:#071b46;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid { margin:22px 0 28px; }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-groups { gap:18px; }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group {
  min-height:304px;
  gap:0;
  padding:22px 20px 18px;
  border:1px solid rgba(7,27,70,.09);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(7,27,70,.065);
}
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group:hover { transform:none;border-color:rgba(7,27,70,.14);box-shadow:0 10px 28px rgba(7,27,70,.085); }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group h4 {
  min-height:48px;
  grid-template-columns:48px minmax(0,1fr);
  gap:14px;
  padding:0;
  border:0;
  color:#071b46;
  font-size:1rem;
  font-weight:850;
}
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group h4::before { width:42px;height:42px;border:0;border-radius:13px;background:#f3f4f7;box-shadow:inset 0 0 0 1px rgba(7,27,70,.035); }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group h4::after { left:12px;top:12px;border-color:#071b46;box-shadow:9px 10px 0 -6px #dba51d; }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group > div { gap:0;margin-top:14px;border-top:1px solid rgba(7,27,70,.09); }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group > div::before { display:block;min-height:58px;padding:14px 0 17px;color:#34445d;font-size:.77rem;font-weight:620;line-height:1.5; }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group:nth-child(1) > div::before { content:"Manage learner records and intelligence."; }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group:nth-child(2) > div::before { content:"Manage cohorts, interventions and operational performance."; }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group:nth-child(3) > div::before { content:"Build, map and manage curriculum content."; }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group:nth-child(4) > div::before { content:"Manage employers, schools and parents."; }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group:nth-child(5) > div::before { content:"Manage system users and platform health."; }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-nav-link {
  min-height:46px;
  padding:11px 2px;
  border:0;
  border-top:1px solid rgba(7,27,70,.09);
  border-radius:0;
  background:#fff;
  color:#071b46;
  font-size:.78rem;
  font-weight:800;
  box-shadow:none;
}
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-nav-link::after { width:auto;height:auto;min-width:0;border:0;border-radius:0;background:transparent;color:#6e7787;font-size:1.35rem;font-weight:450;box-shadow:none; }
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-nav-link:hover,
body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-nav-link:focus-visible { transform:none;border-color:rgba(7,27,70,.09);background:#f7f8fb;color:#071b46;box-shadow:none; }
body:has(#metricsGrid .admin-navigation-groups) #adminView > .section-heading.admin-home-search-panel {
  grid-template-columns:minmax(280px,.52fr) minmax(0,1.48fr);
  gap:28px;
  margin:0 0 28px;
  padding:25px 28px;
  border:1px solid rgba(7,27,70,.09);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(7,27,70,.055);
}
body:has(#metricsGrid .admin-navigation-groups) #adminView > .section-heading.admin-home-search-panel .eyebrow { padding:0;border:0;border-radius:0;background:transparent;color:#a66f0a;font-size:.69rem;letter-spacing:.11em; }
body:has(#metricsGrid .admin-navigation-groups) #adminView > .section-heading.admin-home-search-panel h3 { margin-top:10px;color:#071b46;font-size:1.55rem;font-weight:850;text-shadow:none; }
body:has(#metricsGrid .admin-navigation-groups) #adminView > .section-heading.admin-home-search-panel .admin-controls { grid-template-columns:minmax(0,1fr) 180px;gap:18px; }
body:has(#metricsGrid .admin-navigation-groups) #adminView > .section-heading.admin-home-search-panel input,
body:has(#metricsGrid .admin-navigation-groups) #adminView > .section-heading.admin-home-search-panel select { min-height:52px;padding:0 16px;border:1px solid rgba(7,27,70,.1);border-radius:10px;background:#fff;color:#071b46;box-shadow:0 3px 10px rgba(7,27,70,.035); }
@media (max-width:980px) {
  body:has(#metricsGrid .admin-navigation-groups) .hero-panel.admin-hero-panel { min-height:0; }
  body:has(#metricsGrid .admin-navigation-groups) .admin-hero-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr)); }
  body:has(#metricsGrid .admin-navigation-groups) .admin-tool-card { width:100%;min-height:150px; }
  body:has(#metricsGrid .admin-navigation-groups) .admin-hero-logout { grid-column:1/-1;width:100%; }
}
@media (max-width:760px) {
  body:has(#metricsGrid .admin-navigation-groups) .hero-panel.admin-hero-panel { padding:26px 21px; }
  body:has(#metricsGrid .admin-navigation-groups) .admin-hero-actions { grid-template-columns:1fr; }
  body:has(#metricsGrid .admin-navigation-groups) #metricsGrid .admin-navigation-group { min-height:0;padding:20px 18px; }
  body:has(#metricsGrid .admin-navigation-groups) #adminView > .section-heading.admin-home-search-panel,
  body:has(#metricsGrid .admin-navigation-groups) #adminView > .section-heading.admin-home-search-panel .admin-controls { grid-template-columns:1fr; }
}

.theory-manual-qualification-workflow {
  display: grid;
  gap: 16px;
  padding: clamp(17px, 2vw, 22px);
  border: 1px solid rgba(11, 31, 77, 0.14);
  border-radius: 16px;
  background: #f7f9fc;
}

.theory-manual-qualification-workflow > header h4,
.theory-manual-qualification-workflow > header p {
  margin: 0;
}

.theory-manual-qualification-workflow > header h4 {
  margin-top: 4px;
  color: var(--navy);
}

.theory-manual-qualification-workflow > header p:last-child {
  margin-top: 6px;
  color: #5f6f82;
  line-height: 1.5;
}

.theory-manual-qualification-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.theory-manual-qualification-step {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(11, 31, 77, 0.12);
  border-radius: 13px;
  background: #ffffff;
}

.theory-manual-qualification-step h5 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
}

.theory-manual-qualification-step h5 > span {
  display: inline-grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #0b1f4d;
  color: #dbc58d;
  font-size: 0.72rem;
  font-weight: 900;
}

.theory-manual-qualification-step > label,
.theory-manual-qualification-control-label {
  color: #526175;
  font-size: 0.76rem;
  font-weight: 800;
}

.theory-manual-qualification-step select,
.theory-manual-qualification-step textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(11, 31, 77, 0.22);
  border-radius: 10px;
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  line-height: 1.45;
}

.theory-manual-qualification-step textarea {
  resize: vertical;
}

.theory-manual-qualification-step select:focus-visible,
.theory-manual-qualification-step textarea:focus-visible {
  outline: 3px solid rgba(200, 169, 107, 0.38);
  outline-offset: 2px;
  border-color: #9a7026;
}

.theory-manual-qualification-multiselect {
  position: relative;
  width: 100%;
  min-width: 0;
}

.theory-manual-qualification-multiselect > summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 36px 11px 12px;
  border: 1px solid rgba(11, 31, 77, 0.22);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.theory-manual-qualification-multiselect > summary::-webkit-details-marker { display: none; }
.theory-manual-qualification-multiselect > summary::after { content: "⌄"; position: absolute; right: 13px; color: #9a7026; font-weight: 900; }
.theory-manual-qualification-multiselect[open] > summary { border-color: #9a7026; border-radius: 10px 10px 0 0; }
.theory-manual-qualification-multiselect > summary:focus-visible { outline: 3px solid rgba(200, 169, 107, 0.38); outline-offset: 2px; border-color: #9a7026; }
.theory-manual-qualification-multiselect[data-disabled] > summary { color: #7f8997; cursor: default; }

.theory-manual-qualification-options {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid rgba(11, 31, 77, 0.22);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(11, 31, 77, 0.12);
}

.theory-manual-qualification-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(11, 31, 77, 0.08);
  color: var(--navy);
  cursor: pointer;
}

.theory-manual-qualification-options label:first-child { border-top: 0; }
.theory-manual-qualification-options label:hover { background: #f7f9fc; }
.theory-manual-qualification-options input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #9a7026; }
.theory-manual-qualification-options span { display: flex; gap: 7px; line-height: 1.4; }
.theory-manual-qualification-options strong { flex: 0 0 auto; color: #9a7026; }

.theory-manual-qualification-premium-control {
  position: relative;
  min-width: 0;
}

.theory-manual-qualification-step select.theory-manual-qualification-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.theory-manual-qualification-premium-select > summary > span {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 9px;
}

.theory-manual-qualification-premium-select > summary {
  border-color: rgba(154, 112, 38, 0.55);
}

.theory-manual-qualification-premium-select > summary strong {
  flex: 0 0 auto;
  color: #9a7026;
  font-weight: 900;
}

.theory-manual-qualification-premium-select .theory-manual-qualification-options button {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 0;
  background: #fff;
  color: var(--navy);
  font: inherit;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

.theory-manual-qualification-premium-select .theory-manual-qualification-options button:first-child { border-top: 0; }
.theory-manual-qualification-premium-select .theory-manual-qualification-options button:hover,
.theory-manual-qualification-premium-select .theory-manual-qualification-options button:focus-visible { background: #f7f9fc; color: var(--navy); transform: none; box-shadow: inset 3px 0 #c8a96b; outline: none; }
.theory-manual-qualification-premium-select .theory-manual-qualification-options button strong { flex: 0 0 38px; color: #9a7026; font-weight: 900; }

/* Shared TFE Select: the existing native select remains the authoritative form/event control. */
.tfe-select {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  color: var(--navy);
}

.tfe-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.tfe-select-details {
  position: relative;
  z-index: 1;
}

.tfe-select-details[open] { z-index: 1200; }

.tfe-select-details > summary {
  min-height: 46px;
  width: 100%;
  overflow: hidden;
  border-color: rgba(154, 112, 38, 0.58);
  color: #0b1f4d;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tfe-select-details > summary:hover {
  border-color: #9a7026;
  background: #fffdf8;
}

.tfe-select-details[open] > summary {
  background: #fffdf8;
  box-shadow: 0 0 0 1px rgba(154, 112, 38, 0.12);
}

.tfe-select-options {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1201;
  width: 100%;
  min-width: min(100%, 14rem);
  max-height: min(280px, 42vh);
  overscroll-behavior: contain;
}

.tfe-select-option {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 0;
  background: #fff;
  color: #0b1f4d;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
}

.tfe-select-option:first-child { border-top: 0; }
.tfe-select-option:hover,
.tfe-select-option:focus-visible {
  background: #f7f9fc;
  color: #0b1f4d;
  outline: none;
  box-shadow: inset 3px 0 #c8a96b;
  transform: none;
}
.tfe-select-option[aria-selected="true"] {
  background: #fff9ea;
  color: #071b46;
  box-shadow: inset 3px 0 #9a7026;
}
.tfe-select-option:disabled { color: #8792a3; cursor: not-allowed; }
.tfe-select-option-check { flex: 0 0 auto; color: #9a7026; font-weight: 900; }
.tfe-select.is-disabled { opacity: 0.68; }
.tfe-select.is-disabled summary { cursor: not-allowed; }

@media (max-width: 720px) {
  .tfe-select-options { min-width: 100%; max-height: min(240px, 40vh); }
  .tfe-select-option { font-size: 0.9rem; }
}

.theory-manual-qualification-message {
  margin: 0;
  color: #526175;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.theory-manual-qualification-message.error { color: #8b2822; }
.theory-manual-qualification-message.success { color: #17633f; }

.theory-manual-qualification-published { display: grid; gap: 8px; margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(23,99,63,0.28); border-radius: 10px; background: #f0faf5; color: #17633f; }
.theory-manual-qualification-published > strong { font-size: 0.82rem; font-weight: 900; }
.theory-manual-qualification-published > div { display: grid; gap: 6px; }
.theory-manual-qualification-published span { padding: 7px 9px; border-radius: 7px; background: rgba(255,255,255,0.72); color: #24483a; font-size: 0.78rem; font-weight: 750; }

.theory-manual-qualification-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
}

.theory-manual-qualification-actions .primary-action {
  width: fit-content;
  flex: 0 0 auto;
}

.practical-alignment-governance-actions {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(11, 31, 77, 0.1);
}

.practical-alignment-next-step {
  margin: 0;
  color: #405269;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .theory-manual-qualification-workflow { padding: 14px; }
  .theory-manual-qualification-actions { display: grid; justify-items: stretch; }
  .theory-manual-qualification-actions .primary-action { width: 100%; }
}

/* Universal authenticated portal header — Admin Dashboard is the canonical source. */
.topbar-centre { display:flex;flex:1 1 auto;align-items:center;justify-content:center;min-width:0;padding-inline:clamp(12px,2.2vw,34px); }
.topbar-actions { position:relative;display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px; }
.authenticated-topbar-logout { display:inline-flex;flex:0 0 108px;width:108px;min-width:108px;min-height:44px;box-sizing:border-box;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border:1px solid #c9d3e3;border-radius:999px;background:#fff;color:#071b4d;font:inherit;font-weight:850;white-space:nowrap;cursor:pointer;transition:background 160ms ease,border-color 160ms ease,box-shadow 160ms ease,color 160ms ease; }
.authenticated-topbar-logout svg { width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round; }
.authenticated-topbar-logout:hover { border-color:#d89a13;background:#fff8e6;color:#071b4d; }
.authenticated-topbar-logout:focus-visible { outline:3px solid rgba(216,154,19,.38);outline-offset:3px; }
.authenticated-topbar-back:disabled { opacity:.48;cursor:default;pointer-events:none; }
.authenticated-topbar-back:disabled:hover { border-color:#c9d3e3;background:#fff;color:#071b4d;box-shadow:none; }
.tutor-home-menu { position:absolute;top:calc(100% + 8px);left:0;z-index:21;min-width:220px;max-height:min(74vh,560px);overflow-y:auto;padding:6px;border:1px solid #c9d3e3;border-radius:12px;background:#fff;box-shadow:0 16px 34px rgba(7,27,51,.16); }
.tutor-home-menu[hidden] { display:none; }
.tutor-home-menu button { display:block;width:100%;min-height:42px;padding:9px 12px;border:0;border-radius:8px;background:#fff;color:#071b4d;font:inherit;font-weight:850;text-align:left;white-space:nowrap;cursor:pointer; }
.tutor-home-menu button:hover { background:#fff8e6;color:#071b4d; }
.tutor-home-menu button:focus-visible { outline:3px solid rgba(216,154,19,.38);outline-offset:1px; }
.topbar {
  --authenticated-topbar-inline:max(14px,calc((100vw - 1500px) / 2 + 14px));
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  width:100vw;
  max-width:100vw;
  box-sizing:border-box;
  min-height:86px;
  margin:calc(var(--shell-pad) * -1) calc(50% - 50vw) 16px;
  padding-block:12px;
  padding-inline:var(--authenticated-topbar-inline);
  border-bottom-color:var(--line);
  background:var(--paper);
  box-shadow:0 8px 24px rgba(7,27,51,.08);
}
.topbar .brand {
  flex:0 1 auto;
  width:auto;
  max-width:none;
  min-height:58px;
  justify-content:flex-start;
}
.topbar .brand-logo {
  width:auto;
  max-width:min(100%,320px);
  height:58px;
  object-fit:contain;
}
.tutor-header-learner-search.tutor-universal-search {
  position:relative;
  width:min(100%,640px);
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  transition:none;
}
.tutor-header-learner-search.tutor-universal-search::before { display:none; }
.tutor-header-learner-search.tutor-universal-search:focus-within { background:none;box-shadow:none; }
.tutor-header-learner-search .tutor-universal-search-combobox { position:relative;margin:0; }
.tutor-header-learner-search .tutor-universal-search-combobox > label.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}
.tutor-header-learner-search .tutor-universal-search-field { min-height:44px;padding:2px;border-width:1px;border-radius:999px; }
.tutor-header-learner-search .tutor-universal-search-field input { min-height:38px;padding:6px 44px 6px 48px;font-size:.9rem; }
.tutor-header-learner-search .tutor-universal-search-icon { left:9px;width:26px;height:26px;border-radius:999px; }
.tutor-header-learner-search .tutor-universal-search-clear { min-height:36px;margin-right:2px;padding:5px 11px;border-radius:999px;font-size:.8rem; }
.tutor-header-learner-search .tutor-universal-search-results {
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  left:0;
  z-index:20;
  max-height:min(32rem,calc(100vh - 128px));
  margin:0;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.tutor-header-learner-search .tutor-universal-search-result { padding:.7rem; }
.tutor-header-learner-search .tutor-universal-search-message { font-size:.88rem; }
@media (min-width:901px) {
  .topbar.has-tutor-search {
    min-height:94px;
    padding-block:14px;
  }
  .topbar.has-tutor-search .brand { min-height:64px; }
  .topbar.has-tutor-search .brand-logo { height:64px; }
  .topbar.has-tutor-search .topbar-centre {
    padding-left:clamp(28px,3.2vw,52px);
    padding-right:clamp(10px,1vw,18px);
  }
}
.topbar.has-tutor-search .tutor-header-learner-search .tutor-universal-search-field {
  border-color:rgba(36,112,177,.3);
  box-shadow:0 0 0 2px rgba(36,112,177,.11),0 7px 16px rgba(17,72,125,.09),inset 0 1px 0 rgba(255,255,255,.98);
}
.topbar.has-tutor-search .tutor-header-learner-search .tutor-universal-search-field:focus-within {
  border-color:transparent;
  box-shadow:0 0 0 4px rgba(18,105,178,.22),0 15px 31px rgba(8,48,94,.17),0 3px 8px rgba(8,48,94,.075),inset 0 1px 0 rgba(255,255,255,.98);
}
.topbar.has-tutor-search .authenticated-topbar-logout {
  border-color:rgba(36,112,177,.32);
  box-shadow:0 0 0 2px rgba(36,112,177,.1),0 6px 14px rgba(17,72,125,.085);
}
.topbar.has-tutor-search .authenticated-topbar-back:disabled:hover {
  border-color:rgba(36,112,177,.32);
  box-shadow:0 0 0 2px rgba(36,112,177,.1),0 6px 14px rgba(17,72,125,.085);
}
@media (max-width:900px) {
  .topbar {
    min-height:78px;
    margin-bottom:14px;
    padding-block:10px;
  }
  .topbar .brand { min-height:52px; }
  .topbar .brand-logo { max-width:230px;height:52px; }
  .topbar.has-tutor-search { min-height:84px;padding-block:11px; }
  .topbar.has-tutor-search .brand { min-height:57px; }
  .topbar.has-tutor-search .brand-logo { height:57px; }
  .topbar-centre { padding-inline:10px; }
}
@media (max-width:720px) {
  .topbar {
    --authenticated-topbar-inline:max(var(--phase-a-shell-pad,8px),env(safe-area-inset-right),env(safe-area-inset-left));
    min-height:66px;
    margin:
      calc(max(var(--phase-a-shell-pad,8px),env(safe-area-inset-top)) * -1)
      calc(50% - 50vw)
      12px;
    padding-block:7px;
    padding-inline:var(--authenticated-topbar-inline);
  }
  .topbar .brand {
    min-height:46px;
    max-width:calc(100% - 184px);
  }
  .topbar .brand-logo {
    max-width:100%;
    height:46px;
  }
  .topbar { gap:10px; }
  .authenticated-topbar-logout { flex-basis:82px;width:82px;min-width:82px;padding-inline:6px; }
  .topbar.has-tutor-search { grid-template-columns:minmax(0,1fr) auto; }
  .topbar.has-tutor-search { min-height:66px;padding-block:7px; }
  .topbar.has-tutor-search .brand { grid-column:1;grid-row:1;max-width:100%; }
  .topbar.has-tutor-search .brand { min-height:46px; }
  .topbar.has-tutor-search .brand-logo { height:46px; }
  .topbar.has-tutor-search .topbar-actions { grid-column:2;grid-row:1; }
  .topbar.has-tutor-search .topbar-centre { grid-column:1 / -1;grid-row:2;width:100%;padding-inline:0; }
  .tutor-header-learner-search.tutor-universal-search { width:100%; }
  .tutor-header-learner-search .tutor-universal-search-results { max-height:min(24rem,calc(100vh - 154px)); }
  .tutor-header-learner-search .tutor-universal-search-result { grid-template-columns:auto minmax(0,1fr); }
  .tutor-header-learner-search .tutor-universal-search-result-action { grid-column:2; }
}
@media (max-width:520px) {
  .topbar.has-tutor-search { grid-template-columns:minmax(0,1fr); }
  .topbar.has-tutor-search .brand { grid-column:1;grid-row:1;max-width:min(100%,230px); }
  .topbar.has-tutor-search .topbar-actions { grid-column:1;grid-row:2;width:100%; }
  .topbar.has-tutor-search .topbar-actions .authenticated-topbar-logout { flex:1 1 0;width:auto;min-width:0; }
  .topbar.has-tutor-search .topbar-centre { grid-column:1;grid-row:3; }
}
/* Curriculum Management: governed cohort creation (legacy pathway cohorts remain visually unchanged). */
.admin-pathway-cohort-selector-actions {
  display: flex;
  align-items: end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.admin-pathway-cohort-selector-actions > label {
  flex: 1 1 22rem;
}

.curriculum-create-cohort-button {
  min-height: 2.8rem;
  white-space: nowrap;
}

.curriculum-cohort-load-error,
.curriculum-cohort-form-message.error {
  color: #9f1d2f;
}

.curriculum-cohort-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(8, 21, 41, 0.7);
  backdrop-filter: blur(8px);
}

.curriculum-cohort-dialog {
  width: min(46rem, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  border: 1px solid rgba(20, 47, 84, 0.14);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(8, 21, 41, 0.28);
}

.curriculum-cohort-dialog > header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem 1rem;
  border-bottom: 1px solid #e6ebf1;
}

.curriculum-cohort-dialog > header :is(h4, p) { margin: 0; }
.curriculum-cohort-dialog > header h4 { margin-block: 0.2rem; font-size: 1.45rem; color: #102c4f; }

.curriculum-cohort-dialog-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #d5dce6;
  border-radius: 50%;
  background: #fff;
  color: #183653;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.curriculum-cohort-dialog-close:focus-visible,
.curriculum-cohort-dialog :is(input, select, button):focus-visible {
  outline: 3px solid #f4b942;
  outline-offset: 2px;
}

.curriculum-cohort-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.35rem 1.5rem 1.5rem;
}

.curriculum-cohort-form > label,
.curriculum-cohort-weekdays {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  font-weight: 700;
  color: #173654;
}

.curriculum-cohort-form :is(input, select) {
  min-height: 2.75rem;
  width: 100%;
  border: 1px solid #c7d1dd;
  border-radius: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  color: #142f4b;
  font: inherit;
}

.curriculum-cohort-form small,
.curriculum-cohort-weekdays p {
  margin: 0;
  color: #5d6f82;
  font-size: 0.78rem;
  font-weight: 500;
}

.curriculum-cohort-form-wide,
.curriculum-cohort-form-message,
.curriculum-cohort-form-actions { grid-column: 1 / -1; }

.curriculum-cohort-weekdays {
  border: 1px solid #d9e0e8;
  border-radius: 0.8rem;
  padding: 0.85rem 1rem 1rem;
}

.curriculum-cohort-weekdays > div { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.curriculum-cohort-weekdays > div label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.65rem;
  border: 1px solid #d7dee7;
  border-radius: 0.65rem;
  background: #f7f9fb;
  font-size: 0.85rem;
}
.curriculum-cohort-weekdays input { width: 1rem; min-height: 1rem; }
.curriculum-cohort-form-message { min-height: 1.25rem; margin: 0; font-weight: 700; }
.curriculum-cohort-form-actions { display: flex; justify-content: flex-end; gap: 0.7rem; }
.admin-pathway-page .admin-pathway-cohort-summary .admin-pathway-cohort-summary-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: .28rem;
  min-width: 0;
  min-height: 5.6rem;
  padding: .8rem;
  border: 0;
  border-right: 1px solid rgba(20, 55, 94, 0.18);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.admin-pathway-cohort-configuration { overflow: hidden; border: 1px solid rgba(20, 55, 94, .2); border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgba(12, 43, 77, .055); }
.admin-pathway-cohort-configuration > header { display: flex; align-items: baseline; gap: .7rem; padding: .55rem .8rem; border-bottom: 2px solid rgba(183, 151, 53, .48); background: linear-gradient(90deg, #fff, #f9fbfd); }
.admin-pathway-cohort-configuration > header :is(h4, p) { margin: 0; }
.admin-pathway-cohort-configuration > header h4 { color: #102c4f; font-size: .84rem; font-weight: 850; letter-spacing: .025em; }
.admin-pathway-cohort-configuration > header p { color: #647489; font-size: .72rem; line-height: 1.35; }
.admin-pathway-cohort-configuration .admin-pathway-cohort-summary { border: 0; border-radius: 0; }
.admin-pathway-page .admin-pathway-cohort-summary .admin-pathway-cohort-summary-card.is-editable { cursor: pointer; transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
.admin-pathway-page .admin-pathway-cohort-summary .admin-pathway-cohort-summary-card.is-editable:is(:hover, :focus-visible) { z-index: 1; background: #f7faff; box-shadow: inset 0 0 0 2px rgba(20, 65, 111, .27), 0 5px 14px rgba(12, 43, 77, .08); outline: none; }
.admin-pathway-page .admin-pathway-cohort-summary .admin-pathway-cohort-summary-card.is-calculated { background: #f5f7fa; cursor: default; }
@media (prefers-reduced-motion: reduce) { .admin-pathway-page .admin-pathway-cohort-summary .admin-pathway-cohort-summary-card.is-editable { transition: none; } }
.curriculum-cohort-edit-dialog { width: min(560px, calc(100vw - 2rem)); }
.curriculum-cohort-micro-form { grid-template-columns: 1fr; }
.curriculum-cohort-micro-form > * { grid-column: 1; }
.curriculum-cohort-review { padding: 1.25rem; display: grid; gap: 1.15rem; }
.curriculum-cohort-review dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.curriculum-cohort-review dl div, .curriculum-cohort-impact-grid div { border: 1px solid #dbe2ea; border-radius: 12px; padding: .8rem; background: #f9fbfd; }
.curriculum-cohort-review :is(dt, span) { color: #5c6c7f; font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.curriculum-cohort-review dd { margin: .25rem 0 0; color: #102c4f; font-weight: 800; }
.curriculum-cohort-review h5 { margin: 0 0 .7rem; color: #102c4f; font-size: 1.05rem; }
.curriculum-cohort-impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.curriculum-cohort-impact-grid :is(strong, em) { display: block; margin-top: .25rem; color: #102c4f; font-style: normal; }
.curriculum-cohort-impact-grid em { color: #87670f; }
.curriculum-cohort-schedule-note { margin: .7rem 0 0; color: #5c6c7f; font-size: .82rem; line-height: 1.5; }
.curriculum-cohort-no-conflicts { margin: .75rem 0 0; padding: .7rem .8rem; border-left: 3px solid #b79735; background: #fffaf0; color: #42556b; }
.curriculum-cohort-conflicts { margin-top: .75rem; padding: .75rem; border: 1px solid #c94c4c; border-radius: 10px; background: #fff4f4; color: #7a2424; }

.curriculum-phase-dialog { width: min(760px, calc(100vw - 2rem)); border-top: 5px solid #173a62; }
.curriculum-phase-dialog.phase-green { border-top-color: #3e8058; }
.curriculum-phase-dialog.phase-orange { border-top-color: #c8792d; }
.curriculum-phase-dialog.phase-purple { border-top-color: #73538b; }
.curriculum-phase-dialog.phase-teal { border-top-color: #25827e; }
.curriculum-phase-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.curriculum-phase-live-sessions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.curriculum-phase-live-sessions > div { display: grid; gap: .2rem; padding: .7rem .8rem; border: 1px solid #d8e0e9; border-radius: 10px; background: #f7f9fc; }
.curriculum-phase-live-sessions span { color: #637387; font-size: .76rem; font-weight: 800; }
.curriculum-phase-live-sessions strong { color: #102c4f; font-size: 1.3rem; }
.curriculum-phase-live-sessions > div:last-child { border-color: #dfd4ad; background: #fffaf0; }
.curriculum-phase-live-sessions > div:last-child strong { color: #87670f; }
.curriculum-phase-gap-confirm { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; padding: .75rem; border: 1px solid #dfd4ad; border-radius: 10px; background: #fffaf0; font-size: .84rem; }
.curriculum-phase-gap-confirm input { width: 1rem; min-height: 1rem; }
.curriculum-phase-review { display: grid; gap: 1rem; padding: 1.2rem 1.35rem 1.35rem; }
.curriculum-phase-review:focus { outline: none; }
.curriculum-phase-impact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.curriculum-phase-impact > div { display: grid; gap: .25rem; padding: .8rem; border: 1px solid #d8e0e9; border-radius: 10px; background: #f7f9fc; }
.curriculum-phase-impact span { color: #637387; font-size: .76rem; font-weight: 800; }
.curriculum-phase-impact strong { color: #102c4f; font-size: 1.35rem; }
.curriculum-phase-review-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.curriculum-phase-review-heading :is(h5, p) { margin: 0; }
.curriculum-phase-review-heading h5 { color: #102c4f; font-size: 1rem; }
.curriculum-phase-review-heading p { margin-top: .25rem; color: #5e7083; font-size: .8rem; }
.curriculum-phase-coverage-warning { margin-bottom: .8rem; padding: .75rem .85rem; border-left: 4px solid #b79735; background: #fff9ea; color: #3f5268; }
.curriculum-phase-coverage-warning :is(strong, p) { margin: 0; }
.curriculum-phase-coverage-warning p { margin-top: .25rem; font-size: .82rem; line-height: 1.45; }
.curriculum-phase-identity-errors { margin-bottom: 1rem; padding: .85rem 1rem; border-left: 4px solid #b42318; background: #fff2f0; color: #51211d; }
.curriculum-phase-identity-errors > :is(strong, p) { margin: 0; }
.curriculum-phase-identity-errors > p { margin-top: .3rem; font-size: .84rem; line-height: 1.45; }
.curriculum-phase-identity-errors ul { display: grid; gap: .55rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.curriculum-phase-identity-errors li { display: grid; gap: .15rem; padding-top: .55rem; border-top: 1px solid #e7b9b3; }
.curriculum-phase-identity-errors li span { color: #6e3731; font-size: .8rem; }
.curriculum-phase-identity-errors li small { overflow-wrap: anywhere; color: #7d4a44; }
.curriculum-phase-affected-list { display: grid; gap: .65rem; max-height: min(42vh, 420px); overflow: auto; padding-right: .25rem; }
.curriculum-phase-affected-lesson { border: 1px solid #d9e1ea; border-radius: 11px; background: #fff; }
.curriculum-phase-affected-lesson > header { display: flex; align-items: start; justify-content: space-between; gap: .75rem; padding: .7rem .8rem; background: #f7f9fc; }
.curriculum-phase-affected-lesson > header div { display: grid; gap: .15rem; }
.curriculum-phase-affected-lesson > header span, .curriculum-phase-affected-lesson > header small { color: #657589; font-size: .72rem; }
.curriculum-phase-affected-lesson > header strong { color: #102c4f; }
.curriculum-phase-affected-lesson > header em { color: #80640f; font-size: .7rem; font-style: normal; font-weight: 800; }
.curriculum-phase-affected-lesson > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding: .7rem .8rem .8rem; }
.curriculum-phase-affected-lesson label { display: grid; gap: .3rem; color: #304b68; font-size: .76rem; font-weight: 800; }
.curriculum-phase-affected-lesson select { width: 100%; min-height: 2.45rem; border: 1px solid #c9d3df; border-radius: 8px; padding: .45rem .55rem; background: #fff; color: #173654; }
.curriculum-unassigned-summary-card strong { color: #9a7418; font-size: 1.35rem; }
.curriculum-unassigned-dialog { width: min(780px, calc(100vw - 2rem)); max-height: min(86vh, 760px); }
.curriculum-unassigned-body { display: grid; gap: .8rem; min-height: 0; padding: 1rem 1.15rem 1.2rem; background: #f3f6fa; }
.curriculum-unassigned-count { display: flex; align-items: baseline; gap: .35rem; margin: 0; color: #5f7185; font-size: .8rem; }
.curriculum-unassigned-count strong { color: #9a7418; font-size: 1.35rem; }
.curriculum-unassigned-list { display: grid; gap: .55rem; max-height: min(57vh, 520px); overflow: auto; padding-right: .2rem; }
.curriculum-unassigned-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 0; padding: .72rem .8rem; border: 1px solid #dce4ed; border-radius: 11px; background: #fff; }
.curriculum-unassigned-row > div { display: grid; gap: .12rem; min-width: 0; }
.curriculum-unassigned-row strong { overflow-wrap: anywhere; color: #173654; font-size: .83rem; }
.curriculum-unassigned-row small { color: #69798b; font-size: .7rem; }
.curriculum-unassigned-row em { margin-top: .15rem; color: #87670f; font-size: .68rem; font-style: normal; font-weight: 800; }
.curriculum-unassigned-type { width: max-content; color: #45617d; font-size: .65rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.curriculum-unassigned-type.is-practical { color: #3f6b5b; }
.curriculum-unassigned-assign { flex: 0 0 auto; min-height: 2.1rem; padding: .35rem .62rem; border-color: #c8d3df; background: #fff; color: #284966; font-size: .71rem; box-shadow: none; }
.curriculum-unassigned-zero { padding: 1.2rem; border: 1px solid #dce4ed; border-radius: 11px; background: #fff; text-align: center; }
.curriculum-unassigned-zero :is(strong, p) { margin: 0; }
.curriculum-unassigned-zero strong { color: #173654; }
.curriculum-unassigned-zero p { margin-top: .25rem; color: #69798b; font-size: .8rem; }
.admin-pathway-legend span { cursor: default; user-select: none; }

@media (max-width: 720px) {
  .curriculum-cohort-form { grid-template-columns: 1fr; }
  .curriculum-cohort-form > *, .curriculum-cohort-form-wide { grid-column: 1; }
  .curriculum-cohort-review dl, .curriculum-cohort-impact-grid { grid-template-columns: 1fr; }
  .curriculum-phase-live-sessions, .curriculum-phase-impact, .curriculum-phase-affected-lesson > div { grid-template-columns: 1fr; }
  .curriculum-phase-review-heading { align-items: stretch; flex-direction: column; }
  .curriculum-unassigned-row { align-items: stretch; flex-direction: column; }
  .curriculum-unassigned-assign { width: 100%; }
  .admin-pathway-cohort-configuration > header { display: grid; gap: .15rem; }
}

/* Admin Curriculum Coverage: lazy, hierarchical qualification quality-control view. */
.curriculum-coverage-page {
  display: grid;
  gap: 1.35rem;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #173253;
}

.curriculum-coverage-stage {
  min-width: 0;
  border: 1px solid rgba(20, 54, 91, 0.13);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 42, 80, 0.065);
}

.curriculum-coverage-overview-block {
  display: grid;
  gap: 1rem;
  padding: clamp(0.85rem, 1.6vw, 1.4rem);
  background: #eef3f8;
}

.curriculum-coverage-header,
.curriculum-coverage-overall,
.curriculum-coverage-attention,
.curriculum-coverage-unit,
.curriculum-coverage-loading,
.curriculum-coverage-error {
  border: 1px solid rgba(20, 54, 91, 0.13);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 5px 16px rgba(13, 42, 80, 0.045);
}

.curriculum-coverage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
}

.curriculum-coverage-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
}

.curriculum-coverage-brand img {
  display: block;
  flex: 0 0 auto;
  width: 82px;
  height: auto;
  max-height: 56px;
}

.curriculum-coverage-brand h3,
.curriculum-coverage-header p,
.curriculum-coverage-overall :is(h4, p),
.curriculum-coverage-attention :is(h4, p) { margin: 0; }
.curriculum-coverage-brand h3 { color: #0a2555; font-size: clamp(1.55rem, 2.2vw, 2rem); }
.curriculum-coverage-brand p:last-child { margin-top: 0.25rem; color: #65758b; }

.curriculum-coverage-open-button,
.admin-pathway-page .admin-pathway-header .curriculum-coverage-open-button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(201, 146, 32, 0.86);
  border-radius: 8px;
  background: #0a2555;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 760;
  white-space: nowrap;
}

.curriculum-coverage-overall {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.65fr);
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.25rem;
}
.curriculum-coverage-overall h4 { margin-top: 0.2rem; color: #0a2555; font-size: 1.2rem; }
.curriculum-coverage-overall > div:first-child > strong { display: block; margin-top: 0.3rem; color: #9a7026; font-size: 1.35rem; }
.curriculum-coverage-progress,
.curriculum-coverage-mini-progress { overflow: hidden; border-radius: 999px; background: #e8edf3; }
.curriculum-coverage-progress { height: 0.7rem; }
.curriculum-coverage-progress > span,
.curriculum-coverage-mini-progress > i { display: block; width: var(--coverage); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0d386e, #c99220); }

.curriculum-coverage-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.curriculum-coverage-metrics article { min-width: 0; padding: 0.9rem 1rem; border: 1px solid rgba(20, 54, 91, 0.12); border-radius: 0.85rem; background: #fff; }
.curriculum-coverage-metrics span { display: block; color: #65758b; font-size: 0.74rem; font-weight: 750; }
.curriculum-coverage-metrics strong { display: block; margin-top: 0.2rem; color: #0a2555; font-size: 1.25rem; }

.curriculum-coverage-attention { display: grid; grid-template-columns: minmax(13rem, 0.45fr) minmax(0, 1fr); gap: 1rem; padding: 1rem 1.15rem; border-left: 4px solid #c99220; }
.curriculum-coverage-attention h4 { color: #0a2555; }
.curriculum-coverage-attention > div > p:last-child { margin-top: 0.35rem; color: #65758b; }
.curriculum-coverage-attention ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.curriculum-coverage-attention li { padding: 0.65rem 0.75rem; border-radius: 0.65rem; background: #f5f8fc; }
.curriculum-coverage-attention li :is(strong, span) { display: block; }
.curriculum-coverage-attention li span { margin-top: 0.15rem; color: #65758b; font-size: 0.76rem; }

.curriculum-coverage-units { display: grid; gap: 0.75rem; min-width: 0; }
.curriculum-coverage-unit { overflow: clip; }
.curriculum-coverage-unit > summary,
.curriculum-coverage-outcome > summary { cursor: pointer; list-style: none; }
.curriculum-coverage-unit > summary::-webkit-details-marker,
.curriculum-coverage-outcome > summary::-webkit-details-marker { display: none; }
.curriculum-coverage-unit > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(7rem, auto);
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
}
.curriculum-coverage-unit > summary:hover { background: #fbfcfe; }
.curriculum-coverage-unit > summary:focus-visible,
.curriculum-coverage-outcome > summary:focus-visible { outline: 3px solid rgba(32, 103, 194, 0.35); outline-offset: -3px; }
.curriculum-coverage-unit > summary > span:first-child { display: grid; place-items: center; width: 4.2rem; min-height: 3.5rem; border-radius: 0.7rem; background: #0a2555; color: #fff; }
.curriculum-coverage-unit > summary > span:first-child small { font-size: 0.65rem; letter-spacing: 0.06em; }
.curriculum-coverage-unit > summary > span:first-child strong { font-size: 1.25rem; }
.curriculum-coverage-unit-title :is(strong, small),
.curriculum-coverage-unit-score :is(strong, span) { display: block; }
.curriculum-coverage-unit-title strong { color: #0a2555; }
.curriculum-coverage-unit-title small { margin-top: 0.3rem; color: #65758b; }
.curriculum-coverage-unit-score { text-align: right; }
.curriculum-coverage-unit-score > strong { color: #0a2555; }
.curriculum-coverage-mini-progress { width: 7rem; height: 0.42rem; margin-top: 0.35rem; }
.curriculum-coverage-outcomes { display: grid; gap: 0.6rem; padding: 0 1rem 1rem; border-top: 1px solid rgba(20, 54, 91, 0.1); background: #f7f9fc; }
.curriculum-coverage-outcome { margin-top: 0.75rem; border: 1px solid rgba(20, 54, 91, 0.12); border-radius: 0.75rem; background: #fff; }
.curriculum-coverage-outcome > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0.9rem; }
.curriculum-coverage-outcome > summary > span:first-child :is(strong, small) { display: block; }
.curriculum-coverage-outcome > summary > span:first-child strong { color: #0a2555; }
.curriculum-coverage-outcome > summary > span:first-child small { margin-top: 0.15rem; color: #65758b; }
.curriculum-coverage-outcome > summary > span:last-child { flex: 0 0 auto; color: #52677f; font-size: 0.78rem; font-weight: 750; }
.curriculum-coverage-criteria { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: stretch; gap: 0.7rem; padding: 0.85rem 1.1rem 1.1rem; border-top: 0; }
.curriculum-coverage-ac-workspace .curriculum-coverage-criteria { padding: 0; }
.curriculum-coverage-criterion { display: flex; min-width: 0; min-height: 190px; padding: 0.9rem; flex-direction: column; border: 1px solid rgba(20, 54, 91, 0.14); border-radius: 0.8rem; background: #fff; box-shadow: 0 4px 13px rgba(13, 42, 80, 0.045); }
.curriculum-coverage-criterion.is-covered { border-color: rgba(39, 129, 83, 0.34); background: #edf8f1; box-shadow: 0 5px 15px rgba(39, 129, 83, 0.07); }
.curriculum-coverage-criterion.is-progress { border-color: rgba(201, 146, 32, 0.28); }
.curriculum-coverage-criterion.is-missing { border-color: rgba(20, 54, 91, 0.14); }
.curriculum-coverage-criterion > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.curriculum-coverage-criterion > header > div > strong { color: #0a2555; font-size: 1rem; }
.curriculum-coverage-criterion > header p { margin: 0.3rem 0 0; color: #314a67; font-size: 0.78rem; font-weight: 700; line-height: 1.35; }
.curriculum-coverage-criterion > header > span { flex: 0 0 auto; padding: 0.26rem 0.48rem; border-radius: 999px; background: #d8efdf; color: #1c6945; font-size: 0.66rem; font-weight: 820; }
.curriculum-coverage-criterion.is-progress > header > span { background: #fff3d8; color: #76530f; }
.curriculum-coverage-criterion > div { margin-top: auto; padding-top: 0.8rem; }
.curriculum-coverage-criterion > div > small { color: #65758b; font-weight: 750; }
.curriculum-coverage-criterion ul { display: grid; gap: 0.45rem; margin: 0.4rem 0 0; padding: 0; list-style: none; }
.curriculum-coverage-criterion li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.45rem 0.55rem; padding: 0.5rem 0; border-top: 1px solid rgba(20, 54, 91, 0.09); }
.curriculum-coverage-criterion li:first-child { border-top: 0; }
.curriculum-coverage-criterion li > strong { min-width: 0; overflow-wrap: anywhere; color: #314a67; font-size: 0.72rem; }
.curriculum-coverage-source-link { grid-column: 2; justify-self: start; padding: 0; border: 0; background: transparent; color: #0a427a; font: inherit; font-size: 0.7rem; font-weight: 800; text-decoration: underline; text-underline-offset: 0.16rem; cursor: pointer; }
.curriculum-coverage-source-link:hover { color: #071f49; }
.curriculum-coverage-source-link:focus-visible { outline: 3px solid rgba(32, 103, 194, 0.4); outline-offset: 3px; border-radius: 0.2rem; }
.curriculum-coverage-source-type { padding: 0.25rem 0.45rem; border-radius: 999px; background: #dce9f7; color: #0a427a; font-size: 0.66rem; font-weight: 800; }
.curriculum-coverage-source-type.is-practical { background: #e1f1e8; color: #1c6945; }
.curriculum-coverage-loading,
.curriculum-coverage-error { padding: 2rem; text-align: center; }
.curriculum-coverage-loading p,
.curriculum-coverage-error p { color: #65758b; }

@media (max-width: 1100px) {
  .curriculum-coverage-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .curriculum-coverage-attention { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .curriculum-coverage-header { align-items: flex-start; flex-wrap: wrap; }
  .curriculum-coverage-brand img { width: 68px; height: auto; max-height: 46px; }
  .curriculum-coverage-overall { grid-template-columns: 1fr; }
  .curriculum-coverage-attention ul { grid-template-columns: 1fr; }
  .curriculum-coverage-unit > summary { grid-template-columns: auto minmax(0, 1fr); }
  .curriculum-coverage-unit-score { grid-column: 2; text-align: left; }
  .curriculum-coverage-criteria { grid-template-columns: 1fr; }
}
.induction-discovery-page{max-width:920px;margin:0 auto}.induction-discovery-shell,.induction-discovery-results{margin-top:18px;padding:clamp(22px,4vw,44px);border:1px solid #dbe3ec;border-radius:24px;background:#fff;box-shadow:0 16px 45px rgba(17,34,51,.08)}.induction-discovery-shell header h3,.induction-discovery-results h3{font-size:clamp(1.8rem,4vw,2.7rem);margin:.25rem 0}.induction-progress{margin:30px 0 24px;font-weight:700;color:#34495e}.induction-progress>div{height:8px;margin-top:9px;background:#e7edf3;border-radius:99px;overflow:hidden}.induction-progress i{display:block;height:100%;background:#d4202f;border-radius:inherit}.induction-question{border:0;padding:0;margin:0}.induction-question legend{font-size:clamp(1.25rem,3vw,1.75rem);font-weight:800;margin-bottom:22px}.induction-options{display:grid;gap:12px}.induction-options label{cursor:pointer}.induction-options input{position:absolute;opacity:0}.induction-options span{display:block;padding:16px 18px;border:2px solid #d9e1e8;border-radius:14px;font-weight:700;transition:.15s}.induction-options input:focus-visible+span{outline:3px solid #f4bdc2;outline-offset:2px}.induction-options input:checked+span{border-color:#d4202f;background:#fff4f5;color:#981726}.induction-options.is-scale{grid-template-columns:repeat(5,1fr)}.induction-options.is-scale span{text-align:center}.induction-scale-labels{display:flex;justify-content:space-between;color:#607080;font-size:.88rem;margin-bottom:8px}.induction-discovery-shell footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:30px}.induction-discovery-shell footer>span{font-size:.84rem;color:#667687}.induction-summary-list{display:grid;gap:9px;margin:22px 0}.induction-summary-list p{margin:0;padding:14px 16px;background:#f6f8fa;border-left:4px solid #d4202f;border-radius:8px}.induction-disclaimer{color:#596979}.induction-career-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0 24px}.induction-career-card{display:grid;gap:8px;padding:18px;border:2px solid #dce3e9;border-radius:16px;cursor:pointer}.induction-career-card.is-selected{border-color:#d4202f;background:#fff7f7}.induction-career-card>span{font-size:.84rem;color:#9a1c28;font-weight:700}.induction-career-card p{margin:0;color:#536371}.induction-admin-questions{display:grid;gap:14px}.induction-admin-questions article{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border:1px solid #dbe3ea;border-radius:14px}.induction-admin-questions article>div:first-child{display:flex;align-items:center;gap:10px}.induction-admin-questions article>div:first-child span{font-weight:800}.induction-admin-questions input[type=text],.induction-admin-questions article>div:first-child input{width:100%}.induction-admin-questions article>label{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px}.induction-admin-controls{display:flex;gap:5px}@media(max-width:720px){.induction-career-grid{grid-template-columns:1fr}.induction-discovery-shell footer{flex-wrap:wrap}.induction-discovery-shell footer>span{order:3;width:100%;text-align:center}.induction-options.is-scale span{padding:13px 5px}}
.induction-career-card{overflow:hidden;padding:0;background:#fff}.induction-career-card>img{width:100%;height:190px;object-fit:cover}.induction-career-card-body{display:grid;gap:10px;padding:18px}.induction-career-card-body>strong{font-size:1.22rem;color:#102d4f}.induction-career-card-body dl{display:grid;gap:9px;margin:0}.induction-career-card-body dl div{display:grid;gap:2px;padding-top:8px;border-top:1px solid #e2e8ee}.induction-career-card-body dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:#6b7887}.induction-career-card-body dd{margin:0;color:#213d5b}.induction-career-card-body>b{display:block;margin-top:5px;padding:11px;border-radius:9px;background:#102d4f;color:#fff;text-align:center}.induction-fit{color:#9a7418}.induction-route,.induction-day-one{margin-top:24px;padding:24px;border-radius:18px;background:#f2f6fa}.induction-route ol{display:grid;gap:0;margin:16px 0 0;padding:0;list-style:none}.induction-route li{position:relative;padding:12px 12px 12px 38px;border-left:2px solid #c3a14b}.induction-route li:before{content:"";position:absolute;left:-7px;top:17px;width:12px;height:12px;border-radius:50%;background:#c3a14b}.induction-day-one{background:#102d4f;color:#fff}.induction-day-one h4,.induction-day-one .eyebrow{color:#fff}.induction-day-one>strong{display:block;margin-top:15px;color:#e2c46f;font-size:1.2rem}.induction-admin-section{background:#f3f6f9}.induction-admin-questions details,.induction-admin-careers details{margin-bottom:10px;border:1px solid #d6e0e9;border-radius:14px;background:#fff}.induction-admin-questions summary,.induction-admin-careers summary{display:flex;align-items:center;gap:12px;padding:14px;cursor:pointer}.induction-admin-questions summary>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf2f6;color:#183657;font-weight:800}.induction-admin-questions summary>strong{flex:1}.induction-admin-questions details>label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 16px}.induction-admin-questions details>label:first-of-type{grid-template-columns:1fr}.induction-admin-questions details>label input:not([type=checkbox]){width:100%}.induction-admin-careers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.induction-admin-careers details{margin:0}.induction-admin-careers summary img{width:74px;height:54px;border-radius:8px;object-fit:cover}.induction-admin-careers summary span{display:grid}.induction-admin-careers summary small{color:#647487}.induction-career-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border-top:1px solid #e1e7ed}.induction-career-form label{display:grid;gap:5px;font-weight:700}.induction-career-form label:has(textarea){grid-column:1/-1}.induction-career-form textarea{min-height:90px}.induction-preview-shell .curriculum-workspace,.induction-preview-shell .induction-discovery-page{max-width:920px}@media(max-width:800px){.induction-career-grid,.induction-admin-careers{grid-template-columns:1fr}.induction-career-form{grid-template-columns:1fr}.induction-career-form label:has(textarea){grid-column:auto}.induction-career-card>img{height:210px}}

/* Premium Career Discovery authoring and shared learner experience */
.induction-discovery-page{max-width:1240px}.induction-discovery-results{background:linear-gradient(180deg,#f7fafd 0,#fff 280px);border-color:#d8e2ec}.induction-career-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}.career-hero-card{overflow:hidden;border:1px solid #d8e2ec;border-radius:22px;background:#fff;box-shadow:0 16px 38px rgba(10,37,85,.09)}.career-hero-card.is-selected{border-color:#c69c3d;box-shadow:0 0 0 3px rgba(198,156,61,.17),0 18px 42px rgba(10,37,85,.12)}.career-hero-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#17365d,#627c99)}.career-hero-media img{width:100%;height:100%;object-fit:cover}.career-hero-media:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(4,20,43,.72))}.career-hero-media>span{position:absolute;z-index:1;right:14px;bottom:13px;padding:8px 11px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(7,30,61,.82);color:#fff;font-size:.78rem;font-weight:850}.career-hero-content{display:grid;gap:16px;padding:22px}.career-category{margin:0;color:#9c761d;font-size:.7rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.career-hero-content>h3{margin:-8px 0 0;color:#0a2555;font-size:clamp(1.35rem,2vw,1.85rem);line-height:1.12}.career-tagline{margin:-8px 0 0;color:#53677f;line-height:1.55}.career-why,.career-workplaces,.career-earnings,.career-overview{padding-top:15px;border-top:1px solid #e3e9ef}.career-hero-content .eyebrow{margin:0 0 6px;color:#9b7723;font-size:.64rem}.career-hero-content h4{margin:0;color:#19385d;font-size:.94rem;line-height:1.48}.career-workplaces p:last-child,.career-overview p{margin:6px 0 0;color:#627187;font-size:.84rem;line-height:1.5}.career-earnings dl{display:grid;gap:8px;margin:10px 0}.career-earnings dl div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:9px 0;border-bottom:1px solid #edf1f5}.career-earnings dt{color:#637288;font-size:.72rem;font-weight:750}.career-earnings dd{margin:0;color:#0a2555;font-size:.95rem;font-weight:850;text-align:right}.career-earnings small{display:block;color:#758296;font-size:.68rem;line-height:1.45}.career-card-actions{display:grid;gap:9px}.career-card-actions button{width:100%;min-height:44px}.career-preview-note{padding:10px;border-radius:9px;background:#eef4f9;color:#45617d;font-size:.73rem;font-weight:750;text-align:center}
.career-detail-backdrop{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(3,17,37,.78);backdrop-filter:blur(5px)}.career-detail-modal{position:relative;overflow:auto;width:min(940px,100%);max-height:calc(100vh - 40px);border-radius:24px;background:#fff;box-shadow:0 32px 90px rgba(0,0,0,.35)}.career-detail-close{position:absolute;z-index:4;right:16px;top:16px;display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(7,30,61,.88);color:#fff;font-size:1.6rem;cursor:pointer}.career-hero-card.is-detail{border:0;border-radius:0;box-shadow:none}.career-hero-card.is-detail .career-hero-media{aspect-ratio:21/9}.career-hero-card.is-detail .career-hero-content{padding:clamp(24px,5vw,50px)}.career-pathway{padding-top:20px;border-top:1px solid #e3e9ef}.career-pathway ol{display:flex;gap:0;margin:18px 0 0;padding:0;list-style:none}.career-pathway li{position:relative;display:grid;align-content:start;gap:7px;flex:1;padding-right:14px}.career-pathway li:not(:last-child):after{content:"";position:absolute;top:15px;left:34px;right:2px;height:2px;background:#d7c17e}.career-pathway li span{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#c49a38;color:#fff;font-size:.72rem;font-weight:850}.career-pathway li strong{padding-right:8px;color:#23405f;font-size:.75rem;line-height:1.35}
.question-authoring-body{display:grid;gap:16px;padding:18px;border-top:1px solid #e2e9f0}.career-author-field{display:grid;gap:6px;color:#17375b;font-weight:800}.answer-authoring-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.answer-authoring-card{display:grid;gap:12px;padding:14px;border:1px solid #dce5ed;border-radius:14px;background:#f9fbfd}.answer-authoring-card header{display:flex;align-items:center;justify-content:space-between}.answer-authoring-card header>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#0a2b55;color:#fff;font-weight:850}.answer-authoring-card label{display:grid;gap:5px;color:#344f6c;font-size:.73rem;font-weight:750}.compact-toggle{display:flex;align-items:center;gap:7px}.compact-toggle b{color:#60738a;font-size:.67rem}.matching-config{border:0;background:transparent}.matching-config summary{padding:4px 0;color:#63758a;font-size:.68rem}.matching-config small{display:block;padding-top:7px;color:#826620}.question-status{color:#417452;font-size:.66rem;font-weight:800}
.induction-admin-careers{grid-template-columns:1fr}.induction-admin-careers>details{overflow:hidden}.career-admin-thumb{position:relative;width:112px;aspect-ratio:16/9}.career-admin-thumb img{width:100%;height:100%;border-radius:9px;object-fit:cover}.career-admin-thumb b{position:absolute;left:5px;bottom:5px;padding:3px 6px;border-radius:5px;background:rgba(8,35,68,.84);color:#fff;font-size:.56rem}.induction-career-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:22px;background:#f6f9fc}.induction-career-form>section,.career-matching-panel{display:grid;align-content:start;gap:13px;padding:20px;border:1px solid #dde6ee;border-radius:16px;background:#fff}.induction-career-form>section>header h5{margin:2px 0 0;color:#17375b;font-size:1rem}.induction-career-form label{display:grid;gap:6px;color:#38516c;font-size:.76rem;font-weight:780}.career-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.career-image-editor{display:grid;grid-template-columns:minmax(180px,1fr) 1fr;gap:14px}.career-image-editor>img{width:100%;aspect-ratio:16/9;border-radius:12px;object-fit:cover;background:#e9eef3}.career-image-editor>div{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.career-upload-action{position:relative;overflow:hidden}.career-upload-action input{position:absolute;inset:0;opacity:0;cursor:pointer}.pathway-step-editor{display:grid;gap:8px}.pathway-step-editor>div{display:grid;grid-template-columns:auto minmax(0,1fr) repeat(3,34px);gap:6px;align-items:center}.pathway-step-editor span{color:#7a6740;font-size:.65rem;font-weight:800}.pathway-step-editor button{height:34px;border:1px solid #d6e0e9;border-radius:8px;background:#fff;color:#244564}.career-matching-panel{grid-column:1/-1}.career-matching-panel>summary{color:#38516c;font-weight:800;cursor:pointer}.career-admin-preview{grid-column:1/-1}.career-admin-preview .career-hero-card{max-width:470px}.career-admin-preview .career-why,.career-admin-preview .career-workplaces,.career-admin-preview .career-earnings{display:none}
@media(max-width:1000px){.induction-career-grid{grid-template-columns:1fr}.career-hero-card:not(.is-detail){display:grid;grid-template-columns:minmax(260px,.8fr) 1fr}.answer-authoring-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.induction-career-form{grid-template-columns:1fr}.career-matching-panel,.career-admin-preview{grid-column:auto}}
@media(max-width:700px){.induction-discovery-results{padding:18px}.career-hero-card:not(.is-detail){display:block}.career-hero-content{padding:19px}.career-detail-backdrop{padding:0}.career-detail-modal{max-height:100vh;border-radius:0}.career-hero-card.is-detail .career-hero-media{aspect-ratio:16/10}.career-hero-card.is-detail .career-hero-content{padding:22px 18px 36px}.career-pathway ol{display:grid}.career-pathway li{grid-template-columns:32px 1fr;min-height:58px;padding:0}.career-pathway li:not(:last-child):after{left:14px;top:30px;right:auto;width:2px;height:32px}.career-pathway li strong{padding-top:7px}.career-earnings dl div{grid-template-columns:1fr}.career-earnings dd{text-align:left}.answer-authoring-grid,.career-form-grid,.career-image-editor{grid-template-columns:1fr}.pathway-step-editor>div{grid-template-columns:1fr repeat(3,34px)}.pathway-step-editor span{grid-column:1/-1}.induction-admin-questions summary{align-items:flex-start}.induction-admin-controls{flex-wrap:wrap;justify-content:flex-end}}

/* Career result cards: keep long earnings labels and values in normal responsive flow. */
.career-hero-card,.career-hero-content,.career-earnings,.career-earnings dl,.career-earnings dl div{min-width:0}
.career-earnings dl div{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.career-earnings dt,.career-earnings dd,.career-earnings small,.career-pathway-preview{max-width:100%;overflow-wrap:anywhere;word-break:normal}
.career-card-actions{align-self:end;min-width:0}
@media(max-width:1100px) and (min-width:1001px){.induction-career-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Career Library gallery and focused canonical editor */
.career-gallery-section{background:linear-gradient(180deg,#f1f6fb 0,#f8fafc 100%)}.career-gallery-navigation{display:grid;gap:14px;margin:18px 0;padding:16px;border:1px solid #dce6ef;border-radius:16px;background:#fff}.career-gallery-navigation>label{display:grid;gap:6px;max-width:520px;color:#17375b;font-size:.72rem;font-weight:800}.career-gallery-navigation input{min-height:44px;padding:10px 13px;border:1px solid #cfdbe6;border-radius:10px;background:#f9fbfd;color:#17375b}.career-gallery-navigation>div{display:flex;flex-wrap:wrap;gap:7px}.career-gallery-navigation button{padding:7px 10px;border:1px solid #d7e1ea;border-radius:999px;background:#fff;color:#52677f;font-size:.67rem;font-weight:800;text-transform:capitalize;cursor:pointer}.career-gallery-navigation button.is-active,.career-gallery-navigation button:hover,.career-gallery-navigation button:focus-visible{border-color:#bd9435;background:#fff9eb;color:#654c11;outline:none}.career-gallery-count{margin:0 0 12px;color:#66778b;font-size:.76rem}.career-gallery-count strong{color:#0a2b55}.career-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.career-gallery-grid>.career-hero-card{display:block;min-width:0;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.career-gallery-grid>.career-hero-card:hover,.career-gallery-grid>.career-hero-card:focus-visible{transform:translateY(-4px);box-shadow:0 23px 48px rgba(10,37,85,.16);outline:3px solid rgba(191,148,52,.36);outline-offset:3px}.career-gallery-grid>.career-hero-card[hidden]{display:none}.career-hero-card.is-admin-gallery .career-hero-media{aspect-ratio:16/9}.career-hero-card.is-admin-gallery .career-hero-content{gap:13px}.career-hero-card.is-admin-gallery .career-why{display:none}.career-hero-card.is-admin-gallery .career-workplaces p:last-child{display:none}.career-hero-card.is-admin-gallery .career-earnings dl div:not(:nth-child(2)):not(:nth-child(3)){display:none}.career-hero-card.is-admin-gallery .career-earnings dl{margin-bottom:0}.career-hero-card.is-admin-gallery .career-earnings small{display:none}.career-pathway-preview{margin:0;padding-top:13px;border-top:1px solid #e5ebf1;color:#68778a;font-size:.7rem;line-height:1.5}.career-pathway-preview strong{display:block;margin-bottom:3px;color:#9a7520;font-size:.62rem;letter-spacing:.08em;text-transform:uppercase}.career-admin-image-status{position:absolute;z-index:2;left:12px;top:12px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.9);color:#17375b;font-size:.62rem;box-shadow:0 4px 12px rgba(3,20,43,.15)}.career-hero-card.is-admin-gallery .career-preview-note{display:flex;align-items:center;justify-content:space-between;background:#f2f6fa;color:#17375b}.career-hero-card.is-admin-gallery .career-preview-note span{color:#a77d20;font-size:1rem}
.career-editor-backdrop{position:fixed;z-index:10020;inset:0;display:grid;place-items:center;padding:24px;background:rgba(3,17,37,.78);backdrop-filter:blur(6px)}.career-editor-modal{overflow:auto;width:min(1180px,100%);max-height:calc(100vh - 48px);border-radius:24px;background:#f4f7fa;box-shadow:0 34px 100px rgba(0,0,0,.4)}.career-editor-header{position:sticky;z-index:4;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #dce4ec;background:#fff}.career-editor-header h3{margin:3px 0;color:#0a2555;font-size:clamp(1.45rem,3vw,2rem)}.career-editor-header>div>p:last-child{margin:0;color:#627287}.career-editor-header .career-detail-close{position:static;flex:0 0 auto}.career-editor-modal .induction-career-form{border-top:0;background:#f4f7fa}.career-editor-modal .career-admin-preview{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}.career-editor-live-preview{max-width:520px}.career-editor-live-preview .career-hero-card{max-width:none}.career-editor-live-preview .career-why{display:none}.career-editor-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #dce4ec;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}
@media(max-width:1120px){.career-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.career-gallery-grid{grid-template-columns:1fr}.career-gallery-navigation{padding:13px}.career-editor-backdrop{padding:0}.career-editor-modal{max-height:100vh;border-radius:0}.career-editor-header{padding:18px}.career-editor-header>div>p:last-child{font-size:.78rem}.career-editor-modal .induction-career-form{padding:14px}.career-editor-actions{padding:12px 14px}.career-editor-actions button{flex:1;min-height:46px}.career-gallery-grid>.career-hero-card{display:block}}

/* Lesson 1 Professional Decision-Making baseline */
.professional-decision-intro,.professional-decision-quiz,.professional-starting-point{margin-top:28px;padding:clamp(22px,4vw,42px);border:1px solid #d9e4ed;border-radius:24px;background:#fff;box-shadow:0 18px 48px rgba(10,37,85,.09)}.professional-decision-intro{display:grid;gap:13px;background:linear-gradient(145deg,#0a2852,#163f68);color:#fff}.professional-decision-intro .eyebrow,.professional-decision-intro h3{color:#fff}.professional-decision-intro h3{margin:0;font-size:clamp(1.7rem,4vw,2.6rem)}.professional-decision-intro p{max-width:760px;margin:0;color:#dae6ef;line-height:1.65}.professional-decision-intro>span{color:#e2c46f;font-size:.78rem;font-weight:800}.professional-decision-intro button{justify-self:start;margin-top:8px}.professional-decision-quiz>header h3{margin:5px 0;color:#0a2555;font-size:clamp(1.55rem,4vw,2.35rem)}.professional-decision-quiz>header>p:last-child{max-width:750px;color:#526980;line-height:1.6}.professional-scenario-media{width:100%;margin-top:18px;aspect-ratio:16/7;border-radius:16px;object-fit:cover}.professional-scenario-options{display:grid;gap:12px;margin:0;padding:0;border:0}.professional-scenario-options legend{margin-bottom:13px;color:#18385d;font-size:1.05rem;font-weight:850}.professional-scenario-options label{cursor:pointer}.professional-scenario-options input{position:absolute;opacity:0}.professional-scenario-options label>span{display:grid;grid-template-columns:38px 1fr;gap:13px;align-items:center;min-height:66px;padding:13px 16px;border:1px solid #d8e2eb;border-radius:14px;background:#f9fbfd;transition:.16s}.professional-scenario-options label b{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e8eef4;color:#18395e}.professional-scenario-options label strong{color:#294864;font-size:.9rem;line-height:1.45}.professional-scenario-options input:checked+span{border-color:#bd9435;background:#fff9ea;box-shadow:0 0 0 3px rgba(189,148,53,.14)}.professional-scenario-options input:checked+span b{background:#bd9435;color:#fff}.professional-scenario-options input:focus-visible+span{outline:3px solid rgba(36,101,164,.3);outline-offset:3px}.professional-decision-quiz>footer{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-top:24px}.professional-decision-quiz>footer small{max-width:390px;color:#68798c;text-align:center}.professional-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.professional-profile-grid article{padding:20px;border:1px solid #dbe5ed;border-radius:16px;background:#f7fafc}.professional-profile-grid article:first-child{border-top:3px solid #4d8a66}.professional-profile-grid article:last-child{border-top:3px solid #c39a3e}.professional-profile-grid h4{margin:0 0 12px;color:#15375b}.professional-profile-grid p{margin:8px 0;color:#566b81;line-height:1.5}.professional-expectation{padding:20px;border-radius:16px;background:#edf4fa}.professional-expectation h4{margin:0;color:#12345a}.professional-expectation p{margin:8px 0 0;color:#4d647c}.professional-career-reconnect{display:grid;gap:12px;margin-top:24px}.professional-career-reconnect>.career-hero-card{max-width:520px}.professional-mindset{margin-top:24px;padding:28px;border-radius:20px;background:#0a2852;color:#fff}.professional-mindset .eyebrow,.professional-mindset h3{color:#fff}.professional-mindset ul{display:grid;gap:7px;margin:16px 0 0;padding-left:20px;color:#dce8f0}.professional-admin-scenarios{display:grid;gap:10px}.professional-admin-scenarios>details{border:1px solid #d9e3ec;border-radius:14px;background:#fff}.professional-admin-scenarios>details>summary{display:flex;align-items:center;gap:12px;padding:14px;cursor:pointer}.professional-admin-scenarios>details>summary>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#e9f0f6;color:#17385c;font-weight:850}.professional-admin-scenarios>details>summary>strong{flex:1;color:#17385c}.professional-admin-body{display:grid;gap:13px;padding:18px;border-top:1px solid #e1e8ef}.professional-admin-body>label:not(.compact-toggle){display:grid;gap:6px;color:#3d566f;font-size:.75rem;font-weight:800}.professional-admin-body textarea{min-height:76px}.professional-admin-body>.matching-config{padding:12px;border:1px solid #e2e8ee;border-radius:10px}.professional-admin-body>.matching-config label{display:grid;gap:5px;margin-top:9px;color:#536980;font-size:.72rem;font-weight:750}
@media(max-width:720px){.professional-decision-intro,.professional-decision-quiz,.professional-starting-point{padding:20px 16px;border-radius:18px}.professional-decision-intro button{width:100%}.professional-scenario-options label>span{grid-template-columns:34px 1fr;padding:12px}.professional-decision-quiz>footer{flex-wrap:wrap}.professional-decision-quiz>footer small{order:3;width:100%}.professional-profile-grid{grid-template-columns:1fr}.professional-mindset{padding:22px 18px}.professional-admin-body .answer-authoring-grid{grid-template-columns:1fr}}

/* Induction Lesson Builder: lesson → quiz → question hierarchy */
.induction-quiz-accordion-list{display:grid;gap:16px;margin-top:18px}.induction-quiz-hierarchy{display:flex;align-items:center;gap:9px;padding:0 4px;color:#68798c;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.induction-quiz-hierarchy strong{color:#a77d20}.induction-quiz-hierarchy b[aria-hidden]{color:#bd9435}.induction-quiz-accordion{overflow:hidden;border:1px solid #d4dee8;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(10,37,85,.07)}.induction-quiz-accordion>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:108px;padding:20px 22px;cursor:pointer;list-style:none;background:linear-gradient(135deg,#fff,#f4f7fa)}.induction-quiz-accordion>summary::-webkit-details-marker{display:none}.induction-quiz-accordion>summary:focus-visible{outline:3px solid rgba(189,148,53,.42);outline-offset:-4px}.induction-quiz-number{display:grid;place-items:center;min-width:72px;min-height:52px;padding:8px;border-radius:13px;background:#0a2852;color:#e8cc7b;font-size:.7rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.induction-quiz-summary-copy{display:grid;gap:7px;min-width:0}.induction-quiz-summary-copy>strong{color:#0a2852;font-size:clamp(1rem,2vw,1.3rem);line-height:1.25}.induction-quiz-summary-copy>small{color:#65768a;font-size:.73rem;line-height:1.5}.induction-quiz-summary-copy>small b{color:#3f7453}.induction-quiz-open-label{display:flex;align-items:center;gap:8px;color:#8d6815;font-size:.76rem;font-weight:900;white-space:nowrap}.induction-quiz-open-label i{font-size:1.25rem;font-style:normal;transition:transform .18s ease}.induction-quiz-accordion[open]{border-color:#c6a451;box-shadow:0 18px 42px rgba(10,37,85,.11)}.induction-quiz-accordion[open]>summary{border-bottom:1px solid #dcc684;background:linear-gradient(135deg,#092850,#133f6c);color:#fff}.induction-quiz-accordion[open] .induction-quiz-summary-copy>strong{color:#fff}.induction-quiz-accordion[open] .induction-quiz-summary-copy>small{color:#d9e3ed}.induction-quiz-accordion[open] .induction-quiz-summary-copy>small b,.induction-quiz-accordion[open] .induction-quiz-open-label{color:#f0d787}.induction-quiz-accordion[open] .induction-quiz-number{background:#c29a3d;color:#fff}.induction-quiz-accordion[open] .induction-quiz-open-label i{transform:rotate(180deg)}.induction-quiz-accordion-content{display:grid;gap:16px;padding:18px;background:#eef3f7}.induction-quiz-accordion-content>.induction-admin-section{margin:0}.induction-quiz-accordion-content>.induction-admin-section+.induction-admin-section{margin-top:0}
@media(max-width:720px){.induction-quiz-accordion>summary{grid-template-columns:auto minmax(0,1fr);gap:12px;min-height:0;padding:16px}.induction-quiz-number{min-width:58px;min-height:46px}.induction-quiz-open-label{grid-column:2;justify-self:start}.induction-quiz-accordion-content{padding:10px}.induction-quiz-hierarchy{overflow:hidden}}
/* Administration · Reconciliation Workspace */
.reconciliation-workspace{display:grid;gap:20px;margin-top:28px;padding:26px;border:1px solid #d4deea;border-radius:24px;background:#f6f9fc;color:#102d52;box-shadow:0 18px 44px rgba(16,45,82,.1)}.reconciliation-workspace>header{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px;border-radius:18px;background:linear-gradient(135deg,#0b294f,#174d7d);color:#fff}.reconciliation-workspace>header h3{margin:4px 0 8px;color:#fff;font-size:clamp(1.55rem,3vw,2.25rem)}.reconciliation-workspace>header p{margin:0;color:#dce8f4}.reconciliation-safety-banner{display:flex;gap:12px;align-items:center;padding:13px 16px;border-left:5px solid #e1ad32;border-radius:10px;background:#fff5d9}.reconciliation-metrics{display:grid;grid-template-columns:repeat(7,minmax(90px,1fr));gap:10px}.reconciliation-metrics article{padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#fff}.reconciliation-metrics small,.reconciliation-metrics strong{display:block}.reconciliation-metrics small{color:#687b8e}.reconciliation-metrics strong{margin-top:5px;font-size:1.3rem}.reconciliation-production-summary{margin:0;padding:13px 15px;border-radius:10px;background:#eaf2fa}.reconciliation-filters{display:flex;flex-wrap:wrap;gap:10px}.reconciliation-filters label{display:grid;gap:4px;color:#5d7185;font-size:.75rem;font-weight:800}.reconciliation-filters select{min-width:145px}.reconciliation-case-list{display:grid;gap:8px}.reconciliation-case-list>button{display:grid;grid-template-columns:minmax(240px,2fr) repeat(4,minmax(120px,1fr));align-items:center;gap:12px;width:100%;padding:14px 16px;border:1px solid #d8e1ea;border-radius:12px;background:#fff;color:#102d52;text-align:left}.reconciliation-case-list>button:hover,.reconciliation-case-list>button:focus-visible{border-color:#c59a2a;box-shadow:0 8px 22px rgba(16,45,82,.1)}.reconciliation-case-identity{display:grid;gap:3px;min-width:0}.reconciliation-case-identity strong{overflow-wrap:anywhere}.reconciliation-case-identity small{color:#697b8d}.risk-high,.risk-critical{color:#a63724;font-weight:850}.reconciliation-case-detail{display:grid;gap:16px}.reconciliation-case-detail>header,.reconciliation-dry-run>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.reconciliation-case-detail h4{margin:4px 0}.reconciliation-case-status,.reconciliation-case-detail>section{display:flex;flex-wrap:wrap;gap:8px}.reconciliation-case-status span{padding:7px 10px;border-radius:8px;background:#eaf1f7;font-weight:750}.reconciliation-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.reconciliation-case-grid section,.reconciliation-dry-run,.reconciliation-audit{padding:17px;border:1px solid #d8e2ec;border-radius:13px;background:#fff}.reconciliation-case-grid h5,.reconciliation-dry-run h5,.reconciliation-audit h5{margin:0 0 8px}.reconciliation-case-grid pre{max-height:240px;overflow:auto;padding:11px;border-radius:8px;background:#102d52;color:#eef5fb;white-space:pre-wrap}.reconciliation-dry-run-result{width:100%;padding:14px;border-left:5px solid #d5a62d;border-radius:10px;background:#fff4d6}.reconciliation-dry-run-result strong,.reconciliation-dry-run-result small{display:block}.reconciliation-audit{display:block}.reconciliation-audit ol{display:grid;gap:8px;padding-left:20px}.reconciliation-audit li span,.reconciliation-audit li small{display:block;margin-top:3px;color:#66798b}@media(max-width:1100px){.reconciliation-metrics{grid-template-columns:repeat(4,1fr)}.reconciliation-case-list>button{grid-template-columns:2fr 1fr 1fr}.reconciliation-case-list>button span:nth-child(n+4){display:none}}@media(max-width:760px){.reconciliation-workspace{padding:14px}.reconciliation-workspace>header,.reconciliation-case-detail>header,.reconciliation-dry-run>header{align-items:stretch;flex-direction:column}.reconciliation-metrics,.reconciliation-case-grid{grid-template-columns:1fr 1fr}.reconciliation-case-list>button{grid-template-columns:1fr}.reconciliation-case-list>button span{display:grid}.reconciliation-case-list>button span:nth-child(n+2){display:none}}@media(max-width:480px){.reconciliation-metrics,.reconciliation-case-grid{grid-template-columns:1fr}}
/* Administration · System Health */
.system-health-page{display:grid;gap:24px;color:#102d52}.system-health-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px;border-radius:24px;background:linear-gradient(135deg,#102d52,#1e4a78);color:#fff;box-shadow:0 18px 44px rgba(16,45,82,.2)}.system-health-hero h3{margin:4px 0 8px;font-size:clamp(1.75rem,3vw,2.5rem);color:#fff}.system-health-hero p{max-width:760px;margin:0;color:#dbe7f5}.system-health-full-scan{min-width:250px;background:#f2b632;color:#102d52;border-color:#f2b632}.system-health-summary{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:12px}.system-health-summary article{padding:18px;border:1px solid #d9e2ec;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(16,45,82,.07)}.system-health-summary small{display:block;color:#65758b}.system-health-summary strong{display:block;margin-top:6px;font-size:1.35rem}.severity-critical strong,.severity-critical>span{color:#a51d25}.severity-major strong,.severity-major>span{color:#c33c18}.severity-moderate strong,.severity-moderate>span{color:#9a6500}.severity-minor strong,.severity-minor>span{color:#41627c}.system-health-meta{display:flex;flex-wrap:wrap;gap:10px}.system-health-meta span{padding:9px 13px;border-radius:999px;background:#edf3f8;color:#425a72;font-size:.88rem}.system-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.system-health-card{padding:22px;border:1px solid #d6e0eb;border-top:4px solid #2e699c;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(16,45,82,.08)}.system-health-card>header,.system-health-findings>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.system-health-card h4,.system-health-findings h4,.system-health-groups h4,.system-health-history h4{margin:3px 0}.system-health-card-status{padding:6px 10px;border-radius:999px;background:#edf3f8;font-size:.78rem;font-weight:800}.system-health-card-counts{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.system-health-card-counts span{padding:7px 10px;border-radius:9px;background:#f5f7fa;font-size:.82rem}.system-health-card-actions{display:flex;flex-wrap:wrap;gap:9px}.system-health-card-details{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid #e0e6ed}.system-health-card-details>p{display:flex;align-items:center;gap:9px;margin:0}.check-state{min-width:92px;padding:4px 7px;border-radius:7px;text-align:center;text-transform:capitalize;font-size:.72rem;font-weight:800;background:#e9eef4}.check-state.pass{background:#e4f3e9;color:#22643b}.check-state.failed{background:#fae7e6;color:#972b2b}.check-state.warning{background:#fff1d6;color:#805700}.system-health-findings,.system-health-groups,.system-health-history{padding:24px;border:1px solid #d6e0eb;border-radius:20px;background:#fff}.system-health-filters{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.system-health-filters label{display:grid;gap:4px;font-size:.78rem;font-weight:700;color:#536b82}.system-health-filters select{min-width:150px}.system-health-finding{margin-top:12px;padding:18px;border:1px solid #dce4ec;border-left:5px solid #6d8195;border-radius:14px;background:#fbfcfd}.system-health-finding.severity-critical{border-left-color:#a51d25}.system-health-finding.severity-major{border-left-color:#c33c18}.system-health-finding.severity-moderate{border-left-color:#c58a12}.system-health-finding header{display:flex;align-items:center;gap:10px}.system-health-finding header span,.system-health-finding header em{padding:4px 8px;border-radius:7px;background:#edf1f5;font-size:.75rem;font-style:normal}.system-health-finding header strong{flex:1}.system-health-finding h5{margin:12px 0 8px;font-size:1rem}.system-health-finding pre{max-height:240px;overflow:auto;padding:12px;border-radius:10px;background:#102d52;color:#e8f0f8;white-space:pre-wrap}.system-health-finding footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.system-health-groups{display:grid;gap:12px}.system-health-groups article{padding:15px;border-radius:12px;background:#f4f7fa}.system-health-groups article span{margin-right:10px;font-weight:800}.system-health-history{overflow-x:auto}.system-health-history table{width:100%;border-collapse:collapse}.system-health-history th,.system-health-history td{padding:11px;border-bottom:1px solid #e3e8ee;text-align:left;font-size:.86rem}
@media(max-width:1100px){.system-health-summary{grid-template-columns:repeat(4,1fr)}}@media(max-width:760px){.system-health-hero{align-items:stretch;flex-direction:column}.system-health-full-scan{width:100%;min-width:0}.system-health-grid{grid-template-columns:1fr}.system-health-summary{grid-template-columns:repeat(2,1fr)}.system-health-finding footer{align-items:stretch;flex-direction:column}.system-health-finding footer button{width:100%}}
.system-health-review-backdrop{position:fixed;inset:0;z-index:1200;display:flex;justify-content:flex-end;background:rgba(8,26,48,.72);backdrop-filter:blur(7px)}.system-health-review-panel{width:min(1040px,94vw);height:100%;overflow:auto;padding:30px;background:#f7f9fc;color:#102d52;box-shadow:-24px 0 70px rgba(4,18,36,.3)}.system-health-review-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:20px;border-bottom:3px solid #e8b43c}.system-health-review-panel>header h3{margin:4px 0 7px;font-size:clamp(1.55rem,3vw,2.2rem)}.system-health-review-panel>header p{margin:0;color:#5b6f84}.system-health-review-panel>header button{width:46px;height:46px;border:1px solid #ccd7e4;border-radius:50%;background:#fff;color:#102d52;font-size:1.8rem}.system-health-review-banner{display:flex;flex-direction:column;gap:4px;margin:22px 0;padding:16px 18px;border-left:5px solid #e8b43c;border-radius:10px;background:#fff6db}.system-health-review-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.system-health-review-summary article,.system-health-review-explanations article,.system-health-review-panel>section{padding:18px;border:1px solid #d8e1eb;border-radius:15px;background:#fff}.system-health-review-summary small{display:block;color:#64778c}.system-health-review-summary strong{display:block;margin-top:6px}.system-health-review-panel>section{margin-top:16px}.system-health-review-panel>section.system-health-review-explanations{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0;border:0;background:transparent}.system-health-review-explanations article h4,.system-health-review-panel section h4{margin-top:0}.system-health-review-definition{display:grid;grid-template-columns:1fr 1fr;gap:10px}.system-health-review-definition div{padding:12px;border-radius:9px;background:#f2f6fa}.system-health-review-definition dt{font-size:.75rem;font-weight:800;text-transform:uppercase;color:#61758a}.system-health-review-definition dd{margin:5px 0 0;overflow-wrap:anywhere}.system-health-review-panel details{margin-top:15px}.system-health-review-panel pre{max-height:320px;overflow:auto;padding:14px;border-radius:10px;background:#102d52;color:#edf4fb;white-space:pre-wrap}.system-health-review-risk{display:flex;flex-wrap:wrap;gap:9px}.system-health-review-risk span{padding:8px 11px;border-radius:8px;background:#edf3f8}.system-health-proposed-changes>header{display:flex;justify-content:space-between;gap:16px}.system-health-review-table-wrap{overflow:auto;max-height:480px;margin-top:15px}.system-health-review-table-wrap table{width:100%;min-width:840px;border-collapse:collapse}.system-health-review-table-wrap th,.system-health-review-table-wrap td{padding:11px;border-bottom:1px solid #dfe6ee;text-align:left;vertical-align:top;font-size:.82rem;overflow-wrap:anywhere}.system-health-review-table-wrap td small{display:block;margin-top:4px;color:#6b7c8e}.system-health-review-verdict{display:inline-block;padding:5px 7px;border-radius:6px;background:#fff1d6;color:#704d00;font-weight:700}.system-health-review-verdict.exact_match{background:#e4f3e9;color:#22643b}.system-health-review-panel>footer{display:flex;justify-content:flex-end;padding-top:22px}@media(max-width:760px){.system-health-review-panel{width:100vw;padding:20px}.system-health-review-summary,.system-health-review-explanations,.system-health-review-definition{grid-template-columns:1fr}.system-health-proposed-changes>header{display:block}}
.system-health-finding details>summary{cursor:pointer;font-weight:800;color:#1e5b8f}.system-health-finding .evidence-hide-label{display:none}.system-health-finding details[open] .evidence-view-label{display:none}.system-health-finding details[open] .evidence-hide-label{display:inline}.system-health-technical-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.system-health-evidence-records{display:grid;gap:12px;max-height:480px;overflow:auto}.system-health-evidence-records>article{padding:14px;border:1px solid #d8e2ec;border-radius:12px;background:#f7f9fb}.system-health-evidence-records dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0}.system-health-evidence-records dl div{min-width:0}.system-health-evidence-records dt{font-size:.72rem;font-weight:800;text-transform:capitalize;color:#60748a}.system-health-evidence-records dd{margin:2px 0 0;overflow-wrap:anywhere;font-size:.82rem}.system-health-finding h6{margin:16px 0 8px;font-size:.85rem}@media(max-width:760px){.system-health-evidence-records dl{grid-template-columns:1fr}.system-health-technical-actions{align-items:stretch;flex-direction:column}}
/* Shared Theory/Practical School card authoring */
.lesson-card-designer{padding:clamp(24px,3vw,40px);border:1px solid #d9e0e5;border-radius:22px;background:#fff;box-shadow:0 16px 42px rgba(13,39,64,.08)}
.lesson-card-designer>header{margin-bottom:24px}.lesson-card-designer>header h4{margin:5px 0 6px;color:#102f4d;font-size:1.55rem}.lesson-card-designer>header p{margin:0;color:#667987}
.lesson-card-designer__layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:30px;align-items:start}.lesson-card-designer__fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.lesson-card-designer__fields label{display:grid;gap:7px;color:#183851;font-size:.72rem;font-weight:850}.lesson-card-designer__fields label:nth-of-type(1),.lesson-card-designer__fields label:nth-of-type(2),.lesson-card-designer__fields label:nth-of-type(3){grid-column:1/-1}.lesson-card-designer__fields input,.lesson-card-designer__fields textarea{width:100%;padding:13px 14px;border:1px solid #cbd5dc;border-radius:10px;background:#fff;color:#102f4d;font:inherit;font-weight:600}.lesson-card-designer__fields textarea{min-height:104px;resize:vertical}.lesson-card-designer__fields input[readonly]{background:#f2f5f7;color:#546a79}.lesson-card-designer__fields label>span{color:#7a8b96;font-size:.62rem;font-weight:600}.lesson-card-designer__preview{overflow:hidden;border:1px solid #d4dde2;border-radius:16px;background:#fff;box-shadow:0 18px 38px rgba(10,36,60,.13)}.lesson-card-designer__preview>div{display:grid;gap:6px;padding:20px;background:#0b2e4c;color:#fff}.lesson-card-designer__preview small{color:#d1b653;font-size:.6rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.lesson-card-designer__preview strong{font-size:1.1rem;line-height:1.2}.lesson-card-designer__preview>img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.lesson-card-designer__preview>p{min-height:84px;margin:0;padding:18px;color:#627582;font-size:.72rem;line-height:1.5}.lesson-card-designer__preview footer{display:flex;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid #e0e5e8;background:#f7f6f2;color:#173650;font-size:.62rem}.lesson-card-designer__preview footer img{width:46px;height:34px;object-fit:contain;background:#fff}.lesson-card-designer__preview footer b{font-size:.68rem}
@media(max-width:900px){.lesson-card-designer__layout{grid-template-columns:1fr}.lesson-card-designer__preview{max-width:440px}.lesson-card-designer__fields{grid-template-columns:1fr}.lesson-card-designer__fields label:nth-of-type(n){grid-column:1}}
/* Generate Lesson — Phase 1 secure Theory assessment */
.generate-lesson-section{overflow:hidden;background:linear-gradient(145deg,#fff 0%,#f7fbff 58%,#eef6ff 100%);border:1px solid rgba(21,72,116,.16)}
.generate-lesson-generator-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 28px 28px;padding:24px;border-radius:20px;background:linear-gradient(135deg,#102f4d,#165b86);color:#fff;box-shadow:0 18px 42px rgba(16,47,77,.18)}
.generate-lesson-generator-card__identity{display:flex;align-items:center;gap:20px;max-width:760px}.generate-lesson-generator-card__identity>span{display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;border-radius:18px;background:rgba(255,255,255,.14);font-size:1.65rem;font-weight:800;border:1px solid rgba(255,255,255,.22)}
.generate-lesson-generator-card h4{margin:2px 0 7px;color:#fff;font-size:1.2rem}.generate-lesson-generator-card p{margin:0;color:rgba(255,255,255,.82);line-height:1.55}.generate-lesson-generator-card .eyebrow{color:#8ee1ff}
.generate-lesson-review-head{padding:24px 28px 10px}.secure-theory-quiz-progress{height:8px;margin:18px 0 26px;overflow:hidden;border-radius:999px;background:#dbe7ef}.secure-theory-quiz-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0d8a77,#27bba2)}
.theory-quiz-simple-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin:-6px 28px 28px;padding-top:4px}.theory-quiz-simple-actions button{min-width:148px;text-transform:uppercase;letter-spacing:.04em}.theory-quiz-simple-actions .warning-action:disabled{opacity:.52;cursor:not-allowed}
.secure-theory-quiz-options{display:grid;gap:12px;margin-top:18px}.secure-theory-quiz-options label{cursor:pointer}.secure-theory-quiz-options input{position:absolute;opacity:0;pointer-events:none}.secure-theory-quiz-options span{display:flex;align-items:center;gap:13px;padding:15px 17px;border:1px solid #cfdae3;border-radius:14px;background:#fff;transition:.18s ease}.secure-theory-quiz-options b{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#edf4f8;color:#174764}.secure-theory-quiz-options input:checked+span{border-color:#0d8a77;background:#edfbf8;box-shadow:0 0 0 3px rgba(13,138,119,.1)}
.secure-theory-quiz-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}.secure-theory-quiz-navigation>span{color:#617485;font-weight:700}.secure-theory-quiz-result{text-align:center}.secure-theory-quiz-result>strong{display:block;font-size:2.7rem;color:#123d5a}.secure-theory-quiz-result>span{display:block;margin:8px 0;font-size:1.45rem;font-weight:800;color:#0d8a77}
@media(max-width:760px){.generate-lesson-generator-card{align-items:stretch;flex-direction:column;margin:0 18px 22px}.generate-lesson-generator-card__identity{align-items:flex-start}.theory-quiz-simple-actions{margin-inline:18px}.theory-quiz-simple-actions button{flex:1;min-width:0}.secure-theory-quiz-navigation{flex-wrap:wrap}}

/* Learner Theory lesson only: premium Watch → Answer → Complete experience. */
#learnerPortalContent .learner-theory-cinema{width:min(100%,1180px);gap:0;padding:0;overflow:hidden;border:0;border-radius:28px;background:#f4f7fb;box-shadow:0 28px 70px rgba(7,27,66,.14)}
#learnerPortalContent .learner-theory-cinema-hero{padding:28px clamp(22px,4vw,52px) 26px;background:#fff}
#learnerPortalContent .learner-theory-cinema-hero p{margin:0 0 9px;color:#9a7222;font-size:.78rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}
#learnerPortalContent .learner-theory-cinema-hero h3{max-width:900px;margin:0;color:#071b42;font-size:clamp(2rem,4.2vw,3.7rem);font-weight:950;letter-spacing:-.035em;line-height:1.02}
#learnerPortalContent .learner-theory-cinema-stage{padding:clamp(18px,2.8vw,34px);background:radial-gradient(circle at 50% 0,rgba(32,76,126,.48),transparent 45%),#020f26;color:#fff}
#learnerPortalContent .learner-theory-cinema-stage__heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px;width:min(100%,1120px);margin:0 auto 12px}
#learnerPortalContent .learner-theory-cinema-stage__heading p{margin:0;color:#e6bd61;font-size:.76rem;font-weight:950;letter-spacing:.13em;text-transform:uppercase}
#learnerPortalContent .learner-theory-cinema-stage__heading h4{margin:0;color:#fff;font-size:1rem;font-weight:850}
#learnerPortalContent .learner-theory-cinema-stage :is(.theory-content-video-stage,.theory-interactive-lesson-player){width:min(100%,1120px);margin:0 auto;border-radius:20px;background:#000;box-shadow:0 32px 70px rgba(0,0,0,.46)}
#learnerPortalContent .learner-theory-cinema-stage .theory-video-frame{margin:0;border:1px solid rgba(255,255,255,.14);border-radius:20px;box-shadow:none}
#learnerPortalContent .learner-theory-cinema-stage .theory-video-frame video{object-fit:contain;background:#000}
#learnerPortalContent .learner-theory-cinema-empty{display:grid;place-items:center;width:min(100%,1080px);min-height:clamp(280px,50vw,560px);margin:0 auto;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:#000;text-align:center}
#learnerPortalContent .learner-theory-cinema-empty span{color:#e6bd61;font-size:2rem}#learnerPortalContent .learner-theory-cinema-empty strong{margin-top:12px;font-size:1.1rem}#learnerPortalContent .learner-theory-cinema-empty p{margin:4px 0 0;color:#b8c7da}
#learnerPortalContent .learner-theory-cinema>.learner-published-outcome-check{margin:0;padding:clamp(28px,4vw,52px);border:0;border-radius:0;background:linear-gradient(180deg,#fff 0,#f7faff 100%);box-shadow:none}
#learnerPortalContent .learner-theory-knowledge-check__heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:5px 24px}
#learnerPortalContent .learner-theory-knowledge-check__heading .theory-content-label{grid-column:1/-1;margin:0 0 5px;background:#071b42;color:#fff;letter-spacing:.08em;text-transform:uppercase}
#learnerPortalContent .learner-theory-knowledge-check__heading h4{font-size:clamp(1.65rem,3vw,2.35rem)}
#learnerPortalContent .learner-theory-knowledge-check__heading .learner-theory-question-position{margin:0;color:#617485;font-weight:850}
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-progress{height:6px;margin:20px 0 28px;background:#dfe7f0}
#learnerPortalContent .learner-theory-knowledge-check .learner-published-outcome-question{max-width:940px;margin:0 auto;padding:clamp(22px,3vw,34px);border:1px solid rgba(7,27,66,.12);border-top:4px solid #dba51d;border-radius:20px;background:#fff;box-shadow:0 18px 46px rgba(7,27,66,.09)}
#learnerPortalContent .learner-theory-knowledge-check .learner-published-outcome-question legend{font-size:clamp(1.32rem,2.4vw,1.9rem);line-height:1.3}
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-options{gap:14px;margin-top:26px}
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-options span{min-height:72px;padding:17px 20px;border-width:1px;border-radius:15px;color:#183653;font-size:1rem;font-weight:780;line-height:1.45;box-shadow:0 6px 18px rgba(7,27,66,.045)}
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-options b{flex:0 0 36px;width:36px;height:36px;border:1px solid #d5e0ea;border-radius:50%;background:#f3f7fb;color:#071b42;font-size:.88rem}
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-options label:hover span{border-color:#90a8bb;transform:translateY(-1px);box-shadow:0 12px 28px rgba(7,27,66,.08)}
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-options input:focus-visible+span{outline:3px solid #e6bd61;outline-offset:3px}
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-options input:checked+span{border-color:#0d8a77;background:#edfbf8;box-shadow:0 0 0 4px rgba(13,138,119,.1),0 12px 26px rgba(13,138,119,.09)}
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-options input:checked+span b{border-color:#0d8a77;background:#0d8a77;color:#fff}
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-navigation{max-width:940px;margin:24px auto 0;padding-top:20px;border-top:1px solid #e2e8f0}
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-navigation button{min-height:48px;padding-inline:20px;border-radius:12px}
#learnerPortalContent .learner-theory-cinema>:is(.theory-two-complete-card,.theory-completion-success-card,.theory-critical-review-flag){margin:0;border-width:1px 0 0;border-radius:0;box-shadow:none}
@media(max-width:760px){#learnerPortalContent .learner-theory-cinema{border-radius:20px}#learnerPortalContent .learner-theory-cinema-hero{padding:22px 20px}#learnerPortalContent .learner-theory-cinema-stage{padding:16px 8px 20px}#learnerPortalContent .learner-theory-cinema-stage__heading{margin-bottom:10px;padding-inline:8px}#learnerPortalContent .learner-theory-cinema>.learner-published-outcome-check{padding:28px 14px}#learnerPortalContent .learner-theory-knowledge-check__heading{grid-template-columns:1fr;padding-inline:4px}#learnerPortalContent .learner-theory-knowledge-check__heading .learner-theory-question-position{margin-top:5px}#learnerPortalContent .learner-theory-knowledge-check .learner-published-outcome-question{padding:20px 16px;border-radius:17px}#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-options span{min-height:64px;padding:14px}#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-navigation{display:grid;grid-template-columns:1fr 1fr}#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-navigation>span{grid-column:1/-1;grid-row:1;text-align:center}#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-navigation>button:last-child{grid-column:2}}

/* Learner Theory wide canvas: visual width only; lesson, video and quiz behaviour stay unchanged. */
body:has(#learnerPortalContent .theory-learning-showcase) .app-shell,
body:has(#learnerPortalContent .learner-theory-cinema) .app-shell{
  width:100%;
  max-width:none;
  padding-inline:clamp(20px,2.4vw,40px);
  box-sizing:border-box;
}
#learnerPortalContent .lesson-heading:has(.theory-learning-showcase),
#learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline){
  width:100%;
  max-width:1600px;
  padding-inline:clamp(4px,1vw,16px);
}
#learnerPortalContent .theory-lesson-detail:has(.learner-theory-cinema){
  max-width:1600px;
  gap:12px;
  padding:clamp(12px,1.5vw,24px);
}
#learnerPortalContent .learner-theory-cinema{
  width:100%;
  max-width:1500px;
}
#learnerPortalContent .learner-theory-cinema-hero{
  padding-block:clamp(20px,2vw,28px) clamp(18px,1.8vw,24px);
}
#learnerPortalContent .learner-theory-cinema-stage__heading,
#learnerPortalContent .learner-theory-cinema-stage :is(.theory-content-video-stage,.theory-interactive-lesson-player){
  width:100%;
  max-width:1430px;
}
#learnerPortalContent .learner-theory-cinema-empty{width:100%;max-width:1430px}
#learnerPortalContent .learner-theory-cinema>.learner-published-outcome-check>*{max-width:1320px;margin-inline:auto}
#learnerPortalContent .learner-theory-knowledge-check .learner-published-outcome-question,
#learnerPortalContent .learner-theory-knowledge-check .secure-theory-quiz-navigation{max-width:940px}
@media(max-width:900px){
  body:has(#learnerPortalContent .theory-learning-showcase) .app-shell,
  body:has(#learnerPortalContent .learner-theory-cinema) .app-shell{padding-inline:clamp(12px,2.5vw,22px)}
  #learnerPortalContent .lesson-heading:has(.theory-learning-showcase),
  #learnerPortalContent .lesson-list:has(.learner-theory-phase-timeline){padding-inline:0}
}
@media(max-width:760px){
  #learnerPortalContent .theory-lesson-detail:has(.learner-theory-cinema){padding:8px 0 16px}
}

/* TFE Digital Workbook V1 */
.digital-workbook-author{overflow:hidden;background:linear-gradient(180deg,#fff,#f3f8fb)}
.digital-workbook-author-intro{display:flex;align-items:center;gap:18px;margin:0 28px 24px;padding:22px;border-radius:18px;background:#0b2e4c;color:#fff}.digital-workbook-author-intro>div{display:grid;place-items:center;flex:0 0 70px;height:70px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(255,255,255,.1)}.digital-workbook-author-intro strong{font-size:1.8rem}.digital-workbook-author-intro span{font-size:.65rem}.digital-workbook-author-intro p{flex:1;margin:0;color:#dbe9f0;font-weight:800}.digital-workbook-page-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 28px}.digital-workbook-page-tabs button{display:grid;gap:4px;padding:14px;border:1px solid #d4e0e7;border-radius:13px;background:#fff;color:#173650;text-align:left}.digital-workbook-page-tabs button.active{border-color:#d5a529;background:#fff8e5;box-shadow:0 0 0 3px rgba(213,165,41,.12)}.digital-workbook-page-tabs small{color:#6d7f8c}.digital-workbook-author-page{margin:20px 28px;padding:28px;border:1px solid #dbe5eb;border-radius:20px;background:#fff;box-shadow:0 18px 44px rgba(12,46,76,.08)}.digital-workbook-author-page>header{display:flex;gap:18px;align-items:center;border-bottom:3px solid #d5a529;padding-bottom:18px}.digital-workbook-author-page>header>span{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#0b2e4c;color:#e9c968;font-size:1.25rem;font-weight:900}.digital-workbook-author-page h4{margin:3px 0;color:#0b2e4c}.digital-workbook-author-block{display:grid;gap:10px;margin-top:16px;padding:18px;border-radius:15px;background:#f2f7fa}.digital-workbook-author-block>small{color:#9a7222;font-weight:900;text-transform:uppercase}.digital-workbook-author-block label{display:grid;gap:6px;color:#38536a;font-size:.76rem;font-weight:800}.digital-workbook-author-block textarea{min-height:86px}.digital-workbook-author-block details{padding:12px;border:1px solid #d8e2e8;border-radius:11px;background:#fff}.digital-workbook-author>.theory-outcome-footer-actions{padding:0 28px 28px}
.digital-workbook-generation-status{display:flex;align-items:center;gap:14px;margin:-8px 28px 24px;padding:16px 18px;border:1px solid rgba(13,138,119,.28);border-radius:16px;background:#eef9f7;color:#173650}.digital-workbook-generation-status>span{width:22px;height:22px;border:3px solid rgba(13,138,119,.22);border-top-color:#0d8a77;border-radius:50%;animation:digital-workbook-spin .8s linear infinite}.digital-workbook-generation-status strong{display:block}.digital-workbook-generation-status p{margin:3px 0 0;color:#50697b;font-size:.82rem}@keyframes digital-workbook-spin{to{transform:rotate(360deg)}}
.digital-workbook-publication-status{margin:-8px 28px 24px;padding:16px 18px;border:1px solid rgba(23,54,80,.14);border-radius:16px;background:#f5f8fa;color:#173650}.digital-workbook-publication-status strong{display:block}.digital-workbook-publication-status p{margin:3px 0 0;color:#50697b;font-size:.82rem}
.interactive-practical-author{display:grid;gap:18px}.interactive-practical-author>header,.interactive-practical-items>header,.interactive-practical-properties>header{display:flex;align-items:center;justify-content:space-between;gap:14px}.interactive-practical-upload{position:relative;overflow:hidden;cursor:pointer}.interactive-practical-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.interactive-practical-author-grid,.interactive-practical-learner-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.7fr);gap:20px;align-items:start}.interactive-practical-canvas{position:relative;overflow:hidden;border-radius:20px;background:#e9eef2;box-shadow:inset 0 0 0 1px rgba(23,54,80,.12)}.interactive-practical-canvas img{display:block;width:100%;height:auto;min-height:280px;object-fit:contain}.interactive-practical-target{position:absolute;left:var(--target-x);top:var(--target-y);width:34px;height:34px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:#173650;color:#fff;box-shadow:0 4px 14px rgba(9,30,47,.3);display:grid;place-items:center;cursor:grab;touch-action:none}.interactive-practical-target.selected,.interactive-practical-target:focus-visible{outline:3px solid #d8ad4a;outline-offset:3px;background:#0d8a77}.interactive-practical-target.learner-target{cursor:pointer}.interactive-practical-properties,.interactive-practical-items,.interactive-practical-palette{display:grid;gap:12px;padding:18px;border-radius:18px;background:#f5f8fa}.interactive-practical-properties label{display:grid;gap:6px;color:#173650;font-weight:700}.interactive-practical-properties :is(input,select,textarea),.interactive-practical-author>label textarea,.interactive-practical-item :is(input,select){width:100%;border:1px solid #cbd6de;border-radius:10px;padding:10px;background:#fff;color:#173650}.interactive-practical-upload-empty{min-height:300px;display:grid;place-content:center;text-align:center;padding:30px;border:2px dashed #b9c7d1;border-radius:20px;color:#50697b}.interactive-practical-item{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center}.interactive-practical-learner{padding:24px;background:#fff;border-radius:22px}.interactive-practical-learner>header{border-bottom:3px solid #d8ad4a;margin-bottom:20px;padding-bottom:14px}.interactive-practical-palette{align-content:start}.interactive-practical-draggable{min-height:48px;border:1px solid #b9c7d1;border-radius:12px;background:#fff;color:#173650;font-weight:800;text-align:left;padding:12px}.interactive-practical-draggable.selected{border-color:#d8ad4a;box-shadow:0 0 0 3px rgba(216,173,74,.2)}.interactive-practical-draggable.locked{background:#eaf7ef;border-color:#3e8f5b}.interactive-practical-feedback{margin:18px 0 0;padding:12px 16px;border-left:4px solid #d8ad4a;background:#f7f3e8;color:#173650}.digital-workbook-shell--interactive-practical{max-width:1180px}@media(max-width:800px){.interactive-practical-author-grid,.interactive-practical-learner-grid{grid-template-columns:1fr}.interactive-practical-item{grid-template-columns:1fr}.interactive-practical-target{width:40px;height:40px}}
#learnerPortalContent .learner-theory-cinema>.digital-workbook-shell{margin:0;padding:clamp(28px,4vw,52px);border-top:1px solid #dce5eb;background:linear-gradient(145deg,#edf7f7,#f8fbfd)}.digital-workbook-shell>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.digital-workbook-shell>header p{margin:0;color:#9a7222;font-size:.72rem;font-weight:950;letter-spacing:.12em}.digital-workbook-shell>header h4{margin:5px 0;color:#0b2e4c;font-size:clamp(1.7rem,3vw,2.5rem)}.digital-workbook-shell>header>strong{padding:8px 12px;border-radius:999px;background:#0b2e4c;color:#fff}.digital-workbook-progress{height:7px;margin:20px 0;overflow:hidden;border-radius:999px;background:#d8e5e8}.digital-workbook-progress span{display:block;height:100%;background:linear-gradient(90deg,#0d8a77,#d5a529)}.digital-workbook-page{position:relative;display:grid;grid-template-columns:72px 1fr;gap:24px;max-width:1120px;margin:auto;padding:clamp(24px,4vw,46px);border:1px solid #dbe5e8;border-radius:24px;background:#fff;box-shadow:0 20px 50px rgba(11,46,76,.1)}.digital-workbook-page-number{display:grid;place-items:center;align-self:start;width:64px;height:64px;border-radius:18px;background:#0b2e4c;color:#e7c666;font-size:1.35rem;font-weight:950}.digital-workbook-page-content{display:grid;gap:18px;min-width:0}.digital-workbook-page-content>h4{margin:0;color:#0b2e4c;font-size:clamp(1.65rem,3vw,2.4rem)}.digital-workbook-page-content>h5{margin:8px 0 0;color:#173650;font-size:1.25rem}.digital-workbook-information,.digital-workbook-instruction,.digital-workbook-scenario,.digital-workbook-worked_example{padding:20px;border-left:5px solid #0d8a77;border-radius:14px;background:#eef8f6}.digital-workbook-worked_example{border-left-color:#d5a529;background:#fff8e7}.digital-workbook-scenario{border-left-color:#3b76a3;background:#eef5fb}.digital-workbook-page-content article p{margin:7px 0 0;color:#405a70;line-height:1.6}.digital-workbook-response{display:grid;gap:10px;padding:18px;border:1px solid #dbe4e9;border-radius:15px;background:#fafcfd;color:#173650;font-weight:800}.digital-workbook-response textarea{min-height:120px;resize:vertical}.digital-workbook-response input,.digital-workbook-response textarea{width:100%;padding:13px;border:1px solid #cbd8df;border-radius:10px;background:#fff;color:#173650}.digital-workbook-response label{display:flex;gap:10px;align-items:center;padding:12px;border-radius:10px;background:#fff}.digital-workbook-response label input{width:auto}.digital-workbook-shell>footer{display:flex;align-items:center;justify-content:space-between;gap:15px;max-width:1120px;margin:22px auto 0}.digital-workbook-shell>footer span{color:#667b8c;font-size:.78rem;font-weight:800}
.digital-workbook-author-block-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.digital-workbook-author-block-heading small{color:#9a7222;font-weight:900;text-transform:uppercase}.digital-workbook-visual{display:grid;gap:10px;margin:0;padding:16px;border:1px solid #d4e1e7;border-radius:18px;background:#f8fbfc}.digital-workbook-visual img{display:block;width:100%;max-height:420px;object-fit:contain;border-radius:12px;background:#eaf0f3}.digital-workbook-visual figcaption{color:#50697b;font-size:.82rem;line-height:1.5}.digital-workbook-diagram{border-color:#c5d9df;background:linear-gradient(145deg,#eff8f7,#f8fbfd)}.digital-workbook-diagram-title{color:#0b2e4c;font-size:1.05rem;font-weight:900}.digital-workbook-diagram-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.digital-workbook-diagram-items article{position:relative;display:grid;gap:5px;min-height:110px;padding:16px;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(11,46,76,.08)}.digital-workbook-diagram-items article>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0b2e4c;color:#fff;font-weight:900}.digital-workbook-diagram-items article strong{color:#173650}.digital-workbook-diagram-items article small{color:#5d7282;line-height:1.4}.digital-workbook-diagram-items.process_flow article:not(:last-child)::after{content:"→";position:absolute;right:-12px;top:42%;z-index:1;color:#0d8a77;font-size:1.35rem;font-weight:950}
@media(max-width:760px){.digital-workbook-author-intro{align-items:stretch;flex-direction:column;margin:0 16px 20px}.digital-workbook-page-tabs{grid-template-columns:1fr 1fr;padding:0 16px}.digital-workbook-author-page{margin:16px;padding:18px}.digital-workbook-page{grid-template-columns:1fr;padding:20px 16px}.digital-workbook-page-number{width:50px;height:50px}.digital-workbook-shell>footer{flex-wrap:wrap}.digital-workbook-shell>footer span{order:-1;width:100%;text-align:center}.digital-workbook-diagram-items{grid-template-columns:1fr}.digital-workbook-diagram-items.process_flow article:not(:last-child)::after{content:"↓";right:50%;top:auto;bottom:-18px}}
.digital-workbook-author-toolbar{display:flex;justify-content:flex-end;gap:4px;margin:0 28px 14px}.digital-workbook-author-toolbar button{padding:9px 16px;border:1px solid #cbd9df;background:#fff;color:#486173;font-weight:850}.digital-workbook-author-toolbar button:first-child{border-radius:999px 0 0 999px}.digital-workbook-author-toolbar button:last-child{border-radius:0 999px 999px 0}.digital-workbook-author-toolbar button.active{border-color:#0b2e4c;background:#0b2e4c;color:#fff}.digital-workbook-author-page.is-preview{max-width:1080px;margin-inline:auto}.digital-workbook-author-page.is-preview>.digital-workbook-page-content{padding-top:22px}.digital-workbook-author-page.is-preview .digital-workbook-activity :is(input,textarea){pointer-events:none;background:#fff}
.digital-workbook-section-heading{position:relative;margin:22px 0 0;padding:0 0 10px;color:#0b2e4c;font-size:1.35rem}.digital-workbook-section-heading::after{content:"";position:absolute;bottom:0;left:0;width:56px;height:3px;border-radius:9px;background:#0d8a77}.digital-workbook-callout{position:relative;padding:20px 22px 20px 72px;border:1px solid #cfe1e3;border-width:1px 0;background:#f3faf9}.digital-workbook-callout::before{content:"✓";position:absolute;left:22px;top:20px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0d8a77;color:#fff;font-weight:950}.digital-workbook-callout-label{display:block;color:#087966;font-size:.72rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.digital-workbook-callout p{margin:6px 0 0}.digital-workbook-callout.key-point,.digital-workbook-callout.remember{border-color:#ecd99e;background:#fffaf0}.digital-workbook-callout.key-point::before,.digital-workbook-callout.remember::before{content:"!";background:#d5a529;color:#0b2e4c}.digital-workbook-callout.safety{border-color:#efc4bd;background:#fff5f2}.digital-workbook-callout.safety::before{content:"!";background:#b84535}.digital-workbook-callout.worked-example{border-color:#c9d9e5;background:#f4f8fb}.digital-workbook-callout.worked-example::before{content:"→";background:#3b76a3}.digital-workbook-callout.scenario::before{content:"?";background:#0b2e4c}.digital-workbook-integrated-visual{display:grid;grid-template-columns:minmax(0,1fr);margin:6px 0}.digital-workbook-integrated-visual .digital-workbook-visual{padding:0;border:0;border-radius:0;background:transparent}.digital-workbook-integrated-visual .digital-workbook-visual img{max-height:460px;border-radius:4px}.digital-workbook-integrated-visual figcaption{padding-top:8px;border-top:1px solid #dce6ea}
.digital-workbook-activity{display:grid;gap:12px;margin-top:8px;padding:24px 0;border-top:1px solid #dce5e9;color:#173650}.digital-workbook-activity-number{width:max-content;padding:5px 10px;border-radius:999px;background:#e8f5f2;color:#087966;font-size:.7rem;font-weight:950;letter-spacing:.07em;text-transform:uppercase}.digital-workbook-activity h6,.digital-workbook-calculation h6{margin:0;color:#0b2e4c;font-size:1.2rem}.digital-workbook-activity-prompt{margin:0;color:#304e64;font-weight:750}.digital-workbook-written-response input,.digital-workbook-written-response textarea,.digital-workbook-calculation input,.digital-workbook-calculation textarea{width:100%;padding:14px;border:1px solid #bfcfd7;border-width:0 0 2px;border-radius:0;background:linear-gradient(#fff,#fbfcfd);color:#173650}.digital-workbook-written-response textarea,.digital-workbook-calculation textarea{min-height:118px;resize:vertical;background-image:repeating-linear-gradient(transparent,transparent 31px,#dfe8ec 32px)}.digital-workbook-choice{border:0;border-top:1px solid #dce5e9}.digital-workbook-choice legend{padding:0 0 10px;color:#173650;font-weight:850}.digital-workbook-choice label{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #dce5e9;background:#fff}.digital-workbook-choice label:has(input:checked){border-color:#0d8a77;background:#edf8f5}.digital-workbook-choice input{accent-color:#0d8a77}
.digital-workbook-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #d7e2e7}.digital-workbook-table-activity table{width:100%;min-width:560px;border-collapse:collapse}.digital-workbook-table-activity th{padding:12px 14px;background:#0b2e4c;color:#fff;text-align:left;font-size:.78rem}.digital-workbook-table-activity td{padding:12px 14px;border-top:1px solid #dce5e9;border-right:1px solid #e4ebee;color:#385369}.digital-workbook-table-activity tbody tr:nth-child(even){background:#f6fafb}.digital-workbook-table-activity td input{width:100%;min-width:110px;padding:9px;border:0;border-bottom:2px solid #0d8a77;background:#fff;color:#173650}.digital-workbook-calculation{padding:24px;border:1px solid #d5e1e6;border-left:5px solid #d5a529;background:#fbfcfd}.digital-workbook-calculation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.digital-workbook-calculation-head span{color:#9a7222;font-size:.7rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.digital-workbook-calculation code{padding:8px 12px;border-radius:4px;background:#0b2e4c;color:#fff;font-size:1rem}.digital-workbook-calculation dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1px;margin:4px 0;background:#dce5e9}.digital-workbook-calculation dl div{padding:12px;background:#fff}.digital-workbook-calculation dt{color:#667b8c;font-size:.72rem;font-weight:800}.digital-workbook-calculation dd{margin:4px 0 0;color:#0b2e4c;font-weight:900}.digital-workbook-calculation label{display:grid;gap:7px;color:#385369;font-weight:800}.digital-workbook-final-answer{grid-template-columns:minmax(120px,1fr) minmax(160px,260px) auto;align-items:end}.digital-workbook-final-answer input{grid-column:2}.digital-workbook-final-answer b{padding-bottom:12px}
@media(max-width:760px){.digital-workbook-author-toolbar{margin:0 16px 12px}.digital-workbook-callout{padding:18px 16px 18px 58px}.digital-workbook-callout::before{left:14px;top:17px}.digital-workbook-table-wrap{overflow:visible;border:0}.digital-workbook-table-activity table{min-width:0}.digital-workbook-table-activity thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.digital-workbook-table-activity tr{display:grid;margin-bottom:14px;border:1px solid #d7e2e7}.digital-workbook-table-activity td{display:grid;grid-template-columns:minmax(110px,38%) 1fr;gap:10px;border-right:0}.digital-workbook-table-activity td::before{content:attr(data-label);color:#0b2e4c;font-size:.72rem;font-weight:900}.digital-workbook-calculation{padding:18px}.digital-workbook-calculation-head{display:grid}.digital-workbook-final-answer{grid-template-columns:1fr auto}.digital-workbook-final-answer span{grid-column:1/-1}.digital-workbook-final-answer input{grid-column:1}}
.digital-worksheet-type-strip{display:flex;gap:10px;max-width:100%;margin:0 28px 18px;padding:4px 2px 12px;overflow-x:auto;scrollbar-width:thin}.digital-worksheet-type-strip button{flex:0 0 auto;padding:11px 16px;border:1px solid #c7d7de;border-radius:999px;background:#fff;color:#365269;font-weight:850;white-space:nowrap}.digital-worksheet-type-strip button.active{border-color:#0d8a77;background:#0d8a77;color:#fff;box-shadow:0 7px 20px rgba(13,138,119,.2)}.digital-worksheet-generate-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 28px 22px;padding:18px 20px;border-radius:16px;background:linear-gradient(135deg,#eef8f6,#f8fbfd)}.digital-worksheet-generate-row p{margin:0;color:#496276}.digital-worksheet-collection-title{margin:24px 28px 12px;color:#0b2e4c}.digital-worksheet-alignment{display:grid;gap:5px;margin:0 0 20px;padding:16px 18px;border-left:4px solid #d5a529;background:#fff9e9;color:#29495f}.digital-worksheet-alignment small{color:#8e6a1c;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.digital-worksheet-alignment span{color:#607483;font-size:.8rem}.digital-worksheet-tabs{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
@media(max-width:760px){.digital-worksheet-type-strip{margin-inline:16px}.digital-worksheet-generate-row{align-items:stretch;flex-direction:column;margin-inline:16px}.digital-worksheet-generate-row button{width:100%}.digital-worksheet-tabs{display:flex;overflow-x:auto}.digital-worksheet-tabs button{flex:0 0 180px}.digital-worksheets-author .theory-outcome-footer-actions{align-items:stretch;flex-direction:column}.digital-worksheets-author .theory-outcome-footer-actions>*{width:100%}}

/* Tutor carousel consumes the canonical published Lesson Builder card family. */
.tutor-teaching-workspace .tutor-lesson-carousel-track{grid-template-columns:minmax(210px,1fr) minmax(560px,680px) minmax(210px,1fr);align-items:center}
.tutor-teaching-workspace .tutor-lesson-carousel-card--adjacent{align-self:center}
.tutor-teaching-workspace .tutor-lesson-carousel-control{top:50%}
.tutor-teaching-workspace .tutor-lesson-carousel-control--previous{left:calc((100% - min(680px,48vw)) / 2)}
.tutor-teaching-workspace .tutor-lesson-carousel-control--next{right:calc((100% - min(680px,48vw)) / 2);left:auto;transform:translate(50%,-50%)}
.tutor-teaching-workspace .tutor-lesson-carousel-card--current{min-height:0}
.tutor-teaching-workspace .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-header{min-height:72px;padding:13px 22px}
.tutor-teaching-workspace .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-body{padding:16px}
.tutor-lesson-carousel-card--current .tutor-lesson-carousel-lessons{grid-template-columns:repeat(2,minmax(0,280px));justify-content:center;gap:18px}
.tutor-carousel-published-card{display:grid;gap:6px;width:100%;max-width:280px;min-width:0}.tutor-carousel-published-card-context{color:#7b621e;font-size:.64rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.tutor-carousel-published-card .cohort-progress-item-card{width:100%;min-width:0;margin:0}.tutor-carousel-published-card .cohort-progress-item-card__main{cursor:default}.tutor-carousel-published-card .cohort-progress-item-card__image{width:100%;height:auto;aspect-ratio:16/9}.tutor-carousel-published-card .cohort-progress-item-card__image img{width:100%;height:100%;object-fit:cover}.tutor-carousel-published-card .cohort-progress-item-card__description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.tutor-carousel-published-card .cohort-progress-alignment-badge{cursor:default}
.tutor-carousel-published-card-unavailable{display:grid;align-content:center;gap:7px;min-height:230px;padding:18px;border:1px dashed #c8d2df;border-radius:15px;background:#f6f8fb;color:#68778b}.tutor-carousel-published-card-unavailable small{font-size:.64rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.tutor-carousel-published-card-unavailable strong{color:#173760}.tutor-carousel-published-card-unavailable span{font-size:.72rem}
.tutor-lesson-carousel-card--adjacent{min-height:300px;opacity:.82}.tutor-lesson-carousel-card--adjacent .tutor-lesson-carousel-card-body{padding:14px}.tutor-lesson-carousel-card--adjacent .tutor-lesson-carousel-lessons{grid-template-columns:1fr;align-content:center;gap:10px}
.tutor-carousel-lesson-summary{display:grid;gap:5px;padding:13px;border:1px solid #d9e1ea;border-left:3px solid #c99a21;border-radius:10px;background:#f8fafc}.tutor-carousel-lesson-summary small{color:#80651d;font-size:.62rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.tutor-carousel-lesson-summary strong{color:#173760;font-size:.82rem;line-height:1.3}.tutor-carousel-lesson-summary span{color:#6c7b8d;font-size:.62rem;font-weight:800}.tutor-carousel-lesson-summary.is-unpublished{border-left-color:#aab5c3;background:#f4f6f8}
@media(max-width:1050px){.tutor-teaching-workspace .tutor-lesson-carousel-track{grid-template-columns:minmax(150px,.65fr) minmax(460px,600px) minmax(150px,.65fr)}.tutor-lesson-carousel-card--current .tutor-lesson-carousel-lessons{grid-template-columns:repeat(2,minmax(0,260px));gap:14px}.tutor-carousel-published-card{max-width:260px}.tutor-teaching-workspace .tutor-lesson-carousel-control--previous{left:calc((100% - min(600px,56vw)) / 2)}.tutor-teaching-workspace .tutor-lesson-carousel-control--next{right:calc((100% - min(600px,56vw)) / 2)}}
@media(max-width:700px){.tutor-teaching-workspace .tutor-lesson-carousel-track{grid-template-columns:minmax(0,1fr)}.tutor-lesson-carousel-card--current .tutor-lesson-carousel-lessons{grid-template-columns:minmax(0,280px);justify-content:center}.tutor-carousel-published-card{max-width:280px}.tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-body{padding:12px}.tutor-teaching-workspace .tutor-lesson-carousel-control--previous{left:8px}.tutor-teaching-workspace .tutor-lesson-carousel-control--next{right:8px;left:auto}}

/* Digital Worksheets Timeline V2: Event Bank into a structured timeline. */
.digital-workbook-timeline{padding:clamp(1rem,2.5vw,1.6rem);border:1px solid rgba(15,38,67,.14);border-radius:20px;background:#fff;box-shadow:0 16px 38px rgba(15,38,67,.08)}
.digital-workbook-timeline>header{margin-bottom:1.15rem}.digital-workbook-timeline>header>span,.digital-workbook-timeline-section-heading span{display:block;color:#9a7420;font-size:.7rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.digital-workbook-timeline>header h6{margin:.35rem 0 0;color:#0f2643;font-size:1.08rem;line-height:1.45}
.digital-workbook-timeline-bank{padding:1rem;border:1px solid #d8e3ea;border-radius:16px;background:linear-gradient(145deg,#f6f9fc,#eef4f7)}.digital-workbook-timeline-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.digital-workbook-timeline-section-heading h6{margin:.2rem 0 0;color:#0f2643;font-size:.93rem}.digital-workbook-timeline-section-heading small{padding:.3rem .6rem;border-radius:999px;background:#e7edf2;color:#53657a;font-size:.72rem;font-weight:850;white-space:nowrap}
.digital-workbook-timeline-bank-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.7rem;min-height:92px}.digital-workbook-timeline-bank.is-drop-target{border-color:#c8a64b;box-shadow:0 0 0 3px rgba(200,166,75,.18)}.digital-workbook-timeline-bank-empty{grid-column:1/-1;align-self:center;margin:0;color:#557080;font-size:.86rem;text-align:center}
.digital-workbook-timeline-event{display:grid;grid-template-columns:1.7rem minmax(0,1fr);align-items:start;gap:.55rem;min-width:0;padding:.78rem;border:1px solid #cfdae2;border-left:4px solid #c8a64b;border-radius:12px;background:#fff;box-shadow:0 6px 16px rgba(15,38,67,.07);cursor:grab;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.digital-workbook-timeline-event:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(15,38,67,.11)}.digital-workbook-timeline-event.is-dragging{opacity:.48;transform:scale(.98)}.digital-workbook-timeline-event.is-selected{border-color:#b9902d;box-shadow:0 0 0 3px rgba(200,166,75,.2)}.digital-workbook-timeline-grab{padding:0;border:0;background:transparent;color:#6b7890;font-size:1.05rem;letter-spacing:-.28em;cursor:grab}.digital-workbook-timeline-event-copy{min-width:0}.digital-workbook-timeline-event strong{display:block;color:#0f2643;line-height:1.3}.digital-workbook-timeline-event small{display:block;margin-top:.2rem;color:#5d6a7d;line-height:1.35}.digital-workbook-timeline-place{grid-column:1/-1;justify-self:start;padding:.38rem .62rem;border:1px solid #b9c8d3;border-radius:8px;background:#f8fbfd;color:#173b5d;font-size:.72rem;font-weight:850}.digital-workbook-timeline-controls{display:none}
.digital-workbook-timeline-builder{margin-top:1.35rem}.digital-workbook-timeline-builder ol{position:relative;display:grid;gap:.62rem;margin:0;padding:0;list-style:none}.digital-workbook-timeline-builder ol::before{content:"";position:absolute;top:1.8rem;bottom:1.8rem;left:1.42rem;width:2px;background:linear-gradient(#c8a64b,#0f6071);z-index:0}.digital-workbook-timeline-slot{position:relative;z-index:1;display:grid;grid-template-columns:3rem minmax(0,1fr);align-items:center;gap:.8rem;min-height:78px;padding:.55rem;border:1px dashed #bdcbd5;border-radius:14px;background:#fbfdfe;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.digital-workbook-timeline-slot:is(:hover,:focus-visible),.digital-workbook-timeline-slot.is-drop-target{outline:0;border-color:#c8a64b;background:#fffaf0;box-shadow:0 0 0 3px rgba(200,166,75,.16)}.digital-workbook-timeline-slot.is-occupied{border-style:solid;border-color:#d3dee5;background:#f8fbfd}.digital-workbook-timeline-position{display:grid;place-items:center;width:2.55rem;height:2.55rem;border:3px solid #fff;border-radius:50%;background:#0f2643;color:#fff;font-weight:900;font-variant-numeric:tabular-nums;box-shadow:0 0 0 1px #0f2643}.digital-workbook-timeline-slot-content{min-width:0}.digital-workbook-timeline-placeholder{display:block;padding:.9rem 1rem;border-radius:10px;color:#708091;font-size:.82rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.digital-workbook-timeline-slot .digital-workbook-timeline-event{cursor:grab}.digital-workbook-timeline-slot .digital-workbook-timeline-place{display:none}.digital-workbook-timeline-slot .digital-workbook-timeline-controls{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.2rem}.digital-workbook-timeline-controls button{min-height:2rem;padding:.35rem .55rem;border:1px solid #c8d3dc;border-radius:7px;background:#fff;color:#29465f;font-size:.68rem;font-weight:820}.digital-workbook-timeline-controls button:disabled{opacity:.38}.digital-workbook-timeline :is(button,[tabindex]):focus-visible{outline:3px solid rgba(200,166,75,.45);outline-offset:2px}.digital-workbook-timeline-help{margin:.9rem 0 0;color:#69768a;font-size:.82rem}
@media(max-width:600px){.digital-workbook-timeline{padding:.8rem}.digital-workbook-timeline-bank-grid{grid-template-columns:1fr}.digital-workbook-timeline-event{grid-template-columns:minmax(0,1fr)}.digital-workbook-timeline-grab{display:none}.digital-workbook-timeline-place{grid-column:1}.digital-workbook-timeline-slot{grid-template-columns:2.65rem minmax(0,1fr);gap:.5rem;padding:.45rem}.digital-workbook-timeline-position{width:2.35rem;height:2.35rem}.digital-workbook-timeline-controls button{flex:1 1 calc(50% - .35rem)}.digital-workbook-timeline-builder ol::before{left:1.27rem}.digital-workbook-timeline-section-heading{align-items:flex-start;flex-direction:column;gap:.45rem}.digital-workbook-timeline-section-heading small{align-self:flex-start}}
.parent-portal-v1,.parent-premium-welcome,.parent-premium-empty{width:min(100%,1480px);margin:0 auto}.parent-premium-welcome{min-height:calc(100vh - 150px);display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);overflow:hidden;border-radius:30px;background:#f5f1e8;box-shadow:0 28px 80px rgba(24,34,29,.14)}.parent-premium-welcome__content{display:flex;flex-direction:column;justify-content:center;padding:clamp(44px,7vw,110px);color:#173c31}.parent-premium-welcome__content h1{font-size:clamp(2.8rem,5.3vw,5.8rem);line-height:.94;letter-spacing:-.055em;margin:.25rem 0 1.2rem}.parent-premium-welcome__content h2{font-size:clamp(1.35rem,2vw,2rem);margin:0 0 .4rem}.parent-premium-welcome__content>p:last-of-type{max-width:580px;font-size:1.08rem;line-height:1.7;color:#52635d}.parent-premium-welcome__content .primary-action{align-self:flex-start;margin-top:1.5rem}.parent-premium-welcome__visual{position:relative;margin:0;min-height:620px}.parent-premium-welcome__visual img{width:100%;height:100%;object-fit:cover}.parent-premium-welcome__visual span{position:absolute;inset:0;background:linear-gradient(90deg,#f5f1e8 0%,rgba(245,241,232,.12) 27%,transparent 55%)}.parent-premium-empty{text-align:center;padding:clamp(60px,10vw,130px) 24px;border-radius:28px;background:linear-gradient(145deg,#f7f3eb,#edf5f0);color:#173c31}.parent-premium-empty>span{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 24px;border-radius:50%;background:#dcece3;font-size:2rem}.parent-premium-empty h1{font-size:clamp(2rem,4vw,4rem);margin:.4rem}.parent-premium-empty p{max-width:620px;margin:1rem auto 1.6rem;color:#586a63;line-height:1.7}.parent-premium-empty a{display:inline-flex;padding:14px 22px;border-radius:999px;background:#174c3a;color:white;font-weight:800;text-decoration:none}.parent-learner-selector{display:flex;gap:10px;margin:20px 0;overflow:auto}.parent-learner-selector button{min-width:220px;padding:14px 18px;text-align:left;border:1px solid #d9e1dc;border-radius:16px;background:white}.parent-learner-selector button.is-selected{border-color:#5f957d;background:#eaf5ef;box-shadow:inset 0 0 0 1px #5f957d}.parent-learner-selector span,.parent-learner-selector small{display:block}.parent-learner-selector span{font-weight:800;color:#173c31}.parent-learner-hero{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:30px;padding:32px;border-radius:28px;background:linear-gradient(125deg,#153d32,#275e4c);color:white}.parent-learner-hero>img{width:180px;height:180px;border-radius:22px;object-fit:cover}.parent-learner-hero h1{font-size:clamp(2.1rem,4vw,4.2rem);margin:.2rem 0}.parent-learner-hero>div>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.parent-learner-hero>div>div span{padding:8px 12px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.09)}.parent-today-learning,.parent-progress-section,.parent-progress-briefing{margin-top:24px;padding:clamp(22px,3vw,38px);border:1px solid #dde5e0;border-radius:26px;background:#fff}.parent-today-learning>header h2,.parent-progress-section h2,.parent-progress-briefing h2{font-size:clamp(1.8rem,3vw,3rem);margin:.25rem 0}.parent-today-learning>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}.parent-today-learning .cohort-progress-item-card{margin:0}.parent-today-unavailable{min-height:320px;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;border-radius:22px;background:linear-gradient(145deg,#edf1ee,#f8f6f0);color:#496058}.parent-today-unavailable span{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em}.parent-today-unavailable strong{font-size:1.45rem;margin:.6rem 0}.parent-progress-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:22px}.parent-progress-grid article{padding:20px;border-radius:18px;background:#eaf5ef;color:#173c31}.parent-progress-grid article.is-building{background:#f2f0eb;color:#676b67}.parent-progress-grid span,.parent-progress-grid strong,.parent-progress-grid small{display:block}.parent-progress-grid strong{font-size:1.6rem;margin:.65rem 0}.parent-progress-briefing{background:linear-gradient(145deg,#f6f1e7,#edf5ef)}.parent-briefing-report{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}.parent-briefing-report article{padding:20px;border-radius:18px;background:rgba(255,255,255,.82)}.parent-briefing-report article:first-child,.parent-briefing-report article:last-child{grid-column:1/-1}.parent-briefing-report span{font-weight:900;color:#174c3a}.parent-briefing-report p,.parent-briefing-report li{line-height:1.6;color:#40534b}.parent-briefing-placeholder{padding:26px;margin:20px 0;border:1px dashed #aac5b8;border-radius:18px;background:rgba(255,255,255,.55)}.parent-briefing-error{color:#a12c2c}.parent-progress-briefing>small{display:block;margin-top:14px;color:#64736d}
@media(max-width:900px){.parent-premium-welcome{grid-template-columns:1fr}.parent-premium-welcome__visual{min-height:320px;order:-1}.parent-premium-welcome__visual span{background:linear-gradient(0deg,#f5f1e8 0%,transparent 55%)}.parent-today-learning>div{grid-template-columns:1fr}.parent-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.parent-premium-welcome{border-radius:20px}.parent-premium-welcome__visual{min-height:240px}.parent-premium-welcome__content{padding:30px 22px 36px}.parent-premium-welcome__content h1{font-size:2.7rem}.parent-learner-hero{grid-template-columns:1fr;padding:22px}.parent-learner-hero>img{width:100%;height:210px}.parent-progress-grid,.parent-briefing-report{grid-template-columns:1fr}.parent-briefing-report article:first-child,.parent-briefing-report article:last-child{grid-column:auto}.parent-today-learning,.parent-progress-section,.parent-progress-briefing{padding:20px;border-radius:20px}}

/* Parent Portal V1.1 — opt the Parent experience into the established wide
   application canvas without changing the shared header or any data surface. */
body:has(.parent-portal-frame) .app-shell{
  --portal-header-inline:clamp(24px,2.2vw,32px);
  width:100%;
  max-width:none;
  padding-inline:clamp(24px,2.2vw,32px);
  box-sizing:border-box;
}
body:has(.parent-portal-frame) #employerView,
body:has(.parent-portal-frame) #employerView>.employer-panel,
.parent-portal-frame{
  width:100%;
  max-width:none;
  min-width:0;
  box-sizing:border-box;
}
.parent-portal-v1,
.parent-premium-welcome,
.parent-premium-empty{
  width:min(100%,1560px);
}
.parent-premium-empty{
  padding-inline:clamp(24px,6vw,84px);
}
.parent-premium-empty>*{
  max-width:680px;
  margin-inline:auto;
}
.parent-learner-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  grid-template-columns:clamp(170px,14vw,220px) minmax(0,1fr);
  gap:clamp(28px,3.2vw,52px);
  padding:clamp(32px,4vw,58px);
  border:1px solid rgba(220,181,80,.26);
  background:
    radial-gradient(circle at 92% 12%,rgba(220,181,80,.17),transparent 30%),
    linear-gradient(125deg,#092f27 0%,#12483a 48%,#1f5c48 100%);
  box-shadow:0 24px 60px rgba(8,47,39,.22);
}
.parent-learner-hero::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:auto 0 0;
  height:4px;
  background:linear-gradient(90deg,#d8ae45,rgba(216,174,69,.28) 48%,transparent 82%);
}
.parent-learner-hero>img{
  width:clamp(170px,14vw,220px);
  height:clamp(170px,14vw,220px);
  border:5px solid rgba(255,255,255,.92);
  border-radius:24px;
  box-shadow:0 18px 38px rgba(3,25,20,.28);
}
.parent-learner-hero .eyebrow{
  color:#e2ba55;
  letter-spacing:.14em;
}
.parent-learner-hero h1{
  color:#fff;
  text-shadow:0 2px 18px rgba(1,18,14,.28);
}
.parent-learner-hero>div>p:not(.eyebrow){
  color:rgba(255,255,255,.82);
  font-weight:750;
}
.parent-learner-hero>div>div span{
  border-color:rgba(255,255,255,.2);
  background:rgba(255,255,255,.08);
  color:#f7fbf9;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
@media(max-width:900px){
  body:has(.parent-portal-frame) .app-shell{
    --portal-header-inline:clamp(16px,3vw,24px);
    padding-inline:clamp(16px,3vw,24px);
  }
  .parent-learner-hero{
    grid-template-columns:160px minmax(0,1fr);
    gap:24px;
    padding:28px;
  }
  .parent-learner-hero>img{
    width:160px;
    height:160px;
  }
}
@media(max-width:540px){
  body:has(.parent-portal-frame) .app-shell{
    padding-inline:max(8px,env(safe-area-inset-left));
  }
  .parent-portal-frame,
  .parent-portal-v1,
  .parent-premium-welcome,
  .parent-premium-empty{
    max-width:100%;
    min-width:0;
  }
  .parent-learner-hero{
    grid-template-columns:minmax(0,1fr);
    gap:22px;
    padding:22px;
  }
  .parent-learner-hero>img{
    width:100%;
    height:210px;
    border-width:4px;
  }
}

/* Parent Portal V1.2 — parent-safe schedule carousel and briefing hierarchy. */
.parent-learning-carousel{overflow:hidden;padding:clamp(20px,2.4vw,34px)}
.parent-learning-carousel>header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.parent-learning-carousel>header>div:first-child{min-width:0}.parent-learning-carousel>header p{margin:.35rem 0 0;color:#5f7169}
.parent-session-controls{display:grid;grid-template-columns:auto minmax(150px,auto) auto;align-items:center;gap:10px}.parent-session-controls strong{text-align:center;color:#173c31}.parent-session-controls button{min-height:42px;padding:9px 13px;border:1px solid #cbd8d1;border-radius:999px;background:#fff;color:#174c3a;font-weight:850}.parent-session-controls button:not(:disabled):hover{border-color:#5f957d;background:#eef7f2}.parent-session-controls button:disabled{opacity:.38}
.parent-today-learning>.parent-session-carousel-track{display:grid;grid-template-columns:minmax(160px,.62fr) minmax(560px,1.8fr) minmax(160px,.62fr);align-items:center;gap:16px;margin-top:24px}
.parent-session-summary{display:grid;gap:9px;padding:20px;border:1px solid #e0e7e2;border-radius:18px;background:#f7f8f5;color:#68766f;opacity:.84}.parent-session-summary>span{color:#92721e;font-size:.68rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.parent-session-summary>strong{color:#29483d}.parent-session-summary>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.parent-session-selected{min-width:0;overflow:hidden;border:1px solid #cadbd2;border-radius:23px;background:linear-gradient(180deg,#f4faf6,#fff 24%);box-shadow:0 18px 44px rgba(24,76,58,.11)}.parent-session-selected>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 20px;border-bottom:1px solid #dce8e1}.parent-session-selected>header span{color:#92721e;font-size:.7rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.parent-session-selected>header strong{color:#173c31}.parent-session-selected>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:18px}.parent-session-selected .cohort-progress-item-card{width:100%;min-width:0;margin:0}.parent-session-selected .cohort-progress-item-card__image{width:100%;height:auto;aspect-ratio:16/9}.parent-session-selected .cohort-progress-item-card__image img{width:100%;height:100%;object-fit:cover}.parent-session-empty{margin-top:20px;padding:28px;border:1px dashed #bfcec6;border-radius:18px;background:#f7faf8;color:#5f7169}
.parent-progress-section{padding-block:clamp(20px,2.4vw,30px)}.parent-progress-section h2{font-size:clamp(1.65rem,2.5vw,2.5rem)}.parent-progress-grid{gap:10px;margin-top:18px}.parent-progress-grid article{padding:17px}
.parent-progress-briefing{padding:clamp(24px,3.5vw,48px);background:linear-gradient(145deg,#f7f3e9,#eaf4ee)}.parent-progress-briefing>header{max-width:850px}.parent-progress-briefing>header p:last-child{max-width:720px;color:#566961;line-height:1.65}.parent-briefing-report{grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}.parent-briefing-report article{grid-column:span 6;border:1px solid rgba(23,76,58,.08);box-shadow:0 9px 24px rgba(23,76,58,.06)}.parent-briefing-report article:first-child,.parent-briefing-report article:last-child{grid-column:auto}.parent-briefing-report .is-position,.parent-briefing-report .is-trajectory{grid-column:span 6}.parent-briefing-report .is-strength,.parent-briefing-report .is-development,.parent-briefing-report .is-next{grid-column:span 4}.parent-briefing-report .is-position{border-top:4px solid #315f4e}.parent-briefing-report .is-strength{border-top:4px solid #5f957d;background:#f5fbf7}.parent-briefing-report .is-development{border-top:4px solid #d2a840;background:#fffaf0}.parent-briefing-report .is-trajectory{border-top:4px solid #557b91}.parent-briefing-report .is-next{border-top:4px solid #806a9c;background:#faf8fc}
@media(max-width:1100px){.parent-today-learning>.parent-session-carousel-track{grid-template-columns:minmax(120px,.45fr) minmax(480px,1.6fr) minmax(120px,.45fr)}.parent-session-summary{padding:14px}.parent-session-summary small{display:none}}
@media(max-width:760px){.parent-learning-carousel>header{align-items:stretch;flex-direction:column}.parent-session-controls{grid-template-columns:auto 1fr auto}.parent-today-learning>.parent-session-carousel-track{display:block}.parent-session-summary{display:none}.parent-session-selected>div{grid-template-columns:1fr}.parent-briefing-report{grid-template-columns:1fr}.parent-briefing-report .is-position,.parent-briefing-report .is-strength,.parent-briefing-report .is-development,.parent-briefing-report .is-trajectory,.parent-briefing-report .is-next{grid-column:1}.parent-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.parent-session-controls button span{display:none}.parent-session-controls{grid-template-columns:42px minmax(0,1fr) 42px}.parent-session-controls button{padding:8px}.parent-session-selected>div{padding:12px}.parent-progress-grid{grid-template-columns:1fr}}

/* Parent Portal V1.3 — four-card learner insight hub and report views. */
.parent-learning-carousel>.parent-session-controls{width:min(100%,620px);margin:20px auto 0}
.parent-progress-section>header>p:last-child{margin:.45rem 0 0;color:#5f7169}
.parent-progress-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.parent-insight-card{display:flex;min-width:0;min-height:330px;overflow:hidden;position:relative;flex-direction:column;padding:0;border:1px solid #d9e4de;border-radius:24px;background:#fff;color:#173c31;text-align:left;box-shadow:0 14px 34px rgba(23,76,58,.09);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.parent-insight-card:hover,.parent-insight-card:focus-visible{transform:translateY(-3px);border-color:#74a18d;box-shadow:0 20px 44px rgba(23,76,58,.15)}
.parent-insight-card>img{width:100%;aspect-ratio:16/10;object-fit:cover}
.parent-insight-card>span{display:flex;flex:1;flex-direction:column;padding:19px}
.parent-insight-card small{color:#92721e;font-size:.7rem;font-style:normal;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.parent-insight-card strong{margin:.65rem 0 .25rem;font-size:clamp(1.65rem,2.3vw,2.3rem);letter-spacing:-.035em}
.parent-insight-card em{color:#62736b;font-size:.86rem;font-style:normal;line-height:1.45}
.parent-insight-card b{margin-top:auto;padding-top:18px;color:#174c3a;font-size:.83rem}
.parent-insight-card.is-building{background:#f7f6f2}
.parent-insight-card.is-building>img{filter:saturate(.72)}
.parent-insight-report{width:min(100%,1120px);margin:28px auto;padding:clamp(22px,3vw,40px);border:1px solid #d9e4de;border-radius:28px;background:#fff;box-shadow:0 24px 62px rgba(23,76,58,.11)}
.parent-insight-report__hero{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);min-height:280px;overflow:hidden;border-radius:22px;background:linear-gradient(135deg,#153d32,#275e4c);color:#fff}
.parent-insight-report__hero>img{width:100%;height:100%;min-height:280px;object-fit:cover}
.parent-insight-report__hero>div{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,5vw,64px)}
.parent-insight-report__hero .eyebrow{color:#d8b85d}.parent-insight-report__hero h1{margin:.3rem 0;font-size:clamp(2.5rem,5vw,5rem);letter-spacing:-.05em}.parent-insight-report__hero p:last-child{color:#dce9e3}
.parent-insight-report__sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}
.parent-insight-report__sections article{padding:22px;border:1px solid #e0e8e3;border-radius:18px;background:#f7faf8}
.parent-insight-report__sections article:first-child{border-top:4px solid #315f4e}.parent-insight-report__sections article:nth-child(2){border-top:4px solid #d2a840}
.parent-insight-report__sections span{color:#174c3a;font-weight:900}.parent-insight-report__sections p{margin:.65rem 0 0;color:#4f625a;line-height:1.65}
.parent-insight-report>small{display:block;color:#697970}
@media(max-width:900px){.parent-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.parent-insight-report__hero{grid-template-columns:1fr}.parent-insight-report__hero>img{max-height:300px}}
@media(max-width:540px){.parent-progress-grid{grid-template-columns:1fr}.parent-insight-card{min-height:0}.parent-insight-card>img{aspect-ratio:16/8}.parent-insight-report{padding:16px;border-radius:20px}.parent-insight-report__hero>img{min-height:210px}.parent-insight-report__sections{grid-template-columns:1fr}.parent-learning-carousel>.parent-session-controls{margin-top:16px}}

/* Parent Portal V1.4 — balanced carousel controls and cinematic report presentation. */
.parent-learning-carousel>.parent-session-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,440px);gap:12px}
.parent-session-controls button{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;text-transform:uppercase;letter-spacing:.06em}
.parent-session-controls button:disabled{visibility:visible;opacity:.34}
.parent-insight-report{isolation:isolate;position:relative;min-height:680px;overflow:hidden;padding:0;border:0;background:#173c31;color:#fff;box-shadow:0 30px 80px rgba(12,34,27,.26)}
.parent-insight-report__background,.parent-insight-report__wash{position:absolute;inset:0;width:100%;height:100%}
.parent-insight-report__background{z-index:-2;object-fit:cover;filter:saturate(.55) contrast(.82) brightness(.64);transform:scale(1.02)}
.parent-insight-report__wash{z-index:-1;background:linear-gradient(105deg,rgba(8,30,24,.96) 0%,rgba(13,47,37,.9) 52%,rgba(15,43,34,.68) 100%),linear-gradient(0deg,rgba(6,24,19,.82),transparent 55%)}
.parent-insight-report__content{display:flex;min-height:680px;flex-direction:column;padding:clamp(34px,5vw,74px)}
.parent-insight-report__content>header{max-width:760px}.parent-insight-report__content .eyebrow{color:#e0bf62}.parent-insight-report__content h1{margin:.25rem 0 0;color:#fff;font-size:clamp(2.6rem,5vw,5.4rem);letter-spacing:-.055em;line-height:.95}.parent-insight-report__content>header>p:last-child{margin:.9rem 0 0;color:#d8e5df}
.parent-insight-report__metric{display:block;margin:.75rem 0 0;color:#fff;font-size:clamp(3.4rem,8vw,7.8rem);font-weight:900;letter-spacing:-.07em;line-height:.9;text-transform:uppercase}
.parent-insight-report__sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:clamp(30px,5vw,60px) 0 26px;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:20px;background:rgba(255,255,255,.12);backdrop-filter:blur(14px)}
.parent-insight-report__sections article{padding:clamp(18px,2.2vw,28px);border:0;border-radius:0;background:rgba(10,35,28,.34);box-shadow:none}.parent-insight-report__sections article:first-child,.parent-insight-report__sections article:nth-child(2){border-top:0}.parent-insight-report__sections article:nth-child(odd){border-right:1px solid rgba(255,255,255,.13)}.parent-insight-report__sections article:nth-child(n+3){border-top:1px solid rgba(255,255,255,.13)}
.parent-insight-report__sections span{color:#edcf78;font-size:.73rem;letter-spacing:.09em;text-transform:uppercase}.parent-insight-report__sections p{color:#f3f7f5;font-size:.98rem;line-height:1.65}
.parent-insight-report__content>small{margin-top:auto;color:#d2dfd9}
.parent-progress-briefing{overflow:hidden;padding:0;border:0;background:#f2f5f2;box-shadow:0 24px 62px rgba(23,76,58,.13)}
.parent-briefing-hero{isolation:isolate;position:relative;min-height:430px;overflow:hidden;display:flex;align-items:center;padding:clamp(36px,6vw,82px);color:#fff}
.parent-briefing-hero>img,.parent-briefing-hero>span{position:absolute;inset:0;width:100%;height:100%}.parent-briefing-hero>img{z-index:-2;object-fit:cover;object-position:center 52%;filter:saturate(.65) contrast(.88) brightness(.62)}.parent-briefing-hero>span{z-index:-1;background:linear-gradient(90deg,rgba(9,35,28,.97) 0%,rgba(13,50,39,.88) 55%,rgba(10,34,28,.43) 100%)}
.parent-briefing-hero>header{max-width:790px}.parent-briefing-hero .eyebrow{color:#e1c068}.parent-briefing-hero h2{margin:.35rem 0 1rem;color:#fff;font-size:clamp(2.7rem,5vw,5.4rem);letter-spacing:-.055em;line-height:.96}.parent-briefing-hero header>p:not(.eyebrow):not(.parent-briefing-error){max-width:680px;color:#e5eee9;font-size:1.05rem;line-height:1.7}.parent-briefing-hero .primary-action{margin-top:25px;border-color:#d7b959;background:#d7b959;color:#173c31}.parent-briefing-hero small{display:block;max-width:700px;margin-top:18px;color:#cbdad3;line-height:1.5}
.parent-briefing-report{padding:clamp(24px,4vw,54px);margin:0;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;background:#f3f6f3}.parent-briefing-report article{padding:clamp(22px,2.7vw,34px);border:1px solid rgba(20,54,43,.08);box-shadow:0 12px 30px rgba(23,76,58,.07)}.parent-briefing-report article.is-position{grid-column:1/-1;padding:clamp(28px,4vw,48px);border-top:5px solid #1d5140;background:#fff}.parent-briefing-report .is-position span{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}.parent-briefing-report .is-position p{max-width:1000px;font-size:clamp(1.3rem,2vw,1.8rem);line-height:1.55}.parent-briefing-report .is-strength{background:#eaf5ef}.parent-briefing-report .is-development{background:#edf3f8}.parent-briefing-report .is-trajectory{background:#f7f2e7}.parent-briefing-report .is-next{background:#fbefe5}.parent-briefing-report article.is-strength,.parent-briefing-report article.is-development,.parent-briefing-report article.is-trajectory,.parent-briefing-report article.is-next{grid-column:span 6;border-top:0}.parent-briefing-report span{color:#173c31;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase}.parent-briefing-report p,.parent-briefing-report li{color:#354b42}
.parent-briefing-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 clamp(24px,4vw,54px) clamp(28px,4vw,50px)}.parent-briefing-actions .primary-action{background:#174c3a}.parent-briefing-actions small{max-width:620px;color:#64736d;line-height:1.5}.parent-briefing-error{margin-top:14px;color:#ffe0dc;font-weight:800}
@media(max-width:760px){.parent-insight-report{min-height:0}.parent-insight-report__content{min-height:0;padding:32px 22px}.parent-insight-report__sections{grid-template-columns:1fr}.parent-insight-report__sections article:nth-child(odd){border-right:0}.parent-insight-report__sections article:nth-child(n+2){border-top:1px solid rgba(255,255,255,.13)}.parent-briefing-hero{min-height:0;padding:46px 24px}.parent-briefing-report{grid-template-columns:1fr}.parent-briefing-report article.is-position,.parent-briefing-report article.is-strength,.parent-briefing-report article.is-development,.parent-briefing-report article.is-trajectory,.parent-briefing-report article.is-next{grid-column:1}.parent-briefing-actions{align-items:stretch;flex-direction:column}.parent-briefing-actions .primary-action{width:100%}}
@media(max-width:430px){.parent-learning-carousel>.parent-session-controls{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.parent-session-controls button span{display:inline}.parent-insight-report__metric{font-size:clamp(2.8rem,15vw,4.4rem)}.parent-insight-report__sections{margin-top:28px}.parent-briefing-hero h2{font-size:2.65rem}}

/* Interactive Lesson Engine V1 — local authoring and learner preview. */
.interactive-lesson-author{position:relative;overflow:hidden;border:1px solid #cbd9df;background:linear-gradient(180deg,#fff,#f5f8fa)}
.interactive-lesson-primary-action{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 28px 24px;padding:24px;border-radius:18px;background:linear-gradient(135deg,#0b2e4c,#123f60);color:#fff}.interactive-lesson-primary-action strong{font-size:1.2rem}.interactive-lesson-primary-action p{max-width:720px;margin:7px 0 0;color:#d7e5ed;line-height:1.55}.interactive-lesson-primary-action .primary-action{flex:0 0 auto;border-color:#d8b650;background:#d8b650;color:#102f47}
.interactive-lesson-modal-backdrop{position:fixed;z-index:3000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(5,20,33,.72);backdrop-filter:blur(7px)}.interactive-lesson-modal{width:min(620px,100%);padding:32px;border-radius:22px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.35)}.interactive-lesson-modal h3{margin:.35rem 0 1rem;color:#0b2e4c;font-size:1.75rem}.interactive-lesson-modal p:not(.eyebrow){color:#506879;line-height:1.65}
.interactive-lesson-readiness{display:flex;align-items:center;gap:18px;margin:0 28px 20px;padding:16px 20px;border:1px solid #d3e0e5;border-radius:16px;background:#fff}.interactive-lesson-readiness div{margin-right:auto}.interactive-lesson-readiness small{display:block;color:#7d6725;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.interactive-lesson-readiness strong{display:block;margin-top:4px;color:#0b2e4c}.interactive-lesson-readiness>span{padding:8px 12px;border-radius:999px;background:#eaf4f1;color:#17624f;font-size:.82rem;font-weight:850}
.interactive-lesson-page-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin:0 28px 18px}.interactive-lesson-page-nav button:last-child{justify-self:end}.interactive-lesson-page-nav strong{color:#0b2e4c}.interactive-lesson-page{margin-inline:28px}.interactive-lesson-page>header{display:grid;grid-template-columns:auto 1fr auto}.interactive-lesson-knowledge-transition{margin:24px;padding:22px;border-left:5px solid #d4ad3d;border-radius:12px;background:#fff7dc}.interactive-lesson-knowledge-transition h4{margin:.25rem 0;color:#0b2e4c}.interactive-lesson-component-unavailable{margin-top:18px;padding:18px;border:1px dashed #a9c8ba;border-radius:14px;background:#f5faf7;color:#355147}.interactive-lesson-component-unavailable h5{margin:.2rem 0;text-transform:capitalize}.interactive-lesson-component-unavailable p:last-child{margin-bottom:0}
@media(max-width:760px){.interactive-lesson-primary-action{align-items:stretch;flex-direction:column;margin-inline:16px}.interactive-lesson-primary-action .primary-action{width:100%}.interactive-lesson-readiness{align-items:flex-start;flex-direction:column;margin-inline:16px}.interactive-lesson-readiness div{margin-right:0}.interactive-lesson-page-nav{grid-template-columns:1fr 1fr;margin-inline:16px}.interactive-lesson-page-nav strong{grid-column:1/-1;grid-row:1;text-align:center}.interactive-lesson-page{margin-inline:16px}.interactive-lesson-page>header{grid-template-columns:auto 1fr}.interactive-lesson-page>header>b{grid-column:1/-1;width:max-content}.interactive-lesson-author .theory-outcome-footer-actions{align-items:stretch;flex-direction:column}.interactive-lesson-author .theory-outcome-footer-actions>*{width:100%}}

/* Interactive Lesson premium worksheet canvas. Author controls remain outside this surface. */
.interactive-worksheet-v2{--worksheet-accent:#c99b2e;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);gap:24px;width:min(100%,920px);min-height:650px;margin:0 auto;padding:38px;border:1px solid #d8e0e5;border-radius:6px;background:linear-gradient(135deg,rgba(201,155,46,.08),transparent 34%),#fff;box-shadow:0 22px 55px rgba(18,47,69,.14);color:#17364a}section.interactive-worksheet-v2[hidden]{display:none}.interactive-worksheet-v2__heading{grid-column:1/-1;border-bottom:3px solid var(--worksheet-accent);padding-bottom:18px}.interactive-worksheet-v2__heading>span{color:#86651c;font-size:.72rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.interactive-worksheet-v2__heading h4{margin:.35rem 0 .45rem;font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.08}.interactive-worksheet-v2__heading p{max-width:670px;margin:0;color:#526b79;line-height:1.55}.interactive-worksheet-visual{align-self:start;margin:0;padding:20px;border-radius:20px;background:#eef6f5}.interactive-worksheet-visual__canvas{position:relative;display:grid;gap:14px;min-height:280px;align-content:center}.interactive-worksheet-visual__canvas>i{position:absolute;z-index:0;left:17%;right:17%;top:50%;height:3px;background:linear-gradient(90deg,#b98c24,#1f7468)}.interactive-worksheet-visual__node{position:relative;z-index:1;display:grid;grid-template-columns:54px 1fr;align-items:center;gap:12px;padding:12px;border:1px solid #c9dcda;border-radius:15px;background:#fff;box-shadow:0 8px 20px rgba(13,60,69,.08)}.interactive-worksheet-visual__node b{display:grid;width:54px;aspect-ratio:1;place-items:center;border-radius:50%;background:#123f60;color:#fff;font-size:1.05rem}.interactive-worksheet-visual__node span{font-weight:850}.interactive-worksheet-visual figcaption{margin-top:12px;color:#49656c;font-size:.78rem;line-height:1.45}.interactive-worksheet-v2__activity{min-width:0}.interactive-worksheet-v2__task{margin:0 0 16px;padding:15px 17px;border-left:5px solid var(--worksheet-accent);border-radius:0 12px 12px 0;background:#fff7df;line-height:1.5}.interactive-worksheet-v2__task strong{display:block;color:#785b19;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}.interactive-worksheet-v2--classification{--worksheet-accent:#2c8074;grid-template-columns:1fr}.interactive-worksheet-v2--classification .interactive-worksheet-visual{display:none}.interactive-worksheet-v2--compare{--worksheet-accent:#4379a8}.interactive-worksheet-v2--site_scenario{--worksheet-accent:#c66d35}.interactive-worksheet-v2--knowledge_check{--worksheet-accent:#76539d}.interactive-worksheet-v2--summary{--worksheet-accent:#25836f}.interactive-worksheet-v2 .digital-workbook-integrated-visual{display:none}.interactive-worksheet-v2 .classification-sort{margin-top:16px}
@media(max-width:700px){.interactive-worksheet-v2{display:block;min-height:0;padding:20px;border-radius:0;box-shadow:none}.interactive-worksheet-v2__heading{margin-bottom:18px}.interactive-worksheet-v2__heading h4{font-size:1.65rem}.interactive-worksheet-visual{margin-bottom:18px;padding:14px}.interactive-worksheet-visual__canvas{min-height:210px}.interactive-worksheet-visual__node{grid-template-columns:44px 1fr}.interactive-worksheet-visual__node b{width:44px}.interactive-worksheet-v2__activity :is(input,textarea,select,button){max-width:100%}}
@media print{.interactive-worksheet-v2{width:190mm;min-height:270mm;padding:14mm;break-after:page;box-shadow:none}}
.interactive-worksheet-visual--concept_map .interactive-worksheet-visual__node b{font-size:.62rem;letter-spacing:-.02em}

/* Interactive Lesson Engine V1.1 — governed classification learning component. */
.classification-sort{margin-top:18px;padding:clamp(18px,2.6vw,30px);border:1px solid rgba(11,46,76,.14);border-radius:24px;background:linear-gradient(145deg,#f7fafb,#eef4f5);box-shadow:0 22px 54px rgba(11,46,76,.1)}
.classification-sort>header{max-width:760px}.classification-sort>header .eyebrow{margin:0;color:#9a7420;font-size:.7rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.classification-sort>header h5{margin:.35rem 0;color:#0b2e4c;font-size:clamp(1.25rem,2vw,1.7rem);line-height:1.25}.classification-sort>header small{color:#637886}
.classification-sort-bank{margin-top:20px;padding:16px;border:1px solid #d4e0e5;border-radius:18px;background:#fff}.classification-sort-bank>div:first-child{display:flex;justify-content:space-between;gap:16px;margin-bottom:12px;color:#0b2e4c}.classification-sort-bank>div:first-child span{color:#657886;font-size:.8rem;font-weight:800}
.classification-sort-items,.classification-sort-zone-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px;min-height:92px}.classification-sort-item{position:relative;display:grid;grid-template-rows:64px auto auto;align-items:center;justify-items:center;gap:7px;min-width:0;padding:12px;border:1px solid #ccd9df;border-radius:15px;background:#fff;color:#14344c;box-shadow:0 7px 18px rgba(11,46,76,.07);cursor:grab;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.classification-sort-item:hover{transform:translateY(-2px);box-shadow:0 11px 25px rgba(11,46,76,.12)}.classification-sort-item.is-selected{border-color:#c49b35;box-shadow:0 0 0 3px rgba(196,155,53,.22)}.classification-sort-item.is-dragging{opacity:.48}.classification-sort-item.is-correct{border-color:#4b9279}.classification-sort-item.is-incorrect{border-color:#d58a4c}.classification-sort-item strong{text-align:center;font-size:.85rem;line-height:1.25}.classification-sort-item button{min-height:30px;padding:4px 10px;border:1px solid #b9cbd2;border-radius:999px;background:#f5f8f9;color:#16415b;font-size:.7rem;font-weight:850}.classification-sort-item:focus-visible,.classification-sort-zone:focus-visible,.classification-sort-item button:focus-visible{outline:3px solid rgba(207,170,67,.58);outline-offset:3px}
.classification-sort-visual{position:relative;display:grid;place-items:center;width:62px;height:62px;border-radius:16px;background:linear-gradient(145deg,#e7eef1,#fff);box-shadow:inset 0 0 0 1px rgba(11,46,76,.09)}.classification-sort-visual i{display:block;width:34px;height:34px;border:5px solid #788b96;border-radius:50%}.classification-sort-visual.is-copper i{border-color:#b86b3e;box-shadow:0 0 0 4px #e7b08b inset}.classification-sort-visual.is-steel i{border-radius:5px;border-color:#7e8b91;background:linear-gradient(90deg,#b9c2c6,#6f7f86)}.classification-sort-visual.is-aluminium i{border:0;border-radius:4px;background:linear-gradient(135deg,#e7edef,#87969d);transform:rotate(45deg)}.classification-sort-visual.is-pvc i{border-radius:4px;border-color:#255b79;background:#eaf1f4}.classification-sort-visual.is-rubber i{border-color:#282f34;background:#525f66}.classification-sort-visual.is-timber i{border:0;border-radius:4px;background:repeating-linear-gradient(90deg,#ad7b47 0 5px,#d7a86e 5px 9px)}.classification-sort-visual.is-ceramic i{border-color:#d8dfe2;background:#fff}.classification-sort-visual.is-glass i{border-color:#8fc5d1;background:rgba(189,230,237,.45)}
.classification-sort-zones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.classification-sort-zone{min-height:220px;padding:16px;border:2px dashed #b7c8cf;border-radius:20px;background:rgba(255,255,255,.72);transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.classification-sort-zone:is(:hover,.is-drop-target){border-color:#c29b3c;background:#fffaf0;box-shadow:0 0 0 4px rgba(194,155,60,.13)}.classification-sort-zone>header{display:flex;align-items:center;gap:12px;margin-bottom:14px}.classification-sort-zone>header>span{width:10px;height:42px;border-radius:999px;background:#d2ae50}.classification-sort-zone:nth-child(2)>header>span{background:#1c6871}.classification-sort-zone header strong{display:block;color:#0b2e4c;font-size:1.08rem;letter-spacing:.04em;text-transform:uppercase}.classification-sort-zone header small{display:block;margin-top:2px;color:#687d88}.classification-sort-zone-items>p,.classification-sort-items>p{align-self:center;margin:auto;color:#788993;font-size:.82rem;text-align:center}
.classification-sort-actions{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin-top:18px}.classification-sort-actions span{color:#526c79;font-size:.86rem;text-align:center}.classification-sort-reinforcement{margin-top:18px;padding:17px 20px;border-left:5px solid #4b9279;border-radius:12px;background:#edf7f2;color:#254f42}.classification-sort-reinforcement p{margin:.4rem 0 0;line-height:1.55}
@media(max-width:700px){.classification-sort{padding:14px;border-radius:18px}.classification-sort-zones{grid-template-columns:1fr}.classification-sort-zone{min-height:150px}.classification-sort-items,.classification-sort-zone-items{grid-template-columns:repeat(2,minmax(0,1fr))}.classification-sort-item{grid-template-rows:50px auto auto;padding:9px}.classification-sort-visual{width:50px;height:50px}.classification-sort-visual i{width:28px;height:28px}.classification-sort-actions{grid-template-columns:1fr 1fr}.classification-sort-actions span{grid-column:1/-1;grid-row:1}.classification-sort-actions button{width:100%}}

/* Interactive Lesson V2 landscape workspace. Curriculum governance remains stored, but the large author panel is intentionally removed. */
.interactive-lesson-page>.digital-worksheet-alignment{display:none}
.interactive-lesson-page.is-preview{max-width:none;margin-inline:28px;padding:clamp(22px,2.2vw,34px)}
.interactive-lesson-page.is-preview>.digital-workbook-page-content{padding-top:18px}

/* Digital Worksheets V2 · Quick Check only */
.digital-workbook-author-page.is-quick-check-v2{max-width:none;padding:0;overflow:hidden;background:#edf3f6}.digital-workbook-author-page.is-quick-check-v2>header{display:none}.digital-workbook-author-page.is-quick-check-v2>.digital-workbook-page-content{padding:0}.digital-workbook-shell--quick-check{padding:clamp(18px,2.2vw,34px);background:linear-gradient(145deg,#e9f1f5,#f9fbfc)}.quick-check-v2{display:grid;grid-template-rows:auto 7px minmax(390px,1fr) auto;min-height:min(650px,calc(100vh - 118px));max-width:1240px;margin:0 auto;overflow:hidden;border:1px solid #d4e0e6;border-radius:28px;background:#fff;box-shadow:0 24px 64px rgba(11,46,76,.14)}.quick-check-v2>header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px clamp(24px,3vw,42px);background:#0b2e4c;color:#fff}.quick-check-v2>header p{margin:0 0 4px;color:#e7c666;font-size:.72rem;font-weight:950;letter-spacing:.14em;text-transform:uppercase}.quick-check-v2>header h4{margin:0;color:#fff;font-size:clamp(1.15rem,2vw,1.65rem)}.quick-check-v2>header strong{flex:0 0 auto;padding:8px 13px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.09);font-size:.78rem}.quick-check-v2__progress{overflow:hidden;background:#dce7eb}.quick-check-v2__progress span{display:block;height:100%;background:linear-gradient(90deg,#0d8a77,#d5a529);transition:width .2s ease}.quick-check-v2__question{display:grid;grid-template-columns:76px minmax(0,1fr);align-content:center;gap:clamp(22px,3vw,44px);padding:clamp(30px,4vw,58px);outline:none}.quick-check-v2__question>span{display:grid;place-items:center;align-self:start;width:68px;height:68px;border-radius:20px;background:#0b2e4c;color:#e7c666;font-size:1.4rem;font-weight:950}.quick-check-v2__question>.digital-workbook-activity{align-self:center;margin:0;padding:0;border:0}.quick-check-v2__question .digital-workbook-choice legend,.quick-check-v2__question .digital-workbook-activity-prompt{display:block;margin:0 0 24px;color:#0b2e4c;font-size:clamp(1.45rem,2.6vw,2.25rem);font-weight:900;line-height:1.18}.quick-check-v2__question .digital-workbook-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.quick-check-v2__question .digital-workbook-choice legend{grid-column:1/-1}.quick-check-v2__question .digital-workbook-choice label{min-height:68px;padding:16px 18px;border:2px solid #d7e1e6;border-radius:15px;background:#f8fafb;cursor:pointer;font-size:1rem;font-weight:800;transition:border-color .16s,background .16s,transform .16s}.quick-check-v2__question .digital-workbook-choice label:hover{border-color:#91b8b0;transform:translateY(-1px)}.quick-check-v2__question .digital-workbook-choice label:has(input:checked){border-color:#0d8a77;background:#e8f6f2;box-shadow:0 0 0 3px rgba(13,138,119,.1)}.quick-check-v2__question .digital-workbook-choice input{width:20px;height:20px;flex:0 0 20px}.quick-check-v2__question .digital-workbook-written-response input,.quick-check-v2__question .digital-workbook-written-response textarea{min-height:72px;padding:18px;border:2px solid #c9d7de;border-radius:14px;background:#fff;font-size:1.05rem}.quick-check-v2>footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px clamp(24px,3vw,42px);border-top:1px solid #dce5e9;background:#f8fafb}.quick-check-v2>footer small{color:#627888;font-weight:750;text-align:center}.quick-check-v2>footer button{min-width:126px}.quick-check-v2.is-author-preview{min-height:620px}.quick-check-v2.is-author-preview :is(input,textarea){pointer-events:none}.quick-check-v2 :is(button,input,textarea):focus-visible{outline:3px solid rgba(213,165,41,.55);outline-offset:3px}
@media(max-width:760px){.digital-workbook-shell--quick-check{padding:12px}.quick-check-v2{grid-template-rows:auto 6px auto auto;min-height:0;border-radius:20px}.quick-check-v2>header{align-items:flex-start;padding:18px;flex-direction:column;gap:12px}.quick-check-v2__question{grid-template-columns:1fr;gap:18px;padding:24px 18px}.quick-check-v2__question>span{width:52px;height:52px;border-radius:15px;font-size:1.05rem}.quick-check-v2__question .digital-workbook-choice{grid-template-columns:1fr}.quick-check-v2__question .digital-workbook-choice legend,.quick-check-v2__question .digital-workbook-activity-prompt{margin-bottom:16px;font-size:1.35rem}.quick-check-v2__question .digital-workbook-choice label{min-height:60px}.quick-check-v2>footer{display:grid;grid-template-columns:1fr 1fr;padding:16px 18px}.quick-check-v2>footer small{grid-column:1/-1;grid-row:1}.quick-check-v2>footer button{min-width:0}.quick-check-v2.is-author-preview{min-height:0}}
@media(prefers-reduced-motion:reduce){.quick-check-v2__progress span,.quick-check-v2__question .digital-workbook-choice label{transition:none}}

/* Digital Worksheets V3 · premium Quick Check learner experience only */
.digital-workbook-shell--quick-check{min-height:calc(100vh - 86px);padding:clamp(12px,1.6vw,24px);display:grid;background:#eef2f4}
.quick-check-v3{width:min(100%,1360px);min-height:calc(100vh - 118px);max-width:none;border-radius:22px;grid-template-rows:auto 9px minmax(0,1fr) auto;box-shadow:0 18px 48px rgba(11,46,76,.13)}
.quick-check-v3>header{min-height:82px;padding:16px clamp(26px,3.2vw,50px);background:#092b49}
.quick-check-v3>header p{margin-bottom:2px;font-size:.69rem;letter-spacing:.18em}
.quick-check-v3>header h4{font-size:clamp(1rem,1.5vw,1.3rem);font-weight:750}
.quick-check-v3__position{display:flex;align-items:center;gap:12px;color:#fff}
.quick-check-v3__position span{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(231,198,102,.55);border-radius:10px;color:#f1d77f;font-size:1rem;font-weight:950}
.quick-check-v3__position strong{padding:0;border:0;background:transparent;color:#fff;font-size:.82rem;letter-spacing:.04em;text-transform:uppercase}
.quick-check-v3 .quick-check-v2__progress{height:9px;background:#dce5e9}
.quick-check-v3 .quick-check-v2__progress span{background:#d0a52d;transition:width .22s ease-out}
.quick-check-v3 .quick-check-v2__question{display:grid;grid-template-columns:minmax(0,920px);place-content:center;padding:clamp(28px,4vh,54px) clamp(30px,7vw,96px);animation:quick-check-v3-enter .18s ease-out}
.quick-check-v3 .quick-check-v2__question>.digital-workbook-activity{width:100%}
.quick-check-v3 .digital-workbook-choice{counter-reset:quick-check-option;grid-template-columns:1fr;gap:12px}
.quick-check-v3 .digital-workbook-choice legend,.quick-check-v3 .digital-workbook-activity-prompt{max-width:880px;margin-bottom:clamp(22px,3.2vh,34px);color:#092b49;font-size:clamp(1.75rem,2.55vw,2.55rem);font-weight:900;line-height:1.16;letter-spacing:-.025em}
.quick-check-v3 .digital-workbook-choice label{counter-increment:quick-check-option;display:grid;grid-template-columns:42px 24px minmax(0,1fr);align-items:center;gap:12px;min-height:66px;padding:11px 20px 11px 12px;border:2px solid #d5dfe4;border-radius:13px;background:#fff;color:#173b55;font-size:1.02rem;font-weight:750;box-shadow:0 4px 12px rgba(11,46,76,.035);transition:border-color .14s ease,background-color .14s ease,box-shadow .14s ease,transform .14s ease}
.quick-check-v3 .digital-workbook-choice label::before{content:counter(quick-check-option,upper-alpha);display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#edf2f5;color:#264b65;font-size:.84rem;font-weight:950}
.quick-check-v3 .digital-workbook-choice label:hover{border-color:#9aadba;background:#f9fbfc;box-shadow:0 7px 18px rgba(11,46,76,.08);transform:translateY(-1px)}
.quick-check-v3 .digital-workbook-choice label:has(input:checked){border-color:#c89c24;background:#fffaf0;box-shadow:0 0 0 3px rgba(200,156,36,.14),0 8px 20px rgba(11,46,76,.08)}
.quick-check-v3 .digital-workbook-choice label:has(input:checked)::before{background:#092b49;color:#f1d77f}
.quick-check-v3 .digital-workbook-choice input{accent-color:#092b49}
.quick-check-v3 .digital-workbook-written-response input,.quick-check-v3 .digital-workbook-written-response textarea{width:100%;min-height:132px;padding:20px;border:2px solid #cbd7de;border-radius:13px;color:#092b49;font:inherit;font-size:1.08rem;line-height:1.55;box-shadow:inset 0 1px 2px rgba(11,46,76,.04)}
.quick-check-v3 .digital-workbook-written-response input:focus,.quick-check-v3 .digital-workbook-written-response textarea:focus{border-color:#c89c24;outline:3px solid rgba(200,156,36,.18);outline-offset:2px}
.quick-check-v3>footer{min-height:78px;padding:14px clamp(26px,3.2vw,50px);background:#f7f9fa}
.quick-check-v3>footer button{min-width:142px;min-height:48px;border-radius:11px;font-weight:900}
.quick-check-v3__next{box-shadow:0 7px 18px rgba(9,43,73,.16)}
.quick-check-v3__previous:disabled{opacity:.38}
@keyframes quick-check-v3-enter{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.digital-workbook-shell--quick-check{min-height:0;padding:8px}.quick-check-v3{min-height:calc(100vh - 76px);border-radius:16px;grid-template-rows:auto 7px minmax(0,1fr) auto}.quick-check-v3>header{min-height:72px;padding:13px 16px;flex-direction:row;align-items:center}.quick-check-v3>header h4{font-size:.95rem}.quick-check-v3__position{gap:8px}.quick-check-v3__position span{width:34px;height:34px}.quick-check-v3__position strong{font-size:.7rem}.quick-check-v3 .quick-check-v2__question{padding:24px 16px;place-content:start}.quick-check-v3 .digital-workbook-choice legend,.quick-check-v3 .digital-workbook-activity-prompt{font-size:clamp(1.45rem,6vw,1.8rem);margin-bottom:20px}.quick-check-v3 .digital-workbook-choice label{grid-template-columns:38px 22px minmax(0,1fr);min-height:62px;padding:9px 14px 9px 9px}.quick-check-v3 .digital-workbook-choice label::before{width:36px;height:36px}.quick-check-v3>footer{grid-template-columns:1fr 1.35fr;min-height:72px;padding:12px 14px}.quick-check-v3>footer button{min-width:0;min-height:46px}.quick-check-v3>footer small{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.quick-check-v3 .quick-check-v2__question{animation:none}.quick-check-v3 .quick-check-v2__progress span,.quick-check-v3 .digital-workbook-choice label{transition:none}}
.interactive-worksheet-v2{grid-template-columns:minmax(420px,1.12fr) minmax(340px,.88fr);grid-template-rows:auto 1fr;gap:clamp(22px,2.2vw,36px);width:100%;max-width:1680px;min-height:clamp(520px,68vh,760px);padding:clamp(28px,2.6vw,48px);border-radius:24px}
.interactive-worksheet-v2__heading h4{max-width:1100px;font-size:clamp(2rem,2.6vw,3.25rem)}
.interactive-worksheet-v2__heading p{max-width:900px;font-size:clamp(.98rem,1.15vw,1.14rem)}
.interactive-worksheet-visual{align-self:stretch;padding:clamp(22px,2.2vw,34px)}
.interactive-worksheet-visual__canvas{min-height:clamp(330px,45vh,520px)}
.interactive-worksheet-visual__node{grid-template-columns:68px 1fr;gap:16px;padding:16px}
.interactive-worksheet-visual__node b{width:68px;font-size:1.18rem}
.interactive-worksheet-visual__node span{font-size:1rem}
.interactive-worksheet-v2__task{padding:18px 20px;font-size:1.02rem}
.interactive-worksheet-v2--classification{grid-template-columns:1fr}
.interactive-worksheet-v2--calculation{grid-template-columns:minmax(380px,.8fr) minmax(460px,1.2fr)}
.interactive-worksheet-v2--sequence{grid-template-columns:minmax(320px,.68fr) minmax(520px,1.32fr)}
.interactive-worksheet-v2--site_scenario{grid-template-columns:minmax(460px,1.15fr) minmax(360px,.85fr)}
.interactive-worksheet-v2--spot_identify{grid-template-columns:minmax(480px,1.2fr) minmax(340px,.8fr)}
.interactive-worksheet-v2--knowledge_check{grid-template-columns:minmax(380px,.8fr) minmax(460px,1.2fr)}
.interactive-worksheet-v2 :is(input,textarea,select,button){font-size:max(.94rem,16px)}
@media(max-width:900px){.interactive-worksheet-v2,.interactive-worksheet-v2--calculation,.interactive-worksheet-v2--sequence,.interactive-worksheet-v2--site_scenario,.interactive-worksheet-v2--spot_identify,.interactive-worksheet-v2--knowledge_check{grid-template-columns:1fr;min-height:0}.interactive-worksheet-v2__heading{grid-column:1}.interactive-worksheet-visual__canvas{min-height:280px}}
@media(max-width:700px){.interactive-lesson-page.is-preview{margin-inline:16px;padding:18px 14px}.interactive-worksheet-v2{display:block;padding:20px;border-radius:18px}.interactive-worksheet-v2__heading h4{font-size:1.75rem}.interactive-worksheet-visual{padding:14px}.interactive-worksheet-visual__canvas{min-height:230px}.interactive-worksheet-visual__node{grid-template-columns:48px 1fr}.interactive-worksheet-visual__node b{width:48px}}

/* Lesson Card Designer premium visual treatment. Field structure and behaviour are unchanged. */
.lesson-card-designer{border-color:rgba(11,31,77,.14);border-left:4px solid #c8a96b;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);box-shadow:0 18px 44px rgba(7,27,77,.09)}
.lesson-card-designer>header{padding-bottom:20px;border-bottom:1px solid rgba(11,31,77,.09)}
.lesson-card-designer>header .eyebrow{color:#9a7026;font-size:.7rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.lesson-card-designer>header h4{margin-top:4px;color:var(--navy);font-size:clamp(1.45rem,2.3vw,1.85rem);letter-spacing:-.02em}
.lesson-card-designer>header p:last-child{max-width:720px;margin-top:6px;color:#5f6f82;line-height:1.55}
.lesson-card-designer__fields{align-content:start}
.lesson-card-designer__fields label{gap:9px;padding:16px;border:1px solid rgba(11,31,77,.12);border-radius:13px;background:#fff;color:var(--navy);font-size:.78rem;font-weight:900;letter-spacing:.015em;box-shadow:0 6px 18px rgba(7,27,77,.035)}
.lesson-card-designer__fields input,.lesson-card-designer__fields textarea{min-width:0;padding:12px 13px;border:1px solid rgba(11,31,77,.22);border-radius:10px;background:#fff;color:var(--navy);font:inherit;font-size:.92rem;font-weight:600;line-height:1.5;box-shadow:inset 0 1px 2px rgba(7,27,77,.025);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.lesson-card-designer__fields textarea{min-height:112px}
.lesson-card-designer__fields input:hover,.lesson-card-designer__fields textarea:hover{border-color:rgba(154,112,38,.55)}
.lesson-card-designer__fields input:focus-visible,.lesson-card-designer__fields textarea:focus-visible{outline:3px solid rgba(200,169,107,.38);outline-offset:2px;border-color:#9a7026;box-shadow:0 0 0 1px rgba(154,112,38,.08)}
.lesson-card-designer__fields input[readonly]{border-color:rgba(11,31,77,.12);background:#f4f6f8;color:#526175;box-shadow:none;cursor:default}
.lesson-card-designer__fields input[type="file"]{padding:7px;background:#f8fafc;color:#5f6f82;font-size:.82rem}
.lesson-card-designer__fields input[type="file"]::file-selector-button{min-height:38px;margin-right:12px;padding:8px 14px;border:1px solid #0b1f4d;border-radius:8px;background:#0b1f4d;color:#fff;font:inherit;font-size:.78rem;font-weight:850;cursor:pointer;transition:background .16s ease,border-color .16s ease}
.lesson-card-designer__fields input[type="file"]::file-selector-button:hover{border-color:#173f68;background:#173f68}
.lesson-card-designer__fields label>span{color:#718092;font-size:.7rem;font-weight:650;letter-spacing:0;line-height:1.45}
.lesson-card-designer__fields>.tertiary-action{justify-self:start;margin-top:-8px;border-color:rgba(154,112,38,.4);color:#76571e}
.lesson-card-designer__preview{border-color:rgba(11,31,77,.14);box-shadow:0 20px 42px rgba(10,36,60,.14)}
@media(max-width:540px){.lesson-card-designer{padding:20px 16px}.lesson-card-designer__fields label{padding:14px}.lesson-card-designer__fields input[type="file"]::file-selector-button{display:block;width:100%;margin:0 0 8px}}

/* Lesson Card Designer V2 — the canonical card is the centre of the authoring experience. */
.lesson-card-designer--v2{--designer-gold:#c8a96b;--designer-navy:#0b1f4d;overflow:hidden;padding:clamp(26px,3.2vw,48px);background:radial-gradient(circle at 50% 46%,rgba(200,169,107,.13),transparent 30%),linear-gradient(145deg,#f8fafc,#eef3f6);border-left-width:1px}
.lesson-card-designer--v2>header{max-width:760px;margin:0 auto 34px;padding:0 0 22px;text-align:center}
.lesson-card-designer--v2>header .eyebrow{color:#8c681f}.lesson-card-designer--v2>header h4{font-size:clamp(1.8rem,3vw,2.55rem)}
.lesson-card-designer__workspace{position:relative;display:grid;grid-template-columns:minmax(185px,1fr) 62px minmax(360px,480px) 62px minmax(185px,1fr);grid-template-areas:"title title image description description" "what . card . why" ". outcome outcome outcome .";align-items:center;gap:28px 10px;max-width:1320px;min-height:680px;margin:0 auto;padding:24px}
.lesson-card-designer__connectors{position:absolute;inset:0;z-index:0;pointer-events:none}.lesson-card-designer__connectors i{position:absolute;display:block;height:1px;background:linear-gradient(90deg,transparent,var(--designer-gold),transparent);opacity:.7;transform-origin:center}.lesson-card-designer__connectors i::after{content:"";position:absolute;top:-3px;right:12%;width:7px;height:7px;border-radius:50%;background:var(--designer-gold);box-shadow:0 0 0 4px rgba(200,169,107,.15)}
.lesson-card-designer__connectors i:nth-child(1){top:26%;left:24%;width:24%;transform:rotate(20deg)}.lesson-card-designer__connectors i:nth-child(2){top:20%;left:39%;width:22%;transform:rotate(90deg)}.lesson-card-designer__connectors i:nth-child(3){top:26%;right:24%;width:24%;transform:rotate(-20deg)}.lesson-card-designer__connectors i:nth-child(4){top:51%;left:18%;width:25%}.lesson-card-designer__connectors i:nth-child(5){top:51%;right:18%;width:25%}.lesson-card-designer__connectors i:nth-child(6){bottom:23%;left:39%;width:22%;transform:rotate(90deg)}
.lesson-card-designer__node{position:relative;z-index:2;width:min(100%,300px);justify-self:center;border:1px solid rgba(11,31,77,.13);border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 12px 32px rgba(7,27,77,.09);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.lesson-card-designer__node--image{grid-area:image}.lesson-card-designer__node--title{grid-area:title;justify-self:end}.lesson-card-designer__node--description{grid-area:description;justify-self:start}.lesson-card-designer__node--what{grid-area:what;justify-self:end}.lesson-card-designer__node--why{grid-area:why;justify-self:start}.lesson-card-designer__node--outcome{grid-area:outcome;width:min(100%,420px)}
.lesson-card-designer__node:hover,.lesson-card-designer__node[open]{border-color:rgba(154,112,38,.58);box-shadow:0 18px 42px rgba(7,27,77,.13);transform:translateY(-2px)}
.lesson-card-designer__node>summary{position:relative;display:grid;grid-template-columns:12px 1fr;gap:2px 10px;padding:15px 17px;cursor:pointer;list-style:none}.lesson-card-designer__node>summary::-webkit-details-marker{display:none}.lesson-card-designer__node>summary>span{grid-row:1/3;align-self:center;width:9px;height:9px;border-radius:50%;background:var(--designer-gold);box-shadow:0 0 0 5px rgba(200,169,107,.16)}.lesson-card-designer__node>summary strong{color:var(--designer-navy);font-size:.84rem;letter-spacing:.045em;text-transform:uppercase}.lesson-card-designer__node>summary small{color:#718092;font-size:.68rem}.lesson-card-designer__node>summary:focus-visible{outline:3px solid rgba(200,169,107,.45);outline-offset:3px;border-radius:14px}
.lesson-card-designer__editor{display:grid;gap:11px;padding:0 16px 16px;border-top:1px solid rgba(11,31,77,.08)}.lesson-card-designer__editor label{display:grid;gap:7px;padding-top:14px;color:var(--designer-navy);font-size:.75rem;font-weight:900}.lesson-card-designer__editor label>span{color:var(--designer-navy)}.lesson-card-designer__editor label>small{color:#718092;font-weight:650;line-height:1.4}
.lesson-card-designer__editor :is(input,textarea){width:100%;min-width:0;padding:11px 12px;border:1px solid rgba(11,31,77,.22);border-radius:10px;background:#fff;color:var(--designer-navy);font:inherit;font-size:max(.88rem,16px);line-height:1.45}.lesson-card-designer__editor textarea{min-height:112px;resize:vertical}.lesson-card-designer__editor :is(input,textarea):focus-visible{outline:3px solid rgba(200,169,107,.38);outline-offset:2px;border-color:#9a7026}.lesson-card-designer__editor input[type="file"]{padding:7px;background:#f8fafc}.lesson-card-designer__editor input[type="file"]::file-selector-button{min-height:38px;margin-right:10px;padding:8px 12px;border:1px solid var(--designer-navy);border-radius:8px;background:var(--designer-navy);color:#fff;font:inherit;font-size:.75rem;font-weight:850;cursor:pointer}.lesson-card-designer__editor .tertiary-action{justify-self:start}
.lesson-card-designer--v2 .lesson-card-designer__preview{position:relative;z-index:3;grid-area:card;align-self:center;width:100%;overflow:hidden;border:1px solid rgba(11,31,77,.16);border-radius:22px;background:#fff;box-shadow:0 34px 72px rgba(7,27,77,.22),0 0 0 8px rgba(255,255,255,.68);transform:none}
.lesson-card-designer__preview-head{display:grid;gap:7px;padding:22px 24px;background:linear-gradient(135deg,#0b2e4c,#153f60);color:#fff}.lesson-card-designer__preview-head small{color:#d6b85f}.lesson-card-designer__preview-head strong{font-size:clamp(1.15rem,2vw,1.45rem);line-height:1.2}
.lesson-card-designer__preview-media{position:relative;display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;padding:0;background:linear-gradient(145deg,#e9eef2,#f8fafb)}.lesson-card-designer__preview-media img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.lesson-card-designer__preview-media>span{position:relative;z-index:1;max-width:78%;padding:9px 12px;border-radius:999px;background:rgba(11,31,77,.88);color:#fff;font-size:.72rem;font-weight:800;text-align:center}.lesson-card-designer__preview-media.has-image>span{opacity:0}.lesson-card-designer__preview-media.is-loading img,.lesson-card-designer__preview-media.is-error img{opacity:0}.lesson-card-designer__preview-media.is-loading::before{content:"";position:absolute;width:32px;height:32px;border:3px solid rgba(11,31,77,.17);border-top-color:var(--designer-gold);border-radius:50%;animation:lesson-card-spin .8s linear infinite}.lesson-card-designer__preview-media.is-loading>span{margin-top:58px;background:transparent;color:#53687a}.lesson-card-designer__preview-media.is-error{background:linear-gradient(145deg,#f2f4f6,#e7ecef)}
.lesson-card-designer--v2 .lesson-card-designer__preview>p{min-height:92px;padding:20px 22px;color:#53687a;font-size:.82rem;line-height:1.55}.lesson-card-designer--v2 .lesson-card-designer__preview footer{padding:14px 18px}.lesson-card-designer--v2 .lesson-card-designer__preview footer img{position:static;width:50px;height:36px}
@keyframes lesson-card-spin{to{transform:rotate(360deg)}}
@media(max-width:1120px){.lesson-card-designer__workspace{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"card card" "image title" "description what" "why outcome";min-height:0;gap:16px}.lesson-card-designer__connectors{display:none}.lesson-card-designer__node,.lesson-card-designer__node--title,.lesson-card-designer__node--description,.lesson-card-designer__node--what,.lesson-card-designer__node--why{width:100%;justify-self:stretch}.lesson-card-designer__node--outcome{width:100%}.lesson-card-designer--v2 .lesson-card-designer__preview{width:min(100%,520px);justify-self:center;margin-bottom:16px}}
@media(max-width:680px){.lesson-card-designer--v2{padding:22px 14px}.lesson-card-designer--v2>header{margin-bottom:20px;text-align:left}.lesson-card-designer__workspace{grid-template-columns:1fr;grid-template-areas:"card" "image" "title" "description" "what" "why" "outcome";padding:0}.lesson-card-designer__node{width:100%}.lesson-card-designer__node:hover,.lesson-card-designer__node[open]{transform:none}.lesson-card-designer--v2 .lesson-card-designer__preview{border-radius:18px;box-shadow:0 20px 44px rgba(7,27,77,.17)}.lesson-card-designer__editor input[type="file"]::file-selector-button{display:block;width:100%;margin:0 0 8px}}
@media(prefers-reduced-motion:reduce){.lesson-card-designer__preview-media.is-loading::before{animation:none}.lesson-card-designer__node{transition:none}}

/* Interactive Practical Designer — premium, image-led authoring workspace. */
.interactive-practical-designer{--ip-navy:#0b1f4d;--ip-gold:#c8a96b;overflow:hidden;padding:clamp(24px,3vw,44px);border:1px solid rgba(11,31,77,.13);border-left:4px solid var(--ip-gold);border-radius:20px;background:radial-gradient(circle at 50% 42%,rgba(200,169,107,.12),transparent 35%),linear-gradient(145deg,#f8fafc,#edf2f5);box-shadow:0 20px 48px rgba(7,27,77,.1)}
.interactive-practical-designer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;max-width:1220px;margin:0 auto 28px;padding-bottom:22px;border-bottom:1px solid rgba(11,31,77,.12)}
.interactive-practical-designer-heading>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.interactive-practical-designer-heading .eyebrow{margin:0 0 4px;color:#8c681f;font-size:.7rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.interactive-practical-designer-heading h4{margin:0;color:var(--ip-navy);font-size:clamp(1.65rem,2.7vw,2.35rem);letter-spacing:-.025em}.interactive-practical-designer-heading p:last-child{margin:6px 0 0;color:#607083;line-height:1.5}.interactive-practical-save-status{display:inline-flex;align-items:center;gap:7px;color:#607083;font-size:.76rem;font-weight:800}.interactive-practical-save-status::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ip-gold);box-shadow:0 0 0 4px rgba(200,169,107,.16)}
.interactive-practical-designer-workspace{display:grid;gap:22px;max-width:1220px;margin:0 auto}.interactive-practical-connected-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.interactive-practical-connected-controls .lesson-card-designer__node{width:100%;height:max-content}.interactive-practical-control-node--mode{position:relative}.interactive-practical-control-node--mode::after{content:"";position:absolute;top:50%;right:100%;width:15px;height:1px;background:var(--ip-gold);opacity:.65}
.interactive-practical-canvas-shell{overflow:hidden;border:1px solid rgba(11,31,77,.15);border-radius:20px;background:#fff;box-shadow:0 26px 58px rgba(7,27,77,.16),0 0 0 7px rgba(255,255,255,.62)}.interactive-practical-canvas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;background:linear-gradient(135deg,#0b2e4c,#153f60);color:#fff}.interactive-practical-canvas-toolbar>div:last-child{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.interactive-practical-canvas-toolbar small{display:block;color:#d8bd69;font-weight:850;text-transform:uppercase;letter-spacing:.09em}.interactive-practical-canvas-toolbar strong{display:block;margin-top:3px;font-size:1rem}.interactive-practical-canvas-toolbar .secondary-action{border-color:rgba(255,255,255,.45);background:#fff;color:var(--ip-navy)}.interactive-practical-canvas-toolbar .secondary-action.active{border-color:var(--ip-gold);background:var(--ip-gold);color:var(--ip-navy)}
.interactive-practical-designer .interactive-practical-canvas{position:relative;width:100%;min-height:0;background:#e8edf1}.interactive-practical-designer .interactive-practical-canvas img{display:block;width:100%;height:auto;min-height:0;max-height:680px;object-fit:contain}.interactive-practical-designer .interactive-practical-canvas.is-placing{cursor:crosshair}.interactive-practical-canvas-hint{margin:0;padding:11px 18px;border-top:1px solid rgba(11,31,77,.08);color:#68788a;font-size:.77rem;text-align:center}
.interactive-practical-designer .interactive-practical-target{width:32px;height:32px;border:2px solid #fff;background:var(--ip-navy);color:#fff;box-shadow:0 5px 15px rgba(7,27,77,.34),0 0 0 3px rgba(200,169,107,.78);transition:transform .15s ease,box-shadow .15s ease}.interactive-practical-designer .interactive-practical-target:hover{transform:translate(-50%,-50%) scale(1.08)}.interactive-practical-designer .interactive-practical-target.selected{background:var(--ip-gold);color:var(--ip-navy);box-shadow:0 7px 20px rgba(7,27,77,.4),0 0 0 5px rgba(200,169,107,.32)}
.premium-empty-canvas{display:grid;place-items:center;min-height:440px;padding:54px 24px;border:1px dashed rgba(11,31,77,.28);border-radius:20px;background:linear-gradient(145deg,#fff,#f2f5f7);text-align:center}.premium-empty-canvas>span{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:var(--ip-navy);color:var(--ip-gold);font-size:2rem;box-shadow:0 12px 28px rgba(7,27,77,.18)}.premium-empty-canvas h5{margin:18px 0 3px;color:var(--ip-navy);font-size:1.25rem}.premium-empty-canvas p{margin:0 0 18px;color:#68788a}
.interactive-practical-designer-lower{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(420px,1.28fr);gap:16px;align-items:start}.interactive-practical-designer-lower .lesson-card-designer__node{width:100%}.interactive-practical-target-prompt,.premium-item-panel{padding:18px;border:1px solid rgba(11,31,77,.13);border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(7,27,77,.07)}.interactive-practical-target-prompt strong{color:var(--ip-navy)}.interactive-practical-target-prompt p{margin:5px 0 0;color:#68788a;font-size:.82rem;line-height:1.5}.interactive-practical-target-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.interactive-practical-target-editor>details,.interactive-practical-property-actions{grid-column:1/-1}.interactive-practical-property-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:5px}.premium-item-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.premium-item-panel .eyebrow{margin:0;color:#8c681f;font-size:.66rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.premium-item-panel header strong{display:block;margin-top:3px;color:var(--ip-navy)}.premium-item-panel .interactive-practical-item{display:grid;grid-template-columns:22px minmax(140px,1fr) minmax(140px,.8fr) auto;align-items:center;gap:9px;padding:9px 0;border-top:1px solid rgba(11,31,77,.08)}.premium-item-panel .interactive-practical-item>span{color:var(--ip-gold);font-weight:900}.premium-item-panel :is(input,select){min-width:0;padding:9px 10px;border:1px solid rgba(11,31,77,.2);border-radius:9px;background:#fff;color:var(--ip-navy);font:inherit;font-size:max(.8rem,16px)}.interactive-practical-items-empty{margin:0;color:#718092;font-size:.8rem}
.interactive-practical-mode-selector{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding-top:14px}.interactive-practical-mode-selector button{min-height:38px;padding:7px;border:1px solid rgba(11,31,77,.18);border-radius:8px;background:#f4f7f9;color:var(--ip-navy);font:inherit;font-size:.76rem;font-weight:850;cursor:pointer}.interactive-practical-mode-selector button.active{border-color:var(--ip-gold);background:var(--ip-navy);color:#fff;box-shadow:inset 0 -2px 0 var(--ip-gold)}.interactive-practical-stage-note{color:#718092;line-height:1.4}
.interactive-practical-preview-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:rgba(4,17,35,.72);backdrop-filter:blur(6px)}.interactive-practical-preview-dialog{width:min(100%,1080px);max-height:calc(100vh - 48px);overflow:auto;border-radius:20px;background:#eef2f4;box-shadow:0 28px 90px rgba(0,0,0,.38)}.interactive-practical-preview-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;background:var(--ip-navy);color:#fff}.interactive-practical-preview-dialog h4,.interactive-practical-preview-dialog p{margin:0}.interactive-practical-preview-dialog .eyebrow{color:#d8bd69;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase}.interactive-practical-preview-dialog>[data-interactive-practical-learner]{margin:22px}
@media(max-width:900px){.interactive-practical-connected-controls,.interactive-practical-designer-lower{grid-template-columns:1fr}.interactive-practical-control-node--mode::after{display:none}.interactive-practical-designer-heading{align-items:stretch;flex-direction:column}.interactive-practical-designer-heading>div:last-child{justify-content:flex-start}.premium-empty-canvas{min-height:330px}}
@media(max-width:620px){.interactive-practical-designer{padding:20px 13px}.interactive-practical-canvas-toolbar{align-items:flex-start;flex-direction:column}.interactive-practical-canvas-toolbar>div:last-child{width:100%}.interactive-practical-target-editor{grid-template-columns:1fr}.premium-item-panel .interactive-practical-item{grid-template-columns:20px 1fr}.premium-item-panel .interactive-practical-item :is(select,.text-action){grid-column:2}.interactive-practical-preview-backdrop{padding:8px}.interactive-practical-preview-dialog{max-height:calc(100vh - 16px)}}

/* Interactive Practical Designer V2 — full-width national training authoring studio. */
.digital-workbook-author-page:has(.interactive-practical-designer){max-width:none;margin-inline:0;padding:0;border:0;background:transparent;box-shadow:none}.digital-workbook-author-page:has(.interactive-practical-designer)>header{margin:0 28px}.digital-workbook-author-page:has(.interactive-practical-designer)>.digital-workbook-page-content{padding-top:24px}
.interactive-practical-designer{--ip-space:clamp(24px,2.2vw,32px);width:100%;max-width:none;padding:clamp(28px,3vw,48px);border-width:1px 0 0;border-radius:0;background:linear-gradient(180deg,#f7f8f8 0%,#eef2f3 100%);box-shadow:none}
.interactive-practical-designer-heading,.interactive-practical-designer-workspace{width:100%;max-width:none}.interactive-practical-designer-heading{margin:0 0 var(--ip-space);padding:0 0 24px}.interactive-practical-designer-heading>div:first-child{min-width:0}.interactive-practical-designer-heading>div:last-child{flex:0 0 auto;padding-top:4px}
.interactive-practical-designer-workspace{gap:var(--ip-space)}
.interactive-practical-connected-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.interactive-practical-connected-controls .interactive-practical-control-card{width:100%;min-width:0;min-height:112px;height:100%;justify-self:stretch;border-radius:14px;box-shadow:0 8px 22px rgba(7,27,77,.065)}
.interactive-practical-connected-controls .interactive-practical-control-card>summary{grid-template-columns:12px minmax(0,1fr);min-height:110px;align-content:center;padding:18px 20px}.interactive-practical-connected-controls .interactive-practical-control-card>summary strong{font-size:.72rem;letter-spacing:.08em}.interactive-practical-connected-controls .interactive-practical-control-card>summary small{display:-webkit-box;min-height:2.8em;overflow:hidden;color:#526579;font-size:.78rem;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.interactive-practical-connected-controls .interactive-practical-control-card[open]{height:auto}.interactive-practical-control-card--image .lesson-card-designer__editor p{margin:12px 0 0;color:#66798a;font-size:.78rem;line-height:1.45}.interactive-practical-control-node--mode::after{display:none}
.interactive-practical-canvas-shell{width:100%;min-width:0;border-radius:18px;box-shadow:0 22px 52px rgba(7,27,77,.15)}.interactive-practical-canvas-toolbar{min-height:72px;padding:16px 24px}.interactive-practical-canvas-toolbar>span{padding:7px 10px;border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#d8bd69;font-size:.74rem;font-weight:850}.interactive-practical-designer .interactive-practical-canvas{display:block;width:100%;min-height:0}.interactive-practical-designer .interactive-practical-canvas img{width:100%;height:auto;max-height:none;object-fit:contain}.interactive-practical-canvas-hint{padding:13px 20px}
.premium-empty-canvas{min-height:600px;border:1px solid rgba(11,31,77,.1);border-radius:18px;background:radial-gradient(circle at 50% 42%,rgba(200,169,107,.12),transparent 24%),#fff;box-shadow:0 20px 48px rgba(7,27,77,.09)}.premium-empty-canvas .interactive-practical-upload{margin-top:4px;background:var(--ip-navy);color:#fff}
.interactive-practical-designer-lower{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}.interactive-practical-lower-panel{display:flex;min-width:0;min-height:178px;flex-direction:column;padding:20px;border:1px solid rgba(11,31,77,.12);border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(7,27,77,.06)}.interactive-practical-lower-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-height:54px;margin-bottom:14px}.interactive-practical-lower-panel>header .eyebrow{margin:0;color:#8c681f;font-size:.66rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.interactive-practical-lower-panel>header strong{display:block;margin-top:4px;color:var(--ip-navy);font-size:.92rem}.interactive-practical-lower-panel>header button{flex:0 0 auto}.interactive-practical-lower-panel>header button.active{border-color:var(--ip-gold);background:var(--ip-gold);color:var(--ip-navy)}
.interactive-practical-targets-panel>.interactive-practical-target-prompt{flex:1;padding:14px 0 0;border:0;border-top:1px solid rgba(11,31,77,.08);border-radius:0;background:transparent;box-shadow:none}.interactive-practical-targets-panel>.lesson-card-designer__node{width:100%;max-width:none;box-shadow:none}.premium-item-panel .interactive-practical-items-empty{padding-top:14px;border-top:1px solid rgba(11,31,77,.08)}
@media(max-width:1100px){.interactive-practical-connected-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-empty-canvas{min-height:480px}}
@media(max-width:760px){.digital-workbook-author-page:has(.interactive-practical-designer)>header{margin:0 16px}.interactive-practical-designer{padding:24px 16px}.interactive-practical-connected-controls,.interactive-practical-designer-lower{grid-template-columns:1fr}.interactive-practical-designer-heading{align-items:stretch;flex-direction:column}.interactive-practical-designer-heading>div:last-child{justify-content:flex-start}.interactive-practical-connected-controls .interactive-practical-control-card{min-height:104px}.interactive-practical-connected-controls .interactive-practical-control-card>summary{min-height:102px}.premium-empty-canvas{min-height:360px}.interactive-practical-lower-panel{min-height:0}}

/* Interactive Practical final layout cleanup — scoped alignment and action hierarchy. */
.interactive-practical-connected-controls>.interactive-practical-control-card{grid-area:auto;align-self:stretch;justify-self:stretch;margin:0}.interactive-practical-connected-controls>.interactive-practical-control-card:hover,.interactive-practical-connected-controls>.interactive-practical-control-card[open]{transform:none}
.interactive-practical-designer-heading [data-preview-interactive-practical]{border-color:var(--ip-navy);background:var(--ip-navy);color:#fff;box-shadow:0 6px 16px rgba(11,31,77,.16)}
.interactive-practical-lower-panel>header button{display:inline-flex;align-items:center;justify-content:center;min-width:118px;min-height:42px;padding:9px 15px;border-radius:9px;font-size:.78rem;font-weight:850;line-height:1}
.interactive-practical-targets-panel>.interactive-practical-control-node--target{width:100%;max-width:none;margin:0;border-color:rgba(11,31,77,.1);border-radius:12px;background:#fafbfc;box-shadow:none}.interactive-practical-targets-panel>.interactive-practical-control-node--target:hover,.interactive-practical-targets-panel>.interactive-practical-control-node--target[open]{transform:none}.interactive-practical-targets-panel>.interactive-practical-control-node--target>summary{min-height:68px;padding:16px 18px}.interactive-practical-targets-panel>.interactive-practical-control-node--target>summary strong{font-size:.76rem}.interactive-practical-targets-panel>.interactive-practical-control-node--target>summary small{font-size:.72rem}
.interactive-practical-target-editor{gap:14px;padding:18px;border-top-color:rgba(11,31,77,.1)}.interactive-practical-target-editor>label{padding-top:0}.interactive-practical-target-editor :is(input,select){width:100%;min-height:44px;padding:10px 12px;border:1px solid rgba(11,31,77,.2);border-radius:9px;background:#fff;color:var(--ip-navy);font:inherit;font-size:max(.85rem,16px)}.interactive-practical-target-editor>details{padding:13px 0 0;border-top:1px solid rgba(11,31,77,.08)}.interactive-practical-target-editor>details>summary{color:var(--ip-navy);font-size:.78rem;font-weight:850;cursor:pointer}
.interactive-practical-property-actions{justify-content:flex-end;padding-top:14px;border-top:1px solid rgba(11,31,77,.08)}.interactive-practical-property-actions [data-save-interactive-target]{order:1;min-height:42px;padding:9px 16px;border-color:var(--ip-navy);border-radius:9px;background:var(--ip-navy);color:#fff;font-weight:850}.interactive-practical-property-actions [data-delete-interactive-target]{order:2;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid #bc4b4b;border-radius:9px;background:#fff5f5;color:#9e3030;font-size:.78rem;font-weight:850;text-decoration:none}.interactive-practical-property-actions [data-delete-interactive-target]:hover{background:#9e3030;color:#fff}
.digital-worksheets-author:has(.interactive-practical-designer)>.theory-outcome-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;width:auto;min-height:78px;margin:0;padding:18px clamp(28px,3vw,48px);border-top:1px solid rgba(11,31,77,.12);background:#fff;box-shadow:0 -8px 24px rgba(7,27,77,.045)}.digital-worksheets-author:has(.interactive-practical-designer)>.theory-outcome-footer-actions::before{content:"Worksheet actions";margin-right:auto;color:var(--ip-navy,#0b1f4d);font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.digital-worksheets-author:has(.interactive-practical-designer)>.theory-outcome-footer-actions>*{flex:0 0 auto;min-height:42px;margin:0}.digital-worksheets-author:has(.interactive-practical-designer)>.theory-outcome-footer-actions [data-discard-theory-worksheet],.digital-worksheets-author:has(.interactive-practical-designer)>.theory-outcome-footer-actions [data-delete-theory-worksheet]{border-color:#c75b5b;background:#fff;color:#a83232}.digital-worksheets-author:has(.interactive-practical-designer)>.theory-outcome-footer-actions [data-discard-theory-worksheet]:hover,.digital-worksheets-author:has(.interactive-practical-designer)>.theory-outcome-footer-actions [data-delete-theory-worksheet]:hover{background:#a83232;color:#fff}
@media(max-width:760px){.digital-worksheets-author:has(.interactive-practical-designer)>.theory-outcome-footer-actions{align-items:stretch;flex-direction:row;flex-wrap:wrap;padding:16px}.digital-worksheets-author:has(.interactive-practical-designer)>.theory-outcome-footer-actions::before{width:100%;margin:0 0 2px}.digital-worksheets-author:has(.interactive-practical-designer)>.theory-outcome-footer-actions>*{width:auto;max-width:100%;flex:1 1 145px}.interactive-practical-property-actions{align-items:stretch;flex-direction:column}.interactive-practical-property-actions>*{width:100%}}

/* Interactive Practical learner labels — shared by preview and published delivery. */
.digital-workbook-shell--interactive-practical{width:min(100%,1440px);max-width:1440px}.interactive-practical-learner{padding:clamp(22px,3vw,38px);border:1px solid rgba(11,31,77,.12);border-radius:22px;background:#fff;box-shadow:0 20px 50px rgba(7,27,77,.1)}.interactive-practical-learner>header{margin-bottom:24px;padding-bottom:18px}.interactive-practical-learner>header h4{margin:4px 0;color:#0b1f4d;font-size:clamp(1.45rem,2.2vw,2rem)}.interactive-practical-learner>header p:last-child{max-width:900px;margin:7px 0 0;color:#53687a;line-height:1.55}
.interactive-practical-learner-grid{grid-template-columns:minmax(0,3fr) minmax(250px,.85fr);gap:22px;align-items:stretch}.interactive-practical-learner .interactive-practical-canvas{align-self:start;border:1px solid rgba(11,31,77,.13);border-radius:18px;background:#e8edf1;box-shadow:0 16px 38px rgba(7,27,77,.12)}.interactive-practical-learner .interactive-practical-canvas img{width:100%;height:auto;min-height:0}.interactive-practical-palette{align-content:start;gap:0;padding:0;overflow:hidden;border:1px solid rgba(11,31,77,.13);border-radius:16px;background:#f7f9fa;box-shadow:0 10px 26px rgba(7,27,77,.07)}.interactive-practical-palette>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid rgba(11,31,77,.1);background:#0b2e4c;color:#fff}.interactive-practical-palette>header .eyebrow{margin:0;color:#d8bd69;font-size:.65rem;letter-spacing:.12em;text-transform:uppercase}.interactive-practical-palette>header strong{display:block;margin-top:3px;font-size:.82rem}.interactive-practical-palette>header b{color:#d8bd69;font-size:.9rem}.interactive-practical-palette>[role=listbox]{display:grid;gap:10px;padding:16px}.interactive-practical-palette>[role=listbox]>p{margin:0;color:#68798a;font-size:.82rem;line-height:1.5}
.interactive-practical-draggable{display:flex;align-items:center;gap:10px;width:100%;min-height:50px;padding:11px 14px;border:1px solid rgba(11,31,77,.18);border-radius:10px;background:#fff;color:#173650;font-size:.86rem;font-weight:820;text-align:left;box-shadow:0 4px 12px rgba(7,27,77,.045);cursor:grab;touch-action:none;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.interactive-practical-draggable>span{color:#a77b25;letter-spacing:-.18em}.interactive-practical-draggable:hover,.interactive-practical-draggable:focus-visible{border-color:#b68a32;outline:3px solid rgba(200,169,107,.25);outline-offset:2px;box-shadow:0 8px 18px rgba(7,27,77,.1);transform:translateY(-1px)}.interactive-practical-draggable.selected{border-color:#c8a96b;background:#fffaf0;box-shadow:0 0 0 3px rgba(200,169,107,.18)}.interactive-practical-draggable.is-dragging{opacity:.72;border-color:#c8a96b;box-shadow:0 14px 30px rgba(7,27,77,.18);transform:scale(1.02);cursor:grabbing}
.interactive-practical-target.learner-target{cursor:pointer;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}.interactive-practical-target.learner-target.is-drop-target{background:#c8a96b;color:#0b1f4d;box-shadow:0 0 0 7px rgba(200,169,107,.3),0 8px 20px rgba(7,27,77,.28)}.interactive-practical-target.learner-target.is-complete{border-color:#fff;background:#23824a;color:#fff;box-shadow:0 0 0 4px rgba(35,130,74,.22),0 7px 18px rgba(7,27,77,.25);cursor:default}.interactive-practical-target.learner-target em{position:absolute;left:40px;top:50%;width:max-content;max-width:150px;padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.96);color:#185c36;font-size:.7rem;font-style:normal;font-weight:850;line-height:1.2;box-shadow:0 5px 14px rgba(7,27,77,.16);transform:translateY(-50%);pointer-events:none}
.interactive-practical-feedback{margin:20px 0 0;padding:13px 16px;border-left:4px solid #c8a96b;border-radius:0 10px 10px 0;background:#f3f6f8;color:#173650;font-weight:750}.interactive-practical-complete{display:flex;align-items:center;gap:16px;margin-top:20px;padding:18px 20px;border:1px solid rgba(35,130,74,.24);border-radius:14px;background:#eef8f1;color:#164f30}.interactive-practical-complete>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:#23824a;color:#fff;font-size:1.2rem;font-weight:900}.interactive-practical-complete .eyebrow{margin:0;color:#23824a;font-size:.66rem;letter-spacing:.11em;text-transform:uppercase}.interactive-practical-complete h5{margin:3px 0 0;color:#164f30}.interactive-practical-complete button{margin-left:auto}
@media(max-width:940px){.interactive-practical-learner-grid{grid-template-columns:1fr}.interactive-practical-palette{width:100%}.interactive-practical-palette>[role=listbox]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.interactive-practical-learner{padding:18px 12px}.interactive-practical-palette>[role=listbox]{grid-template-columns:1fr}.interactive-practical-target.learner-target em{display:none}.interactive-practical-complete{align-items:flex-start;flex-wrap:wrap}.interactive-practical-complete button{width:100%;margin:0}}
/* Interactive Practical Stage 2 authoring */
.interactive-practical-stage-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;background:#f4f7fb;border-bottom:1px solid #dce4ef}.interactive-practical-stage-nav button{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 14px;border:1px solid #ccd6e3;border-radius:10px;background:#fff;color:#19324d;text-align:left}.interactive-practical-stage-nav button span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e8eef6;font-weight:800}.interactive-practical-stage-nav button.active{border-color:#1d567f;box-shadow:inset 0 0 0 1px #1d567f}.interactive-practical-stage-nav button.active span{background:#1d567f;color:#fff}.circuit-operation-author{overflow:hidden}.circuit-operation-heading,.circuit-operation-path-workspace>header,.circuit-operation-timeline>header,.circuit-operation-narration>div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.circuit-operation-enabled{display:flex;align-items:center;gap:8px;font-weight:800}.circuit-operation-narration,.circuit-operation-path-workspace,.circuit-operation-timeline{margin:18px;padding:20px;border:1px solid #d8e1eb;border-radius:14px;background:#fff}.circuit-operation-narration textarea{width:100%;min-height:180px;margin-top:8px;resize:vertical}.circuit-operation-audio-controls{display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(180px,1fr) 140px;align-items:end;gap:12px;margin-top:14px;padding:14px;border-radius:10px;background:#f6f8fb}.circuit-operation-audio-controls>span{grid-column:1/-1;color:#637286;font-size:.88rem}.circuit-operation-path-workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.7fr);gap:18px}.circuit-operation-path-workspace>header{grid-column:1/-1}.circuit-operation-canvas-shell{min-width:0}.circuit-operation-canvas{position:relative;overflow:hidden;aspect-ratio:16/10;border-radius:12px;background:#101923}.circuit-operation-canvas img,.circuit-operation-preview-canvas img{display:block;width:100%;height:100%;object-fit:contain}.circuit-operation-canvas svg,.circuit-operation-preview-canvas svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.interactive-operation-path{fill:none;stroke:#758397;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;opacity:.9}.interactive-operation-path.path-live{stroke:#7b4828}.interactive-operation-path.path-neutral{stroke:#2265b4}.interactive-operation-path.path-cpc{stroke:#4f8f3a;stroke-dasharray:3 2}.interactive-operation-path.path-custom{stroke:#59697b}.interactive-operation-path.selected{stroke-width:2;filter:drop-shadow(0 0 2px #fff)}.interactive-operation-path-point{position:absolute;left:var(--path-x);top:var(--path-y);width:18px;height:18px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:#163b5b;box-shadow:0 1px 5px #0008;cursor:move}.circuit-operation-canvas.is-placing{cursor:crosshair}.circuit-operation-path-list{display:flex;flex-direction:column;gap:8px}.circuit-operation-path-list>button{display:grid;grid-template-columns:26px 1fr;gap:2px 9px;padding:10px;border:1px solid #d6dfe9;border-radius:9px;background:#fff;text-align:left}.circuit-operation-path-list>button span{grid-row:1/3;display:grid;place-items:center;border-radius:50%;background:#edf2f7}.circuit-operation-path-list>button small{text-transform:capitalize}.circuit-operation-path-list>button.active{border-color:#1d567f;background:#f3f8fc}.circuit-operation-path-editor{display:grid;gap:10px;margin-top:8px;padding:14px;border-radius:10px;background:#f4f7fa}.circuit-operation-path-editor>div{display:flex;flex-wrap:wrap;gap:8px}.circuit-operation-timeline{display:grid;gap:10px}.circuit-operation-timeline article{display:grid;grid-template-columns:32px repeat(7,minmax(105px,1fr)) auto;align-items:end;gap:8px;padding:12px;border:1px solid #e0e6ed;border-radius:10px}.circuit-operation-timeline article>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8eef5;font-weight:800}.circuit-operation-timeline label{font-size:.78rem}.circuit-operation-loop{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:8px}.circuit-operation-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px;padding:18px;border-top:1px solid #dde4ec}.circuit-operation-preview-canvas{position:relative;overflow:hidden;min-height:360px;background:#0d1721}.interactive-operation-path.is-running{stroke-dasharray:4 3;animation:circuit-path-flow var(--event-duration) linear var(--event-delay) infinite}.circuit-operation-target-effect{position:absolute;left:var(--target-x);top:var(--target-y);width:62px;height:62px;transform:translate(-50%,-50%) scale(.5);border:3px solid #f6c85f;border-radius:50%;opacity:0}.circuit-operation-target-effect.is-running{animation:circuit-target-effect var(--event-duration) ease var(--event-delay) forwards}.circuit-operation-target-effect.effect-illuminate{background:#ffd97866;box-shadow:0 0 28px 14px #ffd97877}.circuit-operation-preview-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px}.circuit-operation-preview audio{display:none}@keyframes circuit-path-flow{to{stroke-dashoffset:-14}}@keyframes circuit-target-effect{20%,100%{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(max-width:1050px){.circuit-operation-path-workspace{grid-template-columns:1fr}.circuit-operation-path-workspace>header{grid-column:auto}.circuit-operation-timeline article{grid-template-columns:32px repeat(3,minmax(120px,1fr))}.circuit-operation-timeline article label:nth-of-type(n+4),.circuit-operation-timeline article .danger{grid-row:auto}}
@media(max-width:700px){.interactive-practical-stage-nav{grid-template-columns:1fr}.circuit-operation-narration,.circuit-operation-path-workspace,.circuit-operation-timeline{margin:10px;padding:14px}.circuit-operation-audio-controls,.circuit-operation-timeline article{grid-template-columns:1fr}.circuit-operation-heading,.circuit-operation-path-workspace>header,.circuit-operation-preview-footer{flex-direction:column}.circuit-operation-canvas,.circuit-operation-preview-canvas{min-height:260px}.circuit-operation-timeline article>span{grid-row:auto}}

/* Interactive Practical Stage 2 — explanation-led premium authoring */
.circuit-operation-author{--operation-navy:#0b2e4c;--operation-gold:#c8a96b;background:#f4f6f8}.circuit-operation-author .circuit-operation-heading{margin:0;padding:30px clamp(20px,3vw,42px);border-bottom:1px solid rgba(11,46,76,.1);background:#fff}.circuit-operation-heading h4{margin:.35rem 0 .55rem;color:var(--operation-navy);font-size:clamp(1.55rem,2.4vw,2.25rem);letter-spacing:-.035em}.circuit-operation-heading p:last-child{max-width:760px;margin:0;color:#607283;line-height:1.6}.circuit-operation-heading>div:last-child{display:flex;align-items:center;gap:14px}
.premium-toggle{position:relative;gap:10px;padding:9px 13px;border:1px solid #d8e0e8;border-radius:999px;background:#f8fafb;color:#53687a;cursor:pointer}.premium-toggle input{position:absolute;opacity:0;pointer-events:none}.premium-toggle-track{position:relative;width:38px;height:22px;border-radius:999px;background:#aebbc6;transition:.2s}.premium-toggle-track::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #16334d33;transition:.2s}.premium-toggle input:checked+.premium-toggle-track{background:var(--operation-navy)}.premium-toggle input:checked+.premium-toggle-track::after{transform:translateX(16px)}
.circuit-operation-source-flow{display:flex;align-items:center;justify-content:center;gap:11px;margin:22px auto 0;padding:10px 18px;width:max-content;max-width:calc(100% - 36px);border:1px solid #dce3ea;border-radius:999px;background:#fff;color:#627385;font-size:.78rem}.circuit-operation-source-flow strong{color:var(--operation-navy)}.circuit-operation-source-flow span:nth-child(2),.circuit-operation-source-flow span:nth-child(4){color:#a47d2d;font-weight:900}
.circuit-operation-primary-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px;padding:0}.circuit-operation-step{display:grid;grid-template-columns:42px minmax(0,1fr);gap:16px;min-height:230px;padding:24px;border:1px solid rgba(11,46,76,.11);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(11,46,76,.055)}.circuit-operation-step:first-child{grid-row:span 2;min-height:476px}.circuit-operation-step-number{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--operation-navy);color:#fff;font-weight:900;box-shadow:0 7px 16px rgba(11,46,76,.17)}.circuit-operation-step .eyebrow{margin:2px 0 5px;color:#9b7427;font-size:.66rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.circuit-operation-step h5{margin:0;color:var(--operation-navy);font-size:1.08rem}.circuit-operation-step p:not(.eyebrow){margin:.55rem 0 1rem;color:#66798a;font-size:.88rem;line-height:1.55}.circuit-operation-narration-editor textarea{width:100%;min-height:295px;padding:18px;border:1px solid #cad5df;border-radius:13px;background:#fbfcfd;color:#18364f;font:inherit;font-size:max(.95rem,16px);line-height:1.65;resize:vertical;box-shadow:inset 0 1px 3px rgba(11,46,76,.04)}.circuit-operation-narration-editor textarea:focus{border-color:#b48a39;outline:3px solid rgba(200,169,107,.22)}.circuit-operation-inline-help,.circuit-operation-stale-note{color:#8a651e;font-weight:800}.circuit-operation-step .primary-action{background:var(--operation-navy)}
.circuit-operation-status-row{display:flex;align-items:center;gap:10px;margin:16px 0 14px}.status-pill{display:inline-flex;align-items:center;width:max-content;padding:6px 10px;border-radius:999px;background:#edf1f4;color:#53687a;font-size:.72rem;font-weight:900;letter-spacing:.02em}.status-pill.status-ready{background:#e8f5ee;color:#17613c}.status-pill.status-stale{background:#fff4d8;color:#805b13}.status-pill.status-configuration_required{background:#eef1f4;color:#52677a}.circuit-operation-step .circuit-operation-service-note{margin:.7rem 0 0;font-size:.78rem}.circuit-operation-audio-player{display:block;width:100%;margin:12px 0}
.circuit-operation-ready-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px;padding:24px 26px;border:1px solid rgba(200,169,107,.45);border-left:5px solid var(--operation-gold);border-radius:16px;background:#fffdf8;box-shadow:0 10px 26px rgba(11,46,76,.05)}.circuit-operation-ready-summary h5{margin:9px 0 4px;color:var(--operation-navy);font-size:1.15rem}.circuit-operation-ready-summary p{margin:0;color:#51677a;font-weight:800}.circuit-operation-ready-summary small{display:block;margin-top:7px;color:#6a7c8c}.circuit-operation-ready-summary>div:last-child{display:flex;gap:9px;flex:0 0 auto}
.circuit-operation-advanced{margin:18px;border:1px solid #d6dfe7;border-radius:16px;background:#fff;overflow:hidden}.circuit-operation-advanced>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;color:var(--operation-navy);cursor:pointer;list-style:none}.circuit-operation-advanced>summary::-webkit-details-marker{display:none}.circuit-operation-advanced>summary strong,.circuit-operation-advanced>summary small{display:block}.circuit-operation-advanced>summary small{margin-top:4px;color:#6b7d8c;font-weight:500}.circuit-operation-advanced[open]>summary{border-bottom:1px solid #dce3e9;background:#fafbfc}.circuit-operation-advanced-body{padding:2px 0 18px}.circuit-operation-advanced .circuit-operation-path-workspace,.circuit-operation-advanced .circuit-operation-timeline{box-shadow:none}.circuit-operation-preview-note{margin:0;padding:11px 18px;background:#fff7df;color:#795817;font-weight:800}
@media(max-width:900px){.circuit-operation-primary-steps{grid-template-columns:1fr}.circuit-operation-step:first-child{grid-row:auto;min-height:0}.circuit-operation-ready-summary{align-items:flex-start;flex-direction:column}.circuit-operation-ready-summary>div:last-child{width:100%;flex-wrap:wrap}}
@media(max-width:700px){.circuit-operation-author .circuit-operation-heading{padding:24px 16px}.circuit-operation-heading>div:last-child{align-items:flex-start;flex-direction:column}.circuit-operation-source-flow{align-items:flex-start;flex-direction:column;border-radius:14px}.circuit-operation-source-flow span:nth-child(2),.circuit-operation-source-flow span:nth-child(4){display:none}.circuit-operation-primary-steps{margin:12px}.circuit-operation-step{grid-template-columns:1fr;min-height:0;padding:19px}.circuit-operation-narration-editor textarea{min-height:240px}.circuit-operation-ready-summary,.circuit-operation-advanced{margin:12px}.circuit-operation-ready-summary>div:last-child>*{flex:1 1 130px}.circuit-operation-advanced>summary{padding:17px}}

/* Interactive Practical Stage 2 — two-section authoring model */
.circuit-operation-two-section-author{background:#f2f5f8}.circuit-operation-two-section-stack{display:grid;gap:26px;padding:28px clamp(18px,3vw,44px) 44px}.circuit-operation-two-section-stack>.circuit-operation-primary-section{width:100%;margin:0;padding:clamp(24px,3.4vw,44px);border:1px solid rgba(11,46,76,.11);border-radius:22px;background:#fff;box-shadow:0 18px 46px rgba(11,46,76,.075)}.circuit-operation-primary-section>header{margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid rgba(11,46,76,.09)}.circuit-operation-primary-section>header .eyebrow{margin:0;color:#9b7427;font-size:.67rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.circuit-operation-primary-section>header h5{margin:7px 0 5px;color:#0b2e4c;font-size:clamp(1.45rem,2.4vw,2.05rem);letter-spacing:-.035em;text-transform:uppercase}.circuit-operation-primary-section>header p:last-child{margin:0;color:#617486;font-size:.96rem;line-height:1.55}
.circuit-operation-narration-section .circuit-operation-narration-editor{display:block;width:100%}.circuit-operation-narration-section .circuit-operation-narration-editor textarea{display:block;width:100%;min-height:330px;padding:22px;border:1px solid #c7d3de;border-radius:15px;background:#fbfcfd;color:#18364f;font:inherit;font-size:max(1rem,16px);line-height:1.72;resize:vertical;box-shadow:inset 0 2px 7px rgba(11,46,76,.04)}.circuit-operation-narration-section .circuit-operation-narration-editor textarea:focus{border-color:#b98e3b;outline:4px solid rgba(200,169,107,.18)}.circuit-operation-section-actions{display:flex;align-items:center;gap:14px;margin-top:18px}.circuit-operation-section-actions .primary-action{min-width:176px;background:#0b2e4c}.circuit-operation-section-actions small{color:#7a6a49;font-weight:750}.circuit-operation-result-line{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-top:18px;padding:16px 18px;border-radius:13px;background:#f5f7f9;color:#5b6f80;font-size:.86rem}.circuit-operation-result-line strong{color:#18364f}.circuit-operation-result-line .circuit-operation-audio-player{width:min(100%,520px);margin:0}
.circuit-operation-hero-canvas{position:relative;display:grid;place-items:center;width:100%;min-height:560px;overflow:hidden;border:1px solid rgba(11,46,76,.12);border-radius:18px;background:linear-gradient(145deg,#111b25,#1a2936);box-shadow:0 22px 48px rgba(7,27,77,.16)}.circuit-operation-hero-canvas img{display:block;width:100%;height:auto;max-height:760px;object-fit:contain}.circuit-operation-hero-canvas p{color:#dce5eb;font-weight:800}.circuit-operation-visual-result{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px;padding:21px 23px;border-left:4px solid #c8a96b;border-radius:14px;background:#fffaf0}.circuit-operation-visual-result p{margin:10px 0 5px;color:#28465e;font-weight:780;line-height:1.8}.circuit-operation-visual-result small{color:#687b8b}.circuit-operation-visual-result>div:last-child{display:flex;gap:10px;flex:0 0 auto}.circuit-operation-visual-section>.circuit-operation-advanced{margin:22px 0 0;border-color:rgba(11,46,76,.1);box-shadow:none}.circuit-operation-visual-section>.circuit-operation-advanced:not([open]){background:#fafbfc}.circuit-operation-visual-section>.circuit-operation-advanced>summary{min-height:68px}.circuit-operation-two-section-author .circuit-operation-source-flow,.circuit-operation-two-section-author .circuit-operation-primary-steps,.circuit-operation-two-section-author>.circuit-operation-ready-summary{display:none}
@media(max-width:900px){.circuit-operation-hero-canvas{min-height:420px}.circuit-operation-visual-result{align-items:flex-start;flex-direction:column}.circuit-operation-visual-result>div:last-child{width:100%;flex-wrap:wrap}}
@media(max-width:700px){.circuit-operation-two-section-stack{gap:18px;padding:16px 12px 28px}.circuit-operation-two-section-stack>.circuit-operation-primary-section{padding:20px 16px;border-radius:17px}.circuit-operation-narration-section .circuit-operation-narration-editor textarea{min-height:260px;padding:17px}.circuit-operation-hero-canvas{min-height:280px}.circuit-operation-section-actions{align-items:stretch;flex-direction:column}.circuit-operation-section-actions>*{width:100%}.circuit-operation-visual-result>div:last-child>*{flex:1 1 150px}}
.interactive-theory-author{gap:22px}.theory-scene-builder{padding:28px;border:1px solid #d8e0e7;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 14px 34px rgba(11,46,76,.07)}.theory-scene-builder>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.theory-scene-builder h5{margin:3px 0 6px;color:#18364f;font-size:1.25rem}.theory-scene-builder header p{margin:0;color:#667b8d}.theory-scene-list{display:grid;gap:18px}.theory-scene-card{overflow:hidden;border:1px solid #d7e0e8;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(11,46,76,.055)}.theory-scene-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 19px;border-bottom:1px solid #e5ebf0;background:#fbfcfd}.theory-scene-card>header>div:first-child{display:flex;align-items:center;gap:13px;min-width:0}.theory-scene-card h6{overflow:hidden;margin:2px 0 0;color:#18364f;font-size:.98rem;text-overflow:ellipsis;white-space:nowrap}.theory-scene-number{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#0b2e4c;color:#fff;font-weight:850}.theory-scene-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:7px}.theory-scene-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:20px;padding:20px}.theory-scene-narration,.theory-scene-image{display:grid;align-content:start;gap:9px}.theory-scene-narration>span,.theory-scene-image>span{color:#18364f;font-size:.84rem;font-weight:800}.theory-scene-narration textarea{width:100%;min-height:190px;padding:16px;border:1px solid #c7d3de;border-radius:13px;background:#fbfcfd;color:#18364f;font:inherit;line-height:1.6;resize:vertical}.theory-scene-narration textarea:focus{border-color:#b98e3b;outline:4px solid rgba(200,169,107,.18)}.theory-scene-image figure,.theory-scene-image-empty{display:grid;place-items:center;min-height:190px;margin:0;overflow:hidden;border:1px dashed #c7d3de;border-radius:13px;background:#f6f8fa;color:#667b8d;text-align:center}.theory-scene-image figure img{width:100%;height:165px;object-fit:contain;background:#eef2f5}.theory-scene-image figcaption{width:100%;padding:8px 12px;overflow:hidden;color:#536b7d;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.theory-scene-image-empty small{display:block;margin-top:5px}.theory-scene-image-actions{display:flex;flex-wrap:wrap;gap:8px}.theory-scene-upload{position:relative;cursor:pointer}.theory-scene-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.theory-scenes-empty{padding:38px;border:1px dashed #c7d3de;border-radius:15px;background:#fff;text-align:center}.theory-scenes-empty strong{color:#18364f;font-size:1.05rem}.theory-scenes-empty p{margin:7px 0 17px;color:#667b8d}
@media(max-width:850px){.theory-scene-grid{grid-template-columns:1fr}.theory-scene-card>header,.theory-scene-builder>header{align-items:stretch;flex-direction:column}.theory-scene-actions{justify-content:flex-start}}

/* Interactive Theory manual arrow cues: image-relative overlays, never baked into source images. */
.theory-scene-image-canvas,.theory-learner-scene-canvas{position:relative;width:100%;overflow:hidden;background:#eef2f5}.theory-scene-image-canvas img,.theory-learner-scene-canvas img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain}.theory-scene-cue-layer{position:absolute;inset:0;pointer-events:none}.theory-arrow-cue{position:absolute;z-index:var(--cue-z);left:var(--cue-x);top:var(--cue-y);display:block;width:clamp(56px,18%,128px);height:26px;opacity:1;transform:translate(-50%,-50%) rotate(var(--cue-rotation)) scale(var(--cue-scale));transform-origin:50% 50%;transition:opacity .18s ease;pointer-events:auto;cursor:grab;touch-action:none}.theory-arrow-cue:active{cursor:grabbing}.theory-arrow-shaft{position:absolute;left:0;right:18px;top:10px;height:6px;border-radius:5px;background:#f4c95d;box-shadow:0 1px 2px rgba(0,0,0,.55),0 0 0 1px rgba(74,48,0,.45)}.theory-arrow-head{position:absolute;right:0;top:2px;width:0;height:0;border-top:11px solid transparent;border-bottom:11px solid transparent;border-left:20px solid #f4c95d;filter:drop-shadow(0 1px 1px rgba(0,0,0,.58))}.theory-arrow-cue.is-selected:after{content:"";position:absolute;inset:-8px;border:1px dashed #fff;border-radius:8px;box-shadow:0 0 0 2px #0b69a3}.theory-arrow-handle{position:absolute;z-index:3;width:18px;height:18px;padding:0;border:2px solid #fff;border-radius:50%;background:#0b69a3;box-shadow:0 1px 4px rgba(0,0,0,.35);transform:rotate(calc(var(--cue-rotation) * -1)) scale(calc(1 / var(--cue-scale)));cursor:pointer}.theory-arrow-rotate{left:-20px;top:4px}.theory-arrow-rotate:after{content:"↻";position:absolute;inset:-3px;color:#fff;font-size:13px;line-height:18px}.theory-arrow-scale{right:-20px;bottom:3px}.theory-arrow-scale:after{content:"↘";position:absolute;inset:-3px;color:#fff;font-size:12px;line-height:18px}.theory-visual-cues{display:grid;gap:11px;margin-top:8px;padding:14px;border:1px solid #d7e0e8;border-radius:13px;background:#fbfcfd}.theory-visual-cues>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.theory-visual-cues p{margin:2px 0 0;color:#667b8d;font-size:.78rem}.theory-add-cue{position:relative}.theory-cue-menu{position:absolute;z-index:5;right:0;top:calc(100% + 6px);min-width:130px;padding:6px;border:1px solid #d7e0e8;border-radius:10px;background:#fff;box-shadow:0 10px 25px rgba(11,46,76,.18)}.theory-cue-menu button{width:100%;padding:9px 12px;border:0;border-radius:7px;background:transparent;color:#18364f;text-align:left;font-weight:750;cursor:pointer}.theory-cue-menu button:hover{background:#eef5fa}.theory-cue-list{display:grid;gap:8px}.theory-cue-row{display:grid;grid-template-columns:minmax(70px,1fr) auto auto auto auto;align-items:center;gap:8px;padding:9px;border:1px solid #e0e6eb;border-radius:10px;background:#fff}.theory-cue-row.is-selected{border-color:#b98e3b;box-shadow:0 0 0 2px rgba(185,142,59,.14)}.theory-cue-row label{display:flex;align-items:center;gap:5px;color:#536b7d;font-size:.76rem;font-weight:700}.theory-cue-row input{width:64px;padding:6px 7px;border:1px solid #c7d3de;border-radius:7px;color:#18364f}.theory-cues-empty{padding:8px 0}.theory-cue-preview-button{justify-self:start}.theory-arrow-cue.is-timing-hidden,.theory-arrow-cue.is-learner-cue{opacity:0;visibility:hidden}.theory-arrow-cue.is-learner-cue:not(.is-timing-hidden){pointer-events:none}.theory-arrow-cue.is-learner-cue{transition:opacity .18s ease,visibility 0s linear .18s}.theory-arrow-cue.is-learner-cue:not(.is-timing-hidden).is-cue-visible{opacity:1;visibility:visible}.theory-scene-playback{display:grid;gap:22px}.theory-learner-scene{overflow:hidden;border:1px solid #d7e0e8;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(11,46,76,.08)}.theory-learner-scene>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px}.theory-learner-scene h5{margin:2px 0 0;color:#18364f}.theory-learner-scene-canvas{border-top:1px solid #e2e8ed}.digital-workbook-shell--interactive-theory{padding:24px}
@media(max-width:700px){.theory-cue-row{grid-template-columns:1fr 1fr}.theory-cue-row>strong{grid-column:1/-1}.theory-visual-cues>header,.theory-learner-scene>header{align-items:stretch;flex-direction:column}.theory-add-cue{align-self:flex-start}.theory-cue-menu{right:auto;left:0}}
.theory-arrow-cue.is-learner-cue:not(.is-timing-hidden){opacity:1;visibility:visible;transition-delay:0s}
.practical-arrow-canvas .theory-scene-cue-layer{z-index:6}.practical-visual-cues{margin-top:18px}.practical-arrow-cue.is-playback-cue{opacity:0;visibility:hidden;pointer-events:none}.practical-arrow-cue.is-playback-cue.is-active{opacity:1;visibility:visible}.preview-cue-layer .practical-arrow-cue{width:clamp(56px,18%,128px);height:26px}

/* Interactive Practical Stage 2 — secure narration audio */
.circuit-operation-two-section-author{--ip-navy:#0b2e4c;--ip-gold:#c8a96b;background:linear-gradient(180deg,#f8f6f0 0,#f2f5f8 320px)}.circuit-operation-two-section-author .circuit-operation-heading{border-top:4px solid var(--ip-gold);background:linear-gradient(135deg,#fff 0,#fffdf8 100%)}.circuit-operation-two-section-stack>.circuit-operation-primary-section{border-radius:18px;box-shadow:0 16px 38px rgba(11,46,76,.07)}.circuit-operation-primary-section>header{border-bottom-color:rgba(200,169,107,.38)}
.circuit-operation-audio-state{display:grid;gap:15px;margin-top:20px;padding:20px;border:1px solid rgba(200,169,107,.52);border-left:4px solid var(--ip-gold);border-radius:14px;background:#fffdf8;box-shadow:0 8px 22px rgba(11,46,76,.045)}.circuit-operation-audio-state>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.circuit-operation-audio-state .eyebrow{width:100%;margin:0;color:#9b7427;font-size:.65rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.circuit-operation-audio-state strong{color:var(--ip-navy)}.circuit-operation-audio-state small{color:#68798a}.circuit-operation-audio-state.is-generating{background:linear-gradient(110deg,#fffdf8,#f7f9fb)}.circuit-operation-audio-loader{width:16px;height:16px;border:2px solid rgba(11,46,76,.18);border-top-color:var(--ip-navy);border-radius:50%;animation:circuit-audio-spin .8s linear infinite}.circuit-operation-audio-error{display:block;width:100%;color:#9a342e}.circuit-operation-audio-preview{display:grid;grid-template-columns:auto auto minmax(180px,1fr) auto auto;align-items:center;gap:11px;padding:13px;border:1px solid rgba(11,46,76,.1);border-radius:12px;background:#fff}.circuit-operation-audio-preview>span{color:#52677a;font-size:.78rem;font-variant-numeric:tabular-nums}.circuit-operation-audio-preview input[type=range]{width:100%;accent-color:var(--ip-gold)}.circuit-operation-audio-preview audio{display:none}.circuit-operation-hero-canvas{border-color:rgba(200,169,107,.48);background:radial-gradient(circle at 50% 42%,#263746,#101923 72%);box-shadow:0 18px 42px rgba(7,27,77,.16),0 0 0 6px rgba(200,169,107,.07)}
@keyframes circuit-audio-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.circuit-operation-audio-preview{grid-template-columns:auto 1fr auto}.circuit-operation-audio-preview input[type=range]{grid-column:1/-1}.circuit-operation-audio-preview .tertiary-action{grid-column:1/-1}}

/* Circuit Operation deterministic preview */
.circuit-operation-advanced:not([open]) .circuit-operation-advanced-body{display:none}.circuit-operation-preview{width:min(1080px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;border:1px solid #cbd6e2;border-radius:20px;background:#fff;box-shadow:0 28px 80px #07192c66}.circuit-operation-preview>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #dce4ec}.circuit-operation-preview>header h4{margin:2px 0 0}.circuit-operation-preview-preparing,.circuit-operation-preview-error{margin:14px 22px;padding:12px 14px;border-radius:10px}.circuit-operation-preview-preparing{display:flex;align-items:center;gap:10px;background:#eef5fa;color:#173d5c}.circuit-operation-preview-error{background:#fff0f0;color:#8b2424}.circuit-operation-preview-canvas{margin:0 22px;min-height:420px;border-radius:14px}.circuit-operation-preview .interactive-operation-path{opacity:.12;stroke-width:1.8;stroke-dasharray:7 5;stroke-dashoffset:calc(var(--path-progress,0) * -24);transition:opacity .12s ease,filter .12s ease}.circuit-operation-preview .interactive-operation-path.is-active{opacity:1;filter:drop-shadow(0 0 3px currentColor)}.circuit-operation-preview .circuit-operation-target-effect{transition:opacity .14s ease,transform .14s ease}.circuit-operation-preview .circuit-operation-target-effect.is-active{opacity:1;transform:translate(-50%,-50%) scale(1)}.circuit-operation-preview-timeline{display:grid;grid-template-columns:auto minmax(160px,1fr);align-items:center;gap:14px;padding:16px 22px 0}.circuit-operation-preview-timeline input{width:100%}.circuit-operation-preview-actions{justify-content:flex-start;flex-wrap:wrap;padding:14px 22px 22px}.circuit-operation-preview-actions [data-preview-status]{margin-left:auto;color:#5f7182;font-weight:700}.circuit-operation-preview audio{display:none}
@media(max-width:700px){.circuit-operation-preview{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.circuit-operation-preview-canvas{margin:0 10px;min-height:260px}.circuit-operation-preview-timeline{grid-template-columns:1fr;padding:14px 12px 0}.circuit-operation-preview-actions{padding:12px}.circuit-operation-preview-actions [data-preview-status]{width:100%;margin-left:0}}

/* Circuit Operation — narration-driven step and cue authoring */
.circuit-operation-narration-driven .circuit-operation-two-section-stack{gap:22px}.circuit-operation-steps-section{display:grid;gap:20px}.circuit-operation-create-step{display:flex;align-items:center;gap:14px}.circuit-operation-create-step small{color:#637587}.circuit-operation-step-list{display:grid;gap:10px}.narration-step-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 15px;border:1px solid #d9e1e8;border-radius:13px;background:#fafbfd}.narration-step-card.active{border-color:#c8a96b;background:#fffdf7;box-shadow:0 0 0 3px rgba(200,169,107,.12)}.narration-step-card>button{display:grid;gap:4px;padding:0;border:0;background:transparent;color:#18364f;text-align:left;cursor:pointer}.narration-step-card>button span{color:#966f22;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.narration-step-card>button small{color:#687a8b}.narration-step-card>div{display:flex;gap:7px;flex-wrap:wrap}.circuit-operation-empty-steps{padding:28px;border:1px dashed #bdc9d4;border-radius:14px;background:#f8fafb;text-align:center}.circuit-operation-empty-steps p{margin:5px 0 0;color:#687a8b}.cue-editor{overflow:hidden;border:1px solid rgba(11,46,76,.14);border-radius:16px;background:#f7f9fb}.cue-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:17px 19px;background:#0b2e4c;color:#fff}.cue-editor>header .eyebrow{margin:0 0 4px;color:#d9bb70}.cue-tools{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.cue-tools button{padding:8px 10px;border:1px solid #ffffff55;border-radius:8px;background:#fff;color:#173b59;font-weight:800;cursor:pointer}.cue-tools button.active{border-color:#d5b76d;background:#d5b76d}.cue-placement-canvas{position:relative;display:grid;place-items:center;min-height:420px;overflow:hidden;background:#111c26}.cue-placement-canvas.is-placing{cursor:crosshair}.cue-placement-canvas img{display:block;width:100%;max-height:700px;object-fit:contain}.cue-placement-canvas svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.cue-marker{position:absolute;left:var(--cue-x);top:var(--cue-y);transform:translate(-50%,-50%);min-width:42px;min-height:42px;border:3px solid #f4c85f;border-radius:50%;box-shadow:0 0 0 4px #0b2e4c55}.cue-marker.cue-label{min-height:0;padding:6px 9px;border-width:2px;border-radius:7px;background:#fff;color:#173b59;font-size:.75rem;font-weight:850}.cue-marker.cue-illuminate{background:#ffd97866;box-shadow:0 0 28px 12px #ffd97888}.cue-marker.cue-zoom_focus{width:76px;height:76px;border-style:dashed}.cue-placement-help{margin:0;padding:11px 17px;color:#627486;text-align:center}.cue-label-input,.cue-flow-options{display:flex;align-items:center;gap:10px;padding:12px 18px;background:#fff}.cue-label-input input{flex:1}.cue-flow-options{justify-content:flex-end}.cue-chip-list{display:flex;gap:8px;flex-wrap:wrap;padding:0 17px 17px}.cue-chip-list>span{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border-radius:999px;background:#e8eef3;color:#29475f;font-size:.76rem;font-weight:800}.cue-chip-list button{border:0;background:transparent;color:#8b3030;font-size:1rem;cursor:pointer}.circuit-operation-final-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;border:1px solid rgba(200,169,107,.5);border-left:5px solid #c8a96b;border-radius:14px;background:#fffdf7}.circuit-operation-final-actions strong,.circuit-operation-final-actions small{display:block}.circuit-operation-final-actions small{margin-top:4px;color:#687a8b}.circuit-operation-final-actions>div:last-child{display:flex;gap:10px}.circuit-operation-narration-driven>.circuit-operation-two-section-stack>.circuit-operation-advanced{margin:0}.circuit-operation-narration-driven .circuit-operation-visual-section .circuit-operation-section-actions,.circuit-operation-narration-driven .circuit-operation-visual-result{display:none}
@media(max-width:800px){.narration-step-card,.cue-editor>header,.circuit-operation-final-actions{align-items:stretch;grid-template-columns:1fr;flex-direction:column}.narration-step-card>div,.circuit-operation-final-actions>div:last-child{width:100%;flex-wrap:wrap}.cue-tools{justify-content:flex-start}.cue-placement-canvas{min-height:280px}}
.circuit-operation-preview .cue-preview.cue-label{width:auto;height:auto;min-width:70px;padding:7px 10px;border-radius:8px;background:#fff;color:#173b59;font-size:.78rem;font-weight:850;text-align:center}.circuit-operation-preview .cue-preview.cue-zoom_focus{width:100px;height:100px;border-style:dashed}.circuit-operation-preview .cue-preview.cue-illuminate{background:#ffd97866;box-shadow:0 0 30px 15px #ffd97888}

/* Circuit Operation — manual paste, cue, place, create workflow */
.manual-step-builder{display:grid;gap:18px;padding:22px;border:1px solid #d8e1e8;border-radius:16px;background:#fafbfd}.step-narration-field{display:grid;gap:8px}.step-narration-field>span,.manual-cue-selector legend,.cue-label-input>span,.step-occurrence-field>span{color:#8f6a21;font-size:.7rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.step-narration-field textarea{width:100%;min-height:112px;padding:16px 17px;border:1px solid #c7d3de;border-radius:13px;background:#fff;color:#18364f;font:inherit;font-size:max(.94rem,16px);line-height:1.6;resize:vertical}.step-narration-field textarea:focus{border-color:#b98e3b;outline:4px solid rgba(200,169,107,.18)}.manual-cue-selector{min-width:0;margin:0;padding:0;border:0}.manual-cue-selector legend{margin-bottom:10px}.manual-cue-selector>div{display:flex;gap:8px;flex-wrap:wrap}.manual-cue-selector button{padding:10px 13px;border:1px solid #cbd6df;border-radius:9px;background:#fff;color:#173b59;font:inherit;font-size:.8rem;font-weight:850;cursor:pointer}.manual-cue-selector button.active{border-color:#c8a96b;background:#0b2e4c;color:#fff;box-shadow:inset 0 -2px 0 #c8a96b}.step-occurrence-field{display:grid;gap:8px;padding:13px;border-left:4px solid #c8a96b;border-radius:9px;background:#fff8e8}.manual-step-error{margin:0;color:#963a34;font-size:.83rem;font-weight:800}.manual-placement-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-radius:10px;background:#edf2f6;color:#617486}.manual-placement-status.active{background:#fff7df;color:#725417}.manual-create-step{justify-self:start;min-width:160px}.manual-created-steps{margin-top:4px}.manual-created-steps .narration-step-card>div:first-child{display:grid;gap:4px}.manual-created-steps .narration-step-card>div:first-child>span{color:#966f22;font-size:.7rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.manual-created-steps .narration-step-card small{display:block;color:#687a8b}.circuit-operation-hero-canvas.is-cue-placing{cursor:crosshair}.image-coordinate-layer,.manual-placement-overlay{position:absolute;z-index:3;pointer-events:none}.manual-placement-overlay svg{position:absolute;inset:0;width:100%;height:100%}.manual-placement-overlay .cue-marker{z-index:2;width:var(--cue-size,12%);min-width:42px;aspect-ratio:1;height:auto;min-height:0}.manual-placement-overlay .cue-label::after{content:"";position:absolute;left:50%;top:100%;width:46px;border-top:1px dotted #f4c85f;transform:rotate(28deg);transform-origin:left}.manual-placement-overlay .cue-zoom_focus{background:rgba(255,255,255,.08);backdrop-filter:brightness(1.12)}.preview-cue-layer .circuit-operation-target-effect{width:var(--cue-size,12%);height:auto;aspect-ratio:1}.preview-cue-layer .cue-label{width:auto;height:auto;aspect-ratio:auto}
@media(max-width:700px){.manual-step-builder{padding:16px}.manual-cue-selector>div{display:grid;grid-template-columns:1fr 1fr}.manual-create-step{width:100%}}
.manual-path-point{position:absolute;left:var(--cue-x);top:var(--cue-y);display:grid;place-items:center;width:24px;height:24px;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#c8a96b;color:#0b2e4c;font-size:.7rem;font-weight:900;box-shadow:0 3px 10px #071b3d55}
.manual-placement-overlay .cue-marker.cue-highlight{transform:translate(-50%,-50%) scale(.5)}
.preview-cue-layer .circuit-operation-target-effect.cue-highlight{transform:translate(-50%,-50%) scale(.25)}
.preview-cue-layer .circuit-operation-target-effect.cue-highlight.is-active{transform:translate(-50%,-50%) scale(.5)}
.manual-placement-overlay .cue-marker.cue-highlight,.preview-cue-layer .circuit-operation-target-effect.cue-highlight{border:4.5px solid #ffda62;background:transparent;box-shadow:0 0 5px 2px rgba(255,211,82,.42),0 0 10px 3px rgba(255,196,42,.18)}

/* Illuminate cue — warm lamp core with a broader, softly diffused pool of light. */
.manual-placement-overlay .cue-marker.cue-illuminate,.preview-cue-layer .circuit-operation-target-effect.cue-illuminate{isolation:isolate;border:0;background:transparent;box-shadow:none}
.manual-placement-overlay .cue-marker.cue-illuminate::before,.preview-cue-layer .circuit-operation-target-effect.cue-illuminate::before{content:"";position:absolute;inset:-42%;z-index:-2;border-radius:50%;background:radial-gradient(circle,rgba(255,249,214,.88) 0 14%,rgba(255,221,112,.66) 30%,rgba(255,194,55,.3) 56%,rgba(255,184,34,0) 76%);filter:blur(5px)}
.manual-placement-overlay .cue-marker.cue-illuminate::after,.preview-cue-layer .circuit-operation-target-effect.cue-illuminate::after{content:"";position:absolute;inset:27%;z-index:-1;border-radius:50%;background:radial-gradient(circle at 45% 42%,#fff 0 12%,#fffbdc 30%,#ffe69a 58%,rgba(255,201,57,.22) 100%);box-shadow:0 0 10px 4px rgba(255,247,195,.82),0 0 22px 9px rgba(255,206,65,.48)}
.circuit-operation-preview .cue-preview.cue-illuminate{transition:opacity .22s ease-out,transform .22s ease-out}

/* Circuit Operation Label cue — Stage 1-aligned premium callout system. */
.manual-placement-overlay .cue-marker.cue-label,.preview-cue-layer .circuit-operation-target-effect.cue-label{width:max-content;max-width:min(240px,42%);height:auto;min-width:82px;min-height:0;aspect-ratio:auto;padding:11px 14px;border:1px solid rgba(11,31,77,.2);border-radius:10px;background:#fff;color:#173650;font-size:.86rem;font-weight:820;line-height:1.25;text-align:center;white-space:normal;box-shadow:0 5px 14px rgba(7,27,77,.12)}
.manual-placement-overlay .cue-marker.cue-label{pointer-events:auto;cursor:grab;touch-action:none}.manual-placement-overlay .cue-marker.cue-label:active{cursor:grabbing}
.label-callout-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 14px;border:1px solid rgba(200,169,107,.3);border-radius:10px;background:#fffdf8}.label-callout-controls>span{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;background:#f4f0e5;color:#52677a;font-size:.75rem;font-weight:800}.label-callout-controls>span button{border:0;background:transparent;color:#933b35;font:inherit;cursor:pointer}
.label-callout-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;opacity:0;pointer-events:none;transition:opacity .18s ease-out}.manual-placement-overlay .label-callout-lines,.label-callout-lines.is-active{opacity:1}.label-callout-lines line{stroke:#c8a96b;stroke-width:1.7;stroke-linecap:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 1px rgba(11,31,77,.2))}.label-callout-lines circle{fill:#d5b55f;stroke:#fff;stroke-width:1.2;vector-effect:non-scaling-stroke}
.label-callout-point{position:absolute;left:var(--cue-x);top:var(--cue-y);z-index:4;width:18px;height:18px;padding:0;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#c8a96b;box-shadow:0 2px 7px rgba(7,27,77,.25);pointer-events:auto;cursor:grab;touch-action:none}.label-callout-point:active{cursor:grabbing}
.manual-steps-heading{margin:8px 0 0;padding-top:20px;border-top:1px solid #dbe3ea;color:#0b2e4c;font-size:.78rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.circuit-operation-learner{width:100%;max-height:none;margin:0 0 18px;box-shadow:0 12px 34px rgba(7,25,44,.14)}

/* Circuit Operation preview — restrained directional energy flow */
.circuit-operation-preview .interactive-operation-energy-flow{color:#078cff;opacity:0;transition:opacity .08s linear}.circuit-operation-preview .interactive-operation-energy-flow.is-active{opacity:1}.interactive-operation-energy-glow,.interactive-operation-energy-route,.interactive-operation-energy-arrows,.interactive-operation-energy-pulse{fill:none;stroke-linecap:round;stroke-linejoin:round}.interactive-operation-energy-glow{stroke:#078cff;stroke-width:8;opacity:.28;filter:blur(3px) drop-shadow(0 0 4px rgba(0,145,255,.72))}.interactive-operation-energy-route{stroke:#079cff;stroke-width:2.8;opacity:.96;filter:drop-shadow(0 0 2px rgba(0,150,255,.92))}.interactive-operation-energy-arrows{stroke:#48baff;stroke-width:1.15;opacity:.98}.interactive-operation-energy-arrow path{fill:#82d5ff;filter:drop-shadow(0 0 1.2px rgba(0,151,255,.92))}.interactive-operation-energy-pulse{stroke:#e4f8ff;stroke-width:4.2;stroke-dasharray:.16 .84;stroke-dashoffset:calc(var(--path-progress,0) * -1);opacity:1;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px rgba(0,164,255,.98))}@media (prefers-reduced-motion:reduce){.interactive-operation-energy-pulse{display:none}.interactive-operation-energy-flow,.interactive-operation-energy-route{transition:none}}

/* Admissions presentation only — canonical context and operational behaviour are unchanged. */
.admissions-page { padding:24px; gap:24px; background:#f4f6f8; border:1px solid #dde3eb; border-radius:24px; }
.admissions-page .admissions-hero { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:32px 36px; color:#fff; background:#10243e; border-radius:20px; border-top:3px solid #b89b60; }
.admissions-page .admissions-hero .eyebrow { color:#e0c58f; font-size:.74rem; font-weight:750; letter-spacing:.18em; margin:0 0 12px; }
.admissions-page .admissions-hero h4 { color:#fff; margin:0; font-size:clamp(1.55rem,2.5vw,2.2rem); line-height:1.2; font-weight:650; letter-spacing:-.025em; }
.admissions-page .admissions-hero p:not(.eyebrow) { color:#c7d2e1; margin:12px 0 0; font-size:.9rem; }
.admissions-page .admissions-hero-count { flex:0 0 auto; display:grid; gap:5px; padding-left:32px; border-left:1px solid #536073; text-align:right; }
.admissions-page .admissions-hero-count strong { color:#e0c58f; font-size:3rem; font-weight:500; line-height:1; }
.admissions-page .admissions-hero-count span { color:#e4eaf2; font-size:.85rem; }
.admissions-page .admissions-learner-list { gap:18px; }
.admissions-page .admissions-learner-card { grid-template-columns:112px minmax(0,1fr); align-items:start; gap:28px; padding:30px; border:1px solid #dbe2ea; border-radius:20px; background:#fff; box-shadow:0 8px 24px #10243e09; }
.admissions-page .admissions-learner-photo { padding-top:8px; }
.admissions-page .admissions-learner-photo .learner-avatar.large { width:104px; height:104px; border:5px solid #fff; outline:1px solid #bfa775; box-shadow:0 5px 16px #10243e12; background:#edf1f6; color:#18324f; font-size:1.8rem; }
.admissions-page .admissions-learner-main { gap:24px; }
.admissions-page .admissions-identity { display:flex; align-items:center; justify-content:space-between; gap:20px; min-width:0; }
.admissions-page .admissions-identity>div { min-width:0; }
.admissions-page .admissions-learner-id { margin:0 0 7px; color:#667286; font-size:.78rem; letter-spacing:.12em; font-weight:650; }
.admissions-page .admissions-learner-main h5 { font-size:clamp(1.4rem,2vw,1.85rem); color:#10243e; line-height:1.2; font-weight:700; letter-spacing:-.02em; text-transform:uppercase; overflow-wrap:anywhere; }
.admissions-page .admissions-learner-actions { flex-shrink:0; }
.admissions-page .admissions-learner-actions button { border:1px solid #bbc6d4; border-radius:10px; background:#fff; color:#17314f; box-shadow:none; padding:11px 16px; min-height:44px; font-size:.85rem; }
.admissions-page .admissions-learner-actions button:hover { background:#f0f3f7; border-color:#8999ad; }
.admissions-page button:focus-visible { outline:3px solid #996e23; outline-offset:4px; }
.admissions-page .admissions-learner-meta { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(105px,.6fr); gap:18px 26px; border-top:1px solid #e3e8ef; padding-top:22px; }
.admissions-page .admissions-learner-meta>span { padding:0; border-radius:0; background:none; gap:8px; align-content:start; }
.admissions-page .admissions-learner-meta small { font-size:.68rem; letter-spacing:.13em; color:#637084; font-weight:750; }
.admissions-page .admissions-learner-meta strong { font-size:.95rem; line-height:1.5; font-weight:650; color:#213852; }
.admissions-page .admissions-curriculum { grid-column:1/-1; grid-row:1; border-left:2px solid #c1a56f; padding:16px 20px !important; background:#f6f7f9 !important; border-radius:0 10px 10px 0 !important; }
.admissions-page .admissions-curriculum .admissions-qualification { display:flex; align-items:center; gap:20px; padding:0; background:none; border-radius:0; }
.admissions-page .admissions-qualification strong { max-width:64ch; font-weight:600; }
.admissions-page .admissions-awarding-mark { width:76px; height:auto; flex:0 0 76px; object-fit:contain; }
.admissions-page .admissions-status strong { display:inline-flex; justify-self:start; align-items:center; gap:8px; background:#eaf4ee; color:#286046; border:1px solid #cfe3d7; border-radius:7px; padding:3px 10px; font-size:.8rem; }
.admissions-page .admissions-status i { width:6px; height:6px; border-radius:50%; background:#397956; }
@media(max-width:900px) {
 .admissions-page { padding:18px; }
 .admissions-page .admissions-hero { padding:26px; }
 .admissions-page .admissions-learner-card { grid-template-columns:80px minmax(0,1fr); gap:22px; padding:24px; }
 .admissions-page .admissions-learner-photo .learner-avatar.large { width:76px; height:76px; font-size:1.3rem; }
 .admissions-page .admissions-learner-meta { gap:18px; }
}
@media(max-width:600px) {
 .admissions-page { padding:12px; gap:16px; border-radius:18px; }
 .admissions-page .admissions-hero { padding:22px; align-items:flex-start; flex-direction:column; gap:20px; }
 .admissions-page .admissions-hero-count { border-left:0; border-top:1px solid #536073; padding:16px 0 0; display:flex; align-items:baseline; gap:12px; width:100%; text-align:left; }
 .admissions-page .admissions-hero-count strong { font-size:2rem; }
 .admissions-page .admissions-learner-card { grid-template-columns:minmax(0,1fr); padding:22px 18px; gap:18px; }
 .admissions-page .admissions-learner-photo { padding-top:0; }
 .admissions-page .admissions-identity { align-items:flex-start; flex-direction:column; gap:16px; }
 .admissions-page .admissions-learner-meta { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px 16px; }
 .admissions-page .admissions-curriculum { padding:14px !important; }
 .admissions-page .admissions-curriculum .admissions-qualification { gap:12px; align-items:flex-start; }
 .admissions-page .admissions-awarding-mark { width:56px; flex-basis:56px; }
 .admissions-page .admissions-learner-meta strong { font-size:.88rem; }
}

/* Tutor Admissions list and shared Digital Learner Record use the desktop shell width. */
body:has(#tutorView:not(.hidden) .tutor-signoff-layout.tutor-wide-mode #tutorSignoffPanel .admissions-page) .app-shell,
body:has(#tutorView:not(.hidden) .tutor-signoff-layout.tutor-wide-mode #tutorSignoffPanel .digital-record) .app-shell {
  width: min(100%, 1500px);
  max-width: 1500px;
  padding-inline: clamp(24px, 2.2vw, 32px);
}
body:has(#tutorView:not(.hidden) .tutor-signoff-layout.tutor-wide-mode #tutorSignoffPanel .admissions-page) :is(#tutorView, .tutor-shell, .tutor-signoff-layout, #tutorSignoffPanel),
body:has(#tutorView:not(.hidden) .tutor-signoff-layout.tutor-wide-mode #tutorSignoffPanel .digital-record) :is(#tutorView, .tutor-shell, .tutor-signoff-layout, #tutorSignoffPanel) {
  width: 100%;
  max-width: none;
  min-width: 0;
}
#tutorView:not(.hidden) #tutorSignoffPanel:has(.digital-record) .digital-record {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
@media(max-width:900px) {
  body:has(#tutorView:not(.hidden) .tutor-signoff-layout.tutor-wide-mode #tutorSignoffPanel .admissions-page) .app-shell,
  body:has(#tutorView:not(.hidden) .tutor-signoff-layout.tutor-wide-mode #tutorSignoffPanel .digital-record) .app-shell {
    padding-inline: clamp(16px, 3vw, 24px);
  }
}

/* Admin Edit Cohort: compact actions and existing form layout. */
[data-admin-curriculum-management-mode] .admin-pathway-header { flex-wrap: wrap; }
.admin-pathway-page[data-admin-curriculum-management-mode] .admin-pathway-header > .admin-pathway-header-actions { flex: 0 1 auto; min-width: 0; max-width: 100%; flex-wrap: wrap; gap: .5rem; }
[data-admin-curriculum-management-mode] .admin-pathway-header-actions > button { padding: .65rem .85rem; font-size: .82rem; min-height: 42px; }
.curriculum-full-cohort-dialog .curriculum-cohort-form { padding: 0; grid-template-columns: 1fr; }
.curriculum-full-cohort-content { padding: 1.25rem; }
.curriculum-full-cohort-content > label { display: grid; gap: .5rem; margin-bottom: 1rem; font-weight: 700; }
.curriculum-full-cohort-content select { width: 100%; min-width: 0; }
.curriculum-full-cohort-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.curriculum-full-cohort-fields > label { display: grid; align-content: start; gap: .4rem; font-weight: 700; color: #173654; }
.curriculum-full-cohort-fields > fieldset { grid-column: 1 / -1; }
.curriculum-cohort-edit-success { color: #164d3b; padding: .75rem; background: #eff8f3; border-radius: .6rem; }
@media(max-width:600px) { .curriculum-full-cohort-fields { grid-template-columns: 1fr; } }

/* Career Discovery preferences: selection, never correctness feedback. */
.induction-discovery-shell .induction-options input[name="inductionAnswer"] + span {
  display:flex;align-items:center;gap:10px;background:#fff;color:#102c46;border-color:#d9e1e8;
}
.induction-discovery-shell .induction-options input[name="inductionAnswer"] + span::before {
  content:"";flex:0 0 auto;width:16px;height:16px;box-sizing:border-box;border:2px solid #657589;border-radius:50%;
}
.induction-discovery-shell .induction-options input[name="inductionAnswer"]:checked + span {
  border-color:#0f8a61;background:#edf8f2;color:#102c46;
}
.induction-discovery-shell .induction-options input[name="inductionAnswer"]:checked + span::before {
  border-color:#0f8a61;background:#0f8a61;box-shadow:inset 0 0 0 3px #edf8f2;
}
.induction-discovery-shell .induction-options input[name="inductionAnswer"]:focus-visible + span {
  outline:3px solid #102c46;outline-offset:3px;
}
.induction-discovery-shell .induction-options.is-scale input[name="inductionAnswer"] + span {
  flex-direction:column;gap:6px;
}


/* Edit Cohort workspace: bounded viewport, stationary header, internal scrolling. */
html:has([data-curriculum-full-cohort-backdrop]),
body:has([data-curriculum-full-cohort-backdrop]) { overflow: hidden; }
[data-curriculum-full-cohort-backdrop] { overflow: hidden; overscroll-behavior: contain; }
.curriculum-cohort-dialog.curriculum-full-cohort-dialog {
  display: flex;
  flex-direction: column;
  height: 80vh;
  height: 80dvh;
  max-height: min(90dvh, calc(100dvh - 2.5rem));
  overflow: hidden;
}
.curriculum-full-cohort-dialog > header { flex: 0 0 auto; }
.curriculum-full-cohort-dialog > header > div { min-width: 0; }
.curriculum-full-cohort-dialog .curriculum-cohort-dialog-close { flex: 0 0 2.5rem; }
.curriculum-full-cohort-dialog .curriculum-full-cohort-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scroll-padding-block: 1rem 5.5rem;
}
.curriculum-full-cohort-dialog .curriculum-cohort-form-actions {
  position: sticky;
  bottom: -1.25rem;
  z-index: 1;
  margin-bottom: -1.25rem;
  padding-block: 1rem;
  background: #fff;
}
/* Keep the native select popup: the browser draws it outside CSS overflow. */
.curriculum-full-cohort-dialog select { position: relative; z-index: 2; }
.curriculum-full-cohort-dialog option { white-space: normal; }
@media (max-width: 900px) {
  [data-curriculum-full-cohort-backdrop] { padding: 2.5dvh 2.5vw; }
  .curriculum-cohort-dialog.curriculum-full-cohort-dialog {
    width: 95vw;
    height: 95vh;
    height: 95dvh;
    max-height: 95dvh;
  }
}
@media (max-width: 600px) {
  .curriculum-full-cohort-dialog > header { padding: 1rem; gap: .65rem; }
  .curriculum-full-cohort-dialog .curriculum-full-cohort-content { padding: 1rem; }
  .curriculum-full-cohort-dialog .curriculum-cohort-form-actions { bottom: -1rem; margin-bottom: -1rem; flex-wrap: wrap; }
}

/* Cohort staff are a separate team, never learner cards or learner metrics. */
.cohort-staff-fields { display:grid; gap:1rem; min-width:0; padding:1rem; border:1px solid #d7dee7; border-radius:.8rem; }
.cohort-staff-fields label { display:grid; gap:.4rem; }
.staff-designations { margin-block:1rem 2rem; padding:1.25rem; border:1px solid #d7dee7; border-radius:1rem; }
.staff-designations label { display:grid; gap:.5rem; }



/* Staff occupy the first two ordinary School grid cells, without mount animation. */
[data-school-cohort-grid]>.cohort-team-card{cursor:default;animation:none!important;transform:none!important;opacity:1!important;grid-template-rows:auto 1fr;border-radius:16px;min-height:480px}
[data-school-cohort-grid] .cohort-team-info{display:block;padding:16px;overflow-wrap:anywhere}
[data-school-cohort-grid] .cohort-team-info>p{font-size:.75rem;font-weight:800;letter-spacing:.08em;color:#765613}
[data-school-cohort-grid] .cohort-tutor-photo{display:grid;place-items:center}
[data-school-cohort-grid] .cohort-tutor-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 24%}
[data-school-cohort-grid] .cohort-tutor-photo>span{font-size:3rem;font-weight:800;color:#18324f}
[data-school-cohort-grid] [aria-busy="true"] .cohort-team-info strong{color:#66778a}
.curriculum-full-cohort-content>.curriculum-cohort-form>.cohort-staff-fields{margin:20px 0;flex-shrink:0}
/* Do not replay entrance animations when the authorised cohort grid rerenders. */
[data-school-cohort-grid]>.partner-learner-card{animation:none!important;opacity:1!important;transform:none!important}

/* Keep Manage Cohort actions after staff controls in the same scroll flow. */
.curriculum-full-cohort-dialog [data-curriculum-full-cohort-form]>.curriculum-cohort-form-actions{position:static;margin-bottom:0}

/* Curriculum Management reuses the Tutor carousel; these rules only place it in the Admin workspace. */
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .curriculum-day-navigator {display:block;min-width:0;margin:20px 0;border-radius:24px;overflow:hidden;}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .curriculum-day-navigator .tutor-teaching-workspace-carousel {padding-top:24px;min-height:400px;}
[data-admin-curriculum-management-mode] .curriculum-day-phase {display:flex;flex-direction:column;gap:8px;min-width:0;}
[data-admin-curriculum-management-mode] .curriculum-day-phase .admin-pathway-phase {height:100%;width:100%;}
[data-admin-curriculum-management-mode] .admin-pathway-phase.is-active {outline:3px solid var(--gold);outline-offset:-3px;}
[data-admin-curriculum-management-mode] .admin-pathway-month-section[hidden] {display:none;}
[data-admin-curriculum-management-mode] .admin-pathway-month-jump [aria-current="date"] {outline:2px solid var(--gold);}
@media(max-width:700px){:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .curriculum-day-navigator .tutor-teaching-workspace-carousel {padding:16px 6px;}}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) > .curriculum-day-navigator {order:4;}
[data-admin-curriculum-management-mode] > .admin-pathway-month-jump {order:5;}
[data-admin-curriculum-management-mode] > .admin-pathway-full-year {order:6;}
[data-admin-curriculum-management-mode] > [data-curriculum-day-detail] {order:7;}
[data-admin-curriculum-management-mode] > .admin-pathway-legend {order:8;}

/* Compact Admin scheduling, using the shared carousel and canonical lesson cards. */
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .curriculum-day-navigator{margin:10px 0}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .curriculum-day-navigator .tutor-teaching-workspace-carousel{padding:10px 6px;min-height:0}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel{padding-block:8px}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-header{min-height:44px;padding:8px 16px;gap:3px}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-body{padding:10px;gap:8px}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-lessons{gap:10px}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__image{height:85px;aspect-ratio:auto}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__content{padding:10px}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__description{-webkit-line-clamp:2;line-clamp:2;margin-block:4px}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__title{font-size:1rem;line-height:1.2;margin-block:4px}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card-unavailable{min-height:110px;padding:12px;gap:4px}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--adjacent{min-height:190px}
[data-admin-curriculum-management-mode] .tutor-carousel-lesson-summary{padding:8px;gap:3px}
[data-admin-curriculum-management-mode] .curriculum-day-phase{gap:0;border:1px solid #d6e1eb;border-radius:16px;overflow:hidden;background:var(--phase-card-bg,#e9f3fb)}
[data-admin-curriculum-management-mode] .curriculum-day-phase.phase-green{--phase-card-bg:#e9f6ee}
[data-admin-curriculum-management-mode] .curriculum-day-phase.phase-orange{--phase-card-bg:#fff0de}
[data-admin-curriculum-management-mode] .curriculum-day-phase.phase-purple{--phase-card-bg:#f1eafb}
[data-admin-curriculum-management-mode] .curriculum-day-phase.phase-teal{--phase-card-bg:#e3f5f2}
[data-admin-curriculum-management-mode] .curriculum-day-phase .admin-pathway-phase{border:0;border-radius:0;box-shadow:none;padding-bottom:8px}
[data-admin-curriculum-management-mode] .curriculum-day-phase [data-curriculum-phase-edit]{background:transparent;color:#173760;border:0;border-top:1px solid #17376020;border-radius:0;box-shadow:none;text-align:left;font-size:.78rem;font-weight:750;padding:9px 16px;min-height:36px}
[data-admin-curriculum-management-mode] .curriculum-day-phase [data-curriculum-phase-edit]:hover{background:#ffffff60}
.curriculum-occurrence-actions{display:grid;gap:4px;border-top:1px solid #d7e1ec;padding-top:6px;color:#173760}
.curriculum-occurrence-actions>div{display:flex;align-items:center;gap:8px;font-size:.73rem}
.curriculum-occurrence-actions>div>span{margin-right:auto}
.curriculum-occurrence-actions button,.curriculum-lesson-shelf header button{border:0;background:transparent;color:#173760;text-decoration:underline;text-underline-offset:3px;padding:6px;font-size:.75rem;min-height:30px}
.curriculum-drop-hint{font-size:.7rem;margin:2px 0;color:#587086}
.is-delivery-drop{outline:3px dashed #b98a1a!important;outline-offset:-5px}
[data-admin-curriculum-management-mode]>.curriculum-lesson-shelves{order:4;min-width:0;margin:0 0 12px}
.curriculum-schedule-message{font-size:.8rem;color:#40596d;margin:4px 0 8px}
.curriculum-lesson-shelf{min-width:0;margin-bottom:12px}
.curriculum-lesson-shelf>header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.curriculum-lesson-shelf h4{margin:0;color:#173760;font-size:.9rem}
.curriculum-lesson-shelf-track{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}
.curriculum-shelf-card{display:flex;flex:0 0 212px;min-width:0;align-items:center;gap:8px;padding:8px;border:1px solid #d6e0ea;border-radius:12px;background:#fff;color:#173760;text-align:left;box-shadow:none;cursor:grab}
.curriculum-shelf-card img{width:54px;height:54px;object-fit:cover;border-radius:7px;flex:none}
.curriculum-shelf-card>span{display:grid;gap:3px;min-width:0}
.curriculum-shelf-card strong{font-size:.76rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.curriculum-shelf-card small,.curriculum-shelf-card em{font-size:.62rem;font-style:normal;color:#617389}
.curriculum-shelf-card:hover{border-color:#b98a1a;box-shadow:0 2px 8px #17376016}
.curriculum-shelf-card:focus-visible,.curriculum-occurrence-actions button:focus-visible,[data-curriculum-phase-edit]:focus-visible{outline:3px solid #b98a1a;outline-offset:-3px}
.curriculum-delivery-dialog{width:min(480px,92vw);padding:24px;border:1px solid #b98a1a;border-radius:18px;color:#173760;background:#fff}
.curriculum-delivery-dialog::backdrop{background:#0b254c80}
.curriculum-delivery-dialog label{display:grid;gap:8px}
.curriculum-delivery-dialog select{width:100%;padding:10px}
.curriculum-delivery-dialog footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
.curriculum-delivery-dialog button{padding:10px 16px;border:1px solid #b98a1a;border-radius:8px;background:#142953;color:#fff}
@media(max-width:700px){:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-lessons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-carousel-published-card .cohort-progress-item-card__image{height:65px}:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-carousel-published-card .cohort-progress-item-card__content{padding:7px}:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-carousel-published-card .cohort-progress-item-card__title{font-size:.8rem}.curriculum-occurrence-actions>div{flex-wrap:wrap;gap:4px}}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card{min-height:0}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__body{padding:9px 10px}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__metrics{padding:5px 0 0;gap:4px}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__metrics>*{padding:3px 0;min-height:0}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__footer{padding:6px 10px;min-height:0}
[data-admin-curriculum-management-mode] .curriculum-occurrence-actions{grid-column:1/-1}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__header{min-height:0;padding:8px 10px}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__header strong{font-size:.9rem;line-height:1.2}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__description{min-height:0;line-height:1.3;font-size:.75rem}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-alignment-badge{min-height:0;padding:6px 8px}
[data-admin-curriculum-management-mode] .curriculum-day-phase.phase-navy{background:#edf5fc}
[data-admin-curriculum-management-mode] .curriculum-day-phase.phase-green{background:#eef8f0}
[data-admin-curriculum-management-mode] .curriculum-day-phase.phase-orange{background:#fff5ec}
[data-admin-curriculum-management-mode] .curriculum-day-phase.phase-purple{background:#f5f0fa}
[data-admin-curriculum-management-mode] .curriculum-day-phase.phase-teal{background:#edf8f8}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__image{height:60px}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-header small{font-size:.85rem;line-height:1.3}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-header{min-height:40px}
[data-admin-curriculum-management-mode] .tutor-carousel-published-card .cohort-progress-item-card__image{height:42px}

/* Curriculum queues reuse the same complete lesson card markup at a readable miniature size. */
[data-admin-curriculum-management-mode] .curriculum-lesson-slot{position:relative;min-width:0;align-self:start}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__image{height:84px}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__body{display:flex;flex-direction:column;justify-content:flex-start;gap:4px;padding:5px 10px}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__description{margin:0;min-height:0;font-size:.75rem;line-height:1.25}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__metrics{display:grid;gap:1px;border:0;padding:0;margin:0}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__metrics>*{padding:0;line-height:1.2}
.curriculum-card-remove{display:block;margin:3px 0 0 auto;background:transparent;border:0;border-radius:5px;color:#173760;font-size:.7rem;padding:4px 8px;box-shadow:none;min-height:25px}
.curriculum-card-remove:hover{background:#edf3f9;text-decoration:underline}
.curriculum-lesson-slot.is-delivery-drop{outline:3px dashed #b98a1a;outline-offset:2px;border-radius:16px}
[data-admin-curriculum-management-mode] .curriculum-lesson-shelf-track{align-items:flex-start;gap:10px;padding-bottom:10px}
[data-admin-curriculum-management-mode] .curriculum-mini-card{flex:0 0 179px;width:179px;min-width:0;cursor:grab;border-radius:15px;outline-offset:3px}
[data-admin-curriculum-management-mode] .curriculum-mini-card:focus-visible{outline:4px solid #b98a1a}
[data-admin-curriculum-management-mode] .curriculum-mini-card[aria-disabled="true"]{opacity:.65;cursor:wait}
[data-admin-curriculum-management-mode] .curriculum-mini-card .tutor-carousel-published-card{width:100%;gap:4px}
[data-admin-curriculum-management-mode] .curriculum-mini-card .tutor-carousel-published-card-context{font-size:11.5px;line-height:1.2;letter-spacing:.03em}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card{min-height:0;border-radius:13px;box-shadow:0 4px 10px #17376012}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__main{display:flex;flex-direction:column;min-height:0}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__header{position:relative;display:block;min-height:0;padding:6px 8px;gap:3px}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__header>span{display:grid;gap:4px}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__header small{font-size:10px;letter-spacing:.03em;padding-right:0;line-height:1.2}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__header strong{font-size:13px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:31px}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__header em{position:static;display:block;width:max-content;margin-top:4px;font-size:10px;line-height:1;padding:3px 4px;border-radius:4px;letter-spacing:0}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__image{height:49px;min-height:0;aspect-ratio:auto}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__image img{width:100%;height:100%;object-fit:cover}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__body{display:grid;gap:4px;padding:5px 8px;min-height:0}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__description{font-size:10px;line-height:1.2;margin:0;min-height:0;-webkit-line-clamp:1;line-clamp:1}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__metrics{display:grid;gap:1px;margin:0;padding:0;border:0;min-height:0}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__metrics>*{padding:0;font-size:10px;line-height:1.2;letter-spacing:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-alignment-badge{min-height:0;padding:5px;gap:5px}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-alignment-badge img{width:26px;height:26px;padding:1px}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-alignment-badge>span{display:grid;gap:1px;min-width:0}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-alignment-badge :is(small,strong,em){font-size:9px;line-height:1.2;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__header{padding:8px 6px;gap:4px}[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__body{padding:5px 6px}[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__image{height:84px}}
[data-admin-curriculum-management-mode] .curriculum-mini-card{flex-basis:164px;width:164px}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__image{height:44px}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__header em{font-size:10px}

/* Larger planning cards: visual sizing only; schedule and queue behaviour are unchanged. */
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .curriculum-day-navigator{margin:24px 0 18px}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .curriculum-day-navigator .tutor-teaching-workspace-carousel{padding:18px 6px}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-header{padding:12px 18px;gap:5px}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-body{padding:16px;gap:12px}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__header{padding:10px 12px}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__header strong{font-size:1rem;line-height:1.25}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__image{height:112px}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__image img{width:100%;height:100%;object-fit:cover}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__body{padding:10px 12px;gap:8px}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__description{font-size:.875rem;line-height:1.35}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__metrics{gap:3px}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-alignment-badge{padding:9px 10px;gap:10px}
[data-admin-curriculum-management-mode] .curriculum-card-remove{font-size:.8rem;padding:6px 10px;margin-top:6px;min-height:30px}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--adjacent{min-height:230px}
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--adjacent .tutor-lesson-carousel-card-body{padding:18px}
[data-admin-curriculum-management-mode]>.curriculum-lesson-shelves{margin:8px 0 20px}
[data-admin-curriculum-management-mode] .curriculum-schedule-message{margin:0 0 18px;line-height:1.5}
[data-admin-curriculum-management-mode] .curriculum-lesson-shelf{margin-bottom:24px}
[data-admin-curriculum-management-mode] .curriculum-lesson-shelf-track{gap:14px;padding:6px 2px 14px;flex-wrap:nowrap}
@media(max-width:700px){
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-lessons{grid-template-columns:minmax(0,280px);justify-content:center;gap:20px}
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-card-body{padding:14px 10px}
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .curriculum-day-navigator .tutor-teaching-workspace-carousel{padding:18px 6px}
}

@media(max-width:700px){[data-admin-curriculum-management-mode] .curriculum-card-remove{margin:6px auto 0}}

/* Selected-day cards: larger frame and complete, naturally proportioned photographs. */
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-lessons{grid-template-columns:repeat(2,minmax(0,336px));justify-content:center;align-items:stretch;gap:16px}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot{display:flex;flex-direction:column;align-self:stretch;min-width:0}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .tutor-carousel-published-card{display:flex;flex-direction:column;flex:1;max-width:336px;width:100%}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card{display:flex;flex-direction:column;flex:1;min-height:414px}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__main{display:flex;flex-direction:column;flex:1}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__header{padding:12px 14px;flex-shrink:0}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__header strong{font-size:1.1rem;line-height:1.25}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__image{display:block;height:auto;min-height:0;max-height:none;aspect-ratio:auto;flex-shrink:0;overflow:visible}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__image img{display:block;position:static;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;transform:none}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__body{flex:1;padding:12px 14px;gap:10px}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-item-card__description{font-size:.95rem;line-height:1.4}
[data-admin-curriculum-management-mode] .curriculum-lesson-slot .cohort-progress-alignment-badge{margin-top:auto;padding:11px 12px;min-height:65px;flex-shrink:0}
@media(min-width:1101px){
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-track{grid-template-columns:minmax(0,1fr) minmax(0,816px) minmax(0,1fr)}
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-control--previous{left:calc((100% - 816px) / 2)}
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-control--next{right:calc((100% - 816px) / 2);left:auto}
}
@media(max-width:1100px){
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-card--current .tutor-lesson-carousel-lessons{grid-template-columns:minmax(0,336px);gap:20px}
}
@media(max-width:1100px){
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-track{padding-top:56px}
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-control{top:4px;transform:none}
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-control--previous{left:8px}
 :is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) .tutor-lesson-carousel-control--next{right:8px;left:auto;transform:none}
}

/* Lower lesson shelves: six substantial cards, with more room for photographs. */
[data-admin-curriculum-management-mode] .curriculum-mini-card .tutor-carousel-published-card{max-width:none}
[data-admin-curriculum-management-mode] .curriculum-lesson-shelf-track{align-items:stretch}
[data-admin-curriculum-management-mode] .curriculum-mini-card{flex:0 0 calc((100% - 70px) / 6);width:calc((100% - 70px) / 6);min-width:0}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card{height:308px;display:flex;flex-direction:column}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__main{flex:1;min-height:0}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__header{height:86px;flex:0 0 86px;padding:7px 10px;box-sizing:border-box}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__header strong{font-size:14px;line-height:1.2;min-height:34px}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__image{flex:1;min-height:0;height:auto;background:#eef2f5}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__image img{width:100%;height:100%;object-fit:contain}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-item-card__body{height:58px;flex:0 0 58px;box-sizing:border-box;padding:6px 10px}
[data-admin-curriculum-management-mode] .curriculum-mini-card .cohort-progress-alignment-badge{height:46px;flex:0 0 46px;box-sizing:border-box;padding:6px}
@media(max-width:1100px){[data-admin-curriculum-management-mode] .curriculum-mini-card{flex-basis:224px;width:224px}}

/* Connect the scheduling destination and source rows without stacked outer margins. */
:is([data-admin-curriculum-management-mode],[data-teaching-lesson-carousel-layout]) > .curriculum-day-navigator{margin-bottom:0}
[data-admin-curriculum-management-mode] > .curriculum-lesson-shelves{margin-top:0}
[data-admin-curriculum-management-mode] .curriculum-schedule-message{margin-bottom:12px}
[data-admin-curriculum-management-mode] .curriculum-lesson-shelf{margin-bottom:16px}

/* Public pre-registration account choice; existing sign-in and portals are unchanged. */
#memberRegistrationPanel #memberRegistrationTitle{font-size:clamp(1.1rem,2vw,1.7rem);letter-spacing:.18em;line-height:1.2;color:#96722b}
#memberRegistrationPanel .member-role-gateway-heading>p{margin:12px 0 0;font-size:clamp(2.8rem,5vw,4.8rem);font-weight:850;line-height:1.05;color:#071b4d;letter-spacing:-.035em}
#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-card{display:grid;grid-template-rows:76px auto 1fr auto;min-height:540px;text-decoration:none;color:#071b4d;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;cursor:pointer}
#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-card-header{justify-content:center;background:#071b4d;border-bottom:3px solid #c7a352}
#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-card-header strong{font-size:clamp(1.1rem,1.7vw,1.6rem);letter-spacing:.06em;color:#fff}
#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-image{aspect-ratio:4/3;width:100%;height:auto;object-fit:cover}
#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-card small{padding:22px 24px 16px;font-size:1rem;line-height:1.5}
#memberRegistrationPanel .member-account-cta{margin:0 22px 24px;padding:17px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#071b4d;color:#fff;border:1px solid #c7a352;border-radius:12px;font-size:.85rem;font-weight:800;line-height:1.4}
#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-card:hover{transform:translateY(-4px);border-color:#a47c26;box-shadow:0 20px 42px #071b4d26}
#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-card:focus-visible{outline:3px solid #96722b;outline-offset:5px}
#memberRegistrationPanel .member-account-back{display:inline-block;margin-bottom:16px;color:#071b4d;text-underline-offset:4px}
#memberRegistrationPanel #memberRegistrationForm[data-registration-step="details"] .member-type-fieldset{display:none}
@media(max-width:1100px){#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-grid{grid-template-columns:1fr;max-width:600px;margin:0 auto}#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-card{min-height:0}}
@media(prefers-reduced-motion:reduce){#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-card{transition:none}#memberRegistrationPanel #memberRegistrationForm[data-registration-step="role"] .member-type-card:hover{transform:none}}

body:has(#memberRegistrationPanel) #memberRegistrationPanel > .account-mode-switch{display:flex}

/* Electrician-only registration additions preserve the existing split form. */
#memberRegistrationForm .electrician-fields { grid-column: 1 / -1; }
#memberRegistrationForm .electrician-types { border: 0; padding: 0; margin: 0; min-width: 0; }
#memberRegistrationForm .electrician-types legend { font-size: .92rem; font-weight: 700; color: #193852; margin-bottom: 10px; }
#memberRegistrationForm .electrician-type-options { display: flex; gap: 10px; flex-wrap: wrap; }
#memberRegistrationForm .electrician-type-options label { flex: 1; position: relative; cursor: pointer; }
#memberRegistrationForm .electrician-type-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#memberRegistrationForm .electrician-type-options span { display: block; padding: 13px 10px; text-align: center; border: 1px solid #cbd5df; border-radius: 12px; color: #193852; background: #fff; font-weight: 600; }
#memberRegistrationForm .electrician-type-options input:checked + span { background: #102655; color: #fff; border-color: #bb9448; box-shadow: inset 0 0 0 1px #bb9448; }
#memberRegistrationForm .electrician-type-options input:focus-visible + span { outline: 3px solid #bb9448; outline-offset: 3px; }
#memberRegistrationForm .electrician-terms { margin: 20px 0; }
#memberRegistrationForm .electrician-terms label { display: flex; align-items: flex-start; gap: 10px; color: #193852; font-size: .9rem; line-height: 1.5; cursor: pointer; }
#memberRegistrationForm .electrician-terms input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: #102655; }
#memberRegistrationForm .electrician-field-error { display: block; color: #9b2430; font-size: .85rem; margin-top: 6px; }
#memberRegistrationForm .electrician-field-error:empty { display: none; }

#memberRegistrationForm .electrician-terms input { min-height: 20px; padding: 0; }

/* Public-member connections share the employment hub's panel treatment. */
#memberConnectionsPanel { display:block; padding:16px 22px; margin-bottom:16px; border:1px solid #d4dde5; border-radius:18px; background:#fff; color:#193852; }
#memberConnectionsPanel summary { cursor:pointer; font-weight:700; }
#memberConnectionsPanel details>label { display:flex; align-items:flex-start; gap:10px; margin-top:16px; }
#memberConnectionsPanel input[type="checkbox"] { width:20px; height:20px; flex-shrink:0; accent-color:#102655; }
#memberConnectionsPanel .electrician-job-card { margin-top:12px; }

/* Standalone confirmation: outside the shared login/marketing shell. */
body:has(#memberWelcomePanel:not(.hidden)){background:#fff}
body:has(#memberWelcomePanel:not(.hidden)) .app-shell{width:100%;max-width:none;margin:0;padding:40px 24px;min-height:100svh;display:grid;place-items:center}
body:has(#memberWelcomePanel:not(.hidden)) .login-shell{display:none}
body:has(#memberWelcomePanel:not(.hidden)) #memberWelcomePanel{display:grid;gap:22px;width:min(100%,580px);max-width:580px;padding:0;margin:0;background:#fff;border:0;box-shadow:none;justify-items:center;text-align:center}
#memberWelcomePanel #memberWelcomeMessage{margin:0;line-height:1.7}
#memberWelcomePanel #memberResendSection{font-size:.9rem;color:#52677f;max-width:100%}
#memberResendVerification{background:transparent;border:0;box-shadow:none;padding:8px;font:inherit;cursor:pointer;color:#071b4d;text-decoration:underline;text-underline-offset:4px;white-space:normal}
#memberResendVerification:disabled{opacity:.65;cursor:default}
#memberResendVerification:focus-visible{outline:3px solid #c7a352;outline-offset:4px}
#memberResendStatus{line-height:1.6;min-height:1.6em}

/* Employer entry reuses the results hero and shared premium CTA. */
.employer-entry-hero h2{margin:0;color:#fff;font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.2;letter-spacing:-.02em}

/* Employer results: explicit hierarchy without changing the refresh CTA. */
.employer-search-tools{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:28px}
.employer-search-tools>p{margin:0;line-height:1.6}
.employer-search-results>header{align-items:flex-start;margin-bottom:24px}
.employer-search-results>header h2{margin-top:8px}

/* Compact schedule-only clipboard beneath the selected day. */
[data-admin-curriculum-management-mode] .curriculum-day-actions{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:16px;text-align:center}
[data-admin-curriculum-management-mode] .curriculum-day-actions button{padding:7px 18px;min-height:36px;border:1px solid #b49a61;border-radius:999px;background:#fff;color:#102b46;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
[data-admin-curriculum-management-mode] .curriculum-day-actions button:hover:not(:disabled){background:#f4f0e7}
[data-admin-curriculum-management-mode] .curriculum-day-actions button:focus-visible{outline:3px solid #b49a61;outline-offset:3px}
[data-admin-curriculum-management-mode] .curriculum-day-actions button:disabled{opacity:.55;cursor:default}
[data-admin-curriculum-management-mode] .curriculum-day-actions small{font-size:12px;color:#536579}

/* Membership stays within the existing Capacity metadata block. */
[data-admin-curriculum-management-mode] .curriculum-assigned-learners{display:grid;gap:.28rem;margin-top:.7rem;color:inherit}
[data-admin-curriculum-management-mode] .curriculum-assigned-learners>span{font-size:.75rem;font-weight:600;color:inherit}
[data-admin-curriculum-management-mode] .curriculum-assigned-learners>strong{font-size:1rem}

/* Admin header controls retain intrinsic widths and wrap safely on small screens. */
.topbar.has-admin-controls .topbar-actions{display:flex;gap:10px;flex-wrap:wrap;min-width:0;max-width:100%}
.topbar.has-admin-controls .topbar-actions>button{flex:0 0 auto;width:auto;min-width:0;white-space:nowrap}
@media(max-width:700px){
 .topbar.has-admin-controls{grid-template-columns:minmax(0,1fr)}
 .topbar.has-admin-controls .brand{max-width:100%;grid-row:1}
 .topbar.has-admin-controls .topbar-centre{display:none}
 .topbar.has-admin-controls .topbar-actions{grid-column:1;grid-row:2;justify-content:flex-end;width:100%}
 .topbar.has-admin-controls .topbar-actions>button{padding:9px 12px}
}

/* Shared public journey cards: four choices, unchanged visual treatment. */
body:has(#memberRegistrationPanel:not(.hidden)) .member-type-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:1000px){body:has(#memberRegistrationPanel:not(.hidden)) .member-type-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){body:has(#memberRegistrationPanel:not(.hidden)) .member-type-grid{grid-template-columns:1fr;}}

/* Level 2 root only; the map uses the shared Apprentice presentation system. */
.cm-qualification{min-width:0;color:#142c46}.cm-qualification-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:4px 0 14px}.cm-qualification-heading p{margin:0;color:#586779}.cm-qualification-root{border:1px solid #ddd9cf;border-radius:20px;background:#fff;box-shadow:0 8px 26px #142c4608;overflow:hidden}.cm-qualification-root-card{padding:clamp(24px,4vw,44px);background:linear-gradient(120deg,#fff 55%,#fbf8f0);text-align:center}.cm-qualification-badge{display:inline-block;padding:7px 12px;border:1px solid #e4d5ac;border-radius:30px;color:#74591f;background:#fcf8ec;font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.cm-qualification-root h3{font-size:clamp(24px,3vw,34px);line-height:1.2;margin:20px 0 10px;color:#142c46}.cm-qualification-award{display:block;font-size:17px;color:#586779}.cm-qualification-counts{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 28px;margin:26px 0;font-size:13px;color:#586779}.cm-qualification-counts strong{color:#142c46}.cm-qualification-action{display:inline-block;color:#74591f;font-size:13px;font-weight:750;padding:10px 4px;border-bottom:1px solid #c4a762;text-decoration:none}.cm-qualification-action:focus-visible{outline:3px solid #9d792a;outline-offset:4px}#curriculumQualificationMap{min-width:0}@media(max-width:600px){.cm-qualification-counts{gap:10px 16px}.cm-qualification-heading{display:block}.cm-qualification-heading p+p{margin-top:8px}}

/* Version-owned recommended Delivery Map; scoped away from existing teaching screens. */
#curriculumDeliveryMap{width:100%;min-width:0;color:#17384a}
#curriculumDeliveryMap *{box-sizing:border-box}
#curriculumDeliveryMap .dm-entry,#curriculumDeliveryMap .dm-cohort{max-width:980px;margin:28px auto;padding:30px;border:1px solid #dbe5e8;border-radius:18px;background:#fff;position:relative}
#curriculumDeliveryMap .dm-entry:before,#curriculumDeliveryMap .dm-cohort:before{content:'↓';display:block;position:absolute;top:-27px;left:calc(50% - 6px);color:#97acb4}
#curriculumDeliveryMap .dm-entry{border-top:3px solid #147e85}
#curriculumDeliveryMap h3{font-size:21px;line-height:1.35;margin:8px 0}
#curriculumDeliveryMap p{line-height:1.65}
#curriculumDeliveryMap .dm-cohort{background:#f5f8f9}
#curriculumDeliveryMap .dm-cohort p:last-child{font-size:13px;color:#536977;max-width:760px}
#curriculumDeliveryMap .dm-workspace{max-width:1100px;margin:auto;padding:12px 0 40px}
#curriculumDeliveryMap .dm-back{display:inline-block;margin:0 0 22px;color:#1a6374;font-weight:600}
#curriculumDeliveryMap .dm-header{padding:32px;background:#123746;color:#fff;border-radius:20px}
#curriculumDeliveryMap .dm-header h2{color:#fff;font-size:clamp(25px,3vw,36px);line-height:1.2;margin:10px 0 16px}
#curriculumDeliveryMap .dm-header p{color:#d4e3e8}
#curriculumDeliveryMap .dm-header .eyebrow{color:#98dadd}
#curriculumDeliveryMap .dm-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:26px 0}
#curriculumDeliveryMap .dm-stats>div{border-left:1px solid #50707a;padding-left:15px;display:flex;flex-direction:column;gap:8px}
#curriculumDeliveryMap .dm-stats strong{font-size:26px;color:#fff}
#curriculumDeliveryMap .dm-stats span{font-size:12px;line-height:1.4;color:#cee0e4}
#curriculumDeliveryMap .dm-coverage{margin-bottom:0;font-size:13px}
#curriculumDeliveryMap .dm-context{padding:14px 4px;font-size:14px;color:#536977}
#curriculumDeliveryMap .dm-context p{margin:12px 0}
#curriculumDeliveryMap .dm-filters{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
#curriculumDeliveryMap .dm-filters button{cursor:pointer;min-height:44px;padding:10px 16px;background:#fff;border:1px solid #ccdbdf;border-radius:24px;color:#254c5b;font:inherit;font-size:14px}
#curriculumDeliveryMap .dm-filters button[aria-pressed=true]{background:#14737c;border-color:#14737c;color:white}
#curriculumDeliveryMap .dm-filters button span{margin-left:6px;opacity:.85}
#curriculumDeliveryMap :focus-visible{outline:3px solid #dfab3e;outline-offset:3px}
#curriculumDeliveryMap .dm-result{font-size:13px;color:#627b86;margin:15px 0}
#curriculumDeliveryMap .dm-sequence{display:grid;gap:18px}
#curriculumDeliveryMap .dm-topic{border:1px solid #dbe5e8;border-radius:16px;background:#fff;padding:26px;box-shadow:0 3px 12px #17384a05;overflow-wrap:anywhere}
#curriculumDeliveryMap .dm-topic-heading{display:flex;gap:22px;align-items:flex-start}
#curriculumDeliveryMap .dm-number{min-width:52px;display:flex;flex-direction:column;font-size:30px;font-weight:700;line-height:1.2;color:#7194a0}
#curriculumDeliveryMap .dm-number small{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.06em;margin-top:5px}
#curriculumDeliveryMap .dm-type{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;border-radius:20px;padding:5px 9px;background:#e9f1f7;color:#2e5e7c}
#curriculumDeliveryMap .dm-type-practical{background:#e4f2e9;color:#246249}
#curriculumDeliveryMap .dm-type-blended{background:#f0ebf7;color:#665081}
#curriculumDeliveryMap .dm-units{font-size:12px;color:#67818c;margin:8px 0 0}
#curriculumDeliveryMap .dm-focus{font-size:14px;color:#435d69;margin:20px 0}
#curriculumDeliveryMap details{border-top:1px solid #e7edef;padding-top:14px;font-size:13px}
#curriculumDeliveryMap summary{cursor:pointer;color:#216779;font-weight:600;padding:6px 0;min-height:36px}
#curriculumDeliveryMap .dm-details{padding:8px 0 0}
#curriculumDeliveryMap .dm-details h4{font-size:14px;margin:20px 0 6px;color:#224857}
#curriculumDeliveryMap .dm-details p{margin:7px 0}
#curriculumDeliveryMap .dm-mappings>div{margin:8px 0}
#curriculumDeliveryMap .dm-mappings span{display:block;line-height:2}
#curriculumDeliveryMap .dm-mappings a{color:#146d7c;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:3px 2px}
#curriculumDeliveryMap .dm-readiness{border-left:3px solid #dfb366;padding:10px 14px;background:#fffbf3}
#curriculumDeliveryMap .dm-checkpoint{padding:24px 28px;border-radius:12px;background:#e9f3f2;border-left:4px solid #27868a;overflow-wrap:anywhere}
#curriculumDeliveryMap .dm-checkpoint p{font-size:13px}
#curriculumDeliveryMap .dm-checkpoint .eyebrow{font-size:11px;color:#2b7476}
@media(max-width:760px){#curriculumDeliveryMap .dm-stats{grid-template-columns:repeat(3,minmax(0,1fr))}#curriculumDeliveryMap .dm-header{padding:24px}#curriculumDeliveryMap .dm-topic{padding:20px}#curriculumDeliveryMap .dm-topic-heading{gap:14px}#curriculumDeliveryMap h3{font-size:19px}}
@media(max-width:420px){#curriculumDeliveryMap .dm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#curriculumDeliveryMap .dm-header,#curriculumDeliveryMap .dm-entry,#curriculumDeliveryMap .dm-cohort{padding:20px}#curriculumDeliveryMap .dm-topic,#curriculumDeliveryMap .dm-checkpoint{padding:18px}#curriculumDeliveryMap .dm-number{min-width:34px;font-size:25px}#curriculumDeliveryMap .dm-filters button{padding:9px 12px}#curriculumDeliveryMap .dm-stats strong{font-size:23px}}

/* Expand only the Level 2 overview within its existing portal content host.
   Keep the shared header and other Admin controls at their existing widths. */
body:has(#adminView:not(.hidden) .cm-curriculum-tree) .app-shell{width:100%;max-width:none}
body:has(#adminView:not(.hidden) .cm-curriculum-tree) #adminView>:not(#adminRecordPanels){max-width:1472px;margin-inline:auto;width:100%}

/* Level 2 architecture only. Official supplied classroom and logo; editorial image-top tiles. */
.cm-curriculum-tree{position:relative;isolation:isolate;overflow:hidden;width:100%;box-sizing:border-box;max-width:none;margin:auto;padding:28px 40px 64px;border-radius:20px;background:#20364a;color:#102c49}
.cm-classroom-backdrop{position:absolute;inset:-12px;z-index:-2;pointer-events:none}
.cm-classroom-backdrop img{width:100%;height:100%;object-fit:cover;object-position:50% 52%;filter:blur(5px)}
.cm-curriculum-tree:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0b1d3370,#0b1d3340 45%,#0b1d338c);z-index:-1;pointer-events:none}
.cm-tree-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#fff;font-size:12px;margin-bottom:28px}
.cm-tree-journey{width:min(100%,760px);margin:auto}
.cm-curriculum-tree .cm-tree-root{display:block;overflow:hidden;border:1px solid #ffffff75;border-bottom:2px solid #d9bb67;border-radius:16px;background:#122e48ed;box-shadow:0 8px 24px #07132220;text-align:left}
.cm-brand-bar{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:13px 26px;background:#fffffff2}
.cm-official-logo{width:220px;height:auto;max-width:65%;object-fit:contain}
.cm-award-logo{width:72px;height:45px;object-fit:contain}
.cm-root-copy{padding:26px 32px 28px}
.cm-root-copy .eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#e4cb83;margin:0 0 12px}
.cm-curriculum-tree .cm-tree-root h2{font-size:clamp(26px,3vw,35px);font-weight:700;line-height:1.15;letter-spacing:-.025em;color:white;margin:0;max-width:540px}
.cm-root-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:17px;font-size:12px;color:#e0e8ef}
.cm-root-meta>span+span{border-left:1px solid #ffffff45;padding-left:16px}
.cm-root-meta .cm-qualification-award{margin:0;font:inherit;color:inherit}
.cm-draft-badge{color:#ead591}
.cm-tree-stages{list-style:none;padding:0;margin:0}
.cm-tree-stage{position:relative;padding-top:34px;margin:0}
.cm-tree-stage:before{content:'';position:absolute;width:1px;height:34px;top:0;left:50%;background:#91cef7;box-shadow:0 0 4px #80c6fb50}
.cm-curriculum-tree .cm-tree-node{position:relative;margin:0;padding:0;border:1px solid #ffffffba;border-radius:16px;background:#fffffff5;box-shadow:0 8px 26px #0a1c3020;overflow:visible;text-align:left;transition:box-shadow .18s,border-color .18s}
.cm-curriculum-tree .cm-tree-node:hover,.cm-curriculum-tree .cm-tree-node:focus-within{border-color:#c4ddef;box-shadow:0 10px 30px #0a1c3033}
.cm-tree-port{position:absolute;top:-4px;left:calc(50% - 3px);width:6px;height:6px;border:1px solid #badff9;background:#7ab6df;border-radius:50%;z-index:1}
.cm-tile-image{height:164px;overflow:hidden;border-radius:15px 15px 0 0;position:relative;background:#dce3e9}
.cm-tile-image>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 55%}
.cm-tree-delivery .cm-tile-image>img{object-position:center 62%}
.cm-tree-cohort .cm-tile-image>img{object-position:center 56%}
.cm-handbook-image{display:flex;align-items:center;justify-content:center;gap:34px;background:linear-gradient(110deg,#c8d1d9,#e6ebef)}
.cm-handbook-image>img{width:122px;height:158px;object-fit:contain;transform:rotate(-7deg) translateY(12px);box-shadow:4px 5px 14px #162d4940;flex-shrink:0}
.cm-handbook-image>span{color:#223e58;font-size:18px;font-weight:600;line-height:1.4}
.cm-handbook-image>span>span{display:block;font-size:12px;font-weight:400;color:#526a7d;margin-top:5px}
.cm-tile-content{padding:26px 32px 20px}
.cm-tree-kicker{font-size:10px;line-height:1.5;letter-spacing:.12em;font-weight:650;text-transform:uppercase;color:#5c7285;margin:0 0 7px}
.cm-curriculum-tree .cm-tree-node h3{font-size:25px;line-height:1.2;letter-spacing:-.015em;font-weight:700;color:#102f50;margin:0 0 7px}
.cm-tree-purpose{font-size:14px;line-height:1.5;color:#36536b;margin:0 0 19px}
.cm-curriculum-tree .cm-qualification-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 12px;color:#36536b;font-size:12px;line-height:1.35}
.cm-curriculum-tree .cm-qualification-counts>span{display:flex;flex-direction:column;gap:6px}
.cm-curriculum-tree .cm-qualification-counts>span+span{border-left:1px solid #d4dee7;padding-left:18px}
.cm-curriculum-tree .cm-qualification-counts strong{font-size:29px;line-height:1;color:#132f4d;font-weight:650}
.cm-curriculum-tree .cm-tree-link{display:inline-flex;align-items:center;gap:15px;min-height:44px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#164f79;font:inherit;font-size:13px;font-weight:650;text-decoration:none;cursor:pointer}
.cm-curriculum-tree .cm-tree-link:hover{text-decoration:underline;text-underline-offset:4px}
.cm-tree-nav .cm-tree-link{color:white;font-size:12px}
.cm-tile-content>.cm-tree-link{margin-top:6px;width:100%;justify-content:space-between}
.cm-tile-content>.cm-tree-link>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eaf0f6;color:#234e75;font-size:18px;font-weight:400}
.cm-curriculum-tree :focus-visible{outline:3px solid #bb8b1e;outline-offset:4px;border-radius:3px}
.cm-curriculum-tree .cm-delivery-summary{display:grid;grid-template-columns:1.25fr 3fr 1.3fr;gap:0;min-height:67px;margin:20px 0 6px;color:#36536b}
.cm-curriculum-tree #curriculumDeliveryMap p{font-size:11px;line-height:1.35;margin:0}
.cm-curriculum-tree .cm-delivery-summary strong{display:block;font-size:27px;font-weight:650;color:#132f4d;line-height:1;margin-bottom:7px}
.cm-type-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));font-size:11px;line-height:1.35}
.cm-type-counts>span,.cm-checkpoint-total{border-left:1px solid #d4dee7;padding-left:14px}
.cm-topic-total{padding-right:10px}
.cm-curriculum-tree .cm-tree-cohort{background:#f0f3f5ef}
.cm-tree-cohort .cm-tile-image{opacity:.76}
.cm-tree-description{font-size:13px;line-height:1.6;color:#425d72;max-width:490px;margin:9px 0}
.cm-cohort-readiness{font-size:12px;color:#425d72;margin:12px 0}
.cm-tree-gate{display:flex;align-items:center;gap:8px;background:transparent!important;border:0!important;padding:8px 0!important;font-size:12px!important;min-height:36px;color:#435f74!important;opacity:1!important;cursor:default;margin-top:10px}
@media(max-width:800px){.cm-curriculum-tree{padding:20px 26px 42px}.cm-tree-journey{max-width:620px}}
@media(max-width:560px){.cm-curriculum-tree{padding:16px 12px 32px;border-radius:14px}.cm-tree-nav{font-size:11px;gap:10px;margin-bottom:18px}.cm-tree-nav>span{max-width:100px}.cm-brand-bar{padding:12px 18px;gap:12px}.cm-official-logo{width:185px}.cm-award-logo{width:52px;height:35px}.cm-root-copy{padding:22px 20px}.cm-root-meta{font-size:11px;gap:8px 10px}.cm-root-meta>span+span{padding-left:10px}.cm-curriculum-tree .cm-tree-root h2{font-size:27px}.cm-tile-image{height:122px}.cm-handbook-image{gap:22px}.cm-handbook-image>span{font-size:16px}.cm-handbook-image>img{width:103px;height:134px}.cm-tile-content{padding:20px 18px 14px}.cm-curriculum-tree .cm-tree-node h3{font-size:23px}.cm-tree-purpose{font-size:13px}.cm-curriculum-tree .cm-qualification-counts{gap:10px;font-size:11px}.cm-curriculum-tree .cm-qualification-counts>span+span{padding-left:10px}.cm-curriculum-tree .cm-delivery-summary{grid-template-columns:1fr 3fr;row-gap:16px}.cm-checkpoint-total{grid-column:1/-1;border-left:0;border-top:1px solid #d4dee7;padding:12px 0 0!important;display:flex;align-items:baseline;gap:8px}.cm-curriculum-tree .cm-checkpoint-total strong{font-size:22px;margin:0}.cm-type-counts>span{padding-left:10px}.cm-curriculum-tree .cm-delivery-summary strong{font-size:25px}.cm-tree-stage{padding-top:28px}.cm-tree-stage:before{height:28px}}
@media(prefers-reduced-motion:reduce){.cm-curriculum-tree .cm-tree-node{transition:none}}

/* Additional Level 1 entry point only; existing header controls and map styling are unchanged. */
.admin-pathway-header-actions > .curriculum-level-one-map-entry{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;box-sizing:border-box;min-height:42px;padding:3px 10px;border:1px solid #c6b485;border-radius:8px;background:#fff;color:#173654;text-decoration:none}
.curriculum-level-one-map-entry img{display:block;width:46px;height:32px;object-fit:contain}
.curriculum-level-one-map-entry span{display:grid;gap:1px}.curriculum-level-one-map-entry small{font-size:10px;line-height:1.2}.curriculum-level-one-map-entry strong{font-size:12px;line-height:1.3}
.curriculum-level-one-map-entry:hover{background:#fffaf0}.curriculum-level-one-map-entry:focus-visible{outline:2px solid #b59655;outline-offset:3px}

/* Delivery Lessons uses the shared qualification tree/cards; only grid counts differ. */
#curriculumQualificationMap #levelOneDeliveryLessons .qe-premium .qp-units,
#curriculumQualificationMap #levelOneDeliveryLessons .qe-tree .qp-outcomes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#levelOneDeliveryLessons .qp-card-body ul { margin: 0; padding-left: 20px; }
#levelOneDeliveryLessons .qp-card-body li + li { margin-top: 8px; }
#levelOneDeliveryLessons .qp-card-body a { overflow-wrap: anywhere; }
@media (max-width: 800px) {
  #curriculumQualificationMap #levelOneDeliveryLessons .qe-premium .qp-units,
  #curriculumQualificationMap #levelOneDeliveryLessons .qe-tree .qp-outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #curriculumQualificationMap #levelOneDeliveryLessons .qe-premium .qp-units,
  #curriculumQualificationMap #levelOneDeliveryLessons .qe-tree .qp-outcomes { grid-template-columns: minmax(0, 1fr); }
}

/* Delivery Lessons only: contain each supplied collage tile in the shared 16:9 media frame. */
#levelOneDeliveryLessons .l1-delivery-lesson-media {
  display: flex;
  justify-content: center;
  align-items: center;
}
#levelOneDeliveryLessons .l1-delivery-lesson-media > svg {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  flex: none;
  overflow: hidden;
}

/* Cohort attendance uses the same Admin cards and individual attendance controls. */
body:has(#metricsGrid .admin-navigation-groups) .admin-hero-actions { flex-wrap: wrap; }
.tfe-attendance { color: #24465e; display: grid; gap: 20px; min-width: 0; }
.tfe-attendance header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.tfe-attendance h2, .tfe-attendance h3, .tfe-attendance h4, .tfe-attendance p { margin: 0; }
.tfe-attendance h3 { margin-bottom: 16px; }
.tfe-attendance button { cursor: pointer; font: inherit; }
.tfe-attendance button:disabled { cursor: default; opacity: .65; }
.tfe-attendance button:focus-visible { outline: 2px solid #36769b; outline-offset: 3px; }
.tfe-attendance-cohorts { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 12px; }
.tfe-attendance-cohorts button { background: white; border: 1px solid #dfe8ef; border-radius: 14px; padding: 18px; text-align: left; color: inherit; display: grid; gap: 8px; }
.tfe-attendance-cohorts button[aria-pressed="true"] { border-color: #a4c4d9; background: #edf5fb; }
.tfe-attendance-panel { background: white; border: 1px solid #dfe8ef; border-radius: 16px; padding: 24px; min-width: 0; }
.tfe-attendance-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(125px,1fr)); gap: 12px; margin: 0 0 16px; }
.tfe-attendance-metrics div { border: 1px solid #e6edf2; border-radius: 10px; padding: 14px; }
.tfe-attendance-metrics dt { font-size: 12px; }
.tfe-attendance-metrics dd { margin: 8px 0 0; font-weight: 700; font-size: 22px; }
.tfe-attendance-note { color: #637b8a; font-size: 12px; line-height: 1.6; }
.tfe-attendance-message:empty { display: none; }
.tfe-attendance-message { color: #74533d; }
.tfe-attendance-months { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tfe-attendance-months button, .tfe-attendance-month-heading button { border: 1px solid #dfe8ef; border-radius: 8px; padding: 8px 12px; background: #fafbfd; color: inherit; }
.tfe-attendance-months button[aria-pressed="true"] { background: #edf5fb; border-color: #a4c4d9; }
.tfe-attendance-month-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tfe-attendance-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; margin-bottom: 14px; }
.tfe-attendance-calendar > button, .tfe-attendance-calendar > span { min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid #e7edf1; border-radius: 8px; background: #fafbfd; color: #69808d; }
.tfe-attendance-calendar > .tfe-attendance-weekday { min-height: 28px; border: 0; background: transparent; font-size: 12px; }
.tfe-attendance-calendar .outside { opacity: .4; }
.tfe-attendance-calendar .scheduled { background: #eaf3fc; border-color: #cbdff0; color: #365e7d; }
.tfe-attendance-calendar .complete, .tfe-attendance [data-mark][aria-pressed="true"] { background: #e1f2e7; border-color: #b8d9c5; color: #285b3d; }
.tfe-attendance-calendar [aria-pressed="true"] { outline: 2px solid #36769b; outline-offset: 1px; }
.tfe-attendance-calendar small { font-size: 10px; }
.tfe-attendance-table { overflow-x: auto; margin-top: 12px; }
.tfe-attendance table { width: 100%; min-width: 900px; border-collapse: collapse; }
.tfe-attendance th, .tfe-attendance td { padding: 12px 6px; border-bottom: 1px solid #edf1f4; text-align: left; }
.tfe-attendance th { font-size: 12px; }
.tfe-attendance th:first-child { min-width: 175px; }
.tfe-attendance th small { display: block; font-weight: normal; margin-top: 5px; }
.tfe-attendance [data-mark] { width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid #dfe8ef; border-radius: 8px; background: #fafbfd; color: #36566e; font-size: 12px; }
@media(max-width:600px) {
 .tfe-attendance-panel { padding: 14px; }
 .tfe-attendance-calendar { gap: 4px; }
 .tfe-attendance-calendar > button, .tfe-attendance-calendar > span { min-height: 45px; padding: 4px 0; }
 .tfe-attendance-calendar small { display: none; }
}

.tfe-attendance-cohorts button:has(.tfe-attendance-award) { position:relative; padding-right:92px; }
.tfe-attendance-award { position:absolute; top:12px; right:12px; width:64px; height:42px; object-fit:contain; }
.tfe-attendance-calendar > .tfe-attendance-day { position:relative; min-height:68px; border:1px solid #e7edf1; border-radius:8px; background:#fafbfd; color:#69808d; }
.tfe-attendance-calendar > .tfe-attendance-day.scheduled { background:#eaf3fc; border-color:#cbdff0; color:#365e7d; }
.tfe-attendance-calendar > .tfe-attendance-day.complete { background:#e1f2e7; border-color:#b8d9c5; color:#285b3d; }
.tfe-attendance-calendar > .tfe-attendance-day.holiday { background:#f0eaf8; border-color:#dcd0eb; color:#69527e; }
.tfe-attendance-day > button, .tfe-attendance-day > span { width:100%; min-height:66px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; border:0; border-radius:8px; background:transparent; color:inherit; }
.tfe-attendance-day-menu { position:absolute; top:2px; right:2px; z-index:1; }
.tfe-attendance-day-menu[open] { z-index:5; }
.tfe-attendance-day-menu summary { cursor:pointer; list-style:none; width:24px; height:24px; text-align:center; border-radius:5px; }
.tfe-attendance-day-menu summary::-webkit-details-marker { display:none; }
.tfe-attendance-day-menu summary:hover { background:#ffffff99; }
.tfe-attendance-day-menu > div { position:absolute; right:0; width:160px; padding:5px; background:white; border:1px solid #dfe8ef; border-radius:8px; box-shadow:0 5px 18px #24465e20; }
.tfe-attendance-day-menu button { display:block; width:100%; padding:9px; text-align:left; border:0; border-radius:5px; background:white; color:#24465e; font-size:12px; }
.tfe-attendance-day-menu button:hover { background:#edf5fb; }
.tfe-attendance [data-all-attended] { margin-top:10px; }
@media(max-width:600px) { .tfe-attendance-day-menu summary { width:20px; height:20px; } .tfe-attendance-day > button, .tfe-attendance-day > span { padding-top:16px; } }

.tfe-attendance [data-all-attended], .tfe-attendance [data-all-attended]:hover, .tfe-attendance [data-all-attended]:focus { background:#fafbfd!important; color:#173953!important; border:1px solid #dfe8ef!important; border-radius:8px; box-shadow:none!important; outline-color:#a4c4d9!important; }
.tfe-attendance-name { position:relative; display:block; }
.tfe-attendance-name-size { visibility:hidden; }
.tfe-attendance-identity { position:absolute; inset:0; display:flex; align-items:center; gap:8px; }
.tfe-attendance .tfe-attendance-photo { width:48px; height:48px; flex:0 0 48px; border-radius:0; font-size:10px; }
.tfe-attendance-name-text { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.tfe-attendance-photo > img { object-fit:cover; }

.tfe-attendance [data-mark="Present"][aria-pressed="true"], .tfe-attendance [data-mark="Authorised absence"][aria-pressed="true"] { background:#e1f2e7; border-color:#b8d9c5; color:#285b3d; }
.tfe-attendance [data-mark="Late"][aria-pressed="true"] { background:#fff0df; border-color:#ebcfac; color:#795226; }
.tfe-attendance [data-mark="Absent"][aria-pressed="true"], .tfe-attendance [data-mark="Unauthorised absence"][aria-pressed="true"] { background:#fbe6e6; border-color:#e8c1c1; color:#813f3f; }
.tfe-attendance-metrics [data-attendance-metric="Overall attendance"] { background:#edf5fc; }
.tfe-attendance-metrics [data-attendance-metric="Learners"], .tfe-attendance-metrics [data-attendance-metric="Authorised absence"] { background:#edf7ef; }
.tfe-attendance-metrics [data-attendance-metric="Sessions"] { background:#f3eef9; }
.tfe-attendance-metrics [data-attendance-metric="Late"] { background:#fff3e6; }
.tfe-attendance-metrics [data-attendance-metric="Absent"], .tfe-attendance-metrics [data-attendance-metric="Unauthorised absence"] { background:#fceeee; }
.tfe-attendance-photo[role="button"] { cursor:zoom-in; }
.tfe-attendance-photo[role="button"]:focus-visible { outline:2px solid #36769b; outline-offset:2px; }
.tfe-attendance-photo-preview { padding:0; border:1px solid #dfe8ef; border-radius:0; background:white; }
.tfe-attendance-photo-preview::backdrop { background:#10243e55; }
.tfe-attendance-photo-preview img { display:block; width:192px; height:192px; object-fit:cover; border-radius:0; }
/* Learner-owned revision plan: grouped saved questions and explicit review states. */
.learner-revision-page{max-width:1240px;margin:0 auto;padding:clamp(18px,3vw,36px);color:#092846}
.learner-revision-page>header{padding:28px 30px;margin-bottom:22px;border:1px solid #d9e8f7;border-radius:18px;background:linear-gradient(135deg,#f4faff,#fff);box-shadow:0 8px 24px #0b3d6810}
.learner-revision-page>header h1{margin:0 0 8px;font-size:clamp(28px,4vw,42px);color:#062746}
.learner-revision-page>header>p:not(.eyebrow){max-width:70ch;color:#49627e;line-height:1.6}
.learner-revision-group,.learner-revision-empty{margin:18px 0;padding:24px;border:1px solid #d9e8f7;border-radius:16px;background:#fff;box-shadow:0 6px 18px #0b3d680a}
.learner-revision-group>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;padding-bottom:12px;border-bottom:1px solid #e5edf5}
.learner-revision-group>header h2{margin:0;color:#062746;font-size:22px}
.learner-revision-group>header p,.learner-revision-group>header>span{margin:5px 0 0;color:#49627e;font-size:14px}
.learner-revision-group>header>span{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#eff6fd;color:#174e74;font-weight:700}
.learner-revision-group>ol{display:grid;gap:14px;margin:0;padding:0;list-style:none}
.learner-revision-item{min-width:0;padding:20px;border:1px solid #e1ebf5;border-radius:12px;background:#fbfdff}
.learner-revision-item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.learner-revision-item h3{margin:3px 0 10px;font-size:18px;line-height:1.4;color:#092846;overflow-wrap:anywhere}
.learner-revision-status{flex:0 0 auto;padding:7px 11px;border-radius:999px;background:#fff2d7;color:#805900;font-size:12px;font-weight:700}
.learner-revision-mapping{color:#49627e;font-size:14px;line-height:1.55}
.learner-revision-review{margin-top:14px;border-top:1px solid #e0e9f2;padding-top:12px}
.learner-revision-review summary{color:#075fba;font-weight:800;cursor:pointer}
.learner-revision-review>div{padding:12px 16px;margin-top:10px;border-radius:10px;background:#eff6fd;color:#143454;line-height:1.6;overflow-wrap:anywhere}
.learner-revision-review ul{padding-left:22px}
.learner-revision-empty{background:#eff6fd;color:#123b62}
@media(max-width:620px){.learner-revision-page{padding:14px}.learner-revision-page>header,.learner-revision-group,.learner-revision-empty{padding:18px}.learner-revision-item{padding:15px}.learner-revision-item-head{display:block}.learner-revision-status{display:inline-block;margin:0 0 8px}}
.lpv2 .lpv2-action:disabled{cursor:not-allowed;opacity:.56;filter:saturate(.5)}
@media(max-width:620px){.learner-revision-group>header{align-items:flex-start;flex-direction:column}.learner-revision-group>header>span{flex:0 1 auto}}

/* My Theory attempt history and separate per-AC TFE knowledge thresholds. */
.learner-theory-history,.learner-ilp-knowledge{margin:22px auto;padding:20px;border:1px solid #d7e7f6;border-radius:16px;background:#fff;color:#092846;box-shadow:0 6px 18px #0b3d680a}
.learner-theory-history>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #e4edf6;padding-bottom:14px;margin-bottom:14px}
.learner-theory-history h2,.learner-theory-history h3{color:#092e70}
.learner-theory-attempts{display:grid;gap:12px}
.learner-theory-attempt,.learner-theory-ac-record{padding:16px;border:1px solid #e0ebf5;border-radius:12px;background:#fafdff}
.learner-theory-attempt>header,.learner-theory-ac-record>header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.learner-theory-attempt p,.learner-theory-ac-record p,.learner-theory-attempt li,.learner-theory-ac-record li{line-height:1.5;color:#405a79}
.learner-theory-threshold{display:inline-block;padding:6px 10px;border-radius:999px;background:#eaf4ff;color:#174e74;font-weight:700;font-size:13px}
.learner-theory-ac-history{margin-top:16px;border-top:1px solid #e2edf6;padding-top:12px}
.learner-theory-ac-history>summary,.learner-ilp-knowledge>summary{cursor:pointer;font-weight:800;color:#0b4f91}
.learner-theory-ac-history>div{display:grid;gap:10px;margin-top:12px}
.learner-ilp-knowledge{grid-column:1/-1;padding:0 18px 18px}
.learner-ilp-knowledge>summary{padding:18px 0}
.learner-ilp-knowledge>p{color:#49627e;line-height:1.5}
.learner-ilp-knowledge-table{max-width:100%;overflow:auto}
.learner-ilp-knowledge-table table{width:100%;min-width:900px;border-collapse:collapse;font-size:13px}
.learner-ilp-knowledge-table th,.learner-ilp-knowledge-table td{padding:9px;text-align:left;vertical-align:top;border-bottom:1px solid #e0ebf5}
.learner-ilp-knowledge-table th{background:#edf6ff;color:#092e70}
@media(max-width:620px){.learner-theory-history,.learner-ilp-knowledge{padding:14px}.learner-theory-history>header,.learner-theory-attempt>header,.learner-theory-ac-record>header{display:block}.learner-theory-threshold{margin-top:8px}.learner-ilp-knowledge{grid-column:auto}}
.learner-theory-history{grid-column:1/-1}
.ilp-knowledge-thresholds>div{max-width:100%;overflow:auto}.ilp-knowledge-thresholds details>summary{cursor:pointer;font-weight:750;color:#0b4f91}.ilp-knowledge-thresholds ul{display:grid;gap:8px;margin:12px 0;padding:0;list-style:none}.ilp-knowledge-thresholds li{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:4px 12px;padding:12px;border:1px solid #e1ebf5;border-radius:10px;background:#fafdff}.ilp-knowledge-thresholds li small{grid-column:1/-1;color:#49627e;line-height:1.5}.ilp-knowledge-thresholds li span{font-size:12px;font-weight:750;color:#174e74}@media(max-width:620px){.ilp-knowledge-thresholds li{grid-template-columns:1fr}.ilp-knowledge-thresholds li small{grid-column:auto}}
.learner-kc-summary-card{padding:0;cursor:pointer}.learner-kc-summary-card>button{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.learner-kc-summary-card header{border-radius:13px 13px 0 0}.learner-kc-summary-list{display:grid;gap:0;margin:0;padding:5px 14px 8px 30px}.learner-kc-summary-list li{display:grid;gap:3px;padding:8px 0;border-bottom:1px solid #e6eef7;color:#17366d;font-size:12px;line-height:1.35}.learner-kc-summary-list li:last-child{border-bottom:0}.learner-kc-summary-list span{color:#5c7390;font-size:11px}.learner-kc-summary-link{display:block;padding:4px 14px 13px;color:#0b4f91;font-size:12px;font-weight:750}.learner-kc-history-page{grid-column:1/-1;padding:4px 0}.learner-kc-history-page>header{padding:10px 0 22px}.learner-kc-history-page h1{margin:5px 0;color:#092e70;font-size:30px}.learner-kc-history-page>header p:not(.eyebrow){color:#49627e}.learner-kc-history-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.learner-kc-history-column,.learner-kc-outcome-unknown{padding:18px;border:1px solid #d7e7f6;border-radius:16px;background:#fff;box-shadow:0 6px 18px #0b3d680a}.learner-kc-history-column h2,.learner-kc-outcome-unknown h2{margin:0 0 12px;color:#092e70;font-size:21px}.learner-kc-history-entry{margin:9px 0;border:1px solid #dbe8f3;border-radius:11px;background:#fbfdff}.learner-kc-history-entry>summary{display:flex;justify-content:space-between;gap:12px;padding:12px;cursor:pointer;color:#092e70}.learner-kc-history-entry>summary span:first-child{display:grid;gap:4px}.learner-kc-history-entry>summary small{color:#5c7390}.learner-kc-history-detail{padding:0 12px 12px;border-top:1px solid #e2edf7;color:#17366d;font-size:12px}.learner-kc-history-detail>ul{padding-left:18px}.learner-kc-history-detail details{margin-top:10px;padding-top:10px;border-top:1px solid #e2edf7}.learner-kc-history-detail details>summary{cursor:pointer;font-weight:750}.learner-kc-history-detail ol{padding-left:22px}.learner-kc-history-detail li{margin:8px 0}.learner-kc-readonly-note{color:#61768a;font-style:italic}.learner-kc-outcome-unknown{margin-top:16px}.learner-kc-outcome-unknown>p{color:#61768a}
@media(max-width:700px){.learner-kc-history-columns{grid-template-columns:1fr}.learner-kc-history-page h1{font-size:25px}}
.learner-kc-qualification{display:flex;align-items:center;gap:8px;margin-top:7px;color:#17366d;font-size:11px;line-height:1.35}.learner-kc-qualification img{width:54px;height:auto;max-height:24px;object-fit:contain}.learner-kc-qualification>div{display:grid;gap:2px}.learner-kc-qualification-unavailable{color:#6c7d8d;font-style:italic}
.cm-iqa-record{padding:24px;background:#fff;color:#092846}.cm-iqa-brand{display:block;width:150px;max-height:56px;object-fit:contain;margin:0 auto 14px}.cm-iqa-provider{text-align:center;letter-spacing:.16em;font-size:11px;font-weight:800;color:#49627e;margin:0}.cm-iqa-record>h3{text-align:center;color:#092e70;letter-spacing:.04em;margin:6px 0 22px;font-size:18px}.cm-iqa-qualification,.cm-iqa-summary{border:1px solid #d7e7f6;border-radius:12px;padding:14px 16px;background:#fafdff;margin-top:12px}.cm-iqa-qualification p{margin:6px 0;color:#17366d}.cm-iqa-summary h4,.cm-iqa-questions>h4{margin:0 0 10px;color:#092e70}.cm-iqa-summary dl,.cm-iqa-record dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px;margin:0}.cm-iqa-record dl div{min-width:0}.cm-iqa-record dt{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#49627e}.cm-iqa-record dd{margin:3px 0 0;color:#17366d;overflow-wrap:anywhere}.cm-iqa-questions{margin-top:18px}.cm-iqa-questions>ol{display:grid;gap:10px;margin:0;padding-left:25px}.cm-iqa-question{padding:13px 14px;border:1px solid #e0ebf5;border-radius:10px;background:#fff}.cm-iqa-question-label{font-size:11px;font-weight:800;letter-spacing:.1em;color:#0b4f91;margin:0 0 5px}.cm-iqa-question h4{margin:0 0 8px;color:#17366d}.cm-iqa-question p{margin:5px 0;color:#405a79;line-height:1.5}.cm-iqa-question-audit{margin-top:8px;font-size:11px;color:#61768a}.cm-iqa-question-audit summary,.cm-iqa-audit summary,.cm-iqa-formal-status summary{cursor:pointer;font-weight:750;color:#0b4f91}.cm-iqa-question-audit p{font-size:11px}.cm-iqa-formal-status,.cm-iqa-audit{margin-top:16px;padding-top:12px;border-top:1px solid #e2edf6}.cm-iqa-formal-status p{color:#405a79;line-height:1.5}.cm-iqa-audit dl{margin-top:10px;padding:12px;border-radius:10px;background:#f4f8fc}.cm-iqa-audit dd{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.cm-iqa-record .cm-evidence-result{font-weight:800}@media(max-width:620px){.cm-iqa-record{padding:16px}.cm-iqa-summary dl,.cm-iqa-record dl{grid-template-columns:1fr}.cm-iqa-brand{width:125px}}
