/* Fluent 2 web tokens: https://fluent2.microsoft.design */
:root {
  color-scheme: light;
  --colorNeutralForeground1: #242424;
  --colorNeutralForeground2: #424242;
  --colorNeutralForeground3: #616161;
  --colorNeutralForegroundDisabled: #bdbdbd;
  --colorNeutralForegroundOnBrand: #ffffff;
  --colorNeutralBackground1: #ffffff;
  --colorNeutralBackground1Hover: #f5f5f5;
  --colorNeutralBackground1Pressed: #e0e0e0;
  --colorNeutralBackground2: #fafafa;
  --colorNeutralBackground3: #f5f5f5;
  --colorSubtleBackgroundHover: #f5f5f5;
  --colorSubtleBackgroundPressed: #e0e0e0;
  --colorNeutralStroke1: #d1d1d1;
  --colorNeutralStroke2: #e0e0e0;
  --colorNeutralStrokeAccessible: #616161;
  --colorStrokeFocus2: #000000;
  --colorBrandBackground: #0f6cbd;
  --colorBrandBackgroundHover: #115ea3;
  --colorBrandBackgroundPressed: #0c3b5e;
  --colorBrandBackground2: #ebf3fc;
  --colorBrandForeground1: #0f6cbd;
  --colorBrandStroke1: #0f6cbd;
  --colorStatusDangerForeground1: #b10e1c;
  --colorBackgroundOverlay: rgb(0 0 0 / 40%);
  --colorNeutralBackgroundInverted: #292929;
  --colorNeutralForegroundInverted: #ffffff;

  --shadow2: 0 0 2px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 14%);
  --shadow4: 0 0 2px rgb(0 0 0 / 12%), 0 2px 4px rgb(0 0 0 / 14%);
  --shadow8: 0 0 2px rgb(0 0 0 / 12%), 0 4px 8px rgb(0 0 0 / 14%);
  --shadow16: 0 0 2px rgb(0 0 0 / 12%), 0 8px 16px rgb(0 0 0 / 14%);
  --shadow64: 0 0 8px rgb(0 0 0 / 12%), 0 32px 64px rgb(0 0 0 / 14%);

  --borderRadiusMedium: 4px;
  --borderRadiusLarge: 6px;
  --borderRadiusXLarge: 8px;

  --durationFaster: 100ms;
  --durationNormal: 200ms;
  --durationGentle: 250ms;
  --curveDecelerateMid: cubic-bezier(0, 0, 0, 1);
  --curveEasyEase: cubic-bezier(0.33, 0, 0.67, 1);

  --tab-height: 60px;
  font-family: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --colorNeutralForeground1: #ffffff;
    --colorNeutralForeground2: #d6d6d6;
    --colorNeutralForeground3: #adadad;
    --colorNeutralForegroundDisabled: #5c5c5c;
    --colorNeutralBackground1: #292929;
    --colorNeutralBackground1Hover: #3d3d3d;
    --colorNeutralBackground1Pressed: #1f1f1f;
    --colorNeutralBackground2: #1f1f1f;
    --colorNeutralBackground3: #141414;
    --colorSubtleBackgroundHover: #383838;
    --colorSubtleBackgroundPressed: #2e2e2e;
    --colorNeutralStroke1: #666666;
    --colorNeutralStroke2: #525252;
    --colorNeutralStrokeAccessible: #adadad;
    --colorStrokeFocus2: #ffffff;
    --colorBrandBackground: #115ea3;
    --colorBrandBackgroundHover: #0f6cbd;
    --colorBrandBackgroundPressed: #0c3b5e;
    --colorBrandBackground2: #082338;
    --colorBrandForeground1: #479ef5;
    --colorBrandStroke1: #479ef5;
    --colorStatusDangerForeground1: #dc626d;
    --colorBackgroundOverlay: rgb(0 0 0 / 50%);
    --colorNeutralBackgroundInverted: #ffffff;
    --colorNeutralForegroundInverted: #242424;
    --shadow2: 0 0 2px rgb(0 0 0 / 24%), 0 1px 2px rgb(0 0 0 / 28%);
    --shadow4: 0 0 2px rgb(0 0 0 / 24%), 0 2px 4px rgb(0 0 0 / 28%);
    --shadow8: 0 0 2px rgb(0 0 0 / 24%), 0 4px 8px rgb(0 0 0 / 28%);
    --shadow16: 0 0 2px rgb(0 0 0 / 24%), 0 8px 16px rgb(0 0 0 / 28%);
    --shadow64: 0 0 8px rgb(0 0 0 / 24%), 0 32px 64px rgb(0 0 0 / 28%);
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { background: var(--colorNeutralBackground2); }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--colorNeutralBackground2);
  color: var(--colorNeutralForeground1);
  overscroll-behavior-y: none;
}

