/* Scoped editor inside existing Oráculo. */
.op48-dialog{color:#eef8ff;background:linear-gradient(140deg,#0c2344,#15285b);border:1px solid #4e9fec;border-radius:18px;width:min(1150px,96vw);max-width:96vw;max-height:92dvh;padding:0;overflow:auto;overscroll-behavior:contain;box-shadow:0 0 36px #0ac4ff40}.op48-dialog::backdrop{background:#020a1ddb}.op48{padding:20px;min-width:0}.op48 *{box-sizing:border-box}.op48 header{display:flex;justify-content:space-between;align-items:center;gap:15px;position:static}.op48 header span{font-size:12px;letter-spacing:2px;color:#69eaff}.op48 h2{font-size:24px;margin:7px 0}.op48 h3{font-size:18px;line-height:1.35;margin:5px 0;overflow-wrap:anywhere}.op48 p{font-size:14px;line-height:1.5;white-space:pre-line}.op48 small{display:block;color:#b6cce5;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.op48 button{border:1px solid #3faef4;background:linear-gradient(130deg,#075cb8,#3447bc);color:#fff;border-radius:10px;padding:10px 14px;min-height:44px;cursor:pointer;font-size:14px;white-space:normal;word-break:normal}.op48 button:disabled{opacity:.5;cursor:not-allowed}.op48 button:focus-visible,.op48 input:focus-visible,.op48 select:focus-visible{outline:2px solid #6cebd5;outline-offset:2px}.op48 label{display:flex;flex-direction:column;gap:6px;font-size:14px;margin:8px 0;min-width:0}.op48 label:has(input[type=checkbox]){flex-direction:row;align-items:center}.op48 input,.op48 select,.op48 textarea{min-width:0;max-width:100%;width:100%;font-size:16px;padding:10px;color:#edf7ff;background:#081a34;border:1px solid #396c9e;border-radius:9px}.op48 input[type=checkbox]{width:23px;height:23px;flex:0 0 23px}.op48 [aria-invalid=true]{border:2px solid #ff8598}.op48 input:disabled,.op48 select:disabled{opacity:.7}.op48-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}.op48-tools>label{flex:1 1 180px}.op48-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.op48-list article{background:#112b4d;border:1px solid #3a6d9f;border-radius:14px;padding:15px;min-width:0}.op48-itemhead{display:grid;gap:7px}.op48-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.op48-summary{padding:13px;border:1px solid #2dc3c2;background:#123c57;border-radius:13px;margin:12px 0}.op48-summary b{display:block;line-height:1.5}.op48-warning{background:#65450c;color:#fff0b6;padding:12px;border-radius:10px}.op48-ok{background:#064f41;color:#a4ffda;padding:12px;border:1px solid #30c697;border-radius:10px}.op48 [data-error]{color:#ffbdc9}.op48 footer{display:flex;flex-wrap:wrap;gap:12px;position:static;margin-top:16px}.op48 [data-confirm]{background:linear-gradient(125deg,#007c70,#075eab)}html[data-theme=light] .op48-dialog{background:#f0f8ff;color:#12385c}html[data-theme=light] .op48-list article{background:#fff}html[data-theme=light] .op48 input,html[data-theme=light] .op48 select,html[data-theme=light] .op48 textarea{background:#fff;color:#16375a}html[data-theme=light] .op48-summary{background:#dff3ff}html[data-theme=light] .op48 small{color:#405d7c}html[data-theme=light] .op48 [data-error]{color:#a00933}@media(max-width:700px){.op48-dialog{width:96vw;max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px)}.op48{padding:12px;padding-bottom:max(18px,env(safe-area-inset-bottom))}.op48-list{grid-template-columns:1fr}.op48-fields{gap:8px}.op48 h2{font-size:21px}.op48 footer button{width:100%}.op48-tools{gap:7px}.op48-tools>button{flex:1 1 140px}}

.op48 [data-error]:empty{display:none}.op48 [data-error][data-kind=success]{color:#a4ffda;background:#064f41;border:1px solid #30c697;padding:10px;border-radius:10px}html[data-theme=light] .op48 [data-error][data-kind=success]{color:#07503c;background:#d8ffed}
.op48 [data-error][data-kind=warning]{color:#ffe1a1;background:#63440b;border:1px solid #dcaa41;padding:10px;border-radius:10px}
