/* Loaded only by the separated customer frontend; the gateway keeps its CSS. */
.customer-ui .side-profile { grid-template-columns: 34px minmax(0, 1fr); }
.customer-ui .side-profile b { overflow-wrap: anywhere; }
.customer-ui .field, .customer-ui .form-fields { min-width: 0; }
.customer-ui .btn { min-height: 44px; white-space: normal; }
.customer-ui .content { max-width: 1200px; }
.customer-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px 24px; margin: 0; }
.customer-facts > div { min-width: 0; }
.customer-facts dt { margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.customer-facts dd { margin: 0; overflow-wrap: anywhere; }
.customer-sessions { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0 0 18px; }
.customer-sessions > li { min-width: 0; padding: 16px; background: var(--panel2); border: 1px solid var(--line); border-radius: 9px; }
.customer-session-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.customer-browser-details { margin: 16px 0; }
.customer-browser-details summary { cursor: pointer; width: fit-content; min-height: 32px; color: var(--muted); }
.customer-browser-details p { max-width: 100%; margin: 6px 0 16px; overflow-wrap: anywhere; font-size: 12px; }
.customer-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.customer-overview-grid > .panel { min-width: 0; }
.customer-next-step { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-color: var(--accent); }
.customer-next-step h2 { margin: 6px 0; }
.customer-next-step p { margin-bottom: 0; max-width: 65ch; }
.customer-next-step > .btn { flex: 0 0 auto; max-width: 100%; }
.customer-kicker { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.customer-subtext { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.customer-note { color: var(--muted); line-height: 1.6; max-width: 90ch; }
.customer-state { font-weight: 600; line-height: 1.5; }
.customer-state-good { color: var(--green); }
.customer-state-attention { color: var(--yellow); }
.customer-state-neutral { color: var(--muted); }
.customer-section-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 16px 0; }
.customer-section-actions > a { display: inline-flex; align-items: center; min-height: 44px; }
.customer-inline-summary { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.customer-start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-left: 24px; }
.customer-start-steps > li { padding-left: 4px; min-width: 0; }
.customer-start-steps p { line-height: 1.6; color: var(--muted); }
.customer-plan-grid { grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); }
.customer-plan-grid h3, .customer-session-head h3 { margin: 0; overflow-wrap: anywhere; }
.customer-disclosure { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 8px; }
.customer-disclosure > summary { cursor: pointer; padding: 12px 0; min-height: 44px; font-weight: 600; }
.customer-disclosure[open] > summary { margin-bottom: 8px; }
.customer-ui summary:focus-visible, .customer-section-actions a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.customer-empty { line-height: 1.6; }
@media (max-width: 900px) {
  .customer-overview-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .customer-start-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 720px) {
  /* Keep keyboard-focused controls above the fixed customer navigation. */
  .customer-ui { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .customer-ui.js body:not(.nav-open) .side { visibility: hidden; box-shadow: none; }
}
@media (max-width: 480px) {
  .customer-ui .auth-shell { grid-template-rows: auto 1fr; }
  .customer-ui .auth-card { margin-block: 0; }
  .customer-ui .auth-meta { margin-top: 18px; }
}
@media (max-width: 520px) {
  .customer-next-step { align-items: stretch; flex-direction: column; }
  .customer-next-step > .btn { width: 100%; }
  .customer-section-actions { gap: 8px 16px; }
  .customer-facts { grid-template-columns: minmax(0, 1fr); }
  .customer-sessions > li { padding: 12px; }
  .customer-sessions .btn { width: 100%; }
}