main {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 20px) 16px calc(var(--tab-height) + env(safe-area-inset-bottom) + 28px);
}

h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 36px; font-weight: 600; }
h2 { font-size: 16px; line-height: 22px; font-weight: 600; }
h3 { font-size: 14px; line-height: 20px; font-weight: 600; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--colorStrokeFocus2); outline-offset: 1px; }

.icon { flex: none; width: 20px; height: 20px; fill: currentColor; }

/* Input: 1px stroke, accessible bottom edge, brand underline on focus */
input:not([type="checkbox"]), select, textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--colorNeutralStroke1);
  border-bottom-color: var(--colorNeutralStrokeAccessible);
  border-radius: var(--borderRadiusMedium);
  background: var(--colorNeutralBackground1);
  font-size: 16px;
  transition: border-color var(--durationFaster) var(--curveEasyEase), box-shadow var(--durationFaster) var(--curveEasyEase);
}
input:not([type="checkbox"]):focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--colorBrandStroke1);
  box-shadow: inset 0 -1px 0 var(--colorBrandStroke1);
}
input::placeholder, textarea::placeholder { color: var(--colorNeutralForeground3); }
input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--colorBrandBackground); }
textarea { min-height: 76px; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--colorNeutralStroke1);
  border-radius: var(--borderRadiusMedium);
  background: var(--colorNeutralBackground1);
  font-weight: 600;
  transition: background var(--durationFaster) var(--curveEasyEase), border-color var(--durationFaster) var(--curveEasyEase);
}
.btn:active { background: var(--colorNeutralBackground1Pressed); }
.btn:disabled { border-color: var(--colorNeutralStroke2); color: var(--colorNeutralForegroundDisabled); cursor: not-allowed; }
.btn.primary { border-color: transparent; background: var(--colorBrandBackground); color: var(--colorNeutralForegroundOnBrand); }
.btn.primary:active { background: var(--colorBrandBackgroundPressed); }
.btn.primary:disabled { background: var(--colorNeutralBackground1Pressed); color: var(--colorNeutralForegroundDisabled); }
.btn.danger { color: var(--colorStatusDangerForeground1); }
.btn.small { min-height: 32px; padding: 4px 12px; }
.btn.full { width: 100%; }

@media (hover: hover) {
  .btn:hover:not(:disabled) { background: var(--colorNeutralBackground1Hover); }
  .btn.primary:hover:not(:disabled) { background: var(--colorBrandBackgroundHover); }
  .item-main:hover .item-title { color: var(--colorBrandForeground1); }
  .icon-btn:hover { background: var(--colorSubtleBackgroundHover); }
  .vote:hover, .chip:hover { background: var(--colorNeutralBackground1Hover); }
  .segmented button:hover, #tabs button:hover { color: var(--colorNeutralForeground1); }
}

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.home-actions { justify-content: flex-end; }
.home-actions .btn { white-space: nowrap; }
.mobile-brand { min-height: 44px; margin: -8px 0 12px; padding: 0 10px; border: 0; border-radius: 6px; background: none; font-size: 20px; font-weight: 600; }
.mobile-brand:hover { background: var(--colorNeutralBackground3); }
.install-steps { margin: 8px 0 0; padding-inline-start: 1.4em; }
.install-steps li + li { margin-top: 6px; }
.subtle { color: var(--colorNeutralForeground3); font-size: 12px; line-height: 16px; }
.stack { display: grid; gap: 12px; }
.group-filter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; }
.group-filter-row p { margin: 2px 0 0; }
.group-place-list { max-height: 40vh; overflow: auto; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.section { margin-top: 24px; }
.section > h2 { margin-bottom: 8px; }

.notice { padding: 12px 14px; margin-top: 12px; border: 1px solid var(--colorNeutralStroke2); border-radius: var(--borderRadiusLarge); color: var(--colorNeutralForeground3); font-size: 12px; line-height: 18px; background: var(--colorNeutralBackground1); }
.offline-banner { margin: 0 0 16px; border-color: var(--colorBrandStroke1); }
.catalog-filters { margin-top: 10px; }
.catalog-results { margin-top: 12px; }
.catalog-results .empty { grid-column: 1 / -1; }
.store-icon { width: 52px; height: 52px; flex: none; object-fit: cover; border-radius: var(--borderRadiusLarge); margin-right: 8px; background: var(--colorNeutralBackground3); }
.store-icon.large { width: 64px; height: 64px; }
.pick-icon { width: 64px; height: 64px; object-fit: cover; border-radius: var(--borderRadiusLarge); }
.pick > .btn { justify-self: start; margin-top: 8px; }
.store-facts { display: grid; grid-template-columns: 72px 1fr; gap: 8px 12px; margin: 0; font-size: 13px; line-height: 20px; }
.store-facts dt { color: var(--colorNeutralForeground3); }
.store-facts dd { margin: 0; overflow-wrap: anywhere; }
.store-layout, .store-overview, .store-menu { display: grid; gap: 16px; min-width: 0; }
.store-overview > .notice { margin-top: 0; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.menu-grid > .empty { grid-column: 1 / -1; }
.menu-card { overflow: hidden; border: 1px solid var(--colorNeutralStroke2); border-radius: var(--borderRadiusXLarge); }
.menu-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--colorNeutralBackground3); }
.menu-card-body { display: grid; gap: 6px; padding: 10px; }
.menu-price { color: var(--colorBrandForeground1); font-weight: 600; font-variant-numeric: tabular-nums; }
.section.card > h2 { margin: 0; }

