/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition:
    background var(--t),
    border-color var(--t),
    color var(--t);
}

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

.btn:active {
  transform: translateY(0.5px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-elev-1);
  color: var(--fg);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
}

.btn-warning {
  background: #f59e0b;
  color: #1a1a1a;
  border-color: #f59e0b;
}
.btn-warning:hover {
  background: #d97706;
  border-color: #d97706;
}

.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--fg);
}

.btn-danger {
  background: var(--accent-danger);
  color: #fff;
  border-color: var(--accent-danger);
}
.btn-danger:hover {
  background: var(--accent-danger-hover);
  border-color: var(--accent-danger-hover);
}

.btn-success {
  background: var(--accent-success);
  color: #fff;
  border-color: var(--accent-success);
}
.btn-success:hover {
  filter: brightness(1.08);
}

.btn-sm {
  padding: 6px 10px;
  font-size: 13px;
}
.btn-icon {
  padding: 6px;
}

.btn[disabled],
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== Cards ===== */
.card {
  position: relative;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--t);
}
.card:hover {
  border-color: var(--border-strong);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
}

/* ===== Form ===== */
.form-group {
  margin-bottom: 16px;
}
.form-row {
  display: grid;
  gap: 12px;
}
.form-row-2 {
  grid-template-columns: 1fr 1fr;
}
.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.field-hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* Collapsible config section */
.config-details summary {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.config-details summary::-webkit-details-marker {
  display: none;
}
.config-details[open] summary span:last-child {
  transform: rotate(180deg);
}
.config-details summary span:last-child {
  transition: transform var(--t);
  display: inline-block;
}

/* ===== Tabs ===== */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  position: relative;
  z-index: 5;
}

.tab {
  padding: 10px 14px 11px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--fg-muted);
  cursor: pointer;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition:
    color var(--t),
    border-color var(--t);
}

.tab:hover {
  color: var(--fg);
}

.tab.active {
  color: var(--fg);
  border-bottom-color: var(--accent);
}

.tab svg {
  opacity: 0.7;
  flex-shrink: 0;
}
.tab:hover svg,
.tab.active svg {
  opacity: 1;
}

/* ===== Toasts ===== */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  min-width: 260px;
  max-width: 400px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--fg);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeUp var(--t) both;
}

.toast-success {
  border-left: 3px solid var(--accent-success);
}
.toast-error {
  border-left: 3px solid var(--accent-danger);
}
.toast-info {
  border-left: 3px solid var(--accent);
}
.toast-warning {
  border-left: 3px solid #f59e0b;
}

.toast-body {
  flex: 1;
  min-width: 0;
}
.toast-title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
}
.toast-msg {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}
.toast-action {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.toast-action:hover {
  background: var(--bg-elev-1);
}

/* Aviso que se queda hasta que lo cierras: el contenido crece hacia abajo, así
   que la X se ancla arriba en vez de quedar centrada a media altura. */
.toast--closable {
  align-items: flex-start;
  padding-right: 8px;
}

.toast-close {
  background: transparent;
  border: 0;
  color: var(--fg-muted);
  padding: 2px;
  margin: -2px 0 0 2px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    color var(--t),
    background var(--t);
}
.toast-close:hover {
  color: var(--fg);
  background: var(--bg-elev-1);
}

.toast.is-exiting {
  animation: fadeIn 160ms reverse;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  animation: fadeIn 160ms both;
}

.modal-overlay.is-closing {
  animation: fadeIn 120ms reverse;
}

.modal {
  position: relative;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 420px;
  max-width: 550px;
  width: 100%;
  box-shadow: var(--shadow);
  animation: scaleIn 180ms both;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.hidden {
  display: none !important;
}

/* ===== Table ===== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

th {
  text-align: left;
  padding: 10px 14px;
  color: var(--fg-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}

tr:last-child td {
  border-bottom: none;
}
tr:hover td {
  background: var(--bg-hover);
}

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  background: var(--bg-elev-2);
  color: var(--fg-muted);
}

.badge-blue {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(79, 140, 255, 0.1);
}
.badge-green {
  color: var(--accent-success);
  border-color: var(--accent-success);
  background: rgba(34, 197, 94, 0.1);
}
.badge-red {
  color: var(--accent-danger);
  border-color: var(--accent-danger);
  background: rgba(239, 68, 68, 0.1);
}
.badge-gray {
  color: var(--fg-muted);
  border-color: var(--border);
  background: var(--bg-elev-2);
}

/* ===== Discord Select ===== */
.discord-select-wrapper {
  position: relative;
  width: 100%;
}

.discord-select-display {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg-muted);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  transition: border-color var(--t);
}

.discord-select-display:hover,
.discord-select-display:focus {
  border-color: var(--border-strong);
  outline: none;
}

.discord-select-display.has-value {
  color: var(--fg);
}

.discord-select-dropdown {
  position: fixed;
  z-index: 9999;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.discord-select-dropdown.hidden {
  display: none;
}

.discord-select-search {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-elev-1);
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-size: 13px;
  box-sizing: border-box;
  outline: none;
}

.discord-select-search::placeholder {
  color: var(--fg-subtle);
}

.discord-select-list {
  max-height: 220px;
  overflow-y: auto;
}

.discord-select-list::-webkit-scrollbar {
  width: 4px;
}
.discord-select-list::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 2px;
}

