@import url('/static/fonts.css');
@import url('/static/tokens.css');
@import url('/static/tokens-app.css');

/* Followbooth: the shared components. Every colour, radius, shadow and font comes from the brand tokens (--fb-*, tokens.css). */

/* ---------- Base ---------- */

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  font: 400 15px/1.45 var(--fb-font-family);
  background: var(--fb-bg);
  color: var(--fb-text);
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a {
  color: var(--fb-primary);
}

/* ---------- Typography ---------- */

.title {
  margin: 0;
  font: 600 28px/1.15 var(--fb-font-family);
  letter-spacing: -0.02em;
}

.h2 {
  margin: 0;
  font: 600 18px var(--fb-font-family);
}

.label {
  font: 500 12px var(--fb-font-family);
  color: var(--fb-text-muted);
}

.mono {
  font-family: var(--fb-font-mono);
}

.muted {
  color: var(--fb-text-muted);
}

.small {
  font-size: 13px;
}

/* ---------- Layout ---------- */

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px calc(84px + env(safe-area-inset-bottom));
}

.page-wide {
  max-width: 1280px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.grow {
  flex: 1;
}

.spacer {
  flex: 1;
}

.hidden {
  display: none !important;
}

.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;
}

/* ---------- Auth (login) ---------- */

.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
}

/* The way to sign in, as a strip over the card, as wide as the card. */
.auth-legal { width: 100%; max-width: 480px; text-align: center; color: var(--fb-text-muted); font-size: 13px; }
.auth-legal a { color: var(--fb-text-muted); }
.auth-legal-note { font-size: 12px; }

.auth-page > .tabs {
  width: 100%;
  max-width: 480px;
  gap: 8px;
  border-bottom: 0;
}

.auth-page > .tabs .filter-chip { flex: 1 1 0; justify-content: center; }

.auth-card {
  width: 100%;
  max-width: 480px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: var(--fb-radius-md);
  background: transparent;
  color: var(--fb-text);
  font: 500 15px var(--fb-font-family);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  opacity: 0.78;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn:focus-visible {
  outline: none;
  border: 1px solid var(--fb-primary);
  box-shadow: 0 0 0 3px var(--fb-primary-soft);
}

.btn-primary {
  height: 52px;
  background: var(--fb-primary);
  color: var(--fb-on-primary);
}

.btn-accent {
  background: var(--fb-primary);
  color: var(--fb-on-primary);
}

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

.btn-text {
  background: transparent;
  color: var(--fb-primary);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
}

/* ---------- Fields ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font: 500 12px var(--fb-font-family);
  color: var(--fb-text-muted);
}

.input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-sm);
  background: var(--fb-surface);
  color: var(--fb-text);
  font: 400 15px var(--fb-font-family);
}

textarea.input {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.input:focus {
  outline: none;
  border: 1.5px solid var(--fb-primary);
  box-shadow: 0 0 0 3px var(--fb-primary-soft);
}

.input.is-error {
  border: 1.5px solid var(--fb-status-error-fg);
}

.field-error {
  margin: 0;
  font-size: 13px;
  color: var(--fb-status-error-fg);
}

.field-hint {
  margin: 0;
  font-size: 13px;
  color: var(--fb-text-muted);
}

.switch {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 44px;
  height: 26px;
  flex: none;
  border: none;
  border-radius: 13px;
  background-color: var(--fb-border);
  background-image: radial-gradient(circle at center, var(--fb-on-primary) 0 10px, transparent 10.5px);
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: 3px center;
  cursor: pointer;
  transition: background-color 0.15s ease, background-position 0.15s ease;
}

.switch:checked {
  background-color: var(--fb-primary);
  background-position: 21px center;
}

.switch:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fb-primary-soft);
}

/* ---------- Badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--fb-surface-sunken);
  color: var(--fb-text-muted);
  font: 500 11px var(--fb-font-family);
  white-space: nowrap;
}

.badge-ok {
  background: var(--fb-status-success-bg);
  color: var(--fb-status-success-fg);
}

.badge-draft {
  background: var(--fb-surface-sunken);
  color: var(--fb-text-muted);
}

.badge-done {
  background: var(--fb-surface-sunken);
  color: var(--fb-text);
}

.badge-err {
  background: var(--fb-status-error-bg);
  color: var(--fb-status-error-fg);
}

.badge-reply {
  background: var(--fb-primary-soft);
  color: var(--fb-primary);
}

.badge-warn {
  background: var(--fb-status-warning-bg);
  color: var(--fb-status-warning-fg);
}

/* ---------- Tabs ---------- */

.tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--fb-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: 10px 0;
  margin-bottom: -1px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--fb-text-muted);
  font: 500 14px var(--fb-font-family);
  cursor: pointer;
  white-space: nowrap;
}