/* TabList */
.segmented { display: flex; gap: 4px; border-bottom: 1px solid var(--colorNeutralStroke2); }
.segmented button {
  position: relative;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  background: none;
  color: var(--colorNeutralForeground2);
}
.segmented button::after {
  content: "";
  position: absolute;
  inset: auto 12px -1px;
  height: 3px;
  border-radius: 2px;
  background: transparent;
}
.segmented button[aria-pressed="true"] { color: var(--colorNeutralForeground1); font-weight: 600; }
.segmented button[aria-pressed="true"]::after { background: var(--colorBrandStroke1); }

/* ToggleButton */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid var(--colorNeutralStroke1);
  border-radius: var(--borderRadiusMedium);
  background: var(--colorNeutralBackground1);
}
.chip[aria-pressed="true"] {
  border-color: var(--colorBrandStroke1);
  background: var(--colorBrandBackground2);
  color: var(--colorBrandForeground1);
  font-weight: 600;
}

.pick {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  min-height: 240px;
  align-content: center;
  padding: 24px;
  border-radius: var(--borderRadiusXLarge);
  background: var(--colorNeutralBackground1);
  box-shadow: var(--shadow4);
}
.pick-eyebrow { color: var(--colorBrandForeground1); font-weight: 600; }
.pick-name { font-size: clamp(28px, 9vw, 40px); line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.pick.rolling .pick-name { color: var(--colorNeutralForeground3); }
.pick.landed .pick-name { animation: land var(--durationGentle) var(--curveDecelerateMid); }
.pick-dish { font-size: 16px; line-height: 22px; font-weight: 600; }
.pick-meta { color: var(--colorNeutralForeground3); }

@keyframes land {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.actions .wide { grid-column: 1 / -1; min-height: 48px; font-size: 16px; }

/* Card list */
.list { display: grid; gap: 8px; }
.item {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-height: 60px;
  padding: 10px 8px 10px 12px;
  border-radius: var(--borderRadiusXLarge);
  background: var(--colorNeutralBackground1);
  box-shadow: var(--shadow2);
  text-align: left;
}
.item-main { flex: 1; min-width: 0; padding: 0; border: 0; background: none; text-align: left; }
.item-title { display: block; font-weight: 600; overflow-wrap: anywhere; transition: color var(--durationFaster) var(--curveEasyEase); }
.item-sub { display: block; color: var(--colorNeutralForeground3); font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
.item.blocked .item-main { opacity: 0.6; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--borderRadiusMedium);
  background: transparent;
  color: var(--colorNeutralForeground2);
  transition: background var(--durationFaster) var(--curveEasyEase);
}
.icon-btn:active { background: var(--colorSubtleBackgroundPressed); }
.icon-btn[aria-pressed="true"] { color: var(--colorBrandForeground1); }

.vote {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--borderRadiusXLarge);
  background: var(--colorNeutralBackground1);
  box-shadow: var(--shadow2);
  text-align: left;
}
.vote[aria-pressed="true"] { border-color: var(--colorBrandStroke1); background: var(--colorBrandBackground2); }
.vote-body { flex: 1; min-width: 0; }
.vote-track {
  display: block;
  height: 2px;
  margin-top: 8px;
  border-radius: 1px;
  background: var(--colorNeutralStroke2);
  overflow: hidden;
}
.vote-bar {
  display: block;
  height: 100%;
  background: var(--colorBrandBackground);
  transition: width var(--durationNormal) var(--curveEasyEase);
}
.vote-count { font-size: 20px; line-height: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }

.field { display: grid; gap: 4px; font-weight: 600; }
.field input, .field select, .field textarea { font-weight: 400; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.code {
  padding: 12px;
  border-radius: var(--borderRadiusLarge);
  background: var(--colorNeutralBackground3);
  font-family: Consolas, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  text-align: center;
  user-select: all;
  -webkit-user-select: all;
  overflow-wrap: anywhere;
}

.empty { padding: 28px 12px; color: var(--colorNeutralForeground3); text-align: center; }

body:has(main[data-view="login"]) {
  background: radial-gradient(ellipse 560px 360px at 50% 0, var(--colorBrandBackground2), transparent), var(--colorNeutralBackground2);
}
main[data-view="login"] {
  width: min(100%, 480px);
  padding: calc(env(safe-area-inset-top) + clamp(28px, 10dvh, 92px)) clamp(16px, 5vw, 30px)
    calc(env(safe-area-inset-bottom) + 28px);
}
.login { display: grid; gap: 20px; }
.login-brand { display: grid; justify-items: center; gap: 12px; color: var(--colorNeutralForeground2); font-weight: 600; }
.login-brand img { display: block; border-radius: 14px; box-shadow: var(--shadow8); }
.login-card {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 5vw, 28px);
  border: 1px solid var(--colorNeutralStroke2);
  border-radius: 20px;
  background: var(--colorNeutralBackground1);
  box-shadow: var(--shadow8);
}
.login-heading { display: grid; gap: 4px; margin-bottom: 8px; }
.login-heading h1 { font-size: 26px; line-height: 34px; }
.login-heading p, .login-register { color: var(--colorNeutralForeground3); }
.login-card .btn, .auth-form input, .auth-form .btn { min-height: 44px; border-radius: var(--borderRadiusXLarge); }
.login-card:has(.login-code[open]) > .btn.primary:not(:disabled) {
  border-color: var(--colorNeutralStroke2);
  background: var(--colorBrandBackground2);
  color: var(--colorBrandForeground1);
}
.login-card:has(.login-code[open]) > .btn.primary:active:not(:disabled) {
  background: var(--colorNeutralBackground1Pressed);
}
.login-code summary { position: relative; padding-inline: 32px; list-style: none; cursor: pointer; }
.login-code summary::-webkit-details-marker { display: none; }
.login-code summary::after {
  content: '';
  position: absolute;
  right: 16px;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.login-code[open] summary::after { transform: translateY(2px) rotate(225deg); }
.login-code .auth-form { padding-top: 14px; }
.login-register {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 2px;
  min-height: 46px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--colorNeutralStroke2);
}
.login-footer { display: grid; justify-items: center; }
.auth-link {
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-radius: var(--borderRadiusLarge);
  background: transparent;
  color: var(--colorBrandForeground1);
  font-weight: 600;
}
.auth-link:disabled { color: var(--colorNeutralForegroundDisabled); cursor: not-allowed; }
.login-footer .auth-link { color: var(--colorNeutralForeground3); }
.auth-link:active:not(:disabled) { background: var(--colorSubtleBackgroundPressed); }
@media (hover: hover) {
  .auth-link:hover:not(:disabled) { background: var(--colorSubtleBackgroundHover); }
}
.auth-status, .auth-error { font-size: 13px; line-height: 19px; }
.auth-error { color: var(--colorStatusDangerForeground1); }
.auth-notice { padding: 12px; border-radius: var(--borderRadiusLarge); background: var(--colorNeutralBackground2); }
.login [role="status"]:empty, .sheet-body [role="status"]:empty { display: none; }
.username { overflow-wrap: anywhere; }
.card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--borderRadiusXLarge);
  background: var(--colorNeutralBackground1);
  box-shadow: var(--shadow4);
}

