.experimentBar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:14px 18px;background:#fff;border:1px solid #c9deef;border-radius:14px;margin-bottom:10px}.experimentBar strong{background:#174879;color:white;padding:7px 12px;border-radius:20px;font-size:13px}.experimentBar>span{font-size:13px}.experimentBar label{display:flex;gap:6px;align-items:center;font-size:12px}.experimentBar label:first-of-type{margin-left:auto}.experimentBar select{padding:6px;font-size:12px;max-width:160px}.experimentNotice{font-size:12px;color:#806632;background:#fff9e7;border:1px solid #eadbb2;border-radius:10px;padding:10px 14px;margin:8px 0 14px;line-height:1.7}.experimentFooter{text-align:center;font-size:12px;line-height:1.7;padding:20px;color:#617a8d}.paidCard{grid-column:1/-1;display:flex;flex-direction:column;gap:12px;width:100%;min-width:0}.paidCard .paidTop{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:#52778c}.paidCard .paidTop span{font-size:12px;color:#647d86}.paidCard .paidArt{padding:0;border:0;background:#fbfdff;border-radius:12px;width:100%;display:block;overflow:hidden;position:relative;line-height:0}.paidCard .paidArt img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;max-height:none;display:block}.paidArt .artHint{position:absolute;right:10px;bottom:10px;line-height:1.4;background:#ffffffdf;border-radius:12px;font-size:11px;padding:6px 10px;color:#3f6b83}.paidCard h2{font-size:23px;line-height:1.5;margin:0;color:#173b54}.paidCard .lessonDescription{font-size:15px;margin:0;line-height:1.7}.paidCard .paidActions{display:flex;gap:8px}.paidActions button{font-size:15px;flex:1;min-height:48px}.paidActions .paidPlay{background:#195b96;color:white;border-color:#195b96}.paidCard .progressSummary{border:1px solid #d4e6f0;border-radius:12px;background:#f3faff;padding:12px;display:grid;gap:8px}.progressHeading{display:flex;align-items:center;justify-content:space-between;font-size:15px}.paidCard progress,#videoMeter{width:100%;height:9px;accent-color:#358c72;border:0;border-radius:8px}.progressSummary small{font-size:12px;color:#517389}.autoStudy{display:flex;align-items:center;gap:7px;font-size:14px;color:#45646a}.autoStudy input{width:18px;height:18px;accent-color:#358c72;margin:0}.autoStudy input:disabled{opacity:1}.autoStudy.complete{font-weight:bold;color:#237352}.paidMarks{display:flex;gap:8px;align-items:center}.paidMarks button{font-size:13px;padding:7px 12px;min-height:36px}.paidMarks button[aria-pressed=true]{background:#fff2bc;border-color:#eac658}.paidCard .clipRange{font-size:13px;padding:8px 11px;background:#fff6dd;border-radius:9px;color:#886e38;line-height:1.6}.node.unit:has(.paidCard),.node.clip:has(.paidCard){display:block!important;padding:18px!important}.node.clip .paidCard h2{font-size:21px}.node.clip .paidCard .lessonDescription{font-size:14px}.node.clip .paidCard .paidTop{font-size:12px}.paidCard .unitHeader{display:none!important}
dialog#videoDialog{border:0;padding:0;border-radius:18px;width:min(1020px,calc(100vw - 36px));max-height:94dvh;color:#173b54;box-shadow:0 25px 90px #0a234966}dialog::backdrop{background:#10283fc4}#videoDialog>header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;background:#edf6ff;border-bottom:1px solid #d2e5f4}#videoDialog h2{margin:4px 0 0;font-size:21px;line-height:1.5}#videoDialog header small{font-size:12px;color:#52758f}#closeVideo{flex-shrink:0;border-radius:50%;width:44px;height:44px}.videoBody{padding:18px 22px 24px}#videoHost{background:#0c1421;min-height:220px;border-radius:12px;overflow:hidden}.videoBody>small{display:block;line-height:1.8;font-size:12px;color:#657e8e}#videoStatus{font-size:13px;line-height:1.7}#videoStatus.error{background:#fff3de;border-radius:10px;padding:10px;color:#8a6429}.videoActions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.videoActions label{display:flex;align-items:center;gap:8px;font-size:13px}.videoActions select{padding:9px;border-radius:9px;border:1px solid #c9deef}#videoProgress{font-size:13px;line-height:1.6}#segmentEvidence{background:#fff8e5;border-radius:10px;padding:10px;font-size:12px;line-height:1.8}#artDialog{border:0;border-radius:14px;padding:10px;max-width:96vw;max-height:96dvh;background:#fff}#artDialog img{max-width:90vw;max-height:86dvh;display:block;object-fit:contain}#closeArt{position:absolute;right:12px;top:12px;border-radius:50%;background:#fffffff0}.memoDialog{border:0;border-radius:16px;width:min(520px,92vw);padding:24px}.memoDialog textarea{width:100%;min-height:180px;padding:12px;font:inherit;border:1px solid #b8d2e6;border-radius:10px}.memoDialog footer{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}
@media(max-width:600px){.experimentBar{padding:10px;gap:8px}.experimentBar>span{font-size:11px}.experimentBar label:first-of-type{margin-left:0}.experimentBar select{font-size:11px}.experimentNotice{font-size:10px;line-height:1.7}.experimentFooter{font-size:10px}.node.unit:has(.paidCard),.node.clip:has(.paidCard){padding:15px!important}.paidCard{gap:10px}.paidCard h2{font-size:21px}#videoDialog{width:calc(100vw - 18px);max-height:96dvh;border-radius:14px}#videoDialog>header{padding:12px;gap:8px}#videoDialog h2{font-size:16px}.videoBody{padding:12px}.videoActions{gap:10px}.videoActions label{font-size:12px}#videoHost{min-height:170px}}
.paidCard .paidTitle{font:inherit;color:inherit;padding:0;border:0;background:transparent;text-align:left;line-height:inherit;min-height:0}.paidCard .paidTitle:hover{text-decoration:underline;text-underline-offset:5px}
.paidCard h2,.node.clip .paidCard h2{font-size:34px!important;line-height:1.55}.paidCard .lessonDescription,.node.clip .paidCard .lessonDescription{font-size:27px!important;line-height:1.7}.paidCard .paidActions button{font-size:26px;min-height:82px}.paidCard .paidMarks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.paidCard .paidMarks button{font-size:28px;min-height:82px;padding:12px}.paidCard .progressHeading{font-size:27px}.paidCard .progressSummary small,.paidCard .clipRange{font-size:23px}.paidCard .autoStudy{font-size:28px}.paidCard .autoStudy span small{font-size:20px}.paidCard .autoStudy input{width:30px;height:30px}.paidCard .paidTop{font-size:22px}.paidCard .paidTop span{font-size:19px}.paidCard .progressSummary{gap:12px;padding:18px}.paidCard .paidArt img{display:block!important;visibility:visible!important;width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain;opacity:1!important}.paidCard{gap:16px}.paidCard .artHint{font-size:20px}.paidCard progress{height:14px}
.node.unit:has(.paidCard),.node.clip:has(.paidCard){aspect-ratio:1;box-sizing:border-box;overflow:visible!important}.paidCard{height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto auto auto;gap:10px 14px;min-height:0}.paidCard>*{min-width:0;min-height:0;margin:0}.paidCard .paidTop{grid-column:1/-1;grid-row:1}.paidCard .paidArt{grid-column:1;grid-row:2/5;width:100%;height:100%;min-height:0;align-self:stretch;display:block;isolation:isolate}.paidCard .paidArt img{width:100%!important;height:100%!important;min-height:0;aspect-ratio:auto;object-fit:contain!important}.paidCard h2,.node.clip .paidCard h2{grid-column:2;grid-row:2;font-size:28px!important;line-height:1.45;align-self:center;overflow-wrap:anywhere}.paidCard .lessonDescription,.node.clip .paidCard .lessonDescription,.paidCard .clipRange{grid-column:2;grid-row:3;font-size:20px!important;line-height:1.5}.paidCard .paidActions{grid-column:2;grid-row:4;display:grid;grid-template-columns:1fr;gap:6px}.paidCard .paidActions button{font-size:22px;min-height:48px;padding:6px}.paidCard .progressSummary{grid-column:1/-1;grid-row:5;padding:10px 12px;gap:5px}.paidCard .progressHeading{font-size:23px}.paidCard .progressSummary small{font-size:19px}.paidCard .autoStudy{font-size:23px}.paidCard .autoStudy span small{font-size:18px}.paidCard .autoStudy input{height:25px;width:25px}.paidCard .paidMarks{grid-column:1/-1;grid-row:6;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.paidCard .paidMarks button{font-size:22px;min-height:54px;padding:6px 3px;white-space:nowrap}.paidCard .artHint{font-size:15px;right:4px;bottom:4px;padding:4px}.paidCard .paidTop,.node.clip .paidCard .paidTop{font-size:19px}.paidCard .paidTop span{font-size:16px}.paidCard .clipRange{padding:5px 7px}.paidCard .unitHeader{display:none!important}.node.clip .paidCard h2{font-size:25px!important}
/* Illustration lightbox: reserve the close control and fit both dimensions. */#artDialog{box-sizing:border-box;width:min(900px,calc(100vw - 24px));height:min(900px,calc(100dvh - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:52px 12px 12px;overflow:hidden;margin:auto}#artDialog #largeArt{display:block;box-sizing:border-box;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center;margin:0}#artDialog #closeArt{position:absolute;top:8px;right:8px;z-index:2;width:40px;height:40px;min-height:40px;padding:0}@media(max-width:600px){#artDialog{width:calc(100vw - 16px);height:calc(100dvh - 24px);max-width:calc(100vw - 16px);padding:50px 8px 8px}}
#artDialog{height:min(900px,calc(100dvh - 24px),calc(100vw + 40px))}@media(max-width:600px){#artDialog{height:min(calc(100dvh - 24px),calc(100vw + 40px))}}
/* Compact responsive illustration popup. */#artDialog{width:min(560px,calc(100vw - 48px));height:min(610px,calc(100dvh - 80px));max-width:calc(100vw - 48px);max-height:calc(100dvh - 80px);padding:52px 16px 16px;border-radius:18px;box-shadow:0 18px 65px #10283f55}#artDialog #largeArt{width:100%;height:100%;object-fit:contain;object-position:center}#artDialog::backdrop{background:#10283f80}#artDialog #closeArt{top:9px;right:10px;width:34px;height:34px;min-height:34px;font-size:18px}@media(max-width:600px){#artDialog{width:min(360px,calc(100vw - 40px));height:min(410px,calc(100vw + 10px),calc(100dvh - 100px));max-width:calc(100vw - 40px);max-height:calc(100dvh - 100px);padding:48px 12px 12px;border-radius:16px}}
.paidCard{grid-template-rows:auto minmax(0,1fr) auto auto auto}.paidCard .paidArt{grid-row:2;grid-column:1}.paidCard .paidCopy{grid-row:2;grid-column:2;display:flex;flex-direction:column;justify-content:center;gap:12px;min-height:0}.paidCard .paidCopy h2,.node.clip .paidCard .paidCopy h2{font-size:26px!important;line-height:1.4;margin:0}.paidCard .paidCopy .lessonDescription,.node.clip .paidCard .paidCopy .lessonDescription{font-size:20px!important;line-height:1.6;margin:0}.paidCard .paidActions{grid-row:3;grid-column:1/-1;grid-template-columns:1fr 1fr}.paidCard .progressSummary{grid-row:4}.paidCard .paidMarks{grid-row:5}
.paidCard .paidCopy{gap:8px;overflow:hidden}.paidCard .paidCopy h2,.node.clip .paidCard .paidCopy h2{font-size:22px!important;line-height:1.4;flex-shrink:0}.paidCard .paidCopy .paidTitle{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;width:100%;line-height:1.4}.paidCard .paidCopy .lessonDescription,.node.clip .paidCard .paidCopy .lessonDescription{font-size:18px!important;line-height:1.5;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0}
.node.unit .paidCard .paidCopy h2{font-size:34px!important;font-weight:900;line-height:1.3}.node.unit .paidCard .paidTitle{font-weight:900;line-height:1.3}.node.unit .paidCopy:has(.unitStudyNotes){justify-content:flex-start;gap:8px}.unitStudyNotes{display:grid;gap:8px;margin-top:2px}.unitStudyNotes h3{margin:0 0 4px;font-size:17px;color:#1a6387;font-weight:800}.unitStudyNotes ul{margin:0;padding-left:18px;font-size:16px;line-height:1.55;color:#294f68}.unitStudyNotes li+li{margin-top:3px}.node.unit .paidCopy:has(.unitStudyNotes)>.lessonDescription{font-size:17px!important;line-height:1.5}
.unitStudyNotes ul{font-size:15px;line-height:1.5}.unitStudyNotes{gap:7px}.unitStudyNotes h3{font-size:16px}.node.unit .paidCopy:has(.unitStudyNotes){gap:6px}
.node.unit .paidCopy:has(.unitStudyNotes){gap:4px}.unitStudyNotes h3{margin-bottom:2px}.unitStudyNotes li+li{margin-top:1px}
.node.unit .paidCopy:has(.unitStudyNotes)>.lessonDescription{display:none}.unitStudyNotes ul{font-size:14px;line-height:1.45}.unitStudyNotes h3{font-size:16px}.unitStudyNotes{gap:8px}

/* Use the available introduction area without shrinking the lecture title. */
.paidCard .paidCopy .unitStudyNotes{flex:none;gap:8px}.paidCard .paidCopy .unitStudyNotes ul{font-size:var(--intro-size,20px);line-height:1.42;padding-left:1.1em}.paidCard .paidCopy .unitStudyNotes h3{font-size:calc(var(--intro-size,20px) + 2px);line-height:1.35}.paidCard .paidCopy .lessonDescription,.node.clip .paidCard .paidCopy .lessonDescription{font-size:var(--intro-size,20px)!important;display:block;-webkit-line-clamp:unset;overflow:visible;line-height:1.45;flex:none}.node.unit .paidCopy:has(.unitStudyNotes)>.lessonDescription{display:none}


/* Consistent hierarchy: enlarge titles, keep body stable, only shrink on overflow. */
.node.unit .paidCard .paidCopy h2{font-size:34px!important;line-height:1.3}.node.clip .paidCard .paidCopy h2{font-size:26px!important;line-height:1.35;font-weight:800}.node.clip .paidCard .paidTitle{line-height:1.35}.paidCard .paidCopy .unitStudyNotes h3{font-size:22px;line-height:1.35;font-weight:800}.paidCard .paidCopy .lessonDescription,.node.clip .paidCard .paidCopy .lessonDescription,.paidCard .paidCopy .unitStudyNotes ul{font-size:var(--intro-size,20px)!important;line-height:1.45}.paidCard .paidCopy{justify-content:flex-start;gap:10px}.node.unit .paidCopy:has(.unitStudyNotes){gap:8px}


/* Give the lecture title breathing room before its introduction. */
.paidCard .paidCopy,.node.unit .paidCopy:has(.unitStudyNotes){gap:18px}


@media(max-width:600px){.paidCard .paidCopy .unitStudyNotes{gap:6px}.paidCard .paidCopy .unitStudyNotes ul{line-height:1.35}.paidCard .paidCopy .unitStudyNotes h3{line-height:1.25}}


.paidCard .paidMarks{display:block}.paidCard .paidMarks .study{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:6px;margin:0;padding:0;border:0}.paidCard .paidMarks .marks{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.paidCard .paidMarks button{font-size:20px;min-height:48px;padding:5px}.paidCard .paidMarks .watchControls{display:block;margin:0}.paidCard .paidMarks [data-watched],.paidCard .paidMarks [data-reset-study],.paidCard .paidMarks .studyTimer,.paidCard .paidMarks .study>small{display:none}.paidCard .paidMarks .watchControls button{width:100%}.paidCard .paidCopy h2{margin:0;font-size:34px!important;font-weight:900;line-height:1.3}.paidCard .paidActions button{font-size:22px}#vimeoDialog{width:min(1000px,94vw);max-height:94dvh;border:0;border-radius:16px;padding:18px;overflow:auto}#vimeoDialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}#vimeoDialog h2{font-size:22px}#vimeoDialog .vimeoHost{min-height:200px}#vimeoDialog .vimeoHost iframe{max-width:100%}#vimeoArt{width:min(560px,calc(100vw - 40px));height:min(610px,calc(100dvh - 70px));padding:52px 14px 14px;box-sizing:border-box;border:0;border-radius:16px;overflow:hidden}#vimeoArt img{width:100%;height:100%;object-fit:contain}#vimeoArt button{position:absolute;right:10px;top:8px}@media(max-width:600px){#vimeoArt{height:min(410px,calc(100dvh - 80px))}}
#adminViewPreview{margin:12px 20px;padding:12px 16px;border:2px solid #8e65cc;border-radius:14px;background:#faf5ff;display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#493365}#adminViewPreview[hidden]{display:none}#adminViewPreview select,#adminViewPreview button{font:inherit;padding:8px;border:1px solid #aa91cc;border-radius:8px;background:white}#adminViewPreview p{flex-basis:100%;margin:0;font-size:14px}@media(max-width:600px){#adminViewPreview{margin:8px;padding:10px;gap:8px}#adminViewPreview label{display:flex;align-items:center;gap:6px}}
body[data-admin-view="true"] #adminPanel{display:none!important}
.node.clip .paidCard .paidCopy h2{font-size:26px!important;line-height:1.3}.node.clip .paidCard .paidCopy .lessonDescription{font-size:20px;line-height:1.45;margin:0}.node.clip .paidCard .paidCopy{gap:18px}.node.clip .paidCard .paidActions button{font-size:20px}.node.clip .paidCard .paidTop{font-size:16px}
.node.clip .paidCard .paidCopy .lessonDescription{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-height:1.35;max-height:4.05em;overflow:hidden}
.paidMarks .cardMemoButton{display:inline-flex;align-items:center;justify-content:center;gap:5px}.paidMarks .cardMemoButton::after{content:"메모"}.paidMarks .cardMemoButton svg{width:22px;height:22px;flex:none}.paidMarks .cardMemoButton .memoLines{display:block;fill:none;stroke:currentColor;stroke-width:1.5}
.paidCard .paidActions button:disabled{opacity:.5;cursor:not-allowed}

#vimeoDialog .vimeoControls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}#vimeoDialog [data-fullscreen]{min-height:44px;padding:10px 16px;font-size:16px;white-space:nowrap}#vimeoDialog .vimeoControls label{display:flex;align-items:center;gap:8px}

#vimeoDialog .segmentNavigation{display:grid;gap:8px;background:#eef7ff;border:1px solid #bdd8ee;border-radius:12px;padding:12px;margin-top:10px;font-size:15px}#vimeoDialog .segmentNavigation[hidden]{display:none}#vimeoDialog .segmentNavigation p{margin:0;font-size:13px;line-height:1.5}.segmentTimeline{position:relative;height:18px;background:#cdd7e0;border-radius:6px;margin:5px 2px;overflow:hidden}.segmentRange{position:absolute;height:100%;background:#1986c5}.segmentPlayhead{position:absolute;z-index:1;top:0;bottom:0;width:3px;background:#f5a300}.segmentRangeButtons{display:flex;flex-wrap:wrap;gap:6px}.segmentRangeButtons button{min-height:40px;font-size:14px;padding:8px}

#vimeoDialog header h2{min-width:0;overflow-wrap:anywhere}#vimeoDialog [data-close]{flex:0 0 auto;white-space:nowrap;min-width:58px;min-height:44px;padding:10px 12px}#vimeoDialog .vimeoActionButtons{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}#vimeoDialog [data-segment-start]{white-space:nowrap;min-height:44px;padding:10px 12px;font-size:16px}#vimeoDialog [data-segment-start][hidden]{display:none}@media(max-width:600px){#vimeoDialog header{align-items:flex-start}#vimeoDialog header h2{font-size:18px;line-height:1.4;margin:4px 0}#vimeoDialog .vimeoControls{gap:8px}#vimeoDialog .vimeoControls label{white-space:nowrap}}

/* Notes use the authenticated Vimeo cards without the map's fixed card height. */
#noteCards .paidNoteCard{display:flex;flex-direction:column;gap:14px;min-width:0;align-self:start}
.paidNoteCard .notesCurriculum{font-size:14px;color:#517389;margin:0}
.paidNoteCard .paidCard{display:flex;flex-direction:column;height:auto;gap:14px;min-width:0}
.paidNoteCard .paidArt{height:auto;aspect-ratio:16/10;flex:none}
.paidNoteCard .paidCopy{overflow:visible;gap:10px}
.paidNoteCard .paidCopy h2{font-size:22px!important;line-height:1.5}
.paidNoteCard .paidCopy .unitStudyNotes h3{font-size:18px}.paidNoteCard .paidCopy .unitStudyNotes ul,.paidNoteCard .paidCopy .lessonDescription{font-size:16px!important;line-height:1.6}
.paidNoteCard .paidActions{display:flex;flex-wrap:wrap}.paidNoteCard .paidActions button{font-size:17px;flex:1 1 120px;min-width:0}
.paidNoteCard .progressHeading{font-size:18px}.paidNoteCard .progressSummary small,.paidNoteCard .autoStudy{font-size:15px}
.paidNoteCard .lessonMemo{width:100%;box-sizing:border-box;margin:0}.paidNoteCard .mapjump{align-self:start}
