.retention-primary-action,
.retention-secondary-action {
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  min-height: 52px;
  padding: 13px 20px;
  text-decoration: none;
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.home-discovery-hero {
  background: linear-gradient(120deg, #102f39 0%, #17645f 100%);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(16, 47, 57, 0.2);
  color: #fff;
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
  position: relative;
}

.home-discovery-hero::after {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  content: "";
  height: 260px;
  position: absolute;
  right: -70px;
  top: -110px;
  width: 260px;
}

.home-discovery-eyebrow {
  color: #8fe2d9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin: 0 0 8px;
}

.home-discovery-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.04em;
  margin: 0;
}

.home-discovery-intro {
  color: #d9efed;
  font-size: 18px;
  margin-bottom: 0;
  max-width: 700px;
}

.home-insight-shelf {
  display: grid;
  gap: 14px;
}

.home-shelf-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.home-shelf-heading h2 {
  margin: 0 0 4px;
}

.home-shelf-heading p {
  color: #5d7078;
  margin: 0;
}

.home-shelf-action {
  color: #087f79;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.home-shelf-count {
  background: #e2f3f1;
  border-radius: 999px;
  color: #075e58;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 11px;
}

.home-decision-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
}

.home-category-roadmap {
  background: #f0f6f6;
  border: 1px dashed #8cbab6;
  border-radius: 14px;
  color: #49616a;
  padding: 20px 24px;
}

.home-category-roadmap h2 {
  color: #173b45;
  font-size: 16px;
  margin: 0 0 6px;
}

.home-category-roadmap p {
  margin: 0;
}

.retention-primary-action {
  background: #087f79;
  border: 1px solid #087f79;
  box-shadow: 0 8px 18px rgba(8, 127, 121, 0.2);
  color: #fff;
}

.retention-primary-action:hover {
  background: #066a65;
  box-shadow: 0 10px 24px rgba(8, 127, 121, 0.28);
  transform: translateY(-1px);
}

.retention-primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.retention-secondary-action {
  background: #fff;
  border: 1px solid #9eb0b6;
  color: #294852;
}

.retention-primary-action:focus-visible,
.retention-secondary-action:focus-visible,
.retention-learn-more:focus-visible,
.retention-journey-step:focus-visible {
  outline: 3px solid #f0b44d;
  outline-offset: 3px;
}

.retention-nav-arrow {
  align-items: center;
  gap: 11px;
  justify-content: center;
  min-width: 220px;
}

.retention-nav-back {
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%);
  padding-left: 30px;
}

.retention-nav-forward {
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  padding-right: 30px;
}

.retention-nav-icon {
  font-size: 25px;
  line-height: 1;
}

.retention-nav-label {
  line-height: 1.2;
  max-width: 210px;
}

.retention-bundle-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(135px, 1fr));
}

.retention-bundle-card {
  min-width: 0;
  position: relative;
}

.retention-bundle-selector,
.retention-bundle-selector > div {
  height: 100%;
}

.retention-bundle-options label,
.retention-action-toggle label {
  background: #fff;
  border: 1px solid #9eb0b6;
  border-radius: 8px;
  color: #294852;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  min-height: 50px;
  padding: 11px 12px;
  position: relative;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 140ms ease;
}

.retention-bundle-options input,
.retention-action-toggle input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.retention-bundle-options label:has(input:checked),
.retention-action-toggle label:has(input:checked) {
  background: #173b45;
  border-color: #173b45;
  box-shadow: 0 7px 18px rgba(23, 59, 69, 0.2);
  color: #fff;
}

.retention-bundle-options label:has(input:checked)::after,
.retention-action-toggle label:has(input:checked)::after {
  content: "✓";
  font-weight: 800;
  position: absolute;
  right: 11px;
  top: 10px;
}

.retention-bundle-options label:hover,
.retention-action-toggle label:hover {
  border-color: #087f79;
  box-shadow: 0 6px 18px rgba(23, 59, 69, 0.1);
  transform: translateY(-1px);
}

.retention-bundle-option {
  display: grid;
  gap: 8px;
  padding-right: 30px;
  width: 100%;
}

