.sa-sub-user-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-inline-start: auto;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
}
.sa-sub-user-delete.is-blocked {
  color: var(--text-tertiary);
  cursor: not-allowed;
  opacity: .55;
}
.sa-sub-user-delete:not(.is-blocked):hover {
  border-color: color-mix(in srgb, var(--danger, #dc2626) 30%, transparent);
  background: color-mix(in srgb, var(--danger, #dc2626) 10%, transparent);
  color: var(--danger, #dc2626);
}
.sa-staff-row {
  border-bottom: 1px solid var(--border-subtle);
}
.sa-staff-row:last-child { border-bottom: 0; }
.sa-staff-row > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
}
.sa-staff-row > summary::-webkit-details-marker { display: none; }
.sa-staff-row[open] > summary { background: var(--surface-subtle); }
.sa-staff-open {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 650;
}
.sa-staff-row[open] .sa-staff-open > svg:last-child { transform: rotate(180deg); }
.sa-staff-identity { display: grid; min-width: 0; }
.sa-staff-identity strong { color: var(--text-primary); font-size: 13px; }
.sa-staff-identity span { overflow: hidden; color: var(--text-tertiary); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sa-staff-count { color: var(--text-tertiary); font-size: 12px; }
.sa-staff-editor {
  padding: 18px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-subtle);
}
.sa-staff-owner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sa-staff-owner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.sa-staff-owner strong {
  color: var(--text-primary);
  font-size: 13px;
}
.sa-staff-owner p {
  margin: 3px 0 0;
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1.5;
}
.sa-staff-active { display: flex; align-items: center; gap: 8px; padding-top: 24px; color: var(--text-secondary); font-size: 13px; }
.sa-permission-groups { display: grid; gap: 10px; }
.sa-permission-group {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  background: var(--surface);
}
.sa-permission-group legend { padding: 0 5px; color: var(--text-secondary); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sa-permission-group label { display: flex; align-items: flex-start; gap: 9px; color: var(--text-secondary); font-size: 12px; line-height: 1.35; }
.sa-permission-group label span { display: grid; gap: 1px; }
.sa-permission-group label strong { font-weight: 600; }
.sa-permission-group label small { color: var(--text-tertiary); font-family: ui-monospace, monospace; font-size: 10px; }
@media (max-width: 700px) {
  .sa-staff-row > summary { grid-template-columns: auto minmax(0, 1fr) auto; }
  .sa-staff-row > summary .sa-staff-count,
  .sa-staff-row > summary .prod-badge { display: none; }
}
/* SuperAdmin pricing section — Blade port of the pricing card layout */

.sa-pricing {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.sa-pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.sa-pricing-head-copy {
  max-width: 36rem;
}

.sa-pricing-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.sa-pricing-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.sa-pricing-sub {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-tertiary);
}

.sa-pricing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sa-freq {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  background: color-mix(in srgb, var(--bg-elevated, var(--bg-surface)) 88%, var(--text-primary));
}

.sa-freq-btn {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--text-secondary);
  border-radius: 999px;
  text-transform: capitalize;
  transition: color 120ms ease;
}

.sa-freq-btn.is-active {
  color: var(--accent-fg, #fff);
  background: var(--accent);
}

.sa-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .sa-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .sa-pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sa-pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  background: var(--bg-surface);
  overflow: hidden;
}

.sa-pcard.is-popular {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border-default));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}

.sa-pcard.is-inactive {
  opacity: 0.65;
}

.sa-pcard-top {
  position: relative;
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-elevated, var(--bg-surface)) 70%, transparent);
}

.sa-pcard.is-popular .sa-pcard-top {
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-surface));
}

.sa-pcard-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  z-index: 1;
}

.sa-pcard-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
}

.sa-pcard-badge.is-accent {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-fg, #fff);
}

.sa-pcard-name {
  margin: 0;
  padding-right: 88px;
  font-size: 16px;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.25;
}

