:root{--green:#21543d;--green2:#2e6a4f;--mint:#edf6f0;--bg:#f5f7f4;--card:#fff;--text:#1d2a23;--muted:#68756e;--line:#dde5df;--warn:#9b641b;--danger:#9f3f3f;--info:#315d84;--shadow:0 7px 24px rgba(36,64,48,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",Arial,sans-serif;line-height:1.55}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px max(24px,calc((100vw - 1240px)/2));background:linear-gradient(135deg,#163e2d,#2f6c51);color:#fff}.brand{display:flex;align-items:center;gap:15px}.brand-mark{width:48px;height:48px;border-radius:14px;background:#fff;color:var(--green);display:grid;place-items:center;font-size:24px;font-weight:900}.brand h1{font-size:23px;margin:0 0 2px}.brand p{margin:0;color:#dbe9e0;font-size:14px}.top-actions{display:flex;align-items:center;gap:12px}.btn{border:0;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}.btn.primary{background:#fff;color:var(--green)}.btn.secondary{background:var(--mint);color:var(--green)}.muted{color:#d4e0d9}.small{font-size:12px}.tabs{display:flex;gap:6px;padding:10px max(20px,calc((100vw - 1240px)/2));background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;overflow:auto}.tab{border:0;background:transparent;padding:10px 16px;border-radius:9px;color:#526158;font-weight:800;white-space:nowrap;cursor:pointer}.tab.active{background:var(--green);color:#fff}main{max-width:1240px;margin:0 auto;padding:26px 20px 60px}.page{display:none}.page.active{display:block}.section-heading,.panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.section-heading{margin-bottom:17px}.section-heading h2,.panel h2,.panel h3{margin:2px 0 4px}.section-heading p,.panel p{margin:0;color:var(--muted)}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.08em;color:var(--green2)}.source-link{color:var(--green);font-weight:800;text-decoration:none;background:#fff;padding:8px 11px;border:1px solid var(--line);border-radius:9px;white-space:nowrap}.status-strip{border-radius:10px;padding:10px 13px;margin:11px 0 15px;font-size:13px}.status-strip.loading{background:#eef2f0;color:#5f6c65}.status-strip.ok{background:#edf7f0;color:#286143}.status-strip.auth,.status-strip.query{background:#fff3e5;color:#865719}.status-strip.network{background:#fbeaea;color:#943d3d}.status-strip.empty{background:#f1f3f5;color:#60676c}.weather-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px}.weather-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow);min-height:172px}.weather-card.error{box-shadow:none;background:#fafbfa}.weather-head{display:flex;justify-content:space-between;align-items:center}.weather-head h3{margin:0;font-size:17px}.weather-icon{font-size:22px}.temperature{font-size:33px;font-weight:900;margin:14px 0 9px}.weather-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.stat{background:#f5f8f6;border-radius:9px;padding:7px}.stat span{display:block;font-size:11px;color:var(--muted)}.stat b{font-size:14px}.observed-time{font-size:11px;color:var(--muted);margin-top:9px}.split-layout{display:grid;grid-template-columns:1.18fr .82fr;gap:16px;margin-bottom:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:19px;box-shadow:var(--shadow)}.station-note{font-size:13px!important}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.metric{border:1px solid var(--line);border-radius:11px;padding:11px;background:#fbfcfb}.metric span{display:block;color:var(--muted);font-size:12px}.metric strong{display:block;font-size:18px;margin-top:2px}.weekly-current{padding:14px;border-left:4px solid var(--green);background:var(--mint);border-radius:8px;margin-bottom:12px}.weekly-current b{display:block;margin-bottom:4px}.weekly-list{display:flex;flex-direction:column;gap:7px}.weekly-list a{color:var(--text);text-decoration:none;padding:9px 10px;border:1px solid var(--line);border-radius:8px;font-size:13px}.common-panel{margin-top:16px}.common-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.common-card{border:1px solid var(--line);border-radius:12px;padding:15px;text-decoration:none;color:var(--text);display:flex;flex-direction:column;gap:4px}.common-card:hover,.resource-row:hover{border-color:#8eb29c}.common-card span{font-size:13px;color:var(--muted)}.common-card em{font-style:normal;color:var(--green);font-size:12px;font-weight:800;margin-top:6px}.stage-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.stage{border:1px solid var(--line);background:#fff;padding:8px 10px;border-radius:9px;font-weight:700;cursor:pointer}.stage.active{background:var(--green);color:#fff;border-color:var(--green)}.checklist{display:flex;flex-direction:column;gap:8px}.checklist label{display:flex;gap:9px;align-items:flex-start;padding:9px 10px;background:#fafcfb;border-radius:8px}.checklist input{margin-top:4px}.pest-list{display:flex;flex-direction:column;gap:8px}.pest-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:10px;padding:11px}.pest-name{display:flex;align-items:center;gap:9px}.badge{font-size:11px;font-weight:900;border-radius:99px;padding:4px 7px;background:#eef4f0;color:var(--green)}.pest-item button,.pest-item a{font-size:12px;border:0;background:var(--mint);color:var(--green);font-weight:800;padding:7px 9px;border-radius:8px;text-decoration:none;cursor:pointer}.resource-row{display:flex;justify-content:space-between;gap:15px;padding:13px 4px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--text)}.resource-row b{color:var(--green);font-size:13px}.source-status{margin-bottom:15px}.source-table-wrap{overflow:auto}.source-table{width:100%;border-collapse:collapse}.source-table th,.source-table td{text-align:left;padding:11px;border-bottom:1px solid var(--line);font-size:13px}.source-table th{background:#f4f7f5}.secret-pill{display:inline-block;padding:5px 8px;border-radius:99px;font-size:12px;font-weight:800;margin-right:6px}.secret-pill.ok{background:#e8f5ec;color:#276244}.secret-pill.no{background:#fff0e5;color:#8a5416}.detail-dialog{max-width:740px;width:calc(100% - 30px);border:0;border-radius:18px;padding:24px;box-shadow:0 20px 70px rgba(0,0,0,.25)}.detail-dialog::backdrop{background:rgba(13,28,19,.52)}.dialog-close{float:right;border:0;background:#eef2ef;border-radius:50%;width:34px;height:34px;font-size:22px;cursor:pointer}.detail-section{margin-top:15px}.detail-section h4{margin:0 0 5px}.detail-section p{white-space:pre-line;color:#44524a}.detail-images{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.detail-images img{width:100%;border-radius:10px}footer{max-width:1240px;margin:0 auto;padding:25px 20px 40px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px}footer strong{color:var(--text)}
@media(max-width:900px){.weather-grid{grid-template-columns:repeat(2,1fr)}.split-layout{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}.common-cards{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.top-actions{width:100%;justify-content:space-between}}
@media(max-width:560px){.brand h1{font-size:19px}.brand p{font-size:12px}.weather-grid{grid-template-columns:1fr}.section-heading,.panel-title-row{flex-direction:column}.metric-grid{grid-template-columns:repeat(2,1fr)}.weather-stats{grid-template-columns:repeat(3,1fr)}main{padding-left:13px;padding-right:13px}.tabs{padding-left:10px}footer{flex-direction:column}}
