/*
App: Lebron Events Manager
Build: 2026.04.07.01
File Version: 00.01.48
File: assets/style.css
Last Updated: 2026-04-22 09:04 PM CDT
*/
* { box-sizing: border-box; }

:root {
  --bg: #eef6ff;
  --bg-accent: #dfeefa;
  --card: rgba(255, 255, 255, 0.82);
  --card-strong: rgba(248, 252, 255, 0.94);
  --text: #17324d;
  --muted: #6a84a0;
  --border: rgba(133, 162, 191, 0.24);
  --primary: #4f8fd9;
  --primary-soft: rgba(79, 143, 217, 0.14);
  --accent: #9cc7f4;
  --accent-soft: rgba(156, 199, 244, 0.16);
  --success-bg: rgba(34, 197, 94, 0.16);
  --success-text: #1f7a47;
  --warning-bg: rgba(245, 158, 11, 0.16);
  --warning-text: #9a6a09;
  --danger-bg: rgba(239, 68, 68, 0.16);
  --danger-text: #ad3a3a;
  --checkin-overlay-success: #22c55e;
  --checkin-overlay-warning: #f59e0b;
  --checkin-overlay-error: #ef4444;
  --shadow: 0 18px 42px rgba(79, 111, 146, 0.18);
  --radius: 22px;
  --radius-sm: 16px;
  --input-bg: rgba(255, 255, 255, 0.86);
}

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(79, 143, 217, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(156, 199, 244, 0.24), transparent 28%),
    linear-gradient(180deg, #f5faff 0%, #e7f1fb 100%);
}

.app-body {
  min-height: 100vh;
  position: relative;
}

.app-body::before {
  content: "SANDBOX";
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f8fd9, #9cc7f4);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.page-content {
  padding: calc(26px + env(safe-area-inset-top)) 16px 160px;
}

.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pagination-summary {
  color: var(--muted);
  font-size: 0.94rem;
}

.pagination-controls,
.pagination-links,
.pagination-size {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-size span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pagination-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(133, 162, 191, 0.22);
  background: rgba(255, 255, 255, 0.84);
  color: #355678;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.pagination-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 143, 217, 0.3);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 18px rgba(76, 104, 138, 0.08);
  color: #244b77;
}

.pagination-pill.is-active {
  background: linear-gradient(180deg, rgba(241, 247, 255, 0.98), rgba(228, 239, 253, 0.96));
  border-color: rgba(79, 143, 217, 0.34);
  box-shadow: 0 12px 22px rgba(76, 104, 138, 0.1);
  color: #244b77;
}

.events-meta-card,
.client-meta-card,
.ops-metric {
  min-height: 132px;
}

.events-meta-card,
.client-meta-card,
.ops-metric,
.summary-card,
.ops-summary-card,
.user-meta-card,
.builder-meta-card,
.kpi-card,
.revenue-summary-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
}

.events-meta-card strong,
.client-meta-card strong,
.ops-metric strong,
.summary-card strong,
.ops-summary-card h3,
.user-meta-card strong,
.builder-meta-card,
.kpi-card h2,
.revenue-summary-card h3 {
  width: 100%;
}

.events-meta-card small,
.ops-metric small,
.kpi-footnote {
  margin-top: auto;
  min-height: 2.2em;
}

.events-meta-grid,
.ops-metrics {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.events-meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ops-metrics {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.events-meta-card,
.ops-metric {
  padding: 14px 16px;
  border: 1px solid rgba(133,162,191,0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.80);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.events-meta-card:hover,
.ops-metric:hover {
  transform: translateY(-1px);
  border-color: rgba(79,143,217,0.28);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 12px 24px rgba(76,104,138,0.08);
}

.events-meta-card.is-active {
  background: linear-gradient(180deg, rgba(241,247,255,0.98), rgba(228,239,253,0.96));
  border-color: rgba(79,143,217,0.34);
  box-shadow: 0 14px 26px rgba(76,104,138,0.1);
}

.events-meta-card span,
.ops-metric span {
  color: var(--muted);
}

.events-meta-card strong,
.ops-metric strong {
  margin-top: 6px;
}

.summary-card,
.ops-summary-card,
.user-meta-card,
.builder-meta-card,
.kpi-card,
.revenue-summary-card {
  min-height: 120px;
}

.summary-card p,
.ops-summary-card p,
.user-meta-card p,
.client-meta-card p,
.kpi-label,
.kpi-footnote {
  width: 100%;
}

.splash-body {
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 143, 217, 0.24), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(156, 199, 244, 0.20), transparent 25%),
    linear-gradient(180deg, #f6fbff 0%, #e6f1fb 100%);
  color: var(--text);
}

.splash-content, .login-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.login-content {
  background:
    radial-gradient(circle at 18% 22%, rgba(79, 143, 217, 0.18), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(156, 199, 244, 0.22), transparent 26%),
    linear-gradient(180deg, #f6fbff 0%, #e8f1fb 100%);
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.admin-content {
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 0 auto;
}

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.94));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 16px;
  color: var(--text);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), transparent 42%),
    linear-gradient(180deg, transparent, rgba(79, 143, 217, 0.04));
  pointer-events: none;
}

.card:hover {
  transform: translateY(-2px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  border-color: rgba(79, 143, 217, 0.30);
  box-shadow: 0 22px 44px rgba(79, 111, 146, 0.20);
}

.access-layout,
.access-user-card,
.access-index,
.access-edit-wrap,
.role-guide,
.assignment-grid,
.access-summary,
.ops-grid,
.ops-main-stack,
.ops-support-stack,
.tables-grid {
  display: grid;
  gap: 18px;
}

.access-shell,
.ops-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
}

.access-summary,
.ops-summary {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.role-guide {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.assignment-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.access-meta,
.role-guide-card,
.assignment-box,
.access-mini-stat,
.ops-summary-card,
.table-mini-stat {
  padding: 14px 16px;
  border: 1px solid rgba(133, 162, 191, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.assignment-box {
  border-radius: 14px;
  padding: 12px;
}

.access-meta p,
.role-guide-card p,
.ops-summary-card p,
.table-index-meta,
.bulk-form-head p {
  margin: 0 0 6px;
  color: var(--muted);
}

.access-meta strong,
.access-mini-stat span,
.access-mini-stat strong,
.table-mini-stat span,
.table-mini-stat strong {
  display: block;
}

.access-index-row,
.table-index-row {
  border: 1px solid rgba(133, 162, 191, 0.18);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.access-index-head {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.access-user-name,
.table-index-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #18324c;
}

.access-user-meta,
.table-index-meta {
  line-height: 1.45;
}

.access-user-meta {
  margin: 4px 0 0;
}

.access-role-pill,
.table-status-pill,
.workspace-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(133, 162, 191, 0.18);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
  color: #355678;
}

.table-status-pill,
.workspace-status-pill {
  text-transform: capitalize;
}

.workspace-status-pill.is-active,
.workspace-status-pill.is-paid {
  background: rgba(79, 143, 217, 0.12);
  color: #34567f;
}

.workspace-status-pill.is-success,
.workspace-status-pill.is-free {
  background: rgba(16, 185, 129, 0.12);
  color: #1f7a57;
}

.workspace-status-pill.is-inactive,
.workspace-status-pill.is-muted {
  background: rgba(148, 163, 184, 0.18);
  color: #5d7186;
}

.access-inline-stats,
.table-index-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  margin-top: 14px;
}

.access-mini-stat,
.table-mini-stat {
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.access-mini-stat span,
.table-mini-stat span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.access-mini-stat strong,
.table-mini-stat strong,
.ops-summary-card h3 {
  margin-top: 4px;
  color: #18324c;
}

.ops-hero,
.ops-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(242,248,255,0.90));
  box-shadow: var(--shadow);
  min-width: 0;
}

.ops-hero {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 24%, transparent), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,248,255,0.90));
}

.ops-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(79, 143, 217, 0.12);
  color: #34567f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ops-hero-head,
.builder-hero-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.ops-summary {
  display: grid;
  margin-top: 18px;
}

.ops-summary-card h3 {
  margin-bottom: 0;
}

.ops-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ops-meta-grid,
.ops-detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ops-meta-item,
.ops-detail-item,
.ops-audit-entry,
.builder-meta-card,
.builder-sidebar {
  border: 1px solid rgba(133, 162, 191, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.ops-meta-item,
.ops-detail-item,
.ops-audit-entry,
.builder-meta-card {
  padding: 14px 16px;
}

.ops-meta-item .label,
.builder-meta-card .label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ops-list,
.ops-detail-stack,
.ops-feedback-stack,
.ops-audit-list,
.builder-shell,
.builder-content {
  display: grid;
  gap: 16px;
}

.ops-list {
  gap: 12px;
}

.ops-row {
  border: 1px solid rgba(133, 162, 191, 0.18);
  border-radius: 20px;
  padding: 16px;
  background: rgba(248, 251, 255, 0.96);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.ops-row h3,
.builder-sidebar h2 {
  margin: 0 0 6px;
}

.ops-row p,
.ops-audit-entry p,
.ops-info-pair {
  margin: 0 0 8px;
}

.ops-row p,
.ops-audit-meta,
.ops-inline-note {
  color: var(--muted);
}

.ops-inline-note {
  margin-top: 10px;
}

.text-center {
  text-align: center;
}

.ops-code {
  font-family: monospace;
  font-weight: 700;
  word-break: break-word;
}

.ops-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(130, 167, 214, 0.24);
  background: rgba(239, 246, 255, 0.9);
}

.ops-inline-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  flex-wrap: wrap;
}

.ops-form-card {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  text-align: left;
}

.ops-form-card textarea,
.ops-form-card select {
  width: 100%;
}

.ops-qr-wrap {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.ops-qr-canvas-wrap {
  background: #fff;
  padding: 18px;
  border-radius: 22px;
  display: inline-block;
  box-shadow: 0 16px 36px rgba(72, 110, 160, 0.12);
}

#qrCanvasHost table {
  margin: 0 auto;
}

.ops-audit-entry {
  background: rgba(246, 250, 255, 0.92);
}

.ops-audit-meta {
  font-size: 0.92rem;
}

.ops-section-title {
  margin-top: 18px;
}

.ops-table-wrap {
  overflow: auto;
  border: 1px solid rgba(133, 162, 191, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  min-width: 0;
}

.ops-table-wrap table {
  margin: 0;
}

.ops-table-wrap td:last-child {
  white-space: nowrap;
}

.builder-shell {
  gap: 20px;
}

.builder-hero {
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 24%, transparent), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.97), rgba(232,243,255,0.9));
  box-shadow: 0 24px 60px rgba(83, 120, 168, 0.12);
  display: grid;
  gap: 18px;
}

.builder-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(82, 133, 198, 0.12);
  color: #34567f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.builder-hero h1 {
  margin: 10px 0 6px;
}

.builder-hero p {
  margin: 0;
}

.builder-hero-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.builder-meta-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.builder-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: start;
}

.builder-sidebar {
  position: sticky;
  top: 24px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(83, 120, 168, 0.08);
}

.builder-sidebar a {
  display: block;
  padding: 11px 13px;
  border-radius: 14px;
  color: #24476f;
  text-decoration: none;
  background: rgba(239, 246, 255, 0.72);
  border: 1px solid rgba(130, 167, 214, 0.12);
  font-weight: 600;
}

.builder-sidebar a:hover {
  background: rgba(223, 237, 255, 0.92);
}

.builder-anchor {
  scroll-margin-top: 90px;
}

.subset-link {
  color: #34567f;
  text-decoration: none;
  font-weight: 700;
}

.subset-link:hover {
  color: #244b77;
  text-decoration: underline;
}

.subset-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(133,162,191,0.18);
  background: rgba(255,255,255,0.78);
  color: #446789;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.subset-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(79,143,217,0.28);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 18px rgba(76,104,138,0.08);
}

.events-console-grid {
  display: grid;
  gap: 18px;
}

.events-hero-card,
.events-list-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.events-hero-card {
  padding: 24px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 28%, transparent), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(242,248,255,0.88));
}

.events-list-card {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 248, 255, 0.90));
}

.events-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.events-list-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.events-quick-actions,
.events-row-actions {
  display: grid;
  gap: 12px;
}

.events-quick-actions {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.events-quick-link {
  display: block;
  padding: 16px;
  border: 1px solid rgba(133,162,191,0.18);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.70);
}

.events-quick-link strong,
.events-quick-link span {
  display: block;
}

.events-quick-link span {
  color: var(--muted);
  margin-top: 6px;
}

.directory-kpi-grid,
.client-meta-grid,
.users-directory-kpis {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin: 16px 0 18px;
}

.directory-kpi-card,
.client-meta-card,
.users-directory-kpi {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(133, 162, 191, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.80);
  color: var(--text);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.directory-kpi-card:hover,
.client-meta-card:hover,
.users-directory-kpi:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 143, 217, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(76, 104, 138, 0.08);
}

.directory-kpi-card.is-active,
.client-meta-card.is-active,
.users-directory-kpi.is-active {
  background: linear-gradient(180deg, rgba(241, 247, 255, 0.98), rgba(228, 239, 253, 0.96));
  border-color: rgba(79, 143, 217, 0.34);
  box-shadow: 0 14px 26px rgba(76, 104, 138, 0.1);
}

.directory-kpi-card p,
.client-meta-card p,
.users-directory-kpi p {
  margin: 0 0 6px;
  color: var(--muted);
}

.directory-kpi-card strong,
.client-meta-card strong,
.users-directory-kpi strong {
  display: block;
  color: #18324c;
}

.directory-table-wrap,
.events-table-wrap,
.users-table-wrap,
.client-table-wrap {
  overflow: auto;
  border: 1px solid rgba(133, 162, 191, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.directory-table,
.events-table,
.users-table,
.client-table {
  width: 100%;
  border-collapse: collapse;
}

.directory-table {
  min-width: 760px;
}

.events-table {
  min-width: 980px;
}

.users-table {
  min-width: 860px;
}

.client-table {
  min-width: 920px;
}

.directory-table th,
.directory-table td,
.events-table th,
.events-table td,
.users-table th,
.users-table td,
.client-table th,
.client-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(133, 162, 191, 0.18);
  text-align: left;
  vertical-align: top;
}

.directory-table th,
.events-table th,
.users-table th,
.client-table th {
  font-size: 0.78rem;
  color: #5a7591;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(236, 244, 253, 0.96);
}

.directory-table th.is-sortable,
.events-table th.is-sortable,
.users-table th.is-sortable,
.client-table th.is-sortable {
  padding: 0;
}

.directory-table-sort {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
  padding: 16px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  box-shadow: none;
  transform: none;
  filter: none;
  cursor: pointer;
}

.directory-table-sort:hover {
  color: #34567f;
  background: transparent;
  box-shadow: none;
  transform: none;
  filter: none;
}

.directory-table-sort:focus-visible {
  outline: 2px solid rgba(79, 143, 217, 0.34);
  outline-offset: -2px;
}

.directory-table tbody tr:hover td,
.events-table tbody tr:hover td,
.users-table tbody tr:hover td,
.client-table tbody tr:hover td {
  background: rgba(246, 250, 255, 0.92);
}

.directory-table tbody tr:nth-child(even) td,
.events-table tbody tr:nth-child(even) td,
.users-table tbody tr:nth-child(even) td,
.client-table tbody tr:nth-child(even) td {
  background: rgba(248, 251, 255, 0.72);
}

.directory-table tbody tr[data-href],
.events-table tbody tr[data-href],
.users-table tbody tr[data-href],
.client-table tbody tr[data-href] {
  cursor: pointer;
}

.directory-table tbody tr.is-selected td {
  background: rgba(230, 240, 253, 0.92);
}

.directory-table-select {
  width: 38px;
  text-align: center;
}

.directory-table-select input {
  width: 16px;
  height: 16px;
}

.directory-table-empty {
  padding: 20px;
  color: var(--muted);
}

.users-table-person {
  display: grid;
  gap: 6px;
  min-width: 220px;
}

.users-table-person strong {
  color: #18324c;
  font-size: 1rem;
}

.users-table-person span,
.users-table-note,
.users-table-status {
  color: #5d7186;
  line-height: 1.45;
}

.event-summary-stack {
  display: grid;
  gap: 8px;
  min-width: 240px;
}

.event-name {
  font-size: 1rem;
  font-weight: 800;
  color: #18324c;
  margin: 0;
}

.event-submeta {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.event-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-filter-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(133,162,191,0.18);
  background: rgba(255,255,255,0.78);
  color: #446789;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.event-filter-link:hover {
  transform: translateY(-1px);
  border-color: rgba(79,143,217,0.28);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 18px rgba(76,104,138,0.08);
}

.event-volume {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  min-width: 240px;
}

.event-stat {
  display: block;
  border: 1px solid rgba(133,162,191,0.18);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,0.72);
  color: var(--text);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.event-stat:hover {
  transform: translateY(-1px);
  border-color: rgba(79,143,217,0.3);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 22px rgba(76,104,138,0.08);
}

.event-stat::after {
  content: "Open";
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4f6f93;
  opacity: 0.78;
}

.event-stat::before {
  content: "↗";
  float: right;
  font-size: 0.9rem;
  font-weight: 800;
  color: #5d7ea3;
  opacity: 0.82;
}

.event-stat:hover::after,
.event-stat:hover::before {
  color: #2f5f92;
  opacity: 1;
}

.event-stat-label {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-stat-value {
  font-size: 1.28rem;
  font-weight: 800;
  margin: 0;
}

.actions-cell {
  min-width: 260px;
}

.events-row-actions {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  margin-top: 0;
}

.events-row-actions .button {
  width: 100%;
}

.status-inline-form {
  display: grid;
  gap: 8px;
  max-width: 220px;
}

.status-inline-form label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.status-inline-form select {
  margin: 0;
  min-height: 42px;
}

.status-inline-save {
  display: none;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.85rem;
}

.status-inline-form.is-dirty .status-inline-save {
  display: inline-flex;
  width: auto;
}

.admin-disclosure {
  overflow: hidden;
}

.admin-disclosure-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}

.admin-disclosure-summary::-webkit-details-marker {
  display: none;
}

.admin-disclosure-summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(79,143,217,0.12);
  color: #2f5f92;
  font-size: 1rem;
  font-weight: 800;
}

