@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--primary: #2563EB;--primary-dark: #1D4ED8;--primary-light: #DBEAFE;--accent: #0EA5E9;--success: #10B981;--warning: #F59E0B;--danger: #EF4444;--info: #3B82F6;--bg-base: #F8FAFC;--bg-elevated: #FFFFFF;--bg-hover: #F1F5F9;--bg-sidebar: #0F172A;--bg-sidebar-hover: rgba(255,255,255,.06);--bg-sidebar-active: rgba(255,255,255,.1);--text-primary: #0F172A;--text-secondary: #64748B;--text-muted: #94A3B8;--text-inverse: #FFFFFF;--border: #E2E8F0;--border-light: #F1F5F9;--border-focus: var(--primary);--shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);--shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);--shadow-md: 0 4px 16px rgba(15, 23, 42, .08);--shadow-lg: 0 12px 40px rgba(15, 23, 42, .12);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 24px;--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;--sidebar-width: 240px;--header-height: 64px}*{box-sizing:border-box;margin:0;padding:0}html{height:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{height:100%;font-family:var(--font);background-color:var(--bg-base);color:var(--text-primary);line-height:1.6;font-size:14px;font-weight:400}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 18px;border:none;border-radius:var(--radius-sm);font-size:13px;font-weight:500;font-family:inherit;cursor:pointer;transition:all .2s ease;letter-spacing:.01em;background:var(--bg-hover);color:var(--text-primary)}.btn:hover:not(:disabled){background:var(--border);transform:translateY(-1px)}.btn:active:not(:disabled){transform:translateY(0)}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 1px 2px #2563eb33}.btn-primary:hover:not(:disabled){background:var(--primary-dark);box-shadow:0 4px 12px #2563eb40}.btn-outline{background:transparent;border:1.5px solid var(--border);color:var(--text-secondary)}.btn-outline:hover:not(:disabled){border-color:var(--text-muted);color:var(--text-primary);background:var(--bg-hover)}.btn-ghost{background:transparent;color:var(--text-secondary);padding:8px 12px}.btn-ghost:hover:not(:disabled){background:var(--bg-hover);color:var(--text-primary)}.btn-icon{width:36px;height:36px;padding:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-secondary)}.btn-icon:hover:not(:disabled){background:var(--bg-hover);color:var(--text-primary)}.card{background:var(--bg-elevated);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);border:1px solid var(--border-light);transition:box-shadow .2s ease}.card:hover{box-shadow:var(--shadow-md)}.card-header{padding:24px 24px 0}.card-title{font-size:18px;font-weight:600;color:var(--text-primary);margin:0;letter-spacing:-.01em}.card-subtitle{font-size:13px;color:var(--text-secondary);margin:4px 0 0;font-weight:400}.card-content{padding:24px}.form-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;flex:1}.form-field.wide{flex:2 1 100%;min-width:100%}.form-label{font-size:12px;font-weight:500;color:var(--text-secondary);letter-spacing:.02em}.form-input,.form-select,.form-textarea{padding:10px 14px;border:1.5px solid var(--border);border-radius:var(--radius-sm);font-size:14px;font-family:inherit;background:var(--bg-elevated);color:var(--text-primary);outline:none;transition:all .2s ease;width:100%}.form-input::placeholder,.form-textarea::placeholder{color:var(--text-muted)}.form-input:hover,.form-select:hover,.form-textarea:hover{border-color:var(--text-muted)}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--border-focus);box-shadow:0 0 0 3px var(--primary-light)}.form-input:disabled,.form-select:disabled{background:var(--bg-hover);color:var(--text-muted);cursor:not-allowed}.form-textarea{resize:vertical;min-height:80px;line-height:1.5}.form-select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}.form-error{font-size:12px;color:var(--danger);min-height:16px;font-weight:500}.form-row{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-start}.form-row .form-field{min-width:180px;margin-bottom:16px}.form-row.checkboxes{gap:24px;align-items:center;padding:8px 0}.checkbox-field{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;font-weight:500;color:var(--text-secondary);-webkit-user-select:none;user-select:none;transition:color .15s}.checkbox-field:hover{color:var(--text-primary)}.checkbox-field input[type=checkbox]{width:18px;height:18px;accent-color:var(--primary);cursor:pointer;border-radius:4px}.table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.table th{padding:12px 20px;text-align:left;font-weight:600;color:var(--text-secondary);font-size:11px;text-transform:uppercase;letter-spacing:.08em;border-bottom:1.5px solid var(--border);background:transparent}.table td{padding:14px 20px;text-align:left;border-bottom:1px solid var(--border-light);color:var(--text-primary);transition:background .15s}.table tbody tr:hover td{background:var(--bg-hover)}.table tbody tr:last-child td{border-bottom:none}.table .actions-column{text-align:right;white-space:nowrap;width:1%}.paginator{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:16px 20px;font-size:13px;color:var(--text-secondary);border-top:1px solid var(--border-light)}.paginator-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:var(--radius-sm);background:transparent;cursor:pointer;color:var(--text-secondary);transition:all .15s}.paginator-btn:hover:not(:disabled){background:var(--bg-hover);color:var(--text-primary)}.paginator-btn:disabled{opacity:.35;cursor:not-allowed}.paginator-btn.active{background:var(--primary);color:#fff}.paginator-select{padding:5px 10px;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-elevated);font-size:13px;color:var(--text-secondary);cursor:pointer}.tabs{display:flex;gap:4px;border-bottom:1.5px solid var(--border-light);margin-bottom:24px;overflow-x:auto;padding:0 4px}.tab-btn{padding:12px 20px;border:none;background:transparent;color:var(--text-secondary);font-size:13px;font-weight:500;cursor:pointer;border-bottom:2.5px solid transparent;margin-bottom:-1.5px;white-space:nowrap;transition:all .2s ease;letter-spacing:.01em;border-radius:var(--radius-sm) var(--radius-sm) 0 0}.tab-btn:hover{color:var(--text-primary);background:var(--bg-hover)}.tab-btn.active{color:var(--primary);border-bottom-color:var(--primary);background:var(--primary-light)}.tab-panel{padding:4px 0 16px}.sub-section{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--border)}.sub-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.sub-section-title{font-size:13px;font-weight:600;color:var(--primary);margin:0 0 16px;text-transform:uppercase;letter-spacing:.05em}.badge{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;font-size:11px;font-weight:600;line-height:1;letter-spacing:.02em}.custom-dialog-overlay{position:fixed;inset:0;background:#0f172a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}.custom-dialog-container{background:var(--bg-elevated);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);max-width:520px;width:90%;max-height:90vh;overflow:auto;animation:scaleIn .25s cubic-bezier(.16,1,.3,1)}.dialog-header{display:flex;align-items:center;gap:12px;padding:24px 24px 0;font-size:17px;font-weight:600;letter-spacing:-.01em}.dialog-content{padding:16px 24px;color:var(--text-secondary);font-size:14px;line-height:1.6}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px 24px}.toast-container{position:fixed;bottom:24px;right:24px;z-index:1100;display:flex;flex-direction:column;gap:10px;align-items:flex-end}.toast{display:inline-flex;align-items:center;gap:12px;padding:14px 18px;background:var(--bg-elevated);color:var(--text-primary);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);font-size:13px;font-weight:500;min-width:300px;max-width:440px;animation:slideInRight .3s cubic-bezier(.16,1,.3,1);border:1px solid var(--border-light)}.toast-error{border-left:3px solid var(--danger)}.toast-success{border-left:3px solid var(--success)}.toast-message{flex:1;line-height:1.5}.toast-action{background:none;border:none;color:var(--primary);font-weight:600;font-size:12px;cursor:pointer;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}.toast-close{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:2px;display:inline-flex;margin-left:4px}.toast-close:hover{color:var(--text-primary)}.app-spinner{border:2.5px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}.app-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;line-height:1;flex-shrink:0}.app-icon svg{width:100%;height:100%;stroke-width:1.8}.spacer{flex:1 1 auto}.full-width{width:100%}.inline-spinner{display:inline-block;vertical-align:middle;margin-right:8px}.loading-overlay{padding:48px;text-align:center;color:var(--text-muted);font-size:15px;font-weight:500}.page-title{font-size:22px;font-weight:700;color:var(--text-primary);margin:0;letter-spacing:-.02em}.page-subtitle{font-size:13px;color:var(--text-secondary);margin-top:4px;font-weight:400}.header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap;gap:12px}.actions{display:flex;gap:8px;align-items:center}.sidenav-container{display:flex;height:100vh}.sidenav{flex:0 0 var(--sidebar-width);width:var(--sidebar-width);background:var(--bg-sidebar);color:var(--text-inverse);display:flex;flex-direction:column;flex-shrink:0;position:sticky;top:0;height:100vh;z-index:20}.sidenav .logo{padding:28px 24px;display:flex;align-items:center;gap:12px}.sidenav .logo-icon{width:36px;height:36px;background:var(--primary);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;color:#fff}.sidenav .logo h2{margin:0;color:#fff;font-weight:700;font-size:18px;letter-spacing:.04em}.sidenav-nav{display:flex;flex-direction:column;padding:8px 12px;gap:2px}.sidenav-nav a{display:flex;align-items:center;gap:12px;padding:10px 14px;color:#ffffff8c;text-decoration:none;font-size:13px;font-weight:500;transition:all .2s ease;border-radius:var(--radius-sm)}.sidenav-nav a:hover{background:var(--bg-sidebar-hover);color:#ffffffd9}.sidenav-nav a.active{background:var(--bg-sidebar-active);color:#fff}.sidenav-nav a app-icon{opacity:.6;transition:opacity .2s}.sidenav-nav a:hover app-icon,.sidenav-nav a.active app-icon{opacity:1}.sidenav-footer{margin-top:auto;padding:16px;border-top:1px solid rgba(255,255,255,.06);font-size:11px;color:#ffffff4d;text-align:center}.main-content{flex:1;display:flex;flex-direction:column;min-width:0;overflow:auto;background:var(--bg-base)}.toolbar{height:var(--header-height);display:flex;align-items:center;padding:0 28px;background:var(--bg-elevated);border-bottom:1px solid var(--border-light);gap:16px;position:sticky;top:0;z-index:10}.toolbar-title{font-weight:600;font-size:15px;color:var(--text-primary);letter-spacing:-.01em}.content{padding:28px;flex:1;max-width:1400px;width:100%;min-width:0;margin:0 auto}.dropdown-menu{position:absolute;right:0;top:48px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);min-width:200px;z-index:100;display:flex;flex-direction:column;padding:6px;animation:scaleIn .15s ease}.dropdown-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:none;background:none;color:var(--text-primary);font-size:13px;cursor:pointer;text-align:left;border-radius:var(--radius-sm);font-weight:500;transition:background .15s}.dropdown-menu button:hover{background:var(--bg-hover)}.dropdown-wrapper{position:relative}.user-info{display:flex;align-items:center;gap:10px}.user-avatar{width:32px;height:32px;border-radius:50%;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}.user-name{font-size:13px;font-weight:500;color:var(--text-primary)}.user-role{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(145deg,#0f172a,#1e293b,#334155);padding:24px;position:relative;overflow:hidden}.login-page:before{content:"";position:absolute;width:600px;height:600px;background:radial-gradient(circle,rgba(37,99,235,.12) 0%,transparent 70%);top:-200px;right:-200px;border-radius:50%}.login-page:after{content:"";position:absolute;width:400px;height:400px;background:radial-gradient(circle,rgba(14,165,233,.08) 0%,transparent 70%);bottom:-100px;left:-100px;border-radius:50%}.login-card{width:100%;max-width:400px;position:relative;z-index:1}.login-card .card-header{text-align:center;padding:36px 36px 0}.login-card .card-title{font-size:26px;font-weight:700;color:var(--text-primary);letter-spacing:-.02em}.login-card .card-subtitle{font-size:14px;color:var(--text-secondary);margin-top:6px}.login-card .card-content{padding:28px 36px 36px}.login-logo{width:48px;height:48px;background:var(--primary);border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;color:#fff;margin:0 auto 20px;box-shadow:0 4px 12px #2563eb40}.login-button{margin-top:8px;height:44px;font-size:14px;font-weight:600}.error-message{background:#ef44440f;color:var(--danger);padding:10px 14px;border-radius:var(--radius-sm);font-size:12px;font-weight:500;margin-bottom:12px;display:flex;align-items:center;gap:8px;border:1px solid rgba(239,68,68,.12)}.password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:var(--text-muted);padding:4px;display:flex;align-items:center}.password-toggle:hover{color:var(--text-secondary)}.input-wrapper{position:relative}.input-wrapper .form-input{padding-right:38px}.input-wrapper app-icon.input-prefix{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.input-wrapper .form-input.with-prefix{padding-left:34px}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-bottom:24px}.kpi-card{display:flex;align-items:center;gap:16px;padding:20px 22px;border-radius:var(--radius-md)}.kpi-card .kpi-icon{width:44px;height:44px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.kpi-card .kpi-icon svg{stroke-width:1.5}.kpi-value{font-size:22px;font-weight:700;color:var(--text-primary);display:block;line-height:1.2;letter-spacing:-.02em}.kpi-label{font-size:12px;color:var(--text-secondary);font-weight:500;margin-top:2px}.charts-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:16px}.chart-card{padding:24px;border-radius:var(--radius-md)}.chart-card h3{margin:0 0 20px;font-size:14px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.06em}.progress-bar{height:3px;background:var(--border);border-radius:2px;overflow:hidden}.progress-bar.indeterminate{background:linear-gradient(90deg,transparent,var(--primary),transparent);background-size:50% 100%;animation:progressMove 1.2s infinite linear}.filters-card{padding:16px 20px;margin-bottom:16px;border-radius:var(--radius-md)}.filters-row{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}.filter-field{min-width:180px;flex:1;max-width:260px;margin-bottom:0!important}.filter-field .form-input,.filter-field .form-select{margin-bottom:0}.table-card{overflow:auto;border-radius:var(--radius-md)}.estado-chip{padding:5px 12px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.02em}.refresh-time{font-size:11px;margin-left:6px;color:var(--text-muted);font-weight:500}.formulario-container{max-width:1000px}.form-tabs{margin-bottom:4px}.tab-content{padding:4px 0}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding:20px 0 4px;border-top:1px solid var(--border-light);margin-top:8px}.autosave-badge{font-size:11px;color:var(--success);background:#10b98114;padding:5px 12px;border-radius:var(--radius-sm);font-weight:500;display:inline-flex;align-items:center;gap:6px}.timeline{display:flex;flex-direction:column;gap:0}.timeline-item{display:flex;gap:20px;padding:20px 0;border-bottom:1px solid var(--border-light);position:relative}.timeline-item:last-child{border-bottom:none}.timeline-item:before{content:"";position:absolute;left:19px;top:48px;bottom:0;width:2px;background:var(--border)}.timeline-item:last-child:before{display:none}.timeline-marker{width:40px;height:40px;border-radius:50%;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;z-index:1}.timeline-card{flex:1;padding:0;box-shadow:none;border:none;background:transparent}.timeline-card:hover{box-shadow:none}.timeline-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.timeline-header .campo{font-weight:600;color:var(--text-primary);font-size:14px;letter-spacing:-.01em}.timeline-header .fecha{font-size:12px;color:var(--text-muted);font-weight:500}.timeline-body{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.valor{padding:10px 14px;border-radius:var(--radius-sm);font-size:13px;background:var(--bg-base);border:1px solid var(--border-light)}.valor .label{display:block;font-size:10px;color:var(--text-muted);margin-bottom:4px;text-transform:uppercase;letter-spacing:.08em;font-weight:600}.valor .value{font-weight:500;color:var(--text-primary);word-break:break-word}.valor.anterior{background:var(--bg-base)}.valor.nuevo{background:#10b9810a;border-color:#10b98126}.timeline-footer{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-secondary);font-weight:500}.organismos-container{max-width:1000px}.form-card{padding:24px;margin-bottom:16px;border-radius:var(--radius-md)}.occ-title{color:var(--danger);display:flex;align-items:center;gap:10px}.conflict-user,.conflict-date{font-size:13px;margin-bottom:8px;color:var(--text-secondary)}.hint{font-size:13px;color:var(--text-muted);margin-top:12px;line-height:1.6}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleIn{0%{opacity:0;transform:scale(.96) translateY(4px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes slideInRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes progressMove{0%{background-position:200% 0}to{background-position:-200% 0}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle}.sortable .header-content{display:inline-flex;align-items:center;gap:6px}.sortable .sort-icon{display:inline-flex;align-items:center;color:var(--primary);vertical-align:middle;transition:transform .2s ease}.sortable .sort-icon.placeholder-icon{opacity:.15;color:var(--text-secondary)}.sortable:hover{background-color:#e8edf2}.sortable:hover .sort-icon.placeholder-icon{opacity:.5}.sort-info{display:flex;align-items:center;gap:12px;padding:8px 16px;background:#f1f3f5;font-size:13px;color:#495057}.btn-link{background:none;border:none;color:var(--primary);font-weight:600;font-size:12px;cursor:pointer;padding:0;text-decoration:underline}.modal-backdrop{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-resumen{background:#fff;border-radius:16px;width:90%;max-width:520px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 50px #00000040;overflow:hidden}.modal-resumen__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid #E5E7EB;background:#fafbfc}.modal-resumen__body{padding:16px 24px 24px;overflow-y:auto;flex:1}.modal-resumen__seccion{margin-bottom:18px}.modal-resumen__seccion:last-child{margin-bottom:0}.modal-resumen__seccion h4{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:13px;font-weight:700;color:#1b3a5c;text-transform:uppercase;letter-spacing:.5px}.modal-resumen__count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 8px;border-radius:11px;background:#dc26261a;color:#dc2626;font-size:11px;font-weight:700}.modal-resumen__seccion ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.modal-resumen__item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:1px solid #E5E7EB;border-radius:8px;background:#fff;color:#1f2937;font-size:13px;cursor:pointer;text-align:left;transition:all .15s ease}.modal-resumen__item:hover{background:#f3f4f6;border-color:#1b3a5c}.modal-resumen__item span{flex:1}.modal-close-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;border:none;background:transparent;color:var(--text-muted);border-radius:6px;cursor:pointer;transition:background .15s ease,color .15s ease}.modal-close-btn:hover{background:var(--bg-hover);color:var(--text-primary)}@media(max-width:768px){.content{padding:16px}.kpi-grid,.charts-row{grid-template-columns:1fr}.form-row{flex-direction:column;gap:0}.form-row .form-field{min-width:100%}.filters-row{flex-direction:column}.filter-field{max-width:100%}.timeline-body{grid-template-columns:1fr}}