.retention-bundle-title {
  font-size: 13px;
  line-height: 1.25;
}

.retention-action-toggle {
  margin: 0;
}

.retention-action-toggle label {
  box-sizing: border-box;
  min-height: 100%;
  padding: 12px;
  width: 100%;
}

.retention-action-card {
  margin-bottom: 9px;
  min-height: 86px;
  position: relative;
}

.retention-action-card-selector,
.retention-action-card-selector > div {
  height: 100%;
}

.retention-action-card-content {
  display: grid;
  gap: 5px;
  padding-right: 26px;
  width: 100%;
}

.retention-action-card-heading {
  align-items: flex-start;
  display: flex;
  gap: 7px;
  justify-content: space-between;
}

.retention-action-card-hint {
  color: #087f79;
  display: block;
  font-weight: 700;
  margin-top: 4px;
}

.retention-action-toggle label:has(input:checked) .retention-action-card-hint,
.retention-action-toggle label:has(input:checked) p,
.retention-action-toggle label:has(input:checked) span {
  color: #fff !important;
}

.retention-learn-more {
  align-items: center;
  background: #e2f3f1;
  border: 1px solid #95cbc6;
  border-radius: 999px;
  color: #075e58;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 9px;
  top: 9px;
  width: 28px;
  z-index: 3;
}

.retention-learn-more:hover {
  background: #087f79;
  color: #fff;
}

.retention-journey-frame {
  background: #fdfefe;
  border: 1px solid #dce4e7;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(24, 48, 58, 0.09);
  overflow: hidden;
}

.retention-journey-rail {
  align-items: stretch;
  background: #eff5f5;
  border-bottom: 1px solid #dce4e7;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px 18px;
  position: sticky;
  top: 0;
  z-index: 8;
}