.admin-disclosure[open] .admin-disclosure-summary::after {
  content: "−";
}

.admin-disclosure-summary h2,
.admin-disclosure-summary p {
  margin-bottom: 0;
}

.admin-disclosure-body {
  margin-top: 16px;
}

.inline-undo-form {
  display: inline;
}

.table-index-row {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr) auto;
  align-items: center;
}

.table-row-actions {
  display: grid;
  gap: 10px;
  min-width: 180px;
}

.bulk-form-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.bulk-form-panel {
  min-width: 280px;
  max-width: 420px;
  width: 100%;
}

.splash-card, .login-card {
  max-width: 460px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.splash-card { text-align: center; }

.login-shell {
  max-width: 1120px;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 430px);
  align-items: center;
}

.login-intro {
  display: grid;
  gap: 24px;
  align-content: center;
  max-width: 560px;
}

.login-brand-mark img {
  width: auto;
  max-width: 220px;
  max-height: 82px;
  object-fit: contain;
}

.login-eyebrow,
.login-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(133, 162, 191, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: #4d6f92;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-intro-copy h1 {
  margin: 12px 0 10px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.98;
}

.login-intro-copy p {
  max-width: 480px;
  margin: 0;
  color: #5f7b99;
  font-size: 18px;
  line-height: 1.6;
}

.login-intro-points {
  display: grid;
  gap: 14px;
}

.login-point {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(133, 162, 191, 0.16);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 36px rgba(86, 116, 152, 0.08);
}

.login-point strong,
.login-point span {
  display: block;
}

.login-point strong {
  color: #18324c;
  font-size: 15px;
}

.login-point span {
  margin-top: 6px;
  color: #67829e;
  line-height: 1.55;
}

.login-card {
  max-width: 430px;
  padding: 22px;
}

.login-card-header {
  margin-bottom: 16px;
}

.login-card-header h2 {
  margin: 12px 0 8px;
  font-size: 34px;
  line-height: 1.02;
}

.login-card .helper {
  margin-bottom: 0;
}

.login-form {
  display: grid;
  gap: 10px;
}

.login-form button {
  margin-top: 8px;
}

.public-auth-page .login-shell {
  min-height: calc(100vh - 180px);
}

.public-auth-page .login-card,
.public-auth-page .login-point,
.public-auth-page .login-eyebrow,
.public-auth-page .login-card-kicker {
  border-radius: 0;
  box-shadow: none;
}

.public-auth-page .login-card {
  border: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.88);
  padding: 22px 24px;
}

.public-auth-page .login-point {
  padding: 16px 18px;
  border: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.78);
}

.public-auth-page .login-eyebrow,
.public-auth-page .login-card-kicker {
  background: #f5f9ff;
  border: 1px solid #d8e0ec;
  color: #58728f;
}

.public-auth-page .login-intro-copy h1 {
  color: #203045;
}

.public-auth-page .login-intro-copy p,
.public-auth-page .login-point span {
  color: #64748b;
}

.public-auth-page button,
.public-auth-page .button,
.public-support-page .button,
.public-support-page button {
  border-radius: 0;
  box-shadow: none;
}

.public-auth-page .success-box,
.public-auth-page .error-box {
  border-radius: 0;
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .events-meta-grid,
  .ops-metrics {
    grid-template-columns: 1fr;
  }

  .table-index-row {
    grid-template-columns: 1fr;
  }

  .table-row-actions {
    min-width: 0;
  }

  .login-intro {
    gap: 18px;
    max-width: none;
  }

  .login-brand-mark img {
    max-width: 180px;
    max-height: 68px;
  }

  .login-intro-copy h1 {
    font-size: 36px;
  }

  .login-intro-copy p {
    font-size: 15px;
  }

  .login-point {
    padding: 14px 16px;
    border-radius: 18px;
  }
}

@media (max-width: 1180px) {
  .ops-metrics,
  .ops-summary,
  .ops-actions,
  .ops-meta-grid,
  .ops-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .platform-wallet-provider-grid {
    grid-template-columns: 1fr;
  }

  .ops-grid,
  .ops-main-stack,
  .ops-support-stack,
  .ops-list,
  .ops-detail-stack,
  .ops-feedback-stack,
  .ops-audit-list {
    gap: 14px;
  }

  .ops-hero,
  .ops-card {
    padding: 18px;
    border-radius: 22px;
  }

  .ops-metrics,
  .ops-summary,
  .ops-actions,
  .ops-meta-grid,
  .ops-detail-grid,
  .access-inline-stats,
  .table-index-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .access-shell,
  .ops-layout,
  .builder-layout {
    grid-template-columns: 1fr;
  }

  .builder-sidebar {
    position: static;
  }
}

h1, h2, h3 {
  margin-top: 0;
  color: #18324c;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 10px;
}

h2 {
  font-size: 20px;
  line-height: 1.2;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
}

.helper,
.dashboard-meta,
.dashboard-label,
.context-helper,
.bottom-nav-role,
.bottom-nav-separator,
.bottom-nav-footer,
.bottom-nav-credit,
.bottom-nav-label {
  color: var(--muted);
}

.highlight {
  background: color-mix(in srgb, var(--accent) 42%, white);
  color: color-mix(in srgb, var(--text) 88%, #2b5a8e);
  padding: 1px 5px;
  border-radius: 8px;
}

input,
select,
textarea,
button,
.button {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  font-size: 15px;
}

input,
select,
textarea {
  padding: 12px 14px;
  margin-top: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(168, 179, 207, 0.18);
  background: var(--input-bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input::placeholder,
textarea::placeholder {
  color: #7d93ab;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(79, 143, 217, 0.46);
  box-shadow: 0 0 0 4px rgba(79, 143, 217, 0.10);
  background: rgba(255, 255, 255, 0.96);
}

textarea {
  width: 100%;
  resize: vertical;
}

textarea[readonly],
input[readonly] {
  background: rgba(240, 246, 252, 0.9);
  color: #4f6882;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #4f8fd9, #8dbef1);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(79, 143, 217, 0.18);
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

button:hover,
.button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(79, 143, 217, 0.22);
}

button:active,
.button:active {
  transform: translateY(0);
}

button.secondary,
.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: #17324d;
  border-color: rgba(133, 162, 191, 0.24);
  box-shadow: none;
}

button.secondary:hover,
.button.secondary:hover {
  background: rgba(255, 255, 255, 0.94);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.error-box,
.success-box,
.warning-box {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid transparent;
}

.error-box {
  background: var(--danger-bg);
  color: var(--danger-text);
  border-color: rgba(239, 68, 68, 0.22);
}

.success-box {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: rgba(34, 197, 94, 0.22);
}

.warning-box {
  background: var(--warning-bg);
  color: var(--warning-text);
  border-color: rgba(245, 158, 11, 0.22);
}

.user-chip { display: none !important; }
.user-chip-link { color: inherit; }

.install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 126px;
  z-index: 1000;
  background: rgba(8, 12, 24, 0.95);
  color: #fff;
  border: 1px solid rgba(168, 179, 207, 0.14);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.install-banner.hidden { display: none; }
.install-banner-text p { margin: 6px 0 0; color: #c6d0ea; }
.install-banner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

.scanner-header { display: flex; flex-direction: column; gap: 12px; }
.scanner-header h2 { margin: 0; }
.scanner-actions { display: grid; gap: 10px; }

#reader {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  margin-top: 0;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
  background: rgba(255, 255, 255, 0.82);
}

.person-card-header { display: flex; flex-direction: column; gap: 8px; }
.person-card-header h3,
.expandable-card-title-wrap h3 { margin: 0; font-size: 22px; color: #18324c; }

.status-badge {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.status-checked {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: rgba(34, 197, 94, 0.22);
}

.status-open {
  background: var(--warning-bg);
  color: var(--warning-text);
  border-color: rgba(245, 158, 11, 0.22);
}

.status-warning {
  background: color-mix(in srgb, var(--accent) 24%, white);
  color: color-mix(in srgb, var(--text) 84%, #8b5a1b);
  border-color: color-mix(in srgb, var(--primary) 18%, white);
}

.person-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.person-grid p,
.identity-line {
  margin: 0;
  line-height: 1.45;
  color: #405e79;
}

.card-actions { margin-top: 14px; }
.card-actions-stack { display: grid; gap: 8px; }
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.stack-actions-top {
  align-items: flex-start;
}

.stack-actions-between {
  justify-content: space-between;
}

.stack-actions > .button,
.stack-actions > button,
.stack-actions > a.button {
  width: auto;
  flex: 0 1 auto;
  min-width: 160px;
}

.stack-actions.compact > .button,
.stack-actions.compact > button,
.stack-actions.compact > a.button {
  min-width: 136px;
}

.stack-actions-margin-top {
  margin-top: 12px;
}

.stack-actions-margin-top-lg {
  margin-top: 16px;
}

.stack-actions-margin-bottom {
  margin-bottom: 10px;
}

.stack-actions-margin-bottom-lg {
  margin-bottom: 14px;
}

.stack-actions-panel {
  min-width: 280px;
  max-width: 420px;
  width: 100%;
}

.admin-search-card {
  display: grid;
  gap: 14px;
}

.admin-search-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 200px));
  align-items: center;
}

.admin-search-actions > .button,
.admin-search-actions > button,
.admin-search-actions > a.button {
  width: 100%;
  min-width: 0;
}

.error-card {
  border: 1px solid rgba(239, 68, 68, 0.28);
}

.results-summary-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--card) 92%, white 8%), color-mix(in srgb, var(--card-strong) 88%, white 12%));
}

.search-results-shell {
  display: grid;
  gap: 16px;
}

.search-results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.search-results-filter-card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--card) 94%, white 6%), color-mix(in srgb, var(--card-strong) 90%, white 10%));
}

.search-results-filter-actions {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
}

.search-results-summary-card {
  color: var(--text);
}

.registration-result-card {
  margin-top: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--card) 96%, white 4%), color-mix(in srgb, var(--card-strong) 92%, white 8%));
  box-shadow: 0 12px 26px rgba(76, 104, 138, 0.08);
}

.search-page .results-summary-card,
.search-page .search-results-filter-card,
.search-page .search-results-summary-card,
.search-page .registration-result-card,
.search-page .workspace-empty-state {
  border-radius: 0;
  box-shadow: none;
}

.search-page .results-summary-card,
.search-page .search-results-filter-card,
.search-page .search-results-summary-card,
.search-page .registration-result-card,
.search-page .workspace-empty-state {
  border: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.84);
}

.search-page .platform-page-actions > button,
.search-page .platform-page-actions > a {
  border-radius: 0;
}

.result-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.result-card-title {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
}

.result-card-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
}

.result-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill,
.info-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(133, 162, 191, 0.18);
}

.status-pill {
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
}

.status-pill.status-checked {
  background: color-mix(in srgb, var(--accent) 28%, white);
  color: color-mix(in srgb, var(--text) 82%, #244e7e);
  border-color: color-mix(in srgb, var(--primary) 22%, white);
}

.status-pill.status-open {
  background: color-mix(in srgb, var(--primary-soft) 90%, white 10%);
  color: color-mix(in srgb, var(--text) 84%, #2f5f93);
  border-color: color-mix(in srgb, var(--primary) 20%, white);
}

.info-pill {
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
}

.detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.detail-item,
.result-section {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(133, 162, 191, 0.16);
  background: rgba(255, 255, 255, 0.52);
}

.detail-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-value {
  margin: 0;
  color: var(--text);
}

.result-section {
  margin-top: 12px;
}

.result-section-title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.95rem;
}

.detail-stack {
  display: grid;
  gap: 10px;
}

.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(133, 162, 191, 0.12);
  color: var(--text);
}

.detail-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-line:last-child {
  padding-bottom: 0;
}

.result-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.result-card-actions > form,
.result-card-actions > a {
  flex: 1 1 180px;
}

.duplicate-card {
  border: 1px solid var(--border);
}

.status-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-overlay.show { opacity: 1; }

.status-overlay-content {
  text-align: center;
  color: #fff;
  padding: 28px;
  border-radius: 28px;
  background: rgba(10, 14, 28, 0.44);
  backdrop-filter: blur(8px);
}

.status-icon {
  font-size: 96px;
  line-height: 1;
  font-weight: bold;
  margin-bottom: 12px;
}

.status-message {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.2px;
}

.status-success { background: var(--checkin-overlay-success); }
.status-overlay.status-warning { background: var(--checkin-overlay-warning); }
.status-overlay.status-error { background: var(--checkin-overlay-error); }

.dashboard-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-card h2 {
  margin: 8px 0 0;
  font-size: 32px;
}

.dashboard-label {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.action-grid {
  display: grid;
  gap: 10px;
}

.table-wrap { overflow-x: auto; }

.stats-table,
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(250, 253, 255, 0.88);
  border-radius: 18px;
  overflow: hidden;
}

.stats-table th,
.stats-table td,
.dashboard-table th,
.dashboard-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(133, 162, 191, 0.22);
  color: #23415e;
}

.stats-table th,
.dashboard-table th {
  font-size: 13px;
  color: #5a7591;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(236, 244, 253, 0.96);
  font-weight: 800;
}

.stats-table tbody tr:nth-child(even) td,
.dashboard-table tbody tr:nth-child(even) td {
  background: rgba(248,251,255,0.72);
}

.stats-table tbody tr:hover td,
.dashboard-table tbody tr:hover td {
  background: rgba(246,250,255,0.92);
}

.stats-total-row td {
  background: rgba(242, 248, 255, 0.92);
}

.revenue-addon-row td,
.revenue-fee-row td {
  color: var(--muted);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
}

.checkbox-row input[type="checkbox"] {
  width: auto;
  min-height: auto;
  accent-color: #22d3ee;
}

.form-field.form-field-boolean-select {
  padding-top: 0;
}

.form-field .upload-current-asset {
  margin-top: 8px;
}

.form-field .upload-remove-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  color: #7a8b9d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-field .upload-remove-row input[type="checkbox"] {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0;
  flex: 0 0 22px;
}

.form-field .upload-remove-row span {
  line-height: 1;
}

details summary {
  cursor: pointer;
  margin-bottom: 12px;
}

.form-section {
  margin-bottom: 18px;
  padding-top: 4px;
}

.form-section h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.app-header {
  background: rgba(14, 19, 37, 0.92);
  color: #ffffff;
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(168, 179, 207, 0.14);
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-brand-mark img {
  width: auto;
  height: 58px;
  max-width: 160px;
  object-fit: contain;
}

.app-brand-copy strong,
.app-brand-copy span {
  display: block;
}

.app-brand-copy span {
  color: var(--muted);
  margin-top: 4px;
}

.app-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.app-chip-form {
  margin: 0;
}

.app-chip {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 160px;
  min-height: 56px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(133, 162, 191, 0.20);
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  color: #17324d;
  box-shadow: 0 10px 24px rgba(76, 104, 138, 0.08);
}

.app-chip strong,
.app-chip span {
  display: block;
}

.app-chip strong {
  font-size: 13px;
}

.app-chip span {
  font-size: 11px;
  color: var(--muted);
}

.app-chip-button {
  width: auto;
  min-width: 160px;
  margin: 0;
  text-align: left;
}

.app-chip-warning {
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 243, 205, 0.92));
  border-color: rgba(245, 158, 11, 0.24);
}

.app-chip-warning strong {
  color: #8a4b00;
}

.app-chip-warning span {
  color: #9a651f;
}

.bottom-nav {
  position: fixed;
  bottom: max(0px, var(--keyboard-offset, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 940px);
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.96), rgba(235, 244, 253, 0.94));
  border-top: 1px solid rgba(133, 162, 191, 0.24);
  box-shadow: 0 -18px 34px rgba(76, 104, 138, 0.14);
  z-index: 999;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.bottom-nav.keyboard-open {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(calc(100% + 18px));
}

.bottom-nav-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

.bottom-nav.bottom-nav-admin .bottom-nav-links {
  grid-template-columns: repeat(5, 1fr);
}

.bottom-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid transparent;
  color: #53708f;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  gap: 5px;
  transition: all 0.15s ease;
  text-align: center;
}

.bottom-nav-link:hover {
  color: #17324d;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(133, 162, 191, 0.2);
  transform: translateY(-1px);
}

.bottom-nav-link.active {
  color: #17324d;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(222, 238, 251, 0.92));
  border: 1px solid rgba(79, 143, 217, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.bottom-nav-footer {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 10px;
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px solid rgba(133, 162, 191, 0.16);
}

.bottom-nav-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 11px;
  color: #6b85a1;
}

.bottom-nav-impersonation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  color: #8a5a17;
  font-size: 11px;
  font-weight: 700;
}

.bottom-nav-impersonation form {
  margin: 0;
}

.bottom-nav-impersonation .button {
  min-height: 34px;
  width: auto;
  padding: 6px 12px;
  font-size: 11px;
}

.bottom-nav-user {
  color: #f0f4ff;
  font-weight: 800;
}

.bottom-nav-logout {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 800;
}

.bottom-nav-credit {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
  color: #7c92ab;
}

.bottom-nav-credit a,
.admin-console-footer a {
  color: inherit;
  text-decoration: none;
}

.bottom-nav-credit a:hover,
.admin-console-footer a:hover {
  text-decoration: underline;
}

.bottom-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(79, 143, 217, 0.12);
  color: #2f5f93;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bottom-nav-link.active .bottom-nav-badge {
  background: rgba(79, 143, 217, 0.18);
  color: #234f80;
}

.expandable-card-header {
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 0;
  border-radius: 0;
  padding: 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: inherit;
}

.expandable-card-title-wrap {
  flex: 1;
  min-width: 0;
}

