/*
 * v1.5 Mobile M4 — enterprise-growth Case Hybrid Tablet architecture.
 *
 * This file owns only 621–900px. It recomposes the existing canonical DOM;
 * no Case copy, Phone layout, Desktop layout, asset, or script is changed.
 */

@media (min-width: 621px) and (max-width: 900px) {
  /* Quiet, complete Case navigation with touch-safe targets. */
  .preview-masthead .growth-shell {
    min-height: 4rem;
    gap: 1rem;
  }

  .preview-masthead .preview-wordmark,
  .preview-masthead .preview-back {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
  }

  .preview-masthead .preview-back {
    justify-content: flex-end;
    font-size: .7rem;
    text-align: right;
  }

  /* Case opening and M3A story retain one continuous reading sequence. */
  .preview-section.preview-detail {
    padding-block: clamp(3.5rem, 7vw, 4.75rem) clamp(5rem, 8vw, 6rem);
  }

  .preview-detail-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .preview-detail-header h1 {
    max-width: 14ch;
    margin-top: 1.25rem;
    font-size: clamp(3.4rem, 8.3vw, 4.65rem);
    line-height: .92;
  }

  .preview-detail-header .goal24-detail-meta {
    gap: .35rem;
    justify-items: start;
    text-align: left;
  }

  .preview-detail-header .preview-meta {
    font-size: .72rem;
    text-align: left;
  }

  .preview-detail-header .goal24-confidentiality {
    color: var(--growth-stone);
    font-size: .94rem;
    line-height: 1.45;
  }

  .preview-detail-header .preview-marker,
  .preview-detail-intro > .preview-label,
  .goal24-detail-judgment > .preview-label,
  .goal24-detail-artifact > .preview-label {
    font-size: .72rem;
  }

  .preview-detail-intro,
  .preview-validation.goal24-detail-judgment {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 1rem;
  }

  .preview-detail-intro .goal24-detail-headline,
  .goal24-change-intro .goal24-detail-headline,
  .goal24-detail-judgment .detail-judgment-primary {
    max-width: 26ch;
    font-size: clamp(2rem, 4.8vw, 2.55rem);
    line-height: 1.03;
  }

  .preview-detail-intro > div > p:last-child,
  .preview-detail .goal24-detail-judgment p.detail-judgment-support:last-child,
  .goal24-change-intro > p:last-child {
    max-width: 40rem;
    color: #5c5f59;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.58;
  }

  .goal24-detail-question-shift {
    gap: .6rem;
    margin-top: 1.5rem;
    padding-block: .95rem;
  }

  .goal24-detail-question-shift span {
    font-size: .95rem;
  }

  .goal24-detail-question-shift strong {
    max-width: 29ch;
    font-size: 1.25rem;
    line-height: 1.18;
  }

  .preview-detail-artifact.goal24-detail-artifact {
    margin-top: 4rem;
    padding-top: 1rem;
  }

  .goal24-change-intro {
    gap: 1rem;
    margin-top: 1.15rem;
  }

  .goal24-detail-routing {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 2.4rem;
    padding-top: 1rem;
  }

  .goal24-detail-route {
    position: relative;
    min-height: 0;
    padding-block: .9rem 1.1rem;
    border-top: 0;
    border-bottom: 1px solid var(--growth-rule);
  }

  .goal24-detail-route-before {
    color: #666861;
  }

  .goal24-detail-route-before::after,
  .goal24-detail-route-evidence::after {
    position: absolute;
    z-index: 2;
    bottom: -.58rem;
    left: 50%;
    padding-inline: .35rem;
    background: var(--growth-paper);
    color: var(--growth-stone);
    content: "↓";
    font-size: .82rem;
    line-height: 1;
    pointer-events: none;
  }

  .goal24-zone-label,
  .goal24-detail-route-after .goal25-guardrails {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.4;
  }

  .goal24-zone-title {
    margin-top: .3rem;
    font-size: .88rem;
    font-weight: 650;
    letter-spacing: .08em;
    line-height: 1.3;
  }

  .goal24-route-line {
    margin-top: .95rem;
    font-size: 1rem;
    line-height: 1.4;
  }

  .goal24-detail-route-before .goal24-zone-note,
  .m3a-routing-close {
    display: block;
    max-width: 35ch;
    margin-top: .55rem;
    color: #5c5f59;
    font-size: .94rem;
    line-height: 1.45;
  }

  .goal24-detail-route-evidence ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 1rem;
    border-bottom: 1px solid var(--growth-rule-soft);
  }

  .goal24-detail-route-evidence li {
    min-width: 0;
    padding: .6rem .7rem .6rem 0;
    border-top: 1px solid var(--growth-rule-soft);
    font-size: 1rem;
    line-height: 1.28;
  }

  .goal24-detail-route-evidence li:nth-child(even) {
    padding-right: 0;
    padding-left: .8rem;
    border-left: 1px solid var(--growth-rule-soft);
  }

  .goal24-detail-route-after ul {
    gap: 0;
    margin-top: .8rem;
  }

  .goal24-detail-route-after li {
    padding-block: .62rem;
    font-size: 1rem;
    line-height: 1.32;
  }

  .goal24-detail-route-after .goal25-lighter-route {
    margin-block: .15rem;
    padding: .62rem .3rem .68rem .8rem;
    border-left: 2px solid var(--growth-ink);
  }

  .goal24-detail-route-after .goal25-lighter-route > span {
    font-weight: 620;
  }

  .goal24-detail-route-after .goal25-lighter-route small {
    max-width: 35ch;
    margin-top: .35rem;
    color: #5c5f59;
    font-size: .92rem;
    line-height: 1.42;
  }

  .goal24-detail-route-after .goal25-guardrails {
    max-width: 36ch;
    margin-top: .55rem;
    padding-top: .5rem;
    border-top: 1px solid var(--growth-rule-soft);
    color: #5c5f59;
  }

  .goal24-detail-route-chain {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .35rem 1rem;
    padding-block: 1rem .15rem;
    font-size: .72rem;
    letter-spacing: .1em;
    line-height: 1.4;
  }

  .goal24-detail-route-chain b {
    align-self: center;
    justify-self: end;
    font-size: .9rem;
    line-height: 1;
  }

  /* PTE opening: one deep-read framework, never a reduced desktop strip. */
  .w21-framework {
    padding-top: 1.25rem;
  }

  .w21-framework-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .w21-framework-header .preview-label,
  .w21-zone-index,
  .w21-mini-label,
  .w22-pte-visual > p span,
  .w21-rule-note span,
  .w21-before-next span,
  .w21-proxy-note span,
  .w22-filter-visual > p span,
  .w22-capture-input span,
  .w23-loop-function,
  .w22-loop-return strong,
  .goal24-role-label,
  .goal25-validation-label {
    min-height: 0;
    font-size: .72rem;
    letter-spacing: .12em;
    line-height: 1.4;
  }

  .w21-framework-header h2 {
    max-width: 12ch;
    margin-top: 1rem;
    font-size: clamp(2.4rem, 5.4vw, 3rem);
    line-height: .95;
  }

  .w21-framework-subtitle {
    max-width: 40rem;
    color: #5c5f59;
    font-size: 1rem;
    line-height: 1.58;
  }

  /* 621–699 uses the approved vertical semantics with tablet reading widths. */
  .w21-topology {
    display: block;
    margin-top: 2.75rem;
    border-block: 1px solid var(--growth-rule);
    border-bottom: 0;
  }

  .w21-zone,
  .w21-zone:first-child,
  .w21-zone:last-child {
    position: relative;
    padding: 1.5rem 0 3rem;
    border-top: 1px solid var(--growth-rule);
    border-left: 0;
  }

  .w21-zone:first-child {
    border-top: 0;
  }

  .w21-zone:not(:first-child)::before {
    position: absolute;
    z-index: 2;
    display: block;
    top: -.42rem;
    right: auto;
    bottom: auto;
    left: .4rem;
    width: auto;
    height: auto;
    padding-inline: .3rem;
    border: 0;
    border-radius: 0;
    background: var(--growth-paper);
    color: var(--growth-stone);
    content: "↓";
    font-size: .8rem;
    line-height: 1;
    pointer-events: none;
  }

  .w21-zone::after {
    display: none;
  }

  .w21-zone-index {
    color: var(--growth-ink);
  }

  .w21-zone h3 {
    max-width: 26ch;
    margin-top: 1.15rem;
    font-size: clamp(1.8rem, 4vw, 2.15rem);
    line-height: 1.03;
  }

  /* 01 / nested Person-Team-Enterprise model. */
  .w22-pte-visual {
    min-height: 13.75rem;
    max-width: 19rem;
    margin-top: 1.8rem;
    padding-bottom: 3rem;
  }

  .w22-pte-enterprise {
    width: 10rem;
    height: 10rem;
  }

  .w22-pte-team {
    width: 7rem;
    height: 7rem;
  }

  .w22-pte-person {
    width: 4rem;
    height: 4rem;
  }

  .w22-pte-level > span {
    font-size: 1.1rem;
  }

  .w22-pte-visual > p {
    gap: .35rem;
    padding-top: .7rem;
    text-align: left;
  }

  .w22-pte-visual > p strong,
  .w21-rule-note strong,
  .w21-before-next strong,
  .w22-filter-visual > p strong,
  .w22-capture-input strong {
    font-size: .96rem;
    line-height: 1.35;
  }

  .w21-rule-note {
    gap: .55rem;
    margin-top: 1.6rem;
    padding-top: .9rem;
  }

  .w21-tension {
    margin-top: 1.9rem;
    padding-top: .9rem;
  }

  .w21-tension > p:last-child,
  .w21-zone-statement,
  .w21-question {
    max-width: 38rem;
    font-size: .96rem;
    line-height: 1.5;
  }

  .w21-tension > p:last-child {
    margin-top: .7rem;
  }

  .w21-tension > p:last-child span,
  .w21-paired-terms b {
    font-size: .72rem;
  }

  .w21-paired-terms {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .75rem;
    margin-top: 1.7rem;
    padding-top: .95rem;
  }

  .w21-paired-terms span {
    font-size: .84rem;
    line-height: 1.3;
  }

  /* 02 / evidence and qualification funnel. */
  .w21-before-next {
    gap: 0;
    margin-top: 1.8rem;
  }

  .w21-before-next > div {
    position: relative;
    gap: .4rem;
    padding: .85rem 0 .95rem;
    border-top: 1px solid var(--growth-rule-soft);
  }

  .w21-before-next > div:first-child::after {
    position: absolute;
    z-index: 2;
    bottom: -.55rem;
    left: 0;
    padding-right: .35rem;
    background: var(--growth-paper);
    color: var(--growth-stone);
    content: "↓";
    font-size: .8rem;
  }

  .w22-filter-visual {
    margin-top: 1.4rem;
    padding-block: 1rem 1.15rem;
  }

  .w22-proxy-inputs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
  }

  .w22-proxy-inputs span {
    display: grid;
    min-height: 2.75rem;
    padding: .45rem .25rem;
    place-items: center;
    font-size: .72rem;
    letter-spacing: .01em;
    line-height: 1.22;
  }

  .w22-filter-stack {
    gap: .3rem;
    margin-top: .75rem;
  }

  .w22-filter-stack span {
    min-height: 2.3rem;
    font-size: .72rem;
    letter-spacing: .035em;
  }

  .w21-zone-statement {
    margin-top: 1.7rem;
  }

  .w21-funnel {
    margin-top: 1.9rem;
  }

  .w21-funnel > .w21-mini-label {
    padding-top: .9rem;
  }

  .w21-funnel ol {
    margin-top: .75rem;
  }

  .w21-funnel li {
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: .7rem;
    padding: .9rem 0 1rem;
  }

  .w21-funnel li span {
    font-size: .82rem;
  }

  .w21-funnel li strong {
    max-width: 31ch;
    font-size: .96rem;
    line-height: 1.38;
  }

  .w21-proxy-note {
    margin-top: 1.3rem;
    padding-top: .95rem;
    font-size: .86rem;
    line-height: 1.52;
  }

  /* 03 / layer thesis and canonical A → B → C sequence. */
  .w21-zone-layers,
  .w21-zone-layers:first-child,
  .w21-zone-layers:last-child {
    padding-inline: 0;
  }

  .w22-abc-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.5rem;
    padding: .25rem 0;
  }

  .w22-abc-flow li {
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: .75rem;
    min-height: 3.35rem;
    padding: .7rem 2rem .7rem 0;
    border-top: 1px solid var(--growth-rule-soft);
  }

  .w22-abc-flow li:first-child {
    border-top: 0;
  }

  .w22-abc-flow li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -.48rem;
    left: .38rem;
    transform: none;
    padding-inline: .2rem;
    background: var(--growth-paper);
    content: "↓";
    font-size: .8rem;
  }

  .w22-abc-flow span {
    width: 1.6rem;
    height: 1.6rem;
    font-size: .76rem;
  }

  .w22-abc-flow strong {
    font-size: .84rem;
    letter-spacing: .05em;
    line-height: 1.32;
  }

  .w21-layer-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 2rem;
    border-block: 1px solid var(--growth-rule);
    border-bottom: 0;
  }

  .w21-layer,
  .w21-layer:first-child,
  .w21-layer:last-child {
    position: relative;
    padding: 1.5rem 0 3rem;
    border-top: 1px solid var(--growth-rule);
    border-left: 0;
  }

  .w21-layer:first-child {
    border-top: 0;
  }

  .w21-layer:last-child {
    padding-bottom: 2rem;
  }

  .w21-layer:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    bottom: -.72rem;
    left: .4rem;
    padding-inline: .3rem;
    background: var(--growth-paper);
    color: var(--growth-stone);
    content: "↓";
    font-size: .8rem;
  }

  .w21-layer-heading {
    grid-template-columns: 2.1rem minmax(0, 1fr);
    gap: .8rem;
  }

  .w21-layer-heading > span {
    width: 2rem;
    height: 2rem;
    font-size: .84rem;
  }

  .w21-layer-heading h4 {
    max-width: 27ch;
    margin-top: .5rem;
    font-size: 1.32rem;
    line-height: 1.1;
  }

  .w21-layer-group {
    margin-top: 1.45rem;
    padding-top: .9rem;
  }

  .w21-layer-group > p:last-child {
    max-width: 38rem;
    margin-top: .55rem;
    font-size: .92rem;
    line-height: 1.55;
  }

  .w21-question {
    margin-top: 1.7rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--growth-rule);
    color: var(--growth-ink);
    font-weight: 560;
  }

  .w22-journey-rail {
    margin-top: .85rem;
    margin-left: .45rem;
    padding-left: .8rem;
  }

  .w22-journey-rail li {
    min-height: 2.4rem;
    padding: .38rem .25rem .38rem .5rem;
    font-size: .9rem;
    line-height: 1.25;
  }

  .w21-mechanisms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.55rem;
    padding-top: .9rem;
  }

  .w21-mechanisms > .w21-mini-label {
    grid-column: auto;
    margin-bottom: .6rem;
  }

  .w21-mechanisms > div {
    padding: .95rem 0 1.05rem;
    border: 0;
    border-top: 1px solid var(--growth-rule-soft);
    background: transparent;
  }

  .w21-mechanisms strong {
    max-width: 31ch;
    font-size: .84rem;
    line-height: 1.38;
  }

  .w21-mechanisms span,
  .w21-mechanisms p:last-child {
    margin-top: .45rem;
    font-size: .88rem;
    line-height: 1.48;
  }

  .w22-capture-architecture {
    margin-top: 1.55rem;
    padding-left: 0;
    border-left: 0;
  }

  .w22-capture-input {
    gap: .45rem;
    padding: .9rem .95rem 1rem;
  }

  .w22-capture-architecture .w21-layer-group {
    margin-top: 0;
    padding: .95rem 0 1.05rem;
    border: 0;
    border-top: 1px solid var(--growth-rule-soft);
  }

  .w22-capture-architecture .w21-layer-group::before {
    display: none;
  }

  .w22-capture-architecture .w21-layer-group:not(:last-child)::after {
    display: block;
    margin-top: .8rem;
    color: var(--growth-stone);
    content: "↓";
    font-size: .78rem;
  }

  /* One clean transition from Layer C into the full-width learning loop. */
  .w21-feedback-loop {
    margin-top: 2.75rem;
    padding: 1.25rem 0 1.45rem;
  }

  .w23-loop-heading {
    display: grid;
    gap: .35rem;
    align-items: start;
    justify-content: start;
  }

  .w21-feedback-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.15rem;
  }

  .w21-feedback-steps span {
    position: relative;
    max-width: none;
    padding: .8rem 1.8rem .85rem 0;
    border-top: 1px solid var(--growth-rule-soft);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.42;
  }

  .w21-feedback-steps span:not(:last-of-type)::after {
    position: absolute;
    right: .25rem;
    bottom: -.48rem;
    padding-inline: .25rem;
    background: var(--growth-paper);
    color: var(--growth-stone);
    content: "↓";
    font-size: .78rem;
  }

  .w21-feedback-steps b {
    display: none;
  }

  .w22-loop-return {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: .7rem;
    margin: 1.05rem 0 0;
    padding: .95rem 0 0;
    border-top: 1px solid var(--growth-ink);
  }

  .w22-loop-return > span {
    display: none;
  }

  .w22-loop-return small {
    font-size: .76rem;
    letter-spacing: .09em;
    line-height: 1.4;
  }

  .w21-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: .8rem;
    margin-top: 2rem;
    padding-top: 1rem;
  }

  .w21-summary > p:last-child {
    max-width: 40rem;
    font-size: 1rem;
    line-height: 1.58;
  }

  /* Ownership and evidence close the Case at full reading size. */
  .preview-detail .preview-validation.goal24-detail-role,
  .preview-detail .preview-validation.goal24-detail-validation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    margin-top: 4.5rem;
    padding-top: 1rem;
  }

  .goal24-detail-role > .preview-label,
  .goal24-detail-validation > .preview-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.4;
  }

  .goal24-role-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .goal24-role-grid > div {
    padding: 1rem 0 1.1rem;
    border-top: 1px solid var(--growth-rule-soft);
  }

  .preview-detail .goal24-detail-role .goal24-role-grid p:last-child,
  .preview-detail .goal25-validation-points p:last-child {
    max-width: 40rem;
    margin-top: .55rem;
    color: #4f524c;
    font-size: .96rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.55;
  }

  .goal24-detail-validation > div {
    max-width: 40rem;
  }

  .goal24-detail-validation .goal24-detail-headline {
    max-width: 25ch;
    font-size: 1.9rem;
    line-height: 1.04;
  }

  .goal25-validation-points {
    gap: 0;
    margin-top: 1.6rem;
  }

  .goal25-validation-points > div {
    padding: 1rem 0 1.1rem;
  }

  .preview-detail .preview-validation .goal24-learning {
    max-width: 36rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 1rem;
    font-weight: 560;
    line-height: 1.44;
  }
}

