:root {
  --bg: #fafafa;
  --panel: #ffffff;
  --panel-soft: #f4f7fb;
  --text: #111111;
  --muted: #666666;
  --blue: #1f6feb;
  --blue-soft: #eef4ff;
  --green: #166534;
  --green-soft: #ebf8ef;
  --amber: #a16207;
  --amber-soft: #fef3c7;
  --red: #c2410c;
  --red-soft: #ffedd5;
  --border: #eaeaea;
  --shadow: 0 12px 30px rgba(17, 17, 17, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.portal-body {
  min-height: 100vh;
}

.portal-shell {
  position: sticky;
  top: 0;
  z-index: 48;
  padding: 20px 16px 0;
}

.portal-bar {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.portal-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-page {
  padding: 24px 0 48px;
}

.portal-brand {
  text-decoration: none;
}

.portal-menu-button,
.portal-menu-close {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--text);
  cursor: pointer;
}

.portal-menu-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.portal-menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.portal-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 59;
  background: rgba(17, 17, 17, 0.18);
}

.portal-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(390px, calc(100vw - 24px));
  height: 100vh;
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--border);
  box-shadow: -18px 0 36px rgba(17, 17, 17, 0.08);
  transform: translateX(100%);
  transition: transform 180ms ease;
  overflow-y: auto;
}

.portal-menu-drawer.is-open {
  transform: translateX(0);
}

.portal-menu-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}

.portal-menu-header h2 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.portal-menu-close {
  font-size: 2rem;
  line-height: 1;
}

.portal-menu-nav {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.portal-menu-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.portal-menu-link.active {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(31, 111, 235, 0.14);
}

.portal-menu-status {
  margin-bottom: 14px;
}

.portal-menu-panels {
  display: grid;
  gap: 18px;
}

.portal-menu-panel {
  display: grid;
  gap: 14px;
}

.portal-section-stack {
  display: grid;
  gap: 14px;
}

.portal-inline-note,
.portal-menu-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.portal-inline-note {
  color: var(--text);
  line-height: 1.55;
}

.compact-form {
  gap: 12px;
}

.checkbox-field {
  display: flex;
  align-items: start;
  gap: 12px;
  color: var(--text);
  line-height: 1.55;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.billing-invoice-list {
  display: grid;
  gap: 10px;
}

.billing-invoice-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(17, 17, 17, 0.02);
}

.billing-invoice-card strong {
  font-size: 0.98rem;
}

.billing-invoice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.billing-usage-track-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.billing-usage-track-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}

.billing-usage-track {
  display: flex;
  align-items: end;
  gap: 6px;
  min-height: 64px;
  padding-top: 6px;
}

.billing-usage-bar {
  flex: 1 1 0;
  min-width: 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.12);
}

.billing-usage-bar.peak {
  background: rgba(31, 111, 235, 0.92);
}

.site-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 20px 16px 0;
}

.site-bar {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.site-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08);
}

.site-brand-copy {
  display: grid;
  gap: 2px;
}

.site-brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.site-brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-nav-item {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav-item:hover,
.site-nav-item.active {
  color: var(--blue);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-menu-toggle {
  display: none;
}

.site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.site-menu-toggle,
.site-drawer-close {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--text);
  cursor: pointer;
}

.site-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.site-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 59;
  background: rgba(17, 17, 17, 0.18);
}

.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(360px, calc(100vw - 24px));
  height: 100vh;
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--border);
  box-shadow: -18px 0 36px rgba(17, 17, 17, 0.08);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.site-drawer.is-open {
  transform: translateX(0);
}

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

.site-drawer-header h2 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.site-drawer-nav {
  display: grid;
  gap: 10px;
}

.site-nav-link {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  background: rgba(17, 17, 17, 0.04);
}

.site-nav-link.active {
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid rgba(31, 111, 235, 0.14);
}

.site-nav-link.cta {
  background: var(--blue);
  color: #ffffff;
}

.menu-open {
  overflow: hidden;
}