.expandable-card-title-wrap h3 {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.expandable-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.expand-indicator {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  color: color-mix(in srgb, var(--primary) 72%, var(--text));
}

.expandable-card-body {
  display: none;
  margin-top: 14px;
}

.expandable-card.expanded .expandable-card-body {
  display: block;
}

@media (min-width: 720px) {
  .scanner-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .scanner-actions {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    width: 320px;
  }

  .person-card-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .person-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .install-banner {
    left: auto;
    right: 16px;
    width: 360px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .search-results-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .detail-line {
    flex-direction: column;
  }
}


.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.checkin-setup-shell,
.checkin-station-shell {
  max-width: 1100px;
}

.checkin-station-shell {
  padding-bottom: calc(136px + env(safe-area-inset-bottom));
}

.checkin-setup-hero h1,
.checkin-station-hero h1 {
  margin-bottom: 10px;
}

.checkin-setup-grid {
  display: grid;
  gap: 14px;
}

.checkin-hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 12px;
}

.checkin-hero-brand img {
  display: block;
  max-width: min(240px, 70vw);
  max-height: 72px;
  object-fit: contain;
}

.checkin-setup-hero,
.checkin-station-hero {
  text-align: left;
}

.checkin-setup-hero .checkin-hero-brand,
.checkin-station-hero .checkin-hero-brand {
  justify-content: center;
}

.checkin-setup-summary {
  margin-top: 6px;
}

.setup-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.setup-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(168,179,207,0.16);
  color: #f3f6ff;
  font-size: 13px;
  font-weight: 700;
}

.setup-pill-accent {
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(34,211,238,0.18));
  border-color: rgba(34,211,238,0.24);
}

.checkin-setup-actions,
.checkin-station-hero-actions {
  display: grid;
  gap: 10px;
}

.checkin-launch-button {
  min-height: 54px;
}

.checkin-station-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

.compact-hero {
  display: grid;
  gap: 12px;
}

.station-control-card {
  position: static;
  display: grid;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border-color: color-mix(in srgb, var(--primary) 24%, var(--border));
  box-shadow: 0 14px 28px rgba(76, 104, 138, 0.08);
}

.checkin-station-shell .card,
.checkin-station-shell .station-control-card,
.checkin-station-shell .station-empty-state,
.checkin-station-shell .station-reader-shell,
.checkin-station-shell .setup-pill,
.checkin-station-shell .status-overlay-content {
  border-radius: 0;
  box-shadow: none;
}

.checkin-station-shell .card,
.checkin-station-shell .station-control-card,
.checkin-station-shell .station-empty-state,
.checkin-station-shell .station-reader-shell {
  border: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.86);
}

.checkin-station-shell .setup-pill {
  border: 1px solid #d8e0ec;
  background: #f8fbff;
  color: #425a78;
}

.checkin-station-shell .setup-pill-accent {
  background: #eef5ff;
  border-color: #cdddf6;
  color: #31517d;
}

.checkin-station-shell button,
.checkin-station-shell .button,
.checkin-station-shell a.button {
  border-radius: 0;
  box-shadow: none;
}

.checkin-station-shell .button.secondary,
.checkin-station-shell button.secondary {
  background: #f5f9ff;
}

.station-panel-header,
.station-search-block,
.station-scanner-block {
  display: grid;
  gap: 8px;
}

.station-panel-header h2,
.station-scanner-heading h3 {
  margin: 0;
}

.station-panel-header .eyebrow {
  margin: 0;
}

.station-search-block {
  padding: 14px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 90%, white 10%);
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--border));
}

.station-search-block label {
  font-weight: 700;
  color: var(--text);
}

.station-scanner-block {
  padding: 14px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--card-strong) 82%, white 18%);
  border: 1px solid color-mix(in srgb, var(--primary) 16%, var(--border));
}

.station-scanner-heading {
  display: grid;
  gap: 6px;
}

.station-scanner-heading .helper,
.station-scan-status {
  margin: 0;
}

.station-scan-status {
  min-height: 1.4em;
}

.station-reader-shell {
  padding: 10px;
  border-radius: 20px;
  background: rgba(244, 249, 255, 0.95);
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--border));
}

.action-row {
  display: grid;
  gap: 10px;
}

.station-action-row {
  margin-top: 10px;
}

.station-action-row button,
.station-action-row .button {
  width: 100%;
}

.station-empty-state h2 {
  margin-bottom: 8px;
}

.station-registrant-card .expandable-card-header {
  align-items: center;
  padding: 0;
}

.station-registrant-card h3 {
  margin: 0;
}

.checkin-station-results {
  display: grid;
  gap: 14px;
}

.checkin-station-results .results-stack {
  display: grid;
  gap: 14px;
}

.station-registrant-card .highlight {
  background: color-mix(in srgb, var(--accent) 40%, white);
  color: var(--text);
  padding: 0 4px;
  border-radius: 6px;
}

.checkin-station-results .results-summary-card {
  padding: 16px 18px;
  box-shadow: 0 10px 22px rgba(76, 104, 138, 0.06);
  background: rgba(255, 255, 255, 0.92);
  border-color: color-mix(in srgb, var(--primary) 20%, var(--border));
}

.checkin-station-results .results-summary-card p {
  margin: 0;
}

.checkin-station-results .duplicate-card,
.checkin-station-results .station-registrant-card {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-color: color-mix(in srgb, var(--primary) 24%, var(--border));
  color: var(--text);
  box-shadow: 0 12px 26px rgba(76, 104, 138, 0.08);
}

.checkin-station-results .duplicate-card {
  box-shadow: 0 10px 22px rgba(76, 104, 138, 0.06);
}

.checkin-station-results .station-registrant-card h3,
.checkin-station-results .station-registrant-card p,
.checkin-station-results .station-registrant-card strong,
.checkin-station-results .results-summary-card .results-summary-title,
.checkin-station-results .results-summary-helper {
  color: var(--text);
}

.checkin-station-results .station-registrant-card .detail-group-label,
.checkin-station-results .station-registrant-card .helper,
.checkin-station-results .results-summary-card p {
  color: var(--muted);
}

.checkin-station-results .station-registrant-card .highlight {
  background: color-mix(in srgb, var(--accent) 42%, white);
  color: var(--text);
}

.checkin-station-results .expandable-card-header {
  min-height: 0;
  margin: 0;
}

.station-card-body {
  border-top: 1px solid rgba(168, 179, 207, 0.12);
  padding-top: 14px;
}

.station-card-title-wrap {
  display: grid;
  gap: 4px;
}

.station-card-subtitle {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.station-card-actions {
  display: grid;
  gap: 10px;
}

.station-primary-action {
  width: 100%;
}

.station-secondary-actions {
  display: grid;
  gap: 10px;
}

.station-secondary-actions > .button,
.station-secondary-actions > button {
  width: 100%;
}

.station-details-list {
  display: grid;
  gap: 10px;
}

.station-details-list p,
.station-addon-block p,
.station-addon-block li {
  margin: 0;
  color: var(--text);
}

.station-addon-block {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(133, 162, 191, 0.16);
}

.station-addon-block ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

@media (min-width: 720px) {
  .station-control-card {
    position: sticky;
    top: calc(12px + env(safe-area-inset-top));
    padding: 20px;
  }

  .checkin-setup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkin-setup-actions {
    grid-template-columns: 1.2fr .8fr;
  }

  .compact-hero {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .checkin-station-grid {
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  }

  .station-action-row {
    grid-template-columns: 1fr 1fr;
  }

  .station-details-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }

  .station-secondary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Public registration */
.public-registration-page {
  padding-bottom: 132px;
}

.registration-shell--public {
  max-width: 1180px;
  margin: 0 auto;
}

.registration-hero-card,
.registration-shell--public .field-card--section {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.public-registration-page .registration-hero-card,
.public-registration-page .registration-shell--public .field-card--section,
.public-registration-page .registration-meta-chip,
.public-registration-page .registration-hero-stat,
.public-registration-page .registration-attendee-card,
.public-registration-page .registration-attendee-head,
.public-registration-page .registration-summary-card,
.public-registration-page .registration-total-panel,
.public-registration-page .button,
.public-registration-page button {
  border-radius: 0;
  box-shadow: none;
}

.public-registration-page .registration-hero-card,
.public-registration-page .registration-shell--public .field-card--section,
.public-registration-page .registration-hero-stat,
.public-registration-page .registration-summary-card,
.public-registration-page .registration-total-panel {
  border: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.86);
}

.public-registration-page .registration-meta-chip {
  border: 1px solid #d8e0ec;
  background: #f7fbff;
  color: #4c6887;
}

.public-registration-page .registration-meta-chip--accent {
  background: #eef5ff;
  border-color: #cfddf1;
}

.public-registration-page .registration-attendee-head {
  border-bottom-color: #d8e0ec;
}

.public-registration-page .registration-feedback {
  border-radius: 0;
}

.public-support-page .support-shell,
.public-support-page .family-shell {
  max-width: 980px;
  margin: 0 auto;
}

.public-support-page .support-card,
.public-support-page .family-card,
.public-support-page .camper-card,
.public-support-page .support-note {
  border-radius: 0;
  box-shadow: none;
}

.public-support-page .support-card,
.public-support-page .family-card,
.public-support-page .camper-card {
  border: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.86);
}

.public-support-page .support-grid,
.public-support-page .family-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 16px;
}

.public-support-page .support-stat strong,
.public-support-page .family-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
}

.public-support-page .camper-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 18px;
}

.public-support-page .camper-card h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.public-support-page .camper-card p {
  margin: 6px 0;
}

.public-support-page .support-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #d8e0ec;
  background: #f8fbff;
}

.public-support-page .support-actions,
.public-support-page .camper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.registration-hero-card {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(238, 246, 255, 0.96));
  border: 1px solid rgba(123, 154, 201, 0.22);
  box-shadow: 0 22px 48px rgba(125, 157, 214, 0.16);
  display: grid;
  gap: 18px;
  padding: 22px;
  margin-bottom: 18px;
}

.registration-hero-card::after,
.registration-shell--public .field-card--section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 42%);
  pointer-events: none;
}

.registration-shell--public .field-card--section {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(238, 246, 255, 0.96));
  border: 1px solid rgba(123, 154, 201, 0.22);
  box-shadow: 0 22px 48px rgba(125, 157, 214, 0.16);
}

.registration-eyebrow,
.registration-summary-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
  color: #5a7ca0;
}

.registration-hero-card h1 {
  margin-bottom: 10px;
  color: #183556;
}

.registration-hero-text {
  max-width: 68ch;
  margin-bottom: 0;
  color: #58728f;
}

.registration-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.registration-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(123, 154, 201, 0.22);
  background: rgba(255, 255, 255, 0.84);
  color: #355678;
  font-size: 13px;
  font-weight: 600;
}

.registration-meta-chip--accent {
  background: rgba(79, 143, 217, 0.14);
  border-color: rgba(79, 143, 217, 0.24);
  color: #2d5c8f;
}

.registration-hero-panel {
  display: grid;
  gap: 12px;
}

.registration-hero-stat {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(123, 154, 201, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.registration-hero-stat-label,
.registration-total-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.registration-hero-stat strong,
.registration-total-panel strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.registration-hero-stat--muted strong {
  font-size: 15px;
  color: #355678;
}

.registration-feedback {
  margin-bottom: 0;
}

.registration-form-layout {
  display: grid;
  gap: 18px;
}

.registration-main-column,
.registration-sidebar {
  display: grid;
  gap: 18px;
}

.registration-attendee-list {
  display: grid;
  gap: 16px;
}

.registration-attendee-card {
  display: grid;
  gap: 16px;
}

.registration-attendee-head {
  display: grid;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(133, 162, 191, 0.16);
}

.registration-attendee-copy {
  margin: 0;
}

.registration-section-block {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(133, 162, 191, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.registration-section-block h3 {
  margin: 0;
  font-size: 1rem;
  color: #183556;
}

.registration-add-card {
  margin-top: 12px;
}

.registration-summary-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(133, 162, 191, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: #355678;
  font-weight: 700;
  margin-bottom: 16px;
}

.registration-summary-count strong {
  font-size: 1.2rem;
  color: #183556;
}

.registration-section-card,
.registration-summary-card,
.registration-submit-card,
.registration-empty-card,
.registration-subsection-wrap .field-card {
  margin-bottom: 0;
  padding: 20px;
}

.registration-subsection-wrap .field-card {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(123, 154, 201, 0.2);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.registration-subsection-wrap .field-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 46%);
  pointer-events: none;
}

.registration-section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.registration-section-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.32);
  color: #efe7ff;
  font-size: 14px;
  font-weight: 800;
}

.registration-section-heading h2,
.registration-subsection-wrap h2,
.registration-summary-card h2,
.registration-submit-card h2,
.registration-empty-card h2 {
  margin-bottom: 6px;
  color: #183556;
}

.registration-shell--public .field-card--section .helper,
.registration-shell--public .field-card--section p,
.registration-shell--public .field-card--section li {
  color: #58728f;
}

.form-grid {
  gap: 14px;
}

.form-field {
  position: relative;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: #294b72;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.form-field .helper {
  margin-top: -2px;
  margin-bottom: 0;
  min-height: 1.45em;
  font-size: 12px;
  line-height: 1.45;
  color: #5f7894;
}

.form-field .helper.helper-empty {
  visibility: hidden;
}

.form-field input,
.form-field select,
.form-field textarea {
  margin-top: 0;
  margin-bottom: 10px;
  border-radius: 16px;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(107, 143, 185, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.form-field textarea {
  min-height: 120px;
}

.readonly-box {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(107, 143, 185, 0.28);
  border-radius: 16px;
  background: rgba(247, 251, 255, 0.96);
}

.upload-current-asset {
  display: block;
  word-break: break-word;
}

.upload-current-asset a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.upload-current-asset a:hover {
  text-decoration: underline;
}

.upload-remove-row {
  margin-top: 10px;
}

.builder-card,
.field-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 14px;
}

.builder-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.builder-head > .button,
.builder-head > button,
.builder-head > .secondary,
.builder-head > button.secondary {
  width: auto;
  min-width: 0;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #c8d3e1;
  background: rgba(255,255,255,0.82);
  color: #243447;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
}

.builder-head > .button:hover,
.builder-head > button:hover,
.builder-head > .secondary:hover,
.builder-head > button.secondary:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  background: rgba(255,255,255,0.94);
  border-color: #3658d4;
  color: #203045;
}

.builder-page-section .stack-actions > .button,
.builder-page-section .stack-actions > button,
.builder-page-section .stack-actions > a.button {
  width: auto;
  min-width: 0;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #c8d3e1;
  background: rgba(255,255,255,0.82);
  color: #243447;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
}

.builder-page-section .stack-actions > .button:hover,
.builder-page-section .stack-actions > button:hover,
.builder-page-section .stack-actions > a.button:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  background: rgba(255,255,255,0.94);
  border-color: #3658d4;
  color: #203045;
}

.inventory-settings-card {
  display: grid;
  gap: 18px;
}

.inventory-settings-card > .form-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 14px;
  width: 100%;
}

.inventory-settings-card > .form-grid > .form-field {
  min-width: 0;
}

.inventory-settings-card--assigned > .form-grid > .form-field:nth-child(-n+3),
.inventory-settings-card--table > .form-grid > .form-field:nth-child(-n+3) {
  grid-column: span 2;
}

.inventory-settings-card--assigned > .form-grid > .form-field:nth-child(n+4),
.inventory-settings-card--table > .form-grid > .form-field:nth-child(n+4) {
  grid-column: span 3;
}

.builder-card .button.secondary,
.builder-card button.secondary {
  border-radius: 0;
  box-shadow: none;
}

.builder-row {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
  margin-bottom: 12px;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.builder-row-summary {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.builder-row-toggle {
  display: block;
  position: relative;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.70);
  box-shadow: none;
}

.builder-row-toggle strong,
.builder-row-toggle span {
  display: block;
}

.builder-row-toggle span {
  color: var(--muted);
  margin-top: 6px;
}

.builder-row-toggle::after {
  content: "Open";
  position: absolute;
  top: 14px;
  right: 16px;
  color: #4f6f93;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builder-row-toggle[aria-expanded="true"]::after {
  content: "Close";
}

.builder-row-remove {
  width: auto;
  min-width: 112px;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #c8d3e1;
  background: rgba(255,255,255,0.82);
  color: #243447;
}

.builder-row-body {
  margin-top: 14px;
}

.builder-row-collapsible.is-collapsed .builder-row-body {
  display: none;
}

.readonly-box {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.error-text {
  color: #b91c1c;
  font-size: .9rem;
  margin-top: 6px;
}

.settings-stack {
  display: grid;
  gap: 16px;
}

.settings-panel {
  border: 1px solid #d8e0ec;
  border-radius: 0;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: none;
}

.settings-panel-accent {
  background: rgba(247, 249, 253, .92);
}

.settings-panel-header {
  margin-bottom: 12px;
}

.settings-panel-header h3,
.builder-subpanel-header h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.settings-panel-header p,
.builder-subpanel-header p {
  margin: 0;
}

.builder-subpanel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #d8e0ec;
}

.builder-subpanel-header {
  margin-bottom: 12px;
}

.builder-collapsible-head {
  align-items: flex-start;
}

.builder-collapsible-head > :first-child {
  flex: 1 1 320px;
}

.builder-collapsible-head h2 {
  margin: 0 0 6px;
}

.builder-collapsible-head .helper {
  margin: 0;
}

.builder-collapsible-actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex: 0 0 auto;
}

.builder-collapsible-add {
  min-width: 220px;
  justify-content: center;
}

.builder-collapsible-card.is-collapsed .builder-collapsible-body {
  display: none;
}

.builder-collapsible-card.is-collapsed {
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 760px) {
  .builder-row-summary {
    flex-direction: column;
  }

  .builder-row-remove {
    width: 100%;
  }
}

.issue-link-stack {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.issue-link-card {
  padding: 14px 16px;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(247, 249, 253, .92);
}

.issue-link-card h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.issue-link-list {
  display: grid;
  gap: 8px;
}

.issue-link-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.issue-link-label {
  font-size: .86rem;
  font-weight: 700;
  color: #334155;
}

.issue-link-url {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.issue-link-copy {
  min-width: 84px;
}

.wallet-design-card {
  display: grid;
  gap: 18px;
  background: rgba(255, 255, 255, .82);
  border-radius: 0;
  box-shadow: none;
}

.wallet-design-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.wallet-design-hero h2 {
  margin: 0 0 6px;
}

.wallet-design-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wallet-design-toolbar .helper {
  margin: 0;
  max-width: 760px;
}

.wallet-design-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}

.wallet-design-toolbar-actions .button {
  width: auto;
  min-width: 0;
  min-height: 38px;
  padding: 0 12px;
  flex: 0 0 auto;
  display: inline-flex;
  justify-content: center;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #c8d3e1;
  background: rgba(255,255,255,0.82);
  color: #243447;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
}

.wallet-design-toolbar-actions .button:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  background: rgba(255,255,255,0.94);
  border-color: #3658d4;
  color: #203045;
}

