/* PCMS 经典后台样式 */
html, body { margin: 0; padding: 0; height: 100%; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f0f2f5; }
#app { height: 100%; }

/* 登录页 */
.login-wrap { height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #001529 0%, #0a3d62 100%); }
.login-card { width: 380px; background: #fff; border-radius: 8px; padding: 36px 32px; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.login-title { text-align: center; font-size: 22px; font-weight: 700; color: #001529; margin-bottom: 6px; }
.login-sub { text-align: center; color: #8c8c8c; font-size: 13px; margin-bottom: 26px; }

/* 布局 */
.layout { display: flex; height: 100vh; }
.aside { width: 210px; background: #001529; flex: none; display: flex; flex-direction: column; }
.aside-logo { height: 56px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 2px; background: rgba(255,255,255,.05); }
.aside-logo span { color: #409eff; }
.aside .el-menu { border-right: 0; flex: 1; }
.main-area { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar { height: 56px; background: #fff; border-bottom: 1px solid #e8e8e8; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.topbar-left { display: flex; align-items: center; gap: 12px; color: #595959; font-size: 14px; }
.content { flex: 1; overflow: auto; padding: 16px 20px; }

/* 仪表盘 */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card { background: #fff; border-radius: 8px; padding: 16px 18px; border: 1px solid #f0f0f0; }
.stat-num { font-size: 26px; font-weight: 700; color: #001529; }
.stat-label { color: #8c8c8c; font-size: 13px; margin-top: 4px; }

/* 通用 */
.panel { background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; padding: 16px; margin-bottom: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.panel-title { font-size: 15px; font-weight: 600; color: #262626; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }

/* wangEditor */
.editor-box { border: 1px solid #dcdfe6; border-radius: 4px; overflow: hidden; }
.editor-toolbar { border-bottom: 1px solid #e8e8e8; background: #fafafa; }
.editor-content { min-height: 320px; max-height: 480px; overflow: auto; }
.editor-content p { margin: 0 0 8px; }

/* 站点设置导航编辑 */
.nav-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.nav-row .el-input { flex: 1; }
