/* ============================================
   TAOps Consulting — Interview Kit Generator
   styles.css v1.2 — matches Job Posting Improver exactly
   Palette: Inter / slate / teal (#0f766e)
   ============================================ */

:root {
  /* Brand — exact match to Job Posting Improver */
  --brand-50:   #f0fdfa;
  --brand-700:  #0f766e;
  --brand-800:  #115e59;

  /* Slate */
  --slate-900:  #0f172a;
  --slate-700:  #334155;
  --slate-600:  #475569;
  --slate-500:  #64748b;
  --slate-400:  #94a3b8;
  --slate-300:  #cbd5e1;
  --slate-200:  #e2e8f0;
  --slate-100:  #f1f5f9;
  --slate-50:   #f8fafc;

  /* Semantic aliases */
  --primary:        var(--slate-900);
  --primary-mid:    var(--slate-700);
  --accent:         var(--brand-700);
  --accent-light:   var(--brand-50);
  --success:        var(--brand-700);
  --success-light:  var(--brand-50);
  --warning:        #b45309;
  --warning-light:  #fef3cd;
  --danger:         #dc2626;
  --danger-light:   #fee2e2;

  --text-dark:   var(--slate-900);
  --text-mid:    var(--slate-700);
  --text-muted:  var(--slate-500);
  --border:      var(--slate-200);
  --border-mid:  var(--slate-300);
  --bg:          var(--slate-50);
  --bg-white:    #ffffff;
  --bg-card:     #ffffff;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --radius:     8px;
  --radius-lg:  12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: var(--slate-900);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}
.logo-fallback {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--brand-700);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}
.logo-accent { color: var(--slate-900); } /* no teal on "Consulting" */

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--brand-700); }

.user-menu { display: flex; align-items: center; gap: 16px; }
.user-email { font-size: 0.8125rem; color: var(--slate-600); font-weight: 500; }
.btn-logout {
  background: #fff;
  border: 1px solid var(--brand-700);
  color: var(--brand-700);
  border-radius: var(--radius);
  padding: 5px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-logout:hover { background: var(--brand-50); }

.btn-header-login {
  background: #fff;
  border: 1px solid var(--brand-700);
  color: var(--brand-700);
  border-radius: var(--radius);
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-header-login:hover { background: var(--brand-50); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: #fff;
  padding: 80px 24px 64px;
}
.hero-inner {
  max-width: 1024px;
  margin: 0 auto;
}
.hero-content { max-width: 560px; }

.product-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--slate-500);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Hero feature bullets */
.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.4;
}
.hero-check {
  flex-shrink: 0;
  margin-top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-700);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-cta-primary:hover { background: var(--brand-800); }

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn-cta-secondary:hover { background: var(--slate-50); border-color: var(--slate-300); }

/* ── Section dividers ─────────────────────────────────────────────────────── */
.section-divider { border: none; border-top: 1px solid var(--slate-100); margin: 0; }

/* ── How it works ─────────────────────────────────────────────────────────── */
.how-it-works {
  background: #fff;
  padding: 64px 24px;
}
.how-it-works .section-inner { max-width: 900px; margin: 0 auto; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 12px;
  text-align: center;
}
.section-heading {
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card { display: flex; flex-direction: column; gap: 12px; }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card h3 { font-size: 0.9375rem; font-weight: 600; color: var(--slate-900); }
.step-card p  { font-size: 0.875rem; color: var(--slate-500); line-height: 1.6; }

/* ── App Container ─────────────────────────────────────────────────────────── */
.app-section {
  background: var(--slate-50);
  padding: 48px 24px 80px;
  flex: 1;
}
.app-wrapper { max-width: 820px; margin: 0 auto; }

/* ── Kit allowance bar ─────────────────────────────────────────────────────── */
.allowance-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.allowance-bar .allowance-text { font-size: 0.84rem; color: var(--text-mid); font-weight: 500; white-space: nowrap; }
.allowance-bar .allowance-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.allowance-bar .allowance-fill  { height: 100%; background: var(--brand-700); border-radius: 3px; transition: width 0.3s; }
.allowance-bar .allowance-fill.warning { background: var(--warning); }
.allowance-bar .allowance-fill.full    { background: var(--danger); }

/* ── Progress Bar ─────────────────────────────────────────────────────────── */
.progress-bar-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.progress-steps { display: flex; align-items: center; margin-bottom: 14px; }
.step { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--slate-200); color: var(--slate-500);
  font-size: 0.8rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.step.active    .step-dot { background: var(--brand-700); color: #fff; }
.step.completed .step-dot { background: var(--brand-700); color: #fff; }
.step span { font-size: 0.8rem; font-weight: 500; color: var(--slate-500); white-space: nowrap; }
.step.active    span { color: var(--brand-700); font-weight: 600; }
.step.completed span { color: var(--brand-700); }
.step-line { flex: 1; height: 2px; background: var(--slate-200); margin: 0 10px; min-width: 20px; }
.progress-track  { height: 4px; background: var(--slate-200); border-radius: 2px; overflow: hidden; }
.progress-fill   { height: 100%; background: var(--brand-700); border-radius: 2px; transition: width 0.4s ease; width: 0%; }

/* ── Form Steps ───────────────────────────────────────────────────────────── */
.form-step { display: none; }
.form-step.active { display: block; }

.step-header {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.step-header h2 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; }
.step-header p  { color: var(--slate-500); font-size: 0.875rem; line-height: 1.5; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }

label { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); }
.required { color: var(--brand-700); }

input[type="text"], select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--slate-900);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}
input[type="text"]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.12);
}
select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
textarea { resize: vertical; min-height: 200px; }
.char-count { font-size: 0.75rem; color: var(--slate-400); text-align: right; margin-top: 4px; }