.hero,
.meta-card,
.admin-card,
.supervisor-card,
.empty-state {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
  border-radius: 16px;
  display: grid;
  gap: 20px;
  align-items: start;
}

.hero-home {
  min-height: auto;
  align-content: start;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.subtitle {
  max-width: 62ch;
  margin: 12px 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

#snapshot-input {
  display: none;
}

.upload-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.upload-button.secondary {
  background: var(--panel-soft);
  color: var(--blue);
}

.upload-button.danger {
  background: #8f1d1d;
  color: #ffffff;
}

.upload-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hero-actions {
  display: grid;
  gap: 14px;
  align-items: start;
}

.top-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.text-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18, 24, 38, 0.04);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

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

.landing-page {
  padding: 96px 16px 0;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  align-items: center;
  padding: 32px 0 0;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.primary-button {
  background: var(--blue);
  color: #ffffff;
}

.secondary-button {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.micro-copy {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.product-mock {
  display: flex;
  justify-content: center;
}

.mock-window {
  width: min(100%, 420px);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mock-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.mock-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #dddddd;
}

.mock-phone {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid #d8d8d8;
  background: #fdfdfd;
}

.mock-phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 700;
}

.mock-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
}

.mock-phone-body {
  display: grid;
  gap: 12px;
}

.mock-phone-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.mock-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mock-phone-card h3,
.info-card h3,
.onboarding-shell h2,
.dashboard-shell h2,
.mobile-checkin-shell h1 {
  margin: 0;
  letter-spacing: -0.03em;
}

.mock-phone-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.mock-phone-card button,
.checkin-button {
  margin-top: 16px;
  width: 100%;
  min-height: 42px;
  border: none;
  border-radius: 12px;
  background: var(--blue);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
}

.mock-history-row,
.mock-history-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.mock-history-row span,
.mock-history-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.mock-history-list {
  display: grid;
  gap: 10px;
}

.landing-section {
  padding: 96px 0 0;
}

.section-copy {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.section-copy.narrow {
  max-width: 720px;
}

.section-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.section-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 68ch;
}

.problem-section,
.trust-section {
  padding-top: 112px;
}

.three-up-grid,
.two-up-grid,
.dual-section,
.pricing-single-card {
  display: grid;
  gap: 18px;
}

.three-up-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.info-card,
.benefit-list-card,
.pricing-single-card,
.final-cta-card {
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 14px;
}

.info-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.benefit-list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 14px;
  color: var(--text);
  line-height: 1.6;
}

.benefit-list.compact {
  gap: 10px;
}

.pricing-section-simple .section-copy {
  margin-bottom: 22px;
}

.pricing-single-card {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr) minmax(200px, 0.7fr);
  align-items: start;
}

.pricing-main {
  display: grid;
  gap: 18px;
}

.pricing-amount,
.pricing-summary {
  margin: 0;
}

.pricing-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: nowrap;
}

