/* CIVE Multired · Paso 8 Studio UI */
:root {
  --bg: #080a0f;
  --bg-elevated: #0f131c;
  --bg-card: #131824;
  --bg-recessed: #0b0e15;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5f9;
  --text-muted: #8f9bb3;
  --text-dim: #5e6a82;
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.16);
  --green: #10b981;
  --green-bright: #22c55e;
  --green-soft: rgba(16, 185, 129, 0.16);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.15);
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.15);
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}

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

[hidden] {
  display: none !important;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.10), transparent 36%),
              radial-gradient(circle at top right, rgba(16, 185, 129, 0.07), transparent 32%),
              var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.45;
  min-height: 100vh;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.app-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* TOPBAR */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: rgba(15, 19, 28, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 10px;
  z-index: 40;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #10b981);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title-row h1 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-accent {
  color: #a78bfa;
}

.version-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.25);
}

.brand-sub {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.artist-picker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.select-input, .text-input {
  background: var(--bg-recessed);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.select-input:focus, .text-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* SEGMENTED MODE SWITCH */
.mode-switch {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-recessed);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  gap: 4px;
}

.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-dry { background: #a78bfa; opacity: 0.5; }
.dot-real { background: #22c55e; opacity: 0.5; }

.mode-btn[data-mode="dry"].is-active {
  background: rgba(139, 92, 246, 0.24);
  color: #ddd6fe;
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.45);
}
.mode-btn[data-mode="dry"].is-active .dot-dry { opacity: 1; }

.mode-btn[data-mode="real"].is-active {
  background: rgba(16, 185, 129, 0.24);
  color: #bbf7d0;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.55);
}
.mode-btn[data-mode="real"].is-active .dot-real {
  opacity: 1;
  box-shadow: 0 0 8px #22c55e;
}

/* PANELS */
.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.panel-highlight {
  border-color: rgba(139, 92, 246, 0.45);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), var(--bg-elevated));
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.panel-header h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin: 3px 0 0;
}

/* ALERTS & TOASTS */
.alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  border: 1px solid transparent;
}

.alert-body {
  white-space: pre-line;
}

.alert-success {
  background: var(--green-soft);
  border-color: rgba(16, 185, 129, 0.4);
  color: #d1fae5;
}

.alert-error {
  background: var(--red-soft);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fecaca;
}

.alert-close {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  padding: 2px 6px;
}
.alert-close:hover { opacity: 1; }

.toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 90;
  max-width: 380px;
}

.toast {
  background: #182032;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 0.85rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  animation: slideUp 0.2s ease-out;
  white-space: pre-line;
}

.toast.toast-ok { border-color: rgba(16, 185, 129, 0.5); }
.toast.toast-error { border-color: rgba(239, 68, 68, 0.55); }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* BUTTONS & PILLS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 650;
  padding: 9px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.16s ease;
  color: var(--text);
  background: #1f2738;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-sm { padding: 7px 11px; font-size: 0.82rem; border-radius: 9px; }
.btn-xs { padding: 5px 10px; font-size: 0.77rem; border-radius: 8px; }

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
}

.btn-secondary {
  background: #1b2232;
  border-color: var(--border-strong);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-muted);
}
.btn-ghost:hover:not(:disabled) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-danger {
  background: #dc2626;
  color: #fff;
}

.btn-danger-soft {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.btn-danger-soft:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.22);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill-muted { background: rgba(255, 255, 255, 0.07); color: var(--text-muted); }
.pill-accent { background: var(--accent-soft); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.35); }
.pill-green { background: var(--green-soft); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.35); }
.pill-amber { background: var(--amber-soft); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.35); }
.pill-red { background: var(--red-soft); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.35); }

