@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-50:#eff6ff;--primary-100:#dbeafe;--primary-200:#bfdbfe;
  --primary-300:#93c5fd;--primary-400:#60a5fa;--primary-500:#3b82f6;
  --primary-600:#2563eb;--primary-700:#1d4ed8;--primary-800:#1e40af;
  --primary-900:#1e3a8a;--primary-950:#172554;
  --navy:#0f2d5e;--navy-light:#1e40af;--navy-dark:#0a1f40;
  --success:#10b981;--success-light:#d1fae5;--success-dark:#065f46;
  --warning:#f59e0b;--warning-light:#fef3c7;--warning-dark:#92400e;
  --danger:#ef4444;--danger-light:#fee2e2;--danger-dark:#991b1b;
  --info:#6366f1;--info-light:#e0e7ff;
  --cyan:#06b6d4;--cyan-light:#cffafe;
  --bg-body:#f1f5f9;--bg-card:#ffffff;--bg-sidebar:#ffffff;
  --bg-header:#ffffff;--bg-input:#ffffff;--bg-hover:#f8fafc;--bg-muted:#f1f5f9;
  --text-primary:#0f172a;--text-secondary:#475569;--text-muted:#94a3b8;--text-inverse:#ffffff;
  --border:#e2e8f0;--border-focus:#3b82f6;
  --shadow-sm:0 1px 2px rgba(0,0,0,.05);
  --shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);
  --shadow-md:0 4px 6px rgba(0,0,0,.07),0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:0 10px 15px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:0 20px 25px rgba(0,0,0,.1),0 10px 10px rgba(0,0,0,.04);
  --radius-sm:6px;--radius:10px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-full:9999px;
  --sidebar-width:260px;--header-height:64px;
  --transition:all .2s ease;--transition-slow:all .3s ease;
}
[data-theme="dark"]{
  --bg-body:#0f172a;--bg-card:#1e293b;--bg-sidebar:#1e293b;
  --bg-header:#1e293b;--bg-input:#334155;--bg-hover:#334155;--bg-muted:#334155;
  --text-primary:#f1f5f9;--text-secondary:#94a3b8;--text-muted:#64748b;
  --border:#334155;--border-focus:#60a5fa;
  --shadow-sm:0 1px 2px rgba(0,0,0,.3);
  --shadow:0 1px 3px rgba(0,0,0,.3),0 1px 2px rgba(0,0,0,.2);
  --shadow-md:0 4px 6px rgba(0,0,0,.3),0 2px 4px rgba(0,0,0,.2);
  --shadow-lg:0 10px 15px rgba(0,0,0,.3),0 4px 6px rgba(0,0,0,.2);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--bg-body);color:var(--text-primary);line-height:1.6;min-height:100vh;transition:background .3s,color .3s}
a{color:inherit;text-decoration:none}
img{max-width:100%}
button{cursor:pointer;font-family:inherit}
input,select,textarea{font-family:inherit}
h1{font-size:2rem;font-weight:800;line-height:1.2}
h2{font-size:1.5rem;font-weight:700;line-height:1.3}
h3{font-size:1.25rem;font-weight:600}
h4{font-size:1.125rem;font-weight:600}
h5{font-size:1rem;font-weight:600}
p{color:var(--text-secondary)}
::-webkit-scrollbar{width:5px;height:5px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}
.hidden{display:none!important}
.flex{display:flex}.flex-col{flex-direction:column}
.items-center{align-items:center}.items-start{align-items:flex-start}
.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}
.flex-wrap{flex-wrap:wrap}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}
.grid{display:grid}
.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}
.text-center{text-align:center}.text-right{text-align:right}
.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-base{font-size:1rem}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}
.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.font-extrabold{font-weight:800}
.text-primary-color{color:var(--primary-600)}.text-success{color:var(--success)}.text-warning{color:var(--warning)}.text-danger{color:var(--danger)}.text-info{color:var(--info)}.text-muted{color:var(--text-muted)}.text-inverse{color:var(--text-inverse)}
.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}
.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}
.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.ml-auto{margin-left:auto}
.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}
.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}
.w-full{width:100%}.w-auto{width:auto}
.min-w-0{min-width:0}
.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rounded{border-radius:var(--radius)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-full{border-radius:var(--radius-full)}
.border{border:1px solid var(--border)}
.relative{position:relative}.absolute{position:absolute}
.cursor-pointer{cursor:pointer}
.select-none{user-select:none}
.opacity-50{opacity:.5}
.transition{transition:var(--transition)}
.shrink-0{flex-shrink:0}
