body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Microsoft YaHei,Noto Sans SC,sans-serif;background:#f4f6f9;color:#0f172a}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Microsoft YaHei,Noto Sans SC,sans-serif;background:var(--color-bg);color:var(--color-text)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{display:flex;min-height:100vh}.sidebar{width:230px;background:linear-gradient(180deg,#2f3a4a,#1b2533);color:#fff;padding:24px 16px;display:flex;flex-direction:column;gap:12px}.brand{font-weight:700;font-size:18px;letter-spacing:1px}.nav{display:flex;flex-direction:column;gap:8px;margin-top:16px}.nav button{text-align:left;background:transparent;border:none;color:#d9e1ec;padding:10px 12px;border-radius:12px;cursor:pointer;font-size:14px}.nav button:hover{background:#ffffff14}.nav-active{background:#ffffff24!important;color:#fff!important;font-weight:600}.main{flex:1;padding:28px;display:flex;flex-direction:column;gap:18px;overflow:auto}.page-title{margin:0 0 4px;font-size:20px}.login-card{width:360px;margin:120px auto;padding:28px;background:#fff;border-radius:24px;box-shadow:0 18px 45px #1218281f}.login-card h1{margin:0 0 6px;font-size:20px}.subtitle{margin:0 0 18px;color:#7b8794;font-size:13px}.form{display:flex;flex-direction:column;gap:12px}.form label span{display:block;font-size:12px;color:#5b6673;margin-bottom:6px}.form input,.form select,.form textarea{width:100%;padding:10px 12px;border-radius:12px;border:1px solid #e4e8ee;background:#fafbfd;font-size:14px}.form textarea{resize:vertical}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card{background:#fff;padding:18px;border-radius:20px;box-shadow:0 10px 30px #12182814}.label{margin:0;font-size:12px;color:#7b8794}.value{margin:8px 0 0;font-size:24px;font-weight:700}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.toolbar input,.toolbar select{padding:10px 12px;border-radius:12px;border:1px solid #e4e8ee;background:#fff}.table-wrap{overflow:auto;background:#fff;border-radius:20px;box-shadow:0 10px 30px #1218280f}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:12px 14px;text-align:left;border-bottom:1px solid #f2f4f7}th{background:#fafbfd;color:#7b8794;font-weight:600}.status{display:inline-flex;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;background:#e8f5e9;color:#1b5e20}.status.hidden{background:#fce8e8;color:#7f1d1d}.status.reviewing{background:#fff4e1;color:#7a4a00}.status.active{background:#e8f5e9;color:#1b5e20}.status.suspended{background:#fce8e8;color:#7f1d1d}.status.published{background:#e8f5e9;color:#1b5e20}.status.draft{background:#eef2ff;color:#312e81}.status.closed,.status.cancelled{background:#fce8e8;color:#7f1d1d}.error{color:#c81e1e;background:#ffe8e8;padding:12px;border-radius:14px}.empty{color:#7b8794}.hint{font-size:12px;color:#7b8794}button{padding:10px 14px;border:none;border-radius:14px;background:#0f172a;color:#fff;cursor:pointer;font-size:13px}button:disabled{opacity:.7}.secondary{background:#eef2ff;color:#1e293b}.modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;display:flex;align-items:center;justify-content:center;padding:24px}.modal-content{background:#fff;width:100%;max-width:640px;max-height:90vh;overflow:auto;padding:22px;border-radius:24px;box-shadow:0 24px 70px #0f172a3d;display:flex;flex-direction:column;gap:14px}.chart{background:#fff;padding:18px;border-radius:20px;box-shadow:0 10px 30px #1218280f}.bar-group{display:inline-flex;flex-direction:column;align-items:center;gap:10px;width:32px}.bars{display:flex;gap:6px;align-items:flex-end;height:180px;width:32px}.bar{width:10px;border-radius:8px}.bar.records{background:#3b82f6}.bar.events{background:#10b981}.bar.enrollments{background:#f59e0b}.bar-label{font-size:11px;color:#7b8794;transform:rotate(-35deg);transform-origin:left top;white-space:nowrap}.legend{display:flex;gap:14px;margin-top:12px;font-size:12px;color:#5b6673}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:6px}
