*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;min-height:100%;background:#f5f7f4;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}body{font-size:15px;color:#303d35}button,input,select{font:inherit}button{border:0;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}input{border:0;outline:none;min-width:0;background:transparent}input:focus-visible,button:focus-visible,[role=button]:focus-visible{outline:2px solid #839c85;outline-offset:2px}img{object-fit:contain}mp-block{display:contents}section[scroll-y]{overflow-y:auto!important;overscroll-behavior:contain}section[show-scrollbar=false]{scrollbar-width:none}section[show-scrollbar=false]::-webkit-scrollbar{display:none}mp-map{display:block;position:relative;overflow:hidden;touch-action:none;background:#e6ebe0}mp-map svg{display:block;width:100%;height:100%;position:absolute;inset:0}mp-map .tdt-stage{position:absolute;inset:0;overflow:hidden;touch-action:none}mp-map .tdt-content{position:absolute;inset:0;will-change:transform}mp-map .tdt-tile{position:absolute;width:256px;height:256px;max-width:none;pointer-events:none;user-select:none;object-fit:fill}mp-map .tdt-overlays{position:absolute;inset:0;pointer-events:none}mp-map .map-attribution{position:absolute;left:0;bottom:0;z-index:3;font-size:9px;line-height:16px;color:#43533f;background:#ffffffe6;padding:0 5px;pointer-events:auto;border-top-right-radius:4px}mp-map .map-attribution a{color:inherit;text-decoration:none}mp-map .map-scale{position:absolute;right:10px;bottom:19px;color:#43533f;background:#ffffffdb;padding:3px 7px;font-size:10px;border-radius:3px;pointer-events:none}mp-map .map-scale span{display:block;border:1px solid #637264;border-top:0;height:4px}mp-map .map-unconfigured{position:absolute;left:14px;top:47%;max-width:240px;color:#637264;font-size:13px;line-height:1.6;pointer-events:none}mp-map .map-unconfigured strong{display:block;color:#53695b;font-weight:600;font-size:16px;margin-bottom:3px}.preview-nav{height:52px;position:sticky;top:0;z-index:45;display:flex;align-items:center;gap:10px;padding:0 16px;background:white;border-bottom:1px solid #e1e8df}.preview-nav button{background:none;color:#53695b;font-size:16px;min-width:60px;min-height:48px;padding:0;text-align:left}.preview-nav span{font-size:16px;font-weight:600}.toast{position:fixed;top:43%;left:50%;transform:translate(-50%,-50%);z-index:20000;background:#344c3ff0;color:white;padding:14px 18px;border-radius:12px;font-size:14px;line-height:1.6;max-width:85%;width:max-content;box-shadow:0 8px 28px #293a311c}.loading{position:fixed;inset:0;z-index:19000;background:#293a311c;display:grid;place-items:center}.loading div{padding:20px;border-radius:14px;background:#344c3ff0;color:white}.modal-shade,.provider-shade{position:fixed;inset:0;z-index:22000;background:#293a3152;display:flex;align-items:flex-end}.modal-dialog{margin:auto 18px;background:white;border-radius:20px;padding:22px;width:calc(100% - 36px);max-height:80dvh;overflow:auto;box-shadow:0 20px 60px #293a3129}.modal-dialog h3{font-size:18px;margin:0 0 12px;color:#344c3f}.modal-dialog p{font-size:14px;line-height:1.75;color:#637264;white-space:pre-wrap}.modal-dialog input{width:100%;border:1px solid #d1decc;background:#f5f7f4;border-radius:10px;padding:14px;font-size:16px;min-height:52px;margin-bottom:16px}.modal-actions{display:flex;gap:12px;margin-top:20px}.modal-actions button{flex:1;min-height:48px;border-radius:12px;background:#edf3ee;color:#3f5d4e}.modal-actions button:last-child{background:#587367;color:white}.action-sheet{background:white;border-radius:22px 22px 0 0;width:100%;padding:10px 16px calc(16px + env(safe-area-inset-bottom))}.action-sheet h3{font-size:16px;padding:0 8px;color:#344c3f}.action-sheet button{display:block;width:100%;min-height:56px;padding:12px;background:white;color:#3f5d4e;text-align:center;border-bottom:1px solid #ebf0e8;font-size:16px}.action-sheet .action-cancel{background:#f2f5f1;border:0;border-radius:12px;margin-top:12px}.native-picker-shade{position:fixed;inset:0;background:#293a3152;z-index:23000;display:flex;align-items:flex-end}.native-picker-sheet{width:100%;background:white;border-radius:24px 24px 0 0;padding-bottom:calc(20px + env(safe-area-inset-bottom))}.native-picker-header{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;border-bottom:1px solid #ebf0e8}.native-picker-header button{border:0;background:transparent;min-width:60px;min-height:48px;color:#637264;padding:10px 8px}.native-picker-header strong{font-size:16px;color:#344c3f;font-weight:600}.native-picker-header .picker-confirm{color:#587367;font-weight:600}.native-picker-wheels{display:flex;padding:12px 8px;gap:4px}.native-picker-wheel{height:220px;flex:1;min-width:0;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;padding:88px 0;scrollbar-width:none;touch-action:pan-y}.native-picker-option{display:block;width:100%;height:44px;min-height:44px;border:0;border-radius:10px;scroll-snap-align:center;background:transparent;font-size:17px;padding:8px 2px;color:#637264}.native-picker-option.option-selected{background:#edf3ee;color:#3f5d4e;font-weight:600}.native-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:52px;text-align:left;font-size:16px;border:0;border-radius:10px;background:#f2f5f1;color:#303d35;padding:0 14px}.native-picker-trigger::after{content:'⌄';color:#839c85;font-size:18px}mp-picker,mp-slider{display:block;min-width:0}mp-slider input{width:100%;min-height:44px;accent-color:#587367}mp-checkbox-group{display:block}.export-consent input[type=checkbox]{width:20px;height:20px;min-width:20px;accent-color:#587367}.boot-state{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#637264;font-size:14px}.boot-state strong{font-size:22px;color:#587367}.boot-mark{font-size:30px;color:#587367}#provider-button{position:fixed;right:8px;top:0;z-index:42;min-height:44px;min-width:62px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 7px;background:transparent;color:#587367;font-size:13px}#provider-button[hidden]{display:none}.provider-sheet{width:100%;background:#f5f7f4;border-radius:24px 24px 0 0;padding:20px 20px calc(20px + env(safe-area-inset-bottom));max-height:90dvh;overflow-y:auto}.provider-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.provider-heading h2{font-size:20px;margin:0;color:#344c3f;font-weight:600}.provider-close{min-width:44px;min-height:44px;border-radius:50%;background:white;color:#637264;font-size:25px}.provider-label{display:block;font-size:14px;font-weight:600;margin:18px 0 8px}.provider-key{display:block;width:100%;min-height:54px;padding:13px 14px!important;border:1px solid #d9e2d5;border-radius:12px;background:white;font-size:16px!important;color:#303d35;letter-spacing:.5px}.provider-help{font-size:13px;color:#637264;line-height:1.7;margin:9px 0}.provider-domain{display:block;overflow-wrap:anywhere;padding:12px;border:1px solid #e1e8df;border-radius:10px;background:white;font-size:12px;color:#53695b}.provider-segments{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;border-radius:13px;background:#e8eee4}.provider-segments button{padding:12px;min-height:48px;border-radius:10px;background:transparent;color:#637264;font-size:15px}.provider-segments button[aria-pressed=true]{background:white;color:#3f5d4e;box-shadow:0 2px 6px #293a3108;font-weight:600}.provider-status{padding:12px 14px;background:#edf3ee;border-radius:11px;color:#53695b;font-size:13px;line-height:1.6;margin:16px 0}.provider-error{background:#fbf2ee;color:#8c6257}.provider-primary{width:100%;background:#587367;color:white;min-height:52px;border-radius:13px;font-size:16px;font-weight:500;margin-top:16px}.provider-links{display:flex;justify-content:space-between;margin-top:14px;gap:12px}.provider-links button{color:#637264;background:transparent;min-height:44px;font-size:13px;padding:5px 0}.provider-footnote{font-size:12px;color:#637264;line-height:1.75;border-top:1px solid #e1e8df;margin-top:18px;padding-top:14px}.provider-footnote a{color:#587367}label{cursor:pointer}body{overscroll-behavior:none}input[type=number]{appearance:textfield}

