/* Presentation primitives shared by both learning portals; each brand supplies its own accent. */
body.workspace-active .study-home{--study-accent:var(--accent);--study-muted:var(--muted);--study-light:var(--bg);color:var(--ink);background:var(--bg)}
body.workspace-active .study-preview{margin:0;padding:12px max(24px,calc((100% - 1320px)/2));background:var(--accent-soft);color:var(--ink);font-size:13px;line-height:1.7}
body.workspace-active .study-welcome{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);min-height:430px;background:var(--accent);color:#fff;overflow:hidden}
body.workspace-active .study-welcome-copy{min-width:0;padding:48px max(36px,calc((100vw - 1320px)/2));padding-right:42px}
body.workspace-active .study-programme{margin:0 0 24px;max-width:none;font-size:13px;font-weight:500;line-height:1.8;color:#f4eafa}
body.workspace-active .study-greeting{margin:0 0 10px;font-size:15px;line-height:1.7;color:#f4eafa}
body.workspace-active .workspace-main .study-welcome h1{margin:0 0 28px;font-size:clamp(29px,3.1vw,44px);line-height:1.35;letter-spacing:normal;font-weight:600;color:#fff;overflow-wrap:anywhere}
body.workspace-active .study-next-step{border-left:2px solid var(--gold,#e8bd63);padding-left:20px;max-width:none}
body.workspace-active .study-step-label{margin:0 0 8px;color:#f0d79f;font-size:12px;font-weight:600;line-height:1.7}
body.workspace-active .workspace-main .study-next-step h2{margin:0 0 10px;color:#fff;font-size:clamp(21px,2.1vw,29px);font-weight:500;line-height:1.5;overflow-wrap:anywhere}
body.workspace-active .study-next-step>p:not(.study-step-label){margin:0;max-width:none;color:#f2eef6;font-size:15px;line-height:1.8}
body.workspace-active .study-primary,body.workspace-active .study-secondary{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;max-width:100%;padding:12px 20px;border-radius:10px;font:inherit;font-size:14px;font-weight:600;line-height:1.6;text-align:left;text-decoration:none;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
body.workspace-active .study-primary{margin-top:24px;background:var(--gold,#e8bd63);border:1px solid var(--gold,#e8bd63);color:#211a2d;box-shadow:none}
body.workspace-active .study-primary:hover{filter:brightness(1.06)}
body.workspace-active .study-secondary{background:transparent;border:1px solid var(--line);color:var(--ink)}
body.workspace-active .study-secondary:hover{background:var(--accent-soft)}
body.workspace-active .study-welcome-image{position:relative;min-width:0;overflow:hidden}
body.workspace-active .study-welcome-image img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:66% center;opacity:.8}
body.workspace-active .study-welcome-image::after{position:absolute;inset:0;content:"";background:linear-gradient(90deg,var(--accent),transparent 34%)}
body.workspace-active .study-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:650px;margin:32px 0 0;padding-top:24px;border-top:1px solid #ffffff35}
body.workspace-active .study-totals>div{display:flex;flex-direction:column;gap:8px;min-width:0}
body.workspace-active .study-totals dt{font-size:11px;line-height:1.7;color:#ebe3f0}
body.workspace-active .study-totals dd{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:0;font-size:28px;font-weight:500;line-height:1.3;font-variant-numeric:tabular-nums}
body.workspace-active .study-totals dd>span{font-size:13px;color:#ebe3f0}
body.workspace-active .study-home-content{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.75fr);gap:64px;width:min(1320px,100%);margin:auto;padding:48px 36px 64px}
body.workspace-active .workspace-main .study-home-content h2{margin:8px 0 24px;font-size:clamp(23px,2.3vw,31px);line-height:1.45;font-weight:500;color:var(--ink)}
body.workspace-active .study-paths{display:grid;border-top:1px solid var(--line)}
body.workspace-active .study-paths>button{display:flex;align-items:center;gap:20px;width:100%;min-width:0;min-height:82px;padding:16px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer}
body.workspace-active .study-paths>button:hover{background:var(--accent-soft)}
body.workspace-active .study-path-number{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;flex:none}
body.workspace-active .study-paths>button>span:nth-child(2){display:grid;gap:6px;min-width:0}
body.workspace-active .study-paths strong{font-size:16px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
body.workspace-active .study-paths small{font-size:13px;line-height:1.7;color:var(--muted)}
body.workspace-active .study-path-arrow{margin-left:auto;font-size:22px;flex:none;color:var(--accent)}
body.workspace-active .study-meeting{align-self:start;min-width:0;margin-top:0;padding:24px 0 24px 32px;border-left:1px solid var(--line)}
body.workspace-active .study-meeting p:not(.eyebrow){margin:0 0 22px;font-size:15px;line-height:1.9;color:var(--muted)}
body.workspace-active .study-progress-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 28px}
body.workspace-active .study-progress-layout{align-items:start;gap:28px}
body.workspace-active .study-progress-layout>.card{min-width:0;box-shadow:none}
body.workspace-active .study-result-list{gap:0}
body.workspace-active .study-result-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 18px;padding:18px 0;border-bottom:1px solid var(--line)}
body.workspace-active .study-result-row>button{padding:0;min-height:44px;text-align:left;line-height:1.75;font-size:15px;color:var(--ink);font-weight:600;overflow-wrap:anywhere}
body.workspace-active .study-result-row>.badge{max-width:100%;white-space:normal;font-variant-numeric:tabular-nums}
body.workspace-active .study-result-row>small{grid-column:1/-1;color:var(--muted);font-size:12px;line-height:1.7}
body.workspace-active .study-empty{padding:18px 0}
body.workspace-active .study-empty h3{font-size:20px;line-height:1.5;margin:0 0 12px}
body.workspace-active .study-empty p{max-width:none;line-height:1.9;margin:0 0 18px}
body.workspace-active .study-progress-layout .certificate{display:flex;align-items:flex-start;gap:16px;padding:22px 0;border-bottom:1px solid var(--line);min-width:0}
body.workspace-active .study-progress-layout .certificate>div{flex:1 1 230px;min-width:0}
body.workspace-active .study-progress-layout .certificate h3{margin:0 0 12px;font-size:17px;line-height:1.65;font-weight:600;overflow-wrap:anywhere}
body.workspace-active .certificate-requirement{font-size:14px;line-height:1.8;margin:0 0 10px;color:var(--ink)}
body.workspace-active .certificate .muted{font-size:13px;line-height:1.85}
body.workspace-active .certificate .badge{flex:none;max-width:130px;white-space:normal;line-height:1.7}
body.workspace-active .certificate-action{min-height:44px;padding:8px 0;font-size:13px;text-align:left}
body.workspace-active .study-progress-layout .certificate-issued{border-left:2px solid #36755b;padding-left:16px}
body.workspace-active .study-progress-layout .certificate-archive{margin-top:24px}
body.workspace-active .study-progress-layout .certificate-archive>summary{cursor:pointer;min-height:44px;font-size:14px;line-height:1.8}
body.workspace-active .study-home :is(button,a):focus-visible{outline:3px solid var(--gold,#d3ae58);outline-offset:5px}
@media(max-width:1100px){body.workspace-active .study-welcome{grid-template-columns:minmax(0,1.55fr) minmax(220px,.65fr)}body.workspace-active .study-welcome-copy{padding:36px 28px}body.workspace-active .study-home-content{gap:32px;padding:40px 28px}body.workspace-active .study-meeting{padding-left:24px}body.workspace-active .study-progress-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:768px){
 body.workspace-active .study-welcome{display:block;position:relative;min-height:0}
 body.workspace-active .study-welcome-copy{position:relative;z-index:1;padding:28px 22px 32px}
 body.workspace-active .study-welcome-image{display:none}
 body.workspace-active .study-programme{margin-bottom:20px;font-size:12px}
 body.workspace-active .study-greeting{font-size:14px}
 body.workspace-active .workspace-main .study-welcome h1{font-size:30px;margin-bottom:24px}
 body.workspace-active .study-next-step{padding-left:16px}
 body.workspace-active .study-next-step>p:not(.study-step-label){font-size:14px}
 body.workspace-active .study-totals{gap:16px 12px;margin-top:28px}
 body.workspace-active .study-totals dt{font-size:10px}
 body.workspace-active .study-totals dd{font-size:24px}
 body.workspace-active .study-totals dd>span{font-size:12px}
 body.workspace-active .study-home-content{grid-template-columns:minmax(0,1fr);padding:32px 22px 44px;gap:36px}
 body.workspace-active .study-meeting{padding:28px 0 0;border-left:0;border-top:1px solid var(--line)}
 body.workspace-active .study-paths>button{gap:14px}
 body.workspace-active .study-paths strong{font-size:15px}
 body.workspace-active .study-paths small{font-size:12px}
 body.workspace-active .study-progress-layout .certificate{flex-wrap:wrap;gap:12px}
 body.workspace-active .study-result-row{grid-template-columns:minmax(0,1fr)}
 body.workspace-active .study-result-row>small{grid-column:auto}
 body.workspace-active .study-result-row>.badge{justify-self:start}
}
@media(prefers-reduced-motion:reduce){body.workspace-active .study-home *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
