*{margin:0;padding:0;box-sizing:border-box}html,body,#app{height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.admin-layout{height:100%;display:flex}.admin-sider{height:100%;background:#001529}.admin-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.admin-header{height:60px;background:#fff;border-bottom:1px solid #e8e8e8;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.admin-main{flex:1;overflow:auto;padding:24px;background:#f5f7f9}.page-header{margin-bottom:24px}.page-header h1{font-size:24px;font-weight:600;color:#333;margin-bottom:8px}.page-header .page-desc{color:#666;font-size:14px}.content-card{background:#fff;border-radius:8px;padding:24px;margin-bottom:24px}.content-card .card-title{font-size:16px;font-weight:600;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #e8e8e8}.table-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.table-actions .left,.table-actions .right{display:flex;gap:12px}.form-item-row{display:flex;gap:24px}.form-item-row .n-form-item{flex:1}.editor-container{border:1px solid #e8e8e8;border-radius:4px}.editor-container .editor-toolbar{border-bottom:1px solid #e8e8e8;padding:8px;display:flex;gap:4px;flex-wrap:wrap}.editor-container .editor-toolbar button{padding:4px 8px;border:none;background:transparent;cursor:pointer;border-radius:4px}.editor-container .editor-toolbar button:hover{background:#f0f0f0}.editor-container .editor-toolbar button.is-active{background:#e6f7ff;color:#1890ff}.editor-container .editor-content{padding:16px;min-height:300px}.editor-container .editor-content .ProseMirror{outline:none;min-height:280px}.editor-container .editor-content .ProseMirror p{margin-bottom:8px}.editor-container .editor-content .ProseMirror h1,.editor-container .editor-content .ProseMirror h2,.editor-container .editor-content .ProseMirror h3,.editor-container .editor-content .ProseMirror h4{margin:16px 0 8px}.editor-container .editor-content .ProseMirror ul,.editor-container .editor-content .ProseMirror ol{padding-left:24px;margin-bottom:8px}.editor-container .editor-content .ProseMirror code{background:#f5f5f5;padding:2px 4px;border-radius:4px;font-family:monospace}.editor-container .editor-content .ProseMirror pre{background:#1e1e1e;color:#d4d4d4;padding:16px;border-radius:4px;overflow-x:auto}.editor-container .editor-content .ProseMirror pre code{background:none;padding:0}.editor-container .editor-content .ProseMirror blockquote{border-left:4px solid #e8e8e8;padding-left:16px;margin:16px 0;color:#666}.editor-container .editor-content .ProseMirror img{max-width:100%;height:auto}.editor-container .editor-content .ProseMirror a{color:#1890ff;text-decoration:none}.editor-container .editor-content .ProseMirror a:hover{text-decoration:underline}.editor-container .editor-content .ProseMirror .ProseMirror-placeholder{color:#aaa;pointer-events:none}.logo{height:60px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:600;border-bottom:1px solid rgba(255,255,255,.1)}.logo img{height:32px;margin-right:8px}.stat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:24px}@media (max-width: 1200px){.stat-cards{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.stat-cards{grid-template-columns:1fr}}.stat-card{background:#fff;border-radius:8px;padding:24px}.stat-card .stat-title{font-size:14px;color:#666;margin-bottom:8px}.stat-card .stat-value{font-size:32px;font-weight:600;color:#333}.stat-card .stat-change{font-size:12px;color:#52c41a;margin-top:8px}.stat-card .stat-change.down{color:#f5222d}.sortable-item{cursor:move}.sortable-item.sortable-ghost{opacity:.5}.preview-mode-switch{display:flex;gap:8px;margin-bottom:16px}.preview-mode-switch button{padding:8px 16px;border:1px solid #e8e8e8;background:#fff;cursor:pointer;border-radius:4px}.preview-mode-switch button.active{background:#1890ff;color:#fff;border-color:#1890ff}
