/* 우리 동네 위치·반경 · 선호 학원 유형 · 수강료 범위 (docs/location-prefs/PLAN.md). Flat UZU blue, no gradients.
   Used by the signup steps, 마이페이지 › 동네 설정 and the header 위치 시트. */
.lp-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px}
.lp-choice button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 10px;border-radius:12px;border:1px solid #e1e6ec;background:#fff;color:#4e5968;font-size:15px;font-weight:600;cursor:pointer}
.lp-choice button[aria-pressed="true"]{border-color:#0878ff;background:#ebf4ff;color:#0062d6}
.lp-choice button:disabled{opacity:.55;cursor:default}
.lp-choice .lp-ico{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.lp-search{position:relative;margin:0 0 12px}
.lp-search[hidden]{display:none}
.lp-search form{display:flex;gap:8px}
.lp-search input{flex:1;min-width:0;height:48px;padding:0 14px;border:1px solid #e1e6ec;border-radius:12px;background:#fff;color:#191919;font-size:15px;outline:none}
.lp-search input:focus{border-color:#0878ff}
.lp-search button{flex-shrink:0;height:48px;padding:0 16px;border:0;border-radius:12px;background:#191919;color:#fff;font-size:15px;font-weight:600;cursor:pointer}
.lp-results{list-style:none;margin:8px 0 0;padding:0;border:1px solid #eef1f5;border-radius:12px;overflow:hidden;background:#fff}
.lp-results:empty{display:none}
.lp-results li+li{border-top:1px solid #eef1f5}
.lp-results button{display:block;width:100%;padding:11px 14px;border:0;background:#fff;text-align:left;cursor:pointer;color:#191919;font-size:14px;line-height:20px}
.lp-results button span{display:block;color:#8b95a1;font-size:12px}
.lp-results .lp-results-empty{padding:12px 14px;color:#8b95a1;font-size:13px}
.lp-map{position:relative;height:220px;border-radius:16px;overflow:hidden;background:#e5e8eb}
.lp-map--sm{height:170px}
/* naver.maps.Map writes an inline position:relative on its container, which drops the absolute inset sizing -> the canvas
   collapsed to 0 px height and the map never showed (grey box). An explicit 100 % size holds in either position. */
.lp-map-canvas{position:absolute;inset:0;width:100%;height:100%}
.lp-map-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:16px;text-align:center;background:#e5e8eb;color:#6b7684;font-size:13px;line-height:19px}
.lp-map-placeholder strong{color:#4e5968;font-size:14px}
.lp-map-placeholder[hidden]{display:none}
.lp-map-hint{position:absolute;left:10px;top:10px;z-index:2;padding:4px 9px;border-radius:8px;background:#191919cc;color:#fff;font-size:12px;line-height:18px;pointer-events:none}
.lp-map-hint[hidden]{display:none}
.lp-place{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:12px 14px;border-radius:12px;background:#f3f5f8}
.lp-place strong{display:block;color:#191919;font-size:16px;line-height:23px;font-weight:700}
.lp-place span{display:block;color:#8b95a1;font-size:13px;line-height:18px}
.lp-place .lp-pin{width:22px;height:22px;flex-shrink:0;color:#0878ff;fill:none;stroke:currentColor;stroke-width:1.9}
.lp-selects{display:grid;gap:8px;margin:12px 0 0}
.lp-selects[hidden]{display:none}
.lp-selects select{height:48px;padding:0 12px;border:1px solid #e1e6ec;border-radius:12px;background:#fff;color:#191919;font-size:15px}
.lp-consent{display:flex;gap:6px;margin:12px 0 0;color:#6b7684;font-size:13px;line-height:19px}
.lp-consent svg{width:16px;height:16px;flex-shrink:0;margin-top:1px;fill:none;stroke:#8b95a1;stroke-width:1.9}
.lp-status{min-height:19px;margin:8px 0 0;color:#6b7684;font-size:13px;line-height:19px}
.lp-status.is-error{color:#f04452}
/* radius slider */
.lp-radius{margin:14px 0 0}
.lp-radius-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:6px}
.lp-radius-head span{color:#4e5968;font-size:14px;font-weight:600}
.lp-radius-head output{color:#0062d6;font-size:18px;font-weight:800;letter-spacing:-.3px}
.lp-range{width:100%;height:32px;margin:0;background:none;-webkit-appearance:none;appearance:none;touch-action:none;cursor:pointer}
.lp-range::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:#e5e8eb}
.lp-range::-moz-range-track{height:6px;border-radius:3px;background:#e5e8eb}
.lp-range::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;margin-top:-11px;border-radius:50%;background:#fff;border:3px solid #0878ff;box-shadow:0 1px 3px #0002}
.lp-range::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:#fff;border:3px solid #0878ff;box-shadow:0 1px 3px #0002}
.lp-range-scale{display:flex;justify-content:space-between;color:#8b95a1;font-size:12px}
/* 선호 학원 유형 chips */
.lp-types{display:flex;flex-wrap:wrap;gap:8px}
.lp-type{position:relative;display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px #e1e6ec;color:#4e5968;font-size:15px;font-weight:500;cursor:pointer;user-select:none}
.lp-type input{position:absolute;opacity:0;pointer-events:none}
.lp-type:has(input:checked),.lp-type.is-on{background:#0878ff;box-shadow:none;color:#fff;font-weight:600}
.lp-type:has(input:focus-visible){outline:2px solid #0062d6;outline-offset:2px}
/* 057: 최대 5개 (counter + dimmed rest) · 기타(직접입력) */
.lp-types-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.lp-types-hint{color:#8b95a1;font-size:13px;line-height:18px}
.lp-types-box.is-full .lp-types-hint{color:#0062d6;font-weight:600}
.lp-types-count{flex:none;min-width:44px;padding:3px 10px;border-radius:999px;background:#f2f4f6;color:#4e5968;font-size:13px;font-weight:600;text-align:center}
.lp-types-count b{color:#0062d6;font-weight:800}
.lp-types-box.is-full .lp-types-count{background:#e8f3ff}
.lp-type.is-off,.lp-type:has(input:disabled:not(:checked)){background:#f9fafb;box-shadow:inset 0 0 0 1px #eef0f3;color:#c1c6cd;cursor:not-allowed}
.lp-other{display:flex;align-items:center;gap:8px;margin:10px 0 0;padding:0 14px;min-height:48px;border-radius:12px;background:#f2f4f6}
.lp-other[hidden]{display:none}
.lp-other:focus-within{background:#fff;box-shadow:inset 0 0 0 2px #0878ff}
.lp-other input,.lp-other input:focus,.lp-other input:focus-visible{flex:1;min-width:0;height:46px;margin:0;padding:0;border:0!important;background:none!important;box-shadow:none!important;color:#191919;font-size:16px;outline:none!important}
.lp-other input::placeholder{color:#8b95a1}
.lp-other-len{flex:none;color:#8b95a1;font-size:12px}
.lp-types-error{margin:8px 0 0;color:#e42939;font-size:13px;line-height:18px}
.lp-types-error[hidden]{display:none}
/* 꼭 필요해요 (must_type): one of the selected chips */
.lp-type.is-must::after{content:'꼭';margin-left:6px;padding:1px 6px;border-radius:999px;background:#fff;color:#0062d6;font-size:11px;font-weight:800;line-height:16px}
.lp-must{margin:16px 0 0;padding:14px 14px 12px;border:0;border-radius:12px;background:#f2f4f6;min-width:0}
.lp-must[hidden]{display:none}
.lp-must-title{padding:0;color:#191919;font-size:15px;font-weight:700}
.lp-must-title span{color:#8b95a1;font-weight:500}
.lp-must-desc{margin:4px 0 10px;color:#6b7684;font-size:13px;line-height:18px}
.lp-must-options{display:flex;flex-wrap:wrap;gap:6px}
.lp-must-opt{position:relative;display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0 12px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px #e1e6ec;color:#4e5968;font-size:14px;font-weight:500;cursor:pointer}
.lp-must-opt[hidden]{display:none}
.lp-must-opt input{position:absolute;opacity:0;pointer-events:none}
.lp-must-opt svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.lp-must-opt:has(input:checked){background:#154398;box-shadow:none;color:#fff;font-weight:700}
.lp-must-opt:has(input:checked) svg{fill:#fff;stroke:#fff}
.lp-must-opt:has(input:focus-visible){outline:2px solid #0062d6;outline-offset:2px}
@media (max-width:374px){.lp-types{gap:6px}.lp-type{min-height:38px;padding:0 12px;font-size:14px}.lp-must-opt{padding:0 10px;font-size:13px}}
.lp-derived{margin:8px 0 0;color:#8b95a1;font-size:12px;line-height:18px}
/* 수강료 two-thumb slider */
.lp-tuition-value{margin:4px 0 14px;color:#191919;font-size:22px;font-weight:800;letter-spacing:-.4px}
.lp-dual{position:relative;height:36px}
.lp-dual-track{position:absolute;left:0;right:0;top:15px;height:6px;border-radius:3px;background:#e5e8eb}
.lp-dual-fill{position:absolute;top:15px;height:6px;border-radius:3px;background:#0878ff}
.lp-dual input{position:absolute;left:0;top:0;width:100%;height:36px;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.lp-dual input::-webkit-slider-runnable-track{height:6px;background:transparent}
.lp-dual input::-moz-range-track{height:6px;background:transparent}
.lp-dual input::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:28px;height:28px;margin-top:-11px;border-radius:50%;background:#fff;border:3px solid #0878ff;box-shadow:0 1px 3px #0002;cursor:pointer}
.lp-dual input::-moz-range-thumb{pointer-events:auto;width:22px;height:22px;border-radius:50%;background:#fff;border:3px solid #0878ff;box-shadow:0 1px 3px #0002;cursor:pointer}
.lp-dual input:disabled{visibility:hidden}
.lp-over{display:flex;align-items:center;gap:8px;margin:14px 0 0}
.lp-over button{min-height:40px;padding:0 14px;border-radius:999px;border:0;background:#fff;box-shadow:inset 0 0 0 1px #e1e6ec;color:#4e5968;font-size:14px;font-weight:600;cursor:pointer}
.lp-over button[aria-pressed="true"]{background:#191919;box-shadow:none;color:#fff}
.lp-over-input{display:flex;align-items:center;gap:6px;margin:10px 0 0}
.lp-over-input[hidden]{display:none}
.lp-over-input input{width:150px;height:44px;padding:0 12px;border:1px solid #e1e6ec;border-radius:12px;font-size:15px;text-align:right}
.lp-over-input span{color:#4e5968;font-size:14px}
.lp-note{margin:16px 0 0;color:#8b95a1;font-size:13px;line-height:19px}
/* 마이페이지 card blocks */
.lp-card .lp-picker{margin-top:4px}
.lp-actions{display:flex;gap:8px;margin:14px 0 0}
.lp-actions .ua-btn{flex:1}
.lp-saved{color:#03a862;font-size:13px;min-height:19px;margin:8px 0 0}
/* signup pages with a skip button under the main CTA need a little more bottom room */
.ua-page--cta:has(.lp-signup-skip){padding-bottom:calc(160px + env(safe-area-inset-bottom,0px))}
