body.client-setup {
  display: block;
  background: #f4f7fc;
}
.setup-bar {
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem max(1rem, calc((100% - 1080px) / 2));
  min-height: 4.4rem;
}
.setup-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 750;
  text-decoration: none;
}
.setup-brand span {
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  background: var(--accent);
  color: white;
  border-radius: 8px;
}
.setup-main { max-width: 1112px; padding: 2rem 1rem 3rem; }
.setup-heading { margin-bottom: 1.65rem; }
.setup-heading > p:last-child { color: var(--muted); margin-bottom: 0; }
.setup-layout { display: grid; gap: 1rem; align-items: start; }
.setup-card, .setup-summary {
  border-radius: 16px;
  padding: 1.15rem;
  border: 1px solid var(--line);
}
.setup-card { background: var(--paper); margin-bottom: 0.8rem; }
.setup-card h2 { margin-bottom: 0.85rem; }
.setup-card label { font-size: 0.87rem; }
.setup-fields { display: grid; gap: 0 1rem; }
.setup-suffix {
  display: flex;
  align-items: center;
  border: 1px solid #cfd9ec;
  border-radius: 11px;
}
.setup-suffix input { flex: 1; min-width: 0; border: 0; }
.setup-suffix span { padding-inline: 0.75rem; color: var(--muted); font-size: 0.86rem; }
.setup-provider { display: flex; align-items: center; gap: 0.75rem; }
.setup-provider-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  background: #e3f6ec;
  color: #0a6941;
  border-radius: 10px;
  font-weight: 760;
}
.setup-provider small { display: block; margin-top: 0.2rem; }
.setup-hint { font-size: 0.86rem; color: var(--muted); margin-bottom: 0; }
.setup-check { display: flex; align-items: center; gap: 0.7rem; min-height: 44px; cursor: pointer; }
.setup-check input { width: 1.2rem; min-height: 1.2rem; height: 1.2rem; flex: none; accent-color: var(--accent); }
.setup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
#setup-status { font-size: 0.84rem; color: var(--muted); }
.setup-summary { background: #15294e; color: #fff; min-width: 0; }
.setup-summary .caption, .setup-summary dt, .setup-summary > p:last-child { color: #c0cde6; }
.setup-summary dl { margin: 1.2rem 0; }
.setup-summary dt { font-size: 0.8rem; margin-top: 0.85rem; }
.setup-summary dd { margin: 0.25rem 0 0; font-weight: 650; overflow-wrap: anywhere; }
.setup-summary > p:last-child { border-top: 1px solid #44618c; padding-top: 1rem; margin-bottom: 0; font-size: 0.83rem; }
@media (min-width: 540px) {
  .setup-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setup-card, .setup-summary { padding: 1.5rem; }
}
@media (min-width: 800px) {
  .setup-main { padding-top: 2.7rem; }
  .setup-layout { grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem); gap: 1.5rem; }
  .setup-summary { position: sticky; top: 1.25rem; }
}
.setup-connect {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.65rem;
  font-weight: 650;
}
.setup-connect[hidden] { display: none; }
.setup-employees { max-height: 14rem; overflow-y: auto; }
.setup-employees .setup-check { margin-block: 0; }
