/* Gastronoph business workspace. Scoped separately from the API partner panel. */
:root {
  color-scheme: light;
  --canvas: #f2f2f7;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --sheet: #f2f2f7;
  --sheet-group: #ffffff;
  --label: #000000;
  --label-2: #6e6e73;
  --label-3: #aeaeb2;
  --separator: rgba(60, 60, 67, 0.2);
  --hairline: rgba(0, 0, 0, 0.06);
  --fill: rgba(118, 118, 128, 0.12);
  --fill-strong: rgba(120, 120, 128, 0.2);
  --press: rgba(0, 0, 0, 0.04);
  --tint: #00736c;
  --tint-fill: #00736c;
  --tint-soft: rgba(0, 115, 108, 0.1);
  --tint-ring: rgba(0, 115, 108, 0.32);
  --on-tint: #ffffff;
  --live: #34c759;
  --draft: #f46d4b;
  --danger: #ff3b30;
  --danger-ink: #d70015;
  --danger-soft: rgba(255, 59, 48, 0.1);
  --warn-ink: #b25000;
  --warn-soft: rgba(255, 149, 0, 0.15);
  --tile-teal: #00736c;
  --tile-orange: #ff9500;
  --tile-blue: #007aff;
  --tile-green: #34c759;
  --tile-gray: #8e8e93;
  --tile-red: #ff3b30;
  --material: rgba(242, 242, 247, 0.8);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-edge: rgba(255, 255, 255, 0.9);
  --backdrop: rgba(0, 0, 0, 0.26);
  --shadow-float: 0 0 0 0.5px rgba(0, 0, 0, 0.05), 0 12px 32px -14px rgba(0, 0, 0, 0.18);
  --shadow-sheet: 0 0 0 0.5px rgba(0, 0, 0, 0.06), 0 40px 90px -30px rgba(0, 0, 0, 0.45);
  --app-bg: #ffffff;
  --app-faint: #8e8e93;
  --app-line: rgba(20, 20, 20, 0.08);
    --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, sans-serif;
  --r-group: 22px;
  --r-row: 12px;
  --sidebar: 268px;
  --gutter: 40px;
}

:root[data-business-theme="dark"] {
  color-scheme: dark;
  --canvas: #000000;
  --surface: #1c1c1e;
  --surface-raised: #2c2c2e;
  --sheet: #1c1c1e;
  --sheet-group: #2c2c2e;
  --label: #ffffff;
  --label-2: #98989f;
  --label-3: #5a5a5f;
  --separator: rgba(84, 84, 88, 0.6);
  --hairline: rgba(255, 255, 255, 0.07);
  --fill: rgba(118, 118, 128, 0.24);
  --fill-strong: rgba(120, 120, 128, 0.36);
  --press: rgba(255, 255, 255, 0.06);
  --tint: #4fd1c5;
  --tint-fill: #0e8178;
  --tint-soft: rgba(79, 209, 197, 0.15);
  --tint-ring: rgba(79, 209, 197, 0.4);
  --live: #30d158;
  --draft: #ff7a59;
  --danger: #ff453a;
  --danger-ink: #ff6961;
  --danger-soft: rgba(255, 69, 58, 0.16);
  --warn-ink: #ffb340;
  --warn-soft: rgba(255, 159, 10, 0.18);
  --tile-teal: #0e8178;
  --tile-orange: #ff9f0a;
  --tile-blue: #0a84ff;
  --tile-green: #30d158;
  --tile-gray: #636366;
  --tile-red: #ff453a;
  --material: rgba(0, 0, 0, 0.72);
  --glass: rgba(36, 36, 38, 0.7);
  --glass-edge: rgba(255, 255, 255, 0.1);
  --backdrop: rgba(0, 0, 0, 0.55);
  --shadow-float: 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  --shadow-sheet: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 40px 100px -20px rgba(0, 0, 0, 0.9);
  --app-bg: #0b0b0c;
  --app-faint: #6e6e73;
  --app-line: rgba(255, 255, 255, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--canvas); }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--canvas);
  color: var(--label);
  font: 400 16px/1.4 var(--font);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: var(--tint); text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--tint-ring); outline-offset: 2px; }
::selection { background: var(--tint-soft); }

