/* HCA Academy unified course standard · 2026-09-03 */
:root{--hca-standard-navy:#072349;--hca-standard-gold:#e5ab32;--hca-standard-ink:#17263d;--hca-standard-muted:#5b6877;--hca-standard-line:#d9e2ec;--hca-standard-soft:#eef4f8;--hca-standard-white:#fff;--hca-standard-green:#207a52}
.hca-handout-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}
.hca-handout{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--hca-standard-gold)!important;border-radius:10px;background:var(--hca-standard-gold)!important;color:var(--hca-standard-navy)!important;text-decoration:none!important;font:800 13px/1.25 Cairo,Arial,sans-serif!important;box-shadow:0 8px 22px rgba(7,35,73,.10)}
.hca-handout:hover{filter:brightness(1.04);transform:translateY(-1px)}
.hca-handout:focus-visible{outline:3px solid rgba(229,171,50,.45);outline-offset:3px}
.hca-handout::before{content:'PDF';display:grid;place-items:center;min-width:28px;height:24px;padding:0 5px;border-radius:5px;background:var(--hca-standard-navy);color:#fff;font:900 9px/1 Arial,sans-serif;letter-spacing:.04em}
.hca-audio-error{margin-top:8px;color:#9f2f2f;font-size:12px;font-weight:700}
.hca2-fig,.visual,.learningGrid figure,.scene-visual{background:var(--hca-standard-soft)!important}
.hca2-fig img,.visual img,.learningGrid figure img,#lessonImage,#visualImage,.scene-visual img,.hero__media img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;background:var(--hca-standard-soft)}
.hca2-lightbox img,#largeImage{object-fit:contain!important;object-position:center!important}
#shiftHero{background-color:var(--hca-standard-navy)!important;background-size:100% 100%,100% 100%,contain!important;background-position:center!important;background-repeat:no-repeat!important}
.hca-intro__hero img{object-fit:contain!important;object-position:center!important;background:#e7eef5!important}
.lesson-grid>li{position:relative}
.lesson-grid>li>.hca-handout{margin:8px 0 0;width:100%}
.hca2-lesson>.hca-handout-row{margin:2px 0 18px}
.topbar>.hca-handout{white-space:nowrap}
audio{accent-color:var(--hca-standard-gold)}
.hca-screen-player{position:relative;max-width:1100px!important;width:100%;display:flex;flex-direction:column;overflow:hidden}
.hca-screen-player>.hca2-lesson-kicker,.hca-screen-player>h2{order:1}
.hca-screen-player>.hca-handout-row{order:2;margin:2px 0 10px}
.hca-screen-stage{order:3;flex:1;min-height:300px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--hca-standard-line);border-radius:14px;background:linear-gradient(145deg,#fff,#f6f9fc);padding:clamp(18px,3vw,34px);box-shadow:inset 0 1px 0 #fff}
.hca-screen{min-height:100%;animation:hcaScreenIn .25s ease both}
.hca-screen[hidden]{display:none!important}
.hca-screen>.hca2-fig{margin:0 auto;max-width:900px}
.hca-screen>.hca2-fig img{max-height:clamp(280px,46vh,520px)}
.hca-screen>.hca2-example,.hca-screen>.hca2-tip,.hca-screen>.hca2-warn,.hca-screen>.hca2-steps,.hca-screen>.hca2-match,.hca-screen>.hca2-cards,.hca-screen>.hca2-tablewrap{margin-block:0}
.hca-screen>.hca2-quiz{margin-top:0;border-top:0;padding-top:0}
.hca-screen-player>.hca-course-audio{order:4;margin:10px 0 0;padding:12px 16px}
.hca-screen-player>.hca-course-audio>div:first-child{margin-bottom:4px}
.hca-screen-player>.hca-course-audio audio{margin:5px 0 6px}
.hca-screen-player>.hca-course-audio details{margin-top:6px}
.hca-screen-controls{order:5;display:grid;grid-template-columns:minmax(120px,1fr) minmax(220px,1.4fr) minmax(120px,1fr);align-items:center;gap:14px;margin-top:12px}
.hca-screen-controls button{min-height:48px;border:0;border-radius:12px;padding:10px 18px;font:800 14px/1.2 Cairo,Arial,sans-serif;cursor:pointer}
.hca-screen-prev{justify-self:start;background:#a9b7c7;color:#fff}
.hca-screen-next{justify-self:end;background:var(--hca-standard-navy);color:#fff}
.hca-screen-controls button:disabled{opacity:.5;cursor:not-allowed}
.hca-screen-center{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:4px 12px}
.hca-screen-menu__toggle{grid-row:1/3;background:#fff;color:var(--hca-standard-navy);border:1px solid var(--hca-standard-line)!important}
.hca-screen-count{font:800 12px/1.2 Cairo,Arial,sans-serif;color:var(--hca-standard-navy);white-space:nowrap}
.hca-screen-progress{width:150px;height:7px;border-radius:99px;background:#d8e2eb;overflow:hidden}
.hca-screen-progress span{display:block;height:100%;background:var(--hca-standard-gold);border-radius:inherit;transition:width .25s}
.hca-screen-menu{order:6;position:absolute;inset:82px 28px 76px;z-index:20;overflow:auto;border:1px solid var(--hca-standard-line);border-radius:16px;background:rgba(255,255,255,.98);padding:18px;box-shadow:0 22px 60px rgba(7,35,73,.22)}
.hca-screen-menu[hidden]{display:none!important}
.hca-screen-menu__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.hca-screen-menu__head h3{margin:0;color:var(--hca-standard-navy)}
.hca-screen-menu__close{width:42px;height:42px;border:0;border-radius:50%;background:var(--hca-standard-navy);color:#fff;font-size:22px;cursor:pointer}
.hca-screen-menu__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.hca-screen-menu__grid button{border:1px solid var(--hca-standard-line);border-radius:10px;background:#f7fafc;color:var(--hca-standard-navy);padding:12px;text-align:start;font:700 13px/1.45 Cairo,Arial,sans-serif;cursor:pointer}
.hca-screen-menu__grid button:hover,.hca-screen-menu__grid button.is-current{border-color:var(--hca-standard-gold);background:#fff8e8;box-shadow:0 0 0 2px rgba(229,171,50,.14)}
.hca-screen-player--opera>.hca-handout-row{margin-bottom:6px}
.hca-screen-player--opera>.hca-screen-stage{min-height:0;padding:clamp(14px,2vw,24px)}
.hca-screen-player--opera .hca-screen--visual{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);align-items:stretch;gap:clamp(16px,2.4vw,28px)}
.hca-screen-player--opera .hca-screen--visual>:not(.hca2-fig){align-self:center;min-width:0}
.hca-screen-player--opera .hca-screen--visual>.hca2-fig{display:flex;flex-direction:column;justify-content:center;min-width:0;margin:0}
.hca-screen-player--opera .hca-screen--visual>.hca2-fig img{width:100%;height:auto;max-height:340px;aspect-ratio:16/9;object-fit:contain!important;background:#e9f0f6}
.hca-screen-player--opera>.hca-course-audio{position:relative;display:grid;grid-template-columns:auto minmax(260px,1fr) auto auto;align-items:center;gap:8px 14px;margin-top:7px;padding:8px 12px}
.hca-screen-player--opera>.hca-course-audio>div:first-child{margin:0;white-space:nowrap}
.hca-screen-player--opera>.hca-course-audio>div:first-child span{display:none}
.hca-screen-player--opera>.hca-course-audio audio{height:38px;margin:0}
.hca-screen-player--opera>.hca-course-audio .hca-course-audio__tools,.hca-screen-player--opera>.hca-course-audio details{margin:0}
.hca-screen-player--opera>.hca-course-audio details{position:relative;white-space:nowrap}
.hca-screen-player--opera>.hca-course-audio details>p{position:absolute;z-index:30;inset-inline-end:0;bottom:calc(100% + 12px);width:min(680px,75vw);max-height:42vh;overflow:auto;margin:0;padding:18px;border:1px solid var(--hca-standard-line);border-radius:12px;background:#fff;box-shadow:0 18px 48px rgba(7,35,73,.2);white-space:pre-wrap}
.hca-screen-player--opera>.hca-screen-controls{margin-top:7px}
@keyframes hcaScreenIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:821px){#hca-app.hca-screen-root{min-height:0;height:calc(100dvh - var(--hca-screen-root-top,177px));overflow:hidden}.hca-screen-shell{height:100%;min-height:0;overflow:hidden}.hca-screen-shell>.hca2-side{height:100%;overflow-y:auto}.hca-screen-shell>.hca2-main{height:100%;overflow:hidden;padding:18px clamp(18px,3vw,42px)}.hca-screen-shell .hca-screen-player{height:100%;padding:20px clamp(18px,3vw,34px)}}
@media(max-width:760px){.topbar>.hca-handout{grid-column:1/-1;width:100%}.hca-handout{width:100%}.hca-handout-row{display:grid}.lesson-grid>li>.hca-handout{margin-top:6px}}
@media(max-width:820px){.hca-screen-shell{height:auto;overflow:visible}.hca-screen-shell>.hca2-main{overflow:visible}.hca-screen-player{min-height:calc(100svh - 90px);padding:18px 14px!important}.hca-screen-stage{min-height:360px;max-height:none}.hca-screen-controls{grid-template-columns:1fr 1fr;gap:10px}.hca-screen-center{grid-column:1/-1;grid-row:1}.hca-screen-prev{grid-column:1;grid-row:2;justify-self:stretch}.hca-screen-next{grid-column:2;grid-row:2;justify-self:stretch}.hca-screen-menu{inset:70px 12px 80px}.hca-screen-player>.hca-course-audio{padding:10px}.hca-screen-menu__grid{grid-template-columns:1fr}}
@media(max-width:980px){.hca-screen-player--opera .hca-screen--visual{grid-template-columns:1fr}.hca-screen-player--opera>.hca-course-audio{grid-template-columns:1fr auto}.hca-screen-player--opera>.hca-course-audio>div:first-child,.hca-screen-player--opera>.hca-course-audio audio{grid-column:1/-1}.hca-screen-player--opera>.hca-course-audio details>p{width:min(680px,86vw)}}
@media print{.hca-handout,.hca-handout-row{display:none!important}}
