:root{--zl-blue-900: #0f2a6b;--zl-blue-800: #16348c;--zl-blue-700: #1e3a8a;--zl-blue-600: #2563eb;--zl-blue-100: #e6efff;--zl-green-600: #16a34a;--zl-green-100: #eaf7ef;--zl-amber-500: #f59e0b;--zl-red-500: #ef4444;--zl-gray-950: #0f172a;--zl-gray-700: #334155;--zl-gray-600: #475569;--zl-gray-500: #64748b;--zl-gray-300: #e2e8f0;--zl-gray-200: #eef2f6;--zl-gray-100: #f5f7fb;--zl-white: #ffffff;--zl-shadow: 0 10px 25px rgba(15, 23, 42, .08)}*,*:before,*:after{box-sizing:border-box}html,body{height:100%}body{margin:0;font-family:Inter,system-ui,-apple-system,sans-serif;color:var(--zl-gray-950);background:radial-gradient(circle at top,#f8fafc,#eef2ff 45%,#f8fafc)}button,input,select,textarea{font-family:inherit}a{text-decoration:none;color:inherit}.material-symbols-outlined{font-variation-settings:"FILL" 0,"wght" 500,"GRAD" 0,"opsz" 20}.page{padding:32px clamp(20px,4vw,48px)}.card{background:var(--zl-white);border-radius:16px;box-shadow:var(--zl-shadow);border:1px solid rgba(15,23,42,.06)}.card-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600}.badge.green{background:var(--zl-green-100);color:var(--zl-green-600)}.badge.blue{background:var(--zl-blue-100);color:var(--zl-blue-700)}.badge.amber{background:#fef3c7;color:#b45309}.badge.red{background:#fee2e2;color:var(--zl-red-500)}.grid{display:grid;gap:16px}.grid.cols-2{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.grid.cols-3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.muted{color:var(--zl-gray-600)}.section-title{font-size:20px;font-weight:700;margin:0 0 6px}.section-subtitle{margin:0 0 16px;color:var(--zl-gray-500)}.ghost{border:1px solid var(--zl-gray-300);background:var(--zl-white);color:var(--zl-gray-700);padding:8px 16px;border-radius:10px;font-weight:600;cursor:pointer}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--zl-gray-200)}thead{background:var(--zl-gray-100)}.admin-dashboard .tabs{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.admin-dashboard .tabs button{border:1px solid var(--zl-gray-300);background:var(--zl-white);padding:8px 16px;border-radius:999px;font-weight:600;cursor:pointer;color:var(--zl-gray-600)}.admin-dashboard .tabs button.active{background:var(--zl-blue-700);color:var(--zl-white);border-color:transparent}.admin-dashboard .loading,.admin-dashboard .error,.admin-dashboard .success{padding:16px;display:flex;gap:10px;align-items:center}.admin-dashboard .error{color:var(--zl-red-500);background:#fee2e2}.admin-dashboard .success{color:var(--zl-green-700);background:#dcfce7}.admin-dashboard .insight{padding:20px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(124,58,237,.2);background:linear-gradient(135deg,#f5f3ff,#eef2ff)}.admin-dashboard .ai-panel{flex-direction:column;align-items:stretch;gap:16px}.admin-dashboard .ai-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-dashboard .ai-actions{display:flex;align-items:center;gap:12px}.admin-dashboard .ghost.ai-refresh{display:inline-flex;align-items:center;gap:6px;border-color:#2563eb66;color:var(--zl-blue-700)}.admin-dashboard .ghost.ai-refresh .material-symbols-outlined{font-size:18px}.admin-dashboard .ai-title{display:flex;align-items:center;gap:12px}.admin-dashboard .ai-badge{width:36px;height:36px;border-radius:12px;background:var(--zl-blue-700);color:var(--zl-white);display:grid;place-items:center;font-size:20px}.admin-dashboard .ai-body{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.admin-dashboard .ai-body.single{grid-template-columns:1fr}.admin-dashboard .ai-body.single .ai-summary{grid-column:1/-1}.admin-dashboard .ai-section-title{font-weight:700;color:var(--zl-gray-700);margin-bottom:8px}.admin-dashboard .ai-text{margin:0;color:var(--zl-gray-600);line-height:1.6}.admin-dashboard .ai-recommendations ul{margin:0;padding-left:18px;color:var(--zl-gray-700)}.admin-dashboard .ai-recommendations li{margin-bottom:8px}.admin-dashboard .ai-muted{color:var(--zl-gray-500)}.admin-dashboard .insight-content{display:flex;flex-direction:column;gap:8px;max-width:680px}.admin-dashboard .insight .section-title{margin-bottom:0}.admin-dashboard .ai-icon{font-size:44px;color:var(--zl-blue-700)}.admin-dashboard .recommendations{margin-top:6px}.admin-dashboard .recommendations-title{font-weight:600;color:var(--zl-gray-700);margin-bottom:6px}.admin-dashboard .recommendations ul{margin:0;padding-left:18px;color:var(--zl-gray-700)}.admin-dashboard .recommendations li{margin-bottom:6px}.admin-dashboard .pulse{width:48px;height:48px;border-radius:50%;border:4px solid var(--zl-blue-700);border-top-color:transparent;animation:spin 1s linear infinite}.admin-dashboard .metric{padding:16px;position:relative;overflow:hidden;background:linear-gradient(180deg,#fffffffa,#f8fafce6);transition:transform .2s ease,box-shadow .2s ease}.admin-dashboard .metric:before{content:"";position:absolute;inset:0;border-top:3px solid var(--metric-accent, rgba(30, 58, 138, .5));pointer-events:none}.admin-dashboard .metric-title{color:var(--zl-gray-500);font-weight:600}.admin-dashboard .metric-value{font-size:24px;font-weight:700;margin-top:8px}.admin-dashboard .metric:hover{transform:translateY(-2px);box-shadow:0 14px 24px #0f172a1f;transition:transform .2s ease,box-shadow .2s ease}.admin-dashboard .metric.highlight{background:linear-gradient(135deg,#16a34a,#22c55e);color:var(--zl-white)}.admin-dashboard .metric.highlight .metric-title{color:#000}.admin-dashboard .overview .grid.cols-3 .metric:nth-child(1){--metric-accent: rgba(37, 99, 235, .7)}.admin-dashboard .overview .grid.cols-3 .metric:nth-child(2){--metric-accent: rgba(14, 116, 144, .7)}.admin-dashboard .overview .grid.cols-3 .metric:nth-child(3){--metric-accent: rgba(16, 185, 129, .7)}.admin-dashboard .analytics-card{display:flex;flex-direction:column;gap:10px}.admin-dashboard .analytics-section .grid{grid-auto-rows:minmax(240px,1fr)}.admin-dashboard .analytics-section .analytics-card{min-height:240px;padding:22px;justify-content:space-between}.admin-dashboard .analytics-section .analytics-list{flex:1}.admin-dashboard .analytics-list{display:flex;flex-direction:column;gap:8px}.admin-dashboard .analytics-row{display:flex;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px dashed var(--zl-gray-200)}.admin-dashboard .analytics-row:last-child{border-bottom:none;padding-bottom:0}.admin-dashboard .analytics-label{font-weight:600;color:var(--zl-gray-600);text-transform:capitalize}.admin-dashboard .analytics-value{font-weight:700;color:var(--zl-gray-950)}.admin-dashboard .section{margin:24px 0}.admin-dashboard .compliance-section .grid{grid-auto-rows:minmax(240px,1fr)}.admin-dashboard .compliance-section .metric{min-height:240px;padding:22px}.admin-dashboard .compliance-section .metric ul{margin:0;padding-left:18px}.admin-dashboard .section .section-title{display:flex;align-items:center;gap:10px}.admin-dashboard .section .section-title:before{content:"";width:10px;height:10px;border-radius:50%;background:var(--zl-blue-700);box-shadow:0 0 0 4px #1e3a8a1f}.admin-dashboard .actions .action-row{display:flex;gap:12px;flex-wrap:wrap}.admin-dashboard .actions .ghost{box-shadow:0 8px 18px #0f172a14;transition:transform .2s ease,box-shadow .2s ease}.admin-dashboard .actions .ghost:hover{transform:translateY(-1px);box-shadow:0 12px 24px #0f172a1f}.admin-dashboard .ghost.action-primary{border-color:#2563eb59;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:var(--zl-white)}.admin-dashboard .ghost.action-secondary{border-color:#0e749059;background:linear-gradient(135deg,#0ea5e9,#0f766e);color:var(--zl-white)}.admin-dashboard .ghost.action-tertiary{border-color:#7c3aed59;background:linear-gradient(135deg,#7c3aed,#a855f7);color:var(--zl-white)}.admin-dashboard .table-card{padding:0;overflow:hidden}.admin-dashboard table{width:100%;border-collapse:collapse;font-size:14px}.admin-dashboard thead{background:var(--zl-gray-100)}.admin-dashboard th,.admin-dashboard td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--zl-gray-200)}.admin-dashboard .col-index{width:48px;color:var(--zl-gray-500)}.admin-dashboard .actions-cell{display:flex;gap:8px}.admin-dashboard .ghost.action-view{border-color:#3b82f666;background:#e0f2fe;color:#1d4ed8}.admin-dashboard .ghost.action-approve{border-color:#10b98166;background:linear-gradient(135deg,#16a34a,#22c55e);color:var(--zl-white)}.admin-dashboard .ghost.action-reject{border-color:#ef444466;background:linear-gradient(135deg,#ef4444,#dc2626);color:var(--zl-white)}.admin-dashboard select{padding:6px 10px;border-radius:8px;border:1px solid var(--zl-gray-300)}.admin-dashboard .status-pill,.admin-dashboard .priority-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;text-transform:capitalize;border:1px solid rgba(15,23,42,.08)}.admin-dashboard .status-pill.pending,.admin-dashboard .priority-pill.medium{background:#fef3c7;color:#b45309}.admin-dashboard .status-pill.in_progress{background:#e0f2fe;color:#0369a1}.admin-dashboard .status-pill.resolved,.admin-dashboard .status-pill.completed,.admin-dashboard .priority-pill.low{background:var(--zl-green-100);color:var(--zl-green-600)}.admin-dashboard .status-pill.cancelled,.admin-dashboard .status-pill.rejected,.admin-dashboard .priority-pill.high{background:#fee2e2;color:var(--zl-red-500)}.modal-backdrop{position:fixed;inset:0;background:#0f172a73;display:grid;place-items:center;padding:24px;z-index:50}.modal{width:min(720px,100%);max-height:80vh;overflow:hidden;display:flex;flex-direction:column;gap:16px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.modal-body{display:flex;flex-direction:column;gap:16px;overflow:auto}.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:6px;border-radius:10px}.doc-list{display:flex;flex-direction:column;gap:12px}.doc-item{display:flex;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:12px;border:1px solid var(--zl-gray-200);background:var(--zl-white)}.doc-title{font-weight:600;color:var(--zl-gray-700)}.doc-link{text-decoration:none}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
