:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;color:#352c25;background:#fbf6ed;--paper:#fffaf2;--ink:#352c25;--muted:#796a5b;--border:#e7dccb;--accent:#87472f;--school:#b7deaa;--route:#2167e8}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,#viewport:focus-visible{outline:3px solid var(--route);outline-offset:3px}[hidden]{display:none!important}.topbar{height:82px;background:var(--paper);border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 28px;gap:28px;position:relative;z-index:6}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:20px;font-weight:650;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:42px;height:44px;background:var(--accent);color:#fff6e5;border-radius:12px;font-size:24px}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:.14em;color:var(--muted);margin-top:4px}.school-control{margin-left:auto;display:flex;gap:10px;align-items:center}.school-control label{font-size:12px;color:var(--muted);white-space:nowrap}.school-control select{width:245px;min-height:44px;border:1px solid var(--border);padding:8px 34px 8px 14px;border-radius:10px;background:#fffdf9;color:var(--ink);font-size:14px}.demo-badge{font-size:10px;letter-spacing:.12em;border:1px solid #d8c2a9;color:#8b704e;padding:6px 8px;border-radius:5px}.soft-button,.primary-button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;min-height:44px;padding:10px 15px;font-size:13px;font-weight:600}.soft-button{color:var(--accent);background:#f4eadc;border:1px solid #e8d8c2}.soft-button:hover{background:#ede0ce}
/* From Uiverse.io by McHaXYT; map-specific warm palette and accessible focus states. */
.primary-button{width:100%;background:var(--accent);color:#fffaf2;border:1px solid var(--accent)}.primary-button:hover{background:#6d3622}.primary-button:active{background:#572a1a}#workspace{height:calc(100dvh - 82px);min-height:430px;position:relative;overflow:hidden}#viewport{position:absolute;inset:0;touch-action:none;cursor:grab}#viewport:active{cursor:grabbing}canvas{display:block;width:100%;height:100%}.map-heading{position:absolute;top:28px;left:28px;pointer-events:none}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.11em;color:#807360}.map-heading h1{font-size:23px;letter-spacing:-.025em;margin:9px 0 8px;font-weight:650}.map-heading p{font-size:12px;color:#756653;margin:0;line-height:1.6}.legend{display:flex;gap:16px;margin-top:14px;font-size:11px;color:#756653}.legend span{display:flex;gap:6px;align-items:center}.legend i{width:9px;height:9px;border-radius:3px;display:inline-block}.legend-school{background:#a4ce98;border:1px solid #7ca66f}.legend-rent{background:#cc795b}.detail-panel{position:absolute;left:28px;top:176px;bottom:auto;width:318px;max-height:calc(100% - 235px);overflow-y:auto;scrollbar-width:thin;border:1px solid #e6dac7;background:var(--paper);border-radius:16px;padding:20px;box-shadow:0 12px 32px #59462912}.panel-header{display:flex;justify-content:space-between;align-items:center;min-height:23px}h2{font-size:21px;line-height:1.35;margin:14px 0 8px;letter-spacing:-.015em;font-weight:650}#empty-detail>p{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 18px}.rental-list{display:flex;flex-direction:column;gap:8px}.rental-list-item{width:100%;background:#fffdf9;border:1px solid var(--border);border-radius:10px;padding:12px;display:flex;gap:11px;align-items:center;text-align:left;color:var(--ink);min-height:66px}.rental-list-item:hover{background:#f8eddd;border-color:#d4bea3}.rental-swatch{width:30px;height:35px;border-radius:5px 5px 2px 2px;flex:0 0 auto;position:relative;border:1px solid #00000010}.rental-swatch:after{content:"";position:absolute;inset:7px 7px 10px;border-left:3px solid #ffffff70;border-right:3px solid #ffffff70}.rental-list-item strong{font-size:13px;display:block;font-weight:600}.rental-list-item small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.list-price{margin-left:auto;font-size:13px;font-weight:650;white-space:nowrap;color:var(--accent)}#empty-detail .quiet-note{font-size:11px;margin:18px 0 0;color:#8a7a67}.icon-button{width:44px;height:44px;min-height:44px;border:1px solid #e1d2bb;border-radius:10px;background:#fffaf2;display:grid;place-items:center;box-shadow:0 2px 9px #68583e0a;color:#75614b;font-size:24px}.icon-button:hover{background:#f4e8d5}.icon-button.active{background:#f1ddc3;color:#6d3926}.close-button{width:30px;height:30px;min-height:30px;border:0;box-shadow:none;font-size:24px;background:transparent;margin-right:-7px}.view-switch{position:absolute;right:24px;top:27px;display:flex;border:1px solid var(--border);border-radius:10px;padding:4px;background:var(--paper)}
/* From Uiverse.io by andrew-demchenk0; segmented choice recipe adapted to actual buttons. */
.view-button{border:0;border-radius:7px;background:transparent;min-height:38px;padding:8px 12px;color:var(--muted);font-size:13px}.view-button.active{background:#eddbc2;color:#784028;font-weight:600}.map-tools{position:absolute;right:24px;bottom:74px;display:flex;flex-direction:column;gap:9px}.north-button{height:57px;padding:4px;font-size:25px}.north-button small{font-size:9px;line-height:10px}.zoom-tools{border-radius:10px;overflow:hidden;border:1px solid #e1d2bb}.zoom-tools .icon-button{border:0;border-radius:0;box-shadow:none}.zoom-tools button+button{border-top:1px solid var(--border)!important}.text-tool{font-size:12px;font-weight:600}.map-footer{position:absolute;bottom:0;width:100%;display:flex;justify-content:space-between;align-items:center;padding:12px 27px;gap:15px;background:#fbf6edea;border-top:1px solid #deccb6a0;font-size:11px;color:#81715e}.source-credit{display:flex;gap:16px;font-size:10px;align-items:center}.source-credit a{text-underline-offset:3px}.mobile-help{display:none}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#938370;font-size:10px;word-break:break-all}#building-id{margin:0 0 12px}dl{margin:0}dl>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:1.5;margin:12px 0}dt{color:var(--muted);white-space:nowrap}dd{margin:0;text-align:right}.accuracy-note{padding:10px;background:#f3eadb;font-size:11px;line-height:1.65;border-radius:8px;color:#826944}.no-listing{font-size:14px;color:var(--muted);padding:12px 0}.focus-button{width:100%;margin-top:15px;font-weight:500}.room-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.room-head select,.gate-select{background:#fffdf9;border:1px solid var(--border);border-radius:8px;min-height:42px;padding:8px 10px;color:var(--ink);font-size:13px;max-width:100%;width:100%}.room-price{font-size:29px;color:var(--accent);font-weight:700;margin:9px 0;line-height:1.2}.room-price small{font-size:12px;font-weight:400;color:var(--muted)}.room-tags{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0;font-size:11px;color:#75614e}.room-tags span{padding:4px 7px;background:#f1e5d4;border-radius:4px}.demo-tag{font-size:10px;padding:4px 7px;background:#f6e0bd;color:#8a591f;border-radius:4px;white-space:nowrap}.room-description{font-size:12px;line-height:1.7;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.photo-strip{display:flex;overflow-x:auto;gap:7px;scroll-snap-type:x mandatory;margin:12px 0}.photo-strip img{width:100%;max-height:210px;object-fit:cover;flex:0 0 100%;border-radius:9px;scroll-snap-align:center}.room-no-photo{height:84px;border:1px dashed #d8c8b0;background:#f8f0e4;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:8px;color:#ac967a;font-size:12px;margin:12px 0}.room-no-photo svg{height:24px;width:24px;stroke:currentColor;fill:none;stroke-width:1.3}.route-section{border-top:1px solid var(--border);padding-top:15px;margin-top:16px}.section-caption{font-size:13px;font-weight:650;margin:0 0 10px}.field-caption{display:block;font-size:11px;color:var(--muted);margin:10px 0 6px}.travel-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:10px 0}.travel-mode{padding:9px 3px;min-height:55px;border:1px solid var(--border);border-radius:8px;background:#fffdf9;color:#76634d;font-size:11px}.travel-mode strong{display:block;font-size:12px;margin-top:4px;color:#5f4f3e}.travel-mode.active{background:#f1e1ca;border-color:#b79669}.route-note{font-size:10px;line-height:1.6;color:#8b7962;margin:8px 0}.contact-actions{display:flex;gap:7px;margin-top:10px}.contact-actions>*{flex:1;min-width:0;text-decoration:none;font-size:12px}.contact-name{font-size:11px;color:var(--muted);margin:14px 0 7px}.contact-empty{font-size:11px;color:#927d64;margin:12px 0}.sheet-handle{display:none}.map-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.map-label{position:absolute;top:0;left:0;font-size:11px;font-weight:600;line-height:20px;white-space:nowrap;color:#766449;text-shadow:0 1px 2px #fff9ea,0 -1px 2px #fff9ea,1px 0 2px #fff9ea,-1px 0 2px #fff9ea}.map-label.own-school{background:#e1f0d6cc;padding:2px 6px;border:1px solid #94b282;border-radius:5px;color:#477038;text-shadow:none}.map-label.rental-pin{pointer-events:auto;cursor:pointer;background:#fffaf2;border:1px solid #d9cbb6;padding:3px 7px;border-radius:6px;color:#78472e;text-shadow:none;box-shadow:0 2px 7px #66431d14}.map-label.rental-pin.selected{background:#87472f;color:#fff;border-color:#87472f}.route-banner{position:absolute;left:50%;bottom:63px;transform:translateX(-50%);display:flex;align-items:center;gap:15px;max-width:55%;background:#fffaf2;border:1px solid #d6c1a0;color:#6d5334;border-radius:9px;padding:10px 12px;font-size:12px;box-shadow:0 4px 14px #47321b12}.route-banner button{border:0;background:none;color:#846d51;font-size:22px;min-width:28px;min-height:28px}.loading-layer{position:absolute;inset:0;background:#f2ebddf5;display:grid;place-items:center;z-index:10}.loading-card{width:min(360px,90vw);padding:35px;text-align:center}.loading-card p{font-size:13px;color:var(--muted);line-height:1.7}.toast{position:absolute;z-index:20;left:50%;bottom:75px;transform:translateX(-50%);background:#473828;color:#fff5e6;padding:12px 18px;border-radius:9px;font-size:13px;max-width:80%;box-shadow:0 6px 20px #332b2520}
/* From Uiverse.io by Zadrus; warm loader, respecting reduced motion. */
.loader{display:flex;justify-content:center;gap:7px}.loader i{width:11px;height:15px;border-radius:2px;background:#a56942;animation:loading-pulse 1.5s ease-in-out infinite;opacity:.3}.loader i:nth-child(2){animation-delay:.2s;height:22px;margin-top:-7px}.loader i:nth-child(3){animation-delay:.4s}@keyframes loading-pulse{50%{opacity:1;transform:translateY(-4px)}}
@media(max-width:1000px){.topbar{padding:0 20px;gap:14px}.school-control{gap:7px}.school-control label{display:none}.school-control select{width:210px}.detail-panel{left:20px;width:285px;padding:17px}.map-heading{left:20px}.map-heading h1{font-size:21px}.source-credit{gap:9px}.view-switch{right:18px}.map-tools{right:18px}.route-banner{left:auto;right:74px;transform:none;max-width:calc(100% - 410px)}}
@media(max-width:600px){.topbar{height:116px;padding:12px 16px;align-items:flex-start;gap:10px;flex-wrap:wrap}.brand{font-size:17px;gap:9px}.brand-mark{width:32px;height:34px;font-size:20px;border-radius:9px}.brand small{font-size:8px;margin-top:3px}.demo-badge{margin-left:auto;font-size:9px;padding:5px 7px;margin-top:4px}.school-control{order:3;width:100%;margin:0;gap:8px}.school-control select{flex:1;width:0;min-height:40px;font-size:12px;padding:7px 26px 7px 11px}.school-control .soft-button{min-height:40px;font-size:12px;padding:8px 13px}#workspace{height:calc(100dvh - 116px);min-height:420px}.map-heading{top:17px;left:16px}.map-heading .eyebrow{display:none}.map-heading h1{font-size:18px;margin:0 0 6px;max-width:235px}.map-heading p{font-size:10px;max-width:225px}.legend{font-size:10px;gap:12px;margin-top:9px}.view-switch{top:96px;left:16px;right:auto}.view-button{min-height:35px;font-size:11px;padding:6px 10px}.map-tools{right:13px;top:18px;bottom:auto;gap:7px}.icon-button{width:40px;height:40px;min-height:40px;border-radius:9px}.north-button{height:51px}.text-tool{font-size:11px}.map-tools #view-3d{display:none}.map-tools #reset{font-size:11px}.detail-panel{left:12px;right:12px;width:auto;top:auto;bottom:49px;padding:5px 16px 15px;max-height:60%;border-radius:16px;transition:max-height .2s ease-out}.sheet-handle{border:0;display:block;width:100%;height:21px;background:transparent;padding:7px;margin:0}.sheet-handle span{display:block;width:30px;height:4px;background:#d9c7ae;border-radius:3px;margin:auto}.panel-header{min-height:20px}.panel-header .eyebrow{font-size:9px}h2{font-size:18px;margin:7px 0}#empty-detail>p{font-size:12px;margin:0 0 10px}#empty-detail .quiet-note{font-size:10px;margin-top:10px}.rental-list{gap:6px}.rental-list-item{min-height:54px;padding:9px}.rental-list-item strong{font-size:12px}.rental-list-item small{font-size:10px}.rental-swatch{width:24px;height:30px}.list-price{font-size:12px}.detail-panel.collapsed{max-height:142px;overflow:hidden}.detail-panel.collapsed .rental-list,.detail-panel.collapsed .quiet-note,.detail-panel.collapsed #ordinary-detail,.detail-panel.collapsed #rental-detail,.detail-panel.collapsed .focus-button{display:none}.close-button{height:28px;min-height:28px;width:28px}#building-id{font-size:9px;margin-bottom:7px}.room-price{font-size:25px}.photo-strip img{max-height:180px}.room-no-photo{height:66px}.room-description{font-size:11px}.route-section{margin-top:12px;padding-top:12px}.route-note{font-size:10px}.map-footer{height:40px;padding:7px 13px;font-size:9px;gap:8px}.interaction-help{display:none}.mobile-help{display:block;max-width:115px}.source-credit{font-size:8px;flex-direction:column;gap:2px;align-items:flex-end}.map-label{font-size:10px}.map-label.rental-pin{font-size:10px;padding:2px 5px}.route-banner{left:15px;right:65px;bottom:auto;top:148px;max-width:none;padding:7px 10px;font-size:11px}.toast{bottom:205px;font-size:12px;width:max-content;max-width:90%}.focus-button{font-size:12px;margin-top:10px}dl>div{margin:8px 0}.selected .detail-panel.collapsed{max-height:105px}}
.editor-map .topbar,.editor-map .detail-panel,.editor-map .map-heading,.editor-map .map-footer,.editor-map .route-banner{display:none!important}.editor-map #workspace{height:100dvh;min-height:0}.editor-map .view-switch{left:15px;top:15px;right:auto}.editor-map .map-tools{right:15px;bottom:15px;top:auto}.editor-map .map-labels{pointer-events:none}.editor-map .map-label{pointer-events:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.loader i{opacity:.7}}
/* Keep the sheet handle available while its contents scroll. */
.detail-panel{display:flex;flex-direction:column;overflow:hidden}.panel-header,.sheet-handle{flex-shrink:0}#empty-detail,#selected-detail{overflow-y:auto;min-height:0;scrollbar-width:thin;overscroll-behavior:contain}.room-price>span:not(.demo-tag){font-size:12px;font-weight:400}.room-price .demo-tag{display:inline-block;margin-left:8px;vertical-align:middle}.room-head>label{white-space:nowrap;font-size:12px}.photo-strip a{flex:0 0 100%;min-width:0}.photo-strip img{display:block}.map-label.rental-pin{border-bottom:3px solid var(--pin-color);min-height:30px}.scenery-label{background:#fff5e6d9;padding:1px 5px;border-radius:4px;font-size:10px}.sheet-handle em{display:none;font-style:normal}.close-button{min-width:44px;min-height:44px}.route-banner button{min-width:36px;min-height:36px}
@media(max-width:600px){.sheet-handle{height:32px;padding:4px;display:flex;align-items:center;justify-content:center;gap:10px}.sheet-handle span{margin:0}.sheet-handle em{display:block;font-size:10px;color:#937453}.detail-panel.collapsed #empty-detail,.detail-panel.collapsed #selected-detail{overflow:hidden}.detail-panel.collapsed{max-height:148px}.selected .detail-panel.collapsed{max-height:137px}.detail-panel.collapsed #empty-detail>p:not(.quiet-note){margin-bottom:0}.view-button{min-height:40px}.map-tools .icon-button{width:42px;min-height:42px}.map-label.rental-pin{min-height:34px}}
