:root{--wine:#8d284b;--wine-light:#f6eaf0;--sea:#216f68;--ink:#24343b;--muted:#748186;--line:#e5ebec;--paper:#f3f7f7;--amber:#94691f;--shadow:0 8px 32px #24343b0d;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;height:100dvh;overflow:hidden}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,svg:focus-visible{outline:3px solid #398d88;outline-offset:4px}button{border:0;background:none}button[hidden],[hidden]{display:none!important}a{color:var(--wine);text-decoration:none}a:hover{text-decoration:underline}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:absolute;z-index:100;background:#fff;padding:12px;left:10px;top:5px}.mobile-only{display:none}.site-header{height:82px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);position:relative;z-index:30}.brand{display:flex;align-items:center;color:var(--ink);gap:13px;white-space:nowrap}.brand:hover{text-decoration:none}.brand-mark{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--wine);color:#fff}.brand-mark .icon{width:25px;height:25px;stroke-width:1.4}.brand-type{display:flex;flex-direction:column;gap:3px}.brand-type strong{font-family:"Songti SC","STSong",serif;font-size:24px;letter-spacing:4px;line-height:1.2}.brand-type>span{font-size:7px;letter-spacing:1.5px;color:var(--wine)}.brand-divider{width:1px;height:31px;background:var(--line);margin:0 8px}.brand-title{font-size:17px;letter-spacing:2px}.header-actions{display:flex;align-items:center;gap:24px}.preview-label{font-size:12px;color:var(--sea);display:flex;align-items:center;gap:7px;letter-spacing:1px}.preview-label i{width:6px;height:6px;border-radius:50%;background:var(--sea)}.text-button{display:flex;align-items:center;gap:8px;font-size:13px;color:#53646c}.text-button .icon{width:17px;height:17px}.workspace{height:calc(100dvh - 82px);display:grid;grid-template-columns:338px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0;z-index:10}.search-area{padding:31px 24px 19px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.3px;color:var(--wine)}.sidebar-intro h1{font-family:"Songti SC","STSong",serif;font-size:25px;font-weight:600;letter-spacing:.5px;margin:13px 0 10px;white-space:nowrap}.heading-dot{color:var(--wine)}.sidebar-intro p{color:var(--muted);font-size:12px;margin:0 0 26px}.search-box{border:1px solid #dfe7e7;border-radius:10px;display:flex;align-items:center;padding:0 12px;gap:9px;height:48px;background:#f8fafa;transition:border-color .15s,box-shadow .15s}.search-box:focus-within{border-color:var(--wine);box-shadow:0 0 0 3px #8d284b0a}.search-box>.icon{width:19px;color:var(--wine)}.search-box input{width:100%;min-width:0;border:0;background:none;height:100%;outline:0;font-size:13px;color:var(--ink)}.search-box input:focus-visible{outline:0}.search-box input::placeholder{color:#8b979c}.search-box input::-webkit-search-cancel-button{display:none}.search-shortcut{border:1px solid #dae2e3;border-radius:4px;color:#98a2a5;padding:0 5px;font-size:12px}.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:7px;color:#748086;flex:none}.icon-button:hover{background:var(--paper);color:var(--wine)}.icon-button .icon{width:17px;height:17px}.search-box .icon-button{width:22px;height:26px;margin-right:-4px}.filters{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.filter{padding:7px 11px;border-radius:6px;font-size:11px;color:#6f7c81;border:1px solid #e5ebec;background:#fff;white-space:nowrap}.filter:hover{border-color:#c6b0bb}.filter[aria-pressed=true]{background:var(--wine);border-color:var(--wine);color:#fff}.results-section{display:flex;flex-direction:column;min-height:0;flex:1}.results-heading{display:flex;align-items:center;margin:0 24px;border-top:1px solid var(--line);padding:19px 0 13px;gap:9px}.results-heading h2{font-size:13px;font-weight:600;margin:0}.results-heading>span{font-size:11px;color:#89959a;background:var(--paper);border-radius:4px;padding:3px 6px}.results-list{overflow-y:auto;padding:0 14px 15px;scrollbar-width:thin;scrollbar-color:#dbe2e3 transparent}.result-card{width:100%;display:flex;text-align:left;gap:13px;padding:16px 11px;border-radius:9px;align-items:flex-start;border:1px solid transparent;position:relative}.result-card+.result-card:before{content:"";height:1px;position:absolute;top:0;left:14px;right:14px;background:#edf1f1}.result-card:hover{background:#f8fafa}.result-card.selected{background:#fbf2f6;border-color:#eedbe3}.result-card.selected:before,.result-card.selected+.result-card:before{display:none}.building-code{width:42px;height:44px;border:1px solid #dfe8e7;background:#f2f7f6;color:var(--sea);border-radius:8px;display:grid;place-items:center;font:600 15px ui-monospace,SFMono-Regular,Menlo,monospace;flex:none}.result-card.selected .building-code{background:var(--wine);color:#fff;border-color:var(--wine)}.result-content{min-width:0;flex:1}.result-title{display:flex;align-items:center;gap:8px;justify-content:space-between;margin:1px 0 7px}.result-title strong{font-size:13px;font-weight:600}.result-title>.icon{width:13px;height:13px;color:#a5afb3}.result-subtitle{font-size:11px;color:#79878c;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.result-meta{margin-top:8px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.status{font-size:10px;display:inline-flex;align-items:center;gap:4px;font-weight:500;line-height:1.5}.status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status.confirmed{color:var(--sea)}.status.partial,.status.unverified{color:var(--amber)}.location-status{font-size:10px;color:#8b9599}.sidebar-foot{padding:16px 21px;border-top:1px solid var(--line);display:flex;align-items:center;gap:7px;font-size:10px;color:#8a9599}.sidebar-foot>.icon{width:14px;height:14px}.subtle-link{font-size:10px;color:var(--wine);padding:2px 0;margin-left:auto;white-space:nowrap}.map-area{position:relative;min-height:0;overflow:hidden;background:#edf3f1}.map-canvas{position:absolute;inset:0}.map-canvas>svg{width:100%;height:100%;display:block;touch-action:none;cursor:grab;outline-offset:-4px}.map-canvas>svg:active{cursor:grabbing}.map-canvas image{user-select:none;-webkit-user-drag:none}.map-loading{position:absolute;inset:0;display:grid;place-items:center;background:var(--paper);font-size:14px;color:var(--muted)}.map-topbar{position:absolute;z-index:2;left:23px;right:23px;top:22px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.campus-label,.map-button{pointer-events:auto;background:#ffffffed;border:1px solid #fff;box-shadow:var(--shadow);border-radius:10px;display:flex;align-items:center;gap:11px;padding:12px 16px;backdrop-filter:blur(10px)}.campus-label{font-size:13px;font-weight:600}.campus-label small{display:block;font-size:10px;font-weight:400;color:#859197;letter-spacing:.4px;margin-top:3px}.campus-dot{width:8px;height:8px;border-radius:50%;background:var(--sea);box-shadow:0 0 0 5px #216f680c}.map-button{font-size:12px;height:43px;color:#51636c;gap:8px;padding:10px 13px}.map-button>.icon{width:17px;height:17px}.map-button[aria-pressed=false]{background:#f2f5f5;color:#89969c}.footprint{fill:#8d284b18;stroke:var(--wine);stroke-width:1.7;stroke-dasharray:none;cursor:pointer;transition:fill .15s}.footprint:hover,.building-feature:hover .footprint{fill:#8d284b40;stroke-width:2.4}.footprint.selected,.building-feature.selected .footprint{fill:#8d284b77;stroke:#7a173b;stroke-width:2.7;stroke-dasharray:none}.building-feature:focus{outline:none}.building-feature:focus-visible .footprint{stroke:#006d77;stroke-width:4;fill:#216f6844}.map-label{cursor:pointer;pointer-events:all}.map-label rect{fill:#fff;stroke:#8d284b;stroke-width:1.4;vector-effect:non-scaling-stroke}.map-label text{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;fill:var(--wine);text-anchor:middle;dominant-baseline:central;paint-order:stroke}.map-label.selected rect,.building-feature.selected .map-label rect{fill:var(--wine)}.map-label.selected text,.building-feature.selected .map-label text{fill:#fff}.welcome-card{position:absolute;bottom:101px;left:25px;background:#fffffff2;border:1px solid #fff;border-radius:14px;padding:22px 24px;box-shadow:var(--shadow);max-width:330px;backdrop-filter:blur(10px)}.welcome-card h2{font-family:"Songti SC","STSong",serif;font-size:23px;line-height:1.5;font-weight:600;margin:8px 0 6px}.welcome-card p{font-size:11px;color:#77858b;margin:0 0 16px;line-height:1.8}.inline-action{display:flex;align-items:center;gap:22px;font-size:12px;color:var(--wine);padding:0}.inline-action>.icon{width:16px;height:16px}.map-tools{position:absolute;bottom:45px;left:25px;display:flex;align-items:center;height:42px;background:#fff;border:1px solid #e5ebec;border-radius:9px;box-shadow:var(--shadow);z-index:2;overflow:hidden}.tool-button{width:40px;height:40px;display:grid;place-items:center;font-size:22px;color:#586a71;padding:0}.tool-button:hover{color:var(--wine);background:var(--wine-light)}.tool-button>.icon{width:17px;height:17px}.map-tools output{font:10px ui-monospace,SFMono-Regular,Menlo,monospace;color:#7a878c;min-width:38px;text-align:center}.tool-divider{width:1px;height:18px;background:var(--line);margin:0 3px}.map-legend{position:absolute;bottom:52px;right:24px;font-size:10px;color:#53686b;display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:275px;background:#ffffffed;border-radius:7px;padding:8px 10px;pointer-events:none}.legend-building{width:18px;height:11px;border:1px solid #b8c7c0;background:#d9dfdc;border-radius:2px}.legend-selected{width:11px;height:11px;background:#8d284b99;border:1px solid var(--wine);margin-left:8px}.legend-note{width:100%;font-size:9px;color:#8a9598;text-align:right;margin-top:2px}.map-attribution{position:absolute;bottom:0;left:0;right:0;padding:7px 24px;display:flex;justify-content:space-between;background:#fffffff0;font-size:9px;color:#829095;pointer-events:none;gap:10px}.detail-shell{position:absolute;z-index:5;top:87px;right:23px;width:320px;max-height:calc(100% - 190px);background:#fff;border:1px solid #e5ebec;border-radius:14px;box-shadow:0 15px 50px #24343b14;display:flex;flex-direction:column;overflow:hidden}.detail-sheet-handle{display:none}.detail-panel{flex:1;min-height:0;width:100%;background:#fff;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dae1e3 transparent}.detail-head{padding:24px 23px 21px;border-bottom:1px solid var(--line);position:relative;background:linear-gradient(135deg,#fff 45%,#fbf1f5)}.detail-head>.icon-button{position:absolute;top:13px;right:12px}.detail-code{display:inline-block;font:600 29px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--wine);letter-spacing:-1px;margin-bottom:8px}.detail-head h2{font-family:"Songti SC","STSong",serif;font-size:24px;margin:0 0 11px;font-weight:600}.detail-location{display:flex;align-items:center;gap:5px;font-size:11px;color:#839096;margin-bottom:12px}.detail-location .icon{width:13px;height:13px}.detail-head .status{font-size:11px}.detail-body{padding:18px 23px 22px}.detail-body p{font-size:12px;color:#718188;line-height:1.9;margin:0 0 16px}.detail-note{background:#f5f8f8;border-left:2px solid #cbdcda;padding:10px 12px;font-size:11px;color:#6d8183;line-height:1.8;margin-bottom:20px}.detail-note.pending{border-color:#d8b875;background:#fdf9f0;color:#8d7445}.detail-section{margin-bottom:22px}.detail-section:last-child{margin-bottom:0}.detail-section h3{font-size:12px;font-weight:600;margin:0 0 11px;display:flex;gap:7px;align-items:center}.detail-section h3:before{content:"";width:3px;height:11px;background:var(--wine);border-radius:2px}.detail-section>small{font-size:10px;color:#8c999f;display:block;line-height:1.8;margin-bottom:12px}.detail-item{padding:10px 0;border-bottom:1px solid #edf1f1}.detail-item:last-child{border-bottom:0;padding-bottom:0}.detail-item strong{font-size:12px;font-weight:500;display:block;margin-bottom:5px}.detail-item span.item-location{font-size:11px;color:#7c8b90;line-height:1.65;display:block}.detail-item .status{font-size:9px;margin-top:6px}.space-row{display:flex;align-items:flex-start;gap:9px;padding:9px 0;border-bottom:1px solid #edf1f1;font-size:11px}.space-row:last-child{border:0}.space-row code{font-size:11px;background:#f1f6f5;padding:3px 5px;color:var(--sea);border-radius:4px;white-space:nowrap;line-height:1.4}.space-row>span{line-height:1.7;color:#76858b}.space-row .status{display:block;font-size:9px;margin-top:3px}.aliases{font-size:11px;line-height:1.9;color:#7a898e;margin-top:4px}.detail-section details summary{font-size:11px;cursor:pointer;color:var(--wine);padding:4px 0}.source-card{padding:10px 0;border-bottom:1px solid #e9eeee;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.source-card:last-child{border-bottom:0}.source-card a{font-size:11px}.source-card small{display:block;font-size:10px;color:#8a969a;margin-top:4px;line-height:1.8}.source-card blockquote{font-size:10px;color:#7c8b90;border-left:2px solid #e3e9e8;margin:7px 0;padding-left:9px}.detail-bottom-action{width:100%;border:1px solid #eadde3;color:var(--wine);display:flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;padding:9px;font-size:11px;margin-top:22px}.detail-bottom-action .icon{width:14px;height:14px}.empty-state{padding:45px 22px;text-align:center}.empty-state>.icon{width:32px;height:32px;color:#b6c3c6}.empty-state h3{font-size:14px;font-weight:500;margin:17px 0 10px}.empty-state p{font-size:12px;color:#8a979b;line-height:1.8;margin:0 0 17px}.empty-state button{border:1px solid #e2d5dc;color:var(--wine);font-size:12px;padding:8px 15px;border-radius:6px}.toast{position:absolute;z-index:8;left:50%;bottom:110px;transform:translateX(-50%);max-width:min(90%,440px);background:#24343bef;color:#fff;font-size:12px;line-height:1.7;padding:12px 18px;border-radius:9px;box-shadow:var(--shadow);pointer-events:none}.about-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 44px);overflow-y:auto;border:1px solid #e5ebec;border-radius:17px;padding:28px 33px;color:var(--ink);box-shadow:0 25px 100px #1b3b3b33}.about-dialog::backdrop{background:#15312f55;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.about-dialog h2{font-family:"Songti SC","STSong",serif;font-size:29px;font-weight:600;margin:12px 0 19px}.about-dialog>p{font-size:13px;color:#76868c;line-height:1.9}.about-facts{border-top:1px solid var(--line);margin:22px 0}.about-facts>div{display:flex;gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.about-facts strong{font-size:12px;white-space:nowrap;font-weight:600}.about-facts span{font-size:12px;color:#819095;line-height:1.8}.about-dialog summary{font-size:13px;color:var(--wine);cursor:pointer;padding:7px 0}.about-dialog .dialog-foot{font-size:10px;margin-top:20px;color:#9aa5a9}.fatal-error{position:fixed;inset:0;z-index:100;background:#fff;padding:15vh 10vw;line-height:2}.fatal-error a{display:inline-block;margin-top:10px}.map-area.has-detail .welcome-card{display:none}
@media(min-width:1500px){.workspace{grid-template-columns:365px minmax(0,1fr)}.search-area{padding-left:28px;padding-right:28px}.detail-shell{width:340px}}
@media(max-width:1100px) and (min-width:761px){.workspace{grid-template-columns:300px minmax(0,1fr)}.search-area{padding:25px 20px 16px}.sidebar-intro h1{font-size:22px}.detail-shell{width:285px;right:15px}.map-topbar{left:15px;right:15px}.map-legend{max-width:190px}.legend-note{font-size:8px}.welcome-card{left:18px;max-width:290px}.map-tools{left:18px}.sidebar-foot{padding:14px 15px;font-size:9px;gap:5px}}
@media(max-width:760px){.mobile-only{display:inline-flex}.site-header{height:64px;padding:0 16px}.brand{gap:9px}.brand-mark{width:34px;height:34px;border-radius:9px}.brand-mark .icon{width:21px;height:21px}.brand-type strong{font-size:19px;letter-spacing:2px}.brand-type>span{font-size:5px;letter-spacing:.8px}.brand-divider{height:24px;margin:0 2px}.brand-title{font-size:13px;letter-spacing:1px}.preview-label{display:none}.header-actions{gap:0}.text-button{padding:4px}.text-button span{display:none}.text-button .icon{width:20px;height:20px}.workspace{height:calc(100dvh - 64px);display:flex;flex-direction:column}.sidebar{border-right:0;flex:none;z-index:12;position:relative}.sidebar-intro{display:none}.search-area{padding:12px 15px 11px;border-bottom:1px solid var(--line)}.search-box{height:43px;border-radius:9px;background:#f6f9f9}.search-box input{font-size:14px}.search-shortcut{display:none}.filters{margin-top:10px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:6px}.filters::-webkit-scrollbar{display:none}.filter{font-size:10px;padding:6px 11px}.results-section{display:none}.sidebar-foot{display:none}.map-area{flex:1}.map-topbar{top:13px;left:13px;right:13px}.campus-label{padding:10px 12px;border-radius:8px;font-size:11px;gap:9px}.campus-label small{font-size:8px}.campus-dot{width:6px;height:6px}.map-button{height:37px;border-radius:8px;font-size:10px;padding:8px 10px;gap:6px}.map-button>.icon{width:15px;height:15px}.map-tools{bottom:56px;left:auto;right:13px;flex-direction:column;height:auto;border-radius:9px;width:38px}.tool-button{width:36px;height:35px;font-size:21px}.map-tools output{min-width:0;font-size:8px;display:block;padding:3px 0}.tool-divider{height:1px;width:19px;margin:3px 0}.map-legend{left:13px;right:auto;bottom:66px;padding:6px 8px;max-width:235px;justify-content:flex-start;font-size:8px;gap:5px}.legend-note{font-size:8px;text-align:left;max-width:190px}.legend-building{width:15px;height:9px}.legend-selected{width:9px;height:9px;margin-left:4px}.map-attribution{padding:6px 12px;font-size:8px;justify-content:center}.desktop-hint{display:none}.welcome-card{left:13px;bottom:123px;padding:15px 17px;border-radius:11px;max-width:265px}.welcome-card .eyebrow{font-size:8px}.welcome-card h2{font-size:20px;margin:5px 0}.welcome-card p{font-size:10px;margin-bottom:10px}.inline-action{font-size:11px}.mobile-list-button{position:absolute;bottom:30px;left:13px;background:#fff;box-shadow:var(--shadow);border:1px solid #e5ebec;border-radius:8px;padding:9px 12px;align-items:center;gap:7px;font-size:11px;z-index:3}.mobile-list-button .icon{width:15px;height:15px}.mobile-list-button>span{font-size:9px;color:#8b999d}.list-open .results-section{display:flex;position:fixed;top:174px;bottom:0;left:0;right:0;z-index:20;background:#fff;border-radius:14px 14px 0 0;padding-top:3px;box-shadow:0 -10px 30px #24343b10}.list-open .results-heading{margin:0 20px;padding-top:13px}.list-open .results-heading .icon-button{margin-left:auto}.list-open .results-list{padding:0 12px 25px}.result-card{padding:15px 11px}.result-title strong{font-size:14px}.result-subtitle{font-size:12px}.building-code{width:45px;height:46px;font-size:16px}.detail-shell{top:auto;right:0;left:0;bottom:23px;width:auto;max-height:49%;border-radius:17px 17px 0 0;box-shadow:0 -8px 40px #24343b18;z-index:6}.detail-head{padding:16px 20px 13px;display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:start}.detail-code{font-size:31px;grid-row:1/4;margin:0}.detail-head h2{font-size:21px;margin:0 25px 6px 0}.detail-location{font-size:10px;margin:0 0 8px}.detail-head>.status{font-size:10px}.detail-head>.icon-button{top:11px;right:12px}.detail-body{padding:14px 20px 20px}.detail-body p{font-size:11px;margin-bottom:12px}.detail-note{margin-bottom:17px;font-size:10px}.detail-section{margin-bottom:18px}.map-area.has-detail .map-tools{top:68px;bottom:auto}.map-area.has-detail .map-legend{display:none}.map-area.has-detail .mobile-list-button{top:72px;bottom:auto}.toast{bottom:auto;top:70px;font-size:11px;width:max-content;max-width:86%}.about-dialog{padding:22px 24px}.about-dialog h2{font-size:25px}.about-facts>div{gap:14px}.about-facts span{font-size:11px}}
@media(max-height:680px) and (min-width:761px){.search-area{padding-top:19px}.sidebar-intro p{margin-bottom:15px}.sidebar-intro h1{margin-top:8px}.welcome-card{padding:15px 20px}.detail-shell{max-height:calc(100% - 165px)}}
.mobile-only.mobile-only{display:none}.building-label{cursor:pointer;pointer-events:all}.building-label .label-background{fill:#fff;stroke:var(--wine);stroke-width:1.2;vector-effect:non-scaling-stroke;filter:drop-shadow(0 2px 3px #24343b22)}.building-label .label-text{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;fill:var(--wine);text-anchor:middle;dominant-baseline:central}.building-label.selected .label-background{fill:var(--wine);stroke:#fff}.building-label.selected .label-text{fill:#fff}.building-label:focus-visible{outline:none}.building-label:focus-visible .label-background{stroke:var(--sea);stroke-width:3}.space-count{margin-left:auto;color:#8a979b;font-size:10px;font-weight:400}.building-layer[hidden],.label-layer[hidden],.building-feature[hidden],.building-label[hidden]{display:none}.is-dragging,.is-dragging .building-feature,.is-dragging .building-label{cursor:grabbing!important}
@media(max-width:760px){.mobile-only.mobile-only{display:inline-flex}}
.map-heading-group{display:flex;align-items:flex-start;gap:10px;pointer-events:auto}.map-modes{display:flex;background:#ffffffed;padding:4px;border:1px solid #fff;border-radius:9px;box-shadow:var(--shadow);gap:3px;margin-top:1px}.map-modes button{padding:9px 12px;font-size:11px;border-radius:6px;color:#697d80}.map-modes button[aria-pressed=true]{background:var(--wine);color:#fff}.map-attribution{pointer-events:auto}.map-attribution a{color:#647e77;text-decoration:underline;text-underline-offset:2px}.map-area[data-mode=vector] .footprint{fill:#8d284b10;stroke-dasharray:none;stroke:#8d284b99;stroke-width:1.5}.map-area[data-mode=vector] .building-feature.selected .footprint{fill:#8d284b88;stroke:var(--wine);stroke-width:2.5}.map-area[data-mode=vector] .legend-building{border-style:solid}.map-area[data-mode=vector] .welcome-card{background:#ffffffed}.map-area[data-mode=vector] .map-canvas{background:#f6f7f2}
@media(max-width:1000px){.map-heading-group{flex-direction:column;gap:7px}.map-modes button{font-size:10px;padding:7px 10px}}
@media(max-width:760px){.map-heading-group{gap:7px}.map-modes{padding:3px}.map-modes button{font-size:9px;padding:6px 9px}.map-area.has-detail .mobile-list-button{top:112px}.map-area.has-detail .map-tools{top:110px}}
.map-heading-group{pointer-events:none}.map-heading-group>.campus-label,.map-heading-group>.map-modes{pointer-events:auto}
.map-action-stack{display:flex;gap:8px;pointer-events:auto}.shuttle-button{color:#286d90}.shuttle-button[aria-expanded=true]{color:#fff;background:#287da1;border-color:#287da1}.map-tooltip{position:absolute;z-index:4;pointer-events:none;background:#243b3cf0;color:#fff;font-size:12px;line-height:1.6;padding:7px 12px;border-radius:7px;max-width:230px;box-shadow:var(--shadow)}.map-area[data-mode=vector] .context-feature .footprint{fill:#0000;stroke:#0000;stroke-width:1.5;pointer-events:visiblePainted}.map-area[data-mode=vector] .context-feature:hover .footprint,.map-area[data-mode=vector] .context-feature:focus-visible .footprint{fill:#8d284b25;stroke:#8d284b99}.map-area[data-mode=vector] .context-feature.selected .footprint{fill:#8d284b66;stroke:var(--wine);stroke-width:2.4}.map-area[data-mode=vector] .context-feature.is-muted:not(.selected):not(:hover) .footprint{fill:transparent;stroke:transparent}.building-feature[style*="pointer-events: none"] .footprint{pointer-events:none!important}.shuttle-marker{cursor:pointer}.stop-halo{fill:#2a8db32a;stroke:#fff;stroke-dasharray:3 2;stroke-width:1.5}.stop-symbol{fill:#287fa2;stroke:#fff;stroke-width:2;filter:drop-shadow(0 2px 3px #254b5e33)}.stop-icon{fill:none;stroke:#fff;stroke-width:1.3;stroke-linejoin:round;stroke-linecap:round}.shuttle-marker:hover .stop-symbol,.shuttle-marker.selected .stop-symbol{fill:#144b6b;stroke:#fff;stroke-width:2.5}.shuttle-marker.selected .stop-halo{stroke:#1e6a8a;stroke-width:2;fill:#439dc73a}.shuttle-marker:focus-visible{outline:none}.shuttle-marker:focus-visible .stop-symbol{stroke:#8d284b;stroke-width:3}.word-code{font-size:18px;letter-spacing:0;font-family:inherit}.related-place{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left;font-size:11px;line-height:1.8;color:var(--wine);background:#faf3f6;padding:10px;border-radius:7px}.related-place .icon{width:14px;height:14px}.bus-code{background:#eaf5fa;border-color:#d2e7f0;color:#287fa2}.shuttle-routes{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.shuttle-route{font-size:11px;padding:8px 10px;background:#eff6f9;border:1px solid #d6e9f0;border-radius:7px;color:#28718e}.shuttle-route[aria-pressed=true]{background:#287fa2;color:#fff}.shuttle-list{display:flex;flex-direction:column;gap:7px;margin:14px 0}.shuttle-stop{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;width:100%;background:#f4f9fb;border:1px solid #e3eef2;border-radius:8px;padding:12px;font-size:12px;line-height:1.65;color:#3c6273}.shuttle-stop small{display:block;font-size:10px;color:#889ba3}.shuttle-history{margin:18px 0;padding-top:13px;border-top:1px solid var(--line);font-size:11px;line-height:1.8;color:#7d8c94}.shuttle-history summary{cursor:pointer;color:#7c8d92}.shuttle-layer-setting{padding:0 22px 20px;font-size:11px;color:#5a7b8b}.shuttle-layer-setting label{display:flex;align-items:center;gap:7px}.shuttle-layer-setting input{accent-color:#287fa2}.shuttle-service-entry{display:block;padding:12px;background:#eef6fa;color:#286d90;border:1px solid #dcecf3;border-radius:8px;font-size:12px;line-height:1.8;margin:12px 0}.status.historical{color:#7b8c95}
@media(max-width:760px){.map-action-stack{flex-direction:column;gap:7px}.map-tooltip{display:none}.word-code{font-size:15px;max-width:70px}.shuttle-stop{font-size:11px}.map-legend{max-width:240px}.shuttle-layer-setting{padding:0 20px 16px}}
.building-feature.non-interactive,.building-feature.non-interactive *{pointer-events:none!important}.filter-more{border-style:dashed;color:#697d87}.shuttle-stop>.status{white-space:nowrap;flex:none}.shuttle-stop>span:first-child{min-width:0}.detail-head:has(+.detail-body .shuttle-list) .detail-code{font-size:17px;font-family:inherit;letter-spacing:0}.detail-head .detail-code:has(+h2[id=detail-title]){max-width:100%;overflow-wrap:anywhere}
.bus-detail-code{font-size:22px;color:#287fa2;letter-spacing:0;font-family:inherit}.official-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;margin:7px 0;border:1px solid #e0ebe9;background:#f4f9f7;border-radius:7px;font-size:12px;color:#3c7468}.official-entry .icon{width:14px;height:14px}
@media(max-width:760px){.detail-head .bus-detail-code{font-size:22px;grid-column:1;max-width:48px}.detail-head:has(.bus-detail-code){grid-template-columns:48px minmax(0,1fr)}.detail-head:has(.bus-detail-code) h2{line-height:1.45;font-size:20px;overflow-wrap:anywhere}}.cluster-label{cursor:zoom-in}.cluster-label .label-background{fill:#fff;stroke:var(--wine);stroke-width:1.6;vector-effect:non-scaling-stroke;filter:drop-shadow(0 3px 6px #263b3a22)}.cluster-label .label-text{fill:var(--wine);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-weight:700;text-anchor:middle;dominant-baseline:central}.cluster-label:hover .label-background,.cluster-label.selected .label-background{fill:var(--wine)}.cluster-label:hover .label-text,.cluster-label.selected .label-text{fill:#fff}.map-level-label{position:absolute;left:25px;top:91px;z-index:2;background:#ffffffed;color:#607a78;border:1px solid #e0e9e6;border-radius:7px;font-size:11px;letter-spacing:.2px;line-height:1.5;padding:7px 10px;pointer-events:none;backdrop-filter:blur(8px)}.cluster-members{display:flex;flex-direction:column;gap:9px}.cluster-member{display:flex;align-items:center;gap:12px;width:100%;padding:12px;text-align:left;border:1px solid #e5e9e8;background:#fafcfa;border-radius:9px}.cluster-member:hover{border-color:#d5b8c6;background:#fcf4f7}.cluster-member-code{display:flex;align-items:center;justify-content:center;flex:none;min-width:43px;max-width:100px;padding:0 6px;min-height:42px;background:#f1e7ec;border:1px solid #e8d7df;border-radius:7px;font-size:14px;font-weight:600;color:var(--wine);line-height:1.5}.cluster-member>span:nth-child(2){flex:1;min-width:0}.cluster-member strong{display:block;font-size:13px;font-weight:600;line-height:1.7}.cluster-member small{display:block;font-size:11px;color:#8a969b;line-height:1.6;margin-top:2px}.cluster-member>.icon{width:15px;height:15px;color:#8b9a9b}.cluster-detail-head .detail-code{font-size:17px;letter-spacing:1px;font-family:inherit}
@media(max-width:1000px){.map-level-label{top:132px;left:15px}}
@media(max-width:760px){.map-level-label{top:auto;bottom:103px;left:13px;font-size:10px;padding:6px 9px;max-width:240px}.map-area.has-detail .map-level-label{display:none}.cluster-member{padding:10px;gap:10px}.cluster-member strong{font-size:12px}.cluster-member small{font-size:10px}.cluster-member-code{font-size:13px;min-width:39px;min-height:39px}.cluster-detail-head{grid-template-columns:48px minmax(0,1fr)}.cluster-detail-head .detail-code{font-size:16px}.map-area .welcome-card{bottom:147px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Point POIs use a compact dot instead of a building footprint. */
.poi-dot{fill:#c47a2c;stroke:#fff;stroke-width:2;cursor:pointer}
.building-feature:hover .poi-dot,.building-feature:focus-visible .poi-dot{fill:#9a4f12;stroke-width:2.6}
.building-feature.selected .poi-dot{fill:#8d284b;stroke:#fff;stroke-width:2.8}
.map-area[data-mode=vector] .poi-dot{fill:#c47a2c;stroke:#fff;stroke-width:2}
.map-area[data-mode=vector] .building-feature.selected .poi-dot{fill:#8d284b;stroke:#fff;stroke-width:2.8}
.legend-poi{width:9px;height:9px;border-radius:50%;background:#c47a2c;border:1px solid #fff;margin-left:8px;box-shadow:0 0 0 1px #c47a2c}

/* Mobile bottom sheets: search, results and details share one drag model. */
.sheet-handle{display:none}
:root{--keyboard-inset:0px;--sheet-safe:env(safe-area-inset-bottom,0px)}
@media(max-width:760px){
  :root{--sheet-peek:calc(160px + env(safe-area-inset-bottom,0px));--sheet-mini:calc(64px + env(safe-area-inset-bottom,0px))}
  .workspace{display:block;position:relative;height:calc(100vh - 64px);height:calc(100dvh - 64px);overflow:hidden}
  .map-area{position:absolute;inset:0;flex:none}
  .sidebar{position:absolute;left:0;right:0;bottom:var(--keyboard-inset,0px);z-index:22;display:flex;flex-direction:column;height:calc(160px + env(safe-area-inset-bottom,0px));max-height:none;padding-bottom:env(safe-area-inset-bottom,0px);background:#fff;border:1px solid #e5ebec;border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -12px 40px #24343b1f;overflow:hidden;transform:none;transition:height .24s cubic-bezier(.2,.8,.2,1);will-change:height}
  .sidebar.is-sheet-dragging,.detail-shell.is-sheet-dragging{transition:none}
  .detail-open .sidebar{display:flex;max-height:calc(64px + env(safe-area-inset-bottom,0px));overflow:hidden}
  .detail-open .sidebar .sheet-handle,.detail-open .sidebar .filters{display:none}
  .detail-open .search-area{padding:9px 15px 8px;border-bottom:0}
  .sheet-handle{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;flex:none;padding:8px 0 2px;background:#fff;color:#8a979b;cursor:grab;touch-action:none;border-radius:18px 18px 0 0}
  .sheet-handle:active{cursor:grabbing}
  .sheet-grabber{width:40px;height:4px;border-radius:99px;background:#c9d3d5}
  .sheet-hint{font-size:9px;letter-spacing:.5px;line-height:1.4;max-width:calc(100% - 36px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .search-area{padding:4px 15px 10px;border-bottom:1px solid var(--line);flex:none}
  .filters{margin-top:8px;flex-wrap:wrap;overflow:visible}
  .results-section{display:none}
  .sidebar[data-snap=half] .results-section,.sidebar[data-snap=full] .results-section{display:flex;position:static;inset:auto;flex:1;min-height:0;background:#fff;border-radius:0;padding:0;box-shadow:none;overflow:hidden}
  .sidebar[data-snap=half] .results-heading,.sidebar[data-snap=full] .results-heading{margin:0 18px;padding:12px 0 10px}
  .sidebar[data-snap=half] .results-list,.sidebar[data-snap=full] .results-list{flex:1;overflow-y:auto;padding:0 12px calc(16px + env(safe-area-inset-bottom,0px))}
  .sidebar-foot{display:none}
  .mobile-list-button{bottom:calc(var(--sheet-peek) + 10px)}
  .list-open .mobile-list-button,.detail-open .mobile-list-button{display:none}
  .map-tools{bottom:calc(var(--sheet-peek) + 12px)}
  .map-legend{bottom:calc(var(--sheet-peek) + 22px)}
  .map-level-label{bottom:calc(var(--sheet-peek) + 30px)}
  .map-area .welcome-card{bottom:calc(var(--sheet-peek) + 70px)}
  .list-open .map-tools,.list-open .map-legend,.list-open .map-level-label,.list-open .welcome-card{display:none}
  .detail-shell{z-index:26;top:auto;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom,0px) + var(--keyboard-inset,0px));width:auto;max-height:none;height:min(52vh,480px);height:min(52dvh,480px);padding-bottom:env(safe-area-inset-bottom,0px);border-radius:17px 17px 0 0;box-shadow:0 -10px 40px #24343b22;display:flex;flex-direction:column;transition:height .24s cubic-bezier(.2,.8,.2,1)}
  .detail-sheet-handle{display:flex;border-radius:17px 17px 0 0;border-bottom:1px solid #f1f4f4;padding-top:7px;padding-bottom:4px;background:#fff}
  .detail-panel{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:0}
  .detail-open .map-tools{top:68px}
  body.sheet-dragging{cursor:grabbing}
}
@media(max-width:760px) and (max-height:520px){
  :root{--sheet-peek:calc(160px + env(safe-area-inset-bottom,0px))}
  .sheet-hint{display:none}
}
@media(max-height:520px) and (min-width:761px){
  .sidebar-intro{display:none}
  .search-area{padding:12px 16px 8px}
  .sidebar-foot{display:none}
  .detail-shell{top:70px;max-height:calc(100% - 90px)}
}
@media(max-width:360px){
  .campus-label{display:none}
  .map-topbar{top:10px}
}
@media(max-width:760px){
  .map-legend,.map-level-label{display:none}
}

/* Student-first dorm area shortcuts inside the results list. */
.area-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:12px 11px 10px;border-bottom:1px solid #edf1f1;margin-bottom:2px}
.area-shortcuts>span{font-size:10px;color:#8b979c;letter-spacing:.5px;margin-right:2px}
.area-shortcuts button{font-size:11px;color:var(--wine);background:#fbf2f6;border:1px solid #efdce5;border-radius:999px;padding:6px 11px;white-space:nowrap}
.area-shortcuts button:hover{background:var(--wine);color:#fff;border-color:var(--wine)}
@media(max-width:760px){.area-shortcuts{padding:10px 11px 8px}.area-shortcuts button{font-size:11px;padding:7px 12px}}

/* Clear back navigation inside detail sheets. */
.detail-nav{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px 7px;background:#fffffff5;border-bottom:1px solid #edf1f1;backdrop-filter:blur(8px)}
.detail-back{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 10px 6px 6px;border-radius:8px;color:var(--wine);font-size:12px;font-weight:600}
.detail-back .icon{width:17px;height:17px}
.detail-back:hover{background:var(--wine-light,#fbf2f6)}
.detail-nav .icon-button{width:36px;height:36px}
@media(max-width:760px){
  .detail-nav{padding:8px 10px 6px}
  .detail-back{min-height:44px;font-size:13px;padding:8px 12px 8px 8px}
  .detail-nav .icon-button{width:44px;height:44px}
}

/* Short phones: keep a usable map strip above the detail sheet. */
@media(max-width:760px) and (max-height:650px){
  .map-area.has-detail .campus-label.campus-selector-card,
  .map-area.has-detail .map-modes{display:none}
}

/* Route planning and route geometry. */
.route-layer{pointer-events:none}
.route-line{fill:none;stroke:#287da1;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 4px #1f536b33)}
.route-line.walk{stroke:#287da1}
.route-line.bike{stroke:#2f8a5b}
.route-dot{stroke-width:2.5}
.route-dot.start{fill:#fff;stroke:#287da1}
.route-dot.end{fill:#287da1;stroke:#fff}
.route-panel{padding:16px 20px 22px}
.route-heading .eyebrow{font-size:9px;letter-spacing:2px;color:var(--wine)}
.route-heading h2{font-family:"Songti SC","STSong",serif;font-size:23px;margin:5px 0 4px;font-weight:600}
.route-heading p{font-size:11px;color:#7e8c91;margin:0 0 14px;line-height:1.7}
.route-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}
.route-modes button{border:1px solid #dfe7e7;background:#f8fafa;border-radius:9px;padding:9px 10px;font-size:12px;color:#6f7e84;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.route-modes button small{font-size:9px;color:#95a1a5}
.route-modes button[aria-pressed=true]{background:var(--wine);border-color:var(--wine);color:#fff}
.route-modes button[aria-pressed=true] small{color:#f4dfe8}
.route-field{display:block;margin-bottom:8px}
.route-field>span{display:block;font-size:10px;color:#8b979c;margin-bottom:5px;letter-spacing:.5px}
.route-field input{width:100%;height:42px;border:1px solid #dfe7e7;border-radius:9px;background:#f8fafa;padding:0 11px;font-size:12px;color:var(--ink);outline:0}
.route-field input:focus{border-color:var(--wine);background:#fff;box-shadow:0 0 0 3px #8d284b0a}
.route-swap{font-size:10px;color:var(--sea);padding:2px 0 9px;background:none;border:0}
.route-swap:hover{color:var(--wine)}
.route-actions{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 12px}
.route-actions button{border:1px solid #e2d5dc;color:var(--wine);font-size:11px;padding:8px 11px;border-radius:7px;background:#fff}
.route-actions button:hover{background:var(--wine-light,#fbf2f6)}
.route-actions .route-primary{background:var(--wine);border-color:var(--wine);color:#fff}
.route-suggest{border:1px solid #e5ecec;border-radius:9px;background:#fff;box-shadow:0 8px 22px #24343b12;max-height:190px;overflow-y:auto;margin:0 0 12px}
.route-suggest p{font-size:11px;color:#8b979c;padding:11px 12px;margin:0}
.route-suggest button{display:block;width:100%;text-align:left;padding:9px 11px;border-bottom:1px solid #edf1f1;background:#fff;font-size:11px;color:var(--ink)}
.route-suggest button:last-child{border-bottom:0}
.route-suggest button:hover{background:#fbf2f6}
.route-suggest strong{display:block;font-size:12px;margin-bottom:2px}
.route-suggest small{display:block;font-size:9px;color:#8b979c;line-height:1.5}
.route-result{border-radius:9px;padding:12px;margin:0 0 12px;background:#f2f8f7;border:1px solid #dcebe7}
.route-result strong{display:block;font-size:14px;color:#1f6d64;margin-bottom:4px}
.route-result span{display:block;font-size:11px;color:#4e6d68;line-height:1.6}
.route-result p{font-size:10px;color:#70858a;margin:7px 0 0;line-height:1.7}
.route-result ul{margin:6px 0 0;padding-left:16px;font-size:10px;color:#70858a;line-height:1.7}
.route-access{display:flex;flex-direction:column;gap:5px;margin:9px 0 0;padding-top:8px;border-top:1px solid #dcebe7}
.route-access-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:2px 7px;font-size:10px;line-height:1.55;color:#58736f}
.route-access-row>span{color:#7b9290}
.route-access-row>strong{font-size:10px;font-weight:600;color:#315f59;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.route-access-row>small{grid-column:2;color:#7b8d8a;font-size:9px}
.route-network-note{margin:7px 0 0!important;padding:7px 8px;border-radius:6px;background:#fffaf0;border:1px solid #ead9b5;color:#806128!important;font-size:9px!important}
.route-result.unavailable{background:#fdf9f0;border-color:#ead9b5}
.route-result.unavailable strong{color:#8d7445}
.route-caveat{font-size:9px;color:#98a2a6;line-height:1.7;margin:12px 0 0}
@media(max-width:760px){
  .route-panel{padding:13px 18px 18px}
  .route-modes button{min-height:48px}
  .route-field input{height:44px;font-size:13px}
  .route-actions button{min-height:40px;font-size:12px}
}
@media(max-width:760px){
  .map-area.has-detail .map-tools{display:none}
}

/* Category focus: food/study/dorm/transport modes. */
.building-feature.category-emphasis .footprint,
.building-feature.category-emphasis .poi-dot{fill:#8d284b55;stroke:#8d284b;stroke-width:2.4}
.building-feature.category-emphasis .poi-dot{fill:#c47a2c;stroke:#fff}
.building-feature.category-muted .footprint{opacity:.16}
.building-feature.category-muted .poi-dot{opacity:.22}
.building-label.category-emphasis .label-background{fill:var(--wine);stroke:var(--wine)}
.building-label.category-emphasis .label-text{fill:#fff;font-weight:700}
.building-label.category-muted{opacity:.18}
.filter-all-sub{background:#fbf2f6;border-color:#efdce5;color:var(--wine)}
.subfilters{margin-top:6px;padding-top:6px;border-top:1px dashed #e7eded}
@media(max-width:760px){
  .subfilters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .subfilters::-webkit-scrollbar{display:none}
}
.route-button[aria-pressed=true]{background:var(--wine);border-color:var(--wine);color:#fff}
.detail-navigate{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:40px;border:1px solid #eadde3;border-radius:9px;background:#fff;color:var(--wine);font-size:12px;font-weight:600;margin:0 0 14px}
.detail-navigate:hover{background:var(--wine-light,#fbf2f6)}
.detail-navigate .icon{width:16px;height:16px}
@media(max-width:760px){.detail-navigate{min-height:44px;font-size:13px}}

.route-field input[aria-invalid=true]{border-color:#b45353;background:#fff8f6;box-shadow:0 0 0 3px #b4535312}
.route-suggest button[data-available=false] strong{color:#8d7445}
.route-suggest button[data-available=false] small{color:#a58d62}
@media(max-width:760px) and (max-height:650px){
  .route-panel{padding-top:8px}
  .route-heading h2{font-size:21px;margin:3px 0 3px}
  .route-heading p{display:none}
  .route-modes{margin-bottom:9px}
  .route-modes button{padding:7px 9px}
  .route-field{margin-bottom:6px}
  .route-field input{height:40px}
  .route-swap{padding-bottom:6px}
  .route-actions{margin:5px 0 8px}
  .route-caveat{margin-top:8px}
}
@media(max-width:760px){
  body.detail-open.detail-sheet-collapsed .map-tools{display:flex;top:auto;bottom:calc(164px + env(safe-area-inset-bottom,0px))}
}

/* Business outlet details and same-building shop clusters. */
.shop-detail-head .detail-code{font-size:17px;font-family:inherit;letter-spacing:1px}
.shop-facts{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#e8eeee;border:1px solid #e8eeee;border-radius:9px;overflow:hidden;margin:0 0 16px}
.shop-facts>div{background:#fbfdfd;padding:10px 12px;min-width:0}
.shop-facts span{display:block;font-size:9px;letter-spacing:.5px;color:#8b979c;margin-bottom:4px}
.shop-facts strong{display:block;font-size:11px;font-weight:600;color:#3f5359;line-height:1.55;overflow-wrap:anywhere}
.status.operating{color:var(--sea)}
.status.closed{color:#9a4f4f}
.status.unknown{color:var(--amber)}
.building-feature[data-building-id^="shop-cluster:"] .poi-dot{fill:var(--wine);stroke:#fff;stroke-width:2.4}
.building-label[data-building-id^="shop-cluster:"] .label-background{fill:var(--wine);stroke:var(--wine)}
.building-label[data-building-id^="shop-cluster:"] .label-text{fill:#fff}
@media(max-width:760px){.shop-facts{grid-template-columns:1fr}.shop-detail-head h2{font-size:21px}}

/* Context focus: target stays dark, nearby buildings stay visible and readable. */
.building-feature.context-neighbor .footprint{fill:#8d284b20;stroke:#8d284b7d;stroke-width:1.6;stroke-dasharray:none}
.building-feature.context-neighbor .poi-dot{fill:#b06a45;stroke:#fff;stroke-width:2}
.building-feature.context-muted .footprint{opacity:.34}
.building-feature.context-muted .poi-dot{opacity:.40}
.building-label.context-neighbor .label-background{fill:#fff;stroke:#b77f95;stroke-width:1.2}
.building-label.context-neighbor .label-text{fill:#7d3650;font-weight:600}
.building-label.context-muted{opacity:0;pointer-events:none}
.building-feature.context-neighbor:hover .footprint{fill:#8d284b38;stroke:var(--wine);stroke-width:2}

/* Route destination detail keeps the route overview in memory. */
.route-destination-link{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;border:1px solid #d8e7e3;border-radius:8px;background:#f4f9f7;color:#2f6f68;font-size:11px;line-height:1.6;padding:9px 12px;margin:0 0 12px}
.route-destination-link:hover{background:#eaf5f1;border-color:#b9d8ce}
@media(max-width:760px){.route-destination-link{min-height:40px;font-size:12px}}

/* Student-facing building detail hierarchy: concise summary, practical info, sources. */
.detail-type-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:9px}
.detail-type{font-size:10px;color:var(--sea);background:#edf6f4;border:1px solid #d9ebe7;border-radius:999px;padding:3px 8px;letter-spacing:.3px}
.detail-summary{font-size:13px!important;line-height:1.9!important;color:#42575e!important;margin:0 0 12px!important}
.use-chips,.facility-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.use-chips span{font-size:10px;color:var(--wine);background:#fbf2f6;border:1px solid #f0dbe5;border-radius:999px;padding:4px 9px}
.facility-chips span{font-size:10px;color:#3f6d66;background:#f1f8f5;border:1px solid #d9ebe5;border-radius:999px;padding:4px 9px}
.detail-evidence{font-size:9px;color:#99a5a9;line-height:1.6;margin:-4px 0 16px}
.practical-units{display:flex;flex-direction:column;gap:7px}
.practical-unit{padding:9px 10px;background:#f8fbfa;border:1px solid #e6eeec;border-radius:7px}
.practical-unit strong{display:block;font-size:12px;font-weight:600;color:#3d555b;margin-bottom:3px}
.practical-unit small{display:block;font-size:10px;color:#859397;line-height:1.65}
.more-note{display:block;font-size:9px;color:#98a4a7;margin-top:7px}
.alias-section{margin-bottom:16px}
.detail-subdetails{border:1px solid #e5eceb;border-radius:9px;background:#fbfdfd;padding:0 12px;margin:0 0 14px}
.detail-subdetails>summary{cursor:pointer;font-size:12px;font-weight:600;color:#3f555c;padding:11px 0;list-style:none}
.detail-subdetails>summary::-webkit-details-marker{display:none}
.detail-subdetails>summary:after{content:"+";float:right;color:var(--wine);font-size:16px;line-height:1}
.detail-subdetails[open]>summary:after{content:"−"}
.detail-subdetails .space-list{padding-bottom:8px}
.detail-more{border-top:1px dashed #dfe8e6;margin-top:18px;padding-top:12px}
.detail-more>summary{cursor:pointer;font-size:11px;font-weight:600;color:var(--wine);padding:5px 0;list-style:none}
.detail-more>summary::-webkit-details-marker{display:none}
.detail-more>summary:after{content:"＋";float:right;font-size:13px}
.detail-more[open]>summary:after{content:"−"}
.detail-more .detail-section:first-of-type{margin-top:13px}
@media(max-width:760px){
  .detail-summary{font-size:12.5px!important;line-height:1.85!important}
  .detail-head{padding-bottom:12px}
  .practical-unit{padding:8px 9px}
  .detail-subdetails{padding:0 11px}
}

/* Background buildings keep their outline but never compete with student places. */
.building-feature.background-building .footprint{fill:#d9dfdc;stroke:#c6cfca;stroke-width:1.2;stroke-dasharray:none;opacity:.78}
.map-area[data-mode=vector] .building-feature.background-building .footprint{fill:#d9dfdc;stroke:#c6cfca;stroke-width:1.2}
.building-feature.background-building:hover .footprint,.building-feature.background-building:focus .footprint{fill:#d9dfdc;stroke:#c6cfca;stroke-width:1.2}
.building-feature.background-building .poi-dot{fill:#b9c3c0;stroke:#fff;opacity:.7}
.building-label.background-building{display:none!important}
.map-area[data-mode=vector] .building-feature.background-building .footprint,
.map-area[data-mode=vector] .building-feature.background-building.is-muted .footprint,
.building-feature.background-building .footprint{fill:#d9dfdc!important;stroke:#c6cfca!important;pointer-events:none!important;opacity:.78}

/* Unified campus-gate icon. Gates are places, not generic POI dots. */
.gate-symbol .gate-hit{fill:transparent;stroke:none}
.gate-symbol .gate-ring{fill:#fff;stroke:var(--wine);stroke-width:2.2}
.gate-symbol .gate-glyph{fill:none;stroke:var(--wine);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.building-feature.gate-feature:hover .gate-ring,.building-feature.gate-feature:focus-visible .gate-ring{fill:var(--wine-light);stroke-width:2.8}
.building-feature.gate-feature:hover .gate-glyph,.building-feature.gate-feature:focus-visible .gate-glyph{stroke-width:2.8}
.building-feature.gate-feature.selected .gate-ring{fill:var(--wine);stroke:#fff;stroke-width:2.6}
.building-feature.gate-feature.selected .gate-glyph{stroke:#fff}
.building-feature.gate-feature.context-muted .gate-symbol{opacity:.4}
.building-feature.gate-feature.category-muted .gate-symbol{opacity:.22}

/* Gate details: facts first, routing caveats explicit. */
.gate-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 12px}
.gate-facts>div{border:1px solid var(--line);border-radius:10px;padding:10px 11px;background:#fff}
.gate-facts span{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}
.gate-facts strong{display:block;font-size:12px;line-height:1.5;color:var(--ink)}
.gate-facts small{display:block;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.5}
.gate-route-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gate-route-grid>div{border:1px solid var(--line);border-radius:10px;padding:9px 10px;background:#fff}
.gate-route-grid span{display:block;color:var(--muted);font-size:10px}
.gate-route-grid strong{display:block;font-size:12px;margin-top:3px;color:var(--sea)}
.gate-route-grid small{display:block;margin-top:3px;color:var(--muted);font-size:9px}
.gate-nearby{display:flex;flex-wrap:wrap;gap:6px}
.gate-nearby button,.gate-nearby span{display:inline-flex;align-items:center;gap:4px;border:1px solid #e4e9e7;border-radius:999px;padding:6px 10px;background:#fff;font-size:11px;color:var(--ink)}
.gate-nearby button:hover{background:var(--wine-light);border-color:#eadde3;color:var(--wine)}
.gate-nearby .icon{width:13px;height:13px}
.gate-outside-section p{margin:0 0 8px;color:var(--muted);font-size:11px;line-height:1.7}
.gate-outside-entry{width:100%;min-height:38px;border:1px dashed #d8e1de;border-radius:9px;background:#f8faf8;color:var(--muted);font-size:11px}
.gate-options .gate-recommendation{margin:0 0 8px;font-size:11px;color:var(--muted)}
.gate-recommendation button{padding:0;border:0;background:none;color:var(--wine);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.gate-recommendation span{margin-left:6px}
.gate-option-list{display:grid;gap:6px}
.gate-option-list>button{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;border:1px solid var(--line);border-radius:9px;background:#fff;padding:8px 10px}
.gate-option-list>button:hover{border-color:#eadde3;background:var(--wine-light)}
.gate-option-list strong{font-size:12px;color:var(--ink)}
.gate-option-list small{color:var(--muted);font-size:10px}
.gate-option-list .icon{width:14px;height:14px;color:var(--muted)}
@media(max-width:760px){
  .gate-facts{grid-template-columns:1fr 1fr;gap:6px}
  .gate-facts>div{padding:8px 9px}
  .gate-route-grid{grid-template-columns:1fr}
  .gate-detail-head .detail-summary{max-width:none}
}

/* Shuttle + walk route: green access legs, blue ride segment. */
.route-line.shuttle-walk{stroke:#2f8a5b;stroke-width:4}
.route-line.shuttle{stroke:#1f6fa8;stroke-width:7;filter:drop-shadow(0 2px 5px #1f536b44)}
.route-stop-marker circle{fill:#fff;stroke:#1f6fa8;stroke-width:2.4}
.route-stop-marker.board circle{fill:#2f8a5b;stroke:#fff}
.route-stop-marker.alight circle{fill:#8d284b;stroke:#fff}
.route-stop-label{fill:#1f536b;font-weight:700;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}

/* Shuttle + walk planner result */
.route-modes{grid-template-columns:repeat(3,minmax(0,1fr))}
.route-modes button[data-route-mode="shuttle"]{color:#286d90;border-color:#cfe3ec;background:#f1f8fb}
.route-modes button[data-route-mode="shuttle"] small{color:#6b95a8}
.route-modes button[data-route-mode="shuttle"][aria-pressed=true]{background:#287fa2;border-color:#287fa2;color:#fff}
.route-modes button[data-route-mode="shuttle"][aria-pressed=true] small{color:#dceef6}
.shuttle-result{border-color:#cfe3ec;background:#f7fbfd}
.shuttle-result>strong{color:#1f5f7d}
.shuttle-result>span{display:block;color:#4e7182;font-size:10px;margin-top:2px}
.shuttle-result.provisional>strong{color:#8d5a1f}
.shuttle-result.provisional{background:#fffaf0;border-color:#eadbbd}
.shuttle-itinerary{display:grid;gap:6px;margin:10px 0}
.shuttle-leg{display:grid;gap:2px;padding:8px 9px;border-left:3px solid #2f8a5b;background:#fff;border-radius:0 7px 7px 0}
.shuttle-leg.ride{border-left-color:#1f6fa8;background:#eef7fc}
.shuttle-leg span{font-size:9px;color:#7b8b90}
.shuttle-leg strong{font-size:11px;color:#314b55;line-height:1.5}
.shuttle-leg small{font-size:9px;color:#84959b;line-height:1.5}
.shuttle-result p{font-size:10px;line-height:1.7;color:#687c83;margin:5px 0}
.route-alternative{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin-top:8px;padding:8px 9px;border:1px solid #dfe9e3;border-radius:7px;background:#f7fbf8;font-size:10px;color:#5c7468}
.route-alternative strong{color:#2f7451}
.route-alternative.preferred{border-color:#e4d6b8;background:#fffaf1}
.route-alternative.preferred strong{color:#94691f}
.route-alternative small{display:block;flex-basis:100%;color:#829188;font-size:9px}
.shuttle-candidates{margin-top:9px;font-size:10px;color:#5b747f}
.shuttle-candidates summary{cursor:pointer;color:#2b718e}
.shuttle-candidate{display:grid;gap:2px;padding:7px 8px;margin-top:5px;border:1px solid #e0ebf0;border-radius:7px;background:#fff}
.shuttle-candidate strong{font-size:9px;color:#287fa2}
.shuttle-candidate span{font-size:10px;color:#3f5e6c}
.shuttle-candidate small{font-size:9px;color:#84959b}
.shuttle-unavailable .route-alternative{margin-top:8px}
@media(max-width:760px){
  .route-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .route-modes button{padding:7px 6px;font-size:10px}
  .route-modes button small{font-size:8px}
  .shuttle-result p{font-size:10px}
}

/* Browser geolocation marker */
.location-layer{pointer-events:none}
.location-marker{pointer-events:none}
.location-accuracy{fill:#287fa21c;stroke:#287fa2;stroke-width:1.4;stroke-dasharray:4 3}
.location-pulse{fill:#287fa224;stroke:#287fa2;stroke-width:1.2;opacity:.65}
.location-dot{fill:#1f6fa8;stroke:#fff;stroke-width:2.4;filter:drop-shadow(0 2px 4px #1f536b55)}
.location-label{fill:#1f536b;font-weight:700;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}

/* Location control and status chip */
.locate-button[aria-pressed=true]{color:#fff;background:#1f6fa8;border-color:#1f6fa8}
.result-location{font-size:10px;color:#8b9599}
.location-status{position:absolute;z-index:9;left:20px;top:112px;display:flex;align-items:center;gap:7px;max-width:min(420px,calc(100% - 40px));padding:7px 9px;background:#fffffff2;border:1px solid #d7e5ea;border-radius:9px;box-shadow:var(--shadow);font-size:11px;color:#315a6b}
.location-status-dot{width:8px;height:8px;border-radius:50%;background:#1f6fa8;flex:none;box-shadow:0 0 0 4px #287fa222}
#location-status-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.location-status-action{border:1px solid #d7e5ea;background:#f6fbfd;color:#286d90;border-radius:6px;padding:3px 6px;font-size:10px;flex:none}
.location-status-action[aria-pressed=true]{background:#e8f4fa;border-color:#bad9e6;color:#1f5f7d}
@media(max-width:760px){
  .location-status{left:12px;top:126px;max-width:calc(100% - 24px);white-space:normal}
  .location-status.error,.location-status.weak{flex-wrap:wrap}
  .location-status.error #location-status-text,.location-status.weak #location-status-text{flex:1 1 calc(100% - 24px);white-space:normal;overflow:visible;text-overflow:clip;line-height:1.5}
}

.tool-button.locate-button[aria-pressed=true]{background:#1f6fa8;border-color:#1f6fa8;color:#fff}

.route-line.nav-context{stroke:#536b70;stroke-width:9;opacity:.16}
.route-line.nav-traveled{stroke:#8a9a9d;stroke-width:4;opacity:.8}

/* Navigation HUD */
.navigation-topbar{position:absolute;z-index:10;left:20px;top:112px;display:flex;align-items:center;gap:14px;max-width:min(720px,calc(100% - 40px));padding:9px 11px;background:#fffffff5;border:1px solid #d7e5ea;border-radius:10px;box-shadow:var(--shadow);color:#315a6b}
.nav-top-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.nav-top-copy strong{font-size:13px;color:#244957;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-top-copy small{font-size:10px;color:#779099;white-space:nowrap}
.nav-top-metrics{display:flex;flex-direction:column;gap:2px;min-width:94px}.nav-top-metrics strong{font-size:13px;color:#1f6fa8}.nav-top-metrics span{font-size:10px;color:#6f858d;white-space:nowrap}
.nav-top-actions{display:flex;gap:6px;margin-left:auto}.nav-top-actions button{border:1px solid #d7e5ea;background:#f6fbfd;color:#286d90;border-radius:6px;padding:5px 7px;font-size:10px}.nav-top-actions button:hover{background:#e8f4fa}
@media(max-width:760px){.navigation-topbar{left:12px;top:126px;max-width:calc(100% - 24px);gap:8px;padding:7px 8px}.nav-top-copy strong{font-size:11px}.nav-top-metrics{min-width:78px}.nav-top-metrics strong{font-size:11px}.nav-top-actions button{padding:4px 5px}}

/* Live navigation panel */
.route-navigation-start{width:100%;min-height:40px;margin:0 0 8px;border:0;border-radius:9px;background:var(--wine);color:#fff;font-size:12px;font-weight:700}
.route-navigation-start:hover{background:#74203e}
.nav-panel .route-heading p{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.nav-mode-chip{display:inline-flex;padding:3px 7px;border-radius:999px;background:#eef7fb;color:#28718e;font-size:9px}
.nav-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}
.nav-metrics>div{padding:9px;border:1px solid var(--line);border-radius:9px;background:#fff;min-width:0}
.nav-metrics span{display:block;font-size:9px;color:var(--muted);margin-bottom:3px}
.nav-metrics strong{display:block;font-size:12px;line-height:1.45;color:#1f5f7d;word-break:break-word}
.nav-status{padding:8px 9px;border-left:3px solid #2f8a5b;background:#f3faf5;border-radius:0 7px 7px 0;font-size:10px;line-height:1.6;color:#3e6c51;margin-bottom:7px}
.nav-status.pending{border-left-color:#94691f;background:#fffaf0;color:#806128}
.nav-status.paused{border-left-color:#7b8c95;background:#f5f7f7;color:#60737b}
.nav-next{padding:8px 9px;border:1px dashed #d8e5e7;border-radius:8px;background:#f9fcfc;font-size:10px;line-height:1.7;color:#4e6b75;margin-bottom:9px}
.nav-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}
.nav-actions button{border:1px solid #dfe7e7;background:#f8fafa;border-radius:8px;padding:8px 7px;font-size:10px;color:#5c747d}
.nav-actions button:hover{border-color:#c9dde4;background:#f1f8fb;color:#286d90}
.nav-actions button[aria-pressed=true]{background:#287fa2;border-color:#287fa2;color:#fff}
.nav-actions .nav-end{grid-column:1/-1;color:var(--wine);border-color:#eadde3;background:#fff7f9}
.nav-accuracy-note{font-size:9px!important;color:#8c9a9e!important;line-height:1.6;margin-top:7px!important}
@media(max-width:760px){.nav-metrics{gap:5px}.nav-metrics>div{padding:7px}.nav-metrics strong{font-size:11px}.nav-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.nav-actions button{padding:8px 5px}}

/* Dev-only geolocation diagnostics */
.geo-diagnostics{position:absolute;z-index:12;left:20px;bottom:96px;width:min(390px,calc(100% - 40px));max-height:42vh;overflow:auto;padding:10px 11px;background:#0f262de8;color:#d9edf2;border-radius:9px;box-shadow:var(--shadow);font-size:10px;line-height:1.55;pointer-events:auto}
.geo-diagnostics>strong{display:block;font-size:11px;color:#fff;margin-bottom:5px}
.geo-diagnostics dl{display:grid;grid-template-columns:78px 1fr;gap:2px 7px;margin:0}
.geo-diagnostics dt{color:#8fb7c1}.geo-diagnostics dd{margin:0;color:#ecf8fa;word-break:break-word}
.geo-diagnostics small{display:block;margin-top:6px;color:#94b3bc}
@media(max-width:760px){.geo-diagnostics{left:12px;bottom:74px;width:calc(100% - 24px);max-height:34vh}}

/* Dev-only geolocation diagnostics */
.geo-diagnostics{position:absolute;z-index:12;left:20px;bottom:96px;width:min(390px,calc(100% - 40px));max-height:42vh;overflow:auto;padding:10px 11px;background:#0f262de8;color:#d9edf2;border-radius:9px;box-shadow:var(--shadow);font-size:10px;line-height:1.55;pointer-events:auto}
.geo-diagnostics>strong{display:block;font-size:11px;color:#fff;margin-bottom:5px}
.geo-diagnostics dl{display:grid;grid-template-columns:78px 1fr;gap:2px 7px;margin:0}
.geo-diagnostics dt{color:#8fb7c1}.geo-diagnostics dd{margin:0;color:#ecf8fa;word-break:break-word}
.geo-diagnostics small{display:block;margin-top:6px;color:#94b3bc}
@media(max-width:760px){.geo-diagnostics{left:12px;bottom:74px;width:calc(100% - 24px);max-height:34vh}}

.location-marker.manual .location-dot{fill:#94691f;stroke:#fff}
.location-marker.manual .location-pulse{fill:#94691f22;stroke:#94691f}
.location-marker.manual .location-label{fill:#7a5619}
.snapped-marker{pointer-events:none}
.snapped-dot{fill:#0f8f93;stroke:#fff;stroke-width:2;stroke-dasharray:2 2}


/* Metro stations and public bus stops use their own compact transport language. */
.building-feature.place-metro-station .footprint{
  fill:#3f86b50c;stroke:#7faecb;stroke-width:1;stroke-dasharray:none
}
.building-feature.place-metro-station.selected .footprint{
  fill:#3f86b526;stroke:#3277a5;stroke-width:1.8
}
.transit-symbol{pointer-events:none}
.transit-halo{stroke-width:2;filter:drop-shadow(0 1px 2px #24343b22)}
.transit-letter{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-weight:700;fill:#fff}
.transit-symbol.metro .transit-halo{fill:#3277a5;stroke:#fff}
.transit-symbol.bus .transit-halo{fill:#2b8a78;stroke:#fff}
.building-label.place-metro-station .label-background{fill:#f5fbff;stroke:#85b6d0;stroke-width:.9;filter:drop-shadow(0 1px 1px #24343b10)}
.building-label.place-metro-station .label-text{fill:#285f80;font-weight:600}
.building-label.place-bus-stop .label-background{fill:#f3fbf8;stroke:#9bc9bd;stroke-width:.85;filter:drop-shadow(0 1px 1px #24343b10)}
.building-label.place-bus-stop .label-text{fill:#266a5c;font-weight:600}
.building-label.place-metro-station.category-emphasis .label-background,
.building-label.place-bus-stop.category-emphasis .label-background{fill:#eaf6fb;stroke:#6aa7c4}
.building-label.place-metro-station.selected .label-background{fill:#3277a5;stroke:#fff}
.building-label.place-metro-station.selected .label-text{fill:#fff}
.building-label.place-bus-stop.selected .label-background{fill:#2b8a78;stroke:#fff}
.building-label.place-bus-stop.selected .label-text{fill:#fff}
.building-feature.place-metro-station .transit-symbol.selected .transit-halo{stroke:#fff}

/* Transit station details */
.station-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.station-facts>div{border:1px solid var(--line);border-radius:9px;padding:9px;background:#fff;min-width:0}
.station-facts span{display:block;font-size:9px;color:var(--muted);margin-bottom:3px}
.station-facts strong{display:block;font-size:11px;color:var(--ink);line-height:1.5;word-break:break-word}
.station-facts small{display:block;font-size:9px;color:#8c9a9e;margin-top:3px;line-height:1.5}
.transit-detail-head .detail-code{color:#2f7194}
@media(max-width:760px){.station-facts{gap:6px}.station-facts>div{padding:8px}}
.map-area[data-mode=vector] .building-feature.place-metro-station.selected .footprint{
  fill:#3f86b52c;stroke:#3277a5;stroke-width:1.9
}
.building-feature.place-metro-station.selected .transit-halo{stroke-width:2.5}
.building-feature.place-bus-stop.selected .transit-halo{stroke-width:2.5}

/* Metro exits are independent point places and only appear at detail zoom. */
.building-feature.place-metro-exit{transition:opacity .16s}
.map-area[data-level=overview] .building-feature.place-metro-exit{opacity:0;pointer-events:none}
.metro-exit-symbol{pointer-events:all}
.metro-exit-hit{fill:transparent;stroke:none;pointer-events:none}
.metro-exit-box{fill:#eaf5fc;stroke:#3277a5;stroke-width:1.4;filter:drop-shadow(0 1px 2px #24343b24)}
.metro-exit-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;fill:#245f84;pointer-events:none}
.building-feature.place-metro-exit:hover .metro-exit-box,.building-feature.place-metro-exit.selected .metro-exit-box{fill:#3277a5;stroke:#fff;stroke-width:1.8}
.building-feature.place-metro-exit.selected .metro-exit-code{fill:#fff}
.metro-exit-symbol.is-closed .metro-exit-box{fill:#fdf0ee;stroke:#a95252;stroke-dasharray:2 2}
.metro-exit-symbol.is-closed .metro-exit-code{fill:#934444}
.map-area[data-mode=vector] .building-feature.place-metro-exit.selected .footprint{display:none}
.metro-exit-detail-head .detail-code{font-size:25px;color:#2f7194;border:1.5px solid #8bb8d2;border-radius:7px;padding:1px 7px;letter-spacing:0}
.metro-exit-list{display:flex;flex-direction:column;gap:7px}
.metro-exit-row{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:9px 10px;border:1px solid #dfe9ee;border-radius:8px;background:#fbfdfe;color:#3f6274}
.metro-exit-row:hover{background:#f2f9fd;border-color:#b9d7e7}
.metro-exit-row .icon{width:14px;height:14px;margin-left:auto;flex:none;color:#8aa5b3}
.metro-exit-row>.metro-exit-code{width:31px;height:25px;display:grid;place-items:center;border:1px solid #9cc4da;border-radius:5px;background:#eaf5fc;color:#245f84;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;flex:none}
.metro-exit-row strong{display:block;font-size:11px;line-height:1.6}
.metro-exit-row small{display:block;font-size:9px;color:#8499a3;line-height:1.6}
.metro-exit-row.is-closed{border-color:#ead3d0;background:#fffafa}
.metro-exit-row.is-closed>.metro-exit-code{border-color:#d8a9a2;background:#fdf0ee;color:#934444}
.metro-exit-row.is-closed small{color:#9a6b66}

.exit-recommend{display:inline-block;margin-left:6px;padding:1px 5px;border-radius:4px;background:#e7f3ed;color:#236652;font-size:9px;font-weight:500;vertical-align:1px}
.metro-recommend{border-left-color:#9bc7b8;background:#f1f8f4;color:#386b5c}
.map-canvas .poi-symbol .poi-dot{fill:#fff;stroke:var(--wine);stroke-width:1.2;cursor:pointer}
.map-canvas .poi-symbol .poi-glyph{fill:none;stroke:var(--wine);stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.poi-symbol{pointer-events:all}
.poi-hit{fill:transparent;stroke:none;pointer-events:all}
.building-feature:hover .poi-symbol .poi-dot,.building-feature:focus-visible .poi-symbol .poi-dot{fill:#fbf2f6;stroke:#7a173b;stroke-width:1.8}
.building-feature.selected .poi-symbol .poi-dot{fill:var(--wine);stroke:#fff;stroke-width:1.8}
.building-feature.selected .poi-symbol .poi-glyph{stroke:#fff}
.map-canvas .building-feature[data-building-id^="shop-cluster:"] .poi-symbol .poi-dot{fill:#fff;stroke:var(--wine);stroke-width:1.5}
.map-canvas .building-feature[data-building-id^="shop-cluster:"] .poi-symbol .poi-glyph{stroke:var(--wine)}
.building-feature.poi-feature.category-muted{opacity:.12;pointer-events:none}
.legend-poi{width:10px;height:10px;border-radius:50%;background:#fff;border:1.2px solid var(--wine);margin-left:8px;box-shadow:0 0 0 1px #fff}
.legend-bridge{width:18px;height:8px;border-radius:4px;background:#fffaf6;border:1.5px solid #9b5a70;margin-left:8px;box-shadow:0 1px 0 #baa9a3}
.building-feature.poi-feature.category-emphasis .poi-symbol .poi-dot{fill:var(--wine);stroke:#fff;stroke-width:1.8}
.building-feature.poi-feature.category-emphasis .poi-symbol .poi-glyph{stroke:#fff}
.label-leader-layer{pointer-events:none}
.label-leader{stroke:#8d284b;stroke-opacity:.42;stroke-width:1;fill:none}

/* Hierarchy: the named building group leads; block codes stay quiet. */
.building-label .label-background,
.building-label.context-neighbor .label-background{
  fill:#fff;fill-opacity:0;stroke:none;filter:none
}
.building-label .label-text{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-weight:600;fill:#71344c;stroke:#fff;stroke-width:3px;
  stroke-linejoin:round;paint-order:stroke fill
}
.building-label.context-neighbor .label-text{fill:#826774;font-weight:500}
.building-label:hover .label-background{fill-opacity:.92}
.building-label.selected .label-background,
.building-label.category-emphasis .label-background{
  fill:var(--wine);fill-opacity:1;stroke:none;filter:drop-shadow(0 1px 3px #52203922)
}
.building-label.selected .label-text,
.building-label.category-emphasis .label-text{fill:#fff;stroke:none;font-weight:600}
.building-label.group-member .label-text{fill:#756875;font-weight:500;stroke-width:3px}
.building-label.group-member.selected .label-background{
  fill:#fff;fill-opacity:.96;stroke:#b98a9c;stroke-width:.8;filter:none
}
.building-label.group-member.selected .label-text{fill:var(--wine);stroke:none;font-weight:600}
.building-label:focus-visible .label-background{
  fill-opacity:1;stroke:var(--sea);stroke-width:2
}
.cluster-label .label-background,
.cluster-label.selected .label-background{
  fill:#fff;fill-opacity:.96;stroke:#a75a77;stroke-width:1;
  filter:drop-shadow(0 1px 3px #52203916)
}
.cluster-label .label-text,
.cluster-label.selected .label-text,
.cluster-label:hover .label-text{
  fill:#842443;stroke:none;font-weight:700;letter-spacing:.2px
}
.cluster-label.context-title .label-background{stroke:#8d284b;stroke-width:1.1}
.cluster-label:hover .label-background{fill:#fff8fb;fill-opacity:1}
.cluster-label:focus-visible .label-background{stroke:var(--sea);stroke-width:2}
.building-label.place-metro-station .label-background,
.building-label.place-bus-stop .label-background{fill-opacity:.9}
.building-label.place-metro-station .label-text{fill:#285f80;stroke:none}
.building-label.place-bus-stop .label-text{fill:#266a5c;stroke:none}
.building-label.place-metro-station.selected .label-background{fill:#3277a5;fill-opacity:1}
.building-label.place-bus-stop.selected .label-background{fill:#2b8a78;fill-opacity:1}
.building-label.place-metro-station.selected .label-text,
.building-label.place-bus-stop.selected .label-text{fill:#fff}
.detail-parent-group{
  display:inline-flex;align-items:center;gap:7px;padding:6px 9px;margin:0 0 10px;
  border:1px solid #eadce3;border-radius:6px;background:#fff8fb;color:var(--wine);
  font-size:12px;font-weight:600
}
.detail-parent-group small{font-size:10px;font-weight:400;color:#937483}
.detail-parent-group .icon{width:13px;height:13px}
.detail-parent-group:hover{background:#f8edf2;border-color:#ceafbd}
.detail-parent-group:focus-visible{outline:2px solid var(--sea);outline-offset:2px}
.detail-head>.detail-parent-group{grid-column:1/-1;justify-self:start}
.map-area[data-mode=vector] .building-feature.cluster-emphasis .footprint{
  fill:#8d284b24;stroke:#a15873;stroke-width:1.8;stroke-dasharray:none
}
.map-area[data-mode=vector] .building-feature.group-sibling:not(.cluster-emphasis):not(.selected) .footprint{fill:#8d284b13;stroke:#b98a9c;stroke-width:1.35}
@media(max-width:760px){
  .detail-head.has-parent-group>.detail-parent-group{grid-row:1}
  .detail-head.has-parent-group>.detail-code{grid-row:2/5}
  .detail-head.has-parent-group>#detail-title{grid-row:2;grid-column:2}
  .detail-head.has-parent-group>.detail-location{grid-row:3;grid-column:2}
  .detail-head.has-parent-group>.detail-type-line{grid-row:4;grid-column:2}
}
.building-feature.poi-feature.is-muted:not(.selected){opacity:.12;pointer-events:none}
.welcome-close{position:absolute;top:8px;right:8px;width:28px;height:28px;z-index:1;color:#8d9a9c;background:#ffffffd9}
.feedback-dialog{width:min(580px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid #e5ebec;border-radius:17px;padding:26px 30px 24px;color:var(--ink);box-shadow:0 25px 100px #1b3b3b33}
.feedback-dialog::backdrop{background:#15312f55;backdrop-filter:blur(3px)}
.feedback-dialog h2{font-family:"Songti SC","STSong",serif;font-size:27px;font-weight:600;margin:10px 0 8px}
.feedback-intro{font-size:12px;color:#718188;line-height:1.8;margin:0 0 18px}
.feedback-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.feedback-field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#5c7076;margin-bottom:12px}
.feedback-field>span{font-weight:600;color:#435a61}
.feedback-field input,.feedback-field select,.feedback-field textarea{width:100%;border:1px solid #dfe8e7;border-radius:8px;background:#f8fafa;padding:10px 11px;font-size:12px;color:var(--ink);outline:none}
.feedback-field input:focus,.feedback-field select:focus,.feedback-field textarea:focus{border-color:var(--wine);box-shadow:0 0 0 3px #8d284b12}
.feedback-field textarea{resize:vertical;min-height:88px;line-height:1.7}
.feedback-field small{font-size:9px;color:#8b999d;line-height:1.6}
.feedback-file input{padding:8px;background:#fff}
.feedback-device{background:#f4f8f6;border-left:2px solid #cbdcda;padding:9px 11px;margin:2px 0 12px;font-size:10px;color:#6d8183}
.feedback-device code{display:block;white-space:pre-wrap;font:9px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;margin-top:5px;color:#596c70;overflow-wrap:anywhere}
.feedback-preview{margin:0 0 12px;padding:8px;border:1px solid #e5ebec;border-radius:8px;background:#fafcfa}
.feedback-preview img{display:block;max-width:100%;max-height:220px;margin:auto;border-radius:5px}
.feedback-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}
.feedback-actions button{border-radius:8px;padding:10px 15px;font-size:12px}
.feedback-primary{background:var(--wine);color:#fff}
.feedback-primary:hover{background:#741d3c}
.feedback-secondary{border:1px solid #e2d5dc;color:var(--wine);background:#fff}
.feedback-privacy{display:block;font-size:9px;line-height:1.7;color:#8b999d;margin-top:12px}
@media(max-width:760px){
  :root{--sheet-peek:calc(132px + env(safe-area-inset-bottom,0px))}
  .sidebar{height:calc(132px + env(safe-area-inset-bottom,0px))}
  .map-area .welcome-card{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;left:13px;right:auto;bottom:calc(var(--sheet-peek) + 58px);max-width:calc(100% - 66px);min-height:44px;padding:8px 34px 8px 11px;border-radius:10px}
  .map-area .welcome-card .eyebrow,.map-area .welcome-card p{display:none}
  .map-area .welcome-card h2{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-size:12px;line-height:1.5;margin:0;font-weight:600;letter-spacing:.2px}
  .map-area .welcome-card .inline-action{font-size:10px;gap:4px;padding:2px 0;color:var(--wine)}
  .map-area .welcome-card .inline-action .icon{width:12px;height:12px}
  .welcome-close{top:5px;right:5px;width:25px;height:25px}
  .map-tools #fit-map,.map-tools #focus-map{display:none}
  .feedback-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:20px 18px 18px;border-radius:14px}
  .feedback-dialog h2{font-size:23px}
  .feedback-grid{grid-template-columns:1fr;gap:0}
  .feedback-actions button{flex:1}
  .feedback-preview img{max-height:170px}
}
.beta-route-note{border-left:2px solid #d8b875;background:#fdf9f0;color:#8d7445;padding:8px 10px;border-radius:0 7px 7px 0;font-size:10px;line-height:1.75;margin:10px 0 0}
@media(max-width:760px){.preview-label{display:flex;font-size:9px;letter-spacing:0;gap:5px;margin-right:4px}.preview-label i{width:5px;height:5px}.header-actions{gap:2px}}
@media(max-width:760px){.sidebar .filters{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}.sidebar .filter{flex:0 0 auto}}
@media(max-width:360px){.brand-divider,.brand-title{display:none}.preview-label{white-space:nowrap;font-size:8px;gap:4px}.site-header{padding:0 12px}}
