.coshc {
  --cos-blue: #2f75bb;
  --cos-blue-dark: #0759a9;
  --cos-pink: #ed008c;
  --cos-yellow: #f9ae34;
  --cos-ink: #17212b;
  --cos-muted: #65717e;
  --cos-line: #dfe7f0;
  --cos-soft: #f5f9fd;
  --cos-max: 1120px;
  max-width: var(--cos-max);
  margin: 2rem auto;
  font-family: inherit;
  line-height: 1.55;
  color: var(--cos-ink);
}

.coshc * { box-sizing: border-box; }

.coshc-app {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 690px;
  overflow: hidden;
  border: 1px solid var(--cos-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(31, 55, 77, .12);
}

.coshc-sidebar {
  padding: 30px 24px 26px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 78%);
  border-right: 1px solid var(--cos-line);
  display: flex;
  flex-direction: column;
}

.coshc-brand { margin-bottom: 22px; }
.coshc-logo { width: 100%; max-width: 230px; height: auto; display: block; }
.coshc-side-title { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; margin-bottom: 20px; }

.coshc-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 7px; }
.coshc-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 10px; color: #68727e; font-weight: 600; }
.coshc-step-num { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: #969da5; color: white; font-size: .9rem; flex: 0 0 28px; }
.coshc-steps li.is-current { background: #eaf3fc; color: var(--cos-blue-dark); }
.coshc-steps li.is-current .coshc-step-num { background: var(--cos-blue-dark); }
.coshc-steps li.is-complete .coshc-step-num { background: var(--cos-blue); }
.coshc-steps li.is-complete { color: #384654; }

.coshc-side-tools { margin-top: auto; display: grid; gap: 12px; }
.coshc-language { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.coshc-language button { border: 1px solid #a8c7e8; padding: 9px 10px; border-radius: 8px; background: white; color: var(--cos-blue-dark); font: inherit; font-weight: 700; cursor: pointer; }
.coshc-language button.is-active { background: var(--cos-blue-dark); color: white; border-color: var(--cos-blue-dark); }
.coshc-tool-btn { border: 1px solid #99bde3; background: #fff; color: var(--cos-blue-dark); min-height: 45px; border-radius: 9px; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 8px 12px; text-decoration: none; font-weight: 750; font: inherit; }
.coshc-tool-btn.is-disabled { opacity: .55; cursor: not-allowed; }
.coshc-privacy { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--cos-line); display: flex; gap: 8px; font-size: .78rem; color: #505b67; }
.coshc-lock { flex: 0 0 auto; }

.coshc-main { position: relative; padding: clamp(28px, 5vw, 58px); min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.coshc-content { max-width: 760px; width: 100%; margin: 0 auto; text-align: center; }
.coshc-mobile-top, .coshc-mobile-progress, .coshc-progressbar, .coshc-mobile-bsl { display: none; }

.coshc-hero .coshc-eyebrow { display: inline-block; color: var(--cos-blue-dark); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; font-size: .78rem; margin-bottom: 8px; }
.coshc h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; color: #111820; }
.coshc h3 { margin: 0; font-size: 1.05rem; }
.coshc-lead { font-size: 1.14rem; color: #384654; max-width: 650px; margin: 0 auto 16px; }

.coshc-brand-rule { width: 320px; max-width: 70%; height: 4px; border-radius: 999px; margin: 20px auto 10px; display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; }
.coshc-brand-rule span:nth-child(1) { background: var(--cos-blue); }
.coshc-brand-rule span:nth-child(2) { background: var(--cos-pink); }
.coshc-brand-rule span:nth-child(3) { background: var(--cos-yellow); }

.coshc-headphone-visual { width: 260px; height: 170px; margin: 18px auto 8px; position: relative; }
.coshc-headband { position: absolute; left: 45px; top: 8px; width: 170px; height: 145px; border: 16px solid #252b31; border-bottom: 0; border-radius: 95px 95px 0 0; }
.coshc-cup { position: absolute; top: 92px; width: 54px; height: 74px; border-radius: 18px; background: linear-gradient(90deg, #161a1f, #3b4249); box-shadow: inset 0 0 0 4px #101317; }
.coshc-cup.left { left: 26px; }
.coshc-cup.right { right: 26px; }
.coshc-wave { position: absolute; left: 50%; transform: translateX(-50%); bottom: 17px; color: #9ca7b1; letter-spacing: 2px; font-size: 1.25rem; }

.coshc-before { border: 1.5px solid #9cc4ee; background: linear-gradient(180deg,#f7fbff,#f0f7fe); border-radius: 15px; padding: 18px 20px; text-align: left; max-width: 620px; margin: 16px auto; }
.coshc-before h3 { text-align: center; color: var(--cos-blue-dark); margin-bottom: 10px; }
.coshc-check-grid { display: grid; gap: 7px; max-width: 450px; margin: 0 auto; }
.coshc-check-item { display: flex; gap: 9px; align-items: center; }
.coshc-check-icon { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--cos-blue-dark); color: white; font-size: .75rem; font-weight: 900; flex: 0 0 22px; }

.coshc-note, .coshc-tip, .coshc-alert, .coshc-result { border-radius: 13px; padding: 15px 17px; margin: 18px auto; text-align: left; max-width: 680px; }
.coshc-note { background: #f7f9fb; border: 1px solid #dfe5eb; color: #4c5865; }
.coshc-tip { display: flex; gap: 12px; align-items: flex-start; background: #fff9ed; border: 1px solid #f2ce84; color: #59491f; }
.coshc-alert { background: #fff1f6; border: 2px solid var(--cos-pink); }
.coshc-result.is-positive { background: #f1f8ff; border: 1.5px solid #9fc9ee; }
.coshc-result.is-review { background: #fff9ed; border: 1.5px solid #f2c870; }

.coshc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.coshc-actions-center { justify-content: center; }
.coshc-actions-split > * { flex: 1 1 220px; }

.coshc-btn { appearance: none; border: 2px solid var(--cos-blue-dark); border-radius: 10px; padding: 14px 21px; min-height: 54px; background: linear-gradient(180deg,#126bc2,#0759a9); color: white; font: inherit; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 5px 13px rgba(7,89,169,.16); transition: transform .12s ease, box-shadow .12s ease; }
.coshc-btn-secondary { background: #fff; color: var(--cos-blue-dark); box-shadow: none; }
.coshc-btn:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(7,89,169,.2); }
.coshc-btn:focus-visible, .coshc-language button:focus-visible, .coshc-tool-btn:focus-visible, .coshc a:focus-visible, .coshc summary:focus-visible { outline: 4px solid #111; outline-offset: 3px; }

.coshc-screen-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; display: grid; place-items: center; font-size: 2rem; font-weight: 900; }
.coshc-screen-icon-blue { color: var(--cos-blue-dark); background: #e9f4ff; }
.coshc-screen-icon-pink { color: #b10067; background: #ffe6f4; }
.coshc-screen-icon-yellow { color: #7b5410; background: #fff0ce; }

.coshc-ear-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin: 30px auto 12px; max-width: 650px; }
.coshc-ear-card { border: 1.5px solid #bfd7ef; border-radius: 18px; padding: 24px 18px; background: #fbfdff; display: grid; justify-items: center; gap: 14px; }
.coshc-ear-illustration { font-size: 4.2rem; line-height: 1; }
.coshc-flip { transform: scaleX(-1); }

.coshc-test-head { display: flex; justify-content: space-between; gap: 12px; max-width: 600px; margin: 0 auto 8px; font-weight: 750; color: #56616d; }
.coshc-test-progress { max-width: 600px; height: 9px; border-radius: 999px; background: #e7edf3; margin: 0 auto 28px; overflow: hidden; }
.coshc-test-progress span { display: block; height: 100%; background: linear-gradient(90deg,var(--cos-blue),var(--cos-pink),var(--cos-yellow)); border-radius: inherit; transition: width .25s ease; }
.coshc-ear-badge { display: inline-block; background: #edf5fd; color: var(--cos-blue-dark); font-weight: 800; border-radius: 999px; padding: 7px 14px; margin-bottom: 18px; }

.coshc-listen-orb { position: relative; width: 150px; height: 150px; border-radius: 50%; background: #eef6fe; margin: 0 auto 18px; display: grid; place-items: center; }
.coshc-note-symbol { z-index: 2; color: var(--cos-blue-dark); font-size: 3rem; font-weight: 900; }
.coshc-ripple { position: absolute; border: 2px solid #9bc5ed; border-radius: 50%; inset: 25px; opacity: .7; }
.coshc-ripple.r2 { inset: 13px; opacity: .45; }
.coshc-ripple.r3 { inset: 1px; opacity: .22; }
.coshc-listen-title { font-size: 2rem !important; }
.coshc-frequency { font-weight: 800; color: var(--cos-muted); margin-top: -5px; }

.coshc-score-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; max-width: 600px; margin: 25px auto; }
.coshc-score-card { border: 1.5px solid #c8ddec; border-radius: 16px; padding: 20px; background: #f8fbfe; display: grid; gap: 6px; }
.coshc-score-card span { color: #607080; font-weight: 700; }
.coshc-score-card strong { font-size: 2rem; color: var(--cos-blue-dark); }

.coshc-details { margin: 22px auto; max-width: 700px; text-align: left; border-top: 1px solid var(--cos-line); border-bottom: 1px solid var(--cos-line); padding: 12px 0; }
.coshc-details summary { cursor: pointer; font-weight: 800; color: var(--cos-blue-dark); padding: 8px; }
.coshc-table-wrap { overflow-x: auto; }
.coshc table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.coshc th, .coshc td { border-bottom: 1px solid var(--cos-line); padding: 10px; text-align: left; }
.coshc-response.heard { color: #126c3d; font-weight: 800; }
.coshc-response.missed { color: #9d3153; font-weight: 800; }
.coshc-small { font-size: .9rem; color: var(--cos-muted); max-width: 680px; margin-inline: auto; }
.coshc-help { text-align: center; margin: 22px 0 0; font-size: .92rem; }
.coshc-help a { color: var(--cos-blue-dark); font-weight: 750; }
.coshc-status { min-height: 1.5rem; margin-top: 12px; text-align: center; color: #9d3153; font-weight: 750; }

@media (prefers-reduced-motion: no-preference) {
  .coshc-listen-orb .r1 { animation: coshc-ring 1.6s ease-in-out infinite; }
  .coshc-listen-orb .r2 { animation: coshc-ring 1.6s .18s ease-in-out infinite; }
  .coshc-listen-orb .r3 { animation: coshc-ring 1.6s .36s ease-in-out infinite; }
  @keyframes coshc-ring { 50% { transform: scale(1.08); opacity: .15; } }
}

@media (max-width: 780px) {
  .coshc { margin: 1rem auto; }
  .coshc-app { display: block; min-height: 0; border-radius: 18px; }
  .coshc-sidebar { display: none; }
  .coshc-main { padding: 20px 18px 28px; }
  .coshc-mobile-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
  .coshc-mobile-brand { max-width: 205px; }
  .coshc-mobile-brand .coshc-logo { max-width: 205px; }
  .coshc-mobile-top .coshc-language { display: flex; }
  .coshc-mobile-top .coshc-language button { padding: 7px 9px; font-size: .82rem; }
  .coshc-mobile-progress { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: #52606d; font-size: .84rem; font-weight: 750; }
  .coshc-progressbar { display: block; height: 5px; background: #e7edf3; border-radius: 999px; overflow: hidden; margin: 8px 0 28px; }
  .coshc-progressbar span { display: block; height: 100%; background: linear-gradient(90deg,var(--cos-blue),var(--cos-pink),var(--cos-yellow)); }
  .coshc-mobile-bsl { display: block; max-width: 300px; margin: 20px auto 0; }
  .coshc h2 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
}

@media (max-width: 540px) {
  .coshc-mobile-top { align-items: flex-start; }
  .coshc-mobile-brand { max-width: 170px; }
  .coshc-mobile-brand .coshc-logo { max-width: 170px; }
  .coshc-mobile-top .coshc-language { display: grid; grid-template-columns: 1fr; }
  .coshc-headphone-visual { transform: scale(.86); margin-top: 4px; margin-bottom: -4px; }
  .coshc-ear-grid, .coshc-score-grid { grid-template-columns: 1fr; }
  .coshc-actions-split { display: grid; grid-template-columns: 1fr; }
  .coshc-actions-split > * { width: 100%; }
  .coshc-before { padding: 16px; }
}

@media (prefers-contrast: more) {
  .coshc-app, .coshc-before, .coshc-note, .coshc-tip, .coshc-ear-card, .coshc-score-card { border-width: 2px; border-color: #111; }
}

@media print {
  .coshc-sidebar, .coshc-mobile-top, .coshc-mobile-progress, .coshc-progressbar, .coshc-mobile-bsl, .coshc-actions, .coshc-help { display:none !important; }
  .coshc-app { display:block; box-shadow:none; border:0; min-height:0; }
  .coshc-main { padding:0; }
}

/* Phase 3: integrated BSL and accessibility */

.coshc-mobile-tools {
  display: none;
}

.coshc-keyboard-hint {
  max-width: 680px;
  margin: 18px auto 0;
  text-align: center;
  font-size: .82rem;
  color: var(--cos-muted);
}

.coshc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(13, 24, 34, .68);
  display: grid;
  place-items: center;
  padding: 20px;
}

.coshc-modal {
  width: min(760px, 100%);
  max-height: min(88vh, 780px);
  overflow: auto;
  background: #fff;
  color: var(--cos-ink);
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0,0,0,.3);
  border: 2px solid var(--cos-line);
}

.coshc-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--cos-line);
}

.coshc-modal-head h2 {
  font-size: 1.55rem;
  margin: 0;
}

.coshc-modal-close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--cos-blue-dark);
  background: white;
  color: var(--cos-blue-dark);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.coshc-modal-close:focus-visible {
  outline: 4px solid #111;
  outline-offset: 3px;
}

.coshc-modal-body {
  padding: 22px;
}

.coshc-bsl-video {
  display: block;
  width: 100%;
  max-height: 62vh;
  background: #111;
  border-radius: 14px;
}

.coshc-empty-video {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 30px;
  border: 2px dashed #9cbddd;
  border-radius: 14px;
  background: #f7fbff;
  text-align: center;
}

.coshc-empty-video > span {
  font-size: 3rem;
}

.coshc-access-options {
  display: grid;
  gap: 14px;
}

.coshc-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--cos-line);
  border-radius: 12px;
  padding: 15px 16px;
  font-weight: 750;
}

.coshc-switch-row input {
  width: 26px;
  height: 26px;
  accent-color: var(--cos-blue-dark);
}

.coshc-large-text {
  font-size: 118%;
}

.coshc-large-text .coshc-app {
  grid-template-columns: 315px minmax(0, 1fr);
}

.coshc-high-contrast {
  --cos-blue: #0059b3;
  --cos-blue-dark: #003d7a;
  --cos-pink: #b00064;
  --cos-yellow: #7a4b00;
  --cos-ink: #000;
  --cos-muted: #111;
  --cos-line: #000;
}

.coshc-high-contrast .coshc-app,
.coshc-high-contrast .coshc-ear-card,
.coshc-high-contrast .coshc-before,
.coshc-high-contrast .coshc-note,
.coshc-high-contrast .coshc-tip,
.coshc-high-contrast .coshc-score-card,
.coshc-high-contrast .coshc-modal {
  border-color: #000;
  border-width: 2px;
}

.coshc-high-contrast .coshc-btn {
  border-color: #000;
  box-shadow: none;
}

.coshc-reduce-motion *,
.coshc-reduce-motion *::before,
.coshc-reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

@media (max-width: 780px) {
  .coshc-mobile-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 520px;
    margin: 18px auto 0;
  }

  .coshc-mobile-tools .coshc-tool-btn {
    min-width: 0;
  }

  .coshc-keyboard-hint {
    font-size: .78rem;
    padding-inline: 8px;
  }

  .coshc-large-text .coshc-app {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .coshc-mobile-tools {
    grid-template-columns: 1fr;
  }

  .coshc-modal-backdrop {
    padding: 10px;
  }

  .coshc-modal {
    border-radius: 14px;
    max-height: 94vh;
  }

  .coshc-modal-head,
  .coshc-modal-body {
    padding: 16px;
  }
}

@media print {
  .coshc-modal-host,
  .coshc-mobile-tools,
  .coshc-keyboard-hint {
    display: none !important;
  }
}


/* Phase 4: adaptive screening visuals */

.coshc-relative-level {
  max-width: 420px;
  margin: 14px auto 8px;
  padding: 12px 14px;
  border: 1px solid var(--cos-line);
  border-radius: 12px;
  background: #f8fbfe;
  display: grid;
  gap: 7px;
  text-align: center;
}

.coshc-relative-level > span {
  font-weight: 750;
  color: #40505f;
}

.coshc-relative-level small {
  color: var(--cos-muted);
}

.coshc-level-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
}

.coshc-level-dots span {
  width: 28px;
  height: 9px;
  border-radius: 999px;
  background: #d8e1ea;
}

.coshc-level-dots span.is-on {
  background: var(--cos-blue-dark);
}

.coshc-repeat-note {
  display: inline-block;
  max-width: 520px;
  margin: 0 auto 15px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff5df;
  border: 1px solid #e7bd67;
  color: #5d471b;
  font-size: .88rem;
  font-weight: 750;
}

.coshc-score-card small {
  color: var(--cos-muted);
  font-weight: 700;
}

.coshc-high-contrast .coshc-relative-level,
.coshc-high-contrast .coshc-repeat-note {
  border-color: #000;
}

@media (max-width: 540px) {
  .coshc-level-dots span {
    width: 22px;
  }
}


/* Phase 5: speech-in-noise module */
.coshc-speech-orb {
  width: 150px;
  height: 150px;
  margin: 10px auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,#fce6f3,#eef6fe);
  border: 2px solid #d7a7c7;
  position: relative;
  overflow: hidden;
}

.coshc-speech-orb::before,
.coshc-speech-orb::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 2px;
  background: repeating-linear-gradient(90deg,var(--cos-blue) 0 8px,transparent 8px 14px,var(--cos-pink) 14px 22px,transparent 22px 28px);
  opacity: .42;
}

.coshc-speech-orb::before { transform: rotate(18deg); }
.coshc-speech-orb::after { transform: rotate(-18deg); }

.coshc-speech-orb span {
  z-index: 2;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--cos-blue-dark);
  background: rgba(255,255,255,.9);
  padding: 10px 12px;
  border-radius: 10px;
}

.coshc-digit-entry {
  display: grid;
  grid-template-columns: minmax(150px,240px) auto;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  margin: 20px auto;
}

.coshc-digit-entry input {
  width: 100%;
  min-height: 58px;
  border: 2px solid var(--cos-blue-dark);
  border-radius: 10px;
  font: inherit;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-align: center;
  padding: 8px 12px;
  color: var(--cos-ink);
  background: #fff;
}

.coshc-digit-entry input:focus-visible {
  outline: 4px solid #111;
  outline-offset: 3px;
}

.coshc-speech-score {
  max-width: 600px;
  margin: 16px auto 22px;
  border: 1.5px solid #d6b5ca;
  border-radius: 16px;
  padding: 18px 20px;
  background: #fff7fb;
  display: grid;
  gap: 5px;
}

.coshc-speech-score > span {
  font-weight: 750;
  color: #6f4b61;
}

.coshc-speech-score > strong {
  font-size: 2rem;
  color: var(--cos-pink);
}

.coshc-speech-score > small {
  color: var(--cos-muted);
  font-weight: 650;
}

@media (max-width: 540px) {
  .coshc-digit-entry {
    grid-template-columns: 1fr;
  }
}


/* Phase 6: bilingual speech materials */
.coshc-speech-language {
  display: inline-block;
  margin: -4px auto 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #eef6fe;
  color: var(--cos-blue-dark);
  font-size: .9rem;
  font-weight: 800;
}

.coshc-high-contrast .coshc-speech-language {
  border: 2px solid #000;
  background: #fff;
  color: #000;
}


/* Phase 7: richer result interpretation and signposting */

.coshc-result-hero {
  max-width: 730px;
  margin: 0 auto 26px;
  padding: 22px 24px;
  border-radius: 20px;
}

.coshc-result-hero.clear {
  background: linear-gradient(180deg,#f4faff,#eef7ff);
  border: 1.5px solid #9fc9ee;
}

.coshc-result-hero.review {
  background: linear-gradient(180deg,#fffaf0,#fff4dc);
  border: 1.5px solid #e6b24e;
}

.coshc-result-kicker {
  display: block;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .78rem;
  font-weight: 850;
  color: var(--cos-blue-dark);
  margin-bottom: 8px;
}

.coshc-result-overview {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin: 22px auto;
  max-width: 760px;
}

.coshc-result-metric {
  border: 1.5px solid #ccdcea;
  border-radius: 15px;
  padding: 17px 14px;
  background: #fff;
  display: grid;
  gap: 5px;
}

.coshc-result-metric > span {
  font-size: .86rem;
  font-weight: 750;
  color: #586776;
}

.coshc-result-metric > strong {
  font-size: 1.8rem;
  color: var(--cos-blue-dark);
}

.coshc-result-metric > small {
  font-weight: 700;
  color: var(--cos-muted);
}

.coshc-asymmetry-banner {
  max-width: 730px;
  margin: 18px auto;
  padding: 16px 18px;
  border-radius: 13px;
  border-left: 6px solid var(--cos-pink);
  background: #fff2f9;
  text-align: left;
  display: grid;
  gap: 5px;
}

.coshc-next-section {
  max-width: 760px;
  margin: 30px auto 20px;
  padding-top: 22px;
  border-top: 1px solid var(--cos-line);
  text-align: left;
}

.coshc-next-section h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--cos-ink);
}

.coshc-next-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}

.coshc-next-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  border: 2px solid #9bc2e8;
  border-radius: 14px;
  padding: 14px;
  color: var(--cos-blue-dark);
  background: #f8fbff;
  text-decoration: none;
}

.coshc-next-card:hover {
  background: #eef6fe;
}

.coshc-next-card > span:last-child {
  display: grid;
  gap: 2px;
}

.coshc-next-card small {
  color: var(--cos-muted);
}

.coshc-next-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--cos-blue-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 45px;
}

.coshc-next-cos .coshc-next-icon {
  background: var(--cos-pink);
  font-size: .8rem;
}

.coshc-urgent-reminder {
  max-width: 760px;
  margin: 24px auto;
  padding: 17px 18px;
  border: 2px solid var(--cos-pink);
  border-radius: 14px;
  background: #fff5fa;
  text-align: left;
  display: grid;
  gap: 10px;
}

.coshc-urgent-reminder a {
  justify-self: start;
  font-weight: 850;
  color: #8c0052;
}

.coshc-disclaimer-stack {
  max-width: 730px;
  margin: 18px auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f5f7f9;
  color: #596673;
  font-size: .86rem;
  text-align: left;
}

.coshc-disclaimer-stack p {
  margin: 5px 0;
}

.coshc-route-status {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: .82rem;
  font-weight: 800;
}

.coshc-route-status.clear {
  background: #eaf6ff;
  color: #0759a9;
}

.coshc-route-status.review {
  background: #fff0d3;
  color: #75500e;
}

@media (max-width: 680px) {
  .coshc-result-overview {
    grid-template-columns: 1fr;
  }

  .coshc-next-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .coshc-urgent-reminder a {
    color: #000;
  }
}


/* Phase 8: age pathways */

.coshc-pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 15px;
  max-width: 720px;
  margin: 28px auto 0;
}

.coshc-pathway-card {
  appearance: none;
  position: relative;
  min-height: 170px;
  padding: 24px 18px 20px;
  border: 2px solid #bfd5ea;
  border-radius: 18px;
  background: linear-gradient(180deg,#fff,#f7fbff);
  color: var(--cos-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: grid;
  align-content: center;
  gap: 5px;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.coshc-pathway-card:hover {
  transform: translateY(-2px);
  border-color: var(--cos-blue-dark);
  box-shadow: 0 10px 25px rgba(7,89,169,.1);
}

.coshc-pathway-card:focus-visible {
  outline: 4px solid #111;
  outline-offset: 3px;
}

.coshc-pathway-card strong {
  font-size: 1.35rem;
  color: var(--cos-blue-dark);
}

.coshc-pathway-card small {
  font-size: .95rem;
  color: var(--cos-muted);
}

.coshc-pathway-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eaf4fe;
  color: var(--cos-blue-dark);
  font-size: .78rem;
  font-weight: 850;
}

.coshc-pathway-action {
  margin-top: 10px;
  font-weight: 800;
  color: var(--cos-pink);
}

.coshc-child-notice,
.coshc-child-result-note {
  max-width: 690px;
  margin: 16px auto;
  padding: 15px 17px;
  border-radius: 13px;
  background: #fff8e8;
  border: 1.5px solid #efc86f;
  text-align: left;
  color: #51431f;
}

.coshc-result-overview.is-two {
  grid-template-columns: repeat(2,1fr);
  max-width: 600px;
}

.coshc-high-contrast .coshc-pathway-card,
.coshc-high-contrast .coshc-child-notice,
.coshc-high-contrast .coshc-child-result-note {
  border-color: #000;
}

@media (max-width: 600px) {
  .coshc-pathway-grid {
    grid-template-columns: 1fr;
  }

  .coshc-pathway-card {
    min-height: 135px;
  }

  .coshc-result-overview.is-two {
    grid-template-columns: 1fr;
  }
}
