/* Small reviewed fixes; preserve the established layouts and QR behavior. */
#cmPrintStudio .cm-print-intro > .cm-av-context { margin-top:10px; }
/* Match the existing phone-film selection, including landscape touch devices. */
@media (max-width:767px), (max-width:1024px) and (pointer:coarse) {
 #cmAcademyVideoDialog[open][data-cm-example="wifi-example"] { inset:0!important; margin:0!important; width:100vw!important; max-width:100vw!important; height:100dvh!important; max-height:100dvh!important; border-radius:0!important; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:12px!important; }
 #cmAcademyVideoDialog[data-cm-example="wifi-example"] .cm-av-dialog-head { width:100%; flex:none; }
 #cmAcademyVideoDialog[data-cm-example="wifi-example"] #cmAcademyVideoNote,
 #cmAcademyVideoDialog[data-cm-example="wifi-example"] #cmAcademyVideoTranscript { flex:none; }
}

/* Reviewed contrast adjustments and the 1024px editor fit, integrated 14 November 2026. */
#screen-home .cm-home-alert-dot{background:#c6263b!important}
#cmEntry .cm-demo-foot>span{color:#526176!important}
#screen-maker-customizer .preview-copy>.text-slate-300{color:#4b6070!important}
#screen-maker-customizer .design-subpanel p.text-slate-500{color:#526176!important}
#cmFrameFinish .cmff-choice small{color:#526176!important}
#screen-maker-download .text-emerald-600{color:#047857!important}
#cmRefineExportNote,#cm26CampaignTools>div>span,#cm26CampaignTools .cm26-tool-grid small{color:#526176!important}
#cmBulkEntry strong small{background:#f5e8bb!important;color:#503b0a!important}
.cm-pages-note{color:#526176!important}
#supportModal .text-cyan-600{color:#0e7490!important}
#supportModal .text-slate-500,#supportModal .text-slate-400,#cmSupportStatus{color:#526176!important}
#supportModal input::placeholder,#supportModal textarea::placeholder{color:#617085!important;opacity:1!important}
/* The same asset is loaded by the existing Smart Links document. Restrict edits to studio controls. */
html:not(.dark) #viewBuilder>div:first-child button.text-slate-400,html:not(.dark) #themeBtnLight .text-slate-400{color:#526176!important}
html:not(.dark) #viewBuilder input::placeholder,html:not(.dark) #viewBuilder textarea::placeholder{color:#617085!important;opacity:1!important}
html.dark #viewBuilder input::placeholder,html.dark #viewBuilder textarea::placeholder{color:#b6c3d5!important;opacity:1!important}
/* High-visibility keyboard focus on reviewed surfaces. */
#supportModal :is(button,input,textarea,select,summary):focus-visible,#screen-maker-customizer .design-tab-btn:focus-visible,#viewBuilder :is(button,input,textarea,select):focus-visible{outline:3px solid #6d28d9!important;outline-offset:3px!important}
html.dark #viewBuilder :is(button,input,textarea,select):focus-visible{outline-color:#c4b5fd!important}
html body #screen-home[data-cm-home-design] .cm-home-alert-dot{background:#c6263b!important}
html body #screen-maker-customizer .customizer-preview-card .preview-copy>.text-slate-300{color:#4b6070!important}
/* At the desktop sidebar breakpoint the original 850px grid exceeded its 764px panel. */
@media(min-width:1024px) and (max-width:1199px){
 html body #screen-maker-customizer .desktop-flow-container{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;gap:16px!important}
 html body #screen-maker-customizer .desktop-flow-container>*{min-width:0!important}
 html body #screen-maker-customizer .customizer-preview-card{padding:14px!important}
 html body #screen-maker-customizer .customizer-preview-box{width:min(100%,270px)!important;height:auto!important;aspect-ratio:1/1!important}
 html body #screen-maker-customizer .customizer-preview-card>.flex{width:100%!important;min-width:0!important}
}

