*{box-sizing:border-box}
:root{--bg:#f3f0ea;--panel:#fffdf8;--ink:#202633;--muted:#7a8190;--line:#e7dfd2;--dark:#151b26;--dark2:#1d2634;--gold:#b9965a;--blue:#253b5b;--green:#496a63;--shadow:0 18px 45px rgba(35,40,52,.08)}
body{margin:0;font-family:"Microsoft YaHei",Arial,sans-serif;background:radial-gradient(circle at top left,#fbf7ef 0,#f3f0ea 34%,#eef1f4 100%);color:var(--ink);font-size:14px}
a{text-decoration:none;color:inherit}.admin-shell{min-height:100vh;display:grid;grid-template-columns:268px 1fr}.sidebar{background:linear-gradient(180deg,#141b27,#202a39);color:#dfe6f1;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;border-right:1px solid rgba(255,255,255,.08)}
.brand{height:86px;display:flex;align-items:center;gap:13px;padding:0 24px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#b9965a,#486b78);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;box-shadow:0 12px 28px rgba(0,0,0,.2)}.brand strong{display:block;color:#fff;font-size:17px;letter-spacing:.5px}.brand span{display:block;color:#9da9bb;font-size:12px;margin-top:3px}.side-nav{padding:18px 14px;display:grid;gap:5px;overflow:auto}.side-nav a{padding:12px 14px;border-radius:12px;color:#cbd5e1;font-size:14px;border:1px solid transparent}.side-nav a:hover,.side-nav a.active{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(185,150,90,.28)}.side-footer{margin-top:auto;padding:18px 24px;border-top:1px solid rgba(255,255,255,.08)}.side-footer a{color:#e6c98d}.main{min-width:0}.topbar-admin{height:86px;background:rgba(255,253,248,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:5}.topbar-admin h1{font-size:23px;margin:0 0 5px;color:#202633;letter-spacing:.3px}.topbar-admin p{margin:0;color:#858b97;font-size:13px}.content{padding:30px;max-width:1320px}.card{background:rgba(255,253,248,.94);border:1px solid var(--line);border-radius:22px;padding:24px;margin-bottom:24px;box-shadow:var(--shadow)}.card h2{margin:0 0 16px;font-size:18px;color:#222936}.card h2:after{content:"";display:block;width:42px;height:3px;background:linear-gradient(90deg,var(--gold),transparent);border-radius:9px;margin-top:9px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px}.stat{background:linear-gradient(135deg,#fffdf8,#f4efe5);border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 12px 28px rgba(35,40,52,.05)}.stat strong{display:block;font-size:32px;color:#22324c}.stat span{display:block;margin-top:8px;color:#818896}table{width:100%;border-collapse:separate;border-spacing:0 10px}th{font-size:12px;color:#777f8e;text-align:left;font-weight:600;padding:0 12px 4px}td{background:#fff;padding:14px 12px;border-top:1px solid #eee7dc;border-bottom:1px solid #eee7dc}td:first-child{border-left:1px solid #eee7dc;border-radius:13px 0 0 13px}td:last-child{border-right:1px solid #eee7dc;border-radius:0 13px 13px 0}.btn,button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:12px;background:linear-gradient(135deg,#253b5b,#496a63);color:#fff;padding:10px 16px;cursor:pointer;font-size:14px;box-shadow:0 10px 20px rgba(37,59,91,.14)}.btn.small{padding:7px 11px;border-radius:10px;font-size:12px}.btn.ghost{background:#fff;color:#2b3445;border:1px solid var(--line);box-shadow:none}button:hover,.btn:hover{filter:brightness(.98);transform:translateY(-1px)}input,select,textarea{width:100%;border:1px solid #ddd5c8;background:#fffdf9;border-radius:13px;padding:12px 13px;color:#202633;outline:none;font-family:inherit}input:focus,select:focus,textarea:focus{border-color:#b9965a;box-shadow:0 0 0 4px rgba(185,150,90,.12)}textarea{min-height:420px;line-height:1.75}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.form-grid.two{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}label{display:block;color:#5f6674;font-size:13px;margin-bottom:13px}label input,label select,label textarea{margin-top:7px}.notice,.error{border-radius:16px;padding:14px 16px;margin-bottom:18px}.notice{background:#edf7f1;color:#286349;border:1px solid #cfe8d7}.error{background:#fff0ed;color:#9d2d20;border:1px solid #f1cec7}.help{color:#7b8391;line-height:1.8}.asset-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:16px}.asset-picker label{border:1px solid var(--line);border-radius:16px;background:#fff;padding:10px;margin:0;cursor:pointer;transition:.18s}.asset-picker label:hover{border-color:#b9965a;box-shadow:0 10px 26px rgba(35,40,52,.08)}.asset-picker input{width:auto;margin:0 0 8px}.asset-picker img{width:100%;height:82px;object-fit:cover;border-radius:12px;background:#f3f0ea}.asset-picker span{display:block;margin-top:7px;color:#687080;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}code{background:#f1eadf;border:1px solid #e4d8c8;border-radius:7px;padding:2px 6px;color:#7a5722}@media(max-width:900px){.admin-shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.side-nav{grid-template-columns:repeat(2,1fr)}.topbar-admin{position:relative}.content{padding:18px}}

/* 登录页：独立修复，避免只加载后台通用样式导致页面不居中/表单错位 */
.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px;background:radial-gradient(circle at 18% 12%,rgba(185,150,90,.18),transparent 28%),linear-gradient(135deg,#111827,#202a39 48%,#f3f0ea 48.2%,#fbf7ef);}
.login-card{width:min(430px,100%);background:rgba(255,253,248,.96);border:1px solid rgba(231,223,210,.95);border-radius:28px;padding:34px 32px;box-shadow:0 28px 70px rgba(15,23,42,.22);}
.login-card h1{margin:0 0 9px;font-size:27px;color:#1f2937;letter-spacing:.5px}
.login-card>p{margin:0 0 24px;color:#747b88;line-height:1.7}
.login-card form{display:grid;gap:12px}
.login-card label{margin:4px 0 -5px;color:#4b5563;font-weight:600}
.login-card input{height:46px;background:#fff;border-color:#ddd5c8}
.login-card button{width:100%;height:46px;margin-top:4px;font-weight:700;letter-spacing:.5px}
.captcha-row{display:grid;grid-template-columns:1fr 118px;gap:10px;align-items:center}
.captcha-box{height:46px;border:1px solid #ddd5c8;border-radius:13px;background:#f6efe4;color:#6f4f20;display:flex;align-items:center;justify-content:center;font-weight:800;letter-spacing:.4px;white-space:nowrap}
.login-card code{font-size:12px}
@media(max-width:520px){.login-page{padding:18px;background:linear-gradient(180deg,#141b27 0,#202a39 180px,#f3f0ea 180px,#fbf7ef 100%)}.login-card{padding:28px 22px;border-radius:22px}.captcha-row{grid-template-columns:1fr}.captcha-box{width:100%}}
.btn.danger,button.danger{background:linear-gradient(135deg,#8b2f2f,#5f2525);box-shadow:0 10px 20px rgba(139,47,47,.14)}
.admin-confirm-mask{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(15,23,42,.42);backdrop-filter:blur(3px)}
.admin-confirm-mask[hidden]{display:none}
.admin-confirm-dialog{width:min(420px,calc(100vw - 44px));border:1px solid var(--ui-border,#d7e3f0);border-radius:18px;background:var(--ui-panel,#fff);box-shadow:0 26px 80px rgba(15,23,42,.26);padding:22px}
.admin-confirm-dialog h3{margin:0 0 8px;font-size:18px;color:var(--ui-text,#111827)}
.admin-confirm-dialog p{margin:0;color:var(--ui-muted,#64748b);line-height:1.7}
.admin-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.oplog-time{width:180px;min-width:180px;white-space:nowrap}

/* 2026-05：域名配置大数据维护增强 */
.search-bar{background:linear-gradient(135deg,#fffdf8,#f6f0e8);border:1px solid var(--line);border-radius:18px;padding:18px;margin:8px 0 18px}.table-meta{display:inline-flex;align-items:center;margin:8px 0 12px;padding:8px 12px;border-radius:999px;background:#f5efe6;border:1px solid #e5d9c9;color:#6b5a43;font-size:13px}.pager{display:flex;gap:10px;align-items:center;margin-top:14px}.btn.danger,button.danger{background:linear-gradient(135deg,#8a352d,#b25042);box-shadow:0 10px 20px rgba(138,53,45,.12)}td input[type="checkbox"],th input[type="checkbox"]{width:auto;box-shadow:none}.config-form .btn.ghost{margin-left:8px}@media(max-width:1000px){table{display:block;overflow-x:auto;white-space:nowrap}.search-bar .form-grid{grid-template-columns:1fr}}

/* 2026-05 修正：恢复上一版低调配色，并修复表格操作按钮与推送中心勾选错位 */
.btn.danger,button.danger{background:linear-gradient(135deg,#8b2f2f,#5f2525);box-shadow:0 10px 20px rgba(139,47,47,.14)}
.search-bar{background:linear-gradient(135deg,#fffdf8,#f4efe5);border:1px solid var(--line);border-radius:18px;padding:18px;margin:8px 0 18px}
.table-meta{display:inline-flex;align-items:center;margin:8px 0 12px;padding:8px 12px;border-radius:999px;background:#f1eadf;border:1px solid #e4d8c8;color:#6b5a43;font-size:13px}
.actions-cell{white-space:nowrap;min-width:120px}.row-actions{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.row-actions form{display:inline-flex;margin:0}.row-actions .btn,.row-actions button{white-space:nowrap;flex:0 0 auto}
.switch-grid{display:grid;gap:14px;margin:12px 0 18px}.switch-grid.two{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.switch-card{display:grid;grid-template-columns:22px 1fr;align-items:start;column-gap:10px;margin:0;padding:15px 16px;border:1px solid var(--line);border-radius:16px;background:#fffdf8;color:#3f4653}.switch-card input[type="checkbox"]{width:16px;height:16px;margin:2px 0 0;box-shadow:none;accent-color:#253b5b}.switch-card span{font-weight:700;color:#232b3a;line-height:1.3}.switch-card em{grid-column:2;display:block;margin-top:5px;font-style:normal;color:#7b8391;font-size:12px;line-height:1.65}.engine-checks{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 18px}.engine-checks label{display:inline-flex;align-items:center;gap:7px;margin:0;padding:3px 8px;border:1px solid var(--line);border-radius:8px;background:#fffdf8;color:#3f4653}.engine-checks input[type="checkbox"]{width:15px;height:15px;margin:0;box-shadow:none;accent-color:#253b5b}.form-section{border:1px solid var(--line);border-radius:18px;background:#fffdf8;padding:18px;margin:14px 0}.section-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.section-title>span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:28px;border-radius:999px;background:#f1eadf;color:#7a5722;font-size:12px;font-weight:800}.section-title h3{margin:0 0 4px;font-size:15px;color:#202633}.section-title p{margin:0;color:#7b8391;font-size:12px;line-height:1.6}

.topbar-account{display:flex;align-items:center;gap:10px;color:#6b7280}.topbar-account span{font-size:12px}.topbar-account strong{padding:8px 12px;border-radius:999px;background:#f1eadf;border:1px solid #e4d8c8;color:#22324c}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:8px 0 18px}.info-grid>div{border:1px solid var(--line);border-radius:17px;background:linear-gradient(135deg,#fffdf8,#f6f0e8);padding:15px 16px}.info-grid span{display:block;color:#7b8391;font-size:12px;margin-bottom:7px}.info-grid strong{display:block;color:#202633;font-size:15px;word-break:break-all}.register-card{width:min(520px,100%)}.register-card form{gap:10px}.login-card .btn.ghost{box-shadow:none}
.success{border-radius:16px;padding:14px 16px;margin-bottom:18px;background:#edf7f1;color:#286349;border:1px solid #cfe8d7}.toolbar.line-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}

/* 2026-05 客户端后台 UI 风格切换：仅作用于后台界面，不影响前台项目主题 */
.ui-theme-form{margin:0;display:flex;align-items:center}.ui-theme-form label{margin:0;display:flex;align-items:center;gap:8px;color:#687080;font-size:12px}.ui-theme-form select{width:112px;height:34px;padding:0 9px;border-radius:999px;font-size:12px;background:#fff;box-shadow:none}.license-key-input{height:86px!important;min-height:86px!important;line-height:1.55;resize:vertical}.kv-table{border-spacing:0 9px}.kv-table th:first-child,.kv-table td:first-child{width:180px;min-width:180px}.kv-table th,.kv-table td{padding-left:18px;padding-right:18px}.kv-table td:first-child{color:#5f6674;font-weight:700}.kv-table td:last-child{word-break:break-all}.muted{color:#8a919d!important}

body.admin-ui-business-clean{--bg:#f6f8fb;--line:#e5e9f0;--gold:#2f6fdf;background:#f6f8fb}body.admin-ui-business-clean .sidebar{background:linear-gradient(180deg,#172033,#24324a)}body.admin-ui-business-clean .topbar-admin,body.admin-ui-business-clean .card{background:rgba(255,255,255,.96)}body.admin-ui-business-clean .card h2:after{background:linear-gradient(90deg,#2f6fdf,transparent)}body.admin-ui-business-clean .stat{background:linear-gradient(135deg,#fff,#eef5ff)}body.admin-ui-business-clean .btn,body.admin-ui-business-clean button{background:linear-gradient(135deg,#2563eb,#334155)}body.admin-ui-business-clean .btn.ghost{background:#fff;color:#263247}

body.admin-ui-premium-gray{--bg:#f2f2f0;--line:#deddd8;--gold:#8a8174;background:#f2f2f0}body.admin-ui-premium-gray .sidebar{background:linear-gradient(180deg,#242424,#3b3b3b)}body.admin-ui-premium-gray .brand-logo{background:linear-gradient(135deg,#555,#9a948a)}body.admin-ui-premium-gray .topbar-admin,body.admin-ui-premium-gray .card{background:rgba(250,250,248,.96)}body.admin-ui-premium-gray .card h2:after{background:linear-gradient(90deg,#8a8174,transparent)}body.admin-ui-premium-gray .stat{background:linear-gradient(135deg,#fff,#eeeeeb)}body.admin-ui-premium-gray .btn,body.admin-ui-premium-gray button{background:linear-gradient(135deg,#3f3f46,#737373)}body.admin-ui-premium-gray code,body.admin-ui-premium-gray .topbar-account strong{background:#ece9e3;border-color:#ddd8cf;color:#2f2f2f}

body.admin-ui-blue-white-gray{--bg:#f4f7fb;--line:#dfe7f1;--gold:#3b82f6;background:#f4f7fb}body.admin-ui-blue-white-gray .sidebar{background:linear-gradient(180deg,#0f2747,#1d4f86)}body.admin-ui-blue-white-gray .brand-logo{background:linear-gradient(135deg,#3b82f6,#94a3b8)}body.admin-ui-blue-white-gray .topbar-admin,body.admin-ui-blue-white-gray .card{background:rgba(255,255,255,.97)}body.admin-ui-blue-white-gray .card h2:after{background:linear-gradient(90deg,#60a5fa,transparent)}body.admin-ui-blue-white-gray .stat{background:linear-gradient(135deg,#fff,#edf6ff)}body.admin-ui-blue-white-gray .btn,body.admin-ui-blue-white-gray button{background:linear-gradient(135deg,#1d4ed8,#64748b)}body.admin-ui-blue-white-gray .side-nav a:hover,body.admin-ui-blue-white-gray .side-nav a.active{border-color:rgba(147,197,253,.35)}

/* 2026-05 后台 UI 风格修正：三套风格只作用于客户端后台，采用纯色块；按钮取消渐变，减少模板感 */
body.admin-ui-business-clean{--bg:#f5f7fb;--line:#d9e1ec;--gold:#1f6feb;background:#f5f7fb;color:#172033}
body.admin-ui-business-clean .sidebar{background:#111827;color:#dbe5f0;border-right:0}
body.admin-ui-business-clean .brand-logo{background:#1f6feb;box-shadow:none}
body.admin-ui-business-clean .topbar-admin,body.admin-ui-business-clean .card{background:#fff;border-color:#d9e1ec;box-shadow:0 10px 30px rgba(15,23,42,.06)}
body.admin-ui-business-clean .card h2:after{background:#1f6feb}
body.admin-ui-business-clean .stat,body.admin-ui-business-clean .info-grid>div{background:#fff;border-color:#d9e1ec;box-shadow:none}
body.admin-ui-business-clean .btn,body.admin-ui-business-clean button{background:#1f6feb;color:#fff;box-shadow:none}
body.admin-ui-business-clean .btn:hover,body.admin-ui-business-clean button:hover{background:#1558c7;filter:none}
body.admin-ui-business-clean .btn.ghost{background:#fff;color:#172033;border:1px solid #d9e1ec}
body.admin-ui-business-clean .btn.danger,body.admin-ui-business-clean button.danger{background:#b42318;color:#fff;box-shadow:none}
body.admin-ui-business-clean .side-nav a:hover,body.admin-ui-business-clean .side-nav a.active{background:#1f2937;border-color:#334155;color:#fff}
body.admin-ui-business-clean input:focus,body.admin-ui-business-clean select:focus,body.admin-ui-business-clean textarea:focus{border-color:#1f6feb;box-shadow:0 0 0 3px rgba(31,111,235,.12)}

body.admin-ui-premium-gray{--bg:#f3f3f1;--line:#d8d8d3;--gold:#525252;background:#f3f3f1;color:#222}
body.admin-ui-premium-gray .sidebar{background:#262626;color:#e5e5e5;border-right:0}
body.admin-ui-premium-gray .brand-logo{background:#525252;box-shadow:none}
body.admin-ui-premium-gray .topbar-admin,body.admin-ui-premium-gray .card{background:#fff;border-color:#d8d8d3;box-shadow:0 10px 30px rgba(38,38,38,.06)}
body.admin-ui-premium-gray .card h2:after{background:#525252}
body.admin-ui-premium-gray .stat,body.admin-ui-premium-gray .info-grid>div{background:#fff;border-color:#d8d8d3;box-shadow:none}
body.admin-ui-premium-gray .btn,body.admin-ui-premium-gray button{background:#3f3f46;color:#fff;box-shadow:none}
body.admin-ui-premium-gray .btn:hover,body.admin-ui-premium-gray button:hover{background:#27272a;filter:none}
body.admin-ui-premium-gray .btn.ghost{background:#fff;color:#27272a;border:1px solid #d8d8d3}
body.admin-ui-premium-gray .btn.danger,body.admin-ui-premium-gray button.danger{background:#b42318;color:#fff;box-shadow:none}
body.admin-ui-premium-gray .side-nav a:hover,body.admin-ui-premium-gray .side-nav a.active{background:#404040;border-color:#525252;color:#fff}
body.admin-ui-premium-gray input:focus,body.admin-ui-premium-gray select:focus,body.admin-ui-premium-gray textarea:focus{border-color:#525252;box-shadow:0 0 0 3px rgba(82,82,82,.12)}

body.admin-ui-blue-white-gray{--bg:#f2f6fb;--line:#d7e3f0;--gold:#2563eb;background:#f2f6fb;color:#122033}
body.admin-ui-blue-white-gray .sidebar{background:#0b3a67;color:#e6eef8;border-right:0}
body.admin-ui-blue-white-gray .brand-logo{background:#2563eb;box-shadow:none}
body.admin-ui-blue-white-gray .topbar-admin,body.admin-ui-blue-white-gray .card{background:#fff;border-color:#d7e3f0;box-shadow:0 10px 30px rgba(11,58,103,.06)}
body.admin-ui-blue-white-gray .card h2:after{background:#2563eb}
body.admin-ui-blue-white-gray .stat,body.admin-ui-blue-white-gray .info-grid>div{background:#fff;border-color:#d7e3f0;box-shadow:none}
body.admin-ui-blue-white-gray .btn,body.admin-ui-blue-white-gray button{background:#2563eb;color:#fff;box-shadow:none}
body.admin-ui-blue-white-gray .btn:hover,body.admin-ui-blue-white-gray button:hover{background:#1d4ed8;filter:none}
body.admin-ui-blue-white-gray .btn.ghost{background:#fff;color:#122033;border:1px solid #d7e3f0}
body.admin-ui-blue-white-gray .btn.danger,body.admin-ui-blue-white-gray button.danger{background:#b42318;color:#fff;box-shadow:none}
body.admin-ui-blue-white-gray .side-nav a:hover,body.admin-ui-blue-white-gray .side-nav a.active{background:#124b80;border-color:#2b6fae;color:#fff}
body.admin-ui-blue-white-gray input:focus,body.admin-ui-blue-white-gray select:focus,body.admin-ui-blue-white-gray textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}

body.admin-ui-business-clean .search-bar,body.admin-ui-premium-gray .search-bar,body.admin-ui-blue-white-gray .search-bar,
body.admin-ui-business-clean .form-section,body.admin-ui-premium-gray .form-section,body.admin-ui-blue-white-gray .form-section,
body.admin-ui-business-clean .switch-card,body.admin-ui-premium-gray .switch-card,body.admin-ui-blue-white-gray .switch-card{background:#fff;box-shadow:none}
body.admin-ui-business-clean .btn,body.admin-ui-business-clean button,
body.admin-ui-premium-gray .btn,body.admin-ui-premium-gray button,
body.admin-ui-blue-white-gray .btn,body.admin-ui-blue-white-gray button{transition:background-color .15s ease,border-color .15s ease,transform .15s ease}

/* 2026-05 商业清爽后台风格：统一采用首页用户信息卡片的背景色与边框 */
body.admin-ui-business-clean{
  --bg:#f3f0ea;
  --panel:#fffdf8;
  --panel-soft:#f6f0e8;
  --line:#e7dfd2;
  --gold:#253b5b;
  background:#f3f0ea;
  color:#202633;
}
body.admin-ui-business-clean .topbar-admin,
body.admin-ui-business-clean .card,
body.admin-ui-business-clean .stat,
body.admin-ui-business-clean .info-grid>div,
body.admin-ui-business-clean .search-bar,
body.admin-ui-business-clean .form-section,
body.admin-ui-business-clean .switch-card,
body.admin-ui-business-clean .asset-picker label{
  background:#fffdf8;
  border-color:#e7dfd2;
  box-shadow:none;
}
body.admin-ui-business-clean td{
  background:#fffdf8;
  border-top-color:#e7dfd2;
  border-bottom-color:#e7dfd2;
}
body.admin-ui-business-clean td:first-child{border-left-color:#e7dfd2}
body.admin-ui-business-clean td:last-child{border-right-color:#e7dfd2}
body.admin-ui-business-clean input,
body.admin-ui-business-clean select,
body.admin-ui-business-clean textarea{
  background:#fffdf9;
  border-color:#ddd5c8;
  color:#202633;
}
body.admin-ui-business-clean .topbar-account strong,
body.admin-ui-business-clean code,
body.admin-ui-business-clean .table-meta,
body.admin-ui-business-clean .section-title>span{
  background:#f1eadf;
  border-color:#e4d8c8;
  color:#22324c;
}
body.admin-ui-business-clean .card h2:after{background:#253b5b}
body.admin-ui-business-clean .btn,
body.admin-ui-business-clean button{
  background:#253b5b;
  color:#fff;
  box-shadow:none;
}
body.admin-ui-business-clean .btn:hover,
body.admin-ui-business-clean button:hover{background:#1d2f49;filter:none}
body.admin-ui-business-clean .btn.ghost{
  background:#fffdf8;
  color:#253b5b;
  border:1px solid #e7dfd2;
}
body.admin-ui-business-clean .btn.danger,
body.admin-ui-business-clean button.danger{background:#9f2f26;color:#fff}
body.admin-ui-business-clean input:focus,
body.admin-ui-business-clean select:focus,
body.admin-ui-business-clean textarea:focus{
  border-color:#253b5b;
  box-shadow:0 0 0 3px rgba(37,59,91,.12);
}

/* 2026-05 精确修正：商业清爽后台 UI 除左侧菜单以外，内容区域统一白底 + #d7e3f0 边框 */
body.admin-ui-business-clean{
  --bg:#f6f8fb;
  --panel:#fff;
  --line:#d7e3f0;
  background:#f6f8fb;
  color:#202633;
}
body.admin-ui-business-clean .main,
body.admin-ui-business-clean .content{
  background:#f6f8fb;
}
body.admin-ui-business-clean .topbar-admin,
body.admin-ui-business-clean .card,
body.admin-ui-business-clean .stat,
body.admin-ui-business-clean .info-grid>div,
body.admin-ui-business-clean .search-bar,
body.admin-ui-business-clean .form-section,
body.admin-ui-business-clean .switch-card,
body.admin-ui-business-clean .asset-picker label,
body.admin-ui-business-clean .table-meta,
body.admin-ui-business-clean .section-title>span,
body.admin-ui-business-clean .topbar-account strong,
body.admin-ui-business-clean code,
body.admin-ui-business-clean .notice,
body.admin-ui-business-clean .error{
  background:#fff;
  border-color:#d7e3f0;
  box-shadow:none;
}
body.admin-ui-business-clean td{
  background:#fff;
  border-top-color:#d7e3f0;
  border-bottom-color:#d7e3f0;
}
body.admin-ui-business-clean td:first-child{border-left-color:#d7e3f0}
body.admin-ui-business-clean td:last-child{border-right-color:#d7e3f0}
body.admin-ui-business-clean input,
body.admin-ui-business-clean select,
body.admin-ui-business-clean textarea{
  background:#fff;
  border-color:#d7e3f0;
}
body.admin-ui-business-clean .btn.ghost{
  background:#fff;
  border-color:#d7e3f0;
  color:#253b5b;
}
/* 左侧菜单、顶部品牌区域保持原有深色菜单风格，不套用白底 */


/* 2026-05 最终后台 UI 规范：企业蓝白灰 / 高级灰 / 深色夜间
   原则：纯色、低装饰、统一边框、统一圆角、弱阴影；仅作用于客户端后台。 */
body.admin-ui-business-clean,
body.admin-ui-premium-gray,
body.admin-ui-dark-night{
  font-family:"Microsoft YaHei",Arial,sans-serif;
  font-size:14px;
  color:var(--ui-text);
  background:var(--ui-bg);
}
body.admin-ui-business-clean{
  --ui-bg:#f5f7fb;
  --ui-panel:#ffffff;
  --ui-panel-soft:#f8fafc;
  --ui-border:#d7e3f0;
  --ui-text:#1f2937;
  --ui-muted:#6b7280;
  --ui-menu:#1e293b;
  --ui-menu-hover:#334155;
  --ui-primary:#2563eb;
  --ui-primary-hover:#1d4ed8;
  --ui-danger:#dc2626;
  --ui-danger-hover:#b91c1c;
  --ui-shadow:0 1px 2px rgba(15,23,42,.04);
}
body.admin-ui-premium-gray{
  --ui-bg:#f3f4f6;
  --ui-panel:#ffffff;
  --ui-panel-soft:#f9fafb;
  --ui-border:#e5e7eb;
  --ui-text:#1f2937;
  --ui-muted:#6b7280;
  --ui-menu:#111827;
  --ui-menu-hover:#374151;
  --ui-primary:#374151;
  --ui-primary-hover:#1f2937;
  --ui-danger:#dc2626;
  --ui-danger-hover:#b91c1c;
  --ui-shadow:0 1px 2px rgba(17,24,39,.045);
}
body.admin-ui-dark-night{
  --ui-bg:#0f172a;
  --ui-panel:#111827;
  --ui-panel-soft:#172033;
  --ui-border:#243244;
  --ui-text:#e5e7eb;
  --ui-muted:#9ca3af;
  --ui-menu:#020617;
  --ui-menu-hover:#1e293b;
  --ui-primary:#3b82f6;
  --ui-primary-hover:#2563eb;
  --ui-danger:#ef4444;
  --ui-danger-hover:#dc2626;
  --ui-shadow:none;
}
body.admin-ui-business-clean *,
body.admin-ui-premium-gray *,
body.admin-ui-dark-night *{box-shadow:none}
body.admin-ui-business-clean .admin-shell,
body.admin-ui-premium-gray .admin-shell,
body.admin-ui-dark-night .admin-shell{background:var(--ui-bg)}
body.admin-ui-business-clean .main,
body.admin-ui-business-clean .content,
body.admin-ui-premium-gray .main,
body.admin-ui-premium-gray .content,
body.admin-ui-dark-night .main,
body.admin-ui-dark-night .content{background:var(--ui-bg)}
body.admin-ui-business-clean .sidebar,
body.admin-ui-premium-gray .sidebar,
body.admin-ui-dark-night .sidebar{background:var(--ui-menu);border-right:1px solid rgba(255,255,255,.06);color:#d1d5db}
body.admin-ui-business-clean .brand,
body.admin-ui-premium-gray .brand,
body.admin-ui-dark-night .brand{height:78px;border-bottom:1px solid rgba(255,255,255,.08);padding:0 22px}
body.admin-ui-business-clean .brand-logo,
body.admin-ui-premium-gray .brand-logo,
body.admin-ui-dark-night .brand-logo{background:var(--ui-primary);border-radius:8px;box-shadow:none}
body.admin-ui-business-clean .side-nav a,
body.admin-ui-premium-gray .side-nav a,
body.admin-ui-dark-night .side-nav a{border-radius:8px;border:0;color:#cbd5e1;padding:11px 13px}
body.admin-ui-business-clean .side-nav a:hover,
body.admin-ui-business-clean .side-nav a.active,
body.admin-ui-premium-gray .side-nav a:hover,
body.admin-ui-premium-gray .side-nav a.active,
body.admin-ui-dark-night .side-nav a:hover,
body.admin-ui-dark-night .side-nav a.active{background:var(--ui-menu-hover);color:#fff;border:0}
body.admin-ui-business-clean .side-footer,
body.admin-ui-premium-gray .side-footer,
body.admin-ui-dark-night .side-footer{border-top:1px solid rgba(255,255,255,.08)}
body.admin-ui-business-clean .topbar-admin,
body.admin-ui-business-clean .card,
body.admin-ui-business-clean .stat,
body.admin-ui-business-clean .search-bar,
body.admin-ui-business-clean .form-section,
body.admin-ui-business-clean .switch-card,
body.admin-ui-business-clean .asset-picker label,
body.admin-ui-premium-gray .topbar-admin,
body.admin-ui-premium-gray .card,
body.admin-ui-premium-gray .stat,
body.admin-ui-premium-gray .search-bar,
body.admin-ui-premium-gray .form-section,
body.admin-ui-premium-gray .switch-card,
body.admin-ui-premium-gray .asset-picker label,
body.admin-ui-dark-night .topbar-admin,
body.admin-ui-dark-night .card,
body.admin-ui-dark-night .stat,
body.admin-ui-dark-night .search-bar,
body.admin-ui-dark-night .form-section,
body.admin-ui-dark-night .switch-card,
body.admin-ui-dark-night .asset-picker label{background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:8px;color:var(--ui-text);box-shadow:var(--ui-shadow)}
body.admin-ui-business-clean .topbar-admin,
body.admin-ui-premium-gray .topbar-admin,
body.admin-ui-dark-night .topbar-admin{height:78px;border-width:0 0 1px 0;border-radius:0;backdrop-filter:none;padding:0 28px}
body.admin-ui-business-clean .content,
body.admin-ui-premium-gray .content,
body.admin-ui-dark-night .content{padding:24px;max-width:1320px}
body.admin-ui-business-clean .card,
body.admin-ui-premium-gray .card,
body.admin-ui-dark-night .card{padding:20px;margin-bottom:18px}
body.admin-ui-business-clean .card h2,
body.admin-ui-premium-gray .card h2,
body.admin-ui-dark-night .card h2{font-size:17px;color:var(--ui-text);margin-bottom:14px}
body.admin-ui-business-clean .card h2:after,
body.admin-ui-premium-gray .card h2:after,
body.admin-ui-dark-night .card h2:after{display:none}
body.admin-ui-business-clean .stat,
body.admin-ui-premium-gray .stat,
body.admin-ui-dark-night .stat{padding:18px}
body.admin-ui-business-clean .stat strong,
body.admin-ui-premium-gray .stat strong,
body.admin-ui-dark-night .stat strong{color:var(--ui-text);font-size:28px}
body.admin-ui-business-clean .stat span,
body.admin-ui-premium-gray .stat span,
body.admin-ui-dark-night .stat span,
body.admin-ui-business-clean .help,
body.admin-ui-premium-gray .help,
body.admin-ui-dark-night .help,
body.admin-ui-business-clean .topbar-admin p,
body.admin-ui-premium-gray .topbar-admin p,
body.admin-ui-dark-night .topbar-admin p{color:var(--ui-muted)}
body.admin-ui-business-clean input,
body.admin-ui-business-clean select,
body.admin-ui-business-clean textarea,
body.admin-ui-premium-gray input,
body.admin-ui-premium-gray select,
body.admin-ui-premium-gray textarea,
body.admin-ui-dark-night input,
body.admin-ui-dark-night select,
body.admin-ui-dark-night textarea{height:36px;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:6px;color:var(--ui-text);padding:8px 10px;box-shadow:none}
body.admin-ui-business-clean textarea,
body.admin-ui-premium-gray textarea,
body.admin-ui-dark-night textarea{height:auto;min-height:320px;line-height:1.7}
body.admin-ui-business-clean input:focus,
body.admin-ui-business-clean select:focus,
body.admin-ui-business-clean textarea:focus,
body.admin-ui-premium-gray input:focus,
body.admin-ui-premium-gray select:focus,
body.admin-ui-premium-gray textarea:focus,
body.admin-ui-dark-night input:focus,
body.admin-ui-dark-night select:focus,
body.admin-ui-dark-night textarea:focus{border-color:var(--ui-primary);box-shadow:0 0 0 3px rgba(37,99,235,.10)}
body.admin-ui-business-clean .btn,
body.admin-ui-business-clean button,
body.admin-ui-premium-gray .btn,
body.admin-ui-premium-gray button,
body.admin-ui-dark-night .btn,
body.admin-ui-dark-night button{background:var(--ui-primary);color:#fff;border:1px solid var(--ui-primary);border-radius:6px;padding:8px 14px;min-height:36px;box-shadow:none;filter:none;transform:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
body.admin-ui-business-clean .btn:hover,
body.admin-ui-business-clean button:hover,
body.admin-ui-premium-gray .btn:hover,
body.admin-ui-premium-gray button:hover,
body.admin-ui-dark-night .btn:hover,
body.admin-ui-dark-night button:hover{background:var(--ui-primary-hover);border-color:var(--ui-primary-hover);filter:none;transform:none}
body.admin-ui-business-clean .btn.small,
body.admin-ui-premium-gray .btn.small,
body.admin-ui-dark-night .btn.small{min-height:30px;padding:5px 10px;border-radius:6px}
body.admin-ui-business-clean .btn.ghost,
body.admin-ui-premium-gray .btn.ghost,
body.admin-ui-dark-night .btn.ghost{background:var(--ui-panel);color:var(--ui-text);border-color:var(--ui-border)}
body.admin-ui-business-clean .btn.ghost:hover,
body.admin-ui-premium-gray .btn.ghost:hover,
body.admin-ui-dark-night .btn.ghost:hover{background:var(--ui-panel-soft);border-color:var(--ui-border);color:var(--ui-text)}
body.admin-ui-business-clean .btn.danger,
body.admin-ui-business-clean button.danger,
body.admin-ui-premium-gray .btn.danger,
body.admin-ui-premium-gray button.danger,
body.admin-ui-dark-night .btn.danger,
body.admin-ui-dark-night button.danger{background:var(--ui-danger);border-color:var(--ui-danger);color:#fff}
body.admin-ui-business-clean .btn.danger:hover,
body.admin-ui-business-clean button.danger:hover,
body.admin-ui-premium-gray .btn.danger:hover,
body.admin-ui-premium-gray button.danger:hover,
body.admin-ui-dark-night .btn.danger:hover,
body.admin-ui-dark-night button.danger:hover{background:var(--ui-danger-hover);border-color:var(--ui-danger-hover)}
body.admin-ui-business-clean table,
body.admin-ui-premium-gray table,
body.admin-ui-dark-night table{border-collapse:collapse;border-spacing:0;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:8px;overflow:hidden}
body.admin-ui-business-clean th,
body.admin-ui-premium-gray th,
body.admin-ui-dark-night th{background:var(--ui-panel-soft);color:var(--ui-muted);padding:10px 12px;border-bottom:1px solid var(--ui-border)}
body.admin-ui-business-clean td,
body.admin-ui-premium-gray td,
body.admin-ui-dark-night td{background:var(--ui-panel);color:var(--ui-text);padding:12px;border:0;border-bottom:1px solid var(--ui-border)}
body.admin-ui-business-clean tr:last-child td,
body.admin-ui-premium-gray tr:last-child td,
body.admin-ui-dark-night tr:last-child td{border-bottom:0}
body.admin-ui-business-clean td:first-child,
body.admin-ui-business-clean td:last-child,
body.admin-ui-premium-gray td:first-child,
body.admin-ui-premium-gray td:last-child,
body.admin-ui-dark-night td:first-child,
body.admin-ui-dark-night td:last-child{border-left:0;border-right:0;border-radius:0}
body.admin-ui-business-clean .notice,
body.admin-ui-premium-gray .notice,
body.admin-ui-dark-night .notice{background:var(--ui-panel-soft);border:1px solid var(--ui-border);color:var(--ui-text);border-radius:8px}
body.admin-ui-business-clean .error,
body.admin-ui-premium-gray .error,
body.admin-ui-dark-night .error{background:var(--ui-panel-soft);border:1px solid var(--ui-danger);color:var(--ui-danger);border-radius:8px}
body.admin-ui-business-clean code,
body.admin-ui-business-clean .table-meta,
body.admin-ui-business-clean .section-title>span,
body.admin-ui-business-clean .topbar-account strong,
body.admin-ui-premium-gray code,
body.admin-ui-premium-gray .table-meta,
body.admin-ui-premium-gray .section-title>span,
body.admin-ui-premium-gray .topbar-account strong,
body.admin-ui-dark-night code,
body.admin-ui-dark-night .table-meta,
body.admin-ui-dark-night .section-title>span,
body.admin-ui-dark-night .topbar-account strong{background:var(--ui-panel-soft);border:1px solid var(--ui-border);color:var(--ui-text);border-radius:6px}
body.admin-ui-business-clean label,
body.admin-ui-premium-gray label,
body.admin-ui-dark-night label{color:var(--ui-muted)}
body.admin-ui-business-clean .section-title h3,
body.admin-ui-premium-gray .section-title h3,
body.admin-ui-dark-night .section-title h3,
body.admin-ui-business-clean .topbar-admin h1,
body.admin-ui-premium-gray .topbar-admin h1,
body.admin-ui-dark-night .topbar-admin h1{color:var(--ui-text)}
/* 兼容旧配置：如果旧配置仍写 blue-white-gray，则按深色夜间显示 */
body.admin-ui-blue-white-gray{--ui-bg:#0f172a;--ui-panel:#111827;--ui-panel-soft:#172033;--ui-border:#243244;--ui-text:#e5e7eb;--ui-muted:#9ca3af;--ui-menu:#020617;--ui-menu-hover:#1e293b;--ui-primary:#3b82f6;--ui-primary-hover:#2563eb;--ui-danger:#ef4444;--ui-danger-hover:#dc2626;--ui-shadow:none;background:var(--ui-bg);color:var(--ui-text)}
body.admin-ui-blue-white-gray .admin-shell,body.admin-ui-blue-white-gray .main,body.admin-ui-blue-white-gray .content{background:var(--ui-bg)}
body.admin-ui-blue-white-gray .sidebar{background:var(--ui-menu);border-right:1px solid rgba(255,255,255,.06);color:#d1d5db}

/* 2026-05 深色夜间细节修正：信息卡片降噪、推送开关文字提亮 */
body.admin-ui-dark-night .info-grid>div,
body.admin-ui-blue-white-gray .info-grid>div{
  background:#111827 !important;
  border-color:#243244 !important;
  color:#e5e7eb !important;
  box-shadow:none !important;
}
body.admin-ui-dark-night .info-grid span,
body.admin-ui-blue-white-gray .info-grid span{
  color:#cbd5e1 !important;
}
body.admin-ui-dark-night .info-grid strong,
body.admin-ui-blue-white-gray .info-grid strong{
  color:#ffffff !important;
}
body.admin-ui-dark-night .switch-card,
body.admin-ui-blue-white-gray .switch-card{
  background:#111827 !important;
  border-color:#243244 !important;
  color:#e5e7eb !important;
}
body.admin-ui-dark-night .switch-card span,
body.admin-ui-blue-white-gray .switch-card span{
  color:#ffffff !important;
}
body.admin-ui-dark-night .switch-card em,
body.admin-ui-blue-white-gray .switch-card em{
  color:#cbd5e1 !important;
}
body.admin-ui-dark-night .switch-card input[type="checkbox"],
body.admin-ui-blue-white-gray .switch-card input[type="checkbox"],
body.admin-ui-dark-night .engine-checks input[type="checkbox"],
body.admin-ui-blue-white-gray .engine-checks input[type="checkbox"]{
  accent-color:#3b82f6;
}
body.admin-ui-dark-night .engine-checks label,
body.admin-ui-blue-white-gray .engine-checks label{
  background:#111827 !important;
  border-color:#243244 !important;
  color:#f8fafc !important;
}
body.admin-ui-dark-night .engine-checks label:hover,
body.admin-ui-blue-white-gray .engine-checks label:hover{
  border-color:#3b82f6 !important;
}


/* 2026-05 站群友链规则勾选框：缩小尺寸，统一为后台轻量表单风格 */
.friend-rule-checks{
  display:flex;
  align-items:center;
  gap:10px 16px;
  flex-wrap:wrap;
  margin:10px 0 16px;
}
.friend-rule-checks label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:auto;
  margin:0;
  padding:6px 10px;
  border:1px solid var(--ui-border, #d7e3f0);
  border-radius:6px;
  background:var(--ui-panel, #fff);
  color:var(--ui-text, #202633);
  font-size:13px;
  line-height:1.2;
}
.friend-rule-checks input[type="checkbox"]{
  width:14px !important;
  height:14px !important;
  min-width:14px;
  margin:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  border-radius:3px;
  accent-color:var(--ui-primary, #2563eb);
}
.friend-rule-checks span{white-space:nowrap;}
body.admin-ui-dark-night .friend-rule-checks label,
body.admin-ui-blue-white-gray .friend-rule-checks label{
  background:#111827 !important;
  border-color:#243244 !important;
  color:#e5e7eb !important;
}

/* 2026-05 内容中心 UI 修正：发布范围/发布方式采用轻量卡片选择，避免 checkbox/radio 被全局 input 样式拉伸 */
.content-center-form .cc-form-section{
  border:1px solid var(--ui-border, #d7e3f0);
  background:var(--ui-panel, #fff);
  border-radius:8px;
  padding:16px;
  margin:0 0 16px;
}
.content-center-form .cc-form-section h3{
  margin:0 0 12px;
  font-size:15px;
  color:var(--ui-text, #1f2937);
  font-weight:600;
}
.cc-choice-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:10px;
  margin-bottom:14px;
}
.cc-choice-row-small{
  grid-template-columns:repeat(auto-fit,minmax(180px,260px));
}
.cc-choice-card{
  display:flex !important;
  align-items:flex-start;
  gap:9px;
  margin:0 !important;
  padding:12px;
  min-height:66px;
  border:1px solid var(--ui-border, #d7e3f0);
  border-radius:8px;
  background:var(--ui-panel-soft, #f8fafc);
  color:var(--ui-text, #1f2937) !important;
  cursor:pointer;
  transition:border-color .15s ease,background-color .15s ease;
}
.cc-choice-card:hover{
  border-color:var(--ui-primary, #2563eb);
}
.cc-choice-card input[type="radio"]{
  width:15px !important;
  height:15px !important;
  min-width:15px !important;
  margin:2px 0 0 !important;
  padding:0 !important;
  box-shadow:none !important;
  accent-color:var(--ui-primary, #2563eb);
}
.cc-choice-card span{
  display:block;
  color:var(--ui-text, #1f2937);
  font-size:14px;
  font-weight:600;
  line-height:1.35;
}
.cc-choice-card em{
  display:block;
  margin-top:4px;
  color:var(--ui-muted, #6b7280);
  font-size:12px;
  font-style:normal;
  font-weight:400;
  line-height:1.45;
}
.cc-choice-card:has(input:checked){
  border-color:var(--ui-primary, #2563eb);
  background:rgba(37,99,235,.06);
}
.cc-target-grid,
.cc-schedule-grid{
  margin-top:2px;
}
.cc-checkline{
  display:flex !important;
  align-items:center;
  gap:9px;
  min-height:36px;
  padding:8px 0 0;
  margin:0 !important;
  color:var(--ui-text, #1f2937) !important;
}
.cc-checkline input[type="checkbox"]{
  width:15px !important;
  height:15px !important;
  min-width:15px !important;
  margin:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  accent-color:var(--ui-primary, #2563eb);
}
.cc-checkline span{
  color:var(--ui-muted, #6b7280);
  font-size:13px;
  line-height:1.5;
}
.content-center-form input[type="datetime-local"]{
  cursor:pointer;
}
body.admin-ui-dark-night .content-center-form .cc-form-section,
body.admin-ui-blue-white-gray .content-center-form .cc-form-section,
body.admin-ui-dark-night .cc-choice-card,
body.admin-ui-blue-white-gray .cc-choice-card{
  background:#111827 !important;
  border-color:#243244 !important;
  color:#e5e7eb !important;
}
body.admin-ui-dark-night .cc-choice-card:has(input:checked),
body.admin-ui-blue-white-gray .cc-choice-card:has(input:checked){
  border-color:#3b82f6 !important;
  background:#172033 !important;
}
body.admin-ui-dark-night .cc-choice-card span,
body.admin-ui-blue-white-gray .cc-choice-card span{
  color:#f8fafc !important;
}
body.admin-ui-dark-night .cc-choice-card em,
body.admin-ui-blue-white-gray .cc-choice-card em,
body.admin-ui-dark-night .cc-checkline span,
body.admin-ui-blue-white-gray .cc-checkline span{
  color:#cbd5e1 !important;
}
@supports not selector(:has(*)){
  .cc-choice-card input:checked + span{color:var(--ui-primary, #2563eb)}
}
@media(max-width:700px){
  .cc-choice-row,.cc-choice-row-small{grid-template-columns:1fr}
}

/* 2026-05 内容中心 UI 二次优化：改为紧凑型选项按钮，避免大卡片比例不协调 */
.content-center-form .cc-form-section{
  padding:14px 14px 12px !important;
  margin:0 0 14px !important;
  border-radius:8px !important;
}
.content-center-form .cc-form-section h3{
  margin:0 0 10px !important;
  font-size:14px !important;
  line-height:1.3 !important;
}
.cc-choice-row,
.cc-choice-row-small{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 0 12px !important;
}
.cc-choice-card{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-width:118px !important;
  max-width:none !important;
  min-height:36px !important;
  padding:7px 11px !important;
  gap:7px !important;
  border-radius:6px !important;
  background:var(--ui-panel, #fff) !important;
  line-height:1 !important;
}
.cc-choice-card input[type="radio"]{
  width:13px !important;
  height:13px !important;
  min-width:13px !important;
  margin:0 !important;
}
.cc-choice-card span{
  display:inline-flex !important;
  align-items:center !important;
  white-space:nowrap !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1 !important;
}
.cc-choice-card em{
  display:none !important;
}
.cc-choice-card:hover,
.cc-choice-card:has(input:checked){
  border-color:var(--ui-primary, #2563eb) !important;
}
.cc-choice-card:has(input:checked){
  background:rgba(37,99,235,.08) !important;
  color:var(--ui-primary, #2563eb) !important;
}
.cc-choice-card:has(input:checked) span{
  color:var(--ui-primary, #2563eb) !important;
}
.cc-target-grid,
.cc-schedule-grid{
  margin-top:0 !important;
  gap:12px !important;
}
.cc-target-grid label,
.cc-schedule-grid label{
  margin-bottom:0 !important;
}
.cc-checkline{
  min-height:32px !important;
  padding:2px 0 0 !important;
  gap:7px !important;
}
.cc-checkline input[type="checkbox"]{
  width:13px !important;
  height:13px !important;
  min-width:13px !important;
}
.cc-checkline span{
  font-size:12px !important;
}
.content-center-form input[type="datetime-local"]{
  max-width:240px;
}
body.admin-ui-dark-night .cc-choice-card,
body.admin-ui-blue-white-gray .cc-choice-card{
  background:#111827 !important;
  border-color:#243244 !important;
}
body.admin-ui-dark-night .cc-choice-card:has(input:checked),
body.admin-ui-blue-white-gray .cc-choice-card:has(input:checked){
  background:#172033 !important;
  border-color:#3b82f6 !important;
}
body.admin-ui-dark-night .cc-choice-card:has(input:checked) span,
body.admin-ui-blue-white-gray .cc-choice-card:has(input:checked) span{
  color:#93c5fd !important;
}
@media(max-width:700px){
  .cc-choice-card{min-width:calc(50% - 4px) !important;}
}

/* 2026-05 菜单取消分组标识，保持按使用流程排序 */
.side-nav .side-group-title{display:none !important;}
.side-nav a{margin-top:4px;}

.domain-line-help{
  background:rgba(15,23,42,.035);
  border:1px dashed rgba(100,116,139,.35);
  border-radius:12px;
  padding:10px 12px;
  margin:8px 0 12px;
  color:#64748b;
  font-size:13px;
  line-height:1.7;
}
.domain-line-help code{background:rgba(15,23,42,.06);padding:2px 5px;border-radius:6px;}
.cache-ttl-box{display:flex;gap:10px;align-items:end;flex-wrap:wrap;}
.cache-ttl-box label{min-width:220px;}
.mvc-checklist{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:10px;}
.mvc-checklist .mini-card{border:1px solid rgba(148,163,184,.28);border-radius:12px;padding:12px;background:rgba(255,255,255,.65);}
.mvc-checklist .mini-card strong{display:block;margin-bottom:4px;color:#0f172a;}

/* 2026-05 内容中心完善：紧凑选项、编辑器、记录表 */
.small-textarea{min-height:80px !important;height:88px !important}
.content-record-table code{word-break:break-all;white-space:normal}
.muted{color:var(--ui-muted,#6b7280);font-size:12px}
.cc-editor{border:1px solid var(--ui-border,#d7e3f0);border-radius:14px;background:#fff;overflow:hidden;margin:8px 0 16px}
.cc-editor-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:10px;border-bottom:1px solid var(--ui-border,#d7e3f0);background:var(--ui-panel-soft,#f8fafc)}
.cc-editor-toolbar button{padding:6px 10px;border-radius:8px;font-size:12px;min-height:30px;box-shadow:none}
.cc-editor-toolbar button.active{background:var(--ui-primary,#2563eb);color:#fff}
.cc-editor-image-panel{display:inline-grid;grid-template-columns:190px auto auto;gap:6px;align-items:center;padding:5px;border:1px solid var(--ui-border,#d7e3f0);border-radius:10px;background:#fff}
.cc-editor-image-panel[hidden]{display:none}
.cc-editor-image-panel input{height:30px;margin:0;padding:5px 8px;border-radius:8px;font-size:12px}
.cc-editor-image-panel button{height:30px;min-height:30px;padding:0 10px}
.cc-editor-workspace{background:#fff}
.cc-editor-canvas{min-height:340px;padding:18px;outline:none;line-height:1.8;color:var(--ui-text,#1f2937)}
.cc-editor-canvas:empty:before{content:attr(data-placeholder);color:var(--ui-muted,#94a3b8)}
.cc-editor-canvas h2{font-size:22px;margin:18px 0 10px;color:var(--ui-text,#111827)}
.cc-editor-canvas h3{font-size:18px;margin:16px 0 8px;color:var(--ui-text,#111827)}
.cc-editor-canvas p{margin:0 0 12px}
.cc-editor-canvas ul,.cc-editor-canvas ol{padding-left:24px;margin:8px 0 14px}
.cc-editor-canvas blockquote{margin:12px 0;padding:10px 14px;border-left:4px solid var(--ui-primary,#2563eb);background:var(--ui-panel-soft,#f8fafc);color:var(--ui-text,#1f2937)}
.cc-editor-canvas img{max-width:100%;height:auto;border-radius:10px}
.cc-editor textarea{border:0;border-radius:0;margin:0;min-height:340px;background:#fff;font-family:"Microsoft YaHei",Arial,sans-serif;line-height:1.8}
.cc-editor textarea:focus{box-shadow:none;border:0}
.cc-editor-preview{padding:18px;border-top:1px solid var(--ui-border,#d7e3f0);background:#fff;line-height:1.8}
.cc-editor-preview h2{font-size:20px;margin:18px 0 10px}.cc-editor-preview p{margin:0 0 12px}.cc-editor-preview blockquote{margin:12px 0;padding:10px 14px;border-left:4px solid var(--ui-primary,#2563eb);background:var(--ui-panel-soft,#f8fafc)}
.cc-image-upload{display:grid;grid-template-columns:minmax(260px,1fr) 120px;gap:12px;align-items:end;margin-bottom:12px}
.cc-image-upload label{margin:0}
.cc-image-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:7px}
.cc-image-control input{margin:0}
.cc-image-control button{height:42px;min-width:76px;padding:0 14px;box-shadow:none;border-radius:10px}
.cc-image-preview{width:120px;height:78px;border:1px solid var(--ui-border,#d7e3f0);border-radius:12px;padding:5px;background:var(--ui-panel-soft,#f8fafc)}
.cc-image-preview img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block}
@media(max-width:900px){.cc-image-upload{grid-template-columns:1fr}.cc-image-preview{width:100%;height:130px}.cc-image-control{grid-template-columns:1fr}.cc-image-control button{width:100%}.cc-editor-image-panel{grid-template-columns:1fr;width:100%}.cc-editor-image-panel input{width:100%}}
.cc-batch-import-form{display:grid;gap:12px}
.cc-batch-textarea{min-height:260px !important;height:300px !important;font-family:Consolas,Monaco,"Microsoft YaHei",monospace;line-height:1.75;resize:vertical}
.cc-batch-target{margin-bottom:0}
.cc-batch-import-form input[type="file"]{background:var(--ui-panel,#fff);border-style:dashed}
.cc-batch-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 12px}
.cc-batch-actions span,.cc-pager span{color:var(--ui-muted,#64748b);font-size:13px}
.content-record-table input[type="checkbox"]{width:15px;height:15px;box-shadow:none;accent-color:var(--ui-primary,#2563eb)}
.cc-pager{margin-top:12px}
.cc-choice-card span{font-weight:600}
.cc-choice-card em{display:none !important}
.actions-cell form{display:inline-flex;margin:0}


/* 2026-05-21 targeted UI fixes */
.cache-setting-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cache-switch-pill{display:inline-flex !important;align-items:center;gap:7px;margin:0 !important;padding:3px 6px;border:1px solid var(--ui-border,#d7e3f0);border-radius:8px;background:var(--ui-panel-soft,#f8fafc);color:var(--ui-text,#1f2937) !important;font-size:13px;line-height:1}.cache-switch-pill input[type="checkbox"]{width:14px !important;height:14px !important;min-width:14px !important;margin:0 !important;padding:0 !important;box-shadow:none !important;accent-color:var(--ui-primary,#2563eb)}.cache-switch-pill span{white-space:nowrap}.cache-ttl-select{display:inline-flex !important;align-items:center;gap:8px;margin:0 !important;color:var(--ui-muted,#6b7280);font-size:13px}.cache-ttl-select select{width:150px !important;margin:0 !important;height:36px !important;padding:6px 10px !important;border-radius:8px !important}.small-textarea{min-height:56px !important;height:62px !important;resize:vertical}.content-center-form label:has(.small-textarea){margin-bottom:10px}.cc-editor textarea{min-height:300px !important}.cc-editor-preview{max-height:360px;overflow:auto}.content-center-form .cc-form-section{padding:12px !important}.content-center-form .form-grid{gap:12px !important}
.force-rules-textarea{height:150px !important;min-height:150px !important;font-family:Consolas,Monaco,monospace;line-height:1.65}
body.admin-ui-dark-night .cache-switch-pill,body.admin-ui-blue-white-gray .cache-switch-pill{background:#111827 !important;border-color:#243244 !important;color:#e5e7eb !important}body.admin-ui-dark-night .cache-ttl-select,body.admin-ui-blue-white-gray .cache-ttl-select{color:#cbd5e1 !important}

/* Spider force page */
.force-hero{display:grid;grid-template-columns:minmax(0,1fr) 180px 180px;gap:16px;margin-bottom:22px;padding:24px;border:1px solid var(--ui-border,#d7e3f0);border-radius:18px;background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(14,165,233,.06)),var(--ui-panel,#fff);box-shadow:0 14px 36px rgba(15,23,42,.06)}
.force-kicker{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:rgba(37,99,235,.10);color:var(--ui-primary,#2563eb);font-size:12px;font-weight:800;text-transform:uppercase}
.force-hero h2{margin:10px 0 8px;font-size:24px;color:var(--ui-text,#111827)}
.force-hero p{margin:0;color:var(--ui-muted,#64748b);line-height:1.7}
.force-status-card{border:1px solid var(--ui-border,#d7e3f0);border-radius:16px;background:rgba(255,255,255,.75);padding:18px;align-self:stretch}
.force-status-card span{display:block;color:var(--ui-muted,#64748b);font-size:13px}
.force-status-card strong{display:block;margin:8px 0 3px;font-size:32px;color:var(--ui-text,#111827)}
.force-status-card em{font-style:normal;color:var(--ui-muted,#94a3b8);font-size:12px}
.force-status-card.is-on strong{color:#16a34a}.force-status-card.is-off strong{color:#ef4444}
.force-panel{display:grid;gap:18px;margin-bottom:22px}
.force-section{border:1px solid var(--ui-border,#d7e3f0);border-radius:18px;background:var(--ui-panel,#fff);padding:20px;box-shadow:0 10px 28px rgba(15,23,42,.04)}
.force-section-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.force-section-title>span{display:inline-flex;align-items:center;justify-content:center;width:42px;height:28px;border-radius:999px;background:var(--ui-panel-soft,#f1f5f9);color:var(--ui-primary,#2563eb);font-weight:900;font-size:12px}
.force-section-title h3{margin:0 0 4px;color:var(--ui-text,#111827);font-size:17px}
.force-section-title p{margin:0;color:var(--ui-muted,#64748b);font-size:13px}
.force-switch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:14px}
.force-toggle,.force-chip{display:flex;align-items:flex-start;gap:10px;margin:0 !important;border:1px solid var(--ui-border,#d7e3f0);border-radius:14px;background:var(--ui-panel-soft,#f8fafc);padding:13px;cursor:pointer}
.force-toggle{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;column-gap:10px;row-gap:3px}
.force-toggle input,.force-chip input{width:16px !important;height:16px !important;margin:0 !important;min-width:16px !important;accent-color:var(--ui-primary,#2563eb);align-self:center}
.force-toggle span{display:block;font-weight:800;color:var(--ui-text,#111827);line-height:1.25}
.force-toggle em{grid-column:2;display:block;margin-top:0;font-style:normal;color:var(--ui-muted,#64748b);font-size:12px;line-height:1.5}
.force-spider-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.force-chip{align-items:center;padding:11px 12px}
.force-chip span{font-weight:700;color:var(--ui-text,#111827);font-size:13px}
.force-target-textarea{width:100%;min-height:280px !important;border-radius:14px !important;font-family:Consolas,Monaco,monospace;line-height:1.7;background:var(--ui-panel,#fff)}
.force-token-box{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;padding:12px;border:1px dashed var(--ui-border,#d7e3f0);border-radius:14px;background:var(--ui-panel-soft,#f8fafc);color:var(--ui-muted,#64748b);font-size:13px}
.force-token-box strong{color:var(--ui-text,#111827)}
.force-token-box span{display:block;width:100%;margin-top:4px}
.force-submit-bar{position:sticky;bottom:0;z-index:4;display:flex;justify-content:flex-start;padding:14px 0;background:linear-gradient(180deg,transparent,var(--ui-bg,#f8fafc) 35%)}
body.admin-ui-dark-night .force-hero,body.admin-ui-dark-night .force-section,body.admin-ui-blue-white-gray .force-hero,body.admin-ui-blue-white-gray .force-section{background:#111827;border-color:#243244}
body.admin-ui-dark-night .force-status-card,body.admin-ui-dark-night .force-toggle,body.admin-ui-dark-night .force-chip,body.admin-ui-dark-night .force-token-box,body.admin-ui-blue-white-gray .force-status-card,body.admin-ui-blue-white-gray .force-toggle,body.admin-ui-blue-white-gray .force-chip,body.admin-ui-blue-white-gray .force-token-box{background:#0f172a;border-color:#243244}
@media(max-width:900px){.force-hero{grid-template-columns:1fr}.force-status-card{min-height:auto}.force-submit-bar{position:static}}

/* 2026-06 final admin UI refinement */
body{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.admin-shell{
  background:
    radial-gradient(circle at 18% 0,rgba(59,130,246,.08),transparent 26%),
    linear-gradient(180deg,var(--ui-bg,#f6f8fb),var(--ui-bg,#f6f8fb));
}
.sidebar{
  box-shadow:14px 0 34px rgba(15,23,42,.12);
}
.brand{
  min-height:86px;
}
.side-nav{
  gap:6px;
}
.side-nav a{
  position:relative;
  font-weight:600;
  letter-spacing:0;
  transition:background .18s ease,color .18s ease,transform .18s ease,border-color .18s ease;
}
.side-nav a:hover,.side-nav a.active{
  transform:translateX(2px);
}
.side-nav a.active:before{
  content:"";
  position:absolute;
  left:6px;
  top:12px;
  bottom:12px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,#60a5fa,#22c55e);
}
.topbar-admin{
  box-shadow:0 10px 28px rgba(15,23,42,.055);
}
.topbar-admin h1{
  font-weight:800;
  letter-spacing:0;
}
.content{
  width:100%;
}
.card{
  border-radius:18px !important;
  box-shadow:0 14px 36px rgba(15,23,42,.06) !important;
}
.card h2{
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:800 !important;
}
.card h2:before{
  content:"";
  display:inline-block;
  width:8px;
  height:18px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--ui-primary,#2563eb),#22c55e);
}
.card h2:after{
  display:none !important;
}
.form-section,.content-center-form .cc-form-section,.search-bar{
  border-radius:16px !important;
  background:linear-gradient(180deg,var(--ui-panel,#fff),var(--ui-panel-soft,#f8fafc)) !important;
  border-color:var(--ui-border,#d7e3f0) !important;
}
input,select,textarea{
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.btn,button{
  font-weight:700;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.btn.ghost{
  border-color:var(--ui-border,#d7e3f0) !important;
}
table{
  box-shadow:0 10px 28px rgba(15,23,42,.045);
}
th{
  letter-spacing:0;
  text-transform:none;
}
td{
  vertical-align:middle;
}
.content-record-table td strong{
  color:var(--ui-text,#111827);
}
.cc-subnav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px;
}
.cc-subnav a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 14px;
  border:1px solid var(--ui-border,#d7e3f0);
  border-radius:8px;
  background:var(--ui-panel,#fff);
  color:var(--ui-muted,#64748b);
  font-size:14px;
  font-weight:800;
}
.cc-subnav a:hover,.cc-subnav a.active{
  border-color:var(--ui-primary,#2563eb);
  background:rgba(37,99,235,.08);
  color:var(--ui-primary,#2563eb);
}
.row-actions{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.notice,.error{
  box-shadow:0 12px 28px rgba(15,23,42,.055);
}
.cc-choice-card{
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease;
}
.cc-choice-card:hover,.cc-choice-card:has(input:checked){
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(15,23,42,.055);
}
.cc-editor{
  border-radius:16px !important;
  box-shadow:0 14px 34px rgba(15,23,42,.055);
}
.cc-editor-toolbar{
  align-items:center;
  padding:12px !important;
}
.cc-editor-toolbar button{
  border:1px solid transparent;
}
.cc-editor-toolbar button:hover{
  border-color:var(--ui-border,#d7e3f0);
}
.cc-editor-image-panel{
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.cc-editor-canvas{
  background:linear-gradient(180deg,#fff,#fbfdff);
}
.cc-image-control button{
  background:linear-gradient(135deg,var(--ui-primary,#2563eb),#334155);
}
.cc-image-preview{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),0 10px 22px rgba(15,23,42,.06);
}
.stat,.info-grid>div,.switch-card,.force-section,.force-status-card{
  box-shadow:0 12px 28px rgba(15,23,42,.055);
}
.domain-home-stats .stat{
  position:relative;
  overflow:hidden;
}
.domain-home-stats .stat:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(180deg,var(--ui-primary,#2563eb),#22c55e);
}
.domain-home-stats .stat small{
  font-size:14px;
  color:var(--ui-muted,#64748b);
  font-weight:800;
}
.domain-home-stats .stat span{
  line-height:1.65;
}
body.admin-ui-dark-night .card h2:before,
body.admin-ui-blue-white-gray .card h2:before{
  background:linear-gradient(180deg,#60a5fa,#38bdf8);
}
body.admin-ui-dark-night .cc-editor-canvas,
body.admin-ui-blue-white-gray .cc-editor-canvas{
  background:#0f172a;
}
@media(max-width:900px){
  .topbar-admin{height:auto;min-height:72px;padding:16px 18px;gap:12px;align-items:flex-start}
  .card{padding:18px !important}
  .side-nav a.active:before{display:none}
}

/* 2026-06 内容中心工作台布局 */
.cc-dashboard{
  display:grid;
  grid-template-columns:repeat(5,minmax(130px,1fr));
  gap:12px;
  margin:0 0 18px;
}
.cc-dashboard>div{
  border:1px solid var(--ui-border,#d7e3f0);
  border-radius:14px;
  background:linear-gradient(180deg,var(--ui-panel,#fff),var(--ui-panel-soft,#f8fafc));
  padding:15px 16px;
  box-shadow:0 10px 24px rgba(15,23,42,.045);
}
.cc-dashboard span{
  display:block;
  color:var(--ui-muted,#64748b);
  font-size:12px;
  font-weight:800;
}
.cc-dashboard strong{
  display:block;
  margin-top:7px;
  color:var(--ui-text,#111827);
  font-size:26px;
  line-height:1;
}
.cc-compose-card{
  padding:22px !important;
}
.cc-compose-card>.help{
  margin-top:-4px;
  margin-bottom:18px;
}
.content-center-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:18px;
  align-items:start;
}
.content-center-form>input[type="hidden"]{
  display:none;
}
.cc-compose-main{
  grid-column:1;
  grid-row:1;
  min-width:0;
}
.cc-compose-side{
  grid-column:2;
  grid-row:1;
  position:sticky;
  top:104px;
  display:grid;
  gap:14px;
}
.cc-compose-side .cc-form-section{
  margin:0 !important;
}
.cc-compose-side .form-grid{
  grid-template-columns:1fr !important;
}
.cc-compose-side .cc-choice-row{
  display:grid !important;
  grid-template-columns:1fr !important;
}
.cc-compose-main>.form-grid.two{
  grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);
}
.cc-compose-main>label,
.cc-compose-main>.cc-image-upload{
  margin-bottom:13px;
}
.cc-compose-main>p:last-child{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin:16px 0 0;
  padding-top:14px;
  border-top:1px solid var(--ui-border,#d7e3f0);
}
.cc-editor-canvas{
  min-height:420px;
}
.cc-ops-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:start;
}
.cc-records-card{
  grid-column:1;
}
.cc-trash-card,.cc-stats-card{
  min-width:0;
}
.cc-stats-card-top{
  margin-bottom:18px !important;
}
.cc-records-card .search-bar,
.cc-trash-card .search-bar{
  padding:14px !important;
  margin-bottom:12px !important;
}
.cc-records-card .search-bar .form-grid{
  grid-template-columns:1.4fr repeat(4,minmax(140px,1fr));
}
.cc-trash-card .search-bar .form-grid{
  grid-template-columns:minmax(180px,260px);
}
.cc-batch-actions{
  justify-content:space-between;
  padding:10px 12px;
  border:1px solid var(--ui-border,#d7e3f0);
  border-radius:12px;
  background:var(--ui-panel-soft,#f8fafc);
}
.cc-table-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2px;
  flex-wrap:wrap;
  margin:10px 0 12px;
  padding:10px 12px;
  border:1px solid var(--ui-border,#d7e3f0);
  border-radius:12px;
  background:var(--ui-panel-soft,#f8fafc);
}
.cc-table-toolbar .cc-batch-actions{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  justify-content:flex-start;
  flex:1 1 auto;
}
.cc-table-toolbar .table-meta{
  margin:0;
}
.cc-page-size-form{
  margin:0;
}
.form-actions-left{
  grid-column:1/-1;
  display:flex;
  justify-content:flex-start;
  margin:0;
}
.password-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  justify-content:flex-start;
}
.password-form-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:1px solid var(--ui-border,#d7e3f0);
  border-radius:16px;
  background:var(--ui-panel,#fff);
  padding:22px;
}
.password-form{
  display:grid;
  gap:16px;
}
.password-form label{
  margin-bottom:0;
}
.password-form input{
  height:46px;
}
.password-form .form-grid{
  gap:14px;
}
.password-warn{
  margin-top:18px;
}
body.admin-ui-dark-night .password-form-panel,
body.admin-ui-blue-white-gray .password-form-panel{
  background:#0f172a;
  border-color:#243244;
}
@media(max-width:900px){
  .password-layout{
    grid-template-columns:1fr;
  }
}
.cc-page-size-form label{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:var(--ui-muted,#64748b);
  font-size:13px;
  font-weight:700;
}
.cc-page-size-form select{
  width:96px !important;
  height:34px !important;
  margin:0 !important;
  padding:5px 9px !important;
  border-radius:8px !important;
}
.cc-import-card{
  max-width:980px;
}
.cc-import-card .form-grid{
  grid-template-columns:repeat(4,minmax(170px,1fr));
}
.cc-import-card input[type="file"]{
  min-height:78px;
  display:flex;
  align-items:center;
}
body.admin-ui-dark-night .cc-dashboard>div,
body.admin-ui-blue-white-gray .cc-dashboard>div,
body.admin-ui-dark-night .cc-batch-actions,
body.admin-ui-blue-white-gray .cc-batch-actions,
body.admin-ui-dark-night .cc-table-toolbar,
body.admin-ui-blue-white-gray .cc-table-toolbar{
  background:#111827;
  border-color:#243244;
}
@media(max-width:1180px){
  .content-center-form,
  .cc-ops-grid{
    grid-template-columns:1fr;
  }
  .cc-compose-side{
    grid-column:1;
    grid-row:auto;
    position:static;
  }
  .cc-compose-main{
    grid-row:auto;
  }
  .cc-records-card{
    grid-column:1;
  }
  .cc-records-card .search-bar .form-grid,
  .cc-import-card .form-grid{
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  }
}
@media(max-width:760px){
  .cc-dashboard{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .cc-compose-main>.form-grid.two{
    grid-template-columns:1fr;
  }
}

/* 2026-06 后台整体体验优化：信息架构、密度、表格和工具栏 */
.admin-shell{
  grid-template-columns:260px minmax(0,1fr);
}
.brand{
  height:78px;
  padding:0 20px;
}
.brand-logo{
  width:38px;
  height:38px;
  border-radius:10px;
}
.side-nav{
  display:block !important;
  padding:14px 12px 18px !important;
}
.side-nav .side-group-title{
  display:block !important;
  margin:16px 10px 7px !important;
  color:rgba(203,213,225,.62);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.side-nav .side-group-title:first-child{
  margin-top:2px !important;
}
.side-nav a{
  display:flex !important;
  align-items:center;
  gap:10px;
  min-height:38px;
  margin:3px 0 !important;
  padding:9px 11px !important;
  border-radius:9px !important;
  font-size:13px !important;
  line-height:1.2;
}
.side-nav a:before{
  content:attr(data-icon);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  min-width:22px;
  border-radius:7px;
  background:rgba(255,255,255,.08);
  color:#e5e7eb;
  font-size:12px;
  font-weight:900;
}
.side-nav a.active:before,
.side-nav a:hover:before{
  background:rgba(96,165,250,.18);
  color:#fff;
}
.topbar-admin{
  height:78px !important;
  padding:0 26px !important;
}
.topbar-admin h1{
  font-size:21px !important;
}
.topbar-shortcuts{
  display:flex;
  align-items:center;
  gap:8px;
}
.topbar-shortcuts .btn.small{
  height:32px;
  padding:0 11px;
  border-radius:8px;
}
.content{
  max-width:none !important;
  padding:24px 26px 32px !important;
}
.card{
  margin-bottom:18px !important;
  padding:20px !important;
  border-radius:14px !important;
}
.card h2{
  min-height:24px;
  margin-bottom:13px !important;
  font-size:17px !important;
}
.help{
  margin-top:-3px;
  margin-bottom:14px;
  font-size:13px;
}
.form-grid{
  gap:12px !important;
}
label{
  margin-bottom:10px !important;
  font-weight:700;
}
input,select,textarea{
  min-height:38px;
  border-radius:9px !important;
  padding:9px 11px !important;
}
textarea{
  min-height:180px;
}
.btn,button{
  min-height:36px;
  border-radius:9px !important;
  padding:8px 13px;
}
.btn.small{
  min-height:30px;
  padding:5px 10px;
  border-radius:8px !important;
}
.search-bar{
  padding:14px !important;
  margin:0 0 14px !important;
  border-radius:12px !important;
}
table{
  border-spacing:0 8px !important;
}
th{
  padding:0 10px 3px !important;
  font-size:12px !important;
  white-space:nowrap;
}
td{
  padding:10px 10px !important;
}
td:first-child{
  border-radius:10px 0 0 10px !important;
}
td:last-child{
  border-radius:0 10px 10px 0 !important;
}
.row-actions{
  gap:6px !important;
}
.notice,.error,.success{
  border-radius:12px !important;
  padding:12px 14px !important;
}
.cc-subnav{
  margin-bottom:14px !important;
}
.cc-subnav a{
  min-height:34px !important;
  border-radius:8px !important;
  padding:7px 12px !important;
}
.cc-table-toolbar{
  margin:8px 0 12px !important;
  padding:9px 11px !important;
}
.cc-dashboard{
  gap:10px !important;
  margin-bottom:14px !important;
}
.cc-dashboard>div{
  padding:13px 14px !important;
  border-radius:12px !important;
}
.cc-dashboard strong{
  font-size:24px !important;
}
.stat{
  border-radius:14px !important;
  padding:18px !important;
}
.stat strong{
  font-size:28px !important;
}
@media(max-width:980px){
  .admin-shell{
    grid-template-columns:1fr;
  }
  .sidebar{
    position:relative !important;
    height:auto !important;
  }
  .side-nav{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px !important;
  }
  .side-nav .side-group-title{
    grid-column:1 / -1;
  }
  .topbar-admin{
    position:relative !important;
    height:auto !important;
    min-height:72px !important;
    align-items:flex-start !important;
    gap:14px;
    padding:16px 18px !important;
  }
  .topbar-account{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .content{
    padding:18px !important;
  }
}
@media(max-width:640px){
  .side-nav{
    grid-template-columns:1fr;
  }
  .topbar-shortcuts{
    width:100%;
  }
  .topbar-shortcuts .btn{
    flex:1;
  }
  .cc-table-toolbar{
    align-items:stretch;
  }
  .cc-page-size-form{
    width:100%;
  }
  .cc-page-size-form label{
    justify-content:space-between;
  }
}

/* 2026-06 顶部右侧操作区比例优化 */
.topbar-admin{
  gap:18px;
}
.topbar-account{
  flex:0 0 auto;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end;
  gap:8px !important;
  min-width:0;
}
.topbar-shortcuts{
  gap:6px !important;
}
.topbar-shortcuts .btn.small,
.topbar-account>a.btn{
  min-height:30px !important;
  height:30px !important;
  padding:0 10px !important;
  border-radius:7px !important;
  font-size:12px !important;
  font-weight:800;
  box-shadow:none !important;
}
.ui-theme-form{
  height:30px;
}
.ui-theme-form label{
  height:30px;
  gap:6px !important;
  margin:0 !important;
  padding:0 8px;
  border:1px solid var(--ui-border,#d7e3f0);
  border-radius:7px;
  background:var(--ui-panel,#fff);
  color:var(--ui-muted,#64748b) !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1;
}
.ui-theme-form select{
  width:96px !important;
  min-height:24px !important;
  height:24px !important;
  padding:0 22px 0 6px !important;
  border:0 !important;
  border-radius:5px !important;
  background:transparent !important;
  color:var(--ui-text,#111827) !important;
  font-size:12px !important;
  box-shadow:none !important;
}
.account-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:30px;
  padding:0 9px;
  border:1px solid var(--ui-border,#d7e3f0);
  border-radius:7px;
  background:var(--ui-panel-soft,#f8fafc);
  color:var(--ui-muted,#64748b);
}
.account-pill span{
  font-size:12px !important;
  line-height:1;
}
.account-pill strong{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:var(--ui-text,#111827) !important;
  font-size:12px;
  line-height:1;
  max-width:120px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.admin-ui-dark-night .ui-theme-form label,
body.admin-ui-blue-white-gray .ui-theme-form label,
body.admin-ui-dark-night .account-pill,
body.admin-ui-blue-white-gray .account-pill{
  background:#111827;
  border-color:#243244;
}
@media(max-width:980px){
  .topbar-account{
    justify-content:flex-start !important;
  }
}
@media(max-width:640px){
  .topbar-account{
    gap:7px !important;
  }
  .ui-theme-form,
  .ui-theme-form label,
  .account-pill,
  .topbar-account>a.btn{
    width:100%;
  }
  .ui-theme-form select{
    width:auto !important;
    flex:1;
  }
  .account-pill{
    justify-content:space-between;
  }
  .account-pill strong{
    max-width:none;
  }
}

/* 2026-06 推送管理开关对齐修正 */
.switch-card{
  grid-template-columns:18px minmax(0,1fr) !important;
  align-items:center !important;
  column-gap:9px !important;
  row-gap:4px !important;
}
.switch-card input[type="checkbox"]{
  width:15px !important;
  height:15px !important;
  min-width:15px !important;
  min-height:15px !important;
  margin:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  align-self:center !important;
}
.switch-card span{
  display:block;
  line-height:1.2 !important;
}
.switch-card em{
  grid-column:2 !important;
  margin-top:0 !important;
  line-height:1.55 !important;
}
.push-overview{
  grid-template-columns:repeat(4,minmax(140px,1fr));
}
.push-overview strong{
  font-size:20px !important;
}
.push-subtitle{
  margin:18px 0 10px;
  color:var(--ui-text,#111827);
  font-size:15px;
}
@media(max-width:760px){
  .push-overview{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

.cc-editor-select{width:auto!important;min-width:82px;height:30px!important;margin:0!important;padding:3px 8px!important;border-radius:8px!important;font-size:12px;background:#fff;box-shadow:none!important}
.cc-editor-canvas img{display:block;max-width:100%;height:auto;margin:10px auto;vertical-align:middle}.cc-editor-canvas p[style*="text-align:center"] img{margin-left:auto;margin-right:auto}

.friend-inline-table input:not([type="checkbox"]),.friend-inline-table select{height:34px!important;margin:0!important;padding:5px 8px!important;border-radius:8px!important;font-size:12px}.friend-inline-table td{vertical-align:middle}.friend-inline-table input[type="number"]{width:72px!important}.friend-inline-table select{min-width:150px!important}
.cc-editor-select[data-image-size]{min-width:116px!important}
.domain-desc-textarea{height:45px!important;min-height:45px!important;resize:vertical;line-height:1.55!important;padding:8px 10px!important}
.cc-editor-toolbar{gap:5px!important;padding:8px!important;background:#f8fafc!important}
.cc-editor-toolbar button{min-height:26px!important;height:26px!important;padding:0 8px!important;border-radius:6px!important;border:1px solid #dbe3ef!important;background:#fff!important;color:#475569!important;box-shadow:none!important;font-size:12px!important;font-weight:600!important;line-height:1!important}
.cc-editor-toolbar button:hover{background:#f1f5f9!important;color:#1f2937!important;border-color:#cbd5e1!important;transform:none!important;filter:none!important}
.cc-editor-toolbar button.active{background:#e8f1ff!important;color:#1d4ed8!important;border-color:#bcd3ff!important}
.cc-editor-image-panel{padding:4px!important;border-radius:8px!important;box-shadow:none!important;background:#fff!important}
.cc-editor-image-panel input{height:26px!important;min-height:26px!important;padding:3px 7px!important;font-size:12px!important;border-radius:6px!important}
.cc-editor-image-panel button{height:26px!important;min-height:26px!important;padding:0 8px!important}
.cc-editor-select{height:26px!important;min-height:26px!important;padding:2px 7px!important;border-radius:6px!important;font-size:12px!important;background:#fff!important;border-color:#dbe3ef!important;color:#475569!important}

/* 2026-06 初始设置与系统授权状态增强 */
.license-status-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 18px;
  padding:22px 24px;
  border-radius:16px;
  border:1px solid var(--ui-border,#d7e3f0);
  box-shadow:0 16px 38px rgba(15,23,42,.08);
}
.license-status-panel.is-ok{
  background:linear-gradient(135deg,#ecfdf5,#f8fafc);
  border-color:#86efac;
}
.license-status-panel.is-bad{
  background:linear-gradient(135deg,#fff1f2,#fff7ed);
  border-color:#fca5a5;
}
.license-eyebrow{
  display:inline-flex;
  align-items:center;
  height:24px;
  padding:0 9px;
  border-radius:999px;
  background:rgba(15,23,42,.08);
  color:#334155;
  font-size:12px;
  font-weight:900;
}
.license-status-main h2{
  margin:10px 0 6px;
  font-size:28px;
  line-height:1.1;
  color:#0f172a;
}
.license-status-panel.is-ok .license-status-main h2{
  color:#15803d;
}
.license-status-panel.is-bad .license-status-main h2{
  color:#b91c1c;
}
.license-status-main p{
  margin:0;
  color:#475569;
  font-weight:700;
}
.license-status-badge{
  flex:0 0 auto;
  min-width:112px;
  margin:0;
  padding:13px 16px;
  border-radius:999px;
  text-align:center;
  color:#fff;
  font-size:16px;
  font-weight:900;
}
.license-status-panel.is-ok .license-status-badge{background:#16a34a;}
.license-status-panel.is-bad .license-status-badge{background:#dc2626;}
.license-summary-grid{margin-bottom:18px;}
.license-online-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.license-online-actions form{
  margin:0;
  display:inline-flex;
}
.license-inline-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:999px;
  font-weight:900;
}
.license-inline-status.ok{background:#dcfce7;color:#166534;border:1px solid #86efac;}
.license-inline-status.bad{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5;}
.initial-setup-card button{align-self:flex-start;}
@media(max-width:760px){
  .license-status-panel{align-items:flex-start;flex-direction:column;}
  .license-status-badge{min-width:0;}
}

/* 2026-06 安装 / 注册 / 登录统一入口页：企业蓝白灰 */
.entry-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:42px 18px;
  background:#f5f7fb;
  color:#172033;
}
.entry-page:before{
  content:"";
  position:fixed;
  inset:0;
  background:linear-gradient(135deg,rgba(31,111,235,.08),rgba(15,23,42,0) 42%),radial-gradient(circle at 14% 12%,rgba(31,111,235,.12),transparent 28%);
  pointer-events:none;
}
.entry-shell{
  position:relative;
  z-index:1;
  width:min(980px,100%);
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  background:#fff;
  border:1px solid #d9e1ec;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 22px 58px rgba(15,23,42,.12);
}
.entry-brand{
  background:#111827;
  color:#eef2f7;
  padding:34px 30px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:560px;
}
.entry-mark{
  width:48px;
  height:48px;
  border-radius:14px;
  background:#1f6feb;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:900;
  font-size:22px;
  margin-bottom:18px;
}
.entry-brand h1{
  margin:0;
  color:#fff;
  font-size:28px;
  line-height:1.25;
}
.entry-brand p{
  margin:12px 0 0;
  color:#cbd5e1;
  line-height:1.8;
}
.entry-meta{
  display:grid;
  gap:12px;
  margin-top:30px;
}
.entry-meta div{
  padding:14px 0;
  border-top:1px solid rgba(226,232,240,.12);
}
.entry-meta strong{
  display:block;
  color:#f8fafc;
  font-size:13px;
  margin-bottom:4px;
}
.entry-meta span{
  color:#aab6c7;
  font-size:13px;
  line-height:1.7;
}
.entry-content{
  padding:34px;
  display:flex;
  align-items:center;
}
.entry-card{
  width:100%;
  max-width:520px;
  margin:0 auto;
}
.entry-card h2{
  margin:0 0 8px;
  color:#111827;
  font-size:26px;
}
.entry-card>p{
  margin:0 0 24px;
  color:#64748b;
  line-height:1.75;
}
.entry-card form{
  display:grid;
  gap:12px;
}
.entry-card label{
  margin:0;
  color:#334155;
  font-weight:800;
}
.entry-card input{
  height:44px;
  margin-top:7px;
  background:#fff;
  border:1px solid #d9e1ec;
  border-radius:9px;
  color:#111827;
}
.entry-card input:focus{
  border-color:#1f6feb;
  box-shadow:0 0 0 3px rgba(31,111,235,.12);
}
.entry-card button,
.entry-card .btn{
  width:100%;
  min-height:42px;
  border-radius:9px;
  background:#1f6feb;
  border:1px solid #1f6feb;
  box-shadow:none;
  font-weight:900;
}
.entry-card button:hover,
.entry-card .btn:hover{
  background:#1558c7;
  border-color:#1558c7;
  transform:none;
  filter:none;
}
.entry-card .btn.ghost{
  background:#fff;
  color:#172033;
  border-color:#d9e1ec;
}
.entry-card .notice,
.entry-card .error{
  border-radius:10px;
  margin-bottom:16px;
  box-shadow:none;
}
.entry-card .notice{
  background:#f0fdf4;
  border-color:#bbf7d0;
  color:#166534;
}
.entry-card .error{
  background:#fff1f2;
  border-color:#fecdd3;
  color:#be123c;
}
.entry-link{
  margin:16px 0 0;
  color:#64748b;
  font-size:13px;
  line-height:1.7;
}
.entry-link a{
  color:#1f6feb;
  font-weight:800;
}
.entry-card .captcha-row{
  grid-template-columns:1fr 118px;
}
.entry-card .captcha-box{
  height:44px;
  border-color:#d9e1ec;
  border-radius:9px;
  background:#f8fafc;
  color:#1e293b;
}
@media(max-width:820px){
  .entry-shell{grid-template-columns:1fr}
  .entry-brand{min-height:auto}
}
@media(max-width:520px){
  .entry-page{padding:18px 10px}
  .entry-brand,.entry-content{padding:24px 18px}
  .entry-card .captcha-row{grid-template-columns:1fr}
}