.tab.is-active {
  color: var(--fb-text);
  border-bottom-color: var(--fb-text);
}

/* ---------- Cards & lists ---------- */

.card {
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-md);
  padding: 16px;
}

.card-link {
  display: block;
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-md);
  padding: 16px;
  color: var(--fb-text);
  text-decoration: none;
  cursor: pointer;
}

.card-link:hover {
  border-color: var(--fb-primary);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--fb-surface-sunken);
  color: var(--fb-text);
  font: 500 13px var(--fb-font-family);
}

.divider {
  height: 1px;
  margin: 0;
  border: none;
  background: var(--fb-border);
}

/* ---------- Messages ---------- */

.toast-host {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--fb-text);
  color: var(--fb-bg);
  font: 400 14px var(--fb-font-family);
  box-shadow: var(--fb-shadow-2);
  animation: toast-in 0.2s ease;
}

.toast-ok::before {
  content: '✓';
  color: var(--fb-status-success-fg);
  font-family: var(--fb-font-mono);
}

.toast-err {
  background: var(--fb-status-error-bg);
  color: var(--fb-status-error-fg);
}

.toast-err::before {
  content: '×';
  color: var(--fb-status-error-fg);
  font-family: var(--fb-font-mono);
}

.banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border-left: 3px solid var(--fb-text-muted);
  background: var(--fb-surface);
  color: var(--fb-text);
  font: 400 14px/1.45 var(--fb-font-family);
}

.banner-err {
  border-left-color: var(--fb-status-error-fg);
  background: var(--fb-status-error-bg);
  color: var(--fb-status-error-fg);
}

.banner-warn {
  border-left-color: var(--fb-status-warning-fg);
  background: var(--fb-status-warning-bg);
  color: var(--fb-status-warning-fg);
}

.banner-ok {
  border-left-color: var(--fb-status-success-fg);
  background: var(--fb-status-success-bg);
  color: var(--fb-status-success-fg);
}

/* ---------- States (7a–7d) ---------- */

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 48px 24px;
  text-align: center;
}

.loading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fb-primary);
  font: 500 12px var(--fb-font-family);
}

.loading::before {
  content: '✻';
  display: inline-block;
  animation: spin 2s linear infinite;
}

.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
}

.error-state::before {
  content: '×';
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--fb-status-error-bg);
  color: var(--fb-status-error-fg);
  font: 500 20px var(--fb-font-family);
  line-height: 1;
}

.skeleton {
  background: var(--fb-surface-sunken);
  border-radius: 8px;
  animation: shimmer 1.4s ease-in-out infinite;
}

/* ---------- Action bar ---------- */

.actionbar {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: var(--fb-bg);
  border-top: 1px solid var(--fb-border);
}

/* ---------- Modal sheet ---------- */

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--fb-scrim);
}

.sheet {
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  background: var(--fb-bg);
  color: var(--fb-text);
  border-radius: 20px 20px 0 0;
}

.sheet-handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 2px;
  background: var(--fb-border);
}

.sheet-title {
  margin: 0 0 12px;
  font: 600 18px var(--fb-font-family);
}

@media (min-width: 700px) {
  .sheet-backdrop {
    align-items: center;
    padding: 24px;
  }

  .sheet {
    max-width: 520px;
    border-radius: 16px;
  }
}

/* ---------- Table (desktop, 5a) ---------- */

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font: 400 14px var(--fb-font-family);
}

.table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--fb-border);
  color: var(--fb-text-muted);
  font: 500 11px var(--fb-font-family);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: left;
  white-space: nowrap;
}

.table td {
  padding: 12px;
  border-bottom: 1px solid var(--fb-border);
}

.table tbody tr:hover {
  background: var(--fb-surface);
}

@media (max-width: 699px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 700px) {
  .show-mobile {
    display: none !important;
  }
}

/* ---------- Utilities ---------- */

.accent {
  color: var(--fb-primary);
}

.ok {
  color: var(--fb-status-success-fg);
}

.err {
  color: var(--fb-status-error-fg);
}