/* PLATFORM BRAND TOKENS */
.brand-facebook  { --brand: #2e89ff; --brand-bg: rgba(46, 137, 255, 0.14); --brand-glow: rgba(46, 137, 255, 0.35); }
.brand-instagram { --brand: #ec4899; --brand-bg: rgba(236, 72, 153, 0.14); --brand-glow: rgba(236, 72, 153, 0.35); }
.brand-threads   { --brand: #a855f7; --brand-bg: rgba(168, 85, 247, 0.15); --brand-glow: rgba(168, 85, 247, 0.35); }
.brand-x         { --brand: #38bdf8; --brand-bg: rgba(56, 189, 248, 0.14); --brand-glow: rgba(56, 189, 248, 0.35); }
.brand-youtube   { --brand: #ff3b4e; --brand-bg: rgba(255, 59, 78, 0.14);  --brand-glow: rgba(255, 59, 78, 0.35); }
.brand-tiktok    { --brand: #00e5d4; --brand-bg: rgba(0, 229, 212, 0.14);  --brand-glow: rgba(0, 229, 212, 0.35); }

/* CONNECTED ACCOUNTS GRID */
.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 12px;
}

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand, var(--green));
  border-radius: 13px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.account-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.net-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--brand-bg);
  color: var(--brand);
  flex-shrink: 0;
}

.account-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-identity strong {
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-identity small {
  color: var(--text-muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.connect-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
}

.connect-strip:empty {
  display: none;
}

.connect-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-right: 4px;
}

.btn-connect {
  background: var(--brand-bg);
  border: 1px solid var(--brand);
  color: #fff;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 700;
}

.advanced-box {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.advanced-box summary {
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-dim);
  user-select: none;
}
.advanced-box summary:hover { color: var(--text-muted); }

.advanced-content {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.manual-token-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.manual-token-form .text-input { flex: 1; min-width: 240px; }

/* WORKSPACE 2-COLUMN */
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}

.workspace-grid > .panel {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 920px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  /* Ajuste compacto exclusivo para 1. Contenido y 2. Redes destino en móvil */
  .workspace-grid > .panel {
    padding: 15px 14px;
  }

  .workspace-grid .panel-header {
    margin-bottom: 12px;
  }

  .workspace-grid .dropzone {
    padding: 14px 12px;
  }

  .workspace-grid .dropzone-empty {
    padding: 14px 6px;
  }

  .workspace-grid .dropzone-empty strong {
    font-size: 0.92rem;
  }

  .workspace-grid .dropzone-empty .muted {
    font-size: 0.78rem;
  }

  .workspace-grid .caption-textarea {
    min-height: 112px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .workspace-grid .counters-bar {
    gap: 6px;
  }

  .workspace-grid .counter-chip {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .workspace-grid .cleanup-option {
    padding: 10px 11px;
    gap: 9px;
  }

  .workspace-grid .cleanup-option > div {
    min-width: 0;
  }

  .workspace-grid .cleanup-option strong {
    font-size: 0.8rem;
  }

  .workspace-grid .cleanup-option small {
    font-size: 0.75rem;
  }

  .workspace-grid .net-card {
    padding: 11px 11px 11px 14px;
    gap: 8px;
    max-width: 100%;
  }

  .workspace-grid .net-card-left {
    gap: 10px;
    flex: 1;
    min-width: 0;
  }

  .workspace-grid .net-card .net-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .workspace-grid .net-card-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .workspace-grid .net-card-title {
    flex-wrap: wrap;
    gap: 1px 6px;
    font-size: 0.88rem;
  }

  .workspace-grid .net-card-handle {
    font-size: 0.75rem;
    max-width: 100%;
  }

  .workspace-grid .net-card-sub {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .workspace-grid .net-card-right {
    gap: 7px;
  }

  .workspace-grid .state-tag {
    font-size: 0.64rem;
    padding: 2px 7px;
  }

  .workspace-grid .switch-track {
    width: 38px;
    height: 22px;
  }

  .workspace-grid .switch-thumb {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .workspace-grid .net-card.is-selected .switch-thumb {
    transform: translateX(16px);
  }

  .workspace-grid .btn-publish {
    padding: 12px 14px;
    font-size: 0.92rem;
  }
}

/* DROPZONE */
.dropzone {
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  background: var(--bg-recessed);
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone:hover, .dropzone.is-dragover {
  border-color: var(--accent);
  background: rgba(139, 92, 246, 0.07);
}

.dropzone-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 10px;
}

.dropzone-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: #c4b5fd;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.media-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-stage {
  background: #05070b;
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 310px;
}

.media-stage img, .media-stage video {
  max-width: 100%;
  max-height: 310px;
  object-fit: contain;
  display: block;
}

.media-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.media-meta-info strong {
  display: block;
  font-size: 0.86rem;
  word-break: break-all;
}

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
}

.meta-chip {
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 6px;
}

/* YOUTUBE POLICY BANNER */
.policy-banner {
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
}

.policy-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.policy-ok {
  background: rgba(16, 185, 129, 0.11);
  border-color: rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}
.policy-ok .policy-dot { background: #10b981; }

.policy-blocked {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fecaca;
}
.policy-blocked .policy-dot { background: #ef4444; }

.policy-warn {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fde68a;
}
.policy-warn .policy-dot { background: #f59e0b; }

/* CAPTION FIELD */
.field-group {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.field-label-row label {
  font-size: 0.86rem;
  font-weight: 650;
}

.caption-textarea {
  width: 100%;
  background: var(--bg-recessed);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
  min-height: 132px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.caption-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.counters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.counter-chip {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 9px;
  border-radius: 999px;
}

.counter-chip.is-over {
  background: var(--red-soft);
  color: #fca5a5;
  font-weight: 700;
}

.cleanup-option {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.cleanup-option input {
  margin-top: 3px;
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}

.cleanup-option strong {
  display: block;
  font-size: 0.84rem;
}

/* =========================================================
   2. REDES DESTINO — CONTRASTE EXTREMO ACTIVA vs OMITIDA
   ========================================================= */
.target-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.targets-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.net-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px 13px 18px;
  border-radius: 13px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);

  /* ESTADO NO SELECCIONADA (claramente atenuada y hundida) */
  background: var(--bg-recessed);
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  opacity: 0.48;
  filter: saturate(0.25);
}

.net-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: transparent;
  transition: background 0.18s ease;
}

.net-card:hover:not(.is-unavailable) {
  opacity: 0.78;
  filter: saturate(0.7);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ESTADO SELECCIONADA (borde iluminado, barra lateral de marca, 100% nítida) */
.net-card.is-selected {
  opacity: 1;
  filter: saturate(1);
  background: linear-gradient(95deg, var(--brand-bg) 0%, rgba(19, 24, 36, 0.96) 70%);
  border: 1.5px solid var(--brand);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset,
              0 8px 22px -10px var(--brand-glow);
}

.net-card.is-selected::before {
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
}

.net-card.is-selected:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px var(--brand-glow);
}

/* ESTADO BLOQUEADA / SIN CONECTAR */
.net-card.is-unavailable {
  opacity: 0.36;
  filter: grayscale(0.8);
  cursor: not-allowed;
  border-style: dotted;
}

.net-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.net-card .net-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.net-card.is-selected .net-icon {
  box-shadow: 0 0 14px -2px var(--brand-glow);
  transform: scale(1.04);
}

.net-card-info {
  min-width: 0;
}

.net-card-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 750;
  font-size: 0.94rem;
  color: var(--text);
}

.net-card-handle {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.net-card-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.net-card-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.state-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.net-card.is-selected .state-tag {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 2px 10px var(--brand-glow);
}

.net-card.is-blocked .state-tag {
  background: var(--red-soft);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

/* TOGGLE SWITCH ANIMADO */
.switch-track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #1f2738;
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.switch-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8f9bb3;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: transparent;
}

.net-card.is-selected .switch-track {
  background: var(--brand);
  border-color: var(--brand);
}

.net-card.is-selected .switch-thumb {
  transform: translateX(20px);
  background: #ffffff;
  color: var(--brand);
}

/* PUBLISH BUTTON */
.publish-cta-wrap {
  margin-top: 16px;
}

.btn-publish {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.98rem;
  font-weight: 800;
  border-radius: 13px;
  letter-spacing: -0.01em;
}

.btn-publish-real {
  background: linear-gradient(135deg, #22c55e, #10b981);
  color: #04130b;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.32);
}

.btn-publish-dry {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.32);
}

/* LIVE UPLOAD & PUBLISH MONITOR */
.publish-monitor {
  margin-top: 16px;
  padding: 15px;
  border-radius: 14px;
  background: var(--bg-recessed);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.monitor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.monitor-title-wrap strong {
  font-size: 0.9rem;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--green-bright);
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}

.spinner-sm {
  width: 14px;
  height: 14px;
  border-width: 2px;
}

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

.progress-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8b5cf6, #22c55e);
  transition: width 0.25s ease;
}

.monitor-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.monitor-row {
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.monitor-row.status-ok { border-color: rgba(16, 185, 129, 0.42); }
.monitor-row.status-error { border-color: rgba(239, 68, 68, 0.48); }
.monitor-row.status-running { border-color: rgba(139, 92, 246, 0.45); }

.monitor-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.monitor-net-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.84rem;
}

.monitor-msg {
  font-size: 0.8rem;
  color: var(--text-muted);
  word-break: break-word;
}

.monitor-msg a {
  color: #6ee7b7;
  font-weight: 650;
  text-decoration: none;
  margin-left: 4px;
}
.monitor-msg a:hover { text-decoration: underline; }

/* HISTORY & STORAGE */
.storage-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.storage-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-recessed);
  border: 1px solid var(--border-strong);
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.storage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.history-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.filter-tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-recessed);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.filter-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 650;
  padding: 6px 11px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-tab.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.history-bulk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.history-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.history-caption {
  font-size: 0.88rem;
  color: var(--text);
  white-space: pre-wrap;
  max-height: 76px;
  overflow: hidden;
}

.history-results {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hist-res-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.77rem;
  padding: 4px 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-recessed);
}

.hist-res-chip.st-ok { border-color: rgba(16, 185, 129, 0.4); color: #a7f3d0; }
.hist-res-chip.st-error { border-color: rgba(239, 68, 68, 0.45); color: #fca5a5; }
.hist-res-chip.st-simulated { border-color: rgba(139, 92, 246, 0.4); color: #ddd6fe; }
.hist-res-chip.st-skipped { border-color: rgba(245, 158, 11, 0.35); color: #fde68a; }

.hist-res-chip a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.history-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.empty-state {
  text-align: center;
  padding: 28px 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
}

/* META PICKER */
.meta-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.meta-pick-col h3 { margin: 0 0 10px; font-size: 0.92rem; }
.pick-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}
.meta-pick-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.74);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 16px;
}
.modal-backdrop[hidden] { display: none; }

.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  margin: 0;
  font-size: 1rem;
}

.modal-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}


/* =========================================================
   PASO 9 · AUTH, USER NAV & ADMIN PANEL
   ========================================================= */
.user-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-recessed);
  border: 1px solid var(--border-strong);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 650;
  color: var(--text);
}

.user-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

/* LOGIN & SETUP PAGE */
.auth-body {
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-shell {
  width: 100%;
  max-width: 440px;
}

.auth-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.auth-intro h2 {
  margin: 0;
  font-size: 1.12rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

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

.auth-field label {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--text);
}

.btn-auth {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.94rem;
  font-weight: 750;
  margin-top: 4px;
}

/* ADMIN PANEL */
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 900px) {
  .admin-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.input-with-btn {
  display: flex;
  gap: 8px;
}

.input-with-btn .text-input {
  flex: 1;
  min-width: 0;
}

.admin-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.creds-box {
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.creds-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.creds-pre {
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--bg-recessed);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: #d1fae5;
  white-space: pre-wrap;
  word-break: break-all;
}

.vps-stats-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.vps-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 12px;
  background: var(--bg-recessed);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
}

.vps-stat-row code {
  color: #c4b5fd;
  word-break: break-all;
}

.callback-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.callback-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-recessed);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.76rem;
}