.wallet-design-toolbar-actions .wallet-save-trigger {
  border-color: #3658d4;
  background: #3658d4;
  color: #ffffff;
}

.wallet-design-toolbar-actions .wallet-save-trigger:hover {
  background: #2f4fc6;
  border-color: #2f4fc6;
  color: #ffffff;
}

.wallet-save-status {
  min-height: 1.25rem;
  margin-top: -8px;
}

.wallet-save-status.is-success {
  color: #166534;
  font-weight: 600;
}

.wallet-save-status.is-error {
  color: #b91c1c;
  font-weight: 600;
}

.wallet-status-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wallet-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 0;
  font-size: .85rem;
  font-weight: 700;
  border: 1px solid #d8e0ec;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.wallet-status-pill.is-ready {
  background: rgba(34, 197, 94, .12);
  color: #166534;
}

.wallet-status-pill.is-missing {
  background: rgba(245, 158, 11, .12);
  color: #92400e;
}

.wallet-status-pill:hover,
.wallet-status-pill:focus-visible {
  transform: none;
  box-shadow: none;
  border-color: #c8d3e1;
  outline: none;
}

.wallet-design-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.wallet-preview {
  position: relative;
  min-height: 420px;
  border-radius: 0;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
  background: var(--wallet-bg, #111827);
  color: var(--wallet-fg, #fff);
  box-shadow: 0 18px 44px rgba(17, 24, 39, .18);
  overflow: hidden;
}

.wallet-design-card .wallet-preview h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.05;
  color: var(--wallet-fg, #fff);
  font-weight: 700;
}

.wallet-preview-topline,
.wallet-preview-copy {
  margin: 0;
  color: var(--wallet-fg, #fff);
}

.wallet-preview-topline {
  font-size: .82rem;
  font-weight: 700;
  opacity: .95;
}

.wallet-preview-copy {
  font-size: .92rem;
  opacity: .9;
}

.wallet-preview-copy.is-hidden,
.wallet-preview-image.is-hidden,
.wallet-preview-google-logo.is-hidden,
.wallet-apple-brand-icon.is-hidden,
.wallet-apple-brand-subline.is-hidden,
.wallet-apple-info-logo.is-hidden,
.wallet-apple-strip-layout.is-hidden,
.wallet-apple-info-layout.is-hidden,
.wallet-apple-field.is-hidden,
.wallet-apple-barcode.is-hidden {
  display: none;
}

.wallet-preview-footer {
  margin-top: auto;
  font-size: .78rem;
  color: var(--wallet-label, #9CA3AF);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wallet-preview-image {
  margin-top: 8px;
  border-radius: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  min-height: 104px;
}

.wallet-preview-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-preview-google-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .86rem;
  font-weight: 700;
}

.wallet-preview-google-logo {
  width: 28px;
  height: 28px;
  border-radius: 0;
  object-fit: cover;
  background: #fff;
}

.wallet-design-card .wallet-preview-apple {
  padding: 0;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 640px;
  border-radius: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--wallet-bg, #111827) 88%, #fff 12%), var(--wallet-bg, #111827));
  box-shadow: 0 22px 48px rgba(17, 24, 39, .22);
}

.wallet-design-card .wallet-apple-notch {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 94px;
  height: 26px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: #101826;
  z-index: 2;
}

.wallet-design-card .wallet-apple-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 20px 14px;
}

.wallet-design-card .wallet-apple-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.wallet-design-card .wallet-apple-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 0;
  object-fit: cover;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .12);
}

.wallet-design-card .wallet-apple-brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.wallet-design-card .wallet-apple-brand-name {
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--wallet-fg, #fff);
}

.wallet-design-card .wallet-apple-brand-subline {
  font-size: .75rem;
  line-height: 1.2;
  color: color-mix(in srgb, var(--wallet-fg, #fff) 80%, transparent);
}

.wallet-design-card .wallet-apple-datetime {
  text-align: right;
  display: grid;
  gap: 2px;
}

.wallet-design-card .wallet-apple-date {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.wallet-design-card .wallet-apple-time {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
}

.wallet-design-card .wallet-apple-strip-layout {
  padding: 0 20px;
}

.wallet-design-card .wallet-apple-strip-frame {
  border-radius: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.wallet-design-card .wallet-apple-strip-frame img {
  display: block;
  width: 100%;
  height: 138px;
  object-fit: cover;
}

.wallet-design-card .wallet-apple-info-layout {
  padding: 4px 20px 0;
  display: grid;
  gap: 14px;
}

.wallet-design-card .wallet-apple-info-logo {
  max-width: 220px;
}

.wallet-design-card .wallet-apple-info-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
}

.wallet-design-card .wallet-preview-apple[data-wallet-preview-mode="info"] .wallet-apple-topbar {
  padding-bottom: 8px;
}

.wallet-design-card .wallet-preview-apple[data-wallet-preview-mode="info"] .wallet-apple-info-layout h3 {
  font-size: 2rem;
  line-height: 1.02;
  letter-spacing: .01em;
}

.wallet-design-card .wallet-preview-apple[data-wallet-preview-mode="strip"] .wallet-apple-info-layout {
  display: none;
}

.wallet-design-card .wallet-apple-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
  padding: 18px 20px 12px;
}

.wallet-design-card .wallet-apple-field {
  display: grid;
  gap: 4px;
  align-content: start;
}

.wallet-design-card .wallet-apple-field.is-hidden {
  display: none;
}

.wallet-design-card .wallet-apple-field.wallet-apple-field-description {
  grid-column: 1 / -1;
}

.wallet-design-card .wallet-apple-field-label {
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--wallet-label, #9CA3AF);
}

.wallet-design-card .wallet-apple-field-value {
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--wallet-fg, #fff);
}

.wallet-design-card .wallet-apple-barcode {
  margin-top: auto;
  padding: 0 20px 20px;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.wallet-design-card .wallet-apple-barcode.is-hidden {
  display: none;
}

.wallet-design-card .wallet-apple-barcode-surface {
  width: min(88%, 272px);
  background: #fff;
  border-radius: 0;
  padding: 10px 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.wallet-design-card .wallet-preview-qr {
  display: grid;
  place-items: center;
}

.wallet-design-card .wallet-preview-qr svg {
  display: block;
  width: 118px;
  height: 118px;
  max-width: 100%;
  filter: drop-shadow(0 2px 1px rgba(15, 23, 42, .08));
}

.wallet-design-card .wallet-preview-qr-google svg {
  width: 110px;
  height: 110px;
}

.wallet-design-card .wallet-apple-barcode-caption {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--wallet-fg, #fff) 82%, transparent);
}

.wallet-design-card .wallet-preview-google {
  padding: 0;
  grid-template-rows: auto auto auto;
  gap: 0;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  color: #111827;
  box-shadow: 0 22px 48px rgba(15, 23, 42, .18);
}

.wallet-design-card .wallet-google-front {
  display: grid;
  gap: 14px;
  padding: 18px 18px 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .2), transparent 32%),
    linear-gradient(180deg, color-mix(in srgb, var(--wallet-bg, #111827) 82%, #8b5cf6 18%), var(--wallet-bg, #111827));
  color: var(--wallet-fg, #fff);
}

.wallet-design-card .wallet-google-front-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.wallet-design-card .wallet-google-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 700;
}

.wallet-design-card .wallet-google-datetime {
  text-align: right;
  display: grid;
  gap: 2px;
}

.wallet-design-card .wallet-google-date {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.wallet-design-card .wallet-google-time {
  font-size: 1.2rem;
  font-weight: 700;
}

.wallet-design-card .wallet-google-venue-line {
  font-size: .95rem;
  font-weight: 600;
  opacity: .9;
}

.wallet-design-card .wallet-google-front-subline {
  font-size: .9rem;
  font-weight: 600;
  opacity: .88;
  margin-top: -6px;
}

.wallet-design-card .wallet-google-front-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.wallet-design-card .wallet-google-front-field {
  display: grid;
  gap: 4px;
}

.wallet-design-card .wallet-google-front-field.is-hidden {
  display: none;
}

.wallet-design-card .wallet-google-front-label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: color-mix(in srgb, var(--wallet-fg, #fff) 78%, transparent);
}

.wallet-design-card .wallet-google-front-value {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--wallet-fg, #fff);
}

.wallet-design-card .wallet-google-barcode {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding-top: 8px;
}

.wallet-design-card .wallet-google-barcode.is-hidden {
  display: none;
}

.wallet-design-card .wallet-google-barcode-surface {
  width: min(80%, 220px);
  background: #fff;
  border-radius: 0;
  padding: 10px 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.wallet-design-card .wallet-google-barcode-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--wallet-fg, #fff) 78%, transparent);
}

.wallet-design-card .wallet-google-barcode-caption {
  font-size: .82rem;
  letter-spacing: .08em;
  color: color-mix(in srgb, var(--wallet-fg, #fff) 84%, transparent);
}

.wallet-design-card .wallet-google-hero {
  margin-top: 2px;
  border-radius: 0;
  min-height: 140px;
  background: #050505;
}

.wallet-design-card .wallet-google-hero img {
  height: 160px;
}

.wallet-design-card .wallet-google-perf-line {
  position: relative;
  height: 18px;
  background: #f8fafc;
  border-top: 1px dashed rgba(148, 163, 184, .42);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}

.wallet-design-card .wallet-google-perf-line::before,
.wallet-design-card .wallet-google-perf-line::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #eef2ff;
}

.wallet-design-card .wallet-google-perf-line::before {
  left: -9px;
}

.wallet-design-card .wallet-google-perf-line::after {
  right: -9px;
}

.wallet-design-card .wallet-google-back {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  color: #1f2937;
}

.wallet-design-card .wallet-google-back h3 {
  color: #111827;
  font-size: 1.75rem;
}

.wallet-design-card .wallet-google-back-head {
  display: flex;
  align-items: center;
}

.wallet-design-card .wallet-google-back-head .wallet-preview-google-logo {
  background: linear-gradient(135deg, #c4b5fd, #93c5fd);
}

.wallet-design-card .wallet-google-back-brandline {
  font-size: .96rem;
  font-weight: 700;
  color: #475569;
  margin-top: -8px;
}

.wallet-design-card .wallet-google-back-stack {
  display: grid;
  gap: 14px;
}

.wallet-design-card .wallet-google-back-block {
  display: grid;
  gap: 4px;
}

.wallet-design-card .wallet-google-back-block.is-hidden {
  display: none;
}

.wallet-design-card .wallet-google-back-label {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
}

.wallet-design-card .wallet-google-back-value {
  font-size: 1rem;
  line-height: 1.35;
  color: #111827;
}

.wallet-design-card .wallet-google-back-note {
  display: grid;
  gap: 4px;
  padding-top: 2px;
  border-top: 1px solid rgba(226, 232, 240, .9);
  color: #475569;
  font-size: .92rem;
  line-height: 1.4;
}

.wallet-design-card .wallet-google-back-note strong {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}

.wallet-design-card .wallet-preview-google [data-wallet-preview-brand] {
  color: inherit;
}

.wallet-design-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.wallet-design-section {
  border: 1px solid rgba(130, 167, 214, .18);
  border-radius: 0;
  padding: 16px;
  background: rgba(255, 255, 255, .72);
}

.wallet-design-card .builder-subpanel,
.wallet-design-card .issue-link-card {
  border-radius: 0;
  box-shadow: none;
}

.wallet-design-card .form-field input[type="color"] {
  padding: 4px;
  min-height: 46px;
  height: 46px;
  border: 1px solid #c8d3e1;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.wallet-design-section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.wallet-design-section-head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  color: #203045;
  letter-spacing: -0.01em;
}

.wallet-design-section-head p {
  margin: 0;
  line-height: 1.45;
  color: #64748b;
}

.wallet-design-card .builder-subpanel-header {
  display: grid;
  gap: 6px;
}

.wallet-design-card .builder-subpanel-header h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  color: #203045;
  letter-spacing: -0.01em;
}

.wallet-design-card .builder-subpanel-header p {
  margin: 0;
  line-height: 1.45;
  color: #64748b;
}

@media (max-width: 720px) {
  .issue-link-row {
    grid-template-columns: 1fr;
  }

  .issue-link-copy {
    justify-self: flex-start;
  }

  .wallet-design-toolbar {
    align-items: flex-start;
  }

  .wallet-design-toolbar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .wallet-design-toolbar-actions .button {
    flex: 1 1 180px;
  }

  .wallet-design-card .wallet-apple-fields,
  .wallet-design-card .wallet-google-front-grid {
    grid-template-columns: 1fr;
  }
}

.addon-block {
  position: relative;
  border: 1px solid rgba(168, 179, 207, 0.16);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 12px;
}

.addon-block:last-child {
  margin-bottom: 0;
}

.registration-summary-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: #4f6884;
  display: grid;
  gap: 10px;
}

.registration-total-panel {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(73, 148, 204, 0.18);
  background: linear-gradient(180deg, rgba(234, 246, 255, 0.96), rgba(221, 239, 255, 0.92));
}

.registration-total-panel strong {
  font-size: 32px;
  margin-bottom: 8px;
  color: #163a62;
}

.registration-submit-card {
  position: static;
}

.registration-submit-actions {
  margin-top: 14px;
}

.registration-payment-shell {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.registration-payment-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(123, 154, 201, 0.2);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.registration-card-element {
  padding: 14px 16px;
  min-height: 52px;
  border: 1px solid rgba(107, 143, 185, 0.34);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.registration-empty-card {
  padding: 22px;
}

@media (min-width: 900px) {
  .registration-hero-card {
    grid-template-columns: 1.6fr minmax(260px, 0.9fr);
    align-items: start;
  }

  .registration-form-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
    align-items: start;
  }
}

@media (max-width: 640px) {
  .stack-actions > .button,
  .stack-actions > button,
  .stack-actions > a.button {
    width: 100%;
    flex: 1 1 100%;
    min-width: 0;
  }

  .admin-search-actions {
    grid-template-columns: 1fr;
  }

  .public-registration-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .registration-hero-card,
  .registration-section-card,
  .registration-summary-card,
  .registration-submit-card,
  .registration-empty-card,
  .registration-subsection-wrap .field-card {
    padding: 18px;
  }

  .registration-section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .registration-section-step {
    width: 30px;
    height: 30px;
  }

  .registration-total-panel strong {
    font-size: 28px;
  }
}

/* Restored dashboard UI system from tranche 3 */


.container.app-dashboard-shell {
  max-width: 1200px;
}

.dashboard-section {
  margin-top: 26px;
}

.dashboard-two-column,
.dashboard-chart-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 380px);
  gap: 18px;
  padding: 20px;
  margin-bottom: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.92));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 42px);
}

.hero-text {
  max-width: 700px;
  margin: 0 0 10px;
  color: #4d6984;
  font-size: 16px;
  line-height: 1.6;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.eyebrow-pill,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(133, 162, 191, 0.20);
  color: #446b92;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  margin: 0 0 8px;
  width: fit-content;
}

.status-inline {
  margin: 0;
}

.status-active,
.status-published,
.status-live {
  background: var(--success-bg);
  color: var(--success-text);
}

.status-draft {
  background: var(--warning-bg);
  color: var(--warning-text);
}

.status-archived,
.status-closed,
.status-inactive {
  background: var(--danger-bg);
  color: var(--danger-text);
}

.hero-sidecard {
  display: flex;
}

.event-switcher-card {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.dashboard-console-grid {
  display: grid;
  gap: 18px;
}

.dashboard-shell-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 248, 255, 0.90));
  padding: 20px;
  box-shadow: var(--shadow);
}

.dashboard-shell-card .section-heading {
  margin-bottom: 16px;
}

.dashboard-hero-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--primary) 22%, transparent), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,248,255,0.90));
}

.dashboard-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.dashboard-hero-card h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.dashboard-hero-card .hero-text {
  font-size: 1.02rem;
  max-width: 720px;
}

.dashboard-event-switcher {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(133,162,191,0.18);
}

.dashboard-link-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.dashboard-link-tile {
  display: block;
  padding: 16px;
  border: 1px solid rgba(133,162,191,0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  color: var(--text);
  text-decoration: none;
}

.dashboard-link-tile strong,
.dashboard-link-tile span {
  display: block;
}

.dashboard-link-tile span {
  margin-top: 6px;
  color: var(--muted);
}

.dashboard-page .dashboard-shell-card,
.dashboard-page .dashboard-hero-card,
.dashboard-page .dashboard-event-switcher,
.dashboard-page .dashboard-link-tile,
.dashboard-page .workspace-section-card,
.dashboard-page .workspace-metric-card,
.dashboard-page .metric-card,
.dashboard-page .workspace-summary-card,
.dashboard-page .workspace-summary-stat,
.dashboard-page .workspace-empty-state {
  border-radius: 0;
  box-shadow: none;
}

.dashboard-page .dashboard-shell-card,
.dashboard-page .dashboard-hero-card,
.dashboard-page .dashboard-event-switcher,
.dashboard-page .workspace-section-card,
.dashboard-page .workspace-metric-card,
.dashboard-page .metric-card,
.dashboard-page .workspace-summary-card,
.dashboard-page .workspace-summary-stat,
.dashboard-page .workspace-empty-state {
  border: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.82);
}

.dashboard-page .dashboard-link-tile {
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
}

.dashboard-page .dashboard-link-tile:hover {
  background: #f5f9ff;
}

.dashboard-page .dashboard-hero-card {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.84);
}

.dashboard-page .dashboard-event-switcher {
  padding: 16px;
}

.dashboard-page .eyebrow-pill,
.dashboard-page .status-pill {
  border-radius: 0;
}

@media (max-width: 980px) {
  .dashboard-hero-grid {
    grid-template-columns: 1fr;
  }
}

