:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#203433;background:#f3f6f5;font-synthesis:none;--teal:#147b70;--muted:#708280;--line:#dce5e2}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea,summary{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}[hidden]{display:none!important}header{background:#0b2928;color:white;padding:25px 40px;display:flex;justify-content:space-between;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:16px;color:inherit;text-decoration:none;font-size:27px;font-weight:750;letter-spacing:-.6px}.brand small{display:block;font-size:14px;font-weight:400;color:#a5bcb7;letter-spacing:0;margin-top:5px}.logo{width:55px;height:55px;background:#fff;border-radius:50%;color:#173f3a;display:flex;align-items:center;justify-content:center;font-size:37px;position:relative}.logo span{color:#49b8a3;font-size:26px;position:absolute;right:6px;top:0}.header-right{display:flex;gap:20px;align-items:center}.privacy{font-size:14px;color:#8dd7c9;border:1px solid #31635b;padding:11px 14px;border-radius:7px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#42b79f;margin-right:7px;flex-shrink:0}.ghost{color:#b3cbc5;background:transparent;border:1px solid #31635b;border-radius:7px;padding:10px 15px}main{max-width:1320px;margin:auto;padding:42px 36px}.card{background:white;border:1px solid var(--line);border-radius:13px;padding:28px}.login{max-width:600px;margin:35px auto;padding:42px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.7px;color:var(--teal)}h1{font-size:30px;line-height:1.25;letter-spacing:-.8px;font-weight:650;margin:14px 0 20px}h2{font-size:19px;letter-spacing:-.4px;margin:0;font-weight:650}h3{font-size:17px}p{line-height:1.6}.muted{color:var(--muted);font-size:16px}.login form{margin-top:30px}.login .primary{width:100%;justify-content:space-between;margin-top:8px}.local-note{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:22px;margin-top:28px}.hint{font-size:13px;color:var(--muted);line-height:1.6;margin:10px 0 0}label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}input,textarea{border:1px solid #cad8d3;border-radius:7px;padding:13px 14px;background:white;color:#203433;width:100%;min-width:0}input:focus,textarea:focus{border-color:var(--teal);outline:2px solid #cfebe3}input::placeholder,textarea::placeholder{color:#99aaa5}.primary,.secondary{border:0;border-radius:7px;padding:13px 19px;display:inline-flex;align-items:center;justify-content:center;gap:25px;font-size:14px;font-weight:600;white-space:nowrap}.primary{background:var(--teal);color:white}.primary:hover:not(:disabled){background:#10685f}.secondary{background:#ecf3f0;color:#2e5d51;border:1px solid var(--line)}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.page-heading h1{margin:10px 0 0;font-size:28px}.profile{font-size:13px;color:var(--muted)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.content{display:grid;gap:22px;min-width:0}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:24px}.number{font-size:13px;color:var(--teal);border:1px solid #cce3da;padding:6px;border-radius:5px;margin-right:9px;vertical-align:2px}.tag{font-size:12px;color:#72877e;background:#f2f6f4;border:1px solid #e5ebe7;padding:6px 9px;border-radius:5px;white-space:nowrap}.input-row{display:flex;gap:10px}.input-row input{flex:1}details{margin-top:23px;padding-top:20px;border-top:1px solid #edf1ef}summary{font-size:14px;cursor:pointer;color:#55796b}details label{margin-top:20px}details button{margin-top:10px}.steps{display:grid;grid-template-columns:repeat(3,1fr);background:#f2f8f5;border:1px dashed #96c6b7;border-radius:9px;padding:22px 18px;gap:14px}.steps div+div{border-left:1px solid #d6e5dc;padding-left:18px}.steps span{color:#27836d;font-size:12px;display:block;margin-bottom:8px}.steps strong{font-size:15px;font-weight:600}.steps p{font-size:12px;color:var(--muted);margin:5px 0 0}.ai-note{display:flex;gap:5px;margin:24px 0;align-items:baseline}.ai-note strong{font-size:14px;font-weight:500}.ai-note p{font-size:12px;color:var(--muted);margin:6px 0 0;max-width:580px}.actions{display:flex;gap:12px}.history{padding:25px 22px}.history .section-title{margin-bottom:0}.count{background:#f0f5f2;color:#73867c;font-size:12px;border-radius:5px;padding:4px 8px}.empty{padding:35px 6px;text-align:center}.empty-symbol{font-size:28px;color:#98b4a7}.empty strong{display:block;font-size:14px;font-weight:500;margin-top:15px}.history-footer{border-top:1px solid var(--line);padding-top:17px;font-size:11px;color:#84958c}.history-item{padding:15px 0;border-bottom:1px solid var(--line)}.history-item button{background:none;border:0;padding:0;text-align:left;color:#245948;font-size:14px;word-break:break-word}.history-item small{display:block;font-size:12px;color:#87958f;margin:5px 0 10px}.history-item .delete{font-size:12px;color:#8c6b62}.corpus-top{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:25px}.text-button{background:none;border:0;color:var(--teal);font-size:13px}.page-option{display:flex;align-items:flex-start;gap:10px;margin:10px 0;padding:10px;background:#f5f8f6;border-radius:5px;font-size:13px;font-weight:400}.page-option input{width:16px;margin-top:3px;flex-shrink:0}.page-option span{overflow-wrap:anywhere}.page-option small{display:block;color:#86958f;margin-top:4px}#page-list{max-height:300px;overflow:auto}#status{padding:17px 22px;background:#e5f1eb;border:1px solid #bdd7ca;border-radius:8px;font-size:14px;overflow-wrap:anywhere}#status.error{background:#fff0e9;border-color:#e4c6b9;color:#923c22}footer{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#88988f;margin-top:35px;padding-top:22px;border-top:1px solid var(--line)}#report{overflow-wrap:anywhere}#report h2{margin:30px 0 16px}#report h2:first-child{margin-top:0}.report-meta{font-size:13px;color:var(--muted)}.report-block{border-top:1px solid var(--line);padding:16px 0}.report-block h3{margin-top:0}.report-block p{font-size:14px;margin:8px 0}.report-block a{color:var(--teal);font-size:13px}.strength{display:inline-block;font-size:11px;padding:4px 7px;background:#edf5f0;color:#3d7f63;border-radius:4px}.report-list{font-size:14px;line-height:1.7;padding-left:20px}.report-list li{margin-bottom:8px}blockquote{margin:12px 0;padding:9px 15px;background:#f4f7f5;border-left:3px solid #92b9a6;font-size:13px;line-height:1.6}@media(max-width:1050px){header{padding:22px 25px}.privacy{display:none}.layout{grid-template-columns:minmax(0,1fr) 245px}.tag{display:none}.card{padding:23px}.input-row{flex-direction:column}.profile{display:none}}@media(max-width:760px){header{padding:18px}.brand{font-size:23px}.brand small{font-size:11px}.logo{width:43px;height:43px;font-size:30px}.header-right{gap:0}main{padding:28px 16px}.layout{grid-template-columns:1fr}.page-heading h1{font-size:25px}.login{margin:5px auto;padding:28px 24px}h1{font-size:27px}.steps{padding:17px 12px;gap:8px}.steps div+div{padding-left:12px}.steps strong{font-size:13px}.steps p{font-size:11px}.section-title h2{font-size:17px}.actions{flex-wrap:wrap}footer{flex-direction:column;gap:7px}.history-footer{margin-top:15px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s ease}}@media print{header,.history,.content>.card:not(#report),.page-heading,footer,#status{display:none!important}main{padding:0}.layout,.content{display:block}#report{border:0;padding:0}#report button{display:none}}

