:root{--paper:#f5f3ec;--ink:#273b31;--muted:#71766d;--line:#dcded3;--green:#254f3a;--white:#fffef9}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,sans-serif;font-size:14px}
a{color:inherit;text-decoration:none}
button,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.6}
button:focus-visible,a:focus-visible{outline:3px solid #8caa59;outline-offset:5px}
[hidden]{display:none!important}
.masthead,main{max-width:960px;margin:0 auto;padding:0 28px}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:36px;padding-bottom:28px}
.masthead h1{font-size:21px;font-weight:600;margin:0;letter-spacing:-.5px}
.masthead a{font-size:12px;color:var(--muted)}
form{background:var(--white);border:1px solid #cbd0c1;border-radius:7px;padding:16px}
.input-wrap{display:flex;gap:16px;align-items:center}
textarea{width:100%;resize:vertical;min-height:58px;border:0;outline:0;background:transparent;color:var(--ink);font-size:15px;line-height:1.6;padding:4px}
textarea::placeholder{color:#92988b}
form:focus-within{border-color:#6f8b59;box-shadow:0 0 0 3px #6f8b5912}
#search-button{background:var(--green);border:0;border-radius:5px;color:white;padding:13px 22px;white-space:nowrap}
#search-button:hover{background:#346447}
.archive-meta{display:flex;gap:16px;font-size:11px;color:var(--muted);margin:12px 2px 24px}
.notice{font-size:12px;line-height:1.7;border-left:3px solid #a9905a;background:#f0eadd;padding:13px 17px}
.search-state{margin:24px 0;background:#edf0e4;border:1px solid #dbe1cc;padding:20px;border-radius:7px}
.state-top{display:flex;justify-content:space-between;align-items:center;gap:15px}
.meta-label{color:var(--muted);font-size:9px;letter-spacing:1px;display:block;margin-bottom:8px}
.state-top h2{font-size:15px;font-weight:500;margin:0 0 16px}
.secondary{background:transparent;border:1px solid #bfc9b0;border-radius:4px;font-size:12px;padding:7px 13px}
.progress-track{height:3px;background:#d9e0ce;border-radius:2px;overflow:hidden}
#progress-bar{height:100%;width:0;background:#5d7d44;transition:width .4s}
.progress-details{display:flex;justify-content:space-between;gap:15px;margin-top:10px;font-size:11px;color:var(--muted)}
.results-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 20px}
.results-heading h2{font-size:20px;font-weight:500;margin:0}
.results-heading h2 span{font-size:11px;background:#e2e8d4;padding:4px 8px;border-radius:20px;vertical-align:middle;margin-left:5px}
.text-button{border:0;background:none;font-size:12px;color:#60734e}
.result-card{padding:24px;border:1px solid var(--line);background:var(--white);border-radius:7px;margin-bottom:16px}
.result-meta{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:10px}
.result-card h3{font-size:20px;font-weight:500;line-height:1.4;margin:14px 0;overflow-wrap:anywhere}
.result-card h3 a:hover{text-decoration:underline}
.result-card blockquote{border-left:2px solid #a4b385;padding:3px 0 3px 18px;margin:17px 0;color:#4c5848;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.relevance{color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:0}
.result-card details{margin-top:20px;color:var(--muted);font-size:11px}
.result-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.6}
.unverified{font-size:11px;color:#9a753e}
.chunk-heading{font-size:10px;letter-spacing:1px;color:var(--muted);margin:26px 0 12px}
#results-section{margin-bottom:48px}
.empty-result{padding:20px;color:var(--muted);border:1px dashed #cbd3bf;font-size:13px;line-height:1.8}
.error-text{color:#985542}
@media(max-width:550px){.masthead,main{padding-left:18px;padding-right:18px}.masthead{padding-top:25px;padding-bottom:22px}.masthead h1{font-size:19px}.masthead a{font-size:10px}.input-wrap{flex-wrap:wrap;gap:12px}textarea{min-height:75px}#search-button{width:100%;padding:12px}.search-state{padding:16px}.result-card{padding:18px}.result-card h3{font-size:18px}.progress-details{line-height:1.6}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.model-credit{margin:14px 2px 0;font-size:13px;font-weight:500;color:var(--ink)}
