/* === Auth Pages (login, signup, verify, etc.) === */

.auth-container {
  max-width: 440px;
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-4) var(--sp-20);
}

.auth-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

/* Header */
.auth-header {
  text-align: center;
  margin-bottom: var(--sp-6);
}
.auth-header-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-4);
  background: var(--color-danger-dim);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
}
.auth-header h1 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-1);
}
.auth-header p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Benefits (register) */
.auth-benefits {
  padding: var(--sp-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
}
.auth-benefits h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.auth-benefits h3 i {
  color: var(--color-primary);
}
.auth-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.auth-benefits li {
  padding: var(--sp-1) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.auth-benefits li i {
  color: #22c55e;
  font-size: var(--text-xs);
}

/* Messages & errors */
.auth-messages {
  margin-bottom: var(--sp-4);
}
.auth-message {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  margin-bottom: var(--sp-2);
}
.auth-message.success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
}
.auth-message.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
}
.auth-message.info {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}
.auth-errors {
  padding: var(--sp-3) var(--sp-4);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
}
.auth-errors ul {
  margin: 0;
  padding-left: var(--sp-4);
  color: #ef4444;
  font-size: var(--text-sm);
}
.auth-errors li {
  margin: 2px 0;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.auth-field label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}
.auth-input {
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--r-sm);
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}
.auth-input:focus {
  outline: none;
  border-color: var(--color-primary);
}
.auth-input::placeholder {
  color: var(--text-muted);
}

/* Checkbox */
.auth-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}
.auth-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.auth-checkbox-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}
.auth-checkbox-label a {
  color: var(--color-primary);
  text-decoration: none;
}
.auth-checkbox-label a:hover {
  text-decoration: underline;
}

/* Submit button */
.auth-submit {
  width: 100%;
  padding: var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
.auth-submit:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

/* Forgot password link */
.auth-forgot {
  text-align: right;
  margin-top: calc(var(--sp-1) * -1);
}
.auth-forgot a {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.auth-forgot a:hover {
  color: var(--color-primary);
}

/* Password hint */
.auth-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--sp-1);
}
.auth-hint i {
  color: var(--color-primary);
  margin-right: 4px;
}

/* Divider */
.auth-divider {
  text-align: center;
  margin: var(--sp-5) 0;
  position: relative;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}
.auth-divider span {
  position: relative;
  background: var(--bg-surface);
  padding: 0 var(--sp-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

/* Google OAuth */
.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--transition-fast);
}
.auth-google:hover {
  border-color: var(--color-primary);
}

/* Footer */
.auth-footer {
  text-align: center;
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-color);
}
.auth-footer p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}
.auth-footer a {
  font-size: var(--text-sm);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.auth-footer a:hover {
  text-decoration: underline;
}

/* Verification code input */
.auth-code-input {
  text-align: center;
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.3em;
  padding: var(--sp-3);
}

/* Warning message variant */
.auth-message.warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f59e0b;
}

/* Info box */
.auth-info-box {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
  font-size: var(--text-sm);
  color: #3b82f6;
}
.auth-info-box i { margin-top: 2px; flex-shrink: 0; }

/* Warning box */
.auth-warning-box {
  padding: var(--sp-4);
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
}
.auth-warning-box h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #ef4444;
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.auth-warning-box ul {
  margin: 0;
  padding-left: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.auth-warning-box li { margin-bottom: 2px; }

/* Submit danger variant */
.auth-submit--danger {
  background: #dc2626;
}
.auth-submit--danger:hover {
  background: #b91c1c;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Resend link */
.auth-resend {
  display: inline-block;
  padding: var(--sp-2) var(--sp-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--r-sm);
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: border-color var(--transition-fast);
}
.auth-resend:hover { border-color: var(--color-primary); }
.auth-resend--disabled {
  color: var(--text-muted);
  pointer-events: none;
}

/* Timer */
.auth-timer {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--sp-3);
}
.auth-timer strong {
  color: var(--color-primary);
  font-family: 'DM Mono', monospace;
}

/* Skip link */
.auth-skip {
  display: block;
  text-align: center;
  margin-top: var(--sp-3);
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}
.auth-skip:hover { color: var(--text-secondary); }

/* Email display */
.auth-email-display {
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  text-align: center;
  margin-bottom: var(--sp-5);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

/* Code verified badge */
.auth-code-verified {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: #22c55e;
}

/* Password section divider */
.auth-password-section {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-color);
}
.auth-password-section h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--sp-4);
}

/* Password requirements */
.auth-pw-requirements {
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
}
.auth-pw-requirements h4 {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
}
.auth-pw-requirements ul {
  margin: 0;
  padding-left: var(--sp-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.auth-pw-requirements li { margin-bottom: 2px; }


/* === Dashboard Pages (profile, api-keys, etc.) === */

.dash-container {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-4) var(--sp-20);
}

/* Page header */
.dash-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}
.dash-header h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-1);
}
.dash-header p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Back link */
.dash-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: var(--sp-4);
  transition: color var(--transition-fast);
}
.dash-back:hover { color: var(--color-primary); }

/* Messages */
.dash-messages { margin-bottom: var(--sp-6); }

/* Card grid */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}

/* Card */
.dash-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
}
.dash-card + .dash-card:not(.dash-grid .dash-card) {
  margin-top: var(--sp-5);
}
.dash-card h2 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.dash-card h2 i { color: var(--color-primary); }
.dash-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--sp-3);
}

