*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;overflow-x:hidden}body{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;background:#f4f6f9;color:#1a1a2e;min-height:100vh;overflow-x:hidden;-webkit-overflow-scrolling:touch}#root{overflow-x:hidden}a{color:inherit;text-decoration:none}button{cursor:pointer;font-family:inherit}input,select,textarea{font-family:inherit;outline:none}.card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:24px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;border:none;transition:all .2s;white-space:nowrap;flex-shrink:0}.btn-primary{background:#2563eb;color:#fff}.btn-primary:hover{background:#1d4ed8}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}.btn-secondary{background:#e5e7eb;color:#374151}.btn-secondary:hover{background:#d1d5db}.btn-success{background:#16a34a;color:#fff}.btn-success:hover{background:#15803d}.btn-sm{padding:6px 12px;font-size:13px}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:13px;font-weight:500;margin-bottom:6px;color:#374151}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px 12px;border:1.5px solid #d1d5db;border-radius:8px;font-size:14px;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#2563eb}.badge{display:inline-block;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:500}.badge-green{background:#dcfce7;color:#166534}.badge-blue{background:#dbeafe;color:#1e40af}.badge-gray{background:#f3f4f6;color:#6b7280}.badge-red{background:#fee2e2;color:#991b1b}.badge-yellow{background:#fef9c3;color:#854d0e}.alert{padding:12px 16px;border-radius:8px;font-size:14px;margin-bottom:16px}.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.alert-success{background:#dcfce7;color:#166534;border:1px solid #86efac}.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}table{width:100%;border-collapse:collapse;min-width:520px}thead th{text-align:left;padding:12px 16px;font-size:13px;font-weight:600;color:#6b7280;border-bottom:1.5px solid #e5e7eb}tbody td{padding:13px 16px;font-size:14px;border-bottom:1px solid #f3f4f6}tbody tr:hover{background:#f9fafb}.mobile-card-list{display:none}.spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin .7s linear infinite;margin:40px auto}@keyframes spin{to{transform:rotate(360deg)}}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:10px;flex-wrap:wrap}.page-header h1{font-size:22px;font-weight:700}.empty-state{text-align:center;padding:48px;color:#9ca3af}.empty-state p{font-size:15px;margin-top:8px}.layout-root{position:relative;min-height:100vh}.sidebar{position:fixed;top:0;left:0;width:240px;height:100vh;background:#1e293b;color:#cbd5e1;display:flex;flex-direction:column;z-index:300;transition:transform .25s ease}.main-content{margin-left:240px;padding:32px;min-height:100vh;max-width:100%}.mobile-topbar,.mobile-nav-dropdown{display:none}.sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:299}.sidebar-overlay.open{display:block}@media (max-width: 768px){.sidebar{display:none}.main-content{margin-left:0!important;padding:0;width:100%;max-width:100vw}.mobile-topbar{display:flex;align-items:center;justify-content:space-between;padding:0 16px;height:54px;background:#1e293b;color:#fff;position:sticky;top:0;z-index:200;width:100%;gap:12px}.mobile-nav-dropdown{display:block;background:#1e293b;overflow-y:auto;overflow-x:hidden;transition:max-height .25s ease;position:sticky;top:54px;z-index:199;width:100%;max-height:calc(100dvh - 54px)}.mobile-nav-dropdown.closed{max-height:0;overflow:hidden}.mobile-nav-dropdown.open{max-height:calc(100dvh - 54px)}.main-content{padding:16px!important}.card{padding:16px;border-radius:10px}.page-header h1{font-size:18px}.page-header{gap:8px}.table-wrap table{display:none}.mobile-card-list{display:block}.two-col-grid,.detail-grid{grid-template-columns:1fr!important}.stat-grid{grid-template-columns:1fr 1fr!important}.form-two-col{grid-template-columns:1fr!important}}@media (max-width: 480px){.stat-grid{grid-template-columns:1fr!important}}
