.leaflet-map-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-pane,.leaflet-tile-container,.leaflet-overlay-pane,.leaflet-shadow-pane,.leaflet-marker-pane,.leaflet-popup-pane,.leaflet-overlay-pane svg,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden;-ms-touch-action:none}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container img{max-width:none !important}.leaflet-container img.leaflet-image-layer{max-width:15000px !important}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-tile-pane{z-index:2}.leaflet-objects-pane{z-index:3}.leaflet-overlay-pane{z-index:4}.leaflet-shadow-pane{z-index:5}.leaflet-marker-pane{z-index:6}.leaflet-popup-pane{z-index:7}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:7;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}.leaflet-fade-anim .leaflet-tile,.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity 0.2s linear;-moz-transition:opacity 0.2s linear;-o-transition:opacity 0.2s linear;transition:opacity 0.2s linear}.leaflet-fade-anim .leaflet-tile-loaded,.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.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);-o-transition:-o-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,.leaflet-touching .leaflet-zoom-animated{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-clickable{cursor:pointer}.leaflet-container{cursor:-webkit-grab;cursor:-moz-grab}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-container,.leaflet-dragging .leaflet-clickable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078A8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,0.5)}.leaflet-container{font:12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif}.leaflet-bar{border-radius:4px;height:20px}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;height:26px;line-height:26px;display:block;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{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;color:#bbb}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;box-shadow:none}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:bold 18px 'Lucida Console', Monaco, monospace;text-indent:7px;width:25px}.leaflet-control-zoom-out{font-size:20px}.leaflet-touch .leaflet-control-zoom-in{font-size:22px}.leaflet-touch .leaflet-control-zoom-out{font-size:24px}.leaflet-control-layers{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-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,0.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.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;font-size:11px;white-space:nowrap;overflow:hidden;-moz-box-sizing:content-box;box-sizing:content-box;background:#fff;background:rgba(255,255,255,0.5)}.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{background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 19px;line-height:1.4}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{margin:0 auto;width:40px;height:20px;position:relative;overflow:hidden}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;text-align:center;width:18px;height:14px;font:16px/14px Tahoma, Verdana, sans-serif;color:#c3c3c3;text-decoration:none;font-weight:bold;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.leaflet-oldie .leaflet-popup-content-wrapper{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)"}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.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}.leaflet-div-icon{background:#fff;border:1px solid #666}

#colorbox,#cboxOverlay,#cboxWrapper{position:absolute;top:0;left:0;z-index:9999;overflow:visible}#cboxOverlay{position:fixed;width:100%;height:100%}#cboxMiddleLeft,#cboxBottomLeft{clear:left}#cboxContent{position:relative}#cboxLoadedContent{overflow:auto}#cboxTitle{margin:0}#cboxLoadingOverlay,#cboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}#cboxPrevious,#cboxNext,#cboxClose,#cboxSlideshow{cursor:pointer}.cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none}.cboxIframe{width:100%;height:100%;display:block;border:0}#colorbox,#cboxContent,#cboxLoadedContent{box-sizing:content-box}#cboxOverlay{background:#555555}#colorbox{outline:none}#cboxContent{margin-top:32px;overflow:visible}.cboxIframe{background:#000}#cboxError{padding:50px;border:1px solid #ccc}#cboxLoadedContent{background:#fff;padding:10px;box-shadow:0 0 5px 5px #444;min-height:600px;height:600px}#cboxLoadingOverlay{background:#fff;display:none !important}#cboxLoadingGraphic{background:#fff;display:none !important}#cboxTitle{position:absolute;top:-22px;left:0;color:#000}#cboxCurrent{position:absolute;top:-22px;right:205px;text-indent:-9999px}#cboxSlideshow,#cboxPrevious,#cboxNext,#cboxClose{text-indent:-9999px;width:20px;height:20px;position:absolute;top:-20px;background:url(/assets/colorbox-controls.png) no-repeat 0 0;border:none}#cboxPrevious{background-position:0px 0px;right:44px}#cboxPrevious:hover{background-position:0px -25px}#cboxNext{background-position:-25px 0px;right:22px}#cboxNext:hover{background-position:-25px -25px}.cboxSlideshow_on #cboxPrevious,.cboxSlideshow_off #cboxPrevious{right:66px}.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px;right:44px}.cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px}.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px;right:44px}.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px}#cboxClose{background:url("/assets/close_button.png") scroll 0 0 transparent;background-repeat:no-repeat;height:27px;position:absolute;right:-10px;width:30px;top:-10px;z-index:200000;border:none}

*{margin:0;padding:0}div[class*='stack']{border:6px solid #fff;float:left;height:60px;width:80px;position:relative;margin:10px;-webkit-box-shadow:2px 2px 5px rgba(0,0,0,0.3);-moz-box-shadow:2px 2px 5px rgba(0,0,0,0.3);box-shadow:2px 2px 5px rgba(0,0,0,0.3)}div[class*='stack']:before,div[class*='stack']:after{background:#768590;border:6px solid #fff;content:"";height:60px;width:80px;position:absolute;z-index:-1;-webkit-box-shadow:2px 2px 5px rgba(0,0,0,0.3);-moz-box-shadow:2px 2px 5px rgba(0,0,0,0.3);box-shadow:2px 2px 5px rgba(0,0,0,0.3);height:0px\9;width:0px\9;border:n1\9}div[class*='stack']:before{background:#eff4de}div[class*='stack']:hover{-webkit-box-shadow:2px 2px 10px rgba(0,0,0,0.7);-moz-box-shadow:2px 2px 10px rgba(0,0,0,0.7);box-shadow:2px 2px 10px rgba(0,0,0,0.7)}.stack1:after{left:-6px;top:-2px;-webkit-transform:rotate(4deg);-moz-transform:rotate(4deg);-o-transform:rotate(4deg);-ms-transform:rotate(4deg);transform:rotate(4deg)}.stack1:before{left:-6px;top:4px;-webkit-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-o-transform:rotate(-2deg);-ms-transform:rotate(-2deg);transform:rotate(-2deg)}.stack2:after{top:5px;left:0px;-webkit-transform:rotate(4deg);-moz-transform:rotate(4deg);-o-transform:rotate(4deg);-ms-transform:rotate(4deg);transform:rotate(4deg)}.stack2:before{top:0px;left:-10px;-webkit-transform:rotate(-5deg);-moz-transform:rotate(-5deg);-o-transform:rotate(-5deg);-ms-transform:rotate(-5deg);transform:rotate(-5deg)}.stack3:after{top:-2px;left:-10px;-webkit-transform:rotate(-5deg);-moz-transform:rotate(-5deg);-o-transform:rotate(-5deg);-ms-transform:rotate(-5deg);transform:rotate(-5deg)}.stack3:before{top:5px;left:-15px;z-index:-1;-webkit-transform:rotate(-10deg);-moz-transform:rotate(-10deg);-o-transform:rotate(-10deg);-ms-transform:rotate(-10deg);transform:rotate(-10deg)}.stack4:after{top:-17px;left:-16px;-webkit-transform:rotate(-3deg);-moz-transform:rotate(-3deg);-o-transform:rotate(-3deg);-ms-transform:rotate(-3deg);transform:rotate(-3deg)}.stack4:before{top:-19px;left:-26px;-webkit-transform:rotate(-7deg);-moz-transform:rotate(-7deg);-o-transform:rotate(-7deg);-ms-transform:rotate(-7deg);transform:rotate(-7deg)}.stack5:after{top:-8px;left:-6px;-webkit-transform:rotate(5deg);-moz-transform:rotate(5deg);-o-transform:rotate(5deg);-ms-transform:rotate(5deg);transform:rotate(5deg)}.stack5:before{top:-10px;left:-6px;-webkit-transform:rotate(9deg);-moz-transform:rotate(9deg);-o-transform:rotate(9deg);-ms-transform:rotate(9deg);transform:rotate(9deg)}.stack6:after{top:-2px;left:8px;-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-o-transform:rotate(2deg);-ms-transform:rotate(2deg);transform:rotate(2deg)}.stack6:before{top:-6px;left:12px;-webkit-transform:rotate(8deg);-moz-transform:rotate(8deg);-o-transform:rotate(8deg);-ms-transform:rotate(8deg);transform:rotate(8deg)}.stack7:after{top:-5px;left:-6px;-webkit-transform:rotate(-8deg);-moz-transform:rotate(-8deg);-o-transform:rotate(-8deg);-ms-transform:rotate(-8deg);transform:rotate(-8deg)}.stack7:before{top:-5px;left:-6px;-webkit-transform:rotate(8deg);-moz-transform:rotate(8deg);-o-transform:rotate(8deg);-ms-transform:rotate(8deg);transform:rotate(8deg)}.stack8:after{top:-5px;left:-6px;-webkit-transform:rotate(-18deg);-moz-transform:rotate(-18deg);-o-transform:rotate(-18deg);-ms-transform:rotate(-18deg);transform:rotate(-18deg)}.stack8:before{top:-5px;left:-6px;-webkit-transform:rotate(18deg);-moz-transform:rotate(18deg);-o-transform:rotate(18deg);-ms-transform:rotate(18deg);transform:rotate(18deg)}

.leaflet-control-title{position:relative}.leaflet-touch .leaflet-control-title-interior{width:99px;height:20px;background-position:-182px 0px;background-repeat:no-repeat;display:block;padding:3px;border-radius:0px;-webkit-border-radius:4px;-moz-border-radius:4px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0px !important;border-bottom-left-radius:0px !important;cursor:auto;text-align:center;background-color:#FFFFFF;position:relative;font-size:12px;vertical-align:middle;line-height:20px;margin-top:30px}.leaflet-control-title-interior{width:99px;height:20px;background-position:-182px 0px;background-repeat:no-repeat;display:block;padding:3px;border-radius:0px;-webkit-border-radius:4px;-moz-border-radius:4px;border-top-left-radius:4px;border-top-right-radius:4px;cursor:auto;text-align:center;background-color:#FFFFFF;position:relative;font-size:12px;vertical-align:middle;line-height:20px}.leaflet-help-banner{position:fixed;top:0px;left:0%;display:none;width:100%;height:50px;background:rgba(84,84,84,0.9);text-align:left;padding-left:150px;vertical-align:middle;line-height:50px;border-radius:4px;box-shadow:0 1px 7px rgba(0,0,0,0.65);color:white;font-family:Arial, Helvetica, sans-serif}.leaflet-draw-draw-freehand-banner{position:fixed;top:0px;left:0%;display:none;width:100%;height:50px;background:rgba(84,84,84,0.9);text-align:left;padding-left:150px;vertical-align:middle;line-height:50px;border-radius:4px;box-shadow:0 1px 7px rgba(0,0,0,0.65);color:white;font-family:Arial, Helvetica, sans-serif}.leaflet-draw-edit-edit-banner{position:fixed;top:0px;left:0%;display:none;width:100%;height:50px;background:rgba(84,84,84,0.9);text-align:left;padding-left:150px;vertical-align:middle;line-height:50px;border-radius:4px;box-shadow:0 1px 7px rgba(0,0,0,0.65);color:white;font-family:Arial, Helvetica, sans-serif}.leaflet-control-remove-all-interior a{background-image:url("/assets/binsprite.png");width:72px;height:20px;background-position:-182px 0px;background-repeat:no-repeat;display:block;padding:3px;border-radius:0px;-webkit-border-radius:4px;-moz-border-radius:4px;cursor:auto;text-align:left;padding-left:30px;background-color:#FFFFFF;position:relative;top:-20px;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-retina .leaflet-control-remove-all-interior a{background-image:url("/assets/binsprite-2x.png") !important;width:72px;height:20px;background-position:-182px 0px}.leaflet-control-remove-all-interior{background-image:url("/assets/binsprite.png");width:72px;height:20px;background-position:-182px 0px;background-repeat:no-repeat;display:block;padding:3px;border-radius:0px;-webkit-border-radius:4px;-moz-border-radius:4px;cursor:auto;text-align:left;padding-left:30px;background-color:#FFFFFF;position:relative;top:-20px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;cursor:pointer}.leaflet-retina .leaflet-control-remove-all-interior{background-image:url("/assets/binsprite-2x.png") !important;width:72px;height:20px;background-size:300px 30px !important}.leaflet-disabled{color:#F4F4F4}.leaflet-disabled:hover{color:#F4F4F4;background-color:#FFFFFF !important;cursor:pointer}.leaflet-control-remove-all-interior:hover{background-color:#F4F4F4}.leaflet-draw-section{position:relative}.leaflet-draw-toolbar{margin-top:0px}.leaflet-draw-toolbar-top{margin-top:0;position:relative}.leaflet-draw-toolbar-notop a:first-child{border-top-right-radius:0}.leaflet-draw-toolbar-nobottom a:last-child{border-bottom-right-radius:4px}.leaflet-draw-toolbar a{background-image:url("/assets/spritesheet.png");background-repeat:no-repeat}.leaflet-retina .leaflet-draw-draw-freehand{background-image:url("/assets/freehand-2x.png");background-repeat:no-repeat;background-size:15px 15px !important;background-position:8px center !important}.leaflet-retina .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-image:url("/assets/edit-2x.png");background-size:300px 30px !important;width:105px}.leaflet-retina .leaflet-draw-toolbar .leaflet-draw-edit-edit{background-image:url("/assets/edit-2x.png");background-size:300px 30px !important;width:105px}.leaflet-draw-toolbar .leaflet-draw-draw-freehand.leaflet-disabled{background-image:url("/assets/spritesheet-2x.png")}.leaflet-draw a{display:block;text-align:center;text-decoration:none;position:relative;top:-10px}.leaflet-draw-actions{display:none;list-style:none;margin-left:75px;padding:0;position:absolute;left:26px;top:0;white-space:nowrap}.leaflet-right .leaflet-draw-actions{right:26px;left:auto}.leaflet-draw-actions li{display:inline-block}.leaflet-draw-actions li:first-child a{border-left:none;color:#FFFFFF;top:0px}.leaflet-draw-edit-edit .leaflet-draw-actions li:first-child a{display:inline-block}.leaflet-draw-actions li:last-child a{-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;display:inline-block;color:#FFFFFF;top:0px}.leaflet-right .leaflet-draw-actions li:last-child a{-webkit-border-radius:0;border-radius:0;color:#FFFFFF}.leaflet-right .leaflet-draw-actions li:first-child a{-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.leaflet-draw-actions a{background-color:#919187;border-left:1px solid #AAA;color:#FFF;font:11px/19px "Helvetica Neue", Arial, Helvetica, sans-serif;line-height:28px;text-decoration:none;padding-left:10px;padding-right:10px;height:28px;position:relative;left:4px;z-index:50}.leaflet-draw-actions-bottom{margin-top:0}.leaflet-draw-actions-top{margin-top:1px}.leaflet-draw-actions-top a,.leaflet-draw-actions-bottom a{height:27px;line-height:27px}.leaflet-draw-actions a:hover{background-color:#A0A098}.leaflet-draw-actions-top.leaflet-draw-actions-bottom a{height:26px;line-height:26px}.leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:-2px -2px}.leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-31px -2px}.leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-62px -2px}.leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-92px -2px}.leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-122px -2px}.leaflet-draw-toolbar .leaflet-draw-draw-freehand{background-position:-267px -2px;text-align:left;width:75px !important;padding-left:30px;position:relative;border-radius:0 !important}.leaflet-draw-toolbar .leaflet-draw-draw-freehand:hover{background-position:-267px -2px}.leaflet-draw-toolbar .leaflet-draw-edit-edit{background-image:url("/assets/edit.png");width:75px !important;padding-left:30px;margin-top:5px;text-align:left;background-position:-152px -2px;position:relative}.leaflet-draw-edit-edit{position:absolute;top:-10px !important;border-radius:0 !important}.leaflet-draw-toolbar .leaflet-draw-edit-remove{background-image:url("/assets/binsprite.png");background-position:-184px 0px;text-align:left;padding-left:30px;position:relative}.leaflet-retina .leaflet-draw-edit-remove{background-image:url("/assets/binsprite-2x.png") !important;background-position:-182px 0px;background-size:300px 30px !important;border:none;box-shadow:none;margin-top:-5px}.leaflet-touch .leaflet-draw-edit-remove{margin-top:-5px}.leaflet-delete-disabled:hover{background-color:#fff}.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-image:url("/assets/edit.png");background-position:-152px -2px;position:relative;color:#F4F4F4}.leaflet-retina .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled .leaflet-retina{background-image:url("/assets/edit- f f2x.png");background-position:-152px -2px;position:relative;color:#F4F4F4}.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled:hover{background-color:#fff}.leaflet-draw-toolbar .leaflet-draw-edit-edit:hover{background-color:#F4F4F4}.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-184px 0px;background-image:url("/assets/binsprite.png")}.leaflet-mouse-marker{background-color:#fff;cursor:crosshair}.leaflet-draw-tooltip{background:#363636;background:rgba(0,0,0,0.5);border:1px solid transparent;-webkit-border-radius:4px;border-radius:4px;color:#fff;font:12px/18px "Helvetica Neue", Arial, Helvetica, sans-serif;margin-left:20px;margin-top:-21px;padding:4px 8px;position:relative;visibility:hidden;white-space:nowrap;z-index:5000;display:none}.leaflet-draw-tooltip:before{border-right:6px solid black;border-right-color:rgba(0,0,0,0.5);border-top:6px solid transparent;border-bottom:6px solid transparent;content:"";position:absolute;left:-7px}.leaflet-error-draw-tooltip{background-color:#F2DEDE;border:1px solid #E6B6BD;color:#B94A48}.leaflet-error-draw-tooltip:before{border-right-color:#E6B6BD}.leaflet-draw-tooltip-single{margin-top:-12px}.leaflet-draw-tooltip-subtext{color:#f8d5e4}.leaflet-draw-guide-dash{font-size:1%;opacity:0.6;position:absolute;width:5px;height:5px}.leaflet-edit-marker-selected{background:rgba(254,87,161,0.1);border:4px dashed rgba(254,87,161,0.6);-webkit-border-radius:4px;border-radius:4px}.leaflet-edit-move{cursor:move}.leaflet-edit-resize{cursor:pointer}.leaflet-oldie .leaflet-draw-toolbar{border:3px solid #999}.leaflet-oldie .leaflet-draw-toolbar a{background-color:#eee}.leaflet-oldie .leaflet-draw-toolbar a:hover{background-color:#fff}.leaflet-oldie .leaflet-draw-actions{left:32px;margin-top:3px}.leaflet-oldie .leaflet-draw-actions li{display:inline;zoom:1}.leaflet-oldie .leaflet-edit-marker-selected{border:4px dashed #fe93c2}.leaflet-oldie .leaflet-draw-actions a{background-color:#999}.leaflet-oldie .leaflet-draw-actions a:hover{background-color:#a5a5a5}.leaflet-oldie .leaflet-draw-actions-top a{margin-top:1px}.leaflet-oldie .leaflet-draw-actions-bottom a{height:28px;line-height:28px}.leaflet-oldie .leaflet-draw-actions-top.leaflet-draw-actions-bottom a{height:27px;line-height:27px}

.core #profile_tab_content dt,.core #profile_tab_content dd{margin-top:20px}.core .row{margin-left:0}.core [class*="span"]{margin-left:10px}.core .offset1{margin-left:70px}.core .offset3{margin-left:260px}.core .span5{width:420px;height:285px;position:relative}.core .span5 button.btn{bottom:0;right:10px}.core .profile_tab_content{margin-top:10px;padding:0 10px}.core .profile_tab_content form{padding:0 10px}.core .avatar{float:left;margin-right:10px;max-width:80px;margin-top:-15px}.core h1{font-size:25px}.core h2{font-size:20px}.core .help-block{font-size:15px;line-height:20px;margin-bottom:10px}.core #profile_tab_content h2{margin-bottom:0}.core .nav-tabs>li>a{font-size:13px}.core p.help_text{font-size:0.8em}.core #profile_tab_saved_properties_content .saved_property{margin-top:10px}.core a.logout{display:block;position:absolute;top:12px;right:20px}.core .nav-tabs>.active>a,.nav-tabs>.active>a:hover{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background-color:#FFFFFF;border-color:#DDDDDD #DDDDDD transparent;border-image:none;border-style:solid;border-width:1px;color:#555555;cursor:default}.row:after{clear:both}.row:before,.row:after{content:"";display:table;line-height:0}.row:before,.row:after{content:"";display:table;line-height:0}.core .row{margin-left:0}.core .nav-tabs{border-bottom:1px solid #DDDDDD}.core .nav-tabs>li,.core .nav-pills>li{float:left;list-style:none;line-height:20px}.core .nav-tabs>li>a{border:1px solid transparent;border-radius:4px 4px 0 0;line-height:20px;padding-bottom:8px;padding-top:8px}.core .nav-tabs>li>a,.core .nav-pills>li>a{line-height:14px;margin-right:2px;padding-left:12px;padding-right:12px}.core .nav>li>a{display:block}.piped *{margin:0 8px 0 0;list-style:none;display:inline}.piped{display:block;margin:0}.piped a,.piped span{float:left;padding:2px 8px;border-right:1px solid #888;padding:0 8px 0 0}.piped a.orange{border-right:1px solid #F79239}.piped li.last a{border-right:none}#draggable_map_view{min-width:300px;min-height:200px}.core .right{float:right}.core .left{float:left}.core .input-mini{width:94px}.core img.avatar{border:none}#profile_first_name{margin-right:4px}.core .alert_settings{width:450px}.core .alert_settings select{font-size:0.8em;width:130px;height:25px;line-height:25px;padding:3px 6px}.core .bold{font-weight:bold}div#colorbox.not-live #cboxLoadedContent{min-height:300px}div#not_live{padding:20px}div#colorbox.dam_disabled #cboxLoadedContent{min-height:300px}div#not_live{padding:20px}


.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{-webkit-transition:-webkit-transform 0.3s ease-out, opacity 0.3s ease-in;-moz-transition:-moz-transform 0.3s ease-out, opacity 0.3s ease-in;-o-transition:-o-transform 0.3s ease-out, opacity 0.3s ease-in;transition:transform 0.3s ease-out, opacity 0.3s ease-in}.leaflet-cluster-spider-leg{-webkit-transition:-webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;-moz-transition:-moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;-o-transition:-o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;transition:stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in}

.marker-cluster-small{background-color:rgba(181,226,140,0.6)}.marker-cluster-small div{background-color:rgba(110,204,57,0.6)}.marker-cluster-medium{background-color:rgba(241,211,87,0.6)}.marker-cluster-medium div{background-color:rgba(240,194,12,0.6)}.marker-cluster-large{background-color:rgba(253,156,115,0.6)}.marker-cluster-large div{background-color:rgba(241,128,23,0.6)}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{width:30px;height:30px;margin-left:5px;margin-top:5px;text-align:center;border-radius:15px;font:12px "Helvetica Neue", Arial, Helvetica, sans-serif}.marker-cluster span{line-height:30px}

#valuation-modal-background{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,0.6);z-index:99999}#valuation-section{position:fixed;background-color:white;top:5%;bottom:5%;width:60%;left:20%;right:20%;overflow-y:auto;z-index:2000}#valuation-section .optin_container__opt_in_marketing input[type=checkbox],#valuation-section .optin_container__account_confirmation_status input[type=checkbox],#valuation-section .optin_container__opt_in_terms input[type=checkbox]{display:inline;width:3%;height:16px}@media (max-width: 768px){#valuation-modal-background,#valuation-section{position:fixed}}.valuations-modal-back{position:absolute;top:2px;left:6px;font-size:16px;cursor:pointer;font-weight:bold;margin-top:5px;margin-left:4px}.valuations-modal-back p{font-size:14px}#valuation_not-found-message{width:50%;margin:20px auto;text-align:center}#valuation-section input[type=checkbox]{display:none}#valuation-section input[type=checkbox]+label{display:inline-block;padding:0 0 0 0;position:relative}#valuation-section input[type=checkbox]+label img{box-sizing:border-box;border:solid transparent 5px}#valuation-section input[type=checkbox]:checked+label img{box-sizing:border-box;border:solid black 5px}#valuation-section input[type=checkbox]:checked+label::before{content:"";position:absolute;top:0;left:0;background-color:rgba(255,255,255,0.2)}#valuation-section input[type=checkbox]:checked+label::before{background-color:transparent;content:"";box-sizing:border-box}#valuation-section .similar-property label{display:inline-block}#valuation-section .similar-property label img{pointer-events:none}#valuation-section label p{padding-left:5px;padding-right:5px}#valuation-section .similar-property img{max-width:100%}#valuation-section .agency-logo,.result-container .agency-logo{display:block;margin:50px auto 20px;max-height:130px}#valuation-section .top h2{text-align:center;margin-bottom:0}#valuation-section .top h3{font-size:1.25rem;font-weight:normal;text-align:center;margin-top:-5px}#valuation-section #first-address-form{width:50%;margin:0 auto}#valuation-section select option{margin-top:35px}#valuation-section #first-address-form input{box-sizing:border-box;width:100%;height:40px;line-height:32px;margin:5px 0}#valuation-section #first-address-form .postcode-input{border:1px solid #cccccc}#valuation-section #first-address-form select,#valuation-section .personal-details-container select{width:100%;padding:10px;height:40px;margin:5px 0;color:gray}#valuation-section #first-address-form select option,#valuation-section .personal-details-container select option{width:100%;height:100%;color:#555555}#valuation-section #similar-properties{border:none}#valuation-section #similar-properties-form{width:88%;margin:20px auto}#valuation-section .get-valuation-button{text-align:center}#valuation-section #similar-properties-form input[type="submit"]{width:250px;padding:10px}#valuation-section .personal-details-container{width:60%;margin:50px auto;text-align:center}#valuation-section .personal-details-container input{box-sizing:border-box;width:100%;height:40px;line-height:32px;margin:5px 0}#valuation-section .personal-details-container #valuation_email{width:100%}#valuation-section .personal-details-container #valuation_first_name,#valuation-section .personal-details-container #valuation_last_name{width:49.5%}#valuation-section .result-container{width:70%;margin:0 auto;text-align:center}#spinner-background{position:fixed;background-color:rgba(255,255,255,0.7);top:100px;bottom:20%;width:60%;left:20%;right:20%;border-radius:10px;z-index:2000}#spinner-background .loader,#spinner-background .loader:before,#spinner-background .loader:after{-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}#spinner-background .loader:before,#spinner-background .loader:after{position:absolute;top:0;content:''}#spinner-background .loader:before{left:-1.5em;-webkit-animation-delay:-0.32s;animation-delay:-0.32s}#spinner-background .loader{text-indent:-9999em;margin:250px auto;position:relative;font-size:11px;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-0.16s;animation-delay:-0.16s}#spinner-background .loader:after{left:1.5em}@-webkit-keyframes load1{0%,
  80%,
  100%{box-shadow:0 0;height:4em}40%{box-shadow:0 -2em;height:5em}}@keyframes load1{0%,
  80%,
  100%{box-shadow:0 0;height:4em}40%{box-shadow:0 -2em;height:5em}}#valuation-section #similar-properties{border:none}#valuation-section .val-box{display:inline-block}#valuation-section #price_1{font-size:3rem;margin:20px 50px;background-color:white}#valuation-section #valuation-wrapper{margin-top:10px;margin-bottom:20px}#valuation-section #no_results,#valuation-section #property_expert{margin:20px 0px}#valuation-section .valuations-modal-close{float:right;cursor:pointer;margin-right:10px;margin-top:10px;font-size:1.5rem}#valuation-section .valuations-modal-close img{width:20px;height:20px}#valuation-section .sell-let-switch{margin:0 auto;text-align:center;font-size:1.25rem;clear:both}#valuation-section .sell-switch,#valuation-section .let-switch{display:inline-block;padding:8px;width:120px;border-radius:10px;cursor:pointer}#valuation-section .sell-let-switch .active{color:white;cursor:auto}#valuation-section .sell-switch{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-6px}#valuation-section .let-switch{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}#valuation-section #valuation-map .leaflet-control-container,#valuation-section #valuation-map-no-streetview .leaflet-control-container{display:block}#valuation-section #valuation-details{margin-top:40px}#valuation-section #valuation-details #address-container{-webkit-text-transform:uppercase;-moz-text-transform:uppercase;text-transform:uppercase}#valuation-section #valuation-map,#valuation-section #valuation-map-no-streetview{height:350px;display:inline-block;width:50%}#valuation-section #valuation-map{float:left}#valuation-section #streetview-wrapper{height:350px;overflow:hidden;display:inline-block;width:50%;float:left}#valuation-section #streetview-wrapper .streetview-image{width:100%;height:100%;object-fit:fill}#valuation-section .recently-sold{margin-top:30px}#valuation-section #recently-sold-list{list-style:none;text-align:left;width:80%;margin:10px auto}#valuation-section #recently-sold-list li{padding:5px}#valuation-section .comparable-property-price{float:right}#valuation-section .similar-property{width:33.33333%}#valuation-section .leaflet-popup-content-wrapper{background-color:white}#valuation-section .leaflet-popup-content-wrapper .leaflet-popup-content{color:black;margin:4px 16px}#valuation-section .leaflet-popup-close-button{display:none}#valuation-section #min-valuation,#valuation-section #max-valuation{font-size:18px}#valuation-section .valuation_terms_and_conditions{margin-top:4px}.similar-properties-top{text-align:center}#valuation-section .similar-properties-top h4{font-size:1.25rem;font-weight:normal;text-align:center;margin-top:-5px}#valuation-section label p{font-size:14px}#valuation-section .similar-property{min-height:290px}.valuation_start_again{text-align:center;margin:20px 0px;cursor:pointer;display:none}.calendar-modal-close{position:relative;top:5px;right:5px;width:23px}.fc-next-button{margin-right:15px !important}@media (min-width: 768px){#valuation-section #recently-sold-list li{padding:5px;width:50%;display:inline-block}.comparable-property-price{float:right;font-weight:bold;margin-left:5px;text-decoration:underline}}@media (max-width: 1600px){#valuation-section .similar-property{min-height:230px}}@media (max-width: 1024px){#valuation-section #price_1{margin:20px 16px}}@media (max-width: 916px){#valuation-section #price_1{margin:20px 3px;font-size:2rem}}@media (max-width: 768px){#valuation-section{width:100%;height:100%;top:0;right:0;left:0;bottom:0;border-radius:0}#valuation-section .similar-property{width:50%}#spinner-background{top:0;left:0;right:0;bottom:0;width:100%}#valuation-section #recently-sold-list{width:90%}#valuation-section #price_1{margin:20px 16px}#valuation-section #streetview-image{max-width:125%}#valuation-section .val-box{display:block;min-height:40px}#valuation-section #valuation-details{margin-top:15px}}@media (max-width: 415px){#valuation-section{width:100%;height:100%;border-radius:0;top:0;left:0;right:0;bottom:0}#valuation-section #first-address-form{width:80%}#valuation-section .personal-details-container{width:95%;margin-top:10px}#valuation-section .personal-details-container #valuation_first_name,#valuation-section .personal-details-container #valuation_last_name{width:49%}#valuation-section .similar-property{width:100%}#valuation-section .result-container{width:100%}#valuation-section #streetview-wrapper{width:100%}#valuation-section #streetview-image{width:100%}#valuation-section #valuation-map,#valuation-section #valuation-map-no-streetview{width:100%}#valuation-section .agency-logo{margin-top:5px;max-height:150px}#valuation-section .valuations-modal-close{position:absolute;right:0;top:-3px}#spinner-background{top:0;left:0;right:0;bottom:0;width:100%}#valuation-section #recently-sold-list{width:100%}#valuation-section #valuation-details{margin-top:20px}#valuation-section #price_1{margin:0 auto}#valuation-section .top h3{line-height:1.25rem}#valuation-section .top h2{margin-bottom:12px}#valuation-section .valuations-modal-back{margin-top:2px}.similar-properties-top h3{margin-top:30px}}

@media screen and (min-width: 768px){iframe[src^="https://www.google.com/recaptcha"]{bottom:10px}}.hidden{display:none}img[src^="http://maps.gstatic.com/"]{max-width:none}#pano img{border:none !important;max-width:none !important}#streetview_map img{max-width:none}#street-view img,#streetview img,#streetview_map img,#gmap img,#property-streetview img{max-width:none !important}table.bubbletip{z-index:50000}.ui-autocomplete{position:absolute;top:100%;left:0;z-index:99000 !important;float:left;display:none;min-width:160px;_width:160px;padding:4px 0;padding-left:5px;margin:2px 0 0 0;list-style:none;background-color:#ffffff;border-color:#ccc;border-color:rgba(0,0,0,0.2);border-style:solid;border-width:1px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;*border-right-width:2px;*border-bottom-width:2px}#shortlist div img{float:left;height:50px;margin:4px 0 10px;width:67px}#shortlist img.remove_icon{cursor:pointer;display:none;max-height:18px;max-width:18px;position:absolute;right:0;top:0}body .property_row{position:relative}body img.property-status{position:absolute;top:0;left:0;z-index:1000}div.property-photos{position:relative}#recaptcha_send_to_friend #recaptcha_area,#recaptcha_table{width:475px !important}#recaptcha_widget_div{clear:both}#recaptcha_area,#recaptcha_table{height:128px;overflow:hidden;width:318px !important}.recaptcha_only_if_privacy{display:none}.alert-error span{font-size:14px;font:400 16px/24px 'Raleway', sans-serif}#print_icon{max-width:13px}.confirm_account--set-password,.sessions--login{margin-right:auto;margin-left:auto;width:40%}.confirm_account--inner{margin-bottom:50px}.sessions--login_button{margin-top:20px}

/* Radar Homes refresh: the whole stylesheet for the redesigned theme.
   Loaded through config.yml asset_packs, after Ctesius core CSS (Leaflet, Leaflet.draw, profile)
   and before the cookie-consent CSS. bundle.lcss and radar.lcss are no longer loaded.
   Ctesius runs this file through Liquid: the one Liquid output, in section 2, sets --brand.
   Avoid other Liquid delimiters here (including in comments).

   Sections
    1  Tokens (static values are the approved Radar palette)
    2  Brand palette (tokens derived from the admin primary colour)
    3  Base and utilities
    4  Logo, header, slide-in menu
    5  Buttons, segmented toggles, chips, tags
    6  Forms
    7  Search panel and home
    8  Photos and carousels
    9  Property cards and result rows
   10  Results page, map view, Leaflet pins and popups (all maps)
   11  Pagination, panels, sidebar, contact block
   12  Property page and photo gallery
   13  Content, branch, agency and staff pages
   14  Footer
   15  Account panel
   16  Modals, alerts, cookie banner
   17  Responsive
   18  Image logos
   19  Reduced motion
   20  For agents and About us pages */

/* ---------- 1. Tokens ---------- */
:root {
  /* Pale green-grey surfaces */
  --page: #f6f7f5;
  --paper: #ffffff;
  --mist: #eff1ed;
  --sage-50: #e8ece5;
  --sage-100: #dce2d8;
  --rule: #dfe3dc;
  --rule-strong: #c7cec3;

  /* Greens */
  --leaf: #6f9e63;
  --fern: #2f5a37;
  --forest: #23402b;
  --forest-hover: var(--fern);

  /* Text. --muted is the lightest colour used for text (5.6:1 on white) */
  --ink: #1d2620;
  --ink-soft: #3c473e;
  --muted: #5f6b60;

  /* Details that follow the palette */
  --field-hover: #a9b5a4;
  --photo-ink: #9fb09a;
  --photo-a: #e3ebdf; --photo-b: #d3dfcd; --photo-c: #c9d7c3;
  --avatar-a: #d9e3d4; --avatar-b: #c4d3be;
  --flash: #c9d3a4;
  /* Leaflet (OpenStreetMap) tiles; refresh.js turns the hue-rotate to the brand */
  /* How much of the brand tint the map tiles take: 1 full tint, 0 the map's own colours. Try values here;
     refresh.js builds --map-filter from it. */
  --map-tint: .3;
  --map-filter: grayscale(.3) sepia(.075) hue-rotate(14deg) saturate(.88) brightness(1.018) contrast(.97);
  /* the full brand tint, kept for the home page's draw-a-map picture */
  --map-filter-full: grayscale(1) sepia(.25) hue-rotate(45deg) saturate(.6) brightness(1.06) contrast(.9);
  /* Select arrow in --fern; refresh.js redraws it for other brands (a data URI needs a literal colour) */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232f5a37' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");

  /* Ink at low alpha, for shadows and scrims */
  --ink-05: rgba(29, 38, 32, .05);
  --ink-06: rgba(29, 38, 32, .06);
  --ink-07: rgba(29, 38, 32, .07);
  --ink-12: rgba(29, 38, 32, .12);
  --ink-32: rgba(29, 38, 32, .32);
  --ink-45: rgba(29, 38, 32, .45);

  /* Status (fixed: not derived from the brand) */
  --clay: #f3e1d6;
  --clay-rule: #ead0c1;
  --clay-ink: #6b3a22;
  --error: #a3341f;
  /* Saved state (saved search, saved property): clay fill, red-brown rim, red ink (5.4:1 on --clay) */
  --clay-rim: #c98a6d;
  --clay-red: #a3341f;

  /* Type */
  --serif: "Newsreader", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem; --fs-sm: 0.875rem; --fs-md: 1rem; --fs-lg: 1.25rem; --fs-xl: 1.75rem; --fs-xxl: 2.75rem;
  --fs-h1: 2.25rem;     /* page and property headings */
  --fs-h1-sm: 1.85rem;  /* the same below 768px */

  /* Shape, shadow and space */
  --r-xs: 3px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-pill: 999px;
  --shadow: 0 1px 2px var(--ink-06), 0 4px 16px var(--ink-06);
  --shadow-xs: 0 1px 2px var(--ink-12);
  --photo-rim: 0 0 0 1px var(--rule-strong), 0 2px 4px var(--ink-05), 0 6px 18px var(--ink-07);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --max: 1200px;
  --header-h: 72px;

  /* Stacking, lowest to highest. Leaflet's own panes and controls use 400 to 1000 inside the map. */
  --z-header: 20;
  --z-sticky: 30;     /* results filter strip */
  --z-scrim: 90;      /* behind the slide-in menu */
  --z-menu: 100;
  --z-gallery: 150;
  --z-modal: 160;
  --z-popover: 200;   /* location autocomplete */
}

/* ---------- 2. Brand palette ----------
   Every brand token follows the site's primary colour (Homeflow admin, theme preferences).
   Each keeps the OKLCH lightness and chroma of its approved Radar value, at a fixed hue offset
   from the brand; the strong colours (leaf, fern, forest) scale chroma with the brand, capped.
   The numbers are fitted so #7BB075 (hue 142.0) reproduces the static values in section 1 to within 1/255;
   with Bristol's #FC0000 they give a pale grey-red palette.
   Browsers without relative colour syntax keep the static Radar values. */
:root { --brand: #7BB075; }
@supports (color: oklch(from red l c h)) {
  :root {
    --page: oklch(from var(--brand) 0.975 0.0028 calc(h - 13.5));
    --mist: oklch(from var(--brand) 0.956 0.0057 calc(h - 13.5));
    --sage-50: oklch(from var(--brand) 0.938 0.0102 calc(h - 10.6));
    --sage-100: oklch(from var(--brand) 0.905 0.0149 calc(h - 9.5));
    --rule: oklch(from var(--brand) 0.911 0.0103 calc(h - 10.6));
    --rule-strong: oklch(from var(--brand) 0.843 0.0169 calc(h - 8.2));
    --leaf: oklch(from var(--brand) 0.65 min(calc(c * 0.979), 0.16) calc(h - 2.6));
    --fern: oklch(from var(--brand) 0.426 min(calc(c * 0.744), 0.15) calc(h + 6.5));
    --forest: oklch(from var(--brand) 0.342 min(calc(c * 0.505), 0.13) calc(h + 9.8));
    --ink: oklch(from var(--brand) 0.258 0.0170 calc(h + 13.8));
    --ink-soft: oklch(from var(--brand) 0.385 0.0208 calc(h + 8.6));
    --muted: oklch(from var(--brand) 0.514 0.0225 calc(h + 5.6));
    --field-hover: oklch(from var(--brand) 0.759 0.0273 calc(h - 5.6));
    --photo-ink: oklch(from var(--brand) 0.738 0.0364 calc(h - 3.4));
    --photo-a: oklch(from var(--brand) 0.931 0.0181 calc(h - 7.1));
    --photo-b: oklch(from var(--brand) 0.89 0.0275 calc(h - 7.0));
    --photo-c: oklch(from var(--brand) 0.863 0.0311 calc(h - 5.8));
    --avatar-a: oklch(from var(--brand) 0.904 0.0228 calc(h - 7.0));
    --avatar-b: oklch(from var(--brand) 0.85 0.0329 calc(h - 5.4));
    --flash: oklch(from var(--brand) 0.847 0.0637 calc(h - 24.5));
    --ink-05: oklch(from var(--ink) l c h / .05);
    --ink-06: oklch(from var(--ink) l c h / .06);
    --ink-07: oklch(from var(--ink) l c h / .07);
    --ink-12: oklch(from var(--ink) l c h / .12);
    --ink-32: oklch(from var(--ink) l c h / .32);
    --ink-45: oklch(from var(--ink) l c h / .45);
  }
}

/* ---------- 3. Base and utilities ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: var(--fs-md); line-height: 1.6; color: var(--ink-soft); background: var(--page); -webkit-font-smoothing: antialiased; }
main { display: block; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 var(--s3); line-height: 1.15; }
h1, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-xl); }
h2 { font-family: var(--serif); font-weight: 500; font-size: var(--fs-lg); }
h3, h4 { font-family: var(--sans); font-size: var(--fs-md); font-weight: 600; }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0 0 var(--s4); }
a { color: var(--fern); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--fern); outline-offset: 2px; }
/* Sections that refresh.js focuses after scrolling to them (tabindex -1) are not controls: no ring */
[tabindex="-1"]:focus-visible { outline: 0; }
img { max-width: 100%; display: block; border: 0; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s5) 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
blockquote { margin: 0; }
svg { flex: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--s5); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.dot-list { display: flex; flex-wrap: wrap; gap: 0 var(--s2); }
.dot-list > * + *::before { content: "\00B7"; margin-right: var(--s2); color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin: 0; }
/* Core CSS adds clearfix pseudo-elements to .row; in a flex row they become empty items and shift the content */
.row::before, .row::after { content: none !important; display: none !important; }
.hidden, .hide { display: none !important; }
[hidden] { display: none !important; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* Display utilities: !important so they beat component display rules, as in Bootstrap */
.d-none { display: none !important; }
@media (min-width: 576px) { .d-sm-inline { display: inline !important; } }
.clearfix::after, .intro-panel::after { content: ""; display: table; clear: both; }
.flush { margin: 0; }
.status-hidden { display: none; }

/* ---------- 4. Logo, header, slide-in menu ---------- */
/* Logo: lower-case wordmark, "homes" in leaf green */
.logo { display: inline-flex; align-items: flex-end; text-decoration: none; color: var(--ink); font-family: var(--sans);
  font-weight: 700; font-size: 1.6rem; letter-spacing: -0.035em; line-height: 1; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo .homes { color: var(--leaf); font-weight: 600; }

/* Header (not sticky) */
.site-header { height: var(--header-h); background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: var(--z-header); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s7); }
.site-header .logo { position: relative; top: -1px; }
.main-nav { display: flex; gap: var(--s5); align-items: baseline; }
.main-nav a { text-decoration: none; color: var(--ink-soft); font-size: var(--fs-md); font-weight: 500; line-height: 1; padding: 6px 0; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.main-nav a:hover { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--rule-strong); }
.main-nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--ink-soft); }
.header-actions { margin-left: auto; display: flex; gap: var(--s2); align-items: center; }
.header-actions > span { display: inline-flex; }
.icon-btn { width: 46px; height: 46px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--ink-soft); cursor: pointer; padding: 0; }
.icon-btn:hover { background: var(--mist); color: var(--ink); }
.icon-btn svg { width: 25px; height: 25px; }

/* Slide-in account / menu panel */
.mega-menu-fader-bg { position: fixed; inset: 0; background: var(--ink-32); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: var(--z-scrim); }
.mega-menu-fader-bg.active { opacity: 1; pointer-events: auto; }
.mega-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--page); z-index: var(--z-menu); box-shadow: -8px 0 32px var(--ink-12);
  transform: translateX(105%); transition: transform .25s ease; display: flex; flex-direction: column; visibility: hidden; }