.biz-icon { flex: 0 0 auto; display: block; }
.biz-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.biz-stack { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.biz-stack--tight { gap: 16px; }

.biz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, transform 0.12s ease;
}
.biz-btn .biz-icon { width: 17px; height: 17px; }
.biz-btn:active:not(:disabled) { transform: scale(0.97); }
.biz-btn:disabled { opacity: 0.38; cursor: not-allowed; }
.biz-btn--filled { background: var(--tint-fill); color: var(--on-tint); }
.biz-btn--filled:hover:not(:disabled) { background: color-mix(in srgb, var(--tint-fill) 86%, #000); }
.biz-btn--tinted { background: var(--tint-soft); color: var(--tint); }
.biz-btn--tinted:hover:not(:disabled) { background: color-mix(in srgb, var(--tint) 18%, transparent); }
.biz-btn--plain { padding-left: 10px; padding-right: 10px; color: var(--tint); font-weight: 500; }
.biz-btn--plain:hover:not(:disabled) { background: var(--fill); }
.biz-btn--strong { font-weight: 700; }
.biz-btn--small { min-height: 30px; padding: 5px 12px; font-size: 14px; }
.biz-btn--large { width: 100%; min-height: 50px; padding: 13px 20px; font-size: 17px; white-space: normal; text-align: center; }
.biz-btn--center { align-self: center; }
.biz-btn--google { background: var(--surface); color: var(--label); box-shadow: inset 0 0 0 1px var(--separator); }
.biz-btn--google:hover { background: color-mix(in srgb, var(--surface) 94%, var(--label)); }
.biz-btn--google .biz-google { width: 19px; height: 19px; }
.biz-icon-btn {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--label-2);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.biz-icon-btn:hover { background: var(--fill); color: var(--label); }
.biz-icon-btn .biz-icon { width: 19px; height: 19px; }
.biz-link-button { padding: 0; border: 0; background: none; color: var(--tint); font-weight: 500; }
.biz-link-button:hover { text-decoration: underline; }

.biz-tile {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--tile-gray);
}
.biz-tile .biz-icon { width: 19px; height: 19px; stroke-width: 2; }
.biz-tile--teal { background: var(--tile-teal); }
.biz-tile--orange { background: var(--tile-orange); }
.biz-tile--blue { background: var(--tile-blue); }
.biz-tile--green { background: var(--tile-green); }
.biz-tile--red { background: var(--tile-red); }

.biz-status { display: inline-flex; align-items: center; gap: 7px; color: var(--label-2); font-size: 13px; font-weight: 500; white-space: nowrap; }
.biz-status-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--draft); }
.biz-status--active .biz-status-dot { background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 22%, transparent); }
.biz-status--disabled .biz-status-dot { background: var(--label-3); }

.biz-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--tint-fill);
  color: #ffffff;
  font-size: 18px;
  font-weight: 650;
}
.biz-avatar img { width: 100%; height: 100%; object-fit: cover; }
.biz-avatar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.biz-avatar--large { width: 60px; height: 60px; font-size: 26px; }

