:root{--app-height: 100dvh;--bg: #f3f6f1;--surface: #fbfcf8;--surface-raised: #ffffff;--surface-muted: #e9eee7;--surface-strong: #dfe7df;--ink: #17231e;--ink-soft: #4d5b53;--ink-faint: #69766e;--green: #2f5e4b;--green-deep: #214538;--green-soft: #dce9e0;--yellow: #f1d35e;--yellow-soft: #fbf1bf;--amber: #9a6420;--amber-soft: #f6e9d0;--red: #a34b42;--red-soft: #f4dfdc;--blue: #3f6678;--blue-soft: #dfeaf0;--page-gap: 16px;--radius: 8px;--font-ui: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--font-hand: "KaiTi", "STKaiti", "Kaiti SC", "Songti SC", serif}*{box-sizing:border-box}html,body{height:100%;min-height:100%;max-width:100%;overflow-x:hidden;background:var(--bg)}body{margin:0;background:#dfe6df;color:var(--ink);font-family:var(--font-ui);font-size:16px;line-height:1.5;letter-spacing:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overscroll-behavior-y:none;-webkit-text-size-adjust:100%}button,input,textarea,select{font:inherit;letter-spacing:0;font-size:16px}button{color:inherit}button,[role=button]{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid rgba(47,94,75,.28);outline-offset:2px}::selection{background:var(--yellow);color:var(--ink)}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{display:inline-block;width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px}.icon circle[r="1.2"],.icon circle[r="1.4"]{fill:currentColor;stroke:none}.app-shell{position:relative;width:min(100%,480px);height:var(--app-height, 100dvh);margin:0 auto;overflow:hidden;background:var(--bg);display:flex;flex-direction:column}#root{max-width:100%;overflow-x:hidden}.status-bar,.status-icons,.status-icon,.battery-icon{display:none}.screen-root{width:100%;max-width:100%;min-height:0;min-width:0;flex:1;overflow:hidden}.screen{width:100%;max-width:100%;min-width:0;height:100%;display:flex;flex-direction:column;overflow:hidden;animation:screen-in .18s cubic-bezier(.2,.8,.2,1)}.screen-body{width:100%;max-width:100%;min-width:0;min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;padding-bottom:16px;overscroll-behavior:contain;scrollbar-color:var(--surface-strong) transparent;scrollbar-width:thin;touch-action:pan-y}.screen-body::-webkit-scrollbar{width:6px}.screen-body::-webkit-scrollbar-thumb{background:var(--surface-strong);border-radius:999px}.page-pad{padding:8px var(--page-gap) 28px}.page-header{padding:8px var(--page-gap) 14px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.header-copy{min-width:0}.header-kicker{margin:0 0 4px;color:var(--ink-faint);font-size:12px;font-weight:600}.desktop-guide{display:none}.page-title{margin:0;font-size:30px;line-height:1.12;font-weight:760;text-wrap:balance}.page-title.small{font-size:24px}.page-subtitle{margin:6px 0 0;color:var(--ink-soft);font-size:13px}.header-actions{display:flex;align-items:center;gap:4px;margin-top:2px}.icon-button{width:40px;height:40px;padding:0;border:0;border-radius:var(--radius);background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s ease,color .15s ease,transform .15s ease}.icon-button:hover{background:var(--surface-muted)}.icon-button:active{transform:scale(.96)}.icon-button.soft{background:var(--surface-muted)}.icon-button.danger{color:var(--red)}.icon-button[disabled]{color:var(--ink-faint);cursor:default;opacity:.5}.search-box{height:46px;margin:0 var(--page-gap) 12px;padding:0 12px;display:flex;align-items:center;gap:8px;background:var(--surface-raised);border-radius:var(--radius);color:var(--ink-faint)}.search-box:focus-within{background:var(--green-soft)}.search-box input{width:100%;height:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:16px}.search-box input::placeholder{color:#748077}.attention-row{width:calc(100% - var(--page-gap) * 2);min-height:42px;margin:0 var(--page-gap) 12px;padding:8px 10px;border:0;border-radius:var(--radius);background:var(--green-soft);color:var(--green-deep);display:flex;align-items:center;gap:6px;text-align:left;font-size:13px;font-weight:620;cursor:pointer}.attention-row .status-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--green)}.attention-row .spacer{flex:1}.attention-row .icon{width:17px;height:17px}.tag-strip{display:flex;gap:8px;overflow-x:auto;padding:0 var(--page-gap) 14px;scrollbar-width:none;padding-right:30px}.tag-strip::-webkit-scrollbar{display:none}.tag-chip{height:34px;padding:0 14px;border:0;border-radius:999px;background:var(--surface-muted);color:var(--ink-soft);white-space:nowrap;font-size:13px;font-weight:600;cursor:pointer;transition:background-color .15s ease,color .15s ease,transform .15s ease}.tag-chip:hover{background:var(--surface-strong)}.tag-chip:active{transform:scale(.97)}.tag-chip.active{background:var(--green);color:#fff}.tag-chip.manage{background:transparent;color:var(--green);padding-inline:6px}.backup-row{width:calc(100% - var(--page-gap) * 2);margin:0 var(--page-gap) 16px;padding:10px 12px;border:0;border-radius:var(--radius);background:var(--amber-soft);color:#704d1d;display:flex;align-items:center;gap:8px;text-align:left;font-size:12px;cursor:pointer}.backup-row .icon{width:17px;height:17px}.backup-row strong{font-weight:650}.backup-row .spacer{flex:1}.section-heading{min-height:38px;padding:0 2px;display:flex;align-items:center;justify-content:space-between;gap:12px}.import-panel{margin:6px 0 18px;padding:16px;border-radius:var(--radius);background:var(--green-deep);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.import-copy{min-width:0}.import-copy h2{margin:0;font-size:20px;line-height:1.25;font-weight:720}.import-copy p{margin:5px 0 0;color:#ffffffb8;font-size:12px;line-height:1.45}.import-actions{display:flex;align-items:center;gap:6px}.ai-history-entry{width:100%;min-height:64px;margin:0 0 14px;padding:10px 12px;border:0;border-radius:var(--radius);background:var(--surface-raised);color:var(--ink);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.ai-history-entry:active{transform:scale(.995)}.ai-history-icon{width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.ai-history-icon .icon{width:19px;height:19px}.ai-history-copy{min-width:0;flex:1}.ai-history-copy strong,.ai-history-copy span{display:block}.ai-history-copy strong{font-size:14px;font-weight:680}.ai-history-copy span{margin-top:2px;color:var(--ink-faint);font-size:11px}.ai-history-entry>.icon{width:18px;height:18px;flex:0 0 18px;color:var(--ink-faint)}.import-button{width:54px;height:54px;padding:0;border:0;border-radius:50%;background:#ffffff24;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:620;cursor:pointer;transition:background-color .15s ease,transform .15s ease}.import-button.primary{background:var(--yellow);color:var(--green-deep)}.import-button:hover{background:#ffffff3d}.import-button.primary:hover{background:#f8df7b}.import-button:active{transform:scale(.96)}.import-button .icon{width:21px;height:21px}.sheet-search{margin:0 0 12px;background:var(--surface-muted)}.sheet-search .icon-button{width:32px;height:32px;flex:0 0 32px}.sheet-search .icon-button .icon{width:16px;height:16px}.search-results{max-height:50dvh;overflow-y:auto}.search-empty{min-height:180px;padding-inline:10px}.section-heading h2{margin:0;font-size:17px;line-height:1.3;font-weight:700}.sort-button{min-height:36px;padding:0 6px;border:0;background:transparent;color:var(--ink-soft);display:inline-flex;align-items:center;gap:2px;font-size:12px;cursor:pointer}.sort-button .icon{width:15px;height:15px}.note-list{display:grid;gap:8px}.note-item{width:100%;padding:12px;border:0;border-radius:var(--radius);background:var(--surface-raised);display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;cursor:pointer;transition:background-color .15s ease,transform .15s ease}.note-item:hover{background:#f6f9f4}.note-item:active{transform:scale(.992)}.note-thumb{position:relative;width:62px;height:78px;overflow:hidden;border-radius:6px;background:#f8f6ee}.note-thumb.blue{background:#edf3f5}.note-thumb.green{background:#edf3ed}.mini-heading,.mini-line,.mini-formula,.mini-mark{position:absolute;left:9px}.mini-heading{top:9px;width:24px;height:4px;border-radius:2px;background:#17231e9e}.mini-line{width:38px;height:2px;border-radius:1px;background:#17231e3d}.mini-line.line-a{top:22px}.mini-line.line-b{top:31px;width:31px}.mini-mark{top:40px;width:30px;height:5px;transform:rotate(-1deg);background:var(--yellow);opacity:.86}.mini-formula{top:52px;width:42px;color:#17231ebf;font-family:var(--font-hand);font-size:10px;font-style:italic}.note-copy{min-width:0}.note-topic{margin:0 0 3px;color:var(--green);font-size:11px;font-weight:650}.note-title{margin:0;overflow:hidden;color:var(--ink);font-size:16px;line-height:1.35;font-weight:680;text-overflow:ellipsis;white-space:nowrap}.note-summary{margin:4px 0 0;overflow:hidden;color:var(--ink-soft);font-size:12px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.note-tags{margin-top:8px;display:flex;flex-wrap:wrap;gap:5px}.note-tag{padding:2px 7px;border-radius:999px;background:var(--surface-muted);color:var(--ink-soft);font-size:10px;line-height:1.5}.note-time{align-self:start;padding-top:2px;color:var(--ink-faint);font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.empty-state{min-height:250px;padding:34px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.empty-state .empty-icon{width:52px;height:52px;border-radius:50%;background:var(--surface-muted);color:var(--ink-soft);display:grid;place-items:center}.empty-state .icon{width:25px;height:25px}.empty-state h3{margin:4px 0 0;font-size:17px}.empty-state p{max-width:260px;margin:0;color:var(--ink-soft);font-size:13px}.text-button{min-height:38px;padding:0 10px;border:0;border-radius:var(--radius);background:transparent;color:var(--green);font-size:13px;font-weight:650;cursor:pointer}.text-button:hover{background:var(--green-soft)}.bottom-nav{position:relative;z-index:20;flex:0 0 72px;padding:6px 10px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:4px;background:var(--surface-raised)}.bottom-nav[hidden]{display:none}.nav-item{height:54px;padding:6px 4px 4px;border:0;border-radius:var(--radius);background:transparent;color:var(--ink-faint);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:600;cursor:pointer}.nav-item .icon{width:21px;height:21px}.nav-item:hover{background:var(--surface-muted)}.nav-item.active{color:var(--green-deep);background:var(--green-soft)}.toast{position:absolute;z-index:90;left:50%;bottom:92px;max-width:calc(100% - 40px);padding:10px 14px;border-radius:var(--radius);background:var(--green-deep);color:#fff;font-size:13px;line-height:1.4;text-align:center;opacity:0;pointer-events:none;transform:translate(-50%,8px);transition:opacity .16s ease,transform .16s ease}.toast.show{opacity:1;transform:translate(-50%)}.sheet-layer{position:absolute;z-index:80;inset:0;padding:0;border:0;background:#0d191452;display:flex;align-items:flex-end;animation:fade-in .15s ease}.sheet{width:100%;max-height:86%;overflow-y:auto;border-radius:16px 16px 0 0;background:var(--surface);padding-top:3px;animation:sheet-up .22s cubic-bezier(.2,.8,.2,1)}.sheet-handle{width:38px;height:4px;margin:9px auto 3px;border-radius:999px;background:#c9d1ca}.sheet-header{padding:12px 18px 8px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sheet-header h2{margin:0;font-size:20px;line-height:1.25}.sheet-header p{margin:4px 0 0;color:var(--ink-soft);font-size:12px}.sheet-body{padding:8px 18px 20px}.sheet-footer{position:sticky;bottom:0;padding:12px 18px calc(16px + env(safe-area-inset-bottom));background:var(--surface);display:flex;gap:8px}.primary-button,.secondary-button,.danger-button{min-height:46px;padding:0 16px;border:0;border-radius:var(--radius);display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:680;cursor:pointer;transition:background-color .15s ease,transform .15s ease,opacity .15s ease}.primary-button{background:var(--green);color:#fff}.primary-button:hover{background:var(--green-deep)}.primary-button:active,.secondary-button:active,.danger-button:active{transform:scale(.985)}.primary-button:disabled{background:var(--surface-strong);color:var(--ink-faint);cursor:default}.secondary-button{background:var(--surface-muted);color:var(--ink)}.secondary-button:hover{background:var(--surface-strong)}.danger-button{background:var(--red-soft);color:var(--red)}.wide{width:100%}.capture-header{padding-bottom:8px}.capture-view{margin:0 var(--page-gap) 14px;overflow:hidden;border-radius:var(--radius);background:#dfe4dc;display:flex;flex-direction:column}.capture-stage{position:relative;height:clamp(188px,28dvh,242px);min-height:0;padding:14px;display:grid;place-items:center}.focus-corner{position:absolute;width:34px;height:34px;border-color:#ffffffbf}.focus-corner.tl{top:18px;left:18px;border-top:2px solid;border-left:2px solid}.focus-corner.tr{top:18px;right:18px;border-top:2px solid;border-right:2px solid}.focus-corner.bl{bottom:18px;left:18px;border-bottom:2px solid;border-left:2px solid}.focus-corner.br{right:18px;bottom:18px;border-right:2px solid;border-bottom:2px solid}.capture-sheet{width:min(58%,180px);height:min(100%,172px);overflow:hidden;padding:10px 11px;transform:rotate(-1.2deg);border-radius:3px;background:#faf8f0;color:#23312a;border:6px solid rgba(255,255,255,.42)}.capture-sheet h3{margin:0 0 5px;font-family:var(--font-hand);font-size:13px;font-weight:600}.handwriting{display:grid;gap:2px;font-family:var(--font-hand);font-size:10px;line-height:1.45}.handwriting .indent{padding-left:16px}.handwriting .formula{padding:3px 5px;border-radius:4px;background:#2f5e4b14;font-family:Georgia,Times New Roman,serif;font-style:italic}.capture-overlay{position:absolute;left:50%;bottom:6px;transform:translate(-50%);padding:4px 9px;border-radius:999px;background:#15221cb3;color:#fff;font-size:10px;white-space:nowrap}.capture-controls{padding:8px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.capture-controls button{min-height:38px;border:0;border-radius:var(--radius);background:#ffffffc7;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:650;cursor:pointer}.capture-controls button:hover{background:#fff}.capture-controls .icon{width:18px;height:18px}.visually-hidden-file{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.test-uploader{margin:0 0 10px;padding:8px 10px;border-radius:var(--radius);background:var(--blue-soft);color:var(--ink-soft);display:flex;align-items:center;gap:8px;font-size:11px}.test-uploader label{min-height:32px;padding:0 9px;font-size:11px;cursor:pointer}.test-uploader input{position:absolute;width:1px;height:1px;opacity:0}.capture-section{padding:4px var(--page-gap) 18px}.capture-section h2{margin:0 0 10px;font-size:16px}.thumbnail-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.thumbnail-row::-webkit-scrollbar{display:none}.page-thumb{position:relative;width:92px;height:112px;flex:0 0 92px;overflow:hidden;border-radius:6px;background:#faf8f0;color:var(--ink)}.page-thumb img{width:100%;height:100%;object-fit:cover}.page-thumb .page-index{position:absolute;right:5px;bottom:5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#16241dbd;color:#fff;display:grid;place-items:center;font-size:10px;font-variant-numeric:tabular-nums}.page-thumb .remove-thumb{position:absolute;top:4px;right:4px;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:#16241db3;color:#fff;display:grid;place-items:center;cursor:pointer}.page-thumb .remove-thumb .icon{width:14px;height:14px}.add-page{width:92px;height:112px;flex:0 0 92px;border:0;border-radius:6px;background:var(--surface-muted);color:var(--ink-soft);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;cursor:pointer}.add-page:hover{background:var(--surface-strong)}.add-page .icon{width:25px;height:25px}.segment-control{padding:4px;display:grid;grid-template-columns:1fr 1fr;gap:4px;border-radius:var(--radius);background:var(--surface-muted)}.segment-control button{min-height:40px;border:0;border-radius:6px;background:transparent;color:var(--ink-soft);font-size:13px;font-weight:620;cursor:pointer}.segment-control button.active{background:var(--surface-raised);color:var(--ink);outline:2px solid var(--surface-strong);outline-offset:-2px}.capture-target-list{display:grid;gap:7px}.capture-target{width:100%;min-height:62px;padding:9px 11px;border:0;border-radius:var(--radius);background:var(--surface-raised);color:var(--ink);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;transition:background-color .15s ease,transform .15s ease}.capture-target:hover{background:#f6f9f4}.capture-target:active{transform:scale(.994)}.capture-target.active{background:var(--green-soft);outline:2px solid rgba(47,94,75,.14);outline-offset:-2px}.choice-icon.new{background:var(--surface-muted);color:var(--green)}.capture-target .choice-check{width:22px;min-width:22px;margin-left:auto}.capture-target .choice-check:empty{display:block}.capture-target-editor{align-items:flex-start}.capture-target-editor .choice-copy input{width:100%;min-height:30px;margin-top:4px;padding:3px 0;border:0;border-bottom:2px solid var(--surface-strong);background:transparent;color:var(--ink);font-size:16px;outline:none}.capture-target-editor .choice-copy input:focus{border-bottom-color:var(--green)}.collection-list{padding:0 var(--page-gap) 10px;display:grid;gap:9px}.collection-card{overflow:hidden;border-radius:var(--radius);background:var(--surface-raised)}.collection-head{width:100%;min-height:68px;padding:11px 12px;border:0;background:transparent;color:var(--ink);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.collection-head:hover{background:#f6f9f4}.collection-mark{width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:var(--green-soft);color:var(--green);display:grid;place-items:center}.collection-mark .icon{width:19px;height:19px}.collection-copy{min-width:0;flex:1}.collection-copy strong{display:block;overflow:hidden;font-size:16px;font-weight:680;text-overflow:ellipsis;white-space:nowrap}.collection-copy span{display:block;margin-top:2px;color:var(--ink-soft);font-size:11px}.collection-time{color:var(--ink-faint);font-size:11px;white-space:nowrap}.collection-outline{margin:0 12px 10px 60px;padding:7px 0 0;display:grid;gap:3px;border-top:2px solid var(--surface-muted)}.outline-row{min-height:27px;display:flex;align-items:center;justify-content:space-between;gap:8px}.outline-title{overflow:hidden;color:var(--ink-soft);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.outline-points{flex:0 0 auto;color:var(--ink-faint);font-size:10px}.add-collection-row{width:calc(100% - var(--page-gap) * 2);min-height:48px;margin:2px var(--page-gap) 28px;border:0;border-radius:var(--radius);background:transparent;color:var(--green);display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:650;cursor:pointer}.add-collection-row:hover{background:var(--green-soft)}.add-collection-row .icon{width:19px;height:19px}.collection-detail-body{padding:0 var(--page-gap) 28px}.collection-detail-actions{margin:16px 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.collection-detail-actions button{width:100%}.chapter-list{display:grid;gap:9px}.chapter-card{padding:12px;border-radius:var(--radius);background:var(--surface-raised)}.chapter-head{min-height:36px;display:flex;align-items:center;gap:4px}.chapter-open{width:100%;min-height:40px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--ink);display:flex;align-items:center;gap:4px;text-align:left;cursor:pointer}.chapter-open:hover{background:#f6f9f4}.chapter-number{min-width:22px;color:var(--green);font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.chapter-title{min-width:0;flex:1;overflow:hidden;font-size:16px;font-weight:680;text-overflow:ellipsis;white-space:nowrap}.chapter-note-count{flex:0 0 auto;color:var(--ink-faint);font-size:10px;white-space:nowrap}.chapter-open>.icon{width:15px;height:15px;flex:0 0 15px;color:var(--ink-faint)}.chapter-note-list{display:grid;gap:7px}.chapter-note-item{width:100%;min-height:62px;padding:9px 10px;border:0;border-radius:var(--radius);background:var(--surface-raised);color:var(--ink);display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.chapter-note-item:hover{background:var(--green-soft)}.chapter-note-item>.icon{width:16px;height:16px;flex:0 0 16px;color:var(--ink-faint)}.chapter-head .icon-button,.chapter-point .icon-button{width:32px;height:32px}.chapter-head .icon,.chapter-point .icon{width:16px;height:16px}.chapter-points{margin:7px 0 5px 25px;display:grid;gap:3px}.chapter-point{min-height:38px;padding:5px 2px 5px 8px;border-radius:6px;background:var(--surface-muted);display:flex;align-items:center;gap:7px}.chapter-point>span:nth-child(2){min-width:0;flex:1;color:var(--ink);font-size:13px;line-height:1.5}.point-index{min-width:16px;color:var(--ink-faint);font-size:11px;font-variant-numeric:tabular-nums}.add-point-button{min-height:34px;margin:2px 0 0 25px;padding:0 7px;border:0;border-radius:6px;background:transparent;color:var(--green);display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:650;cursor:pointer}.add-point-button:hover{background:var(--green-soft)}.add-point-button .icon{width:16px;height:16px}.setting-row{min-height:54px;padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:14px}.setting-label{min-width:0}.setting-label strong{display:block;font-size:14px;font-weight:650}.setting-label span{display:block;margin-top:2px;color:var(--ink-soft);font-size:12px;line-height:1.45}.switch{position:relative;width:46px;height:28px;flex:0 0 46px;padding:0;border:0;border-radius:999px;background:#c9d1ca;cursor:pointer;transition:background-color .15s ease}.switch:after{content:"";position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .16s ease}.switch[aria-checked=true]{background:var(--green)}.switch[aria-checked=true]:after{transform:translate(18px)}.capture-footer{position:relative;z-index:20;flex:0 0 auto;padding:8px var(--page-gap) calc(10px + env(safe-area-inset-bottom));background:var(--bg)}.capture-footer p{margin:0 0 6px;color:var(--ink-faint);font-size:10px;text-align:center}.capture-screen .screen-body{padding-bottom:18px}.processing-view{min-height:100%;padding:16px var(--page-gap) 28px;display:flex;flex-direction:column}.processing-hero{padding:20px 0 22px}.processing-art{position:relative;width:150px;height:170px;margin-bottom:22px}.processing-art .paper-stack{position:absolute;inset:0;border-radius:4px;background:#faf8f0}.processing-art .paper-stack:nth-child(1){transform:rotate(-6deg) translate(-8px,5px);background:#e7ebe3}.processing-art .paper-stack:nth-child(2){transform:rotate(4deg) translate(8px,3px);background:#f1f0e7}.processing-art .paper-stack:nth-child(3){padding:18px 16px;transform:rotate(-1deg);display:grid;align-content:start;gap:10px}.processing-art .paper-stack:nth-child(3) span{display:block;width:76%;height:3px;border-radius:2px;background:#17231e33}.processing-art .paper-stack:nth-child(3) span:nth-child(2){width:54%}.processing-art .paper-stack:nth-child(3) span:nth-child(3){width:84%;background:var(--yellow)}.processing-art .paper-stack:nth-child(3) span:nth-child(4){width:64%}.processing-art .paper-stack:nth-child(3) span:nth-child(5){width:46%}.processing-art .spark{position:absolute;top:-10px;right:-20px;width:46px;height:46px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center}.processing-art .spark .icon{width:24px;height:24px}.processing-view h1{max-width:320px;margin:0;font-size:26px;line-height:1.2}.processing-view .processing-copy{margin:7px 0 0;color:var(--ink-soft);font-size:13px}.progress-list{margin:12px 0 24px;padding:4px 0;display:grid;gap:4px}.progress-item{min-height:58px;padding:9px 10px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;border-radius:var(--radius);color:var(--ink-faint)}.progress-item.active{background:var(--surface-raised);color:var(--ink)}.progress-item.done{color:var(--ink-soft)}.progress-icon{width:34px;height:34px;border-radius:50%;background:var(--surface-muted);display:grid;place-items:center}.progress-item.done .progress-icon{background:var(--green-soft);color:var(--green)}.progress-item.active .progress-icon{background:var(--green);color:#fff}.progress-icon .icon{width:18px;height:18px}.progress-copy strong{display:block;font-size:13px}.progress-copy span{display:block;margin-top:2px;color:var(--ink-faint);font-size:11px}.progress-state{color:var(--ink-faint);font-size:11px}.progress-bar{grid-column:2 / 4;height:3px;margin-top:-2px;overflow:hidden;border-radius:2px;background:var(--surface-muted)}.progress-bar span{display:block;width:72%;height:100%;background:var(--green);transform-origin:left;animation:progress-grow .65s cubic-bezier(.2,.8,.2,1)}.processing-footer{margin-top:auto;padding-top:16px}.review-summary{margin:0 var(--page-gap) 12px;padding:14px;border-radius:var(--radius);background:var(--green-soft)}.review-summary h2{margin:0;font-size:20px;line-height:1.35}.review-summary p{margin:6px 0 0;color:var(--ink-soft);font-size:12px}.review-tags{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px}.review-tag{padding:3px 9px;border:0;border-radius:999px;background:#ffffffad;color:var(--green-deep);font-size:11px;font-weight:620;cursor:pointer}.review-tag.add{color:var(--ink-soft);background:transparent}.review-list{padding:0 var(--page-gap) 18px;display:grid;gap:7px}.review-block{position:relative;padding:11px 12px;border-radius:var(--radius);background:var(--surface-raised)}.review-block.heading{background:transparent;padding:10px 2px 5px}.review-block.heading h2{margin:0;font-size:18px;line-height:1.35}.review-block.uncertain{background:var(--amber-soft)}.review-block .block-meta{margin-bottom:4px;display:flex;align-items:center;gap:6px;color:var(--ink-faint);font-size:10px}.block-kind{color:var(--green);font-weight:680}.review-block.uncertain .block-kind{color:var(--amber)}.block-copy{margin:0;padding-right:66px;color:var(--ink);font-size:14px;line-height:1.62}.review-block.heading .block-copy{padding-right:0}.block-actions{position:absolute;top:6px;right:5px;display:flex;align-items:center;gap:1px}.block-actions .icon-button{width:32px;height:32px}.block-actions .icon{width:16px;height:16px}.block-actions .icon-button.active{background:var(--yellow-soft);color:#765c10}.uncertain-note{margin:6px 0 0;padding:7px 9px;border-radius:6px;background:#ffffff80;color:#79501b;font-size:11px;line-height:1.5}.formula-display{min-height:76px;padding:14px;border-radius:6px;background:var(--surface-muted);display:flex;align-items:center;justify-content:center;gap:10px;color:var(--ink);font-family:Georgia,Times New Roman,Songti SC,serif;font-size:18px;font-style:italic}.fraction{display:inline-grid;grid-template-rows:1fr 1fr;align-items:center;text-align:center}.fraction .numerator{padding:0 6px 2px}.fraction .denominator{padding:2px 6px 0;border-top:2px solid currentColor}.formula-note{margin-top:5px;color:var(--ink-faint);font-size:10px;text-align:center}.markdown-table{width:100%;margin-top:6px;border-collapse:collapse;font-size:12px}.markdown-table th,.markdown-table td{padding:7px 8px;border-bottom:2px solid #e2e8e2;text-align:left}.markdown-table th{color:var(--ink-soft);font-weight:650}.markdown-table tr:last-child td{border-bottom:0}.todo-line{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.6}.todo-line input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--green)}.review-sort-controls{margin:0 0 6px;display:flex;align-items:center;gap:2px}.review-sort-controls .grip{width:28px;height:30px;margin-right:4px;display:grid;place-items:center;color:var(--ink-faint)}.review-sort-controls .icon-button{width:32px;height:30px}.review-sort-controls .icon{width:16px;height:16px}.order-lock-note{margin:0 var(--page-gap) 12px;padding:8px 10px;border-radius:var(--radius);background:var(--blue-soft);color:#355564;font-size:11px}.review-footer{padding:8px var(--page-gap) calc(16px + env(safe-area-inset-bottom));background:var(--surface);display:grid;grid-template-columns:1fr auto auto;gap:6px}.review-footer .primary-button{grid-column:1}.review-footer .icon-button{width:46px;height:46px;background:var(--surface-muted)}.review-footer .icon-button.active{background:var(--yellow-soft);color:#765c10}.detail-header{padding-bottom:6px}.detail-body{width:100%;max-width:100%;min-width:0;padding:0 var(--page-gap) 18px;overflow-x:hidden}.detail-title{max-width:100%;margin:0;font-size:28px;line-height:1.2;font-weight:750;text-wrap:balance;overflow-wrap:anywhere;word-break:break-word}.detail-meta{max-width:100%;margin:7px 0 0;color:var(--ink-faint);font-size:11px;line-height:1.6;overflow-wrap:anywhere;word-break:break-word}.detail-tags{margin-top:9px;display:flex;flex-wrap:wrap;gap:5px}.detail-tag{padding:3px 8px;border-radius:999px;background:var(--green-soft);color:var(--green-deep);font-size:11px;font-weight:600}.detail-toolbar{margin:14px 0;padding:7px 8px;display:flex;align-items:center;gap:4px;border-radius:var(--radius);background:var(--surface-muted);min-width:0;max-width:100%}.detail-toolbar .tool-button{min-height:34px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:var(--ink-soft);display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:620;cursor:pointer}.detail-toolbar .tool-button:hover{background:var(--surface-strong)}.detail-toolbar .tool-button.active{background:var(--yellow-soft);color:#6b5311}.detail-toolbar .icon{width:16px;height:16px}.detail-toolbar .spacer{flex:1}.detail-toolbar .icon-button{width:34px;height:34px}.detail-toolbar .icon-button .icon{width:17px;height:17px}.mark-filter-row{margin:0 0 8px;padding:6px 10px;border-radius:var(--radius);background:var(--yellow-soft);color:#705711;font-size:11px}.detail-blocks{width:100%;max-width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;overflow-x:hidden}.detail-heading,.detail-point,.detail-formula,.detail-table-wrap,.detail-todo,.detail-uncertain,.detail-order-note{width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.detail-heading{margin:13px 0 4px;padding:0 2px;font-size:18px;line-height:1.4;font-weight:720}.detail-heading:first-child{margin-top:2px}.detail-point{position:relative;padding:3px 2px 3px 20px;font-size:15px;line-height:1.7}.detail-point:before{content:"";position:absolute;top:14px;left:4px;width:7px;height:2px;border-radius:1px;background:var(--ink-soft)}.detail-formula{margin:5px 0;padding:16px 12px;border-radius:6px;background:var(--surface-muted);color:var(--ink);font-family:Georgia,Times New Roman,Songti SC,serif;font-size:20px;font-style:italic;text-align:center;overflow-x:hidden}.detail-table-wrap{margin:5px 0;padding:8px 10px;border-radius:6px;background:var(--surface-raised);font-family:var(--font-ui);font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-x:hidden;tab-size:2}.detail-todo{margin:6px 0;padding:9px 10px;border-radius:6px;background:var(--surface-raised);display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.6}.detail-todo input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--green);flex:0 0 18px}.detail-uncertain{margin:5px 0;padding:10px 12px;border-radius:var(--radius);background:var(--amber-soft);color:#68451b;font-size:13px;line-height:1.6}.detail-uncertain strong{display:block;margin-bottom:2px;font-size:11px;font-weight:680}.detail-uncertain .source-link{margin-top:7px;padding:0;border:0;background:transparent;color:var(--amber);display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:650;cursor:pointer}.detail-uncertain .source-link .icon{width:14px;height:14px}.highlight-mark{position:relative;z-index:0;display:inline;padding:0 1px}.highlight-mark:before{content:"";position:absolute;z-index:-1;inset:35% -2px 5%;border-radius:2px 5px 3px 2px;background:#f1d35eb8;transform:rotate(-.8deg)}.highlight-mark.blue:before{background:#a6c9dab3}.highlight-mark.green:before{background:#b1d5b7b8}.detail-order-note{margin:10px 0 2px;color:var(--ink-faint);font-size:11px}.detail-actions{margin:16px 0 4px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.detail-action{min-height:44px;padding:0 10px;border:0;border-radius:var(--radius);background:var(--surface-raised);color:var(--ink);display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:620;cursor:pointer;overflow-wrap:anywhere}.detail-action:hover{background:var(--surface-muted)}.detail-action .icon{width:17px;height:17px}.detail-undo{margin-top:8px;width:100%}.danger-zone{margin-top:22px;padding-top:14px}.danger-zone button{width:100%}.tags-list{padding:0 var(--page-gap) 28px;display:grid;gap:6px}.tag-row{width:100%;min-height:62px;padding:10px 12px;border:0;border-radius:var(--radius);background:var(--surface-raised);display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer}.tag-row:hover{background:#f6f9f4}.tag-symbol{width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:var(--green-soft);color:var(--green);display:grid;place-items:center}.tag-symbol .icon{width:18px;height:18px}.tag-row.orphan .tag-symbol{background:var(--surface-muted);color:var(--ink-faint)}.tag-row-copy{min-width:0;flex:1}.tag-row-copy strong{display:block;font-size:15px;font-weight:650}.tag-row-copy span{display:block;margin-top:2px;color:var(--ink-faint);font-size:11px}.tag-count{color:var(--ink-soft);font-size:12px;font-variant-numeric:tabular-nums}.tag-count strong{font-size:17px;font-weight:720}.orphan-heading{margin:18px 2px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px}.orphan-heading h2{margin:0;font-size:15px}.orphan-heading button{padding:4px 6px;border:0;background:transparent;color:var(--red);font-size:11px;font-weight:650;cursor:pointer}.tag-edit-row{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:10px}.tag-edit-row span{color:var(--ink-soft);font-size:13px}.tag-edit-row button{min-height:34px;padding:0 9px;border:0;border-radius:6px;background:var(--surface-muted);color:var(--ink);font-size:12px;font-weight:620;cursor:pointer}.field{margin-bottom:14px}.field label{display:block;margin-bottom:5px;color:var(--ink-soft);font-size:12px;font-weight:620}.field input,.field textarea{width:100%;min-height:44px;padding:10px 11px;border:0;border-radius:var(--radius);background:var(--surface-raised);color:var(--ink);font-size:16px;outline:0}.field input:focus,.field textarea:focus{background:var(--green-soft)}.field textarea{min-height:84px;resize:vertical}.field-help{margin:5px 0 0;color:var(--ink-faint);font-size:11px;line-height:1.5}.settings-group{margin:0 var(--page-gap) 10px;padding:4px 14px;border-radius:var(--radius);background:var(--surface-raised)}.settings-group-title{margin:18px var(--page-gap) 7px;color:var(--ink-soft);font-size:12px;font-weight:650}.settings-group .setting-row+.setting-row{padding-top:14px;margin-top:8px;border-top:2px solid var(--surface-muted)}.setting-row.clickable{cursor:pointer}.setting-row.clickable:hover .setting-label strong{color:var(--green)}.setting-chevron{width:18px;height:18px;color:var(--ink-faint)}.setting-row .value{color:var(--ink-soft);font-size:12px;white-space:nowrap}.sync-status{margin:8px var(--page-gap) 0;padding:12px;border-radius:var(--radius);background:var(--green-soft)}.sync-status-head{display:flex;align-items:center;gap:8px}.sync-status-head .icon{width:18px;height:18px;color:var(--green)}.sync-status-head strong{font-size:13px;font-weight:650}.sync-status p{margin:5px 0 0 26px;color:var(--ink-soft);font-size:11px}.sync-actions{margin:10px var(--page-gap) 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.sync-actions button{min-height:42px;border:0;border-radius:var(--radius);background:var(--surface-raised);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:620;cursor:pointer}.sync-actions button:hover{background:var(--surface-muted)}.sync-actions .icon{width:17px;height:17px}.sync-feedback{margin:10px var(--page-gap) 0;padding:10px 12px;border-radius:var(--radius);background:var(--surface-muted);color:var(--ink-soft);display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.5}.sync-feedback.success{background:var(--green-soft);color:var(--green-deep)}.sync-feedback.error{background:var(--red-soft);color:var(--red)}.sync-feedback .icon{width:17px;height:17px;flex:0 0 17px;margin-top:1px}.settings-danger{margin:22px var(--page-gap) 0}.settings-danger h2{margin:0 0 7px;color:var(--red);font-size:12px}.settings-danger button{width:100%}.settings-footer{margin:20px 0 8px;color:var(--ink-faint);font-size:11px;text-align:center}.modal-copy{margin:0;color:var(--ink-soft);font-size:13px;line-height:1.65}.modal-copy strong{color:var(--ink);font-weight:650}.modal-note{margin-top:10px;padding:9px 10px;border-radius:var(--radius);background:var(--surface-muted);color:var(--ink-soft);font-size:11px;line-height:1.55}.choice-list{display:grid;gap:7px}.choice-button{width:100%;min-height:56px;padding:9px 11px;border:0;border-radius:var(--radius);background:var(--surface-raised);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.choice-button:hover{background:var(--surface-muted)}.choice-icon{width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:var(--green-soft);color:var(--green);display:grid;place-items:center}.choice-icon .icon{width:18px;height:18px}.choice-copy strong{display:block;font-size:13px;font-weight:650}.choice-copy span{display:block;margin-top:2px;color:var(--ink-soft);font-size:11px}.choice-check{margin-left:auto;color:var(--green)}.choice-check .icon{width:19px;height:19px}.source-viewer{margin:0 0 12px;padding:14px;border-radius:var(--radius);background:#e5e8e1}.source-paper{width:min(100%,290px);margin:0 auto;padding:16px 14px;border-radius:3px;background:#faf8f0;color:#23312a;transform:rotate(-.7deg);font-family:var(--font-hand);font-size:13px;line-height:1.7}.source-paper .source-heading{margin-bottom:8px;font-size:16px;font-weight:600}.source-paper .source-formula{margin:8px 0;font-family:Georgia,Times New Roman,serif;font-style:italic}.source-paper .source-unknown{background:var(--amber-soft)}.loading-skeleton{padding:16px;display:grid;gap:8px}.skeleton-line{height:14px;border-radius:4px;background:var(--surface-muted);animation:skeleton-pulse 1.2s ease-in-out infinite}.skeleton-line:nth-child(2){width:80%}.skeleton-line:nth-child(3){width:60%}.preview-banner{margin:0 var(--page-gap) 10px;padding:8px 10px;border-radius:var(--radius);background:var(--blue-soft);color:#355564;display:flex;align-items:center;gap:6px;font-size:11px}.preview-banner .icon{width:16px;height:16px}.ios-install-hint{position:relative;z-index:18;margin:0 var(--page-gap) 10px;padding:10px 8px 10px 11px;border-radius:var(--radius);background:var(--blue-soft);color:#355564;display:flex;align-items:flex-start;gap:8px}.ios-install-icon{width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#fff9;display:grid;place-items:center}.ios-install-icon .icon{width:15px;height:15px}.ios-install-hint>div{min-width:0;flex:1}.ios-install-hint strong{display:block;font-size:12px;font-weight:680}.ios-install-hint p{margin:2px 0 0;font-size:11px;line-height:1.5}.ios-install-hint .icon-button{width:30px;height:30px;flex:0 0 30px}.ios-install-hint .icon-button .icon{width:15px;height:15px}.network-status{position:relative;z-index:19;padding:8px var(--page-gap);background:var(--amber-soft);color:#704d1d;display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.45}.network-status .icon{width:16px;height:16px;flex:0 0 16px}.pwa-status{position:relative;z-index:20;min-height:44px;padding:8px var(--page-gap);background:var(--green-soft);color:var(--green-deep);display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.45}.pwa-status .icon{width:16px;height:16px;flex:0 0 16px}.pwa-status span{min-width:0;flex:1}.pwa-status>button:not(.icon-button){min-height:30px;padding:0 10px;border:0;border-radius:6px;background:var(--green);color:#fff;font-size:12px;font-weight:650;cursor:pointer}.pwa-status .icon-button{width:30px;height:30px;flex:0 0 30px}.pwa-status .icon-button .icon{width:15px;height:15px}.pwa-update{background:var(--amber-soft);color:#704d1d}.pwa-update>button:not(.icon-button){background:var(--amber)}.ai-job-banner{position:relative;z-index:17;width:calc(100% - var(--page-gap) * 2);min-height:52px;margin:0 var(--page-gap) 10px;padding:8px 10px;border:0;border-radius:var(--radius);background:var(--green-soft);color:var(--green-deep);display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.ai-job-banner.failed{background:var(--red-soft);color:var(--red)}.ai-job-banner>.icon{width:18px;height:18px;flex:0 0 18px}.ai-job-copy{min-width:0;flex:1}.ai-job-copy strong,.ai-job-copy small{display:block}.ai-job-copy strong{font-size:12px;font-weight:680}.ai-job-copy small{margin-top:1px;color:var(--ink-soft);font-size:11px}.ai-job-banner.failed .ai-job-copy small{color:#7a3f38}.ai-job-dismiss{width:30px;height:30px;flex:0 0 30px;border-radius:6px;display:grid;place-items:center}.ai-job-dismiss .icon{width:15px;height:15px}.processing-panel{margin:12px var(--page-gap) 28px;padding:24px 16px 18px;border-radius:var(--radius);background:var(--surface-raised);text-align:center}.processing-orb{width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:var(--green-soft);color:var(--green);display:grid;place-items:center}.processing-orb .icon{width:28px;height:28px}.processing-orb.done{background:var(--green);color:#fff}.processing-orb.failed{background:var(--red-soft);color:var(--red)}.processing-panel h2{margin:0;font-size:20px;line-height:1.25}.processing-panel>p{margin:5px 0 0;color:var(--ink-soft);font-size:12px}.processing-thumbs{margin:18px auto 0;display:flex;justify-content:center;gap:7px}.processing-thumbs img{width:64px;height:80px;border-radius:6px;object-fit:cover;background:var(--surface-muted)}.processing-steps{margin:22px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.processing-step{color:var(--ink-faint);font-size:11px}.processing-step>span{width:26px;height:26px;margin:0 auto 5px;border-radius:50%;background:var(--surface-muted);display:grid;place-items:center;font-size:11px;font-weight:700}.processing-step .icon{width:14px;height:14px}.processing-step.active,.processing-step.done{color:var(--green)}.processing-step.active>span{background:var(--yellow);color:var(--ink)}.processing-step.done>span{background:var(--green);color:#fff}.processing-step strong{font-weight:600}.processing-error{margin-top:18px;padding:10px;border-radius:6px;background:var(--red-soft);color:#7a3f38;display:flex;align-items:flex-start;gap:7px;font-size:12px;text-align:left}.processing-error .icon{width:16px;height:16px;flex:0 0 16px}.processing-footer{grid-template-columns:1fr auto}.ai-task-summary{margin:2px var(--page-gap) 18px;padding:13px 8px;border-radius:var(--radius);background:var(--green-deep);color:#fff;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.ai-task-summary div{min-width:0;padding:0 6px;text-align:center}.ai-task-summary div+div{border-left:1px solid rgba(255,255,255,.18)}.ai-task-summary strong,.ai-task-summary span{display:block}.ai-task-summary strong{font-size:21px;line-height:1.2;font-variant-numeric:tabular-nums}.ai-task-summary span{margin-top:2px;color:#ffffffad;font-size:10px}.ai-task-section{margin:0 var(--page-gap) 22px}.ai-task-section-head{min-height:34px;padding:0 2px;display:flex;align-items:center;gap:7px}.ai-task-section-head h2{margin:0;font-size:16px;line-height:1.3;font-weight:700}.ai-task-section-head span{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--surface-strong);color:var(--ink-soft);display:inline-grid;place-items:center;font-size:10px;font-weight:700}.ai-task-card{position:relative;margin-bottom:8px;border-radius:var(--radius);background:var(--surface-raised);overflow:hidden}.ai-task-card.completed{border-left:3px solid var(--green)}.ai-task-main{width:100%;min-height:74px;padding:11px 10px;border:0;background:transparent;color:var(--ink);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.ai-task-main>.icon{width:17px;height:17px;flex:0 0 17px;color:var(--ink-faint)}.ai-task-mark{width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:var(--green-soft);color:var(--green);display:grid;place-items:center}.ai-task-mark.completed,.ai-task-card.completed .ai-task-mark{background:var(--green);color:#fff}.ai-task-mark.failed{background:var(--red-soft);color:var(--red)}.ai-task-mark .icon{width:18px;height:18px}.ai-task-copy{min-width:0;flex:1}.ai-task-copy strong,.ai-task-copy span,.ai-task-copy small{display:block;overflow-wrap:anywhere;word-break:break-word}.ai-task-copy strong{font-size:13px;line-height:1.45;font-weight:680}.ai-task-copy span{margin-top:2px;color:var(--ink-soft);font-size:11px;line-height:1.45}.ai-task-copy small{margin-top:3px;color:var(--ink-faint);font-size:10px;line-height:1.45}.ai-task-thumbs{padding:0 10px 10px 56px;display:flex;gap:5px}.ai-task-thumbs img{width:46px;height:56px;border-radius:5px;object-fit:cover;background:var(--surface-muted)}.ai-task-remove{position:absolute;right:4px;bottom:4px;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:var(--red-soft);color:var(--red);display:grid;place-items:center;cursor:pointer}.ai-task-remove .icon{width:15px;height:15px}.ai-task-empty{min-height:170px;margin-top:2px;background:var(--surface-raised)}@keyframes screen-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes sheet-up{0%{transform:translateY(24px)}to{transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes progress-sweep{0%{transform:translate(-110%)}to{transform:translate(240%)}}@keyframes progress-grow{0%{transform:scaleX(.2)}to{transform:scaleX(1)}}@keyframes skeleton-pulse{0%,to{opacity:.45}50%{opacity:.8}}@media(min-width:700px){body{padding:24px;display:grid;place-items:center}.desktop-guide{position:fixed;z-index:-1;inset:0;padding:34px 40px;display:flex;align-items:flex-start;justify-content:space-between;color:var(--green-deep)}.desktop-guide strong{display:block;font-size:15px;font-weight:680}.desktop-guide span{display:block;max-width:190px;margin-top:3px;color:var(--ink-soft);font-size:12px;line-height:1.55}.desktop-guide .guide-right{text-align:right}.app-shell{height:min(880px,calc(100dvh - 48px));border-radius:18px;border:6px solid #ffffff}}@media(max-width:360px){:root{--page-gap: 13px}.page-title{font-size:26px}.detail-title{font-size:25px}.note-item{grid-template-columns:54px minmax(0,1fr)}.note-thumb{width:54px;height:70px}.note-time{display:none}.review-footer{grid-template-columns:1fr auto}.review-footer .icon-button.highlighter{display:none}}@media(min-width:361px)and (max-width:400px){.note-item{grid-template-columns:54px minmax(0,1fr) auto;gap:10px}.note-thumb{width:54px;height:70px}.note-title{font-size:15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}@supports (height: 100svh){:root{--app-height: 100svh}}.ios-device .app-shell{padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.ios-device .screen-body,.ios-device .sheet{-webkit-overflow-scrolling:touch}.ios-device .bottom-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}.ios-device .toast{bottom:calc(82px + env(safe-area-inset-bottom))}.ios-device .capture-footer,.ios-device .review-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}.ios-device .sheet{padding-bottom:env(safe-area-inset-bottom)}.ios-device .sheet-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}.ios-device input,.ios-device textarea,.ios-device select{font-size:16px}.ios-device button,.ios-device [role=button]{touch-action:manipulation}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(./KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(./KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(./KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(./KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(./KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(./KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(./KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(./KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(./KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(./KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(./KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(./KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(./KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(./KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(./KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(./KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(./KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(./KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(./KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(./KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(./KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(./KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(./KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(./KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(./KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(./KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(./KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(./KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(./KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(./KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(./KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(./KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(./KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(./KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(./KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(./KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(./KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(./KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(./KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(./KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(./KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(./KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(./KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(./KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(./KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(./KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(./KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(./KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(./KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(./KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(./KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,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) format("woff2"),url(./KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(./KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(./KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(./KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(./KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(./KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(./KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(./KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.47"}.katex .katex-mathml{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}
