*{box-sizing:border-box}body,html{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#f4f6f9;color:#1a1a1a}a{color:#13315c;text-decoration:none}.container{max-width:1080px;margin:0 auto;padding:24px 20px}.card{background:#fff;border:1px solid #e2e7ee;border-radius:8px;padding:16px 18px}.grid{grid-gap:16px}.grid,.metric-grid{display:grid;gap:16px}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:16px}.metric{background:#fff;border:1px solid #e2e7ee;border-radius:8px;padding:16px 18px}.metric .value{font-size:28px;font-weight:700;color:#0b2545}.metric .label{font-size:13px;color:#5b6b81;text-transform:uppercase;letter-spacing:.04em}table{width:100%;border-collapse:collapse;font-size:14px}td,th{text-align:left;padding:8px 10px;border-bottom:1px solid #eef1f5}th{color:#5b6b81;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.badge,th{font-size:12px}.badge{display:inline-block;padding:2px 8px;border-radius:999px;background:#eef2f7;color:#13315c}.topbar{background:#0b2545;color:#fff;padding:12px 20px;display:flex;align-items:center;justify-content:space-between}.topbar h1{margin:0;font-size:18px}.topbar a.button,.topbar button{background:#1d4e89;color:#fff;border:none;border-radius:6px;padding:8px 14px;cursor:pointer;font-size:14px}.auth-form{max-width:360px;margin:10vh auto 0;background:#fff;border:1px solid #e2e7ee;border-radius:10px;padding:28px}.auth-form h1{margin-top:0;color:#0b2545}.auth-form input{margin-bottom:12px;border:1px solid #c6d0dc;border-radius:6px}.auth-form button,.auth-form input{width:100%;padding:10px;font-size:14px}.auth-form button{background:#0b2545;color:#fff;border:none;border-radius:6px;cursor:pointer}.error{color:#b00020;font-size:13px;margin-bottom:10px}.rte{border:1px solid #c6d0dc;border-radius:8px;background:#fff;overflow:hidden}.rte-toolbar{display:flex;flex-wrap:wrap;gap:4px;padding:8px;border-bottom:1px solid #e2e7ee;background:#f7f9fc}.rte-btn{min-width:30px;padding:5px 8px;border:1px solid transparent;border-radius:5px;background:transparent;color:#13315c;font-size:13px;cursor:pointer}.rte-btn:hover:not(:disabled){background:#e6ecf5}.rte-btn.active{background:#1d4e89;color:#fff}.rte-btn:disabled{opacity:.4;cursor:not-allowed}.rte-sep{width:1px;align-self:stretch;margin:2px 4px;background:#dde3ea}.rte-content .ProseMirror{min-height:340px;max-height:70vh;overflow-y:auto;padding:16px 18px;outline:none;font-size:15px;line-height:1.7;color:#1a1a1a}.rte-content .ProseMirror h1,.rte-content .ProseMirror h2,.rte-content .ProseMirror h3{color:#0b2545;line-height:1.3}.rte-content .ProseMirror blockquote{border-left:3px solid #1d4e89;margin:.8em 0;padding-left:1em;color:#3d4d68}.rte-content .ProseMirror img{display:block;max-width:100%;margin:.6em auto;border-radius:4px}.rte-content .ProseMirror img[title="pequeño"]{width:40%}.rte-content .ProseMirror img[title=mediano]{width:68%}.rte-content .ProseMirror img[title=grande]{width:95%}.rte-content .ProseMirror img.ProseMirror-selectednode{outline:2px solid #1d4e89;outline-offset:2px}.rte-content .ProseMirror code{background:#f2f4f7;padding:.1em .3em;border-radius:4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.rte-content .ProseMirror pre{background:#f5f7fa;border:1px solid #dde3ea;border-radius:6px;padding:.8em;overflow-x:auto}.rte-content .ProseMirror pre code{background:none;padding:0}.rte-content .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#9aa7ba;pointer-events:none;height:0}.rte-loading{padding:24px;color:#5b6b81}@keyframes spin{to{transform:rotate(1turn)}}.spinner{width:16px;height:16px;border:2px solid #c6d0dc;border-top-color:#1d4e89;border-radius:50%;animation:spin .8s linear infinite;display:inline-block}.progress-track{height:8px;background:#e2e7ee;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:#1d4e89;transition:width .4s ease}