.biz-sidebar {
  position: fixed;
  z-index: 30;
  top: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: var(--sidebar);
  padding: 14px 10px 12px;
  overflow-y: auto;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
}
.biz-side-venue { display: flex; align-items: center; gap: 12px; padding: 6px 8px 16px; }
.biz-side-venue > div { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.biz-side-venue strong { max-width: 100%; overflow: hidden; font-size: 16px; font-weight: 600; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.biz-nav { display: flex; flex-direction: column; gap: 2px; }
.biz-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 7px 10px 7px 8px;
  border-radius: 14px;
  color: var(--label);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.12s ease;
}
.biz-nav a:hover { background: var(--press); }
.biz-nav a[aria-current="page"] { background: var(--tint-soft); font-weight: 600; }
.biz-nav .biz-tile { width: 28px; height: 28px; border-radius: 7px; }
.biz-nav .biz-tile .biz-icon { width: 17px; height: 17px; }
.biz-side-foot { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 16px; }
.biz-side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 14px;
  color: var(--tint);
  font-size: 15px;
  font-weight: 500;
}
.biz-side-link:hover { background: var(--press); }
.biz-side-link .biz-icon { width: 17px; height: 17px; }
.biz-side-account { display: flex; align-items: center; gap: 2px; padding: 10px 2px 2px 10px; border-top: 0.5px solid var(--separator); }
.biz-side-account > span { flex: 1; min-width: 0; overflow: hidden; color: var(--label-2); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.biz-side-brand { display: flex; align-items: center; gap: 7px; padding: 4px 10px 0; color: var(--label-2); font-size: 12px; font-weight: 500; }
.biz-side-brand img { width: 16px; height: 16px; }

.biz-workspace { min-height: 100dvh; margin-left: calc(var(--sidebar) + 24px); }
.biz-main { max-width: calc(1060px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) 80px; }
.biz-page { position: relative; }

.biz-titlebar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-height: 64px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 12px var(--gutter);
}
.biz-titlebar::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--material);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: 0 0.5px 0 var(--separator);
  pointer-events: none;
}
.biz-titlebar-title {
  position: absolute;
  left: 50%;
  max-width: 44%;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
}
.biz-titlebar-actions { display: flex; align-items: center; gap: 12px; }
@supports (animation-timeline: scroll()) {
  .biz-titlebar::before { opacity: 0; animation: biz-fade linear both; animation-timeline: scroll(root); animation-range: 0 40px; }
  .biz-titlebar-title { animation: biz-title linear both; animation-timeline: scroll(root); animation-range: 44px 80px; }
}
@keyframes biz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes biz-title { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.biz-heading { padding: 0 0 30px; }
.biz-heading h1 { font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -0.024em; }
.biz-heading p { max-width: 62ch; margin-top: 8px; color: var(--label-2); font-size: 15px; line-height: 1.45; }

.biz-split { display: grid; grid-template-columns: minmax(0, 1fr) 336px; align-items: start; gap: 44px; }
.biz-split--solo { grid-template-columns: minmax(0, 1fr); }
.biz-split--payments { grid-template-columns: minmax(0, 1fr) 340px; }
.biz-split-aside { position: sticky; top: 80px; min-width: 0; }

.biz-group { min-width: 0; }
.biz-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; padding: 0 16px 8px; }
.biz-group-head h2 { color: var(--label-2); font-size: 15px; font-weight: 600; line-height: 1.3; }
.biz-group-action { display: flex; align-items: center; margin-right: -10px; }
.biz-group-count { margin-right: 10px; color: var(--label-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.biz-group--content .biz-group-head h2 { color: var(--label); font-size: 17px; }
.biz-list { overflow: hidden; border-radius: var(--r-group); background: var(--surface); }
.biz-group-foot { padding: 9px 16px 0; color: var(--label-2); font-size: 13px; line-height: 1.42; }
.biz-footnote { color: var(--label-2); font-size: 13px; line-height: 1.42; }
.biz-footnote--center { text-align: center; }

.biz-list > * { position: relative; }
.biz-list > * + *::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: var(--sep, 16px);
  border-top: 0.5px solid var(--separator);
  pointer-events: none;
}

.biz-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  background: none;
  color: var(--label);
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
}
.biz-row--tiled { --sep: 58px; }
.biz-row--link { cursor: pointer; transition: background-color 0.12s ease; }
.biz-row--link:hover { background: var(--press); }
.biz-row--link:active { background: var(--fill); }
.biz-row--link:focus-visible { outline: 3px solid var(--tint-ring); outline-offset: -3px; border-radius: var(--r-row); }
.biz-row-main { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.biz-row-label { overflow-wrap: anywhere; }
.biz-row-detail { color: var(--label-2); font-size: 13px; line-height: 1.35; }
.biz-row-value { flex-shrink: 1; min-width: 0; max-width: 60%; overflow: hidden; color: var(--label-2); text-align: right; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.biz-chevron { width: 15px; height: 15px; margin-right: -3px; color: var(--label-3); stroke-width: 2.4; }
.biz-row-external { width: 16px; height: 16px; color: var(--label-3); }
.biz-row--danger { color: var(--danger-ink); }
.biz-row--danger .biz-row-label { color: var(--danger-ink); }
.biz-row--center { justify-content: center; text-align: center; }
.biz-row--add { --sep: 76px; color: var(--tint); font-weight: 500; }
.biz-row--add .biz-row-label { color: var(--tint); }
.biz-row--first-add { --sep: 16px; }
.biz-add-mark { display: grid; place-items: center; width: 48px; flex-shrink: 0; }
.biz-add-mark .biz-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--tint-fill);
  color: #ffffff;
  stroke-width: 2.6;
}

.biz-step { --sep: 58px; }
.biz-step-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--label-3);
  border-radius: 50%;
  color: #ffffff;
}
.biz-step-mark .biz-icon { width: 17px; height: 17px; stroke-width: 2.6; }
.biz-step.is-done .biz-step-mark { border-color: var(--tint-fill); background: var(--tint-fill); }
.biz-step.is-done .biz-row-label { color: var(--label-2); }

