:root {
  --et-emerald: #0f4a2f;
  --et-deep: #082b1f;
  --et-leaf: #c9de72;
  --et-sage: #eaf2df;
  --et-cream: #f8f4ea;
  --et-warm: #fffaf0;
  --et-ink: #26312d;
  --et-muted: #5e625d;
  --font-heading: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  --eap-primary: var(--tenant-primary, var(--et-emerald));
  --eap-primary-strong: color-mix(in srgb, var(--eap-primary) 82%, black);
  --eap-primary-soft: color-mix(in srgb, var(--eap-primary) 12%, white);
  --eap-accent: var(--tenant-accent, var(--et-leaf));
  --eap-accent-strong: color-mix(in srgb, var(--eap-accent) 78%, var(--eap-primary));
  --eap-accent-soft: color-mix(in srgb, var(--eap-accent) 28%, white);
  --eap-bg: var(--tenant-bg, var(--et-cream));
  --eap-surface: color-mix(in srgb, var(--eap-bg) 76%, white);
  --eap-surface-strong: color-mix(in srgb, var(--eap-bg) 42%, white);
  --eap-border: color-mix(in srgb, var(--eap-primary) 14%, transparent);
  --eap-ink: color-mix(in srgb, var(--eap-primary) 42%, #18251f);
  --eap-muted: color-mix(in srgb, var(--eap-primary) 26%, #665f56);
  --eap-page-heading-color: var(--eap-primary);
  --eap-page-heading-family: var(--font-heading);
  --eap-page-heading-size: clamp(3rem, 4.4vw, 4.1rem);
  --eap-page-heading-size-mobile: clamp(2.7rem, 10.5vw, 3.55rem);
  --eap-page-heading-weight: 900;
  --eap-page-heading-line-height: 1;
  --eap-warm: color-mix(in srgb, var(--eap-bg) 82%, white);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--eap-accent) 28%, transparent), transparent 18rem),
    var(--eap-bg);
  color: var(--et-ink);
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  margin: 0;
  min-height: 100vh;
  padding-bottom: 86px;
}

body :is(h1, h2, h3, h4, h5, h6, strong, button, input, select, textarea, a, p, small, span, label, th, td) {
  font-family: var(--font-body);
}

body.is-eap-authenticated {
  color: var(--eap-ink);
}

a {
  color: inherit;
}

.hp-field {
  height: 1px;
  left: -10000px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.app-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 18px 20px 10px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: .7rem;
  text-decoration: none;
}

.brand img {
  height: 46px;
  object-fit: contain;
  width: auto;
}

.brand strong {
  color: var(--eap-primary);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 1;
}

.brand small {
  color: #6f543e;
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.small-link {
  color: var(--eap-primary);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.top-actions {
  align-items: center;
  display: inline-flex;
  gap: 1rem;
}

.eap-sidebar,
.eap-topbar,
.eap-org-card,
.desktop-copy {
  display: none;
}

.mobile-copy,
.mobile-only-tile,
.mobile-hub-book {
  display: initial;
}

.eap-global-message-band {
  align-items: center;
  background: linear-gradient(135deg, var(--eap-primary-strong), var(--eap-primary));
  color: #fffaf0;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1rem;
  justify-content: center;
  min-height: 76px;
  padding: 1.1rem 1.25rem;
  text-align: center;
}

.eap-global-message-band > span {
  color: var(--eap-accent);
  flex: 0 0 auto;
  height: 44px;
  width: 44px;
}

.eap-global-message-band strong {
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 4.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.18;
}

.eap-global-message-band em {
  flex-basis: 100%;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.2rem, 5vw, 1.65rem);
  font-style: normal;
  line-height: 1.1;
}

.mobile-eap-actions,
.mobile-privacy-card {
  display: none;
}

main {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 20px 40px;
}

.eap-app-shell {
  flex: 1 0 auto;
}

.eap-global-message-band,
.eap-web-footer {
  flex-shrink: 0;
}

.eap-web-footer {
  align-items: center;
  background: rgba(255, 253, 248, .96);
  border-top: 1px solid rgba(20, 53, 41, .08);
  color: #25312d;
  display: flex;
  flex-wrap: wrap;
  font-size: .82rem;
  font-weight: 800;
  gap: .7rem 1rem;
  justify-content: center;
  padding: .95rem 1.15rem calc(.95rem + env(safe-area-inset-bottom));
  text-align: center;
}

.eap-web-footer a {
  color: var(--tenant-primary, var(--et-emerald));
  text-decoration: none;
}

.eap-web-footer .button-icon {
  height: 16px;
  width: 16px;
}

.phone-shell {
  background: color-mix(in srgb, var(--tenant-bg, var(--et-warm)) 72%, white);
  border-radius: 34px;
  box-shadow: 0 24px 80px rgba(8, 43, 31, .16);
  margin: 0 auto 28px;
  max-width: 520px;
  overflow: hidden;
}

.hero-photo {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .08), rgba(255, 250, 240, .9)),
    url("/assets/eap-room-hero.png");
  background-position: center;
  background-size: cover;
  min-height: 260px;
}

.home-panel {
  margin-top: -76px;
  padding: 0 26px 28px;
  position: relative;
}

.program-pill,
.eyebrow {
  color: var(--tenant-primary, var(--et-emerald));
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
  margin: 0 0 .8rem;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--tenant-primary, var(--et-emerald));
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.65rem, 12vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 8vw, 3.2rem);
}

p {
  color: var(--eap-muted, var(--et-muted));
  font-size: 1rem;
  line-height: 1.65;
}

.lead {
  font-size: 1.12rem;
  max-width: 34rem;
}

.action-stack {
  display: grid;
  gap: .85rem;
  margin-top: 1.35rem;
}

.action-button {
  align-items: center;
  border: 1px solid var(--eap-border);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 850;
  gap: .7rem;
  justify-content: center;
  min-height: 58px;
  padding: 0 1.25rem;
  text-decoration: none;
}

.action-button.primary {
  background: linear-gradient(135deg, var(--eap-primary), var(--eap-primary-strong));
  color: white;
}

.action-button.accent {
  background: var(--eap-accent);
  color: var(--eap-ink);
}

.action-button.outline {
  background: color-mix(in srgb, var(--eap-surface) 74%, transparent);
  color: var(--eap-primary);
}

.button-icon {
  background: currentColor;
  display: inline-block;
  flex: 0 0 auto;
  height: 20px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 20px;
}

