.mast-guide {
  position:relative; flex:none; min-height:38px; padding:7px 15px; border:1px solid #c2dcc7; border-radius:20px;
  color:#153d31; font-weight:700; font-size:.91rem; line-height:1.15;
  isolation:isolate;
  --guide-surface:#e1eedf;
  background:var(--guide-surface);
}
.mast-guide:is(:hover,:focus-visible) {--guide-surface:white;}
.mast-guide .guide-button-outline {
  position:absolute;inset:-1px;border-radius:inherit;overflow:hidden;
  pointer-events:none;z-index:-1;
}
.guide-button-outline::before {
  content:"";position:absolute;top:50%;left:50%;width:200%;aspect-ratio:1;
  background:conic-gradient(transparent 0deg 230deg,rgba(38,89,191,.18) 254deg,
    #285fbc 286deg,#388ff0 319deg,#63c5ff 342deg,#b8ecff 350deg,
    rgba(130,209,255,.48) 355deg,transparent 360deg);
  transform:translate(-50%,-50%) rotate(210deg);
  animation:nevea-guide-outline 6s linear infinite;
}
.guide-button-outline::after {
  content:"";position:absolute;inset:3.5px;border-radius:inherit;background:var(--guide-surface);
}
@keyframes nevea-guide-outline {
  from {transform:translate(-50%,-50%) rotate(210deg);}
  to {transform:translate(-50%,-50%) rotate(570deg);}
}
@media (prefers-reduced-motion:reduce) {
  :root:not([data-nevea-motion-enabled]) .guide-button-outline::before {animation:none;}
}
.mast-guide:focus-visible {outline:2px solid white; outline-offset:3px;}
@media(max-width:680px) {
  body > header.mast {gap:8px; padding-inline:8px;}
  body > header.mast .brand {display:grid; justify-items:center; gap:0;}
  body > header.mast .brand img {width:62px; height:23px;}
  body > header.mast .brand .place,#selectorMast .brand .place {display:block; font-size:.58rem; line-height:1;}
  .mast-guide {padding:6px 9px; font-size:.82rem;}
}
@media(max-width:540px) {
  .selector-page {--mast-height:60px;}
  #selectorMast {gap:5px; padding-inline:6px;}
  #selectorMast #saved {padding:4px 5px; gap:3px;}
  #selectorMast .saved-label {font-size:.8rem;}
  #selectorMast .saved-label small {font-size:.62rem; max-width:63px; white-space:normal;}
  #selectorMast #openComparison {padding:4px 2px; font-size:.78rem; line-height:1.18;}
  .favorites-page .mast-link {font-size:.8rem;}
}
@media(max-width:370px) {
  #selectorMast {gap:3px; padding-inline:4px;}
  #selectorMast .brand img {width:45px;}
  #selectorMast .mast-guide {width:min-content; padding:5px 7px; font-size:.77rem;}
  #selectorMast .saved-label small {max-width:57px;}
}
#housingGuide {width:min(735px,calc(100% - 24px)); max-height:87dvh; padding:clamp(18px,3vw,32px); overscroll-behavior:contain;}
.guide-head {display:flex; align-items:center; justify-content:space-between; gap:10px;}
.guide-head h2 {margin:0; font:normal clamp(1.55rem,3.6vw,2.25rem)/1.1 Georgia,serif;}
.guide-head h2:focus {outline:0;}
.guide-head .close {position:static; width:44px; height:44px; flex:none;}
#guideSummary {color:var(--muted); margin:8px 0 19px; line-height:1.5;}
.guide-primary {padding:10px 16px; border-radius:8px; min-height:44px; background:var(--green); color:white; font-weight:600;}
.guide-actions {display:flex; flex-wrap:wrap; gap:10px 22px; align-items:center; margin:0 0 16px;}
#guideEdit,.guide-card [data-suggested-unit] {min-height:44px; color:var(--green); padding:2px 0; font-weight:600; text-decoration:underline; text-underline-offset:3px;}
#guideCards {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}
.guide-card {display:grid; grid-template-columns:74px minmax(0,1fr); gap:12px; align-items:start; border:1px solid var(--line); border-radius:12px; padding:12px;}
.guide-card>img {width:100%; height:95px; object-fit:contain; background:#f5f7f2; border-radius:6px;}
.guide-card h3 {font-size:1.08rem; margin:0;}
.guide-card p {font-size:.85rem; margin:4px 0;}
.guide-card .guide-rent {font-size:.97rem; color:var(--green); font-weight:700;}
.guide-card .guide-reason {margin-top:10px; line-height:1.4;}
.guide-available,.guide-facts {color:var(--muted);}
@media(max-width:640px) {
  #guideCards {grid-template-columns:minmax(0,1fr);}
  .guide-card {grid-template-columns:82px minmax(0,1fr);}
}
@media(max-width:520px) {
  #housingGuide {padding:16px; width:calc(100% - 12px);}
}
.ia-plan-details {margin:12px 0 16px;}
.ia-plan-details summary {padding:10px 0;color:var(--green);cursor:pointer;font-weight:600;}
.ia-plan-details dl {margin:4px 0;display:grid;gap:6px;}
.ia-plan-details dl div {display:flex;justify-content:space-between;gap:12px;}
.ia-plan-details dd {margin:0;text-align:right;}
.ia-plan-details p {font-size:.82rem;color:var(--muted);}
#guideFreeForm {margin-top:12px;}
#guideFreeForm label {display:block;margin:10px 0 6px;font-weight:600;}
#guideFreeForm textarea {width:100%;resize:vertical;min-height:116px;padding:12px;border:1px solid #9bada2;border-radius:8px;font:inherit;}
#housingGuide [hidden] {display:none !important;}
.guide-thinking-dots {display:inline-flex;align-items:center;gap:8px;color:var(--green);}
.guide-thinking-dots i {width:9px;height:9px;background:currentColor;border-radius:50%;animation:guide-thinking-pulse 1.3s ease-in-out infinite;}
.guide-thinking-dots i:nth-child(2) {animation-delay:.16s;}
.guide-thinking-dots i:nth-child(3) {animation-delay:.32s;}
@keyframes guide-thinking-pulse {0%,65%,100% {opacity:.4;transform:translateY(0);} 32% {opacity:1;transform:translateY(-4px);}}
@media (prefers-reduced-motion:reduce) {.guide-thinking-dots i {animation:none;}}

#guideChat {display:flex;flex-direction:column;gap:9px;max-height:min(35dvh,310px);overflow-y:auto;overscroll-behavior:contain;padding:4px 3px 8px;scrollbar-width:thin;}
#guideChat p {margin:0;padding:10px 14px;max-width:88%;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;}
#guideChat .chat-bot {align-self:flex-start;background:#eef3ee;color:var(--ink);border-radius:14px 14px 14px 3px;}
#guideChat .chat-user {align-self:flex-end;background:var(--green);color:white;border-radius:14px 14px 3px 14px;}
#guideChatTyping {display:flex;align-items:center;gap:9px;width:fit-content;margin:2px 0 8px;padding:9px 14px;background:#eef3ee;color:var(--green);border-radius:12px 12px 12px 3px;font-size:.9rem;}
#guideChatTyping .guide-thinking-dots {gap:4px;}
#guideChatTyping .guide-thinking-dots i {width:6px;height:6px;}
#guideMic:disabled {opacity:.55;cursor:default;}
#guideReplies,.guide-chat-actions {display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;}
#guideReplies:not(:empty) {margin:10px 0;}
#guideReplies button {border:1px solid #a1b3a7;border-radius:20px;min-height:42px;padding:6px 12px;color:var(--green);font-weight:600;}
.guide-chat-link {min-height:44px;padding:3px 0;color:var(--green);font-weight:600;text-decoration:underline;text-underline-offset:3px;}
#guideFreeForm textarea {min-height:65px;}
#guideFreeForm .guide-chat-actions {margin-top:8px;}
#guideChatReset {margin-inline-start:auto;font-size:.86rem;font-weight:normal;}

.guide-compose-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 4px;}
#guideFreeForm .guide-compose-head label {margin:0;}
#guideMic {display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 12px;min-height:44px;color:var(--green);background:#eef3ee;border:1px solid #a1b3a7;border-radius:22px;font-weight:600;}
#guideMic.guide-is-send {color:white;background:var(--green);border-color:var(--green);}
#guideMic .guide-send-icon,#guideMic.guide-is-send .guide-mic-icon {display:none;}
#guideMic.guide-is-send .guide-send-icon {display:inline;}
#guideMic .guide-voice-wave {display:none;}
#guideMic:is([data-voice="starting"],[data-voice="listening"]) .guide-voice-wave {display:block;}
#guideMic:is([data-voice="starting"],[data-voice="listening"]):not(.guide-is-send) .guide-action-icon {display:none;}
#guideMic[data-voice="listening"] {background:#194c3a;border-color:#194c3a;color:white;}
#guideMic[data-voice="starting"] .guide-voice-wave {opacity:.65;}
#guideMicStatus {margin:0 0 6px;color:var(--muted);font-size:.9rem;}
.guide-model-link {display:inline-flex;align-items:center;min-height:44px;color:var(--green);font-weight:600;text-underline-offset:3px;}

