*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f4f6fb;color:#172033}.sidebar{position:fixed;left:0;top:0;bottom:0;width:230px;background:#101a35;color:#fff;padding:22px 16px}.brand-logo{margin-bottom:8px}.brand-logo img{width:190px;max-width:100%;display:block}.module-title{font-size:14px;letter-spacing:.08em;color:#dce6ff;text-align:center;margin-bottom:24px}.sidebar a{display:block;color:#fff;text-decoration:none;padding:12px 14px;border-radius:12px;margin-bottom:8px}.sidebar a:hover{background:#1e315e}.sidebar .logout{margin-top:24px;background:#8f1d1d}.content{margin-left:230px;padding:28px}.topbar{height:72px;background:#fff;margin:-28px -28px 28px -28px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:0 20px;position:sticky;top:0;z-index:10}.tenant-pill{background:#dcfce7;color:#166534;padding:8px 12px;border-radius:999px;font-weight:800;font-size:13px}.user-info{font-weight:800;color:#172033}.content h1{margin-top:0}.cards{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:14px;margin-bottom:22px}.card{background:#fff;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(17,24,39,.08)}.card span{display:block;color:#667085;font-size:14px}.card strong{font-size:34px}.panel{background:#fff;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(17,24,39,.08);margin-bottom:20px}table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(17,24,39,.08)}th,td{padding:11px 12px;border-bottom:1px solid #eef1f6;text-align:left;font-size:14px}th{background:#18264a;color:#fff}.badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px}.badge.ok{background:#dcfce7;color:#166534}.badge.off{background:#fee2e2;color:#991b1b}.search{display:flex;gap:8px;margin-bottom:16px}.search input,.login-card input{padding:12px;border:1px solid #ccd3df;border-radius:10px;width:100%}.search button,.login-card button{padding:12px 18px;border:0;border-radius:10px;background:#183b8c;color:#fff;font-weight:700}.login-body{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#102a5f 0%,#1f4387 52%,#ff6a00 100%)}.login-card{background:#f8fafc;width:410px;max-width:92%;padding:28px 32px;border-radius:22px;box-shadow:0 20px 50px rgba(0,0,0,.25)}.login-card h1{margin:0}.login-card p{color:#667085}.login-card label{display:block;margin-top:14px;margin-bottom:6px;font-weight:800}.login-card button{width:100%;margin-top:18px}.alert{background:#fee2e2;color:#991b1b;padding:10px;border-radius:10px;margin:12px 0}@media(max-width:900px){.sidebar{position:static;width:100%;}.content{margin-left:0;padding:16px}.topbar{margin:-16px -16px 16px -16px;height:58px}.cards{grid-template-columns:repeat(2,1fr)}table{display:block;overflow-x:auto}}


/* Pendientes SAC4000 V1 */
.pending-head{display:flex;justify-content:space-between;align-items:center;gap:18px}
.pending-head h2{margin:0 0 6px 0}
.pending-head p{margin:0;color:#667085}
.pending-count{background:#fef3c7;color:#92400e;border-radius:16px;padding:12px 18px;text-align:center;min-width:130px}
.pending-count span{display:block;font-size:12px;font-weight:800}
.pending-count strong{font-size:34px;line-height:1}
.row-actions{display:flex;gap:8px;flex-wrap:wrap}
.row-actions a{background:#eef2ff;color:#183b8c;text-decoration:none;padding:8px 10px;border-radius:10px;font-weight:800;font-size:12px}
.row-actions a:last-child{background:#fee2e2;color:#991b1b}
@media(max-width:900px){.pending-head{align-items:flex-start;flex-direction:column}}
