:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;font-size:14px;color:#0f172a;background-color:#f5f7fb;--surface: #ffffff;--surface-muted: #f1f5f9;--surface-elevated: #ffffff;--border: #e2e8f0;--border-muted: #f1f5f9;--text: #0f172a;--text-secondary: #334155;--text-muted: #64748b;--text-placeholder: #94a3b8;--primary: #2563eb;--primary-hover: #1d4ed8;--primary-active: #1e40af;--primary-light: #dbeafe;--primary-lighter: #eff6ff;--primary-text: #ffffff;--secondary: #475569;--secondary-hover: #334155;--secondary-active: #1e293b;--secondary-light: #f1f5f9;--secondary-text: #ffffff;--success: #16a34a;--success-hover: #15803d;--success-light: #dcfce7;--success-lighter: #f0fdf4;--success-text: #ffffff;--success-text-dark: #166534;--warning: #d97706;--warning-hover: #b45309;--warning-light: #fef3c7;--warning-lighter: #fffbeb;--warning-text: #ffffff;--warning-text-dark: #92400e;--error: #dc2626;--error-hover: #b91c1c;--error-light: #fee2e2;--error-lighter: #fef2f2;--error-text: #ffffff;--error-text-dark: #991b1b;--info: #0284c7;--info-hover: #0369a1;--info-light: #e0f2fe;--info-lighter: #f0f9ff;--info-text: #ffffff;--info-text-dark: #075985;--gray-50: #f8fafc;--gray-100: #f1f5f9;--gray-200: #e2e8f0;--gray-300: #cbd5e1;--gray-400: #94a3b8;--gray-500: #64748b;--gray-600: #475569;--gray-700: #334155;--gray-800: #1e293b;--gray-900: #0f172a;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);--shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .08), 0 2px 4px -1px rgba(15, 23, 42, .04);--shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, .08), 0 4px 6px -2px rgba(15, 23, 42, .04);--shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, .1), 0 10px 10px -5px rgba(15, 23, 42, .04);--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--space-6: 1.5rem;--space-8: 2rem}[data-theme=dark]{color:#e2e8f0;background-color:#0b1120;--surface: #0f172a;--surface-muted: #1e293b;--surface-elevated: #1e293b;--border: #334155;--border-muted: #1e293b;--text: #f1f5f9;--text-secondary: #cbd5e1;--text-muted: #94a3b8;--text-placeholder: #64748b;--primary: #3b82f6;--primary-hover: #2563eb;--primary-active: #1d4ed8;--primary-light: rgba(59, 130, 246, .15);--primary-lighter: rgba(59, 130, 246, .08);--secondary: #94a3b8;--secondary-hover: #cbd5e1;--secondary-light: rgba(148, 163, 184, .1);--success: #22c55e;--success-hover: #16a34a;--success-light: rgba(34, 197, 94, .15);--success-lighter: rgba(34, 197, 94, .08);--success-text-dark: #86efac;--warning: #f59e0b;--warning-hover: #d97706;--warning-light: rgba(245, 158, 11, .15);--warning-lighter: rgba(245, 158, 11, .08);--warning-text-dark: #fcd34d;--error: #ef4444;--error-hover: #dc2626;--error-light: rgba(239, 68, 68, .15);--error-lighter: rgba(239, 68, 68, .08);--error-text-dark: #fca5a5;--info: #0ea5e9;--info-hover: #0284c7;--info-light: rgba(14, 165, 233, .15);--info-lighter: rgba(14, 165, 233, .08);--info-text-dark: #7dd3fc;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .2);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .3), 0 2px 4px -1px rgba(0, 0, 0, .2);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .3), 0 4px 6px -2px rgba(0, 0, 0, .2);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .4), 0 10px 10px -5px rgba(0, 0, 0, .2)}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit;text-decoration:none}.login-page{min-height:100vh;display:grid;place-items:center;padding:clamp(1.5rem,5vw,3rem);background:radial-gradient(circle at 20% 20%,#e8edff,#f5f7fb 55%)}[data-theme=dark] .login-page{background:radial-gradient(circle at 20% 20%,#0f172a,#0b1224 55%)}.login-card{width:min(420px,100%);border-radius:16px;padding:2rem 2.25rem;display:grid;gap:.5rem;justify-items:stretch;background:var(--surface);border:1px solid var(--border);box-shadow:0 20px 50px #0f172a1a}[data-theme=dark] .login-card{box-shadow:0 20px 50px #0006}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;color:#94a3b8;margin:0 0 .35rem}h1{margin:0 0 .35rem;font-size:clamp(1.75rem,3vw,2.4rem)}.muted{color:#475569}[data-theme=dark] .muted{color:#94a3b8}.form-label{display:grid;gap:.4rem;color:#374151;font-weight:600;font-size:.875rem}[data-theme=dark] .form-label{color:#d1d5db}.form-input{padding:.7rem .875rem;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.9rem;transition:border-color .2s ease,box-shadow .2s ease}.form-input:hover:not(:disabled){border-color:#94a3b8}[data-theme=dark] .form-input:hover:not(:disabled){border-color:#475569}.form-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}[data-theme=dark] .form-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.form-input:disabled{opacity:.6;cursor:not-allowed;background:var(--surface-muted)}.form-input::placeholder{color:#94a3b8}[data-theme=dark] .form-input::placeholder{color:#64748b}select.form-input{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}textarea.form-input{resize:vertical;min-height:80px}.form-section{display:flex;flex-direction:column;gap:0;border:1px solid #e2e8f0;border-radius:16px;padding:0;background:#fff;box-shadow:0 4px 16px #0f172a0f,0 1px 3px #0f172a0a;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box;position:relative}[data-theme=dark] .form-section{border:1px solid #1e293b;background:#0f172a;box-shadow:0 4px 16px #00000040,0 1px 3px #00000026}.form-section h3{margin:0;font-size:.95rem;font-weight:700;color:#1e40af;letter-spacing:.02em;text-transform:uppercase;padding:1rem 1.25rem;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-bottom:1px solid #bfdbfe;display:flex;align-items:center;gap:.5rem}.form-section h3:before{content:"";display:inline-block;width:4px;height:18px;background:linear-gradient(180deg,#2563eb,#1d4ed8);border-radius:2px;flex-shrink:0}[data-theme=dark] .form-section h3{color:#93c5fd;background:linear-gradient(135deg,#2563eb26,#1e40af1a);border-bottom-color:#3b82f633}[data-theme=dark] .form-section h3:before{background:linear-gradient(180deg,#3b82f6,#2563eb)}.form-section-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-bottom:1px solid #bfdbfe;gap:.75rem}.form-section-header h3{padding:0;background:none;border:none;flex:1}[data-theme=dark] .form-section-header{background:linear-gradient(135deg,#2563eb26,#1e40af1a);border-bottom-color:#3b82f633}.form-section>div:not(.form-section-header){padding:1.25rem;width:100%;box-sizing:border-box}.form-section>.table-wrapper{padding:0 1.25rem 1.25rem;width:100%;box-sizing:border-box}.form-section .form-label{display:flex;flex-direction:column;gap:.35rem}.form-section textarea.form-input{resize:vertical;width:100%;box-sizing:border-box}.form-section p{padding:10px;margin:0}.form-section .form-label{font-weight:600;color:#374151;font-size:.85rem;letter-spacing:.01em}[data-theme=dark] .form-section .form-label{color:#d1d5db}.form-section .form-input{border-radius:10px;border:1.5px solid #e2e8f0;background:#f8fafc;transition:all .2s ease}.form-section .form-input:hover:not(:disabled){border-color:#cbd5e1;background:#fff}.form-section .form-input:focus{border-color:#2563eb;background:#fff;box-shadow:0 0 0 4px #2563eb1a}[data-theme=dark] .form-section .form-input{border-color:#334155;background:#1e293b}[data-theme=dark] .form-section .form-input:hover:not(:disabled){border-color:#475569;background:#0f172a}[data-theme=dark] .form-section .form-input:focus{border-color:#3b82f6;background:#0f172a;box-shadow:0 0 0 4px #3b82f626}.data-table{width:100%;border-collapse:collapse;color:#0f172a;font-size:.9rem}[data-theme=dark] .data-table{color:#e2e8f0}.data-table th,.data-table td{padding:.75rem .875rem;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.data-table th{font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:#475569;white-space:nowrap}[data-theme=dark] .data-table th{color:#94a3b8}.data-table thead{background:#f1f5f9;position:sticky;top:0;z-index:10}[data-theme=dark] .data-table thead{background:#0b1224}.data-table tbody tr{transition:background-color .15s ease}.data-table tbody tr:nth-child(2n){background:#f1f5f980}[data-theme=dark] .data-table tbody tr:nth-child(2n){background:#0f172a66}.data-table tbody tr:hover{background:#2563eb0f}[data-theme=dark] .data-table tbody tr:hover{background:#2563eb1f}.login-form{display:flex;flex-direction:column;gap:1rem;margin-top:1.25rem}.login-form label{display:flex;flex-direction:column;font-weight:600;gap:.4rem;color:#374151;font-size:.9rem}[data-theme=dark] .login-form label{color:#d1d5db}.login-form input{padding:.8rem 1rem;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.95rem;transition:border-color .2s ease,box-shadow .2s ease}.login-form input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}[data-theme=dark] .login-form input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.login-form input::placeholder{color:#94a3b8}.login-form button{padding:.9rem 1.25rem;border-radius:10px;border:none;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-weight:700;font-size:.95rem;cursor:pointer;box-shadow:0 4px 14px #2563eb4d;transition:all .2s ease;margin-top:.5rem}.login-form button:hover:not(:disabled){box-shadow:0 6px 20px #2563eb66;transform:translateY(-1px)}.login-form button:active:not(:disabled){transform:scale(.98)}[data-theme=dark] .login-form button{box-shadow:0 4px 14px #2563eb66}[data-theme=dark] .login-form button:hover:not(:disabled){box-shadow:0 6px 20px #2563eb80}.login-form button:disabled{opacity:.55;cursor:not-allowed;transform:none}.error{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:.75rem 1rem;color:#b91c1c;font-size:.9rem;font-weight:500;display:flex;align-items:center;gap:.5rem}.error:before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#dc2626;color:#fff;font-weight:700;font-size:.75rem;flex-shrink:0}[data-theme=dark] .error{background:#ef44441f;border:1px solid rgba(239,68,68,.3);color:#fca5a5}[data-theme=dark] .error:before{background:#ef4444}.notice{border-radius:8px;padding:.75rem 1rem;border:1px solid var(--border);background:var(--surface-muted);color:var(--text);font-weight:500;font-size:.9rem;display:flex;align-items:center;gap:.5rem}.notice.success{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.notice.success:before{content:"✓";display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#10b981;color:#fff;font-weight:700;font-size:.7rem;flex-shrink:0}.notice.error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.notice.error:before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#dc2626;color:#fff;font-weight:700;font-size:.75rem;flex-shrink:0}.notice.info{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.notice.info:before{content:"i";display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#2563eb;color:#fff;font-weight:700;font-size:.75rem;flex-shrink:0;font-style:italic}[data-theme=dark] .notice{background:#64748b1a;border:1px solid rgba(100,116,139,.2);color:#e2e8f0}[data-theme=dark] .notice.success{background:#10b9811f;border-color:#10b98140;color:#6ee7b7}[data-theme=dark] .notice.success:before{background:#10b981}[data-theme=dark] .notice.error{background:#ef44441f;border-color:#ef444440;color:#fca5a5}[data-theme=dark] .notice.error:before{background:#ef4444}[data-theme=dark] .notice.info{background:#3b82f61f;border-color:#3b82f640;color:#93c5fd}[data-theme=dark] .notice.info:before{background:#3b82f6}.shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr;background:#f5f7fb;color:#0f172a;position:relative}[data-theme=dark] .shell{background:#0b1120;color:#e2e8f0}.sidebar{border-right:1px solid var(--border);padding:1.25rem 1rem;background:var(--surface);display:flex;flex-direction:column;gap:.5rem;box-shadow:none;position:sticky;top:0;height:100vh;overflow-y:auto}[data-theme=dark] .sidebar{box-shadow:none}.sidebar-backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:70}[data-theme=dark] .sidebar-backdrop{background:#0000008c}.logo{font-weight:800;letter-spacing:.01em;font-size:1.2rem}.nav-sections{display:grid;gap:.8rem}.nav-section{background:#f1f5f9;border:1px solid #d8e1ec;border-radius:14px;padding:.5rem;box-shadow:inset 0 1px #fff9}[data-theme=dark] .nav-section{background:#0b1224;border:1px solid #1f2a44;box-shadow:inset 0 1px #ffffff0d}.nav-section-title{padding:.35rem .65rem;font-weight:700;color:#0f172a;font-size:1rem;border-bottom:1px solid #d8e1ec;margin-bottom:.35rem}[data-theme=dark] .nav-section-title{color:#e2e8f0;border-bottom:1px solid #1f2937}.nav-section-items{display:grid;gap:.4rem}.nav-link{display:block;padding:.65rem .75rem;border-radius:10px;color:#475569;transition:background .2s,color .2s;font-weight:600;background:#fff;border:1px solid #e2e8f0;font-size:.95rem}.nav-link:hover{background:#eef2f7}.nav-link.active{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 10px 25px #2563eb3d;border-color:transparent}[data-theme=dark] .nav-link{color:#cbd5e1;background:#0f172a;border:1px solid #1f2937}[data-theme=dark] .nav-link:hover{background:#0b1224}[data-theme=dark] .nav-link.active{box-shadow:0 10px 25px #2563eb59;box-shadow:0 4px 12px #2563eb66}.content{padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:1rem;min-height:100vh}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}[data-theme=dark] ::-webkit-scrollbar-thumb{background:#334155}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#475569}.table-wrapper{overflow-x:auto;border-radius:8px;border:1px solid var(--border)}.table-wrapper .data-table{border:none}.table-wrapper .data-table th:first-child,.table-wrapper .data-table td:first-child{padding-left:1rem}.table-wrapper .data-table th:last-child,.table-wrapper .data-table td:last-child{padding-right:1rem}.topbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:.75rem 1rem;box-shadow:0 1px 3px #0f172a0a}[data-theme=dark] .topbar{box-shadow:0 1px 3px #0003}.topbar-left{display:flex;align-items:center;gap:.75rem;min-width:0}.user-meta{display:flex;flex-direction:column;gap:.15rem}.user-name{font-weight:700;color:#0f172a}[data-theme=dark] .user-name{color:#e2e8f0}.user-role{color:#475569;font-size:.9rem}[data-theme=dark] .user-role{color:#cbd5e1}.topbar-actions{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ghost-button{padding:.65rem 1rem;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;font-weight:600;font-size:.9rem;transition:all .2s ease}.ghost-button:hover{border-color:#2563eb;color:#2563eb;background:#2563eb0f}.ghost-button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.ghost-button:active{transform:scale(.98)}.ghost-button:disabled{opacity:.5;cursor:not-allowed;transform:none}[data-theme=dark] .ghost-button:hover{border-color:#3b82f6;color:#93c5fd;background:#3b82f61f}.menu-toggle{display:none;gap:.45rem;align-items:center;font-weight:800}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0f172a0a}[data-theme=dark] .card{box-shadow:0 1px 3px #0003}.dashboard{display:flex;flex-direction:column;gap:1rem}.welcome-card{background:linear-gradient(135deg,#2563eb0f,#2563eb1a);border:1px solid rgba(37,99,235,.15);border-radius:12px;padding:1.25rem 1.5rem;box-shadow:0 2px 8px #2563eb0f;display:flex;justify-content:space-between;gap:1rem;align-items:center}.welcome-card h2{margin:0;font-size:1.25rem;font-weight:700;color:var(--text)}.welcome-card p{margin:.35rem 0 0;line-height:1.5}[data-theme=dark] .welcome-card{background:linear-gradient(135deg,#2563eb1a,#2563eb29);border:1px solid rgba(59,130,246,.2);box-shadow:0 2px 8px #2563eb1a}.badge{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .75rem;border-radius:6px;background:#f1f5f9;border:1px solid #e2e8f0;color:#475569;font-weight:600;font-size:.8rem;letter-spacing:.01em;white-space:nowrap}[data-theme=dark] .badge{background:#94a3b81a;border:1px solid rgba(148,163,184,.2);color:#94a3b8}.badge.success{background:var(--success-lighter);border-color:var(--success-light);color:var(--success-text-dark)}[data-theme=dark] .badge.success{background:var(--success-light);border-color:var(--success);color:var(--success-text-dark)}.badge.warning{background:var(--warning-lighter);border-color:var(--warning-light);color:var(--warning-text-dark)}[data-theme=dark] .badge.warning{background:var(--warning-light);border-color:var(--warning);color:var(--warning-text-dark)}.badge.error,.badge.danger{background:var(--error-lighter);border-color:var(--error-light);color:var(--error-text-dark)}[data-theme=dark] .badge.error,[data-theme=dark] .badge.danger{background:var(--error-light);border-color:var(--error);color:var(--error-text-dark)}.badge.muted{background:var(--gray-100);border-color:var(--gray-200);color:var(--gray-500)}[data-theme=dark] .badge.muted{background:var(--secondary-light);border-color:var(--border);color:var(--text-muted)}.badge.info,.badge.primary{background:var(--primary-lighter);border-color:var(--primary-light);color:var(--primary-active)}[data-theme=dark] .badge.info,[data-theme=dark] .badge.primary{background:var(--primary-light);border-color:var(--primary);color:var(--info-text-dark)}.stats-grid{display:grid;gap:.875rem;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1rem 1.125rem;box-shadow:0 2px 8px #0f172a0a;transition:transform .2s ease,box-shadow .2s ease;position:relative;overflow:hidden}.stat-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(180deg,#2563eb,#3b82f6);opacity:.7}.stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0f172a14}[data-theme=dark] .stat-card{box-shadow:0 2px 8px #0003}[data-theme=dark] .stat-card:hover{box-shadow:0 8px 24px #00000059}.stat-label{color:#64748b;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}[data-theme=dark] .stat-label{color:#94a3b8}.stat-value{font-size:1.75rem;font-weight:800;margin-top:.35rem;color:var(--text);line-height:1.2}.stat-hint{margin-top:.4rem;color:#94a3b8;font-size:.8rem}[data-theme=dark] .stat-hint{color:#64748b}.quick-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.875rem}.quick-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.125rem 1.25rem;box-shadow:0 2px 8px #0f172a0a;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;display:flex;flex-direction:column;gap:.5rem}.quick-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0f172a14;border-color:#2563eb40}[data-theme=dark] .quick-card{box-shadow:0 2px 8px #0003}[data-theme=dark] .quick-card:hover{box-shadow:0 8px 24px #00000059;border-color:#3b82f640}.quick-card h3{margin:0;font-size:1rem;font-weight:700;color:var(--text)}.quick-card p{margin:0;color:#64748b;font-size:.875rem;line-height:1.5;flex:1}[data-theme=dark] .quick-card p{color:#94a3b8}.quick-card .link-button{align-self:flex-start;margin-top:.5rem}.link-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.6rem 1rem;border-radius:10px;border:1px solid transparent;text-decoration:none;font-weight:700;font-size:.9rem;cursor:pointer;transition:all .2s ease}.link-button:focus-visible,.secondary-button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.link-button:active,.secondary-button:active{transform:scale(.98)}.link-button:disabled,.secondary-button:disabled{opacity:.55;cursor:not-allowed;transform:none}.link-button{margin-top:0;border-color:#2563eb;color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 14px #2563eb40}.link-button:hover{box-shadow:0 6px 20px #2563eb59;transform:translateY(-1px)}[data-theme=dark] .link-button{box-shadow:0 4px 14px #2563eb66}[data-theme=dark] .link-button:hover{box-shadow:0 6px 20px #2563eb80}.positive-button{background:linear-gradient(135deg,#16a34a,#15803d);border-color:#16a34a;box-shadow:0 4px 14px #16a34a40}.positive-button:hover{box-shadow:0 6px 20px #16a34a59;transform:translateY(-1px)}[data-theme=dark] .positive-button{box-shadow:0 4px 14px #16a34a59}.danger-button{background:linear-gradient(135deg,#dc2626,#b91c1c);border-color:#dc2626;color:#fff!important;box-shadow:0 4px 14px #dc262640}.danger-button:hover{box-shadow:0 6px 20px #dc262659;transform:translateY(-1px)}[data-theme=dark] .danger-button{box-shadow:0 4px 14px #dc262659}.secondary-button{background:linear-gradient(135deg,#64748b,#475569);border-color:#64748b;color:#fff;box-shadow:0 4px 14px #47556933}.secondary-button:hover{box-shadow:0 6px 20px #4755694d;transform:translateY(-1px)}[data-theme=dark] .secondary-button{box-shadow:0 4px 14px #4755694d}.table-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:nowrap}.table-button{margin-top:0;padding:.4rem .7rem;border-radius:6px;font-weight:600;font-size:.8rem;line-height:1.25;white-space:nowrap}.table-actions .link-button{margin-top:0}.table-actions .ghost-button:not(.danger-button){background:var(--surface)}[data-theme=dark] .table-actions .ghost-button:not(.danger-button){background:var(--surface)}.section-divider{border-top:1px solid var(--border);padding-top:1rem;margin-top:.5rem}.centered{min-height:60vh;display:grid;place-items:center;gap:.5rem;color:#0f172a}[data-theme=dark] .centered{color:#e2e8f0}.loading-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#f1f5f9cc;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;animation:fadeIn .15s ease}[data-theme=dark] .loading-overlay{background:#0b1120d9}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.loading-overlay__panel{display:grid;gap:.75rem;padding:1.5rem 2rem;border-radius:12px;background:var(--surface);border:1px solid var(--border);box-shadow:0 10px 40px #0f172a1f;align-items:center;justify-items:center;min-width:200px;animation:slideUp .2s ease}[data-theme=dark] .loading-overlay__panel{box-shadow:0 10px 40px #0006}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.loading-overlay__message{font-weight:700;font-size:.95rem;color:var(--text)}.loading-overlay__hint{color:var(--text-muted);font-size:.875rem}.spinner{width:32px;height:32px;border-radius:50%;border:3px solid rgba(37,99,235,.15);border-top-color:#2563eb;animation:spin .75s linear infinite}[data-theme=dark] .spinner{border:3px solid rgba(59,130,246,.2);border-top-color:#3b82f6}@keyframes spin{to{transform:rotate(360deg)}}.spinner-sm{width:16px;height:16px;border-width:2px}@media (max-width: 1080px){.shell{grid-template-columns:1fr;overflow-x:hidden}.sidebar{position:fixed;inset:0 auto 0 0;width:min(280px,85vw);height:100vh;overflow-y:auto;transform:translate(-105%);transition:transform .3s cubic-bezier(.4,0,.2,1);z-index:80;box-shadow:4px 0 20px #0f172a26;border-right:1px solid var(--border)}[data-theme=dark] .sidebar{box-shadow:4px 0 20px #0006}.sidebar.open{transform:translate(0)}.sidebar-backdrop{display:block}.nav-sections{max-height:calc(100vh - 100px);overflow-y:auto}.menu-toggle{display:inline-flex}.content{padding:1rem}.topbar{align-items:center}.card{padding:1rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}@media (max-width: 720px){.topbar{flex-direction:column;gap:.75rem}.topbar-left{width:100%;justify-content:space-between}.topbar-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.card,.topbar{padding:.875rem;border-radius:10px}.quick-links{grid-template-columns:1fr}.welcome-card{flex-direction:column;align-items:flex-start;text-align:left}h1,.stat-value{font-size:1.5rem}}@media (max-width: 540px){.ghost-button{width:100%;justify-content:center}.topbar-actions{flex-direction:column}.link-button,.secondary-button{width:100%;justify-content:center}.table-actions{flex-wrap:wrap;gap:.4rem}.table-button{padding:.35rem .6rem;font-size:.75rem}.data-table{font-size:.8rem}.data-table th,.data-table td{padding:.5rem .6rem}.stats-grid{grid-template-columns:1fr 1fr;gap:.5rem}.stat-card{padding:.75rem}.stat-label{font-size:.7rem}.stat-value{font-size:1.25rem}}.toast-container{position:fixed;top:16px;right:16px;display:flex;flex-direction:column;gap:10px;z-index:1000;max-width:min(380px,calc(100vw - 32px))}.toast{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:.875rem 1rem;border-radius:10px;background:#1e293b;color:#f1f5f9;box-shadow:0 8px 30px #00000040;font-size:.875rem;font-weight:500;animation:toastSlideIn .25s ease;border-left:4px solid transparent}@keyframes toastSlideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.toast-error{border-left-color:#ef4444;background:linear-gradient(135deg,#1e293b,#291818)}.toast-success{border-left-color:#10b981;background:linear-gradient(135deg,#1e293b,#172520)}.toast-info{border-left-color:#3b82f6;background:linear-gradient(135deg,#1e293b,#1a2234)}.toast-close{border:none;background:transparent;color:#94a3b8;font-size:18px;cursor:pointer;line-height:1;padding:0;transition:color .15s ease;flex-shrink:0}.toast-close:hover{color:#fff}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.page-header h2{margin:0;font-size:1.25rem;font-weight:700;color:var(--text)}.page-header-actions{display:flex;gap:.5rem;flex-wrap:wrap}.filter-bar{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.empty-state{text-align:center;padding:3rem 1.5rem;color:var(--text-muted)}.empty-state-icon{font-size:3rem;margin-bottom:1rem;opacity:.4}.empty-state h3{margin:0 0 .5rem;color:var(--text);font-weight:600}.empty-state p{margin:0;font-size:.9rem}.detail-section{border-top:1px solid var(--border);padding-top:1rem;margin-top:.5rem}.detail-section h3{margin:0 0 .75rem;font-size:1rem;font-weight:700;color:var(--text)}.grid-2{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.grid-3{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.grid-4{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.gap-1{gap:.5rem}.gap-2{gap:1rem}.text-sm{font-size:.875rem}.text-xs{font-size:.75rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.text-center{text-align:center}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}*:focus-visible{outline:2px solid #2563eb;outline-offset:2px}[data-theme=dark] *:focus-visible{outline-color:#3b82f6}:root{--ease-out-expo: cubic-bezier(.16, 1, .3, 1);--ease-out-quart: cubic-bezier(.25, 1, .5, 1);--ease-in-out: cubic-bezier(.4, 0, .2, 1);--duration-fast: .15s;--duration-normal: .2s;--duration-slow: .3s}@keyframes pageEnter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.content-area{animation:pageEnter .3s var(--ease-out-expo)}.card,.stat-card,.quick-card,.welcome-card{transition:transform var(--duration-normal) var(--ease-out-quart),box-shadow var(--duration-normal) var(--ease-out-quart)}.stat-card:hover,.quick-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0f172a1a}[data-theme=dark] .stat-card:hover,[data-theme=dark] .quick-card:hover{box-shadow:0 8px 25px #0000004d}.data-table tbody tr{transition:background-color var(--duration-fast) ease,transform var(--duration-fast) ease}.data-table tbody tr:hover{transform:scale(1.002)}.link-button,.ghost-button,.secondary-button,.positive-button,.danger-button{transition:all var(--duration-fast) var(--ease-out-quart);transform-origin:center}.link-button:active,.ghost-button:active,.secondary-button:active,.positive-button:active{transform:scale(.97)}.nav-link{transition:all var(--duration-fast) var(--ease-out-quart)}.nav-link:hover{transform:translate(2px)}.nav-link.active{transform:translate(0)}.form-input{transition:border-color var(--duration-fast) ease,box-shadow var(--duration-fast) ease,background-color var(--duration-fast) ease}.badge{transition:transform var(--duration-fast) ease,box-shadow var(--duration-fast) ease}.badge:hover{transform:scale(1.02)}.form-section{animation:sectionEnter .35s var(--ease-out-expo);animation-fill-mode:both}@keyframes sectionEnter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.form-section:nth-child(1){animation-delay:0ms}.form-section:nth-child(2){animation-delay:50ms}.form-section:nth-child(3){animation-delay:.1s}.form-section:nth-child(4){animation-delay:.15s}.form-section:nth-child(5){animation-delay:.2s}.form-section:nth-child(6){animation-delay:.25s}.form-section:nth-child(7){animation-delay:.3s}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton{background:linear-gradient(90deg,var(--surface-muted) 25%,var(--surface) 50%,var(--surface-muted) 75%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:6px}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.animate-pulse{animation:pulse 2s var(--ease-in-out) infinite}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal-content,.dropdown-menu{animation:scaleIn .15s var(--ease-out-expo)}@keyframes slideInLeft{0%{opacity:0;transform:translate(-16px)}to{opacity:1;transform:translate(0)}}@keyframes slideInRight{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}.topbar{animation:slideUp .25s var(--ease-out-expo)}.sidebar{animation:slideInLeft .3s var(--ease-out-expo)}.stats-grid .stat-card{animation:sectionEnter .35s var(--ease-out-expo);animation-fill-mode:both}.stats-grid .stat-card:nth-child(1){animation-delay:0ms}.stats-grid .stat-card:nth-child(2){animation-delay:50ms}.stats-grid .stat-card:nth-child(3){animation-delay:.1s}.stats-grid .stat-card:nth-child(4){animation-delay:.15s}.stats-grid .stat-card:nth-child(5){animation-delay:.2s}.stats-grid .stat-card:nth-child(6){animation-delay:.25s}.login-card{animation:scaleIn .4s var(--ease-out-expo)}.empty-state{animation:fadeIn .3s var(--ease-out-quart)}.notice,.error-message{animation:slideUp .25s var(--ease-out-expo)}.ghost-button svg,.link-button svg{transition:transform var(--duration-fast) ease}.ghost-button:hover svg,.link-button:hover svg{transform:scale(1.1)}.table-actions{transition:opacity var(--duration-fast) ease}input[type=checkbox]{transition:background-color var(--duration-fast) ease,border-color var(--duration-fast) ease,box-shadow var(--duration-fast) ease}.ripple{position:relative;overflow:hidden}.ripple:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle,rgba(255,255,255,.3) 0%,transparent 60%);opacity:0;transform:scale(0);transition:transform .4s ease,opacity .4s ease}.ripple:active:after{transform:scale(2.5);opacity:1;transition:transform 0s,opacity 0s}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
