:root{--paper:#f6f1e9;--panel:#fffdfa;--ink:#25332e;--muted:#748078;--line:#e6e2d9;--green:#2f6c5b;--mint:#dce9e2;--coral:#ef6c5a;--cream:#fffaf2}*{box-sizing:border-box}html,body{height:100%;overflow:hidden}body{margin:0;min-width:320px;background:#e8e6df;color:var(--ink);font-family:DM Sans,sans-serif}button,input{font:inherit}button{cursor:pointer}.app-shell{height:100dvh;min-height:0;padding:18px;overflow:hidden}.topbar{height:58px;max-width:1520px;margin:0 auto 12px;padding:0 12px 0 4px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-family:Fraunces,serif;font-size:28px;letter-spacing:-1.4px}.brand-mark{display:grid;place-items:center;width:32px;height:32px;color:var(--cream);background:var(--ink);border-radius:10px 10px 10px 3px;font-size:20px}.lesson-title{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;font-weight:600}.live-dot{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 0 5px #2f6c5b1a}.topbar-actions{display:flex;gap:8px;align-items:center}.icon-button,.avatar,.tool-button,.mini-nav{border:1px solid var(--line);background:#ffffff9e;color:var(--ink)}.icon-button{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;font-size:0}.icon-button:after{content:"";width:20px;height:20px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325332e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v11m0 0 4-4m-4 4-4-4M5 15v4h14v-4'/%3E%3C/svg%3E")}.avatar{width:36px;height:36px;border-radius:50%;background:#c6ded4;border:0;font-size:11px;font-weight:700}.classroom{max-width:1520px;height:calc(100dvh - 106px);min-height:0;margin:auto;display:grid;grid-template-columns:minmax(0,7fr) minmax(330px,3fr);overflow:hidden;border-radius:22px;box-shadow:0 16px 55px #45514918}.board-panel{position:relative;overflow:hidden;display:flex;flex-direction:column;min-width:0;background:var(--paper);border:1px solid #e2ddd3;border-right:0;border-radius:22px 0 0 22px}.board-panel:before{content:"";position:absolute;inset:0;opacity:.42;pointer-events:none;background-image:linear-gradient(#e6e0d6 1px,transparent 1px),linear-gradient(90deg,#e6e0d6 1px,transparent 1px);background-size:31px 31px;-webkit-mask-image:linear-gradient(to bottom,black,transparent 88%);mask-image:linear-gradient(to bottom,black,transparent 88%)}.board-toolbar{z-index:1;position:absolute;top:26px;left:26px;display:flex;flex-direction:column;gap:6px;padding:7px;border:1px solid #e1ddd5;border-radius:14px;background:#fffdfae8;box-shadow:0 8px 20px #43554c0b}.tool-button{width:34px;height:34px;border:0;border-radius:9px;font-size:17px}.tool-button.active{background:var(--ink);color:#fff}.tool-button[data-tool=pen].active{background:var(--pen-color, var(--coral))}.color-palette{position:absolute;top:0;left:calc(100% + 10px);display:flex;align-items:center;gap:8px;width:max-content;padding:9px 11px;border:1px solid #e1ddd5;border-radius:12px;background:#fffdfae8;box-shadow:0 8px 20px #43554c0b;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-4px);transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s}.color-palette.visible{opacity:1;visibility:visible;pointer-events:auto;transform:translate(0);transition:opacity .18s ease,transform .18s ease}.color-dot{position:relative;width:14px;height:14px;padding:0;border:0;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #fff,0 0 0 2px #d9d6ce}.color-dot:after{content:"";position:absolute;top:calc(100% + 6px);left:1px;width:12px;height:2px;border-radius:2px;background:transparent}.color-dot.selected:after{background:var(--ink)}.eraser-options{position:absolute;top:0;left:calc(100% + 10px);display:flex;gap:4px;padding:6px;border:1px solid #e1ddd5;border-radius:10px;background:#fffdfae8;box-shadow:0 8px 20px #43554c0b}.eraser-options button{border:0;border-radius:6px;background:transparent;padding:5px 7px;color:#657168;font-size:10px;font-weight:700}.eraser-options button.selected{background:#e6f1ec;color:var(--green)}.eraser-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.board-status{z-index:1;position:absolute;top:27px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #dfebe5;border-radius:99px;background:#fffcf8d9;color:var(--green);font-size:12px;font-weight:700;white-space:nowrap}.status-spark{color:var(--green)}.sound-bars{display:flex;align-items:center;gap:2px;height:13px}.sound-bars i{display:block;width:2px;border-radius:5px;background:var(--green);animation:wave 1s ease-in-out infinite}.sound-bars i:nth-child(1){height:5px}.sound-bars i:nth-child(2){height:11px;animation-delay:.15s}.sound-bars i:nth-child(3){height:7px;animation-delay:.3s}.sound-bars i:nth-child(4){height:10px;animation-delay:.45s}@keyframes wave{50%{transform:scaleY(.4)}}.board-content{position:relative;z-index:0;width:min(760px,78%);margin:auto;padding:70px 0 20px;text-align:center}.lesson-kicker,.eyebrow{color:var(--green);font-family:DM Mono,monospace;font-size:10px;font-weight:500;letter-spacing:.12em}h1{margin:9px 0 10px;font-family:Fraunces,serif;font-size:clamp(38px,4vw,62px);font-weight:500;letter-spacing:-.055em;line-height:1}.board-intro{max-width:500px;margin:0 auto;color:#65726a;font-size:15px;line-height:1.55}.refraction-diagram{width:100%;margin:16px auto 0;overflow:visible;color:var(--coral)}.glass-zone{fill:url(#glass-fill)}.boundary{stroke:#456f62;stroke-width:2.2}.normal-line{stroke:#90a99e;stroke-width:2;stroke-dasharray:7 7}.ray{stroke:currentColor;stroke-width:6;stroke-linecap:round}.refracted{color:#dd704e}.point-of-entry{fill:#25332e;stroke:#fffdfa;stroke-width:3}.angle-arc{fill:none;stroke:#d8a66d;stroke-width:2.2}.diagram-label rect{fill:#fffdfa;stroke:#dcd6ca}.diagram-label text{fill:#536159;font:500 14px DM Sans;text-anchor:middle}.plain-label{fill:#768379;font:500 13px DM Sans}.ray-label{fill:#d1644f}.angle-label{fill:#bd8547;font:italic 18px Fraunces}.hint-card{width:fit-content;max-width:100%;display:flex;align-items:center;gap:9px;margin:3px auto 0;padding:8px 12px;border:1px solid #e4ded2;border-radius:12px;background:#fffcf8b5;color:#728077;font-size:12px;text-align:left}.hint-card p{margin:0}.hint-card span{color:var(--green);font-size:15px}.board-footer{z-index:5;position:absolute;right:0;bottom:18px;left:0;display:flex;align-items:center;justify-content:space-between;padding:0 25px;color:#919991;font:11px DM Mono,monospace;pointer-events:none}.board-page-nav{display:flex;gap:7px;pointer-events:auto}.mini-nav{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;font-size:15px}.mini-nav:disabled{opacity:.35;cursor:default}.notebook-panel{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--panel);border:1px solid #e2ddd3;border-radius:0 22px 22px 0}.notebook-header{display:flex;align-items:flex-start;justify-content:space-between;padding:27px 25px 16px}.notebook-header h2{margin:7px 0 0;font-family:Fraunces,serif;font-size:25px;font-weight:500;letter-spacing:-.035em;line-height:1.08}.notebook-menu{border:0;background:transparent;color:#7f8981;font-size:14px;letter-spacing:1px}.notebook-menu:after{display:none}.lesson-progress{display:flex;gap:5px;padding:0 25px 18px}.lesson-progress span{height:4px;flex:1;border-radius:4px;background:#e7e7e0}.lesson-progress .progress-active{background:var(--coral)}.notebook-section{margin:0 25px;padding:17px 0;border-top:1px solid var(--line)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading h3{margin:0;color:#536159;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.notebook-section>p{margin:10px 0 0;color:#546158;font-size:14px;line-height:1.55}.note-state{color:#a1aaa2;font:10px DM Mono,monospace}.text-button{border:0;background:transparent;padding:0;color:var(--green);font-size:11px;font-weight:700}.quote-note{display:flex;gap:8px;margin-top:13px;padding:11px 12px;background:#f3f7f3;border-radius:10px}.quote-note span{color:#7ea494;font:30px/22px Fraunces}.quote-note p{margin:0;color:#58675d;font-size:12px;line-height:1.45}.key-idea{border-top:0;padding-top:6px}.suggestion{width:100%;display:flex;justify-content:space-between;gap:10px;margin-top:8px;padding:10px 11px;border:1px solid #e7e3db;border-radius:9px;background:transparent;color:#58655d;font-size:12px;text-align:left}.suggestion span{color:var(--green)}.small-count{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#edf4f0;color:var(--green);font-size:10px;font-weight:700}.controls-dock{margin-top:auto;padding:14px 18px 17px;border-top:1px solid var(--line);background:#fdfaf5}.now-speaking{display:flex;align-items:center;gap:7px;margin:0 4px 10px;color:#657168;font-size:11px;font-weight:600}.speaker-icon{color:var(--coral);font-size:16px}.now-speaking .text-button{margin-left:auto}.voice-prompt{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid #d6e4dc;border-radius:13px;background:#f3f8f5}.voice-prompt>div{display:grid;gap:2px;min-width:0}.voice-prompt strong{color:var(--ink);font-size:12px}.voice-prompt span{color:#758178;font-size:10px}.mic-button{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border:0;border-radius:11px;background:var(--green);color:#fff;font-size:19px;box-shadow:0 4px 10px #2f6c5b2b}.mic-button.listening{background:var(--coral);animation:pulse 1.1s infinite}@keyframes pulse{50%{box-shadow:0 0 0 6px #ef6c5a25}}.type-toggle,.voice-toggle{border:0;background:transparent;padding:3px;color:var(--green);font-size:10px;font-weight:700;white-space:nowrap}.type-toggle{margin-left:auto}.question-form{display:flex;align-items:center;gap:7px;padding:6px;border:1px solid #dedbd3;border-radius:13px;background:#fff;box-shadow:0 3px 8px #45514908}.question-form.hidden,.voice-prompt.hidden{display:none}.question-form input{min-width:0;flex:1;border:0;outline:0;color:var(--ink);font-size:12px}.question-form input::placeholder{color:#a1a9a2}.send-button{display:grid;place-items:center;flex:0 0 auto;width:31px;height:31px;border:0;border-radius:9px;background:var(--ink);color:#fff;font-size:18px}.dock-actions{display:flex;align-items:center;justify-content:space-between;margin-top:11px;padding:0 4px}.dock-link{border:0;background:transparent;padding:0;color:#78837b;font-size:11px;font-weight:600}.save-button{border:0;background:transparent;padding:0;color:var(--green);font-size:11px;font-weight:700}.save-button span{font-size:15px;vertical-align:-1px}.toast{position:fixed;z-index:10;bottom:26px;left:50%;transform:translate(-50%,22px);padding:10px 15px;border-radius:10px;background:var(--ink);color:#fff;font-size:13px;opacity:0;pointer-events:none;transition:.25s ease}.toast.show{opacity:1;transform:translate(-50%)}@media(max-width:900px){.app-shell{padding:10px}.topbar{height:48px;margin-bottom:8px}.classroom{height:calc(100dvh - 76px);grid-template-columns:minmax(0,1fr) 315px}.board-content{width:72%}.board-toolbar{left:16px;top:18px}.board-status{top:19px}.notebook-header{padding:22px 19px 14px}.notebook-section{margin:0 19px}.controls-dock{padding:14px}.lesson-progress{padding:0 19px 15px}}@media(min-width:721px)and (max-height:820px){.notebook-header{padding:17px 25px 10px}.notebook-header h2{font-size:22px}.lesson-progress{padding-bottom:10px}.notebook-section{padding:10px 0}.notebook-section>p{margin-top:7px;font-size:12px;line-height:1.4}.quote-note{display:none}.key-idea{padding-top:2px}.suggestion{margin-top:5px;padding:8px 10px;font-size:11px}.controls-dock{padding:10px 18px 12px}.now-speaking{margin-bottom:6px}.dock-actions{margin-top:8px}.board-content{padding-top:57px}.refraction-diagram{max-height:300px}}@media(max-width:720px){html,body{overflow:auto}.app-shell{height:auto;min-height:100dvh;padding:0;overflow:visible}.topbar{padding:0 14px;margin:0;height:58px}.lesson-title{display:none}.classroom{height:auto;min-height:650px;display:block;border-radius:0}.board-panel{height:62dvh;min-height:420px;border-radius:0;border-right:1px solid #e2ddd3}.notebook-panel{min-height:390px;border-radius:0;border-top:0}.board-content{width:76%;padding-top:65px}.board-toolbar{transform:scale(.87);transform-origin:top left}.board-status{font-size:10px;transform:translate(-50%) scale(.9)}h1{font-size:35px}.board-intro{font-size:12px}.refraction-diagram{margin-top:5px}.hint-card{display:none}.board-footer{right:auto;bottom:10px;left:0;padding:0 17px}.notebook-header{padding:13px 17px 8px}.notebook-header h2{font-size:20px}.lesson-progress{padding:0 17px 8px}.notebook-section{display:none}.controls-dock{padding:12px 13px 13px}.now-speaking{margin-bottom:8px}.topbar-actions .icon-button{display:none}}.board-content{transform:translateY(-6px)}.tool-wrap{position:relative;display:flex;width:34px;height:34px;flex:0 0 34px}.tool-wrap--divided{height:40px;flex-basis:40px;padding-top:6px;border-top:1px solid var(--line)}.app-shell{padding-top:10px}.classroom{height:calc(100dvh - 98px)}.tool-button.pen-tool.active{background:var(--pen-color, #ef6c5a)}.generated-board{display:flex;flex-direction:column;width:94%;height:100%;min-height:0;box-sizing:border-box;margin:0 auto;padding:62px 0 clamp(82px,11vh,104px)}.generated-board h1{font-size:clamp(30px,2.7vw,45px);margin:6px 0}.generated-board .board-intro{font-size:13px;line-height:1.35}.generated-diagram{flex:1 1 auto;width:100%;min-height:0;height:auto;margin:2px auto 0;overflow:visible}.generated-text{font:500 2.45px DM Sans}.generated-text.m{font-size:3.35px}.generated-text.l{font:500 4.45px Fraunces}.generated-label{font:500 2.35px DM Sans}.generated-label.centered{text-anchor:middle}.preparing-board{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding-top:20px}.preparing-orbit{position:relative;width:50px;height:50px;margin-bottom:18px;border:1px solid #d6e4dc;border-radius:50%}.preparing-orbit span{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--green);animation:orbit 1.4s ease-in-out infinite}.preparing-orbit span:nth-child(1){top:-4px;left:20px}.preparing-orbit span:nth-child(2){right:-4px;bottom:9px;animation-delay:.22s}.preparing-orbit span:nth-child(3){bottom:-4px;left:9px;animation-delay:.44s}@keyframes orbit{50%{transform:scale(.55);opacity:.4}}.notebook-panel .live-notes{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#aab3ad transparent;scroll-padding-bottom:24px}.notebook-panel .live-notes::-webkit-scrollbar{width:7px}.notebook-panel .live-notes::-webkit-scrollbar-track{background:transparent}.notebook-panel .live-notes::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#aab3ad;background-clip:padding-box}.notebook-panel .live-notes::-webkit-scrollbar-button{display:none}.notebook-panel .live-notes .saved-note{margin-top:10px;padding:9px 10px;background:linear-gradient(90deg,#f4f8f5,transparent);border-left:2px solid #c6ded4;border-radius:0 8px 8px 0}.saved-note strong{display:block;color:#536159;font-size:10px;letter-spacing:.045em;text-transform:uppercase}.saved-note p{margin:5px 0 0}.saved-note.active-note{border-left-color:var(--coral);background:linear-gradient(90deg,#fff3ed,transparent)}.live-transcript,.input-error{margin:7px 4px 0;font-size:10px;line-height:1.4}.live-transcript{color:#657168}.input-error{color:#b44b3e}.stop-listening{color:var(--coral)}.image-picker{display:grid;place-items:center;flex:0 0 auto;width:25px;height:25px;border:1px solid #dce3dd;border-radius:7px;color:var(--green);cursor:pointer}.image-picker svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.image-picker input{display:none}.attachment-list{display:flex;flex-wrap:wrap;gap:5px;margin:7px 4px 0}.attachment-chip{display:flex;align-items:center;gap:5px;max-width:calc(50% - 3px);padding:4px 6px;border:1px solid #d6e4dc;border-radius:8px;background:#f3f8f5;color:#58655d;font-size:10px}.attachment-chip img{width:22px;height:22px;border-radius:4px;object-fit:cover}.attachment-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-chip button{margin-left:auto;border:0;background:transparent;color:#657168;font-size:15px;line-height:1}.object-selection{fill:#ef6c5a0b;stroke:#ef6c5a;stroke-width:.55;stroke-dasharray:1.6 1;pointer-events:none}.selectable-board-text{cursor:pointer}.saved-note{padding-left:9px;border-left:2px solid #d6e4dc}.user-ink-layer{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.user-ink-layer.drawing{pointer-events:auto;touch-action:none;cursor:crosshair}.user-ink-layer.selecting path{pointer-events:stroke;cursor:pointer}.user-ink-layer path{filter:drop-shadow(0 1px .4px #25332e18)}.user-ink-layer path.selected{paint-order:stroke;stroke-width:1.15;filter:drop-shadow(0 0 1px #ef6c5a)}.board-status.idle{color:#728077;border-color:#e5e2da}.welcome-board{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding-top:20px}.welcome-mark{display:grid;place-items:center;width:46px;height:46px;margin-bottom:18px;border-radius:15px 15px 15px 4px;background:var(--ink);color:var(--cream);font:30px Fraunces,serif}.welcome-card{display:flex;align-items:center;gap:9px;max-width:430px;margin:28px auto 0;padding:11px 14px;border:1px solid #dce7e1;border-radius:12px;background:#fffcf8b5;color:#65726a;font-size:12px;text-align:left}.welcome-card span{color:var(--green);font-size:16px}.welcome-card p{margin:0}.generated-text,.generated-text.l,.generated-label{font-family:Caveat,Segoe Print,cursive;font-weight:600}.generated-text{letter-spacing:.08px;font-size:2.75px}.generated-text.m{font-size:3.75px}.generated-text.l{font-size:5px}.generated-label{font-size:2.65px}.generated-notes .generated-text.m,.handwritten-equation .generated-text{font-weight:700}.lesson-transcript{margin-top:20px;padding-top:14px;border-top:1px solid var(--line)}.lesson-transcript h3{margin:0;color:#536159;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.lesson-transcript p{margin:10px 0 0;color:#667269;font-size:12px;line-height:1.5}.board-caption{position:absolute;z-index:4;right:26px;bottom:57px;left:26px;max-width:900px;margin:auto;padding:10px 18px;border:1px solid #405248;background:#25332ef2;border-radius:12px;color:#fffdf7;font-size:13px;line-height:1.4;text-align:center;box-shadow:0 8px 22px #25332e2b}.board-panel.caption-visible .hint-card{visibility:hidden}.board-content.zoomed{transform:translateY(-6px) scale(1.08);transform-origin:center;transition:transform .18s ease}.profile-overlay{position:fixed;z-index:50;inset:0;display:grid;place-items:center;padding:20px;background:#25332e4d;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.profile-card{width:min(440px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:30px;border:1px solid #d8e4dd;border-radius:22px;background:var(--panel);box-shadow:0 24px 70px #25332e35;text-align:center}.profile-mark{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 17px;border-radius:14px 14px 14px 4px;background:var(--ink);color:var(--cream);font:28px Fraunces,serif}.profile-card h1{margin:8px 0 11px;font-size:31px}.profile-card>p{margin:0 auto 20px;max-width:330px;color:#65726a;font-size:13px;line-height:1.5}.profile-card input{width:100%;padding:12px 13px;border:1px solid #d8e1db;border-radius:10px;outline-color:var(--green);color:var(--ink);font-size:14px}.memory-preview{display:grid;gap:6px;margin-top:14px;padding:13px;border:1px solid #dce7e1;border-radius:11px;background:#f4f8f5;text-align:left}.memory-preview strong{color:var(--green);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.memory-preview span{color:#5f6d64;font-size:11px;line-height:1.35}.memory-preview button{justify-self:start;margin-top:5px;padding:0;border:0;background:transparent;color:#a25346;font-size:10px;font-weight:700}.profile-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}.profile-actions button{border:0;border-radius:9px;padding:9px 13px;background:transparent;color:#657168;font-size:12px;font-weight:700}.profile-actions button[type=submit]{background:var(--green);color:#fff}.profile-actions button:disabled{opacity:.6}.profile-error{display:block;margin-top:10px;color:#b44b3e;font-size:11px}.history-list{display:grid;gap:7px;margin-top:11px;max-height:210px;overflow:auto}.history-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 11px;border:1px solid #e6e2d9;border-radius:9px;background:#fffdfa;color:#536159;font-size:12px;text-align:left}.history-item:hover{border-color:#bfd4ca;background:#f5faf7}.history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item small{flex:0 0 auto;color:#89948d;font:10px DM Mono,monospace}.coach-next{max-height:190px;overflow:auto}.classroom.board-focused{position:fixed;z-index:20;inset:0;max-width:none;width:100%;height:100dvh;border-radius:0;grid-template-columns:1fr}.classroom.board-focused .notebook-panel{display:none}.classroom.board-focused .board-panel{border-radius:0;border-right:1px solid #e2ddd3}.classroom.board-focused .board-content{width:96%}.app-shell{-webkit-user-select:none;user-select:none}.board-content,.notebook-section{-webkit-user-select:text;user-select:text}.lesson-progress:empty{display:none}.speaker-icon{color:var(--green)}.history-empty{color:#7f8981;font-size:12px}.history-drawer{position:absolute;z-index:12;inset:0;display:flex;flex-direction:column;padding:25px;background:var(--panel);border-radius:0 22px 22px 0;box-shadow:-18px 0 45px #25332e18}.history-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--line)}.history-drawer-header h2{margin:7px 0 0;font-family:Fraunces,serif;font-size:25px;font-weight:500}.history-drawer-header button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:9px;background:#f1eee7;color:#657168;font-size:20px}.history-drawer .history-list{max-height:none;flex:1;align-content:start;grid-auto-rows:min-content;margin-top:16px}.history-drawer .history-item{min-height:46px;padding:12px 13px;background:#fffdfa}.lesson-sources{max-height:150px;overflow:auto}.lesson-sources a{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;color:#48695e;font-size:11px;text-decoration:none}.lesson-sources a span{flex:0 0 auto}.lesson-sources a:hover{text-decoration:underline}@media(max-width:720px){.history-drawer{position:fixed;z-index:30;inset:58px 0 0;border-radius:0;padding:20px}.history-drawer-header h2{font-size:22px}}
