:root{--accent: #674fe6;--accent-hover: #5841d4;--accent-soft: #f2f0fe;--accent-active: #e6e2fb;--sidebar: #f1f0eb;--page: #fcfbf8;--card: #fffefd;--line: #e6e3dc;--ink: #17151f;--muted: #6b6975;--ok: #137a42;--ok-soft: #e3f5ea;--busy: #5b45d6;--warn: #a35a00;--bad: #b02a37;--bad-soft: #fde4e4;--serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;--sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;--nav-h: 64px;font-family:var(--sans);color:var(--ink);background:var(--page)}*{box-sizing:border-box}body{margin:0;background:var(--page)}h1,h2,h3{font-family:var(--serif);font-weight:650;margin:0;letter-spacing:-.01em}h1{font-size:2.6rem;line-height:1.1}h2{font-size:1.45rem}h3{font-size:1.15rem}p{margin:.4rem 0}.hint{color:var(--muted)}.lead{font-size:1.1rem;margin:.5rem 0 0}.small{font-size:.85rem}.center{text-align:center}.error{color:var(--bad)}.pad{padding:1rem 1.25rem}[hidden]{display:none!important}.icon{flex:none}input,select,textarea,button{font:inherit}input,select,textarea{padding:.65rem .85rem;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink);max-width:100%}textarea{width:100%;resize:vertical}button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;padding:.6rem 1rem;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink)}button:hover{background:var(--accent-soft)}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}button.primary:hover:not(:disabled){background:var(--accent-hover)}button.outline{border-color:#cfcbc2;font-weight:500}button.big{padding:.9rem 1.5rem;font-size:1.05rem;border-radius:12px}button.wide{width:100%;padding:.95rem;font-size:1.05rem;border-radius:12px}button.link{border:0;background:transparent;color:var(--accent-hover);padding:.2rem 0}button.link:hover{background:transparent;text-decoration:underline}button.icon-btn{border:0;background:transparent;padding:.35rem;border-radius:8px;color:#4b4958}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b3a8f3;outline-offset:2px}.row{display:flex;gap:.5rem;flex-wrap:wrap}.wordmark{display:flex;align-items:center;gap:.35rem;font-size:1.9rem;font-weight:650;letter-spacing:-.04em;font-family:var(--sans)}.wordmark .wm-text{color:#151b33}.wordmark .wm-text span{color:var(--accent)}.wordmark-sign{margin-left:.15rem}.login-card{max-width:380px;margin:12vh auto;padding:2rem;background:var(--card);border:1px solid var(--line);border-radius:16px}.login-card form{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.shell{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--sidebar);border-right:1px solid var(--line);padding:1.6rem 1rem 1.2rem;display:flex;flex-direction:column;gap:1.4rem;position:sticky;top:0;height:100vh;overflow-y:auto}.nav{display:flex;flex-direction:column;gap:.2rem}.nav button,.nav-add{justify-content:flex-start;text-align:left;border:0;background:transparent;border-radius:12px;padding:.7rem .8rem;color:var(--ink);gap:.85rem;width:100%}.nav button:hover{background:var(--accent-soft)}.nav button.active{background:var(--accent-active);font-weight:600}.nav-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.count{color:var(--muted);font-weight:400}.nav-section{margin:1rem .8rem .3rem;color:var(--muted);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600}.nav-add{color:var(--accent-hover);margin-top:.6rem;border-top:1px solid var(--line);border-radius:0;padding-top:1rem}.new-folder{display:flex;flex-direction:column;gap:.5rem;padding:.8rem .4rem}.sidebar-foot{margin-top:auto}.minutes{display:flex;align-items:center;gap:.5rem;color:var(--muted);margin:0 0 .3rem}.profile{display:flex;align-items:center;gap:.75rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}.avatar{width:42px;height:42px;border-radius:50%;background:var(--accent-active);color:var(--accent-hover);display:grid;place-items:center;font-weight:600}.profile-text{display:flex;flex-direction:column}.content{padding:0 clamp(1rem,3vw,2.5rem) 4rem;min-width:0}.library,.lecture{max-width:1180px}.bottom-nav{display:none}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 0;border-bottom:1px solid var(--line);margin-bottom:1.6rem}.crumbs{display:flex;align-items:center;gap:.6rem;color:var(--muted);min-width:0}.crumbs span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crumbs span+span:before{content:"/";margin-right:.6rem;color:var(--line)}.crumbs span:last-child{color:var(--accent-hover)}.searchbox{display:flex;align-items:center;gap:.6rem;width:min(430px,45%);padding:.6rem .9rem;border:1px solid var(--line);border-radius:12px;background:#f8f7f3;color:var(--muted)}.searchbox input{border:0;background:transparent;padding:0;width:100%;outline:none}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.6rem}.section-head{display:flex;justify-content:space-between;align-items:baseline;margin:1.6rem 0 .9rem}.folder-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.folder-card{display:flex;align-items:center;gap:1rem;padding:1rem 1.1rem;background:var(--card);border:1px solid var(--line);border-radius:14px;text-align:left;justify-content:flex-start}.folder-card-text{flex:1;display:flex;flex-direction:column;gap:.2rem;min-width:0}.folder-card-text strong{font-size:1.05rem}.folder-art{width:64px;height:52px;border-radius:10px;display:grid;place-items:center;flex:none}.tone-0{background:#e7e1fb;color:#8f7bea}.tone-1{background:#dcebfb;color:#5aa0e6}.tone-2{background:#efe5d6;color:#bda583}.table{border:1px solid var(--line);border-radius:14px;background:var(--card)}.table-head,.table-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1.6fr) 1.1fr 1.3fr 44px;align-items:center;gap:.75rem;padding:0 1rem}.table-head{padding-top:.9rem;padding-bottom:.6rem;color:var(--muted);font-size:.9rem;border-bottom:1px solid var(--line)}.table-row{min-height:74px;position:relative}.table-row+.table-row{border-top:1px solid var(--line)}.table-row:hover{background:var(--accent-soft)}.row-main{border:0;background:transparent;justify-content:flex-start;text-align:left;padding:.6rem 0;gap:1rem;min-width:0}.row-main:hover{background:transparent}.row-icon{color:var(--muted);display:grid;place-items:center;flex:none}.row-icon.busy{color:var(--accent)}.row-title{display:flex;flex-direction:column;min-width:0}.row-title strong{font-weight:500;font-size:1.05rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-menu,.menu-wrap{position:relative}.menu{position:absolute;right:0;top:100%;z-index:20;min-width:220px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:.35rem;box-shadow:0 10px 30px #140f321f;display:flex;flex-direction:column}.menu button{border:0;justify-content:flex-start;text-align:left;border-radius:8px;background:transparent}.menu-label{padding:.5rem .9rem .2rem;color:var(--muted);font-size:.8rem}.danger{color:var(--bad)}.status-pill{display:inline-flex;align-items:center;gap:.45rem;font-weight:500;white-space:nowrap}.status-done{color:var(--ok)}.status-busy{color:var(--busy)}.status-failed{color:var(--warn)}.empty{padding:2.5rem 1rem;text-align:center;color:var(--muted)}.note{display:flex;align-items:center;gap:.5rem;color:var(--muted);font-size:.9rem;margin:1.1rem .2rem}.note.top{margin-top:0}.flow{max-width:560px;margin:0 auto;padding-top:1.5rem;display:flex;flex-direction:column;gap:1.1rem}.flow h1{font-size:2.4rem}.back{align-self:flex-start;gap:.3rem}.drop{flex-direction:column;padding:2rem 1rem;border:2px dashed #cfc8f2;background:var(--accent-soft);border-radius:16px;color:var(--accent-hover);gap:.4rem}.file-card{display:flex;align-items:center;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:16px;background:var(--card)}.file-icon{width:54px;height:62px;border-radius:10px;background:var(--accent-active);color:var(--accent);display:grid;place-items:center;flex:none}.file-text{flex:1;display:flex;flex-direction:column;min-width:0}.file-text strong{overflow:hidden;text-overflow:ellipsis}.field{display:flex;flex-direction:column;gap:.4rem}.field>span{font-weight:500}.info-card{display:flex;align-items:center;gap:1rem;padding:1rem 1.1rem;border-radius:14px;background:var(--accent-soft);color:#4a3fa0}.processing-art{width:96px;height:96px;border-radius:50%;background:var(--accent-active);color:var(--accent);display:grid;place-items:center;margin:0 auto}.steps{list-style:none;padding:0;margin:.5rem 0;display:flex;flex-direction:column;gap:1rem}.step{display:flex;gap:.9rem;align-items:flex-start}.step p{margin:.15rem 0 0}.step-mark{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:none;border:2px solid var(--line);color:#fff}.step-ok .step-mark{background:var(--ok);border-color:var(--ok)}.step-fail .step-mark{background:var(--warn);border-color:var(--warn)}.step-run .step-mark{border-color:var(--accent)}.step-wait{opacity:.6}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid var(--accent-active);border-top-color:var(--accent);display:inline-block;vertical-align:-3px;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.spinner{animation-duration:3s}}.lecture-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin:.4rem 0 1rem}.title-row{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}.head-actions{display:flex;align-items:center;gap:.4rem}.player{display:flex;align-items:center;gap:1rem;padding:.7rem 1rem;border:1px solid var(--line);border-radius:14px;background:var(--card)}.play{width:50px;height:50px;border-radius:50%;background:#20202b;border-color:#20202b;color:#fff;padding:0;flex:none}.play:hover:not(:disabled){background:#36364a}.player-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:22%}.seek{flex:1;min-width:0;padding:0;accent-color:var(--accent)}.player-time{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.speed{padding:.4rem .7rem}.check-banner{display:flex;align-items:center;gap:1.2rem;margin:1rem 0 0;padding:1rem 1.4rem;border-radius:14px;background:var(--accent-soft);color:var(--accent)}.check-banner>div:nth-child(2){flex:1;color:var(--ink)}.check-banner h2{font-size:1.3rem}.check-banner p{margin:.15rem 0 0}.check-cta{display:flex;flex-direction:column;align-items:center;gap:.3rem}.tabs{display:flex;align-items:center;gap:.25rem;border-bottom:1px solid var(--line);margin:1.4rem 0 1.1rem}.tabs [role=tab]{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:.7rem 1rem;color:var(--muted);font-size:1.1rem}.tabs [role=tab].active{color:var(--ink);border-bottom-color:var(--accent);font-weight:600}.edit-toggle{margin-left:auto}.lecture-body{display:grid;grid-template-columns:minmax(0,1fr);gap:1.2rem;align-items:start}.lecture-body.with-fragment{grid-template-columns:minmax(0,1fr) 380px}.paper{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:1.5rem 1.7rem;min-height:200px}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;font-weight:600;margin-bottom:.4rem}.notes{list-style:none;padding:0;margin:0}.notes li{padding:.9rem .8rem;border-radius:12px}.notes li.current{background:var(--accent-soft)}.notes li+li{border-top:1px solid transparent}.notes p{color:var(--muted);margin:.3rem 0 0;line-height:1.5}.note-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}.note-head h3{font-family:var(--sans);font-weight:600;font-size:1.1rem}.chip{padding:.15rem .6rem;border-radius:8px;border:0;background:var(--accent-active);color:var(--accent-hover);font-variant-numeric:tabular-nums;font-size:.95rem}.chip.static{display:inline-block}.transcript-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.9rem}.transcript-list li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:.8rem;align-items:start}.transcript-list p{margin:0;line-height:1.55}.transcript-list .chip{justify-self:start}.fragment{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:1.3rem 1.4rem;position:sticky;top:1rem}.fragment-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem}.fragment blockquote{margin:.9rem 0;font-size:1.1rem;line-height:1.55}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#140f3266;display:grid;place-items:center;padding:1rem;z-index:50}.dialog{background:var(--page);border-radius:18px;padding:1.4rem 1.6rem 1.6rem;width:min(640px,100%);max-height:90vh;overflow-y:auto}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem}.dialog h3{font-family:var(--sans);margin:1.2rem 0 .4rem}.quiz-question{font-family:var(--serif);font-size:1.35rem;margin:.4rem 0 1rem}.reference{background:var(--accent-soft);border-radius:12px;padding:.9rem 1rem;margin:1rem 0}.repeat-list{padding-left:1.1rem;line-height:1.7}.folder-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:.5rem}.folder-list>li>button{width:100%;justify-content:flex-start;padding:.9rem 1rem}.folder-list .count{margin-left:auto}.profile-screen,.content>div>h1+.card{max-width:640px}.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.25rem;margin:1.25rem 0}.status{padding:.1rem .5rem;border-radius:10px;font-size:.8rem;background:#e2e8f0}.status-paid{background:var(--ok-soft);color:var(--ok)}.balance{font-size:1.6rem;font-weight:600;margin:.25rem 0}.content>div>h1{padding-top:1.5rem}@media (max-width: 980px){.shell{grid-template-columns:250px minmax(0,1fr)}.folder-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lecture-body.with-fragment{grid-template-columns:minmax(0,1fr)}}@media (max-width: 800px){.shell{grid-template-columns:minmax(0,1fr);padding-bottom:var(--nav-h)}.sidebar{position:static;height:auto;border:0;background:transparent;padding:1rem 1rem 0;gap:0}.sidebar>.nav,.sidebar-foot{display:none}.shell.immersive .sidebar{display:none}.content{padding:0 1rem 6rem}.topbar{flex-direction:column;align-items:stretch;border:0;padding:.4rem 0;margin-bottom:.8rem}.crumbs{display:none}.lecture .crumbs{display:flex;font-size:.85rem}.searchbox{width:100%}h1{font-size:2.1rem}.page-head{flex-direction:column}.page-head .big{position:fixed;left:1rem;right:1rem;bottom:calc(var(--nav-h) + .6rem);z-index:10;width:auto}.folder-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.folder-card{padding:.7rem;gap:.6rem}.folder-card>.icon{display:none}.folder-art{width:40px;height:40px}.folder-art svg{width:22px;height:22px}.folder-card-text strong{font-size:.95rem;overflow-wrap:anywhere}.folder-card-text .hint{font-size:.8rem}.table{border:0;background:transparent}.table-head,.row-folder,.row-duration{display:none}.table-row{grid-template-columns:minmax(0,1fr) auto 36px;min-height:64px;padding:0 .5rem;border-bottom:1px solid var(--line);border-top:0!important}.row-status{font-size:.85rem}.bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;height:var(--nav-h);background:var(--card);border-top:1px solid var(--line);z-index:30}.shell.immersive .bottom-nav{display:none}.shell.immersive{padding-bottom:0}.bottom-nav button{flex:1;flex-direction:column;gap:.15rem;border:0;border-radius:0;background:transparent;font-size:.8rem;color:var(--muted)}.bottom-nav button.active{color:var(--accent-hover)}.lecture-head{flex-direction:column}.head-actions{width:100%}.head-actions .outline{flex:1}.player{position:fixed;left:.6rem;right:.6rem;bottom:.6rem;z-index:25;box-shadow:0 8px 28px #140f322e;gap:.6rem;padding:.5rem .7rem}.player-name{display:none}.play{width:42px;height:42px}.lecture{padding-bottom:5rem}.check-banner{gap:.8rem;padding:.8rem 1rem}.check-banner h2{font-size:1.05rem}.check-banner .icon{width:24px;height:24px}.check-cta .small{display:none}.check-cta .primary{padding:.5rem .8rem}.paper{padding:1rem 1.1rem}.tabs [role=tab]{font-size:1rem}.fragment{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:40;border-radius:18px 18px 0 0;max-height:55vh;overflow-y:auto;box-shadow:0 -10px 30px #140f322e;padding-bottom:5.5rem}.dialog{border-radius:18px}.flow{padding-top:.5rem}.flow h1{font-size:2.1rem}}.layers .layer{margin:0 0 1.25rem;padding:1rem 1.1rem;border:1px solid var(--line, #e3e1f3);border-radius:12px}.layers .layer header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.layers .layer h3{margin:0}.layer-text{white-space:pre-wrap;line-height:1.55;margin-top:.5rem;max-height:22rem;overflow:auto}.layer-pill{font-size:.8rem;padding:.15rem .6rem;border-radius:999px;background:#eef;color:#333}.layer-pill.real{background:#e3f4ea;color:var(--ok, #137a42)}.layer-pill.student{background:#ece8ff;color:var(--accent, #674fe6)}.layer-pill.stub{background:#fff1dc;color:var(--warn, #a35a00)}.upload-list{list-style:none;margin:0 0 1rem;padding:0;display:grid;gap:.5rem}.upload-list .file-card{margin:0}.upload-fail{border-color:var(--warn, #a35a00)}.modes{border:0;padding:0;margin:0 0 1rem;display:grid;gap:.6rem}.modes legend{font-weight:600;margin-bottom:.4rem;padding:0}.mode{display:flex;gap:.7rem;align-items:flex-start;padding:.8rem .9rem;border:1px solid var(--line, #e3e1f3);border-radius:12px;cursor:pointer}.mode.disabled{opacity:.6;cursor:not-allowed}.mode small{display:block}.admin .admin-tabs{margin-bottom:1rem;flex-wrap:wrap}.admin .table-scroll{overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;background:var(--card)}.admin-table th,.admin-table td{padding:.5rem .6rem;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.admin-table tr.muted{opacity:.55}.admin textarea{width:100%;box-sizing:border-box;margin:.5rem 0}@media (max-width: 760px){.admin .folder-cards{grid-template-columns:1fr}}:root{--serif: var(--sans);--folder-violet:#7553d8;--folder-blue:#2474a6;--folder-green:#28745b;--folder-rose:#ae4b6a;--folder-amber:#91601c;--folder-slate:#5e6b7f;color-scheme:light}:root[data-theme=mint]{--page:#f4f9f6;--sidebar:#eaf2ed;--card:#fcfefc;--line:#d8e5dc;--ink:#18362c;--muted:#536d62}:root[data-theme=night]{--page:#141820;--sidebar:#1b202a;--card:#202733;--line:#394251;--ink:#edf0f6;--muted:#b0bacb;--ok:#80d4a3;--ok-soft:#203d31;--bad:#ffa5ac;--bad-soft:#482b35;--warn:#efc485;color-scheme:dark}:root[data-accent=blue]{--accent:#286cba;--accent-hover:#205c9f;--accent-soft:#edf4fd;--accent-active:#dbeafb;--busy:#286cba}:root[data-accent=rose]{--accent:#ad4669;--accent-hover:#923858;--accent-soft:#fff0f5;--accent-active:#f8dce7;--busy:#ad4669}:root[data-theme=night][data-accent=violet]{--accent:#ad98ff;--accent-hover:#c7b8ff;--accent-soft:#2b2640;--accent-active:#3c325b;--busy:#ad98ff}:root[data-theme=night][data-accent=blue]{--accent:#89baff;--accent-hover:#afcfff;--accent-soft:#202e45;--accent-active:#293f60;--busy:#89baff}:root[data-theme=night][data-accent=rose]{--accent:#f0a4c0;--accent-hover:#ffc4d9;--accent-soft:#3a2734;--accent-active:#523146;--busy:#f0a4c0}body{line-height:1.5}h1,h2,h3{font-family:var(--sans);letter-spacing:-.035em}h1{font-size:clamp(1.9rem,3vw,2.65rem);line-height:1.16;overflow-wrap:anywhere}h2{font-size:1.35rem}h3{font-size:1.1rem}button,input,select,textarea{color:var(--ink);background:var(--card)}button.primary{color:#fff}:root[data-theme=night] button.primary{color:#17151f}.content{padding-top:1.5rem}.wordmark .wm-text{color:var(--ink)}.wordmark-sign path{stroke:var(--accent)}.utility-nav{display:grid;gap:.25rem;margin:.7rem 0}.utility-nav button{border:0;background:transparent;justify-content:flex-start;padding:.65rem .7rem;text-align:left;font-size:.9rem;min-height:42px}.utility-nav button:hover,.utility-nav button.active{background:var(--accent-soft);color:var(--accent-hover)}.utility-nav button .icon{flex-shrink:0}.sidebar{gap:1rem}.sidebar-foot{padding-top:1rem}.sidebar .minutes{padding:0 .7rem;font-size:.85rem}.profile-text{min-width:0}.profile-text strong{overflow-wrap:anywhere}.profile-text .link{justify-content:flex-start}.notice{padding:1rem 1.2rem;border:1px solid var(--line);background:var(--accent-soft);border-radius:14px;margin:1rem 0}.field{display:grid;gap:.5rem;min-width:0}.field label,.name-setting label{font-weight:600;margin:0}.field input,.field textarea{width:100%;margin:0}.support-page{max-width:850px}.support-form{display:grid;gap:1.4rem;width:100%;max-width:800px;padding:clamp(1.2rem,3vw,2rem);margin:1.8rem 0;border:1px solid var(--line);border-radius:20px;background:var(--card)}.support-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}.support-actions button{min-height:46px}.support-history-title{margin:2rem 0 .8rem}.empty-history{padding:1.2rem 0}.settings-page{max-width:980px}.settings-section{border:1px solid var(--line);background:var(--card);border-radius:20px;padding:clamp(1.1rem,2.5vw,1.8rem);margin:1.2rem 0;display:grid;gap:1.2rem}.feature-emblem{display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);width:60px;height:60px;border-radius:20px;flex:none}.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.theme-option{display:grid;justify-content:stretch;text-align:left;position:relative;padding:.7rem;gap:.35rem;border-radius:14px}.theme-option strong{margin-top:.35rem}.theme-option small{color:var(--muted);font-size:.8rem}.theme-option[aria-pressed=true],.size-options button[aria-pressed=true],.icon-options button[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}.theme-option>.icon{position:absolute;right:.8rem;bottom:2.1rem;color:var(--accent)}.theme-mini{height:80px;display:grid;grid-template-columns:27% 1fr;border:1px solid #ddd;border-radius:8px;overflow:hidden;background:#fcfbf8;gap:10px}.theme-mini>span:first-child{background:#eae8e1}.theme-mini>span:last-child{padding:15px 10px 10px 0;display:grid;gap:6px}.theme-mini i{border-radius:3px;background:#dedbd4;height:7px}.theme-mini i:first-child{width:65%;background:#9d8bdf}.theme-preview-night .theme-mini{background:#141820;border-color:#394251}.theme-preview-night .theme-mini>span:first-child{background:#252c38}.theme-preview-night .theme-mini i{background:#3b4555}.theme-preview-mint .theme-mini{background:#f4f9f6;border-color:#d8e5dc}.theme-preview-mint .theme-mini>span:first-child{background:#dfede3}.theme-preview-mint .theme-mini i{background:#c9ded1}.setting-line{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1.2rem}.swatches,.icon-options,.size-options{display:flex;gap:.6rem;flex-wrap:wrap}.swatch{width:36px;height:36px;padding:0;border-radius:50%;border:3px solid var(--card);outline:1px solid var(--line);color:#fff}.swatch:hover{filter:brightness(.92)}.swatch[aria-pressed=true]{outline:2px solid var(--ink);outline-offset:2px}.swatch-violet,.swatch-violet:hover{background:#7553d8}.swatch-blue,.swatch-blue:hover{background:#2474a6}.swatch-green,.swatch-green:hover{background:#28745b}.swatch-rose,.swatch-rose:hover{background:#ae4b6a}.swatch-amber,.swatch-amber:hover{background:#91601c}.swatch-slate,.swatch-slate:hover{background:#5e6b7f}.size-options button{min-height:42px}.reading-sample{font-size:1.2rem;padding:1rem;background:var(--page);border-radius:12px}.name-setting{display:grid;gap:.6rem}.name-setting input{min-width:0;flex:1}.name-setting .row{flex-wrap:nowrap}.folder-badge{display:inline-flex;align-items:center;justify-content:center;padding:.4rem;border-radius:10px;flex:none;background:var(--accent-soft)}.folder-color-violet{color:var(--folder-violet);background:#eee7fc}.folder-color-blue{color:var(--folder-blue);background:#e1effc}.folder-color-green{color:var(--folder-green);background:#e3f2e8}.folder-color-rose{color:var(--folder-rose);background:#fbe7ee}.folder-color-amber{color:var(--folder-amber);background:#f9edd5}.folder-color-slate{color:var(--folder-slate);background:#e9edf3}:root[data-theme=night]{--folder-violet:#c1acff;--folder-blue:#8fc8f0;--folder-green:#8bd6ac;--folder-rose:#f0a4bf;--folder-amber:#edc17f;--folder-slate:#b5c4da}:root[data-theme=night] .folder-badge{background:color-mix(in srgb,currentColor 14%,var(--card))}.nav button{padding:.45rem .65rem}.folder-art{padding:0;background:transparent}.folder-art .folder-badge{padding:1rem;border-radius:16px}.folder-customize{position:relative}.folder-customize summary{cursor:pointer;display:flex;align-items:center;gap:.4rem;padding:.5rem;color:var(--accent-hover);font-size:.9rem}.folder-customize-panel{position:absolute;z-index:25;right:0;width:min(330px,80vw);padding:1.2rem;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 36px #0002;background:var(--card);display:grid;gap:1rem}.folder-customize fieldset{border:0;margin:0;padding:0;min-width:0}.folder-customize legend{margin-bottom:.7rem;font-weight:600;font-size:.9rem}.icon-options button{padding:.5rem;width:40px;height:40px}.folder-list>li{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.folder-list>li>button{flex:1;min-width:0}.billing-page{max-width:1160px;margin:auto}.billing-hero{padding:1.3rem 0 1.7rem}.billing-hero h1{font-size:clamp(2rem,3.7vw,3.3rem)}.billing-hero h1 span{color:var(--accent)}.eyebrow{font-size:.75rem;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:var(--accent-hover);margin:0 0 .7rem}.pilot-notice{display:flex;gap:.8rem;align-items:flex-start;padding:1rem 1.2rem;border:1px solid var(--line);border-radius:14px;background:var(--card);font-size:.85rem;margin-bottom:1.2rem}.pilot-notice>.icon{margin-top:.2rem;color:var(--accent)}.pilot-notice p{margin:.2rem 0 0;color:var(--muted)}.balance-strip{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:1.4rem;padding:1.5rem 1.7rem;background:var(--accent-soft);border:1px solid var(--line);border-radius:20px;margin-bottom:2rem}.balance-strip>div{display:grid;gap:.5rem}.balance-strip .hint{font-size:.8rem}.balance-strip strong{font-size:2rem;line-height:1.2}.balance-strip small{font-size:.9rem;font-weight:500}.balance-explainer{display:flex!important;align-items:center;color:var(--muted);font-size:.85rem;border-left:1px solid var(--line);padding-left:1.3rem}.balance-explainer .icon{color:var(--accent)}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:stretch}.plan-card{display:flex;flex-direction:column;gap:.8rem;padding:1.4rem;background:var(--card);border:1px solid var(--line);border-radius:22px;min-width:0}.plan-card.featured{border:2px solid var(--accent);padding:calc(1.4rem - 1px);box-shadow:0 8px 35px #674fe60c;background:var(--accent-soft)}.plan-top{display:flex;justify-content:space-between;align-items:center;gap:.4rem;min-height:50px}.plan-icon{width:48px;height:48px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border-radius:15px;flex:none}.plan-badge{font-size:.65rem;line-height:1.3;color:var(--accent-hover);font-weight:650;text-align:right}.plan-card h3{font-size:1.5rem}.plan-description{font-size:.85rem;min-height:2.7em;margin:0}.plan-price{font-size:2.5rem;font-weight:750;letter-spacing:-.05em;margin:.4rem 0 0;line-height:1.2}.plan-price small{display:block;font-size:.8rem;font-weight:400;color:var(--muted);letter-spacing:0;margin-top:.3rem}.plan-credits{font-size:1.15rem;font-weight:650;margin:0}.plan-value{color:var(--accent-hover);font-size:.75rem;margin:0;min-height:3em}.plan-features{list-style:none;display:grid;gap:.6rem;padding:0;margin:1rem 0;font-size:.8rem}.plan-features li{display:flex;gap:.5rem;align-items:flex-start}.plan-features .icon{color:var(--ok);margin-top:.15rem}.plan-card>button{width:100%;margin-top:auto;min-height:48px;padding:.6rem;font-size:.85rem}.plan-card>small{font-size:.7rem;text-align:center}.cost-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.2rem;margin:2rem 0;padding:1.8rem;background:var(--card);border:1px solid var(--line);border-radius:22px}.cost-section h2{font-size:1.6rem;margin-bottom:.8rem}.cost-section .hint{margin:.6rem 0}.cost-calculator{display:grid;gap:.65rem}.cost-calculator label{font-size:.85rem;font-weight:600;display:flex;justify-content:space-between;gap:1rem}.cost-calculator input{padding:0;accent-color:var(--accent);width:100%}.estimate-result strong{font-size:2rem;color:var(--accent)}.billing-details{border-top:1px solid var(--line);padding:1rem .25rem}.billing-details summary{cursor:pointer;font-weight:600;padding:.5rem 0}.billing-details[open]>summary{margin-bottom:.8rem}.rate-list>div{display:flex;justify-content:space-between;gap:1rem;padding:.6rem 0;border-bottom:1px solid var(--line);font-size:.9rem}.order-list{list-style:none;padding:0}.order-list li{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:1rem;padding:.8rem 0;border-bottom:1px solid var(--line);font-size:.85rem}.order-list small{display:block;font-size:.75rem;margin-top:.2rem}.layer-history{display:grid;grid-template-columns:minmax(190px,.65fr) minmax(0,1.8fr);gap:1.5rem}.history-list{list-style:none;padding:0;margin:0;display:grid;gap:.7rem;align-content:start}.history-list li{padding:.9rem;border:1px solid var(--line);border-radius:12px;display:grid;gap:.4rem}.history-list strong{font-size:.9rem}.history-list small{color:var(--muted);font-size:.8rem}.history-list button{padding:.3rem .5rem;justify-content:flex-start;font-size:.8rem}.history-list li.selected{border-color:var(--accent);background:var(--accent-soft)}.version-reader{min-width:0}.version-reader .layer-text{max-height:none;overflow:visible;font-size:1rem;line-height:1.75}.version-reader h3{margin-bottom:1rem}:root[data-theme=night] .searchbox,:root[data-theme=night] .chip,:root[data-theme=night] .status-pill,:root[data-theme=night] .processing-art,:root[data-theme=night] .menu,:root[data-theme=night] .status{background:var(--card);color:var(--ink)}:root[data-theme=night] .searchbox input{background:transparent}:root[data-theme=night] .check-banner,:root[data-theme=night] .info-card,:root[data-theme=night] .layer-pill,:root[data-theme=night] .reference{color:var(--ink);background:var(--accent-soft)}@media (max-width:1100px){.plan-card{padding:1rem}.plan-card.featured{padding:calc(1rem - 1px)}.plan-top{align-items:flex-start}.plan-price{font-size:2.1rem}.plan-badge{max-width:90px}.balance-strip{grid-template-columns:1fr 1fr}.balance-explainer{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:1rem 0 0}}@media (max-width:760px){.content{padding-top:1rem}.plan-grid{grid-template-columns:1fr;gap:1rem}.plan-card,.plan-card.featured{padding:1.4rem}.plan-top{min-height:40px;align-items:center}.plan-description,.plan-value{min-height:0}.plan-card>button{font-size:1rem}.plan-badge{max-width:none}.cost-section{grid-template-columns:minmax(0,1fr);gap:1rem;padding:1.2rem}.balance-strip{padding:1.1rem;gap:1rem}.balance-strip strong{font-size:1.7rem}.balance-strip small{display:block;font-size:.75rem;margin-top:.3rem}.billing-page .section-head{flex-direction:column;gap:.5rem}.billing-hero{padding:.5rem 0 1.4rem}.theme-grid{gap:.5rem}.theme-option{padding:.5rem}.theme-option small{font-size:.7rem}.theme-mini{height:65px;gap:5px}.theme-option>.icon{display:none}.settings-page .page-head{align-items:center}.settings-page .feature-emblem{width:45px;height:45px}.layer-history{grid-template-columns:1fr}.history-list{grid-template-columns:repeat(2,minmax(0,1fr))}.order-list li{grid-template-columns:1fr auto}.order-list .status{grid-column:1/-1;justify-self:start}.name-setting .row{flex-wrap:wrap}.name-setting input{flex-basis:100%}.folder-customize-panel{position:fixed;right:1rem;left:1rem;bottom:calc(var(--nav-h) + 1rem);width:auto;max-height:65vh;overflow:auto}.support-form{margin-top:1.2rem}.support-actions button{width:100%}.utility-nav{display:none}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}@media (max-width:480px){.theme-grid{grid-template-columns:1fr}.theme-option{grid-template-columns:80px minmax(0,1fr);column-gap:1rem;align-items:center}.theme-option .theme-mini{grid-row:1 / 3}.theme-option strong{align-self:end;margin:0}.theme-option small{align-self:start}.theme-option>.icon{right:.6rem;bottom:.6rem}}.cost-section>div,.cost-calculator{min-width:0}.cost-calculator select{min-width:0;width:100%}.cost-section h2,.rate-list span{overflow-wrap:anywhere}.cost-calculator label{flex-wrap:wrap}:root{--brand-start:#754cff;--brand-end:#2921cd;--brand-ink:#0c103b}.wordmark{display:flex;flex-direction:column;align-items:flex-start;gap:.7rem;width:260px;max-width:100%;min-width:0}.brand-logo{display:block;width:100%;height:auto}.brand-logo-night{display:none}:root[data-theme=night] .brand-logo-day{display:none}:root[data-theme=night] .brand-logo-night{display:block}.login-card .wordmark{width:100%}:root:not([data-accent]),:root[data-accent=violet]{--accent:#6040ed;--accent-hover:#4e2ed3;--accent-soft:#f1edff;--accent-active:#e4dbff;--busy:#6040ed}:root[data-theme=night][data-accent=violet]{--accent:#b49aff;--accent-hover:#cdbbff;--accent-soft:#2c2542;--accent-active:#3d315d;--busy:#b49aff}@media (max-width:800px){.sidebar .wordmark{width:230px}}.login-card{max-width:460px}.folder-art .folder-badge{width:100%;height:100%;padding:0;border-radius:14px}.folder-badge{line-height:0}.folder-card{min-width:0}.folder-card-text strong,.folder-entry-text{overflow-wrap:anywhere}.folder-list>li{display:block;margin:0;border:1px solid var(--line);border-radius:18px;background:var(--card);min-width:0}.folder-list>li>.folder-open{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;gap:1rem;width:100%;border:0;background:transparent;margin:0;text-align:left}.folder-entry-text{min-width:0;display:grid;gap:.25rem}.folder-entry-text strong{font-weight:600}.folder-entry-text small{font-size:.8rem}.folder-entry-actions{border-top:1px solid var(--line);padding:.35rem .6rem;display:flex;justify-content:flex-end}.folder-customize-trigger{width:auto;min-height:44px;border:0;background:transparent;color:var(--accent-hover);padding:.5rem .6rem;font-size:.85rem}.folder-actions{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.material-section-head{align-items:center;gap:1rem;flex-wrap:wrap}.material-section-head h2{flex:1 1 200px}.dialog .folder-customize-panel{position:static;width:auto;max-height:none;padding:.5rem 0 0;border:0;border-radius:0;box-shadow:none;overflow:visible;display:grid;gap:1.5rem;background:transparent}.folder-customize-panel fieldset{border:0;padding:0;margin:0;min-width:0}.folder-customize-panel legend{margin-bottom:.8rem;font-weight:600}.folder-customize-panel .swatches{gap:6px;padding:3px}.swatches .swatch{flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;aspect-ratio:1;padding:0;border-radius:50%}.icon-options button{width:44px;height:44px;padding:.5rem;flex:0 0 44px}.palette-done{min-height:48px;width:100%}.overlay{z-index:100;overscroll-behavior:contain}.dialog{max-height:calc(100dvh - 2rem);overscroll-behavior:contain}.dialog-head{align-items:flex-start;gap:1rem}.dialog-head h2{overflow-wrap:anywhere;min-width:0}.dialog-head .icon-btn{min-width:44px;min-height:44px;margin-top:-.5rem;margin-right:-.5rem}.row-icon{width:44px;height:48px;color:var(--accent-hover);background:var(--accent-soft);border:1px solid var(--line);border-radius:12px}.row-title{gap:.25rem}.row-title>.hint{font-size:.8rem}.status-marker{width:21px;height:21px;border-radius:50%;display:inline-grid;place-items:center;flex:none}.status-done .status-marker{background:var(--ok);color:var(--card)}.status-failed .status-marker{background:var(--warn);color:var(--card)}.status-busy .status-marker{background:var(--accent-soft)}.status-progress{width:16px;height:16px;border:2px solid var(--accent-active);border-top-color:var(--busy);border-radius:50%;animation:spin .9s linear infinite}.profile-screen{padding-top:.5rem}.profile-card{display:flex;align-items:center;gap:1rem;padding:1.3rem;border:1px solid var(--line);border-radius:18px;background:var(--card);margin:1.2rem 0}.profile-card .avatar{width:56px;height:56px;flex:none;font-size:1.3rem}.profile-card>div{min-width:0;overflow-wrap:anywhere}.profile-card strong{font-size:1.15rem}.profile-card .minutes{font-size:.85rem;margin:.4rem 0 0}.profile-actions{display:grid;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--card)}.profile-actions button{display:grid;grid-template-columns:22px minmax(0,1fr) 17px;gap:.8rem;text-align:left;border:0;border-radius:0;padding:1rem;min-height:58px}.profile-actions button+button{border-top:1px solid var(--line)}.profile-actions button>span{overflow-wrap:anywhere}.profile-actions button>.icon:first-child{color:var(--accent)}.profile-logout{margin-top:1.2rem;min-height:46px;color:var(--bad);background:transparent}.export-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem;min-width:0}.export-controls select{min-width:0;width:100%}.head-actions{min-width:0}.lecture-head>div:first-child{min-width:0}@media (min-width:801px){.lecture-head{flex-wrap:wrap}.lecture-head>div:first-child{flex:1 1 380px}.head-actions{flex:0 0 auto;max-width:100%}.export-controls{grid-template-columns:minmax(10rem,1fr) auto;flex:none}}.lecture,.lecture-body,.paper,.version-reader,.transcript-list li,.transcript-list p{min-width:0}.transcript-list p,.layer-text,.fragment blockquote,.paper textarea{overflow-wrap:anywhere}.transcript-list li{grid-template-columns:max-content minmax(0,1fr)}.transcript-toolbar{display:flex;justify-content:flex-end;margin-bottom:1rem}.transcript-toolbar:empty{display:none}.player-dock{position:fixed;bottom:calc(.75rem + env(safe-area-inset-bottom));left:calc(320px + 2rem);right:2rem;max-width:1180px;margin-inline:auto;z-index:40}.player-dock>.player{position:static;box-shadow:0 8px 30px #15102f26;width:100%}.player-dock .seek{width:0;min-width:20px}.player-dock .play{width:44px;height:44px;min-width:44px}.lecture{padding-bottom:7rem}.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.3rem 0}.admin-stats .card{margin:0;min-width:0}.admin-stats .hint{font-size:.85rem;overflow-wrap:anywhere}.admin .admin-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem}.admin-tabs button{padding:.6rem .5rem;min-height:44px;font-size:.85rem}.admin .table-scroll{max-width:100%;min-width:0}.pricing-reason{max-width:600px;margin:1.2rem 0}.pricing-settings{display:grid;gap:1rem}.pricing-setting{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr);align-items:center;gap:1.5rem;padding:1.2rem;border:1px solid var(--line);border-radius:16px;background:var(--card)}.pricing-setting h3{font-size:1rem;letter-spacing:0;overflow-wrap:anywhere}.pricing-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:end}.pricing-controls .field{font-size:.85rem}.pricing-controls input{width:100%;min-width:0}.pricing-controls button{min-height:44px;font-size:.85rem}@media (max-width:980px){.player-dock{left:calc(250px + 1rem);right:1rem}}@media (max-width:800px){.shell{min-height:100vh;min-height:100dvh;grid-template-rows:auto 1fr;align-content:start;padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom))}.shell.immersive{grid-template-rows:1fr;padding-bottom:0}.sidebar{padding:1.25rem 1rem .7rem;align-items:center;gap:0;overflow:visible}.sidebar .wordmark{width:min(320px,88%);margin-inline:auto}.content{align-self:start;padding:1rem 1rem 1.5rem;min-width:0}.content>div>h1{padding-top:0}.library{padding-bottom:5.5rem}.library .page-head{margin-bottom:1.3rem}.page-head>div{min-width:0}.page-head .big{bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + .75rem);min-height:50px}.bottom-nav{height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.bottom-nav button{min-width:0;font-size:.75rem}.folder-cards{gap:.75rem}.folder-card{display:grid;grid-template-columns:minmax(0,1fr) 18px;grid-template-rows:auto 1fr;padding:1rem;gap:.9rem .5rem;align-items:start}.folder-art{width:46px;height:46px;grid-column:1;grid-row:1}.folder-card>.icon{display:block;grid-column:2;grid-row:1;align-self:center}.folder-card-text{grid-column:1/-1;grid-row:2;gap:.35rem}.folder-card-text strong{font-size:.95rem;font-weight:650}.folder-card-text .hint{font-size:.75rem}.material-section-head{display:grid;grid-template-columns:minmax(0,1fr);gap:.7rem;margin-top:1.5rem}.material-section-head h2{font-size:1.2rem}.folder-actions{justify-content:space-between;gap:.5rem}.folder-actions button{font-size:.8rem}.table{display:grid;gap:.65rem;background:transparent}.table-row{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:.35rem .4rem;padding:.8rem;border:1px solid var(--line)!important;border-radius:16px;background:var(--card)}.row-main{grid-column:1;grid-row:1;gap:.75rem;padding:0;align-items:center}.row-title strong{white-space:normal;overflow-wrap:anywhere;font-size:.95rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.row-icon{width:40px;height:46px;border-radius:11px}.row-status{grid-column:1;grid-row:2;padding-left:calc(40px + .75rem);font-size:.75rem}.status-marker{width:18px;height:18px}.status-pill{gap:.4rem}.row-menu{grid-column:2;grid-row:1/3;align-self:center}.row-menu>.icon-btn{min-width:36px;min-height:44px;padding:0}.menu{min-width:min(240px,calc(100vw - 3rem));max-width:calc(100vw - 3rem)}.menu button{min-height:44px;overflow-wrap:anywhere}.folders-screen .folder-list{gap:1rem;margin:1.2rem 0}.folder-entry-actions{justify-content:flex-start}.folders-screen h1,.profile-screen h1{font-size:1.8rem}.profile-logout{width:100%}.lecture-head{margin-top:.8rem;gap:1rem}.title-row{gap:.65rem}.title-row h1{width:100%;font-size:1.8rem}.lecture-head .lead{font-size:.85rem}.head-actions{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:.5rem;width:100%}.head-actions .menu-wrap>.icon-btn{width:44px;height:44px}.export-controls{grid-template-columns:minmax(0,1fr) 44px}.export-controls select{font-size:.85rem}.export-controls button{width:44px;min-height:44px;padding:0}.download-label{display:none}.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:1rem}.tabs [role=tab]{min-width:0;padding:.7rem .25rem;font-size:.82rem;overflow-wrap:anywhere}.transcript-list li{grid-template-columns:minmax(0,1fr);gap:.55rem}.transcript-list .chip{min-height:36px}.paper{padding:1rem}.paper .note{align-items:flex-start;font-size:.8rem}.check-banner{flex-wrap:wrap}.check-banner>div:nth-child(2){flex-basis:calc(100% - 4rem)}.check-cta{width:100%;align-items:stretch}.player-dock{left:.65rem;right:.65rem;bottom:calc(.65rem + env(safe-area-inset-bottom));margin:0}.player-dock>.player{gap:.5rem;padding:.65rem;border-radius:18px}.player-dock .player-time{font-size:.75rem}.player-dock .speed{min-width:36px;min-height:40px;padding:.3rem;font-size:.8rem}.player-dock .player-name{display:none}.lecture{padding-bottom:7rem}.admin .admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-tabs button:last-child{grid-column:1/-1}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.admin-stats .card{padding:1rem}.admin-stats .hint{font-size:.75rem}.admin-stats .balance{font-size:1.4rem}.admin .notice{font-size:.85rem}.pricing-setting{grid-template-columns:minmax(0,1fr);gap:1rem;padding:1rem}.pricing-controls{grid-template-columns:minmax(0,1fr) auto}.users-table,.users-table tbody{display:block}.users-table thead{display:none}.users-table tr{display:grid;padding:1rem;margin:.8rem 0;border:1px solid var(--line);border-radius:16px}.users-table td[data-label]{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:.5rem;padding:.5rem 0;white-space:normal;overflow-wrap:anywhere}.users-table td[data-label]:before{content:attr(data-label);color:var(--muted);font-size:.8rem}.users-table .user-actions{display:flex;gap:.5rem;flex-wrap:wrap;padding:.8rem 0 0;border:0}.user-actions button{font-size:.75rem;padding:.5rem}}@media (max-width:380px){.folder-cards{grid-template-columns:minmax(0,1fr)}.folder-card{grid-template-columns:44px minmax(0,1fr) 18px;grid-template-rows:auto;align-items:center}.folder-card-text{grid-column:2;grid-row:1}.folder-card>.icon{grid-column:3}.player-dock>.player{gap:.35rem;padding:.5rem}.player-dock .player-time{font-size:.67rem}.history-list,.admin-stats{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.status-progress{animation:none}}@media (max-width:380px){.folder-customize-panel .swatches{display:grid;grid-template-columns:repeat(3,44px);justify-content:space-between}}@media (max-width:380px){.users-table td[data-label]{grid-template-columns:minmax(0,1fr);gap:.25rem}}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf) format("truetype")}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fMZg.ttf) format("truetype")}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZg.ttf) format("truetype")}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYMZg.ttf) format("truetype")}@font-face{font-family:"PT Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/EJRVQgYoZZY2vCFuvDFR.ttf) format("truetype")}@font-face{font-family:"PT Serif";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/EJRSQgYoZZY2vCFuvAnt65qV.ttf) format("truetype")}:root{--sans:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;--serif:"PT Serif",Georgia,serif;--muted:#616171}:root[data-theme=night]{--muted:#bdc5d3}.learning-home h1{font-weight:650;letter-spacing:-.035em;font-size:clamp(1.7rem,3vw,2.4rem)}.learning-home h2{font-weight:600;letter-spacing:-.025em}.compact-wordmark{width:225px}.continue-card{display:grid;grid-template-columns:minmax(0,1fr) 145px;align-items:center;gap:1rem;position:relative;padding:1.4rem 1.6rem;border:1px solid var(--line);border-radius:24px;background:linear-gradient(120deg,var(--card),var(--sidebar));box-shadow:0 9px 30px #16162b09,inset 0 1px #fff6;margin:0 0 1rem}.continue-copy{min-width:0;position:relative;z-index:1}.continue-copy h2{font-size:1.5rem;line-height:1.25;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.continue-card .eyebrow{color:var(--muted);font-size:.65rem;letter-spacing:.13em}.continue-snippet{font-size:.85rem;line-height:1.55;margin:.6rem 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.continue-action{display:flex;gap:.75rem;border:0;padding:.5rem 0 0;background:transparent;color:var(--ink);font-size:.9rem;font-weight:600}.continue-action:hover{background:transparent}.continue-play{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(140deg,#825bff,#4e31d4);color:#fff;box-shadow:0 5px 12px #6040ed30;flex:none}.reading-progress{display:block;width:min(220px,100%);height:5px;border:0;border-radius:20px;accent-color:var(--accent);margin:.8rem 0 0}.reading-progress::-webkit-progress-bar{background:var(--line);border-radius:20px}.reading-progress::-webkit-progress-value{background:var(--accent);border-radius:20px}.reading-progress::-moz-progress-bar{background:var(--accent);border-radius:20px}.learning-art{display:block;width:140px;height:135px;position:relative;perspective:450px;pointer-events:none;overflow:clip}.art-shadow{position:absolute;width:110px;height:26px;background:#25223835;filter:blur(12px);border-radius:50%;bottom:9px;left:12px;transform:rotate(-12deg)}.art-sheet{position:absolute;width:87px;height:108px;border-radius:17px;transform:rotateY(-23deg) rotate(-12deg);border:1px solid #ffffffd9;background:linear-gradient(130deg,#ffffffeb,#d8d9e4ad 48%,#aaaebd99);box-shadow:inset 3px 2px 5px #fff,inset -5px -3px 10px #55566c33,6px 10px 16px #35354a20}.back-sheet{left:21px;top:6px;transform:rotateY(-25deg) rotate(-25deg);opacity:.8}.front-sheet{left:44px;top:19px;display:grid;place-items:center;color:#655a94}.art-glint{position:absolute;top:22px;right:9px;width:6px;height:57px;border-radius:10px;background:linear-gradient(#ffffffc9,#fff0);transform:rotate(-12deg)}.art-book .front-sheet{color:var(--accent-hover)}.art-folder .front-sheet{height:75px;top:32px}:root[data-theme=night] .art-sheet{background:linear-gradient(130deg,#e7e7f4bb,#72778899 48%,#3b3e4bba);border-color:#e3e5ff77;box-shadow:inset 2px 2px 4px #fff8,inset -5px -3px 10px #0004,6px 10px 16px #0005;color:#eeeaff}.quick-quiz{width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) 20px;gap:.8rem;align-items:center;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:.85rem 1.1rem;margin-bottom:1.6rem;box-shadow:0 5px 14px #15152a05}.quick-quiz strong,.quick-quiz small{display:block}.quick-quiz strong{font-weight:600}.quick-quiz small{font-size:.8rem;color:var(--muted);margin-top:.15rem}.quiz-emblem{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,var(--card),var(--accent-active));color:var(--accent-hover);box-shadow:inset 0 1px #fff8,0 4px 9px #15152a0a}.subject-tile{min-width:0;position:relative}.subject-tile .folder-card{width:100%;height:100%;padding-right:2.7rem}.pin-button{position:absolute;top:3px;right:3px;width:44px;height:44px;border:0;padding:0;color:var(--muted);background:transparent}.pin-button[aria-pressed=true]{color:var(--accent-hover);background:var(--accent-soft);border-radius:50%}.learning-home .folder-card>.icon{display:none}.learning-home .folder-art{width:46px;height:50px;position:relative;filter:drop-shadow(0 4px 4px #26223614);transform:perspective(200px) rotateY(-10deg)}.learning-home .folder-badge{background:linear-gradient(140deg,var(--card),var(--accent-active));border:1px solid var(--line);box-shadow:inset 1px 1px 3px #fff9,inset -2px -2px 5px #0000000c}.learning-home .folder-badge.folder-color-blue{background:linear-gradient(140deg,var(--card),#d2e7f3)}.learning-home .folder-badge.folder-color-green{background:linear-gradient(140deg,var(--card),#d2e9de)}.learning-home .folder-badge.folder-color-rose{background:linear-gradient(140deg,var(--card),#f4dae4)}.learning-home .folder-badge.folder-color-amber{background:linear-gradient(140deg,var(--card),#f5e5c9)}.learning-home .folder-badge.folder-color-slate{background:linear-gradient(140deg,var(--card),#dce0e8)}:root[data-theme=night] .learning-home .folder-badge{background:linear-gradient(140deg,#555964,#242936);color:#d7caff}.row-snippet{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:var(--muted);font-size:.78rem;font-weight:400;line-height:1.5}.snippet-label{color:var(--ink)}.learning-home .row-metadata{display:none}.record-details{margin-bottom:1rem;font-size:.8rem}.record-details summary{color:var(--muted);cursor:pointer;padding:.4rem 0}.record-details p{overflow-wrap:anywhere}.paper .notes h3,.paper .version-reader h3{font-family:var(--serif);letter-spacing:0}button{transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease}.continue-action:active .continue-play,.subject-tile .folder-card:active,.quick-quiz:active{transform:scale(.98)}@media (hover:hover){.continue-card:hover{box-shadow:0 12px 32px #16162b12}.subject-tile .folder-card:hover{box-shadow:0 6px 16px #16162b0c}}@media (max-width:800px){.sidebar{padding:.9rem 1rem .3rem}.sidebar .compact-wordmark{width:210px}.learning-home .page-head{margin:.2rem 0 1rem}.learning-home .page-head .lead{display:none}.learning-home .topbar{padding-bottom:0;margin-bottom:1rem}.learning-home.is-home{display:flex;flex-direction:column}.learning-home.is-home>.page-head{order:-1}.learning-home.is-home>.topbar{margin-bottom:1rem}.continue-card{grid-template-columns:minmax(0,1fr) 95px;gap:0;padding:1rem;border-radius:21px}.continue-card .learning-art{width:140px;height:135px;transform:scale(.68);transform-origin:left center}.continue-copy h2{font-size:1.2rem}.continue-card .hint,.continue-snippet{font-size:.75rem}.continue-action{font-size:.8rem;gap:.55rem}.continue-action>.icon{display:none}.quick-quiz{margin-bottom:1.1rem;padding:.75rem;font-size:.9rem}.learning-home .folder-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.subject-tile .folder-card{display:grid;grid-template-columns:37px minmax(0,1fr);align-items:center;gap:.5rem;padding:.7rem;min-height:105px;border-radius:18px}.learning-home .folder-art{width:37px;height:43px;flex:none}.learning-home .folder-art .icon{width:21px;height:21px}.learning-home .folder-card-text{min-width:0;grid-column:1/-1}.learning-home .folder-card-text strong{font-size:.9rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.learning-home .folder-card-text .hint{font-size:.75rem}.pin-button{width:44px;height:44px;top:0;right:0}.learning-home .section-head{margin:1rem 0 .7rem;gap:.5rem}.learning-home .section-head h2{font-size:1.1rem}.learning-home .section-head .link{font-size:.8rem;min-height:40px}.learning-home .row-main{align-items:flex-start}.learning-home .row-metadata{display:block;font-size:.75rem;line-height:1.5}.row-snippet{font-size:.73rem;-webkit-line-clamp:2}.learning-home .row-title strong{font-weight:600;font-size:.86rem}.learning-home .row-icon{background:linear-gradient(140deg,var(--card),var(--accent-soft));box-shadow:inset 0 1px #fff8,0 3px 6px #16162b08}.learning-home{padding-bottom:7.5rem}.learning-home .page-head .big{border:9px solid var(--page);outline:1px solid var(--line);border-radius:24px;left:.5rem;right:.5rem;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + .25rem);min-height:66px;width:calc(100% - 1rem);box-shadow:0 10px 0 var(--page);font-size:.95rem}.bottom-nav{border-radius:20px 20px 0 0;box-shadow:0 -5px 18px #16162b06}}@media (max-width:380px){.learning-home .folder-cards{grid-template-columns:minmax(0,1fr)}.subject-tile .folder-card{min-height:76px;padding-right:2.8rem}.learning-home .folder-card-text{grid-column:2;grid-row:1}.continue-card{grid-template-columns:minmax(0,1fr) 72px}.continue-card .learning-art{transform:scale(.51)}.continue-copy h2{font-size:1.1rem}}@media (prefers-reduced-motion:reduce){button{transition:none}.continue-action:active .continue-play,.subject-tile .folder-card:active,.quick-quiz:active{transform:none}}button.icon-btn{color:var(--muted)}.continue-tools{position:absolute;z-index:3;top:.55rem;right:.65rem}.continue-card .continue-copy>.eyebrow{padding-right:2rem}.continue-tools .icon-btn{width:44px;height:44px}.record-actions{display:grid;gap:.4rem;margin-top:1rem}.record-actions button{min-height:46px;text-align:left;justify-content:flex-start;overflow-wrap:anywhere}.record-actions .menu-label{color:var(--muted);margin-top:.5rem}:root[data-theme=night] .learning-home .folder-color-blue{color:#94c9f0}:root[data-theme=night] .learning-home .folder-color-green{color:#a6dabf}:root[data-theme=night] .learning-home .folder-color-rose{color:#f0b9cf}:root[data-theme=night] .learning-home .folder-color-amber{color:#e6c481}:root[data-theme=night] .learning-home .folder-color-slate{color:#c1ccdd}
