@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.3p2_lha1f2xer.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.1qq4vpdcun5oj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.390ncx5urfkfu.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.21jp631_3pja2.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.31988l_ccedte.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.0r6juujl39pe6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
:root{--bg:#f6f7f9;--surface:#fff;--border:#e5e7eb;--text:#111827;--muted:#6b7280;--accent:#4f46e5;--accent-hover:#4338ca;--danger:#b91c1c;--danger-bg:#fef2f2;--success:#047857;--radius:12px;--shadow:0 1px 3px #0000000f, 0 1px 2px #0000000a}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--text);font-family:var(--font-geist-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;-webkit-font-smoothing:antialiased;line-height:1.5}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{margin:0 0 4px;line-height:1.25}.field{flex-direction:column;gap:6px;margin-bottom:14px;display:flex}.field label{color:var(--muted);font-size:13px;font-weight:600}.input{border:1px solid var(--border);width:100%;font:inherit;background:var(--surface);color:var(--text);border-radius:9px;outline:none;padding:9px 11px;font-size:14px}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #4f46e51f}.btn{font:inherit;cursor:pointer;background:var(--accent);color:#fff;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:9px 16px;font-size:14px;font-weight:600;transition:background .15s;display:inline-flex}.btn:hover{background:var(--accent-hover)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.secondary{background:var(--surface);color:var(--text);border-color:var(--border)}.btn.secondary:hover{background:#f3f4f6}.btn.danger{background:var(--danger)}.btn.block{width:100%}.alert{border-radius:9px;margin-bottom:14px;padding:10px 12px;font-size:13px}.alert.error{background:var(--danger-bg);color:var(--danger);border:1px solid #fecaca}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.muted{color:var(--muted)}.auth-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{width:100%;max-width:380px}.auth-card h1{font-size:22px}.auth-switch{color:var(--muted);text-align:center;margin-top:16px;font-size:13px}.shell{grid-template-columns:240px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;padding:20px 14px;display:flex}.brand{padding:4px 10px 18px;font-size:16px;font-weight:700}.nav{flex-direction:column;gap:2px;display:flex}.nav a{color:var(--text);border-radius:8px;padding:9px 10px;font-size:14px;font-weight:500;display:block}.nav a:hover{background:#f3f4f6;text-decoration:none}.nav a.active{color:var(--accent);background:#4f46e51a}.sidebar-footer{border-top:1px solid var(--border);margin-top:auto;padding-top:16px;font-size:13px}.content{max-width:960px;padding:28px 32px}.page-header{margin-bottom:22px}.page-header p{color:var(--muted);margin:0;font-size:14px}.grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;display:grid}.splash{min-height:100vh;color:var(--muted);place-items:center;display:grid}.toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;display:flex}.toolbar .url-form{flex:1;gap:8px;min-width:240px;display:flex}.toolbar .url-form .input{flex:1}.file-btn{position:relative;overflow:hidden}.file-btn input[type=file]{opacity:0;cursor:pointer;position:absolute;inset:0}.table{border-collapse:collapse;width:100%;font-size:14px}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;padding:11px 12px}.table th{text-transform:uppercase;letter-spacing:.03em;color:var(--muted);font-size:12px;font-weight:600}.table tbody tr:hover{background:#fafafa}.table .filename{word-break:break-word;font-weight:500}.table .num{font-variant-numeric:tabular-nums;color:var(--muted)}.badge{border:1px solid #0000;border-radius:999px;align-items:center;gap:5px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-flex}.badge .dot{background:currentColor;border-radius:50%;width:6px;height:6px}.badge.ready{color:var(--success);background:#ecfdf5;border-color:#a7f3d0}.badge.failed{color:var(--danger);background:var(--danger-bg);border-color:#fecaca}.badge.pending,.badge.processing{color:#b45309;background:#fffbeb;border-color:#fde68a}.badge.processing .dot,.badge.pending .dot{animation:1.2s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}.icon-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px;font-size:14px}.icon-btn:hover{color:var(--danger);background:var(--danger-bg)}.empty{text-align:center;color:var(--muted);padding:40px 20px}.spin{color:var(--muted);margin-left:8px;font-size:12px;display:inline-block}.section{margin-bottom:26px}.section h2{margin-bottom:12px;font-size:16px}.row{align-items:center;gap:8px;display:flex}.codebox{font-family:var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace;color:#e2e8f0;white-space:pre;background:#0f172a;border-radius:9px;margin:0;padding:12px 14px;font-size:12.5px;overflow-x:auto}.copy-btn{background:var(--surface);border:1px solid var(--border);cursor:pointer;white-space:nowrap;border-radius:8px;padding:6px 10px;font-size:13px;font-weight:600}.copy-btn:hover{background:#f3f4f6}.reveal{border-radius:var(--radius);background:#ecfdf5;border:1px solid #a7f3d0;margin-bottom:20px;padding:16px}.reveal h3{color:var(--success)}.reveal .warn{color:#92400e;margin:6px 0 12px;font-size:13px}.tag{border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600}.tag.active{color:var(--success);background:#ecfdf5}.tag.revoked{color:var(--muted);background:#f3f4f6}.meter{background:#eef2f7;border-radius:999px;height:8px;margin-top:8px;overflow:hidden}.meter>span{background:var(--accent);border-radius:999px;height:100%;display:block}.meter.warn>span{background:#d97706}.meter.full>span{background:var(--danger)}.stat-value{font-variant-numeric:tabular-nums;font-size:26px;font-weight:700}textarea.input{resize:vertical;min-height:84px;font-family:var(--font-geist-mono), ui-monospace, monospace;font-size:13px}.chat-log{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);height:360px;margin-bottom:12px;padding:14px;overflow-y:auto}.chat-msg{margin-bottom:12px;display:flex}.chat-msg.user{justify-content:flex-end}.chat-msg .bubble{white-space:pre-wrap;border-radius:12px;max-width:80%;padding:9px 12px;font-size:14px}.chat-msg.user .bubble{background:var(--accent);color:#fff}.chat-msg.assistant .bubble{color:var(--text);background:#f3f4f6}.chat-cites{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.chat-cites .chip{color:var(--accent);background:#eef2ff;border-radius:999px;padding:2px 8px;font-size:11px}
