@font-face {
  font-family: "Bharat Avenir Next";
  src: url("/search-assets/fonts/AvenirNextCyr-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Bharat Avenir Next";
  src: url("/search-assets/fonts/AvenirNextCyr-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Bharat Avenir Next";
  src: url("/search-assets/fonts/AvenirNextCyr-Demi.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Bharat Avenir Next";
  src: url("/search-assets/fonts/AvenirNextCyr-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ui-font: "Bharat Avenir Next", system-ui, sans-serif;
  --ink: #5D5B76;
  font-family: var(--ui-font);
  color: var(--ink);
}
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
#map {
  position: fixed;
  inset: 0;
  background-color: #f1efee;
  --grid-line: rgb(93 91 118 / 9%);
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px),
                    linear-gradient(to right, transparent 1px, var(--grid-line) 1px 2px, transparent 2px),
                    linear-gradient(to bottom, transparent 1px, var(--grid-line) 1px 2px, transparent 2px);
  background-size: 16px 16px, 16px 16px, 160px 160px, 160px 160px;
}
#antibot { position: absolute; width: 0; height: 0; overflow: hidden; }

#place-search {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 4em);
  z-index: 1;
  position: fixed;
  inset: 2em auto auto 2em;
  box-sizing: border-box;
  width: min(500px, calc(100% - 4em));
  --panel-padding: 0.875em;
  --result-padding-block: 12px;
  padding: var(--panel-padding);
  border-radius: 1em;
  background: white;
  color: var(--ink);
  font: 16px/1.4 var(--ui-font);
  box-shadow: 0 4px 24px rgb(40 48 65 / 14%);
}
#place-search input, #place-search button { font: inherit; color: inherit; border: 0; }
.search-field, .nearby { flex: none; }
.search-field { display: flex; align-items: center; }
.search-field > svg { flex: none; margin-inline: 10.5px; color: #929aab; }
#place-search #query { font-weight: 500; }
#query { appearance: none; -webkit-appearance: none; min-width: 0; outline: none; display: block; width: 100%; box-sizing: border-box; background: transparent; padding: 0.7em 0.9em 0.7em 0; }
/* Use tonal feedback for keyboard focus on button controls. */
:is(button, [role="button"], [role="tab"], input:is([type="button"], [type="submit"], [type="reset"]), #taxi-book, .result-site):focus { outline: none; }
:is(button, [role="button"], [role="tab"], input:is([type="button"], [type="submit"], [type="reset"]), #taxi-book, .result-site):not(:has(> .art.close)):focus-visible { filter: brightness(.9); }
#query::-webkit-search-cancel-button { -webkit-appearance: none; }
#search-loader { width: 24px; height: 24px; flex: none; margin-inline: 10px 16px; }
#clear-query { width: 44px; height: 44px; flex: none; margin-right: 6px; }
#place-search #clear-query { display: grid; place-items: center; padding: 0; background: transparent; }
#clear-query::before { content: ""; width: 100%; height: 100%; background: var(--ink); -webkit-mask: url("/search-assets/icon_close_cross_smaller.png") center/contain no-repeat; mask: url("/search-assets/icon_close_cross_smaller.png") center/contain no-repeat; }
#place-search #query:placeholder-shown ~ #clear-query, #place-search #search-loader:not([hidden]) ~ #clear-query { visibility: hidden; }
#search-loader:not([hidden]) + #clear-query { position: absolute; }
.nearby {
  --fade-width: 2em;
  overflow-x: auto;
  margin-top: 10px;
  margin-inline: calc(0px - var(--panel-padding));
  scrollbar-width: none;
  overscroll-behavior-x: none;
  -webkit-mask-image: linear-gradient(to right, black calc(100% - var(--fade-width)), transparent);
  mask-image: linear-gradient(to right, black calc(100% - var(--fade-width)), transparent);
}
.nearby-track { display: flex; width: max-content; gap: 6px; padding-inline: var(--panel-padding); }
.nearby::-webkit-scrollbar { display: none; }
#place-search button { cursor: pointer; }
#place-search .nearby button { display: flex; align-items: center; gap: 6px; flex: none; padding: 7px 12px 7px 8px; border-radius: 2em; background: #f2f3f7; font-size: 14px; font-weight: 600; }
#place-search .nearby button[aria-pressed="true"] { background: #e4efff; color: #0059b5; }
#matches { margin-top: 8px; margin-inline: calc(0px - var(--panel-padding)); min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
#matches:has(> .result) { margin-bottom: calc(0px - var(--panel-padding)); border-radius: 0 0 1em 1em; }
.result { display: flex; align-items: flex-start; min-height: 90px; padding: var(--result-padding-block) var(--panel-padding); box-sizing: border-box; }
.result + .result, :is(#route-options, #taxi-options) button + button { position: relative; }
.result + .result::before, :is(#route-options, #taxi-options) button + button::before { content: ""; position: absolute; inset: 0 var(--panel-padding) auto; border-top: 0.5px solid #d5d7dd; pointer-events: none; }
.result-place { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 0; text-align: left; background: transparent; }
@media (hover: hover) {
  .result:hover { background: #f6f7f9; }
}
.result-symbol { flex: 0 0 51px; display: grid; justify-items: center; gap: 3px; }
.result-symbol small { font: 600 11px/1.25 var(--ui-font); }
.result-copy { display: grid; min-width: 0; row-gap: 1px; }
.result-copy strong { font: 600 15px/1.2 var(--ui-font); }
.result-category, .result-address { font-weight: 500; color: var(--ink); font-size: 12px; line-height: 1.35; }
.result-category { line-height: 1.2; }
.result-rating:not([hidden]) + .result-address { margin-block-start: 1px; }
.result-address { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.result-rating { width: max-content; position: relative; line-height: 1.2; font-size: 14px; color: #b1b5bf; }
.result-rating::before { content: "☆☆☆☆☆"; }
.result-rating::after { content: "★★★★★"; position: absolute; inset: 0 auto 0 0; width: var(--rating); overflow: hidden; white-space: nowrap; color: #ef982c; }
.result-actions { display: flex; }
.result-site, .result-route { width: 40px; height: 40px; padding: 0; background: transparent; display: grid; place-items: center; }
.result-site[hidden] { display: none; }
.result-site::before, .result-route::before { content: ""; width: 100%; height: 100%; background: #0271e3; mask: var(--icon) center/contain no-repeat; -webkit-mask: var(--icon) center/contain no-repeat; }
.result-site { --icon: url("/search-assets/results/icon_globe_flat.png"); }
#place-search .result-route { --icon: url("/search-assets/results/icon_route.png"); cursor: pointer; }
.result-pin { width: 36px; height: 36px; pointer-events: none; }
@media (max-width: 800px) {
  #place-search:has(#matches:not([hidden]) .result) { max-height: 48dvh; }
}
@media (max-width: 540px) {
  #place-search { inset-inline: 0; width: min(100%, 500px); margin-inline: auto; }
}

.map-controls {
  position: fixed;
  right: max(2em, env(safe-area-inset-right));
  bottom: max(2em, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 16px/1.4 var(--ui-font);
}
.map-controls button, #location-status:not(:empty) {
  background: white;
  box-shadow: 0 4px 24px rgb(40 48 65 / 14%);
}
.map-controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
}
#frame-results[hidden] { display: none; }
#frame-results { margin-block-end: 8px; }
#locate { margin-block-start: 8px; }
.map-controls button::before {
  content: "";
  width: var(--icon-size);
  height: var(--icon-size);
  background: var(--ink);
  -webkit-mask: var(--control-icon) center / contain no-repeat;
  mask: var(--control-icon) center / contain no-repeat;
}
#frame-results { --icon-size: 26px; --control-icon: url("/search-assets/frame.png"); }
#zoom-in { --icon-size: 32px; --control-icon: url("/search-assets/control-plus.png"); }
#zoom-out { --icon-size: 32px; --control-icon: url("/search-assets/control-minus.png"); }
#locate { --icon-size: 36px; --control-icon: url("/search-assets/control-location.png"); }
.map-controls button:disabled { cursor: wait; }
.map-controls button:disabled::before { opacity: .65; }
#location-status {
  position: absolute;
  right: calc(100% + 8px);
  bottom: 0;
}
#location-status:not(:empty) {
  width: max-content;
  max-width: calc(100vw - 9rem);
  padding: 8px 12px;
  border-radius: 1em;
  font-size: 14px;
  color: var(--ink);
}

#place-search:not(.routing):has(#place-view:not([hidden])) > :not(#place-view) { display: none; }
#place-search:has(#place-view:not([hidden])) { padding: 0; overflow: hidden; }
#place-view { --place-blue: #3157c9; --place-button-bg: #eff0f4; color: var(--ink); }
#place-view:not([hidden]) { display: flex; flex-direction: column; min-height: 0; }
#place-view [hidden] { display: none; }
.place-scroll { overflow-y: auto; overscroll-behavior: contain; padding-inline: 22px; }
.place-heading { display: flex; align-items: flex-start; gap: 10px; padding-block: 22px 18px; }
.place-heading img { flex: none; }
.place-heading h2 { margin: 0; font: 600 20px/1.2 var(--ui-font); overflow-wrap: anywhere; }
.place-heading h2:focus { outline: none; }
.place-heading p { margin: 4px 0 0; line-height: 1.32; font-size: 14px; }
#place-category { font-weight: 600; }
#place-address { font-weight: 500; color: var(--ink); }
#place-hours { color: var(--ink); font-weight: 600; font-size: 13px; }
#place-hours.open { color: #267344; }
#place-contacts, .place-tools, #place-reviews, #place-photos, .place-feedback { border-top: 1px solid #dadce2; }
#place-contacts { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-block: 13px; }
#place-contacts a { display: inline-flex; align-items: center; gap: 8px; color: var(--place-blue); text-decoration: none; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.art { display: inline-block; width: 26px; height: 26px; background: currentColor; mask: var(--art) center / contain no-repeat; -webkit-mask: var(--art) center / contain no-repeat; flex: none; }
#place-contacts .art { width: 17px; height: 17px; }
.place-actions, .place-navigation { display: flex; align-items: center; justify-content: space-between; }
#place-view .place-actions > * { display: flex; flex: 1; gap: 7px; flex-direction: column; align-items: center; justify-content: center; padding: 14px 2px; font: 600 12px/1.3 var(--ui-font); text-decoration: none; background: transparent; color: var(--ink); }
.place-tools { padding-block: 1em; }
.place-heading > div { flex: 1; min-width: 0; }
#place-view .place-control:not([hidden]) { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding: 0; background: var(--place-button-bg); color: var(--place-blue); }
.place-control .art.close, .account-close .art.close { --art: url("/search-assets/icon_close_cross_smaller.png"); width: 36px; height: 36px; }
.place-control .art { width: 18px; height: 18px; }
.place-actions .art { color: var(--place-blue); }
.place-navigation { padding-block: 15px; }
#place-view .place-navigation button, #place-view :is(.review-add, .review-list-action) { display: inline-flex; align-items: center; justify-content: center; background: var(--place-button-bg); color: var(--place-blue); font-weight: 600; }
#place-view .place-navigation button { width: 52px; height: 52px; padding: 0; border-radius: 50%; }
#place-view .place-navigation .art { width: 22px; height: 22px; }
#place-view #place-route { flex: 1; gap: 8px; background: var(--place-blue); color: white; border-radius: 30px; }
#place-view button:disabled { cursor: default; }
#place-announcement { margin: 0 0 8px; font-size: 13px; }
.place-rating-summary { display: flex; align-items: center; gap: 9px; margin-top: 16px; }
.place-score { font: 600 30px/1.1 var(--ui-font); }
.place-rating-summary small { display: block; font-weight: 600; font-size: 12px; }
.place-stars { display: inline-block; position: relative; line-height: 1; color: #c9ccd4; letter-spacing: 1px; }
.place-stars::after { content: "★★★★★"; position: absolute; inset: 0 auto 0 0; width: var(--fill); color: #e79121; overflow: hidden; }
.place-bars { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; margin: 12px 0 16px; }
.place-bars span { text-align: right; font: 12px/1.1 var(--ui-font); letter-spacing: .5px; color: var(--ink); }
.place-bars progress { width: 100%; height: 4px; border: 0; border-radius: 3px; appearance: none; overflow: hidden; background: #dcdde2; }
.place-bars progress::-webkit-progress-bar { background: #dcdde2; }
.place-bars progress::-webkit-progress-value { background: #e79121; border-radius: 3px; }
.place-bars progress::-moz-progress-bar { background: #e79121; border-radius: 3px; }
.place-feedback { padding: calc(17px + 1em) 0; text-align: center; }
.place-feedback p { font-weight: 500; margin: 0; white-space: pre-line; font-size: 14px; }
#place-view :is(.review-add, .review-list-action) { border-radius: 24px; margin-top: 12px; padding: 10px 19px; font-size: 14px; }
.place-review { text-align: left; margin: 0 0 14px; }
.place-review strong, #place-gallery strong { font-weight: 600; }
.place-review time { font-weight: 600; color: var(--ink); font-size: 12px; margin-left: 8px; }
.place-review .place-stars { margin-top: 4px; }
#place-photos { display: flex; align-items: stretch; padding: calc(10px + 1em) 16px; gap: 12px; background: white; flex: none; }
#place-gallery { flex: 1; min-width: 0; align-content: center; }
#place-gallery strong, #place-gallery small { display: block; line-height: 1.3; }
#place-gallery small { font-weight: 500; font-size: 13px; color: var(--ink); }
#place-gallery.photo-strip { display: flex; align-items: center; overflow-x: auto; gap: 6px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
#place-gallery.photo-strip button { flex: none; scroll-snap-align: start; padding: 0; border-radius: 6px; background: transparent; cursor: zoom-in; }
.photo-strip img { display: block; width: 86px; height: 68px; object-fit: cover; border-radius: 6px; }
#place-view .photo-add { display: grid; place-items: center; background: transparent; color: var(--place-blue); padding: 6px 4px 6px 16px; border-left: 1px solid #dadce2; }
@media (max-width: 800px) {
  #place-search:has(#place-view:not([hidden])) { max-height: 56dvh; }
  .place-scroll { padding-inline: 16px; }
}
.art.share { --art: url('/search-assets/place-icons/share.png'); }
.art.taxi { --art: url('/search-assets/place-icons/taxi.png'); }
.art.edit { --art: url('/search-assets/place-icons/edit.png'); }
.art.route { --art: url('/search-assets/place-icons/route.png'); }
.art.back { --art: url('/search-assets/place-icons/back.png'); }
.art.add { --art: url('/search-assets/place-icons/add.png'); }
.art.phone { --art: url('/search-assets/place-icons/phone.png'); }
.art.web { --art: url('/search-assets/place-icons/web.png'); }

#place-search.routing > :not(#directions) { display: none; }
#place-search.routing { padding: 0; overflow: hidden; }

#directions, #taxi-view { --route-blue: #3157c9; --route-radius: 10px; --route-field-bg: #eff0f4; --route-inset: 22px; --route-icon-column: 36px; --route-column-gap: 10px; min-height: 0; }
#directions:not([hidden]) { display: flex; flex-direction: column; }
#directions > :not(:is(#route-options, #taxi-options)) { flex: none; }
:is(#route-options, #taxi-options) { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; }
#directions header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px var(--route-inset) 8px; }
#directions h2 { margin: 0; font: 600 22px/1.15 var(--ui-font); }
#directions .place-control { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #eff0f4; color: var(--route-blue); }
#directions-back { margin-inline-start: auto; }
.route-stops { position: relative; display: grid; --stop-spacing: 1.5em; grid-template-rows: auto auto var(--stop-spacing) auto auto; padding: 6px var(--route-inset) var(--stop-spacing); }
.route-stop:first-of-type { grid-row: 1 / 3; }
.route-stop:last-of-type { grid-row: 4 / 6; }
.route-stops::before { content: ""; position: absolute; grid-row: 2 / 5; inset-block: 15px 17px; margin-block: auto; left: calc(var(--route-inset) + var(--route-icon-column) / 2 - 2px); width: 4px; height: 4px; border-radius: 50%; background: #a7a8b7; box-shadow: 0 -12px #a7a8b7, 0 12px #a7a8b7; }
.route-stop { position: relative; display: grid; grid-template-columns: var(--route-icon-column) minmax(0,1fr); column-gap: var(--route-column-gap); align-items: center; cursor: text; }
.route-stop .art { grid-column: 1; justify-self: center; }
.route-stop .route-start { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, white 5px, var(--route-blue) 5.5px); mask: none; -webkit-mask: none; }
.route-stop .route-finish { width: 34px; height: 34px; --art: url('/search-assets/route-icons/marker.svg'); color: var(--route-blue); }
.route-field { position: relative; display: grid; min-width: 0; padding: 6px 10px; border: 2px solid transparent; border-radius: var(--route-radius); background: var(--route-field-bg); }
.route-field:focus-within { border-color: var(--route-blue); padding-inline-end: 40px; }
.route-loupe { display: none; position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); color: #929aab; pointer-events: none; }
.route-field:focus-within .route-loupe { display: block; }
.route-field > span { font: 500 12px/1.3 var(--ui-font); }
:is(#directions, #taxi-view) .route-field input { box-sizing: border-box; width: 100%; min-width: 0; padding: 1px 0; background: transparent; outline: none; box-shadow: none; font: 600 16px/1.4 var(--ui-font); text-overflow: ellipsis; caret-color: var(--route-blue); }
.route-field small { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 11px/1.3 var(--ui-font); }
.route-field small:empty { display: none; }
.route-stop input::placeholder { color: #77788c; font-weight: 500; }
:is(#route-options, #taxi-options):not(:empty) { padding-block: 4px; }
:is(#route-options, #taxi-options) button { width: 100%; display: flex; align-items: center; gap: 12px; padding: var(--result-padding-block) var(--route-inset); background: white; text-align: left; }
:is(#route-options, #taxi-options) button:hover, :is(#route-options, #taxi-options) button:focus-visible { background: #f4f5f9; }
:is(#route-options, #taxi-options) img { width: 32px; height: 32px; flex: none; object-fit: contain; }
:is(#route-options, #taxi-options) strong, :is(#route-options, #taxi-options) small { display: block; overflow-wrap: anywhere; }
:is(#route-options, #taxi-options) strong { font-weight: 600; }
:is(#route-options, #taxi-options) small { margin-top: 2px; font: 500 14px/1.35 var(--ui-font); }
#route-status:not(:empty) { padding: 14px var(--route-inset); background: #f2f3f7; font-weight: 500; }
#route-tabs:not([hidden]) { display: flex; align-items: stretch; --route-tab-gap: 1em; padding: 0 var(--route-inset) var(--route-inset); gap: var(--route-tab-gap); }
#route-tabs::before { content: ""; flex: 0 0 var(--route-icon-column); height: 32px; align-self: center; margin-inline-end: calc(var(--route-column-gap) - var(--route-tab-gap)); background: var(--route-blue); -webkit-mask: url('/search-assets/route-icons/car.png') center / contain no-repeat; mask: url('/search-assets/route-icons/car.png') center / contain no-repeat; }
#route-tabs button { flex: 1; min-width: 0; padding: 10px 2px; border: 2px solid transparent; border-radius: var(--route-radius); background: var(--route-field-bg); color: var(--ink); }
#route-tabs button[aria-selected="true"] { border-color: var(--route-blue); background: var(--route-blue); color: white; }
#route-tabs button:only-child { background: transparent; border: 0; padding-inline: 0; text-align: start; color: var(--ink); }
#route-tabs strong, #route-tabs small { display: block; font: 600 clamp(13px, 4vw - 3px, 21px)/1.2 var(--ui-font); }
#route-tabs small { margin-top: 2px; font-size: 12px; }
@media (max-width: 800px) {
  #place-search.routing { max-height: min(60dvh, calc(100dvh - 4em)); }
  #place-search.routing:has(:is(#route-options, #taxi-options):not(:empty)) { max-height: min(max(60dvh, 22em), calc(100dvh - 4em)); }
  #directions, #taxi-view { --route-inset: 16px; }
}

.map-brand {
  position: fixed;
  z-index: 1;
  top: max(2em, env(safe-area-inset-top));
  right: max(2em, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: 16px;
}
.map-brand > img { display: block; width: 116px; height: auto; }
.map-brand button, #account-profile #account-logout {
  border: 0;
  border-radius: 20px;
  padding: 9px 1.5em;
  background: #3157c9;
  color: white;
  font: 600 14px/22px var(--ui-font);
  opacity: 1;
}
@media (max-width: 840px) {
  .map-brand { top: max(8px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
  .map-brand > img { width: 97px; }
  #place-search { top: calc(max(8px, env(safe-area-inset-top)) + 60px); max-height: calc(100dvh - max(8px, env(safe-area-inset-top)) - 76px); }
}

.map-brand .account-avatar { position: relative; box-shadow: 0 0 0 2px #fff, 0 4px 24px rgb(40 48 65 / 14%); width: 40px; height: 40px; padding: 0; border-radius: 50%; overflow: hidden; background: #507df7; }
.account-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #507df7; }
.map-brand #account-button, #account-dialog button { cursor: pointer; }
#account-dialog { box-sizing: border-box; width: min(360px, calc(100% - 32px)); padding: 22px; border: 0; border-radius: 1em; color: var(--ink); font-family: var(--ui-font); box-shadow: 0 4px 24px rgb(40 48 65 / 14%); }
#account-dialog::backdrop { background: rgb(48 45 65 / 30%); }
#account-dialog header { display: flex; justify-content: center; align-items: center; position: relative; min-height: 44px; margin-bottom: 8px; }
#account-dialog header form { position: absolute; right: 0; }
#account-title { margin: 0 48px; color: var(--ink); font-size: 22px; font-weight: 600; }
#account-dialog button { font: 600 16px/1.4 var(--ui-font); color: inherit; }
#account-dialog .account-close { display: grid; place-items: center; border: 0; padding: 0; border-radius: 50%; width: 44px; height: 44px; background: #eff0f4; color: #3157c9; }
#account-providers:not([hidden]) { display: grid; gap: 20px; padding-bottom: 10px; }
.account-intro { margin: 0 0 8px; padding: 0 6px 18px; border-bottom: 1px solid #ceccda; text-align: center; font: 500 15px/1.4 var(--ui-font); }
#account-providers button { position: relative; margin: 0 4%; min-height: 56px; padding: 8px 40px; border-radius: 28px; border: 1px solid #ceccda; background: white; text-align: center; font: 500 15px/1.4 var(--ui-font); }
#account-providers #account-apple { color: white; background: black; border-color: black; }
#account-apple img { filter: brightness(0) invert(1); }
#account-providers button:disabled { cursor: default; }
#account-providers img { position: absolute; left: 7px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; object-fit: contain; }
#account-profile p { margin: 4px 0; overflow-wrap: anywhere; }
#account-name { font-weight: 600; }
#account-logout { margin-top: 12px; width: 100%; box-sizing: border-box; }
#account-status { margin: 14px 0 0; font-size: 14px; }
#account-status:empty { margin: 0; }

#place-view:has(#taxi-view:not([hidden])) > :not(#taxi-view) { display: none; }
#taxi-view { overflow-y: auto; padding: 0 var(--route-inset) var(--route-inset); }
#taxi-view header { align-items: center; }
#taxi-title { flex: 1; }
#taxi-tabs { display: flex; gap: 8px; }
#taxi-tabs button { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 6px; border-radius: var(--route-radius); background: var(--place-button-bg); }
#taxi-tabs img { width: 64px; height: 64px; max-width: 100%; object-fit: contain; }
#taxi-tabs button::after { content: ""; position: absolute; top: 6px; right: 6px; box-sizing: border-box; width: 15px; height: 15px; border: 2px solid #929aab; border-radius: 50%; background: white; }
#taxi-tabs [aria-selected="true"]::after { border-color: var(--place-blue); background: radial-gradient(circle, var(--place-blue) 3.5px, white 4px); }
:is(#taxi-swap, #route-swap) { grid-row: 3 / 4; grid-column: 1; place-self: center; margin-inline-start: calc(var(--route-icon-column) + var(--route-column-gap)); z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; background: var(--route-field-bg); box-shadow: 0 0 0 2px white; }
:is(#taxi-swap, #route-swap) .art { --art: url('/search-assets/taxi-icons/swap.png'); width: 21px; height: 21px; color: var(--route-blue); }
#taxi-book { background: var(--place-blue); color: white; }
#taxi-trip { padding-top: 18px; }
#taxi-trip .route-stops { margin-inline: calc(-1 * var(--route-inset)); }
#taxi-options { max-height: 30dvh; margin-inline: calc(-1 * var(--route-inset)); }
#taxi-status:empty { display: none; }
#taxi-book { display: grid; place-items: center; padding-inline: 12px; text-align: center; text-decoration: none; font-weight: 600; }
#place-view :is(#taxi-book, #place-route, #edit-send, #edit-remove) { box-sizing: border-box; height: 55px; border-radius: 27.5px; }
#taxi-book[aria-disabled="true"], #account-providers button:disabled { -webkit-text-fill-color: color-mix(in srgb, currentColor 55%, transparent); }

#place-view:has(#edit-view:not([hidden])) > :not(#edit-view),
#place-view .place-actions > [hidden] { display: none; }
#edit-view { display: flex; flex-direction: column; min-height: 0; padding-inline: var(--panel-padding, 22px); }
#edit-view header { align-items: center; }
#edit-place { overflow-wrap: anywhere; }
#edit-form {
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-inline-end: calc(0px - var(--panel-padding));
  padding: 2px 2px 22px;
  padding-inline-end: calc(var(--panel-padding) + 2px);
}
#edit-form fieldset, #edit-poi { display: grid; gap: 14px; }
#edit-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#edit-form label { display: grid; gap: 4px; min-width: 0; font-size: 14px; font-weight: 600; }
#edit-form :is(input,select,textarea) { box-sizing: border-box; width: 100%; min-width: 0; border: 0; padding: 10px 12px; border-radius: 10px; background: var(--place-button-bg); color: var(--ink); font: 500 14px/1.4 var(--ui-font); }
#edit-form textarea { resize: none; }
.edit-select { position: relative; display: block; min-width: 0; }
#edit-form select { appearance: none; -webkit-appearance: none; height: calc(1.4em + 20px); padding-right: 40px; text-overflow: ellipsis; cursor: pointer; }
.edit-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
#edit-form .edit-drop { position: relative; text-align: center; justify-items: center; align-content: center; min-height: 96px; margin-top: 4px; border: 2px dashed #c5c8d5; border-radius: 10px; background: var(--place-button-bg); cursor: pointer; }
.edit-drop b { color: var(--place-blue); }
.edit-drop small { font-size: 13px; font-weight: 500; }
#edit-form #edit-files { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
#edit-form .edit-drop:is(:focus-within,.dragging) { border-color: var(--place-blue); background: #eef2ff; }
#edit-file-list { list-style: none; padding: 0; margin: 0; }
#edit-file-list li { display: flex; align-items: center; gap: 8px; padding-top: 4px; font-size: 14px; }
#edit-file-list span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#edit-form #edit-file-list button { width: auto; min-height: 36px; background: transparent; color: var(--place-blue); }
#edit-photo-message:not(:empty) { margin-top: 6px; font-size: 14px; }
#edit-form :is(input, select, textarea):not([type="button"], [type="submit"], [type="reset"]):focus-visible { outline: 2px solid var(--place-blue); outline-offset: -2px; }
.edit-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#edit-form button { width: 100%; min-height: 46px; border-radius: 24px; font-weight: 600; }
#edit-send { background: var(--place-blue); color: white !important; }
#edit-send:disabled { color: #ffffffa8 !important; }
#edit-form #edit-remove { margin-top: 8px; background: #FF685F; color: #fff; }

#review-dialog { box-sizing: border-box; width: min(390px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 0; border-radius: 1em; color: var(--ink); background: white; font: 500 14px/1.4 var(--ui-font); }
#review-dialog::backdrop { background: rgb(48 45 65 / 30%); }
#review-title { margin: 0; text-align: center; font-size: 22px; }
#review-place { margin: 4px 0 20px; text-align: center; overflow-wrap: anywhere; }
#review-fields { padding: 0; margin: 0; border: 0; min-width: 0; }
#review-fields legend { text-align: center; font-weight: 600; }
#review-stars { display: flex; justify-content: center; margin: 4px 0 18px; }
#review-stars label { display: grid; position: relative; place-items: center; width: 44px; height: 44px; color: #b3b6c2; font-size: 32px; cursor: pointer; }
#review-stars label.filled { color: #e79121; }
#review-stars input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: inherit; }
#review-stars input:focus-visible + span { background: #eff0f4; border-radius: 6px; }
#review-text { display: block; box-sizing: border-box; width: 100%; border: 0; border-radius: 10px; margin-top: 5px; padding: 10px 12px; background: #eff0f4; color: inherit; font: inherit; resize: none; }
#review-status:empty { display: none; }
.review-buttons { display: flex; gap: 10px; margin-top: 18px; }
.review-buttons button { flex: 1; min-height: 46px; border: 0; border-radius: 23px; background: #eff0f4; color: #3157c9; font: 600 16px var(--ui-font); cursor: pointer; }
#review-submit { background: #3157c9; color: white; }
#review-submit:disabled { color: #ffffffa8; cursor: default; }

#place-photo-status { margin: 0; padding: 0 16px 14px; font: 500 14px/1.4 var(--ui-font); color: var(--ink); }
#place-photo-status:empty { display: none; }
#place-view .photo-add:disabled { cursor: progress; }

#place-reviews .place-feedback:has(.review-track) { padding-top: 8px; padding-bottom: calc(17px - .5em); }
.review-actions { display: flex; justify-content: space-between; }
#place-view .review-actions button, #more-reviews { background: transparent; color: var(--place-blue, #3157c9); font: 600 14px var(--ui-font); padding: 10px 0; border: 0; cursor: pointer; }
.review-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review-track > * { flex: 0 0 100%; box-sizing: border-box; min-width: 0; scroll-snap-align: start; }
.review-track .place-review { margin: 0; padding: 12px 0; }
.review-track .place-review > p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review-end { display: grid; place-items: center; align-content: center; padding-block: 12px; }
.place-review header { display: flex; align-items: center; gap: 9px; }
.place-review header > div { flex: 1; min-width: 0; }
.place-review strong, .place-review p { overflow-wrap: anywhere; }
.place-review header time { flex: none; align-self: flex-start; }
.review-avatar { position: relative; flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #507df7; color: white; font-weight: 600; overflow: hidden; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.review-score { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.review-score .place-stars { margin: 0; }
.place-review > p { margin: 9px 0 0; white-space: pre-line; }
.review-pages { display: flex; justify-content: center; flex-wrap: wrap; }
#place-view .review-pages button { padding: 0; width: 15px; height: 28px; background: transparent; display: grid; place-items: center; }
.review-pages button::before { content: ''; width: 7px; height: 7px; background: #c9ccd4; border-radius: 50%; }
.review-pages button[aria-current=true]::before { background: #3157c9; }
.place-modal { border: 0; border-radius: 1em; padding: 0; color: var(--ink); font: 500 14px/1.4 var(--ui-font); box-sizing: border-box; }
.place-modal::backdrop { background: rgb(42 40 55 / 55%); }
.place-modal > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.place-modal h2 { margin: 0; font-size: 22px; }
.place-modal button { font-family: inherit; cursor: pointer; }
.place-modal [data-dismiss], .photo-stage .media-arrow, #place-view .media-arrow { appearance: none; padding: 0; box-sizing: border-box; display: inline-flex; justify-content: center; align-items: center; flex: none; width: 44px; height: 44px; background: #eff0f4; color: #3157c9; border: 0; border-radius: 50%; }
.place-modal [data-dismiss] .close { --art: url("/search-assets/icon_close_cross_smaller.png"); width: 36px; height: 36px; }
#reviews-list { width: min(480px, calc(100% - 32px)); max-height: min(78dvh, 720px); }
#reviews-list[open] { display: flex; flex-direction: column; }
.all-reviews-body { padding: 0 20px 16px; overflow: auto; overscroll-behavior: contain; }
#all-reviews-items .place-review { margin: 0; padding: 14px 0; }
#all-reviews-items article + article { border-top: 1px solid #dadce2; }
#all-reviews-status:empty { display: none; }
#photo-viewer { width: fit-content; max-width: calc(100vw - 24px); background: white; }
#photo-viewer::backdrop { background: rgb(32 30 41 / 82%); }
.photo-stage { position: relative; touch-action: pan-y pinch-zoom; }
#photo-large { display: block; max-width: 100%; max-height: calc(90dvh - 76px); width: auto; height: auto; object-fit: contain; margin: auto; }
.photo-stage button { position: absolute; top: 50%; transform: translateY(-50%);  }
.photo-stage .media-arrow[hidden] { display: none; }
.photo-stage [data-step="-1"] { left: 8px; }
.photo-stage [data-step="1"] { right: 8px; }

.media-arrow .art.back { display: block; width: 18px; height: 18px; }
.media-arrow[data-step="1"] .art { transform: scaleX(-1); }
.review-navigation { margin-top: 1.5em; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; }
#place-view .media-arrow:disabled { color: #9799a9; cursor: default; }

button:focus-visible > .art.close { color: #203e99; }
#place-view .review-navigation .media-arrow { background: transparent; }