.mega-menu.mega-menu-scrolled { transform: none; visibility: visible; }
.mega-top-bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--s4) 0 var(--s5); background: var(--paper); border-bottom: 1px solid var(--rule); flex: none; }
.mega-top-bar .logo { font-size: 1.4rem; }
.mega-menu-content { overflow-y: auto; padding: var(--s5); flex: 1; }
.mega-menu-pane { display: none; }
.main-menu-content { list-style: none; margin: 0; padding: 0; }
.main-menu-content li { border-bottom: 1px solid var(--rule); }
.main-menu-content a { display: block; padding: var(--s4) 0; font-size: var(--fs-lg); font-weight: 600; color: var(--ink); text-decoration: none; }
.main-menu-content a:hover { color: var(--fern); }

/* ---------- 5. Buttons, segmented toggles, chips, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s5);
  font: 600 var(--fs-sm)/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; border-radius: var(--r-sm); white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn-primary, .js-user-profile-body button[type="submit"] { background: var(--forest); color: #fff; }
.btn-primary:hover, .btn-primary:focus, .js-user-profile-body button[type="submit"]:hover { background: var(--forest-hover); color: #fff; }
.btn-tonal { background: var(--sage-50); color: var(--fern); }
.btn-tonal:hover { background: var(--sage-100); color: var(--forest); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { background: var(--mist); color: var(--ink); }
.btn-sm { min-height: 36px; padding: 0 var(--s4); }
.btn-block { width: 100%; }
.btn.disabled, .btn:disabled { opacity: .55; cursor: not-allowed; }
.btn[aria-pressed="true"] { background: var(--sage-50); border-color: var(--sage-100); color: var(--fern); }
/* Saved state: the saved search button, the property page Save button, result card hearts and links
   all share one clay accent, so "saved" reads the same everywhere */