.biz-venue-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-group); background: var(--surface); }
.biz-venue-card-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.biz-venue-card-text strong { font-size: 20px; font-weight: 650; line-height: 1.2; overflow-wrap: anywhere; }
.biz-venue-card-text > span:not(.biz-status) { color: var(--label-2); font-size: 14px; }

.biz-field {
  display: grid;
  grid-template-columns: minmax(130px, 32%) minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  min-height: 50px;
  padding: 0 16px;
  transition: background-color 0.15s ease;
}
.biz-field-label { padding: 14px 0; color: var(--label); font-size: 16px; line-height: 1.25; }
.biz-field-control { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; }
.biz-field input, .biz-field select, .biz-field textarea {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: none;
  color: var(--label);
  font-size: 16px;
  line-height: 1.3;
}
.biz-field select { appearance: none; -webkit-appearance: none; padding-right: 26px; cursor: pointer; }
.biz-field textarea { min-height: 4.4em; padding: 4px 0 13px; resize: none; line-height: 1.4; field-sizing: content; }
.biz-field input::placeholder, .biz-field textarea::placeholder { color: var(--label-3); opacity: 1; }
.biz-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--surface) inset; -webkit-text-fill-color: var(--label); }
.biz-select-icon { position: absolute; right: 0; width: 16px; height: 16px; color: var(--label-2); pointer-events: none; }
.biz-field-suffix { color: var(--label-2); }
.biz-field-control:has(> .biz-field-suffix) { align-items: baseline; }
.biz-field-control:has(> .biz-field-suffix) input { text-align: right; }
.biz-field:focus-within { background: color-mix(in srgb, var(--tint) 4%, transparent); }
.biz-field:focus-within .biz-field-label { color: var(--tint); }
.biz-field--stacked { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.biz-field--stacked .biz-field-label { padding: 12px 0 2px; color: var(--label-2); font-size: 13px; }
.biz-field-error { grid-column: 2; margin-top: -8px; padding: 0 0 11px; color: var(--danger-ink); font-size: 13px; line-height: 1.35; }
.biz-field--stacked .biz-field-error { grid-column: 1; margin-top: 0; }
.biz-field--invalid .biz-field-label, .biz-field--invalid:focus-within .biz-field-label { color: var(--danger-ink); }
.biz-field--toggle .biz-field-control { justify-content: flex-end; }
.biz-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.biz-fieldset:disabled { opacity: 0.55; }

.biz-switch { position: relative; display: inline-flex; flex-shrink: 0; width: 51px; height: 31px; }
.biz-switch input[type="checkbox"] { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.biz-switch-track { position: absolute; inset: 0; border-radius: 999px; background: var(--fill-strong); transition: background-color 0.25s ease; }
.biz-switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16);
  transition: transform 0.28s cubic-bezier(0.3, 0.7, 0.35, 1.15);
}
.biz-switch input:checked + .biz-switch-track { background: var(--tint-fill); }
.biz-switch input:checked + .biz-switch-track::after { transform: translateX(20px); }
.biz-switch input:focus-visible + .biz-switch-track { outline: 3px solid var(--tint-ring); outline-offset: 2px; }

.biz-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.biz-choice-check { width: 20px; height: 20px; color: var(--tint); stroke-width: 2.4; visibility: hidden; }
.biz-choice:has(input:checked) .biz-choice-check { visibility: visible; }
.biz-choice:has(input:focus-visible) { outline: 3px solid var(--tint-ring); outline-offset: -3px; border-radius: var(--r-row); }
.biz-choice:has(input:disabled) { cursor: default; opacity: 0.55; }

.biz-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.4;
}
.biz-alert--error { background: var(--danger-soft); color: var(--danger-ink); }
.biz-alert .biz-icon { width: 19px; height: 19px; margin-top: 0.5px; }
.biz-alert--info { background: var(--surface); color: var(--label-2); }
.biz-page > .biz-alert { margin-bottom: 26px; }

.biz-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 64px 24px 56px;
  text-align: center;
}
.biz-empty .biz-tile { width: 60px; height: 60px; margin-bottom: 8px; border-radius: 15px; }
.biz-empty .biz-tile .biz-icon { width: 32px; height: 32px; stroke-width: 1.8; }
.biz-empty h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.015em; }
.biz-empty p { max-width: 36ch; margin-bottom: 10px; color: var(--label-2); font-size: 15px; line-height: 1.45; }

