/* R10.4 canonical-corpus compatibility.
   This file does not replace locked R7 family CSS. It only styles block types and
   variable proof counts that occur in the approved 63-page canonical corpus. */

.dsp-r10-table{margin:28px 0;overflow-x:auto}
.dsp-r10-table table{width:100%;border-collapse:collapse;background:var(--paper-bright)}
.dsp-r10-table th,.dsp-r10-table td{padding:14px 16px;border:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.48}
.dsp-r10-table th{font-size:.74rem;letter-spacing:.055em;text-transform:uppercase;background:var(--soft)}
.dsp-r10-quote{margin:24px 0;padding:20px 24px;border-left:5px solid var(--clay);background:var(--soft)}
.dsp-r10-quote p{margin:0!important}
.article-body .dsp-r10-table ul,.article-body .dsp-r10-table ol{margin-bottom:0}

.service-proof-grid.proof-count-1,
.project-proof-grid.proof-count-1{display:block;min-height:0}
.service-proof-grid.proof-count-1 figure,
.project-proof-grid.proof-count-1 figure{min-height:360px}
.service-proof-grid.proof-count-2,
.project-proof-grid.proof-count-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(300px,1fr);min-height:0}
.service-proof-grid.proof-count-2 figure:first-child,
.project-proof-grid.proof-count-2 figure:first-child{grid-row:auto}
.service-proof-grid.proof-count-4,
.project-proof-grid.proof-count-4{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(220px,1fr));min-height:0}
.service-proof-grid.proof-count-4 figure:first-child,
.project-proof-grid.proof-count-4 figure:first-child{grid-row:auto}

.dsp-signature-note{margin:18px 0 0;padding:14px 18px;border-left:4px solid var(--sun);background:var(--soft);font-size:.83rem;line-height:1.5}
.boundary-section .dsp-signature-note{background:rgba(255,255,255,.06);color:rgba(255,255,255,.84)}

@media(max-width:780px){
  .dsp-r10-table{margin-left:calc(var(--gutter)*-.35);margin-right:calc(var(--gutter)*-.35)}
  .dsp-r10-table th,.dsp-r10-table td{min-width:150px;padding:12px 13px}
  .service-proof-grid.proof-count-1,
  .service-proof-grid.proof-count-2,
  .service-proof-grid.proof-count-4,
  .project-proof-grid.proof-count-1,
  .project-proof-grid.proof-count-2,
  .project-proof-grid.proof-count-4{display:flex;flex-direction:column;min-height:0}
  .service-proof-grid.proof-count-1 figure,
  .service-proof-grid.proof-count-2 figure,
  .service-proof-grid.proof-count-4 figure,
  .project-proof-grid.proof-count-1 figure,
  .project-proof-grid.proof-count-2 figure,
  .project-proof-grid.proof-count-4 figure{min-height:250px}
}
@media(prefers-reduced-motion:reduce){
  .dsp-r10-table,.dsp-r10-quote{scroll-behavior:auto}
}

/* R14.1 parent-to-subtype discovery for preserved Wall routes. */
.wall-subtype-index{width:min(var(--managed-shell,1180px),calc(100% - (var(--gutter)*2)));margin:26px auto 0;padding:18px 20px;border:1px solid var(--line);background:var(--soft)}
.wall-subtype-index>span{display:block;margin-bottom:10px;font-size:.7rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:var(--clay-accessible)}
.wall-subtype-index>div{display:flex;flex-wrap:wrap;gap:10px}
.wall-subtype-index a{min-height:46px;padding:11px 14px;display:inline-flex;align-items:center;border:1px solid var(--line);background:var(--paper-bright);font-weight:780;text-underline-offset:4px}
@media(max-width:780px){
  .wall-subtype-index{margin-top:20px;padding:16px}
  .wall-subtype-index>div{display:grid;grid-template-columns:1fr}
  .wall-subtype-index a{min-height:48px}
}