#saved_search_btn[aria-pressed="true"], .media-row .btn-secondary[aria-pressed="true"], .fav[aria-pressed="true"] {
  background: var(--clay); border-color: var(--clay-rim); color: var(--clay-red); }
.media-row .btn-secondary[aria-pressed="true"] svg, .fav[aria-pressed="true"] svg, .save-link[aria-pressed="true"] svg { fill: currentColor; }
.fav[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--clay-rim); }
.save-link[aria-pressed="true"] svg { color: var(--clay-red); }
/* Theme markup that still uses the old .form-control class on buttons */
button.form-control, .btn.form-control { width: 100%; }

/* Segmented toggle (Buy / Rent, List / Map, page sections); the account panel tabs share its look */
.segmented, .profile-tabs ul { background: var(--sage-50); border-radius: var(--r-sm); padding: 3px; gap: 2px; }
.segmented { display: inline-flex; height: 40px; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmented a, .segmented button, .profile-tabs a { align-items: center; font: 600 var(--fs-sm)/1 var(--sans); color: var(--fern); border-radius: var(--r-xs); text-decoration: none; white-space: nowrap; }
.segmented a, .segmented button { display: inline-flex; padding: 0 var(--s4); background: none; border: 0; cursor: pointer; }
.segmented a:hover, .segmented button:hover { color: var(--forest); }
.segmented [aria-pressed="true"], .segmented [aria-current="true"], .segmented .active, .profile-tabs li.active a,
.channel-toggle button:not(.btn-unselected) { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-xs); }
.channel-toggle button.btn-unselected { background: none; color: var(--fern); box-shadow: none; }
/* These containers clip overflow, so their items draw the focus ring inside */
.segmented :focus-visible, .profile-tabs a:focus-visible { outline-offset: -2px; }