.sa-pcard-info {
  margin: 4px 0 0;
  padding-right: 72px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.sa-pcard-price {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.sa-pcard-amount {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.sa-pcard-period {
  font-size: 13px;
  color: var(--text-tertiary);
}

.sa-pcard-limits {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

.sa-pcard-limits span + span::before {
  content: "·";
  margin: 0 6px;
  color: var(--text-tertiary);
}

.sa-pcard-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px;
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--text-secondary);
}

.sa-pcard.is-popular .sa-pcard-body {
  background: color-mix(in srgb, var(--accent) 3%, transparent);
}

.sa-pcard-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.sa-pcard-feature-icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  color: var(--text-primary);
}

.sa-pcard-feature-text {
  min-width: 0;
}

.sa-pcard-feature-text.has-tip {
  border-bottom: 1px dashed color-mix(in srgb, var(--text-tertiary) 55%, transparent);
  cursor: help;
  width: fit-content;
}

.sa-pcard-foot {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
}

.sa-pcard.is-popular .sa-pcard-foot {
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-surface));
}

.sa-pcard-foot .pos-btn {
  width: 100%;
  justify-content: center;
}

.sa-pcard-meta {
  margin-bottom: 8px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-tertiary);
}

/* ── Plan editor ─────────────────────────────────────────────── */

.sa-plan-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (min-width: 1100px) {
  .sa-plan-editor {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

.sa-plan-editor-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.sa-plan-editor-side {
  position: sticky;
  top: 12px;
}

/* ── Promotion editor ────────────────────────────────────────── */

.sa-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.sa-promo-plans {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.sa-promo-scopes {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sa-promo-plan {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  background: var(--bg-surface);
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}

.sa-promo-plan:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border-default));
  background: color-mix(in srgb, var(--accent) 4%, var(--bg-surface));
}

/* `.is-on` is the server-rendered state; `:has()` keeps the card in sync
   as the superadmin ticks boxes without a page reload. */
.sa-promo-plan.is-on,
.sa-promo-plan:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, var(--bg-surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}

.sa-promo-plan:has(input:focus-visible) {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.sa-promo-plan:has(input:checked) .sa-promo-plan-copy strong {
  color: var(--accent);
}

.sa-promo-plan input {
  margin-top: 1px;
  flex-shrink: 0;
}

.sa-promo-plan-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sa-promo-plan-copy strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.sa-promo-plan-copy small {
  font-size: 11.5px;
  color: var(--text-tertiary);
}

.sa-promo-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  background: var(--bg-subtle, color-mix(in srgb, var(--text-primary) 4%, var(--bg-surface)));
  box-shadow: inset 0 0 0 1px var(--border-subtle);
}

.sa-promo-note svg { flex-shrink: 0; margin-top: 1px; }

.sa-promo-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-tertiary);
}

.sa-promo-refs {
  margin: 0;
  display: grid;
  gap: 12px;
}

.sa-promo-refs dt {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 3px;
}

.sa-promo-refs dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .sa-promo-scopes { grid-template-columns: 1fr; }
}

.sa-mod-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 720px) {
  .sa-mod-grid { grid-template-columns: 1fr 1fr; }
}

.sa-mod-grid-api {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .sa-mod-grid-api { grid-template-columns: 1fr 1fr; }
}

.sa-plan-api-card {
  border-color: color-mix(in srgb, #d97706 22%, var(--border-default));
}
.sa-plan-api-card .card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.sa-plan-api-card .sa-mod.is-on {
  border-color: color-mix(in srgb, #d97706 40%, var(--border-default));
  background: color-mix(in srgb, #fff7ed 55%, var(--bg-surface));
}

.sa-mod {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  background: var(--bg-surface);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.sa-mod:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border-default));
}

.sa-mod.is-on {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border-default));
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}

.sa-mod input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sa-mod-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border-default);
  background: var(--bg-surface);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: transparent;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.sa-mod.is-on .sa-mod-check {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-fg, #fff);
}

.sa-mod-title {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.3;
}

.sa-mod-desc {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.sa-plan-preview-note {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.sa-active-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  background: var(--bg-surface);
}

.sa-active-switch-copy {
  min-width: 0;
}

.sa-active-switch-title {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text-primary);
}