.pricing-value {
  font-size: clamp(2.9rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  white-space: nowrap;
}

.pricing-period {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.pricing-summary {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.final-cta-card {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.site-footer {
  margin-top: 112px;
  padding: 28px 16px 40px;
  border-top: 1px solid var(--border);
}

.site-footer-inner {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.footer-copy {
  display: grid;
  gap: 8px;
}

.footer-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.footer-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-end;
}

.footer-section {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-section-title {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-resources {
  display: grid;
  gap: 10px;
}

.footer-resources a {
  color: var(--text);
  text-decoration: none;
}

.footer-seo-note-wrap {
  width: min(1120px, calc(100vw - 32px));
  margin: 14px auto 0;
}

.footer-seo-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.page-footer-note {
  margin-top: 72px;
  padding: 0 16px 36px;
}

.button-reset {
  font: inherit;
  cursor: pointer;
}

.onboarding-page,
.participant-page {
  padding: 96px 16px 0;
}

.onboarding-shell,
.mobile-checkin-shell {
  max-width: 760px;
  margin: 0 auto;
}

.onboarding-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.onboarding-progress {
  margin-bottom: 28px;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: #ececec;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--blue);
  border-radius: inherit;
  transition: width 180ms ease;
}

.progress-labels {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.step-card {
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.step-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}

.step-card-header h2 {
  margin: 0;
}

.step-form {
  gap: 10px;
}

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

.step-actions.split {
  justify-content: space-between;
}

.step-actions.end {
  justify-content: end;
}

.participant-progress {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.participant-list-wrap {
  margin-top: 20px;
}

.participant-list,
.dashboard-participants {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.participant-item,
.dashboard-participant-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.participant-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.participant-item strong,
.dashboard-participant-card strong {
  display: block;
  font-size: 1rem;
}

.participant-item span,
.dashboard-participant-card span {
  color: var(--muted);
  line-height: 1.5;
}

.remove-inline-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-banner {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}

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

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.dashboard-status-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 700;
}

.status-chip.subtle {
  background: #f4f4f4;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0.24);
}

.modal-card {
  width: min(100%, 460px);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.12);
}

.modal-card h2,
.modal-card p {
  margin: 0;
}

.modal-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.mobile-checkin-shell {
  max-width: 420px;
}

.mobile-checkin-card {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mobile-checkin-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.checkin-info strong {
  display: block;
  font-size: 1.1rem;
}

.checkin-info p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.stats-grid,
.feature-grid,
.journey-grid,
.use-case-grid,
.value-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

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

.stat-card,
.feature-card,
.journey-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(223, 227, 240, 0.82);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.pricing-section {
  background:
    radial-gradient(circle at top right, rgba(22, 119, 255, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.92);
}

.pricing-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 24px;
  border: 1px solid rgba(223, 227, 240, 0.82);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.pricing-card strong {
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.pricing-card strong span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
}

.pricing-tier,
.pricing-cap,
.pricing-badge {
  margin: 0;
}

.pricing-tier {
  font-size: 1.02rem;
  font-weight: 800;
}

.pricing-cap {
  color: var(--muted);
  line-height: 1.5;
}

.pricing-card.featured {
  border-color: rgba(22, 119, 255, 0.24);
  box-shadow: 0 22px 48px rgba(22, 119, 255, 0.14);
  background: linear-gradient(180deg, rgba(217, 233, 255, 0.82), rgba(255, 255, 255, 0.98));
}

.pricing-badge {
  justify-self: start;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.12);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.pricing-note {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.96), rgba(25, 37, 65, 0.94));
  color: #ffffff;
  box-shadow: 0 20px 42px rgba(17, 29, 58, 0.18);
}

.pricing-note span {
  color: rgba(255, 255, 255, 0.76);
}

.stat-card strong {
  font-size: 1.9rem;
  letter-spacing: -0.05em;
}

.stat-card span,
.feature-card p,
.journey-card p {
  color: var(--muted);
  line-height: 1.55;
}

.content-section {
  margin-top: 18px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(223, 227, 240, 0.8);
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.section-heading p {
  margin: 0;
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.6;
}

.feature-card strong,
.journey-card strong {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.link-card-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-link-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(223, 227, 240, 0.8);
  background: linear-gradient(180deg, rgba(217, 233, 255, 0.62), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow);
}

.mini-link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.portal-link {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(217, 233, 255, 0.72), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(22, 119, 255, 0.14);
  box-shadow: 0 18px 38px rgba(22, 119, 255, 0.08);
  color: var(--text);
  text-decoration: none;
}

.portal-link-muted {
  background: linear-gradient(180deg, rgba(240, 243, 251, 0.86), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: 0 18px 38px rgba(18, 24, 38, 0.06);
}

.delete-account-hero {
  min-height: auto;
}

.portal-link strong {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.portal-link span:last-child {
  color: var(--muted);
  line-height: 1.55;
}

.portal-link-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.live-controls {
  display: grid;
  gap: 8px;
  max-width: 360px;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.text-input {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.divider-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hidden {
  display: none !important;
}

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

.single-column {
  grid-template-columns: minmax(0, 1fr);
}

.portal-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.admin-form-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.inset-form {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.section-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.form-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.inline-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.delete-account-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.delete-account-card {
  margin-top: 0;
}

.steps-list,
.support-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text);
  line-height: 1.55;
}

.meta-card {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 22px;
}

.admin-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 26px;
}

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

.admin-title {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.admin-subtitle {
  margin-top: 8px;
  max-width: 56ch;
}

.admin-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 360px) 1fr;
}

.signup-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 320px) 1fr;
}

.signup-side-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(217, 233, 255, 0.72), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(22, 119, 255, 0.14);
}

.invite-summary-block {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 24, 38, 0.08);
}

.pending-invite-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.pending-invite-list.compact {
  margin-top: 0;
}

.pending-invite-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.pending-invite-copy {
  display: grid;
  gap: 4px;
}

.pending-invite-copy strong,
.pending-invite-copy p {
  margin: 0;
}

.pending-invite-copy p {
  color: var(--muted);
  line-height: 1.5;
}

.pending-invite-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.compact-invite-strip {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.compact-invite-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.compact-invite-strip-header h3 {
  margin: 2px 0 0;
  font-size: 1rem;
  line-height: 1.2;
}

.invite-code {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.viewer-hero {
  min-height: auto;
}

.admin-form {
  display: grid;
  gap: 8px;
  align-content: start;
}

.admin-status {
  margin: 6px 0 0;
  min-height: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-status.error {
  color: var(--red);
}

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

.authorized-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.authorized-name {
  margin: 0;
  font-size: 1.1rem;
}

.authorized-email,
.authorized-notes {
  margin: 6px 0 0;
  color: var(--muted);
}

.authorized-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.coverage-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.coverage-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.coverage-kpi {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.coverage-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.coverage-filter {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.coverage-filter.is-active {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(31, 111, 235, 0.14);
}

.coverage-map-shell {
  margin-top: 10px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.coverage-map {
  width: 100%;
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
}

.coverage-popup {
  min-width: 180px;
}

.coverage-popup h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.coverage-popup p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.coverage-marker-shell {
  background: transparent;
  border: none;
}

.coverage-marker {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.92);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
}

.coverage-marker-aa {
  background: #1f6feb;
}

.coverage-marker-na {
  background: #d92d20;
}

.coverage-marker-shift-left {
  transform: translateX(-11px);
}

.coverage-marker-shift-right {
  transform: translateX(11px);
}

.authorized-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.authorized-status.active {
  background: var(--green-soft);
  color: var(--green);
}

.authorized-status.revoked {
  background: var(--red-soft);
  color: var(--red);
}

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

.meta-item {
  display: grid;
  gap: 4px;
}

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

.meta-value,
.meta-empty {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
}

.supervisor-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.supervisor-card {
  padding: 24px;
  border-radius: 30px;
}

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

.supervisor-name {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.supervisor-email {
  margin: 6px 0 0;
  color: var(--muted);
}

.supervisor-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

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

.attendee-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
}

.attendee-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.attendee-name {
  margin: 0;
  font-size: 1.35rem;
}

.attendee-email {
  margin: 6px 0 0;
  color: var(--muted);
}

.status-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.verified-pill {
  background: var(--green-soft);
  color: var(--green);
}

.pending-pill {
  background: var(--amber-soft);
  color: var(--amber);
}

.failed-pill {
  background: var(--red-soft);
  color: var(--red);
}

.settings-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.metric {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}

.metric-label {
  font-size: 0.84rem;
  color: var(--muted);
}

.metric-value {
  font-size: 1rem;
  font-weight: 700;
}

.requirements-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.requirements-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.requirements-header h4 {
  margin: 0;
  font-size: 1rem;
}

.requirements-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

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

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

.select-input {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.requirements-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.upload-button.small {
  min-height: 42px;
  padding: 0 16px;
}

.activity-block {
  margin-top: 18px;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.activity-header h4 {
  margin: 0;
  font-size: 1rem;
}

.activity-count {
  color: var(--muted);
  font-size: 0.9rem;
}

.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.activity-title,
.activity-address,
.activity-time {
  margin: 0;
}

.activity-title {
  font-weight: 700;
}

.activity-address {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.activity-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.activity-status {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue);
}

.activity-time {
  color: var(--muted);
  font-size: 0.88rem;
}

.empty-state {
  padding: 36px 28px;
  border-radius: 28px;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.compliance-shell {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.compliance-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.compliance-toolbar-actions {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  justify-content: end;
}

.week-selector-field {
  min-width: 180px;
}

.week-picker-shell {
  position: relative;
}

.week-picker-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.week-picker-button-icon {
  font-size: 1rem;
}

.week-picker-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: min(360px, calc(100vw - 40px));
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 22px 40px rgba(17, 17, 17, 0.12);
}

.week-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.week-picker-header strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.week-picker-nav {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-size: 1.2rem;
}

.week-picker-weekdays,
.week-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.week-picker-weekdays {
  margin-bottom: 8px;
}

.week-picker-weekdays span {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.week-picker-grid {
  gap: 6px;
}

.week-picker-day {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-weight: 600;
}

.week-picker-day.outside-month {
  color: #b3b3b3;
}

.week-picker-day.current-week {
  border-color: var(--border);
  background: #f5f7fb;
}

.week-picker-day.selected {
  background: var(--blue-soft);
  color: var(--blue);
}

.week-picker-day.selected-start,
.week-picker-day.selected-end {
  background: var(--blue);
  color: #ffffff;
}

.week-picker-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.week-picker-footer-button {
  border: none;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  padding: 0;
}

.compliance-controls {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.filter-tab {
  min-height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter-tab.active {
  background: var(--text);
  color: #ffffff;
}

.participant-search-field {
  min-width: min(320px, 100%);
}

.checklist-context {
  padding: 0 2px;
}

.participant-add-help {
  margin-top: 14px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
}

.participant-add-help-eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.participant-add-help-copy {
  margin: 0;
  max-width: 760px;
  color: var(--text);
  line-height: 1.6;
}

.checklist-table {
  display: grid;
  gap: 12px;
}

.checklist-head,
.checklist-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) 120px 120px 160px 120px;
  gap: 16px;
  align-items: center;
}

.checklist-head {
  padding: 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checklist-head span:nth-child(2),
.checklist-head span:nth-child(3) {
  justify-self: center;
  text-align: center;
}

.checklist-body {
  display: grid;
  gap: 12px;
}

.checklist-row {
  width: 100%;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
}

.checklist-row:focus-visible,
.checklist-row:hover {
  outline: none;
  border-color: rgba(31, 111, 235, 0.28);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

.checklist-name {
  margin: 0;
  font-size: 1.06rem;
}

.checklist-email {
  margin: 6px 0 0;
  color: var(--muted);
}

.checklist-last-meeting {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.checklist-metric-value {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.checklist-metric {
  display: flex;
  justify-content: center;
  text-align: center;
}

.checklist-status-cell,
.checklist-action-cell {
  display: flex;
  justify-content: flex-start;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.compliance-badge.complete {
  background: var(--green-soft);
  color: var(--green);
}

.compliance-badge.not-complete {
  background: var(--red-soft);
  color: var(--red);
}

.detail-sheet {
  width: min(100%, 860px);
  max-height: min(92vh, 980px);
  overflow: auto;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.18);
}

.detail-sheet-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

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

.close-detail-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

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

.detail-summary-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: grid;
  gap: 6px;
}

.detail-result-banner {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 1.05rem;
}

.detail-result-banner.complete {
  background: var(--green-soft);
  color: var(--green);
}

.detail-result-banner.not-complete {
  background: var(--red-soft);
  color: var(--red);
}

.detail-section {
  margin-top: 22px;
}

.detail-section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.detail-section-header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.detail-section-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.detail-meeting-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.meeting-proof-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.meeting-proof-title,
.meeting-proof-meta,
.meeting-proof-location {
  margin: 0;
}

.meeting-proof-title {
  font-weight: 800;
}

.meeting-proof-meta {
  margin-top: 4px;
  color: var(--text);
}

.meeting-proof-location {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.meeting-proof-side {
  display: flex;
  justify-content: end;
}

.meeting-proof-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.meeting-proof-status.verified {
  background: var(--green-soft);
  color: var(--green);
}

.meeting-proof-status.pending {
  background: var(--amber-soft);
  color: var(--amber);
}

.meeting-proof-status.failed {
  background: var(--red-soft);
  color: var(--red);
}

.meeting-proof-empty {
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed var(--border);
  color: var(--muted);
  background: #ffffff;
}

.detail-rules-section {
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.detail-danger-section {
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.detail-requirements-form {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.danger-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(143, 29, 29, 0.18);
  background: #fff7f7;
}

.danger-copy {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.danger-copy-strong {
  font-weight: 700;
}

.danger-confirmation {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed rgba(143, 29, 29, 0.28);
  background: rgba(143, 29, 29, 0.04);
}

@media (max-width: 820px) {
  .page {
    width: min(100vw - 20px, 100%);
    margin: 0 auto;
  }

  .portal-shell {
    padding: 12px 10px 0;
  }

  .portal-bar {
    width: min(100vw - 20px, 100%);
    border-radius: 20px;
    padding: 12px 14px;
  }

  .portal-page {
    padding-top: 18px;
  }

  .portal-menu-drawer {
    width: min(360px, calc(100vw - 16px));
    padding: 22px 18px;
  }

  .site-shell {
    padding: 12px 10px 0;
  }

  .site-bar {
    width: min(100vw - 20px, 100%);
    border-radius: 20px;
    padding: 12px 14px;
  }

  .site-nav,
  .site-cta {
    display: none;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .landing-page,
  .onboarding-page,
  .participant-page {
    padding-top: 72px;
  }

  .hero,
  .meta-card,
  .admin-card,
  .supervisor-card {
    border-radius: 22px;
  }

  .supervisor-header,
  .attendee-header,
  .admin-header,
  .authorized-item,
  .activity-item {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .coverage-actions {
    width: 100%;
  }

  .coverage-map {
    min-height: 420px;
  }

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

  .landing-split,
  .home-hero,
  .feature-grid,
  .journey-grid,
  .use-case-grid,
  .value-grid,
  .pricing-grid,
  .link-card-row,
  .portal-hero {
    grid-template-columns: 1fr;
  }

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

  .three-up-grid,
  .pricing-single-card {
    grid-template-columns: 1fr;
  }

  .pricing-amount {
    display: grid;
    gap: 6px;
    align-items: start;
  }

  .pricing-period {
    white-space: normal;
  }

  .billing-usage-track {
    gap: 4px;
  }

  .billing-usage-bar {
    min-width: 6px;
  }

  .site-footer-inner,
  .dashboard-header,
  .step-card-header,
  .participant-item {
    display: grid;
  }

  .footer-sections {
    justify-content: start;
  }

  .compliance-toolbar,
  .compliance-controls,
  .detail-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .compliance-toolbar-actions {
    justify-content: start;
  }

  .week-picker-popover {
    width: min(340px, calc(100vw - 40px));
  }

  .week-picker-footer {
    flex-wrap: wrap;
  }

  .checklist-head {
    display: none;
  }

  .checklist-row {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .checklist-name-block,
  .checklist-action-cell {
    grid-column: 1 / -1;
  }

  .checklist-status-cell {
    justify-content: start;
  }

  .detail-sheet {
    padding: 20px;
  }

  .detail-header-actions {
    justify-content: start;
  }

  .meeting-proof-item {
    flex-direction: column;
  }

  .step-actions.split,
  .step-actions.end {
    justify-content: stretch;
  }

  .step-actions .primary-button,
  .step-actions .secondary-button,
  .dashboard-participant-card .secondary-button,
  .pricing-actions .primary-button {
    width: 100%;
  }

  .status-pills,
  .activity-meta,
  .authorized-actions {
    justify-items: start;
    text-align: left;
  }

  .requirements-header,
  .requirements-actions {
    display: grid;
  }
}
