/* Materials10: tools share the existing state and visual language. */
#project05 .m-expand{position:absolute;right:12px;top:12px;z-index:12;width:42px;height:42px;padding:0;font-size:26px;background:#fffdf6ef;border-color:#cdb592;box-shadow:0 3px 10px #48301c18}
.u-scene .u-label.is-active{background:#fff0d9;color:#954b21;border-color:#ba723e;box-shadow:0 2px 14px #643e2625}
.u-leaders .m-focus-ring{fill:#efaa5533;stroke:#c46828;stroke-width:3}
.p5a .m-compare-launch{display:flex;align-items:center;width:100%;padding:12px 13px;text-align:left;margin:0 0 15px;border-color:#d2b793;background:#fff8eb;color:#85532e;font-size:14px;line-height:1.4}
.m-estimate-tools{display:grid;gap:7px;margin:18px 0}.p5a .m-estimate-tools>button{font-size:13px;text-align:left;padding:11px 12px}.m-estimate-tools [data-reset-config]{background:transparent;border:0;color:#97755b}.m-estimate-tools button:disabled{opacity:.45;cursor:default}
.p5a .c-estimate-line>div{gap:10px;flex-wrap:wrap}.p5a .c-estimate-line>div>b{margin-right:auto}
.m-tool-notice{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff2dc;border-bottom:1px solid #e4ccb1;padding:9px 14px;font-size:12px;line-height:1.45;color:#705035;flex:none}.p5a .m-tool-notice button{font-size:12px;padding:5px 8px}.m-tool-notice [data-notice-close]{margin-left:auto;border:0;background:none}
.m-study-source{font-size:12px!important;line-height:1.6!important;border-top:1px solid #e4d5c3;padding-top:12px!important;color:#8d765e!important}.m-study-source a{color:#91562c;text-decoration:underline}
/* The full component is moved into a native dialog, preserving its controls and state. */
.m-focus-dialog{width:calc(100vw - 20px);max-width:none;height:calc(100svh - 20px);max-height:none;margin:auto;padding:0;border:1px solid #ccb89b;border-radius:12px;background:#fffdf9;box-shadow:0 12px 80px #0007;overflow:hidden}
.m-focus-dialog[open]{display:flex;flex-direction:column}.m-focus-dialog::backdrop{background:#25251edf}
.m-focus-header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 16px;border-bottom:1px solid #dccdb7;flex:none}.m-focus-header>strong{font-size:16px;color:#625039}.m-focus-header>div{display:flex;gap:8px}.m-focus-header button{font:inherit;font-size:13px;padding:9px 12px;border:1px solid #d5c3a8;border-radius:7px;background:#fff9ef;color:#785331;cursor:pointer}.m-focus-header button:focus-visible{outline:3px solid #bd6427;outline-offset:2px}
.m-focus-slot{flex:1;min-height:0;display:flex;overflow:hidden}
#project05.m-focused{height:100%!important;min-height:0!important;width:100%;max-width:none;border:0;border-radius:0;box-shadow:none;scroll-margin-top:0}
#project05.m-focused>.p5a-header,#project05.m-focused>.c-journey,#project05.m-focused .m-expand{display:none!important}
#project05.m-focused[data-focus-panel=false] .p5a-panel{display:none!important}
#project05.m-focused[data-focus-panel=false] .p5a-workspace{display:flex!important;flex-direction:column}
#project05.m-focused[data-focus-panel=false] .p5a-visual{height:auto!important;min-height:0!important;flex:1!important;width:100%}
#project05.m-focused .p5a-workspace{min-height:0!important;flex:1!important}
#project05.m-focused .p5a-stage{min-height:0}
#project05.m-focused #a-timeline{visibility:visible;height:auto;min-height:40px}
#project05.m-focused:not([data-view=exploded]):not([data-route=true]) #a-timeline{display:none!important}
#project05.m-focused .p5a-panel-body{min-height:0;overflow:auto!important}
/* Comparison / save / clear: native dialogs have independent scroll, no duplicated scene. */
.p5a .m-compare-dialog,.p5a .m-share-dialog,.p5a .m-reset-dialog{margin:auto;padding:0;border:1px solid #d1bda1;border-radius:12px;background:#fffdf9;color:#42382c;max-height:calc(100svh - 30px);width:min(1140px,calc(100vw - 30px));overflow:auto;box-shadow:0 12px 80px #0005}
.p5a .m-compare-dialog::backdrop,.p5a .m-share-dialog::backdrop,.p5a .m-reset-dialog::backdrop{background:#242a21b8;backdrop-filter:blur(3px)}
.m-compare-dialog>header,.m-share-dialog>header{position:sticky;top:0;z-index:2;background:#fffdf8f7;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e1d2bd}
.m-compare-dialog h3,.m-share-dialog h3,.m-reset-dialog h3{margin:5px 0;font-size:25px;line-height:1.25}.m-compare-dialog header small{color:#9d7750;font-size:12px}.m-compare-dialog header button,.m-share-dialog header button{font-size:23px;padding:4px 11px}
.m-comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:20px}
.m-comparison-card{display:flex;flex-direction:column;border:1px solid #e1d4c1;border-radius:9px;overflow:hidden;background:#fff}.m-comparison-card.is-selected{border-color:#b7662c;box-shadow:inset 0 0 0 1px #b7662c}
.m-comparison-card>img{width:100%;aspect-ratio:1.5;height:auto;object-fit:contain;background:#f5f1e9;display:block}.m-comparison-card>div{padding:16px;display:flex;flex-direction:column;flex:1}.m-comparison-card small{color:#a0815c;font-size:12px}.m-comparison-card h4{font-size:23px;margin:6px 0 10px;line-height:1.2}.m-comparison-card p{font-size:14px;line-height:1.6;margin:0 0 16px;color:#796750}.m-comparison-card dl{flex:1;font-size:13px;line-height:1.6;margin:0 0 14px}.m-comparison-card dt{font-weight:600;color:#746044;margin:9px 0 3px}.m-comparison-card dd{margin:0;color:#857259}.p5a .m-comparison-card [data-compare-select]{width:100%;background:#f7eddf;border-color:#c7a87e;color:#855024;font-size:14px}.p5a .m-comparison-card [aria-pressed=true]{background:#ae5b25;color:#fff;border-color:#ae5b25}.p5a .m-compare-detail{display:block;width:100%;border:0;background:none;color:#936744;font-size:12px;margin-top:7px}
.m-compare-dialog>footer{position:sticky;bottom:0;z-index:2;background:#fffdf8f7;border-top:1px solid #dfceb5;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px}.m-compare-dialog footer p{font-size:12px;line-height:1.5;color:#8c775d;max-width:680px;margin:0}.m-compare-dialog footer button{white-space:nowrap}
.p5a .m-reset-dialog{max-width:460px;padding:25px}.m-reset-dialog p,.m-share-dialog>p{font-size:14px;line-height:1.6;color:#816e58}.m-reset-dialog>div{display:flex;gap:9px;justify-content:flex-end;margin-top:24px}.m-reset-dialog [data-reset-confirm]{background:#a95020;color:#fff;border-color:#a95020}
.p5a .m-share-dialog{max-width:650px;padding-bottom:22px}.m-share-dialog>p,.m-share-dialog>label,.m-share-dialog>.m-share-actions,.m-share-dialog>#m-share-status{margin:16px 22px;display:block}.m-share-dialog>input{display:block;width:calc(100% - 44px);margin:8px 22px;border:1px solid #d9c3a6;border-radius:6px;padding:11px;font:inherit;font-size:13px;min-width:0}.m-share-dialog>label{font-size:13px;font-weight:600}.m-share-dialog>.m-share-actions{display:flex;gap:10px;flex-wrap:wrap}.m-share-dialog .m-share-local{color:#9a672f;font-size:12px}.m-share-dialog>#m-share-status{font-size:13px;color:#667341}
@media(max-width:760px){
 #project05 .m-expand{width:36px;height:36px;right:8px;top:8px;font-size:23px}
 .p5a .m-compare-launch{font-size:12px;padding:10px;margin:7px 0 12px}
 .m-tool-notice{font-size:11px;padding:7px 9px}
 .m-focus-dialog{width:100vw;height:100svh;border:0;border-radius:0}
 .m-focus-header{padding:8px 10px;gap:8px}.m-focus-header>strong{display:none}.m-focus-header>div{width:100%;justify-content:space-between}.m-focus-header button{font-size:12px;padding:9px}
 #project05.m-focused[data-focus-panel=true] .p5a-workspace{display:flex;flex-direction:column}
 #project05.m-focused[data-focus-panel=true] .p5a-visual{height:42%!important;min-height:160px!important;flex:none!important}
 #project05.m-focused[data-focus-panel=true] .p5a-panel{display:flex!important;flex:1;min-height:0}
 #project05.m-focused[data-focus-panel=true] .p5a-panel-body{display:block!important;flex:1;min-height:0}
 .m-comparison-grid{grid-template-columns:1fr;padding:12px;gap:13px}
 .m-comparison-card{display:grid;grid-template-columns:110px 1fr}.m-comparison-card>img{align-self:start;margin-top:15px}.m-comparison-card>div{padding:12px}.m-comparison-card h4{font-size:21px}.m-comparison-card p{font-size:13px}.m-comparison-card dl{flex:1;font-size:12px}.m-comparison-card small{font-size:10px}
 .m-compare-dialog>header,.m-share-dialog>header{padding:12px 15px}.m-compare-dialog h3,.m-share-dialog h3,.m-reset-dialog h3{font-size:22px}.m-compare-dialog>footer{padding:11px 13px;display:block}.m-compare-dialog footer p{font-size:11px;margin-bottom:8px}.m-compare-dialog footer button{width:100%}
 .p5a .m-share-dialog,.p5a .m-compare-dialog,.p5a .m-reset-dialog{width:calc(100vw - 16px);max-height:calc(100svh - 18px)}
 .p5a .m-estimate-tools>button{font-size:12px}
}
@media(max-width:350px){.m-comparison-card{display:block}.m-comparison-card>img{margin:0;max-height:150px}.m-reset-dialog>div{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.m-focus-ring{animation:none}}

/* Static product fallback is usable while JS modules load or if their request fails. */
#project05 .m-startup-fallback{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:#f7f3eb;padding:20px;overflow:auto}
#project05 .m-startup-fallback>img{display:block;width:min(100%,960px);height:auto;max-height:62%;object-fit:contain}
#project05 .m-startup-fallback>div{text-align:center;max-width:660px}
#project05 .m-startup-fallback h3{font-size:22px;margin:0 0 10px}#project05 .m-startup-fallback p{font-size:14px;line-height:1.6;margin:10px 0;color:#70604e}
#project05 .m-startup-fallback a{color:#91542d;text-decoration:underline}#project05 .m-startup-fallback button{background:#b9501b;color:#fff;border-color:#b9501b;min-height:42px}
#project05[data-ready=true]>.m-startup-fallback{display:none}
#project05:not([data-ready=true])>:not(.m-startup-fallback):not(noscript){visibility:hidden}
@media(max-width:760px){#project05 .m-startup-fallback{padding:14px;gap:10px}#project05 .m-startup-fallback h3{font-size:20px}#project05 .m-startup-fallback p{font-size:13px}}