.tight-heading {
  margin-bottom: 10px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.section-helper {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

.kpi-grid,
.sector-progress-grid,
.action-card-grid,
.revenue-summary-grid {
  display: grid;
  gap: 16px;
}

.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-card,
.revenue-summary-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 248, 255, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.kpi-card h2,
.revenue-summary-card h3 {
  margin: 4px 0 8px;
  font-size: clamp(26px, 3vw, 34px);
}

.kpi-card h2 span {
  font-size: 0.56em;
  color: var(--muted);
}

.kpi-label,
.kpi-footnote {
  margin: 0;
}

.kpi-label {
  color: #4d6883;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kpi-footnote {
  color: var(--muted);
  font-size: 13px;
}

.accent-card {
  background: linear-gradient(180deg, rgba(229, 242, 255, 0.96), rgba(241, 248, 255, 0.92));
}

.success-card {
  background: linear-gradient(180deg, rgba(232, 247, 238, 0.96), rgba(241, 248, 255, 0.92));
}

.muted-card {
  background: linear-gradient(180deg, rgba(236, 242, 250, 0.96), rgba(241, 248, 255, 0.92));
}

.action-card-shell {
  padding: 12px;
}

.action-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
  justify-content: start;
}

.action-card-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-height: 150px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(133, 162, 191, 0.16);
  background: rgba(255,255,255,0.72);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.action-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 143, 217, 0.28);
  background: rgba(79, 143, 217, 0.08);
}

.action-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(79, 143, 217, 0.10);
  font-size: 20px;
}

.action-card-title {
  font-weight: 800;
  color: #18324c;
}

.action-card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.sector-progress-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.sector-progress-card h2 {
  margin-bottom: 12px;
}

.sector-progress-card h2 span {
  font-size: 0.55em;
  color: var(--muted);
}

.sector-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.sector-progress-percent {
  color: #18324c;
  font-weight: 700;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(79, 143, 217, 0.12);
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.chart-card canvas,
.card canvas {
  max-width: 100%;
  margin-top: 12px;
}

.revenue-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.revenue-summary-card h3 {
  margin-bottom: 6px;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover td,
.clickable-row:hover th {
  background: rgba(124, 58, 237, 0.10);
}

@media (min-width: 900px) {
  .dashboard-two-column,
  .dashboard-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .hero-panel,
  .kpi-grid,
  .revenue-summary-grid {
    grid-template-columns: 1fr;
  }
}

.admin-console-shell {
  display: block;
}

.admin-console-sidebar {
  display: none;
}

.admin-console-main {
  min-width: 0;
}

.admin-console-main > .admin-content {
  margin: 0;
}

.admin-console-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-console-heading h1 {
  margin-bottom: 8px;
}

.admin-console-heading p {
  margin: 0;
  color: var(--muted);
  max-width: none;
}

.admin-console-topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

  .admin-console-topbar-actions .button {
    width: auto;
    min-width: 0;
  }

  .admin-console-topbar-side {
    justify-items: end;
    min-width: min(100%, 320px);
  }

.admin-console-topbar-side {
  display: grid;
  gap: 16px;
}

.admin-console-workflow-card {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(133, 162, 191, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 248, 255, 0.86));
  box-shadow: 0 14px 28px rgba(76, 104, 138, 0.08);
}

.admin-console-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-console-breadcrumbs-shell {
  margin: 0 0 16px;
}

.admin-console-breadcrumbs a,
.admin-console-breadcrumbs span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-console-breadcrumbs a {
  color: #33577e;
  text-decoration: none;
  font-weight: 700;
}

.admin-console-breadcrumbs a:hover {
  color: #24476f;
}

.admin-console-breadcrumbs a::after,
.admin-console-breadcrumbs span::after {
  content: "/";
  color: rgba(106, 132, 160, 0.7);
  font-weight: 700;
}

.admin-console-breadcrumbs span[aria-current="page"] {
  color: var(--text);
  font-weight: 800;
}

.admin-console-breadcrumbs span[aria-current="page"]::after,
.admin-console-breadcrumbs > *:last-child::after {
  content: none;
}

.admin-console-workflow-links {
  display: grid;
  gap: 8px;
}

.admin-console-workflow-links .section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.admin-console-workflow-links .section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(130, 167, 214, 0.2);
  background: rgba(255,255,255,0.78);
  color: #46627e;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.25;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.admin-console-workflow-links .section-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(79,143,217,0.28);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 18px rgba(76,104,138,0.08);
}

.admin-console-workflow-links .section-nav a.is-active {
  background:
    linear-gradient(90deg, rgba(79,143,217,0.14), rgba(79,143,217,0.05) 18%, rgba(245,249,255,0.98) 18%, rgba(234,242,252,0.96));
  border-color: rgba(79,143,217,0.22);
  color: #2a4d71;
  box-shadow: 0 10px 18px rgba(76,104,138,0.08);
}

.admin-console-workflow-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-subnav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.workspace-subnav-link {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(130, 167, 214, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: #355272;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.workspace-subnav-link strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.workspace-subnav-link span {
  display: block;
  color: #6a85a3;
  font-size: 0.9rem;
  line-height: 1.4;
}

.workspace-subnav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 143, 217, 0.34);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 22px rgba(76, 104, 138, 0.10);
}

.workspace-subnav-link.is-active {
  border-color: rgba(79, 143, 217, 0.38);
  background: linear-gradient(180deg, rgba(244, 249, 255, 0.98), rgba(232, 241, 252, 0.94));
  box-shadow: 0 14px 28px rgba(76, 104, 138, 0.12);
  color: #1f466f;
}

.workspace-subnav-link.is-active span {
  color: #557597;
}

.workspace-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.workspace-section-kicker {
  margin: 0 0 6px;
  color: #6c86a2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-section-heading h2 {
  margin: 0;
  color: #18324c;
  font-weight: 800;
}

.workspace-section-heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.workspace-section-heading-actions .button,
.workspace-section-heading-actions button {
  width: auto;
  min-width: 0;
  margin: 0;
}

.workspace-section-heading + .helper,
.workspace-section-heading + .billing-helper {
  margin-top: 10px;
}

.workspace-page-stack {
  display: grid;
  gap: 18px;
}

.workspace-page-shell,
.workspace-page-body {
  display: grid;
  gap: 18px;
}

.workspace-section-card {
  display: grid;
  gap: 16px;
}

.workspace-card-collapse {
  display: grid;
  gap: 0;
}

.workspace-card-collapse-summary {
  list-style: none;
  cursor: pointer;
}

.workspace-card-collapse-summary::-webkit-details-marker {
  display: none;
}

.workspace-card-collapse-summary .workspace-section-heading {
  margin-bottom: 0;
}

.workspace-card-collapse-summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 42%, white);
  outline-offset: 6px;
  border-radius: 14px;
}

.workspace-card-collapse-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(133,162,191,0.24);
  background: rgba(236,244,253,0.88);
  color: #34567f;
  flex: 0 0 auto;
}

.workspace-card-collapse-indicator::before {
  content: "−";
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
}

.workspace-card-collapse:not([open]) .workspace-card-collapse-indicator::before {
  content: "+";
}

.workspace-card-collapse-body {
  display: grid;
  gap: 16px;
  padding-top: 14px;
}

.workspace-form-action-bar {
  display: grid;
  gap: 12px;
}

.workspace-summary-card {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 24%, transparent), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,248,255,0.90));
}

.workspace-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 18px;
}

.workspace-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.workspace-summary-stat,
.workspace-metric-card {
  padding: 14px 16px;
  border: 1px solid rgba(133,162,191,0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.80);
}

a.workspace-summary-stat {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.workspace-summary-stat:hover {
  transform: translateY(-1px);
  border-color: rgba(111, 152, 214, 0.34);
  box-shadow: 0 12px 24px rgba(63, 95, 135, 0.08);
}

.workspace-summary-stat.is-active {
  border-color: rgba(111, 152, 214, 0.38);
  box-shadow: inset 0 0 0 1px rgba(111, 152, 214, 0.16);
}

.workspace-summary-stat p,
.workspace-metric-card p {
  margin: 0 0 6px;
  color: var(--muted);
}

.workspace-summary-stat strong,
.workspace-metric-card strong {
  display: block;
  color: #18324c;
}

.workspace-metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.workspace-metric-card strong {
  margin-top: 8px;
  font-size: 1.35rem;
}

.workspace-metric-card.is-accent {
  background: linear-gradient(180deg, rgba(229, 242, 255, 0.96), rgba(241, 248, 255, 0.92));
}

.workspace-metric-card.is-success {
  background: linear-gradient(180deg, rgba(232, 247, 238, 0.96), rgba(241, 248, 255, 0.92));
}

.workspace-metric-card.is-muted {
  background: linear-gradient(180deg, rgba(236, 242, 250, 0.96), rgba(241, 248, 255, 0.92));
}

.workspace-metric-card .kpi-label,
.workspace-metric-card .kpi-footnote,
.workspace-metric-card .helper {
  width: 100%;
}

.workspace-metric-card .kpi-label,
.workspace-metric-card .kpi-footnote {
  margin: 0;
}

.workspace-detail-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.workspace-detail-stat {
  padding: 14px 16px;
  border: 1px solid rgba(133,162,191,0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
}

.workspace-detail-stat p {
  margin: 0 0 6px;
  color: var(--muted);
}

.workspace-detail-stat strong {
  display: block;
  color: #18324c;
}

.workspace-record-list {
  display: grid;
  gap: 12px;
}

.workspace-record-row {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(133,162,191,0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
  text-decoration: none;
}

.workspace-record-row strong {
  color: #18324c;
}

.workspace-record-row span {
  color: var(--muted);
}

.workspace-record-row.is-clickable {
  cursor: pointer;
}

.workspace-record-row.is-clickable:hover {
  background: rgba(236,244,253,0.86);
  border-color: rgba(79,143,217,0.28);
}

.workspace-stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.workspace-stat-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
}

.workspace-stat-item span {
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workspace-stat-item strong {
  color: #203045;
  font-size: 1rem;
}

.workspace-code-block {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .92rem;
  color: #18324c;
}

.workspace-empty-state {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px dashed rgba(133,162,191,0.28);
  border-radius: 18px;
  background: rgba(245, 250, 255, 0.72);
}

.workspace-empty-state h3 {
  margin: 0;
  color: #18324c;
  font-size: 1.12rem;
  font-weight: 800;
}

.workspace-empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.workspace-preview-stack {
  display: grid;
  gap: 16px;
}

.workspace-preview-panel {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(133,162,191,0.16);
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  box-shadow: none;
}

.workspace-preview-panel h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--text);
}

.platform-page .workspace-stat-item,
.platform-page .workspace-summary-stat,
.platform-page .workspace-metric-card,
.platform-page .workspace-detail-stat,
.platform-page .workspace-record-row,
.platform-page .workspace-empty-state,
.platform-page .workspace-preview-panel,
.platform-page .readonly-box {
  border-radius: 0;
  border: 1px solid #d8e0ec;
  background: rgba(255,255,255,0.82);
  box-shadow: none;
}

.platform-page .workspace-summary-card {
  border-radius: 0;
  background: rgba(255,255,255,0.82);
  box-shadow: none;
}

.platform-page .workspace-summary-stat,
.platform-page .workspace-metric-card,
.platform-page .workspace-detail-stat,
.platform-page .workspace-record-row {
  border-color: #d8e0ec;
  background: rgba(255,255,255,0.82);
}

.platform-page .workspace-summary-stat p,
.platform-page .workspace-metric-card p,
.platform-page .workspace-detail-stat p,
.platform-page .workspace-record-row span,
.platform-page .workspace-empty-state p,
.platform-page .workspace-stat-item span {
  color: #64748b;
}

.platform-page .workspace-summary-stat strong,
.platform-page .workspace-metric-card strong,
.platform-page .workspace-detail-stat strong,
.platform-page .workspace-record-row strong,
.platform-page .workspace-empty-state h3,
.platform-page .workspace-stat-item strong,
.platform-page .workspace-preview-panel h3 {
  color: #203045;
}

.platform-page .workspace-empty-state {
  border-style: solid;
  background: rgba(255,255,255,0.82);
}

.platform-page .kpi-card,
.platform-page .revenue-summary-card,
.platform-page .directory-kpi-card,
.platform-page .client-meta-card,
.platform-page .users-directory-kpi {
  border-radius: 0;
  border: 1px solid #d8e0ec;
  background: rgba(255,255,255,0.82);
  box-shadow: none;
  transform: none;
}

.platform-page .directory-kpi-card:hover,
.platform-page .client-meta-card:hover,
.platform-page .users-directory-kpi:hover {
  transform: none;
  background: rgba(255,255,255,0.9);
  border-color: #d8e0ec;
  box-shadow: none;
}

.platform-page .directory-kpi-card.is-active,
.platform-page .client-meta-card.is-active,
.platform-page .users-directory-kpi.is-active {
  background: rgba(248,251,255,0.88);
  border-color: #d8e0ec;
  box-shadow: none;
}

.platform-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255,255,255,0.82);
  box-shadow: none;
}

.platform-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-page .readonly-box {
  min-height: 42px;
  padding: 12px 14px;
  background: #ffffff;
  color: #203045;
}

.platform-page .debug-pre,
.platform-page pre.debug-pre {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: #ffffff;
  color: #203045;
  box-shadow: none;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.5;
}

.workspace-preview-html {
  white-space: normal;
}

.workspace-pre-wrap {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.workspace-preview-disclosure {
  margin: 0;
  box-shadow: none;
}

.workspace-preview-disclosure .workspace-pre-wrap {
  margin-top: 12px;
}

.workspace-two-column-shell {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  align-items: start;
}

.workspace-two-column-shell.is-single-column {
  grid-template-columns: 1fr;
}

.workspace-form-stack {
  display: grid;
  gap: 18px;
}

.workspace-summary-card.is-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(242,248,255,0.88));
}

.workspace-section-heading.is-condensed {
  margin-bottom: 14px;
}

.workspace-section-heading.is-condensed + .helper {
  margin-top: 0;
}

.workspace-selection-card {
  padding: 16px 18px;
  border: 1px solid rgba(133,162,191,0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  margin-bottom: 14px;
}

.workspace-selection-card .helper {
  margin: 8px 0 0;
}

.workspace-selection-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 12px;
}

.workspace-selection-option {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(133,162,191,0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.9);
}

.workspace-selection-option input {
  margin-right: 8px;
}

.workspace-selection-option strong {
  color: #18324c;
}

.workspace-selection-option span {
  color: #6a85a3;
  font-size: .92rem;
  line-height: 1.4;
}

.workspace-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 14px 0 0;
}

.workspace-inline-actions .button,
.workspace-inline-actions button {
  width: auto;
  min-width: 0;
  margin: 0;
}

.workspace-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #6a85a3;
  margin-bottom: 14px;
}

.workspace-meta-line strong {
  color: #355272;
}

.workspace-meta-separator {
  color: rgba(106, 133, 163, 0.7);
}

.workspace-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.workspace-meta-bar .workspace-inline-actions {
  margin: 0;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.workspace-directory-layout {
  display: grid;
  gap: 18px;
}

.workspace-directory-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(242,248,255,0.90));
  box-shadow: var(--shadow);
}

.workspace-directory-card.is-summary {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 24%, transparent), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,248,255,0.90));
}

.workspace-entity-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #18324c;
}

.workspace-entity-meta {
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.45;
}

.workspace-subset-link {
  color: #34567f;
  text-decoration: none;
  font-weight: 700;
}

.workspace-subset-link:hover {
  color: #244b77;
  text-decoration: underline;
}

.workspace-action-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  min-width: 260px;
}

.workspace-action-grid .button {
  min-width: 0;
}

.workspace-data-layout {
  display: grid;
  gap: 18px;
}

.workspace-data-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(242,248,255,0.90));
  box-shadow: var(--shadow);
}

.workspace-flow-shell {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.workspace-flow-card {
  min-width: 0;
}

.workspace-flow-card > *:first-child {
  margin-top: 0;
}

.workspace-flow-card > *:last-child {
  margin-bottom: 0;
}

.workspace-flow-builder {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.workspace-flow-panels {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  min-width: 0;
  align-items: start;
}

.workspace-flow-panels > * {
  min-width: 0;
}

.layout-builder-page .workspace-flow-card,
.layout-builder-page .layout-builder-note,
.layout-builder-page .layout-builder-board,
.layout-builder-page .layout-builder-list-item,
.layout-builder-page .layout-builder-json,
.layout-builder-page .layout-builder-status-pill,
.layout-builder-page .layout-builder-help-chip,
.layout-builder-page .layout-builder-focus-toggle,
.layout-builder-page .layout-builder-inline-input,
.layout-builder-page .layout-builder-inline-select {
  border-radius: 0;
}

.layout-builder-page .workspace-flow-card,
.layout-builder-page .layout-builder-note,
.layout-builder-page .layout-builder-list-item,
.layout-builder-page .layout-builder-json,
.layout-builder-page .layout-builder-status-pill,
.layout-builder-page .layout-builder-help-chip,
.layout-builder-page .layout-builder-focus-toggle {
  box-shadow: none;
}

.layout-builder-page .workspace-flow-card,
.layout-builder-page .layout-builder-note,
.layout-builder-page .layout-builder-list-item {
  border-color: #d8e0ec;
  background: rgba(255, 255, 255, 0.82);
}

.layout-builder-page .layout-builder-json,
.layout-builder-page .layout-builder-board {
  border: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.9);
}

.layout-builder-page .builder-head h2,
.layout-builder-page .layout-builder-title-row h2,
.layout-builder-page .workspace-flow-card h2,
.layout-builder-page .layout-builder-note strong,
.layout-builder-page .layout-builder-list-item strong {
  color: #17324d;
}

.layout-builder-page .builder-head p,
.layout-builder-page .layout-builder-note span,
.layout-builder-page .layout-builder-list-item span,
.layout-builder-page .layout-builder-inspector,
.layout-builder-page .layout-builder-json,
.layout-builder-page .layout-builder-help-chip {
  color: #60758a;
}

.layout-builder-page .layout-builder-help-chip,
.layout-builder-page .layout-builder-status-pill {
  min-height: 34px;
  border-color: #d8e0ec;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layout-builder-page .layout-builder-focus-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cfd8e5;
  background: rgba(255, 255, 255, 0.92);
  color: #3f5369;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layout-builder-page .layout-builder-focus-toggle:hover,
.layout-builder-page .layout-builder-focus-toggle[aria-pressed="true"] {
  background: rgba(54, 88, 212, 0.06);
  color: #203045;
}

.layout-builder-page .layout-builder-inline-form .button,
.layout-builder-page .layout-builder-inline-form button,
.layout-builder-page .layout-builder-actions .button,
.layout-builder-page .layout-builder-actions button,
.layout-builder-page .layout-builder-palette .button,
.layout-builder-page .layout-builder-palette button {
  width: auto;
  min-width: 0;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #c8d3e1;
  background: rgba(255, 255, 255, 0.82);
  color: #243447;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
}

.layout-builder-page .layout-builder-inline-form .button:hover,
.layout-builder-page .layout-builder-inline-form button:hover,
.layout-builder-page .layout-builder-actions .button:hover,
.layout-builder-page .layout-builder-actions button:hover,
.layout-builder-page .layout-builder-palette .button:hover,
.layout-builder-page .layout-builder-palette button:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.94);
  border-color: #3658d4;
  color: #203045;
}