.download-actions{display:flex;gap:8px;flex-wrap:wrap}.download-actions.compact{margin:8px 0 13px;gap:14px}.history-item .download-actions button{font-size:12px;color:var(--teal)}.report-title{flex-wrap:wrap;align-items:flex-start}.report-title h2{margin:0!important}
.export-note{margin:14px 0 0;color:var(--muted);font-size:13px}
.technical-details{margin-top:18px;padding-top:14px}.technical-details summary{font-size:13px}.audit-card{border:1px solid var(--line);border-radius:10px;padding:18px 20px;margin:12px 0;background:#fbfcfb}.audit-field{font-size:15px;line-height:1.55;margin:8px 0}.audit-field strong{font-weight:650}.evidence-details{margin-top:15px;padding-top:13px}.evidence-details .audit-field,.evidence-details blockquote{font-size:13px}.evidence-details a{display:inline-block;margin:10px 0 0 10px;color:var(--teal);font-size:13px}

footer>span{flex:1;line-height:1.6}footer>span:last-child{text-align:right}footer a{color:var(--teal);text-underline-offset:3px;overflow-wrap:anywhere}@media(max-width:760px){footer>span:last-child{text-align:left}}

.audit-field,blockquote{white-space:pre-line}

#history-list{max-height:min(440px,55vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:8px;margin-top:8px}#history-list:focus-visible{outline:2px solid var(--teal);outline-offset:3px}@media(max-width:760px){#history-list{max-height:320px}}

.model-label{margin-top:22px}select{font:inherit;width:100%;padding:12px;border:1px solid #cad8d3;border-radius:7px;background:white;color:#203433}
