#sy-theme-dialog.sy-theme-compact50{width:min(940px,calc(100vw - 28px));min-height:0!important;height:auto!important;max-height:calc(100dvh - 28px);padding:16px;box-sizing:border-box;overflow:auto}#sy-theme-dialog.sy-theme-compact50>.section-heading{margin:0 0 12px;grid-column:1/-1}#sy-theme-dialog.sy-theme-compact50 h2{margin:0;font-size:20px}#sy-theme-dialog.sy-theme-compact50 .sy-theme-layout50{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(290px,1.6fr) minmax(160px,.8fr);gap:12px;align-items:start;grid-column:1/-1}#sy-theme-dialog.sy-theme-compact50 .sy-theme-layout50>section{display:flex!important;flex-direction:column;gap:9px;min-width:0;margin:0;padding:12px;border:1px solid #adc3d1;border-radius:8px;background:#f6fafc;box-sizing:border-box}#sy-theme-dialog.sy-theme-compact50 h3{margin:0 0 3px;font-size:15px}#sy-theme-dialog.sy-theme-compact50 p{margin:0;font-size:12px;line-height:1.55}#sy-theme-dialog.sy-theme-compact50 .sy-theme-grid,#sy-theme-dialog.sy-theme-compact50 .sy-brand-preview-buttons{display:none!important}#sy-theme-dialog.sy-theme-compact50 label{display:flex;gap:6px;align-items:center;margin:0;font-size:12px}#sy-theme-dialog.sy-theme-compact50 .sy-compact-field50{align-items:stretch;flex-direction:column}#sy-theme-dialog.sy-theme-compact50 select{width:100%;min-width:0;min-height:34px;box-sizing:border-box;font-size:13px;padding:5px}#sy-theme-dialog.sy-theme-compact50 button{min-height:32px;margin:0;padding:5px 9px;font-size:12px}#sy-theme-dialog.sy-theme-compact50 .sy-scene-select49{margin:0;grid-template-columns:minmax(0,1fr)}#sy-theme-dialog.sy-theme-compact50 .sy-monthly-settings48{display:flex;flex-direction:column;gap:7px;background:none;border:0;border-top:1px solid #c6d7e1;padding:9px 0 0;margin:0}#sy-theme-dialog.sy-theme-compact50 .sy-monthly-settings48 label{flex-direction:column;align-items:stretch}#sy-theme-dialog.sy-theme-compact50 .sy-compact-sounds50{display:flex;flex-wrap:wrap;gap:5px}#sy-theme-dialog.sy-theme-compact50 [hidden]{display:none!important}.sy-admin-scenery-preview50{overflow:hidden!important}.sy-admin-scenery-preview50 #sy-scenery-preview49{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;overflow:hidden!important}.sy-admin-scenery-preview50 #sy-scenery-preview49>.sy-scenery-preview-screen48{width:100%!important;height:100%!important;max-height:none!important;border-radius:0!important;aspect-ratio:auto!important}.sy-admin-scenery-preview50 #sy-scenery-preview49>[hidden]{display:none!important}.sy-admin-scenery-controls50{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;min-width:0}.sy-admin-scenery-controls50 iframe{width:100%;height:auto;aspect-ratio:3/1;border:1px solid #96b6c9;border-radius:7px}.sy-scenery-admin-group50{grid-column:1/-1;border:1px solid #abc3d2;border-radius:7px;padding:10px}.sy-scenery-admin-group50>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.sy-scenery-admin-group50 summary{cursor:pointer;font-weight:bold}form:has([data-editor-view=scenery]:not([hidden])) .page-preview{display:none}form:has([data-editor-view=scenery]:not([hidden])) .page-editor{grid-template-columns:minmax(0,1fr)}@media(max-width:720px){#sy-theme-dialog.sy-theme-compact50 .sy-theme-layout50{grid-template-columns:minmax(0,1fr)}.sy-scenery-admin-group50>div{grid-template-columns:minmax(0,1fr)}}
/* Override the earlier wide, fixed-grid dialog rules. */
#sy-theme-dialog.sy-theme-compact50{width:min(940px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 28px)!important;padding:16px!important;background:#fff!important;opacity:1!important;backdrop-filter:none!important}#sy-theme-dialog.sy-theme-compact50[open]{display:block!important}#sy-theme-dialog.sy-theme-compact50 .sy-theme-layout50>section{min-height:0!important;height:auto!important}#sy-theme-dialog.sy-theme-compact50 .sy-monthly-settings48{min-height:0!important;height:auto!important;padding:9px 0 0!important}#sy-theme-dialog.sy-theme-compact50 .sy-monthly-settings48 label{min-height:0!important;height:auto!important;display:flex!important;flex:none!important}#sy-theme-dialog.sy-theme-compact50 .sy-monthly-settings48 select{height:34px!important;min-height:34px!important;max-height:34px!important;flex:none!important}#sy-theme-dialog.sy-theme-compact50 .sy-monthly-settings48 button{align-self:flex-start}

#sy-theme-dialog.sy-theme-compact50{height:fit-content!important}#sy-theme-dialog.sy-theme-compact50 .sy-scene-select49{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}@media(max-width:720px){#sy-theme-dialog.sy-theme-compact50 .sy-scene-select49{grid-template-columns:minmax(0,1fr)}}

.sy-personal-scenes50{display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid #c3d4df;padding-top:8px}.sy-personal-scenes50 button{flex:1;white-space:nowrap}