/* Filter chips */
.chips { display: flex; gap: var(--s2); flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--rule);
  background: var(--paper); color: var(--ink); font: 500 var(--fs-sm)/1 var(--sans); cursor: pointer; text-decoration: none; margin: 0; }
.chip:hover { background: var(--mist); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input { accent-color: var(--forest); margin: 0; width: 15px; height: 15px; }
.chip-check:has(input:checked) { border-color: var(--sage-100); background: var(--sage-50); color: var(--forest); }

/* Tags */
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: var(--sage-50); color: var(--fern); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.tag-offer { background: var(--clay); color: var(--clay-ink); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- 6. Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); }
.req { color: var(--muted); margin-left: 3px; font-weight: 400; }
.input, .select, .textarea, .form-control,
.profile-body input[type="text"], .profile-body input[type="email"], .profile-body input[type="password"], .profile-body select,
.modal input[type="text"], .modal input[type="email"], .modal textarea {
  display: block; width: 100%; min-height: 46px; padding: 0 14px; font: 400 var(--fs-md) var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r-sm); -webkit-appearance: none; appearance: none; margin: 0; }
/* Placeholders and an unchosen dropdown use --muted, the lightest colour that keeps 4.5:1 on white */
.input::placeholder, .textarea::placeholder, .form-control::placeholder { color: var(--muted); opacity: 1; }
.textarea, textarea.form-control, .modal textarea { padding: 12px 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
.select, select.form-control, .profile-body select { padding-right: 38px; background-image: var(--arrow); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.input:hover, .select:hover, .textarea:hover, .form-control:hover { border-color: var(--field-hover); }
/* Focus: a 2px fern ring (over the border and 1px out) inside the soft sage halo */
.input:focus, .select:focus, .textarea:focus, .form-control:focus { border-color: var(--fern); outline: 2px solid var(--fern); outline-offset: -1px; box-shadow: 0 0 0 4px var(--sage-100); }
.select:has(option[value=""]:checked), select.form-control:has(option[value=""]:checked) { color: var(--muted); }
.select option { color: var(--ink); }
.input:user-invalid, .textarea:user-invalid { border-color: var(--error); }
.help-block:empty { color: var(--error); font-size: var(--fs-xs); }
.check, .opt_in_box label { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-soft); cursor: pointer; font-weight: 400; margin: 0; }
.check input, .opt_in_box input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--forest); flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-grid .full { grid-column: 1 / -1; }
.help { font-size: var(--fs-xs); color: var(--muted); margin: var(--s2) 0 0; }
.consent { display: grid; gap: var(--s3); }
/* The agent's Homeflow Valuations button, moved by refresh.js from its floating corner into the agent panel.
   Its colours stay the agent's (inline styles set by the widget); the shape follows ours. */
.valuation-slot { margin-top: var(--s4); }
/* id outranks the widget's own .open-valuation-button.desktop rules, which load after this file */
.valuation-slot #open-valuation.open-valuation-button { position: static !important; inset: auto !important; transform: none !important; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 0; padding: 0 var(--s4); border: 0; border-radius: var(--r-sm); font: 600 var(--fs-sm)/1.2 var(--sans); cursor: pointer; box-shadow: none; }
.form-grid + .consent { margin-top: var(--s5); } /* ticks after the field grid (branch, staff, results forms) get a full step, not the grid's own gap */
.opt_in_box { margin: 0; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin-top: var(--s5); flex-wrap: wrap; }
.form-foot .btn { margin-left: auto; }
.form-foot .check { flex: 1 1 320px; }
#form_error:empty { display: none; }
#form_error { color: var(--error); font-size: var(--fs-sm); margin-bottom: var(--s3); }

/* Search box with icon */
.search-input { position: relative; }
.search-input > svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; z-index: 1; }
.search-input .input { padding-left: 42px; }
.search-input:has(.locate-tip) .input { padding-right: 46px; }
.tip.locate-tip { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); z-index: 2; }
.locate-btn { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--fern); cursor: pointer; }
.locate-btn:hover { background: var(--sage-50); color: var(--forest); }
.locate-btn svg { width: 20px; height: 20px; }
.locate-btn[aria-busy="true"], .btn[aria-busy="true"] { cursor: progress; opacity: .7; }
/* "Use my location" status line (refresh.js), shown only while it has something to say */
.locate-msg { margin: var(--s2) 0 0; font-size: var(--fs-sm); color: inherit; }
.locate-msg:empty { display: none; }

/* Tooltip: a small bubble with a notch above a control, on hover or keyboard focus.
   Wrap the control in .tip; the text goes in .tip-bubble (role="tooltip", tied by aria-describedby). */
.tip { position: relative; display: inline-flex; }
.tip-bubble { position: absolute; bottom: calc(100% + 10px); left: 50%; z-index: var(--z-popover); width: max-content; max-width: 240px; padding: 7px 12px; border-radius: var(--r-sm); background: var(--forest); color: #fff; font-size: var(--fs-xs); font-weight: 500; line-height: 1.35; box-shadow: var(--shadow-xs); pointer-events: none; opacity: 0; transform: translate(-50%, 4px); transition: opacity .16s ease, transform .16s ease; }
.tip-bubble::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--forest); }
.tip:hover .tip-bubble, .tip:focus-within .tip-bubble { opacity: 1; transform: translate(-50%, 0); transition-delay: .25s; }
@media (hover: none) { .tip-bubble { display: none; } }

/* Location autocomplete (jQuery UI from Ctesius) */
.ui-autocomplete { position: absolute; z-index: var(--z-popover); list-style: none; margin: 4px 0 0; padding: 4px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow); max-height: 320px; overflow-y: auto; font-size: var(--fs-sm); }
.ui-autocomplete li, .ui-autocomplete .ui-menu-item { list-style: none; }
.ui-autocomplete a, .ui-autocomplete .ui-menu-item-wrapper { display: block; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; cursor: pointer; }
.ui-autocomplete .ui-state-focus, .ui-autocomplete .ui-state-active, .ui-autocomplete a:hover { background: var(--sage-50); border: 0; margin: 0; color: var(--ink); }
/* jQuery UI's live region for screen readers: hidden visually only */
.ui-helper-hidden-accessible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 7. Search panel and home ---------- */
.search-panel { background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow); padding: var(--s5); }
.search-panel .segmented { margin-bottom: var(--s4); }
.search-bar { display: grid; grid-template-columns: 2.8fr 0.9fr 0.9fr 1fr 0.75fr auto; /* location, min, max, type, beds: room for the location text beside the target button */ gap: var(--s3); align-items: end; }
.search-bar .btn-search { min-height: 46px; }
.search-extras { display: flex; align-items: center; gap: var(--s5); margin-top: var(--s4); flex-wrap: wrap; }

/* Home */
.hero { position: relative; isolation: isolate; padding: var(--s8) 0; background: #1c2326; }
/* Street photo behind the search: in colour but dark, so the white heading and the search panel stand out */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(https://vassets.homeflow-assets.co.uk/radar_refresh/assets/images/home-hero.jpg) center 40% / cover no-repeat; filter: saturate(1.1) brightness(.42) contrast(1.05); }
.hero h1 { font-size: var(--fs-xxl); margin-bottom: var(--s5); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5), 0 0 14px rgba(0,0,0,.45), 0 0 28px rgba(0,0,0,.3); }
.hero .lede { display: none; } /* "Homes for sale and to rent" line, hidden at all widths */
.section-title { font-size: 2rem; }
.drawmap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; padding-top: var(--s8); padding-bottom: var(--s8); }
.drawmap-visual { display: block; aspect-ratio: 4 / 3; background: var(--mist); border-radius: var(--r-md); position: relative; overflow: hidden; box-shadow: var(--photo-rim); }
.drawmap-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--map-filter-full); transition: transform .4s ease; }
.drawmap-visual img.map-baked { filter: none; } /* Radar's picture has the tint in it already, so its green outline stays green */
.drawmap-visual:hover img { transform: scale(1.02); }
/* The places grid keeps a full gap below it when it is the last thing before the footer;
   the experts band then sits closer, so the gap between the two is unchanged */
.places { padding: var(--s7) 0; }
.places .card-grid .card:nth-child(n+9), #home_experts .expert-card:nth-child(n+11) { display: none; } /* home: at most 8 places and 10 experts (the browser template cannot count) */
.band { background: var(--paper); padding: var(--s8) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: var(--s4); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.section-head h2, .section-head .section-title { margin: 0; }
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s4); }
.expert-card { background: var(--page); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.expert-card .person { --avatar-size: 62px; }
/* Logo always above the phone, so cards in a row line up */
.expert-foot { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--rule); }
.expert-agency { display: block; width: 100%; color: var(--ink-soft); font-size: var(--fs-sm); text-decoration: none; }
.expert-agency .agency-logo { height: 60px; max-width: 70%; object-position: left center; }
/* Experts row: one scroll-snap strip, four to a screen on desktop; refresh.js ("Scrolling rows") shows the arrows when it overflows */
.expert-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--s4)) / 4); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.expert-row::-webkit-scrollbar { display: none; }
.expert-row > .expert-card { scroll-snap-align: start; }
.row-nav { display: flex; gap: var(--s2); align-self: center; }
.row-nav[hidden] { display: none; }
.row-btn { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--rule-strong); border-radius: 50%; background: var(--paper); color: var(--fern); cursor: pointer; }
.row-btn:hover:not(:disabled) { border-color: var(--fern); background: var(--sage-50); }
.row-btn:disabled { color: var(--rule-strong); cursor: default; }
.row-btn svg { width: 20px; height: 20px; }

/* ---------- 8. Photos and carousels ---------- */
.photo { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: var(--r-md); color: var(--photo-ink);
  background: linear-gradient(135deg, var(--photo-a) 0%, var(--photo-b) 60%, var(--photo-c) 100%); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .over { position: absolute; display: flex; gap: 6px; z-index: 3; }
.photo .over.tl { top: 10px; left: 10px; }
.photo .over.tr { top: 10px; right: 10px; }
.photo .over.br { bottom: 10px; right: 10px; }
.photo .over.bc { left: 50%; bottom: 10px; transform: translateX(-50%); }
.photo-chip { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .92);
  color: var(--ink); font-size: var(--fs-xs); font-weight: 600; border: 0; }
.photo-chip svg { width: 14px; height: 14px; }
/* No photos yet (includes/_awaiting_photo.liquid): a light panel and a quiet hint, under the overlays */
.awaiting-photo { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--mist); color: var(--muted); font-size: var(--fs-xs); font-weight: 500; }
.awaiting-photo svg { width: 22px; height: 22px; color: var(--photo-ink); }
.mosaic .awaiting-photo { font-size: var(--fs-sm); }
.mosaic .awaiting-photo svg { width: 30px; height: 30px; }
.fav { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); border: 0; display: grid; place-items: center; color: var(--ink); cursor: pointer; padding: 0; }
.fav svg { width: 18px; height: 18px; }
.fav:hover { background: var(--paper); }
/* Saved hearts take the shared clay accent (section 5); keep it on hover */
.fav[aria-pressed="true"]:hover { background: var(--clay); }
.dots { display: flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.dots i.on { background: #fff; }

/* Carousel on result photos. Horizontal swipes go to refresh.js, vertical ones scroll the page;
   images must not start a native drag, which would swallow the swipe. */
.carousel { touch-action: pan-y; }
.carousel img { -webkit-user-drag: none; user-select: none; }
.carousel .track-link, .result .photo .track-link { position: absolute; inset: 0; overflow: hidden; display: block; }
.track-link:focus-visible { outline-offset: -2px; }
.track { display: flex; height: 100%; transition: transform .35s ease; }
.track img { position: static; flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.car-prev, .car-next { position: absolute; top: 0; bottom: 0; width: 38%; border: 0; background: none; cursor: pointer; display: flex; align-items: center; padding: 0 10px; color: #fff; z-index: 2; }
.car-prev { left: 0; justify-content: flex-start; }
.car-next { right: 0; justify-content: flex-end; }
.car-prev svg, .car-next svg { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: rgba(0, 0, 0, .32); opacity: 0; transform: scale(.9); transition: opacity .15s, transform .15s; }
.car-prev:hover svg, .car-next:hover svg, .car-prev:focus-visible svg, .car-next:focus-visible svg { opacity: 1; transform: scale(1); }
/* The buttons fill a clipped photo, so the focus ring goes on the round arrow instead */
.car-prev:focus-visible, .car-next:focus-visible { outline: 0; }
.car-prev:focus-visible svg, .car-next:focus-visible svg { outline: 2px solid #fff; outline-offset: 1px; }
@media (hover: none) { .car-prev svg, .car-next svg { opacity: .85; transform: scale(.85); } }

/* ---------- 9. Property cards and result rows ---------- */
/* Property cards (home) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s6) var(--s5); }
.card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.card .photo { aspect-ratio: 4 / 3; margin-bottom: var(--s2); }
.card .price { color: var(--ink); font-weight: 700; font-size: 1.0625rem; }
.card .address { color: var(--ink-soft); font-size: var(--fs-sm); }
.card .facts { color: var(--muted); font-size: var(--fs-sm); margin-top: auto; padding-top: 2px; }
.card:hover { color: inherit; }
.card:hover .address { text-decoration: underline; }

/* Result rows */
.result { display: grid; grid-template-columns: 320px 1fr; gap: var(--s5); padding: var(--s4); background: var(--paper); border-radius: var(--r-md); border: 1px solid var(--rule); }
.result + .result, .result + .quote + .result { margin-top: var(--s4); }
.result:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); }
.result .photo { aspect-ratio: 4 / 3; align-self: start; }
.result-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.result h2 { font-family: var(--sans); font-size: var(--fs-md); font-weight: 600; margin: 0; letter-spacing: 0; }
.result h2 a { color: var(--ink); text-decoration: none; }
.result h2 a:hover { text-decoration: underline; }
.result .price { font-size: var(--fs-lg); font-weight: 700; color: var(--ink); margin: 0; }
.result .price .fees { font-weight: 400; }
.result .facts { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }
.result .summary { font-size: var(--fs-sm); color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--rule); font-size: var(--fs-sm); flex-wrap: wrap; }
.result-foot .agent-link { color: var(--muted); text-decoration: none; }
.result-foot .agent-link:hover { color: var(--fern); text-decoration: underline; }
.save-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: var(--s2) 0 0; border: 0; background: none; color: var(--fern); font: 500 var(--fs-sm) var(--sans); cursor: pointer; text-decoration: none; }
.save-link svg { width: 16px; height: 16px; }
.save-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.save-link + .result-foot { margin-top: var(--s2); }
.agency-logo { height: 30px; width: auto; max-width: 130px; object-fit: contain; }
.agency-logo-lg { height: 56px; max-width: 180px; }
.quote { margin: var(--s2) 0 0; padding: var(--s3) var(--s4); background: var(--sage-50); border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--ink-soft); }

