/* One calm media surface; the result tabs are the only outer navigation. */
.results-header { gap:32px; margin-bottom:28px; }
.result-tabs { padding:0; gap:24px; border:0; border-radius:0; background:none; }
.result-tabs button { position:relative; min-height:46px; padding:10px 0; border-radius:0; font-size:15px; background:none; color:#becddd; }
.result-tabs button::after { content:''; position:absolute; height:2px; inset:auto 0 0; background:transparent; border-radius:2px; }
.result-tabs button[aria-selected="true"],.result-tabs button[aria-selected="true"]:hover { color:#f2c49e; background:none; }
.result-tabs button[aria-selected="true"]::after { background:#f2c49e; }
.output-grid { border:1px solid #e2e8ee; border-radius:24px; background:#fafcfe; box-shadow:0 12px 32px #00000014; }
.result-slide.output-card { background:#fafcfe; padding:clamp(24px,3.2vw,50px); gap:clamp(32px,4vw,64px); }
.result-copy h3 { font-size:clamp(30px,3vw,44px); line-height:1.1; }
.result-copy .output-summary { font-size:clamp(17px,1.35vw,20px); line-height:1.5; margin-top:14px; }
.result-slide .source-video-link { font-size:16px; line-height:1.5; margin-top:22px; text-decoration-thickness:1px; text-underline-offset:5px; }
.result-media .photo-stack { width:100%; aspect-ratio:3/2; height:auto; perspective:none; overflow:hidden; border-radius:16px; background:#e7edf3; }
.result-media .photo-stack .photo-open,.result-media .photo-stack:hover .photo-open:not(.is-current) { inset:0; width:100%; height:100%; padding:0; border:0; border-radius:0; box-shadow:none; transform:translateX(12px); opacity:0; pointer-events:none; transition:opacity .35s ease,transform .45s ease; }
.result-media .photo-stack .photo-open.is-current,.result-media .photo-stack:hover .photo-open.is-current { transform:none; opacity:1; box-shadow:none; pointer-events:auto; }
.result-media .photo-stack .photo-open img { display:block; width:100%; height:100%; object-fit:cover; filter:none; }
.result-media .photo-navigation { display:grid; grid-template-columns:1fr auto 1fr; gap:16px; width:100%; height:auto; margin-top:14px; }
.result-media .photo-navigation .photo-dots { display:none; }
.result-slide .photo-navigation .glass-button { min-height:44px; border:0; background:transparent; padding:8px 0; color:#38546e; font-size:14px; border-radius:6px; }
.result-slide .photo-navigation .glass-button:hover { background:#eaf0f5; }
#photo-prev { justify-self:start; }
#photo-next { justify-self:end; }
#photo-count { color:#66798c; font-size:14px; font-variant-numeric:tabular-nums; }
.result-media model-viewer,.result-media .video-preview { height:clamp(340px,30vw,460px); }
@media(max-width:1050px) { .results-header { gap:22px; } }
@media(max-width:760px) {
 .media-suite.glass-card { padding:28px 16px 20px; }
 .results-header { margin-bottom:20px; }
 .result-tabs { width:100%; gap:16px; justify-content:space-between; }
 .result-tabs button { flex:initial; font-size:14px; padding:10px 0; }
 .output-grid { border-radius:20px; }
 .result-slide.output-card { padding:24px 20px 14px; gap:28px; }
 .result-copy { min-height:0; }
 .result-copy h3 { font-size:30px; }
 .result-copy .output-summary { margin-top:10px; font-size:17px; }
 .result-slide .source-video-link { margin-top:16px; font-size:16px; text-wrap:balance; }
 .result-media .photo-stack { aspect-ratio:4/3; height:auto; border-radius:12px; }
 .result-media .photo-navigation { margin-top:6px; }
 .result-media model-viewer,.result-media .video-preview { height:clamp(180px,54vw,260px); }
}
@media(prefers-reduced-motion:reduce) { .result-media .photo-stack .photo-open { transition:none; } }
