/* F82.W2 — SupportPanel: iframe-host готового кабинета Support. Токены tokens.css. */

.sp-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  display: block;
}

.sp-host {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 360px;
  font-family: var(--font-sans);
  color: var(--color-text);
}

.sp-empty {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  padding: var(--space-12) var(--space-4); color: var(--color-text-subtle);
  text-align: center;
}
.sp-empty p { margin: 0; font-size: var(--text-sm); }
.sp-error { color: var(--color-status-cancelled); }
.sp-spin { animation: sp-spin 800ms linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }

.sp-btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 550; line-height: 1; cursor: pointer;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-md);
  border: 1px solid var(--color-border); background: var(--color-bg-subtle); color: var(--color-text);
  transition: background 150ms ease-out;
}
.sp-btn:hover { background: var(--color-bg-hover); }

/* F82.W5 — бейдж непрочитанных на вкладке «Поддержка» (модалка + лаунчер убраны). */
.tab .tab-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 4px;
  font-size: 10px; font-weight: 700; line-height: 1;
  background: var(--color-status-cancelled, #ef4444); color: #fff;
  border-radius: var(--radius-full, 999px);
  margin-left: 6px;
}
