@import url('/assets/leaflet.css');
:root{--ink:#10233f;--green:#69b91f;--green-dark:#4f9711;--lime:#a8e82e;--muted:#607086;--line:#dde5e1;--paper:#f3f6f4;--surface:#fff;--surface-soft:#f8faf8;--white:#fff;--red:#a52f2f}*{box-sizing:border-box}html{font-size:16px}body{margin:0;color:var(--ink);background:var(--paper);font-family:Arial,Helvetica,sans-serif;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #5d8536;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}.header{height:104px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;max-width:1440px;padding:0 64px;margin:auto}.brand{font-size:29px;font-weight:800;letter-spacing:-1.5px;text-decoration:none;white-space:nowrap}.brand span{background:var(--lime);display:inline-flex;align-items:center;justify-content:center;transform:rotate(9deg);border-radius:50%;width:38px;height:38px;margin-left:5px}.header nav{display:flex;gap:32px;font-size:14px}.header nav a{text-decoration:none}.header nav a:last-child{border:1px solid var(--ink);border-radius:30px;padding:12px 20px}.header nav a:first-child{align-self:center}main{max-width:1440px;margin:auto;padding:0 64px 70px;min-height:65vh}.intro{display:flex;justify-content:space-between;align-items:flex-end;padding:48px 0 44px;gap:20px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.6px;margin:0 0 16px;color:var(--green)}h1{font-size:64px;letter-spacing:-3px;line-height:1.05;margin:0 0 20px}h1 span{color:var(--green)}h2{font-size:27px;line-height:1.2;letter-spacing:-.7px;margin:0 0 16px}h3{font-size:20px;margin:0 0 8px}h4{font-size:14px;text-transform:uppercase;letter-spacing:1px;margin:26px 0 10px}.subtitle{font-size:18px;color:var(--muted);margin:0}.city-control{display:flex;flex-direction:column;align-items:flex-end;gap:16px;font-size:18px;padding-bottom:3px}.location-button{font-size:14px;padding:12px 18px;border:1px solid var(--line);border-radius:9px;background:white;max-width:320px}.catalog-layout{display:grid;grid-template-columns:265px minmax(0,1fr);gap:42px}.filters{padding-top:11px;align-self:start;position:sticky;top:22px}.filter-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:26px}.filter-heading h2{font-size:18px;letter-spacing:-.3px;margin:0}.link{border:0;background:transparent;padding:0;color:var(--green);text-decoration:underline;text-underline-offset:4px;font-size:14px}.field{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;margin:0 0 20px}input:not([type=checkbox]),select,textarea{background:white;border:1px solid #cbd3ca;border-radius:7px;padding:12px;color:var(--ink);width:100%;min-width:0}textarea{min-height:105px;resize:vertical}.check{display:flex;align-items:center;gap:10px;margin:14px 0;font-size:14px}.check input{accent-color:var(--green);width:18px;height:18px;flex-shrink:0}.help{font-size:13px;color:var(--muted);line-height:1.5;margin:8px 0 24px}.aside-note{border-top:1px solid var(--line);padding:26px 0;margin-top:30px;font-size:14px}.aside-note p{color:var(--muted)}.aside-note a{font-weight:bold}.results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin-bottom:18px}.results-heading p{margin:0;font-weight:bold}.results-heading span{color:var(--muted);font-size:13px}.restaurant{background:white;border:1px solid var(--line);border-radius:14px;margin-bottom:20px;overflow:hidden}.restaurant-top{display:flex;align-items:flex-start;gap:16px;padding:25px 28px 0}.index{font-size:12px;border:1px solid var(--line);border-radius:50%;width:30px;height:30px;display:grid;place-items:center;flex-shrink:0;margin-top:5px;color:var(--muted)}.restaurant-title{flex:1}.restaurant-title h2{margin:8px 0 6px;font-size:29px}.restaurant-title h2 button{border:0;background:transparent;color:var(--ink);padding:0;text-align:left;font-weight:700;font-size:inherit;line-height:1.15;letter-spacing:-.9px}.restaurant-title p{margin:0;font-size:14px;color:var(--muted)}.badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}.badge{font-size:12px;background:#edf0eb;padding:5px 8px;border-radius:5px;display:inline-block;white-space:normal}.sponsored{background:var(--lime);color:var(--ink)}.published{background:#e6f0df;color:#21492b}.distance{font-size:14px;font-weight:bold;white-space:nowrap;background:var(--paper);padding:7px 11px;border-radius:20px}.restaurant-body{padding:18px 28px 24px 74px;display:grid;grid-template-columns:minmax(0,1fr) 188px;gap:28px}.description{margin:0 0 13px;font-size:14px;color:#46544a;max-width:550px}.schedule{font-size:13px;margin:0 0 16px}.schedule b{margin-left:8px}.preview-dishes{display:flex;flex-wrap:wrap;gap:5px}.preview-dishes span{font-size:12px;padding:5px 8px;background:var(--paper);border-radius:4px;max-width:100%}.price-block{display:flex;flex-direction:column;align-items:flex-start}.price-block small{font-size:13px;color:var(--muted)}.price-block>strong{font-size:31px;line-height:1.2;margin:3px 0 20px;letter-spacing:-1px}.price-block>strong.individual{font-size:20px;line-height:1.3;margin-bottom:22px;letter-spacing:-.4px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:white;border:1px solid var(--green);border-radius:7px;padding:12px 18px;font-size:14px;font-weight:600;text-decoration:none;min-height:46px}.button:hover{background:#193f2b}.button.secondary{background:transparent;color:var(--ink);border-color:#cbd3ca}.button.secondary:hover{background:var(--paper)}.price-block .button{padding:11px 12px;width:100%;white-space:nowrap}.restaurant-bottom{border-top:1px solid var(--line);display:flex;align-items:center;gap:22px;padding:13px 28px;font-size:12px}.restaurant-bottom>span{margin-right:auto;color:var(--muted)}.restaurant-bottom .link{font-size:12px}.restaurant-bottom a{text-decoration:none}.empty{background:white;border:1px dashed #bac7ba;border-radius:12px;padding:45px;text-align:center}.empty p{color:var(--muted)}footer{border-top:1px solid var(--line);padding:30px 64px;display:flex;align-items:center;gap:35px;max-width:1440px;margin:auto;font-size:13px}footer p{color:var(--muted);flex:1}.brand.small{font-size:21px}.loading{padding:60px 0}dialog{border:0;border-radius:15px;max-width:800px;width:calc(100% - 32px);max-height:90vh;padding:40px;color:var(--ink);box-shadow:0 24px 100px #0004}dialog::backdrop{background:#12221ac2}.close{position:absolute;top:8px;right:15px;font-size:30px;border:0;background:none;color:var(--ink)}dialog h1{font-size:36px;letter-spacing:-1px}dialog h2{font-size:34px}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}.day-menu{border-top:1px solid var(--line);margin-top:22px;padding:18px 0 0}.day-menu summary{font-size:20px;font-weight:bold;cursor:pointer;display:flex;justify-content:space-between;gap:16px}.day-menu summary span{font-size:13px;font-weight:normal;color:var(--muted)}.dish{padding:13px 0;border-bottom:1px solid #edf0eb;display:flex;justify-content:space-between;gap:24px;font-size:15px}.dish p{margin:5px 0;color:var(--muted);font-size:13px}.dish b{white-space:nowrap}.dish small{font-size:12px;color:var(--green);margin-right:12px}.muted{font-size:14px;color:var(--muted)}.notice{padding:15px;background:#f5f5dc;border-radius:8px;font-size:14px}.login,.public-form{max-width:660px;margin:65px auto}.login{max-width:450px}.login h1{font-size:48px;letter-spacing:-2px}.login form{margin-top:30px}.login .button{width:100%}.public-form h1{font-size:46px;letter-spacing:-2px}.honeypot{display:none}.workspace-heading{display:flex;justify-content:space-between;align-items:center;padding:40px 0;gap:20px}.workspace-heading h1{font-size:40px;letter-spacing:-1.6px;margin:0}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:0 0 30px;overflow:auto}.tabs button{border:0;white-space:nowrap;background:transparent;padding:16px;color:var(--muted);border-bottom:3px solid transparent}.tabs button.active{border-color:var(--green);color:var(--green);font-weight:bold}.tabs span{background:var(--lime);padding:3px 6px;border-radius:5px;font-size:12px}.panel{background:white;padding:25px;border:1px solid var(--line);border-radius:10px;margin:18px 0}.panel>p{font-size:14px}.panel .link{margin-right:18px}.grid{display:grid;gap:20px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:20px 0}.section-heading h2,.section-heading h3{margin:0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;background:white}th,td{padding:16px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}th{background:#edf1e8;font-weight:600}td small{display:block;font-size:12px;color:var(--muted);margin-top:6px}td .link{white-space:nowrap}.danger{color:var(--red)}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.narrow{max-width:500px}.item-editor{border:1px solid var(--line);padding:16px;margin:15px 0;background:var(--paper);border-radius:8px}.item-main{grid-template-columns:2fr .7fr 1.2fr auto;align-items:center}.item-editor .field{margin-bottom:12px}.item-editor .check{margin:0}.save-bar{position:sticky;bottom:0;padding:16px;background:#f6f7f2ee;backdrop-filter:blur(10px);display:flex;gap:24px;align-items:center;border-top:1px solid var(--line)}fieldset{border:1px solid var(--line);border-radius:8px;margin-bottom:20px}legend{font-size:14px}details summary{cursor:pointer}.small{font-size:13px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:15px 24px;border-radius:8px;z-index:9999;max-width:90vw;box-shadow:0 8px 30px #0003;opacity:0;pointer-events:none}#toast.show{opacity:1}#map{height:300px;background:#e5ebe1;margin:20px 0;border-radius:8px;overflow:hidden}.menu-photo{width:100%;height:auto;max-height:520px;object-fit:contain;background:#f6f7f2;border-radius:8px}.menu-source{margin:24px 0}.menu-source summary{font-size:14px;color:var(--muted);margin-bottom:14px}
@media(max-width:1100px){.header{padding:0 30px}main{padding:0 30px 50px}.catalog-layout{grid-template-columns:225px minmax(0,1fr);gap:24px}.restaurant-body{padding-left:28px;gap:18px}.index{display:none}.restaurant-top{padding-left:24px}.restaurant-bottom{gap:12px;padding:13px 20px}.restaurant-title h2{font-size:26px}footer{padding:24px 30px}}
@media(max-width:780px){.header{height:80px;padding:0 20px}.brand{font-size:23px}.brand span{width:31px;height:31px}.header nav{gap:14px}.header nav a{font-size:12px}.header nav a:last-child{padding:8px 10px}main{padding:0 20px 35px}.intro{padding:30px 0 26px;display:block}h1{font-size:48px;letter-spacing:-2px}.eyebrow{font-size:11px;letter-spacing:1px}.subtitle{font-size:16px}.city-control{align-items:flex-start;margin-top:23px;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.location-button{max-width:240px;font-size:12px}.catalog-layout{display:block}.filters{position:static;border:1px solid var(--line);padding:18px;border-radius:10px;margin-bottom:26px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.filter-heading{grid-column:1/-1;margin-bottom:20px}.filters>.field:first-of-type{grid-column:1/-1}.filters .field{margin-bottom:15px}.filters .help{grid-column:1/-1;margin:0 0 12px}.filters .check{font-size:13px;margin:8px 0}.aside-note{display:none}.results-heading{align-items:flex-start}.results-heading span{text-align:right;max-width:185px}.restaurant-top{padding:20px 18px 0;gap:10px}.restaurant-title h2{font-size:26px}.restaurant-title p{font-size:13px}.distance{font-size:12px;padding:6px 8px}.restaurant-body{padding:16px 18px 20px;grid-template-columns:1fr}.price-block{display:grid;grid-template-columns:1fr 175px;align-items:center;column-gap:10px}.price-block small{grid-column:1;font-size:12px}.price-block>strong,.price-block>strong.individual{grid-column:1;margin:2px 0 0}.price-block .button{grid-column:2;grid-row:1/3;font-size:13px}.restaurant-bottom{flex-wrap:wrap;padding:12px 18px;gap:13px}.restaurant-bottom>span{width:100%;margin-right:0}.description{font-size:14px}.preview-dishes span{font-size:12px}footer{padding:24px 20px;gap:15px;flex-wrap:wrap}footer p{display:none}footer a:last-child{margin-left:auto}dialog{padding:34px 20px 24px}.two,.three{grid-template-columns:1fr;gap:0}.item-main{grid-template-columns:1fr 1fr;gap:10px}.item-main>.field:first-child{grid-column:1/-1}.item-main .remove-item{align-self:center}.workspace-heading h1{font-size:29px;letter-spacing:-1px}.workspace-heading{align-items:flex-start;display:block}.workspace-heading>div:last-child{display:flex;justify-content:space-between;font-size:13px;margin-top:20px}.workspace-heading p{margin:0}.workspace-heading .eyebrow{margin-bottom:12px}.tabs button{padding:12px 9px;font-size:14px}.section-heading{align-items:flex-start}.section-heading h2{font-size:23px}.panel{padding:18px}.public-form h1,.login h1{font-size:37px}.public-form,.login{margin:38px auto}.dish{font-size:14px}.dish b{font-size:14px}dialog h2{font-size:28px}.save-bar{padding:12px 0;gap:15px}.save-bar .button{font-size:13px}.grid .field{min-width:0}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s ease}.restaurant{animation:appear .3s ease both}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}

/* Public layout ported from the original Tver Site. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 47px;
  display: grid;
  place-items: center;
}

.brand-mark i {
  position: absolute;
  inset: 3px 5px;
  transform: rotate(30deg);
  border: 4px solid var(--green);
  border-radius: 7px;
}

.brand-mark b {
  position: relative;
  color: var(--green-dark);
  font-size: 22px;
  transform: rotate(90deg);
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 54px;
  font-size: 15px;
  font-weight: 650;
}

.site-header nav a,
.login-link {
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.site-header nav a:hover,
.login-link:hover {
  color: var(--green-dark);
}

.login-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
}

.login-link span {
  font-size: 25px;
  line-height: 1;
}

.finder-hero {
  padding: 27px 30px 22px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 8%, rgba(168, 232, 46, 0.09), transparent 28%),
    var(--surface);
}

.hero-title-row {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-title-row h1 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.service-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  padding: 9px 13px;
  border: 1px solid rgba(105, 185, 31, 0.48);
  border-radius: 10px;
  background: rgba(168, 232, 46, 0.08);
  color: #397606;
  font-size: 14px;
  font-weight: 650;
}

.search-row {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin-top: 19px;
}

.search-field {
  min-width: 0;
  height: 54px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid #bcc8c3;
  border-radius: 10px;
  background: var(--surface);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.search-field:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(105, 185, 31, 0.14);
}

.search-field > span:first-child {
  color: var(--green-dark);
  font-size: 23px;
}

.search-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.search-field input::placeholder {
  color: #7e8a99;
}

.search-city {
  padding-left: 13px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.primary-button,
.secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 160ms ease,
    background 160ms ease;
}

.primary-button {
  min-width: 218px;
  border: 1px solid var(--green);
  background: linear-gradient(135deg, #80cb24, #58af0a);
  color: white;
  box-shadow: 0 7px 18px rgba(82, 166, 15, 0.18);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(82, 166, 15, 0.25);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
}

.secondary-button:hover {
  border-color: #b7c6be;
  transform: translateY(-2px);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip,
.cuisine-filter {
  height: 43px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.filter-chip span {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.filter-chip:hover {
  border-color: #a5b4ad;
}

.filter-chip.is-active {
  border-color: var(--green);
  background: #eefadb;
  color: #326d04;
}

.filter-chip.is-active span {
  background: var(--green);
  color: white;
}

.cuisine-filter {
  padding: 0 8px 0 13px;
}

.cuisine-filter select {
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}

.saved-location-bar {
  max-width: 920px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  padding: 12px 13px;
  border: 1px solid #d7e0db;
  border-radius: 12px;
  background: #f7f9f8;
}

.saved-location-bar.has-location {
  border-color: #c8dfb7;
  background: #f4faec;
}

.saved-location-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: white;
  color: var(--green-dark);
  font-size: 23px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.saved-location-bar > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.saved-location-bar small {
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.saved-location-bar strong {
  margin-top: 2px;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-location-bar p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.saved-location-bar > button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #bcd3ad;
  border-radius: 9px;
  background: white;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background 150ms ease;
}

.saved-location-bar > button:hover {
  border-color: var(--green);
  background: #fbfff7;
}

.finder-workspace {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(420px, 38%) 1fr;
  background: var(--surface);
}

.results-panel {
  position: relative;
  z-index: 20;
  min-width: 0;
  height: calc(100vh - 78px);
  min-height: 640px;
  overflow: auto;
  padding: 23px 22px 40px 30px;
  border-right: 1px solid var(--line);
  background: var(--surface-soft);
}

.results-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.results-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.results-heading > span {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f5d1;
  color: #3f8008;
  font-size: 12px;
  font-weight: 800;
}

.location-summary {
  max-width: 370px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.location-summary button {
  margin-left: 6px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.location-summary.is-locating {
  color: var(--green-dark);
}

.restaurant-list {
  display: grid;
  gap: 11px;
}

.restaurant-card {
  position: relative;
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.restaurant-card:hover,
.restaurant-card.is-selected {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 10px 28px rgba(16, 35, 63, 0.09);
}

.card-main {
  width: 100%;
  min-height: 146px;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 15px;
  padding: 9px 47px 9px 9px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.restaurant-photo-wrap {
  position: relative;
  min-height: 128px;
  border-radius: 10px;
  overflow: hidden;
  background: #e7ece7;
}

.restaurant-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.restaurant-card:hover .restaurant-photo {
  transform: scale(1.035);
}

.map-index {
  position: absolute;
  top: 7px;
  left: 7px;
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 7px rgba(16, 35, 63, 0.2);
}

.restaurant-copy {
  align-self: center;
  min-width: 0;
}

.restaurant-title-line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.restaurant-title-line h3 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.verified-badge {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.restaurant-price {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.restaurant-price span {
  font-size: 13px;
  font-weight: 600;
}

.menu-preview {
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
}

.open-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.bookmark-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.bookmark-button:hover,
.bookmark-button.is-saved {
  background: #eef7e8;
  color: var(--green-dark);
}

.empty-state {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 30px;
  border: 1px dashed #bdc9c3;
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.empty-state > span {
  font-size: 42px;
  color: var(--green);
}

.empty-state h3 {
  margin: 12px 0 4px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.empty-state button {
  margin-top: 18px;
  border: 0;
  background: none;
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
}

.map-column {
  min-width: 0;
}

.map-panel,
.map-loading {
  position: sticky;
  top: 78px;
  height: calc(100vh - 78px);
  min-height: 640px;
  overflow: hidden;
  background: #edf2ee;
}

.map-canvas {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(16, 35, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 63, 0.04) 1px, transparent 1px),
    #edf2ee;
  background-size: 34px 34px;
}

.map-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.map-loading span {
  width: 18px;
  height: 18px;
  border: 2px solid #c7d4cc;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.map-top-note,
.location-button {
  position: absolute;
  z-index: 500;
  border: 1px solid rgba(189, 203, 196, 0.92);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 18px rgba(16, 35, 63, 0.1);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 750;
}

.map-top-note {
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(105, 185, 31, 0.13);
}

.location-button {
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  color: var(--ink);
  cursor: pointer;
}

.location-button:hover {
  border-color: var(--green);
}

.location-button:disabled {
  opacity: 0.68;
  cursor: wait;
}

.location-button span {
  color: var(--green-dark);
  font-size: 20px;
}

.user-location-marker-wrap {
  border: 0;
  background: transparent;
}

.user-location-marker {
  position: relative;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  background: #2563eb;
  box-shadow:
    0 3px 11px rgba(37, 99, 235, 0.35),
    0 0 0 8px rgba(59, 130, 246, 0.15);
}

.user-location-marker::after {
  position: absolute;
  inset: -9px;
  border: 2px solid rgba(37, 99, 235, 0.35);
  border-radius: 50%;
  content: "";
  animation: location-pulse 1.8s ease-out infinite;
}

.user-location-marker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.user-location-tooltip {
  color: #1747a6 !important;
  font-weight: 850 !important;
}

.lunch-map-marker-wrap {
  border: 0;
  background: transparent;
}

.number-pin {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 50% 50% 50% 12%;
  transform: rotate(-45deg);
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(16, 35, 63, 0.28);
  transition:
    width 180ms ease,
    height 180ms ease,
    background 180ms ease;
}

.number-pin i {
  transform: rotate(45deg);
  font-style: normal;
}

.lunch-map-marker.is-selected .number-pin {
  width: 44px;
  height: 44px;
  background: var(--ink);
  font-size: 14px;
}

.leaflet-tooltip {
  border: 0 !important;
  border-radius: 9px !important;
  color: var(--ink) !important;
  font-family: var(--font-manrope), Manrope, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  box-shadow: 0 7px 22px rgba(16, 35, 63, 0.14) !important;
}

.leaflet-control-attribution {
  font-size: 9px !important;
}

.mobile-view-switch {
  display: none;
}

/* Adapters for the PHP application and responsive public layout. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.brand{text-decoration:none;letter-spacing:-.04em}.brand>span{background:none;transform:none;border-radius:0;width:auto;height:auto;margin:0}.brand>.brand-mark{width:42px;height:47px;display:grid}.site-header a{text-decoration:none}.site-header{line-height:1.3}.site-header .brand-mark b{transform:rotate(90deg)}
.catalog-page #app{max-width:none;padding:0;margin:0}.catalog-page{background:var(--paper)}.catalog-page .eyebrow{margin:0 0 8px;color:var(--green-dark);font-size:11px;letter-spacing:.13em}.catalog-page .filters{position:static;padding:0;align-self:auto}.catalog-page .filter-chip input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;margin:0}.filter-chip:has(input:checked){border-color:var(--green);background:#eefadb;color:#326d04}.catalog-page .price-filter input{width:108px;border:0;padding:0;outline:0;background:transparent;font-size:13px}.catalog-page .filter-row select{width:auto;padding:0}.catalog-page .search-field input{width:100%;border:0;padding:0;border-radius:0}.search-field input:focus-visible{outline:none}.search-city select{width:auto;padding:0;border:0}.catalog-page #reset{white-space:nowrap;font-size:12px;padding:10px}.catalog-page .catalog-layout{gap:0;align-items:start}.catalog-page .restaurant{padding:0;margin:0;animation:none}.catalog-page .card-main{position:relative;padding-right:29px;line-height:1.3;color:var(--ink)}.catalog-page .restaurant-card:hover{transform:translateY(-2px)}.catalog-page .restaurant-photo-wrap{height:132px}.restaurant-photo{display:block;position:absolute;inset:0}.illustration-label{position:absolute;bottom:5px;left:5px;font-size:8px;padding:3px 5px;background:#ffffffdb;border-radius:4px;color:var(--muted)}.photo-fallback{height:100%;display:grid;place-items:center;background:#e6f5d1;font-size:50px;color:var(--green-dark)}.card-arrow{position:absolute;right:11px;top:57px;font-size:26px;color:var(--muted)}.card-address{font-size:10px;color:var(--muted);margin:6px 0 0}.card-details{padding:0 12px 9px}.card-details p{font-size:11px;line-height:1.45;color:var(--muted);margin:0}.catalog-page .restaurant-bottom{padding:9px 12px;gap:10px;flex-wrap:wrap;font-size:10px}.catalog-page .restaurant-bottom .link{font-size:10px}.schedule-note{display:block;font-size:10px;color:#826d44;line-height:1.4;margin-top:5px}.catalog-page .results-heading p{font-weight:700}.catalog-page #sort-label{font-size:9px;letter-spacing:.07em}.catalog-page .results-heading>span{color:#3f8008;font-size:12px;flex-shrink:0}.catalog-page .results-panel{position:sticky;top:78px}.catalog-page .restaurant-price{font-size:18px}.catalog-page .restaurant-title-line h3{font-size:20px}.catalog-page .restaurant-price span{font-size:11px}.catalog-page .card-meta{font-size:10px;flex-wrap:wrap}.catalog-page .map-panel{position:sticky;top:78px}.catalog-map-panel{position:sticky;top:78px}#catalog-map{height:100%;min-height:640px;z-index:0}.lunch-map-marker{border:0;background:transparent}.number-pin{display:grid}.lunch-map-marker.is-selected .number-pin{width:36px;height:36px}.priority-marker .number-pin{background:#aa7922}.user-map-marker{display:grid;place-items:center;border-radius:50%;background:#2563eb;box-shadow:0 0 0 8px #3b82f626;border:3px solid white}.user-map-marker span{width:6px;height:6px;background:white;border-radius:50%}.map-help{position:absolute;bottom:60px;left:18px;right:18px;background:#fff;font-size:11px;color:var(--muted);padding:9px;border-radius:8px;z-index:500}.map-help:empty{display:none}.fit-map{position:absolute;z-index:500;right:18px;top:100px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:9px 12px;font-size:11px;box-shadow:0 5px 18px #10233f1a}.map-place-options{display:grid;gap:12px;margin-top:12px}.map-place-options .link{text-align:left}.mobile-view{display:none}.catalog-page footer{max-width:none;padding:30px;position:relative;background:#fff}.button:hover{background:var(--green-dark)}.link{color:var(--green-dark)}.catalog-page .badge{font-size:9px;padding:3px 5px;margin-top:4px}.catalog-page .empty{padding:30px 18px}.catalog-page .empty h2{font-size:23px}.catalog-page .saved-location-bar strong{max-width:100%}
@media(max-width:1050px){.site-header{grid-template-columns:1fr auto}.site-header nav{display:none}.finder-workspace{grid-template-columns:minmax(390px,44%) 1fr}.card-main{grid-template-columns:108px 1fr}}
@media(max-width:760px){.site-header{min-height:66px;padding:0 16px;gap:12px}.site-header .brand{font-size:20px;gap:8px}.site-header .brand-mark{width:34px;height:38px}.login-link{font-size:12px}.login-link span{font-size:24px}.finder-hero{padding:24px 16px 16px}.hero-title-row h1{font-size:40px;max-width:320px}.search-row{display:grid;grid-template-columns:1fr}.primary-button{width:100%;min-height:46px}.filter-row{margin-right:-16px;padding-right:16px!important}.saved-location-bar{grid-template-columns:38px minmax(0,1fr);gap:10px;padding:11px}.saved-location-bar>button{grid-column:2;justify-self:start}.saved-location-bar p{font-size:10px}.catalog-page .catalog-layout{display:block;min-height:0}.catalog-page .results-panel{position:static;min-height:0;height:auto;overflow:visible;padding:18px 16px 30px;border:0}.catalog-page .results-heading h2{font-size:22px}.catalog-page .results-heading span{max-width:none;text-align:center}.catalog-page .restaurant-photo-wrap{height:126px;min-height:126px}.catalog-page .card-main{grid-template-columns:100px minmax(0,1fr);gap:11px;padding:8px 24px 8px 8px}.catalog-page .restaurant-title-line h3{font-size:18px}.catalog-page .restaurant-price{font-size:17px}.catalog-page .restaurant-price span{display:block;font-size:10px;margin-top:3px}.catalog-page .restaurant-bottom>span{width:auto;margin-right:auto}.catalog-page .map-column{display:none;position:relative;top:0}.catalog-page.show-map .map-column{display:block}.show-map .catalog-list{display:none}.catalog-page .map-panel{position:relative;top:0;height:70dvh;min-height:420px}#catalog-map{min-height:420px}.mobile-view{display:flex;gap:5px;padding:10px 16px;border-bottom:1px solid var(--line);background:#fff}.mobile-view button{flex:1;border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px;font-size:13px;color:var(--muted)}.mobile-view button.active{background:#eefadb;border-color:var(--green);color:#326d04}.catalog-page .location-button{right:12px;bottom:24px;font-size:11px;padding:10px}.catalog-page .map-top-note{left:12px;top:12px;font-size:11px}.catalog-page .card-details{padding:0 11px 9px}.catalog-page footer{padding:24px 16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.restaurant-card,.primary-button,.secondary-button,.restaurant-photo{transition:none}.restaurant-card:hover{transform:none}}
.privacy-page{max-width:850px;margin:48px auto;line-height:1.65}.privacy-page h1{font-size:clamp(30px,4vw,46px);letter-spacing:-1.4px;line-height:1.1;overflow-wrap:anywhere}.privacy-page h2{font-size:23px;margin-top:30px}.privacy-page p,.privacy-page li{font-size:15px}.privacy-page li{margin:10px 0}.privacy-notice{margin:0 0 18px}.privacy-notice a{color:var(--green-dark);text-decoration:underline}#preview-privacy{max-width:900px}#preview-privacy .privacy-page{margin:10px 0}.privacy-page a{overflow-wrap:anywhere}footer{flex-wrap:wrap}

/* 0.4: current-day menus, restaurant photos and the longer catalog heading. */
.hero-title-row h1{max-width:1120px;font-size:clamp(30px,3.4vw,48px);line-height:1.12;letter-spacing:-1.3px;text-wrap:balance}
.day-menu{margin:14px 0;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.day-menu>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;list-style:none}
.day-menu>summary::-webkit-details-marker{display:none}
.day-menu>summary .day-title{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:var(--ink);font-size:22px;font-weight:700}
.day-menu .day-toggle{font-size:14px;font-weight:400;white-space:nowrap;color:var(--muted)}
.day-menu .day-toggle:after{content:'Посмотреть +'}
.day-menu[open] .day-toggle:after{content:'Свернуть −'}
.day-menu .menu-content{padding:0 20px 18px}
.day-menu .menu-content h4{margin:22px 0 12px;font-size:14px;letter-spacing:1px;color:var(--muted)}
.day-menu .dish:last-child{border-bottom:0}
.day-menu.is-today{border-color:#93c96a;background:#f5faef;box-shadow:inset 4px 0 0 var(--green)}
.day-menu.is-today>summary{background:#eaf5dc}
.day-menu.is-today>summary .day-title{color:#315c16}
.day-menu .today-label{display:inline-block;background:#4b8519;color:#fff;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:700;letter-spacing:0}
.photo-preview{display:block;width:320px;max-width:100%;height:200px;object-fit:cover;border-radius:12px;border:1px solid var(--line);margin:12px 0}
.photo-editor input[type=file]{max-width:100%}
@media(max-width:760px){.hero-title-row h1{font-size:30px;letter-spacing:-.7px}.day-menu>summary{padding:16px;gap:8px}.day-menu>summary .day-title{font-size:19px;gap:8px}.day-menu .day-toggle{font-size:12px}.day-menu .menu-content{padding:0 16px 14px}}
