:root{--bg:#f5f7fa;--paper:#fff;--ink:#202a38;--muted:#687385;--green:#21665b;--pale:#e8f2ee;--line:#e3e7ed;--red:#a33e3e;--radius:16px;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{color:inherit}a{color:var(--green)}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.2;letter-spacing:-.8px;font-weight:700}h2{font-size:20px;letter-spacing:-.3px}h3{font-size:16px;line-height:1.5}p{line-height:1.6}small{font-size:13px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #78a8cb;outline-offset:3px}[hidden]{display:none!important}.muted{color:var(--muted)}.skip-link{position:fixed;top:-80px;left:12px;z-index:999;background:#fff;padding:12px}.skip-link:focus{top:12px}
.topbar{height:88px;max-width:1008px;padding:18px 24px;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-weight:700;font-size:17px;letter-spacing:-.3px}.brand small{display:block;font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0;margin-top:2px}.brand-mark{display:grid;place-items:center;background:var(--green);color:white;width:39px;height:42px;border-radius:11px 11px 11px 3px;font-size:33px;font-weight:600;line-height:1;padding-bottom:5px}.icon-button{display:inline-flex;justify-content:center;align-items:center;min-width:44px;height:44px;border:0;background:transparent;border-radius:12px;font-size:26px}.icon-button:hover{background:var(--line)}main{max-width:960px;margin:12px auto;padding:20px 24px 120px;min-height:70vh}.loading{padding:80px 0;color:var(--muted);text-align:center}.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 28px}.page-head p{margin-top:7px;color:var(--muted);font-size:14px}.date{font-size:14px;color:var(--muted);margin-bottom:10px}.button{min-height:48px;padding:12px 20px;border-radius:12px;font-size:15px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;text-decoration:none;line-height:1.4}.primary{color:#fff;background:var(--green)}.primary:hover{background:#185147}.secondary{background:var(--paper);border-color:var(--line);color:var(--ink)}.secondary:hover{background:#f1f4f7}.quiet{background:transparent;color:var(--muted)}.danger{color:var(--red)}.wide{width:100%}.text-button{background:none;border:0;color:var(--green);padding:12px 0;min-height:44px;font-weight:600;font-size:14px}.navigation{position:fixed;bottom:18px;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:350px;max-width:calc(100% - 32px);display:flex;gap:4px;padding:6px;background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:0 6px 26px #202a3812;z-index:20}.navigation a{display:flex;flex:1;flex-direction:column;align-items:center;gap:4px;padding:9px 4px;text-decoration:none;border-radius:15px;color:var(--muted);font-size:11px;font-weight:600}.navigation a[aria-current=page]{color:var(--green);background:var(--pale)}.navigation svg{width:21px;height:21px}
.today-feature{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:30px}.due-number{font-size:56px;font-weight:650;line-height:1;letter-spacing:-3px;color:var(--green)}.due-label{font-size:17px;font-weight:600;margin-top:9px}.today-feature .muted{font-size:14px;margin-top:8px;max-width:380px}.feature-actions{min-width:190px}.progress-note{display:block;font-size:13px;color:var(--muted);margin-top:12px;text-align:center}.section-head{display:flex;align-items:center;justify-content:space-between;margin:26px 0 12px}.section-head h2{font-size:17px}.hint{display:flex;align-items:flex-start;gap:10px;padding:17px 0;color:var(--muted);font-size:13px;line-height:1.7}.hint svg{width:18px;margin-top:2px}.empty{padding:48px 24px;text-align:center;background:white;border:1px solid var(--line);border-radius:20px}.empty-symbol{display:flex;align-items:center;justify-content:center;width:68px;height:72px;border:1px solid #c6d9d2;border-radius:15px 15px 15px 4px;color:var(--green);background:var(--pale);margin:0 auto 24px}.empty-symbol svg{width:31px;height:31px}.empty h2{font-size:22px}.empty p{color:var(--muted);max-width:390px;margin:12px auto 24px;font-size:15px}.empty .button{margin-top:4px}.question-list{background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden}.question-row{width:100%;display:flex;text-align:left;align-items:center;gap:16px;border:0;background:white;padding:15px 18px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}.question-row:last-child{border-bottom:0}.question-row:hover{background:#fafcfb}.question-thumb{height:72px;width:78px;object-fit:cover;object-position:top;background:#f6f7f9;border:1px solid #edf0f2;border-radius:8px;flex-shrink:0}.row-body{flex:1;min-width:0}.row-body h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.row-body p{font-size:13px;color:var(--muted);margin-top:4px}.row-body small{font-size:11px;display:block;color:var(--green);margin-top:6px}.row-chevron{color:#a1aab6}.badge{font-size:11px;background:var(--bg);border-radius:6px;padding:3px 6px;color:var(--muted);white-space:nowrap;display:inline-block}.tools{display:flex;gap:8px;margin-bottom:12px}.search{width:100%;padding:0 15px 0 44px;height:48px;border:1px solid var(--line);background:var(--paper);border-radius:12px;color:var(--ink)}.search-wrap{position:relative;margin-bottom:12px}.search-wrap svg{position:absolute;top:13px;left:14px;color:var(--muted)}.tools select{min-width:0;flex:1}.count-line{font-size:13px;color:var(--muted);margin:17px 0 12px}.input,label select,select,textarea,input[type=password],input[type=text],input[type=number]{display:block;width:100%;min-height:48px;padding:12px 13px;border:1px solid #d9dfe7;border-radius:10px;color:var(--ink);background:var(--paper);font-size:16px}textarea{resize:vertical;min-height:94px;line-height:1.5}.field{display:block;font-size:13px;font-weight:600;margin-bottom:18px}.field input,.field select,.field textarea{margin-top:8px}.field small{display:block;font-weight:400;line-height:1.5;color:var(--muted);margin-top:6px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.capture-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:28px;align-items:start}.photo-box{background:white;border:1px dashed #c7d3d0;border-radius:16px;min-height:285px;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:hidden}.photo-box.has-photo{border:1px solid var(--line)}.photo-box>svg{width:38px;height:38px;color:var(--green);margin-bottom:16px}.photo-box h2{font-size:17px}.photo-box p{font-size:13px;color:var(--muted);margin:7px 0 20px}.photo-buttons{display:flex;gap:8px}.photo-preview{display:block;max-height:360px;width:100%;object-fit:contain;padding:14px}.photo-controls{display:flex;align-items:center;justify-content:space-between;width:100%;border-top:1px solid var(--line);padding:6px 12px;gap:5px}.photo-controls button{font-size:13px}.draft-note{font-size:12px;color:var(--muted);display:flex;gap:5px;align-items:center;margin:12px 0 20px}.draft-note svg{width:14px;height:14px}.capture-fields{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:23px}.capture-fields .button.wide{margin-top:4px}.details{margin:4px 0 22px}.details summary{cursor:pointer;min-height:44px;font-size:14px;color:var(--muted);padding:11px 0}.details[open] summary{margin-bottom:12px}.save-hint{font-size:12px;color:var(--muted);text-align:center;margin-top:11px}.solution-attached{padding:12px;background:var(--pale);font-size:13px;display:flex;align-items:center;justify-content:space-between;border-radius:10px;margin-bottom:12px}.inline-error{font-size:14px;color:var(--red);padding:10px 0;line-height:1.5}.auth{max-width:390px;margin:40px auto;background:white;border:1px solid var(--line);border-radius:20px;padding:28px}.auth h1{font-size:25px}.auth p{font-size:14px;color:var(--muted);margin:12px 0 24px}.auth .button{margin-top:8px}.auth-footer{font-size:12px!important;margin:20px 0 0!important}.auth-link{word-break:break-all}.page-note{font-size:13px;line-height:1.7;color:var(--muted);padding:16px 0}.back{display:flex;align-items:center;gap:5px;padding:0 0 15px;background:none;border:0;min-height:44px;color:var(--muted);font-size:14px}.viewer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.viewer-head h1{font-size:22px}.viewer-head p{font-size:13px;color:var(--muted);margin-top:5px}.review-progress{font-size:13px;color:var(--muted);white-space:nowrap}.question-surface{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:18px}.question-image{width:100%;max-height:60vh;object-fit:contain;display:block;padding:14px;cursor:zoom-in}.image-footer{border-top:1px solid var(--line);padding:3px 14px;display:flex;align-items:center;justify-content:space-between}.image-footer .text-button{font-size:13px}.question-info{font-size:14px;line-height:1.7;color:var(--muted);margin:10px 0 16px;white-space:pre-wrap;overflow-wrap:anywhere}.solution-area{margin:18px 0}.solution-area .question-image{max-height:55vh}.review-prompt{font-size:14px;font-weight:600;margin:24px 0 12px}.ratings{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.rating{border:1px solid var(--line);background:white;border-radius:12px;min-height:78px;padding:13px 8px;font-size:13px;font-weight:600;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.rating.good{background:var(--pale);border-color:#c4dbd0;color:var(--green)}.rating.again svg{color:#a4614c}.rating.help svg{color:#837137}.rating small{font-size:11px;font-weight:400;color:var(--muted)}.review-toolbar{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.question-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.settings-block{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}.settings-block h3{margin-bottom:10px}.switch-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;cursor:pointer;font-size:14px}.switch-row small{display:block;color:var(--muted);font-weight:400;line-height:1.6;margin-top:7px}.switch-row input{width:23px;height:23px;accent-color:var(--green);flex:none}.stack-actions{display:grid;gap:9px}.subtle-panel{padding:16px;background:var(--bg);border-radius:12px;font-size:13px;line-height:1.7;color:var(--muted);margin-top:16px}.toast{position:fixed;bottom:110px;bottom:calc(110px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 16px;border-radius:12px;max-width:calc(100% - 28px);width:max-content;z-index:80;box-shadow:0 4px 20px #0002;font-size:14px;display:flex;align-items:center;gap:15px}.toast button{border:0;background:none;color:#b8e2d4;font-weight:700;min-height:36px;padding:0 4px;white-space:nowrap}.offline{padding:10px 18px;background:#fff0d5;color:#6f511c;text-align:center;font-size:13px}
dialog{border:1px solid var(--line);border-radius:20px;padding:25px;width:calc(100% - 28px);max-width:500px;max-height:90dvh;overflow:auto;color:var(--ink);background:white}dialog::backdrop{background:#202a3870}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.dialog-head h2{font-size:22px}.dialog-body{font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:20px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}#crop-dialog{max-width:700px}#crop-dialog>.muted{font-size:13px;margin-bottom:14px}#crop-canvas{display:block;max-width:100%;height:auto;margin:auto;touch-action:none;background:var(--bg);border-radius:8px;user-select:none}.crop-actions{display:flex;gap:8px;margin-top:18px}.crop-actions button:last-child{margin-left:auto}#zoom-dialog{max-width:100vw;width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#edf0f3}.zoom-close{position:fixed;right:18px;top:18px;z-index:2;box-shadow:0 2px 15px #0002}.zoom-scroll{width:100%;height:100%;overflow:auto;padding-top:80px;touch-action:pan-x pan-y pinch-zoom}.zoom-scroll img{display:block;max-width:none;min-width:100%;width:150%;height:auto}.empty-inline{padding:32px;text-align:center;color:var(--muted);font-size:14px}.install-note{font-size:13px;line-height:1.7;color:var(--muted)}
@media(min-width:760px){main{padding-top:26px}.review-main{max-width:780px}.auth{margin-top:55px}.empty{padding:60px 30px}}
@media(max-width:600px){.topbar{height:80px;padding:17px 20px}main{margin-top:0;padding:19px 20px 120px}h1{font-size:27px}.page-head{margin-bottom:23px}.today-feature{padding:24px;display:block}.due-number{font-size:52px}.feature-actions{margin-top:24px}.feature-actions .button{width:100%}.progress-note{text-align:left;margin-top:13px}.capture-layout{display:block}.capture-fields{padding:20px;margin-top:20px}.photo-box{min-height:250px}.photo-preview{max-height:300px}.question-row{padding:14px 12px;gap:12px}.question-thumb{width:66px;height:68px}.row-body h3{font-size:15px}.row-body p{font-size:12px}.empty{padding:36px 20px}.empty h2{font-size:21px}.ratings{gap:7px}.rating{font-size:12px;padding:10px 3px}.rating small{font-size:10px}.auth{padding:25px;margin:20px auto}.viewer-head h1{font-size:21px}.question-image{padding:8px}.dialog-head h2{font-size:20px}dialog{padding:20px}.question-actions .button{font-size:13px;padding:10px 13px}.date{font-size:13px}.tools{flex-wrap:wrap}.tools select{font-size:14px;padding-left:10px}.photo-buttons .button{font-size:14px;padding-left:14px;padding-right:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