.callback-item code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-muted);
}

.callback-net {
  font-weight: 800;
  font-size: 0.69rem;
  color: #a78bfa;
  min-width: 68px;
}

.users-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 13px;
}

.user-row-card.is-inactive {
  opacity: 0.62;
  border-style: dashed;
}

.user-row-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.user-row-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.user-row-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.user-row-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}


/* =========================================================
   PASO 9.5 · PLANES FREE / VERSIÓN PREMIUM & BLOQUEO DE X
   ========================================================= */
.premium-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(139, 92, 246, 0.28));
  border: 1px solid rgba(251, 191, 36, 0.55);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.22);
  white-space: nowrap;
}

.pill-gold {
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.btn-premium-xs {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(139, 92, 246, 0.3));
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fef3c7;
}

.btn-connect-locked {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(251, 191, 36, 0.35);
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 650;
  opacity: 0.78;
}

.btn-connect-locked:hover {
  opacity: 0.95;
  border-color: rgba(251, 191, 36, 0.6);
  transform: none;
}

.premium-mini-tag {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fde68a;
  margin-left: 2px;
}

.net-card.is-premium-locked {
  opacity: 0.55;
  filter: saturate(0.45);
  border: 1.5px dashed rgba(251, 191, 36, 0.32);
}

.state-tag.state-tag-premium {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(251, 191, 36, 0.52);
  color: #fde68a;
}

