/* 居民端样式：大字、平铺、56px 触控区；配色沿用设计稿。 */
:root{--forest:#146655;--forest-dark:#104c40;--mint:#edf6f0;--ink:#233d35;--body:#40514b;--muted:#5d6e62;--line:#e4e9e4;--canvas:#f5f7f3;--amber:#956427;--amber-bg:#fbf3e4;--red:#a34740;--red-bg:#fcf0ed;--green-bg:#edf7f0;--radius:12px}
*{box-sizing:border-box}
body{margin:0;background:var(--canvas);color:var(--ink);font:18px/1.9 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
main{max-width:520px;margin:auto;min-height:100vh;display:flex;flex-direction:column;padding:0 0 96px}
header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);background:#fff;padding:16px 20px}
header .brand{display:flex;align-items:center;gap:10px;font-weight:650;font-size:20px;color:var(--ink)}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--forest);color:#fff;font-family:serif;font-size:19px;flex:none}
.door-chip{color:#52634d;font-size:16px;white-space:nowrap}
.page{padding:20px;flex:1}
h1{font-size:26px;line-height:1.5}
h2{font-size:22px;line-height:1.5}
a{color:#146655}
article{padding:20px;background:#fff;border:1px solid #dfe6d7;border-radius:var(--radius);margin:18px 0;overflow-wrap:anywhere}
article h2{margin:0 0 10px}
article p{margin:8px 0}
.meta{color:#52634d;font-size:16px}
.section{border:1px solid #e0e7d7;border-radius:10px;padding:18px;margin-top:20px;background:#fff}
.section h3{font-size:19px;margin:0 0 8px}
.section p{margin:6px 0;color:#40543e}
label{display:block}
input:not([type=radio]),select{width:100%;min-height:56px;font:inherit;font-size:19px;padding:8px;border:1px solid #8b9689;border-radius:8px}
button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:56px;font:inherit;font-size:19px;padding:10px 20px;border:1px solid #146655;border-radius:8px;cursor:pointer;background:#fff;color:#146655;text-decoration:none}
button.primary,.button.primary,.button.block{background:#146655;color:#fff}
.button.block{display:flex;width:100%}
button.block{width:100%}
.choice-field{padding:16px 18px;border:1px solid var(--choice-edge,#dfe6d5);border-left-width:5px;margin:14px 0;border-radius:10px;font-size:23px;background:var(--choice-bg,#fff);display:flex;gap:12px;align-items:flex-start}
.choice-field input[type=radio]{width:24px;height:24px;min-height:24px;margin-top:8px;accent-color:var(--choice-ink,#146655)}
.choice-field small{display:block;font-size:16px;color:#69795e;font-weight:400}
.choice-field[data-choice=yes]{--choice-ink:#17613d;--choice-bg:#edf7f0;--choice-edge:#78aa88}
.choice-field[data-choice=no]{--choice-ink:#a12d35;--choice-bg:#fff1f1;--choice-edge:#cf8b91}
.choice-field[data-choice=abstain]{--choice-ink:#84520d;--choice-bg:#fff6e4;--choice-edge:#ba985a}
.choice-field:has(input:checked){background:var(--choice-selected,#f0f7e9);border-color:var(--choice-ink);box-shadow:0 0 0 2px var(--choice-ink)}
.choice-tag{display:inline-block;padding:4px 12px;border-radius:6px;font-weight:600;white-space:nowrap}
.choice-tag[data-choice=yes]{color:#17613d;background:#edf7f0}
.choice-tag[data-choice=no]{color:#a12d35;background:#fff1f1}
.choice-tag[data-choice=abstain]{color:#84520d;background:#fff6e4}
nav.bottom-nav{display:flex;background:#fff;border-top:1px solid #e6eade;justify-content:space-around;padding:12px 0 calc(14px + env(safe-area-inset-bottom));position:fixed;bottom:0;left:0;right:0;max-width:520px;margin:auto}
nav.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:17px;color:#53664b;min-height:56px;justify-content:center;text-decoration:none}
nav.bottom-nav a.active{color:#146655;font-weight:650}
.home-heading{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:baseline;justify-content:space-between;margin-bottom:20px}
.home-heading h1{margin:0}
.home-heading span{font-size:16px;color:#52634d}
.errorlist,.error{color:#a12d35;background:var(--red-bg);padding:10px 12px;border-radius:8px;font-size:17px;list-style:none;margin:10px 0;padding-left:12px}
.notice{border:1px solid #e8e6d4;background:#faf8ed;color:#6f5b33;padding:13px 16px;border-radius:10px;font-size:16px;margin:16px 0;line-height:1.8}
.notice.green{border-color:#dce9dc;background:#f0f7ef;color:#4c6b50}
.threshold-grid{display:grid;gap:14px;margin:18px 0}
.threshold-card{padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.threshold-card h3{font-size:18px;margin:0;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.threshold-value{font-size:30px;margin:8px 0}
.threshold-value small{font-size:15px;color:#52634d;margin-left:8px}
.track{height:8px;background:#f0f3ec;border-radius:5px;position:relative;margin:8px 0}
.track>span{display:block;height:100%;background:#6a9673;border-radius:5px}
.track.area>span{background:#a5b683}
.track .threshold{position:absolute;left:66.6667%;top:-3px;height:14px;width:2px;background:#8fa08a}
.progress-foot{font-size:15px;color:#52634d;display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px}
.badge{display:inline-block;padding:4px 11px;border-radius:6px;font-size:15px;font-weight:600;white-space:nowrap}
.badge.green{color:#2f6a49;background:#eaf4ec}
.badge.amber{color:#78501c;background:var(--amber-bg)}
.badge.red{color:var(--red);background:var(--red-bg)}
.badge.gray{color:#59635d;background:#eff2ee}
.summary-list{margin:0}
.summary-list>div{display:flex;justify-content:space-between;gap:5px 12px;border-bottom:1px solid #edf0e7;padding:13px 0;font-size:17px;flex-wrap:wrap}
.summary-list dt{color:#52634d}
.summary-list dd{margin:0;text-align:right;overflow-wrap:anywhere}
.summary-list>div:last-child{border:0}
table{width:100%;border-collapse:collapse;font-size:16px;margin:10px 0}
th,td{padding:10px 8px;border-bottom:1px solid #edf0e9;text-align:left}
th{color:#52634d;font-weight:550;font-size:15px}
.distribution{display:flex;height:12px;border-radius:5px;overflow:hidden;margin:14px 0 8px;background:#f0f3ec}
.distribution span:nth-child(1){background:#498560}
.distribution span:nth-child(2){background:#bf6870}
.distribution span:nth-child(3){background:#bf9744}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #956427;outline-offset:3px}
.empty{padding:30px 18px;background:#f0f4ea;border-radius:10px;color:#52634d;font-size:17px;text-align:center}
.home-results{margin-top:22px;display:flex;justify-content:space-between;align-items:center;padding:16px 18px;background:#fff;border:1px solid #dfe6d7;border-radius:10px;color:#146655;text-decoration:none;font-size:18px}
.menu-row{display:flex;align-items:center;justify-content:space-between;padding:16px 2px;border-bottom:1px solid #e9ede1;font-size:18px;color:inherit;text-decoration:none}
@media(max-width:430px){main{padding:0 0 92px}header{padding:14px 16px}.page{padding:16px}}
