:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e5eefb;background:#0b1220}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:radial-gradient(circle at top left,rgba(37,99,235,.18),transparent 24%),radial-gradient(circle at bottom right,rgba(14,165,233,.12),transparent 18%),#0b1220;color:#0f172a}button,select,input{font:inherit}button{border:0;border-radius:12px;padding:12px 16px;font-weight:600;cursor:pointer;background:#0f172a;color:#fff}button:disabled{opacity:.6;cursor:wait}h1,h2,h3,p{margin-top:0}.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.app-shell-collapsed{grid-template-columns:88px minmax(0,1fr)}.sidebar{background:linear-gradient(180deg,#071226,#020817);border-right:1px solid rgba(148,163,184,.12);min-width:0;overflow:hidden;position:sticky;top:0;height:100vh;z-index:30}.sidebar-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 16px 12px}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0;margin:0;background:transparent;color:#f8fafc;border-radius:0;text-align:left}.sidebar-brand:hover{background:transparent}.sidebar-brand-mark{width:44px;height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,#f97316,#facc15);color:#0b1220;box-shadow:0 10px 24px #f9731638;font-size:1.2rem}.sidebar-brand-text{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0;color:#f8fafc;line-height:1.02;font-size:1.05rem;letter-spacing:-.03em}.sidebar-close{width:40px;height:40px;min-width:40px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#ffffff0a;color:#fff}.sidebar-close:hover{background:#ffffff14}.sidebar-scroll{padding:0 12px 20px;height:calc(100vh - 86px);overflow-y:auto}.sidebar-section{margin-top:20px}.sidebar-section:first-child{margin-top:0}.sidebar-section-title{margin:0 8px 10px;color:#94a3b8;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.sidebar-nav-list{display:grid;gap:8px}.sidebar-nav-item{width:100%;display:flex;align-items:center;gap:12px;justify-content:flex-start;background:transparent;color:#cbd5e1;border:1px solid transparent;padding:10px 12px;border-radius:16px;text-align:left}.sidebar-nav-item:hover{background:#1e293bd1;border-color:#60a5fa2e}.sidebar-nav-item-active{background:linear-gradient(135deg,#1d4ed847,#0ea5e938);border-color:#60a5fa52;color:#f8fafc;box-shadow:inset 0 1px #ffffff0a}.sidebar-nav-icon{width:40px;height:40px;flex:0 0 40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#1e293be6;color:#93c5fd;font-size:.8rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.sidebar-nav-item-active .sidebar-nav-icon{background:#ffffff1f;color:#f8fafc}.sidebar-nav-text{min-width:0;display:grid;gap:2px;text-align:left}.sidebar-nav-text strong{color:inherit;font-size:.95rem;line-height:1.15}.sidebar-nav-text small{color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15}.app-shell-collapsed .sidebar-brand{justify-content:center;width:100%}.app-shell-collapsed .sidebar-brand-text,.app-shell-collapsed .sidebar-section-title,.app-shell-collapsed .sidebar-nav-text{display:none}.app-shell-collapsed .sidebar-top{justify-content:center}.app-shell-collapsed .sidebar-nav-item{justify-content:center;padding-left:10px;padding-right:10px}.app-main{min-width:0;background:transparent}.topbar{position:sticky;top:0;z-index:25;height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 24px;background:#0b1220d6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(148,163,184,.1)}.topbar-left{display:flex;align-items:center;gap:16px;min-width:0}.topbar-title{margin:0;color:#f8fafc;font-size:1.9rem;line-height:1.08;letter-spacing:-.03em}.topbar-subtitle{margin:6px 0 0;color:#94a3b8;line-height:1.25}.topbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.sidebar-dock-toggle{width:40px;height:40px;min-width:40px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#ffffff0a;color:#fff}.sidebar-dock-toggle:hover{background:#ffffff14}.dock-icon{position:relative;width:18px;height:14px;display:block;border:1.5px solid rgba(255,255,255,.9);border-radius:2px;box-sizing:border-box}.dock-icon:before{content:"";position:absolute;top:-1.5px;bottom:-1.5px;left:5px;width:1.5px;background:#ffffffe6}.content-area{padding:24px}.card{background:#f8fafcfa;border:1px solid rgba(203,213,225,.68);border-radius:24px;padding:22px;box-shadow:0 20px 45px #02061733;margin-bottom:20px}.card h2{margin-bottom:18px}.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:8px}.field label{font-weight:700}.field select,.field input,input{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:12px;background:#fff;color:#0f172a}.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.checkbox-item{display:flex;align-items:flex-start;gap:10px;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.checkbox-item strong{display:block}.checkbox-item small,.stat span,.stat small,.muted-text,.user-list-item small{color:#64748b}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:20px}.stat strong{display:block;margin:8px 0 4px;font-size:2rem}.table-wrapper{overflow:auto}.table-wrapper table{width:100%;border-collapse:collapse}.table-wrapper th,.table-wrapper td{padding:10px;border-bottom:1px solid #e2e8f0;text-align:left;white-space:nowrap}.table-ellipsis{max-width:340px;overflow:hidden;text-overflow:ellipsis}.secondary-button{background:#e2e8f0eb;color:#0f172a}.danger-button{background:#b91c1c}.user-badge{background:#1e293bf2;color:#e2e8f0;border:1px solid rgba(148,163,184,.14);border-radius:999px;padding:10px 14px;font-size:.95rem}.profile-menu{position:relative}.menu-trigger{min-width:120px}.menu-panel{position:absolute;top:calc(100% + 10px);right:0;min-width:240px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 20px 40px #0f172a2e;padding:8px;z-index:20}.menu-item{width:100%;text-align:left;background:transparent;color:#0f172a;padding:12px 14px;border-radius:12px}.menu-item:hover{background:#f8fafc}.menu-item-danger{color:#b91c1c}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:100%;max-width:420px}.login-card h1{margin-bottom:8px}.login-form{display:flex;flex-direction:column;gap:16px;margin-top:20px}.error-text{margin:0;color:#b91c1c}.success-text{margin:0;color:#166534}.admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px}.compact-form{margin-top:16px}.inline-check{display:flex;align-items:center;gap:10px}.user-list{display:grid;gap:12px}.user-list-item{border:1px solid #e2e8f0;border-radius:14px;padding:12px}.user-list-item-with-action{display:flex;align-items:center;justify-content:space-between;gap:16px}.user-list-item strong{display:block}.desktop-only{display:inline-flex}.mobile-only{display:none}.sidebar-overlay{position:fixed;inset:0;background:#0206178c;border:0;z-index:35;border-radius:0;padding:0}@media(max-width:980px){.app-shell,.app-shell-collapsed{grid-template-columns:1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:300px;height:100vh;transform:translate(-100%);transition:transform .22s ease;z-index:40}.sidebar.sidebar-mobile-open{transform:translate(0)}.desktop-only{display:none}.mobile-only{display:inline-flex}.topbar{padding:0 20px}.content-area{padding:20px}}@media(max-width:720px){.topbar{height:auto;padding:16px;align-items:flex-start;flex-direction:column}.topbar-left,.topbar-actions{width:100%}.topbar-actions{justify-content:space-between}.topbar-title{font-size:1.5rem}.content-area{padding:16px}.user-list-item-with-action{flex-direction:column;align-items:flex-start}.menu-panel{left:0;right:auto}}
