:root{color:#1c2f45;font-synthesis:none;text-rendering:optimizelegibility;background:#f3f6fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f3f6fa;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{color:#fff;cursor:pointer;background:#17365d;border:0;border-radius:8px;padding:.75rem 1rem;font-weight:700;transition:background .16s}button:hover:not(:disabled){background:#1f4e78}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{color:#1c2f45;background:#fff;border:1px solid #b9c7d8;border-radius:8px;width:100%;padding:.75rem}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:#1f4e78;outline:3px solid #d9eaf7}.app{width:min(100% - 2rem,1120px);margin:0 auto;padding:3rem 0}.app-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;display:flex}.eyebrow{color:#1f4e78;letter-spacing:.08em;margin:0 0 .4rem;font-size:.75rem;font-weight:800}h1,h2,h3,p{margin-top:0}h1{color:#17365d;margin-bottom:.5rem;font-size:clamp(2rem,5vw,2.8rem)}h2{color:#17365d;margin-bottom:.35rem;font-size:1.25rem}h3{margin-bottom:.3rem;font-size:1rem}.subtitle,.section-title p,.client-item p{color:#5b6b7d;margin-bottom:0}.status-badge,.counter,.client-id{border-radius:999px;align-items:center;padding:.35rem .7rem;font-size:.8rem;font-weight:800;display:inline-flex}.status-badge{color:#245c3a;background:#dcefdc}.counter{color:#17365d;background:#d9eaf7;justify-content:center;min-width:2rem}.client-id{color:#4e6074;background:#edf2f7;font-family:monospace}.main-nav{border-bottom:1px solid #d9e2f3;gap:.5rem;margin-bottom:1.25rem;display:flex}.nav-link{color:#5b6b7d;border-bottom:3px solid #0000;padding:.75rem 1rem;font-size:.9rem;font-weight:800;text-decoration:none}.nav-link:hover{color:#17365d}.nav-link.active{color:#17365d;border-bottom-color:#17365d}.card{background:#fff;border:1px solid #d9e2f3;border-radius:12px;margin-bottom:1.25rem;padding:1.5rem;box-shadow:0 6px 18px #17365d0f}.client-form{margin-top:1rem}.client-form label,.form-field{display:block}.client-form label,.form-field span{margin-bottom:.5rem;font-size:.9rem;font-weight:700}.form-row{gap:.75rem;display:flex}.form-row input{flex:1}.section-title{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.message{background:#edf2f7;border-radius:8px;margin:1rem 0 0;padding:.75rem}.message.success{color:#245c3a;background:#dcefdc}.message.error{color:#8b1e1e;background:#fbe1e1}.empty-state{text-align:center;border:1px dashed #b9c7d8;border-radius:8px;padding:1.25rem}.empty-state p{margin-bottom:.35rem;font-weight:700}.empty-state span{color:#5b6b7d;font-size:.9rem}.client-list,.findings-list{gap:.75rem;display:grid}.client-item,.finding-item{background:#fbfdff;border:1px solid #d9e2f3;border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.finding-item{justify-content:flex-start;align-items:flex-start}.button-link{color:#fff;background:#17365d;border-radius:8px;justify-content:center;align-items:center;padding:.75rem 1rem;font-size:.9rem;font-weight:700;text-decoration:none;transition:background .16s;display:inline-flex}.button-link:hover{background:#1f4e78}.back-link{color:#1f4e78;margin-bottom:.75rem;font-size:.9rem;font-weight:700;text-decoration:none;display:inline-block}.back-link:hover{text-decoration:underline}.page-heading{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;display:flex}.page-heading h2{margin-bottom:.5rem;font-size:clamp(1.7rem,4vw,2.3rem)}.dashboard-actions{align-items:center;gap:.75rem;display:flex}.risk-badge{text-align:center;border-radius:999px;max-width:240px;padding:.5rem .8rem;font-size:.85rem;font-weight:800;display:inline-flex}.risk-badge.default{color:#17365d;background:#d9eaf7}.risk-badge.success{color:#245c3a;background:#dcefdc}.risk-badge.warning{color:#7a5400;background:#fff2cc}.risk-badge.danger{color:#8b1e1e;background:#fbe1e1}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.25rem;display:grid}.kpi-card{background:#fff;border:1px solid #d9e2f3;border-radius:12px;flex-direction:column;justify-content:space-between;min-height:120px;padding:1rem;display:flex;box-shadow:0 6px 18px #17365d0f}.kpi-card-success{background:#f4fbf4;border-color:#b7d7b7}.kpi-card-warning{background:#fffaf0;border-color:#f0d58c}.kpi-card-danger{background:#fff6f6;border-color:#efb6b6}.kpi-label{color:#5b6b7d;font-size:.85rem;font-weight:700}.kpi-value{color:#17365d;font-size:2rem}.dashboard-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;display:grid}.metric-list{gap:.65rem;margin-top:1rem;display:grid}.metric-row{background:#f4f7fb;border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem;display:flex}.priority-p1{color:#8b1e1e;background:#fbe1e1}.priority-p2{color:#895000;background:#fde8d0}.priority-p3{color:#765a00;background:#fff2cc}.priority-p4{color:#245c3a;background:#dcefdc}.priority-tag{color:#17365d;white-space:nowrap;background:#d9eaf7;border-radius:999px;flex-shrink:0;padding:.35rem .6rem;font-size:.8rem;font-weight:800;display:inline-flex}.table-container{border:1px solid #d9e2f3;border-radius:8px;overflow-x:auto}.checklist-table{border-collapse:collapse;width:100%;min-width:1200px;font-size:.88rem}.checklist-table th,.checklist-table td{text-align:left;vertical-align:top;border-bottom:1px solid #d9e2f3;padding:.85rem}.checklist-table th{color:#fff;letter-spacing:.02em;text-transform:uppercase;background:#17365d;font-size:.75rem;position:sticky;top:0}.checklist-table tbody tr:last-child td{border-bottom:0}.checklist-table tbody tr:hover{background:#f4f8fc}.control-title{color:#5b6b7d;min-width:220px;margin-top:.35rem;line-height:1.4;display:block}.state-tag{white-space:nowrap;border-radius:999px;padding:.35rem .55rem;font-size:.75rem;font-weight:800;display:inline-flex}.state-empty{color:#5b6b7d;background:#edf2f7}.state-ok{color:#245c3a;background:#dcefdc}.state-ko{color:#8b1e1e;background:#fbe1e1}.state-desarrollo{color:#895000;background:#fde8d0}.state-consultar{color:#765a00;background:#fff2cc}.state-no-aplica{color:#4e6074;background:#e1e6eb}.priority-empty{color:#5b6b7d;background:#edf2f7}.table-action-button{padding:.5rem .7rem;font-size:.8rem}.assessment-form-card{scroll-margin-top:1rem}.assessment-form{gap:1rem;display:grid}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.form-field{gap:.5rem;display:grid}.form-field span{margin:0}.secondary-button{color:#17365d;background:#e8eff7}.secondary-button:hover:not(:disabled){background:#d9eaf7}.form-actions{justify-content:flex-end;gap:.75rem;padding-top:.5rem;display:flex}.validation-errors{color:#765a00;background:#fffaf0;border:1px solid #f0d58c;border-radius:8px;padding:1rem}.validation-errors ul{margin:.75rem 0 0;padding-left:1.25rem}.validation-errors li{margin-bottom:.35rem}@media (width<=900px){.kpi-grid,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.app{width:min(100% - 1rem,1120px);padding:1.5rem 0}.app-header,.form-row,.client-item,.page-heading,.dashboard-columns,.dashboard-actions,.form-actions{flex-direction:column;align-items:stretch}.status-badge,.risk-badge{width:fit-content}.kpi-grid,.form-grid{grid-template-columns:1fr}}
