:root{font-family:Arial,sans-serif;color:#243c3b;background:#f3f2ec;font-size:15px;line-height:1.5;--ink:#243c3b;--accent:#12675e;--line:#d5dbd4}*{box-sizing:border-box}body{margin:0}header,footer{display:flex;justify-content:space-between;gap:16px;padding:22px 4vw;border-bottom:1px solid var(--line)}.brand{font-weight:800;letter-spacing:.15em}.brand span,.local,.hint,.footnote{color:#667873}.local{font-size:13px}main{max-width:1500px;margin:auto;padding:32px 4vw}.intro{padding:10px 0 28px}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:.18em;color:var(--accent)}h1{font-family:Georgia,serif;font-weight:normal;font-size:clamp(32px,4vw,56px);line-height:1.1;margin:12px 0}h2{font-size:19px;margin:0}.intro>p:last-child{max-width:880px}nav{display:flex;gap:4px;border-bottom:2px solid var(--ink);margin-bottom:24px}.tab{border:0;background:transparent;border-radius:0;padding:14px 22px;color:var(--ink);font-weight:bold}.tab.active{background:var(--ink);color:white}.module{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:24px;align-items:start}[hidden]{display:none!important}.panel{background:#fffef9;border:1px solid var(--line);padding:24px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:8px}.section-title span{font-size:10px;letter-spacing:.1em;color:#82948f}label{display:block;font-size:13px;margin:0 0 14px}input,select,textarea{font:inherit;width:100%;padding:10px;margin-top:5px;border:1px solid #b9c8c1;border-radius:2px;background:#fff;color:var(--ink)}textarea{resize:vertical}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.check{display:flex;align-items:center;gap:8px}.check input{width:17px;height:17px;margin:0;accent-color:var(--accent)}fieldset{display:flex;gap:20px;border:1px solid var(--line);margin:0 0 16px;padding:12px}legend{font-size:12px;padding:0 5px}fieldset label{margin:0}.hint{font-size:12px}.merge{border-left:3px solid var(--accent);padding:12px;background:#edf4ef;margin:10px 0}.merge label:last-child{margin:0}.merge input[type=number]{width:70px;display:block}details{border-top:1px solid var(--line);padding:13px 0;margin-top:12px}summary{cursor:pointer;font-size:13px;font-weight:bold;margin-bottom:12px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}button,.download{font:inherit;font-size:13px;padding:10px 13px;border:1px solid var(--line);background:#fffef9;border-radius:2px;color:var(--ink);cursor:pointer;text-decoration:none}.primary{background:var(--accent);border-color:var(--accent);color:white;font-weight:bold}button:disabled{opacity:.5;cursor:wait}.run-status{border-top:3px solid var(--accent);padding:18px;background:#e7eee7;white-space:pre-line;font-size:14px;overflow-wrap:anywhere}.run-status.error{border-color:#a14c35;background:#f8e8df}.result-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.table-wrap{overflow:auto;background:#fffef9;border:1px solid var(--line)}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th,td{padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#e8ede7;white-space:nowrap}td:first-child{min-width:170px;overflow-wrap:anywhere}td.num{text-align:right;font-variant-numeric:tabular-nums}.muted{color:#70817a}.tools{display:flex;gap:8px;align-items:center;margin-bottom:12px}.tools input{margin:0;min-width:90px}.pager{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px 0}.group-name{font-weight:bold;color:var(--accent)}.evidence{max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px}#top{background:#fffef9;border:1px solid var(--line);margin-top:20px;padding:18px}#top a{overflow-wrap:anywhere;color:var(--accent)}#top ol{padding-left:25px}#top li{padding:7px 0}.top-query{font-family:Georgia,serif;font-size:22px}aside{margin-top:32px;max-width:480px}.footnote,footer{font-size:12px}footer{border-top:1px solid var(--line);border-bottom:0;color:#667873}@media(max-width:1000px){.module{grid-template-columns:minmax(280px,360px) minmax(0,1fr)}.panel{padding:18px}}@media(max-width:760px){.module{grid-template-columns:1fr}header,footer{padding:16px 5vw}.local{display:none}main{padding:22px 5vw}nav .tab{padding:12px 14px}.intro{padding-bottom:20px}.workspace{min-width:0}.panel{padding:18px}.result-actions{margin:12px 0}footer{flex-direction:column}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#collector-estimate { white-space: pre-wrap; overflow-wrap: anywhere; }
fieldset { flex-wrap: wrap; min-width: 0; }
.panel { min-width: 0; }
.module.has-result{grid-template-columns:minmax(0,1fr)}
.module.has-result>.panel{max-width:760px}
.module.has-result .workspace{min-width:0}
.has-result .tools{flex-wrap:wrap}.has-result .tools input:not([type=checkbox]){max-width:300px}.has-result .tools select{max-width:540px;margin:0}.has-result .tools .check{margin:0}
.cluster-report{min-width:2700px;table-layout:fixed}.cluster-report th,.cluster-report td{width:220px}.cluster-report th:first-child,.cluster-report td:first-child{width:340px;position:sticky;left:0;background:#fffef9;z-index:1}
.cluster-report th:nth-child(n+2):nth-child(-n+4),.cluster-report td.num{width:90px;white-space:nowrap}.cluster-report th{position:sticky;top:0;z-index:2}
.cluster-report .cluster-heading td{position:static;background:#e7eee7;border-top:3px solid #59786d;padding:16px;font-size:15px}.cluster-meta{display:inline-block;font-weight:normal;font-size:12px;margin-left:18px}.cluster-main{font-size:12px;font-weight:normal;margin-top:5px}.review-badge{display:inline-block;background:#fff0bd;color:#674a16;padding:3px 8px;border-radius:3px;font-size:12px;margin-left:12px}.review-note{font-size:12px;color:#674a16;margin-top:4px}
.serp-cell a{display:block;color:#164e69;text-decoration:underline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-detail{display:block;font-size:10px;padding:3px 0;border:0;background:transparent;color:#59786d;margin-top:6px}
.has-result .tools input[type=checkbox]{min-width:17px;max-width:17px}