.account-card.is-locked-card {
  opacity: 0.65;
  border-style: dashed;
}

.quota-banner {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.42);
  color: #fecaca;
  font-size: 0.82rem;
  line-height: 1.4;
}


/* =========================================================
   PASO 9.6 · ARTISTA FIJO (USUARIOS) Y SESIONES/DISPOSITIVOS
   ========================================================= */
.artist-fixed-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 10px;
  background: var(--bg-recessed);
  border: 1px solid var(--border-strong);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.sessions-section {
  border-top: 1px solid var(--border);
  padding: 14px 18px 18px;
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sessions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sessions-header strong {
  font-size: 0.86rem;
}

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 180px;
  overflow-y: auto;
}

.session-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  background: var(--bg-recessed);
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

.session-item.is-current {
  border-color: rgba(16, 185, 129, 0.35);
}

.session-item strong {
  display: block;
  font-size: 0.8rem;
}

.session-item small {
  font-size: 0.72rem;
}


/* =========================================================
   PASO 9.7 · VER CONTRASEÑA Y EDITAR ARTISTA EN /admin
   ========================================================= */
.mono-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.03em;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.inline-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
}


/* =========================================================
   PASO 9.8 · PANEL COMPACTO DE ADMINISTRADOR AUXILIAR
   ========================================================= */
