:root{--brand: #4f46e5;--brand-dark: #4338ca;--brand-light: #e0e7ff;--text: #111827;--text-muted: #6b7280;--bg: #f9fafb;--surface: #ffffff;--border: #e5e7eb;--sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--display: "Syne", "DM Sans", sans-serif;font:14px/1.5 var(--sans);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}*,*:before,*:after{box-sizing:border-box}body{margin:0}#root{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}h1,h2,h3,h4,p{margin:0}a{color:var(--brand);text-decoration:none}button{cursor:pointer;font-family:inherit}input,select,textarea{font-family:inherit}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;font-size:14px;font-weight:500;border:none;transition:all .15s}.btn-primary{background:var(--brand);color:#fff}.btn-primary:hover{background:var(--brand-dark)}.btn-secondary{background:#fff;color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:#f3f4f6}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.btn-ghost{background:transparent;color:var(--text-muted);border:none;padding:6px 10px}.btn-ghost:hover{background:#f3f4f6;color:var(--text)}.btn-sm{padding:5px 10px;font-size:13px}.btn:disabled{opacity:.5;cursor:not-allowed}.card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:20px;font-size:12px;font-weight:500}.badge-green{background:#d1fae5;color:#065f46}.badge-yellow{background:#fef3c7;color:#92400e}.badge-red{background:#fee2e2;color:#991b1b}.badge-blue{background:#dbeafe;color:#1e40af}.badge-gray{background:#f3f4f6;color:#374151}.badge-purple{background:#ede9fe;color:#5b21b6}.form-group{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}.form-label{font-size:13px;font-weight:500;color:#374151}.form-input{width:100%;min-width:0;min-height:40px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;font-size:14px;outline:none;transition:border-color .15s}.form-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-light)}.form-select{padding:8px 12px;border:1px solid var(--border);border-radius:8px;font-size:14px;background:#fff}.form-hint{font-size:12px;color:var(--text-muted)}.form-error{font-size:12px;color:#ef4444}.table{width:100%;border-collapse:collapse}.table th{padding:10px 16px;text-align:left;font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border)}.table td{padding:12px 16px;font-size:14px;border-bottom:1px solid var(--border)}.table tr:last-child td{border-bottom:none}.table tr:hover td{background:#f9fafb}.modal-overlay{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px}.modal{background:#fff;border-radius:16px;padding:24px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-title{font-size:18px;font-weight:600}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-title{font-size:22px;font-weight:700}.empty-state{display:flex;flex-direction:column;align-items:center;gap:12px;padding:60px 20px;color:var(--text-muted)}.stat-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px}.stat-value{font-size:28px;font-weight:700;color:var(--text)}.stat-label{font-size:13px;color:var(--text-muted);margin-top:4px}.auth-page{flex:1;min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);background:#eef2f7}.auth-brand{position:relative;overflow:hidden;color:#f8fafc;background:radial-gradient(120% 80% at 10% 0%,rgba(79,70,229,.35) 0%,transparent 55%),radial-gradient(90% 70% at 90% 100%,rgba(14,116,144,.28) 0%,transparent 50%),linear-gradient(165deg,#0b1220,#152033 48%,#0f172a);display:flex;align-items:stretch;padding:clamp(28px,4vw,48px);animation:auth-brand-in .7s ease-out both}.auth-brand-bg{position:absolute;inset:0;pointer-events:none}.auth-brand-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(248,250,252,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(248,250,252,.045) 1px,transparent 1px);background-size:36px 36px;-webkit-mask-image:radial-gradient(ellipse 80% 70% at 40% 40%,#000 20%,transparent 75%);mask-image:radial-gradient(ellipse 80% 70% at 40% 40%,#000 20%,transparent 75%)}.auth-brand-orb{position:absolute;border-radius:50%;filter:blur(2px);opacity:.55;animation:auth-orb-drift 14s ease-in-out infinite alternate}.auth-brand-orb--a{width:280px;height:280px;top:-60px;right:-40px;background:radial-gradient(circle,rgba(99,102,241,.45),transparent 70%)}.auth-brand-orb--b{width:340px;height:340px;bottom:-100px;left:-80px;background:radial-gradient(circle,rgba(15,118,110,.35),transparent 70%);animation-delay:-4s;animation-duration:18s}.auth-brand-content{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:space-between;gap:40px;width:100%;max-width:460px}.auth-wordmark{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-family:var(--display);font-weight:700;font-size:16px;letter-spacing:-.02em;width:fit-content}.auth-wordmark--mobile{display:none;margin-bottom:20px}.auth-mark{width:36px;height:36px;border-radius:10px;background:#4f46e5;display:inline-flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 8px 20px #4f46e559}.auth-brand-copy{animation:auth-rise .75s ease-out .12s both}.auth-brand-name{font-family:var(--display);font-size:clamp(40px,5.5vw,56px);font-weight:800;line-height:.98;letter-spacing:-.045em;margin-bottom:16px}.auth-brand-tagline{font-size:clamp(16px,1.6vw,18px);line-height:1.45;color:#e2e8f0e0;max-width:28ch}.auth-brand-points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;animation:auth-rise .75s ease-out .25s both}.auth-brand-points li{display:flex;align-items:center;gap:10px;font-size:14px;color:#cbd5e1eb}.auth-brand-points li:before{content:"";width:6px;height:6px;border-radius:2px;background:#818cf8;flex-shrink:0}.auth-panel{display:flex;align-items:center;justify-content:center;padding:clamp(24px,5vw,48px);background:linear-gradient(180deg,#ffffffd9,#f8fafc8c),radial-gradient(ellipse 80% 50% at 50% 0%,rgba(79,70,229,.05),transparent 60%),#eef2f7;animation:auth-panel-in .65s ease-out .08s both}.auth-panel-inner{width:min(100%,420px)}.auth-header{margin-bottom:28px}.auth-title{font-family:var(--display);font-size:clamp(26px,4vw,32px);font-weight:700;line-height:1.15;letter-spacing:-.03em;margin-bottom:8px;color:#0f172a}.auth-subtitle{color:#64748b;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.auth-card{width:100%;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:28px;box-shadow:0 1px 2px #0f172a0a,0 12px 32px #0f172a0f}.auth-form .form-input{border-radius:10px;min-height:44px;background:#fafaf9;border-color:#e7e5e4}.auth-form .form-input:focus{background:#fff}.auth-form .form-input::placeholder{color:#a8a29e}.auth-form-last{margin-bottom:22px}.auth-name-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.auth-error{margin-bottom:16px;padding:12px 14px;border-radius:10px;background:#fef2f2;color:#991b1b;border:1px solid #fecaca;font-size:13px;overflow-wrap:anywhere}.auth-submit{width:100%;min-height:46px;justify-content:center;border-radius:10px;font-weight:600;font-size:15px}.auth-footer{margin-top:20px;text-align:center;color:#64748b;font-size:14px}.auth-footer a{font-weight:600;color:#4f46e5}.auth-footer a:hover{text-decoration:underline}@keyframes auth-brand-in{0%{opacity:0;transform:translate(-12px)}to{opacity:1;transform:none}}@keyframes auth-panel-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes auth-rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes auth-orb-drift{0%{transform:translateZ(0) scale(1)}to{transform:translate3d(18px,-22px,0) scale(1.08)}}@media(max-width:900px){.auth-page{grid-template-columns:1fr;grid-template-rows:auto 1fr}.auth-brand{min-height:auto;padding:28px 24px 32px}.auth-brand-content{gap:24px;max-width:none}.auth-brand-name{font-size:clamp(32px,8vw,40px);margin-bottom:10px}.auth-brand-tagline{font-size:15px;max-width:36ch}.auth-brand-points{display:none}.auth-panel{padding:28px 20px 40px;align-items:flex-start}.auth-wordmark--mobile{display:none}}@media(max-width:520px){.auth-brand{display:none}.auth-wordmark--mobile{display:inline-flex}.auth-panel{padding:28px 16px 36px;min-height:100dvh;align-items:center}.auth-card{padding:22px 18px;border-radius:16px}.auth-name-grid{grid-template-columns:1fr;gap:0}.auth-form .form-input{min-height:46px;font-size:16px}.auth-footer{line-height:1.6}}@media(prefers-reduced-motion:reduce){.auth-brand,.auth-panel,.auth-brand-copy,.auth-brand-points,.auth-brand-orb{animation:none!important}}.c-select{position:relative;width:100%}.c-select.is-disabled{opacity:.55;pointer-events:none}.c-select-trigger{width:100%;min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px 6px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;text-align:left;transition:border-color .15s,box-shadow .15s}.c-select.is-open .c-select-trigger,.c-select-trigger:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-light);outline:none}.c-select-trigger--multi{align-items:flex-start;min-height:44px;padding-top:8px;padding-bottom:8px}.c-select-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-select-placeholder{flex:1;color:#9ca3af}.c-select-actions{display:inline-flex;align-items:center;gap:2px;flex-shrink:0;color:var(--text-muted)}.c-select-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;color:var(--text-muted)}.c-select-icon-btn:hover{background:#f3f4f6;color:var(--text)}.c-select-chevron{flex-shrink:0;color:var(--text-muted);transition:transform .15s}.c-select.is-open .c-select-chevron{transform:rotate(180deg)}.c-select-chips{display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0}.c-select-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:2px 6px 2px 8px;border-radius:999px;background:var(--brand-light);color:var(--brand-dark);font-size:12px;font-weight:500;line-height:1.4}.c-select-chip-remove{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:999px;color:var(--brand-dark)}.c-select-chip-remove:hover{background:#c7d2fe}.c-select-menu{background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 30px #1118271f;overflow:hidden;max-height:280px;display:flex;flex-direction:column;will-change:top,left,bottom}.c-select-search{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border);color:var(--text-muted);flex-shrink:0}.c-select-search-input{flex:1;min-width:0;border:none;outline:none;background:transparent;font:inherit;color:var(--text)}.c-select-list{list-style:none;margin:0;padding:6px;overflow-y:auto;max-height:220px}.c-select-option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:8px;cursor:pointer;color:var(--text);font-size:14px;text-align:left}.c-select-option.is-active{background:#f3f4f6}.c-select-option.is-selected{color:var(--brand-dark);font-weight:500}.c-select-option.is-selected.is-active{background:var(--brand-light)}.c-select-option.is-disabled{opacity:.45;cursor:not-allowed}.c-select-empty{padding:12px 10px;color:var(--text-muted);font-size:13px;text-align:left}.c-select-check{width:16px;height:16px;border-radius:4px;border:1px solid var(--border);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#fff;color:#fff}.c-select-check.is-on{background:var(--brand);border-color:var(--brand)}.c-select-menu--multi .c-select-option{justify-content:flex-start;text-align:left}.c-select-menu--multi .c-select-option>span:last-child{flex:1;min-width:0;text-align:left}.c-select-autocomplete-field{position:relative}.c-select-autocomplete-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.c-select-autocomplete-input{padding-left:34px}@keyframes skeleton-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.skeleton-bone{display:block;max-width:100%;background:linear-gradient(90deg,#eef0f3,#f7f8fa,#eef0f3 80%);background-size:200% 100%;animation:skeleton-shimmer 1.25s ease-in-out infinite}.skeleton-table-wrap{width:100%}.skeleton-table tbody tr:hover td{background:transparent}.skeleton-card{pointer-events:none}.skeleton-modal-body{padding-top:4px}@media(prefers-reduced-motion:reduce){.skeleton-bone{animation:none;background:#eef0f3}}@keyframes drawer-fade-in{0%{opacity:0}to{opacity:1}}@keyframes drawer-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-backdrop{position:fixed;inset:0;background:#00000059;z-index:1000;animation:drawer-fade-in .18s ease}.drawer-panel{position:fixed;top:0;right:0;bottom:0;width:min(420px,100vw);background:var(--surface);z-index:1001;display:flex;flex-direction:column;box-shadow:-8px 0 40px #00000024;animation:drawer-slide-in .22s ease}.drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 20px 16px;border-bottom:1px solid var(--border);flex-shrink:0}.drawer-header-icon{width:38px;height:38px;border-radius:10px;background:var(--brand-light);display:flex;align-items:center;justify-content:center;flex-shrink:0}.drawer-title{font-size:16px;font-weight:700;color:var(--text)}.drawer-subtitle{font-size:12px;color:var(--text-muted);margin-top:2px}.drawer-body{flex:1;overflow-y:auto;padding:20px}.drawer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;border-top:1px solid var(--border);flex-shrink:0;background:#fff}.filter-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--brand);color:#fff;font-size:11px;font-weight:600;line-height:1}@media(prefers-reduced-motion:reduce){.drawer-backdrop,.drawer-panel{animation:none}}
