/* Marcou Casou v0.4.0 • layered stability corrections */
*,*::before,*::after{box-sizing:border-box}html,body{max-width:100%;min-width:0}img,video,canvas{max-width:100%}body{overflow-x:clip}
.editor-shell{display:grid!important;grid-template-columns:minmax(310px,360px) minmax(0,1fr)!important;min-height:0!important;max-height:calc(100dvh - 76px)!important;overflow:hidden!important}
.edit-right{display:none!important}.editor-stage{min-width:0!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain}.edit-side{min-height:0!important;overflow:auto!important;overscroll-behavior:contain}#previewFrame{min-width:0!important;max-width:100%!important}#editorApp{height:100dvh!important;overflow:hidden!important}.editor-shell~footer{display:none!important}body:has(#editorApp){height:100dvh!important;overflow:hidden!important}
body:has(#editorApp) .footer,body:has(#editorApp) .pwa-install{display:none!important}.admin-content{min-width:0!important}.admin-stats article{box-shadow:0 8px 35px #74395b10!important;border:1px solid #efdeeb!important;border-radius:18px!important}.admin-panel{box-shadow:0 10px 36px #542b4b0b!important;border-radius:18px!important}.mc-settings-form{display:grid;gap:14px;max-width:720px}.mc-settings-form label{display:grid;gap:6px;font-weight:650}.mc-settings-form input,.mc-settings-form select{width:100%;min-width:0;padding:12px 14px;border-radius:12px;border:1px solid #e0cbdc;background:#fff}.mc-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mc-info{padding:15px;border:1px solid #ead4e4;background:#fcf7fb;border-radius:12px}
@media(max-width:860px){.editor-shell{grid-template-columns:minmax(0,1fr)!important;display:block!important;max-height:none!important;overflow:visible!important}#editorApp{height:auto!important;overflow:visible!important}body:has(#editorApp){height:auto!important;overflow-x:hidden!important;overflow-y:auto!important}.edit-side,.editor-stage{overflow:visible!important;max-height:none!important}.editbar{position:sticky;top:0;z-index:40;flex-wrap:wrap}.mc-settings-grid{grid-template-columns:1fr}.admin-shell,.dashboard{max-width:100vw;overflow-x:clip}}
.mc-captcha{border:1px solid #ead3e2;border-radius:16px;padding:15px;margin:12px 0}.mc-captcha legend{font-weight:700;color:#804e76}.mc-captcha-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.mc-captcha-grid label{display:grid;place-items:center;gap:4px;cursor:pointer;border:1px solid #ecd9e7;border-radius:12px;padding:10px 2px}.mc-captcha-grid label:has(input:checked){background:#f1dfec;border-color:#9b6590}.mc-captcha-grid input{position:absolute;opacity:0;width:1px}.mc-captcha-grid span{font-size:30px}.mc-captcha-grid small{font-size:10px;color:#62405b}.mc-settings-form input[type=checkbox]{width:auto;min-width:auto;display:inline-block;margin-right:8px}.mc-settings-form label:has(input[type=checkbox]){display:block}@media(max-width:440px){.mc-captcha-grid span{font-size:23px}.mc-captcha-grid{gap:3px}}