.biz-menu-tools { display: flex; flex-direction: column; gap: 14px; }
.biz-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--fill);
  color: var(--label-2);
  transition: box-shadow 0.15s ease;
}
.biz-search .biz-icon { width: 18px; height: 18px; }
.biz-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--label); font-size: 16px; }
.biz-search input::placeholder { color: var(--label-2); opacity: 1; }
.biz-search:focus-within { box-shadow: 0 0 0 3px var(--tint-ring); }
.biz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--label);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.biz-chip > span { color: var(--label-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.biz-chip:hover { background: color-mix(in srgb, var(--surface) 92%, var(--label)); }
.biz-chip.is-selected { background: var(--label); color: var(--canvas); }
.biz-chip.is-selected > span { color: inherit; opacity: 0.6; }
.biz-chip--add { background: none; color: var(--tint); }
.biz-chip--add:hover { background: var(--tint-soft); }
.biz-chip--add .biz-icon { width: 16px; height: 16px; stroke-width: 2.2; }

.biz-menu-category { display: flex; flex-direction: column; gap: 26px; }
.biz-menu-category + .biz-menu-category { margin-top: 26px; }
.biz-menu-category-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: -6px; padding: 0 6px 0 4px; }
.biz-menu-category-head h2 { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.biz-add-section { align-self: flex-start; margin: -12px 0 0 6px; }

.biz-product { --sep: 76px; min-height: 72px; }
.biz-thumb {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 11px;
  background: var(--fill);
  color: var(--label-3);
}
.biz-thumb img { width: 100%; height: 100%; object-fit: cover; }
.biz-thumb .biz-icon { width: 21px; height: 21px; }
.biz-product .biz-row-label { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; font-weight: 500; }
.biz-product .biz-row-detail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-product.is-out .biz-thumb img { opacity: 0.45; filter: grayscale(0.5); }
.biz-product.is-out .biz-row-label { color: var(--label-2); }
.biz-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--warn-soft); color: var(--warn-ink); font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; vertical-align: 1px; }
.biz-badge--demo { background: var(--tint-soft); color: var(--tint); }
.biz-demo-note .biz-row { align-items: center; padding-top: 14px; padding-bottom: 14px; }
.biz-demo-note .biz-row-detail { max-width: 58ch; }
.biz-demo-note .biz-btn { flex-shrink: 0; }
.biz-price { flex-shrink: 0; min-width: 64px; color: var(--label); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

.biz-photo {
  --frame: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  padding: 12px 16px;
  color: var(--label);
  font-size: 16px;
  line-height: 1.3;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.biz-photo.phx-drop-target-active { background: var(--tint-soft); box-shadow: inset 0 0 0 2px var(--tint-ring); }
.biz-photo-frame {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--frame);
  height: var(--frame);
  overflow: hidden;
  border-radius: 13px;
  background: var(--fill);
  color: var(--label-3);
  cursor: pointer;
  transition: filter 0.15s ease;
}
.biz-photo-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0.5px var(--hairline); pointer-events: none; }
.biz-photo-frame:hover { filter: brightness(0.95); }
.biz-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.biz-photo-frame .biz-icon { width: 24px; height: 24px; }
.biz-photo--round .biz-photo-frame { border-radius: 50%; }
.biz-photo--square { --frame: 72px; }
.biz-photo--square .biz-photo-frame { border-radius: 15px; }
.biz-photo--wide { flex-wrap: wrap; row-gap: 12px; }
.biz-photo--wide .biz-photo-frame { width: 100%; height: auto; max-height: 260px; aspect-ratio: 16 / 9; border-radius: 14px; }
.biz-photo--wide .biz-photo-frame .biz-icon { width: 30px; height: 30px; }
.biz-photo--wide .biz-photo-frame:not(:has(img)) { height: 132px; aspect-ratio: auto; }
.biz-photo.is-invalid .biz-photo-frame::after { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--danger) 70%, transparent); }
.biz-photo-text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.biz-photo-error { color: var(--danger-ink); }
.biz-photo-actions { display: flex; flex-shrink: 0; align-items: center; gap: 2px; }
.biz-photo-actions label { cursor: pointer; }
.biz-photo-input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; opacity: 0; clip-path: inset(50%); white-space: nowrap; }
.biz-photo:has(.biz-photo-input:focus-visible) .biz-photo-actions .biz-btn--tinted { outline: 3px solid var(--tint-ring); outline-offset: 2px; }
.biz-photo-progress { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.38); }
.biz-photo-progress::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(#ffffff var(--progress, 0%), rgba(255, 255, 255, 0.32) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000000 calc(100% - 3px));
}
.biz-photo--wide .biz-photo-progress::before { width: 36px; height: 36px; }
.biz-photo.is-processing .biz-photo-progress::before { background: conic-gradient(#ffffff 0 28%, rgba(255, 255, 255, 0.32) 0); animation: biz-spin 0.9s linear infinite; }

.biz-sheet {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  max-height: min(88dvh, 860px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: var(--sheet);
  color: var(--label);
  box-shadow: var(--shadow-sheet);
}
.biz-sheet[open] { display: flex; flex-direction: column; animation: biz-sheet-in 0.34s cubic-bezier(0.2, 0.9, 0.25, 1); }
.biz-sheet::backdrop { background: var(--backdrop); animation: biz-fade 0.24s ease; }
.biz-sheet .biz-list { background: var(--sheet-group); }
.biz-sheet .biz-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--sheet-group) inset; }
.biz-sheet-form { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.biz-sheet-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px 10px;
  border-bottom: 0.5px solid var(--separator);
}
.biz-sheet-bar > :first-child { justify-self: start; }
.biz-sheet-bar > :last-child { justify-self: end; }
.biz-sheet-bar h2 { font-size: 17px; font-weight: 600; text-align: center; }
.biz-sheet-body { display: flex; flex-direction: column; gap: 26px; min-height: 0; padding: 20px 20px 30px; overflow-y: auto; overscroll-behavior: contain; }
.biz-sheet-demo { display: flex; align-items: flex-start; gap: 8px; margin: -4px 0 -10px; padding: 11px 14px; border-radius: 14px; background: var(--tint-soft); color: var(--tint); font-size: 14px; line-height: 1.4; }
.biz-sheet-demo .biz-icon { width: 18px; height: 18px; margin-top: 0.5px; }
.biz-sheet-context { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: -4px 0 -12px 16px; color: var(--label-2); font-size: 13px; }
.biz-sheet-context .biz-icon { width: 12px; height: 12px; stroke-width: 2.4; }
@keyframes biz-sheet-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
html:has(.biz-sheet[open]) { overflow: hidden; }

.biz-toasts {
  position: fixed;
  z-index: 80;
  top: 14px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  pointer-events: none;
}
.biz-workspace .biz-toasts, .biz-shell .biz-toasts { left: calc(50% + (var(--sidebar) + 24px) / 2); max-width: min(560px, calc(100vw - var(--sidebar) - 64px)); }
.biz-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.8) blur(24px);
  backdrop-filter: saturate(1.8) blur(24px);
  box-shadow: var(--shadow-float), inset 0 0.5px 0 var(--glass-edge);
  color: var(--label);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  pointer-events: auto;
  animation: biz-toast-in 0.42s cubic-bezier(0.2, 0.9, 0.25, 1) both, biz-toast-out 0.36s ease 5s forwards;
}
.biz-toast--error { color: var(--danger-ink); animation: biz-toast-in 0.42s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
.biz-toast-icon { width: 22px; height: 22px; color: var(--tint); }
.biz-toast--error .biz-toast-icon { color: var(--danger-ink); }
.biz-toast-close { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--fill); color: var(--label-2); }
.biz-toast-close .biz-icon { width: 14px; height: 14px; stroke-width: 2.4; }
@keyframes biz-toast-in { from { opacity: 0; transform: translateY(-14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes biz-toast-out { to { opacity: 0; transform: translateY(-10px) scale(0.98); visibility: hidden; } }

.biz-tabbar { display: none; }

.biz-preview { --phone-scale: 0.76; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.biz-preview-head { display: flex; align-items: flex-start; gap: 10px; width: calc(390px * var(--phone-scale) + 22px); padding: 0 4px; }
.biz-preview-head img { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; }
.biz-preview-title { display: block; color: var(--label); font-size: 15px; font-weight: 600; line-height: 1.3; }
.biz-preview-text { display: block; margin-top: 2px; color: var(--label-2); font-size: 13px; line-height: 1.4; }
.biz-phone {
  flex-shrink: 0;
  width: calc(390px * var(--phone-scale) + 22px);
  height: calc(844px * var(--phone-scale) + 22px);
  padding: 11px;
  border-radius: 52px;
  background: #1b1b1d;
  box-shadow:
    inset 0 0 0 1.5px #48484c,
    inset 0 0 0 5px #0b0b0c,
    0 0 0 0.5px rgba(0, 0, 0, 0.25),
    0 34px 60px -28px rgba(0, 0, 0, 0.45);
}
.biz-phone-screen { position: relative; isolation: isolate; width: 100%; height: 100%; overflow: hidden; border-radius: 41px; background: var(--app-bg); }
.biz-phone-screen iframe {
  display: block;
  width: 390px;
  height: 844px;
  border: 0;
  background: var(--app-bg);
  transform: scale(var(--phone-scale));
  transform-origin: 0 0;
}
.biz-phone-wait {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--app-bg);
  color: var(--app-faint);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.biz-phone-wait[data-state="ready"] { opacity: 0; visibility: hidden; pointer-events: none; }
.biz-phone-loading::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 12px;
  border: 2px solid var(--app-line);
  border-top-color: var(--app-faint);
  border-radius: 50%;
  animation: biz-spin 0.9s linear infinite;
}
.biz-phone-failed { display: none; max-width: 22ch; }
.biz-phone-wait[data-state="failed"] .biz-phone-loading { display: none; }
.biz-phone-wait[data-state="failed"] .biz-phone-failed { display: block; }
@keyframes biz-spin { to { transform: rotate(360deg); } }

.biz-auth { display: flex; flex-direction: column; min-height: 100dvh; }
.biz-auth-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; }
.biz-wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--label); font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.biz-wordmark img { width: 28px; height: 28px; }
.biz-wordmark em { color: var(--label-2); font-style: normal; font-weight: 500; }
.biz-auth-main { display: flex; flex: 1; justify-content: center; padding: clamp(24px, 7vh, 88px) 20px 56px; }
.biz-auth-column { display: flex; flex-direction: column; gap: 26px; width: 100%; max-width: 440px; }
.biz-auth-head { padding-bottom: 4px; text-align: center; }
.biz-auth-mark { display: block; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; box-shadow: 0 12px 28px -12px rgba(0, 60, 57, 0.55), 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.biz-auth-head h1 { font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -0.026em; text-wrap: balance; }
.biz-auth-head p { margin-top: 10px; color: var(--label-2); font-size: 16px; line-height: 1.45; text-wrap: pretty; overflow-wrap: anywhere; }
.biz-auth-switch { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 5px; color: var(--label-2); font-size: 15px; text-align: center; }
.biz-auth-switch a { font-weight: 500; }
.biz-auth-switch a:hover { text-decoration: underline; }
.biz-auth-foot { padding: 20px 24px 28px; color: var(--label-2); font-size: 13px; text-align: center; }
.biz-auth-foot a { font-weight: 500; }
.biz-auth-foot a:hover { text-decoration: underline; }
.biz-option { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; border-radius: var(--r-group); background: var(--surface); }
.biz-option h2 { font-size: 19px; font-weight: 650; letter-spacing: -0.015em; }
.biz-option > p { margin-bottom: 8px; color: var(--label-2); font-size: 15px; line-height: 1.45; }
.biz-option .biz-list { background: var(--canvas); }
.biz-option .biz-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--canvas) inset; }
.biz-code-field { padding: 6px 16px; }
.biz-code {
  width: 100%;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--label);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-align: center;
  text-indent: 0.42em;
  font-variant-numeric: tabular-nums;
}
.biz-code::placeholder { color: var(--label-3); }
.biz-verified { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-group); background: var(--surface); font-size: 15px; line-height: 1.4; }
.biz-location .biz-btn { flex-shrink: 0; }
.biz-application-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 22px 26px; border-radius: var(--r-group); background: var(--surface); text-align: center; }
.biz-application-state .biz-tile { width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; }
.biz-application-state .biz-tile .biz-icon { width: 28px; height: 28px; }
.biz-application-state h2 { font-size: 20px; font-weight: 650; letter-spacing: -0.015em; }
.biz-application-state p { color: var(--label-2); font-size: 15px; line-height: 1.45; }

