:root {
  color-scheme: light only;
  --bg: #faf9f6;
  --text: #181715;
  --muted: #6e6b64;
  --faint: #9b978e;
  --rule: #e6e3db;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
}

.wrap {
  max-width: 660px;
  margin: 0 auto;
  padding: 36px 20px 72px;
}

.header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--text);
  margin-bottom: 8px;
}

.title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.days {
  display: flex;
  gap: 16px;
}

.day-btn {
  background: none;
  border: none;
  padding: 2px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--faint);
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  transition: color 0.12s ease;
}

.day-btn:hover {
  color: var(--text);
}

.day-btn.active {
  color: var(--text);
  font-weight: 600;
  border-bottom-color: var(--text);
}

.place {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.place:last-child {
  border-bottom: none;
}

.place-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.place-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.place-name a {
  color: inherit;
  text-decoration: none;
}

.place-name a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.place-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.dishes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dish {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 8px 16px;
  position: relative;
  border-top: 1px solid #efece5;
}

.dish:first-child {
  border-top: none;
  padding-top: 4px;
}

.dish:last-child {
  padding-bottom: 2px;
}

.dish::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--faint);
}

.dish:first-child::before {
  top: 12px;
}

.dish-text {
  min-width: 0;
  color: var(--text);
}

.dish-label {
  font-weight: 600;
  color: var(--muted);
  margin-right: 6px;
}

.dish-price {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.empty,
.status {
  color: var(--muted);
  font-size: 14px;
  margin: 18px 0 0;
}

@media (max-width: 520px) {
  .wrap {
    padding: 24px 16px 56px;
  }

  .header {
    flex-direction: column;
    gap: 10px;
  }

  .place-head {
    flex-direction: column;
    gap: 2px;
  }
}
