:root {
  color-scheme: dark;
  --bg: #0b0b0f;
  --panel: #141420;
  --panel-border: #232334;
  --accent: #7c9bff;
  --text: #f1f1f6;
  --muted: #a5a5b5;
  --success: #3ddc97;
  --error: #ff6b6b;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

#root {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.modal-root {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 14, 0.78);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  pointer-events: auto;
}

.modal-root.hidden {
  display: none !important;
}

.modal-panel,
.auth-card {
  width: min(420px, 100%);
  background: #12121c;
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
  position: relative;
  z-index: 1;
}

.auth-card h2,
.modal-panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.auth-subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.auth-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 24px 0;
}

/* Every provider gets the same slot */
.auth-slot {
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-btn {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a28;
  color: var(--text);
  padding: 12px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.auth-btn:hover {
  border-color: rgba(124, 155, 255, 0.6);
  background: #1f2233;
}

/* Unified button geometry */
.auth-btn,
.auth-slot iframe {
  width: 100%;
  max-width: 360px;
  height: 48px;
  border-radius: 12px;
  font-size: 15px;
}

/* Google container rules */
.auth-slot[data-provider="google"] {
  position: relative;
  min-height: 48px;
}

#google-signin {
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-slot[data-provider="google"] button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-helper {
  margin: 8px auto 0;
  width: 100%;
  max-width: 360px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  min-height: 16px;
}

.auth-helper[data-active='false'] {
  display: none;
}

/* --- Google auth skeleton --- */
.auth-slot[data-provider="google"]:has(#google-signin:empty)::before {
  content: "";
  display: block;
  width: 100%;
  max-width: 360px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 25%,
    rgba(255, 255, 255, 0.12) 37%,
    rgba(255, 255, 255, 0.06) 63%
  );
  background-size: 400% 100%;
  animation: auth-skeleton 1.2s ease-in-out infinite;
  margin: 0 auto;
}

@keyframes auth-skeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* Ensure iframe never collapses */
#google-signin iframe {
  width: 100%;
  height: 48px;
  border-radius: 12px;
}

/* Optional provider styling */
.auth-slot[data-provider="apple"] .auth-btn {
  background: #111;
  color: white;
}

.auth-slot[data-provider="email"] .auth-btn {
  background: rgba(255, 255, 255, 0.06);
}

.email-auth {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 360px;
}

.email-input {
  flex: 1;
  height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
}

.email-sent {
  width: 100%;
  max-width: 360px;
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}

.modal-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.modal-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-actions button {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}

.modal-actions .secondary {
  background: #1a1a28;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.modal-actions .secondary:hover {
  border-color: rgba(124, 155, 255, 0.6);
}

.modal-actions .danger {
  background: #2a1416;
  color: #ffb5b5;
  border-color: rgba(255, 107, 107, 0.6);
}

.modal-actions .danger:hover {
  background: #351719;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form input {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0f0f18;
  color: var(--text);
  padding: 12px 14px;
  font-size: 14px;
}

.auth-form button {
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: #0b0b0f;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.auth-form button:hover {
  filter: brightness(1.1);
}

.auth-form button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.auth-hint {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.auth-notice {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  background: rgba(61, 220, 151, 0.14);
  color: var(--success);
}

.auth-notice.error {
  background: rgba(255, 107, 107, 0.14);
  color: var(--error);
}

#top-bar {
  padding: 16px 24px;
  background: #11111a;
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

#top-bar h1 {
  margin: 0 0 4px;
  font-size: 20px;
}

#top-bar .subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

#status-label {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #1c1c2b;
  color: var(--muted);
  border: 1px solid var(--panel-border);
}

#status-label.online {
  color: var(--success);
  border-color: rgba(61, 220, 151, 0.4);
}

.credit-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: #10101a;
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
}

.credit-badge .icon {
  font-size: 12px;
}

.credit-badge .count {
  color: var(--text);
}

.credit-badge:hover .credit-badge-tooltip {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.credit-badge-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0f0f1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  z-index: 10;
}

.credit-badge.badge-soft {
  border-color: rgba(250, 204, 21, 0.6);
  color: #fde047;
}

.credit-badge.badge-firm {
  border-color: rgba(251, 146, 60, 0.7);
  color: #fdba74;
}