.layout-builder-page .layout-builder-board-card {
  position: relative;
}

.layout-builder-page .layout-builder-board-card .builder-head {
  align-items: flex-start;
}

.layout-builder-page .layout-builder-board-card .builder-head > :first-child {
  width: 100%;
  padding-right: 156px;
}

.layout-builder-page .layout-builder-board-card .layout-builder-title-row {
  display: block;
}

.layout-builder-page .layout-builder-board-card .layout-builder-focus-toggle {
  position: absolute !important;
  top: 16px;
  right: 16px;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0;
  max-width: max-content;
  white-space: nowrap;
  z-index: 3;
  padding: 0 14px;
}

.workspace-table-wrap {
  overflow: auto;
  border: 1px solid rgba(133,162,191,0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
}

.workspace-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.workspace-table th,
.workspace-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(133,162,191,0.18);
  text-align: left;
  vertical-align: top;
}

.workspace-table th {
  font-size: .78rem;
  color: #5a7591;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(236,244,253,0.96);
}

.workspace-table tr.is-clickable {
  cursor: pointer;
}

.workspace-table tr.is-clickable:hover td {
  background: rgba(236,244,253,0.78);
}

.workspace-table tr.is-clickable:focus-within td {
  background: rgba(236,244,253,0.9);
}

.workspace-mini-note {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .workspace-subnav {
    grid-template-columns: 1fr;
  }

  .workspace-meta-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .workspace-meta-bar .workspace-inline-actions {
    justify-content: stretch;
  }
}

@media (max-width: 1080px) {
  .workspace-two-column-shell {
    grid-template-columns: 1fr;
  }

  .workspace-flow-shell,
  .workspace-flow-builder {
    gap: 18px;
  }

  .workspace-flow-panels {
    grid-template-columns: 1fr;
  }
}

.settings-workspace-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.settings-workspace-link {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(130, 167, 214, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: #355272;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.settings-workspace-link strong {
  font-size: 1rem;
  line-height: 1.2;
}

.settings-workspace-link span {
  color: #6a85a3;
  font-size: 0.9rem;
  line-height: 1.4;
}

.settings-workspace-link:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 143, 217, 0.34);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 22px rgba(76, 104, 138, 0.10);
}

.settings-workspace-link.is-active {
  border-color: rgba(79, 143, 217, 0.38);
  background: linear-gradient(180deg, rgba(244, 249, 255, 0.98), rgba(232, 241, 252, 0.94));
  box-shadow: 0 14px 28px rgba(76, 104, 138, 0.12);
  color: #1f466f;
}

.settings-workspace-link.is-active span {
  color: #557597;
}

.settings-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.settings-section-kicker {
  margin: 0 0 6px;
  color: #6c86a2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-page {
  display: grid;
  gap: 0;
  padding: 0;
}

.admin-content.platform-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

.platform-page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 28px;
  padding: 30px 34px 22px;
  border-bottom: 1px solid #d8e0ec;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.56));
  align-items: start;
}

.platform-page-intro > :first-child {
  display: grid;
  align-content: start;
  min-height: 132px;
}

.platform-page-kicker {
  margin: 0 0 8px;
  color: #76879b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-page-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 1.8rem + 0.6vw, 2.6rem);
  line-height: 1.04;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.platform-page-section h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #203045;
  letter-spacing: -0.02em;
}

.platform-page-intro p,
.platform-page-section-header p,
.platform-page-health p {
  margin: 12px 0 0;
  color: #64748b;
  line-height: 1.6;
  max-width: 760px;
}

.platform-page-intro > :first-child > p:last-child {
  min-height: calc(1.6em * 2);
}

.platform-page-health {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #d8e0ec;
  background: rgba(255,255,255,0.74);
  border-radius: 0;
  box-shadow: none;
}

.platform-page-health-label {
  display: block;
  color: #7a8b9d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-page-health strong {
  font-size: 0.98rem;
  color: #203045;
}

.platform-page-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  padding: 0 34px;
  background: rgba(255,255,255,0.56);
  border-top: 1px solid #d8e0ec;
  border-bottom: 1px solid #d8e0ec;
}

.platform-page-tab-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  min-width: 0;
}

.platform-page-tabs.has-utility-actions {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow-x: visible;
}

.builder-page-flash-stack {
  display: grid;
  gap: 0;
  padding: 0;
  background: rgba(255,255,255,0.56);
}

.builder-page-flash-stack .success-box,
.builder-page-flash-stack .error-box,
.builder-page-flash-stack .warning-box {
  margin: 0;
  padding: 12px 16px;
  border-radius: 0;
  box-shadow: none;
  border-left-width: 0;
  border-right-width: 0;
}

.platform-page-tab {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  color: #66788c;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.platform-page-tab:hover {
  color: #203045;
  background: rgba(54, 88, 212, 0.06);
}

.platform-page-tab.is-active {
  color: #203045;
  border-bottom-color: #3658d4;
}

.platform-page-tab-actions {
  display: inline-flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  flex: 0 0 auto;
  padding: 0;
  align-self: stretch;
}

.platform-page-tab-actions.is-utility {
  width: auto;
  flex: 0 0 auto;
}

.platform-page-tab-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 100%;
  padding: 0 16px;
  color: #3f5369;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 1px solid #cfd8e5;
  border-right: 1px solid #cfd8e5;
  background: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.platform-page-tab-action + .platform-page-tab-action {
  margin-left: -1px;
}

.platform-page-tab-action:hover {
  color: #203045;
  background: rgba(54, 88, 212, 0.06);
}

.platform-inline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-left: 1px solid #cfd8e5;
  border-right: 1px solid #cfd8e5;
  border-top: 1px solid #cfd8e5;
  border-bottom: 1px solid #cfd8e5;
  background: rgba(255, 255, 255, 0.92);
  color: #3f5369;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  border-radius: 0;
}

.platform-inline-action:hover {
  color: #203045;
  background: rgba(54, 88, 212, 0.06);
  box-shadow: none;
}

.directory-table td.table-cell-actions {
  position: relative;
  padding: 0;
  white-space: nowrap;
  vertical-align: top;
}

.directory-table td.table-cell-actions > .platform-inline-action {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.directory-table td.table-cell-actions > .platform-inline-action,
.directory-table td.table-cell-actions .table-utility-actions .platform-inline-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-top: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.directory-table td.table-cell-actions .table-utility-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, max-content);
  align-items: stretch;
  width: max-content;
  height: 100%;
  margin-left: auto;
}

.directory-table td.table-cell-actions .table-utility-actions form {
  display: flex;
  flex: 1 1 0;
}

.directory-table td.table-cell-actions .table-utility-actions .platform-inline-action {
  width: 100%;
  min-height: 78px;
  padding: 0 16px;
  border-top: 0;
  border-bottom: 0;
}

.directory-table td.table-cell-actions .table-utility-actions .platform-inline-action.is-placeholder {
  pointer-events: none;
}

.directory-table td.table-cell-actions .table-utility-actions .platform-inline-action + .platform-inline-action {
  margin-left: -1px;
}

.directory-table tbody tr:nth-child(even) td.table-cell-actions > .platform-inline-action,
.directory-table tbody tr:nth-child(even) td.table-cell-actions .table-utility-actions .platform-inline-action {
  background: rgba(248, 251, 255, 0.72);
}

.directory-table tbody tr:hover td.table-cell-actions > .platform-inline-action,
.directory-table tbody tr:hover td.table-cell-actions .table-utility-actions .platform-inline-action {
  background: rgba(246, 250, 255, 0.92);
}

.attendance-page-grid {
  display: grid;
  gap: 18px;
}

.attendance-page .platform-page-section {
  margin: 0;
}

.attendance-page .platform-page-form .form-grid {
  display: grid;
  gap: 14px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.attendance-page .platform-page-form .form-width-full {
  grid-column: 1 / -1;
}

.attendance-page .platform-page-form .form-width-half,
.attendance-page .platform-page-form .form-width-third,
.attendance-page .platform-page-form .form-width-quarter {
  grid-column: span 1;
}

.attendance-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.attendance-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.attendance-page .directory-table td.table-cell-actions {
  padding: 0;
}

.attendance-page .workspace-status-pill {
  border-radius: 0;
}

.attendance-member-qr-grid {
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
}

.attendance-member-qr-actions form {
  margin: 0;
}

.attendance-member-qr-actions .platform-inline-action {
  width: 100%;
}

@media (max-width: 900px) {
  .attendance-page .platform-page-form .form-grid {
    grid-template-columns: 1fr;
  }

  .attendance-page .platform-page-form .form-width-half,
  .attendance-page .platform-page-form .form-width-third,
  .attendance-page .platform-page-form .form-width-quarter {
    grid-column: auto;
  }
}

.platform-page-stage {
  display: grid;
  gap: 18px;
  padding: 28px 34px 18px;
  width: 100%;
  max-width: none;
}

.platform-page-form {
  display: grid;
  gap: 18px;
}

.platform-page-form .form-grid {
  display: grid;
  gap: 16px;
}

.platform-page-form .form-field {
  display: grid;
  gap: 6px;
}

.platform-page-section {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid #d8e0ec;
  background: rgba(255,255,255,0.82);
  border-radius: 0;
  box-shadow: none;
}

.platform-page-section-header {
  display: grid;
  gap: 6px;
  margin-bottom: 2px;
}

.platform-page-section .helper,
.platform-page-section .billing-helper {
  color: #64748b;
}

.platform-page-section .form-field .helper,
.platform-page-section .form-field .billing-helper {
  margin-top: 0;
  margin-bottom: 6px;
  line-height: 1.35;
}

.platform-page-section label {
  color: #7a8b9d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-page-section input,
.platform-page-section select,
.platform-page-section textarea {
  min-height: 42px;
  border: 1px solid #c8d3e1;
  background: #ffffff;
  color: #203045;
  margin-top: 4px;
  margin-bottom: 0;
  box-shadow: none;
  border-radius: 0;
}

.platform-page-section textarea {
  min-height: 120px;
}

.platform-page-section input:focus,
.platform-page-section select:focus,
.platform-page-section textarea:focus {
  border-color: #3658d4;
  box-shadow: 0 0 0 4px rgba(54, 88, 212, 0.08);
  background: #ffffff;
}

.platform-wallet-stack {
  display: grid;
  gap: 18px;
}

.platform-wallet-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.platform-wallet-group {
  display: grid;
  gap: 16px;
  align-content: start;
}

.platform-page-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 0 24px 0;
}

.platform-page-actions button {
  width: auto;
  min-width: 200px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #3658d4;
  background: #3658d4;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0;
}

.platform-page-actions button:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  background: #2f4fc6;
}

.platform-page-actions .platform-page-tab-action {
  align-self: center;
  min-height: 42px;
  padding: 0 16px;
  border-top: 1px solid #cfd8e5;
  border-bottom: 1px solid #cfd8e5;
  background: rgba(255, 255, 255, 0.92);
}

.client-settings-page .client-settings-section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.client-settings-page .client-settings-form .form-grid {
  display: grid;
  gap: 16px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-settings-page .client-settings-form .form-width-full {
  grid-column: 1 / -1;
}

.client-settings-page .client-settings-form .form-width-half,
.client-settings-page .client-settings-form .form-width-third,
.client-settings-page .client-settings-form .form-width-quarter {
  grid-column: span 1;
}

.client-settings-page .client-settings-form .form-field.form-field-boolean-select {
  margin-top: 0;
}

.client-settings-page .client-settings-form-row {
  display: grid;
  gap: 16px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.client-settings-page .client-settings-form-row .form-width-full {
  grid-column: 1 / -1;
}

.client-settings-page .client-settings-form-row .form-width-half,
.client-settings-page .client-settings-form-row .form-width-third,
.client-settings-page .client-settings-form-row .form-width-quarter {
  grid-column: span 1;
}

.client-settings-page .client-settings-form-row .form-field {
  display: flex;
  flex-direction: column;
  align-self: start;
}

.client-settings-page #client-payments .client-settings-form-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-settings-page #client-payments .client-settings-form-row .form-field {
  display: grid;
  grid-template-rows: auto auto minmax(34px, auto);
  align-content: start;
}

.client-settings-page #client-payments .client-settings-form-row .form-field label {
  grid-row: 1;
}

.client-settings-page #client-payments .client-settings-form-row .form-field input,
.client-settings-page #client-payments .client-settings-form-row .form-field select,
.client-settings-page #client-payments .client-settings-form-row .form-field textarea,
.client-settings-page #client-payments .client-settings-form-row .form-field .readonly-box {
  grid-row: 2;
}

.client-settings-page #client-payments .client-settings-form-row .form-field .helper,
.client-settings-page #client-payments .client-settings-form-row .form-field .billing-helper,
.client-settings-page #client-payments .client-settings-form-row .form-field .error-text {
  grid-row: 3;
  margin-top: 6px;
  margin-bottom: 0;
}

.client-settings-page #client-payments .client-settings-form-row .form-width-full {
  grid-column: 1 / -1;
}

.client-settings-page #client-payments .client-settings-form-row .form-width-half {
  grid-column: span 2;
}

.client-settings-page #client-payments .client-settings-form-row .form-width-third,
.client-settings-page #client-payments .client-settings-form-row .form-width-quarter {
  grid-column: span 1;
}

.client-integrations-grid {
  display: grid;
  gap: 22px;
}

.client-integrations-page .client-integrations-readiness,
.client-integrations-page .integration-secret-status-list {
  display: grid;
  gap: 12px;
}

.client-integrations-page .client-integrations-note,
.client-integrations-page .integration-secret-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.82);
}

.client-integrations-page .integration-secret-status {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.client-integrations-page .integration-secret-status-title {
  margin: 0;
  color: #6a84a0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-integrations-page .integration-secret-status-row strong {
  color: #17324d;
}

.client-integrations-page .integration-secret-status-row span,
.client-integrations-page .client-integrations-note {
  color: #64748b;
}

.client-integrations-page .client-integrations-secret-block {
  display: grid;
  gap: 16px;
  padding-top: 4px;
}

.client-integrations-page .integration-secret-status,
.client-integrations-page .integration-secret-status-list,
.client-integrations-page .integration-secret-status-row {
  border-radius: 0;
  box-shadow: none;
}

.client-integrations-page .client-integrations-empty-actions {
  justify-content: flex-start;
  padding: 0;
}

.client-billing-grid {
  display: grid;
  gap: 22px;
}

.client-billing-page .client-billing-subtabs {
  margin-top: -2px;
}

.client-billing-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.client-billing-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-billing-page .directory-table td.table-cell-actions {
  padding: 0;
}

.client-billing-page .workspace-status-pill {
  border-radius: 0;
}

.client-billing-page .platform-page-form .form-grid {
  display: grid;
  gap: 16px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-billing-page .platform-page-form .form-width-full {
  grid-column: 1 / -1;
}

.client-billing-page .platform-page-form .form-width-half,
.client-billing-page .platform-page-form .form-width-third,
.client-billing-page .platform-page-form .form-width-quarter {
  grid-column: span 1;
}

.client-units-grid {
  display: grid;
  gap: 22px;
}

.client-units-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.client-units-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-units-page .directory-table td.table-cell-actions {
  padding: 0;
}

.client-units-page .platform-page-form .form-grid {
  display: grid;
  gap: 16px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-units-page .platform-page-form .form-width-full {
  grid-column: 1 / -1;
}

.client-units-page .platform-page-form .form-width-half,
.client-units-page .platform-page-form .form-width-third,
.client-units-page .platform-page-form .form-width-quarter {
  grid-column: span 1;
}

.client-units-page .client-units-danger-actions {
  justify-content: flex-start;
  padding-top: 0;
}

.client-units-page .client-units-delete-action {
  min-width: 0;
  border: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.92);
  color: #17324d;
}

.client-units-page .client-units-delete-action:hover {
  background: rgba(248, 251, 255, 0.98);
}

.client-manage-grid {
  display: grid;
  gap: 18px;
}

.client-manage-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.client-manage-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-manage-page .directory-table td.table-cell-actions {
  padding: 0;
}

.client-manage-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.client-manage-filters .platform-page-tab-action.is-active {
  color: #203045;
  background: rgba(54, 88, 212, 0.08);
}

.access-manage-grid {
  display: grid;
  gap: 18px;
}

.access-manage-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.access-manage-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-manage-page .directory-table td.table-cell-actions {
  padding: 0;
}

.events-manage-grid {
  display: grid;
  gap: 18px;
}

.events-manage-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.events-manage-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.events-manage-page .directory-table td.table-cell-actions {
  padding: 0;
}

.client-create-page .platform-page-form .form-grid {
  display: grid;
  gap: 16px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-create-page .platform-page-form .form-width-full {
  grid-column: 1 / -1;
}

.client-create-page .platform-page-form .form-width-half,
.client-create-page .platform-page-form .form-width-third,
.client-create-page .platform-page-form .form-width-quarter {
  grid-column: span 1;
}

@media (max-width: 900px) {
  .platform-page-intro > :first-child {
    min-height: 0;
  }

  .platform-page-intro > :first-child > p:last-child {
    min-height: 0;
  }

  .client-settings-page .client-settings-form .form-grid {
    grid-template-columns: 1fr;
  }

  .client-settings-page .client-settings-form-row {
    grid-template-columns: 1fr;
  }

  .client-settings-page .client-settings-form .form-width-half,
  .client-settings-page .client-settings-form .form-width-third,
  .client-settings-page .client-settings-form .form-width-quarter {
    grid-column: auto;
  }

  .client-settings-page #client-payments .client-settings-form-row {
    grid-template-columns: 1fr;
  }

  .client-settings-page #client-payments .client-settings-form-row .form-width-half,
  .client-settings-page #client-payments .client-settings-form-row .form-width-third,
  .client-settings-page #client-payments .client-settings-form-row .form-width-quarter {
    grid-column: auto;
  }

  .client-integrations-page .client-integrations-note,
  .client-integrations-page .integration-secret-status-row {
    display: grid;
  }

  .client-billing-page .platform-page-form .form-grid {
    grid-template-columns: 1fr;
  }

  .client-billing-page .platform-page-form .form-width-half,
  .client-billing-page .platform-page-form .form-width-third,
  .client-billing-page .platform-page-form .form-width-quarter {
    grid-column: auto;
  }

  .client-units-page .platform-page-form .form-grid {
    grid-template-columns: 1fr;
  }

  .client-units-page .platform-page-form .form-width-half,
  .client-units-page .platform-page-form .form-width-third,
  .client-units-page .platform-page-form .form-width-quarter {
    grid-column: auto;
  }

  .client-create-page .platform-page-form .form-grid {
    grid-template-columns: 1fr;
  }

  .client-create-page .platform-page-form .form-width-half,
  .client-create-page .platform-page-form .form-width-third,
  .client-create-page .platform-page-form .form-width-quarter {
    grid-column: auto;
  }
}

.orders-page-grid {
  display: grid;
  gap: 18px;
}

.orders-page-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.orders-page-stat {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 14px 0 0;
  border-top: 1px solid #d8e0ec;
}

.orders-page-stat span {
  color: #7a8b9d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orders-page-stat strong {
  color: #203045;
  font-size: 1.45rem;
  line-height: 1.1;
}

.orders-page-link-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.orders-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-left: 1px solid #cfd8e5;
  border-right: 1px solid #cfd8e5;
  background: rgba(255, 255, 255, 0.84);
  color: #3f5369;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.orders-page-link:hover {
  color: #203045;
  background: rgba(54, 88, 212, 0.06);
}

