/* developers.css — Strut Developer Platform ($100k Engineering Grade) */

:root {
  --bg-app: #09090b;
  --bg-surface: #121214;
  --bg-surface-elevated: #18181b;
  --bg-input: #0e0e11;
  --bg-hover: #1f1f23;

  --border-default: #27272a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #52525b;

  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dim: #52525b;

  --accent-primary: #fafafa;
  --accent-primary-text: #09090b;
  --accent-blue: #3b82f6;

  --status-success-bg: rgba(16, 185, 129, 0.12);
  --status-success-text: #34d399;
  --status-warn-bg: rgba(245, 158, 11, 0.12);
  --status-warn-text: #fbbf24;
  --status-error-bg: rgba(239, 68, 68, 0.12);
  --status-error-text: #f87171;

  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.dev-body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography & Helpers */
.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* ========================================================================= */
/* BUTTON SYSTEM */
/* ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 120ms var(--ease-standard),
              border-color 120ms var(--ease-standard),
              color 120ms var(--ease-standard),
              transform 120ms var(--ease-standard);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 600;
}
.btn-primary:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-focus);
}

.btn-tertiary {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-default);
}
.btn-tertiary:hover {
  color: #fff;
  background: var(--bg-surface);
}

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

.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
}

.btn-xs {
  padding: 4px 8px;
  font-size: 11.5px;
}

.btn-full {
  width: 100%;
}

/* ========================================================================= */
/* FORM CONTROLS */
/* ========================================================================= */
.form-field {
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field-input, .field-select, .field-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 120ms var(--ease-standard);
}

.field-input:focus, .field-select:focus, .field-textarea:focus {
  border-color: var(--border-focus);
}

.field-textarea {
  resize: vertical;
  min-height: 80px;
}

.input-prefix-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix-wrap .prefix {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.field-input.prefixed {
  padding-left: 26px;
  font-family: 'JetBrains Mono', monospace;
}

.field-slider {
  width: 100%;
  height: 5px;
  border-radius: 4px;
  background: var(--border-default);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.field-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

/* ========================================================================= */
/* 1. AUTHENTICATION VIEW */
/* ========================================================================= */
.auth-view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background: var(--bg-app);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 36px;
}

.auth-header {
  margin-bottom: 24px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 18px;
}

.auth-brand-logo {
  height: 25px;
  width: auto;
  display: block;
  object-fit: contain;
}

.auth-badge {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-default);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.auth-error-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 3px;
  margin-bottom: 18px;
}

.auth-mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 120ms var(--ease-standard);
}

.auth-mode-btn:hover {
  color: var(--text-primary);
}