/* Info row */
.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.dash-row:last-child { border-bottom: none; }
.dash-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.dash-value {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

/* Tier badge */
.dash-tier {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dash-tier--free {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}
.dash-tier--plus, .dash-tier--premium {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}
.dash-tier--enterprise {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}
.dash-tier--unverified {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Verification warning */
.dash-verify-warn {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--r-md);
}
.dash-verify-warn > i {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.dash-verify-warn strong {
  display: block;
  font-size: var(--text-sm);
  color: #f59e0b;
  margin-bottom: 2px;
}
.dash-verify-warn p {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin: 0;
}
.dash-verify-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  text-decoration: none;
  border-radius: var(--r-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  transition: background var(--transition-fast);
}
.dash-verify-link:hover { background: rgba(245, 158, 11, 0.25); }

/* Usage bar */
.dash-usage-bar {
  background: var(--bg-elevated);
  border-radius: var(--r-full);
  height: 8px;
  overflow: hidden;
  margin-top: var(--sp-2);
}
.dash-usage-fill {
  background: var(--color-primary);
  height: 100%;
  border-radius: var(--r-full);
  transition: width 0.3s;
}
.dash-usage-text {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Action buttons */
.dash-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
  margin-top: var(--sp-3);
}
.dash-btn:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 12px var(--color-primary-glow);
}
.dash-btn--secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.dash-btn--secondary:hover {
  border-color: var(--color-primary);
  box-shadow: none;
  background: var(--bg-elevated);
}
.dash-btn--danger {
  background: #dc2626;
}
.dash-btn--danger:hover {
  background: #b91c1c;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}
.dash-btn--small {
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  margin-top: 0;
}
.dash-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* Card separator */
.dash-separator {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: var(--sp-4) 0;
}

/* API Key items */
.dash-key-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-3);
  transition: border-color var(--transition-fast);
}
.dash-key-item:hover { border-color: var(--text-muted); }
.dash-key-item--inactive { opacity: 0.6; }
.dash-key-info { flex: 1; min-width: 0; }
.dash-key-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-bottom: 4px;
}
.dash-key-meta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.dash-key-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dash-key-prefix {
  font-family: 'DM Mono', monospace;
  color: var(--text-secondary);
}
.dash-key-actions {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}

/* Status badge */
.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 500;
}
.dash-status--active {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}
.dash-status--inactive {
  background: var(--bg-elevated);
  color: var(--text-muted);
}

/* New key display */
.dash-new-key {
  padding: var(--sp-4);
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
}
.dash-new-key h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #22c55e;
  margin-bottom: var(--sp-2);
}
.dash-new-key .dash-new-key-warn {
  font-size: var(--text-xs);
  color: #f59e0b;
  margin-bottom: var(--sp-3);
}
.dash-new-key-row {
  display: flex;
  gap: var(--sp-2);
}
.dash-new-key-row input {
  flex: 1;
  padding: var(--sp-2) var(--sp-3);
  font-family: 'DM Mono', monospace;
  font-size: var(--text-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--r-sm);
  color: var(--text-primary);
}
.dash-copy-btn {
  padding: var(--sp-2) var(--sp-3);
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  transition: background var(--transition-fast);
}
.dash-copy-btn:hover { background: #16a34a; }
.dash-copy-btn--copied { background: #166534; }

/* Usage info bar */
.dash-usage-info {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.dash-usage-info i { color: var(--text-muted); }
.dash-usage-info strong { color: var(--color-primary); }

/* Empty state */
.dash-empty {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  color: var(--text-muted);
}
.dash-empty i {
  font-size: 2.5rem;
  margin-bottom: var(--sp-3);
  opacity: 0.4;
}
.dash-empty h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--sp-1);
}
.dash-empty p { font-size: var(--text-sm); }

/* Code block */
.dash-code {
  background: #0f172a;
  color: #e2e8f0;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  overflow-x: auto;
  font-size: var(--text-xs);
  font-family: 'DM Mono', monospace;
  line-height: 1.6;
}
.dash-code-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-3);
}
.dash-code-label code {
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: var(--r-xs);
  font-size: var(--text-xs);
  font-family: 'DM Mono', monospace;
}

/* Upgrade notice */
.dash-upgrade {
  padding: var(--sp-4);
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--r-md);
  margin-top: var(--sp-4);
}
.dash-upgrade h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: var(--sp-1);
}
.dash-upgrade p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
}
.dash-upgrade a {
  color: #f59e0b;
  font-weight: 500;
  text-decoration: none;
}
.dash-upgrade a:hover { text-decoration: underline; }

/* Confirm dialog */
.dash-dialog {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.dash-dialog--active { display: flex; }
.dash-dialog-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  max-width: 380px;
  width: 90%;
  text-align: center;
}
.dash-dialog-box h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}
.dash-dialog-box p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-5);
}
.dash-dialog-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
}
.dash-dialog-actions .dash-btn { margin-top: 0; }

/* Responsive */
@media (max-width: 768px) {
  .auth-container {
    padding: var(--sp-10) var(--sp-4) var(--sp-12);
  }
  .auth-card {
    padding: var(--sp-5);
  }
  .dash-container {
    padding: var(--sp-8) var(--sp-4) var(--sp-12);
  }
  .dash-card {
    padding: var(--sp-5);
  }
  .dash-key-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }
  .dash-key-actions { width: 100%; }
  .dash-key-actions form,
  .dash-key-actions button { flex: 1; }
  .dash-new-key-row { flex-direction: column; }
}
