@layer components{.callout-note{background:#f59f0a12;border:1px solid #f59f0a59;border-radius:12px;margin:14px 0 0;padding:12px 14px;font-size:14px;line-height:1.55}.callout-note a{color:hsl(var(--primary));text-underline-offset:2px;font-weight:500;text-decoration:underline}.link-btn{font:inherit;color:hsl(var(--primary));cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;font-weight:500;text-decoration:underline}.tool-foot .acts{flex-wrap:wrap;justify-content:flex-end;align-items:center}.chip-btn.ic{align-items:center;gap:6px;display:inline-flex}.chip-btn.ic svg{width:15px;height:15px}.tone-keep .page-thumb img,.tone-gray .page-thumb img{filter:grayscale()}.tone-bw .page-thumb img{filter:grayscale()contrast(3)brightness(1.1)}.page-thumb.rs-sheet{width:100%;max-height:220px;box-shadow:inset 0 0 0 1px hsl(var(--border));cursor:default;background:#fff;margin:0 auto;padding:0}.rs-sheet img{object-fit:fill;max-width:none;max-height:none;box-shadow:0 0 0 1px #0000001f}.box-layer{cursor:crosshair;touch-action:none;position:absolute;inset:0}.box{touch-action:none;cursor:move;position:absolute}.box-layer.redact .box{background:#000000d1;box-shadow:0 0 0 1px #000000e6}.box-layer.redact .box.sel{box-shadow:0 0 0 2px hsl(var(--primary))}.box-layer.fields .box{border:1.5px dashed hsl(var(--primary));background:hsl(var(--primary) / .12);border-radius:3px}.box-layer.fields .box.sel{background:hsl(var(--primary) / .2);box-shadow:0 0 0 3px hsl(var(--primary) / .2);border-style:solid}.box-h{cursor:nwse-resize;touch-action:none;background:#fff;border-radius:3px;width:12px;height:12px;position:absolute;bottom:-6px;right:-6px;box-shadow:0 1px 4px #0006}.box:not(.sel) .box-h{opacity:0}.box:hover .box-h{opacity:1}.box-del{background:hsl(var(--destructive));color:#fff;cursor:pointer;border:0;border-radius:99px;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:-12px;right:-12px;box-shadow:0 2px 6px #0000004d}.box-del svg{width:13px;height:13px}.box-tag{white-space:nowrap;text-overflow:ellipsis;max-width:calc(100% - 8px);color:hsl(var(--primary));pointer-events:none;font-size:11px;font-weight:500;position:absolute;top:50%;left:4px;overflow:hidden;transform:translateY(-50%)}@media (hover:none){.box .box-h{opacity:1;width:16px;height:16px;bottom:-8px;right:-8px}}.pv-form .pv-layer>.ff{box-sizing:border-box;color:#0b1220;resize:none;background:#eef4fe;border:1px solid #3c83f68c;border-radius:2px;outline:none;margin:0;padding:0 3px;font-family:Helvetica,Arial,sans-serif;line-height:1.15;position:absolute}.pv-form .pv-layer>.ff:focus{background:#e3edfd;border-color:#0b64f4;box-shadow:0 0 0 2px #3c83f640}.pv-form .pv-layer>.ff:disabled{opacity:.6}.pv-form .pv-layer>textarea.ff{padding-top:2px}.pv-form .ff-check{cursor:pointer;place-items:center;padding:0;display:grid}.pv-form .ff-check input{accent-color:#0b64f4;cursor:pointer;width:80%;max-width:18px;height:80%;max-height:18px;margin:0}.pv-form .ff-radio{border-radius:99px}.ff-opts{border:1px solid hsl(var(--input));background:hsl(var(--background));width:100%;color:hsl(var(--foreground));font:inherit;resize:vertical;border-radius:8px;padding:6px 8px;font-size:13px}.cmp-slots{grid-template-columns:1fr 1fr;gap:12px;display:grid}.cmp-slots .frow{margin:0}.cmp-swap{cursor:pointer;position:relative}@media (max-width:640px){.cmp-slots{grid-template-columns:1fr}}.cmp-legend{color:hsl(var(--muted-foreground));flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;font-size:13px;display:flex}.cmp-legend .sw{border-radius:3px;width:12px;height:12px;display:inline-block}.cmp-legend .sw.red{background:#dc2626}.cmp-legend .sw.green{background:#16a34a}.cmp-text{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:12px;max-height:620px;margin-top:16px;padding:16px 18px;font-size:14px;line-height:1.6;overflow:auto}.cmp-text p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.cmp-text del,.cmp-legend del{color:#b91c1c;background:#dc262624;border-radius:3px;padding:0 1px;-webkit-text-decoration:line-through #dc262699;text-decoration:line-through #dc262699}.cmp-text ins,.cmp-legend ins{color:#15803d;background:#16a34a26;border-radius:3px;padding:0 1px;text-decoration:none}[data-theme=dark] .cmp-text del,[data-theme=dark] .cmp-legend del{color:#fca5a5;background:#f871712e}[data-theme=dark] .cmp-text ins,[data-theme=dark] .cmp-legend ins{color:#86efac;background:#4ade8029}.cmp-eq{color:hsl(var(--muted-foreground));padding:4px 0}.cmp-skip{opacity:.8;padding:2px 0;font-size:12px;font-style:italic}.cmp-chg{border-left:3px solid hsl(var(--primary));background:hsl(var(--muted) / .45);border-radius:0 8px 8px 0;margin:6px 0;padding:8px 10px 8px 12px;position:relative}.cmp-pg{letter-spacing:.02em;text-transform:uppercase;color:hsl(var(--muted-foreground));margin-bottom:2px;font-size:11px;font-weight:600;display:inline-block}.cmp-visual{margin-top:16px}.cmp-stage{min-height:240px;box-shadow:0 0 0 1px hsl(var(--border));background:#fff;border-radius:10px;place-items:center;display:grid;overflow:hidden}.cmp-stage img{width:100%;height:auto;display:block}.cmp-stage .page-loading{width:60%;height:300px}.scan-cam{justify-content:center;margin-top:12px;display:flex}.scan-cam label,.tool-foot label.btn{cursor:pointer;position:relative}@media (hover:hover) and (pointer:fine){.scan-cam,.scan-camera{display:none}}.scan-work{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:20px;display:grid}@media (max-width:720px){.scan-work{grid-template-columns:1fr}}.scan-cap{color:hsl(var(--muted-foreground));align-items:center;gap:6px;margin:0 0 8px;font-size:13px;font-weight:500;display:flex}.scan-cap svg{width:15px;height:15px}.scan-stage{background:hsl(var(--muted));touch-action:none;-webkit-user-select:none;user-select:none;border-radius:8px;width:100%;max-height:620px;margin:0 auto;position:relative;overflow:visible}.scan-stage>img{pointer-events:none;border-radius:8px;width:100%;height:100%;display:block}.scan-stage svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.scan-stage polygon{fill:hsl(var(--primary) / .14);stroke:hsl(var(--primary));stroke-width:.5px;vector-effect:non-scaling-stroke;stroke-width:2px}.scan-h{border:3px solid hsl(var(--primary));cursor:grab;touch-action:none;background:#fff;border-radius:99px;width:26px;height:26px;margin:-13px 0 0 -13px;position:absolute;box-shadow:0 2px 8px #00000059}.scan-h:focus-visible{outline:3px solid hsl(var(--primary) / .4);outline-offset:2px}.scan-btns{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.scan-out img{width:100%;box-shadow:0 0 0 1px hsl(var(--border)), 0 14px 34px -22px #00000073;background:#fff;border-radius:6px;display:block}.scan-out .page-loading{aspect-ratio:3/4;width:100%;height:auto;display:block}.scan-strip{gap:10px;margin-top:16px;padding:4px 2px 6px;display:flex;overflow-x:auto}.scan-thumb{flex:none;justify-items:center;gap:4px;display:grid;position:relative}.scan-thumb>button:first-child{background:hsl(var(--muted));cursor:pointer;border:2px solid #0000;border-radius:8px;width:72px;height:92px;padding:0;position:relative;overflow:hidden}.scan-thumb.on>button:first-child{border-color:hsl(var(--primary))}.scan-thumb img{object-fit:cover;width:100%;height:100%}.scan-thumb span{color:#fff;background:#000000a6;border-radius:99px;min-width:18px;padding:0 4px;font-size:11px;font-weight:600;position:absolute;bottom:4px;left:4px}.scan-thumb .icon-btn{width:26px;height:26px}.scan-add{border:1.5px dashed hsl(var(--border));text-align:center;width:72px;height:92px;color:hsl(var(--muted-foreground));cursor:pointer;border-radius:8px;flex:none;place-items:center;font-size:12px;font-weight:500;display:grid;position:relative}.scan-add:hover{border-color:hsl(var(--primary));color:hsl(var(--primary))}@media (max-width:820px){.cf-split .pv-side{order:-1;gap:10px;padding:12px 14px}}@media (max-width:720px){.scan-out img{width:auto;max-width:100%;max-height:62vh;margin:0 auto}}}
@layer components{.lorem-out{gap:8px;display:grid}.lorem-text,.lorem-code{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:12px;max-height:60vh;margin:0;padding:16px 18px;overflow:auto}.lorem-text{font-size:15px;line-height:1.7}.lorem-text p{margin:0 0 12px}.lorem-text p:last-child{margin-bottom:0}.lorem-text ul{margin:0;padding-left:20px;list-style:outside}.lorem-text li+li{margin-top:4px}.lorem-code{font-family:var(--font-mono);white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.lorem-code:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.nb-input{gap:6px;display:grid}.nb-input label{color:hsl(var(--muted-foreground));font-size:13px;font-weight:500}.nb-field{border:1px solid hsl(var(--input));background:hsl(var(--background));width:100%;height:52px;color:hsl(var(--foreground));font-family:var(--font-mono);letter-spacing:.02em;border-radius:12px;outline:none;padding:0 16px;font-size:22px;transition:border-color .15s,box-shadow .15s}.nb-field:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring) / .2)}.nb-field[aria-invalid=true]{border-color:hsl(var(--destructive));box-shadow:0 0 0 3px hsl(var(--destructive) / .15)}.nb-hint{color:hsl(var(--muted-foreground));margin:0;font-size:12.5px}.nb-hint.err{color:hsl(var(--destructive));font-weight:500}.nb-results{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:16px 0 0;padding:0;list-style:none;display:grid}.nb-card{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:12px;align-items:flex-start;gap:6px;padding:4px 6px 4px 4px;transition:border-color .15s,background .15s;display:flex;position:relative}.nb-card.on{border-color:hsl(var(--primary));background:hsl(var(--primary) / .06)}.nb-card.from{background:hsl(var(--muted) / .5)}.nb-pick{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;flex:1;gap:4px;padding:10px 12px;display:grid}.nb-pick:disabled{cursor:default}.nb-pick:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:-2px}.nb-name{font-size:12.5px;font-weight:600}.nb-name .muted{font-weight:400}.nb-val{font-family:var(--font-mono);overflow-wrap:anywhere;font-size:17px;line-height:1.4}.nb-sub{color:hsl(var(--muted-foreground));font-size:12px;font-family:var(--font-mono);overflow-wrap:anywhere}.nb-card .icon-btn{flex:none;margin-top:8px}.nb-work{border:1px solid hsl(var(--border));background:hsl(var(--muted) / .35);border-radius:12px;margin-top:18px;padding:16px 18px}.nb-work h3{margin:0 0 10px;font-size:14px;font-weight:600}.nb-work h3 .muted{font-size:12.5px;font-weight:400}.nb-work ol{font-family:var(--font-mono);gap:6px;margin:0;padding-left:22px;font-size:13.5px;line-height:1.55;list-style:decimal;display:grid}.nb-work li{overflow-wrap:anywhere}.nb-work li::marker{color:hsl(var(--muted-foreground));font-size:12px}.nb-note{background:hsl(var(--primary) / .1);color:hsl(var(--primary));font-family:var(--font-sans);white-space:nowrap;border-radius:99px;margin-left:10px;padding:1px 8px;font-size:11.5px;font-weight:600}.nb-answer{border-top:1px dashed hsl(var(--border));font-family:var(--font-mono);overflow-wrap:anywhere;margin:12px 0 0;padding-top:10px;font-size:16px;font-weight:600}.tc-pane{min-width:0}.tc-head-acts{align-items:center;gap:12px;display:inline-flex}.tc-head-acts .link-btn{font-size:12.5px}.tc-result{padding:0 18px 16px}.tc-same{color:#15803d;background:#16a34a1a;border-radius:12px;align-items:center;gap:8px;margin:0;padding:14px 16px;font-weight:500;display:flex}.tc-same svg{flex:none;width:18px;height:18px}[data-theme=dark] .tc-same{color:#86efac}.tc-summary{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;font-size:13px;display:flex}.tc-chip{border-radius:99px;padding:2px 10px;font-size:12.5px;font-weight:600}.tc-chip.chg{background:hsl(var(--primary) / .12);color:hsl(var(--primary))}.tc-chip.del{color:#b91c1c;background:#dc26261f}.tc-chip.ins{color:#15803d;background:#16a34a21}[data-theme=dark] .tc-chip.del{color:#fca5a5}[data-theme=dark] .tc-chip.ins{color:#86efac}.tc-diff{border:1px solid hsl(var(--border));background:hsl(var(--background));max-height:70vh;font-family:var(--font-mono);border-radius:12px;font-size:13px;line-height:1.55;overflow:auto}.tc-row{display:grid}.tc-diff.split .tc-row{grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr)}.tc-diff.unified .tc-row{grid-template-columns:auto 22px minmax(0,1fr)}.tc-n{text-align:right;min-width:3.2em;color:hsl(var(--muted-foreground));-webkit-user-select:none;user-select:none;background:hsl(var(--muted) / .45);border-right:1px solid hsl(var(--border));padding:1px 8px;font-size:12px}.tc-diff.split .tc-n:nth-child(3){border-left:1px solid hsl(var(--border))}.tc-s{text-align:center;-webkit-user-select:none;user-select:none;padding:1px 0;font-weight:700}.tc-t{white-space:pre-wrap;overflow-wrap:anywhere;min-height:1.55em;padding:1px 10px}.tc-t.del,.tc-s.del,.tc-n.del{background:#dc262614}.tc-t.ins,.tc-s.ins,.tc-n.ins{background:#16a34a17}.tc-s.del{color:#b91c1c}.tc-s.ins{color:#15803d}.tc-t.empty,.tc-n.empty{background:repeating-linear-gradient(135deg, transparent 0 6px, hsl(var(--muted) / .7) 6px 7px)}.tc-t del{color:inherit;background:#dc262638;border-radius:3px;-webkit-text-decoration:line-through #dc26268c;text-decoration:line-through #dc26268c}.tc-t ins{color:inherit;background:#16a34a40;border-radius:3px;text-decoration:none}[data-theme=dark] .tc-t.del,[data-theme=dark] .tc-s.del,[data-theme=dark] .tc-n.del{background:#f871711a}[data-theme=dark] .tc-t.ins,[data-theme=dark] .tc-s.ins,[data-theme=dark] .tc-n.ins{background:#4ade8017}[data-theme=dark] .tc-s.del{color:#fca5a5}[data-theme=dark] .tc-s.ins{color:#86efac}[data-theme=dark] .tc-t del{background:#f8717147}[data-theme=dark] .tc-t ins{background:#4ade8040}.tc-fold{border:0;border-block:1px dashed hsl(var(--border));background:hsl(var(--muted) / .5);width:100%;color:hsl(var(--primary));font:inherit;font-family:var(--font-sans);text-align:left;cursor:pointer;padding:5px 12px;font-size:12.5px;font-weight:500;display:block}.tc-fold:hover{background:hsl(var(--muted))}.tc-fold:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:-2px}@media (max-width:640px){.tc-view{display:none}}.md-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:16px 18px;display:grid}@media (max-width:860px){.md-split{grid-template-columns:1fr}}.md-editor{min-width:0}.md-box{height:640px;max-height:75vh}@media (max-width:860px){.md-box{height:360px}}.md-preview{flex-direction:column;gap:6px;min-width:0;display:flex}.md-pages{background:hsl(var(--muted) / .6);border-radius:12px;gap:14px;height:640px;max-height:75vh;padding:14px;transition:opacity .2s;display:grid;overflow:auto}@media (max-width:860px){.md-pages{height:auto;max-height:80vh}}.md-pages.stale{opacity:.8}.md-page{margin:0}.md-page img{background:#fff;border-radius:2px;width:100%;height:auto;display:block;box-shadow:0 1px 3px #0000001a,0 18px 40px -22px #140a3c59}.md-page figcaption{text-align:center;color:hsl(var(--muted-foreground));margin-top:6px;font-size:11.5px}.md-page-skel{aspect-ratio:210/297;background:#fff;border-radius:2px;box-shadow:0 1px 3px #00000014}.md-more{text-align:center;margin:0;font-size:12.5px}.ra-resume{border:1px solid hsl(var(--primary) / .3);background:hsl(var(--primary) / .06);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:10px 0 0;padding:10px 14px;font-size:14px;display:flex}.ra-resume span{margin-right:auto}.ra-text{border:1px solid hsl(var(--border));background:hsl(var(--background));scroll-behavior:auto;border-radius:12px;max-height:62vh;margin-top:12px;padding:18px 20px;font-size:16.5px;line-height:1.8;overflow:auto}.ra-page{letter-spacing:.04em;text-transform:uppercase;color:hsl(var(--muted-foreground));margin:18px 0 6px;font-size:11.5px;font-weight:600;display:block}.ra-page:first-child{margin-top:0}.ra-br{height:10px;display:block}.ra-s{color:inherit;font:inherit;line-height:inherit;text-align:left;cursor:pointer;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:0 0;border:0;border-radius:4px;margin:0 -2px;padding:1px 2px;transition:background .2s,color .2s;display:inline}.ra-s:hover{background:hsl(var(--muted))}.ra-s.done{color:hsl(var(--muted-foreground))}.ra-s.on{background:hsl(var(--primary) / .16);color:hsl(var(--foreground));box-shadow:0 0 0 1px hsl(var(--primary) / .35)}.ra-s:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:1px}.ra-play{min-width:128px}@media (max-width:560px){.ra-text{padding:14px;font-size:15.5px}}.guidance code{background:hsl(var(--muted));font-family:var(--font-mono);white-space:nowrap;font-variant-ligatures:none;font-feature-settings:"calt" 0, "liga" 0;border-radius:5px;padding:1px 6px;font-size:.9em}.md-box{font-variant-ligatures:none;font-feature-settings:"calt" 0, "liga" 0}}