.guide-chat-notice {font-size:.8rem;color:#51645d;margin:8px 0;}
.guide-unit-links {display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:6px;}

/* Side-by-side layout for larger screens. */
#housingGuide {
  width:min(1220px,calc(100% - 24px));max-width:none;height:min(88dvh,820px);
  max-height:min(94dvh,var(--guide-viewport,100dvh));padding:0;overflow:hidden;background:#fff;
}
#housingGuide[open]{display:flex;flex-direction:column}
#housingGuide .guide-head{flex:none;padding:10px clamp(8px,2vw,23px);border-bottom:1px solid var(--line)}
#housingGuide .guide-head h2{font-size:clamp(1.16rem,2.6vw,1.95rem)}
#guideSavedSlot{margin-left:auto;flex:none}
#guideSavedSlot .mast-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:5px 11px;border:1px solid #779189;border-radius:999px;background:#143e35;color:white;text-decoration:none;white-space:nowrap;line-height:1.1}
#guideSavedSlot .mast-link>i{flex:none}
#guideSavedSlot .mast-link:hover,#guideSavedSlot .mast-link:focus-visible{background:#315f50}
#guideSavedSlot .mast-link:focus-visible{outline:3px solid #1b8279;outline-offset:2px}
.guide-workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,34fr) minmax(0,66fr)}
#guideFreeForm{min-width:0;min-height:0;margin:0;display:flex;flex-direction:column;padding:0 clamp(5px,1.5vw,19px);border-right:1px solid var(--line)}
.guide-thread-head,.guide-panel-head{display:flex;align-items:center;justify-content:space-between;gap:1px 8px;flex-wrap:wrap;padding:9px 0 7px;flex:none}
.guide-column-title,.guide-panel-head h3{font-weight:650;font-size:1.12rem;line-height:1.25;margin:0}
#guideChatReset{margin:0;min-height:34px}
.guide-thread{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#guideChat{max-height:none;overflow:visible}
#guideChat p{max-width:96%;padding:8px 11px}
#guideChatTyping{flex:none;max-width:100%;flex-wrap:wrap;padding:6px 8px;margin:2px 0;line-height:1.25}
.guide-composer{position:relative;flex:none;padding:7px 0;border-top:1px solid var(--line)}
#guideFreeForm textarea{display:block;min-height:46px;height:3.5em;resize:none;padding:7px 9px}
.guide-compose-head{justify-content:flex-end;margin:5px 0 0}
#guideMicStatus{font-size:.8rem;line-height:1.25;max-height:4.2em;overflow:auto;margin:3px 0 0}
#guidePanel{position:relative;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;background:#f5f7f3;padding:0 clamp(5px,1.45vw,18px) 12px;overflow-wrap:anywhere}
#guidePanel{scrollbar-gutter:stable}
.guide-panel-head{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;background:#f5f7f3}
#guidePanelAction{justify-self:end;align-self:start;inline-size:12.5rem;max-inline-size:100%;block-size:48px;margin:0;padding:2px 8px;font-size:.95rem;line-height:1.15}
#guideSummary{margin:4px 0 10px}
#guideCards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.guide-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:8px;background:white}
.guide-card>img{height:clamp(80px,13vw,146px)}
.guide-card>div{display:flex;flex-direction:column;flex:1;min-width:0}
.guide-card [data-suggested-unit]{margin-top:auto;text-align:left}
#guidePair{min-width:0}
.guide-differences{display:inline-flex;align-items:center;gap:6px;margin:0 0 5px;min-height:36px;color:var(--green);font-size:.87rem;cursor:pointer}
.guide-differences input{accent-color:var(--green)}
.guide-card .heart{height:44px;width:44px;z-index:1}
.guide-card .heart svg{width:21px;height:21px}
.guide-compare-tools{position:sticky;left:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px}
#guideCompareNav{display:flex;gap:4px}
#guideCompareNav button{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:white;color:var(--green);font:1.6rem/1 sans-serif}
#guideCompareNav button:disabled{opacity:.4}
#guideCompareScroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
#guideCompareScroll:focus-visible{outline:2px solid #1b8279;outline-offset:1px}
#guideCompareScroll table{max-width:none}
@media(any-hover:hover){
  #guideCompareScroll[tabindex="0"] table{cursor:grab}
}
#guideCompareScroll.drag-ready{-webkit-user-select:none;user-select:none}
#guideCompareScroll.is-dragging,#guideCompareScroll.is-dragging *{cursor:grabbing}
.guide-pickers{margin-bottom:5px}
.guide-pickers,.guide-compare-with{display:grid;gap:2px;color:var(--muted);font-size:.83rem}
.guide-compare-with{margin:10px 0}.guide-pickers select,.guide-compare-with select{width:100%;min-width:0;min-height:40px;padding:3px;color:var(--ink);background:white;border:1px solid var(--line);border-radius:5px;font:inherit;font-size:1rem}
.guide-pair-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:3px 0;margin-top:6px;font-variant-numeric:tabular-nums}
.guide-pair-table :is(td,th){vertical-align:top;text-align:left;padding:6px clamp(3px,.75vw,10px);background:white;border:1px solid var(--line);border-top:0}
.guide-pair-table thead tr:first-child td{border-top:1px solid var(--line);border-radius:9px 9px 0 0}
.guide-unit-title{display:block;min-height:44px;width:100%;text-align:left;text-decoration:underline;text-underline-offset:3px;font-weight:650;color:var(--green);padding:0}
.guide-pair-table thead td,.guide-pair-table thead th{border-bottom:0;padding-block:0}
.guide-pair-table thead tr:first-child td{padding-top:6px}
.guide-pair-table thead tr:last-child td{padding-bottom:6px;border-bottom:1px solid var(--line)}
.guide-unit-title{min-height:0}
.guide-unit-plan{display:block;width:100%;padding:0}
.guide-unit-plan img{display:block;width:100%;height:clamp(78px,15vw,165px);object-fit:contain;background:#f6f8f3;border-radius:4px;margin-top:4px}
.guide-metric{display:block;font-size:.79rem;color:var(--muted);margin:0 0 2px}
.guide-pair-table strong{display:block;white-space:pre-line;line-height:1.35}
#guideUnit{padding:clamp(5px,1vw,12px);border:1px solid var(--line);background:#fff;border-radius:10px}
#guideUnit .plan-viewer{height:clamp(180px,27vw,340px);grid-template-columns:auto minmax(0,1fr);padding:0}
#guideUnit .unit-inquiry{width:100%}
#guideUnit .inquiry input,#guideUnit .inquiry select,#guideUnit .inquiry form,#guideUnit .inquiry label{min-width:0;max-width:100%}
#guideUnit .inquiry form{grid-template-columns:minmax(0,1fr)}
#guideUnit .field-pair{grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr))}
#guideUnit .detail-actions i svg{width:18px;height:18px}
.guide-unit-meta{color:var(--muted);font-size:.9rem;margin:8px 0 2px}
.guide-unit-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}
.guide-unit-facts dt{font-size:.84rem;color:var(--muted)}.guide-unit-facts dd{margin:1px 0 0;font-weight:600}
@media(max-width:640px){
  #housingGuide{width:calc(100% - 4px);height:96dvh;max-height:min(98dvh,var(--guide-viewport,100dvh));border-radius:9px}
  #housingGuide .guide-head{padding:4px 6px;gap:3px}
  #housingGuide .guide-head .close{width:40px;height:40px}
  #guideSavedSlot .mast-link{font-size:.76rem;padding:3px 6px;gap:3px}#guideSavedSlot .mast-link small{font-size:.62rem}
  .guide-panel-head{grid-template-columns:minmax(0,1fr);row-gap:4px}
  #guidePanelAction{grid-row:1}
  .guide-thread-head,.guide-panel-head{padding:7px 0 4px}.guide-panel-head h3,.guide-column-title{font-size:.96rem}
  #guideChatReset{font-size:.72rem;min-height:27px}
  .guide-chat-notice{font-size:.73rem;line-height:1.27;margin:2px 0 6px}
  #guideChat p{max-width:100%;font-size:.82rem;padding:6px;line-height:1.35}
  #guideChatTyping{font-size:.75rem;gap:4px;padding:4px}
  #guideFreeForm textarea{font-size:16px;padding:4px;height:3.15em}
  #guideMic{width:100%;padding:4px 1px;gap:2px;flex-wrap:wrap;font-size:.82rem}
  #guideMicStatus,#guideMicKeyboard{overflow-wrap:anywhere;font-size:.75rem}
  #guideCards{gap:3px}.guide-card{padding:4px}.guide-card h3{font-size:.93rem}.guide-card p,.guide-card [data-suggested-unit]{font-size:.78rem}
  #guideSummary,.guide-pair-table{font-size:.84rem}
  .guide-metric,.guide-pickers{font-size:.74rem}
  #guideUnit .ia-plan-details dl div,#guideUnit .service-prices dl>div{flex-wrap:wrap;gap:2px 6px}
}
@media(max-height:480px){.guide-thread-head,.guide-panel-head{padding-block:2px}.guide-composer{padding:2px 0}#guideFreeForm textarea{min-height:30px;height:2em}.guide-compose-head{margin:1px 0}#guideMicStatus{max-height:2.6em}}

.guide-near-summary{display:none;margin:4px 0 10px;color:var(--muted);line-height:1.5}

/* Stack the same live panels on phones, including touch phones in landscape. */
@media (max-width:640px), (orientation:landscape) and (max-height:500px) and (max-width:960px) and (pointer:coarse){
  #housingGuide{--guide-results-below:1}
  #guideSummary[data-proposals]{display:none}
  #guideSummary[data-proposals="near"] + .guide-near-summary{display:block}
  #guidePanel[data-comparing]{display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}
  #guidePanel[data-comparing] .guide-panel-head{flex:none}
  #guidePair{display:flex;flex:1;min-height:0;flex-direction:column}
  #guideCompareScroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
  .guide-pair-table .guide-number-row th{
    position:sticky;top:0;z-index:1;background:white;
    box-shadow:inset 0 -1px var(--line);
  }
  .guide-unit-name{display:block;padding:5px 0}
  .guide-workspace{display:flex;flex-direction:column;overflow-y:auto}
  #guideFreeForm{flex:0 1 auto;max-height:clamp(145px,46%,355px);padding-inline:12px;border-right:0;border-bottom:1px solid var(--line);overflow-y:auto}
  .guide-thread{flex:1 1 auto}
  #guideChat p{max-width:94%;font-size:.92rem;line-height:1.4;padding:7px 10px}
  .guide-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center}
  #guideFreeForm textarea{min-height:44px;height:2.75em;padding:7px 9px}
  .guide-compose-head{margin:0}
  #guideMic{width:auto;min-width:44px;padding:5px 10px;gap:5px;font-size:.88rem}
  #guideMicStatus,#guideMicKeyboard{grid-column:1/-1}
  #guidePanel{flex:1 0 115px;scrollbar-gutter:auto;padding-inline:10px}
  .guide-panel-head{grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding-block:6px}
  #guidePanelAction{grid-row:auto;inline-size:clamp(8.7rem,40vw,12.5rem);block-size:44px;font-size:.86rem}
  #guideCards{gap:8px}
  .guide-card{padding:7px}
  .guide-card>img{height:clamp(90px,26vw,145px)}
  .guide-card p,.guide-card [data-suggested-unit]{font-size:.85rem}
}
#housingGuide[data-keyboard]{position:fixed;inset:var(--guide-keyboard-top) 0 auto;margin:0 auto;height:var(--guide-viewport);max-height:var(--guide-viewport)}
.favorite-flight[popover]:popover-open{inset:auto;margin:-15px 0 0 -15px;padding:0;border:0;background:transparent;overflow:visible;}

/* Fix the page at its opening position while the phone dialog owns touch input. */
html[data-nevea-guide-lock] {overflow:hidden;overscroll-behavior:none;}
html[data-nevea-guide-lock] body {
  position:fixed;top:var(--guide-lock-top);left:var(--guide-lock-left);
  width:100%;overflow:hidden;overscroll-behavior:none;
}
html[data-nevea-guide-lock] #housingGuide {position:fixed;overscroll-behavior:none;}
html[data-nevea-guide-lock] #housingGuide::backdrop,
html[data-nevea-guide-lock] #housingGuide .guide-head {touch-action:none;}
html[data-nevea-guide-lock] #housingGuide,
html[data-nevea-guide-lock] #housingGuide :where(.guide-workspace, #guideFreeForm, .guide-thread, #guidePanel, #guideCompareScroll, input, textarea, button, a) {
  touch-action:pan-x pan-y;
}
html[data-nevea-guide-lock] #guideFreeForm textarea {font-size:16px;}
html[data-nevea-guide-lock] .guide-workspace {overscroll-behavior:contain;}
@media (orientation:landscape) and (max-height:500px) {
  html[data-nevea-guide-lock] #guideFreeForm {flex:0 0 auto;height:min(68dvh,280px);max-height:none;}
}