.orders-issue-grid {
  display: grid;
  gap: 18px;
}

.orders-issue-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.orders-issue-layout.has-sidebar {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 360px);
}

.orders-issue-page .issue-hero,
.orders-issue-page .field-card,
.orders-issue-page .registration-section-block,
.orders-issue-page .registration-summary-panel,
.orders-issue-page .registration-summary-list li,
.orders-issue-page .tier-row,
.orders-issue-page .seat-row,
.orders-issue-page .table-row {
  border: 1px solid #d8e0ec;
  border-radius: 0;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  margin: 0;
}

.orders-issue-page .issue-hero {
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.62));
}

.orders-issue-page .issue-hero h1,
.orders-issue-page .field-card h2,
.orders-issue-page .registration-section-block h3,
.orders-issue-page .tier-row h3 {
  margin: 0;
  color: #203045;
  letter-spacing: -0.02em;
}

.orders-issue-page .form-field label {
  display: block;
  margin-bottom: 8px;
  color: #7a8b9d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orders-issue-page .form-field .helper {
  margin-top: 0;
  margin-bottom: 6px;
  min-height: 1.35em;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #64748b;
}

.orders-issue-page .form-field input,
.orders-issue-page .form-field select,
.orders-issue-page .form-field textarea,
.orders-issue-page .readonly-box {
  min-height: 42px;
  margin-top: 4px;
  margin-bottom: 0;
  border: 1px solid #c8d3e1;
  border-radius: 0;
  background: #ffffff;
  color: #203045;
  box-shadow: none;
}

.orders-issue-page .form-field textarea {
  min-height: 120px;
}

.orders-issue-page .issue-kicker {
  margin: 0;
  color: #76879b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orders-issue-page .issue-summary,
.orders-issue-page .summary-grid,
.orders-issue-page .registration-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.orders-issue-page .issue-summary-box,
.orders-issue-page .summary-box {
  padding: 14px 16px;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
}

.orders-issue-page .issue-summary-box p,
.orders-issue-page .summary-box p,
.orders-issue-page .registration-summary-panel p,
.orders-issue-page .tier-row p,
.orders-issue-page .muted {
  margin: 0 0 6px;
  color: #64748b;
}

.orders-issue-page .issue-summary-box h3,
.orders-issue-page .summary-box h3,
.orders-issue-page .registration-summary-panel h3 {
  margin: 0;
}

.orders-issue-page .registration-create-main,
.orders-issue-page .registration-create-summary,
.orders-issue-page .tier-grid,
.orders-issue-page .seat-list,
.orders-issue-page .table-list,
.orders-issue-page .registration-summary-list {
  display: grid;
  gap: 12px;
}

.orders-issue-page .registration-attendee-card {
  display: grid;
  gap: 14px;
}

.orders-issue-page .registration-attendee-head {
  display: grid;
  gap: 8px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8e0ec;
}

.orders-issue-page .registration-attendee-copy {
  margin: 0;
}

.orders-issue-page .registration-attendee-head .stack-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.orders-issue-page .registration-section-block {
  gap: 10px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.74);
}

.orders-issue-page .registration-add-card {
  gap: 12px;
  margin-top: 0;
}

.orders-issue-page .registration-add-card .stack-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.orders-issue-page .registration-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.orders-issue-page .registration-summary-list strong {
  display: block;
  margin-bottom: 4px;
  color: #203045;
  font-size: 0.95rem;
}

.orders-issue-page .tier-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: end;
}

.orders-issue-page .seat-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.orders-issue-page .table-row {
  display: block;
}

.orders-issue-page .table-row-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.orders-issue-page .registration-submit-card .stack-actions,
.orders-issue-page .platform-page-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.orders-issue-page .registration-summary-card {
  position: sticky;
  top: 18px;
}

.orders-issue-page .stack-actions .secondary,
.orders-issue-page .stack-actions .button.secondary,
.orders-issue-page .registration-attendee-head .secondary,
.orders-issue-page .registration-attendee-head .button.secondary,
.orders-issue-page .registration-add-card .secondary,
.orders-issue-page .registration-add-card .button.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cfd8e5;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #3f5369;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

.orders-issue-page .stack-actions .secondary:hover,
.orders-issue-page .stack-actions .button.secondary:hover,
.orders-issue-page .registration-attendee-head .secondary:hover,
.orders-issue-page .registration-attendee-head .button.secondary:hover,
.orders-issue-page .registration-add-card .secondary:hover,
.orders-issue-page .registration-add-card .button.secondary:hover {
  color: #203045;
  background: rgba(54, 88, 212, 0.06);
  box-shadow: none;
  transform: none;
}

@media (max-width: 980px) {
  .orders-issue-layout.has-sidebar {
    grid-template-columns: 1fr;
  }

  .orders-issue-page .registration-summary-card {
    position: static;
  }
}

.orders-page .directory-table td:nth-child(7),
.orders-page .directory-table td:nth-child(8) {
  position: relative;
  padding: 0;
  vertical-align: stretch;
}

.orders-table-action {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 14px;
  border-left: 1px solid #cfd8e5;
  border-right: 1px solid #cfd8e5;
  border-top: 0;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #3f5369;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  border-radius: 0;
}

.orders-table-action:hover {
  color: #203045;
  background: rgba(54, 88, 212, 0.06);
  box-shadow: none;
}

.orders-page .directory-table tbody tr:nth-child(even) .orders-table-action {
  background: rgba(248, 251, 255, 0.72);
}

.orders-page .directory-table tbody tr:hover .orders-table-action {
  background: rgba(246, 250, 255, 0.92);
}

.orders-page .directory-table tbody tr:nth-child(even):hover .orders-table-action {
  background: rgba(246, 250, 255, 0.92);
}

.orders-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.orders-page .directory-table {
  min-width: 980px;
}

.orders-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orders-page .directory-table tbody tr {
  background: transparent;
}

.orders-page .directory-table tbody tr:hover {
  background: rgba(54, 88, 212, 0.03);
}

.orders-page .directory-table td:last-child {
  white-space: nowrap;
}

.orders-page .subset-link {
  color: #203045;
  font-weight: 700;
  text-decoration: none;
}

.orders-page .subset-link:hover {
  color: #203045;
  text-decoration: none;
}

.orders-page .subset-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-left: 1px solid #d8e0ec;
  border-right: 1px solid #d8e0ec;
  border-top: 0;
  border-bottom: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.7);
  color: #52667c;
  box-shadow: none;
  transform: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orders-page .subset-chip:hover {
  color: #203045;
  background: rgba(54, 88, 212, 0.06);
  box-shadow: none;
  transform: none;
}

.admissions-page-grid {
  display: grid;
  gap: 18px;
}

.admissions-page .platform-page-section {
  margin: 0;
}

.admissions-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.table-inventory-page-grid {
  display: grid;
  gap: 18px;
}

.table-inventory-page .platform-page-section {
  margin: 0;
}

.table-inventory-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.table-inventory-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.table-inventory-page .directory-table input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
}

.seat-inventory-page-grid {
  display: grid;
  gap: 18px;
}

.seat-inventory-page .platform-page-section {
  margin: 0;
}

.seat-inventory-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.seat-inventory-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seat-inventory-page .directory-table input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
}

