/* Rose surfaces separate the controls from the pale map. */
:root{
 --shell:#522d3c;--surface:#6b394c;--ink:#ffffff;--muted:#f2e4e9;
 --pink:#984c69;--pink-deep:#452131;--pink-container:#80415a;--pink-soft:#784055;
 --line:#512637;--shadow:0 5px 22px #6336471a;
 --selected:#8a4662;--selected-border:#3f1b2b;
}
.app-header{border:0;box-shadow:none}
.brand-caption,.header-middle,.rail-word,.welcome,.tiny-flower{color:var(--muted)}
.discovery-panel,.master-card,.empty-state,.utility-dialog,.profile-dialog{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.master-card.selected{background:var(--selected);border:2px solid var(--selected-border);padding:17px;box-shadow:0 0 0 3px #3f1b2b17,0 5px 20px #6336471a}
.search-box{background:#593041;border:1px solid var(--line)}
.search-box:focus-within{background:#633548;border-color:var(--selected-border);box-shadow:0 0 0 3px #3f1b2b1c}
.search-box input::placeholder,.search-box>i{color:var(--muted)}
.category-row .category-grid>button,.quick-filters>button,.category-row>.filter-button,
.date-tabs button,.time-tabs button,.time-button,.filter-buttons>button,.favorite,.profile-button,
.help-button,.results-tools>button,.locate-button,.master-entry,.close-dialog{border:1px solid var(--line);background:#754057;color:var(--ink)}
.category-row .category-grid>button.active,.quick-filters>button.active,
.date-tabs button.active,.time-tabs button.active,.favorite.saved,.nav-item.active>span{
 background:var(--selected);border:2px solid var(--selected-border);color:var(--ink);box-shadow:0 2px 5px #69324815;
}
.category-row .category-grid>button>span,.category-row .category-grid>button.active>span{color:inherit}
.nav-item>span{border:1px solid var(--line)}
.nav-item{color:var(--muted)}
.nav-item.active{color:var(--ink);font-weight:800}
.nav-item:hover>span{background:var(--pink-container)}
.primary-action,.book-action,.search-area,.search-box button{background:var(--pink);border:1px solid var(--pink-deep);color:white}
.master-card.selected .time-button{background:var(--pink);border-color:var(--pink-deep);color:white}
.master-card .card-detail,.master-card .card-trust,.person-button small,.profile-bio,.profile-name p{color:var(--muted)}
.card-bottom,.circle-note,.filter-row,.service-choice{border-color:var(--line)}
.zoom-controls{border:1px solid var(--line)}
.zoom-controls button{background:var(--surface);color:var(--ink)}
.zoom-controls button:first-child{border-color:var(--line)}
.locate-button{background:var(--surface)}
.results-heading>div:first-child,.demo-label{background:var(--surface);border:1px solid var(--line)}
.results-heading h2>span,.nav-item>span b,.filter-button b{background:var(--pink);color:white}
.sheet-handle span{background:var(--selected-border)}
.toast{background:var(--surface);border:1px solid var(--line);color:var(--ink)}
.avatar-marker .pin-body{background:#e5c5d1;border-color:#bc8a9e}
.avatar-marker.is-selected .pin-body{background:var(--pink);border-color:var(--pink-deep);box-shadow:0 0 0 5px #3f1b2b26,0 5px 14px #69394b35}
button:focus-visible,a:focus-visible,input:focus-visible{outline-color:var(--ink)}
@media(max-width:760px){
 .navigation{background:var(--shell);border-color:var(--line)}
 .discovery-panel{background:transparent;border:0;box-shadow:none}
 .category-row,.results-dock{background:var(--surface);border:1px solid var(--line)}
 .results-dock{border-bottom:0}
 .master-card{background:#713b51;border:1px solid var(--line)}
 .master-card.selected{padding:13px;background:var(--selected);border:2px solid var(--selected-border)}
 .results-heading>div:first-child{background:none;border:0}
 .category-row .category-grid{background:none}
 .sheet-handle{background:none;border:0}
}

.master-entry{border-radius:var(--radius-ui)}
input[type="checkbox"],input[type="range"]{accent-color:var(--pink)}

/* White copy on muted burgundy surfaces, including selected controls. */
.brand-dot,h1>span,.circle-note b,.circle-note>i,.demo-label,.results-tools:after,.rating .icon{color:var(--muted)}
.category-row .category-grid>button,.quick-filters>button.active,.nav-item.active,.favorite.saved,.date-tabs button.active,.time-tabs button.active{color:var(--ink)}
.sheet-handle span{background:#dfb5c7}
button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#f3c9db}
.profile-cover>span,.trust-stats,.service-choice,.booking-item{background:var(--surface);color:var(--ink);border-color:var(--line)}
.maplibregl-ctrl-attrib{color:#66505a!important}

/* Fade the scrolling categories, leaving the filters button outside the mask. */
.category-row .category-grid{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--fade-left,0px),#000 calc(100% - var(--fade-right,22px)),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 var(--fade-left,0px),#000 calc(100% - var(--fade-right,22px)),transparent 100%)}
.favorite{display:grid;place-items:center;padding:0;flex-shrink:0;line-height:1;border-radius:var(--radius-ui)}
.favorite .icon{display:block;width:18px;height:18px;margin:0;overflow:visible}
.favorite.saved .icon{fill:currentColor;stroke:currentColor}
.map-actions{transform:translateY(-50%)}

.carousel-row{display:flex;align-items:stretch;gap:12px;min-width:0}
.carousel-row>.master-cards{flex:1;min-width:0}
.carousel-arrows{display:flex;flex-direction:column;gap:8px;flex:0 0 42px;padding:2px 0 8px;pointer-events:auto}
.carousel-arrows>button{display:grid;place-items:center;flex:1;min-height:0;width:42px;padding:0;border-radius:var(--radius-ui);background:var(--surface);border:1px solid var(--line);color:var(--ink)}
.carousel-arrows>button:hover:not(:disabled){background:var(--selected);border-color:var(--selected-border)}
.carousel-arrows .icon{width:20px;height:20px}
@media(max-width:760px){.carousel-row{display:contents}.carousel-arrows{display:none}}

/* Match the visible bottom card edge to the filter panel's top inset. */
@media(min-width:761px){
 .workspace{--panel-inset:22px}
 .results-dock{left:var(--panel-inset);right:var(--panel-inset);bottom:calc(var(--panel-inset) - 8px)}
 .maplibregl-ctrl-bottom-right .maplibregl-ctrl{margin:0 4px 2px 0}
}
@media(min-width:1550px){.workspace{--panel-inset:28px}}
@media(min-width:761px) and (max-width:1150px){.workspace{--panel-inset:17px}}

/* Do not stretch the horizontal carousel to the full expanded sheet height. */
@media(max-width:760px){
 .carousel-row>.master-cards{flex:0 0 auto}
 .sheet-expanded .carousel-row>.master-cards{flex:1;min-height:0}
}

/* Light mobile cards keep the selected master distinct on the wine sheet. */
@media(max-width:760px){
 .master-card:not(.selected){--ink:#3e202d;--muted:#583342;background:#e5c5d1;border-color:#bc8a9e;color:#3e202d}
 .master-card:not(.selected) .card-detail,
 .master-card:not(.selected) .card-trust,
 .master-card:not(.selected) .person-button small,
 .master-card:not(.selected) .rating .icon{color:#583342}
 .master-card:not(.selected) .rating,
 .master-card:not(.selected) .card-price,
 .master-card:not(.selected) .card-price b,
 .master-card:not(.selected) .person-button strong{color:#3e202d}
 .master-card:not(.selected) .card-bottom{border-color:#bc8a9e}
 .master-card:not(.selected) .favorite{background:#fbeff3;border-color:#c593a6;color:#80415a}
 .master-card:not(.selected) .favorite.saved{background:var(--selected);border-color:var(--selected-border);color:#fff}
 .master-card .time-button{background:#71384f;border-color:#512637;color:#fff;font-weight:800}
 .master-card .time-button:hover{background:#5e2c40}
 .master-card.selected .time-button{background:#f5d6b8;border-color:#c99577;color:#452330}
 .master-card.selected .time-button:hover{background:#ffe5cb}
 .master-card:not(.selected) button:focus-visible{outline-color:#80415a}
}

/* Consistent compact mobile controls, with a larger favorite touch target. */
@media(max-width:760px){
 .profile-button,.search-box button,.category-row>.filter-button,.locate-button,.zoom-controls button{
  box-sizing:border-box;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border-radius:var(--radius-ui);
 }
 .category-row>.filter-button{flex-basis:36px}
 .map-actions .icon{width:19px;height:19px}
 .sheet-expanded .map-actions{display:none}
 .master-card .favorite{width:44px;height:44px;min-width:44px;min-height:44px}
 .master-card .favorite .icon{width:23px;height:23px}
}


/* Compact sheet heading and gesture-linked filter relocation. */
@media(max-width:760px){
 .results-dock .sheet-handle{height:20px;min-height:20px}
 .results-dock .results-heading{padding:0 0 7px;width:100%}
 .results-dock .results-heading>div:first-child{width:100%;min-width:0}
 .results-dock .results-heading h2{width:max-content;max-width:100%;flex-wrap:nowrap;white-space:nowrap;transform:translate3d(var(--heading-shift,0px),0,0);transition:transform 240ms cubic-bezier(.22,1,.36,1)}
 .results-dock .results-heading p{max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
 .category-row{transform:translate3d(0,var(--filters-shift,0px),0);transition:transform 240ms cubic-bezier(.22,1,.36,1)}
 .sheet-dragging .category-row,.sheet-dragging .results-heading h2{transition:none}
}
@media(prefers-reduced-motion:reduce){
 .category-row,.results-dock .results-heading h2{transition:none!important}
}

@media(max-width:760px){.master-card{transform-origin:top left}}

/* Scrub card geometry and location visibility with the sheet gesture. */
@media(max-width:760px){
 .card-morph-overlay{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:2}
 .card-morph-overlay .master-card{visibility:visible!important}
 .map-actions,.sheet-expanded .map-actions{display:grid;opacity:var(--location-opacity,1);transition:opacity 240ms cubic-bezier(.22,1,.36,1)}
 .sheet-expanded .map-actions{pointer-events:none}
 .sheet-dragging .map-actions{transition:none}
}
@media(prefers-reduced-motion:reduce){.map-actions{transition:none!important}}

/* Profile grows from its source card and follows downward dismissal gestures. */
.profile-dialog{transform-origin:top left;color:#fff}
.profile-dialog::backdrop{opacity:var(--profile-dim,1);transition:opacity 240ms cubic-bezier(.22,1,.36,1)}
.profile-dialog .trust-stats b{color:#fff}
.profile-dialog .trust-stats>span,.profile-dialog .profile-bio,.profile-dialog .profile-name p,.profile-dialog .service-choice small{color:#fff0f5}
.profile-dialog .address-line{background:#e5c5d1;color:#452330;border:1px solid #bc8a9e}
.profile-drag-handle{display:none}
@media(max-width:760px){
 .profile-drag-handle{display:grid;place-items:center;position:absolute;top:0;left:60px;right:60px;height:28px;z-index:2;touch-action:none}
 .profile-drag-handle span{width:36px;height:4px;border-radius:4px;background:#fff;box-shadow:0 1px 5px #45233080}
 .profile-cover,.profile-name{touch-action:none}
 .profile-cover img{pointer-events:none;user-select:none}
}
@media(prefers-reduced-motion:reduce){.profile-dialog::backdrop{transition:none}}

.profile-dialog.profile-dragging::backdrop{transition:none}

.address-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.address-actions[hidden]{display:none}
.address-actions>button,.address-actions>a{display:inline-flex;align-items:center;gap:6px;padding:10px 12px;border:1px solid #bc8a9e;border-radius:var(--radius-ui);background:#e5c5d1;color:#452330;font-size:11px;font-weight:700;text-decoration:none}
.address-actions .icon{width:15px;height:15px}
.address-copy-status{flex-basis:100%;font-size:11px;color:#fff0f5}
.address-copy-status:empty{display:none}
.address-line[aria-expanded=true]>.icon:last-child{transform:rotate(90deg)}

.service-options{display:grid;gap:8px}
.service-options .service-choice{width:100%;text-align:left;min-height:64px;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-ui)}
.service-options .service-choice.active{background:var(--selected);border:2px solid #e5c5d1;padding:11px 13px}
.service-options .service-choice b{white-space:nowrap}
.profile-dialog .date-tabs,.profile-dialog .time-tabs{display:flex;flex-wrap:wrap;gap:8px}

/* Wide desktop profile: photography left, booking right. */
.profile-gallery{position:relative;background:#452330;overflow:hidden}
.gallery-track{display:flex;width:100%;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x;outline-offset:-4px}
.gallery-track::-webkit-scrollbar{display:none}
.gallery-track>img{flex:0 0 100%;width:100%;min-width:100%;height:100%;object-fit:cover;scroll-snap-align:start;pointer-events:auto;user-select:none}
.gallery-controls{position:absolute;bottom:90px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.gallery-controls button{display:grid;place-items:center;width:38px;height:38px;border-radius:var(--radius-ui);background:#522d3ce8;color:white;border:1px solid #e5c5d180;pointer-events:auto}
.gallery-controls>span{padding:7px 12px;border-radius:var(--radius-ui);background:#522d3cdd;color:#fff;font-size:12px}
.gallery-thumbs{position:absolute;bottom:18px;left:20px;right:20px;display:flex;gap:8px;justify-content:center}
.gallery-thumbs button{width:56px;height:56px;flex-shrink:0;padding:0;border-radius:var(--radius-ui);overflow:hidden;border:2px solid transparent;background:#522d3c}
.gallery-thumbs button[aria-pressed=true]{border-color:#fff}
.gallery-thumbs img{width:100%;height:100%;object-fit:cover}
@media(min-width:761px){
 .profile-dialog{width:min(1160px,calc(100vw - 64px));max-width:none;max-height:90dvh;overflow:hidden;border-radius:var(--radius-ui)}
 .profile-dialog[open]:has(.profile-gallery){display:grid;grid-template-columns:minmax(0,0.95fr) minmax(0,1.05fr);height:min(850px,90dvh)}
 .profile-gallery{height:100%;min-height:0}
 .profile-dialog .profile-content{overflow-y:auto;min-height:0;padding:34px 32px 28px;scrollbar-width:thin}
 .profile-dialog .profile-name{padding-right:24px}
 .profile-dialog .profile-name h2{font-size:28px}
 .profile-dialog .profile-bio{font-size:13px}
 .profile-dialog .service-options{gap:10px}
 .profile-dialog .book-action{position:sticky;bottom:0;box-shadow:0 8px 20px #45233055}
}
@media(max-width:760px){
 .profile-gallery{height:250px;touch-action:pan-x}
 .gallery-track{touch-action:pan-x}
 .gallery-controls{bottom:62px;left:14px;right:14px}
 .gallery-thumbs{bottom:12px;gap:6px}
 .gallery-thumbs button{width:40px;height:40px;border-radius:var(--radius-ui)}
}

.profile-dialog,.profile-dialog .profile-content{scrollbar-width:thin;scrollbar-color:#c693a9 #6b394c}

.master-card{cursor:pointer}
@media(min-width:761px){
 .discovery-panel{width:370px}
 .discovery-panel h1 .headline-row{display:flex;justify-content:space-between;white-space:nowrap;letter-spacing:0;color:var(--ink);width:100%}
 .headline-row>span{display:block}
}
@media(min-width:1550px){.discovery-panel{width:400px}}
@media(min-width:761px) and (max-width:1150px){.discovery-panel{width:335px}}

@media(min-width:761px){.discovery-panel h1 .headline-row{display:block;text-align:center;letter-spacing:-1.5px}}

/* Compact, vertically aligned filter labels; overflow remains swipeable. */
.category-row .category-grid{gap:5px}
.category-row .category-grid>button{min-width:0;gap:4px;padding:0 11px;line-height:1;align-items:center;justify-content:center}
.category-row .category-grid>button>span{display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1}
.category-row .category-grid>button i{display:flex;align-items:center;justify-content:center;line-height:1}
.category-row .category-grid>button .icon{display:block;width:16px;height:16px}
@media(max-width:760px){
 .category-row{gap:5px}
 .category-row .category-grid>button{min-width:0;padding:0 10px;gap:4px}
 .sheet-collapsed .results-dock .sheet-handle{height:16px;min-height:16px}
}
/* Let cards reach the navigation edge without a resting-state spacer. */
@media(max-width:760px){
 .results-dock,.sheet-expanded .results-dock{padding-bottom:0}
 .navigation{border-radius:var(--radius-ui) var(--radius-ui) 0 0;border-top:0;isolation:isolate;background:var(--surface)}
 .navigation::before{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--shell);z-index:-1;pointer-events:none}
}
@media(max-width:760px){
 .navigation::after{content:"";position:absolute;inset:0;background:var(--surface);z-index:-2;pointer-events:none}
}

@media(max-width:760px){
 .results-dock,.sheet-expanded .results-dock{border:0}
 .results-dock::before{content:"";position:absolute;top:0;left:0;right:0;height:var(--radius-ui);border:1px solid var(--line);border-bottom:0;border-radius:var(--radius-ui) var(--radius-ui) 0 0;pointer-events:none;z-index:3}
 .sheet-dragging .category-row,.sheet-dragging .results-heading h2{will-change:transform}
 .card-morph-overlay .master-card{will-change:transform}
}

/* Dense pins become individual compact dots; their map anchors do not move. */
.avatar-marker .pin-dot{position:absolute;left:19px;bottom:-12px;width:24px;height:24px;display:grid;place-items:center;opacity:0;transform:scale(.5);pointer-events:none;transition:opacity 180ms,transform 180ms cubic-bezier(.22,1,.36,1)}
.avatar-marker .pin-dot::before{content:"";width:12px;height:12px;border-radius:50%;background:#984c69;border:2px solid #fff3f8;box-shadow:0 2px 5px #45233040}
.avatar-marker .pin-body,.avatar-marker .pin-check,.avatar-marker .pin-shadow{transition:opacity 180ms}
#map .avatar-marker.is-compact{pointer-events:none}
.avatar-marker.is-compact .pin-body,.avatar-marker.is-compact .pin-check,.avatar-marker.is-compact .pin-shadow{opacity:0;pointer-events:none}
.avatar-marker.is-compact .pin-dot{opacity:1;transform:scale(1);pointer-events:auto}
.avatar-marker.is-compact:hover .pin-dot::before{background:#522d3c}
@media(prefers-reduced-motion:reduce){.avatar-marker .pin-dot,.avatar-marker .pin-body,.avatar-marker .pin-check,.avatar-marker .pin-shadow{transition:none}}

/* High-contrast, bounded-size master groups stand apart from metro labels. */
#map .avatar-marker[hidden]{display:none}
.master-cluster{width:var(--cluster-size);height:var(--cluster-size);padding:0;display:grid;place-items:center;border-radius:50%;background:#462033;color:#fff;border:3px solid #fff5fa;box-shadow:0 0 0 1px #462033,0 3px 9px #32102155;cursor:pointer;font:800 13px 'Onest',sans-serif;z-index:3}
.master-cluster span{pointer-events:none}
.master-cluster:hover{background:#702c4b}
.master-cluster:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* Mobile profile: quiet gallery controls and no visible scrollbars. */
@media(max-width:760px){
 .profile-dialog .gallery-thumbs,.profile-dialog #gallery-count{display:none}
 .profile-dialog .gallery-controls{top:25%;bottom:auto;left:12px;right:12px;height:50%}
 .profile-dialog .gallery-controls button{width:28px;height:100%;padding:0;border-radius:var(--radius-ui)}
 .profile-dialog .gallery-controls button svg{width:18px;height:18px}
 .profile-dialog,.profile-dialog *{scrollbar-width:none}
 .profile-dialog::-webkit-scrollbar,.profile-dialog *::-webkit-scrollbar{display:none}
}

.map-scale-info{position:absolute;top:calc(100% + 9px);right:0;width:max-content;max-width:220px;padding:6px 9px;border-radius:var(--radius-ui);background:#522d3cf2;color:#fff;font-size:10px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;text-transform:none;pointer-events:none;box-shadow:0 2px 8px #45233022}

/* Mobile map controls follow the sheet's transform, including direct dragging. */
@media(max-width:760px){
 .map-actions,.sheet-expanded .map-actions{top:auto!important;bottom:var(--sheet-controls-base);right:14px;justify-items:end;transform:translate3d(0,calc(var(--sheet-shift,0px) - var(--controls-filter-lift,0px)),0);transition:transform 240ms cubic-bezier(.22,1,.36,1),opacity 240ms cubic-bezier(.22,1,.36,1)}
 .map-actions .map-scale-info{position:static;margin:0;max-width:220px}
 .sheet-dragging .map-actions{transition:none;will-change:transform,opacity}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){.map-actions{transition:none}}

@media(max-width:760px){
 html,body{touch-action:pan-x pan-y}
 input,textarea,select,[contenteditable="true"],#search{font-size:16px}
}

:root{--ui-font:'Onest'}
body,body *{font-family:var(--ui-font),Arial,sans-serif!important}

.gallery-review{display:none}
@media(min-width:761px){
 .profile-gallery .gallery-controls{bottom:20px;left:20px;right:20px;display:grid;grid-template-columns:38px auto minmax(0,1fr) 38px;gap:10px;z-index:3}
 .gallery-controls [data-gallery-step="1"]{grid-column:4}
 .profile-gallery .gallery-controls button{background:#45233066;backdrop-filter:blur(10px);border-color:#ffffff66}
 .profile-gallery #gallery-count{padding:7px 8px;background:#45233066;white-space:nowrap;backdrop-filter:blur(10px)}
 .profile-gallery #gallery-review-toggle{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;padding:0 10px;font-size:12px;text-transform:none}
 .profile-gallery .gallery-track{transition:filter 220ms ease}
 .profile-gallery.review-open .gallery-track{filter:blur(10px)}
 .gallery-review{position:absolute;inset:22px 20px 76px;z-index:2;padding:24px;display:flex;flex-direction:column;gap:20px;background:#452330b8;border:1px solid #ffffff33;border-radius:var(--radius-ui);color:#fff;text-transform:none;overflow:hidden}
 .gallery-review h3{padding-right:30px;font-size:20px}
 #gallery-review-close{position:absolute;right:14px;top:14px;width:36px;height:36px;display:grid;place-items:center;border-radius:var(--radius-ui);background:#ffffff20}
 .gallery-review-text{min-height:0;overflow-y:auto;overscroll-behavior:contain;white-space:pre-line;font-size:16px;line-height:1.75;padding-right:8px;scrollbar-width:thin;scrollbar-color:#e5c5d1 transparent}
}

@media(prefers-reduced-motion:reduce){.profile-gallery .gallery-track{transition:none}}
/* Profile booking layout and floating surfaces. */
.profile-name>div{min-width:0;flex:1}.profile-name h2{overflow-wrap:anywhere}
.profile-name .profile-route{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;padding:10px;border-radius:var(--radius-ui);background:#e5c5d1;color:#452330;font-size:11px;font-weight:700}
.profile-route .icon{width:16px;height:16px}
.profile-booking-footer{padding-top:18px;background:var(--surface)}
.profile-booking-footer .book-action{margin:0!important;width:100%}
.profile-dialog .service-options{display:flex;flex-wrap:wrap;gap:8px}
.profile-dialog .service-choice{display:flex;justify-content:space-between;align-items:center;flex:1 1 calc(50% - 4px);min-width:min(100%,var(--service-min,100%));width:auto}
.service-choice>span{min-width:0}.service-choice>span>span{overflow-wrap:anywhere}
.profile-dialog .date-tabs,.profile-dialog .time-tabs{justify-content:center;gap:8px}
.profile-dialog .date-tabs>button,.profile-dialog .time-tabs>button{flex:0 0 calc((100% - 40px)/6);width:calc((100% - 40px)/6);min-width:0;height:40px;padding:0 2px;display:flex;align-items:center;justify-content:center;font-size:10px;white-space:nowrap;border-radius:var(--radius-ui)}
#booking-calendar .icon{width:19px;height:19px}
.profile-floating-layer{position:absolute;inset:0;z-index:30;display:grid;place-items:center;isolation:isolate}
.profile-layer-scrim{position:absolute;inset:0;width:100%;height:100%;border:0;background:#321b2a55;backdrop-filter:blur(7px);cursor:default}
.profile-floating-panel{position:relative;width:min(390px,calc(100% - 32px));max-height:calc(100% - 32px);overflow-y:auto;overscroll-behavior:contain;padding:24px;border-radius:var(--radius-ui);border:1px solid #c593a6;background:#6b394c;color:white;box-shadow:0 16px 50px #25101f66;text-transform:none}
.route-layer .profile-floating-panel{position:absolute;width:max-content;max-width:calc(100% - 24px)}
.floating-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.floating-title h3{font-size:20px;line-height:1.3;margin:0!important}.floating-title small{display:block;font-size:11px;color:#f2dce5;margin-bottom:6px}
.floating-title>button{width:32px;height:32px;flex-shrink:0;border-radius:var(--radius-ui);display:grid;place-items:center;background:#ffffff15}
.route-address{font-size:13px;line-height:1.6;margin:0 0 18px}
.route-actions{display:grid;gap:8px}.route-actions>a,.route-actions>button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;border-radius:var(--radius-ui);background:#e5c5d1;color:#452330;text-decoration:none;font-size:13px;font-weight:600}
.route-actions .icon{width:18px;height:18px}.route-layer .address-copy-status{display:block;margin-top:12px}
.calendar-month{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.calendar-month strong{text-transform:capitalize;font-size:15px}
.calendar-month button,.calendar-back{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:var(--radius-ui);background:#ffffff10;padding:8px}
.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.calendar-week{font-size:11px;color:#e5c5d1;margin-bottom:8px}
.calendar-grid button{aspect-ratio:1;min-height:34px;border-radius:var(--radius-ui);background:#e5c5d1;color:#452330;font-size:13px;font-weight:700;border:1px solid transparent}
.calendar-grid button:disabled{background:transparent;color:#ddc2ce;opacity:.4;cursor:default}.calendar-grid button.active{background:#f5d6b8;border-color:#fff}
.calendar-hint{font-size:11px;color:#f2dce5;margin:16px 0 0}
.calendar-back{font-size:12px;margin-bottom:18px}.calendar-times{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.calendar-times button{min-width:72px;height:42px;padding:0 12px;border-radius:var(--radius-ui);background:#e5c5d1;color:#452330;font-weight:700}
@media(min-width:761px){
 .profile-dialog .profile-content{display:flex;flex-direction:column;overflow:hidden;padding:0;min-height:0}
 .profile-scroll{flex:1;min-height:0;overflow-y:auto;padding:32px 28px 18px;scrollbar-width:thin;scrollbar-color:#c693a9 #6b394c}
 .profile-booking-footer{flex-shrink:0;padding:16px 28px 24px;border-top:0}
 .profile-dialog .profile-booking-footer .book-action{position:static;box-shadow:none}
 .profile-dialog .profile-name{padding-right:0;gap:10px}
 .profile-dialog .profile-name h2{font-size:clamp(20px,1.65vw,28px)}
 .profile-scroll{padding-top:48px}
}
@media(max-width:760px){
 .profile-name{gap:8px}.profile-dialog .profile-name h2{font-size:19px}
 .profile-name .profile-route{padding:9px 7px;font-size:10px}.profile-route .icon{width:14px;height:14px}
 .profile-booking-footer{position:sticky;bottom:0;padding-bottom:8px;z-index:2}
 .profile-dialog .date-tabs>button,.profile-dialog .time-tabs>button{font-size:9px}
 .profile-floating-layer{position:fixed}
}
/* Profile refinement: photo provenance, compact header and independent services. */
.gallery-source{position:absolute;top:18px;left:18px;z-index:2;padding:7px 10px;border-radius:var(--radius-ui);background:#45233088;color:#fff;font-size:11px;font-weight:600;text-transform:none;backdrop-filter:blur(8px);pointer-events:none}
.profile-gallery #gallery-count,.profile-gallery #gallery-review-toggle,.profile-gallery .gallery-review{border:0;box-shadow:none}
.gallery-rating{display:flex;align-items:center;gap:4px;color:#fff;white-space:nowrap;font-size:13px}
.gallery-rating .icon{width:30px;height:30px}.gallery-rating b{font-weight:700}
.profile-dialog .profile-name{display:flex;align-items:center;gap:10px;padding:0;margin:0}
.profile-name>div{flex:1;min-width:0}.profile-dialog .profile-name h2{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow-wrap:normal}
.profile-dialog .profile-name .close-dialog{position:static;flex:0 0 34px;width:34px;height:34px;margin:0;display:grid;place-items:center;transform:none}
.profile-dialog .trust-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;text-align:center;justify-content:center;margin:24px 0}
.profile-dialog .trust-stats>span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:76px;padding:10px 5px;border:1px solid #bc8a9e80;border-radius:var(--radius-ui);font-size:9px}
.profile-dialog .trust-stats b{font-size:22px;margin-bottom:6px}
.service-viewport{position:relative;min-height:0;border:0}
.service-scroll{overflow-y:auto;overflow-x:hidden;scrollbar-width:none;overscroll-behavior-y:contain;touch-action:pan-y;outline-offset:2px;padding:1px 0}
.service-scroll::-webkit-scrollbar{display:none}




.route-layer .profile-floating-panel{padding:0;border:0;background:none;box-shadow:none;overflow:visible;border-radius:0}
.route-layer .route-actions{gap:6px}
.route-layer .route-actions>a,.route-layer .route-actions>button{height:38px;padding:0 12px;display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:center;text-align:left;justify-content:initial;border:0;border-radius:var(--radius-ui);background:#e5c5d1;color:#452330;font-size:13px;font-weight:600;text-transform:none;box-shadow:0 5px 18px #25101f25}
.route-actions .icon{width:18px;height:18px}
@media(min-width:761px){
 .profile-scroll{padding-top:28px}
 .profile-gallery .gallery-controls{grid-template-columns:38px auto auto minmax(0,1fr) 38px;gap:8px}
 .gallery-controls [data-gallery-step="1"]{grid-column:5}
 .profile-dialog .profile-name h2{font-size:clamp(18px,1.6vw,26px)}
 .profile-dialog .profile-name>.profile-avatar{width:48px;height:48px;flex-shrink:0}
}
@media(max-width:760px){
 .gallery-source{top:34px;left:14px;font-size:10px}

 .profile-dialog .profile-name{gap:7px}
 .profile-dialog .profile-name>.profile-avatar{width:38px;height:38px;flex-shrink:0;border-radius:var(--radius-ui)}
 .profile-dialog .profile-name h2{font-size:16px}
 .profile-name .profile-route{gap:3px;padding:8px 6px;font-size:9px}
 .profile-dialog .profile-name .close-dialog{flex-basis:30px;width:30px;height:30px}
 .profile-dialog .trust-stats{gap:6px}
 .profile-dialog .trust-stats>span{min-height:70px;font-size:8px}
 .profile-dialog .trust-stats b{font-size:20px}
}
@media(prefers-reduced-motion:reduce){}
.profile-gallery>.gallery-source{bottom:auto;right:auto;height:auto;width:max-content;font-size:11px;line-height:1.4;background:#45233088}
.profile-gallery .gallery-rating{padding:0;background:none;border:0}

:root{--radius-ui:14px;--radius-small:var(--radius-ui)}
.nav-item>span b,.filter-button b,.results-heading h2>span{border-radius:var(--radius-small)}
.filter-row input:before{border-radius:var(--radius-small)}
.profile-dialog .gallery-controls button{border-radius:var(--radius-ui)}
.profile-avatar{display:block;padding:0;overflow:hidden;flex-shrink:0;border-radius:var(--radius-ui);background:none}
.profile-avatar>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.avatar-layer{background:none;overflow:hidden}
.avatar-layer .profile-floating-panel{width:100%;max-width:none;height:100%;max-height:none;padding:0;display:flex;align-items:center;justify-content:center;background:#452330;border:0;border-radius:var(--radius-ui);box-shadow:none;overflow:hidden}
.avatar-photo-surface{display:grid;grid-template-rows:minmax(0,1fr) auto;width:100%;height:100%;padding:0;border:0;border-radius:0;background:none;cursor:zoom-out;touch-action:none}
.avatar-swipe-handle{display:grid;place-items:center;position:absolute;top:0;left:60px;right:60px;height:28px;z-index:2;pointer-events:none}
.avatar-swipe-handle>span{width:36px;height:4px;border-radius:4px;background:#fff;box-shadow:0 1px 5px #45233080}
@media(max-width:760px){.avatar-layer .profile-floating-panel{border-radius:var(--radius-ui) var(--radius-ui) 0 0}}
.avatar-photo-surface:focus-visible{outline:2px solid #c593a6;outline-offset:-4px}
.avatar-full-image{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}

/* Expand procedures first; fade only real overflow, with a visible slim scrollbar. */
.profile-dialog .service-scroll{scrollbar-width:thin;scrollbar-color:#c693a9 transparent;scrollbar-gutter:stable;padding-right:5px}
.profile-dialog .service-scroll::-webkit-scrollbar{display:block;width:4px}
.profile-dialog .service-scroll::-webkit-scrollbar-track{background:transparent}
.profile-dialog .service-scroll::-webkit-scrollbar-thumb{background:#c693a9;border-radius:var(--radius-ui)}




.profile-dialog .service-scroll::-webkit-scrollbar-button{display:none;height:0}

/* Match category fading: mask the content itself, keep the scrollbar unmasked. */
.profile-dialog .service-scroll{
 --service-fade-top:0px;--service-fade-bottom:0px;
 -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 var(--service-fade-top),#000 calc(100% - var(--service-fade-bottom)),transparent 100%),linear-gradient(#000,#000);
 mask-image:linear-gradient(to bottom,transparent 0,#000 var(--service-fade-top),#000 calc(100% - var(--service-fade-bottom)),transparent 100%),linear-gradient(#000,#000);
 -webkit-mask-size:calc(100% - 10px) 100%,10px 100%;mask-size:calc(100% - 10px) 100%,10px 100%;
 -webkit-mask-position:left top,right top;mask-position:left top,right top;
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}

/* Photo pagination follows the actual horizontal scroll position. */
.profile-gallery .gallery-controls{inset:auto 16px 16px;display:flex;justify-content:flex-start;gap:10px;height:38px;z-index:3}
.profile-gallery .gallery-dots{flex:0 0 60px;width:60px;height:32px;overflow:hidden;pointer-events:auto;mask-image:linear-gradient(90deg,transparent,#000 8px,#000 calc(100% - 8px),transparent)}
.gallery-dots-track{display:flex;width:max-content;height:32px;align-items:center;will-change:transform}
.profile-gallery .gallery-dots button{flex:0 0 20px;width:20px;height:32px;padding:0;border:0;background:none;backdrop-filter:none;box-shadow:none;display:grid;place-items:center}
.gallery-dots button span{display:block;width:8px;height:8px;border-radius:50%;background:white;box-shadow:0 1px 4px #0008}
.profile-gallery .gallery-rating{display:flex;padding:0;flex-shrink:0;background:none}
.profile-gallery .gallery-rating .icon{width:25px;height:25px}
.profile-gallery #gallery-review-toggle{display:block;flex:1;min-width:0;width:auto;height:34px;padding:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:11px;text-transform:none;border:0;background:#45233066;backdrop-filter:blur(8px)}
.profile-gallery [hidden]{display:none!important}
.verified-photo-icon{display:none;width:20px;height:20px}
.profile-gallery .gallery-track{cursor:zoom-in;transition:filter 220ms ease;touch-action:pan-x pan-y}
.profile-gallery.review-open .gallery-track{filter:blur(10px)}
.profile-gallery .gallery-review{position:absolute;inset:64px 20px 66px;z-index:2;padding:22px;display:flex;flex-direction:column;gap:18px;background:#452330bb;border:0;border-radius:var(--radius-ui);color:white;overflow:hidden}
.gallery-review h3{padding-right:30px;font-size:18px}
#expanded-review-rating{display:inline-flex;align-items:center;gap:5px;margin-left:8px}
#expanded-review-rating .icon{width:28px;height:28px}
#gallery-review-close{position:absolute;right:12px;top:12px;width:32px;height:32px;display:grid;place-items:center;background:#ffffff20;border-radius:var(--radius-ui)}
.gallery-review-text{min-height:0;overflow-y:auto;overscroll-behavior:contain;white-space:pre-line;font-size:15px;line-height:1.7;scrollbar-width:thin}
.profile-dialog.gallery-expanded .gallery-track{cursor:zoom-out}
.profile-dialog.gallery-expanded .gallery-track>img{object-fit:contain}
@media(min-width:761px){
 .profile-dialog.gallery-expanded[open]{display:block;overflow-y:auto}
 .profile-dialog.gallery-expanded .profile-gallery{height:calc(90dvh - 2px);max-height:850px}
 .profile-dialog.gallery-expanded .profile-content{overflow:visible}
}
@media(max-width:760px){
 .profile-dialog .profile-gallery{transition:height 360ms cubic-bezier(.22,1,.36,1);touch-action:pan-y}
 .profile-dialog.gallery-expanded{max-height:100dvh;height:100dvh}
 .profile-dialog.gallery-expanded .profile-gallery{height:calc(100dvh - 2px)}
 .profile-gallery>.gallery-source.client-photo{display:grid;place-items:center;width:32px;height:32px;padding:0;background:#2463d4;color:#ffe36a;border-radius:11px}
 .gallery-source.client-photo>span{display:none}
 .gallery-source.client-photo .verified-photo-icon{display:block}
 .profile-dialog .profile-content,.profile-dialog .profile-scroll{overflow:visible;max-height:none}
 .profile-dialog .service-scroll{max-height:none!important;overflow:visible;mask-image:none;-webkit-mask-image:none;scrollbar-gutter:auto;padding-right:0;touch-action:pan-y}
 .profile-dialog .profile-booking-footer{position:static;padding-top:16px}
 .profile-dialog .gallery-controls{inset:auto 12px 12px;height:34px;gap:6px}
 .profile-dialog .gallery-controls button{height:34px}
 .profile-dialog .gallery-dots button{height:32px;width:20px}
}
@media(prefers-reduced-motion:reduce){.profile-dialog .profile-gallery{transition:none}}

/* Expanded photo and review share the gallery, without a separate review card. */
.verified-seal{display:inline-grid;place-items:center;flex-shrink:0;width:32px;height:32px;background:#2463d4;color:#ffe36a;font-size:23px;font-weight:800;line-height:1;text-transform:none;clip-path:none}
.profile-gallery>.gallery-source.client-photo{display:flex;align-items:center;gap:6px}
.profile-gallery>.gallery-source.client-photo .verified-seal{display:inline-grid}
.profile-gallery.review-open>.gallery-source,.profile-gallery.review-open>.gallery-controls{visibility:hidden;pointer-events:none}
.profile-gallery.review-open .gallery-track{filter:blur(16px) brightness(.58)}
.profile-gallery .gallery-review{inset:0;padding:72px 28px 32px;background:none;border:0;box-shadow:none;border-radius:0;gap:24px;cursor:pointer}
.profile-gallery .gallery-review h3{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:0;font-size:18px;flex-shrink:0}
#expanded-review-rating{margin:0;display:inline-flex;align-items:center;gap:5px}
.profile-gallery .gallery-review-text{flex:1;min-height:0;line-height:1.75;cursor:auto;touch-action:pan-y;outline-offset:4px}

@media(max-width:760px){
 .profile-gallery>.gallery-source.client-photo{background:none;padding:0;border-radius:0;backdrop-filter:none}
 .gallery-source.client-photo>.source-label{display:none}
 .profile-gallery .gallery-review{padding:72px 22px 26px}
 .profile-gallery .gallery-review h3{font-size:16px;gap:8px}
}

/* Verification badge: compact seal, with an explanation available on tap. */
.verified-seal{padding:0;border:0;font-size:16px;cursor:pointer}
.verified-seal>span{display:block;transform:translateY(-2px);line-height:1}
.profile-gallery>.gallery-source{top:4px;left:4px;border:0}
.gallery-source[data-verified]{pointer-events:auto;cursor:pointer}
.profile-gallery .gallery-controls>.gallery-source{position:static;flex:0 0 auto;width:auto;height:32px;padding:0;background:none;border:0;backdrop-filter:none;color:#fff;display:flex;align-items:center;gap:5px;font-size:10px;pointer-events:auto}
.profile-gallery .gallery-controls>.gallery-source.client-photo{width:32px}
.gallery-controls .gallery-source.client-photo .source-label{display:none}
.gallery-controls .gallery-source .verified-seal{display:inline-grid}
.verified-layer p{font-size:14px;line-height:1.65;margin:16px 0 0;text-transform:none;color:#fff0f5}
@media(max-width:760px){.profile-gallery>.gallery-source{top:4px;left:4px}}

.verified-seal{background:#94b6db;color:#fff0ae;font-size:19px}
.verified-seal>span{transform:translateY(-.5px)}
.profile-gallery>.gallery-source{top:10px;left:10px}
/* Fade only the top and bottom image bounds, including letterboxing.
   The eased alpha stops avoid both a hard rim and a blurred duplicate outline. */
.profile-dialog.gallery-expanded .gallery-track{position:relative;touch-action:none}
.profile-dialog.gallery-expanded .gallery-track>img,.avatar-full-image{
 --fade:clamp(32px,8vw,64px);
 --edge-y:calc((100% - var(--edge-height,100%))/2);
 --fade-y:linear-gradient(to bottom,transparent var(--edge-y),#00000026 calc(var(--edge-y) + var(--fade)*.25),#00000080 calc(var(--edge-y) + var(--fade)*.5),#000000d9 calc(var(--edge-y) + var(--fade)*.75),#000 calc(var(--edge-y) + var(--fade)),#000 calc(100% - var(--edge-y) - var(--fade)),#000000d9 calc(100% - var(--edge-y) - var(--fade)*.75),#00000080 calc(100% - var(--edge-y) - var(--fade)*.5),#00000026 calc(100% - var(--edge-y) - var(--fade)*.25),transparent calc(100% - var(--edge-y)));
 -webkit-mask-image:var(--fade-y);mask-image:var(--fade-y);
}
.profile-dialog.gallery-expanded .photo-zoomed .gallery-track>img{-webkit-mask-image:none;mask-image:none}
.profile-dialog.gallery-expanded .profile-gallery.photo-zoomed .gallery-track{overflow:hidden}
@media(max-width:760px){.profile-gallery>.gallery-source{top:10px;left:10px}}

.verified-seal{background:transparent;clip-path:none}
.profile-gallery .gallery-source .verified-seal>.icon,#review-verified>.icon{width:32px;height:32px;display:block}
.profile-gallery .gallery-rating b{font-size:25px;line-height:1;font-weight:700}
#expanded-review-rating b{font-size:28px;line-height:1;font-weight:700}

/* Keep short reviews together and centred; long reviews scroll within the same bounds. */
.profile-gallery .gallery-review{justify-content:center}
.review-content{display:flex;flex-direction:column;gap:24px;min-height:0;max-height:100%;width:100%}
.profile-gallery .gallery-review-text{flex:0 1 auto;white-space:normal}
.review-body{white-space:pre-line}
.review-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-bottom:20px;text-align:center}
.review-tags>span{padding:7px 10px;border:1px solid #e5c5d166;border-radius:var(--radius-ui);background:#e5c5d117;font-size:10px;font-weight:600;line-height:1.35;text-transform:uppercase}
.review-author{display:flex;flex-direction:column;align-items:center;gap:3px;width:fit-content;max-width:100%;margin:24px auto 4px;padding:12px 24px;border:1px solid #e5c5d166;border-radius:var(--radius-ui);background:#45233055;text-align:center}
.review-author strong{font-size:15px}.review-author>span{font-size:12px;color:#e5c5d1}
#expanded-review-rating{padding:0;border:0;background:none;color:inherit;cursor:pointer;font:inherit}
.profile-dialog .booking-dates-title{margin:20px 0 12px}

/* Overlap the map edge slightly so its blurred light pixels stay behind the panel. */
@media(max-width:760px){
 :root{--mobile-panel-top:59px;--mobile-panel-height:calc(100dvh - var(--mobile-panel-top))}
 .profile-dialog,.profile-dialog.gallery-expanded{inset:var(--mobile-panel-top) 0 0;margin:0;width:100%;max-width:100%;height:var(--mobile-panel-height);max-height:var(--mobile-panel-height);border-radius:var(--radius-ui) var(--radius-ui) 0 0}
 .profile-dialog.gallery-expanded .profile-gallery{height:var(--mobile-panel-height)}
 .profile-floating-layer{inset:var(--mobile-panel-top) 0 0}
 .avatar-layer{overflow:visible}
 .avatar-layer .profile-floating-panel{border-radius:var(--radius-ui) var(--radius-ui) 0 0}
 .utility-dialog{max-height:var(--mobile-panel-height)}
}

/* Borderless photo sheet, with a quiet caption below the image. */
.profile-dialog{border:0;box-shadow:none}
.avatar-layer>.profile-layer-scrim{background:none;backdrop-filter:none}
.avatar-full-image{min-height:0}
.avatar-caption{display:flex;flex-direction:column;gap:10px;width:min(100%,620px);justify-self:center;padding:20px 26px max(28px,env(safe-area-inset-bottom));text-align:left;color:#fff;text-transform:none;cursor:default}
.avatar-caption-heading>strong{font-size:clamp(21px,4.8vw,28px);line-height:1.18;font-weight:650;letter-spacing:-.5px}
.avatar-description{font-size:14px;line-height:1.6;color:#e5c5d1;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
@media(max-height:600px){.avatar-caption{padding:12px 22px 16px;gap:6px}.avatar-caption-heading>strong{font-size:20px}.avatar-description{font-size:12px;line-height:1.45;-webkit-line-clamp:3}}

.avatar-caption-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
.avatar-reputation{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
.avatar-overall-rating{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.avatar-overall-rating .icon{width:26px;height:26px}
.avatar-overall-rating b{font-size:18px;line-height:1;font-weight:650}
.avatar-review-count{font-size:12px;color:#e5c5d1;white-space:nowrap}

.profile-dialog .trust-stats .profile-overall-rating{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
.profile-overall-rating .icon{width:28px;height:28px;flex-shrink:0}

/* Align visible numeral/cap height, rather than unequal font line boxes. */
.profile-overall-rating .rating-value,.avatar-overall-rating b,.avatar-review-count{display:block;line-height:1;text-box-trim:trim-both;text-box-edge:cap alphabetic}
.profile-overall-rating .icon,.avatar-overall-rating .icon{display:block;transform:translateY(1px)}

/* Salon pins stay distinct from personal portraits at both map densities. */
.avatar-marker.salon-marker .pin-body{border-color:#e4c08c;background:#e4c08c}
.avatar-marker.salon-marker .pin-dot::before{background:#a47746;border-color:#ffe5be}
.salon-card .person-button>img{border-radius:10px;outline:2px solid #e4c08c;outline-offset:1px}
.profile-kind-label{display:block;margin-top:4px;font-size:10px;letter-spacing:.05em;color:#e5c5d1}
.profile-avatar{position:relative}
/* The same slide rail and dot geometry as review photographs. */
.avatar-track.gallery-track{min-height:0;touch-action:none}
.avatar-track.gallery-track>img{object-fit:contain}
.avatar-dots.gallery-dots{align-self:center;width:60px;max-width:100%;height:32px;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 8px,#000 calc(100% - 8px),transparent)}
.avatar-dots.gallery-dots:has(button:last-child:nth-child(2)){width:40px}
.avatar-dots.gallery-dots button{flex:0 0 20px;width:20px;height:32px;padding:0;border:0;background:none;box-shadow:none;display:grid;place-items:center}

/* Large profile portrait with the route below the name, including narrow screens. */
.profile-dialog .profile-name{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;row-gap:8px}
.profile-dialog .profile-name>.profile-avatar{grid-row:1 / 3;width:96px;height:96px}
.profile-dialog .profile-name>div{align-self:end}
.profile-dialog .profile-name h2{white-space:normal;overflow-wrap:anywhere}
.profile-dialog .profile-name>.profile-route{grid-column:2;justify-self:start;align-self:start}
@media(max-width:760px){.profile-dialog .profile-name>.profile-avatar{width:80px;height:80px}}

/* Review provenance uses the same full-height, swipeable sheet as profile photos. */
.profile-gallery #review-verified{display:flex;align-items:center;justify-content:center;align-self:center;gap:8px;width:auto;height:auto;position:relative;top:6px;padding:8px 14px;border:1px solid #e5c5d166;border-radius:var(--radius-ui);background:#45233055;color:#fff0ae;font-size:12px;line-height:16px;font-weight:750;letter-spacing:.35px}
.profile-gallery #review-verified[hidden]{display:none}
.profile-gallery #review-verified>.icon{flex:0 0 30px;width:30px;height:30px}
.verified-layer{overflow:hidden}
.verified-layer .profile-floating-panel{width:100%;max-width:none;height:100%;max-height:none;border:0;border-radius:var(--radius-ui);box-shadow:none;background:#452330;padding:42px 26px 28px;display:flex;align-items:center;justify-content:center;touch-action:none}
.verified-sheet-handle{position:absolute;top:0;left:calc(50% - 40px);width:80px;height:32px;display:grid;place-items:center;border:0;background:none;color:white}
.verified-sheet-handle>span{width:36px;height:4px;background:currentColor;border-radius:4px}
.verified-explanation{width:100%;max-width:460px;margin:auto;text-align:center}
.verified-explanation h2{font-size:clamp(21px,5vw,28px);line-height:1.2;letter-spacing:-.4px;margin:0}
.verified-hero{display:block;margin:24px auto}
.verified-hero>.icon{display:block;width:92px;height:92px;margin:auto}
.verified-layer .verified-explanation p{font-size:14px;line-height:1.65;color:#eed8e1;margin:18px 0 0}
@media(max-width:760px){.verified-layer .profile-floating-panel{border-radius:var(--radius-ui) var(--radius-ui) 0 0}}
@media(max-height:650px){.verified-hero{margin:12px auto}.verified-hero>.icon{width:64px;height:64px}.verified-layer .verified-explanation p{font-size:12px;margin-top:12px;line-height:1.5}}

.profile-gallery #review-verified>span{display:block;transform:translateY(1px)}
.review-author:empty{display:none}

/* One shared capsule moves across equal navigation cells; shell colours stay untouched. */
.nav-main{--nav-index:0;position:relative;isolation:isolate;gap:0}
.nav-capsule{position:absolute;z-index:-1;pointer-events:none;background:#8a466238;border:1.5px solid #c98fa8;border-radius:20px;box-shadow:inset 0 1px 0 #f4d8e812;transition:transform 440ms cubic-bezier(.65,0,.35,1)}
.navigation .nav-item{position:relative;justify-content:center;gap:3px;padding:5px 4px;min-height:48px;color:#d7bac7;transition:color 260ms ease-in-out;transform:none}
.navigation .nav-item>span,.navigation .nav-item.active>span,.navigation .nav-item:hover>span{width:auto;height:auto;padding:0;border:0;background:none;box-shadow:none}
.navigation .nav-item .icon{width:22px;height:22px;stroke-width:1.65;transition:transform 300ms ease-in-out,opacity 260ms ease-in-out;opacity:.78}
.navigation .nav-item small{font-size:9px;line-height:12px;letter-spacing:.4px;font-weight:650}
.navigation .nav-item.active{color:#fff}
.navigation .nav-item.active .icon{opacity:1;transform:translateY(-1px)}
.navigation .nav-item:focus-visible{outline-offset:-3px;border-radius:20px}
@media(max-width:760px){
 .navigation{height:calc(62px + env(safe-area-inset-bottom));padding:5px 10px calc(5px + env(safe-area-inset-bottom))}
 .nav-main{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:52px;align-items:stretch;width:100%}
 .navigation .nav-item{width:100%;height:52px}
 .nav-capsule{top:0;left:0;width:calc(100% / 4);height:52px;transform:translateX(calc(var(--nav-index)*100%));border-radius:20px}
 .results-dock{bottom:calc(62px + env(safe-area-inset-bottom))}
}
@media(min-width:761px){
 .nav-main{display:grid;grid-template-rows:repeat(4,64px);justify-items:center}
 .navigation .nav-item{height:64px;width:calc(100% - 12px)}
 .nav-capsule{top:0;left:6px;width:calc(100% - 12px);height:64px;transform:translateY(calc(var(--nav-index)*100%))}
}
.nav-page{position:absolute;inset:0;z-index:950;background:var(--surface);padding:28px 24px;overflow:auto;overscroll-behavior:contain;color:var(--ink)}
.nav-page h2{font-size:26px;letter-spacing:-.6px}.nav-page>p{font-size:13px;line-height:1.5;color:var(--muted);margin:10px 0 24px}
.mine-actions{display:grid;gap:10px;max-width:620px}.mine-actions button{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid #c593a650;border-radius:18px;background:#45233033;text-align:left}.mine-actions button>span{flex:1}.mine-actions b{font-size:12px}
@media(max-width:760px){.nav-page{bottom:calc(62px + env(safe-area-inset-bottom));padding:24px 18px}}
@media(prefers-reduced-motion:reduce){.nav-capsule,.navigation .nav-item,.navigation .nav-item .icon{transition:none}}

/* Centred text brand and a colour-matched seam over the content edge. */
.app-header{justify-content:center;padding-left:16px;padding-right:16px;isolation:isolate;overflow:visible;background:var(--shell);border-radius:0;box-shadow:none}
.app-header .brand-text{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;letter-spacing:-1px;line-height:1;text-align:left}
.app-header .brand-text>img{display:block;width:44px;height:44px;flex:0 0 44px;border-radius:12px;object-fit:cover}
.app-header .brand-copy{display:flex;flex-direction:column;gap:4px}
.app-header .brand-name>.brand-dot{color:#e5c5d1;margin:0;letter-spacing:inherit}
.app-header .brand-name{font-size:30px;font-weight:800;color:var(--ink)}
.app-header .brand-caption{display:block;position:static;margin:0;font-size:8px;font-weight:550;line-height:1.2;letter-spacing:.7px;color:var(--muted)}
.nav-page{border:0;border-radius:0;scrollbar-width:none;-ms-overflow-style:none}
.nav-page::-webkit-scrollbar,.reel-feed::-webkit-scrollbar{display:none;width:0;height:0}
.nav-page.is-reels{padding:0;overflow:hidden}
.reel-feed{width:100%;height:100%;margin:0 auto;overflow-x:hidden;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;overscroll-behavior-y:contain;overflow-anchor:none;touch-action:pinch-zoom;outline-offset:-3px}
.reel-post{position:relative;isolation:isolate;width:100%;height:100%;min-height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:var(--shell);color:var(--ink)}
.reel-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.reel-post::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,#45233055,transparent 26%,transparent 48%,#45233066 72%,#452330ed)}
.reel-wordmark{position:absolute;top:22px;left:20px;z-index:1;font-size:11px;font-weight:750;letter-spacing:1.6px;text-shadow:0 1px 8px #452330}
.reel-caption{position:absolute;z-index:1;left:20px;right:84px;bottom:calc(26px + var(--feed-menu,0px));text-shadow:0 1px 9px #45233080;text-transform:none}
.reel-type{display:inline-block;font-size:10px;font-weight:600;letter-spacing:.3px;color:#f2e4e9;margin-bottom:12px}
.reel-author{display:flex;align-items:center;gap:10px;padding:0;text-align:left;min-height:44px}
.reel-author img{width:38px;height:38px;object-fit:cover;border:1px solid #e5c5d180;border-radius:14px}
.reel-author strong{font-size:17px;line-height:1.25;font-weight:750}
.reel-caption p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.55;margin-top:10px}
.reel-actions{position:absolute;z-index:2;right:12px;bottom:calc(28px + var(--feed-menu,0px));display:flex;flex-direction:column;gap:20px}
.reel-actions button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-width:52px;min-height:48px;padding:4px 0;color:#fff;text-shadow:0 1px 8px #452330}
.reel-actions .icon{width:29px;height:29px;stroke-width:1.7;filter:drop-shadow(0 1px 4px #45233099);transition:transform 180ms ease,color 180ms ease}
.reel-actions span{font-size:8px;font-weight:650;text-transform:none}
.reel-actions button[aria-pressed="true"]{color:#efb5cf}
.reel-actions button[aria-pressed="true"] .icon{fill:#984c69;transform:scale(1.08)}
@media(min-width:761px){.reel-feed{max-width:620px}}
@media(max-height:500px){.reel-actions{gap:8px;bottom:calc(16px + var(--feed-menu,0px))}.reel-caption{bottom:calc(16px + var(--feed-menu,0px))}.reel-caption p{-webkit-line-clamp:2}.reel-wordmark{top:14px}}
@media(prefers-reduced-motion:reduce){.reel-actions .icon{transition:none}}

/* Original reference: the content rounds into the square header, without an added layer. */
.workspace{background:var(--shell);border:0;border-radius:var(--radius-ui) var(--radius-ui) 0 0;outline:none;box-shadow:none}

/* Media and its gradient continue behind the menu's transparent outer corners. */
@media(max-width:760px){
 .nav-page.is-reels{bottom:0;--feed-menu:calc(62px + env(safe-area-inset-bottom))}
 .app-layout:has(.nav-page.is-reels:not([hidden])) .navigation{background:transparent}
 .app-layout:has(.nav-page.is-reels:not([hidden])) .navigation::after{display:none}
}

/* The pale map must not bleed through the antialiased edge of another page. */
.workspace:has(>.nav-page:not([hidden]))>:not(.nav-page){visibility:hidden}

.reel-photo{-webkit-user-drag:none;user-select:none;-webkit-touch-callout:none}

.reel-review-badges{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.reel-review-badges button{display:flex;align-items:center;gap:6px;min-height:36px;padding:5px 9px;border:1px solid #e5c5d166;border-radius:14px;background:#45233080;color:#fff0ae;font-size:10px;font-weight:650}
.reel-review-badges .icon{width:24px;height:24px}.reel-review-rating b{font-size:17px;line-height:1}
.reel-description{display:block;padding:0;margin-top:10px;width:100%;text-align:left;text-transform:none;min-height:44px}
.reel-description>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.55}
.reel-description>small{display:block;margin-top:5px;font-size:10px;color:#e5c5d1}
@media(max-height:650px){.reel-description>span{-webkit-line-clamp:2}.reel-review-badges{margin-bottom:5px}}

.client-summary{max-width:620px;margin:0 0 24px;padding:20px;border:1px solid #c593a650;border-radius:20px;background:#45233033;text-transform:none}
.client-identity{display:flex;align-items:center;gap:16px}.client-identity>div{min-width:0}.client-identity strong{display:block;font-size:20px;line-height:1.3}.client-identity small{display:block;margin-top:5px;font-size:11px;color:#e5c5d1}
.client-avatar{position:relative;flex:0 0 76px;width:76px;height:76px;padding:0;display:grid;place-items:center;background:#80415a;border-radius:22px;color:#f2e4e9}
.client-avatar>img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.client-avatar>.icon{width:34px;height:34px}
.client-avatar>span{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;border:2px solid #6b394c;background:#e5c5d1;color:#452330;font-size:17px}
.client-review-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px;padding-top:18px;border-top:1px solid #c593a644;text-align:center}
.client-review-stats strong{display:flex;align-items:center;justify-content:center;gap:6px;min-height:30px;font-size:24px;line-height:1}.client-review-stats .icon{width:28px;height:28px}.client-review-stats span{display:block;margin-top:8px;color:#e5c5d1;font-size:11px;line-height:1.5}

/* Desktop has explicit controls; touch sheets retain their mobile behaviour. */
.desktop-close,#gallery-review-close,.profile-dialog .gallery-controls .desktop-gallery-step{display:none}
@media(min-width:761px){
 .app-header{justify-content:flex-start;padding-left:23px}
 .app-layout{padding-bottom:0}
 .navigation{position:relative}
 .navigation .nav-main{position:absolute;top:50%;transform:translateY(-50%)}
 .desktop-close{position:absolute;top:12px;right:12px;z-index:10;display:grid;place-items:center;width:36px;height:36px;padding:0;border-radius:var(--radius-ui);background:#452330cc;color:#fff;border:1px solid #e5c5d166;cursor:pointer}
 .profile-name{padding-right:32px}
 .avatar-swipe-handle,.verified-sheet-handle{display:none}
 .profile-dialog .gallery-controls .desktop-gallery-step{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0}
 .profile-dialog .gallery-controls [data-gallery-step="-1"]{margin-left:auto}
 .desktop-gallery-step[data-gallery-step="-1"] .icon{transform:translateX(.46px)}
 .desktop-gallery-step[data-gallery-step="1"] .icon{transform:translateX(-.46px)}
 .profile-gallery #gallery-review-toggle{flex:1 1 0;width:0;min-width:0}
 .profile-gallery.review-open>.gallery-controls{visibility:visible;pointer-events:none}
 .profile-gallery.review-open>.gallery-controls button{pointer-events:auto}
 .profile-gallery .gallery-review{bottom:66px}
 .profile-gallery #gallery-review-close{display:grid}
 .profile-dialog:has(.review-open)>.profile-desktop-close{display:none}
}

.app-header{position:relative}
/* Map markers keep their own zoom-dependent geometry, including their images,
   badges, shadows and clusters. The shared UI radius does not affect map geometry. */
:root body *:where(:not(.maplibregl-marker,.maplibregl-marker *,.avatar-marker,.avatar-marker *,.master-cluster,.master-cluster *)),
:root body *:where(:not(.maplibregl-marker,.maplibregl-marker *,.avatar-marker,.avatar-marker *,.master-cluster,.master-cluster *))::before,
:root body *:where(:not(.maplibregl-marker,.maplibregl-marker *,.avatar-marker,.avatar-marker *,.master-cluster,.master-cluster *))::after{border-radius:var(--radius-ui)!important}
/* Nested outlines share a centre: outer radius = visible inner radius + inset.
   Clamp to the control's half-height, just as the browser does for its corners. */
:root .search-box{height:48px;min-height:48px;padding-top:5px;padding-bottom:5px;padding-right:5px;border-radius:calc(min(var(--radius-ui),18px) + 6px)!important}
.search-box button{width:36px;height:36px;min-width:36px;min-height:36px}
:root .category-row .category-grid{border-radius:0!important}
/* The track clips at a straight viewport edge; only the cards have corners. */
:root .master-cards,:root .carousel-row,:root .card-morph-overlay{border-radius:0!important}
:root .master-card .card-bottom{position:relative;border-top:0;border-radius:0!important;padding-top:12px}
:root .master-card .card-bottom::before{content:"";position:absolute;top:0;left:4px;right:4px;height:1px;background:currentColor;opacity:.25;border-radius:0!important;pointer-events:none}
:root .master-card .card-price{display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;border:1px solid currentColor;border-radius:var(--radius-ui)}
:root .master-card .favorite.favorite{width:44px;height:44px;min-width:44px;min-height:44px;border:0;background:none;box-shadow:none;color:var(--muted)}
:root .master-card .favorite .icon{width:32px;height:32px}
:root .messages-backdrop,:root .profile-layer-scrim{border-radius:0!important}
@media(max-width:760px){
 :root .category-row{padding:6px;border-radius:calc(min(var(--radius-ui),18px) + 7px)!important}
}
/* Touch feedback must not tint an entire interactive sheet. Text remains copyable. */
*{-webkit-tap-highlight-color:transparent}
body{-webkit-user-select:none;user-select:none}
p,h1,h2,h3,h4,h5,h6,.user-content,.review-author,.avatar-caption,.mine-bubble,input,textarea,[contenteditable="true"]{-webkit-user-select:text;user-select:text}
button,button *,[role="button"]:not(.avatar-photo-surface),img,svg{-webkit-user-select:none;user-select:none}
img,svg,a{-webkit-user-drag:none}
.avatar-arrows{display:none}
@media(min-width:761px){
 .avatar-arrows{display:flex;align-self:center;gap:10px}
 .avatar-arrows button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #ffffff66;border-radius:var(--radius-ui);background:#45233066;color:#fff;backdrop-filter:blur(10px)}
 .avatar-arrows [data-avatar-step="-1"] .icon{transform:translateX(.46px)}
 .avatar-arrows [data-avatar-step="1"] .icon{transform:translateX(-.46px)}
}