.credit-badge.badge-hard {
  border-color: rgba(248, 113, 113, 0.8);
  color: #fca5a5;
}

.user-menu {
  position: relative;
  display: inline-block;
}

.user-trigger {
  background: none;
  border: none;
  color: #cfd6ff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.user-trigger:hover {
  color: #ffffff;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #e6e8ff;
}

.user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.1;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
}

.user-plan {
  font-size: 11px;
  color: rgba(214, 219, 255, 0.8);
}

.chevron {
  margin-left: 4px;
  font-size: 12px;
  opacity: 0.7;
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: 28px;
  min-width: 220px;
  background: #0f1117;
  border: 1px solid #1f2330;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 1000;
}

.user-menu:hover .user-dropdown {
  display: block;
}

.menu-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #d6dbff;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
}

.menu-item:hover {
  background: rgba(79, 140, 255, 0.12);
}

.menu-divider {
  height: 1px;
  margin: 6px 0;
  background: #1f2330;
}

.menu-item.danger {
  color: #ff9a9a;
}

.menu-item.danger:hover {
  background: rgba(255, 90, 90, 0.12);
}

.credit-panel {
  position: absolute;
  right: 24px;
  top: 70px;
  width: 280px;
  background: #11111c;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  z-index: 20;
}

.credit-panel.hidden {
  display: none;
}

.credit-panel-header {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.credit-meter {
  position: relative;
  display: grid;
  gap: 6px;
}

.credit-meter .bar {
  background: #0b0b14;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 22px;
  overflow: hidden;
}

.credit-meter .fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(124, 155, 255, 0.4), rgba(124, 155, 255, 0.9));
  width: 0%;
  transition: width 0.3s ease;
}

.credit-meter .label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 11px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.credit-panel-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.credit-panel-callout {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(124, 155, 255, 0.1);
  border: 1px solid rgba(124, 155, 255, 0.3);
  font-size: 12px;
  color: #d7defb;
}

.credit-panel-nudge {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.credit-panel-nudge.hidden,
.credit-panel-callout.hidden,
.usage-nudge.hidden {
  display: none;
}

#workspace {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 16px;
  padding: 16px;
  height: calc(100vh - 64px);
}

#left-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 16px;
  min-height: 0;
}

#chat-panel {
  grid-row: 1;
  flex: 1;
}

#right-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 16px;
  min-height: 0;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.panel-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--panel-border);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.panel-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.icon-button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
}

.icon-button:hover {
  color: rgba(255, 255, 255, 0.9);
}

.icon-button.copied {
  color: #4ade80;
}

.panel-header-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.panel-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

.panel-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--panel-border);
  display: flex;
  gap: 12px;
  align-items: center;
}

.pricing-body {
  padding: 20px 20px 24px;
}

.pricing-intro {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pricing-section {
  margin-bottom: 18px;
}

.pricing-section:last-child {
  margin-bottom: 0;
}

.pricing-section h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.pricing-section ul {
  margin: 0;
  padding-left: 18px;
  color: #e2e2ef;
  line-height: 1.5;
  font-size: 13px;
}

.pricing-sublist {
  margin-top: 10px;
}

.pricing-card {
  border: 1px solid rgba(124, 155, 255, 0.3);
  background: rgba(124, 155, 255, 0.08);
  padding: 12px 14px;
  border-radius: 10px;
}

.pricing-card + .pricing-card {
  margin-top: 12px;
}

.pricing-card p {
  margin: 0 0 8px;
  font-size: 13px;
}

.pricing-math {
  margin: 0;
  color: #c9d4ff;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.tier-card {
  border: 1px solid var(--panel-border);
  background: #10101a;
  border-radius: 10px;
  padding: 12px 12px 14px;
}

.tier-header {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 13px;
}

.tier-card ul {
  padding-left: 16px;
  margin: 0 0 8px;
  font-size: 12.5px;
}

.tier-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.pricing-table {
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

.pricing-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 8px 12px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--panel-border);
}

.pricing-table.two-col .pricing-table-row {
  grid-template-columns: 1fr 1fr;
}

.pricing-table-row:last-child {
  border-bottom: none;
}

.pricing-table-header {
  background: #1a1a27;
  font-weight: 600;
  color: var(--muted);
}

