.ags{max-width:1280px;margin:30px auto;padding:24px;color:#193632}.ags h1{font-size:clamp(26px,4vw,40px)}.ags h2{font-size:23px}.ags p{line-height:1.7}.ags form,.ags-method,#ags-results{padding:24px;border:1px solid #dce6e2;border-radius:20px;margin:20px 0;background:#fff}.ags-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0}.ags label{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:600}.ags input,.ags select{width:100%;box-sizing:border-box;border:1px solid #ccd9d3;border-radius:9px;padding:10px;min-height:44px;font:inherit;background:#fff;color:#193632}.ags input[type=checkbox]{width:22px;min-height:22px}.ags-wide{grid-column:span 2}.ags button,.ags-actions a{padding:12px 18px;border-radius:10px;border:1px solid #c9ddd4;background:#edf5f1;color:#174a38;font:inherit;cursor:pointer}.ags button[type=submit]{background:#176d50;color:#fff}.ags-actions,.ags-presets{display:flex;gap:10px;flex-wrap:wrap}.ags summary{cursor:pointer;padding:12px 0;font-weight:bold}.ags-notice{padding:16px;background:#f2f7f4;border-left:4px solid #268461}.ags-table{overflow-x:auto;margin-top:18px}.ags table{width:100%;border-collapse:collapse;font-size:15px;white-space:nowrap}.ags th,.ags td{padding:16px 12px;border-bottom:1px solid #dce6e2;text-align:right}.ags th:first-child,.ags td:first-child{text-align:left;white-space:normal;min-width:210px}.ags th{background:#edf5f1}.ags a{color:#14664b}.ags tr:hover{background:#f5faf7}@media(max-width:760px){.ags{padding:14px;margin:10px auto}.ags form,.ags-method,#ags-results{padding:16px}.ags-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ags-wide{grid-column:span 2}.ags button{min-height:44px}}
.ags-home-hub{background:linear-gradient(125deg,#edf7f1,#f8f7ef);border:1px solid #d2e7db;border-radius:24px;margin:36px auto;padding:32px}.ags-home-hub h2{font-size:clamp(25px,3vw,36px)}.ags-home-hub .ags-actions a:first-child{background:#176d50;color:white}.ags-chart{margin:24px 0;padding:20px;background:#f6faf8;border-radius:16px}.ags-chart-row{margin:18px 0}.ags-chart-row strong{font-size:15px}.ags-bar-line{display:grid;grid-template-columns:32px minmax(40px,1fr) 95px;align-items:center;gap:10px;font-size:13px;margin:7px 0}.ags-track{height:12px;background:#e3ece7;border-radius:6px;overflow:hidden}.ags-bar{height:12px;background:#23805e;border-radius:6px}.ags-bar.is-before{background:#9dafbb}.ags-legend-now{color:#23805e}.ags-legend-before{color:#677d8c}.ags-home-hub a{text-decoration:none}@media(max-width:760px){.ags-home-hub{margin:20px 14px;padding:20px}.ags-chart{padding:12px}.ags-bar-line{grid-template-columns:28px minmax(40px,1fr) 76px;gap:6px}}
.ags [data-preset].is-selected,.ags [data-days].is-selected{background:#176d50;color:#fff;border:2px solid #0e4f39;box-shadow:0 0 0 3px #cce8da;font-weight:700}.ags [data-preset].is-selected:before,.ags [data-days].is-selected:before{content:'✓ ';}.ags button:focus-visible{outline:3px solid #d17b19;outline-offset:3px}.ags-complex .agc-table{min-width:850px}.ags-complex h2{font-size:clamp(21px,3vw,28px)}.ags-complex .agc-table-wrap{overflow-x:auto}

.ags .ags-help{display:block;font-size:14px;font-weight:400;line-height:1.65;color:#48605a;white-space:normal;overflow-wrap:anywhere}.ags-explain{padding:16px 18px;background:#f0f6f3;border-radius:12px;margin:14px 0;line-height:1.7}.ags-explain p{margin:8px 0}.ags label{align-self:start}.ags-grid>*{min-width:0}

/* Region selection: native cascading selects, whole-area choice, comparison rows. */
.ags-region-picker{min-width:0;margin:24px 0;padding:20px;border:1px solid #ceded5;border-radius:16px;background:#f8fbf9}.ags-region-picker legend{padding:0 8px;font-size:20px;font-weight:750}.ags-region-picker .ags-region-intro{margin:0 0 16px;color:#49645a;font-size:15px}.ags-region-row{padding:14px 16px;margin:10px 0;background:white;border:1px solid #dce7e0;border-radius:12px}.ags-region-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.ags-region-row-head strong{font-size:14px;color:#537063}.ags .ags-region-remove{padding:5px 10px;min-height:44px;border:0;background:transparent;color:#50675d;font-size:13px}.ags-region-dropdowns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ags-region-dropdowns.has-district{grid-template-columns:repeat(3,minmax(0,1fr))}.ags-region-dropdowns label{min-width:0}.ags-region-dropdowns select{min-height:48px;width:100%;max-width:100%;font-size:16px;cursor:pointer;padding-right:26px}.ags-region-dropdowns select:disabled{background:#f2f5f3;color:#78877f;cursor:default}.ags-region-dropdowns select:focus-visible{outline:3px solid #d29139;outline-offset:2px}.ags-region-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.ags .ags-region-tools button{font-size:14px;min-height:44px;padding:10px 14px}.ags .ags-region-tools button:first-child{background:#e4f1e9;border-color:#aacdb8;font-weight:700}.ags .ags-region-tools button:last-child{background:transparent;color:#5c7066}.ags-region-summary{padding:14px 16px;background:#eaf3ed;border-radius:10px;line-height:1.6}.ags-region-summary>strong{display:block;font-size:14px}.ags-region-summary>small{display:block;margin-top:6px;font-size:13px;color:#4d6659}.ags-region-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.ags-region-tags>span{display:inline-flex;max-width:100%;overflow-wrap:anywhere;background:white;border:1px solid #c8ddce;border-radius:7px;padding:4px 9px;color:#244f3b;font-size:14px;font-weight:650}.ags #ags-region-feedback:empty{display:none}.ags #ags-region-feedback.is-warning{padding:10px 12px;background:#fff3dc;color:#775019;border-radius:9px}.ags-region-picker [hidden]{display:none!important}.ags #ags-results>.ags-region-result{font-size:16px;font-weight:700;color:#24543c;overflow-wrap:anywhere}@media(max-width:760px){.ags-region-picker{padding:14px 12px}.ags-region-row{padding:12px}.ags-region-dropdowns,.ags-region-dropdowns.has-district{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ags-region-dropdowns label:nth-child(3){grid-column:1/-1}}@media(max-width:380px){.ags-region-dropdowns,.ags-region-dropdowns.has-district{grid-template-columns:1fr}.ags-region-tools{flex-direction:column}.ags-region-tools button{text-align:center}}

/* 0.39: Start with a question, reveal detailed controls only when needed. */
.ags,.ags *{box-sizing:border-box}.ags [hidden]{display:none!important}.ags .ags-eyebrow{font-size:13px;letter-spacing:.12em;font-weight:750;color:#547465;margin-bottom:8px}.ags>h1{margin:0 0 10px;line-height:1.35}.ags .ags-intent-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}.ags-intent-head h2{margin:0 0 6px}.ags-intent-head p{margin:0;color:#52675e;font-size:15px}.ags-intent-head>label{min-width:130px}.ags .ags-intents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ags .ags-intents button{display:flex;flex-direction:column;gap:6px;text-align:left;padding:18px;background:#fff;border:1px solid #d6e1da;position:relative;line-height:1.4}.ags-intents strong{font-size:17px;font-weight:750}.ags-intents span{font-size:14px;color:#607269}.ags .ags-intents [aria-pressed=true]{background:#edf7f1;border-color:#22764f;box-shadow:inset 0 0 0 1px #22764f}.ags .ags-intents [aria-pressed=true] strong:after{content:' ✓';color:#176d50}.ags .ags-other-label{flex-direction:row;align-items:center;gap:12px;justify-content:flex-end;margin:16px 0 24px;font-size:14px}.ags-other-label select{max-width:260px;font-size:15px}.ags-basics{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}.ags-basics>*{min-width:0}.ags-basics .ags-region-picker{margin:0;padding:18px 16px}.ags-basics .ags-region-dropdowns.has-district{grid-template-columns:repeat(2,minmax(0,1fr))}.ags-basics .ags-region-dropdowns label:nth-child(3){grid-column:1/-1}.ags .ags-easy-panel{margin:0 0 20px;padding:16px;border:1px solid #d8e4dc;border-radius:16px;min-width:0}.ags-easy-panel legend,.ags-basics legend{font-size:18px;font-weight:750;padding:0 6px}.ags-pills{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0 12px}.ags .ags-pills button{padding:9px 12px;background:white;font-size:14px;min-height:44px}.ags .ags-pills button[aria-pressed=true]{background:#176d50;border-color:#176d50;color:white;font-weight:700}.ags .ags-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ags .ags-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ags-easy-panel .ags-grid{margin:12px 0}.ags-easy-panel p:last-child{margin-bottom:0}.ags input,.ags select{font-size:16px;min-width:0}.ags input:focus-visible,.ags select:focus-visible{outline:3px solid #d29139;outline-offset:2px}.ags #ags-compare-box{padding-top:14px;border-top:1px dashed #c8d9ce;margin-top:14px}.ags #ags-advanced{border:1px solid #d3dfd7;border-radius:13px;margin:0 0 20px;overflow:hidden}.ags #ags-advanced>summary{padding:16px 20px;background:#f5f8f6}.ags #ags-advanced>summary small{display:block;font-size:14px;font-weight:400;color:#5d6e65;margin:6px 0 0 18px}.ags #ags-advanced-count{font-size:14px;color:#176d50}.ags-advanced-content{padding:2px 20px 20px}.ags-advanced-content h3{font-size:18px;margin:24px 0 0}.ags-advanced-content>button{margin-top:20px}.ags-advanced-content details{margin-top:16px}.ags .ags-sort-row{margin:20px 0}.ags .ags-query-summary{border-left:4px solid #247a54;border-radius:0 12px 12px 0;background:#eef6f1;padding:16px 18px;margin:20px 0}.ags-query-summary>strong{font-size:14px;color:#436552}.ags-query-summary #ags-query-sentence{margin:8px 0;font-size:17px;font-weight:700;overflow-wrap:anywhere}.ags-query-summary .ags-help{margin:6px 0 0}.ags .ags-actions{align-items:center}.ags .ags-actions #ags-run{font-weight:750;padding:14px 24px}.ags .ags-actions a{background:transparent;border:0;text-decoration:underline;font-size:14px}.ags #ags-status:empty{display:none}.ags .ags-complex-filter{flex-direction:row;align-items:center;padding:12px;background:#fff6dd;border-radius:10px;line-height:1.5}.ags .ags-complex-filter input{flex:0 0 22px}.ags .ags-empty{border:1px dashed #bdd2c4;border-radius:12px;padding:24px;background:#f8fbf9}.ags-result-table small{display:block;font-size:13px;line-height:1.5;font-weight:400;color:#63746b;margin-top:5px}.ags-result-table a{font-weight:700;text-underline-offset:3px}.ags .ags-rise{color:#b13331;font-weight:700}.ags .ags-fall{color:#2367a1;font-weight:700}.ags .ags-trade-table th:first-child,.ags .ags-trade-table td:first-child{min-width:112px;white-space:nowrap}.ags .ags-trade-table th:nth-child(2),.ags .ags-trade-table td:nth-child(2){min-width:210px;white-space:normal;text-align:left}.ags .ags-result-table th{font-size:14px}.ags .ags-result-table td{font-variant-numeric:tabular-nums}.ags #ags-results h2{margin-top:0}.ags #ags-export{font-size:14px}
@media(max-width:960px){.ags-basics{grid-template-columns:1fr}.ags-time-area{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ags .ags-easy-panel{margin:0}.ags-basics{margin-bottom:20px}.ags-basics .ags-region-dropdowns.has-district{grid-template-columns:repeat(3,minmax(0,1fr))}.ags-basics .ags-region-dropdowns label:nth-child(3){grid-column:auto}}
@media(max-width:760px){.ags .ags-intent-head{align-items:start;gap:14px}.ags-intent-head h2{font-size:20px}.ags-intent-head>label{min-width:90px;font-size:14px}.ags .ags-intents{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ags .ags-intents button{padding:13px 11px;gap:5px}.ags-intents strong{font-size:16px}.ags-intents span{font-size:13px}.ags .ags-other-label{justify-content:space-between}.ags-other-label select{max-width:65%}.ags .ags-time-area{display:block}.ags .ags-easy-panel{margin-top:20px}.ags .ags-three{grid-template-columns:repeat(2,minmax(0,1fr))}.ags-three>label:first-child{grid-column:1/-1}.ags .ags-actions button{flex:1 1 auto}.ags .ags-actions #ags-run{flex-basis:100%}.ags .ags-actions a{padding:10px}.ags #ags-advanced>summary{padding:15px}.ags-advanced-content{padding:0 14px 16px}.ags-query-summary #ags-query-sentence{font-size:16px}.ags-basics .ags-region-dropdowns.has-district{grid-template-columns:repeat(2,minmax(0,1fr))}.ags-basics .ags-region-dropdowns label:nth-child(3){grid-column:1/-1}.ags .ags-sort-row{grid-template-columns:1fr}.ags .ags-sort-row label:last-child{max-width:180px}}
@media(max-width:380px){.ags{padding:10px}.ags form,.ags-method,#ags-results{padding:12px}.ags-intent-head p{font-size:14px}.ags .ags-intent-head{flex-wrap:wrap}.ags-intent-head>label{width:100%}.ags .ags-two,.ags .ags-three,.ags-basics .ags-region-dropdowns.has-district{grid-template-columns:1fr}.ags-basics .ags-region-picker,.ags .ags-easy-panel{padding:12px}.ags-other-label{flex-wrap:wrap}.ags-other-label select{max-width:none}.ags .ags-intents span{font-size:12px}}

/* Numbered result pages remain usable on narrow mobile screens. */
.ags-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:18px 0}
.ags .ags-pagination a,.ags .ags-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:42px;padding:6px 10px;border:1px solid #dbe2ea;border-radius:9px;box-sizing:border-box;font-size:15px;line-height:1.2;text-decoration:none;background:#fff;color:#334155}
.ags .ags-pagination [aria-current="page"]{background:#263b55;color:#fff;border-color:#263b55;font-weight:700}
.ags .ags-pagination .ags-page-gap{min-width:16px;padding:0;border:0;background:transparent}
.ags .ags-pagination a:hover{background:#edf2f7}.ags .ags-pagination a:focus-visible{outline:3px solid #e79c22;outline-offset:2px}
#ags-results{scroll-margin-top:140px}
