.cm-acceso{max-width:1160px;margin:28px auto;padding:32px clamp(20px,4vw,44px);border:1px solid #d8b7ef77;border-radius:28px;background:radial-gradient(ellipse at right top,#ad81c542,transparent 65%),linear-gradient(130deg,#173b30,#244d40);box-shadow:0 22px 65px #071e2530;color:#fff;position:relative}.cm-acceso small{font-size:11px;letter-spacing:3px;color:#d9c1ed;font-weight:800}.cm-acceso h2{font:normal clamp(27px,4vw,40px)/1.15 Georgia,serif;color:#f4e8ff;margin:12px 0}.cm-acceso p{color:#deebe3;max-width:650px;line-height:1.6}.cm-acceso form{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.cm-acceso input{flex:1;min-width:220px!important;background:#fff!important;color:#17382f!important;font:600 15px monospace!important;letter-spacing:1px;border:1px solid #d9c1ed!important;border-radius:14px!important;padding:16px!important}.cm-acceso button,#cmEditorGuardar{background:linear-gradient(120deg,#d8bbef,#b891d4);color:#17382f;padding:16px 24px;border:0;border-radius:14px;font-weight:800;cursor:pointer}.cm-acceso button:disabled{opacity:.6}.cm-acceso label{display:block;font-weight:700;font-size:13px;color:#f4e8ff}.cm-acceso code{display:block;overflow-wrap:anywhere;font-size:clamp(14px,2vw,20px);padding:16px 0;color:#f3ddff;user-select:all}.cm-entrega{border-top:1px solid #d9c1ed55;margin-top:24px;padding-top:20px}.cm-acceso [role=status]{font-size:14px;margin-bottom:0}#cmEditorModal{width:min(1220px,96vw);height:94dvh;max-height:94dvh;padding:0;border:1px solid #dcc9eb;border-radius:28px;background:#f8f6fa;color:#17382f;box-shadow:0 30px 100px #071e2570}#cmEditorModal::backdrop{background:#081f1cd9;backdrop-filter:blur(9px)}.cm-editor-head{display:flex;justify-content:space-between;align-items:flex-start;padding:25px 30px;background:#173b30;color:#fff}.cm-editor-head small{letter-spacing:2px;font-size:10px;color:#dbc3ed}.cm-editor-head h2{font:normal 29px Georgia,serif;margin:8px 0}.cm-editor-head p{font-size:13px;color:#d9e4de;margin:0}.cm-editor-head button{border:1px solid #c5acda77;background:transparent;color:#fff;border-radius:50%;font-size:28px;min-width:42px;height:42px;cursor:pointer}.cm-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);gap:28px;padding:28px}.cm-editor-grid form{min-width:0}.cm-editor-grid label{display:block;font-size:13px;font-weight:700;margin-bottom:17px}.cm-editor-grid input,.cm-editor-grid textarea,.cm-editor-grid select{display:block;width:100%;box-sizing:border-box;padding:13px!important;margin-top:7px;border:1px solid #d4c6df!important;border-radius:12px!important;background:white!important;color:#17382f!important;font:15px system-ui!important}.cm-editor-grid textarea{min-height:100px;resize:vertical}.cm-editor-preview{position:sticky;top:18px;align-self:start;text-align:center}.cm-editor-preview span{display:block;font-size:10px;letter-spacing:1px;color:#705184;margin-bottom:12px}.cm-editor-preview iframe{width:min(100%,390px);height:650px;max-height:72dvh;border:7px solid #203d34;border-radius:28px;background:#fff;box-shadow:0 20px 50px #17382f30}.cm-editor-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.cm-editor-secondary{border:1px solid #bea1d1;border-radius:12px;padding:12px 18px;background:#fff;color:#17382f;font-weight:700;cursor:pointer}#cmEditorEstado{font-size:14px;line-height:1.5}#cmEditorGuardar:disabled{opacity:.6}@media(max-width:760px){.cm-acceso{margin:16px 14px;padding:24px 20px}.cm-acceso button{width:100%}.cm-editor-grid{grid-template-columns:1fr;padding:20px}.cm-editor-preview{position:static;grid-row:1}.cm-editor-preview iframe{height:420px}.cm-editor-head{padding:20px}.cm-editor-head h2{font-size:24px}}

.cm-foto-heading{font-size:13px;font-weight:750;margin:24px 0 9px}.cm-editor-grid label.cm-foto-tarjeta{position:relative;display:flex;align-items:center;gap:16px;padding:20px;margin:0 0 12px;border:1.5px dashed #bda0d5;border-radius:22px;background:linear-gradient(130deg,#fff,#f1e9f8);box-shadow:0 7px 25px #70478f09;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s;min-height:124px;overflow:hidden}.cm-foto-tarjeta:hover{border-color:#80549f;box-shadow:0 12px 28px #70478f18;transform:translateY(-1px)}.cm-foto-tarjeta:focus-within{outline:3px solid #a878d4;outline-offset:3px}.cm-editor-grid #cmEditorFoto{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:3;margin:0;padding:0!important;cursor:pointer;border:0!important}.cm-foto-mini{position:relative;display:grid;place-items:center;width:76px;height:82px;flex:0 0 76px;border:1px solid #dcc8eb;border-radius:17px;background:#e9dcf2;overflow:hidden;color:#825ba0}.cm-foto-mini img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.cm-foto-icono{display:grid;place-items:center}.cm-foto-textos{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.cm-foto-textos strong{font:normal 21px Georgia,serif;color:#4a3260}.cm-foto-textos>span{font-size:12px;font-weight:500;color:#6a6472;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-foto-textos small{font-size:10.5px;letter-spacing:.3px;color:#9376a7;font-weight:650}.cm-foto-mas{display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid #cdb2e0;border-radius:50%;font-size:22px;color:#825ba0;background:#fff9}@media(max-width:520px){.cm-editor-grid label.cm-foto-tarjeta{gap:12px;padding:16px}.cm-foto-mini{width:58px;height:70px;flex-basis:58px}.cm-foto-textos strong{font-size:18px}.cm-foto-mas{display:none}}

.cm-marca-pagina{display:flex;align-items:center;gap:13px;letter-spacing:1px}.cm-marca-pagina img,.cm-logo-editor{border-radius:50%;object-fit:contain;background:#fff;border:2px solid #c4a1df;box-shadow:0 5px 20px #0002}.cm-marca-pagina b{font-weight:400}.cm-editor-marca{display:flex;align-items:center;gap:18px}.cm-logo-editor{width:62px;height:62px;flex:0 0 62px}.cm-editor-head{position:sticky;top:0;z-index:5}.cm-editor-head .cm-editor-marca p{max-width:700px}@media(max-width:520px){.cm-logo-editor{width:43px;height:43px;flex-basis:43px}.cm-editor-marca{gap:12px}.cm-marca-pagina img{width:43px;height:43px}.cm-editor-head h2{font-size:21px}}

#cmEditorModal [hidden]{display:none!important}.cm-editor-album-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.cm-editor-album-foto{position:relative;display:grid!important;place-items:center;aspect-ratio:1;border:1px dashed #b792dc;border-radius:15px;overflow:hidden;background:#f2edf7;cursor:pointer;margin:8px 0!important}.cm-editor-album-foto input{position:absolute;inset:0;opacity:0;width:100%;height:100%;z-index:2;cursor:pointer}.cm-editor-album-foto img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cm-editor-album-foto span{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:11px;padding:6px;background:#17382fcc;color:white}.cm-editor-fondo{padding:16px;border:1px solid #dfd1e9;border-radius:18px}.cm-editor-fondo p,.cm-editor-album p{font-size:13px;line-height:1.6}.cm-editor-fondo .cm-editor-album-foto{max-width:180px;aspect-ratio:4/3}.cm-editor-fields input[type=color]{height:50px;padding:5px;cursor:pointer}.cm-editor-album-foto:focus-within{outline:3px solid #b792dc;outline-offset:2px}

.cm-editor-fondo-cuadro{position:relative;max-width:180px;margin:8px 0}.cm-editor-fondo-cuadro .cm-editor-album-foto{margin:0!important}.cm-editor-fondo-cuadro .cm-fondo-quitar{position:absolute;top:8px;right:8px;z-index:4;width:30px;height:30px;border:1px solid #ffffff99;border-radius:50%;padding:0;display:grid;place-items:center;background:#17382fe8;color:#fff;font:400 24px/1 system-ui,sans-serif;box-shadow:0 3px 12px #0003;cursor:pointer}.cm-editor-fondo-cuadro .cm-fondo-quitar:hover{background:#8a334a}.cm-editor-fondo-cuadro .cm-fondo-quitar:focus-visible{outline:3px solid #b792dc;outline-offset:3px}
