:root {
  color: #14213d;
  background: #f7f8f6;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #f7f8f6;
  color: #14213d;
  line-height: 1.6;
}

body,
button,
input {
  font: inherit;
}

a {
  color: inherit;
}

button,
a,
input,
summary {
  outline-offset: 4px;
}

:focus-visible {
  outline: 3px solid rgba(8, 127, 114, 0.45);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.25rem;
}

main:not(.landing-page):not(.details-page) {
  width: min(100% - 2rem, 48rem);
  margin: 0 auto;
  padding: 4rem 0;
}

.site-shell {
  min-height: 100vh;
}

.content-container {
  width: min(100% - 2.5rem, 1160px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(247, 248, 246, 0.94);
}

.header-content {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-link {
  color: #14213d;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.header-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-navigation > a:not(.button),
.header-back-link {
  color: #475569;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.header-navigation > a:not(.button):hover,
.header-back-link:hover {
  color: #087f72;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.4rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button-primary {
  background: #087f72;
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 127, 114, 0.2);
}

.button-primary:hover:not(:disabled) {
  background: #066d62;
  box-shadow: 0 14px 30px rgba(8, 127, 114, 0.26);
}

.button-secondary {
  border-color: #cbd5e1;
  background: #fff;
  color: #14213d;
}

.button-small {
  min-height: 42px;
  padding-inline: 1.2rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: #087f72;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.landing-page {
  width: 100%;
}

.hero-section {
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background:
    radial-gradient(circle at 82% 28%, rgba(8, 127, 114, 0.12), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f7f8f6 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.hero-description {
  max-width: 680px;
  margin-bottom: 2rem;
  color: #64748b;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.credibility-note {
  margin: 1.25rem 0 0;
  color: #64748b;
  font-size: 0.88rem;
}

.process-visual {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 30px 70px rgba(20, 33, 61, 0.12);
}

.process-visual::before {
  position: absolute;
  top: 3rem;
  bottom: 3rem;
  left: 3.43rem;
  width: 2px;
  background: linear-gradient(#087f72, rgba(8, 127, 114, 0.12));
  content: "";
}

.process-stage {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 1.15rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 33, 61, 0.06);
}

.process-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  background: #e6f4f1;
  color: #087f72;
  font-size: 0.78rem;
  font-weight: 850;
}

.process-stage strong {
  font-size: 1.05rem;
}

.section-block {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin-bottom: 1.25rem;
}

.section-heading > p:not(.eyebrow),
.info-card p,
.step-card p {
  color: #64748b;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.info-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 33, 61, 0.06);
}

.card-accent {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 2.5rem;
  border-radius: 999px;
  background: #087f72;
}

.how-section {
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step-card {
  position: relative;
  border-top: 2px solid #e2e8f0;
  padding: 2rem 1.25rem 0 0;
}

.step-number {
  display: block;
  margin-bottom: 2rem;
  color: #087f72;
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.approach-section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: #101d30;
  color: #fff;
}

.approach-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.eyebrow-light {
  color: #63d1c4;
}

.approach-description {
  max-width: 700px;
  color: #cbd5e1;
  font-size: 1.08rem;
}

.principles-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles-list li {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.25rem 0 1.25rem 2rem;
  font-weight: 700;
}

.principles-list li::before {
  position: absolute;
  top: 1.7rem;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #27b5a5;
  content: "";
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.faq-list {
  border-top: 1px solid #e2e8f0;
}

.faq-list details {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 750;
  list-style-position: outside;
}

.faq-list details p {
  margin: 1rem 0 0;
  padding-right: 2rem;
  color: #64748b;
}

.final-cta-section {
  padding: 0 0 clamp(5rem, 9vw, 8rem);
}

.final-cta-card {
  border-radius: 30px;
  padding: clamp(2.5rem, 7vw, 5rem);
  background: linear-gradient(135deg, #e6f4f1, #fff);
  text-align: center;
  box-shadow: 0 24px 60px rgba(20, 33, 61, 0.08);
}

.final-cta-card h2,
.final-cta-card p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta-card p {
  margin-bottom: 1.75rem;
  color: #64748b;
}

.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 2.5rem 0;
  background: #fff;
}

.footer-content,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-content p,
.footer-meta {
  margin: 0;
  color: #64748b;
  font-size: 0.86rem;
}

.details-shell {
  display: flex;
  flex-direction: column;
}

.details-page {
  display: grid;
  flex: 1;
  place-items: center;
  width: 100%;
  padding: clamp(4rem, 9vw, 7rem) 1.25rem;
  background:
    radial-gradient(circle at 15% 18%, rgba(8, 127, 114, 0.1), transparent 24rem),
    #f7f8f6;
}

.details-container {
  display: grid;
  width: min(100%, 960px);
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}

.details-introduction {
  padding-top: 1rem;
}

.details-introduction h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.details-introduction > p:not(.eyebrow) {
  color: #64748b;
}

.details-form {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 33, 61, 0.09);
}

.form-field {
  margin-bottom: 1.4rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.form-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  color: #14213d;
  background: #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.form-field input::placeholder {
  color: #94a3b8;
}

.form-field input:focus {
  border-color: #087f72;
  box-shadow: 0 0 0 4px rgba(8, 127, 114, 0.1);
}

.phone-input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.phone-input-group:focus-within {
  border-color: #087f72;
  box-shadow: 0 0 0 4px rgba(8, 127, 114, 0.1);
}

.phone-input-group span {
  display: flex;
  align-items: center;
  border-right: 1px solid #e2e8f0;
  padding: 0 0.85rem;
  color: #475569;
  font-weight: 700;
}

.phone-input-group input {
  border: 0;
  box-shadow: none;
}

.phone-input-group input:focus {
  box-shadow: none;
}

.privacy-note {
  margin: 0.25rem 0 1.75rem;
  color: #64748b;
  font-size: 0.84rem;
}

.form-submit-area {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.form-submit-area .button {
  width: 100%;
}

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

.form-submit-area p {
  margin: 0.85rem 0 0;
  color: #64748b;
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-layout,
  .approach-layout,
  .faq-layout,
  .details-container {
    grid-template-columns: 1fr;
  }

  .process-visual {
    max-width: 620px;
  }

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

  .info-card {
    min-height: auto;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.25rem;
  }

  .faq-layout .section-heading {
    margin-bottom: 0;
  }

  .details-introduction {
    max-width: 650px;
  }
}

@media (max-width: 680px) {
  .content-container {
    width: min(100% - 2rem, 1160px);
  }

  .header-content {
    min-height: 68px;
  }

  .header-navigation > a:not(.button) {
    display: none;
  }

  .header-navigation {
    gap: 0;
  }

  .header-back-link {
    font-size: 0.85rem;
  }

  .button-small {
    min-height: 40px;
    padding-inline: 1rem;
  }

  .hero-section {
    padding-top: 4.5rem;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .process-visual {
    padding: 1rem;
    border-radius: 22px;
  }

  .process-visual::before {
    left: 2.93rem;
  }

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

  .footer-content,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .details-page {
    padding-top: 3.5rem;
  }
}

.execution-cycle-selection {
  margin-bottom: 2rem;
}

.execution-cycle-heading {
  margin-bottom: 1rem;
}

.execution-cycle-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.execution-cycle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.execution-cycle-card {
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 1.25rem;
  background: #fff;
}

.execution-cycle-card.is-selected {
  border-color: #087f72;
  box-shadow: 0 0 0 2px rgba(8, 127, 114, 0.1);
}

.execution-cycle-card.is-locked {
  background: #f1f5f9;
}

.execution-cycle-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.execution-cycle-card-heading strong {
  color: #087f72;
}

.execution-cycle-card.is-locked .execution-cycle-card-heading strong {
  color: #475569;
}

.execution-cycle-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.execution-cycle-program-title {
  margin-bottom: 0.7rem;
  color: #14213d;
  font-size: 0.82rem;
  font-weight: 750;
}

.execution-cycle-card > p:not(.execution-cycle-program-title):not(.execution-cycle-duration):not(.execution-cycle-reference-message) {
  color: #64748b;
  font-size: 0.84rem;
}

.execution-cycle-duration {
  margin-bottom: 1rem;
  color: #087f72;
  font-size: 0.76rem;
  font-weight: 750;
}

.execution-cycle-card > button {
  border: 1px solid #087f72;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: #087f72;
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
}

.execution-cycle-card > button[aria-pressed='true'] {
  background: #fff;
  color: #087f72;
}

.execution-cycle-lock-message {
  border-top: 1px solid #cbd5e1;
  padding-top: 1rem;
}

.execution-cycle-lock-message strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #14213d;
  font-size: 0.82rem;
}

.execution-cycle-lock-message p,
.execution-cycle-reference-message,
.execution-cycle-empty {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
}

.execution-cycle-reference-message {
  border-top: 1px solid #e2e8f0;
  padding-top: 0.8rem;
}

.execution-selected-cycle-context {
  display: grid;
  flex: 0 0 auto;
  gap: 0.25rem;
  border-left: 2px solid #087f72;
  padding-left: 0.8rem;
}

.execution-selected-cycle-context span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.execution-selected-cycle-context strong {
  color: #087f72;
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .execution-cycle-list {
    grid-template-columns: 1fr;
  }

  .execution-selected-cycle-context {
    border-top: 1px solid #e2e8f0;
    border-left: 0;
    padding-top: 1rem;
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


.resource-page {
  min-height: 100vh;
  background: #f7f8f6;
}

.resource-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 2rem 0 4.5rem;
  background: #fff;
}

.resource-home-link {
  display: inline-block;
  margin-bottom: 4rem;
  color: #14213d;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.resource-header h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 6vw, 4.75rem);
}

.resource-header .eyebrow {
  text-transform: uppercase;
}

.resource-subtitle {
  max-width: 720px;
  margin-bottom: 0;
  color: #64748b;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

main.resource-main:not(.landing-page):not(.details-page) {
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.resource-navigation {
  position: sticky;
  top: 1.5rem;
}

.resource-navigation h2 {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  letter-spacing: 0;
}

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

.resource-navigation-item {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.15rem 0.5rem;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 1rem;
  background: transparent;
  color: #14213d;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.resource-navigation-item:hover {
  border-color: #e2e8f0;
  background: #fff;
}

.resource-navigation-item.is-active {
  border-color: #b8dcd7;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 33, 61, 0.06);
}

.resource-navigation-number {
  grid-row: 1 / 4;
  color: #087f72;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.resource-navigation-item strong {
  line-height: 1.35;
}

.resource-navigation-item > span:not(.resource-navigation-number) {
  margin-top: 0.3rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.resource-navigation-item small {
  margin-top: 0.45rem;
  color: #087f72;
  font-weight: 750;
}

.resource-reader {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: #fff;
  box-shadow: 0 20px 50px rgba(20, 33, 61, 0.07);
}

.resource-reader-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 2.25rem;
}

.resource-kicker {
  margin-bottom: 0.9rem;
  color: #087f72;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-reader-header h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.resource-reader-header > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #64748b;
  font-size: 1.05rem;
}

.resource-sections {
  padding: 1rem 0 0;
}

.resource-sections section {
  padding-top: 2rem;
}

.resource-sections h3 {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
}

.resource-sections p,
.resource-sections li {
  color: #475569;
}

.resource-sections p {
  margin-bottom: 0.9rem;
}

.resource-sections ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.3rem;
}

.resource-sections li::marker {
  color: #087f72;
}

.resource-activity {
  margin-top: 2.75rem;
  border-left: 4px solid #087f72;
  border-radius: 0 16px 16px 0;
  padding: 1.5rem 1.75rem;
  background: #edf7f5;
}

.resource-activity .eyebrow {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.resource-activity > p:last-child {
  margin-bottom: 0;
}

.resource-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.75rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.resource-control {
  min-width: 120px;
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  font-weight: 750;
}

.resource-control-next {
  border-color: #087f72;
  background: #087f72;
  color: #fff;
}

.resource-control:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.resource-footer {
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  background: #fff;
}

.resource-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.resource-footer-content p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.resource-footer-content a {
  flex: 0 0 auto;
  color: #087f72;
  font-weight: 750;
}

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

  .resource-navigation {
    position: static;
  }

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

@media (max-width: 580px) {
  .resource-header {
    padding-bottom: 3.5rem;
  }

  .resource-home-link {
    margin-bottom: 3rem;
  }

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

  .resource-reader {
    border-radius: 18px;
  }

  .resource-controls,
  .resource-footer-content {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-control {
    width: 100%;
  }
}

.field-help {
  margin: 0.45rem 0 0;
  color: #64748b;
  font-size: 0.8rem;
}

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
  color: #a32828;
  font-size: 0.84rem;
  font-weight: 650;
}

.field-error span {
  display: inline-grid;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.72rem;
  line-height: 1;
}

.form-field input[aria-invalid='true'] {
  border-color: #a32828;
}

.phone-input-group:has(input[aria-invalid='true']) {
  border-color: #a32828;
}

.calculated-age {
  margin: 0.65rem 0 0;
  color: #087f72;
  font-size: 0.9rem;
  font-weight: 750;
}

.eligibility-note {
  margin: 0.25rem 0 1.75rem;
  border-left: 3px solid #94a3b8;
  padding: 0.15rem 0 0.15rem 0.85rem;
  color: #64748b;
  font-size: 0.84rem;
}

.form-submit-area .form-instructions {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.82rem;
  text-align: left;
}

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

.assessment-page {
  min-height: 100vh;
  background: #f7f8f6;
}

.assessment-header {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.assessment-header-content {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.assessment-header-content > span {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
}

main.assessment-main:not(.landing-page):not(.details-page) {
  width: 100%;
  margin: 0;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
}

.assessment-container {
  width: min(100%, 980px);
  margin: 0 auto;
}

.assessment-notice {
  margin-bottom: 1.5rem;
  border: 1px solid #d5e5e2;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #edf7f5;
  color: #395f5a;
  font-size: 0.84rem;
}

.assessment-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.assessment-progress span {
  border-top: 3px solid #cbd5e1;
  padding-top: 0.6rem;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 750;
}

.assessment-progress span.is-current {
  border-color: #087f72;
  color: #087f72;
}

.assessment-stage {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: #fff;
  box-shadow: 0 20px 50px rgba(20, 33, 61, 0.07);
}

.assessment-stage-heading {
  max-width: 750px;
  margin-bottom: 2.25rem;
}

.assessment-stage-heading h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.assessment-stage-heading > p:last-child {
  margin-bottom: 0;
  color: #64748b;
}

.assessment-fieldset,
.capability-question {
  margin: 0;
  border: 0;
  padding: 0;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.selection-list {
  display: grid;
  gap: 0.8rem;
}

.selection-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
  cursor: pointer;
}

.direction-card {
  min-height: 185px;
}

.selection-card:has(input:checked) {
  border-color: #087f72;
  background: #f0f8f6;
  box-shadow: 0 0 0 2px rgba(8, 127, 114, 0.12);
}

.selection-card:has(input:focus-visible) {
  outline: 3px solid rgba(8, 127, 114, 0.45);
  outline-offset: 3px;
}

.selection-card input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  margin: 0.25rem 0 0;
  accent-color: #087f72;
}

.selection-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.selection-card-content strong {
  line-height: 1.35;
}

.selection-card-content > span {
  color: #64748b;
  font-size: 0.88rem;
}

.selection-card-content small {
  margin-top: 0.35rem;
  color: #087f72;
  font-size: 0.76rem;
  font-weight: 700;
}

.assessment-validation {
  margin: 1.25rem 0 0;
  border-left: 3px solid #a32828;
  padding: 0.3rem 0 0.3rem 0.8rem;
  color: #a32828;
  font-size: 0.88rem;
  font-weight: 700;
}

.assessment-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.assessment-actions-end {
  justify-content: flex-end;
}

.assessment-back-button {
  border-color: #cbd5e1;
  background: #fff;
  color: #14213d;
}

.capability-list {
  display: grid;
  gap: 1.25rem;
}

.capability-question {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
}

.capability-question legend {
  width: 100%;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.capability-question legend span {
  display: block;
  margin-bottom: 0.35rem;
  color: #087f72;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.capability-options label {
  display: flex;
  min-height: 82px;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem;
  cursor: pointer;
}

.capability-options label:has(input:checked) {
  border-color: #087f72;
  background: #f0f8f6;
}

.capability-options label:has(input:focus-visible) {
  outline: 3px solid rgba(8, 127, 114, 0.45);
  outline-offset: 2px;
}

.capability-options input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  accent-color: #087f72;
}

.capability-options span {
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.4;
}

.assessment-summary {
  display: grid;
  gap: 1rem;
}

.assessment-summary > section {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.4rem;
}

.assessment-summary h2 {
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.assessment-summary p:last-child {
  margin-bottom: 0;
}

.assessment-summary p {
  color: #475569;
}

.capability-summary-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.capability-summary-list > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 1.2fr;
  gap: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.8rem 0;
}

.capability-summary-list > div:last-child {
  border-bottom: 0;
}

.capability-summary-list dt {
  font-weight: 750;
}

.capability-summary-list dd {
  margin: 0;
  color: #64748b;
}

@media (max-width: 780px) {
  .capability-options {
    grid-template-columns: 1fr;
  }

  .capability-options label {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .assessment-progress span {
    font-size: 0.68rem;
  }

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

  .direction-card {
    min-height: auto;
  }

  .assessment-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .assessment-actions .button {
    width: 100%;
  }

  .capability-summary-list > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.training-page {
  min-height: 100vh;
  background: #f7f8f6;
}

.training-header {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.training-header-bar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.training-header-bar > span {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
}

.training-header-copy {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.training-header-copy h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 6vw, 4.75rem);
}

.training-header-copy > p:not(.eyebrow):not(.training-notice) {
  max-width: 700px;
  color: #64748b;
  font-size: 1.08rem;
}

.training-notice {
  max-width: 760px;
  margin: 1.5rem 0 0;
  border-left: 3px solid #087f72;
  padding: 0.2rem 0 0.2rem 0.85rem;
  color: #475569;
  font-size: 0.86rem;
}

main.training-main:not(.landing-page):not(.details-page) {
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.training-track-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.training-track-heading > div {
  max-width: 720px;
}

.training-label {
  margin-bottom: 0.6rem;
  color: #087f72;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.training-track-heading h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.training-track-heading > div > p:last-child {
  margin-bottom: 0;
  color: #64748b;
}

.training-track-selector {
  display: grid;
  min-width: 260px;
  gap: 0.4rem;
}

.training-track-selector span {
  font-size: 0.78rem;
  font-weight: 750;
}

.training-track-selector select {
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.55rem 2.2rem 0.55rem 0.75rem;
  background: #fff;
  color: #14213d;
  font: inherit;
}

.training-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 1.5rem;
}

.training-navigation,
.training-topic-view {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
}

.training-navigation {
  overflow: hidden;
}

.training-navigation-section + .training-navigation-section {
  border-top: 1px solid #e2e8f0;
}

.training-section-toggle {
  display: grid;
  width: 100%;
  grid-template-columns: 2rem 1fr auto;
  align-items: start;
  gap: 0.75rem;
  border: 0;
  padding: 1rem;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  text-align: left;
}

.training-section-number {
  color: #087f72;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.training-section-toggle > span:nth-child(2) {
  display: grid;
  gap: 0.3rem;
}

.training-section-toggle strong {
  line-height: 1.35;
}

.training-section-toggle small {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.45;
}

.training-toggle-symbol {
  color: #087f72;
  font-size: 1.15rem;
  line-height: 1;
}

.training-topic-list {
  display: grid;
  gap: 0.35rem;
  padding: 0 0.75rem 0.85rem 3.75rem;
}

.training-topic-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0.7rem 0.75rem;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-size: 0.82rem;
  text-align: left;
}

.training-topic-button.is-selected {
  border-color: #b8dcd7;
  background: #edf7f5;
  color: #14213d;
  font-weight: 700;
}

.training-topic-button small {
  flex: 0 0 auto;
  color: #087f72;
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.training-topic-view {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.training-topic-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
  color: #64748b;
  font-size: 0.78rem;
}

.training-topic-kind {
  margin-bottom: 0.65rem;
  color: #087f72;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.training-topic-view > h2 {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.training-empty-content {
  min-height: 210px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 1.5rem;
  background: #fafbf9;
}

.training-empty-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.training-empty-content p {
  max-width: 580px;
  color: #64748b;
}

.preparation-content {
  margin-top: 1.5rem;
}

.preparation-overview {
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid #315b86;
  background: #f4f7fa;
  color: #334155;
}

.preparation-section + .preparation-section,
.preparation-prompt,
.preparation-safety-note {
  margin-top: 1.5rem;
}

.preparation-section h3,
.preparation-prompt h3,
.preparation-safety-note h3 {
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

.preparation-section p {
  color: #475569;
}

.preparation-section ul,
.preparation-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.4rem;
  color: #334155;
}

.preparation-section li + li,
.preparation-steps li + li {
  margin-top: 0.5rem;
}

.preparation-prompt,
.preparation-safety-note {
  padding: 1rem 1.1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
  background: #f8fafc;
}

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

.preparation-prompt small {
  display: block;
  margin-top: 0.65rem;
  color: #64748b;
}

.preparation-safety-note {
  border-color: #e3d39c;
  background: #fffaf0;
}

.training-metadata {
  margin: 1.25rem 0 0;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  background: #f1f5f9;
}

.training-metadata > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.training-metadata dt,
.training-metadata dd {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.training-metadata dt {
  color: #64748b;
}

.training-metadata dd {
  margin: 0;
  color: #14213d;
}

.training-topic-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

@media (max-width: 840px) {
  .training-track-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .training-track-selector {
    min-width: 0;
  }

  .training-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .training-header-bar > span {
    font-size: 0.76rem;
  }

  .training-topic-list {
    padding-left: 1rem;
  }

  .training-topic-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .training-topic-controls .resource-control {
    width: 100%;
  }
}

.execution-delivery-workspace-link,
.engagement-delivery-link {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #b9cbe0;
  border-radius: 0.75rem;
  background: #f4f7fa;
}

.execution-delivery-workspace-link h3,
.engagement-delivery-link h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.execution-delivery-workspace-link p,
.engagement-delivery-link p {
  margin-bottom: 0.7rem;
  color: #475569;
}

.execution-delivery-workspace-link a,
.engagement-delivery-link a {
  font-weight: 750;
}

.delivery-workspace-page {
  min-height: 100vh;
  background: #f5f7f8;
  color: #172033;
}

.delivery-header {
  border-bottom: 1px solid #dbe3ec;
  background: #ffffff;
}

.delivery-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.delivery-header-bar > div {
  display: flex;
  gap: 1rem;
}

.delivery-header-bar a {
  font-weight: 700;
}

.delivery-header-copy {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.delivery-header-copy h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.delivery-header-copy > p:not(.eyebrow):not(.delivery-boundary-notice) {
  max-width: 760px;
  color: #475569;
}

.delivery-boundary-notice {
  max-width: 900px;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid #315b86;
  background: #f1f5f9;
  color: #334155;
}

.delivery-workspace-main {
  padding: 2rem 0 4rem;
}

.delivery-privacy-notice,
.delivery-storage-warning {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e3d39c;
  border-radius: 0.75rem;
  background: #fffaf0;
  color: #5b4b20;
}

.delivery-storage-warning {
  border-color: #e5b3b3;
  background: #fff5f5;
  color: #8b2525;
}

.delivery-selection,
.delivery-scope,
.delivery-production,
.delivery-handoff-history,
.delivery-records,
.delivery-unlinked {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.delivery-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.delivery-section-heading h2,
.delivery-handoff-history h2 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.delivery-section-heading > span {
  flex: 0 0 auto;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #eef2f6;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.delivery-label {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52657a;
}

.delivery-empty-state {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px dashed #c6d0dc;
  border-radius: 0.7rem;
  color: #526172;
}

.delivery-empty-state p {
  margin-bottom: 0.65rem;
}

.delivery-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.delivery-card {
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
  background: #fafcfd;
}

.delivery-card > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.delivery-card h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.delivery-card span {
  font-size: 0.8rem;
  color: #64748b;
}

.delivery-card > p,
.delivery-scope > p,
.delivery-handoff-history > p,
.delivery-unlinked > p {
  color: #526172;
}

.delivery-card button,
.delivery-primary-action,
.delivery-handoff-panel button,
.delivery-handoff-history button,
.delivery-delete-confirmation button {
  border: 1px solid #9baabd;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #25354a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.delivery-primary-action,
.delivery-handoff-panel button {
  border-color: #244c76;
  background: #244c76;
  color: #ffffff;
}

.delivery-primary-action:disabled,
.delivery-handoff-panel button:disabled,
.delivery-handoff-history button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.delivery-scope pre,
.delivery-unlinked-card pre {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f8fafc;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  color: #334155;
}

.delivery-acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
  padding: 0.9rem;
  border-radius: 0.65rem;
  background: #fffaf0;
  color: #4f4529;
}

.delivery-acknowledgement input,
.delivery-quality-list input {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.delivery-mismatch {
  padding: 0.85rem 1rem;
  border: 1px solid #dfaaaa;
  border-radius: 0.65rem;
  background: #fff1f1;
  color: #842c2c !important;
}

.delivery-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.delivery-summary span {
  padding: 0.8rem;
  border-radius: 0.65rem;
  background: #f4f7fa;
  color: #526172;
}

.delivery-summary strong {
  color: #25354a;
}

.delivery-clip-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.delivery-clip {
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #fafcfd;
}

.delivery-clip summary {
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 750;
}

.delivery-clip-body {
  padding: 0 1rem 1rem;
}

.delivery-status-field,
.delivery-note-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.delivery-status-field > span,
.delivery-note-field label {
  font-weight: 750;
}

.delivery-status-field select,
.delivery-note-field textarea {
  width: 100%;
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.72rem 0.8rem;
  background: #ffffff;
  color: #172033;
  font: inherit;
}

.delivery-note-field {
  margin: 1rem 0;
}

.delivery-note-field textarea {
  resize: vertical;
}

.delivery-note-field small {
  color: #64748b;
}

.delivery-quality-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.delivery-quality-list label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem;
  border-radius: 0.6rem;
  background: #ffffff;
}

.delivery-quality-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #25354a;
}

.delivery-quality-list span {
  color: #526172;
}

.delivery-clip-error {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-radius: 0.6rem;
  background: #fff0f0;
  color: #8b2525;
}

.delivery-clip-error p {
  margin-bottom: 0.35rem;
}

.delivery-clip-error ul {
  margin: 0;
  padding-left: 1.25rem;
}

.delivery-handoff-panel {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.delivery-handoff-panel .delivery-acknowledgement {
  margin-top: 0;
}

.delivery-handoff-panel > p {
  margin: 0.7rem 0 0;
  color: #64748b;
}

.delivery-read-only-clips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.delivery-read-only-clips span {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: #eef2f6;
  color: #475569;
}

.delivery-message {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: #eef2f6;
  color: #334155;
}

.delivery-message.is-success {
  background: #edf7f0;
  color: #24553a;
}

.delivery-message.is-error {
  background: #fff0f0;
  color: #8b2525;
}

.delivery-delete-confirmation {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-radius: 0.65rem;
  background: #fff1f1;
}

.delivery-delete-confirmation p {
  margin-bottom: 0.65rem;
  color: #7f2828;
}

.delivery-delete-confirmation > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.delivery-unavailable {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.delivery-unavailable h1 {
  margin-bottom: 0.7rem;
}

@media (max-width: 780px) {
  .delivery-card-list,
  .delivery-summary,
  .delivery-quality-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .delivery-header-bar,
  .delivery-header-bar > div,
  .delivery-section-heading,
  .delivery-card > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .delivery-card button,
  .delivery-primary-action,
  .delivery-handoff-panel button,
  .delivery-handoff-history button {
    width: 100%;
  }
}

.execution-engagement-workspace-link,
.proposal-engagement-link {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #b9cbe0;
  border-radius: 0.75rem;
  background: #f4f7fa;
}

.execution-engagement-workspace-link h3,
.proposal-engagement-link h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.execution-engagement-workspace-link p,
.proposal-engagement-link p {
  margin-bottom: 0.7rem;
  color: #475569;
}

.execution-engagement-workspace-link a,
.proposal-engagement-link a {
  font-weight: 750;
}

.engagement-workspace-page {
  min-height: 100vh;
  background: #f5f7f8;
  color: #172033;
}

.engagement-header {
  border-bottom: 1px solid #dbe3ec;
  background: #ffffff;
}

.engagement-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.engagement-header-bar > div {
  display: flex;
  gap: 1rem;
}

.engagement-header-bar a {
  font-weight: 700;
}

.engagement-header-copy {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.engagement-header-copy h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.engagement-header-copy > p:not(.eyebrow):not(.engagement-preview-notice) {
  max-width: 760px;
  color: #475569;
}

.engagement-preview-notice {
  max-width: 900px;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid #315b86;
  background: #f1f5f9;
  color: #334155;
}

.engagement-workspace-main {
  padding: 2rem 0 4rem;
}

.engagement-privacy-notice,
.engagement-storage-warning {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e3d39c;
  border-radius: 0.75rem;
  background: #fffaf0;
  color: #5b4b20;
}

.engagement-storage-warning {
  border-color: #e5b3b3;
  background: #fff5f5;
  color: #8b2525;
}

.engagement-selection,
.engagement-agreement,
.engagement-onboarding,
.engagement-records,
.engagement-unlinked {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.engagement-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.engagement-section-heading h2 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.engagement-section-heading > span {
  flex: 0 0 auto;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #eef2f6;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.engagement-label {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52657a;
}

.engagement-empty-state {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px dashed #c6d0dc;
  border-radius: 0.7rem;
  color: #526172;
}

.engagement-empty-state p {
  margin-bottom: 0.65rem;
}

.engagement-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.engagement-card {
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
  background: #fafcfd;
}

.engagement-card > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.engagement-card h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.engagement-card span {
  font-size: 0.8rem;
  color: #64748b;
}

.engagement-card > p,
.engagement-agreement > p,
.engagement-onboarding > p,
.engagement-unlinked > p {
  color: #526172;
}

.engagement-card button,
.engagement-section-heading button,
.engagement-primary-action,
.engagement-prepared-panel button,
.engagement-delete-confirmation button {
  border: 1px solid #9baabd;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #25354a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.engagement-primary-action,
.engagement-prepared-panel button {
  border-color: #244c76;
  background: #244c76;
  color: #ffffff;
}

.engagement-primary-action:disabled,
.engagement-prepared-panel button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.engagement-agreement pre,
.engagement-unlinked-card pre {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f8fafc;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  color: #334155;
}

.engagement-acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
  padding: 0.9rem;
  border-radius: 0.65rem;
  background: #fffaf0;
  color: #4f4529;
}

.engagement-acknowledgement input,
.engagement-checklist input {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.engagement-blocked,
.engagement-mismatch {
  padding: 0.85rem 1rem;
  border: 1px solid #dfaaaa;
  border-radius: 0.65rem;
  background: #fff1f1;
  color: #842c2c !important;
}

.engagement-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.engagement-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #fafcfd;
}

.engagement-checklist strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #25354a;
}

.engagement-checklist span {
  color: #526172;
}

.engagement-note-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1rem 0;
}

.engagement-note-field label {
  font-weight: 750;
}

.engagement-note-field textarea {
  width: 100%;
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.72rem 0.8rem;
  background: #ffffff;
  color: #172033;
  font: inherit;
  resize: vertical;
}

.engagement-note-field small {
  color: #64748b;
}

.engagement-remaining,
.engagement-prepared-panel {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.engagement-remaining h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.engagement-remaining ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #526172;
}

.engagement-prepared-panel .engagement-acknowledgement {
  margin-top: 0;
}

.engagement-prepared-panel > p {
  margin: 0.7rem 0 0;
  color: #64748b;
}

.engagement-message {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: #eef2f6;
  color: #334155;
}

.engagement-message.is-success {
  background: #edf7f0;
  color: #24553a;
}

.engagement-message.is-error {
  background: #fff0f0;
  color: #8b2525;
}

.engagement-delete-confirmation {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-radius: 0.65rem;
  background: #fff1f1;
}

.engagement-delete-confirmation p {
  margin-bottom: 0.65rem;
  color: #7f2828;
}

.engagement-delete-confirmation > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.engagement-unavailable {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.engagement-unavailable h1 {
  margin-bottom: 0.7rem;
}

@media (max-width: 780px) {
  .engagement-card-list,
  .engagement-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .engagement-header-bar,
  .engagement-header-bar > div,
  .engagement-section-heading,
  .engagement-card > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .engagement-card button,
  .engagement-primary-action,
  .engagement-prepared-panel button {
    width: 100%;
  }
}

.authored-execution-content {
  margin-top: 2rem;
}

.execution-objective {
  border-left: 4px solid #087f72;
  border-radius: 0 12px 12px 0;
  padding: 1.15rem 1.25rem;
  background: #edf7f5;
}

.execution-objective h3 {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.execution-objective p {
  margin: 0;
  color: #395f5a;
}

.execution-actions {
  margin-top: 2rem;
}

.execution-actions > h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.execution-actions > div {
  display: grid;
  gap: 1rem;
}

.execution-action {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: clamp(1.15rem, 3vw, 1.5rem);
}

.execution-action-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  color: #087f72;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.execution-action-heading span:last-child {
  border: 1px solid #b8dcd7;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  background: #edf7f5;
}

.execution-action h4 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.execution-action > p {
  color: #475569;
}

.execution-evidence-requirement {
  margin-top: 1rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}

.execution-evidence-requirement strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #14213d;
  font-size: 0.8rem;
}

.execution-evidence-requirement p {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
}

.execution-evidence-notice {
  margin: 1.25rem 0 0;
  border-left: 3px solid #94a3b8;
  padding: 0.2rem 0 0.2rem 0.8rem;
  color: #64748b;
  font-size: 0.8rem;
}

.execution-records-panel {
  margin-bottom: 1.5rem;
  border: 1px solid #d5e5e2;
  border-radius: 16px;
  padding: clamp(1.15rem, 3vw, 1.5rem);
  background: #f4faf8;
}

.execution-records-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.execution-records-heading h2 {
  margin-bottom: 0;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.execution-clear-records-button {
  flex: 0 0 auto;
  border: 1px solid #94a3b8;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
}

.execution-activity-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.15rem 0 0;
}

.execution-activity-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid #d5e5e2;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: #fff;
}

.execution-activity-summary dt {
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
}

.execution-activity-summary dd {
  margin: 0;
  color: #087f72;
  font-weight: 850;
}

.execution-records-boundary,
.execution-records-privacy p {
  color: #64748b;
  font-size: 0.78rem;
}

.execution-records-boundary {
  margin: 1rem 0 0;
  font-weight: 650;
}

.execution-records-privacy {
  margin-top: 0.75rem;
  border-left: 3px solid #94a3b8;
  padding-left: 0.8rem;
}

.execution-records-privacy p {
  margin-bottom: 0.4rem;
}

.execution-records-privacy p:last-child {
  margin-bottom: 0;
}

.execution-clear-confirmation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #d5e5e2;
  padding-top: 1rem;
}

.execution-clear-confirmation p {
  margin: 0;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 650;
}

.execution-clear-confirmation > div {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.execution-clear-confirmation button,
.execution-record-save-row > button {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.52rem 0.78rem;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
}

.execution-clear-confirmation button:first-child {
  border-color: #a32828;
  color: #a32828;
}

.execution-record-message {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.execution-record-message.is-success {
  color: #087f72;
}

.execution-record-message.is-error {
  color: #a32828;
}

.execution-action-record {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.25rem;
}

.execution-record-field {
  display: grid;
  gap: 0.4rem;
}

.execution-record-field label {
  font-size: 0.8rem;
  font-weight: 750;
}

.execution-record-field select,
.execution-record-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 0.65rem 0.75rem;
  background: #fff;
  color: #14213d;
  font: inherit;
}

.execution-record-field select:focus,
.execution-record-field textarea:focus {
  border-color: #087f72;
  box-shadow: 0 0 0 4px rgba(8, 127, 114, 0.1);
}

.execution-record-field textarea {
  resize: vertical;
  white-space: pre-wrap;
}

.execution-character-count {
  justify-self: end;
  color: #64748b;
  font-size: 0.72rem;
}

.execution-record-save-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.execution-record-save-row > button {
  border-color: #087f72;
  background: #087f72;
  color: #fff;
}

.execution-record-save-row .execution-record-message {
  margin-top: 0;
}

@media (max-width: 680px) {
  .execution-records-heading,
  .execution-clear-confirmation {
    align-items: stretch;
    flex-direction: column;
  }

  .execution-clear-records-button {
    width: 100%;
  }

  .execution-activity-summary {
    grid-template-columns: 1fr;
  }

  .execution-clear-confirmation > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .execution-record-save-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.training-history-panel {
  margin-bottom: 1.5rem;
  border: 1px solid #d5e5e2;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  background: #f4faf8;
}

.training-history-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.training-history-summary h3 {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.training-history-summary p {
  margin-bottom: 0;
  color: #087f72;
  font-size: 0.82rem;
  font-weight: 750;
}

.training-clear-button {
  flex: 0 0 auto;
  border: 1px solid #94a3b8;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
}

.training-storage-notice {
  margin: 0.85rem 0 0;
  color: #64748b;
  font-size: 0.78rem;
}

.training-storage-message {
  margin: 0.65rem 0 0;
  border-left: 3px solid #a16207;
  padding-left: 0.7rem;
  color: #854d0e;
  font-size: 0.8rem;
  font-weight: 650;
}

.training-clear-confirmation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #d5e5e2;
  padding-top: 1rem;
}

.training-clear-confirmation p {
  margin: 0;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 650;
}

.training-clear-confirmation > div {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.training-clear-confirmation button {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.48rem 0.7rem;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 750;
}

.training-clear-confirmation button:first-child {
  border-color: #a32828;
  color: #a32828;
}

.training-topic-labels {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
}

.training-topic-button .training-viewed-label {
  border: 1px solid #b8dcd7;
  border-radius: 999px;
  padding: 0.12rem 0.38rem;
  background: #edf7f5;
  color: #397269;
  font-size: 0.62rem;
  text-transform: none;
}

.training-empty-catalog {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  background: #fff;
}

.training-empty-catalog h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

@media (max-width: 640px) {
  .training-history-summary,
  .training-clear-confirmation {
    align-items: stretch;
    flex-direction: column;
  }

  .training-clear-button {
    width: 100%;
  }

  .training-clear-confirmation > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.readiness-page {
  min-height: 100vh;
  background: #f7f8f6;
}

.readiness-header {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.readiness-header-bar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.readiness-header-bar > span {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
}

.readiness-header-copy {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.readiness-header-copy h1 {
  max-width: 900px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 6vw, 4.75rem);
}

.readiness-header-copy > p:not(.eyebrow):not(.readiness-notice) {
  max-width: 760px;
  color: #64748b;
  font-size: 1.08rem;
}

.readiness-notice {
  max-width: 780px;
  margin: 1.5rem 0 0;
  border-left: 3px solid #087f72;
  padding: 0.2rem 0 0.2rem 0.85rem;
  color: #475569;
  font-size: 0.86rem;
}

main.readiness-main:not(.landing-page):not(.details-page) {
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.blueprint-selection {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #fff;
}

.blueprint-selection > div {
  max-width: 700px;
}

.readiness-section-label {
  margin-bottom: 0.55rem;
  color: #087f72;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blueprint-selection h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
}

.blueprint-status {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
}

.blueprint-selection label {
  display: grid;
  min-width: 290px;
  gap: 0.4rem;
}

.blueprint-selection label span {
  font-size: 0.78rem;
  font-weight: 750;
}

.blueprint-selection select {
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.55rem 2.2rem 0.55rem 0.75rem;
  background: #fff;
  color: #14213d;
  font: inherit;
}

.readiness-domains {
  display: grid;
  gap: 1.5rem;
}

.readiness-domain {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
}

.readiness-domain > header {
  border-bottom: 1px solid #e2e8f0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #101d30;
  color: #fff;
}

.readiness-domain > header .readiness-section-label {
  color: #63d1c4;
}

.readiness-domain > header h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.readiness-domain > header > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: #cbd5e1;
}

.readiness-criteria-list {
  display: grid;
}

.readiness-criterion {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.readiness-criterion + .readiness-criterion {
  border-top: 1px solid #e2e8f0;
}

.readiness-criterion-number {
  margin-bottom: 0.5rem;
  color: #087f72;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.readiness-criterion-copy h3 {
  margin-bottom: 0.75rem;
}

.readiness-criterion-copy > p:last-child {
  margin-bottom: 0;
  color: #64748b;
}

.readiness-topic-references {
  border-left: 2px solid #d5e5e2;
  padding-left: 1.25rem;
}

.readiness-topic-references h4 {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
}

.readiness-topic-references ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.1rem;
}

.readiness-topic-references li {
  color: #475569;
  font-size: 0.82rem;
}

.readiness-topic-references li::marker {
  color: #087f72;
}

.readiness-preparation-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 1.5rem 0 clamp(4rem, 8vw, 6rem);
  border: 1px solid #d5e5e2;
  border-radius: 16px;
  padding: 1.25rem;
  background: #edf7f5;
}

.readiness-preparation-link p {
  max-width: 650px;
  margin: 0;
  color: #475569;
  font-size: 0.86rem;
}

.readiness-preparation-link .button {
  flex: 0 0 auto;
}

.verification-policy {
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.readiness-section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.readiness-section-heading h2 {
  margin-bottom: 0;
}

.verification-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.verification-step-list article {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
  background: #fff;
}

.verification-step-list article > span {
  color: #087f72;
  font-size: 0.76rem;
  font-weight: 850;
}

.verification-step-list h3 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.verification-step-list p {
  margin-bottom: 0;
  color: #64748b;
  font-size: 0.86rem;
}

.experienced-candidates {
  border-radius: 18px;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: #101d30;
  color: #fff;
}

.experienced-candidates .readiness-section-label {
  color: #63d1c4;
}

.experienced-candidates h2 {
  margin-bottom: 1rem;
}

.experienced-candidates > p:last-child {
  max-width: 800px;
  margin-bottom: 0;
  color: #cbd5e1;
}

.readiness-empty-state {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  background: #fff;
}

@media (max-width: 760px) {
  .blueprint-selection,
  .readiness-preparation-link {
    align-items: stretch;
    flex-direction: column;
  }

  .blueprint-selection label {
    min-width: 0;
  }

  .readiness-criterion {
    grid-template-columns: 1fr;
  }

  .readiness-topic-references {
    border-top: 1px solid #d5e5e2;
    border-left: 0;
    padding-top: 1.25rem;
    padding-left: 0;
  }

  .readiness-preparation-link .button {
    width: 100%;
  }

  .verification-step-list {
    grid-template-columns: 1fr;
  }
}

.execution-page {
  min-height: 100vh;
  background: #f7f8f6;
}

.execution-header {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.execution-header-bar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.execution-header-bar > span {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
}

.execution-header-copy {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.execution-header-copy h1 {
  max-width: 900px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 6vw, 4.75rem);
}

.execution-header-copy > p:not(.eyebrow):not(.execution-notice) {
  max-width: 760px;
  color: #64748b;
  font-size: 1.08rem;
}

.execution-notice {
  max-width: 800px;
  margin: 1.5rem 0 0;
  border-left: 3px solid #087f72;
  padding: 0.2rem 0 0.2rem 0.85rem;
  color: #475569;
  font-size: 0.86rem;
}

main.execution-main:not(.landing-page):not(.details-page) {
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.execution-program-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #fff;
}

.execution-program-summary > div:first-child {
  max-width: 720px;
}

.execution-section-label {
  margin-bottom: 0.55rem;
  color: #087f72;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.execution-program-summary h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.execution-program-summary > div:first-child > p:not(.execution-section-label) {
  color: #64748b;
}

.execution-program-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.25rem 0 0;
}

.execution-program-facts > div {
  display: grid;
  gap: 0.1rem;
}

.execution-program-facts dt {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.execution-program-facts dd {
  margin: 0;
  color: #14213d;
  font-weight: 800;
}

.execution-program-selector {
  display: grid;
  min-width: 290px;
  gap: 0.4rem;
}

.execution-program-selector span {
  font-size: 0.78rem;
  font-weight: 750;
}

.execution-program-selector select {
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.55rem 2.2rem 0.55rem 0.75rem;
  background: #fff;
  color: #14213d;
  font: inherit;
}

.execution-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 1.5rem;
}

.execution-navigation,
.execution-day-view {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
}

.execution-navigation {
  overflow: hidden;
}

.execution-phase-navigation + .execution-phase-navigation {
  border-top: 1px solid #e2e8f0;
}

.execution-phase-button {
  display: grid;
  width: 100%;
  gap: 0.35rem;
  border: 0;
  border-left: 4px solid transparent;
  padding: 1rem 1rem 0.85rem;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  text-align: left;
}

.execution-phase-button.is-selected {
  border-left-color: #087f72;
  background: #f4faf8;
}

.execution-phase-number {
  color: #087f72;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.execution-phase-button > span:not(.execution-phase-number) {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.45;
}

.execution-phase-button small {
  color: #087f72;
  font-size: 0.7rem;
  font-weight: 750;
}

.execution-day-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  padding: 0 1rem 1rem;
}

.execution-day-button {
  aspect-ratio: 1;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
}

.execution-day-button.is-selected {
  border-color: #087f72;
  background: #087f72;
  color: #fff;
}

.execution-phase-empty,
.execution-navigation-empty {
  margin: 0;
  padding: 0 1rem 1rem;
  color: #64748b;
  font-size: 0.78rem;
}

.execution-navigation > .execution-navigation-empty {
  padding: 1.25rem;
}

.execution-day-view {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.execution-day-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
  color: #64748b;
  font-size: 0.78rem;
}

.execution-day-number {
  margin-bottom: 0.5rem;
  color: #087f72;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.execution-day-view > h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.execution-content-status {
  color: #64748b;
  font-size: 0.8rem;
}

.execution-instructions-empty {
  margin: 2rem 0;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 1.5rem;
  background: #fafbf9;
}

.execution-instructions-empty p {
  margin: 0;
  color: #64748b;
}

.future-execution-components > h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.future-execution-components > div {
  display: grid;
  gap: 0.65rem;
}

.future-execution-components article {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem;
}

.future-execution-components h4 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
}

.future-execution-components p {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
}

.execution-day-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.execution-principles {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-radius: 18px;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: #101d30;
  color: #fff;
}

.execution-principles .execution-section-label {
  color: #63d1c4;
}

.execution-principles h2 {
  margin-bottom: 1rem;
}

.execution-principles > p:not(.execution-section-label) {
  max-width: 850px;
  color: #cbd5e1;
}

.execution-principles > p:last-child {
  margin-bottom: 0;
}

.execution-empty-state {
  padding: 2rem;
}

.execution-empty-state h2 {
  font-size: 1.6rem;
}

.execution-empty-state p {
  margin-bottom: 0;
  color: #64748b;
}

.achievement-panel {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.achievement-panel__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.achievement-panel__heading h2 {
  margin-bottom: 0.4rem;
}

.achievement-panel__heading p {
  margin-bottom: 0;
}

.achievement-summary {
  flex: 0 0 auto;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: #f1f5f9;
}

.achievement-summary p + p {
  margin-top: 0.35rem;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.achievement-card {
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
  background: #f8fafc;
}

.achievement-card--earned {
  border-color: #86b89a;
  background: #f0f8f3;
}

.achievement-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.achievement-card__title-row h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.achievement-card__title-row span {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.achievement-card > p {
  margin-bottom: 0;
}

.achievement-card__status {
  margin-top: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.achievement-card--earned .achievement-card__status {
  color: #28613e;
}

.achievement-card__criteria {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: #64748b;
}

.achievement-notice {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #64748b;
}

.execution-lead-workspace-link {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #b9cbe0;
  border-radius: 0.75rem;
  background: #f4f7fa;
}

.execution-lead-workspace-link h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.execution-lead-workspace-link p {
  margin-bottom: 0.7rem;
  color: #475569;
}

.execution-lead-workspace-link a {
  font-weight: 750;
}

.lead-workspace-page {
  min-height: 100vh;
  background: #f5f7f8;
  color: #172033;
}

.lead-workspace-header {
  border-bottom: 1px solid #dbe3ec;
  background: #ffffff;
}

.lead-workspace-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.lead-workspace-header-bar > a:last-child {
  font-weight: 700;
}

.lead-workspace-header-copy {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.lead-workspace-header-copy h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.lead-workspace-header-copy > p:not(.eyebrow):not(.lead-workspace-notice) {
  max-width: 760px;
  color: #475569;
}

.lead-workspace-notice {
  max-width: 900px;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid #315b86;
  background: #f1f5f9;
  color: #334155;
}

.lead-workspace-main {
  padding: 2rem 0 4rem;
}

.lead-progress,
.lead-entry-panel,
.lead-validation-boundaries,
.saved-leads,
.lead-guidance {
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.lead-progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem;
}

.lead-workspace-label {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52657a;
}

.lead-progress h2,
.lead-entry-heading h2,
.saved-leads-heading h2,
.lead-validation-boundaries h2 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.lead-progress p {
  margin-bottom: 0;
  color: #526172;
}

.lead-progress-complete {
  max-width: 390px;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  background: #edf7f0;
  color: #24553a !important;
}

.lead-privacy-notice,
.lead-storage-warning {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid #e3d39c;
  border-radius: 0.75rem;
  background: #fffaf0;
  color: #5b4b20;
}

.lead-storage-warning {
  border-color: #e5b3b3;
  background: #fff5f5;
  color: #8b2525;
}

.lead-guidance {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
}

.lead-guidance summary {
  cursor: pointer;
  font-weight: 750;
}

.lead-guidance ol {
  margin: 0.9rem 0 0;
  padding-left: 1.35rem;
  color: #475569;
}

.lead-guidance li + li {
  margin-top: 0.45rem;
}

.lead-entry-panel,
.saved-leads {
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.lead-entry-heading,
.saved-leads-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.lead-entry-heading > span,
.saved-leads-heading > span {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #eef2f6;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.lead-entry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lead-field--wide {
  grid-column: 1 / -1;
}

.lead-field label {
  font-size: 0.9rem;
  font-weight: 750;
}

.lead-field input,
.lead-field select,
.lead-field textarea {
  width: 100%;
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.72rem 0.8rem;
  background: #ffffff;
  color: #172033;
  font: inherit;
}

.lead-field textarea {
  resize: vertical;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  outline: 3px solid rgba(49, 91, 134, 0.16);
  border-color: #315b86;
}

.lead-field [aria-invalid='true'] {
  border-color: #b54545;
}

.lead-field small {
  color: #64748b;
}

.lead-field-error {
  margin: 0;
  font-size: 0.85rem;
  color: #a33131;
}

.lead-form-actions,
.saved-lead-actions,
.saved-lead-delete-confirmation > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.lead-form-actions button,
.saved-lead-actions button,
.saved-lead-delete-confirmation button {
  border: 1px solid #9baabd;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #25354a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.lead-form-actions .lead-primary-action {
  border-color: #244c76;
  background: #244c76;
  color: #ffffff;
}

.lead-form-actions .lead-secondary-action {
  margin-left: auto;
}

.lead-workspace-message {
  margin: 1rem 0 0;
  padding: 0.8rem 0.9rem;
  border-radius: 0.6rem;
  background: #eef2f6;
  color: #334155;
}

.lead-workspace-message.is-success {
  background: #edf7f0;
  color: #24553a;
}

.lead-workspace-message.is-error {
  background: #fff0f0;
  color: #8b2525;
}

.lead-validation-boundaries {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
}

.lead-validation-boundaries p {
  margin-bottom: 0;
  color: #526172;
}

.lead-validation-boundaries p + p {
  margin-top: 0.65rem;
}

.saved-lead-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.saved-leads-empty {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px dashed #c6d0dc;
  border-radius: 0.7rem;
  color: #64748b;
}

.saved-leads-empty p {
  margin-bottom: 0;
}

.saved-lead-card {
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
  background: #fafcfd;
}

.saved-lead-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.saved-lead-card__heading h3 {
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.saved-lead-card__heading p {
  margin-bottom: 0;
  color: #64748b;
}

.saved-lead-card__heading > span {
  flex: 0 0 auto;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: #f3ecec;
  font-size: 0.74rem;
  font-weight: 750;
  color: #794141;
}

.saved-lead-card__heading > span.is-complete {
  background: #e9f4ed;
  color: #28613e;
}

.saved-lead-details {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}

.saved-lead-details div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.saved-lead-details dt {
  color: #64748b;
}

.saved-lead-details dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.saved-lead-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.saved-lead-links span {
  color: #7a8796;
}

.saved-lead-delete-confirmation {
  margin-top: 0.85rem;
  padding: 0.8rem;
  border-radius: 0.6rem;
  background: #fff1f1;
}

.saved-lead-delete-confirmation p {
  margin-bottom: 0.65rem;
  color: #7f2828;
}

.lead-workspace-unavailable {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.lead-workspace-unavailable h1 {
  margin-bottom: 0.7rem;
}

@media (max-width: 760px) {
  .lead-progress,
  .lead-entry-heading,
  .saved-leads-heading {
    flex-direction: column;
  }

  .lead-entry-form,
  .saved-lead-list {
    grid-template-columns: 1fr;
  }

  .lead-field--wide {
    grid-column: auto;
  }

  .lead-form-actions .lead-secondary-action {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .lead-workspace-header-bar,
  .saved-lead-card__heading,
  .saved-lead-details div {
    align-items: flex-start;
    flex-direction: column;
  }

  .saved-lead-details dd {
    text-align: left;
  }

  .lead-form-actions button,
  .saved-lead-actions button {
    width: 100%;
  }
}

@media (max-width: 850px) {
  .execution-program-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .execution-program-selector {
    min-width: 0;
  }

  .execution-layout {
    grid-template-columns: 1fr;
  }

  .achievement-panel__heading {
    flex-direction: column;
  }

  .achievement-summary {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .execution-program-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .execution-day-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .execution-day-controls .resource-control {
    width: 100%;
  }

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

.execution-outreach-workspace-link {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #b9cbe0;
  border-radius: 0.75rem;
  background: #f4f7fa;
}

.execution-outreach-workspace-link h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.execution-outreach-workspace-link p {
  margin-bottom: 0.7rem;
  color: #475569;
}

.execution-outreach-workspace-link a,
.saved-lead-actions a {
  font-weight: 750;
}

.saved-lead-actions {
  align-items: center;
}

.saved-lead-outreach-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.saved-lead-delete-confirmation p + p {
  margin-top: -0.25rem;
  padding: 0.65rem;
  border-radius: 0.45rem;
  background: #fff8e7;
  color: #66521a;
}

.outreach-workspace-page {
  min-height: 100vh;
  background: #f5f7f8;
  color: #172033;
}

.outreach-header {
  border-bottom: 1px solid #dbe3ec;
  background: #ffffff;
}

.outreach-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.outreach-header-bar > div {
  display: flex;
  gap: 1rem;
}

.outreach-header-bar > div a {
  font-weight: 700;
}

.outreach-header-copy {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.outreach-header-copy h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.outreach-header-copy > p:not(.eyebrow):not(.outreach-preview-notice) {
  max-width: 760px;
  color: #475569;
}

.outreach-preview-notice {
  max-width: 900px;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid #315b86;
  background: #f1f5f9;
  color: #334155;
}

.outreach-workspace-main {
  padding: 2rem 0 4rem;
}

.outreach-privacy-notice,
.outreach-storage-warning,
.outreach-context-warning {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e3d39c;
  border-radius: 0.75rem;
  background: #fffaf0;
  color: #5b4b20;
}

.outreach-storage-warning {
  border-color: #e5b3b3;
  background: #fff5f5;
  color: #8b2525;
}

.outreach-lead-selection,
.outreach-lead-context,
.outreach-composer,
.outreach-sent-panel,
.outreach-records,
.unlinked-outreach-records {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.outreach-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.outreach-section-heading h2,
.outreach-sent-panel h2 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.outreach-section-heading > span,
.outreach-composer .outreach-section-heading > span {
  flex: 0 0 auto;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #eef2f6;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.outreach-label {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52657a;
}

.outreach-empty-state {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px dashed #c6d0dc;
  border-radius: 0.7rem;
  color: #526172;
}

.outreach-empty-state p {
  margin-bottom: 0.65rem;
}

.outreach-empty-state p:last-child {
  margin-bottom: 0;
}

.outreach-eligible-list,
.outreach-record-list,
.unlinked-outreach-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.outreach-eligible-card,
.outreach-record-card,
.unlinked-outreach-card {
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
  background: #fafcfd;
}

.outreach-eligible-card > div:first-child,
.outreach-record-card > div,
.unlinked-outreach-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.outreach-eligible-card h3,
.outreach-record-card h3,
.unlinked-outreach-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.outreach-eligible-card > div:first-child p,
.outreach-record-card span,
.unlinked-outreach-card__heading span {
  margin-bottom: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.outreach-eligible-card > p {
  margin: 0.8rem 0;
  color: #475569;
}

.outreach-eligible-card > a {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.outreach-eligible-card button,
.outreach-record-card button,
.unlinked-outreach-card button,
.outreach-composer-actions button,
.outreach-sent-panel button,
.outreach-send-confirmation button,
.outreach-confirmation button {
  border: 1px solid #9baabd;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #25354a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.outreach-lead-context .outreach-section-heading > a {
  font-weight: 750;
}

.outreach-context-warning {
  margin-top: 1rem;
}

.outreach-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 0;
}

.outreach-context-grid > div {
  padding: 0.85rem;
  border-radius: 0.65rem;
  background: #f6f8fa;
}

.outreach-context-grid > div:nth-child(4),
.outreach-context-grid > div:nth-child(5) {
  grid-column: 1 / -1;
}

.outreach-context-grid dt {
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #5f6f82;
  text-transform: uppercase;
}

.outreach-context-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #334155;
}

.outreach-context-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.outreach-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
}

.outreach-field label {
  font-size: 0.9rem;
  font-weight: 750;
}

.outreach-field select,
.outreach-field textarea {
  width: 100%;
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.72rem 0.8rem;
  background: #ffffff;
  color: #172033;
  font: inherit;
}

.outreach-field textarea {
  resize: vertical;
}

.outreach-field select:focus,
.outreach-field textarea:focus {
  outline: 3px solid rgba(49, 91, 134, 0.16);
  border-color: #315b86;
}

.outreach-field [aria-invalid='true'] {
  border-color: #b54545;
}

.outreach-field small {
  color: #64748b;
}

.outreach-field-error {
  margin: 0;
  font-size: 0.85rem;
  color: #a33131;
}

.outreach-review-guidance {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.outreach-review-guidance h3 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.outreach-review-guidance ul {
  margin: 0;
  padding-left: 1.3rem;
  color: #475569;
}

.outreach-review-guidance li + li {
  margin-top: 0.35rem;
}

.outreach-composer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.outreach-composer-actions a {
  padding: 0.65rem 0.9rem;
  font-weight: 750;
}

.outreach-composer-actions .outreach-primary-action {
  border-color: #244c76;
  background: #244c76;
  color: #ffffff;
}

.outreach-composer-actions .outreach-cancel-button {
  margin-left: auto;
}

.outreach-send-confirmation {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid #d7c890;
  border-radius: 0.7rem;
  background: #fffaf0;
}

.outreach-send-confirmation > p {
  color: #795d18;
}

.outreach-send-confirmation label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #4f4529;
}

.outreach-send-confirmation input {
  margin-top: 0.25rem;
}

.outreach-send-confirmation button {
  margin-top: 0.85rem;
}

.outreach-send-confirmation button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.outreach-workspace-message {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: #eef2f6;
  color: #334155;
}

.outreach-workspace-message.is-success {
  background: #edf7f0;
  color: #24553a;
}

.outreach-workspace-message.is-error {
  background: #fff0f0;
  color: #8b2525;
}

.outreach-sent-panel > dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.outreach-sent-panel > dl div {
  padding: 0.8rem;
  border-radius: 0.6rem;
  background: #f4f7fa;
}

.outreach-sent-panel dt {
  margin-bottom: 0.25rem;
  color: #64748b;
}

.outreach-sent-panel dd {
  margin: 0;
  font-weight: 700;
}

.outreach-sent-message,
.unlinked-outreach-message {
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #fafcfd;
}

.outreach-sent-message h3 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.outreach-sent-message p,
.unlinked-outreach-message p {
  margin-bottom: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.outreach-sent-panel > p {
  margin-top: 0.85rem;
  color: #64748b;
}

.outreach-sent-panel .outreach-cancel-button {
  margin-left: 0.65rem;
}

.outreach-confirmation {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border-radius: 0.65rem;
  background: #fff1f1;
}

.outreach-confirmation p {
  margin-bottom: 0.65rem;
  color: #7f2828;
}

.outreach-confirmation > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.outreach-record-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.outreach-record-card > div {
  display: block;
}

.outreach-record-card span {
  display: block;
}

.unlinked-outreach-records > p {
  color: #64748b;
}

.unlinked-outreach-card > p {
  margin: 0.75rem 0;
  color: #475569;
}

.unlinked-outreach-message {
  margin-bottom: 0.85rem;
}

.outreach-unavailable {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.outreach-unavailable h1 {
  margin-bottom: 0.7rem;
}

@media (max-width: 760px) {
  .outreach-section-heading,
  .outreach-context-grid,
  .outreach-eligible-list,
  .outreach-record-list,
  .unlinked-outreach-list,
  .outreach-sent-panel > dl {
    grid-template-columns: 1fr;
  }

  .outreach-section-heading {
    flex-direction: column;
  }

  .outreach-context-grid > div:nth-child(4),
  .outreach-context-grid > div:nth-child(5) {
    grid-column: auto;
  }

  .outreach-composer-actions .outreach-cancel-button {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .outreach-header-bar,
  .outreach-header-bar > div,
  .outreach-record-card,
  .outreach-eligible-card > div:first-child,
  .unlinked-outreach-card__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .outreach-composer-actions button,
  .outreach-composer-actions a,
  .outreach-record-card button {
    width: 100%;
    text-align: center;
  }

  .outreach-sent-panel .outreach-cancel-button {
    margin: 0.65rem 0 0;
  }
}

.execution-pipeline-workspace-link {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #b9cbe0;
  border-radius: 0.75rem;
  background: #f4f7fa;
}

.execution-pipeline-workspace-link h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.execution-pipeline-workspace-link p {
  margin-bottom: 0.7rem;
  color: #475569;
}

.execution-pipeline-workspace-link a,
.outreach-pipeline-link {
  font-weight: 750;
}

.outreach-pipeline-link {
  display: inline-block;
  margin-left: 0.65rem;
  padding: 0.65rem 0.2rem;
}

.outreach-contact-blocked-warning {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid #dfaaaa;
  border-radius: 0.65rem;
  background: #fff1f1;
  color: #842c2c;
}

.outreach-composer-actions button:disabled,
.outreach-send-confirmation button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.pipeline-workspace-page {
  min-height: 100vh;
  background: #f5f7f8;
  color: #172033;
}

.pipeline-header {
  border-bottom: 1px solid #dbe3ec;
  background: #ffffff;
}

.pipeline-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pipeline-header-bar > div {
  display: flex;
  gap: 1rem;
}

.pipeline-header-bar > div a {
  font-weight: 700;
}

.pipeline-header-copy {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pipeline-header-copy h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.pipeline-header-copy > p:not(.eyebrow):not(.pipeline-preview-notice) {
  max-width: 760px;
  color: #475569;
}

.pipeline-preview-notice {
  max-width: 900px;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid #315b86;
  background: #f1f5f9;
  color: #334155;
}

.pipeline-workspace-main {
  padding: 2rem 0 4rem;
}

.pipeline-privacy-notice,
.pipeline-storage-warning {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e3d39c;
  border-radius: 0.75rem;
  background: #fffaf0;
  color: #5b4b20;
}

.pipeline-storage-warning {
  border-color: #e5b3b3;
  background: #fff5f5;
  color: #8b2525;
}

.pipeline-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.pipeline-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #ffffff;
}

.pipeline-summary span {
  color: #526172;
}

.pipeline-summary strong {
  font-size: 1.15rem;
}

.pipeline-prospects,
.pipeline-editor,
.pipeline-unlinked {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.pipeline-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pipeline-section-heading h2 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.pipeline-section-heading > span {
  flex: 0 0 auto;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #eef2f6;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.pipeline-label {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52657a;
}

.pipeline-empty-state {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px dashed #c6d0dc;
  border-radius: 0.7rem;
  color: #526172;
}

.pipeline-empty-state p {
  margin-bottom: 0.65rem;
}

.pipeline-prospect-list,
.pipeline-unlinked-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.pipeline-prospect-card,
.pipeline-unlinked-card {
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
  background: #fafcfd;
}

.pipeline-prospect-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pipeline-prospect-heading h3,
.pipeline-unlinked-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.pipeline-prospect-heading p {
  margin-bottom: 0;
  color: #64748b;
}

.pipeline-prospect-heading > span {
  max-width: 190px;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 750;
  color: #475569;
}

.pipeline-prospect-card dl {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

.pipeline-prospect-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.pipeline-prospect-card dt {
  color: #64748b;
}

.pipeline-prospect-card dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.pipeline-due {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: #eef2f6;
  font-size: 0.72rem;
  color: #475569;
}

.pipeline-due.is-overdue {
  background: #fff0f0;
  color: #8b2525;
}

.pipeline-due.is-due-today {
  background: #fff7df;
  color: #6c5114;
}

.pipeline-prospect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.pipeline-prospect-card button,
.pipeline-section-heading button,
.pipeline-save-button,
.pipeline-follow-up-panel button,
.pipeline-unlinked-card button,
.pipeline-delete-confirmation button {
  border: 1px solid #9baabd;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #25354a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.pipeline-current-stage {
  margin: 1rem 0 0;
  color: #475569;
}

.pipeline-editor-notice,
.pipeline-no-contact-warning,
.pipeline-correction-note {
  margin: 1rem 0 0;
  padding: 0.8rem 0.9rem;
  border-radius: 0.65rem;
  background: #f1f5f9;
  color: #475569;
}

.pipeline-no-contact-warning {
  border: 1px solid #dfaaaa;
  background: #fff1f1;
  color: #842c2c;
}

.pipeline-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.pipeline-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pipeline-field--wide {
  grid-column: 1 / -1;
}

.pipeline-field label {
  font-size: 0.9rem;
  font-weight: 750;
}

.pipeline-field select,
.pipeline-field input,
.pipeline-field textarea {
  width: 100%;
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.72rem 0.8rem;
  background: #ffffff;
  color: #172033;
  font: inherit;
}

.pipeline-field textarea {
  resize: vertical;
}

.pipeline-field select:disabled,
.pipeline-field input:disabled,
.pipeline-field textarea:disabled {
  cursor: not-allowed;
  background: #eef2f6;
  color: #748194;
}

.pipeline-field small {
  color: #64748b;
}

.pipeline-confirmation-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: 0.65rem;
  background: #fffaf0;
  color: #4f4529;
}

.pipeline-confirmation-check input {
  margin-top: 0.25rem;
}

.pipeline-response-guidance {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.65rem;
  background: #f4f7fa;
  color: #475569;
}

.pipeline-response-guidance p {
  margin-bottom: 0;
}

.pipeline-save-button {
  margin-top: 1rem;
  border-color: #244c76;
  background: #244c76;
  color: #ffffff;
}

.pipeline-follow-up-panel,
.pipeline-follow-up-history {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #fafcfd;
}

.pipeline-follow-up-panel h3,
.pipeline-follow-up-history h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.pipeline-follow-up-panel .pipeline-confirmation-check {
  margin-top: 0.8rem;
}

.pipeline-follow-up-panel button {
  margin-top: 0.8rem;
}

.pipeline-follow-up-panel button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.pipeline-follow-up-history ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #475569;
}

.pipeline-follow-up-history li + li {
  margin-top: 0.4rem;
}

.pipeline-message {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: #eef2f6;
  color: #334155;
}

.pipeline-message.is-success {
  background: #edf7f0;
  color: #24553a;
}

.pipeline-message.is-error {
  background: #fff0f0;
  color: #8b2525;
}

.pipeline-unlinked > p,
.pipeline-unlinked-card > p {
  color: #526172;
}

.pipeline-unlinked-card ul {
  margin: 0.6rem 0 0.9rem;
  padding-left: 1.25rem;
  color: #475569;
}

.pipeline-delete-confirmation {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-radius: 0.65rem;
  background: #fff1f1;
}

.pipeline-delete-confirmation p {
  margin-bottom: 0.65rem;
  color: #7f2828;
}

.pipeline-delete-confirmation > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pipeline-unavailable {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.pipeline-unavailable h1 {
  margin-bottom: 0.7rem;
}

@media (max-width: 820px) {
  .pipeline-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline-prospect-list,
  .pipeline-unlinked-list,
  .pipeline-editor-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-field--wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .pipeline-header-bar,
  .pipeline-header-bar > div,
  .pipeline-section-heading,
  .pipeline-prospect-heading,
  .pipeline-prospect-card dl div {
    align-items: flex-start;
    flex-direction: column;
  }

  .pipeline-summary {
    grid-template-columns: 1fr;
  }

  .pipeline-prospect-heading > span,
  .pipeline-prospect-card dd {
    text-align: left;
  }

  .pipeline-prospect-card button,
  .pipeline-save-button,
  .pipeline-follow-up-panel button {
    width: 100%;
  }

  .outreach-pipeline-link {
    display: block;
    margin: 0.65rem 0 0;
  }
}

.execution-proposal-workspace-link,
.pipeline-proposal-link {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #b9cbe0;
  border-radius: 0.75rem;
  background: #f4f7fa;
}

.execution-proposal-workspace-link h3,
.pipeline-proposal-link h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.execution-proposal-workspace-link p,
.pipeline-proposal-link p {
  margin-bottom: 0.7rem;
  color: #475569;
}

.execution-proposal-workspace-link a,
.pipeline-proposal-link a {
  font-weight: 750;
}

.proposal-workspace-page {
  min-height: 100vh;
  background: #f5f7f8;
  color: #172033;
}

.proposal-header {
  border-bottom: 1px solid #dbe3ec;
  background: #ffffff;
}

.proposal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.proposal-header-bar > div {
  display: flex;
  gap: 1rem;
}

.proposal-header-bar > div a {
  font-weight: 700;
}

.proposal-header-copy {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.proposal-header-copy h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.proposal-header-copy > p:not(.eyebrow):not(.proposal-preview-notice) {
  max-width: 760px;
  color: #475569;
}

.proposal-preview-notice {
  max-width: 900px;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid #315b86;
  background: #f1f5f9;
  color: #334155;
}

.proposal-workspace-main {
  padding: 2rem 0 4rem;
}

.proposal-privacy-notice,
.proposal-storage-warning {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e3d39c;
  border-radius: 0.75rem;
  background: #fffaf0;
  color: #5b4b20;
}

.proposal-storage-warning {
  border-color: #e5b3b3;
  background: #fff5f5;
  color: #8b2525;
}

.proposal-selection,
.proposal-context,
.proposal-builder,
.proposal-shared-panel,
.proposal-read-only,
.proposal-records,
.proposal-unlinked {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.proposal-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.proposal-section-heading h2,
.proposal-shared-panel h2,
.proposal-read-only h2 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.proposal-section-heading > span {
  flex: 0 0 auto;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #eef2f6;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.proposal-label {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52657a;
}

.proposal-empty-state {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px dashed #c6d0dc;
  border-radius: 0.7rem;
  color: #526172;
}

.proposal-empty-state p {
  margin-bottom: 0.65rem;
}

.proposal-eligible-list,
.proposal-record-list,
.proposal-unlinked-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.proposal-eligible-card,
.proposal-record-card,
.proposal-unlinked-card {
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
  background: #fafcfd;
}

.proposal-eligible-card > div,
.proposal-record-card > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.proposal-eligible-card h3,
.proposal-record-card h3,
.proposal-unlinked-card h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.proposal-eligible-card span,
.proposal-record-card span {
  font-size: 0.8rem;
  color: #64748b;
}

.proposal-eligible-card > p,
.proposal-record-card > p,
.proposal-unlinked-card > p {
  color: #526172;
}

.proposal-eligible-card button,
.proposal-record-card button,
.proposal-unlinked-card button,
.proposal-section-heading button,
.proposal-actions button,
.proposal-sharing-confirmation button,
.proposal-shared-panel button,
.proposal-confirmation button {
  border: 1px solid #9baabd;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #25354a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.proposal-context dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0 0;
}

.proposal-context dl > div {
  padding: 0.8rem;
  border-radius: 0.65rem;
  background: #f5f7f9;
}

.proposal-context dl > div:nth-child(3) {
  grid-column: 1 / -1;
}

.proposal-context dt {
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
}

.proposal-context dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #334155;
}

.proposal-context > p {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.proposal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.proposal-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.proposal-field--wide {
  grid-column: 1 / -1;
}

.proposal-field label {
  font-size: 0.9rem;
  font-weight: 750;
}

.proposal-field input,
.proposal-field select,
.proposal-field textarea {
  width: 100%;
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.72rem 0.8rem;
  background: #ffffff;
  color: #172033;
  font: inherit;
}

.proposal-field textarea {
  resize: vertical;
}

.proposal-field input:focus,
.proposal-field select:focus,
.proposal-field textarea:focus {
  outline: 3px solid rgba(49, 91, 134, 0.16);
  border-color: #315b86;
}

.proposal-field > p {
  margin: 0;
  font-size: 0.85rem;
  color: #a33131;
}

.proposal-acknowledgement,
.proposal-sharing-confirmation label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.9rem;
  border-radius: 0.65rem;
  background: #fffaf0;
  color: #4f4529;
}

.proposal-acknowledgement input,
.proposal-sharing-confirmation input {
  margin-top: 0.25rem;
}

.proposal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.proposal-actions .proposal-primary-action {
  border-color: #244c76;
  background: #244c76;
  color: #ffffff;
}

.proposal-sharing-confirmation {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #d7c890;
  border-radius: 0.7rem;
  background: #fffaf0;
}

.proposal-sharing-confirmation label {
  margin-top: 0;
  padding: 0;
}

.proposal-sharing-confirmation button {
  margin-top: 0.85rem;
}

.proposal-sharing-confirmation button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.proposal-preview,
.proposal-shared-panel pre,
.proposal-read-only pre,
.proposal-unlinked-card pre {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f8fafc;
}

.proposal-preview h3 {
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.proposal-preview pre,
.proposal-shared-panel pre,
.proposal-read-only pre,
.proposal-unlinked-card pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  color: #334155;
}

.proposal-preview > p,
.proposal-shared-panel > p,
.proposal-read-only > p {
  margin-top: 0.8rem;
  color: #64748b;
}

.proposal-confirmation {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border-radius: 0.65rem;
  background: #fff1f1;
}

.proposal-confirmation p {
  margin-bottom: 0.65rem;
  color: #7f2828;
}

.proposal-confirmation > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.proposal-message {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: #eef2f6;
  color: #334155;
}

.proposal-message.is-success {
  background: #edf7f0;
  color: #24553a;
}

.proposal-message.is-error {
  background: #fff0f0;
  color: #8b2525;
}

.proposal-unavailable {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.proposal-unavailable h1 {
  margin-bottom: 0.7rem;
}

@media (max-width: 780px) {
  .proposal-eligible-list,
  .proposal-record-list,
  .proposal-unlinked-list,
  .proposal-form-grid,
  .proposal-context dl {
    grid-template-columns: 1fr;
  }

  .proposal-field--wide,
  .proposal-context dl > div:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .proposal-header-bar,
  .proposal-header-bar > div,
  .proposal-section-heading,
  .proposal-eligible-card > div,
  .proposal-record-card > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .proposal-actions button,
  .proposal-record-card button,
  .proposal-eligible-card button {
    width: 100%;
  }
}

.landing-tester-preview {
  margin: 1rem 0 0;
  color: #475569;
}

.landing-tester-preview a {
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.tester-preview-page {
  min-height: 100vh;
  background: #f5f7f8;
  color: #172033;
}

.tester-preview-header {
  border-bottom: 1px solid #dbe3ec;
  background: #ffffff;
}

.tester-preview-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.tester-preview-header-bar > a:last-child {
  font-weight: 700;
}

.tester-preview-main {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.tester-preview-main h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.tester-preview-intro {
  max-width: 780px;
  color: #475569;
}

.tester-preview-notice,
.tester-preview-caution {
  padding: 0.9rem 1rem;
  border-left: 3px solid #315b86;
  background: #f1f5f9;
  color: #334155;
}

.tester-preview-notice {
  max-width: 900px;
  margin-top: 1.3rem;
}

.tester-preview-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.tester-preview-section h2 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
}

.tester-preview-section > p {
  color: #526172;
}

.tester-preview-workspaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.tester-preview-card {
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
  background: #fafcfd;
}

.tester-preview-card:has(.tester-preview-recommended) {
  border-color: #7897b7;
  background: #f2f7fb;
}

.tester-preview-recommended {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #315b86;
}

.tester-preview-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.tester-preview-card p {
  color: #526172;
}

.tester-preview-card a {
  font-weight: 750;
}

.tester-preview-steps,
.tester-preview-feedback-list {
  padding-left: 1.35rem;
  color: #475569;
}

.tester-preview-steps li + li,
.tester-preview-feedback-list li + li {
  margin-top: 0.45rem;
}

.tester-preview-section > .tester-preview-caution {
  margin-top: 1rem;
  color: #334155;
}

@media (max-width: 700px) {
  .tester-preview-workspaces {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .tester-preview-header-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}

.tester-preview-journey {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #9bb5d0;
  border-radius: 1rem;
  background: #eef5fb;
}

.tester-preview-journey h2 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.tester-preview-journey p:not(.eyebrow) {
  color: #475569;
}

.tester-preview-journey a {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 0.55rem;
  background: #244c76;
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.journey-page {
  min-height: 100vh;
  background: #f5f7f8;
  color: #172033;
}

.journey-header {
  border-bottom: 1px solid #dbe3ec;
  background: #ffffff;
}

.journey-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.journey-header-bar > a:last-child {
  font-weight: 700;
}

.journey-header-copy {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.journey-header-copy h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.journey-header-copy > p:not(.eyebrow) {
  max-width: 850px;
  color: #475569;
}

.journey-header-copy .journey-privacy {
  margin-top: 1.2rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid #315b86;
  background: #f1f5f9;
  color: #334155;
}

.journey-main {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.journey-next-step,
.journey-workspace,
.journey-calendar {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.journey-next-step {
  border-color: #9bb5d0;
  background: #f2f7fb;
}

.journey-next-step h2,
.journey-calendar h2 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.journey-next-step p,
.journey-calendar > p {
  color: #475569;
}

.journey-next-step a {
  font-weight: 750;
}

.journey-workspace-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.journey-workspace-heading h2 {
  margin-bottom: 0.4rem;
  font-size: 1.55rem;
}

.journey-status {
  flex: 0 0 auto;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: #eef2f6;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 750;
}

.journey-objective,
.journey-progress-count {
  color: #475569;
}

.journey-progress-count {
  font-weight: 700;
}

.journey-field-group {
  margin: 1.25rem 0 0;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
}

.journey-field-group legend {
  padding: 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.journey-field-group > p {
  margin-top: 0;
  color: #64748b;
}

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

.journey-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.journey-field label {
  font-weight: 750;
}

.journey-field input,
.journey-field textarea {
  width: 100%;
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.72rem 0.8rem;
  background: #ffffff;
  color: #172033;
  font: inherit;
}

.journey-field textarea {
  resize: vertical;
}

.journey-field [aria-invalid='true'] {
  border-color: #a33131;
}

.journey-field small {
  color: #64748b;
}

.journey-field-error {
  margin: 0;
  color: #a33131;
  font-size: 0.88rem;
}

.journey-optional {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.75rem;
}

.journey-optional summary,
.journey-calendar summary {
  cursor: pointer;
  font-weight: 800;
}

.journey-optional[open] summary,
.journey-calendar[open] summary {
  margin-bottom: 1rem;
}

.journey-review-clarification {
  color: #475569;
}

.journey-result,
.journey-ai-help {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.journey-result h3,
.journey-ai-help h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.journey-result p,
.journey-ai-help p {
  margin-bottom: 0.55rem;
  overflow-wrap: anywhere;
  color: #475569;
}

.journey-ai-help small {
  display: block;
  margin-top: 0.5rem;
  color: #64748b;
}

.journey-manual-prompt {
  margin-top: 1rem;
}

.journey-manual-prompt label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 750;
}

.journey-manual-prompt textarea {
  width: 100%;
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.75rem;
  background: #ffffff;
  color: #172033;
  font: inherit;
  resize: vertical;
}

.journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.journey-actions button,
.journey-ai-help button {
  border: 1px solid #9baabd;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #25354a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.journey-actions .journey-primary-action {
  border-color: #244c76;
  background: #244c76;
  color: #ffffff;
}

.journey-actions button:disabled,
.journey-ai-help button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.journey-message {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: #eef2f6;
  color: #334155;
}

.journey-message.is-success {
  background: #edf7f0;
  color: #24553a;
}

.journey-message.is-error {
  background: #fff0f0;
  color: #8b2525;
}

.journey-phase {
  margin-top: 1.4rem;
}

.journey-phase h3 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.journey-day-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.journey-day {
  padding: 0.8rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.65rem;
  background: #f8fafc;
}

.journey-day.is-available {
  border-color: #9bb5d0;
  background: #f2f7fb;
}

.journey-day strong,
.journey-day span {
  display: block;
}

.journey-day span {
  margin-top: 0.3rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.journey-day p {
  margin: 0.45rem 0 0;
  color: #64748b;
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .journey-fields,
  .journey-day-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .journey-header-bar,
  .journey-workspace-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .journey-actions button {
    width: 100%;
  }
}

.buyer-context,
.buyer-workspace {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.buyer-context h2,
.buyer-workspace h2 {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.buyer-context dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0;
}

.buyer-context dl > div {
  min-width: 0;
  padding: 0.75rem;
  border-radius: 0.6rem;
  background: #f4f7fa;
}

.buyer-context dt {
  margin-bottom: 0.25rem;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 750;
}

.buyer-context dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.buyer-context p,
.buyer-workspace > p {
  color: #475569;
}

.buyer-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.buyer-fields .journey-field {
  min-width: 0;
}

@media (max-width: 760px) {
  .buyer-context dl,
  .buyer-fields {
    grid-template-columns: 1fr;
  }
}

.review-guidance {
  color: #475569;
}

.review-day {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.review-day-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.review-day h2 {
  margin-bottom: 0.5rem;
  font-size: 1.45rem;
}

.review-day > p {
  color: #475569;
}

.review-day > h3 {
  margin-top: 1.35rem;
  font-size: 1.1rem;
}

.review-missing {
  padding: 0.8rem 1rem;
  border-radius: 0.65rem;
  background: #f4f7fa;
}

.review-missing h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.review-missing ul {
  margin: 0;
  padding-left: 1.2rem;
}

.review-missing li {
  margin-top: 0.25rem;
}

.review-saved-answers {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.65rem;
}

.review-saved-answers summary {
  cursor: pointer;
  font-weight: 750;
}

.review-saved-answers dl {
  margin: 0.8rem 0 0;
}

.review-saved-answers dl > div {
  margin-top: 0.55rem;
}

.review-saved-answers dt {
  font-weight: 750;
}

.review-saved-answers dd {
  margin: 0.15rem 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.review-criteria {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.review-criteria article {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.65rem;
  background: #f8fafc;
}

.review-criteria h4 {
  margin: 0 0 0.4rem;
}

.review-criteria p {
  margin: 0.4rem 0;
  color: #475569;
}

.review-copy {
  margin-top: 1.2rem;
}

.review-copy button {
  border: 1px solid #244c76;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: #244c76;
  color: #ffffff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

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

@media (max-width: 520px) {
  .review-day-heading {
    flex-direction: column;
  }
}

.cloud-section {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.cloud-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}

.cloud-section p,
.cloud-section li {
  color: #475569;
}

.cloud-section-heading,
.cloud-inline,
.cloud-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.cloud-section-heading {
  justify-content: space-between;
}

.cloud-section button {
  border: 1px solid #9baabd;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #25354a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.cloud-section button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cloud-sign-in {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.cloud-sign-in label {
  font-weight: 750;
}

.cloud-sign-in input {
  width: min(100%, 26rem);
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.cloud-work-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.cloud-work-list article {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.65rem;
  background: #f8fafc;
  overflow-wrap: anywhere;
}

.cloud-work-list h3 {
  margin: 0 0 0.5rem;
}

.cloud-upload-preview {
  margin-top: 1rem;
}

.cloud-upload-preview pre {
  max-height: 24rem;
  overflow: auto;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.65rem;
  background: #f8fafc;
  color: #172033;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .cloud-work-list {
    grid-template-columns: 1fr;
  }
}

.practice-page .journey-main {
  padding-bottom: 8rem;
}

.practice-context,
.practice-workspace {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.practice-context h2,
.practice-workspace h2 {
  margin: 0 0 0.7rem;
  font-size: 1.4rem;
}

.practice-context p,
.practice-workspace > p {
  color: #475569;
}

.practice-context dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.8rem 0 1rem;
}

.practice-context dl > div {
  min-width: 0;
  padding: 0.7rem;
  border-radius: 0.6rem;
  background: #f4f7fa;
}

.practice-context dt {
  margin-bottom: 0.25rem;
  color: #475569;
  font-weight: 750;
}

.practice-context dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.practice-save-status {
  margin-top: 0.5rem;
  font-weight: 700;
}

.practice-assignment {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dbe3ec;
}

.practice-assignment h3 {
  margin: 0 0 0.5rem;
  font-size: 1.13rem;
}

.practice-assignment > p {
  margin: 0.5rem 0;
  color: #475569;
}

.practice-assignment .journey-field {
  margin-top: 0.8rem;
}

.practice-hint,
.practice-structure {
  overflow-wrap: anywhere;
}

.practice-structure {
  padding: 0.7rem 0.85rem;
  border-radius: 0.6rem;
  background: #f4f7fa;
}

.practice-customer-question {
  font-weight: 750;
}

.practice-reflection p {
  color: #475569;
}

.practice-check {
  margin-top: 1.3rem;
}

.practice-check button,
.ai-guidance-panel button,
.ai-guidance-actions a {
  border: 1px solid #244c76;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: #244c76;
  color: #ffffff;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.practice-check p {
  color: #475569;
}

.practice-self-review {
  margin-top: 1.4rem;
  padding: 1rem;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.practice-self-review h3 {
  margin: 0;
  font-size: 1.05rem;
}

.practice-self-review ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.ai-guidance-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
}

.ai-guidance-trigger {
  border: 1px solid #244c76;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: #244c76;
  box-shadow: 0 0.35rem 1rem #17203330;
  color: #ffffff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.ai-guidance-compact {
  display: none;
}

.ai-guidance-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.5rem);
  width: min(22rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.75rem;
  border: 1px solid #bac6d3;
  border-radius: 0.65rem;
  background: #ffffff;
  box-shadow: 0 0.35rem 1rem #1720331a;
  color: #334155;
  font-size: 0.9rem;
  visibility: hidden;
}

.ai-guidance-trigger:hover + .ai-guidance-tooltip,
.ai-guidance-trigger:focus-visible + .ai-guidance-tooltip {
  visibility: visible;
}

.ai-guidance-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.5rem);
  z-index: 2;
  width: min(25rem, calc(100vw - 2rem));
  max-height: min(70vh, 36rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid #bac6d3;
  border-radius: 0.8rem;
  background: #ffffff;
  box-shadow: 0 0.6rem 1.6rem #17203333;
  color: #172033;
}

.ai-guidance-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.ai-guidance-panel p {
  color: #475569;
}

.ai-guidance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.ai-guidance-panel label {
  display: block;
  margin: 0.7rem 0 0.35rem;
  font-weight: 750;
}

.ai-guidance-panel textarea {
  width: 100%;
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.7rem;
  font: inherit;
  resize: vertical;
}

@media (max-width: 760px) {
  .practice-context dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ai-guidance-float {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .ai-guidance-wide {
    display: none;
  }
  .ai-guidance-compact {
    display: inline;
  }
}

.identity-page .journey-main {
  padding-bottom: 8rem;
}

.identity-context,
.identity-workspace {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe3ec;
  border-radius: 1rem;
  background: #ffffff;
}

.identity-context h2,
.identity-workspace h2 {
  margin: 0 0 0.7rem;
  font-size: 1.4rem;
}

.identity-context p,
.identity-task p,
.identity-publishing p {
  color: #475569;
}

.identity-context dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.8rem 0 1rem;
}

.identity-context dl > div {
  min-width: 0;
  padding: 0.7rem;
  border-radius: 0.6rem;
  background: #f4f7fa;
}

.identity-context dt {
  margin-bottom: 0.25rem;
  color: #475569;
  font-weight: 750;
}

.identity-context dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.identity-task {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dbe3ec;
}

.identity-task h3 {
  margin: 0 0 0.5rem;
  font-size: 1.13rem;
}

.identity-task .journey-field,
.identity-publishing .journey-field {
  margin-top: 0.9rem;
}

.identity-publishing select {
  width: 100%;
  border: 1px solid #bac6d3;
  border-radius: 0.55rem;
  padding: 0.72rem 0.8rem;
  background: #ffffff;
  color: #172033;
  font: inherit;
}

.identity-publishing select[aria-invalid='true'] {
  border-color: #a33131;
}

.identity-preview {
  margin-top: 1.3rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.identity-preview h3 {
  margin: 0.35rem 0 0.7rem;
  font-size: 1.2rem;
}

.identity-preview p {
  margin: 0.5rem 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.identity-reminder,
.identity-status-note {
  font-weight: 700;
  color: #475569;
}

.identity-status-note {
  margin-top: 1rem;
}

@media (max-width: 760px) {
  .identity-context dl {
    grid-template-columns: 1fr;
  }
}

.presence-page .journey-main {
  max-width: 900px;
}

.presence-context,
.presence-workspace {
  margin: 1.25rem 0;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid #dbe3ec;
  border-radius: 0.8rem;
  background: #fff;
}

.presence-context dl,
.presence-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}

.presence-context dl > div,
.presence-summary dl > div {
  min-width: 0;
  padding: 0.7rem;
  border-radius: 0.5rem;
  background: #f5f7fa;
}

.presence-context dt,
.presence-summary dt {
  font-weight: 700;
  color: #334155;
}

.presence-context dd,
.presence-summary dd {
  margin: 0.3rem 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.presence-task {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
}

.presence-task .journey-field,
.presence-optional .journey-field {
  margin-top: 1rem;
}

.presence-task select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #94a3b8;
  border-radius: 0.45rem;
  background: #fff;
  color: #1e293b;
}

.presence-task select[aria-invalid='true'] {
  border-color: #a33131;
}

.presence-summary,
.presence-quality {
  margin-top: 1.3rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.presence-summary h4 {
  margin: 0;
}

.presence-summary p,
.presence-quality p,
.presence-status-note {
  color: #475569;
}

.presence-quality ul {
  padding-left: 1.25rem;
}

.presence-quality li + li {
  margin-top: 0.35rem;
}

.presence-status-note {
  margin-top: 1rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .presence-context dl,
  .presence-summary dl {
    grid-template-columns: 1fr;
  }
}

.evidence-page .journey-main {
  max-width: 900px;
}

.evidence-context,
.evidence-workspace {
  margin: 1.25rem 0;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid #dbe3ec;
  border-radius: 0.8rem;
  background: #fff;
}

.evidence-context dl,
.evidence-brief dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}

.evidence-context dl > div,
.evidence-brief dl > div {
  min-width: 0;
  padding: 0.7rem;
  border-radius: 0.5rem;
  background: #f5f7fa;
}

.evidence-context dt,
.evidence-brief dt {
  font-weight: 700;
  color: #334155;
}

.evidence-context dd,
.evidence-brief dd {
  margin: 0.3rem 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.evidence-task {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
}

.evidence-task .journey-field {
  margin-top: 1rem;
}

.evidence-task select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #94a3b8;
  border-radius: 0.45rem;
  background: #fff;
  color: #1e293b;
}

.evidence-task select[aria-invalid='true'] {
  border-color: #a33131;
}

.evidence-source-note,
.evidence-brief,
.evidence-quality {
  margin-top: 1.3rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.evidence-source-note p,
.evidence-brief p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.evidence-brief h3 {
  margin-top: 0.2rem;
}

.evidence-quality ul {
  padding-left: 1.25rem;
}

.evidence-quality li + li {
  margin-top: 0.35rem;
}

.evidence-status-note {
  margin-top: 1rem;
  color: #475569;
  font-weight: 700;
}

@media (max-width: 760px) {
  .evidence-context dl,
  .evidence-brief dl {
    grid-template-columns: 1fr;
  }
}

.offer-page .journey-main {
  max-width: 900px;
}

.offer-context,
.offer-workspace {
  margin: 1.25rem 0;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid #dbe3ec;
  border-radius: 0.8rem;
  background: #fff;
}

.offer-context dl,
.offer-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}

.offer-context dl > div,
.offer-card dl > div {
  min-width: 0;
  padding: 0.7rem;
  border-radius: 0.5rem;
  background: #f5f7fa;
}

.offer-context dt,
.offer-card dt {
  font-weight: 700;
  color: #334155;
}

.offer-context dd,
.offer-card dd {
  margin: 0.3rem 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.offer-task {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
}

.offer-task .journey-field {
  margin-top: 1rem;
}

.offer-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card,
.offer-quality {
  margin-top: 1.3rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.offer-card h3 {
  margin-top: 0.2rem;
}

.offer-card p,
.offer-quality p {
  overflow-wrap: anywhere;
}

.offer-proof-warning {
  margin-top: 1rem;
  padding: 0.8rem;
  border-left: 3px solid #b45309;
  background: #fffbeb;
}

.offer-proof-warning p {
  margin: 0 0 0.6rem;
}

.offer-quality ul {
  padding-left: 1.25rem;
}

.offer-quality li + li {
  margin-top: 0.35rem;
}

.offer-status-note {
  margin-top: 1rem;
  color: #475569;
  font-weight: 700;
}

@media (max-width: 760px) {
  .offer-context dl,
  .offer-card dl,
  .offer-price-grid {
    grid-template-columns: 1fr;
  }
}

.prospect-page .journey-main {
  max-width: 940px;
}

.prospect-context,
.prospect-workspace {
  margin: 1.25rem 0;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid #dbe3ec;
  border-radius: 0.8rem;
  background: #fff;
}

.prospect-context dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}

.prospect-context dl > div {
  min-width: 0;
  padding: 0.7rem;
  border-radius: 0.5rem;
  background: #f5f7fa;
}

.prospect-context dt {
  font-weight: 700;
  color: #334155;
}

.prospect-context dd {
  margin: 0.3rem 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.prospect-context-warning {
  margin-top: 1rem;
  padding: 0.8rem;
  border-left: 3px solid #b45309;
  background: #fffbeb;
}

.prospect-context-warning p {
  margin: 0 0 0.6rem;
}

.prospect-task {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
}

.prospect-task .journey-field {
  margin-top: 1rem;
}

.prospect-entry {
  margin: 1.2rem 0;
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.7rem;
}

.prospect-entry legend {
  padding: 0 0.4rem;
  font-weight: 700;
}

.prospect-entry select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #94a3b8;
  border-radius: 0.45rem;
  background: #fff;
  color: #1e293b;
}

.prospect-entry select[aria-invalid='true'] {
  border-color: #a33131;
}

.prospect-shortlist {
  margin-top: 1.3rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.prospect-decision-group {
  margin-top: 1rem;
}

.prospect-decision-group article {
  margin: 0.7rem 0;
  padding: 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
}

.prospect-decision-group h5 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.prospect-decision-group article p {
  margin: 0.4rem 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.prospect-status-note {
  margin-top: 1rem;
  color: #475569;
  font-weight: 700;
}

@media (max-width: 760px) {
  .prospect-context dl {
    grid-template-columns: 1fr;
  }
}

.outreach-prep-page .journey-main {
  max-width: 900px;
}

.outreach-prep-workspace {
  margin: 1.25rem 0;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid #dbe3ec;
  border-radius: 0.8rem;
  background: #fff;
}

.outreach-prep-task,
.outreach-prep-context {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
}

.outreach-prep-task .journey-field,
.outreach-prep-optional .journey-field {
  margin-top: 1rem;
}

.outreach-prep-task select,
.outreach-prep-optional select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #94a3b8;
  border-radius: 0.45rem;
  background: #fff;
  color: #1e293b;
}

.outreach-prep-task select[aria-invalid='true'],
.outreach-prep-optional select[aria-invalid='true'] {
  border-color: #a33131;
}

.outreach-prep-prospect-card,
.outreach-prep-preview,
.outreach-prep-guidance {
  margin-top: 1.3rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.outreach-prep-prospect-card h4,
.outreach-prep-preview h3 {
  margin-top: 0;
}

.outreach-prep-prospect-card p,
.outreach-prep-preview p,
.outreach-prep-context p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.outreach-prep-warning {
  margin-top: 1rem;
  padding: 0.8rem;
  border-left: 3px solid #b45309;
  background: #fffbeb;
}

.outreach-prep-warning p {
  margin-top: 0;
}

.outreach-prep-message-preview {
  min-height: 4rem;
  padding: 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
}

.outreach-prep-guidance ul {
  padding-left: 1.25rem;
}

.outreach-prep-guidance li + li {
  margin-top: 0.35rem;
}

.outreach-prep-status-note {
  margin-top: 1rem;
  color: #475569;
  font-weight: 700;
}

.readiness-review-page .journey-main {
  max-width: 960px;
}

.readiness-workspace {
  margin: 1.25rem 0;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid #dbe3ec;
  border-radius: 0.8rem;
  background: #fff;
}

.readiness-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.readiness-overview > section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f8fafc;
}

.readiness-overview h3 {
  margin-top: 0;
}

.readiness-overview p,
.readiness-decision p,
.readiness-checks li {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.readiness-overview p {
  margin: 0.55rem 0;
}

.readiness-checks,
.readiness-decision,
.readiness-summary {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
}

.readiness-checks ul {
  padding-left: 1.25rem;
}

.readiness-checks li + li {
  margin-top: 0.6rem;
}

.readiness-decision fieldset {
  padding: 0;
  border: 0;
}

.readiness-decision legend {
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.readiness-decision-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.65rem 0;
  padding: 0.7rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.5rem;
  cursor: pointer;
}

.readiness-decision-option input {
  flex: none;
  margin-top: 0.3rem;
}

.readiness-decision .journey-field {
  margin-top: 1rem;
}

.readiness-summary {
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.readiness-summary pre {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font: inherit;
  line-height: 1.55;
}

.readiness-status-note {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.6rem;
  background: #f8fafc;
}

.readiness-status-note p {
  margin: 0.5rem 0;
}

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

.first-outreach-page .journey-main {
  max-width: 880px;
}

.first-outreach-workspace {
  margin: 1.25rem 0;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid #dbe3ec;
  border-radius: 0.8rem;
  background: #fff;
}

.first-outreach-task,
.first-outreach-next {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
}

.first-outreach-prospect,
.first-outreach-choice,
.first-outreach-recorded {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.7rem;
  background: #f4f7fa;
}

.first-outreach-prospect h4 {
  margin-top: 0;
}

.first-outreach-prospect p,
.first-outreach-task p,
.first-outreach-next p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.first-outreach-message {
  min-height: 4rem;
  padding: 1rem;
  border: 1px solid #dbe3ec;
  border-radius: 0.6rem;
  background: #f8fafc;
}

.first-outreach-warning {
  margin-top: 0.9rem;
  padding: 0.8rem;
  border-left: 3px solid #b45309;
  background: #fffbeb;
}

.first-outreach-note {
  color: #475569;
}

.first-outreach-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.first-outreach-options .is-selected {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.first-outreach-choice .journey-field {
  margin: 0.8rem 0;
}

.first-outreach-recorded {
  border-color: #86a98a;
  background: #f2f8f3;
}

.preview-day-navigation {
  background: #f8fafc;
  border-bottom: 1px solid #d9e1e8;
}

.preview-day-navigation-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem 1rem;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.preview-day-navigation-current {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  min-width: 0;
}

.preview-day-navigation-current span {
  flex: none;
  font-weight: 700;
}

.preview-day-navigation-current strong {
  overflow-wrap: anywhere;
}

.preview-day-navigation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  justify-content: flex-end;
}

.preview-day-navigation-links a {
  white-space: nowrap;
}

.preview-day-navigation-inner > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #475569;
  font-size: 0.85rem;
}

.tester-preview-day-directory {
  margin-top: 2rem;
}

.tester-preview-day-directory > p:not(.eyebrow) {
  max-width: 70ch;
}

.tester-preview-day-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.tester-preview-day-entry {
  padding: 1rem;
  border: 1px solid #d9e1e8;
  border-radius: 0.7rem;
  background: #fff;
}

.tester-preview-day-entry > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.tester-preview-day-number {
  font-weight: 700;
}

.tester-preview-day-entry h3 {
  margin: 0.45rem 0;
}

.tester-preview-day-entry p {
  margin: 0 0 0.7rem;
}

@media (max-width: 700px) {
  .preview-day-navigation-inner {
    grid-template-columns: 1fr;
  }

  .preview-day-navigation-links {
    justify-content: flex-start;
  }

  .tester-preview-day-list {
    grid-template-columns: 1fr;
  }
}

.outreach-learning-workspace {
  display: grid;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.outreach-learning-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #d9e1e8;
  border-radius: 0.8rem;
  background: #fff;
}

.outreach-learning-card h2 {
  margin-top: 0;
}

.outreach-learning-recap {
  display: grid;
  gap: 0.65rem;
}

.outreach-learning-recap > div {
  display: grid;
  grid-template-columns: minmax(125px, 0.32fr) minmax(0, 1fr);
  gap: 0.5rem;
  overflow-wrap: anywhere;
}

.outreach-learning-recap dt {
  font-weight: 700;
}

.outreach-learning-recap dd {
  margin: 0;
  white-space: pre-wrap;
}

.outreach-learning-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.outreach-learning-review {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  padding: 1rem;
  border: 1px solid #d9e1e8;
  border-radius: 0.55rem;
  background: #f8fafc;
  font: inherit;
}

@media (max-width: 600px) {
  .outreach-learning-recap > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

.buyer-definition-workspace {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.buyer-definition-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #d9e1e8;
  border-radius: 0.8rem;
  background: #fff;
}

.buyer-definition-card h2 {
  margin-top: 0;
}

.buyer-definition-summary {
  display: grid;
  gap: 0.6rem;
}

.buyer-definition-summary > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 0.55rem;
  overflow-wrap: anywhere;
}

.buyer-definition-summary dt {
  font-weight: 700;
}

.buyer-definition-summary dd {
  margin: 0;
  white-space: pre-wrap;
}

.buyer-definition-optional-context,
.buyer-definition-prospects li {
  margin-top: 0.9rem;
  padding: 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.55rem;
  background: #f8fafc;
}

.buyer-definition-optional-context h3,
.buyer-definition-prospects h3 {
  margin-top: 0;
}

.buyer-definition-prospects {
  padding-left: 1.4rem;
}

.buyer-definition-prospects p,
.buyer-definition-optional-context p {
  overflow-wrap: anywhere;
}

.buyer-definition-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.buyer-definition-review-output {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  padding: 1rem;
  border: 1px solid #d9e1e8;
  border-radius: 0.55rem;
  background: #f8fafc;
  font: inherit;
}

@media (max-width: 600px) {
  .buyer-definition-summary > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

.credibility-gap-workspace {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.credibility-gap-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #d9e1e8;
  border-radius: 0.8rem;
  background: #fff;
}

.credibility-gap-card h2 {
  margin-top: 0;
}

.credibility-gap-summary {
  display: grid;
  gap: 0.6rem;
}

.credibility-gap-summary > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 0.55rem;
  overflow-wrap: anywhere;
}

.credibility-gap-summary dt {
  font-weight: 700;
}

.credibility-gap-summary dd {
  margin: 0;
  white-space: pre-wrap;
}

.credibility-gap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.credibility-gap-review-output {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  padding: 1rem;
  border: 1px solid #d9e1e8;
  border-radius: 0.55rem;
  background: #f8fafc;
  font: inherit;
}

@media (max-width: 600px) {
  .credibility-gap-summary > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}
.acquisition-workspace {
  display: grid;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.acquisition-card {
  background: #fff;
  border: 1px solid #d9e0e5;
  border-radius: 12px;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.acquisition-card h2 { margin-top: 0; }
.acquisition-facts { display: grid; gap: .65rem; margin: 1rem 0; }
.acquisition-facts div { border-bottom: 1px solid #e8edf0; padding-bottom: .6rem; }
.acquisition-facts dt { font-weight: 700; }
.acquisition-facts dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
.acquisition-caution, .acquisition-hint { color: #475569; }
.acquisition-warnings { padding-left: 1.25rem; color: #78350f; }
.acquisition-field { margin: 1.1rem 0; }
.acquisition-field label { display: block; font-weight: 700; margin-bottom: .4rem; }
.acquisition-field textarea, .acquisition-field select,
.acquisition-output, .acquisition-card textarea[readonly] {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1px solid #94a3b8;
  border-radius: 7px;
  padding: .7rem;
  font: inherit;
  background: #fff;
  color: #17212b;
}
.acquisition-field textarea { resize: vertical; min-height: 5rem; }
.acquisition-field [aria-invalid="true"] { border-color: #b91c1c; }
.acquisition-error { color: #991b1b; margin: .35rem 0; }
.acquisition-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.acquisition-actions button, .acquisition-card > button { cursor: pointer; padding: .6rem .9rem; }
.acquisition-status { font-weight: 700; }
.acquisition-message { border-left: 3px solid #64748b; padding: .5rem .7rem; }
.acquisition-output { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .acquisition-actions button { width: 100%; }
}
.commercial-workspace { display: grid; gap: 1.2rem; max-width: 850px; margin: 0 auto; }
.commercial-card { background: #fff; border: 1px solid #d9e0e5; border-radius: 12px; padding: clamp(1rem, 3vw, 1.5rem); }
.commercial-card h2 { margin-top: 0; }
.commercial-card p { overflow-wrap: anywhere; }
.commercial-card ul { padding-left: 1.25rem; }
.commercial-links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }
.commercial-caution, .commercial-hint { color: #475569; }
.commercial-warning { border-left: 3px solid #b45309; padding: .5rem .7rem; color: #713f12; }
.commercial-field { margin: 1rem 0; }
.commercial-field label { display: block; font-weight: 700; margin-bottom: .4rem; }
.commercial-field textarea, .commercial-field select, .commercial-output, .commercial-card textarea[readonly] {
  box-sizing: border-box; width: 100%; max-width: 100%; border: 1px solid #94a3b8;
  border-radius: 7px; padding: .7rem; font: inherit; background: #fff; color: #17212b;
}
.commercial-field textarea { min-height: 5rem; resize: vertical; }
.commercial-field [aria-invalid="true"] { border-color: #b91c1c; }
.commercial-error { color: #991b1b; margin: .3rem 0; }
.commercial-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.commercial-actions button, .commercial-card > button { cursor: pointer; padding: .6rem .9rem; }
.commercial-message { border-left: 3px solid #64748b; padding: .5rem .7rem; }
.commercial-output { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) { .commercial-actions button { width: 100%; } }
.engagement-workspace { display: grid; gap: 1.2rem; max-width: 850px; margin: 0 auto; }
.engagement-card { background: #fff; border: 1px solid #d9e0e5; border-radius: 12px; padding: clamp(1rem, 3vw, 1.5rem); }
.engagement-card h2 { margin-top: 0; }
.engagement-card p { overflow-wrap: anywhere; }
.engagement-card ul { padding-left: 1.25rem; }
.engagement-links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }
.engagement-warning { border-left: 3px solid #b45309; padding: .5rem .7rem; color: #713f12; }
.engagement-hint { color: #475569; }
.engagement-field { margin: 1rem 0; }
.engagement-field label { display: block; font-weight: 700; margin-bottom: .4rem; }
.engagement-field textarea, .engagement-field select, .engagement-field input,
.engagement-output, .engagement-card textarea[readonly] {
  box-sizing: border-box; width: 100%; max-width: 100%; border: 1px solid #94a3b8;
  border-radius: 7px; padding: .7rem; font: inherit; background: #fff; color: #17212b;
}
.engagement-field textarea { min-height: 5rem; resize: vertical; }
.engagement-field [aria-invalid="true"] { border-color: #b91c1c; }
.engagement-error { color: #991b1b; margin: .3rem 0; }
.engagement-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.engagement-actions button, .engagement-card > button { cursor: pointer; padding: .6rem .9rem; }
.engagement-message { border-left: 3px solid #64748b; padding: .5rem .7rem; }
.engagement-output { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) { .engagement-actions button { width: 100%; } }
.outcome-workspace { display: grid; gap: 1.1rem; max-width: 900px; margin: 0 auto; }
.outcome-workspace form { display: grid; gap: 1.1rem; }
.outcome-card { background: #fff; border: 1px solid #d9e0e5; border-radius: 12px; padding: clamp(1rem, 3vw, 1.5rem); }
.outcome-card h2 { margin-top: 0; }
.outcome-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.outcome-card ul { padding-left: 1.2rem; margin-top: .4rem; }
.outcome-card li { margin-bottom: .35rem; overflow-wrap: anywhere; }
.outcome-snapshot-groups { display: grid; gap: .5rem; }
.outcome-snapshot-groups > div { border-top: 1px solid #e2e8f0; }
.outcome-warning { border-left: 3px solid #b45309; color: #713f12; padding: .5rem .7rem; }
.outcome-caution, .outcome-hint { color: #475569; }
.outcome-field { margin: 1rem 0; }
.outcome-field label { display: block; font-weight: 700; margin-bottom: .4rem; }
.outcome-field textarea, .outcome-field select, .outcome-field input,
.outcome-report, .outcome-card textarea[readonly] {
  box-sizing: border-box; width: 100%; max-width: 100%; border: 1px solid #94a3b8;
  border-radius: 7px; padding: .7rem; font: inherit; background: #fff; color: #17212b;
}
.outcome-field textarea { min-height: 5rem; resize: vertical; }
.outcome-field [aria-invalid="true"] { border-color: #b91c1c; }
.outcome-error { color: #991b1b; margin: .3rem 0; }
.outcome-count-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.outcome-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.outcome-actions button, .outcome-card > button { cursor: pointer; padding: .6rem .9rem; }
.outcome-message { border-left: 3px solid #64748b; padding: .5rem .7rem; }
.outcome-report { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) { .outcome-count-grid { grid-template-columns: 1fr; } .outcome-actions button { width: 100%; } }
.beta-page { max-width: 1020px; padding-top: 1.5rem; padding-bottom: 3rem; }
.beta-links, .beta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin: .8rem 0; }
.beta-card, .daily-workspace-support { background: #fff; border: 1px solid #d9e0e5; border-radius: 10px; padding: 1rem; margin: 1rem auto; }
.beta-card h2 { margin-top: 0; }
.beta-page label { display: block; font-weight: 600; margin: 1rem 0; }
.beta-page textarea, .beta-page select, .beta-page input:not([type=checkbox]) { display: block; box-sizing: border-box; width: 100%; margin-top: .35rem; border: 1px solid #94a3b8; border-radius: 6px; padding: .65rem; font: inherit; }
.beta-page textarea { min-height: 5rem; resize: vertical; }
.beta-page button, .daily-workspace-support button, .previous-work-panel button { padding: .6rem .8rem; cursor: pointer; margin: .2rem; }
.beta-page button:disabled { cursor: not-allowed; }
.beta-notice { padding: .8rem; border-left: 3px solid #64748b; background: #f1f5f9; }
.beta-day-directory { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
.beta-day-directory li { border: 1px solid #d9e0e5; border-radius: 7px; padding: .7rem; }
.beta-day-directory a { display: flex; gap: .6rem; align-items: baseline; text-decoration: none; }
.beta-day-directory a span { flex-shrink: 0; }
.beta-day-directory small { display: block; margin-top: .3rem; color: #475569; }
.daily-workspace-support { max-width: 1000px; }
.daily-workspace-orientation { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.daily-workspace-orientation p { flex-basis: 100%; margin: .3rem 0; }
.daily-save-state { margin: .6rem 0; color: #334155; }
.daily-workspace-recovery-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.daily-workspace-history ul { padding-left: 1.2rem; }
.daily-workspace-message, .previous-work-gate-message { padding: .6rem; background: #f1f5f9; border-left: 3px solid #64748b; }
.previous-work-panel { border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; padding: .8rem; margin: 1rem 0; }
.previous-work-panel summary { font-weight: 700; cursor: pointer; }
.previous-work-panel-content { margin-top: .8rem; }
.previous-work-panel-content > section { border: 0; margin: 0; padding: 0; }
.previous-work-independent { padding: .7rem; background: #f8fafc; }
.previous-work-reviewed { color: #334155; }
.daily-answer-gate { border: 0; padding: 0; margin: 0; min-width: 0; }
.daily-answer-gate:disabled { opacity: .7; }
.ai-guidance-inline { margin-top: .8rem; }
.ai-guidance-inline .ai-guidance-tooltip { position: static; opacity: 1; visibility: visible; margin: .6rem 0; max-width: none; background: transparent; color: #475569; padding: 0; box-shadow: none; }
.ai-guidance-inline .ai-guidance-panel { position: static; width: 100%; max-width: 100%; max-height: none; margin-top: .6rem; }
.ai-guidance-inline .ai-guidance-compact { display: none; }
.ai-guidance-inline .ai-guidance-wide { display: inline; }
@media (max-width: 640px) {
  .beta-day-directory { grid-template-columns: 1fr; }
  .daily-workspace-support { border-radius: 0; }
  .preview-day-navigation-links { gap: .55rem; }
}

/* Closed beta: one shared, device-themed layer over the preserved daily workspaces. */
:root {
  --beta-bg: #f5f7f8;
  --beta-surface: #ffffff;
  --beta-subtle: #edf2f4;
  --beta-text: #202e3a;
  --beta-muted: #4b5f6c;
  --beta-border: #c6d2d9;
  --beta-accent: #086b61;
  --beta-accent-hover: #07564f;
  --beta-on-accent: #ffffff;
  --beta-focus: #176bc0;
  --beta-warning: #80500b;
  --beta-warning-bg: #fff6e4;
  --beta-error: #a02c39;
  --beta-radius: 12px;
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--beta-text);
  background: var(--beta-bg);
}
:root[data-theme="dark"] {
  --beta-bg: #10191f;
  --beta-surface: #18252d;
  --beta-subtle: #22333d;
  --beta-text: #e7eef2;
  --beta-muted: #b7c7d1;
  --beta-border: #4a606e;
  --beta-accent: #79d7c5;
  --beta-accent-hover: #9ae5d6;
  --beta-on-accent: #102c28;
  --beta-focus: #8dbfff;
  --beta-warning: #f4ce8b;
  --beta-warning-bg: #382d1c;
  --beta-error: #ffb0b9;
  color-scheme: dark;
}
body { color: var(--beta-text); background: var(--beta-bg); font-size: 1rem; line-height: 1.65; }
:focus-visible { outline: 3px solid var(--beta-focus); outline-offset: 4px; }
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) { color: var(--beta-text); }
:is(.journey-page, .beta-page) { background: var(--beta-bg); }
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) :is(p, li, dd, dt, label, legend, summary) {
  overflow-wrap: anywhere;
}
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) :is(h1, h2, h3, h4) {
  color: var(--beta-text); line-height: 1.25; letter-spacing: -.025em; text-wrap: pretty;
}
:is(.journey-page, .beta-page) h1 { font-size: clamp(1.8rem, 4.5vw, 2.65rem); max-width: 27ch; }
:is(.journey-page, .beta-page, .daily-workspace-support) h2 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: .8rem; }
:is(.journey-page, .beta-page, .daily-workspace-support) h3 { font-size: 1.1rem; }
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) p { color: var(--beta-text); max-width: 74ch; }
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) small { font-size: .9rem; line-height: 1.5; }
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) :is(a:not(.button)) {
  color: var(--beta-accent); text-underline-offset: .2em;
}
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) :is(button, .button) {
  min-height: 44px; max-width: 100%; border: 1px solid var(--beta-border); border-radius: 8px;
  padding: .7rem 1rem; background: var(--beta-surface); color: var(--beta-text);
  font: inherit; font-weight: 650; line-height: 1.4; cursor: pointer; box-shadow: none;
  white-space: normal; overflow-wrap: anywhere; transform: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) :is(button, .button):hover:not(:disabled) {
  background: var(--beta-subtle); border-color: var(--beta-accent); transform: none; box-shadow: none;
}
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) .button-primary,
.daily-save-tools > button, .beta-page form button[type="submit"], .cloud-sign-in button[type="submit"] {
  background: var(--beta-accent); border-color: var(--beta-accent); color: var(--beta-on-accent);
}
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) .button-primary:hover:not(:disabled),
.daily-save-tools > button:hover:not(:disabled), .beta-page form button[type="submit"]:hover:not(:disabled) {
  background: var(--beta-accent-hover); color: var(--beta-on-accent);
}
:is(.site-shell, .journey-page, .beta-page, .daily-workspace-support) button:disabled {
  opacity: .6; cursor: not-allowed;
}
:is(.journey-page, .beta-page, .daily-workspace-support) :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  min-width: 0; max-width: 100%; min-height: 46px; background: var(--beta-surface);
  color: var(--beta-text); border: 1px solid var(--beta-border); border-radius: 8px;
  padding: .75rem; font: inherit; line-height: 1.6;
}
:is(.journey-page, .beta-page, .daily-workspace-support) textarea { min-height: 7rem; resize: vertical; }
:is(.journey-page, .beta-page, .daily-workspace-support) :is(textarea, input)::placeholder {
  color: var(--beta-muted); opacity: 1;
}
:is(.journey-page, .beta-page, .daily-workspace-support) :is(input[type="checkbox"], input[type="radio"]) {
  width: 1.15rem; height: 1.15rem; accent-color: var(--beta-accent); vertical-align: middle; margin-right: .5rem;
}
:is(.journey-page, .beta-page) label { line-height: 1.55; }
:is(.journey-page, .beta-page) :is(label, legend) { color: var(--beta-text); }
:is(.journey-page, .beta-page) :is([class*="-field"], [class*="-fields"], fieldset, form) { min-width: 0; }
:is(.journey-page, .beta-page) :is(section, article, details, fieldset, [class$="-card"], [class$="-context"]) {
  border-color: var(--beta-border); background-color: var(--beta-surface); color: var(--beta-text);
}
:is(.journey-page, .beta-page) :is([class*="-hint"], [class*="-caution"], [class*="-caption"], small) {
  color: var(--beta-muted);
}
:is(.journey-page, .beta-page) :is([class*="-warning"], [class*="-privacy"]) {
  color: var(--beta-warning); background: var(--beta-warning-bg); border-color: var(--beta-warning);
}
:is(.journey-page, .beta-page) :is([class*="-error"], .is-error) { color: var(--beta-error); }
:is(.journey-page, .beta-page) [aria-invalid="true"] { border: 2px solid var(--beta-error); }
:is(.journey-page, .beta-page) :is(pre, [class$="-output"], [class$="-report"], [readonly]) {
  background: var(--beta-subtle); color: var(--beta-text); border-color: var(--beta-border);
  max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere;
}
:is(.journey-page, .beta-page, .daily-workspace-support) :is([class*="-message"], [class$="-notice"]) {
  background: var(--beta-subtle); color: var(--beta-text); border-color: var(--beta-accent);
}
:is(.journey-page, .beta-page, .daily-workspace-support) summary { cursor: pointer; padding: .65rem 0; line-height: 1.5; }
.content-container { width: min(100% - 2.5rem, 1080px); }
main.beta-page:not(.landing-page):not(.details-page) { width: min(100% - 2.5rem, 960px); padding: 1.5rem 0 4rem; }
.journey-page main.journey-main:not(.landing-page):not(.details-page) { width: min(100% - 2.5rem, 900px); padding: 1.5rem 0 3rem; }
.journey-header { background: var(--beta-surface); border-color: var(--beta-border); }
.journey-header-copy { max-width: 900px; padding-block: 1.5rem; }
.journey-header-bar { flex-wrap: wrap; }
.journey-header-copy > p:not(.eyebrow) { color: var(--beta-muted); }
.journey-header-copy .journey-privacy { font-size: .95rem; padding: .7rem 1rem; }
.journey-page .journey-next-step { padding: 1rem 1.2rem; background: var(--beta-subtle); }
.journey-page .journey-status { color: var(--beta-muted); background: var(--beta-subtle); font-size: .9rem; white-space: normal; }
.journey-page :is(.journey-field-group, .journey-workspace, [class$="-card"]) { border-radius: var(--beta-radius); }
.journey-page .journey-field-group { margin-block: 1.5rem; }
.journey-page .journey-field-group > p { color: var(--beta-muted); }
.journey-page .journey-calendar { margin-top: 2rem; }
.preview-day-navigation { background: var(--beta-surface); color: var(--beta-text); border-color: var(--beta-border); }
.preview-day-navigation-inner { max-width: 1080px; padding-block: .8rem; }
.preview-day-navigation-current { min-width: 0; }
.preview-day-navigation :is(a, p, span) { color: var(--beta-muted); }
.preview-day-navigation p { font-size: .9rem; margin: .4rem 0 0; }
.preview-day-navigation-links { flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.preview-day-navigation a { display: inline-block; padding-block: .4rem; text-underline-offset: .2em; }
.theme-preference { display: inline-flex; align-items: center; flex-shrink: 0; gap: .5rem; font-size: .95rem; }
.theme-preference label { margin: 0; color: var(--beta-muted); font-weight: 500; }
.theme-preference select, .beta-page .theme-preference select {
  width: auto; min-height: 44px; margin: 0; padding: .4rem 1.8rem .4rem .65rem;
  color: var(--beta-text); background: var(--beta-surface); border: 1px solid var(--beta-border); border-radius: 8px; font: inherit;
}
.beta-card, .daily-workspace-support { background: var(--beta-surface); color: var(--beta-text); border-color: var(--beta-border); border-radius: var(--beta-radius); }
.daily-workspace-support { max-width: 900px; padding: 1.1rem 1.3rem; margin-block: 1rem; }
.daily-workspace-orientation { gap: .25rem .65rem; }
.daily-workspace-orientation > span { color: var(--beta-muted); }
.daily-workspace-orientation strong { font-size: 1.1rem; }
.daily-workspace-orientation p { margin: .3rem 0 .65rem; }
.daily-save-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; border-top: 1px solid var(--beta-border); padding-top: .7rem; }
.daily-save-state { flex: 1 1 260px; color: var(--beta-muted); margin: .2rem 0; font-size: .95rem; }
.daily-recovery-details { flex-basis: 100%; border-top: 1px solid var(--beta-border); }
.daily-recovery-details summary { font-weight: 650; }
.daily-recovery-details > p { margin-top: .4rem; font-size: .95rem; }
.daily-workspace-history li { margin-block: .8rem; }
.daily-workspace-message, .previous-work-gate-message { background: var(--beta-subtle); color: var(--beta-text); border-color: var(--beta-accent); }
.previous-work-panel { background: var(--beta-surface); border-color: var(--beta-border); border-radius: var(--beta-radius); padding: .7rem 1rem; }
.previous-work-panel-content > p, .previous-work-reviewed { color: var(--beta-muted); font-size: .95rem; }
.previous-work-independent { background: var(--beta-subtle); padding: 1rem; border-radius: 8px; }
.previous-work-more { margin-top: .8rem; border-top: 1px solid var(--beta-border); }
.previous-work-more > summary { font-weight: 600; color: var(--beta-accent); }
.previous-work-context { padding-top: .8rem; }
.daily-recap-list { list-style: none; padding: 0; display: grid; gap: .8rem; margin-block: .75rem; }
.daily-recap-item { min-width: 0; border-left: 2px solid var(--beta-border); padding-left: .8rem; }
.daily-recap-item p { margin: .3rem 0; }
.daily-recap-origin, .daily-recap-missing { font-size: .95rem; color: var(--beta-muted); }
.daily-answer-gate:disabled { opacity: 1; }
.daily-answer-gate:disabled :is(input, textarea, select, button) { opacity: .65; }
.ai-guidance-inline { margin-top: .8rem; border-top: 1px solid var(--beta-border); padding-top: .6rem; }
.ai-guidance-inline .ai-guidance-panel, .ai-guidance-contextual .ai-guidance-panel {
  background: var(--beta-surface); color: var(--beta-text); border-color: var(--beta-border); box-shadow: none;
}
.ai-guidance-inline .ai-guidance-tooltip { color: var(--beta-muted); font-size: .95rem; }
.ai-guidance-contextual { margin-block: 1rem; padding: .5rem 1rem; border: 1px solid var(--beta-border); border-radius: 8px; }
.ai-guidance-contextual > summary { color: var(--beta-accent); font-weight: 650; }
.ai-guidance-contextual .ai-guidance-tooltip { position: static; visibility: visible; opacity: 1; background: transparent; color: var(--beta-muted); padding: 0; box-shadow: none; max-width: none; }
.ai-guidance-contextual .ai-guidance-panel { position: static; width: 100%; max-width: 100%; max-height: none; margin-top: .5rem; }
.ai-guidance-contextual .ai-guidance-wide { display: inline; }
.ai-guidance-contextual .ai-guidance-compact { display: none; }
.daily-bottom-navigation { max-width: 900px; display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem 3rem; }
.daily-bottom-navigation a { max-width: 48%; padding: .8rem; color: var(--beta-accent); border: 1px solid var(--beta-border); border-radius: 8px; overflow-wrap: anywhere; }
.dashboard-toolbar, .dashboard-progress-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.dashboard-heading { padding-block: 1.5rem .5rem; }
.dashboard-heading h1 { max-width: 24ch; }
.dashboard-resume { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem; border: 1px solid var(--beta-border); border-radius: var(--beta-radius); margin-block: 1rem 1.5rem; }
.dashboard-resume > div { flex: 1 1 24rem; }
.dashboard-resume p { margin-bottom: 0; }
.dashboard-progress { padding: 1.2rem; border: 1px solid var(--beta-border); border-radius: var(--beta-radius); }
.dashboard-progress-heading h2 { margin: 0; }
.dashboard-progress progress { width: 100%; height: .65rem; accent-color: var(--beta-accent); margin-block: 1rem .4rem; }
.dashboard-progress p { margin-bottom: .5rem; }
.dashboard-progress-note { font-size: .95rem; color: var(--beta-muted); }
.dashboard-phases { margin-top: 2rem; background: transparent !important; }
.dashboard-phases .section-heading { margin-bottom: 1rem; }
.dashboard-phase { border: 1px solid var(--beta-border); border-radius: var(--beta-radius); margin-block: .75rem; overflow: hidden; }
.dashboard-phase > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; list-style: none; }
.dashboard-phase > summary::before { content: "+"; font-size: 1.25rem; flex-shrink: 0; }
.dashboard-phase[open] > summary::before { content: "−"; }
.dashboard-phase > summary > span:first-of-type { flex: 1; }
.dashboard-phase > summary small { display: block; margin-top: .1rem; color: var(--beta-muted); }
.dashboard-phase-count { font-size: .9rem; color: var(--beta-muted); }
.beta-page .dashboard-day-list { display: block; padding: 0 1.2rem; margin: 0; }
.dashboard-day-list li { border: 0; border-top: 1px solid var(--beta-border); border-radius: 0; padding: .85rem 0; }
.dashboard-day-list a { padding-block: .3rem; }
.dashboard-day-list a > span { min-width: 3.5rem; font-size: .95rem; }
.dashboard-day-list li[data-saved-status="review"] .dashboard-day-status { color: var(--beta-warning); }
.dashboard-support { padding-block: 1.5rem; }
.dashboard-beta-context, .dashboard-legacy { border-top: 1px solid var(--beta-border); padding-block: .4rem; }
.dashboard-support p, .dashboard-legacy p { color: var(--beta-muted); font-size: .95rem; }
.account-backup-preview { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--beta-border); }
.account-backup-list { padding-left: 1.2rem; }
.account-backup-list p { margin-block: .2rem .8rem; }
.individual-account-backup { margin-top: 1rem; border-top: 1px solid var(--beta-border); }
.site-header, .site-footer { background: var(--beta-surface); border-color: var(--beta-border); color: var(--beta-muted); }
.header-content { gap: 1rem; flex-wrap: wrap; padding-block: .8rem; }
.site-shell .brand-link { color: var(--beta-text); }
.site-shell .hero-section, .site-shell .section-block, .site-shell .final-cta-section { background: var(--beta-bg); }
.site-shell .hero-layout { gap: 2.5rem; padding-block: 3rem; }
.site-shell .hero-copy h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 18ch; }
.site-shell .hero-description { color: var(--beta-muted); font-size: 1.1rem; }
.site-shell :is(.process-visual, .info-card, .step-card, .final-cta-card, .faq-list details) {
  background: var(--beta-surface); color: var(--beta-text); box-shadow: none; border-color: var(--beta-border); border-radius: var(--beta-radius);
}
.site-shell .section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 26ch; }
.site-shell .approach-section { background: var(--beta-subtle); color: var(--beta-text); }
.site-shell :is(.process-stage, .principles-list li) { color: var(--beta-text); border-color: var(--beta-border); }
.site-shell :is(.process-number, .step-number) { background: var(--beta-subtle); color: var(--beta-accent); }
.site-shell .eyebrow, .journey-page .eyebrow, .beta-page .eyebrow { color: var(--beta-accent); font-size: .85rem; letter-spacing: .1em; }
.site-shell :is(.credibility-note, .footer-meta, .info-card p, .step-card p, .approach-description) { color: var(--beta-muted); }
@media (max-width: 800px) {
  .header-navigation { flex-wrap: wrap; gap: .5rem 1rem; }
  .site-shell .hero-layout { grid-template-columns: 1fr; padding-block: 2rem; }
  .site-shell .process-visual { max-width: none; }
  .site-shell :is(.card-grid, .steps-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .content-container, main.beta-page:not(.landing-page):not(.details-page), .journey-page main.journey-main:not(.landing-page):not(.details-page) { width: calc(100% - 1.5rem); }
  .journey-page :is(.journey-fields, .outcome-count-grid) { grid-template-columns: 1fr; }
  .site-shell :is(.card-grid, .steps-grid, .approach-layout, .faq-layout) { grid-template-columns: 1fr; }
  .site-shell .header-navigation { order: 3; width: 100%; }
  .site-shell .hero-actions .button { width: 100%; }
  .daily-workspace-support { padding: 1rem; }
  .daily-save-tools > button { width: 100%; margin-inline: 0; }
  .daily-workspace-support .daily-workspace-recovery-actions button { flex: 1 1 12rem; margin-inline: 0; }
  .preview-day-navigation-current { width: 100%; }
  .preview-day-navigation-links { width: 100%; }
  .preview-day-navigation-links .theme-preference { flex-basis: 100%; }
  .dashboard-phase > summary { padding: .9rem; gap: .6rem; }
  .dashboard-phase-count { max-width: 5rem; text-align: right; }
  .beta-page .dashboard-day-list { padding-inline: .9rem; }
  .dashboard-day-list a { align-items: flex-start; }
  .dashboard-resume .button { width: 100%; }
  .daily-bottom-navigation { flex-direction: column; gap: .7rem; }
  .daily-bottom-navigation a { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ClientOS execution experience: focus the work; keep supporting detail available. */
.task-heading { margin-block: 1rem .5rem; padding: 1.25rem; }
.task-heading h1 { font-size: clamp(1.7rem,4vw,2.35rem); margin-bottom: .7rem; max-width: 30ch; }
.task-objective { font-size: 1.08rem; margin-bottom: .8rem; }
.task-heading .daily-save-state { font-size: .95rem; color: var(--beta-muted); margin: .5rem 0; }
.task-context { border-top: 1px solid var(--beta-border); margin-top: 1rem; padding-top: .7rem; }
.task-context .daily-recap-list { grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: .75rem; }
.task-context dl { margin: .2rem 0; }
.task-context dt { font-size: .9rem; color: var(--beta-muted); }
.task-context dd { margin: .1rem 0 .55rem; overflow-wrap: anywhere; }
.task-context-missing, .task-device-note { font-size: .95rem; color: var(--beta-muted); }
.task-context summary { cursor: pointer; padding: .65rem 0; color: var(--beta-accent); }
.task-context > details { border-top: 1px solid var(--beta-border); }
.task-focused .journey-header, .task-focused .journey-next-step, .task-focused .site-footer,
.task-focused .journey-calendar, .task-focused .journey-ai-help { display: none; }
.task-focused[data-local-autosave="true"] button[data-draft-action="true"] { display: none; }
.task-focused .journey-page { min-height: 0; }
.task-focused .journey-page main.journey-main { padding-top: .5rem; padding-bottom: 1rem; }
.task-focused .journey-workspace-heading { margin-bottom: .8rem; }
.task-focused .journey-workspace-heading .eyebrow, .task-focused .journey-progress-count { display: none; }
.task-focused .journey-status { background: transparent; padding: .2rem; font-size: .9rem; }
.task-focused .journey-workspace-heading h2 { font-size: 1.25rem; }
.task-focused .journey-workspace, .task-focused [class$="-workspace"] { gap: 1rem; }
.task-focused :is(.journey-field,.commercial-field,.engagement-field,.acquisition-field,.outcome-field) { margin-block: 1rem; }
.task-focused :is(section,article,fieldset,[class*="-card"]) { background-image: none; color: var(--beta-text); border-color: var(--beta-border); }
.task-focused [class*="-card"], .task-focused :is(.practice-structure,.practice-customer-question,.identity-preview,.presence-preview,.offer-card,.evidence-brief) { background-color: var(--beta-surface); color: var(--beta-text); }
.task-focused :is(.practice-hint,.commercial-hint,.engagement-hint,.acquisition-caution,.outcome-hint) { color: var(--beta-muted); }
.task-focused :is(.journey-message.is-success,.commercial-message:empty,.engagement-message:empty) { display: none; }
.task-focused .previous-work-panel { margin: .75rem 0; background: transparent; padding-block: .25rem; }
.task-section { border: 1px solid var(--beta-border); border-radius: 10px; background: var(--beta-surface); margin-block: 1rem; min-width: 0; }
.task-section > summary { padding: .85rem 1rem; font-weight: 650; cursor: pointer; color: var(--beta-text); overflow-wrap: anywhere; }
.task-section-body { padding: .25rem 1rem 1rem; }
.task-section-body > section { padding: .25rem 0 !important; border: 0 !important; margin: 0 !important; background: transparent !important; }
.task-section > summary > :is(h2,h3) { display: inline; margin: 0; font: inherit; color: inherit; }
.task-section-body > section > .journey-field:first-child { margin-top: .5rem; }
.task-focused .previous-work-context > section { padding: 0; margin: 0; border: 0; background: transparent; }
.task-focused .previous-work-context > section + section { margin-top: 1rem; }
.task-focused .previous-work-context > section > h2 { font-size: 1.05rem; margin-block: .5rem; }
.task-section-body .evidence-source-note { margin-top: .75rem; padding: .75rem; background: var(--beta-subtle); color: var(--beta-text); border-color: var(--beta-border); }
.task-section-body .evidence-source-note p { margin-block: .4rem; }
.task-core-fields { display: grid; gap: .25rem; }
.task-section-body :is(input,textarea,select) { max-width: 100%; }
.task-help-area { max-width: 900px; padding-block: .5rem; }
.task-ai-help { border-top: 1px solid var(--beta-border); padding-block: .5rem; }
.task-ai-help summary { padding: .75rem 0; font-weight: 650; color: var(--beta-accent); cursor: pointer; }
.task-ai-help label { display: block; font-weight: 650; }
.task-ai-help textarea { width: 100%; padding: .75rem; border: 1px solid var(--beta-border); border-radius: 8px; font: inherit; color: var(--beta-text); background: var(--beta-surface); }
.task-ai-help button { padding: .7rem 1rem; border: 1px solid var(--beta-border); border-radius: 8px; font: inherit; color: var(--beta-text); background: var(--beta-surface); min-height: 44px; cursor: pointer; }
.task-ai-help p { max-width: 70ch; }
.task-device-note { margin-top: .7rem; }
.direction-core { display: grid; gap: 1rem; margin-block: 1rem; }
.direction-result { border-left: 3px solid var(--beta-accent); background: var(--beta-subtle) !important; padding: 1rem; margin-top: 1.25rem; border-radius: 8px; }
.direction-result h3 { margin-bottom: .6rem; }
.direction-result p:last-of-type { font-size: .95rem; color: var(--beta-muted); }
.dashboard-directory { margin-block: 1.5rem; border: 1px solid var(--beta-border); border-radius: 10px; padding: .5rem 1rem; }
.dashboard-directory > summary { font-weight: 650; }
.dashboard-directory .dashboard-phases { margin-top: 1rem; }
.journey-dashboard .dashboard-heading { padding-top: .75rem; }
.journey-dashboard .dashboard-resume { margin-block: 1rem; }
.journey-dashboard .dashboard-progress { padding: 1rem; }
.journey-dashboard .dashboard-support { padding-block: 1rem; }
.beta-page .data-tools > summary { font-weight: 650; }
.data-tools > div { padding-top: .75rem; }
.site-shell .hero-section { padding-block: 0; min-height: 0; }
.site-shell .hero-layout { min-height: 0; padding-block: 2rem; gap: 2rem; }
.site-shell .hero-copy h1 { font-size: clamp(2.1rem,4.4vw,3.35rem); margin-bottom: 1rem; }
.site-shell .process-visual { padding: 1rem; }
.site-shell .process-stage { padding: .8rem; min-height: 0; }
.site-shell .process-number { width: 2rem; height: 2rem; min-width: 2rem; font-size: .9rem; }
.site-shell .step-number { display: inline-flex; width: auto; padding: .25rem .6rem; border-radius: 6px; }
.site-shell .section-block { padding-block: 2.5rem; }
.site-shell .section-heading { margin-bottom: 1.5rem; }
.site-shell .approach-section, .site-shell .final-cta-section { padding-block: 2.5rem; }
.site-shell :is(.info-card,.step-card) { padding: 1.25rem; }
.site-shell .final-cta-card { padding: 1.5rem; }
:root[data-theme="dark"] .task-focused :is(.journey-result,.practice-structure,.practice-customer-question,.journey-optional,.presence-result,.evidence-result,.identity-preview,.offer-card,.readiness-summary,.readiness-checks) { background: var(--beta-subtle); color: var(--beta-text); }
:root[data-theme="dark"] .task-focused :is(h4,h5,dt,dd) { color: var(--beta-text); }
@media (max-width:600px) {
  .task-heading { padding: 1rem; }
  .task-context .daily-recap-list { grid-template-columns: 1fr; }
  .task-section-body { padding-inline: .85rem; }
  .task-focused .journey-workspace-heading { display: block; }
  .task-help-area { width: calc(100% - 1.5rem); }
  .task-ai-help .beta-actions button { flex: 1 1 100%; }
  .site-shell .hero-layout { padding-block: 1.5rem; }
}

.saved-detail-reuse { border-left: 3px solid var(--beta-accent); padding: .75rem 1rem; margin-block: 1rem; background: var(--beta-subtle); }
.saved-detail-reuse small { display: block; margin-top: .6rem; color: var(--beta-muted); }
.buyer-fields > :is(.task-core-fields,.task-section) { grid-column: 1 / -1; }
:root[data-theme="dark"] .task-focused :is(dl > div,.presence-summary) { background: var(--beta-subtle); color: var(--beta-text); border-color: var(--beta-border); }

/* Question help uses the existing field layout; answers stay mounted while it opens. */
.task-focused [data-guided-question] { min-width: 0; }
.task-focused .question-explanation { margin: .35rem 0 .65rem; color: var(--beta-muted); font-size: .95rem; max-width: 70ch; }
.question-help { margin-top: .4rem; font-size: .95rem; }
.question-help .question-help-toggle { border: 0; background: transparent; color: var(--beta-accent); padding: .55rem 0; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font: inherit; }
.question-help-body { margin: .35rem 0 .7rem; padding: .65rem 0 .65rem .85rem; border-left: 2px solid var(--beta-border); color: var(--beta-text); }
.question-help-body[hidden] { display: none; }
.question-help-body p { margin: .35rem 0 .65rem; max-width: 70ch; }
.question-help .question-original-hint, .question-help .question-help-note { color: var(--beta-muted); font-size: .9rem; }
.question-help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.question-help-actions button { min-height: 44px; margin: 0; padding: .55rem .75rem; border: 1px solid var(--beta-border); border-radius: 6px; background: var(--beta-surface); color: var(--beta-text); font: inherit; cursor: pointer; }
.question-help-actions a { display: inline-block; padding-block: .6rem; color: var(--beta-accent); }
.question-help-body textarea { width: 100%; max-width: 100%; font: inherit; color: var(--beta-text); background: var(--beta-surface); border: 1px solid var(--beta-border); border-radius: 6px; padding: .7rem; }
.question-help-body label { display: block; margin-block: .65rem .3rem; }
.question-help :focus-visible { outline: 3px solid var(--beta-accent); outline-offset: 3px; }
@media (max-width: 600px) { .question-help-actions { align-items: stretch; } .question-help-actions button { flex: 1 1 auto; } }

/* Meaningful learning: actual saved artifacts carry the emphasis. */
.learning-why, .learning-output { max-width: 72ch; margin-block: .55rem; }
.learning-why, .learning-workload, .learning-state-label, .learning-uncertainty { color: var(--beta-muted); font-size: .95rem; }
.learning-workload summary { cursor: pointer; padding-block: .6rem; }
.daily-learning-panels { margin-block: .5rem 1.5rem; }
.daily-learning-panels > *, .dashboard-learning-reviews > details { margin-block: 1rem; }
.learning-outcome, .learning-tomorrow, .learning-context-warning, .opportunity-comparison {
  border: 1px solid var(--beta-border); border-radius: var(--beta-radius); padding: clamp(1rem,3vw,1.6rem);
  background: var(--beta-surface); color: var(--beta-text); overflow-wrap: anywhere;
}
.learning-outcome.is-ready { border-left: 4px solid var(--beta-accent); background: var(--beta-subtle); }
.learning-outcome.is-ready h2 { font-size: clamp(1.55rem,3.3vw,2.1rem); max-width: 36ch; line-height: 1.25; }
.learning-outcome:not(.is-ready) h2, .learning-tomorrow h2 { font-size: clamp(1.2rem,2.5vw,1.55rem); }
.daily-learning-panels dl, .learning-context-warning dl { margin-block: 1rem; }
.daily-learning-panels dt { color: var(--beta-muted); font-size: .9rem; margin-top: .85rem; }
.daily-learning-panels dd { margin: .2rem 0 .7rem; white-space: pre-wrap; }
.learning-milestone, .learning-judgment { border-block: 1px solid var(--beta-border); padding: .6rem 0; overflow-wrap: anywhere; }
.learning-milestone > summary, .learning-judgment > summary { padding: .65rem 0; cursor: pointer; font-weight: 650; color: var(--beta-text); }
.learning-milestone ul { list-style: none; margin: 0; padding: 0; }
.learning-milestone li { padding-block: .8rem; border-top: 1px solid var(--beta-border); }
.learning-milestone li p { margin-block: .4rem; }
.learning-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.3rem; }
.learning-comparison section { min-width: 0; }
.learning-tomorrow .button { margin-block: .75rem; }
.dashboard-learning-reviews { margin-block: 1.75rem; }
.dashboard-learning-reviews h2 { font-size: 1.35rem; }
.opportunity-comparison { margin-block: 1rem 1.5rem; }
.opportunity-comparison h2 { font-size: 1.4rem; }
.opportunity-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1rem; }
.opportunity-tabs button { font: inherit; min-height: 44px; padding: .6rem .8rem; border: 1px solid var(--beta-border); border-radius: 6px; background: var(--beta-surface); color: var(--beta-text); cursor: pointer; }
.opportunity-tabs button[aria-current="true"] { border-color: var(--beta-accent); text-decoration: underline; text-underline-offset: .2em; }
.opportunity-field { margin-block: 1rem; min-width: 0; }
.opportunity-field label { display: block; font-weight: 650; }
.opportunity-field p { color: var(--beta-muted); font-size: .95rem; margin-block: .35rem .5rem; max-width: 70ch; }
.opportunity-field :is(textarea,select) { width: 100%; max-width: 100%; font: inherit; padding: .75rem; color: var(--beta-text); background: var(--beta-bg); border: 1px solid var(--beta-border); border-radius: 6px; }
.opportunity-comparison > details > summary { padding-block: .8rem; cursor: pointer; color: var(--beta-accent); }
:is(.opportunity-comparison,.daily-learning-panels,.dashboard-learning-reviews) :focus-visible { outline: 3px solid var(--beta-accent); outline-offset: 3px; }
@media (max-width:600px) { .learning-comparison { grid-template-columns: 1fr; gap: .6rem; } .opportunity-tabs button { flex: 1 1 auto; } }

/* v0.2.6: scoped stabilization using the existing appearance tokens. */
.app-version {
  position: fixed;
  left: max(.5rem, env(safe-area-inset-left));
  bottom: max(.5rem, env(safe-area-inset-bottom));
  z-index: 20;
  padding: .25rem .45rem;
  border: 1px solid var(--beta-border);
  border-radius: 6px;
  background: var(--beta-surface);
  color: var(--beta-muted);
  font-size: .7rem;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
@media print { .app-version { display: none; } }
.skip-to-main { position: fixed; left: 1rem; top: .5rem; z-index: 1000; transform: translateY(-180%); padding: .7rem 1rem; background: var(--beta-surface); color: var(--beta-accent); border: 2px solid var(--beta-focus); border-radius: 6px; }
.skip-to-main:focus { transform: translateY(0); }
#main-content, .route-entry-heading, .validation-feedback { scroll-margin-top: 1rem; }
.route-entry-heading:focus-visible, #main-content:focus-visible { outline: 3px solid var(--beta-focus); outline-offset: 5px; }
.site-shell .process-stage { background: var(--beta-surface); color: var(--beta-text); }
.site-shell .process-stage strong { color: var(--beta-text); }
.site-shell .section-heading p { color: var(--beta-muted); }
.site-shell :is(.process-stage p, .faq-list p, .footer-meta, .process-caption) { color: var(--beta-muted); }
.site-footer .footer-meta { color: var(--beta-muted); }
.daily-learning-panels .eyebrow { color: var(--beta-accent); }
.validation-feedback { max-width: 900px; width: calc(100% - 2.5rem); margin: 1rem auto; padding: 1rem 1.25rem; border: 2px solid var(--beta-error); border-radius: 8px; background: var(--beta-surface); color: var(--beta-text); }
.validation-feedback h2 { color: var(--beta-error); font-size: 1.25rem; }
.validation-feedback a { color: var(--beta-accent); }
.validation-feedback li { margin-block: .6rem; overflow-wrap: anywhere; }
.validation-feedback:focus { outline: 3px solid var(--beta-focus); outline-offset: 4px; }
.feedback-history li, .recovery-versions li, .import-review-list > li { padding-block: .9rem; border-bottom: 1px solid var(--beta-border); }
.feedback-history p, .feedback-history small { margin-block: .35rem; }
.feedback-history button { margin-block: .5rem; }
.recovery-versions dd { margin-left: 0; overflow-wrap: anywhere; }
.import-review-list { padding-left: 1.25rem; }
.import-differences > div { padding-block: .65rem; border-bottom: 1px solid var(--beta-border); }
.import-differences dt { font-weight: 650; }
.import-differences dd { margin: .3rem 0; }
.import-differences p { white-space: pre-wrap; overflow-wrap: anywhere; margin-block: .4rem; }
.import-review-list h4 { font-size: 1rem; margin-block: .4rem; }
:is(.journey-page,.beta-page,.daily-workspace-support) :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select) { border-color: var(--beta-muted); }

/* Only the five audited older areas receive this surface/text repair. Layout and content stay intact. */
.themed-legacy { background: var(--beta-bg); color: var(--beta-text); }
:root[data-theme] .themed-legacy * { color: inherit; border-color: var(--beta-border); background-color: transparent; background-image: none; }
:root[data-theme] .themed-legacy :is(p,strong,span,small,li,dt,dd,label,summary) { color: inherit; }
:root[data-theme] .themed-legacy :is(.execution-cycle-card,.execution-program-summary,.execution-principles) p { color: var(--beta-muted); }
:root[data-theme] .themed-legacy :is(header,article,section,aside,fieldset,[class$="-card"],[class$="-panel"],[class$="-summary"],.training-topic-view,.resource-reader,.resource-navigation) { background-color: var(--beta-surface); color: var(--beta-text); }
:root[data-theme] .themed-legacy main { background-color: var(--beta-bg); }
:root[data-theme] .themed-legacy :is(h1,h2,h3,h4,h5) { color: var(--beta-text); }
:root[data-theme] .themed-legacy :is(a,.eyebrow,[class$="-section-label"]) { color: var(--beta-accent); }
:root[data-theme] .themed-legacy :is(input,textarea,select,button) { background-color: var(--beta-surface); color: var(--beta-text); border-color: var(--beta-muted); }
:root[data-theme] .themed-legacy :is(button:hover,button.is-selected,button.is-active,[aria-current="page"]):not(:disabled) { background-color: var(--beta-subtle); color: var(--beta-text); border-color: var(--beta-accent); }
:root[data-theme] .themed-legacy :is([class$="-notice"],[class$="-warning"],[class$="-empty-state"]) { background-color: var(--beta-subtle); color: var(--beta-text); border-color: var(--beta-accent); }
:root[data-theme] .themed-legacy :is([class$="-error"],[role="alert"]) { color: var(--beta-error); }
:root[data-theme] .themed-legacy button:disabled { opacity: .6; cursor: not-allowed; }
:root[data-theme] .themed-legacy [hidden] { display: none; }
.blueprint-selection, .blueprint-selection > div, .blueprint-selection label { min-width: 0; max-width: 100%; }
.blueprint-selection label { flex: 1 1 18rem; width: min(100%,28rem); }
.blueprint-selection select { min-width: 0; width: 100%; max-width: 100%; }
.blueprint-selected-title { white-space: normal; overflow-wrap: anywhere; font-weight: 400; }
.module-entry { max-width: 60rem; }
.module-entry form { display: grid; gap: .8rem; max-width: 32rem; }
.module-entry input { width: 100%; min-width: 0; min-height: 2.75rem; padding: .7rem; border: 1px solid var(--beta-muted); border-radius: .5rem; background: var(--beta-surface); color: var(--beta-text); }
.module-backup-notice { padding-block: .5rem; background: var(--beta-subtle); color: var(--beta-text); border-block: 1px solid var(--beta-border); }
.module-backup-notice > div { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; }
.module-backup-notice p { flex: 1 1 18rem; margin: .25rem 0; font-size: .9rem; }
.module-backup-notice a { padding-block: .5rem; }
.module-backup-panel { overflow-wrap: anywhere; }
.module-backup-panel > details { margin-top: 1.25rem; padding-top: .75rem; border-top: 1px solid var(--beta-border); }
.module-backup-panel label { display: block; margin-block: .8rem; }
.module-backup-panel label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; gap: .6rem; }
.module-backup-panel input[type="checkbox"] { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; margin-top: .2rem; }
.module-backup-panel :is(select,textarea,input[type="file"]) { width: 100%; max-width: 100%; min-width: 0; }
.module-backup-panel :is(button,select) { min-height: 2.75rem; }
.module-backup-panel button { margin: .4rem .5rem .4rem 0; white-space: normal; }
.module-backup-panel li { margin-block: .8rem; }
.preparation-page { max-width: 880px; }
.preparation-heading { margin-block: 1.5rem 2rem; }
.preparation-heading h1 { max-width: 24ch; font-size: clamp(1.9rem,4.5vw,2.7rem); line-height: 1.2; }
.preparation-heading p, .preparation-step p { max-width: 72ch; }
.preparation-page .preparation-field label { margin-bottom: .25rem; }
.preparation-page .preparation-hint { margin-block: .2rem .5rem; color: var(--beta-muted); font-size: .95rem; font-weight: 400; }
.preparation-page :is(textarea,select) { color: var(--beta-text); background: var(--beta-surface); max-width: 100%; }
.preparation-page :is(button,select) { min-height: 2.75rem; }
.preparation-page button { white-space: normal; }
.preparation-step h3 { margin-block: .25rem .6rem; font-size: 1.25rem; }
.preparation-next-action { padding-left: .8rem; border-left: 3px solid var(--beta-accent); }
.preparation-storage-note { font-size: .9rem; color: var(--beta-muted); }
.preparation-page .preparation-error { color: var(--beta-error); margin-block: .35rem; }
.preparation-page [aria-invalid="true"] { border-color: var(--beta-error); }
.preparation-message { min-height: 1.5rem; }
.preparation-prompt textarea { font-size: .95rem; line-height: 1.55; }
.preparation-handoff li { margin-block: .6rem; }
.module-backup-panel :is(textarea,select) { color: var(--beta-text); background: var(--beta-surface); padding: .7rem; border: 1px solid var(--beta-muted); border-radius: .4rem; }
@media (max-width: 600px) {
  .preview-day-navigation-inner { padding-block: .5rem; gap: .4rem; }
  .preview-day-navigation-current { width: auto; }
  .preview-day-navigation-links { gap: .35rem .6rem; }
  .preview-day-navigation-links a { padding-block: .4rem; }
  .preview-day-navigation-links .theme-preference { flex-basis: auto; }
  .preview-day-navigation-inner > p { font-size: .85rem; line-height: 1.5; margin-block: .25rem; }
  .task-heading { margin-block: .65rem .35rem; padding: .85rem; }
  .task-heading h1 { margin-bottom: .5rem; }
  .task-heading .learning-output { margin-block: .4rem; }
  .task-context { margin-top: .6rem; padding-top: .4rem; }
  .blueprint-selection { align-items: stretch; }
  .blueprint-selection label { flex-basis: auto; width: 100%; }
  .validation-feedback { width: calc(100% - 1.5rem); padding: .85rem; }
}

/* Automatic editor saving: shared, quiet status across preparation and workspaces. */
.draft-saving-status { margin-block: 1rem; padding: .85rem 1rem; border: 1px solid var(--border-color, #788491); border-radius: .65rem; background: var(--surface-color, transparent); font-size: .9rem; overflow-wrap: anywhere; }
.draft-saving-status > p { margin: .3rem 0; }
.draft-saving-status > p + p { font-size: .85rem; }
.draft-saving-status .module-backup-notice { margin: .6rem 0 0; padding: 0; border: 0; }
.draft-saving-status .module-backup-notice .content-container { width: 100%; margin: 0; padding: 0; }
.draft-saving-status button, .draft-saving-status a { min-height: 2.75rem; }
.module-backup-panel details { margin-block: .8rem; }
.module-backup-panel textarea { width: 100%; max-width: 100%; }
@media (max-width: 600px) { .draft-saving-status .beta-actions { align-items: stretch; flex-direction: column; } }

/* Fictional checkout and access handover. No payment credentials are collected. */
.payment-checkout fieldset { margin-block: 1rem; padding: 0; border: 0; }
.payment-checkout legend { margin-bottom: .65rem; font-weight: 700; }
.payment-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.payment-methods label { display: flex; align-items: center; gap: .7rem; margin: 0; padding: 1rem; border: 1px solid currentColor; border-radius: .6rem; cursor: pointer; }
.payment-methods label.is-selected { outline: 2px solid currentColor; outline-offset: 2px; }
.payment-methods input { width: auto; min-height: auto; flex: none; }
.payment-methods strong, .payment-methods small { display: block; }
.payment-methods small { margin-top: .2rem; }
.payment-order-summary { display: grid; gap: .6rem; margin-block: 1rem; }
.payment-order-summary > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; }
.payment-order-summary dt { font-weight: 600; }
.payment-order-summary dd { margin: 0; }
.payment-fictional-details { margin-block: 1rem; padding: 1rem; border: 1px dashed currentColor; border-radius: .6rem; overflow-wrap: anywhere; }
.payment-fictional-details h3, .payment-failure h3 { margin-top: 0; }
.payment-hint { font-size: .9rem; }
.payment-failure { margin-top: 1rem; padding: 1rem; border: 2px solid currentColor; border-radius: .6rem; }
.payment-handover li { margin-block: .6rem; }
.payment-handover textarea { display: block; width: 100%; margin-top: .5rem; }
@media (max-width: 480px) { .payment-methods { grid-template-columns: 1fr; } }


/* v0.2.15: freelancer entrance. Styles stay within the entrance surfaces. */
.entrance-path-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; padding-block: .9rem; color: var(--beta-muted); font-size: .9rem; }
.entrance-path-bar label { font-weight: 600; }
.entrance-path-bar select { min-height: 44px; min-width: 0; max-width: 100%; padding: .45rem .65rem; border: 1px solid var(--beta-border); border-radius: 8px; background: var(--beta-surface); color: var(--beta-text); font: inherit; }
.entrance-path-bar > a { margin-left: auto; padding-block: .5rem; text-underline-offset: .2em; }
.freelancer-entrance { color: var(--beta-text); background: var(--beta-bg); }
.freelancer-entrance .entrance-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); align-items: center; gap: 3rem; padding-block: 3.5rem 4rem; }
.freelancer-entrance .hero-copy h1 { max-width: 18ch; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.035em; margin: .8rem 0 1.3rem; }
.freelancer-entrance .hero-description { max-width: 56ch; }
.freelancer-entrance :is(h2,h3) { color: var(--beta-text); }
.freelancer-entrance h2 { font-size: clamp(1.6rem, 2.7vw, 2.1rem); line-height: 1.25; letter-spacing: -.02em; margin: .6rem 0 1rem; }
.freelancer-entrance h3 { font-size: 1.15rem; line-height: 1.4; margin: .3rem 0 .65rem; }
.freelancer-entrance p { max-width: 72ch; }
.freelancer-entrance .entrance-small { color: var(--beta-muted); font-size: .92rem; line-height: 1.6; }
.freelancer-entrance a:not(.button) { text-underline-offset: .2em; }
.freelancer-entrance :is(a,button,select,summary):focus-visible, .entrance-path-bar :is(a,select):focus-visible { outline: 3px solid var(--beta-focus); outline-offset: 4px; }
.freelancer-entrance .hero-actions { gap: .75rem; }
.freelancer-entrance .entrance-start { border-left: 3px solid var(--beta-accent); border-radius: 0 12px 12px 0; background: var(--beta-subtle); padding: 1.6rem 1.7rem; }
.freelancer-entrance .entrance-start h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.freelancer-entrance .entrance-start p:last-child { margin-bottom: 0; }
.freelancer-entrance .entrance-section { padding-block: 3.5rem; border-top: 1px solid var(--beta-border); scroll-margin-top: 1rem; }
.freelancer-entrance .entrance-fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.freelancer-entrance .entrance-fit-list { margin: .5rem 0 1.3rem; padding-left: 1.3rem; }
.freelancer-entrance .entrance-fit-list li { margin-block: .6rem; padding-left: .2rem; }
.freelancer-entrance :is(.entrance-sample,.entrance-approach) { background: var(--beta-subtle); }
.freelancer-entrance .section-heading { margin-bottom: 1.5rem; max-width: 45rem; }
.freelancer-entrance .section-heading h2 { max-width: 32ch; }
.freelancer-entrance .entrance-example-choices { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.freelancer-entrance .entrance-example-choices button { min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--beta-muted); border-radius: 8px; background: var(--beta-surface); color: var(--beta-text); cursor: pointer; font: inherit; }
.freelancer-entrance .entrance-example-choices button[aria-pressed="true"] { background: var(--beta-accent); border-color: var(--beta-accent); color: var(--beta-on-accent); }
.freelancer-entrance .entrance-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2rem; border: 1px solid var(--beta-border); border-radius: 12px; padding: 1.6rem; background: var(--beta-surface); }
.freelancer-entrance .entrance-example > div { min-width: 0; }
.freelancer-entrance .entrance-label { color: var(--beta-muted); font-size: .76rem; font-weight: 700; letter-spacing: .07em; margin: 0 0 .5rem; }
.freelancer-entrance .entrance-example p + .entrance-label { margin-top: 1.4rem; }
.freelancer-entrance .entrance-offer { font-size: 1.13rem; font-weight: 600; }
.freelancer-entrance .entrance-example p:last-child { margin-bottom: 0; }
.freelancer-entrance .entrance-sample-next { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.5rem; }
.freelancer-entrance .entrance-sample-next > div { flex: 1 1 25rem; }
.freelancer-entrance .entrance-sample-next p { margin-bottom: 0; max-width: 65ch; color: var(--beta-muted); }
.freelancer-entrance .entrance-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; list-style: none; padding: 0; margin: 2rem 0; }
.freelancer-entrance .entrance-stages li { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; }
.freelancer-entrance .entrance-stages p { margin: 0 0 .4rem; }
.freelancer-entrance .entrance-stages h3 { margin-top: 0; }
.freelancer-entrance .entrance-stage-number { flex-shrink: 0; color: var(--beta-accent); font-weight: 700; font-size: 1.2rem; border-bottom: 2px solid var(--beta-border); padding-bottom: .3rem; }
.freelancer-entrance .entrance-disclosure { margin-top: 1.2rem; border-top: 1px solid var(--beta-border); border-bottom: 1px solid var(--beta-border); padding: .3rem 0; }
.freelancer-entrance .entrance-disclosure summary { cursor: pointer; min-height: 44px; padding-block: .65rem; color: var(--beta-accent); font-weight: 650; }
.freelancer-entrance .entrance-disclosure[open] { padding-bottom: .8rem; }
.freelancer-entrance .entrance-curriculum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; padding-top: 1rem; }
.freelancer-entrance .entrance-curriculum ol { padding-left: 1.6rem; }
.freelancer-entrance .entrance-curriculum li { padding-left: .3rem; margin-block: .55rem; }
.freelancer-entrance .entrance-research { padding-left: 1.2rem; }
.freelancer-entrance .entrance-research li { margin-block: .85rem; }
.freelancer-entrance .entrance-access { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.freelancer-entrance .entrance-included { padding-left: 1.25rem; margin-block: 1.3rem; }
.freelancer-entrance .entrance-included li { margin-block: .75rem; }
.freelancer-entrance .entrance-access-card { padding: 1.5rem; border: 1px solid var(--beta-border); border-radius: 12px; background: var(--beta-surface); }
.freelancer-entrance .entrance-access-card .button { display: flex; width: 100%; margin-top: .8rem; }
.freelancer-entrance .entrance-access-card > p:last-child { margin-bottom: 0; }
.freelancer-entrance .faq-list details { padding: .3rem 1rem; }
.freelancer-entrance .faq-list summary { min-height: 44px; padding-block: .8rem; cursor: pointer; }
.freelancer-entrance .faq-list p { margin: 0 0 .8rem; }
.freelancer-entrance .entrance-example-path { padding: .5rem 0 0 1.4rem; }
.freelancer-entrance .entrance-example-path li { padding: 0 0 1rem .3rem; }
.freelancer-entrance .entrance-example-path p { margin-bottom: .6rem; }
.freelancer-entrance .entrance-example-path blockquote { margin: .7rem 0; padding: .8rem 1rem; border-left: 3px solid var(--beta-accent); background: var(--beta-surface); overflow-wrap: anywhere; }
.module-start-map { color: var(--beta-text); }
.module-start-map > h2 { max-width: 30ch; }
.module-start-map > p { max-width: 75ch; }
.module-start-map .entrance-small { color: var(--beta-muted); font-size: .92rem; line-height: 1.6; }
.module-start-map-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 1.7rem 0; }
.module-start-map-steps > li { min-width: 0; padding-top: 1rem; border-top: 2px solid var(--beta-border); }
.module-start-map-steps p { margin: 0 0 .6rem; }
.module-start-map-steps h3 { margin: .4rem 0 .7rem; font-size: 1.15rem; line-height: 1.4; }
.module-entry .purchase-summary li { margin-block: .6rem; }
.module-entry .purchase-start-map > summary { cursor: pointer; min-height: 44px; padding-block: .65rem; font-weight: 650; }
.module-entry .purchase-start-map > summary:focus-visible { outline: 3px solid var(--beta-focus); outline-offset: 4px; }
.module-entry .purchase-start-map[open] .module-start-map { margin-top: 1rem; }
@media (max-width: 850px) {
  .module-start-map-steps { grid-template-columns: 1fr; gap: .5rem; }
  .freelancer-entrance .entrance-hero { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2rem 2.5rem; }
  .freelancer-entrance .hero-copy h1 { max-width: 21ch; }
  .freelancer-entrance .entrance-start { max-width: 45rem; }
  .freelancer-entrance :is(.entrance-fit,.entrance-access) { gap: 1.5rem; }
}
@media (max-width: 600px) {
  .entrance-path-bar > a { margin-left: 0; width: 100%; }
  .entrance-path-bar select { flex: 1 1 12rem; }
  .freelancer-entrance .entrance-section { padding-block: 2.2rem; }
  .freelancer-entrance :is(.entrance-fit,.entrance-example,.entrance-stages,.entrance-curriculum,.entrance-access) { grid-template-columns: 1fr; gap: 1.3rem; }
  .freelancer-entrance :is(.entrance-start,.entrance-example,.entrance-access-card) { padding: 1.2rem; }
  .freelancer-entrance .entrance-sample-next > .button { width: 100%; }
  .freelancer-entrance .entrance-example > div + div { padding-top: 1rem; border-top: 1px solid var(--beta-border); }
}

/* Guided public entrance only. The preserved full overview keeps its original styles. */
body:has(.guided-entrance) { min-width: 0; }
.guided-entrance { color: var(--beta-text); background: var(--beta-bg); }
.guided-entrance .guided-header-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-left: auto; }
.guided-entrance a { text-underline-offset: .2em; }
.guided-entrance :is(a,button,select,summary):focus-visible { outline: 3px solid var(--beta-focus); outline-offset: 4px; }
.guided-entrance main.guided-main { width: min(100% - 2.5rem, 960px); padding: 1.5rem 0 2.5rem; }
.guided-tour { max-width: 48rem; margin: 0 auto 1.25rem; border: 1px solid var(--beta-border); border-radius: 10px; background: var(--beta-surface); }
.guided-content { min-width: 0; }
.guided-tour-toggle { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .35rem .65rem; width: 100%; min-height: 76px; padding: .85rem 1rem; border: 0; border-radius: 10px; background: transparent; color: var(--beta-text); font: inherit; text-align: left; cursor: pointer; }
.guided-tour-caption { color: var(--beta-muted); font-size: .8rem; }
.guided-tour-current { grid-column: 1; font-size: .88rem; font-weight: 650; line-height: 1.5; }
.guided-tour-chevron { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--beta-accent); font-size: 1.4rem; transition: transform 220ms ease; }
.guided-tour.is-open .guided-tour-chevron { transform: rotate(180deg); }
.guided-tour-reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 220ms ease, opacity 180ms ease; }
.guided-tour.is-open .guided-tour-reveal { grid-template-rows: 1fr; opacity: 1; }
.guided-tour-clip { min-height: 0; overflow: hidden; }
.guided-tour ol { list-style: none; margin: 0; padding: .2rem .7rem .7rem; }
.guided-tour li { min-width: 0; }
.guided-tour a { display: flex; align-items: center; gap: .65rem; min-height: 48px; padding: .6rem .65rem; border-left: 2px solid transparent; border-radius: 0 5px 5px 0; color: var(--beta-muted); text-decoration: none; font-size: .86rem; line-height: 1.45; }
.guided-tour a > span:first-child { flex-shrink: 0; font-weight: 700; }
.guided-tour a[aria-current="step"] { color: var(--beta-accent); border-left-color: var(--beta-accent); font-weight: 650; }
.guided-tour a:hover { background: var(--beta-bg); color: var(--beta-text); }
.guided-stage { max-width: 48rem; margin-inline: auto; padding-bottom: .4rem; }
.guided-kicker { color: var(--beta-muted); font-size: .78rem; font-weight: 650; letter-spacing: .07em; margin: 0 0 1rem; }
.guided-kicker > span { padding-inline: .45rem; color: var(--beta-accent); }
.guided-stage h1 { color: var(--beta-text); font-size: clamp(2.05rem,4.4vw,3.3rem); line-height: 1.12; letter-spacing: -.035em; max-width: 24ch; margin: .7rem 0 1.4rem; }
.guided-stage .guided-lead { font-size: clamp(1.06rem,2vw,1.2rem); line-height: 1.65; max-width: 55ch; margin-bottom: 1.5rem; color: var(--beta-muted); }
.guided-stage .guided-note { font-size: .94rem; color: var(--beta-muted); line-height: 1.65; max-width: 73ch; }
.guided-stage h2 { color: var(--beta-text); font-size: 1.13rem; line-height: 1.4; margin: 0 0 .4rem; letter-spacing: -.01em; }
.guided-decisions { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.guided-decisions li { padding: 1rem 0 1rem 1.1rem; border-left: 2px solid var(--beta-border); margin-bottom: .7rem; }
.guided-decisions li p { color: var(--beta-muted); margin: 0; max-width: 62ch; }
.guided-example-choices { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0; }
.guided-example-choices button { min-height: 44px; border: 1px solid var(--beta-border); border-radius: 7px; padding: .6rem 1rem; background: var(--beta-surface); color: var(--beta-text); font: inherit; cursor: pointer; }
.guided-example-choices button[aria-pressed="true"] { background: var(--beta-accent); border-color: var(--beta-accent); color: var(--beta-on-accent); }
.guided-example { border: 1px solid var(--beta-border); border-radius: 12px; padding: 1.5rem; background: var(--beta-surface); }
.guided-example-start { color: var(--beta-text); font-size: 1.07rem; margin: 0 0 1.4rem; }
.guided-example-start > span { display: block; color: var(--beta-muted); font-size: .82rem; margin-bottom: .3rem; }
.guided-example-offer { padding-left: 1rem; border-left: 3px solid var(--beta-accent); }
.guided-example-offer .guided-kicker { margin-bottom: .5rem; }
.guided-example-offer > p:last-child { font-size: 1.2rem; line-height: 1.6; max-width: 64ch; margin: 0; }
.guided-disclosure { border-top: 1px solid var(--beta-border); margin-top: 1.4rem; padding: .3rem 0; }
.guided-disclosure > summary { cursor: pointer; color: var(--beta-accent); font-weight: 600; min-height: 44px; padding-block: .65rem; line-height: 1.5; }
.guided-disclosure > div { padding-top: .8rem; }
.guided-disclosure h2:not(:first-child) { margin-top: 1.3rem; }
.guided-disclosure p { color: var(--beta-muted); line-height: 1.65; max-width: 75ch; }
.guided-disclosure blockquote { border-left: 2px solid var(--beta-border); margin: .5rem 0 1rem; padding-left: 1rem; line-height: 1.65; }
.guided-system { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.6rem 2rem; margin: 2rem 0; }
.guided-system li { display: flex; gap: .9rem; border-top: 1px solid var(--beta-border); padding-top: 1rem; }
.guided-system-number { color: var(--beta-accent); font-weight: 700; }
.guided-system p { color: var(--beta-muted); line-height: 1.6; margin: 0; }
.guided-text-link { display: inline-block; padding-block: .6rem; font-weight: 600; }
.guided-starting-map { list-style: none; margin: 2rem 0 1.5rem; padding: 0; }
.guided-starting-map li { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: .1rem 1rem; border-top: 1px solid var(--beta-border); padding-block: 1rem; }
.guided-starting-map .guided-kicker { grid-row: span 2; margin: .3rem 0 0; }
.guided-starting-map li > p:last-child { color: var(--beta-muted); max-width: 62ch; margin: 0; line-height: 1.6; }
.guided-included { list-style: none; margin: 1.8rem 0; padding: 0; }
.guided-included li { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: .5rem 1.4rem; padding-block: .9rem; border-top: 1px solid var(--beta-border); }
.guided-included span { color: var(--beta-muted); line-height: 1.6; }
.guided-choice-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.guided-faq { max-width: 750px; margin-top: 2rem; }
.guided-faq .guided-disclosure { margin-top: 0; }
.guided-step-actions { max-width: 48rem; margin-inline: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; padding-top: .5rem; }
.guided-back { min-height: 44px; display: inline-flex; align-items: center; padding: .6rem .3rem; }
.guided-exits { max-width: 48rem; margin: 1rem auto 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; color: var(--beta-muted); font-size: .9rem; }
.guided-exits a { padding-block: .4rem; }
@media (max-width: 700px) {
  .guided-entrance .header-content { gap: .8rem; }
  .guided-entrance .guided-header-links { gap: .7rem; }
  .guided-system { grid-template-columns: 1fr; gap: 1rem; }
  .guided-stage { min-height: 0; }
  .guided-included li { grid-template-columns: 1fr; gap: .3rem; }
}
@media (max-width: 450px) {
  .guided-entrance .guided-header-links > a:not(.button) { font-size: .86rem; }
  .guided-entrance .guided-header-links .button { padding: .6rem .7rem; }
  .guided-entrance main.guided-main { width: calc(100% - 2rem); padding-top: 1rem; }
  .guided-stage h1 { font-size: 2.05rem; }
  .guided-example { padding: 1.1rem; }
  .guided-starting-map li { grid-template-columns: 1fr; gap: .45rem; }
  .guided-starting-map .guided-kicker { grid-row: auto; }
  .guided-step-actions > .button { max-width: 100%; text-align: center; }
  .guided-choice-actions .button { width: 100%; }
}

/* Compact entrance chrome: keep the offer and next action together on smaller screens. */
.guided-entrance .header-content { min-height: 68px; }
.guided-header-links > a, .guided-options > summary { display: inline-flex; align-items: center; min-height: 44px; }
.guided-options { position: relative; }
.guided-options > summary { cursor: pointer; gap: .5rem; color: var(--beta-muted); }
.guided-options > summary::after { content: '+'; font-size: 1.1rem; }
.guided-options[open] > summary::after { content: '−'; }
.guided-options > summary::-webkit-details-marker { display: none; }
.guided-options-panel { position: absolute; top: calc(100% + .5rem); right: 0; width: min(20rem,calc(100vw - 2rem)); padding: 1rem; border: 1px solid var(--beta-border); border-radius: 10px; background: var(--beta-surface); box-shadow: 0 10px 25px rgb(0 0 0 / .15); }
.guided-options-panel > a { display: flex; align-items: center; min-height: 44px; }
.guided-options-panel .theme-preference { display: flex; flex-wrap: wrap; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--beta-border); }
.guided-sample-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 450px) {
  .guided-entrance .header-content { flex-wrap: nowrap; gap: .5rem; min-height: 64px; padding-block: .4rem; }
  .guided-entrance .guided-header-links { gap: .8rem; font-size: .84rem; }
  .guided-stage .guided-lead { font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }
  .guided-stage .guided-note { font-size: .9rem; }
  .guided-stage h1 { margin-bottom: 1rem; }
  .guided-kicker { font-size: .72rem; letter-spacing: .04em; }
}

/* A single contained dropdown rail on wide screens; inline above content on smaller screens. */
@media (min-width: 1180px) {
  .guided-entrance main.guided-main { width: min(100% - 3rem,1120px); display: grid; grid-template-columns: 220px minmax(0,1fr); column-gap: 3rem; align-items: start; }
  .guided-content { grid-column: 2; grid-row: 1; }
  .guided-tour { grid-column: 1; grid-row: 1; position: sticky; top: 2rem; align-self: start; width: 100%; margin: 0; }
}
@media (max-width: 700px) {
  .guided-tour-toggle { min-height: 72px; padding: .75rem .9rem; }
  .guided-tour a { min-height: 52px; padding: .7rem .8rem; }
  .guided-tour ol { padding: .1rem .5rem .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .guided-tour-reveal, .guided-tour-chevron { transition: none; }
}

/* Access is an action, not a footer detail. All styles remain within existing theme tokens. */
.gift-access-panel { scroll-margin-top: 1rem; }
.gift-access-panel form { display: grid; gap: .75rem; max-width: 30rem; }
.gift-access-panel form > label { font-weight: 650; }
.gift-access-panel input { width: 100%; min-height: 46px; padding: .7rem; border: 1px solid var(--beta-border); border-radius: 7px; background: var(--beta-bg); color: var(--beta-text); font: inherit; }
.gift-access-panel input:disabled { cursor: not-allowed; opacity: .7; }
.gift-access-panel button { justify-self: start; min-height: 44px; }
.guided-starting-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.guided-starting-choices button { min-height: 44px; padding: .55rem .8rem; border: 1px solid var(--beta-border); border-radius: 7px; background: var(--beta-surface); color: var(--beta-text); font: inherit; font-size: .9rem; cursor: pointer; }
.guided-entrance .guided-starting-choices button[aria-pressed="true"], .guided-entrance .guided-starting-choices button[aria-pressed="true"]:hover:not(:disabled) { color: var(--beta-on-accent); background: var(--beta-accent); border-color: var(--beta-accent); }
.guided-starting-reply { max-width: 62ch; color: var(--beta-muted); font-size: .95rem; line-height: 1.6; margin: .9rem 0; }
.public-home { color: var(--beta-text); background: var(--beta-bg); }
.public-home .content-container { width: min(100% - 2.5rem, 1080px); }
.public-home main.public-landing-main { width: 100%; max-width: none; margin: 0; padding: 0; }
.public-home .public-hero { padding: clamp(1.75rem, 3.5vw, 3rem) 0 2.5rem; }
.public-home .public-hero h1 { max-width: 22ch; margin: .5rem 0 1rem; font-size: clamp(2.15rem, 4.6vw, 3.9rem); line-height: 1.12; }
.public-home .public-lead { max-width: 65ch; color: var(--beta-muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; }
.public-home .public-bangla { max-width: 70ch; font-family: "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", Vrinda, sans-serif; font-size: 1.05rem; line-height: 1.8; color: var(--beta-muted); }
.public-home .public-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.25rem; }
.public-home .public-note { max-width: 78ch; margin: 1.1rem 0 0; color: var(--beta-muted); font-size: .875rem; line-height: 1.65; }
.public-home .public-day-preview { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid var(--beta-border); border-radius: .8rem; background: var(--beta-surface); }
.public-home .public-day-preview h3 { margin: .5rem 0 .9rem; font-size: 1.35rem; line-height: 1.3; }
.public-home .public-day-preview ol { display: grid; gap: .75rem; padding-left: 1.3rem; }
.public-home .public-closing .button { margin-top: .5rem; }
.public-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.public-tint { background: var(--beta-subtle); }
.public-narrow { max-width: 760px; }
.public-section h2 { max-width: 28ch; margin: .5rem 0 1.2rem; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; }
.public-section p { line-height: 1.65; }
.public-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.public-steps li { padding: 1.4rem; background: var(--beta-surface); border: 1px solid var(--beta-border); border-radius: .8rem; }
.public-steps span { color: var(--beta-accent); font-weight: 700; }
.public-steps h3 { margin: 1rem 0 .5rem; }
.public-steps p { margin: 0; color: var(--beta-muted); }
.public-price { max-width: 760px; }
.public-price-amount { margin: .5rem 0; font-size: 2rem; font-weight: 700; }
.public-faq details { padding: 1rem 0; border-bottom: 1px solid var(--beta-border); }
.public-faq summary { cursor: pointer; font-weight: 650; }
.public-faq details p { margin-bottom: 0; color: var(--beta-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; }
.footer-links a { color: inherit; }
.public-home [id] { scroll-margin-top: 5rem; }
@media (max-width: 700px) {
  .public-steps { grid-template-columns: 1fr; }
  .public-home .header-navigation { gap: .2rem 1rem; }
  .public-home .header-navigation a { display: inline-flex; align-items: center; min-height: 44px; }
  .public-home .public-day-preview { padding: 1.1rem; }
}

/* Versioned 30-day journey. The cards show server-confirmed activity status. */
main.clientos-v042-dashboard { width: min(100% - 2rem, 1160px); }
.clientos-v042-dashboard > header { margin: 2rem 0; }
.clientos-v042-dashboard > header h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.clientos-journey-continue { padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--beta-border); border-radius: .8rem; background: var(--beta-surface); }
.clientos-journey-continue h2 { font-size: 1.35rem; }
.clientos-journey-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.clientos-journey-card { display: flex; flex-direction: column; min-height: 185px; padding: 1.2rem; border: 1px solid var(--beta-border); border-radius: .8rem; background: var(--beta-surface); }
.clientos-journey-card h2 { margin: .4rem 0 1rem; font-size: 1.15rem; }
.clientos-card-day { margin: 0; font-size: .82rem; font-weight: 700; }
.clientos-card-status { margin-top: auto; font-weight: 700; }
.clientos-journey-card a { color: #1d4ed8; font-weight: 700; }
.clientos-journey-card.is-available, .clientos-journey-card.is-draft-saved { border-color: #2563eb; border-left: 4px solid #2563eb; }
.clientos-journey-card.is-locked { border-color: #d1d5db; background: #f1f3f5; color: #4b5563; }
.clientos-journey-card.is-completed { border-color: #70b9ac; background: #dff4ef; color: #134e4a; }
.clientos-journey-card.is-completed a { color: #115e59; }
.clientos-card-lock-reason { margin-bottom: 0; font-size: .88rem; }
.clientos-v042-page { max-width: 760px; }
.clientos-day-heading { margin-bottom: 2rem; }
.clientos-day-heading h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.clientos-earlier-work, .clientos-day-output { padding: 1.2rem; margin: 1.5rem 0; border: 1px solid var(--beta-border); border-radius: .75rem; background: var(--beta-surface); }
.clientos-earlier-work h2, .clientos-day-output h2 { font-size: 1.25rem; }
.clientos-earlier-work p:last-child { margin-bottom: 0; }
.clientos-day-field { display: grid; gap: .4rem; margin: 1.4rem 0; font-weight: 650; }
.clientos-day-field textarea, .clientos-day-field select, .clientos-day-output textarea { width: 100%; padding: .7rem; border: 1px solid var(--beta-border); border-radius: .5rem; background: var(--beta-surface); color: var(--beta-text); font: inherit; }
.clientos-day-field small { color: var(--beta-muted); font-weight: 400; }
.clientos-day-output h3 { font-size: 1.1rem; }
.clientos-day-output dl { display: grid; gap: .8rem; margin-bottom: 0; }
.clientos-day-output dt { font-weight: 700; }
.clientos-day-output dd { margin: .2rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.clientos-day-output:focus { outline: 2px solid var(--beta-accent); outline-offset: 4px; }
.clientos-day-achievement { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem; margin-bottom: 1.25rem; border: 1px solid var(--beta-accent); border-radius: .6rem; background: var(--beta-subtle); }
.clientos-day-achievement-icon { color: var(--beta-accent); font-size: 1.4rem; line-height: 1.2; }
.clientos-day-achievement strong { display: block; }
.clientos-day-achievement p { margin: .25rem 0 0; overflow-wrap: anywhere; }
.clientos-day-actions, .clientos-day-navigation { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.clientos-day-actions button, .clientos-v042-page button { min-height: 44px; padding: .6rem 1rem; }
.clientos-day-navigation { justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--beta-border); }
.clientos-day-navigation.has-no-next-day > a:last-child { margin-left: auto; }
.clientos-day-locked { padding: 1.5rem; border: 1px solid #d1d5db; border-radius: .8rem; background: #f1f3f5; }
.account-auth-page .cloud-sign-in fieldset, .access-code-form .cloud-sign-in fieldset { display: grid; gap: .65rem; min-width: 0; padding: 0; margin: 0; border: 0; }
.account-auth-page .cloud-sign-in input, .access-code-form .cloud-sign-in input { box-sizing: border-box; width: 100%; min-width: 0; }
.account-auth-modes { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.account-auth-modes button[aria-pressed="true"] { border-color: var(--beta-accent); font-weight: 700; }
.account-auth-page .account-password-toggle { justify-self: start; min-height: 44px; }
.account-password-transition { margin-top: 1.5rem; }
.account-password-transition summary { cursor: pointer; padding: .75rem 0; font-weight: 700; }
.access-options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.access-options-page .beta-card, .access-code-form { min-width: 0; overflow-wrap: anywhere; }
.access-options-page button, .purchase-payment-page button, .account-auth-page button { min-height: 44px; }
@media (max-width: 600px) {
  .clientos-journey-grid { grid-template-columns: 1fr; }
  .clientos-journey-card { min-height: 145px; }
  .clientos-day-navigation { display: grid; grid-template-columns: minmax(0, 1fr); }
}

/* v0.4.5 presentation layer. Business rules and legacy content stay in their source modules. */
:root {
  --ui-page: var(--beta-bg);
  --ui-surface: var(--beta-surface);
  --ui-soft: var(--beta-subtle);
  --ui-text: var(--beta-text);
  --ui-muted: var(--beta-muted);
  --ui-border: var(--beta-border);
  --ui-primary: var(--beta-accent);
  --ui-primary-hover: var(--beta-accent-hover);
  --ui-on-primary: var(--beta-on-accent);
  --ui-focus: var(--beta-focus);
  --ui-danger: var(--beta-error);
  --ui-completed-bg: #e4f3ee;
  --ui-completed-text: #11594f;
  --ui-draft-bg: #edf2fa;
  --ui-draft-text: #264b80;
  --ui-radius: .875rem;
  --ui-shadow: 0 6px 22px rgb(0 0 0 / .06);
  --ui-gutter: 1rem;
  --ui-space: 1rem;
  --ui-page-space: 1.5rem;
  --ui-heading: clamp(1.9rem, 4.2vw, 3.25rem);
}
:root[data-theme="dark"] {
  --ui-completed-bg: #183c36;
  --ui-completed-text: #a4ecda;
  --ui-draft-bg: #202f46;
  --ui-draft-text: #bdcff5;
  --ui-shadow: 0 6px 22px rgb(0 0 0 / .15);
}
body { min-width: 0; }
#root { min-width: 0; }
#root :is(main, section, article, fieldset, form, nav, header, footer, .content-container) { min-width: 0; }
#root .content-container { width: min(100% - var(--ui-gutter) * 2, 72rem); }
#root main:not(.public-landing-main):not(.landing-page):not(.details-page) {
  width: min(100% - var(--ui-gutter) * 2, 64rem); padding-block: var(--ui-page-space);
}
#root main.clientos-v042-dashboard { width: min(100% - var(--ui-gutter) * 2, 72rem); }
#root main:is(.clientos-v042-page, .purchase-payment-page) { max-width: 48rem; }
#root :is(h1, h2, h3, p, label, summary, li, dt, dd, a) { overflow-wrap: anywhere; }
#root :is(h1, h2, h3) { text-wrap: pretty; }
#root :is(button, .button, input, select, textarea) { max-width: 100%; font: inherit; }
#root :is(button, .button) {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.1rem; border: 1px solid var(--ui-border);
  border-radius: .6rem; background: var(--ui-surface); color: var(--ui-text);
  font-weight: 650; line-height: 1.35; white-space: normal; text-align: center;
  text-decoration: none; cursor: pointer; box-shadow: none;
}
#root :is(.button-primary, button[type="submit"]) {
  background: var(--ui-primary); border-color: var(--ui-primary); color: var(--ui-on-primary);
}
#root :is(.button-primary, button[type="submit"]):hover:not(:disabled) {
  background: var(--ui-primary-hover); color: var(--ui-on-primary); transform: none;
}
#root button:disabled { opacity: .65; cursor: wait; }
#root :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--ui-focus); outline-offset: 3px;
}
#root :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  min-width: 0; width: 100%; min-height: 46px; padding: .75rem;
  color: var(--ui-text); background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: .5rem;
}
#root textarea { min-height: 8rem; resize: vertical; line-height: 1.65; }
#root :is(input, select, textarea) { font-weight: 400; }
#root :is(input, select, textarea)[aria-invalid="true"] { border: 2px solid var(--ui-danger); }
#root .ui-field-error { display: block; color: var(--ui-danger); font-weight: 600; }
#root :is(.journey-message, [role="alert"], .access-code-message) { overflow-wrap: anywhere; }
#root summary { min-height: 44px; padding-block: .7rem; cursor: pointer; line-height: 1.5; }
#root pre { max-width: 100%; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
#root input[type="file"] { overflow: hidden; padding: .5rem; }
#root input[type="file"]::file-selector-button { min-height: 44px; margin-right: .5rem; white-space: normal; }
#root .theme-preference { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; min-width: 0; }
#root .theme-preference label { white-space: nowrap; flex-shrink: 0; }
#root .theme-preference select { width: auto; min-width: 6rem; }
#root .site-header { position: relative; background: var(--ui-surface); border-color: var(--ui-border); }
#root .header-content { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding-block: .65rem; min-height: 68px; }
#root .header-content .brand-link { margin-right: auto; }
#root .header-navigation { gap: 1.25rem; }
#root .header-navigation a { display: inline-flex; align-items: center; min-height: 44px; }
#root .header-menu-toggle { display: none; }
#root .public-hero { padding: var(--ui-page-space) 0 2.5rem; }
#root .public-hero h1 { font-size: var(--ui-heading); line-height: 1.17; max-width: 24ch; }
#root .public-bangla { line-height: 1.9; }
#root .public-day-preview { width: min(100%, 48rem); padding: 1.25rem; }
#root .public-faq summary { padding-right: .5rem; }
#root .public-faq details p { padding-block: .75rem .25rem; }
#root .public-actions { gap: .75rem; }
#root .footer-content { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
#root .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
#root .footer-meta { display: grid; gap: .5rem; }
#root .journey-header-bar { flex-wrap: wrap; gap: .75rem 1.25rem; padding-block: .75rem; }
#root .journey-header-copy { padding-block: var(--ui-page-space); }
#root .journey-header-copy h1 { font-size: var(--ui-heading); }
#root .cloud-section { padding: 1.25rem; border: 1px solid var(--ui-border); border-radius: var(--ui-radius); background: var(--ui-surface); }
#root .account-auth-page .journey-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
#root .account-auth-page .cloud-sign-in { width: 100%; max-width: 32rem; }
#root .account-auth-page .cloud-sign-in fieldset { width: 100%; gap: .65rem; }
#root .account-auth-page .cloud-sign-in label { margin-top: .4rem; font-weight: 650; }
#root .account-auth-modes { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .35rem; border-radius: var(--ui-radius); background: var(--ui-soft); max-width: 32rem; }
#root .account-auth-modes button { background: transparent; border-color: transparent; }
#root .account-auth-modes button[aria-pressed="true"] { background: var(--ui-surface); border-color: var(--ui-primary); color: var(--ui-primary); box-shadow: var(--ui-shadow); }
#root .account-password-transition { margin-top: 1.5rem; padding-top: .5rem; border-top: 1px solid var(--ui-border); }
#root .account-password-transition summary { color: var(--ui-muted); }
#root .account-password-toggle { font-size: .9rem; justify-self: start; padding: .4rem .65rem; }
#root .access-options-page h1, #root .purchase-payment-page h1 { font-size: var(--ui-heading); }
#root .access-options-grid { grid-template-columns: 1fr; align-items: stretch; }
#root .access-options-grid > .beta-card { display: flex; flex-direction: column; padding: 1.25rem; margin: 0; }
#root .access-options-grid > .beta-card > .button { margin-top: auto; align-self: flex-start; }
#root .access-options-grid > .beta-card h2 { font-size: 1.4rem; }
#root .access-code-form { width: 100%; max-width: 36rem; }
#root .access-code-form form { display: block; margin: 0; }
#root .access-code-form fieldset { width: 100%; }
#root .access-code-form button { margin-top: .25rem; }
#root :is(.access-code-quote, .access-code-message) { padding: .8rem; margin-block: .75rem; border-left: 3px solid var(--ui-primary); background: var(--ui-soft); }
#root .purchase-summary { padding: 1.25rem; margin-block: 1.5rem; }
#root .beta-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
#root .beta-links a { display: inline-flex; align-items: center; min-height: 44px; }
#root .clientos-v042-dashboard > header { margin-block: 1.5rem; }
#root .clientos-v042-dashboard > header h1 { font-size: var(--ui-heading); }
#root .clientos-journey-continue { border-color: var(--ui-primary); box-shadow: var(--ui-shadow); }
#root .clientos-journey-phase { margin-block: 2rem; }
#root .clientos-journey-phase > h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; margin-bottom: 1rem; }
#root .clientos-journey-grid { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
#root .clientos-journey-card { min-height: 0; padding: 1rem; border-radius: var(--ui-radius); color: var(--ui-text); }
#root .clientos-journey-card h3 { margin: .4rem 0 .75rem; font-size: 1.05rem; line-height: 1.4; letter-spacing: -.01em; }
#root .clientos-card-day { color: inherit; }
#root .clientos-card-status { margin-bottom: .65rem; font-size: .9rem; }
#root .clientos-journey-card a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-underline-offset: .2em; }
#root .clientos-journey-card.is-available { background: var(--ui-surface); border-color: var(--ui-primary); border-left: 4px solid var(--ui-primary); }
#root .clientos-journey-card.is-draft-saved { background: var(--ui-draft-bg); color: var(--ui-draft-text); border-color: var(--ui-draft-text); }
#root :is(.clientos-journey-card.is-locked, .clientos-day-locked) { background: var(--ui-soft); color: var(--ui-muted); border-color: var(--ui-border); }
#root .clientos-journey-card.is-completed { background: var(--ui-completed-bg); color: var(--ui-completed-text); border-color: var(--ui-completed-text); }
#root .clientos-card-lock-reason { color: inherit; font-size: .875rem; }
#root .clientos-day-top-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ui-border); margin-bottom: 1.5rem; }
#root .clientos-day-top-navigation a { display: inline-flex; align-items: center; min-height: 44px; }
#root .clientos-day-top-navigation span { color: var(--ui-muted); font-size: .9rem; }
#root .clientos-day-heading h1 { font-size: var(--ui-heading); }
#root .clientos-day-field { gap: .65rem; margin-block: 1.5rem; }
#root .clientos-day-field > span { font-size: 1.05rem; }
#root .clientos-day-field small { line-height: 1.6; }
#root .ui-character-count { text-align: right; font-variant-numeric: tabular-nums; }
#root .clientos-day-actions button:first-child { background: var(--ui-surface); color: var(--ui-text); border-color: var(--ui-border); }
#root .clientos-day-actions button[type="submit"] { background: var(--ui-primary); color: var(--ui-on-primary); border-color: var(--ui-primary); }
#root .clientos-day-navigation { align-items: center; }
#root .clientos-day-navigation a { display: inline-flex; align-items: center; min-height: 44px; }
#root .clientos-day-navigation.has-no-next-day > a:last-child { justify-self: end; }
#root .clientos-day-achievement { color: var(--ui-completed-text); background: var(--ui-completed-bg); }
#root .clientos-day-output { scroll-margin-block: 1rem; }
#root .ai-guidance-inline { position: static; width: 100%; margin-block: 1.5rem; }
#root .ai-guidance-inline :is(.ai-guidance-panel, .ai-guidance-tooltip) { position: static; width: 100%; max-width: 100%; transform: none; }
#root .ai-guidance-inline .ai-guidance-panel { padding: 1.25rem; margin-top: .75rem; }
#root .ai-guidance-inline .ai-guidance-panel h2 { font-size: 1.3rem; }
#root .ai-guidance-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
#root .data-tools { padding: 1rem 1.25rem; }
#root .data-tools > div { padding-top: 1rem; }
#root :is(.beta-actions, .cloud-actions) { display: flex; flex-wrap: wrap; gap: .75rem; }
#root .ui-destructive { color: var(--ui-danger); border-color: var(--ui-danger); background: var(--ui-surface); }
#root .ui-danger-zone { border-color: var(--ui-danger); margin-top: 2rem; }
#root .data-tools :is(ul, ol) { padding-left: 1.25rem; }
#root .import-differences dd { margin-left: 0; }
@media (max-width: 639px) {
  #root .header-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
  #root .header-content .brand-link { grid-column: 1; grid-row: 1; }
  #root .header-menu-toggle { display: inline-flex; grid-column: 2; grid-row: 1; }
  #root .header-content > .theme-preference { grid-row: 2; grid-column: 1 / -1; justify-self: end; }
  #root .header-content:has(.header-navigation) > .theme-preference { grid-row: 4; }
  #root .header-content:has(.header-navigation:not(.is-open)) > .theme-preference { display: none; }
  #root .header-navigation { display: none; grid-column: 1 / -1; grid-row: 3; width: 100%; border-top: 1px solid var(--ui-border); padding-top: .5rem; }
  #root .header-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: .25rem; }
  #root .header-navigation a { padding: .5rem .65rem; border-radius: .4rem; }
  #root .header-navigation a:hover { background: var(--ui-soft); }
  #root .header-back-link { grid-column: 2; }
  #root .public-actions > .button { width: 100%; }
  #root .public-steps { grid-template-columns: minmax(0, 1fr); }
  #root .public-section { padding-block: 2.5rem; }
  #root .footer-content { flex-direction: column; }
  #root .journey-header-bar .theme-preference { margin-left: auto; }
  #root .access-options-grid > .beta-card > .button { width: 100%; }
  #root .access-code-form button, #root .account-auth-page form button[type="submit"] { width: 100%; }
  #root .clientos-journey-continue { padding: 1rem; }
  #root .clientos-journey-continue .button { width: 100%; }
  #root .clientos-journey-card { padding: .85rem 1rem; }
  #root .clientos-day-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  #root .clientos-day-navigation { display: flex; flex-wrap: wrap; gap: .65rem; }
  #root .clientos-day-navigation .button { width: 100%; }
  #root .clientos-day-navigation.has-no-next-day > a:last-child { margin-left: auto; }
  #root .beta-actions > button, #root .cloud-actions > button { flex: 1 1 100%; }
  #root .ai-guidance-inline .ai-guidance-panel { padding: 1rem; }
}
@media (min-width: 640px) {
  :root { --ui-gutter: 1.5rem; --ui-page-space: 2.5rem; --ui-space: 1.25rem; }
  #root .header-content { gap: .65rem 1.25rem; }
  #root .header-navigation { display: flex; flex-wrap: wrap; margin-left: auto; }
  #root .public-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #root .clientos-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  #root .access-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #root .cloud-section { padding: 1.75rem; }
}
@media (min-width: 1024px) {
  :root { --ui-gutter: 2rem; --ui-page-space: 3rem; --ui-space: 1.5rem; }
  #root .header-content { flex-wrap: nowrap; }
  #root .header-navigation { flex-wrap: nowrap; }
  #root .clientos-journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #root .account-auth-page .journey-main { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: start; }
}
@media (min-width: 1280px) {
  #root .clientos-journey-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #root *, #root *::before, #root *::after { animation: none; transition: none; scroll-behavior: auto; }
}

/* Steprivo Client product palette. Dark text on emerald keeps action labels legible. */
:root {
  --beta-bg: #f8fafc;
  --beta-surface: #ffffff;
  --beta-subtle: #edf5f3;
  --beta-text: #0f172a;
  --beta-muted: #475569;
  --beta-border: #c5d3d5;
  --beta-accent: #047857;
  --beta-accent-hover: #065f46;
  --beta-on-accent: #f8fafc;
  --beta-focus: #047857;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

:root[data-theme="dark"] {
  --beta-bg: #0f172a;
  --beta-surface: #17233b;
  --beta-subtle: #21314b;
  --beta-text: #f8fafc;
  --beta-muted: #cbd5e1;
  --beta-border: #556781;
  --beta-accent: #34d399;
  --beta-accent-hover: #6ee7b7;
  --beta-on-accent: #0f172a;
  --beta-focus: #34d399;
}

#root .site-header, #root .journey-header, #root .site-footer {
  background: var(--beta-surface);
  border-color: var(--beta-border);
}

#root .brand-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--beta-text);
  font-weight: 800;
}

#root .brand-link::before {
  content: "";
  flex: 0 0 1.65rem;
  width: 1.65rem;
  height: 1.65rem;
  background: url("/brand/steprivo-icon-navy.svg") center / contain no-repeat;
}

:root[data-theme="light"] #root :is(.button-primary, button[type="submit"]) {
  background: #10b981;
  border-color: #10b981;
  color: #0f172a;
}
:root[data-theme="light"] #root :is(.button-primary, button[type="submit"]):hover:not(:disabled) {
  background: #34d399;
  border-color: #34d399;
  color: #0f172a;
}