/* ---------- 10. Results page and map view ---------- */
.results-page { position: relative; }
.filter-strip { background: var(--paper); border-bottom: 1px solid var(--rule); padding: 10px 0; position: sticky; top: 0; z-index: var(--z-sticky); box-shadow: 0 2px 8px var(--ink-05); }
.filter-strip-static { position: relative; }
.refine-form { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.refine-form .refine-location { flex: 1 1 280px; }
.refine-form .agency-name-input { flex: 1 1 240px; width: auto; }
.refine-form .select { width: 140px; flex: 0 1 140px; min-width: 0; text-overflow: ellipsis; padding-left: 12px; padding-right: 32px; background-position: right 12px center; }
/* Sized to their longest usual option ("Within 20 miles", "£1,000,000", "Any beds"). Attribute selectors
   keep these at class weight, so the phone layout's half-width rule in section 17 still wins there. */
.refine-form [id="within"] { width: 172px; flex-basis: 172px; }
.refine-form [name="min_price"], .refine-form [name="max_price"] { width: 124px; flex-basis: 124px; }
.refine-form [name="min_beds"] { width: 118px; flex-basis: 118px; }
.refine-form [name="type"] { width: 132px; flex-basis: 132px; }
.refine-form #searchtype { width: 190px; flex-basis: 190px; }
.filter-strip .input, .filter-strip .select { min-height: 42px; }
.filter-strip .btn { min-height: 42px; }
.results-head { padding: var(--s6) 0 var(--s3); }
.results-head h1 { margin-bottom: var(--s1); }
.results-count { margin: 0; }
.results-chips { margin-bottom: var(--s4); }
.results-toolbar { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; padding: var(--s3) 0 var(--s5); }
.results-toolbar .select { width: auto; min-height: 40px; }
.results-toolbar .btn { min-height: 40px; }
.toolbar-right { gap: var(--s2); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s6); padding-bottom: var(--s5); }
.empty-state h2 { font-family: var(--serif); font-size: var(--fs-lg); }
.pagination-head { margin: 0 0 var(--s3); }

/* Draw-an-area controls moved out of the map into the toolbar (Leaflet.draw) */
.draw-controls { display: none; }
.draw-controls:not(:empty) { gap: var(--s2); align-items: center; }
.is-map-view .draw-controls:not(:empty) { display: inline-flex; }
/* Ctesius moves these out of the map (config draw_controls_container), so Leaflet's .leaflet-touch and
   .leaflet-container rules no longer reach them. The drawamap gem's stylesheet sets width and border-radius
   with !important on the freehand and edit buttons, so those two need !important here too. */
.draw-controls .leaflet-draw-toolbar, .draw-controls .leaflet-draw-section, .draw-controls .leaflet-bar { display: inline-flex; gap: var(--s2); margin: 0; border: 0; box-shadow: none; background: none; position: static; height: auto; }
.draw-controls .leaflet-draw-toolbar a { display: inline-flex; align-items: center; width: auto !important; height: 36px; padding: 0 var(--s4); border-radius: var(--r-sm) !important; border: 0;
  background: var(--sage-50) none; color: var(--fern); text-decoration: none; text-indent: 0; overflow: visible; position: static; margin: 0;
  /* font-size 0 hides Leaflet.draw's own link text; the ::before label below is the visible text */
  font: 600 0/36px var(--sans); }
.draw-controls .leaflet-draw-toolbar a:hover { background: var(--sage-100) none; color: var(--forest); }
.draw-controls .leaflet-draw-toolbar a::before { font-size: var(--fs-sm); line-height: 1; }
.draw-controls .leaflet-control-title { display: none; }
.draw-controls .leaflet-control { float: none; margin: 0; clear: none; }
.draw-controls .leaflet-draw { display: inline-flex; gap: var(--s2); flex-wrap: wrap; }
.draw-controls .leaflet-draw-draw-freehand::before, .draw-controls .leaflet-draw-draw-polygon::before { content: "Draw"; }
.draw-controls .leaflet-draw-edit-edit::before { content: "Edit area"; }
.draw-controls .leaflet-draw-edit-remove::before { content: "Clear"; }
.draw-controls .leaflet-draw-toolbar a.leaflet-disabled { display: none; }
.draw-controls .leaflet-draw-actions { display: inline-flex; list-style: none; margin: 0; padding: 0; gap: var(--s2); position: static; }
/* li a: outranks drawamap's .leaflet-draw-actions li:first-child a / :last-child a (white text, inline-block) */
.draw-controls .leaflet-draw-actions li a { display: inline-flex; align-items: center; height: 36px; padding: 0 var(--s3); background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r-sm); color: var(--ink); font-size: var(--fs-sm); text-decoration: none; }
.draw-controls .leaflet-draw-actions li { list-style: none; }

/* Map view of results: near full screen, controls floating on the map */
.map-view { position: relative; }
.is-map-view .site-footer { margin-top: 0; }
.is-map-view .results-page { height: calc(100vh - var(--header-h)); min-height: 560px; overflow: hidden; }
.is-map-view #togglable_map.map-view { position: absolute; inset: 0; z-index: 1; background: var(--mist); }
.is-map-view #draggable_map_view { position: absolute; inset: 0; }
.is-map-view .filter-strip { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 6; border-radius: var(--r-md); border: 0; box-shadow: var(--shadow); padding: 10px; }
.is-map-view .filter-strip .container { max-width: none; padding: 0; }
/* top clears the floating filter strip: 16px inset + its 62px height (42px controls, 10px padding) + 14px gap */
.is-map-view .results-top { position: absolute; top: 92px; left: 16px; z-index: 6; width: 380px; max-width: calc(100% - 32px); padding: var(--s4) var(--s5);
  background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow); margin: 0; }
.is-map-view .results-head { padding: 0; }
.is-map-view .results-head h1 { font-size: 1.5rem; margin-bottom: 2px; }
.sort-select { width: auto; min-height: 44px; font: 600 var(--fs-sm)/1 var(--sans); color: var(--ink); border-color: var(--rule-strong); } /* toolbar control beside Save search: same type and height as .btn */
.is-map-view .results-chips, .is-map-view .sort-select { display: none; }
.is-map-view .results-toolbar { padding: var(--s3) 0 0; justify-content: flex-start; gap: var(--s3) var(--s2); }
/* Save search gets a row of its own under List/Map and the draw buttons, which leave no room beside them */
.is-map-view .toolbar-right { flex-basis: 100%; }
.is-map-view .toolbar-right .btn { min-height: 36px; padding: 0 var(--s4); }
.is-map-view .save-search-label .d-sm-inline { display: none !important; }
/* Map tiles in the palette's tint (results map and the includes/_leaflet_map maps) */
#draggable_map_view .leaflet-tile-pane, .radar-map .leaflet-tile-pane { filter: var(--map-filter); }
#draggable_map_view.leaflet-container, .radar-map.leaflet-container { font-family: var(--sans); background: var(--mist); }
.leaflet-top.leaflet-left .leaflet-draw { display: none; }
.is-map-view .leaflet-top.leaflet-right { top: auto; bottom: 32px; right: 16px; }
/* Zoom buttons. These selectors outrank Leaflet's (.leaflet-touch .leaflet-bar a, .leaflet-bar a:hover,
   .leaflet-container a), which load earlier, so no !important is needed. */
.leaflet-control-zoom.leaflet-bar { border: 0; border-radius: var(--r-sm); box-shadow: var(--shadow); overflow: hidden; height: auto; width: auto; }
.leaflet-control-zoom.leaflet-bar a { display: block; width: 40px; height: 40px; text-align: center; font: 600 20px/40px var(--sans); color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--rule); border-radius: 0; text-decoration: none; }
.leaflet-control-zoom.leaflet-bar a:hover, .leaflet-control-zoom.leaflet-bar a:focus { color: var(--ink); background: var(--mist); }
.leaflet-control-zoom.leaflet-bar a:last-child { border-bottom: 0; }
.leaflet-container .leaflet-control-attribution { font-size: 11px; background: rgba(255, 255, 255, .85); border-radius: var(--r-xs); color: var(--muted); }
#bannercontainer { display: none; }
/* Price-pill pins */
/* The divIcon has no size (iconSize null): the pill is placed from the marker's anchor point */
.price-pin-icon { background: none; border: 0; width: 0; height: 0; }
.price-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 6px)); display: inline-block; background: var(--paper); color: var(--ink); font: 700 13px/1 var(--sans); padding: 7px 10px;
  border-radius: var(--r-pill); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); white-space: nowrap; cursor: pointer; }
.price-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--paper); }
/* .is-active: the pin whose popup is open (set by refresh.js) */
.price-pin:hover, .price-pin.is-active { background: var(--forest); color: #fff; z-index: 2; }
.price-pin:hover::after, .price-pin.is-active::after { border-top-color: var(--forest); }
/* Leaflet sets each marker's z-index inline */
.leaflet-marker-icon:hover { z-index: 1000 !important; }
/* Pin popup: the photo card */
.leaflet-popup-content-wrapper { padding: 0; border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden; }
/* Leaflet sets the popup content width inline */
.leaflet-popup-content { margin: 0; width: 340px !important; max-width: calc(100vw - 64px); font-family: var(--sans); }
.leaflet-popup-content p { margin: 0; }
.leaflet-popup-tip { box-shadow: none; }
.map-card { display: grid; grid-template-columns: 130px 1fr; text-decoration: none; color: inherit; min-height: 110px; }
.map-card .photo { border-radius: 0; min-height: 110px; }
.map-card .body { padding: var(--s3) var(--s4); font-size: var(--fs-sm); display: flex; flex-direction: column; gap: 2px; }
.map-card .price { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.map-card-address { color: var(--ink); font-weight: 600; line-height: 1.35; }
.map-card:hover .map-card-address { text-decoration: underline; }
.leaflet-container a.leaflet-popup-close-button { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); top: 4px; right: 4px; z-index: 2; }
/* Round pins on the branch, agency and property maps (includes/_leaflet_map.liquid); the divIcon has no
   size, so the dot is centred on the marker's point. .map-dot-me: "Use my location" on the results map */
.map-dot-icon { background: none; border: 0; width: 0; height: 0; }
.map-dot { position: absolute; left: 0; top: 0; width: 22px; height: 22px; box-sizing: border-box; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--forest); border: 4px solid var(--paper); box-shadow: 0 1px 4px var(--ink-32); cursor: pointer; }
.map-dot-me { background: var(--leaf); box-shadow: 0 0 0 6px var(--ink-12); cursor: default; }
/* Branch popups: a plain text link, so the photo-card sizing and white close button above are undone */
.radar-map .leaflet-popup-content { width: auto !important; min-width: 160px; max-width: 260px; }
.map-pin-popup { padding: var(--s3) var(--s6) var(--s3) var(--s4); font-size: var(--fs-sm); line-height: 1.4; }
.map-pin-popup strong { color: var(--ink); }
.radar-map a.leaflet-popup-close-button { color: var(--muted); text-shadow: none; }

/* ---------- 11. Pagination, panels, sidebar, contact block ---------- */
.pagination { display: flex; gap: 6px; align-items: center; justify-content: center; padding: var(--s6) 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 var(--s3); display: inline-grid; place-items: center; text-decoration: none;
  border-radius: var(--r-sm); color: var(--ink); font-size: var(--fs-sm); font-weight: 500; }
.pagination a:hover { background: var(--sage-50); }
.pagination [aria-current="page"] { background: var(--sage-100); color: var(--ink); font-weight: 700; }
.pagination .gap { color: var(--muted); min-width: 24px; padding: 0; }

/* Panels */
.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s5); margin-bottom: var(--s4); }
.panel > h2 { font-family: var(--sans); font-size: var(--fs-md); font-weight: 600; margin-bottom: var(--s4); letter-spacing: 0; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { padding: var(--s2) 0; border-top: 1px solid var(--rule); font-size: var(--fs-sm); }
.panel li:first-child { border-top: 0; padding-top: 0; }
.panel-tint { background: var(--sage-50); border-color: transparent; }
.panel > :first-child, .cms-content > :first-child { margin-top: 0; }
.panel > :last-child, .cms-content > :last-child { margin-bottom: 0; }
.panel-more { margin: var(--s3) 0 0; }
.link-list a { text-decoration: none; color: var(--ink-soft); display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }
.link-list a:hover { color: var(--fern); text-decoration: underline; }
.link-list svg { color: var(--muted); }
/* Avatar beside a name: .person (agents, staff), .person-sm (agent card team), .experts li (home sidebar) */
.person, .person-sm, .experts li { --avatar-size: 52px; display: grid; grid-template-columns: var(--avatar-size) 1fr; gap: var(--s3); align-items: center; }
.person-sm { --avatar-size: 40px; }
.person .avatar, .person-sm .avatar, .experts .avatar { width: var(--avatar-size); height: var(--avatar-size); }
.person { font-size: var(--fs-sm); text-decoration: none; color: var(--ink-soft); line-height: 1.4; }
.avatar { display: block; background: linear-gradient(135deg, var(--avatar-a), var(--avatar-b)); object-fit: cover; border-radius: 50%; }
.person strong { color: var(--ink); display: block; font-size: var(--fs-md); }
.person .muted { display: block; }
a.person:hover strong { text-decoration: underline; }
.person-sm { text-decoration: none; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.35; }
.person-sm strong { display: block; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); }
.person-sm:hover strong { text-decoration: underline; }
.person-sm .muted { display: block; }
.staff-list li { padding: var(--s2) 0; border: 0; }
/* Staff rows set the avatar size on the row, so the links below can line up with the name */
.staff-row { --avatar-size: 40px; }
.staff-row .person-sm { --avatar-size: inherit; }
.staff-row .person-links { margin: 6px 0 0 calc(var(--avatar-size) + var(--s3)); }
#agency-details .staff-row { --avatar-size: 48px; }
/* Local experts sidebar: a thin grey ring like the staff page photo's rim */
.experts li { --avatar-size: 62px; padding: var(--s3) 0; }
.experts .avatar { box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--rule-strong); }
.experts li:first-child { padding-top: 0; }
.experts strong { display: block; color: var(--ink); font-size: var(--fs-md); }
.experts .expert-name { text-decoration: none; }
.experts .expert-name:hover strong { text-decoration: underline; }
.experts .muted { display: block; }
.experts .agency { display: block; color: var(--muted); text-decoration: none; }
.experts .agency:hover { color: var(--fern); text-decoration: underline; }
.logo-box { background: var(--paper); display: inline-flex; align-items: center; justify-content: center; padding: var(--s2); border-radius: var(--r-sm); }
.branch-panel .logo-box { display: flex; justify-content: flex-start; margin-bottom: var(--s3); padding: 0; } /* left aligned, like the other card logos */
/* Branch, agency and My agency panels: a large logo, up to 70% of the panel */
.branch-panel .agency-logo-lg { height: 90px; max-width: 70%; object-position: left center; }
.branch-panel .address { margin-bottom: var(--s3); }
.branch-panel .address a { color: var(--ink); text-decoration: none; }
.branch-panel .btn { margin-top: var(--s2); }
.phones { display: grid; gap: 2px; margin-bottom: var(--s3); }
.phone-line { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.125rem; }
.phone-line .muted { font-weight: 500; font-size: var(--fs-sm); margin-right: 4px; }
/* Agents' social links (includes/_social_links.liquid): solid round icons in the footer's green; a paid feature, so they stand out */
.social-links { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s3); }
.social-links a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fern); color: var(--paper); text-decoration: none; }
.social-links a:hover { background: var(--forest); color: var(--paper); }
/* Agents' own accounts wear each network's colours: they are the agent's brand, not Radar's */
.social-links a.sl-facebook { background: #1877f2; }
.social-links a.sl-linkedin { background: #0a66c2; }
.social-links a.sl-x { background: #000; }
.social-links a.sl-youtube { background: #ff0000; }
.social-links a.sl-instagram { background: #e1306c; }
.social-links a[class^="sl-"]:hover { filter: brightness(.88); }
.social-links svg { width: 18px; height: 18px; }
.person-links a, .result-foot .social-links a { width: 30px; height: 30px; }
.person-links svg, .result-foot .social-links svg { width: 14px; height: 14px; }
.result-foot .social-links { margin: 0; }
#staff_bio .social-links { margin: var(--s4) 0 0; }

/* Shortlist (sidebar) */
.shortlist-list { display: grid; gap: var(--s3); }
.mini_property { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s3); align-items: center; }
.mini_property .mini-photo img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--r-sm); }
.mini_property .mini-text { text-decoration: none; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.35; min-width: 0; }
.mini_property .mini-text strong { display: block; color: var(--ink); }
.mini_property .mini-text span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini_property .mini-text:hover strong { text-decoration: underline; }
.remove_icon { width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--muted); display: grid; place-items: center; padding: 0; }
.remove_icon:hover { background: var(--sage-100); color: var(--ink); }
.remove_icon svg { width: 16px; height: 16px; }

/* Agent card (property page) */
.agent-card { padding: 0; overflow: hidden; }
.agent-card .top { padding: var(--s5); display: grid; gap: var(--s3); }
.agent-card .agent-name { margin: 0; }
.agent-card .agent-name strong { color: var(--ink); font-size: var(--fs-md); }
.agent-card .phone { font-size: 1.5rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.agent-card .phone:hover { color: var(--fern); }
.agent-card .team { padding: var(--s4) var(--s5); border-top: 1px solid var(--rule); }
.agent-card .team-h { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s2); color: var(--ink); letter-spacing: 0; }
.agent-card .team ul { list-style: none; margin: 0 0 var(--s3); padding: 0; }
.agent-card .team li { padding: 6px 0; border: 0; }
/* Team rows (staff/_team_list.liquid) outside the agent card: the branch page's team panel */
.team-list { list-style: none; margin: 0; padding: 0; }
.panel .team-list li { padding: 6px 0; border: 0; }
.agent-card .branch { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s5); font-size: var(--fs-sm);
  text-decoration: none; color: inherit; background: var(--paper); border-top: 1px solid var(--rule); }
