:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182f39;background:#f5f7f7;font-size:14px}*{box-sizing:border-box}body{margin:0}header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid #dbe4e4;background:white}.brand{display:flex;gap:14px;align-items:center;color:#168576;font-size:26px;font-weight:800}.brand span{font-size:17px;color:#153f41;font-weight:600}.local{font-size:12px;color:#68807d;border:1px solid #dfe8e6;padding:8px 12px;border-radius:20px}main{display:grid;grid-template-columns:minmax(380px,44%) minmax(0,56%);height:calc(100vh - 72px)}.conversation{display:flex;flex-direction:column;min-height:0;border-right:1px solid #dbe4e4;background:#fff}#messages{overflow:auto;flex:1;padding:30px 28px}article{margin-bottom:24px;line-height:1.65;overflow-wrap:anywhere}.assistant{padding:2px 4px}.user{padding:14px 18px;background:#edf5f2;border:1px solid #e1ebe7;border-radius:14px;margin-left:42px;white-space:pre-wrap}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#56766f}h1{font-size:36px;line-height:1.2;letter-spacing:-1.4px;font-weight:550;margin:24px 0 18px}.welcome p{max-width:390px;color:#657977}.suggestion{margin-top:18px;border:1px solid #cbded7;background:#fff;padding:12px 16px;border-radius:8px;color:#206657}.status{color:#5a7d70;font-size:13px;padding:10px 0}.status:before{content:'●';color:#269c78;margin-right:8px;animation:pulse 1.5s infinite}button,select{font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:wait}#composer{margin:14px 22px 22px;border:1px solid #d0ded8;border-radius:12px;padding:14px;background:#fff;box-shadow:0 4px 24px #234b3d08}textarea{font:inherit;border:0;width:100%;resize:vertical;min-height:48px;max-height:180px;outline:none;color:#182f39}.composer-bottom{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#7d8b88}#send{background:#176a56;color:white;border:0;border-radius:7px;padding:9px 17px}.workspace{overflow:auto;padding:28px 30px;background:#f6f8f7}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:12px}h2{font-size:23px;letter-spacing:-.6px;font-weight:550;margin:10px 0 24px}#report-picker{max-width:210px;border:1px solid #d7e2dc;border-radius:6px;padding:8px;background:white}#report-empty{text-align:center;margin:22vh auto 0;max-width:320px;color:#758780;line-height:1.7}.empty-icon{font-size:38px;color:#a1b4aa}h3{font-size:16px;font-weight:600;color:#25483b}.muted{color:#72837c;font-size:12px}.report-card{background:white;border:1px solid #dde5e0;border-radius:10px;padding:20px;margin:16px 0}.report-card h3{margin:0 0 14px}.report-title{font-size:21px;font-weight:600}.score{display:flex;gap:18px;align-items:center;margin:16px 0}.score strong{font-size:32px;color:#a74b32}.badge{padding:5px 10px;border-radius:20px;background:#fff0e9;color:#a74b32;font-weight:600}.tabs{display:flex;gap:7px;flex-wrap:wrap;position:sticky;top:-28px;background:#f6f8f7;padding:12px 0;z-index:1}.tabs button,.download{border:1px solid #d7e2dc;background:white;border-radius:6px;padding:8px 10px;color:#345e4d;text-decoration:none;font-size:12px}.tabs button.active{background:#e0eee7;border-color:#9bbbaf}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5}th{text-align:left;color:#5c7267;background:#f2f6f3}td,th{border-bottom:1px solid #e3eae5;padding:10px;vertical-align:top}td{min-width:80px}details{border-bottom:1px solid #e3eae5;padding:12px 0}summary{cursor:pointer;font-weight:550;color:#315542}.finding{padding:12px;border-left:2px solid #b2cbbb;margin:12px 0}.finding strong{font-size:12px}.finding p{margin:7px 0;line-height:1.65}.chart-image{width:100%;display:block;border-radius:6px;background:white}.chart-bubble{margin:12px 0;border:1px solid #dbe4e0;border-radius:9px;padding:12px;background:#fafcfb}.chart-actions{display:flex;gap:10px;margin-top:10px}.error{padding:12px;background:#fff1ef;color:#a04232;border-radius:8px}.answer p{white-space:pre-wrap;margin:10px 0}.answer h2,.answer h3{margin:18px 0 8px}.answer ul{padding-left:20px}.answer code{background:#eef2ef;border-radius:3px;padding:2px 4px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes pulse{50%{opacity:.4}}@media(max-width:900px){main{display:block;height:auto}.conversation{height:75vh;border-right:0;border-bottom:1px solid #ddd}.workspace{min-height:50vh;padding:22px}#report-empty{margin:60px auto}.tabs{top:0}header{padding:0 20px}.composer-bottom span{display:none}}

.chart-dialog{border:1px solid #c8d8ce;border-radius:12px;max-width:95vw;width:1100px;max-height:92vh;padding:20px;overflow:auto}.chart-dialog::backdrop{background:#163d3488}.chart-dialog>button{float:right}.chart-dialog h3{margin:8px 70px 20px 0}

.answer a{color:#176a56;text-decoration:underline;text-underline-offset:3px}.report-link{font-weight:600}
.answer li{margin:12px 0;line-height:1.75}.answer p{margin:14px 0;line-height:1.75}.answer h3{margin:28px 0 14px;padding-top:12px;border-top:1px solid #e3eae5}.answer h3:first-child{margin-top:4px;padding-top:0;border:0}.metric{display:inline-block;font-variant-numeric:tabular-nums;font-weight:750;color:#174d47;background:#e9f3ef;border:1px solid #cbded5;border-radius:6px;padding:1px 7px;white-space:nowrap}.answer strong:has(.metric){font-weight:650}.score strong{font-variant-numeric:tabular-nums}

/* Keep metric tables readable in a narrow conversation column. */
.table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.table-scroll td,.table-scroll th{overflow-wrap:normal;word-break:normal;min-width:110px}
.table-scroll table:has(th:nth-child(4)){min-width:640px}
.table-scroll table:has(th:nth-child(6)){min-width:900px}
.table-scroll table:has(th:nth-child(7)){min-width:1080px}
.table-scroll code{overflow-wrap:anywhere}
.table-scroll:focus-visible{outline:2px solid #168576;outline-offset:3px}

/* Report context is retained for follow-ups; the conversation is the only visible pane. */
main{grid-template-columns:minmax(0,1fr)}.workspace[hidden]{display:none}.conversation{border-right:0}#messages{padding-inline:max(28px,calc((100vw - 1120px)/2))}#composer{width:calc(100% - 44px);max-width:1120px;align-self:center}@media(max-width:900px){main{height:calc(100dvh - 72px)}.conversation{height:100%;border-bottom:0}#messages{padding-inline:20px}}
main[hidden]{display:none}#login{max-width:420px;margin:70px auto;padding:24px}#login label{display:block;margin:20px 0}#login input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #cbded7;border-radius:6px}#login button{padding:12px 24px;background:#176a56;color:white;border:0;border-radius:6px}
