:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1c1f2a;background-color:#f9f9fb;line-height:1.5;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-height:100vh}.app-shell{max-width:1140px;margin:0 auto;padding:32px 32px 48px}.app-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.app-header-actions,.header-actions{display:flex;align-items:center;gap:10px}.eyebrow{display:inline-block;padding:6px 12px;background:#3517bd4d;border-radius:7.5px;font-size:30px;font-weight:750;color:#2e3036;text-transform:uppercase;letter-spacing:.12em;margin:0 0 8px;opacity:0;transform:translateY(4px) scale(.98);animation:eyebrow-pop .24s ease-out forwards}@keyframes eyebrow-pop{to{opacity:1;transform:translateY(0) scale(1)}}h1{margin:0;font-size:20px;color:#1b1e2c}.subtitle{margin:6px 0 0;color:#7a8093;font-size:15px}.app-main{display:grid;gap:16px}.card{background:#fff;border-radius:16px;border:1px solid #f0f2f7;box-shadow:0 12px 32px #262b400f}.table-toolbar{display:flex;align-items:flex-start;justify-content:space-between;padding:18px 22px 10px;border-bottom:1px solid #f1f2f6}.toolbar-actions{display:flex;align-items:center;gap:12px}.table-toolbar h2{margin:0;font-size:18px;color:#1f2432}.table-subtitle{margin:6px 0 0;color:#8a90a4;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;border-radius:12px;font-weight:700;font-size:14px;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,color .15s ease,transform .12s ease,filter .12s ease;padding:11px 16px;min-height:40px}.btn.full-width{width:100%}.btn.primary{background:linear-gradient(95deg,#5f3dfd,#7a49ff);color:#fff;box-shadow:0 16px 36px #5f3dfd47}.btn.primary:hover{filter:brightness(1.02);box-shadow:0 20px 40px #5f3dfd4d}.btn.secondary{background:#fff;color:#1e2232;border:1px solid #e2e5f1;box-shadow:0 8px 18px #2b325614}.btn.secondary:hover{border-color:#cfd3e3;box-shadow:0 12px 28px #2e36651a}.btn.ghost{background:#fff;color:#242735;border:1px solid #e3e6ef}.btn.ghost:hover{border-color:#cfd3e3;box-shadow:0 10px 24px #2e366514;color:#141824}.btn.icon{width:36px;height:36px;border-radius:10px;padding:9px;box-shadow:none;border:1px solid #e7e9f1;background:#fff;color:#7d8296}.btn.icon:hover{border-color:#cfd3e3;box-shadow:0 10px 24px #2e36651f;color:#4d3ff0}.btn.sm{min-height:34px;padding:8px 12px;border-radius:10px;font-weight:600}.btn.loading,.btn:disabled{opacity:.65;cursor:not-allowed;box-shadow:none}.btn.loading:after{content:"";width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.6);border-top-color:#fff;animation:spin .8s linear infinite}.btn.secondary.loading:after,.btn.ghost.loading:after{border:2px solid rgba(93,99,128,.5);border-top-color:#4d3ff0}.btn-text{display:inline-flex}.table-wrapper{overflow:auto}table{width:100%;border-collapse:collapse;min-width:760px}thead tr{height:48px}th,td{padding:14px 20px;text-align:left;font-size:15px}th{color:#9096ab;font-weight:600}td{color:#1c1f2a;border-bottom:1px solid #f1f2f6}tr:last-child td{border-bottom:none}.entity{color:#4d3ff0;font-weight:600}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:6px 12px;border-radius:999px;font-size:13px;font-weight:600;border:1px solid transparent}.badge.male{background:#ffeef1;color:#e3476a;border-color:#ffd6df}.badge.female{background:#eaf1ff;color:#3b6ff8;border-color:#d7e4ff}.badge.neutral{background:#f2f4f9;color:#7f8597;border-color:#e6e8ef}.filter{position:relative}.popover{position:absolute;top:calc(100% + 8px);right:0;width:184px;background:#fff;border-radius:12px;border:1px solid #eef0f5;box-shadow:0 20px 60px #151b3829;padding:12px 0;z-index:10;transform-origin:top right;opacity:0}.popover.animate-in{animation:popover-in .18s ease forwards}.popover-title{margin:0;padding:0 16px 10px;font-weight:700;color:#1f2432;font-size:14px}.divider{height:1px;background:#eef0f5;margin:6px 0}.popover-list{list-style:none;margin:0;padding:0}.checkbox-row{display:flex;align-items:center;gap:10px;padding:10px 16px;cursor:pointer;font-weight:600;color:#272a36;transition:background-color .12s ease}.checkbox-row input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border-radius:4px;border:1px solid #cfd3e3;display:grid;place-items:center;position:relative;transition:border-color .15s ease,background-color .15s ease}.checkbox-row input:checked{background:#4d3ff0;border-color:#4d3ff0}.checkbox-row input:checked:after{content:"";width:6px;height:10px;border:2px solid #ffffff;border-top:0;border-left:0;transform:rotate(45deg);margin-top:-2px}.checkbox-row:hover{background:#f7f8fb}.clear-button{width:calc(100% - 24px);margin:4px 12px 0}.center{text-align:center}.right{text-align:right}.skeleton-row td{padding:16px 20px}.skeleton{height:12px;border-radius:999px;background:linear-gradient(90deg,#f2f4fa,#e6e9f2,#f2f4fa);background-size:200% 100%;animation:shimmer 1.2s ease-in-out infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.alert{margin:12px 22px 0;padding:12px 14px;background:#fff6ed;border:1px solid #ffd8b5;color:#8b4a00;border-radius:12px;font-weight:600}.pill{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;font-weight:600;font-size:13px;border:1px solid transparent}.pill.error{background:#fff4e5;color:#b15c00;border-color:#ffe3c2}.pill.muted{background:#f5f7fb;color:#7d8296;border-color:#e5e8f1}.status-group{display:flex;align-items:center;gap:8px}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:10px 22px 18px;border-top:1px solid #f1f2f6}.pagination-meta{display:flex;align-items:center;gap:16px;color:#60657a;font-weight:600}.pagination-meta p{margin:0}.page-size{display:inline-flex;align-items:center;gap:10px;font-size:14px;color:#4a4f62;font-weight:600}.page-size select,.table-footer select,.input-control,.field input,.field select{padding:10px 12px;border-radius:10px;border:1px solid #e3e6ef;background:#fff;font-size:14px;color:#191d2e;min-width:80px;transition:border-color .15s ease,box-shadow .15s ease}.page-size select:focus,.input-control:focus,.field input:focus,.field select:focus{outline:none;border-color:#6f4dff;box-shadow:0 0 0 3px #6f4dff2e}.pagination-controls{display:flex;gap:10px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#12172a8c;display:flex;align-items:center;justify-content:center;padding:24px;z-index:20;animation:backdrop-in .2s ease}.modal{background:#fff;width:520px;border-radius:16px;box-shadow:0 36px 90px #0d132947;border:1px solid #eef0f5;overflow:hidden;animation:modal-in .22s ease}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;border-bottom:1px solid #f1f2f6}.modal-header h3{margin:0;font-size:22px;color:#151824}.modal-body{padding:18px 24px 22px;display:grid;gap:18px}.field{display:grid;gap:8px}.field label{font-weight:600;color:#2a2e3f;font-size:14px}.required:after{content:" *";color:#d73a4a}.field input,.field select,.input-control{width:100%;padding:12px 14px;border-radius:12px;border:1px solid #e3e6ef;background:#fff;font-size:15px;transition:border-color .15s ease,box-shadow .15s ease;color:#191d2e}.field input::placeholder,.field select::placeholder,.input-control::placeholder{color:#a3a8bb}.field input:disabled,.field select:disabled,.btn:disabled,.btn.loading,.page-size select:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.form-error{margin:-4px 0 4px;color:#c12c2c;font-weight:600;font-size:14px}.empty{padding:28px 16px;text-align:center;color:#7d8296;font-weight:600}@keyframes popover-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes modal-in{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
