/* D&D portal identity, matched to the approved charcoal Apple Wallet card. */
:root{--navy:#1c1e22;--blue:#292c32;--sky:#eef0f2;--gold:#a6aeb8;--bg:#f2f3f4;--line:#dfe2e6;--muted:#616770;--green:#16623f;color-scheme:light}
body{background:var(--bg);color:#25282d;font:15px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:#343b45;text-underline-offset:3px}button,input,select{font:inherit}button{transition:background .16s,box-shadow .16s,transform .16s;min-height:46px;border-radius:9px}button:not(:disabled):hover{filter:brightness(.94)}button:not(:disabled):active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:3px solid #667b94;outline-offset:4px}input:focus-visible,select:focus-visible{outline-offset:1px}
.top{background:#1c1e22;color:#f5f6f7;min-height:94px;padding:16px clamp(24px,3vw,64px);display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;border-bottom:1px solid #35383e}
.portal-brand{display:flex;align-items:center;gap:16px;text-decoration:none;color:#e3e5e9;flex-shrink:0}.portal-brand img{display:block;width:114px;height:42px;object-fit:contain}.portal-brand span{border-left:1px solid #4c5057;padding-left:16px;font-size:10px;font-weight:700;letter-spacing:.17em}.tag{border:0;border-radius:0;padding:0;color:#a6aeb8;font-size:10px;letter-spacing:.12em;font-weight:600}
.shell{max-width:none;width:100%;box-sizing:border-box;padding:32px clamp(24px,3vw,64px) 56px}.eyebrow{display:block;font-size:10px;letter-spacing:.16em;font-weight:750;color:#69717b;line-height:1.6}.hero{display:grid;grid-template-columns:1fr 285px;gap:56px;background:#1c1e22;color:#f5f6f7;padding:44px 46px;border:1px solid #34373d;border-radius:16px;margin-bottom:22px;box-shadow:0 10px 28px #191b200a}.hero .eyebrow{color:#a6aeb8}.hero h1{font-size:clamp(32px,4.2vw,46px);line-height:1.15;letter-spacing:-.035em;font-weight:650;margin:18px 0 16px}.hero-copy>p{color:#b8bec7;max-width:510px;font-size:15px;line-height:1.75;margin:0}.hero .actions{margin-top:26px}.hero-start{background:#f0f1f3;color:#24272c;border:1px solid #f0f1f3;padding:12px 20px;font-weight:700;display:flex;align-items:center;gap:25px}.hero-start span{font-size:21px;line-height:1}.hero-summary{border-left:1px solid #3f4249;padding-left:32px;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.hero-numbers{display:flex;align-items:center;gap:18px;margin:11px 0}.hero-numbers>strong{font-size:66px;letter-spacing:-.06em;line-height:1.1;font-weight:500;color:#e2e5e9}.hero-numbers>span{color:#b8bec7;line-height:1.5;font-size:13px}.hero-summary-rule{height:1px;background:#3f4249;margin:16px 0 7px}.hero-summary p{margin:10px 0 0;display:flex;align-items:center;gap:17px;color:#b8bec7;font-size:11px}.hero-summary p strong{color:#e2e5e9;font-size:18px;min-width:43px;font-weight:600}
.tabs{display:flex;gap:6px;padding:7px;background:#e5e7ea;border:1px solid #dfe2e6;border-radius:12px;margin:0 0 22px}.tabs button{background:transparent;color:#5b626c;font-size:13px;padding:10px 18px;font-weight:650;flex:1;white-space:nowrap}.tabs button.active{background:#fff;color:#24272d;box-shadow:0 2px 7px #1c1e2210}.panel{border:1px solid #dfe2e6;border-radius:14px;padding:30px 32px;background:white;box-shadow:0 3px 14px #1c1e2204}.panel h2{font-size:24px;letter-spacing:-.025em;line-height:1.3;font-weight:650;margin:0 0 12px}.panel>.muted{margin-top:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.section-heading h2{margin-top:7px}.programme-tag{background:#f2f3f5;border:1px solid #e0e3e7;color:#656d77;padding:7px 11px;border-radius:6px;font-size:9px;font-weight:700;letter-spacing:.09em;white-space:nowrap}.journey-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin:28px 0 32px}.journey-step{border-top:1px solid #dfe2e6;padding-top:20px}.step-number{font-size:11px;font-weight:750;color:#727a85;letter-spacing:.12em}.journey-step h3{font-size:16px;letter-spacing:-.015em;margin:12px 0 6px;font-weight:650}.journey-step p{font-size:13px;color:#616770;line-height:1.7;margin:0;max-width:270px}.programme-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;border:1px solid #dfe2e6;background:#f6f7f8;border-radius:10px}.programme-row h3{font-size:19px;letter-spacing:-.02em;margin:6px 0}.programme-row p{font-size:13px;margin:0}.programme-row button{flex-shrink:0;font-size:13px}.programme-note{font-size:12px;color:#6b727c;margin:16px 0 0}.primary{background:#292c32;color:white}.secondary{background:#eef0f2;color:#343b45;border:1px solid #d9dde2}.pill{background:#eef0f2;color:#535c68}.muted{color:#616770}.lesson{border-color:#dfe2e6;background:#fafbfc;padding:22px}.lesson h3{font-size:17px}.q{border-color:#dfe2e6;padding:22px}.choice{border-color:#dfe2e6;background:#fff;font-weight:400}.choice:has(input:checked){background:#edf0f3;border-color:#727e8d}.choice input{accent-color:#292c32}.progress{background:#e4e7eb}.progress>div{background:#727b88}input,select{background:#fff;color:#25282d;border:1px solid #bdc3cc;border-radius:8px;min-height:47px}label{font-size:13px}.notice{border-radius:9px;font-size:14px}.stat,th{background:#f1f3f5}.foot{font-size:11px;line-height:1.8;border-top:1px solid #dfe2e6;padding-top:20px;margin-top:28px;color:#6b727c}#training>.actions.no-print{gap:8px;margin:20px 0}#training>.actions.no-print button{font-size:12px;padding:10px 13px}#trainingTitle{border-top:1px solid #e1e4e8;padding-top:20px;margin-top:24px;font-weight:650}#identity{padding-top:8px}#identityMessage{max-width:690px;font-size:14px}.wallet-card{box-shadow:0 16px 30px #191b2020}
.registration-page main{max-width:584px;margin:34px auto 60px;padding:0 24px}.registration-page .panel{padding:32px}.registration-page h2{margin-top:9px;font-size:27px}.registration-page label{margin-top:19px}.registration-page button,.registration-page .training-link{background:#292c32;border-radius:8px;font-size:14px;font-weight:650}.registration-page #smsChallenge{margin-top:22px;max-width:100%;overflow:auto}.registration-page #status,.registration-page #checkStatus{font-size:13px;line-height:1.6;color:#555f6b}.registration-page #code{font-size:24px;letter-spacing:.22em}.back-link{display:inline-block;margin-bottom:18px;font-size:12px;color:#646d79;text-decoration:none}.verification-page main{max-width:580px;margin:44px auto;padding:32px;border-color:#dfe2e6;border-radius:14px}.verification-page h1{letter-spacing:-.025em;font-size:27px;font-weight:650;line-height:1.3}.verification-page #status{background:#eef0f2}.verification-page dt,.verification-page small{color:#616770}
@media(max-width:900px){.hero{gap:30px;padding:34px;grid-template-columns:1fr 230px}.hero-summary{padding-left:25px}.tabs button{padding:10px 12px}.portal-brand span{font-size:9px}.programme-row{padding:20px}}
@media(max-width:700px){.top{min-height:78px;padding:14px 20px}.portal-brand{gap:10px}.portal-brand span{padding-left:12px;letter-spacing:.1em}.tag{display:none}.shell{padding:20px 16px 40px}.hero{grid-template-columns:1fr;padding:28px 24px;gap:28px;border-radius:12px}.hero h1{font-size:34px;margin-top:15px}.hero-copy>p{font-size:14px}.hero-summary{border-left:0;border-top:1px solid #3f4249;padding:20px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}.hero-summary>.eyebrow{grid-column:1/-1}.hero-numbers{grid-row:2/4;margin:0;gap:12px}.hero-numbers>strong{font-size:52px}.hero-numbers>span{font-size:11px}.hero-summary-rule{display:none}.hero-summary p{margin:0;gap:10px;line-height:1.4;font-size:10px}.hero-summary p strong{font-size:16px;min-width:34px}.tabs{gap:3px;flex-wrap:wrap;padding:5px}.tabs button{flex:1 1 auto;font-size:12px;min-height:42px;padding:8px 11px}.panel{padding:25px 21px}.panel h2{font-size:22px}.section-heading{display:block}.programme-tag{display:none}.journey-grid{grid-template-columns:1fr;gap:20px;margin:24px 0}.journey-step{position:relative;padding:17px 0 0 37px}.step-number{position:absolute;left:0;top:20px}.journey-step h3{margin:0 0 5px}.journey-step p{max-width:none}.programme-row{display:block;padding:20px}.programme-row button{margin-top:18px;width:100%}.hero-start{width:100%;justify-content:space-between}.registration-page main{margin:24px auto 40px;padding:0 16px}.registration-page .panel{padding:25px 22px}.verification-page main{margin:24px 16px;padding:25px}.wallet-card{padding-left:22px;padding-right:22px}}
@media(prefers-reduced-motion:reduce){button,.progress>div{transition:none}}
/* Phone and installed home-screen layouts; preserve native page zoom. */
@media screen and (max-width:700px){
 body{overflow-wrap:anywhere}
 .top{box-sizing:border-box;min-width:0;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 .portal-brand{min-width:0;flex-shrink:1;gap:10px}.portal-brand img{width:96px;height:38px;flex:none}.portal-brand span{font-size:9px;line-height:1.5}
 main,.shell{min-width:0;padding-bottom:max(40px,env(safe-area-inset-bottom))}
 .shell{padding-left:12px;padding-right:12px}.panel{padding:22px 17px}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;max-width:100%;min-width:0}
 input[type=checkbox],input[type=radio]{min-height:19px;flex-shrink:0}
 button,.button,.primary,.secondary{min-height:44px;white-space:normal;max-width:100%}
 .actions{flex-wrap:wrap}.actions>*{min-width:0}
 .tabs button{min-height:44px;white-space:normal;line-height:1.4}
 .hero{padding:25px 20px}.hero h1{font-size:32px}
 .lesson,.q{padding:18px 14px}.choice{min-height:44px}
 .wallet-card{max-width:100%;box-sizing:border-box}
}
@media screen and (display-mode:standalone){.top{padding-top:max(16px,env(safe-area-inset-top))}main{padding-bottom:max(40px,env(safe-area-inset-bottom))}}
@media print{body{background:#fff}.top,.hero,.tabs,.journey-grid{display:none!important}.shell{padding:0;max-width:none}.panel{padding:0;border:0;box-shadow:none}}