.agent-card .branch strong { color: var(--ink); }
.agent-card .branch:hover strong { text-decoration: underline; }
.agent-card .agent-website { display: block; width: auto; margin: 0 var(--s5) var(--s4); }
.agent-card .btn.agent-website { display: flex; }
/* The valuation button sits below the branch address, inset like Request a viewing above it */
.agent-card .valuation-slot { margin: 0; padding: 0 var(--s5) var(--s5); }
.sticky { position: sticky; top: var(--s4); }

/* Contact block */
.contact { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s6); margin-top: var(--s6); }
.contact h2 { margin-bottom: var(--s1); }
.contact > p.small { margin-bottom: var(--s5); }
.contact-tight { margin-top: 0; margin-bottom: var(--s4); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.agents-fieldset legend { margin-bottom: 6px; }
.agent-checks { border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--page); padding: var(--s2) var(--s4); max-height: 260px; overflow: auto; }
.agent-checks:has(.all_agent_list:empty), .agent-checks:has(.agent_list:empty) { display: none; }
.agent-checks .check, .agent-checks label.checkbox { padding: var(--s2) 0; border-top: 1px solid var(--rule); display: flex; gap: 10px; font-size: var(--fs-sm); }
.agent-checks .selected:first-child .check, .agent-checks div:first-child > .check { border-top: 0; }
/* "2 of 2 chosen · Select all · Deselect all" (includes/_agent_picker_controls.liquid): one line of text */
.agent-controls { font-size: var(--fs-sm); }
.agent-controls a { color: var(--fern); }
.agent-controls a.inactive { color: var(--muted); text-decoration: none; pointer-events: none; }
@keyframes flash-in { 0% { background: var(--flash); } 100% { background: var(--paper); } }
.contact.flash { animation: flash-in 4.4s ease-out; } /* every scroll-to-a-form link (data-flash) uses this */
.inline-search { display: flex; gap: var(--s3); align-items: flex-end; flex-wrap: wrap; }
.inline-search .field { flex: 0 1 260px; }
.inline-search .btn { min-height: 46px; }

/* ---------- 12. Property page and photo gallery ---------- */
.prop-bar .container { display: flex; justify-content: space-between; align-items: center; min-height: 56px; gap: var(--s4); font-size: var(--fs-sm); flex-wrap: wrap; }
.prop-bar nav { display: flex; gap: var(--s4); flex-wrap: wrap; }
.prop-bar a, .prop-bar-inline a { text-decoration: none; color: var(--fern); font-weight: 500; }
.prop-bar a:hover, .prop-bar-inline a:hover { text-decoration: underline; }
.prop-bar-inline { font-size: var(--fs-sm); padding: var(--s4) 0 0; }
.prev-next { display: flex; gap: var(--s5); margin-left: auto; }
/* Breadcrumbs (branch and staff pages): Find agents > agency > branch > person. Hidden on phones. */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); list-style: none; margin: 0; padding: 0; }
.crumbs .sep { color: var(--muted); margin-right: var(--s1); } /* the separator is an HTML entity in the markup: a character in this file can be misread, as the CSS is served without a charset */
.crumbs [aria-current="page"] { color: var(--ink-soft); }
.prop-media { min-height: 120px; }
/* Gallery: each photo framed with a grey-green rim and a soft shadow, 10px gutters */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 460px; }
.mosaic .photo { border-radius: var(--r-md); height: 100%; box-shadow: var(--photo-rim); text-decoration: none; }
.mosaic .photo:first-child { grid-row: 1 / 3; }
.mosaic .photo img { transition: transform .4s ease; }
.mosaic a.photo:hover img { transform: scale(1.015); }
.view-all-first { display: none !important; }
.mosaic-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mosaic-1 .photo:first-child { grid-row: auto; }
.mosaic-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.mosaic-2 .photo:first-child { grid-row: auto; }
.mosaic-3 { grid-template-columns: 2fr 1fr; }
.mosaic-4 { grid-template-columns: 2fr 1fr 1fr; }
.mosaic-4 .photo:nth-child(4) { grid-column: 2 / 4; }
.media-pane { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s4); min-height: 460px; display: grid; gap: var(--s4); justify-items: center; align-content: start; }
.media-pane img { max-height: 760px; width: auto; }
.media-pane .pdf_thumb { display: inline-flex; flex-direction: column; gap: var(--s2); align-items: center; font-weight: 600; }
#togglable_streetview.media-pane { padding: 0; overflow: hidden; display: block; }
#streetview { width: 100%; height: 460px; }
.video-frame { position: relative; width: 100%; border-radius: var(--r-md); overflow: hidden; margin-top: var(--s4); }
/* Video embeds arrive with a width attribute or inline width */
.video-frame > iframe, .video-frame > object, .video-frame > embed { display: block; width: 100% !important; height: auto; aspect-ratio: 16 / 9; border: 0; }
#togglable_video .video-frame { margin: 0; }
.media-row { display: flex; justify-content: space-between; gap: var(--s3); margin: var(--s5) 0; flex-wrap: wrap; }
.media-row .left, .media-row .right { display: flex; gap: var(--s2); flex-wrap: wrap; }
/* .left scrolls sideways on phones, which clips an outside focus ring */
.media-row .left :focus-visible { outline-offset: -2px; }
.media-row .left .btn.active { background: var(--forest); color: #fff; }
/* Share menu (includes/_share_menu.liquid): shown only where the browser has no share sheet */
.share { position: relative; }
.share-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: var(--z-popover); min-width: 200px; display: grid; padding: var(--s2);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow); }
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button { display: flex; align-items: center; gap: var(--s3); width: 100%; padding: var(--s2) var(--s3); border: 0; border-radius: var(--r-sm);
  background: none; color: var(--ink); font: 500 var(--fs-sm) var(--sans); text-align: left; text-decoration: none; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: var(--mist); text-decoration: none; }
.share-menu svg { width: 18px; height: 18px; flex: none; color: var(--fern); }
.share-status:empty { display: none; }
.share-status { padding: 0 var(--s3); font-size: var(--fs-xs); color: var(--muted); }
.prop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s5); margin-bottom: var(--s4); }
.prop-head h1 { font-size: var(--fs-h1); margin-bottom: 2px; }
.prop-head .price { font-size: var(--fs-xl); font-weight: 700; color: var(--ink); white-space: nowrap; margin: 0; }
.prop-price { text-align: right; }
.key-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); margin: var(--s5) 0; }
.key-strip-1 { grid-template-columns: 1fr; } .key-strip-2 { grid-template-columns: repeat(2, 1fr); } .key-strip-3 { grid-template-columns: repeat(3, 1fr); }
.key-strip div { padding: var(--s4); display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: var(--fs-sm); color: var(--muted); }
.key-strip div + div { border-left: 1px solid var(--rule); }
.key-strip svg { width: 26px; height: 26px; color: var(--fern); }
.key-strip strong { color: var(--ink); font-size: var(--fs-md); }
.facts-list { margin: 0; }
.facts-list div { display: grid; grid-template-columns: 28px 1fr auto; gap: var(--s3); align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); }
.facts-list svg { width: 20px; height: 20px; color: var(--fern); }
.facts-list dt { color: var(--ink-soft); }
.facts-list dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.features { columns: 2; column-gap: var(--s6); padding-left: 1.1em; margin: 0 0 var(--s5); }
.features li { margin-bottom: 6px; break-inside: avoid; }
.features li::marker { color: var(--leaf); }
.desc-drawer { overflow: hidden; transition: max-height .45s ease; position: relative; }
.desc-drawer:not(.open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(transparent, var(--page)); pointer-events: none; }
.desc-drawer p:last-child { margin-bottom: 0; }
.read-more { background: none; border: 0; padding: 0; margin-top: var(--s3); color: var(--fern); font: 600 var(--fs-md) var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.section { padding: var(--s6) 0; border-top: 1px solid var(--rule); }
.prop-head + .section, .key-strip + .section, .tags + .section { border-top: 0; }
/* isolation keeps Leaflet's pane and control z-indexes (up to 1000) under the sticky bars */
.map-block { aspect-ratio: 16 / 7; border-radius: var(--r-md); background: var(--mist); position: relative; overflow: hidden; box-shadow: var(--photo-rim); isolation: isolate; }
/* The map fills its box (includes/_leaflet_map.liquid; its pin list beside it is hidden) */
.map-block > div { position: absolute !important; inset: 0; width: 100%; height: 100%; }
.map-block-side { aspect-ratio: 4 / 3; }
.map-block-side.map-block > div { position: absolute; }
/* "View all photos" gallery */
.gallery { position: fixed; inset: 0; z-index: var(--z-gallery); background: var(--page); overflow-y: auto; }
.gallery-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); height: 64px; padding: 0 var(--s4) 0 var(--s5); background: var(--paper); border-bottom: 1px solid var(--rule); }
.gallery-title { font-family: var(--serif); font-size: var(--fs-lg); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-list { max-width: 1000px; margin: 0 auto; padding: var(--s5); display: grid; gap: var(--s4); }
/* Photos load lazily: hold a 3:2 box (the photo size requested) until each one arrives */
.gallery-list img { width: 100%; height: auto; aspect-ratio: auto 3 / 2; border-radius: var(--r-md); box-shadow: var(--photo-rim); background: var(--mist); }
html.gallery-open { overflow: hidden; }

/* ---------- 13. Content, branch, agency and staff pages ---------- */
.page-body { padding-bottom: var(--s8); }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding: var(--s6) 0 var(--s5); flex-wrap: wrap; }
.page-head h1 { font-size: var(--fs-h1); margin-bottom: var(--s1); }
.page-tabs { margin-bottom: var(--s5); }
.profile-head { display: flex; align-items: center; gap: var(--s5); padding: var(--s6) 0 var(--s5); flex-wrap: wrap; }
.profile-head h1 { font-size: var(--fs-h1); margin-bottom: var(--s1); }
.profile-avatar { width: 120px; height: 120px; flex: none; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--rule); }
.profile-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.intro-photo { float: right; width: 40%; max-width: 280px; margin: 0 0 var(--s4) var(--s5); border-radius: var(--r-md); box-shadow: var(--photo-rim); }
.split { display: grid; gap: var(--s4); margin-bottom: var(--s4); }
.split-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.split .contact { margin: 0; }
.team-panel { margin: 0; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.staff-card { display: flex; flex-direction: column; gap: var(--s3); margin: 0; }
.staff-card .bio { margin: 0; color: var(--muted); }
.staff-card-foot { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--rule); }
.branch-row { grid-template-columns: 200px 1fr; align-items: start; }
.branch-logo { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s4); text-decoration: none; overflow: hidden; }
.branch-logo img { max-height: 100%; width: auto; object-fit: contain; }
.branch-logo img.branch-photo { width: 100%; height: 100%; object-fit: cover; }
/* A branch photo fills its box with rounded corners, like property photos, instead of sitting in the logo frame */
.branch-row.has-photo { grid-template-columns: 320px 1fr; }
.branch-logo.has-photo { padding: 0; border: 0; background: var(--mist); box-shadow: var(--photo-rim); }
.branch-logo .logo-fallback { font-weight: 700; color: var(--ink); text-align: center; font-size: var(--fs-sm); }
.avatar-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: var(--s2); }
.avatar-row .avatar { width: 36px; height: 36px; box-shadow: 0 0 0 2px var(--paper); }
#branch_list .avatar-row .avatar { width: 44px; height: 44px; } /* agency page: a fifth bigger */
.article-row { grid-template-columns: 220px 1fr; }
.article-row:not(:has(.article-thumb)) { grid-template-columns: 1fr; }
.article-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); }
.article-hero img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--photo-rim); margin-bottom: var(--s5); }
.article-archive ul { list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); }
.article-archive li { padding: 6px 0; border-top: 1px solid var(--rule); }
.large_image { width: 100%; border-radius: var(--r-md); margin-bottom: var(--s5); box-shadow: var(--photo-rim); }
/* Text written in the CMS (pages, articles, bios, area descriptions) */
.cms-content { color: var(--ink-soft); }
.cms-content h1, .cms-content h2 { font-family: var(--serif); font-weight: 500; }
.cms-content h1 { font-size: var(--fs-xl); }
.cms-content h2 { font-size: var(--fs-lg); margin-top: var(--s5); }
.cms-content h3, .cms-content h4 { margin-top: var(--s5); }
.cms-content img { height: auto; border-radius: var(--r-md); }
.cms-content table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); margin-bottom: var(--s4); }
.cms-content th, .cms-content td { text-align: left; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--rule); }
.cms-content ul, .cms-content ol { padding-left: 1.3em; }
.cms-content li { margin-bottom: 4px; }
.cms-content li::marker { color: var(--leaf); }
.prose { font-size: 1.0625rem; line-height: 1.7; }
#article_content.prose { max-width: 72ch; }
/* Older CMS pages (about us and similar) carry their own layout markup from the previous theme */
.cms-page { max-width: none; }
#cms-content img { display: inline-block; vertical-align: middle; max-width: 100%; }
#cms-content img.staff { border-radius: 50%; object-fit: cover; margin: 4px; }
#cms-content img.property { border-radius: var(--r-sm); margin: 3px; }
#cms-content .foreground-content { max-width: var(--max); margin: 0 auto; }
#cms-content .centered { text-align: center; }
#cms-content .cms-odd-row, #cms-content .cms-even-row { background: transparent; border: 0; padding: var(--s6) var(--s5); border-radius: var(--r-md); margin-bottom: var(--s4); }
#cms-content .cms-even-row { background: var(--paper); border: 1px solid var(--rule); }
#cms-content h1.centered { font-size: var(--fs-xl); margin-top: 0; }
#cms-content [style*="float"] { max-width: 100%; }
/* Old CMS markup carries inline widths and floats */
@media (max-width: 767px) { #cms-content [style*="width:"], #cms-content [style*="width: "] { width: auto !important; float: none !important; } }
.not-found-panel { max-width: 640px; }
.not-found-panel li { font-size: var(--fs-md); padding: var(--s3) 0; }
#about_area .content a[href^="javascript"] { font-weight: 600; }

/* ---------- 14. Footer (light) ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--rule); color: var(--ink-soft); padding: var(--s7) 0 var(--s6); font-size: var(--fs-sm); margin-top: var(--s8); }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--fern); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr; grid-auto-columns: 1fr; grid-auto-flow: column; gap: var(--s6); } /* brand column, then any number of link columns */
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.footer-grid h2 { font-family: var(--sans); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; }
.footer-grid .logo { margin-bottom: var(--s3); color: var(--ink); }
.site-footer .logo:hover { text-decoration: none; color: var(--ink); }
.powered { color: var(--muted); }
.site-footer .powered a { color: var(--fern); text-decoration: underline; }
.footer-base { margin-top: var(--s6); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s4); color: var(--muted); }
.social { display: flex; gap: var(--s4); align-items: flex-end; }
.social a { color: var(--fern); display: inline-flex; }
.social a:hover { color: var(--forest); }
.social svg { width: auto; height: 20px; fill: currentColor; }
/* Main follows on from a page with no closing panel */
main + .site-footer { margin-top: var(--s8); }
.page-home main + .site-footer { margin-top: 0; }
/* The admin custom_styles chunk (custom.lcss, loaded after this file) pads the body by 30px,
   which showed as a light bar under the footer. html body outranks its plain body selector. */