.sa-active-switch-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.sa-switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.sa-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sa-switch-track {
  display: block;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--border-default);
  transition: background 140ms ease;
  cursor: pointer;
}

.sa-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 18%);
  transition: transform 140ms ease;
}

.sa-switch input:checked + .sa-switch-track {
  background: var(--accent);
}

.sa-switch input:checked + .sa-switch-track::after {
  transform: translateX(18px);
}

.sa-mod-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.sa-mod-count {
  font-size: 12.5px;
  color: var(--text-tertiary);
}

.sa-mod-count strong {
  color: var(--text-primary);
  font-weight: 650;
}

/* ── Plan editor hero header ─────────────────────────────────── */

.sa-plan-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent) 8%, var(--bg-surface)) 0%,
      var(--bg-surface) 42%,
      var(--bg-surface) 100%
    );
}

.sa-plan-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 320px;
}

.sa-plan-hero-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.sa-plan-hero-back:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.sa-plan-hero-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-surface));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}

.sa-plan-hero-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.sa-plan-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.sa-plan-hero-crumb {
  font-size: 12px;
  font-weight: 550;
  color: var(--text-tertiary);
  text-decoration: none;
}

.sa-plan-hero-crumb:hover {
  color: var(--accent);
}

.sa-plan-hero-sep {
  color: var(--text-tertiary);
  opacity: 0.55;
  font-size: 12px;
}

.sa-plan-hero-key {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.sa-plan-hero-title {
  margin: 0;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.sa-plan-hero-sub {
  margin: 6px 0 0;
  max-width: 42rem;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.sa-plan-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.sa-plan-hero-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-surface) 82%, transparent);
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.3;
}

.sa-plan-hero-chip strong {
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.sa-plan-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .sa-plan-hero {
    padding: 14px;
  }
  .sa-plan-hero-actions {
    width: 100%;
  }
  .sa-plan-hero-actions .pos-btn {
    flex: 1 1 auto;
  }
  .sa-plan-hero-title {
    font-size: 20px;
  }
}

/* Shared page hero (aliases of plan hero) */
.sa-page-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; padding: 16px 18px; border: 1px solid var(--border-subtle); border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--bg-surface)) 0%, var(--bg-surface) 42%, var(--bg-surface) 100%); }
.sa-page-hero-main { display: flex; align-items: flex-start; gap: 12px; min-width: 0; flex: 1 1 320px; }
.sa-page-hero-mark { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg-surface)); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.sa-page-hero-copy { min-width: 0; flex: 1 1 auto; }
.sa-page-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.sa-page-hero-crumb { font-size: 12px; font-weight: 550; color: var(--text-tertiary); text-decoration: none; }
.sa-page-hero-crumb:hover { color: var(--accent); }
.sa-page-hero-sep { color: var(--text-tertiary); opacity: 0.55; font-size: 12px; }
.sa-page-hero-key { font-size: 11.5px; color: var(--text-secondary); }
.sa-page-hero-title { margin: 0; font-size: 24px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; color: var(--text-primary); }
.sa-page-hero-sub { margin: 6px 0 0; max-width: 42rem; font-size: 13px; line-height: 1.45; color: var(--text-secondary); }
.sa-page-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sa-page-hero-chip { display: inline-flex; align-items: baseline; gap: 5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border-subtle); background: color-mix(in srgb, var(--bg-surface) 82%, transparent); font-size: 12px; color: var(--text-tertiary); line-height: 1.3; }
.sa-page-hero-chip strong { font-weight: 700; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.sa-page-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; flex-shrink: 0; }
@media (max-width: 720px) {
  .sa-page-hero { padding: 14px; }
  .sa-page-hero-actions { width: 100%; }
  .sa-page-hero-actions .pos-btn { flex: 1 1 auto; }
  .sa-page-hero-title { font-size: 20px; }
}

/* ── SMTP provider presets ───────────────────────────────────── */

.sa-smtp-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .sa-smtp-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .sa-smtp-presets { grid-template-columns: 1fr; }
}