.pricing-callout {
  margin: 10px 0 6px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(61, 220, 151, 0.12);
  border: 1px solid rgba(61, 220, 151, 0.3);
  font-size: 12.5px;
}

.pricing-warning {
  margin: 6px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.3);
  font-size: 12.5px;
}

.pricing-code {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.pricing-muted {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.pricing-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 20, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 60;
}

.pricing-modal.hidden {
  display: none;
}

.pricing-modal-panel {
  width: min(1100px, 92vw);
  max-height: 90vh;
  background: #11111c;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(4, 10, 24, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pricing-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--panel-border);
}

.pricing-modal-header h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.pricing-modal-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.pricing-modal-actions {
  display: inline-flex;
  gap: 8px;
  flex-shrink: 0;
}

.pricing-modal-body {
  overflow-y: auto;
  padding: 0 24px 24px;
}

.pricing-modal-body.collapsed {
  display: none;
}

#chat-form {
  align-items: flex-end;
  flex-wrap: wrap;
}

.credit-banner,
.credit-inline-warning,
.credit-zero,
.throttle {
  width: 100%;
  font-size: 12.5px;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
}

.credit-banner {
  background: rgba(248, 113, 113, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

.credit-inline-warning {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
}

.throttle {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inline-cta {
  border: none;
  background: transparent;
  color: #bfdbfe;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.inline-cta:hover {
  color: #ffffff;
}

.credit-zero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.credit-cta {
  display: flex;
  gap: 8px;
}

.credit-inline-warning.hidden,
.credit-banner.hidden,
.credit-zero.hidden,
.throttle.hidden {
  display: none;
}

.usage-nudge {
  width: 100%;
  margin-bottom: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(124, 155, 255, 0.32);
  background: rgba(124, 155, 255, 0.08);
  color: var(--text);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.usage-nudge-message {
  color: var(--text);
}

.usage-nudge-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.usage-nudge-primary {
  border-color: rgba(124, 155, 255, 0.6);
  color: #dbe4ff;
}

.usage-nudge-secondary {
  color: var(--muted);
}

.credit-link {
  color: #bfdbfe;
  text-decoration: underline;
  cursor: pointer;
}

.chat-input-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#chat-input {
  width: 100%;
  min-height: 64px;
  max-height: 160px;
  resize: vertical;
  background: #0c0c15;
  border: 1px solid var(--panel-border);
  color: var(--text);
  padding: 10px;
  border-radius: 8px;
  font-family: inherit;
}

.credit-preview {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
  align-self: flex-end;
  min-height: 16px;
}

.credit-preview.warning {
  color: var(--error);
  opacity: 0.95;
}

#btn-mic {
  margin-right: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  opacity: 0.7;
  padding: 0;
}

#btn-mic.listening {
  color: var(--error);
  opacity: 1;
}

#runCode {
  display: none;
}

#rollbackButton {
  display: none;
  background: transparent;
  border: 1px solid var(--panel-border);
  color: #a1a1aa;
}

#promoteButton {
  display: none;
  background: transparent;
  border: 1px solid rgba(124, 155, 255, 0.4);
  color: #d8e2ff;
}

#rollbackButton:hover {
  border-color: rgba(124, 155, 255, 0.5);
  color: #e2e8f0;
}

#promoteButton:hover {
  border-color: rgba(124, 155, 255, 0.7);
  color: #ffffff;
}

.loading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  opacity: 0.7;
}

.loading.hidden {
  display: none;
}

.dot {
  animation: fade 1.4s infinite both;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes fade {
  0% { opacity: 0.2; }
  20% { opacity: 1; }
  100% { opacity: 0.2; }
}

.timer {
  margin-left: 8px;
  font-size: 12px;
  opacity: 0.6;
}

button {
  background: var(--accent);
  border: none;
  color: #0b0b0f;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ghost-button {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--panel-border);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.ghost-button:hover {
  border-color: rgba(124, 155, 255, 0.6);
  color: var(--accent);
}

.interface-status {
  font-size: 12px;
  opacity: 0.7;
  padding: 4px 8px;
}

.preview-status {
  font-size: 12px;
  opacity: 0.7;
  padding: 4px 8px;
  color: var(--muted);
}

.preview-execution-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preview-execution-status.idle {
  color: var(--muted);
  border-color: rgba(165, 165, 181, 0.3);
  background: rgba(165, 165, 181, 0.1);
}

.preview-execution-status.ready {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.12);
}

