/* Keep complete teaching figures readable; optional controls sit below the art. */
.scene-diagram-points{display:none}
.scene-diagram-points:has(.scene-point:not([hidden])){display:flex;flex-wrap:wrap;gap:.65rem;padding:.8rem 1.2rem;background:#ece7db}
.scene-diagram-points .scene-point{position:static;transform:none;flex:0 0 44px}
@media(max-width:600px){.scene-diagram-points:has(.scene-point:not([hidden])){padding:.8rem 1.1rem}.scene-diagram-points .scene-point{flex-basis:38px}}

/* Four complete record figures: keep native tables and visible headers; give row labels their own line on small screens. */
@media(max-width:600px){
.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap{width:100%;min-width:0}
.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap table{display:table;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}
.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap caption{caption-side:top;text-align:left;padding:.6rem 0;overflow-wrap:normal;word-break:normal}
.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap thead,.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap tbody{display:block;width:100%}
.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:0 0 .8rem;gap:0}
.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap th,.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap td{display:block;min-width:0;width:auto;padding:.6rem .45rem;border:1px solid #91a088;text-align:left;vertical-align:top;overflow-wrap:normal;word-break:normal;hyphens:none;line-height:1.55}
.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap thead th:first-child,.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap tbody th[scope="row"]{grid-column:1/-1;background:#e5ecdf}
.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap thead th{background:#e5ecdf}
.ctd-study:has(> header > :is(#record-garage-full-remainingMeasureQuantities,#record-garage-full-remainingMeasureFictionBills,#record-garage-full-remainingCareRepairChain,#record-garage-full-remainingGarageSurfaceTypes)) .ctd-table-wrap td{background:#fffaf1}
}
