@import"https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap";:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}html,body{margin:0;padding:0}:root{--bg-gradient: linear-gradient(135deg, #fffefd 0%, #fffaf2 40%, #fffdf7 100%);--azul-main: #5966b1;--azul-dark: #404b88;--amarillo: #fbcf41;--naranja: #f6a230;--blanco: #fffefd;--gris-texto: #3f3f3f;--gris-soft: #f8f6ef;--borde: #e2ddd3;--radius: 14px;--shadow: 0 14px 40px rgba(89, 102, 177, .1);--font: "Quicksand", sans-serif}*{box-sizing:border-box}body{margin:0;padding:0;font-family:var(--font);background:var(--bg-gradient);color:var(--gris-texto)}.app-root{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:26px 18px}.app-container{width:100%;max-width:1220px;background:#fffd;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:24px;box-shadow:var(--shadow);padding:22px 22px 26px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.brand{display:flex;gap:12px;align-items:center}.brand-logo{width:54px;height:54px;border-radius:18px;background:radial-gradient(circle at 30% 30%,#fffaf0 0,#fff7df 40%,transparent 41%),conic-gradient(from -90deg,#5966b1,#f6a230,#5966b1);box-shadow:0 8px 18px #5966b140}.brand-title{font-size:18px;font-weight:600;color:var(--azul-dark)}.brand-sub,.user-area{font-size:12px;color:#6b7280}.main-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(320px,1.2fr);gap:18px}.card{background:#fff;border-radius:var(--radius);padding:16px 16px 18px;border:1px solid var(--borde);box-shadow:0 4px 16px #0000000a}.form-card h2{margin:0 0 8px;font-size:18px;font-weight:600;color:var(--azul-dark)}.form-card h3{margin:12px 0 6px;font-size:13px;font-weight:500;color:#4b5563}input,select{font-family:var(--font);width:100%;padding:8px 10px;font-size:13px;border-radius:9px;border:1px solid #e0dacb;background:#fffaf4;color:#111827;transition:all .15s ease}input:focus,select:focus{outline:none;border-color:var(--azul-main);box-shadow:0 0 0 3px #5966b126;background:#fff}input::placeholder{color:#a8a391}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.roles-list{margin-top:6px;display:flex;flex-direction:column;gap:6px}.role-row{display:grid;grid-template-columns:1.6fr .9fr .9fr .9fr auto;gap:6px;align-items:center;background:#f9f8f2;padding:6px 8px;border-radius:9px}.btn{border:none;padding:8px 14px;border-radius:11px;font-size:13px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:all .15s ease}.btn-primary{background:var(--azul-main);color:#fff}.btn-primary:hover{background:var(--naranja)}.btn-outline{background:transparent;color:var(--azul-main);border:1px solid var(--azul-main)}.btn-outline:hover{background:#f7f8ff}.btn-danger{background:#c2410c;color:#fff}.result-card{position:sticky;top:16px;align-self:flex-start}.result-card h3{margin:0 0 10px;font-size:17px;color:var(--azul-dark)}.result-item{display:flex;justify-content:space-between;align-items:center;background:#fffefc;border:1px solid #eae6d9;padding:8px 10px;border-radius:9px;margin-bottom:6px;font-size:13px}.result-item.highlight{background:#fffaf2;border-color:var(--naranja)}.result-item.highlight .result-value{color:var(--naranja);font-size:16px}.ms-login-bg{width:100vw;height:100vh;margin:0;padding:0;display:flex;justify-content:center;align-items:center;background-image:url(/assets/BUILDINGS2-BONfx0C_.jpg);background-size:cover;background-position:center;background-repeat:no-repeat;position:fixed;top:0;left:0;z-index:0}.ms-login-bg:before{content:"";position:absolute;inset:0;background:#00000073;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1}.ms-login-card{position:relative;z-index:2;margin:auto;max-width:420px;background:#fff;border-radius:6px;padding:38px 40px;box-shadow:0 15px 40px #0000004d}.ms-login-logo{width:92px;height:auto;margin:0 auto 12px;display:block}.ms-login-title{font-size:22px;color:#1b1b1b;font-weight:600;margin:0;transform:translate(-12px)}.ms-input{width:100%;padding:12px 14px;border:none;border-bottom:2px solid #c8c8c8;font-size:15px;background:transparent;transition:all .2s ease}.ms-input:focus{outline:none;border-bottom:2px solid #0067b8}.ms-btn{width:100%;background:#0067b8;color:#fff;padding:11px 0;font-size:15px;border:none;border-radius:4px;cursor:pointer;margin-top:10px;transition:background .25s ease}.ms-btn:hover{background:#005499}.ms-error{background:#fde7e7;padding:8px;color:#b3261e;border-left:4px solid #b3261e;border-radius:4px;font-size:14px}.ms-footer{margin-top:10px;font-size:13px;color:#555;transform:translate(-8px)}.animate-fade{animation:fadeIn .7s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(max-width:500px){.ms-login-card{padding:28px 26px}}.badge-clasificacion{padding:6px 12px;border-radius:8px;font-weight:600;font-size:13px;text-align:center;min-width:130px}.badge-alto{background-color:#2f855a22;color:#2f855a;border:2px solid #2f855a}.badge-adecuado{background-color:#d4a01722;color:#d4a017;border:2px solid #d4a017}.badge-bajo{background-color:#dd6b2022;color:#dd6b20;border:2px solid #dd6b20}.badge-negativo{background-color:#c5303022;color:#c53030;border:2px solid #c53030}@media(max-width:768px){.app-root{padding:0}.app-container{margin:0;padding:16px 10px 24px;max-width:100%;min-height:100vh;border-radius:0;box-shadow:none}.topbar{flex-direction:column;align-items:flex-start;gap:8px}.brand-title{font-size:16px}.brand-sub{font-size:12px}.user-area{width:100%;justify-content:space-between;gap:8px;font-size:13px}.user-area .btn{padding:6px 10px;font-size:12px}.main-grid{display:grid;grid-template-columns:1fr;gap:16px}.card{width:100%;border-radius:18px}.grid-3{grid-template-columns:1fr;gap:8px}.role-row{flex-wrap:wrap;gap:6px}.role-row select,.role-row input{min-width:110px;flex:1 1 45%}.result-card h3,.form-card h2,.result-item .result-value{font-size:15px}}.admin-root{display:flex;min-height:100vh;background:#f4f6fa;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.admin-sidebar{width:250px;background:#1d2540;color:#fff;padding:20px;display:flex;flex-direction:column;gap:8px}.admin-sidebar h2{margin-top:0;margin-bottom:12px;font-size:18px}.admin-sidebar .admin-user{font-size:13px;opacity:.8;margin-bottom:12px}.admin-sidebar button{padding:9px 10px;background:#2b375f;border:none;color:#fff;text-align:left;border-radius:6px;cursor:pointer;font-size:14px}.admin-sidebar button:hover{background:#3b4a7a}.admin-sidebar .btn-back{background:#555!important;margin-top:10px}.admin-sidebar .btn-logout{background:#b31717!important;margin-top:4px}.admin-content{flex:1;padding:20px;overflow:auto}.admin-card{background:#fff;border-radius:10px;padding:16px 18px;margin-bottom:18px;box-shadow:0 4px 10px #0f172a0f}.admin-card h2,.admin-card h3{margin-top:0}.admin-kpi-row{display:flex;gap:12px;flex-wrap:wrap}.admin-kpi{flex:1;min-width:180px;padding:14px;border-radius:10px;background:#f9fafb;border:1px solid #e5e7eb}.admin-kpi-label{font-size:13px;color:#6b7280}.admin-kpi-value{font-size:20px;font-weight:600;margin-top:4px}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{padding:8px 6px;border-bottom:1px solid #e5e7eb}.admin-table th{background:#f3f4f6;text-align:left}.admin-table tr:hover td{background:#f9fafb}.admin-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.admin-filters input,.admin-filters select{padding:7px 8px;border-radius:6px;border:1px solid #d1d5db;font-size:13px}.badge{display:inline-block;padding:3px 7px;border-radius:999px;font-size:11px}.badge-pendiente{background:#fef3c7;color:#92400e}.badge-enviada{background:#e0f2fe;color:#1d4ed8}.badge-aprobada{background:#dcfce7;color:#166534}.badge-rechazada{background:#fee2e2;color:#b91c1c}.admin-alert{margin-top:10px;padding:10px 12px;border-radius:8px;font-size:13px;background:#eff6ff;color:#1d4ed8}