.preview-execution-status.preparing {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.12);
}

.preview-execution-status.stale {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.4);
  background: rgba(251, 113, 133, 0.12);
}

.preview-execution-status.running {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.12);
}

.preview-execution-status.capped {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.12);
}

.preview-execution-status.heavy {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.12);
}

.preview-execution-status.stopped {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.12);
}

.preview-execution-status.completed {
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.12);
}

.execution-warnings {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px dashed rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
  max-width: 260px;
  line-height: 1.3;
}

.execution-warnings.hidden {
  display: none;
}

.sandbox-controls {
  display: flex;
  gap: 8px;
  margin: 8px 0 12px;
}

.sandbox-controls.hidden {
  display: none;
}

.sandbox-controls .ghost-button {
  padding: 4px 10px;
}

.interface-status.updated {
  color: #4ade80;
}

.interface-status.unchanged {
  color: #a1a1aa;
}

#right-pane {
  position: relative;
}

#right-pane .splitter {
  height: 6px;
  cursor: row-resize;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

#right-pane .splitter:hover {
  background: rgba(255, 255, 255, 0.18);
}

#code-editor-wrapper {
  display: flex;
  flex: 1;
  min-height: 0;
  height: 100%;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: #07070d;
}

#line-numbers {
  user-select: none;
  pointer-events: none;
  text-align: right;
  padding: 16px 8px;
  color: rgba(255, 255, 255, 0.25);
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.5;
  font-size: 13px;
  white-space: pre;
  overflow: hidden;
}

#code-editor {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 16px 16px 16px 8px;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  line-height: 1.5;
  resize: none;
  border-radius: 0;
  outline: none;
  min-height: 0;
  height: 100%;
  overflow: auto;
}

.panel-footer.actions {
  justify-content: flex-end;
}

#code-footer {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-right: auto;
}

.code-editor,
.output-panel {
  flex: 1 1 50%;
  min-height: 0;
  overflow: hidden;
}

.console-output {
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  cursor: zoom-in;
}

.console-output.preview-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #000;
  display: flex;
  cursor: zoom-out;
}

.output-panel.preview-fullscreen #fullscreenToggle {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1000000;
}

.fullscreen-exit {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #555;
}

.output-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.output-panel .panel-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.console-output-log {
  overflow: auto;
  max-height: 40%;
}

.console-output iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.preview-frame-container {
  width: 100%;
  height: 100%;
  display: flex;
}

.preview-frame-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.output-panel iframe {
  flex: 1 1 auto;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.output-panel.loading iframe {
  opacity: 0;
  transform: scale(0.98);
}

.generation-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: #10101a;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.generation-indicator.active {
  color: var(--text);
  border-color: rgba(124, 155, 255, 0.6);
  background: rgba(124, 155, 255, 0.12);
}

.message {
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  line-height: 1.4;
  white-space: pre-wrap;
  position: relative;
}

.message.user {
  background: rgba(124, 155, 255, 0.2);
  border: 1px solid rgba(124, 155, 255, 0.4);
}

.message.assistant {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.message.assistant.thinking {
  opacity: 0.45;
  font-style: italic;
  transition: opacity 0.2s ease;
}

.message .assistant-meta {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.assistant-meta-usage {
  color: #d8e2ff;
}

.assistant-meta-warning {
  color: #fbbf24;
}

.message .assistant-aside {
  font-style: italic;
  opacity: 0.7;
}

.message em {
  opacity: 0.6;
  font-style: italic;
}

.tts-btn {
  background: none;
  border: none;
  color: #9aa4ff;
  cursor: pointer;
  font-size: 0.85em;
  padding: 0;
}

.tts-btn:hover {
  opacity: 1;
}

.chat-copy-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 13px;
  cursor: pointer;
  color: white;
}

.chat-copy-btn.copied {
  background: rgba(34, 197, 94, 0.9);
}

@media (hover: hover) {
  .chat-copy-btn {
    opacity: 0;
  }

  .message:hover .chat-copy-btn {
    opacity: 1;
  }
}

@media (hover: none) {
  .chat-copy-btn {
    opacity: 0.9;
  }
}

.message.system {
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: var(--error);
}

.output-line {
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #0c0c15;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
}

.output-line.error {
  color: var(--error);
  border-color: rgba(255, 107, 107, 0.3);
}

.output-line.success {
  color: var(--success);
  border-color: rgba(61, 220, 151, 0.3);
}

.credit-panel-cta {
  width: 100%;
  margin-bottom: 12px;
}

.paywall-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 50;
}

