:root{color:#182337;background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:1200px;background:#f5f7fa}button,input{font:inherit}.adminShell{min-height:100vh;display:grid;grid-template-columns:276px 1fr}.sidebar{background:#fff;border-right:1px solid #e4e9f0;padding:28px 18px;display:flex;flex-direction:column;gap:30px}.brand{display:flex;align-items:center;gap:14px;padding:0 10px}.brandMark{width:48px;height:48px;border-radius:12px;background:#1677ff;color:#fff;display:grid;place-items:center;font-weight:800}.brand strong{display:block;font-size:22px}.brand span{display:block;margin-top:4px;color:#718096;font-size:13px;font-weight:650}nav{display:grid;gap:8px}nav button{border:0;background:transparent;color:#526174;text-align:left;padding:14px 28px;border-radius:10px;font-size:18px;font-weight:680;cursor:pointer}nav button.active{background:#eff6ff;color:#1677ff;box-shadow:inset 4px 0 #1677ff}.accountBox{margin-top:auto;background:#f8fafd;border:1px solid #e5ebf3;border-radius:12px;padding:18px 20px;overflow:hidden}.accountBox span{display:block;color:#7b8798;font-size:13px;font-weight:650}.accountBox strong{display:block;margin-top:8px;color:#182337;font-size:15px;overflow:hidden;text-overflow:ellipsis}.mainArea{min-width:0}.topbar{height:82px;background:#fff;border-bottom:1px solid #e4e9f0;display:flex;align-items:center;justify-content:space-between;padding:0 42px}.topbar h1{margin:0;font-size:28px}.topActions{display:flex;gap:12px}.ghostButton{border:1px solid #d6dee9;background:#fff;color:#344257;border-radius:10px;padding:10px 18px;font-weight:750;cursor:pointer}.primaryButton,.dangerButton{border:0;border-radius:10px;padding:10px 18px;color:#fff;font-weight:800;cursor:pointer}.primaryButton{background:#1677ff}.dangerButton{background:#ef4444}.primaryButton:disabled,.dangerButton:disabled,.ghostButton:disabled{opacity:.6;cursor:wait}.pageStack{padding:44px;display:grid;gap:28px}.pageTitle{display:flex;justify-content:space-between;align-items:end}.pageTitle span{color:#7b8798;font-size:14px;font-weight:700}.pageTitle h1{margin:8px 0 0;font-size:30px}.statsGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.statCard,.panel{background:#fff;border:1px solid #e3e9f1;border-radius:14px;box-shadow:0 12px 22px #12304a14}.statCard{min-height:142px;padding:28px 30px}.statCard p{margin:0;color:#243247;font-size:17px;font-weight:750}.statCard strong{display:block;margin-top:24px;font-size:38px;line-height:1}.statCard span{display:block;margin-top:12px;color:#718096;font-size:14px;font-weight:650}.positive{color:#12b981}.warning{color:#f59e0b}.panel{padding:28px 30px}.panelHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.panelHeader h2{margin:0;font-size:22px}.homeTablePanel{overflow:auto}.adminTable{width:100%;border-collapse:collapse}.adminTable th,.adminTable td{padding:16px 14px;border-top:1px solid #e6ebf2;text-align:left;vertical-align:middle}.adminTable th{color:#7b8798;font-size:13px;font-weight:800}.adminTable td{color:#344257;font-size:15px;font-weight:650}.adminTable tbody tr{cursor:default}.adminTable tbody tr.selectedRow{background:#eff6ff}.status{display:inline-flex;align-items:center;border-radius:999px;background:#f1f5f9;color:#64748b;padding:5px 12px;font-size:13px;font-weight:800}.positiveBg{background:#eafbf4;color:#0f9b72}.warningBg{background:#fff7e6;color:#b7791f}.dangerBg{background:#fff1f2;color:#be123c}.dangerText{color:#be123c}.notice,.contentLoading{margin:24px 44px 0;border-radius:12px;padding:14px 18px;font-weight:700}.notice{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.contentLoading{background:#eff6ff;color:#1677ff;border:1px solid #cfe5ff}.emptyPanel{min-height:280px;display:grid;place-items:center;color:#7b8798;font-weight:750}.loginPage,.loadingPage{min-height:100vh;display:grid;place-items:center;background:#f5f7fa}.loginPanel{width:420px;background:#fff;border:1px solid #e3e9f1;border-radius:18px;box-shadow:0 18px 38px #12304a1f;padding:36px;display:grid;gap:18px}.loginPanel h1{margin:0 0 8px;font-size:28px}.loginPanel label{display:grid;gap:8px;color:#344257;font-weight:750}.loginPanel input{border:1px solid #d6dee9;border-radius:10px;padding:12px 14px;outline:none}.loginPanel input:focus{border-color:#1677ff;box-shadow:0 0 0 3px #dcebff}.loginPanel button{border:0;border-radius:10px;background:#1677ff;color:#fff;padding:13px 16px;font-weight:800;cursor:pointer}.loginPanel button:disabled{opacity:.65;cursor:wait}.formError{margin:0;color:#be123c;font-size:14px;font-weight:700}.toolbarPanel{background:#fff;border:1px solid #e3e9f1;border-radius:14px;padding:20px 22px;display:grid;grid-template-columns:1fr 220px;gap:18px;box-shadow:0 12px 22px #12304a14}.contentToolbar{grid-template-columns:190px 150px 160px 160px minmax(240px,1fr) 150px 100px;align-items:end}.eventsToolbar{grid-template-columns:220px 170px 170px minmax(320px,1fr) 110px;align-items:end}.userToolbar{grid-template-columns:minmax(320px,1fr) 180px 180px}.toolbarPanel label,.editForm label,.editorPanel label{display:grid;gap:8px;color:#526174;font-size:13px;font-weight:800}.toolbarPanel input,.toolbarPanel select,.editForm input,.editForm select,.editorPanel input,.editorPanel select,.editorPanel textarea{height:42px;border:1px solid #d6dee9;border-radius:10px;padding:0 12px;color:#182337;background:#fff;outline:none}.toolbarPanel input:focus,.toolbarPanel select:focus,.editForm input:focus,.editForm select:focus,.editorPanel input:focus,.editorPanel select:focus,.editorPanel textarea:focus{border-color:#1677ff;box-shadow:0 0 0 3px #dcebff}.memberLayout{display:block}.tablePanel{overflow:auto;max-height:720px}.sideEditor{display:grid;gap:20px}.editForm{display:grid;gap:16px}.editForm button{border:0;border-radius:10px;background:#1677ff;color:#fff;height:42px;font-weight:800;cursor:pointer}.editForm button:disabled{opacity:.65;cursor:wait}.quickActions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quickActions button{height:38px;border:1px solid #d6dee9;border-radius:10px;background:#fff;color:#344257;font-size:13px;font-weight:800;cursor:pointer}.quickActions button:disabled{opacity:.55;cursor:not-allowed}.tableAction{border:1px solid #d6dee9;border-radius:9px;background:#fff;color:#1677ff;padding:8px 14px;font-size:13px;font-weight:850;cursor:pointer}.tableAction:hover{background:#eff6ff;border-color:#b9d8ff}.tableMuted{color:#94a3b8;font-size:13px;font-weight:750}.userIdentityCell,.lastEventCell{display:grid;gap:5px;min-width:0}.userIdentityCell strong,.lastEventCell strong{color:#182337;font-size:14px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.userIdentityCell span,.lastEventCell span{color:#7b8798;font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lastEventCell{max-width:360px}.eventsTable th:nth-child(1),.eventsTable td:nth-child(1){width:190px;white-space:nowrap}.eventsTable th:nth-child(2),.eventsTable td:nth-child(2){width:150px}.eventsTable th:nth-child(4),.eventsTable th:nth-child(5),.eventsTable td:nth-child(4),.eventsTable td:nth-child(5){width:240px}.eventPersonCell{display:grid;gap:5px;min-width:0}.eventPersonCell strong{color:#182337;font-size:14px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eventPersonCell span{color:#7b8798;font-size:12px;font-weight:650}.roleBadge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 11px;font-size:12px;font-weight:850;white-space:nowrap}.roleUser{background:#f1f5f9;color:#475569}.roleAdmin{background:#eff6ff;color:#1677ff}.roleSuper{background:#fff7e6;color:#b7791f}.modalBackdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:#0f172a57;padding:36px}.modalPanel{width:min(760px,calc(100vw - 72px));max-height:calc(100vh - 72px);overflow:auto;border:1px solid #e3e9f1;border-radius:18px;background:#fff;box-shadow:0 24px 70px #0f172a3d;padding:26px 28px 28px}.modalHeader{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.modalHeader h2{margin:0;color:#182337;font-size:24px}.iconButton{width:36px;height:36px;border:1px solid #d6dee9;border-radius:10px;background:#fff;color:#526174;font-size:24px;line-height:1;cursor:pointer}.modalActions{display:flex;justify-content:flex-end;gap:12px;padding-top:4px}.modalActions .ghostButton{border:1px solid #d6dee9;background:#fff;color:#344257;height:42px}.modalActions .primaryButton{height:42px}.modalAudit{margin-top:22px;border-top:1px solid #e6ebf2;padding-top:22px}.selectedUser{border:1px solid #e5ebf3;border-radius:12px;background:#f8fafd;padding:14px 16px}.selectedUser strong,.selectedUser span{display:block}.selectedUser strong{color:#182337;overflow:hidden;text-overflow:ellipsis}.selectedUser span{margin-top:6px;color:#7b8798;font-size:13px;font-weight:700}.memberSnapshot{display:grid;grid-template-columns:1fr;border:1px solid #e5ebf3;border-radius:12px;overflow:hidden}.memberSnapshot div{display:grid;grid-template-columns:84px 1fr;gap:10px;align-items:center;padding:13px 14px;border-top:1px solid #edf1f6}.memberSnapshot div:first-child{border-top:0}.memberSnapshot span{color:#7b8798;font-size:12px;font-weight:800}.memberSnapshot strong{color:#182337;font-size:14px;overflow:hidden;text-overflow:ellipsis}.memberSnapshot em{grid-column:2;margin-top:-4px;color:#7b8798;font-size:12px;font-style:normal;font-weight:650}.memberCell{display:grid;gap:6px;justify-items:start}.memberCell small{color:#7b8798;font-size:12px;font-weight:650}.checkboxLine{display:flex!important;align-items:center;grid-template-columns:none;gap:10px;color:#344257!important}.checkboxLine input{width:16px;height:16px}.inlineMessage{margin:14px 0 0;color:#1677ff;font-size:14px;font-weight:760}.auditList{display:grid}.auditList div{padding:14px 0;border-top:1px solid #e6ebf2}.auditList strong,.auditList span{display:block}.auditList strong{color:#344257;font-size:15px}.auditList span{margin-top:5px;color:#7b8798;font-size:13px;font-weight:650}.contentLayout{display:grid;grid-template-columns:430px minmax(0,1fr);gap:28px;align-items:start}.contentListPanel{padding:12px;max-height:780px;overflow:auto}.contentListItem{width:100%;border:0;border-radius:12px;background:#fff;padding:16px 16px 14px;text-align:left;cursor:pointer;display:grid;gap:10px;border-bottom:1px solid #e6ebf2}.contentListItem.active{background:#eff6ff;box-shadow:inset 4px 0 #1677ff}.contentListMeta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.contentListMeta span{color:#7b8798;font-size:12px;font-weight:700}.contentListMeta b{color:#1677ff;background:#eaf3ff;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:850}.contentListItem strong{color:#182337;font-size:17px;line-height:1.45}.contentListItem p{margin:0;color:#526174;font-size:13px;font-weight:650;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.contentListItem em,.editorMeta em{justify-self:start;color:#1677ff;background:#eaf3ff;border-radius:999px;padding:4px 10px;font-size:12px;font-style:normal;font-weight:800}.contentListPager{position:sticky;bottom:0;display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;margin-top:10px;padding:12px;border-top:1px solid #e6ebf2;background:#fffffff5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.contentListPager button{height:36px;border:1px solid #d6dee9;border-radius:9px;background:#fff;color:#344257;font-weight:800;cursor:pointer}.contentListPager button:disabled{color:#a7b2c2;cursor:not-allowed}.contentListPager span{color:#7b8798;font-size:13px;font-weight:800}.editorPanel{position:relative;display:grid;gap:18px}.editorMeta{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e5ebf3;border-radius:12px;background:#f8fafd;padding:16px 18px}.editorMeta span{display:block;color:#7b8798;font-size:12px;font-weight:800}.editorMeta strong{display:block;margin-top:6px;color:#182337;font-size:18px;line-height:1.45}.editorMeta em{flex:0 0 auto;justify-self:auto;border-radius:999px;background:#f1f5f9;color:#64748b;padding:6px 13px;font-size:13px;font-style:normal;font-weight:850}.contentListItem em.publishedState,.editorMeta em.publishedState{background:#eafbf4;color:#0f9b72}.contentListItem em.draftState,.editorMeta em.draftState{background:#fff7e6;color:#b7791f}.contentListItem em.featuredState,.editorMeta em.featuredState{background:#eaf3ff;color:#1677ff}.editorBadges{flex:0 0 auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.editorNotice{margin:-4px 0 0;border:1px solid #b9d8ff;border-radius:10px;background:#eff6ff;color:#1677ff;padding:10px 12px;font-size:14px;font-weight:780}.editorNotice.errorNotice{border-color:#fecdd3;background:#fff1f2;color:#be123c}.editorGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.optionLine{display:flex;align-items:center;gap:12px;border:1px solid #e5ebf3;border-radius:12px;background:#f8fafd;padding:14px 16px}.optionLine input{width:18px;height:18px;accent-color:#1677ff}.optionLine span{display:grid;gap:3px;color:#182337;font-size:14px;font-weight:850}.optionLine small{color:#7b8798;font-size:12px;font-weight:700}.fullLabel textarea,.editorPanel textarea{height:auto;padding:12px 14px;resize:vertical;line-height:1.65}.markdownEditor{min-height:320px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.markdownComposer{display:grid;gap:12px}.markdownToolbar{display:flex;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid #e5ebf3;border-radius:12px;background:#f8fafd}.markdownToolbar button{border:1px solid #d6dee9;border-radius:9px;background:#fff;color:#344257;min-width:44px;height:36px;padding:0 12px;font-weight:850;cursor:pointer}.markdownToolbar button:disabled{opacity:.55;cursor:wait}.markdownWorkArea{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:18px;align-items:start}.markdownPreview{min-height:388px;border:1px solid #d6dee9;border-radius:12px;background:#fff;overflow:hidden}.markdownPreview>span{display:block;border-bottom:1px solid #e6ebf2;padding:12px 14px;color:#526174;font-size:13px;font-weight:850}.markdownPreview article{padding:18px 20px 24px;color:#243247;font-size:16px;line-height:1.85}.markdownPreview h1,.markdownPreview h2,.markdownPreview h3,.markdownPreview p,.markdownPreview blockquote,.markdownPreview ul{margin:0 0 16px}.markdownPreview h1{font-size:26px;line-height:1.35}.markdownPreview h2{font-size:21px;line-height:1.45}.markdownPreview h3{font-size:18px;line-height:1.5}.markdownPreview blockquote{border-left:3px solid #1677ff;background:#f5f9ff;padding:12px 14px;color:#344257}.markdownPreview ul{padding-left:22px}.markdownPreview code{border-radius:5px;background:#eef2f7;padding:2px 5px;font-size:.9em}.markdownPreview img{display:block;max-width:100%;margin:18px 0;border-radius:12px;border:1px solid #e3e9f1}.previewEmpty{color:#7b8798}.editorActions{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px -30px -28px;padding:14px 30px;border-top:1px solid #e6ebf2;background:#fffffff5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.editorActions .ghostButton,.editorActions .primaryButton,.editorActions .dangerButton{flex:0 0 auto}.editorActionState{margin-right:auto;display:grid;gap:3px}.editorActionState span{color:#7b8798;font-size:12px;font-weight:750}.editorActionState strong{color:#182337;font-size:14px;font-weight:850}.hiddenFile{display:none}.eventsTable th:first-child,.eventsTable td:first-child{width:190px}.eventsTable th:nth-child(2),.eventsTable td:nth-child(2){width:180px}.eventsTable th:nth-child(3),.eventsTable td:nth-child(3){min-width:320px}.eventSummary{color:#182337!important;font-weight:760!important;line-height:1.55}button,input,select,textarea{font:inherit}.adminShell{grid-template-columns:248px 1fr}.sidebar{padding:24px 16px;gap:24px}.brandMark{width:40px;height:40px;border-radius:10px}.brand strong{font-size:19px;font-weight:760}.brand span{font-size:12px;font-weight:560}nav button{padding:12px 22px;border-radius:8px;font-size:15px;font-weight:650}.topbar{height:68px;padding:0 34px}.topbar h1{font-size:23px;font-weight:720}.pageStack{padding:32px 34px;gap:20px}.pageTitle h1{margin-top:5px;font-size:25px;font-weight:720}.pageTitle span{font-size:12px;font-weight:650}.statCard,.panel,.toolbarPanel{border-color:#e2e8f0;border-radius:12px;box-shadow:0 8px 18px #0f172a0d}.statCard{min-height:118px;padding:22px 24px}.statCard p{font-size:15px;font-weight:680}.statCard strong{margin-top:16px;font-size:32px;font-weight:720}.panel{padding:22px 24px}.toolbarPanel{padding:16px 18px;gap:14px}.toolbarPanel label,.editForm label,.editorPanel label{gap:6px;font-size:12px;font-weight:680}.toolbarPanel input,.toolbarPanel select,.editForm input,.editForm select,.editorPanel input,.editorPanel select,.editorPanel textarea{height:38px;border-radius:8px;font-size:14px}.adminTable th,.adminTable td{padding:13px 12px}.adminTable th{font-size:12px;font-weight:700}.adminTable td{font-size:14px;font-weight:560}.userIdentityCell strong,.lastEventCell strong,.eventPersonCell strong{font-size:14px;font-weight:680}.status,.roleBadge,.tableAction{font-weight:680}.tableAction{border-radius:8px;padding:7px 12px}.contentLayout{grid-template-columns:minmax(320px,380px) minmax(0,1fr)}.contentListPanel{max-height:calc(100vh - 216px);padding:0;overflow:auto}.contentListItem{padding:16px 18px}.contentListItem strong{font-size:15px;font-weight:680}.contentListItem p{font-size:13px;line-height:1.55}.editorPanel{gap:14px}.editorMeta{padding:13px 15px;border-radius:10px}.editorMeta strong{font-size:16px;font-weight:680}.optionLine{padding:11px 13px;border-radius:10px}.optionLine span{font-size:13px;font-weight:680}.markdownWorkArea{grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:14px}.markdownEditor{min-height:300px;font-size:14px;line-height:1.65}.markdownPreview{min-height:368px}.markdownPreview article{font-size:14px;line-height:1.75}.markdownPreview h1{font-size:22px}.markdownPreview h2{font-size:18px}.markdownPreview h3{font-size:16px}.editorActions{margin:2px -24px -22px;padding:12px 24px}.modalPanel{width:min(680px,calc(100vw - 72px));border-radius:14px;padding:22px 24px 24px}.modalHeader h2{font-size:21px;font-weight:720}.memberSnapshot div{grid-template-columns:76px 1fr;padding:11px 12px}.modalAudit{margin-top:18px;padding-top:18px}