.auth-mode-btn.active {
  background: var(--bg-surface);
  color: #fff;
  font-weight: 600;
  border: 1px solid var(--border-default);
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.label-row .field-label {
  margin-bottom: 0;
}

.btn-toggle-pw {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.btn-toggle-pw:hover {
  color: var(--text-primary);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}
.auth-divider span {
  padding: 0 12px;
  color: var(--text-dim);
  font-size: 11.5px;
  text-transform: uppercase;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.link {
  color: var(--text-primary);
  text-decoration: none;
}
.link:hover { text-decoration: underline; }

/* ========================================================================= */
/* 2. CONSOLE TOPBAR */
/* ========================================================================= */
.console-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-app);
  border-bottom: 1px solid var(--border-default);
  height: 52px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand-logo {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 160ms ease;
}

.nav-brand:hover .nav-brand-logo {
  opacity: 0.85;
}

.nav-divider {
  color: var(--text-dim);
  font-size: 14px;
}

.org-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.org-name {
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
}

.env-tag.live {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.console-tabs {
  display: flex;
  gap: 2px;
  margin-left: 12px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 120ms var(--ease-standard), background-color 120ms var(--ease-standard);
  text-decoration: none;
}

.tab-btn:hover {
  color: #fff;
  background: var(--bg-surface);
}

.tab-btn.active {
  color: #fff;
  background: var(--bg-surface-elevated);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.system-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--border-default);
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--border-default);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ========================================================================= */
/* MAIN CONTENT LAYOUT */
/* ========================================================================= */
.console-main {
  max-width: 1340px;
  margin: 0 auto;
  padding: 32px 24px;
}

.view-panel {
  display: none;
}
.view-panel.active {
  display: block;
}

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

.panel-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
}

.panel-desc {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ========================================================================= */
/* METRICS GRID */
/* ========================================================================= */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 18px;
}

.metric-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-sublabel {
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

.metric-value-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.metric-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.metric-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.metric-badge.positive {
  background: var(--status-success-bg);
  color: var(--status-success-text);
}
.metric-badge.neutral {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.metric-dim {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-dim);
}

.progress-bar-wrap {
  background: var(--bg-app);
  border: 1px solid var(--border-subtle);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar-fill {
  background: var(--text-primary);
  height: 100%;
}

.metric-footer {
  font-size: 11.5px;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
}

/* ========================================================================= */
/* CONTENT CARDS & TABLES */
/* ========================================================================= */
.content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-heading {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.card-subtext {
  font-size: 13px;
  color: var(--text-muted);
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #34d399;
  font-family: 'JetBrains Mono', monospace;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.data-table th, .data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table td {
  color: var(--text-secondary);
}

.status-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
}
.status-tag.success { background: var(--status-success-bg); color: var(--status-success-text); }
.status-tag.ready { background: rgba(255, 255, 255, 0.08); color: var(--text-secondary); }
.status-tag.running { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.status-tag.error { background: var(--status-error-bg); color: var(--status-error-text); }

/* Code Box */
.code-box {
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: 6px;
  margin-top: 12px;
  overflow: hidden;
}

.code-box-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.code-box-title {
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
}

.code-box-content {
  padding: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--text-primary);
  overflow-x: auto;
}

/* ========================================================================= */
/* PLAYGROUND LAYOUT */
/* ========================================================================= */
.playground-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
}

.rate-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #34d399;
  background: var(--status-success-bg);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
}

.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.inspector-tabs {
  display: flex;
  gap: 4px;
}

.insp-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.insp-tab:hover { color: #fff; }
.insp-tab.active {
  background: var(--bg-surface-elevated);
  color: #fff;
  font-weight: 600;
}

.inspector-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.latency-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}

.inspector-pane {
  display: none;
}
.inspector-pane.active {
  display: block;
}

.answer-box {
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  min-height: 160px;
  max-height: 380px;
  overflow-y: auto;
  margin-bottom: 14px;
}

.empty-state-text {
  color: var(--text-dim);
  text-align: center;
  margin-top: 40px;
}

.citations-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 160px;
  overflow-y: auto;
}

.citation-row {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

.json-viewer {
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 14px;
  max-height: 480px;
  overflow: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #a1a1aa;
}

/* Waterfall */
.waterfall-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.wf-item {
  display: flex;
  align-items: center;
  font-size: 12px;
}

.wf-name {
  width: 170px;
  color: var(--text-muted);
}

.wf-track {
  flex: 1;
  background: var(--bg-app);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin: 0 12px;
}

.wf-fill {
  background: var(--text-primary);
  height: 100%;
}

.wf-ms {
  width: 60px;
  text-align: right;
  color: var(--text-secondary);
}

/* ========================================================================= */
/* BILLING TAB */
/* ========================================================================= */
.billing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.billing-rate-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.rate-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.rate-title { color: var(--text-secondary); }
.rate-price { color: #fff; font-weight: 500; }

/* ========================================================================= */
/* MODAL */
/* ========================================================================= */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

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

@media (max-width: 960px) {
  /* minmax(0, 1fr) rather than 1fr: a plain 1fr track takes its automatic
     minimum from the item's min-content, and the playground's <select> has a
     wide intrinsic width (its longest option), so the column grew past the
     viewport and the page scrolled sideways. */
  .playground-layout, .billing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .playground-layout > *,
  .billing-grid > * {
    min-width: 0;
  }
}

/* ========================================================================= */
/* RESPONSIVE — NARROW VIEWPORTS */
/* ========================================================================= */
/* The console nav is a fixed 52px justify-between row carrying brand, org,
   five tabs and four right-hand controls. Measured, that row needs 921px, so
   the breakpoint sits at 960px (matching the grid query below) rather than at
   a guessed 900px, which left 901-920px still overflowing. Below it the nav
   becomes a stack: identity, then a scrollable tab strip, then the account
   controls. Nothing depends on the 52px height. */
@media (max-width: 960px) {
  .console-nav {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 8px;
  }

  .nav-left {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
  }

  /* Five tabs never fit on a phone; scroll them instead of clipping them. */
  .console-tabs {
    flex: 1 1 100%;
    margin-left: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .console-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nav-right {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  /* Decorative status readout; the account controls need the width more. */
  .system-status {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Two space-between items that each wrapped to two lines; stack them. */
  .auth-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 720px) {
  /* Three view tabs plus three status controls on one justify-between row.
     Split them: tabs scroll on their own row, status sits underneath. */
  .inspector-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .inspector-tabs {
    flex: 1 1 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .inspector-tabs::-webkit-scrollbar {
    display: none;
  }

  .insp-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .inspector-meta {
    flex: 1 1 100%;
    flex-wrap: wrap;
  }
}

/* Status pill states. The dot used to be a single static green; it now tracks
   an actual health probe against /v1/models. */
.status-indicator-dot.checking { background: var(--text-muted); }
.status-indicator-dot.ok { background: #34d399; }
.status-indicator-dot.down { background: #f87171; }

/* Metered-rate rows on the Limits tab. */
.rate-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }

.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.rate-row:last-child { border-bottom: none; padding-bottom: 0; }

.field-hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  min-height: 1em;
}

/* Cards on the Limits tab: give the first field room under the description. */
.content-card .card-subtext + .form-field { margin-top: 18px; }