.sa-smtp-preset {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.sa-smtp-preset:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border-default));
  background: color-mix(in srgb, var(--accent) 4%, var(--bg-surface));
}

.sa-smtp-preset.is-active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-surface));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
}

.sa-smtp-preset-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.sa-smtp-preset.is-active .sa-smtp-preset-mark {
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-surface));
  color: var(--accent);
}

.sa-smtp-preset-mark--gmail { color: #EA4335; }
.sa-smtp-preset-mark--outlook { color: #0078D4; }
.sa-smtp-preset-mark--hostinger { color: #673DE6; }

.sa-smtp-preset-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sa-smtp-preset-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--text-primary);
}

.sa-smtp-preset-meta {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sa-smtp-hint {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.sa-smtp-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.sa-smtp-summary > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sa-smtp-summary dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.sa-smtp-summary dd {
  margin: 0;
  font-size: 13px;
  color: var(--text-primary);
}

/* ── SMS gateway presets ─────────────────────────────────────── */

.sa-sms-presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.sa-sms-preset-mark--ugsms { color: #0F766E; }
.sa-sms-preset-mark--egosms { color: #C2410C; }
.sa-sms-preset-mark--wizasms { color: #1D4ED8; }
.sa-sms-preset-mark--africastalking { color: #F59E0B; }
.sa-sms-preset-mark--twilio { color: #F22F46; }
.sa-sms-preset-mark--vonage { color: #871FFF; }
.sa-sms-preset-mark--custom { color: var(--text-secondary); }

/* ── Payment gateways (SuperAdmin) ───────────────────────────── */

.sa-gw-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sa-gw-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

@media (max-width: 960px) {
  .sa-gw-layout { grid-template-columns: 1fr; }
}

.sa-gw-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 16px;
}

@media (max-width: 960px) {
  .sa-gw-rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sa-gw-rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.sa-gw-rail-item:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border-default));
  background: color-mix(in srgb, var(--accent) 4%, var(--bg-surface));
}

.sa-gw-rail-item.is-active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-surface));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}

.sa-gw-rail-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.sa-gw-rail-item--stripe .sa-gw-rail-mark { color: #635BFF; background: color-mix(in srgb, #635BFF 12%, transparent); }
.sa-gw-rail-item--paystack .sa-gw-rail-mark { color: #0BA4DB; background: color-mix(in srgb, #0BA4DB 12%, transparent); }
.sa-gw-rail-item--flutterwave .sa-gw-rail-mark { color: #F5A623; background: color-mix(in srgb, #F5A623 14%, transparent); }
.sa-gw-rail-item--razorpay .sa-gw-rail-mark { color: #0C2451; background: color-mix(in srgb, #0C2451 10%, transparent); }
.dark .sa-gw-rail-item--razorpay .sa-gw-rail-mark { color: #93C5FD; }

.sa-gw-rail-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.sa-gw-rail-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--text-primary);
}

.sa-gw-rail-meta {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: capitalize;
}

.sa-gw-pane-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.sa-gw-pane-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sa-gw-pane-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-surface));
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
}

.sa-gw-pane-brand--stripe .sa-gw-pane-brand-mark { color: #635BFF; background: color-mix(in srgb, #635BFF 12%, transparent); border-color: color-mix(in srgb, #635BFF 18%, transparent); }
.sa-gw-pane-brand--paystack .sa-gw-pane-brand-mark { color: #0BA4DB; background: color-mix(in srgb, #0BA4DB 12%, transparent); border-color: color-mix(in srgb, #0BA4DB 18%, transparent); }
.sa-gw-pane-brand--flutterwave .sa-gw-pane-brand-mark { color: #F5A623; background: color-mix(in srgb, #F5A623 14%, transparent); border-color: color-mix(in srgb, #F5A623 20%, transparent); }
.sa-gw-pane-brand--razorpay .sa-gw-pane-brand-mark { color: #0C2451; background: color-mix(in srgb, #0C2451 10%, transparent); border-color: color-mix(in srgb, #0C2451 16%, transparent); }
.dark .sa-gw-pane-brand--razorpay .sa-gw-pane-brand-mark { color: #93C5FD; }

.sa-gw-pane-title {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.sa-gw-pane-sub {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.sa-gw-hint {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--accent) 5%, var(--bg-surface));
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.sa-gw-mode {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-elevated);
  max-width: 280px;
}

.sa-gw-mode-opt {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.sa-gw-mode-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sa-gw-mode-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 120ms ease, color 120ms ease;
}

.sa-gw-mode-opt input:checked + span {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 1px 2px color-mix(in srgb, #000 8%, transparent);
}

.sa-gw-mode-opt:hover span {
  color: var(--text-primary);
}

/* ── Plan edit: admin sidebar preview ────────────────────────── */

.sa-admin-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sa-admin-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.sa-admin-preview-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.sa-admin-mini {
  border: 1px solid var(--border-default);
  border-radius: 14px;
  background: var(--bg-surface);
  overflow: hidden;
  padding: 10px 8px 12px;
}

.sa-admin-mini.is-inactive {
  opacity: 0.55;
}

.sa-admin-mini-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 8px;
}

.sa-admin-mini-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 750;
  font-size: 13px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  flex-shrink: 0;
}

.sa-admin-mini-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.sa-admin-mini-sub {
  font-size: 10.5px;
  color: var(--text-tertiary);
}

.sa-admin-mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 8px 10px;
  font-size: 11px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.sa-admin-mini-section {
  margin-bottom: 6px;
}

.sa-admin-mini-section-label {
  padding: 4px 10px 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.sa-admin-mini-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  margin: 1px 4px;
  transition: background 120ms ease, opacity 120ms ease;
}

.sa-admin-mini-item.is-on {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.sa-admin-mini-item.is-off {
  color: var(--text-tertiary);
  opacity: 0.55;
}

.sa-admin-mini-ico {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: inherit;
}

.sa-admin-mini-item.is-on .sa-admin-mini-ico {
  color: var(--accent);
}

.sa-admin-mini-label {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sa-admin-mini-state {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.sa-admin-mini-item.is-on .sa-admin-mini-state {
  color: var(--success, #15803d);
}

.sa-admin-mini-item.is-off .sa-admin-mini-state {
  color: var(--text-tertiary);
}

.sa-admin-preview-foot {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-tertiary);
}

.sa-stripe-box {
  margin-top: 4px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, #635BFF 22%, var(--border-default));
  background: color-mix(in srgb, #635BFF 5%, var(--bg-surface));
  display: grid;
  gap: 12px;
}
.sa-stripe-box-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sa-stripe-box-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.sa-stripe-box-sub {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-tertiary);
  max-width: 42rem;
}
/* Labels wrap to different line counts, so pin each input to the bottom of
   its grid cell and keep the Stripe fields aligned on one row. */
.sa-stripe-box .field {
  display: flex;
  flex-direction: column;
}
.sa-stripe-box .field .pos-input {
  margin-top: auto;
}

/* ── SuperAdmin dashboard ─────────────────────────────────────── */
.sa-dash { padding-bottom: 40px; }
.sa-dash-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 1100px) {
  .sa-dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sa-dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sa-dash-kpi {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  text-decoration: none;
  color: inherit;
  min-height: 108px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.sa-dash-kpi:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border-default));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--text-primary) 6%, transparent);
  transform: translateY(-1px);
}
.sa-dash-kpi-icon {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--text-primary) 5%, var(--bg-elevated, var(--bg-surface)));
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.sa-dash-kpi-positive .sa-dash-kpi-icon { color: #15803d; background: color-mix(in srgb, #22c55e 12%, var(--bg-surface)); }
.sa-dash-kpi-info .sa-dash-kpi-icon { color: #1d4ed8; background: color-mix(in srgb, #3b82f6 12%, var(--bg-surface)); }
.sa-dash-kpi-warn .sa-dash-kpi-icon { color: #b45309; background: color-mix(in srgb, #f59e0b 14%, var(--bg-surface)); }
.sa-dash-kpi-accent .sa-dash-kpi-icon { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg-surface)); }
.sa-dash-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.sa-dash-kpi-value {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}
.sa-dash-kpi-unit {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
}

.sa-dash-secondary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 1000px) {
  .sa-dash-secondary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .sa-dash-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sa-dash-metric {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-surface) 88%, var(--bg-page));
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sa-dash-metric-label { font-size: 11.5px; color: var(--text-tertiary); font-weight: 600; }
.sa-dash-metric-value { font-size: 18px; font-weight: 750; color: var(--text-primary); letter-spacing: -0.02em; }

.sa-dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
@media (max-width: 960px) {
  .sa-dash-grid { grid-template-columns: 1fr; }
}
.sa-dash-span-2 { grid-column: 1 / -1; }
.sa-dash-card .card-header { align-items: flex-start; }

.sa-dash-bars {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 6px;
  align-items: end;
  height: 160px;
  padding-top: 8px;
}
.sa-dash-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 4px;
  min-width: 0;
}
.sa-dash-bar-fill {
  width: 100%;
  max-width: 28px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 85%, #fff), var(--accent));
  min-height: 2px;
  transition: height .25s ease;
}
.sa-dash-bar-count {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1;
  min-height: 10px;
}
.sa-dash-bar-label {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 600;
}

.sa-dash-plan-list { display: grid; gap: 12px; }
.sa-dash-plan-row { display: grid; gap: 6px; }
.sa-dash-plan-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.sa-dash-plan-name { font-weight: 700; color: var(--text-primary); }
.sa-dash-plan-count { color: var(--text-tertiary); font-weight: 650; }
.sa-dash-plan-track {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-primary) 6%, var(--bg-elevated, var(--bg-surface)));
  overflow: hidden;
}
.sa-dash-plan-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}
.sa-dash-plan-price {
  font-size: 11px;
  color: var(--text-tertiary);
}

.sa-dash-recent { display: grid; gap: 0; padding-top: 0 !important; padding-bottom: 0 !important; }
.sa-dash-recent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
}
.sa-dash-recent > .sa-dash-recent-row:first-child { border-top: 0; }
.sa-dash-recent-copy { flex: 1; min-width: 0; }
.sa-dash-recent-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sa-dash-recent-meta {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.sa-dash-recent-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.sa-dash-recent-date {
  font-size: 11px;
  color: var(--text-tertiary);
}

.sa-dash-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sa-dash-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.sa-dash-quick-link:hover {
  color: var(--text-primary);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border-default));
  background: color-mix(in srgb, var(--accent) 5%, var(--bg-surface));
}

