.submission-tabs,.video-actions,.video-mode{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 20px;align-items:stretch}
.submission-tabs button,.video-actions button,.video-mode button{min-width:0;width:100%;min-height:48px;height:100%;box-sizing:border-box;padding:12px 10px;border:1px solid var(--border,#667);border-radius:10px;background:var(--surface2,#17202f);color:var(--text,#fff);font:inherit;font-weight:700;line-height:1.3;white-space:normal;cursor:pointer}
.submission-tabs button[aria-selected=true],.video-actions #videoSend{background:#c64720;color:#fff;border-color:#c64720}
.video-mode{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:8px}
.video-steps{display:flex;list-style:none;padding:0;gap:16px;justify-content:center;margin:24px 0;font-size:.85rem;color:var(--text-dim,#cbd5e1)}
.video-steps [aria-current]{font-weight:800;color:var(--text,#fff);text-decoration:underline;text-underline-offset:6px}
.video-wizard .diner-section-label{display:block;margin:20px 0 8px}
.video-options{display:flex;flex-direction:column;gap:8px;max-height:360px;overflow:auto;margin:14px 0 20px;padding:2px}
.video-option{width:100%;text-align:left;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;background:var(--surface2,#17202f);color:var(--text,#fff);border:1px solid var(--border,#667);border-radius:10px;padding:14px;font:inherit;cursor:pointer;min-height:48px;overflow-wrap:anywhere}
.video-option small{width:100%;font-size:.75rem;line-height:1.5;color:inherit;opacity:.85}.video-option span{font-size:.8rem}
.video-matchup{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--border,#667);border-radius:12px}
#videoStatus{line-height:1.5;overflow-wrap:anywhere}.video-review{color:#fff;background:#182231;border:1px solid #52647d;border-radius:10px;padding:16px;margin-bottom:16px}.video-review h3,.video-review p,.video-review label,.video-review small{color:#fff!important}.video-review a{color:#b9e9ff!important;overflow-wrap:anywhere}.video-review .video-actions{margin:16px 0 0}.video-review .video-actions button{background:#283b50;color:#fff;border-color:#72839a}.video-review [data-approve-video]{background:#c64720!important;color:#fff!important}.video-review select{width:100%;background:#182231;color:#fff;padding:10px}
#subOverlay .modsub-card [data-approve],#subOverlay .modsub-card [data-reject]{flex:1 1 0!important;min-width:0;min-height:48px;height:auto;white-space:normal;line-height:1.3;box-sizing:border-box}
.submission-tabs button:focus-visible,.video-wizard button:focus-visible{outline:3px solid #e98b42;outline-offset:3px}

#subFormWrap .video-mode .diner-toggle{padding:10px 6px!important;font-size:13px!important;letter-spacing:0!important;word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important}
@layer msf-themes {
/* Pair the retained dark review surface with its foreground, including theme resets. */
html[data-msf-theme="orange-julius"][data-msf-theme] body #subOverlay .video-review,
html[data-msf-theme="orange-julius"][data-msf-theme] body #subOverlay .video-review :is(h3,p,strong,small,span,label){color:#fff!important}
html[data-msf-theme="orange-julius"][data-msf-theme] body #subOverlay .video-review a{color:#b9e9ff!important}
html[data-msf-theme="orange-julius"][data-msf-theme] body #subOverlay .video-review .video-actions button{color:#fff!important;background:#283b50!important;border-color:#72839a!important;padding:12px 8px!important;word-break:normal!important;overflow-wrap:normal!important}
html[data-msf-theme="orange-julius"][data-msf-theme] body #subOverlay .video-review .video-actions [data-approve-video]{background:#c64720!important;border-color:#c64720!important;color:#fff!important}
html[data-msf-theme="orange-julius"][data-msf-theme] body #dinerPage .back-btn{min-width:90px!important;width:auto!important;min-height:44px!important;padding:10px 16px!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;flex:0 0 auto!important}

}

/* A scrollable list must not compress each choice to its minimum button height. */
#subFormWrap .video-options > .video-option{
 flex:0 0 auto;
 height:auto;
 min-height:48px;
 max-height:none;
 box-sizing:border-box;
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 align-items:start;
 align-content:start;
 gap:8px 12px;
 padding:14px;
 line-height:1.4;
 white-space:normal;
 overflow-wrap:anywhere;
}
#subFormWrap .video-options > .video-option > span{
 grid-column:2;
 align-self:start;
 white-space:nowrap;
 line-height:1.4;
}
#subFormWrap .video-options > .video-option > small{
 grid-column:1/-1;
 min-width:0;
 width:auto;
 white-space:normal;
 overflow-wrap:anywhere;
 line-height:1.5;
}

/* Multiple demonstrations use one standard MSF TV control. */
#msfCounterVideoChoices{box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid #526782;border-radius:14px;background:#142132;color:#fff;font:400 16px/1.5 Outfit,system-ui,sans-serif}
#msfCounterVideoChoices::backdrop{background:#000b}
#msfCounterVideoChoices h2{margin:0 0 16px;color:#fff;font-size:22px}
#msfCounterVideoChoices .msf-video-choices{display:grid;grid-auto-rows:1fr;gap:10px}
#msfCounterVideoChoices button{box-sizing:border-box;width:100%;min-height:44px;height:auto;padding:12px 16px;border:1px solid #6683a3;border-radius:8px;background:#24374e;color:#fff;font:inherit;line-height:1.4;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
#msfCounterVideoChoices button:focus-visible{outline:2px solid #b9e9ff;outline-offset:2px}
#msfCounterVideoChoices .msf-video-choice-close{margin-top:16px}
/* Keep the standard MSF TV action next to pin/share, at their dimensions. */
body[data-msf-design] #resultsBody .msf-card-footer:has(.msf-approved-video-play)>.cru-vid-corner{margin-left:auto!important;order:8}
body[data-msf-design] #resultsBody .msf-card-footer:has(.msf-approved-video-play)>.mct-pin{margin-left:0!important}
body[data-msf-design] #resultsBody .msf-card-footer:has(.msf-approved-video-play) :is(.msf-approved-video-play,.mct-pin,.ctr-share-btn){box-sizing:border-box;flex:none!important;width:48px!important;height:44px!important;min-width:48px!important;min-height:44px!important;padding:0!important;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:360px){body[data-msf-design] #resultsBody .msf-card-footer:has(.msf-approved-video-play)>.msf-card-notes{flex-basis:100%}}

body #resultsBody .msf-approved-video-play .cru-tv-logo{font-size:12px}
@layer msf-themes{
html[data-msf-theme] body[data-msf-design] #resultsBody .msf-card-footer:has(.msf-approved-video-play) :is(.msf-approved-video-play,.mct-pin,.ctr-share-btn){flex:none!important;width:48px!important;height:44px!important;min-width:48px!important;min-height:44px!important;padding:0!important}
html[data-msf-theme] body #resultsBody .msf-approved-video-play .cru-tv-logo{font-size:12px!important}
}
@layer msf-themes{
html[data-msf-theme] body #msfCounterVideoChoices{background:#142132!important;color:#fff!important}
html[data-msf-theme] body #msfCounterVideoChoices h2{color:#fff!important}
html[data-msf-theme] body #msfCounterVideoChoices button{background:#24374e!important;color:#fff!important;min-width:0!important;height:auto!important;letter-spacing:normal!important;text-transform:none!important}
}
