/* /css/signup.css
   Version: 3 (2026-10-20) css-style-system names: colours, font sizes and corners use site.css's :root names at
   the same values (13 colours, 8 sizes, 3 corners), and the 8 var() fallbacks are gone (each name is defined, so
   none ever applied). No visible change.
   Version: 2 (2026-10-12) compact fields (Steve): .su-narrow caps the Fleet
   name field (24 chars) so it no longer stretches the full line.
   Version: 1 (2026-10-12) billing-company redesign piece #3: the five-step
   sign-up accordion on /signup.asp. Loaded by that page only, after site.css,
   so the shared stylesheet is untouched. Reuses site.css tokens
   (--navy, --gold, --ink, --muted, --line, --ivory) and the .signup-page,
   .signup-card, .signup-price, .signup-terms and .signup-msg rules. */

/* The left intro column now holds the "how it works" list and the log-in link,
   so the two-column layout is defined here rather than relying on the old
   intro/next/card grid rows. */
.signup-page .signup-layout {
  grid-template-rows: auto;
  align-items: start;
}
.signup-page .signup-intro { grid-row: auto; }
.signup-page .signup-card { grid-column: 2; grid-row: auto; }
.signup-page .signup-intro .signup-next { margin-top: 34px; }
@media (max-width: 760px) {
  .signup-page .signup-layout { grid-template-columns: 1fr; }
  .signup-page .signup-card { grid-column: 1; }
  .signup-page .signup-intro .signup-next { display: none; } /* the accordion repeats these steps */
}

/* Accordion panels */
.su-accordion { display: grid; gap: 12px; }
.su-step {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  overflow: hidden;
}
.su-step.su-open { border-color: #c9d3da; box-shadow: 0 2px 10px rgba(16, 45, 61, .05); }

.su-head {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 15px 16px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}
.su-head:hover { background: #f7f9fa; }
.su-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: var(--radius-circle);
  background: var(--ivory);
  border: 1px solid var(--color-line-gold);
  color: var(--gold);
  font-size: var(--fs-md); font-weight: 700;
}
.su-step.su-done .su-num {
  background: #1f6b43; border-color: #1f6b43; color: var(--color-on-dark);
}
.su-step.su-done .su-num::after { content: "\2713"; }
.su-step.su-done .su-num { font-size: 0; }
.su-step.su-done .su-num::after { font-size: var(--fs-lg); }
.su-head-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.su-title { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.01em; }
.su-summary {
  font-size: 13.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.su-step.su-open .su-summary { display: none; }
.su-chev {
  flex: 0 0 auto; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--color-line-chevron); border-bottom: 2px solid var(--color-line-chevron);
  transform: rotate(45deg); transition: transform .15s ease;
}
.su-step.su-open .su-chev { transform: rotate(-135deg); }

/* Bodies: hidden when collapsed (JS only). Without JS every body shows. */
.su-body { padding: 4px 16px 18px; }
.su-js .su-step:not(.su-open) .su-body { display: none; }
.su-js .su-step:not(.su-open):not(.su-done) .su-head { opacity: .7; }

.su-help { font-size: var(--fs-base); line-height: 1.55; color: var(--muted); margin: 6px 0 16px; }
.su-hint { display: block; color: var(--muted); font-size: var(--fs-md); margin-top: 3px; }
.su-err {
  margin: 2px 0 12px; padding: 10px 12px;
  background: var(--color-error-bg); border: 1px solid var(--color-line-error); border-radius: var(--radius-sm);
  color: var(--color-text-error); font-size: var(--fs-base); line-height: 1.5;
}

/* Fields reuse .signup-page .form-row / input from site.css; here just the row grid. */
.su-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 440px) {
  .su-grid { grid-template-columns: 2fr 1fr 1fr; align-items: end; }
}
.su-col { display: grid; gap: 7px; min-width: 0; }

/* Fleet name is a short field (24 chars max); cap its width so it doesn't
   stretch the full line. Still shrinks on narrow phones. (Steve, 2026-10-12) */
.signup-page input.su-narrow { width: 24ch; max-width: 100%; }

.su-owner { border: 0; padding: 0; margin: 0 0 16px; }
.su-owner legend { font-size: var(--fs-base); font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 8px; }
.su-radio {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px; margin-bottom: 8px;
  border: 1px solid #cdd5db; border-radius: var(--radius-sm);
  font-size: var(--fs-lg); cursor: pointer;
}
.su-radio input { width: 18px; height: 18px; min-height: 0; margin: 0; flex: 0 0 auto; }

.su-continue { width: 100%; cursor: pointer; white-space: normal; margin-top: 4px; }
.su-continue .icon { margin-left: auto; }

/* The final step's submit keeps the shared .signup-submit look. */
.signup-page .su-body .signup-terms { margin-top: 2px; }
