/* Approved Academy premium details. Existing theme tokens are the palette source. */
html[data-premium-pilot] { --premium-edge:#b5a08a; --premium-halo:#dcc7aa28; --premium-shadow:#0004; }
html[data-premium-pilot][data-ebrux-mode=light] { --premium-edge:#a58c70; --premium-halo:#bda17d24; --premium-shadow:#6b513014; }
html[data-premium-pilot] .premium-light-card { position:relative; isolation:isolate; border:1px solid var(--premium-edge); box-shadow:0 12px 34px -20px var(--premium-shadow); }
html[data-premium-pilot] .premium-light-card::after {
  content:""; position:absolute; inset:0; z-index:2; border-radius:inherit; pointer-events:none;
  background:radial-gradient(350px circle at var(--light-x,95%) var(--light-y,0%),var(--premium-halo),transparent 72%);
  box-shadow:inset 0 1px 0 #fff2; opacity:.65; transition:opacity .2s ease;
}
html[data-premium-pilot] .premium-light-card:is(:hover,:focus-within)::after { opacity:1; }
html[data-premium-pilot] .premium-light-card:focus-visible { outline:2px solid var(--silver); outline-offset:5px; }
html[data-premium-pilot] .premium-action { position:relative; }
html[data-premium-pilot] .continue-action { align-self:flex-start; min-height:44px; border-bottom:1px solid currentColor; }
html[data-premium-pilot] .continue-action svg { transition:translate .2s ease; }
html[data-premium-pilot] .continue-card:is(:hover,:focus-visible) .continue-action svg { translate:4px 0; }
html[data-premium-pilot] .continue-card .continue-photo>img { transform:none; }
html[data-premium-pilot] .premium-button,html[data-premium-pilot] .premium-download-all {
  position:relative; overflow:hidden; isolation:isolate; min-height:46px; border:1px solid var(--premium-edge); border-radius:9px;
  padding:12px 16px; background:var(--note-bg); color:var(--note-ink); font:500 13px/1.5 var(--sans); cursor:pointer;
}
html[data-premium-pilot][data-login-variant="2"][data-ebrux-mode] .loginv-classic { --button-bg:inherit; --button-ink:inherit; }
html[data-premium-pilot][data-login-variant="2"][data-ebrux-mode] .loginv-classic :is(#demoLoginBtn,#loginBtn) { background:var(--button-bg)!important; color:var(--button-ink)!important; border-color:var(--button-bg)!important; }
html[data-premium-pilot] .premium-button::after,html[data-premium-pilot] .premium-download-all::after {
  content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(110deg,transparent 20%,#fff5 49%,transparent 72%);
  transform:translateX(-110%); transition:transform .65s ease;
}
html[data-premium-pilot] :is(.premium-button,.premium-download-all):is(:hover,:focus-visible)::after { transform:translateX(110%); }
html[data-premium-pilot] .practice-card { overflow:hidden; padding-top:24px; }
html[data-premium-pilot] .practice-card .premium-button { margin-top:22px; }
html[data-premium-pilot] .premium-paper-stack { position:relative; height:116px; margin:0 0 22px; }
html[data-premium-pilot] .premium-paper-stack img { position:absolute; height:109px; width:78px; object-fit:contain; background:#f8f5ed; border:1px solid #dacfbf; box-shadow:0 7px 15px #0002; border-radius:3px; }
html[data-premium-pilot] .premium-paper-stack img:nth-child(1) { left:12px; top:7px; rotate:-11deg; }
html[data-premium-pilot] .premium-paper-stack img:nth-child(2) { left:65px; top:0; rotate:2deg; z-index:1; }
html[data-premium-pilot] .premium-paper-stack img:nth-child(3) { left:120px; top:9px; rotate:12deg; }
html[data-premium-pilot] .lesson-row { transition:background-color .2s ease; }
html[data-premium-pilot] .lesson-row:is(:hover,:focus-visible) { background:var(--panel); }
html[data-premium-pilot] .lesson-row.current .lesson-number { color:var(--silver-light); }
html[data-premium-pilot] #ebrux-uni-nav [aria-current=page] .eb-uni-brand-ico { filter:brightness(0)!important; }
html[data-premium-pilot] .premium-selection a { border-radius:9px; transition:background-color .18s ease,border-color .18s ease; }
html[data-premium-pilot] .premium-selection a[aria-current] { box-shadow:inset 2px 0 var(--silver); }
html[data-premium-pilot] :is(.legacy-lesson,h2[id]) { scroll-margin-top:28px!important; }
html[data-premium-pilot] .premium-controls { gap:7px; }
html[data-premium-pilot] .premium-controls>button { border-radius:10px; min-height:44px; transition:background-color .18s ease,border-color .18s ease; }
html[data-premium-pilot] .premium-controls>button:is([aria-selected=true],[aria-pressed=true]) { background:var(--note-bg)!important; color:var(--note-ink)!important; border-color:var(--premium-edge)!important; box-shadow:inset 0 1px #fff2; }
html[data-premium-pilot] .course-study { border-color:var(--premium-edge); border-radius:18px; }
html[data-premium-pilot] .course-study__label { display:flex; align-items:center; gap:10px; }
html[data-premium-pilot] .course-study__label::before { content:""; width:20px; height:1px; background:var(--silver); }
html[data-premium-pilot] .path-buttons button[aria-selected=true] { border-color:var(--premium-edge); box-shadow:inset 2px 0 var(--silver); }
html[data-premium-pilot] .eb-uni-sheet-row { transition:border-color .18s ease,background-color .18s ease; }
html[data-premium-pilot] .eb-uni-sheet-row:is(:hover,:focus-visible) { border-color:var(--premium-edge)!important; }
html[data-premium-pilot] .eb-uni-sheet-row--current { box-shadow:inset 2px 0 var(--silver); }
html[data-premium-pilot] .chapter-card.premium-light-card { border-color:var(--premium-edge)!important; }
html[data-premium-pilot] .ebrux-card.premium-light-card { border-color:var(--premium-edge)!important; border-radius:18px!important; }
html[data-premium-pilot] .premium-profile-card { min-height:210px!important; background:var(--panel)!important; }
html[data-premium-pilot] .premium-profile-card>.ebrux-thumb-bg,html[data-premium-pilot] .premium-profile-card>div.absolute { display:none; }
html[data-premium-pilot] .premium-profile-card>.relative { min-height:210px!important; }
html[data-premium-pilot] .premium-profile-visual { position:absolute; right:22px; top:18px; width:210px; margin:0; pointer-events:none; }
html[data-premium-pilot] .premium-profile-mark { position:absolute; right:24px; top:23px; width:82px; height:82px; object-fit:contain; opacity:.65; }
html[data-premium-pilot][data-ebrux-mode=light] .premium-profile-mark { filter:brightness(0); opacity:.7; }
html[data-premium-pilot] .revision-form-example { border-radius:16px; }
html[data-premium-pilot] .revision-form-example[open] { border-color:var(--premium-edge); }
html[data-premium-pilot] .revision-form-example[open]>summary { background:var(--note-bg); color:var(--note-ink); }
html[data-premium-pilot] .premium-portfolio-photo { position:relative; margin:0; aspect-ratio:1; overflow:hidden; border-radius:14px; }
html[data-premium-pilot] .premium-portfolio-photo>img { display:block; width:100%; height:100%; object-fit:cover; }
html[data-premium-pilot] .premium-process-section { position:relative; padding-left:40px!important; }
html[data-premium-pilot] .premium-process-index { position:absolute; left:0; top:39px; color:var(--silver); font:400 24px/1 var(--serif); }
html[data-premium-pilot] .premium-process-section::before { content:""; position:absolute; left:11px; top:80px; bottom:22px; border-left:1px solid var(--line); }
html[data-premium-pilot] .course-equipment li { list-style:none; }
html[data-premium-pilot] .course-equipment label { padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:var(--panel); align-items:flex-start; }
html[data-premium-pilot] .course-equipment label:has(input:checked) { background:var(--note-bg); color:var(--note-ink); border-color:var(--premium-edge); }
html[data-premium-pilot] .course-equipment input { margin-top:5px; }
html[data-premium-pilot] .course-equipment-status>span { border-radius:20px; padding:7px 12px; background:var(--panel-2); color:var(--ink); }
html[data-premium-pilot] .reg-progress li { position:relative; padding-top:12px; align-items:center; gap:9px; }
html[data-premium-pilot] .reg-progress li>span { display:grid; place-items:center; flex:none; width:30px; height:30px; margin:0; border:1px solid var(--line); border-radius:50%; font:400 15px/1 var(--serif); }
html[data-premium-pilot] .reg-progress li[aria-current=step]>span,html[data-premium-pilot] .reg-progress li.is-done>span { background:var(--note-bg); color:var(--note-ink); border-color:var(--premium-edge); }
html[data-premium-pilot] .material-row { gap:14px; padding-block:17px; }
html[data-premium-pilot] .premium-material-row { position:relative; }
html[data-premium-pilot] .premium-material-open::after { content:""; position:absolute; inset:0; }
html[data-premium-pilot] .premium-material-row:focus-within { outline:2px solid var(--silver); outline-offset:3px; }
html[data-premium-pilot] #materials-list { counter-reset:material; }
html[data-premium-pilot] .material-row::before { counter-increment:material; content:counter(material,decimal-leading-zero); display:grid; place-items:center; flex:none; width:32px; height:32px; border:1px solid var(--line); border-radius:50%; color:var(--silver); font:400 18px/1 var(--serif); }
html[data-premium-pilot] .exam-q { border-radius:16px!important; }
html[data-premium-pilot] .opt-btn { border-radius:10px!important; }
html[data-premium-pilot] .opt-btn[aria-pressed=true] { border-color:var(--premium-edge)!important; background:var(--note-bg)!important; color:var(--note-ink)!important; }

/* Phase links enhance the existing anchors. They never mean lesson completion. */
html[data-premium-pilot=sequence] .premium-phase-heading { text-align:left; align-items:flex-start; }
html[data-premium-pilot=sequence] .premium-phase-heading>h2 { width:auto; margin:0; padding:0!important; border:0; background:none; }
html[data-premium-pilot=sequence] .premium-phase-label { padding:0!important; margin:30px 0 0!important; border:0; background:none; letter-spacing:.13em!important; font-size:12px!important; color:var(--muted)!important; }
html[data-premium-pilot=sequence] .premium-phase-nav { width:100%; position:relative; gap:12px; margin:26px 0 10px; }
html[data-premium-pilot=sequence] .premium-phase-nav a {
  position:relative; display:flex; justify-content:flex-start; gap:12px; min-height:102px; padding:17px 14px; text-align:left;
  border-radius:14px; background:var(--panel); color:var(--ink); border:1px solid var(--line); transition:background-color .2s ease,border-color .2s ease;
}
html[data-premium-pilot=sequence] .premium-phase-nav a[aria-current] { background:var(--note-bg); border-color:var(--premium-edge); color:var(--note-ink); }
html[data-premium-pilot=sequence] .premium-phase-nav a:not(:last-child)::after { content:""; position:absolute; right:-13px; top:50%; width:12px; border-top:1px solid var(--premium-edge); }
html[data-premium-pilot=sequence] .premium-phase-number { display:grid; place-items:center; flex:none; width:34px; height:34px; border:1px solid var(--line); border-radius:50%; font:400 18px/1 var(--serif); }
html[data-premium-pilot=sequence] [aria-current]>.premium-phase-number { color:var(--bg); background:var(--silver); border-color:var(--silver); }
html[data-premium-pilot=sequence] .premium-phase-copy { display:grid; gap:6px; font-size:13px; }
html[data-premium-pilot=sequence] .premium-phase-copy small { font-size:11px; color:inherit; opacity:.8; }
html[data-premium-pilot=sequence] .premium-step-group { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px!important; margin-top:28px!important; padding:0!important; border:0!important; }
html[data-premium-pilot=sequence] .premium-step-card {
  position:relative; display:grid; grid-template-columns:40px minmax(0,1fr); align-content:start; gap:17px; width:100%; max-width:none;
  margin:0!important; padding:25px!important; background:var(--panel)!important; border:1px solid var(--line)!important; border-radius:16px!important; box-shadow:none!important;
}
html[data-premium-pilot=sequence] .premium-step-card::before { display:none!important; }
html[data-premium-pilot=sequence] .premium-step-index { width:40px; height:40px; display:grid; place-items:center; border-radius:50%; border:1px solid var(--premium-edge); color:var(--silver-light); font:400 23px/1 var(--serif); }
html[data-premium-pilot=sequence] .premium-step-label { font:500 11px/1.5 var(--sans)!important; letter-spacing:.11em!important; color:var(--muted)!important; margin:0 0 8px!important; }
html[data-premium-pilot=sequence] .premium-step-copy { min-width:0; position:relative; }
html[data-premium-pilot=sequence] .premium-step-copy>div[aria-hidden] { display:none; }
html[data-premium-pilot=sequence] .premium-step-copy h3 { margin:0 0 15px!important; font-size:28px!important; }
html[data-premium-pilot=sequence] .premium-step-copy>span { margin:0 0 12px; padding:0; border:0; background:none; font:400 25px/1.2 var(--serif); text-transform:none; letter-spacing:0; color:var(--ink); }
html[data-premium-pilot=sequence] .premium-step-copy>ol { margin-top:18px!important; }
html[data-premium-pilot=sequence] .premium-step-copy p,html[data-premium-pilot=sequence] .premium-step-copy li { line-height:1.75!important; }
html[data-premium-pilot=sequence] .premium-step-copy>ol>li { margin-top:12px!important; }
html[data-premium-pilot=sequence] .premium-step-group>.premium-step-card:nth-child(3):last-child { grid-column:1/-1; }
html[data-premium-pilot=sequence] .premium-step-check { margin-top:18px!important; border-color:var(--premium-edge)!important; background:var(--note-bg)!important; }
html[data-premium-pilot=sequence] .premium-step-check .premium-step-index { color:var(--note-ink); }
html[data-premium-pilot=sequence] .premium-step-check .premium-step-label { color:var(--note-ink)!important; font:400 27px/1.2 var(--serif)!important; letter-spacing:0!important; text-transform:none; }
html[data-premium-pilot=sequence] ol.premium-step-group { grid-template-columns:1fr; gap:16px!important; }
/* Override the older light-only merged preparation grid on this pilot. */
html[data-premium-pilot=sequence][data-ebrux-mode=light] .premium-treatment-phase .premium-step-group { background:none!important; border-radius:0; box-shadow:none!important; overflow:visible; }
html[data-premium-pilot=sequence][data-ebrux-mode=light] .premium-treatment-phase .premium-step-group>.premium-step-card { background:var(--panel)!important; border:1px solid var(--line)!important; border-radius:16px!important; box-shadow:none!important; }

html[data-premium-pilot=materials] .materials-page { container:lesson / inline-size; padding-block:36px 65px; }
html[data-premium-pilot=materials] .materials-heading { margin:32px 0; }
html[data-premium-pilot=materials] .materials-heading h1 { font-size:clamp(38px,6vw,64px); line-height:1.1; margin-top:12px; }
html[data-premium-pilot=materials] #materials-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:32px; }
html[data-premium-pilot=materials] .sheet-caption { hyphens:auto; overflow-wrap:anywhere; }
html[data-premium-pilot=materials] .premium-material-type { margin:8px 0 4px; color:var(--muted); font:400 11px/1.5 var(--sans); }
html[data-premium-pilot=materials] .premium-document-icon { height:100%; display:grid; place-items:center; color:var(--silver); font:400 72px/1 var(--serif); }
/* Practice cards: the image is a preview button, the original file stays a link. */
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .worksheets-page { container:lesson / inline-size; padding-block:36px 65px; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .worksheets-heading { margin:32px 0; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .worksheets-heading h1 { font-size:clamp(38px,6vw,64px); line-height:1.1; margin-top:12px; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .worksheets-page #browtalk-sheets-grid { display:grid; margin-top:32px; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .worksheets-page .premium-download-all { display:flex; align-items:center; justify-content:center; text-align:center; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) #browtalk-sheets-grid { gap:20px; grid-template-columns:repeat(3,minmax(0,1fr))!important; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-card { display:flex; flex-direction:column; overflow:hidden; padding:0; border:1px solid var(--line); border-radius:15px; background:var(--panel); min-width:0; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-card[hidden] { display:none!important; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-preview { position:relative; display:block; width:100%; padding:35px 22px 16px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:var(--panel-2); color:var(--ink); cursor:zoom-in; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-paper { display:block; height:270px; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-paper img { display:block; height:100%; width:100%; object-fit:contain; object-position:center; filter:drop-shadow(0 8px 9px #0002); }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-number { position:absolute; top:10px; left:12px; color:var(--muted); font:400 14px/1 var(--serif); }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-preview-hint { display:block; margin-top:17px; font:500 11px/1.5 var(--sans); }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-info { display:flex; flex-direction:column; flex:1; padding:16px; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) :is(#browtalk-sheets-grid,#materials-grid) .sheet-caption { margin:0!important; padding:0!important; text-align:left; font:500 14px/1.5 var(--sans)!important; color:var(--ink); }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-file-link { display:inline-flex; align-items:center; min-height:44px; margin-top:auto; padding:8px 0 0; color:var(--silver-light); font:400 12px/1.5 var(--sans); text-decoration:underline; text-underline-offset:4px; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-preview:focus-visible { outline:2px solid var(--silver); outline-offset:-5px; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-filter { border:1px solid var(--line); padding:5px; width:fit-content; border-radius:12px; gap:4px; background:var(--panel); }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-filter button { border:0; background:none; border-radius:8px; }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-filter button[aria-pressed=true] { background:var(--note-bg); color:var(--note-ink); box-shadow:0 2px 7px var(--premium-shadow); }
html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-download-all { text-transform:none; letter-spacing:0; font-size:14px; border-radius:10px; padding:15px 24px; }

html[data-premium-pilot] .premium-preview-dialog { width:min(1020px,calc(100vw - 32px)); height:min(900px,calc(100dvh - 40px)); max-height:calc(100dvh - 40px); padding:0; margin:auto; border:1px solid var(--line); border-radius:18px; background:var(--bg); color:var(--ink); overflow:hidden; }
html[data-premium-pilot] .premium-preview-dialog[open] { display:flex; flex-direction:column; }
html[data-premium-pilot] .premium-preview-dialog::backdrop { background:#0b0907c9; backdrop-filter:blur(7px); }
html[data-premium-pilot] .premium-preview-header { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:14px 20px; border-bottom:1px solid var(--line); }
html[data-premium-pilot] .premium-preview-header h2 { flex:1; margin:0; font:400 28px/1.2 var(--serif); }
html[data-premium-pilot] .premium-preview-close,html[data-premium-pilot] .premium-preview-zoom { width:44px; height:44px; flex:none; border:1px solid var(--line); border-radius:50%; background:var(--panel); color:var(--ink); font-size:26px; cursor:pointer; }
html[data-premium-pilot] .premium-preview-stage { position:relative; flex:1; min-height:0; padding:20px; background:var(--panel-2); overflow:auto; touch-action:pan-y pinch-zoom; }
html[data-premium-pilot] .premium-preview-stage img { position:absolute; inset:20px; display:block; width:calc(100% - 40px); height:calc(100% - 40px); max-width:none; max-height:none; object-fit:contain; filter:drop-shadow(0 8px 14px #0002); }
html[data-premium-pilot] .premium-preview-dialog[data-zoomed] .premium-preview-stage img { position:relative; inset:auto; width:100%; height:auto; object-fit:initial; }
html[data-premium-pilot] .premium-preview-footer { display:flex; align-items:center; justify-content:center; gap:12px; padding:14px 20px; border-top:1px solid var(--line); font:500 13px/1.5 var(--sans); }
html[data-premium-pilot] .premium-preview-arrow { display:grid; place-items:center; width:44px; height:44px; flex:none; border:1px solid var(--line); border-radius:50%; background:var(--panel); color:var(--ink); font-size:21px; cursor:pointer; }
html[data-premium-pilot] .premium-preview-arrow:disabled { opacity:.32; cursor:default; }
html[data-premium-pilot] .premium-preview-position { min-width:42px; text-align:center; color:var(--muted); }
html[data-premium-pilot] .premium-preview-file { margin-left:auto; padding:12px 18px; min-height:44px; border:1px solid var(--premium-edge); background:var(--note-bg); color:var(--note-ink); border-radius:8px; font-size:13px; text-align:center; }
@media(prefers-reduced-motion:no-preference) {
  @supports (transition-behavior:allow-discrete) and (overlay:auto) {
    html[data-premium-pilot] .premium-preview-dialog { transition:opacity .18s ease,display .18s allow-discrete,overlay .18s allow-discrete; opacity:0; }
    html[data-premium-pilot] .premium-preview-dialog[open] { opacity:1; }
    @starting-style { html[data-premium-pilot] .premium-preview-dialog[open] { opacity:0; } }
  }
}
@container lesson (max-width:650px) {
  html[data-premium-pilot=materials] #materials-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  html[data-premium-pilot=sequence] .premium-step-group { grid-template-columns:1fr; }
  html[data-premium-pilot=sequence] .premium-phase-nav { grid-template-columns:1fr; gap:0; border:1px solid var(--line); border-radius:15px; overflow:hidden; }
  html[data-premium-pilot=sequence] .premium-phase-nav a { min-height:76px; border:0; border-radius:0; padding:14px 16px; }
  html[data-premium-pilot=sequence] .premium-phase-nav a+a { border-top:1px solid var(--line); }
  html[data-premium-pilot=sequence] .premium-phase-nav a:not(:last-child)::after { display:none; }
  html[data-premium-pilot=sequence] .premium-phase-copy { font-size:14px; }
  html[data-premium-pilot=sequence] .premium-step-card { padding:21px 18px!important; grid-template-columns:32px minmax(0,1fr); gap:12px; }
  html[data-premium-pilot=sequence] .premium-step-index { width:32px; height:32px; font-size:19px; }
  html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) #browtalk-sheets-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:12px; }
  html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-preview { padding:29px 9px 11px; }
  html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-paper { height:190px; }
  html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-sheet-info { padding:12px; }
  html:is([data-premium-pilot=practice],[data-premium-pilot=materials]) .premium-file-link { font-size:11px; }
}
@media(max-width:480px) {
  html[data-premium-pilot] .premium-preview-dialog { width:calc(100vw - 16px); height:calc(100dvh - 24px); max-height:calc(100dvh - 24px); border-radius:14px; }
  html[data-premium-pilot] .premium-preview-header { padding:12px 14px; }
  html[data-premium-pilot] .premium-preview-header h2 { font-size:25px; }
  html[data-premium-pilot] .premium-preview-stage { padding:12px; }
  html[data-premium-pilot] .premium-preview-stage img { inset:12px; width:calc(100% - 24px); height:calc(100% - 24px); }
  html[data-premium-pilot] .premium-preview-footer { flex-wrap:wrap; padding:12px; gap:10px; }
  html[data-premium-pilot] .premium-preview-file { width:100%; margin-left:0; }
  html[data-premium-pilot] .premium-filter { width:100%; flex-wrap:nowrap; gap:0; }
  html[data-premium-pilot] .premium-filter button { padding:11px 10px; flex:1; font-size:12px; }
}
@media(max-width:740px) {
  html[data-premium-pilot] :is(.legacy-lesson,h2[id]) { scroll-margin-top:90px!important; }
  html[data-premium-pilot] .reg-progress li { flex-direction:column; align-items:flex-start; gap:7px; }
  html[data-premium-pilot] .premium-process-section { padding-left:32px!important; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-premium-pilot] .premium-button::after,html[data-premium-pilot] .premium-download-all::after { transform:none; opacity:.22; background:linear-gradient(110deg,transparent 25%,#fff4,transparent 76%); transition:none; }
  html[data-premium-pilot] .premium-light-card::after,html[data-premium-pilot] .lesson-row,html[data-premium-pilot] .premium-phase-nav a,html[data-premium-pilot] .premium-selection a,html[data-premium-pilot] .continue-action svg { transition:none; }
  html[data-premium-pilot] .premium-controls>button,html[data-premium-pilot] .eb-uni-sheet-row { transition:none; }
}
@media print {
  html[data-premium-pilot] .premium-light-card::after { display:none; }
  html[data-premium-pilot] .premium-sheet-preview { background:none; }
  html[data-premium-pilot] .premium-step-card { break-inside:avoid; }
}
