/* Full-body Pana and instructions stay grounded beside the system controls. */
.immersive-page .montage-help{order:2;flex:0 0 auto;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #c5dbe466;border-radius:50%;background:#ffffff08;color:#e8f2f8;font-size:19px;cursor:pointer}
.montage-help[aria-expanded=true]{background:#e8f2f8;color:#001020}
.montage-help[hidden],.montage-guide[hidden]{display:none!important}
.montage-guide{position:absolute;z-index:8;left:var(--guide-left,24px);top:var(--guide-top,90px);width:var(--guide-width,700px);height:var(--guide-height,auto);max-height:var(--guide-space,calc(100% - 120px));pointer-events:none;color:#e8f2f8}
.montage-guide-layout{position:relative;display:flex;align-items:flex-end;justify-content:flex-end;width:100%;height:100%;max-height:inherit}
.montage-guide .montage-guide-portrait{position:absolute;z-index:1;left:0;bottom:0;width:38%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 12px #0004);pointer-events:none}
.montage-guide-bubble{position:relative;display:flex;flex-direction:column;gap:17px;min-height:0;width:62%;max-height:var(--guide-bubble-space,100%);padding:23px 22px 19px;border:1px solid #c7dce566;border-radius:22px;background:linear-gradient(145deg,#183348f7,#001020fa);box-shadow:0 14px 48px #0004;pointer-events:auto;backdrop-filter:blur(20px)}
.montage-guide-heading{padding-right:25px;min-width:0}
.montage-guide-eyebrow{margin:0 0 5px;font-size:9px;line-height:1.5;letter-spacing:.13em;color:#adcadb}
.montage-guide h2{margin:0;font-size:22px;line-height:1.22;letter-spacing:-.03em;font-weight:600;color:#f1f6fa}
.montage-guide .montage-guide-close{position:absolute;top:9px;right:9px;z-index:2;display:grid;place-items:center;width:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#c7dbe8;font-size:24px;line-height:1;cursor:pointer}
.montage-guide-steps{display:flex;flex-direction:column;gap:15px;min-height:0;margin:0;padding:0;list-style:none;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9bb8ca55 transparent}
.montage-guide-steps li{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:start;gap:10px;margin:0;padding:0}
.montage-guide-steps li>b{display:grid;place-items:center;width:24px;height:24px;border:1px solid #bdd4e249;border-radius:50%;color:#c8deeb;font-size:10px;font-weight:500}
.montage-guide-steps strong{display:block;font-size:13px;font-weight:600;line-height:1.5;color:#eef5fa}
.montage-guide-steps p{margin:3px 0 0;font-size:11px;line-height:1.65;color:#b7cddc}
.montage-guide .montage-guide-done{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 15px;border:1px solid #edf5fa;border-radius:24px;background:#e9f1f7;color:#001020;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer}
.montage-guide-done>span{font-size:19px;line-height:1}
:is(.montage-guide button,.montage-help):focus-visible{outline:2px solid #fff;outline-offset:3px}
.montage-guide button:hover{filter:brightness(1.1)}
.immersive-workbench[data-montage-guide=open] .sim-hotspot{visibility:hidden;pointer-events:none}
.immersive-page:has(#navigation.is-open) :is(.montage-guide,.montage-help){visibility:hidden;pointer-events:none}
.montage-guide[data-compact=true] .montage-guide-bubble{width:68%;gap:12px;padding:15px;border-radius:19px}
.montage-guide[data-compact=true] .montage-guide-portrait{width:32%;height:100%;object-position:right bottom}
.montage-guide[data-compact=true] h2{font-size:18px;line-height:1.25}
.montage-guide[data-compact=true] .montage-guide-eyebrow{font-size:8px;letter-spacing:.08em}
.montage-guide[data-compact=true] .montage-guide-steps{gap:12px}
.montage-guide[data-compact=true] .montage-guide-steps li{grid-template-columns:22px minmax(0,1fr);gap:8px}
.montage-guide[data-compact=true] .montage-guide-steps li>b{width:22px;height:22px}
.montage-guide[data-layout=stacked] .montage-guide-layout{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.montage-guide[data-layout=stacked] .montage-guide-portrait{position:relative;left:auto;bottom:auto;width:100%;height:var(--guide-portrait-height,170px);flex:0 0 var(--guide-portrait-height,170px);object-position:center bottom}
.montage-guide[data-layout=stacked] .montage-guide-bubble{width:100%;height:auto;flex:0 1 auto}
@media(max-width:1050px){
 .immersive-workbench[data-montage-guide=open] :is(.viewer-navigation,.immersive-scene-caption){visibility:hidden;pointer-events:none}
}
@media(max-height:500px){
 .montage-guide .montage-guide-bubble{gap:10px;padding:12px}
 .montage-guide .montage-guide-eyebrow{display:none}
 .montage-guide h2{font-size:17px}
 .montage-guide-steps{gap:9px}
 .montage-guide .montage-guide-done{font-size:11px;padding:8px 10px}
}
