:root{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:#243e36;background:#efeee3;font-synthesis:none;--ink:#243e36;--muted:#66786e;--green:#326b58;--line:#dde3d8;--surface:#fffefa;--tint:#e8eee1;--shadow:0 5px 22px #314b3920}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.45}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #ab803f;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;top:-80px;left:16px;background:var(--surface);padding:14px;z-index:30}.skip-link:focus{top:12px}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.workspace,.map-panel,#map{position:absolute;inset:0;width:100%;height:100dvh;overflow:hidden}.workspace{min-height:420px}.title-card,.search-bar,.sidebar,.view-switch,.detail-panel,.overview{background:var(--surface);box-shadow:var(--shadow);border:1px solid #ffffffb0}.title-card{position:absolute;left:24px;top:24px;width:316px;border-radius:18px;padding:17px 22px 19px;z-index:4}.brand-line{display:flex;align-items:center;height:24px;gap:13px}.brand{text-decoration:none;font-weight:760;letter-spacing:-.9px;font-size:17px;white-space:nowrap}.brand span{font-weight:450}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.1px;color:#a17139}.icon-button{display:grid;place-items:center;background:transparent;min-width:44px;height:44px;font-size:24px;border-radius:50%;color:var(--muted);flex-shrink:0}.icon-button:hover{background:var(--tint)}.icon-button svg{width:20px;height:20px}.brand-line .icon-button{margin-left:auto;margin-right:-14px;font-family:Georgia,serif;font-size:15px;font-style:italic;font-weight:bold}.search-bar{position:absolute;left:24px;top:180px;display:flex;align-items:center;width:316px;height:52px;z-index:6;border-radius:14px;padding:0 6px 0 16px}.search-field{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.search-field svg{width:18px;height:18px;flex-shrink:0}.search-field input{background:none;border:0;outline:none;width:100%;min-width:0;font-size:13px;height:44px}.search-field:focus-within{outline:2px solid #97b29b;outline-offset:2px;border-radius:5px}.search-bar>.icon-button{border-radius:9px;font-size:18px;margin-left:6px}.search-bar>.icon-button[aria-expanded=true]{background:var(--tint);color:var(--green)}.sidebar{position:absolute;left:24px;top:243px;bottom:28px;width:316px;border-radius:18px;z-index:7;display:flex;flex-direction:column;overflow:hidden}.filter-panel{padding:13px 17px 0;border-bottom:1px solid var(--line)}.list-heading{display:flex;align-items:center;justify-content:space-between}.list-heading h2{font-size:14px;margin:0}.list-heading h2 strong{margin-left:6px;color:var(--green);font-weight:550}.list-heading .icon-button{margin:-5px -10px -2px 0}.filter-line{display:flex;align-items:center;gap:8px;height:54px;font-size:10px;color:var(--muted)}.filter-line select{min-width:0;width:134px;height:44px;background:transparent;border:0;font-size:12px}.reset-button{margin-left:auto;font-size:10px;background:transparent;min-height:44px;padding:0 3px}.property-list{overflow:auto;flex:1;min-height:0}.property-row{display:block;position:relative;text-align:left;width:100%;padding:17px 20px 18px;border-bottom:1px solid #e8eade;background:transparent}.property-row:hover{background:#f3f5eb}.property-row[aria-pressed=true]{background:var(--tint);box-shadow:inset 3px 0 var(--green)}.row-top{display:flex;align-items:center;gap:7px;font-size:10px;margin-bottom:8px;color:var(--muted)}.category-label{color:var(--green)}.category-label::before{content:"";display:inline-block;width:5px;height:5px;background:var(--green);border-radius:50%;margin-right:5px}.category-label.purchase,.purchase-pin{--pin-color:#9c773e}.category-label.purchase{color:#8b692f}.category-label.purchase::before{background:#9c773e}.row-location{margin-left:auto;font-size:9px}.row-name{display:block;font-weight:650;font-size:15px;letter-spacing:-.4px;line-height:1.5}.row-address{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:4px}.row-types{display:flex;gap:6px;flex-wrap:wrap;font-size:10px;margin-top:8px;color:var(--green)}.row-area{display:block;font-size:10px;color:var(--muted);margin-top:7px}.sidebar-foot{font-size:10px;line-height:1.6;padding:12px 18px;margin:0;background:#f6f6ee;color:var(--muted);border-top:1px solid var(--line)}.empty{padding:26px 20px;font-size:13px;line-height:1.7}.empty p{font-size:12px;color:var(--muted)}.view-switch{position:absolute;top:24px;right:24px;padding:5px;border-radius:30px;display:flex;gap:3px;z-index:4}.view-switch button{display:flex;align-items:center;gap:7px;min-height:44px;border-radius:25px;padding:0 18px;background:transparent;font-size:12px;font-weight:550}.view-switch svg{height:18px;width:18px}.view-switch button[aria-pressed=true]{background:var(--green);color:#fff}.map-status{position:absolute;left:50%;top:105px;transform:translateX(-50%);font-size:12px;padding:13px 20px;border-radius:12px;background:#fffefaec;box-shadow:var(--shadow);z-index:3;max-width:400px;line-height:1.7}.map-status.error{color:#8f542d}.map-pin{--pin-color:var(--green);background:transparent;padding:8px 8px 17px;overflow:visible;color:var(--pin-color);z-index:1}.map-pin.purchase-pin{--pin-color:#9c773e}.pin-body{display:flex;gap:8px;align-items:center;background:#fffefa;border:2px solid #fffefa;border-radius:24px;box-shadow:0 3px 9px #37593d25;padding:11px 16px;font-size:12px;font-weight:600;white-space:nowrap;position:relative}.pin-body::after{content:"";position:absolute;bottom:-7px;left:calc(50% - 5px);width:9px;height:9px;transform:rotate(45deg);background:inherit}.pin-dot{height:7px;width:7px;border-radius:50%;background:var(--pin-color)}.map-pin[aria-pressed=true]{z-index:2}.map-pin[aria-pressed=true] .pin-body{background:var(--pin-color);border-color:var(--pin-color);color:white;box-shadow:0 4px 15px #25463240}.map-pin[aria-pressed=true] .pin-dot{background:#fffefa}.pin-label-type{font-size:10px;font-weight:400;opacity:.7;margin-left:2px}.maplibregl-ctrl-top-right{top:98px!important;right:18px!important}.maplibregl-ctrl-group{border-radius:25px!important;background:#fffefa!important;box-shadow:var(--shadow)!important;overflow:hidden}.maplibregl-ctrl-group button{width:44px!important;height:44px!important;border-color:#e6eadc!important}.maplibregl-ctrl-attrib{font-size:9px!important;background:#fffefac7!important}.maplibregl-ctrl-bottom-left{bottom:20px!important;left:214px!important}.maplibregl-ctrl-scale{font-size:9px!important;background:#fffefaa8!important;border-color:#6a7b67!important}.overview{position:absolute;left:24px;bottom:57px;width:174px;height:135px;border-radius:16px;padding:0;overflow:hidden;text-align:left;z-index:2}.overview>span:first-child{position:absolute;inset:0 0 30px}.overview-caption{position:absolute;bottom:0;left:0;right:0;height:31px;font-size:11px;padding:8px 13px;font-weight:550;background:var(--surface)}.overview-caption>span{float:right}.overview .maplibregl-control-container{display:none}.map-note{position:absolute;bottom:22px;left:24px;display:flex;align-items:center;gap:7px;color:#536754;font-size:10px;z-index:2}.sample-badge{font-size:9px;padding:4px 7px;border-radius:5px;background:#fffefad9}.map-note #view-note{background:#fffefa99;padding:3px 5px;border-radius:4px}.map-legend{position:absolute;right:24px;bottom:56px;display:flex;gap:13px;background:#fffefacd;border-radius:20px;padding:10px 13px;font-size:10px;z-index:2}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px;background:var(--green)}.legend-dot.purchase{background:#9c773e}.detail-panel{position:absolute;right:24px;top:102px;bottom:auto;width:314px;max-height:calc(100dvh - 205px);overflow:auto;z-index:6;border-radius:18px;padding:19px 22px 20px}.detail-panel:focus{outline:none}.detail-header{display:flex;align-items:center;justify-content:space-between;color:var(--green);font-size:10px}.detail-header .icon-button{margin:-10px -12px -5px 0}.detail-panel h2{font-size:21px;line-height:1.45;letter-spacing:-.6px;margin:12px 0 6px}.detail-address{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 13px}.detail-types{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:17px}.detail-types span{font-size:10px;border-radius:5px;padding:5px 7px;background:var(--tint);color:var(--green)}.detail-facts{display:grid;grid-template-columns:1fr;gap:15px;padding:16px 0;margin:0;border-block:1px solid var(--line)}.detail-facts dt{font-size:10px;color:var(--muted);margin-bottom:7px}.detail-facts dd{margin:0;font-size:13px;font-weight:550}.detail-note{font-size:11px;color:var(--muted);line-height:1.8;margin:14px 0 8px}.source-line{display:flex;justify-content:space-between;gap:6px;align-items:center;font-size:10px;color:var(--muted)}.source-line a{padding:12px 0}.detail-action{display:flex;justify-content:space-between;text-decoration:none;background:var(--green);color:#fffefa;font-size:12px;min-height:46px;padding:14px 13px;border-radius:10px;margin-top:7px}.unlocated-note{background:#f6eddc;color:#825d31;font-size:11px;line-height:1.8;padding:11px;border-radius:7px}.workspace:has(.detail-panel:not([hidden])) .maplibregl-ctrl-top-right{top:auto!important;bottom:120px!important}.workspace:has(.sidebar:not([hidden])) .overview{display:none}dialog{color:var(--ink);background:var(--surface);width:min(550px,calc(100% - 32px));padding:25px 28px;border:1px solid var(--line);border-radius:18px;max-height:85dvh;box-shadow:0 20px 80px #152e3125}dialog::backdrop{background:#19352c45}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{font-size:22px;margin:0}.dialog-heading .icon-button{margin-right:-12px}dialog p{font-size:13px;line-height:1.9}.about-list{font-size:12px;line-height:1.9}.about-list>div{display:grid;grid-template-columns:68px 1fr;gap:12px;padding:14px 0;border-top:1px solid var(--line)}.about-list dt{color:var(--muted)}.about-list dd{margin:0}.about-list a{display:inline-block;min-height:24px}
@media(max-width:1100px){.map-legend{bottom:122px}.title-card,.search-bar,.sidebar{width:290px}.detail-panel{width:286px}}
@media(max-width:700px){.title-card{top:14px;left:14px;width:calc(100% - 28px);padding:12px 17px 13px;border-radius:16px}.brand-line{height:20px}.brand{font-size:15px}.eyebrow{font-size:8px;letter-spacing:.9px}.title-card .icon-button{height:44px}.search-bar{left:14px;top:141px;width:calc(100% - 28px);height:48px}.view-switch{top:auto;right:14px;bottom:108px;padding:4px;z-index:5}.view-switch button{font-size:11px;min-height:44px;padding:0 13px;gap:6px}.view-switch svg{height:15px;width:15px}.maplibregl-ctrl-top-right{top:204px!important;right:7px!important}.maplibregl-ctrl-group button{height:44px!important;width:44px!important}.map-status{top:208px;left:14px;transform:none;max-width:calc(100% - 86px);font-size:11px;padding:10px 13px}.overview{display:none}.map-note{left:14px;bottom:17px;gap:3px;font-size:8px}.sample-badge{font-size:8px;padding:3px 5px}.map-note #view-note{padding:2px 4px}.map-legend{left:14px;right:auto;bottom:116px;padding:9px;font-size:9px;gap:9px}.maplibregl-ctrl-bottom-left{left:8px!important;bottom:179px!important}.maplibregl-ctrl-attrib{font-size:7px!important;max-width:80%}.map-pin .pin-body{font-size:11px;padding:10px 13px}.pin-label-type{display:none}.sidebar{left:10px;right:10px;top:auto;bottom:29px;width:auto;height:48dvh;max-height:calc(100dvh - 212px);z-index:8;border-radius:18px}.filter-panel{padding:8px 17px 0}.filter-line{height:46px}.property-row{padding:14px 20px}.sidebar-foot{padding:9px 18px}.detail-panel{left:10px;right:10px;top:auto;bottom:29px;width:auto;max-height:48dvh;padding:13px 20px 17px;border-radius:18px;z-index:9}.detail-header{position:sticky;top:-13px;padding-top:4px;background:var(--surface);z-index:1}.detail-panel h2{font-size:19px;margin-top:8px}.detail-types{margin-bottom:12px}.detail-facts{padding:12px 0}.detail-note{font-size:10px;margin:10px 0 4px}.detail-address{font-size:11px}.detail-action{font-size:11px}.workspace:has(.detail-panel:not([hidden])) .map-legend,.workspace:has(.sidebar:not([hidden])) .map-legend{visibility:hidden}.workspace:has(.detail-panel:not([hidden])) .view-switch,.workspace:has(.sidebar:not([hidden])) .view-switch{bottom:auto;top:203px;right:auto;left:14px}.workspace:has(.detail-panel:not([hidden])) .maplibregl-ctrl-top-right{top:204px!important;bottom:auto!important}.workspace:has(.detail-panel:not([hidden])) .maplibregl-ctrl-bottom-left,.workspace:has(.sidebar:not([hidden])) .maplibregl-ctrl-bottom-left{display:none}}
.map-pin{min-height:44px}.pin-body,.map-pin .pin-body{padding:4px 10px;line-height:1.4}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.sidebar-foot p{margin:6px 0 0}.sidebar-foot button{display:flex;justify-content:space-between;align-items:center;width:100%;background:var(--tint);color:var(--green);border-radius:9px;min-height:44px;padding:0 12px;font-size:11px}.sidebar-foot{padding-top:9px}
@media(max-width:700px){.view-switch{bottom:126px}.map-legend{bottom:134px}.map-note{bottom:36px;font-size:9px}.maplibregl-ctrl-attrib{font-size:9px!important;max-width:100%}}
.legend-rail{display:inline-block;width:10px;height:2px;margin-right:5px;border-radius:2px;background:#506d96;box-shadow:0 0 0 1.4px #fffefa}
@media(max-width:700px){.map-legend{bottom:188px;gap:9px}.maplibregl-ctrl-bottom-left{bottom:222px!important}}

.region-line{display:flex;align-items:center;gap:12px;padding-top:4px;font-size:11px;color:var(--muted)}.region-line select{flex:1;min-width:0;min-height:44px;border:0;background:transparent;font-size:12px;color:var(--ink)}.load-more{display:block;margin:12px auto;padding:12px 24px;min-height:44px;border-radius:9px;background:var(--tint);color:var(--green);font-size:12px}
@media(max-width:700px){.sidebar{height:60dvh;max-height:calc(100dvh - 286px)}}

.title-card{padding:8px 16px}.brand-line{height:44px}.search-bar{top:98px}.sidebar{top:162px}.map-status{top:162px}
.map-legend{display:flex;flex-direction:column;align-items:flex-start;gap:2px;max-width:min(570px,calc(100% - 240px));padding:6px 9px;border-radius:18px}.housing-filters{display:flex;flex-wrap:wrap;gap:0 2px}.housing-filters button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 9px;border-radius:24px;background:transparent;font-size:11px;white-space:nowrap}.housing-filters button[aria-pressed=true]{background:var(--green);color:var(--surface)}.housing-filters button[aria-pressed=true] .legend-dot{background:var(--surface)}.rail-key{font-size:9px;color:var(--muted);padding:0 9px 4px}.workspace:has(.detail-panel:not([hidden])) .map-legend{visibility:hidden}
@media(max-width:700px){.title-card{padding:4px 17px}.brand-line{height:44px}.search-bar{top:80px}.maplibregl-ctrl-top-right{top:142px!important}.map-status{top:142px}.view-switch{bottom:60px}.map-legend{left:14px;right:14px;bottom:128px;max-width:none;padding:4px 6px}.housing-filters{gap:0}.housing-filters button{padding:0 8px;font-size:10px}.map-note{bottom:36px}.maplibregl-ctrl-bottom-left{bottom:268px!important}.sidebar{top:auto;max-height:calc(100dvh - 180px)}.workspace:has(.detail-panel:not([hidden])) .view-switch,.workspace:has(.sidebar:not([hidden])) .view-switch{top:142px}.workspace:has(.detail-panel:not([hidden])) .maplibregl-ctrl-top-right{top:142px!important}}
/* Seasons change the miniature scenery while the controls keep their contrast. */
.season-picker{position:absolute;z-index:5;right:88px;top:94px;display:flex;align-items:center;gap:8px;padding:0 10px 0 14px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 4px 14px #293e2820;font-size:11px;color:var(--muted)}.season-picker select{min-height:44px;width:70px;border:0;background:transparent;color:var(--ink);font:inherit;font-weight:700}.season-picker[hidden]{display:none}.jeonse-info{padding:4px 18px 22px;overflow:auto;font-size:13px;line-height:1.7}.jeonse-info h3{font-size:17px;margin:12px 0}.jeonse-info a{display:inline-block;color:var(--green);min-height:44px;padding-top:10px}.jeonse-info[hidden]{display:none}.pin-body{max-width:245px;white-space:normal;text-align:left;overflow-wrap:anywhere}
@media(max-width:700px){.season-picker{left:14px;right:auto;top:142px;padding-left:11px;gap:4px}.season-picker select{width:60px}.workspace:has(.detail-panel:not([hidden])) .season-picker,.workspace:has(.sidebar:not([hidden])) .season-picker{visibility:hidden}.map-legend{bottom:128px}.jeonse-info{flex:1;min-height:0}.housing-filters button{padding-left:7px;padding-right:7px}}

/* Dated official notices remain separate from individual home availability. */
.brand-line .notice-open{margin-left:auto;min-height:44px;padding:0 10px;color:var(--green);background:transparent;border-radius:9px;font-size:12px;font-weight:700;white-space:nowrap}
.brand-line .notice-open:hover{background:var(--tint)}
.brand-line .notice-open+.icon-button{margin-left:0}
#notices{width:min(680px,calc(100% - 32px));max-height:min(800px,90dvh);padding:22px 26px;overflow:hidden}
#notices[open]{display:flex;flex-direction:column}
#notices .dialog-heading{flex-shrink:0;gap:12px}
#notices-title{font-size:21px}
#notice-count{font-size:13px;font-weight:500;color:var(--muted);white-space:nowrap}
#notice-source-note{margin:8px 0 14px;font-size:11px;line-height:1.6;color:var(--muted)}
.notice-filters{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:9px;flex-shrink:0}
.notice-filters label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--muted);min-width:0}
.notice-filters .notice-search{grid-column:1/-1}
.notice-filters input,.notice-filters select{width:100%;min-width:0;height:42px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:0 10px;font:inherit;font-size:13px}
#notice-caveat{font-size:11px;color:var(--muted);line-height:1.7;margin:12px 0;flex-shrink:0}
#notice-list{min-height:70px;overflow:auto;overscroll-behavior:contain;border-block:1px solid var(--line)}
.notice-row{padding:16px 1px;border-bottom:1px solid var(--line)}
.notice-row:last-child{border-bottom:0}
.notice-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:11px;color:var(--muted)}
.notice-meta .notice-status{margin-left:auto;color:var(--green);font-weight:600}
.notice-row h3{font-size:14px;font-weight:600;line-height:1.7;margin:7px 0 2px;overflow-wrap:anywhere}
.notice-row h3 a{display:block;color:var(--ink);padding:3px 0;min-height:44px;text-decoration:none}
.notice-row h3 a:hover{text-decoration:underline;text-underline-offset:3px}
#notices .notice-dates{font-size:11px;color:var(--muted);line-height:1.6;margin:0}
#notices .notice-title-type{font-size:12px;line-height:1.6;color:var(--green);font-weight:700;margin:8px 0 0}
.notice-title-type span{font-size:10px;font-weight:400;color:var(--muted);margin-left:5px}
#notices .notice-empty{padding:28px 8px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}
.notice-more{width:100%;min-height:44px;background:var(--tint);color:var(--green);font-size:12px;border-radius:8px;margin:8px 0}
.notice-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;font-size:12px;flex-shrink:0}
.notice-footer a,.notice-footer button{display:inline-flex;align-items:center;min-height:44px}
.detail-panel .detail-action{width:100%;font:inherit;font-size:13px;cursor:pointer}
@media(max-width:520px){#notices{padding:16px;width:calc(100% - 20px);max-height:94dvh}#notices-title{font-size:19px}.notice-filters{grid-template-columns:1fr 1fr}.notice-filters label:last-child{grid-column:1/-1}#notice-caveat{font-size:10px}#notice-source-note{font-size:10px}.notice-title-type span{display:block;margin-left:0}}
.notice-open{text-decoration:none;display:inline-flex;align-items:center;gap:5px;min-height:44px}
#notice-browse{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.notice-title{display:block;text-align:left;width:100%;background:transparent;padding:4px 0;min-height:44px;font:inherit;font-weight:600;line-height:1.7;overflow-wrap:anywhere}
.notice-title:hover{text-decoration:underline;text-underline-offset:3px}
#notice-property-context{font-size:12px;color:var(--green);line-height:1.6;margin:0 0 10px}
#notice-detail-view{overflow:auto;overscroll-behavior:contain;min-height:100px;padding:0 2px 10px;overflow-wrap:anywhere}
.notice-back{background:transparent;color:var(--green);padding:9px 1px;min-height:44px;margin-bottom:8px;font-size:13px}
.notice-detail-title{font-size:19px;line-height:1.6;margin:10px 0 12px}
.notice-original,.notice-home{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:10px;background:var(--green);color:var(--surface);font-size:13px;text-decoration:none}
.notice-section{border-top:1px solid var(--line);padding:17px 0 0;margin-top:20px}
.notice-section h4{margin:0 0 12px;font-size:15px}.notice-section p{font-size:12px;line-height:1.7}
.notice-complex{padding:12px 0;border-bottom:1px solid var(--line)}.notice-complex:last-child{border-bottom:0}
.notice-complex h5{margin:0;font-size:14px}.notice-complex>p{margin:5px 0 9px}
.notice-facts{font-size:12px;margin:8px 0 13px;line-height:1.6}
.notice-facts>div{display:grid;grid-template-columns:minmax(84px,.7fr) minmax(0,1.5fr);gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}
.notice-facts dt{color:var(--muted)}.notice-facts dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}
.notice-link-note,.notice-section-note,.notice-retrieved{color:var(--muted);font-size:11px;line-height:1.7}
.notice-table-wrap{width:100%;max-height:440px;overflow:auto;overscroll-behavior:contain;margin:12px 0}
.notice-table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;line-height:1.6}
.notice-table caption{text-align:left;color:var(--muted);font-size:11px;padding-bottom:7px}
.notice-table th{background:var(--tint);position:sticky;top:0;z-index:1;font-weight:600}
.notice-table th,.notice-table td{min-width:100px;padding:10px 12px;border:1px solid var(--line);white-space:pre-line}
.notice-table th:first-child,.notice-table td:first-child{min-width:140px}
.notice-correction{padding:12px;background:var(--tint);border-radius:10px;margin-top:16px;font-size:12px;line-height:1.7}
.notice-correction summary{cursor:pointer;font-weight:600}.notice-correction p{white-space:pre-line}
.notice-retrieved{border-top:1px solid var(--line);padding-top:15px;margin-top:20px}
.detail-region-notices{display:block;background:transparent;min-height:44px;padding:10px 0;color:var(--green);font-size:12px;width:100%;text-align:center}
#about details{margin:18px 0}#about summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--green);font-size:13px;font-weight:600}#about .help-note{font-size:11px;color:var(--muted)}
@media(max-width:520px){.notice-detail-title{font-size:17px}.notice-facts>div{grid-template-columns:minmax(78px,.8fr) minmax(0,1.2fr);gap:10px}.notice-table th,.notice-table td{padding:8px}.notice-section{margin-top:17px}}
.property-unit-info{margin:18px 0 12px;min-width:0}.property-unit-info h3{font-size:15px}.property-unit-group{border-top:1px solid var(--line);padding:8px 0;font-size:12px}.property-unit-group summary{padding:8px 0;line-height:1.65;cursor:pointer}.property-unit-info .notice-table-wrap{max-height:260px}.property-unit-info .notice-table{font-size:11px}.notice-conditions{padding:12px 0;border-bottom:1px solid var(--line)}.notice-conditions summary{cursor:pointer;min-height:30px}.notice-conditions .notice-facts dd{white-space:pre-wrap}
.sun-time{position:absolute;right:88px;top:94px;z-index:5;width:240px;padding:12px 15px 10px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 4px 14px #293e2818;font-size:11px}.sun-time-heading,.sun-time-value{display:flex;align-items:center;justify-content:space-between;gap:8px}.sun-time-heading label{font-weight:700}.sun-time-heading button{background:transparent;color:var(--green);font:inherit;min-height:32px;padding:4px 8px;border:1px solid var(--line);border-radius:16px}.sun-time-heading button[aria-pressed=true]{background:var(--green);color:var(--surface);border-color:var(--green)}.sun-time-value{margin:6px 0;color:var(--muted);font-size:10px}.sun-time-value output{font-size:20px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--ink)}.sun-time input{display:block;width:100%;height:28px;margin:0;accent-color:var(--green);cursor:ew-resize}.sun-time-ticks{display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.sun-time p{font-size:10px;color:var(--muted);line-height:1.5;margin:8px 0 0}.workspace:has(.detail-panel:not([hidden])) .sun-time{right:350px}.workspace:has(.sidebar:not([hidden])) .sun-time{right:88px}
@media(max-width:700px){.sun-time{left:14px;right:auto;top:142px;width:220px;padding:8px 12px}.sun-time-heading button{min-height:32px}.sun-time-value{margin:0}.sun-time-value output{font-size:17px}.sun-time p{margin-top:4px}.workspace:has(.detail-panel:not([hidden])) .sun-time,.workspace:has(.sidebar:not([hidden])) .sun-time{visibility:hidden}}
.sun-time-heading button{min-height:44px}.sun-time input{height:44px}
.season-control{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid var(--line)}.season-value{display:block;color:var(--ink);font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}.sun-time-ticks{font-size:10px}
@media(max-width:700px){.season-control{padding-bottom:6px;margin-bottom:6px}.season-value{font-size:14px}}
.housing-filters{gap:2px}.housing-filters button{flex:0 0 76px;width:76px;min-width:76px;height:44px;padding:0 6px;box-sizing:border-box}.housing-type-line{align-items:flex-start}.housing-type-line>span{padding-top:15px}.type-picker{flex:1;min-width:0;color:var(--ink)}.type-picker>summary{min-height:44px;padding:13px 0;cursor:pointer;font-size:12px;overflow-wrap:anywhere}.type-picker .housing-filters{max-height:180px;overflow:auto;padding-bottom:6px}.jeonse-info{flex:0 1 auto;max-height:48%;min-height:0}summary:focus-visible{outline:3px solid #ab803f;outline-offset:2px}
@media(max-width:700px){.housing-filters button{flex-basis:66px;width:66px;min-width:66px;padding:0 5px}.type-picker .housing-filters{max-height:142px}.map-legend{padding:4px 6px}}
@media(max-width:700px) and (max-height:730px){.sun-time{max-height:calc(100dvh - 470px);overflow:auto}}

/* Collapsible controls preserve the map on small screens. */
.sun-time{padding:0}.sun-time summary{min-height:44px;padding:10px 12px;cursor:pointer;font-weight:700}.sun-time summary span{font-size:10px;font-weight:400;color:var(--muted);margin-left:5px;font-variant-numeric:tabular-nums}.sun-time-controls{padding:0 12px 10px}.sun-time[open] summary{border-bottom:1px solid var(--line);margin-bottom:8px}.sun-time summary:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:12px}
@media(max-width:700px){.sun-time{width:240px;max-height:calc(100dvh - 360px);overflow:auto}.sun-time:not([open]){overflow:visible}.sun-time[open]{z-index:7}}

.map-pin .pin-body{background:var(--housing-color,#65716f);color:#fff;border:2px solid #fff;box-shadow:0 3px 12px #18262c33}.map-pin .pin-dot{background:#fff}.map-pin::after{border-top-color:var(--housing-color,#65716f)}.housing-filters button .legend-dot{background:var(--housing-color)}.housing-filters button[aria-pressed=true]{background:var(--housing-color);color:#fff}.housing-filters button[aria-pressed=true] .legend-dot{background:#fff}.sun-time summary{display:flex;align-items:center;list-style:none;gap:5px}.sun-time summary::-webkit-details-marker{display:none}.sun-toggle{margin-left:auto;font-size:22px;line-height:24px}.sun-toggle::after{content:'+'}.sun-time[open] .sun-toggle::after{content:'−'}.external-maps{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.external-maps a{display:flex;align-items:center;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;color:var(--green);font-size:12px;text-decoration:none}

@media(max-width:700px){.map-legend .housing-filters{max-height:94px;overflow:auto}.sun-time{max-height:calc(100dvh - 400px)}}

.map-pin[aria-pressed=true] .pin-body{background:var(--housing-color,#65716f);border-color:#fff;outline:3px solid var(--housing-color,#65716f);outline-offset:2px}

/* Unified map tools: map mode, season/time, then zoom. */
.map-controls{position:absolute;top:24px;right:24px;width:264px;display:flex;flex-direction:column;align-items:stretch;gap:10px;z-index:5;pointer-events:none}
.map-controls>*{pointer-events:auto}.map-controls .view-switch{position:static;align-self:stretch;justify-content:center}.workspace .map-controls .sun-time{position:static;width:100%;max-height:45dvh;overflow:auto;visibility:visible}.map-controls #zoom-controls{align-self:flex-end}.map-controls .maplibregl-ctrl{margin:0;float:none}.map-controls .view-switch button{flex:1;justify-content:center;padding:0 10px}
.external-maps{display:grid;grid-template-columns:1fr 1fr;margin:8px 0 16px}.external-maps a{gap:8px;padding:10px 8px}.external-maps small{display:block;font-size:10px;margin-top:3px}.map-brand{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:7px;font-size:19px}.map-brand.naver{background:#03c75a;color:white}.map-brand.kakao{background:#fee500;color:#302020}.detail-region-notices{display:flex;text-align:left;background:var(--green);color:#fffefa;padding:14px 13px;min-height:46px}.detail-action{width:100%;align-items:center}
@media(max-width:700px){.map-controls{top:142px;right:14px;width:240px;gap:8px}.workspace .map-controls .view-switch{position:static}.workspace .map-controls .sun-time{max-height:32dvh}.workspace:has(.detail-panel:not([hidden])) .map-controls .sun-time,.workspace:has(.sidebar:not([hidden])) .map-controls .sun-time{display:none}.map-legend{bottom:60px}.brand{font-size:15px}}
.map-brand.kakao{font-size:0;position:relative}.map-brand.kakao::before{content:"";width:18px;height:14px;border-radius:50%;background:#302020}.map-brand.kakao::after{content:"";position:absolute;left:7px;bottom:5px;border-top:5px solid #302020;border-right:5px solid transparent}

/* Match both tool rows and right-align compact navigation with both rows. */
.map-controls .view-switch,.workspace .map-controls .sun-time{width:100%;min-width:0;box-sizing:border-box;margin:0}
.map-controls .view-switch button{flex:1 1 0;min-width:0}
.map-controls #zoom-controls{width:35.2px;margin-right:0;align-self:flex-end}
.map-controls #zoom-controls .maplibregl-ctrl-group{border-radius:20px!important}
.map-controls #zoom-controls button{width:35.2px!important;height:35.2px!important}
.map-controls #zoom-controls .maplibregl-ctrl-icon{background-size:80% 80%}

.map-controls .view-switch{height:56px;min-height:56px;padding:5px;flex-shrink:0}.map-controls .sun-time>summary{height:54px;min-height:54px;box-sizing:border-box}.map-controls .sun-time:not([open]){height:56px;min-height:56px;overflow:hidden}

.region-line select:disabled{opacity:.55}
#map[data-measuring=true] .map-pin{pointer-events:none}
.measure-buttons{display:flex;flex-direction:column;align-self:flex-end;width:35.2px;margin:0;gap:0;border-radius:20px;background:#fffefa;overflow:hidden;box-shadow:0 2px 8px #0001}
.measure-buttons button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:35.2px;height:35.2px;flex:none;padding:7px;border:0;border-radius:0;background:transparent;color:#333;cursor:pointer}
.measure-buttons button+button{border-top:1px solid #dce2d7}
.measure-buttons button:hover{background:#eef3ee}
.measure-buttons button[aria-pressed=true]{background:#326b58;color:white}
.measure-buttons svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.measure-map-label{position:absolute;z-index:5;pointer-events:none;background:#fffefa;color:#165d9e;border:1px solid #1677cf;border-radius:8px;padding:6px 10px;font-size:13px;font-weight:700;box-shadow:0 2px 8px #0002;white-space:nowrap}

/* Compact map filters: selection uses each rental type's outline. */
#map-housing-filters{gap:4px}
#map-housing-filters button{flex:0 0 auto;width:auto;min-width:0;height:auto;min-height:0;padding:4px 8px;border:1px solid transparent;line-height:1.4;background:transparent;color:var(--ink)}
#map-housing-filters button[aria-pressed=true]{border-color:var(--housing-color,var(--green));background:transparent;color:var(--ink)}
#map-housing-filters button .legend-dot,#map-housing-filters button[aria-pressed=true] .legend-dot{background:var(--housing-color,var(--green))}

.region-selectors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:10px}
.region-selectors .region-line{min-width:0;gap:6px}
.region-selectors label{flex-shrink:0;white-space:nowrap}
@media(max-width:700px){.region-selectors{grid-template-columns:minmax(0,1fr);gap:0}.region-selectors .region-line{gap:12px}}

/* Season panel expands independently of the fixed right-hand tools. */
.map-controls{display:grid;grid-template-columns:minmax(0,1fr) 35.2px;grid-template-rows:56px auto auto;column-gap:10px;row-gap:10px}
.map-controls .view-switch{grid-column:1/-1;grid-row:1}
.workspace .map-controls .sun-time{position:absolute;left:0;right:auto;top:66px;width:calc(100% - 45.2px);border-radius:30px;padding:0}
.map-controls .sun-time>summary{display:flex;align-items:center;gap:4px;height:44px;min-height:44px;padding:8px 10px;white-space:nowrap}
.map-controls .sun-time>summary span{margin-left:0;font-size:9px}
.map-controls .sun-time:not([open]){height:46px;min-height:46px}
.map-controls #zoom-controls{grid-column:2;grid-row:2}
.map-controls .measure-buttons{grid-column:2;grid-row:3}
@media(max-width:700px){.map-controls{row-gap:8px}.workspace .map-controls .sun-time{top:64px}.map-controls .sun-time>summary{gap:2px;font-size:10px;padding:8px}.map-controls .sun-time>summary span{font-size:8px}}

/* Mobile: readable controls, safe edges, and one scroll surface per sheet. */
@media(max-width:700px){
  .workspace{min-height:0}
  .title-card{top:calc(10px + env(safe-area-inset-top));left:12px;width:calc(100% - 24px);padding:2px 14px}
  .search-bar{top:calc(68px + env(safe-area-inset-top));left:12px;width:calc(100% - 24px)}
  .search-field input{font-size:16px}
  .map-controls{top:calc(126px + env(safe-area-inset-top));right:12px;width:min(294px,calc(100% - 24px));grid-template-columns:minmax(0,1fr) 44px;gap:8px}
  .map-controls .view-switch button{font-size:13px}
  .workspace .map-controls .sun-time{top:64px;width:calc(100% - 52px);max-height:calc(100dvh - 346px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain}
  .map-controls .sun-time>summary{font-size:12px;padding:8px 10px;gap:5px}
  .map-controls .sun-time>summary span{font-size:11px}
  .sun-time-heading,.sun-time-value{font-size:12px}
  .map-controls #zoom-controls,.map-controls .measure-buttons{width:44px}
  .map-controls #zoom-controls button,.map-controls .measure-buttons button{width:44px!important;height:44px!important}
  .map-controls #zoom-controls .maplibregl-ctrl-group,.map-controls .measure-buttons{border-radius:30px!important}
  .map-legend{left:12px;right:12px;bottom:calc(48px + env(safe-area-inset-bottom));padding:2px 6px;border-radius:24px}
  .map-legend #map-housing-filters{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;max-height:none;gap:4px;scrollbar-width:none;overscroll-behavior-x:contain}
  #map-housing-filters button{min-height:44px;font-size:12px;padding:4px 8px}
  .map-note{left:12px;right:12px;bottom:calc(26px + env(safe-area-inset-bottom));font-size:9px}
  .maplibregl-ctrl-bottom-left{bottom:calc(104px + env(safe-area-inset-bottom))!important}
  .maplibregl-ctrl-bottom-right{bottom:env(safe-area-inset-bottom)}
  .sidebar,.detail-panel{left:8px;right:8px;bottom:calc(24px + env(safe-area-inset-bottom));width:auto;max-height:calc(100dvh - 150px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .sidebar{height:65dvh;overflow-y:auto;display:block}
  .filter-panel{padding:8px 16px 0}
  .property-list{overflow:visible;min-height:80px}
  .list-heading{position:sticky;top:0;background:var(--surface);z-index:1}
  .region-line select,.filter-line select{font-size:16px}
  .region-line{font-size:13px}
  .filter-line{flex-wrap:wrap;height:auto;min-height:46px;gap:4px 8px}
  .filter-line select{flex:1;width:140px}
  .reset-button{font-size:12px}
  .row-top,.row-address,.row-types,.row-area,.row-location{font-size:12px}
  .detail-panel{max-height:min(68dvh,calc(100dvh - 150px));padding:12px 16px 18px}
  .detail-address,.detail-note,.detail-action,.detail-region-notices{font-size:13px}
  .detail-panel p{font-size:13px;line-height:1.7}
  .workspace:has(.sidebar:not([hidden])) .map-controls,.workspace:has(.detail-panel:not([hidden])) .map-controls{visibility:hidden;pointer-events:none}
  .workspace:has(.sidebar:not([hidden])) .map-controls>*,.workspace:has(.detail-panel:not([hidden])) .map-controls>*{visibility:hidden;pointer-events:none}
  .workspace:has(.sidebar:not([hidden])) .map-note,.workspace:has(.detail-panel:not([hidden])) .map-note{visibility:hidden}
}
@media(max-height:500px) and (min-width:701px) and (max-width:1000px){
  .workspace{min-height:0}
  .title-card{left:12px;top:12px;width:300px;padding:2px 14px}
  .search-bar{left:12px;top:70px;width:300px;height:48px}
  .search-field input{font-size:16px}
  .map-controls{top:12px;right:12px}
  .workspace .map-controls .sun-time{max-height:calc(100dvh - 204px)}
  .sidebar{left:12px;top:128px;bottom:24px;width:340px;overflow:auto;display:block}
  .property-list{overflow:visible}
  .detail-panel{left:12px;right:auto;top:128px;bottom:24px;width:340px;max-height:none;z-index:9}
  .map-legend{left:auto;right:64px;bottom:32px;max-width:calc(100% - 390px)}
  .map-legend #map-housing-filters{flex-wrap:nowrap;overflow:auto;max-height:44px}
  #map-housing-filters button{min-height:36px}
  .map-note{bottom:4px}
}

.property-notice-types:empty{display:none}
.property-notice-types{margin:0 0 16px;border-top:1px solid var(--line);padding-top:12px;overflow-wrap:anywhere}
.property-notice-types h3{font-size:12px;margin:0 0 10px}
.notice-type-record+.notice-type-record{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
.notice-type-heading{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;font-size:13px}
.notice-type-heading span{font-size:10px;color:var(--muted)}
.detail-panel .notice-type-record p{font-size:11px;line-height:1.7;margin:6px 0}
.notice-type-record a{display:block;font-size:11px;line-height:1.7;padding:6px 0}
.notice-type-record small{display:block;font-size:10px;line-height:1.7;color:var(--muted)}
.detail-panel .notice-type-caveat{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 0}
@media(max-width:700px){.notice-type-heading{font-size:14px}.notice-type-heading span,.notice-type-record small{font-size:11px}.detail-panel .notice-type-record p,.notice-type-record a{font-size:12px}.detail-panel .notice-type-caveat{font-size:11px}}
.detail-complex-link{display:flex;align-items:center;justify-content:space-between;text-decoration:none;gap:8px}
.row-top{flex-wrap:wrap}.row-agency{font-weight:600;color:var(--ink)}
.agency-line label{flex-shrink:0}.agency-line select{width:100%}
.detail-header>span{line-height:1.6;padding-right:8px}.detail-header .icon-button{flex-shrink:0}

/* Center the season/time copy while keeping its toggle at the right edge. */
.map-controls .sun-time>summary{position:relative;justify-content:center;padding-inline:28px}
.map-controls .sun-time>summary .sun-toggle{position:absolute;right:10px;margin-left:0}

/* Desktop detail and filters share rows, reserving the filters' wrapped height. */
@media (min-width:1001px), (min-width:701px) and (min-height:501px){
  .workspace{--filter-bottom:40px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:12px;padding:102px 24px var(--filter-bottom)}
  .workspace .detail-panel{position:relative;grid-area:1/1;justify-self:end;align-self:start;top:auto;right:auto;bottom:auto;min-height:0;max-height:100%;overscroll-behavior:contain}
  .workspace .map-legend{position:relative;grid-area:2/1;justify-self:end;right:auto;bottom:auto;min-width:0;max-width:min(570px,calc(100vw - 240px))}
  .workspace:has(.detail-panel:not([hidden])) .map-legend{visibility:visible}
}
@media (min-width:701px) and (max-width:1100px) and (min-height:501px){.workspace{--filter-bottom:106px}}

/* Supply institutions sit above the rental types and share the sidebar filter. */
.map-agency-line{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:0 0 4px;border-bottom:1px solid #dce3d8}
#map-agency-filters{display:flex;flex:1;flex-wrap:wrap;gap:2px;min-width:0;scrollbar-width:none;overscroll-behavior-x:contain}
#map-agency-filters button{flex-shrink:0;min-height:30px;padding:4px 8px;border:1px solid transparent;border-radius:24px;background:transparent;color:var(--ink);font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}
#map-agency-filters button:is([aria-pressed="true"],[aria-pressed="mixed"]){border-color:var(--green);color:var(--green);font-weight:700}
.region-line select,.type-picker>summary{appearance:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 5.5 5 5 5-5' fill='none' stroke='%23243f35' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center;padding-right:24px}
.type-picker>summary{display:block;list-style:none;padding-block:10px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.type-picker>summary::-webkit-details-marker{display:none}
.type-picker .housing-filters{--type-row:36px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;max-height:calc(var(--type-row)*3 + 4px);padding:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.type-picker .housing-filters button{width:100%;min-width:0;height:var(--type-row);min-height:var(--type-row);padding:4px 6px;font-size:11px}
.type-picker .agency-filters{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none}
.agency-filters button{--housing-color:var(--green)}
.agency-line,.housing-type-line,.subtype-line{align-items:flex-start}
.agency-line>span,.housing-type-line>span,.subtype-line>span{flex:0 0 56px;padding-top:10px;line-height:24px;white-space:nowrap}
.type-picker .subtype-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
.type-picker .subtype-filters button{--housing-color:var(--green);height:auto;min-height:var(--type-row);white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.filter-line:has(.reset-button){min-height:44px}.filter-line .reset-button{display:inline-flex;align-items:center;gap:5px;padding:0 6px;font-size:12px;color:var(--green)}.reset-button svg{width:16px;height:16px}
#map-agency-filters button:focus-visible,.region-line select:focus-visible,.type-picker>summary:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
.operator-review{padding-block:12px;border-block:1px solid var(--line);margin-block:12px;font-size:12px;line-height:1.65}
.operator-review dl{display:grid;gap:6px;margin:0}
.operator-review dl>div{display:grid;grid-template-columns:116px minmax(0,1fr);gap:10px}
.operator-review dt{color:var(--muted)}.operator-review dd{margin:0;overflow-wrap:anywhere}
.operator-review p{margin:8px 0;font-size:12px!important}.operator-review a{color:var(--green)}.operator-review>span{color:var(--muted)}
@media(max-width:700px) and (max-height:600px){
  .workspace .map-controls #zoom-controls,.workspace .map-controls .measure-buttons{width:35.2px;justify-self:end}
  .workspace .map-controls #zoom-controls button,.workspace .map-controls .measure-buttons button{width:35.2px!important;height:35.2px!important}
}
@media(max-width:700px){
  .map-agency-line{padding-block:2px;gap:10px}
  #map-agency-filters button{min-height:44px;font-size:12px}
  .type-picker>summary{font-size:16px}
  .type-picker .housing-filters{--type-row:40px}
  .type-picker .housing-filters button{font-size:12px;padding-inline:4px}
  .maplibregl-ctrl-bottom-left{bottom:calc(150px + env(safe-area-inset-bottom))!important}
}
.property-building-history{min-width:0;margin:18px 0}.property-building-history:empty{display:none}.property-building-history h3{font-size:15px}.building-floor-group{margin:12px 0;border:1px solid var(--line);border-radius:18px;padding:0 12px;overflow:hidden}.building-floor-group>summary{min-height:44px;padding:12px 0;font-size:13px;font-weight:650;cursor:pointer}.building-floor{border-top:1px solid var(--line);padding:0}.building-floor>summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:12px;line-height:1.5}.building-floor>summary span{margin-left:8px}.building-floor>summary small{display:block;color:var(--muted);padding-left:14px;font-size:11px}.building-door{padding:2px 0 10px}.building-door p{font-size:12px;margin:8px 0}.building-door p span{display:block;color:var(--muted);font-size:11px;margin-top:4px}.building-door .notice-table{font-size:11px}.building-door .notice-table th,.building-door .notice-table td{min-width:90px;padding:8px 6px}.building-door .notice-table th:first-child,.building-door .notice-table td:first-child{min-width:105px}.building-door .notice-table small{display:block;font-size:10px}.building-door .notice-table a{display:inline-flex;align-items:center;min-height:36px}.building-door .notice-table-wrap{max-height:240px;margin:6px 0}

.register-comparison{color:var(--muted);font-size:11px!important}.detail-facts dt small{display:block;font-weight:400;font-size:10px;line-height:1.6;margin-top:3px}.detail-facts dd{overflow-wrap:anywhere}
#floor-details{width:min(1080px,calc(100% - 32px));max-height:90dvh;padding:22px 26px;overflow:hidden}
#floor-details[open]{display:flex;flex-direction:column}
#floor-details .dialog-heading{flex-shrink:0;gap:16px;margin-bottom:12px}
#floor-details-title{min-width:0;font-size:20px;overflow-wrap:anywhere}
.floor-dialog-content{min-height:0;overflow:auto;overscroll-behavior:contain}
.building-history-table{max-height:55dvh}
.building-history-table table{min-width:950px}
.building-history-table td{vertical-align:top}
.building-history-table th,.building-history-table td{min-width:100px}
.building-history-table td:nth-child(4){min-width:180px}
.building-history-table td:nth-child(n+5){white-space:nowrap}
.building-history-table small{display:block;color:var(--muted);font-size:11px;max-width:240px}
.floor-no-notice{color:var(--muted)}
@media(max-width:700px){#floor-details{width:calc(100% - 16px);padding:18px 16px;max-height:94dvh}#floor-details-title{font-size:18px}.building-history-table{max-height:52dvh}}

/* Floating choices keep the selected value and results in their original rows. */
.filter-panel{position:relative}
.region-line{gap:10px}
.region-line>label,.agency-line>span,.housing-type-line>span,.subtype-line>span{flex:0 0 56px;white-space:nowrap}
.region-selectors .region-line{gap:10px}
.region-line select{padding-left:0}
.subtype-line>span{letter-spacing:-.55px}
.type-picker[open]>.housing-filters{position:absolute;top:var(--picker-top,100%);left:14px;right:14px;z-index:12;padding:6px;max-height:148px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 6px 20px #243e3625;scrollbar-gutter:stable}
.type-picker .housing-filters{--type-row:42px}
.type-picker .housing-filters button{height:var(--type-row);min-height:var(--type-row);font-size:12px}
.type-picker .subtype-filters button{height:var(--type-row);min-height:var(--type-row);word-break:keep-all;overflow-wrap:normal;letter-spacing:-.4px}
.workspace .map-legend{visibility:visible}
.agency-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;vertical-align:middle}
.agency-icon img{display:block;width:100%;height:100%;object-fit:contain}
.agency-icon svg{width:18px;height:18px;stroke:currentColor;fill:none}
.agency-icon svg.agency-logo{width:100%;height:100%;stroke:none;overflow:hidden}
#map-agency-filters button,.agency-filters button{display:flex;align-items:center;justify-content:center;gap:4px}
.map-pin .agency-icon{flex-basis:24px;width:24px;height:24px;background:#fffefa;border-radius:7px;padding:2px}

@media(max-width:700px){
  .region-line{font-size:12px;gap:10px;padding-top:2px}
  .region-selectors .region-line{gap:10px}
  .region-line>label,.agency-line>span,.housing-type-line>span,.subtype-line>span{flex-basis:58px}
  .region-line select,.type-picker>summary{font-size:14px}
  .region-line select{padding-inline:0 24px}
  .type-picker .housing-filters{--type-row:44px}
  .type-picker .housing-filters button{font-size:12px;padding-inline:4px}
  .type-picker[open]>.housing-filters{max-height:148px}
  .type-picker .subtype-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .type-picker .subtype-filters button{font-size:11.5px}
  .list-heading h2{font-size:14px}
  .row-name{font-size:15px}
  .row-top,.row-address,.row-types,.row-area{font-size:12px;line-height:1.6}
  .workspace .map-legend{left:12px;right:12px;bottom:var(--ribbon-bottom,calc(44px + env(safe-area-inset-bottom)));max-width:none;padding:5px 7px;gap:3px;z-index:7;border-radius:24px}
  .map-agency-line{padding:0 0 3px;gap:0}
  #map-agency-filters{gap:2px;overflow:visible}
  #map-agency-filters button{min-height:34px;padding:4px 5px;font-size:11px;line-height:1.4;gap:3px}
  #map-agency-filters .agency-icon{width:17px;height:17px;flex-basis:17px}
  .map-legend #map-housing-filters{display:flex;flex-wrap:wrap;gap:2px;width:100%;overflow:visible;max-height:none}
  #map-housing-filters button{flex:0 0 auto;width:auto;min-width:0;min-height:34px;height:auto;font-size:11px;line-height:1.4;padding:4px 5px}
  #map-housing-filters button .legend-dot{width:5px;height:5px;margin-right:4px}
  .workspace:has(.sidebar:not([hidden])) .map-legend,.workspace:has(.detail-panel:not([hidden])) .map-legend{visibility:visible}
  .workspace .sidebar,.workspace .detail-panel{top:auto;bottom:calc(54px + env(safe-area-inset-bottom) + var(--mobile-ribbon-height,120px));max-height:calc(100dvh - 204px - env(safe-area-inset-top) - env(safe-area-inset-bottom) - var(--mobile-ribbon-height,120px))}
}
@media(max-width:350px){
  .map-legend #map-housing-filters{gap:1px}
  #map-housing-filters button{font-size:10px;padding-inline:4px}
  #map-housing-filters button .legend-dot{width:4px;height:4px;margin-right:3px}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:500px){
  .workspace .map-legend{right:12px}
  .map-legend #map-housing-filters{flex-wrap:wrap;overflow:visible;max-height:none}
}

/* Historical source terms remain separate from current availability. */
.property-notice-history:empty{display:none}
.property-notice-history{min-width:0;margin:18px 0 22px;padding:16px 0;border-bottom:1px solid var(--line)}
.history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.history-heading h3,.history-heading h4{font-size:14px;line-height:1.5;margin:0}
.history-heading h4{font-size:13px}
.history-text-button{min-height:36px;padding:4px 0 4px 8px;flex-shrink:0;background:none;color:var(--green);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.history-last{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.history-last span,.history-last strong{display:block;font-size:12px;line-height:1.7}
.history-last strong{font-size:17px;letter-spacing:-.3px}
.history-last>b{font-size:23px;white-space:nowrap;color:var(--green)}
.history-basis,.history-caveat{font-size:11px;line-height:1.65;color:var(--muted);margin:8px 0 14px;overflow-wrap:anywhere}
.history-caveat{margin-bottom:0}
.history-group-picker{display:flex;align-items:center;gap:8px;min-width:0;margin:6px 0;font-size:11px;color:var(--muted)}
.history-group-picker select{min-width:0;flex:1;max-width:100%;height:38px;padding:0 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:12px;color:var(--ink)}
.history-group-label{font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin:7px 0}
.history-amounts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:8px 0}
.history-amounts>div{min-width:0}.history-amounts dt{font-size:11px;color:var(--muted);margin-bottom:4px}.history-amounts dd{margin:0;font-size:16px;font-weight:650;letter-spacing:-.4px;overflow-wrap:anywhere}
.history-money{white-space:nowrap}
#notice-history-details{width:min(1080px,calc(100% - 32px));max-height:90dvh;padding:22px 26px;overflow:hidden}
#notice-history-details[open]{display:flex;flex-direction:column}
#notice-history-details .dialog-heading{flex-shrink:0;gap:12px;margin-bottom:8px}
#notice-history-title{font-size:20px;min-width:0;overflow-wrap:anywhere}
.history-dialog-content{min-height:0;overflow:auto;overscroll-behavior:contain}
.history-dialog-content h3{font-size:15px;margin:22px 0 10px}
.history-tabs{display:flex;gap:8px;position:sticky;top:0;background:var(--surface);padding:6px 0;z-index:1}
.history-tabs button{flex:1;min-height:42px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:13px}
.history-tabs button[aria-pressed=true]{border-color:var(--green);background:var(--tint);font-weight:650}
.history-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px;margin:10px 0;overscroll-behavior-x:contain}
.history-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;line-height:1.6}
.history-table-wrap th,.history-table-wrap td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top;min-width:110px}
.history-table-wrap th{background:var(--tint);white-space:nowrap;font-weight:600}
.history-table-wrap td:nth-child(2){min-width:170px}.history-table-wrap small{display:block;font-size:11px;color:var(--muted)}
.history-table-wrap a{display:inline-block;min-height:32px;overflow-wrap:anywhere}
.history-notice-prices{display:grid;gap:3px;min-width:210px;font-variant-numeric:tabular-nums}
.history-notice-conditions{margin-top:6px;min-width:210px;max-width:310px}
.history-notice-conditions summary{cursor:pointer;color:var(--green);min-height:32px;display:list-item;align-content:center}
.history-notice-condition{padding:8px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.history-notice-condition dl{margin:5px 0}.history-notice-condition dl>div{display:flex;flex-wrap:wrap;gap:4px 8px}
.history-notice-condition dt{color:var(--muted)}.history-notice-condition dd{margin:0;font-variant-numeric:tabular-nums}
.history-average-block{padding:10px 12px;margin:8px 0;border:1px solid var(--line);border-radius:10px}
.history-average-block .history-basis{margin-bottom:0}
@media(max-width:700px){#notice-history-details{width:calc(100% - 16px);padding:16px 14px;max-height:94dvh}#notice-history-title{font-size:17px}.history-table-wrap table{font-size:11px}.history-table-wrap th,.history-table-wrap td{padding:8px 10px}.history-amounts dd{font-size:15px}.history-last>b{font-size:21px}}

/* Panel choices share dimensions and stay anchored to their own field. */
.type-picker .housing-filters{--type-row:40px;align-content:start;align-items:center}
.type-picker .housing-filters button{justify-self:center;width:auto;min-width:44px;height:var(--type-row);min-height:var(--type-row);max-width:100%;padding:4px 8px;line-height:1.35}
.type-picker .subtype-filters button{height:var(--type-row);white-space:nowrap;letter-spacing:-.45px;font-size:11.5px}
.type-picker .region-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.type-picker .region-options button{width:100%;min-width:0;font-size:12px}
.type-picker .region-options button:first-child{grid-column:1/-1;justify-self:start;width:auto}
.type-picker .region-options button[aria-pressed=true]{background:var(--green);color:var(--surface)}
.select-picker>summary{min-width:0;padding-left:0;min-height:44px}
.select-picker>summary[aria-disabled=true]{opacity:.55;cursor:default}
.region-line:has(.select-picker)>label{cursor:pointer}
@media(min-width:701px){.region-selectors .region-line{gap:6px}.region-selectors .region-line>label{flex-basis:auto}.region-selectors{grid-template-columns:minmax(0,1.1fr) minmax(0,1.25fr);gap:10px}}
.search-bar>.icon-button{margin-left:2px}
#current-location{display:flex;align-items:center;justify-content:center;background:var(--surface);color:#333;border-top:1px solid var(--line);padding:7px}
#current-location svg{width:21px;height:21px;stroke-width:1.7}
#current-location:hover{background:var(--tint)}
#current-location[aria-busy=true] svg{opacity:.5}
.detail-panel .detail-address{margin-bottom:6px}
.property-notice-types{padding:0;border:0;margin:0 0 12px;font-size:13px;line-height:1.6}
.property-notice-types small{display:block;color:var(--muted);font-size:11px;font-weight:400}
.property-notice-history{margin:12px 0 16px;padding:0;border:0}
.property-notice-history .history-basis{margin:5px 0 12px}
.detail-panel .detail-facts{margin-block:10px;padding-block:12px}
#property-details{width:min(1080px,calc(100% - 32px));max-height:90dvh;padding:22px 26px;overflow:hidden}
#property-details[open]{display:flex;flex-direction:column}
#property-details .dialog-heading{flex-shrink:0;gap:12px;margin-bottom:6px}
#property-details-title{font-size:20px;min-width:0;overflow-wrap:anywhere}
.property-details-address{margin:0 0 8px;font-size:12px;color:var(--muted);line-height:1.6}
#property-details>.history-tabs{flex-shrink:0;position:static}
.property-details-content{min-height:0;overflow:auto;overscroll-behavior:contain}
.property-details-content h3{font-size:15px;margin:16px 0 10px}
.property-details-content p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.property-details-content .detail-action{font-size:13px}
.property-evidence-list{margin:8px 0 16px;font-size:12px;line-height:1.8}
.property-evidence-list>div{padding:10px 0;border-bottom:1px solid var(--line)}
.property-evidence-list dt{font-weight:650;margin-bottom:4px}
.property-evidence-list dd{margin:0;overflow-wrap:anywhere}
#about h3{font-size:15px;margin:22px 0 8px}
@media(max-width:700px){
  .type-picker .housing-filters{--type-row:40px}
  .type-picker .housing-filters button{padding:4px 6px;font-size:12px}
  .type-picker .subtype-filters button{font-size:11.5px;letter-spacing:-.5px}
  #property-details{width:calc(100% - 16px);padding:16px 14px;max-height:94dvh}
  #property-details-title{font-size:17px}
  #property-details>.history-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  #property-details>.history-tabs button{font-size:12px;padding:4px 0;white-space:nowrap}
  .property-notice-types{font-size:14px}.property-notice-types small{font-size:11px}
}
.property-row{padding-block:13px}
.row-top{gap:5px;margin-bottom:6px;line-height:1.5}
.row-rental-type{color:var(--green)}

/* Compact mobile map tools keep their full touch area. */
.sun-icon{display:none}
.map-controls .sun-time>summary .sun-title{font-size:inherit;font-weight:700;color:var(--ink)}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
  .search-bar{height:43.2px;padding-left:12px}
  .search-field{gap:8px}
  .search-field svg{width:14.4px;height:14.4px}
  .search-bar>.icon-button{margin-left:0}
  .search-bar>.icon-button svg{width:16px;height:16px}
  .map-controls{width:88px;grid-template-columns:44px 44px;grid-template-rows:44px auto auto;gap:4px 0}
  .map-controls .view-switch{height:44px;min-height:44px;padding:0;gap:0;background:transparent;border:0;box-shadow:none}
  .map-controls .view-switch button{flex:0 0 44px;width:44px;height:44px;min-height:44px;min-width:44px;padding:0;gap:0}
  .map-controls .view-switch button[aria-pressed=true]{color:var(--surface)}
  .map-controls .view-switch .view-label{display:none}
  .map-controls .view-switch svg{width:14.4px;height:14.4px}
  .workspace .map-controls .sun-time{left:auto;right:44px;top:48px;width:44px;max-height:calc(100dvh - 192px - var(--mobile-ribbon-height,120px) - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:24px}
  .workspace .map-controls .sun-time:not([open]){height:44px;min-height:44px;background:transparent;border:0;box-shadow:none}
  .map-controls .sun-time>summary{height:44px;min-height:44px;padding:0;gap:4px}
  .map-controls .sun-time>summary .sun-icon{display:block;width:16px;height:16px;flex-shrink:0}
  .map-controls .sun-time>summary .sun-title,.map-controls .sun-time>summary #sun-summary,.map-controls .sun-time>summary .sun-toggle{display:none}
  .workspace .map-controls .sun-time[open]{width:min(250px,calc(100vw - 88px))}
  .map-controls .sun-time[open]>summary{padding-inline:24px}
  .map-controls .sun-time[open]>summary .sun-icon{display:none}
  .map-controls .sun-time[open]>summary .sun-title{display:inline;font-size:11px}
  .map-controls .sun-time[open]>summary #sun-summary{display:inline;font-size:9px}
  .map-controls .sun-time[open]>summary .sun-toggle{display:block}
  .workspace .map-controls #zoom-controls,.workspace .map-controls .measure-buttons{width:44px}
  .workspace .map-controls #zoom-controls button,.workspace .map-controls .measure-buttons button{width:44px!important;height:44px!important}
  .map-controls #zoom-controls .maplibregl-ctrl-group,.workspace .map-controls .measure-buttons{display:flex;flex-direction:column;gap:0;background:transparent!important;box-shadow:none!important;overflow:visible}
  .workspace .map-controls #zoom-controls button,.workspace .map-controls .measure-buttons button,.map-controls .view-switch button,.map-controls .sun-time:not([open])>summary{position:relative;isolation:isolate;border:0!important;border-radius:50%!important;background:transparent;box-shadow:none}
  .workspace .map-controls #zoom-controls button::before,.workspace .map-controls .measure-buttons button::before,.map-controls .view-switch button::before,.map-controls .sun-time:not([open])>summary::before{content:"";position:absolute;inset:4.4px;z-index:-1;border-radius:50%;background:var(--surface);box-shadow:var(--shadow);pointer-events:none}
  .workspace .map-controls .measure-buttons button[aria-pressed=true],.map-controls .view-switch button[aria-pressed=true]{background:transparent;color:var(--surface)}
  .workspace .map-controls .measure-buttons button[aria-pressed=true]::before,.map-controls .view-switch button[aria-pressed=true]::before{background:var(--green)}
  .map-controls #zoom-controls .maplibregl-ctrl-icon{background-size:64% 64%}
  .map-controls #current-location svg,.map-controls .measure-buttons svg{width:16.8px;height:16.8px}
}
@media(max-width:700px){.map-controls{top:calc(116px + env(safe-area-inset-top))}}
@media(min-width:701px) and (max-width:1000px) and (max-height:500px){.workspace .map-controls .sun-time{max-height:calc(100dvh - 88px - var(--mobile-ribbon-height,120px) - env(safe-area-inset-bottom))}}
@media(max-width:700px) and (max-height:650px),(max-width:1000px) and (max-height:500px){
  .map-controls{grid-template-rows:44px 176px}
  .map-controls #zoom-controls{align-self:start}
  .map-controls .measure-buttons{grid-column:1;grid-row:2;align-self:end}
}
@media(min-width:1001px),(min-width:701px) and (min-height:501px){.workspace{--filter-bottom:22px}}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
  .workspace .map-legend{bottom:calc(22px + env(safe-area-inset-bottom))}
  .workspace .maplibregl-ctrl-bottom-left{left:12px!important;top:calc(117.2px + env(safe-area-inset-top))!important;bottom:auto!important}
  .workspace .maplibregl-ctrl-scale{background:var(--surface)!important}
  .workspace:has(.detail-panel:not([hidden])) .map-legend{visibility:hidden;pointer-events:none}
  .workspace .detail-panel{bottom:calc(24px + env(safe-area-inset-bottom));max-height:min(70dvh,calc(100dvh - 150px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}
}

/* Both ribbon rows use the same text size at every screen width. */
.map-legend{--ribbon-font-size:11px}
#map-agency-filters button,#map-housing-filters button{font-size:var(--ribbon-font-size)}
@media(max-width:350px){.map-legend{--ribbon-font-size:10px}}

/* Keep the expanded agency ribbon clear of both tool columns in landscape. */
@media(min-width:701px) and (max-width:1000px) and (max-height:500px){
  .workspace .map-legend{left:366px;right:104px;width:auto;max-width:none}
}

/* Nationwide official notices share the map's existing dialog styles. */
#national-notices{width:min(820px,calc(100% - 32px));max-height:90dvh;padding:22px 26px;overflow:hidden}
#national-notices[open]{display:flex;flex-direction:column}
#national-notices .dialog-heading{flex-shrink:0;gap:12px}
#national-title{font-size:21px}#national-scope,#national-count{font-size:12px;line-height:1.65;color:var(--muted);margin:10px 0;flex-shrink:0}
#national-list{min-height:80px;overflow:auto;overscroll-behavior:contain;border-block:1px solid var(--line)}
#national-list .notice-empty{padding:24px 4px;color:var(--muted);font-size:13px}
.national-filters{grid-template-columns:1fr 1fr 1fr}.national-filters label:nth-last-child(-n+2){grid-column:auto}
.national-row-note{font-size:11px;color:var(--muted);margin:6px 0}
.national-lh-detail{min-height:44px;background:transparent;padding:5px 0;color:var(--green);font-size:12px;text-align:left}
#national-coverage{position:relative;font-size:12px;color:var(--green)}#national-coverage summary{min-height:44px;align-content:center;cursor:pointer}
#national-coverage div{position:absolute;right:0;bottom:44px;max-height:50dvh;width:min(420px,calc(100vw - 60px));overflow:auto;padding:12px 18px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);color:var(--ink)}
#national-coverage p{font-size:12px;line-height:1.65;margin:8px 0 14px}
#about>[data-open-national-notices]{margin:8px 0 16px}
@media(max-width:520px){
  #national-notices{width:calc(100% - 16px);max-width:none;max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:10px 12px}
  #national-title{font-size:19px}
  #national-notices .dialog-heading .icon-button{margin-right:0}
  #national-scope,#national-count{font-size:11px;line-height:1.55;margin:6px 0}
  .national-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 9px}
  .national-filters label{gap:3px}
  .national-filters .notice-search,.national-filters label:nth-child(4),.national-filters label:last-child{grid-column:auto}
  .national-filters input,.national-filters select{height:44px;max-width:100%}
  .national-filters input[type=date]{appearance:none;-webkit-appearance:none;text-align:left}
  .national-filters input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}
  #national-notices .notice-footer{padding-top:2px}
  #national-list .notice-row{padding:10px 1px}
  #national-list .notice-row h3{line-height:1.5;margin:4px 0 0}
  #national-list .notice-meta{gap:3px 8px}
  #national-list .national-row-note{margin:4px 0}
}
@media(max-height:520px){
  #national-notices{overflow:auto}
  #national-list{flex-shrink:0;height:45dvh}
}
#inquiry{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto}
#inquiry form{display:grid;gap:16px}#inquiry form>label{display:grid;gap:7px;font-weight:600}
#inquiry input:not([type=checkbox]),#inquiry textarea,#inquiry select{width:100%;box-sizing:border-box;font:inherit;color:var(--ink,#243e36);border:1px solid #d8dfd2;border-radius:12px;padding:10px;background:#fff}
#inquiry textarea{resize:vertical;min-height:120px}#inquiry .inquiry-consent{display:flex;align-items:flex-start;font-size:14px;font-weight:400}#inquiry .inquiry-consent input{margin-top:3px}
#inquiry .inquiry-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#inquiry-status{overflow-wrap:anywhere}#inquiry-status.error{color:#8b432c}.detail-inquiry{margin-top:10px}
.workspace .maplibregl-ctrl-attrib{max-width:calc(100vw - 16px);font-size:11px!important;line-height:1.6;background:#fffefaf0;overflow-wrap:anywhere}
.workspace .maplibregl-ctrl-attrib a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:700px){.workspace .maplibregl-ctrl-attrib{font-size:10px!important}}

/* Brand and direct nationwide-notice entry share the existing header. */
.brand-line{gap:6px}
.brand{display:inline-flex;align-items:center;min-width:0;flex-shrink:0}
.brand-icon{display:block;width:32px;height:32px;object-fit:contain;margin-right:6px;flex-shrink:0}
.brand-actions{display:flex;align-items:center;margin-left:auto;flex-shrink:0}
.brand-line .brand-actions .icon-button{margin:0;font-style:normal}
.brand-line .brand-actions #about-open{font-family:Georgia,serif;font-style:italic}

/* One view toggle and one measurement entry, immediately below location. */
.map-controls{grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:44px auto 44px}
.workspace .map-controls .view-switch{grid-column:2;grid-row:1;justify-self:end;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%}
.map-controls #view-toggle{flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:0;justify-content:center;border-radius:50%}
.workspace .map-controls .sun-time{top:0;width:calc(100% - 54px)}
.workspace .map-controls #zoom-controls{width:44px;grid-column:2;grid-row:2}
.workspace .map-controls #zoom-controls button{width:44px!important;height:44px!important}
.workspace .map-controls .measure-tools{grid-column:2;grid-row:3;position:relative;align-self:start;justify-self:end;width:44px;min-width:44px}
.measure-tools>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow);color:var(--ink);cursor:pointer;list-style:none}
.measure-tools>summary::-webkit-details-marker{display:none}
.measure-tools>summary svg{width:20px;height:20px}
.measure-tools[open]>summary{background:var(--green);color:var(--surface)}
#measure-tools:not([open])>#measure-options{display:none}
.workspace .map-controls #measure-options{position:absolute;right:48px;top:0;display:flex;flex-direction:row;gap:4px;width:max-content;padding:4px;border:1px solid var(--line);border-radius:24px;background:var(--surface)!important;box-shadow:var(--shadow)!important;overflow:visible}
.workspace .map-controls #measure-options button{width:44px!important;height:44px!important;border:0;border-radius:50%}
#map-filter-content{display:flex;flex-direction:column;gap:2px;width:100%;min-width:0}
.filter-handle{display:none}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
  .brand-icon{width:28px;height:28px;margin-right:5px}
  .brand-line{gap:4px}
  .workspace .map-controls{grid-template-columns:44px 44px;grid-template-rows:44px auto 44px;gap:4px 0}
  .workspace .map-controls .sun-time{left:0;right:auto;top:0;width:44px}
  .workspace .map-controls .sun-time[open]{left:auto;right:44px;width:min(250px,calc(100vw - 88px))}
  .workspace .map-controls .view-switch{background:transparent;box-shadow:none}
  .measure-tools>summary{background:transparent;box-shadow:none;position:relative;isolation:isolate}
  .measure-tools>summary::before{content:"";position:absolute;inset:4.4px;z-index:-1;border-radius:50%;background:var(--surface);box-shadow:var(--shadow);pointer-events:none}
  .measure-tools>summary svg{width:16.8px;height:16.8px}
  .measure-tools[open]>summary{background:transparent}
  .measure-tools[open]>summary::before{background:var(--green)}
  .workspace .map-legend{transform:translateY(var(--filter-drag-offset,0px));transition:none;gap:0;bottom:0;border-radius:24px 24px 0 0;padding-top:0;padding-bottom:max(7px,env(safe-area-inset-bottom))}
  .workspace .map-legend.is-dragging{transition:none;user-select:none}
  .workspace .maplibregl-ctrl-bottom-right{bottom:var(--mobile-ribbon-height,120px)}
  .workspace:has(.detail-panel:not([hidden])) .maplibregl-ctrl-bottom-right{bottom:env(safe-area-inset-bottom)}
  .filter-handle{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:12px 12px 2px;background:transparent;color:var(--muted);font-size:11px;touch-action:none;border-radius:20px}
  .drag-grip{position:absolute;top:5px;left:calc(50% - 16px);width:32px;height:3px;border-radius:3px;background:var(--muted);opacity:.5}
}
@media(max-width:700px){
  .workspace .map-legend{left:12px;right:12px;width:auto;max-width:none}
}
@media(max-width:700px) and (max-height:650px){
  .workspace .map-legend{right:64px}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:500px){
  .workspace .maplibregl-ctrl-bottom-left{top:119.2px!important}
}
@media(prefers-reduced-motion:reduce){.workspace .map-legend{transition:none}}

/* Show both map modes and reserve season controls for the miniature. */
.workspace .map-controls .view-switch{grid-column:1 / -1;width:max-content;border-radius:24px;background:var(--surface);box-shadow:var(--shadow)}
.map-controls #view-toggle{flex:0 0 auto;width:auto;min-width:0;padding:0 12px;gap:6px;border-radius:24px}
.map-controls #view-toggle[aria-pressed]{background:var(--surface);color:var(--muted)}
.map-controls #view-toggle::before{content:none}
.map-controls #view-toggle svg{flex-shrink:0;color:var(--ink)}
.map-controls #view-toggle [data-view-label]{display:inline;color:#858a87;font-size:12px;font-weight:400;white-space:nowrap}
.map-controls #view-toggle [data-view-label][data-active=true]{color:var(--green);font-weight:750}
.map-controls #view-toggle .view-divider{color:#858a87;font-weight:400}
.workspace .map-controls .sun-time{top:54px}
@media(min-width:1001px),(min-width:701px) and (min-height:501px){
  .workspace .maplibregl-ctrl-bottom-left{left:24px!important;top:162px!important;bottom:auto!important}
  .workspace .maplibregl-ctrl-scale{margin:0!important;background:var(--surface)!important}
}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
  .map-controls #view-toggle{padding-inline:10px;gap:5px}
  .map-controls #view-toggle [data-view-label]{font-size:11px}
  .workspace .map-controls .sun-time,.workspace .map-controls .sun-time[open]{top:48px}
  .title-card{padding-inline:12px}
  .brand-icon{width:44px;height:44px;padding:8px;margin-right:8px}
  .workspace .maplibregl-ctrl-scale{margin-left:0!important}
}
@media(max-width:700px){
  .workspace .map-controls{top:calc(119.2px + env(safe-area-inset-top))}
  .workspace .maplibregl-ctrl-bottom-left{top:calc(119.2px + env(safe-area-inset-top))!important}
}
@media(min-width:701px) and (max-width:1000px) and (max-height:500px){
  .workspace .maplibregl-ctrl-bottom-left{top:121.2px!important}
}

/* Anchor overlays to the live viewport, including short and enlarged windows. */
.workspace{position:fixed;width:auto;height:auto;min-height:0}
.map-panel,#map{height:100%}
@media(min-width:1001px),(min-width:701px) and (min-height:501px){
  .workspace{--filter-bottom:36px}
  .workspace .map-legend{justify-self:center;width:min(100%,760px);max-width:100%;max-height:100%;gap:0;padding-top:0;overflow:auto;transform:translateY(var(--filter-drag-offset,0px));transition:none}
  .map-legend #map-agency-filters,.map-legend #map-housing-filters{flex-wrap:nowrap;justify-content:safe center;overflow-x:auto;overflow-y:hidden;max-height:none;overscroll-behavior-x:contain;scrollbar-width:thin}
  .map-legend #map-agency-filters button,.map-legend #map-housing-filters button{flex-shrink:0}
  .filter-handle{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:12px 12px 2px;background:transparent;color:var(--muted);font-size:11px;touch-action:none;border-radius:20px}
  .drag-grip{position:absolute;top:5px;left:calc(50% - 16px);width:32px;height:3px;border-radius:3px;background:var(--muted);opacity:.5}
  .workspace .map-controls{max-height:calc(100% - 32px);overflow:visible}
}
@media(min-width:1001px) and (max-height:420px){.workspace .map-controls{top:16px}}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
  .workspace .map-legend{max-height:calc(100% - 128px);overflow-y:auto;overscroll-behavior:contain}
}

/* Overlay edges follow the visible mobile viewport, including page zoom. */
.workspace{inset:var(--visible-top,0px) var(--visible-right,0px) var(--visible-bottom,0px) var(--visible-left,0px)}
.workspace .maplibregl-ctrl-scale{width:80px!important;min-width:80px;max-width:80px;border:0!important;padding:0;background:transparent!important;box-shadow:none;font-variant-numeric:tabular-nums;white-space:nowrap}
.brand-line .brand-actions .icon-button{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:48px;height:44px;border-radius:8px}
.brand-action-label{font-family:inherit;font-size:8px;font-weight:450;font-style:normal;line-height:1.15;white-space:nowrap}
.brand-action-icon{font-family:Georgia,serif;font-size:16px;line-height:20px;font-style:italic;font-weight:bold}
.brand-line .brand-actions .icon-button svg{width:18px;height:20px}
.workspace .map-legend{gap:0;padding-block:0 5px}
.filter-handle{min-height:36px;padding-block:10px 0;font-size:10px;flex-shrink:0}
#map-filter-toggle:focus-visible{outline:none}
#map-filter-toggle:focus-visible>span:last-child{text-decoration:underline;text-underline-offset:3px}
#map-filter-content{gap:0;flex-shrink:0}
.map-agency-line{padding-block:0 2px}
.workspace .map-controls:has(.sun-time[open]){z-index:8}
.workspace .map-controls .sun-time[open]{left:auto;right:54px;top:var(--sun-top,54px);width:min(250px,calc(var(--visible-width,100vw) - 76px));max-height:none;overflow:visible;border-radius:20px}
.sun-time-controls{padding:0 10px 8px}
.season-control{padding-bottom:6px;margin-bottom:6px}
.sunlight-control{min-width:0}
.sun-time-value{flex-wrap:wrap;gap:2px 6px}
.sun-time p{overflow-wrap:anywhere}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
  .workspace{display:block;padding:0}
  .workspace .map-legend{position:absolute;left:12px;right:12px;bottom:0;width:auto;max-width:none;max-height:none;overflow:visible;padding:0 6px max(7px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0}
  .workspace .map-legend .filter-handle{min-height:36px;padding-block:10px 0}
  .workspace .map-legend #map-agency-filters,.workspace .map-legend #map-housing-filters{flex-wrap:wrap;max-height:none;overflow:visible;gap:0 2px}
  .map-legend #map-agency-filters button,.map-legend #map-housing-filters button{min-height:32px;padding-block:2px;line-height:1.4}
}
@media(max-height:520px){
  .workspace .map-controls .sun-time[open]{width:min(480px,calc(var(--visible-width,100vw) - 76px))}
  .sun-time-controls{display:grid;grid-template-columns:1fr 1.25fr;gap:10px}
  .season-control{min-width:0;margin:0;padding:0 10px 0 0;border-bottom:0;border-right:1px solid var(--line)}
  .sun-time-heading{gap:4px;font-size:10px}
  .sun-time-heading button{padding-inline:4px;flex-shrink:0;font-size:10px}
  .sun-time-value{margin-block:2px}
  .sun-time-value output{font-size:17px}
  .sun-time-ticks,.sun-time p{font-size:9px}
}
@media(max-width:700px){
  .workspace .map-status{top:calc(171.2px + env(safe-area-inset-top));left:12px;max-width:calc(100% - 76px)}
}
/* First entry notice uses the existing dialog and brand tokens. */
.usage-notice{max-width:480px;padding:0;border:1px solid var(--line);border-radius:24px;box-shadow:0 20px 70px #243e3630}
.usage-notice[open]{display:flex;flex-direction:column;overflow:hidden}
.usage-notice-content{min-height:0;overflow:auto;padding:28px 28px 0;text-align:center}
.usage-notice h2{margin:0 0 16px;font-size:21px;line-height:1.4;color:var(--ink)}
.usage-notice p{margin:0 0 24px;font-size:15px;line-height:1.8;color:var(--ink);word-break:keep-all}
.usage-notice #usage-notice-caution{font-size:13px;letter-spacing:-.05em;white-space:nowrap}
.usage-notice-confirm{display:block;flex-shrink:0;width:calc(100% - 56px);margin:0 28px 28px;min-height:48px;border:0;border-radius:14px;background:var(--green);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.usage-notice-confirm:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
@media(max-width:520px){.usage-notice-content{padding:24px 24px 0}.usage-notice-confirm{width:calc(100% - 48px);margin:0 24px 24px}.usage-notice h2{font-size:19px}.usage-notice p{font-size:14px}.usage-notice #usage-notice-caution{font-size:14px;letter-spacing:-.035em;white-space:normal}}

/* Approved map / notices / saved homes navigation, 2026-10-28. */
.workspace{--app-nav-height:0px;min-height:0}
.workspace .app-header{inset:0 0 auto;width:auto;height:72px;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;padding:10px 24px;display:flex;align-items:center;gap:24px;z-index:12}
.app-header .brand{display:flex;align-items:center;gap:8px;font-size:18px}.app-header .brand span{margin-left:-8px}
.main-nav{display:flex;align-self:stretch;gap:8px;margin-inline:auto}.main-nav button,.brand-actions>button{min-height:44px;padding:10px 18px;background:transparent;border-radius:12px;font-size:14px;white-space:nowrap}.main-nav button[aria-current=page]{color:var(--green);background:var(--tint);font-weight:700}.main-nav button:hover,.brand-actions>button:hover{background:var(--tint)}
.app-header .brand-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.brand-actions>[data-account-view=settings]{background:var(--green);color:var(--surface)}
.workspace .search-bar{left:24px;top:90px;width:360px;height:52px;border-radius:14px;padding-left:12px}
.workspace .sidebar,.workspace .detail-panel{left:24px;right:auto;top:154px;bottom:24px;width:360px;max-height:none;border-radius:18px}
.workspace .detail-panel{position:absolute;grid-area:auto;justify-self:auto;align-self:auto;padding:20px;z-index:8}.workspace:has(.detail-panel:not([hidden])) .sidebar{visibility:hidden}
.detail-back{background:transparent;min-height:44px;padding:0 0 0 10px;white-space:nowrap;color:var(--green);font-size:13px}
.workspace .detail-header{gap:8px}.detail-panel .favorite-save{width:100%;margin:10px 0 14px;justify-content:center;gap:8px;background:var(--tint);color:var(--green);border:1px solid var(--line)}.detail-panel .favorite-save[aria-pressed=true]{background:var(--green);color:var(--surface)}
.property-card{position:relative}.property-card .property-row{padding-right:64px}.favorite-heart{position:absolute;right:10px;top:10px;display:grid;place-items:center;min-height:44px;min-width:44px;background:transparent;border-radius:12px;font-size:22.4px;color:var(--green)}.favorite-heart:hover,.favorite-heart[aria-pressed=true]{background:var(--tint)}
.workspace .map-controls{top:90px;right:24px;z-index:5}.workspace .map-status{top:90px}.workspace .maplibregl-ctrl-bottom-left{top:154px!important;bottom:auto!important;left:24px!important}.mobile-nav{display:none}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
 .workspace{--app-nav-height:calc(62px + env(safe-area-inset-bottom))}
 .workspace .app-header{height:calc(60px + env(safe-area-inset-top));padding:calc(5px + env(safe-area-inset-top)) 12px 5px;gap:8px}
 .app-header .brand{font-size:16px;gap:5px}.app-header .brand span{margin-left:-5px}.app-header .brand-icon{width:28px;height:28px}
 .app-header .main-nav{display:none}.app-header .brand-actions{margin-left:auto;gap:0}.app-header .brand-actions>button{font-size:12px;padding:8px 10px}
 .mobile-nav{position:absolute;bottom:0;left:0;right:0;height:var(--app-nav-height);padding:4px 8px max(4px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);background:var(--surface);border-top:1px solid var(--line);z-index:15;gap:4px}
 .mobile-nav button{background:transparent;min-height:48px;border-radius:10px;font-size:11px;display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column;position:relative;color:var(--muted)}.mobile-nav button>span{font-size:22px;line-height:24px}.mobile-nav button[aria-current=page]{color:var(--green);background:var(--tint);font-weight:700}.mobile-nav small:not(:empty){position:absolute;top:3px;right:20%;background:var(--green);color:white;border-radius:9px;padding:1px 5px}
 .workspace .search-bar{top:calc(70px + env(safe-area-inset-top));left:12px;right:12px;width:auto;height:48px;max-width:none}
 .workspace .map-controls{top:calc(130px + env(safe-area-inset-top));right:12px}
 .workspace .map-legend{bottom:var(--app-nav-height);padding-bottom:7px;border-radius:20px 20px 0 0}
 .workspace .sidebar,.workspace .detail-panel{top:calc(130px + env(safe-area-inset-top));left:8px;right:8px;width:auto;bottom:calc(var(--app-nav-height) + 8px);max-height:none;border-radius:18px}
 .workspace .detail-panel{padding:16px 18px}.workspace:has(.sidebar:not([hidden])) .map-legend,.workspace:has(.detail-panel:not([hidden])) .map-legend{visibility:hidden;pointer-events:none}
 .workspace .maplibregl-ctrl-bottom-left{top:calc(128px + env(safe-area-inset-top))!important;left:12px!important;bottom:auto!important}.workspace:has(.sidebar:not([hidden])) .maplibregl-ctrl-bottom-left,.workspace:has(.detail-panel:not([hidden])) .maplibregl-ctrl-bottom-left{visibility:hidden}
 .workspace .maplibregl-ctrl-bottom-right{bottom:calc(var(--app-nav-height) + var(--mobile-ribbon-height,120px))}.workspace:has(.detail-panel:not([hidden])) .maplibregl-ctrl-bottom-right{bottom:var(--app-nav-height)}
 .workspace .map-controls .sun-time{max-height:calc(100dvh - 150px - var(--app-nav-height) - env(safe-area-inset-top))}.workspace .map-status{top:calc(126px + env(safe-area-inset-top));max-width:calc(100vw - 120px)}
}
@media(max-width:360px){.app-header .brand{font-size:14px}.app-header .brand-icon{width:24px;height:24px}.app-header .brand-actions>button{padding-inline:7px}}
@media(min-width:701px) and (max-width:1000px) and (max-height:500px){.workspace .sidebar,.workspace .detail-panel{width:360px;top:70px}.workspace .search-bar{width:360px;right:auto}.workspace .map-controls{top:72px}.workspace .map-legend{left:390px;right:12px}.workspace .map-status{top:72px}}
@media(min-width:1001px),(min-width:701px) and (min-height:501px){
 .workspace .map-legend{position:absolute;grid-area:auto;justify-self:auto;align-self:auto;top:auto;left:24px;right:24px;bottom:36px;width:min(1160px,calc(100% - 48px));max-width:none;max-height:calc(100% - 190px);margin:0 auto}
 .workspace:has(.sidebar:not([hidden])) .map-legend,.workspace:has(.detail-panel:not([hidden])) .map-legend{left:408px;width:min(1160px,calc(100% - 432px))}
 .app-header .brand-icon{padding:0;margin-right:0}
}
.app-header .brand-icon{padding:0;margin-right:0}
.list-heading h2{margin-right:auto}#list-filters-toggle{min-height:44px;padding:6px 10px;border-radius:10px;color:var(--green);background:var(--tint);font-size:11px;margin-right:10px}.filter-panel{flex-shrink:0}
@media(max-width:700px) and (max-height:650px),(max-width:1000px) and (max-height:500px){.workspace .sidebar .filter-panel{max-height:calc(100% - 110px);overflow-y:auto}.workspace .sidebar .filter-line{height:38px}}
.workspace .sidebar{height:auto;display:flex;flex-direction:column;overflow:hidden}.workspace .property-list{min-height:0;overflow:auto}.workspace .sidebar-foot{flex-shrink:0}
@media(min-width:701px) and (max-width:1000px) and (max-height:500px){.workspace .sidebar,.workspace .detail-panel{top:130px}.workspace .sidebar-foot{display:none}.workspace .filter-line{height:30px}}


.location-types{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.location-types button{border:1px solid #dce3d7;border-radius:12px;background:#fffefa;color:#326b58;padding:8px 10px;text-align:left;font:inherit}.location-types button[aria-pressed=true]{background:#e8efdf;font-weight:700}

/* Keep the recruitment filter separate from search and centered on the map. */
.recruitment-map-toggle{position:absolute;top:90px;left:50%;transform:translateX(-50%);z-index:6}
.workspace .search-field{min-width:0}.workspace .search-field input{min-width:0;width:100%}

.notice-meta .notice-save{margin-left:auto;padding:4px 9px;min-height:36px;border-radius:9px;color:var(--green);background:var(--tint);font-size:12px;white-space:nowrap}.notice-save[aria-pressed=true]{font-weight:700}.notice-save span{font-size:18px}

/* Agency text badges replace CI assets and decorative house symbols. */
.agency-icon{flex:0 0 auto;width:auto;min-width:30px;height:24px;padding:2px 4px;border:1px solid currentColor;border-radius:4px;font:700 10px/1 system-ui,sans-serif;letter-spacing:0;white-space:nowrap}.map-pin .agency-icon{flex-basis:auto;width:auto;min-width:28px;height:24px;padding:2px 4px;border-radius:4px;color:var(--green)}
#map-agency-filters .agency-icon{flex-basis:auto;width:auto;min-width:28px;height:22px}#map-agency-filters{flex-wrap:wrap;justify-content:center}#map-agency-filters button{white-space:nowrap}#list-agency-filters button{justify-content:flex-start}

.workspace .map-legend #map-agency-filters{flex-wrap:wrap;overflow:visible;justify-content:center;max-height:none}

/* The two filter groups share typography, edges and compact row spacing. */
.workspace .map-legend{--ribbon-font-size:11px}
.workspace .map-legend #map-agency-filters,.workspace .map-legend #map-housing-filters{width:100%;justify-content:center;gap:0 2px;padding:0;align-items:center}
.workspace .map-legend #map-agency-filters button,.workspace .map-legend #map-housing-filters button{min-height:32px;height:32px;line-height:1.4;padding:2px 6px;font-family:inherit;font-size:var(--ribbon-font-size)}
.workspace .map-legend .map-agency-line{padding:0;margin:0;gap:0}
.workspace .map-legend #map-agency-filters .agency-icon{height:20px;min-width:26px;font-size:10px}
@media(max-width:350px){.workspace .map-legend{--ribbon-font-size:10px}.workspace .map-legend #map-agency-filters button,.workspace .map-legend #map-housing-filters button{padding-inline:4px}}

.national-rental-conditions{margin:8px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.national-rental-conditions>summary{display:flex;align-items:center;min-height:44px;gap:8px;color:var(--green);font-size:13px;font-weight:700;cursor:pointer;list-style:none}
.national-rental-conditions>summary::before{content:'＋'}.national-rental-conditions[open]>summary::before{content:'−'}.national-rental-conditions>summary::-webkit-details-marker{display:none}
.national-recruitment-details{border:0;padding:0}.national-recruitment-details button{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--green);font:inherit}

/* Notice filters and saved notices use the same touch size and heart treatment as saved homes. */
.notice-filters .national-accepting-filter{display:flex;align-items:center;align-self:end;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;font-size:13px;color:var(--green);cursor:pointer}
.notice-filters .national-accepting-filter input{width:20px;height:20px;min-height:0;margin:0;accent-color:var(--green);flex-shrink:0}
.national-accepting-filter:has(:checked){background:var(--tint);font-weight:700}
.notice-meta .notice-save{min-height:44px;border:1px solid var(--line);border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;font-size:13px}
.notice-meta .notice-save span{font-size:20px;line-height:1}
.notice-meta .notice-save[aria-pressed=true]{background:var(--green);color:var(--surface)}
.detail-panel .housing-map-link,.recruitment-unit h4 .housing-map-link{display:inline;text-align:left;font:inherit;letter-spacing:inherit;color:inherit;background:transparent;border:0;border-radius:4px;padding:0;min-height:0}
.housing-map-link:hover{text-decoration:underline;text-underline-offset:4px}
#detail-recruitments{font-style:normal}#detail-recruitments h3{font-size:14px;line-height:1.6}
.recruitment-row em,.notice-retrieved,.notice-retrieved em,.recruitment-muted{font-style:normal}
.housing-recruitment-details .recruitment-row{padding:12px 0}.housing-recruitment-details .recruitment-unit{margin-bottom:8px;padding:10px}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
 .recruitment-map-toggle{top:calc(128px + env(safe-area-inset-top));left:50%}
 .workspace .map-controls{top:calc(184px + env(safe-area-inset-top))}
 .workspace .maplibregl-ctrl-bottom-left{top:calc(184px + env(safe-area-inset-top))!important}
 .workspace .sidebar,.workspace .detail-panel{top:calc(184px + env(safe-area-inset-top))}
 .workspace .map-status{top:calc(236px + env(safe-area-inset-top))}
}

/* Source badges retain legible identifiers even where agency hues are similar. */
.agency-icon,.map-pin .agency-icon{color:var(--agency-color,#59675f);background:#fffefa;border-color:var(--agency-color,#59675f);border-width:2px}
.workspace .map-legend{overflow:hidden;display:flex;flex-direction:column}
.workspace #map-filter-content{min-height:0;flex-shrink:1;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
 .workspace .map-legend{max-height:calc(100% - 254px - var(--app-nav-height));overflow:hidden}
}

@media(min-width:1001px),(min-width:701px) and (min-height:501px){.workspace .map-legend{--ribbon-font-size:12px}}

/* Equal mobile columns keep agency badges and both outer edges aligned. */
@media(max-width:700px){
 .workspace .map-legend #map-agency-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px;align-items:stretch;padding-inline:4px}
 .workspace .map-legend #map-agency-filters button{width:100%;min-width:0;height:auto;justify-content:flex-start;text-align:left;white-space:normal;border-radius:8px}
 .workspace .map-legend #map-agency-filters button:is([data-agency="전체"],[data-agency="기타"]){grid-column:1/-1;width:auto;justify-self:center;justify-content:center;border-radius:24px}
 .workspace .map-legend #map-housing-filters{display:flex;justify-content:space-between;gap:0;padding-inline:4px}
 .workspace .map-legend #map-housing-filters button{width:auto;justify-content:center;padding-inline:6px}
}

[data-sh-purchase-reference]{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;min-width:0}[data-sh-purchase-reference] select{min-height:44px}[data-sh-purchase-open]{min-height:44px}[data-sh-purchase-reference] a{overflow-wrap:anywhere}
dialog.my-map-ai{position:fixed;inset:auto 16px max(16px,env(safe-area-inset-bottom)) auto;margin:0;width:min(560px,calc(100% - 32px));max-width:calc(100% - 32px);height:min(740px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:20px;overflow:hidden;overscroll-behavior:contain;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}
dialog.my-map-ai[open]{display:flex;flex-direction:column}
dialog.my-map-ai::backdrop{background:#19352c32}
.my-map-ai-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px}
.my-map-ai-heading>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.my-map-ai-mark{display:block;flex:none}
.my-map-ai-heading h2{font-size:17px;font-weight:600;letter-spacing:-.4px;line-height:1.3;margin:0}
.my-map-ai-badge{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:11px;font-weight:450}
.my-map-ai p{margin:8px 0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.my-map-ai-context,.my-map-ai-usage small,.my-map-ai-form small{color:var(--muted)}
.my-map-ai-usage{display:flex;flex:none;justify-content:space-between;flex-wrap:wrap;gap:2px 8px;padding:10px 0 0;font-size:11px;color:var(--muted)}
.my-map-ai-usage:empty,.my-map-ai-status:empty,.my-map-ai-context:empty{display:none}
.my-map-ai-settings{flex:none;border:0;border-bottom:1px solid var(--line);margin-bottom:8px}
.my-map-ai-settings>summary{display:flex;align-items:center;gap:6px;min-height:44px;padding:4px 0;color:var(--green);font-size:12px;font-weight:500;cursor:pointer;list-style:none;white-space:nowrap}
.my-map-ai-settings>summary::-webkit-details-marker{display:none}
.my-map-ai-settings>summary::after{content:'▾';margin-left:auto}
.my-map-ai-settings[open]>summary::after{content:'▴'}
.my-map-ai-settings summary small{min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-weight:500}
.my-map-ai-settings>div{padding:0 2px 12px;max-height:min(225px,32dvh);overflow:auto}
.my-map-ai-personal{margin-bottom:7px;flex:none}
.my-map-ai-personal form,.my-map-ai-personal label{display:grid;gap:4px;font-size:12px;font-weight:650}
.my-map-ai-personal form>button,.my-map-ai-personal [data-ai-key-disconnect]{margin-top:7px}
.my-map-ai-personal a{display:inline-flex;align-items:center;min-height:44px;color:var(--green);font-size:13px}
.my-map-ai-personal p{font-size:12px;color:var(--muted)}
.my-map-ai-personal [hidden]{display:none!important}
.my-map-ai:has(.my-map-ai-personal[open])>.my-map-ai-settings:not(.my-map-ai-personal),.my-map-ai:has(.my-map-ai-personal[open])>.my-map-ai-thread,.my-map-ai:has(.my-map-ai-personal[open])>.my-map-ai-controls{display:none}
.my-map-ai-personal[open]{display:flex;flex:1;flex-direction:column;min-height:0;overflow:auto;overscroll-behavior:contain}
.my-map-ai-personal[open]>summary{position:sticky;top:0;z-index:1;background:var(--surface)}
.my-map-ai-personal[open]>div{flex:1;min-height:0;max-height:none}
.my-map-ai-thread{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 4px 8px;scroll-padding-block:12px}
.my-map-ai-thread>.my-map-ai-outgoing{width:fit-content;max-width:86%;padding:10px 14px;border-radius:18px 18px 4px 18px;background:var(--tint)}
.my-map-ai-thread>.my-map-ai-outgoing{margin:4px 0 20px auto;color:var(--ink)}
.my-map-ai-earlier>details{margin:6px 0;border-bottom:1px solid var(--line);font-size:12px}
.my-map-ai-earlier summary{padding:9px 3px;min-height:44px;cursor:pointer;color:var(--muted);overflow-wrap:anywhere}
.my-map-ai-grid,.my-map-ai-costs,.my-map-ai-notices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0}
.my-map-ai-grid label,.my-map-ai-form label{display:block;font-weight:650;font-size:12px;min-width:0}
.my-map-ai select,.my-map-ai input{width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-size:14px}
.my-map-ai select{margin-top:3px;text-overflow:ellipsis}
.my-map-ai-context{display:grid;gap:2px;font-size:13px}
.my-map-ai-actions{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0}
.my-map-ai-actions [aria-pressed="true"]{box-shadow:inset 0 0 0 1px var(--green);background:var(--tint)}
.my-map-ai button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--green);font:inherit;font-size:13px;font-weight:500}
.my-map-ai button[data-ai-close]{display:grid;place-items:center;padding:0;border:0;border-radius:50%;color:var(--ink)}
.my-map-ai button[type="submit"],.my-map-ai-result button{background:var(--green);color:var(--surface)}
.my-map-ai button:disabled{opacity:.55;cursor:default}
.my-map-ai-form>div{display:flex;align-items:center;gap:6px;margin-top:4px;padding:5px;border:1px solid var(--line);border-radius:24px;background:var(--surface)}
.my-map-ai-form button{flex:none}
.my-map-ai-form small{display:block;margin:7px 4px 0;font-size:11px;line-height:1.5}
.my-map-ai-result{border:0;margin:16px 0 8px;padding:0;overflow-wrap:anywhere}
.my-map-ai-result h3{font-size:16px;line-height:1.5;font-weight:600;letter-spacing:-.3px;margin:0 0 12px}
.my-map-ai-result h4{font-size:14px;line-height:1.6;font-weight:550;margin:0}
.my-map-ai-result article{border:0;border-bottom:1px solid var(--line);padding:12px 0 16px;margin:0 0 12px;min-width:0}
.my-map-ai-result dl{display:grid;gap:4px;margin:8px 0 2px;font-size:13px;line-height:1.5}
.my-map-ai-result dt{font-weight:650}.my-map-ai-result dd{margin:0 0 5px}
.my-map-ai-comparison{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;line-height:1.6;text-align:left}
.my-map-ai-comparison caption{padding-bottom:8px;text-align:left;color:var(--muted)}
.my-map-ai-comparison th,.my-map-ai-comparison td{padding:8px 6px;border:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
.my-map-ai-comparison th{background:var(--tint);font-weight:650}
.my-map-ai-comparison th:first-child{width:22%}
.my-map-ai-comparison p{font-size:12px;margin:0 0 8px}
.my-map-ai-comparison small{display:block;font-size:11px;font-weight:400;color:var(--muted)}
.my-map-ai-cost-table th:first-child{width:26%}
.my-map-ai-cost-table td{text-align:right;font-variant-numeric:tabular-nums}
.my-map-ai-evidence{border-top:1px solid var(--line);margin-top:8px;font-size:12px}
.my-map-ai-evidence summary{display:flex;align-items:center;min-height:44px;color:var(--green);cursor:pointer;font-weight:650}
.my-map-ai-evidence summary::before{content:'▸';margin-right:6px}
.my-map-ai-evidence[open]>summary::before{content:'▾'}
.my-map-ai-evidence h4{margin-top:8px}
.my-map-ai-evidence dl{grid-template-columns:minmax(0,1fr)}
.my-map-ai-evidence dd{text-align:left;white-space:normal;overflow-wrap:anywhere}
.my-map-ai-brief-body{font-size:13px;padding-bottom:6px}
.my-map-ai-brief-body h5{font-size:13px;margin:12px 0 4px}
.my-map-ai-brief-body label{display:block;font-weight:650;margin:6px 0}
.my-map-ai-brief-body p,.my-map-ai-brief-body ul{margin:5px 0 8px}
.my-map-ai-brief-body small{display:block;color:var(--muted);margin:5px 0}
.my-map-ai-brief-offer{background:var(--tint);border-radius:8px;padding:8px;margin:6px 0}
.my-map-ai-brief-offer .my-map-ai-brief-prices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.my-map-ai-brief-prices dd{font-weight:650;font-variant-numeric:tabular-nums}
.my-map-ai-deposit{padding:8px;background:var(--tint);color:var(--muted);border-radius:8px}
.my-map-ai-deposit strong{display:block;font-size:17px;color:var(--ink);font-variant-numeric:tabular-nums}
.my-map-ai-subtotal{border-top:1px solid var(--line);padding-top:8px;font-weight:650}
.my-map-ai-costs dl{grid-template-columns:minmax(0,1fr) auto;align-items:baseline}
.my-map-ai-costs dd{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.my-map-ai-costs .my-map-ai-evidence dl{grid-template-columns:minmax(0,1fr)}
.my-map-ai-costs .my-map-ai-evidence dd{white-space:normal;text-align:left}
.my-map-ai-cost-fields{border:0;margin:0;padding:0;min-width:0}
.my-map-ai-cost-fields label:not([hidden]){display:grid;gap:3px;margin:8px 0;font-size:13px;font-weight:650}
.my-map-ai-cost-form>button[type="submit"]{margin-top:8px}
.my-map-ai-cost-home>summary{font-size:13px}
.my-map-ai-result .my-map-ai-cost-summary{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:6px 8px}
.my-map-ai-cost-summary dd{text-align:right;font-variant-numeric:tabular-nums}
.my-map-ai-result .my-map-ai-edit-cost{background:var(--surface);color:var(--green)}
.my-map-ai-result ul{padding-left:16px;font-size:13px}
.my-map-ai-result a{display:inline-flex;align-items:center;min-height:44px;color:var(--green);font-weight:650}
.my-map-ai button:focus-visible,.my-map-ai a:focus-visible,.my-map-ai input:focus-visible,.my-map-ai select:focus-visible{outline:3px solid #ab803f;outline-offset:2px}
@media (max-width:767px){dialog.my-map-ai{inset:auto 8px max(8px,env(safe-area-inset-bottom)) auto;width:calc(100% - 16px);max-width:calc(100% - 16px);height:min(740px,calc(100dvh - 16px));max-height:calc(100dvh - 16px);padding:16px}.my-map-ai input,.my-map-ai select{font-size:16px}}
@media (max-width:480px){.my-map-ai-costs,.my-map-ai-notices{grid-template-columns:1fr}.my-map-ai-actions button{flex:1 1 auto}}

.my-map-ai-picks{position:sticky;top:-2px;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:6px;padding:5px 0;background:var(--surface);border-bottom:1px solid var(--line);margin-bottom:7px;font-size:12px}
.my-map-ai-picks button{flex:none}
.my-map-ai-search-results button[aria-pressed="true"]{color:var(--green)}

.my-map-ai-badge::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--green)}
.my-map-ai-heading svg,.my-map-ai-send svg{width:20px;height:20px}
.my-map-ai-name-en{font-size:11px;font-weight:450;letter-spacing:0}
#my-map-ai-menu .my-map-ai-name-en{margin-left:4px}
.my-map-ai-controls{flex:none;padding-top:8px}
.my-map-ai-settings:not(.my-map-ai-personal)[open]{flex:0 1 auto;min-height:45px;overflow:auto;overscroll-behavior:contain}
.my-map-ai-settings:not(.my-map-ai-personal)[open]>summary{position:sticky;top:0;z-index:1;background:var(--surface)}
.my-map-ai-settings:not(.my-map-ai-personal)[open]>div{max-height:none;overflow:visible}
.my-map-ai-welcome{padding:36px 4px 24px}
.my-map-ai-welcome>img{display:block;margin-bottom:16px}
.my-map-ai-welcome h3{font-size:24px;line-height:1.45;font-weight:550;letter-spacing:-.8px;margin:0 0 8px}
.my-map-ai-welcome .my-map-ai-intro{max-width:300px;color:var(--muted);font-size:13px;line-height:1.7;margin:0}
.my-map-ai-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.my-map-ai .my-map-ai-suggestions button{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--ink);border-radius:18px;text-align:left}
.my-map-ai-suggestions span{color:var(--muted)}
.my-map-ai .my-map-ai-modes{gap:4px;margin:0 0 8px}
.my-map-ai .my-map-ai-modes button{border-color:transparent;border-radius:24px;padding:7px 11px;font-size:12px;color:var(--muted)}
.my-map-ai .my-map-ai-modes button[aria-pressed="true"]{box-shadow:none;color:var(--green);background:var(--tint)}
.my-map-ai-form>div>input,.my-map-ai-form>div>select{border:0;background:transparent;border-radius:18px;margin:0;padding-left:12px}
.my-map-ai button.my-map-ai-send{display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:var(--ink);color:var(--surface)}
.my-map-ai-status:not(:empty){color:var(--muted);font-size:12px}
@media (max-width:374px){.my-map-ai .my-map-ai-modes button{padding-inline:8px;font-size:11px}.my-map-ai-welcome{padding-top:20px}}
@media (max-height:520px){.my-map-ai-thread{padding-block:4px}.my-map-ai:has(>.my-map-ai-settings:not(.my-map-ai-personal)[open]:not([hidden]))>.my-map-ai-thread,.my-map-ai:has(>.my-map-ai-settings:not(.my-map-ai-personal)[open]:not([hidden]))>.my-map-ai-controls{display:none}.my-map-ai-settings:not(.my-map-ai-personal)[open]{flex:1}.my-map-ai-welcome{padding-block:8px}.my-map-ai-welcome>img{display:none}.my-map-ai-suggestions{margin-top:12px}.my-map-ai-settings>div{max-height:24dvh}.my-map-ai-usage{padding-top:4px}.my-map-ai-heading{padding-bottom:4px}}
