/* HALLAYM EDU — accessibility layer (inklyuziv ta'lim). Classes are set on <html> by a11y-boot.js from personal settings.
   Fonts are self-hosted (SIL OFL): Atkinson Hyperlegible (Braille Institute) and OpenDyslexic. */
@font-face{font-family:'Atkinson Hyperlegible';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Atkinson Hyperlegible';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Atkinson Hyperlegible';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Atkinson Hyperlegible';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'OpenDyslexic';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/opendyslexic-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD}
@font-face{font-family:'OpenDyslexic';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/opendyslexic-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* ---- text size: page content reflows like browser zoom (the app is sized in px). Live video, board and lab keep their geometry. ---- */
html.a11y-zoom :is(#main>.page:not(#lesson):not(#lab):not(#board),#sidebar nav,#login .login-card,.ux-sheet>.ux-card,#faceDemoDialog,#toast){zoom:var(--a11y-zoom,1)}
html.a11y-zoom #lesson :is(.lesson-chat-panel,#lessonChatPanel,#participantsPanel,.page-head){zoom:min(var(--a11y-zoom,1),1.35)}

/* ---- spacing ---- */
html.a11y-lh-wide:not(#a):not(#b):not(#c) :where(p,li,td,th,dd,dt,label,small,blockquote,article,.ux-body,span,a,b,strong,em,h1,h2,h3,h4,input,textarea){line-height:1.7!important}
html.a11y-lh-wider:not(#a):not(#b):not(#c) :where(p,li,td,th,dd,dt,label,small,blockquote,article,.ux-body,span,a,b,strong,em,h1,h2,h3,h4,input,textarea){line-height:2.05!important}
html.a11y-ls-wide:not(#a):not(#b):not(#c) body *{letter-spacing:.05em!important;word-spacing:.12em!important}
html.a11y-ls-wider:not(#a):not(#b):not(#c) body *{letter-spacing:.11em!important;word-spacing:.24em!important}

/* ---- fonts ---- */
html.a11y-font-readable:not(#a):not(#b):not(#c) body,html.a11y-font-readable:not(#a):not(#b):not(#c) body *:not(code):not(pre):not(kbd):not(.hxa-keep-font){font-family:'Atkinson Hyperlegible','Onest',system-ui,'Segoe UI',Arial,sans-serif!important}
html.a11y-font-dyslexic:not(#a):not(#b):not(#c) body,html.a11y-font-dyslexic:not(#a):not(#b):not(#c) body *:not(code):not(pre):not(kbd):not(.hxa-keep-font){font-family:'OpenDyslexic','Atkinson Hyperlegible','Onest',Verdana,sans-serif!important}
html.a11y-font-dyslexic:not(#a):not(#b):not(#c) body{font-size-adjust:none}

/* ---- contrast themes (brute force on purpose: every surface, text and border) ---- */
html.a11y-contrast{--hxa-bg:#fff;--hxa-fg:#000;--hxa-accent:#0033cc;color-scheme:light}
html.a11y-contrast-dark{--hxa-bg:#000;--hxa-fg:#fff;--hxa-accent:#7fd1ff;color-scheme:dark}
html.a11y-contrast-yellow{--hxa-bg:#000;--hxa-fg:#ffef00;--hxa-accent:#00e5ff;color-scheme:dark}
/* :not(#a):not(#b):not(#c) lifts specificity above the app's #shell/#lesson rules without matching anything extra */
html.a11y-contrast,html.a11y-contrast body{background:var(--hxa-bg)!important}
html.a11y-contrast:not(#a):not(#b):not(#c) body *:not(:is(video,img,canvas,svg,svg *,iframe,.hxa-swatch,.hxa-ruler-mask,.hxa-backdrop,.hxa-ruler-line)){background-color:var(--hxa-bg)!important;background-image:none!important;color:var(--hxa-fg)!important;-webkit-text-fill-color:currentColor!important;border-color:var(--hxa-fg)!important;box-shadow:none!important;text-shadow:none!important}
html.a11y-contrast:not(#a):not(#b):not(#c) body svg{color:var(--hxa-fg)!important}
html.a11y-contrast:not(#a):not(#b):not(#c) a[href]{color:var(--hxa-accent)!important;text-decoration:underline!important;text-underline-offset:3px}
html.a11y-contrast:not(#a):not(#b):not(#c) body :is(button,[role="button"],input,select,textarea){border:2px solid var(--hxa-fg)!important}
html.a11y-contrast:not(#a):not(#b):not(#c) body :is(.ux-card,.card,article,dialog,.stat,.in-card){border:1px solid var(--hxa-fg)!important}
html.a11y-contrast:not(#a):not(#b):not(#c) body :is(button,a,[role="tab"],[role="button"],summary):is(.active,.on,.sel,[aria-current="page"],[aria-pressed="true"],[aria-selected="true"],.active-control){outline:3px solid var(--hxa-accent)!important;outline-offset:-5px!important;text-decoration:underline!important}
html.a11y-contrast:not(#a):not(#b):not(#c) body :is(input,textarea)::placeholder{color:var(--hxa-fg)!important;-webkit-text-fill-color:var(--hxa-fg)!important;opacity:.75}
html.a11y-contrast:not(#a):not(#b):not(#c) body :is(input[type="checkbox"],input[type="radio"],progress,meter,input[type="range"]){accent-color:var(--hxa-fg)}
html.a11y-contrast:not(#a):not(#b):not(#c) body :is(.ms-tile,.video-stage,#videoMount,.ms-grid,#hxStageVideo){background-color:#000!important}
html.a11y-contrast:not(#a):not(#b):not(#c) :is(#liveCaptions,.live-captions,.hxa-cap-history){background:#000!important;color:#fff!important;outline:3px solid #fff}
html.a11y-contrast:not(#a):not(#b):not(#c) .hxa-switch[aria-checked="true"]{background:var(--hxa-fg)!important}
html.a11y-contrast:not(#a):not(#b):not(#c) .hxa-switch::after{background:var(--hxa-accent)}
html.a11y-contrast:not(#a):not(#b):not(#c) .in-bars i{background:linear-gradient(90deg,var(--hxa-fg) var(--w),transparent var(--w))!important;border:1px solid var(--hxa-fg)!important}
html.a11y-contrast .hxa-backdrop{background:rgba(0,0,0,.6)!important}

/* ---- colour vision ---- */
html.a11y-filter-grayscale{filter:grayscale(1)}
html.a11y-filter-lowsat{filter:saturate(.4)}
html.a11y-filter-protanopia{filter:url(#hx-protanopia)}
html.a11y-filter-deuteranopia{filter:url(#hx-deuteranopia)}
html.a11y-filter-tritanopia{filter:url(#hx-tritanopia)}

/* ---- motion, links, cursor, focus ---- */
html.a11y-reduce-motion *,html.a11y-reduce-motion *::before,html.a11y-reduce-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;animation-delay:0s!important;transition-duration:.001ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
html.a11y-reduce-motion :is(.confetti,.lq-confetti,[class*="confetti"]){display:none!important}
html.a11y-highlight-links a[href]{text-decoration:underline 2px!important;text-underline-offset:3px!important;outline:2px dotted currentColor;outline-offset:2px}
html.a11y-highlight-links :is(button,[role="button"],summary){outline:1px dashed currentColor;outline-offset:1px}
html.a11y-big-cursor,html.a11y-big-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 3l30 27-13 1 8 15-6 3-8-15-11 9z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3,auto!important}
html.a11y-big-cursor :is(a[href],button,[role="button"],summary,label,select,input[type="checkbox"],input[type="radio"]),html.a11y-big-cursor :is(a[href],button,[role="button"],summary,label) *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M17 4c2 0 3.5 1.5 3.5 3.5V20l2-.5c1.8 0 3 1.2 3 3l2-.4c1.8 0 3 1.2 3 3l2-.3c1.8 0 3 1.3 3 3V36c0 5-4 9-9 9h-5c-3 0-5.6-1.4-7.4-3.8L7 31.5c-1.2-1.6-.9-3.8.7-5 1.5-1 3.5-.8 4.7.6l1.1 1.3V7.5C13.5 5.5 15 4 17 4z' fill='%23fff' stroke='%23000' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 16 4,pointer!important}
html.a11y-big-cursor :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),textarea,[contenteditable="true"]){cursor:text!important}
html.a11y-strong-focus :focus-visible{outline:4px solid #ff6a00!important;outline-offset:3px!important;box-shadow:0 0 0 7px rgba(0,0,0,.85)!important;border-radius:6px}
html.a11y-strong-focus :is(button,a[href],input,select,textarea,summary,[tabindex]):focus{outline:4px solid #ff6a00!important;outline-offset:3px!important}
html.a11y-click-to-read #main :is(p,h1,h2,h3,h4,li,td,th,label,small,blockquote,.ux-empty b,.ux-empty span):hover{outline:2px dashed #2563eb;outline-offset:2px;cursor:help}
.hxa-reading{outline:3px solid #f59e0b!important;outline-offset:3px!important;background-color:rgba(245,158,11,.16)!important;border-radius:4px}

/* ---- reading ruler (pointer devices) ---- */
.hxa-ruler-mask{position:fixed;left:0;right:0;z-index:2147483000;pointer-events:none;background:rgba(5,8,26,.55)!important}
.hxa-ruler-top{top:0}
.hxa-ruler-bottom{bottom:0}
.hxa-ruler-line{position:fixed;left:0;right:0;height:3px;z-index:2147483001;pointer-events:none;background:#f59e0b!important}

/* ---- header button + panel ---- */
.hxa-trigger{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;border:1px solid var(--hx-line,#e2e6f0);background:var(--hx-surface,#fff);color:var(--hx-text,#121835);cursor:pointer;padding:0}
.hxa-trigger svg{width:22px;height:22px}
.hxa-trigger:hover{border-color:var(--hx-brand,#0b4fd8);color:var(--hx-brand,#0b4fd8)}
.hxa-trigger.hxa-login{position:fixed;top:14px;right:14px;z-index:60;width:auto;padding:0 14px;gap:8px;grid-auto-flow:column;font:600 14px/1 var(--hx-font,system-ui);box-shadow:0 6px 20px rgba(15,21,55,.12)}
html.a11y-on .hxa-trigger{border-color:var(--hx-brand,#0b4fd8);box-shadow:0 0 0 3px color-mix(in srgb,var(--hx-brand,#0b4fd8) 25%,transparent)}
.hxa-backdrop{position:fixed;inset:0;z-index:2147482000;background:rgba(5,8,26,.45)}
.hxa-panel{position:fixed;top:0;right:0;bottom:0;z-index:2147482001;width:min(440px,100vw);display:flex;flex-direction:column;background:#fff;color:#121835;box-shadow:-20px 0 60px rgba(5,8,26,.3);font:400 15px/1.45 'Onest',system-ui,sans-serif}
.hxa-panel *{box-sizing:border-box}
.hxa-head{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid #e2e6f0}
.hxa-head h2{margin:0;font:700 19px/1.2 'Onest',system-ui,sans-serif;flex:1}
.hxa-head small{display:block;font-weight:400;font-size:13px;color:#5a6283;margin-top:3px}
.hxa-x{width:40px;height:40px;border-radius:12px;border:1px solid #e2e6f0;background:#fff;color:#121835;font-size:22px;line-height:1;cursor:pointer}
.hxa-body{flex:1;overflow:auto;padding:6px 18px 18px;overscroll-behavior:contain}
.hxa-sec{padding:14px 0;border-bottom:1px solid #eef1f7}
.hxa-sec:last-child{border-bottom:0}
.hxa-sec h3{margin:0 0 10px;font:700 13px/1.2 'Onest',system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#5a6283}
.hxa-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hxa-preset{display:flex;gap:10px;align-items:flex-start;text-align:left;padding:10px 11px;border-radius:14px;border:1.5px solid #e2e6f0;background:#f7f8fc;color:#121835;cursor:pointer;min-height:58px;font:inherit}
.hxa-preset i{font-style:normal;font-size:22px;line-height:1}
.hxa-preset b{display:block;font-size:14px;line-height:1.2}
.hxa-preset small{display:block;font-size:12px;color:#5a6283;margin-top:2px;line-height:1.3}
.hxa-preset[aria-pressed="true"]{border-color:#0b4fd8;background:#eaf1ff;box-shadow:inset 0 0 0 1px #0b4fd8}
.hxa-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0}
.hxa-row>span{flex:1}
.hxa-row>span small{display:block;color:#5a6283;font-size:12.5px}
.hxa-seg{display:inline-flex;border:1.5px solid #cbd2e3;border-radius:12px;overflow:hidden;flex-wrap:wrap}
.hxa-seg button{border:0;border-right:1px solid #cbd2e3;background:#fff;color:#121835;padding:8px 11px;min-width:44px;min-height:40px;font:600 14px/1 'Onest',system-ui,sans-serif;cursor:pointer}
.hxa-seg button:last-child{border-right:0}
.hxa-seg button[aria-pressed="true"]{background:#0b4fd8;color:#fff}
.hxa-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.hxa-swatch{border-radius:12px;border:1.5px solid #cbd2e3;padding:9px 4px;cursor:pointer;font:700 13px/1.15 'Onest',system-ui,sans-serif;min-height:54px}
.hxa-swatch[aria-pressed="true"]{outline:3px solid #0b4fd8;outline-offset:2px}
.hxa-switch{position:relative;width:52px;height:30px;flex:none;border-radius:999px;border:0;background:#cbd2e3;cursor:pointer;padding:0}
.hxa-switch::after{content:'';position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:left .15s}
.hxa-switch[aria-checked="true"]{background:#0b4fd8}
.hxa-switch[aria-checked="true"]::after{left:25px}
.hxa-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.hxa-btn{border:1.5px solid #cbd2e3;background:#fff;color:#121835;border-radius:12px;padding:9px 13px;min-height:42px;font:600 14px/1 'Onest',system-ui,sans-serif;cursor:pointer;display:inline-flex;gap:7px;align-items:center}
.hxa-btn.primary{background:#0b4fd8;border-color:#0b4fd8;color:#fff}
.hxa-btn:disabled{opacity:.5;cursor:not-allowed}
.hxa-select{min-height:40px;border-radius:10px;border:1.5px solid #cbd2e3;padding:0 10px;font:inherit;background:#fff;color:#121835;max-width:210px}
.hxa-range{width:150px;accent-color:#0b4fd8}
.hxa-foot{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 18px;border-top:1px solid #e2e6f0;background:#f7f8fc}
.hxa-foot small{color:#5a6283}
.hxa-keys{margin:6px 0 0;padding:0;list-style:none;display:grid;gap:5px;font-size:13.5px}
.hxa-keys kbd{display:inline-block;min-width:22px;padding:2px 6px;border-radius:6px;border:1px solid #cbd2e3;border-bottom-width:2px;background:#fff;font:600 12px/1.3 ui-monospace,monospace;color:#121835}
.hxa-note{margin:8px 0 0;padding:10px 12px;border-radius:12px;background:#fff7e6;color:#5c3d00;font-size:13px;line-height:1.4}
@media (prefers-color-scheme:dark){html:not(.a11y-contrast)[data-theme="dark"] .hxa-panel{background:#11173a;color:#e9ecfa}}
@media (max-width:520px){.hxa-presets{grid-template-columns:1fr}.hxa-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}.hxa-trigger.hxa-login span{display:none}}

/* ---- live lesson: caption history and sign-language interpreter ---- */
.hxa-cap-history{display:flex;flex-direction:column;gap:6px;max-height:min(46vh,420px);overflow:auto;padding:10px 12px;border-radius:14px;background:#05081a;color:#fff;font:500 16px/1.5 'Onest',system-ui,sans-serif}
.hxa-cap-history p{margin:0}
.hxa-cap-history p b{color:#7fd1ff;font-weight:700;margin-right:6px}
.hxa-cap-history time{color:#a7aed3;font-size:12px;margin-right:6px;font-variant-numeric:tabular-nums}
html[data-caption-size="1"] .hxa-cap-history{font-size:19px}
html[data-caption-size="2"] .hxa-cap-history{font-size:23px}
#hxInterpreter{position:absolute;right:12px;top:12px;z-index:22;padding:0;width:clamp(150px,30%,340px);aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#000;border:2px solid #7fd1ff;box-shadow:0 10px 30px rgba(0,0,0,.45)}
#hxInterpreter video{width:100%;height:100%;object-fit:cover;display:block}
#hxInterpreter span{position:absolute;left:6px;top:6px;padding:3px 8px;border-radius:999px;background:rgba(5,8,26,.78);color:#fff;font:700 12px/1.2 'Onest',system-ui,sans-serif}
#hxInterpreter.big{width:clamp(220px,46%,560px)}
html #lesson #videoMount :is(.ms-grid.fullscreen-video-grid:fullscreen,.ms-grid.fullscreen-video-grid:-webkit-full-screen)>.ms-tile.role-interpreter{display:block!important;visibility:visible!important;position:absolute!important;right:16px!important;top:16px!important;bottom:auto!important;left:auto!important;width:min(30vw,380px)!important;height:auto!important;aspect-ratio:4/3!important;z-index:26!important;border:2px solid #7fd1ff!important;border-radius:14px!important;overflow:hidden!important}
html #lesson #videoMount :is(.ms-grid.fullscreen-video-grid:fullscreen,.ms-grid.fullscreen-video-grid:-webkit-full-screen)>.ms-tile.role-interpreter .ms-video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.hxa-needs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px;padding:10px 12px;border-radius:14px;background:#eaf1ff;color:#0b2a6b;font-size:14px;border:1px solid #c9d8ff}
.hxa-needs b{font-weight:700}
.hxa-needs .hxa-chip{display:inline-flex;gap:5px;align-items:center;padding:3px 9px;border-radius:999px;background:#fff;border:1px solid #c9d8ff;font-size:12.5px;font-weight:600}
.hxa-needs button{margin-left:auto}

/* ---- «Inklyuziv ta'lim» page ---- */
html.hx .in-root{display:grid;gap:16px}
html.hx .in-hero{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:18px 20px;border-radius:20px;background:linear-gradient(120deg,var(--hx-ink,#0f1537),var(--hx-ink-3,#252e63));color:#fff;flex-wrap:wrap}
html.hx .in-hero b{display:block;font:700 18px/1.3 var(--hx-font-display,var(--hx-font,inherit));margin-bottom:4px}
html.hx .in-hero span{color:#c9cff0;font-size:14px;line-height:1.5;max-width:760px;display:block}
html.hx .in-tabs{display:flex;gap:6px;flex-wrap:wrap}
html.hx .in-pane{display:grid;gap:14px}
html.hx .in-lead{margin:0;color:var(--hx-text-2,#353d63);font-size:14.5px;line-height:1.55}
html.hx .in-muted{color:var(--hx-muted,#5a6283);font-size:13px}
html.hx .in-note{margin:8px 0 0;padding:9px 12px;border-radius:12px;background:var(--hx-raised,#f7f8fc);border:1px solid var(--hx-line,#e2e6f0);font-size:13.5px;line-height:1.45}
html.hx .in-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}
html.hx .in-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
html.hx .in-card{background:var(--hx-surface,#fff);border:1px solid var(--hx-line,#e2e6f0);border-radius:18px;padding:16px;display:grid;gap:10px;align-content:start}
html.hx .in-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
html.hx .in-card h3{margin:0;font-size:16px}
html.hx .in-card p{margin:0}
html.hx .in-chips{display:flex;flex-wrap:wrap;gap:6px}
html.hx .in-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:var(--hx-brand-soft,#eaf1ff);color:var(--hx-brand-strong,#0b2a6b);border:1px solid var(--hx-brand-line,#c9d8ff);font-size:13px;font-weight:600;cursor:default}
html.hx button.in-chip{cursor:pointer}
html.hx .in-chip i{font-style:normal}
html.hx .in-status{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:700;background:var(--hx-sunken,#eceff6);color:var(--hx-text-2,#353d63)}
html.hx .in-st-approved{background:#e3f6ea;color:#11643a}
html.hx .in-st-requested{background:#fff4dc;color:#7a4b00}
html.hx .in-st-rejected{background:#fde8e6;color:#9b1c12}
html.hx .in-ext{color:#11643a;font-weight:700}
html.hx .in-todo{margin:0;padding:0;list-style:none;display:grid;gap:6px;font-size:13.5px;line-height:1.45}
html.hx .in-todo li{display:flex;gap:8px}
html.hx .in-todo i{font-style:normal;flex:none;width:22px;text-align:center}
html.hx .in-consent,html.hx .in-check{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
html.hx .in-consent input,html.hx .in-check input{width:22px;height:22px;flex:none;margin-top:2px;accent-color:var(--hx-brand,#0b4fd8)}
html.hx .in-consent small{display:block;color:var(--hx-muted,#5a6283);font-size:13px;line-height:1.45;margin-top:3px}
html.hx .in-form{display:grid;gap:12px}
html.hx .in-form h4{margin:6px 0 0;font-size:14px}
html.hx .in-needs{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}
html.hx .in-need{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:14px;border:1.5px solid var(--hx-line,#e2e6f0);background:var(--hx-raised,#f7f8fc);cursor:pointer}
html.hx .in-need:has(input:checked){border-color:var(--hx-brand,#0b4fd8);background:var(--hx-brand-soft,#eaf1ff)}
html.hx .in-need input{width:20px;height:20px;margin-top:2px;accent-color:var(--hx-brand,#0b4fd8)}
html.hx .in-need i{font-style:normal;margin-right:5px}
html.hx .in-need small{display:block;color:var(--hx-muted,#5a6283);font-size:12px;line-height:1.35}
html.hx .in-accs{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
html.hx .in-acc{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:9px 12px;border-radius:12px;border:1px solid var(--hx-line,#e2e6f0);font-size:13.5px;line-height:1.35}
html.hx .in-acc i{font-style:normal;display:inline-block;min-width:24px}
html.hx .in-acc select{max-width:110px}
html.hx .in-acc.in-check{justify-content:flex-start}
html.hx .in-field{display:grid;gap:5px;font-weight:600;font-size:13.5px}
html.hx .in-field small{font-weight:400;color:var(--hx-muted,#5a6283)}
html.hx .in-row2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;align-items:end}
html.hx .in-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html.hx .in-request{padding:12px 14px;border-radius:14px;background:#fff7e6;border:1px solid #f3d9a4;display:grid;gap:8px;margin-bottom:12px}
html.hx .in-request p{margin:0;font-style:italic}
html.hx .in-request small{color:#7a4b00}
html.hx .in-history ul{margin:8px 0 0;padding-left:18px;font-size:13px;color:var(--hx-text-2,#353d63)}
html.hx .in-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
html.hx .in-filters label{display:grid;gap:4px;font-size:12.5px;font-weight:600;color:var(--hx-muted,#5a6283)}
html.hx .in-filters button{margin-left:auto}
html.hx .in-table{display:grid;border:1px solid var(--hx-line,#e2e6f0);border-radius:16px;overflow:hidden;background:var(--hx-surface,#fff)}
html.hx .in-tr{display:grid;grid-template-columns:2fr 1fr 1fr .7fr 1fr;gap:10px;align-items:center;padding:10px 14px;border-top:1px solid var(--hx-line,#e2e6f0);font-size:13.5px}
html.hx .in-tr:first-child{border-top:0}
html.hx .in-tr small{display:block;color:var(--hx-muted,#5a6283);font-size:12px}
html.hx .in-tr5{grid-template-columns:1.4fr 1fr 1.8fr .9fr auto}
html.hx .in-tr4{grid-template-columns:1.6fr .8fr 1.6fr auto}
html.hx .in-tr3{grid-template-columns:2fr 1fr 1.4fr}
html.hx .in-th{background:var(--hx-raised,#f7f8fc);font-weight:700;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--hx-muted,#5a6283)}
html.hx .in-warn{background:#fffaf0}
html.hx .in-dl{display:flex;gap:8px;flex-wrap:wrap}
html.hx .in-dl a{font-weight:700}
html.hx .in-link{font:inherit;font-weight:700;color:var(--hx-brand,#0b4fd8);text-align:left;padding:0;background:none;border:0;cursor:pointer}
html.hx .in-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
html.hx .in-kpis>div{padding:14px 16px;border-radius:16px;background:var(--hx-surface,#fff);border:1px solid var(--hx-line,#e2e6f0)}
html.hx .in-kpis b{display:block;font:800 28px/1.1 var(--hx-font-display,var(--hx-font,inherit));font-variant-numeric:tabular-nums}
html.hx .in-kpis span{color:var(--hx-muted,#5a6283);font-size:13px}
html.hx .in-kpis .warn{border-color:#f3c46b;background:#fffaf0}
html.hx .in-bars{list-style:none;margin:0;padding:0;display:grid;gap:8px}
html.hx .in-bars li{display:grid;grid-template-columns:minmax(120px,1.3fr) 2fr 34px;gap:10px;align-items:center;font-size:13px}
html.hx .in-bars i{display:block;height:10px;border-radius:99px;background:linear-gradient(90deg,var(--hx-brand,#0b4fd8) var(--w),var(--hx-sunken,#eceff6) var(--w))}
html.hx .in-bars b{text-align:right;font-variant-numeric:tabular-nums}
html.hx .in-picklist{display:grid;gap:6px;max-height:280px;overflow:auto;margin-top:8px}
html.hx .in-pick{display:grid;text-align:left;padding:9px 12px;border-radius:12px;border:1px solid var(--hx-line,#e2e6f0);background:var(--hx-surface,#fff);cursor:pointer;font:inherit}
html.hx .in-pick:hover,html.hx .in-pick:focus-visible{border-color:var(--hx-brand,#0b4fd8)}
html.hx .in-pick small{color:var(--hx-muted,#5a6283)}
html.hx .in-guide{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
html.hx .in-guide p{line-height:1.55;font-size:14px;color:var(--hx-text-2,#353d63)}
html.hx .in-transcript{max-height:62vh}
@media (max-width:760px){html.hx .in-tr,html.hx .in-tr5,html.hx .in-tr4,html.hx .in-tr3{grid-template-columns:1fr}html.hx .in-th{display:none}html.hx .in-filters button{margin-left:0}html.hx .in-bars li{grid-template-columns:1fr 1fr 30px}}

/* ---- lesson transcript panel and needs banner ---- */
html.hx #lesson .lesson-transcript{display:grid;gap:8px;margin:0 0 12px}
html.hx #lesson .lesson-transcript.hidden{display:none}
html.hx #lesson .lesson-transcript header{display:flex;align-items:center;gap:8px}
html.hx #lesson .lesson-transcript header b{flex:1}
html.hx #lesson .lesson-transcript header button{min-height:34px;padding:0 10px;border-radius:10px;border:1px solid var(--hx-line,#e2e6f0);background:var(--hx-surface,#fff);color:var(--hx-text,#121835);cursor:pointer;font-weight:700}
html.hx #lesson .lesson-transcript .hxa-cap-history{max-height:min(34vh,320px)}
.hxa-empty{color:#a7aed3!important;font-size:14px}
html.hx #lessonInclusionBanner.hidden{display:none}
html.hx #lessonInclusionBanner{margin:0 0 12px}

/* ---- video lesson subtitles ---- */
html.hx #watchPlayer{position:relative}
html.hx .vc-overlay{position:absolute;left:50%;bottom:9%;transform:translateX(-50%);max-width:88%;padding:6px 14px;border-radius:10px;background:rgba(0,0,0,.82);color:#fff;font:600 clamp(15px,2.2vw,24px)/1.4 'Onest',system-ui,sans-serif;text-align:center;pointer-events:none;opacity:0;z-index:5}
html.hx .vc-overlay.show{opacity:1}
html[data-caption-size="1"] .vc-overlay{font-size:clamp(18px,2.8vw,30px)}
html[data-caption-size="2"] .vc-overlay{font-size:clamp(21px,3.4vw,36px)}
html.hx .vc-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 12px}
html.hx .vc-bar small{color:var(--hx-muted,#5a6283)}
html.hx .vc-badge{display:inline-flex;padding:4px 10px;border-radius:999px;background:#e3f6ea;color:#11643a;font-weight:800;font-size:12.5px}
html.hx .vc-badge.warn{background:#fff4dc;color:#7a4b00}
html.hx .vc-transcript{flex-basis:100%}
html.hx .vc-transcript summary{cursor:pointer;font-weight:700}
html.hx .vc-transcript div{margin-top:8px;max-height:280px;overflow:auto;padding:12px;border-radius:12px;background:var(--hx-raised,#f7f8fc);line-height:1.6;font-size:14.5px}
video::cue{background:rgba(0,0,0,.82);color:#fff;font-family:'Onest',system-ui,sans-serif}
html[data-caption-size="1"] video::cue{font-size:120%}
html[data-caption-size="2"] video::cue{font-size:145%}