@media (max-height: 880px) {
  .biz-preview { --phone-scale: 0.68; }
}

@media (max-height: 780px) {
  .biz-preview { --phone-scale: 0.58; }
}

@media (max-width: 1240px) {
  .biz-split, .biz-split--payments { grid-template-columns: minmax(0, 1fr); }
  .biz-split > .biz-split-aside { display: none; }
  .biz-split--payments > .biz-split-aside { position: static; display: block; order: -1; }
}

@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .biz-sidebar { display: none; }
  .biz-workspace { margin-left: 0; }
  .biz-main { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .biz-titlebar { min-height: 52px; padding-top: 8px; padding-bottom: 8px; }
  .biz-titlebar-actions { gap: 8px; }
  .biz-titlebar-actions .biz-status { display: none; }
  .biz-titlebar:has(.biz-titlebar-actions) .biz-titlebar-title { display: none; }
  .biz-heading { padding-bottom: 24px; }
  .biz-heading h1 { font-size: 32px; }
  .biz-stack { gap: 26px; }
  .biz-toasts, .biz-workspace .biz-toasts, .biz-shell .biz-toasts { top: 10px; left: 50%; max-width: calc(100vw - 24px); }
  .biz-tabbar {
    position: fixed;
    z-index: 40;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 50%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    width: min(440px, calc(100vw - 24px));
    padding: 5px;
    border-radius: 999px;
    background: var(--glass);
    -webkit-backdrop-filter: saturate(1.8) blur(24px);
    backdrop-filter: saturate(1.8) blur(24px);
    box-shadow: var(--shadow-float), inset 0 0.5px 0 var(--glass-edge);
    transform: translateX(-50%);
  }
  .biz-tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    padding: 7px 2px 6px;
    border-radius: 999px;
    color: var(--label);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .biz-tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .biz-tabbar .biz-icon { width: 24px; height: 24px; stroke-width: 1.8; }
  .biz-tabbar a[aria-current="page"] { background: var(--fill); color: var(--tint); }
  .biz-chips { flex-wrap: nowrap; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; overflow-x: auto; scrollbar-width: none; }
  .biz-chips::-webkit-scrollbar { display: none; }
  .biz-menu-category-head h2 { font-size: 24px; }
  .biz-sheet { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .biz-sheet[open] { animation: biz-sheet-up 0.4s cubic-bezier(0.2, 0.9, 0.25, 1); }
  .biz-sheet-body { padding: 18px 16px calc(28px + env(safe-area-inset-bottom)); }
  @keyframes biz-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
}

@media (max-width: 560px) {
  .biz-demo-note .biz-row { flex-wrap: wrap; align-items: flex-start; row-gap: 12px; }
  .biz-demo-note .biz-row-main { flex: 1 1 calc(100% - 42px); }
  .biz-demo-note .biz-btn { margin-left: 42px; }
  .biz-field input, .biz-field select, .biz-field textarea { font-size: 17px; }
  .biz-field-label { font-size: 17px; }
  .biz-field:not(.biz-field--inline, .biz-field--toggle) { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .biz-field:not(.biz-field--inline, .biz-field--toggle) .biz-field-label { padding: 11px 0 0; color: var(--label-2); font-size: 13px; }
  .biz-field:not(.biz-field--inline, .biz-field--toggle) input, .biz-field:not(.biz-field--inline, .biz-field--toggle) select { padding: 4px 0 12px; }
  .biz-field:not(.biz-field--inline, .biz-field--toggle) .biz-select-icon { top: 6px; }
  .biz-field:not(.biz-field--inline, .biz-field--toggle) .biz-field-error { grid-column: 1; margin-top: -4px; }
  .biz-field--inline { grid-template-columns: auto minmax(0, 1fr); }
  .biz-field--toggle { grid-template-columns: minmax(0, 1fr) auto; }
  .biz-row { font-size: 17px; }
  .biz-row-value { max-width: 55%; }
  .biz-photo { flex-wrap: wrap; row-gap: 10px; font-size: 17px; }
  .biz-photo:not(.biz-photo--wide) .biz-photo-text { flex: 1 1 calc(100% - var(--frame) - 14px); }
  .biz-photo:not(.biz-photo--wide) .biz-photo-actions { margin-left: calc(var(--frame) + 14px); }
  .biz-auth-bar { padding: 14px 16px; }
  .biz-auth-head h1 { font-size: 30px; }
  .biz-auth-main { padding-top: 16px; }
}

@media (min-width: 861px) {
  .biz-compact-only { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .biz-sheet[open], .biz-sheet::backdrop { animation: none; }
  .biz-toast { animation: none; }
  .biz-phone-loading::before { animation: none; }
  .biz-photo.is-processing .biz-photo-progress::before { animation: none; }
}
