:root{--ink:#1a2332;--muted:#667085;--line:#e6e8ee;--bg:#f5f6f8;--card:#fff;--accent:#1f4e79;--accent-2:#2b6cb0;--ok:#276749;--warn:#9b2c2c;--wait:#b7791f;--radius:12px;color:var(--ink);background:var(--bg);font-family:PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:15px;line-height:1.55}*{box-sizing:border-box}html,body,#app{height:100%;min-height:100%;margin:0}a{color:var(--accent);text-decoration:none}button{font:inherit;cursor:pointer}input,select,textarea{font:inherit}.topbar{z-index:10;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0}.topbar-inner,.page,.footer-inner{max-width:960px;margin:0 auto;padding:0 20px}.topbar-inner{align-items:center;gap:28px;height:56px;display:flex}.brand{color:var(--ink);align-items:center;gap:10px;font-weight:600;display:flex}.brand img{object-fit:contain;width:32px;height:32px}.nav{flex:1;gap:6px;display:flex}.nav a{color:var(--muted);border-radius:8px;padding:6px 12px}.nav a.router-link-active{color:var(--accent);background:#eef3f8;font-weight:600}.top-right{color:var(--muted);align-items:center;gap:12px;font-size:14px;display:flex}.page{padding:24px 20px 48px}.footer{border-top:1px solid var(--line);color:var(--muted);font-size:13px}.footer-inner{padding:20px}h1{margin:0 0 16px;font-size:22px;font-weight:650}h2{margin:0 0 12px;font-size:16px;font-weight:650}.sub{color:var(--muted);margin:-8px 0 20px;font-size:14px}.grid{gap:16px;display:grid}.grid-2{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px}.card.click{cursor:pointer}.card.click:hover{border-color:#c5d4e4}.card .meta{color:var(--muted);margin-top:8px;font-size:13px}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.between{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.btn{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:8px;padding:8px 14px}.btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.btn.ghost{color:var(--accent);border-color:#0000}.btn.warn{color:var(--warn);border-color:#f0d0d0}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-row{flex-wrap:wrap;gap:8px;display:flex}.field{flex-direction:column;gap:6px;margin-bottom:14px;display:flex}.field label{color:var(--muted);font-size:13px}.field input,.field select,.field textarea{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 10px}.field textarea{resize:vertical;min-height:90px}.tag{color:var(--accent);background:#eef3f8;border-radius:999px;padding:2px 8px;font-size:12px;display:inline-block}.tag.wait{color:var(--wait);background:#faf3e4}.tag.ok{color:var(--ok);background:#e8f5ee}.tag.bad{color:var(--warn);background:#fdecec}.list{flex-direction:column;gap:10px;display:flex}.list-item{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);color:inherit;padding:14px 16px;display:block}.list-item:hover{border-color:#c5d4e4}.tabs{border-bottom:1px solid var(--line);gap:4px;margin-bottom:16px;display:flex}.tabs a,.tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 14px}.tabs a.router-link-active,.tabs button.on{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.stem{font-size:16px}.stem-text,.stem-img{margin:0 0 12px}.stem-img img{border:1px solid var(--line);background:#fff;border-radius:8px;max-width:100%;height:auto;display:block}.exam-sheet .stem-text{margin:0 0 8px;font-size:16px;line-height:1.7}.exam-sheet .stem-img{margin:8px 0 10px}.muted{color:var(--muted);font-size:14px}.err{color:var(--warn);font-size:14px}.ok{color:var(--ok);font-size:14px}.empty{color:var(--muted);text-align:center;background:var(--card);border-radius:var(--radius);border:1px dashed var(--line);padding:24px}.katex-display{margin:8px 0;overflow-x:auto}table.plain{border-collapse:collapse;width:100%;font-size:14px}table.plain th,table.plain td{text-align:left;border-bottom:1px solid var(--line);padding:8px 6px}table.plain th{color:var(--muted);font-weight:500}.filters{flex-wrap:wrap;gap:10px;margin-bottom:16px;display:flex}.filters select{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 10px}.rating-btns{grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px;display:grid}.rating-btns button{padding:12px 8px}.hint{color:var(--muted);margin-top:8px;font-size:13px}.cloze-text{white-space:pre-wrap;margin:0 0 12px;font-size:18px;line-height:1.7}.note-imgs img{border:1px solid var(--line);border-radius:8px;max-width:min(100%,420px);height:auto;margin-bottom:8px;display:block}.page:has(.plaza){max-width:1120px}.plaza-search{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);gap:8px;margin:12px 0 8px;padding:12px;display:flex}.plaza-search input{border:1px solid var(--line);border-radius:8px;flex:1;padding:12px 14px;font-size:16px}.plaza-search .btn{padding:12px 22px}.plaza-hint{color:var(--muted);margin:0 0 16px;font-size:13px}.plaza-body{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:16px;display:grid}.plaza-side{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 8px}.plaza-side-title{color:var(--muted);margin:10px 10px 6px;font-size:13px;font-weight:650}.plaza-side-title:first-child{margin-top:0}.plaza-side-item{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;border-radius:8px;padding:8px 12px;display:block}.plaza-side-item.nested{padding-left:24px}.plaza-side-item:hover{background:#f0f3f7}.plaza-side-item.on{color:var(--accent);background:#eef3f8;font-weight:600}.plaza-list{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px}.plaza-list-head{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}.plaza-list-head h1{margin:0;font-size:18px}.plaza-body-text{margin:8px 0 0}.plaza-row+.plaza-row{border-top:1px solid var(--line)}@media (width<=800px){.plaza-body{grid-template-columns:1fr}}.app-shell{background:var(--bg);max-width:560px;height:100%;padding-top:env(safe-area-inset-top);flex-direction:column;margin:0 auto;display:flex;overflow:hidden}.app-main{scrollbar-width:none;flex-direction:column;flex:1;width:100%;min-height:0;padding:0 16px 16px;display:flex;overflow-y:auto}.app-shell.has-tabbar .app-main{padding-bottom:28px}.app-main::-webkit-scrollbar{width:0;height:0;display:none}.app-main>*{flex-shrink:0;width:100%}.app-main>.ai-page{flex:1;min-height:0}.page-head{z-index:8;border-bottom:1px solid var(--line);background:#fff;grid-template-columns:44px 1fr 44px;align-items:center;min-height:52px;margin:0 -16px;padding:0 8px;display:grid;position:sticky;top:0}.page-head h1{text-align:center;margin:0;font-size:18px;font-weight:650;line-height:1.3}.page-head-side{width:44px;height:32px}.page-head-action{white-space:nowrap;justify-self:end;padding:6px 4px;font-size:14px}.hamburger{border:1px solid var(--line);background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:40px;height:40px;padding:0;display:flex}.hamburger span{background:var(--ink);border-radius:1px;width:16px;height:2px;display:block}.sub-header{border-bottom:1px solid var(--line);background:#fff;grid-template-columns:44px 1fr 44px;align-items:center;min-height:52px;padding:0 8px;display:grid}.sub-header h1{text-align:center;margin:0;font-size:17px}.sub-back{color:var(--ink);background:0 0;border:0;padding:0 8px;font-size:28px;line-height:1}.sub-right{width:44px}.tabbar{z-index:20;height:64px;padding:0 4px env(safe-area-inset-bottom);border-top:1px solid var(--line);background:#fff;flex-shrink:0;justify-content:space-around;align-items:flex-end;display:flex;position:relative;overflow:visible}.tab{height:64px;color:var(--muted);flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:2px;padding:8px 0;font-size:11px;text-decoration:none;display:flex}.tab.on{color:var(--accent);font-weight:650}.tab-ico{align-items:center;height:24px;display:flex}.tab-upload{color:var(--muted);position:relative;overflow:visible}.tab-upload.on{color:var(--accent)}.tab-logo{border:2px solid var(--line);background:#fff;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;margin-left:-28px;display:flex;position:absolute;top:-22px;left:50%;overflow:hidden;box-shadow:0 2px 10px #1a23321f}.tab-logo img{object-fit:contain;width:36px;height:36px}.tab-upload-label{margin-top:auto}.drawer-mask{z-index:30;background:#14182066;justify-content:flex-start;align-items:stretch;display:flex;position:fixed;inset:0}.drawer{width:min(82%,300px);height:100%;max-height:100dvh;padding:20px 16px calc(16px + env(safe-area-inset-bottom));background:#fff;border-radius:0 16px 16px 0;animation:.22s ease-out drawer-in;overflow:auto;box-shadow:8px 0 28px #1418202e}@keyframes drawer-in{0%{transform:translate(-100%)}to{transform:translate(0)}}.drawer h2{margin:0 0 12px;font-size:17px}.drawer-sec{color:var(--muted);margin:12px 0 8px;font-size:13px;font-weight:650}.chip-row{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:999px;padding:6px 12px;font-size:14px}.chip.on{color:var(--accent);background:#eef3f8;border-color:#c5d4e4;font-weight:650}.drawer-actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.preview-card{color:inherit;align-items:center;gap:12px;padding:12px;text-decoration:none;display:flex}.preview-thumb{border:1px solid var(--line);object-fit:cover;background:#f4f6f9;border-radius:10px;flex-shrink:0;width:72px;height:72px;display:block}.preview-thumb.placeholder{color:var(--muted);justify-content:center;align-items:center;font-size:12px;display:flex}.preview-main{flex:1;min-width:0}.preview-meta{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:4px;display:flex}.preview-kind{color:var(--muted);margin-bottom:2px;font-size:12px;display:block}.preview-card.text-card,.preview-hit.text-card{gap:0}.preview-title{text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.35;display:block;overflow:hidden}.preview-summary{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:13px;overflow:hidden}.review-preview{flex-direction:column;align-items:stretch;gap:10px}.preview-hit{color:inherit;align-items:center;gap:12px;min-width:0;text-decoration:none;display:flex}.preview-rating{margin-top:0}.plaza-hint a{white-space:nowrap}.app-shell .plaza-search{margin:12px 0 8px}.app-shell .plaza-search .btn{white-space:nowrap;flex-shrink:0;padding:10px 16px}.app-shell .plaza-list{background:0 0;border:0;padding:12px 0 0}.app-shell .plaza-list-head h2{margin:0;font-size:16px}.cloze-block{border:1px solid var(--line);background:#f8f9fb;border-radius:10px;margin:0 0 12px;padding:10px 12px}.cloze-block h3{color:var(--muted);margin:0 0 6px;font-size:13px;font-weight:650}.cloze-block .cloze-text{white-space:pre-wrap;margin:0;font-size:16px}.cloze-empty{margin:0}.note-card{color:inherit}.data-section{margin-bottom:20px}.data-section h2{margin:0 0 8px}.subject-group{margin:0 0 16px}.subject-heading{color:var(--ink);margin:0 0 8px;font-size:16px;font-weight:650}.note-subject{color:var(--muted);margin:0 0 12px;font-size:13px}.choice-card{text-align:left;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);width:100%;color:inherit;flex-direction:column;gap:6px;margin-bottom:10px;padding:16px 18px;display:flex}.choice-card b{font-size:16px}.choice-card span{color:var(--muted);font-size:14px}.choice-card.on{border-color:var(--accent);background:#eef3f8}.upload-lead{color:var(--muted);margin:12px 0;font-size:14px}.ai-page{flex-direction:column;flex:1;min-height:0;margin:0 -16px;display:flex}.ai-page .page-head{margin:0}.chat-list{flex-direction:column;flex:1;gap:10px;padding:12px 16px 8px;display:flex;overflow-y:auto}.chat-bubble{white-space:pre-wrap;border-radius:12px;max-width:86%;padding:10px 12px;font-size:14px;line-height:1.55}.chat-bubble.system{border:1px solid var(--line);color:var(--ink);background:#fff;align-self:flex-start}.chat-bubble.user{background:var(--accent);color:#fff;align-self:flex-end}.chat-input{background:var(--bg);gap:8px;padding:8px 16px 0;display:flex}.chat-input input{border:1px solid var(--line);background:#fff;border-radius:20px;flex:1;padding:10px 14px}.mine-assets .asset-row{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:8px;display:grid}.mine-assets .asset-row b{font-size:20px;display:block}.setting-list{flex-direction:column;display:flex}.setting-item{border-bottom:1px solid var(--line);color:inherit;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.setting-item.static{color:var(--ink);cursor:default}.login-page{padding:24px 0}.login-card{max-width:420px;margin:0 auto}.note-cloze.compact{margin-top:8px}.note-cloze.compact .cloze-block{margin:0 0 6px;padding:6px 8px}.note-cloze.compact .cloze-block:last-child{margin-bottom:0}.note-cloze.compact .cloze-block h3{margin-bottom:2px;font-size:12px}.note-cloze.compact .cloze-text,.note-cloze.compact .cloze-empty{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.review-answers{white-space:pre-wrap;margin-top:8px}.review-answers p{margin:4px 0}.item-review .field{margin-bottom:10px}.item-review .field textarea{min-height:48px}.item-review .btn-row{margin-top:4px;padding-bottom:24px}.paper-entry{margin-bottom:16px}.paper-entry h2{margin-bottom:6px}.paper-empty{margin-top:12px}.review-paper{padding-bottom:24px}.paper-actions{flex-wrap:wrap;gap:8px;margin:0 0 12px;display:flex}.exam-sheet{border:1px solid var(--line);border-radius:var(--radius);color:#111;background:#fff;padding:20px 18px 28px}.exam-head{text-align:center;border-bottom:2px solid #111;margin-bottom:18px;padding-bottom:12px}.exam-head h1{margin:0 0 6px;font-size:22px}.exam-day{margin:0;font-size:14px}.exam-hint{color:#444;margin:8px 0 0;font-size:13px}.exam-q{break-inside:avoid;page-break-inside:avoid;border-bottom:0;margin:0 0 8px;padding-bottom:4px}.exam-q:last-child{margin-bottom:0}.exam-answer-space{border-bottom:1px dashed #cfcfcf;margin:8px 0 28px;padding-bottom:10px}.exam-q:last-child .exam-answer-space{border-bottom:0;margin-bottom:0}.paper-dl-hint{margin:8px 0 0}.export-toolbar{flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:10px;display:flex}.export-spacing{border:0;flex-wrap:wrap;align-items:center;gap:10px 14px;min-width:0;margin:0;padding:0;display:flex}.export-spacing legend{float:left;width:auto;color:var(--muted);margin:0 4px 0 0;padding:0;font-size:13px}.export-spacing-opt{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:4px;font-size:14px;display:inline-flex}.export-spacing:disabled .export-spacing-opt{cursor:not-allowed}.exam-q-head{align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.exam-no{font-size:18px;font-weight:700}.exam-meta{color:#555;font-size:13px}.exam-title{margin:0 0 8px;font-size:16px}.exam-block{margin:10px 0 0}.exam-block h3{color:#555;margin:0 0 4px;font-size:13px;font-weight:650}.exam-text{white-space:pre-wrap;margin:0;font-size:16px;line-height:1.7}.exam-write{align-items:flex-end;gap:8px;margin-top:10px;display:flex}.exam-write-label{color:#555;min-width:1.2em;font-size:14px}.exam-write-line{border-bottom:1px solid #333;flex:1;height:28px}.upload-paper{margin-top:16px}.upload-paper input[type=file]{margin:8px 0}.result-item{margin-bottom:14px}.result-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.result-head h2{margin:0;font-size:16px}.result-dl{margin:10px 0 0}.result-dl dt{color:var(--muted);margin-top:8px;font-size:13px}.result-dl dd{white-space:pre-wrap;margin:2px 0 0}.result-photos{flex-wrap:wrap;gap:8px;margin:10px 0 16px;display:flex}.result-photos img{object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:8px;width:auto;max-width:160px;max-height:120px}.schedule-line{margin:10px 0 0;font-size:14px}.meta-fill{background:#f8f9fb;margin:0 0 16px;padding:12px 14px}.photo-pick{border:1px dashed var(--line);border-radius:var(--radius);cursor:pointer;background:#fafbfc;justify-content:center;align-items:center;min-height:180px;margin:8px 0 14px;display:flex;position:relative;overflow:hidden}.photo-pick input{opacity:0;cursor:pointer;position:absolute;inset:0}.photo-placeholder{color:var(--muted);text-align:center;padding:24px;font-size:14px}.photo-preview{object-fit:contain;background:#fff;width:100%;max-height:240px;display:block}.preview-link{text-align:center;width:100%;margin:8px 0;display:block}.upload-page .card .btn.primary+.btn{width:100%;margin-top:8px}.upload-page .card .btn.primary{width:100%}.crop-mask{z-index:39;box-sizing:border-box;background:#1a1d24;flex-direction:column;max-width:560px;margin:0 auto;display:flex;position:fixed;inset:0}.crop-topbar{min-height:44px;padding:env(safe-area-inset-top) 8px 0;color:#fff;flex-shrink:0;align-items:center;display:flex}.crop-topbar h2{text-align:center;color:#fff;flex:1;margin:0;font-size:16px;font-weight:650}.crop-back,.crop-topbar-side{flex-shrink:0;width:44px}.crop-back{color:#fff;background:0 0;border:0;padding:0 8px;font-size:28px;line-height:1}.crop-stage{touch-action:none;-webkit-user-select:none;user-select:none;flex:1;min-height:0;position:relative;overflow:hidden}.crop-photo{object-fit:contain;pointer-events:none;background:#1a1d24;width:100%;height:100%;position:absolute;inset:0}.crop-frame{box-sizing:border-box;touch-action:none;cursor:move;border:2.5px solid #fff;border-radius:10px;position:absolute;box-shadow:0 0 0 9999px #00000047}.crop-handle{z-index:1;background:#fff;border-radius:50%;width:14px;height:14px;position:absolute;box-shadow:0 0 0 1px #00000029}.crop-handle.nw{cursor:nwse-resize;top:-7px;left:-7px}.crop-handle.ne{cursor:nesw-resize;top:-7px;right:-7px}.crop-handle.sw{cursor:nesw-resize;bottom:-7px;left:-7px}.crop-handle.se{cursor:nwse-resize;background:#3b82f6;width:18px;height:18px;bottom:-9px;right:-9px;box-shadow:0 0 0 2px #fff}.crop-handle.n{cursor:ns-resize;margin-left:-7px;top:-7px;left:50%}.crop-handle.s{cursor:ns-resize;margin-left:-7px;bottom:-7px;left:50%}.crop-handle.e{cursor:ew-resize;margin-top:-7px;top:50%;right:-7px}.crop-handle.w{cursor:ew-resize;margin-top:-7px;top:50%;left:-7px}.crop-actions{padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-radius:16px 16px 0 0;flex-shrink:0}.crop-action-row{gap:10px;display:flex}.crop-action-row .btn{flex:1;margin:0}.crop-actions .err,.crop-actions .ok{margin:0 0 8px}.crop-keep{border:1px solid var(--line);color:var(--ink);background:#f7f8fb;border-radius:10px;align-items:flex-start;gap:10px;margin:0 0 12px;padding:10px 12px;font-size:13px;line-height:1.45;display:flex}.crop-keep input{flex-shrink:0;width:16px;height:16px;margin-top:3px}.crop-keep strong{margin-bottom:2px;font-size:14px;font-weight:650;display:block}.note-original{margin:0 0 16px;padding:0}.note-original figcaption{color:var(--muted);margin-bottom:8px;font-size:13px}.note-original img{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;max-width:420px;height:auto;margin-bottom:8px;display:block}.note-original img:last-child{margin-bottom:0}.search-sheet-mask{z-index:40;pointer-events:none;background:#14182073;justify-content:center;align-items:flex-end;max-width:560px;margin:0 auto;transition:background .24s;display:flex;position:fixed;inset:0}.search-sheet-mask>.search-sheet{pointer-events:auto}.search-sheet-mask.is-leaving{background:#14182000}.search-sheet-mask.is-over-crop,.search-sheet-mask.is-over-crop.is-leaving{background:0 0}.search-sheet{width:100%;height:56vh;min-height:0;max-height:95vh;padding:0 16px calc(12px + env(safe-area-inset-bottom));will-change:height;background:#fff;border-radius:16px 16px 0 0;flex-direction:column;transition:height .28s ease-out,transform .24s ease-in;animation:.28s ease-out search-sheet-in;display:flex;overflow:hidden;box-shadow:0 -8px 28px #1418202e}.search-sheet.is-dragging{transition:none}.search-sheet.is-leaving{transition:transform .24s ease-in;transform:translateY(100%)}@keyframes search-sheet-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}.search-sheet-drag{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;flex-shrink:0;padding:10px 16px 8px}.search-sheet.is-dragging .search-sheet-drag{cursor:grabbing}.search-sheet-handle{background:#d0d5dd;border-radius:999px;width:36px;height:4px;margin:0 auto}.search-sheet-head{border-bottom:1px solid var(--line);flex-shrink:0;justify-content:space-between;align-items:center;gap:4px;min-height:44px;margin:0 -16px;padding:0 8px;display:flex}.search-sheet-sr{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.search-sheet-tabs{-webkit-overflow-scrolling:touch;flex:1;align-items:stretch;min-width:0;display:flex;overflow-x:auto}.search-sheet-tab{color:var(--muted);white-space:nowrap;background:0 0;border:0;flex-shrink:0;padding:10px 14px;font-size:15px;font-weight:600;position:relative}.search-sheet-tab.on{color:var(--ink)}.search-sheet-tab.on:after{content:"";background:var(--accent);border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:0;left:12px;right:12px}.search-sheet-close{color:var(--ink);background:0 0;border:0;flex-shrink:0;padding:4px 10px;font-size:26px;line-height:1}.search-sheet-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex:1;min-height:0;padding:4px 0 24px;overflow-y:auto}.search-sheet-body.is-sheet-dragging{touch-action:none;overflow:hidden}.search-sheet-foot{border-top:1px solid var(--line);background:#fff;flex-shrink:0;padding:8px 0 0}.search-sheet-foot .btn.primary{width:100%}.search-sheet-foot-row{gap:10px;display:flex}.search-sheet-foot-row .btn{flex:1;margin:0}.search-sheet-foot-row .btn.primary{width:auto}.sheet-edit-btn{flex-shrink:0;padding:4px 12px;font-size:14px}.sheet-edit{margin:8px 0 4px}.sheet-edit .field{margin-bottom:12px}.sheet-edit-hint{color:var(--muted);margin:0 0 12px;font-size:13px;line-height:1.5}.sheet-edit-actions{justify-content:flex-end;gap:10px;display:flex}.recog-head .tag{flex-shrink:0;margin-left:auto}.sheet-note-images{margin:0 0 14px}.sheet-note-images img{object-fit:contain;background:#f8f9fb;max-height:220px}.sheet-stem{margin:0 0 8px;font-size:16px;line-height:1.7}.sheet-stem p{white-space:pre-wrap;margin:0 0 12px}.sheet-stem p:last-child{margin-bottom:0}.sheet-answers{margin:0 0 8px;font-size:16px;line-height:1.7}.sheet-answers p{white-space:pre-wrap;margin:0 0 8px}.sheet-answer-state{color:var(--muted);margin:0 0 8px;font-size:14px;line-height:1.55}.sheet-answer-state .btn{margin-top:4px;padding-left:0}.preview-banner{color:var(--wait);background:#faf3e4;border-radius:8px;margin:12px 0;padding:10px 12px;font-size:13px;line-height:1.5}.recog-head{align-items:center;gap:8px;margin:4px 0 12px;display:flex}.recog-index{background:var(--accent);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;font-weight:650;display:inline-flex}.recog-head h3{flex:1;margin:0;font-size:16px;font-weight:650}.recog-more{color:var(--muted);letter-spacing:1px;background:0 0;border:0;padding:4px 6px;font-size:22px;line-height:1}.source-line{color:var(--muted);margin:0 0 4px;font-size:12px}.answer-title{margin:16px 0 10px;font-size:22px;font-weight:700;line-height:1.3}.analysis-label{margin:14px 0 8px;font-size:15px;font-weight:650}@media print{.no-print,.sub-header,.tabbar,.upload-paper,.paper-actions{display:none!important}.app-shell,.app-main,.review-paper{background:#fff;height:auto;overflow:visible}.exam-sheet{border:0;border-radius:0;padding:0}a{color:inherit;text-decoration:none}}
