.brand-mark{display:block;object-fit:contain;width:40px;height:40px;border-radius:11px;flex:none}
.topbar .topline{display:flex;align-items:flex-start;gap:12px;padding-block:12px}
.topbar .brand{align-items:center;align-self:flex-start;padding-top:1px;font-size:22px}
.topbar .discovery-search{flex:1;min-width:0;gap:6px;padding-bottom:0;margin:0;position:relative}
.discovery-query{position:relative;display:flex;align-items:center;border:1px solid #c8d8d2;background:#f6f9f8;border-radius:12px;gap:0}
.discovery-query input{border:0!important;background:transparent!important;box-shadow:none!important;height:40px;min-height:40px;padding:8px 38px 8px 12px;border-radius:12px;font-size:14px;width:100%;outline-offset:2px}
.search-submit{position:absolute;right:3px;top:2px;width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;color:#075940;border-radius:9px;padding:4px}
.search-submit:hover{background:#e2eee8}
.topbar .discovery-location .button{min-height:32px;height:32px;padding:4px 10px;border-radius:9px;font-size:12px;line-height:1.4}
.topbar .discovery-location .hm-icon{width:15px;height:15px}
.topbar .icon-link{width:40px;height:40px;display:grid;place-items:center;flex:none;margin:0}
.search-suggestions{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:80;background:white;border:1px solid #dbe6df;border-radius:14px;box-shadow:0 12px 36px #16382e24;max-height:340px;overflow:auto;padding:5px}
.search-suggestion{display:flex;justify-content:space-between;gap:12px;padding:11px 10px;border-radius:9px;color:#10342d;font-size:14px;line-height:1.4}
.search-suggestion span{overflow-wrap:anywhere;min-width:0}.search-suggestion small{white-space:nowrap;flex:none;font-size:10px;padding-top:3px;color:#657b74}
.search-suggestion:hover,.search-suggestion[aria-selected=true]{background:#edf4ef;text-decoration:none}
.browse-page .main{padding-top:14px}.business-banner-home{width:100%;margin:0 0 16px;border-radius:12px;overflow:hidden;aspect-ratio:2.35/1;background:#f1f5f3;max-height:none}
.business-banner-home .ad-banner-image{display:block;width:100%;height:100%}.business-banner-home img{width:100%;height:100%;max-height:none;object-fit:contain;background:#f1f5f3}
.browse-title{font-size:21px;margin-bottom:12px}.home-categories{gap:8px;padding-bottom:20px}
.category-grid .category,.category-row .category{background:white;border:0;box-shadow:none;white-space:normal;min-width:0;gap:6px}
.trade-photo{display:inline-flex;align-items:center;justify-content:center;width:64px;height:62px;border-radius:15px;background:#f5f7f6;flex:none;overflow:hidden}
.trade-photo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.home-categories .category{padding:3px 1px;min-height:94px;font-size:12px;line-height:1.4}
.home-categories .category strong{font-weight:650}.category-group-button .trade-photo{width:46px;height:46px}
.work-media{margin-bottom:10px;min-width:0}.work-media-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;border-radius:13px;background:#f5f7f6}
.work-media-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;display:flex;align-items:center;justify-content:center}
.work-media-slide .listing-cover,.work-media-slide .work-video{width:100%;height:360px;aspect-ratio:4/3;object-fit:contain;margin:0;border-radius:0;background:#f5f7f6}
.work-media-slide .work-video{background:#10211c}.work-media-tabs{display:flex;justify-content:center;gap:8px;margin:7px 0 0}
.work-media-tabs .button{font-size:12px;padding:5px 12px;min-height:32px}.listing-actions{margin-top:12px}
.listing-detail h1{margin-top:16px}.listing-reviews .listing-review{padding:10px 12px;margin:8px 0;border-radius:11px;background:#f8faf9;font-size:13px}
.listing-review .review-byline{gap:8px}.listing-review time{font-size:10px}.listing-review p{max-height:160px;overflow:auto;line-height:1.5}
.listing-reviews .review-overview{gap:12px}.listing-reviews .review-overview>strong{font-size:28px}.related-section{margin-top:26px}.related-section h2{font-size:22px}
.related-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.related-grid .work-card{min-width:0}.related-grid .card-body{padding:12px}.related-grid .card-body h3{font-size:15px}.related-grid .card-body p{font-size:12px}
@media(min-width:701px){.browse-page .brand-name{display:none}.topbar .discovery-search{max-width:900px}.work-media-track:has(.work-media-slide:nth-child(2)){display:grid;grid-template-columns:1fr 1fr;overflow:hidden}.work-media-slide .listing-cover,.work-media-slide .work-video{height:320px}.work-media-tabs{display:none}}
@media(max-width:700px){
 .browse-page .topbar .topline{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;column-gap:8px;row-gap:0;padding-block:10px;padding-inline:14px;align-items:start}
 .browse-page .topbar .brand{padding-top:2px}.browse-page .brand-name{display:none}.browse-page .brand-mark{width:36px;height:36px;border-radius:10px}
 .browse-page .topbar .discovery-search{display:grid;grid-column:2;grid-row:1;position:static;gap:7px}
 .browse-page .topbar .icon-link{grid-column:3;grid-row:1;width:36px;height:40px;justify-self:end}
 .browse-page .topbar .header-saved{display:none}.browse-page .topbar .notice-bell{display:grid}
 .browse-page .topbar .discovery-location{margin-left:-44px;width:calc(100% + 88px);gap:7px}
 .browse-page .topbar .gps-label{margin-left:-44px;font-size:11px;margin-bottom:0}
 .topbar .discovery-location .button{height:32px;min-height:32px;padding:4px 9px}
 .discovery-query input{height:38px;min-height:38px;font-size:13px;padding-left:10px}.search-submit{height:34px;width:32px}
 .browse-page .main{padding-top:12px}.business-banner-home{width:100%;margin-inline:0;aspect-ratio:2.35/1;border-radius:11px;margin-bottom:14px}
 .home-categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 7px}.trade-photo{width:60px;height:60px}.home-categories .category{min-height:90px}
 .related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.related-grid .card-body{padding:10px}.related-grid .badge{font-size:10px}
 .work-media-slide .listing-cover,.work-media-slide .work-video{height:280px}.detail-layout{gap:15px}.listing-detail{padding:14px}.listing-detail h1{font-size:25px}
 .compact-header-page .topbar .topline{padding-block:9px}.compact-header-page .brand-name{font-size:18px}.compact-header-page .brand small{font-size:8px}
}
@media(max-width:350px){.trade-photo{width:54px;height:54px}.home-categories .category{font-size:11px}.work-media-slide .listing-cover,.work-media-slide .work-video{height:240px}}

.service-list .trade-photo{width:46px;height:46px;border-radius:10px}.service-list>a{min-height:68px}.category .trade-photo{margin-inline:auto}

/* v15 profile tools and accessible single-slide gallery */
.detail-layout{display:block}.work-heading-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
.worker-mini{display:flex;align-items:center;gap:9px;min-width:0}.worker-mini>img,.worker-mini>.avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:none}.worker-mini>span{min-width:0}.worker-mini strong{display:block;font-size:15px;overflow-wrap:anywhere}.worker-mini small{font-size:11px}
.save-heart{display:grid;place-items:center;width:42px;height:42px;border:1px solid #dbe6df;border-radius:50%;background:white;color:#075940;font-size:29px;line-height:1}.save-heart[aria-pressed=true]{color:#d74664;background:#fff0f3;border-color:#f7cbd5}
.work-media{position:relative}.listing-detail .work-media-track{position:relative;display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scrollbar-width:none;cursor:grab}.work-media-track::-webkit-scrollbar{display:none}.work-media-slide{flex:0 0 100%;scroll-snap-stop:always}.work-media-slide img{user-select:none;-webkit-user-drag:none}
.media-arrow{position:absolute;top:calc(50% - 30px);z-index:2;width:34px;height:40px;display:grid;place-items:center;border:1px solid #ffffffbd;border-radius:20px;background:#133c31cf;color:white;font-size:30px;line-height:1;box-shadow:0 2px 9px #0003;padding:0}.media-arrow-prev{left:8px}.media-arrow-next{right:8px}.media-arrow:hover{background:#075940}
.media-dots{display:flex;justify-content:center;align-items:center;gap:3px;padding:5px 0 0}.media-dots button{width:24px;height:24px;border:0;background:transparent;position:relative;padding:0}.media-dots button:after{content:'';position:absolute;left:8px;top:8px;width:8px;height:8px;border-radius:50%;background:#bdcbc5}.media-dots button[aria-current=true]:after{background:#075940;width:16px;left:4px;border-radius:8px}
.related-grid>.business-banner{grid-column:1/-1;width:100%;margin:8px 0 12px;aspect-ratio:2.35/1;border-radius:12px;overflow:hidden}.related-grid>.business-banner a,.related-grid>.business-banner img{width:100%;height:100%;object-fit:contain;max-height:none}.listing-actions .button:disabled{cursor:default;opacity:.65}

/* v16: edge-to-edge short-form video advertisement */
dialog.sponsored-video{position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none;overflow:hidden;background:#101310}
dialog.sponsored-video .sponsored-stage{position:relative;width:100%;height:100%;overflow:hidden;border-radius:0}
dialog.sponsored-video .sponsored-stage>video{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;border-radius:0}
dialog.sponsored-video .ad-video-sound{top:calc(12px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px))}
dialog.sponsored-video .ad-video-skip{right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px))}
dialog.sponsored-video .ad-video-end,dialog.sponsored-video .ad-video-fallback{padding:calc(20px + env(safe-area-inset-top,0px)) 20px calc(20px + env(safe-area-inset-bottom,0px))}
html:has(dialog.sponsored-video[open]),body:has(dialog.sponsored-video[open]){overflow:hidden;overscroll-behavior:none}

/* v17: one responsive image-banner frame across all placements */
body .business-banner,body .business-banner-home,body .business-banner-compact,body .related-grid>.business-banner{display:block;position:relative;width:100%;max-width:600px;height:auto;min-height:0;max-height:none;aspect-ratio:1175 / 500;overflow:hidden;margin:12px auto;border-radius:12px;background:#edf4ef;padding:0}
body .business-banner>.ad-banner-image{display:block;width:100%;height:100%;border-radius:inherit;overflow:hidden}
body .business-banner img,body .related-grid>.business-banner img{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center;border-radius:inherit}
.banner-crop{padding:12px;border:1px solid var(--line);border-radius:12px;margin-top:10px}.ad-crop-frame{aspect-ratio:1175 / 500;position:relative;overflow:hidden;max-width:600px;margin:auto;background:#edf4ef;border-radius:10px}.ad-crop-frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}.banner-crop input[type=range]{width:100%;padding:0;margin:8px 0;accent-color:#075940}.banner-crop label{display:block;font-size:12px;margin-top:8px}
.related-grid{align-items:start}.related-grid>.work-card{align-self:start;border-radius:13px;min-height:0;overflow:hidden}.related-grid .card-image{height:110px;aspect-ratio:auto;min-height:0}.related-grid .card-body{padding:9px;min-width:0}.related-grid .card-body .eyebrow{font-size:9px;line-height:1.2;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 4px}.related-grid .card-body h3{font-size:13px;line-height:1.25;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.related-grid .card-body p{font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 5px}.related-grid .card-body .badge{font-size:9px;line-height:1.3;padding:3px 6px;margin:0;display:inline-block}
@media(max-width:700px){.related-grid .card-image{height:82px}.related-grid .card-body{padding:8px}}

.house-type-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.house-ad-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}.house-ad-card{min-width:0}.house-ad-card h2{font-size:19px;margin-top:12px}.house-banner-preview{width:100%;aspect-ratio:1175/500;object-fit:cover;border-radius:10px}.house-ad-card video{width:100%;max-height:260px;background:#10342d;border-radius:10px}.house-ad-metrics{display:flex;gap:25px;margin:15px 0}.house-ad-metrics strong{display:block;font-size:25px}.house-ad-metrics span{font-size:12px;color:#657b74}@media(max-width:700px){.house-ad-grid{grid-template-columns:1fr}}