/* ── Subscribers list — identity cell ─────────────────────────
   The first column carries three levels of information: the company,
   its slug/industry, and every user account underneath it. The avatar
   is top-aligned (not centred) because the block grows with the number
   of users, and each user is a two-line row rather than a pill so long
   emails stay readable in a narrow column. */
.sa-sub-id {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 2px 0;
}

.sa-sub-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-surface));
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.sa-sub-main { min-width: 0; }

.sa-sub-name {
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.25;
  color: var(--text-primary);
}

.sa-sub-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--text-tertiary);
}
.sa-sub-slug { font-family: var(--font-mono, ui-monospace, monospace); }
.sa-sub-dot  { opacity: .6; }

/* User accounts under the company. */
.sa-sub-users {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border-inline-start: 2px solid var(--border-subtle);
  padding-inline-start: 9px;
}

.sa-sub-user {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 3px 0;
}

.sa-sub-user-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
}

.sa-sub-user-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sa-sub-user-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.sa-sub-user-mail {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  color: var(--text-tertiary);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sa-sub-user-mail:hover {
  color: var(--accent);
  text-decoration: underline;
}

.sa-sub-owner,
.sa-sub-off {
  flex: 0 0 auto;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  text-transform: uppercase;
}
.sa-sub-owner {
  background: var(--accent-soft);
  color: var(--accent);
}
.sa-sub-off {
  background: var(--bg-hover);
  color: var(--text-tertiary);
}

.sa-sub-users-empty {
  margin-top: 7px;
  font-size: 11px;
  font-style: italic;
  color: var(--text-tertiary);
}
