:root{--site-header-height:83px;--ink:#143b48;--muted:#6d8188;--teal:#087c83;--teal-dark:#075a65;--teal-pale:#e9f5f3;--blue:#2786bc;--line:#e3ebeb;--paper:#fff;--soft:#f6f9f8;--warning:#976124;--warning-bg:#fff6e7;--shadow:0 5px 24px rgba(28,61,69,.08);font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:#eef3f3}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #51b5cb;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.svg-definitions{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.site-header{height:var(--site-header-height);padding:0 35px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:900}.brand{display:flex;gap:13px;align-items:center;text-decoration:none}.brand-mark{width:43px;height:43px;border-radius:13px;background:var(--teal);color:#fff;display:grid;place-items:center;box-shadow:0 4px 10px #087c831a}.brand-mark svg{width:25px;height:25px;stroke-width:1.5}.brand-name{font-size:19px;font-weight:750;letter-spacing:.07em;line-height:1.3}.brand-name>span{display:block;font-size:9px;letter-spacing:.17em;font-weight:600;color:#849599;margin-top:4px}.header-meta{display:flex;gap:22px;align-items:center;font-size:12px}.trial-badge{display:flex;gap:7px;align-items:center;background:var(--teal-pale);padding:8px 11px;border-radius:6px;color:var(--teal-dark);font-size:11px;font-weight:650}.trial-badge>span{width:5px;height:5px;background:#20a48b;border-radius:50%}.header-place{color:#74888e;letter-spacing:.08em}.workspace{height:calc(100dvh - var(--site-header-height));display:grid;grid-template-columns:370px minmax(0,1fr);max-height:1500px}.survey-panel{background:#fff;display:flex;flex-direction:column;overflow:hidden;position:relative;z-index:850;box-shadow:5px 0 28px #203b4206}.survey-scroll{padding:30px 27px 12px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d7e2e3 transparent;flex:1;min-height:0}.eyebrow{text-transform:uppercase;color:var(--teal);font-size:10px;font-weight:700;letter-spacing:.15em}.introduction h1{margin:12px 0 12px;font-size:26px;line-height:1.5;letter-spacing:.02em;font-weight:740}.introduction>p{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 15px}.privacy-note{display:flex;gap:7px;align-items:flex-start;color:#719096;font-size:10px;line-height:1.65}.privacy-note svg{width:13px;height:15px;margin-top:1px;stroke-width:1.6}.survey-step{padding-top:23px;margin-top:23px;border-top:1px solid var(--line)}.step-heading{display:flex;align-items:center;gap:9px}.step-number{font-size:10px;color:var(--teal);font-weight:750;letter-spacing:.04em;background:var(--teal-pale);height:23px;min-width:25px;border-radius:6px;display:flex;align-items:center;justify-content:center}.step-number.is-complete{color:#fff;background:#178f91}.step-number svg{width:15px;height:15px}.step-heading h2{font-size:13px;font-weight:750;margin:0;letter-spacing:.02em}.step-state,.optional-badge{margin-left:auto;font-size:9px;white-space:nowrap;color:#8b9c9e}.step-state.is-complete{color:var(--teal)}.optional-badge{background:var(--soft);padding:4px 7px;border-radius:4px;font-size:9px}.step-description{color:var(--muted);font-size:11px;line-height:1.9;margin:11px 0 15px}.field-label{display:block;font-size:10px;color:#526e76;margin-bottom:7px;line-height:1.6;font-weight:550}.field-label>span{font-size:9px;color:#9ba9ac;font-weight:400;margin-left:4px}.select-wrap{position:relative}.select-wrap select{width:100%;appearance:none;-webkit-appearance:none;border:1px solid #dce5e6;background:#fff;border-radius:7px;padding:10px 29px 10px 10px;color:#47636b;font-size:11px;min-height:37px}.select-wrap>svg{width:13px;height:13px;color:#7e949b;position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none}.home-selection{width:100%;display:flex;align-items:center;gap:8px;margin-top:10px;padding:12px 10px;border:1px dashed #b7d8db;border-radius:7px;background:#f5fbfa;color:var(--teal);font-size:11px}.home-selection>svg{width:16px;height:16px}.home-action{margin-left:auto;display:flex;gap:4px;align-items:center;font-size:9px;white-space:nowrap;color:#75a1a5}.home-action svg{width:12px;height:12px}.home-selection.has-home{border-style:solid;background:#edf8f5}.selection-stats{background:#f5f8f8;display:grid;grid-template-columns:1fr 1.15fr 1fr;border:1px solid #e7eded;border-radius:9px;padding:14px 6px;margin-top:13px}.selection-stats>div{display:flex;flex-direction:column;align-items:center;gap:5px;position:relative}.selection-stats>div+div{border-left:1px solid #dde6e6}.selection-stats strong{font-family:inherit;font-size:21px;font-weight:700;letter-spacing:-.025em;font-variant-numeric:tabular-nums;line-height:1.2}.selection-stats strong>span{font-size:10px;font-weight:500;color:#719096;letter-spacing:0}.selection-stats>div>span{font-size:9px;color:#80959a}.selection-stats .connected-stat{padding-top:1px;gap:4px}.selection-stats .connected-stat strong{font-size:10px;line-height:1.5;font-weight:550;letter-spacing:0}.connection-dot{height:6px;width:6px;border-radius:50%;background:#bdccce;margin:2px 0 1px}.connection-dot.connected{background:#159884;box-shadow:0 0 0 3px #15988410}.connection-dot.disconnected{background:#db9b4e;box-shadow:0 0 0 3px #db9b4e15}.validation-message{font-size:10px;color:#8b9b9e;line-height:1.75;margin:10px 0 0;min-height:17px}.validation-message.success{color:#39897e}.validation-message.warning{color:#a4773f}.validation-message.error{color:#b35b48}.range-note{color:var(--warning);background:var(--warning-bg);padding:9px 10px;border-radius:6px;font-size:10px;line-height:1.7;margin:10px 0 0}.relation-fieldset{border:0;padding:0;margin:14px 0 13px}.relation-fieldset legend{font-size:10px;color:#526e76;margin-bottom:9px}.choice-row{display:flex;gap:8px}.choice-chip{position:relative;display:inline-flex;cursor:pointer}.choice-chip input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.choice-chip span{font-size:11px;display:block;padding:7px 16px;border:1px solid #dfe7e7;border-radius:6px;color:#809397;transition:all .15s}.choice-chip input:checked+span{color:var(--teal);background:var(--teal-pale);border-color:#93c7c6;font-weight:600}.choice-chip input:focus-visible+span{outline:3px solid #51b5cb;outline-offset:2px}.field-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:11px}.number-wrap{position:relative}.number-wrap input{border:1px solid #dce5e6;border-radius:7px;padding:10px 25px 10px 10px;min-height:37px;width:100%;font-size:11px;color:#47636b;background:#fff;appearance:textfield}.number-wrap input::-webkit-inner-spin-button{appearance:none}.number-wrap input::placeholder{color:#a8b5b8}.number-wrap>span{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:10px;color:#8a9da1}.draft-note{display:flex;align-items:center;gap:7px;font-size:9px;color:#98a7a9;margin-top:24px;line-height:1.6}.draft-dot{width:4px;height:4px;background:#91b2ac;border-radius:50%;flex:none}.secondary-actions{display:flex;justify-content:space-between;align-items:center;padding:16px 0 18px;border-bottom:1px solid var(--line);margin-bottom:15px}.text-button{background:none;border:none;color:var(--teal);padding:0;font-size:11px;display:inline-flex;gap:6px;align-items:center;line-height:1.6}.text-button svg{width:14px;height:14px}.text-button.muted{color:#899c9f}.text-button:hover{text-decoration:underline;text-underline-offset:3px}.survey-footer{font-size:9px;color:#9aa9ac;line-height:1.8;padding:0 0 8px}.survey-footer p{margin:3px 0}.survey-footer a{color:#8b9fa3;text-decoration:underline;text-underline-offset:2px}.submit-area{border-top:1px solid var(--line);padding:18px 27px 14px;background:#fff;flex-shrink:0;box-shadow:0 -10px 20px #fff9}.primary-button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--teal);background:var(--teal);color:#fff;width:100%;border-radius:8px;min-height:46px;padding:12px 15px;font-size:12px;font-weight:650;letter-spacing:.03em;box-shadow:0 4px 10px #087c8312;transition:background .15s,transform .15s}.primary-button:hover:not(:disabled){background:#066f77;transform:translateY(-1px)}.primary-button>svg{width:16px;height:16px}.primary-button .button-arrow{margin-left:auto;width:14px;height:14px}.primary-button>span{margin-right:auto}.submit-area>p{text-align:center;font-size:9px;color:#95a4a7;margin:9px 0 0;letter-spacing:.02em}.demo-notice{background:#fff7e8;color:#92713d;border:1px solid #f0e2c7;border-radius:8px;display:flex;gap:9px;align-items:flex-start;padding:12px;margin-top:19px}.demo-notice>svg{width:17px;height:17px;flex-shrink:0}.demo-notice strong{font-size:11px;font-weight:650}.demo-notice p{font-size:10px;line-height:1.8;margin:5px 0 0}.demo-notice .text-button{font-size:10px;display:inline;color:#8d6932;text-decoration:underline;text-underline-offset:3px;margin-top:2px}
.map-panel{position:relative;isolation:isolate;min-height:0;overflow:hidden;background:#e9eeee}#map{height:100%;width:100%;background:#edf1ee;z-index:0;font-family:inherit}#map.is-drawing{cursor:crosshair;touch-action:none}#map.is-home{cursor:crosshair}.leaflet-tile-pane{filter:saturate(.55) brightness(1.025)}.leaflet-container{font:inherit}.leaflet-pane.leaflet-overlay-pane{mix-blend-mode:normal}.leaflet-control-zoom{border:1px solid #d8e3e3!important;box-shadow:0 3px 14px #233b4010!important;border-radius:8px!important;overflow:hidden}.leaflet-control-zoom a{color:#42646c!important;background:#fff!important;font-weight:400!important;font-family:inherit!important;font-size:21px!important;width:32px!important;height:32px!important;line-height:31px!important}.leaflet-control-zoom a:first-child{border-bottom:1px solid #e8eeee!important}.leaflet-right .leaflet-control{margin-right:22px}.leaflet-bottom .leaflet-control-zoom{margin-bottom:94px}.leaflet-control-attribution{font-size:9px!important;color:#819499!important;background:#fffC!important;padding:3px 7px!important;max-width:calc(100% - 15px)}.leaflet-control-attribution a{color:#608892!important}.leaflet-control-scale-line{border-color:#708b93!important;color:#607d87!important;background:#fff9!important;font-size:9px!important;line-height:1.4!important;border-width:1px!important}.leaflet-bottom.leaflet-left .leaflet-control-scale{margin-left:23px;margin-bottom:89px}.map-location-card{position:absolute;z-index:500;left:26px;top:27px;background:#fffc;backdrop-filter:blur(8px);border:1px solid #ffffffde;border-radius:10px;padding:15px 18px;box-shadow:var(--shadow);pointer-events:none}.map-overline{font-size:9px;letter-spacing:.12em;color:#699198;font-weight:500}.map-location-card h2{font-size:18px;letter-spacing:.06em;margin:7px 0 5px;font-weight:700;color:#254d58;display:flex;align-items:center;gap:9px}.map-location-card h2>span{font-size:9px;letter-spacing:0;font-weight:500;color:#839ca2;background:#eff6f5;border:1px solid #dfebea;border-radius:4px;padding:3px 5px;white-space:nowrap}.map-location-card h2>span:empty{display:none}.map-location-card p{font-size:10px;line-height:1.6;color:#80979d;margin:0}.map-top-actions{position:absolute;right:22px;top:27px;display:flex;gap:7px;z-index:600}.map-square-button{height:36px;width:36px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e2ebeb;border-radius:8px;box-shadow:0 3px 14px #233b400d;color:#4b737c}.map-square-button svg{width:18px;height:18px}.map-square-button:hover{background:#f8fbfa}.drawing-toolbar{position:static;transform:none;flex-shrink:0;display:flex;align-items:center;background:#fff;padding:6px;border-radius:11px;box-shadow:0 6px 25px #244b5118;border:1px solid #dce7e5;gap:2px}.drawing-toolbar button{border:0;background:transparent;color:#769097;border-radius:7px;padding:8px 11px;min-width:58px;font-size:10px;display:flex;flex-direction:column;gap:6px;align-items:center;transition:all .15s;white-space:nowrap}.drawing-toolbar button svg{width:18px;height:18px;stroke-width:1.7}.drawing-toolbar button:hover:not(:disabled){background:#f3f8f7;color:var(--teal)}.drawing-toolbar button[aria-pressed=true]{color:var(--teal);background:#eaf5f2;font-weight:650}.toolbar-divider{height:33px;width:1px;background:#e3eaea;margin:0 4px}.map-hint{position:absolute;z-index:500;top:132px;left:50%;transform:translateX(-50%);font-size:10px;display:flex;align-items:center;gap:7px;color:#527e86;background:#ffffffed;box-shadow:0 3px 14px #1e424b0c;padding:8px 12px;border:1px solid #e4ebea;border-radius:20px;white-space:nowrap;pointer-events:none}.map-hint svg{width:13px;height:13px}.map-bottom-bar{position:absolute;bottom:28px;left:23px;right:22px;z-index:600;display:flex;justify-content:space-between;align-items:center;gap:10px;pointer-events:none}.map-legend{display:flex;gap:15px;align-items:center;background:#fffffff2;border:1px solid #e2e9e8;box-shadow:var(--shadow);border-radius:8px;padding:13px 15px;color:#68848c;font-size:10px;backdrop-filter:blur(6px);pointer-events:auto}.map-legend>span{display:flex;gap:6px;align-items:center;white-space:nowrap}.map-legend i{width:10px;height:10px;border-radius:2px;display:block;flex:none}.legend-home{background:#075564;box-shadow:inset 0 0 0 1px #fff8}.legend-selected{background:#64b4d0;border:1px solid #2c8eaf}.map-legend .legend-boundary{height:0;width:15px;border-radius:0;border-top:2px dashed #397680}.village-toggle{display:flex;align-items:center;gap:5px;border-left:1px solid #e1e9e8;padding-left:12px;cursor:pointer;color:#7a9399;white-space:nowrap}.village-toggle input{accent-color:var(--teal);height:11px;width:11px;margin:0;cursor:pointer}.center-select{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #e0e9e8;border-radius:7px;box-shadow:var(--shadow);font-size:9px;color:#68848c;padding:11px 12px;pointer-events:auto;white-space:nowrap}.center-select svg{width:14px;height:14px}.center-select:hover{color:var(--teal);background:#f9fcfb}.home-marker{width:25px!important;height:25px!important;border-radius:8px;background:#075564;color:#fff;border:2px solid #fff;box-shadow:0 2px 10px #173f4950;display:flex;align-items:center;justify-content:center}.home-marker svg{width:14px;height:14px;stroke-width:1.8}.village-label{color:#648691;background:transparent;border:0;box-shadow:none;font-size:10px;font-weight:500;letter-spacing:.1em;text-shadow:0 0 3px #fff,0 0 6px #fff;padding:0;white-space:nowrap;pointer-events:none}.village-label::before{display:none!important}.leaflet-tooltip.cell-tooltip{font-family:inherit;font-size:10px;border:1px solid #dde8e7;padding:6px 9px;color:#587881;background:#fffffff5;border-radius:5px;box-shadow:0 2px 8px #25444c12}.map-loading{position:absolute;inset:0;background:#f0f5f3ed;z-index:700;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}.loading-map-icon{color:#6d9d9d;background:#e1efeb;width:62px;height:62px;border-radius:17px;display:flex;align-items:center;justify-content:center;margin-bottom:20px}.loading-map-icon svg{width:30px;height:30px;stroke-width:1.2}.map-loading strong{font-size:16px;font-weight:650;color:#4d757b}.map-loading p{font-size:12px;line-height:1.8;color:#7c989f;max-width:320px}.help-card{position:absolute;z-index:800;top:73px;right:22px;width:300px;background:#fff;border:1px solid #deebea;box-shadow:0 10px 35px #1c4a5124;border-radius:12px;padding:21px 21px 18px;color:#577780}.help-close{position:absolute;top:12px;right:12px;border:0;background:none;color:#819ca3;display:grid;place-items:center;padding:0}.help-close svg{width:16px;height:16px}.help-card h3{font-size:14px;margin:0 0 15px;color:#295d66;letter-spacing:.03em}.help-card ol{padding-left:18px;font-size:11px;line-height:1.9;margin:0}.help-card li{margin:7px 0;padding-left:2px}.help-card p{font-size:10px;line-height:1.8;margin:14px 0 0}.help-card .help-privacy{border-top:1px solid #e7efed;padding-top:12px;color:#97a9ac}.demo-map-badge{position:absolute;z-index:550;bottom:141px;left:24px;display:flex;gap:7px;align-items:center;border-radius:6px;padding:9px 12px;font-size:10px;color:#94692e;background:#fff9ebf5;border:1px solid #f0dfbd;box-shadow:0 2px 10px #8863220a}.demo-map-badge svg{width:14px;height:14px}.toast{position:absolute;z-index:900;bottom:87px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;max-width:calc(100% - 48px);width:max-content;background:#163f4af2;color:#fff;font-size:11px;line-height:1.8;border-radius:8px;padding:10px 14px;box-shadow:0 5px 22px #153f4c24}.toast svg{width:16px;height:16px}.map-crosshair{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:500;width:25px;height:25px;border:1px solid #fff;border-radius:50%;background:#124b5b33;box-shadow:0 0 0 1px #145f6e}.map-crosshair:before,.map-crosshair:after{content:"";background:#fff;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.map-crosshair:before{height:1px;width:15px}.map-crosshair:after{width:1px;height:15px}.noscript-message{position:fixed;bottom:0;left:0;right:0;padding:18px;background:#fff3ce;color:#765b1b;text-align:center;z-index:9999}
@media(min-width:1500px){.workspace{grid-template-columns:400px minmax(0,1fr)}.survey-scroll{padding:34px 32px 15px}.submit-area{padding-left:32px;padding-right:32px}.introduction h1{font-size:29px}.step-description{font-size:12px}.field-label,.relation-fieldset legend{font-size:11px}.step-heading h2{font-size:14px}.survey-step{padding-top:26px;margin-top:26px}.site-header{padding:0 40px}.map-location-card{left:34px;top:32px;padding:18px 22px}.map-top-actions{top:32px;right:28px}.map-hint{top:142px}.map-bottom-bar{left:31px;right:28px}.map-legend{font-size:11px;padding:15px 18px;gap:19px}.map-location-card h2{font-size:20px}.map-location-card p{font-size:11px}}
@media(max-width:1100px) and (min-width:761px){.workspace{grid-template-columns:335px minmax(0,1fr)}.survey-scroll{padding:25px 21px 12px}.submit-area{padding:16px 21px 12px}.introduction h1{font-size:24px}.map-location-card{left:18px;top:22px;padding:12px 14px;max-width:calc(100% - 115px)}.map-location-card h2{font-size:16px;gap:5px}.map-location-card p{font-size:9px}.map-location-card h2>span{font-size:8px}.map-overline{font-size:8px}.map-top-actions{right:15px;top:22px;gap:5px}.map-square-button{width:31px;height:31px}.map-hint{top:124px;font-size:9px}.map-bottom-bar{left:16px;right:15px;bottom:28px}.map-legend{gap:9px;padding:12px;font-size:9px}.village-toggle{padding-left:8px;gap:4px}.center-select{padding:10px;width:34px;height:36px}.center-select span{display:none}.leaflet-right .leaflet-control{margin-right:16px}.leaflet-bottom.leaflet-left .leaflet-control-scale{margin-left:17px}.demo-map-badge{left:17px}.help-card{right:15px}}
@media(max-width:760px){.site-header{height:var(--site-header-height);padding:0 18px}.brand{gap:9px}.brand-mark{width:36px;height:36px;border-radius:10px}.brand-mark svg{width:22px;height:22px}.brand-name{font-size:16px;letter-spacing:.045em}.brand-name>span{font-size:7px;margin-top:4px;letter-spacing:.13em}.header-meta{gap:0}.trial-badge{font-size:9px;padding:7px 9px;gap:5px}.header-place{display:none}.workspace{height:auto;max-height:none;display:flex;flex-direction:column}.survey-panel{display:contents}.map-panel{order:0;height:60dvh;min-height:390px;max-height:600px;flex-shrink:0;border-bottom:1px solid #dae7e5}.survey-scroll{order:1;overflow:visible;padding:26px 22px 25px;background:#fff}.submit-area{order:2;position:sticky;bottom:0;z-index:850;padding:13px 22px 12px;background:#fffffffa;backdrop-filter:blur(8px)}.introduction{position:relative}.introduction h1{font-size:25px;line-height:1.55;margin-top:10px}.introduction>p{font-size:12px;max-width:550px}.eyebrow{font-size:9px}.privacy-note{font-size:10px}.survey-step{margin-top:24px;padding-top:22px}.step-heading h2{font-size:14px}.step-description{font-size:12px}.field-label,.relation-fieldset legend{font-size:11px}.select-wrap select,.number-wrap input{font-size:12px;padding-top:11px;padding-bottom:11px}.home-selection{font-size:12px;padding:13px 12px}.home-action{font-size:10px}.selection-stats{padding:15px 8px}.selection-stats strong{font-size:24px}.selection-stats>div>span{font-size:10px}.selection-stats .connected-stat strong{font-size:11px}.validation-message{font-size:11px;margin-top:12px}.range-note{font-size:11px}.choice-chip span{font-size:12px;padding:8px 20px}.field-grid{gap:14px}.draft-note{font-size:10px}.secondary-actions .text-button{font-size:12px}.survey-footer{font-size:10px}.primary-button{font-size:13px;min-height:46px}.submit-area>p{font-size:9px}.map-location-card{top:15px;left:15px;padding:11px 13px;border-radius:8px;max-width:calc(100% - 100px)}.map-location-card h2{font-size:15px;margin:4px 0;gap:7px}.map-overline{font-size:8px;letter-spacing:.06em}.map-location-card p{font-size:8px;line-height:1.7}.map-location-card h2>span{font-size:8px;padding:2px 4px}.map-top-actions{top:15px;right:13px;gap:5px}.map-square-button{height:31px;width:31px;border-radius:7px}.map-square-button svg{width:16px;height:16px}.drawing-toolbar{border-radius:9px;padding:4px;gap:1px}.drawing-toolbar button{min-width:55px;font-size:9px;padding:7px 10px;gap:4px}.drawing-toolbar button svg{width:16px;height:16px}.toolbar-divider{height:28px;margin:0 3px}.map-hint{top:105px;font-size:9px;padding:6px 10px;gap:5px;max-width:calc(100% - 25px)}.map-hint svg{width:11px;height:11px}.map-bottom-bar{bottom:25px;left:12px;right:12px;gap:6px}.map-legend{font-size:8px;gap:9px;padding:10px 11px;border-radius:7px}.map-legend>span{gap:4px}.map-legend i{width:8px;height:8px}.map-legend .legend-boundary{width:12px}.village-toggle{padding-left:8px;gap:4px}.village-toggle input{height:10px;width:10px}.center-select{padding:9px;width:31px;height:33px;justify-content:center;flex-shrink:0}.center-select span{display:none}.center-select svg{width:13px;height:13px}.leaflet-right .leaflet-control{margin-right:13px}.leaflet-bottom .leaflet-control-zoom{margin-bottom:75px}.leaflet-control-zoom a{width:29px!important;height:29px!important;line-height:28px!important;font-size:19px!important}.leaflet-bottom.leaflet-left .leaflet-control-scale{margin-left:13px;margin-bottom:72px}.leaflet-control-attribution{font-size:7px!important;line-height:1.4!important;max-width:90%;padding:2px 4px!important}.leaflet-control-scale-line{font-size:8px!important}.help-card{top:55px;right:13px;width:min(300px,calc(100% - 26px));padding:19px;max-height:calc(100% - 70px);overflow:auto}.help-card h3{font-size:13px}.help-card ol{font-size:10px}.help-card p{font-size:9px}.demo-map-badge{bottom:108px;left:13px;padding:7px 9px;font-size:8px}.demo-map-badge svg{width:11px;height:11px}.toast{bottom:72px;font-size:10px;max-width:calc(100% - 26px);padding:9px 12px}.village-label{font-size:8px}.map-loading strong{font-size:14px}.map-loading p{font-size:11px}.demo-notice strong{font-size:12px}.demo-notice p{font-size:11px}.demo-notice .text-button{font-size:11px}}
@media(max-width:380px){.header-meta .trial-badge{font-size:8px;padding:6px}.brand-name{font-size:15px}.brand-mark{width:32px;height:32px}.brand-name>span{font-size:6px}.site-header{padding:0 13px}.map-location-card{max-width:calc(100% - 92px);padding:10px}.map-location-card h2{font-size:13px;gap:4px}.map-location-card p{font-size:7px}.map-overline{font-size:7px}.map-location-card h2>span{font-size:7px}.map-legend{gap:6px;padding:9px;font-size:7px}.village-toggle{padding-left:6px}.drawing-toolbar button{min-width:50px}.survey-scroll{padding:24px 18px}.submit-area{padding-left:18px;padding-right:18px}.introduction h1{font-size:24px}.map-hint{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Keep the map tools in the page header, above the drawing canvas. */
.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 20px;
}
.site-header .brand,
.site-header .header-meta {
  min-width: 0;
}
.site-header .drawing-toolbar {
  justify-self: center;
  padding: 5px;
  gap: 2px;
  border-radius: 10px;
  box-shadow: none;
}
.site-header .drawing-toolbar button {
  min-width: 58px;
  min-height: 52px;
  padding: 7px 10px;
  font-size: .875rem;
  line-height: 1.2;
  gap: 4px;
}
.site-header .drawing-toolbar button svg {
  width: 18px;
  height: 18px;
}
.site-header .toolbar-divider {
  height: 30px;
  margin: 0 4px;
}
@media (max-width: 1100px) {
  .header-place { display: none; }
}
@media (max-width: 900px) {
  :root { --site-header-height: 141px; }
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 60px 64px;
    padding-top: 8px;
    padding-bottom: 8px;
    row-gap: 0;
    position: sticky;
    top: 0;
  }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .header-meta { grid-column: 2; grid-row: 1; }
  .site-header .drawing-toolbar { grid-column: 1 / -1; grid-row: 2; }
}
