/* Standalone customer setup and subscription pages share the dashboard palette. */
body { min-height: 100vh; line-height: 1.55; }
.frame { width: min(65rem, calc(100% - 2.5rem)); margin-inline: auto; }
.mast { background: var(--chrome); border-bottom: 1px solid var(--line); }
.mast-inner, .session { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mast-inner { min-height: 4.8rem; padding-block: .75rem; flex-wrap: wrap; }
.mast img { display: block; width: clamp(10rem, 20vw, 13rem); height: auto; }
.mast .logo-light, :root[data-theme='light'] .mast .logo-dark { display: none; }
:root[data-theme='light'] .mast .logo-light { display: block; }
.session { font-size: .86rem; color: var(--text-secondary); flex-wrap: wrap; overflow-wrap: anywhere; }
.session-action { padding: .35rem .65rem; }
main.frame { padding-block: clamp(2rem, 6vw, 4.5rem); }
.steps { display: flex; list-style: none; margin: 0 0 1.6rem; padding: 0; gap: clamp(.6rem, 2vw, 1.5rem); }
.steps li { display: flex; align-items: center; gap: .45rem; font-size: .87rem; color: var(--muted); }
.steps li + li::before { content: ''; width: clamp(.4rem, 4vw, 2.5rem); height: 1px; background: var(--line); margin-right: .3rem; }
.steps li span { border: 1px solid var(--line); width: 1.6rem; height: 1.6rem; border-radius: 50%; text-align: center; font: .8rem/1.5rem ui-monospace, monospace; }
.steps [aria-current], .steps .done span { color: var(--accent); }
.steps [aria-current] span { background: var(--accent-wash); border-color: var(--accent); }
.layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 1.25rem; }
.panel, .summary { min-width: 0; padding: clamp(1.4rem, 3.4vw, 2.7rem); border-radius: .65rem; border: 1px solid var(--line); overflow-wrap: anywhere; }
.panel { background: var(--surface-raised); }
.panel:only-child { grid-column: 1/-1; max-width: 44rem; width: 100%; }
.summary { background: linear-gradient(145deg, var(--accent-wash), transparent 65%), var(--surface); }
h1, h2, p, dl { margin: 0; }
h1 { font-size: clamp(1.85rem, 3.8vw, 2.8rem); line-height: 1.12; letter-spacing: -.045em; }
.panel > p:not(.eyebrow) { color: var(--text-secondary); margin-top: 1rem; }
.panel > :is(.button, form, .details) { margin-top: 1.4rem; }
.eyebrow, .summary h2 { font: 600 .8rem/1.5 ui-monospace, monospace; color: var(--accent); margin-bottom: .6rem; }
.plan { font-size: 1.45rem; font-weight: 650; letter-spacing: -.03em; }
.fields { display: grid; gap: .45rem; }
.fields label { font-weight: 600; font-size: .9rem; }
.fields :is(input, select) + label { margin-top: .55rem; }
.fields .button { margin-top: .85rem; justify-self: start; }
.details { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .6rem 1rem; margin-top: 1.35rem; }
.details dt, .fine { color: var(--text-secondary); }
.details dd { margin: 0; text-align: right; font-weight: 600; }
.subtotal { border-top: 1px solid var(--line); margin-top: 1.2rem; padding-top: .9rem; }
.subtotal strong { display: block; font: 600 clamp(1.8rem, 3vw, 2.45rem)/1.4 ui-monospace, monospace; letter-spacing: -.06em; }
.fine, .compare, .secondary-line { font-size: .9rem; }
.summary .checkout { display: flex; width: 100%; margin-top: 1.25rem; }
.compare { display: inline-block; margin-top: 1.25rem; }
.panel .alert { padding: .7rem 1rem; border-left: 3px solid var(--amber); background: var(--amber-bg); }
@media (min-width: 691px) {
  .layout:has(.team-panel) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
.team-panel h3 { margin: 1.5rem 0 .5rem; font-size: 1rem; }
.team-list { list-style: none; margin: 0; padding: 0; }
.team-list li { display: grid; gap: .45rem; padding-block: .8rem; border-top: 1px solid var(--line); }
.team-list input { width: 100%; min-width: 0; }
.team-list summary { cursor: pointer; color: var(--accent); }
.team-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.team-actions [hidden] { display: none; }
@media (scripting: none) {
  .summary.editable :is(.details, .subtotal, .fine) { display: none; }
}
@media(max-width: 690px) {
  .layout { grid-template-columns: 1fr; }
  .mast-inner { gap: .6rem; }
  .steps { gap: .5rem; }
  .steps li + li::before { display: none; }
}
@media(max-width: 370px) {
  .steps li { gap: .2rem; font-size: .77rem; }
}
