:root{--brand-bg:#0f1e36;--brand-accent:#1f6feb;--brand-text:#ffffff;--page-bg:#f5f7fb;--card-border:#dde3ea;--success:#137333;--error:#c5221f;--warning:#fbbc05}
body{font-family:system-ui,Segoe UI,Arial,sans-serif;margin:0;background:var(--page-bg);color:#222}
header{background:var(--brand-bg);color:var(--brand-text);padding:12px 16px}
.brand-bar{display:flex;align-items:center;gap:12px}
.brand-logo{height:40px;width:auto}
.brand-title{font-weight:600;letter-spacing:.2px}
.container{max-width:1000px;margin:24px auto;padding:0 16px}
.card{background:white;border:1px solid var(--card-border);border-radius:10px;padding:16px;margin-bottom:16px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
input,select,button,textarea{font-size:14px;padding:8px;border:1px solid #bbb;border-radius:6px}
button{background:var(--brand-accent);color:white;border:none;cursor:pointer}
button.secondary{background:#777}
.status-pill{display:inline-block;padding:4px 8px;border-radius:999px;font-size:12px;color:white}
.status-pendiente{background:#d93025}
.status-parcial{background:var(--warning);color:#222}
.status-firmado{background:#188038}
.list{width:100%;border-collapse:collapse}
.list th,.list td{border-bottom:1px solid #eee;padding:8px;text-align:left}
.notice{padding:8px;border-radius:6px;margin:8px 0}
.notice.success{background:#e6f4ea;color:var(--success)}
.notice.error{background:#fce8e6;color:var(--error)}
.flex{display:flex;gap:8px;align-items:center}
.hidden{display:none}
canvas{border:1px solid #ccc;border-radius:6px}
