.first-screen-controls,.opening-strip {
  display:flex; align-items:center; flex-wrap:wrap; gap:8px; min-width:0;
}
.first-screen-controls { margin-top:7px; gap:5px; }
.explore-heading .first-screen-controls .location-control { margin:0; min-height:36px; padding:4px 8px; font-size:13px; }
.first-screen-controls .nearby-control .icon { width:14px; height:14px; }
.discovery-chip {
  min-height:36px; padding:4px 8px; border:1px solid var(--line); border-radius:999px;
  background:var(--surface); color:var(--purple-text); font-size:13px; font-weight:700;
}
.discovery-chip[aria-pressed=true] { background:var(--purple-soft); border-color:var(--purple); }
.opening-strip {
  justify-content:space-between; margin:10px 0 0; padding:8px 0 0;
  border-top:1px solid var(--line); font-weight:730;
}
.opening-strip > span { min-width:0; display:inline-flex; align-items:center; gap:7px; }
.opening-strip[data-open=true] > span { color:var(--active-green-ink); }
.opening-strip .discovery-chip { flex:none; }
.first-screen-dialog {
  width:min(440px,calc(100% - 26px)); max-height:calc(100% - 24px); margin:auto;
  padding:18px; border:1px solid var(--line); border-radius:18px;
  background:var(--surface); color:var(--ink);
}
.first-screen-dialog::backdrop { background:var(--overlay); }
.embedded-home-map:not(.embedded-partner-map) .first-screen-dialog {
  inset:12px 0 auto; margin:0 auto;
}
.first-screen-dialog header { display:flex; align-items:start; justify-content:space-between; gap:8px; }
.first-screen-dialog h2 { font-size:1.3rem; margin:0; }
.first-screen-dialog label,.optional-price label { display:grid; gap:5px; margin:9px 0; }
.first-screen-dialog input,.first-screen-dialog select,.public-share-field {
  width:100%; min-width:0; min-height:44px; padding:8px 10px; border:1px solid var(--line);
  border-radius:9px; color:var(--ink); background:var(--surface-raised); font-size:16px;
}
.first-screen-dialog p { margin:9px 0; }
.first-screen-dialog .first-screen-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.first-screen-dialog button,.first-screen-dialog a[download] { min-height:44px; }
.first-screen-dialog .text-button { padding:0 9px; }
.dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  inline-size: 44px;
  min-block-size: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--ink);
  font: 400 26px/1 system-ui, sans-serif;
}
.dialog-close:hover { background: var(--surface-hover); }
.website-footer-content .app-store-download {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 10px;
  margin: 10px 0;
}
.app-store-download img { display: block; }
.app-store-download img:first-child { border-radius: 10px; }
.mobile-surface .website-footer-content .app-store-download { flex-basis: 100%; justify-content: center; }
.installed-walkins .website-footer-content .app-store-download { display: none; }
.budget-presets { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.budget-presets .discovery-chip { min-height:38px; border-radius:10px; overflow-wrap:anywhere; }
.budget-presets [data-budget-limit=""] { grid-column:1 / -1; }
.price-note { color:var(--purple-text); font-weight:700; overflow-wrap:anywhere; }
.optional-price { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.75fr); column-gap:9px; }
.optional-price .account-note { grid-column:1 / -1; margin-top:0; }
.share-qr-image {
  display:block; width:180px; height:180px; max-width:100%; margin:10px 0; object-fit:contain;
  background:white; border:1px solid var(--line); border-radius:10px;
}
.share-controls { display:flex; gap:7px; flex-wrap:wrap; margin:9px 0; }
.share-controls > * { min-height:44px; }
#traffic-totals { grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr)); }
.directory-shell .provider-card { cursor:pointer; }
#directory-map .directory-map-pin.unclaimed {
  background:color-mix(in srgb,var(--avatar-unavailable) 13%,var(--surface));
  border:2px solid color-mix(in srgb,var(--avatar-unavailable) 52%,var(--surface));
  color:var(--ink);
  box-shadow:none;
}
#directory-map .directory-map-pin.unclaimed img { opacity:.72; }
.directory-shell #photo-dialog[open] {
  display:grid; position:fixed; inset:0; box-sizing:border-box;
  width:100%; height:100%; max-width:none; max-height:none; margin:0; border:0;
  padding:max(52px,env(safe-area-inset-top)) 16px max(12px,env(safe-area-inset-bottom));
  grid-template-rows:minmax(0,1fr) auto; justify-content:stretch;
  gap:12px; color:white; background:#0b0e13;
}
.directory-shell #photo-dialog .large-photo-stage {
  height:100%; min-width:0; min-height:0; display:grid; place-items:center;
}
.directory-shell #photo-dialog img {
  width:100%; height:100%; min-height:0; max-width:100%; max-height:100%;
  object-fit:contain; border-radius:0; touch-action:pan-y pinch-zoom;
}
.directory-shell #photo-dialog #close-photo {
  position:absolute; top:max(8px,env(safe-area-inset-top)); right:14px;
  min-width:40px; min-height:40px;
}
.photo-navigation { display:flex; gap:14px; align-items:center; justify-content:center; }
.provider-reviews {
  display:grid; gap:9px; margin:16px 0 4px; padding:14px;
  border:1px solid var(--line,#dedbe3); border-radius:12px; color:var(--ink,#191322);
}
.provider-reviews :is(h3,p,form) { margin:0; }
.provider-reviews :is(article,form) { display:grid; gap:9px; margin-top:8px; }
.provider-reviews article { border-top:1px solid var(--line,#dedbe3); padding-top:10px; }
.provider-reviews article > p:first-child { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.provider-reviews .review-text { white-space:pre-wrap; overflow-wrap:anywhere; }
.provider-reviews .review-stars { color:var(--purple-text,#3e1467); }
.provider-reviews label { display:grid; gap:4px; font-weight:650; }
.provider-reviews :is(input:not([type=checkbox]),select,textarea) {
  box-sizing:border-box; width:100%; min-height:40px; padding:7px;
  border:1px solid var(--line,#dedbe3); border-radius:8px;
  font-size:16px; color:var(--ink,#191322); background:var(--surface,#fff);
}
.provider-reviews .review-experience { display:flex; align-items:baseline; }
.artist-account .account-card input.signup-required.is-invalid,
.artist-account .account-card select.signup-required.is-invalid,
.artist-account .account-card input.is-invalid,
.artist-account .account-card select.is-invalid {
  border-color:#c63545;
  box-shadow:0 0 0 2px color-mix(in srgb,#c63545 18%,transparent);
}
.artist-account .account-location:has(.is-invalid),
.artist-account .signup-contact-type:has(.is-invalid),
.artist-account .signup-preferred-contact:has(.is-invalid),
.artist-account #signup-work-details:has(.is-invalid) {
  border-color:#c63545;
  border-radius:10px;
  background:color-mix(in srgb,#c63545 6%,var(--surface,#fff));
  box-shadow:0 0 0 2px color-mix(in srgb,#c63545 14%,transparent);
}
.provider-reviews :is(summary,button) { min-height:36px; cursor:pointer; }
.provider-reviews button.account-secondary {
  border:1px solid var(--line,#dedbe3); border-radius:8px; padding:6px 10px;
  color:var(--purple-text,#3e1467); background:var(--surface-raised,#f5f1f9);
}
.provider-reviews [role=status]:empty { display:none; }
.workplace-notice { border-top:1px solid var(--line); padding:10px 0; }
.workplace-notice p { margin:5px 0; }
.workplace-notice form { display:grid; gap:8px; }
.workplace-notice textarea { width:100%; min-width:0; }
.directory-shell #photo-dialog .photo-navigation button {
  position:static; width:42px; height:42px; border-radius:50%; font-size:25px;
}
.embedded-home-map:not(.embedded-partner-map) #photo-dialog[open] { height:min(100%,640px); }
@media (pointer:coarse) {
  :is(.directory-shell,.artist-account) {
    touch-action:manipulation; -webkit-user-select:none; user-select:none;
  }
  :is(.directory-shell,.artist-account) :is(input,textarea,[contenteditable]) {
    -webkit-user-select:text; user-select:text;
  }
  :is(.directory-shell,.artist-account) :is(input,select,textarea) { font-size:max(16px,1em); }
}
@media(max-width:390px) {
  .opening-strip { gap:5px; }
  .optional-price { grid-template-columns:minmax(0,1fr); }
  #traffic-totals { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
#map-view .map-shell { grid-area: 1 / 1 / auto / -1; }
#map-view :is(.map-directory, .browse-providers):not([hidden]) {
  display: block;
  grid-area: auto / 1 / auto / -1;
  margin-block: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.browse-providers h2 { margin: 0 0 8px; font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 750; }
:is(#map-directory-list, #recent-providers-list, #popular-providers-list) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
:is(#recent-providers-list, #popular-providers-list) { display: grid; gap: 12px; align-items: start; }
.messages-map-link { text-decoration: none; }