.admin-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.admin-left-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.panel-subadmin {
  padding: 0;
  border-color: rgba(139, 92, 246, 0.28);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), var(--bg-elevated));
  overflow: hidden;
}

.subadmin-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  user-select: none;
}

.subadmin-summary::-webkit-details-marker {
  display: none;
}

.subadmin-summary:hover {
  background: rgba(139, 92, 246, 0.08);
}

.subadmin-summary-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.subadmin-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.subadmin-title-row strong {
  font-size: 0.92rem;
}

.subadmin-summary-left .muted {
  margin: 0;
  font-size: 0.77rem;
}

.subadmin-chevron {
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.panel-subadmin[open] .subadmin-chevron {
  transform: rotate(180deg);
}

.subadmin-form {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border);
  gap: 11px;
}

.subadmin-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.subadmin-bottom-row .select-input {
  flex: 1;
  min-width: 210px;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.panel-subadmin .creds-box {
  margin: 0 16px 16px;
}

.pill-subadmin {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.4);
}


/* =========================================================
   PASO 9.9 · LOGO CLICKEABLE (ENLACE NATIVO AL PANEL)
   ========================================================= */
.brand-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 12px;
  padding: 2px 6px 2px 2px;
  margin: -2px -6px -2px -2px;
  transition: opacity 0.16s ease, background 0.16s ease;
}

.brand-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.brand-link:hover .brand-logo {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.48);
}

.brand-link .brand-logo {
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.brand-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}


/* =========================================================
   PASO 9.10 · BOTONES DESHABILITAR / HABILITAR CUENTA
   ========================================================= */
.btn-warning-soft {
  background: rgba(245, 158, 11, 0.13);
  border-color: rgba(245, 158, 11, 0.38);
  color: #fcd34d;
}
.btn-warning-soft:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.24);
}

.btn-success-soft {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.42);
  color: #6ee7b7;
}
.btn-success-soft:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.26);
}


/* =========================================================
   PASO 9.11 · AJUSTE DE PUBLICACIONES MENSUALES (CUOTA ±)
   ========================================================= */
.modal-card-wide {
  max-width: 490px;
}

.quota-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 480px) {
  .quota-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.quota-stat-box {
  background: var(--bg-recessed);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.quota-stat-box.is-highlight {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.09);
}

.quota-stat-box .muted {
  margin: 0;
  font-size: 0.7rem;
}

.quota-stat-box strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.txt-plus {
  color: #6ee7b7;
}

.txt-minus {
  color: #fca5a5;
}

.quota-quick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 11px;
  background: var(--bg-recessed);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.quota-quick-row .muted {
  margin: 0;
  font-size: 0.78rem;
}

.quota-quick-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.quota-note {
  margin: 0;
  font-size: 0.77rem;
}

.quota-modal-footer {
  justify-content: space-between;
}

.quota-adj-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 3px;
  vertical-align: middle;
}

.quota-adj-tag.is-plus {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.38);
}

.quota-adj-tag.is-minus {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.38);
}