.nowrap {
  white-space: nowrap;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Animations ---------- */

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ---------- Touch targets (mobile) ----------
   Interactive controls keep at least a 48×48px hit area on phones while the
   small visuals (the 14px .btn-sm label, the 44×26 switch track) stay intact. */

@media (max-width: 699px) {
  .btn-sm {
    min-height: 48px;
  }

  .tab {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  .switch {
    width: 48px;
    height: 48px;
    padding: 11px 2px;
    /* Compensate the asymmetric padding so the clipped content-box background
       still reads as the 44×26 pill: 13px radius + 2px/11px offsets. */
    border-radius: 15px / 24px;
    background-origin: content-box;
    background-clip: content-box;
  }
}

/* ---------- Legacy shims ----------
   Kept so pages not yet migrated to the design system (admin, scan, public
   form, brochures) stay usable until their own tickets restyle them. */

/* The new `.label` is a typography utility, but form.html and scan.html still
   use <label class="label"><span>Caption</span><input> as a stacked field
   container. Restore that container layout for `<label>` elements only so the
   standalone typography `<div class="label">` in the styleguide is unaffected. */
label.label {
  display: block;
  margin-bottom: 12px;
}

label.label > span {
  display: block;
  margin-bottom: 6px;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.error {
  color: var(--fb-status-error-fg);
}

.hint {
  color: var(--fb-text-muted);
  font-size: 13px;
}

.btn-danger {
  color: var(--fb-status-error-fg);
  border: 1px solid var(--fb-status-error-fg);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
}

.form-container {
  max-width: 560px;
}

.form-header {
  text-align: center;
  margin-bottom: 16px;
}

.form-header img {
  max-width: 180px;
  max-height: 90px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--fb-border);
  background: var(--fb-bg);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
}

.grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 560px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

.event-card {
  display: block;
  text-decoration: none;
  color: var(--fb-text);
}

.event-card:hover {
  border-color: var(--fb-primary);
}

.event-card h3 {
  margin: 0 0 4px;
}

.event-card p {
  margin: 2px 0;
}

.drop {
  padding: 18px;
  border: 2px dashed var(--fb-border);
  border-radius: var(--fb-radius-md);
  text-align: center;
}

.drop-active {
  border-color: var(--fb-primary);
}

.file-list,
.sender-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.file-item,
.sender-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.file-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.file-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--fb-text);
}

.file-link:hover {
  border-color: var(--fb-primary);
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.recording {
  border-color: var(--fb-status-error-fg);
  color: var(--fb-status-error-fg);
}

.logo-preview {
  max-width: 160px;
  max-height: 80px;
}

.photo-preview {
  max-width: 100%;
  max-height: 320px;
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-md);
}

input[type="color"].input {
  width: 76px;
  padding: 4px;
}

.filters {
  display: grid;
  gap: 10px;
}

.lead-cards {
  display: grid;
  gap: 10px;
}

.lead-card p {
  margin: 2px 0;
}

.lead-fields {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin: 10px 0;
}

.lead-fields dt {
  color: var(--fb-text-muted);
}

.lead-row {
  cursor: pointer;
}

.table-wide {
  display: none;
}

.table-narrow {
  display: block;
}

@media (min-width: 700px) {
  .table-wide {
    display: block;
  }

  .table-narrow {
    display: none;
  }
}

.tab.active {
  color: var(--fb-text);
  border-bottom-color: var(--fb-text);
}

.field-check { display: flex; gap: 8px; align-items: flex-start; }


/* ---------- Followbooth brand: logo, status, grade and channel badges, buttons, banners (8001) ---------- */

html, body { font-variant-numeric: var(--fb-font-tabular); }
:focus-visible { outline: 2px solid var(--fb-focus); outline-offset: 2px; }

.fb-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--fb-text); text-decoration: none; }
.fb-logo-wrap { margin-bottom: var(--fb-space-3); }
.fb-mark { flex: none; color: var(--fb-text); }
.fb-mark-fill { fill: var(--fb-accent); }
.fb-logo-word { font: 600 20px/1 var(--fb-font-family); letter-spacing: -0.03em; color: var(--fb-text); }
.fb-logo-booth { color: var(--fb-primary); }
.fb-icon { flex: none; vertical-align: middle; }

/* Status: five tones, always a text label next to the colour. */
.fb-status { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 10px; border-radius: var(--fb-radius-pill); font: 500 12px/1.3 var(--fb-font-family); white-space: nowrap; background: var(--fb-status-neutral-bg); color: var(--fb-status-neutral-fg); }
.fb-status--info { background: var(--fb-status-info-bg); color: var(--fb-status-info-fg); }
.fb-status--success { background: var(--fb-status-success-bg); color: var(--fb-status-success-fg); }
.fb-status--error { background: var(--fb-status-error-bg); color: var(--fb-status-error-fg); }
.fb-status--warning { background: var(--fb-status-warning-bg); color: var(--fb-status-warning-fg); }

