:root{--surface-0: #f6f5f1;--surface-1: #f1efe8;--surface-2: #ffffff;--text-primary: #1c1c1a;--text-secondary: #5f5e5a;--text-muted: #888780;--border: #e2e0d8;--border-strong: #c9c7bc;--bg-accent: #e6f1fb;--text-accent: #0c447c;--bg-success: #eaf3de;--text-success: #27500a;--bg-warning: #faeeda;--text-warning: #633806;--bg-danger: #fcebeb;--text-danger: #791f1f;--radius: 8px}*{box-sizing:border-box}body{margin:0;background:var(--surface-0);color:var(--text-primary);font-family:-apple-system,Segoe UI,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.6}.app{max-width:900px;margin:0 auto;padding:2rem 1.5rem 4rem}.app-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.app-header h1{font-size:20px;font-weight:500;margin:0 0 2px}.app-header p{font-size:13px;color:var(--text-secondary);margin:0}.tabs{display:flex;gap:4px;margin-bottom:1.5rem;border-bottom:1px solid var(--border)}.tab{border:none;background:transparent;padding:10px 16px;font-size:14px;color:var(--text-secondary);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;font-family:inherit}.tab.active{color:var(--text-primary);font-weight:500;border-bottom-color:var(--text-primary)}button{font-family:inherit;border:1px solid var(--border-strong);background:var(--surface-2);border-radius:var(--radius);padding:8px 14px;font-size:13px;color:var(--text-primary);cursor:pointer}button:hover{background:var(--surface-1)}button:disabled{cursor:default;opacity:.5}input,select,textarea{font-family:inherit;font-size:14px;border:1px solid var(--border-strong);border-radius:var(--radius);padding:8px 10px;background:var(--surface-2);color:var(--text-primary);width:100%}label{font-size:12px;color:var(--text-secondary);display:block;margin-bottom:4px}.card{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:1rem 1.25rem}.list{border:1px solid var(--border);border-radius:var(--radius)}.list-row{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--border)}.list-row:last-child{border-bottom:none}.avatar{width:32px;height:32px;border-radius:50%;background:var(--bg-accent);color:var(--text-accent);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;flex-shrink:0}.row-name{font-size:14px;font-weight:500;margin:0}.row-sub{font-size:12px;color:var(--text-secondary);margin:2px 0 0}.pill{font-size:12px;padding:4px 10px;border-radius:var(--radius);display:inline-block;white-space:nowrap}.pill-success{background:var(--bg-success);color:var(--text-success)}.pill-warning{background:var(--bg-warning);color:var(--text-warning)}.pill-danger{background:var(--bg-danger);color:var(--text-danger)}.pill-accent{background:var(--bg-accent);color:var(--text-accent)}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.metric{background:var(--surface-1);border-radius:var(--radius);padding:1rem}.metric-label{font-size:13px;color:var(--text-secondary);margin:0 0 4px}.metric-value{font-size:24px;font-weight:500;margin:0}.combobox{position:relative}.combobox-opciones{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:10;max-height:280px;overflow-y:auto;background:var(--surface-2);box-shadow:0 8px 20px #1c1c1a1f}.combobox-opciones .list-row:hover{background:var(--surface-1)}.field{margin-bottom:12px}.section-title{font-size:14px;font-weight:500;margin:0 0 4px}.section-note{font-size:12px;color:var(--text-muted);margin:0 0 14px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.type-btn{display:inline-flex;align-items:center;gap:4px}.type-btn.selected{border-color:var(--text-primary);font-weight:500}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.card-cerrar{border:none;background:transparent;padding:4px 8px;line-height:1;font-size:20px;color:var(--text-secondary)}.card-cerrar:hover{background:var(--surface-1);border-radius:50%}.auth-shell{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:1.5rem}.auth-card{width:100%;max-width:340px}.auth-firma{font-size:12px;color:var(--text-muted)}i[class^=ti-]{font-size:16px;vertical-align:-3px}