#guideGallery .guide-gallery-note {margin:2px 0 12px;color:#44574e;font-size:.88rem}
.guide-gallery-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:12px}
.guide-gallery-tile {min-width:0;align-self:start;padding:0;text-align:left;border:1px solid #cbd8cf;border-radius:8px;background:white;color:#143d32;overflow:hidden;cursor:zoom-in}
.guide-gallery-tile img {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.guide-gallery-tile.is-plan img {object-fit:contain}
.guide-gallery-tile span {display:block;padding:8px 11px;font-size:.9rem;font-weight:600}
.guide-gallery-tile:focus-visible {outline:3px solid #196f60;outline-offset:-3px}
.guide-gallery-tile[aria-expanded="true"] {grid-column:1/-1;cursor:zoom-out}
.guide-gallery-tile[aria-expanded="true"] img {aspect-ratio:auto;max-height:64dvh;object-fit:contain}
@media(max-width:640px){.guide-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.guide-gallery-tile span{font-size:.8rem;padding:6px}}

/* A floor is a polygon. Trace its shape for keyboard focus instead of the SVG link's box. */
.nevea-integrated-selector #building #zones a[data-floor] { -webkit-tap-highlight-color: transparent; }
.nevea-integrated-selector #building #zones a[data-floor]:focus { outline: none; }
.nevea-integrated-selector #building #zones a[data-floor]:focus-visible .zone {
  fill: #b3f57f; fill-opacity: .88; stroke: #174638; stroke-width: 7;
}
@media (forced-colors: active) {
  .nevea-integrated-selector #building #zones a[data-floor]:focus-visible .zone { fill: Highlight; stroke: CanvasText; }
}
