/* Бронь столов на витрине — визуально как экран брони в приложении. */
html.sfb-lock, html.sfb-lock body { overflow: hidden; }

.sfb[hidden] { display: none !important; }
.sfb {
  position: fixed;
  inset: 0;
  z-index: 55; /* ниже окна входа (.sf-modal = 60) */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
}
.sfb.is-behind { z-index: 50; }
.sfb__backdrop { position: absolute; inset: 0; background: rgba(15, 17, 23, 0.5); }

.sfb-panel {
  position: relative;
  width: 100%;
  max-height: 94vh;
  max-height: 94dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.18);
  animation: sfb-up 0.22s ease-out;
}
@keyframes sfb-up { from { transform: translateY(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }

@media (min-width: 760px) {
  .sfb { align-items: stretch; justify-content: flex-end; }
  .sfb-panel {
    width: 480px;
    max-height: none;
    height: 100%;
    border-radius: 22px 0 0 22px;
    animation: sfb-left 0.22s ease-out;
  }
  @keyframes sfb-left { from { transform: translateX(30px); opacity: 0.6; } to { transform: none; opacity: 1; } }
}

.sfb-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 6px;
  flex-shrink: 0;
}
.sfb-head::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 38px;
  height: 4px;
  margin-left: -19px;
  border-radius: 4px;
  background: #e2e2e6;
}
@media (min-width: 760px) { .sfb-head::before { display: none; } .sfb-head { padding-top: 16px; } }
.sfb-head h2 { flex: 1; margin: 6px 0 0; font-size: 1.2rem; font-weight: 800; }
.sfb-iconbtn {
  width: 38px; height: 38px; margin-top: 6px;
  border: 0; border-radius: 50%;
  background: #f3f3f5; color: #1a1a1a;
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sfb-iconbtn[hidden] { display: none; }

.sfb-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 16px 18px;
}
.sfb-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #f0f0f2;
  background: #fff;
}
.sfb-footer:empty { display: none; }

