/* Map page styles copied from the approved design (website-nov-15/map) by tools/build_map.py. Since Nov 25 this file is the real source: edit it here (the design-folder copy is out of date, and tools/build_*.py are retired). */
/* HOME CARD TAPS AND LABELS (Nov 21, all-rules check): Save, Share and Close keep their look with an invisible ring (44 px taps); small grey labels darker to pass WCAG AA */ .lhi,.lpx{position:relative}.lhi::after{content:"";position:absolute;inset:-3px;border-radius:50%}.lpx::after{content:"";position:absolute;inset:-5px;border-radius:50%}.lcard small{color:#5b6878 !important}#map,.lcard{--bcn-c-mut:#5b6878 !important;--bcn-muted:#5b6878 !important}
/* THIN MAP CREDIT (Nov 21, owner: "make the Leaflet credit link very thin, otherwise it keeps opening"): the corner credit is small plain text that taps pass through; the OpenStreetMap link stays in the credits footer */ .leaflet-control-attribution{font-size:9.5px !important;line-height:1.3 !important;padding:0 4px !important;background:rgba(255,255,255,.6) !important;color:#5b6878 !important;pointer-events:none !important}.leaflet-control-attribution a{color:inherit !important;text-decoration:none !important;pointer-events:none !important}
/* WELCOME CARD COVERS NOTHING (Nov 21, all-rules check): while the first-visit guide card is open, the zoom buttons under it step aside */ body:has(#welcome:not([hidden])) .rcol .zpair{visibility:hidden}
/* BOARD RULE 1 (Nov 21): courtesy line on every map card, never smaller than the largest detail */ .lcourt{margin:6px 12px 2px;font:600 13.5px/1.4 var(--bcn-font);color:#3d4a5c;overflow-wrap:anywhere}

/* FOOTER ON SMALL PHONES (Nov 18) */.foot a,.foot p,.foot span{overflow-wrap:anywhere}
/* SUN CHECK ANY HOME (Nov 17) */.lotsun{display:flex;align-items:center;gap:10px;min-height:52px;margin:10px 0 4px;padding:8px 14px;border-radius:14px;border:1px solid rgba(201,161,78,.6);background:linear-gradient(180deg,#fffdf7,#fff7e6);color:#14202f;text-decoration:none;box-shadow:0 2px 10px rgba(20,32,47,.06);transition:transform .2s,box-shadow .2s}.lotsun svg{flex:none;width:24px;height:24px;color:#f5a20a}.lotsun span{display:flex;flex-direction:column;gap:2px;flex:1}.lotsun b{font:800 14px/1.2 "Plus Jakarta Sans",system-ui,sans-serif;color:#1e4e8c}.lotsun small{font-size:12px;color:#5a6576}.lotsun:after{content:"\203A";font:700 22px/1 "Plus Jakarta Sans",sans-serif;color:#f5a20a}.lotsun:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(20,32,47,.1)}@media (prefers-reduced-motion:reduce){.lotsun{transition:none}}
/* SATELLITE AND ZOOM (Nov 18): same look as the other right-column tools, 44 px+ taps, phone first */
.rcol .zpair { display: flex; flex-direction: column; width: 48px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e1e8f1; box-shadow: 0 2px 8px rgba(15,23,42,.14); }
.rcol .zpair button { width: 100%; height: 46px; border: 0; background: #fff; color: var(--bcn-navy, #1e4e8c); font: 700 24px/1 var(--bcn-font); cursor: pointer; touch-action: manipulation; }
.rcol .zpair button + button { border-top: 1px solid #e1e8f1; }
.rcol .zpair button:active, .rcol .zpair button:hover { background: #f1f5fb; }
.rcol .zpair button:disabled { color: #9aa8bb; cursor: default; background: #fff; }
.leaflet-control-zoom { display: none !important; }   /* one zoom control only: the +/- in the right column */
.rcol #satBtn[aria-pressed="true"] { background: var(--bcn-navy, #1e4e8c) !important; color: #fff; border-color: var(--bcn-navy, #1e4e8c); }
body.sat .leaflet-lots-pane path { stroke: #ffffff; stroke-opacity: .9; }
@media (max-width: 760px) { .rcol .zpair { width: 46px; } .rcol .zpair button { height: 44px; } }
@media (max-height: 520px) { .rcol .zpair { display: none; } }   /* very short screens: pinch to zoom, keep the map clear */
@media (prefers-reduced-motion: reduce) { .rcol .zpair button { transition: none; } }

/* TIPS CLEAR OF BUTTONS (Nov 18): on phones the tip sits left of the right-hand buttons */
@media (max-width: 760px) { body .leaflet-container .gmsg, body .leaflet-container .gmsg.gtop { left: 10px !important; right: 66px !important; transform: none !important; width: auto !important; max-width: 320px !important; } body .leaflet-container .guide { right: 66px !important; } }

/* CLEAR MAP (Nov 18): beside Done in the Layers footer */
.lyfoot .lyrow2 { display: flex; gap: 8px; align-items: center; }
.lyfoot .lyrow2 .lydone { width: auto !important; flex: 1 1 0 !important; min-width: 0; }
body:has(#lymenu:not([hidden])) .leaflet-container .gmsg { display: none !important; }   /* tips wait while Layers is open, so they never cover its buttons */
#map.measuring .gmsg, #map.measuring .guide, body .measuring .gmsg { display: none !important; }   /* tips wait while measuring, so they never cover the lot you are tapping */
.lyfoot .lyclr { position: relative; flex: 0 0 auto; height: 40px; padding: 0 16px; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #fff; color: var(--bcn-navy, #1e4e8c); font: 800 13.5px var(--bcn-font); cursor: pointer; white-space: nowrap; }
.lyfoot .lyclr::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
@media (max-width: 720px) { .lyfoot .lyclr { height: 36px; padding: 0 10px; font-size: 12.5px; } }

/* SAME-SPOT HOMES (Nov 18): "N Homes" pin and its small list */
.lp.grp { background: #fff; color: var(--bcn-navy, #1e4e8c); border: 2px solid var(--bcn-navy, #1e4e8c); padding: 5px 9px; }
.lp.grp.on { background: var(--bcn-orange, #f5a20a); color: #14202f; border-color: #fff; }
.ulist { position: absolute; z-index: 1031; left: 12px; top: 62px; width: 320px; max-height: min(60vh, 420px); overflow-y: auto; box-sizing: border-box; padding: 12px 12px 10px; background: #fff; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(15,23,42,.2); font: 500 13px/1.4 "Plus Jakarta Sans", system-ui, sans-serif; color: #14202f; }
.ulist[hidden] { display: none !important; }
.ulist .ux { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f1f5f9; color: #475569; font: 600 18px/1 inherit; cursor: pointer; }
.ulist .ux::after { content: ""; position: absolute; inset: -6px; }
.ulist .ut { display: block; font-weight: 800; font-size: 15px; color: var(--bcn-navy, #1e4e8c); margin-right: 34px; }
.ulist .us { display: block; font-size: 12.5px; color: #4b5a6d; margin: 0 34px 8px 0; }
.ulist .ur { display: grid; gap: 6px; }
.ulist .urow { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; width: 100%; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.ulist .urow:hover, .ulist .urow:active { border-color: var(--bcn-navy, #1e4e8c); background: #f5f8fc; }
.ulist .ua { display: flex; flex-direction: column; min-width: 0; }
.ulist .ua b { font-weight: 800; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ulist .ua small { font-size: 12px; color: #4b5a6d; }
.ulist .up { flex: none; font-weight: 800; font-size: 14px; color: var(--bcn-navy, #1e4e8c); }
.ulist .urow.drop .up { color: #b45309; }
@media (max-width: 760px) { .ulist { left: 10px; right: 66px; width: auto; } }
#map.measuring .ulist, body:has(#lymenu:not([hidden])) .ulist { display: none !important; }

/* SUN CHECK ON EVERY HOME CARD (Nov 19) */ .lcard .lsun{display:flex !important;align-items:center;justify-content:center;gap:6px;width:calc(100% - 4px) !important;min-height:44px !important;margin:0 2px 6px;border:1.5px solid #c9a14e;border-radius:999px;background:#fff;color:#1e4e8c;font:800 14px var(--bcn-font);text-decoration:none}.lcard .lsun:focus-visible{outline:3px solid #f5a20a;outline-offset:2px}

/* MAP PICK MODE (Nov 19) */ .pickg{position:fixed;left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom,0px) + 96px);z-index:1200;max-width:440px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:6px 10px;padding:12px 12px 12px 14px;border-radius:16px;background:#fff;border:1.5px solid #c9a14e;box-shadow:0 10px 28px rgba(20,32,47,.18);font:500 14px/1.45 var(--bcn-font)}
.pickg b{font:800 15px/1.3 var(--bcn-font);color:#14202f}.pickg p{grid-column:1/-1;margin:0;color:#3d4a5c}.pickg .pgo{grid-column:1/-1;justify-self:start;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:0;border-radius:999px;background:#1e4e8c;color:#fff;font:800 14px var(--bcn-font);cursor:pointer}
.pickg .px{width:44px;height:44px;margin:-8px -6px 0 0;border:0;background:none;color:#5b6878;font-size:24px;line-height:1;cursor:pointer;border-radius:50%}.pickg .px:focus-visible,.pickg .pgo:focus-visible{outline:3px solid #f5a20a;outline-offset:2px}
.pickg .pk{display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#f5a20a;vertical-align:2px;box-shadow:0 0 0 0 rgba(245,162,10,.6);animation:pkb 1.6s ease-out infinite}@keyframes pkb{to{box-shadow:0 0 0 9px rgba(245,162,10,0)}}
@media (prefers-reduced-motion:reduce){.pickg .pk{animation:none}}
/* GUIDE CARD STEPS AWAY FOR THE LAYERS LIST (Nov 19 audit) */ body:has(#lymenu:not([hidden])) .pickg{display:none}

/* SEARCH LIST STAYS SMALL (Nov 19, owner: "on the phone, when it comes down it covers the map"): on phones the address list takes at most about a third of the screen, full width, so the map stays in view */ @media (max-width:760px){html body .srch-dd{max-height:34vh!important;right:10px!important;width:auto!important}html body .srch-dd .sdi{min-height:44px;padding:6px 14px}}
/* PHONE TAP RULE */
.foot a{display:flex;align-items:center;min-height:44px}
p.foot a{display:inline-block;min-height:0;padding:13px 2px;margin:-13px 0;color:inherit;text-decoration:underline}   /* inline link in the map notice keeps a 44 px tap area */
.ct-crumb a,.ct-crumb span{min-height:44px!important}
.ftlt a{min-height:44px!important}
details.ftg{border-bottom:1px solid rgba(255,255,255,.12)}
details.ftg>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:50px;cursor:pointer;font-weight:700;color:#fff;font-size:14.5px;-webkit-tap-highlight-color:transparent}
details.ftg>summary::-webkit-details-marker{display:none}
details.ftg>summary::after{content:"";flex:none;width:9px;height:9px;margin:0 8px 4px 12px;border-right:2px solid #c9a14e;border-bottom:2px solid #c9a14e;transform:rotate(45deg);transition:transform .25s}
details.ftg[open]>summary::after{transform:rotate(-135deg);margin-bottom:-4px}
details.ftg>div{padding-bottom:10px}
@media(max-width:760px){.foot{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:22px 16px!important}.foot>div{gap:0!important}.foot>div:first-child{grid-column:1/-1}.ftlt{gap:0!important}}
@media(min-width:761px){details.ftg{border:0}details.ftg>summary{min-height:0;margin-bottom:6px;cursor:default;pointer-events:none}details.ftg>summary::after{display:none}}
@media(prefers-reduced-motion:reduce){details.ftg>summary::after{transition:none}}
/* PHONE TAP RULE 3 */
.wlx,.sbar-flt{position:relative}.wlx::after,.sbar-flt::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
.welcome button{min-height:44px}
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(images/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}
/* ######## PART 1: STYLES (all colours/fonts are --bcn-* variables, set in :root below or by BCNearbyConfig.theme) ######## */
/* Layout: full-screen map with one compact panel (bottom sheet on phones). Three ways to show commute
   access, switched from the top of the panel. Single light look matching the live map search. */
:root {
  --bcn-navy: #1e4e8c;
  --bcn-ink: #0f172a;
  --bcn-slate: #475569;
  --bcn-muted: #64748b;
  --bcn-line: #e2e8f0;
  --bcn-orange: #f5a20a;
  --bcn-sky: #0d9488;
  --bcn-sky-ink: #0f766e;
  --bcn-bus: #65a30d;
  --bcn-t1: #dcefc4;   /* Fair */
  --bcn-t2: #a9d89a;   /* Good */
  --bcn-t3: #6cbfa6;   /* Very good */
  --bcn-t4: #1f8f87;   /* Excellent */
  --bcn-map-bg: #f2f2f0;
  --bcn-accent-soft: #fff4df;
  --bcn-text: #233142;
  --bcn-font: "Plus Jakarta Sans", "Plus Jakarta Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
/* our own roots: font and colour set here, not on <body>, so nothing leaks into the rest of the site */
.app, .gpoint, .sgn, .cmpv, .ldv { font-family: var(--bcn-font); color: var(--bcn-ink); font-size: 14px; line-height: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
:where(.app, .gpoint, .sgn) :where(*, *::before, *::after) { box-sizing: content-box; }   /* sites with a global border-box rule (Bootstrap etc.) don't squeeze our layout */
:where(.app, .gpoint, .sgn) :where(button, select, meter, progress, input[type=button], input[type=submit], input[type=reset]) { box-sizing: border-box; }   /* = browser defaults */
.app svg, .gpoint svg { shape-rendering: geometricPrecision; }
.app { position: absolute; inset: 0; display: flex; flex-direction: column; }
.bcn-top { flex: none; height: 64px; box-shadow: 0 1px 2px rgba(0,0,0,.05); display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--bcn-line); background: #fff;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.brand { font-weight: 800; font-size: 15px; color: var(--bcn-navy); white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand .bm { width: 34px; height: 34px; border-radius: 9px; background: var(--bcn-navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: -.02em; box-shadow: inset 0 -3px 0 var(--bcn-orange); }
.brand .bt { display: grid; line-height: 1.05; font-weight: 800; font-size: 15px; color: var(--bcn-navy); letter-spacing: .01em; }
.brand .bt small { font-size: 8.5px; font-weight: 700; color: var(--bcn-orange); letter-spacing: .12em; margin-top: 2px; }
.tag { font-size: 11px; font-weight: 700; color: #8a5a00; background: #fff4dc; border: 1px solid #fbd88a; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
#map { position: relative; flex: 1; background: var(--bcn-map-bg); }
.leaflet-container { font-family: var(--bcn-font); background: var(--bcn-map-bg); }

.bcn-sheet { position: absolute; z-index: 1020; top: 14px; right: max(14px, env(safe-area-inset-right, 0px)); width: 340px; max-height: calc(100% - 28px); box-sizing: border-box;
  overflow-y: auto; background: #fff; border-radius: 16px; padding: 14px 16px 16px; box-shadow: 0 12px 36px rgba(15,23,42,.2); display: flex; flex-direction: column; gap: 12px; }
.bcn-sheet h3 { margin: 0; font-size: 17px; font-weight: 800; }
.bcn-sheet .sub { margin: 2px 0 0; font-size: 12.5px; color: var(--bcn-muted); }
.bcn-label { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bcn-muted); }
.seg { display: flex; border: 1px solid var(--bcn-line); border-radius: 18px; padding: 3px; gap: 2px; background: #fff; }
.seg button { flex: 1; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--bcn-slate); padding: 7px 8px; border-radius: 14px; cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--bcn-ink); color: #fff; }
.seg.view button.on { background: var(--bcn-navy); }
.seg.dview button.on { background: var(--bcn-orange); color: var(--bcn-ink); font-weight: 700; }
.limitnote { margin: 6px 0 0; font-size: 11.5px; color: #92400e; background: #fff7e6; border-radius: 8px; padding: 6px 9px; }
.limitnote[hidden] { display: none; }
.lp { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); white-space: nowrap; background: var(--bcn-navy); color: #fff; font: 800 10.5px/1 "Plus Jakarta Sans", system-ui, sans-serif;
  padding: 5px 8px; border-radius: 10px; border: 1.5px solid #fff; box-shadow: 0 2px 6px rgba(15,23,42,.3); cursor: pointer; transition: transform .15s; }
.lp.drop { background: #ea580c; }
.lp:hover { transform: translate(-50%, -50%) scale(1.08); }
.lp.on { background: var(--bcn-orange); color: var(--bcn-ink); transform: translate(-50%, -50%) scale(1.15); box-shadow: 0 0 0 4px rgba(245,162,10,.35), 0 3px 10px rgba(15,23,42,.35); z-index: 5; }
.samplechip { position: absolute; z-index: 1000; left: 12px; bottom: 96px; background: #fff; border: 1px dashed #94a3b8; color: #475569; font: 600 11px var(--bcn-font); padding: 5px 9px; border-radius: 999px; pointer-events: none; }
@media (max-width: 720px) { .samplechip { bottom: auto; top: 10px; left: 10px; } }
.seg button:focus-visible, .city:focus-visible { outline: 2px solid var(--bcn-navy); outline-offset: 2px; }
.explain { font-size: 12.5px; line-height: 1.45; color: var(--bcn-slate); background: #f8fafc; border-radius: 10px; padding: 9px 11px; }
.explain b { color: var(--bcn-ink); }

.legend { display: grid; gap: 7px; }
.legend div { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; font-size: 12.5px; line-height: 1.3; color: var(--bcn-slate); }
.legend b { display: block; color: var(--bcn-ink); font-size: 13px; }
.hex { width: 22px; height: 24px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.co { position: absolute; left: 0; top: 0; white-space: nowrap; background: #fff; border-radius: 10px; padding: 5px 9px 6px; box-shadow: 0 2px 10px rgba(15,23,42,.16);
  font-family: var(--bcn-font); font-size: 11.5px; line-height: 1.3; color: var(--bcn-slate); pointer-events: none; border-left: 3px solid var(--bcn-bus); }
.co b { display: block; font-size: 12px; color: var(--bcn-ink); }
.co.sky { border-left-color: var(--bcn-sky); }
.bc-ln { z-index: 850 !important; }
.bc-ln .ln { position: absolute; left: 0; top: 0; height: 0; border-top: 1.5px solid rgba(15,23,42,.5); transform-origin: 0 0; pointer-events: none; }
.co.sky b { color: var(--bcn-sky-ink); }
.co .nums { font-weight: 800; color: #3f6212; font-size: 12.5px; letter-spacing: .01em; }
.co .walk { font-weight: 700; color: var(--bcn-ink); }
.co.pinlbl { border-left: 0; padding: 4px 10px; font-weight: 800; font-size: 11.5px; color: #fff; border-radius: 999px; }
.lines-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--bcn-line); border-radius: 12px; cursor: pointer; }
.lines-row .t { flex: 1; font-size: 13px; line-height: 1.3; }
.lines-row .t b { display: block; color: var(--bcn-ink); font-size: 13px; }
.lines-row .t span { color: var(--bcn-muted); font-size: 11.5px; }
.lines-row.slim { margin-top: 8px; padding: 8px 10px; }
.lines-row .keys { display: flex; flex-direction: column; gap: 5px; flex: none; }
.lines-row .keys i { display: block; width: 22px; height: 0; border-top: 4px solid var(--bcn-sky-ink); border-radius: 2px; }
.lines-row .keys i.b { border-top: 2.5px solid #4d6b1f; }
.sw { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: #cbd5e1; border: 0; padding: 0; cursor: pointer; transition: background .15s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.sw[aria-checked="true"] { background: var(--bcn-navy); }
.sw[aria-checked="true"]::after { transform: translateX(18px); }
.sw[aria-pressed="true"] { background: var(--bcn-navy); }
.sw[aria-pressed="true"]::after { transform: translateX(18px); }
.vrows { display: grid; }
.steps { margin: 0; font-size: 11.5px; color: var(--bcn-slate); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.steps span { width: 17px; height: 17px; border-radius: 50%; background: var(--bcn-orange); color: var(--bcn-ink); font-weight: 800; font-size: 10.5px; display: inline-grid; place-items: center; }
.keyhelp { display: grid; gap: 5px; font-size: 12px; color: var(--bcn-slate); background: #f8fafc; border-radius: 10px; padding: 8px 10px; }
.keyhelp div { display: flex; align-items: center; gap: 7px; }
.kpill { flex: none; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.kpill.nv { background: var(--bcn-navy); color: #fff; } .kpill.og { background: var(--bcn-orange); color: var(--bcn-ink); }
.refine { margin-top: 8px; display: grid; gap: 6px; }
.refine .rg { display: grid; gap: 4px; }
.refine .rsub { display: grid; padding-left: 27px; }
.refine .rrow { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-top: 1px solid #f1f5f9; }
.refine .rsub .rrow:first-child { border-top: 0; }
.refine .rrow.solo { border-top: 0; }
.refine .rrow .am { position: static; width: 20px; height: 20px; border-width: 1.5px; flex: none; }
.refine .rrow .am svg { width: 11px; height: 11px; }
.refine .rn { flex: 1; min-width: 0; font-size: 12.5px; color: var(--bcn-ink); font-weight: 600; }
.refine .rn b { font-weight: 700; font-size: 12.5px; display: block; }
.refine .rd { display: block; font-size: 11px; font-weight: 500; color: var(--bcn-muted); line-height: 1.3; margin-top: 1px; }
.refine .rhn { font-size: 12.5px; }
.refine .rh[data-grp] { cursor: pointer; }
.refine .rg.shut .rsub { display: none; }
.refine .cnt { margin-left: auto; flex: none; font-size: 11.5px; font-weight: 700; color: var(--bcn-navy); background: #eff6ff; border-radius: 10px; padding: 3px 9px; white-space: nowrap; }
.refine .cnt i { font-style: normal; }
.refine i.sw2 { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9.5px; color: #fff; }
.refine .tg { height: 26px; padding: 0 8px 0 6px; font-size: 11px; }
.refine .tg svg { width: 12px; height: 12px; }
.refine .rh { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--bcn-ink); }
.refine .rh .am { position: static; width: 20px; height: 20px; border-width: 1.5px; }
.refine .rh .am svg { width: 11px; height: 11px; }
.refine .rh .am .sym { font-size: 11px; }
.refine .rh button.x { margin-left: auto; border: 0; background: none; color: #586579; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; padding: 2px 4px; border-radius: 6px; }
.refine .rh button.x:hover { color: var(--bcn-ink); background: #f1f5f9; }
.refine .rc { display: flex; flex-wrap: wrap; gap: 5px; padding-left: 27px; }
.refine .rc button { height: 28px; padding: 0 10px 0 7px; border-radius: 14px; border: 1px solid var(--bcn-line); background: #fff; font: inherit; font-size: 12px; font-weight: 600; color: #586579;
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer; transition: background .15s, color .15s; }
.refine .rc button i { width: 14px; height: 14px; border-radius: 50%; display: inline-grid; place-items: center; font-style: normal; font-size: 9px; opacity: .45; }
.refine .rc button[aria-pressed="true"] { background: #fff7e6; border-color: var(--bcn-orange); color: var(--bcn-ink); }
.refine .rc button[aria-pressed="true"] i { opacity: 1; }
.refine .rc button:focus-visible, .refine .rh button:focus-visible { outline: 2px solid var(--bcn-navy); outline-offset: 2px; }
.refine .more { justify-self: start; border: 1px dashed #cbd5e1; background: #fff; color: var(--bcn-navy); font: inherit; font-size: 12px; font-weight: 700; height: 28px; padding: 0 11px; border-radius: 14px; cursor: pointer; }
.presets[hidden], details.custom[hidden] { display: none; }
.peekbtn { display: none; }
.showing { display: none; }
@media (max-width: 720px) { .showing { order: 1; display: block; margin: -4px 0 0; font-size: 12px; color: var(--bcn-slate); line-height: 1.4; } .showing b { color: var(--bcn-ink); } .bcn-sheet.full .showing { display: none; } }
.presets { display: flex; flex-wrap: wrap; gap: 7px; }
.pre { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px 0 11px; border-radius: 18px; border: 1px solid var(--bcn-line); background: #fff; color: var(--bcn-ink);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(15,23,42,.08); transition: background .15s, color .15s, transform .15s; }
.pre svg { width: 16px; height: 16px; color: var(--bcn-navy); }
.pre:hover { transform: translateY(-1px); }
.pre[aria-pressed="true"] { background: var(--bcn-orange); color: var(--bcn-ink); border-color: #e0910a; font-weight: 700; box-shadow: 0 2px 8px rgba(245,162,10,.35); }
.pre[aria-pressed="true"] svg { color: var(--bcn-ink); }
.pre:focus-visible { outline: 2px solid var(--bcn-navy); outline-offset: 2px; }
details.custom { margin-top: 10px; border-top: 1px solid var(--bcn-line); padding-top: 8px; }
details.custom > summary { cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 700; color: var(--bcn-navy); padding: 4px 0; }
details.custom > summary::-webkit-details-marker { display: none; }
details.custom > summary::after { content: " ▸"; }
details.custom[open] > summary::after { content: " ▾"; }
.tgs { flex: none; display: flex; gap: 5px; }
.tg { height: 28px; padding: 0 9px 0 7px; border-radius: 14px; border: 1px solid var(--bcn-line); background: #fff; font: inherit; font-size: 11.5px; font-weight: 700; color: #586579;
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.tg svg { width: 14px; height: 14px; }
.tg[aria-pressed="true"] { background: var(--bcn-navy); border-color: var(--bcn-navy); color: #fff; }
.tg:focus-visible { outline: 2px solid var(--bcn-navy); outline-offset: 2px; }
.vrow.tgrow { cursor: default; }
.tg.eye, .tg.bcn-chip { width: auto; height: 28px; padding: 0 9px 0 7px; display: inline-flex; gap: 4px; border: 1px solid var(--bcn-line); background: #fff; color: #586579; font-size: 11.5px; font-weight: 700; }
.tg.eye svg, .tg.bcn-chip svg { width: 14px; height: 14px; }
.tg.eye[aria-pressed="true"], .tg.bcn-chip[aria-pressed="true"], .tg[aria-pressed="true"] { background: var(--bcn-navy); border-color: var(--bcn-navy); color: #fff; }
.tg[data-d][aria-pressed="true"], .tdist[aria-pressed="true"], .tg.bcn-chip[aria-pressed="true"] { background: var(--bcn-orange); border-color: #e0910a; color: var(--bcn-ink); }
.sw.bcn-chip { height: 26px; padding: 0; border: 0; background: #cbd5e1; gap: 0; }
.sw.bcn-chip[aria-pressed="true"] { background: var(--bcn-navy); border: 0; }
.vsub .fchip { border-color: var(--bcn-line); color: #586579; }
.vsub .fchip[aria-pressed="true"] { color: var(--bcn-ink); border-color: #94a3b8; background: #f8fafc; }
.vrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f1f5f9; cursor: pointer; }
.vrow:first-child { border-top: 0; }
.eye { flex: none; width: 34px; height: 30px; border-radius: 8px; border: 1px solid var(--bcn-line); background: #fff; color: #586579; display: grid; place-items: center; cursor: pointer; padding: 0; }
.eye svg { width: 17px; height: 17px; }
.eye[aria-pressed="true"] { color: var(--bcn-navy); border-color: var(--bcn-navy); background: #eff6ff; }
.eye:focus-visible { outline: 2px solid var(--bcn-navy); outline-offset: 2px; }
.nhelp { font-size: 11.5px; color: var(--bcn-muted); margin: -2px 0 4px; line-height: 1.4; }
.nhelp svg { width: 13px; height: 13px; vertical-align: -2px; color: var(--bcn-navy); }
.vsw { flex: none; width: 46px; display: grid; place-items: center; }
.vt { flex: 1; min-width: 0; line-height: 1.3; }
.vt b { display: block; font-size: 14px; font-weight: 700; color: var(--bcn-ink); }
.vt small { display: block; font-size: 11.5px; color: var(--bcn-muted); }
.vsub { margin: -2px 0 8px 58px; display: flex; flex-wrap: wrap; gap: 5px; }
.vsub[hidden] { display: none; }
.vsub .fchip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.co.sky, .co.bus { background: rgba(255,255,255,.95); box-shadow: 0 1px 4px rgba(15,23,42,.2); border-radius: 8px; padding: 3px 8px 4px; font-size: 11.5px; color: #334155; }
.co.sky { border-left: 3px solid var(--bcn-sky); }
.co.bus { border-left: 3px solid var(--bcn-bus); }
.co.car { border-left-color: #64748b; }
.co.sky b { font-size: 12.5px; font-weight: 800; display: inline; margin-right: 4px; }
.co.bus .nums { font-size: 12.5px; }
.co.sky .walk, .co.bus .walk { color: #0f172a; }
.bc-lbl.rt > span { font-size: 10.5px; font-weight: 800; color: #fff; background: #4d6b1f; border-radius: 4px; padding: 1px 4px; text-shadow: none; transform: translate(-50%, -50%); }
.am { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,.45); box-sizing: border-box; font: 700 13px/1 "Segoe UI Symbol", "Noto Sans Symbols", "Apple Symbols", "Noto Sans Devanagari", var(--bcn-font); }
.am .sym { font-size: 14px; line-height: 1; font-weight: 700; }
.am svg { width: 14px; height: 14px; shape-rendering: geometricPrecision; }
.am.sel { left: -15px; top: -15px; width: 30px; height: 30px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--bcn-ring), 0 2px 8px rgba(15,23,42,.3); }
.am.sel svg { width: 16px; height: 16px; }
.bc-lbl.am-l > span { color: #334155; font-weight: 600; font-size: 10.5px; transform: translate(12px, -50%); }
.bc-lbl.park-l > span { color: #166534; font-weight: 600; font-size: 10.5px; font-style: italic; transform: translate(-50%, -50%); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bcn-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 6px; border-radius: 15px; border: 1px solid var(--bcn-line); background: #fff;
  font: inherit; font-size: 12px; font-weight: 600; color: var(--bcn-slate); cursor: pointer; }
.bcn-chip i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 10px; opacity: .4; }
.bcn-chip i svg { width: 11px; height: 11px; }
.bcn-chip[aria-pressed="true"] { border-color: var(--bcn-ink); color: var(--bcn-ink); background: #f8fafc; }
.bcn-chip[aria-pressed="true"] i { opacity: 1; }
.label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.label-row .bcn-label { margin: 0; }
.allbtn { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--bcn-navy); cursor: pointer; padding: 2px 4px; border-radius: 6px; }
.allbtn:hover { background: #eff6ff; }
.allbtn:focus-visible { outline: 2px solid var(--bcn-navy); outline-offset: 2px; }
.faiths { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; padding: 8px; background: #fdf8ec; border-radius: 10px; }
.faiths[hidden] { display: none; }
.grocs { background: #f1f5f9; }
.grocs p { color: #334155; }
.grocs .fchip { border-color: #cbd5e1; }
.grocs .fchip[aria-pressed="true"] { color: #0f172a; border-color: #475569; background: #e2e8f0; }
.faiths p { width: 100%; margin: 0 0 2px; font-size: 11px; color: #854d0e; font-weight: 700; }
.fchip { height: 26px; padding: 0 9px; border-radius: 13px; border: 1px solid #ecd9a8; background: #fff; font: inherit; font-size: 11.5px; font-weight: 600; color: #586579; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.fchip span { font-size: 13px; line-height: 1; }
.fchip[aria-pressed="true"] { color: #713f12; border-color: #a16207; background: #fef3c7; }
.bcn-chip:focus-visible, .fchip:focus-visible { outline: 2px solid var(--bcn-navy); outline-offset: 2px; }
.co.near { border-left-color: var(--bcn-navy); padding: 8px 11px; pointer-events: auto; max-height: 46vh; overflow-y: auto; scrollbar-width: thin; white-space: normal; width: 340px; }
.co.near .nr { align-items: flex-start; line-height: 1.35; }
.co.near .nr i { margin-top: 1px; }
.co.near .nr > span > b { display: inline; max-width: none; overflow: visible; white-space: normal; }
.co.near .nr > span { flex: 1; min-width: 0; }
.nw { white-space: nowrap; }
.wsum { font-size: 12px; color: #334155; line-height: 1.45; margin: 0 0 7px; padding: 0 0 7px; border-bottom: 1px solid #eef2f7; white-space: normal; max-width: 420px; }
.wsum + .wsum { margin-top: -2px; }
.wsum b { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--bcn-navy); margin-bottom: 1px; }
.w10.w20 { font-weight: 700; }
.ringsvg { pointer-events: none; }
.ringsvg text { font: 700 11px var(--bcn-font); fill: var(--bcn-navy); letter-spacing: .03em; paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; }
.ringsvg.w20 text { font-size: 11px; }
@media (prefers-reduced-motion: no-preference) { .ringsvg.w10r { animation: rv .4s .25s both; } .ringsvg.w20 { animation: rv .4s .5s both; } }
@media (prefers-reduced-motion: no-preference) { .leaflet-pane path.walkc.w2 { animation: ringin .7s .35s ease both; } .w20 { animation: rv .4s .5s both; } }
.w10 { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); color: var(--bcn-navy); font: 700 10px/1 var(--bcn-font); white-space: nowrap; letter-spacing: .02em;
  text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff, 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff; }
.nhead { font-size: 11.5px; font-weight: 800; color: var(--bcn-ink); margin-bottom: 5px; }
.nhead span { font-weight: 500; color: var(--bcn-muted); }
.nr[data-i] { cursor: pointer; border-radius: 6px; margin-left: -4px; margin-right: -4px; padding: 1px 4px; }
.nr[data-i]:hover, .nr[data-i].on { background: #eff6ff; }
.nr[data-i]:focus-visible { outline: 2px solid var(--bcn-navy); }
.bc-trip { z-index: 950 !important; }
.trip { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 22px)); white-space: nowrap; font: 600 12px/1.35 var(--bcn-font); color: #334155; text-align: center;
  background: #fff; border-radius: 10px; padding: 5px 10px; box-shadow: 0 2px 10px rgba(15,23,42,.22); pointer-events: none; }
.trip b { display: block; font-size: 13px; color: var(--bcn-ink); }
.trip .walk { font-weight: 800; color: var(--bcn-ink); }
.co.near .nr { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.co.near .nr:first-child { margin-top: 0; }
.co.near .nr i { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 9px; }
.co.near .nr i svg { width: 10px; height: 10px; }
.co.near .nr b { display: inline-block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; font-size: 11.5px; }
.co.near .er { font-size: 9.5px; font-weight: 800; color: #dc2626; border: 1px solid #fecaca; background: #fef2f2; border-radius: 4px; padding: 0 3px; margin-left: 3px; }
@media (max-width: 720px) { .co { font-size: 11px; } .co.near { white-space: normal; width: 228px; } .co.near .nr { align-items: flex-start; } .co.near .nr b { max-width: 200px; } .co.sky, .co.bus { white-space: nowrap; font-size: 10.5px; padding: 3px 7px 3px; } .co.bus br, .co.sky br, .co.bus .stopn { display: none; } .co.bus:not(.car) .walk::before { content: " · "; } }
.co .stopn { color: var(--bcn-muted); font-size: 11px; }
.co.car { border-left-color: #64748b; }
.alegend[hidden] { display: none; }
.nearbox { display: none; position: absolute; z-index: 1000; top: 10px; left: 10px; right: 10px; background: #fff; border-radius: 12px; box-shadow: 0 4px 16px rgba(15,23,42,.18);
  padding: 8px 10px; border-left: 3px solid var(--bcn-navy); font-size: 11.5px; color: var(--bcn-slate); }
.nearbox.on { display: block; max-height: 34%; overflow-y: auto; }
.nearbox.mini > *:not(.nr.on):not(.backall) { display: none; }
.nearbox .backall { display: none; }
.nearbox.mini .backall { display: block; margin-top: 6px; border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 700; color: var(--bcn-navy); }
.nearbox .nr { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.nearbox .nr:first-child { margin-top: 0; }
.nearbox .nr i { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 9px; }
.nearbox .nr i svg { width: 10px; height: 10px; }
.nearbox .nr b { color: var(--bcn-ink); }
.nearbox .er { font-size: 9.5px; font-weight: 800; color: #dc2626; border: 1px solid #fecaca; background: #fef2f2; border-radius: 4px; padding: 0 3px; margin-left: 3px; }
.nearbox .stopn { color: var(--bcn-muted); }
.alegend { display: grid; gap: 6px; font-size: 12px; color: var(--bcn-slate); }
.alegend div { display: flex; align-items: center; gap: 8px; }
.alegend span.k { width: 22px; height: 14px; border-radius: 7px; flex: none; box-sizing: border-box; }
.welcome { position: absolute; z-index: 1100; left: 16px; top: 16px; width: 320px; max-width: calc(100% - 32px); box-sizing: border-box; background: #fff; border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 12px 36px rgba(15,23,42,.22); border-top: 4px solid var(--bcn-orange); }
.welcome[hidden] { display: none; }
.welcome .wk { margin: 0; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #b45309; }
.welcome h4 { margin: 4px 0 10px; font-size: 18px; font-weight: 800; color: var(--bcn-ink); }
.welcome ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 12.5px; color: var(--bcn-slate); }
.welcome li { display: flex; gap: 8px; align-items: baseline; } .welcome li b { color: var(--bcn-ink); }
.wi { flex: none; width: 10px; height: 10px; border-radius: 50%; transform: translateY(1px); } .wi.sk { background: var(--bcn-sky); } .wi.hc { background: #dc2626; } .wi.wor { background: #f59e0b; }
.welcome .wtx { margin: 0 0 12px; font-size: 12.5px; color: var(--bcn-slate); line-height: 1.45; } .welcome .wtx b { color: var(--bcn-ink); }
.welcome button { width: 100%; height: 40px; border: 0; border-radius: 12px; background: var(--bcn-navy); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .welcome { animation: rv .45s .3s both; } }
.hint { position: absolute; z-index: 1000; left: 50%; top: 14px; transform: translateX(-50%); background: var(--bcn-ink); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; box-shadow: 0 4px 14px rgba(15,23,42,.25); pointer-events: none; white-space: nowrap; transition: opacity .3s; }
.hint.gone { opacity: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.hide-btn { flex: none; border: 1px solid var(--bcn-line); background: #fff; font: inherit; font-size: 12px; font-weight: 600; color: var(--bcn-slate); border-radius: 999px; padding: 4px 11px; cursor: pointer; }
.reopen { position: absolute; z-index: 1020; top: 14px; right: max(14px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
  border: 1px solid var(--bcn-line); border-radius: 12px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--bcn-navy); cursor: pointer; box-shadow: 0 2px 10px rgba(15,23,42,.12); }
.bcn-sheet.closed { display: none; }
.reopen[hidden], .hint[hidden] { display: none; }
details.legend-box summary { cursor: pointer; list-style: none; }
details.legend-box summary::-webkit-details-marker { display: none; }
details.legend-box summary .bcn-label::after { content: " ▾"; }
details.legend-box:not([open]) summary .bcn-label::after { content: " ▸"; }
.ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.ico.sky { background: #e6f6f4; color: var(--bcn-sky-ink); }
.ico.bus { background: #eef6e2; color: #3f6212; }
.routes { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.routes li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; font-size: 12.5px; }
.routes .r { font-weight: 800; min-width: 34px; }
.routes .f { color: #3f6212; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.routes .f.slow { color: var(--bcn-muted); font-weight: 600; }
.routes .w { color: var(--bcn-muted); font-size: 11.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.cities { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.city { flex: none; height: 30px; padding: 0 11px; border-radius: 15px; border: 1px solid var(--bcn-line); background: #fff; font: inherit; font-size: 12px; font-weight: 600; color: var(--bcn-ink); cursor: pointer; }
.city:hover { background: #f8fafc; }
.foot { font-size: 10.5px; line-height: 1.4; color: var(--bcn-muted); margin: 0; }

.bc-lbl { background: none; border: 0; }
.bc-lbl > span { position: absolute; left: 0; top: 0; transform: translate(8px, -50%); white-space: nowrap; font-family: var(--bcn-font); font-size: 11px; font-weight: 700;
  color: var(--bcn-sky-ink); pointer-events: none; text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff; }
.bc-lbl.stop > span { font-size: 10.5px; font-weight: 600; color: #3f6212; }
.bc-lbl.bc-hide { display: none; }
.bc-lbl.bc-under { visibility: hidden; }
.bc-co { z-index: 900 !important; }
@keyframes rv { from { opacity: 0; transform: translateY(4px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ringin { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,78,140,.45); } 100% { box-shadow: 0 0 0 18px rgba(30,78,140,0); } }
@media (prefers-reduced-motion: no-preference) {
  .rv { animation: rv .38s cubic-bezier(.2,.8,.2,1) both; }
  .leaflet-pane path.walkc { animation: ringin .6s ease both; }
  .w10 { animation: rv .4s .25s both; }
  .pin { animation: pulse 1.4s ease-out 2; }
  .am.sel { animation: rv .35s .3s both; }
  .nearbox.on .nr, .nearbox.on .wsum { animation: rv .35s both; }
}
.lineLbls { position: absolute; inset: 0; z-index: 650; pointer-events: none; }
.ll { position: absolute; white-space: nowrap; background: rgba(255,255,255,.96); border-radius: 8px; padding: 3px 8px 4px; font: 500 11.5px/1.3 var(--bcn-font); color: #475569;
  box-shadow: 0 1px 4px rgba(15,23,42,.2); border-left: 3px solid var(--bcn-c); }
.ll .n { color: var(--bcn-ink); font-weight: 700; } .ll .t { color: var(--bcn-ink); font-weight: 700; }
.ll .stopn { color: #586579; font-size: 10.5px; } .ll .er { font-size: 9.5px; font-weight: 800; color: #dc2626; margin-left: 3px; }
.ll .ar { font-style: normal; font-weight: 800; color: var(--bcn-c); margin: 0 3px; font-size: 13px; }
.ll.edge { border-left-width: 0; border-right: 3px solid var(--bcn-c); background: rgba(255,255,255,.98); }
.bc-cap { z-index: 940 !important; }
.cap { position: absolute; left: 0; top: 0; transform: translate(-50%, 20px); white-space: normal; width: max-content; max-width: 280px; background: var(--bcn-navy); color: #fff; border-radius: 10px; padding: 4px 9px 5px;
  font: 500 11px/1.4 var(--bcn-font); box-shadow: 0 2px 8px rgba(30,78,140,.35); text-align: left; }
.cap b { font-weight: 800; color: var(--bcn-orange); }
@media (max-width: 720px) { .ll { font-size: 10.5px; padding: 2px 6px 3px; } .ll .stopn, .ll .er { display: none; } .cap { font-size: 10px; max-width: 190px; } }
@media (prefers-reduced-motion: no-preference) { .ll { animation: rv .35s both; } .leaflet-pane path.pl { animation: ringin .5s .15s both; } .cap { animation: capin .4s .2s both; } @keyframes capin { from { opacity: 0; } to { opacity: 1; } } }
.hint { display: none !important; }
.whenhelp { margin: 6px 0 0; font-size: 11.5px; color: var(--bcn-muted); line-height: 1.45; } .whenhelp b { color: var(--bcn-ink); }
.disc { margin: 4px 0 0; font-size: 11px; color: var(--bcn-muted); line-height: 1.4; font-style: italic; }
.chipbar { position: absolute; z-index: 1015; top: 12px; left: 12px; right: 372px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; }
.chipbar::-webkit-scrollbar { display: none; }
.mc { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 6px; border-radius: 18px; border: 1px solid var(--bcn-line); background: #fff; color: var(--bcn-ink);
  font: 600 13px var(--bcn-font); box-shadow: 0 2px 8px rgba(15,23,42,.12); cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.mc i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; flex: none; }
.mc i svg { width: 14px; height: 14px; }
.mc .cv { font-size: 10px; color: var(--bcn-muted); margin-left: -2px; }
.mc:hover { transform: translateY(-1px); }
.mc.na { opacity: .45; }
.mc.na:hover { transform: none; }
.csep { flex: none; width: 1px; align-self: stretch; margin: 7px 2px; background: rgba(15,23,42,.18); }
#when-wrap.dim { opacity: .45; }
.mc[aria-pressed="true"] { background: var(--bcn-orange); border-color: #e0910a; font-weight: 700; box-shadow: 0 2px 10px rgba(245,162,10,.4); }
.mc[aria-pressed="true"] .cv { color: var(--bcn-ink); }
.mc:focus-visible, .ddi:focus-visible { outline: 2px solid var(--bcn-navy); outline-offset: 2px; }
.dd { position: absolute; z-index: 1030; width: 250px; background: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgba(15,23,42,.25); padding: 8px; }
.dd[hidden] { display: none; }
.ddh { margin: 2px 6px 6px; font: 800 13px var(--bcn-font); color: var(--bcn-ink); } .ddh span { font-weight: 500; color: var(--bcn-muted); font-size: 11.5px; margin-left: 4px; }
.ddi { width: 100%; display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 8px; border: 0; border-radius: 10px; background: none; font: 600 13px var(--bcn-font); color: var(--bcn-ink); cursor: pointer; text-align: left; }
.ddi:hover { background: #f8fafc; }
.ddi[aria-pressed="true"] { background: #fff7e6; font-weight: 700; }
.ddi .dot { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: 10px; color: #fff; }
.ddi .ck { margin-left: auto; color: #b45309; }
.ddf { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; padding: 6px 4px 2px; border-top: 1px solid var(--bcn-line); }
.ddf button { border: 0; background: none; font: 700 12.5px var(--bcn-font); color: var(--bcn-navy); cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.ddf .ddoff { color: #586579; } .ddf .dddone { background: var(--bcn-navy); color: #fff; padding: 6px 14px; }
.bcn-toast { position: absolute; z-index: 1030; top: 58px; left: 50%; transform: translateX(-50%); background: var(--bcn-ink); color: #fff; font: 600 12.5px var(--bcn-font); padding: 7px 14px; border-radius: 999px; box-shadow: 0 4px 14px rgba(15,23,42,.3); white-space: nowrap; }
.bcn-toast[hidden] { display: none; }
.bcn-toast.low { top: auto; bottom: 24px; left: calc((100% - 368px) / 2); }
@media (max-width: 720px) { .bcn-toast { white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 32px); box-sizing: border-box; border-radius: 14px; font-size: 12px; line-height: 1.35; } }
.lcard { position: absolute; z-index: 1012; left: 64px; bottom: 22px; width: 340px; max-height: calc(100% - 110px); overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; background: #fff; border-radius: 16px; padding: 12px 14px 12px; box-shadow: 0 12px 32px rgba(15,23,42,.22); border-top: 4px solid var(--bcn-navy); }
.lcard[hidden] { display: none; }
.lcard::after { display: none; content: ""; position: absolute; left: var(--bcn-ax, 50%); bottom: -7px; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; box-shadow: 4px 4px 6px rgba(15,23,42,.08); }
.lcard.below::after { bottom: auto; top: -10px; background: var(--bcn-navy); box-shadow: none; }
.lcard.pop { animation: lpop .22s ease-out; }
.lsite { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: #f1f5f9; color: #586579; font-size: 10px; font-weight: 600; }
.wn { border-top: 1px solid var(--bcn-line); margin-top: 8px; padding-top: 8px; }
.wnh { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 4px; }
.wnh b { font: 800 13.5px var(--bcn-font); color: var(--bcn-ink); } .wnh span { font-size: 10.5px; color: var(--bcn-muted); }
.wr { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 9px; width: 100%; padding: 6px 6px; margin: 0 -6px; width: calc(100% + 12px); border: 0; background: none; border-radius: 10px; text-align: left; cursor: pointer; font: inherit; color: var(--bcn-ink); }
.wr:hover { background: #f8fafc; }
.wr[aria-pressed="true"] { background: #fff6e0; box-shadow: inset 3px 0 0 var(--bcn-orange); }
.wr > i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; }
.wr > i svg { width: 14px; height: 14px; }
.wr .wt2 { min-width: 0; line-height: 1.25; }
.wr .wk { display: block; font-size: 10.5px; font-weight: 700; color: var(--bcn-muted); letter-spacing: .02em; }
.wr .wv { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wr .wv small { font-weight: 600; color: var(--bcn-muted); font-size: 11.5px; }
.wtime { text-align: right; line-height: 1.1; white-space: nowrap; }
.wtime b { display: block; font: 800 14px var(--bcn-font); color: var(--bcn-navy); }
.wtime span { font-size: 10.5px; color: var(--bcn-muted); font-weight: 600; }
.wtime.car b { color: #475569; }
.wsec { margin: 8px 0 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bcn-muted); }
.wchips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.wc { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 10px; border: 1px solid var(--bcn-line); background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--bcn-ink); min-width: 0; }
.wc:hover { border-color: #cbd5e1; }
.wc[aria-pressed="true"] { border-color: #e0910a; background: #fff6e0; }
.wc > i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; line-height: 1; }
.wc > i svg { width: 13px; height: 13px; }
.wc .wcn { display: block; font-size: 10.5px; font-weight: 700; color: var(--bcn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc .wct { display: block; font-size: 12.5px; font-weight: 800; color: var(--bcn-ink); white-space: nowrap; }
.wc .wct small { color: var(--bcn-muted); } .wc .wct small svg { vertical-align: -1px; }
.wc.none { opacity: .45; cursor: default; }
.wc > span { min-width: 0; }
.wfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.wfoot small { font-size: 10.5px; color: var(--bcn-muted); line-height: 1.3; }
.wdetail { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 18px; background: var(--bcn-orange); color: var(--bcn-ink); font: 800 13px var(--bcn-font); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(245,162,10,.35); }
.wdetail svg { width: 15px; height: 15px; }
.lcard.small { width: 320px; padding: 10px 12px 10px; }
.scrow { display: flex; align-items: center; gap: 10px; }
.scb { flex: 1; display: flex; align-items: center; gap: 7px; min-width: 0; } .scb svg { flex: none; }
.scb > span { min-width: 0; } .scrow .scb b { white-space: normal; line-height: 1.15; } .scrow .scb small { overflow: hidden; text-overflow: ellipsis; }
.scb svg text { font: 800 12px var(--bcn-font); fill: var(--bcn-ink); }
.scb b { display: block; font: 800 12px var(--bcn-font); color: var(--bcn-ink); }
.scb small { display: block; font-size: 10px; color: var(--bcn-muted); line-height: 1.2; }
.scq { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--bcn-line); background: #fff; color: var(--bcn-muted); font: 800 11px var(--bcn-font); cursor: pointer; }
.scinfo { margin: 6px 0 0; padding: 7px 8px; background: #f8fafc; border-radius: 8px; font-size: 10.5px; color: var(--bcn-slate); line-height: 1.4; }
.scinfo[hidden] { display: none; }
.wtiles { display: grid; gap: 1px; margin-top: 6px; }
.wl { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; width: calc(100% + 8px); margin: 0 -4px; padding: 4px; border: 0; border-radius: 8px; background: none; cursor: pointer; font: inherit; color: var(--bcn-ink); text-align: left; }
.wl:hover { background: #f8fafc; } .wl[aria-pressed="true"] { background: #fff6e0; box-shadow: inset 3px 0 0 var(--bcn-orange); }
.wl > i, .wdet > i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; } .wl > i svg, .wdet > i svg { width: 12px; height: 12px; }
.wln { min-width: 0; line-height: 1.2; } .wln b, .wdet b { display: block; font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wln small, .wdet small { display: block; font-size: 10px; color: var(--bcn-muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wlt { font: 800 12.5px var(--bcn-font); color: var(--bcn-navy); white-space: nowrap; } .wlt svg { width: 10px; height: 10px; color: #586579; vertical-align: 0; }
.wsec2 { margin: 7px 0 3px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bcn-muted); }
.wf.sel { box-shadow: 0 0 0 2px var(--bcn-navy) inset; }
.wdet > span:nth-child(2) { min-width: 0; line-height: 1.2; }
.wdet { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 6px; padding: 5px 6px; background: #f8fafc; border-radius: 9px; }
.wt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px 5px; border: 1px solid var(--bcn-line); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; color: var(--bcn-ink); min-width: 0; }
.wt > i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; } .wt > i svg { width: 12px; height: 12px; }
.wt b { font: 800 13px var(--bcn-font); line-height: 1.1; margin-top: 2px; } .wt b small { font-size: 9px; font-weight: 700; color: var(--bcn-muted); margin-left: 1px; }
.wt > span { font-size: 9.5px; color: var(--bcn-muted); font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wt > em { position: absolute; top: 3px; right: 4px; color: #586579; font-style: normal; line-height: 0; } .wt > em svg { width: 10px; height: 10px; }
.wt[aria-pressed="true"], .wf[aria-pressed="true"] { border-color: #e0910a; background: #fff6e0; }
.wfaith { display: flex; gap: 4px; flex-wrap: nowrap; }
.wf { flex: 1 1 0; max-width: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 28px; padding: 0 2px; border: 1px solid var(--bcn-line); border-radius: 14px; background: #fff; cursor: pointer; font: 800 11.5px var(--bcn-font); color: var(--bcn-ink); min-width: 0; }
.wf > i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; line-height: 1; flex: none; }
.wf small { font-size: 9px; color: var(--bcn-muted); font-weight: 700; } .wf small svg { width: 9px; height: 9px; vertical-align: -1px; }
.wfoot2 { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }
.wfoot2 span { font-size: 10px; color: var(--bcn-muted); }
.wdetail2 { border: 0; background: none; padding: 4px 0; font: 800 12.5px var(--bcn-font); color: var(--bcn-navy); cursor: pointer; }
.wfaith { overflow-x: auto; scrollbar-width: none; margin-top: 6px; padding-bottom: 1px; } .wfaith::-webkit-scrollbar { display: none; }
.wf { flex: none !important; max-width: none !important; padding: 0 7px 0 3px !important; }
.wtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 8px 0 4px; padding: 4px; background: #eef2f7; border-radius: 14px; }
.wtab { display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; border: 0; border-radius: 11px; background: transparent; font: 800 13.5px var(--bcn-font); color: var(--bcn-slate); cursor: pointer; transition: background .15s, box-shadow .15s; }
.wtab > i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; } .wtab > i svg { width: 12px; height: 12px; }
.wtab[aria-selected="true"] { background: var(--bcn-orange); color: var(--bcn-ink); box-shadow: 0 2px 8px rgba(245,162,10,.45); }
.wtab:not([aria-selected="true"]):hover { background: #fff; }
@media (max-width: 720px) { .wtab { height: 40px; font-size: 13px; gap: 6px; } .wtabs { margin: 6px 0 3px; } }
.srate { font: 800 11px var(--bcn-font); letter-spacing: -.01em; line-height: 1; }
.scap { display: inline-grid; line-height: 0; } .scap svg { width: 13px; height: 13px; }
/* school pins match the live site's school map: rounded tag, cap icon, rating */
.am:has(.srate) { width: auto !important; height: 22px !important; padding: 0 7px 0 6px; border-radius: 7px !important; display: inline-flex !important; align-items: center; gap: 4px; border: 2px solid #fff !important; box-shadow: 0 2px 6px rgba(15,23,42,.28) !important; }
.wl > i .scap, .wf > i .scap { display: none; }
.wln b .ck { color: #2e8a4e; }
/* "See in detail": always visible at the bottom of the card, with a gentle nudging arrow */
.wfoot2 { position: sticky; bottom: -10px; z-index: 2; margin: 6px -12px -10px !important; padding: 8px 12px 10px; background: linear-gradient(rgba(255,255,255,0), #fff 30%); border-radius: 0 0 16px 16px; }
.wdetail2 { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px !important; border-radius: 17px; background: var(--bcn-orange) !important; color: var(--bcn-ink) !important; box-shadow: 0 3px 10px rgba(245,162,10,.45); font: 800 13px var(--bcn-font) !important; }
.warr { font-style: normal; display: inline-block; }
@keyframes nudge { 0%, 60%, 100% { transform: translateX(0); } 30% { transform: translateX(5px); } }
@keyframes glow { 0%, 100% { box-shadow: 0 3px 10px rgba(245,162,10,.45), 0 0 0 0 rgba(245,162,10,.5); } 50% { box-shadow: 0 3px 10px rgba(245,162,10,.45), 0 0 0 6px rgba(245,162,10,0); } }
@media (prefers-reduced-motion: no-preference) { .warr { animation: nudge 1.6s ease-in-out infinite; } .wdetail2 { animation: glow 2.4s ease-out infinite; } }
@media (max-width: 720px) { .wfoot2 { justify-content: space-between !important; } .wfoot2 span { display: inline !important; font-size: 10px; } .wdetail2 { height: 32px; font-size: 12.5px !important; } }
/* ===== calm, professional card (one strong accent: the See in detail button) */
.ts { display: none; }
.wtabs { padding: 3px !important; border-radius: 12px !important; background: #f1f5f9 !important; }
.wtab { white-space: nowrap; height: 36px !important; color: #586579 !important; font-size: 13px !important; }
.wtab[aria-selected="true"] { background: #fff !important; color: var(--bcn-navy) !important; box-shadow: 0 1px 4px rgba(15,23,42,.14), inset 0 -3px 0 var(--bcn-orange) !important; animation: none !important; }
.wtab > i { width: 20px !important; height: 20px !important; }
.wl[aria-pressed="true"] { background: transparent !important; box-shadow: inset 3px 0 0 var(--bcn-orange) !important; }
.wl[aria-pressed="true"] .wln b { color: var(--bcn-navy); }
.wf[aria-pressed="true"] { background: #fffaf0 !important; }
.wdetail2 { white-space: nowrap; }
.scb b, .scb small { white-space: nowrap; }
.lyseg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 2px 8px 4px 36px; padding: 3px; background: #f1f5f9; border-radius: 10px; }
.lyseg button { height: 28px; border: 0; border-radius: 8px; background: transparent; font: 700 11.5px var(--bcn-font); color: #586579; cursor: pointer; white-space: nowrap; }
.lyseg button[aria-pressed="true"] { background: #fff; color: var(--bcn-navy); box-shadow: 0 1px 3px rgba(15,23,42,.15); }
@media (max-width: 720px) {
  .bcn-sheet { display: none !important; }                       /* the old "More options" bar: everything now lives in the yellow button */
  .lcard.small { bottom: calc(30px + env(safe-area-inset-bottom, 0px)) !important; max-height: 44% !important; padding: 10px 12px 0 !important; }
  .ll { font-size: 10.5px !important; line-height: 1.2 !important; padding: 2px 6px 2px !important; border-radius: 7px !important; max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
  .ll .ld, .ll .stopn, .ll .er { display: none !important; }
  .co.sky, .co.bus { max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
  .co.sky b + * { } .co.sky .lnm { display: none; }
  .cap:not(:has(.capsc)) { display: none !important; }
  .rt { font-size: 9.5px !important; padding: 1px 5px !important; opacity: .9; }
  .lyseg { margin: 2px 4px 4px !important; } .lyseg button { font-size: 10.5px !important; height: 26px !important; padding: 0 2px; }
  .samplechip { font-size: 10px !important; padding: 3px 8px !important; }
  .leaflet-control-attribution { font-size: 9px !important; }
  .tl { display: none; } .ts { display: inline; }
  .wtab { height: 34px !important; font-size: 13px !important; gap: 6px !important; }
  .scrow { gap: 8px !important; } .scb { gap: 6px !important; } .scb svg { width: 28px !important; height: 28px !important; } .scb b { font-size: 12.5px !important; }
  .wfoot2 span { display: none !important; } .wfoot2 { justify-content: flex-end !important; padding: 6px 12px 10px !important; }
  .wdetail2 { height: 32px !important; padding: 0 14px !important; font-size: 13px !important; }
  .wl > i.srb { width: 24px !important; height: 24px !important; font-size: 10.5px !important; } .wl > i.srb.nr { font-size: 8.5px !important; } .wl { grid-template-columns: 24px minmax(0,1fr) auto !important; padding: 1px 4px !important; gap: 8px !important; }
  .wl > i:not(.srb) { width: 22px !important; height: 22px !important; margin: 1px !important; } .wl > i svg { width: 12px !important; height: 12px !important; }
  .wln b { font-size: 12.5px !important; } .wlt { font-size: 12px !important; }
  .wfaith { margin-top: 4px !important; } .wf { height: 24px !important; }
  .wfoot2 { padding: 4px 12px 8px !important; margin-top: 2px !important; }
  .wtabs { margin: 5px 0 3px !important; } .scrow { margin-top: -2px; }
  .wsrc { font-size: 9px !important; margin: 0 0 3px 34px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lyseg { margin-left: 5px; }
  .lcard .lpr { font-size: 18px !important; } .lcard .lsm { font-size: 10.5px !important; }
}
/* school rating badge: a real, readable rating circle */
.wl > i.srb { width: 28px !important; height: 28px !important; font: 800 11.5px var(--bcn-font) !important; letter-spacing: -.02em; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(15,23,42,.25) !important; }
.wl { grid-template-columns: 28px minmax(0,1fr) auto !important; }
.wl > i.srb.nr { font-size: 9.5px !important; letter-spacing: .02em; }
.nrk { font-style: normal; font: 700 10px var(--bcn-font); color: #586579; background: #f1f5f9; border-radius: 6px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }
/* consistent, calm icon set: same size, white ring, brand-safe colours */
.wl > i:not(.srb) { width: 26px !important; height: 26px !important; margin: 1px; }
.wl > i svg { width: 14px !important; height: 14px !important; }
.am.tapme { cursor: pointer; }
.am.tapme.open { outline: 3px solid var(--bcn-ink); outline-offset: 1px; }
.leaflet-amen-pane .am.tapme::after { content: ""; position: absolute; inset: -10px; }
.ll .ctag { display: block; margin: 0 0 1px; font: 700 7px/1.1 var(--bcn-font); letter-spacing: .06em; text-transform: uppercase; color: #4b7a63; opacity: .85; margin: 0 0 1px !important; }
.amtip { position: absolute; z-index: 700; pointer-events: none; background: #fff; border-radius: 10px; padding: 6px 10px 7px; box-shadow: 0 4px 16px rgba(15,23,42,.18), 0 0 0 1px rgba(15,23,42,.06); font: 500 11px/1.3 var(--bcn-font); color: #475569; max-width: 240px; animation: amtipIn .14s ease-out; }
.amtip b { display: block; font-size: 12.5px; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amtip small { display: block; font-size: 10.5px; color: #586579; } .amtip .amd { display: block; margin-top: 2px; font-weight: 700; color: var(--bcn-navy); font-size: 11px; }
@keyframes amtipIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.am { cursor: pointer; }
.lp.oh::before { content: ""; position: absolute; top: -5px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--bcn-orange); border: 2px solid #fff; box-shadow: 0 0 0 .5px rgba(15,23,42,.15); }
.loh { display: flex; align-items: center; gap: 7px; margin: 6px 12px 0; padding: 6px 10px; border-radius: 9px; background: var(--bcn-accent-soft); color: #7a5410; font: 600 12.5px var(--bcn-font); }
.loh i, .fnote .ohdot { width: 8px; height: 8px; border-radius: 50%; background: var(--bcn-orange); flex: none; display: inline-block; }
.lyseg.three { grid-template-columns: repeat(3, 1fr) !important; }
.floc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .floc label { display: grid; gap: 4px; font: 600 12px var(--bcn-font); color: #586579; min-width: 0; }
.floc select { height: 40px; min-width: 0; padding: 0 10px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; font: 600 13.5px var(--bcn-font); color: var(--bcn-ink); }
.floc select:disabled { background: #f8fafc; color: #586579; }
.frh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .frh b { font: 700 13px var(--bcn-font); color: var(--bcn-navy); text-align: right; }
.fsl { position: relative; height: 34px; margin: 2px 6px 0; }
.fsl .ftrack { position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 2px; background: #e2e8f0; } .fsl .ftrack u { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: #cbd5e1; } .fsl .ftrack u.on { background: var(--bcn-navy); }
.fsl input[type=range] { position: absolute; left: -6px; right: -6px; width: calc(100% + 12px); top: 0; height: 34px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.fsl input[type=range]::-webkit-slider-runnable-track { background: none; height: 34px; } .fsl input[type=range]::-moz-range-track { background: none; }
.fsl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 5px; border-radius: 50%; background: #fff; border: 2px solid var(--bcn-navy); box-shadow: 0 1px 4px rgba(15,23,42,.2); cursor: pointer; }
.fsl input[type=range]::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--bcn-navy); box-shadow: 0 1px 4px rgba(15,23,42,.2); cursor: pointer; }
.fsl input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid rgba(245,162,10,.6); }
.lp.exp { background: rgba(100,116,139,.85) !important; } .lsw.exp { background: #64748b; }
.ohsw { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1.5px solid #e2e8f0; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; font-family: var(--bcn-font); }
.ohsw span { flex: 1; min-width: 0; } .ohsw b { display: block; font: 700 14px var(--bcn-font); color: var(--bcn-ink); } .ohsw small { display: block; font: 500 12px var(--bcn-font); color: #586579; margin-top: 1px; }
.ohsw .ohdot { width: 10px; height: 10px; } .ohsw[aria-pressed="true"] { border-color: #f1d49a; background: var(--bcn-accent-soft); }
.ohsw .sw { flex: none; position: relative; width: 38px; height: 22px; border-radius: 11px; background: #cbd5e1; transition: background .2s; } .ohsw .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.ohsw[aria-pressed="true"] .sw { background: var(--bcn-orange); } .ohsw[aria-pressed="true"] .sw::after { transform: translateX(16px); }
.ohwhen { margin-top: 8px; }
.ohbar { position: absolute; z-index: 1000; left: 12px; top: 62px; display: flex; align-items: center; max-width: calc(100% - 100px); background: #fff; border: 1px solid #f1d49a; border-radius: 18px; box-shadow: 0 2px 10px rgba(15,23,42,.12); font-family: var(--bcn-font); }
.ohbar[hidden], body.fopen .ohbar, body.measuring .ohbar { display: none !important; }
.ohb-t { display: flex; align-items: center; gap: 7px; min-width: 0; height: 36px; padding: 0 4px 0 12px; border: 0; background: none; cursor: pointer; font: 600 12.5px var(--bcn-font); color: var(--bcn-ink); white-space: nowrap; }
.ohb-t b { font-weight: 700; } .ohb-t span { color: #586579; overflow: hidden; text-overflow: ellipsis; } .ohb-x { flex: none; width: 34px; height: 36px; border: 0; background: none; color: #586579; font-size: 13px; cursor: pointer; }
@media (min-width: 1101px) { .ohbar { display: none !important; } }   /* laptop: the top-row chip already shows it */
.ohbar .ohdot { width: 8px; height: 8px; border-radius: 50%; background: var(--bcn-orange); flex: none; display: inline-block; }
.ohb-t span { flex: none; padding: 1px 7px; border-radius: 9px; background: var(--bcn-accent-soft); color: #7a5410 !important; font-weight: 700; }
.fnote { margin: 8px 0 0; font: 500 12px var(--bcn-font); color: #586579; display: flex; align-items: center; gap: 6px; }
.lp.seen::after { content: "\2713"; position: absolute; top: -7px; right: -7px; width: 15px; height: 15px; border-radius: 50%; background: #fff; color: var(--bcn-navy); font: 900 9.5px/15px var(--bcn-font); text-align: center; box-shadow: 0 1px 3px rgba(15,23,42,.35); }
.lp.on.seen::after { display: none; }
.wseen { margin: 0 0 6px; font: 600 11.5px/1.35 var(--bcn-font); color: #475569; } .wseen i { font-style: normal; display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 4px; border-radius: 50%; background: var(--bcn-navy); color: #fff; font-size: 9px; vertical-align: 1px; }
.wseen .pdn { color: #c2410c; } .wseen .pup { color: #475569; }
.wdetail2 svg { width: 16px; height: 16px; flex: none; }
.wfoot2 .wshare { display: inline-flex !important; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 12px; border-radius: 17px; border: 1.5px solid #c7d4e6; background: #fff; color: var(--bcn-navy); font: 800 13px var(--bcn-font); cursor: pointer; }
.wfoot2 .wshare svg { width: 15px; height: 15px; } .wfoot2 .wshare span { display: inline !important; font-size: inherit !important; color: inherit !important; }
@media (max-width: 720px) { .wfoot2 { justify-content: space-between !important; } .wfoot2 .wshare { height: 32px; font-size: 12.5px; } }
.mhint { font-style: normal; position: absolute; right: 4px; bottom: calc(100% + 8px); background: var(--bcn-navy); color: #fff; font: 700 11.5px var(--bcn-font); padding: 6px 10px; border-radius: 9px; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 12px rgba(15,23,42,.25); animation: mhintIn .3s ease-out both, mhintOut .4s ease-in 5.2s forwards; }
.mhint::after { content: ""; position: absolute; right: 26px; top: 100%; border: 6px solid transparent; border-top-color: var(--bcn-navy); }
@media (prefers-reduced-motion: no-preference) { .mhint { animation: mhintIn .3s ease-out both, mhintBob 1.2s ease-in-out .3s 4, mhintOut .4s ease-in 5.2s forwards; } }
@keyframes mhintIn { from { opacity: 0; transform: translateY(4px); } } @keyframes mhintOut { to { opacity: 0; visibility: hidden; } } @keyframes mhintBob { 50% { transform: translateY(-3px); } }
.ll .ctag.far { color: #8592a3; } .ll .ctag.uct { color: #6d28d9; }
.co .ctag { display: block; margin: 0 0 1px; font: 700 7px/1.1 var(--bcn-font); letter-spacing: .06em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.co .ar { font-style: normal; margin-left: 5px; color: var(--bcn-orange); font-weight: 800; }
.co.edge .ln, .co.edge + .ln { display: none; }
.co .ctag.sk { color: #3f7f78; } .co .ctag.bs { color: #6a7f4a; }
/* TRAVEL CARDS (owner, Nov 22: "match the colour of the travel line and the info card", "minimal, colour on the outline only",
   "give it life and point to something"): white cards, a thin outline in the line's own colour, dark text, a small pointer
   toward the place, and one soft glow of the outline when the card appears. */
.ll, .ll.edge { background: #fff !important; border: 1.5px solid var(--bcn-c) !important; box-shadow: 0 1px 3px rgba(15,23,42,.12) !important; overflow: visible !important; }
.ll .n, .ll .t { color: var(--bcn-ink) !important; }
.ll.pl::before, .ll.pr::before { content: ""; position: absolute; top: var(--py, 50%); width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--bcn-c); transform: translateY(-50%) rotate(45deg); }
.ll.pl::before { left: -5px; border-top: 0; border-right: 0; }
.ll.pr::before { right: -5px; border-bottom: 0; border-left: 0; }
.ll.fresh { animation: rv .35s both, llGlow 1.4s .45s ease-out 2 !important; }
@keyframes llGlow { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bcn-c) 45%, transparent), 0 1px 3px rgba(15,23,42,.12); } 100% { box-shadow: 0 0 0 7px transparent, 0 1px 3px rgba(15,23,42,.12); } }
@media (prefers-reduced-motion: reduce) { .ll.fresh { animation: none !important; } }
.co.sky, .co.bus:not(.car), .co.car { border: 1.5px solid !important; }
.co.sky { border-color: #0f766e !important; } .co.bus:not(.car) { border-color: #4d6b1f !important; } .co.car { border-color: #64748b !important; }
.co .ctag.sk { color: #0f766e; } .co .ctag.bs { color: #4d6b1f; }
.trip { border: 1.5px solid var(--trip, #1e4e8c) !important; background: #fff !important; }
/* the card's Close button sits above the drag bar (Nov 22 phone check: the drag bar covered its top half) */
.lcard .lx { z-index: 7 !important; }
/* phones: no "See it all on the map" bubble; it covered the card text, and the gold Show on map button already says it */
@media (max-width: 720px) { .mhint { display: none !important; } }
.co.sky, .co.bus { line-height: 1.25; }
.ll { line-height: 1.25; padding-top: 3px; padding-bottom: 3px; }
.am.tstop svg { width: 14px; height: 14px; }
/* all sizes: the yellow button is the only control panel */
.bcn-sheet { display: none !important; }
.bcn-fab { right: 14px !important; } .fabhint { right: 74px !important; } .lymenu { right: 14px !important; }
.bcn-toast.low { left: 50% !important; }
@media (min-width: 721px) { .lymenu { width: 300px; } }
/* welcome box: always closable, never taller than the screen */
.welcome { max-height: min(calc(100% - 24px), 70vh); overflow-y: auto; overscroll-behavior: contain; }
.welcome .wlx { width: 32px !important; height: 32px !important; padding: 0; border-radius: 50% !important; background: #f1f5f9 !important; color: #475569 !important; font-size: 20px !important; font-weight: 600 !important; display: grid; place-items: center; }
.wlx { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f5f9; color: var(--bcn-slate); font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }

@media (max-width: 720px) {
  .welcome { top: 10px !important; left: 10px !important; right: 10px; width: auto !important; max-width: none; padding: 12px 14px 12px !important; max-height: min(calc(100% - 20px), 62vh) !important; }
  .welcome .wk { font-size: 10.5px !important; margin: 0 40px 2px 0 !important; } .welcome h4 { font-size: 18px !important; margin: 2px 40px 6px 0 !important; }
  .welcome ul { margin: 0 0 6px !important; } .welcome li { font-size: 13px !important; line-height: 1.35 !important; margin-bottom: 4px !important; } .welcome .wtx { font-size: 12.5px !important; margin: 4px 0 8px !important; }
}
.wsrc { margin: 1px 0 4px 34px; font-size: 9.5px; line-height: 1.3; color: var(--bcn-muted); }
@media (max-width: 720px) { .wsrc { margin-left: 30px; font-size: 9px; } }
.wflood { display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: center; gap: 8px; width: 100%; margin: 7px 0 0; padding: 5px 8px; border: 1px solid #bfdbfe; border-radius: 10px; background: #eff6ff; cursor: pointer; text-align: left; font: inherit; color: var(--bcn-ink); }
.wflood > i { width: 20px; height: 20px; border-radius: 50%; background: #2563eb; color: #fff; font: 800 12px var(--bcn-font); font-style: normal; display: grid; place-items: center; }
.wflood b { display: block; font-size: 12px; font-weight: 800; color: #1e3a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wflood small { display: block; font-size: 10px; color: var(--bcn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wflood em { font-style: normal; font: 800 11.5px var(--bcn-font); color: #2563eb; }
.fico { background: repeating-linear-gradient(135deg, #2563eb 0 2px, #dbeafe 2px 5px) !important; border: 1.5px dashed #2563eb; box-sizing: border-box; }
@media (max-width: 720px) { .lyr .fico { display: grid !important; width: 20px; height: 20px; } .lyr .lyx.fx { display: none; } }
.fack { position: absolute; inset: 0; z-index: 1040; background: rgba(15,23,42,.45); display: grid; place-items: center; padding: 16px; box-sizing: border-box; }
.fack[hidden] { display: none; }
.fbox { width: 100%; max-width: 360px; background: #fff; border-radius: 16px; padding: 16px 16px 14px; box-shadow: 0 20px 50px rgba(15,23,42,.35); font-size: 13px; color: var(--bcn-slate); line-height: 1.45; }
.fbox .fk { display: flex; align-items: center; gap: 8px; margin: 0; font: 800 11px var(--bcn-font); letter-spacing: .06em; text-transform: uppercase; color: #2563eb; }
.fbox .fk .fico { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.fbox h4 { margin: 4px 0 6px; font: 800 17px var(--bcn-font); color: var(--bcn-ink); } .fbox p { margin: 0 0 8px; }
.fchk { display: flex; align-items: flex-start; gap: 9px; margin: 10px 0 12px; padding: 9px 10px; border-radius: 10px; background: #eff6ff; border: 1px solid #bfdbfe; font-weight: 700; color: var(--bcn-ink); cursor: pointer; }
.fchk input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--bcn-orange); flex: none; }
.fbtn { display: flex; gap: 8px; justify-content: flex-end; }
.fbtn button { height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--bcn-line); background: #fff; font: 700 13px var(--bcn-font); color: var(--bcn-slate); cursor: pointer; }
.fbtn #fack-ok { background: var(--bcn-navy); color: #fff; border-color: var(--bcn-navy); } .fbtn #fack-ok:disabled { background: #cbd5e1; border-color: #cbd5e1; cursor: not-allowed; }
.fsym { width: 1.05em; height: 1.05em; display: block; }
.wf > i .fsym, .wl > i .fsym, .lysub .dot .fsym { width: 14px; height: 14px; } .am .fsym { width: 16px; height: 16px; } .mc i .fsym, .ddi .dot .fsym { width: 14px; height: 14px; }
.sico { background: var(--bcn-orange) !important; color: var(--bcn-ink) !important; font: 800 9.5px var(--bcn-font); }
.fbox .fk .sk2 { width: 18px; height: 18px; border-radius: 50%; display: inline-block; background: #2e8a4e; }
@media (max-width: 720px) { .lyr .sico { display: grid !important; width: 20px; height: 20px; } }
.aico { background: radial-gradient(circle, rgba(13,148,136,.55) 0 40%, rgba(77,107,31,.35) 41% 70%, rgba(77,107,31,.12) 71%) !important; border: 1.5px solid #0f766e; box-sizing: border-box; }
@media (max-width: 720px) { .lyr .aico { display: grid !important; width: 20px; height: 20px; } }
/* checklist: scrolling list + a footer that is always visible */
.lymenu { display: flex; flex-direction: column; overflow: hidden !important; padding: 0 !important; }
.lymenu[hidden] { display: none !important; }
.lyscroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px 8px 6px; }
.lyfoot { flex: none; padding: 6px 8px 8px; border-top: 1px solid var(--bcn-line); background: #fff; }
.lyfoot .lynote { display: block !important; margin: 0 2px 6px !important; }
.lyfoot .lydone { position: static !important; width: 100% !important; margin: 0 !important; border-radius: 12px !important; box-shadow: none !important; height: 40px !important; }
@media (max-width: 720px) { .lymenu { max-height: calc(100% - 72px) !important; } .lyfoot { padding: 4px 6px 5px !important; } .lyfoot .lydone { height: 36px !important; } .lyver { margin-top: 2px !important; } }
.lyver { margin: 4px 0 0; text-align: center; font-size: 9.5px; color: #586579; }
.lyx2 { position: absolute; top: 6px; right: 6px; z-index: 3; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f1f5f9; color: #475569; font: 600 19px/1 var(--bcn-font); cursor: pointer; display: grid; place-items: center; }
.lyh { padding-right: 34px !important; }
@media (max-width: 720px) { .lyfoot .lynote { display: none !important; } .lyfoot { padding: 6px 6px 6px; } .lyscroll { padding: 4px 4px 6px; } }
.lyleg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; margin: 4px 8px 2px; font-size: 10.5px; color: var(--bcn-slate); }
.lyleg span { display: flex; align-items: center; gap: 6px; } .lyleg i { width: 12px; height: 10px; border-radius: 3px; opacity: .7; flex: none; }
.wswap { display: flex; align-items: center; gap: 7px; width: 100%; margin-top: 5px; padding: 5px 6px; border: 1px dashed #cbd5e1; border-radius: 9px; background: #fff; font: 700 11.5px var(--bcn-font); color: var(--bcn-slate); cursor: pointer; }
.wswap > i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; } .wswap > i svg { width: 10px; height: 10px; }
.wswap:hover { border-color: var(--bcn-navy); color: var(--bcn-navy); }
.wdiv { flex: none; width: 1px; background: var(--bcn-line); margin: 4px 2px; }
@media (max-width: 720px) {
  body.lyopen .lcard { display: none !important; }
  .lcard.small { padding: 8px 10px 6px !important; max-height: 46% !important; }
  .lcard .lpr { font-size: 16px !important; } .lcard .lsm { font-size: 10px !important; } .lcard .lx { top: 2px; }
  .wn { margin-top: 5px !important; padding-top: 5px !important; }
  .scrow { gap: 6px; } .scb svg { width: 30px; height: 30px; } .scb small { display: none; } .scb b { font-size: 11.5px; line-height: 1.15; } .scq { width: 20px; height: 20px; }
  .wtiles { margin-top: 4px; } .wl { padding: 2px 4px; gap: 7px; grid-template-columns: 20px minmax(0,1fr) auto; } .wl > i { width: 20px; height: 20px; }
  .wln small { display: none; } .wln b { font-size: 12.5px; font-weight: 700; } .wlt { font-size: 12px; }
  .wf { height: 26px !important; font-size: 11px !important; } .wf > i { width: 17px !important; height: 17px !important; }
  .wfoot2 { margin-top: 4px; } .wfoot2 span { display: none; } .wfoot2 { justify-content: flex-end; }
  .wdet { margin-top: 4px; padding: 4px 6px; }
}
/* crisp rendering */
.lyr i, .wl > i, .wf > i, .wt > i, .mc i, .am { box-shadow: 0 0 0 1.5px #fff, 0 1px 3px rgba(15,23,42,.25); }
/* selected = a soft heartbeat, so people see what's on */
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.16); } 24% { transform: scale(1); } 36% { transform: scale(1.1); } 50% { transform: scale(1); } }
@keyframes tabbeat { 0%, 100% { box-shadow: 0 2px 8px rgba(245,162,10,.45), 0 0 0 0 rgba(245,162,10,.5); } 12% { box-shadow: 0 2px 8px rgba(245,162,10,.45), 0 0 0 5px rgba(245,162,10,.25); } 24% { box-shadow: 0 2px 8px rgba(245,162,10,.45), 0 0 0 0 rgba(245,162,10,0); } 36% { box-shadow: 0 2px 8px rgba(245,162,10,.45), 0 0 0 4px rgba(245,162,10,.2); } 55% { box-shadow: 0 2px 8px rgba(245,162,10,.45), 0 0 0 0 rgba(245,162,10,0); } }
@keyframes beatring { 0% { box-shadow: 0 0 0 0 rgba(245,162,10,.55); } 60%, 100% { box-shadow: 0 0 0 7px rgba(245,162,10,0); } }
@media (prefers-reduced-motion: no-preference) {
  .lyr[aria-pressed="true"] .cb, .wl[aria-pressed="true"] > i, .wf[aria-pressed="true"] > i, .lyrb[aria-pressed="true"] { animation: beat 2.4s ease-in-out infinite; }
  .lyr[aria-pressed="true"] .cb, .wf[aria-pressed="true"] { animation: beat 2.4s ease-in-out infinite, beatring 2.4s ease-out infinite; }
  .lyeye[aria-pressed="true"] svg { animation: beat 2.4s ease-in-out infinite; }
  .bcn-fab .fbadge:not(:empty) { animation: beat 2.4s ease-in-out infinite; }
  .wtab[aria-selected="true"] { animation: tabbeat 2.4s ease-in-out infinite; }
  .wtab[aria-selected="true"] > i { animation: beat 2.4s ease-in-out infinite; }
}
.cap:has(.capsc) { max-width: none !important; }
/* light, compact bubble under the home */
.cap { background: rgba(255,255,255,.96) !important; color: var(--bcn-slate) !important; border: 1px solid rgba(15,23,42,.08); box-shadow: 0 3px 10px rgba(15,23,42,.16) !important; padding: 4px 8px 4px !important; border-radius: 12px !important; font-size: 11px !important; line-height: 1.35 !important; transform: translate(-50%, 18px) !important; }
.cap b { color: var(--bcn-navy) !important; }
.cap::before, .cap::after { display: none !important; }
.capsc { margin: 0 !important; padding: 0 !important; border: 0 !important; gap: 8px !important; }
.capsc span { color: var(--bcn-ink) !important; font-weight: 700; font-size: 11px; gap: 4px !important; }
.capsc i { min-width: 20px !important; height: 17px !important; font-size: 10.5px !important; padding: 0 4px !important; }
.capsc + div { margin-top: 2px; padding-top: 2px; border-top: 1px solid var(--bcn-line); }
.capsc em { font-style: normal; } .capsc .evm { display: none; }
@media (max-width: 720px) { .cap { font-size: 10px !important; padding: 2px 5px !important; border-radius: 10px !important; transform: translate(-50%, 16px) !important; }
  .capsc { gap: 6px !important; } .capsc span { font-size: 10px; gap: 3px !important; } .capsc i { min-width: 18px !important; height: 15px !important; font-size: 9.5px !important; padding: 0 3px !important; }
  .capsc .evd { display: none; } .capsc .evm { display: inline; }
  .capsc ~ div { display: none; } }
@media (max-width: 720px) { .capsc { gap: 8px; } .capsc i { min-width: 22px; height: 18px; font-size: 10.5px; } }
.capsc { display: flex; gap: 10px; margin: -1px 0 3px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.18); white-space: nowrap; }
.capsc span { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #fff; }
.capsc i { font-style: normal; display: inline-grid; place-items: center; min-width: 24px; height: 20px; padding: 0 4px; box-sizing: border-box; border-radius: 10px; background: var(--bcn-orange); color: var(--bcn-ink); font-weight: 800; font-size: 11.5px; }
.capsc i.t { background: #14b8a6; color: #04342f; }
.wfoot { position: sticky; bottom: -10px; background: #fff; padding: 8px 0 2px; margin-bottom: -2px; }
@media (max-width: 720px) { .wr { padding: 4px 6px; gap: 8px; grid-template-columns: 24px 1fr auto; } .wr > i { width: 24px; height: 24px; } .wr .wk { font-size: 10px; } .wtime span { font-size: 0; } .wtime span svg { width: 12px; height: 12px; } .wtime { display: flex; align-items: center; gap: 4px; } .wtime b { display: inline; }
  .wnh span { font-size: 10px; } .wsec { margin: 6px 0 3px; font-size: 10px; } .wchips { gap: 5px; } .wc .wcn { font-size: 10px; } .wc .wct { font-size: 12px; } .wfoot small { display: none; } .wdetail { width: 100%; justify-content: center; } .lcard .lsm { margin-bottom: 0; } .wn { margin-top: 6px; padding-top: 6px; } .lcard .lpr { font-size: 18px; } .wr .wv { font-size: 12.5px; } .wtime b { font-size: 13px; } .wc { padding: 4px 6px; gap: 5px; } .wc > i { width: 22px; height: 22px; } .lsite { display: none; } }
@keyframes lpop { from { opacity: 0; } to { opacity: 1; } }
.chipbar { display: none !important; }
.bcn-fab { position: absolute; z-index: 1016; top: 12px; right: 368px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: var(--bcn-orange); color: var(--bcn-ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 4px 14px rgba(245,162,10,.55), 0 2px 6px rgba(15,23,42,.18); transition: transform .15s; }
.bcn-fab svg { width: 24px; height: 24px; }
.bcn-fab:hover { transform: scale(1.06); }
.bcn-fab[aria-expanded="true"] { background: var(--bcn-navy); color: #fff; box-shadow: 0 4px 14px rgba(30,78,140,.45); }
.bcn-fab:focus-visible { outline: 3px solid var(--bcn-navy); outline-offset: 2px; }
.fbadge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 10px; background: var(--bcn-navy); color: #fff; font: 800 11px/20px var(--bcn-font); text-align: center; border: 2px solid #fff; }
.fbadge:empty { display: none; }
.bcn-fab[aria-expanded="true"] .fbadge { background: var(--bcn-orange); color: var(--bcn-ink); }
.bcn-fab.ping::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 3px solid var(--bcn-orange); animation: fping 1.6s ease-out 3; }
@keyframes fping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.fabhint { position: absolute; z-index: 1016; top: 22px; right: 426px; background: var(--bcn-ink); color: #fff; font: 700 12.5px var(--bcn-font); padding: 7px 12px; border-radius: 10px; white-space: nowrap; box-shadow: 0 4px 14px rgba(15,23,42,.25); pointer-events: none; transition: opacity .3s; }
.fabhint::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: var(--bcn-ink); transform: translateY(-50%) rotate(45deg); }
.fabhint.gone { opacity: 0; }
.lymenu { position: absolute; z-index: 1030; top: 68px; right: 368px; width: 290px; max-height: calc(100% - 84px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 16px; box-shadow: 0 14px 36px rgba(15,23,42,.28); padding: 6px 8px 10px; box-sizing: border-box; transform-origin: top right; animation: lyin .16s ease-out; }
.lymenu[hidden] { display: none; }
@keyframes lyin { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lyh { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 8px 4px; }
.lyh b { font: 800 15px var(--bcn-font); color: var(--bcn-ink); } .lyh span { font-size: 11px; color: var(--bcn-muted); }
.lys { margin: 8px 8px 2px; font: 800 10.5px var(--bcn-font); letter-spacing: .08em; text-transform: uppercase; color: var(--bcn-muted); }
.lyr { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 4px 8px; border: 0; border-radius: 10px; background: none; font: 600 13.5px var(--bcn-font); color: var(--bcn-ink); text-align: left; cursor: pointer; }
.lyr:hover { background: #f8fafc; }
.lyr .cb { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #cbd5e1; background: #fff; display: grid; place-items: center; box-sizing: border-box; transition: background .12s, border-color .12s; }
.lyr[aria-pressed="true"] .cb { background: var(--bcn-orange); border-color: #e0910a; }
.lyr[aria-pressed="true"] .cb::after { content: ""; width: 5px; height: 10px; border: solid var(--bcn-ink); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.lyr[aria-pressed="true"] { font-weight: 800; }
.lyr i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; }
.lyr i svg { width: 13px; height: 13px; }
.lyr .nm { flex: 1; }
.lyr .lyx { font-size: 11px; color: var(--bcn-muted); font-weight: 600; }
#map-sky, #map-bus { display: none !important; }
.lyeye { display: none !important; }
.lymode { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 2px 8px 6px; padding: 3px; background: #f1f5f9; border-radius: 12px; }
.lymode button { display: grid; gap: 1px; padding: 6px 4px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; text-align: center; font-family: var(--bcn-font); }
.lymode b { font: 800 13px var(--bcn-font); color: #586579; } .lymode small { font-size: 10px; color: #586579; }
.lymode button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px rgba(15,23,42,.14), inset 0 -3px 0 var(--bcn-orange); }
.lymode button[aria-pressed="true"] b { color: var(--bcn-navy); }
.lyring { display: flex; align-items: center; gap: 6px; margin: 4px 8px 2px; }
.lyring span { flex: 1; font: 800 10.5px var(--bcn-font); letter-spacing: .08em; text-transform: uppercase; color: var(--bcn-muted); }
.lyrb { height: 32px; padding: 0 12px 0 30px; border-radius: 16px; border: 1.5px dashed #94a3b8; background: #fff no-repeat 10px 50%; font: 700 12.5px var(--bcn-font); color: var(--bcn-slate); cursor: pointer; position: relative; }
.lyrb::before { content: ""; position: absolute; left: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px dashed currentColor; box-sizing: border-box; }
.lyrb[aria-pressed="true"] { background: var(--bcn-navy); border: 1.5px solid var(--bcn-navy); color: #fff; }
.lyhelp { margin: 4px 8px 0; font-size: 11px; color: var(--bcn-muted); line-height: 1.4; }
.lyw { display: flex; align-items: center; gap: 2px; }
.lyw .lyr { flex: 1; min-width: 0; }
.lyeye { flex: none; width: 38px; height: 34px; border: 1px solid transparent; border-radius: 10px; background: none; color: #586579; display: grid; place-items: center; cursor: pointer; }
.lyeye svg { width: 18px; height: 18px; }
.lyeye:hover { background: #f1f5f9; }
.lyeye[aria-pressed="true"] { color: var(--bcn-navy); background: #e8eef7; border-color: #c9d6ea; }
.lysub .lyeye { width: 34px; height: 30px; }
.lysub .lyeye svg { width: 16px; height: 16px; }
.lykey { display: flex; flex-wrap: nowrap; gap: 4px 16px; margin: 2px 8px 4px; padding: 7px 9px; background: #f8fafc; border-radius: 10px; font-size: 11.5px; color: var(--bcn-slate); }
.lykey span { display: flex; align-items: flex-start; gap: 7px; line-height: 1.35; }
.lykey em { font-style: normal; } .lykey em b { color: var(--bcn-ink); font-weight: 800; }
.lykey .kcb, .lykey .keye { flex: none; margin-top: 1px; }
.lykey .kcb { width: 14px; height: 14px; border-radius: 4px; background: var(--bcn-orange); position: relative; }
.lykey .kcb::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 3px; height: 7px; border: solid var(--bcn-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lykey .keye { display: grid; place-items: center; width: 22px; height: 18px; border-radius: 6px; background: #e8eef7; color: var(--bcn-navy); }
.lykey .keye svg { width: 14px; height: 14px; }
.lysub { margin: 0 0 4px 30px; padding-left: 8px; border-left: 2px solid #fde3b0; }
.lysub .lyr { min-height: 34px; font-size: 13px; }
.lysub .lyr .cb { width: 18px; height: 18px; border-radius: 50%; }
.lysub .lyr[aria-pressed="true"] .cb::after { width: 4px; height: 8px; }
.lysub .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; font-size: 0; }
.lynote { margin: 8px 8px 0; padding-top: 8px; border-top: 1px solid var(--bcn-line); font-size: 11.5px; color: var(--bcn-muted); line-height: 1.45; }
.lydone { display: block; width: calc(100% - 16px); margin: 10px 8px 0; height: 40px; border: 0; border-radius: 12px; background: var(--bcn-navy); color: #fff; font: 800 14px var(--bcn-font); cursor: pointer; }
.lx { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; border: 0; background: none; font-size: 20px; color: var(--bcn-muted); cursor: pointer; border-radius: 8px; }
.lpr { margin: 0; font: 800 20px var(--bcn-font); color: var(--bcn-navy); } .lsm { margin: 0 0 8px; font-size: 11px; color: var(--bcn-muted); }
.lnear { font-size: 12.5px; color: var(--bcn-slate); line-height: 1.5; border-top: 1px solid var(--bcn-line); padding-top: 8px; }
.lnear b { color: var(--bcn-navy); } .lnear div + div { margin-top: 3px; } .lnear .muted { color: var(--bcn-muted); }
.nearme { position: absolute; z-index: 1000; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 9px; border-radius: 17px; border: 1px solid var(--bcn-line); background: #fff;
  font: 700 12.5px var(--bcn-font); color: var(--bcn-navy); box-shadow: 0 2px 8px rgba(15,23,42,.15); cursor: pointer; }
.nearme svg { width: 15px; height: 15px; }
.samplechip { left: 12px !important; top: 56px !important; bottom: auto !important; }
.welcome { top: 60px !important; }
.pin { width: 18px; height: 18px; border-radius: 50%; background: var(--bcn-navy); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(15,23,42,.35); box-sizing: border-box; }

@media (max-width: 720px) {
  .bcn-sheet { top: auto; right: 0; left: 0; bottom: 0; width: auto; max-height: 42%; border-radius: 20px 20px 0 0; gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .bcn-sheet::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: #cbd5e1; margin: 0 auto; }
  .bcn-sheet.peek { max-height: 128px; overflow: hidden; }
  .bcn-sheet.peek > *:not(.panel-head):not(.peekbtn):not(.showing) { display: none; }
  #sheet.full ~ .nearbox, #sheet.full ~ .welcome { display: none; }
  .bcn-sheet.peek .panel-head .sub { display: none; }
  .bcn-sheet.peek { max-height: none; }
  .peekbtn { display: none; }
  .bcn-sheet.peek .peekbtn { order: 2; display: block; width: 100%; height: 42px; border: 0; border-radius: 12px; background: var(--bcn-orange); color: var(--bcn-ink); font: inherit; font-size: 14px; font-weight: 700; }
  .tag { display: none; }
  .bcn-sheet.full { max-height: 78%; }
  .welcome { top: 10px; left: 10px; padding: 14px 15px; }
  .co.sky, .co.bus { font-size: 10.5px; padding: 2px 6px 3px; }
  .chipbar { top: 8px; left: 0; right: 0; padding: 2px 10px 6px; gap: 6px; }
  .mc { height: 34px; font-size: 12.5px; }
  .bcn-sheet.peek { padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) !important; gap: 0 !important; }
  .bcn-sheet.peek > *:not(.peekbtn) { display: none !important; }
  .bcn-sheet.peek::before { display: none; }
  .bcn-sheet.peek .peekbtn { height: 40px !important; background: #fff !important; border: 1px solid var(--bcn-line) !important; color: var(--bcn-navy) !important; font-size: 13px !important; }
  .lcard { left: 8px; right: 8px; width: auto; bottom: 64px; max-height: 58%; padding: 9px 12px 10px; border-radius: 16px; }
  .lcard.small { width: auto; padding: 9px 11px 8px; } .wt b { font-size: 12.5px; } .wf { font-size: 11px; }
  .lcard .lpr { font-size: 17px; } .lcard .lsm { margin-bottom: 5px; font-size: 10.5px; } .lcard .lnear { font-size: 12px; padding-top: 5px; }
  .bcn-toast.low { bottom: 76px; left: 50%; }
  .bcn-fab { top: 10px; right: 10px; width: 46px; height: 46px; }
  .fabhint { top: 19px; right: 66px; font-size: 12px; }
  .lymenu { top: 62px; right: 10px; left: auto; width: 208px; max-height: calc(100% - 72px); padding: 2px 3px 0; border-radius: 14px; }
  .lyw { gap: 0; }
  .lyring { flex-wrap: nowrap; margin: 6px 5px 2px; gap: 4px; } .lyring span { flex: 1 1 auto; flex-basis: auto !important; font-size: 9.5px; letter-spacing: .05em; }
  .lyring span::after { content: ""; } .lyrb { flex: none !important; height: 28px !important; padding: 0 8px !important; font-size: 11.5px !important; } .lyrb::before { display: none; }
  .lydone { position: sticky; bottom: 0; margin: 6px -3px 0 !important; width: calc(100% + 6px) !important; border-radius: 0 0 14px 14px !important; height: 40px !important; box-shadow: 0 -6px 12px rgba(255,255,255,.9); }
  .lynote { display: none; }
  .lyh { padding: 6px 6px 2px; } .lyh b { font-size: 14px; } .lyh span { display: none; }
  .lykey { margin: 2px 4px 2px; padding: 5px 8px; gap: 12px; font-size: 11px; flex-direction: row; }
  .lyring { flex-wrap: wrap; margin: 4px 4px 0; gap: 5px; } .lyring span { flex-basis: 100%; }
  .lyrb { flex: 1; height: 30px; padding: 0 8px 0 26px; font-size: 12px; } .lyrb::before { left: 8px; }
  .lys { margin: 8px 6px 1px; font-size: 10px; }
  .lyr { gap: 8px; min-height: 36px; padding: 3px 5px; font-size: 13px; }
  .lyr .cb { width: 18px; height: 18px; } .lyr i { width: 22px; height: 22px; } .lyr i svg { width: 12px; height: 12px; }
  .lyr .lyx { display: none; }
  .lyeye { width: 32px; height: 30px; } .lyeye svg { width: 16px; height: 16px; }
  .lysub { margin-left: 16px; padding-left: 4px; } .lysub .lyr { min-height: 32px; font-size: 12.5px; gap: 7px; } .lysub .lyeye { width: 30px; height: 28px; }
  .lynote { margin: 6px 6px 0; font-size: 11px; } .lydone { width: calc(100% - 12px); margin: 8px 6px 0; height: 38px; }
  .lyh b { font-size: 13.5px; }
  .lykey { padding: 6px 7px; font-size: 10.5px; }
  .lys { font-size: 9.5px; letter-spacing: .05em; margin: 7px 5px 1px; }
  .lyr { gap: 7px; padding: 3px 4px; font-size: 12.5px; min-height: 34px; }
  .lyr .cb { width: 17px; height: 17px; border-radius: 5px; } .lyr i { width: 20px; height: 20px; } .lyr i svg { width: 11px; height: 11px; }
  .lyeye { width: 28px; height: 28px; border-radius: 8px; } .lyeye svg { width: 15px; height: 15px; }
  .lysub { margin-left: 12px; padding-left: 3px; } .lysub .lyr { font-size: 12px; min-height: 30px; gap: 6px; } .lysub .lyeye { width: 26px; height: 26px; }
  .lysub .dot { width: 10px; height: 10px; }
  .lyring { flex-wrap: wrap !important; gap: 4px !important; } .lyring span { flex: 1 1 100% !important; } .lyrb { flex: 1 1 0 !important; }
  .lymenu { width: 182px !important; }
  .lyr i { display: none; }
  .lyr { gap: 8px; font-size: 12.5px; padding: 3px 3px 3px 5px; }
  .lyh b { font-size: 13px; }
  .lykey { font-size: 10.5px; padding: 6px; gap: 4px; } .lykey span { gap: 6px; }
  .lyrb { font-size: 11px !important; padding: 0 4px !important; height: 27px !important; }
  .lysub { margin-left: 8px; }
  .leaflet-control-zoom { display: none; }
  .nearme { left: 10px; right: auto; bottom: auto; top: 10px; }
  .samplechip { left: 10px !important; top: 52px !important; bottom: auto !important; }
  .welcome { top: 54px !important; max-height: min(calc(100% - 64px), 62vh) !important; }
  .dd { width: calc(100% - 20px); max-width: 300px; }
  .nearbox .wsum { font-size: 11.5px; margin-bottom: 5px; padding-bottom: 5px; }
  .nearbox .nhead span { display: none; }
  .nearbox .nr { font-size: 11.5px; }
  .bcn-sheet.full { max-height: 70%; }
  .bcn-top .brand span { display: none; }   /* the design demo header only; our site header keeps "BC Real Estate Market" on phones (Nov 23) */
  .reopen { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); right: 50%; transform: translateX(50%); }
  .hint { top: 10px; font-size: 12px; }
}

/* ---- address search bar (Near me sits inside it) ---- */
.srch { position: absolute; z-index: 1001; left: 12px; top: 12px; width: 340px; height: 40px; display: flex; align-items: center; background: #fff; border: 1px solid var(--bcn-line); border-radius: 20px; box-shadow: 0 2px 10px rgba(15,23,42,.12); }
.srch[hidden], .srch-dd[hidden] { display: none !important; }
.srch:focus-within { border-color: var(--bcn-navy); box-shadow: 0 0 0 3px rgba(30,78,140,.15), 0 2px 10px rgba(15,23,42,.12); }
.srch-ic { flex: none; width: 36px; display: grid; place-items: center; color: #586579; } .srch-ic svg { width: 17px; height: 17px; }
.srch input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 600 14px var(--bcn-font); color: var(--bcn-ink); padding: 0; -webkit-appearance: none; appearance: none; }
.srch input::placeholder { color: #8592a3; font-weight: 500; } .srch input::-webkit-search-cancel-button { display: none; }
.srch-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #eef2f7; color: #475569; font: 700 17px/1 var(--bcn-font); cursor: pointer; margin-right: 4px; }
.srchbtn { position: absolute; z-index: 1000; top: 12px; left: 120px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--bcn-line); background: #fff; color: var(--bcn-navy); cursor: pointer; box-shadow: 0 2px 8px rgba(15,23,42,.12); }
.srchbtn svg { width: 17px; height: 17px; } .srchbtn.has::after { content: ""; position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--bcn-orange); border: 1.5px solid #fff; }
.srch-close { flex: none; height: 32px; padding: 0 12px; margin-right: 4px; border: 0; border-radius: 16px; background: none; color: var(--bcn-navy); font: 800 13px var(--bcn-font); cursor: pointer; }
.srch-dd { position: absolute; z-index: 1002; left: 12px; top: 58px; width: 340px; max-height: min(60vh, 380px); overflow-y: auto; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(15,23,42,.22), 0 0 0 1px rgba(15,23,42,.06); padding: 6px 0 0; }
.sdh { padding: 6px 14px 4px; font: 700 10.5px var(--bcn-font); letter-spacing: .04em; text-transform: uppercase; color: #8592a3; } .sdh .sdn { text-transform: none; letter-spacing: 0; font: 600 13px var(--bcn-font); color: #475569; }
.sdi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 14px; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--bcn-font); }
.sdi:hover, .sdi.on { background: #f1f5fb; } .sdp { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #eef3fa; color: var(--bcn-navy); display: grid; place-items: center; font-size: 15px; } .sdp svg { width: 16px; height: 16px; }
.sdt { min-width: 0; } .sdt b { display: block; font: 700 14px var(--bcn-font); color: var(--bcn-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sdt small { display: block; font: 500 12px var(--bcn-font); color: #586579; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sdf { margin-top: 4px; padding: 7px 14px 8px; border-top: 1px solid #eef2f7; font: 500 10.5px var(--bcn-font); color: #586579; }
.srpin { position: absolute; width: 38px; height: 38px; left: -19px; top: -36px; color: var(--bcn-navy); filter: drop-shadow(0 3px 4px rgba(15,23,42,.35)); animation: spinDrop .45s cubic-bezier(.3,1.4,.5,1) both; } .srpin svg { width: 100%; height: 100%; }
.srpin.srred { color: #d93025; z-index: 2000; }   /* (owner, Nov 25) red pin: this home among the homes for sale near it */
@keyframes spinDrop { from { transform: translateY(-18px); opacity: 0; } }
/* searched-address card */
.lcard.isplace .lpr { display: flex; align-items: center; gap: 6px; font-size: 17px !important; } .lpin { flex: none; width: 20px; height: 20px; color: var(--bcn-navy); } .lpin svg { width: 100%; height: 100%; }
.lcard.isplace .lsite { display: none; } .nfs { color: var(--bcn-navy); font-weight: 800; }
.lplace { display: flex; gap: 8px; margin: 8px 0 2px; } .lplace button { flex: 1 1 0; min-height: 36px; padding: 6px 10px; border-radius: 11px; font: 800 12.5px/1.2 var(--bcn-font); cursor: pointer; }
.pvbtn { border: 0; background: var(--bcn-navy); color: #fff; } .pnbtn { border: 1.5px solid #c7d4e6; background: #fff; color: var(--bcn-navy); }
/* demo sign-in reminder */
.sgn { position: fixed; inset: 0; z-index: 3000; background: rgba(15,23,42,0); display: flex; align-items: flex-end; justify-content: center; transition: background .25s; }
.sgn.on { background: rgba(15,23,42,.35); } .sgc { position: relative; width: min(420px, 100%); margin: 0 10px 14px; background: #fff; border-radius: 18px; padding: 18px 18px 14px; box-shadow: 0 20px 50px rgba(15,23,42,.3); transform: translateY(30px); opacity: 0; transition: transform .28s cubic-bezier(.2,.9,.3,1.1), opacity .2s; }
.sghd { display: flex; align-items: center; gap: 10px; margin: 0 30px 10px 0; } .sghd .sglogo { flex: none; } .sghd span { font: 800 15px var(--bcn-font); color: var(--bcn-navy); letter-spacing: -.01em; }   /* (Nov 23) the brand logo on the sign-in card */
.sgn.on .sgc { transform: none; opacity: 1; } .sgt { display: block; font: 800 18px var(--bcn-font); color: var(--bcn-ink); margin-bottom: 8px; padding-right: 30px; }
.sgc ul { margin: 0 0 12px; padding: 0; list-style: none; } .sgc li { font: 600 13.5px/1.9 var(--bcn-font); color: #334155; } .sgc li::before { content: "\2713"; color: #16a34a; font-weight: 900; margin-right: 8px; }
.sgb { width: 100%; height: 44px; border: 0; border-radius: 12px; background: var(--bcn-navy); color: #fff; font: 800 15px var(--bcn-font); cursor: pointer; } .sgn2 { width: 100%; height: 38px; margin-top: 6px; border: 0; background: none; color: #475569; font: 700 13.5px var(--bcn-font); cursor: pointer; }
.sgx { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef2f7; color: #475569; font: 700 19px/1 var(--bcn-font); cursor: pointer; } .sgc small { display: block; text-align: center; margin-top: 4px; font: 500 10.5px var(--bcn-font); color: #586579; }
@media (max-width: 720px) {
  .srch { left: 10px; top: 10px; right: 76px; width: auto; height: 42px; } .srch input { font-size: 16px; }
  .srch-dd { left: 10px; right: 10px; width: auto; top: 58px; }
  .srchbtn { top: 10px; } .lplace button { font-size: 12px; } }

.cmpv[hidden], .sgn[hidden], .cmpbar[hidden] { display: none !important; }
/* ---- compare ---- */
.wtop { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; } .wtop .wseen { flex: 1 1 auto; margin: 0; } .wtop > span { flex: 1 1 auto; }
.wcmp { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 8px; border-radius: 14px; border: 1.5px solid #c7d4e6; background: #fff; color: var(--bcn-navy); font: 800 12px var(--bcn-font); cursor: pointer; }
.wcmp .cbx { width: 15px; height: 15px; border-radius: 4px; border: 2px solid #94a3b8; display: grid; place-items: center; }
.wcmp[aria-pressed="true"] { background: #eef6ff; border-color: var(--bcn-navy); } .wcmp[aria-pressed="true"] .cbx { background: var(--bcn-navy); border-color: var(--bcn-navy); } .wcmp[aria-pressed="true"] .cbx::after { content: "\2713"; color: #fff; font: 900 10px/1 var(--bcn-font); }
.wcmpgo { flex: none; height: 28px; padding: 0 11px; border: 0; border-radius: 14px; background: var(--bcn-navy); color: #fff; font: 800 12px var(--bcn-font); cursor: pointer; }
.cmpbar { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 10px; background: #fff; border-radius: 26px; box-shadow: 0 8px 26px rgba(15,23,42,.25), 0 0 0 1px rgba(15,23,42,.06); max-width: calc(100% - 24px); animation: cbIn .3s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes cbIn { from { transform: translateY(16px); opacity: 0; } }
.cbn { display: flex; gap: 4px; min-width: 0; overflow: hidden; } .cbn i { font-style: normal; padding: 4px 8px; border-radius: 10px; background: #eef3fa; color: var(--bcn-navy); font: 800 11.5px var(--bcn-font); white-space: nowrap; }
.cbgo { height: 38px; padding: 0 16px; border: 0; border-radius: 19px; background: var(--bcn-orange); color: var(--bcn-ink); font: 800 14px var(--bcn-font); cursor: pointer; white-space: nowrap; box-shadow: 0 2px 8px rgba(245,162,10,.4); } .cbgo:disabled { background: #eef2f7; color: #586579; box-shadow: none; cursor: default; }
.cbx2 { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef2f7; color: #475569; font: 700 18px/1 var(--bcn-font); cursor: pointer; }
.cmpv { position: fixed; inset: 0; z-index: 3100; background: rgba(15,23,42,0); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cmpv.on { background: rgba(15,23,42,.45); }
.cvw { width: min(calc(220px * var(--bcn-n) + 150px), calc(100% - 32px)); max-height: calc(100% - 40px); display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(15,23,42,.35); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s cubic-bezier(.2,.9,.3,1.1), opacity .2s; overflow: hidden; }
.cmpv.on .cvw { transform: none; opacity: 1; }
.cvh { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 10px 18px; border-bottom: 1px solid #eef2f7; } .cvh b { font: 800 17px var(--bcn-font); color: var(--bcn-ink); }
.cvx { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eef2f7; color: #475569; font: 700 20px/1 var(--bcn-font); cursor: pointer; }
.cvs { overflow-y: auto; padding: 0 14px 12px; -webkit-overflow-scrolling: touch; }
.cvgrid { display: grid; grid-template-columns: 130px repeat(var(--bcn-n), minmax(0, 1fr)); gap: 0 8px; align-items: stretch; }
.cvtop { position: sticky; top: 0; z-index: 2; background: #fff; padding: 12px 0 8px; border-bottom: 1px solid #eef2f7; }
.cvtop .cvc { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .cvp { font: 800 17px var(--bcn-font); color: var(--bcn-navy); } .cvtop small { font: 500 11.5px var(--bcn-font); color: #586579; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cvph { position: relative; height: 86px; border-radius: 12px; background: linear-gradient(135deg, var(--bcn-navy), #3b6fb0) center/cover no-repeat; display: grid; place-items: center; } .cvph svg { width: 54%; max-width: 90px; }
.cvph em { position: absolute; left: 6px; bottom: 6px; font: 700 9.5px var(--bcn-font); font-style: normal; color: var(--bcn-navy); background: rgba(255,255,255,.9); padding: 2px 6px; border-radius: 6px; }
.cvrm { position: absolute; right: 5px; top: 5px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: #475569; font: 700 16px/1 var(--bcn-font); cursor: pointer; box-shadow: 0 1px 4px rgba(15,23,42,.25); }
.cvmap { align-self: flex-start; margin-top: 3px; height: 28px; padding: 0 10px; border: 1.5px solid #c7d4e6; border-radius: 14px; background: #fff; color: var(--bcn-navy); font: 800 11.5px var(--bcn-font); cursor: pointer; }
.cvsec { margin: 14px 0 2px; font: 800 11px var(--bcn-font); letter-spacing: .05em; text-transform: uppercase; color: #8592a3; }
.cvrow { border-bottom: 1px solid #f1f4f8; } .cvrow .cvl { padding: 9px 0; font: 700 13px var(--bcn-font); color: #334155; align-self: center; }
.cvrow .cvc { position: relative; padding: 8px 8px; border-radius: 9px; font: 600 13.5px/1.25 var(--bcn-font); color: var(--bcn-ink); min-width: 0; } .cvrow .cvc b { font-weight: 800; } .cvrow .cvc small { display: block; font: 500 11px var(--bcn-font); color: #586579; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cvrow .cvc { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; row-gap: 2px; align-content: center; } .cvrow .cvc b { order: 1; } .cvrow .cvc .cvbest { order: 2; margin-top: 0; } .cvrow .cvc small { order: 3; flex: 1 0 100%; min-width: 0; }
.cvrow .cvc .u { font-weight: 600; font-size: 11px; color: #586579; margin-left: 1px; }
.cvrow .cvc.best { background: #ecfdf3; box-shadow: inset 0 0 0 1.5px #86efac; } .cvbest { display: inline-block; margin-top: 3px; padding: 1px 7px; border-radius: 8px; background: #16a34a; color: #fff; font: 800 9.5px/1.6 var(--bcn-font); letter-spacing: .02em; }
.cfy { color: #c2410c; } .cvnote { margin: 14px 0 2px; font: 500 11px/1.45 var(--bcn-font); color: #586579; }
@media (max-width: 720px) {
  .cmpv { align-items: stretch; } .cvw { width: 100%; max-height: 100%; border-radius: 0; } .cvgrid { grid-template-columns: 86px repeat(var(--bcn-n), minmax(0, 1fr)); gap: 0 6px; }
  .cvrow .cvl { font-size: 12px; } .cvrow .cvc { font-size: 13px; padding: 7px 6px; } .cvph { height: 72px; } .cvp { font-size: 16px; } .cvs { padding: 0 10px 16px; }
  .bstack { bottom: 14px; } .cbgo { height: 40px; } }
@media (max-width: 340px) { .cbn { display: none; } .cvgrid { grid-template-columns: 70px repeat(var(--bcn-n), minmax(0, 1fr)); } }

/* ---- bottom stack: back to listing · keep this home? · compare ---- */
.bstack { position: absolute; z-index: 1003; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 24px); pointer-events: none; }
.bstack > * { pointer-events: auto; } .bstack > [hidden] { display: none !important; }
.backlst { height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 20px; background: var(--bcn-navy); color: #fff; font: 800 14px var(--bcn-font); cursor: pointer; box-shadow: 0 6px 18px rgba(15,23,42,.3); display: inline-flex; align-items: center; gap: 8px; animation: cbIn .3s cubic-bezier(.2,.9,.3,1.2) both; }
.backlst span { font-size: 17px; line-height: 1; }
.keepbar { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 12px; background: #fff; border-radius: 16px; box-shadow: 0 8px 26px rgba(15,23,42,.25), 0 0 0 1px rgba(15,23,42,.06); animation: cbIn .3s cubic-bezier(.2,.9,.3,1.2) both; max-width: 100%; }
.kbh { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fdecee; color: #e11d48; display: grid; place-items: center; font-size: 17px; } .kbt { min-width: 0; } .kbt b { display: block; font: 800 13.5px var(--bcn-font); color: var(--bcn-ink); } .kbt small { display: block; font: 500 11.5px var(--bcn-font); color: #586579; }
.kbs { flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: 17px; background: var(--bcn-navy); color: #fff; font: 800 13px var(--bcn-font); cursor: pointer; } .kbn { flex: none; height: 34px; padding: 0 8px; border: 0; background: none; color: #475569; font: 700 12.5px var(--bcn-font); cursor: pointer; }
.lp.saved::before { content: "\2665"; position: absolute; top: -7px; left: -7px; width: 15px; height: 15px; border-radius: 50%; background: #fff; color: #e11d48; font: 900 9.5px/15px var(--bcn-font); text-align: center; box-shadow: 0 1px 3px rgba(15,23,42,.35); }
.wbk { position: absolute; z-index: 1025; left: 50%; top: 58px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; background: #fff; border-radius: 22px; box-shadow: 0 8px 24px rgba(15,23,42,.22), 0 0 0 1px rgba(15,23,42,.06); white-space: nowrap; animation: wbIn .35s cubic-bezier(.2,.9,.3,1.2) both; transition: opacity .3s, transform .3s; }
.wbk.out { opacity: 0; transform: translate(-50%, -8px); } @keyframes wbIn { from { opacity: 0; transform: translate(-50%, -10px); } }
.wbk b { font: 800 13px var(--bcn-font); color: var(--bcn-navy); } .wbk span { font: 600 12.5px var(--bcn-font); color: #475569; }
.wbs { height: 32px; padding: 0 13px; border: 0; border-radius: 16px; background: var(--bcn-orange); color: var(--bcn-ink); font: 800 12.5px var(--bcn-font); cursor: pointer; } .wbx { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #eef2f7; color: #475569; font: 700 17px/1 var(--bcn-font); cursor: pointer; }
.lpfade .lp:not(.on) { opacity: .35; filter: saturate(.5); transition: opacity .25s, filter .25s; } .lpfade .lp:not(.on):hover { opacity: 1; filter: none; }
.lp { transition: opacity .25s, filter .25s; }
@media (max-width: 720px) { .wbk { top: 100px; padding-left: 12px; } .wbk span { font-size: 12px; } .kbt small { display: none; } .keepbar { padding-left: 10px; } }
@media (max-width: 340px) { .wbk b { display: none; } }

/* ---- asking price vs assessment ---- */
.wasm { flex: 0 1 auto; min-width: 0; height: 28px; padding: 0 10px; border-radius: 14px; border: 1.5px solid; background: #fff; font: 600 12px var(--bcn-font); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wasm b { font-weight: 800; } .wasm.asdn { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; } .wasm.asup { color: #9a3412; border-color: #fed7aa; background: #fff7ed; } .wasm.aseq { color: #334155; border-color: #cbd5e1; }
.wasx { margin: 0 0 8px; padding: 8px 10px; border-radius: 10px; background: #f8fafc; font: 500 11.5px/1.45 var(--bcn-font); color: #475569; } .wasx b { color: var(--bcn-ink); }
.wtop { justify-content: space-between; } .wtop .wcmp { margin-left: auto; }
.cvrow .cvc b.asdn { color: #15803d; } .cvrow .cvc b.asup { color: #9a3412; }
#wn, .wnbox { container-type: inline-size; } @container (max-width: 350px) { .wasd { display: none; } } .wass { display: none; } @container (max-width: 270px) { .wasl { display: none; } .wass { display: inline; } }
@media (max-width: 380px) { .wasd { display: none; } }
/* ---- swipeable places row ---- */
.wfwrap { position: relative; } .wfwrap .wfaith { scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; } .wfwrap .wf { scroll-snap-align: start; }
.wfwrap.fr .wfaith { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.wfwrap.fl .wfaith { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px); mask-image: linear-gradient(90deg, transparent, #000 44px); }
.wfwrap.fl.fr .wfaith { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
.wfar { position: absolute; z-index: 2; top: 50%; margin-top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--bcn-line); background: #fff; color: var(--bcn-navy); font: 800 20px/24px var(--bcn-font); text-align: center; padding: 0; cursor: pointer; box-shadow: 0 2px 8px rgba(15,23,42,.18); }
.wfar.l { left: -4px; } .wfar.r { right: -4px; } .wfar[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .wfar.r:not([hidden]) { animation: wfBob 1.4s ease-in-out 3; } @keyframes wfBob { 50% { transform: translateX(3px); } } }

/* ---- hide homes ---- */
.lp.hid { display: none !important; } .lp.hidshow { opacity: .45; filter: grayscale(.7); border-style: dashed; }
.wfoot2 .whide { display: inline-flex !important; align-items: center; gap: 5px; height: 34px; padding: 0 12px 0 10px; border-radius: 17px; border: 1.5px solid #e2e8f0; background: #fff; color: #475569; font: 800 12.5px var(--bcn-font); cursor: pointer; margin-right: auto; margin-left: 6px; }
.wfoot2 .whide svg { width: 15px; height: 15px; } .wfoot2 .whide span { display: inline !important; font-size: inherit !important; color: inherit !important; }
@container (max-width: 340px) { .wfoot2 .wshare { padding: 0 10px 0 9px; gap: 4px; } .wfoot2 .whide { padding: 0 9px 0 8px; gap: 4px; margin-left: 4px; } }
@container (max-width: 280px) { .wfoot2 .whide span, .wfoot2 .wshare span { display: none !important; } .wfoot2 .whide, .wfoot2 .wshare { padding: 0; width: 34px; justify-content: center; } }
.kbh2 { flex: none; height: 34px; padding: 0 10px; border: 1.5px solid #e2e8f0; border-radius: 17px; background: #fff; color: #475569; font: 800 12.5px var(--bcn-font); cursor: pointer; }
.undobar { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; background: #0f172a; color: #fff; border-radius: 20px; font: 700 13.5px var(--bcn-font); box-shadow: 0 8px 22px rgba(15,23,42,.3); animation: cbIn .25s ease-out both; }
.undobar button { height: 32px; padding: 0 14px; border: 0; border-radius: 16px; background: var(--bcn-orange); color: var(--bcn-ink); font: 800 13px var(--bcn-font); cursor: pointer; }
.hidchip { position: absolute; z-index: 1000; left: 12px; top: 92px; height: 28px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--bcn-line); background: #fff; color: #475569; font: 600 12px var(--bcn-font); cursor: pointer; box-shadow: 0 2px 8px rgba(15,23,42,.1); }
.hidchip b { color: var(--bcn-navy); font-weight: 800; } .hidchip[hidden] { display: none; }
.hidnudge .kbt small { display: block !important; }
@media (max-width: 720px) { .hidchip { left: 10px; top: 92px; } }

/* ---- other stops / stations: quiet, touch or hover for name + time ---- */
.am.tq { width: 22px; height: 22px; left: -11px; top: -11px; background: #fff; border: 2px solid; box-shadow: 0 1px 4px rgba(15,23,42,.25); display: grid; place-items: center; }
.am.tq svg { width: 13px; height: 13px; } .am.tq.bus { color: #4d6b1f; border-color: #4d6b1f; } .am.tq.sky { color: #0f766e; border-color: #0f766e; }

/* ---- search by area ---- */
.drawbtn { position: absolute; z-index: 1000; top: 12px; left: 162px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--bcn-line); background: #fff; color: var(--bcn-navy); cursor: pointer; box-shadow: 0 2px 8px rgba(15,23,42,.12); }
.drawbtn svg { width: 17px; height: 17px; } .drawbtn[hidden] { display: none; } .hasarea .drawbtn { background: var(--bcn-navy); color: #fff; border-color: var(--bcn-navy); }
.lp.out { opacity: .18 !important; filter: grayscale(1) !important; }
.areabar { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; background: #fff; border-radius: 22px; box-shadow: 0 8px 26px rgba(15,23,42,.25), 0 0 0 1px rgba(15,23,42,.06); animation: cbIn .3s cubic-bezier(.2,.9,.3,1.2) both; max-width: 100%; }
.abt { font: 600 13px var(--bcn-font); color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .abt b { color: var(--bcn-navy); font-weight: 800; }
.abs, .abl { flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: 17px; background: var(--bcn-navy); color: #fff; font: 800 13px var(--bcn-font); cursor: pointer; } .abl { background: var(--bcn-orange); color: var(--bcn-ink); }
.abg { flex: none; height: 34px; padding: 0 10px; border: 1.5px solid #e2e8f0; border-radius: 17px; background: #fff; color: #475569; font: 800 12.5px var(--bcn-font); cursor: pointer; }
.abx { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef2f7; color: #475569; font: 700 18px/1 var(--bcn-font); cursor: pointer; }
.drawov { position: absolute; inset: 0; z-index: 1018; cursor: crosshair; touch-action: none; background: rgba(30,78,140,.04); } .drawov[hidden], .drawtop[hidden], .drawmenu[hidden], .catchoffer[hidden] { display: none !important; }
.drawtop { position: absolute; z-index: 1019; left: 50%; top: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; background: var(--bcn-ink); color: #fff; border-radius: 22px; box-shadow: 0 8px 24px rgba(15,23,42,.3); max-width: calc(100% - 24px); }
.drawtop span { font: 600 13px var(--bcn-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .drawtop b { font-weight: 800; }
.drawtop button { flex: none; height: 32px; padding: 0 11px; border: 0; border-radius: 16px; background: rgba(255,255,255,.14); color: #fff; font: 700 12.5px var(--bcn-font); cursor: pointer; } .drawtop button:disabled { opacity: .4; } .drawtop .dok { background: var(--bcn-orange); color: var(--bcn-ink); font-weight: 800; }
.drawing .leaflet-marker-pane, .drawing .bstack { pointer-events: none; }
.drawmenu { position: absolute; z-index: 1021; width: 270px; background: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgba(15,23,42,.25), 0 0 0 1px rgba(15,23,42,.06); padding: 6px; }
.drawmenu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 10px; background: none; text-align: left; font: 700 13.5px var(--bcn-font); color: var(--bcn-ink); cursor: pointer; } .drawmenu button:hover { background: #f1f5fb; }
.drawmenu i { font-style: normal; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #eef3fa; color: var(--bcn-navy); display: grid; place-items: center; font-size: 14px; } .drawmenu i.sk { background: #e6f4f1; }
.dmh { padding: 8px 10px 2px; font: 800 10.5px var(--bcn-font); letter-spacing: .05em; text-transform: uppercase; color: #8592a3; } .dmr { display: flex; align-items: center; } .dmr button:first-child { flex: 1; }
.drawmenu .dmx { width: 32px; flex: none; justify-content: center; padding: 0; color: #586579; font-size: 18px; } .drawmenu p { margin: 4px 10px 6px; font: 500 11.5px/1.4 var(--bcn-font); color: #586579; }
.catchoffer button { height: 40px; padding: 0 16px; border: 0; border-radius: 20px; background: var(--bcn-navy); color: #fff; font: 800 13.5px var(--bcn-font); cursor: pointer; box-shadow: 0 6px 18px rgba(15,23,42,.3); animation: cbIn .3s cubic-bezier(.2,.9,.3,1.2) both; }
@media (max-width: 720px) { .drawbtn { top: 10px; } .drawmenu { width: min(290px, calc(100% - 20px)); } .drawtop span { font-size: 12px; } }

/* ---- calmer screen ---- */
.srchbtn, .drawbtn { display: none !important; }
.sbar { position: absolute; z-index: 1001; left: 12px; top: 12px; width: 340px; height: 42px; display: flex; align-items: center; background: #fff; border: 1px solid var(--bcn-line); border-radius: 21px; box-shadow: 0 2px 10px rgba(15,23,42,.12); }
.sbar[hidden] { display: none !important; }
.sbar-main { flex: 1 1 auto; min-width: 0; height: 100%; display: flex; align-items: center; gap: 9px; padding: 0 6px 0 13px; border: 0; background: none; cursor: text; color: #586579; font: 500 14px var(--bcn-font); text-align: left; }
.sbar-main svg { flex: none; width: 17px; height: 17px; color: var(--bcn-navy); } .sbar-main span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbar.has .sbar-main { color: var(--bcn-ink); font-weight: 700; }
.sbar-draw { flex: none; width: 36px; height: 36px; margin-right: 3px; display: grid; place-items: center; border: 0; border-left: 1px solid #eef2f7; border-radius: 0 18px 18px 0; background: none; color: var(--bcn-navy); cursor: pointer; }
.sbar-draw svg { width: 18px; height: 18px; } .sbar.area .sbar-draw { background: var(--bcn-navy); color: #fff; border-radius: 50%; }
.nearme { top: 62px !important; } .samplechip { top: 104px !important; } .hidchip { top: 136px !important; }
.wbk { top: 104px; } .srch { height: 42px; }
.bstack > .bwait { display: none !important; }
.fabhint { top: 70px !important; right: 12px !important; } .fabhint::after { right: 18px !important; top: -5px !important; transform: rotate(45deg) !important; }
@media (max-width: 720px) {
  .sbar { left: 10px; top: 10px; right: 76px; width: auto; height: 44px; } .sbar-main { font-size: 14.5px; } .srch { height: 44px; }
  .nearme { top: 62px !important; } .samplechip { top: 104px !important; } .hidchip { top: 136px !important; }
  .wbk { top: 172px; } .fabhint { top: 68px !important; right: 10px !important; } }
@media (max-width: 340px) { .sbar-main span { font-size: 13px; } }
.fhs { display: none; } @media (max-width: 380px) { .fhl { display: none; } .fhs { display: inline; } .fabhint { font-size: 11px !important; padding: 6px 9px !important; } }
.drawmenu { box-sizing: border-box; }

.lico { flex: none; width: 18px; height: 14px; margin-right: 8px; border: 1.5px solid #8b6b4a; border-radius: 2px; background: linear-gradient(90deg, transparent 47%, #8b6b4a 47%, #8b6b4a 53%, transparent 53%); box-sizing: border-box; }

.backlst { padding: 0 !important; overflow: hidden; gap: 0 !important; } .backlst button { height: 40px; border: 0; background: none; color: #fff; font: 800 14px var(--bcn-font); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.backlst .blb { padding: 0 14px 0 14px; } .backlst .blb span { font-size: 17px; line-height: 1; } .backlst .blx { padding: 0 14px 0 12px; border-left: 1px solid rgba(255,255,255,.25); font-size: 13px; }

.wf .wfk { font: 700 12px var(--bcn-font); color: #334155; margin: 0 5px 0 1px; white-space: nowrap; } .wf { white-space: nowrap; }
.backlst .blspot { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 14px; color: #fff; font: 800 14px var(--bcn-font); }

/* ---- short or narrow phone screens (e.g. inside apps, landscape, small phones): give the list room, keep the buttons inside ---- */
@media (max-width: 720px) and (max-height: 760px) {
  .lcard, .lcard.small { max-height: calc(100% - 82px) !important; bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important; }
  .lcard .lsm { margin-top: 0 !important; } .wtop { margin-bottom: 4px; } .wtab { height: 34px !important; } .wtabs { margin: 4px 0 2px !important; }
  .scb svg { width: 28px; height: 28px; } }
@media (max-width: 720px) and (max-height: 600px) { .lcard .lpr { font-size: 18px !important; } }
@media (max-height: 480px) and (orientation: landscape) { .lcard, .lcard.small { left: auto !important; right: 8px !important; width: 340px !important; top: 62px !important; bottom: 8px !important; max-height: none !important; }
  .sbar, .srch { right: auto !important; width: 300px !important; } .srch-dd { right: auto !important; width: 300px !important; } }
@container (max-width: 312px) { .wfoot2 .whide span, .wfoot2 .wshare span { display: none !important; } .wfoot2 .whide, .wfoot2 .wshare { padding: 0 !important; width: 34px; justify-content: center; } .wfoot2 .whide { margin-left: 4px !important; } }
@container (max-width: 250px) { .wdetail2 { padding-left: 10px !important; padding-right: 10px !important; } }

/* ---- guiding ---- */
.lcard .lx { width: auto !important; height: 30px; padding: 0 10px; display: inline-flex; align-items: center; gap: 5px; border: 1.5px solid #e2e8f0 !important; border-radius: 15px; background: #fff !important; color: #475569 !important; font: 800 12.5px var(--bcn-font) !important; top: 8px !important; right: 10px !important; }
.lcard .lx span { font-size: 12.5px; }
.ptr { position: absolute; z-index: 1030; max-width: 270px; padding: 9px 12px; border-radius: 12px; background: var(--bcn-ink); color: #fff; font: 600 12.5px/1.4 var(--bcn-font); box-shadow: 0 10px 26px rgba(15,23,42,.35); pointer-events: none; animation: ptrIn .25s ease-out both; }
.ptr b { color: #fde68a; font-weight: 800; } .ptr::after { content: ""; position: absolute; left: var(--bcn-ax, 50%); top: 100%; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--bcn-ink); }
.ptr.below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--bcn-ink); } .ptr[hidden] { display: none; }
@keyframes ptrIn { from { opacity: 0; transform: translateY(6px); } }
.glow { animation: glowPulse 1s ease-in-out 4 !important; position: relative; z-index: 2; } @keyframes glowPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,162,10,.0); } 50% { box-shadow: 0 0 0 7px rgba(245,162,10,.55); } }
.guide { position: absolute; z-index: 1026; left: 12px; top: 62px; width: min(400px, calc(100% - 24px)); display: flex; align-items: flex-start; gap: 10px; padding: 11px 10px 11px 12px; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.25), 0 0 0 1px rgba(15,23,42,.06); animation: ptrIn .3s ease-out both; box-sizing: border-box; }
.guide[hidden] { display: none; } .gdi { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bcn-navy); color: #fff; font: 800 13px/22px Georgia, serif; text-align: center; font-style: italic; }
.gdt { flex: 1; font: 500 12.5px/1.45 var(--bcn-font); color: #334155; } .gdt b { color: var(--bcn-ink); font-weight: 800; }
.gdx { flex: none; align-self: center; height: 32px; padding: 0 12px; border: 0; border-radius: 16px; background: var(--bcn-orange); color: var(--bcn-ink); font: 800 12.5px var(--bcn-font); cursor: pointer; }
@media (max-width: 720px) { .guide { left: 10px; right: 10px; width: auto; top: 60px; } .ptr { max-width: 240px; font-size: 12px; } }
/* ######## PART 1b: STYLES - listing card ######## */
/* ===== Nov 11 card: photo + facts + price, score tabs, walk & drive columns ===== */
.lcard.haslh > .lpr, .lcard.haslh > .lsm, .lcard.haslh > .lx { display: none !important; }
.lcard.haslh { padding-top: 0 !important; }
.lhead { margin: 0 -12px 0; }
.lhero { position: relative; height: 128px; overflow: hidden; border-radius: 16px 16px 0 0; background: #e6eef7; }
.lhero > svg, .lhero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lseen { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 110px); display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 5px; border-radius: 14px; background: rgba(255,255,255,.94); color: #334155; font: 700 11.5px/1.25 var(--bcn-font); box-shadow: 0 1px 4px rgba(15,23,42,.15); }
.lseen i { flex: none; width: 17px; height: 17px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font: 800 10px var(--bcn-font); font-style: normal; }
.lseen .pdn { color: #c2410c; }
.lsamp { position: absolute; left: 10px; bottom: 8px; padding: 2px 8px; border-radius: 10px; background: rgba(15,23,42,.55); color: #fff; font: 600 10px var(--bcn-font); }
.lhb { position: absolute; right: 10px; top: 10px; display: flex; gap: 8px; }
.lhi { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #334155; display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(15,23,42,.18); padding: 0; }
.lhi svg { width: 18px; height: 18px; } .lhi[data-act="save"] svg path { fill: none; stroke: currentColor; stroke-width: 2.2; }
.lhi.on { color: #e11d48; } .lhi.on svg path { fill: currentColor; }
.lcnt { position: absolute; right: 10px; bottom: 8px; padding: 2px 8px; border-radius: 10px; background: rgba(15,23,42,.55); color: #fff; font: 700 10.5px var(--bcn-font); }
.lfacts { display: flex; margin: 0 12px; padding: 8px 0; border-bottom: 1px solid #eef2f7; }
.lfacts > span { flex: 1 1 0; min-width: 0; text-align: center; line-height: 1.15; border-left: 1px solid #e8edf3; padding: 0 2px; }
.lfacts > span:first-child { border-left: 0; }
.lfacts b { display: block; font: 800 13.5px var(--bcn-font); color: var(--bcn-ink); white-space: nowrap; }
.lfacts small { display: block; font: 600 10px var(--bcn-font); color: var(--bcn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lprow { display: flex; align-items: center; gap: 8px; margin: 8px 12px 0; }
.lpbig { flex: 1 1 auto; min-width: 0; line-height: 1.15; }
.lpbig b { display: block; font: 800 21px var(--bcn-font); color: var(--bcn-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lpbig small { display: flex; align-items: center; gap: 5px; font: 600 11.5px var(--bcn-font); color: #475569; }
.ldot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; display: inline-block; }
.lprow .wcmp { height: 32px; border-radius: 16px; }
.lpx { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #e2e8f0; background: #fff; color: #334155; font: 700 15px var(--bcn-font); cursor: pointer; display: grid; place-items: center; padding: 0; }
.lhead .wcmpgo { display: block; margin: 6px 12px 0; }
.lasx { display: inline-flex; align-items: center; gap: 5px; margin: 6px 12px 0; padding: 3px 4px 3px 9px; border-radius: 13px; border: 0; background: #f1f5f9; color: #334155; font: 600 12px var(--bcn-font); cursor: pointer; }
.lasx b { font-weight: 800; } .lasx span { color: var(--bcn-muted); }
.lasx i { width: 17px; height: 17px; border-radius: 50%; background: #fff; color: var(--bcn-muted); font: 800 10px var(--bcn-font); font-style: normal; display: grid; place-items: center; }
.lasx.asup b { color: #b45309; } .lasx.asdn b { color: #15803d; }
ul.wasx { margin: 6px 12px 0; padding: 7px 10px 7px 24px; background: #f8fafc; border-radius: 10px; font: 500 11.5px/1.45 var(--bcn-font); color: #334155; }
/* score tabs */
.stabs { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; }
.stab { flex: 1 1 0; min-width: 0; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 20px; border: 1.5px solid #d6dee9; background: #fff; color: #334155; cursor: pointer; font: 700 13px var(--bcn-font); padding: 0 10px; }
.stab b { font: 800 18px var(--bcn-font); color: var(--bcn-navy); }
.stab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stab[aria-selected="true"] { background: var(--bcn-orange); border-color: var(--bcn-orange); color: #1f2937; box-shadow: 0 2px 8px rgba(245,162,10,.35); }
.stab[aria-selected="true"] b { color: #1f2937; }
.stabs .scq { width: 28px; height: 28px; font-size: 13px; }
ul.scinfo { margin: 6px 0 0; padding: 8px 10px 8px 24px; font-size: 11px; line-height: 1.45; }
ul.scinfo li + li { margin-top: 3px; }
/* sections with Walk / Drive columns */
.nsec { display: grid; grid-template-columns: minmax(0,1fr) 54px 54px; align-items: center; gap: 4px; margin: 10px 0 2px; }
.nsec > span { display: flex; align-items: center; gap: 7px; font: 800 11px var(--bcn-font); letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.nsec em { font: 700 10px var(--bcn-font); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--bcn-muted); text-align: right; }
.sft { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font: 800 11px var(--bcn-font); box-shadow: none !important; }
.sft svg { width: 16px; height: 16px; } .nsec .sft { width: 24px; height: 24px; border-radius: 7px; } .nsec .sft svg { width: 13px; height: 13px; }
.sft.sm { width: 22px; height: 22px; border-radius: 7px; } .sft.sm svg, .sft.sm .fsym { width: 13px !important; height: 13px !important; }
.sft.srt { font-size: 11.5px; }
.wr2 { display: grid; grid-template-columns: 30px minmax(0,1fr) 54px 54px; align-items: center; gap: 4px 8px; width: 100%; padding: 6px 0; border: 0; border-top: 1px solid #f1f5f9; background: none; text-align: left; cursor: pointer; color: var(--bcn-ink); font-family: var(--bcn-font); }
.wr2:first-of-type { border-top: 0; }
.nsec + .wr2 { border-top: 0; }
.wr2[aria-pressed="true"] .wrn b { color: var(--bcn-navy); } .wr2[aria-pressed="true"] .sft:not(.srt) { box-shadow: 0 0 0 2px currentColor !important; }
.wrn { min-width: 0; line-height: 1.2; } .wrn b { display: block; font: 700 13px var(--bcn-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrn small { display: block; font: 500 10.5px var(--bcn-font); color: var(--bcn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wdw, .wdc { display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; font: 700 12.5px var(--bcn-font); color: #1f2937; white-space: nowrap; }
.wdw svg, .wdc svg { width: 14px; height: 14px; flex: none; color: #586579; }
.wdc { color: #475569; }
.ndet { grid-template-columns: 22px minmax(0,1fr) 54px 54px !important; }
/* pills: walk + drive inline */
#wn .wfaith { gap: 6px; margin-top: 4px; }
#wn .wf { height: 32px !important; gap: 5px; padding: 0 9px 0 5px !important; border-radius: 16px; border-color: #e2e8f0; font: 700 12px var(--bcn-font) !important; color: #334155; }
#wn .wf > i.sft { box-shadow: none !important; }
#wn .wf[aria-pressed="true"] { border-color: var(--bcn-navy); background: #f3f7fd; }
.wfk { white-space: nowrap; }
.wdi { display: inline-flex; align-items: center; gap: 1px; color: #475569; font-weight: 700; } .wdi svg { width: 12px; height: 12px; color: #586579; }
.wdu { font-weight: 600; color: var(--bcn-muted); font-size: 10.5px; }
/* quick chips: neutral; coloured only when on */
.nchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 10px -12px 0; padding: 2px 12px 2px; }
.nchips::-webkit-scrollbar { display: none; }
.nchip { flex: none; height: 32px; padding: 0 13px; border-radius: 16px; border: 1.5px solid #e2e8f0; background: #f8fafc; color: #475569; font: 700 12.5px var(--bcn-font); cursor: pointer; white-space: nowrap; }
.nchip[aria-pressed="true"] { background: var(--bcn-navy); border-color: var(--bcn-navy); color: #fff; }
/* footer: Share · Hide · Show on map */
#wn .wfoot2 { gap: 8px; }
#wn .wfoot2 .whide { display: inline-flex !important; align-items: center; gap: 6px; height: 34px; padding: 0 13px 0 11px; border-radius: 17px; border: 1.5px solid #e2e8f0; background: #fff; color: #475569; font: 800 13px var(--bcn-font); cursor: pointer; }
#wn .wfoot2 .whide svg { width: 15px; height: 15px; } #wn .wfoot2 .whide span { display: inline !important; font-size: inherit !important; color: inherit !important; }
#wn .wfoot2 .wdetail2 { margin-left: auto; height: 38px; padding: 0 16px !important; border-radius: 19px; font-size: 14px !important; }
.gattn { position: relative; z-index: 3; outline: 3px solid rgba(245,162,10,.55); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .gattn { animation: gattn 1.2s ease-in-out infinite; } }
@keyframes gattn { 50% { outline-color: rgba(245,162,10,.1); outline-offset: 6px; } }
/* guide messages */
.gmsg { position: absolute; z-index: 1030; left: 50%; top: 62px; bottom: auto; transform: translateX(-50%); width: min(340px, calc(100% - 24px)); box-sizing: border-box; padding: 12px 14px 10px; background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(15,23,42,.22); font: 500 13px/1.45 var(--bcn-font); color: #1f2937; }
.gmsg[hidden] { display: none !important; }
.gmsg:not([hidden]) { display: block !important; } .gmsg ul { display: block !important; } .gmsg li { display: list-item !important; } .gmsg .gt { width: auto !important; }
.gmsg.gtop { bottom: auto; top: 62px; }
.gmsg.in { animation: gin .22s ease-out; } @keyframes gin { from { opacity: 0; transform: translate(-50%, -8px); } }
.gmsg .gt { display: block; font: 800 15px var(--bcn-font); color: var(--bcn-navy); margin-bottom: 4px; }
.gmsg ul { margin: 0; padding-left: 18px; } .gmsg li + li { margin-top: 3px; }
.gmsg .gb { display: flex; justify-content: flex-end; gap: 8px; margin-top: 9px; }
.gmsg .gok, .gmsg .galt { height: 36px; padding: 0 16px; border-radius: 18px; font: 800 13.5px var(--bcn-font); cursor: pointer; }
.gmsg .gok { border: 0; background: var(--bcn-navy); color: #fff; } .gmsg .galt { border: 1.5px solid #cbd5e1; background: #fff; color: var(--bcn-navy); }
.gpoint { position: fixed; z-index: 3000; width: 34px; height: 38px; color: var(--bcn-orange); pointer-events: none; filter: drop-shadow(0 2px 3px rgba(15,23,42,.35)); }
.gpoint[hidden] { display: none; } .gpoint svg { width: 100%; height: 100%; } .gpoint.dn svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) { .gpoint { animation: gbob .9s ease-in-out infinite; } .gpoint.dn { animation-name: gbob2; } }
@keyframes gbob { 50% { transform: translateY(-8px); } } @keyframes gbob2 { 50% { transform: translateY(8px); } }
.wbpulse { animation: wbp 1.1s ease-out 3; } @keyframes wbp { 40% { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(22,163,74,.35); } }
/* the pencil says what it is */
.sbar-draw { width: auto !important; padding: 0 12px 0 10px !important; gap: 6px; display: inline-flex !important; align-items: center; font: 800 12.5px var(--bcn-font); }
.sbar-draw .sdl b { font-weight: 800; white-space: nowrap; } .sbar-draw .sds { display: none; }
@media (max-width: 720px) { .sbar { right: 66px !important; } .sbar-draw .sdf { display: none; } .sbar-draw .sds { display: inline; } .sbar-main span { font-size: 13.5px; } }
.drawmenu .dml { display: flex; align-items: center; gap: 8px; } .drawmenu .dml em { margin-left: auto; font-style: normal; font: 800 12px var(--bcn-font); color: var(--bcn-muted); background: #f1f5f9; padding: 1px 8px; border-radius: 9px; }
.drawmenu .dml .hv { color: #e11d48; }
.drawmenu .dmi { display: block; width: 100%; padding: 6px 10px 6px 34px; text-align: left; border: 0; background: none; font: 700 12.5px var(--bcn-font); color: var(--bcn-ink); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawmenu .dmi small { color: var(--bcn-muted); font-weight: 600; }
.drawmenu .dmu, .drawmenu .dmua { flex: none; height: 28px; padding: 0 11px; border-radius: 14px; border: 1.5px solid #c7d4e6; background: #fff; color: var(--bcn-navy); font: 800 12px var(--bcn-font); cursor: pointer; }
.drawmenu .dmua { display: block; margin: 4px 0 4px 34px; }
.drawmenu .dme { margin: 2px 0 6px 34px !important; font-size: 11.5px; }
@media (max-width: 720px) {
  .lcard.small.haslh { max-height: 62% !important; }
  .lhero { height: 112px; }
  .lfacts b { font-size: 13px; } .lpbig b { font-size: 19px; }
  .stab { height: 38px; font-size: 12.5px; } .stab b { font-size: 17px; }
  .lhi { width: 38px; height: 38px; }
}
@media (max-width: 720px) and (max-height: 760px) { .lhero { height: 92px; } .lcard.small.haslh { max-height: 60% !important; } .lfacts { padding: 6px 0; } }
@media (max-width: 360px) { .lfacts small { font-size: 9px; } .lfacts b { font-size: 12px; } .nsec, .wr2 { grid-template-columns: 30px minmax(0,1fr) 48px 50px; } .nsec { grid-template-columns: minmax(0,1fr) 48px 50px; } }
.wdt { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; } .wdt + .wdt { margin-left: 6px; }
.wdt svg { width: 13px; height: 13px; flex: none; opacity: .75; }
/* map icons: soft colours (not competing with the lines), bigger for fingers, store names */
.am.soft { background: #fff !important; color: var(--bcn-c) !important; border: 2px solid color-mix(in srgb, var(--bcn-c) 45%, #fff) !important; box-shadow: 0 1px 3px rgba(15,23,42,.16) !important; }
.am.soft .sym { color: var(--bcn-c); }
.am.q { left: -9px; top: -9px; width: 18px; height: 18px; background: #f8fafc; color: #586579; border: 1.5px solid #cbd5e1; box-shadow: none !important; }
.am.q svg { width: 10px; height: 10px; }
.am.logo { background: #fff !important; padding: 2px; } .am.logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.am::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.amb { position: absolute; left: 50%; top: calc(100% + 2px); transform: translateX(-50%); padding: 0 5px; border-radius: 7px; background: rgba(255,255,255,.92); color: #334155; font: 700 10px/1.5 var(--bcn-font); white-space: nowrap; pointer-events: none; box-shadow: 0 0 0 1px rgba(15,23,42,.08); }
.am.q .amb { color: #586579; font-weight: 600; }
.pkn { position: absolute; transform: translate(-50%, -50%); padding: 0 6px; color: #166534; font: 700 11px/1.4 var(--bcn-font); white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; letter-spacing: .01em; cursor: pointer; }
@media (max-width: 720px) {
  .leaflet-pane .am:not(.sel):not(.q) { left: -15px; top: -15px; width: 30px; height: 30px; } .leaflet-pane .am:not(.sel):not(.q) svg { width: 16px; height: 16px; }
  .leaflet-pane .am.q { left: -12px; top: -12px; width: 24px; height: 24px; } .leaflet-pane .am.q svg { width: 12px; height: 12px; }
  .am::before { inset: -10px; }
}
/* compare: plain words instead of colours */
.cvc.win { background: #f8fafc !important; }
.cvwin { display: inline-block; margin-top: 3px; padding: 1px 7px; border-radius: 9px; background: #e8eef8; color: var(--bcn-navy); font: 800 10.5px/1.5 var(--bcn-font); white-space: nowrap; }
.cvsame { display: inline-block; margin-top: 3px; color: var(--bcn-muted); font: 600 10.5px var(--bcn-font); }
.cvna { color: var(--bcn-muted); font-size: 11.5px; }
.cvhow { margin: 4px 0 8px; padding: 7px 10px; border-radius: 10px; background: #fff8e8; color: #4b3a12; font: 600 12.5px/1.4 var(--bcn-font); }
.cvc.best { background: none !important; } .cvc .cvbest { display: none !important; } .cvrow .cvc .cvwin, .cvrow .cvc .cvsame { order: 2; margin-top: 0; }
@media (min-width: 721px) { .lcard.small.haslh { width: 372px; max-height: calc(100% - 190px) !important; } }
.lcard.haslh .wn { border-top: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
.lcard.haslh .lhero { border-radius: 14px 14px 0 0; }
.drawmenu .dmr { display: flex !important; align-items: center; gap: 8px; } .drawmenu .dmr .dmi { flex: 1 1 auto !important; min-width: 0; width: auto !important; } .drawmenu .dmr .dmu { flex: none !important; width: auto !important; margin-right: 6px; }
/* score tabs: number in a white circle; the chosen tab is softly orange */
.stab { justify-content: flex-start; gap: 8px; padding: 0 12px 0 5px; background: #f8fafc; border-color: #e2e8f0; color: #475569; }
.stab b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 14.5px; color: var(--bcn-navy); box-shadow: 0 0 0 1.5px #e2e8f0; }
.stab[aria-selected="true"] { background: #fff4df; border-color: #f5b94a; color: #7a4a00; box-shadow: none; }
.stab[aria-selected="true"] b { color: #9a5b00; box-shadow: 0 0 0 2px var(--bcn-orange); }
.stab span { font-weight: 800; }
/* Nov 11 B2 */
.nsub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: -1px 0 2px; font: 500 11.5px/1.4 var(--bcn-font); color: #586579; } .nsub b { color: #334155; }
.lphoto { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; display: block; width: 100%; height: 100%; }
.lphoto > svg, .lphoto > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lyw .lyleg { margin: 2px 0 6px 38px; }
.ldv { position: fixed; inset: 0; z-index: 4000; background: rgba(15,23,42,.45); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .18s; }
.ldv[hidden] { display: none !important; } .ldv.on { opacity: 1; }
.ldw { width: min(460px, 100%); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(15,23,42,.25); font-family: var(--bcn-font); }
@media (min-width: 721px) { .ldv { align-items: center; } .ldw { border-radius: 18px; } }
.ldph { position: relative; height: 210px; background: #e6eef7; overflow: hidden; } .ldph > svg, .ldph > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ldx { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); font: 700 16px var(--bcn-font); cursor: pointer; box-shadow: 0 1px 4px rgba(15,23,42,.2); }
.ldb { padding: 14px 16px 16px; } .ldp { font: 800 24px var(--bcn-font); color: var(--bcn-navy); } .lda { margin: 2px 0 0; font: 600 13.5px var(--bcn-font); color: #334155; }
.lds { margin: 4px 0 10px; display: flex; align-items: center; gap: 6px; font: 600 12.5px var(--bcn-font); color: #475569; }
.ldf { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #eef2f7; border-radius: 12px; overflow: hidden; }
.ldf > div { background: #fff; padding: 8px 10px; } .ldf dt { font: 600 11px var(--bcn-font); color: #586579; } .ldf dd { margin: 1px 0 0; font: 800 14px var(--bcn-font); color: #1f2937; }
.ldn { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: #f8fafc; font: 500 12px/1.45 var(--bcn-font); color: #475569; }
.ldbtn { display: flex; gap: 8px; margin-top: 12px; } .ldbtn button { flex: 1 1 0; height: 42px; border-radius: 21px; font: 800 13.5px var(--bcn-font); cursor: pointer; }
.ldback { border: 1.5px solid #cbd5e1; background: #fff; color: var(--bcn-navy); } .ldmap { border: 0; background: var(--bcn-orange); color: #1f2937; }
/* smaller search bar (the live site has its filters beside it); Lists stays labelled */
.sbar { width: 270px !important; height: 38px !important; } .sbar-main { font-size: 13px !important; gap: 7px !important; } .sbar-main svg { width: 15px !important; height: 15px !important; }
.sbar-draw { height: 30px !important; padding: 0 9px 0 8px !important; gap: 4px !important; font-size: 11.5px !important; } .sbar-draw svg { width: 14px !important; height: 14px !important; }
@media (max-width: 720px) { .sbar { width: auto !important; right: 132px !important; height: 40px !important; } .sbar-main span { font-size: 13px !important; } }
@media (max-width: 360px) { .sbar { right: 70px !important; } }
@media (min-width: 721px) { .sbar { width: 310px !important; } }
.ldbtn { position: sticky; bottom: 0; margin: 12px -16px -16px !important; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(rgba(255,255,255,0), #fff 25%); }
.ldph { height: 180px; }
.lyw:has(.lyleg) { flex-wrap: wrap !important; } .lyw .lyleg { flex: 1 1 100% !important; width: 100%; box-sizing: border-box; margin: 4px 0 6px !important; padding-left: 10px; } .lyw .lyleg span { white-space: nowrap; }
#lcard, #lcard * { touch-action: pan-y; } #lcard .wfaith, #lcard .wfaith * { touch-action: pan-x pan-y; } .ldw { touch-action: pan-y; overscroll-behavior: contain; }
/* everything lines up: icon | number (same width, right-aligned) | "min" */
.nsec, .wr2, .ndet { grid-template-columns: 30px minmax(0,1fr) 64px 64px !important; column-gap: 8px !important; }
.nsec { grid-template-columns: minmax(0,1fr) 64px 64px !important; }
.ndet { grid-template-columns: 22px minmax(0,1fr) 64px 64px !important; }
.nsec em { text-align: left !important; padding-left: 2px; }
.wdw, .wdc { display: inline-grid !important; grid-template-columns: 15px 2.2ch auto; align-items: center; justify-content: start !important; column-gap: 3px; font-variant-numeric: tabular-nums; }
.wdw b, .wdc b { font-weight: 800; text-align: right; } .wdw i, .wdc i { font-style: normal; font-weight: 600; color: #586579; font-size: 11.5px; }
.wdw svg, .wdc svg { width: 15px !important; height: 15px !important; }
.wdi, .wdt { font-variant-numeric: tabular-nums; }
.wr2 > .sft, .nsec .sft { justify-self: center; }
@media (max-width: 360px) { .nsec, .wr2 { grid-template-columns: 28px minmax(0,1fr) 58px 58px !important; } .nsec { grid-template-columns: minmax(0,1fr) 58px 58px !important; } }
.wdi { gap: 3px !important; } .wdi + .wdi { margin-left: 4px; padding-left: 7px; border-left: 1px solid #e2e8f0; } .wdi small { font-size: 10.5px; font-weight: 600; color: var(--bcn-muted); margin-left: 2px; }
/* score tabs that look like tabs: a grey track, the chosen one lifts out in white with an orange edge, and each says what a tap does */
.stabs { gap: 6px !important; padding: 4px; margin: 10px 0 4px !important; background: #eef2f7; border-radius: 16px; }
.stabs .stab { height: 52px !important; border-radius: 12px !important; border: 0 !important; background: transparent !important; color: #475569 !important; padding: 0 8px 0 6px !important; gap: 8px !important; box-shadow: none !important; position: relative; cursor: pointer; }
.stabs .stab span { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.15; text-align: left; }
.stabs .stab strong { font: 800 13.5px var(--bcn-font); color: #334155; }
.stabs .stab small { font: 600 10.5px var(--bcn-font); color: #586579; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.stabs .stab b { width: 34px !important; height: 34px !important; font-size: 15px !important; background: #fff !important; color: var(--bcn-navy) !important; box-shadow: 0 0 0 1.5px #d6dee9 !important; }
.stabs .stab[aria-selected="true"] { background: #fff !important; box-shadow: 0 2px 8px rgba(15,23,42,.10) !important; }
.stabs .stab[aria-selected="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--bcn-orange); }
.stabs .stab[aria-selected="true"] b { background: #fff4df !important; color: #8a5200 !important; box-shadow: 0 0 0 2px var(--bcn-orange) !important; }
.stabs .stab[aria-selected="true"] small { color: #b45309; }
.stabs .stab[aria-selected="false"]:hover { background: rgba(255,255,255,.6) !important; }
.stabs .stab[aria-selected="false"] small { color: var(--bcn-navy); text-decoration: underline; text-decoration-color: rgba(30,78,140,.35); text-underline-offset: 2px; }
.stabs .scq { align-self: center; background: #fff; }
@media (prefers-reduced-motion: no-preference) { .stabs .stab.nudge { animation: tabnudge 2.6s ease-in-out .8s 2; } }
@keyframes tabnudge { 0%, 100% { background: transparent; } 40% { background: #fff8e8; box-shadow: 0 0 0 2px rgba(245,162,10,.45); } }
@media (max-width: 360px) { .stabs .stab small { font-size: 9.5px; } .stabs .stab strong { font-size: 12.5px; } .stabs .stab b { width: 30px !important; height: 30px !important; font-size: 13.5px !important; } }
/* compare: summary + what to check */
.cvtag { align-self: flex-start; width: fit-content; display: inline-block; margin: 6px 0 1px; padding: 1px 8px; border-radius: 9px; background: #e8eef8; color: var(--bcn-navy); font: 800 11px var(--bcn-font); }
.cvsum, .cvdisc { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; font: 500 13px/1.5 var(--bcn-font); color: #1f2937; }
.cvsum { background: #f3f7fd; border: 1px solid #dbe5f3; } .cvdisc { background: #fffaf0; border: 1px solid #f5dfb0; }
.cvst { display: block; margin: 2px 0 6px; font: 800 14.5px var(--bcn-font); color: var(--bcn-navy); } .cvdisc .cvst { color: #8a5200; }
.cvsum ul, .cvdisc ul { margin: 0 0 8px; padding-left: 18px; } .cvsum li + li, .cvdisc li + li { margin-top: 5px; }
.cvpick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .cvpick > div { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 7px 10px; background: #fff; border-radius: 10px; border: 1px solid #e2e8f0; }
.cvpick span { font-weight: 600; color: #475569; font-size: 12.5px; } .cvpick em { font-style: normal; font-weight: 800; color: var(--bcn-navy); white-space: nowrap; }
.cvmix { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fff7e6; border: 1px solid rgba(201,161,78,.55); color: #5a4300; font-size: 13px; line-height: 1.5; }
.cvwarn { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: #eff6ff; color: #1e3a8a; font-size: 12.5px; }
.cvdisc p { margin: 4px 0 0; font-size: 11.5px; color: #586579; }
@media (max-width: 420px) { .cvpick { grid-template-columns: 1fr; } }
@media (max-width: 360px) { .nsub { font-size: 10.5px !important; letter-spacing: -.1px; } }
/* QA pass: full names (2 lines), one pointer at a time, compact guide on short phones */
.wrn b { white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; }
#wdetail.gattn ~ .mhint { display: none !important; }
@media (max-height: 700px) { .gmsg { padding: 9px 12px 8px; font-size: 12.5px; line-height: 1.38; } .gmsg .gt { font-size: 14px; margin-bottom: 2px; } .gmsg li + li { margin-top: 1px; } .gmsg .gb { margin-top: 6px; } .gmsg .gok, .gmsg .galt { height: 32px; } .gmsg.gtop { top: 56px; } }
/* tips: a small box that waits for "Got it" */
.gmsg { width: min(280px, calc(100% - 24px)) !important; padding: 10px 12px 8px !important; font-size: 12.5px !important; line-height: 1.4 !important; border-radius: 14px !important; }
.gmsg .gt { font-size: 14px !important; margin-bottom: 3px !important; }
.gmsg ul { padding-left: 16px !important; } .gmsg li + li { margin-top: 2px !important; }
.gmsg ul:has(> li:only-child) { padding-left: 0 !important; list-style: none; }
.gmsg .gb { margin-top: 7px !important; align-items: center; }
.gmsg .gok { height: 30px !important; padding: 0 14px !important; font-size: 12.5px !important; }
.gmsg .galt { height: 30px !important; padding: 0 4px !important; border: 0 !important; background: none !important; color: #586579 !important; font: 600 12px var(--bcn-font) !important; text-decoration: underline; text-underline-offset: 2px; margin-right: auto; }
/* ===== Nov 12 B: calm card. One ink colour, one muted grey, navy for numbers, orange only for "what's active" ===== */
#lcard { --bcn-c-ink: #233142; --bcn-c-mut: #737f8e; --bcn-c-line: #eef1f5; --bcn-c-soft: #f5f7fa; }
#wn { color: var(--bcn-c-ink); }
/* section heads: sentence case, quiet, aligned with the columns */
#wn .nsec { margin: 14px 0 0 !important; padding-bottom: 4px; border-bottom: 1px solid var(--bcn-c-line); }
#wn .nsec > span { font: 700 12.5px var(--bcn-font) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--bcn-c-ink) !important; }
#wn .nsec em { display: inline-flex; align-items: center; justify-content: flex-start; gap: 4px; font: 600 11px var(--bcn-font) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--bcn-c-mut) !important; padding-left: 0 !important; }
#wn .nsec em svg { width: 13px !important; height: 13px !important; opacity: .7; }
/* rows: neutral glyphs, no coloured tiles */
#wn .wr2 { padding: 8px 0 !important; border-top: 1px solid var(--bcn-c-line) !important; }
#wn .nsec + .wr2 { border-top: 0 !important; }
#wn .wr2 > .sft:not(.srt) { background: none !important; color: #8a95a3 !important; width: 30px; height: 26px; box-shadow: none !important; }
#wn .wr2 > .sft:not(.srt) svg { width: 17px; height: 17px; }
#wn .wr2[aria-pressed="true"] > .sft:not(.srt) { color: var(--bcn-navy) !important; }
#wn .wr2[aria-pressed="true"] .wrn b { color: var(--bcn-navy); }
#wn .wrn b { font: 600 13.5px/1.25 var(--bcn-font) !important; color: var(--bcn-c-ink); }
#wn .wrn small { font: 500 11.5px var(--bcn-font) !important; color: var(--bcn-c-mut) !important; margin-top: 1px; }
/* school rating: a soft pill instead of a loud square */
#wn .sft.srt { width: 30px !important; height: 22px !important; border-radius: 11px !important; font: 700 11px var(--bcn-font) !important; filter: saturate(.55) brightness(1.08); }
/* walk / drive: plain numbers in two even columns */
#wn .wdw, #wn .wdc { grid-template-columns: 2.4ch auto !important; column-gap: 3px !important; }
#wn .wdw b, #wn .wdc b { font: 600 13.5px var(--bcn-font) !important; color: var(--bcn-c-ink); }
#wn .wdc b { color: #4b5768; }
#wn .wdw i, #wn .wdc i { font: 500 11px var(--bcn-font) !important; color: var(--bcn-c-mut) !important; }
/* swipe row: neutral pills */
#wn .wf { background: #fff !important; border: 1px solid #e3e8ef !important; color: var(--bcn-c-ink) !important; font-weight: 600 !important; }
#wn .wf > i.sft, #wn .wf > i.sft.sm { background: none !important; color: #8a95a3 !important; width: 18px !important; }
#wn .wf > i.sft .fsym, #wn .wf > i.sft svg { color: #8a95a3 !important; fill: currentColor; }
#wn .wf[aria-pressed="true"] { border-color: #b9c8de !important; background: #f4f7fc !important; }
#wn .wf[aria-pressed="true"] > i.sft { color: var(--bcn-navy) !important; }
#wn .wdi { color: #4b5768 !important; font-weight: 600 !important; } #wn .wdi svg { color: #9aa4b1 !important; }
#wn .nsub { color: var(--bcn-c-mut) !important; font-size: 11.5px !important; } #wn .nsub b { color: var(--bcn-c-mut) !important; font-weight: 600; }
/* head of the card: lighter weights, less ink */
.lfacts b { font-weight: 700 !important; color: var(--bcn-c-ink) !important; } .lfacts small { color: var(--bcn-c-mut) !important; }
.lpbig b { font-weight: 800; } .lpbig small { color: var(--bcn-c-mut) !important; font-weight: 500 !important; }
.lasx { background: var(--bcn-c-soft) !important; font-weight: 500 !important; color: #4b5768 !important; } .lasx b { font-weight: 700 !important; }
/* flood note: calm blue, not an alarm */
#wn .wflood { background: #f3f7fc !important; border: 1px solid #dfe8f4 !important; } #wn .wflood i { background: #5b7bb0 !important; }
#wn .wflood b { font-weight: 600 !important; color: var(--bcn-c-ink) !important; } #wn .wflood small { color: var(--bcn-c-mut) !important; }
/* tabs: quieter track */
.stabs { background: var(--bcn-c-soft) !important; }
.stabs .stab strong { font-weight: 700 !important; }
/* phone: more air, less stuff */
@media (max-width: 720px) {
  .lhero { height: 100px !important; }
  .lfacts { padding: 7px 0 !important; } .lfacts b { font-size: 13px !important; } .lfacts small { font-size: 10px !important; }
  .stabs .stab { height: 46px !important; } .stabs .stab b { width: 30px !important; height: 30px !important; font-size: 13.5px !important; }
  #wn .wrn b { font-size: 13px !important; }
}
@media (max-width: 720px) and (max-height: 760px) { .lhero { height: 84px !important; } }
/* map price tags: softer, so the map reads first; the chosen home stays bright */
.lp { background: #4c72a2 !important; border-color: rgba(255,255,255,.85) !important; box-shadow: 0 1px 3px rgba(15,23,42,.18) !important; font-weight: 700 !important; }
.lp.drop { background: #bf5426 !important; }
/* (Nov 23, owner: "2 Homes, 3 Homes blur") solid soft colours, so a tag never shows the one under it through it; the "2 Homes" tags keep their white look with navy words */
.lp.grp:not(.on) { background: #fff !important; color: var(--bcn-navy, #1e4e8c) !important; border-color: var(--bcn-navy, #1e4e8c) !important; }
.lp.grp:not(.on):hover { background: #eef3fa !important; }
.lp.on { background: var(--bcn-orange) !important; color: var(--bcn-ink) !important; box-shadow: 0 0 0 4px rgba(245,162,10,.3), 0 3px 10px rgba(15,23,42,.3) !important; }
.lp:hover { background: var(--bcn-navy) !important; }
/* walk / drive cells: icon | number | min, same grid in every row so everything lines up */
#wn .wdw, #wn .wdc { display: inline-grid !important; grid-template-columns: 16px 2.4ch auto !important; column-gap: 4px !important; align-items: center !important; justify-content: start !important; }
#wn .wdw svg, #wn .wdc svg { width: 15px !important; height: 15px !important; color: #8a95a3 !important; opacity: 1 !important; display: block; shape-rendering: geometricPrecision; }
#wn .wdw b, #wn .wdc b { text-align: right; }
#wn .nsec em { padding-left: 20px !important; }
/* icons: grey when off; when a place is showing on the map, its icon gets a soft tint of its map colour and a thin ring */
#wn .wr2 > .sft:not(.srt) { border-radius: 50% !important; width: 30px !important; height: 30px !important; transition: background .2s, color .2s, box-shadow .2s; }
#wn .wr2[aria-pressed="true"] > .sft:not(.srt) { background: var(--bcn-sbg) !important; color: var(--bcn-sfg) !important; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bcn-sfg) 35%, transparent) !important; }
#wn .wr2[aria-pressed="true"] > .sft:not(.srt) svg { width: 16px; height: 16px; }
#wn .wr2[aria-pressed="true"] .wrn b { color: var(--bcn-c-ink) !important; }
#wn .wf > i.sft, #wn .wf > i.sft.sm { border-radius: 50% !important; width: 22px !important; height: 22px !important; }
#wn .wf[aria-pressed="true"] > i.sft, #wn .wf[aria-pressed="true"] > i.sft.sm { background: var(--bcn-sbg) !important; color: var(--bcn-sfg) !important; }
#wn .wf[aria-pressed="true"] > i.sft .fsym, #wn .wf[aria-pressed="true"] > i.sft svg { color: var(--bcn-sfg) !important; }
#wn .wr2[aria-pressed="true"] > .sft.srt { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #9fb3cf !important; }
/* the place that is showing gets a soft heartbeat: three slow beats, then it rests */
#wn .wr2 > .sft, #wn .wf > i.sft { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  #wn .wr2[aria-pressed="true"] > .sft::after, #wn .wf[aria-pressed="true"] > i.sft::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in srgb, var(--bcn-sfg, #9fb3cf) 45%, transparent); animation: hbeat 1.6s ease-out .3s 3; pointer-events: none; }
  #wn .wr2[aria-pressed="true"] > .sft.srt::after { box-shadow: 0 0 0 0 rgba(30,78,140,.35); }
  #wn .wr2[aria-pressed="true"] > .sft { animation: hthump 1.6s ease-in-out .3s 3; }
}
@keyframes hbeat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bcn-sfg, var(--bcn-navy)) 45%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes hthump { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.07); } 48% { transform: scale(1); } }
.lphoto { position: absolute !important; } .lphoto > svg, .lphoto > img, .ldph > svg, .ldph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lsamp { z-index: 2; } .lhb, .lseen, .lcnt { z-index: 2; }
/* Nov 12 G */
/* faith symbols: bigger and darker so each one is clear and respectful */
#wn .wf > i.sft, #wn .wf > i.sft.sm { width: 24px !important; height: 24px !important; color: #475569 !important; font: 400 16px/1 "Segoe UI Symbol", "Noto Sans Symbols", "Apple Symbols", "Noto Sans Devanagari", system-ui, sans-serif !important; }
#wn .wf > i.sft .fsym, #wn .wf > i.sft svg { width: 17px !important; height: 17px !important; color: #475569 !important; }
#wn .wf[aria-pressed="true"] > i.sft { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bcn-sfg) 35%, transparent); }
/* walk | drive: a little more room between the two, and each icon sits right beside its own number */
#wn .wr2, #wn .ndet { grid-template-columns: 30px minmax(0,1fr) 58px 66px !important; column-gap: 6px !important; }
#wn .nsec { grid-template-columns: minmax(0,1fr) 58px 66px !important; column-gap: 6px !important; }
#wn .wdw, #wn .wdc { grid-template-columns: 15px 2ch auto !important; column-gap: 3px !important; }
#wn .wdc { padding-left: 8px; }
#wn .nsec em { padding-left: 18px !important; } #wn .nsec em + em { padding-left: 26px !important; }
@media (max-width: 360px) { #wn .wr2, #wn .ndet { grid-template-columns: 26px minmax(0,1fr) 54px 60px !important; } #wn .nsec { grid-template-columns: minmax(0,1fr) 54px 60px !important; } #wn .wdc { padding-left: 5px; } #wn .nsec em + em { padding-left: 23px !important; } }
/* phone card: a floating sheet with even edges, sitting a bit higher but always below the search bar, Near me and the sample note */
@media (max-width: 720px) {
  .lcard.small, .lcard.small.haslh { left: 10px !important; right: 10px !important; border: 1px solid #e3e8ef !important; border-top: 1px solid #e3e8ef !important; border-radius: 18px !important; box-shadow: 0 8px 28px rgba(15,23,42,.16), 0 1px 3px rgba(15,23,42,.08) !important; }
  .lcard.small.haslh { max-height: 66% !important; }
  .lcard.haslh .lhero { border-radius: 17px 17px 0 0 !important; }
}
@media (max-width: 720px) and (max-height: 760px) { .lcard.small.haslh { max-height: 64% !important; } }
/* listing kinds */
.lp.sold { background: #c62828 !important; }   /* Nov 24 (owner): sold is red */ .lp.fc { background: rgba(91,33,182,.85) !important; } .lp.fcs { background: rgba(107,91,140,.82) !important; }
.lp .fcb { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-right: 4px; border-radius: 4px; background: #fff; color: #5b21b6; font: 900 9.5px var(--bcn-font); vertical-align: 1px; }
.lp.fcs .fcb { color: #6b5b8c; }
.lp.lsoff { display: none !important; }
.lyr i.lsw, .lyr i.lmico { display: inline-flex !important; } .lyr i.lmico { display: grid !important; }
.lyr i.lsw { width: auto !important; min-width: 46px; height: 20px !important; border: 0 !important; justify-content: center; }
.lsw { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bcn-navy); color: #fff; font: 800 10px var(--bcn-font); font-style: normal; white-space: nowrap; }
.lsw.drop { background: #c2410c; } .lsw.sold { background: #c62828; } .lsw.fc { background: #5b21b6; } .lsw.fcs { background: #6b5b8c; }
.lsw b { display: inline-grid; place-items: center; width: 12px; height: 12px; border-radius: 3px; background: #fff; color: #5b21b6; font-size: 8.5px; }
.lyr .nm small { display: block; font: 500 11px var(--bcn-font); color: var(--bcn-muted); }
.lytool .lmico { flex: none; width: 28px; height: 28px; border-radius: 8px; background: #eef3fb; color: var(--bcn-navy); display: grid; place-items: center; } .lytool .lmico svg { width: 17px; height: 17px; }
.lytool .lygo { margin-left: auto; padding: 4px 11px; border-radius: 14px; background: var(--bcn-navy); color: #fff; font: 800 12px var(--bcn-font); }
/* measure tool */
.measuring { cursor: crosshair; } .measuring .lp, .measuring .am, .measuring .pkn { pointer-events: none !important; opacity: .45; }
.msbar { position: absolute; z-index: 1030; left: 50%; top: 10px; transform: translateX(-50%); width: min(460px, calc(100% - 20px)); box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(15,23,42,.18); font: 600 13px/1.3 var(--bcn-font); color: var(--bcn-ink); }
.msdot.mini { left: -4px !important; top: -4px !important; width: 8px !important; height: 8px !important; border-width: 2px !important; box-shadow: none !important; } .msdot.mini::before { inset: -7px !important; }
.msbar[hidden], .msbox[hidden] { display: none !important; }
.msbar > b { flex: 1 1 auto; font-weight: 700; } .msbtns { display: flex; gap: 6px; flex: none; }
.msbtns button { height: 32px; padding: 0 11px; border-radius: 16px; border: 1.5px solid #d6dee9; background: #fff; color: var(--bcn-navy); font: 700 12.5px var(--bcn-font); cursor: pointer; } .msbtns button:disabled { opacity: .4; }
.msbtns .go { background: var(--bcn-navy); border-color: var(--bcn-navy); color: #fff; }
.msbox { position: absolute; z-index: 1029; left: 10px; bottom: 26px; width: min(380px, calc(100% - 20px)); max-height: 46%; overflow-y: auto; box-sizing: border-box; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(15,23,42,.18); font: 500 12.5px var(--bcn-font); color: var(--bcn-ink); }
.mstot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; margin-bottom: 8px; } .mstot > div { padding: 7px 8px; border-radius: 10px; background: #f3f7fc; text-align: center; }
.mstot b { display: block; font: 800 17px var(--bcn-font); color: var(--bcn-navy); font-variant-numeric: tabular-nums; } .mstot small { color: var(--bcn-muted); font-weight: 600; }
.mstab { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; } .mstab th { text-align: right; font: 600 11px var(--bcn-font); color: var(--bcn-muted); padding: 3px 4px; border-bottom: 1px solid #eef1f5; }
.mstab td { text-align: right; padding: 5px 4px; border-bottom: 1px solid #f3f5f8; } .mstab th:first-child, .mstab td:first-child { text-align: left; } .mstab td:last-child { color: #475569; white-space: nowrap; }
.mstab tfoot td { font-weight: 800; border-bottom: 0; }
.msnote { margin: 8px 0 0; font-size: 11px; line-height: 1.45; color: var(--bcn-muted); }
.msdisc b { color: var(--bcn-ink); font-weight: 700; }   /* CHANGED IN AC */
.mscopy { margin-top: 8px; width: 100%; height: 36px; border-radius: 18px; border: 1.5px solid #c7d4e6; background: #fff; color: var(--bcn-navy); font: 800 13px var(--bcn-font); cursor: pointer; }
.msdot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--bcn-navy); box-sizing: border-box; box-shadow: 0 1px 4px rgba(15,23,42,.3); cursor: grab; }
.msdot::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
.msdot.first { background: var(--bcn-orange); border-color: #fff; box-shadow: 0 0 0 3px var(--bcn-orange), 0 1px 4px rgba(15,23,42,.3); }
.mslbl { position: absolute; transform: translate(-50%, -50%); padding: 2px 7px; border-radius: 9px; background: rgba(255,255,255,.95); color: #1f2937; font: 700 11px var(--bcn-font); white-space: nowrap; box-shadow: 0 1px 3px rgba(15,23,42,.2); font-variant-numeric: tabular-nums; }
.msarea { position: absolute; transform: translate(-50%, -50%); padding: 5px 10px; border-radius: 11px; background: var(--bcn-navy); color: #fff; text-align: center; white-space: nowrap; box-shadow: 0 2px 8px rgba(15,23,42,.3); }
.msarea { padding: 3px 8px !important; } .msarea b { display: block; font: 800 12.5px var(--bcn-font); } .msarea span { font: 600 11px var(--bcn-font); opacity: .9; }
@media (max-width: 720px) { .msbar { top: 6px; font-size: 12.5px; } .msbox { left: 8px; right: 8px; width: auto; bottom: 10px; max-height: 42%; } .msbtns button { padding: 0 9px; } }
@media (max-width: 720px) { .lyr i.lsw { min-width: 0 !important; height: 18px !important; padding: 0 5px !important; font-size: 9.5px !important; } .lyr .nm small { display: none; } .lyr i.lmico { width: 22px !important; height: 22px !important; } .lytool .lygo { padding: 3px 9px; font-size: 11.5px; } }
.lyseg { display: flex; gap: 4px; margin: 2px 0 6px; padding: 3px; background: #eef2f7; border-radius: 12px; }
.lyseg button { flex: 1 1 0; height: 32px; border: 0; border-radius: 9px; background: none; color: #475569; font: 700 13px var(--bcn-font); cursor: pointer; }
.lyseg button[aria-pressed="true"] { background: #fff; color: var(--bcn-navy); box-shadow: 0 1px 4px rgba(15,23,42,.12); }
.lyonly { display: flex; align-items: center; } .lyonly .lyr { flex: 1 1 auto; min-width: 0; }
.lyonlyb { flex: none; height: 26px; padding: 0 9px; border-radius: 13px; border: 1px solid #d6dee9; background: #fff; color: var(--bcn-navy); font: 700 11.5px var(--bcn-font); cursor: pointer; opacity: 0; transition: opacity .15s; }
.lyonly:hover .lyonlyb, .lyonly:focus-within .lyonlyb { opacity: 1; }
@media (hover: none) { .lyonlyb { opacity: 1; } }
.msline { display: flex; align-items: center; gap: 8px; font: 600 14px var(--bcn-font); color: var(--bcn-ink); } .msline span { flex: 1 1 auto; } .msline b { color: var(--bcn-navy); font-weight: 800; font-variant-numeric: tabular-nums; }
.msline button { flex: none; height: 30px; padding: 0 11px; border-radius: 15px; border: 1.5px solid #d6dee9; background: #fff; color: var(--bcn-navy); font: 700 12.5px var(--bcn-font); cursor: pointer; }
.msbox { padding: 10px 12px !important; } .msbox .msnote { margin: 4px 0 0 !important; } .msbox .mstab { margin-top: 8px; }
/* NEW IN AI: quiet feedback, only after a lot is measured (once per visit) */
.msfb { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #d6dee9; display: grid; gap: 6px; font: 500 12px var(--bcn-font); color: var(--bcn-muted); } .msfb[hidden] { display: none; }
.msfbq { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .msfbt { display: flex; gap: 6px; }
.msfbt button { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid #d6dee9; background: #fff; color: var(--bcn-muted); display: grid; place-items: center; cursor: pointer; } .msfbt button:hover { color: var(--bcn-navy); border-color: var(--bcn-navy); } .msfbt button + button svg { transform: rotate(180deg); }
.msfbok { margin: 0; color: #2f7d5b; font-weight: 700; }
.msfbv { padding: 8px 10px; border: 1px solid #d6dee9; border-radius: 10px; background: var(--bcn-accent-soft, #fff7e6); font: 500 12.5px var(--bcn-font); color: var(--bcn-ink); text-align: left; cursor: pointer; } .msfbv b { color: var(--bcn-navy); font-weight: 800; }
.msfb label { font-weight: 700; color: var(--bcn-ink); } .msfb .lotown2 { margin-top: 0; }
.msfb textarea, .msfb > input { width: 100%; box-sizing: border-box; padding: 7px 10px; border: 1px solid #cfd6df; border-radius: 8px; font: 500 16px var(--bcn-font); color: var(--bcn-ink); background: #fff; resize: none; }
.msfbb { display: flex; gap: 6px; align-items: center; } .msfbw { font: 700 12.5px var(--bcn-font); color: var(--bcn-navy); padding: 0 6px; }
/* swipe hint: a soft flat band, and the arrows breathe so the hidden pills get noticed */
#wn .nsub { display: block; margin: 4px 0 4px !important; padding: 5px 8px; font-size: 11px !important; letter-spacing: -.15px; border-radius: 9px; background: #eef3fa; color: #3d5a80 !important; font-weight: 600 !important; }
#wn .nsub b { color: var(--bcn-navy) !important; font-weight: 700 !important; }
@media (prefers-reduced-motion: no-preference) {
  #wn .nsar { display: inline-block; animation: nsar 1.4s ease-in-out infinite; }
  #wn .wfar.r:not([hidden]) { animation: wfar 1.4s ease-in-out infinite; }
}
@keyframes nsar { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes wfar { 0%, 100% { transform: translateX(0); box-shadow: 0 1px 4px rgba(15,23,42,.18); } 50% { transform: translateX(3px); box-shadow: 0 0 0 4px rgba(30,78,140,.12), 0 1px 4px rgba(15,23,42,.18); } }
@media (max-width: 340px) { #wn .nsub { font-size: 9.6px !important; letter-spacing: -.35px; padding: 5px 5px; } }
/* the yellow button says what it is */
.bcn-fab::after { content: "Layers"; position: absolute; left: 50%; top: calc(100% + 3px); transform: translateX(-50%); padding: 1px 7px; border-radius: 8px; background: rgba(255,255,255,.95); color: var(--bcn-navy); font: 800 10.5px/1.45 var(--bcn-font); white-space: nowrap; box-shadow: 0 1px 3px rgba(15,23,42,.15); pointer-events: none; }
.bcn-fab[aria-expanded="true"]::after { display: none; }
.fabhint { margin-top: 22px !important; }
.lyseg button { height: 42px !important; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.lyseg button b { font: 700 13px var(--bcn-font); } .lyseg button small { font: 600 10.5px var(--bcn-font); color: #586579; }
.lyseg button[aria-pressed="true"] { box-shadow: 0 1px 4px rgba(15,23,42,.12), inset 0 -3px 0 var(--bcn-orange) !important; } .lyseg button[aria-pressed="true"] small { color: #b45309; }
.lyseg button[aria-pressed="false"] small { color: var(--bcn-navy); text-decoration: underline; text-underline-offset: 2px; }
/* while a home is open, other price tags step far back; the chosen home stays bright */
.lpfade .lp:not(.on) { opacity: .32 !important; filter: saturate(.35) !important; box-shadow: none !important; border-color: rgba(255,255,255,.5) !important; transform: translate(-50%, -50%) scale(.85) !important; transition: opacity .25s, filter .25s, transform .25s !important; }
.lpfade .lp:not(.on):hover { opacity: .9 !important; filter: none !important; transform: translate(-50%, -50%) scale(1) !important; }
.lp.on { opacity: 1 !important; filter: none !important; }
.am.sdim { opacity: .35; filter: grayscale(.8); transform: scale(.85); box-shadow: none !important; } .am.sdim:hover { opacity: 1; filter: none; transform: none; }
#wn .nsec .nsh { margin-left: auto; padding-left: 6px; font: 500 11px var(--bcn-font); color: #586579; white-space: nowrap; }
#wn .nsec > span:has(.nsh) { flex: 1 1 auto; min-width: 0; white-space: nowrap; grid-column: 1 / -1; }
#wn .nsdn { display: inline-block; margin-left: 5px; color: var(--bcn-navy); font: 800 14px var(--bcn-font); font-style: normal; }
@media (prefers-reduced-motion: no-preference) { #wn .nsdn { animation: nsdn 1.4s ease-in-out infinite; } }
@keyframes nsdn { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
/* ######## PART 1c: STYLES - top row (Search + Filters) and right column ######## */
/* ===== Nov 12 Q: top row = Search + Filters; right column = Layers, Measure, Lists, Near me ===== */
.sbar-flt { flex: none; display: inline-flex; align-items: center; gap: 5px; height: calc(100% - 8px); margin-right: 4px; padding: 0 12px 0 10px; border: 0; border-left: 1px solid var(--bcn-line); border-radius: 0 18px 18px 0; background: none; color: var(--bcn-navy); font: 800 13px var(--bcn-font); cursor: pointer; }
.sbar-flt svg { width: 16px; height: 16px; } .sbar-flt.on { color: #b45309; }
.fltn { min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--bcn-orange); color: var(--bcn-ink); font: 800 10.5px/17px var(--bcn-font); text-align: center; box-sizing: border-box; } .fltn[hidden] { display: none; }
.rcol { position: absolute; z-index: 1011; right: 12px; top: 100px; display: flex; flex-direction: column; gap: 10px; }
.rcol .rtool { position: static !important; width: 48px; height: auto; min-height: 48px; padding: 7px 0 5px; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 14px; border: 1px solid var(--bcn-line) !important; background: #fff !important; color: var(--bcn-navy); box-shadow: 0 2px 8px rgba(15,23,42,.14); cursor: pointer; font: 700 9.5px var(--bcn-font); }
.rcol .rtool svg { width: 20px !important; height: 20px !important; } .rcol .rtool span { white-space: nowrap; }
.measuring .rcol #measBtn { background: var(--bcn-navy) !important; color: #fff; }
#nearme.rtool { left: auto !important; top: auto !important; }
.sbar { width: 360px !important; }
.fchips { position: absolute; z-index: 1000; left: 384px; top: 14px; display: flex; gap: 6px; }
.fchips button { height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid var(--bcn-line); background: #fff; color: var(--bcn-ink); font: 700 12.5px var(--bcn-font); box-shadow: 0 2px 8px rgba(15,23,42,.1); cursor: pointer; white-space: nowrap; }
.fchips button.on { border-color: var(--bcn-navy); color: var(--bcn-navy); background: #f3f7fc; }
@media (max-width: 1100px) { .fchips { display: none; } }
.fsheet { position: absolute; z-index: 1035; left: 12px; top: 64px; width: 380px; max-height: calc(100% - 84px); display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 12px 36px rgba(15,23,42,.24); font-family: var(--bcn-font); color: var(--bcn-ink); overflow: hidden; }
.fsheet[hidden] { display: none !important; }
.fhd { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; border-bottom: 1px solid #eef1f5; } .fhd b { font: 800 16px var(--bcn-font); color: var(--bcn-navy); }
.fx { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f5f9; font: 700 15px var(--bcn-font); cursor: pointer; }
.fbody { overflow-y: auto; padding: 6px 14px 10px; overscroll-behavior: contain; } .fbody section { padding: 8px 0 10px; border-bottom: 1px solid #f1f4f8; } .fbody section:last-child { border-bottom: 0; }
.fbody h4 { margin: 4px 0 7px; font: 700 13px var(--bcn-font); color: #334155; }
.fkind { display: flex; align-items: center; gap: 8px; margin: 4px 0; } .fk { flex: 1 1 auto; display: flex; align-items: center; gap: 9px; min-height: 36px; border: 0; background: none; font: 600 13.5px var(--bcn-font); color: var(--bcn-ink); cursor: pointer; text-align: left; padding: 0; }
.fk .cb { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #cbd5e1; box-sizing: border-box; display: grid; place-items: center; } .fk[aria-pressed="true"] .cb { background: var(--bcn-orange); border-color: var(--bcn-orange); } .fk[aria-pressed="true"] .cb::after { content: ""; width: 5px; height: 9px; border: solid var(--bcn-ink); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.fk .lsw { min-width: 52px; justify-content: center; } .fkind .lyonlyb { opacity: 1; }
.fprice { display: flex; align-items: flex-end; gap: 8px; } .fprice label { flex: 1 1 0; font: 600 11px var(--bcn-font); color: var(--bcn-muted); } .fprice span { padding-bottom: 10px; color: var(--bcn-muted); font-size: 12px; }
.fprice select { display: block; width: 100%; margin-top: 3px; height: 38px; border-radius: 10px; border: 1.5px solid #d6dee9; background: #fff; font: 700 13.5px var(--bcn-font); color: var(--bcn-ink); padding: 0 8px; }
.fseg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 4px; } .fseg.wrap { flex-wrap: wrap; } .fseg::-webkit-scrollbar { display: none; }
.fseg button { flex: none; height: 34px; padding: 0 13px; border-radius: 17px; border: 1.5px solid #e2e8f0; background: #fff; color: #334155; font: 700 12.5px var(--bcn-font); cursor: pointer; }
.fseg button[aria-pressed="true"] { background: var(--bcn-navy); border-color: var(--bcn-navy); color: #fff; }
.fft { display: flex; gap: 8px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #eef1f5; }
.fclr { flex: none; height: 42px; padding: 0 14px; border: 0; background: none; color: #475569; font: 700 13.5px var(--bcn-font); text-decoration: underline; cursor: pointer; } .fgo { flex: 1 1 auto; height: 42px; border: 0; border-radius: 21px; background: var(--bcn-navy); color: #fff; font: 800 14px var(--bcn-font); cursor: pointer; }
.lp.fltoff { display: none !important; }
@media (max-width: 720px) {
  .sbar { width: auto !important; right: 68px !important; height: 44px !important; } .sbar-flt span { display: inline; } .sbar-main span { font-size: 13px !important; }
  .rcol { right: 10px; top: 92px; gap: 8px; } .rcol .rtool { width: 46px; min-height: 46px; }
  .fsheet { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 82%; border-radius: 20px 20px 0 0; }
  body.fopen .lcard { display: none !important; }
}
@media (max-width: 360px) { .sbar-flt span { display: none; } }
@media (max-width: 720px) { body:has(.lcard:not([hidden])) .rcol, body.fopen .rcol, body.lyopen .rcol { display: none !important; } }
/* phone turned sideways (short screen): card on the right at full map height, tools out of its way */
@media (max-height: 480px) and (orientation: landscape) { .lcard.lcard.small.haslh, .lcard.lcard.small, .lcard.lcard { top: 8px !important; bottom: 8px !important; max-height: none !important; height: auto !important; right: 8px !important; left: auto !important; width: 340px !important; }
  body:has(.lcard:not([hidden])) .rcol, body.fopen .rcol, body.lyopen .rcol { display: none !important; }
  body:has(.lcard:not([hidden])) #fab { right: 360px !important; }
  body:has(.lcard:not([hidden])) .sbar { right: auto !important; width: min(300px, calc(100% - 460px)) !important; } }
/* ######## PART 1d: STYLES - lot card, Measure, seller form, sideways phones ######## */
/* ===== lot card: same card, calm ===== */
.lcard.islot .lplace { margin: 8px 0 0; }
.ltabs { display: flex; gap: 6px; width: 100%; padding: 4px; background: #f5f7fa; border-radius: 14px; }
.lplace .ltabs button { flex: 1 1 0; min-height: 44px; padding: 3px 6px; border: 0; border-radius: 11px; background: transparent; color: #475569; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; cursor: pointer; }
.ltabs button b { font: 700 13px var(--bcn-font); color: #334155; } .ltabs button small { font: 600 10.5px var(--bcn-font); color: var(--bcn-navy); text-decoration: underline; text-underline-offset: 2px; }
.ltabs button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.1), inset 0 -3px 0 var(--bcn-orange); } .ltabs button[aria-selected="true"] small { color: #b45309; text-decoration: none; }
.lplace .ltabs .lmeas { flex: 0 0 60px; color: var(--bcn-navy); } .ltabs .lmeas svg { width: 20px; height: 20px; } .ltabs .lmeas small { color: var(--bcn-navy); text-decoration: none; font-weight: 700; }
.lotc { padding: 4px 0 8px; color: var(--bcn-ink); font-family: var(--bcn-font); }
.lotv { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .lotv b { font: 800 22px var(--bcn-font); color: var(--bcn-navy); }
.lotv span, .lothist td.dn, .lothist td.up { font: 700 12px var(--bcn-font); padding: 2px 8px; border-radius: 9px; } .lotv .dn { color: #15803d; background: #ecfdf3; } .lotv .up { color: #b45309; background: #fff7e6; }
.lotl { margin: 1px 0 0; font: 500 11.5px var(--bcn-font); color: #737f8e; }
.lotbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-top: 10px; background: #f5c76a; } .lotbar i { display: block; background: var(--bcn-navy); } .lotbar i + i { flex: 1; background: #f5c76a; }
.lotleg { display: flex; justify-content: space-between; gap: 8px; margin-top: 5px; font: 600 11.5px var(--bcn-font); color: #475569; } .lotleg span { display: flex; align-items: center; gap: 5px; } .lotleg i { width: 9px; height: 9px; border-radius: 3px; background: var(--bcn-navy); } .lotleg i.b { background: #f5c76a; }
.lots2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: #f5f7fa; } .lots2 small { display: block; font: 500 11px var(--bcn-font); color: #737f8e; } .lots2 b { font: 800 15px var(--bcn-font); } .lots2 span { font: 600 12px var(--bcn-font); color: #737f8e; } .lots2 > small { font-weight: 600; }
.lotf { display: flex; gap: 8px; margin-top: 10px; } .lotfb { flex: 1 1 0; display: flex; justify-content: space-between; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 12px; border: 1px solid #e3e8ef; background: #fff; color: var(--bcn-ink); font: 700 12.5px var(--bcn-font); cursor: pointer; } .lotfb svg { width: 52px; height: 18px; } .lotfb[aria-expanded="true"] { border-color: #b9c8de; background: #f4f7fc; }
.lothist { margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: #fafbfd; border: 1px solid #eef1f5; } .lothist svg { width: 100%; display: block; } .lothist text { font: 600 9.5px var(--bcn-font); fill: #737f8e; }
.lothist table { width: 100%; border-collapse: collapse; margin-top: 4px; font: 600 12.5px var(--bcn-font); font-variant-numeric: tabular-nums; } .lothist td { padding: 4px 2px; border-top: 1px solid #f1f4f8; } .lothist td:nth-child(2), .lothist td:nth-child(3) { text-align: right; } .lothist td.dn { color: #15803d; background: none; } .lothist td.up { color: #b45309; background: none; }
.lotlegal { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; margin-top: 8px; } .lotlegal div { padding: 7px 9px; border-radius: 10px; background: #f5f7fa; min-width: 0; } .lotlegal small { display: block; font: 500 10.5px var(--bcn-font); color: #737f8e; } .lotlegal b { font: 700 11.5px var(--bcn-font); word-break: break-all; }
.lotfull { display: block; margin-top: 10px; text-align: center; font: 700 12.5px var(--bcn-font); color: var(--bcn-navy); text-decoration: none; } .lotn { margin: 3px 0 0; text-align: center; font: 500 10.5px var(--bcn-font); color: #737f8e; }
.lcard.islot .lpr .lpin { color: var(--bcn-navy); }
.lotf { gap: 6px !important; } .lotfb { padding: 0 9px !important; font-size: 12px !important; height: 36px !important; } .lotfb svg { width: 34px !important; }
.lotv b { font-size: 21px !important; } .lots2 { margin-top: 8px !important; padding: 7px 11px !important; } .lotbar { margin-top: 10px; } .lotfull { margin-top: 8px !important; }
.srch, .srch-dd { z-index: 1040 !important; }
.lotown { display: block; width: 100%; margin-top: 10px; padding: 9px 10px; border: 1px solid var(--bcn-line); border-radius: 10px; background: var(--bcn-accent-soft, #fff7e6); font: 500 12.5px var(--bcn-font); color: var(--bcn-ink); text-align: center; cursor: pointer; } .lotown b { color: var(--bcn-navy); font-weight: 800; }
.slask { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #f1d49a; display: grid; gap: 8px; font: 500 12.5px var(--bcn-font); color: var(--bcn-ink); } .slask div { display: flex; gap: 6px; }   /* CHANGED IN AB */
#lplace .lotown { margin: 0 0 8px; }
.lotown2 { margin-top: 10px; padding: 10px; border: 1px solid var(--bcn-line); border-radius: 10px; background: #fafbfc; display: grid; gap: 6px; } .lotown2 b { font: 800 13px var(--bcn-font); color: var(--bcn-ink); } .lotown2 small { font: 500 11.5px var(--bcn-font); color: #5b6675; }
.lotown2 input { height: 38px; padding: 0 10px; border: 1px solid #cfd6df; border-radius: 8px; font: 500 16px var(--bcn-font); color: var(--bcn-ink); background: #fff; min-width: 0; } .lotown2 div { display: flex; gap: 6px; }
/* NEW IN AI: "Lot line looks off? Tell us" on the lot card */
.lotfbk { display: block; margin: 8px auto 0; padding: 4px; border: 0; background: none; font: 600 11.5px var(--bcn-font); color: var(--bcn-navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lotfbf { margin-top: 10px; padding: 10px; border: 1px solid var(--bcn-line); border-radius: 10px; background: #fafbfc; display: grid; gap: 8px; } .lotfbf > b { font: 800 13px var(--bcn-font); color: var(--bcn-ink); }
.lotfbc { display: flex; flex-wrap: wrap; gap: 6px; } .lotfbc button { padding: 6px 11px; border: 1px solid var(--bcn-line); border-radius: 999px; background: #fff; font: 600 12px var(--bcn-font); color: var(--bcn-ink); cursor: pointer; } .lotfbc button[aria-pressed="true"] { border-color: var(--bcn-navy); background: #e8eef7; color: var(--bcn-navy); }
.lotfbo { display: flex; align-items: center; gap: 8px; padding: 2px 0; border: 0; background: none; font: 600 12.5px var(--bcn-font); color: var(--bcn-ink); text-align: left; cursor: pointer; } .lotfbo i { flex: none; width: 16px; height: 16px; box-sizing: border-box; border: 1.5px solid #9aa6b5; border-radius: 4px; display: grid; place-items: center; }
.lotfbo[aria-pressed="true"] i { background: var(--bcn-navy); border-color: var(--bcn-navy); } .lotfbo[aria-pressed="true"] i::after { content: ""; width: 7px; height: 3px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.lotfbf input { height: 38px; padding: 0 10px; border: 1px solid #cfd6df; border-radius: 8px; font: 500 16px var(--bcn-font); color: var(--bcn-ink); background: #fff; min-width: 0; } .lotfbf .lotfbb { display: flex; gap: 6px; }
.lotfbok { margin: 8px 0 0; text-align: center; font: 700 12px var(--bcn-font); color: #2f7d5b; }
.lotsend { flex: 1; height: 38px; border: 0; border-radius: 8px; background: var(--bcn-navy); color: #fff; font: 800 13px var(--bcn-font); cursor: pointer; } .lotcan { height: 38px; padding: 0 12px; border: 1px solid var(--bcn-line); border-radius: 8px; background: #fff; color: var(--bcn-ink); font: 700 12.5px var(--bcn-font); cursor: pointer; }
.lots2 .lotmap { display: block; margin-top: 2px; font: 500 11px var(--bcn-font) !important; color: #737f8e; }
/* living map: walking rings turn slowly; lines draw in and a soft dot travels home -> place */
.leaflet-pane path.flowdot { stroke-dasharray: 0 99999; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .leaflet-pane path.walkc.spin.s10 { animation: ringin .6s ease both, ringspin10 1.6s linear infinite; }
  .leaflet-pane path.walkc.spin.s20 { animation: ringin .7s .35s ease both, ringspin20 2.2s linear infinite; }
  @keyframes ringspin10 { to { stroke-dashoffset: -26; } }
  @keyframes ringspin20 { to { stroke-dashoffset: -28; } }
  .leaflet-pane path.pvl { animation: ringin .25s both; } }
@media (prefers-reduced-motion: reduce) { .leaflet-pane path.flowdot { display: none; } }
/* NEW IN AD: "Back to listing" pill (only when opened from a listing page); pushes the left buttons down one row */
.bcn-back { position: absolute; z-index: 1001; left: 12px; top: 62px; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 14px 0 9px; border-radius: 17px; background: var(--bcn-navy); color: #fff; font: 700 13px var(--bcn-font); text-decoration: none; box-shadow: 0 2px 10px rgba(15,23,42,.2); }
.bcn-back svg { width: 16px; height: 16px; } .bcn-back[hidden] { display: none; } .leaflet-container a.bcn-back, .leaflet-container a.bcn-back:hover { color: #fff; }   /* beat Leaflet's link colour */
html.bcn-hasback .nearme { top: 104px !important; } html.bcn-hasback .samplechip { top: 146px !important; } html.bcn-hasback .hidchip { top: 178px !important; } html.bcn-hasback .wbk { top: 146px; }
@media (max-width: 720px) { .bcn-back { left: 10px; } html.bcn-hasback .wbk { top: 214px; } }
.bcn-top .brand { display: flex; align-items: center; gap: 9px; } .bcn-top .bcn-logo { width: 38px; height: 38px; flex: none; display: block; } .bcn-top .bcn-bname { font: 700 17px var(--bcn-font); letter-spacing: -0.01em; color: #1e4e8c; white-space: nowrap; } .bcn-top .brand .bcn-bname { display: inline; } @media (max-width: 360px) { .bcn-top .bcn-bname { font-size: 15px; } }   /* CHANGED IN AF: demo header logo, name shows on phones too */

/* NEW IN AN: My Commute row on the home card (strapi/tools/commute_patch.py). 44 px taps, brand colours, one line per place. */
#bcCm { margin: 8px 0 6px; border: 1px solid #eadfc6; border-radius: 12px; background: #fff; }
#bcCm button, #bcCm input, #bcCm a { font-family: inherit; }
#bcCm .cm-hd { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0 10px; }
#bcCm .cm-tg { flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; text-align: left; color: #14202f; cursor: pointer; }
#bcCm .cm-tg.nob { cursor: default; }
#bcCm .cm-tg b { font-size: 13px; font-weight: 800; color: #1e4e8c; white-space: nowrap; }
#bcCm .cm-sum { font-size: 12px; color: #4b5a6d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
#bcCm .cm-chev { margin-left: auto; flex: none; width: 14px; height: 14px; color: #1e4e8c; transition: transform .25s; }
#bcCm [aria-expanded="true"] > .cm-chev { transform: rotate(180deg); }
#bcCm .cm-add { flex: none; position: relative; min-height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid #f5a20a; background: #fff8ec; color: #14202f; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
#bcCm .cm-add::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%); }
#bcCm .cm-how { margin: 0; padding: 0 10px 9px; font-size: 12.5px; line-height: 1.45; color: #4b5a6d; }
#bcCm .cm-how b { color: #1e4e8c; }
#bcCm .cm-row { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-top: 1px solid #f0ead9; background: none; text-align: left; color: #14202f; cursor: pointer; }
#bcCm .cm-row svg.cm-ki { flex: none; width: 16px; height: 16px; color: #1e4e8c; }
#bcCm .cm-k { flex: none; font-size: 12.5px; font-weight: 800; color: #1e4e8c; }
#bcCm .cm-n { flex: 1; min-width: 0; font-size: 12px; color: #4b5a6d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#bcCm .cm-t { flex: none; font-size: 13px; font-weight: 800; color: #14202f; white-space: nowrap; }
#bcCm .cm-det { padding: 0 10px 10px; font-size: 12.5px; line-height: 1.5; color: #14202f; }
#bcCm .cm-l { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 2px 0; }
#bcCm .cm-l b { color: #1e4e8c; font-weight: 800; }
#bcCm .cm-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#bcCm .cm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid #c9a14e; background: #fff; color: #1e4e8c; font-size: 12.5px; font-weight: 700; text-decoration: none; cursor: pointer; }
#bcCm .cm-btn.q { border-color: #e3e8ef; color: #4b5a6d; }
#bcCm .cm-lnk { display: inline-flex; align-items: center; min-height: 44px; color: #1e4e8c; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
#bcCm .cm-note { margin: 4px 0 0; font-size: 11.5px; color: #4b5a6d; }
#bcCm .cm-form { padding: 6px 10px 10px; border-top: 1px solid #f0ead9; }
#bcCm .cm-kinds { display: flex; gap: 8px; margin-bottom: 8px; }
#bcCm .cm-kind { flex: 1; min-width: 0; min-height: 44px; border-radius: 22px; border: 1px solid #e3e8ef; background: #fff; color: #14202f; font-size: 12.5px; font-weight: 700; cursor: pointer; }
#bcCm .cm-kind[aria-checked="true"] { background: #1e4e8c; border-color: #1e4e8c; color: #fff; }
#bcCm .cm-in { display: block; width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 12px; border: 1px solid #c9a14e; border-radius: 12px; background: #fff; color: #14202f; font-size: 16px; }
#bcCm .cm-in:focus { outline: 2px solid #f5a20a; outline-offset: 1px; }
#bcCm .cm-res button { display: block; width: 100%; min-height: 44px; padding: 6px 10px; border: 0; border-bottom: 1px solid #f0ead9; background: none; text-align: left; font-size: 13px; color: #14202f; cursor: pointer; }
#bcCm .cm-res button:hover, #bcCm .cm-row:hover { background: #fbf8f1; }
#bcCm .cm-msg { margin: 8px 0 2px; font-size: 12.5px; color: #4b5a6d; }
#bcCm .cm-fa { display: flex; justify-content: flex-end; margin-top: 8px; }
.leaflet-tooltip.cm-tip { padding: 2px 7px; border: 1px solid #1e4e8c; border-radius: 9px; background: #fff; color: #1e4e8c; font: 700 11px/1.3 "Plus Jakarta Sans", sans-serif; box-shadow: 0 2px 6px rgba(20,32,47,.15); }
.leaflet-tooltip.cm-tip::before { display: none; }
@media (prefers-reduced-motion: reduce) { #bcCm .cm-chev { transition: none; } }
/* NEW IN AM: friendly loading. The card's house sketch builds itself while the photo loads; first-open screen "Building your map" */
.lhero .hb-w { transform-box: fill-box; transform-origin: 50% 100%; animation: hbRise .7s cubic-bezier(.2,.8,.2,1) both; }
.lhero .hb-r { stroke-dasharray: 210; animation: hbDraw .8s .35s ease-out both; }
.lhero .hb-win { animation: hbLight 1.6s .9s ease-in-out infinite; }
.lhero .hb-d { transform-box: fill-box; transform-origin: 50% 100%; animation: hbRise .45s .75s ease-out both; }
@keyframes hbRise { from { transform: scaleY(0); } } @keyframes hbDraw { from { stroke-dashoffset: 210; } }
@keyframes hbLight { 0%, 100% { fill: #bcd6ea; } 50% { fill: #ffe2a6; } }
.lhero .hbcap { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 1; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 4px 14px rgba(20,32,47,.12); font: 700 12px/1 "Plus Jakarta Sans", system-ui, sans-serif; color: #1e4e8c; pointer-events: none; transition: opacity .3s; }
.lhero .hbcap i { display: inline-flex; gap: 3px; } .lhero .hbcap i b { width: 4px; height: 4px; border-radius: 50%; background: #f5a20a; animation: hbDot 1s ease-in-out infinite; } .lhero .hbcap i b:nth-child(2) { animation-delay: .15s; } .lhero .hbcap i b:nth-child(3) { animation-delay: .3s; }
@keyframes hbDot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.lhero.ready .hbcap { opacity: 0; } .lhero > .lphoto { position: absolute; inset: 0; }
@keyframes bcSlide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .lhero .hb-w, .lhero .hb-r, .lhero .hb-win, .lhero .hb-d, .lhero .hbcap i b, #bcLoad *, #bcLoad .bar i { animation: none !important; } }

/* SEE FULL LISTING BUTTON (Nov 19) */.lcard .lfull{display:flex !important;align-items:center;justify-content:center;gap:6px;width:calc(100% - 4px) !important;min-height:44px !important;height:auto !important;padding:0 14px !important;margin:8px 2px 4px;flex:none !important;border:0;border-radius:999px;background:linear-gradient(180deg,#f7b733,#f5a20a);color:#1b2a44;font:800 14px var(--bcn-font);cursor:pointer;box-shadow:0 6px 16px rgba(245,162,10,.22)}.lcard .lfull:focus-visible{outline:3px solid #1e4e8c;outline-offset:2px}
.lp::after{content:"";position:absolute;inset:-3px;border-radius:12px;border:2px solid rgba(245,162,10,.6);opacity:0;pointer-events:none;animation:bcnLpBeat 3.4s ease-out infinite}
.lp:nth-child(3n)::after{animation-delay:1.1s}.lp:nth-child(3n+1)::after{animation-delay:2.2s}
@keyframes bcnLpBeat{0%{transform:scale(1);opacity:.75}55%,100%{transform:scale(1.28,1.5);opacity:0}}
.lp.on::after{animation-duration:1.8s;border-color:rgba(245,162,10,.95)}
.lpfade .lp:not(.on)::after,.lp.hid::after,.lp.out::after{animation:none;opacity:0}
#map.solo .lp:not(.on){opacity:0!important;pointer-events:none!important}
.solochip{position:absolute;z-index:1100;left:50%;top:70px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:6px;border:1px solid #c9a14e;background:#fff;color:#0f172a;font:600 12.5px var(--bcn-font);padding:8px 14px;border-radius:999px;box-shadow:0 6px 18px rgba(15,23,42,.16);cursor:pointer;white-space:nowrap}
.solochip b{color:var(--bcn-navy)}
.solochip[hidden]{display:none}
.backlst .blb{display:inline-flex;align-items:center;gap:7px;min-width:0}
.backlst .blpin{width:18px;height:18px;flex:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.2))}
.backlst .bladdr{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:62vw;font-weight:700}
.bcnsl-btn{position:absolute;z-index:3;width:34px;height:34px;border-radius:50%;border:1px solid #e2e8f0;background:rgba(255,255,255,.97);color:var(--bcn-navy);display:grid;place-items:center;box-shadow:0 6px 16px rgba(15,23,42,.18);cursor:pointer;padding:0;transform:translateY(-50%)}
.bcnsl-btn svg{width:16px;height:16px}
.bcnsl-btn::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid #f5a20a;opacity:0;animation:bcnLpBeat 2.2s ease-out infinite}
.bcnsl-btn[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.lp::after,.bcnsl-btn::after{animation:none}}
/* MAP FEEDBACK (Nov 18) */
.mfb{position:absolute;z-index:1029;left:12px;top:62px;width:300px;box-sizing:border-box;padding:12px 14px 12px;background:#fff;border-radius:14px;border:1px solid #e2e8f0;box-shadow:0 10px 30px rgba(15,23,42,.18);font:500 13px/1.45 "Plus Jakarta Sans",system-ui,sans-serif;color:#14202f}
.mfb[hidden]{display:none!important}
.mfb .mt{display:block;font-weight:800;font-size:14.5px;color:#1e4e8c;margin:0 26px 8px 0}
.mfb .mx{position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;border-radius:50%;background:#f1f5f9;color:#475569;font:600 18px/1 inherit;cursor:pointer}
.mfb .mx::after{content:"";position:absolute;inset:-6px}
.mfb .mr{display:flex;gap:8px}
.mfb .mb{flex:1;min-height:44px;border-radius:12px;border:1.5px solid #cbd5e1;background:#fff;color:#1e4e8c;font:800 13px inherit;cursor:pointer;padding:0 8px}
.mfb .mb.pri{background:#1e4e8c;border-color:#1e4e8c;color:#fff}
.mfb .mh{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff7e6;color:#f5a20a;margin:0 0 6px}
.mfb .mh svg{width:20px;height:20px;fill:currentColor}
.mfb p{margin:0 0 10px;color:#3f4b5c}
.mfb .ms{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.mfb .ms a,.mfb .ms button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#14202f;font:700 11.5px/1.15 inherit;text-decoration:none;cursor:pointer;padding:4px 2px}
.mfb .ms svg{width:20px;height:20px;stroke:#1e4e8c;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mfb textarea{width:100%;box-sizing:border-box;min-height:64px;border:1.5px solid #cbd5e1;border-radius:12px;padding:8px 10px;font:500 14px inherit;color:#14202f;resize:vertical;margin:0 0 8px}
.mfb .mn{margin:8px 0 0;font-size:12px;color:#4b5a6d;min-height:14px}
@media (max-width:760px){.mfb{left:10px;right:66px;width:auto;max-width:320px}}
#map.measuring .mfb, body:has(#lymenu:not([hidden])) .mfb{display:none!important}
@media (prefers-reduced-motion:no-preference){.mfb:not([hidden]){animation:mfbIn .22s ease-out}@keyframes mfbIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}}
/* PULL-UP HOME CARD (Nov 18): phones only */
#lcard .lgrip { display: none; }
@media (max-width: 760px) {
  html body #lcard .lgrip { display: block; position: sticky; top: -10px; z-index: 6; width: calc(100% + 24px); height: 26px; margin: -10px -12px 2px; padding: 0; border: 0; background: #fff; cursor: grab; touch-action: none; border-radius: 16px 16px 0 0; }
  html body #lcard .lgrip::before { content: ""; display: block; width: 44px; height: 5px; margin: 8px auto 0; border-radius: 3px; background: #c3ccd8; }
  html body #lcard .lgrip::after { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 44px; }
  html body #lcard.lcard.ph-full, html body #lcard.lcard.small.ph-full, html body #lcard.lcard.small.haslh.ph-full { top: 66px !important; bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important; max-height: none !important; height: auto !important; }
  html body #lcard.lcard.ph-strip, html body #lcard.lcard.small.ph-strip, html body #lcard.lcard.small.haslh.ph-strip { max-height: none !important; height: auto !important; overflow: hidden !important; }
  html body #lcard.ph-strip .lhero, html body #lcard.ph-strip .stabs, html body #lcard.ph-strip .wbody, html body #lcard.ph-strip .nsec, html body #lcard.ph-strip .nsub,
  html body #lcard.ph-strip .wfwrap, html body #lcard.ph-strip .wfoot2, html body #lcard.ph-strip .loh, html body #lcard.ph-strip .lseen { display: none !important; }
  html body #lcard.ph-strip #wn { overflow: hidden !important; max-height: none !important; }
  html body #lcard.ph-strip :has(> .cm-hd) { display: none !important; }   /* My Commute waits at half and full, so the strip stays small */
  html body #lcard.lcard.ph-half, html body #lcard.lcard.small.ph-half, html body #lcard.lcard.small.haslh.ph-half { max-height: 44% !important; }   /* opens smaller (owner: too big); photo, price and facts fit, the rest is one pull away */
  html body #lcard.ph-strip .lstrip-hint { display: block; }
}
/* TOOLS STAY REACHABLE (Nov 18, owner): with the card at strip or half, the right-hand tools come back (half: no +/-, pinch to zoom) */
@media (max-width: 760px) {
  body:not(.fopen):not(.lyopen):has(#lcard.ph-strip:not([hidden])) .rcol, body:not(.fopen):not(.lyopen):has(#lcard.ph-half:not([hidden])) .rcol { display: flex !important; }
  body:has(#lcard.ph-half:not([hidden])) .rcol .zpair { display: none !important; }
  @media (max-height: 660px) { body:has(#lcard.ph-half:not([hidden])) .rcol #satBtn { display: none !important; } }   /* short phones: Satellite waits for the strip so nothing sits under the card */
}
#lcard .lstrip-hint { display: none; margin: 4px 0 2px; font: 600 12px "Plus Jakarta Sans", system-ui, sans-serif; color: #4b5a6d; text-align: center; }
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) { html body #lcard.lcard { transition: top .22s ease; }   /* no height animation: the card opens at its size at once */ }

/* Nov 22: the label on the photo, the facts line and the price open the full listing (map.js wnClick), so they show a hand cursor */
#lcard .lsamp, #lcard .lfacts, #lcard .lpbig { cursor: pointer; }

/* (Nov 23, owner: "worship info hiding behind ... checking on PC"): the "See it all on the map" bubble covered the worship row on computers too.
   It goes on every screen size; the gold Show on map button already says it. Nothing covers anything. */
.mhint { display: none !important; }
/* (Nov 23, owner: "no life after you measure the lot ... people confused what to do next"): plain next steps, 44 px taps, the bar never covers Layers */
.msbtns button { height: 44px !important; padding: 0 14px !important; border-radius: 22px !important; }
.msnext { margin: 10px 0 2px; padding: 10px 0 2px; border-top: 1px solid #eef2f7; }
.msnh { margin: 0 0 8px; font: 800 13.5px var(--bcn-font); color: var(--bcn-ink); }
.msnb { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 16px; }
.msnb button { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1.5px solid #d6dee9; background: #fff; color: var(--bcn-navy); font: 700 13px var(--bcn-font); cursor: pointer; }
.msnb button.go { background: var(--bcn-navy); border-color: var(--bcn-navy); color: #fff; }
.msnb.wake { animation: msWake 1.3s ease 2; } @keyframes msWake { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,162,10,0); } 50% { box-shadow: 0 0 0 6px rgba(245,162,10,.35); } }
@media (prefers-reduced-motion: reduce) { .msnb.wake { animation: none; } }
@media (max-width: 720px) { body:has(#map.measuring) .zpair { display: none !important; } }   /* (Nov 23) while measuring on a phone the result box needs the space; pinch still zooms */
body:has(#map.measuring) .bctip:not(.wk) { display: none !important; }   /* tips wait while measuring (the next-step pointer still shows) */
body:has(#map.measuring) .fabhint { display: none !important; }   /* (Nov 23) the Layers hint waits while measuring, so it never sits on the Measure button */
.msnb button.map { border-color: #d6dee9; }
@media (max-width: 720px) { .msnb { display: grid; grid-template-columns: 1fr 1fr; } .msnb button { padding: 0 8px; font-size: 12.5px; } .msnb button.go, .msnb button.map { grid-column: 1 / -1; } .msnext { margin-top: 6px; padding-top: 8px; } .msnext .msnote { margin-top: 6px !important; } }
@media (max-width: 720px) {
  .msbar { left: 8px !important; right: 72px !important; width: auto !important; transform: none !important; flex-wrap: wrap; row-gap: 6px; padding: 8px 8px 8px 12px; }
  .msbar > b { flex: 1 1 100%; }
  .msbtns { flex: 1 1 100%; justify-content: flex-end; }
}
/* (Nov 23) a place off the screen ("← Safeway · 34 min") asks to be seen: bolder words, a gold arrow, and a soft gold glow when it first shows */
.ll.edge { font-weight: 700 !important; color: #14202f !important; }
.ll.edge .ar { color: #c47f00; font-size: 1.25em; font-weight: 800; }
@media (prefers-reduced-motion: no-preference) { .ll.edge.wake { animation: rv .35s both, llWake 1.4s .4s ease-in-out 2 !important; } .ll.edge.wake .ar { display: inline-block; animation: llNudge 1.4s .4s ease-in-out 2; } }
.ll.edge.wake { outline: 5px solid rgba(245,162,10,0); outline-offset: 0; }
@keyframes llWake { 0%, 100% { outline-color: rgba(245,162,10,0); } 50% { outline-color: rgba(245,162,10,.4); } }
@keyframes llNudge { 0%, 100% { transform: none; } 50% { transform: scale(1.25); } }
/* (Nov 23, owner: "no card needed when measuring the lot ... show the lot instead of other layers"): while measuring, only the lot.
   Walk rings, lines and their labels, bus stops, places, shading and price tags step aside; they come back when measuring ends */
#map.measuring .leaflet-lines-pane, #map.measuring .leaflet-pv-pane, #map.measuring .leaflet-dots-pane, #map.measuring .leaflet-amen-pane, #map.measuring .leaflet-parks-pane,
#map.measuring .leaflet-shade-pane, #map.measuring .leaflet-overlay-pane, #map.measuring .leaflet-lst-pane, #map.measuring .lineLbls, #map.measuring .bc-co, #map.measuring .cap { display: none !important; }
body:has(#map.measuring) .solochip, body:has(#map.measuring) #bcnBack { display: none !important; }   /* the big "Back to the Listing" in the box does that job while measuring; nothing sits under the bar */
/* (Nov 23) the chosen home after "See on the Map": a pin with a soft gold ring, so it stands out among the tags */
.pin.chosen { width: 22px; height: 22px; margin: -2px 0 0 -2px; box-shadow: 0 0 0 5px rgba(245,162,10,.45), 0 2px 8px rgba(15,23,42,.35); }

/* NO VALUE ON FILE (Nov 23): a calm line instead of $NaN */
.lotv b.lotna { font-size: 18px !important; color: var(--bcn-navy); }
html.bcn-hasback .solochip { top: 104px; }   /* (Nov 23) the "Show homes for sale nearby" chip sits under "Back to the listing", never on top of it */

/* LOGO RING (Nov 23, owner: "instead of those cards, our logo ring rotates and is gone when the listings load"):
   a small ring over the middle of the map, no words, nothing to tap; the map shows around it */
#bcLoad { position: fixed; left: 50%; top: 50%; z-index: 1200; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(20,32,47,.14); pointer-events: none; transition: opacity .4s; }
#bcLoad.out { opacity: 0; } #bcLoad svg { width: 58px; height: 58px; } #bcLoad .bcring { transform-origin: 50px 50px; animation: bcRing 1.6s linear infinite; }
@keyframes bcRing { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #bcLoad .bcring { animation-duration: 6s; } }

/* ONE BUTTON ON PHONES (Nov 23): measured lot -> just the blue back button and a small "More", no box behind them */
.msbox.mscomp { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; overflow: visible; left: 8px; right: 8px; bottom: 12px; }
.msbox.mscomp .msnb { justify-content: center; flex-wrap: nowrap; }
.msbox.mscomp .msnb .go { box-shadow: 0 6px 18px rgba(20,32,47,.25); font-size: 14px; padding: 0 20px; }
.msbox.mscomp .msmore { background: rgba(255,255,255,.96); box-shadow: 0 4px 12px rgba(20,32,47,.15); }

/* SHORT TAGS ON PHONES (Nov 23): the travel tags take as little room as they can */
@media (max-width: 720px) { .ll, .ll.edge { font-size: 10.5px !important; padding: 1px 5px !important; border-width: 1px !important; border-radius: 6px !important; box-shadow: 0 1px 2px rgba(15,23,42,.10) !important; background: rgba(255,255,255,.92) !important; }
  .ll .ctag { display: none !important; } .ll svg { width: 10px !important; height: 10px !important; } }
.msbox.mscomp .msnb { flex-wrap: nowrap !important; gap: 8px; } .msbox.mscomp .msnb button { flex: 0 0 auto !important; width: auto !important; }
body:has(#map.measuring) #spotbar { display: none !important; }   /* (Nov 23) while measuring, only the lot and the back button */
.msbox.mscomp .msnb { display: flex !important; justify-content: center; } body:has(#map.measuring) .lineLbls { display: none !important; }
body:has(#map.measuring) .backlst { display: none !important; }   /* (Nov 23) the address bar steps aside while measuring */

/* SMOOTH RING WORDS (Nov 23): one gentle back-and-forth turn, drawn by the phone's graphics chip */
.rsw { pointer-events: none; transform-origin: 50% 50%; will-change: transform; }
@media (prefers-reduced-motion: no-preference) { .rsw { animation: rsSway var(--rsd, 18s) ease-in-out infinite alternate; } }
@keyframes rsSway { from { transform: rotate(-36deg); } to { transform: rotate(36deg); } }
/* VIEWED, TINY (Nov 23, owner: "Viewed very little somewhere, don't take space on the phone"): a small tick and the word in the photo's
   bottom-right corner, out of the way of the heart, share and "Tap Photo" */
.lseen { left: auto !important; top: auto !important; right: 8px !important; bottom: 8px !important; max-width: 46% !important; gap: 3px !important; padding: 1px 6px 1px 2px !important; border-radius: 9px !important; background: rgba(255,255,255,.85) !important; font: 600 10.5px/1.3 var(--bcn-font) !important; box-shadow: none !important; white-space: nowrap; overflow: hidden; }
.lseen i { width: 12px !important; height: 12px !important; font-size: 8px !important; }
/* VIEWED = A TICK WITH A HEARTBEAT (Nov 23, owner: "just a check, like a heartbeat, on the corner of the listing"): no word, a small green
   tick in the photo corner that beats softly; if the price changed since, the change sits next to it */
.lseen.only { padding: 0 !important; background: transparent !important; }
.lseen i { width: 16px !important; height: 16px !important; font-size: 9px !important; box-shadow: 0 0 0 2px #fff; }
@media (prefers-reduced-motion: no-preference) { .lseen i { animation: lsBeat 2.4s ease-in-out infinite; } }
@keyframes lsBeat { 0%, 60%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 2px rgba(22,163,74,.45); } 30% { box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(22,163,74,0); } }
/* BIGGER PHOTO ON PHONES (Nov 23, owner: "the photo is tiny on the map card"): the photo gets the room, the facts sit on one line under it
   ("2 beds · 1 bath · 692 sq ft"), so the card grows only a little */
@media (max-width: 720px) {
  .lhero { height: 172px !important; }
  .lfacts { padding: 6px 0 !important; justify-content: center; gap: 14px; }
  .lfacts > span { flex: 0 0 auto !important; display: inline-flex; align-items: baseline; gap: 4px; border-left: 0 !important; padding: 0 !important; }
  .lfacts b, .lfacts small { display: inline !important; } .lfacts small { font-size: 12px !important; overflow: visible !important; }
}
@media (max-width: 720px) and (max-height: 760px) { .lhero { height: 140px !important; } }
@media (max-width: 360px) { .lfacts { gap: 10px; } .lfacts small { font-size: 11px !important; } }
/* QUICK PHOTO TAP (Nov 23): the photo answers the tap at once with our turning ring while the listing opens */
.lhero.going::after { content: ""; position: absolute; inset: 0; z-index: 3; background: rgba(255,255,255,.35); }
.lhero.going::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 4; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 4px dotted #1e4e8c; border-top-color: #f5a20a; border-right-color: #f5a20a; animation: bcRing 1.2s linear infinite; }
@media (max-width: 760px) { html body #lcard.lcard.haslh.ph-half, html body #lcard.lcard.small.haslh.ph-half { max-height: min(52%, 392px) !important; } }   /* (Nov 23) the bigger photo, facts, brokerage line and "See Full Listing Details" all fit above the bottom buttons */
@media (max-width: 720px) and (max-height: 680px) { .lhero { height: 100px !important; } }   /* very short phones: everything still fits above the bottom buttons */
/* CLEAN HALF CARD (Nov 23, owner: "the small card looks half, showing something"): on phones the half-open home card is a whole card,
   not the top of a long one. Photo, price and facts on one line, MLS® number and brokerage, See Full Listing Details, the open house,
   and the Share / Hide / Show on map row. Sun Check, walk score, nearby places and compare wait one pull up. The card fits that exactly. */
.lfacts .fpr { display: none; }
@media (max-width: 760px) {
  html body #lcard.lcard.small.haslh.ph-half, html body #lcard.lcard.haslh.ph-half { max-height: none !important; height: auto !important; }
  html body #lcard.haslh.ph-half #wn { max-height: none !important; overflow: visible !important; }
  html body #lcard.haslh.ph-half .lsun, html body #lcard.haslh.ph-half .lprow, html body #lcard.haslh.ph-half .wcmpgo,
  html body #lcard.haslh.ph-half #wn > .stabs, html body #lcard.haslh.ph-half #wn > .scinfo, html body #lcard.haslh.ph-half #wn > #bcCm,
  html body #lcard.haslh.ph-half #wn > .wbody, html body #lcard.haslh.ph-half #wn > .nsec, html body #lcard.haslh.ph-half #wn > .nsub,
  html body #lcard.haslh.ph-half #wn > .wfwrap { display: none !important; }
  html body #lcard.haslh.ph-half .lfacts .fpr { display: inline-flex !important; } html body #lcard.haslh.ph-half .lfacts .fpr b { font-size: 16px !important; color: var(--bcn-navy) !important; }
  html body #lcard.haslh.ph-half .lstrip-hint { display: block; margin: 2px 0 4px; font-size: 11.5px; }
}
@media (max-width: 760px) { html body #lcard.haslh.ph-half .wfoot2 { position: static !important; } }   /* the bottom row sits in line, so the pull-up line shows under it */
@media (max-width: 760px) { html body #lcard.haslh.ph-half #wn .wfoot2 { margin-bottom: 0 !important; } }
/* SMALLER HIDE CARD AND STRIP (Nov 23, owner: "Hide Card and the white strip above the photo take room, make them small"):
   on phones the tab is a slim pill and the white strip over the photo is thin; both keep a 44 px finger area */
@media (max-width: 760px) {
  .hidetab { height: 24px !important; padding: 0 10px !important; gap: 4px !important; font-size: 11px !important; border-width: 1px !important; }
  .hidetab svg { width: 10px !important; height: 10px !important; }
  .hidetab::after { top: -10px !important; bottom: -10px !important; }
  html body #lcard .lgrip { height: 12px !important; }
  html body #lcard .lgrip::before { width: 36px !important; height: 4px !important; margin: 4px auto 0 !important; }
}
@media (max-width: 760px) { .hidetab { height: 22px !important; width: 40px; padding: 0 !important; justify-content: center; } .hidetab svg { width: 14px !important; height: 14px !important; } .hidetab .htc { display: none; } .hidetab::after { left: -4px !important; right: -4px !important; } }   /* (Nov 23, owner: "make Hide Card small") phones: a small down-arrow pill (no word, so it never mixes up with the "Hide" home button); the finger area stays 44 px */
/* ADDRESS AND A CALMER BUTTON (Nov 23, owner: "where is the address; See Full Listing smaller, not so yellow") */
.ladr { display: none; }
@media (max-width: 760px) {
  html body #lcard .ladr { display: block; margin: 7px 12px 0; font: 700 13.5px/1.3 var(--bcn-font); color: var(--bcn-ink); text-align: center; }
  html body #lcard .lfacts { border-bottom: 0 !important; padding-top: 3px !important; }
  html body .lcard .lfull { position: relative; width: auto !important; min-height: 36px !important; margin: 6px auto 4px !important; padding: 0 18px !important; background: #fff; color: var(--bcn-navy) !important; border: 1.5px solid #c9a14e !important; box-shadow: none; font-size: 13px !important; }
  html body .lcard .lfull::after { content: ""; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; }   /* 44 px finger area */
}
#lcard .lhero .lsamp { display: none !important; }   /* (Nov 23, owner: "we have See Full Listing Details, why Tap Photo too?") the photo still opens the listing, without the label */
#lcard .lhero .lhb .lhi[data-act="share"] { display: none !important; }   /* (Nov 23, owner) one Share only: the one in the bottom row; the photo keeps the heart */
/* SEE FULL LISTING WITH LIFE (Nov 23, owner: "give the white button with the gold edge a life, a glow"): when the card opens, a soft
   gold glow breathes and a light shine runs across it three times, then it rests. Calm, never flashing; off for reduced motion. */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  html body #lcard.lcard .lfull { background: linear-gradient(110deg, #fff 42%, #fff1cf 50%, #fff 58%) 120% 0 / 260% 100% no-repeat, #fff;
    animation: lfShine 2.4s ease-in-out .6s 3, lfGlow 2.4s ease-in-out .6s 3; }
}
@keyframes lfShine { 0% { background-position: 120% 0, 0 0; } 60%, 100% { background-position: -20% 0, 0 0; } }
@keyframes lfGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,162,10,0); } 45% { box-shadow: 0 0 0 5px rgba(245,162,10,.22), 0 4px 14px rgba(245,162,10,.25); } }
/* RED PIN FOR THE CHOSEN HOME (Nov 23) */
.pin.chosen.red { width: 20px !important; height: 27px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.pin.chosen.red .rpin { display: block; filter: drop-shadow(0 3px 4px rgba(15,23,42,.35)); transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) { .pin.chosen.red .rpin { animation: rpinDrop .5s cubic-bezier(.2,.9,.3,1.3) both; } }
@keyframes rpinDrop { from { transform: translateY(-18px) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
/* LAYERS BUTTON SAYS WHAT IS ON (Nov 23): "‹ Elementary ›" under the yellow button; the small arrows say it can be swiped */
.bcn-fab[data-on]::after { content: "\2039  " attr(data-on) "  \203A"; white-space: nowrap; left: auto !important; right: -2px; transform: none !important; }   /* lined up to the right edge, never cut off */
@media (prefers-reduced-motion: no-preference) {
  .bcn-fab.nudge::after { animation: fabNudge 1.2s ease-in-out 2; }
  .bcn-fab.swapped::after { animation: fabSwap .35s ease-out; }
}
@keyframes fabNudge { 0%, 100% { translate: 0; } 30% { translate: -6px; } 65% { translate: 6px; } }
@keyframes fabSwap { from { opacity: .3; translate: 8px; } to { opacity: 1; translate: 0; } }
@media (max-width: 400px) { .bcn-fab[data-on]::after { content: "\2039" attr(data-on) "\203A"; font-size: 9.5px; padding: 1px 4px; letter-spacing: -.01em; } html body .leaflet-container .gmsg { left: 10px !important; right: 74px !important; width: auto !important; transform: none !important; } }   /* narrow phones keep the small swipe arrows; the How to Use card stops before the button column */   /* narrow phones: the name alone fits under the button, nothing covers it */
/* SMALL LAYERS TIP (Nov 23, owner: "make 'tap to see more features' small; first-time visitors only; once they open Layers, no more;
   catch the eye without clutter"): a short dark pill, and the yellow button breathes a gold ring while it shows */
@media (max-width: 760px) { .fabhint { font-size: 11px !important; padding: 4px 9px !important; border-radius: 8px !important; box-shadow: 0 2px 8px rgba(15,23,42,.2) !important; } .fabhint .fhl { display: none !important; } .fabhint .fhs { display: inline !important; } }
@media (prefers-reduced-motion: no-preference) { .bcn-fab.lyglow { animation: lyGlow 1.6s ease-in-out 3; } }
@keyframes lyGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,162,10,0), 0 4px 12px rgba(245,162,10,.35); } 50% { box-shadow: 0 0 0 9px rgba(245,162,10,.28), 0 4px 12px rgba(245,162,10,.35); } }
@media (max-width: 760px) { html body .fabhint { top: 66px !important; right: 66px !important; } html body .fabhint::after { right: 8px !important; top: -4px !important; transform: rotate(45deg) !important; } }   /* under the search bar, left of the button column, arrow up at the yellow button; never on Measure or the search bar */
/* (Nov 23, owner: "give 'Choose what to show' life, a shake") a gentle shake twice when it appears, then still */
@media (prefers-reduced-motion: no-preference) { .fabhint:not(.gone) { animation: fhShake .9s ease-in-out .3s 2; } }
@keyframes fhShake { 0%, 100% { translate: 0 0; } 15% { translate: -4px 0; } 30% { translate: 4px 0; } 45% { translate: -3px 0; } 60% { translate: 3px 0; } 75% { translate: 0 -2px; } }
.lp:not(.on)::after { animation: none !important; opacity: 0 !important; }   /* (Nov 23, owner: "yellow outline on the listing tags?") the gold heartbeat stays only on the chosen home; the rest of the map stays calm */
@media (max-width: 760px) {   /* (owner, Nov 23) the half card always says how to see more, in plain words, and the line itself opens the full card */
  html body #lcard.ph-half .lstrip-hint, html body #lcard.ph-strip .lstrip-hint { display: block; margin: 6px 0 2px; padding: 8px 0; min-height: 34px; box-sizing: border-box; font: 700 12.5px/1.3 "Plus Jakarta Sans", system-ui, sans-serif; color: #1e4e8c; text-align: center; cursor: pointer; animation: lhNudge 2.6s ease-in-out 1.2s 3; }
}
@keyframes lhNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { #lcard .lstrip-hint { animation: none !important; } }
html.bc-slidup #lcard .lstrip-hint { display: none !important; }   /* clean-site rule 5: the slide-up line goes once someone has slid a card up */
/* CLEAN TOP ROW (Nov 23, owner: "pick the search bar up, a little outline, do something about Back to listing; no clutter"):
   on phones the search bar sits right under the top bar with a thin soft outline. Back to listing becomes a small white button in the
   same row, shaped like Measure and Lists: an arrow with "Back" under it. */
@media (max-width: 760px) {
  html body #sbar.sbar, html body .bcn-fab { top: 4px !important; }
  html body #sbar.sbar { border: 1px solid rgba(30,78,140,.16) !important; box-shadow: 0 2px 10px rgba(15,23,42,.08) !important; }
  html.bcn-hasback body #sbar.sbar { left: 64px !important; width: auto !important; right: 68px !important; }
  html body a.bcn-back, html body .leaflet-container a.bcn-back { top: 4px !important; left: 8px !important; width: 50px; height: 46px !important; padding: 0 !important; border-radius: 14px !important;
    background: #fff !important; color: var(--bcn-navy) !important; border: 1px solid rgba(30,78,140,.16); box-shadow: 0 2px 10px rgba(15,23,42,.08) !important;
    display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 0 !important; }
  html body a.bcn-back svg { width: 18px !important; height: 18px !important; }
  html body a.bcn-back::after { content: "Back"; font: 800 10.5px/1 var(--bcn-font); color: var(--bcn-navy); }
  html.bcn-hasback .solochip { top: 58px !important; }
}
/* CLEAN SLID-UP CARD (Nov 23, clean-site rules 1 and 7): the price lives in the facts line (no second price row); See Full Listing and
   Sun Check sit side by side as two small calm buttons; the card starts below the search row and its label, never touching them */
@media (max-width: 760px) {
  html body #lcard.lcard.haslh.ph-full, html body #lcard.lcard.small.haslh.ph-full { top: 70px !important; }
  html body #lcard.haslh .lfacts .fpr { display: inline-flex !important; } html body #lcard.haslh .lfacts .fpr b { font-size: 16px !important; color: var(--bcn-navy) !important; }
  html body #lcard.haslh .lpbig { display: none !important; }
  html body #lcard.haslh .lprow { justify-content: flex-end !important; gap: 8px; margin: 2px 0 4px !important; min-height: 0 !important; }
  html body #lcard.haslh .lhead { text-align: center; } html body #lcard.haslh .lcourt { text-align: left; }
  html body #lcard.haslh .lfull, html body #lcard.haslh .lsun { display: inline-flex !important; vertical-align: middle; width: auto !important; margin: 6px 3px 4px !important; }
  html body #lcard.haslh .lsun { min-height: 36px !important; padding: 0 14px !important; background: #fff !important; font-size: 13px !important; position: relative; }
  html body #lcard.haslh .lsun::after { content: ""; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; }   /* 44 px finger area */
}
@media (max-width: 380px) { html body #lcard.haslh .lfull, html body #lcard.haslh .lsun { padding: 0 10px !important; font-size: 12px !important; } }
/* SIDE BY SIDE (Nov 23, owner: "Sun Check and See Full Details side by side on the phone; more clean"): two equal calm buttons in one row
   on every phone, short words ("See Full Details", "Sun Check"); Sun Check now shows on the half card too */
@media (max-width: 760px) {
  html body #lcard.haslh .lfx { display: none; }
  html body #lcard.haslh.ph-half .lsun { display: inline-flex !important; }
  html body #lcard.haslh .lfull, html body #lcard.haslh .lsun { width: calc(50% - 10px) !important; padding: 0 6px !important; font-size: 12.5px !important; white-space: nowrap; justify-content: center; box-sizing: border-box; }
}
/* THE OTHER SCORE GETS NOTICED (Nov 23, owner: "when Walkability or Transit is open, people ignore the other one; give it life, clean"):
   the score that isn't showing gets a soft gold heartbeat twice when the card opens, then rests; no extra words */
@media (prefers-reduced-motion: no-preference) {
  .stabs .stab:not([aria-selected="true"]) b { animation: stabBeat 1.5s ease-out 1s 2; }
}
@keyframes stabBeat { 0% { box-shadow: 0 0 0 0 rgba(245,162,10,.65); } 70% { box-shadow: 0 0 0 9px rgba(245,162,10,0); } 100% { box-shadow: 0 0 0 0 rgba(245,162,10,0); } }
/* My Commute as one quiet line until a place is added (Nov 23) */
#bcCm:has(> .cm-one) { border: 0; background: none; margin: 4px 0; }
#bcCm .cm-one { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; background: none; color: var(--bcn-navy); font: 700 13px var(--bcn-font); text-align: left; cursor: pointer; }
#bcCm .cm-one span:last-child { margin-left: auto; font-size: 18px; color: #c9a14e; }
/* COMPARE ON THE PHOTO (Nov 23): phones show a small Compare pill in the photo's top-left corner; the separate Compare / close row goes
   (the down arrow and the address bar's Close already close the card) */
#lcard .lcmp { display: none; }
@media (max-width: 760px) {
  html body #lcard.haslh .lprow { display: none !important; }
  html body #lcard .lhero .lcmp { display: inline-flex; position: absolute; left: 10px; top: 10px; z-index: 3; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 8px; border: 0; border-radius: 15px; background: rgba(255,255,255,.92); color: var(--bcn-navy); font: 700 12px var(--bcn-font); box-shadow: 0 1px 4px rgba(15,23,42,.18); cursor: pointer; }
  html body #lcard .lhero .lcmp::after { content: ""; position: absolute; left: -4px; right: -4px; top: -7px; bottom: -7px; }   /* 44 px finger area */
  html body #lcard .lhero .lcmp .cbx { width: 14px; height: 14px; border: 1.5px solid var(--bcn-navy); border-radius: 4px; box-sizing: border-box; }
  html body #lcard .lhero .lcmp[aria-pressed="true"] { background: var(--bcn-navy); color: #fff; } html body #lcard .lhero .lcmp[aria-pressed="true"] .cbx { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 2px var(--bcn-navy); }
}
/* ACTION ROW, CLEAN (Nov 23): on phones Share, Compare and Hide are small icon buttons with a word under each (like Measure and Lists);
   Show on map stays the one yellow button. Compare turns navy with a tick once added, and "Compare 2 ›" opens them side by side. */
.wfoot2 .wcmp2 { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px 0 10px; border-radius: 17px; border: 1.5px solid #e2e8f0; background: #fff; color: #475569; font: 800 12.5px var(--bcn-font); cursor: pointer; }
.wfoot2 .wcmp2 svg { width: 15px; height: 15px; } .wfoot2 .wcmp2.on { color: var(--bcn-navy); border-color: var(--bcn-navy); }
@media (max-width: 760px) {
  html body #lcard .wfoot2 { gap: 2px; align-items: center; }
  html body #lcard .wfoot2 .wshare, html body #lcard .wfoot2 .wcmp2, html body #lcard .wfoot2 .whide { flex-direction: column !important; justify-content: center; gap: 2px !important; height: 44px !important; min-width: 52px; width: auto !important; padding: 0 4px !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important; background: none !important; box-shadow: none !important; color: var(--bcn-navy) !important; font: 700 10.5px/1.1 var(--bcn-font) !important; }
  html body #lcard .wfoot2 .wshare svg, html body #lcard .wfoot2 .wcmp2 svg, html body #lcard .wfoot2 .whide svg { width: 19px !important; height: 19px !important; }
  html body #lcard .wfoot2 .whide { color: #5b6778 !important; }
  html body #lcard .wfoot2 .wcmp2.on { background: rgba(30,78,140,.08) !important; }
  html body #lcard .wfoot2 .wdetail2 { margin-left: auto !important; }
  html body #lcard .wcmpgo { display: none !important; }   /* "Compare 2 ›" in the row does this now */
}
@media (max-width: 760px) {
  html body #lcard .wfoot2 .wshare span, html body #lcard .wfoot2 .wcmp2 span, html body #lcard .wfoot2 .whide span { display: block !important; font-size: 10.5px !important; color: inherit !important; white-space: nowrap; }
  html body #lcard .wfoot2 .wdetail2 { flex: 0 1 auto; min-width: 0; padding: 0 12px !important; white-space: nowrap; }
}
@media (max-width: 360px) { html body #lcard .wfoot2 .wshare, html body #lcard .wfoot2 .wcmp2, html body #lcard .wfoot2 .whide { min-width: 44px; padding: 0 2px !important; } html body #lcard .wfoot2 .wdetail2 { padding: 0 10px !important; font-size: 12.5px !important; } }
/* ONE COMPARE, ROW FITS ON EVERY SCREEN (Nov 23): Compare lives only in the action row (the old price-row Compare goes on every screen);
   Share, Compare and Hide are small icon buttons with a word under each on tablets and computers too, so Show on map is never cut */
#lcard .lprow .wcmp { display: none !important; }
#lcard .wfoot2 { gap: 2px; align-items: center; }
#lcard .wfoot2 .wshare, #lcard .wfoot2 .wcmp2, #lcard .wfoot2 .whide { flex-direction: column !important; justify-content: center; gap: 2px !important; height: 44px !important; min-width: 52px; width: auto !important; padding: 0 4px !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important; background: none !important; box-shadow: none !important; color: var(--bcn-navy) !important; font: 700 10.5px/1.1 var(--bcn-font) !important; }
#lcard .wfoot2 .wshare span, #lcard .wfoot2 .wcmp2 span, #lcard .wfoot2 .whide span { display: block !important; font-size: 10.5px !important; color: inherit !important; white-space: nowrap; }
#lcard .wfoot2 .wshare svg, #lcard .wfoot2 .wcmp2 svg, #lcard .wfoot2 .whide svg { width: 19px !important; height: 19px !important; }
#lcard .wfoot2 .whide { color: #5b6778 !important; } #lcard .wfoot2 .wcmp2.on { background: rgba(30,78,140,.08) !important; }
#lcard .wfoot2 .wdetail2 { margin-left: auto !important; flex: 0 1 auto; min-width: 0; white-space: nowrap; }
#lcard .wcmpgo { display: none !important; }
/* THE CLEAN CARD ON EVERY SCREEN (Nov 23, owner: "apply all the changes everywhere, looks cleaner"): tablets and computers get the same
   card as phones: small arrow instead of "Hide Card", address under the photo, price in the facts line (no second price row), two calm
   buttons side by side, a taller photo, and the small Back button beside the search bar */
@media (min-width: 761px) {
  .hidetab { height: 22px !important; width: 40px; padding: 0 !important; justify-content: center; } .hidetab svg { width: 14px !important; height: 14px !important; } .hidetab .htc { display: none; }
  html body #lcard .ladr { display: block; margin: 8px 12px 0; font: 700 14px/1.3 var(--bcn-font); color: var(--bcn-ink); text-align: center; }
  html body #lcard.haslh .lhero { height: 190px !important; }
  html body #lcard.haslh .lfacts { padding: 4px 0 6px !important; justify-content: center; gap: 14px; border-bottom: 0 !important; }
  html body #lcard.haslh .lfacts > span { flex: 0 0 auto !important; display: inline-flex; align-items: baseline; gap: 4px; border-left: 0 !important; padding: 0 !important; }
  html body #lcard.haslh .lfacts b, html body #lcard.haslh .lfacts small { display: inline !important; } html body #lcard.haslh .lfacts small { font-size: 12.5px !important; overflow: visible !important; }
  html body #lcard.haslh .lfacts .fpr { display: inline-flex !important; } html body #lcard.haslh .lfacts .fpr b { font-size: 17px !important; color: var(--bcn-navy) !important; }
  html body #lcard.haslh .lprow { display: none !important; }
  html body #lcard.haslh .lhead { text-align: center; } html body #lcard.haslh .lcourt { text-align: left; }
  html body #lcard.haslh .lfx { display: none; }
  html body #lcard.haslh .lfull, html body #lcard.haslh .lsun { display: inline-flex !important; position: relative; vertical-align: middle; width: calc(50% - 10px) !important; min-height: 38px !important; margin: 6px 3px 4px !important; padding: 0 8px !important; justify-content: center; box-sizing: border-box; white-space: nowrap;
    background: #fff; color: var(--bcn-navy) !important; border: 1.5px solid #c9a14e !important; box-shadow: none; font-size: 13px !important; }
  html body #lcard.haslh .lfull::after, html body #lcard.haslh .lsun::after { content: ""; position: absolute; left: 0; right: 0; top: -3px; bottom: -3px; }
  html.bcn-hasback body #sbar.sbar { left: 70px !important; }
  html body a.bcn-back, html body .leaflet-container a.bcn-back { top: 12px !important; left: 12px !important; width: 50px; height: 46px !important; padding: 0 !important; border-radius: 14px !important;
    background: #fff !important; color: var(--bcn-navy) !important; border: 1px solid rgba(30,78,140,.16); box-shadow: 0 2px 10px rgba(15,23,42,.08) !important;
    display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 0 !important; }
  html body a.bcn-back svg { width: 18px !important; height: 18px !important; } html body a.bcn-back::after { content: "Back"; font: 800 10.5px/1 var(--bcn-font); color: var(--bcn-navy); }
}
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  html body #lcard.lcard .lfull { background: linear-gradient(110deg, #fff 42%, #fff1cf 50%, #fff 58%) 120% 0 / 260% 100% no-repeat, #fff; animation: lfShine 2.4s ease-in-out .6s 3, lfGlow 2.4s ease-in-out .6s 3; }
}
/* ONE TIP AT A TIME, SMALL EVERYWHERE (Nov 23): the Layers tip is the small pill on every screen and waits while a How to Use card is open */
.fabhint { font-size: 11px !important; padding: 4px 9px !important; border-radius: 8px !important; box-shadow: 0 2px 8px rgba(15,23,42,.2) !important; }
.fabhint .fhl { display: none !important; } .fabhint .fhs { display: inline !important; }
body:has(.gmsg:not([hidden])) .fabhint, body:has(.guide:not([hidden])) .fabhint { display: none !important; }
#lcard .wend { margin: 10px 0 4px; text-align: center; font: 600 11.5px var(--bcn-font); color: #7a8596; }   /* the list ends with a quiet line, so people know they have seen it all */
/* TIP CARD (Nov 23, owner: "Got it different, close different"): "Got it" reads this tip (more may come later); the small ✕ in the corner
   turns tips off, and a short note says How to Use is back under Lists. Finger area 44 px. */
.gmsg .gx { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #f1f4f8; color: #5b6778; font: 700 13px/30px var(--bcn-font); cursor: pointer; }
.gmsg .gx::after { content: ""; position: absolute; inset: -7px; }
.gmsg .gx:hover { background: #e6ebf2; color: var(--bcn-navy); }
.gmsg:has(.gx) .gt { padding-right: 34px; display: block; }
.gmsg .gb { justify-content: flex-end; }
.gmsg .galt.gx { text-decoration: none !important; background: #f1f4f8 !important; color: #5b6778 !important; border: 0 !important; padding: 0 !important; width: 30px !important; height: 30px !important; min-height: 0 !important; border-radius: 50% !important; display: grid !important; place-items: center; font: 700 13px/1 var(--bcn-font) !important; }
.nowalk { font: 600 9.5px/1.15 var(--bcn-font); font-style: normal; color: #7a8596; white-space: normal; max-width: 48px; display: inline-block; text-align: left; }   /* (Nov 23, owner) "Not walkable" in words instead of a dash */

/* (owner, Nov 23) a measured townhouse or condo lot says it is shared land, in one short calm line */
.msstrata { margin: 0 0 8px; font: 500 12.5px/1.4 "Plus Jakarta Sans", system-ui, sans-serif; color: #33445a; }
.msstrata b { color: var(--bcn-navy); font-weight: 800; }
.mscomp .msstrata { margin: 8px 0 0; padding: 7px 11px; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 2px 10px rgba(20,32,47,.1); }

/* Nov 24: pins folded into an "N Homes" bubble (declutter in map.js) */
.leaflet-marker-icon.clhid{display:none!important}

/* Nov 24 (owner): Clear at the top once a lot is measured, on every screen; it shakes once and glows gold */
.msclr{position:absolute;z-index:1031;left:50%;top:62px;transform:translateX(-50%);min-height:44px;padding:0 18px;border:1.5px solid #c9a14e;border-radius:999px;background:#fff;color:#1e4e8c;font:800 14.5px/1 "Plus Jakarta Sans",system-ui,sans-serif;box-shadow:0 6px 18px rgba(20,32,47,.16);cursor:pointer;white-space:nowrap}
.msclr[hidden]{display:none}
.msnudge{animation:msShake .6s ease-in-out 2,msGlow 2.4s ease-out 1}
.msclr.msnudge{animation:msShakeC .6s ease-in-out 2,msGlow 2.4s ease-out 1}
@keyframes msShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-5px)}40%{transform:translateX(5px)}60%{transform:translateX(-4px)}80%{transform:translateX(3px)}}
@keyframes msShakeC{0%,100%{transform:translateX(-50%)}20%{transform:translateX(calc(-50% - 5px))}40%{transform:translateX(calc(-50% + 5px))}60%{transform:translateX(calc(-50% - 4px))}80%{transform:translateX(calc(-50% + 3px))}}
@keyframes msGlow{0%{box-shadow:0 0 0 0 rgba(245,162,10,.75)}70%{box-shadow:0 0 0 12px rgba(245,162,10,0)}100%{box-shadow:0 0 0 0 rgba(245,162,10,0)}}
@media (prefers-reduced-motion:reduce){.msnudge,.msclr.msnudge{animation:msGlow 2.4s ease-out 1}}

/* (Nov 24 check) while measuring, the filter chips step aside on computers: the measure bar sat on top of them */
body:has(#map.measuring) .fchips { visibility: hidden !important; }

/* (owner, Nov 24: "easy to understand, people don't get confused") every map card has the same Close ✕ in the same top-right spot:
   the for-sale card now shows it over the photo (white pill), and the heart moves left of it */
.lcard:has(.lhero) > .lx { display: inline-flex !important; top: 10px !important; right: 10px !important; z-index: 8 !important; background: rgba(255,255,255,.96) !important; box-shadow: 0 1px 4px rgba(15,23,42,.18); color: #14202f !important; min-height: 36px; }
.lcard:has(.lhero) .lhb { right: 104px; }
.lcard:has(.lhero) .lseen { max-width: calc(100% - 200px); }
.lcard:has(.lhero) > .lx::after { content: ""; position: absolute; inset: -5px; }
/* (owner, Nov 24: "make close button small") Close is a small round ✕ on every map card; an invisible ring keeps a 44 px tap */
.lcard .lx { width: 32px !important; height: 32px !important; min-height: 0 !important; padding: 0 !important; border-radius: 50% !important; justify-content: center; gap: 0 !important; font-size: 15px !important; line-height: 1; }
.lcard .lx > span { display: none !important; }
.lcard .lx::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.lcard:has(.lhero) .lhb { right: 52px; }
.lcard:has(.lhero) .lseen { max-width: calc(100% - 150px); }
/* (owner, Nov 24: "make heart button align") heart and Close are the same size, side by side on one line */
.lcard:has(.lhero) .lhb { top: 10px !important; right: 50px !important; gap: 8px; }
.lcard:has(.lhero) .lhb .lhi { width: 32px !important; height: 32px !important; }
.lcard:has(.lhero) .lhb .lhi svg { width: 17px; height: 17px; }
.lcard:has(.lhero) > .lx { top: 10px !important; right: 10px !important; }
@media (max-width: 767px) { .lcard:has(.lhero) > .lx { top: 14px !important; } }
/* (Nov 24, owner: "sometime close shows sometime not") the photo card looks the same however it was opened: no extra price line above the photo, Close and heart on the photo */
.lcard:has(.lhero) > .lpr, .lcard:has(.lhero) > .lsm { display: none !important; }
.lcard:has(.lhero) { padding-top: 0 !important; }
.lcard:has(.lhero) .wn { border-top: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
/* (Nov 24 check) a slid-up phone card is for reading: tips step aside so they never cover its rows */
@media (max-width: 760px) { body:has(#lcard.ph-full) .leaflet-container .gmsg { display: none !important; } }

/* (owner, Nov 25) a note never sits behind "✕ Clear Lot": while that button shows, notes appear just under it */
body:has(.msclr:not([hidden])) .bcn-toast:not(.low){top:116px}
/* (owner, Nov 28: "sliding up is not smooth") on phones, the lower parts of the full card (nearby rows, more places) are drawn only when
   scrolled to, so the slide-up doesn't stall while they are laid out. Nothing changes on screen. */
@media (max-width: 760px) { html body #lcard.ph-full #wn > .wbody, html body #lcard.ph-full #wn > .nsec, html body #lcard.ph-full #wn > .wfwrap { content-visibility: auto; contain-intrinsic-size: auto 320px; } }
/* (owner, Nov 28) the measured lot shows which home it is: the address sits on top of the size label */
.msarea small { display: block; font: 700 10.5px var(--bcn-font); opacity: .92; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
/* (owner, Nov 28: "when the Sun Check button arrives it jumps") on phones, what appears when the card slides up fades in gently */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  html body #lcard.ph-in .lsun, html body #lcard.ph-in .lprow, html body #lcard.ph-in .wcmpgo, html body #lcard.ph-in #wn > :nth-child(-n+3) { animation: lcIn .38s ease-out both; }   /* only what shows at the top: the rest stays drawn-later */
}
@keyframes lcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* (owner, Nov 28) shorter phones: the bottom bars sit left of the zoom buttons, never under them */
@media (max-width: 720px) { .bstack.bsdodge { left: 12px; right: var(--bsr, 72px); transform: none; width: auto; max-width: none; } .bstack.bsdodge .bladdr { max-width: none; min-width: 0; } .bstack.bsdodge .backlst { max-width: 100%; } .bstack.bsdodge .backlst .blb, .bstack.bsdodge .backlst .blspot { min-width: 0; overflow: hidden; } }
/* (Nov 29 test, owner rule: nothing covers anything) on phones the "Welcome back" card stays left of the map's button column
   (Layers, Measure, Lists, Near me, Satellite, zoom), so it never covers a button */
@media (max-width: 720px) { .wbk { left: 12px; right: 76px; transform: none; animation: none; justify-content: flex-start; } .wbk.out { transform: translateY(-8px); } .wbk span { flex: 1; min-width: 0; } }

/* (owner, Dec 1) "14 homes" in the area bar is a link: tap it for the list of those homes. Looks like a link, 44 px finger area. */
.abt .abn { position: relative; border: 0; background: none; padding: 0; margin: 0; font: inherit; font-weight: 800; color: var(--bcn-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; cursor: pointer; }
.abt .abn::after { content: ""; position: absolute; left: -8px; right: -8px; top: -14px; bottom: -14px; }
.areabar .abt[data-a] { cursor: pointer; align-self: stretch; display: flex; align-items: center; gap: 4px; min-height: 44px; }   /* the whole "17 homes in ..." line opens the list */
.areabar .abt[data-a] .abn { flex: none; }

/* (owner, Dec 1) townhouses and condos have no Sun Check button on the map card: "See Full Listing Details" then fills the row instead of sitting half-width alone */
html body #lcard.lcard.haslh .lfull:not(:has(~ .lsun)) { display: flex !important; width: calc(100% - 6px) !important; margin-left: 3px !important; margin-right: 3px !important; }

/* (owner, Dec 1: "make small background and writing") the compare bar's button: smaller pill and smaller words; the finger area stays 44 px */
html body .cbgo { position: relative; height: 32px; padding: 0 12px; border-radius: 16px; font-size: 12.5px; font-weight: 700; box-shadow: 0 1px 4px rgba(245,162,10,.3); }
html body .cbgo::after { content: ""; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }
@media (max-width: 720px) { html body .cbgo { height: 32px; } }
/* LOT CARD SLIDE-DOWN (owner, Dec 1: "when slide down it goes down too much, Sun Check tab hidden"): on phones the lot card keeps
   Sun Check in sight at every height. Half: the value and Sun Check (lot size, history and the rest come back when slid up).
   Strip: the address, the three tabs and Sun Check only, so the strip is really smaller than half. */
@media (max-width: 760px) {
  html body #lcard.islot.ph-half .lotc > .lots2, html body #lcard.islot.ph-half .lotc > .lotf, html body #lcard.islot.ph-half .lotc > .lotown,
  html body #lcard.islot.ph-half .lotc > .lotn, html body #lcard.islot.ph-half .lotc > .lotfbk, html body #lcard.islot.ph-half #wn > :not(.lotc) { display: none !important; }
  html body #lcard.islot.ph-strip .lotc > :not(.lotsun), html body #lcard.islot.ph-strip #wn > :not(.lotc) { display: none !important; }
  html body #lcard.islot.ph-strip .lotc > .lotsun { margin-top: 4px; }
  html body #lcard.lcard.islot.ph-half, html body #lcard.lcard.small.islot.ph-half { max-height: none !important; height: auto !important; }   /* short phones: the half card fits what it shows, so Sun Check is never cut off */
}
/* WALK CIRCLES (owner, Dec 2): off by default; on = both rings, everything outside faded, one small bar. Only while body.bcwalk is on. */
#lcard .lwalk { display: flex; align-items: center; justify-content: center; gap: 6px; width: calc(100% - 6px); min-height: 40px; margin: 2px 3px 6px; padding: 0 12px; border: 1px solid #d7dde5; border-radius: 999px; background: #fff; color: #1e4e8c; font: 700 13px "Plus Jakarta Sans", system-ui, sans-serif; cursor: pointer; position: relative; box-sizing: border-box; }
#lcard .lwalk::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; bottom: -2px; }   /* 44 px finger area */
#lcard .lwalk svg { width: 18px; height: 18px; flex: none; color: #f5a20a; }
#lcard .lwalk small { font-weight: 600; font-size: 12px; color: #5a6576; margin-left: 4px; }
#lcard .lwalk:hover { border-color: #c9a14e; } #lcard .lwalk:focus-visible { outline: 3px solid #f5a20a; outline-offset: 2px; }
body.bcwalk #lcard, body.bcwalk .lineLbls, body.bcwalk .leaflet-pv-pane, body.bcwalk .leaflet-dots-pane, body.bcwalk .leaflet-labels-pane,
body.bcwalk .leaflet-amen-pane, body.bcwalk .leaflet-lines-pane, body.bcwalk path.walkc, body.bcwalk .ulist, body.bcwalk-places .leaflet-lst-pane { display: none !important; }
.wkbar { position: fixed; left: 10px; right: 10px; z-index: 1200; display: flex; align-items: center; gap: 8px; max-width: 560px; margin: 0 auto; padding: 8px 8px 8px 12px; box-sizing: border-box; background: #fff; border: 1px solid #e6e9ee; border-radius: 14px; box-shadow: 0 6px 18px rgba(20,32,47,.14); font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: #14202f; }
.wkbar[hidden] { display: none !important; }
.wkbar .wkt { flex: 1; min-width: 0; margin: 0; font-size: 12.5px; line-height: 1.3; color: #3d4a5c; }
.wkbar .wkt b { color: #1e4e8c; font-weight: 800; }
.wkbar .wkb { display: flex; gap: 6px; flex: none; }
.wkbar button { position: relative; min-height: 36px; padding: 0 11px; border-radius: 999px; border: 1.5px solid #d7dde5; background: #fff; color: #1e4e8c; font: 700 12.5px "Plus Jakarta Sans", system-ui, sans-serif; white-space: nowrap; cursor: pointer; }
.wkbar button::after { content: ""; position: absolute; left: -2px; right: -2px; top: -4px; bottom: -4px; }   /* 44 px finger area */
.wkbar button[aria-pressed="true"] { background: #1e4e8c; border-color: #1e4e8c; color: #fff; }
.wkbar .wkx { border-color: #c9a14e; font-weight: 800; }
.wkbar button:focus-visible { outline: 3px solid #f5a20a; outline-offset: 2px; }
@media (max-width: 380px) { .wkbar { left: 6px; right: 6px; padding-left: 10px; gap: 6px; } .wkbar button { padding: 0 8px; font-size: 12px; } .wkbar .wkt { font-size: 12px; } }
.wkl { display: inline-block; transform: translate(-50%, -50%); padding: 2px 8px; border-radius: 999px; background: #fff; color: #1e4e8c; font: 800 11.5px "Plus Jakarta Sans", system-ui, sans-serif; white-space: nowrap; box-shadow: 0 1px 4px rgba(20,32,47,.15); pointer-events: none; }
.wkp { width: 26px; height: 26px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--wk); color: var(--wk); box-shadow: 0 1px 4px rgba(20,32,47,.2); cursor: pointer; position: relative; }
.wkp::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; }   /* 44 px finger area */
.wkp svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.wkp.on { background: var(--wk); color: #fff; transform: translate(-50%, -50%) scale(1.25); z-index: 5; }
@media (prefers-reduced-motion: reduce) { .wkp { transition: none; } }
.wkbar.long { flex-wrap: wrap; row-gap: 8px; } .wkbar.long .wkt { flex-basis: 100%; } .wkbar.long .wkb { margin-left: auto; }
/* walk circles: the ring names are tappable (10 only / both), one gold glow the first time; first-visit tips wait while the walk view is open */
.wkl { pointer-events: auto !important; cursor: pointer; position: relative; border: 1.5px solid #d7dde5; padding: 3px 10px !important; }
.wkl::after { content: ""; position: absolute; left: -6px; right: -6px; top: -10px; bottom: -10px; }   /* 44 px finger area */
.wkl.on { background: #1e4e8c !important; color: #fff !important; border-color: #1e4e8c; }
.wkl.wkglow { animation: wkGlow 1.6s ease-in-out 2; }
@keyframes wkGlow { 0%, 100% { box-shadow: 0 1px 4px rgba(20,32,47,.15); } 50% { box-shadow: 0 0 0 6px rgba(245,162,10,.45); } }
@media (prefers-reduced-motion: reduce) { .wkl.wkglow { animation: none; box-shadow: 0 0 0 3px rgba(245,162,10,.5); } }
body.bcwalk .gmsg, body.bcwalk .guide { display: none !important; }
body.bcwalk .ptr { display: none !important; }
/* walk circles, zoomed out: small home dots inside the ring (the map's count bubbles wait until Back) */
body.bcwalk-lowz:not(.bcwalk-places) .leaflet-lst-pane { display: none !important; }
.wkh { width: 12px; height: 12px; transform: translate(-50%, -50%); border-radius: 50%; background: #1e4e8c; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(20,32,47,.35); cursor: pointer; position: relative; }
.wkh.dr { background: #f5a20a; }
.wkh::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; }   /* 40 px finger area around a small dot */
/* NEW ON OUR PLATFORM (owner, Dec 2): first 2 days, a small gold dot on the price pin (and on a bubble holding a new home), and one line on the card. No date, no day count. */
.lp .lpnew { position: absolute; top: -9px; right: -10px; padding: 1px 4px 1px; border-radius: 6px; background: #f5a20a; color: #14202f; border: 1.5px solid #fff; font: 800 8px/1.2 "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: .04em; font-style: normal; box-shadow: 0 1px 3px rgba(20,32,47,.25); pointer-events: none; }
.lp .lpnew::before { content: "NEW"; }   /* a word, so it never looks like the orange open-house dot */
@keyframes lpNewBeat { 0% { box-shadow: 0 0 0 0 rgba(245,162,10,.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(245,162,10,0); } }
#lcard .lnew { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 2px; padding: 3px 10px 3px 8px; border-radius: 999px; background: #fff7e6; color: #8a5a00; font: 700 12.5px "Plus Jakarta Sans", system-ui, sans-serif; }
#lcard .lnew i { width: 8px; height: 8px; border-radius: 50%; background: #f5a20a; animation: lpNewBeat 2.4s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .lp .lpnew, #lcard .lnew i { animation: none; } }
/* MINIMUM BACKGROUND BEHIND WORDS (owner, Dec 2: "keep in mind minimum background for written words"):
   the card's "New on BC Real Estate Market" line is plain words with the gold dot (no pill), and the ring names
   "10 min walk" / "20 min walk" are plain words with a soft white edge so they read on the map (no white box);
   the chosen one is navy and underlined in gold */
#lcard .lnew { background: none !important; padding: 0 !important; color: #8a5a00; }
.wkl { background: none !important; border: 0 !important; box-shadow: none !important; padding: 2px 4px !important; color: #1e4e8c !important;
  text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 6px #fff; }
.wkl.on { background: none !important; color: #14202f !important; text-decoration: underline 2px #f5a20a; text-underline-offset: 3px; }
.wkl.wkglow { animation: wkGlowText 1.6s ease-in-out 2; }
@keyframes wkGlowText { 0%, 100% { color: #1e4e8c; } 50% { color: #b36b00; } }
@media (prefers-reduced-motion: reduce) { .wkl.wkglow { animation: none; } }
.wkp.sm { width: 18px; height: 18px; border-width: 1.5px; } .wkp.sm svg { width: 11px; height: 11px; } .wkp.sm::after { inset: -13px; }   /* zoomed out: smaller place icons, same 44 px finger area */
.wkp .wkn { position: absolute; top: -8px; right: -12px; min-width: 16px; padding: 0 3px; border-radius: 8px; background: #1e4e8c; color: #fff; border: 1.5px solid #fff; font: 800 9.5px/14px "Plus Jakarta Sans", system-ui, sans-serif; text-align: center; font-style: normal; pointer-events: none; }
.wkp.on .wkn { background: #14202f; }

/* (owner, Dec 2) Walk Circles: the home shows our red map pin; the old blue dot and a second red pin step aside while the rings are on */
body.bcwalk .leaflet-pin-pane .pin:not(.wkhome) { display: none !important; }
/* (owner, Dec 2) the tapped spot has the red pin at once; after Show on map the chosen pin (with its drop) takes its place, never two */
.leaflet-pin-pane:has(.pin.chosen.red:not(.tapred)) .pin.tapred { display: none; }
/* (owner, Dec 2 deep test) a measured lot is already marked by its outline: the spot pin steps aside, never on the size label */
/* (owner, Dec 3) the red pin stays while measuring; the size words step under it instead (.msarea.below) */
/* (owner, Dec 3: "it slid up and can't see the house", "see details button not responding right away")
   Phone card, half open: the neighbourhood lines wait in the slide-up part with Sun Check, schools and what's nearby.
   They arrived a moment after the card opened and pushed it up 137 px, over the house and under your finger. */
#lcard.ph-half .bcnb-line, #lcard.ph-strip .bcnb-line { display: none !important; }
/* (owner, Dec 3: "change the background minimum or something") the size of a measured lot no longer sits in a dark box that hides
   the lot and its corners. Navy words with a soft white edge, no box, under the corner dots, so the lot lines show through. */
.msarea { background: transparent !important; box-shadow: none !important; color: var(--bcn-navy) !important; padding: 0 !important; pointer-events: none;
  text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 7px rgba(255,255,255,.9); }
.msarea span, .msarea small { opacity: 1 !important; }
/* (owner, Dec 3: "back button info is too big") the Back to the Home Card button under a measured lot is smaller and quieter:
   the same size words as More, a softer shadow, still 44 px tall to tap */
.msbox.mscomp .msnb .go { font-size: 12.5px !important; padding: 0 14px !important; box-shadow: 0 3px 10px rgba(20,32,47,.16) !important; }
.msarea.below { transform: translate(-50%, 4px) !important; }
/* (Dec 3 test, board rule 1) the brokerage name on every home in a list, on its own line, never cut short */
.ulist .ua small.ubk { display: block; white-space: normal; overflow: visible; text-overflow: clip; }

/* ADDRESS CARD: THE BOTTOM ROW ALWAYS SHOWS (Dec 4, owner's phone: "Show on map" cut off on 3212 264 St).
   On a phone with bigger text, the address and its three boxes grew taller than the half card, and the Share / Show on map
   row could not rise above them (it lived in the inner box under them). Here the inner box steps aside, so the row sticks to
   the bottom of the whole card at any text size. The narrow-card rules still work: the card itself is the size box. */
@media (max-width: 760px) {
  html body #lcard.isplace:not(.islot):not(.ph-strip) { container-type: inline-size; }
  html body #lcard.isplace:not(.islot):not(.ph-strip) > #wn { display: contents; }
}
/* (Dec 4) address card: the house number is not in BC records; the closest real number on the same street is one tap away */
#lcard .lplace:has(> .palt) { flex-wrap: wrap; }
#lcard .palt { flex: 0 0 100%; width: 100%; margin: 0 0 6px; font: 600 13px/1.35 var(--bcn-font); color: #475569; }
#lcard .palt button { display: flex; align-items: center; min-height: 44px; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--bcn-navy); font: 700 14px var(--bcn-font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#lcard .palt button b { margin-left: 4px; }

/* (Dec 4, owner: "Bottom info writing bothering on the laptop") on a laptop the walk bar is one calm line: the counts on the left,
   Homes, Places and Back on the right, never wrapped onto a second row. Phones unchanged. */
@media (min-width: 1024px) {
  .wkbar { max-width: min(900px, calc(100vw - 220px)); }
  .wkbar.long { flex-wrap: nowrap; }
  .wkbar.long .wkt { flex-basis: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wkbar.long .wkb { margin-left: 0; }
}