.seat-inventory-page .seat-inventory-bulk-actions {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.seat-inventory-page .workspace-status-pill,
.seat-inventory-page .table-status-pill,
.seat-inventory-page .access-role-pill {
  border-radius: 0;
}

.seat-inventory-page .workspace-empty-state {
  border-radius: 0;
}

.seat-inventory-page .button,
.seat-inventory-page button,
.seat-inventory-page .button.secondary,
.seat-inventory-page button.secondary,
.seat-inventory-page .stack-actions > .button,
.seat-inventory-page .stack-actions > button,
.seat-inventory-page .stack-actions > a.button,
.seat-inventory-page .workspace-action-bar .button,
.seat-inventory-page .workspace-action-bar button {
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.table-seat-inventory-page-grid {
  display: grid;
  gap: 18px;
}

.table-seat-inventory-page .platform-page-section {
  margin: 0;
}

.table-seat-inventory-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.table-seat-inventory-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.table-seat-inventory-page .directory-table input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
}

.table-seat-inventory-page .table-seat-inventory-bulk-actions {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.table-seat-inventory-page .workspace-status-pill,
.table-seat-inventory-page .table-status-pill,
.table-seat-inventory-page .access-role-pill,
.table-seat-inventory-page .workspace-empty-state,
.table-seat-inventory-page .button,
.table-seat-inventory-page button,
.table-seat-inventory-page .button.secondary,
.table-seat-inventory-page button.secondary,
.table-seat-inventory-page .stack-actions > .button,
.table-seat-inventory-page .stack-actions > button,
.table-seat-inventory-page .stack-actions > a.button,
.table-seat-inventory-page .workspace-action-bar .button,
.table-seat-inventory-page .workspace-action-bar button {
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.seat-map-page .button,
.seat-map-page button,
.seat-map-page .button.secondary,
.seat-map-page button.secondary,
.seat-map-page .stack-actions > .button,
.seat-map-page .stack-actions > button,
.seat-map-page .stack-actions > a.button,
.seat-map-page .seat-map-board-head-actions .button,
.seat-map-page .seat-map-board-head-actions button,
.seat-map-page .seat-layout-row-actions .button,
.seat-map-page .seat-layout-row-actions button {
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.seat-map-page .button,
.seat-map-page button,
.seat-map-page .seat-map-board-head-actions .button,
.seat-map-page .seat-map-board-head-actions button {
  border: 1px solid #3658d4;
  background: #3658d4;
  color: #fff;
}

.seat-map-page .button.secondary,
.seat-map-page button.secondary,
.seat-map-page .stack-actions > a.button.secondary,
.seat-map-page .seat-layout-row-actions .button,
.seat-map-page .seat-layout-row-actions button {
  border: 1px solid #cfd8e5;
  background: rgba(255, 255, 255, 0.92);
  color: #243a56;
}

.seat-map-page .button:hover,
.seat-map-page button:hover,
.seat-map-page .button.secondary:hover,
.seat-map-page button.secondary:hover,
.seat-map-page .seat-layout-row-actions .button:hover,
.seat-map-page .seat-layout-row-actions button:hover {
  box-shadow: none;
  transform: none;
  filter: none;
}

.seat-map-page .seat-map-selection-card,
.seat-map-page .seat-map-board-card,
.seat-map-page .seat-layout-guide-step,
.seat-map-page .seat-layout-inspector,
.seat-map-page .seat-map-quick-actions,
.seat-map-page .seat-map-bulk-panel,
.seat-map-page .seat-layout-section,
.seat-map-page .seat-layout-seat,
.seat-map-page .seat-layout-board,
.seat-map-page .seat-layout-row-seats,
.seat-map-page .seat-layout-empty,
.seat-map-page .seat-color-key-item,
.seat-map-page .subset-chip,
.seat-map-page .workspace-status-pill {
  border-radius: 0;
  box-shadow: none;
}

.seat-map-page .seat-layout-guide-step,
.seat-map-page .seat-layout-inspector,
.seat-map-page .seat-map-quick-actions,
.seat-map-page .seat-map-bulk-panel,
.seat-map-page .seat-layout-section {
  background: rgba(255, 255, 255, 0.92);
}

.seat-map-page .seat-map-selection-card,
.seat-map-page .seat-map-board-card {
  border-radius: 0;
}

.seat-map-page .seat-layout-seat::after {
  border-radius: 0;
}

.seat-map-page .seat-layout-seat {
  width: 68px;
  min-width: 68px;
  min-height: 68px;
  padding: 8px;
}

.seat-map-page .seat-layout-row-seats.is-fit-row .seat-layout-seat {
  width: 100%;
  min-width: 0;
}

.seat-map-page .seat-layout-seat-name {
  color: #5d7186;
}

.admissions-page .directory-table {
  min-width: 980px;
}

.admissions-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admissions-page .directory-table tbody tr {
  background: transparent;
}

.admissions-page .directory-table tbody tr:hover {
  background: rgba(54, 88, 212, 0.03);
}

.admissions-page .directory-table td:last-child {
  white-space: nowrap;
}

.admissions-page .directory-table td.table-cell-actions {
  vertical-align: stretch;
}

.admissions-page .directory-table td.table-cell-actions > .platform-inline-action,
.admissions-page .directory-table td.table-cell-actions .table-utility-actions .platform-inline-action {
  padding: 0 18px;
}

.admissions-page .subset-link {
  color: #203045;
  font-weight: 700;
  text-decoration: none;
}

.admissions-page .subset-link:hover {
  color: #203045;
  text-decoration: none;
}

.admissions-audit-page-grid {
  gap: 22px;
}

.admissions-audit-list {
  display: grid;
  gap: 14px;
}

.admissions-audit-entry {
  border: 1px solid #d2ddea;
  background: #f9fcff;
}

.admissions-audit-entry .admin-disclosure-summary {
  padding: 18px 22px;
}

.admissions-audit-entry .admin-disclosure-body {
  padding: 0 22px 22px;
}

.admissions-audit-summary {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.admissions-audit-summary-copy h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: #17324d;
}

.admissions-audit-summary-copy p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #68819d;
}

.admissions-audit-summary-meta {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admissions-audit-summary-meta span {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: #68819d;
}

.admissions-audit-summary-meta strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6a84a0;
}

.admissions-audit-body-grid {
  display: grid;
  gap: 18px;
}

.admissions-audit-details {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admissions-audit-detail {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #d2ddea;
  background: #fff;
}

.admissions-audit-detail span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6a84a0;
}

.admissions-audit-detail strong {
  font-size: 14px;
  font-weight: 700;
  color: #17324d;
}

.admissions-audit-payload-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admissions-audit-payload-grid .form-field {
  margin: 0;
}

.admissions-audit-payload-grid textarea {
  min-height: 240px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .admissions-audit-summary,
  .admissions-audit-summary-meta,
  .admissions-audit-details,
  .admissions-audit-payload-grid {
    grid-template-columns: 1fr;
  }
}

.order-view-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.order-view-page .ops-meta-item,
.order-view-page .ops-detail-item,
.order-view-page .ops-audit-entry,
.order-view-page .ops-metric,
.order-view-page .funding-stat,
.order-view-page .funding-account-card,
.order-view-page .allocation-row,
.order-view-page .admission-row,
.order-view-page .audit-entry {
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.order-view-page .ops-metric,
.order-view-page .funding-stat,
.order-view-page .funding-account-card,
.order-view-page .allocation-row,
.order-view-page .admission-row,
.order-view-page .audit-entry {
  padding: 14px 16px;
}

.order-view-page .ops-metric:hover,
.order-view-page .funding-stat:hover {
  transform: none;
  border-color: #d8e0ec;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.order-view-page .funding-grid,
.order-view-page .admission-list,
.order-view-page .audit-list,
.order-view-page .allocation-list {
  display: grid;
  gap: 12px;
}

.order-view-page .admission-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.order-view-page .admission-row h3,
.order-view-page .audit-entry h3 {
  margin: 0 0 6px;
}

.order-view-page .admission-row p,
.order-view-page .audit-entry p {
  margin: 0 0 8px;
}

.order-view-page .funding-account-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.order-view-page .order-view-summary-shell,
.order-view-page .order-view-inline-items {
  display: grid;
  gap: 12px;
}

.order-view-page .stack-actions > button,
.order-view-page .stack-actions > .button,
.order-view-page .stack-actions > a.button {
  min-width: 0;
  width: auto;
  margin: 0;
  border-radius: 0;
}

.order-view-page .stack-actions > button,
.order-view-page .stack-actions > .button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cfd8e5;
  background: rgba(255, 255, 255, 0.92);
  color: #3f5369;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
}

.order-view-page .stack-actions > button:hover,
.order-view-page .stack-actions > .button:hover {
  color: #203045;
  background: rgba(54, 88, 212, 0.06);
  box-shadow: none;
  transform: none;
}

.order-view-page .order-view-section-head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.order-view-page .order-view-section-copy {
  display: grid;
  gap: 6px;
}

.order-view-page .order-view-heading-reset {
  margin: 0;
}

.order-view-page .order-view-helper-tight {
  margin: 0;
}

.order-view-page .order-view-note-block {
  margin-top: 12px;
}

.order-view-page .order-view-actions-row {
  margin-top: 10px;
}

.order-view-page .order-view-actions-spaced {
  margin-top: 14px;
}

.order-view-page .order-view-top-actions {
  margin-top: 10px;
}

.order-view-page .order-view-inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.order-view-page .order-view-inline-form {
  display: inline-block;
}

.order-view-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.transactions-page .directory-table-wrap {
  margin: 0;
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.transactions-page .directory-table thead th {
  background: rgba(235, 241, 250, 0.7);
  color: #7a8b9d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.transactions-page .directory-table td.table-cell-actions {
  padding: 0;
}

.transactions-page .transactions-summary-grid,
.transactions-page .transactions-detail-grid,
.transactions-page .transactions-webhook-list {
  display: grid;
  gap: 12px;
}

.transactions-page .transactions-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.transactions-page .transactions-summary-card,
.transactions-page .transactions-detail-card,
.transactions-page .transactions-webhook-row {
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.transactions-page .transactions-summary-card,
.transactions-page .transactions-detail-card,
.transactions-page .transactions-webhook-row {
  padding: 14px 16px;
}

.transactions-page .transactions-summary-card strong {
  display: block;
  margin-top: 6px;
  color: #17324d;
  font-size: 1.05rem;
}

.transactions-page .transactions-table-title {
  display: grid;
  gap: 4px;
}

.transactions-page .transactions-table-title strong {
  color: #17324d;
}

.transactions-page .transactions-table-title small {
  color: var(--muted);
}

.transactions-page .transactions-state-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #cfd8e5;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #5d7186;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.transactions-page .transactions-state-chip.is-paid {
  color: #2f7c4d;
  background: rgba(34, 197, 94, 0.08);
}

.transactions-page .transactions-state-chip.is-refunded {
  color: #245c9a;
  background: rgba(59, 130, 246, 0.08);
}

.transactions-page .transactions-state-chip.is-failed {
  color: #9f3131;
  background: rgba(239, 68, 68, 0.08);
}

.transactions-page .transactions-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 2px;
}

.transactions-page .transactions-section-copy {
  display: grid;
  gap: 6px;
}

.transactions-page .transactions-manual-entry {
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
}

.transactions-page .transactions-manual-entry .admin-disclosure-summary {
  align-items: center;
}

.transactions-page .transactions-manual-entry .admin-disclosure-summary::after {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #4f6f93;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transactions-page .transactions-manual-entry[open] .admin-disclosure-summary {
  margin-bottom: 14px;
}

.transactions-page .transactions-disclosure-copy {
  display: grid;
  gap: 6px;
}

.transactions-page .transactions-disclosure-copy h3,
.transactions-page .transactions-disclosure-copy p {
  margin: 0;
}

.transactions-page .transactions-disclosure-copy p {
  color: var(--muted);
}

.transactions-page .transactions-form-actions {
  padding-left: 0;
  padding-right: 0;
}

.transactions-page .transactions-note,
.transactions-page .transactions-refund-shell {
  margin-top: 12px;
}

.transactions-page .transactions-detail-shell {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #d8e0ec;
}

.transactions-page .transactions-detail-card strong {
  display: block;
  margin-bottom: 4px;
  color: #17324d;
}

.transactions-page .transactions-refund-form {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: end;
}

.transactions-page .transactions-inline-form {
  display: inline-block;
}

.transactions-page .transactions-inline-form button {
  min-width: 0;
  width: auto;
  min-height: 38px;
  padding: 0 14px;
  margin: 0;
  border: 1px solid #cfd8e5;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #3f5369;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
}

.transactions-page .transactions-inline-form button:hover {
  color: #203045;
  background: rgba(54, 88, 212, 0.06);
  box-shadow: none;
  transform: none;
}

.order-funding-grid {
  display: grid;
  gap: 22px;
}

.admissions-edit-addon-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admissions-edit-addon-grid > .platform-page-section {
  height: 100%;
}

@media (max-width: 900px) {
  .admissions-edit-addon-grid {
    grid-template-columns: 1fr;
  }
}

.order-funding-page .kpi-card,
.order-funding-page .order-funding-card,
.order-funding-page .order-funding-allocation {
  border: 1px solid #d8e0ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.order-funding-page .kpi-card {
  min-height: 0;
}

.order-funding-page .kpi-card:hover {
  transform: none;
  border-color: #d8e0ec;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.order-funding-kpi-grid,
.order-funding-card-grid,
.order-funding-list {
  display: grid;
  gap: 12px;
}

.order-funding-kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.order-funding-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.order-funding-card,
.order-funding-allocation {
  padding: 14px 16px;
}

.order-funding-card h3,
.order-funding-allocation h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.order-funding-card p,
.order-funding-allocation p {
  margin: 0 0 8px;
  color: #60758a;
}

.order-funding-card p:last-child,
.order-funding-allocation p:last-child {
  margin-bottom: 0;
}

.order-funding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.order-funding-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.order-funding-form-grid .full {
  grid-column: 1 / -1;
}

.order-funding-form-grid-compact {
  margin-top: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.order-funding-inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.order-funding-actions-bar {
  margin-top: 14px;
}

.order-funding-top-spacing {
  margin-top: 12px;
}

.order-funding-allocation {
  margin-top: 12px;
}

.order-funding-pagination {
  margin-top: 14px;
}

.order-funding-contribution-row .admin-disclosure-summary {
  align-items: center;
}

.order-funding-contribution-row .admin-disclosure-summary::after {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #4f6f93;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-funding-contribution-summary {
  display: grid;
  gap: 6px;
}

.order-funding-contribution-summary h3,
.order-funding-contribution-summary p {
  margin: 0;
}

.order-funding-page .platform-page-form .form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px 12px;
  align-items: start;
}

.order-funding-page .platform-page-form .form-width-full {
  grid-column: span 12;
}

.order-funding-page .platform-page-form .form-width-half {
  grid-column: span 6;
}

.order-funding-page .platform-page-form .form-width-third {
  grid-column: span 4;
}

.order-funding-page .platform-page-form .form-field.form-field-boolean-select {
  align-self: end;
}

.order-funding-page .directory-table-wrap {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
}

.order-funding-page .directory-table {
  min-width: 860px;
}

.order-funding-page .directory-table thead th {
  background: rgba(236, 244, 253, 0.96);
}

@media (max-width: 960px) {
  .order-funding-page .platform-page-form .form-width-half,
  .order-funding-page .platform-page-form .form-width-third {
    grid-column: span 12;
  }
}

@media (max-width: 960px) {
  .orders-page-stats {
    grid-template-columns: 1fr;
  }
}

.builder-page-stage {
  padding-bottom: 24px;
}

.builder-page-form {
  gap: 16px;
}

.builder-page-form .form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px 12px;
  align-items: start;
}

.builder-page-form .form-field {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}

.builder-page-form .form-field.form-field-boolean-select {
  padding-top: 28px;
}

.builder-page-form .form-width-full {
  grid-column: 1 / -1;
}

.builder-page-form .form-width-half {
  grid-column: span 6;
}

.builder-page-form .form-width-third {
  grid-column: span 4;
}

.builder-page-form .form-width-quarter {
  grid-column: span 3;
}

.builder-page-form .inventory-settings-card > .form-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 12px;
  width: 100%;
}

.builder-page-form .inventory-settings-card--assigned > .form-grid > .form-field:nth-child(-n+3),
.builder-page-form .inventory-settings-card--table > .form-grid > .form-field:nth-child(-n+3) {
  grid-column: span 2;
}

.builder-page-form .inventory-settings-card--assigned > .form-grid > .form-field:nth-child(n+4),
.builder-page-form .inventory-settings-card--table > .form-grid > .form-field:nth-child(n+4) {
  grid-column: span 3;
}

.builder-page-form .inventory-settings-card .form-field label {
  min-height: 2.6em;
  align-content: start;
}

.builder-page-form .inventory-settings-card .form-field.form-field-boolean-select {
  padding-top: 0;
}

.builder-page-form [data-builder-row-kind="field"] .form-grid {
  row-gap: 14px;
}

.builder-page-form [data-builder-row-kind="field"] .form-field.form-width-quarter {
  align-content: start;
}

.builder-page-form [data-builder-row-kind="field"] .form-field-number.form-width-quarter,
.builder-page-form [data-builder-row-kind="field"] .form-field-select.form-width-quarter,
.builder-page-form [data-builder-row-kind="field"] .form-field-boolean-select.form-width-quarter {
  padding-top: 0;
}

.builder-page-form .form-field label {
  margin-bottom: 0;
  color: #7a8b9d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-page-form .form-field .checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #7a8b9d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-page-form .form-field .checkbox-row input[type="checkbox"] {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0;
  flex: 0 0 22px;
}

.builder-page-form .form-field .checkbox-row span {
  line-height: 1;
}

.builder-page-form .form-field .helper,
.builder-page-form .form-field .billing-helper {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.35;
  color: #64748b;
}

.builder-page-form .form-field input,
.builder-page-form .form-field select,
.builder-page-form .form-field textarea,
.builder-page-form .readonly-box {
  min-height: 42px;
  margin-top: 0;
  margin-bottom: 0;
  border: 1px solid #c8d3e1;
  border-radius: 0;
  background: #ffffff;
  color: #203045;
  box-shadow: none;
}

.builder-page-form .form-field textarea {
  min-height: 120px;
}

.builder-page-form .form-field input:focus,
.builder-page-form .form-field select:focus,
.builder-page-form .form-field textarea:focus {
  border-color: #3658d4;
  box-shadow: 0 0 0 4px rgba(54, 88, 212, 0.08);
  background: #ffffff;
}

.builder-page-form .form-field input[type="color"] {
  padding: 4px;
  min-height: 42px;
  height: 42px;
}

.builder-page-section {
  padding: 0;
  border: 0;
  background: transparent;
}

.builder-page-section > .field-card,
.builder-page-section > .builder-card,
.builder-page-section > .workspace-page-stack {
  margin-bottom: 0;
}

.attendance-runtime-actions > .button,
.attendance-runtime-actions > button,
.attendance-runtime-actions > a.button {
  min-width: 148px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #c8d3e1;
  background: rgba(255,255,255,0.82);
  color: #243447;
  font-weight: 700;
  letter-spacing: 0;
}

.attendance-runtime-actions > .button:hover,
.attendance-runtime-actions > button:hover,
.attendance-runtime-actions > a.button:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  background: rgba(255,255,255,0.94);
  border-color: #3658d4;
  color: #203045;
}

@media (max-width: 1100px) {
  .builder-page-form .form-width-third,
  .builder-page-form .form-width-quarter {
    grid-column: span 6;
  }

  .inventory-settings-card > .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-settings-card--assigned > .form-grid > .form-field,
  .inventory-settings-card--table > .form-grid > .form-field {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .builder-page-form .form-grid {
    grid-template-columns: 1fr;
  }

  .builder-page-form .form-width-full,
  .builder-page-form .form-width-half,
  .builder-page-form .form-width-third,
  .builder-page-form .form-width-quarter {
    grid-column: auto;
  }

  .inventory-settings-card > .form-grid {
    grid-template-columns: 1fr;
  }

  .inventory-settings-card--assigned > .form-grid > .form-field,
  .inventory-settings-card--table > .form-grid > .form-field {
    grid-column: auto;
  }
}

.admin-console-logout {
  min-height: 42px;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #c8d3e1;
  background: rgba(255,255,255,0.82);
  color: #243447;
  font-weight: 700;
}

.admin-console-logout:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  background: rgba(255,255,255,0.94);
}

@media (max-width: 640px) {
  .settings-workspace-nav {
    grid-template-columns: 1fr;
  }
}

.admin-console-workflow-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-console-workflow-context strong {
  color: var(--text);
}

.admin-console-footer {
  margin-top: 8px;
  padding: 8px 2px 0;
  color: #6f87a0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.admin-console-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--accent) 78%, white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 980px) {
  .page-content {
    padding: 0;
  }

  .bottom-nav-admin {
    display: none;
  }

  .admin-console-shell {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 0;
    align-items: start;
    min-height: 100vh;
    max-width: none;
    margin: 0;
  }

  .admin-console-sidebar {
    display: grid;
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #202938 0%, #1b2230 100%);
    color: #dfe6f2;
  }

  .admin-console-sidebar-scroll {
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100%;
    overflow-y: auto;
    padding: 28px 20px 10px;
  }

  .admin-console-brand {
    display: grid;
    gap: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(223, 230, 242, 0.12);
  }

  .admin-console-brand img {
    justify-self: center;
    width: auto;
    max-width: min(100%, 120px);
    max-height: 64px;
    height: auto;
    object-fit: contain;
  }

  .admin-console-brand strong,
  .admin-console-brand span {
    display: block;
  }

  .admin-console-brand strong {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.25;
  }

  .admin-console-brand span {
    color: rgba(223, 230, 242, 0.72);
    font-size: 13px;
    line-height: 1.4;
  }

  .admin-console-user-card {
    display: grid;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .admin-console-user-card strong,
  .admin-console-user-card span,
  .admin-console-user-card p {
    margin: 0;
  }

  .admin-console-user-card strong {
    font-size: 15px;
    line-height: 1.3;
    color: #ffffff;
  }

  .admin-console-user-card span,
  .admin-console-user-account {
    color: rgba(223, 230, 242, 0.72);
    font-size: 13px;
    line-height: 1.4;
  }

  .admin-console-sidebar-footer {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    padding-bottom: 2px;
    border-top: 1px solid rgba(223, 230, 242, 0.12);
  }

  .admin-console-impersonation-chip {
    display: inline-flex;
    justify-self: start;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    color: #9a5a00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
  }

  .admin-console-logout {
    margin-top: 0;
    justify-self: stretch;
  }

  .admin-console-nav {
    display: grid;
    gap: 4px;
    align-content: start;
  }

  .admin-console-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    text-decoration: none;
    color: rgba(223, 230, 242, 0.86);
    border-left: 3px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  }

  .admin-console-nav-link:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
  }

  .admin-console-nav-link.is-active {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--primary);
    color: #ffffff;
  }

  .admin-console-impersonation-banner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 14px;
    margin-top: 0;
    margin-bottom: 16px;
    margin-left: 0;
    margin-right: 0;
    border: 1px solid rgba(245, 158, 11, 0.28);
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 243, 205, 0.92));
    box-shadow: none;
    padding: 0;
  }

  .admin-console-impersonation-banner-copy {
    flex: 1 1 auto;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .admin-console-impersonation-banner-copy strong,
  .admin-console-impersonation-banner-copy span {
    display: block;
  }

  .admin-console-impersonation-banner-copy strong {
    color: #7c4700;
    margin-bottom: 4px;
  }

  .admin-console-impersonation-banner-copy span {
    color: #8a5a17;
    font-size: 13px;
    line-height: 1.45;
  }

  .admin-console-impersonation-banner form {
    margin: 0;
    display: flex;
    align-self: stretch;
    flex: 0 0 240px;
  }

  .admin-console-impersonation-return {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 100%;
    padding: 0 16px;
    color: #3f5369;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 0;
    border-left: 1px solid #e9c97c;
    border-radius: 0;
    background: rgba(255,255,255,0.7);
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    cursor: pointer;
    width: 100%;
    transition: background-color 140ms ease, color 140ms ease;
  }

  .admin-console-impersonation-return:hover {
    color: #203045;
    background: rgba(54, 88, 212, 0.06);
  }

  @media (max-width: 720px) {
    .admin-console-impersonation-banner {
      flex-direction: column;
    }

    .ops-hero,
    .ops-card,
    .builder-hero {
      border-radius: 22px;
      padding: 18px;
    }

    .builder-hero-actions {
      grid-template-columns: 1fr;
    }
  }

  .admin-console-workflow-card {
    padding: 14px 16px;
  }

  .admin-console-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    flex: 0 0 28px;
  }

  .admin-console-context-card {
    margin-top: auto;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .admin-console-subnav-card {
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .admin-console-context-card h3 {
    margin: 8px 0 6px;
    font-size: 18px;
  }

  .admin-console-context-eyebrow,
  .admin-console-context-meta {
    margin: 0;
    color: rgba(223, 230, 242, 0.58);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
  }

  .admin-console-context-links,
  .admin-console-subnav-links {
    margin-top: 12px;
  }

  .admin-console-subnav-links {
    display: grid;
    gap: 8px;
  }

  .admin-console-subnav-links a {
    display: block;
    width: 100%;
  }

  .admin-console-context-links a {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(223, 230, 242, 0.9);
  }

  .admin-console-context-links a::after,
  .admin-console-subnav-links a::after {
    content: "›";
    float: right;
    color: #6f8cab;
    font-weight: 700;
  }

  .admin-console-subnav-links a.is-active {
    background: rgba(79, 143, 217, 0.12);
    border-color: rgba(79, 143, 217, 0.24);
    color: #24476f;
    font-weight: 700;
  }

  .admin-console-main {
    padding-top: 0;
    background: #edf1f7;
  }

  .admin-console-topbar {
    margin-bottom: 0;
    padding: 32px 38px 26px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
    border-bottom: 1px solid var(--border);
    gap: 28px;
  }

  .admin-console-breadcrumbs-shell,
  .admin-console-workflow-card,
  .admin-console-impersonation-banner,
  .admin-console-footer {
    margin-left: 0;
    margin-right: 0;
  }

  .admin-console-impersonation-banner {
    margin-top: 0;
    margin-bottom: 0;
  }

  .admin-console-workflow-card {
    margin-top: 18px;
  }

  .admin-console-footer {
    padding: 8px 0 0;
    text-align: left;
  }
}

@media (max-width: 979px) {
  .platform-page {
    padding: 0;
  }

  .platform-page-intro {
    grid-template-columns: 1fr;
    padding: 24px 18px 18px;
  }

  .platform-page-tabs.has-utility-actions {
    flex-wrap: wrap;
    gap: 0;
  }

  .platform-page-tabs.has-utility-actions .platform-page-tab-list {
    width: 100%;
  }

  .platform-page-tabs.has-utility-actions .platform-page-tab-actions {
    width: 100%;
    justify-content: flex-start;
    padding: 0 0 10px;
    align-self: auto;
  }

  .platform-page-tabs,
  .platform-page-stage {
    padding-left: 18px;
    padding-right: 18px;
  }
}