.sfb-h { margin: 18px 0 8px; font-size: 0.98rem; font-weight: 800; }
.sfb-h__opt { margin-left: 6px; font-size: 0.76rem; font-weight: 600; color: #9a9aa2; }
.sfb-note { margin: 6px 0 0; font-size: 0.8rem; line-height: 1.4; color: #7a7a82; }
.sfb-muted { margin: 4px 0; font-size: 0.88rem; color: #7a7a82; }
.sfb-center { text-align: center; }
.sfb-error {
  margin: 14px 0 0; padding: 10px 12px;
  border-radius: 12px; background: #fdecec; color: #b3261e;
  font-size: 0.86rem; font-weight: 600;
}

.sfb-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sfb-row--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
.sfb-row--scroll::-webkit-scrollbar { display: none; }

.sfb-chip {
  flex-shrink: 0;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 42px; padding: 7px 14px;
  border: 1.5px solid #e6e6ea; border-radius: 14px;
  background: #fff; color: #1a1a1a;
  font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.sfb-chip small { font-size: 0.72rem; font-weight: 600; color: #8a8a92; }
.sfb-chip.is-active { border-color: #222; background: #222; color: #fff; }
.sfb-chip.is-active small { color: rgba(255, 255, 255, 0.75); }
.sfb-chip:disabled { opacity: 0.4; cursor: not-allowed; }

.sfb-stepper {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px; border-radius: 16px; background: #f5f5f7;
}
.sfb-stepper span { font-size: 0.98rem; }
.sfb-stepper button {
  width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: #fff; color: #1a1a1a; font-size: 1.4rem; font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); cursor: pointer;
}
.sfb-stepper button:disabled { opacity: 0.35; cursor: not-allowed; }

.sfb-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.sfb-time {
  height: 44px; border: 1.5px solid #e6e6ea; border-radius: 12px;
  background: #fff; font: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer;
  color: #1a1a1a;
}
.sfb-time.is-active { border-color: var(--sf-btn-bg, #d32f2f); background: var(--sf-btn-bg, #d32f2f); color: var(--sf-btn-text, #fff); }
.sfb-time:disabled { background: #f6f6f8; color: #bbb; border-color: #f0f0f2; text-decoration: line-through; cursor: not-allowed; }

.sfb-zone { margin: 10px 0 6px; font-size: 0.78rem; font-weight: 700; color: #8a8a92; text-transform: uppercase; letter-spacing: 0.03em; }
.sfb-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.sfb-table {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 4px; border: 1.5px solid #e6e6ea; border-radius: 14px;
  background: #fff; color: #1a1a1a; font: inherit; cursor: pointer;
}
.sfb-table b { font-size: 0.95rem; }
.sfb-table small { font-size: 0.72rem; color: #8a8a92; }
.sfb-table.is-active { border-color: #222; background: #222; color: #fff; }
.sfb-table.is-active small { color: rgba(255, 255, 255, 0.75); }
.sfb-table:disabled { opacity: 0.4; cursor: not-allowed; }

.sfb-input {
  width: 100%; box-sizing: border-box;
  padding: 13px 14px; border: 1.5px solid #e6e6ea; border-radius: 14px;
  font: inherit; font-size: 1rem; background: #fff; color: #1a1a1a;
}
.sfb-input:focus { outline: none; border-color: #222; }
.sfb-input--area { margin-top: 8px; resize: vertical; min-height: 58px; font-size: 0.92rem; }

.sfb-rules { margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: #f6f6f8; }
.sfb-rules p { display: flex; gap: 10px; margin: 0; font-size: 0.84rem; line-height: 1.4; color: #44444c; }
.sfb-rules p + p { margin-top: 8px; }
.sfb-ico {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; color: #222; font-size: 0.74rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

.sfb-place { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-top: 10px; border-radius: 16px; background: #f6f6f8; }
.sfb-place__pin { font-size: 1.1rem; }
.sfb-place b { display: block; font-size: 0.95rem; }
.sfb-place small { display: block; font-size: 0.8rem; color: #7a7a82; }

.sfb-summary { padding-bottom: 4px; }
.sfb-summary__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.sfb-summary__grid div { padding: 12px; border: 1.5px solid #efeff2; border-radius: 14px; }
.sfb-summary__grid small { display: block; font-size: 0.74rem; color: #8a8a92; font-weight: 600; }
.sfb-summary__grid b { display: block; margin-top: 2px; font-size: 0.95rem; }
.sfb-summary__grid div:first-child { grid-column: 1 / -1; }
.sfb-summary__comment { margin: 10px 0 0; font-size: 0.88rem; color: #44444c; font-style: italic; }

.sfb-deposit { margin-top: 14px; padding: 14px; border-radius: 16px; background: #fff4f2; border: 1.5px solid #ffd9d2; }
.sfb-deposit__head { display: flex; align-items: center; gap: 10px; }
.sfb-deposit__head img { border-radius: 8px; }
.sfb-deposit__head b { display: block; font-size: 1rem; }
.sfb-deposit__head small { display: block; font-size: 0.8rem; color: #7a7a82; }
.sfb-deposit p { margin: 10px 0 0; font-size: 0.84rem; line-height: 1.4; color: #44444c; }

.sfb-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; border: 0; border-radius: 16px;
  background: var(--sf-btn-bg, #d32f2f); color: var(--sf-btn-text, #fff);
  font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; text-decoration: none;
}
.sfb-cta:disabled { opacity: 0.4; cursor: not-allowed; }
.sfb-cta--kaspi { background: #f14635; color: #fff; }
.sfb-cta--ghost { background: #f3f3f5; color: #1a1a1a; }
.sfb-link { border: 0; background: none; padding: 8px; font: inherit; font-size: 0.9rem; font-weight: 700; color: #7a7a82; cursor: pointer; }

.sfb-pay { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 12px; }
.sfb-pay__logo { border-radius: 14px; }
.sfb-pay__amount { margin-top: 12px; font-size: 2rem; font-weight: 800; }
.sfb-pay__what { margin: 4px 0 0; font-size: 0.88rem; color: #7a7a82; }
.sfb-pay__status { margin: 16px 0 0; padding: 10px 14px; border-radius: 14px; background: #f6f6f8; font-size: 0.9rem; }
.sfb-pay__status.is-warn { background: #fff4e5; color: #7a4a00; }
.sfb-pay__qr { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sfb-pay__qr img { width: 200px; height: 200px; border-radius: 12px; border: 1px solid #eee; }
.sfb-pay__qr small { font-size: 0.8rem; color: #7a7a82; }

.sfb-done { display: flex; flex-direction: column; align-items: center; padding-top: 12px; }
.sfb-done__icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; font-weight: 800; color: #fff;
}
.sfb-done__icon.is-ok { background: #1f9d55; }
.sfb-done__icon.is-bad { background: #c0392b; }
.sfb-done h3 { margin: 12px 0 4px; font-size: 1.2rem; font-weight: 800; }

.sfb-card { margin-top: 12px; padding: 14px; border: 1.5px solid #efeff2; border-radius: 18px; background: #fff; }
.sfb-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sfb-card__table { font-size: 0.82rem; font-weight: 700; color: #44444c; }
.sfb-card__when { margin-top: 8px; font-size: 1.05rem; font-weight: 800; }
.sfb-card__meta { margin-top: 2px; font-size: 0.86rem; color: #7a7a82; }
.sfb-card__hint { margin: 8px 0 0; font-size: 0.86rem; color: #44444c; }
.sfb-card__dep { margin: 8px 0 0; font-size: 0.84rem; font-weight: 600; color: #44444c; }
.sfb-card__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.sfb-badge { padding: 4px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 800; }
.sfb-badge--ok { background: #e3f6ea; color: #1f7a45; }
.sfb-badge--wait { background: #fff4e0; color: #a05a00; }
.sfb-badge--bad { background: #fdecec; color: #b3261e; }
.sfb-badge--muted { background: #f0f0f2; color: #6a6a72; }

.sfb-mini {
  padding: 9px 14px; border: 0; border-radius: 12px;
  background: #222; color: #fff; font: inherit; font-size: 0.84rem; font-weight: 700; cursor: pointer;
}
.sfb-mini--pay { background: #f14635; }
.sfb-mini--ghost { background: #f3f3f5; color: #1a1a1a; }

.sfb-loading { display: flex; justify-content: center; padding: 48px 0; }
.sfb-loading--sm { padding: 16px 0; }
.sfb-spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid #e6e6ea; border-top-color: #222;
  animation: sfb-spin 0.8s linear infinite;
}
.sfb-spinner--light { width: 20px; height: 20px; border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; }
@keyframes sfb-spin { to { transform: rotate(360deg); } }

.sfb-empty { text-align: center; padding: 48px 0 20px; color: #7a7a82; }
.sfb-empty__icon { font-size: 2.4rem; }

/* Вход в бронь на главной витрины — как карточка в приложении */
.sf-booking-entry {
  display: flex; align-items: center; gap: 12px;
  width: 100%; margin: 0.75rem 0 0; padding: 12px 14px;
  border: 0; border-radius: 16px; background: #f5f3ff; color: #1a1a1a;
  font: inherit; text-align: left; cursor: pointer;
}
.sf-booking-entry__icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--sf-accent, #5e4ae3);
}
.sf-booking-entry__icon svg { width: 22px; height: 22px; }
.sf-booking-entry__texts { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sf-booking-entry__texts strong { font-size: 0.96rem; font-weight: 800; }
.sf-booking-entry__texts span { font-size: 0.8rem; color: #6a6a72; }
.sf-booking-entry__chev { width: 20px; height: 20px; color: #9a9aa2; }
.sf-main > .sf-booking-entry { order: 2; }
@media (max-width: 899px) { .sf-main > .sf-booking-entry { order: 1; } }

/* ── Схема зала ── */
.sfb-plan-zones { margin-bottom: 10px; }
.sfb-plan { position: relative; border-radius: 18px; overflow: hidden; background: #F4F1EC; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08); }
.sfb-plan__photo { display: block; width: 100%; height: 120px; object-fit: cover; }
.sfb-plan__map { line-height: 0; }
.sfb-plan .sfp-svg { display: block; width: 100%; height: auto; max-height: 62vh; font-family: inherit; user-select: none; -webkit-user-select: none; }
.sfb-plan .sfp-table { cursor: default; outline: none; }
.sfb-plan .sfp-table--free, .sfb-plan .sfp-table--selected { cursor: pointer; }
.sfb-plan .sfp-table--free:hover > :not(rect[fill="transparent"]) { filter: brightness(.97); }
.sfb-plan .sfp-table:focus-visible { outline: 2px solid var(--sf-btn-bg, #d32f2f); outline-offset: 2px; }
.sfb-plan .sfp-label { pointer-events: none; }
.sfb-plan .sfp-glow { animation: sfpPulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sfpPulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.sfb-plan__hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(20,20,24,.86); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; animation: sfpHint .2s ease-out; }
@keyframes sfpHint { from { opacity: 0; transform: translate(-50%, 6px); } }
.sfb-plan__legend { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 2px 0; font-size: 12px; color: #8a8a8a; }
.sfb-plan__legend span { display: inline-flex; align-items: center; gap: 6px; }
.sfb-plan__legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sfb-plan__legend .is-free { background: #fff; border: 2px solid var(--sf-btn-bg, #d32f2f); }
.sfb-plan__legend .is-busy { background: #EDEDED; border: 2px solid #DADADA; }
.sfb-plan__legend .is-sel { background: var(--sf-btn-bg, #d32f2f); }
.sfb-plan__picked { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 11px 14px; border-radius: 14px; background: color-mix(in srgb, var(--sf-btn-bg, #d32f2f) 9%, #fff); font-weight: 700; font-size: 14px; }
.sfb-plan__picked button { border: 0; background: none; color: var(--sf-btn-bg, #d32f2f); font: inherit; font-size: 13px; cursor: pointer; padding: 0; }
.sfb-plan__picked--empty { background: #F5F5F5; color: #8a8a8a; font-weight: 500; font-size: 13px; }
.sfb-tables--extra { margin-top: 10px; }

/* Предзаказ блюд к брони */
.sfb-pre { margin-top: 14px; padding: 14px; border-radius: 16px; background: #fff; border: 1.5px solid #ececf0; }
.sfb-pre--card { margin-top: 10px; padding: 10px 12px; background: #fff8f1; border-color: #fde3c8; }
.sfb-pre__head { display: flex; justify-content: space-between; gap: 10px; font-size: 0.95rem; }
.sfb-pre p { margin: 6px 0 10px; font-size: 0.84rem; line-height: 1.4; color: #6a6a72; }
.sfb-pre ul { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 8px; }
.sfb-pre li { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; }
.sfb-pre li > span:first-child { flex: 1; min-width: 0; }
.sfb-pre--card ul { margin-bottom: 0; gap: 4px; }
.sfb-pre__qty { display: inline-flex; align-items: center; gap: 6px; background: #f3f3f5; border-radius: 999px; padding: 2px; }
.sfb-pre__qty button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.sfb-pre__sum { width: 74px; text-align: right; font-weight: 700; }
.sfb-pre-cat { margin: 18px 0 8px; font-size: 1rem; font-weight: 800; }
.sfb-pre-cat small { font-size: 0.74rem; font-weight: 600; color: #8a8a92; margin-left: 4px; }
.sfb-pre-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid #f0f0f2; background: none; font: inherit; text-align: left; cursor: pointer; }
.sfb-pre-item img, .sfb-pre-item__ph { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: #f3f3f5; flex-shrink: 0; }
.sfb-pre-item__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sfb-pre-item__txt b { font-size: 0.92rem; }
.sfb-pre-item__txt small { color: #8a8a92; font-size: 0.82rem; }
.sfb-pre-item__add { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 16px; background: #f3f3f5; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.sfb-pre-item__add.is-on { background: #222; color: #fff; }
.sfb-pre-photo { width: 100%; max-height: 220px; object-fit: cover; border-radius: 16px; }

/* ── Стиль как в приложении (booking_ui.dart): серые поля #F2F2F2, акцент — цвет заведения ── */
.sfb { --sfb-chip: #f2f2f2; --sfb-text: #212121; --sfb-muted: #757575; --sfb-line: #eaeaea; --sfb-accent: var(--sf-btn-bg, #d32f2f); }
.sfb-head h2 { font-size: 1.15rem; }
.sfb-h { margin: 18px 0 10px; font-size: 16px; font-weight: 800; color: var(--sfb-text); }
.sfb-content > .sfb-h:first-child { margin-top: 8px; }
.sfb-h__sub { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--sfb-muted); }

.sfb-chip { min-height: 44px; padding: 11px 14px; border: 0; border-radius: 12px; background: var(--sfb-chip); font-size: 14px; color: var(--sfb-text); }
.sfb-chip.is-active { background: #222; color: #fff; }

.sfb-place { margin-top: 8px; padding: 14px 16px; gap: 12px; background: var(--sfb-chip); }
.sfb-place__pin { display: inline-flex; color: #555; }
.sfb-place__pin svg { width: 22px; height: 22px; }
.sfb-place b { font-size: 15px; font-weight: 700; }
.sfb-place small { font-size: 13px; color: var(--sfb-muted); }

.sfb-dates { gap: 8px; }
.sfb-date {
  flex-shrink: 0; width: 58px; height: 66px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 0; border-radius: 14px; background: var(--sfb-chip); color: var(--sfb-text);
  font: inherit; cursor: pointer;
}
.sfb-date.is-wide { width: 76px; }
.sfb-date small { font-size: 12px; font-weight: 600; color: var(--sfb-muted); }
.sfb-date b { font-size: 20px; font-weight: 800; line-height: 1.1; }
.sfb-date.is-active { background: var(--sfb-accent); color: #fff; }
.sfb-date.is-active small { color: rgba(255, 255, 255, 0.85); }
.sfb-date:disabled { background: #fff; box-shadow: inset 0 0 0 1.5px var(--sfb-line); color: #bdbdbd; cursor: not-allowed; }
.sfb-date:disabled small { color: #bdbdbd; }

.sfb-guests { display: flex; gap: 8px; }
.sfb-guest {
  flex: 1; height: 46px; border: 0; border-radius: 12px;
  background: var(--sfb-chip); color: var(--sfb-text);
  font: inherit; font-size: 16px; font-weight: 800; cursor: pointer;
}
.sfb-guest.is-active { background: var(--sfb-accent); color: #fff; }
.sfb-stepper { margin-top: 10px; padding: 4px 6px; border-radius: 12px; background: var(--sfb-chip); }
.sfb-stepper span b { font-size: 16px; font-weight: 800; }
.sfb-stepper button { background: transparent; box-shadow: none; font-size: 1.5rem; }

.sfb-times { grid-template-columns: repeat(4, minmax(0, 1fr)); transition: opacity .15s; }
.sfb-times.is-loading { opacity: .5; }
.sfb-time { border: 0; background: var(--sfb-chip); font-size: 15px; color: var(--sfb-text); }
.sfb-time.is-active { background: var(--sfb-accent); color: #fff; }
.sfb-time:disabled { background: #fff; box-shadow: inset 0 0 0 1.5px #ddd; color: #bbb; text-decoration: line-through; }

.sfb-inote { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--sfb-chip); }
.sfb-inote__ico { flex-shrink: 0; display: inline-flex; color: var(--sfb-muted); }
.sfb-inote__ico svg { width: 20px; height: 20px; }
.sfb-inote p { margin: 0; font-size: 13.5px; line-height: 1.35; color: #424242; }

.sfb-input { border-color: var(--sfb-line); font-size: 15px; }
.sfb-input--area { margin-top: 18px; min-height: 0; resize: none; line-height: 1.4; }

.sfb-footer { border-top: 0; padding-top: 8px; }
.sfb-cta { flex-direction: column; gap: 2px; min-height: 58px; padding: 10px 16px; border-radius: 16px; }
.sfb-cta__label { font-size: 17px; font-weight: 800; }
.sfb-cta__sub { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; opacity: .9; }
.sfb-cta--dark { background: #222; color: #fff; }
.sfb-cta:disabled { opacity: .45; }

.sfb-tables { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.sfb-table { border: 2px solid var(--sfb-accent); border-radius: 14px; padding: 10px 4px; }
.sfb-table b { font-size: 18px; font-weight: 800; }
.sfb-table small { font-size: 11px; color: var(--sfb-muted); }
.sfb-table.is-active { border-color: var(--sfb-accent); background: var(--sfb-accent); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--sfb-accent) 45%, transparent); }
.sfb-table:disabled { opacity: 1; border-color: #dadada; background: #eee; color: #bbb; }
.sfb-plan__legend { margin: 12px 2px 0; font-size: 12.5px; font-weight: 600; color: var(--sfb-muted); }
.sfb-picked { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--sfb-line); background: #fff; }
.sfb-picked > div { flex: 1; min-width: 0; }
.sfb-picked b { display: block; font-size: 16px; font-weight: 800; }
.sfb-picked small { display: block; margin-top: 2px; font-size: 13px; color: var(--sfb-muted); }
.sfb-badge--ok { background: #e8f5e9; color: #2e7d32; }

.sfb-sumcard { margin-top: 6px; padding: 4px 16px; border-radius: 18px; background: var(--sfb-chip); }
.sfb-sumcard__row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e3e3e3; font-size: 14.5px; }
.sfb-sumcard__row:last-child { border-bottom: 0; }
.sfb-sumcard__row > span { flex: 0 0 104px; color: var(--sfb-muted); }
.sfb-sumcard__row > b { flex: 1; min-width: 0; font-weight: 700; color: var(--sfb-text); }
.sfb-sumcard__row--input { align-items: center; padding: 6px 0; }
.sfb-sumcard__row--input input {
  flex: 1; min-width: 0; padding: 8px 10px; border: 1.5px solid transparent; border-radius: 10px;
  background: #fff; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--sfb-text);
}
.sfb-sumcard__row--input input:focus { outline: none; border-color: #222; }

.sfb-deposit { border-radius: 18px; border-width: 1px; }
.sfb-deposit__head img { border-radius: 10px; }
.sfb-deposit__head b { font-size: 16px; font-weight: 800; }

.sfb-rulesblock { margin-top: 16px; }
.sfb-rulesblock p { display: flex; gap: 10px; margin: 0 0 8px; font-size: 13.5px; line-height: 1.4; color: #555; }
.sfb-rulesblock span { flex-shrink: 0; display: inline-flex; color: var(--sfb-muted); }
.sfb-rulesblock svg { width: 18px; height: 18px; }

.sfb-message { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 12px 20px; text-align: center; }
.sfb-message > svg { width: 56px; height: 56px; color: #bdbdbd; margin-bottom: 8px; }
.sfb-message b { font-size: 18px; font-weight: 800; }
.sfb-message p { margin: 0 0 10px; color: var(--sfb-muted); }