#tabs {
  position: fixed;
  inset: auto 0 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--colorNeutralBackground1);
  box-shadow: 0 0 2px rgb(0 0 0 / 12%), 0 -2px 4px rgb(0 0 0 / 8%);
}
#tabs[hidden] { display: none; }
#tabs button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  height: var(--tab-height);
  border: 0;
  background: none;
  color: var(--colorNeutralForeground3);
  font-size: 12px;
  line-height: 16px;
}
#tabs .icon { width: 24px; height: 24px; }
#tabs .sidebar-brand { display: none; }
#tabs button[aria-current="page"] { color: var(--colorBrandForeground1); font-weight: 600; }

dialog {
  width: min(100%, 560px);
  max-width: none;
  max-height: 88dvh;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: var(--borderRadiusXLarge) var(--borderRadiusXLarge) 0 0;
  background: var(--colorNeutralBackground1);
  color: var(--colorNeutralForeground1);
  box-shadow: var(--shadow64);
}
dialog::backdrop { background: var(--colorBackgroundOverlay); }
dialog[open] { animation: sheet-in var(--durationGentle) var(--curveDecelerateMid); }
.sheet-body { display: grid; gap: 16px; padding: 20px 16px calc(env(safe-area-inset-bottom) + 16px); }

@media (min-width: 600px) {
  dialog { margin: auto; border-radius: var(--borderRadiusXLarge); }
  .sheet-body { padding: 24px; }
}

