/* Library, future tools and original university map. */
.library-section + .library-section{margin-top:38px}.library-section>.section-heading{margin-bottom:20px}.library-section .section-heading p{margin:8px 0 0}.catalog-card h3{font-size:23px;line-height:1.25;margin:8px 0 14px;color:var(--ink,#243b4c)}.library-placeholder>.badge{margin-top:auto;align-self:flex-start}.catalog-services .catalog-category{margin-top:18px}.catalog-services h2{margin-top:8px}.catalog-board-view{margin-bottom:16px}.catalog-board-view .active{background:#254b63;color:white}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.map-main{min-width:0;background:#fff;border:1px solid #dce4e7;border-radius:20px;overflow:hidden}.map-toolbar{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;flex-wrap:wrap}.map-view-switch{display:flex;background:#edf1f3;padding:4px;border-radius:10px}.map-view-switch button{padding:9px 14px;border:0;background:none;color:#657887;border-radius:7px;font-weight:600}.map-view-switch button.active{background:#fff;color:#24465e;box-shadow:0 1px 5px #263d4c12}.map-floor-controls{display:flex;align-items:center;gap:8px;color:#71818c;font-size:13px}.map-floor-controls select{width:56px;padding:7px;border:1px solid #d7e0e5;border-radius:7px;background:#fff}.map-floor-controls button{width:34px;height:34px;border:1px solid #dce4e7;background:#fff;border-radius:7px;color:#496174}.map-floor-controls button.active{background:#254b63;color:#fff;border-color:#254b63}.map-canvas{margin:0 16px;border-radius:16px;overflow:hidden;background:#f0f3ef}.university-map-svg{display:block;width:100%;height:auto;max-height:510px;font-family:inherit}.map-building{cursor:pointer;outline:none}.map-building-shadow{fill:#213c4a16}.map-building-body{stroke:#b6b9a6;stroke-width:2;fill:#e2d8bd}.map-tone-blue .map-building-body{fill:#cbdde4;stroke:#afc5cf}.map-tone-green .map-building-body{fill:#cfddcd;stroke:#b4c6b4}.map-tone-violet .map-building-body{fill:#dad6e5;stroke:#c0b9d1}.map-building:hover .map-building-body,.map-building:focus .map-building-body,.map-building.is-selected .map-building-body{stroke:#254b63;stroke-width:4}.map-building-letter{font-size:27px;font-weight:750;fill:#294958}.map-building-name{font-size:16px;font-weight:600;fill:#334f5c}.map-building-action{font-size:12px;fill:#516b76}.map-tiny{font-size:12px;fill:#6a7d7f}.map-room{cursor:pointer;outline:none}.map-room rect{fill:#e0e9ee;stroke:#c0d1da;stroke-width:2}.map-room:hover rect,.map-room:focus rect,.map-room.is-selected rect{fill:#cbdce7;stroke:#254b63;stroke-width:3}.map-room-number{font-size:23px;fill:#294958;font-weight:700}.map-caption{margin:14px 20px;font-size:12px;color:#7b8b94}.map-building-links{padding:4px 18px 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.map-building-links button{display:flex;align-items:center;gap:10px;border:0;background:#f6f8f9;border-radius:8px;text-align:left;color:#536b7b;padding:9px 10px;font-size:12px}.map-building-links b{display:grid;place-items:center;flex-shrink:0;width:27px;height:27px;border-radius:7px;background:white;color:#294c62;font-size:14px}.map-detail.card{padding:25px;align-self:start}.map-detail h2{font-size:23px;line-height:1.35;margin:12px 0}.map-detail>p:not(.eyebrow){font-size:14px;line-height:1.75;color:#6f8290}.map-detail .eyebrow{font-size:10px;margin-top:20px}.map-place-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:14px}.map-place-icon .icon{width:26px;height:26px}.map-building-subtitle{font-weight:650;color:#344f60!important}.map-place-facts{margin:24px 0}.map-place-facts>div+div{margin-top:20px}.map-place-facts dt{display:flex;align-items:center;gap:8px;font-size:12px;color:#536f80;font-weight:650}.map-place-facts dt .icon{width:16px;height:16px}.map-place-facts dd{font-size:13px;line-height:1.7;color:#7b8a94;margin:7px 0 0}.map-search-card{margin-top:24px}.map-search-heading{display:flex;gap:24px;align-items:center;justify-content:space-between}.map-search-heading h2{font-size:20px;margin:0}.map-search-heading p{font-size:13px;margin:8px 0}.map-search-input{display:flex;align-items:center;gap:12px;width:min(430px,50%);padding:0 14px;border:1px solid #dce4e7;border-radius:11px;background:#fafcfc;color:#869ba9}.map-search-input input{min-width:0;flex:1;border:0;background:transparent;padding:14px 0;font:inherit;font-size:13px;outline:none}.map-search-input:focus-within{outline:2px solid #709bb6;outline-offset:2px}.map-search-summary{font-size:12px;color:#8b9aa4;padding:22px 0 12px}.map-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.map-result{display:flex;align-items:center;gap:14px;border:1px solid #e0e7ea;border-radius:11px;background:white;padding:13px;text-align:left;min-width:0}.map-result:hover,.map-result.is-selected{background:#f2f6f8;border-color:#90abbc}.map-result-code{color:#33556c;background:#edf3f7;border-radius:8px;font-size:12px;min-width:59px;padding:12px 7px;text-align:center;font-weight:700}.map-result>span:nth-child(2){flex:1;min-width:0}.map-result strong{display:block;color:#385365;font-size:13px;line-height:1.5}.map-result small{display:block;font-size:11px;color:#8a9ba6;margin-top:4px}.map-result>.icon{flex-shrink:0;width:15px;color:#91a3b0}.map-no-results{grid-column:1/-1;padding:22px;background:#f7f9fa;color:#7a8d98;border-radius:10px;font-size:14px}.map-navigator-preview{margin-top:24px;display:flex;align-items:center;gap:22px;background:#e9eff3;border:1px solid #dae3e9;border-radius:18px;padding:28px}.map-navigator-icon{display:grid;place-items:center;flex-shrink:0;width:58px;height:58px;border-radius:16px;background:#fff;color:#56758e}.map-navigator-icon .icon{width:27px;height:27px}.map-navigator-preview>div{max-width:630px}.map-navigator-preview h2{font-size:23px;margin:10px 0}.map-navigator-preview p{font-size:14px;line-height:1.7;color:#6e8595;margin:0}.map-route-preview{margin-left:auto;white-space:nowrap;font-weight:650;font-size:22px;color:#526e82}.map-route-preview span{color:#9bb0bd;font-size:18px;padding:0 10px}
@media(max-width:1250px){.map-layout{grid-template-columns:minmax(0,1fr) 270px}.map-detail.card{padding:20px}.map-route-preview{display:none}}@media(max-width:1000px){.map-layout{grid-template-columns:minmax(0,1fr)}.map-detail.card{display:grid;grid-template-columns:54px 1fr;gap:0 18px}.map-detail>.map-place-icon{grid-column:1;grid-row:1/4}.map-detail>.eyebrow,.map-detail>h2,.map-detail>.map-building-subtitle{grid-column:2}.map-detail>.eyebrow{margin-top:0}.map-detail>p:not(.eyebrow):not(.map-building-subtitle),.map-detail>dl,.map-detail>button{grid-column:1/-1}.map-detail>dl{display:grid;grid-template-columns:1fr 1fr;gap:20px}.map-place-facts>div+div{margin-top:0}.map-search-heading{display:block}.map-search-input{margin-top:16px;width:100%}.map-results{grid-template-columns:1fr}}@media(max-width:600px){.library-section+.library-section{margin-top:28px}.map-toolbar{padding:12px;min-height:66px}.map-view-switch button{font-size:12px;padding:9px 12px}.map-floor-controls{font-size:11px;gap:5px}.map-floor-controls button{width:30px;height:32px}.map-canvas{margin:0 8px;border-radius:10px}.map-caption{margin:12px;font-size:10px;line-height:1.6}.map-building-links{padding:0 10px 12px;gap:5px}.map-building-links button{font-size:10px;padding:6px;gap:6px}.map-building-links b{width:24px;height:24px}.map-detail.card{padding:20px;gap:0 12px}.map-detail h2{font-size:20px}.map-detail>dl{grid-template-columns:1fr;gap:18px;margin-top:14px}.map-result{padding:10px;gap:10px}.map-result strong{font-size:12px}.map-result-code{font-size:11px;min-width:53px}.map-search-card.card{padding:20px}.map-navigator-preview{padding:21px;gap:14px;align-items:flex-start}.map-navigator-icon{width:38px;height:38px;border-radius:11px}.map-navigator-icon .icon{width:22px;height:22px}.map-navigator-preview h2{font-size:21px}.map-navigator-preview p{font-size:12px}.map-navigator-preview .badge{font-size:10px}.map-building-name{font-size:17px}.map-building-action{font-size:13px}}

.campus-map-page>.map-search-card:first-child{margin-top:0;margin-bottom:24px}.map-results[hidden],.map-search-summary[hidden]{display:none}

/* Expanded campus directory: territory → building → floor → room. */
.map-view-heading{padding:0 20px 18px}.map-view-heading h2{font-size:21px;line-height:1.4;margin:0;color:#294958}.map-view-heading p{font-size:13px;line-height:1.6;color:#7b8b94;margin:7px 0 0}.map-view-heading h2,.map-detail h2{scroll-margin-top:110px;outline:none}.map-view-heading h2:focus-visible,.map-detail h2:focus-visible{outline:2px solid #6c95ae;outline-offset:5px}.university-map-svg{max-height:none}.map-floor-svg{max-height:540px}.map-floor-directory{padding:3px 18px 24px}.map-floor-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px}.map-floor-directory-heading h3{font-size:16px;margin:0}.map-floor-directory-heading>span{font-size:12px;color:#7b8b94}.map-floor-directory .map-results{grid-template-columns:1fr}.map-amenities{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.map-amenities>span{padding:5px 8px;background:#eef3f3;color:#607b83;font-size:11px;border-radius:6px}.map-consultation{padding:12px;border-left:3px solid #aac0cc;background:#f4f7f8;border-radius:0 8px 8px 0;font-size:12px!important}.map-floor-overview{border-top:1px solid #e3e9ec;padding-top:17px}.map-floor-overview h3{font-size:14px;margin:0 0 12px}.map-floor-overview button{width:100%;padding:11px 8px;display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#5d7587;border-radius:7px;text-align:left}.map-floor-overview button:hover,.map-floor-overview button.active{background:#eef3f6}.map-floor-overview strong{font-size:13px}.map-floor-overview span{font-size:11px;margin-left:auto}.map-floor-overview .icon{width:14px;height:14px}.map-building-links{border-top:1px solid #edf0f2;padding-top:18px}.map-building-links button{min-height:57px}.map-building-links button>span{flex:1;min-width:0}.map-building-links button small{display:block;color:#82929b;font-size:10px;line-height:1.5;margin-top:3px}.map-building-links button>.icon{width:14px;height:14px;flex-shrink:0}.map-building-links button.active{background:#eaf1f5;color:#244a62}.map-building-links button:focus-visible,.map-result:focus-visible,.map-floor-controls button:focus-visible{outline:2px solid #6c95ae;outline-offset:2px}.map-detail.card>.map-amenities,.map-detail.card>.map-floor-overview{grid-column:1/-1}.map-detail.card>.map-consultation{grid-column:1/-1}
@media(max-width:1000px){.map-floor-directory .map-results{grid-template-columns:repeat(2,minmax(0,1fr))}.map-detail.card{margin:0}.map-detail.card>.map-floor-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 18px}.map-floor-overview h3{grid-column:1/-1}.map-building-links{grid-template-columns:repeat(2,minmax(0,1fr))}.map-view-heading h2,.map-detail h2{scroll-margin-top:100px}}
@media(max-width:600px){.map-view-heading{padding:0 14px 15px}.map-view-heading h2{font-size:18px}.map-view-heading p{font-size:12px}.map-floor-controls{width:100%;flex-wrap:wrap}.map-floor-controls select{height:36px}.map-floor-controls button{min-width:33px;min-height:36px}.map-floor-directory{padding:0 12px 20px}.map-floor-directory-heading h3{font-size:15px}.map-floor-directory .map-results{grid-template-columns:1fr}.map-building-links{grid-template-columns:1fr;padding:14px 12px}.map-building-links button{font-size:12px;min-height:54px;padding:9px;gap:10px}.map-building-links b{width:30px;height:30px}.map-building-links button small{font-size:10px}.map-caption{font-size:10px}.map-floor-overview button{padding:11px 5px}.map-floor-overview span{font-size:10px}.map-detail.card>.map-floor-overview{grid-template-columns:1fr}.map-building-name{font-size:16px}.map-building-action{font-size:12px}.map-view-heading h2,.map-detail h2{scroll-margin-top:88px}}

/* Route planning uses the same fictional rooms and walkable corridors as the map. */
.map-route-planner{margin:0 0 24px;scroll-margin-top:100px}
.map-route-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.map-route-heading h2{display:flex;align-items:center;gap:10px;margin:0;font-size:20px}
.map-route-heading p{font-size:12px;line-height:1.7;color:var(--muted);margin:8px 0 0}
.map-route-fields{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) auto;gap:14px;align-items:end}
.map-route-fields .field{min-width:0;margin:0}
.map-route-fields label{font-size:11px;display:block;line-height:17px;margin:0 0 8px;color:var(--muted)}
.map-route-fields input[type="text"]{width:100%;height:48px;min-height:48px;text-overflow:ellipsis}
.map-route-field {position:relative}
.map-route-choices {position:absolute;z-index:6;inset:100% 0 auto;margin:5px 0 0;padding:4px;list-style:none;background:var(--surface);border:1px solid var(--border-subtle);border-radius:10px;box-shadow:0 8px 22px #0002}
.map-route-choices [role="option"] {display:flex;align-items:center;min-height:42px;padding:8px 10px;border-radius:6px;color:var(--text-main);font-size:13px;line-height:1.4;overflow-wrap:anywhere;cursor:pointer}
.map-route-choices [role="option"]:is(:hover,[aria-selected="true"]) {background:var(--surface-soft);color:var(--accent)}
.map-route-choices [aria-disabled="true"] {color:var(--text-muted);cursor:default}
.map-route-fields>.btn{height:48px}
.map-route-swap{margin:0 0 4px}
.map-route-swap svg{transform:rotate(180deg)}
.map-route-accessible{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;margin:18px 0 0;color:var(--muted);width:fit-content;cursor:pointer}
.map-route-accessible input{width:17px;height:17px;accent-color:#315c73}
.map-route-result:empty{display:none}
.map-route-result{margin-top:22px}
.map-route-summary{display:flex;align-items:center;gap:12px;padding:16px 18px;border-radius:12px;background:#eef4f5;color:#34586a;font-size:13px;line-height:1.6}
.map-route-summary strong{font-weight:550}
.map-route-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}
.map-route-step{display:flex;align-items:center;gap:12px;background:transparent;border:1px solid #dce5e8;border-radius:11px;padding:14px;text-align:left;width:100%;min-width:0}
.map-route-step:hover{background:#f2f7f8;border-color:#8eabb9}
.map-route-step>span{width:27px;height:27px;display:grid;place-items:center;background:#e9f0f3;border-radius:50%;color:#40697d;font-size:12px;flex:none}
.map-route-step>div{min-width:0;flex:1}
.map-route-step strong{font-size:12px;font-weight:600;display:block;color:#35586a;line-height:1.6}
.map-route-step small{font-size:11px;color:#738795;line-height:1.7;display:block;margin-top:3px}
.map-route-step>.icon{width:14px;height:14px;color:#8195a2}
.map-route-help{font-size:11px;color:var(--muted);margin:13px 0 0}
.map-route-halo{stroke:#fff;stroke-width:10;stroke-linejoin:round;stroke-linecap:round;fill:none;vector-effect:non-scaling-stroke}
.map-route-line{stroke:#a95639;stroke-width:5;stroke-linejoin:round;stroke-linecap:round;fill:none;vector-effect:non-scaling-stroke}
.map-route-endpoint{fill:#a95639;stroke:#fff;stroke-width:3;vector-effect:non-scaling-stroke}
.map-room-route-actions{display:flex;flex-direction:column;gap:9px;margin:20px 0;grid-column:1/-1}
@media(max-width:1200px){.map-route-fields{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)}.map-route-fields>.btn{grid-column:1/-1;justify-self:start;min-width:190px}}
@media(max-width:600px){.map-route-planner{padding:20px;scroll-margin-top:90px}.map-route-heading{flex-direction:column;gap:12px}.map-route-heading h2{font-size:18px}.map-route-fields{grid-template-columns:minmax(0,1fr) 38px;gap:12px}.map-route-fields>.field:first-child{grid-column:1;grid-row:1}.map-route-swap{grid-column:2;grid-row:1/3;align-self:center;width:36px;height:36px;margin-top:24px}.map-route-swap svg{transform:rotate(90deg)}.map-route-fields>.field:nth-of-type(2){grid-column:1;grid-row:2}.map-route-fields>.btn{width:100%;grid-column:1/-1}.map-route-fields select{font-size:12px;padding:10px}.map-route-accessible{font-size:11px;align-items:flex-start}.map-route-accessible input{flex:none;margin-top:2px}.map-route-steps{grid-template-columns:1fr}.map-route-summary{align-items:flex-start;flex-direction:column;font-size:12px;padding:15px}.map-route-summary>.icon{transform:rotate(90deg)}.map-route-step{padding:12px}.map-route-step strong{font-size:12px}.map-route-step small{font-size:11px}.map-route-line{stroke-width:3}.map-route-halo{stroke-width:6}}

/* Compact catalog cards and facts; all surfaces follow the shared theme tokens. */
.library-card,.catalog-services>.catalog-card{padding:22px}
.library-card .catalog-card-top,.catalog-services .catalog-card-top{margin-bottom:16px}
.library-card .catalog-emblem,.catalog-services .catalog-emblem{width:42px;height:42px;border-radius:12px;font-size:21px}
.library-card h3{font-size:20px;margin:0 0 18px;line-height:1.4}
.library-card .catalog-resource-note{margin:0 0 18px;color:var(--text-muted);line-height:1.6}
.catalog-services h2{font-size:21px;margin:0;line-height:1.4}
.catalog-services .catalog-card>p{margin:10px 0 0;line-height:1.6;color:var(--text-muted)}
.catalog-services .catalog-card>.text-link{margin-top:18px}
.library-card:hover,.catalog-services>.catalog-card:hover{transform:none}
.food-menu-item{flex:1;min-width:0}
.food-menu-item-title{display:flex;gap:18px;justify-content:space-between;align-items:baseline}
.food-menu-item-title>strong{color:var(--text-main)}
.food-menu-item>p{color:var(--text-muted)}
.food-nutrition{margin-top:8px}
.food-nutrition>summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;width:fit-content;max-width:100%;min-height:36px;color:var(--accent);font-size:12px;font-weight:600;border-radius:5px}
.food-nutrition>summary::-webkit-details-marker{display:none}
.food-nutrition>summary>span{font-size:11px;color:var(--text-muted);font-weight:400}
.food-nutrition>summary>.icon{width:14px;height:14px;transform:rotate(90deg);flex-shrink:0}
.food-nutrition[open]>summary>.icon{transform:rotate(-90deg)}
.food-nutrition>summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.food-nutrition>dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:6px 0 3px;padding:12px;border-radius:10px;background:var(--surface-soft);border:1px solid var(--border-subtle)}
.food-nutrition dt{font-size:11px;color:var(--text-muted);line-height:1.5}
.food-nutrition dd{font-size:18px;font-weight:600;color:var(--text-main);margin:4px 0 0}
.map-equipment-list{margin:0;padding-left:17px;display:grid;gap:5px}
.map-navigator-preview h2{margin:8px 0 4px}
@media(max-width:600px){.library-card,.catalog-services>.catalog-card{padding:20px}.library-card h3,.catalog-services h2{font-size:19px}.food-menu-row{padding:14px 0}.food-menu-item-title{gap:12px}.food-nutrition>dl{gap:5px;padding:10px}.food-nutrition dt{font-size:10px}.food-nutrition dd{font-size:17px}.food-nutrition>summary{min-height:40px}}
html:not([data-theme="dark"]) :is(.library-card .catalog-category,.library-card .catalog-resource-note,.catalog-services .catalog-card>p,.library-card .status-gray,.catalog-services .status-gray){color:#536775}
html:not([data-theme="dark"]) .campus-map-page :is(.muted,.map-route-planner label,.map-view-caption,.map-caption,.map-building-links small,.map-detail .eyebrow,.map-detail>p:not(.map-building-subtitle),.map-place-facts dd,.map-amenities>span,.map-navigator-preview p,.map-navigator-preview .status-gray,.map-search-summary,.map-result small,.map-floor-controls,.map-floor-directory-heading>span,.map-route-step small,.map-route-help){color:#536775}
html:not([data-theme="dark"]) #map-view-caption,html:not([data-theme="dark"]) .map-view-switch button:not(.active){color:#536775}
html:not([data-theme="dark"]) :is(.menu-location p,.menu-caption,.food-menu-item>p,.food-nutrition dt,.food-nutrition>summary>span){color:#536775}
html:not([data-theme="dark"]) .food-menu-section h3{color:#765639}
.catalog-announcement-body{white-space:pre-line}
.food-nutrition>dl>div{display:flex;flex-direction:column}
.food-nutrition dd{margin-top:auto;padding-top:4px}

/* Layout after the content cleanup: compact facts, aligned actions, no reserved prose rows. */
.library-section+.library-section{margin-top:28px}
.library-section>.section-heading{margin-bottom:16px}
.library-section .catalog-grid{gap:16px;margin-bottom:0}
.library-section .library-card{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;column-gap:16px;row-gap:8px;padding:20px;align-items:start}
.library-card .catalog-card-top{display:contents}
.library-card .catalog-emblem{grid-column:1;grid-row:1/5;margin:0}
.library-card .catalog-category{grid-column:2;grid-row:1;line-height:1.5;margin:0}
.library-card h3{grid-column:2;grid-row:2;margin:0;font-size:18px;line-height:1.4}
.library-card .catalog-resource-note{grid-column:2;grid-row:3;margin:0;font-size:12px}
.library-card>.badge,.library-card>.catalog-actions{grid-column:2;grid-row:4;justify-self:start;align-self:end;margin:4px 0 0}
.library-card .catalog-actions .btn{min-height:40px;padding:9px 13px;font-size:12px}
.library-placeholder{min-height:132px}
.catalog-services{gap:16px}
.catalog-services>.catalog-card{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;column-gap:14px;row-gap:8px;padding:20px;align-items:start}
.catalog-services .catalog-card-top{display:contents}
.catalog-services .catalog-emblem{grid-column:1;grid-row:1/5;margin:0}
.catalog-services .catalog-card-top>.badge{grid-column:2;grid-row:1;justify-self:start;margin:0}
.catalog-services h2{grid-column:2;grid-row:2;margin:0;font-size:18px;line-height:1.4}
.catalog-services .catalog-card>p{grid-column:2;grid-row:3;margin:0;font-size:12px;line-height:1.65}
.catalog-services .catalog-card>.text-link{grid-column:2;grid-row:4;margin:4px 0 0;align-self:end;line-height:1.6}
.place-grid{gap:16px}
.place-grid>.place-card{padding:22px;margin:0;gap:0}
.place-card .place-card-top{margin:0 0 16px;align-items:center}
.place-card>h2{font-size:18px;line-height:1.4;margin:0 0 10px}
.place-card>p:not(.place-status){margin:0 0 16px;line-height:1.65}
.place-card .place-details{margin-top:auto;margin-bottom:16px;display:grid;gap:8px;align-content:start}
.place-card .place-details>span{display:flex;gap:8px;align-items:flex-start;line-height:1.6}
.place-card .place-details .icon{width:15px;height:15px;flex:none;margin-top:2px}
.place-card>.text-link{margin:0;min-height:36px;align-self:flex-start;line-height:1.6}
@supports(grid-template-rows:subgrid){
  .place-grid>.place-card{display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:12px;align-items:start}
  .place-card .place-card-top{grid-row:1;margin:0}
  .place-card>h2{grid-row:2;margin:0}
  .place-card>p:not(.place-status){grid-row:3;margin:0}
  .place-card .place-details{grid-row:4;margin:0}
  .place-card>.text-link{grid-row:5;justify-self:start;align-self:end}
}
.map-layout{gap:18px;align-items:start}
.map-detail.card{padding:20px;margin:0}
.map-place-icon{width:44px;height:44px;border-radius:12px}
.map-place-icon .icon{width:23px;height:23px}
.map-detail h2{font-size:21px;margin:8px 0;line-height:1.4}
.map-detail .eyebrow{margin:14px 0 6px}
.map-detail>p:not(.eyebrow){margin:8px 0;font-size:13px;line-height:1.65}
.map-place-facts{margin:18px 0}
.map-place-facts>div+div{margin-top:14px}
.map-place-facts dd{margin-top:4px;line-height:1.6}
.map-room-route-actions{gap:8px;margin:16px 0}
.map-amenities{margin-top:12px}
.map-floor-overview{padding-top:14px}
.map-floor-overview h3{margin-bottom:8px}
.map-floor-overview button{padding:9px 6px;min-height:38px}
.map-search-card.card,.map-route-planner.card{padding:20px}
.campus-map-page>.map-search-card:first-child{margin-bottom:18px}
.map-search-heading{gap:18px}
.map-search-heading p{margin:4px 0 0}
.map-route-planner{margin-bottom:18px}
.map-route-heading{margin-bottom:16px}
.map-route-accessible{margin-top:14px}
.map-route-result{margin-top:18px}
.map-navigator-preview{margin-top:18px;padding:20px;gap:16px}
.map-navigator-icon{width:44px;height:44px;border-radius:12px}
.map-navigator-icon .icon{width:23px;height:23px}
.map-navigator-preview h2{font-size:20px;line-height:1.4;margin:5px 0 3px}
.map-navigator-preview p{font-size:12px}
.menu-location{gap:14px;margin-bottom:16px}
.menu-location .catalog-emblem{width:42px;height:42px;flex:none}
.menu-location p{margin-top:4px}
.menu-caption{margin:0;padding-bottom:12px}
.food-menu-section{margin:20px 0 0}
.food-menu-section:last-child{margin-bottom:0}
.food-menu-section h3{margin:0 0 5px}
.food-menu-row{padding:12px 0}
.food-menu-row:last-child{border-bottom:0;padding-bottom:0}
.food-nutrition{margin-top:3px}
.food-nutrition>dl{margin-top:4px}
@media(min-width:1280px){.library-section:last-child .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){
  .map-detail.card{grid-template-columns:44px minmax(0,1fr);gap:0 14px}
  .map-detail>.eyebrow{margin-top:0}
  .map-detail>dl{gap:14px 20px}
  .map-place-facts>div+div{margin-top:0}
}
@media(max-width:600px){
  .library-section+.library-section{margin-top:24px}
  .library-section>.section-heading{margin-bottom:12px}
  .library-section .catalog-grid,.catalog-services,.place-grid{gap:12px}
  .library-section .library-card,.catalog-services>.catalog-card{padding:18px;grid-template-columns:36px minmax(0,1fr);column-gap:12px;row-gap:7px}
  .library-card .catalog-emblem,.catalog-services .catalog-emblem{width:36px;height:36px;font-size:18px;border-radius:10px}
  .library-card .catalog-emblem .icon,.catalog-services .catalog-emblem .icon{width:20px;height:20px}
  .library-card h3,.catalog-services h2{font-size:17px}
  .library-placeholder{min-height:0}
  .library-card .catalog-actions .btn{font-size:11px;padding:9px 11px}
  .catalog-services .catalog-card>p{font-size:12px}
  .place-grid>.place-card{display:flex;padding:18px;gap:0}
  .place-card .place-card-top{margin-bottom:14px}
  .place-card>h2{font-size:17px;margin-bottom:9px}
  .place-card>p:not(.place-status){margin-bottom:14px}
  .place-card .place-details{margin-bottom:10px}
  .place-card>.text-link{min-height:38px}
  .map-detail.card,.map-search-card.card,.map-route-planner.card{padding:18px}
  .map-detail h2{font-size:19px;margin:5px 0}
  .map-detail>dl{margin:14px 0;gap:14px}
  .map-room-route-actions{margin:14px 0 4px}
  .map-route-heading{margin-bottom:14px}
  .map-search-input{margin-top:12px}
  .map-navigator-preview{padding:18px;gap:12px}
  .map-navigator-icon{width:36px;height:36px;border-radius:10px}
  .map-navigator-preview h2{font-size:18px}
  .map-route-result{margin-top:16px}
}
.library-card .catalog-category{justify-self:start;text-align:left}

/* Quiet route preview: one pass, clear pauses, and a stable map viewport. */
.campus-map-page .map-square-ground{fill:#dae5d3;stroke:#b6c8b1;stroke-width:2}
.campus-map-page .map-square-fountain{fill:#bed7df;stroke:#83a9b7}
.campus-map-page .map-square-label{fill:#405746;font-weight:600}
html[data-theme="dark"] .campus-map-page .map-square-ground{fill:#294438;stroke:#648270}
html[data-theme="dark"] .campus-map-page .map-square-fountain{fill:#355f6e;stroke:#8cbdca}
html[data-theme="dark"] .campus-map-page .map-square-label{fill:#deeddb}
.map-route-tour[hidden]{display:none}
.map-route-tour{margin:0 16px 16px;padding:16px;border:1px solid var(--border-subtle);border-radius:14px;background:var(--surface-soft);scroll-margin-top:90px;min-width:0}
.map-route-tour-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.map-route-tour-heading>div{min-width:0}
.map-route-position-label{display:inline-flex;margin-right:9px;font-size:11px;color:var(--text-muted);font-variant-numeric:tabular-nums}
.map-route-tour-heading strong{font-size:14px;line-height:1.6;color:var(--text-main)}
.map-route-tour-heading p{margin:7px 0 0;font-size:12px;line-height:1.6;color:var(--text-muted);min-height:2.6em}
.map-route-playback-status{font-size:10px;line-height:1.5;color:var(--text-muted);text-align:right;max-width:120px;flex:none}
.map-route-playback{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.map-route-playback .btn{min-height:40px;padding:9px 13px;font-size:12px;display:inline-flex;align-items:center;gap:8px}
.map-route-playback .icon-button{width:40px;height:40px;flex:none}
.map-route-playback .icon-button:disabled{opacity:.5;cursor:default}
.map-route-progress{height:3px;overflow:hidden;border-radius:2px;background:var(--border-subtle)}
.map-route-progress>span{display:block;width:100%;height:100%;background:var(--accent);transform-origin:left center}
.map-route-tour .map-route-steps{display:flex;overflow-x:auto;gap:6px;padding:4px 1px 7px;margin:10px 0 0;scrollbar-width:thin;scroll-snap-type:x proximity}
.map-route-tour .map-route-step{flex:0 0 auto;width:auto;max-width:230px;gap:7px;padding:8px 10px;min-height:40px;scroll-snap-align:center;background:var(--surface);border-color:var(--border-subtle);transition:background-color .18s,border-color .18s}
.map-route-tour .map-route-step>span{width:22px;height:22px;font-size:10px;background:var(--surface-soft);color:var(--text-main)}
.map-route-tour .map-route-step>strong{font-size:11px;line-height:1.5;color:var(--text-muted);white-space:normal}
.campus-map-page .map-route-tour .map-route-step.is-current{background:var(--surface-raised);border-color:var(--accent)}
.campus-map-page .map-route-tour .map-route-step.is-current>strong{color:var(--text-main)}
.campus-map-page .map-route-tour .map-route-step.is-current>span{background:var(--accent);color:var(--surface)}
.map-canvas.has-route{height:clamp(300px,55vh,540px)}
.map-canvas.has-route .university-map-svg{width:100%;height:100%;max-height:none}
.map-route-overlay .map-route-line{opacity:.36}
.map-route-trace{stroke:#a95639;stroke-width:5;stroke-linejoin:round;stroke-linecap:round;fill:none;stroke-dasharray:100;vector-effect:non-scaling-stroke}
.map-route-position{fill:#fff;stroke:#a95639;stroke-width:3;vector-effect:non-scaling-stroke}
html[data-theme="dark"] .map-route-trace{stroke:#efb383}
html[data-theme="dark"] .map-route-position{fill:#142330;stroke:#efb383}
@media(max-width:600px){.map-route-tour{margin:0 8px 12px;padding:12px;scroll-margin-top:82px}.map-route-tour-heading{gap:7px;flex-direction:column}.map-route-playback-status{max-width:none;text-align:left}.map-route-tour-heading p{min-height:0}.map-route-playback{gap:5px}.map-route-playback .btn{flex:1;min-width:0;justify-content:center;padding:9px 7px;font-size:11px}.map-route-playback .icon-button{width:34px;height:40px}.map-route-playback .icon{width:16px;height:16px}.map-route-tour .map-route-step{max-width:180px}.map-route-trace{stroke-width:3}.map-canvas.has-route{height:360px;max-height:52vh;min-height:280px}}
@media(prefers-reduced-motion:reduce){.map-route-tour *, .map-canvas *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.map-building-facade {fill:none;stroke:var(--text-main);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.36}
.map-annex {cursor:pointer}
.map-annex rect {fill:#ead9c4;stroke:#987555;stroke-width:2}
.map-annex text {fill:#593a24;font-size:11px;font-weight:650;pointer-events:none}
.map-annex:is(:hover,:focus-visible,.is-selected) rect {stroke:var(--accent);stroke-width:3}
.map-floor-lift rect {fill:#dce8ed;stroke:#6f8d9c;stroke-width:2}
.map-floor-stairs rect {fill:#e7e3dc;stroke:#9a8c78;stroke-width:2}
.map-floor-lift path,.map-floor-stairs path {stroke:#35556a;stroke-width:2;fill:none;stroke-linejoin:round}
html[data-theme="dark"] .map-annex rect {fill:#4c3b2b;stroke:#c5a784}
html[data-theme="dark"] .map-annex text {fill:#f0d0ad}
html[data-theme="dark"] .map-floor-lift rect {fill:#2b4655;stroke:#8cabbc}
html[data-theme="dark"] .map-floor-stairs rect {fill:#3e3a34;stroke:#af9a82}
html[data-theme="dark"] :is(.map-floor-lift,.map-floor-stairs) path {stroke:#d4e4ee}

/* Architectural footprints, planted lawns and readable room names. */
.campus-map-page .map-covered-walk{fill:#d9dfde;stroke:#a6b7bc;stroke-width:2}
.campus-map-page .map-building-name{font-size:15px}
.campus-map-page .map-building-letter{font-size:23px}
.campus-map-page .map-building-roof{fill:none;stroke:#6a7e87;stroke-width:4;stroke-linecap:round;opacity:.45;pointer-events:none}
.campus-map-page .map-entry-dot{fill:#456c81}
.campus-map-page .map-room-label{fill:#3f596a;font-size:13px;font-weight:500;pointer-events:none}
.campus-map-page .map-room-number{font-size:21px}
.campus-map-page .map-trees{pointer-events:none}
.campus-map-page .map-tree-shadow{fill:#284d3d1c}
.campus-map-page .map-tree-trunk{fill:none;stroke:#768a71;stroke-width:4;stroke-linecap:round}
.campus-map-page .map-tree-crown{fill:#b4cbaa;stroke:#8da888;stroke-width:1.5}
.campus-map-page .map-tree-veins{fill:none;stroke:#7f9b77;stroke-width:1.5;stroke-linecap:round}
.campus-map-page .map-football{cursor:pointer;outline:none}
.campus-map-page .map-field-track{fill:#d4d9ca;stroke:#b1bcaa;stroke-width:2}
.campus-map-page .map-field-grass{fill:#547b62;stroke:#355e45;stroke-width:2}
.campus-map-page .map-field-marking{fill:none;stroke:#e3efdc;stroke-width:1.5}
.campus-map-page .map-field-center{fill:#e3efdc}
.campus-map-page .map-field-goals{fill:none;stroke:#496c6d;stroke-width:2}
.campus-map-page .map-field-label{fill:#fff;font-size:13px;font-weight:600}
.campus-map-page .map-football:is(:hover,:focus,.is-selected) .map-field-track{stroke:#315c73;stroke-width:4}
.campus-map-page .map-annex :is(rect,path){fill:#ead9c4;stroke:#987555;stroke-width:2}
.campus-map-page .map-annex:is(:hover,:focus-visible,.is-selected) :is(rect,path){stroke:var(--accent);stroke-width:3}
.campus-map-page .map-canvas:has(.map-floor-svg):not(.has-route){max-height:620px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border-subtle) var(--surface-soft)}
.campus-map-page .map-canvas:not(.has-route) .map-floor-svg{min-width:600px;max-height:none}
.campus-map-page .map-floor-directory{padding-top:16px}
.campus-map-page .map-building-links{margin-top:16px}
html[data-theme="dark"] .campus-map-page .map-room-label{fill:#ccdee6}
html[data-theme="dark"] .campus-map-page .map-covered-walk{fill:#526671;stroke:#879ba1}
html[data-theme="dark"] .campus-map-page .map-building-roof{stroke:#b2c6ce}
html[data-theme="dark"] .campus-map-page .map-tree-crown{fill:#385b49;stroke:#6a9073}
html[data-theme="dark"] .campus-map-page .map-tree-trunk{stroke:#9baf97}
html[data-theme="dark"] .campus-map-page .map-tree-veins{stroke:#82a88b}
html[data-theme="dark"] .campus-map-page .map-field-track{fill:#304c40;stroke:#597563}
html[data-theme="dark"] .campus-map-page .map-field-grass{fill:#274a38;stroke:#7f9e7a}
html[data-theme="dark"] .campus-map-page .map-field-goals{stroke:#b5c9c8}
html[data-theme="dark"] .campus-map-page .map-annex :is(rect,path){fill:#4c3b2b;stroke:#c5a784}
html[data-theme="dark"] .campus-map-page .map-football:is(:hover,:focus,.is-selected) .map-field-track{stroke:#a6cede}
/* A moving highlight follows the revealed blue route and stops with playback. */
.campus-map-page .map-route-line,.campus-map-page .map-route-trace{stroke:#356d8c}
.campus-map-page .map-route-halo{stroke:#fbfdfd;stroke-width:11}
.campus-map-page .map-route-endpoint{fill:#356d8c;stroke:#fbfdfd;stroke-width:3}
.campus-map-page .map-route-position{fill:#e2fbff;stroke:#356d8c;stroke-width:3}
.campus-map-page .map-route-reveal{stroke:#fff;stroke-width:12;stroke-dasharray:100;stroke-linejoin:round;stroke-linecap:round;fill:none;vector-effect:non-scaling-stroke}
.campus-map-page .map-route-shimmer{stroke:#b2edf4;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;fill:none;stroke-dasharray:5 95;opacity:0;vector-effect:non-scaling-stroke}
.campus-map-page .map-route-overlay.is-playing .map-route-shimmer{opacity:1;animation:map-route-flow 1.8s linear infinite}
@keyframes map-route-flow{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
html[data-theme="dark"] .campus-map-page .map-route-line,html[data-theme="dark"] .campus-map-page .map-route-trace{stroke:#83c2d8}
html[data-theme="dark"] .campus-map-page .map-route-halo{stroke:#132b37}
html[data-theme="dark"] .campus-map-page .map-route-endpoint{fill:#83c2d8;stroke:#132b37}
html[data-theme="dark"] .campus-map-page .map-route-position{fill:#e1faff;stroke:#407f99}
html[data-theme="dark"] .campus-map-page .map-route-shimmer{stroke:#efffff}
@media(max-width:600px){.campus-map-page .map-canvas:has(.map-floor-svg):not(.has-route){max-height:500px}.campus-map-page .map-route-halo{stroke-width:8}.campus-map-page .map-route-shimmer{stroke-width:2}}
@media(prefers-reduced-motion:reduce){.campus-map-page .map-route-shimmer{animation:none!important;opacity:0!important}}
.campus-map-page .map-running-lane{fill:none;stroke:#9eae98;stroke-width:1}
.campus-map-page .map-stadium-label{font-weight:600;fill:#4a6050}
html[data-theme="dark"] .campus-map-page .map-running-lane{stroke:#819a85}
html[data-theme="dark"] .campus-map-page .map-stadium-label{fill:#cbded0}

/* One quiet map workspace: compact controls, fitted plans, details on demand. */
.campus-map-page .map-workbench{padding:16px 18px;margin:0 0 16px}
.campus-map-page .map-workbench>.map-search-input{width:100%;margin:0;background:var(--surface-soft)}
.campus-map-page .map-workbench>.map-search-input input{padding:11px 0}
.campus-map-page .map-workbench .map-route-planner{margin:14px 0 0;padding:0;scroll-margin-top:90px}
.campus-map-page .map-route-heading{margin:0 0 10px;align-items:center}
.campus-map-page .map-route-heading:not(:has(button)){display:none}
.campus-map-page .map-route-heading>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--text-muted)}
.campus-map-page .map-route-heading>span .icon{width:15px;height:15px}
.campus-map-page .map-route-heading>.text-link{font-size:11px;min-height:24px}
.campus-map-page .map-route-fields{gap:10px}
.campus-map-page .map-route-fields input[type="text"],.campus-map-page .map-route-fields>.btn{height:42px;min-height:42px}
.campus-map-page .map-route-fields label{margin-bottom:4px}
.campus-map-page .map-route-accessible{margin-top:10px;font-size:11px}
.campus-map-page .map-route-result:has(:empty){display:none}
.campus-map-page .map-route-result:empty{display:none}
.campus-map-page .map-search-summary{padding:14px 0 9px}
.campus-map-page .map-route-choices{max-height:420px;overflow-y:auto;overscroll-behavior:contain}
.campus-map-page .map-choice-hint{padding:10px;color:var(--text-muted);font-size:11px;line-height:1.5;border-top:1px solid var(--border-subtle)}
.campus-map-page .map-main{padding-bottom:4px}
.campus-map-page .map-toolbar{padding:12px 16px;min-height:62px}
.campus-map-page .map-view-heading{padding:0 16px 12px}
.campus-map-page .map-view-heading h2{font-size:18px}
.campus-map-page .map-view-heading p{font-size:11px;margin-top:4px}
.campus-map-page .map-canvas,.campus-map-page .map-canvas:has(.map-floor-svg):not(.has-route){height:clamp(260px,44vh,480px);max-height:none;overflow:hidden;overscroll-behavior:auto}
.campus-map-page .map-canvas .university-map-svg,.campus-map-page .map-canvas:not(.has-route) .map-floor-svg{width:100%;height:100%;min-width:0;max-height:none}
.campus-map-page .map-floor-svg .map-room-number{font-size:18px}
.campus-map-page .map-floor-svg .map-room-label{font-size:12px}
.campus-map-page .map-floor-svg.is-dense .map-room-number{font-size:17px}
.campus-map-page .map-floor-svg.is-dense .map-room-label{font-size:10px}
.campus-map-page .map-directory-disclosure{padding:0;margin:0 16px;border-top:1px solid var(--border-subtle)}
.campus-map-page .map-directory-disclosure>summary,.campus-map-page .map-place-more>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;min-height:46px;font-size:12px;color:var(--text-main);border-radius:6px}
.campus-map-page .map-directory-disclosure>summary::-webkit-details-marker,.campus-map-page .map-place-more>summary::-webkit-details-marker{display:none}
.campus-map-page .map-directory-disclosure>summary>small{font-size:11px;margin-left:auto;color:var(--text-muted)}
.campus-map-page .map-directory-disclosure>summary>.icon,.campus-map-page .map-place-more>summary>.icon{width:14px;height:14px;margin-left:auto;transition:transform .18s ease}
.campus-map-page .map-directory-disclosure[open]>summary>.icon,.campus-map-page .map-place-more[open]>summary>.icon{transform:rotate(90deg)}
.campus-map-page .map-directory-disclosure>summary:focus-visible,.campus-map-page .map-place-more>summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.campus-map-page .map-floor-directory{margin-top:12px}
.campus-map-page .map-floor-directory .map-results{padding-bottom:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
.campus-map-page .map-building-links{padding:0 0 12px;margin:0;border:0}
.campus-map-page .map-detail.card{display:block;padding:18px}
.campus-map-page .map-detail h2{font-size:19px}
.campus-map-page .map-detail .eyebrow{margin:12px 0 5px}
.campus-map-page .map-place-facts{margin:14px 0}
.campus-map-page .map-place-facts>div+div{margin-top:12px}
.campus-map-page .map-place-more{border-top:1px solid var(--border-subtle)}
.campus-map-page .map-place-more .map-place-facts{margin-top:0}
.campus-map-page .map-place-more>summary{font-size:12px;min-height:40px;color:var(--accent)}
.campus-map-page .map-report-problem{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;margin-top:4px}
.campus-map-page .map-report-problem .icon{width:14px;height:14px}
/* No percentage dash reveal: the actual painted polyline ends at the marker. */
.campus-map-page .map-route-trace{stroke-dasharray:none;stroke-dashoffset:0;transition:none}
.campus-map-page .map-route-position{transition:none;animation:none}
.campus-map-page .map-route-shimmer{stroke-dasharray:18 42;transition:none}
@keyframes map-route-flow{from{stroke-dashoffset:60}to{stroke-dashoffset:0}}
@media(min-width:1001px){.campus-map-page .map-layout{grid-template-columns:minmax(0,1fr) 276px}}
@media(max-width:1200px) and (min-width:601px){.campus-map-page .map-route-fields{grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr) auto}.campus-map-page .map-route-fields>.btn{grid-column:auto;min-width:0;font-size:11px;padding:10px}}
@media(max-width:600px){
  .campus-map-page .map-workbench{padding:12px;margin-bottom:12px}
  .campus-map-page .map-route-heading{flex-direction:row;gap:8px}
  .campus-map-page .map-route-fields{gap:8px;grid-template-columns:minmax(0,1fr) 34px}
  .campus-map-page .map-route-fields>.btn{min-width:0;justify-self:stretch;grid-column:1/-1}
  .campus-map-page .map-route-swap{width:32px;height:32px;margin-top:17px}
  .campus-map-page .map-route-fields input[type="text"]{font-size:12px}
  .campus-map-page .map-toolbar{padding:10px}
  .campus-map-page .map-view-heading{padding:0 12px 10px}
  .campus-map-page .map-view-heading h2{font-size:16px}
  .campus-map-page .map-canvas,.campus-map-page .map-canvas:has(.map-floor-svg):not(.has-route){height:auto;aspect-ratio:1.3;min-height:0;max-height:none}
  .campus-map-page .map-canvas:has(.map-floor-svg){aspect-ratio:1.05}
  .campus-map-page .map-canvas.has-route{height:300px;aspect-ratio:auto}
  .campus-map-page .map-floor-svg.is-dense .map-room-number{font-size:22px;transform:translateY(7px)}
  .campus-map-page .map-floor-svg.is-dense .map-room-label{display:none}
  .campus-map-page .map-directory-disclosure{margin-inline:12px}
  .campus-map-page .map-floor-directory .map-results{grid-template-columns:1fr}
  .campus-map-page .map-detail.card{padding:16px}
  .campus-map-page .map-route-choices{max-height:330px}
}

html .campus-map-page .map-floor-controls select:not([multiple]):not([size]){width:60px;min-width:60px;min-height:36px;height:36px;padding:6px 25px 6px 9px;background-position:right 5px center;background-size:16px;font-size:12px;line-height:22px;border-radius:9px}

/* The campus remains the dominant view; only indoor plans use the compact scale. */
.campus-map-page .map-layout.is-campus{grid-template-columns:minmax(0,1fr)}
.campus-map-page .map-layout.is-campus .map-canvas{height:clamp(500px,68vh,780px);max-height:none;aspect-ratio:auto}
.campus-map-page .map-detail[hidden]{display:none}
.campus-map-page .map-layout.is-campus .map-detail:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center}
.campus-map-page .map-layout.is-campus .map-detail>.eyebrow,.campus-map-page .map-layout.is-campus .map-detail>h2,.campus-map-page .map-layout.is-campus .map-detail>p{grid-column:1;margin:3px 0}
.campus-map-page .map-layout.is-campus .map-detail>.map-room-route-actions{grid-column:2;grid-row:1/4;margin:0;min-width:180px}
@media(max-width:600px){
  .campus-map-page .map-layout.is-campus .map-canvas{height:auto;aspect-ratio:1210/740;min-height:0}
  .campus-map-page .map-layout.is-campus .map-detail:not([hidden]){display:block}
  .campus-map-page .map-layout.is-campus .map-detail>.map-room-route-actions{margin:14px 0 0}
}

/* A small campus overview uses clear building codes instead of scaled-down prose. */
.campus-map-page .map-building-mobile-letter,.campus-map-page .map-mobile-place-marker{display:none}
@media(max-width:600px){
  .campus-map-page .map-campus-svg :is(.map-building-desktop-letter,.map-building-name,.map-building-roof,.map-tiny),.campus-map-page .map-campus-svg .map-annex>text{display:none}
  .campus-map-page .map-building-mobile-letter{display:block;font-size:48px;font-weight:750}
  .campus-map-page .map-building-mobile-o{font-size:46px}
  .campus-map-page .map-mobile-place-marker{display:block;pointer-events:none}
  .campus-map-page .map-mobile-place-marker circle{fill:var(--surface);stroke:var(--accent);stroke-width:4px}
  .campus-map-page .map-annex .map-mobile-place-marker path{fill:none;stroke:var(--accent);stroke-width:1.3px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
  .campus-map-page .map-zone-point circle{r:28px}
  .campus-map-page .map-zone-point text{font-size:40px;transform:translateY(10px)}
}