.icon-calendar { -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='5' width='16' height='15' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16M8 14h.01M12 14h.01M16 14h.01M8 17h.01M12 17h.01' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='5' width='16' height='15' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16M8 14h.01M12 14h.01M16 14h.01M8 17h.01M12 17h.01' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon-phone { -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4h3l1.5 4-2 1.2a11 11 0 0 0 5.3 5.3l1.2-2 4 1.5v3a3 3 0 0 1-3.3 3A15 15 0 0 1 4 7.3 3 3 0 0 1 7 4Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4h3l1.5 4-2 1.2a11 11 0 0 0 5.3 5.3l1.2-2 4 1.5v3a3 3 0 0 1-3.3 3A15 15 0 0 1 4 7.3 3 3 0 0 1 7 4Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-leaf { -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21V11M12 11c-5 0-8-3-8-8 5 0 8 3 8 8ZM12 12c5 0 8-3 8-8-5 0-8 3-8 8ZM12 16c-4 0-6-2-6-5 4 0 6 2 6 5ZM12 16c4 0 6-2 6-5-4 0-6 2-6 5Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21V11M12 11c-5 0-8-3-8-8 5 0 8 3 8 8ZM12 12c5 0 8-3 8-8-5 0-8 3-8 8ZM12 16c-4 0-6-2-6-5 4 0 6 2 6 5ZM12 16c4 0 6-2 6-5-4 0-6 2-6 5Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-home { -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11.4 12 4l8 7.4V20a1 1 0 0 1-1 1h-5v-6h-4v6H5a1 1 0 0 1-1-1v-8.6Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11.4 12 4l8 7.4V20a1 1 0 0 1-1 1h-5v-6h-4v6H5a1 1 0 0 1-1-1v-8.6Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-email { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='6' width='16' height='12' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m5 8 7 5 7-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-lock { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 14v2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon-info { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M12 11v5M12 8h.01' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon-people { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M4 20v-1a5 5 0 0 1 10 0v1'/%3E%3Cpath d='M16 11a2.5 2.5 0 1 0 0-5'/%3E%3Cpath d='M17 20v-1a4 4 0 0 0-2-3.5'/%3E%3C/g%3E%3C/svg%3E"); }
.icon-search { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/g%3E%3C/svg%3E"); }
.icon-clock { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/g%3E%3C/svg%3E"); }
.icon-logout { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M14 8l4 4-4 4'/%3E%3Cpath d='M18 12H9'/%3E%3C/g%3E%3C/svg%3E"); }

.trust-card,
.support-tile,
.resource-row,
.page-card {
  background: color-mix(in srgb, var(--eap-surface) 86%, transparent);
  border: 1px solid var(--eap-border);
  box-shadow: 0 14px 44px rgba(8, 43, 31, .08);
}

.trust-card {
  align-items: center;
  border-radius: 24px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 64px 1fr;
  margin-top: 1.45rem;
  padding: 1rem;
}

.trust-icon {
  align-items: center;
  border: 2px solid color-mix(in srgb, var(--eap-primary) 35%, transparent);
  border-radius: 20px;
  color: var(--eap-primary);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.trust-card strong {
  color: var(--et-deep);
}

.trust-card p {
  margin: .2rem 0 0;
}

.content-section,
.page-card {
  margin: 0 auto 28px;
  max-width: 920px;
}

.content-section.compact {
  max-width: 760px;
}

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

.tile-grid {
  display: grid;
  gap: 1rem;
}

.support-tile,
.resource-row {
  border-radius: 20px;
  display: block;
  padding: 1.15rem;
  text-decoration: none;
}

.support-tile strong,
.resource-row strong {
  color: var(--et-deep);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.1;
}

.support-tile span,
.resource-row span {
  color: var(--eap-primary);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.resource-list {
  display: grid;
  gap: 1rem;
}

.resource-group {
  margin-bottom: 2rem;
}

.group-head {
  margin-bottom: 1rem;
}

.resource-row em {
  color: #7b4e34;
  display: block;
  font-size: .86rem;
  font-style: normal;
  font-weight: 800;
  margin-top: .55rem;
}

.resource-image,
.content-hero-image {
  border-radius: 16px;
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
}

.resource-image img,
.content-hero-image img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.content-hero-image {
  border-radius: 22px;
  margin: -.5rem -.5rem 1.25rem;
}

@media (max-width: 759px) {
  .resource-image img,
  .content-hero-image img {
    aspect-ratio: 4 / 5;
  }
}

.tool-card,
.checklist-card {
  display: grid;
  gap: .85rem;
}

.step-list,
.check-list {
  color: var(--et-ink);
  display: grid;
  gap: .55rem;
  line-height: 1.55;
  margin: 0;
  padding-left: 1.2rem;
}

.micro-note {
  color: rgba(38, 49, 45, .68);
  font-size: .9rem;
  margin: 0;
}

.checklist-columns {
  display: grid;
  gap: 1rem;
  margin-top: .5rem;
}

.checklist-columns h3 {
  color: var(--tenant-primary, var(--et-emerald));
  font-size: .78rem;
  letter-spacing: .12em;
  margin: 0 0 .6rem;
  text-transform: uppercase;
}

.page-card {
  border-radius: 30px;
  padding: 1.45rem;
}

.page-card.urgent {
  border-color: rgba(130, 35, 28, .24);
}

.page-actions {
  margin-top: 1.5rem;
  max-width: 680px;
}

.tenant-card .page-actions {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tenant-card .page-actions .action-button {
  width: 100%;
}

.safety-note {
  background: var(--et-sage);
  border-radius: 18px;
  margin-top: 1.35rem;
  padding: 1rem;
}

.safety-note p {
  margin-bottom: 0;
}

.eap-mobile-menu-button {
  display: none;
}

.eap-about-mobile-screen {
  display: grid;
  gap: 1.5rem;
}

.eap-about-intro {
  display: grid;
  gap: 1rem;
}

.eap-about-copy h1 {
  color: var(--tenant-primary, var(--et-emerald));
  font-size: clamp(2.6rem, 11vw, 4rem);
  line-height: .98;
  margin-bottom: .8rem;
}

.eap-about-rule {
  background: #1a9f68;
  border-radius: 999px;
  display: block;
  height: 5px;
  margin: 0 0 1.25rem;
  width: 48px;
}

.eap-about-copy p {
  color: #322d29;
  font-size: 1rem;
  line-height: 1.48;
  margin: 0 0 1rem;
}

.eap-about-door {
  background:
    linear-gradient(90deg, rgba(8, 43, 31, .12), rgba(8, 43, 31, 0)),
    url("/assets/eap-about-door.jpg") 52% 60% / 290% auto no-repeat;
  border-radius: 12px;
  min-height: 340px;
}

.eap-about-team-photo {
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(8, 43, 31, .1);
  width: 100%;
}

.eap-about-values {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.eap-about-values h2 {
  align-items: center;
  color: var(--tenant-primary, var(--et-emerald));
  display: inline-flex;
  font-size: clamp(2rem, 8vw, 2.9rem);
  gap: 1rem;
  justify-content: center;
  margin: 0;
}

.eap-about-values h2 span {
  background: currentColor;
  display: inline-block;
  height: 26px;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V11'/%3E%3Cpath d='M12 11c-5 0-8-3-8-8 5 0 8 3 8 8Z'/%3E%3Cpath d='M12 16c-4 0-6-2-6-5 4 0 6 2 6 5Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  width: 26px;
}

.eap-about-values h2 span:last-child {
  transform: scaleX(-1);
}

.eap-about-value-grid {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eap-about-value-grid article {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(15, 74, 47, .1);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(8, 43, 31, .07);
  display: grid;
  justify-items: center;
  min-height: 190px;
  padding: 1rem .7rem;
}

.eap-about-value-grid h3 {
  color: var(--tenant-primary, var(--et-emerald));
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.05;
  margin: .55rem 0 .25rem;
}

.eap-about-value-grid p {
  color: #3c3530;
  font-size: .88rem;
  line-height: 1.22;
  margin: 0;
}

.about-value-icon {
  align-items: center;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .55), transparent 34%),
    linear-gradient(135deg, var(--tenant-primary, var(--et-emerald)), #159d68);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.about-value-icon::before {
  background: currentColor;
  content: "";
  display: block;
  height: 32px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 32px;
}

.about-value-icon.heart,
.about-value-icon.path {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .55), transparent 34%),
    linear-gradient(135deg, #9bcf4c, #79b945);
}

.about-value-icon.lock::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 14v2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.about-value-icon.heart::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 13h2l2-8 3 12 2-4h2'/%3E%3Cpath d='M5.5 15.5 12 22l6.5-6.5a4.5 4.5 0 0 0-6.5-6.2 4.5 4.5 0 0 0-6.5 6.2Z'/%3E%3C/g%3E%3C/svg%3E"); }
.about-value-icon.leaf::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V11'/%3E%3Cpath d='M12 11c-5 0-8-3-8-8 5 0 8 3 8 8Z'/%3E%3Cpath d='M12 12c5 0 8-3 8-8-5 0-8 3-8 8Z'/%3E%3C/g%3E%3C/svg%3E"); }
.about-value-icon.path::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V4'/%3E%3Cpath d='m6 10 6-6 6 6'/%3E%3Cpath d='M12 14 7 9'/%3E%3Cpath d='m12 14 5-5'/%3E%3C/g%3E%3C/svg%3E"); }
.about-value-icon.manager::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M12 12v2M9 12h6'/%3E%3C/g%3E%3C/svg%3E"); }

.eap-about-cta {
  align-items: center;
  background: linear-gradient(135deg, var(--tenant-primary, var(--et-emerald)), #08784f);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(8, 43, 31, .18);
  color: white;
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 900;
  gap: .8rem;
  justify-self: center;
  min-height: 58px;
  padding: 0 2.7rem;
  text-decoration: none;
}

.eap-about-privacy-card {
  background: rgba(255, 250, 240, .88);
  border: 1px solid rgba(15, 74, 47, .1);
  border-radius: 20px;
  padding: 1.2rem;
}

.eap-about-privacy-card h2 {
  font-size: 2rem;
}

.tenant-card {
  background:
    radial-gradient(circle at 90% 10%, var(--tenant-accent, #c9de72), transparent 14rem),
    rgba(255, 250, 240, .9);
}

.tenant-card.inactive {
  border-color: rgba(123, 78, 52, .28);
}

.tenant-domain-note {
  color: rgba(38, 49, 45, .62);
  font-size: .84rem;
  margin-top: 1rem;
}

.fake-login-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.fake-login-form label {
  color: var(--et-deep);
  display: grid;
  font-weight: 850;
  gap: .45rem;
}

.fake-login-form select {
  background: white;
  border: 1px solid rgba(15, 74, 47, .18);
  border-radius: 16px;
  color: var(--et-ink);
  font: inherit;
  min-height: 54px;
  padding: 0 .9rem;
}

.fake-login-form input,
.fake-login-form textarea {
  background: white;
  border: 1px solid rgba(15, 74, 47, .18);
  border-radius: 16px;
  color: var(--et-ink);
  font: inherit;
  min-height: 54px;
  padding: .85rem .9rem;
}

.fake-login-form textarea {
  min-height: 132px;
  resize: vertical;
}

.checkbox-line {
  align-items: center;
  display: flex !important;
  flex-direction: row;
  gap: .75rem !important;
}

.checkbox-line input {
  min-height: 24px;
  width: 24px;
}

.tenant-preview,
.tenant-user-banner,
.dashboard-metrics article {
  background: rgba(255, 250, 240, .78);
  border: 1px solid rgba(15, 74, 47, .12);
  border-radius: 20px;
  padding: 1rem;
}

.tenant-preview {
  margin-top: 1.35rem;
}

.tenant-preview strong,
.tenant-user-banner strong,
.dashboard-metrics strong {
  color: var(--tenant-primary, var(--et-emerald));
}

.tenant-user-banner {
  align-items: center;
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.tenant-user-banner span,
.dashboard-metrics span {
  color: var(--et-muted);
  display: block;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tenant-user-banner p {
  margin: .25rem 0 0;
}

.dashboard-metrics {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.governance-list {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.35rem 0 0;
}

.governance-list div {
  background: rgba(234, 242, 223, .72);
  border-radius: 16px;
  padding: .8rem;
}

.governance-list dt {
  color: var(--et-muted);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.governance-list dd {
  color: var(--et-deep);
  font-weight: 800;
  margin: .2rem 0 0;
}

.bottom-nav {
  background: rgba(255, 255, 252, .96);
  border-top: 1px solid rgba(15, 74, 47, .12);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  left: 0;
  min-height: 72px;
  position: fixed;
  right: 0;
  z-index: 20;
}

.bottom-nav a {
  align-items: center;
  color: var(--et-muted);
  display: grid;
  font-size: .76rem;
  font-weight: 800;
  justify-items: center;
  padding: .6rem;
  text-decoration: none;
}

.bottom-nav span {
  color: var(--et-emerald);
  font-size: .72rem;
}

.bottom-nav a.primary span {
  align-items: center;
  background: linear-gradient(135deg, var(--tenant-primary, var(--et-emerald)), #006044);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 74, 47, .24);
  color: white;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  margin-top: -32px;
  width: 56px;
}

.bottom-nav a.active {
  color: var(--tenant-primary, var(--et-emerald));
}

.bottom-nav a.active span {
  font-weight: 900;
}

.mobile-hub-brand {
  align-items: center;
  display: flex;
  gap: .75rem;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
}

.mobile-hub-brand img {
  height: 58px;
  width: 58px;
}

.mobile-hub-brand strong {
  color: var(--et-deep);
  display: block;
  font-size: 1.05rem;
  letter-spacing: .16em;
  line-height: 1.05;
}

.mobile-hub-brand small {
  color: #78624b;
  display: block;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .22em;
  margin-top: .2rem;
}

.wellbeing-desktop {
  display: grid;
  gap: 1.5rem;
}

.library-hero,
.library-section,
.insights-card,
.confidential-card,
.library-resource-card,
.library-topic-card {
  background: color-mix(in srgb, var(--eap-surface) 86%, transparent);
  border: 1px solid var(--eap-border);
  box-shadow: 0 12px 38px rgba(8, 43, 31, .07);
}

.library-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 252, .96) 0%, rgba(255, 255, 252, .86) 48%, rgba(255, 255, 252, .58) 100%),
    url("/assets/eap-room-hero.png") center / cover no-repeat;
  border-radius: 28px;
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: 1.4rem;
  position: relative;
}

.library-hero h1 {
  font-size: clamp(3rem, 12vw, 4.5rem);
}

.library-book-button {
  align-items: center;
  background: linear-gradient(135deg, var(--eap-primary), var(--eap-primary-strong));
  border-radius: 10px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  gap: 1rem;
  margin-top: 1rem;
  min-height: 58px;
  padding: 0 1.2rem;
  text-decoration: none;
}

.library-book-button span {
  align-items: center;
  display: inline-flex;
  font-size: 0;
  justify-content: center;
}

.library-book-button span::before {
  content: "\1F4C5";
  font-size: 1.35rem;
  line-height: 1;
}

.library-hero-art {
  background:
    radial-gradient(circle at 72% 82%, rgba(15, 74, 47, .08), transparent 7rem),
    radial-gradient(circle at 42% 86%, rgba(15, 74, 47, .06), transparent 6rem),
    linear-gradient(135deg, rgba(15, 74, 47, .04), rgba(201, 222, 114, .1));
  border-radius: 28px;
  min-height: 180px;
  overflow: hidden;
  position: relative;
}

.library-hero-art::before,
.library-hero-art::after {
  content: "";
  position: absolute;
}

.library-hero-art::before {
  background:
    radial-gradient(ellipse at center, rgba(15, 74, 47, .1) 0 48%, transparent 50%),
    radial-gradient(ellipse at center, rgba(15, 74, 47, .09) 0 48%, transparent 50%),
    radial-gradient(ellipse at center, rgba(15, 74, 47, .08) 0 48%, transparent 50%),
    radial-gradient(ellipse at center, rgba(15, 74, 47, .075) 0 48%, transparent 50%);
  background-position: 22px 34px, 118px 74px, 198px 18px, 250px 112px;
  background-repeat: no-repeat;
  background-size: 142px 76px, 128px 70px, 150px 82px, 118px 66px;
  height: 270px;
  opacity: .9;
  right: -36px;
  top: -28px;
  transform: rotate(-18deg);
  width: 390px;
}

.library-hero-art::after {
  border: solid rgba(15, 74, 47, .13);
  border-width: 0 0 18px 18px;
  border-radius: 0 0 0 120px;
  height: 220px;
  right: 62px;
  top: 36px;
  transform: rotate(18deg);
  width: 150px;
}

.library-section {
  border-radius: 24px;
  padding: 1.2rem;
}

.library-section h2,
.library-lower-grid h2 {
  color: var(--eap-ink);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.library-topic-grid,
.library-resource-grid {
  display: grid;
  gap: 1rem;
}

.library-topic-card,
.library-resource-card {
  border-radius: 16px;
  color: var(--eap-ink);
  display: grid;
  gap: .8rem;
  min-height: 190px;
  padding: 1.1rem;
  text-decoration: none;
}

.library-topic-card .topic-image {
  border-radius: 8px;
  display: block;
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.library-topic-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.08;
}

.library-topic-card p,
.library-resource-card p,
.confidential-card p {
  font-size: .92rem;
  margin: 0;
}

.library-topic-card em,
.library-resource-card em,
.insights-card em,
.confidential-card a {
  color: var(--eap-primary);
  font-style: normal;
  font-weight: 900;
}

.library-topic-card .eap-card-arrow-icon {
  align-items: center;
  background: var(--eap-accent-soft);
  border-radius: 999px;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.topic-icon {
  align-items: center;
  background: radial-gradient(circle at 32% 20%, rgba(255, 255, 255, .72), transparent 36%), var(--eap-primary);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 0;
  font-weight: 900;
  height: 74px;
  justify-content: center;
  width: 74px;
}

.topic-icon::before {
  background: currentColor;
  content: "";
  display: block;
  height: 34px;
  width: 34px;
}

.topic-icon.sleep::before {
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M20.5 14.5A8.5 8.5 0 0 1 9.5 3.5 7.5 7.5 0 1 0 20.5 14.5Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' d='M17.5 4.5v5M15 7h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.topic-icon.alcohol::before {
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2h4v4l2 3v11a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V9l2-3V2Z'/%3E%3Cpath d='M9 12h6M9 17h6M10 6h4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.topic-icon.vaping::before {
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 20 8-16 3 1.5-8 16L8 20Z'/%3E%3Cpath d='m14 8 3 1.5M11.5 13 14.5 14.5M7 20l-2 2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.topic-icon.manager::before {
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16M8 14h.01M12 14h.01M16 14h.01M8 17h.01M12 17h.01'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.topic-icon.leaf::before {
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V11'/%3E%3Cpath d='M12 11c-5 0-8-3-8-8 5 0 8 3 8 8Z'/%3E%3Cpath d='M12 12c5 0 8-3 8-8-5 0-8 3-8 8Z'/%3E%3Cpath d='M12 16c-4 0-6-2-6-5 4 0 6 2 6 5Z'/%3E%3Cpath d='M12 16c4 0 6-2 6-5-4 0-6 2-6 5Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.topic-icon.people,
.topic-icon.neutral {
  color: var(--eap-ink);
}

.topic-icon.people::before,
.topic-icon.neutral::before {
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M4 20v-1a5 5 0 0 1 10 0v1'/%3E%3Cpath d='M16 11a2.5 2.5 0 1 0 0-5'/%3E%3Cpath d='M17 20v-1a4 4 0 0 0-2-3.5'/%3E%3Cpath d='M12 13.5 14 16l3-4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.topic-icon.soft::before {
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18V9a6 6 0 0 1 12 0v9'/%3E%3Crect x='3' y='13' width='4' height='7' rx='2'/%3E%3Crect x='17' y='13' width='4' height='7' rx='2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.topic-icon.alcohol,
.topic-icon.leaf {
  background-color: color-mix(in srgb, var(--eap-primary) 62%, var(--eap-accent));
}

.topic-icon.vaping,
.topic-icon.people {
  background-color: color-mix(in srgb, var(--eap-primary) 42%, var(--eap-accent));
}

.topic-icon.manager,
.topic-icon.neutral {
  background-color: var(--eap-accent-soft);
  color: var(--eap-ink);
}

.topic-icon.soft {
  background-color: var(--eap-primary-soft);
  color: var(--eap-primary);
}

.library-lower-grid {
  display: grid;
  gap: 1rem;
}

.library-resource-card {
  align-items: center;
  grid-template-columns: auto 1fr;
  min-height: 150px;
}

.library-resource-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
  margin-bottom: .35rem;
}

.library-side-panel {
  display: grid;
  gap: 1rem;
}

.insights-card,
.confidential-card {
  border-radius: 18px;
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.insights-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.insight-row {
  align-items: center;
  display: grid;
  gap: .8rem;
  grid-template-columns: auto 1fr;
}

.insight-row .topic-icon {
  height: 56px;
  width: 56px;
}

.insight-row small {
  color: var(--et-deep);
  display: block;
  font-weight: 800;
}

.insight-row strong {
  color: var(--tenant-primary, var(--et-emerald));
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  line-height: 1;
}

.insights-card > a {
  border: 1px solid rgba(15, 74, 47, .16);
  border-radius: 10px;
  color: var(--tenant-primary, var(--et-emerald));
  font-weight: 900;
  min-height: 44px;
  padding: .7rem;
  text-align: center;
  text-decoration: none;
}

.confidential-card {
  align-items: center;
  grid-template-columns: auto 1fr;
}

.confidential-card strong {
  color: var(--et-deep);
}

.eap-booking-page {
  display: grid;
  gap: 1rem;
}

.booking-hero-card,
.booking-info-card,
.booking-action-card,
.booking-steps-section,
.booking-steps-grid article {
  background: rgba(255, 255, 252, .88);
  border: 1px solid rgba(15, 74, 47, .12);
  box-shadow: 0 12px 38px rgba(8, 43, 31, .07);
}

.booking-hero-card {
  border-radius: 24px;
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: 1.35rem;
}

.booking-hero-card h1 {
  font-size: clamp(3.1rem, 13vw, 5rem);
}

.booking-hero-card .lead {
  max-width: 760px;
}

.booking-hero-art {
  background:
    radial-gradient(circle at 72% 82%, rgba(15, 74, 47, .08), transparent 7rem),
    linear-gradient(135deg, rgba(15, 74, 47, .04), rgba(201, 222, 114, .12));
  border-radius: 22px;
  min-height: 150px;
  overflow: hidden;
  position: relative;
}

.booking-hero-art::before {
  background:
    radial-gradient(ellipse at center, rgba(15, 74, 47, .1) 0 48%, transparent 50%),
    radial-gradient(ellipse at center, rgba(15, 74, 47, .08) 0 48%, transparent 50%),
    radial-gradient(ellipse at center, rgba(15, 74, 47, .075) 0 48%, transparent 50%);
  background-position: 18px 30px, 110px 78px, 190px 22px;
  background-repeat: no-repeat;
  background-size: 138px 74px, 126px 70px, 148px 80px;
  content: "";
  height: 220px;
  opacity: .9;
  position: absolute;
  right: -38px;
  top: -26px;
  transform: rotate(-18deg);
  width: 330px;
}

.booking-layout {
  display: grid;
  gap: 1rem;
}

.booking-info-card,
.booking-action-card,
.booking-steps-section {
  border-radius: 22px;
  padding: 1.2rem;
}

.booking-info-card h2,
.booking-action-card h2,
.booking-steps-section h2 {
  color: var(--et-deep);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 900;
}

.booking-note-list {
  display: grid;
  gap: .8rem;
}

.booking-note-list div {
  background: rgba(234, 242, 223, .46);
  border-radius: 16px;
  display: grid;
  gap: .9rem;
  grid-template-columns: auto 1fr;
  padding: 1rem;
}

.booking-note-icon {
  align-items: center;
  background: rgba(201, 222, 114, .28);
  border-radius: 999px;
  color: var(--tenant-primary, var(--et-emerald));
  display: inline-flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.booking-note-icon::before {
  background: currentColor;
  content: "";
  display: block;
  height: 25px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 25px;
}

.booking-note-icon.icon-email::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='6' width='16' height='12' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m5 8 7 5 7-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.booking-note-icon.icon-people::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M4 20v-1a5 5 0 0 1 10 0v1'/%3E%3Cpath d='M16 11a2.5 2.5 0 1 0 0-5'/%3E%3Cpath d='M17 20v-1a4 4 0 0 0-2-3.5'/%3E%3C/g%3E%3C/svg%3E"); }
.booking-note-icon.icon-phone::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4h3l1.5 4-2 1.2a11 11 0 0 0 5.3 5.3l1.2-2 4 1.5v3a3 3 0 0 1-3.3 3A15 15 0 0 1 4 7.3 3 3 0 0 1 7 4Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.booking-note-icon.icon-form::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 3h8l3 3v15H7V3Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M14 3v4h4M9.5 11h5M9.5 15h5M9.5 18h3' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.booking-note-icon.icon-location::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.5 7-12A7 7 0 0 0 5 9c0 6.5 7 12 7 12Z' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='9' r='2.3' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E"); }

.booking-note-list strong,
.booking-action-card strong {
  color: var(--et-deep);
}

.booking-note-list p,
.booking-action-card p {
  margin: .25rem 0 0;
}

.booking-action-card {
  align-content: start;
  display: grid;
  gap: 1rem;
}

.booking-action-card .action-button {
  min-height: 54px;
}

.booking-steps-grid {
  display: grid;
  gap: 1rem;
}

.booking-steps-grid article {
  border-radius: 18px;
  display: grid;
  gap: .75rem;
  padding: 1rem;
}

.booking-steps-grid span {
  align-items: center;
  background: var(--tenant-primary, var(--et-emerald));
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.booking-steps-grid p {
  margin: 0;
}

.crisis-page {
  display: grid;
  gap: 1.6rem;
}

.crisis-hero,
.crisis-resource-card {
  background: rgba(255, 250, 240, .9);
  border: 1px solid rgba(130, 35, 28, .18);
  box-shadow: 0 12px 38px rgba(8, 43, 31, .06);
}

.crisis-hero {
  border-radius: 28px;
  padding: 1.5rem;
}

.crisis-hero h1 {
  color: var(--tenant-primary, var(--et-emerald));
  font-size: clamp(3.1rem, 12vw, 5rem);
  max-width: 820px;
}

.crisis-hero p {
  max-width: 760px;
}

.crisis-resource-grid {
  display: grid;
  gap: 1rem;
}

.crisis-resource-card {
  border-radius: 18px;
  display: grid;
  min-height: 150px;
  padding: 1.2rem;
  text-decoration: none;
}

.crisis-resource-card span {
  color: var(--tenant-primary, var(--et-emerald));
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.crisis-resource-card strong {
  color: var(--et-deep);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  line-height: 1.05;
}

.crisis-resource-card p {
  margin: .35rem 0 0;
}

.category-hub-page {
  display: grid;
  gap: 1rem;
}

.category-hero {
  background:
    radial-gradient(circle at 90% 28%, rgba(15, 74, 47, .09), transparent 8rem),
    rgba(255, 255, 252, .78);
  border: 1px solid rgba(15, 74, 47, .1);
  border-radius: 24px;
  box-shadow: 0 12px 38px rgba(8, 43, 31, .06);
  min-height: 190px;
  overflow: hidden;
  padding: 1.1rem;
  position: relative;
}

.category-hero h1 {
  font-size: clamp(2.3rem, 11vw, 4.4rem);
  max-width: 720px;
}

.category-hero p:not(.eyebrow) {
  margin: 0;
}

.category-hero-art {
  background:
    radial-gradient(ellipse at center, rgba(15, 74, 47, .1) 0 48%, transparent 50%),
    radial-gradient(ellipse at center, rgba(15, 74, 47, .08) 0 48%, transparent 50%),
    radial-gradient(ellipse at center, rgba(15, 74, 47, .07) 0 48%, transparent 50%);
  background-position: 14px 24px, 104px 68px, 172px 18px;
  background-repeat: no-repeat;
  background-size: 130px 70px, 116px 64px, 132px 74px;
  height: 190px;
  opacity: .9;
  position: absolute;
  right: -54px;
  top: -32px;
  transform: rotate(-18deg);
  width: 310px;
}

.category-feature-card {
  background:
    linear-gradient(90deg, rgba(4, 45, 35, .86), rgba(4, 45, 35, .5)),
    url("/assets/content/sleep-recovery-web.svg");
  background-position: center;
  background-size: cover;
  border-radius: 14px;
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 150px;
  padding: 1rem;
}

.category-feature-card.alcohol-feature {
  background-image:
    linear-gradient(90deg, rgba(4, 45, 35, .86), rgba(4, 45, 35, .5)),
    url("/assets/content/alcohol-reduction-web.svg");
}

.category-feature-card.vaping-feature {
  background-image:
    linear-gradient(90deg, rgba(4, 45, 35, .86), rgba(4, 45, 35, .5)),
    url("/assets/content/vaping-reduction-web.svg");
}

.category-feature-card span,
.category-feature-card small {
  display: block;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.category-feature-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.05;
  margin-top: .3rem;
}

.category-feature-card p {
  color: rgba(255, 255, 255, .86);
  font-size: .92rem;
  margin: .35rem 0;
  max-width: 320px;
}

.category-feature-card button,
.category-feature-card a {
  align-self: center;
  background: white;
  border: 0;
  border-radius: 999px;
  color: var(--tenant-primary, var(--et-emerald));
  display: inline-flex;
  font-size: 0;
  height: 52px;
  justify-content: center;
  text-decoration: none;
  width: 52px;
}

.category-feature-card button::before,
.category-feature-card a::before {
  content: "\25B6";
  font-size: 1.15rem;
}

.category-strip-section {
  display: grid;
  gap: .75rem;
}

.category-section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.category-section-head h2 {
  color: var(--et-deep);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 900;
  margin: 0;
}

.category-section-head a {
  color: var(--tenant-primary, var(--et-emerald));
  font-size: .8rem;
  font-weight: 900;
  text-decoration: none;
}

.category-story-strip,
.category-tool-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-story-card,
.category-tool-card,
.category-article-row {
  background: rgba(255, 255, 252, .9);
  border: 1px solid rgba(15, 74, 47, .1);
  box-shadow: 0 10px 28px rgba(8, 43, 31, .06);
}

.category-story-card {
  background:
    linear-gradient(180deg, rgba(4, 45, 35, .06), rgba(4, 45, 35, .76)),
    url("/assets/content/sleep-recovery-mobile.svg");
  background-position: center;
  background-size: cover;
  border-radius: 12px;
  color: white;
  display: grid;
  min-height: 128px;
  padding: .65rem;
  position: relative;
}

.category-story-card button {
  align-items: center;
  background: rgba(255, 255, 255, .88);
  border: 0;
  border-radius: 999px;
  color: var(--tenant-primary, var(--et-emerald));
  display: inline-flex;
  font-size: 0;
  height: 30px;
  justify-content: center;
  justify-self: end;
  width: 30px;
}

.category-story-card button::before {
  content: "\25B6";
  font-size: .78rem;
}

.category-story-card strong {
  align-self: end;
  font-size: .78rem;
  line-height: 1.08;
}

.category-story-card small {
  font-size: .68rem;
}

.category-tool-card {
  border-radius: 12px;
  display: grid;
  gap: .5rem;
  justify-items: center;
  min-height: 124px;
  padding: .8rem .5rem;
  text-align: center;
}

.category-tool-card .topic-icon {
  height: 46px;
  width: 46px;
}

.category-tool-card strong {
  color: var(--et-deep);
  font-size: .8rem;
  line-height: 1.15;
}

.category-tool-card em {
  color: var(--tenant-primary, var(--et-emerald));
  font-style: normal;
  font-weight: 900;
}

.category-article-list {
  display: grid;
  gap: .75rem;
}

.category-article-row {
  align-items: center;
  border-radius: 14px;
  color: var(--et-deep);
  display: grid;
  gap: .85rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: .8rem;
  text-decoration: none;
}

.category-article-row .topic-icon {
  height: 48px;
  width: 48px;
}

.category-article-row strong {
  display: block;
  font-size: .95rem;
}

.category-article-row p {
  font-size: .8rem;
  line-height: 1.35;
  margin: .15rem 0 0;
}

.category-article-row em {
  color: var(--tenant-primary, var(--et-emerald));
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 979px) {
  body {
    background:
      radial-gradient(ellipse at 4% 10%, rgba(159, 185, 155, .16), transparent 12rem),
      radial-gradient(circle at 92% 10%, rgba(15, 74, 47, .1), transparent 11rem),
      linear-gradient(135deg, #fffdf8, #f1f5ec);
  }

  .mobile-app-header {
    display: none;
  }

  main {
    max-width: 430px;
    padding: 18px 18px 104px;
  }

  .wellbeing-desktop {
    gap: 1rem;
  }

  .library-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 252, .7) 0%, rgba(255, 255, 252, .72) 54%, rgba(255, 255, 252, .96) 100%),
      url("/assets/eap-room-hero.png") center bottom / cover no-repeat;
    border: 0;
    border-radius: 22px;
    box-shadow: none;
    min-height: 650px;
    padding: 2rem 0 1.1rem;
  }

  .library-hero-art {
    display: none;
  }

  .library-hero .eyebrow {
    display: none;
  }

  .library-hero h1 {
    color: var(--tenant-primary, var(--et-emerald));
    font-size: clamp(2.2rem, 10vw, 3.1rem);
    margin: 2rem 0 .9rem;
    max-width: 11ch;
  }

  .library-hero p {
    color: #18251f;
    font-size: 1rem;
    line-height: 1.45;
    margin: 0;
    max-width: 18rem;
  }

  .library-hero .library-book-button {
    display: none;
  }

  .mobile-hub-brand {
    justify-content: center;
    margin: .45rem auto 0;
    text-transform: none;
  }

  .mobile-hub-brand img {
    height: 64px;
    width: 64px;
  }

  .mobile-hub-brand span {
    align-items: center;
    display: grid;
    justify-items: center;
    position: relative;
  }

  .mobile-hub-brand strong {
    color: var(--tenant-primary, var(--et-emerald));
    font-family: var(--font-heading);
    font-size: 2.4rem;
    letter-spacing: 0;
    line-height: .82;
    text-transform: lowercase;
  }

  .mobile-hub-brand small {
    color: #6f543e;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: .08em;
    line-height: 1;
    margin-top: .35rem;
  }

  .mobile-eap-actions {
    display: grid;
    gap: .55rem;
    margin-top: 7.8rem;
  }

  .mobile-eap-actions .action-button {
    border-radius: 7px;
    min-height: 46px;
  }

  .mobile-privacy-card {
    align-items: center;
    display: grid;
    gap: .8rem;
    grid-template-columns: 54px 1fr;
    margin-top: .7rem;
  }

  .mobile-privacy-card img {
    height: 54px;
    width: 54px;
  }

  .mobile-privacy-card strong {
    color: var(--et-deep);
    font-size: .82rem;
  }

  .mobile-privacy-card p {
    color: var(--et-ink);
    font-size: .78rem;
    line-height: 1.25;
    margin: .1rem 0 0;
  }

  .mobile-hub-book {
    display: flex;
  }

  .library-section {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .library-section h2 {
    display: none;
  }

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

  .library-topic-card {
    border-radius: 12px;
    gap: .65rem;
    min-height: 0;
    padding: 1rem;
  }

  .eap-hub-page .library-topic-card:nth-child(4) {
    display: none;
  }

  .library-topic-card .topic-icon {
    height: 62px;
    width: 62px;
  }

  .library-topic-card strong {
    font-size: 1rem;
    line-height: 1.12;
  }

  .library-topic-card p {
    display: none;
  }

  .library-topic-card em {
    font-size: 1.2rem;
  }

  .library-lower-grid {
    gap: 1rem;
  }

  .library-resource-grid {
    grid-template-columns: 1fr;
  }

  .library-resource-card {
    border-radius: 12px;
    display: grid;
    gap: .7rem;
    grid-template-columns: 1fr;
    min-height: 156px;
    padding: 1rem;
  }

  .eap-hub-page .library-lower-grid {
    gap: 1rem;
  }

  .library-resource-card .topic-icon {
    height: 46px;
    width: 46px;
  }

  .library-resource-card strong {
    font-size: .92rem;
  }

  .library-resource-card p {
    font-size: .8rem;
    line-height: 1.35;
  }

  .library-book-button {
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    min-height: 44px;
    margin: .1rem 0 .35rem;
    padding: 0 .9rem;
    width: 100%;
  }

  .library-book-button span::before {
    font-size: 1.05rem;
  }


  .library-side-panel {
    display: block;
  }

  .insights-card {
    display: none;
  }

  .confidential-card {
    border-radius: 14px;
    grid-template-columns: auto 1fr;
    padding: .85rem;
  }

  .confidential-card .trust-icon {
    height: 52px;
    width: 52px;
  }

  .confidential-card p,
  .confidential-card a {
    display: none;
  }

  .library-all-resources {
    display: none;
  }

  .booking-hero-card {
    background:
      rgba(255, 255, 252, .01);
    border: 0;
    box-shadow: none;
    padding: .4rem 0 0;
  }

  .booking-hero-card .eyebrow,
  .booking-hero-card .lead {
    display: none;
  }

  .booking-hero-card h1 {
    font-family: var(--font-body);
    font-size: clamp(2.1rem, 9vw, 2.75rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
    margin-bottom: .25rem;
  }

  .booking-hero-card h1::after {
    color: var(--et-ink);
    content: "A quick guide to help you get started.";
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-top: .45rem;
  }

  .booking-hero-art {
    display: none;
  }

  .booking-action-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .booking-action-card .topic-icon,
  .booking-action-card h2,
  .booking-action-card p,
  .booking-action-card .action-button.outline {
    display: none;
  }

  .booking-action-card .action-button {
    border-radius: 7px;
    margin-top: .15rem;
    min-height: 46px;
  }

  .booking-action-card .action-button.accent {
    background: rgba(255, 255, 252, .72);
    border-color: rgba(15, 74, 47, .45);
    color: var(--tenant-primary, var(--et-emerald));
  }

  .booking-info-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .booking-info-card h2 {
    display: none;
  }

  .booking-note-list {
    gap: .55rem;
  }

  .booking-note-list div {
    background: rgba(255, 250, 240, .82);
    border-radius: 10px;
    gap: .9rem;
    padding: .75rem .8rem;
  }

  .booking-note-list strong {
    font-size: .95rem;
  }

  .booking-note-list p {
    color: #25312d;
    font-size: .9rem;
    line-height: 1.35;
  }

  .booking-note-icon {
    height: 46px;
    width: 46px;
  }

  .booking-steps-section {
    display: none;
  }

  .eap-access-card {
    background: rgba(255, 255, 252, .76);
    border: 0;
    box-shadow: none;
    margin-top: 0;
    padding: 1.2rem 0 0;
    text-align: center;
  }

  .access-logo {
    border: 3px solid #76563f;
    border-radius: 999px;
    height: 92px;
    margin: 0 auto 1.1rem;
    padding: .3rem;
    width: 92px;
  }

  .eap-access-card h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.05;
    margin-inline: auto;
    max-width: 12ch;
  }

  .eap-access-card > p {
    color: #25312d;
    line-height: 1.35;
    margin-inline: auto;
    max-width: 20rem;
  }

  .eap-access-card .fake-login-form {
    gap: .85rem;
    margin-top: 1.35rem;
    text-align: left;
  }

  .eap-access-card .fake-login-form input {
    border-radius: 6px;
    min-height: 42px;
  }

  .eap-access-card .action-button {
    border-radius: 7px;
    min-height: 46px;
    width: 100%;
  }

  .login-divider {
    align-items: center;
    color: var(--et-muted);
    display: grid;
    font-size: .82rem;
    gap: .7rem;
    grid-template-columns: 1fr auto 1fr;
    margin: 1.1rem 0;
  }

  .login-divider::before,
  .login-divider::after {
    background: rgba(15, 74, 47, .18);
    content: "";
    height: 1px;
  }

  .access-note {
    align-items: start;
    background: rgba(234, 231, 215, .72);
    border-radius: 12px;
    color: var(--et-deep);
    display: grid;
    gap: .65rem;
    grid-template-columns: auto 1fr;
    margin-top: 1.6rem;
    padding: .85rem;
    text-align: left;
  }

  .access-note p {
    color: #25312d;
    font-size: .84rem;
    line-height: 1.35;
    margin: 0;
  }

  .crisis-hero {
    background:
      radial-gradient(circle at 92% 16%, rgba(130, 35, 28, .08), transparent 8rem),
      rgba(255, 250, 240, .78);
    border-radius: 22px;
    padding: 1.2rem;
  }
}

@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .phone-shell {
    max-width: 980px;
  }

  .hero-photo {
    min-height: 340px;
  }

  .home-panel {
    padding-inline: 48px;
  }

  .action-stack {
    max-width: 520px;
  }

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

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

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

  .tenant-user-banner {
    grid-template-columns: 1fr auto;
  }

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

  .page-card {
    padding: 2.2rem;
  }

  .bottom-nav {
    border: 1px solid rgba(15, 74, 47, .12);
    border-radius: 999px;
    bottom: 18px;
    left: 50%;
    min-height: 64px;
    overflow: hidden;
    right: auto;
    transform: translateX(-50%);
    width: min(620px, calc(100vw - 40px));
  }
}

@media (min-width: 980px) {
  body {
    background: #fbfcf8;
    padding: 0;
  }

  .mobile-app-header,
  .bottom-nav {
    display: none;
  }

  .desktop-copy {
    display: initial;
  }

  .mobile-copy,
  .mobile-hub-brand,
  .mobile-only-tile,
  .mobile-hub-book {
    display: none;
  }

  .eap-app-shell {
    background: #fbfcf8;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    margin: 0;
    max-width: none;
    min-height: 100vh;
    overflow: visible;
    width: 100%;
  }

  .eap-sidebar {
    background: #fff;
    border-right: 1px solid rgba(15, 74, 47, .12);
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    padding: 30px 20px 24px;
  }

  .eap-sidebar-brand {
    align-items: center;
    color: var(--et-deep);
    display: flex;
    gap: .8rem;
    text-decoration: none;
    text-transform: uppercase;
  }

  .eap-sidebar-brand img {
    height: 58px;
    object-fit: contain;
    width: 154px;
  }

  .eap-sidebar-brand span {
    display: none;
  }

  .eap-sidebar-brand strong {
    display: block;
    font-size: 1.18rem;
    letter-spacing: .16em;
    line-height: 1.05;
  }

  .eap-sidebar-brand small {
    color: #78624b;
    display: block;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .22em;
    margin-top: .2rem;
  }

  .eap-sidebar-nav {
    display: grid;
    gap: .55rem;
  }

  .eap-sidebar-nav a {
    align-items: center;
    border-radius: 7px;
    color: #33423e;
    display: grid;
    gap: .85rem;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    font-weight: 750;
    min-height: 46px;
    padding: 0 .9rem;
    text-decoration: none;
  }

  .eap-sidebar-nav a:hover {
    background: rgba(15, 74, 47, .055);
  }

  .eap-sidebar-nav a.active {
    background: linear-gradient(135deg, var(--tenant-primary, var(--et-emerald)), #006044);
    box-shadow: 0 14px 28px rgba(15, 74, 47, .18);
    color: white;
  }

  .sidebar-icon {
    background: currentColor;
    display: inline-block;
    height: 19px;
    justify-self: center;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    opacity: .92;
    width: 19px;
  }

  .icon-home {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11.4 12 4l8 7.4V20a1 1 0 0 1-1 1h-5v-6h-4v6H5a1 1 0 0 1-1-1v-8.6Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .icon-book {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 5.5A2.5 2.5 0 0 1 7 3h12v16H7a2.5 2.5 0 0 0-2.5 2V5.5Zm0 0A2.5 2.5 0 0 1 7 8h12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .icon-calendar {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='5' width='16' height='15' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  .icon-chat {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 11.5a7.5 7.5 0 0 1-10.9 6.7L4 20l1.8-4.5A7.5 7.5 0 1 1 20 11.5Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .icon-user {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='7.5' r='3.2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  .icon-report {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 20V5h5l2 3h5v12H6Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M9 17v-4M12 17v-7M15 17v-3' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  .icon-resource {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='4' width='12' height='16' rx='1.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  .icon-bell {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 9a6 6 0 1 0-12 0c0 7-2 7-2 9h16c0-2-2-2-2-9Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M10 21h4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  .icon-settings {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 8.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Z' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m19 13.5 1.2 1-2 3.5-1.5-.6a7 7 0 0 1-1.8 1l-.2 1.6h-4l-.2-1.6a7 7 0 0 1-1.8-1l-1.5.6-2-3.5 1.2-1a7 7 0 0 1 0-2l-1.2-1 2-3.5 1.5.6a7 7 0 0 1 1.8-1l.2-1.6h4l.2 1.6a7 7 0 0 1 1.8 1l1.5-.6 2 3.5-1.2 1a7 7 0 0 1 0 2Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .sidebar-badge {
    align-items: center;
    background: var(--tenant-primary, var(--et-emerald));
    border-radius: 999px;
    color: white;
    display: inline-flex;
    font-size: .65rem;
    height: 18px;
    justify-content: center;
    line-height: 1;
    min-width: 18px;
    padding: 0 .2rem;
  }

  .eap-sidebar-nav a.active .sidebar-badge {
    background: rgba(255, 255, 255, .2);
  }

  .eap-sidebar-trust {
    background: linear-gradient(135deg, rgba(15, 74, 47, .08), rgba(234, 242, 223, .7));
    border: 1px solid rgba(15, 74, 47, .12);
    border-radius: 14px;
    display: grid;
    gap: .8rem;
    margin-top: auto;
    padding: 1.4rem;
  }

  .eap-sidebar-trust strong {
    color: var(--et-deep);
    font-size: 1.12rem;
    line-height: 1.25;
  }

  .eap-sidebar-trust p {
    margin: 0;
  }

  .eap-sidebar-trust a {
    color: var(--tenant-primary, var(--et-emerald));
    font-weight: 900;
    text-decoration: none;
  }

  .eap-workspace {
    display: grid;
    grid-template-rows: 92px 1fr;
    min-width: 0;
  }

  .eap-topbar {
    align-items: center;
    background: rgba(255, 255, 255, .72);
    border-bottom: 1px solid rgba(15, 74, 47, .12);
    display: flex;
    justify-content: space-between;
    padding: 0 2.8rem;
  }

  .eap-topbar-search {
    max-width: 440px;
    width: 46%;
  }

  .eap-topbar-search label {
    align-items: center;
    background: rgba(255, 250, 240, .85);
    border: 1px solid rgba(15, 74, 47, .14);
    border-radius: 999px;
    display: grid;
    gap: .75rem;
    grid-template-columns: auto 1fr;
    min-height: 46px;
    padding: 0 .9rem;
  }

  .eap-topbar-search span {
    color: var(--tenant-primary, var(--et-emerald));
    font-size: .78rem;
    font-weight: 900;
  }

  .eap-topbar-search input {
    background: transparent;
    border: 0;
    color: var(--et-ink);
    font: inherit;
    font-size: .9rem;
    min-width: 0;
    outline: 0;
  }

  .eap-topbar-actions {
    align-items: center;
    display: flex;
    gap: 1.25rem;
  }

  .eap-bell,
  .eap-profile {
    align-items: center;
    color: var(--et-deep);
    display: inline-flex;
    font-weight: 850;
    gap: .6rem;
    text-decoration: none;
  }

  .eap-bell {
    position: relative;
  }

  .eap-bell span {
    align-items: center;
    background: var(--tenant-primary, var(--et-emerald));
    border-radius: 999px;
    color: white;
    display: inline-flex;
    font-size: .68rem;
    height: 18px;
    justify-content: center;
    position: absolute;
    right: -10px;
    top: -10px;
    width: 18px;
  }

  .eap-avatar {
    align-items: center;
    background: #e8ddd1;
    border-radius: 999px;
    color: var(--tenant-primary, var(--et-emerald));
    display: inline-flex;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    width: 38px;
  }

  .eap-avatar-anon {
    background: rgba(15, 74, 47, .1);
  }

  .eap-avatar-anon .button-icon {
    height: 20px;
    width: 20px;
  }

  main {
    margin: 0;
    max-width: none;
    overflow: auto;
    padding: 0;
  }

  .wellbeing-desktop {
    gap: 0;
  }

  .library-hero {
    background:
      linear-gradient(90deg, rgba(255, 255, 252, .97) 0%, rgba(255, 255, 252, .88) 48%, rgba(255, 255, 252, .55) 100%),
      url("/assets/eap-room-hero.png") center / cover no-repeat;
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
    grid-template-columns: minmax(0, 1fr);
    min-height: 380px;
    padding: 62px 50px 44px;
  }

  .library-hero h1 {
    font-size: 3.85rem;
  }

  .library-hero p {
    max-width: 540px;
  }

  .library-hero-art {
    display: none;
  }

  .library-section {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 34px 50px 0;
  }

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

  .library-topic-card {
    min-height: 270px;
    padding: 1.5rem;
  }

  .library-lower-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    padding: 24px 50px 36px;
  }

  .library-lower-grid > .library-section {
    padding: 0;
  }

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

  .library-side-panel {
    align-self: start;
  }

  .library-all-resources {
    padding-bottom: 46px;
  }

  .eap-booking-page {
    padding: 0 50px 46px;
  }

  .booking-hero-card {
    border-radius: 0 0 28px 28px;
    border-width: 0 0 1px;
    box-shadow: none;
    grid-template-columns: minmax(0, 1fr) 300px;
    margin: 0 -50px;
    min-height: 330px;
    padding: 60px 50px 42px;
  }

  .booking-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

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

  .crisis-page {
    padding: 0 50px 46px;
  }

  .crisis-hero {
    border-radius: 0 0 28px 28px;
    margin: 0 -50px;
    min-height: 360px;
    padding: 52px 50px 42px;
  }

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

  .category-hub-page {
    padding: 0 50px 46px;
  }

  .category-hero {
    border-radius: 0 0 28px 28px;
    margin: 0 -50px;
    min-height: 300px;
    padding: 52px 50px 42px;
  }

  .category-hero-art {
    right: 42px;
    top: 10px;
  }

  .category-feature-card {
    min-height: 210px;
    padding: 1.4rem;
  }

  .category-story-strip,
  .category-tool-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 980px) {
  body {
    background:
      radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--eap-accent) 18%, transparent), transparent 18rem),
      radial-gradient(ellipse at 100% 100%, color-mix(in srgb, var(--eap-primary) 12%, transparent), transparent 20rem),
      var(--eap-bg);
    min-height: 100vh;
    padding: 0 0 62px;
  }

  .eap-web-header {
    align-items: center;
    background: color-mix(in srgb, var(--eap-surface) 90%, transparent);
    border: 1px solid var(--eap-border);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 18px 50px rgba(8, 43, 31, .08);
    display: flex;
    gap: 2rem;
    margin: 34px auto 0;
    max-width: min(1180px, calc(100vw - 64px));
    padding: 20px 34px 12px;
  }

  .eap-web-header .brand {
    flex: 0 0 auto;
    gap: .65rem;
  }

  .eap-web-header .brand img {
    height: 54px;
    width: 54px;
  }

  .eap-web-header .brand strong {
    color: var(--eap-primary);
    font-family: var(--font-heading);
    font-size: 2.15rem;
    letter-spacing: 0;
    line-height: .86;
    text-transform: lowercase;
  }

  .eap-web-header .brand small {
    color: #7b4e34;
    font-size: .72rem;
    letter-spacing: .02em;
    margin-top: .18rem;
    text-transform: none;
  }

  .eap-header-user {
    align-items: center;
    color: var(--eap-ink);
    display: inline-flex;
    flex: 0 1 auto;
    font-weight: 900;
    gap: .6rem;
    min-width: 0;
  }

  .eap-header-tenant-brand {
    align-items: center;
    border-left: 1px solid var(--eap-border);
    color: var(--eap-ink);
    display: inline-flex;
    flex: 0 1 auto;
    font-weight: 900;
    gap: .65rem;
    min-width: 0;
    padding-left: 1rem;
  }

  .eap-header-tenant-brand img,
  .eap-header-tenant-fallback {
    border: 1px solid var(--eap-border);
    border-radius: 12px;
    flex: 0 0 auto;
    height: 42px;
    width: 42px;
  }

  .eap-header-tenant-brand img {
    background: white;
    object-fit: contain;
    padding: .25rem;
  }

  .eap-header-tenant-fallback {
    align-items: center;
    background: var(--eap-accent-soft);
    color: var(--eap-primary);
    display: inline-flex;
    font-weight: 950;
    justify-content: center;
  }

  .eap-header-tenant-brand strong {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .eap-header-user strong {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .eap-web-header .top-actions {
    display: flex;
    flex: 1 1 auto;
    gap: clamp(1rem, 2.1vw, 2rem);
    justify-content: flex-end;
  }

  .eap-web-header .small-link {
    color: var(--eap-ink);
    font-size: .88rem;
    font-weight: 800;
    min-height: 38px;
    padding-top: .55rem;
    position: relative;
  }

  .eap-web-header .small-link.active::after {
    background: var(--eap-primary);
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
  }

  .eap-web-header .login-link {
    align-items: center;
    background: linear-gradient(135deg, var(--eap-primary), var(--eap-primary-strong));
    border-radius: 7px;
    color: white;
    display: inline-flex;
    min-height: 38px;
    padding: 0 1.1rem;
  }

  .eap-web-header .login-link::after {
    display: none;
  }

  .eap-header-logout-form {
    margin: 0;
  }

  .eap-header-logout-icon {
    align-items: center;
    background: var(--eap-primary);
    border: 0;
    border-radius: 999px;
    color: white;
    cursor: pointer;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    width: 36px;
  }

  .eap-header-logout-icon .button-icon {
    height: 18px;
    width: 18px;
  }

  .eap-app-shell {
    background: transparent;
    display: block;
    margin: 0 auto;
    max-width: min(1180px, calc(100vw - 64px));
    min-height: 0;
    width: auto;
  }

  .eap-sidebar,
  .eap-topbar {
    display: none;
  }

  .eap-workspace {
    background: color-mix(in srgb, var(--eap-surface) 92%, transparent);
    border: 1px solid var(--eap-border);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 24px 60px rgba(8, 43, 31, .14);
    display: block;
    min-width: 0;
    overflow: hidden;
  }

  main {
    margin: 0;
    max-width: none;
    overflow: visible;
    padding: 0;
  }

  .wellbeing-desktop,
  .eap-booking-page {
    gap: 0;
  }

  .library-hero {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .94) 43%, rgba(255, 253, 248, .2) 70%),
      url("/assets/eap-room-hero.png") right center / 54% 100% no-repeat;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 570px;
    padding: 58px 64px;
  }

  .library-hero h1 {
    color: var(--tenant-primary, var(--et-emerald));
    font-family: var(--font-body);
    font-size: clamp(3.6rem, 5.2vw, 5.35rem);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.02;
    max-width: 520px;
  }

  .library-hero h1 .desktop-copy::after {
    color: var(--tenant-accent, #8dbc52);
    content: " today?";
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 700;
  }

  .library-hero p {
    color: #18251f;
    font-size: 1.24rem;
    line-height: 1.45;
    max-width: 480px;
  }

  .library-hero .eyebrow {
    display: none;
  }

  .library-hero .library-book-button {
    border-radius: 7px;
    display: flex;
    justify-content: center;
    max-width: 330px;
    min-height: 56px;
  }

  .library-hero .mobile-eap-actions {
    display: grid;
    gap: .85rem;
    margin-top: 1.1rem;
    max-width: 330px;
  }

  .library-hero .mobile-eap-actions .action-button {
    border-radius: 7px;
    min-height: 52px;
  }

  .library-hero .mobile-eap-actions .primary {
    display: none;
  }

  .mobile-privacy-card {
    align-items: center;
    background: rgba(255, 253, 248, .9);
    border: 1px solid rgba(20, 53, 41, .1);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(8, 43, 31, .1);
    display: grid;
    gap: 1rem;
    grid-template-columns: 64px 1fr;
    margin-top: 1.6rem;
    max-width: 410px;
    padding: 1.25rem;
  }

  .mobile-privacy-card img {
    height: 64px;
    width: 64px;
  }

  .mobile-privacy-card strong {
    color: var(--et-deep);
  }

  .mobile-privacy-card p {
    color: #25312d;
    font-size: .92rem;
    line-height: 1.35;
    margin: .15rem 0 0;
  }

  .library-hero-art,
  .library-section,
  .library-lower-grid,
  .library-all-resources {
    display: none;
  }

  .eap-content-page .eap-content-resources,
  .eap-content-page .eap-content-topics {
    display: block;
  }

  .booking-hero-card {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .95) 56%, rgba(255, 253, 248, .16) 74%),
      url("/assets/eap-room-hero.png") right center / 40% 100% no-repeat;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 220px;
    padding: 52px 64px 18px;
  }

  .booking-hero-card h1 {
    color: var(--tenant-primary, var(--et-emerald));
    font-family: var(--font-body);
    font-size: clamp(3rem, 4vw, 4.1rem);
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.05;
  }

  .booking-hero-card .lead {
    color: #18251f;
    font-size: 1.05rem;
    max-width: 460px;
  }

  .booking-hero-card .eyebrow,
  .booking-hero-art,
  .booking-action-card .topic-icon,
  .booking-action-card h2,
  .booking-action-card p,
  .booking-action-card .action-button.outline,
  .booking-steps-section {
    display: none;
  }

  .booking-layout {
    align-items: end;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 1fr) 360px;
    padding: 0 64px 38px;
  }

  .booking-info-card,
  .booking-action-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .booking-info-card h2 {
    display: none;
  }

  .booking-note-list {
    gap: .85rem;
    max-width: 580px;
  }

  .booking-note-list div {
    background: rgba(250, 246, 237, .92);
    border: 1px solid rgba(20, 53, 41, .08);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(8, 43, 31, .05);
    min-height: 78px;
    padding: .8rem 1rem;
  }

  .booking-action-card {
    align-self: end;
    grid-template-columns: 1fr 1fr;
  }

  .booking-action-card .action-button {
    border-radius: 7px;
    min-height: 52px;
  }

  .booking-action-card .action-button.primary {
    grid-column: span 1;
  }

  .booking-action-card .action-button.accent {
    background: rgba(255, 253, 248, .8);
    border-color: rgba(15, 74, 47, .5);
    color: var(--tenant-primary, var(--et-emerald));
  }

  .eap-access-card {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .96) 50%, rgba(245, 241, 229, .82) 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px) minmax(260px, 320px);
    margin: 0;
    max-width: none;
    min-height: 420px;
    padding: 58px 64px;
    text-align: left;
  }

  .eap-access-card::before {
    content: "Welcome to your workplace EAP";
    color: var(--tenant-primary, var(--et-emerald));
    font-family: var(--font-body);
    font-size: clamp(2.1rem, 3vw, 3.15rem);
    font-weight: 900;
    grid-column: 1;
    line-height: 1.05;
    max-width: 420px;
  }

  .eap-access-card::after {
    content: "Confidential support. Stronger together.";
    color: #8b5737;
    font-size: 1.1rem;
    font-weight: 900;
    grid-column: 1;
    grid-row: 2;
    margin-top: -1rem;
  }

  .access-logo,
  .eap-access-card > h1,
  .eap-access-card > p,
  .access-note {
    display: none;
  }

  .eap-access-card .fake-login-form,
  .eap-access-card > .action-button.outline,
  .eap-access-card .login-divider {
    grid-column: 2;
  }

  .eap-access-card .fake-login-form {
    align-self: center;
    background: rgba(255, 253, 248, .9);
    border: 1px solid rgba(20, 53, 41, .1);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(8, 43, 31, .08);
    gap: 1rem;
    margin: 0;
    padding: 2rem;
  }

  .eap-access-card .fake-login-form::before {
    content: "Log in to your portal";
    color: var(--tenant-primary, var(--et-emerald));
    font-size: 1.35rem;
    font-weight: 900;
    text-align: center;
  }

  .eap-access-card .fake-login-form input {
    border-radius: 7px;
    min-height: 50px;
  }

  .eap-access-card .fake-login-form .action-button {
    border-radius: 7px;
    min-height: 52px;
  }

  .eap-access-card .login-divider {
    align-self: end;
    margin: -3.8rem 2rem 0;
  }

  .eap-access-card > .action-button.outline {
    align-self: start;
    border-radius: 7px;
    margin: -2rem 2rem 0;
    min-height: 48px;
  }

  .eap-org-card {
    align-self: center;
    background: linear-gradient(135deg, rgba(234, 242, 223, .85), rgba(255, 253, 248, .94));
    border: 1px solid rgba(20, 53, 41, .1);
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(8, 43, 31, .08);
    color: #25312d;
    display: grid;
    gap: 1rem;
    font-weight: 700;
    grid-column: 3;
    line-height: 1.45;
    padding: 2rem;
  }

  .eap-org-card hr {
    border: 0;
    border-top: 1px solid rgba(20, 53, 41, .16);
    margin: .3rem 0;
    width: 100%;
  }

  .eap-org-card strong {
    color: var(--et-deep);
    font-size: 1.2rem;
  }

  .eap-org-card p {
    color: #25312d;
    margin: 0;
  }

  .eap-org-card .action-button {
    border-radius: 7px;
    min-height: 48px;
  }

  .eap-global-message-band {
    flex-wrap: nowrap;
    gap: clamp(1rem, 3vw, 2rem);
    margin: 0;
    padding: 1rem clamp(2rem, 5vw, 4rem);
  }

  .eap-global-message-band strong {
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  }

  .eap-global-message-band em {
    border-left: 1px solid rgba(255, 250, 240, .7);
    flex-basis: auto;
    font-size: clamp(1.3rem, 1.9vw, 1.7rem);
    padding-left: clamp(1rem, 3vw, 2rem);
  }

  .eap-web-footer {
    border-top: 1px solid rgba(20, 53, 41, .08);
    border-radius: 0;
    box-shadow: 0 12px 34px rgba(8, 43, 31, .08);
    font-size: .86rem;
    gap: 1.25rem;
    max-width: none;
    padding: .85rem 1rem;
  }
}
.invite-summary,
.people-list {
    display: grid;
    gap: 0.75rem;
}

.invite-summary {
    grid-template-columns: max-content 1fr;
}

.invite-summary dt {
    color: var(--muted);
}

.invite-summary dd {
    margin: 0;
    font-weight: 700;
}

.stacked-form {
    display: grid;
    gap: 1rem;
}

.stacked-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
}

.stacked-form input,
.stacked-form select,
.invite-url-field {
    width: 100%;
    border: 1px solid rgba(20, 53, 41, 0.18);
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
    color: var(--ink);
    background: #fff;
}

.people-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(20, 53, 41, 0.12);
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
}

.people-row span,
.people-row small {
    display: block;
    color: var(--muted);
}

.people-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.people-actions button {
    border: 1px solid rgba(20, 53, 41, 0.18);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    color: var(--ink);
    background: #fff;
    font-weight: 700;
}

@media (max-width: 760px) {
    .people-row {
        grid-template-columns: 1fr;
    }

    .people-actions {
        justify-content: flex-start;
    }
}

.eap-mobile-menu-button {
  display: none;
}

.eap-about-mobile-screen {
  background:
    radial-gradient(ellipse at 8% 8%, rgba(201, 222, 114, .13), transparent 15rem),
    linear-gradient(180deg, #fffdf7 0%, #fffaf0 100%);
  border: 1px solid rgba(15, 74, 47, .1);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(8, 43, 31, .08);
  margin: 0 auto;
  max-width: 940px;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.eap-about-intro {
  align-items: stretch;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .78fr);
}

.eap-about-copy {
  padding: .65rem 0 0;
}

.eap-about-copy h1 {
  color: var(--tenant-primary, var(--et-emerald));
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 5.4vw, 3.55rem);
  letter-spacing: 0;
  line-height: .98;
  margin: 0;
  max-width: 9.5ch;
}

.eap-about-rule {
  background: var(--tenant-primary, var(--et-emerald));
  border-radius: 999px;
  display: block;
  height: 5px;
  margin: 1.25rem 0 1.35rem;
  width: 58px;
}

.eap-about-copy p {
  color: #403a35;
  font-size: 1.04rem;
  line-height: 1.55;
  margin: 0 0 1.05rem;
  max-width: 40rem;
}

.eap-about-door {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, .05), rgba(255, 250, 240, 0)),
    url("/assets/eap-about-door.jpg");
  background-position: 49% 63%;
  background-repeat: no-repeat;
  background-size: 220%;
  border-radius: 18px;
  min-height: 420px;
}

.eap-about-team-photo {
  aspect-ratio: 16 / 6.8;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(8, 43, 31, .11);
  display: block;
  margin: 1.5rem 0 1.8rem;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.eap-about-values {
  margin-inline: auto;
  max-width: 940px;
  text-align: center;
}

.eap-about-values h2 {
  align-items: center;
  color: var(--tenant-primary, var(--et-emerald));
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  gap: 1rem;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 1.2rem;
}

.eap-about-values h2 span {
  background: #92bf54;
  display: inline-block;
  height: 26px;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M26 5C15 5 8 12 8 23c11 0 18-7 18-18ZM10 23 25 8' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 26px;
}

.eap-about-values h2 span:first-child {
  transform: scaleX(-1);
}

.eap-about-value-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eap-about-value-grid article {
  background: rgba(255, 255, 252, .9);
  border: 1px solid rgba(15, 74, 47, .1);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(8, 43, 31, .08);
  min-height: 220px;
  padding: 1rem .8rem 1.15rem;
}

.about-value-icon {
  align-items: center;
  background: linear-gradient(135deg, #00945f, #9ac84f);
  border-radius: 999px;
  display: inline-flex;
  height: 66px;
  justify-content: center;
  margin-bottom: .75rem;
  width: 66px;
}

.about-value-icon::before {
  background: #fff;
  content: "";
  display: block;
  height: 34px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 34px;
}

.about-value-icon.lock::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 14V9a7 7 0 0 1 14 0v5M7 14h18v14H7zM16 20v4' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.about-value-icon.heart::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 27S5 20 5 11.8A6 6 0 0 1 16 8a6 6 0 0 1 11 3.8C27 20 16 27 16 27Z' fill='none' stroke='black' stroke-width='2.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.about-value-icon.leaf::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 5C15 5 7 12 7 25c13 0 20-8 20-20ZM8 25 25 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.about-value-icon.path::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 5v22M16 14l-7-7M16 14l7-7M16 21l-6 6M16 21l6 6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.about-value-icon.people::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='10' r='4'/%3E%3Cpath d='M8 26c1.2-5 4-7 8-7s6.8 2 8 7'/%3E%3Ccircle cx='7' cy='13' r='3'/%3E%3Cpath d='M2.5 25c.8-3.5 2.7-5.2 5.5-5.2'/%3E%3Ccircle cx='25' cy='13' r='3'/%3E%3Cpath d='M29.5 25c-.8-3.5-2.7-5.2-5.5-5.2'/%3E%3C/g%3E%3C/svg%3E");
}

.about-value-icon.handshake::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 18 4-4 4 4 4-4 5 5-8 8-5-5-3 3-8-8 5-5 4 4'/%3E%3Cpath d='m15 14 3-3h4l3 3M9 12l3-3h5'/%3E%3C/g%3E%3C/svg%3E");
}

.eap-about-value-grid h3 {
  color: var(--tenant-primary, var(--et-emerald));
  font-size: 1.18rem;
  line-height: 1.1;
  margin: 0 0 .4rem;
}

.eap-about-value-grid p {
  color: #4b4540;
  font-size: .9rem;
  line-height: 1.28;
  margin: 0 auto;
  max-width: 10rem;
}

.eap-about-cta {
  align-items: center;
  background: linear-gradient(135deg, #00945f, var(--tenant-primary, var(--et-emerald)));
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(15, 74, 47, .2);
  color: #fff;
  display: flex;
  font-size: 1.25rem;
  font-weight: 900;
  gap: .8rem;
  justify-content: center;
  margin: 1.25rem auto 1.4rem;
  min-height: 62px;
  padding: 0 2rem;
  text-decoration: none;
  width: min(330px, 100%);
}

.eap-about-privacy-card {
  background: rgba(255, 255, 252, .9);
  border: 1px solid rgba(15, 74, 47, .1);
  border-radius: 18px;
  margin: 0 auto;
  max-width: 720px;
  padding: 1.4rem;
}

.eap-about-privacy-card .eyebrow {
  margin: 0 0 .35rem;
}

.eap-about-privacy-card h2 {
  color: var(--tenant-primary, var(--et-emerald));
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 .7rem;
}

.eap-about-privacy-card p {
  line-height: 1.5;
  margin: 0 0 .75rem;
}

.eap-about-eyebrow,
.eap-about-trust-line {
  align-items: center;
  color: var(--tenant-primary, var(--et-emerald));
  display: inline-flex;
  font-weight: 900;
  gap: .5rem;
  letter-spacing: .08em;
  margin: 0;
  text-transform: uppercase;
}

.eap-about-eyebrow span,
.eap-about-trust-line span,
.eap-about-footer-band span,
.eap-about-team-button span {
  background: currentColor;
  display: inline-block;
  font-size: 0;
  height: 20px;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 5C15 5 7 12 7 25c13 0 20-8 20-20ZM8 25 25 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  overflow: hidden;
  width: 20px;
}

.eap-about-lede {
  color: #5c3f2d;
  font-size: 1.25rem;
  font-weight: 600;
}

.eap-about-trust-line {
  letter-spacing: 0;
  text-transform: none;
}

.eap-about-team-band,
.eap-about-footer-band {
  display: none;
}

@media (min-width: 980px) {
  body.eap-about-page-body {
    background:
      radial-gradient(ellipse at -4% 18%, rgba(159, 185, 155, .16), transparent 16rem),
      linear-gradient(180deg, #fffdf8 0%, #fbf7ec 100%);
    padding: 0;
  }

  body.eap-about-page-body .mobile-app-header.eap-web-header {
    background: rgba(255, 255, 252, .96);
    border-bottom: 1px solid rgba(15, 74, 47, .1);
    box-shadow: 0 8px 24px rgba(8, 43, 31, .06);
    display: flex;
    gap: 2rem;
    height: 146px;
    margin: 0;
    max-width: none;
    padding: 0 48px;
    position: sticky;
    top: 0;
    z-index: 20;
  }

  body.eap-about-page-body .eap-web-header .brand {
    flex: 0 0 auto;
    gap: .8rem;
  }

  body.eap-about-page-body .eap-web-header .brand img {
    height: 76px;
    width: 76px;
  }

  body.eap-about-page-body .eap-web-header .brand span {
    display: none;
  }

  body.eap-about-page-body .eap-web-header .brand::after {
    background: url("/assets/emerald-tree-wordmark.png") left center / contain no-repeat;
    content: "";
    display: block;
    height: 78px;
    width: 285px;
  }

  body.eap-about-page-body .top-actions {
    display: flex;
    flex: 1 1 auto;
    gap: 1.5rem;
    justify-content: flex-end;
  }

  body.eap-about-page-body .top-actions .small-link {
    align-items: center;
    border-radius: 7px;
    color: #1d2623;
    display: inline-flex;
    font-size: 1.02rem;
    min-height: 44px;
    padding: 0 .25rem;
    position: relative;
  }

  body.eap-about-page-body .top-actions .small-link.active {
    color: var(--tenant-primary, var(--et-emerald));
  }

  body.eap-about-page-body .top-actions .small-link.active::after {
    background: var(--tenant-primary, var(--et-emerald));
    border-radius: 999px;
    bottom: 0;
    content: "";
    height: 3px;
    left: .2rem;
    position: absolute;
    right: .2rem;
  }

  body.eap-about-page-body .top-actions .login-link {
    background: transparent;
    border: 1.5px solid var(--tenant-primary, var(--et-emerald));
    box-shadow: none;
    color: var(--tenant-primary, var(--et-emerald));
    min-width: 106px;
    justify-content: center;
    padding: 0 1rem;
  }

  body.eap-about-page-body .top-actions .book-now-link {
    background: linear-gradient(135deg, #00945f, var(--tenant-primary, var(--et-emerald)));
    box-shadow: 0 12px 24px rgba(15, 74, 47, .16);
    color: white;
    justify-content: center;
    min-width: 132px;
    padding: 0 1.1rem;
  }

  body.eap-about-page-body .eap-mobile-menu-button,
  body.eap-about-page-body .bottom-nav,
  body.eap-about-page-body .eap-sidebar,
  body.eap-about-page-body .eap-topbar {
    display: none;
  }

  body.eap-about-page-body .eap-app-shell,
  body.eap-about-page-body .eap-workspace {
    background: transparent;
    display: block;
    margin: 0;
    max-width: none;
    min-height: 0;
  }

  body.eap-about-page-body main {
    max-width: none;
    padding: 0;
  }

  .eap-about-web-screen {
    background:
      radial-gradient(ellipse at -6% 8%, rgba(159, 185, 155, .18), transparent 15rem),
      linear-gradient(180deg, #fffaf0 0%, #fffdf8 58%, #fffaf0 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    padding: 38px 56px 0;
  }

  .eap-about-intro {
    align-items: start;
    gap: 2.2rem;
    grid-template-columns: minmax(420px, 470px) minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1360px;
  }

  .eap-about-copy {
    padding-top: .4rem;
  }

  .eap-about-copy h1 {
    font-size: clamp(3.45rem, 4vw, 4.2rem);
    line-height: .94;
    max-width: 14ch;
  }

  .eap-about-rule {
    display: none;
  }

  .eap-about-copy p {
    color: #2f3430;
    font-size: .98rem;
    line-height: 1.46;
    max-width: 38rem;
  }

  .eap-about-copy .eap-about-lede {
    color: #5c3f2d;
    font-size: 1.12rem;
    margin: 1.1rem 0 .85rem;
  }

  .eap-about-media {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.34fr) minmax(260px, .9fr);
    height: 424px;
    min-height: 0;
  }

  .eap-about-team-photo-desktop {
    aspect-ratio: auto;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(8, 43, 31, .1);
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
  }

  .eap-about-team-photo-mobile {
    display: none;
  }

  .eap-about-door {
    background:
      linear-gradient(90deg, rgba(8, 43, 31, .05), rgba(8, 43, 31, 0)),
      url("/assets/eap-about-door-reference.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 18px;
    min-height: 0;
    height: 100%;
  }

  .eap-about-values {
    margin: -8px auto 20px;
    max-width: 1100px;
  }

  .eap-about-values h2 {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .eap-about-value-grid {
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .eap-about-value-grid article {
    align-items: center;
    display: grid;
    column-gap: .9rem;
    grid-template-columns: 76px 1fr;
    grid-template-rows: auto auto;
    min-height: 118px;
    padding: .9rem 1.2rem;
    text-align: left;
  }

  .about-value-icon {
    background: linear-gradient(135deg, #ecf2dc, #dbe8c5);
    color: var(--tenant-primary, var(--et-emerald));
    height: 68px;
    grid-row: 1 / span 2;
    margin: 0;
    width: 68px;
  }

  .about-value-icon::before {
    background: currentColor;
    height: 36px;
    width: 36px;
  }

  .eap-about-value-grid h3 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: .35rem;
  }

  .eap-about-value-grid p {
    font-size: .9rem;
    line-height: 1.45;
    margin: 0;
    max-width: 15rem;
  }

  .eap-about-cta,
  .eap-about-privacy-card {
    display: none;
  }

  .eap-about-team-band {
    align-items: center;
    display: grid;
    gap: 2.3rem;
    grid-template-columns: minmax(320px, 1.15fr) repeat(3, minmax(180px, .7fr));
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 24px 38px;
  }

  .eap-about-team-band > div {
    max-width: 390px;
  }

  .eap-about-team-band h2 {
    color: #2f3430;
    font-family: var(--font-heading);
    font-size: 1.34rem;
    font-weight: 600;
    line-height: 1.28;
    margin: .7rem 0 .85rem;
  }

  .eap-about-team-band p {
    color: #2f3430;
    line-height: 1.5;
    margin: 0 0 .85rem;
  }

  .eap-about-team-band article {
    border-left: 1px solid rgba(111, 84, 62, .25);
    min-height: 128px;
    padding-left: 2rem;
  }

  .eap-about-team-band article .about-value-icon {
    height: 64px;
    margin-bottom: .75rem;
    width: 64px;
  }

  .eap-about-team-band article .about-value-icon::before {
    height: 32px;
    width: 32px;
  }

  .eap-about-team-band h3 {
    color: var(--tenant-primary, var(--et-emerald));
    font-family: var(--font-heading);
    font-size: 1.28rem;
    margin: 0 0 .35rem;
  }

  .eap-about-team-band article p {
    font-size: .95rem;
    line-height: 1.42;
    margin: 0;
  }

  .eap-about-footer-band {
    align-items: center;
    background: linear-gradient(135deg, #006044, var(--tenant-primary, var(--et-emerald)));
    color: #fffaf0;
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 0 -56px;
    min-height: 76px;
    padding: 1rem 2rem;
  }

  .eap-about-footer-band span {
    color: #a7c766;
    height: 44px;
    width: 92px;
  }

  .eap-about-footer-band strong {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 500;
  }

  .eap-about-footer-band em {
    border-left: 1px solid rgba(255, 250, 240, .7);
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 1.7rem;
    font-style: normal;
    padding-left: 2rem;
  }
}

@media (max-width: 979px) {
  body.eap-about-page-body {
    background:
      radial-gradient(ellipse at -8% 4%, rgba(201, 222, 114, .14), transparent 13rem),
      radial-gradient(ellipse at 112% 18%, rgba(111, 84, 62, .08), transparent 12rem),
      #fffdf8;
    padding-bottom: 0;
  }

  body.eap-about-page-body .mobile-app-header {
    background: rgba(255, 255, 252, .97);
    border-bottom: 1px solid rgba(15, 74, 47, .08);
    box-shadow: 0 7px 18px rgba(8, 43, 31, .08);
    display: flex;
    left: 0;
    margin: 0;
    max-width: none;
    padding: 10px 18px 12px;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 30;
  }

  body.eap-about-page-body .mobile-app-header .brand {
    min-height: 68px;
  }

  body.eap-about-page-body .mobile-app-header .brand img,
  body.eap-about-page-body .mobile-app-header .brand span {
    display: none;
  }

  body.eap-about-page-body .mobile-app-header .brand::before {
    background: url("/assets/emerald-tree-wordmark.png") left center / contain no-repeat;
    content: "";
    display: block;
    height: 66px;
    width: min(280px, 68vw);
  }

  body.eap-about-page-body .top-actions {
    display: none;
  }

  body.eap-about-page-body .eap-mobile-menu-button {
    align-items: center;
    background: transparent;
    border: 0;
    display: grid;
    gap: 7px;
    height: 54px;
    justify-items: center;
    padding: 0;
    width: 54px;
  }

  body.eap-about-page-body .eap-mobile-menu-button span {
    background: #7b4e34;
    border-radius: 999px;
    display: block;
    height: 4px;
    width: 31px;
  }

  body.eap-about-page-body .bottom-nav,
  body.eap-about-page-body .eap-sidebar,
  body.eap-about-page-body .eap-topbar {
    display: none;
  }

  body.eap-about-page-body .eap-app-shell,
  body.eap-about-page-body .eap-workspace {
    display: block;
    margin: 0;
    max-width: none;
    min-height: 0;
  }

  body.eap-about-page-body main {
    max-width: 430px;
    padding: 0 0 24px;
  }

  .eap-about-mobile-screen {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    min-height: 100vh;
    padding: 30px 14px 34px;
  }

  .eap-about-intro {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 44%;
  }

  .eap-about-copy {
    padding: .35rem 0 0;
  }

  .eap-about-copy h1 {
    font-size: clamp(2.28rem, 11.8vw, 3.25rem);
    line-height: 1.02;
  }

  .eap-about-rule {
    height: 4px;
    margin: 1rem 0 1.25rem;
    width: 48px;
  }

  .eap-about-copy p {
    font-size: .98rem;
    line-height: 1.45;
    margin-bottom: .95rem;
  }

  .eap-about-door {
    background-position: 49% 63%;
    background-repeat: no-repeat;
    background-size: 310%;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 0;
    border-top-left-radius: 14px;
    border-top-right-radius: 0;
    min-height: 300px;
    margin-right: -14px;
  }

  .eap-about-values h2 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
    gap: .65rem;
    margin-bottom: 1rem;
  }

  .eap-about-values h2 span {
    height: 21px;
    width: 21px;
  }

  .eap-about-value-grid {
    gap: .85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eap-about-value-grid article {
    border-radius: 12px;
    min-height: 174px;
    padding: .9rem .75rem 1rem;
  }

  .about-value-icon {
    height: 54px;
    margin-bottom: .55rem;
    width: 54px;
  }

  .about-value-icon::before {
    height: 29px;
    width: 29px;
  }

  .eap-about-value-grid h3 {
    font-size: 1.08rem;
    letter-spacing: 0;
  }

  .eap-about-value-grid p {
    font-size: .84rem;
    line-height: 1.22;
    max-width: 9rem;
  }

  .eap-about-privacy-card {
    border-radius: 16px;
    padding: 1rem;
  }
}

@media (max-width: 380px) {
  body.eap-about-page-body .mobile-app-header .brand::before {
    width: 238px;
  }

  .eap-about-value-grid {
    gap: .55rem;
  }

  .eap-about-value-grid article {
    min-height: 168px;
    padding-inline: .55rem;
  }

  .about-value-icon {
    height: 48px;
    width: 48px;
  }

  .eap-about-value-grid h3 {
    font-size: .98rem;
  }

  .eap-about-value-grid p {
    font-size: .78rem;
  }
}

.about-value-icon.manager::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 8h14v19H9z'/%3E%3Cpath d='M13 8V5h6v3M13 14h6M13 19h6M13 24h4'/%3E%3C/g%3E%3C/svg%3E");
}

.eap-marketing-page {
  background:
    radial-gradient(ellipse at -6% 22%, color-mix(in srgb, var(--eap-accent) 18%, transparent), transparent 16rem),
    linear-gradient(180deg, var(--eap-bg) 0%, var(--eap-warm) 100%);
  color: var(--eap-ink);
  padding-bottom: 0;
}

.eap-marketing-page .eap-app-shell {
  background: transparent;
  display: block;
  flex: 1 0 auto;
  margin: 0;
  max-width: none;
  min-height: auto;
}

.eap-marketing-page .eap-workspace {
  background: transparent;
  display: block;
  margin: 0;
  max-width: none;
  min-height: 0;
}

.eap-marketing-page .eap-sidebar,
.eap-marketing-page .eap-topbar,
.eap-marketing-page .bottom-nav {
  display: none;
}

.eap-marketing-page main {
  max-width: none;
  padding: 0;
}

.eap-announcement-bar {
  align-items: center;
  background: linear-gradient(90deg, #0f6b3a 0%, #0a7d45 100%);
  color: #fffdf8;
  display: none;
  font-weight: 800;
  gap: .7rem;
  justify-content: center;
  min-height: 40px;
  padding: .45rem 1rem;
  text-align: center;
}

.eap-announcement-bar .button-icon {
  background-color: rgba(255, 253, 248, .9);
  height: 18px;
  width: 18px;
}

.eap-mobile-drawer,
.eap-mobile-menu-backdrop {
  display: none;
}

.eap-menu-open {
  overflow: hidden;
}

.eap-marketing-page h1,
.eap-marketing-page h2 {
  color: var(--eap-primary);
  font-family: var(--font-heading);
  letter-spacing: 0;
}

.eap-marketing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.7rem 0 1.6rem;
  max-width: 760px;
}

.eap-marketing-actions .action-button,
.eap-marketing-page .action-button {
  border-radius: 7px;
  min-height: 48px;
  padding-inline: 1.35rem;
}

.eap-marketing-actions .action-button {
  flex: 1 1 0;
  min-width: 220px;
  width: 100%;
}

.action-button.brown-outline {
  background: color-mix(in srgb, var(--eap-surface) 85%, transparent);
  border: 1.5px solid var(--eap-accent-strong);
  color: var(--eap-primary-strong);
}

.eap-marketing-trust,
.eap-contact-trust-band,
.eap-org-cta-band {
  background: color-mix(in srgb, var(--eap-surface) 88%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(8, 43, 31, .08);
}

.eap-marketing-trust {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 64px 1fr;
  max-width: 474px;
  padding: 1rem 1.2rem;
}

.eap-marketing-trust .button-icon {
  background-color: var(--eap-primary);
  border-radius: 999px;
  color: white;
  height: 50px;
  width: 50px;
}

.eap-marketing-trust strong {
  color: var(--eap-ink);
}

.eap-marketing-trust p {
  font-size: .9rem;
  margin: .25rem 0 0;
}

.eap-home-hero {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(500px, .95fr);
  min-height: 560px;
}

.eap-home-copy {
  align-self: center;
  padding: 4.5rem 5.5vw 3rem 6vw;
}

.eap-home-copy h1 {
  font-size: clamp(3.45rem, 5vw, 5rem);
  line-height: .98;
  margin: 0 0 1.5rem;
  max-width: 11ch;
}

.eap-home-copy > p {
  color: var(--eap-muted);
  font-size: 1.42rem;
  line-height: 1.35;
  margin: 0;
  max-width: 36rem;
}

.eap-home-image,
.eap-login-image {
  background: var(--eap-tenant-hero-image, url("/assets/eap-hallway-wide.png")) center / cover no-repeat;
}

.eap-login-image {
  background-image: var(--eap-tenant-hero-image, url("/assets/eap-login-abstract.png"));
}

.eap-home-image {
  overflow: hidden;
  position: relative;
}

.eap-home-image::before {
  background: var(--eap-bg);
  border-radius: 0 50% 50% 0;
  content: "";
  height: 124%;
  left: -95px;
  position: absolute;
  top: -12%;
  width: 190px;
}

.eap-tenant-home-hero .eap-home-copy h1 {
  max-width: 13ch;
}

.eap-tenant-home-hero .eap-home-copy > p:not(.eap-about-eyebrow) {
  max-width: 42rem;
}

.eap-tenant-hero-title-row {
  align-items: center;
  display: flex;
  gap: .8rem;
  margin-bottom: .9rem;
}

.eap-tenant-hero-title-row .eap-about-eyebrow {
  margin: 0;
}

.eap-tenant-hero-logo {
  flex: 0 0 auto;
  height: clamp(44px, 8vw, 72px);
  max-width: clamp(72px, 16vw, 132px);
  object-fit: contain;
  width: auto;
}

.eap-tenant-mobile-hero-logo {
  display: none;
}

.eap-tenant-heading-logo-wrap {
  display: none;
}

.eap-tenant-home-purpose {
  display: grid;
  gap: clamp(1.4rem, 2.6vw, 2rem);
  margin: 0 auto;
  max-width: var(--eap-source-rail-max, 1340px);
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.4rem, 5vw, 4rem);
  width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)) * 2)));
}

.eap-tenant-home-purpose > div:first-child {
  display: grid;
  gap: .65rem;
  max-width: 760px;
}

.eap-tenant-home-purpose h2 {
  color: var(--eap-brand-primary, var(--tenant-primary, #0f4a2f));
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.04;
  margin: 0;
}

.eap-tenant-home-purpose p {
  color: #4b576a;
  font-size: 1.02rem;
  line-height: 1.58;
  margin: 0;
}

.eap-tenant-expectations {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eap-tenant-expectations article {
  background: rgba(255, 255, 255, .82);
  border: 1px solid color-mix(in srgb, var(--eap-brand-primary, var(--tenant-primary, #0f4a2f)) 14%, transparent);
  border-radius: 8px;
  display: grid;
  gap: .75rem;
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.eap-tenant-expectations strong {
  color: #10192d;
  font-size: 1.02rem;
}

.eap-tenant-home-purpose > .action-button {
  justify-self: start;
}

.eap-home-team {
  align-items: stretch;
  background: color-mix(in srgb, var(--eap-surface) 72%, transparent);
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(360px, 1.15fr);
  margin: 0 auto;
  max-width: 1440px;
}

.eap-home-team-copy {
  padding: 2.6rem 3rem;
}

.eap-home-team-copy h2 {
  font-size: 1.8rem;
  margin: .65rem 0 1rem;
}

.eap-home-team-copy a {
  color: var(--eap-primary);
  font-weight: 900;
  text-decoration: none;
}

.eap-home-team img {
  height: 100%;
  max-height: 255px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.eap-home-audiences {
  display: grid;
  gap: 1rem;
  padding: 1.6rem 2rem;
}

.eap-home-audiences article {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 58px 1fr;
}

.eap-home-audiences .about-value-icon {
  height: 52px;
  width: 52px;
}

.eap-home-audiences strong {
  color: var(--eap-ink);
}

.eap-home-audiences p {
  margin: .15rem 0 0;
}

.eap-home-tools {
  margin-top: 2.4rem;
}

.eap-about-hero-art {
  background-image: url("/assets/eap-login-abstract.png");
}

.eap-about-hero-art.eap-tenant-about-hero-art {
  background-image: var(--eap-tenant-hero-image, url("/assets/eap-login-abstract.png"));
  background-position: center center;
  background-size: cover;
}

.eap-contact-hero-art {
  background-image: url("/assets/eap-contact-support.png");
}

.eap-dashboard-hero .eap-home-copy h1 {
  max-width: 12ch;
}

.eap-dashboard-hero-art {
  background-image: url("/assets/eap-login-abstract.png");
}

.eap-dashboard-session {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  max-width: 720px;
}

.eap-dashboard-session form {
  margin: 0;
}

.eap-dashboard-session .action-button {
  min-height: 48px;
  padding-inline: 1.2rem;
  white-space: nowrap;
}

.eap-dashboard-summary {
  gap: 0;
  margin-top: 0;
}

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

.eap-dashboard-summary .eap-home-audiences article {
  background: color-mix(in srgb, var(--eap-surface) 82%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 10px;
  min-width: 0;
  padding: 1rem;
}

.eap-dashboard-summary .eap-home-audiences strong {
  overflow-wrap: anywhere;
}

.eap-dashboard-resources {
  margin: 2.4rem auto;
  max-width: 1320px;
  padding-inline: 3rem;
}

.eap-dashboard-resources .section-head {
  margin-bottom: 1.2rem;
}

.eap-dashboard-resources .section-head h2 {
  font-size: 1.85rem;
  margin: .55rem 0 0;
}

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

.eap-dashboard-resource-grid .library-topic-card {
  min-height: 210px;
}

.eap-content-hero .eap-home-copy h1 {
  font-size: clamp(3.75rem, 5.2vw, 5.25rem);
  max-width: 10ch;
}

.eap-content-hero {
  min-height: 470px;
}

.eap-content-hero .eap-home-copy {
  padding-bottom: 2.4rem;
  padding-top: 3.2rem;
}

.eap-content-hero-art {
  background-image: url("/assets/eap-login-abstract.png");
}

.eap-content-page-head {
  display: grid;
  gap: .95rem;
  grid-template-columns: 1fr;
  margin: 2.8rem auto 0;
  max-width: 1320px;
  padding-inline: 3rem;
}

.eap-content-page-head h1 {
  color: var(--eap-ink);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.85rem);
  line-height: .98;
  margin: .25rem 0 .55rem;
}

.eap-content-page-head p:not(.eap-about-eyebrow) {
  color: var(--eap-muted);
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0;
  max-width: 46rem;
}

.eap-content-search-form {
  align-items: end;
  display: grid;
  gap: .8rem;
  grid-template-columns: minmax(220px, 1fr) auto;
  margin: 1.15rem 0 1rem;
  max-width: 660px;
}

.eap-content-page-head > .eap-content-search-form {
  margin-inline: auto;
  width: min(100%, 720px);
}

.eap-content-search-form label {
  color: var(--eap-ink);
  display: grid;
  font-weight: 900;
  gap: .35rem;
}

.eap-content-search-form label span {
  font-size: .88rem;
}

.eap-content-search-form input {
  background: color-mix(in srgb, var(--eap-surface) 90%, white);
  border: 1px solid var(--eap-border);
  border-radius: 999px;
  color: var(--eap-ink);
  min-height: 54px;
  padding: .8rem 1.1rem;
  width: 100%;
}

.eap-category-search-form {
  grid-template-columns: minmax(260px, 1fr) auto auto;
  margin-bottom: 1.2rem;
  max-width: 840px;
}

.eap-content-search-page {
  margin: 2.6rem auto 0;
  max-width: 1320px;
  padding-inline: 3rem;
}

.eap-content-search-page h1 {
  color: var(--eap-ink);
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1;
  margin: .3rem 0 .5rem;
}

.eap-content-breadcrumb {
  align-items: center;
  color: color-mix(in srgb, var(--eap-primary) 58%, var(--eap-muted));
  display: flex;
  flex-wrap: wrap;
  font-size: .78rem;
  font-weight: 900;
  gap: .45rem;
  letter-spacing: .12em;
  margin: 0 0 .85rem;
  text-transform: uppercase;
}

.eap-content-breadcrumb a {
  color: var(--eap-primary);
  text-decoration: none;
}

.eap-content-breadcrumb a:hover,
.eap-content-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.eap-content-breadcrumb span[aria-current="page"] {
  color: var(--eap-muted);
}

.eap-content-topics,
.eap-content-resources {
  display: block;
  margin: 2.4rem auto;
  max-width: 1320px;
  padding-inline: 3rem;
  position: relative;
}

.eap-content-carousel-section::before,
.eap-content-topics::before {
  background: radial-gradient(ellipse at 12% 0%, color-mix(in srgb, var(--tenant-accent, var(--eap-accent)) 24%, transparent), transparent 16rem);
  content: "";
  inset: -1.8rem 0 auto;
  height: 13rem;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.eap-content-topics .section-head,
.eap-content-resources .section-head,
.eap-popular-topics .section-head {
  margin-bottom: 1.2rem;
}

.eap-content-search-hero {
  align-items: end;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  margin: 0 auto;
  max-width: 1180px;
  padding: 1.4rem 1.2rem .6rem;
}

.eap-content-search-hero h1 {
  color: var(--eap-ink);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: .98;
  margin: .35rem 0 .8rem;
  max-width: 11ch;
}

.eap-content-search-hero p:not(.eap-about-eyebrow) {
  color: var(--eap-muted);
  font-size: 1.05rem;
  margin: 0;
  max-width: 48ch;
}

.eap-popular-topics,
.eap-recommended-section,
.eap-browse-categories {
  margin-inline: auto;
  max-width: 1180px;
  width: 100%;
}

.eap-popular-topic-row {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.eap-popular-topic {
  align-items: center;
  background: color-mix(in srgb, var(--eap-surface) 88%, white);
  border: 1px solid var(--eap-border);
  border-radius: 8px;
  color: var(--eap-ink);
  display: flex;
  gap: .75rem;
  min-height: 76px;
  padding: .75rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.eap-popular-topic:hover,
.eap-popular-topic:focus-visible {
  box-shadow: 0 16px 38px rgba(8, 43, 31, .1);
  transform: translateY(-2px);
}

.eap-popular-topic img {
  border-radius: 8px;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.eap-popular-topic span {
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.12;
}

.eap-recommended-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eap-browse-categories .library-topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eap-content-topics.eap-browse-categories .library-topic-card {
  align-content: start;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 118px;
  padding: 1rem;
}

.eap-content-topics.eap-browse-categories .library-topic-card .topic-image {
  grid-row: span 2;
}

.eap-content-topics.eap-browse-categories .library-topic-card strong {
  font-size: 1.05rem;
}

.eap-content-topics.eap-browse-categories .library-topic-card p {
  color: var(--eap-muted);
}

.eap-content-topics.eap-browse-categories .library-topic-card .eap-card-arrow-icon {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.eap-content-topics .section-head h2,
.eap-content-resources .section-head h2,
.eap-popular-topics .section-head h2 {
  font-size: 1.85rem;
  margin: .55rem 0 0;
}

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

.eap-content-resource-card {
  background: color-mix(in srgb, var(--eap-surface) 86%, transparent);
  border: 1px solid var(--eap-border);
  box-shadow: 0 12px 34px rgba(8, 43, 31, .05);
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 150px;
}

.eap-content-resource-card small {
  color: var(--eap-primary);
  display: block;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.eap-content-card-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eap-content-page .eap-content-search-hero {
  display: block;
  margin: 0 auto;
  max-width: 1180px;
  padding: .8rem 1.2rem 0;
}

.eap-content-page .eap-content-search-form {
  background: color-mix(in srgb, var(--eap-surface) 92%, white);
  border: 1px solid var(--eap-border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(8, 43, 31, .06);
  margin-left: auto;
  max-width: 560px;
  padding: .8rem;
}

.eap-content-page .eap-content-section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.eap-content-page .eap-content-section-head h2 {
  color: #17243b;
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

.eap-content-page .eap-content-section-head a {
  color: #17366d;
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
}

.eap-dashboard-home {
  margin: 0 auto;
  max-width: 1180px;
  padding: 1.4rem 1.2rem .2rem;
  width: 100%;
}

.eap-dashboard-greeting {
  margin-bottom: 1.1rem;
}

.eap-dashboard-greeting p {
  color: #667287;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 .25rem;
}

.eap-dashboard-greeting h1 {
  color: #17243b;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 950;
  line-height: 1.04;
  margin: 0;
}

.eap-dashboard-actions-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eap-dashboard-actions-grid.employee {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eap-dashboard-action-card {
  align-content: start;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(12, 25, 48, .07);
  color: #17243b;
  display: grid;
  gap: .6rem;
  min-height: 138px;
  padding: 1rem;
  text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}

.eap-dashboard-action-card:hover,
.eap-dashboard-action-card:focus-visible {
  box-shadow: 0 18px 38px rgba(12, 25, 48, .12);
  color: #17243b;
  transform: translateY(-2px);
}

.eap-dashboard-action-card .button-icon {
  background-color: color-mix(in srgb, var(--tenant-primary, #1a6a48) 14%, white);
  border-radius: 999px;
  color: var(--tenant-primary, #1a6a48);
  height: 42px;
  width: 42px;
}

.eap-dashboard-action-card strong {
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.12;
}

.eap-dashboard-action-card small {
  color: #5b6578;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.35;
}

.eap-upcoming-booking-section {
  margin: 1.45rem auto 0;
  max-width: 1180px;
  padding: 0 1.2rem;
}

.eap-upcoming-booking-section-desktop {
  display: none;
}

.eap-upcoming-booking-card {
  align-items: center;
  background: #f4faf4;
  border: 1px solid rgba(26, 106, 72, .2);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(12, 25, 48, .06);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.eap-upcoming-booking-card > div {
  align-items: center;
  display: flex;
  gap: .85rem;
  min-width: 0;
}

.eap-upcoming-booking-card .button-icon {
  background-color: rgba(26, 106, 72, .12);
  border-radius: 999px;
  color: var(--tenant-primary, #1a6a48);
  height: 44px;
  width: 44px;
}

.eap-upcoming-booking-card strong {
  color: #17243b;
  display: block;
  font-size: 1.05rem;
  font-weight: 950;
}

.eap-upcoming-booking-card p {
  color: #4e5b70;
  font-size: .94rem;
  font-weight: 800;
  margin: .15rem 0 0;
}

.eap-upcoming-booking-card .action-button {
  flex: 0 0 auto;
  justify-self: end;
  min-width: 180px;
  width: auto;
}

.eap-upcoming-booking-summary {
  color: #2f3f54;
  font-weight: 700;
  max-width: 760px;
}

.eap-content-page .eap-popular-topics,
.eap-content-page .eap-recommended-section,
.eap-content-page .eap-browse-categories {
  margin: 1.7rem auto 0;
  max-width: 1180px;
  padding: 0 1.2rem;
}

.eap-content-page .eap-popular-topic-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.eap-content-page .eap-popular-topic {
  background: rgba(255, 255, 255, .92);
  border-color: #dfe5ef;
  border-radius: 8px;
  box-shadow: 0 7px 20px rgba(12, 25, 48, .06);
  min-height: 66px;
  padding: .65rem .75rem;
}

.eap-content-page .eap-popular-topic:nth-child(1) {
  border-color: #b8d9b3;
  box-shadow: 0 7px 20px rgba(67, 130, 75, .1);
}

.eap-content-page .eap-popular-topic:nth-child(2) {
  border-color: #c7ddef;
}

.eap-content-page .eap-popular-topic:nth-child(4) {
  border-color: #dfd3ee;
}

.eap-content-page .eap-popular-topic:nth-child(5) {
  border-color: #f1d99c;
}

.eap-content-page .eap-popular-topic img {
  border-radius: 999px;
  height: 38px;
  width: 38px;
}

.eap-content-page .eap-popular-topic span {
  color: #17243b;
  font-size: .86rem;
}

.eap-content-page .eap-recommended-grid {
  gap: 1.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eap-recommended-card {
  background: #fff;
  border: 1px solid #e1e6ee;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(12, 25, 48, .08);
  color: #17243b;
  display: grid;
  grid-template-rows: 150px minmax(0, 1fr);
  min-height: 318px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.eap-recommended-card:hover,
.eap-recommended-card:focus-visible {
  box-shadow: 0 18px 38px rgba(12, 25, 48, .12);
  color: #17243b;
  transform: translateY(-2px);
}

.eap-recommended-card-image {
  background: var(--content-image-web) center / cover no-repeat;
  display: block;
}

.eap-recommended-card-body {
  display: grid;
  gap: .55rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem 1.15rem 1.05rem;
}

.eap-recommended-card-body strong,
.eap-recommended-card-body > span,
.eap-recommended-card-body small {
  grid-column: 1 / -1;
}

.eap-recommended-card-body strong {
  color: #17243b;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.12;
}

.eap-recommended-card-body > span {
  color: #46546c;
  font-size: .98rem;
  line-height: 1.45;
}

.eap-recommended-card-body small {
  align-self: center;
  color: #24324a;
  font-size: .86rem;
  font-weight: 800;
}

.eap-recommended-card-body .eap-card-arrow-icon {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
}

.eap-content-rich-body {
  color: #2d384a;
  display: grid;
  gap: .85rem;
  line-height: 1.7;
}

.eap-content-rich-body p,
.eap-content-rich-body ul,
.eap-content-rich-body ol,
.eap-content-rich-body blockquote {
  margin: 0;
}

.eap-content-rich-body ul,
.eap-content-rich-body ol {
  display: grid;
  gap: .45rem;
  padding-left: 1.35rem;
}

.eap-content-rich-body strong,
.eap-content-rich-body b {
  color: #17243b;
  font-weight: 950;
}

.eap-content-rich-body a {
  color: var(--tenant-primary, #1a6a48);
  font-weight: 900;
  text-decoration: underline;
}

.eap-content-rich-body h2,
.eap-content-rich-body h3 {
  color: #17243b;
  font-weight: 950;
  margin: .25rem 0 0;
}

.eap-content-rich-body blockquote {
  border-left: 4px solid rgba(26, 106, 72, .25);
  color: #46546c;
  padding-left: 1rem;
}

.eap-search-results-section {
  width: 100%;
}

.eap-search-results-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  width: 100%;
}

.eap-search-results-grid .eap-search-empty-state {
  grid-column: 1 / -1;
  margin-inline: auto;
  max-width: 100%;
  width: 100%;
}

.eap-content-carousel-section {
  overflow: hidden;
  position: relative;
}

.eap-content-carousel {
  display: grid;
  gap: 1.1rem;
  grid-auto-columns: minmax(320px, 38%);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: .25rem 0 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: color-mix(in srgb, var(--eap-primary) 42%, transparent) transparent;
}

.eap-content-carousel-card {
  scroll-snap-align: start;
}

.eap-content-carousel-card:nth-child(2n) {
  min-height: 330px;
}

.eap-content-topics .library-topic-card {
  background:
    radial-gradient(circle at 82% 10%, color-mix(in srgb, var(--tenant-accent, var(--eap-accent)) 28%, transparent), transparent 7rem),
    color-mix(in srgb, var(--eap-surface) 90%, white);
  border: 1px solid var(--eap-border);
  box-shadow: 0 18px 44px rgba(8, 43, 31, .08);
  min-height: 230px;
  padding: 1.35rem;
}

.eap-content-topics .library-topic-card:hover,
.eap-content-topics .library-topic-card:focus-visible {
  box-shadow: 0 24px 56px rgba(8, 43, 31, .14);
  transform: translateY(-2px);
}

.eap-content-carousel .eap-content-empty-state {
  min-width: min(720px, 90vw);
}

.eap-content-page .eap-browse-categories .library-topic-grid {
  gap: 1.55rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(248, 244, 234, .92), rgba(255, 255, 255, .92));
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(12, 25, 48, .06);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  justify-content: center;
  min-height: 172px;
  padding: 1.1rem .95rem;
  text-align: center;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card:nth-child(1) {
  border-color: #dce8d4;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(248, 250, 253, .95), rgba(255, 255, 255, .95));
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card:nth-child(5) {
  background: linear-gradient(135deg, rgba(252, 247, 252, .95), rgba(255, 255, 255, .95));
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card .topic-image {
  border-radius: 0;
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card strong {
  color: #17243b;
  font-size: 1.08rem;
  line-height: 1.18;
}

.eap-content-image-card {
  align-content: end;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(6, 33, 24, .08) 0%, rgba(6, 33, 24, .44) 52%, rgba(6, 33, 24, .86) 100%),
    var(--content-image-web) center / cover no-repeat;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(8, 43, 31, .11);
  color: #fff;
  display: grid;
  min-height: 280px;
  overflow: hidden;
  padding: 1.35rem;
  position: relative;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.eap-content-image-card:hover,
.eap-content-image-card:focus-visible {
  box-shadow: 0 24px 56px rgba(8, 43, 31, .18);
  color: #fff;
  transform: translateY(-3px);
}

.eap-content-image-card span,
.eap-content-image-card small {
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.eap-content-image-card strong {
  display: block;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  line-height: 1.05;
  margin: .45rem 0 .8rem;
  max-width: 12ch;
  position: relative;
  z-index: 1;
}

.eap-content-image-card small {
  opacity: .86;
}

.eap-content-empty-state {
  align-items: center;
  background: color-mix(in srgb, var(--eap-surface) 90%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(8, 43, 31, .08);
  color: var(--eap-ink);
  display: grid;
  gap: .75rem;
  grid-column: 1 / -1;
  justify-items: center;
  min-height: 260px;
  padding: 2rem;
  text-align: center;
}

.eap-content-empty-state .button-icon {
  background-color: var(--eap-primary);
  height: 42px;
  width: 42px;
}

.eap-content-empty-state strong {
  color: var(--eap-primary);
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.eap-content-empty-state p {
  color: var(--eap-muted);
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0;
  max-width: 34rem;
}

.eap-search-empty-state {
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--eap-accent) 28%, transparent), transparent 9rem),
    color-mix(in srgb, var(--eap-surface) 94%, white);
  box-shadow: 0 20px 58px rgba(8, 43, 31, .08);
  min-height: clamp(360px, 48vh, 500px);
}

.eap-search-empty-state > .button-icon {
  height: 54px;
  width: 54px;
}

.eap-search-empty-state .action-button {
  margin-top: .35rem;
}

.eap-category-content-page {
  display: block;
}

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

.eap-content-detail {
  margin: 0 auto 2.4rem;
  max-width: 1320px;
  padding: 2.4rem 3rem 0;
}

.eap-content-detail-hero {
  align-items: stretch;
  background: color-mix(in srgb, var(--eap-surface) 72%, transparent);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  border: 1px solid var(--eap-border);
  border-radius: 18px;
  overflow: hidden;
}

.eap-content-detail-hero > div {
  align-content: center;
  display: grid;
  padding: 3rem;
}

.eap-content-detail-image {
  background:
    linear-gradient(180deg, rgba(6, 33, 24, .02), rgba(6, 33, 24, .2)),
    var(--content-detail-image-web) center / cover no-repeat;
  min-height: 100%;
  overflow: hidden;
  position: relative;
}

.eap-content-detail-image img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.eap-content-detail-hero h1 {
  font-size: clamp(3.6rem, 5.4vw, 5.6rem);
  line-height: .98;
  margin: .4rem 0 1.4rem;
  max-width: 12ch;
}

.eap-content-detail-hero p:not(.eap-about-eyebrow) {
  color: var(--eap-muted);
  font-size: 1.25rem;
  line-height: 1.38;
  margin: 0;
  max-width: 38rem;
}

.eap-content-detail-body {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  margin-top: 2.4rem;
}

.eap-content-detail-body section,
.eap-content-detail-body .safety-note {
  background: color-mix(in srgb, var(--eap-surface) 86%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(8, 43, 31, .05);
  padding: 1.5rem;
}

.eap-content-detail-body h2 {
  font-size: 1.55rem;
  margin: 0 0 1rem;
}

.eap-content-detail-body p {
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 0;
  white-space: pre-line;
}

.eap-content-detail-body .safety-note {
  margin: 0;
}

.eap-content-detail-actions {
  justify-content: flex-end;
  margin: 1.5rem 0 0;
}

.eap-video-detail {
  margin: 0 auto 2.4rem;
  max-width: 1320px;
  padding: 2.4rem 3rem 0;
}

.eap-video-header {
  margin-bottom: 1.5rem;
  max-width: 860px;
}

.eap-video-header h1 {
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 1;
  margin: .4rem 0 1rem;
}

.eap-video-header p:not(.eap-about-eyebrow) {
  color: var(--eap-muted);
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 0;
}

.eap-video-player-shell {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--eap-primary) 88%, #000 12%), var(--eap-primary-strong));
  border-radius: 18px;
  box-shadow: 0 24px 66px rgba(8, 43, 31, .18);
  overflow: hidden;
  padding: .8rem;
}

.eap-video-player {
  aspect-ratio: 16 / 9;
  background: #041a13;
  border: 0;
  border-radius: 12px;
  display: block;
  height: auto;
  width: 100%;
}

.eap-video-unavailable {
  align-content: center;
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--eap-surface) 92%, transparent);
  border-radius: 12px;
  display: grid;
  padding: 2rem;
  text-align: center;
}

.eap-video-body {
  margin-top: 1.5rem;
}

.eap-manager-page-head {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 2.8rem auto 0;
  max-width: 1320px;
  padding-inline: 3rem;
}

.eap-manager-page-head h1 {
  color: var(--eap-ink);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: .98;
  margin: .25rem 0 .55rem;
}

.eap-manager-page-head p:not(.eap-about-eyebrow) {
  color: var(--eap-muted);
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0;
  max-width: 58rem;
}

.eap-manager-people-layout {
  margin: 2.4rem auto;
  max-width: 1320px;
  padding-inline: 3rem;
}

.eap-manager-panel,
.eap-manager-toast {
  background: color-mix(in srgb, var(--eap-surface) 90%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(8, 43, 31, .08);
}

.eap-manager-panel {
  padding: 1.5rem;
}

.eap-manager-toast {
  color: var(--eap-ink);
  font-weight: 900;
  margin: 1.5rem auto 0;
  max-width: 1320px;
  padding: 1rem 1.25rem;
}

.eap-manager-form {
  display: grid;
  gap: 1rem;
}

.eap-manager-form label {
  color: var(--eap-ink);
  display: grid;
  font-weight: 900;
  gap: .35rem;
}

.eap-manager-form input,
.invite-url-field,
.eap-manager-table input {
  background: white;
  border: 1px solid var(--eap-border);
  border-radius: 10px;
  color: var(--eap-ink);
  min-height: 52px;
  padding: .75rem .9rem;
  width: 100%;
}

.eap-manager-inline-invite {
  align-items: center;
  background: color-mix(in srgb, var(--eap-accent) 18%, white);
  border: 1px solid var(--eap-border);
  border-radius: 12px;
  display: grid;
  gap: .9rem;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 1rem 0;
  padding: 1rem;
}

.eap-manager-inline-invite > .button-icon {
  color: var(--eap-primary);
  height: 32px;
  width: 32px;
}

.eap-manager-table {
  display: grid;
  gap: 0;
  overflow-x: auto;
}

.eap-manager-table-head,
.eap-manager-table-row {
  align-items: center;
  border-bottom: 1px solid var(--eap-border);
  display: grid;
  gap: .8rem;
  grid-template-columns: minmax(220px, 1.1fr) minmax(230px, 1fr) minmax(150px, .7fr) minmax(120px, auto) minmax(150px, auto);
  min-width: 980px;
  padding: .95rem 0;
}

.eap-manager-table-head {
  background: color-mix(in srgb, var(--eap-accent) 20%, transparent);
  border-bottom-color: color-mix(in srgb, var(--eap-primary) 42%, var(--eap-border));
  color: var(--eap-muted);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .1em;
  padding: .8rem;
  text-transform: uppercase;
}

.eap-manager-add-row {
  background: color-mix(in srgb, var(--eap-surface) 72%, white);
  border-radius: 12px;
  margin: .8rem 0 .2rem;
  padding: .8rem;
}

.eap-manager-add-row label {
  color: var(--eap-ink);
  display: grid;
  font-weight: 900;
  gap: .3rem;
}

.eap-manager-add-row label span {
  font-size: .78rem;
}

.eap-manager-employee-cell {
  align-items: center;
  display: grid;
  gap: .8rem;
  grid-template-columns: 48px minmax(0, 1fr);
}

.eap-manager-user-avatar {
  align-items: center;
  background: var(--eap-accent-soft);
  border: 1px solid var(--eap-border);
  border-radius: 14px;
  color: var(--eap-primary);
  display: inline-flex;
  font-weight: 950;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.eap-manager-employee-cell strong,
.eap-manager-employee-cell small,
.eap-manager-email-cell {
  display: block;
}

.eap-manager-employee-cell strong {
  color: var(--eap-ink);
  font-size: 1.05rem;
}

.eap-manager-email-cell {
  color: var(--eap-primary);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.eap-manager-employee-cell small,
.eap-manager-table-note {
  color: var(--eap-muted);
}

.eap-manager-inline-action {
  margin: 0;
}

.eap-manager-inline-action .action-button,
.eap-manager-add-row .action-button {
  min-height: 44px;
  padding-inline: 1rem;
  width: 100%;
}

.eap-manager-report-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(180px, .8fr));
  margin: 2.4rem auto 1rem;
  max-width: 1320px;
  padding-inline: 3rem;
}

.eap-manager-reports-page > .eap-manager-panel {
  margin: 1rem auto 2.4rem;
  max-width: 1320px;
}

.eap-manager-report-note strong,
.eap-manager-report-metric strong,
.eap-manager-section-head h2 {
  color: var(--eap-ink);
}

.eap-manager-report-note p {
  color: var(--eap-muted);
  line-height: 1.45;
  margin: .5rem 0 .8rem;
}

.eap-manager-report-note small,
.eap-manager-report-metric small,
.eap-manager-section-head span,
.eap-manager-report-table small {
  color: var(--eap-muted);
}

.eap-manager-report-metric {
  display: grid;
  gap: .35rem;
}

.eap-manager-report-metric span {
  color: var(--eap-muted);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eap-manager-report-metric strong {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
}

.eap-manager-section-head {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.eap-manager-section-head h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  margin: 0;
}

.eap-manager-report-table .eap-manager-table-head,
.eap-manager-report-table .eap-manager-table-row {
  grid-template-columns: minmax(260px, 1.4fr) minmax(180px, .9fr) minmax(120px, .4fr) minmax(150px, .6fr);
  min-width: 820px;
}

.eap-about-values.eap-home-tools {
  max-width: 1320px;
  padding-inline: 3rem;
}

.eap-about-team-band.eap-home-team {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(360px, 1fr) repeat(3, minmax(180px, .55fr));
  margin-top: 2.4rem;
  padding: 2rem;
}

.eap-about-team-band.eap-home-team > div {
  padding: .6rem 1rem;
}

.eap-about-team-band.eap-home-team article {
  align-content: start;
  background: rgba(255, 255, 252, .82);
  border: 1px solid rgba(15, 74, 47, .1);
  border-radius: 10px;
  display: grid;
  padding: 1.2rem;
}

.eap-about-privacy-card {
  margin: 2.4rem auto;
  max-width: 1120px;
}

.eap-contact-layout.eap-home-team {
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 1320px;
  padding: 2.4rem 3rem;
}

.eap-contact-layout .eap-contact-form-card {
  align-self: start;
  width: 100%;
}

@media (min-width: 980px) {
  body.eap-contact-page.is-eap-authenticated .eap-contact-layout .eap-contact-form-card {
    align-self: end;
  }
}

.eap-contact-layout .eap-contact-trust-band {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  max-width: none;
  padding: 0;
}

.eap-contact-layout .eap-contact-trust-band article {
  align-items: center;
  background: color-mix(in srgb, var(--eap-surface) 82%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 10px;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 1.2rem;
}

.eap-booking-marketing-page .booking-hero-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 0;
  overflow: visible;
  padding: 0;
}

.eap-booking-marketing-page .booking-hero-card h1 {
  font-size: clamp(4.2rem, 6vw, 6.1rem);
  line-height: .98;
  margin: 0 0 1.5rem;
  max-width: 11ch;
}

.eap-booking-marketing-page .booking-hero-card .lead {
  color: var(--eap-muted);
  font-size: 1.42rem;
  line-height: 1.35;
  margin: 0;
  max-width: 36rem;
}

.eap-booking-marketing-page .booking-hero-art {
  background: url("/assets/eap-booking-hero-web-v2.png") center / cover no-repeat;
  border-radius: 0;
  min-height: 0;
}

.eap-booking-marketing-page .booking-hero-art::before {
  background: var(--eap-bg);
  border-radius: 0 50% 50% 0;
  content: "";
  height: 124%;
  left: -95px;
  opacity: 1;
  position: absolute;
  right: auto;
  top: -12%;
  transform: none;
  width: 190px;
}

.eap-booking-marketing-page .booking-layout {
  align-items: stretch;
  background: color-mix(in srgb, var(--eap-surface) 72%, transparent);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(420px, 1fr) minmax(300px, .55fr);
  margin: 0 auto;
  max-width: 1440px;
}

.eap-booking-marketing-page .booking-info-card,
.eap-booking-marketing-page .booking-action-card,
.eap-booking-marketing-page .booking-steps-section,
.eap-booking-marketing-page .booking-steps-grid article {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.eap-booking-marketing-page .booking-info-card,
.eap-booking-marketing-page .booking-action-card {
  border-radius: 0;
  padding: 2.6rem 3rem;
}

.eap-booking-marketing-page .booking-action-card {
  background: color-mix(in srgb, var(--eap-accent-soft) 56%, transparent);
  align-content: center;
}

.eap-booking-marketing-page .booking-info-card h2,
.eap-booking-marketing-page .booking-action-card h2 {
  font-size: 1.8rem;
  margin: 0 0 1rem;
}

.eap-booking-marketing-page .booking-note-list {
  gap: 1rem;
}

.eap-booking-marketing-page .booking-note-list div {
  background: color-mix(in srgb, var(--eap-surface) 82%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 10px;
  min-height: 88px;
}

.eap-booking-marketing-page .booking-steps-section {
  margin: 2.4rem auto;
  max-width: 1320px;
  padding: 0 3rem;
}

.eap-booking-marketing-page .booking-steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.eap-booking-marketing-page .booking-steps-grid article {
  align-content: start;
  background: color-mix(in srgb, var(--eap-surface) 90%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 10px;
  gap: 1rem;
  min-height: 190px;
  padding: 1.35rem;
  position: relative;
}

.eap-booking-marketing-page .booking-step-head {
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--eap-primary) 24%, var(--eap-border));
  display: flex;
  gap: .85rem;
  padding-bottom: .9rem;
}

.eap-booking-marketing-page .booking-step-head strong {
  color: var(--eap-ink);
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eap-booking-marketing-page .booking-steps-grid p {
  color: var(--eap-muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.eap-brown-strip {
  background: #76513c;
  color: #fffaf0;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  padding: 1.25rem 2rem;
  text-align: center;
}

.eap-org-hero {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, .78fr);
}

.eap-org-hero h1 {
  color: var(--eap-primary);
  font-size: clamp(3.15rem, 4.8vw, 4.85rem);
  line-height: .98;
  margin: 0 0 1.5rem;
  max-width: 11ch;
}

.eap-org-hero p {
  color: var(--eap-muted);
  font-size: 1.28rem;
  line-height: 1.35;
  max-width: 36rem;
}

.eap-org-hero-art {
  background-image: url("/assets/eap-manager-abstract.png");
}

.eap-org-tools {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2rem auto 1.5rem;
  max-width: 1320px;
  padding: 0 3rem;
}

.eap-org-tool-card {
  background: color-mix(in srgb, var(--eap-surface) 90%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(8, 43, 31, .08);
  color: var(--eap-ink);
  display: grid;
  justify-items: center;
  min-height: 250px;
  padding: 1.7rem 1.2rem;
  position: relative;
  text-align: center;
  text-decoration: none;
}

.eap-org-tool-card strong {
  color: var(--eap-primary);
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.eap-org-tool-card p {
  color: var(--eap-muted);
  line-height: 1.45;
  margin: .45rem 0;
}

.eap-org-tool-card em {
  align-items: center;
  background: var(--eap-accent-soft);
  border-radius: 999px;
  color: var(--eap-primary);
  display: inline-flex;
  font-style: normal;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.eap-card-arrow-icon::before {
  background: currentColor;
  content: "";
  display: block;
  height: 18px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 18px;
}

.eap-org-cta-band {
  align-items: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
  margin: 0 auto 2rem;
  max-width: 1320px;
  padding: 1.8rem;
  text-align: center;
}

.eap-org-cta-band strong {
  color: var(--eap-primary);
  font-family: var(--font-heading);
  font-size: 1.55rem;
}

.eap-org-cta-band > div {
  display: flex;
  gap: 1rem;
}

.eap-login-layout {
  display: grid;
  grid-template-columns: minmax(480px, .9fr) minmax(520px, 1fr);
  min-height: calc(100vh - 130px);
}

.eap-login-image {
  min-height: 720px;
}

.eap-login-content {
  display: grid;
  gap: 1.5rem;
  padding: 3.4rem 5.5vw 2rem;
}

.eap-login-panel {
  align-self: start;
  max-width: 470px;
}

.eap-login-panel h1 {
  font-size: clamp(3.3rem, 4.4vw, 4.4rem);
  line-height: .98;
  margin: 0 0 1rem;
}

.eap-login-panel > p {
  color: #6d432e;
  font-size: 1.16rem;
}

.eap-marketing-form {
  display: grid;
  gap: 1rem;
}

.eap-marketing-form label {
  color: #343d39;
  display: grid;
  font-weight: 900;
  gap: .45rem;
}

.eap-marketing-form input,
.eap-marketing-form textarea {
  background: rgba(255, 255, 252, .9);
  border: 1px solid rgba(31, 41, 37, .24);
  border-radius: 7px;
  color: #1f2925;
  font: inherit;
  min-height: 48px;
  padding: .75rem .85rem;
  width: 100%;
}

.input-with-icon {
  align-items: center;
  display: grid;
  grid-template-columns: 42px 1fr;
}

.input-with-icon .button-icon {
  color: #67706b;
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  z-index: 1;
}

.input-with-icon input {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  padding-left: 3rem;
}

.eap-login-page .eap-marketing-form label {
  font-weight: 600;
}

.eap-login-page .input-with-icon input {
  font-weight: 400;
}

.eap-login-page .input-with-icon input::placeholder {
  font-weight: 400;
}

.eap-login-panel .login-divider {
  margin: 1.2rem 0;
}

.access-note,
.eap-form-note {
  align-items: center;
  color: #66716c;
  display: flex;
  gap: .75rem;
}

.access-note {
  background: rgba(234, 242, 223, .8);
  border-radius: 8px;
  margin-top: 1rem;
  padding: 1rem;
}

.eap-sms-test-code {
  align-items: center;
  background: #fff8df;
  border: 1px solid rgba(217, 155, 23, .28);
  border-radius: 10px;
  color: #162820;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: space-between;
  padding: .9rem 1rem;
}

.eap-sms-test-code span {
  font-weight: 900;
}

.eap-sms-test-code strong {
  background: #fff;
  border: 1px solid rgba(15, 46, 36, .12);
  border-radius: 8px;
  color: var(--tenant-primary, #245f36);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.25rem;
  letter-spacing: .08em;
  padding: .35rem .6rem;
}

.eap-sms-test-code small {
  flex-basis: 100%;
  font-weight: 800;
}

.eap-acknowledgement-panel {
  display: grid;
  gap: .75rem;
}

.eap-login-bottom {
  align-self: end;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(200px, .8fr) minmax(280px, 1.2fr);
}

.eap-login-bottom article {
  align-self: end;
}

.eap-login-bottom img {
  border-radius: 14px;
  max-height: 240px;
  object-fit: cover;
  width: 100%;
}

.eap-contact-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(310px, .8fr) minmax(420px, 1fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: 4rem 3rem 2rem;
}

.eap-contact-copy h1 {
  font-size: clamp(3rem, 4.4vw, 4.1rem);
  line-height: 1;
  margin: 0 0 1rem;
  white-space: nowrap;
}

.eap-contact-copy > p {
  color: var(--eap-muted);
  font-size: 1.55rem;
  line-height: 1.28;
}

.eap-contact-cards {
  display: grid;
  gap: .8rem;
  margin: 1.9rem 0;
}

.eap-contact-cards article {
  align-items: center;
  background: color-mix(in srgb, var(--eap-surface) 90%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 10px;
  display: grid;
  gap: .75rem;
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 88px;
  padding: .85rem .95rem;
}

.eap-contact-cards .button-icon {
  background: var(--eap-primary);
  border-radius: 999px;
  color: white;
  height: 52px;
  width: 52px;
}

.eap-contact-cards a,
.eap-contact-cards p {
  display: block;
  color: var(--eap-primary);
  font-size: clamp(.9rem, .9vw, 1.02rem);
  font-weight: 900;
  margin: .2rem 0 0;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.eap-contact-cards strong {
  color: var(--eap-ink);
  display: block;
  margin-bottom: .2rem;
}

.eap-contact-form-card {
  background: color-mix(in srgb, var(--eap-surface) 94%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(8, 43, 31, .08);
  padding: 1.8rem;
}

.eap-contact-form-card h2 {
  color: var(--eap-ink);
  font-size: 1.6rem;
  margin: 0 0 1rem;
}

.eap-contact-trust-band {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto 2rem;
  max-width: 1120px;
  padding: 1.4rem 2.2rem;
}

.eap-contact-trust-band article {
  align-items: center;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 80px 1fr;
}

.eap-policy-page {
  margin: 0 auto;
  max-width: 1100px;
  padding: 4rem 3rem;
}

.eap-policy-hero {
  margin-bottom: 2rem;
  max-width: 760px;
}

.eap-policy-hero h1 {
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 1;
  margin: .35rem 0 1rem;
}

.eap-policy-hero p {
  color: var(--eap-muted);
  font-size: 1.35rem;
  line-height: 1.35;
}

.eap-policy-content {
  display: grid;
  gap: 1.75rem;
}

.eap-policy-content article {
  background: color-mix(in srgb, var(--eap-surface) 72%, white);
  border: 1px solid var(--eap-border);
  border-radius: 12px;
  display: grid;
  gap: .75rem;
  padding: clamp(1.15rem, 2.2vw, 1.6rem);
}

.eap-policy-content h2 {
  color: var(--eap-ink);
  font-size: 1.35rem;
  margin: 0;
}

.eap-policy-content p {
  margin: 0;
}

.eap-policy-content a {
  color: var(--eap-primary);
  font-weight: 900;
}

@media (min-width: 980px) {
  .eap-announcement-bar {
    display: none;
  }

  .eap-marketing-page .mobile-app-header.eap-web-header {
    background: color-mix(in srgb, var(--eap-surface) 96%, transparent);
    border-bottom: 1px solid var(--eap-border);
    display: flex;
    gap: .45rem;
    height: 112px;
    margin: 0;
    max-width: none;
    padding: 0 clamp(24px, 3vw, 42px);
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .eap-marketing-page .eap-web-header .brand img {
    height: clamp(54px, 5vw, 72px);
    object-fit: contain;
    width: clamp(170px, 16vw, 230px);
  }

  .eap-marketing-page .eap-web-header .brand span {
    display: none;
    line-height: 1;
  }

  .eap-marketing-page .eap-web-header .brand {
    flex: 0 0 auto;
    min-width: 0;
  }

  .eap-marketing-page .eap-header-user {
    background: color-mix(in srgb, var(--eap-accent-soft) 72%, transparent);
    border: 1px solid var(--eap-border);
    border-radius: 999px;
    color: var(--eap-ink);
    margin-left: auto;
    padding: .35rem .8rem .35rem .35rem;
  }

  .eap-marketing-page .eap-header-tenant-brand {
    border-left-color: var(--eap-border);
    padding-left: .55rem;
  }

  .eap-marketing-page .eap-header-tenant-brand img,
  .eap-marketing-page .eap-header-tenant-fallback {
    height: 46px;
    width: 46px;
  }

  .eap-marketing-page .eap-header-tenant-brand strong {
    max-width: clamp(120px, 13vw, 220px);
  }

  .eap-marketing-page .eap-header-user .eap-avatar {
    height: 36px;
    width: 36px;
  }

  .eap-marketing-page .eap-header-user strong {
    max-width: clamp(110px, 12vw, 180px);
  }

  .eap-marketing-page .eap-web-header .brand-copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 2.7vw, 3rem);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: lowercase;
    white-space: nowrap;
  }

  .eap-marketing-page .eap-web-header .brand-copy strong span {
    color: var(--eap-primary);
    display: inline;
  }

  .eap-marketing-page .eap-web-header .brand-copy strong b {
    color: #7a5139;
    font: inherit;
  }

  .eap-marketing-page .eap-web-header .brand-copy small {
    color: #7a5139;
    font-size: clamp(.82rem, 1vw, 1.05rem);
    font-weight: 800;
    letter-spacing: 0;
    margin-top: .1rem;
    text-transform: none;
    white-space: nowrap;
  }

  .eap-marketing-page .top-actions {
    display: flex;
    flex: 1 1 auto;
    gap: clamp(.85rem, 1.4vw, 1.55rem);
    justify-content: flex-end;
  }

  .eap-marketing-page .top-actions .small-link {
    align-items: center;
    color: var(--eap-ink);
    display: inline-flex;
    font-size: clamp(.88rem, 1vw, 1rem);
    min-height: 44px;
    padding: 0 .2rem;
    position: relative;
    white-space: nowrap;
  }

  .eap-marketing-page .top-actions .small-link.active {
    color: var(--eap-primary);
  }

  .eap-marketing-page .top-actions .small-link.active::after {
    background: var(--eap-primary);
    border-radius: 999px;
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
  }

  .eap-marketing-page .top-actions .login-link {
    background: transparent;
    border: 1.5px solid var(--eap-primary);
    border-radius: 7px;
    color: var(--eap-primary);
    justify-content: center;
    min-width: clamp(92px, 9vw, 106px);
    padding-inline: 1rem;
  }

  .eap-marketing-page .top-actions .book-now-link {
    background: var(--eap-primary);
    border-radius: 7px;
    color: white;
    justify-content: center;
    min-width: clamp(112px, 10vw, 132px);
    padding-inline: 1.1rem;
  }

  .eap-marketing-page .top-actions .book-now-link.active,
  .eap-marketing-page .top-actions .book-now-link:visited {
    color: white;
  }

  .eap-marketing-page .top-actions .book-now-link.active::after {
    content: none;
  }

  .eap-home-page .mobile-app-header.eap-web-header {
    top: 0;
  }
}

@media (max-width: 979px) {
  .eap-marketing-page {
    background: var(--eap-bg);
  }

  .eap-marketing-page .mobile-app-header {
    background: color-mix(in srgb, var(--eap-surface) 97%, transparent);
    border-bottom: 1px solid var(--eap-border);
    box-shadow: 0 7px 18px rgba(8, 43, 31, .08);
    display: flex;
    margin: 0;
    max-width: none;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 30;
  }

  .eap-marketing-page .mobile-app-header .brand {
    gap: .6rem;
  }

  .eap-marketing-page .mobile-app-header .brand img {
    display: block;
    height: 50px;
    object-fit: contain;
    width: 190px;
  }

  .eap-marketing-page .mobile-app-header .brand span {
    display: none;
    line-height: 1;
  }

  .eap-marketing-page .mobile-app-header .brand-copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    font-weight: 900;
    text-transform: lowercase;
  }

  .eap-marketing-page .mobile-app-header .brand-copy strong span {
    color: var(--eap-primary);
    display: inline;
  }

  .eap-marketing-page .mobile-app-header .brand-copy strong b {
    color: #7a5139;
    font: inherit;
  }

  .eap-marketing-page .mobile-app-header .brand-copy small {
    color: #7a5139;
    font-size: clamp(.72rem, 2.7vw, .88rem);
    font-weight: 800;
    letter-spacing: 0;
    margin-top: .08rem;
    text-transform: none;
    white-space: nowrap;
  }

  .eap-marketing-page .eap-header-user {
    display: none;
  }

  .eap-marketing-page .eap-header-tenant-brand {
    display: none;
  }

  .eap-marketing-page .top-actions {
    display: none;
  }

  .eap-mobile-menu-backdrop {
    background: rgba(8, 32, 24, .44);
    display: block;
    inset: 0;
    position: fixed;
    z-index: 80;
  }

  .eap-mobile-menu-backdrop[hidden] {
    display: none;
  }

  .eap-mobile-drawer {
    background:
      radial-gradient(ellipse at 92% 0%, color-mix(in srgb, var(--eap-accent) 22%, transparent), transparent 12rem),
      var(--eap-bg);
    border: 1px solid var(--eap-border);
    border-radius: 18px 0 0 18px;
    box-shadow: -18px 0 44px rgba(8, 43, 31, .18);
    display: grid;
    gap: .45rem;
    max-width: min(355px, calc(100vw - 30px));
    padding: 1.2rem;
    position: fixed;
    right: 0;
    top: 0;
    width: 86vw;
    z-index: 90;
  }

  .eap-mobile-drawer[hidden] {
    display: none;
  }

  .eap-mobile-drawer-head {
    align-items: center;
    border-bottom: 1px solid rgba(15, 74, 47, .1);
    display: flex;
    justify-content: space-between;
    margin-bottom: .4rem;
    padding-bottom: .9rem;
  }

  .eap-mobile-drawer-head strong {
    color: #5c3f2d;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
  }

  .eap-mobile-menu-close {
    background: rgba(255, 255, 252, .9);
    border: 1px solid rgba(15, 74, 47, .14);
    border-radius: 999px;
    color: #1f2925;
    min-height: 44px;
    padding: 0 .85rem;
  }

  .eap-mobile-drawer a {
    align-items: center;
    border-radius: 12px;
    color: var(--eap-ink);
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    min-height: 52px;
    padding: .75rem .95rem;
    text-decoration: none;
  }

  .eap-mobile-drawer a::after {
    content: ">";
  }

  .eap-mobile-drawer a.active {
    background: var(--eap-primary-soft);
    color: var(--eap-primary);
  }

  .eap-mobile-drawer a.primary {
    background: var(--eap-primary);
    color: white;
  }

  .eap-mobile-drawer-tenant,
  .eap-mobile-drawer-user {
    align-items: center;
    background: color-mix(in srgb, var(--eap-accent-soft) 72%, transparent);
    border: 1px solid var(--eap-border);
    border-radius: 999px;
    display: inline-flex;
    gap: .6rem;
    margin-top: .4rem;
    padding: .45rem .8rem .45rem .45rem;
  }

  .eap-mobile-drawer-tenant img,
  .eap-mobile-drawer-tenant .eap-header-tenant-fallback {
    height: 38px;
    width: 38px;
  }

  .eap-mobile-drawer-tenant img {
    background: white;
    object-fit: contain;
    padding: .2rem;
  }

  .eap-mobile-drawer-tenant strong,
  .eap-mobile-drawer-user strong {
    color: var(--eap-ink);
    font-weight: 900;
  }

  .eap-mobile-logout-form {
    margin: 0;
  }

  .eap-mobile-logout-form button {
    align-items: center;
    background: transparent;
    border: 1.5px solid var(--eap-primary);
    border-radius: 7px;
    color: var(--eap-primary);
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    justify-content: center;
    min-height: 50px;
    padding: 0 1rem;
    width: 100%;
  }

  .eap-mobile-drawer p {
    align-items: center;
    color: #5c3f2d;
    display: flex;
    gap: .55rem;
    margin: .7rem 0 0;
  }

  .eap-marketing-page .eap-mobile-menu-button {
    align-items: center;
    background: transparent;
    border: 0;
    display: grid;
    gap: 7px;
    height: 54px;
    justify-items: center;
    padding: 0;
    width: 54px;
  }

  .eap-marketing-page .eap-mobile-menu-button span {
    background: var(--eap-primary);
    border-radius: 999px;
    display: block;
    height: 4px;
    width: 31px;
  }

  .eap-home-hero,
  .eap-login-layout,
  .eap-contact-layout {
    display: block;
  }

  .eap-org-hero {
    display: flex;
    flex-direction: column-reverse;
  }

  .eap-home-hero {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .9) 52%, rgba(255, 253, 248, .3) 100%),
      var(--eap-tenant-hero-image, url("/assets/eap-hallway-wide.png")) right top / 56% auto no-repeat;
    min-height: 0;
    padding: 0 18px 1.6rem;
  }

  body.eap-site-page.eap-home-page .eap-home-hero.eap-tenant-home-hero {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .88) 48%, rgba(255, 253, 248, .34) 100%),
      var(--eap-tenant-hero-image, url("/assets/eap-hallway-wide.png")) center / cover no-repeat;
  }

  .eap-contact-hero {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .9) 52%, rgba(255, 253, 248, .36) 100%),
      url("/assets/eap-contact-support.png") right top / 62% auto no-repeat;
  }

  .eap-home-copy {
    padding: 3.6rem 0 0;
  }

  .eap-home-copy h1 {
    font-size: clamp(2.65rem, 11vw, 3.6rem);
    line-height: 1.08;
    max-width: 8.5ch;
  }

  .eap-home-copy > p {
    font-size: 1.42rem;
    max-width: 16rem;
  }

  .eap-marketing-actions {
    display: grid;
    gap: .75rem;
    margin-top: 2rem;
  }

  .eap-marketing-actions .action-button {
    border-radius: 999px;
    font-size: 1.25rem;
    justify-content: center;
    min-height: 62px;
    position: relative;
  }

  .eap-marketing-actions .action-button .button-icon {
    left: 28px;
    position: absolute;
  }

  .eap-marketing-trust {
    background: transparent;
    border: 0;
    box-shadow: none;
    grid-template-columns: 36px 1fr;
    justify-content: center;
    margin: 1rem auto;
    max-width: max-content;
    padding: 0;
  }

  .eap-marketing-trust .button-icon {
    height: 32px;
    width: 32px;
  }

  .eap-marketing-trust p {
    display: none;
  }

  .eap-home-image {
    display: none;
  }

  .eap-home-team {
    display: block;
    padding: 0 18px;
  }

  .eap-home-team-copy,
  .eap-home-audiences,
  .eap-home-tools {
    display: none;
  }

  .eap-brown-strip {
    font-size: 1.2rem;
  }

  .eap-booking-marketing-page .booking-hero-card {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .9) 52%, rgba(255, 253, 248, .3) 100%),
      url("/assets/eap-booking-hero-web-v2.png") right top / 56% auto no-repeat;
    display: block;
    min-height: 0;
    padding: 0 18px 1.6rem;
  }

  .eap-booking-marketing-page .booking-hero-card h1 {
    font-size: clamp(3.1rem, 13vw, 4.25rem);
    line-height: 1.08;
    max-width: 8.5ch;
  }

  .eap-booking-marketing-page .booking-hero-card .lead {
    font-size: 1.42rem;
    max-width: 16rem;
  }

  .eap-booking-marketing-page .booking-hero-art {
    display: none;
  }

  .eap-booking-marketing-page .booking-layout {
    display: block;
    padding: 0 18px;
  }

  .eap-booking-marketing-page .booking-info-card,
  .eap-booking-marketing-page .booking-action-card {
    border-radius: 0;
    padding: 1.2rem 0;
  }

  .eap-booking-marketing-page .booking-info-card {
    display: block;
  }

  .eap-booking-marketing-page .booking-action-card {
    background: transparent;
  }

  .eap-booking-marketing-page .booking-info-card h2,
  .eap-booking-marketing-page .booking-action-card h2 {
    font-size: 1.45rem;
  }

  .eap-booking-marketing-page .booking-steps-section {
    margin: 1.6rem 18px;
    padding: 0;
  }

  .eap-booking-marketing-page .booking-steps-grid {
    grid-template-columns: 1fr;
  }

  .eap-about-values.eap-home-tools {
    display: block;
    margin: 1.6rem 18px;
    padding: 0;
  }

  .eap-dashboard-hero {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .9) 52%, rgba(255, 253, 248, .3) 100%),
      url("/assets/eap-login-abstract.png") right top / 56% auto no-repeat;
  }

  .eap-dashboard-session {
    grid-template-columns: 36px 1fr;
    max-width: none;
  }

  .eap-dashboard-session form {
    grid-column: 1 / -1;
  }

  .eap-dashboard-session .action-button {
    margin-top: .5rem;
    width: 100%;
  }

  .eap-dashboard-summary.eap-home-team {
    display: block;
    padding: 1.6rem 18px 0;
  }

  .eap-dashboard-summary .eap-home-team-copy,
  .eap-dashboard-summary .eap-home-audiences,
  .eap-dashboard-resources.eap-home-tools {
    display: grid;
  }

  .eap-dashboard-summary .eap-home-team-copy {
    padding: 0 0 1rem;
  }

  .eap-dashboard-summary .eap-home-audiences {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .eap-dashboard-resources.eap-home-tools {
    margin: 1.6rem 18px;
    padding: 0;
  }

  .eap-dashboard-resource-grid {
    grid-template-columns: 1fr;
  }

  .eap-content-hero {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .9) 52%, rgba(255, 253, 248, .3) 100%),
      url("/assets/eap-login-abstract.png") right top / 56% auto no-repeat;
  }

  .eap-content-topics.eap-home-tools,
  .eap-content-resources {
    display: block;
    margin: 1.6rem 18px;
    padding: 0;
  }

  .eap-content-search-hero {
    grid-template-columns: 1fr;
    margin: 0 18px;
    padding: 1.2rem 0 .2rem;
  }

  .eap-content-search-hero h1 {
    font-size: 2.45rem;
  }

  .eap-dashboard-home,
  .eap-upcoming-booking-section {
    margin: 0 18px;
    padding: 1.2rem 0 0;
    width: auto;
  }

  .eap-dashboard-greeting h1 {
    font-size: 2.25rem;
  }

  .eap-dashboard-actions-grid {
    grid-template-columns: 1fr;
  }

  .eap-dashboard-action-card {
    min-height: 0;
  }

  .eap-upcoming-booking-card {
    align-items: stretch;
    display: grid;
  }

  .eap-upcoming-booking-summary {
    display: none;
  }

  .eap-upcoming-booking-card .action-button {
    justify-content: center;
    width: 100%;
  }

  .eap-popular-topics,
  .eap-recommended-section,
  .eap-browse-categories {
    margin: 1.6rem 18px;
    padding: 0;
    width: auto;
  }

  .eap-popular-topic-row,
  .eap-recommended-grid,
  .eap-browse-categories .library-topic-grid {
    grid-template-columns: 1fr;
  }

  .eap-content-topics.eap-browse-categories .library-topic-card {
    min-height: 112px;
  }

  .eap-content-resource-grid {
    grid-template-columns: 1fr;
  }

  .eap-content-card-grid {
    grid-template-columns: 1fr;
  }

  .eap-content-carousel {
    grid-auto-columns: minmax(82vw, 1fr);
  }

  .eap-content-image-card {
    aspect-ratio: 3 / 4;
    background:
      linear-gradient(180deg, rgba(6, 33, 24, .08) 0%, rgba(6, 33, 24, .44) 52%, rgba(6, 33, 24, .86) 100%),
      var(--content-image-mobile) center / cover no-repeat;
    min-height: 360px;
  }

  .eap-category-card-grid {
    grid-template-columns: 1fr;
  }

  .eap-content-resource-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .eap-content-resource-card em {
    grid-column: 2;
  }

  .eap-content-detail {
    padding: 1.4rem 18px 0;
  }

  .eap-content-detail-hero,
  .eap-content-detail-body {
    display: block;
  }

  .eap-content-detail-image {
    background:
      linear-gradient(180deg, rgba(6, 33, 24, .02), rgba(6, 33, 24, .22)),
      var(--content-detail-image-mobile) center / cover no-repeat;
    min-height: 280px;
  }

  .eap-content-detail-hero > div {
    padding: 2.2rem 0 1.4rem;
  }

  .eap-content-detail-hero h1 {
    font-size: clamp(3rem, 12vw, 4.25rem);
    line-height: 1.08;
    max-width: 9ch;
  }

  .eap-content-detail-hero p:not(.eap-about-eyebrow) {
    font-size: 1.25rem;
    max-width: 18rem;
  }

  .eap-content-detail-body section,
  .eap-content-detail-body .safety-note {
    margin-bottom: 1rem;
    padding: 1.1rem;
  }

  .eap-content-detail-actions {
    display: grid;
    gap: .75rem;
  }

  .eap-video-detail {
    padding: 1.4rem 18px 0;
  }

  .eap-video-header h1 {
    font-size: clamp(2.75rem, 11vw, 4rem);
  }

  .eap-video-player-shell {
    border-radius: 14px;
    padding: .45rem;
  }

  .eap-video-body {
    display: block;
  }

  .eap-manager-page-head {
    align-items: stretch;
    display: grid;
    margin: 1.8rem 18px 0;
    padding: 0;
  }

  .eap-manager-people-layout {
    display: block;
    margin: 1.6rem 18px;
    padding: 0;
  }

  .eap-manager-report-grid {
    grid-template-columns: 1fr;
    margin: 1.6rem 18px 1rem;
    padding: 0;
  }

  .eap-manager-reports-page > .eap-manager-panel {
    margin: 1rem 18px 1.8rem;
  }

  .eap-manager-section-head {
    align-items: start;
    display: grid;
  }

  .eap-content-search-form,
  .eap-category-search-form {
    grid-template-columns: 1fr;
  }

  .eap-content-page-head > .eap-content-search-form {
    width: 100%;
  }

  .eap-content-page-head {
    display: grid;
    margin: 1.8rem 18px 0;
    padding: 0;
    grid-template-columns: 1fr;
  }

  .eap-content-page-head h1 {
    font-size: clamp(3rem, 12vw, 4.2rem);
  }

  .eap-content-search-page {
    margin: 1.8rem 18px 0;
    padding: 0;
  }

  .eap-manager-panel,
  .eap-manager-toast {
    margin-bottom: 1rem;
  }

  .eap-manager-toast,
  .eap-manager-panel {
    margin-left: 18px;
    margin-right: 18px;
  }

  .eap-manager-table {
    overflow-x: visible;
  }

  .eap-manager-table-head {
    display: none;
  }

  .eap-manager-table-row {
    align-items: stretch;
    background: color-mix(in srgb, var(--eap-surface) 76%, white);
    border: 1px solid var(--eap-border);
    border-radius: 12px;
    display: grid;
    gap: .75rem;
    grid-template-columns: 1fr;
    margin-bottom: .9rem;
    min-width: 0;
    padding: .9rem;
  }

  .eap-manager-user-avatar {
    border-radius: 12px;
    height: 48px;
    width: 48px;
  }

  .eap-manager-inline-action,
  .eap-manager-inline-action .action-button,
  .eap-manager-add-row .action-button {
    width: 100%;
  }

  .eap-about-team-band.eap-home-team {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin: 1.6rem 18px;
    padding: 0;
  }

  .eap-about-team-band.eap-home-team > div,
  .eap-about-team-band.eap-home-team article {
    padding: 1rem;
  }

  .eap-contact-layout.eap-home-team {
    display: block;
    padding: 1.6rem 18px;
  }

  .eap-contact-layout .eap-contact-trust-band {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  .eap-org-hero {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .9) 52%, rgba(255, 253, 248, .3) 100%),
      url("/assets/eap-manager-abstract.png") right top / 56% auto no-repeat;
  }

  .eap-org-hero > div {
    padding: 3.6rem 0 0;
  }

  .eap-org-hero h1 {
    font-size: clamp(2.55rem, 9.5vw, 3.45rem);
    max-width: 8.5ch;
  }

  .eap-org-hero p {
    font-size: 1.28rem;
    max-width: 16rem;
  }

  .eap-org-tools {
    display: grid;
    gap: .8rem;
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 0 28px 1.4rem;
  }

  .eap-org-tool-card {
    align-items: center;
    column-gap: 1rem;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    grid-template-areas:
      "icon title arrow"
      "icon text arrow";
    grid-template-rows: auto auto;
    justify-items: start;
    min-height: 112px;
    padding: .9rem 1rem;
    text-align: left;
  }

  .eap-org-tool-card .about-value-icon {
    grid-area: icon;
  }

  .eap-org-tool-card strong {
    align-self: end;
    grid-area: title;
  }

  .eap-org-tool-card p {
    grid-area: text;
    margin: .1rem 0 0;
  }

  .eap-org-tool-card em {
    align-self: center;
    font-size: 2rem;
    grid-area: arrow;
  }

  .eap-org-cta-band {
    border-radius: 0;
    margin: 0;
  }

  .eap-org-cta-band > div {
    display: grid;
    width: 100%;
  }

  .eap-login-image {
    background-image: url("/assets/eap-login-abstract.png");
    min-height: 340px;
  }

  .eap-login-content {
    display: block;
    padding: 0 18px 2rem;
  }

  .eap-login-panel {
    background: rgba(255, 255, 252, .96);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(8, 43, 31, .12);
    margin: -56px auto 1.6rem;
    max-width: none;
    padding: 2rem 1.4rem;
    position: relative;
  }

  .eap-login-panel h1 {
    font-size: clamp(2.3rem, 9vw, 3.1rem);
    text-align: center;
  }

  .eap-login-page .input-with-icon input {
    font-size: .93rem;
    padding-left: 2.75rem;
  }

  .eap-login-panel > p {
    font-size: 1.12rem;
    text-align: center;
  }

  .eap-login-bottom {
    display: block;
  }

  .eap-login-bottom article {
    align-items: flex-start;
    display: grid;
    gap: .75rem;
    grid-template-columns: 36px 1fr;
  }

  .eap-login-bottom article .button-icon {
    margin-top: .2rem;
  }

  .eap-login-bottom img {
    display: none;
  }

  .eap-contact-layout {
    padding: 2rem 18px;
  }

  .eap-contact-copy h1 {
    font-size: clamp(2.7rem, 10.5vw, 3.55rem);
    white-space: normal;
  }

  .eap-contact-copy > p {
    font-size: 1.35rem;
  }

  .eap-contact-form-card {
    padding: 1.2rem;
  }

  .eap-contact-trust-band {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 18px 2rem;
    padding: 1.2rem;
  }
}

body.eap-marketing-page.eap-about-page-body .eap-web-header .brand::after,
body.eap-marketing-page.eap-about-page-body .mobile-app-header .brand::before {
  content: none !important;
  display: none !important;
}

body.eap-marketing-page.eap-about-page-body .eap-web-header .brand,
body.eap-marketing-page.eap-about-page-body .mobile-app-header .brand {
  max-width: min(330px, 32vw);
}

body.eap-marketing-page.eap-about-page-body .eap-web-header .brand img {
  display: block !important;
  height: clamp(54px, 5vw, 72px) !important;
  width: clamp(210px, 22vw, 310px) !important;
}

body.eap-marketing-page.eap-about-page-body .eap-web-header .brand > span,
body.eap-marketing-page.eap-about-page-body .mobile-app-header .brand > span {
  display: none !important;
}

body.eap-marketing-page.eap-about-page-body .mobile-app-header .brand img {
  display: block !important;
  height: 50px !important;
  width: 190px !important;
}

@media (max-width: 979px) {
  body.eap-marketing-page.eap-about-page-body .mobile-app-header .brand {
    max-width: calc(100vw - 92px);
  }
}

@media (min-width: 980px) and (max-width: 1250px) {
  .eap-marketing-page .mobile-app-header.eap-web-header {
    padding-inline: 20px;
  }

  .eap-marketing-page .eap-web-header .brand,
  body.eap-marketing-page.eap-about-page-body .eap-web-header .brand {
    flex-basis: 290px;
    min-width: 290px;
  }

  .eap-marketing-page .eap-web-header .brand img,
  body.eap-marketing-page.eap-about-page-body .eap-web-header .brand img {
    height: 52px !important;
    width: 220px !important;
  }

  .eap-marketing-page .eap-web-header .brand-copy strong {
    font-size: 2.25rem;
  }

  .eap-marketing-page .eap-web-header .brand-copy small {
    font-size: .82rem;
  }

  .eap-marketing-page .top-actions {
    gap: .65rem;
  }

  .eap-marketing-page .top-actions .small-link {
    font-size: .9rem;
  }

  .eap-marketing-page .book-now-link,
  .eap-marketing-page .login-link {
    min-width: 104px;
    padding-inline: .85rem;
  }
}

body.eap-content-page.is-eap-authenticated {
  background: #fbfaf6;
  color: #10192d;
  font-family: "Inter", var(--font-body);
}

.eap-dashboard-canvas {
  background: transparent;
  min-height: 100%;
  overflow: hidden;
  padding: 2.45rem clamp(1.15rem, 4.4vw, 4rem) 1.4rem;
  position: relative;
}

.eap-dashboard-canvas::before {
  background: url("/assets/eap-dashboard-leaves.svg") right -34px top -28px / min(36vw, 460px) auto no-repeat;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 42%, black 74%), linear-gradient(180deg, black 0%, rgba(0, 0, 0, .82) 62%, transparent 100%);
  mask-composite: intersect;
  opacity: .46;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.eap-dashboard-canvas > * {
  position: relative;
  z-index: 1;
}

body.eap-content-page.is-eap-authenticated .eap-web-header,
body.eap-content-page.is-eap-authenticated .eap-dashboard-canvas,
body.eap-content-page.is-eap-authenticated .eap-web-footer,
body.eap-content-page.is-eap-authenticated .eap-global-message-band {
  font-family: "Inter", var(--font-body);
}

body.is-eap-authenticated :is(h1, h2, h3, h4, h5, h6, strong, button, input, select, textarea, a, p, small, span, label, th, td) {
  font-family: "Inter", var(--font-body);
}

body.is-eap-authenticated .eap-manager-page-head h1,
body.is-eap-authenticated .eap-org-tool-card strong,
body.is-eap-authenticated .eap-org-hero h1,
body.is-eap-authenticated .eap-global-message-band strong,
body.is-eap-authenticated .eap-global-message-band em {
  font-family: "Inter", var(--font-body);
}

.eap-content-page .eap-content-section-head {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.eap-content-page .eap-content-section-head h2 {
  align-items: center;
  color: #111b31;
  display: inline-flex;
  font-size: 1.28rem;
  font-weight: 950;
  gap: .55rem;
  letter-spacing: 0;
  margin: 0;
}

.eap-content-page .eap-content-section-head h2 .button-icon {
  color: var(--tenant-primary, #07552f);
  height: 22px;
  width: 22px;
}

.eap-content-page .eap-content-section-head a {
  align-items: center;
  color: var(--tenant-primary, #07552f);
  display: inline-flex;
  font-size: .93rem;
  font-weight: 950;
  gap: .45rem;
}

.eap-content-page .eap-content-section-head a::after {
  content: ">";
  font-size: 1.05rem;
  line-height: 1;
}

.eap-dashboard-home {
  max-width: 1340px;
  padding: 0;
}

.eap-dashboard-greeting {
  margin-bottom: 1.35rem;
}

.eap-dashboard-greeting h1 {
  color: #111b31;
  font-size: clamp(2.45rem, 4vw, 3.55rem);
  font-weight: 950;
  line-height: 1.02;
}

.eap-dashboard-greeting p {
  color: #4d596d;
  font-size: 1.05rem;
  font-weight: 750;
  margin: .55rem 0 0;
}

.eap-dashboard-actions-grid {
  gap: 1.05rem;
}

.eap-dashboard-action-card {
  align-items: start;
  border: 1px solid rgba(17, 27, 49, .12);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(15, 35, 31, .08);
  display: grid;
  gap: .8rem 1rem;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: minmax(84px, auto) auto;
  min-height: 168px;
  padding: 1.45rem 1.25rem 1.15rem;
}

.eap-dashboard-action-icon {
  align-items: center;
  align-self: start;
  background: #e9f3d8;
  border-radius: 999px;
  color: var(--tenant-primary, #07552f);
  display: inline-flex;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.eap-dashboard-action-card:nth-child(2) .eap-dashboard-action-icon {
  background: #dff1e6;
}

.eap-dashboard-action-card:nth-child(3) .eap-dashboard-action-icon {
  background: #e5eefb;
}

.eap-dashboard-action-card:nth-child(4) .eap-dashboard-action-icon {
  background: #f0e3f5;
}

.eap-dashboard-action-card .button-icon {
  background-color: currentColor;
  border-radius: 0;
  height: 32px;
  width: 32px;
}

.eap-dashboard-action-copy {
  display: grid;
  gap: .55rem;
  min-width: 0;
}

.eap-dashboard-action-card strong {
  color: #10192d;
  font-size: 1.05rem;
}

.eap-dashboard-action-card small {
  color: #4b576a;
  font-size: .94rem;
  font-weight: 650;
}

.eap-dashboard-action-cta {
  align-items: center;
  color: var(--tenant-primary, #07552f);
  display: flex;
  font-weight: 950;
  grid-column: 1 / -1;
  justify-content: space-between;
}

.eap-dashboard-action-cta .eap-card-arrow-icon {
  height: 18px;
  width: 18px;
}

.eap-content-page .eap-recommended-section,
.eap-content-page .eap-browse-categories,
.eap-upcoming-booking-section {
  max-width: 1340px;
  padding: 0;
}

.eap-content-page .eap-recommended-section {
  margin-top: 2rem;
}

.eap-content-page .eap-recommended-grid {
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eap-recommended-card {
  border: 1px solid rgba(17, 27, 49, .12);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(15, 35, 31, .08);
  grid-template-columns: minmax(190px, 45%) minmax(0, 1fr);
  grid-template-rows: none;
  min-height: 186px;
}

.eap-recommended-card-image {
  min-height: 186px;
  overflow: hidden;
  position: relative;
}

.eap-recommended-card-image img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.eap-recommended-card-image::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 88%);
  bottom: 0;
  content: "";
  pointer-events: none;
  position: absolute;
  right: -1px;
  top: 0;
  width: 34%;
}

.eap-recommended-card-image > span {
  background: #e9f3d8;
  border-radius: 999px;
  color: var(--tenant-primary, #07552f);
  font-size: .78rem;
  font-weight: 950;
  left: 1rem;
  padding: .34rem .65rem;
  position: absolute;
  top: 1rem;
}

.eap-recommended-card-body {
  align-content: center;
  gap: .75rem;
  grid-template-columns: auto auto minmax(20px, 1fr) auto;
  padding: 1.25rem;
}

.eap-recommended-card-body strong {
  font-size: 1.15rem;
}

.eap-recommended-card-body > span {
  font-size: .92rem;
  line-height: 1.42;
}

.eap-recommended-card-body small {
  align-items: center;
  color: #4f5a6d;
  display: inline-flex;
  font-size: .74rem;
  font-weight: 750;
  gap: .35rem;
  grid-column: auto;
}

.eap-recommended-card-body small + small {
  border-left: 1px solid rgba(17, 27, 49, .16);
  padding-left: .75rem;
}

.eap-recommended-card-body small .button-icon {
  height: 14px;
  width: 14px;
}

.eap-recommended-card-body .eap-card-arrow-icon {
  grid-column: 4;
  grid-row: 3;
}

.eap-content-page .eap-browse-categories {
  margin-top: 1.9rem;
}

.eap-content-page .eap-browse-categories .library-topic-grid {
  gap: 1.1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card {
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(15, 35, 31, .07);
  display: grid;
  gap: .85rem;
  grid-template-columns: 64px minmax(0, 1fr) 18px;
  justify-content: initial;
  min-height: 126px;
  padding: 1.2rem;
  text-align: left;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card .topic-image-shell {
  align-items: center;
  background: #e9f3d8;
  border-radius: 999px;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card:nth-child(2) .topic-image-shell {
  background: #dff1e6;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card:nth-child(3) .topic-image-shell {
  background: #e5eefb;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card:nth-child(4) .topic-image-shell {
  background: #f0e3f5;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card:nth-child(5) .topic-image-shell {
  background: #f9dfe9;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card .topic-image {
  height: 34px;
  width: 34px;
}

.eap-content-page .eap-content-topics.eap-browse-categories .topic-copy {
  display: grid;
  gap: .35rem;
  min-width: 0;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card strong {
  font-size: .94rem;
  line-height: 1.18;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card small {
  color: #465267;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.35;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card .eap-card-arrow-icon {
  align-self: end;
}

.eap-content-list-grid {
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eap-content-list-grid .eap-content-empty-state {
  grid-column: 1 / -1;
}

.eap-content-list-grid .eap-recommended-card {
  min-height: 186px;
}

.eap-categories-page .eap-categories-page-head {
  align-items: end;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
}

.eap-categories-page .eap-categories-page-head .action-button {
  flex: 0 0 auto;
}

.eap-content-page .eap-categories-page .eap-all-categories {
  margin-top: 2.1rem;
}

.eap-content-page .eap-categories-page .eap-all-categories .library-topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.eap-content-page .eap-categories-page .eap-all-categories .library-topic-card {
  align-items: center;
  align-content: start;
  min-height: 118px;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.eap-content-page .eap-categories-page .eap-all-categories .eap-content-empty-state {
  grid-column: 1 / -1;
}

.eap-manager-people-canvas .eap-manager-page-head {
  align-items: start;
  display: block;
  margin: 0 auto;
  max-width: 1340px;
  padding: 0;
}

.eap-manager-people-stats {
  display: grid;
  gap: 1.05rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.35rem auto 0;
  max-width: 1340px;
}

.eap-manager-people-stats article {
  align-items: center;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(17, 27, 49, .12);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(15, 35, 31, .07);
  display: grid;
  gap: .15rem .85rem;
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 104px;
  padding: 1.05rem;
}

.eap-manager-people-stats .button-icon {
  background-color: currentColor;
  color: var(--tenant-primary, #07552f);
  grid-row: span 2;
  height: 30px;
  justify-self: center;
  width: 30px;
}

.eap-manager-people-stats article::before {
  background: #e9f3d8;
  border-radius: 999px;
  content: "";
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 54px;
  width: 54px;
}

.eap-manager-people-stats article > .button-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: relative;
  z-index: 1;
}

.eap-manager-people-stats strong {
  color: #111b31;
  font-size: 1.75rem;
  font-weight: 950;
  line-height: 1;
}

.eap-manager-people-stats small {
  color: #4b576a;
  font-size: .88rem;
  font-weight: 750;
}

.eap-manager-people-canvas .eap-manager-toast {
  background: #f4faf4;
  border-color: rgba(7, 85, 47, .18);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 35, 31, .06);
  color: #0b4f2e;
  margin: 1.35rem auto 0;
  max-width: 1340px;
}

.eap-manager-people-canvas .eap-manager-people-layout {
  margin: 1.35rem auto 0;
  max-width: 1340px;
  padding: 0;
}

.eap-manager-people-canvas .eap-manager-panel {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(17, 27, 49, .12);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(15, 35, 31, .08);
  overflow: hidden;
  padding: 0;
}

.eap-manager-people-canvas .eap-manager-inline-invite {
  background: #f4faf4;
  border-color: rgba(7, 85, 47, .18);
  border-radius: 10px;
  margin: 1rem;
}

.eap-manager-people-canvas .eap-manager-table {
  overflow-x: auto;
}

.eap-manager-people-canvas .eap-manager-table-head,
.eap-manager-people-canvas .eap-manager-table-row {
  border-bottom-color: rgba(17, 27, 49, .1);
  margin: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}

.eap-manager-people-canvas .eap-manager-table-head {
  background: #f7faf3;
  color: #5b6475;
}

.eap-manager-people-canvas .eap-manager-add-row {
  background: #fbfcf8;
  border-radius: 0;
}

.eap-manager-people-canvas .eap-manager-table input {
  border-color: rgba(17, 27, 49, .14);
  border-radius: 8px;
  min-height: 46px;
}

.eap-manager-people-canvas .eap-manager-user-avatar {
  background: #e4f0cf;
  border: 0;
  border-radius: 999px;
  color: var(--tenant-primary, #07552f);
}

.eap-manager-people-canvas .eap-manager-employee-cell strong {
  color: #111b31;
}

.eap-manager-people-canvas .eap-manager-email-cell {
  color: var(--tenant-primary, #07552f);
}

.eap-manager-toolkit-canvas .eap-org-hero {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(17, 27, 49, .1);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(15, 35, 31, .08);
  margin: 0 auto;
  max-width: 1340px;
  overflow: hidden;
}

.eap-manager-toolkit-canvas .eap-org-hero h1 {
  color: #111b31;
  font-family: "Inter", var(--font-body);
  font-size: clamp(2.45rem, 4vw, 3.55rem);
  max-width: 16ch;
}

.eap-manager-toolkit-canvas .eap-org-hero p {
  color: #4d596d;
  font-size: 1.05rem;
  font-weight: 650;
  max-width: 48rem;
}

.eap-manager-toolkit-canvas .eap-org-tools {
  gap: 1.35rem;
  margin: 1.35rem auto 0;
  max-width: 1340px;
  padding: 0;
}

.eap-manager-toolkit-canvas .eap-org-tool-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(17, 27, 49, .12);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(15, 35, 31, .08);
}

.eap-manager-toolkit-canvas .eap-org-tool-card strong {
  color: #111b31;
  font-family: "Inter", var(--font-body);
  font-size: 1.08rem;
}

.eap-manager-toolkit-canvas .eap-org-tool-card p {
  color: #4b576a;
  font-size: .94rem;
}

.eap-manager-toolkit-canvas .eap-org-cta-band {
  border-radius: 10px;
  margin: 1.35rem auto 0;
  max-width: 1340px;
}

.eap-booking-canvas .eap-booking-page {
  display: grid;
  gap: 1.35rem;
}

.eap-booking-canvas .booking-hero-card,
.eap-booking-canvas .booking-layout,
.eap-booking-canvas .booking-steps-section {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(17, 27, 49, .1);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(15, 35, 31, .08);
  margin: 0 auto;
  max-width: 1340px;
  overflow: hidden;
  width: 100%;
}

.eap-booking-canvas .booking-hero-card h1 {
  color: #111b31;
  font-size: clamp(2.45rem, 4vw, 3.55rem);
  max-width: 16ch;
}

.eap-booking-canvas .booking-hero-card .lead {
  color: #4d596d;
  font-size: 1.05rem;
  font-weight: 650;
  max-width: 48rem;
}

.eap-booking-canvas .booking-layout {
  background: rgba(255, 255, 255, .94);
}

.eap-booking-canvas .booking-steps-section {
  padding: 1.35rem;
}

.eap-booking-canvas .booking-note-list div,
.eap-booking-canvas .booking-steps-grid article {
  background: #fbfcf8;
  border: 1px solid rgba(17, 27, 49, .1);
  border-radius: 10px;
}

.eap-booking-canvas .booking-action-card {
  background: #f4faf4;
}

@media (min-width: 980px) {
  body.eap-content-page.is-eap-authenticated {
    padding-bottom: 0;
  }

  body.eap-content-page.is-eap-authenticated .mobile-app-header.eap-web-header {
    background: rgba(255, 255, 253, .98);
    border: 1px solid rgba(17, 27, 49, .1);
    border-radius: 8px 8px 0 0;
    box-shadow: none;
    margin: 0;
    max-width: none;
    min-height: 104px;
    padding: 1.55rem clamp(2rem, 4vw, 4rem);
    width: 100%;
  }

  body.eap-content-page.is-eap-authenticated .eap-web-header .brand {
    border-right: 1px solid rgba(17, 27, 49, .12);
    flex-basis: auto;
    min-width: 0;
    padding-right: 2rem;
  }

  body.eap-content-page.is-eap-authenticated .eap-web-header .brand img {
    height: 54px !important;
    object-fit: contain;
    width: 178px !important;
  }

  body.eap-content-page.is-eap-authenticated .eap-header-tenant-brand {
    border-left: 0;
    padding-left: 0;
  }

  body.eap-content-page.is-eap-authenticated .eap-web-header .top-actions {
    align-items: center;
    gap: clamp(1.35rem, 2.45vw, 2.75rem);
    justify-content: center;
  }

  body.eap-content-page.is-eap-authenticated .eap-web-header .small-link {
    align-items: center;
    display: inline-flex;
    font-size: .96rem;
    gap: .5rem;
    min-height: 52px;
    padding-top: 0;
  }

  body.eap-content-page.is-eap-authenticated .eap-web-header .small-link .button-icon {
    height: 19px;
    width: 19px;
  }

  body.eap-content-page.is-eap-authenticated .eap-web-header .small-link.active {
    color: var(--eap-brand-primary, var(--tenant-primary, #07552f));
  }

  body.eap-content-page.is-eap-authenticated .eap-web-header .small-link.active::after {
    border-radius: 999px;
    bottom: 0;
    height: 3px;
  }

  body.eap-content-page.is-eap-authenticated .eap-web-header .book-now-link {
    align-items: center;
    background: linear-gradient(135deg, var(--eap-brand-primary, var(--tenant-primary, #0b5a34)), var(--eap-brand-primary-strong, color-mix(in srgb, var(--tenant-primary, #0b5a34) 78%, black)));
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(5, 61, 36, .16);
    color: white;
    font-weight: 900;
    justify-content: center;
    min-width: 124px;
    padding: 0 1.25rem;
  }

  body.eap-content-page.is-eap-authenticated .eap-web-header .book-now-link::after {
    display: none;
  }

  body.eap-content-page.is-eap-authenticated .eap-header-user {
    background: #fff;
    border: 1px solid rgba(17, 27, 49, .12);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(15, 35, 31, .07);
    gap: .65rem;
    min-height: 52px;
    padding: .35rem .3rem .35rem .45rem;
  }

  body.eap-content-page.is-eap-authenticated .eap-header-user .eap-avatar {
    background: var(--eap-brand-accent-soft, color-mix(in srgb, var(--tenant-accent, #c9de72) 28%, white));
    color: var(--eap-brand-primary, var(--tenant-primary, #07552f));
    font-size: .86rem;
    font-weight: 950;
    height: 40px;
    width: 40px;
  }

  body.eap-content-page.is-eap-authenticated .eap-header-user strong {
    align-items: center;
    display: inline-flex;
    gap: .55rem;
    max-width: 180px;
  }

  body.eap-content-page.is-eap-authenticated .eap-header-user strong::after {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
    display: inline-block;
    height: 6px;
    margin-top: -3px;
    transform: rotate(45deg);
    width: 6px;
  }

  body.eap-content-page.is-eap-authenticated .eap-header-logout-form {
    align-items: center;
    align-self: stretch;
    border-left: 1px solid rgba(17, 27, 49, .1);
    display: inline-flex;
    margin-left: .25rem;
    padding-left: .35rem;
  }

  body.eap-content-page.is-eap-authenticated .eap-header-logout-icon {
    background: transparent;
    color: var(--tenant-primary, #07552f);
    height: 38px;
    width: 38px;
  }

  body.eap-content-page.is-eap-authenticated .eap-app-shell {
    max-width: none;
    width: 100%;
  }

  body.eap-content-page.is-eap-authenticated .eap-workspace {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, .82), rgba(250, 252, 245, .9)),
      #fbfaf6;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    position: relative;
  }

  body.eap-content-page.is-eap-authenticated .eap-workspace::before {
    background: url("/assets/eap-dashboard-leaves.svg") right -34px top -28px / min(36vw, 460px) auto no-repeat;
    content: "";
    inset: 0;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .16) 42%, black 74%), linear-gradient(180deg, black 0%, rgba(0, 0, 0, .82) 62%, transparent 100%);
    mask-composite: intersect;
    opacity: .38;
    pointer-events: none;
    position: absolute;
    z-index: 0;
  }

  body.eap-content-page.is-eap-authenticated .eap-workspace > main {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 979px) {
  .eap-dashboard-canvas {
    padding: 1.25rem 1rem 1.2rem;
  }

  .eap-dashboard-canvas::before {
    background-size: 260px auto;
    opacity: .22;
    transform: translate(92px, -34px);
  }

  .eap-dashboard-home,
  .eap-upcoming-booking-section,
  .eap-content-page .eap-recommended-section,
  .eap-content-page .eap-browse-categories {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
    padding: 0;
  }

  .eap-dashboard-greeting h1 {
    font-size: 2.15rem;
  }

  .eap-dashboard-actions-grid,
  .eap-dashboard-actions-grid.employee,
  .eap-content-page .eap-recommended-grid,
  .eap-content-list-grid,
  .eap-content-page .eap-browse-categories .library-topic-grid {
    grid-template-columns: 1fr;
  }

  .eap-dashboard-action-card {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 0;
    padding: 1rem;
  }

  .eap-dashboard-action-icon {
    height: 50px;
    width: 50px;
  }

  .eap-dashboard-action-card .button-icon {
    height: 26px;
    width: 26px;
  }

  .eap-recommended-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .eap-recommended-card-image {
    min-height: 172px;
  }

  .eap-recommended-card-image::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 88%);
    height: 38%;
    left: 0;
    right: 0;
    top: auto;
    width: auto;
  }

  .eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card {
    grid-template-columns: 58px minmax(0, 1fr) 18px;
  }

  .eap-manager-people-stats {
    grid-template-columns: 1fr;
  }

  .eap-manager-people-canvas .eap-manager-page-head,
  .eap-manager-people-canvas .eap-manager-people-layout,
  .eap-manager-people-canvas .eap-manager-toast,
  .eap-manager-people-canvas .eap-manager-panel {
    margin-left: auto;
    margin-right: auto;
  }

  .eap-manager-people-canvas .eap-manager-table {
    overflow-x: visible;
  }

  .eap-manager-people-canvas .eap-manager-table-row {
    border-radius: 10px;
    margin: .8rem;
    padding: 1rem;
  }

  .eap-manager-people-canvas .eap-manager-add-row {
    border: 1px solid rgba(17, 27, 49, .1);
  }

  .eap-manager-toolkit-canvas .eap-org-hero {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto;
  }

  .eap-manager-toolkit-canvas .eap-org-hero-art {
    min-height: 220px;
  }

  .eap-manager-toolkit-canvas .eap-org-tools {
    grid-template-columns: 1fr;
    margin: 1rem auto 0;
    padding: 0;
  }
}

@media (min-width: 980px) and (max-width: 1280px) {
  .eap-dashboard-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eap-dashboard-actions-grid.employee {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eap-dashboard-actions-grid.employee .eap-dashboard-action-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .eap-dashboard-actions-grid.employee .eap-dashboard-action-icon {
    height: 50px;
    width: 50px;
  }

  .eap-content-page .eap-recommended-grid {
    grid-template-columns: 1fr;
  }

  .eap-content-list-grid {
    grid-template-columns: 1fr;
  }

  .eap-content-page .eap-browse-categories .library-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  body.is-eap-authenticated {
    background: #fbfaf6;
    color: #10192d;
    font-family: var(--font-body);
    padding-bottom: 0;
  }

  body.is-eap-authenticated .mobile-app-header.eap-web-header {
    background: rgba(255, 255, 253, .98);
    border: 1px solid rgba(17, 27, 49, .1);
    border-radius: 8px 8px 0 0;
    box-shadow: none;
    margin: 0;
    max-width: none;
    min-height: 104px;
    padding: 1.55rem clamp(2rem, 4vw, 4rem);
    width: 100%;
  }

  body.is-eap-authenticated .eap-web-header .brand {
    border-right: 1px solid rgba(17, 27, 49, .12);
    flex-basis: auto;
    min-width: 0;
    padding-right: 2rem;
  }

  body.is-eap-authenticated .eap-web-header .brand img {
    height: 54px !important;
    object-fit: contain;
    width: 178px !important;
  }

  body.is-eap-authenticated .eap-header-tenant-brand {
    border-left: 0;
    padding-left: 0;
  }

  body.is-eap-authenticated .eap-web-header .top-actions {
    align-items: center;
    gap: clamp(1.35rem, 2.45vw, 2.75rem);
    justify-content: center;
  }

  body.is-eap-authenticated .eap-web-header .small-link {
    align-items: center;
    display: inline-flex;
    font-size: .96rem;
    gap: .5rem;
    min-height: 52px;
    padding-top: 0;
  }

  body.is-eap-authenticated .eap-web-header .small-link .button-icon {
    height: 19px;
    width: 19px;
  }

  body.is-eap-authenticated .eap-web-header .small-link.active {
    color: var(--eap-brand-primary, var(--tenant-primary, #07552f));
  }

  body.is-eap-authenticated .eap-web-header .small-link.active::after {
    border-radius: 999px;
    bottom: 0;
    height: 3px;
  }

  body.is-eap-authenticated .eap-web-header .book-now-link {
    align-items: center;
    background: linear-gradient(135deg, var(--eap-brand-primary, var(--tenant-primary, #0b5a34)), var(--eap-brand-primary-strong, color-mix(in srgb, var(--tenant-primary, #0b5a34) 78%, black)));
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(5, 61, 36, .16);
    color: white;
    font-weight: 900;
    justify-content: center;
    min-width: 124px;
    padding: 0 1.25rem;
  }

  body.is-eap-authenticated .eap-web-header .book-now-link::after {
    display: none;
  }

  body.is-eap-authenticated .eap-header-user {
    background: #fff;
    border: 1px solid rgba(17, 27, 49, .12);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(15, 35, 31, .07);
    gap: .65rem;
    min-height: 52px;
    padding: .35rem .3rem .35rem .45rem;
  }

  body.is-eap-authenticated .eap-header-user .eap-avatar {
    background: var(--eap-brand-accent-soft, color-mix(in srgb, var(--tenant-accent, #c9de72) 28%, white));
    color: var(--eap-brand-primary, var(--tenant-primary, #07552f));
    font-size: .86rem;
    font-weight: 950;
    height: 40px;
    width: 40px;
  }

  body.is-eap-authenticated .eap-header-user strong {
    align-items: center;
    display: inline-flex;
    gap: .55rem;
    max-width: 180px;
  }

  body.is-eap-authenticated .eap-header-user strong::after {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
    display: inline-block;
    height: 6px;
    margin-top: -3px;
    transform: rotate(45deg);
    width: 6px;
  }

  body.is-eap-authenticated .eap-header-logout-form {
    align-items: center;
    align-self: stretch;
    border-left: 1px solid rgba(17, 27, 49, .1);
    display: inline-flex;
    margin-left: .25rem;
    padding-left: .35rem;
  }

  body.is-eap-authenticated .eap-header-logout-icon {
    background: transparent;
    color: var(--eap-brand-primary, var(--tenant-primary, #07552f));
    height: 38px;
    width: 38px;
  }

  body.is-eap-authenticated .eap-app-shell {
    max-width: none;
    width: 100%;
  }

  body.is-eap-authenticated .eap-workspace {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, .82), rgba(250, 252, 245, .9)),
      #fbfaf6;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    position: relative;
  }

  body.is-eap-authenticated .eap-workspace::before {
    background: url("/assets/eap-dashboard-leaves.svg") right -34px top -28px / min(36vw, 460px) auto no-repeat;
    content: "";
    inset: 0;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .16) 42%, black 74%), linear-gradient(180deg, black 0%, rgba(0, 0, 0, .82) 62%, transparent 100%);
    mask-composite: intersect;
    opacity: .38;
    pointer-events: none;
    position: absolute;
    z-index: 0;
  }

  body.is-eap-authenticated .eap-workspace > main {
    position: relative;
    z-index: 1;
  }

  body.is-eap-authenticated .eap-dashboard-canvas {
    padding-inline: clamp(1.5rem, 2.8vw, 3rem);
  }

  body.is-eap-authenticated :is(
    .eap-dashboard-canvas,
    .eap-dashboard-home,
    .eap-upcoming-booking-section,
    .eap-recommended-section,
    .eap-browse-categories,
    .eap-content-page-head,
    .eap-content-search-page,
    .eap-search-results-section,
    .eap-category-content-page,
    .eap-content-detail,
    .eap-content-detail-actions,
    .eap-video-detail,
    .eap-booking-page,
    .eap-booking-canvas .booking-hero-card,
    .eap-booking-canvas .booking-layout,
    .eap-booking-canvas .booking-steps-section,
    .eap-manager-page-head,
    .eap-manager-people-stats,
    .eap-manager-people-layout,
    .eap-manager-report-grid,
    .eap-manager-reports-page > .eap-manager-panel,
    .eap-manager-toolkit-canvas .eap-org-hero,
    .eap-manager-toolkit-canvas .eap-org-tools,
    .eap-manager-toolkit-canvas .eap-org-cta-band,
    .eap-contact-layout,
    .eap-contact-hero
  ) {
    max-width: none;
    width: 100%;
  }

  body.is-eap-authenticated :is(
    .eap-content-page-head,
    .eap-content-search-page,
    .eap-search-results-section,
    .eap-content-detail,
    .eap-content-detail-actions,
    .eap-video-detail,
    .eap-contact-layout,
    .eap-contact-hero
  ) {
    padding-left: clamp(1.5rem, 2.8vw, 3rem);
    padding-right: clamp(1.5rem, 2.8vw, 3rem);
  }

  body.eap-content-page.is-eap-authenticated .eap-dashboard-canvas {
    padding-inline: clamp(1.5rem, 2.8vw, 3rem);
  }

  body.eap-content-page.is-eap-authenticated .eap-dashboard-home,
  body.eap-content-page.is-eap-authenticated .eap-upcoming-booking-section,
  body.eap-content-page.is-eap-authenticated .eap-recommended-section,
  body.eap-content-page.is-eap-authenticated .eap-browse-categories,
  body.eap-content-page.is-eap-authenticated .eap-content-page-head,
  body.eap-content-page.is-eap-authenticated .eap-content-search-page,
  body.eap-content-page.is-eap-authenticated .eap-search-results-section,
  body.eap-content-page.is-eap-authenticated .eap-category-content-page,
  body.eap-content-page.is-eap-authenticated .eap-content-detail,
  body.eap-content-page.is-eap-authenticated .eap-content-detail-actions,
  body.eap-content-page.is-eap-authenticated .eap-manager-people-canvas .eap-manager-page-head,
  body.eap-content-page.is-eap-authenticated .eap-manager-people-stats,
  body.eap-content-page.is-eap-authenticated .eap-manager-people-canvas .eap-manager-toast,
  body.eap-content-page.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-layout,
  body.eap-content-page.is-eap-authenticated .eap-manager-toolkit-canvas .eap-org-hero,
  body.eap-content-page.is-eap-authenticated .eap-manager-toolkit-canvas .eap-org-tools,
  body.eap-content-page.is-eap-authenticated .eap-manager-toolkit-canvas .eap-org-cta-band,
  body.eap-content-page.is-eap-authenticated .eap-booking-canvas .booking-hero-card,
  body.eap-content-page.is-eap-authenticated .eap-booking-canvas .booking-layout,
  body.eap-content-page.is-eap-authenticated .eap-booking-canvas .booking-steps-section {
    max-width: none;
    width: 100%;
  }

  body.eap-content-page.is-eap-authenticated .eap-content-page-head,
  body.eap-content-page.is-eap-authenticated .eap-content-search-page,
  body.eap-content-page.is-eap-authenticated .eap-search-results-section,
  body.eap-content-page.is-eap-authenticated .eap-content-detail,
  body.eap-content-page.is-eap-authenticated .eap-content-detail-actions {
    padding-left: clamp(1.5rem, 2.8vw, 3rem);
    padding-right: clamp(1.5rem, 2.8vw, 3rem);
  }
}

body.eap-site-page {
  background: #fbfaf6;
  color: #10192d;
  font-family: var(--font-body);
}

body.eap-site-page main {
  max-width: none;
  padding: 0;
  width: 100%;
}

body.eap-site-page .eap-app-shell {
  max-width: none;
  width: 100%;
}

body.eap-site-page .eap-workspace {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .82), rgba(250, 252, 245, .9)),
    #fbfaf6;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
}

body.eap-site-page .eap-workspace::before {
  background: url("/assets/eap-dashboard-leaves.svg") right -34px top -28px / min(36vw, 460px) auto no-repeat;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .16) 42%, black 74%), linear-gradient(180deg, black 0%, rgba(0, 0, 0, .82) 62%, transparent 100%);
  mask-composite: intersect;
  opacity: .34;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

body.eap-site-page .eap-workspace > main {
  position: relative;
  z-index: 1;
}

body.eap-site-page :is(
  .eap-dashboard-canvas,
  .eap-dashboard-home,
  .eap-upcoming-booking-section,
  .eap-recommended-section,
  .eap-browse-categories,
  .eap-content-page-head,
  .eap-content-search-page,
  .eap-search-results-section,
  .eap-category-content-page,
  .eap-content-detail,
  .eap-content-detail-actions,
  .eap-video-detail,
  .eap-booking-page,
  .booking-hero-card,
  .booking-layout,
  .booking-steps-section,
  .eap-manager-page-head,
  .eap-manager-people-stats,
  .eap-manager-people-layout,
  .eap-manager-report-grid,
  .eap-manager-panel,
  .eap-org-hero,
  .eap-org-tools,
  .eap-org-cta-band,
  .eap-contact-hero,
  .eap-contact-layout,
  .eap-home-hero,
  .eap-tenant-home-purpose,
  .eap-home-team,
  .eap-dashboard-resources,
  .eap-dashboard-summary,
  .eap-policy-page
) {
  max-width: none;
  width: 100%;
}

body.eap-site-page :is(
  .eap-dashboard-canvas,
  .eap-content-page-head,
  .eap-content-search-page,
  .eap-search-results-section,
  .eap-content-detail,
  .eap-content-detail-actions,
  .eap-video-detail,
  .eap-contact-layout,
  .eap-contact-hero,
  .eap-policy-page
) {
  padding-left: clamp(1rem, 2.8vw, 3rem);
  padding-right: clamp(1rem, 2.8vw, 3rem);
}

@media (min-width: 980px) {
  body.eap-site-page {
    padding-bottom: 0;
  }

  body.eap-site-page .mobile-app-header.eap-web-header {
    background: rgba(255, 255, 253, .98);
    border: 1px solid rgba(17, 27, 49, .1);
    border-radius: 8px 8px 0 0;
    box-shadow: none;
    display: flex;
    margin: 0;
    max-width: none;
    min-height: 104px;
    padding: 1.55rem clamp(2rem, 4vw, 4rem);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 20;
  }

  body.eap-site-page .eap-web-header .brand {
    border-right: 1px solid rgba(17, 27, 49, .12);
    flex: 0 0 auto;
    min-width: 0;
    padding-right: 2rem;
  }

  body.eap-site-page .eap-web-header .brand img {
    height: 54px !important;
    object-fit: contain;
    width: 178px !important;
  }

  body.eap-site-page .eap-web-header .brand span {
    display: none;
  }

  body.eap-site-page .eap-web-header .top-actions {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: clamp(1.35rem, 2.45vw, 2.75rem);
    justify-content: center;
  }

  body.eap-site-page:not(.is-eap-authenticated) .eap-web-header .top-actions {
    column-gap: clamp(1.55rem, 2.35vw, 2.55rem);
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: minmax(1rem, 1fr) repeat(4, max-content) minmax(1rem, 1fr) max-content max-content;
    justify-content: stretch;
  }

  body.eap-site-page:not(.is-eap-authenticated) .eap-web-header .top-actions .small-link:nth-child(1) {
    grid-column: 2;
  }

  body.eap-site-page:not(.is-eap-authenticated) .eap-web-header .top-actions .small-link:nth-child(2) {
    grid-column: 3;
  }

  body.eap-site-page:not(.is-eap-authenticated) .eap-web-header .top-actions .small-link:nth-child(3) {
    grid-column: 4;
  }

  body.eap-site-page:not(.is-eap-authenticated) .eap-web-header .top-actions .small-link:nth-child(4) {
    grid-column: 5;
  }

  body.eap-site-page:not(.is-eap-authenticated) .eap-web-header .top-actions .login-link {
    background: transparent;
    border: 1.5px solid var(--eap-brand-primary, var(--tenant-primary, #07552f));
    border-radius: 7px;
    color: #10192d;
    grid-column: 7;
    justify-content: center;
    min-width: 106px;
    padding: 0 1rem;
  }

  body.eap-site-page:not(.is-eap-authenticated) .eap-web-header .top-actions .login-link::after {
    display: none;
  }

  body.eap-site-page:not(.is-eap-authenticated) .eap-web-header .top-actions .book-now-link {
    grid-column: 8;
  }

  body.eap-site-page .eap-web-header .small-link {
    align-items: center;
    color: #10192d;
    display: inline-flex;
    font-size: .96rem;
    gap: .5rem;
    min-height: 52px;
    padding: 0;
    position: relative;
    white-space: nowrap;
  }

  body.eap-site-page .eap-web-header .small-link .button-icon {
    height: 19px;
    width: 19px;
  }

  body.eap-site-page .eap-web-header .small-link.active {
    color: var(--eap-brand-primary, var(--tenant-primary, #07552f));
  }

  body.eap-site-page .eap-web-header .small-link.active::after {
    background: var(--eap-brand-primary, var(--tenant-primary, #07552f));
    border-radius: 999px;
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
  }

  body.eap-site-page .eap-web-header .book-now-link {
    align-items: center;
    background: linear-gradient(135deg, var(--eap-brand-primary, var(--tenant-primary, #0b5a34)), var(--eap-brand-primary-strong, color-mix(in srgb, var(--tenant-primary, #0b5a34) 78%, black)));
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(5, 61, 36, .16);
    color: white;
    font-weight: 900;
    justify-content: center;
    min-width: 124px;
    padding: 0 1.25rem;
  }

  body.eap-site-page .eap-web-header .book-now-link::after {
    display: none;
  }

  body.eap-site-page .eap-header-tenant-brand {
    border-left: 0;
    padding-left: 0;
  }

  body.eap-site-page .eap-header-user {
    background: #fff;
    border: 1px solid rgba(17, 27, 49, .12);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(15, 35, 31, .07);
    gap: .65rem;
    margin-left: 0;
    min-height: 52px;
    padding: .35rem .3rem .35rem .45rem;
  }

  body.eap-site-page .eap-header-user .eap-avatar {
    background: #e4f0cf;
    color: var(--eap-brand-primary, var(--tenant-primary, #07552f));
    font-size: .86rem;
    font-weight: 950;
    height: 40px;
    width: 40px;
  }

  body.eap-site-page .eap-header-user strong {
    align-items: center;
    display: inline-flex;
    gap: .55rem;
    max-width: 180px;
  }

  body.eap-site-page .eap-header-user strong::after {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
    display: inline-block;
    height: 6px;
    margin-top: -3px;
    transform: rotate(45deg);
    width: 6px;
  }

  body.eap-site-page .eap-header-logout-form {
    align-items: center;
    align-self: stretch;
    border-left: 1px solid rgba(17, 27, 49, .1);
    display: inline-flex;
    margin-left: .25rem;
    padding-left: .35rem;
  }

  body.eap-site-page .eap-header-logout-icon {
    background: transparent;
    color: var(--eap-brand-primary, var(--tenant-primary, #07552f));
    height: 38px;
    width: 38px;
  }
}

body.eap-organisations-page .eap-org-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(250, 252, 245, .78)),
    #fbfaf6;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  min-height: 560px;
  overflow: hidden;
}

body.eap-organisations-page .eap-org-hero h1 {
  color: #10192d;
  font-size: clamp(3.2rem, 5vw, 5rem);
  max-width: 14ch;
}

body.eap-organisations-page .eap-org-hero p {
  color: #334056;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  max-width: 42rem;
}

body.eap-organisations-page .eap-org-hero-art {
  background-image: var(--eap-tenant-hero-image, url("/assets/eap-manager-abstract.png"));
}

body.eap-organisations-page .eap-org-tools {
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2rem 0 0;
  padding: 0 clamp(1rem, 2.8vw, 3rem);
}

body.eap-organisations-page .eap-org-tool-card {
  align-content: start;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(17, 27, 49, .12);
  border-radius: 16px;
  box-shadow: 0 12px 38px rgba(8, 43, 31, .07);
  justify-items: start;
  min-height: 190px;
  padding: 1.1rem;
  text-align: left;
}

body.eap-organisations-page .eap-org-tool-card .about-value-icon {
  height: 58px;
  width: 58px;
}

body.eap-organisations-page .eap-org-tool-card strong {
  color: #10192d;
  font-size: 1.35rem;
  line-height: 1.08;
}

body.eap-organisations-page .eap-org-tool-card p {
  color: #4b576a;
  font-size: .92rem;
  line-height: 1.45;
  margin: 0;
}

body.eap-organisations-page .eap-org-tool-card em {
  background: #e9f3d8;
  color: var(--tenant-primary, #07552f);
  margin-top: auto;
}

body.eap-organisations-page .eap-org-cta-band {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(17, 27, 49, .1);
  border-radius: 16px;
  margin: 1rem clamp(1rem, 2.8vw, 3rem) 2rem;
}

body.eap-organisations-page .eap-org-cta-band strong {
  color: #10192d;
  font-size: 1.35rem;
}

body.eap-booking-marketing-page .eap-booking-page {
  display: grid;
  gap: 0;
}

body.eap-booking-marketing-page .booking-hero-card {
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(250, 252, 245, .78)),
    #fbfaf6;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(500px, .95fr);
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  padding: 0;
}

body.eap-booking-marketing-page .booking-hero-card h1 {
  color: #10192d;
  font-size: clamp(3.2rem, 5vw, 5rem);
  max-width: 14ch;
}

body.eap-booking-marketing-page .booking-hero-card .lead {
  color: #334056;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  max-width: 42rem;
}

body.eap-booking-marketing-page .booking-hero-art {
  background: url("/assets/eap-booking-hero-web-v2.png") center / cover no-repeat;
  border-radius: 0;
  min-height: 0;
}

body.eap-booking-marketing-page .booking-hero-art::before {
  background: var(--eap-bg);
  border-radius: 0 50% 50% 0;
  content: "";
  height: 124%;
  left: -95px;
  opacity: 1;
  position: absolute;
  right: auto;
  top: -12%;
  transform: none;
  width: 190px;
}

body.eap-booking-marketing-page .booking-layout {
  align-items: stretch;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(17, 27, 49, .1);
  border-radius: 16px;
  box-shadow: 0 12px 38px rgba(8, 43, 31, .07);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(420px, 1fr) minmax(300px, .55fr);
  margin: 2rem clamp(1rem, 2.8vw, 3rem) 0;
  max-width: none;
  overflow: hidden;
}

body.eap-booking-marketing-page .booking-info-card,
body.eap-booking-marketing-page .booking-action-card,
body.eap-booking-marketing-page .booking-steps-section {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.eap-booking-marketing-page .booking-info-card,
body.eap-booking-marketing-page .booking-action-card {
  border-radius: 0;
  padding: 2.6rem 3rem;
}

body.eap-booking-marketing-page .booking-action-card {
  align-content: center;
  background: #f4faf4;
}

body.eap-booking-marketing-page .booking-note-list div,
body.eap-booking-marketing-page .booking-steps-grid article {
  background: #fbfcf8;
  border: 1px solid rgba(17, 27, 49, .1);
  border-radius: 10px;
}

body.eap-booking-marketing-page .booking-steps-section {
  margin: 2rem clamp(1rem, 2.8vw, 3rem);
  max-width: none;
  padding: 0;
}

body.eap-booking-marketing-page .booking-steps-grid {
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 979px) {
  body.eap-organisations-page .eap-org-hero {
    min-height: 0;
  }

  body.eap-organisations-page .eap-org-tools {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  body.eap-booking-marketing-page .booking-hero-card {
    display: block;
    min-height: 0;
  }

  body.eap-booking-marketing-page .booking-layout,
  body.eap-booking-marketing-page .booking-steps-grid {
    grid-template-columns: 1fr;
  }

  body.eap-booking-marketing-page .booking-layout,
  body.eap-booking-marketing-page .booking-steps-section {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

body.eap-site-page .eap-home-image::before,
body.eap-site-page .booking-hero-art::before,
body.eap-site-page .eap-org-hero-art::before {
  background:
    linear-gradient(
      90deg,
      var(--eap-bg) 0%,
      color-mix(in srgb, var(--eap-bg) 88%, transparent) 22%,
      color-mix(in srgb, var(--eap-bg) 42%, transparent) 58%,
      transparent 100%
    );
  border-radius: 0;
  bottom: 0;
  content: "";
  height: auto;
  left: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  right: auto;
  top: 0;
  transform: none;
  width: min(34vw, 320px);
  z-index: 1;
}

body.eap-site-page .eap-home-image::after,
body.eap-site-page .booking-hero-art::after,
body.eap-site-page .eap-org-hero-art::after {
  background:
    radial-gradient(ellipse at 18% 50%, color-mix(in srgb, var(--eap-bg) 58%, transparent) 0%, transparent 54%),
    linear-gradient(180deg, color-mix(in srgb, var(--eap-bg) 18%, transparent), transparent 30%, color-mix(in srgb, var(--eap-bg) 22%, transparent));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

body.eap-organisations-page .eap-org-hero h1 {
  color: var(--eap-ink);
  font-family: var(--font-body);
  font-size: clamp(3.45rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .98;
  margin: 0 0 1.5rem;
  max-width: 11ch;
}

body.eap-organisations-page .eap-org-hero .eap-home-copy > p {
  color: var(--eap-muted);
  font-family: var(--font-body);
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
  max-width: 36rem;
}

@media (max-width: 979px) {
  body.eap-site-page .eap-home-image::before,
  body.eap-site-page .booking-hero-art::before,
  body.eap-site-page .eap-org-hero-art::before {
    background:
      linear-gradient(
        180deg,
        var(--eap-bg) 0%,
        color-mix(in srgb, var(--eap-bg) 78%, transparent) 24%,
        transparent 74%
      );
    width: 100%;
  }

  body.eap-organisations-page .eap-org-hero h1 {
    font-size: clamp(2.55rem, 9.5vw, 3.45rem);
  }

  body.eap-organisations-page .eap-org-hero .eap-home-copy > p {
    font-size: 1.18rem;
  }
}

@media (min-width: 980px) {
  body.eap-login-page .eap-login-layout {
    grid-template-columns: minmax(520px, 1fr) minmax(480px, .9fr);
  }

  body.eap-login-page .eap-login-content {
    grid-column: 1;
    grid-row: 1;
  }

  body.eap-login-page .eap-login-image {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (min-width: 980px) {
  body.eap-site-page {
    --eap-page-gutter-inline: 6vw;
  }

  body.eap-home-page .eap-home-team {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  body.eap-site-page :is(
    .eap-home-team-copy,
    .library-section,
    .eap-about-values,
    .eap-about-privacy-card,
    .eap-content-page-head,
    .eap-content-search-page,
    .eap-search-results-section,
    .eap-content-detail,
    .eap-content-detail-actions,
    .eap-video-detail,
    .eap-manager-page-head,
    .eap-manager-people-stats,
    .eap-manager-people-layout,
    .eap-manager-report-grid,
    .eap-manager-panel,
    .eap-org-tools,
    .eap-org-cta-band,
    .eap-contact-layout,
    .eap-policy-page,
    .booking-steps-section
  ) {
    padding-left: var(--eap-page-gutter-inline);
    padding-right: var(--eap-page-gutter-inline);
  }

  body.eap-site-page :is(
    .eap-org-tools,
    .eap-org-cta-band,
    .booking-layout,
    .booking-steps-section
  ) {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  body.eap-booking-marketing-page .booking-info-card {
    padding-left: var(--eap-page-gutter-inline);
  }

  body.eap-booking-marketing-page .booking-action-card {
    padding-right: var(--eap-page-gutter-inline);
  }
}

/* Shared public EAP page refresh. Keep these rules together so the non-logged-in
   marketing pages can be tuned from one place. */
body.eap-marketing-page:not(.is-eap-authenticated) {
  --eap-page-gutter-inline: clamp(1rem, 6vw, 6rem);
  --eap-hero-copy-start: 6vw;
}

body.eap-marketing-page:not(.is-eap-authenticated) :is(.eap-home-copy h1, .booking-hero-card h1, .eap-org-hero h1) {
  color: #10192d;
  font-family: var(--font-body);
  font-size: clamp(3.1rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .98;
  margin: 0 0 1.5rem;
  max-width: 12ch;
}

body.eap-marketing-page:not(.is-eap-authenticated) :is(.eap-home-copy > p, .booking-hero-card .lead, .eap-org-hero .eap-home-copy > p) {
  color: #334056;
  font-family: var(--font-body);
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
  max-width: 38rem;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-marketing-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.7rem 0 1.6rem;
  max-width: 760px;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-marketing-actions .action-button,
body.eap-marketing-page:not(.is-eap-authenticated) .action-button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  gap: .65rem;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-marketing-actions .action-button {
  flex: 0 1 auto;
  min-width: 220px;
  width: auto;
}

body.eap-marketing-page:not(.is-eap-authenticated) .action-button.primary {
  background: linear-gradient(135deg, var(--eap-brand-primary, var(--tenant-primary, #0b5a34)), var(--eap-brand-primary-strong, color-mix(in srgb, var(--tenant-primary, #0b5a34) 78%, black)));
  border: 1px solid var(--eap-brand-primary, var(--tenant-primary, #0b5a34));
  box-shadow: 0 10px 22px rgba(5, 61, 36, .16);
  color: white;
}

body.eap-marketing-page:not(.is-eap-authenticated) .action-button.outline,
body.eap-marketing-page:not(.is-eap-authenticated) .action-button.brown-outline {
  background: rgba(255, 255, 255, .72);
  border: 1.5px solid color-mix(in srgb, var(--eap-brand-primary, var(--tenant-primary, #0b5a34)) 62%, transparent);
  color: var(--eap-brand-primary, var(--tenant-primary, #063f28));
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-home-image,
body.eap-marketing-page:not(.is-eap-authenticated) .booking-hero-art,
body.eap-marketing-page:not(.is-eap-authenticated) .eap-org-hero-art,
body.eap-marketing-page:not(.is-eap-authenticated) .eap-about-hero-art,
body.eap-marketing-page:not(.is-eap-authenticated) .eap-contact-hero-art {
  overflow: hidden;
  position: relative;
}

body.eap-marketing-page:not(.is-eap-authenticated) :is(.eap-home-image, .booking-hero-art, .eap-org-hero-art, .eap-about-hero-art, .eap-contact-hero-art)::before {
  background:
    linear-gradient(
      90deg,
      #fbfaf6 0%,
      rgba(251, 250, 246, .94) 22%,
      rgba(251, 250, 246, .56) 58%,
      rgba(251, 250, 246, 0) 100%
    );
  border-radius: 0;
  bottom: 0;
  content: "";
  height: auto;
  left: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  right: auto;
  top: 0;
  transform: none;
  width: min(38vw, 380px);
  z-index: 2;
}

body.eap-marketing-page:not(.is-eap-authenticated) :is(.eap-home-image, .booking-hero-art, .eap-org-hero-art, .eap-about-hero-art, .eap-contact-hero-art)::after {
  background:
    radial-gradient(ellipse at 18% 50%, rgba(251, 250, 246, .52), transparent 54%),
    linear-gradient(180deg, rgba(251, 250, 246, .12), transparent 28%, rgba(251, 250, 246, .18));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-section-title-row {
  display: grid;
  gap: .65rem;
  margin: 0 0 1.4rem;
  max-width: 780px;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-section-title-row h2 {
  color: #10192d;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-section-title-row p:not(.eap-about-eyebrow) {
  color: #4b576a;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-sales-card-section {
  margin: 0;
  padding: 2.6rem var(--eap-hero-copy-start) 2.6rem var(--eap-hero-copy-start);
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-sales-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-sales-card {
  align-content: start;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(17, 27, 49, .12);
  border-radius: 10px;
  box-shadow: 0 14px 38px rgba(8, 43, 31, .07);
  display: grid;
  flex: 1 1 min(260px, 100%);
  gap: .85rem;
  min-height: 220px;
  padding: 1.25rem;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-sales-card .about-value-icon {
  height: 58px;
  margin: 0;
  width: 58px;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-sales-card strong {
  color: #10192d;
  font-size: 1.18rem;
  line-height: 1.15;
}

body.eap-marketing-page:not(.is-eap-authenticated) .eap-sales-card p {
  color: #4b576a;
  font-size: .95rem;
  line-height: 1.5;
  margin: 0;
}

body.eap-organisations-page:not(.is-eap-authenticated) .eap-sales-card-grid {
  align-items: stretch;
  gap: 1.15rem;
  width: 100%;
}

body.eap-organisations-page:not(.is-eap-authenticated) .eap-sales-card {
  flex: 1 1 clamp(300px, 30vw, 430px);
  min-height: 286px;
}

body.eap-organisations-page:not(.is-eap-authenticated) .eap-sales-card p {
  font-size: .98rem;
  line-height: 1.58;
}

body.eap-about-page:not(.is-eap-authenticated) .eap-about-team-band {
  margin: 0;
  padding: 2.8rem var(--eap-hero-copy-start);
}

body.eap-about-page:not(.is-eap-authenticated) .eap-about-team-band > div {
  padding: 0;
}

body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-layout {
  display: block;
  margin: 0;
  padding: 2.6rem var(--eap-hero-copy-start);
}

body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-form-card {
  margin: 0;
  max-width: 880px;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-hero-card {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(250, 252, 245, .78)),
    #fbfaf6;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: minmax(420px, 1fr) minmax(500px, .95fr);
  margin: 0;
  min-height: 560px;
  padding: 0;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-steps-section,
body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-support-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 2.6rem var(--eap-hero-copy-start);
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-steps-grid {
  counter-reset: booking-step;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-steps-grid article {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(17, 27, 49, .12);
  border-radius: 10px;
  box-shadow: 0 14px 38px rgba(8, 43, 31, .07);
  gap: .85rem;
  min-height: 180px;
  padding: 1.25rem;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-step-head {
  align-items: center;
  display: flex;
  gap: .8rem;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-step-head span {
  background: var(--eap-brand-accent-soft, color-mix(in srgb, var(--tenant-accent, #c9de72) 24%, white));
  color: var(--eap-brand-primary, var(--tenant-primary, #07552f));
  flex: 0 0 auto;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-step-head strong {
  color: #10192d;
  font-size: 1.05rem;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-support-grid {
  display: flex;
  flex-wrap: wrap;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-support-actions {
  margin-bottom: 0;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .eap-web-header .book-now-link,
body.eap-booking-marketing-page:not(.is-eap-authenticated) .eap-web-header .book-now-link.active,
body.eap-booking-marketing-page:not(.is-eap-authenticated) .eap-web-header .book-now-link:visited {
  background: linear-gradient(135deg, var(--eap-brand-primary, var(--tenant-primary, #0b5a34)), var(--eap-brand-primary-strong, color-mix(in srgb, var(--tenant-primary, #0b5a34) 78%, black)));
  color: white;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .eap-web-header .book-now-link.active::after {
  display: none;
}

@media (min-width: 980px) {
  body.eap-marketing-page:not(.is-eap-authenticated) :is(.eap-org-tools, .eap-about-values, .eap-about-team-band, .eap-contact-layout) {
    padding-left: var(--eap-hero-copy-start);
    padding-right: var(--eap-hero-copy-start);
  }

  body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-steps-grid {
    display: grid;
    grid-auto-columns: minmax(230px, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: .25rem;
  }

  body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-steps-grid article {
    min-width: 0;
  }
}

@media (max-width: 979px) {
  body.eap-marketing-page:not(.is-eap-authenticated) :is(.eap-home-copy h1, .booking-hero-card h1, .eap-org-hero h1) {
    font-size: clamp(2.55rem, 9.5vw, 3.45rem);
  }

  body.eap-marketing-page:not(.is-eap-authenticated) .eap-marketing-actions .action-button {
    flex: 1 1 100%;
    width: 100%;
  }

  body.eap-marketing-page:not(.is-eap-authenticated) :is(.eap-home-image, .booking-hero-art, .eap-org-hero-art, .eap-about-hero-art, .eap-contact-hero-art)::before {
    background:
      linear-gradient(
        180deg,
        #fbfaf6 0%,
        rgba(251, 250, 246, .84) 28%,
        rgba(251, 250, 246, 0) 78%
      );
    width: 100%;
  }

  body.eap-marketing-page:not(.is-eap-authenticated) .eap-sales-card-grid,
  body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-support-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-hero-card {
    display: block;
    min-height: 0;
  }

  body.eap-about-page:not(.is-eap-authenticated) .eap-about-team-band,
  body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-layout,
  body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-steps-section,
  body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-support-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Logged-in EAP refinement pass. */
body.is-eap-authenticated {
  --eap-primary: var(--tenant-primary, var(--et-emerald));
  --eap-accent: var(--tenant-accent, var(--et-leaf));
  --eap-bg: var(--tenant-bg, var(--et-cream));
}

@media (min-width: 980px) {
  body.is-eap-authenticated .eap-web-header .top-actions {
    flex: 1 1 auto;
  }

  body.is-eap-authenticated .eap-web-header .book-now-link {
    margin-left: auto;
    order: 20;
  }
}

body.is-eap-authenticated .eap-dashboard-action-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(17, 27, 49, .12);
  box-shadow: 0 18px 42px rgba(15, 35, 31, .08);
}

body.is-eap-authenticated .eap-dashboard-action-cta,
body.is-eap-authenticated .eap-content-page .eap-content-section-head a,
body.is-eap-authenticated .eap-content-page .eap-content-section-head h2 .button-icon {
  color: var(--eap-primary);
}

.eap-dashboard-search {
  margin: 0 0 1.35rem;
  max-width: 720px;
  position: relative;
}

.eap-dashboard-search label {
  display: grid;
  gap: .45rem;
}

.eap-dashboard-search label span {
  color: #10192d;
  font-weight: 850;
}

.eap-dashboard-search input {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(17, 27, 49, .14);
  border-radius: 10px;
  box-shadow: none;
  color: #10192d;
  min-height: 54px;
  padding: 0 1rem;
  width: 100%;
}

.eap-dashboard-search-results {
  background: #fff;
  border: 1px solid rgba(17, 27, 49, .12);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(15, 35, 31, .12);
  display: grid;
  gap: .2rem;
  left: 0;
  margin-top: .45rem;
  overflow: hidden;
  position: absolute;
  right: 0;
  z-index: 8;
}

.eap-dashboard-search-results button {
  background: transparent;
  border: 0;
  color: #10192d;
  cursor: pointer;
  display: grid;
  gap: .2rem;
  padding: .85rem 1rem;
  text-align: left;
}

.eap-dashboard-search-results button:hover,
.eap-dashboard-search-results button:focus-visible {
  background: #f4faf4;
}

.eap-dashboard-search-results span,
.eap-dashboard-search-results small {
  color: #4b576a;
  font-size: .82rem;
}

.eap-content-page .eap-content-section-head h2 + a[href*="/Search"] {
  display: none;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card,
.eap-categories-page .library-topic-card {
  position: relative;
}

.eap-content-page .eap-content-topics.eap-browse-categories .library-topic-card .eap-card-arrow-icon,
.eap-categories-page .library-topic-card .eap-card-arrow-icon {
  align-self: end;
  justify-self: end;
  margin-top: auto;
}

.eap-content-page .eap-categories-page .eap-all-categories .library-topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eap-content-page .eap-categories-page .eap-all-categories {
  background: transparent !important;
}

.eap-content-page .eap-categories-page .eap-all-categories::before {
  content: none !important;
}

.eap-content-page .eap-categories-page .eap-all-categories .library-topic-card {
  align-content: start;
  min-height: 118px;
  padding-bottom: 1rem;
  padding-top: 1rem;
  width: 100%;
}

.eap-category-content-page {
  padding: 2.45rem clamp(1.15rem, 4.4vw, 4rem) 1.4rem;
}

.eap-category-content-page .eap-category-page-head {
  margin: 0 0 1.35rem;
  padding: 0;
}

.eap-category-content-page .eap-content-resources {
  max-width: none;
  padding: 0;
  width: 100%;
}

.eap-category-content-page .section-head {
  text-align: left;
}

.eap-category-card-grid {
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.eap-category-card-grid .eap-recommended-card {
  width: 100%;
}

.eap-print-brand-row,
.eap-print-footer {
  display: none;
}

.eap-content-detail {
  max-width: none;
  padding-inline: clamp(1.15rem, 4.4vw, 4rem);
  width: 100%;
}

.eap-content-detail-image::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0) 54%),
    linear-gradient(180deg, rgba(8, 43, 31, .08), rgba(8, 43, 31, .22));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.eap-content-detail-read-time {
  align-items: center;
  background: rgba(255, 255, 255, .9);
  border-radius: 999px;
  color: var(--eap-primary);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 900;
  gap: .35rem;
  left: 1rem;
  padding: .45rem .7rem;
  position: absolute;
  top: 1rem;
  z-index: 2;
}

.eap-content-detail-read-time .button-icon {
  height: 14px;
  width: 14px;
}

.eap-content-detail-safety-card,
.eap-content-detail-body section {
  background: color-mix(in srgb, var(--eap-surface) 86%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(8, 43, 31, .05);
  padding: 1.5rem;
}

.eap-content-detail-safety-card {
  border-color: color-mix(in srgb, var(--eap-brand-primary, var(--tenant-primary, var(--eap-primary))) 30%, var(--eap-border));
  margin: 1.5rem 0 0;
}

.eap-content-detail-safety-card strong {
  color: var(--eap-brand-primary, var(--tenant-primary, var(--eap-primary)));
}

.eap-content-detail-body {
  display: block;
  margin-top: 1.5rem;
}

.eap-content-detail-body section {
  width: 100%;
}

.eap-print-button {
  justify-self: start;
  margin-top: 1.35rem;
}

@media (max-width: 979px) {
  .eap-content-page .eap-categories-page .eap-all-categories .library-topic-grid,
  .eap-category-card-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  body {
    background: white !important;
    color: #111b31 !important;
    padding: 0 !important;
  }

  .eap-web-header,
  .eap-global-message-band,
  .eap-web-footer,
  .bottom-nav,
  .eap-content-breadcrumb,
  .eap-print-button {
    display: none !important;
  }

  .eap-app-shell,
  .eap-workspace,
  body.eap-site-page .eap-workspace,
  main {
    background: white !important;
    display: block !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .eap-workspace::before {
    display: none !important;
  }

  .eap-content-detail {
    margin: 0 !important;
    padding: 0 !important;
  }

  .eap-print-brand-row {
    align-items: center;
    border-bottom: 1px solid #d9e3d4;
    display: flex !important;
    gap: 1rem;
    grid-column: 1 / -1;
    justify-content: space-between;
    padding: 0 0 10mm;
  }

  .eap-print-brand-row img {
    max-height: 18mm;
    max-width: 46mm;
    object-fit: contain;
  }

  .eap-content-detail-hero {
    border: 0 !important;
    border-radius: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(52mm, .75fr) !important;
  }

  .eap-content-detail-hero > div:not(.eap-content-detail-image):not(.eap-print-brand-row) {
    padding: 10mm 8mm 8mm 0 !important;
  }

  .eap-content-detail-hero h1 {
    color: #0f4a2f !important;
    font-size: 28pt !important;
    line-height: 1.05 !important;
    max-width: none !important;
  }

  .eap-content-detail-image {
    min-height: 78mm !important;
  }

  .eap-content-detail-read-time {
    background: white !important;
    border: 1px solid #d9e3d4;
    color: #0f4a2f !important;
  }

  .eap-content-detail-safety-card,
  .eap-content-detail-body section {
    border: 1px solid #d9e3d4 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  .eap-content-detail-body p,
  .eap-content-rich-body {
    color: #1f2c27 !important;
    font-size: 11pt !important;
    line-height: 1.55 !important;
  }

  .eap-print-footer {
    border-top: 1px solid #d9e3d4;
    color: #26312d;
    display: flex !important;
    flex-wrap: wrap;
    font-size: 9pt;
    gap: 4mm 7mm;
    margin-top: 10mm;
    padding-top: 5mm;
  }
}

/* Manager people page reporting and add modal. */
.eap-manager-people-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.eap-manager-content-graph {
  margin: 1.35rem auto 0;
  max-width: 1340px;
}

.eap-manager-popular-bars {
  display: grid;
  gap: .8rem;
}

.eap-manager-popular-bars article {
  align-items: center;
  display: grid;
  gap: .9rem;
  grid-template-columns: minmax(220px, .42fr) minmax(160px, 1fr) 54px;
}

.eap-manager-popular-bars strong,
.eap-manager-popular-bars small {
  display: block;
}

.eap-manager-popular-bars strong {
  color: #10192d;
  font-size: .95rem;
}

.eap-manager-popular-bars small {
  color: #4b576a;
  font-size: .8rem;
  margin-top: .2rem;
}

.eap-manager-popular-bars em {
  color: var(--tenant-primary, #07552f);
  font-style: normal;
  font-weight: 950;
  text-align: right;
}

.eap-manager-bar-track {
  background: #e9f0e5;
  border-radius: 999px;
  display: block;
  height: 14px;
  overflow: hidden;
}

.eap-manager-bar-track span {
  background: linear-gradient(90deg, var(--tenant-primary, #07552f), var(--tenant-accent, #c9de72));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.eap-manager-panel-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.eap-modal-backdrop {
  align-items: center;
  background: rgba(8, 43, 31, .34);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 80;
}

.eap-modal-backdrop[hidden] {
  display: none;
}

.eap-manager-add-modal {
  background: #fffdf8;
  border: 1px solid rgba(17, 27, 49, .12);
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(8, 43, 31, .2);
  max-width: 620px;
  padding: 1.4rem;
  width: min(100%, 620px);
}

.eap-manager-add-modal header {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.eap-manager-add-modal h2 {
  color: #10192d;
  font-size: 1.8rem;
  margin: .25rem 0 .35rem;
}

.eap-manager-add-modal p {
  margin: 0;
}

.eap-modal-close {
  background: transparent;
  border: 0;
  color: var(--tenant-primary, #07552f);
  cursor: pointer;
  font-weight: 900;
}

.eap-manager-modal-form {
  display: grid;
  gap: 1rem;
}

.eap-manager-modal-form footer {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: flex-end;
}

@media (max-width: 979px) {
  .eap-manager-people-stats {
    grid-template-columns: 1fr;
  }

  .eap-manager-popular-bars article {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .eap-manager-popular-bars em {
    text-align: left;
  }
}

/* Logged-in EAP mobile refinement pass. Keep these overrides last so all
   authenticated pages share the same mobile shell. */
@media (max-width: 979px) {
  body.is-eap-authenticated {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  body.is-eap-authenticated .eap-marketing-page .eap-mobile-menu-button,
  body.is-eap-authenticated .eap-mobile-menu-button {
    gap: 4px;
  }

  body.is-eap-authenticated .eap-marketing-page .eap-mobile-menu-button span,
  body.is-eap-authenticated .eap-mobile-menu-button span {
    height: 3px;
    width: 29px;
  }

  body.is-eap-authenticated .eap-header-user,
  body.is-eap-authenticated .eap-mobile-drawer-user {
    align-items: center;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(17, 27, 49, .12);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(15, 35, 31, .07);
    display: inline-flex;
    gap: .55rem;
    min-height: 48px;
    padding: .3rem .8rem .3rem .35rem;
  }

  body.is-eap-authenticated .mobile-app-header .brand img {
    width: min(170px, 42vw);
  }

  body.is-eap-authenticated .mobile-app-header .eap-header-user {
    display: inline-flex;
    margin-left: auto;
  }

  body.is-eap-authenticated .mobile-app-header .eap-header-logout-form {
    display: none;
  }

  body.is-eap-authenticated .eap-header-user .eap-avatar,
  body.is-eap-authenticated .eap-mobile-drawer-user .eap-avatar {
    align-items: center;
    background: #e4f0cf;
    border-radius: 999px;
    color: var(--tenant-primary, #07552f);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .82rem;
    font-weight: 950;
    height: 38px;
    justify-content: center;
    width: 38px;
  }

  body.is-eap-authenticated .eap-header-user strong,
  body.is-eap-authenticated .eap-mobile-drawer-user strong {
    color: #10192d;
    font-size: .9rem;
    font-weight: 900;
    max-width: 13rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.is-eap-authenticated .eap-mobile-drawer a.primary {
    justify-content: center;
    text-align: center;
  }

  body.is-eap-authenticated .eap-mobile-drawer a.primary::after {
    display: none;
  }

  body.is-eap-authenticated .bottom-nav {
    align-items: stretch;
    background: rgba(255, 255, 252, .98);
    border: 1px solid rgba(17, 27, 49, .12);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -14px 34px rgba(15, 35, 31, .1);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    left: 0;
    min-height: 78px;
    overflow: visible;
    padding: .45rem .55rem calc(.45rem + env(safe-area-inset-bottom, 0px));
    position: fixed;
    right: 0;
    transform: none;
    width: auto;
    z-index: 70;
  }

  body:not(.is-eap-authenticated) .bottom-nav {
    display: none;
  }

  body.is-eap-authenticated .bottom-nav a {
    align-content: center;
    border-radius: 14px;
    color: #4b576a;
    display: grid;
    font-size: .72rem;
    font-weight: 900;
    gap: .22rem;
    justify-items: center;
    min-width: 0;
    padding: .45rem .2rem;
    text-decoration: none;
  }

  body.is-eap-authenticated .bottom-nav a.active {
    background: #f0f6e5;
    color: var(--tenant-primary, #07552f);
  }

  body.is-eap-authenticated .bottom-nav-icon {
    background-color: currentColor;
    display: block;
    height: 22px;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    width: 22px;
  }

  body.is-eap-authenticated .bottom-icon-calendar {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='5' width='16' height='15' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16M8 14h.01M12 14h.01M16 14h.01M8 17h.01M12 17h.01' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='5' width='16' height='15' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16M8 14h.01M12 14h.01M16 14h.01M8 17h.01M12 17h.01' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  body.is-eap-authenticated .bottom-icon-chat {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4h3l1.5 4-2 1.2a11 11 0 0 0 5.3 5.3l1.2-2 4 1.5v3a3 3 0 0 1-3.3 3A15 15 0 0 1 4 7.3 3 3 0 0 1 7 4Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4h3l1.5 4-2 1.2a11 11 0 0 0 5.3 5.3l1.2-2 4 1.5v3a3 3 0 0 1-3.3 3A15 15 0 0 1 4 7.3 3 3 0 0 1 7 4Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  body.is-eap-authenticated .bottom-icon-resource {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 5.5A2.5 2.5 0 0 1 7 3h12v16H7a2.5 2.5 0 0 0-2.5 2V5.5Zm0 0A2.5 2.5 0 0 1 7 8h12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 5.5A2.5 2.5 0 0 1 7 3h12v16H7a2.5 2.5 0 0 0-2.5 2V5.5Zm0 0A2.5 2.5 0 0 1 7 8h12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  body.is-eap-authenticated .bottom-icon-user {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M4 20v-1a5 5 0 0 1 10 0v1'/%3E%3Cpath d='M16 11a2.5 2.5 0 1 0 0-5'/%3E%3Cpath d='M17 20v-1a4 4 0 0 0-2-3.5'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M4 20v-1a5 5 0 0 1 10 0v1'/%3E%3Cpath d='M16 11a2.5 2.5 0 1 0 0-5'/%3E%3Cpath d='M17 20v-1a4 4 0 0 0-2-3.5'/%3E%3C/g%3E%3C/svg%3E");
  }

  body.is-eap-authenticated .eap-dashboard-actions-grid {
    display: none;
  }

  body.is-eap-authenticated .eap-content-page .eap-recommended-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.is-eap-authenticated .eap-content-page .eap-recommended-grid .eap-recommended-card:first-of-type {
    grid-column: 1 / -1;
  }

  body.is-eap-authenticated .eap-content-page .eap-recommended-grid .eap-recommended-card:not(:first-of-type) {
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.is-eap-authenticated .eap-content-page .eap-recommended-grid .eap-recommended-card:not(:first-of-type) .eap-recommended-card-image {
    min-height: 96px;
  }

  body.is-eap-authenticated .eap-content-page .eap-recommended-grid .eap-recommended-card:not(:first-of-type) .eap-recommended-card-body {
    gap: .45rem;
    padding: .75rem;
  }

  body.is-eap-authenticated .eap-content-page .eap-recommended-grid .eap-recommended-card:not(:first-of-type) .eap-recommended-card-body strong {
    font-size: .92rem;
    line-height: 1.16;
  }

  body.is-eap-authenticated .eap-content-page .eap-recommended-grid .eap-recommended-card:not(:first-of-type) .eap-recommended-card-body > span {
    display: none;
  }

  body.is-eap-authenticated .eap-content-page .eap-recommended-grid .eap-recommended-card:not(:first-of-type) .eap-recommended-card-body small + small {
    border-left: 0;
    padding-left: 0;
  }

  body.is-eap-authenticated .eap-content-detail-actions,
  body.is-eap-authenticated .eap-content-detail .action-button[href*="/Booking"],
  body.is-eap-authenticated .eap-content-detail .action-button[href*="/Content"],
  body.is-eap-authenticated .eap-video-detail .action-button[href*="/Booking"],
  body.is-eap-authenticated .eap-video-detail .action-button[href*="/Content"] {
    display: none;
  }

  body.is-eap-authenticated .eap-content-detail-hero {
    border: 0;
    box-shadow: none;
  }

  body.is-eap-authenticated .eap-content-detail,
  body.is-eap-authenticated .eap-video-detail {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body.is-eap-authenticated .eap-content-list-grid,
  body.is-eap-authenticated .eap-category-card-grid,
  body.is-eap-authenticated .eap-search-results-section .eap-recommended-grid,
  body.is-eap-authenticated .eap-content-page .eap-browse-categories .library-topic-grid {
    padding-right: .85rem;
  }
}

@media (max-width: 520px) {
  body.is-eap-authenticated .mobile-app-header .eap-header-user {
    padding-right: .35rem;
  }

  body.is-eap-authenticated .mobile-app-header .eap-header-user strong {
    display: none;
  }
}

/* Logged-in EAP header/content alignment cleanup. */
.eap-header-account-actions {
  align-items: center;
  display: flex;
  gap: .85rem;
  margin-left: auto;
}

.eap-header-account-actions .eap-header-book-now {
  align-items: center;
  background: linear-gradient(135deg, var(--eap-brand-primary, var(--tenant-primary, #0b5a34)), var(--eap-brand-primary-strong, color-mix(in srgb, var(--tenant-primary, #0b5a34) 78%, black)));
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(5, 61, 36, .16);
  color: white;
  display: inline-flex;
  font-weight: 900;
  gap: .5rem;
  justify-content: center;
  min-height: 52px;
  min-width: 124px;
  padding: 0 1.25rem;
  text-decoration: none;
}

.eap-header-account-actions .eap-header-book-now::after {
  display: none;
}

.eap-header-account-actions .eap-header-book-now .button-icon {
  background-color: currentColor;
  height: 19px;
  width: 19px;
}

.eap-header-account-actions .eap-header-book-now,
.eap-header-account-actions .eap-header-book-now:visited,
.eap-header-account-actions .eap-header-book-now.active {
  color: white;
}

.eap-dashboard-search-results {
  z-index: 120;
}

@media (min-width: 980px) {
  body.is-eap-authenticated .eap-web-header .top-actions,
  body.eap-content-page.is-eap-authenticated .eap-web-header .top-actions {
    flex: 1 1 auto;
    justify-content: center;
    margin-left: 0;
  }

  body.is-eap-authenticated .eap-web-header .eap-header-account-actions,
  body.eap-content-page.is-eap-authenticated .eap-web-header .eap-header-account-actions {
    flex: 0 0 auto;
  }

  body.is-eap-authenticated .eap-dashboard-home {
    align-items: end;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 44%);
  }

  body.is-eap-authenticated .eap-dashboard-greeting {
    margin-bottom: 0;
  }

  body.is-eap-authenticated .eap-dashboard-search {
    justify-self: end;
    margin: 0;
    max-width: 560px;
    transform: translateY(-1rem);
    width: 100%;
  }

  body.is-eap-authenticated .eap-dashboard-home .eap-upcoming-booking-section-desktop {
    display: block;
    grid-column: 1 / -1;
    justify-self: stretch;
    margin: 0;
    max-width: none;
    padding: 0;
    width: 100%;
  }

  body.is-eap-authenticated .eap-dashboard-home .eap-upcoming-booking-section-desktop {
    margin-left: calc(clamp(1.5rem, 3.4vw, 3rem) * -1);
    margin-right: calc(clamp(1.5rem, 3.4vw, 3rem) * -1);
    width: calc(100% + (clamp(1.5rem, 3.4vw, 3rem) * 2));
  }

  body.is-eap-authenticated .eap-dashboard-canvas > .eap-upcoming-booking-section-mobile {
    display: none;
  }

  body.is-eap-authenticated .eap-dashboard-home .eap-upcoming-booking-card {
    align-items: center;
    flex-direction: row;
  }

  body.is-eap-authenticated .eap-dashboard-actions-grid,
  body.is-eap-authenticated .eap-recommended-section,
  body.is-eap-authenticated .eap-browse-categories {
    grid-column: 1 / -1;
  }

  .eap-category-content-page .eap-content-resources,
  .eap-category-content-page .eap-category-page-head {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .eap-manager-people-canvas .eap-manager-page-head {
    padding-top: 1.15rem;
  }

  .eap-manager-people-stats,
  .eap-manager-content-graph,
  .eap-manager-people-canvas .eap-manager-people-layout {
    max-width: none;
    width: 100%;
  }

  .eap-manager-content-graph {
    margin-top: 1.65rem;
    padding: 1.35rem;
  }

  .eap-manager-people-canvas .eap-manager-people-layout {
    margin-top: 1.65rem;
  }

  .eap-manager-panel-actions {
    padding: 1.15rem 1.15rem 0;
  }
}

@media (max-width: 979px) {
  body.is-eap-authenticated .eap-header-account-actions {
    display: contents;
  }

  body.is-eap-authenticated .eap-header-account-actions .eap-header-book-now {
    display: none;
  }

  body.is-eap-authenticated .eap-dashboard-home {
    display: block;
  }

  body.is-eap-authenticated .eap-dashboard-home .eap-upcoming-booking-section-desktop {
    display: none;
  }

  body.is-eap-authenticated .eap-dashboard-canvas > .eap-upcoming-booking-section-mobile {
    display: block;
  }
}

@media (max-width: 979px) {
  body.is-eap-authenticated .mobile-app-header .eap-header-account-actions,
  body.is-eap-authenticated .mobile-app-header .eap-header-user {
    display: none;
  }

  body.is-eap-authenticated .mobile-app-header .eap-mobile-menu-button {
    gap: 3px;
    margin-left: auto;
  }

  body.is-eap-authenticated .mobile-app-header .eap-mobile-menu-button span {
    height: 3px;
    width: 28px;
  }
}

body.is-eap-authenticated .eap-dashboard-search {
  isolation: isolate;
  position: relative;
  z-index: 300;
}

body.is-eap-authenticated .eap-dashboard-search-results {
  z-index: 301;
}

body.is-eap-authenticated .eap-recommended-section,
body.is-eap-authenticated .eap-browse-categories,
body.is-eap-authenticated .eap-upcoming-booking-section {
  position: relative;
  z-index: 1;
}

body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section,
body.is-eap-authenticated .eap-dashboard-canvas > .eap-browse-categories {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section .eap-content-section-head,
body.is-eap-authenticated .eap-dashboard-canvas > .eap-browse-categories .eap-content-section-head,
body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section .eap-recommended-grid,
body.is-eap-authenticated .eap-dashboard-canvas > .eap-browse-categories .library-topic-grid {
  width: 100%;
}

body.is-eap-authenticated .eap-dashboard-canvas > .eap-browse-categories .library-topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-page-head,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-stats,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-content-graph,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-layout {
  margin-left: auto;
  margin-right: auto;
  max-width: 1340px;
  width: 100%;
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-content-graph {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  padding-top: 2rem;
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-content-graph + .eap-manager-people-layout {
  margin-top: 2.5rem;
}

body.is-eap-authenticated .eap-dashboard-greeting h1,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-page-head h1 {
  color: var(--eap-primary);
  font-family: var(--font-heading);
  font-weight: 900;
}

@media (max-width: 979px) {
  body.is-eap-authenticated .mobile-app-header {
    gap: .55rem;
    padding-left: clamp(.8rem, 3vw, 1rem);
  }

  body.is-eap-authenticated .mobile-app-header .brand {
    margin-left: -.25rem;
  }

  body.is-eap-authenticated .mobile-app-header .brand img {
    width: min(155px, 39vw);
  }

  body.is-eap-authenticated .mobile-app-header .eap-header-tenant-brand {
    align-items: center;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(17, 27, 49, .12);
    border-radius: 10px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 44px;
    justify-content: center;
    margin-left: .15rem;
    padding: .25rem;
    width: 44px;
  }

  body.is-eap-authenticated .mobile-app-header .eap-header-tenant-brand img {
    display: block;
    height: 34px;
    object-fit: contain;
    width: 34px;
  }

  body.is-eap-authenticated .mobile-app-header .eap-header-tenant-brand strong {
    display: none;
  }
}

@media (max-width: 979px) {
  body.is-eap-authenticated {
    --eap-mobile-content-rail: clamp(1.5rem, 7vw, 2rem);
  }

  body.is-eap-authenticated .eap-dashboard-canvas,
  body.is-eap-authenticated .eap-category-content-page {
    padding-left: var(--eap-mobile-content-rail);
    padding-right: var(--eap-mobile-content-rail);
  }

  body.is-eap-authenticated .eap-dashboard-home,
  body.is-eap-authenticated .eap-upcoming-booking-section,
  body.is-eap-authenticated .eap-content-page .eap-recommended-section,
  body.is-eap-authenticated .eap-content-page .eap-browse-categories,
  body.is-eap-authenticated .eap-category-content-page .eap-category-page-head,
  body.is-eap-authenticated .eap-category-content-page .eap-content-resources {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  body.is-eap-authenticated .eap-content-list-grid,
  body.is-eap-authenticated .eap-category-card-grid,
  body.is-eap-authenticated .eap-search-results-section .eap-recommended-grid,
  body.is-eap-authenticated .eap-content-page .eap-browse-categories .library-topic-grid {
    padding-left: 0;
    padding-right: 0;
  }
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-content-graph .eap-manager-section-head {
  margin-bottom: 1.1rem;
}

body.is-eap-authenticated .eap-dashboard-canvas:not(.eap-manager-people-canvas) > .eap-dashboard-home,
body.is-eap-authenticated .eap-dashboard-canvas:not(.eap-manager-people-canvas) > .eap-upcoming-booking-section,
body.is-eap-authenticated .eap-dashboard-canvas:not(.eap-manager-people-canvas) > .eap-recommended-section,
body.is-eap-authenticated .eap-dashboard-canvas:not(.eap-manager-people-canvas) > .eap-browse-categories {
  margin-left: auto;
  margin-right: auto;
  max-width: 1340px;
  width: 100%;
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table {
  overflow-x: hidden;
  padding-inline: clamp(1rem, 2vw, 1.6rem);
  width: 100%;
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table-head,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table-row {
  gap: .9rem;
  grid-template-columns: minmax(190px, 1.1fr) minmax(210px, 1.2fr) minmax(120px, .7fr) minmax(112px, .55fr) minmax(112px, .55fr);
  min-width: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-inline-action .action-button {
  padding-inline: .75rem;
}

body.is-eap-authenticated .eap-manager-people-canvas {
  --eap-manager-people-rail: min(1140px, 100%);
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-page-head,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-stats,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-content-graph,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-layout {
  max-width: var(--eap-manager-people-rail);
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-content-graph,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-layout {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 979px) {
  body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section .eap-recommended-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section .eap-recommended-card:first-child {
    grid-column: 1 / -1;
  }

  body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section .eap-recommended-card:not(:first-child) {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section .eap-recommended-card:not(:first-child) .eap-recommended-card-image {
    min-height: 96px;
  }

  body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section .eap-recommended-card:not(:first-child) .eap-recommended-card-body {
    align-content: start;
    gap: .35rem;
    padding: .65rem .65rem .55rem;
  }

  body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section .eap-recommended-card:not(:first-child) .eap-recommended-card-body strong {
    font-size: .92rem;
    line-height: 1.14;
  }

  body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section .eap-recommended-card:not(:first-child) .eap-recommended-card-body > span {
    display: none;
  }

  body.is-eap-authenticated .eap-dashboard-canvas > .eap-recommended-section .eap-recommended-card:not(:first-child) .eap-recommended-card-body small {
    font-size: .68rem;
    line-height: 1.05;
  }
}

@media (max-width: 979px) {
  body.is-eap-authenticated .eap-categories-page .eap-all-categories .library-topic-card {
    align-items: center;
    gap: .8rem;
    grid-template-columns: 50px minmax(0, 1fr) 34px;
    min-height: 112px;
    padding: 1rem;
  }

  body.is-eap-authenticated .eap-categories-page .eap-all-categories .topic-image-shell {
    height: 50px;
    width: 50px;
  }

  body.is-eap-authenticated .eap-categories-page .eap-all-categories .topic-image {
    height: 30px;
    width: 30px;
  }

  body.is-eap-authenticated .eap-categories-page .eap-all-categories .topic-copy {
    gap: .2rem;
  }

  body.is-eap-authenticated .eap-categories-page .eap-all-categories .topic-copy small {
    line-height: 1.28;
  }
}

@media (max-width: 979px) {
  body.is-eap-authenticated {
    --eap-mobile-page-rail: clamp(1.5rem, 7vw, 2rem);
  }

  body.is-eap-authenticated :is(
    .eap-dashboard-canvas,
    .eap-category-content-page,
    .eap-content-page-head,
    .eap-content-search-page,
    .eap-search-results-section,
    .eap-content-detail,
    .eap-video-detail,
    .eap-booking-canvas,
    .eap-manager-people-canvas,
    .eap-manager-toolkit-canvas
  ) {
    padding-left: var(--eap-mobile-page-rail);
    padding-right: var(--eap-mobile-page-rail);
  }

  body.is-eap-authenticated :is(
    .eap-dashboard-home,
    .eap-upcoming-booking-section,
    .eap-recommended-section,
    .eap-browse-categories,
    .library-section,
    .eap-category-page-head,
    .eap-content-resources,
    .eap-content-list-grid,
    .eap-category-card-grid,
    .eap-search-results-section .eap-recommended-grid,
    .eap-content-detail-body,
    .eap-content-detail-safety-card
  ) {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
}

body.eap-site-page.eap-marketing-page :is(
  .eap-home-copy h1,
  .booking-hero-card h1,
  .eap-org-hero h1,
  .eap-about-copy h1,
  .eap-contact-copy h1,
  .eap-policy-hero h1,
  .eap-login-panel h1,
  .eap-access-card h1,
  .eap-dashboard-greeting h1,
  .eap-content-page-head h1,
  .eap-content-search-page h1,
  .eap-content-search-hero h1,
  .eap-content-detail-hero h1,
  .eap-video-header h1,
  .eap-manager-page-head h1,
  .category-hero h1,
  .crisis-hero h1,
  .tenant-card h1
),
body.eap-site-page.is-eap-authenticated :is(
  .eap-home-copy h1,
  .booking-hero-card h1,
  .eap-org-hero h1,
  .eap-about-copy h1,
  .eap-contact-copy h1,
  .eap-policy-hero h1,
  .eap-login-panel h1,
  .eap-access-card h1,
  .eap-dashboard-greeting h1,
  .eap-content-page-head h1,
  .eap-content-search-page h1,
  .eap-content-search-hero h1,
  .eap-content-detail-hero h1,
  .eap-video-header h1,
  .eap-manager-page-head h1,
  .category-hero h1,
  .crisis-hero h1,
  .tenant-card h1
) {
  color: var(--eap-page-heading-color);
  font-family: var(--eap-page-heading-family);
  font-size: var(--eap-page-heading-size);
  font-weight: var(--eap-page-heading-weight);
  letter-spacing: 0;
  line-height: var(--eap-page-heading-line-height);
}

@media (max-width: 979px) {
  body.eap-site-page.eap-marketing-page :is(
    .eap-home-copy h1,
    .booking-hero-card h1,
    .eap-org-hero h1,
    .eap-about-copy h1,
    .eap-contact-copy h1,
    .eap-policy-hero h1,
    .eap-login-panel h1,
    .eap-access-card h1,
    .eap-dashboard-greeting h1,
    .eap-content-page-head h1,
    .eap-content-search-page h1,
    .eap-content-search-hero h1,
    .eap-content-detail-hero h1,
    .eap-video-header h1,
    .eap-manager-page-head h1,
    .category-hero h1,
    .crisis-hero h1,
    .tenant-card h1
  ),
  body.eap-site-page.is-eap-authenticated :is(
    .eap-home-copy h1,
    .booking-hero-card h1,
    .eap-org-hero h1,
    .eap-about-copy h1,
    .eap-contact-copy h1,
    .eap-policy-hero h1,
    .eap-login-panel h1,
    .eap-access-card h1,
    .eap-dashboard-greeting h1,
    .eap-content-page-head h1,
    .eap-content-search-page h1,
    .eap-content-search-hero h1,
    .eap-content-detail-hero h1,
    .eap-video-header h1,
    .eap-manager-page-head h1,
    .category-hero h1,
    .crisis-hero h1,
    .tenant-card h1
  ) {
    font-size: var(--eap-page-heading-size-mobile);
    white-space: normal;
  }
}

body.eap-site-page main h1 {
  color: var(--eap-page-heading-color) !important;
  font-family: var(--eap-page-heading-family) !important;
  font-size: var(--eap-page-heading-size) !important;
  font-weight: var(--eap-page-heading-weight) !important;
  letter-spacing: 0 !important;
  line-height: var(--eap-page-heading-line-height) !important;
}

@media (max-width: 979px) {
  body.eap-site-page main h1 {
    font-size: var(--eap-page-heading-size-mobile) !important;
    white-space: normal !important;
  }
}

/* EAP standard page rail. Keep this near the end so all page shells use the
   same left/right start position as the home page. */
body.eap-site-page {
  --eap-standard-rail-max: 1340px;
  --eap-standard-rail-gutter: clamp(1.5rem, 2.8vw, 3rem);
  --eap-standard-rail-gutter-mobile: clamp(1.5rem, 7vw, 2rem);
}

@media (min-width: 980px) {
  body.eap-site-page :is(
    .eap-dashboard-canvas,
    .eap-category-content-page,
    .eap-content-page-head,
    .eap-content-search-page,
    .eap-search-results-section,
    .eap-content-detail,
    .eap-video-detail,
    .eap-booking-canvas,
    .eap-manager-people-canvas,
    .eap-manager-toolkit-canvas,
    .eap-contact-hero,
    .eap-contact-layout,
    .eap-policy-page,
    .eap-home-team,
    .eap-org-tools,
    .eap-about-values,
    .eap-about-team-band,
    .booking-layout,
    .booking-steps-section,
    .access-code-shell,
    .login-card,
    .tenant-card,
    .crisis-page,
    .page-card.urgent
  ) {
    padding-left: var(--eap-standard-rail-gutter);
    padding-right: var(--eap-standard-rail-gutter);
  }

  body.eap-site-page :is(
    .eap-dashboard-home,
    .eap-upcoming-booking-section,
    .eap-recommended-section,
    .eap-browse-categories,
    .eap-content-resources,
    .eap-category-page-head,
    .eap-content-list-grid,
    .eap-category-card-grid,
    .eap-search-results-grid,
    .eap-content-detail-hero,
    .eap-content-detail-body,
    .eap-content-detail-safety-card,
    .eap-manager-page-head,
    .eap-manager-people-stats,
    .eap-manager-content-graph,
    .eap-manager-people-layout,
    .eap-manager-report-grid,
    .eap-manager-reports-page > .eap-manager-panel,
    .eap-org-hero,
    .eap-org-cta-band,
    .booking-hero-card,
    .booking-layout,
    .booking-steps-section,
    .eap-contact-layout,
    .eap-policy-content
  ) {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--eap-standard-rail-max);
    width: 100%;
  }

  body.eap-marketing-page:not(.is-eap-authenticated) :is(
    .eap-home-copy,
    .booking-hero-card,
    .eap-org-hero > .eap-home-copy,
    .eap-about-copy,
    .eap-contact-copy
  ) {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 979px) {
  body.eap-site-page :is(
    .eap-dashboard-canvas,
    .eap-category-content-page,
    .eap-content-page-head,
    .eap-content-search-page,
    .eap-search-results-section,
    .eap-content-detail,
    .eap-video-detail,
    .eap-booking-canvas,
    .eap-manager-people-canvas,
    .eap-manager-toolkit-canvas,
    .eap-contact-hero,
    .eap-contact-layout,
    .eap-policy-page,
    .eap-home-team,
    .eap-org-tools,
    .eap-about-values,
    .eap-about-team-band,
    .booking-layout,
    .booking-steps-section,
    .access-code-shell,
    .login-card,
    .tenant-card,
    .crisis-page,
    .page-card.urgent
  ) {
    padding-left: var(--eap-standard-rail-gutter-mobile);
    padding-right: var(--eap-standard-rail-gutter-mobile);
  }

  body.eap-site-page :is(
    .eap-dashboard-home,
    .eap-upcoming-booking-section,
    .eap-recommended-section,
    .eap-browse-categories,
    .eap-content-resources,
    .eap-category-page-head,
    .eap-content-list-grid,
    .eap-category-card-grid,
    .eap-search-results-grid,
    .eap-content-detail-hero,
    .eap-content-detail-body,
    .eap-content-detail-safety-card,
    .eap-manager-page-head,
    .eap-manager-people-stats,
    .eap-manager-content-graph,
    .eap-manager-people-layout,
    .eap-manager-report-grid,
    .eap-manager-reports-page > .eap-manager-panel,
    .eap-org-hero,
    .eap-org-cta-band,
    .booking-hero-card,
    .booking-layout,
    .booking-steps-section,
    .eap-contact-layout,
    .eap-policy-content
  ) {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
}

/* Tenant branding should flow from the layout variables for both signed-in and tenant-routed pages. */
body.eap-site-page {
  --eap-brand-primary: var(--tenant-primary, var(--eap-primary));
  --eap-brand-primary-strong: color-mix(in srgb, var(--eap-brand-primary) 82%, black);
  --eap-brand-accent: var(--tenant-accent, var(--eap-accent));
  --eap-brand-accent-soft: color-mix(in srgb, var(--eap-brand-accent) 28%, white);
}

body.eap-site-page :is(
  .eap-web-header .small-link.active,
  .eap-header-user .eap-avatar,
  .eap-header-tenant-brand strong,
  .eap-dashboard-action-link,
  .eap-manager-bar-count,
  .booking-step-head span,
  .eap-mobile-drawer a.active,
  .mobile-bottom-nav a.active
) {
  color: var(--eap-brand-primary);
}

body.eap-site-page :is(
  .eap-web-header .small-link.active::after,
  .mobile-bottom-nav a.active::after
) {
  background: var(--eap-brand-primary);
}

body.eap-site-page :is(
  .eap-web-header .book-now-link,
  .eap-header-account-actions .eap-header-book-now,
  .eap-mobile-drawer a.primary,
  .action-button.primary,
  .eap-dashboard-action-card.is-booking .eap-dashboard-action-icon
) {
  background: linear-gradient(135deg, var(--eap-brand-primary), var(--eap-brand-primary-strong));
  border-color: var(--eap-brand-primary);
  color: white;
}

body.eap-site-page :is(
  .login-link,
  .action-button.outline,
  .action-button.brown-outline
) {
  border-color: color-mix(in srgb, var(--eap-brand-primary) 62%, transparent);
}

body.eap-site-page :is(
  .eap-header-user .eap-avatar,
  .eap-header-tenant-brand,
  .eap-dashboard-action-icon,
  .booking-step-head span,
  .mobile-bottom-nav a.active
) {
  background-color: var(--eap-brand-accent-soft);
}

body.eap-site-page .eap-header-tenant-brand {
  background-color: transparent;
}

body.eap-site-page :is(.eap-manager-bar-track span, .content-card-progress span) {
  background: linear-gradient(90deg, var(--eap-brand-primary), var(--eap-brand-accent));
}

.eap-home-mobile-benefits {
  display: none;
}

/* Public mobile page standard. The non-authenticated home page is the source
   of truth for rails and the first heading start position. */
@media (max-width: 979px) {
  body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) {
    --eap-public-mobile-rail: clamp(1.5rem, 7vw, 2rem);
    --eap-public-mobile-top: 1.35rem;
  }

  .eap-tenant-home-purpose {
    padding: 1.35rem 0 2.5rem;
  }

  .eap-tenant-expectations {
    grid-template-columns: 1fr;
  }

  .eap-tenant-home-purpose > .action-button {
    justify-self: stretch;
  }

  body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) main {
    padding-left: var(--eap-public-mobile-rail);
    padding-right: var(--eap-public-mobile-rail);
  }

  body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) :is(
    .eap-home-hero,
    .eap-tenant-home-purpose,
    .eap-org-hero,
    .eap-about-hero,
    .eap-contact-hero,
    .booking-hero-card,
    .eap-login-layout,
    .eap-login-content,
    .eap-login-panel,
    .eap-policy-page,
    .eap-policy-hero,
    .eap-content-hero,
    .eap-video-detail,
    .crisis-page,
    .crisis-hero,
    .page-card.urgent,
    .tenant-card,
    .access-code-shell,
    .access-code-card,
    .login-card
  ) {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) :is(
    .eap-home-hero,
    .eap-org-hero,
    .eap-about-hero,
    .eap-contact-hero,
    .booking-hero-card,
    .eap-content-hero
  ) {
    align-items: start;
    display: block;
    min-height: 0;
    padding-top: var(--eap-public-mobile-top);
  }

  body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) :is(
    .eap-home-copy,
    .eap-org-hero > .eap-home-copy,
    .eap-about-copy,
    .eap-contact-copy,
    .booking-hero-card > .eap-home-copy,
    .eap-content-hero > .eap-home-copy,
    .eap-login-content,
    .eap-login-panel,
    .access-code-card,
    .login-card,
    .tenant-card,
    .page-card.urgent
  ) {
    padding: 0;
  }

  body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) main h1 {
    margin-top: 0 !important;
  }

  body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) :is(
    .eap-policy-page,
    .eap-login-layout,
    .eap-login-content,
    .access-code-shell,
    .login-card,
    .crisis-page,
    .page-card.urgent,
    .tenant-card
  ) {
    padding-top: var(--eap-public-mobile-top);
  }

  body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) :is(
    .eap-home-team,
    .eap-home-mobile-benefits,
    .eap-home-tools,
    .eap-org-tools,
    .eap-org-cta-band,
    .eap-about-values,
    .eap-about-team-band,
    .eap-contact-layout,
    .booking-layout,
    .booking-steps-section,
    .booking-support-section,
    .eap-policy-content,
    .library-section
  ) {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  body.eap-home-page.eap-marketing-page:not(.is-eap-authenticated) .eap-home-mobile-benefits {
    display: block;
    margin-top: .55rem;
  }

  body.eap-home-page.eap-marketing-page:not(.is-eap-authenticated) .eap-home-hero {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  body.eap-home-page.eap-marketing-page:not(.is-eap-authenticated) .eap-home-hero .eap-marketing-actions {
    margin-bottom: 0;
  }

  body.eap-home-page.eap-marketing-page:not(.is-eap-authenticated) .eap-home-mobile-benefits .eap-section-title-row {
    gap: .55rem;
    margin-bottom: 1rem;
  }

  body.eap-home-page.eap-marketing-page:not(.is-eap-authenticated) .eap-home-mobile-benefits .eap-section-title-row h2 {
    font-size: clamp(1.7rem, 7vw, 2.25rem);
  }

  body.eap-home-page.eap-marketing-page:not(.is-eap-authenticated) .eap-home-mobile-benefits .eap-sales-card-grid {
    display: grid;
    gap: .9rem;
    grid-template-columns: 1fr;
  }

  body.eap-home-page.eap-marketing-page:not(.is-eap-authenticated) .eap-home-mobile-benefits .eap-sales-card {
    border-radius: 8px;
    gap: .7rem;
    min-height: 0;
    padding: 1rem;
  }

  body.eap-home-page.eap-marketing-page:not(.is-eap-authenticated) .eap-home-mobile-benefits .about-value-icon {
    height: 46px;
    width: 46px;
  }

  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools {
    display: block;
    margin-top: 1.65rem;
  }

  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-section-title-row {
    display: grid;
    gap: .55rem;
    margin-bottom: 1rem;
    max-width: none;
  }

  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-section-title-row h2 {
    font-size: clamp(1.7rem, 7vw, 2.25rem);
  }

  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card {
    border-radius: 8px;
    gap: .55rem;
    min-height: 0;
    padding: .85rem;
  }

  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .about-value-icon {
    height: 38px;
    width: 38px;
  }

  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card strong {
    font-size: .9rem;
    line-height: 1.12;
  }

  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card p {
    font-size: .74rem;
    line-height: 1.35;
  }
}

/* /content is the source of truth for EAP page rails. Background artwork may
   bleed; content sections align to this rail. */
body.eap-site-page {
  --eap-source-rail-max: 1340px;
  --eap-source-rail-gutter: clamp(1.5rem, 2.8vw, 3rem);
  --eap-source-rail-gutter-mobile: clamp(1.5rem, 7vw, 2rem);
}

body.is-eap-authenticated .eap-manager-people-canvas {
  --eap-manager-people-rail: var(--eap-source-rail-max);
}

body.eap-site-page :is(
  .eap-dashboard-home,
  .eap-upcoming-booking-section,
  .eap-recommended-section,
  .eap-browse-categories,
  .eap-category-page-head,
  .eap-category-content-page > .eap-content-resources,
  .eap-manager-page-head,
  .eap-manager-people-stats,
  .eap-manager-content-graph,
  .eap-manager-people-layout,
  .eap-home-hero,
  .eap-home-team,
  .eap-home-mobile-benefits,
  .eap-home-tools,
  .eap-contact-hero,
  .eap-contact-layout,
  .eap-booking-page > .booking-hero-card,
  .eap-booking-page > .booking-layout,
  .eap-booking-page > .booking-steps-section,
  .eap-booking-page > .booking-support-section,
  .eap-org-hero,
  .eap-org-tools,
  .eap-org-cta-band,
  .eap-about-hero,
  .eap-about-values,
  .eap-about-team-band,
  .eap-about-privacy-card,
  .eap-login-layout
) {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--eap-source-rail-max);
  width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter) * 2)));
}

body.eap-site-page :is(
  .eap-dashboard-canvas,
  .eap-booking-page,
  .eap-category-content-page
) {
  padding-left: 0;
  padding-right: 0;
}

body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) main {
  padding-left: 0;
  padding-right: 0;
}

body.eap-site-page :is(
  .eap-dashboard-canvas > .eap-recommended-section .eap-content-section-head,
  .eap-dashboard-canvas > .eap-browse-categories .eap-content-section-head,
  .eap-dashboard-canvas > .eap-recommended-section .eap-recommended-grid,
  .eap-dashboard-canvas > .eap-browse-categories .library-topic-grid,
  .eap-category-content-page > .eap-content-resources .section-head,
  .eap-category-content-page > .eap-content-resources .eap-category-card-grid
) {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

@media (max-width: 979px) {
  body.eap-site-page :is(
    .eap-dashboard-home,
    .eap-upcoming-booking-section,
    .eap-recommended-section,
    .eap-browse-categories,
    .eap-category-page-head,
    .eap-category-content-page > .eap-content-resources,
    .eap-manager-page-head,
    .eap-manager-people-stats,
    .eap-manager-content-graph,
    .eap-manager-people-layout,
    .eap-home-hero,
    .eap-home-team,
    .eap-home-mobile-benefits,
    .eap-home-tools,
    .eap-contact-hero,
    .eap-contact-layout,
    .eap-booking-page > .booking-hero-card,
    .eap-booking-page > .booking-layout,
    .eap-booking-page > .booking-steps-section,
    .eap-booking-page > .booking-support-section,
    .eap-org-hero,
    .eap-org-tools,
    .eap-org-cta-band,
    .eap-about-hero,
    .eap-about-values,
    .eap-about-team-band,
    .eap-about-privacy-card,
    .eap-login-layout
  ) {
    width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter-mobile) * 2)));
  }
}

@media (max-width: 979px) {
  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-stats {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-stats article {
    align-items: start;
    display: grid;
    gap: .35rem;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 112px;
    padding: .9rem;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-stats article::before {
    display: none;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-stats article > .button-icon {
    grid-row: span 2;
    height: 42px;
    width: 42px;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-stats strong {
    font-size: 1.8rem;
    line-height: 1;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-stats small {
    align-self: start;
    line-height: 1.15;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-content-graph {
    margin-top: 1.35rem;
    margin-bottom: 1.8rem;
    padding: 1.25rem;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-content-graph .eap-manager-section-head {
    align-items: start;
    display: grid;
    gap: .25rem;
    margin-bottom: 1.15rem;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-popular-bars {
    gap: 1rem;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-popular-bars article {
    display: grid;
    gap: .45rem;
    grid-template-columns: 1fr;
    padding: .1rem 0 .45rem;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-popular-bars em {
    justify-self: start;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-layout {
    margin-top: 1.8rem;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-layout > .eap-manager-panel {
    padding: 1rem;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-panel-actions {
    justify-content: stretch;
    padding: 0 0 1rem;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-panel-actions .action-button {
    width: 100%;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table {
    display: grid;
    gap: .9rem;
    overflow: visible;
    padding: 0;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table-head {
    display: none;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table-row {
    align-items: stretch;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--eap-border);
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(8, 43, 31, .06);
    display: grid;
    gap: .75rem;
    grid-template-columns: 1fr;
    min-width: 0;
    padding: 1rem;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-employee-cell {
    gap: .75rem;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-email-cell,
  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table-row > span:not(.eap-manager-email-cell) {
    color: var(--eap-muted);
    font-size: .9rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-email-cell::before {
    color: var(--eap-ink);
    content: "Email";
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: .15rem;
    text-transform: uppercase;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table-row > span:not(.eap-manager-email-cell)::before {
    color: var(--eap-ink);
    content: "Department";
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: .15rem;
    text-transform: uppercase;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-inline-action {
    margin: 0;
  }

  body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-inline-action .action-button {
    justify-content: center;
    min-height: 46px;
    width: 100%;
  }
}

body.eap-login-page:not(.is-eap-authenticated) .eap-login-layout {
  display: block;
  margin: 0 auto;
  max-width: var(--eap-source-rail-max, 1340px);
  min-height: calc(100vh - 220px);
  width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)) * 2)));
}

body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(360px, .82fr) minmax(420px, 1fr);
}

body.eap-login-page:not(.is-eap-authenticated) .eap-login-image {
  display: none;
}

body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-image {
  border-radius: 10px;
  display: block;
  min-height: clamp(460px, 62vh, 720px);
  overflow: hidden;
  position: relative;
}

body.eap-access-code-page.has-tenant-branding:not(.is-eap-authenticated) .eap-login-image {
  align-items: center;
  background: transparent !important;
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

body.eap-access-code-page.has-tenant-branding:not(.is-eap-authenticated) .eap-login-image::before {
  background: var(--eap-tenant-logo-image) center / contain no-repeat;
  content: "";
  display: block;
  height: clamp(240px, 34vw, 460px);
  width: min(72vw, 620px);
}

body.eap-access-code-page.has-tenant-branding:not(.is-eap-authenticated) .eap-login-image::after {
  content: none !important;
}

body.eap-access-code-page:not(.has-tenant-branding):not(.is-eap-authenticated) .eap-login-image {
  background-image: var(--eap-tenant-hero-image, url("/assets/eap-login-abstract.png"));
  background-position: center center;
  background-size: cover;
}

body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-image::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .22)),
    linear-gradient(90deg, color-mix(in srgb, var(--tenant-bg, #f8f4ea) 40%, transparent), transparent 44%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

body.eap-login-page:not(.is-eap-authenticated) .eap-login-content {
  display: grid;
  gap: 1.25rem;
  max-width: 520px;
  padding: clamp(2rem, 6vw, 4rem) 0;
}

body.eap-login-page:not(.is-eap-authenticated) .eap-login-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  max-width: none;
  padding: 0;
  position: static;
}

@media (max-width: 979px) {
  body.eap-login-page:not(.is-eap-authenticated) .eap-login-layout {
    width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter-mobile, clamp(1.5rem, 7vw, 2rem)) * 2)));
  }

  body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-layout {
    display: block;
  }

  body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-image {
    display: none;
  }

  body.eap-login-page:not(.is-eap-authenticated) .eap-login-content {
    padding: 1.35rem 0 2.5rem;
  }

  body.eap-login-page:not(.is-eap-authenticated) .eap-login-panel h1,
  body.eap-login-page:not(.is-eap-authenticated) .eap-login-panel > p {
    text-align: left;
  }
}

body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card {
  flex: initial;
  min-width: 0;
  width: 100%;
}

@media (max-width: 420px) {
  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card-grid {
    gap: .75rem;
  }
}

body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-layout {
  display: block;
  padding: 2.6rem 0;
}

body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-form-card {
  margin: 0;
  max-width: none;
  width: 100%;
}

@media (max-width: 979px) {
  body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-layout {
    padding: 1.65rem 0 2.5rem;
  }
}

body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-hero,
body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-layout.eap-home-team {
  padding-left: 0;
  padding-right: 0;
}

body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-copy {
  padding-left: 0;
  padding-right: 0;
}

body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-hero {
  display: block;
  min-height: 0;
}

/* Manager people must use the same /content rail for every major section. */
body.eap-site-page.is-eap-authenticated .eap-manager-people-canvas :is(
  .eap-manager-page-head,
  .eap-manager-people-stats,
  .eap-manager-content-graph,
  .eap-manager-people-layout
) {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max) !important;
  width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter) * 2))) !important;
}

body.eap-site-page.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 979px) {
  body.eap-site-page.is-eap-authenticated .eap-manager-people-canvas :is(
    .eap-manager-page-head,
    .eap-manager-people-stats,
    .eap-manager-content-graph,
    .eap-manager-people-layout
  ) {
    width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter-mobile) * 2))) !important;
  }

  body.eap-site-page.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Content detail pages keep breadcrumbs and cards on the shared /content rail. */
body.eap-site-page.is-eap-authenticated .eap-content-detail {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max) !important;
  padding: 2.4rem 0 0 !important;
  width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter) * 2))) !important;
}

body.eap-site-page.is-eap-authenticated .eap-content-detail > :is(
  .eap-content-breadcrumb,
  .eap-content-detail-hero,
  .eap-content-detail-safety-card,
  .eap-content-detail-body
) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

@media (max-width: 979px) {
  body.eap-site-page.is-eap-authenticated .eap-content-detail {
    padding-top: 1.35rem !important;
    width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter-mobile) * 2))) !important;
  }

  body.eap-content-page .eap-content-detail-safety-card {
    padding: clamp(1.45rem, 5.5vw, 1.85rem) !important;
  }

  body.eap-content-page .eap-content-detail-safety-card p {
    line-height: 1.65;
  }
}

body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-content,
body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-panel,
body.eap-access-code-page:not(.is-eap-authenticated) .access-note,
body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-bottom {
  max-width: none;
  width: 100%;
}

body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-panel > h1,
body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-panel > p,
body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-panel > .safety-note,
body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-panel > .eap-marketing-form {
  max-width: 520px;
}

body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-bottom {
  grid-template-columns: 1fr;
}

body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-bottom article {
  align-items: flex-start;
  display: flex;
  gap: .8rem;
  max-width: none;
  width: 100%;
}

body.eap-access-code-page:not(.is-eap-authenticated) .eap-login-bottom article p {
  margin: 0;
  max-width: none;
}

body.eap-site-page .eap-secure-booking-canvas :is(
  .eap-manager-page-head,
  .eap-secure-booking-details-section,
  .eap-secure-booking-panel
) {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max) !important;
  width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter) * 2))) !important;
}

.eap-secure-booking-panel {
  background: color-mix(in srgb, var(--eap-surface) 88%, transparent);
  border: 1px solid var(--eap-border);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(8, 43, 31, .07);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.eap-secure-booking-panel h2 {
  color: var(--eap-primary);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin: .35rem 0 .75rem;
}

.eap-secure-booking-form {
  display: grid;
  gap: 1.15rem;
}

.eap-secure-booking-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eap-secure-booking-form label {
  color: var(--eap-ink);
  display: grid;
  font-weight: 800;
  gap: .45rem;
}

.eap-secure-booking-form input,
.eap-secure-booking-form select,
.eap-secure-booking-form textarea {
  background: rgba(255, 255, 252, .94);
  border: 1px solid var(--eap-border);
  border-radius: 8px;
  color: var(--eap-ink);
  font: inherit;
  font-weight: 500;
  min-height: 48px;
  padding: .75rem .85rem;
  width: 100%;
}

.eap-secure-booking-form textarea {
  min-height: 120px;
  resize: vertical;
}

.eap-secure-booking-form [data-valmsg-for],
.eap-secure-booking-form .field-validation-error,
.eap-secure-booking-form .validation-summary-errors {
  color: #8a2d22;
  font-size: .9rem;
  font-weight: 700;
}

.eap-secure-booking-checks {
  display: grid;
  gap: .6rem;
}

.eap-secure-booking-checks label {
  align-items: start;
  display: grid;
  gap: .65rem;
  grid-template-columns: auto 1fr;
  font-weight: 650;
}

.eap-secure-booking-checks input {
  height: 18px;
  margin-top: .18rem;
  min-height: 0;
  width: 18px;
}

@media (max-width: 979px) {
  body.eap-site-page .eap-secure-booking-canvas :is(
    .eap-manager-page-head,
    .eap-secure-booking-details-section,
    .eap-secure-booking-panel
  ) {
    width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter-mobile) * 2))) !important;
  }

  .eap-secure-booking-grid {
    grid-template-columns: 1fr;
  }
}

body.eap-home-page:not(.is-eap-authenticated) .eap-home-team {
  align-items: stretch;
}

body.eap-home-page:not(.is-eap-authenticated) .eap-home-team .eap-home-team-copy {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  padding-left: 0;
  width: auto !important;
}

@media (max-width: 979px) {
  body.eap-home-page:not(.is-eap-authenticated) .eap-home-team .eap-home-team-copy {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Mobile public pages use section rails, not full-width content flush to the edge. */
@media (max-width: 979px) {
  body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.eap-site-page.eap-marketing-page:not(.is-eap-authenticated) :is(
    .eap-home-hero,
    .eap-home-mobile-benefits,
    .eap-home-team,
    .eap-home-tools,
    .eap-org-hero,
    .eap-org-tools,
    .eap-org-cta-band,
    .eap-about-hero,
    .eap-about-values,
    .eap-about-team-band,
    .eap-contact-hero,
    .eap-contact-layout,
    .eap-booking-page > .booking-hero-card,
    .eap-booking-page > .booking-layout,
    .eap-booking-page > .booking-steps-section,
    .eap-booking-page > .booking-support-section,
    .eap-login-layout,
    .eap-policy-page,
    .eap-policy-hero,
    .eap-policy-content,
    .eap-content-hero,
    .eap-video-detail,
    .crisis-page,
    .crisis-hero,
    .page-card.urgent,
    .tenant-card,
    .access-code-shell,
    .access-code-card,
    .login-card,
    .library-section
  ) {
    margin-left: auto !important;
    margin-right: auto !important;
    width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-public-mobile-rail) * 2))) !important;
  }
}

/* Booking marketing support sections follow the same rails as the page content. */
body.eap-booking-marketing-page:not(.is-eap-authenticated) .eap-booking-page > :is(
  .booking-steps-section,
  .booking-support-section
) {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter) * 2))) !important;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-support-section .eap-section-title-row,
body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-support-section .booking-support-grid {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-support-section .booking-support-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 979px) {
  body.eap-booking-marketing-page:not(.is-eap-authenticated) .eap-booking-page > :is(
    .booking-steps-section,
    .booking-support-section
  ) {
    width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-public-mobile-rail) * 2))) !important;
  }

  body.eap-booking-marketing-page:not(.is-eap-authenticated) .booking-support-section .booking-support-grid {
    grid-template-columns: 1fr;
  }
}

/* For Organisations cards sit under their section title and use wide columns. */
body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools {
  display: grid !important;
  gap: clamp(1.2rem, 2.4vw, 1.8rem) !important;
  grid-template-columns: 1fr !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter) * 2))) !important;
}

body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-section-title-row,
body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card-grid {
  grid-column: 1 / -1 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-section-title-row {
  align-items: start !important;
  display: grid !important;
  gap: .6rem !important;
  margin-bottom: 0 !important;
}

body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card-grid {
  display: grid !important;
  gap: 1.15rem !important;
  grid-template-columns: repeat(2, minmax(420px, 1fr)) !important;
}

body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card {
  min-height: 0 !important;
  width: 100% !important;
}

@media (max-width: 979px) {
  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools {
    width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-public-mobile-rail) * 2))) !important;
  }

  body.eap-organisations-page.eap-marketing-page:not(.is-eap-authenticated) .eap-org-tools .eap-sales-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Contact page: header and enquiry form share one rail, side by side on desktop. */
body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-layout {
  align-items: start !important;
  display: grid !important;
  gap: clamp(2rem, 5vw, 4rem) !important;
  grid-template-columns: minmax(320px, .8fr) minmax(420px, 1fr) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max) !important;
  padding: 2.6rem 0 !important;
  width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-source-rail-gutter) * 2))) !important;
}

body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-layout .eap-contact-copy {
  margin: 0 !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-layout .eap-contact-form-card {
  margin: 0 !important;
  max-width: none !important;
  padding: clamp(1.25rem, 2.4vw, 2rem) !important;
  width: 100% !important;
}

@media (max-width: 979px) {
  body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-layout {
    display: grid !important;
    gap: 1.35rem !important;
    grid-template-columns: 1fr !important;
    padding: 1.35rem 0 2.5rem !important;
    width: min(var(--eap-source-rail-max), calc(100% - (var(--eap-public-mobile-rail) * 2))) !important;
  }
}

/* Manager people page: heading, stats, graph and list share one standard rail. */
body.is-eap-authenticated .eap-manager-people-canvas {
  --eap-manager-people-rail: var(--eap-source-rail-max, 1340px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.is-eap-authenticated .eap-manager-people-canvas :is(
  .eap-manager-page-head,
  .eap-manager-people-stats,
  .eap-manager-content-graph,
  .eap-manager-people-layout
) {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-manager-people-rail) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: min(var(--eap-manager-people-rail), calc(100% - (var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)) * 2))) !important;
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-page-head .eap-dashboard-greeting,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-layout > .eap-manager-panel {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-content-graph {
  padding: clamp(1.35rem, 2.4vw, 2rem) !important;
}

@media (max-width: 979px) {
  body.is-eap-authenticated .eap-manager-people-canvas :is(
    .eap-manager-page-head,
    .eap-manager-people-stats,
    .eap-manager-content-graph,
    .eap-manager-people-layout
  ) {
    width: min(var(--eap-manager-people-rail), calc(100% - (var(--eap-source-rail-gutter-mobile, clamp(1.5rem, 7vw, 2rem)) * 2))) !important;
  }
}

/* Manager employee list should fill the card width. */
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-people-layout > .eap-manager-panel {
  padding: clamp(1rem, 2vw, 1.5rem) !important;
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-panel-actions {
  padding: 0 0 1rem !important;
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table-head,
body.is-eap-authenticated .eap-manager-people-canvas .eap-manager-table-row {
  padding-left: clamp(1rem, 1.6vw, 1.25rem) !important;
  padding-right: clamp(1rem, 1.6vw, 1.25rem) !important;
}

/* Contact page uses the same rail and two-column layout whether logged in or public. */
body.eap-contact-page .eap-contact-layout {
  align-items: start !important;
  background: transparent !important;
  display: grid !important;
  gap: clamp(2rem, 5vw, 4rem) !important;
  grid-template-columns: minmax(360px, .85fr) minmax(480px, 1fr) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max, 1340px) !important;
  padding: 0 0 2.6rem !important;
  width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)) * 2))) !important;
}

body.eap-contact-page .eap-contact-layout .eap-contact-copy {
  margin: 0 !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

body.eap-contact-page .eap-contact-layout .eap-contact-form-card {
  grid-column: 2;
  margin: 0 !important;
  max-width: none !important;
  padding: clamp(1.25rem, 2.4vw, 2rem) !important;
  width: 100% !important;
}

body.eap-contact-page .eap-contact-layout .eap-marketing-form {
  display: grid !important;
  gap: 1.05rem !important;
}

body.eap-contact-page .eap-contact-layout .eap-marketing-form label {
  display: grid !important;
  gap: .45rem !important;
}

body.eap-contact-page .eap-contact-layout .eap-contact-inline-fields {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.eap-contact-page .eap-contact-layout .eap-marketing-form :is(input, textarea) {
  margin: 0 !important;
}

body.eap-contact-page:not(.is-eap-authenticated) .eap-contact-layout .eap-contact-form-card {
  padding: clamp(1.25rem, 2.4vw, 2rem) !important;
}

@media (max-width: 979px) {
  body.eap-contact-page .eap-contact-layout {
    gap: 1.35rem !important;
    grid-template-columns: 1fr !important;
    padding: 0 0 2.5rem !important;
    width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter-mobile, clamp(1.5rem, 7vw, 2rem)) * 2))) !important;
  }

  body.eap-contact-page .eap-contact-layout .eap-contact-form-card {
    grid-column: auto;
  }

  body.eap-contact-page .eap-contact-layout .eap-contact-inline-fields {
    grid-template-columns: 1fr;
  }
}

/* Booking page follows the standard rail and uses three-card rows in every session state. */
body.eap-booking-marketing-page .eap-booking-page > :is(
  .booking-hero-card,
  .booking-steps-section,
  .booking-support-section
) {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max, 1340px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)) * 2))) !important;
}

body.eap-booking-marketing-page .booking-steps-section,
body.eap-booking-marketing-page .booking-support-section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-top: clamp(2rem, 4vw, 3rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3rem) !important;
}

body.eap-booking-marketing-page :is(.booking-steps-section, .booking-support-section) .eap-section-title-row,
body.eap-booking-marketing-page :is(.booking-steps-grid, .booking-support-grid) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.eap-booking-marketing-page :is(.booking-steps-grid, .booking-support-grid) {
  display: grid !important;
  gap: 1rem !important;
  grid-auto-flow: row !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

body.eap-booking-marketing-page .booking-steps-grid article,
body.eap-booking-marketing-page .booking-support-grid .eap-sales-card {
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(17, 27, 49, .12) !important;
  border-radius: 10px !important;
  box-shadow: 0 14px 38px rgba(8, 43, 31, .07) !important;
  display: grid !important;
  gap: .85rem !important;
  min-height: 220px !important;
  padding: 1.25rem !important;
  width: 100% !important;
}

body.eap-booking-marketing-page .booking-support-grid .about-value-icon {
  height: 58px !important;
  margin: 0 !important;
  width: 58px !important;
}

@media (max-width: 979px) {
  body.eap-booking-marketing-page .eap-booking-page > :is(
    .booking-hero-card,
    .booking-steps-section,
    .booking-support-section
  ) {
    width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter-mobile, clamp(1.5rem, 7vw, 2rem)) * 2))) !important;
  }

  body.eap-booking-marketing-page :is(.booking-steps-grid, .booking-support-grid) {
    grid-template-columns: 1fr !important;
  }
}

/* Secure booking final rail alignment. */
body.eap-secure-booking-page .eap-secure-booking-canvas {
  display: grid !important;
  gap: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.eap-secure-booking-page .eap-secure-booking-canvas > :is(
  .eap-manager-page-head,
  .eap-secure-booking-details-section,
  .eap-secure-booking-panel
) {
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max, 1340px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)) * 2))) !important;
}

body.eap-secure-booking-page .eap-secure-booking-canvas > .eap-manager-page-head {
  display: block !important;
  margin-top: clamp(2.3rem, 5vw, 4rem) !important;
}

body.eap-secure-booking-page .eap-secure-booking-canvas > .eap-secure-booking-details-section {
  display: block !important;
  grid-column: auto !important;
  margin-top: 1.1rem !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

body.eap-secure-booking-page .eap-secure-booking-status {
  display: flex !important;
  width: 100% !important;
}

body.eap-secure-booking-page .eap-secure-booking-arrival {
  color: #20324a !important;
  font-size: .9rem !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  margin-top: .65rem !important;
}

body.eap-secure-booking-page .eap-secure-booking-arrival strong,
body.eap-secure-booking-page .eap-secure-booking-arrival span {
  display: block;
}

body.eap-secure-booking-page .eap-secure-booking-canvas > .eap-secure-booking-panel {
  display: block !important;
  margin-top: 1.1rem !important;
  padding: clamp(1.2rem, 3vw, 2rem) !important;
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 979px) {
  body.eap-secure-booking-page .eap-secure-booking-canvas > :is(
    .eap-manager-page-head,
    .eap-secure-booking-details-section,
    .eap-secure-booking-panel
  ) {
    width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter-mobile, clamp(1.5rem, 7vw, 2rem)) * 2))) !important;
  }

  body.eap-secure-booking-page .eap-secure-booking-canvas > .eap-manager-page-head {
    margin-top: 1.35rem !important;
  }

  body.eap-secure-booking-page .eap-secure-booking-canvas > .eap-secure-booking-details-section {
    padding-top: 0 !important;
  }

}

/* Category detail pages follow the same standard rail as /content. */
body.eap-category-page .eap-category-content-page,
body.eap-content-page .eap-category-content-page {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.eap-category-page .eap-category-content-page > :is(.eap-category-page-head, .eap-content-resources),
body.eap-content-page .eap-category-content-page > :is(.eap-category-page-head, .eap-content-resources) {
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max, 1340px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)) * 2))) !important;
}

body.eap-category-page .eap-category-content-page > .eap-content-resources :is(.section-head, .eap-category-card-grid),
body.eap-content-page .eap-category-content-page > .eap-content-resources :is(.section-head, .eap-category-card-grid) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

@media (max-width: 979px) {
  body.eap-category-page .eap-category-content-page > :is(.eap-category-page-head, .eap-content-resources),
  body.eap-content-page .eap-category-content-page > :is(.eap-category-page-head, .eap-content-resources) {
    width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter-mobile, clamp(1.5rem, 7vw, 2rem)) * 2))) !important;
  }
}

/* About page values and team use the same final rail as the page hero. */
body.eap-about-page :is(.eap-about-values, .eap-about-team-band) {
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--eap-source-rail-max, 1340px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)) * 2))) !important;
}

body.eap-about-page .eap-about-values :is(.eap-section-title-row, .eap-sales-card-grid),
body.eap-about-page .eap-about-team-band > div,
body.eap-about-page .eap-about-team-band > article {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.eap-about-page .eap-about-values .eap-sales-card-grid {
  width: 100% !important;
}

body.eap-about-page .eap-about-team-band {
  padding-bottom: clamp(2rem, 4vw, 3rem) !important;
  padding-top: clamp(2rem, 4vw, 3rem) !important;
}

@media (max-width: 979px) {
  body.eap-about-page :is(.eap-about-values, .eap-about-team-band) {
    width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter-mobile, clamp(1.5rem, 7vw, 2rem)) * 2))) !important;
  }
}

/* Tenant branding wins over the Emerald Tree defaults on tag, domain, and signed-in routes. */
body.eap-site-page.has-tenant-branding {
  --et-emerald: var(--tenant-primary, #0f4a2f);
  --et-deep: color-mix(in srgb, var(--tenant-primary, #0f4a2f) 72%, black);
  --et-leaf: var(--tenant-accent, #c9de72);
  --et-sage: color-mix(in srgb, var(--tenant-accent, #c9de72) 24%, white);
  --et-cream: var(--tenant-bg, #f8f4ea);
  --eap-primary: var(--tenant-primary, #0f4a2f);
  --eap-primary-strong: color-mix(in srgb, var(--eap-primary) 82%, black);
  --eap-primary-soft: color-mix(in srgb, var(--eap-primary) 12%, white);
  --eap-accent: var(--tenant-accent, #c9de72);
  --eap-accent-strong: color-mix(in srgb, var(--eap-accent) 78%, var(--eap-primary));
  --eap-accent-soft: color-mix(in srgb, var(--eap-accent) 28%, white);
  --eap-bg: var(--tenant-bg, #f8f4ea);
  --eap-brand-primary: var(--eap-primary);
  --eap-brand-primary-strong: var(--eap-primary-strong);
  --eap-brand-accent: var(--eap-accent);
  --eap-brand-accent-soft: var(--eap-accent-soft);
  background-color: var(--tenant-bg, #f8f4ea);
  background-image:
    linear-gradient(180deg, color-mix(in srgb, var(--tenant-bg, #f8f4ea) 78%, white), color-mix(in srgb, var(--tenant-bg, #f8f4ea) 66%, white)),
    var(--eap-tenant-background-image, none);
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, cover;
}

body.eap-site-page.has-tenant-branding :is(.eap-app-shell, .eap-workspace) {
  background-color: transparent;
}

body.eap-site-page.has-tenant-branding .eap-workspace::before {
  background: var(--eap-tenant-background-image, none) center / cover no-repeat;
  mask-image: none;
  opacity: .32;
}

body.eap-site-page.has-tenant-branding.is-eap-authenticated .eap-dashboard-canvas {
  background: transparent;
}

body.eap-site-page.has-tenant-branding.is-eap-authenticated .eap-dashboard-canvas::before {
  content: none;
}

body.eap-site-page.is-eap-authenticated .eap-dashboard-canvas {
  background: transparent !important;
}

body.eap-site-page.is-eap-authenticated .eap-dashboard-canvas::before {
  background: none !important;
  content: none !important;
}

body.eap-site-page.is-eap-authenticated .eap-dashboard-canvas > .eap-browse-categories::before {
  background: none !important;
  content: none !important;
}

body.eap-site-page.has-tenant-branding.eap-marketing-page {
  background-color: var(--tenant-bg, #f8f4ea);
  background-image:
    linear-gradient(180deg, color-mix(in srgb, var(--tenant-bg, #f8f4ea) 80%, white), color-mix(in srgb, var(--tenant-bg, #f8f4ea) 68%, white)),
    var(--eap-tenant-background-image, none);
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, cover;
}

body.eap-site-page.has-tenant-branding :is(
  h1,
  h2,
  .eap-about-eyebrow,
  .eap-content-section-head h2,
  .section-head h2,
  .eap-manager-page-head h1,
  .eap-dashboard-greeting h1,
  .eap-category-page-head h1,
  .eap-content-detail-hero h1,
  .eap-secure-booking-arrival strong
) {
  color: var(--eap-brand-primary) !important;
}

body.eap-site-page.has-tenant-branding :is(
  .eap-web-header .small-link.active,
  .eap-mobile-drawer a.active,
  .bottom-nav a.active,
  .eap-header-user strong,
  .eap-header-tenant-brand strong,
  .eap-dashboard-action-link,
  .library-topic-card strong,
  .eap-recommended-card-body strong,
  .eap-manager-bar-count,
  .eap-manager-popular-bars em
) {
  color: var(--eap-brand-primary) !important;
}

body.eap-site-page.has-tenant-branding :is(
  .eap-web-header .small-link.active::after,
  .bottom-nav a.active::after,
  .eap-manager-bar-track span,
  .content-card-progress span
) {
  background: linear-gradient(90deg, var(--eap-brand-primary), var(--eap-brand-accent)) !important;
}

body.eap-site-page.has-tenant-branding :is(
  .action-button.primary,
  .eap-web-header .book-now-link,
  .eap-header-account-actions .eap-header-book-now,
  .eap-mobile-drawer a.primary,
  .eap-global-message-band
) {
  background: linear-gradient(135deg, var(--eap-brand-primary), var(--eap-brand-primary-strong)) !important;
  border-color: var(--eap-brand-primary) !important;
  color: white !important;
}

body.eap-site-page.has-tenant-branding :is(
  .action-button.outline,
  .action-button.brown-outline,
  .login-link,
  .eap-header-user,
  .eap-header-tenant-brand,
  .eap-dashboard-action-card,
  .library-topic-card,
  .eap-recommended-card,
  .eap-manager-people-stats article,
  .eap-manager-content-graph,
  .eap-manager-panel,
  .eap-secure-booking-status
) {
  border-color: color-mix(in srgb, var(--eap-brand-primary) 18%, transparent) !important;
}

body.eap-site-page.has-tenant-branding :is(
  .eap-avatar,
  .eap-header-user .eap-avatar,
  .eap-dashboard-action-icon,
  .library-topic-card-icon,
  .about-value-icon,
  .booking-step-head span,
  .eap-manager-people-stats .button-icon,
  .eap-secure-booking-status .button-icon
) {
  background-color: var(--eap-brand-accent-soft) !important;
  color: var(--eap-brand-primary) !important;
}

body.eap-site-page.has-tenant-branding .about-value-icon {
  background: linear-gradient(135deg, var(--eap-brand-primary), var(--eap-brand-accent)) !important;
  color: white !important;
}

body.eap-site-page.has-tenant-branding .eap-header-tenant-brand {
  background-color: transparent !important;
}

body.eap-site-page.has-tenant-branding .eap-header-tenant-brand img {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 84px !important;
  max-width: 168px !important;
  object-fit: contain !important;
  padding: 0 !important;
  width: auto !important;
}

.eap-required-mark {
  color: var(--eap-brand-primary, var(--tenant-primary, #0f4a2f));
  font-weight: 950;
}

.eap-error-shell {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin: clamp(1.5rem, 5vw, 4rem) auto;
  max-width: var(--eap-source-rail-max, 1340px);
  min-height: min(620px, calc(100vh - 220px));
  width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)) * 2)));
}

.eap-error-copy {
  display: grid;
  gap: 1rem;
}

.eap-error-copy h1 {
  color: var(--eap-brand-primary, var(--tenant-primary, var(--eap-primary)));
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: .98;
  margin: 0;
  max-width: 12ch;
}

.eap-error-copy > p:not(.eap-about-eyebrow),
.eap-error-support p {
  color: #4b576a;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}

.eap-error-request {
  align-items: center;
  background: color-mix(in srgb, var(--eap-brand-accent-soft, #e9f3d8) 55%, white);
  border: 1px solid color-mix(in srgb, var(--eap-brand-primary, #0f4a2f) 14%, transparent);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: .8rem 1rem;
  width: fit-content;
}

.eap-error-request code {
  color: var(--eap-brand-primary, #0f4a2f);
  font-weight: 850;
}

.eap-error-support {
  background: rgba(255, 255, 255, .86);
  border: 1px solid color-mix(in srgb, var(--eap-brand-primary, #0f4a2f) 14%, transparent);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(15, 35, 31, .08);
  display: grid;
  gap: .9rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.eap-error-support strong {
  color: #10192d;
  font-size: 1.25rem;
}

.eap-error-support a {
  color: var(--eap-brand-primary, #0f4a2f);
  font-weight: 950;
  text-decoration: none;
}

.eap-manager-live-status {
  align-items: center;
  background: color-mix(in srgb, var(--eap-brand-accent-soft, #e9f3d8) 72%, white);
  border: 1px solid color-mix(in srgb, var(--eap-brand-primary, #0f4a2f) 16%, transparent);
  border-radius: 999px;
  color: var(--eap-brand-primary, #0f4a2f);
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
}

.eap-contact-form-card-submitted {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 720px;
  width: 100%;
}

@media (max-width: 979px) {
  .eap-error-shell {
    grid-template-columns: 1fr;
    margin-top: 1.35rem;
    min-height: 0;
    width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter-mobile, clamp(1.5rem, 7vw, 2rem)) * 2)));
  }
}

@media (max-width: 979px) {
  body.eap-site-page.has-tenant-branding .mobile-app-header .eap-header-tenant-brand img {
    height: 72px !important;
    max-width: 144px !important;
  }
}

body.eap-site-page.has-tenant-branding :is(
  .button-icon,
  .sidebar-icon,
  .bottom-nav-icon
) {
  --icon-color: var(--eap-brand-primary);
}

/* Category detail mobile rail: use the same rail as /content and do not inherit home recommendation sizing. */
@media (max-width: 979px) {
  body.eap-content-page.is-eap-authenticated .eap-category-content-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.eap-content-page.is-eap-authenticated .eap-category-content-page > :is(.eap-category-page-head, .eap-content-resources) {
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: var(--eap-source-rail-max, 1340px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter-mobile, clamp(1.5rem, 7vw, 2rem)) * 2))) !important;
  }

  body.eap-content-page.is-eap-authenticated .eap-category-content-page > .eap-content-resources :is(.section-head, .eap-category-card-grid) {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  body.eap-content-page.is-eap-authenticated .eap-category-content-page .eap-category-card-grid {
    display: grid !important;
    gap: 1.15rem !important;
    grid-template-columns: 1fr !important;
  }

  body.eap-content-page.is-eap-authenticated .eap-category-content-page .eap-category-card-grid .eap-recommended-card {
    grid-column: auto !important;
    max-width: none !important;
    width: 100% !important;
  }
}

/* Page start standard: /content is the source of truth for the distance below the menu. */
body.eap-site-page {
  --eap-page-start-gap: 2.8rem;
  --eap-page-start-gap-mobile: 1.35rem;
}

body.eap-site-page :is(
  .eap-dashboard-canvas > .eap-dashboard-home,
  .eap-category-content-page > .eap-category-page-head,
  .eap-content-detail,
  .eap-manager-people-canvas > .eap-manager-page-head,
  .eap-manager-reports-page > .eap-manager-page-head,
  .eap-secure-booking-canvas > .eap-manager-page-head,
  .eap-booking-page > .booking-hero-card,
  main > .eap-home-hero,
  main > .eap-org-hero,
  main > .eap-about-hero,
  main > .eap-contact-layout,
  main > .eap-login-layout,
  main > .eap-policy-page,
  main > .crisis-page,
  main > .page-card:first-child,
  main > .tenant-card:first-child
) {
  margin-top: var(--eap-page-start-gap) !important;
}

body.eap-site-page.eap-home-page main > .eap-home-hero {
  margin-top: 0 !important;
}

body.eap-site-page.has-tenant-branding.eap-home-page main > .eap-home-hero.eap-tenant-home-hero {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.eap-site-page.has-tenant-branding.eap-organisations-page main > .eap-org-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.eap-site-page.has-tenant-branding.eap-contact-page main > .eap-contact-layout,
body.eap-site-page.has-tenant-branding.eap-about-page main > .eap-about-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.eap-site-page.has-tenant-branding.eap-contact-page main > .eap-contact-layout {
  margin-top: clamp(1.75rem, 3vw, 3rem) !important;
  padding-top: 0 !important;
}

body.eap-site-page.has-tenant-branding.eap-login-page:not(.is-eap-authenticated) main > .eap-login-layout {
  margin-top: 0 !important;
}

@media (min-width: 980px) {
  body.eap-site-page.eap-home-page {
    --eap-tenant-home-rail-width: min(var(--eap-source-rail-max, 1340px), calc(100vw - (var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)) * 2)));
    --eap-tenant-home-rail-left: max(var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem)), calc((100vw - var(--eap-tenant-home-rail-width)) / 2));
  }

  body.eap-site-page.eap-home-page main > .eap-home-hero.eap-tenant-home-hero {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(420px, .92fr) minmax(520px, 1fr) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    min-height: clamp(560px, 72vh, 760px);
    width: 100% !important;
  }

  body.eap-site-page.eap-home-page main > .eap-home-hero.eap-tenant-home-hero .eap-home-copy {
    padding-left: var(--eap-tenant-home-rail-left);
    padding-right: clamp(2rem, 4vw, 4.5rem);
  }

  body.eap-site-page.eap-home-page main > .eap-home-hero.eap-tenant-home-hero .eap-home-image {
    background-position: center center !important;
    background-size: cover !important;
    align-self: stretch;
    height: 100%;
    min-height: 100%;
    width: 100%;
  }
}

body.eap-site-page.has-tenant-branding.eap-home-page main > .eap-tenant-home-purpose {
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  padding-left: var(--eap-tenant-home-rail-left, var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem))) !important;
  padding-right: var(--eap-tenant-home-rail-left, var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem))) !important;
  width: 100% !important;
}

body.eap-site-page.eap-home-page main > .eap-home-hero.eap-tenant-home-hero + .eap-tenant-home-purpose {
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  padding-left: var(--eap-tenant-home-rail-left, var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem))) !important;
  padding-right: var(--eap-tenant-home-rail-left, var(--eap-source-rail-gutter, clamp(1.5rem, 2.8vw, 3rem))) !important;
  width: 100% !important;
}

body.eap-site-page :is(
  .eap-dashboard-canvas > .eap-dashboard-home,
  .eap-category-content-page > .eap-category-page-head,
  .eap-content-detail,
  .eap-manager-people-canvas > .eap-manager-page-head,
  .eap-manager-reports-page > .eap-manager-page-head,
  .eap-secure-booking-canvas > .eap-manager-page-head,
  .eap-booking-page > .booking-hero-card,
  main > .eap-home-hero,
  main > .eap-org-hero,
  main > .eap-about-hero,
  main > .eap-contact-layout,
  main > .eap-login-layout,
  main > .eap-policy-page,
  main > .crisis-page,
  main > .page-card:first-child,
  main > .tenant-card:first-child
) :is(h1, h2):first-child,
body.eap-site-page :is(
  .eap-dashboard-canvas > .eap-dashboard-home,
  .eap-category-content-page > .eap-category-page-head,
  .eap-content-detail,
  .eap-manager-people-canvas > .eap-manager-page-head,
  .eap-manager-reports-page > .eap-manager-page-head,
  .eap-secure-booking-canvas > .eap-manager-page-head,
  .eap-booking-page > .booking-hero-card,
  main > .eap-home-hero,
  main > .eap-org-hero,
  main > .eap-about-hero,
  main > .eap-contact-layout,
  main > .eap-login-layout,
  main > .eap-policy-page,
  main > .crisis-page,
  main > .page-card:first-child,
  main > .tenant-card:first-child
) :is(.eap-dashboard-greeting, .eap-home-copy, .eap-login-panel, .eap-policy-hero, .eap-contact-copy, div):first-child > :is(h1, h2):first-child {
  margin-top: 0 !important;
}

@media (max-width: 979px) {
  body.eap-site-page :is(
    .eap-dashboard-canvas > .eap-dashboard-home,
    .eap-category-content-page > .eap-category-page-head,
    .eap-content-detail,
    .eap-manager-people-canvas > .eap-manager-page-head,
    .eap-manager-reports-page > .eap-manager-page-head,
    .eap-secure-booking-canvas > .eap-manager-page-head,
    .eap-booking-page > .booking-hero-card,
    main > .eap-home-hero,
    main > .eap-org-hero,
    main > .eap-about-hero,
    main > .eap-contact-layout,
    main > .eap-login-layout,
    main > .eap-policy-page,
    main > .crisis-page,
    main > .page-card:first-child,
    main > .tenant-card:first-child
  ) {
    margin-top: var(--eap-page-start-gap-mobile) !important;
  }

  body.eap-site-page.has-tenant-branding.eap-home-page main > .eap-tenant-home-purpose {
    width: min(var(--eap-source-rail-max, 1340px), calc(100% - (var(--eap-source-rail-gutter-mobile, clamp(1.5rem, 7vw, 2rem)) * 2))) !important;
  }

  body.eap-site-page.has-tenant-branding.eap-home-page main > .eap-home-hero.eap-tenant-home-hero,
  body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-home-copy {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
  }

  body.eap-site-page.has-tenant-branding.eap-home-page main > .eap-home-hero.eap-tenant-home-hero {
    background: linear-gradient(180deg, rgba(255, 253, 248, .98), rgba(255, 253, 248, .92)) !important;
    display: grid !important;
  }

  body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-home-image {
    align-items: center;
    background: transparent !important;
    display: flex;
    justify-content: center;
    min-height: 156px;
    order: -1;
    padding: .7rem 0 .35rem;
  }

  body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-home-image::before,
  body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-home-image::after {
    content: none !important;
  }

  .eap-tenant-mobile-hero-logo {
    display: block;
    max-height: 136px;
    max-width: min(78vw, 320px);
    object-fit: contain;
    width: auto;
  }

  .eap-tenant-hero-title-row {
    align-items: center;
    gap: .65rem;
  }

  .eap-tenant-hero-logo {
    height: 42px;
    max-width: 86px;
  }
}

/* Final tenant brand lock: card icons and organisation imagery must follow the selected organisation. */
body.eap-site-page.has-tenant-branding :is(.eap-tenant-home-purpose, .eap-org-tools, .eap-home-mobile-benefits) .about-value-icon,
body.eap-organisations-page .eap-org-tools .about-value-icon {
  background: linear-gradient(135deg, var(--eap-brand-primary, var(--tenant-primary, #0f4a2f)), var(--eap-brand-accent, var(--tenant-accent, #c9de72))) !important;
  color: white !important;
}

body.eap-site-page.has-tenant-branding :is(.eap-tenant-home-purpose, .eap-org-tools, .eap-home-mobile-benefits) .about-value-icon::before,
body.eap-organisations-page .eap-org-tools .about-value-icon::before {
  background: #fff !important;
}

body.eap-about-page :is(.eap-about-values, .eap-about-team-band) .about-value-icon::before {
  background: #fff !important;
}

body.eap-site-page.has-tenant-branding .eap-org-hero-art,
body.eap-organisations-page .eap-org-hero-art {
  background-image: var(--eap-tenant-hero-image, url("/assets/eap-manager-abstract.png")) !important;
}

/* Default marketing pages should sit directly under the menu. */
body.eap-site-page:not(.has-tenant-branding):is(.eap-organisations-page, .eap-about-page, .eap-contact-page, .eap-login-page) main > :is(.eap-org-hero, .eap-about-hero, .eap-contact-layout, .eap-login-layout) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.eap-site-page.eap-contact-page main > .eap-contact-layout {
  margin-top: clamp(.75rem, 1.6vw, 1.25rem) !important;
}

body.eap-site-page.has-tenant-branding.eap-contact-page .eap-workspace::before {
  content: none !important;
}

body.eap-site-page.has-tenant-branding.eap-contact-page,
body.eap-site-page.has-tenant-branding.eap-contact-page .eap-workspace,
body.eap-site-page.has-tenant-branding.eap-contact-page .eap-workspace > main {
  background-color: color-mix(in srgb, var(--tenant-bg, #f8f4ea) 80%, white) !important;
  background-image: none !important;
}

body.eap-contact-page.is-eap-authenticated .eap-contact-layout {
  align-items: stretch !important;
}

body.eap-contact-page.is-eap-authenticated .eap-contact-layout .eap-contact-copy {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

body.eap-contact-page.is-eap-authenticated .eap-contact-layout .eap-contact-cards {
  margin-top: auto !important;
}

body.eap-contact-page.is-eap-authenticated .eap-contact-layout .eap-contact-form-card {
  height: 100% !important;
}

body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-home-image {
  align-items: center !important;
  background: transparent !important;
  display: flex !important;
  justify-content: center !important;
  padding: clamp(2rem, 5vw, 4rem) !important;
}

body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-home-image::before,
body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-home-image::after {
  content: none !important;
}

body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-tenant-mobile-hero-logo {
  display: block !important;
  max-height: clamp(240px, 34vw, 460px) !important;
  max-width: min(72vw, 620px) !important;
  object-fit: contain !important;
  width: auto !important;
}

body.eap-site-page.has-tenant-branding:is(.eap-organisations-page, .eap-about-page) :is(.eap-org-hero-art, .eap-about-hero-art) {
  align-items: center !important;
  background: transparent !important;
  display: flex !important;
  justify-content: center !important;
  padding: clamp(2rem, 5vw, 4rem) !important;
}

body.eap-site-page.has-tenant-branding:is(.eap-organisations-page, .eap-about-page) :is(.eap-org-hero-art, .eap-about-hero-art)::before {
  background: var(--eap-tenant-logo-image) center / contain no-repeat !important;
  content: "" !important;
  height: clamp(240px, 34vw, 460px) !important;
  inset: auto !important;
  opacity: 1 !important;
  position: relative !important;
  width: min(72vw, 620px) !important;
  z-index: 1 !important;
}

body.eap-site-page.has-tenant-branding:is(.eap-organisations-page, .eap-about-page) :is(.eap-org-hero-art, .eap-about-hero-art)::after {
  content: none !important;
}

@media (max-width: 979px) {
  body.eap-site-page.has-tenant-branding.eap-home-page main > .eap-home-hero.eap-tenant-home-hero {
    grid-template-columns: 1fr !important;
  }

  body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-home-copy {
    order: 0 !important;
  }

  body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-heading-logo-wrap {
    display: flex !important;
    justify-content: center !important;
    margin: .65rem 0 .8rem !important;
  }

  body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-heading-logo {
    max-height: 132px !important;
    max-width: min(72vw, 240px) !important;
    object-fit: contain !important;
    width: auto !important;
  }

  body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-home-image {
    display: none !important;
    min-height: 0 !important;
    order: 1 !important;
    padding: .35rem 0 1rem !important;
  }

  body.eap-site-page.has-tenant-branding.eap-home-page .eap-tenant-home-hero .eap-tenant-mobile-hero-logo {
    max-height: 132px !important;
    max-width: min(72vw, 240px) !important;
  }

  body.eap-site-page.has-tenant-branding:is(.eap-organisations-page, .eap-about-page) :is(.eap-org-hero-art, .eap-about-hero-art) {
    background: transparent !important;
    display: none !important;
  }
}

@media (max-width: 979px) {
  body.is-eap-authenticated .eap-dashboard-search,
  body.is-eap-authenticated .eap-dashboard-search label {
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body.is-eap-authenticated .eap-dashboard-search::before,
  body.is-eap-authenticated .eap-dashboard-search::after,
  body.is-eap-authenticated .eap-dashboard-search label::before,
  body.is-eap-authenticated .eap-dashboard-search label::after {
    content: none !important;
  }
}

@media (min-width: 980px) {
  body.is-eap-authenticated .eap-dashboard-home > .eap-upcoming-booking-section-desktop {
    grid-column: 1 / -1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  body.is-eap-authenticated .eap-dashboard-home > .eap-upcoming-booking-section-desktop .eap-upcoming-booking-card {
    width: 100% !important;
  }
}