@media (min-width: 700px) and (max-width: 900px) {
  /* Wide Tablet establishes a stable label rail through the Case opening. */
  .preview-detail-header {
    grid-template-columns: minmax(0, 1.35fr) minmax(11rem, .65fr);
    gap: 2.75rem;
    align-items: end;
  }

  .preview-detail-header .goal24-detail-meta {
    justify-items: end;
    padding-bottom: .15rem;
    text-align: right;
  }

  .preview-detail-header .preview-meta {
    text-align: right;
  }

  .preview-detail-intro,
  .preview-validation.goal24-detail-judgment,
  .preview-detail .preview-validation.goal24-detail-role,
  .preview-detail .preview-validation.goal24-detail-validation {
    grid-template-columns: minmax(8.75rem, .33fr) minmax(0, 1.67fr);
    gap: 2.75rem;
  }

  .preview-detail-intro > div,
  .goal24-detail-judgment > div,
  .goal24-detail-role > div,
  .goal24-detail-validation > div {
    max-width: none;
  }

  .goal24-detail-question-shift {
    grid-template-columns: minmax(0, .8fr) auto minmax(0, 1.25fr);
    gap: 1rem;
    align-items: center;
  }

  .goal24-detail-question-shift b {
    transform: rotate(-90deg);
  }

  /* Before / Evidence / After is simultaneous without losing nested guardrails. */
  .goal24-detail-routing {
    grid-template-columns: minmax(0, .82fr) minmax(0, .88fr) minmax(0, 1.3fr);
    gap: 0;
  }

  .goal24-detail-route {
    min-height: 20rem;
    padding: 1.3rem 1rem 1rem;
    border-bottom: 0;
  }

  .goal24-detail-route-before {
    padding-left: 0;
    padding-right: 1.25rem;
  }

  .goal24-detail-route-evidence {
    border-top: 0;
    border-inline: 1px solid var(--growth-rule);
  }

  .goal24-detail-route-after {
    padding-right: 0;
    padding-left: 1.25rem;
    border-top: 0;
  }

  .goal24-detail-route-before::after,
  .goal24-detail-route-evidence::after {
    display: none;
  }

  .goal24-detail-route-evidence ul {
    grid-template-columns: 1fr;
  }

  .goal24-detail-route-evidence li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .goal24-detail-route-chain {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.25fr);
    gap: .65rem;
    align-items: center;
    text-align: center;
  }

  .goal24-detail-route-chain b {
    justify-self: center;
    transform: rotate(-90deg);
  }

  /* PTE: Sections 01/02 compare; Section 03 becomes the full-width thesis. */
  .w21-framework-header {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 2.75rem;
  }

  .w21-framework-subtitle {
    padding-top: .25rem;
  }

  .w21-topology {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    border-bottom: 0;
  }

  .w21-zone,
  .w21-zone:first-child,
  .w21-zone:last-child {
    padding: 1.5rem 1.35rem 2.25rem;
    border-top: 0;
  }

  .w21-zone-context {
    padding-left: 0;
    padding-right: 1.5rem;
  }

  .w21-zone-industry {
    padding-right: 0;
    padding-left: 1.5rem;
    border-left: 1px solid var(--growth-rule);
  }

  .w21-zone-layers,
  .w21-zone-layers:first-child,
  .w21-zone-layers:last-child {
    grid-column: 1 / -1;
    padding: 2rem 0 2.2rem;
    border-top: 1px solid var(--growth-rule);
  }

  .w21-zone:not(:first-child)::before {
    display: none;
  }

  .w21-zone-layers::before {
    display: block;
    top: -.42rem;
    left: .4rem;
  }

  .w21-zone h3 {
    font-size: clamp(1.55rem, 3.2vw, 1.9rem);
  }

  .w22-pte-visual {
    max-width: 17rem;
  }

  /* Source order naturally places A/B together, then C across the next row. */
  .w21-layer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .w21-layer,
  .w21-layer:first-child,
  .w21-layer:last-child {
    padding: 1.5rem 1.35rem 2rem;
    border-top: 0;
  }

  .w21-layer:first-child {
    padding-left: 0;
    padding-right: 1.5rem;
  }

  .w21-layer:nth-child(2) {
    padding-right: 0;
    padding-left: 1.5rem;
    border-left: 1px solid var(--growth-rule);
  }

  .w21-layer:last-child {
    grid-column: 1 / -1;
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--growth-rule);
  }

  .w21-layer:not(:last-child)::after {
    display: none;
  }

  .w21-layer:last-child::before {
    position: absolute;
    top: -.42rem;
    left: .4rem;
    padding-inline: .3rem;
    background: var(--growth-paper);
    color: var(--growth-stone);
    content: "↓";
    font-size: .8rem;
  }

  .w22-capture-architecture {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 1rem;
  }

  .w22-capture-input {
    grid-column: 1 / -1;
  }

  .w22-capture-architecture .w21-layer-group {
    padding-inline: .8rem;
    border-top: 1px solid var(--growth-rule-soft);
    border-left: 1px solid var(--growth-rule-soft);
  }

  .w22-capture-architecture .w21-layer-group:nth-of-type(2) {
    padding-left: 0;
    border-left: 0;
  }

  .w22-capture-architecture .w21-layer-group:last-child {
    padding-right: 0;
  }

  .w22-capture-architecture .w21-layer-group:not(:last-child)::after {
    display: none;
  }

  .w21-feedback-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .w21-feedback-steps span {
    padding: .8rem .8rem .85rem;
    border-top: 1px solid var(--growth-rule-soft);
    border-left: 1px solid var(--growth-rule-soft);
    text-align: center;
  }

  .w21-feedback-steps span:first-of-type {
    padding-left: 0;
    border-left: 0;
  }

  .w21-feedback-steps span:last-of-type {
    padding-right: 0;
  }

  .w21-feedback-steps span:not(:last-of-type)::after {
    top: 50%;
    right: -.3rem;
    bottom: auto;
    transform: rotate(-90deg) translateX(50%);
  }

  .w21-summary {
    grid-template-columns: minmax(8.75rem, .33fr) minmax(0, 1.67fr);
    gap: 2.75rem;
  }

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

  .goal24-detail-validation > div {
    max-width: none;
  }

  .goal25-validation-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .goal25-validation-points > div {
    min-width: 0;
  }
}