.retention-journey-step {
  align-items: center;
  background: #fff;
  border: 1px solid #087f79;
  border-radius: 8px;
  color: #087f79;
  display: flex;
  gap: 9px;
  min-height: 54px;
  min-width: 0;
  padding: 9px 13px;
  text-decoration: none;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.retention-journey-step.is-complete {
  background: #43a39d;
  border-color: #43a39d;
  color: #fff;
}

.retention-journey-step.is-complete:hover {
  box-shadow: 0 5px 15px rgba(8, 127, 121, 0.16);
  transform: translateY(-1px);
}

.retention-journey-step.is-current {
  background: #087f79;
  border-color: #087f79;
  border-radius: 7px 0 0 7px;
  box-shadow: 0 8px 20px rgba(8, 127, 121, 0.22);
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
  color: #fff;
  font-weight: 800;
  padding-right: 26px;
}

.retention-journey-step.is-future {
  background: #fff;
  border-color: #79bbb5;
  color: #3d716f;
}

.retention-journey-number {
  align-items: center;
  background: rgba(8, 127, 121, 0.08);
  border: 0;
  border-radius: 6px;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 13px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.retention-journey-step.is-current .retention-journey-number {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.retention-journey-step.is-complete .retention-journey-number {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.retention-journey-label {
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.retention-stage-canvas {
  overflow: hidden;
  padding: 28px;
}

.retention-decision-canvas {
  background: linear-gradient(135deg, #eef8f7 0%, #ffffff 72%);
  border-bottom: 1px solid #dce8e7;
  display: grid;
  gap: 16px;
  padding: 24px 28px 18px;
}

.retention-canvas-heading {
  align-items: start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.retention-canvas-eyebrow,
.retention-stage-eyebrow {
  color: #087f79;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}

.retention-canvas-title {
  font-size: 22px;
  margin: 0;
}

.retention-canvas-summary,
.retention-section-intro {
  color: #5d7078;
  font-size: 13px;
  margin: 6px 0 0;
  max-width: 760px;
}

.retention-canvas-more {
  background: transparent;
  border: 0;
  color: #087f79;
  cursor: help;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.retention-canvas-visual {
  background: #fff;
  border: 1px solid #dfe8ea;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(23, 59, 69, 0.07);
  overflow: hidden;
  padding: 4px 12px;
}

.retention-canvas-visual > div[style*="background"] {
  margin-top: 0 !important;
}

.retention-take-action-section {
  border-top: 1px solid #e3eaec;
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.retention-slide-forward {
  animation: retention-slide-forward 280ms cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.retention-slide-back {
  animation: retention-slide-back 280ms cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.retention-stage-actions {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  width: 100%;
}

.retention-stage-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e6ecee;
  margin: -28px -28px 0;
  padding: 20px 28px 18px;
  position: sticky;
  top: 86px;
  z-index: 7;
}

.retention-completion-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(4, 27, 34, 0.32);
  max-width: 560px;
  padding: 42px;
  text-align: center;
  width: 100%;
}

.retention-completion-icon {
  align-items: center;
  background: #dff3ef;
  border-radius: 999px;
  color: #087f79;
  display: inline-flex;
  font-size: 34px;
  font-weight: 900;
  height: 72px;
  justify-content: center;
  margin-bottom: 18px;
  width: 72px;
}

.retention-completion-eyebrow {
  color: #087f79;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.retention-completion-copy {
  color: #5d7078;
  margin: 10px auto 26px;
  max-width: 430px;
}

.retention-completion-home {
  background: #087f79;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(8, 127, 121, 0.24);
  color: #fff;
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  min-width: 260px;
  padding: 16px 24px;
  text-decoration: none;
}

@keyframes retention-slide-forward {
  from {
    opacity: 0;
    transform: translateX(64px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes retention-slide-back {
  from {
    opacity: 0;
    transform: translateX(-64px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 840px) {
  .home-decision-row {
    grid-template-columns: 1fr;
  }

  .retention-journey-rail {
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px;
  }

  .retention-journey-step {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    min-height: 66px;
    padding: 8px;
  }

  .retention-journey-label {
    font-size: 10px;
  }

  .retention-stage-canvas {
    padding: 16px;
  }

  .retention-decision-canvas {
    padding: 18px 16px;
  }

  .retention-canvas-heading {
    display: grid;
  }

  .retention-stage-header {
    grid-template-columns: 1fr !important;
    margin: -16px -16px 0;
    padding: 14px 16px;
    position: static;
  }

  .retention-stage-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .retention-nav-arrow {
    min-width: 0;
    width: 100%;
  }

  .retention-bundle-options {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .retention-slide-forward,
  .retention-slide-back {
    animation: none;
  }
}

/* Approved single-screen PAPi decision workspace */
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.pappy-sidebar {
  background: #fff;
  border-right: 1px solid #dce4e7;
  bottom: 0;
  box-sizing: border-box;
  left: 0;
  position: fixed;
  top: 0;
  width: 214px;
  z-index: 20;
}

.pappy-sidebar-inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 8px 20px;
}

.pappy-brand {
  align-items: center;
  color: #075e58;
  display: flex;
  gap: 9px;
  padding: 0 16px 34px;
}

.pappy-brand-name {
  font-size: 34px;
  letter-spacing: -0.05em;
}

.pappy-brand-mark {
  font-size: 21px;
}

.pappy-navigation {
  display: grid;
  gap: 7px;
}

.pappy-nav-link {
  align-items: center;
  border-radius: 7px;
  color: #15272e;
  display: flex;
  font-size: 16px;
  gap: 16px;
  min-height: 54px;
  padding: 0 16px;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.pappy-nav-link:hover {
  background: #eef8f7;
  color: #075e58;
  transform: translateX(2px);
}

.pappy-nav-icon {
  align-items: center;
  display: inline-flex;
  font-size: 25px;
  justify-content: center;
  width: 28px;
}

body:has(#retention-page) .pappy-nav-retention {
  background: #e7f5f3;
  color: #075e58;
  font-weight: 750;
}

.pappy-sidebar-footer {
  border-top: 1px solid #e5ebed;
  display: grid;
  gap: 12px;
  margin: auto 12px 0;
  padding-top: 16px;
}

.pappy-context {
  color: #64767d;
  font-size: 11px;
  line-height: 1.4;
}

.pappy-utilities {
  display: flex;
  gap: 8px;
}

.pappy-utility-button {
  background: #fff;
  border: 1px solid #cbd7da;
  border-radius: 6px;
  color: #41575f;
  cursor: pointer;
  font-size: 11px;
  padding: 6px 9px;
}

.pappy-page-content {
  box-sizing: border-box;
  margin-left: 214px;
  min-height: 100vh;
  width: calc(100% - 214px);
}

.retention-workspace {
  box-sizing: border-box;
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1440px;
  padding: 24px 30px 30px;
}

.retention-workspace-evidence {
  background: #fff;
  border: 1px solid #dce4e7;
  border-radius: 7px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  height: 250px;
  overflow: hidden;
}

.retention-workspace-chart-panel {
  min-width: 0;
  padding: 0 22px;
}

.retention-workspace-chart {
  height: 248px;
}

.retention-workspace-cost {
  align-content: center;
  border: 1px solid #dce4e7;
  border-radius: 6px;
  display: grid;
  margin: 20px;
  padding: 20px;
}

.retention-workspace-cost p {
  font-size: 16px;
  margin: 0 0 10px;
}

.retention-workspace-cost strong {
  color: #075e58;
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.retention-workspace-cost small {
  color: #6b7c83;
  line-height: 1.35;
  margin-top: 8px;
}

.retention-workspace-columns {
  background: #fff;
  border: 1px solid #dce4e7;
  border-radius: 7px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.retention-workspace-guidance {
  align-items: center;
  background: #fff;
  border: 1px solid #dce4e7;
  border-radius: 7px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 210px;
  padding: 18px 20px;
}

.retention-entry-context {
  align-items: center;
  background: #e8f6f4;
  border: 1px solid #8dc8c2;
  border-left: 4px solid #087f79;
  border-radius: 7px;
  color: #17343b;
  display: flex;
  gap: 14px;
  padding: 12px 16px;
}

.retention-entry-context-label {
  background: #087f79;
  border-radius: 999px;
  color: #fff;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  text-transform: uppercase;
}

.retention-entry-context strong {
  display: block;
  font-size: 14px;
}

.retention-entry-context p {
  color: #52676f;
  font-size: 12px;
  margin: 2px 0 0;
}

.retention-workspace-guidance-text {
  min-width: 0;
}

.retention-workspace-guidance-eyebrow {
  color: #087f79;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}

.retention-workspace-guidance-copy {
  color: #52676f;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.retention-workspace-column {
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  min-width: 0;
  padding: 22px 20px 18px;
}

.retention-workspace-column + .retention-workspace-column {
  border-left: 1px solid #dce4e7;
}

.retention-workspace-column h2 {
  color: #087f79;
  font-size: 23px;
  letter-spacing: -0.03em;
  margin: 0;
}

.retention-workspace-column > p {
  color: #5d7078;
  font-size: 13px;
  margin: 5px 0 14px;
}

.retention-workspace-list {
  display: grid;
  gap: 8px;
}

.retention-workspace-card {
  align-items: stretch;
  background: #fff;
  border: 1px solid #d8e0e3;
  border-radius: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  min-height: 66px;
  overflow: hidden;
  position: relative;
  transition: border 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.retention-workspace-card:hover {
  border-color: #78bab4;
  box-shadow: 0 7px 18px rgba(21, 58, 66, 0.09);
  transform: translateY(-1px);
}

.retention-workspace-card.is-selected {
  background: #eef9f7;
  border-color: #2b9991;
}

.retention-workspace-card.is-active {
  border-left: 4px solid #087f79;
  box-shadow: 0 7px 18px rgba(8, 127, 121, 0.11);
}

.retention-workspace-card-main {
  align-content: center;
  background: transparent;
  border: 0;
  color: #14282f;
  cursor: pointer;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px 10px 12px 16px;
  text-align: left;
  text-decoration: none;
}

.retention-workspace-card-main strong {
  font-size: 14px;
  line-height: 1.25;
}

.retention-workspace-card-main small {
  color: #65777e;
  font-size: 11px;
}

.retention-workspace-choice .retention-workspace-card-main {
  align-items: center;
  grid-template-columns: 26px minmax(0, 1fr) auto;
}

.retention-workspace-filter .retention-workspace-card-main {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.retention-workspace-filter-count,
.retention-workspace-area-tag {
  background: #e2f3f1;
  border-radius: 999px;
  color: #075e58 !important;
  font-weight: 800;
  padding: 5px 8px;
  white-space: nowrap;
}

.retention-workspace-choice .retention-workspace-card-main small {
  text-align: right;
}

.retention-workspace-action-copy {
  display: grid;
  gap: 4px;
}

.retention-workspace-action-copy small {
  text-align: left !important;
}

.retention-workspace-card.is-selected .retention-workspace-area-tag {
  background: #d5efeb;
}

.retention-workspace-list-heading {
  align-items: center;
  color: #425b64;
  display: flex;
  font-size: 11px;
  gap: 10px;
  justify-content: space-between;
  letter-spacing: 0.04em;
  margin: 8px 2px 2px;
  text-transform: uppercase;
}

.retention-workspace-list-heading small {
  color: #087f79;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.retention-workspace-check {
  align-items: center;
  border: 1.5px solid #33464d;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.retention-workspace-card.is-selected .retention-workspace-check {
  background: #087f79;
  border-color: #087f79;
  color: #fff;
}

.retention-workspace-info {
  align-self: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #233b43;
  cursor: pointer;
  font-size: 17px;
  height: 30px;
  justify-self: center;
  width: 30px;
}

.retention-workspace-info:hover {
  background: #dcefed;
  color: #075e58;
}

.retention-workspace-weights {
  border: 1px solid #dce4e7;
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 10px;
}

.retention-workspace-weights div {
  display: grid;
  gap: 4px;
  padding: 10px 5px;
  text-align: center;
}

.retention-workspace-weights div + div {
  border-left: 1px solid #e3e9eb;
}

.retention-workspace-weights span,
.retention-workspace-weights strong {
  font-size: 11px;
}

.retention-workspace-weights span {
  color: #5d7078;
}

.retention-workspace-active-pill {
  align-self: flex-start;
  background: #087f79;
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 8px;
  padding: 8px 12px;
}

.retention-workspace-summary {
  color: #18353d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin: 10px 0 0 !important;
}

.retention-workspace-finalise {
  background: #087f79;
  border: 1px solid #087f79;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 750;
  min-height: 54px;
  width: 100%;
}

.retention-workspace-finalise:hover {
  background: #066a65;
  box-shadow: 0 8px 20px rgba(8, 127, 121, 0.2);
}

.retention-workspace-finalise:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.retention-workspace-error {
  color: #a33b20 !important;
  margin: 7px 0 0 !important;
}

.retention-workspace-clear {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #087f79;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  margin-top: 10px;
  padding: 4px 0;
  text-decoration: underline;
}

.retention-workspace-clear:disabled {
  cursor: default;
  opacity: 0.4;
  text-decoration: none;
}

.retention-workspace-drawer {
  box-sizing: border-box;
}

.retention-workspace-drawer-close {
  background: transparent;
  border: 0;
  color: #18353d;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 14px;
}

.retention-workspace-drawer h2 {
  padding-right: 34px;
}

.retention-workspace-card-main:focus-visible,
.retention-workspace-info:focus-visible,
.retention-workspace-finalise:focus-visible,
.pappy-nav-link:focus-visible {
  outline: 3px solid #f0b44d;
  outline-offset: 2px;
}

@media (max-width: 1050px) {
  .pappy-sidebar {
    width: 176px;
  }

  .pappy-page-content {
    margin-left: 176px;
    width: calc(100% - 176px);
  }

  .retention-workspace {
    padding: 20px 18px 28px;
  }

  .retention-workspace-columns {
    grid-template-columns: 1fr;
  }

  .retention-workspace-guidance {
    grid-template-columns: 1fr;
  }

  .retention-workspace-column {
    min-height: auto;
  }

  .retention-workspace-column + .retention-workspace-column {
    border-left: 0;
    border-top: 1px solid #dce4e7;
  }
}

@media (max-width: 720px) {
  .pappy-sidebar {
    border-bottom: 1px solid #dce4e7;
    border-right: 0;
    bottom: auto;
    height: 72px;
    width: 100%;
  }

  .pappy-sidebar-inner {
    align-items: center;
    flex-direction: row;
    padding: 8px 12px;
  }

  .pappy-brand {
    padding: 0 12px 0 0;
  }

  .pappy-brand-name {
    font-size: 25px;
  }

  .pappy-navigation {
    display: flex;
    overflow-x: auto;
  }

  .pappy-nav-link {
    font-size: 0;
    min-height: 48px;
    padding: 0 9px;
  }

  .pappy-sidebar-footer {
    display: none;
  }

  .pappy-page-content {
    margin-left: 0;
    padding-top: 72px;
    width: 100%;
  }

  .retention-workspace-evidence {
    height: auto;
    grid-template-columns: 1fr;
  }

  .retention-workspace-cost {
    margin-top: 0;
  }
}

.retention-finalised-modal {
  align-items: center;
  background: rgba(16, 36, 44, 0.78);
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 30;
}

.retention-finalised-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(5, 29, 38, 0.3);
  max-width: 560px;
  padding: 38px;
  text-align: center;
  width: 100%;
}

.retention-finalised-icon {
  align-items: center;
  background: #087f79;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 28px;
  font-weight: 800;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.retention-finalised-eyebrow,
.nudges-eyebrow {
  color: #087f79;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.retention-finalised-actions,
.nudges-header-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.retention-finalised-primary,
.retention-finalised-secondary,
.nudges-primary-action,
.nudges-secondary-action {
  border-radius: 9px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  text-decoration: none;
}

.retention-finalised-primary,
.nudges-primary-action {
  background: #087f79;
  border: 1px solid #087f79;
  color: #fff;
}

.retention-finalised-secondary,
.nudges-secondary-action {
  background: #fff;
  border: 1px solid #9eb0b6;
  color: #294852;
}

.nudges-page {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1500px;
  padding: 28px clamp(22px, 4vw, 52px) 48px;
}

.nudges-header {
  align-items: end;
  background: #fff;
  border: 1px solid #dce4e7;
  border-radius: 14px;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 24px 28px;
}

.nudges-header h1,
.nudges-column h2 {
  color: #173b45;
  margin: 0;
}

.nudges-header p:not(.nudges-eyebrow),
.nudges-column > p {
  color: #5d7078;
}

.nudges-columns {
  background: #fff;
  border: 1px solid #dce4e7;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.nudges-column {
  min-height: 480px;
  padding: 28px;
}

.nudges-column + .nudges-column {
  border-left: 1px solid #dce4e7;
}

.nudges-step-number {
  align-items: center;
  background: #e2f3f1;
  border-radius: 999px;
  color: #087f79;
  display: inline-flex;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  margin-bottom: 12px;
  width: 30px;
}

.nudges-choice-list label,
.nudges-channel-list label {
  align-items: start;
  border: 1px solid #dce4e7;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding: 14px;
}

.nudges-channel-list label > span {
  display: grid;
  gap: 4px;
}

.nudges-channel-list small {
  color: #5d7078;
}

.nudges-cadence {
  display: grid;
  gap: 10px;
  margin: 10px 0 22px;
}

.nudges-owner {
  border: 1px solid #9eb0b6;
  border-radius: 8px;
  box-sizing: border-box;
  margin-top: 8px;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.nudges-delivery-status {
  background: #f0f6f6;
  border-left: 4px solid #087f79;
  margin-top: 24px;
  padding: 14px;
}

.nudges-delivery-status p,
.nudges-save-feedback {
  color: #5d7078;
  margin-bottom: 0;
}

.nudges-empty {
  background: #fff;
  border: 1px solid #dce4e7;
  border-radius: 14px;
  margin: 48px auto;
  max-width: 700px;
  padding: 36px;
}

@media (max-width: 1000px) {
  .nudges-header {
    align-items: start;
    flex-direction: column;
  }

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

  .nudges-column {
    min-height: auto;
  }

  .nudges-column + .nudges-column {
    border-left: 0;
    border-top: 1px solid #dce4e7;
  }
}