html body { padding-bottom: 0; }

/* ---------- 15. Account panel (user profile templates) ---------- */
.profile-body > script { display: none; }
/* Tabs: colours and shape shared with .segmented (section 5) */
.profile-tabs ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 var(--s5); }
.profile-tabs li { flex: 1 1 auto; }
.profile-tabs a { display: flex; justify-content: center; height: 34px; padding: 0 var(--s3); }
.js-user-profile-body h2, .js-user-profile-body h3 { font-family: var(--serif); font-weight: 500; font-size: var(--fs-lg); }
.js-user-profile-body .lead { font-size: var(--fs-md); color: var(--ink); margin-bottom: var(--s2); }
.js-user-profile-body p { font-size: var(--fs-sm); }
.js-user-profile-body form { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s5); margin-bottom: var(--s4); }
.js-user-profile-body .opt_in_box label { display: flex; margin-bottom: var(--s3); }
.js-user-profile-body label:not(.statement_text), .js-user-profile-body .control-label { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); margin: 0 0 6px; }
.js-user-profile-body legend { font-family: var(--serif); font-size: var(--fs-lg); color: var(--ink); margin-bottom: var(--s3); }
.js-user-profile-body .help-block { display: block; font-family: var(--sans); font-size: var(--fs-sm); color: var(--muted); }
.js-user-profile-body .row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: stretch; }
.js-user-profile-body [class^="col"], .js-user-profile-body [class*=" col"] { flex: 1 1 100%; min-width: 0; }
.js-user-profile-body .col-12 { flex: 1 1 calc(50% - var(--s3)); }
.js-user-profile-body .col-17 { display: none; }
.form-group { margin-bottom: var(--s3); }
/* Submit buttons in core profile forms carry no .btn class; colours come from .btn-primary (section 5) */
.js-user-profile-body button[type="submit"], .js-user-profile-body .btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s5); border: 0; border-radius: var(--r-sm); font: 600 var(--fs-sm)/1 var(--sans); width: auto; }
/* 5px more air above each account form's submit (Register sits just under the terms tick) */
.js-user-profile-body form button[type="submit"] { margin-top: 5px; }
.js-user-profile-body .pull-right { text-align: right; }
.js-user-profile-body dl { display: grid; grid-template-columns: 110px 1fr; gap: var(--s2) var(--s3); font-size: var(--fs-sm); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s4); }
.js-user-profile-body dt { color: var(--muted); }
.js-user-profile-body dd { margin: 0; color: var(--ink); }
.js-user-profile-body a[onclick]:not([href]) { cursor: pointer; text-decoration: underline; color: var(--fern); }
.saved_property, .saved_search { display: grid; grid-template-columns: 88px 1fr; gap: var(--s3); align-items: start; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s3); margin-bottom: var(--s3); }
.saved_property .thumb, .saved_search .thumb { width: 88px; height: 66px; object-fit: cover; border-radius: var(--r-sm); }
/* Core profile CSS sizes these headings by ID (#profile_tab_saved_properties_content h2) */
.saved_property h2, .saved_search h2 { font-family: var(--sans); font-size: var(--fs-sm) !important; font-weight: 600; margin: 0 0 4px; line-height: 1.35; }
.saved_property h2 a { color: inherit; text-decoration: none; }
.saved_property h2 a:hover { color: var(--fern); text-decoration: underline; }
.saved_property h2 small { display: block; font-size: var(--fs-md); font-weight: 700; color: var(--ink); margin-top: 2px; }
/* Saved search title: the search in words ("Properties around Brixham for sale"), wrapping as it needs */
.saved_search h2 small { display: block; font-family: var(--serif); font-size: var(--fs-lg); font-weight: 500; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.saved_property ul, .saved_search ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s3); font-size: var(--fs-xs); color: var(--muted); }
.saved_search .row2 { grid-column: 1 / -1; }
.saved_search .row2 ul { display: grid; gap: var(--s3); }
.saved_search label { display: block; font-size: var(--fs-xs); margin-bottom: 4px; }
.saved_search select { min-height: 40px; font-size: var(--fs-sm); }
/* Visit (a button) and Delete (a plain link) share one line under the alert select */
.saved-search-actions { display: flex; align-items: center; gap: var(--s4); }
.saved-search-actions .remove { color: var(--muted); font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; }
.saved-search-actions .remove:hover { color: var(--clay-red); }
.saved_search:not(:has(.thumb)) { grid-template-columns: 1fr; }

/* ---------- 16. Modals (jQuery modal), alerts, cookie banner ---------- */
.jquery-modal.blocker { position: fixed; inset: 0; z-index: var(--z-modal); padding: var(--s5); background: var(--ink-45); overflow: auto; text-align: center; }
.jquery-modal.blocker::before { content: ""; display: inline-block; height: 100%; vertical-align: middle; margin-right: -0.05em; }
.jquery-modal .modal, .modal { display: none; vertical-align: middle; position: relative; z-index: 2; width: 100%; max-width: 640px; text-align: left; background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow); padding: var(--s6); }
.jquery-modal .modal { display: inline-block; }
.modal a.close-modal { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; text-indent: -9999px; overflow: hidden; background: var(--mist); }
.modal a.close-modal::before, .modal a.close-modal::after { content: ""; position: absolute; left: 10px; right: 10px; top: 17px; height: 2px; background: var(--ink-soft); transform: rotate(45deg); }
.modal a.close-modal::after { transform: rotate(-45deg); }
.modal h2 { padding-right: var(--s6); }
.modal .form-grid { margin-top: var(--s4); }
/* Lettings fees note: Ctesius' #lettingfees panel, copied into a modal by refresh.js */
.fees-modal { max-width: 520px; color: var(--ink-soft); font-size: var(--fs-sm); }
.fees-modal h4 { font-family: var(--serif); font-weight: 500; font-size: var(--fs-xl); color: var(--ink); line-height: 1.2; margin: 0 var(--s6) var(--s4) 0; }
.fees-modal ul { margin: 0 0 var(--s4); padding-left: 1.25em; display: grid; gap: 4px; }
.fees-modal li::marker { color: var(--leaf); }
.fees a[href="#lettingfees"] { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
#alert_location:empty { display: none; }
#alert_location { padding-top: var(--s4); }
.alert { position: relative; padding: var(--s3) var(--s6) var(--s3) var(--s4); border-radius: var(--r-md); background: var(--sage-50); color: var(--ink); font-size: var(--fs-sm); border: 1px solid var(--sage-100); }
.alert-success { background: var(--sage-50); }
.alert-error, .alert-danger { background: var(--clay); border-color: var(--clay-rule); color: var(--clay-ink); }
.alert .close { position: absolute; top: 8px; right: 12px; font-size: 20px; line-height: 1; color: inherit; text-decoration: none; cursor: pointer; }

/* Cookie banner from Ctesius core. Its stylesheet loads after this one, hence !important. */
.cc-window { font-family: var(--sans) !important; }
.cc-window .cc-btn { border-radius: var(--r-sm); }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1100px) {
  .search-bar { grid-template-columns: 2.1fr 0.9fr 0.9fr 1fr 0.75fr auto; }
}
@media (max-width: 991px) {
  .layout { grid-template-columns: 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .expert-row { grid-auto-columns: calc((100% - 2 * var(--s4)) / 3); }
  .search-bar > :first-child, .search-bar .btn { grid-column: 1 / -1; }
  .drawmap { grid-template-columns: 1fr; gap: var(--s5); }
  .footer-grid { grid-template-columns: 1fr 1fr; grid-auto-flow: row; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 420px; }
  .mosaic .photo:first-child { grid-column: 1 / -1; grid-row: auto; }
  .mosaic .photo:nth-child(n+4) { display: none; }
  .mosaic-1, .mosaic-2 { grid-template-rows: 1fr; }
  .mosaic-2 .photo:first-child { grid-column: auto; }
  .mosaic .view-all-last { display: none; }
  .mosaic .view-all-first { display: flex !important; }
  .sticky { position: static; }
  .split-2 { grid-template-columns: 1fr; }
  .site-header .container { gap: var(--s5); }
}
@media (max-width: 767px) {
  .container { padding: 0 var(--s4); }
  .main-nav { display: none; }
  /* a part of the next expert card shows, so the row reads as swipeable */
  .expert-row { grid-auto-columns: 80%; }
  .site-header .container { gap: var(--s3); }
  .header-actions { gap: 0; }
  .icon-btn { width: 42px; height: 42px; }
  .hero { padding: var(--s7) 0; }
  .hero h1 { font-size: 2rem; }
  .search-panel { padding: var(--s4); }
  .section-title { font-size: 1.6rem; }
  .result { grid-template-columns: 1fr; padding: var(--s3); }
  .branch-row .branch-logo { aspect-ratio: 16 / 7; }
  .article-row { grid-template-columns: 1fr; }
  .contact { padding: var(--s5) var(--s4); }
  .contact-grid, .form-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .prop-head { flex-direction: column; gap: var(--s2); }
  .prop-head h1 { font-size: var(--fs-h1-sm); }
  .prop-price { text-align: left; }
  .key-strip, .key-strip-3 { grid-template-columns: repeat(2, 1fr); }
  .key-strip div:nth-child(3) { border-left: 0; }
  .key-strip div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .key-strip-1 { grid-template-columns: 1fr; }
  .features { columns: 1; }
  .mosaic { height: 300px; gap: 8px; }
  .media-row { gap: var(--s2); }
  .media-row .left { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--s4)); padding: 2px var(--s4); width: calc(100% + 2 * var(--s4)); }
  .media-row .left::-webkit-scrollbar { display: none; }
  .prop-bar .container { min-height: 48px; gap: var(--s2) var(--s4); }
  .prev-next { margin-left: 0; }
  .page-head h1, .profile-head h1 { font-size: var(--fs-h1-sm); }
  .intro-photo { float: none; width: 100%; max-width: none; margin: 0 0 var(--s4); }
  .refine-form .select { flex: 1 1 calc(50% - var(--s2)); order: 2; width: auto; }
  .refine-form .btn { flex: 0 0 auto; order: 1; }
  .refine-form .refine-location { flex: 1 1 0; order: 0; }
  .refine-form .agency-name-input { order: 2; flex: 1 1 100%; }
  .results-head { padding-top: var(--s5); }
  .results-toolbar { gap: var(--s3); }
  .toolbar-right { width: 100%; flex-wrap: nowrap; }
  .toolbar-right .select { flex: 1 1 auto; min-width: 0; width: auto; }
  .filter-strip { position: relative; }
  .footer-grid { gap: var(--s5); }
  .is-map-view .filter-strip { left: 8px; right: 8px; top: 8px; }
  .is-map-view .filter-strip .refine-form .select, .is-map-view .filter-strip #within { display: none; }
  .is-map-view .filter-strip .refine-form .btn { flex: 0 0 auto; }
  .is-map-view .filter-strip .refine-location { flex: 1 1 0; }
  .is-map-view .results-top { top: auto; bottom: 8px; left: 8px; right: 8px; width: auto; max-width: none; padding: var(--s3) var(--s4); }
  .is-map-view .results-head h1 { font-size: 1.2rem; }
  .is-map-view .leaflet-top.leaflet-right { bottom: auto; top: 76px; right: 8px; }
  .leaflet-popup-content { width: 280px !important; }
  .map-card { grid-template-columns: 100px 1fr; }
  .gallery-list { padding: var(--s3); gap: var(--s3); }
}
/* Phones: page-specific fixes (mobile feedback round 2) */
@media (max-width: 767px) {
  .drawmap { padding-top: var(--s7); padding-bottom: var(--s7); } /* .container's side padding above would otherwise zero these */
  .refine-form .refine-location { flex: 1 1 100%; order: 0; }
  .refine-form [id="within"] { flex: 1 1 calc(100% - 140px); order: 1; } /* fills the row beside Refine */
  .refine-form .btn { order: 2; }
  .refine-form .select:not([id="within"]) { order: 3; }
  .prop-bar .container { flex-wrap: nowrap; padding-top: var(--s2); padding-bottom: var(--s2); }
  .prop-bar nav, .prev-next { flex-wrap: nowrap; gap: var(--s4); }
  .prev-next { margin-left: auto; }
  .new-search-link, .wide-only { display: none; }
  .prop-bar:has(.crumbs) { display: none; }
  .prop-head > *, .prop-price .price { min-width: 0; overflow-wrap: anywhere; }
  /* Property page: agent panel, then the enquiry form, then nearby places; staff page: bio, My agency, then the form */
  .page-properties-show .layout > div:first-child, .page-properties-show .layout .side-bar, .page-properties-show .side-bar .sticky,
  .page-staff-show .layout > div:first-child, .page-staff-show .layout .side-bar { display: contents; }
  .page-properties-show .agent-card { order: 1; }
  .page-properties-show #contact-box { order: 2; }
  .page-properties-show #other_nearby_places { order: 3; }
  .page-staff-show .layout > div:first-child > * { order: 3; }
  .page-staff-show .layout > div:first-child > #staff_bio { order: 0; }
  .page-staff-show .side-bar > * { order: 1; }
  .page-staff-show .layout > div:first-child > .contact { order: 2; }
  /* Property page spacing on phones: the sections set the rhythm, not the grid gap on top of their padding */
  .page-properties-show .layout { row-gap: 0; }
  .page-properties-show .prop-head { margin-bottom: var(--s3); }
  .page-properties-show .key-strip { margin: var(--s4) 0 0; }
  .page-properties-show .layout .section { padding-top: 28px; padding-bottom: 28px; }
  .page-properties-show .agent-card { margin-top: 28px; margin-bottom: var(--s4); }
  .page-properties-show #contact-box { margin-top: var(--s4); }
  .page-properties-show #other_nearby_places { margin-top: var(--s6); }
}
/* Phones: the same space above the footer on every page (64px after a panel or card) */
@media (max-width: 767px) {
  .layout { padding-bottom: 0; }
  main + .site-footer { margin-top: var(--s7); }
  .layout .section:last-child { padding-bottom: var(--s4); }
  .agents-page, .about-page { padding-bottom: var(--s4); } /* padding, as a margin here would merge into the footer's */
}
@media (max-width: 420px) {
  .logo { font-size: 1.45rem; }
  .segmented a, .segmented button { padding: 0 var(--s3); }
  .result-foot { gap: var(--s2); }
}

