@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/fonts/Oswald-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

@font-face {
  font-family: "Anton";
  src: url("/fonts/Anton-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #202223;
  background: #f6f6f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f6f7;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  color: #ffffff;
  background: #0e1b4d;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 24px;
}

.sidebar-header small {
  display: block;
  margin-top: 2px;
  color: #b5b5b5;
}

.sidebar-toggle { display: none; margin-left: auto; padding: 8px 10px; border: 1px solid #555; border-radius: 8px; color: #fff; background: transparent; }

.logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  font-weight: 800;
  color: #202223;
  background: #ffffff;
}

.navigation {
  display: grid;
  gap: 8px;
}

.nav-section-label { padding: 16px 12px 4px; color: #8f959b; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nav-section-label:first-child { padding-top: 2px; }
.nav-group { overflow: hidden; border: 1px solid transparent; border-radius: 11px; }
.nav-group[open] { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .045); }
.nav-group > summary {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 14px;
  gap: 8px;
  align-items: center;
  padding: 11px 10px;
  color: rgba(255, 255, 255, .86);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: "›"; color: rgba(255, 255, 255, .62); font-size: 21px; line-height: 1; transform: rotate(0); transition: transform .18s ease; }
.nav-group[open] > summary::after { transform: rotate(90deg); }
.nav-group > summary:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-group-icon { position: relative; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .11); }
.nav-group-icon::before { color: #fff; font-size: 15px; line-height: 1; }
.nav-group-icon.overview::before { content: "▦"; }
.nav-group-icon.members::before { content: "♙"; }
.nav-group-icon.access::before { content: "⇄"; }
.nav-group-icon.activities::before { content: "◉"; }
.nav-group-icon.administration::before { content: "⚙"; }
.nav-group-items { display: grid; gap: 3px; padding: 0 7px 7px 38px; }
.nav-group-items .nav-button { position: relative; padding: 9px 10px 9px 15px; font-size: 14px; }
.nav-group-items .nav-button::before { content: ""; position: absolute; top: 50%; left: 1px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: translateY(-50%); }
.nav-group-items .nav-button.active::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .13); }

.nav-button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  text-align: left;
  color: #e3e3e3;
  background: transparent;
}

.nav-button:hover,
.nav-button.active {
  color: #ffffff;
  background: #243568;
}

.nav-button.disabled {
  cursor: default;
  opacity: 0.45;
}