.paywall-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.72);
}

.paywall-sheet {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  background: rgba(17, 19, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(4, 10, 24, 0.45);
  display: grid;
  gap: 20px;
}

.paywall-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.paywall-header-copy {
  display: grid;
  gap: 6px;
}

.paywall-header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.paywall-subtext {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.paywall-body {
  display: grid;
  gap: 20px;
}

.paywall-status-card {
  border-radius: 14px;
  background: rgba(12, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

.paywall-status-card .status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.paywall-status-card .status-row strong {
  color: #fff;
  font-weight: 600;
}

.paywall-plans {
  display: grid;
  gap: 10px;
}

.paywall-plan-compact {
  display: grid;
  gap: 12px;
}

.paywall-plan-card {
  border-radius: 16px;
  padding: 16px;
  background: rgba(14, 16, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(8, 12, 24, 0.35);
}

.paywall-plan-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.paywall-plan-card .plan-label {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.paywall-plan-card .plan-price {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.paywall-plan-card ul {
  margin: 0;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  display: grid;
  gap: 6px;
}

.paywall-plan-card.is-recommended,
.paywall-plan-card.is-selected {
  border-color: rgba(124, 155, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(124, 155, 255, 0.4),
    0 18px 35px rgba(90, 120, 255, 0.25);
}

.paywall-plan-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-chip {
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  cursor: pointer;
}

.plan-chip.is-selected {
  background: rgba(124, 155, 255, 0.2);
  border-color: rgba(124, 155, 255, 0.6);
  color: #e3e9ff;
}

.paywall-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: rgba(12, 14, 20, 0.6);
  border-radius: 12px;
  overflow: hidden;
}

.paywall-table th,
.paywall-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.paywall-table thead th {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.paywall-compare-table th[scope="row"] {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.paywall-compare-table [data-paywall-plan-cell].is-selected {
  background: rgba(124, 155, 255, 0.12);
  color: #f2f4ff;
}

.paywall-compare-table .is-recommended {
  position: relative;
}

.paywall-compare-table .is-recommended::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 10px;
  border: 1px solid rgba(124, 155, 255, 0.3);
  pointer-events: none;
}

.paywall-table tbody tr:last-child td {
  border-bottom: none;
}

.paywall-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.paywall-cost-line {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.paywall-inline-link {
  font-size: 0.82rem;
}

.paywall-inline-link[data-tooltip] {
  position: relative;
}

.paywall-inline-link[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: #0f0f1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: max-content;
  max-width: 220px;
  z-index: 10;
}

.paywall-inline-link[data-tooltip]:hover::after,
.paywall-inline-link[data-tooltip]:focus::after {
  opacity: 1;
  transform: translateY(0);
}

.paywall-actions {
  display: grid;
  gap: 10px;
}

.primary-button {
  width: 100%;
  background: linear-gradient(135deg, #8b9bff, #6f7cff);
  color: #0b0b10;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 12px 16px;
}

.link-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: none;
  padding: 4px 0;
  font-size: 0.9rem;
  text-decoration: none;
}

.link-button:hover {
  color: #fff;
}

.paywall-modal.dismissable .paywall-backdrop {
  cursor: pointer;
}

.paywall-modal.hidden {
  display: none;
}

.paywall-footer {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.usage-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 40;
}

.usage-panel {
  background: rgba(17, 19, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  width: min(1100px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(4, 10, 24, 0.45);
}

.usage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.usage-header h2 {
  margin: 0 0 4px;
  font-size: 1.4rem;
}

.usage-scope {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* Upgrade modal */
.upgrade-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 18, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.upgrade-overlay.hidden {
  display: none;
}

.upgrade-modal {
  position: relative;
  width: min(900px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #12141b;
  border-radius: 14px;
  padding: 24px 28px 28px;
  color: #e6e8ee;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.upgrade-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #9aa0b4;
  font-size: 22px;
  cursor: pointer;
}

.upgrade-close:hover {
  color: #fff;
}

.upgrade-header h2 {
  margin: 0;
  font-size: 22px;
}

.upgrade-subtitle {
  margin-top: 6px;
  color: #b6bbd3;
  font-size: 14px;
}

.upgrade-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #0e1017;
  padding: 12px;
  border-radius: 10px;
  margin: 20px 0;
  font-size: 13px;
}

.upgrade-status div {
  display: flex;
  justify-content: space-between;
  color: #aab0c5;
}

.upgrade-status strong {
  color: #fff;
}

.upgrade-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plan {
  background: #0e1017;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  border: 1px solid #1c2030;
}

.plan h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.plan-price {
  font-size: 18px;
  margin-bottom: 10px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 13px;
  color: #b6bbd3;
}

.plan ul li {
  margin-bottom: 6px;
}

.plan-featured {
  border-color: #4f7cff;
  background: linear-gradient(180deg, #121c3a, #0e1017);
}

.plan-cta {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #2a2f44;
  background: transparent;
  color: #e6e8ee;
  cursor: pointer;
}

.plan-cta:hover {
  background: #1a1f33;
}

.plan-cta.primary {
  background: #4f7cff;
  border: none;
  color: #fff;
}

.plan-cta.primary:hover {
  background: #6a8dff;
}

.upgrade-footer {
  margin-top: 18px;
  font-size: 13px;
  color: #9aa0b4;
}

.upgrade-note {
  margin-top: 6px;
  font-size: 12px;
  color: #7e849b;
}

.usage-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.usage-filter {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.usage-filter select,
.usage-filter input[type="date"] {
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 8px;
  color: inherit;
  font-size: 0.85rem;
}

.usage-filter-range {
  display: flex;
  align-items: center;
  gap: 6px;
}

.usage-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.usage-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.9rem;
  cursor: pointer;
}

.usage-tab.active {
  background: rgba(82, 120, 255, 0.2);
  border-color: rgba(82, 120, 255, 0.6);
  color: #fff;
}

.usage-tab-panel {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.usage-tab-panel.active {
  display: flex;
}

.usage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.usage-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.usage-card strong {
  font-size: 1.3rem;
}

.usage-chart-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.usage-chart-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.usage-chart-header h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.usage-chart-header p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.usage-range-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.usage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.usage-table th,
.usage-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.usage-table details {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.usage-table summary {
  cursor: pointer;
  color: rgba(122, 162, 247, 0.9);
}

.usage-request-list {
  margin: 8px 0 0;
  padding-left: 16px;
  display: grid;
  gap: 6px;
}

.usage-request-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
}

.usage-pill {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
}

.usage-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 20px 0;
}

@media (max-width: 1000px) {
  #workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  #chat-panel {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .credit-badge {
    padding: 6px 8px;
  }

  .credit-panel {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    top: auto;
    width: auto;
    border-radius: 16px;
  }

  .usage-modal {
    padding: 12px;
  }

  .usage-panel {
    padding: 16px;
  }

  .paywall-modal {
    align-items: flex-end;
    padding: 0;
  }

  .paywall-sheet {
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    max-height: 92vh;
    overflow-y: auto;
  }

  .paywall-table {
    font-size: 0.82rem;
  }
}

.auth-debug {
  position: fixed;
  bottom: 12px;
  right: 12px;
  width: 320px;
  background: #0b0e14;
  color: #e6e6eb;
  border: 1px solid #2a2f3a;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  z-index: 99999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.auth-debug.hidden {
  display: none;
}

.auth-debug-header {
  padding: 8px 10px;
  font-weight: 600;
  border-bottom: 1px solid #2a2f3a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-debug-row {
  padding: 6px 10px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  border-bottom: 1px solid #1c2029;
}

.auth-debug-row:last-child {
  border-bottom: none;
}

.auth-debug code,
.auth-debug pre {
  background: #131722;
  padding: 4px 6px;
  border-radius: 4px;
  overflow-x: auto;
  white-space: pre-wrap;
}

.auth-debug button {
  background: none;
  border: none;
  color: #9aa4ff;
  cursor: pointer;
}
