:root{--navy-900: #0a2a4a;--navy-800: #0d3b66;--navy-700: #144a82;--navy-50: #eaf2fb;--gold: #f4a261;--gold-dark: #e08e3a;--green: #2a9d8f;--red: #d63828;--gray-900: #1a1f2e;--gray-700: #424b5e;--gray-500: #737d92;--gray-300: #cfd5e0;--gray-200: #e3e8ef;--gray-100: #f1f4f9;--gray-50: #f7f9fc;--white: #ffffff;--shadow-sm: 0 1px 2px rgba(10, 42, 74, .06);--shadow-md: 0 4px 12px rgba(10, 42, 74, .08);--shadow-lg: 0 10px 28px rgba(10, 42, 74, .12);--radius: 10px;--radius-lg: 14px}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;color:var(--gray-900);background:var(--gray-50);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer}input,select,textarea{font-family:inherit;font-size:14px}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;border:1px solid transparent;font-weight:500;font-size:13.5px;transition:all .15s ease;white-space:nowrap}.btn-primary{background:var(--navy-800);color:var(--white)}.btn-primary:hover{background:var(--navy-700)}.btn-gold{background:var(--gold);color:var(--navy-900)}.btn-gold:hover{background:var(--gold-dark)}.btn-outline{background:var(--white);border-color:var(--gray-300);color:var(--gray-700)}.btn-outline:hover{border-color:var(--navy-700);color:var(--navy-800)}.btn-danger{background:var(--white);color:var(--red);border-color:#f5c2bc}.btn-danger:hover{background:#fef1ef}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:6px;background:transparent;border:1px solid transparent;color:var(--gray-700)}.btn-icon:hover{background:var(--gray-100);color:var(--navy-800)}.btn-sm{padding:5px 10px;font-size:12px}.input,.select,.textarea{width:100%;padding:9px 12px;border:1px solid var(--gray-300);border-radius:8px;background:var(--white);color:var(--gray-900);transition:border-color .15s,box-shadow .15s}.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--navy-700);box-shadow:0 0 0 3px #144a821f}.label{display:block;font-size:12px;font-weight:600;color:var(--gray-700);margin-bottom:5px;text-transform:uppercase;letter-spacing:.4px}.field{margin-bottom:12px}.card{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-sm);border:1px solid var(--gray-200)}.card-pad{padding:20px}.card-header{padding:16px 20px;border-bottom:1px solid var(--gray-200);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.card-title{font-size:16px;font-weight:600;color:var(--gray-900);margin:0}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:13px}.table th,.table td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--gray-200)}.table th{background:var(--gray-50);font-weight:600;color:var(--gray-700);font-size:11.5px;text-transform:uppercase;letter-spacing:.4px}.table tbody tr:hover{background:var(--gray-50)}.table tbody tr:last-child td{border-bottom:none}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:linear-gradient(180deg,var(--navy-900) 0%,var(--navy-800) 100%);color:#cfd9e8;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar-brand{padding:20px 22px;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-brand-mark{width:38px;height:38px;background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%);border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--navy-900);font-size:15px}.sidebar-brand-name{color:var(--white);font-size:15px;font-weight:700;line-height:1.1}.sidebar-brand-sub{color:#ffffff8c;font-size:11px;letter-spacing:.5px;text-transform:uppercase}.sidebar-nav{padding:14px 10px;flex:1;overflow-y:auto}.sidebar-section{font-size:10.5px;text-transform:uppercase;letter-spacing:1px;color:#ffffff73;padding:14px 12px 6px}.sidebar-link{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:8px;color:#fffc;font-size:13.5px;margin-bottom:2px;transition:all .15s ease}.sidebar-link:hover{background:#ffffff0f;color:var(--white)}.sidebar-link.active{background:#f4a26126;color:var(--white);box-shadow:inset 3px 0 0 var(--gold)}.sidebar-link svg{width:18px;height:18px;flex-shrink:0}.sidebar-foot{padding:14px 16px;border-top:1px solid rgba(255,255,255,.08);font-size:11px;color:#fff6}.main{display:flex;flex-direction:column;min-width:0}.topbar{background:var(--white);border-bottom:1px solid var(--gray-200);padding:12px 28px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.topbar-title{font-size:18px;font-weight:600;color:var(--gray-900);margin:0}.topbar-sub{font-size:12px;color:var(--gray-500);margin-top:2px}.topbar-right{display:flex;align-items:center;gap:14px}.user-chip{display:flex;align-items:center;gap:10px;padding:6px 10px 6px 6px;background:var(--gray-100);border-radius:30px}.avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,var(--navy-700),var(--navy-800));color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:13px}.user-meta{line-height:1.15}.user-name{font-size:13px;font-weight:600;color:var(--gray-900)}.user-role{font-size:11px;color:var(--gray-500);text-transform:uppercase;letter-spacing:.4px}.content{padding:24px 28px;flex:1}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.stat-card{background:var(--white);border-radius:var(--radius);border:1px solid var(--gray-200);padding:18px 20px;display:flex;align-items:center;gap:14px;box-shadow:var(--shadow-sm);transition:transform .15s,box-shadow .15s}.stat-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}.stat-icon{width:46px;height:46px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon svg{width:22px;height:22px}.stat-icon.navy{background:#0d3b661a;color:var(--navy-800)}.stat-icon.gold{background:#f4a2612e;color:var(--gold-dark)}.stat-icon.green{background:#2a9d8f21;color:var(--green)}.stat-icon.red{background:#d638281a;color:var(--red)}.stat-label{font-size:11.5px;color:var(--gray-500);text-transform:uppercase;letter-spacing:.5px;font-weight:600}.stat-value{font-size:22px;font-weight:700;color:var(--gray-900);margin-top:2px;line-height:1.1}.stat-value-sm{font-size:18px}.badge{display:inline-block;padding:3px 9px;border-radius:30px;font-size:11px;font-weight:600;letter-spacing:.3px}.badge-import{background:#2a9d8f21;color:var(--green)}.badge-export{background:#0d3b661a;color:var(--navy-800)}.badge-gold{background:#f4a2612e;color:var(--gold-dark)}.badge-gray{background:var(--gray-100);color:var(--gray-700)}.badge-active{background:#2a9d8f21;color:var(--green)}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:var(--navy-900)}.auth-hero{background:linear-gradient(135deg,#0a2a4ad9,#0d3b66f2),radial-gradient(circle at 20% 30%,rgba(244,162,97,.25) 0%,transparent 50%),radial-gradient(circle at 80% 70%,rgba(42,157,143,.2) 0%,transparent 50%);color:var(--white);padding:60px 56px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.03) 0 2px,transparent 2px 22px);pointer-events:none}.auth-brand{display:flex;align-items:center;gap:14px}.auth-brand-mark{width:52px;height:52px;background:linear-gradient(135deg,var(--gold),var(--gold-dark));border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;color:var(--navy-900)}.auth-brand-text h1{margin:0;font-size:22px}.auth-brand-text p{margin:4px 0 0;color:#fff9;font-size:13px;letter-spacing:.5px}.auth-tagline h2{font-size:32px;line-height:1.25;margin:0 0 16px}.auth-tagline p{font-size:15px;line-height:1.6;color:#ffffffbf;max-width:460px}.auth-features{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:30px;max-width:480px}.auth-feature{background:#ffffff0f;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:14px}.auth-feature-title{font-size:13px;font-weight:600;margin-bottom:4px}.auth-feature-desc{font-size:12px;color:#ffffffa6;line-height:1.4}.auth-foot{font-size:12px;color:#ffffff80}.auth-panel{background:var(--white);display:flex;align-items:center;justify-content:center;padding:40px}.auth-form{width:100%;max-width:380px}.auth-form h3{margin:0 0 6px;font-size:22px;color:var(--gray-900)}.auth-form .lead{color:var(--gray-500);margin:0 0 28px;font-size:14px}.auth-error{padding:10px 14px;background:#fef1ef;color:var(--red);border:1px solid #f5c2bc;border-radius:8px;font-size:13px;margin-bottom:14px}.demo-creds{margin-top:22px;padding:14px;background:var(--gray-50);border:1px dashed var(--gray-300);border-radius:8px;font-size:12px;color:var(--gray-700)}.demo-creds strong{color:var(--navy-800)}.demo-creds .cred{display:flex;justify-content:space-between;padding:4px 0}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--gray-200);margin-bottom:18px}.tab{padding:9px 14px;background:transparent;border:none;color:var(--gray-700);font-size:13.5px;font-weight:500;border-bottom:2px solid transparent}.tab.active{color:var(--navy-800);border-bottom-color:var(--gold);font-weight:600}.tab:hover:not(.active){color:var(--navy-700)}.filter-bar{display:flex;gap:10px;flex-wrap:wrap;align-items:end;padding:14px 18px;background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius);margin-bottom:16px}.filter-bar .field{margin:0;flex:1 1 150px;min-width:130px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a2a4a8c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:100;padding:20px}.modal{background:var(--white);border-radius:12px;box-shadow:var(--shadow-lg);width:100%;max-width:560px;max-height:90vh;display:flex;flex-direction:column}.modal-head{padding:16px 22px;border-bottom:1px solid var(--gray-200);display:flex;align-items:center;justify-content:space-between}.modal-head h3{margin:0;font-size:17px;color:var(--gray-900)}.modal-body{padding:20px 22px;overflow-y:auto}.modal-foot{padding:14px 22px;border-top:1px solid var(--gray-200);display:flex;gap:10px;justify-content:flex-end;background:var(--gray-50);border-radius:0 0 12px 12px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap;gap:12px}.page-title{font-size:22px;font-weight:700;color:var(--gray-900);margin:0}.page-sub{font-size:13px;color:var(--gray-500);margin-top:2px}.loading,.empty{padding:48px 24px;text-align:center;color:var(--gray-500);font-size:14px}.menu-btn{display:none;background:transparent;border:1px solid var(--gray-300);border-radius:8px;width:36px;height:36px;align-items:center;justify-content:center;color:var(--gray-700)}@media (max-width: 900px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:50;width:260px;transform:translate(-100%);transition:transform .25s ease;box-shadow:var(--shadow-lg)}.sidebar.open{transform:translate(0)}.topbar{padding:12px 18px}.content{padding:18px}.menu-btn{display:inline-flex}.auth-page{grid-template-columns:1fr}.auth-hero{display:none}.grid-2{grid-template-columns:1fr}}.sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0a2a4a66;z-index:40}.sidebar-overlay.show{display:block}.row{display:flex;gap:16px}.row>*{flex:1;min-width:0}.flex{display:flex}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.text-sm{font-size:12.5px}.text-muted{color:var(--gray-500)}.text-right{text-align:right}.font-mono{font-family:SF Mono,Menlo,Consolas,monospace}.font-semibold{font-weight:600}.numeric{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}@media (max-width: 600px){.stats-grid{grid-template-columns:1fr}.row{flex-direction:column}.table th,.table td{padding:8px 10px;font-size:12px}}