.main-content {
  width: 100%;
  max-width: 1500px;
  padding: 32px;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.page-header h1 {
  margin: 0;
  font-size: 28px;
}

.page-header p {
  margin: 6px 0 0;
  color: #6d7175;
}

.activity-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-card,
.detail-card,
.table-container,
.filters {
  border: 1px solid #e1e3e5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}

.dashboard-card {
  padding: 22px;
}

.dashboard-card.complete {
  border-left: 5px solid #008060;
}

.dashboard-card.incomplete {
  border-left: 5px solid #d72c0d;
}
.dashboard-sections { display: grid; gap: 20px; }

.dashboard-card.warning { border-left: 5px solid #d98c00; }
.dashboard-season { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 12px; color: #fff; background: #172554; }
.dashboard-season span { color: #dbeafe; }
.dashboard-season.warning { background: #7c2d12; }
.dashboard-columns { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.5fr); gap: 18px; }
.dashboard-panel { padding: 20px; border: 1px solid #e1e3e5; border-radius: 12px; background: #fff; }
.dashboard-panel h2 { margin: 0 0 16px; font-size: 19px; }
.dashboard-panel > button { display: grid; grid-template-columns: 40px 1fr; align-items: center; width: 100%; padding: 12px 0; border: 0; border-top: 1px solid #eceef0; text-align: left; background: transparent; }
.dashboard-panel > button strong { font-size: 22px; color: #b42318; }
.dashboard-activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dashboard-activity-grid .dashboard-card { padding: 16px; box-shadow: none; }
.dashboard-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; }
.dashboard-shortcuts button { padding: 11px 14px; border: 1px solid #b8c1cc; border-radius: 9px; font-weight: 700; background: #fff; }
.dashboard-shortcuts-panel { padding: 20px; border: 1px solid #e1e3e5; border-radius: 12px; background: #fff; }
.dashboard-shortcuts-panel h2 { margin: 0 0 15px; font-size: 19px; }
.dashboard-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dashboard-shortcuts .dashboard-shortcut {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 6px 16px rgba(14, 27, 77, .12);
}
.dashboard-shortcut-icon { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: rgba(255,255,255,.18); }
.dashboard-shortcut-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shortcut-green { background: #087552 !important; }
.shortcut-blue { background: #1d4ed8 !important; }
.shortcut-orange { background: #b45309 !important; }
.shortcut-purple { background: #6d28d9 !important; }
.dashboard-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-card.metric-blue { border-left: 5px solid #2563eb; }
.dashboard-card.metric-purple { border-left: 5px solid #7c3aed; }
.dashboard-card.metric-orange { border-left: 5px solid #ea580c; }
.dashboard-card.metric-green { border-left: 5px solid #059669; }
.dashboard-card.metric-slate { border-left: 5px solid #475569; }

.statistics-filters {
  display: grid;
  grid-template-columns: minmax(190px, 1.3fr) minmax(150px, 1fr) minmax(150px, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  margin-bottom: 20px;
  border: 1px solid #e1e3e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}
.statistics-refresh {
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 750;
  background: #0e1b4d;
}
.statistics-content { display: grid; gap: 20px; }
.statistics-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.statistics-kpi {
  display: grid;
  gap: 10px;
  min-height: 116px;
  align-content: center;
  padding: 18px;
  border: 1px solid #e1e3e5;
  border-top: 5px solid #2563eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(14, 27, 77, .05);
}
.statistics-kpi span { color: #667085; font-size: 14px; }
.statistics-kpi strong { color: #101828; font-size: 34px; line-height: 1; }
.statistics-kpi.purple { border-top-color: #7c3aed; }
.statistics-kpi.orange { border-top-color: #ea580c; }
.statistics-kpi.green { border-top-color: #059669; }
.statistics-kpi.red { border-top-color: #dc2626; }
.statistics-main-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, .75fr); gap: 18px; }
.statistics-panel,
.statistics-accordion {
  border: 1px solid #e1e3e5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(14, 27, 77, .05);
}
.statistics-panel { padding: 20px; }
.statistics-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.statistics-panel-heading h2 { margin: 0; color: #0e1b4d; font-size: 20px; }
.statistics-panel-heading p { margin: 5px 0 0; color: #667085; font-size: 14px; }
.statistics-legend { display: flex; flex-wrap: wrap; gap: 14px; color: #667085; font-size: 13px; }
.statistics-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: #0e1b4d; }
.statistics-legend .new::before { background: #e30613; }
.statistics-chart-scroll { overflow-x: auto; }
.statistics-chart { display: block; width: 100%; min-width: 560px; height: auto; }
.statistics-grid line { stroke: #e7eaf0; stroke-width: 1; }
.statistics-grid text,
.statistics-axis-labels text { fill: #7a8490; font-size: 11px; }
.statistics-grid text { text-anchor: end; }
.statistics-line { fill: none; stroke: #0e1b4d; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.statistics-line.new { stroke: #e30613; stroke-width: 3; }
.statistics-point { fill: #fff; stroke: #0e1b4d; stroke-width: 3; }
.statistics-point.new { stroke: #e30613; }
.statistics-empty { display: grid; min-height: 230px; place-items: center; color: #667085; }
.statistics-followups { display: grid; align-content: start; gap: 10px; }
.statistics-followups .statistics-panel-heading { margin-bottom: 4px; }
.statistics-action {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  align-items: center;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-left: 4px solid #d97706;
  border-radius: 9px;
  text-align: left;
  background: #f8fafc;
}
.statistics-action span { color: #344054; font-weight: 650; }
.statistics-action strong { grid-row: 1 / span 2; grid-column: 2; color: #0e1b4d; font-size: 25px; }
.statistics-action small { color: #667085; }
.statistics-action.red { border-left-color: #dc2626; }
.statistics-action.purple { border-left-color: #7c3aed; }
.statistics-action.blue { border-left-color: #2563eb; }
.statistics-action.green { border-left-color: #059669; }
.statistics-accordion { overflow: hidden; }
.statistics-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}
.statistics-accordion summary::-webkit-details-marker { display: none; }
.statistics-accordion summary span { display: grid; gap: 4px; }
.statistics-accordion summary strong { color: #0e1b4d; font-size: 18px; }
.statistics-accordion summary small { color: #667085; }
.statistics-accordion summary b { color: #0e1b4d; font-size: 13px; }
.statistics-accordion[open] summary { border-bottom: 1px solid #e7eaf0; }
.statistics-accordion[open] summary b { font-size: 0; }
.statistics-accordion[open] summary b::after { content: "Masquer"; font-size: 13px; }
.statistics-activities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; padding: 22px; }
.statistics-activity-row { display: grid; gap: 8px; }
.statistics-activity-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; }
.statistics-activity-row span { color: #475467; }
.statistics-activity-row strong { color: #0e1b4d; }
.statistics-activity-track { overflow: hidden; height: 8px; border-radius: 99px; background: #eef1f5; }
.statistics-activity-track i { display: block; height: 100%; border-radius: inherit; background: #2563eb; }
.statistics-activity-track i.purple { background: #7c3aed; }
.statistics-activity-track i.orange { background: #ea580c; }
.statistics-activity-track i.green { background: #059669; }
.statistics-accordion-body { padding: 20px 22px 24px; }
.statistics-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.statistics-comparison article { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 15px 16px; border-radius: 10px; background: #f8fafc; }
.statistics-comparison span { color: #475467; font-weight: 700; }
.statistics-comparison strong { grid-row: 1 / span 2; grid-column: 2; color: #0e1b4d; font-size: 28px; }
.statistics-comparison small { color: #667085; }
.statistics-comparison small.up { color: #047857; }
.statistics-comparison small.down { color: #b42318; }
.statistics-series-controls { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 8px; }
.statistics-series-controls label { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #dfe3e8; border-radius: 999px; color: #475467; font-size: 13px; font-weight: 650; background: #fff; }
.statistics-series-controls label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2563eb; }
.statistics-series-controls label.purple::before { background: #7c3aed; }
.statistics-series-controls label.orange::before { background: #ea580c; }
.statistics-series-controls label.green::before { background: #059669; }
.statistics-series-controls label.red::before { background: #dc2626; }
.activity-chart polyline.activity-series { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s ease; }
.activity-chart circle.activity-series { stroke-width: 2; transition: opacity .2s ease; }
.activity-chart .activity-licences { stroke: #7c3aed; fill: #fff; }
.activity-chart .activity-stages { stroke: #ea580c; fill: #fff; }
.activity-chart .activity-trials { stroke: #2563eb; fill: #fff; }
.activity-chart .activity-subscriptions { stroke: #059669; fill: #fff; }
.activity-chart .activity-cancellations { stroke: #dc2626; fill: #fff; stroke-dasharray: 7 6; }
.activity-chart circle.activity-cancellations { stroke-dasharray: none; }
.activity-chart .activity-series.is-hidden { opacity: 0; pointer-events: none; }
.attendance-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.attendance-summary article { display: grid; gap: 8px; padding: 15px; border: 1px solid #e4e7ec; border-radius: 10px; background: #f8fafc; }
.attendance-summary span { color: #667085; font-size: 13px; }
.attendance-summary strong { color: #0e1b4d; font-size: 22px; }
.attendance-summary article.warning { border-left: 4px solid #dc2626; }
.attendance-summary article.good { border-left: 4px solid #059669; }
.attendance-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.2fr); gap: 28px; }
.attendance-grid section { min-width: 0; }
.attendance-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.attendance-heading h3 { margin: 0; color: #0e1b4d; font-size: 16px; }
.attendance-heading span { color: #667085; font-size: 12px; }
.attendance-heading span i { display: inline-block; width: 8px; height: 8px; margin: 0 4px 0 8px; border-radius: 50%; background: #059669; }
.attendance-heading span i.denied { background: #dc2626; }
.attendance-weekdays { display: grid; gap: 11px; }
.attendance-weekday { display: grid; grid-template-columns: 72px minmax(0, 1fr) 32px; gap: 10px; align-items: center; }
.attendance-weekday > span { color: #475467; font-size: 13px; }
.attendance-weekday > div { display: flex; overflow: hidden; height: 10px; border-radius: 99px; background: #eef1f5; }
.attendance-weekday i { display: block; height: 100%; }
.attendance-weekday i.allowed { background: #059669; }
.attendance-weekday i.denied { background: #dc2626; }
.attendance-weekday strong { color: #0e1b4d; text-align: right; }
.attendance-hours { display: grid; grid-template-columns: repeat(18, minmax(24px, 1fr)); gap: 5px; overflow-x: auto; padding: 5px 0 2px; }
.attendance-hour { display: grid; grid-template-rows: 145px auto; gap: 7px; min-width: 24px; }
.attendance-hour > div { display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-bottom: 1px solid #cfd5df; }
.attendance-hour i { display: block; width: 100%; min-height: 0; }
.attendance-hour i.allowed { background: #059669; }
.attendance-hour i.denied { background: #dc2626; }
.attendance-hour span { color: #667085; font-size: 10px; text-align: center; }
.trial-funnel-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.trial-funnel-summary article { display: grid; gap: 8px; padding: 15px; border: 1px solid #e4e7ec; border-radius: 10px; background: #f8fafc; }
.trial-funnel-summary article.converted { border-left: 4px solid #059669; }
.trial-funnel-summary article.rate { border-left: 4px solid #2563eb; }
.trial-funnel-summary span { color: #667085; font-size: 13px; }
.trial-funnel-summary strong { color: #0e1b4d; font-size: 25px; }
.trial-crm-statuses { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 22px; }
.trial-crm-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 999px; color: #344054; font-size: 12px; font-weight: 700; background: #eef1f5; }
.trial-crm-status strong { color: inherit; }
.trial-crm-status.converted { color: #047857; background: #d1fae5; }
.trial-crm-status.follow-up { color: #b45309; background: #fef3c7; }
.trial-crm-status.upcoming { color: #1d4ed8; background: #dbeafe; }
.trial-crm-status.to-confirm { color: #6d28d9; background: #ede9fe; }
.trial-crm-status.absent,
.trial-crm-status.cancelled { color: #b42318; background: #fee2e2; }
.trial-crm-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid #e7eaf0; }
.trial-crm-heading h3 { margin: 0; color: #0e1b4d; font-size: 17px; }
.trial-crm-heading p { margin: 4px 0 0; color: #667085; font-size: 13px; }
.trial-crm-heading > strong { display: grid; min-width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: #d97706; }
.trial-crm-list { display: grid; gap: 10px; margin-top: 14px; }
.trial-crm-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 13px 14px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; }
.trial-crm-contact > div { display: grid; gap: 3px; min-width: 0; }
.trial-crm-contact > div strong { color: #0e1b4d; }
.trial-crm-contact > div span,
.trial-crm-contact > div small { overflow-wrap: anywhere; color: #667085; }
.trial-crm-contact button { min-height: 36px; padding: 7px 11px; border: 0; border-radius: 8px; color: #fff; font-weight: 700; background: #0e1b4d; }
.statistics-empty.compact { min-height: 90px; margin: 0; }
.statistics-crm-list { display: grid; gap: 10px; }
.statistics-crm-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, auto) auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid #e4e7ec; border-left: 4px solid #d97706; border-radius: 10px; background: #fffbeb; }
.statistics-crm-contact > div { display: grid; gap: 4px; min-width: 0; }
.statistics-crm-contact > div strong { color: #0e1b4d; }
.statistics-crm-contact span,
.statistics-crm-contact small { color: #667085; overflow-wrap: anywhere; }
.statistics-crm-contact > div small { color: #344054; }
.statistics-crm-contact button { min-height: 36px; padding: 7px 11px; border: 0; border-radius: 8px; color: #fff; font-weight: 700; background: #0e1b4d; }
.portal-adoption-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.portal-adoption-summary article { display: grid; gap: 8px; padding: 15px; border: 1px solid #e4e7ec; border-radius: 10px; background: #f8fafc; }
.portal-adoption-summary article.rate { border-left: 4px solid #2563eb; }
.portal-adoption-summary article.activated { border-left: 4px solid #059669; }
.portal-adoption-summary article.pending { border-left: 4px solid #d97706; }
.portal-adoption-summary article.expired { border-left: 4px solid #dc2626; }
.portal-adoption-summary span { color: #667085; font-size: 13px; }
.portal-adoption-summary strong { color: #0e1b4d; font-size: 25px; }
.portal-adoption-heading { margin: 22px 0 13px; padding-top: 18px; border-top: 1px solid #e4e7ec; }
.portal-adoption-heading h3 { margin: 0; color: #0e1b4d; font-size: 17px; }
.portal-adoption-heading p { margin: 4px 0 0; color: #667085; font-size: 13px; }
.portal-adoption-list { display: grid; gap: 10px; }
.portal-adoption-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 13px 14px; border: 1px solid #e4e7ec; border-left: 4px solid #d97706; border-radius: 10px; background: #fff; }
.portal-adoption-contact.expired { border-left-color: #dc2626; }
.portal-adoption-contact.not-invited { border-left-color: #2563eb; }
.portal-adoption-contact > div { display: grid; gap: 3px; min-width: 0; }
.portal-adoption-contact > div strong { color: #0e1b4d; }
.portal-adoption-contact > div span,
.portal-adoption-contact > div small { color: #667085; overflow-wrap: anywhere; }
.portal-adoption-status { padding: 5px 9px; border-radius: 999px; color: #b45309; font-size: 12px; font-weight: 750; background: #fef3c7; }
.portal-adoption-status.expired { color: #b42318; background: #fee2e2; }
.portal-adoption-status.not-invited { color: #1d4ed8; background: #dbeafe; }
.portal-adoption-contact button { min-height: 36px; padding: 7px 11px; border: 0; border-radius: 8px; color: #fff; font-weight: 700; background: #0e1b4d; }
.retention-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.retention-summary article { display: grid; gap: 8px; padding: 15px; border: 1px solid #e4e7ec; border-radius: 10px; background: #f8fafc; }
.retention-summary article.active { border-left: 4px solid #059669; }
.retention-summary article.inactive { border-left: 4px solid #64748b; }
.retention-summary article.upcoming { border-left: 4px solid #2563eb; }
.retention-summary article.renewal { border-left: 4px solid #7c3aed; }
.retention-summary article.issue { border-left: 4px solid #dc2626; }
.retention-summary span { color: #667085; font-size: 13px; }
.retention-summary strong { color: #0e1b4d; font-size: 25px; }
.retention-sections { display: grid; gap: 10px; margin-top: 20px; }
.retention-sections > details { overflow: hidden; border: 1px solid #e4e7ec; border-radius: 10px; }
.retention-sections > details > summary { display: flex; justify-content: space-between; gap: 12px; padding: 13px 15px; color: #0e1b4d; cursor: pointer; font-weight: 750; background: #f8fafc; }
.retention-sections > details > summary strong { display: grid; min-width: 27px; height: 27px; place-items: center; border-radius: 50%; color: #fff; font-size: 12px; background: #0e1b4d; }
.retention-sections > details > div { display: grid; gap: 9px; padding: 13px; border-top: 1px solid #e4e7ec; }
.retention-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 13px; border-left: 4px solid #64748b; border-radius: 8px; background: #f8fafc; }
.retention-contact.upcoming { border-left-color: #2563eb; }
.retention-contact.renewal { border-left-color: #7c3aed; }
.retention-contact.issue { border-left-color: #dc2626; background: #fff7f7; }
.retention-contact > div { display: grid; gap: 3px; min-width: 0; }
.retention-contact > div strong { color: #0e1b4d; }
.retention-contact > div span,
.retention-contact > div small { color: #667085; overflow-wrap: anywhere; }
.retention-contact button { min-height: 35px; padding: 7px 10px; border: 0; border-radius: 8px; color: #fff; font-weight: 700; background: #0e1b4d; }
.retention-limit { margin: 4px 0 0; color: #667085; font-size: 12px; text-align: center; }
.acquisition-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.acquisition-summary article { display: grid; gap: 8px; padding: 15px; border: 1px solid #e4e7ec; border-left: 4px solid #2563eb; border-radius: 10px; background: #f8fafc; }
.acquisition-summary article.manual { border-left-color: #e30613; }
.acquisition-summary article.portal { border-left-color: #059669; }
.acquisition-summary article.other { border-left-color: #94a3b8; }
.acquisition-summary span { color: #667085; font-size: 13px; }
.acquisition-summary strong { color: #0e1b4d; font-size: 25px; }
.acquisition-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 19px 0 8px; color: #667085; font-size: 12px; }
.acquisition-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: #2563eb; }
.acquisition-legend span.manual::before { background: #e30613; }
.acquisition-legend span.portal::before { background: #059669; }
.acquisition-legend span.other::before { background: #94a3b8; }
.acquisition-chart { display: flex; align-items: end; gap: 8px; min-height: 210px; overflow-x: auto; padding: 12px 4px 0; border-bottom: 1px solid #d9dee7; }
.acquisition-month { display: grid; flex: 1 0 42px; grid-template-rows: 165px auto; gap: 8px; min-width: 42px; text-align: center; }
.acquisition-stack { display: flex; flex-direction: column-reverse; justify-content: flex-start; overflow: hidden; align-self: end; height: 100%; border-radius: 7px 7px 0 0; background: #f1f3f6; }
.acquisition-stack i { display: block; min-height: 2px; background: #2563eb; }
.acquisition-stack i.manual { background: #e30613; }
.acquisition-stack i.portal { background: #059669; }
.acquisition-stack i.other { background: #94a3b8; }
.acquisition-month > span { overflow: hidden; color: #667085; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.acquisition-recent { overflow: hidden; margin-top: 22px; border: 1px solid #e4e7ec; border-radius: 10px; }
.acquisition-recent > summary { display: flex; justify-content: space-between; padding: 13px 15px; color: #0e1b4d; cursor: pointer; font-weight: 750; background: #f8fafc; }
.acquisition-recent > div { display: grid; gap: 9px; padding: 13px; border-top: 1px solid #e4e7ec; }
.acquisition-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 13px; align-items: center; padding: 12px 13px; border-radius: 8px; background: #f8fafc; }
.acquisition-contact > div { display: grid; gap: 3px; }
.acquisition-contact > div strong { color: #0e1b4d; }
.acquisition-contact > div span { color: #667085; font-size: 13px; }
.acquisition-badge { padding: 5px 9px; border-radius: 999px; color: #1d4ed8; font-size: 12px; font-weight: 750; background: #dbeafe; }
.acquisition-badge.manual { color: #b42318; background: #fee2e2; }
.acquisition-badge.portal { color: #047857; background: #d1fae5; }
.acquisition-badge.other { color: #475467; background: #e4e7ec; }
.acquisition-contact button { min-height: 35px; padding: 7px 10px; border: 0; border-radius: 8px; color: #fff; font-weight: 700; background: #0e1b4d; }
.segmentation-contactability { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.segmentation-contactability article { display: grid; gap: 8px; padding: 15px; border: 1px solid #e4e7ec; border-left: 4px solid #2563eb; border-radius: 10px; background: #f8fafc; }
.segmentation-contactability article.complete { border-left-color: #059669; }
.segmentation-contactability article.warning { border-left-color: #dc2626; }
.segmentation-contactability span { color: #667085; font-size: 13px; }
.segmentation-contactability strong { color: #0e1b4d; font-size: 25px; }
.segmentation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
.segmentation-grid section { display: grid; align-content: start; gap: 11px; }
.segmentation-grid h3 { margin: 0 0 3px; color: #0e1b4d; font-size: 16px; }
.segmentation-row { display: grid; gap: 6px; }
.segmentation-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: #475467; font-size: 13px; }
.segmentation-row > div:last-child { overflow: hidden; height: 8px; border-radius: 99px; background: #eef1f5; }
.segmentation-row i { display: block; height: 100%; border-radius: inherit; background: #2563eb; }
.segmentation-row i.red { background: #e30613; }
.segmentation-row i.muted { background: #94a3b8; }
.segmentation-incomplete { overflow: hidden; margin-top: 24px; border: 1px solid #e4e7ec; border-radius: 10px; }
.segmentation-incomplete > summary { display: flex; justify-content: space-between; padding: 13px 15px; color: #0e1b4d; cursor: pointer; font-weight: 750; background: #f8fafc; }
.segmentation-incomplete > div { display: grid; gap: 9px; padding: 13px; border-top: 1px solid #e4e7ec; }
.segmentation-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 12px 13px; border-left: 4px solid #d97706; border-radius: 8px; background: #fffbeb; }
.segmentation-contact > div { display: grid; gap: 3px; min-width: 0; }
.segmentation-contact > div strong { color: #0e1b4d; }
.segmentation-contact > div span,
.segmentation-contact > div small { color: #667085; overflow-wrap: anywhere; }
.segmentation-contact button { min-height: 35px; padding: 7px 10px; border: 0; border-radius: 8px; color: #fff; font-weight: 700; background: #0e1b4d; }

.member-crm-card { border-top: 5px solid #2563eb; }
.member-crm-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.member-crm-title h2 { margin: 0; color: #0e1b4d; }
.member-crm-title p { margin: 5px 0 0; color: #667085; }
.member-crm-title > span { padding: 6px 10px; border-radius: 999px; color: #1d4ed8; font-size: 12px; font-weight: 750; background: #dbeafe; }
#member-crm-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, .3fr) auto; gap: 14px; align-items: end; margin-top: 20px; padding: 17px; border-radius: 11px; background: #f8fafc; }
#member-crm-form label { display: grid; gap: 6px; color: #344054; font-size: 13px; font-weight: 700; }
#member-crm-form textarea,
#member-crm-form input { width: 100%; padding: 9px 10px; border: 1px solid #cfd5df; border-radius: 8px; background: #fff; }
#member-crm-form textarea { resize: vertical; }
#member-crm-message { grid-column: 1 / -1; margin: 0; color: #667085; }
.member-crm-history { margin-top: 18px; border-top: 1px solid #e4e7ec; }
.member-crm-history summary { padding: 16px 0 8px; color: #0e1b4d; cursor: pointer; font-weight: 750; }
.member-crm-history > div { display: grid; gap: 10px; padding-top: 8px; }
.member-crm-entry { display: grid; gap: 8px; padding: 14px; border: 1px solid #e4e7ec; border-left: 4px solid #2563eb; border-radius: 9px; background: #fff; }
.member-crm-entry.overdue { border-left-color: #d97706; background: #fffbeb; }
.member-crm-entry.completed { border-left-color: #94a3b8; opacity: .78; }
.member-crm-entry-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.member-crm-entry-heading small { color: #667085; }
.member-crm-entry-status { color: #1d4ed8; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.member-crm-entry.overdue .member-crm-entry-status { color: #b45309; }
.member-crm-entry.completed .member-crm-entry-status { color: #64748b; }
.member-crm-entry p { margin: 0; white-space: pre-wrap; }
.member-crm-entry > strong { color: #b45309; font-size: 13px; }
.member-crm-entry > button { justify-self: start; padding: 7px 10px; border: 1px solid #b8c1cc; border-radius: 7px; color: #0e1b4d; font-weight: 700; background: #fff; }

@media (max-width: 1200px) {
  .statistics-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .statistics-main-grid { grid-template-columns: 1fr; }
  .trial-funnel-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portal-adoption-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .retention-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.followup-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.followup-summary article { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid #dfe3e8; border-left: 5px solid #0e1b4d; border-radius: 12px; background: #fff; }
.followup-summary article.needs-correction { border-left-color: #c02626; }
.followup-summary article.needs-review { border-left-color: #d97706; }
.followup-summary strong { color: #0e1b4d; font-size: 30px; }
.followup-summary span { color: #5f6872; font-weight: 700; }
.followup-filters { grid-template-columns: minmax(240px, 2fr) minmax(190px, 1fr); margin-bottom: 18px; }
.followup-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.followup-card { display: grid; gap: 14px; padding: 20px; border: 1px solid #dfe3e8; border-left: 5px solid #d97706; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px rgba(14, 27, 77, .06); }
.followup-card.needs-correction { border-left-color: #c02626; }
.followup-card-heading, .followup-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.followup-card-heading h2 { margin: 0; color: #0e1b4d; font-size: 20px; }
.followup-card-heading p { margin: 5px 0 0; color: #68717a; overflow-wrap: anywhere; }
.followup-reasons { margin: 0; padding: 12px; border-radius: 9px; background: #f7f8fa; color: #3f4852; }
.followup-card-footer { padding-top: 2px; color: #68717a; font-size: 13px; }

.card-label {
  display: block;
  color: #6d7175;
}

.card-value {
  display: block;
  margin-top: 10px;
  font-size: 34px;
}

.filters {
  display: grid;
  grid-template-columns:
    minmax(220px, 2fr)
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    minmax(150px, 1fr)
    auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  margin-bottom: 18px;
}

.filter-field {
  display: grid;
  gap: 6px;
}

.filter-field label {
  font-size: 13px;
  font-weight: 600;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #c9cccf;
  border-radius: 8px;
  background: #ffffff;
}

.filter-field input:focus,
.filter-field select:focus {
  outline: 2px solid #2c6ecb;
  outline-offset: 1px;
}

.secondary-button,
.back-button,
.view-button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #babfc3;
  border-radius: 8px;
  font-weight: 600;
  background: #ffffff;
}

.secondary-button:hover,
.back-button:hover {
  background: #f1f2f3;
}

.view-button {
  color: #ffffff;
  border-color: #2c6ecb;
  background: #2c6ecb;
}

.view-button:hover {
  background: #1f5199;
}

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

/* La fiche adhérent doit rester accessible même lorsque les données importées
   rendent le tableau plus large que l’écran. */
.members-table th:last-child,
.members-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  min-width: 86px;
  background: #ffffff;
  box-shadow: -10px 0 14px -14px rgba(0, 0, 0, 0.45);
}

.members-table th:last-child {
  z-index: 3;
  background: #fafbfb;
}

.members-table tbody tr:hover td:last-child {
  background: #f7f8f8;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #e1e3e5;
  text-align: left;
  vertical-align: middle;
}

th {
  font-size: 13px;
  color: #6d7175;
  background: #fafbfb;
}

tbody tr:hover {
  background: #f7f8f8;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.status-complete {
  color: #006e52;
  background: #aee9d1;
}

.status-incomplete {
  color: #8e1f0b;
  background: #fed3d1;
}

.status-pending {
  color: #594300;
  background: #ffd79d;
}

.loading,
.empty-state,
.error-message {
  padding: 18px;
  border-radius: 10px;
  background: #ffffff;
}

.error-message {
  color: #8e1f0b;
  border: 1px solid #fed3d1;
  background: #fff4f4;
}

.empty-state {
  text-align: center;
  color: #6d7175;
}

.hidden {
  display: none !important;
}

.back-button {
  margin-bottom: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  padding: 22px;
}

.detail-card h2 {
  margin: 0 0 18px;
  font-size: 19px;
}

.detail-card dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px 18px;
  margin: 0;
}

.detail-card dt {
  color: #6d7175;
}

.detail-card dd {
  margin: 0;
  font-weight: 500;
}

.documents-card {
  margin-top: 18px;
}

.document-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #e1e3e5;
}

.document-row:last-child {
  border-bottom: 0;
}

.document-row a {
  color: #2c6ecb;
  font-weight: 600;
}

.missing-document {
  color: #d72c0d;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .sidebar-toggle { display: block; }
  .sidebar.menu-collapsed .navigation, .sidebar.menu-collapsed .sidebar-logout { display: none; }

  .navigation {
    grid-template-columns: 1fr;
  }

  .main-content {
    padding: 20px;
  }

  .dashboard-cards,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .dashboard-sections {
    display: grid;
    gap: 28px;
  }

  .dashboard-group h2 {
    margin: 0 0 14px;
    font-size: 20px;
  }

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

.stage-period-counters {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(220px, 1fr)
  );
  gap: 14px;
  margin-bottom: 18px;
}

.stage-period-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid #e1e3e5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}

.stage-period-label {
  color: #6d7175;
  line-height: 1.4;
}

.stage-period-value {
  font-size: 30px;
}

.stage-period-caption {
  font-size: 13px;
  color: #6d7175;
}

.stage-period-rate {
  font-size: 13px;
  font-weight: 600;
  color: #6d7175;
}

.stage-capacity-editor {
  display: grid;
  grid-template-columns: auto 80px auto;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.stage-capacity-editor label {
  font-size: 13px;
  font-weight: 600;
}

.stage-capacity-input {
  width: 100%;
  min-height: 38px;
  padding: 8px;
  border: 1px solid #c9cccf;
  border-radius: 8px;
}

.stage-capacity-input:focus {
  outline: 2px solid #2c6ecb;
  outline-offset: 1px;
}

.license-product-counters {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(220px, 1fr)
  );
  gap: 14px;
  margin-bottom: 18px;
}

.license-product-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid #e1e3e5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}

.license-product-label {
  color: #6d7175;
  line-height: 1.4;
}

.license-product-value {
  font-size: 30px;
}

.license-product-caption {
  font-size: 13px;
  color: #6d7175;
}

.alert-count {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #8e1f0b;
  background: #ffd6d2;
}

.no-alert {
  font-size: 13px;
  font-weight: 600;
  color: #006e52;
}

.participant-alerts {
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 1px solid #f6c5bc;
  border-left: 5px solid #d72c0d;
  border-radius: 12px;
  color: #5c1f14;
  background: #fff4f2;
}

.participant-alerts h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.participant-alerts ul {
  margin: 0;
  padding-left: 20px;
}

.participant-alerts li + li { margin-top: 6px; }
.participant-alerts li small { display: block; margin-top: 3px; }

.admin-notes-card {
  margin-top: 18px;
}

.admin-notes-help {
  margin: -6px 0 14px;
  color: #6d7175;
  font-size: 14px;
}

.admin-notes-textarea {
  width: 100%;
  min-height: 130px;
  padding: 12px;
  border: 1px solid #c9cccf;
  border-radius: 8px;
  resize: vertical;
  font: inherit;
  line-height: 1.5;
}

.admin-notes-textarea:focus {
  outline: 2px solid #2c6ecb;
  outline-offset: 1px;
}

.admin-notes-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
}

.admin-notes-message {
  font-size: 13px;
  font-weight: 600;
}

.admin-notes-message.success {
  color: #006e52;
}

.admin-notes-message.error {
  color: #d72c0d;
}

.note-cell {
  width: 60px;
  text-align: center;
}

.note-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 17px;
  cursor: help;
  background: #f3f0ff;
}

.discount-cell {
  min-width: 170px;
}

.no-discount {
  color: #6d7175;
  font-size: 13px;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.discount-pass-sport {
  color: #144d37;
  background: #dff5e9;
}

.discount-cheque-vacances {
  color: #174ea6;
  background: #e2edff;
}

.discount-administrative {
  color: #6b3d00;
  background: #fff0c2;
}

.discount-other {
  color: #4a4a4a;
  background: #eeeeee;
}

.discounts-card {
  margin-top: 18px;
}

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

.discount-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #e1e3e5;
}

.discount-detail-row > div {
  display: grid;
  gap: 4px;
}

.discount-code {
  color: #6d7175;
  font-size: 13px;
}

.discount-total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  font-size: 15px;
}

.empty-detail-value {
  margin: 0;
  color: #6d7175;
}

.discount-detail-item {
  border-bottom: 1px solid #e1e3e5;
}

.discount-detail-item:last-child {
  border-bottom: 0;
}

.discount-detail-item .discount-detail-row {
  border-bottom: 0;
}

.discount-tracking {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 10px;
  background: #f7f8fa;
}

.discount-tracking h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

.discount-tracking-fields {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(170px, 1fr));
  gap: 14px;
}

.discount-tracking-fields input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #c9cccf;
  border-radius: 8px;
  font: inherit;
}

.discount-tracking-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 14px;
}

.discount-tracking-message {
  font-size: 13px;
  font-weight: 600;
}

.discount-tracking-message.success {
  color: #006e52;
}

.discount-tracking-message.error {
  color: #d72c0d;
}

@media (max-width: 900px) {
  .discount-tracking-fields {
    grid-template-columns: 1fr;
  }
}

.discount-status-reception {
  color: #8e1f0b;
  background: #ffd6d2;
}

.discount-status-cashing {
  color: #8a4b00;
  background: #ffe1bd;
}

.discount-status-reimbursement {
  color: #6b5900;
  background: #fff5bf;
}

.discount-status-complete {
  color: #006e52;
  background: #dff5e9;
}

.discount-tracking-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.alert-item-error {
  color: #8e1f0b;
}

.alert-item-reception {
  color: #8e1f0b;
  font-weight: 700;
}

.alert-item-cashing {
  color: #8a4b00;
  font-weight: 700;
}

.alert-item-reimbursement {
  color: #6b5900;
  font-weight: 700;
}

.trial-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.trial-status-booked {
  color: #174ea6;
  background: #e2edff;
}

.trial-status-done {
  color: #006e52;
  background: #dff5e9;
}

.trial-status-absent {
  color: #8e1f0b;
  background: #ffd6d2;
}

.trial-status-cancelled {
  color: #4a4a4a;
  background: #eeeeee;
}

.trial-status-unknown {
  color: #6d7175;
  background: #f1f2f3;
}
.trial-row-past {
  opacity: 0.65;
  background: #f7f8fa;
}

.trial-row-past td {
  color: #6d7175;
}

.trial-timing-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.trial-upcoming {
  color: #174ea6;
  background: #e2edff;
}

.trial-past {
  color: #4a4a4a;
  background: #eeeeee;
}

.trial-to-close {
  color: #8e1f0b;
  background: #ffd6d2;
}

.trials-history-container {
  margin-top: 28px;
}

.trials-history h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.trial-month-accordion {
  margin-bottom: 12px;
  border: 1px solid #e1e3e5;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.trial-month-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  background: #f7f8fa;
}

.trial-month-accordion summary:hover {
  background: #f1f2f3;
}

.trial-history-table-container {
  border-radius: 0;
  border: 0;
  margin: 0;
}

.sidebar-logout { margin-top: auto; }

.auth-body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background: #f4f5f7;
}

.auth-shell { width: min(100% - 32px, 460px); }
.auth-card {
  padding: 32px;
  border: 1px solid #0e1b4d;
  border-radius: 18px;
  background: #0e1b4d;
  color: #fff;
  box-shadow: 0 18px 45px rgba(20, 28, 38, 0.1);
}
.auth-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.auth-brand div { display: flex; flex-direction: column; }
.auth-brand strong { font-size: 20px; }
.auth-brand small { color: rgba(255,255,255,.78); }
.auth-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #0e1b4d;
  color: #fff;
  font-weight: 900;
}
.auth-form { display: grid; gap: 10px; }
.auth-form h1 { margin: 0; font-size: 28px; }
.auth-form p { margin: 6px 0 18px; color: rgba(255,255,255,.78); }
.auth-form label { margin-top: 6px; font-weight: 700; }
.auth-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #aeb4b9;
  border-radius: 9px;
  background: #fff;
  color: #202223;
  font: inherit;
}
.auth-form button { margin-top: 14px; }
.auth-card .primary-button { border-color: #fff; background: #fff; color: #0e1b4d; }
.auth-card .primary-button:hover { border-color: #e7ebf5; background: #e7ebf5; color: #0e1b4d; }
.auth-card .link-button { color: #fff; }
.auth-card .performance-logo { width: min(100%, 280px); margin-bottom: 24px; }
.support-link {
  color: #0e1b4d;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.support-link-on-dark {
  display: block;
  margin-top: 22px;
  color: #fff;
  text-align: center;
}
.app-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 26px auto 10px;
  color: #616a72;
  font-size: 13px;
}
.app-footer > a:not(.support-link) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.app-footer img {
  display: block;
  width: 34px;
  height: 31px;
  object-fit: contain;
}
.app-footer > a:hover { color: #0e1b4d; }
.auth-shell .app-footer { color: #616a72; }

.portal-body { min-height: 100vh; margin: 0; background: #f4f5f7; }
.portal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(20px, calc((100% - 1100px) / 2)); background: #0e1b4d; color: #fff;
}
.portal-header .auth-brand { margin: 0; }
.portal-header .auth-logo { background: #fff; color: #202223; }
.portal-header .auth-brand small { color: #ffffff; }
.portal-shell { width: min(100% - 32px, 1100px); margin: 36px auto; }
.portal-shell > .auth-card { max-width: 460px; margin: 60px auto; }
.portal-title { margin-bottom: 22px; }
.portal-title h1 { margin-bottom: 6px; }
.portal-title p { margin: 0; color: #616a72; }
.portal-motto {
  position: fixed;
  z-index: 0;
  top: 112px;
  bottom: 16px;
  left: clamp(8px, 1.5vw, 24px);
  display: flex;
  align-items: flex-start;
  gap: 4px;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.portal-motto span,
.portal-motto small {
  display: block;
  height: 100%;
  writing-mode: vertical-rl;
  white-space: nowrap;
  text-align: right;
  line-height: .82;
  text-transform: uppercase;
}
.portal-motto span {
  color: rgba(14, 27, 77, .27);
  font-size: clamp(28px, 4vh, 40px);
  font-size: clamp(28px, 4dvh, 40px);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: -.02em;
  transform: rotate(180deg);
}
.portal-motto small {
  color: rgba(227, 6, 19, .31);
  font-size: clamp(37px, 5.3vh, 53px);
  font-size: clamp(37px, 5.3dvh, 53px);
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -.045em;
  transform: rotate(180deg);
}
#portal-dashboard { position: relative; }
.portal-title,
.portal-members,
.portal-account-settings { position: relative; z-index: 1; }
.portal-members { display: grid; gap: 22px; }
.portal-member-card { padding: 26px; border: 1px solid #dfe2e5; border-radius: 18px; background: #fff; }
.portal-member-heading h2 { margin: 0; }
.portal-member-heading p { margin: 5px 0 22px; color: #616a72; }
.portal-member-grid { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.portal-qr { text-align: center; }
.portal-qr img { display: block; width: min(100%, 260px); margin: 0 auto 8px; }
.portal-qr code { font-weight: 800; letter-spacing: 0.05em; }
.portal-activities { display: grid; gap: 10px; }
.portal-activities > div { display: grid; gap: 3px; padding: 13px; border-radius: 10px; background: #f6f7f8; }
.portal-activities span, .portal-activities small { color: #616a72; }
.portal-activity-history { margin-top: 16px; }
.portal-activity-history summary { cursor: pointer; color: #616a72; font-weight: 700; }
.portal-activity-history .portal-activities { margin-top: 10px; }
.portal-activity-history em { color: #7a8188; font-size: 12px; font-style: normal; font-weight: 700; text-transform: uppercase; }
.portal-invitation-form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.portal-invitation-form label { width: 100%; font-weight: 700; }
.portal-invitation-form input, .portal-invitation-link input {
  flex: 1; min-width: 240px; padding: 11px 12px; border: 1px solid #aeb4b9; border-radius: 8px; font: inherit;
}
.portal-invitation-link { display: flex; gap: 8px; margin: 8px 0 14px; }
.portal-identity-form,
.member-identity-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #dfe2e5;
  border-radius: 12px;
  background: #f8f9fa;
}
.portal-identity-form.hidden,
.member-identity-form.hidden { display: none; }
.portal-identity-form > label,
.member-identity-grid > label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
}
.portal-identity-form input,
.portal-identity-form textarea,
.member-identity-form input,
.member-identity-form textarea {
  padding: 10px 12px;
  border: 1px solid #aeb4b9;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.portal-identity-help { margin: 0; color: #616a72; }
.portal-identity-actions,
.member-identity-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.portal-sport-profile {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #dfe2e5;
}
.portal-sport-profile > h3 { margin: 0 0 8px; }
.portal-sport-profile > p { margin: 0 0 16px; color: #616a72; }
.portal-sport-profile > .detail-list { margin-bottom: 16px; }
.portal-sport-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid #dfe2e5;
  border-radius: 12px;
  background: #f8f9fa;
}
.portal-sport-form.hidden { display: none; }
.portal-sport-form > label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  font-weight: 700;
}
.portal-sport-form input,
.portal-sport-form select,
.portal-sport-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #aeb4b9;
  border-radius: 8px;
  background: #fff;
  color: #202223;
  font: inherit;
}
.portal-sport-form textarea { min-height: 96px; resize: vertical; }
.portal-sport-field-wide,
.portal-sport-form > .portal-identity-actions,
.portal-sport-form > .portal-sport-result { grid-column: 1 / -1; }
.portal-sport-form > .portal-sport-result:empty { display: none; }
.portal-documents { margin-top: 14px; padding-top: 12px; border-top: 1px solid #dfe2e5; }
.portal-documents h4 { margin: 0 0 8px; }
.portal-document-row, .admin-document-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 0; border-top: 1px solid #eceef0;
}
.portal-document-row > div, .admin-document-row > div { display: flex; flex-direction: column; gap: 3px; }
.portal-document-actions, .document-review-actions { display: flex !important; flex-direction: row !important; align-items: center; flex-wrap: wrap; gap: 8px; }
.portal-upload-label { cursor: pointer; }
.portal-upload-label input { display: none; }
.document-status-validated { color: #087552 !important; }
.document-status-refused, .document-status-replacement_requested { color: #b42318 !important; }
.document-status-to_check { color: #9c6200 !important; }

.admin-document-row {
  margin: 6px 0;
  padding: 14px 16px;
  border: 1px solid #dfe2e5;
  border-radius: 12px;
  background: #fff;
}
.admin-document-row.document-row-validated { border-color: #83c5ad; background: #f0fbf6; }
.admin-document-row.document-row-to_check { border-color: #e7bf6b; background: #fff9ea; }
.admin-document-row.document-row-refused { border-color: #e5a09a; background: #fff3f2; }
.admin-document-row.document-row-replacement_requested { border-color: #e5b56b; background: #fff7e8; }
.admin-document-row.document-row-missing { border-color: #e2b3ae; background: #fff8f7; }
.document-main-info { min-width: 190px; }
.document-status-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: #eef0f2;
  color: #4a535b;
}
.document-status-badge-validated { background: #d9f3e7; color: #087552; }
.document-status-badge-to_check { background: #fff0c7; color: #8a5700; }
.document-status-badge-refused { background: #fde1df; color: #a9231b; }
.document-status-badge-replacement_requested { background: #ffe9c2; color: #8a4d00; }
.document-status-badge-missing { background: #fde1df; color: #a9231b; }
.document-action-button {
  padding: 9px 12px;
  border: 1px solid #b8bec3;
  border-radius: 8px;
  background: #fff;
  color: #30363b;
  font-weight: 700;
}
.document-action-button:hover { background: #f4f5f6; }
.document-action-validate:hover, .document-action-validate.is-selected {
  border-color: #16835d; background: #16835d; color: #fff;
}
.document-action-replace:hover, .document-action-replace.is-selected {
  border-color: #b76b00; background: #b76b00; color: #fff;
}
.document-action-refuse:hover, .document-action-refuse.is-selected {
  border-color: #c53030; background: #c53030; color: #fff;
}
.document-action-button.is-selected { box-shadow: 0 0 0 3px rgba(32, 34, 35, 0.12); }
@media (max-width: 700px) {
  .portal-member-grid { grid-template-columns: 1fr; }
  .portal-header { padding: 14px 16px; }
  .admin-document-row { align-items: flex-start; flex-direction: column; }
}

.access-shell {
  max-width: 820px;
  margin: 0 auto;
}

.access-search-form {
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid #e1e3e5;
  border-radius: 16px;
  background: #fff;
}

.access-search-form label {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
}

.access-search-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}

.access-search-row input {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #aeb4b9;
  border-radius: 10px;
  font: inherit;
  font-size: 17px;
}

.access-results {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.qr-scanner-panel {
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid #d7dadd;
  border-radius: 16px;
  background: #0e1b4d;
  color: #fff;
}

.qr-scanner-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.qr-scanner-reader,
#qr-scanner-reader {
  display: block;
  width: 100%;
  min-height: 260px;
  border-radius: 12px;
  background: #000;
  overflow: hidden;
}

#qr-scanner-reader video { max-height: 420px; object-fit: cover; }
#qr-scanner-reader img { display: none; }

.qr-scanner-panel p { margin: 12px 0 0; }

.member-access-code-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.member-access-code {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 8px;
  background: #f1f2f3;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.member-qr-code img {
  display: block;
  width: 210px;
  height: 210px;
}

.member-qr-code.is-disabled { opacity: 0.25; }
.member-identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.member-identity-address { grid-column: 1 / -1; }
.member-identity-history { margin-top: 18px; }
.member-identity-history summary { cursor: pointer; font-weight: 700; }
.member-identity-history p { display: flex; flex-wrap: wrap; gap: 5px; margin: 9px 0; }
.member-identity-history small { display: block; width: 100%; color: #616a72; }
.member-admin-overview { border-top: 5px solid #1d4ed8; }
.member-admin-heading,
.member-admin-activity-heading,
.member-discount-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.member-admin-heading { margin-bottom: 18px; }
.member-admin-heading h2,
.member-admin-activity h3 { margin: 0; }
.member-admin-heading p { margin: 5px 0 0; color: #616a72; }
.member-admin-global {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}
.member-admin-global.has-issues { color: #8a5700; background: #fff0c7; }
.member-admin-global.is-complete { color: #087552; background: #d9f3e7; }
.member-central-alert {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border-radius: 10px;
  color: #8e1f0b;
  background: #fff1ef;
}
.member-admin-activities { display: grid; gap: 14px; }
.member-admin-activity {
  padding: 17px;
  border: 1px solid #dfe2e5;
  border-radius: 14px;
  background: #f9fafb;
}
.member-activity-kind {
  display: inline-block;
  margin-bottom: 4px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.member-admin-subsection { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e1e3e5; }
.member-admin-subsection h4 { margin: 0 0 8px; font-size: 14px; }
.member-access-facts { display: flex; flex-wrap: wrap; gap: 7px 18px; color: #4a535b; }
.member-access-summary > p { margin: 0 0 8px; font-weight: 700; }
.member-access-summary > span { display: block; margin: 5px 0; color: #4a535b; }
.member-access-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 6px 14px; margin-top: 8px; }
.member-access-slots span { padding: 7px 9px; border-radius: 8px; background: #eef4ff; color: #234b85; font-size: 13px; }
.member-admin-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.member-admin-tag { padding: 6px 9px; border-radius: 999px; color: #4a535b; background: #e9ecef; font-size: 12px; font-weight: 700; }
.member-admin-validated,
.member-admin-resolved { color: #087552; background: #d9f3e7; }
.member-admin-missing,
.member-admin-refused,
.member-admin-error { color: #a9231b; background: #fde1df; }
.member-admin-to_check,
.member-admin-replacement_requested { color: #8a5700; background: #fff0c7; }
.member-discount-line { padding: 7px 0; }
.member-discount-line .discount-tracking-status { margin: 0; }

.member-history-list {
  display: grid;
  gap: 12px;
}

.member-followup-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.member-followup-correct { color: #a9231b; background: #fde1df; }
.member-followup-review { color: #8a5700; background: #fff0c7; }
.member-followup-complete { color: #087552; background: #d9f3e7; }

.member-history-item {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 10px 18px;
  padding: 14px 16px;
  border: 1px solid #dfe2e5;
  border-radius: 12px;
  background: #f8f9fa;
}

.member-history-item .member-activity-link {
  grid-column: -2 / -1;
  justify-self: end;
  white-space: nowrap;
}

.access-member-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d7dadd;
  border-radius: 12px;
  color: #202223;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.access-member-card:hover {
  border-color: #1d4ed8;
  background: #f7faff;
}

.access-member-card strong { font-size: 17px; }
.access-member-card span,
.access-member-card small { color: #616a72; }

.access-decision {
  padding: 26px;
  margin-bottom: 28px;
  border: 2px solid;
  border-radius: 18px;
  background: #fff;
}

.access-allowed { border-color: #16835d; background: #eefbf5; }
.access-allowed_with_warning { border-color: #d18400; background: #fff8e8; }
.access-denied { border-color: #c53030; background: #fff1f1; }

.access-decision-status {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 900;
}

.access-allowed .access-decision-status { color: #087552; }
.access-allowed_with_warning .access-decision-status { color: #9c6200; }
.access-denied .access-decision-status { color: #b42318; }

.access-decision h2 { margin: 0 0 6px; }
.access-selected-right { margin: 0 0 14px; color: #4a535b; }
.access-reasons { margin: 16px 0; padding-left: 22px; }
.access-reasons li + li { margin-top: 8px; }
.access-all-good { font-weight: 600; }

.access-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.access-confirm { font-size: 17px; padding: 13px 20px; }
.access-recorded { color: #087552; }

.access-recent-section {
  padding-top: 8px;
  border-top: 1px solid #e1e3e5;
}

.access-recent-section h2 { font-size: 18px; }
.access-recent { display: grid; gap: 8px; }
.access-recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
}
.access-recent-item div { display: flex; flex-direction: column; gap: 2px; }
.access-recent-item small { color: #616a72; }
.access-recent-dot { width: 11px; height: 11px; border-radius: 50%; background: #c53030; }
.access-dot-allowed { background: #16835d; }
.access-dot-allowed_with_warning { background: #d18400; }
.access-history-filters { grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(135px, 1fr)) auto auto; }
.access-history-summary { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 12px; margin: 18px 0; }
.access-history-summary article { display: flex; flex-direction: column; padding: 15px; border: 1px solid #dfe2e5; border-radius: 12px; background: #fff; }
.access-history-summary strong { font-size: 24px; }
.access-history-summary span { color: #616a72; }
.access-history-decision { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.access-history-allowed { color: #087552; background: #d9f3e7; }
.access-history-allowed_with_warning { color: #8a5700; background: #fff0c7; }
.access-history-denied { color: #a9231b; background: #fde1df; }
.access-history-reasons { min-width: 220px; max-width: 420px; color: #4a535b; }
.member-access-history { display: grid; gap: 8px; }
.member-access-history > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border-radius: 10px; background: #f8f9fa; }
.member-access-history > div > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.member-access-history small { color: #616a72; }

.settings-toolbar,
.settings-actions,
.settings-card-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.settings-toolbar {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid #e1e3e5;
  border-radius: 12px;
  background: #fff;
}

.settings-toolbar label { font-weight: 700; }
.settings-card { margin-bottom: 20px; }
.settings-card-heading { justify-content: space-between; }
.shopify-sync-card h2,
.shopify-sync-card h3 { margin: 0; }
.shopify-sync-card p { color: #616a72; }
.shopify-status {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.shopify-status-neutral { color: #4a535b; background: #eef0f2; }
.shopify-status-ready { color: #087552; background: #d9f3e7; }
.shopify-status-running { color: #805500; background: #fff0c7; }
.shopify-status-error { color: #a9231b; background: #fde1df; }
.shopify-sync-history { display: grid; gap: 8px; margin-top: 18px; }
.shopify-sync-run {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 13px;
  border-radius: 9px;
  background: #f7f8f9;
}
.shopify-sync-run > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.shopify-sync-run small { color: #616a72; }
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.settings-grid label,
.access-profile-form > label:not(.settings-checkbox) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
}
.settings-grid input,
.settings-row input,
.settings-row select,
.settings-toolbar select,
.access-profile-form input,
.access-profile-form select {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #aeb4b9;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.settings-list { display: grid; gap: 9px; margin: 16px 0; }
.settings-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.5fr) minmax(115px, 1fr) 120px 120px 115px auto auto;
  align-items: center;
  gap: 8px;
}
.closure-row { grid-template-columns: minmax(180px, 1.5fr) minmax(160px, 1fr) 145px 145px auto auto; }
.new-closure-row { grid-template-columns: minmax(180px, 1.5fr) minmax(160px, 1fr) 145px 145px auto; }
.danger-button {
  padding: 10px 13px;
  border: 1px solid #d72c0d;
  border-radius: 8px;
  color: #b42318;
  background: #fff;
  cursor: pointer;
}

.member-admin-activity-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.warning-message {
  margin: 12px 0;
  padding: 13px 15px;
  border: 1px solid #e2a500;
  border-radius: 9px;
  background: #fff7db;
  color: #6f4b00;
}

.detail-actions .primary-button {
  border: 1px solid #17663a;
  border-radius: 8px;
  background: #17663a;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 11px 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-weight: 700;
}

.form-field input {
  box-sizing: border-box;
  min-height: 44px;
  width: 100%;
}

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

  .dashboard-columns, .dashboard-activity-grid { grid-template-columns: 1fr; }
  .dashboard-season { flex-direction: column; }
  .dashboard-shortcuts { grid-template-columns: 1fr; }
  .dashboard-shortcuts .dashboard-shortcut { min-height: 72px; }
  .followup-summary, .followup-filters { grid-template-columns: 1fr; }
  .followup-card-heading, .followup-card-footer { align-items: flex-start; flex-direction: column; }
  .followup-card-footer .primary-button { width: 100%; }

  .detail-actions,
  .detail-actions button {
    width: 100%;
  }
}
.access-profile-form {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin-top: 16px;
}
.settings-checkbox { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.success-message { color: #087552; font-weight: 700; }

.gym-opening-save-state {
  color: #087552;
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 7.5rem;
}

.gym-opening-save-state.save-state-error {
  color: #b42318;
}

.access-purpose-selector {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  max-width: 36rem;
}

.access-purpose-selector select {
  background: #fff;
  border: 1px solid #aeb7c2;
  border-radius: 0.55rem;
  font: inherit;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  width: 100%;
}

@media (max-width: 650px) {
  .filters {
    grid-template-columns: 1fr;
  }

  .detail-card dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-card dd {
    margin-bottom: 10px;
  }

  .access-search-row { grid-template-columns: 1fr; }
  .member-access-code-card { grid-template-columns: 1fr; }
  .member-identity-grid { grid-template-columns: 1fr; }
  .member-identity-address { grid-column: auto; }
  .member-admin-heading,
  .member-admin-activity-heading,
  .member-discount-line { align-items: flex-start; flex-direction: column; }
  .member-admin-global { white-space: normal; }
  .member-admin-activity-heading .view-button { width: 100%; }
  .member-qr-code img { width: min(100%, 280px); height: auto; }
  .member-history-item { grid-template-columns: 1fr; }
  .member-history-item .member-activity-link { grid-column: auto; justify-self: stretch; width: 100%; }
  .access-decision { padding: 20px; }
  .access-decision-status { font-size: 20px; }
  .access-actions > button { width: 100%; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-row,
  .closure-row,
  .new-closure-row { grid-template-columns: 1fr; padding: 12px; border: 1px solid #e1e3e5; border-radius: 10px; }
  .access-history-summary { grid-template-columns: repeat(2, 1fr); }
  .member-access-history > div { align-items: flex-start; flex-direction: column; }
  .portal-sport-form { grid-template-columns: 1fr; padding: 16px; }
  .portal-sport-field-wide,
  .portal-sport-form > .portal-identity-actions,
  .portal-sport-form > .portal-sport-result { grid-column: auto; }
  .portal-sport-form > .portal-identity-actions > button { flex: 1 1 100%; min-height: 46px; }
}
.link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #174ea6;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0.35rem;
  text-decoration: underline;
}

.form-result:empty { display: none; }

.portal-account-settings {
  margin-top: 1.5rem;
  border: 1px solid #d9dde3;
  border-radius: 14px;
  background: #fff;
  padding: 1rem 1.25rem;
}

.portal-account-settings summary {
  cursor: pointer;
  font-weight: 700;
}

.portal-password-form {
  display: grid;
  gap: 0.85rem;
  max-width: 620px;
  margin-top: 1rem;
}

.portal-password-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

/* Espace adhérent : base mobile, enrichie ensuite pour les écrans larges. */
.portal-shell {
  width: calc(100% - 24px);
  margin: 18px auto 32px;
}

.portal-shell > .auth-card {
  margin: 24px auto;
  padding: 22px 18px;
}

.portal-header {
  padding: 12px;
  gap: 10px;
}

.portal-header .auth-logo { width: 44px; height: 44px; }
.portal-header .secondary-button { padding: 10px; }
.portal-title h1 { font-size: clamp(25px, 8vw, 36px); }
.portal-member-card { padding: 16px; border-radius: 14px; }
.portal-member-grid { grid-template-columns: 1fr; gap: 20px; }
.portal-member-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.portal-member-heading p { margin-bottom: 0; overflow-wrap: anywhere; }
.portal-photo-button,
.portal-photo-missing {
  display: grid;
  flex: 0 0 76px;
  width: 76px;
  height: 92px;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 2px solid #d8dce0;
  border-radius: 12px;
  background: #eef0f2;
  color: #5c6670;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.portal-photo-button img { width: 100%; height: 100%; object-fit: cover; }
.portal-qr {
  padding: 16px;
  border: 1px solid #e0e3e6;
  border-radius: 14px;
  background: #fff;
}
.portal-qr img { width: min(100%, 280px); }
.portal-qr code { display: block; overflow-wrap: anywhere; }
.portal-qr-fullscreen { width: 100%; min-height: 48px; margin-top: 14px; }
.portal-document-row { align-items: stretch; flex-direction: column; }
.portal-document-actions > * { flex: 1; min-height: 44px; text-align: center; }
.portal-identity-actions > button,
.portal-edit-identity { min-height: 44px; }

.portal-media-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
}
.portal-media-dialog::backdrop { background: rgba(0, 0, 0, 0.86); }
.portal-media-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  box-sizing: border-box;
  background: #0e1b4d;
  color: #fff;
}
.portal-media-content {
  display: grid;
  width: 100%;
  height: calc(100dvh - 64px);
  place-items: center;
  overflow: auto;
  background: #fff;
}
.portal-media-content img {
  display: block;
  width: min(92vw, 720px);
  max-height: calc(100dvh - 88px);
  object-fit: contain;
}
.portal-media-content iframe { width: 100%; height: 100%; border: 0; }
.portal-media-content .hidden { display: none; }

.access-identity-heading { display: flex; align-items: center; gap: 14px; margin: 12px 0; }
.access-identity-heading h2 { margin: 0 0 4px; }
.access-identity-heading small { color: #616a72; }
.access-identity-photo {
  display: grid;
  width: 74px;
  height: 90px;
  place-items: center;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 10px;
  background: #e4e7ea;
  box-shadow: 0 0 0 1px #cbd0d5;
}
.access-photo-missing { padding: 5px; box-sizing: border-box; color: #616a72; font-size: 10px; text-align: center; }

.member-identity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: start;
  gap: clamp(18px, 3vw, 36px);
}
.member-identity-main { min-width: 0; }
.member-admin-photo-card {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 150px;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #d9dde3;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.member-admin-photo-card > a { display: block; width: 112px; height: 136px; }
.member-admin-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.member-admin-photo-card small { color: #616a72; }
.member-admin-photo-missing,
.member-admin-photo-document {
  display: grid;
  width: 112px;
  height: 136px;
  place-items: center;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 10px;
  background: #eef0f2;
  color: #5c6670;
  font-weight: 700;
}

@media (max-width: 700px) {
  .shopify-sync-card .settings-card-heading,
  .shopify-sync-run { align-items: flex-start; flex-direction: column; }
  .shopify-sync-card .settings-actions,
  .shopify-sync-card .settings-actions button { width: 100%; }
  .member-identity-layout { grid-template-columns: 1fr; }
  .member-admin-photo-card {
    grid-row: 1;
    width: 100%;
    grid-template-columns: auto 112px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .member-admin-photo-card > a,
  .member-admin-photo-missing { grid-row: 1 / span 2; grid-column: 2; }
  .member-admin-photo-card > strong { grid-column: 1; }
  .member-admin-photo-card > small { grid-column: 3; }
  .member-identity-main .detail-list { grid-template-columns: minmax(115px, .8fr) minmax(0, 1.2fr); }
  .member-identity-main .detail-list dd { overflow-wrap: anywhere; }
  .member-identity-actions > button,
  #show-member-identity-form { width: 100%; min-height: 46px; }
}

@media (max-width: 460px) {
  .member-identity-card { padding: 16px; }
  .member-admin-photo-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 6px 12px;
  }
  .member-admin-photo-card > a,
  .member-admin-photo-missing,
  .member-admin-photo-document { width: 92px; height: 112px; }
  .member-admin-photo-card > a,
  .member-admin-photo-missing { grid-row: 1 / span 2; grid-column: 1; }
  .member-admin-photo-card > strong,
  .member-admin-photo-card > small { grid-column: 2; }
  .member-identity-main .detail-list { grid-template-columns: 1fr; gap: 3px; }
  .member-identity-main .detail-list dd { margin: 0 0 12px; }
}

@media (min-width: 760px) {
  .portal-shell { width: min(100% - 40px, 1100px); margin: 36px auto; }
  .portal-shell > .auth-card { margin: 60px auto; padding: 32px; }
  .portal-header { padding: 18px max(20px, calc((100% - 1100px) / 2)); }
  .portal-member-card { padding: 26px; border-radius: 18px; }
  .portal-member-grid { grid-template-columns: 1fr 300px; gap: 30px; }
  .portal-document-row { align-items: center; flex-direction: row; }
  .portal-document-actions > * { flex: initial; }
  .portal-media-dialog {
    width: min(92vw, 760px);
    height: min(92dvh, 840px);
    margin: auto;
    border-radius: 18px;
    overflow: hidden;
  }
  .portal-media-content { height: calc(min(92dvh, 840px) - 64px); }
}

/* OBA branding: dark surfaces use navy; cards and status colours stay readable. */
.performance-logo { display: block; width: 160px; max-width: 100%; height: auto; object-fit: contain; margin: 0 auto 18px; }
.portal-header .performance-logo { width: 112px; margin: 0; }
img.logo, img.auth-logo { object-fit: contain; flex-shrink: 0; border-radius: 50%; background: #ffffff; }
.sidebar .sidebar-header small, .sidebar .nav-section-label,
.sidebar .nav-button, .portal-header .auth-brand small { color: #ffffff; }
button.primary-button, a.primary-button, .detail-actions .primary-button {
  background: #0e1b4d; color: #ffffff; border: 1px solid #0e1b4d;
  border-radius: 8px; padding: 11px 16px;
}
button.primary-button:hover, a.primary-button:hover { background: #243568; color: #ffffff; }
@media (max-width: 480px) {
  .portal-header { flex-wrap: wrap; gap: 10px; }
  .portal-header .performance-logo { width: 80px; }
}

/* Carte adhérent OBA */
.portal-member-card {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}
.portal-membership-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 170px 1fr;
  align-content: center;
  gap: 12px 32px;
  min-height: 410px;
  box-sizing: border-box;
  padding: 32px;
  overflow: hidden;
  border-radius: 24px;
  background: #0e1b4d;
  color: #fff;
  box-shadow: 0 18px 44px rgba(14, 27, 77, 0.2);
}
.portal-membership-stripes {
  position: absolute;
  z-index: 0;
  top: -28%;
  left: 54%;
  width: 30px;
  height: 158%;
  background: linear-gradient(to right, #ffffff 0 9px, transparent 9px 18px, #e30613 18px 27px, transparent 27px);
  transform: rotate(-11deg);
  transform-origin: center;
  opacity: .3;
  pointer-events: none;
}
.portal-membership-brand {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1;
  align-self: start;
  width: min(100%, 540px);
  justify-self: center;
  place-items: center;
}
.portal-membership-brand img {
  display: block;
  width: min(100%, 360px);
  height: 170px;
  object-fit: contain;
  object-position: center;
}
.portal-membership-identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 24px;
  width: min(100%, 540px);
  justify-content: center;
  justify-self: center;
  min-width: 0;
}
.portal-membership-card .portal-photo-button,
.portal-membership-card .portal-photo-missing {
  flex: 0 0 118px;
  width: 118px;
  height: 146px;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.portal-membership-name { min-width: 0; }
.portal-membership-name > span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.portal-membership-name h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3.2vw, 38px);
  line-height: 1.06;
  overflow-wrap: anywhere;
}
.portal-membership-name p { margin: 8px 0 15px; color: rgba(255,255,255,.78); }
.portal-access-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.portal-access-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.portal-access-status.is-active { color: #dff9e8; background: rgba(34, 197, 94, .24); }
.portal-access-status.is-inactive { color: #ffe3e3; background: rgba(227, 6, 19, .28); }
.portal-membership-qr {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-self: center;
  justify-self: center;
  flex-direction: column;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  color: #0e1b4d;
}
.portal-membership-qr img { display: block; width: 190px; height: 190px; }
.portal-membership-qr code { margin: 5px 0 13px; color: #0e1b4d; font-weight: 900; letter-spacing: .07em; }
.portal-card-qr-button {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: #0e1b4d;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}
.portal-card-qr-button:hover { background: #243568; }
.portal-member-section {
  overflow: hidden;
  border: 1px solid #d9dde3;
  border-radius: 14px;
  background: #fff;
}
.portal-member-section summary {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 18px 54px 18px 20px;
  cursor: pointer;
  list-style: none;
}
.portal-member-section summary::-webkit-details-marker { display: none; }
.portal-member-section summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: #0e1b4d;
  font-size: 25px;
  line-height: 1;
  transform: translateY(-50%);
}
.portal-member-section[open] summary::after { content: "−"; }
.portal-member-section summary span { color: #0e1b4d; font-weight: 800; }
.portal-member-section summary small { color: #68717a; }
.portal-member-section-content { padding: 4px 20px 22px; border-top: 1px solid #edf0f2; }
.portal-sport-sections:empty::after { content: "Aucune information sportive à afficher."; display: block; padding-top: 18px; color: #68717a; }
.portal-sport-sections .portal-sport-profile:first-child { border-top: 0; }

@media (max-width: 760px) {
  .statistics-filters { grid-template-columns: 1fr 1fr; }
  .statistics-filters .filter-field:first-child { grid-column: 1 / -1; }
  .statistics-refresh { grid-column: 1 / -1; }
  .statistics-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statistics-main-grid { grid-template-columns: 1fr; }
  .statistics-activities { grid-template-columns: 1fr; }
  .statistics-comparison { grid-template-columns: 1fr; }
  .attendance-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .attendance-grid { grid-template-columns: 1fr; }
  .trial-funnel-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial-crm-contact { grid-template-columns: minmax(0, 1fr) auto; }
  .trial-crm-contact button { grid-column: 1 / -1; }
  .statistics-crm-contact { grid-template-columns: minmax(0, 1fr) auto; }
  .statistics-crm-contact button { grid-column: 1 / -1; }
  .portal-adoption-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-adoption-contact { grid-template-columns: minmax(0, 1fr) auto; }
  .portal-adoption-contact button { grid-column: 1 / -1; }
  .retention-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acquisition-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acquisition-contact { grid-template-columns: minmax(0, 1fr) auto; }
  .acquisition-contact button { grid-column: 1 / -1; }
  .segmentation-contactability { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #member-crm-form { grid-template-columns: 1fr; }
  #member-crm-message { grid-column: 1; }
  .portal-title { margin: 4px 4px 18px; }
  .portal-title p { overflow-wrap: anywhere; }
  .portal-membership-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 18px;
    min-height: 0;
    padding: 16px 20px 54px;
    border-radius: 20px;
  }
  .portal-membership-brand { grid-column: 1; }
  .portal-membership-brand img { width: min(100%, 300px); height: 145px; margin: 0 auto; object-position: center; }
  .portal-membership-identity { justify-content: center; gap: 16px; }
  .portal-membership-card .portal-photo-button,
  .portal-membership-card .portal-photo-missing { flex-basis: 92px; width: 92px; height: 114px; }
  .portal-membership-name h2 { font-size: clamp(23px, 7vw, 31px); }
  .portal-membership-qr {
    grid-column: 1;
    grid-row: 3;
    width: min(100%, 285px);
    box-sizing: border-box;
    justify-self: center;
  }
  .portal-membership-qr img { width: min(100%, 210px); height: auto; }
  .portal-membership-stripes {
    top: -20%;
    left: 53%;
    width: 24px;
    height: 142%;
    background: linear-gradient(to right, #ffffff 0 7px, transparent 7px 15px, #e30613 15px 22px, transparent 22px);
    transform: rotate(-10deg);
    opacity: .3;
  }
  .portal-member-section summary { padding: 16px 46px 16px 16px; }
  .portal-member-section summary::after { right: 16px; }
  .portal-member-section-content { padding: 4px 16px 18px; }
}

@media (max-width: 430px) {
  .statistics-kpis { grid-template-columns: 1fr; }
  .statistics-kpi { min-height: 94px; }
  .attendance-summary { grid-template-columns: 1fr; }
  .trial-funnel-summary { grid-template-columns: 1fr; }
  .trial-crm-contact { grid-template-columns: 1fr; }
  .trial-crm-contact .trial-crm-status { justify-self: start; }
  .statistics-crm-contact { grid-template-columns: 1fr; }
  .portal-adoption-summary { grid-template-columns: 1fr; }
  .portal-adoption-contact { grid-template-columns: 1fr; }
  .portal-adoption-contact .portal-adoption-status { justify-self: start; }
  .retention-summary { grid-template-columns: 1fr; }
  .acquisition-summary { grid-template-columns: 1fr; }
  .acquisition-contact { grid-template-columns: 1fr; }
  .acquisition-badge { justify-self: start; }
  .segmentation-contactability,
  .segmentation-grid { grid-template-columns: 1fr; }
  .segmentation-contact { grid-template-columns: 1fr; }
  .retention-contact { grid-template-columns: 1fr; }
  .member-crm-title,
  .member-crm-entry-heading { align-items: flex-start; flex-direction: column; }
  .portal-membership-identity { align-items: flex-start; }
  .portal-membership-card .portal-photo-button,
  .portal-membership-card .portal-photo-missing { flex-basis: 76px; width: 76px; height: 94px; border-radius: 12px; }
  .portal-membership-name > span { font-size: 10px; }
  .portal-membership-name p { font-size: 13px; }
}