.discord-select-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--fg-muted);
  transition:
    background var(--t),
    color var(--t);
}

.discord-select-item:hover {
  background: var(--bg-hover);
  color: var(--fg);
}

.discord-select-item.selected {
  background: var(--bg-active);
  color: var(--fg);
}

.discord-select-item.discord-select-clear {
  color: var(--fg-subtle);
  font-style: italic;
}

.discord-select-prefix {
  font-weight: 500;
  font-size: 13px;
  color: var(--fg-subtle);
  min-width: 14px;
}

.discord-select-msg {
  padding: 14px;
  text-align: center;
  color: var(--fg-subtle);
  font-size: 13px;
}

/* ===== Bot status pill (header) ===== */
.bot-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  color: var(--text-muted);
  user-select: none;
}
.bot-status-pill .bot-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  box-shadow: 0 0 0 0 currentColor;
}
.bot-status-online {
  color: var(--accent-success);
  border-color: rgba(87, 242, 135, 0.35);
}
.bot-status-online .bot-status-dot {
  background: var(--accent-success);
  animation: bot-pulse 2s ease-in-out infinite;
}
.bot-status-offline {
  color: var(--accent-danger);
  border-color: rgba(248, 113, 113, 0.35);
}
.bot-status-offline .bot-status-dot {
  background: var(--accent-danger);
}
.bot-status-unknown {
  opacity: 0.8;
}
@keyframes bot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(87, 242, 135, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(87, 242, 135, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bot-status-online .bot-status-dot {
    animation: none;
  }
}

/* ===== Skeleton ===== */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--skeleton-base) 0%,
    var(--skeleton-shine) 50%,
    var(--skeleton-base) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-wave 1.6s ease-in-out infinite;
  border-radius: 6px;
  color: transparent !important;
  pointer-events: none;
  user-select: none;
}

.skeleton * {
  visibility: hidden;
}

/* ===== Empty state ===== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 12px;
}

.empty-state-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
}

.empty-state h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
}

.empty-state p {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 280px;
  line-height: 1.5;
  margin: 0;
}

/* ===== Style picker (themes) ===== */
.style-picker-label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.style-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .style-picker {
    grid-template-columns: 1fr;
  }
}

.style-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color var(--t),
    transform var(--t);
  text-align: left;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.style-card:hover {
  border-color: var(--border-strong);
}
.style-card.is-active {
  border-color: var(--accent);
}

.style-card-preview {
  height: 56px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* ── Mini "window" mockup: titlebar dots + content chips ── */
.style-preview-titlebar {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30%;
  min-height: 10px;
  flex-shrink: 0;
  padding: 0 7px;
}
.style-preview-titlebar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.32;
}

.style-preview-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
}

.style-preview-chip {
  height: 3px;
  width: 58%;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.22;
}
.style-preview-chip--accent {
  width: 36%;
  opacity: 1;
  background: #4f8cff;
}

