/* Tourist browse modes, guided setup, non-destructive photo crop and video stories. */
.manager-grid-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.mode-switch{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid var(--line);border-radius:14px;padding:10px 14px;background:var(--paper);font-size:14px}.mode-switch .icon{width:21px;height:21px}.manager-grid-count{font-size:14px;line-height:1.4;margin:14px 0!important;color:var(--muted)}.grid-review-filter{display:flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid var(--line);border-radius:22px;background:var(--paper);font-size:13px}.grid-review-filter .icon{width:17px;height:17px}.grid-review-filter.selected{background:var(--accent);color:#fff}.manager-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;padding-bottom:16px}.manager-result-card{min-width:0;padding:0;overflow:hidden;text-align:left;border:1px solid var(--line);border-radius:20px;background:var(--paper);display:flex;flex-direction:column}.manager-result-photo{display:block;position:relative;aspect-ratio:3/4;overflow:hidden;width:100%;background:var(--soft)}.manager-result-photo>img{height:100%;width:100%;object-fit:cover;object-position:50% 22%}.manager-result-stories{position:absolute;left:8px;top:8px;display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:14px;background:#fffef2;color:#252b29;font-size:12px}.manager-result-stories .icon{height:12px;width:12px}.manager-result-copy{display:flex;flex:1;flex-direction:column;gap:6px;padding:12px 11px 14px;min-width:0;width:100%}.manager-result-copy strong{font-size:16px;line-height:1.15;overflow-wrap:anywhere}.manager-result-copy>span{font-size:13px;line-height:1.3}.manager-result-copy small{font-size:12px;line-height:1.35;color:var(--muted)}.manager-result-rating{display:flex;gap:4px;align-items:center}.manager-result-rating .icon{height:14px;width:14px}.empty-mode-control{position:absolute;right:16px;top:14px;z-index:4}
/* One shared centre line at every mobile height. */
.discovery-with-sheet .deck-actions{display:grid;grid-template-columns:44px 64px 64px 44px;grid-template-rows:64px;align-items:center;justify-content:center;gap:16px;height:64px;padding:0}
.discovery-with-sheet .deck-actions>.action-circle{pointer-events:auto;display:flex;align-items:center;justify-content:center;align-self:center;justify-self:center;box-sizing:border-box;appearance:none;width:64px;height:64px;min-width:0;min-height:0;padding:0;margin:0;line-height:1;flex:none}
.discovery-with-sheet .deck-actions>.action-circle.compact-reaction{width:44px;height:44px}
.discovery-with-sheet .deck-actions>.action-circle>.icon{display:block;position:static;margin:0;transform:none;width:32px;height:32px;flex:none}
.discovery-with-sheet .deck-actions>.action-circle.rewind>.icon{width:18px;height:18px;stroke-width:2}
.discovery-full .story-video-controls{top:calc(110px + env(safe-area-inset-top,0px));z-index:5}.discovery-full .review-quick-filter{max-width:calc(100% - 32px)}
.direct-chat-intro{flex:1;min-height:0;overflow:auto;padding:44px 26px 20px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:16px}.direct-chat-intro .chat-avatar{height:90px;width:90px;object-fit:cover;border-radius:24px}.direct-chat-intro h2{font-size:27px;line-height:1.1}.direct-chat-intro p{font-size:17px;line-height:1.45}.direct-chat-intro small{font-size:14px;line-height:1.5;color:var(--muted);max-width:300px}.direct-error{color:#ae351b!important;font-size:14px!important}
.media-crop-button{position:absolute;left:5px;top:5px;z-index:3;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f8f2ef;color:#231c19;border:0;padding:0}.media-crop-button .icon{height:18px;width:18px}.crop-intro{font-size:15px;line-height:1.5;margin:0 0 16px;color:var(--muted)}.crop-comparison{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;align-items:start}.crop-comparison>div>span{display:block;font-weight:600;font-size:14px;margin-bottom:8px}.crop-canvas{position:relative;aspect-ratio:9/16;background:#111;overflow:hidden;border-radius:16px;touch-action:none;cursor:move}.crop-comparison img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;max-width:none;pointer-events:none;user-select:none}.crop-guides{position:absolute;inset:0;border:1px solid #ffffff75;background:linear-gradient(90deg,transparent 33%,#ffffff45 33%,#ffffff45 33.4%,transparent 33.4%,transparent 66%,#ffffff45 66%,#ffffff45 66.4%,transparent 66.4%)}.crop-card-label{position:absolute;bottom:0;left:0;right:0;padding:18px 10px 10px;color:#fff;font-weight:700;font-size:14px;background:linear-gradient(transparent,#0008)}.crop-square{aspect-ratio:1;border-radius:22px;overflow:hidden;background:var(--soft)}.crop-account-preview small{display:block;margin-top:12px;font-size:13px;line-height:1.45;color:var(--muted)}.crop-sliders{display:flex;flex-direction:column;gap:16px;margin-top:22px}.crop-sliders label{font-size:14px;font-weight:600}.crop-sliders input{display:block;width:100%;margin-top:10px;accent-color:var(--accent)}.crop-buttons{display:flex;gap:10px;margin-top:20px}.crop-buttons>button{flex:1}.crop-error{font-size:14px;color:#ae351b;margin-top:12px;line-height:1.4}
.onboarding-steps{list-style:none;margin:0 0 25px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.onboarding-steps li{display:flex;flex-direction:column;gap:8px;font-size:12px;line-height:1.2;color:var(--muted)}.onboarding-steps li>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;font-size:13px;font-weight:700;background:var(--paper)}.onboarding-steps li.active{color:var(--accent);font-weight:700}.onboarding-steps li.active>span,.onboarding-steps li.done>span{background:var(--accent);color:#fff;border-color:var(--accent)}.onboarding-steps .icon{height:17px;width:17px}.onboarding-heading h1{font-size:30px;line-height:1.06;letter-spacing:-.5px;margin:8px 0 14px}.onboarding-heading>p:last-child{font-size:16px;line-height:1.5;margin-bottom:20px}.onboarding-preview{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--paper);margin:0 0 24px;min-width:0}.onboarding-preview-photo{width:66px;height:78px;border-radius:13px;overflow:hidden;flex:none;display:grid;place-items:center;background:var(--soft);color:var(--accent)}.onboarding-preview-photo>img{height:100%;width:100%;object-fit:cover;object-position:50% 22%}.onboarding-preview>span:last-child{display:flex;min-width:0;flex-direction:column;gap:6px}.onboarding-preview strong{font-size:17px;line-height:1.2;overflow-wrap:anywhere}.onboarding-preview small{font-size:12px;color:var(--muted)}.onboarding-preview>span>span{font-size:13px;color:var(--muted)}.onboarding-benefit{font-size:14px;line-height:1.5;padding:14px 16px;background:var(--soft);border-radius:16px;margin-bottom:20px!important}
.video-stories-strip{display:flex;gap:15px;overflow:auto;padding:3px 0 10px;scrollbar-width:none}.video-stories-strip::-webkit-scrollbar{display:none}.video-story-thumb{display:flex;flex:none;flex-direction:column;align-items:center;gap:7px;width:92px;background:none;padding:0;text-align:center}.video-story-thumb>span{height:116px;width:86px;border:2px solid var(--accent);border-radius:18px;padding:3px;position:relative;overflow:hidden}.video-story-thumb img{height:100%;width:100%;object-fit:cover;border-radius:12px}.video-story-thumb .icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:28px;height:28px;color:#fff;filter:drop-shadow(0 1px 4px #0008)}.video-story-thumb strong{font-size:13px}.video-story-thumb small{font-size:12px;color:var(--muted)}.video-stories-section>p{font-size:14px!important;margin-bottom:14px;color:var(--muted)}
.video-story-dialog{inset:0!important;top:0!important;bottom:0!important;margin:auto!important;width:min(100%,460px)!important;height:100dvh!important;max-height:100dvh!important;max-width:460px!important;border:0!important;border-radius:0!important;padding:0!important;overflow:hidden!important;background:#111!important;color:#fff!important}.video-story-dialog>.sheet-handle{display:none}.video-story-dialog>.sheet-head{position:absolute;top:28px;left:0;right:0;z-index:7;padding:10px 17px;background:linear-gradient(#0006,transparent);border:0;color:#fff}.video-story-dialog>.sheet-head h2{font-size:17px;color:#fff}.video-story-dialog>.sheet-head .icon-button{background:#ffffff26;color:#fff}.video-story-stage{position:relative;isolation:isolate;width:100%;height:100%;background:#111;touch-action:pan-y}.video-story-stage>video{width:100%;height:100%;object-fit:cover}.video-story-progress{position:absolute;left:14px;right:14px;top:calc(13px + env(safe-area-inset-top,0px));display:flex;gap:5px;z-index:6}.video-story-progress>span{height:4px;flex:1;background:#ffffff45;border-radius:3px;overflow:hidden}.video-story-progress i{display:block;height:100%;background:#fff}.story-area{position:absolute;top:90px;bottom:130px;width:50%;z-index:3;background:transparent}.story-area.prev{left:0}.story-area.next{right:0}.video-story-person{position:absolute;left:18px;right:18px;bottom:115px;z-index:2;display:flex;flex-direction:column;gap:8px;color:#fff;text-shadow:0 1px 5px #0008}.video-story-person strong{font-size:24px;line-height:1.1}.video-story-person span{font-size:15px}.video-story-controls{position:absolute;right:18px;bottom:calc(35px + env(safe-area-inset-bottom,0px));display:flex;gap:12px;z-index:6}.video-story-controls .story-player-button{width:46px;height:46px;background:#171717a8;color:#fff;border:1px solid #ffffff50}.video-story-error{position:absolute;top:40%;left:20px;right:20px;padding:20px;background:#111d;color:#fff;border-radius:18px;z-index:5;font-size:16px;line-height:1.4}.video-story-error[hidden]{display:none}
@media(max-height:740px){.crop-canvas{max-height:310px}.onboarding-heading h1{font-size:27px}}

/* Grid profiles show their complete information as one continuous page. */
.manager-profile-page .manager-profile-scroll{padding:0;overflow:auto;overscroll-behavior-y:contain;scrollbar-width:thin;overflow-x:hidden;touch-action:pan-y}
.manager-profile-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px;background:var(--bg);color:var(--ink)}
.manager-profile-topbar>span{font-size:16px;font-weight:600;text-align:center}
.manager-profile-topbar .icon-button{width:40px;height:40px;background:#fff;color:var(--accent);border:1px solid #a78170}
.manager-profile-gallery{position:relative;isolation:isolate;height:clamp(260px,44svh,400px);margin:0 12px;overflow:hidden;border-radius:22px;background:var(--soft);touch-action:pan-y}
.manager-profile-gallery>.hero-photo,.manager-profile-gallery>.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.manager-profile-gallery .photo-progress{left:16px;right:16px;top:12px;padding:9px;border-radius:20px;background:#252b29b3}
.manager-profile-gallery .photo-progress button{background:#ffffff80}
.manager-profile-gallery .photo-progress button.active{background:#fff}
.manager-profile-gallery .story-video-controls{top:auto;bottom:14px;right:14px}
.manager-profile-gallery .processing{height:100%;display:grid;place-items:center}
.manager-profile-information{padding:23px 20px 28px;overflow-wrap:anywhere}
.manager-profile-information>h1{font-size:28px;line-height:1.12;letter-spacing:-.4px}
.manager-profile-information>.profile-detail-facts{margin:12px 0 18px;line-height:1.4}
.manager-profile-information .profile-section p{white-space:pre-line;line-height:1.55;font-size:16px}
.manager-profile-information .chip{background:#fff;border:1px solid var(--line);color:var(--ink)}
.manager-profile-information .profile-section{margin:26px 0 0}
.manager-profile-footer{border-top:1px solid var(--line);padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px))}
.manager-profile-footer>.primary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%}
.photo-slot .main-photo-badge{top:auto;bottom:7px;left:6px;pointer-events:none;color:#fff}

/* Tourist account: identity only, with sign-out in the same card. */
.tourist-account-header{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.tourist-account-header>.account-identity{flex:1;min-width:0}.tourist-account-header>.account-header-actions{display:flex;gap:8px;margin-left:auto}.tourist-account-header>.tourist-logout{flex-basis:100%;width:100%;margin:4px 0 0}
@media(min-width:900px){.tourist-account-header{gap:25px}.tourist-account-header>.tourist-logout{flex:0 0 auto;width:auto;min-width:220px;margin:0}}

.tourist-account-header .account-identity>.tourist-logout{display:flex;align-items:center;justify-content:space-between;gap:14px;width:fit-content;min-width:0;margin:14px 0 0;padding:12px 16px;font-size:14px;line-height:1.3;min-height:44px}.tourist-account-header .account-identity>.tourist-logout>.icon{width:18px;height:18px;flex:none}

/* Mobile identity: location/languages, one name, factual metrics, then narrative. */
.profile-mobile-location,.profile-mobile-metrics,.profile-mobile-intro{display:none}
@media(max-width:899px){
 .has-mobile-summary>.profile-desktop-facts,.has-mobile-summary>.profile-detail-copy>.detail-specialization{display:none}
 .profile-mobile-location{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:center;font-size:14px;line-height:1.5;color:var(--muted);margin:8px 0 12px}
 .profile-mobile-location>span{display:flex;align-items:center;gap:6px}.profile-mobile-location>span+span:before{content:'·';margin-right:3px}.profile-mobile-location .icon{width:16px;height:16px;flex:none}
 .profile-mobile-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0 26px}
 .profile-mobile-metrics>div,.profile-mobile-metrics>button{min-width:0;text-align:left;padding:0;background:none;border:0}
 .profile-mobile-metrics strong{display:flex;align-items:center;gap:5px;min-height:28px;font-size:23px;line-height:1.2;font-weight:700;letter-spacing:-.4px}
 .profile-mobile-metrics strong>.icon{width:23px;height:23px;flex:none}.profile-mobile-metrics small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:8px}
 .profile-mobile-metrics .profile-summary-reviews strong,.profile-mobile-metrics .profile-summary-reviews small{color:var(--accent)}
 .profile-summary-reviews small>.icon{width:12px;height:12px;vertical-align:middle}
 .manager-profile-information>.profile-mobile-intro{display:block;font-size:17px;line-height:1.55;margin:0 0 24px;color:var(--ink)}
}

@media(max-width:899px){.profile-summary-reviews small{display:flex;align-items:center;gap:4px;white-space:nowrap}.profile-summary-reviews small>.icon{display:inline-block;flex:none}}

.profile-mobile-sheet-identity{display:none}
@media(max-width:899px){.manager-peek-body>.profile-desktop-sheet-identity{display:none}.profile-mobile-sheet-identity{display:block}.profile-mobile-sheet-identity>h2{font-size:28px;line-height:1.12;letter-spacing:-.4px;margin:0}.profile-mobile-sheet-identity>.profile-mobile-intro{display:block;font-size:17px;line-height:1.55;margin:0 0 24px;color:var(--ink)}}

/* Tourist information only; the manager account keeps its existing layout. */
.tourist-information-links{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;margin:26px 0 0}
.tourist-information-links>a{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:62px;padding:18px 20px;color:var(--ink);font-size:17px;text-decoration:none}
.tourist-information-links>a+a{border-top:1px solid var(--line)}.tourist-information-links>a>.icon{width:18px;height:18px;flex:none;color:var(--accent)}
.tourist-information-links>a:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}
@media(max-width:899px){.tourist-account-content>.tourist-logout{display:flex;align-items:center;justify-content:space-between;width:100%;margin:26px 0 0;min-height:56px;padding:16px 20px}.tourist-account-content>.tourist-logout>.icon{width:20px;height:20px;flex:none}}
@media(min-width:900px){
 .tourist-account-content>.tourist-information-links{grid-column:1/-1;margin:0}
 .has-mobile-summary>.profile-desktop-facts>span+span{display:none}
 .has-mobile-summary>.profile-mobile-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0 28px}
 .profile-mobile-metrics>div,.profile-mobile-metrics>button{min-width:0;text-align:left;padding:0;background:none;border:0}
 .profile-mobile-metrics strong{display:flex;align-items:center;gap:6px;min-height:32px;font-size:27px;line-height:1.2;font-weight:700;letter-spacing:-.4px}
 .profile-mobile-metrics strong>.icon{width:27px;height:27px;flex:none}.profile-mobile-metrics small{display:flex;align-items:center;gap:4px;margin-top:10px;font-size:14px;line-height:1.5;color:var(--muted)}
 .profile-mobile-metrics .profile-summary-reviews strong,.profile-mobile-metrics .profile-summary-reviews small{color:var(--accent)}.profile-summary-reviews small>.icon{width:14px;height:14px;flex:none}
 .manager-profile-information.no-profile-stories{position:relative}
 .no-profile-stories>.manager-profile-lead{float:right;position:static;width:auto;margin:0 0 8px 18px}
 .no-profile-stories>h1{padding-right:0;margin-top:0}
 .no-profile-stories>.manager-profile-lead:has(.desktop-profile-toolbar>div:empty){display:none}.no-profile-stories>.profile-desktop-facts{clear:both}
}
@media(min-width:900px) and (max-width:1199px){.profile-mobile-metrics strong{font-size:23px}}
