/* Soft Commotion · Mobile Card Atelier v451
 * Layout-only pane switching. Editor state stays alive and no draft is auto-shared. */
.sc-card-mobile-switch,.sc-card-mobile-preview-now{display:none}
@media(max-width:850px){
 .sc-card-mobile-switch{position:sticky;top:0;z-index:25;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:#fff9f6;border:1px solid #dec6d0;margin-top:12px;box-shadow:0 4px 15px #523d4c12;scroll-margin-top:7px}
 .sc-card-mobile-switch button{min-height:49px;padding:9px 12px;background:transparent;color:#70475a;border:0;font:700 12px/1.3 system-ui,Arial,sans-serif;cursor:pointer}
 .sc-card-mobile-switch button[aria-pressed=true]{background:#6a3d52;color:#fff}
 .sc-card-mobile-switch button:focus-visible{outline:3px solid #ad7591;outline-offset:-3px}
 .sc-cards-editor-grid[data-card-mobile-pane=edit] .sc-cards-live-preview{display:none!important}
 .sc-cards-editor-grid[data-card-mobile-pane=preview] .sc-cards-editor-controls{display:none!important}
 .sc-cards-editor-grid[data-card-mobile-pane=preview] .sc-cards-live-preview{display:block;grid-row:1;margin:0 auto;max-width:570px;width:100%}
 .sc-card-mobile-preview-now{display:inline-flex;justify-content:center;align-items:center;min-height:44px;background:transparent;border:1px solid #96697a;color:#693f52;padding:10px 13px;margin:4px 0 14px;font:700 12px system-ui,Arial,sans-serif;cursor:pointer}
 .sc-card-mobile-preview-now:focus-visible{outline:3px solid #b27c98;outline-offset:3px}
 .sc-cards-editor-grid{padding-top:13px}
}
@media(max-width:540px){
 .sc-card-mobile-switch{margin-top:8px}
 .sc-cards-live-preview{padding:12px}
 .sc-cards-editor-top{gap:8px;flex-wrap:wrap;padding:9px 0}
}