/* Signup + wizard styling. Split-pane onboarding: form column on the left,
   the coverage panel assembling on the right. Same grammar as the hub:
   hairlines, near-flat surfaces, typography carrying hierarchy. */

body.signup { background: var(--bg); }

.su-nav {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.su-main { max-width: 640px; margin: 0 auto; padding: 36px 20px 90px; }
.su-main.su-wide { max-width: 1060px; }
.su-head h1 { font-size: 1.6rem; letter-spacing: -.026em; margin-bottom: 4px; }
.su-head p { color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 56ch; }

.demo-note {
  font-size: .76rem; color: var(--faint);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 5px 10px; display: inline-block; margin-top: 12px;
  background: var(--surface);
}

/* Step rail: labels only. */
.su-steps {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 20px 0 16px;
  padding: 0;
  font-size: .82rem;
  color: var(--faint);
}
.su-steps li { padding-bottom: 6px; border-bottom: 2px solid transparent; }
.su-steps li.on { color: var(--ink); border-bottom-color: var(--gold); }
.su-steps li.done { color: var(--muted); }

/* Two panes on wide screens; panel below the form on narrow. */
.su-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 940px) { .su-grid { grid-template-columns: 1fr; } }

.su-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.su-card h2 { font-size: 1.02rem; margin-bottom: 5px; letter-spacing: -.018em; }
.su-hint { color: var(--muted); font-size: .85rem; line-height: 1.55; margin-bottom: 13px; }

.fld { display: flex; flex-direction: column; gap: 5px; }
.fld label { font-size: .76rem; color: var(--faint); }
.fld input, .fld select {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 8px 11px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .9rem;
  height: 38px;
  width: 100%;
  transition: border-color .12s ease;
}
.fld input:focus, .fld select:focus { outline: none; border-color: var(--azure-dim); }
.fld input::placeholder { color: var(--faint); }

.su-scan { margin-top: 14px; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }

