.editor-bar,.editor-dialog,.login-page{font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5;color:#26375f}.editor-bar{position:sticky;top:0;z-index:100;background:#fff;border-bottom:2px solid #2dafaa;padding:12px 24px;box-shadow:0 3px 20px #26375f18;display:flex;gap:12px;flex-wrap:wrap;align-items:center}.editor-brand{display:grid;margin-right:auto;gap:3px}.editor-brand span{font-size:11px;color:#546574}.editor-tools,.editor-actions,.dialog-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.editor-actions{width:100%;justify-content:flex-end}.editor-actions>span{margin-right:auto;font-size:12px;max-width:600px}.editor-bar button,.editor-dialog button,.login-card button{font:inherit;padding:8px 12px;border:1px solid #d2dcdf;border-radius:4px;background:#f7f8f6;color:#26375f;cursor:pointer}.editor-bar button:hover,.editor-dialog button:hover{background:#e5f2ef}.editor-bar button:disabled{opacity:.55;cursor:wait}.editor-bar .editor-primary,.editor-dialog .editor-primary,.login-card button{background:#26375f;color:white;border-color:#26375f}.editor-actions a{font-size:12px;text-decoration:underline;margin-inline:5px}.editor-dialog{border:1px solid #d2dcdf;border-radius:8px;padding:28px;max-width:540px;width:calc(100% - 30px);box-shadow:0 20px 90px #0003}.editor-dialog::backdrop{background:#17233688}.editor-dialog h2{font:500 25px/1.3 Arial,sans-serif;letter-spacing:-.5px;margin:0 0 16px}.editor-dialog p{font-size:13px}.editor-dialog label,.login-card label{display:block;font-size:12px;font-weight:700;margin:18px 0 7px}.editor-dialog input,.editor-dialog textarea,.editor-dialog select,.login-card input{width:100%;padding:12px;border:1px solid #bdcbd1;border-radius:4px;font:inherit;background:white;color:#26375f}.editor-dialog textarea{min-height:120px}.dialog-actions{justify-content:flex-end;margin-top:24px}.dialog-status{color:#a32d20;min-height:20px}.login-page{margin:0;background:#edf3f2;min-height:100vh;display:grid;place-items:center;padding:25px;box-sizing:border-box}.login-card{background:white;max-width:440px;padding:40px;border:1px solid #d8e1e2;border-radius:8px}.login-card>a{font-size:12px;color:#087b79}.login-label{font-size:10px;letter-spacing:1.5px;margin-top:32px}.login-card h1{font-size:32px;font-weight:500;line-height:1.1;letter-spacing:-1px}.login-card p{color:#546574}.login-card button{width:100%;margin-top:24px}.login-card small{color:#546574;font-size:11px}.login-card #login-status{font-size:13px;min-height:24px}.login-card input{box-sizing:border-box}body[data-editor] [data-edit]{outline:1px dashed #2dafaa88;outline-offset:5px;cursor:text;min-height:1em}body[data-editor] [data-edit]:focus{outline:2px solid #087b79}body[data-editor] [data-image]{cursor:pointer;outline:2px dashed #2dafaa;outline-offset:3px}body[data-editor] .hero-photo:after{pointer-events:none}body[data-editor] .hero-photo>img{z-index:0}body[data-editor] .hero-photo figcaption{pointer-events:auto}body[data-editor] .hero-photo .anniversary{pointer-events:auto}body[data-editor] .hero-photo>img:hover{outline:4px solid #087b79;outline-offset:-5px}body[data-editor] .hero-photo:after{z-index:0}body[data-editor] .hero-photo figcaption,body[data-editor] .anniversary{z-index:1}@media(max-width:700px){.editor-bar{padding:10px 12px;gap:8px}.editor-brand span{display:none}.editor-tools{gap:5px}.editor-tools button{font-size:11px;padding:7px 9px}.editor-actions{gap:7px;justify-content:flex-start}.editor-actions>span{width:100%;max-width:none}.editor-actions button{font-size:12px}.login-card{padding:28px}.editor-dialog{padding:22px}}

.login-card select{box-sizing:border-box;width:100%;padding:12px;border:1px solid #bdcbd1;border-radius:4px;font:inherit;background:white;color:#26375f}.editor-brand .editor-person{display:block;font-weight:700;color:#087b79}.history-events{max-height:50vh;overflow:auto}.history-event{padding:16px 0;border-bottom:1px solid #d8e1e2}.history-event>strong{display:block;font-size:13px}.history-event>small{display:block;font-size:11px;color:#546574;margin:6px 0 10px}.history-event details{margin-top:10px}.history-event summary{font-size:12px;cursor:pointer;color:#087b79}.history-event p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;margin:10px 0}.history-status{font-size:12px}

.editor-lease{width:100%;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:8px 12px;background:#e5f2ef;border-radius:4px;font-size:12px}.editor-lease button[hidden]{display:none}@media(max-width:700px){.editor-lease{align-items:start}.editor-lease button{white-space:nowrap;font-size:11px}}

/* Ventanas y formularios accesibles en pantallas bajas */
.editor-dialog{box-sizing:border-box;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}.editor-dialog input,.editor-dialog textarea,.editor-dialog select{min-width:0;box-sizing:border-box}.login-page{min-height:100dvh}.login-card{box-sizing:border-box;width:min(100%,440px);min-width:0}.login-card h1{overflow-wrap:break-word}.editor-lease>span{min-width:0;overflow-wrap:anywhere}body[data-can-edit="false"] [data-edit],body[data-can-edit="false"] [data-image]{outline:none;cursor:default}body[data-can-edit="false"] .hero-photo>img:hover{outline:none}.history-event summary{overflow-wrap:anywhere}@media(max-width:700px){.editor-bar{max-height:45dvh;overflow-y:auto;overscroll-behavior:contain}.editor-lease{flex-wrap:wrap}.editor-lease button{flex-shrink:0}}

@media(max-width:700px){.login-card input,.login-card select,.editor-dialog input,.editor-dialog textarea,.editor-dialog select,.comments-panel input:not([type=checkbox]),.comments-panel textarea{font-size:16px}}@media(max-width:380px){.login-page{padding:16px}.login-card{padding:24px}.login-label{margin-top:24px}.login-card h1{font-size:28px}}