/* The viewport owns fixed chrome; only the page body scrolls. */
html,body{height:100%;height:100dvh;min-height:0;overflow:hidden;width:100%}
body{display:flex;flex-direction:column}#nav{position:relative;z-index:120;flex:none;background:#fff;padding-top:env(safe-area-inset-top)}
#app{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-top:16px}
body[data-route="pages/map/index"] #app{overflow:hidden}
.preview-nav{position:relative;top:auto;flex:none}.mfl-nav{position:sticky!important;top:0;z-index:5}
.map-brand-bar{padding-top:env(safe-area-inset-top)}.boundary-handle{touch-action:none;user-select:none;-webkit-user-select:none}
.source-note{font-size:13px;line-height:1.7;color:#637264;background:#edf3ee;border-radius:12px;padding:12px 14px;margin:12px 0}
.imagery-progress{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.7;color:#637264;padding:14px 0}
.inline-retry{min-height:44px;padding:8px 14px;border-radius:10px;background:#edf3ee;color:#53695b}
.linked-hint{font-size:12px;line-height:1.7;color:#637264;margin-top:10px}.live-summary{position:relative;border:1px solid #dce3d9}

.vertex-handle,.vertex-core{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none}.map-overzoom{position:absolute;left:50%;transform:translateX(-50%);top:120px;z-index:2;background:#ffffffdc;border-radius:8px;padding:5px 9px;font-size:11px;color:#53695b;pointer-events:none}
.tdt-pinch-underlay{position:absolute;inset:0;overflow:hidden;pointer-events:none}