.style-preview-black {
  background: #0d0d10;
  color: #fff;
}
.style-preview-black .style-preview-titlebar {
  background: #17171b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.style-preview-light {
  background: #eef0f4;
  color: #111113;
}
.style-preview-light .style-preview-titlebar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.style-card-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity var(--t),
    transform var(--t);
  pointer-events: none;
}
.style-card.is-active .style-card-check {
  opacity: 1;
  transform: scale(1);
}
.style-card-check svg {
  width: 10px;
  height: 10px;
}

.style-card-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.style-card-name {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  display: block;
}

.style-card-desc {
  font-size: 12px;
  color: var(--fg-muted);
  display: block;
}

.style-card.is-active .style-card-name {
  color: var(--accent);
}

/* ===== Custom Select tb-select ===== */
.tb-select {
  position: relative;
  width: 100%;
}

.tb-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition:
    border-color var(--t),
    background var(--t);
  text-align: left;
  gap: 8px;
}

.tb-select__trigger:hover {
  border-color: var(--border-strong);
}

.tb-select.is-open .tb-select__trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.18);
  outline: none;
}

.tb-select__value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg);
  line-height: 1.4;
}

.tb-select__chevron {
  flex-shrink: 0;
  color: var(--fg-muted);
  transition: transform var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.tb-select.is-open .tb-select__chevron {
  transform: rotate(180deg);
}

.tb-select__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity var(--t),
    transform var(--t);
}

.tb-select.is-open .tb-select__dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.tb-select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-muted);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition:
    background var(--t),
    color var(--t);
  text-align: left;
}

.tb-select__option:last-child {
  border-bottom: none;
}
.tb-select__option:hover {
  background: var(--bg-hover);
  color: var(--fg);
}
.tb-select__option.is-selected {
  color: var(--accent);
  background: var(--bg-hover);
  font-weight: 500;
}

.tb-select__check {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: opacity var(--t);
  color: var(--accent);
  display: flex;
  align-items: center;
}

.tb-select__option.is-selected .tb-select__check {
  opacity: 1;
}

/* ===== Compact Preferences Panel ===== */
.prefs-compact-panel {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prefs-group-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.style-picker--compact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.style-picker--grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.style-card--compact {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-sm);
  min-width: 0;
}

.style-card--compact .style-card-preview {
  width: 100%;
  height: 26px;
  flex-shrink: 0;
  border-radius: 4px;
}

.style-card--compact .style-card-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
}

.style-card--compact.is-active .style-card-name {
  color: var(--accent);
}

.prefs-settings-list {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
}

.prefs-settings-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}

.prefs-settings-row:last-child {
  border-bottom: none;
}
.prefs-settings-row:hover {
  background: var(--bg-hover);
}

.prefs-settings-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.prefs-settings-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.prefs-settings-hint {
  font-size: 12px;
  color: var(--fg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
}

.prefs-settings-row > select {
  display: none !important;
}

.prefs-settings-row > .tb-select {
  width: 158px !important;
  flex-shrink: 0;
  flex-grow: 0;
}

.prefs-settings-row > .tb-select .tb-select__trigger {
  padding: 6px 10px;
  font-size: 13px;
}

.prefs-settings-row > .tb-select .tb-select__dropdown {
  right: 0;
  left: auto;
  min-width: 158px;
  z-index: 600;
}

/* ===== License Lockout ===== */
.license-lockout-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 200ms both;
  background: rgba(0, 0, 0, 0.7);
}

.license-lockout-overlay.hidden {
  display: none !important;
}

.license-lockout-backdrop {
  position: absolute;
  inset: 0;
}

.license-lockout-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  animation: scaleIn 220ms both;
}

.license-lockout-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.license-lockout-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-danger);
}

.license-lockout-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-danger);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.license-lockout-title {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  line-height: 1.25;
}

.license-lockout-subtitle {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0 0 20px;
}

.license-lockout-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 16px;
}

.license-lockout-info {
  margin-bottom: 20px;
}

.license-lockout-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--fg-muted);
  font-size: 13px;
}

.license-lockout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t);
  margin-bottom: 10px;
}

.license-lockout-btn:hover {
  background: var(--accent-hover);
}

.license-lockout-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 16px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--t),
    color var(--t);
}

.license-lockout-logout:hover {
  background: var(--bg-hover);
  color: var(--fg);
}

.card-accent {
  border-top: 2px solid var(--accent);
}