@keyframes sheet-in {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.dish-row { display: grid; grid-template-columns: 1fr 86px 40px; gap: 6px; }

@media (min-width: 900px) {
  body:has(#tabs:not([hidden])) { padding-left: 200px; }
  main { width: min(100%, 920px); padding: 40px 32px 64px; }
  main[data-view="places"] { width: min(100%, 1360px); }
  .catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(265px, .65fr); gap: 12px; }
  .catalog-filters { margin-top: 0; }
  .places-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .places-list .item { min-height: 100px; }
  .places-list .item-title { font-size: 15px; line-height: 21px; }
  .places-list .icon-btn { width: 32px; }
  dialog:has(.store-layout) { width: min(calc(100% - 64px), 1180px); max-height: min(90dvh, 900px); }
  .store-layout { grid-template-columns: minmax(235px, .35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .store-overview { position: sticky; top: 0; padding: 16px; border: 1px solid var(--colorNeutralStroke2); border-radius: var(--borderRadiusXLarge); background: var(--colorNeutralBackground2); }
  .store-overview .row { align-items: flex-start; }
  .store-overview .store-facts { grid-template-columns: 84px minmax(0, 1fr); }
  .store-overview .store-icon { width: 48px; height: 48px; margin-right: 0; }
  .store-overview .icon-btn { width: 32px; height: 32px; }
  .store-menu > .btn { justify-self: start; width: auto; }
  .store-menu .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  #tabs { inset: 0 auto 0 0; width: 200px; display: flex; flex-direction: column; gap: 6px; padding: 32px 12px; border-right: 1px solid var(--colorNeutralStroke2); box-shadow: none; }
  .mobile-brand { display: none; }
  #tabs button { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 12px 16px; height: 48px; border-radius: var(--borderRadiusMedium); font-size: 14px; }
  #tabs .sidebar-brand { display: flex; margin-bottom: 12px; font-size: 22px; font-weight: 600; color: var(--colorNeutralForeground1); }
  #tabs .sidebar-brand:hover { background: var(--colorNeutralBackground3); }
  #tabs button[aria-current="page"] { background: var(--colorBrandBackground2); }
  #tabs button[aria-current="page"]::before { content: ''; position: absolute; inset: 14px auto 14px 3px; width: 3px; border-radius: 2px; background: var(--colorBrandBackground); }
  .pick { min-height: 300px; padding: 32px; }
  .pick-name { font-size: 42px; }
  .actions { gap: 12px; }
  #toast { bottom: 28px; }
}

@media (min-width: 1280px) {
  .places-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-menu .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .store-icon { width: 42px; height: 42px; margin-right: 4px; }
  .places-list .icon-btn { width: 30px; }
  .field-grid { gap: 8px; }
}

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tab-height) + env(safe-area-inset-bottom) + 14px);
  z-index: 20;
  max-width: calc(100% - 32px);
  padding: 10px 12px;
  border-radius: var(--borderRadiusLarge);
  background: var(--colorNeutralBackgroundInverted);
  color: var(--colorNeutralForegroundInverted);
  box-shadow: var(--shadow8);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity var(--durationNormal) var(--curveEasyEase), transform var(--durationNormal) var(--curveDecelerateMid);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
