/* Shared layout corrections; keep timeline scrolling inside its own viewport. */
.ss-support-links{align-items:center;justify-content:center;width:100%;box-sizing:border-box}
.ss-support-links a{display:inline-flex;align-items:center;min-height:44px;line-height:1.4}
.guide-end-nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 18px}
.guide-end-nav a,.infofooter>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;line-height:1.4;text-align:center}
.infofooter{flex-wrap:wrap;align-items:center;gap:8px 18px}
.resultrow{min-width:0}
.resultrow>b{min-width:0;overflow-wrap:anywhere}
.resultrow audio,.resultrow video{max-width:100%;min-width:0}
.resultrow .download,.sur-video-result-actions>a,.sur-video-result-actions>button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:break-word}
.video-export-result{display:flex!important;flex-direction:column;align-items:stretch;gap:14px}
.video-export-result>.download{width:100%;flex:none;align-self:stretch}
.video-export-result>video{width:100%;height:auto;object-fit:contain}
.headright{min-width:0;align-items:center}
.headright>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;line-height:1.3}
.articles-header>nav{display:flex;align-items:center;flex-wrap:wrap}
.articles-header>nav>a{display:inline-flex;align-items:center;min-height:40px;line-height:1.3}
@media(max-width:800px){
 .shell>header{height:auto;min-height:65px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px;row-gap:8px}
 .shell>header>.headright{flex:1 1 100%;display:flex;justify-content:flex-start;flex-wrap:wrap;gap:8px 14px}
 .shell>header>.headright>a{min-height:44px}
 .shell>header>.headright>.language-control{margin-left:auto;max-width:100%}
 .resultrow:not(.video-export-result){grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .resultrow:not(.video-export-result)>audio{grid-column:1/-1;width:100%}
 .resultrow>[data-video-export]{grid-column:1/-1;justify-self:stretch;width:100%;min-width:0;min-height:44px;white-space:normal}
 .articles-header{height:auto;min-height:70px;flex-wrap:wrap;gap:10px 16px;padding-top:12px;padding-bottom:12px}
 .articles-header>nav{flex:1 1 100%;order:3;gap:6px 16px}
 .articles-header>.language-control{margin-left:auto}
 .transport,.studio-actions,.clip-tools,.master{min-width:0}
 .transport label,.studio-actions label,.clip-tools label,.master label{max-width:100%;flex-wrap:wrap}
 .transport select,.studio-actions select,.clip-tools select,.master select{min-width:0;max-width:100%}
}
@media(max-width:420px){
 .resultrow:not(.video-export-result){grid-template-columns:minmax(0,1fr)}
 .resultrow:not(.video-export-result)>.download{grid-column:1;justify-self:stretch;width:100%}
 .sur-video-result-actions>a,.sur-video-result-actions>button{flex:1 1 100%;min-width:0;width:100%}
 .infofooter>span{flex-basis:100%}
 #sur-home-concept .sur-header-actions{gap:8px}
 #sur-home-concept .sur-header-start{padding-left:12px;padding-right:12px;white-space:nowrap}
}