.su-next { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

/* Roles */
.su-roles { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: .84rem; padding: 6px 13px; border-radius: 20px;
  border: 1px solid var(--line-2); color: var(--muted);
  cursor: pointer; background: var(--bg); font-family: var(--sans);
  transition: border-color .12s ease, color .12s ease, background .12s ease;
}
.chip:hover { border-color: var(--line-3); color: var(--body); }
.chip.on { background: var(--gold-wash); border-color: var(--gold-dim); color: var(--ink); }

/* Plans */
.su-plans { display: grid; gap: 10px; }
.su-plan {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 13px 15px;
  cursor: pointer;
  font-family: var(--sans);
  color: inherit;
  transition: border-color .12s ease, background .12s ease;
}
.su-plan:hover { border-color: var(--line-3); }
.su-plan.on { border-color: var(--gold-dim); background: var(--gold-wash); }
.su-plan .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.su-plan .nm { color: var(--ink); font-weight: 540; font-size: .95rem; }
.su-plan .pr { font-family: var(--mono); font-size: .8rem; color: var(--gold-text); }
.su-plan .ln { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.su-plan .trial { font-size: .74rem; color: var(--gold-text); margin-top: 6px; }

.su-fine { margin-top: 12px; font-size: .76rem; color: var(--faint); text-align: right; }

/* ---------- coverage panel ---------- */
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 2.2s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
  .cov-panel { animation: covIn .3s ease; }
  .cov-row { animation: covIn .25s ease; }
  @keyframes covIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

.cov-panel {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: sticky;
  top: 20px;
}
.cov-panel::before {
  content: "";
  display: block;
  height: 1px;
  margin: 0 12%;
  background: linear-gradient(90deg, transparent, var(--edge-light), transparent);
}
.cov-top {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.cov-top .k {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--faint);
}
.cov-top .v { color: var(--ink); font-weight: 530; font-size: .9rem; letter-spacing: -.012em; }

.cov-list { padding: 4px 0; }
.cov-row {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
}
.cov-row:last-child { border-bottom: 0; }
/* Initial-letter dot: the visual anchor each row needs. */
.cov-dot {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-3);
  color: var(--body);
  font-size: .74rem; font-weight: 560;
  flex: none;
}
.cov-id { flex: 1; min-width: 0; }
.cov-id .n { color: var(--ink); font-size: .875rem; font-weight: 510; letter-spacing: -.01em; }
.cov-id .d { color: var(--muted); font-family: var(--mono); font-size: .7rem; }
.cov-row .tag { flex: none; }
.cov-x {
  border: 0; background: none; font-family: var(--sans);
  font-size: .72rem; color: var(--faint); cursor: pointer;
  padding: 2px 6px; border-radius: var(--r-sm); flex: none;
  opacity: 0; transition: opacity .12s ease, color .12s ease;
}
.cov-row:hover .cov-x, .cov-x:focus { opacity: 1; }
.cov-x:hover { color: var(--neg); }
@media (max-width: 940px) { .cov-x { opacity: 1; } }

.cov-add { padding: 10px 16px 14px; border-bottom: 1px solid var(--line); position: relative; }
.cov-add input {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 8px 11px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .875rem;
  height: 36px;
  width: 100%;
  transition: border-color .12s ease;
}
.cov-add input:focus { outline: none; border-color: var(--azure-dim); }
.cov-add input::placeholder { color: var(--faint); }

.cov-lead { padding: 13px 16px 0; font-size: .875rem; color: var(--body); line-height: 1.55; }

/* ---------- samples inside the panel ---------- */
.pv-label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 14px 16px 7px;
}
.pv-feed { border-top: 1px solid var(--line); }
.pv-item { padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.pv-item .m { display: flex; gap: 7px; align-items: center; margin-bottom: 5px; }
.pv-item .co { font-size: .75rem; color: var(--azure); font-weight: 510; }
.pv-item .co.ind { color: var(--muted); }
.pv-item .when { font-family: var(--mono); font-size: .7rem; color: var(--faint); margin-left: auto; }
.pv-item .h { color: var(--ink); font-weight: 520; font-size: .875rem; line-height: 1.45; margin-bottom: 4px; letter-spacing: -.012em; }
.pv-item .w { font-size: .82rem; color: var(--muted); line-height: 1.5; margin-bottom: 7px; }
.pv-brief { border-top: 1px solid var(--line); padding: 12px 16px; }
.pv-brief .exec { font-size: .87rem; color: var(--ink); line-height: 1.6; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; letter-spacing: -.008em; }
.pv-brief .row { display: flex; gap: 9px; align-items: baseline; padding: 4px 0; }
.pv-brief .row .h { font-size: .84rem; color: var(--body); line-height: 1.5; }
.pv-note { padding: 12px 16px 14px; font-size: .78rem; color: var(--faint); line-height: 1.55; margin: 0; }

/* ---------- wizard-specific (welcome.html) ---------- */
.fld textarea {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 9px 11px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .9rem;
  width: 100%;
  resize: vertical;
  min-height: 74px;
  line-height: 1.55;
  transition: border-color .12s ease;
}
.fld textarea:focus { outline: none; border-color: var(--azure-dim); }
.fld textarea::placeholder { color: var(--faint); }
.fld .opt { color: var(--faint); font-weight: 400; }

.wz-days { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.wz-day {
  width: 40px; height: 34px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--bg);
  color: var(--faint); font-family: var(--sans); font-size: .8rem; cursor: pointer;
  transition: border-color .12s ease, color .12s ease, background .12s ease;
}
.wz-day:hover { border-color: var(--line-3); color: var(--body); }
.wz-day.on { background: var(--gold-wash); border-color: var(--gold-dim); color: var(--ink); }

.wz-when { display: flex; gap: 10px; }
.wz-when .fld { flex: 1; }
@media (max-width: 480px) { .wz-when { flex-direction: column; } }
