:root{color-scheme:light;--ink:#142e47;--blue:#075b99;--line:#cbd8e2;--yellow:#ffd329}*{box-sizing:border-box}body{margin:0;background:#edf3f8;color:var(--ink);font:15px/1.55 system-ui,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer;background:var(--yellow);color:#102a40;border:1px solid transparent;padding:11px 16px;border-radius:9px;font-weight:700}button:disabled{opacity:.45;cursor:not-allowed}button:not(:disabled):hover{filter:brightness(.96)}a{color:inherit}input,textarea,select{display:block;width:100%;padding:11px 12px;border:1px solid #a8bdcd;border-radius:7px;background:#fff;color:var(--ink)}textarea{resize:vertical;min-height:90px}label{display:block;font-size:14px;font-weight:650;margin-bottom:6px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #1e9bce;outline-offset:3px}[hidden]{display:none!important}
#login{width:min(480px,100%);margin:7vh auto;padding:32px}#login h1{font-size:52px;letter-spacing:-.045em;line-height:1.04;margin:25px 0}#login p{color:#496278}#login form{margin:30px 0}.overline{font-size:13px;letter-spacing:.18em;font-weight:800}.password-row{display:flex;gap:8px}.password-row input{min-width:0}.password-row button{background:#dbe9f3}.login-submit{width:100%;margin-top:15px}#login-status{min-height:24px}
.editor-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 22px;background:#061e42;color:white;min-height:82px}.editor-brand{font-size:21px;font-weight:800;line-height:1.15;text-decoration:none;white-space:nowrap}.editor-brand span{display:block;font-size:11px;letter-spacing:.2em;color:#a9cce5;margin-top:5px}.editor-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.editor-toolbar button{font-size:14px}.open-site{font-size:13px;white-space:nowrap}.secondary{background:transparent;border-color:#7996af;color:inherit}.quiet{background:transparent;color:inherit;padding:10px}.statusbar{display:flex;gap:15px;align-items:center;background:#e6eef5;padding:10px 22px;border-bottom:1px solid #c8d6e1;min-height:51px}.statusbar.error{background:#ffe5e1;color:#8d2921}#status{margin:0;font-size:13px}#dirty-indicator{font-size:12px;font-weight:750;white-space:nowrap;color:#855c00;background:#fff3bd;border-radius:100px;padding:5px 10px}#dirty-indicator.saved{background:#d8efe4;color:#246747}
.editor-layout{display:grid;grid-template-columns:minmax(350px,430px) minmax(0,1fr);height:calc(100dvh - 133px);min-height:460px}aside{overflow:auto;overscroll-behavior:contain;border-right:1px solid var(--line);background:#f7fafc;padding:21px 22px 70px}.hint{margin:0 0 19px;color:#536e83;font-size:13px}.edit-group{border-bottom:1px solid var(--line)}.edit-group summary{cursor:pointer;font-size:16px;font-weight:750;padding:18px 0;list-style-position:inside}.edit-group[open] summary{color:#075b99}.group-body{padding:1px 2px 14px}.edit-field{margin:0 0 18px;min-width:0}.edit-field input,.edit-field textarea,.edit-field select{font-size:14px}.edit-field:focus-within>label{color:#075b99}.field-help{display:block;font-size:12px;line-height:1.5;color:#536d81;margin:8px 0 15px}.toggle-row{display:flex;align-items:center;gap:10px;background:#e7f0f7;padding:11px 12px;border-radius:8px;font-size:14px;font-weight:650;margin:0 0 15px;cursor:pointer}.toggle-row input{width:19px;height:19px;margin:0;accent-color:#075b99;flex-shrink:0}.collection-card{padding:16px 13px 10px;margin:19px 0;border:1px solid #c3d5e2;background:#fff;border-radius:12px;box-shadow:0 4px 10px #11365304}.collection-card>h3{font-size:15px;margin:0 0 13px;overflow-wrap:anywhere}.collection-card .toggle-row{background:#edf5fa}.collection-card .image-preview{height:140px}.item-actions{display:flex;gap:7px;border-top:1px solid #dce5ed;padding-top:12px;margin:4px 0 2px}.item-actions button{font-size:12px;padding:7px 10px;background:#edf3f8;border-color:#c3d1dd}.item-actions .item-remove{margin-left:auto;color:#a43b35;background:#fff6f5;border-color:#e9c7c4}.add-item{width:100%;border:1px dashed #71a4c8;background:#e6f3fb;color:#07558a}
.image-preview{width:100%;height:145px;object-fit:contain;border:1px solid #d0dee8;border-radius:8px;margin:9px 0;background-color:#eaf1f7;background-image:linear-gradient(45deg,#d7e3ed 25%,transparent 25%),linear-gradient(-45deg,#d7e3ed 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d7e3ed 75%),linear-gradient(-45deg,transparent 75%,#d7e3ed 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.image-preview.image-error{font-size:12px;color:#59748a}.image-upload{font-size:12px!important;padding:8px!important;background:#f0f6fa}.image-upload::file-selector-button{border:0;border-radius:5px;background:#075b99;color:white;padding:7px 10px;margin-right:10px;font:inherit;cursor:pointer}.color-row{display:grid;grid-template-columns:56px 1fr;gap:10px}.color-row input[type=color]{height:45px;padding:4px}.color-row input:not([type=color]){font-family:ui-monospace,monospace}.preview{background:#b8c8d5;padding:18px;overflow:auto;display:flex;justify-content:center;align-items:flex-start;min-width:0}iframe{width:100%;height:100%;border:0;background:#061e42;box-shadow:0 6px 25px #0a254025;min-height:400px}.preview.mobile iframe{width:390px;max-width:100%;flex-shrink:0}#fields{padding-bottom:35px}#fields:empty::before{content:'Cargando controles…';color:#536e83}
@media(max-width:1050px){.editor-header{gap:12px;padding:12px 15px}.editor-toolbar{gap:7px}.editor-brand{font-size:17px}.editor-toolbar button{font-size:13px;padding:9px 11px}.open-site{display:none}.editor-layout{grid-template-columns:minmax(320px,370px) minmax(0,1fr)}aside{padding:18px 15px 60px}}@media(max-width:760px){.editor-header{align-items:flex-start;position:relative}.editor-brand{font-size:14px;padding-top:8px}.editor-brand span{font-size:9px}.editor-toolbar{max-width:280px}.editor-toolbar button{font-size:12px;padding:8px 9px}.editor-toolbar .quiet{padding:7px}.statusbar{align-items:flex-start;gap:8px;padding:9px 12px;flex-wrap:wrap}#status{font-size:12px}#dirty-indicator{font-size:11px}.editor-layout{display:flex;flex-direction:column;height:auto;min-height:0}aside{max-height:52dvh;border-right:0;border-bottom:2px solid #9bb8cc;padding:16px 15px 30px}.preview{height:65dvh;min-height:420px;padding:10px}.edit-group summary{padding:16px 0}.image-preview{height:130px}#login{margin:2vh auto;padding:28px}.editor-toolbar #save{min-width:125px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
