:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80}@media (prefers-color-scheme:dark){:root{--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}}:root #social .button-icon{filter:invert()brightness(2)}body{margin:0}#root{text-align:center;width:1126px;max-width:100%;margin:0 auto}#root :root{color:#18233b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f7f8fc;font-family:Trebuchet MS,Verdana,sans-serif}#root *{box-sizing:border-box}#root body{min-width:320px;margin:0}#root button,#root input,#root select{font:inherit}#root button{cursor:pointer}#root{border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;min-height:100svh;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.app-shell{background:#f7f8fc;width:min(100%,680px);min-height:100vh;margin:0 auto;padding:0 28px 56px}.topbar{justify-content:space-between;align-items:center;height:86px;display:flex}.topbar-actions{align-items:center;gap:8px;display:flex}.install-link{color:#e15d49;background:#fff4f0;border:1px solid #ffddd4;border-radius:8px;padding:7px 9px;font-size:11px;font-weight:900}.language-switch{background:#fff;border:1px solid #e4e8ef;border-radius:8px;gap:3px;padding:3px;display:flex}.language-switch button{color:#9aa1b0;background:0 0;border:0;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:900}.language-switch button.active{color:#fff;background:#f26b4f}.brand{letter-spacing:-1.5px;color:#18233b;align-items:center;gap:9px;font-size:23px;font-weight:900;display:flex}.brand-mark{color:#fff;background:#f26b4f;border-radius:9px;place-items:center;width:28px;height:28px;font-size:17px;display:grid}.avatar{color:#fff;background:#203454;border:0;border-radius:50%;width:38px;height:38px;font-weight:800}.welcome{padding:30px 0 25px}.eyebrow,.progress-label,.modal-kicker{color:#8991a6;letter-spacing:1.5px;margin:0;font-size:10px;font-weight:900}h1{color:#1d2a45;letter-spacing:-2.5px;margin:9px 0 5px;font-size:clamp(34px,8vw,52px);line-height:1}h1 span{color:#f26b4f}.subtitle{color:#8891a4;margin:0;font-size:15px}.progress-card{color:#fff;background:#203454;border-radius:16px;justify-content:space-between;align-items:center;min-height:114px;padding:22px 26px;display:flex;box-shadow:0 15px 28px #2034541f}.progress-card strong{margin-top:8px;font-size:19px;display:block}.progress-label{color:#9faec8}.progress-ring{background:conic-gradient(#f47a5b var(--progress), #52627c 0);border-radius:50%;place-items:center;width:70px;height:70px;display:grid;position:relative}.progress-ring:after{content:"";background:#203454;border-radius:50%;width:56px;height:56px;position:absolute}.progress-ring b{z-index:1;font-size:14px}.capture-panel{background:#fff;border:1px solid #e8eaf1;border-radius:16px;justify-content:space-between;align-items:center;gap:14px;margin:22px 0 42px;padding:22px;display:flex;box-shadow:0 8px 20px #2937560a}.capture-title{align-items:center;gap:13px;display:flex}.capture-icon{color:#fff;background:#f26b4f;border-radius:11px;place-items:center;width:38px;height:38px;font-size:23px;line-height:1;display:grid}h2{color:#1d2a45;letter-spacing:-.5px;margin:0;font-size:20px}.capture-panel p{color:#99a0af;margin:4px 0 0;font-size:12px}.capture-actions{gap:7px;display:flex}.capture-actions button{color:#253652;background:#fff;border:1px solid #e7e9ef;border-radius:8px;padding:9px 11px;font-size:12px;font-weight:800}.capture-actions button:first-child{color:#e15d49;background:#fff4f0;border-color:#ffddd4}.capture-actions span{margin-right:3px;font-size:14px}.section-heading{justify-content:space-between;align-items:end;display:flex}.section-heading h2{letter-spacing:-1px;margin-top:7px;font-size:27px}.count-badge{color:#ef694e;background:#ffebe6;border-radius:9px;place-items:center;width:30px;height:30px;font-size:12px;font-weight:900;display:grid}.tabs{border-bottom:1px solid #e7eaf1;gap:23px;margin:24px 0 14px;display:flex}.tabs button{color:#9ca3b0;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 0 12px;font-size:13px;font-weight:800}.tabs button.selected{color:#1d2a45;border-color:#f26b4f}.tabs b{min-width:19px;min-height:19px;color:inherit;background:#eef0f5;border-radius:6px;place-items:center;margin-left:5px;font-size:10px;display:inline-grid}.tabs .selected b{color:#ef694e;background:#ffebe6}.homework-list{gap:11px;display:grid}.homework-card{cursor:zoom-in;background:#fff;border:1px solid #e9ebf1;border-radius:13px;align-items:center;gap:18px;min-height:132px;padding:16px 14px;transition:transform .2s,box-shadow .2s,border-color .2s,opacity .2s;display:flex}.homework-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #24314d12}.homework-card:active{cursor:grabbing}.homework-card.is-dragging{opacity:.45}.homework-card.is-drag-over{border-color:#f26b4f;box-shadow:0 0 0 3px #f26b4f1f}.check{color:#fff;background:#fff;border:2px solid #dce0e8;border-radius:50%;flex:none;width:24px;height:24px;font-size:14px;font-weight:900}.check.checked{background:#f26b4f;border-color:#f26b4f}.homework-content{flex:1;min-width:0;padding-left:4px}.card-top{align-items:center;gap:8px;display:flex}.subject{color:#53627c;text-transform:uppercase;letter-spacing:.7px;font-size:10px;font-weight:900}.due{color:#ef694e;background:#fff1ed;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:800}.homework-card h3{color:#263652;text-overflow:ellipsis;white-space:nowrap;margin:7px 0 2px;font-size:15px;overflow:hidden}.homework-card p{color:#a3a9b6;margin:0;font-size:11px}.homework-card .marked-image{border-radius:10px;flex:0 0 118px;width:118px;height:118px}.homework-card .marked-image img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:100%}.image-preview-trigger{cursor:zoom-in;background:0 0;border:0;border-radius:10px;flex:0 0 118px;width:118px;height:118px;padding:0}.image-preview-trigger:hover .marked-image{box-shadow:0 0 0 3px #f26b4f33}.image-preview-trigger:focus-visible{outline-offset:3px;outline:3px solid #f26b4f73}.thumb{object-fit:cover;border-radius:8px;width:48px;height:48px}.delete,.close{color:#aeb4c0;background:0 0;border:0;font-size:22px;line-height:1}.delete{padding:7px 2px}.empty-state{text-align:center;color:#9da4b2;padding:40px 0}.empty-state>span{color:#f26b4f;background:#ffebe6;border-radius:50%;place-items:center;width:44px;height:44px;font-size:22px;display:inline-grid}.empty-state h3{color:#263652;margin:13px 0 4px}.empty-state p{margin:0;font-size:13px}.storage-note{color:#9aa2b1;align-items:flex-start;gap:8px;margin:28px 2px 0;font-size:11px;line-height:1.5;display:flex}.storage-note span{color:#8c95a5;border:1px solid #cbd1dc;border-radius:50%;flex:none;place-items:center;width:16px;height:16px;font-size:10px;font-weight:900;display:inline-grid}.modal-backdrop{z-index:2;background:#16233b6b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:20px;width:min(100%,450px);max-height:calc(100vh - 36px);padding:31px;position:relative;overflow:auto;box-shadow:0 22px 60px #14203740}.modal .close{position:absolute;top:20px;right:22px}.modal h2{margin:8px 0;font-size:26px}.modal-copy{color:#8991a1;margin:0 0 20px;font-size:13px;line-height:1.5}.upload-zone{color:#e96850;background:#fff8f6;border:1.5px dashed #f1a495;border-radius:12px;align-content:center;place-items:center;gap:7px;width:100%;min-height:150px;margin-bottom:18px;display:grid}.upload-zone span{font-size:27px}.upload-zone strong{font-size:14px}.upload-zone small{color:#a5aab6;font-size:11px}.image-mark-wrap{cursor:crosshair;touch-action:none;background:#edf0f5;border-radius:10px;margin-bottom:7px;position:relative;overflow:hidden}.image-mark-wrap .marked-image{justify-content:center;align-items:center;width:100%;height:220px;display:flex}.marked-image{background:#edf0f5;position:relative;overflow:hidden}.marked-image-content{justify-content:center;align-items:center;max-width:100%;max-height:100%;display:flex;position:relative}.marked-image img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:220px;display:block}.freehand-line{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.freehand-line polyline{fill:none;stroke:#f26b4f;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.hint{color:#e96850;margin:0 0 13px;font-size:11px}.image-tools{justify-content:space-between;align-items:center;gap:12px;display:flex}.image-tools .hint{flex:1}.undo-button{color:#53627c;background:#fff;border:1px solid #e4e8ef;border-radius:7px;flex:none;padding:7px 10px;font-size:11px;font-weight:800}.confirm-backdrop{z-index:4;background:#16233b6b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-modal{background:#fff;border-radius:16px;width:min(100%,340px);padding:24px;box-shadow:0 22px 60px #14203740}.confirm-modal h3{color:#263652;margin:0 0 8px;font-size:20px}.confirm-modal p{color:#8991a1;margin:0;font-size:13px;line-height:1.5}.confirm-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.confirm-cancel,.confirm-delete{border:0;border-radius:8px;padding:9px 13px;font-size:12px;font-weight:800}.confirm-cancel{color:#53627c;background:#eef1f5}.confirm-delete{color:#fff;background:#f26b4f}.modal label{color:#52617a;gap:6px;margin-top:13px;font-size:12px;font-weight:800;display:grid}.modal input,.modal select{color:#253652;background:#fbfcfe;border:1px solid #e3e6ed;border-radius:8px;outline:0;width:100%;padding:12px}.modal input:focus,.modal select:focus{border-color:#f26b4f}.save-button{color:#fff;background:#f26b4f;border:0;border-radius:9px;justify-content:space-between;align-items:center;width:100%;margin-top:22px;padding:14px 16px;font-size:14px;font-weight:900;display:flex}.save-button span{font-size:21px}.image-preview-backdrop{z-index:3;background:#16233bb8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.image-preview-modal{background:#fff;border-radius:16px;width:min(100%,900px);max-height:calc(100vh - 48px);padding:22px;display:grid;position:relative;box-shadow:0 24px 70px #14203759}.image-preview-close{z-index:1;color:#53627c;background:#ffffffe6;border-radius:50%;width:34px;height:34px;position:absolute;top:12px;right:16px}.image-preview-content{overscroll-behavior:contain;touch-action:none;background:#edf0f5;border-radius:10px;place-items:center;min-height:240px;max-height:calc(100vh - 130px);display:grid;position:relative;overflow:hidden}.image-preview-image{object-fit:contain;cursor:grab;-webkit-user-select:none;user-select:none;transform-origin:50%;max-width:100%;max-height:calc(100vh - 170px);transition:transform .12s;display:block}.image-preview-image.is-panning{cursor:grabbing;transition:none}.image-preview-zoom{flex:none;place-items:center;min-width:100%;min-height:100%;display:grid}.image-preview-content .marked-image{width:100%;height:100%;min-height:240px}.image-preview-content .marked-image-content{width:100%;height:100%}.image-preview-content .marked-image img{width:auto;max-width:100%;height:auto;max-height:100%}.image-preview-footer{justify-content:space-between;align-items:center;gap:16px;display:flex}.image-preview-modal h2{margin:14px 4px 0;font-size:16px}.install-page{color:#263652;background:#f7f8fc;width:min(100%,680px);min-height:100vh;margin:0 auto;padding:28px}.install-back{color:#53627c;background:0 0;border:0;padding:0;font-size:13px;font-weight:800}.install-brand{color:#18233b;letter-spacing:-1.5px;align-items:center;gap:9px;margin-top:65px;font-size:23px;font-weight:900;display:flex}.install-page h1{margin-top:24px;font-size:clamp(34px,8vw,50px)}.install-intro{color:#8991a6;margin:10px 0 28px;font-size:14px}.install-step{background:#fff;border:1px solid #e8eaf1;border-radius:14px;align-items:flex-start;gap:15px;margin-top:13px;padding:20px;display:flex;box-shadow:0 8px 20px #2937560a}.install-step-number{color:#fff;background:#f26b4f;border-radius:9px;flex:none;place-items:center;width:30px;height:30px;font-size:13px;font-weight:900;display:grid}.install-step h2{font-size:17px}.install-step p{color:#8991a6;margin:6px 0 15px;font-size:13px;line-height:1.5}.install-action{color:#fff;background:#203454;border:0;border-radius:8px;padding:10px 13px;font-size:12px;font-weight:900}.install-action:disabled{cursor:default;opacity:.55}.zoom-controls{align-items:center;gap:6px;margin-top:12px;display:flex}.zoom-controls button{color:#53627c;background:#fff;border:1px solid #e4e8ef;border-radius:7px;min-width:30px;height:30px;padding:0 8px;font-size:14px;font-weight:800}.zoom-controls button:last-child{margin-left:4px;font-size:11px}.zoom-controls button:disabled{cursor:default;opacity:.4}.zoom-controls span{color:#53627c;text-align:center;min-width:43px;font-size:11px;font-weight:800}@media (width<=520px){.app-shell{padding:0 18px 40px}.topbar{height:70px}.welcome{padding-top:28px}.capture-panel{flex-direction:column;align-items:stretch;margin-bottom:34px}.capture-actions{width:100%}.capture-actions button{flex:1}.modal{padding:25px 20px}}}
