:root{--bg:#edf3f1;--panel:#fff;--ink:#17352f;--muted:#61746f;--line:#cbd9d5;--accent:#23735f;--accent-dark:#155646}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif}.topbar{height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:6px 18px;color:#fff;background:linear-gradient(180deg,#277a65,#165b4b);border-bottom:1px solid #0d4639}.title-row{display:flex;align-items:baseline;min-width:0;gap:14px}.topbar h1{margin:0;font-size:20px;line-height:1.25}.topbar p{margin:0;color:#daf0e9;font-size:12px;font-weight:700;white-space:nowrap}.header-actions,.sns-links,.sns-link{display:flex;align-items:center}.header-actions{gap:10px}.brand{font-size:12px;font-weight:800}.sns-links{gap:6px}.sns-link{justify-content:center;gap:4px;min-height:28px;padding:0 8px;border:1px solid #ffffff85;border-radius:5px;color:#fff;text-decoration:none;font-size:11px;font-weight:800;background:#ffffff16}.sns-link:hover{background:#ffffff2a}.youtube-mark,.note-mark,.x-mark{display:grid;place-items:center;width:20px;height:20px}.youtube-mark{width:29px;background:#fff;border-radius:6px}.youtube-mark svg{width:24px}.note-mark{border-radius:3px;background:#fff;color:#000;font-size:18px;font-weight:900}.x-mark{background:#000;color:#fff;font-size:14px}.tabs{height:42px;display:flex;align-items:end;padding:0 10px;background:#fff;border-bottom:1px solid var(--line)}button{font:inherit;cursor:pointer}.tabs button{height:41px;padding:0 18px;border:0;border-bottom:3px solid transparent;background:#fff;color:var(--ink);font-weight:700}.tabs button.active{color:var(--accent);border-color:var(--accent)}.phase{margin:0 8px 11px auto;color:#7c6a32;font-size:11px;font-weight:700}main{height:calc(100vh - 132px);min-height:500px}.view{display:none;height:100%}.view.active{display:grid}#mapView{grid-template-columns:248px minmax(0,1fr);gap:9px;padding:9px}.controls{overflow:auto;padding:12px;background:#fff;border:1px solid var(--line);border-radius:5px}.controls section+section{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}h2{margin:0 0 9px;font-size:14px}.segmented{display:grid;grid-template-columns:repeat(3,1fr)}.segmented button,.wide{min-height:34px;border:1px solid var(--line);background:#fff;color:var(--ink)}.segmented button:first-child{border-radius:5px 0 0 5px}.segmented button:last-child{border-radius:0 5px 5px 0}.segmented button+button{border-left:0}.segmented button.active{background:var(--accent);color:#fff;border-color:var(--accent)}.check{display:flex;align-items:center;gap:8px;margin:9px 0;font-size:13px}.check input{accent-color:var(--accent)}.wide{width:100%;margin:0 0 7px;border-radius:5px;font-weight:700}.wide:hover{background:#edf6f3}.status{margin:4px 0 0;color:var(--muted);font-size:11px}.step-note{padding:10px;background:#f2f7f5;border:1px solid #d6e4df!important;border-radius:5px}.step-note p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.map-panel{position:relative;overflow:hidden;border:1px solid #b9cbc6;border-radius:5px;background:#dce9e6}#map{width:100%;height:100%;background:#dce9e6}.leaflet-control-attribution{font-size:9px}.pref-boundary{filter:drop-shadow(0 1px 1px #fff)}.placeholder{place-content:center;text-align:center;background:#fff;margin:9px;border:1px solid var(--line);border-radius:5px}.placeholder h2{font-size:22px}.placeholder p{color:var(--muted)}footer{height:42px;padding:5px 14px;background:#e1ece8;border-top:1px solid var(--line);color:#526660;font-size:10px;line-height:1.5}footer a{color:#245f91}@media(max-width:760px){.topbar{height:46px;padding:5px 10px}.topbar p,.brand,.sns-link>span:last-child{display:none}.sns-link{padding:0 4px}.tabs{overflow-x:auto}.phase{display:none}main{height:calc(100vh - 130px)}#mapView{grid-template-columns:155px minmax(0,1fr);gap:5px;padding:5px}.controls{padding:8px}.segmented{grid-template-columns:1fr}.segmented button,.segmented button:first-child,.segmented button:last-child{border:1px solid var(--line);border-radius:4px}.segmented button+button{margin-top:4px}}
