.cms-added{max-width:1100px;margin:24px auto;overflow-wrap:anywhere}
.cms-block{max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
img.cms-block,video.cms-block{display:block;height:auto;max-width:100%;max-height:720px;object-fit:contain}
.cms-button{display:inline-block;padding:12px 20px;border:1px solid currentColor;text-decoration:none}
.cms-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cms-box{padding:20px;border:1px solid #ddd}.cms-section{padding:20px}
.cms-toolbar{display:flex;flex-wrap:wrap;gap:8px}.cms-toolbar select{width:auto}
.cms-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px}
.cms-layout>aside{max-height:80vh;overflow:auto}.cms-preview{min-width:0;max-height:80vh;overflow:auto;border:1px solid #ccc;background:white}
.cms-properties{display:grid;gap:12px;padding:12px}.cms-gallery{display:flex;flex-wrap:wrap;gap:6px;max-height:160px;overflow:auto}.cms-gallery img{width:54px;height:54px;object-fit:contain}
#admin-frontend-editor button{min-height:42px;padding:8px;cursor:pointer}#admin-frontend-editor input[type=color]{height:44px;padding:3px}
@media(max-width:800px){.cms-layout{grid-template-columns:1fr}.cms-layout>aside{max-height:45vh}.cms-columns{grid-template-columns:1fr}}