/* Grades: the letter and the fill tell A, B, C and N apart, not a traffic light. */
.fb-grade { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: var(--fb-radius-xs); font: 600 14px/1 var(--fb-font-family); border: 1px solid transparent; }
.fb-grade--a { background: var(--fb-grade-a-bg); color: var(--fb-grade-a-fg); }
.fb-grade--b { background: var(--fb-grade-b-bg); color: var(--fb-grade-b-fg); }
.fb-grade--c { background: var(--fb-grade-c-bg); color: var(--fb-grade-c-fg); }
.fb-grade--n { background: var(--fb-grade-n-bg); color: var(--fb-grade-n-fg); border-color: var(--fb-border); }

/* Channels: an icon and a name, never the channel's own brand colours. */
.fb-channel { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 10px 2px 8px; border-radius: var(--fb-radius-pill); font: 500 12px/1.3 var(--fb-font-family); background: var(--fb-channel-api-bg); color: var(--fb-channel-api-fg); }
.fb-channel--whatsapp { background: var(--fb-channel-whatsapp-bg); color: var(--fb-channel-whatsapp-fg); }
.fb-channel--email { background: var(--fb-channel-email-bg); color: var(--fb-channel-email-fg); }
.fb-channel--telegram { background: var(--fb-channel-telegram-bg); color: var(--fb-channel-telegram-fg); }

/* Buttons: primary (sage), secondary, ghost, danger. The old .btn names keep working. */
.btn-primary:hover { background: var(--fb-primary-hover); }
.btn-ghost { background: transparent; color: var(--fb-primary); border: 1px solid transparent; }
.btn-ghost:hover { background: var(--fb-primary-soft); }
.btn-danger { background: var(--fb-status-error-fg); color: var(--fb-surface); border: 1px solid transparent; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--fb-border); border-radius: var(--fb-radius-pill); background: transparent; color: var(--fb-text); font: 500 14px var(--fb-font-family); white-space: nowrap; cursor: pointer; }
.chip.is-active, .filter-chip.is-active { background: var(--fb-primary-soft); color: var(--fb-primary); border-color: var(--fb-primary); }
.theme-switch { display: inline-flex; align-items: center; gap: 8px; }
.fb-theme-select { height: 40px; width: auto; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* Interface language switcher: a drop-down of EN / RU / CS / DE / ES / FR (web/i18n.js) */
.lang-switch { appearance: none; -webkit-appearance: none; border: 1px solid var(--fb-border); border-radius: var(--fb-radius-pill); background-color: var(--fb-surface); background-image: linear-gradient(45deg, transparent 50%, var(--fb-text-muted) 50%), linear-gradient(135deg, var(--fb-text-muted) 50%, transparent 50%); background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; color: var(--fb-text); font: 600 12px var(--fb-font-family); letter-spacing: 0.05em; min-height: 32px; padding: 0 28px 0 12px; cursor: pointer; }
.lang-switch:hover { border-color: var(--fb-primary); }
.lang-switch:focus-visible { outline: 2px solid var(--fb-focus); outline-offset: 1px; }
.auth-lang { width: 100%; max-width: 480px; display: flex; justify-content: flex-end; }
.topbar-lang { display: inline-flex; }
.scan-lang { float: right; margin-left: auto; }

/* Launch flow: provider buttons, the "or with email" divider, the phone row and the completion step (signup, login, welcome). */
.launch-social { display: flex; flex-direction: column; gap: 12px; }
.launch-providers { display: grid; gap: 8px; }
.launch-providers:empty { display: none; }
.launch-provider { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.provider-icon { width: 20px; height: 20px; flex: none; }
.launch-telegram { display: flex; justify-content: center; min-height: 40px; }
.launch-legal { margin: 0; }
.launch-divider { display: flex; align-items: center; gap: 12px; color: var(--fb-text-muted); font-size: 13px; }
.launch-divider::before, .launch-divider::after { content: ''; flex: 1 1 0; height: 1px; background: var(--fb-border); }
.launch-phone { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 8px; }
.launch-notice { width: 100%; max-width: 480px; margin: 0; text-align: center; }
.launch-signout { color: var(--fb-text-muted); font-size: 13px; }
@media (max-width: 380px) { .launch-phone { grid-template-columns: 1fr; } }

.signup-benefits { margin: 0; padding-left: 20px; color: var(--fb-text-muted); font-size: 14px; display: grid; gap: 4px; }

/* ---------- Promoter pages (registration, PIN) ---------- */
.pj-card { max-width: 600px; width: 100%; }
.pj-block { border: 0; padding: 0; margin: 0; }
.pj-block legend { padding: 0; margin-bottom: 8px; }
.pj-ex { padding: 12px; border: 1px solid var(--fb-border); border-radius: var(--fb-radius-sm); }
.pj-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
