/* Controlled refinement of the original v3 presentation. */
.choice:not(.unavailable) input:checked + span{color:#002d66;border-bottom-color:#002d66;background:#f5f8fb}
.project-choice[aria-pressed=true],.life-photo[aria-pressed=true],.privacy-choice[aria-pressed=true]{box-shadow:0 1px 0 #002d66}
.project-choice[aria-pressed=true] .choice-label,.life-photo[aria-pressed=true] .photo-label{color:#002d66}
.project-choice[aria-pressed=true] .choice-label > span:first-child::after{content:'•';margin-left:.5em;font-size:.65em;color:#002d66;vertical-align:middle}
.choice input[name=purpose]:checked + span::after{content:'•';position:absolute;right:0;top:12px;font-size:14px;color:#002d66}
.choice input[name=purpose] + span{padding-right:14px}
.palette-option[aria-pressed=true],.material-option[aria-pressed=true],.architecture-options button[aria-pressed=true]{border-color:#002d66}
#next:disabled,#submit-design:disabled{color:#9299a2;border-bottom-color:#c6cbd1;opacity:1;cursor:default}
#next:not(:disabled),#submit-design:not(:disabled){color:#002d66;border-bottom-color:#002d66}
@media(min-width:1001px){
 header,footer{padding-inline:4vw}
 main{padding-inline:4vw}
 body.controlled-opening main{padding-top:16px}
 body.controlled-opening .chapters{margin-bottom:12px}
 body.controlled-opening .stage{gap:4vw}
 body.controlled-opening .stage h1{margin-block:12px}
 body.controlled-opening .stage p{margin-block:9px}
 body.controlled-opening .actions{margin-top:8px;min-height:60px}
 [data-step="0"] .primary{margin-top:14px}
 [data-step="0"] .note{margin-block:10px;line-height:1.5}
 [data-step="1"].project-screen{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:18px}
 [data-step="1"] > div:first-child{overflow:visible}
 [data-step="1"] h1 br{display:none}
 [data-step="1"] .project-collection{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-content:center;padding:5px}
 [data-step="1"] .project-choice img{height:clamp(125px,20vh,190px)}
 [data-step="1"] .choice-label{display:block;margin-top:10px}
 [data-step="1"] .choice-label > span:last-child{display:block;margin-top:6px}
 [data-step="2"]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto auto auto;gap:10px 4vw;align-content:center}
 [data-step="2"] > div:first-child{display:contents}
 [data-step="2"] .kicker{grid-column:1;grid-row:1}
 [data-step="2"] h1{grid-column:1;grid-row:2}
 [data-step="2"] p:not(.note){grid-column:1;grid-row:3}
 [data-step="2"] .choices{grid-column:1/-1;grid-row:4;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:12px 0}
 [data-step="2"] .choice{min-width:0}
 [data-step="2"] .choice span{height:100%;font-size:17px;line-height:1.4;padding:12px 0}
 [data-step="2"] .choice small{margin-top:7px}
 [data-step="2"] .note{grid-column:1/-1;grid-row:5;max-width:none}
 [data-step="2"] .origin{grid-column:2;grid-row:1/4;align-self:stretch;padding:0;overflow:visible}
 [data-step="2"] .origin svg{height:clamp(180px,28vh,260px)}
 [data-step="3"] #location-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px}
 [data-step="3"] .check{margin-top:14px}
}
@media(max-width:1000px){
 [data-step="1"] .project-collection{grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-step="2"] .choices{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){
 [data-step="1"] .project-collection{gap:20px 12px}
 [data-step="1"] .choice-label{font-size:15px;overflow-wrap:anywhere}
}

/* Page-by-page R01: secondary UI only; original heading hierarchy remains. */
.back,.actions .primary{font-size:19px}
.count{font-size:13px}
.note{font-size:14px}
.choice span small{font-size:14px}
.choice-label > span:last-child{font-size:12px}
.caption{font-size:13px}
.visual-caption{font-size:11px}
.tag{font-size:13px}
.formgrid label{font-size:19px}
.photo-label{font-size:13px}
.taste-desc{font-size:15px}
.architecture-choice small{font-size:15px}
#next{transition:color 180ms ease,background-color 180ms ease,border-color 180ms ease}
#next:not(:disabled){background:#002d66;color:#fff;padding-inline:20px}
#next:disabled{background:#fff}
@media(min-width:1001px){
 main{max-width:1920px;padding-inline:3.5vw;padding-bottom:12px}
 header,footer{padding-inline:3.5vw}
 [data-step="0"],[data-step="3"]{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:3.5vw}
 body.controlled-opening .stage .note{font-size:16px}
 .actions{padding-bottom:12px}
 .actions .count{font-size:13px}
 .life-stage .formgrid label{font-size:19px}
 body.taste-active .actions{font-size:20px}
 body.taste-active .count{font-size:16px}
 body.taste-active .taste-desc{font-size:15px}
 [data-step="1"] .project-choice{min-width:0}
 [data-step="1"] .choice-label{font-size:16px;line-height:1.35}
 [data-step="1"] .project-choice img,[data-step="1"] .open-idea{height:clamp(125px,20vh,190px)}
}
@media(min-width:751px) and (max-width:1000px){[data-step="1"] .project-collection{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){
 .actions .back{font-size:18px}
 .actions .primary{font-size:18px;min-width:0;flex:0 1 auto}
 .actions .count{display:block;font-size:12px}
 .actions{gap:10px}
 .actions .primary{max-width:60%}
 .caption{font-size:13px}
}
@media(max-width:360px){.actions .primary{font-size:15px;padding-inline:10px}.actions .back{font-size:16px}.actions .count{font-size:11px;max-width:66px}}
@media(prefers-reduced-motion:reduce){#next{transition:none}}

/* Authorized desktop split default from Page05 onward; earlier pages and atmosphere gallery retain version7. */
@media(min-width:1001px){
 body .stage:is([data-step="4"],[data-step="5"],[data-step="6"],[data-step="7"],[data-step="8"],[data-step="9"],[data-step="10"],[data-step="11"],[data-step="12"],[data-step="14"],[data-step="15"],[data-step="16"],[data-step="17"],[data-step="18"],[data-step="19"],[data-step="20"]){grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
 body.taste-active .taste-flow{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
}
