/* Only the three local rollout products opt into these compact rules. */
body.cc-design .phasea-rollout .phasea-section{padding-block:32px}
body.cc-design .phasea-rollout .phasea-buying-cards{margin-top:20px;gap:20px}
body.cc-design .phasea-rollout .phasea-buying-cards article{padding-top:12px}
body.cc-design .phasea-rollout .phasea-construction-layout{display:block}
body.cc-design .phasea-rollout .phasea-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}
body.cc-design .phasea-rollout .phasea-series-mobile{display:none}
body.cc-design .phasea-rollout .phasea-detail-grid img{aspect-ratio:1.8}
body.cc-design .phasea-rollout .phasea-detail-grid figcaption{padding-top:8px}
body.cc-design .phasea-rollout .phasea-detail-grid h3{margin-bottom:6px}
body.cc-design .phasea-rollout .phasea-detail-grid p{margin-bottom:0}
body.cc-design .phasea-rollout .phasea-reference-gallery{padding:20px;margin-top:24px}
body.cc-design .phasea-rollout .phasea-thumbnail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
body.cc-design .phasea-rollout .phasea-thumbnail-grid img{aspect-ratio:1.7}
body.cc-design .phasea-rollout .phasea-reference-links{columns:2}
body.cc-design .phasea-rollout .phasea-opening-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}
body.cc-design .phasea-rollout .phasea-opening-grid article{min-width:0;border:1px solid #a3a9ac;padding:16px}
body.cc-design .phasea-rollout .phasea-opening-grid h3{font-size:16px;margin-top:12px}
body.cc-design .phasea-rollout .phasea-opening-grid p{font-size:13px;line-height:1.55;margin:0}
body.cc-design .phasea-rollout .phasea-opening-grid svg{max-height:120px}
body.cc-design .phasea-rollout[data-product="tilt-turn-windows"] .phasea-opening-grid,body.cc-design .phasea-rollout[data-product="bi-fold-doors"] .phasea-opening-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.cc-design .phasea-rollout .phasea-original-content :is(.wp,.window-selector__shell){width:100%;max-width:100%;margin-inline:0;padding-inline:0}
body.cc-design .phasea-rollout .phasea-original-content :is(.casement-composition,.product-scene-stories,.window-selector){padding-block:16px;background:transparent}
body.cc-design .phasea-rollout .phasea-original-content :is(.window-story,.scene-image){max-width:760px;margin-inline:auto}
body.cc-design .phasea-rollout .phasea-original-content .window-selector__table-wrap{overflow-x:auto}
body.cc-design .phasea-rollout .phasea-original-content .window-selector__table{min-width:560px}
body.cc-design .phasea-rollout .sample-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.cc-design .phasea-rollout .sample-group .pdp-property-table{max-width:100%;overflow-x:auto}
body.cc-design .phasea-rollout .sample-group .pdp-property-table table{min-width:600px}
body.cc-design .phasea-rollout .phasea-project-grid{max-width:800px;margin-inline:auto}
body.cc-design .phasea-rollout .phasea-project-grid img{aspect-ratio:2/3}
body.cc-design .phasea-rollout .phasea-faq{margin-top:24px}
body.cc-design .phasea-rollout[data-product="casement-windows"] .phasea-section{padding-block:22px}
body.cc-design .phasea-rollout[data-product="casement-windows"] .phasea-project-grid{max-width:720px}
@media(max-width:767px){
 body.cc-design .phasea-rollout .phasea-section{padding-block:24px}
 body.cc-design .phasea-rollout .phasea-buying-cards{gap:12px;margin-top:16px}
 body.cc-design .phasea-rollout .phasea-buying-cards p{font-size:16px;line-height:1.5}
 body.cc-design .phasea-rollout .phasea-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
 body.cc-design .phasea-rollout .phasea-detail-grid img{aspect-ratio:1.8}
 body.cc-design .phasea-rollout .phasea-detail-grid h3{font-size:16px;line-height:1.3}
 body.cc-design .phasea-rollout .phasea-detail-grid p{font-size:13px;line-height:1.45}
 body.cc-design .phasea-rollout .phasea-reference-gallery{padding:16px 12px;margin-top:20px}
 body.cc-design .phasea-rollout .phasea-thumbnail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}
 body.cc-design .phasea-rollout .phasea-thumbnail-grid figcaption{font-size:13px;line-height:1.4}
 body.cc-design .phasea-rollout .phasea-reference-links{columns:1}
 body.cc-design .phasea-rollout .phasea-opening-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
 body.cc-design .phasea-rollout .phasea-opening-grid article{padding:12px}
 body.cc-design .phasea-rollout .phasea-opening-grid h3{margin:8px 0}
 body.cc-design .phasea-rollout .phasea-opening-grid svg{max-height:90px}
 body.cc-design .phasea-rollout .phasea-table :is(td,th){padding:12px}
 body.cc-design .phasea-rollout .sample-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body.cc-design .phasea-rollout .phasea-faq-item summary{padding-block:12px}
 body.cc-design .phasea-rollout[data-product="casement-windows"] .phasea-section{padding-block:12px}
 body.cc-design .phasea-rollout[data-product="casement-windows"] .phasea-hero{padding-block:16px 20px}
 body.cc-design .phasea-rollout[data-product="casement-windows"] .phasea-hero img{aspect-ratio:2}
}
@media(max-width:767px){
 body.cc-design .phasea-rollout .phasea-table-scroll,body.cc-design .phasea-rollout .phasea-table-note{display:none}
 body.cc-design .phasea-rollout .phasea-series-mobile{display:grid;gap:16px}
 body.cc-design .phasea-rollout .phasea-series-mobile article{min-width:0;padding:18px 16px;border:1px solid #a3a9ac;background:#ecefed}
 body.cc-design .phasea-rollout .phasea-series-mobile h3{font-size:18px;line-height:1.4;margin:0 0 12px}
 body.cc-design .phasea-rollout .phasea-series-mobile dl{margin:0}
 body.cc-design .phasea-rollout .phasea-series-mobile dl>div{display:grid;grid-template-columns:minmax(0,94px) minmax(0,1fr);gap:12px;padding-block:9px;border-top:1px solid #cbd0cd}
 body.cc-design .phasea-rollout .phasea-series-mobile :is(dt,dd){min-width:0;margin:0;font-size:16px;line-height:1.6;word-break:normal;overflow-wrap:anywhere;white-space:normal}
}

/* F09: one complete legacy specification card at a time on mobile. */
@media(max-width:767px){
 body.cc-design .phasea-rollout .phasea-series-mobile>article{display:none}
 body.cc-design .phasea-rollout .phasea-series-mobile:not(:has(>article:target))>article:first-child,
 body.cc-design .phasea-rollout .phasea-series-mobile>article:target{display:block}
}

@media(max-width:767px){.phasea-rollout:has(.catalogue-panel:target) .phasea-series-mobile,.phasea-rollout:has(.catalogue-panel:target) .phasea-series-table{display:none}.phasea-hero-caption{font-size:12px;line-height:1.4;color:var(--muted);margin-top:6px}}

body.cc-design .phasea-rollout .phasea-hero img.phasea-hero-image{aspect-ratio:16/9;height:auto;object-fit:cover}
.phasea-hero-summary{display:none}
@media(max-width:767px){
 body.cc-design .phasea-rollout .phasea-hero img.phasea-hero-image{aspect-ratio:4/3;height:auto}
 .phasea-rollout .phasea-hero-copy.phasea-hero-copy--summary{display:flex;flex-direction:column}
 .phasea-hero-copy--summary>nav{order:0}.phasea-hero-copy--summary>h1{order:1}
 .phasea-hero-copy--summary>.phasea-hero-summary{display:block;order:2;font-size:16px;line-height:1.5;margin:0 0 14px}
 .phasea-hero-copy--summary>[data-moq-note]{order:3}.phasea-hero-copy--summary>.product-contact-actions{order:4}
 .phasea-hero-copy--summary>.phasea-full-hero-text{order:5;margin-top:18px}
}
