.customer-shell { --color-indigo-50: #eff6ff; --color-indigo-100: #dbeafe; --color-indigo-200: #bfdbfe; --color-indigo-300: #93c5fd; --color-indigo-500: #2563eb; --color-indigo-600: #1d4ed8; --color-indigo-700: #174da8; --color-indigo-800: #123e88; --color-indigo-900: #153875; --color-indigo-950: #172554; --customer-blue: #174da8; --customer-hover: #123e88; --customer-ink: #0f172a; --customer-muted: #475569; --customer-line: #cbd5e1; min-height: 100vh; margin: 0; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); background: #f8fafc; color: var(--customer-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
.customer-shell [hidden] { display: none !important; }
.customer-shell :focus-visible { outline: 2px solid var(--customer-blue); outline-offset: 4px; }
.customer-shell ::selection { background: #dbeafe; color: var(--customer-ink); }
.customer-shell input, .customer-shell textarea { caret-color: var(--customer-blue); }
.customer-shell main { min-height: auto; overflow-wrap: anywhere; }
.customer-shell main h1 { font-size: 1.875rem; line-height: 1.2; letter-spacing: -.025em; }
.customer-shell :is(button, input[type="submit"], select, summary) { min-height: 44px; }
.customer-shell .pagy { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.customer-shell .pagy a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--customer-line); border-radius: 8px; background: #fff; color: var(--customer-blue); font-weight: 600; }
.customer-shell .pagy a[aria-current="page"] { background: var(--customer-blue); color: #fff; border-color: var(--customer-blue); }
.customer-shell .pagy a[aria-disabled="true"]:not([aria-current]) { color: var(--customer-muted); background: #f1f5f9; }
.customer-skip { position: absolute; left: 16px; top: -80px; z-index: 60; background: #fff; padding: 12px; color: var(--customer-blue); }
.customer-skip:focus { top: 8px; }
.customer-header { max-width: 1152px; margin-inline: auto; padding: 16px 24px 0; }
.customer-header-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.customer-brand { display: inline-flex; min-height: 44px; align-items: center; }
.customer-brand .ian-mark { width: 36px; height: 36px; }
.customer-brand .ian-wordmark { font-size: 14px; }
.customer-header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.customer-signout { min-height: 44px; padding: 8px 0; color: var(--customer-blue); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.customer-navigation { display: flex; gap: 8px; margin-top: 16px; border-bottom: 1px solid var(--customer-line); }
.customer-navigation a { min-width: 112px; min-height: 48px; padding: 12px 20px; color: var(--customer-muted); text-align: center; font-weight: 600; border-bottom: 3px solid transparent; }
.customer-navigation a[aria-current="page"] { border-color: var(--customer-blue); color: var(--customer-blue); }
.customer-navigation a:hover { background: #eaf1fc; }
.customer-back, .customer-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--customer-blue); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.customer-back { margin-top: 8px; }
.customer-home { max-width: 1152px; margin-inline: auto; padding: 32px 24px 56px; }
.customer-home h1, .customer-home h2 { font-weight: 600; }
.customer-home h2 { font-size: 1.25rem; line-height: 1.3; }
.customer-home p { max-width: 68ch; }
.customer-home-heading > p { margin-top: 8px; color: var(--customer-muted); }
.customer-context { margin: 24px 0; padding-bottom: 20px; border-bottom: 1px solid var(--customer-line); }
.customer-context summary, .customer-secondary summary { cursor: pointer; min-height: 44px; padding-block: 10px; color: var(--customer-blue); font-weight: 600; }
.customer-context-forms { display: grid; gap: 20px; margin-top: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.customer-context label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.customer-context select { width: 100%; min-width: 0; border: 1px solid #64748b; border-radius: 8px; padding: 10px; background: #fff; }
.customer-context .customer-button { margin-top: 12px; }
.customer-home-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.customer-panel { padding: 24px; border: 1px solid var(--customer-line); border-radius: 16px; background: #fff; }
.customer-panel > p { margin-top: 12px; color: var(--customer-muted); }
.customer-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.customer-count { font-size: 1.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.customer-updated, .customer-footnote { font-size: 13px; color: var(--customer-muted); }
.customer-arrivals { margin-block: 20px; }
.customer-arrivals li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; border-top: 1px solid #e2e8f0; padding-block: 12px; align-items: center; }
.customer-arrivals time { font-size: 13px; color: var(--customer-muted); font-variant-numeric: tabular-nums; }
.customer-arrivals span { grid-column: 1 / -1; font-size: 14px; }
.customer-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--customer-blue); border-radius: 10px; background: var(--customer-blue); color: #fff; font-weight: 600; cursor: pointer; text-align: center; }
.customer-button:hover { background: var(--customer-hover); }
.customer-button-secondary { background: #fff; color: var(--customer-blue); }
.customer-button-secondary:hover { background: #eaf1fc; }
.customer-pending > .customer-button { width: 100%; margin-top: 16px; }
.customer-summary { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; border-bottom: 1px solid var(--customer-line); }
.customer-summary > div { padding: 12px 0; }
.customer-summary dt { color: var(--customer-muted); font-size: 14px; }
.customer-summary dd { font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.customer-footnote { margin-top: 10px; }
.customer-secondary { margin-top: 24px; }
.customer-activity li { padding: 16px 0; border-bottom: 1px solid #e2e8f0; }
.customer-activity :is(strong, span, time) { display: block; }
.customer-activity strong { font-size: 14px; }
.customer-activity :is(span, time) { font-size: 13px; color: var(--customer-muted); margin-top: 4px; }
.customer-tools h2 { margin-bottom: 12px; }
.customer-action-list { display: grid; border-top: 1px solid var(--customer-line); }
.customer-action-list a { display: flex; align-items: center; min-height: 56px; padding: 12px 4px; border-bottom: 1px solid var(--customer-line); color: var(--customer-blue); font-weight: 600; }
.customer-action-list a:hover { background: #eaf1fc; }
.customer-personal { max-width: 720px; }
.customer-personal .customer-panel { margin-block: 24px; }
.customer-contact { overflow-wrap: anywhere; font-weight: 600; }
@media (max-width: 719px) {
  .customer-shell { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .customer-shell :is(input, textarea, select, button, a, summary) { scroll-margin-block: 20px 110px; }
  .customer-header { padding-inline: 16px; }
  .customer-header-top { gap: 8px; }
  .customer-header-actions { gap: 10px; }
  .customer-brand .ian-wordmark { font-size: 12px; }
  .customer-brand .ian-mark { width: 30px; height: 30px; }
  .customer-navigation { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; gap: 4px; margin: 0; padding: 8px max(8px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--customer-line); border-bottom: 0; background: #fff; }
  .customer-navigation a { flex: 1; min-width: 0; min-height: 52px; padding-inline: 8px; border: 0; border-radius: 8px; }
  .customer-navigation a[aria-current="page"] { background: #eaf1fc; box-shadow: inset 0 -3px var(--customer-blue); }
  .customer-home { padding: 24px 16px 40px; }
  .customer-home-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .customer-panel { padding: 20px; }
  .customer-arrivals li { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
.customer-queue-section { border-top: 1px solid var(--customer-line, #cbd5e1); }
.customer-queue-section > summary { cursor: pointer; padding: 12px 0; }
.customer-queue-section > summary h2 { display: inline; font-size: 1.125rem; }
.customer-shell .operational-surface > aside { font-size: 14px; }

.customer-choice-pages { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.customer-current-station { margin-bottom: 16px; color: var(--customer-muted); }

.customer-disclosure-label { display: list-item; min-height: 44px; padding-block: 10px; color: var(--customer-blue, #174da8); font-weight: 600; cursor: pointer; }

.customer-home-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.customer-home-heading > .customer-link { flex-shrink: 0; white-space: nowrap; }
.customer-home-heading p { margin-top: 8px; color: var(--customer-muted); }
.customer-sites { display: grid; gap: 16px; }
.customer-site-card { border: 1px solid var(--customer-line); border-radius: 12px; background: #fff; overflow: clip; }
.customer-site-card > summary { padding: 20px 24px; cursor: pointer; color: var(--customer-blue); }
.customer-site-card > summary h2 { display: inline; margin-left: 8px; }
.customer-site-card > summary:hover { background: #eff6ff; }
.customer-site-card[open] > summary { border-bottom: 1px solid #e2e8f0; }
.customer-site-body { padding: 20px 24px 12px; }
.customer-site-body > [role] { margin-bottom: 12px; color: var(--customer-muted); }
.customer-site-stats { display: flex; flex-wrap: wrap; gap: 24px 64px; margin-bottom: 20px; }
.customer-site-stats dt { color: var(--customer-muted); font-size: 14px; }
.customer-site-stats dd { font-size: 1.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.customer-site-stats small { display: block; font-size: 13px; font-weight: 400; color: var(--customer-muted); }
.customer-site-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.customer-assigned { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.customer-assigned h3 { font-weight: 600; }
.customer-assigned ul { margin-top: 8px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; }
.customer-assigned li :is(strong,span) { display: block; font-size: 14px; }
.customer-assigned li span { color: var(--customer-muted); }
.customer-site-detail > .customer-updated { margin-top: 20px; }
.customer-pending-sections { display: grid; gap: 24px; margin-top: 16px; }
.customer-pending .customer-section-heading { align-items: baseline; }
.customer-arrivals li > div :is(strong, time, span) { display: block; }
@media (max-width: 719px) {
  .customer-site-card > summary { padding: 16px; }
  .customer-site-body { padding: 20px 16px 12px; }
  .customer-site-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .customer-assigned ul { grid-template-columns: minmax(0,1fr); }
  .customer-pending h2 { font-size: 1.125rem; }
}

.setup-progress-link[aria-current="step"] { outline: 1px solid var(--customer-blue); background: #dbeafe; }
.site-operator-table,
.site-operator-table tbody,
.site-operator-table tr,
.site-operator-table th,
.site-operator-table td { display: block; width: 100%; min-width: 0; }
.site-operator-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.site-operator-table tbody th { padding-bottom: .5rem; font-size: 1rem; overflow-wrap: anywhere; }
.site-operator-table tbody td { padding-block: .5rem; }
.site-operator-table tbody tr { padding-block: 1rem; }
.site-operator-table tbody td:last-child { padding-bottom: 1rem; }
.site-operator-table button,
.site-operator-table input[type="submit"] { min-height: 44px; }
.site-operator-field-label { display: block; margin-bottom: .5rem; font-weight: 600; }
@media (min-width: 1280px) {
  .site-operator-table { display: table; width: 100%; }
  .site-operator-table thead { position: static; display: table-header-group; width: auto; height: auto; overflow: visible; clip-path: none; }
  .site-operator-table tbody { display: table-row-group; }
  .site-operator-table tr { display: table-row; }
  .site-operator-table th,
  .site-operator-table td { display: table-cell; width: auto; vertical-align: top; }
  .site-operator-table tbody th { min-width: 15rem; }
  .site-operator-table tbody td { padding-block: 1rem; }
  .site-operator-table tbody td:nth-child(2) { min-width: 10rem; }
  .site-operator-table tbody td:nth-child(3) { min-width: 20rem; }
  .site-operator-table tbody td:nth-child(4) { min-width: 16rem; }
  .site-operator-table tbody td:nth-child(5) { min-width: 14rem; }
  .site-operator-field-label { display: none; }
}
