:root{color-scheme:light;--bg:#f6f5f1;--ink:#232c29;--muted:#7c817c;--line:#e3e5dd;--accent:#cc552d;--green:#436951;--mono:ui-monospace,SFMono-Regular,Consolas,monospace;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input,summary{ -webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{border:0}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #cc552d88;outline-offset:5px}input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}[hidden]{display:none!important}.shell{max-width:1000px;padding:0 48px;margin:auto}.header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-weight:650;font-size:21px;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;width:34px;height:36px;background:var(--accent);color:white;border-radius:10px;font-size:20px}.brand-dot{color:var(--accent)}.quiet-link{font-size:13px;color:#626c64;display:flex;gap:12px}.intro{padding:70px 0 33px}.eyebrow{display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:2px;color:#657363}.status-dot{width:6px;height:6px;background:#6c8d67;border-radius:50%}h1{font-size:clamp(36px,5vw,54px);line-height:1.38;letter-spacing:-1.8px;font-weight:650;margin:19px 0 18px}.accent{color:var(--accent)}.lead{font-size:14px;line-height:1.8;color:#777f76;margin:0}.query-card{background:#fff;border:1px solid var(--line);box-shadow:0 8px 28px #26312604;border-radius:14px;padding:28px}.field-label{display:block;font-size:13px;font-weight:600;margin:0 0 12px}.search-row{display:flex;gap:10px}input[type=text]{background:#f9faf7;border:1px solid #dfe3da;border-radius:7px;min-width:0;width:100%;height:56px;padding:0 17px;font-size:17px;color:var(--ink)}input::placeholder{color:#a0a59e}button[type=submit],.primary-button{display:flex;justify-content:center;align-items:center;gap:35px;white-space:nowrap;border-radius:7px;padding:0 25px;min-height:52px;color:#fff;background:var(--ink);font-size:14px;font-weight:550;transition:background .15s}button[type=submit]:hover,.primary-button:hover{background:var(--green)}.field-hint{font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0 0}.result{border-top:1px solid var(--line);margin-top:24px;padding-top:24px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.result-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.result h2{font-size:22px;margin:0;line-height:1.5}.badge{font-size:11px;padding:3px 9px;border-radius:5px;white-space:nowrap;background:#eaf0e6;color:#426345}.matched .badge{color:#a84c2c;background:#fcf0e8}.sources{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}.sources li{font-size:12px;padding:6px 12px;background:#f6f6f1;border:1px solid var(--line);border-radius:6px;max-width:100%}.error{color:#b74431}.statistics{display:grid;grid-template-columns:repeat(3,1fr);margin:32px 0 50px}.statistics>div{display:flex;flex-direction:column;gap:9px;padding-left:30px;border-left:1px solid var(--line)}.statistics>div:first-child{padding-left:0;border-left:0}.statistics strong{font-family:var(--mono);font-size:22px;line-height:1.4;font-weight:500;letter-spacing:-.8px}.statistics span{font-size:11px;color:var(--muted)}.api-section{border-top:1px solid var(--line);padding-top:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading h2{font-size:15px;margin:0;font-weight:600}.mono{font-family:var(--mono);font-size:10px;letter-spacing:1px;color:var(--muted)}.code-block{position:relative;background:#eceedf66;border:1px solid var(--line);border-radius:9px;margin-top:18px;padding:22px 60px 22px 22px;overflow:auto}pre{font-family:var(--mono);font-size:12px;line-height:1.85;margin:0;tab-size:2}code{font-family:var(--mono)}.copy-button{position:absolute;top:12px;right:12px;font-size:11px;background:#fff;color:#686f65;padding:6px 9px;border:1px solid var(--line);border-radius:5px}.api-details{font-size:12px;color:#70796f;margin-top:18px;line-height:1.9}.api-details summary{width:fit-content}.response-example{margin:16px 0;padding:18px;background:#eeefe7;border-radius:8px;overflow:auto}.api-details p{overflow-wrap:anywhere}footer{margin:52px 0 30px;border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#92978e}footer span:first-child{font-family:var(--mono)}.admin-shell{max-width:1120px}.admin-title{padding:45px 0 25px}.admin-title h1{font-size:34px;letter-spacing:-1px;margin:0 0 10px}.admin-title p{color:var(--muted);font-size:13px;margin:0}.admin-panel{padding:28px;background:white;border:1px solid var(--line);border-radius:12px}.admin-panel h2{font-size:16px;margin:0 0 22px}.upload-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.file-input{width:100%;font-size:13px;border:1px dashed #c8d1c1;border-radius:7px;background:#f9faf7;padding:15px;min-height:56px}.file-input::file-selector-button{background:#e9eddf;border:0;border-radius:4px;color:var(--ink);padding:7px 12px;margin-right:10px;cursor:pointer}.upload-actions{display:flex;align-items:center;gap:20px;margin-top:22px}.upload-actions .field-hint{margin:0}.progress-list{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:10px}.progress-item{font-size:12px;padding:14px;background:#f6f7f1;border-radius:6px;overflow-wrap:anywhere}.progress-item p{margin:0 0 7px}.progress-item progress{width:100%;height:7px;accent-color:var(--green)}.history{margin-top:32px}.table-wrap{overflow:auto;margin-top:20px;border:1px solid var(--line);border-radius:9px;background:white}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{color:var(--muted);background:#f3f4ed;font-weight:500;white-space:nowrap}td,th{padding:15px 18px;border-bottom:1px solid var(--line)}td{vertical-align:top;max-width:270px;overflow-wrap:anywhere}tr:last-child td{border-bottom:0}.filename{display:block;color:var(--muted);font-size:11px;margin-top:5px}.small-button{background:white;border:1px solid var(--line);color:#596450;border-radius:5px;font-size:11px;padding:6px 10px;white-space:nowrap}.history-message{font-size:12px;color:var(--muted);margin-top:18px}.pagination{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin-top:16px;font-size:12px;color:var(--muted)}.admin-stats{margin-bottom:28px}.status-completed{color:#416749}.status-failed{color:#ad5237}.status-processing{color:#86722b}.empty-row{color:var(--muted);text-align:center;padding:35px}.admin-error{font-size:13px;color:#b74431;line-height:1.7;margin:15px 0 0}.account{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
@media(min-width:1100px){.shell:not(.admin-shell){max-width:960px}}@media(max-width:640px){.shell{padding:0 22px}.header{height:85px}.brand{font-size:18px;gap:9px}.brand-mark{width:30px;height:32px;font-size:18px}.quiet-link{font-size:12px;gap:6px}.intro{padding-top:44px}.lead{font-size:13px}h1{letter-spacing:-1px}.query-card{padding:20px}.search-row{gap:8px}.search-row input{height:52px;font-size:15px;padding:0 12px}button[type=submit]{gap:15px;padding:0 18px}.statistics{margin:26px 0 35px}.statistics>div{padding-left:16px}.statistics strong{font-size:17px}.statistics span{font-size:10px}.code-block{padding:42px 16px 16px}pre{font-size:11px}footer{margin-top:36px;font-size:9px;gap:12px;align-items:center}.upload-fields{grid-template-columns:1fr}.admin-panel{padding:20px}.upload-actions{flex-wrap:wrap}.admin-title h1{font-size:29px}.admin-title{padding-top:32px}.admin-shell .header{gap:16px}.account{max-width:190px;font-size:10px}td,th{padding:13px}.admin-stats{margin-top:20px}.statistics strong{overflow-wrap:anywhere}.section-heading .mono{font-size:9px}}

.query-main{padding:40px 0 36px}@media(max-width:640px){.query-main{padding-top:28px}}

.matched-entry{padding:18px 0;border-bottom:1px solid var(--line)}.matched-entry h3{font-size:18px;line-height:1.5;margin:0;font-weight:600}.matched-entry mark{background:#fcf0e8;color:inherit;border-radius:2px}.matched-entry:last-child{border-bottom:0;padding-bottom:0}.result-pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:20px;color:var(--muted);font-size:12px}

.history-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.selection-cell{width:44px;padding-right:0}.selection-cell input{width:16px;height:16px;margin:0;accent-color:var(--green);cursor:pointer}.history .table-wrap table{min-width:680px}@media(max-width:640px){.history>.section-heading{align-items:flex-start;flex-wrap:wrap}.history-actions{gap:6px}}
