/* Public website shell. The same layout remains usable at 320 px and above. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body.production { min-width: 0; }
.production .app-layout,
.production #community-root,
.production .topbar,
.production .discovery-top,
.production .place-list,
.production .map-section { min-width: 0; max-width: 100%; }
.production .brand-group,
.production .header-actions,
.production .co-heading > div,
.production .co-review-venue > div,
.production .co-editor-venue > div,
.production .xp-header > div,
.production .xp-section-heading > div { min-width: 0; }
.production button { touch-action: manipulation; }
.production :is(.primary-button,.secondary-button,.co-button,.xp-button,.experience-shortcut) {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.4;
}
.production :is(input,select,textarea) { min-width: 0; max-width: 100%; }
.production :is(h1,h2,h3,h4,h5,.co-bio,.co-handle,.review-author-link,.field-error,.source-disclaimer) { overflow-wrap: anywhere; }
.production :is(.detail-action-row,.detail-experience-actions,.provider-error-actions,.co-form-actions,.co-profile-actions,.co-picker-footer,.co-stop-editor-footer,.xp-poll-controls) { flex-wrap: wrap; }
.production :is(.detail-action-row,.detail-experience-actions,.provider-error-actions) > :is(button,a) { flex: 1 1 130px; min-width: 0; }
.production .co-guide-actions { min-width: 0; }
.production .co-guide-actions > .co-button { min-width: 0; }
.production .co-day-tabs { display: flex; width: fit-content; max-width: 100%; }
.production .co-detail-top { flex-wrap: wrap; }
.production .co-picker-footer { row-gap: 8px; }
.production .co-picker-footer > .co-button { min-width: 0; }
.production .co-cover-chip { overflow-wrap: anywhere; }
.production .co-confirm-shade { overflow-y: auto; overscroll-behavior: contain; }
.production .co-confirm { max-height: calc(100dvh - 40px); overflow-y: auto; }
.production .co-confirm > div > .co-button { flex: 1 1 125px; min-width: 0; }
.production .xp-poll-controls > .xp-button { flex: 1 1 140px; min-width: 0; }
.production .xp-poll-view-heading > div { min-width: 0; }
.production .xp-question-count { pointer-events: none; }
.production .map-topline { flex-wrap: wrap; align-items: flex-start; }
.production .map-label { max-width: 100%; }
.production .search-area { max-width: 100%; margin-left: auto; white-space: normal; }
.production .category-tabs {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 7px;
  padding: 4px 3px 7px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.production .category { flex: 0 0 auto; min-height: 44px; scroll-snap-align: start; }
.production .region-controls { flex-wrap: wrap; }
.production .region-controls .region-button { flex: 1 1 140px; min-height: 40px; }
.production .nearby-location-button { flex: 0 1 auto; min-height: 40px; max-width: 100%; white-space: normal; }
.production .filter-line { flex-wrap: wrap; gap: 10px; }
.production .filter-options { flex: 1 1 230px; }
.production .open-filter { min-height: 34px; white-space: normal; }
.production .filter-hint { text-align: right; }
.production .source-pill,
.production #source-form,
.production #google-setup-guide,
.production #error-google,
.production #settings-dialog > .coordinate-details,
.production #settings-dialog > .dialog-lead,
.production .developer-badge,
.production #developer-note { display: none !important; }
.production.is-admin #error-google { display: inline-flex !important; }
.public-about { display: none; }
.production .public-about { display: block; }
.public-about p { color: #52675b; font-size: 13px; line-height: 1.75; margin: 14px 0; }
.public-about strong { color: #254f3e; }
.public-about a { text-underline-offset: 3px; }

@media (min-width: 981px) {
  .production .category-tabs { flex-wrap: wrap; overflow-x: visible; }
  .production .header-actions { flex: 0 1 180px; }
  .production .account-btn { max-width: 100%; margin-left: auto; }
  .production .desktop-nav { min-width: 0; gap: clamp(12px, 2vw, 24px); }
  .production .nav-btn { white-space: nowrap; }
}

@media (max-width: 980px) {
  html { scroll-padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .production .topbar { padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); }
  .production .header-actions { flex: 0 1 auto; }
  .production .account-btn { min-height: 44px; max-width: 145px; }
  .production .account-btn > span { min-width: 0; }
  .production .app-layout { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  .production .mobile-nav { gap: 3px; height: auto; min-height: calc(68px + env(safe-area-inset-bottom, 0px)); padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
  .production .mobile-nav > button { min-width: 0; flex: 1 1 0; min-height: 48px; padding: 4px 1px; overflow-wrap: anywhere; }
  .production .mobile-nav > button .icon { flex: none; }
  .production :is(.primary-button,.secondary-button,.co-button,.xp-button,.experience-shortcut) { min-height: 44px; }
  .production :is(.map-control,.dialog-close,.xp-close) { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .production .favorite-button { width: 42px; height: 42px; }
  .production .card-body { padding-right: 46px; }
  .production .map-legend { max-width: calc(100% - 72px); flex-wrap: wrap; gap: 5px 10px; }
  .production .map-label { max-width: 100%; }
  .production .search-area { min-height: 40px; }
  .production .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); overflow-wrap: anywhere; }
  .production .co-editor-savebar { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .production .co-editor-savebuttons { min-width: 0; }
  .production .co-editor-savebuttons > .co-button { min-width: 0; }
  .production .co-search input,
  .production .search-box input,
  .production .field :is(input,textarea),
  .production .co-field :is(input,select,textarea),
  .production .xp-field :is(input,select,textarea),
  .production .co-picker-filters > select,
  .production .named-search-row input { font-size: 16px; }
  .production .xp-field input[type=date],
  .production .co-field input[type=time],
  .production .field input[type=date] { width: 100%; min-width: 0; }
  .production .xp-filter-chip { min-height: 40px; }
  .production .co-tool-button { min-height: 72px; }
  .production .co-icon-button { min-width: 42px; width: 42px; min-height: 42px; height: 42px; }
  .production .co-stop-order > .co-icon-button { min-width: 34px; width: 34px; min-height: 36px; height: 36px; }
  .production .co-profile-actions { gap: 8px; }
  .production .co-profile-actions > .co-button { min-width: 0; }
}

@media (max-width: 520px) {
  .production .small-dialog { width: calc(100% - 24px); max-width: 460px; max-height: calc(100dvh - 24px); padding: 28px 20px; overscroll-behavior: contain; }
  .production .small-dialog h2 { max-width: calc(100% - 16px); }
  .production .detail-dialog { width: calc(100% - 16px); max-width: none; height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); }
  .production .detail-body { padding: 20px 16px; }
  .production .detail-heading { gap: 8px; }
  .production .detail-heading > div { min-width: 0; }
  .production .detail-heading h2 { font-size: 25px; }
  .production .detail-action-row > :is(button,a),
  .production .detail-experience-actions > button { flex-basis: 115px; font-size: 12px; padding: 10px; }
  .production .business-fact-grid { gap: 8px; }
  .production .business-fact { min-width: 0; }
  .production .business-fact strong { overflow-wrap: anywhere; }
  .production .star-buttons { gap: 5px; flex-wrap: wrap; }
  .production .star-buttons button { min-width: 44px; min-height: 44px; padding: 6px; }
  .production .star-buttons .icon { width: 30px; height: 30px; }
  .production .co-rating-buttons .co-button { min-width: 42px; min-height: 42px; padding: 8px; }
  .production .co-picker-place > .co-icon-button { min-width: 42px; width: 42px; height: 42px; min-height: 42px; }
  .production .co-picker-footer > .co-button { flex: 1 1 110px; }
  .production .co-search-form { gap: 8px; }
  .production .co-search-form > .co-button { flex-shrink: 0; }
  .production .co-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .production .co-stop-editor-footer { align-items: center; }
  .production .co-stop-editor-footer > span { flex: 1 1 130px; }
  .production .co-stop-editor-footer > .co-button { flex: 0 1 auto; }
  .production .co-personal-input > span { flex-wrap: wrap; gap: 4px; }
  .production .co-confirm-shade { padding: 12px; }
  .production .co-confirm { padding: 25px 19px; max-height: calc(100dvh - 24px); }
  .production .xp-save-choice > .xp-field { flex-basis: 100%; }
  .production .xp-save-choice > .xp-button { width: 100%; }
  .production .xp-tab { font-size: 10px; min-height: 65px; overflow-wrap: anywhere; }
  .production .xp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .production .xp-stats span { font-size: 11px; }
  .production .xp-filter-chip { font-size: 11px; white-space: normal; }
  .production .xp-entry-actions .xp-button { font-size: 11px; }
  .production .xp-vote-copy > .xp-button { min-height: 44px; }
  .production .xp-save-choice > .xp-field,
  .production .xp-plan-save > .xp-field { min-width: 0; }
  .production .xp-poll-question > input { padding-right: 12px; }
  .production .xp-question-count { position: static; align-self: flex-end; font-size: 10px; }
}

@media (max-width: 420px) {
  .production .results-heading { flex-wrap: wrap; gap: 10px; }
  .production .results-heading > div { flex-basis: 100%; }
  .production .sort-select { width: 100%; }
  .production .sort-select select { width: 100%; max-width: none; min-height: 44px; font-size: 13px; padding-right: 30px; }
  .production .sort-select > .icon { right: 10px; }
  .production .co-form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .production .co-editor-basics,.production .co-profile-form { padding: 18px 14px; }
  .production .co-avatar-editor { flex-wrap: wrap; gap: 15px; }
  .production .co-avatar-editor .co-avatar-large { width: 66px; min-width: 66px; height: 66px; }
  .production .co-profile-info { flex-basis: calc(100% - 90px); }
  .production .co-profile-actions > .co-button { flex: 1 1 105px; }
  .production .co-profile-actions .co-button:last-child { margin-left: 0; }
  .production .co-section-toolbar,.production .co-profile-toolbar { flex-wrap: wrap; }
  .production .co-profile-counts { flex-wrap: wrap; }
  .production .co-stop-topline { flex-wrap: wrap; gap: 6px; }
  .production .co-stop-topline > span { min-width: 0; flex-wrap: wrap; }
  .production .co-guide-actions > .co-button { max-width: none; flex: 1 1 140px; }
  .production .co-editor-savebuttons { flex-wrap: wrap; }
  .production .co-editor-savebuttons > .co-button { flex: 1 1 105px; }
}

@media (max-width: 360px) {
  .production .topbar { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .production .brand { font-size: 22px; letter-spacing: -1px; }
  .production .account-btn { max-width: 112px; padding: 8px; }
  .production .account-btn > span { max-width: 78px; }
  .production .app-layout { padding-left: 12px; padding-right: 12px; }
  .production #community-root { padding-left: 12px; padding-right: 12px; }
  .production .category-tabs { display: flex; }
  .production .category { padding: 9px 11px; font-size: 12px; }
  .production .experience-shortcut { flex-direction: row; font-size: 12px; min-height: 46px; }
  .production .card-image { width: 76px; min-width: 76px; }
  .production .card-body { padding-left: 10px; padding-right: 42px; }
  .production .card-body h3 { font-size: 15px; }
  .production .card-meta,.production .card-rating { font-size: 11px; }
  .production .co-stop-fields > .co-field { flex-basis: 100%; }
  .production .co-editor-stop-body { padding-left: 12px; padding-right: 12px; }
  .production .co-editor-stop-header { gap: 7px; padding-left: 10px; padding-right: 10px; }
  .production .co-form-actions > .co-button { flex: 1 1 100px; }
  .production .xp-evening-preview { grid-template-columns: minmax(0, 1fr); }
  .production .xp-preview-link { transform: none; }
  .production .xp-evening-preview > div { min-height: 125px; padding: 18px; }
  .production .xp-vote-option { grid-template-columns: minmax(0, 1fr); }
  .production .xp-vote-photo { padding: 12px 12px 0; }
  .production .xp-vote-photo .xp-photo-frame { height: 150px; }
  .production .xp-poll-image-placeholder { margin-right: 11px; }
}