/* ── Rounds Selector ─────────────────────────────────────────────────────── */
.rounds-selector { display: flex; gap: 10px; margin-bottom: 20px; }
.round-btn {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  border: 2px solid var(--slate-300);
  background: #fff;
  font-size: 1rem; font-weight: 600;
  color: var(--slate-500);
  cursor: pointer;
  transition: all 0.15s;
}
.round-btn:hover { border-color: var(--brand-700); color: var(--brand-700); }
.round-btn.active { border-color: var(--brand-700); background: var(--brand-700); color: #fff; }

/* ── Round Config Cards ───────────────────────────────────────────────────── */
.round-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.round-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.round-number {
  width: 32px; height: 32px;
  background: var(--brand-700); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}
.round-card-header h4 { font-size: 0.9375rem; font-weight: 600; color: var(--slate-900); }

/* ── Interview Type Checkboxes ────────────────────────────────────────────── */
.interview-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.type-option {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  cursor: pointer; transition: all 0.15s;
  font-size: 0.85rem; font-weight: 500;
  color: var(--slate-600); user-select: none;
}
.type-option:hover   { border-color: var(--brand-700); background: var(--brand-50); }
.type-option.selected { border-color: var(--brand-700); background: var(--brand-50); color: var(--slate-900); }
.type-option input { display: none; }
.type-check {
  width: 16px; height: 16px;
  border: 2px solid var(--slate-300);
  border-radius: 4px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.type-option.selected .type-check { background: var(--brand-700); border-color: var(--brand-700); }
.type-option.selected .type-check::after { content: '✓'; color: #fff; font-size: 0.65rem; font-weight: 700; }

/* ── Interview Format Options ─────────────────────────────────────────────── */
.interview-formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.format-option {
  padding: 7px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  cursor: pointer; font-size: 0.82rem; font-weight: 500;
  color: var(--slate-600); transition: all 0.15s; user-select: none;
}
.format-option:hover  { border-color: var(--brand-700); color: var(--brand-700); }
.format-option.selected { border-color: var(--brand-700); background: var(--brand-50); color: var(--slate-900); font-weight: 600; }

/* ── Info Box ─────────────────────────────────────────────────────────────── */
.info-box {
  display: flex; gap: 12px;
  background: var(--brand-50);
  border: 1px solid rgba(15,118,110,0.2);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.info-icon { color: var(--brand-700); font-size: 1rem; flex-shrink: 0; line-height: 1.5; }
.info-box p { font-size: 0.85rem; color: var(--slate-700); line-height: 1.5; }

/* ── Step Actions ─────────────────────────────────────────────────────────── */
.step-actions {
  display: flex; justify-content: flex-end; gap: 12px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--slate-200);
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--brand-700); color: #fff;
  border: none; border-radius: var(--radius);
  padding: 11px 24px; font-size: 0.875rem;
  font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background 0.15s;
}
.btn-primary:hover { background: var(--brand-800); }

.btn-secondary {
  background: #fff; color: var(--slate-700);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  padding: 11px 20px; font-size: 0.875rem;
  font-weight: 600; font-family: inherit;
  cursor: pointer; transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: var(--slate-900); color: var(--slate-900); }
.btn-secondary.small { padding: 7px 14px; font-size: 0.82rem; }

.btn-generate {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: var(--brand-700); color: #fff;
  border: none; border-radius: var(--radius-lg);
  padding: 16px 32px; font-size: 1rem;
  font-weight: 700; font-family: inherit;
  cursor: pointer; transition: background 0.15s;
  letter-spacing: -0.01em;
}
.btn-generate:hover { background: var(--brand-800); }
.btn-icon { font-size: 1.1rem; }

/* ── Review Card ──────────────────────────────────────────────────────────── */
.review-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.review-row { display: flex; padding: 10px 0; border-bottom: 1px solid var(--slate-100); gap: 16px; }
.review-row:last-child { border-bottom: none; padding-bottom: 0; }
.review-label {
  font-size: 0.78rem; font-weight: 600; color: var(--slate-400);
  width: 160px; flex-shrink: 0; padding-top: 1px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.review-value { font-size: 0.875rem; color: var(--slate-900); font-weight: 500; }

.generate-section { margin-bottom: 12px; }
.generate-note { font-size: 0.79rem; color: var(--slate-400); text-align: center; margin-top: 12px; line-height: 1.5; }

/* ── Loading ──────────────────────────────────────────────────────────────── */
.loading-state {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px; text-align: center; box-shadow: var(--shadow-sm);
}
.loading-inner h3 { font-size: 1.1rem; font-weight: 600; color: var(--slate-900); margin-bottom: 24px; }
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--slate-200);
  border-top-color: var(--brand-700);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-steps { display: flex; flex-direction: column; gap: 8px; max-width: 280px; margin: 0 auto; }
.loading-step { font-size: 0.84rem; color: var(--slate-400); padding: 6px 12px; border-radius: var(--radius); transition: all 0.3s; }
.loading-step.active { color: var(--brand-700); font-weight: 600; background: var(--brand-50); }
.loading-step.done   { color: var(--brand-700); font-weight: 500; }

/* ── Output Panel ─────────────────────────────────────────────────────────── */
.output-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.output-header {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-900);
  color: #fff;
}
.output-header h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.output-header p  { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.confidence-badge {
  padding: 5px 12px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; flex-shrink: 0;
}
.confidence-badge.high   { background: rgba(15,118,110,0.25); color: #6ee7b7; border: 1px solid rgba(110,231,183,0.3); }
.confidence-badge.medium { background: rgba(234,179,8,0.2);  color: #fde047; border: 1px solid rgba(253,224,71,0.3); }
.confidence-badge.low    { background: rgba(220,38,38,0.2);  color: #fca5a5; border: 1px solid rgba(252,165,165,0.3); }

.confidence-summary { padding: 12px 28px; font-size: 0.85rem; line-height: 1.5; }
.confidence-summary.high   { background: var(--brand-50);      color: var(--brand-700);  border-bottom: 1px solid rgba(15,118,110,0.2); }
.confidence-summary.medium { background: var(--warning-light); color: var(--warning);    border-bottom: 1px solid #fde68a; }
.confidence-summary.low    { background: var(--danger-light);  color: var(--danger);     border-bottom: 1px solid #fecaca; }

/* ── Output Tabs ──────────────────────────────────────────────────────────── */
.output-tabs {
  display: flex; border-bottom: 1px solid var(--slate-200);
  padding: 0 20px; background: #fff; overflow-x: auto;
}
.tab-btn {
  background: none; border: none;
  padding: 14px 18px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--slate-500); cursor: pointer;
  border-bottom: 2px solid transparent;
  font-family: inherit; white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.tab-btn:hover  { color: var(--brand-700); }
.tab-btn.active { color: var(--brand-700); border-bottom-color: var(--brand-700); }

.tab-content        { display: none; padding: 28px; }
.tab-content.active { display: block; }

/* ── Output Content ───────────────────────────────────────────────────────── */
.section-block { margin-bottom: 24px; }
.section-block h3 {
  font-size: 0.9375rem; font-weight: 700; color: var(--slate-900);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.section-block h3 .section-icon { font-size: 1rem; }
.section-block p, .section-block li { font-size: 0.875rem; color: var(--slate-600); line-height: 1.6; }
.section-block ul  { padding-left: 18px; }
.section-block li  { margin-bottom: 5px; }

.round-summary-card { border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.round-summary-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.round-badge {
  background: var(--slate-900); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 12px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.round-summary-header h4 { font-size: 0.875rem; font-weight: 600; color: var(--slate-900); }
.round-summary-body { padding: 14px 16px; }

.signal-tag {
  display: inline-block;
  background: var(--brand-50); color: var(--brand-700);
  font-size: 0.74rem; font-weight: 600;
  padding: 3px 10px; border-radius: 12px; margin: 3px;
  border: 1px solid rgba(15,118,110,0.2);
}
.signal-tag.must-have  { background: var(--brand-50); color: var(--brand-700); border-color: rgba(15,118,110,0.25); }
.signal-tag.nice-to-have { background: var(--slate-100); color: var(--slate-600); border-color: var(--slate-200); }

/* ── Signal Coverage Map ──────────────────────────────────────────────────── */
.coverage-table-wrapper { overflow-x: auto; }
.coverage-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.coverage-table th {
  background: var(--slate-900); color: rgba(255,255,255,0.85);
  padding: 10px 14px; font-weight: 600; text-align: left;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.coverage-table td   { padding: 10px 14px; border-bottom: 1px solid var(--slate-100); color: var(--slate-600); }
.coverage-table tr:last-child td { border-bottom: none; }
.coverage-table tr:hover td { background: var(--slate-50); }
.coverage-check { color: var(--brand-700); font-weight: 700; font-size: 1rem; }
.coverage-empty { color: var(--slate-300); font-size: 1rem; }

/* ── Interviewer Kit Cards ────────────────────────────────────────────────── */
.interviewer-kit-card { border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
.kit-card-header {
  background: var(--slate-900); color: #fff;
  padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.kit-card-header h3 { font-size: 0.9375rem; font-weight: 700; }
.kit-card-header .kit-type { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.kit-export-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; padding: 5px 14px;
  border-radius: var(--radius); font-size: 0.78rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.kit-export-btn:hover { background: rgba(255,255,255,0.2); }
.kit-card-body { padding: 20px; }

.kit-objective {
  background: var(--brand-50);
  border-left: 3px solid var(--brand-700);
  padding: 12px 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.85rem; color: var(--slate-700);
  margin-bottom: 16px; line-height: 1.5;
}

.question-block { border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.question-block .q-signal { font-size: 0.7rem; font-weight: 700; color: var(--brand-700); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px; }
.question-block .q-primary { font-size: 0.9375rem; font-weight: 600; color: var(--slate-900); margin-bottom: 8px; line-height: 1.4; }
.question-block .q-assesses { font-size: 0.8rem; color: var(--slate-400); margin-bottom: 8px; font-style: italic; }

.q-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.q-detail-block { background: var(--slate-50); border-radius: var(--radius); padding: 10px 12px; }
.q-detail-block .q-detail-label { font-size: 0.7rem; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 5px; }
.q-detail-block .q-detail-items { font-size: 0.82rem; color: var(--slate-600); }
.q-detail-block .q-detail-items li { margin-bottom: 3px; padding-left: 2px; }
.good-signal { color: var(--brand-700) !important; }
.red-flag    { color: var(--danger) !important; }

.probe-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.probe-item {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 8px 12px; font-size: 0.82rem; color: var(--slate-600); font-style: italic;
}

/* ── Guidance Tab ─────────────────────────────────────────────────────────── */
.guidance-block {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px 22px; margin-bottom: 14px;
}
.guidance-block h3 {
  font-size: 0.9rem; font-weight: 700; color: var(--slate-900);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--slate-200);
}
.guidance-block p, .guidance-block li { font-size: 0.85rem; color: var(--slate-600); line-height: 1.6; margin-bottom: 6px; }
.guidance-block ul, .guidance-block ol { padding-left: 18px; }
.do-not-list li { color: var(--danger); }
.do-not-list li::marker { color: var(--danger); }

/* ── Export / Share Bar ───────────────────────────────────────────────────── */
.export-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--slate-200);
  background: var(--slate-50);
  flex-wrap: wrap; gap: 10px;
}
.export-left  { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.export-label { font-size: 0.8rem; font-weight: 600; color: var(--slate-500); }
.export-btn {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 6px 14px; font-size: 0.8rem; font-weight: 600;
  color: var(--slate-700); cursor: pointer; font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}
.export-btn:hover { border-color: var(--brand-700); color: var(--brand-700); }

/* ── Consulting Callout ───────────────────────────────────────────────────── */
.consulting-callout {
  margin: 16px 24px 24px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.consulting-callout h4 { font-size: 0.9rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.consulting-callout p  { font-size: 0.84rem; color: var(--slate-500); line-height: 1.5; }
.consulting-callout a  { color: var(--brand-700); text-decoration: none; font-weight: 600; }

/* ── Auth Modal ───────────────────────────────────────────────────────────── */
.auth-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.5);
  z-index: 500; display: flex;
  align-items: center; justify-content: center; padding: 16px;
}
.auth-modal {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
}
.auth-modal-header { background: var(--slate-900); color: #fff; padding: 22px 28px 18px; }
.auth-modal-header h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.auth-modal-header p  { font-size: 0.84rem; color: rgba(255,255,255,0.6); }
.auth-tabs { display: flex; border-bottom: 1px solid var(--slate-200); }
.auth-tab {
  flex: 1; padding: 12px; text-align: center;
  font-size: 0.875rem; font-weight: 600;
  color: var(--slate-500); cursor: pointer;
  border-bottom: 2px solid transparent; transition: all 0.15s;
}
.auth-tab.active { color: var(--brand-700); border-bottom-color: var(--brand-700); }
.auth-form { padding: 24px 28px; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form label { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); display: block; margin-bottom: 6px; }
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  font-size: 0.875rem; font-family: inherit;
  color: var(--slate-900); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-form input:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(15,118,110,0.12); }
.auth-btn-primary {
  width: 100%; background: var(--brand-700); color: #fff;
  border: none; border-radius: var(--radius);
  padding: 12px; font-size: 0.9rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background 0.15s; margin-top: 4px;
}
.auth-btn-primary:hover { background: var(--brand-800); }
.auth-error {
  background: var(--danger-light); color: var(--danger);
  border: 1px solid #fecaca; border-radius: var(--radius);
  padding: 10px 14px; font-size: 0.84rem; margin-bottom: 14px; display: none;
}
.auth-link {
  font-size: 0.82rem; color: var(--brand-700); text-decoration: none;
  cursor: pointer; background: none; border: none;
  font-family: inherit; padding: 0;
}
.auth-link:hover { text-decoration: underline; }
.auth-footer { padding: 0 28px 20px; font-size: 0.82rem; color: var(--slate-400); text-align: center; }
.password-hint { font-size: 0.76rem; color: var(--slate-400); margin-top: 4px; }

/* ── Waitlist Modal ───────────────────────────────────────────────────────── */
.waitlist-modal {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
}
.waitlist-form { padding: 24px 28px 20px; }
.waitlist-form .form-group { margin-bottom: 14px; }
.waitlist-form label {
  font-size: 0.85rem; font-weight: 600; color: var(--slate-700);
  display: block; margin-bottom: 6px;
}
.waitlist-form .form-optional { font-weight: 400; color: var(--slate-400); font-size: 0.8rem; }
.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--slate-300); border-radius: var(--radius);
  font-size: 0.875rem; font-family: inherit;
  color: var(--slate-900); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s; box-sizing: border-box;
}
.waitlist-form input:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(15,118,110,0.12); }
.waitlist-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.waitlist-success { padding: 32px 28px; text-align: center; }
.waitlist-success-icon {
  width: 40px; height: 40px; background: var(--success-light); color: var(--success);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; margin: 0 auto 14px;
}
.waitlist-success p { font-size: 0.9rem; color: var(--slate-600); line-height: 1.6; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}
.footer-inner {
  max-width: 1152px; margin: 0 auto;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-powered {
  font-size: 0.875rem; color: var(--slate-600);
}
.footer-powered a {
  color: var(--brand-700); font-weight: 600; text-decoration: none;
}
.footer-powered a:hover { text-decoration: underline; }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a {
  font-size: 0.8rem; color: var(--slate-500); text-decoration: none; transition: color 0.15s;
}
.footer-legal-links a:hover { color: var(--brand-700); }
.footer-disclaimer {
  font-size: 0.75rem; color: var(--slate-400); line-height: 1.5; max-width: 700px;
}

/* ── Toast ────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--slate-900); color: #fff;
  padding: 12px 20px; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  box-shadow: var(--shadow-md); z-index: 1000;
  animation: toastIn 0.25s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Print / PDF ──────────────────────────────────────────────────────────── */
@media print {
  .site-header, .hero, .how-it-works, .section-divider,
  .progress-bar-wrapper, .form-step, .loading-state,
  .export-bar, .consulting-callout, .site-footer,
  .output-tabs, .tab-btn, .btn-generate,
  .step-actions, .auth-overlay, .allowance-bar { display: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }
  .app-section { padding: 0; background: #fff; }
  .app-wrapper { max-width: 100%; }

  .output-panel { display: block !important; border: none; box-shadow: none; }
  .output-header {
    background: #0f172a !important; color: #fff !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
    padding: 14px 20px;
  }
  .output-header::before {
    content: 'TAOps Consulting — Interview Kit Generator';
    display: block; font-size: 8pt; color: rgba(255,255,255,0.6);
    margin-bottom: 4pt; font-weight: 400;
  }

  .tab-content { display: block !important; padding: 10pt 0; }
  .tab-content + .tab-content { page-break-before: always; }

  .section-block { margin-bottom: 14pt; }
  .interviewer-kit-card { page-break-inside: avoid; margin-bottom: 14pt; border: 1pt solid #e2e8f0; }
  .kit-card-header { background: #0f172a !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .question-block { page-break-inside: avoid; border: 1pt solid #e2e8f0; margin-bottom: 8pt; }
  .q-detail-block { background: #f8fafc !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .signal-tag { border: 1pt solid #0f766e; background: #f0fdfa !important; color: #0f766e !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .coverage-table th { background: #0f172a !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .coverage-check { color: #0f766e !important; }

  @page { margin: 18mm; }
}

/* ── Nav active ──────────────────────────────────────────────────────────── */
.nav-active { color: var(--brand-700) !important; font-weight: 600 !important; }

/* ── Header CTA (Start free trial) ──────────────────────────────────────── */
.btn-header-cta {
  background: var(--brand-700); color: #fff;
  border: none; border-radius: var(--radius);
  padding: 7px 16px; font-size: 0.8125rem; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: background 0.15s;
  white-space: nowrap;
}
.btn-header-cta:hover { background: var(--brand-800); }

/* ── Hero two-column ─────────────────────────────────────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Hero preview card ───────────────────────────────────────────────────── */
.hero-preview-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  overflow: hidden;
}
.preview-card-header {
  background: var(--slate-900); color: #fff;
  padding: 14px 18px; display: flex; flex-direction: column; gap: 4px;
}
.preview-badge-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); }
.preview-role { font-size: 0.9375rem; font-weight: 700; }
.preview-meta { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.preview-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.preview-signal-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-50); border: 1px solid rgba(15,118,110,0.2);
  border-radius: 20px; padding: 4px 12px;
  font-size: 0.74rem; font-weight: 700; color: var(--brand-700);
  text-transform: uppercase; letter-spacing: 0.06em; width: fit-content;
}
.preview-q-text { font-size: 0.84rem; color: var(--slate-800); font-weight: 500; line-height: 1.5; font-style: italic; }
.preview-probe {
  font-size: 0.78rem; color: var(--slate-500);
  padding: 5px 10px; background: var(--slate-50);
  border-radius: var(--radius); border: 1px solid var(--slate-200);
}
.preview-card-footer {
  padding: 10px 18px; border-top: 1px solid var(--slate-100);
  display: flex; gap: 6px; flex-wrap: wrap;
}
.preview-stat-badge {
  font-size: 0.72rem; font-weight: 600; color: var(--slate-500);
  background: var(--slate-100); padding: 3px 10px; border-radius: 12px;
}

/* ── Feature sections ────────────────────────────────────────────────────── */
.feature-section { padding: 64px 24px; }
.feature-section.bg-white { background: #fff; }
.feature-section.bg-slate { background: var(--slate-50); }
.feature-section-inner { max-width: 900px; margin: 0 auto; }

.fs-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-700); margin-bottom: 12px;
}
.fs-heading {
  font-size: clamp(1.4rem, 3vw, 1.875rem); font-weight: 700;
  color: var(--slate-900); letter-spacing: -0.02em; margin-bottom: 18px;
}
.fs-body { font-size: 0.9375rem; color: var(--slate-600); line-height: 1.75; max-width: 720px; }

.fs-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.fs-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; color: var(--slate-700); line-height: 1.5; }
.fs-check {
  flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-700);
  font-size: 0.68rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.steps-4-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 32px; }

/* ── CTA banner ──────────────────────────────────────────────────────────── */
.cta-banner { background: var(--slate-900); padding: 72px 24px; text-align: center; }
.cta-banner h2 {
  font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; color: #fff;
  letter-spacing: -0.02em; margin-bottom: 28px;
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.cta-banner .btn-cta-primary { font-size: 1rem; padding: 14px 32px; }

/* ── Inner page hero ─────────────────────────────────────────────────────── */
.page-hero { background: #fff; border-bottom: 1px solid var(--slate-200); padding: 48px 24px 40px; }
.page-hero-inner { max-width: 820px; margin: 0 auto; }
.page-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.5rem,4vw,2.25rem); font-weight: 800; color: var(--slate-900); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 10px; }
.page-hero p { font-size: 0.9375rem; color: var(--slate-500); line-height: 1.65; max-width: 640px; }

/* ── About ───────────────────────────────────────────────────────────────── */
.about-section { padding: 56px 24px; }
.about-section.bg-white { background: #fff; }
.about-section.bg-slate  { background: var(--slate-50); }
.about-inner { max-width: 760px; margin: 0 auto; }
.about-inner h2 { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); margin-bottom: 14px; }
.about-inner p  { font-size: 0.9375rem; color: var(--slate-600); line-height: 1.75; margin-bottom: 12px; }
.about-inner p:last-child { margin-bottom: 0; }
.about-feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.about-feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; color: var(--slate-700); line-height: 1.5; }
.afl-check { flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-size: 0.68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.product-suite-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.suite-link { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--slate-200); border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; color: var(--slate-700); text-decoration: none; transition: border-color 0.15s, color 0.15s; }
.suite-link:hover { border-color: var(--brand-700); color: var(--brand-700); }

/* ── Dashboard ───────────────────────────────────────────────────────────── */
.dash-section { padding: 40px 24px 72px; background: var(--slate-50); flex: 1; }
.dash-inner   { max-width: 1000px; margin: 0 auto; }
.dash-welcome { margin-bottom: 24px; }
.dash-welcome h1 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.dash-welcome p  { font-size: 0.875rem; color: var(--slate-500); }

.dash-status-bar {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 14px 20px; margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.dash-plan-badge { background: var(--brand-50); color: var(--brand-700); font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 12px; border: 1px solid rgba(15,118,110,0.2); text-transform: uppercase; letter-spacing: 0.05em; }
.dash-allowance-text { font-size: 0.875rem; color: var(--slate-600); font-weight: 500; }
.dash-allowance-track { flex: 1; min-width: 100px; height: 6px; background: var(--slate-200); border-radius: 3px; overflow: hidden; }
.dash-allowance-fill  { height: 100%; background: var(--brand-700); border-radius: 3px; transition: width 0.3s; }
.dash-allowance-fill.warning { background: var(--warning); }
.dash-allowance-fill.full    { background: var(--danger); }
.dash-upgrade-link { font-size: 0.8rem; color: var(--brand-700); font-weight: 600; text-decoration: none; }
.dash-upgrade-link:hover { text-decoration: underline; }

.dash-section-title { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 14px; }

.btn-generate-large {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand-700); color: #fff;
  border: none; border-radius: var(--radius-lg);
  padding: 14px 28px; font-size: 0.9375rem; font-weight: 700;
  font-family: inherit; cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.btn-generate-large:hover { background: var(--brand-800); }

.kit-list { display: flex; flex-direction: column; gap: 10px; }
.kit-row {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  box-shadow: var(--shadow-sm); transition: border-color 0.15s;
}
.kit-row:hover { border-color: var(--slate-300); }
.kit-row-info { flex: 1; min-width: 160px; }
.kit-row-title { font-size: 0.9375rem; font-weight: 600; color: var(--slate-900); margin-bottom: 3px; }
.kit-row-meta  { font-size: 0.78rem; color: var(--slate-500); }
.kit-row-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.kit-action-btn {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 5px 11px; font-size: 0.78rem; font-weight: 600; color: var(--slate-700);
  cursor: pointer; font-family: inherit; transition: border-color 0.15s, color 0.15s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.kit-action-btn:hover       { border-color: var(--brand-700); color: var(--brand-700); }
.kit-action-btn.btn-delete:hover { border-color: var(--danger); color: var(--danger); }

.conf-badge { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.conf-badge.high   { background: var(--brand-50);    color: var(--brand-700); border: 1px solid rgba(15,118,110,0.2); }
.conf-badge.medium { background: #fef3cd;             color: var(--warning);   border: 1px solid #fde68a; }
.conf-badge.low    { background: var(--danger-light); color: var(--danger);    border: 1px solid #fecaca; }

.empty-state { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 48px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.empty-state .empty-icon { font-size: 2rem; color: var(--slate-300); margin-bottom: 12px; }
.empty-state h3 { font-size: 1rem; font-weight: 600; color: var(--slate-700); margin-bottom: 6px; }
.empty-state p  { font-size: 0.875rem; color: var(--slate-500); margin-bottom: 20px; }

/* ── Library ─────────────────────────────────────────────────────────────── */
.library-section { padding: 32px 24px 72px; background: var(--slate-50); flex: 1; }
.library-inner   { max-width: 1000px; margin: 0 auto; }
.library-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.lib-search {
  flex: 1; min-width: 180px; padding: 9px 14px;
  border: 1px solid var(--slate-300); border-radius: var(--radius);
  font-size: 0.875rem; font-family: inherit; color: var(--slate-900); background: #fff;
  transition: border-color 0.15s;
}
.lib-search:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(15,118,110,0.12); }
.lib-filter {
  padding: 9px 32px 9px 12px; border: 1px solid var(--slate-300); border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 500; font-family: inherit; color: var(--slate-700);
  background: #fff; cursor: pointer; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.lib-filter:focus { outline: none; border-color: var(--brand-700); }
.lib-count { font-size: 0.8rem; color: var(--slate-500); white-space: nowrap; margin-left: auto; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.page-btn {
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--slate-200); border-radius: var(--radius);
  background: #fff; font-size: 0.82rem; font-weight: 600; color: var(--slate-600);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; font-family: inherit;
}
.page-btn:hover   { border-color: var(--brand-700); color: var(--brand-700); }
.page-btn.active  { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ── Support ─────────────────────────────────────────────────────────────── */
.support-section { padding: 48px 24px 72px; background: var(--slate-50); flex: 1; }
.support-inner   { max-width: 900px; margin: 0 auto; }
.support-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.support-group {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.support-group h3 { font-size: 0.9375rem; font-weight: 700; color: var(--slate-900); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--slate-200); }
.support-q-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.support-q-list li { font-size: 0.875rem; color: var(--slate-600); padding: 7px 0; border-bottom: 1px solid var(--slate-100); line-height: 1.4; }
.support-q-list li:last-child { border-bottom: none; padding-bottom: 0; }
.support-contact {
  background: var(--brand-50); border: 1px solid rgba(15,118,110,0.2);
  border-radius: var(--radius-lg); padding: 24px 28px; margin-top: 24px;
}
.support-contact h3 { font-size: 0.9375rem; font-weight: 700; color: var(--slate-900); margin-bottom: 12px; }
.support-contact p  { font-size: 0.875rem; color: var(--slate-600); line-height: 1.65; margin-bottom: 8px; }
.support-contact p:last-child { margin-bottom: 0; }
.support-contact a  { color: var(--brand-700); font-weight: 600; text-decoration: none; }
.support-contact a:hover { text-decoration: underline; }

/* ── Account ─────────────────────────────────────────────────────────────── */
.account-section { padding: 40px 24px 72px; background: var(--slate-50); flex: 1; }
.account-inner   { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.account-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.account-card-header { padding: 16px 22px; border-bottom: 1px solid var(--slate-200); background: var(--slate-50); }
.account-card-header h2 { font-size: 0.9375rem; font-weight: 700; color: var(--slate-900); }
.account-card-header p  { font-size: 0.82rem; color: var(--slate-500); margin-top: 2px; }
.account-card-body { padding: 22px; }
.account-field-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--slate-100); flex-wrap: wrap; }
.account-field-row:last-child { border-bottom: none; padding-bottom: 0; }
.account-field-label { font-size: 0.8rem; font-weight: 600; color: var(--slate-400); width: 140px; flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.account-field-value { font-size: 0.875rem; color: var(--slate-900); flex: 1; font-weight: 500; }
.account-form-group { margin-bottom: 16px; }
.account-form-group label { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); display: block; margin-bottom: 6px; }
.account-form-group input { width: 100%; padding: 10px 14px; border: 1px solid var(--slate-300); border-radius: var(--radius); font-size: 0.875rem; font-family: inherit; color: var(--slate-900); transition: border-color 0.15s; }
.account-form-group input:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(15,118,110,0.12); }
.danger-zone { border-color: #fecaca !important; }
.danger-zone .account-card-header { background: #fff5f5; border-bottom-color: #fecaca; }
.danger-zone .account-card-header h2 { color: var(--danger); }
.btn-danger { background: #fff; border: 1px solid var(--danger); color: var(--danger); border-radius: var(--radius); padding: 9px 20px; font-size: 0.875rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: background 0.15s; }
.btn-danger:hover { background: var(--danger-light); }

/* ── Page loading spinner ────────────────────────────────────────────────── */
.page-loading { min-height: 40vh; display: flex; align-items: center; justify-content: center; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .steps-4-grid { grid-template-columns: repeat(2,1fr); }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 20px 40px; }
  .hero h1 { font-size: 2rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-4-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .q-detail-row { grid-template-columns: 1fr; }
  .progress-steps { overflow-x: auto; }
  .step span { display: none; }
  .output-header { flex-direction: column; gap: 10px; }
  .export-bar { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-ctas { flex-direction: column; }
  .header-nav a { display: none; }
  .header-nav a:last-of-type { display: inline; }
  .kit-row { flex-direction: column; align-items: flex-start; }
}