/* ---------- 18. Image logos (portals other than Radar use the logo uploaded in Homeflow admin) ---------- */
.logo.logo-image { align-items: center; }
.logo.logo-image img { display: block; height: 54px; width: auto; max-width: 260px; object-fit: contain; }
.mega-top-bar .logo.logo-image img { height: 36px; }
.footer-grid .logo.logo-image img { height: 56px; }
@media (max-width: 767px) { .logo.logo-image img { height: 36px; max-width: 190px; } }

/* ---------- 19. Reduced motion ----------
   Near-zero rather than none, so transitionend and animationend still fire for refresh.js.
   !important so it wins over every component rule. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 20. For agents and About us pages (theme pages: pages/for-agents, pages/our-story) ---------- */
.info-hero { background: var(--mist); padding: var(--s8) 0 var(--s7); border-bottom: 1px solid var(--rule); }
.info-hero h1 { font-size: var(--fs-xxl); margin-bottom: var(--s3); max-width: 32ch; text-wrap: balance; }
.info-hero .lede { font-size: var(--fs-lg); color: var(--ink-soft); max-width: 60ch; margin-bottom: var(--s5); }
.info-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.info-section { padding-top: var(--s8); }
.info-points { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.info-points-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.info-points li { border-top: 2px solid var(--leaf); padding-top: var(--s4); }
.info-points h3 { margin-bottom: var(--s2); }
.info-points p { margin: 0; }
.info-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.info-split p { max-width: 62ch; }
.info-aside { margin: 0; }
.info-cta { margin-top: var(--s8); text-align: center; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s7) var(--s5); }
.info-cta .info-actions { justify-content: center; }

/* Pricing: three plans, the middle one highlighted */
.plans-head { max-width: 62ch; }
.plans { list-style: none; padding: 0; margin: var(--s6) 0 var(--s4); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.plan { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s6) var(--s5) var(--s5); }
.plan h3 { font-family: var(--serif); font-weight: 500; font-size: var(--fs-xl); margin-bottom: var(--s2); }
.plan-price { margin: 0 0 var(--s3); color: var(--muted); font-size: var(--fs-sm); }
.plan-amount { font-size: var(--fs-xxl); font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -0.02em; margin-right: var(--s1); }
.plan-summary { padding-bottom: var(--s4); border-bottom: 1px solid var(--rule); }
.plan-features { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s2); font-size: var(--fs-sm); }
.plan-features li { display: grid; grid-template-columns: 16px 1fr; gap: var(--s2); align-items: start; }
.plan-features .tick { color: var(--fern); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan-featured { border: 2px solid var(--forest); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: 0; left: var(--s5); transform: translateY(-50%); margin: 0; background: var(--forest); color: #fff; font-size: var(--fs-xs); font-weight: 600; line-height: 1.5; padding: 2px var(--s3); border-radius: var(--r-pill); }
.plans-note { margin: 0; }

/* About us proposal: draft note, laptop frame, team, video */
.draft-note { margin: var(--s4) 0; padding: var(--s2) var(--s3); background: var(--clay); color: var(--clay-ink); border: 1px solid var(--clay-rule); border-radius: var(--r-sm); }
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s7); align-items: center; }
.device { margin: 0; padding: 0 5%; }
.device-screen { position: relative; aspect-ratio: 16 / 10; border: 8px solid var(--ink); border-bottom-width: 12px; border-radius: 12px 12px 0 0; background: var(--mist); overflow: hidden; box-shadow: var(--shadow); }
.device-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-base { position: relative; height: 14px; margin: 0 -5%; background: linear-gradient(var(--rule-strong), var(--sage-100)); border-radius: 0 0 14px 14px; box-shadow: var(--shadow-xs); }
.device-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: var(--field-hover); border-radius: 0 0 6px 6px; }
/* Drawn stand-in for the screenshot, hidden behind it once the image loads */
.device-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6%; }
.df-bar { flex: 0 0 9%; background: var(--paper); border-bottom: 1px solid var(--rule); }
.df-title { flex: 0 0 5%; width: 42%; margin-left: 8%; background: var(--sage-100); border-radius: var(--r-pill); }
.df-search { flex: 0 0 13%; margin: 0 8%; background: var(--paper); border-radius: var(--r-sm); box-shadow: var(--shadow-xs); }
.df-cards { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; margin: 0 8% 6%; }
.df-cards i { background: linear-gradient(135deg, var(--photo-a), var(--photo-c)); border-radius: var(--r-sm); }
.team-grid { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.team-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s5); line-height: 1.4; }
.team-card .avatar { width: 72px; height: 72px; flex: none; }
.team-initials { display: grid; place-items: center; font-family: var(--serif); font-size: var(--fs-lg); color: var(--fern); }
.team-card strong { display: block; color: var(--ink); margin-bottom: var(--s1); }
.team-card .muted { display: block; font-size: var(--fs-sm); }
/* About us: featured agents, a swipeable strip of cards that match the team cards above (arrows from refresh.js "Scrolling rows") */
.agent-strip { list-style: none; margin: var(--s5) 0 0; padding: 0 0 var(--s1); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--s4)) / 4); gap: var(--s4);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.agent-strip::-webkit-scrollbar { display: none; }
.agent-mini { scroll-snap-align: start; }
.agent-mini-link { height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); padding: var(--s5); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); color: var(--ink-soft); text-decoration: none; line-height: 1.4; }
a.agent-mini-link:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); text-decoration: none; }
a.agent-mini-link:hover strong { color: var(--fern); }
.agent-mini .avatar { width: 72px; height: 72px; flex: none; }
.agent-mini strong { display: block; color: var(--ink); margin-bottom: var(--s1); }
.agent-mini .muted { display: block; font-size: var(--fs-sm); }
.agent-mini-logo { display: block; max-width: 60%; max-height: 56px; width: auto; height: auto; object-fit: contain; margin-top: auto; }
.agent-mini-agency { margin-top: auto; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); }
/* A heading row with arrows sits as close to its intro line as a plain section title does */
.section-head-tight { margin-bottom: var(--s3); align-items: center; }
.section-head-tight .row-nav { margin: -20px 0; } /* the arrows do not add to the row height */
@media (max-width: 991px) { .agent-strip { grid-auto-columns: calc((100% - var(--s4)) / 2); } }
@media (max-width: 767px) { .agent-strip { grid-auto-columns: 78%; } }
.video-frame { position: relative; aspect-ratio: 16 / 9; max-width: 880px; margin-top: var(--s4); border-radius: var(--r-md); overflow: hidden; background: var(--ink); box-shadow: var(--photo-rim); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 991px) {
  .info-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 520px; gap: var(--s5); }
  .info-split, .about-hero { grid-template-columns: 1fr; gap: var(--s5); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .info-hero { padding: var(--s7) 0 var(--s6); }
  .info-hero h1 { font-size: 2rem; }
  .info-hero .lede { font-size: var(--fs-md); }
  .info-section { padding-top: var(--s7); }
  .info-points { grid-template-columns: 1fr; gap: var(--s5); }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: row; align-items: center; }
  .team-card .avatar { width: 56px; height: 56px; }
}

/* ---------- Results map view: search in the header, icons on the controls (user testing, Dec 2026) ---------- */
/* Draw controls: a small line icon before each label, drawn in currentColor through a mask */
.draw-controls .leaflet-draw-toolbar a::after { content: ""; order: -1; width: 15px; height: 15px; margin-right: 6px; background: currentColor;
  -webkit-mask: var(--draw-icon) center / contain no-repeat; mask: var(--draw-icon) center / contain no-repeat; }
.draw-controls .leaflet-draw-draw-freehand, .draw-controls .leaflet-draw-draw-polygon, .draw-controls .leaflet-draw-edit-edit { --draw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l1-4.5L15.5 5a2.1 2.1 0 0 1 3 3L8 18.5zM13.5 7l3 3'/%3E%3C/svg%3E"); }
.draw-controls .leaflet-draw-edit-remove { --draw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4.5h6V7M6 7l1 13h10l1-13M10 11v5M14 11v5'/%3E%3C/svg%3E"); }
/* Save and Cancel while editing: Leaflet.draw sets the list's display inline, which drops the flex gap */
.draw-controls .leaflet-draw-actions li { display: inline-block; margin-right: 6px; }
.draw-controls .leaflet-draw-actions li:last-child { margin-right: 0; }

/* Update button: a label on wide screens; a round icon on phones in the map view */
.update-btn .update-icon { display: none; width: 20px; height: 20px; }

/* Header search slot, used only in the map view */
.header-search { display: none; }
.logo-mark { display: none; }
.menu-account-item { display: none; }
.main-menu-content .menu-account-item a { display: flex; align-items: center; gap: var(--s3); }
.main-menu-content .menu-account-item svg { width: 22px; height: 22px; }

.is-map-view .site-header .container { max-width: none; gap: var(--s5); }
.is-map-view .main-nav, .is-map-view .account-icon { display: none; }
/* the heart and account icons are hidden in the map view at every width, so the menu carries them */
.is-map-view .menu-account-item { display: block; }
.is-map-view .header-search { display: block; flex: 1 1 auto; min-width: 0; }
.is-map-view .header-actions { margin-left: 0; }
.is-map-view .header-search .refine-form { flex-wrap: nowrap; margin: 0; }
.is-map-view .header-search .refine-form .select { min-width: 0; flex: 0 1 auto; }
.is-map-view .header-search .refine-location { flex: 1 1 220px; min-width: 140px; }
.is-map-view .filter-strip { display: none; }
.is-map-view .results-top { top: 16px; }
@media (max-width: 1100px) {
  .is-map-view .header-search #within, .is-map-view .header-search #type { display: none; }
}
@media (max-width: 991px) {
  .is-map-view .header-search .refine-form .select { display: none; }
}
@media (max-width: 767px) {
  /* the favicon's "r": dark green on its light green square */
  .is-map-view .site-header .logo { display: none; }
  /* [hidden] in the markup keeps it out of sight if an older stylesheet is still cached; !important
     outranks the global [hidden] rule (section 3) */
  .is-map-view .logo-mark[hidden] { display: inline-grid !important; }
  .is-map-view .logo-mark { display: inline-grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--r-sm);
    background: var(--sage-100); color: var(--forest); font: 700 1.6rem/1 var(--sans); letter-spacing: -0.035em; text-decoration: none; padding-bottom: 3px; }
  .is-map-view .site-header .container { gap: var(--s2); }
  .is-map-view .header-search .refine-location { flex: 1 1 auto; min-width: 0; }
  .is-map-view .header-search .refine-form { gap: var(--s2); }
  /* the r, the search box and Update all 44px tall */
  .is-map-view .header-search .input { height: 44px; min-height: 44px; }
  .is-map-view .update-btn { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: var(--r-sm); justify-content: center; order: 1; }
  .is-map-view .update-btn .update-label { display: none; }
  .is-map-view .update-btn .update-icon { display: block; }
  .is-map-view .results-top { top: auto; } /* stays at the foot of the map on phones */
  .is-map-view .leaflet-top.leaflet-right { top: 12px; }
  /* List / Map, Draw (Edit, Clear) and Save search on one line */
  .is-map-view .results-toolbar { flex-wrap: nowrap; gap: var(--s2); align-items: center; }
  .is-map-view .toolbar-right { flex: 0 0 auto; width: auto; flex-basis: auto; margin-left: auto; }
  .is-map-view .toolbar-right .save-search-label { display: none; }
  .is-map-view .toolbar-right .btn { width: 36px; padding: 0; justify-content: center; }
  .is-map-view .toolbar-right .btn svg { margin: 0; }
  .is-map-view .view-toggle a { padding-left: var(--s3); padding-right: var(--s3); }
  .draw-controls .leaflet-draw-toolbar a { padding: 0 var(--s3); }
  .draw-controls .leaflet-draw { flex-wrap: nowrap; }
}

/* Property page map: still until clicked, then twice as deep (three times on phones) and explorable */
.map-expandable { cursor: pointer; transition: aspect-ratio .25s ease; }
.map-expandable.is-expanded { aspect-ratio: 16 / 14; cursor: auto; }
.map-expand-hint { position: absolute; right: 10px; bottom: 10px; z-index: 500; height: 32px; padding: 0 var(--s3); border: 0; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .92); color: var(--ink); font: 600 var(--fs-sm)/1 var(--sans); box-shadow: var(--shadow); cursor: pointer; }
@media (max-width: 767px) { .map-expandable.is-expanded { aspect-ratio: 16 / 21; } }

/* Main photo counter while swiping (property page) */
.photo .photo-counter { display: none; height: 26px; padding: 0 9px; align-items: center; border-radius: var(--r-sm); background: rgba(0, 0, 0, .55); color: #fff; font: 600 12px/1 var(--sans); }
.photo.is-swiped .photo-counter { display: flex; }

/* Key facts on phones: the empty fourth box that completes a two-by-two grid of three */
.key-strip .key-empty { display: none; }
@media (max-width: 767px) { .key-strip .key-empty { display: flex; } }
/* Branch page: Send a message under the address */
.page-head-action { margin-top: var(--s3); }


.cc-window{opacity:1;-webkit-transition:opacity 1s ease;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{-webkit-transition:transform 1s ease;-webkit-transition:-webkit-transform 1s ease;transition:-webkit-transform 1s ease;transition:transform 1s ease;transition:transform 1s ease,-webkit-transform 1s ease}.cc-animate.cc-revoke.cc-top{-webkit-transform:translateY(-2em);transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{-webkit-transform:translateY(2em);transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-top{-webkit-transform:translateY(0);transform:translateY(0)}.cc-animate.cc-revoke.cc-active.cc-bottom{-webkit-transform:translateY(0);transform:translateY(0)}.cc-revoke:hover{-webkit-transform:translateY(0);transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;-webkit-transition:max-height 1s;transition:max-height 1s}.cc-revoke,.cc-window{position:fixed;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-revoke:hover{text-decoration:underline}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em;text-decoration:underline}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.cc-window.cc-banner{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-floating .cc-compliance>.cc-btn{-webkit-box-flex:1;-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width: 900px){.cc-btn{white-space:normal}}@media screen and (max-width: 414px) and (orientation: portrait), screen and (max-width: 736px) and (orientation: landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}.cc-window.cc-banner .cc-message{margin-right:0}}.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-webkit-box-flex:0;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em;margin-bottom:1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}.cc-fullscreen-bg{position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(30,30,30,0.7);z-index:999}.cc-theme-fullscreen .cc-deny-link{display:inline;padding:0;font-size:.9em;border:0;font-size:16px;font-weight:normal;text-decoration:underline;background-color:transparent !important;color:#838391 !important}.cc-theme-fullscreen .cc-compliance{width:100%;display:flex;justify-content:center;margin:10px auto}@media (min-width: 414px){.cc-theme-fullscreen{bottom:50%;left:50%;margin-left:-190px;margin-bottom:-70px}}.hf-cc-revoke{position:fixed;bottom:0;left:20px;padding:5px 10px;background-color:#edeff5}@media (max-width: 414px){.hf-cc-revoke{font-size:12px}}
