@import "https://fonts.googleapis.com/css2?family=Merriweather:wght@400;500;600&family=Merriweather+Sans:wght@400;500;600&display=swap";:root{color:var(--ink);background:var(--page);--paper:#f7e6c4;--page:#fcf6e9;--raised:#fffaf0;--side:#efdfbe;--ink:#39352d;--muted:#786f5f;--rule:#d7c9ac;--accent:#8e4a35;--selected:#ead3ac;--active-border:#d1bb92;--selection-border:#ad9270;--good:#476343;--good-fill:#e8eddb;--good-border:#a9b79a;--bad:#924b3d;--bad-fill:#f2dfd2;--bad-border:#c7a08d;--track:#d9ceb5;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Merriweather Sans,sans-serif;font-size:13px;font-weight:400;line-height:1.65}:root[data-theme=dark]{--paper:#2b2924;--page:#25241f;--raised:#2d2b25;--side:#211f1b;--ink:#eee1c8;--muted:#baaf9b;--rule:#4b4538;--accent:#d2a181;--selected:#443b2d;--active-border:#746042;--selection-border:#907654;--good:#bed0ab;--good-fill:#303b2b;--good-border:#637452;--bad:#e1ad98;--bad-fill:#442f29;--bad-border:#906b58;--track:#4f493c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}a{color:var(--accent)}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-family:Merriweather,Georgia,serif;font-weight:400}p{margin:12px 0}button,input,select,textarea{border-radius:4px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button{transition:background .12s,color .12s}button:not(:disabled):hover{background:var(--selected);color:var(--ink)}button:disabled{transition:none}input:hover,textarea:hover,select:hover{border-color:var(--selection-border)}.app-shell{grid-template-columns:210px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:var(--side);border-right:1px solid var(--rule);flex-direction:column;height:100dvh;padding:0 18px 22px;display:flex;position:sticky;top:0;overflow:auto}.brand{letter-spacing:-.8px;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;gap:9px;height:61px;margin-bottom:32px;font:400 26px/1 Merriweather,Georgia,serif;display:flex}.symbol{color:var(--accent);font-family:Merriweather,Georgia,serif;font-size:30px;font-weight:400;transform:translateY(-2px)}.nav-button{text-align:left;background:0 0;border:1px solid #0000;width:100%;margin:3px 0;padding:6px 8px;font-size:12px;display:block}.nav-button.active{background:var(--selected);border-color:var(--active-border)}.sidebar-heading{color:var(--muted);justify-content:space-between;align-items:center;margin:24px 8px 8px;font-size:11px;display:flex}.subject-name{color:var(--muted);margin:10px 8px 3px;font-size:12px;display:block}.set-row{margin-left:15px;position:relative}.set-name{overflow-wrap:anywhere;padding-right:26px}.rename-small{width:25px;height:27px;color:var(--muted);opacity:0;background:0 0;border:0;position:absolute;top:3px;right:2px}.set-row:hover .rename-small,.set-row:focus-within .rename-small{opacity:1}.sidebar-foot{margin-top:auto;padding-top:55px}.account{border-top:1px solid var(--rule);align-items:center;gap:8px;min-width:0;margin-top:22px;padding-top:16px;font-size:11px;display:flex}.account>div{min-width:0}.account small{overflow-wrap:anywhere;color:var(--muted);font-size:10px;display:block}.initial{background:var(--selected);border:1px solid var(--active-border);border-radius:4px;place-items:center;min-width:25px;height:28px;display:grid}main{min-width:0}.topbar{border-bottom:1px solid var(--rule);background:var(--paper);justify-content:space-between;align-items:center;gap:12px;height:61px;padding:0 29px;display:flex}.breadcrumb{color:var(--muted);align-items:center;gap:9px;font-size:11px;display:flex}.breadcrumb span:last-child{color:var(--ink)}.top-actions{flex-shrink:0;align-items:center;gap:16px;margin-left:auto;display:flex}.sync-status{color:var(--muted);font-size:11px}.theme-toggle{border:1px solid var(--rule);white-space:nowrap;background:0 0;padding:4px 8px;font-size:11px}.content{max-width:1120px;margin:0 auto;padding:31px 33px 45px}.page-heading{align-items:center;gap:16px;margin-bottom:26px;display:flex}.page-heading h1{letter-spacing:-.6px;font-size:25px;line-height:1.4}.page-heading p{color:var(--muted);margin:7px 0 0;font-size:11px}.page-heading>.button{margin-left:auto}.page-heading:hover .heading-rename,.page-heading:focus-within .heading-rename{opacity:1}.delete-set{margin-left:auto}.button{background:var(--ink);color:var(--page);border:1px solid var(--ink);white-space:nowrap;justify-content:center;align-items:center;gap:10px;padding:6px 11px;font-size:12px;line-height:1.65;display:inline-flex}.button:not(.secondary):not(:disabled):hover{background:var(--accent);border-color:var(--accent);color:var(--page)}.button.secondary{color:var(--ink);border-color:var(--rule);background:0 0}.button.danger.secondary,.danger{color:var(--bad)}.button.danger:not(.secondary){background:var(--bad);color:var(--page);border-color:var(--bad)}.button.danger.secondary:hover{background:var(--bad-fill);border-color:var(--bad-border);color:var(--bad)}.icon-button{background:0 0;border:0;padding:0 5px;font-size:20px;line-height:1.3}.text-button{text-underline-offset:4px;color:var(--muted);background:0 0;border:0;padding:4px 0;font-size:11px;text-decoration:underline}.text-button.danger{color:var(--bad)}.actions{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.hint,.muted{color:var(--muted);font-size:11px}.eyebrow{color:var(--accent);font-size:11px}.welcome{max-width:680px;padding:65px 15px}.welcome h1{margin:20px 0;font-size:37px;line-height:1.6}.welcome>p{max-width:450px;color:var(--muted)}.notice{border:1px solid var(--rule);background:var(--paper);border-radius:4px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;padding:12px 14px;font-size:12px;display:flex}.notice.error{background:var(--bad-fill);color:var(--bad);border-color:var(--bad-border)}.notice>.icon-button{margin-left:auto}.notice.outdated>span{flex:1}.demo-note{color:var(--muted);margin-bottom:24px;font-size:11px}.search{max-width:330px;margin-bottom:28px}.search input{margin-top:5px}.library-row{text-align:left;border:0;border-top:1px solid var(--rule);background:0 0;justify-content:space-between;align-items:center;gap:20px;width:100%;padding:22px 14px;display:flex}.library-row h2{font-size:18px}.library-row p{color:var(--muted);margin:6px 0 0;font-size:11px}.library-row>span{color:var(--accent);font-size:20px}.library-row:hover h2{color:var(--accent)}.empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:200px;padding:25px 0;display:flex}.empty h2{font-size:20px}.empty p{color:var(--muted);max-width:440px;font-size:12px}.tabs{border-bottom:1px solid var(--rule);flex-wrap:wrap;gap:21px;margin-bottom:28px;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:0 0 10px;font-size:12px}.tabs button[aria-selected=true]{border-bottom-color:var(--accent);color:var(--ink)}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.section-heading h2{font-size:18px}.material-card summary::-webkit-details-marker{display:none}.material-card summary:hover{background:var(--selected)}label{margin:0 0 17px;font-size:12px;display:block}input,select,textarea{background:var(--page);border:1px solid var(--rule);width:100%;min-width:0;margin-top:6px;padding:7px 9px;display:block}textarea{resize:vertical;line-height:1.8}input:read-only,input::placeholder,textarea::placeholder{color:var(--muted)}fieldset{border:0;min-width:0;margin:0;padding:0}.practice{max-width:850px}.question{letter-spacing:-.4px;max-width:720px;margin:0 0 20px;font-size:21px;line-height:1.75}.options{gap:9px;margin:22px 0 17px;display:grid}.option{background:var(--raised);border:1px solid var(--rule);cursor:pointer;border-radius:4px;align-items:center;gap:12px;min-height:46px;margin:0;padding:11px 14px;font-size:13px;display:flex}.option input{width:14px;height:14px;accent-color:var(--accent);flex-shrink:0;margin:0}.option-letter{color:var(--muted);width:12px;font-size:11px}.option-word{flex:1}.option:has(input:checked){background:var(--selected);border-color:var(--selection-border)}.option:not(:has(input:disabled)):hover{background:var(--selected);border-color:var(--selection-border)}:is(.option.correct,.option.correct:has(input:checked)){background:var(--good-fill);border-color:var(--good-border);color:var(--good)}:is(.option.incorrect:has(input:checked),.option.incorrect){background:var(--bad-fill);border-color:var(--bad-border);color:var(--bad)}.options:disabled .option{cursor:default}.question-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:18px;display:flex}.feedback{border-top:1px solid var(--rule);margin-top:27px;padding-top:22px}.verdict{margin-bottom:16px;font-size:17px}.correct-text{color:var(--good)}.incorrect-text{color:var(--bad)}.correct-answer{flex-direction:column;gap:4px;margin-bottom:16px;font-size:12px;display:flex}.correct-answer>span{color:var(--muted);font-size:11px}.correct-answer>strong{font-weight:500}.explanation{margin-bottom:20px;font-size:12px;line-height:1.85}.feedback h4{color:var(--muted);margin:20px 0 9px;font-size:11px;font-weight:400}.option-explanation{border-top:1px solid var(--rule);grid-template-columns:140px minmax(0,1fr);gap:14px;padding:11px 0;font-size:11px;line-height:1.85;display:grid}.option-explanation strong{font-weight:500}.option-explanation p{color:var(--muted);margin:0}.progress-description{color:var(--muted);max-width:550px;margin-bottom:23px;font-size:12px}.stage-summary{border-bottom:1px solid var(--rule);grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 26px;padding:0 0 18px;display:grid}.stage-summary span{color:var(--muted);font-size:11px}.stage-summary strong{margin-top:3px;font:400 25px/1.5 Merriweather,Georgia,serif;display:block}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}th{color:var(--muted);padding:10px 12px 10px 0;font-size:11px;font-weight:400}td{border-top:1px solid var(--rule);vertical-align:top;overflow-wrap:anywhere;padding:14px 14px 14px 0}.term-table th:first-child{width:20%}.term-table th:nth-child(2){width:40%}.example{color:var(--muted);margin:8px 0 0;font-size:11px;line-height:1.85}.stage{text-align:left;background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:8px;padding:0;font-size:11px;display:flex}.milestones{flex-shrink:0;gap:3px;display:flex}.milestones span{background:var(--track);border-radius:1px;width:14px;height:5px}.milestones span.filled{background:var(--accent)}.stage>span:last-child{color:var(--muted)}.recent{color:var(--muted);min-width:94px;font-size:11px}.answer-marks{gap:4px;margin-top:5px;display:flex}.answer-marks>span{border:1px solid var(--rule);border-radius:2px;place-items:center;width:17px;height:20px;display:inline-grid}.answer-marks>.correct{color:var(--good);background:var(--good-fill);border-color:var(--good-border)}.answer-marks>.incorrect,.answer-marks>.almost{color:var(--bad);background:var(--bad-fill);border-color:var(--bad-border)}dialog{border:1px solid var(--selection-border);background:var(--raised);width:min(560px,100vw - 30px);max-height:calc(100dvh - 36px);color:var(--ink);box-shadow:none;border-radius:4px;padding:24px;overflow:auto}dialog::backdrop{background:#14110c80}.modal-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.modal-heading h2{font-size:21px}.modal-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;margin-top:22px;display:flex}.modal-actions>.danger{margin-right:auto}.field-error{color:var(--bad);font-size:12px}.settings-panel{border-top:1px solid var(--rule);max-width:750px;margin:28px 0;padding-top:24px}.settings-panel h2{font-size:18px}.settings-panel>p{color:var(--muted);font-size:12px;line-height:1.9}.settings-panel form{max-width:520px;margin:24px 0}.settings-panel>.hint{font-size:11px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=900px){.app-shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.content{padding:28px 24px}.topbar{padding:0 24px}.sync-status{display:none}.stage-summary{gap:6px}.option-explanation{grid-template-columns:110px minmax(0,1fr)}}@media (width<=600px){.app-shell{grid-template-columns:110px minmax(0,1fr)}.sidebar{padding:0 8px 16px}.brand{gap:5px;margin-bottom:22px;font-size:18px}.symbol{font-size:24px}.nav-button,.subject-name,.set-name{font-size:11px}.set-row{margin-left:0}.set-name{padding-left:5px}.sidebar-heading{margin-left:4px;margin-right:0}.subject-name{margin-left:4px}.sidebar-foot{padding-top:35px}.account{flex-wrap:wrap;gap:5px;font-size:10px}.account small{font-size:9px}.initial{min-width:23px;height:25px}.content{padding:24px 14px}.topbar{flex-wrap:wrap;gap:8px;height:auto;min-height:61px;padding:9px 13px}.breadcrumb{gap:5px;font-size:10px}.top-actions{margin-left:auto}.theme-toggle{padding:4px 6px}.page-heading{flex-wrap:wrap;gap:10px}.page-heading h1{overflow-wrap:anywhere;font-size:21px}.page-heading>.button{margin-left:0}.heading-rename{opacity:1}.delete-set{margin-left:auto}.tabs{gap:14px;margin-bottom:22px}.tabs button{font-size:11px}.section-heading{flex-wrap:wrap}.section-heading h2{font-size:17px}.question{font-size:18px}.option{gap:8px;padding:10px 9px;font-size:12px}.option-letter{display:none}.question-actions{flex-wrap:wrap}.option-explanation{display:block}.option-explanation strong{margin-bottom:3px;display:block}.stage-summary{grid-template-columns:repeat(2,1fr)}.stage-summary>div:last-child{grid-column:1/-1}table{min-width:275px;font-size:11px}.term-table{min-width:450px}.stage{gap:5px}.welcome{padding:30px 0}.welcome h1{font-size:25px}.welcome .actions{flex-direction:column;align-items:stretch}dialog{padding:20px}.modal-heading h2{font-size:19px}.rename-small{opacity:1}.notice{padding:10px;font-size:11px}.library-row{padding:18px 6px}.library-row h2{font-size:16px}}@media (pointer:coarse){.nav-button,.tabs button,.text-button,.button,.theme-toggle,.rename-small{min-height:44px}.rename-small{width:24px;top:2px}.stage{min-height:44px}.icon-button{min-width:32px;min-height:32px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}button svg{flex-shrink:0}.text-button{padding:7px 10px;font-size:12px;line-height:1.5}.icon-button{flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:6px;display:inline-flex}.brand:not(:disabled):hover{color:var(--ink);background:0 0}.nav-button,.sidebar-heading,.subject-name,.account,.account small{font-size:12px}.subject-name{color:var(--muted);margin:8px 0 3px}.set-name{padding-right:8px}.sidebar-heading{margin-left:8px}.sidebar-foot>.text-button{margin:8px 0}.heading-rename{opacity:1}.breadcrumb{min-width:0;font-size:12px}.breadcrumb button{white-space:nowrap;background:0 0;border:0;margin-left:-8px;padding:6px 8px}.breadcrumb span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tabs{flex-wrap:nowrap;gap:8px;overflow-x:auto}.tabs button{white-space:nowrap;border-bottom:0;border-radius:4px 4px 0 0;padding:9px 12px;font-size:12px;position:relative}.tabs button[aria-selected=true]:after{content:"";background:var(--accent);height:2px;position:absolute;bottom:0;left:12px;right:12px}.tabs button[aria-selected=true]{background:var(--selected)}.library-list{border-block:1px solid var(--rule)}.library-row{border-top:0;border-bottom:1px solid var(--rule);border-radius:0}.library-row:last-child{border-bottom:0}.disclosure svg{transition:transform .15s;transform:rotate(-90deg)}details[open] .disclosure svg{transform:rotate(0)}.stage{border-radius:4px;min-height:30px;margin:-7px -8px;padding:7px 8px}.stage-summary{border:0}.signed-out{display:block}.signed-out .content{place-items:center;max-width:none;min-height:100dvh;padding:24px;display:grid}.welcome{flex-direction:column;align-items:center;gap:30px;padding:0;display:flex}.welcome-brand{align-items:center;gap:12px;display:flex}.welcome-brand h1{margin:0;font-size:38px;line-height:1.3}.welcome-brand .symbol{font-size:46px}.welcome>.button{min-width:120px}.snackbar{z-index:100;border:1px solid var(--rule);background:var(--ink);width:max-content;max-width:min(560px,100vw - 32px);color:var(--page);border-radius:8px;align-items:center;gap:16px;padding:10px 12px 10px 18px;font-size:12px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #0002}.snackbar .icon-button{color:inherit}.update-progress{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px;font-size:12px;display:flex}.update-progress progress{width:100%;height:3px;accent-color:var(--accent)}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.subject{position:relative}.subject-heading{border:1px solid #0000;border-radius:4px;align-items:center;gap:0;margin-top:8px;padding:2px;transition:background .12s,border-color .12s;display:flex}.subject-heading:hover{background:var(--selected)}.subject-heading.active{background:var(--selected);border-color:var(--active-border)}.subject-heading .subject-name{overflow-wrap:anywhere;border:0;flex:1;width:auto;min-width:0;margin:0;padding:6px 4px}.subject-heading a.subject-name:hover{background:0 0}.subject-heading .subject-grip{touch-action:none;cursor:grab;width:18px;min-width:18px;height:26px;color:var(--muted);padding:0}.subject-grip:not(:disabled):active{cursor:grabbing}.subject.dragging>.subject-heading{opacity:.6}.subject.drop-before:before,.subject.drop-after:after{content:"";background:var(--accent);pointer-events:none;height:2px;position:absolute;left:0;right:0}.subject.drop-before:before{top:0}.subject.drop-after:after{bottom:-4px}.subject-heading .subject-toggle{width:26px;min-width:26px;height:26px;min-height:26px;padding:4px}.subject-heading.active .subject-toggle{background:var(--raised);box-shadow:inset 0 0 0 1px var(--active-border)}.subject-toggle svg{transition:transform .12s}.subject-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.subject-actions{flex-shrink:0;position:relative}.subject-actions>summary{cursor:pointer;border-radius:4px;justify-content:center;align-items:center;width:26px;height:26px;padding:4px;list-style:none;transition:background .12s;display:flex}.subject-actions>summary::-webkit-details-marker{display:none}.subject-actions>summary:hover,.subject-actions[open]>summary{background:var(--selected)}.subject-action-list{z-index:50;border:1px solid var(--rule);background:var(--raised);border-radius:6px;min-width:140px;padding:4px;position:absolute;top:100%;right:0;box-shadow:0 4px 16px #0002}.subject-action-list button{text-align:left;background:0 0;border:0;align-items:center;gap:8px;width:100%;padding:8px;font-size:12px;display:flex}.subject-action-list button.danger:not(:disabled):hover{background:var(--bad-fill);color:var(--bad)}@media (pointer:coarse){.subject-heading .subject-toggle,.subject-actions>summary{width:32px;min-width:32px;height:32px;min-height:32px}.subject-heading .subject-grip{width:24px;min-width:24px;height:32px}.subject-action-list button{min-height:44px}}.prototype-panel{z-index:70;color:#e8eeff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#151d2c;border:1px solid #4c78ff;border-radius:10px;width:292px;max-width:calc(100vw - 16px);font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;position:fixed;overflow:hidden;box-shadow:0 8px 32px #0005}.prototype-handle{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;letter-spacing:1px;background:#233652;align-items:center;gap:8px;padding:8px 10px;font-size:11px;display:flex}.prototype-handle:active{cursor:grabbing}.prototype-handle>button{margin-left:auto;padding:4px}.prototype-panel button{color:#e8eeff;font:inherit;background:#233652;border:1px solid #4c607c;border-radius:5px;justify-content:center;align-items:center;gap:6px;min-height:30px;padding:7px 9px;display:inline-flex}.prototype-panel button:not(:disabled):hover{color:#fff;background:#355da5}.prototype-panel button:focus-visible,.prototype-panel input:focus-visible,.prototype-panel select:focus-visible{outline-color:#80a6ff}.prototype-body{max-height:calc(100dvh - 74px);padding:12px;overflow:auto}.prototype-body p{font:inherit;color:#a9bddb;margin:0 0 10px}.prototype-actions{flex-wrap:wrap;gap:6px;display:flex}.prototype-section{border-top:1px solid #35445b;margin-top:14px;padding-top:12px}.prototype-section strong{font-weight:500}.prototype-section p{margin-top:6px}.prototype-panel label{font:inherit;margin:0 0 10px}.prototype-panel input,.prototype-panel select{font:inherit;color:#e8eeff;background:#1a293f;border:1px solid #4c607c;border-radius:5px;margin-top:6px;padding:6px}.prototype-panel input[type=range]{accent-color:#81a6ff;padding:0}.prototype-panel button:disabled{opacity:.45}@media (width<=600px){.sidebar .nav-button,.sidebar-heading,.subject-name{font-size:12px}.tabs{gap:0}.tabs button{padding:10px 8px}.tabs button[aria-selected=true]:after{left:8px;right:8px}.signed-out .content{padding:20px}.breadcrumb{font-size:12px}.stage{min-height:36px}.snackbar{bottom:16px}}.prototype-handle:focus-visible{outline-offset:-3px;outline:2px solid #80a6ff}a.brand,a.nav-button,a.library-row,a[role=tab],a.button,.breadcrumb a{color:inherit;text-decoration:none}a.brand{background:0 0;border:0}a.nav-button:hover,a.library-row:hover,.tabs a:hover,.breadcrumb a:hover{background:var(--selected)}a.brand:hover{background:0 0}.breadcrumb a{white-space:nowrap;background:0 0;border:0;margin:-6px -8px;padding:6px 8px}.tabs a{white-space:nowrap;color:var(--muted);border-bottom:0;border-radius:4px 4px 0 0;padding:9px 12px;font-size:12px;display:block;position:relative}.tabs a[aria-selected=true]{background:var(--selected);color:var(--ink)}.tabs a[aria-selected=true]:after{content:"";background:var(--accent);height:2px;position:absolute;bottom:0;left:12px;right:12px}.tabs a:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media (width<=600px){.tabs a{padding:10px 8px}.tabs a[aria-selected=true]:after{left:8px;right:8px}}@media (pointer:coarse){a.nav-button,.tabs a{min-height:44px}}button,a,summary,.option{transition:background .12s,color .12s,border-color .12s}.nav-button,.breadcrumb a{border-radius:4px}.library-row h2{transition:color .12s}.prototype-panel.debug-open{width:420px}.timing-debug{margin-top:14px}.timing-heading,.timing-total,.timing-stages li>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.timing-heading{margin-bottom:8px}.timing-total{flex-wrap:wrap;margin:12px 0}.timing-total>span{color:#a9bddb;font-size:11px}.timing-total>span:nth-child(n+3){width:100%}.prototype-panel .timing-error{color:#ffbda6}.prototype-panel .timing-slowest{color:#a6c5ff}.timing-stages{margin:10px 0 16px;padding:0;list-style:none}.timing-stages li{border-top:1px solid #35445b;padding:9px 0}.timing-stages li>div:first-child{align-items:flex-start}.timing-stages strong{white-space:nowrap;font-size:11px}.timing-stages small{color:#a9bddb;overflow-wrap:anywhere;margin-top:4px;font-size:10px;display:block}.timing-stages small>span{display:block}.timing-track{background:#2b3a52;border-radius:2px;height:4px;margin-top:7px;overflow:hidden}.timing-track>span{background:#6d8ccd;height:100%;display:block}.timing-stages .slowest .timing-track>span{background:#b0cbff}.timing-stages .failed .timing-track>span{background:#ffa17c}@media (width<=600px){.subject-heading{flex-wrap:wrap}.subject-heading .subject-name{flex-basis:100%;order:-1}.subject-heading .subject-actions{margin-left:auto}.subject-action-list{position:fixed;top:auto;left:8px;right:auto}}.material-card{border:1px solid var(--rule);background:var(--raised);border-radius:4px;min-width:0;max-width:100%;margin:8px 0;position:relative;overflow:hidden}.material-card details{min-width:0}.material-card summary{cursor:pointer;align-items:center;gap:8px;min-height:48px;padding:8px 66px 8px 10px;list-style:none;display:flex}.material-card summary:focus-visible{outline-offset:-3px}.material-preview{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;overflow:hidden}.disclosure{border:1px solid var(--rule);background:var(--page);border-radius:4px;flex:0 0 22px;place-items:center;width:22px;height:22px;display:grid}.material-edit{height:32px;min-height:32px;padding:6px 8px;position:absolute;top:7px;right:8px}.material-content{border-top:1px solid var(--rule);white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 12px;font-size:12px;line-height:1.8}@media (pointer:coarse){.material-card summary{min-height:52px}.material-edit{height:44px;min-height:44px;top:3px}}.question-actions>.button{margin-left:auto}.typed-answer{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 12px;display:grid}.typed-input{margin:0}.typed-answer .question-actions{display:contents}.typed-answer .question-actions>.button{grid-area:1/2;margin-bottom:1px}.typed-answer .question-actions>.text-button{grid-area:2/1;justify-self:start}.feedback{margin-top:20px;padding-top:16px}.almost-text{color:var(--accent)}.typed-input input[data-grade=correct]{background:var(--good-fill);border-color:var(--good-border);color:var(--good)}.typed-input input[data-grade=almost]{background:var(--selected);border-color:var(--active-border);color:var(--accent)}.typed-input input[data-grade=incorrect]{background:var(--bad-fill);border-color:var(--bad-border);color:var(--bad)}.typed-input input[data-grade]:disabled{opacity:1;-webkit-text-fill-color:currentColor}.entry-editor,.entry-review{margin:0;padding:0}dialog.review-dialog{width:min(760px,100vw - 30px)}.entry-editor label,.review-fields label,.review-row>label:not(.review-include){margin-bottom:14px;display:block}.entry-editor .actions,.study-list .section-heading .actions,.study-list td .actions,.entry-review>.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.review-row{border-bottom:1px solid var(--rule);margin-bottom:16px;padding:16px 0}.review-include{align-items:center;gap:10px;display:flex}.review-include input{flex:0 0 18px;width:18px;height:18px;margin:0}.review-note{color:var(--muted);margin:8px 0 12px}.study-list input,.study-list textarea,.study-list select{max-width:100%}.study-list td{overflow-wrap:anywhere;padding-block:8px}.study-list td .example{margin-top:4px}.study-list td .actions{margin:0}.settings-toggle{cursor:pointer;align-items:center;gap:10px;min-height:32px;margin:14px 0 0;display:flex}.settings-toggle input{width:18px;height:18px;accent-color:var(--accent);flex:0 0 18px;margin:0}.blur-answers .option-word{filter:blur(5px)}.blur-answers .option:hover .option-word,.blur-answers .option:focus-within .option-word{filter:none}@media (hover:none){.blur-answers .option:has(input:checked) .option-word{filter:none}}@media (width<=640px){.study-list .section-heading{flex-direction:column;align-items:flex-start}}dialog.history-dialog{width:min(760px,100vw - 30px)}.history-edit{border-top:1px solid var(--rule);padding:14px 0}.history-edit summary{cursor:pointer;border-radius:4px;padding:4px}.history-edit summary:hover{background:var(--selected)}.history-edit time{color:var(--muted);padding-left:18px;font-size:12px;display:block}.history-change{padding:12px 0}.history-change h3{font:inherit;overflow-wrap:anywhere;margin:0 0 10px;font-weight:600}.history-field{margin:10px 0}.history-field h4{color:var(--muted);font:inherit;margin:0 0 5px;font-size:12px}.diff-line{border-left:3px solid;align-items:flex-start;gap:10px;padding:7px 10px;display:flex}.diff-line>span[aria-hidden]{flex:0 0 12px;font-family:monospace}.diff-line del,.diff-line ins{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;text-decoration:none}.diff-removed{color:var(--bad);background:var(--bad-fill);border-color:var(--bad-border)}.diff-added{color:var(--good);background:var(--good-fill);border-color:var(--good-border)}.feedback .study-example{white-space:pre-wrap}.shortcut-list{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:16px;display:grid}.shortcut-list dt,.shortcut-list dd{margin:0}kbd{font:inherit;border:1px solid var(--rule);background:var(--page);border-radius:4px;padding:2px 5px;font-size:12px}@media (width<=600px){.shortcut-list{grid-template-columns:1fr;gap:8px}.shortcut-list dd{margin-bottom:10px}}.entry-practice-toggle{white-space:nowrap;cursor:pointer;align-items:center;gap:8px;min-height:32px;margin:0;display:flex}.entry-practice-toggle input{width:18px;height:18px;accent-color:var(--accent);flex:0 0 18px;margin:0}.entry-practice-toggle:has(input:disabled){cursor:default;color:var(--muted)}.set-actions{margin-left:auto}.set-actions>summary{width:32px;height:32px}.set-actions .subject-action-list{min-width:165px}
