.place-brands { flex: 0 0 auto; min-width: 0; padding: 13px 15px 12px; border-bottom: 1px solid #ececec; background: rgba(255,255,255,.82); }
.place-brands-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; color: #363636; font-size: 13px; }
.place-brands-heading strong { font-weight: 700; }
.place-row-actions, .place-row-nav { display: inline-flex; align-items: center; gap: 5px; }
.place-row-actions { gap: 12px; }
.place-row-arrow { display: grid; width: 27px; height: 27px; place-items: center; padding: 0; border: 1px solid var(--palette-line,#e7e7e4); border-radius: 50%; background: #fff; color: #444444; font: 22px/1 Arial,sans-serif; cursor: pointer; transition: background .15s, border-color .15s; }
.place-row-arrow:hover { background: #f5f5f5; border-color: var(--palette-line,#e7e7e4); }
.place-row-arrow:focus-visible { outline: 2px solid var(--palette-ink,#292928); outline-offset: 2px; }
.place-brands-clear { padding: 2px 0; border: 0; background: transparent; color: #da500b; font: inherit; font-size: 11px; cursor: pointer; }
.place-brands-clear[hidden] { display: none; }
#places-list:has(> .place-category-section) { padding-right: 0; padding-left: 0; gap: 0; }
.place-brands-list { display: flex; gap: 10px; padding-right: 28px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-behavior: smooth; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 28px), transparent 100%); }
.place-brands-list::-webkit-scrollbar { display: none; }
.place-brand { display: flex; flex: 0 0 96px; min-width: 0; flex-direction: column; align-items: center; gap: 4px; padding: 0 0 3px; border: 0; background: transparent; color: #4f4f4f; font: inherit; cursor: pointer; scroll-snap-align: start; }
.place-brand-logo { display: grid; width: 52px; height: 52px; place-items: center; overflow: hidden; border: 1px solid #e7e7e7; border-radius: 50%; background: #fff; transition: border-color .18s, box-shadow .18s, transform .18s; }
.place-brand-logo img { display: block; width: 38px; height: 38px; object-fit: contain; }
.place-brand:hover .place-brand-logo { border-color: var(--palette-line,#e7e7e4); transform: translateY(-1px); }
.place-brand.active .place-brand-logo { border: 2px solid var(--palette-line,#e7e7e4); box-shadow: 0 0 0 3px rgba(218,80,11,.12); }
.place-brand:focus-visible { outline: 2px solid var(--palette-ink,#292928); outline-offset: 3px; border-radius: 5px; }
.place-brand-name { display: block; min-height: 32px; max-width: 96px; color: inherit; font-size: 10px; line-height: 1.2; text-align: center; overflow-wrap: normal; word-break: normal; hyphens: none; }
.place-brand-count { color: #8995a2; font-size: 10px; line-height: 1; }
.place-brand.active .place-brand-name { color: #c3480a; font-weight: 700; }
.place-pin-hover { pointer-events: none !important; z-index: 1; }
.place-pin-hover-art { display: block; width: 100%; height: 100%; transform-origin: 50% 94.8%; }
.place-pin-hover-label {
  position: absolute; left: calc(100% + 7px); top: 44%; transform: translateY(-50%);
  width: max-content; max-width: 180px; color: var(--palette-ink,#292928);
  font: 400 12px/1.25 var(--font-firago),sans-serif;
  text-shadow: 0 1px 2px var(--palette-paper,#fff);
}
.place-pin-hover-left .place-pin-hover-label { right: calc(100% + 7px); left: auto; text-align: right; }
.place-pin-hover-label strong, .place-pin-hover-label span {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.place-pin-hover-label strong { font-weight: 600; }
.place-pin-hover-label span { font-size: 11px; color: var(--palette-muted,#70706d); }
@media (prefers-reduced-motion: no-preference) {
  .place-pin-hover-art {
    transform: scale(1); opacity: 1;
    transition: transform 140ms ease, opacity 140ms ease;
  }
  .place-pin-hover-label { opacity: 1; transition: opacity 140ms ease; }
  @starting-style {
    .place-pin-hover-art { transform: scale(.78125); opacity: .3; }
    .place-pin-hover-label { opacity: 0; }
  }
}
.place-category-section { padding: 17px 15px 15px; border-bottom: 1px solid #f0f0f0; }
.place-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.place-category-title { padding: 0; border: 0; background: none; color: #363636; font: 700 15px/1.3 var(--font-firago),sans-serif; text-align: left; cursor: pointer; }
.place-category-title span { margin-left: 5px; color: #8995a2; font-size: 11px; font-weight: 500; }
.place-category-row { display: flex; gap: 11px; padding-right: 32px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-behavior: smooth; overscroll-behavior-inline: contain; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 32px), transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 32px), transparent 100%); }
.place-category-row::-webkit-scrollbar { display: none; }
.place-category-card { display: flex; flex: 0 0 151px; min-width: 0; flex-direction: column; gap: 4px; padding: 5px; border: 0; border-radius: 12px; background: #fff; color: #363636; font: inherit; text-align: left; scroll-snap-align: start; }
.place-category-open { display: flex; width: 100%; min-width: 0; flex-direction: column; gap: 4px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.place-category-open:focus-visible, .place-category-companion:focus-visible { outline: 2px solid var(--palette-ink,#292928); outline-offset: 2px; border-radius: 4px; }
.place-category-card.active .place-category-media { outline: 2px solid var(--palette-ink,#292928); outline-offset: 2px; }
.place-category-media { display: grid; width: 100%; height: 109px; place-items: center; overflow: hidden; border-radius: 12px; background: #f5f5f5; color: #bbbbbb; }
.place-category-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.place-category-media img.place-category-brand { width: 66px; height: 66px; object-fit: contain; }
.place-category-media .material-symbols-rounded { font-size: 31px; }
.place-category-card-title { overflow: hidden; color: #363636; font-size: 12px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.place-category-card-address { display: -webkit-box; min-height: 25px; overflow: hidden; color: #878787; font-size: 10px; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.place-category-features { display: flex; min-height: 20px; align-items: center; gap: 8px; color: #727272; }
.place-category-feature { display: inline-flex; align-items: center; }
.place-category-feature .material-symbols-rounded { font-size: 17px; line-height: 1; }
.place-category-companion { display: inline-flex; width: 100%; min-height: 28px; align-items: center; justify-content: center; gap: 4px; align-self: stretch; margin-top: auto; padding: 3px 7px; border: 0; border-radius: 7px; background: #f4f4f4; color: #ad4009; font: 600 10px/1.2 var(--font-firago),sans-serif; cursor: pointer; }
.place-category-companion .material-symbols-rounded { font-size: 15px; }
.place-category-companion span:last-child, .place-card .place-actions .place-list-companion span:last-child { color: #181818; font-weight: 400; }
.place-category-companion:hover { background: #e7e7e7; color: #963708; }
.place-card .place-actions .place-list-companion { flex: 0 0 auto !important; width: auto !important; height: 28px !important; min-height: 28px !important; justify-content: flex-start !important; padding: 3px 8px !important; border: 0 !important; border-radius: 7px !important; background: #f4f4f4 !important; color: #ad4009 !important; box-shadow: none !important; font: 600 12px/1.2 var(--font-firago),sans-serif !important; }
.place-card .place-actions .place-list-companion:hover, .place-card .place-actions .place-list-companion:focus { background: #e7e7e7 !important; color: #963708 !important; box-shadow: none !important; }
.place-card .place-actions .place-list-companion:focus-visible { outline: 2px solid var(--palette-ink,#292928) !important; outline-offset: 2px; }
.place-card .place-actions .place-list-companion .material-symbols-rounded { font-size: 17px; }
.place-category-more { padding: 2px 0; border: 0; background: none; color: #da500b; font: 600 11px var(--font-firago),sans-serif; white-space: nowrap; cursor: pointer; }
.place-category-back { display: inline-flex; align-items: center; gap: 7px; margin: 4px 0 12px; padding: 7px 3px; border: 0; background: none; color: #da500b; font: 600 12px var(--font-firago),sans-serif; cursor: pointer; }
.place-category-back span { font: 20px/1 Arial,sans-serif; }
.place-category-back:hover { color: #ad4009; }
.place-category-back:focus-visible { outline: 2px solid var(--palette-ink,#292928); outline-offset: 2px; border-radius: 4px; }
@media (min-width: 769px) {
  .place-brands-list, .place-category-row { scroll-behavior: auto; scroll-snap-type: none; }
  .drawer-header-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 6px; }
  .drawer-header-left { min-width: 0; }
  .drawer-header-title { overflow: hidden; text-overflow: ellipsis; }
  .drawer-header-expand-btn .material-symbols-rounded { font-size: 19px; }
  .desktop-left-column:not(:has(#drawer-view-places.active, #drawer-view-cabinet.active,#drawer-view-my-missions.active, #drawer-view-public-profile.active, #drawer-view-companion.active)) .drawer-header-expand-btn { display: none; }
  .desktop-left-column:has(#drawer-view-places.active, #drawer-view-cabinet.active,#drawer-view-my-missions.active, #drawer-view-public-profile.active, #drawer-view-companion.active) { transition: width .3s cubic-bezier(.2,.8,.2,1), left .28s cubic-bezier(.16,1,.3,1), transform .28s ease, opacity .28s ease !important; }
  .desktop-left-column.places-expanded:has(#drawer-view-places.active, #drawer-view-cabinet.active,#drawer-view-my-missions.active, #drawer-view-public-profile.active, #drawer-view-companion.active) { width: min(880px, calc(100vw - 576px)) !important; }
  .desktop-left-column.places-expanded:not(.drawer-closed) ~ .map-container .map-floating-filter-bar { left: calc(216px + min(880px, 100vw - 576px) + 16px) !important; }
  .desktop-left-column.rail-collapsed.places-expanded:not(.drawer-closed) ~ .map-container .map-floating-filter-bar { left: calc(68px + min(880px, 100vw - 576px) + 16px) !important; }
  .desktop-left-column.places-expanded .place-category-card { flex-basis: 181px; }
  .desktop-left-column.places-expanded .place-category-media { height: 131px; }
  .desktop-left-column.places-expanded #places-list.category-grid-view .place-card { flex-basis: calc(33.333% - 7px); width: calc(33.333% - 7px); }
  .desktop-left-column.places-expanded #places-list.category-grid-view.category-selected-view .place-card { flex-basis: calc(50% - 5px); width: calc(50% - 5px); }
  .desktop-left-column.places-expanded #places-list.category-grid-view .place-card-cover { height: 132px; }
}
@media (max-width: 768px) { .drawer-header-expand-btn { display: none !important; } }
@media (max-width: 768px) {
  .place-category-companion { min-height: 44px; padding: 8px 7px; border-radius: 10px; font-size: 11px; }
  .place-card .place-actions .place-list-companion { height: auto !important; min-height: 44px !important; padding: 8px 10px !important; border-radius: 10px !important; }
}
@media (min-width: 769px) and (max-width: 1700px) {
  .desktop-left-column.places-expanded:not(.drawer-closed) ~ .map-container .map-floating-filter-bar { flex-wrap: wrap; }
  .desktop-left-column.places-expanded:not(.drawer-closed) ~ .map-container .desktop-map-search { flex: 1 0 100%; min-width: 0; height: 40px; }
  .desktop-left-column.places-expanded:not(.drawer-closed) ~ .map-container .desktop-map-filter-tab { flex: 1 1 0; height: 32px; padding: 0 4px; border-left: 0; }
}
@media (min-width: 769px) {
  #places-list.category-grid-view { display: flex; flex-direction: row; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; gap: 10px; }
  #places-list.category-grid-view .place-category-back, #places-list.category-grid-view .no-results { flex: 0 0 100%; }
  #places-list.category-grid-view .place-card { flex: 0 0 calc(50% - 5px); width: calc(50% - 5px); min-width: 0; height: auto !important; margin-bottom: 0; }
  #places-list.category-grid-view .place-card-cover { height: 110px; }
  #places-list.category-grid-view .place-header { min-width: 0; padding: 6px; }
  #places-list.category-grid-view .place-header .place-tag { display: none !important; }
  #places-list.category-grid-view .place-location-hours { flex-direction: column; align-items: flex-start; gap: 3px; }
  #places-list.category-grid-view .place-location-hours .place-address { width: 100%; }
  #places-list.category-grid-view .place-location-hours .place-hours { padding-left: 0; border-left: 0; }
  #places-list.category-grid-view .place-features-strip .feature-badge.accessible { flex: 0 0 24px; width: 24px; height: 24px; justify-content: center; padding: 0; }
  #places-list.category-grid-view .place-features-strip .feature-badge.accessible > span:last-child { display: none; }
  #places-list.category-grid-view .place-features-strip .feature-badge.accessible .material-symbols-rounded { margin-right: 0 !important; font-size: 16px !important; }
  #places-list.category-grid-view .accessibility-breakdown-card { display: none !important; }
  #places-list.category-grid-view .place-actions { margin-top: auto !important; }
  #places-list.category-grid-view .place-actions .place-list-companion { flex: 1 1 100% !important; width: 100% !important; justify-content: center !important; }
}
@media (max-width: 768px) { .place-row-nav { display: none; } }
body.dark-theme .place-brands { border-color: #404040; background: rgba(27,27,27,.9); }
body.dark-theme .place-brands-heading, body.dark-theme .place-brand { color: #fcd5c2; }
body.dark-theme .place-brand-logo { border-color: #4f4f4f; }
body.dark-theme .place-brand-count { color: #aeaeae; }
body.dark-theme .place-category-section { border-color: var(--palette-line, #343434); }
body.dark-theme .place-category-title, body.dark-theme .place-category-card-title { color: #fcd5c2; }
body.dark-theme .place-category-card { background: #333333; }
body.dark-theme .place-category-media { background: #333333; }
body.dark-theme .place-category-features { color: #bfbfbf; }
body.dark-theme .place-category-companion { background: #414141; color: #fbccb4; }
body.dark-theme .place-category-companion:hover { background: #505050; }
body.dark-theme .place-card .place-actions .place-list-companion { background: #414141 !important; color: #fbccb4 !important; }
body.dark-theme .place-card .place-actions .place-list-companion:hover, body.dark-theme .place-card .place-actions .place-list-companion:focus { background: #505050 !important; }
body.dark-theme .place-row-arrow { border-color: #4f4f4f; background: #333333; color: #fcd5c2; }

@media (min-width: 769px) {
  .mapboxgl-popup-content:has(.desktop-pin-card) { padding: 18px 18px 12px !important; border: 0 !important; border-radius: 18px; background: var(--card-bg, #fff); box-shadow: 0 12px 32px rgba(23,23,23, .14); }
  .mapboxgl-popup-content:has(.desktop-pin-card) .mapboxgl-popup-close-button { top: -9px !important; right: -9px !important; background: var(--card-bg, #fff) !important; box-shadow: 0 2px 8px rgba(23,23,23, .14); }
  .desktop-pin-card { width: 270px; min-width: 230px; max-width: 270px; font-family: var(--font-firago), sans-serif; color: var(--text, #404040); }
  .desktop-pin-heading { display: flex; align-items: flex-start; gap: 10px; }
  .desktop-pin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; min-height: 28px; }
  .desktop-pin-toolbar .desktop-pin-status { margin-left: auto; }
  .desktop-pin-status { display: inline-flex; align-items: center; flex-shrink: 0; gap: 5px; min-height: 28px; padding: 0 6px; border-radius: 9px; font-size: 11px; font-weight: 500; }
  .desktop-pin-status > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
  .desktop-pin-status.is-open { background: rgba(34, 197, 94, .08); color: #15803d; }
  .desktop-pin-status.is-closed { background: rgba(239, 68, 68, .08); color: #dc2626; }
  body.dark-theme .desktop-pin-status.is-open { color: #4ade80; }
  body.dark-theme .desktop-pin-status.is-closed { color: #f87171; }
  .desktop-pin-photo { display: block; width: 100%; height: 110px; object-fit: cover; border-radius: 12px; margin-bottom: 13px; }
  .desktop-pin-photo-button { display: block; width: 100%; padding: 0; margin: 0 0 13px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
  .desktop-pin-photo-button .desktop-pin-photo { margin-bottom: 0; }
  .desktop-pin-save { color: var(--text-light, #737373); }
  .desktop-pin-save[aria-pressed="true"] { background: rgba(218,80,11, .1); color: var(--primary, #da500b); }
  .desktop-pin-save[aria-pressed="true"] svg { fill: currentColor; }
  .desktop-pin-features .popup-feature-badge.accessible { position: relative; cursor: help; overflow: visible; }
  .desktop-pin-features .popup-feature-badge.accessible:focus-visible { outline: 2px solid var(--palette-ink,#292928); outline-offset: 2px; }
  .desktop-pin-heading h3 { flex: 1; margin: 0; font-size: 19px; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
  .desktop-pin-save { display: grid; place-items: center; flex: 0 0 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: #f4f4f4; cursor: pointer; }
  .desktop-pin-address { margin: 8px 0 12px; color: var(--text-light, #737373); font-size: 12px; line-height: 1.6; }
  .desktop-pin-features { display: flex; align-items: center; justify-content: flex-start; flex: 1; min-width: 0; gap: 4px; margin: 0; }
  .desktop-pin-features .popup-feature-badge.accessible { width: 20px !important; height: 28px !important; flex-shrink: 0; background: transparent; color: var(--primary, #da500b); border-radius: 4px; }
  .desktop-pin-features .material-symbols-rounded { font-size: 18px !important; }
  .desktop-pin-distance { margin-bottom: 12px; }
  .desktop-pin-details { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 46px; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--primary, #da500b); color: #fff; font: 600 14px/1.4 var(--font-firago), sans-serif; cursor: pointer; }
  .desktop-pin-details-symbol { display: grid; place-items: center; flex: 0 0 20px; height: 20px; background: transparent; color: inherit; }
  .desktop-pin-details:hover { background: var(--primary-dark, #ae4009); }
  .desktop-pin-secondary { display: grid; grid-template-columns: 32px max-content minmax(0, 1fr); gap: 6px; margin-top: 9px; }
  .desktop-pin-secondary button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; padding: 5px 0; border: 0; border-radius: 10px; background: #f4f4f4; color: var(--text-light, #737373); font: 500 11px/1.4 var(--font-firago), sans-serif; cursor: pointer; }
  .desktop-pin-secondary .material-symbols-rounded { font-size: 18px; flex-shrink: 0; }
  .desktop-pin-secondary button { padding-left: 6px; padding-right: 6px; font-size: 10.5px; white-space: nowrap; }
  .desktop-pin-secondary button > span:not(.material-symbols-rounded) { display: block; line-height: 1; transform: translateY(1px); }
  .desktop-pin-secondary .desktop-pin-save { height: 38px; border-radius: 10px; }
  .desktop-pin-secondary .desktop-pin-save[aria-pressed="true"] { background: rgba(218,80,11, .1); color: var(--primary, #da500b); }
  .desktop-pin-secondary button:hover { background: rgba(218,80,11, .08); color: var(--primary, #da500b); }
  .desktop-pin-card button:focus-visible { outline: 2px solid var(--palette-ink,#292928); outline-offset: 3px; }
  body.dark-theme .desktop-pin-save { background: #414141; }
  body.dark-theme .desktop-pin-save[aria-pressed="true"] { background: #414141; color: #f79a6b; }
  body.dark-theme .desktop-pin-secondary button { background: var(--card-bg-elevated, #242426); }
  body.dark-theme .desktop-pin-secondary .desktop-pin-save[aria-pressed="true"] { background: #414141; color: #f79a6b; }
  body.dark-theme .desktop-pin-features .popup-feature-badge.accessible { background: transparent; color: #fbccb4; }
  body.dark-theme .desktop-pin-secondary button:hover { background: #414141; color: #fbccb4; }
}
/* Place list actions match the light category cards. */
/* Saved places offer bookmarking and companion requests without a rating action. */
#drawer-view-saved #drawer-saved-places-list .btn-action-rate,
#cabinet-modal #cabinet-saved-places-list .btn-action-rate { display: none !important; }
body:not(.dark-theme):not(.v2-portal) #drawer-view-saved #drawer-saved-places-list .place-card [data-save-place-id],
body:not(.dark-theme):not(.v2-portal) #cabinet-modal #cabinet-saved-places-list .place-card [data-save-place-id] {
  background: #f4f4f4 !important;
  color: #404040 !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:not(.dark-theme):not(.v2-portal) #drawer-view-saved #drawer-saved-places-list .place-card [data-save-place-id]:hover,
body:not(.dark-theme):not(.v2-portal) #cabinet-modal #cabinet-saved-places-list .place-card [data-save-place-id]:hover { background: #e7e7e7 !important; }
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card .btn-action-companion,
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card .btn-action-rate,
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card [data-save-place-id] {
  background: #f4f4f4 !important;
  color: #404040 !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card .btn-action-companion .material-symbols-rounded,
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card .btn-action-rate .material-symbols-rounded { color: #ad4009 !important; }
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card .btn-action-companion span:last-child { color: #404040 !important; }
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card [data-save-place-id][aria-label='შენახულია'],
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card [data-save-place-id][aria-label='Saved'] { background: #fef3c7 !important; }
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card .btn-action-companion:hover,
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card .btn-action-rate:hover,
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card [data-save-place-id]:hover { background: #e7e7e7 !important; }
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list .place-card .btn-action:focus-visible { outline: 2px solid var(--palette-ink,#292928) !important; outline-offset: 2px; }


/* Subtle outline around objects in the place list. */
body:not(.v2-portal) #drawer-view-places #places-list .place-category-card,
body:not(.v2-portal) #drawer-view-places #places-list .place-card:not(.active) {
  border: 0.5px solid rgba(162,162,162, 0.24) !important;
}

/* Sociability typography trial for object cards. */
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list :is(.place-category-card-title, .place-card .place-title) {
  color:#212121; font-size:14px; line-height:1.4;
}
body:not(.dark-theme):not(.v2-portal) #drawer-view-places #places-list :is(.place-category-card-address, .place-card .place-address) {
  color:#626b78; font-size:11px; line-height:1.45;
}
body:not(.v2-portal) #drawer-view-places #places-list .place-category-card-address { min-height:32px; }

/* Keep search and filter menus usable beside narrow desktop/tablet drawers. */
@media (min-width:769px) and (max-width:1250px) {
  body:not(.v2-portal):is(:has(.desktop-left-column:not(.drawer-closed)),.place-details-open) #map-floating-filter-bar { flex-wrap:wrap; }
  body:not(.v2-portal):is(:has(.desktop-left-column:not(.drawer-closed)),.place-details-open) #map-floating-filter-bar .desktop-map-search {
    flex:1 0 100%; width:100%; min-width:0; height:46px; padding:0 10px; box-sizing:border-box;
  }
  body:not(.v2-portal):is(:has(.desktop-left-column:not(.drawer-closed)),.place-details-open) #map-floating-filter-bar .desktop-city-filter { flex:1 1 24%; min-width:0; position:static; }
  body:not(.v2-portal):is(:has(.desktop-left-column:not(.drawer-closed)),.place-details-open) #map-floating-filter-bar .desktop-map-filter-tab {
    flex:1 1 24%; min-width:0; height:36px; padding:0 4px; gap:4px;
  }
  body:not(.v2-portal):is(:has(.desktop-left-column:not(.drawer-closed)),.place-details-open) #map-floating-filter-bar .desktop-map-city-button { width:100%; }
  body:not(.v2-portal):is(:has(.desktop-left-column:not(.drawer-closed)),.place-details-open) #map-floating-filter-bar .city-button-label { min-width:0; overflow:hidden; text-overflow:ellipsis; margin-left:0; }
  body:not(.v2-portal):is(:has(.desktop-left-column:not(.drawer-closed)),.place-details-open) #map-floating-filter-bar .desktop-map-filter-tab > .material-symbols-rounded { margin-left:0; flex-shrink:0; }
  body:not(.v2-portal):is(:has(.desktop-left-column:not(.drawer-closed)),.place-details-open) #map-floating-filter-bar .desktop-map-accessibility-icons .material-symbols-rounded:nth-child(n+2),
  body:not(.v2-portal):is(:has(.desktop-left-column:not(.drawer-closed)),.place-details-open) #map-floating-filter-bar .desktop-map-category-icons .material-symbols-rounded:nth-child(n+2) { display:none; }
  body:not(.v2-portal) #map-floating-filter-bar .desktop-map-location-menu,
  body:not(.v2-portal) #map-floating-filter-bar .desktop-city-filter .city-filter-menu {
    left:auto; right:0; top:calc(100% + 7px); width:min(310px,100%); box-sizing:border-box;
    max-height:calc(100dvh - 140px); overflow-y:auto;
  }
}
@media (min-width:769px) and (max-width:1100px) {
  body:not(.v2-portal) .desktop-left-column,
  body:not(.v2-portal) .desktop-left-column:has(#drawer-view-projects.active) { width:320px!important; }
  body:not(.v2-portal):not(.place-details-open) .desktop-left-column:not(.drawer-closed) ~ .map-container #map-floating-filter-bar { left:552px!important; }
  body:not(.v2-portal):not(.place-details-open) .desktop-left-column.rail-collapsed:not(.drawer-closed) ~ .map-container #map-floating-filter-bar { left:404px!important; }
  body:not(.v2-portal) .desktop-left-column.places-expanded:has(#drawer-view-places.active,#drawer-view-cabinet.active,#drawer-view-my-missions.active,#drawer-view-public-profile.active,#drawer-view-companion.active) {
    top:124px!important; bottom:0!important; height:calc(100dvh - 124px)!important;
    width:min(480px,calc(100vw - 372px))!important;
  }
  body:not(.v2-portal) .desktop-left-column.rail-collapsed.places-expanded:has(#drawer-view-places.active,#drawer-view-cabinet.active,#drawer-view-my-missions.active,#drawer-view-public-profile.active,#drawer-view-companion.active) { width:min(480px,calc(100vw - 224px))!important; }
  body:not(.v2-portal):not(.place-details-open) .desktop-left-column.places-expanded:not(.drawer-closed) ~ .map-container #map-floating-filter-bar { left:232px!important; }
  body:not(.v2-portal):not(.place-details-open) .desktop-left-column.rail-collapsed.places-expanded:not(.drawer-closed) ~ .map-container #map-floating-filter-bar { left:84px!important; }
}
@media (min-width:769px) and (max-width:1100px) {
  body:not(.v2-portal):not(.place-details-open):has(.desktop-left-column:not(.drawer-closed)) #apple-map-mode-pill-container {
    left:auto!important; right:12px; transform:none; width:max-content; max-width:calc(100vw - 560px);
  }
  body:not(.v2-portal):not(.place-details-open):has(.desktop-left-column.rail-collapsed:not(.drawer-closed)) #apple-map-mode-pill-container { max-width:calc(100vw - 412px); }
  body:not(.v2-portal):not(.place-details-open):has(.desktop-left-column.places-expanded:not(.drawer-closed)) #apple-map-mode-pill-container { max-width:calc(100vw - 240px - min(480px,100vw - 372px)); }
  body:not(.v2-portal):not(.place-details-open):has(.desktop-left-column.rail-collapsed.places-expanded:not(.drawer-closed)) #apple-map-mode-pill-container { max-width:calc(100vw - 92px - min(480px,100vw - 224px)); }
  body:not(.v2-portal):not(.place-details-open):has(.desktop-left-column:not(.drawer-closed)) #apple-map-mode-pill-container .apple-map-mode-pill { width:100%; box-sizing:border-box; }
  body:not(.v2-portal):not(.place-details-open):has(.desktop-left-column:not(.drawer-closed)) #apple-map-mode-pill-container .apple-map-mode-segment { flex:1 1 0; min-width:0; padding-inline:8px; }
  body:not(.v2-portal):not(.place-details-open):has(.desktop-left-column:not(.drawer-closed)) #apple-map-mode-pill-container .apple-map-mode-text { min-width:0; overflow:hidden; text-overflow:ellipsis; }
  body:not(.v2-portal) #ai-chat-bubble { bottom:84px!important; }
}
@media (min-width:769px) and (max-width:1100px) {
  body.place-details-open:not(.v2-portal) #map-floating-filter-bar { left:232px!important; }
  body.place-details-open:not(.v2-portal):has(.apple-desktop-rail.collapsed,.apple-desktop-rail.rail-collapsed) #map-floating-filter-bar { left:84px!important; }
  body.place-details-open:not(.v2-portal) #place-details-overlay .place-details-panel { top:124px!important; height:calc(100dvh - 124px)!important; }
}
@media (min-width:769px) and (max-width:1100px) {
  body.place-details-open:not(.v2-portal) #apple-map-mode-pill-container {
    left:auto!important; right:12px; transform:none; width:max-content;
    max-width:calc(100vw - var(--place-details-left,68px) - var(--place-details-width,360px) - 24px);
  }
  body.place-details-open:not(.v2-portal) #apple-map-mode-pill-container .apple-map-mode-pill { width:100%; box-sizing:border-box; }
  body.place-details-open:not(.v2-portal) #apple-map-mode-pill-container .apple-map-mode-segment { flex:1 1 0; min-width:0; padding-inline:8px; }
  body.place-details-open:not(.v2-portal) #apple-map-mode-pill-container .apple-map-mode-text { min-width:0; overflow:hidden; text-overflow:ellipsis; }
}

/* Expanded lists and profiles share the statistics drawer dimensions. */
@media(min-width:769px){
 html body:not(.v2-portal) .desktop-left-column.places-expanded:not(.drawer-closed):has(#drawer-view-places.active,#drawer-view-cabinet.active,#drawer-view-my-missions.active,#drawer-view-public-profile.active){width:min(760px,calc(100vw - 290px))!important;max-width:none!important;top:0!important;bottom:0!important;height:100dvh!important}
}
/* Leave the next card visible to indicate horizontal scrolling. */
body:not(.v2-portal) #drawer-view-places #places-list .place-category-row{padding-right:0;-webkit-mask-image:none;mask-image:none}
body:not(.v2-portal) #drawer-view-places #places-list .place-category-card{flex:0 0 calc((100% - 24px) / 2.5);box-sizing:border-box}
body:not(.v2-portal) #drawer-view-places #places-list :is(.place-category-companion,.place-list-companion){display:none!important}
@media(min-width:769px){
 body:not(.v2-portal) .desktop-left-column.places-expanded #drawer-view-places #places-list .place-category-card{flex-basis:calc((100% - 36px) / 3.5)}
}
@layer inclusive-palette {
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-row{gap:12px!important;align-items:stretch;padding:4px 4px 8px 2px!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-card{padding:0!important;gap:0!important;border:0!important;border-radius:12px!important;background:var(--palette-paper,#fff)!important;box-shadow:0 2px 8px rgba(23,23,23,.07)!important;overflow:hidden}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-open{display:grid!important;grid-template-columns:minmax(0,1fr);align-content:start;gap:6px!important;flex:1;justify-content:flex-start!important;background:transparent!important;border-radius:0!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-media{grid-area:1/1;position:relative;aspect-ratio:3/2;height:auto!important;min-height:0!important;flex:none;border-radius:11px 11px 0 0!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-media img:not(.place-category-brand){position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-caption:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--place-photo-caption-gradient)}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-card-title{position:relative;z-index:1;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal!important;overflow:hidden;min-height:22px;max-height:44px;margin:0 0 4px!important;color:#fff!important;text-shadow:0 1px 3px #0006;font-size:15px!important;line-height:1.45!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-card-address{grid-area:2/1;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 9px!important;min-height:36px!important;max-height:36px;overflow:hidden;color:var(--palette-muted,#70706d)!important;font-size:11px!important;line-height:1.5!important;text-shadow:none!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-caption{grid-area:1/1;align-self:end;position:relative;z-index:1;padding:10px 12px!important;min-width:0;box-sizing:border-box;text-shadow:0 1px 3px #0008}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list).category-grid-view{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:12px!important;align-items:stretch!important;align-content:flex-start!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list).category-grid-view :is(.place-category-back,.no-results){flex:0 0 100%!important;width:100%!important;box-sizing:border-box}
 body:not(.v2-portal) :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list).category-grid-view .place-category-card{position:relative;flex:0 0 calc((100% - 12px)/2)!important;width:calc((100% - 12px)/2)!important;min-width:0!important;box-sizing:border-box}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-save{position:absolute;top:8px;right:8px;z-index:2;display:grid;place-items:center;width:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:#fff;color:#292928;cursor:pointer}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-rate{display:grid;place-items:center;margin-left:auto;min-width:32px;min-height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--palette-ink,#111);cursor:pointer}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-rate .material-symbols-rounded{font-size:20px}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list).category-grid-view .place-category-features{gap:4px!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list).category-grid-view .place-category-features .place-access-feature{flex-basis:30px!important;width:30px!important;height:30px!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-save:hover,:is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-rate:hover{filter:brightness(.96)}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-features{margin-top:auto!important;padding:8px 9px 9px!important;min-height:30px;box-sizing:content-box}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-card.active{border:0!important;outline:none!important;box-shadow:0 2px 8px rgba(23,23,23,.07)!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-open:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
 :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-card.active .place-category-media{outline:none!important}
 @media(max-width:768px){
  body:not(.v2-portal) :is(#drawer-view-places #places-list,#drawer-saved-places-list,#cabinet-saved-places-list) .place-category-card{flex-basis:calc((100% - 12px) / 1.5)!important}
 }
}
/* Reported availability stays distinct from missing or conflicting data. */
:is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-feature{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:30px;padding:4px;border:0;border-radius:8px;font:500 11px/1 var(--font-firago),sans-serif;cursor:help;color:#737373;background:#f2f2f2}
:is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-feature[data-access-state="yes"]{color:#16805c;background:#eaf6ef}
:is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-feature[data-access-state="no"]{color:#a65353;background:#faf0f0}
:is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-feature[data-access-state="unknown"]{color:#7a8594;background:#f3f3f3}
:is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-feature .a11y-icon{color:inherit}
:is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-state{position:absolute;right:1px;bottom:1px;display:grid;place-items:center;width:11px;height:11px;border-radius:50%;background:var(--card-bg,#fff);font:600 9px/1 Arial,sans-serif;color:inherit}
:is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-feature:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:2px}
#places-list .place-category-features{flex-wrap:wrap;gap:5px;padding-top:3px}
.place-access-hint{position:fixed;z-index:2147483647;box-sizing:border-box;width:max-content;max-width:min(280px,calc(100vw - 20px));padding:10px 12px;border:1px solid var(--palette-line,#e7e7e4);border-radius:10px;background:var(--card-bg,#fff);color:var(--heading,#242424);box-shadow:0 5px 18px rgba(23,23,23,.12);font:400 12px/1.6 var(--font-firago),sans-serif;pointer-events:none}
.place-access-hint[hidden]{display:none!important}
body.dark-theme :is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-feature[data-access-state="yes"]{background:#193c32;color:#8ed8b5}
body.dark-theme :is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-feature[data-access-state="no"]{background:#422c31;color:#e7a6a6}
body.dark-theme :is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-feature[data-access-state="unknown"]{background:#3f3f3f;color:#c4c4c4}
body.dark-theme .place-access-hint{background:#242424;color:#ececec;border-color:#404040}
@media(max-width:768px){:is(#places-list,#mobile-place-preview,#drawer-saved-places-list,.mission-detail-venue-access) .place-access-feature{flex-basis:36px;width:36px;height:36px}}
@media(max-width:768px){
 #mobile-place-preview .mobile-place-preview-features{min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;gap:5px;flex-shrink:0}
 #mobile-place-preview .mobile-place-preview-features::-webkit-scrollbar{display:none}
}

/* Saved places: compact photo cards matching the shared drawer surfaces. */
#drawer-saved-places-list .place-card{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:7px 12px!important;padding:12px!important;margin:0!important;min-width:0!important;width:100%!important;height:auto!important;border:0!important;border-radius:16px!important;background:#f8f8f8!important;box-shadow:none!important;transition:background .18s!important}
#drawer-saved-places-list .place-card:hover{background:#f3f3f3!important}
#drawer-saved-places-list .place-card>*{grid-column:2!important;min-width:0!important}
#drawer-saved-places-list .place-card .place-card-cover{grid-column:1!important;grid-row:1/span 4!important;width:96px!important;height:112px!important;margin:0!important;border-radius:11px!important;overflow:hidden!important;align-self:start!important}
#drawer-saved-places-list .place-card-cover img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
#drawer-saved-places-list .place-header{display:flex!important;flex-wrap:wrap!important;align-items:start!important;gap:6px!important;margin:0!important;padding:0!important}
#drawer-saved-places-list .place-title{flex:1 1 100%!important;font-size:14px!important;font-weight:600!important;line-height:1.5!important;margin:0!important;color:var(--text,#333333)!important;overflow-wrap:anywhere!important}
#drawer-saved-places-list .place-header>div{width:100%!important;justify-content:space-between!important}
#drawer-saved-places-list .place-tag{font-size:10px!important;line-height:1.4!important;padding:3px 7px!important;border-radius:6px!important;max-width:calc(100% - 36px)!important;white-space:normal!important}
#drawer-saved-places-list .place-location-hours{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin:0!important;font-size:11px!important;line-height:1.6!important}
#drawer-saved-places-list .place-address{display:flex!important;gap:4px!important;align-items:start!important;min-width:0!important;color:var(--text-light,#737373)!important}
#drawer-saved-places-list .place-address svg{flex:none!important;margin-top:2px!important}
#drawer-saved-places-list .place-address span{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
#drawer-saved-places-list .place-hours{font-size:10px!important;color:var(--text-light,#737373)!important}
#drawer-saved-places-list .place-rating-section,#drawer-saved-places-list .place-actions,#drawer-saved-places-list .accessibility-breakdown-card{grid-column:1/-1!important;border:0!important;padding-top:0!important;margin-top:3px!important}
#drawer-saved-places-list .place-actions{display:flex!important}
#drawer-saved-places-list .btn-action-companion{width:100%!important;min-height:36px!important;border:0!important;border-radius:9px!important;background:#f0f0f0!important;color:#903508!important;font-size:12px!important;justify-content:center!important;box-shadow:none!important}
#drawer-saved-places-list .place-card:not(:has(.place-card-cover)){grid-template-columns:minmax(0,1fr)!important}
#drawer-saved-places-list .place-card:not(:has(.place-card-cover))>*{grid-column:1!important}
body.dark-theme #drawer-saved-places-list .place-card{background:var(--card-bg-elevated,#2a2a2a)!important}
body.dark-theme #drawer-saved-places-list .place-card:hover{background:#383838!important}
body.dark-theme #drawer-saved-places-list .btn-action-companion{background:var(--palette-surface,#1d1d1d)!important;color:var(--palette-ink,#f5f5f2)!important}

#drawer-view-saved #drawer-saved-places-list .place-address{flex:1 1 100%;width:100%;white-space:normal!important}
#drawer-view-saved #drawer-saved-places-list .place-address span{white-space:normal!important;overflow-wrap:anywhere}
#drawer-view-saved #drawer-saved-places-list .place-hours{border:0;padding:0;margin:0}
#drawer-view-saved #drawer-saved-places-list .place-card .place-actions .btn-action-companion{width:100%!important;background:#f0f0f0!important;color:#903508!important;font-weight:500!important}
#drawer-view-saved #drawer-saved-places-list .place-card .place-actions .btn-action-companion:hover{background:#e8e8e8!important}
body.dark-theme #drawer-view-saved #drawer-saved-places-list .place-card .place-actions .btn-action-companion{background:var(--palette-surface,#1d1d1d)!important;color:var(--palette-ink,#f5f5f2)!important}

/* Account menu and separate desktop missions workspace. */
@media(min-width:769px){
  #rail-auth-menu-missions,#rail-auth-menu-saved,#rail-auth-menu-logout{display:none!important}
  #rail-account-menu{position:fixed;z-index:500001;box-sizing:border-box;width:220px;padding:8px;border:1px solid var(--palette-line,var(--border,#e7e7e7));border-radius:16px;background:var(--palette-paper,var(--card-bg,#fff));color:var(--palette-ink,var(--heading,#292928));box-shadow:0 10px 32px rgba(41,41,40,.13)}
  #rail-account-menu[hidden]{display:none!important}
  #rail-account-menu::before{content:'';position:absolute;left:-6px;top:var(--account-arrow-y,24px);width:10px;height:10px;background:inherit;border-left:1px solid var(--palette-line,#e7e7e7);border-bottom:1px solid var(--palette-line,#e7e7e7);transform:translateY(-50%) rotate(45deg)}
  #rail-account-menu button{display:flex;align-items:center;gap:12px;width:100%;min-height:43px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-size:13px;text-align:left;cursor:pointer}
  #rail-account-menu button:hover,#rail-account-menu button:focus-visible{background:var(--palette-hover,#eeeeed);outline:none}
  #rail-account-menu button svg{flex:none}
  #rail-account-menu button[data-account-view="logout"]{margin-top:5px;border-top:1px solid var(--palette-line,#e7e7e7);border-top-left-radius:0;border-top-right-radius:0}
  .desktop-left-column.places-expanded #drawer-view-my-missions #drawer-cabinet-missions-list:has(>.drawer-mission-card){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}
  .desktop-left-column.places-expanded #drawer-view-my-missions #drawer-cabinet-missions-list>.drawer-mission-card{min-width:0;width:100%;box-sizing:border-box;margin:0!important}
  .desktop-left-column.places-expanded #drawer-view-my-missions #drawer-cabinet-missions-list>:not(.drawer-mission-card){grid-column:1/-1}
}
@media(max-width:768px){#rail-account-menu,#drawer-view-my-missions{display:none!important}}

#rail-settings-toggle,#rail-settings-menu{display:none}
@layer inclusive-palette{@media(min-width:769px){body #apple-desktop-rail .apple-rail-settings-bar>.apple-rail-lang-group{display:none!important}}}
@media(min-width:769px){
  #apple-desktop-rail :is(#rail-btn-statistics,#rail-btn-add-place,#rail-theme-toggle,.apple-rail-lang-group){display:none!important}
  body #apple-desktop-rail .apple-rail-settings-bar>.apple-rail-lang-group{display:none!important}
  #apple-desktop-rail #rail-settings-toggle{display:flex;align-items:center;justify-content:center;color:inherit}
  #rail-settings-menu{display:block;position:fixed;z-index:500001;box-sizing:border-box;width:240px;padding:8px;border:1px solid var(--palette-line,var(--border,#e7e7e7));border-radius:16px;background:var(--palette-paper,var(--card-bg,#fff));color:var(--palette-ink,var(--heading,#292928));box-shadow:0 10px 32px rgba(41,41,40,.13)}
  #rail-settings-menu[hidden]{display:none!important}
  #rail-settings-menu::before{content:'';position:absolute;left:-6px;top:var(--account-arrow-y,24px);width:10px;height:10px;background:inherit;border-left:1px solid var(--palette-line,var(--border,#e7e7e7));border-bottom:1px solid var(--palette-line,var(--border,#e7e7e7));transform:translateY(-50%) rotate(45deg)}
  #rail-settings-menu :is(button,a,.rail-settings-language){display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;min-height:43px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-size:13px;text-align:left;text-decoration:none;cursor:pointer}
  #rail-settings-menu :is(button,a):is(:hover,:focus-visible){background:var(--palette-hover,var(--hover-bg,#eeeeed));outline:none}
  #rail-settings-menu svg{flex:none}
  #rail-settings-menu .rail-settings-divider{height:1px;margin:5px 12px;background:var(--palette-line,var(--border,#e7e7e7))}
  #rail-settings-menu .rail-settings-language{cursor:default}
  #rail-settings-menu .rail-settings-language>div{display:flex;margin-left:auto;background:var(--bg,#f8f8f8);padding:3px;border-radius:10px;gap:2px}
  #rail-settings-menu [data-language]{width:32px;min-height:30px;padding:4px;justify-content:center;font-size:11px;border-radius:8px}
  #rail-settings-menu [data-language][aria-pressed="true"]{background:#e7f7b7;color:#292928}
  .rail-settings-switch{margin-left:auto;flex:none;width:30px;height:18px;background:var(--border,#d7d7d7);border-radius:12px;padding:2px;box-sizing:border-box}
  .rail-settings-switch::after{content:'';display:block;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .18s}
  [aria-checked="true"]>.rail-settings-switch{background:#c3f832}
  [aria-checked="true"]>.rail-settings-switch::after{transform:translateX(12px);background:#292928}
}

@media(min-width:769px){#drawer-view-my-missions .drawer-cabinet-missions-section>.drawer-section-title{display:none!important}.drawer-header-left>#drawer-cabinet-missions-total-badge{flex:none;margin-left:8px}}

@media(min-width:769px){
  body #apple-desktop-rail.palette-rail-expanded #rail-settings-toggle{width:184px!important;justify-content:flex-start!important;padding-inline:12px!important;gap:12px!important}
  body #apple-desktop-rail #rail-settings-toggle svg{flex-shrink:0}
}

/* Saved venues reuse the same photo, caption and access badges as category cards. */
:is(#drawer-saved-places-list,#cabinet-saved-places-list).saved-place-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important;align-content:start;align-items:stretch;padding:4px!important}
.saved-place-cards>.place-category-card{position:relative;display:flex;flex-direction:column;min-width:0;width:100%;box-sizing:border-box}
.saved-place-cards>.place-category-card .place-category-save{position:absolute;top:8px;right:8px;z-index:3;background:var(--palette-paper,#fff)!important;color:var(--palette-ink,#292928)!important;border:0;border-radius:50%;width:32px;height:32px;min-height:32px!important;padding:6px}
.saved-place-cards>:not(.place-category-card){grid-column:1/-1}

.saved-place-cards .place-category-features{flex-wrap:wrap;min-width:0;gap:5px!important}

.saved-place-cards .place-category-rate{display:none!important}
.saved-place-cards .place-access-feature{flex:0 0 30px!important;width:30px!important;height:30px!important}
