

/* ===== 从 index.html 抽取的内联样式（按原顺序合并，勿手工调整顺序）===== */
html[data-lang="en"] [data-i18n],html[data-lang="en"] [data-i18n-html],html[data-lang="en"] [data-i18n-ph]{visibility:hidden}.sort-input{width:46px;height:30px;box-sizing:border-box;border:1px solid var(--border);border-radius:7px;background:var(--input-bg);color:var(--text-main);font-family:var(--font);font-size:12px;font-weight:600;text-align:center;padding:0 4px}
.sort-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(57,255,143,.14)}



/* ===== 主题变量：浅色(light) / 原始(original) ===== */
:root, html[data-theme="light"] {
  --primary: var(--n37-accent,#39FF8F); --primary-hover: var(--n37-accent,#2BE07C); --nav-highlight: #ffffff;
  --bg-base: #eef2f7;
  --text-main: #1e293b; --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --radius-md: 10px; --radius-lg: 16px;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(15, 23, 42, 0.10);
  --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.10);
  --input-bg: #ffffff;
  --input-bg-focus: #ffffff;
  --hover-bg: rgba(15, 23, 42, 0.04);
  --hover-bg-strong: rgba(249, 115, 22, 0.10);
  --btn-ghost-bg: rgba(255, 255, 255, 0.9);
  --btn-ghost-hover: rgba(15, 23, 42, 0.06);
  --th-bg: rgba(15, 23, 42, 0.04);
  --foot-bg: rgba(15, 23, 42, 0.03);
  --box-bg: rgba(15, 23, 42, 0.03);
  --topbar-bg: rgba(255, 255, 255, 0.85);
  --card-solid: #ffffff;
  --mask: rgba(15, 23, 42, 0.35);
  --tr-bg-mobile: #ffffff;
  --tag-bg: rgba(15, 23, 42, 0.06); --tag-color: #475569;
  --toast-bg: rgba(15, 23, 42, 0.9); --col-bg: rgba(255, 255, 255, 0.7);
  --body-glow-1: hsla(210, 40%, 98%, 1);
  --body-glow-2: hsla(210, 40%, 96%, 0.9);
  --body-glow-3: hsla(210, 40%, 96%, 0.9);
}
/* light 浅色主题：深色硬编码细节覆盖，保证可读性 */
html[data-theme="light"] { --nav-highlight: #1e293b; }
html[data-theme="light"] .top-nav a { color: #475569; }
html[data-theme="light"] .top-nav a:hover { background: rgba(15, 23, 42, 0.06); }
html[data-theme="light"] .tag { border-color: rgba(15, 23, 42, 0.10); }
html[data-theme="light"] .icon-btn { background: rgba(15, 23, 42, 0.06); }
html[data-theme="light"] .icon-btn:hover { background: rgba(15, 23, 42, 0.12); }
html[data-theme="light"] .file-upload-box { background: rgba(255, 255, 255, 0.7); }
/* ===== 霓虹紫绿主题（参考：深紫 + 荧光绿 + 白色大字）===== */
html[data-theme="neon"] {
  --primary: var(--n37-accent,#39FF8F); --primary-hover: #8B8CF6; --nav-highlight: #FFFFFF;
  --bg-base: #3E0B96;
  --text-main: #FFFFFF; --text-muted: #CDBBF5;
  --border: rgba(57,255,143, 0.18);
  --glass-bg: rgba(45, 8, 105, 0.58);
  --glass-border: rgba(57,255,143, 0.22);
  --glass-shadow: 0 10px 40px rgba(5, 0, 20, 0.5);
  --input-bg: rgba(20, 4, 50, 0.6);
  --input-bg-focus: rgba(20, 4, 50, 0.88);
  --hover-bg: rgba(255, 255, 255, 0.06);
  --hover-bg-strong: rgba(57,255,143, 0.14);
  --btn-ghost-bg: rgba(255, 255, 255, 0.08);
  --btn-ghost-hover: rgba(255, 255, 255, 0.16);
  --th-bg: rgba(255, 255, 255, 0.06);
  --foot-bg: rgba(0, 0, 0, 0.24);
  --box-bg: rgba(255, 255, 255, 0.05);
  --topbar-bg: rgba(30, 4, 70, 0.86);
  --card-solid: #320A70;
  --mask: rgba(8, 0, 24, 0.64);
  --tag-bg: rgba(57,255,143, 0.14); --tag-color: #D8D7FF;
  --toast-bg: rgba(12, 2, 32, 0.95);
  --col-bg: rgba(38, 6, 88, 0.72);
  --body-glow-1: hsla(268, 85%, 20%, 1);
  --body-glow-2: hsla(280, 80%, 16%, 0.92);
  --body-glow-3: hsla(250, 75%, 18%, 0.92);
  color-scheme: dark;
}
html[data-theme="neon"] { background: #2A0662; }
html[data-theme="neon"] body { background-color: #3E0B96; min-height: 100vh; }
html[data-theme="neon"] .top-nav a.active { color: #12002B !important; font-weight: 800; box-shadow: 0 0 18px rgba(57,255,143,.45); }
html[data-theme="neon"] .btn.primary { color: #12002B; font-weight: 800; background: linear-gradient(135deg,#8B8CF6,var(--n37-accent,#39FF8F)); box-shadow: 0 6px 24px rgba(57,255,143,.4); }
html[data-theme="neon"] .btn.primary:hover { background: linear-gradient(135deg,#D0FF9A,#7CFF1A); box-shadow: 0 8px 34px rgba(57,255,143,.55); }
html[data-theme="neon"] .hero h1 .hl { background: linear-gradient(90deg,#8B8CF6,var(--n37-accent,#39FF8F)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: -2px -2px 0 #16002F, 2px -2px 0 #16002F, -2px 2px 0 #16002F, 2px 2px 0 #16002F, 0 0 28px rgba(57,255,143,.4); }
html[data-theme="neon"] .hero-badge { background: rgba(57,255,143,.14); color: #D8D7FF; border: 1px solid rgba(57,255,143,.3); }
html[data-theme="neon"] .card:hover { border-color: rgba(57,255,143,.5); box-shadow: 0 8px 32px rgba(57,255,143,.18); }
html[data-theme="neon"] .field input:focus, html[data-theme="neon"] .field textarea:focus, html[data-theme="neon"] .field select:focus { box-shadow: 0 0 0 3px rgba(57,255,143,.22); }
html[data-theme="neon"] .chk:hover { background: rgba(57,255,143,.12); }
html[data-theme="neon"] .file-upload-box:hover { background: rgba(57,255,143,.08); }
html[data-theme="neon"] .dc-login-tip { background: rgba(57,255,143,.1); border-color: rgba(57,255,143,.35); }
html[data-theme="neon"] .qc-result { background: linear-gradient(135deg, rgba(57,255,143,.12), rgba(57,255,143,.04)); border-color: rgba(57,255,143,.3); }
html[data-theme="neon"] .promise i, html[data-theme="neon"] .pcard-tag { background: rgba(57,255,143,.12); }
html[data-theme="neon"] .pcard-act { border-color: rgba(57,255,143,.5); }
html[data-theme="neon"] .store-badge, html[data-theme="neon"] .more-toggle .mt-ico { background: linear-gradient(135deg,#8B8CF6,#56F000); color: #12002B; box-shadow: 0 8px 18px rgba(57,255,143,.35); }
html[data-theme="neon"] .store-tag { background: rgba(57,255,143,.14); color: #D8D7FF; }
html[data-theme="neon"] .store-rows li svg, html[data-theme="neon"] .store-rows a:hover { color: #7CF230; }
html[data-theme="neon"] .cg-thumb.active { border-color: #7CF230; }
html[data-theme="neon"] .dc-spinner { border-color: rgba(57,255,143,.22); border-top-color: #7CF230; }
html[data-theme="neon"] .ann-btn { background: linear-gradient(135deg,#8B8CF6,var(--n37-accent,#39FF8F)); color: #12002B; }
html[data-theme="neon"] .ann-kicker { color: #D8D7FF; }
html[data-theme="neon"] .footer, html[data-theme="neon"] .foot { color: #CDBBF5; }
html[data-theme="neon"] .top-nav a:hover { background: rgba(57,255,143,.1); }
html[data-theme="neon"] #themeSwitch { border-color: rgba(57,255,143,.4); }
/* 紫绿主题细节增强：更饱和的背景、绿色光晕、贴纸感标题 */
html[data-theme="neon"] body {
  background:
    radial-gradient(1200px 620px at 10% -10%, rgba(57,255,143,.18), transparent 60%),
    radial-gradient(1300px 700px at 90% -6%, rgba(163,94,255,.55), transparent 64%),
    radial-gradient(900px 620px at 50% 115%, rgba(112,20,220,.28), transparent 70%),
    linear-gradient(180deg,#5210C0 0%,#3A0A8E 48%,#2A0662 100%) !important;
  background-attachment: fixed;
}
html[data-theme="neon"] .topbar { border-bottom: 1px solid rgba(57,255,143,.16); }
html[data-theme="neon"] .hero h1 { letter-spacing: -0.5px; text-shadow: -2px -2px 0 #16002F, 2px -2px 0 #16002F, -2px 2px 0 #16002F, 2px 2px 0 #16002F, 0 8px 26px rgba(0,0,0,.4), 0 0 34px rgba(57,255,143,.22); }
html[data-theme="neon"] .hero h1 .hl { text-shadow: 0 2px 0 rgba(10,0,25,.35), 0 0 26px rgba(57,255,143,.35); }
html[data-theme="neon"] .sec-title { position: relative; padding-left: 12px; text-shadow: -1px -1px 0 rgba(18,0,40,.85), 1px -1px 0 rgba(18,0,40,.85), -1px 1px 0 rgba(18,0,40,.85), 1px 1px 0 rgba(18,0,40,.85); }
html[data-theme="neon"] .sec-title::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 20px; border-radius: 3px; background: linear-gradient(180deg,#D0FF9A,var(--n37-accent,#39FF8F)); box-shadow: 0 0 14px rgba(57,255,143,.7); }
html[data-theme="neon"] .btn.primary { border: 1px solid rgba(255,255,255,.28); letter-spacing: .5px; }
html[data-theme="neon"] .card, html[data-theme="neon"] .form-box, html[data-theme="neon"] .settings-card, html[data-theme="neon"] .dc-panel { box-shadow: 0 8px 30px rgba(5,0,20,.35), 0 0 0 1px rgba(57,255,143,.10) inset; }
html[data-theme="neon"] .card:hover { box-shadow: 0 14px 40px rgba(5,0,20,.45), 0 0 24px rgba(57,255,143,.22); }
html[data-theme="neon"] .hero-badge { box-shadow: 0 0 18px rgba(57,255,143,.18); }
html[data-theme="neon"] .tag, html[data-theme="neon"] .pcard-tag { border: 1px solid rgba(57,255,143,.22); }
html[data-theme="neon"] .pcard-act { background: rgba(57,255,143,.08); }
html[data-theme="neon"] .pcard-act:hover { background: rgba(57,255,143,.18); box-shadow: 0 0 18px rgba(57,255,143,.2); }
html[data-theme="neon"] footer, html[data-theme="neon"] .site-footer { background: rgba(8,0,26,.55); border-top: 1px solid rgba(57,255,143,.14); }
html[data-theme="neon"] .ann-modal-card, html[data-theme="neon"] .modal-card, html[data-theme="neon"] .admin-panel { background: #2C0763; border: 1px solid rgba(57,255,143,.2); }
html[data-theme="neon"] table th { background: rgba(57,255,143,.08); color: #D8D7FF; }
html[data-theme="neon"] .tabs { border-bottom-color: rgba(57,255,143,.16); }
html[data-theme="neon"] .tabs .tab { color: #D8CCFF; }
html[data-theme="neon"] .tabs .tab:hover { color: #FFFFFF; background: rgba(255,255,255,.06); }
html[data-theme="neon"] .tabs .tab.active { color: #8B8CF6; background: rgba(57,255,143,.1); }
html[data-theme="neon"] .tab-group-label { color: #C9B8F0; font-weight: 700; }
html[data-theme="neon"] .status-chips .s-chip { color: #D8CCFF; border-color: rgba(57,255,143,.2); }
html[data-theme="neon"] .status-chips .s-chip.on { background: rgba(57,255,143,.16); color: #D8FFB8; border-color: rgba(57,255,143,.5); }
html[data-theme="neon"] .admin-header h2, html[data-theme="neon"] .settings-card-title { color: #FFFFFF; }
html[data-theme="neon"] .dc-tabs .dc-tab.active { color: #12002B; font-weight: 800; }
html[data-theme="neon"] .dc-ratio.active { color: #12002B; font-weight: 800; }
html[data-theme="neon"] .dc-chip.on { color: #12002B; }
html[data-theme="neon"] .dc-loading b { color: #A6FF66; }
html[data-theme="neon"] .hero2-stat b, html[data-theme="neon"] .price, html[data-theme="neon"] .pcard-price { color: #A6FF66; }
html[data-theme="original"] {
  --bg-base: #0f172a;
  --text-main: #f8fafc; --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(30, 41, 59, 0.6);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --input-bg: rgba(15, 23, 42, 0.6);
  --input-bg-focus: rgba(15, 23, 42, 0.9);
  --hover-bg: rgba(255, 255, 255, 0.03);
  --hover-bg-strong: rgba(249, 115, 22, 0.12);
  --btn-ghost-bg: rgba(255, 255, 255, 0.05);
  --btn-ghost-hover: rgba(255, 255, 255, 0.1);
  --th-bg: rgba(0, 0, 0, 0.2);
  --foot-bg: rgba(0, 0, 0, 0.2);
  --box-bg: rgba(0, 0, 0, 0.2);
  --topbar-bg: rgba(15, 23, 42, 0.7);
  --card-solid: rgba(30, 41, 59, 0.85);
  --mask: rgba(0, 0, 0, 0.6);
  --tr-bg-mobile: rgba(30, 41, 59, 0.8);
  --tag-bg: rgba(255, 255, 255, 0.06); --tag-color: #cbd5e1;
  --toast-bg: rgba(15, 23, 42, 0.92); --col-bg: rgba(15, 23, 42, 0.35);
  --body-glow-1: hsla(253, 16%, 7%, 1);
  --body-glow-2: hsla(225, 39%, 30%, 0.3);
  --body-glow-3: hsla(339, 49%, 30%, 0.3);
}
/* 不支持 backdrop-filter 的浏览器：顶栏/卡片回退实色，保证菜单与内容恒定可见 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar { background: var(--bg-base); }
  .modal-body, .step, .card { background: var(--card-solid); }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  /* 动态光晕背景 */
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(at 0% 0%, var(--body-glow-1) 0, transparent 50%),
    radial-gradient(at 50% 0%, var(--body-glow-2) 0, transparent 50%),
    radial-gradient(at 100% 0%, var(--body-glow-3) 0, transparent 50%),
    radial-gradient(at 100% 100%, var(--body-glow-1) 0, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* 顶栏毛玻璃 */
.topbar { background: var(--topbar-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-border); color: var(--text-main); position: sticky; top: 0; z-index: 100; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; height: 100%; color: var(--text-main); text-decoration: none; flex-shrink: 0; }
.brand img, .brand .brand-logo { height: 64px; width: auto; max-width: 320px; object-fit: contain; display: block; flex-shrink: 0; }
.brand .brand-fallback { font-weight: 700; font-size: 18px; white-space: nowrap; }
@media (max-width: 768px) {
  .brand .brand-logo { height: 52px; max-width: 260px; }
  .brand .brand-fallback { font-size: 17px; }
}
.top-nav { display: flex; gap: 8px; align-items: center; height: 100%; overflow-x: auto; flex: 1 1 auto; min-width: 0; }
.top-nav::-webkit-scrollbar { display: none; }
.top-nav a { color: #94a3b8; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all 0.2s; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.top-nav a svg { width: 16px; height: 16px; flex: 0 0 auto; }
.top-nav a:hover { color: var(--text-main); background: rgba(255,255,255,0.08); }
.top-nav a.active { color: #fff; background: var(--primary); box-shadow: 0 0 12px rgba(17,17,16,0.4); }
#userGreeting { color: #94a3b8; font-size: 13px; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--glass-border); display: flex; align-items: center; white-space: nowrap; flex-shrink: 0; }
.top-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: 8px; }
.lang-switch { padding: 6px 12px; border: 1px solid var(--glass-border); border-radius: 8px; background: var(--btn-ghost-bg); color: var(--text-main); font-size: 13px; line-height: 1; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; user-select: none; }
#themeSwitchIcon, .lang-switch svg { width: 16px; height: 16px; flex: 0 0 auto; display: inline-block; }
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 768px) {
  .topbar .wrap { gap: 8px; }
  .top-actions { gap: 6px; margin-left: 4px; }
  .lang-switch { padding: 6px 8px; }
  #langLabel, #themeSwitchLabel { display: none; }
  .top-nav { flex: 1 1 auto; }
  .top-nav a { padding: 8px 10px; }
}

.hero { padding: 40px 0 20px; text-align: center; }
.hero h1 { margin: 0 0 14px; font-size: 34px; line-height: 1.35; font-weight: 800; letter-spacing: -0.5px; }
.hero h1 .hl { color: var(--primary); }
.hero p { margin: 0 auto 30px; max-width: 620px; color: var(--text-muted); font-size: 16px; }
.sec-title { font-size: 18px; font-weight: 700; margin: 32px 0 16px; display: flex; align-items: center; gap: 12px; }

/* 卡片毛玻璃 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 20px; cursor: pointer; transition: all 0.25s ease; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--glass-shadow); }
.card:hover { border-color: rgba(17,17,16,0.5); box-shadow: 0 8px 32px 0 rgba(17,17,16,0.2); transform: translateY(-4px); }
.card .nm { font-weight: 700; font-size: 16px; color: var(--text-main); }
.card .pr { color: var(--primary); font-weight: 800; font-size: 15px; }
.card .ht { color: var(--text-muted); font-size: 13px; margin-top: auto; }

.cart { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 8px 24px 20px; margin-top: 20px; box-shadow: var(--glass-shadow); }
.cart-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--glass-border); }
.cart-item:last-child { border-bottom: 0; }
.ci-name { font-weight: 700; font-size: 15px; }
.ci-desc { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.ci-right { text-align: right; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ci-right b { color: var(--primary); font-size: 16px; }
.cart-total { text-align: right; padding-top: 20px; font-size: 15px; font-weight: 600; }
.cart-total b { color: var(--primary); font-size: 24px; margin-left: 8px; }

.form-box { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 16px 24px 32px; margin: 20px 0 60px; box-shadow: var(--glass-shadow); }
.settings-wrap { max-width:1200px; margin:0 auto; }
.settings-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:start; }
.settings-card { background:var(--glass-bg); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border:1px solid var(--glass-border); border-radius:var(--radius-lg); padding:18px 22px 22px; box-shadow:var(--glass-shadow); }
.settings-card-title { margin:0 0 4px; font-size:15px; font-weight:700; border-bottom:1px solid var(--border); padding-bottom:10px; }
.settings-card .field { margin:16px 0; }
.settings-actions { margin-top:18px; display:flex; justify-content:flex-end; gap:10px; align-items:center; }
.settings-actions .btn.big { width:auto; padding:11px 26px; font-size:14px; }
@media(max-width:1024px){ .settings-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:640px){ .settings-grid { grid-template-columns:1fr; } }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media(max-width: 600px) { .row { grid-template-columns: 1fr; gap: 0; } }
.field { display: block; margin: 20px 0; }
.field > span { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }

/* 暗色输入框 */
.field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]), .field textarea, .field select { width: 100%; height: 42px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--radius-md); font: inherit; background: var(--input-bg); transition: all 0.2s; color: var(--text-main); }
.field textarea { height: auto; padding: 12px 16px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); background: var(--input-bg-focus); box-shadow: 0 0 0 3px rgba(17,17,16,0.2); }

.chk-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.chk-box { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; background: var(--input-bg); border: 1px solid var(--border); padding: 10px 16px; border-radius: var(--radius-md); transition: all 0.2s; user-select: none; }
.chk-box:hover { background: var(--card-solid); border-color: #475569; }
.chk-box input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; margin: 0; }
.chk-box input[type="checkbox"]:checked + span { color: var(--primary); font-weight: 600; }

.chk { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; font-size: 13px; cursor: pointer; background: var(--input-bg); transition: all 0.2s; }
.chk:hover { border-color: var(--primary); background: rgba(17,17,16,0.1); }
.chk input[type="checkbox"] { width: 16px !important; height: 16px !important; margin: 0; flex-shrink: 0; accent-color: var(--primary); cursor: pointer; }
.chk em { font-style: normal; color: var(--primary); font-size: 12px; margin-left: 4px; }

.file-upload-box { display: block; border: 2px dashed rgba(255,255,255,0.2); border-radius: var(--radius-lg); padding: 20px; text-align: center; cursor: pointer; background: var(--input-bg); transition: all 0.2s; position: relative; }
.file-upload-box:hover { border-color: var(--primary); background: rgba(17,17,16,0.05); }
.file-upload-box input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-upload-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.file-upload-text { color: var(--text-muted); font-size: 14px; }
.file-upload-text strong { color: var(--primary); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-md); padding: 0 20px; height: 40px; font: inherit; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(17,17,16,0.4); }
.btn.primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(17,17,16,0.6); }
.btn.primary:disabled, .btn.ghost:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-main); backdrop-filter: blur(4px); }
.btn.ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.btn.big { width: 100%; height: 48px; font-size: 16px; margin-top: 16px; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 6px; min-width: 60px; }

/* 后台 Tabs（按业务分组） */
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 24px 0 16px; border-bottom: 1px solid var(--glass-border); overflow-x: auto; padding-bottom: 1px; }
.tabs .tab { flex: 0 0 auto; }
.tabs::-webkit-scrollbar { display: none; }
.tab-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; flex: 0 0 auto; margin: 4px 12px 4px 0; padding-right: 12px; border-right: 1px solid rgba(255,255,255,0.10); }
.tab-group-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--text-muted); opacity: .55; white-space: nowrap; margin-right: 6px; user-select: none; }
.tab-group .tab { padding: 8px 12px; gap: 5px; }
.tab { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 12px 14px; font: inherit; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.2s; white-space: nowrap; }
.tab svg { width: 16px; height: 16px; flex: 0 0 auto; opacity: .9; }
.tab:hover { color: var(--text-main); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
#logoutBtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 8px; color: var(--text-main); border-color: rgba(255,255,255,0.2); cursor: pointer; flex: 0 0 auto; }
#logoutBtn[hidden] { display: none; }
#logoutBtn svg { width: 17px; height: 17px; }
#logoutBtn:hover { border-color: rgba(239,68,68,0.55); color: #f87171; background: rgba(239,68,68,0.08); }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 12px 16px; box-shadow: var(--glass-shadow); backdrop-filter: blur(16px); }
.toolbar input, .toolbar select { height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 14px; outline: none; margin: 0; background: var(--input-bg); color: var(--text-main); }
.toolbar input:focus, .toolbar select:focus { border-color: var(--primary); }
.toolbar .grow { flex: 1; min-width: 200px; }

/* 毛玻璃表格 */
table { width: 100%; border-collapse: collapse; background: var(--glass-bg); backdrop-filter: blur(16px); font-size: 14px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--glass-shadow); border: 1px solid var(--glass-border); }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--glass-border); vertical-align: middle; }
th { background: var(--th-bg); color: var(--text-muted); font-weight: 600; font-size: 13px; }
tr:last-child td { border-bottom: 0; }
tr:hover { background: rgba(255,255,255,0.03); }

.status-select { appearance: none; -webkit-appearance: none; padding: 6px 24px 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; outline: none; border: 1px solid transparent; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 6px center; transition: all 0.2s; width: 100%; min-width: 100px; text-align: center; }
.status-select:hover { filter: brightness(1.2); }
.status-select:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.1); }
.status-0 { background-color: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.status-1 { background-color: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.status-2 { background-color: rgba(236, 72, 153, 0.15); color: #f472b6; }
.status-3 { background-color: rgba(249, 115, 22, 0.15); color: var(--n37-accent,#39FF8F); }
.status-4 { background-color: rgba(34, 197, 94, 0.15); color: #4ade80; }
.status-5 { background-color: rgba(107, 114, 128, 0.15); color: #9ca3af; }

td[data-label="操作"] > div { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
/* 行内小图标操作按钮（订单/列表操作列） */
.op-group { display: inline-flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; align-items: center; }
.op-ico { width: 30px; height: 30px; min-width: 30px; padding: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--btn-ghost-bg); border: 1px solid var(--glass-border); color: var(--text-muted); cursor: pointer; transition: all .2s; text-decoration: none; font-size: 0; }
.op-ico svg { width: 16px; height: 16px; }
.op-ico:hover { color: var(--primary); border-color: var(--primary); background: var(--hover-bg-strong); transform: translateY(-1px); }
.op-ico.success:hover { color: #34d399; border-color: rgba(52,211,153,0.5); background: rgba(52,211,153,0.12); }
.op-ico.info:hover { color: #38bdf8; border-color: rgba(56,189,248,0.5); background: rgba(56,189,248,0.12); }
.op-ico.danger:hover { color: #f87171; border-color: rgba(248,113,113,0.5); background: rgba(248,113,113,0.12); }

@media (max-width: 768px) {
  .hero h1 { font-size: 24px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .card { padding: 16px; }
  .card .nm { font-size: 14px; }
  .toolbar { flex-direction: column; align-items: stretch; padding: 12px; }
  .toolbar .grow { min-width: 100%; }
  .toolbar > * { width: 100%; }
  table, thead, tbody, th, td, tr { display: block; width: 100%; }
  thead { display: none; }
  tbody { display: flex; flex-direction: column; gap: 16px; }
  tr { background: var(--tr-bg-mobile); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--glass-shadow); }
  td { border: none; border-bottom: 1px dashed var(--glass-border); padding: 12px 0; display: flex; justify-content: space-between; align-items: flex-start; text-align: right; gap: 16px; }
  td:last-child { border-bottom: 0; padding-bottom: 0; padding-top: 16px; }
  td::before { content: attr(data-label); font-weight: 600; color: var(--text-muted); font-size: 13px; text-align: left; flex-shrink: 0; width: 80px; padding-top: 2px; }
  td > div, td > span, td > b, td > a { flex: 1; min-width: 0; text-align: right; word-break: break-all; }
  td[data-label="明细"], td[data-label="操作"] { flex-direction: column; align-items: stretch; gap: 8px; }
  td[data-label="明细"]::before, td[data-label="操作"]::before { width: 100%; text-align: left; border-bottom: 1px solid var(--glass-border); padding-bottom: 8px; margin-bottom: 4px; }
  td[data-label="明细"] > div, td[data-label="操作"] > div { text-align: left; }
  td[data-label="操作"] > div { display: flex; flex-wrap: wrap; gap: 6px; }
  td[data-label="操作"] .op-ico { width: 34px; height: 34px; min-width: 34px; }
}

.badge { border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.badge.s0 { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.badge.s1 { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.badge.s2 { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.badge.s3 { background: rgba(107, 114, 128, 0.15); color: #9ca3af; }
.badge.s4 { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.badge.s5 { background: rgba(107, 114, 128, 0.15); color: #9ca3af; }
.badge.cust { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
.tag { display: inline-flex; align-items: center; background: var(--tag-bg); color: var(--tag-color); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 500; border: 1px solid rgba(255,255,255,0.1); }
.money-pos { color: #4ade80; font-weight: 600; } .money-neg { color: #f87171; font-weight: 600; }
.empty { text-align: center; color: var(--text-muted); padding: 60px 0; font-size: 15px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 24px 0; }
.pager button { height: 36px; padding: 0 16px; border: 1px solid var(--border); background: var(--btn-ghost-bg); color: var(--text-main); border-radius: 8px; cursor: pointer; font-weight: 500; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; }
.pager button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pager button:disabled { opacity: 0.4; cursor: not-allowed; }
.pager span { font-size: 14px; color: var(--text-muted); }

.toast { position: fixed; left: 50%; top: 30px; transform: translateX(-50%); background: var(--toast-bg); border: 1px solid var(--glass-border); color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 500; z-index: 9999; box-shadow: var(--glass-shadow); backdrop-filter: blur(10px); }

/* 弹窗毛玻璃 */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-mask { position: absolute; inset: 0; background: var(--mask); backdrop-filter: blur(8px); }
.modal-body { position: relative; background: var(--card-solid); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); width: 100%; max-width: 600px; border-radius: var(--radius-lg); max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--glass-shadow); animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.modal-head h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--text-main); }
.icon-btn { background: rgba(255,255,255,0.1); border: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.icon-btn:hover { background: rgba(255,255,255,0.2); color: var(--text-main); }
.modal-content { padding: 20px 22px; overflow-y: auto; flex: 1; }
.modal-content .row { gap: 14px; }
.modal-content .field { margin: 12px 0; }
.modal-content .field > span { font-size: 13px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; background: var(--foot-bg); border-radius: 0 0 var(--radius-lg) var(--radius-lg); flex-shrink: 0; }
@media(max-width: 600px) { .modal { padding: 0; align-items: flex-end; } .modal-body { max-height: 95vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; } .modal-foot { border-radius: 0; padding-bottom: max(16px, env(safe-area-inset-bottom)); } }
.m-price { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.m-price b { color: var(--primary); font-size: 22px; margin-left: 8px; }

/* ===== 2026-11 修复：移动端导航横向滚动，避免菜单被裁掉点不到 ===== */
@media (max-width: 768px) {
  .topbar .wrap { flex-wrap: wrap; align-items: center; row-gap: 6px; padding-top: 8px; padding-bottom: 8px; height: auto; min-height: 0; }
  .topbar .brand { order: 1; height: auto; }
  .topbar .top-actions { order: 2; margin-left: auto; }
  .top-nav { order: 3; flex: 0 0 100%; width: 100%; display: flex; flex-wrap: wrap; gap: 4px; overflow: visible; }
  .top-nav a { flex: 1 1 calc(33.333% - 4px); min-width: 0; justify-content: center; white-space: nowrap; padding: 7px 4px !important; font-size: 13px; }
  .top-nav a svg { display: none; }
  #userGreeting { display: none !important; }
}
/* 优惠券行：窄屏下换行显示，输入框可点 */
.chk-group .coupon-row2 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
@media (max-width: 480px) {
  .chk-group { flex-direction: column; align-items: stretch; }
  .chk-group .chk-box { width: 100%; }
  #f_coupon { flex: 1; width: auto !important; text-align: left !important; }
}
/* 通用输入弹窗（替代原生 prompt，移动端/微信内可用） */
#uiPromptModal { position: fixed; inset: 0; z-index: 10050; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 20px; }
#uiPromptModal .up-box { background: var(--card-solid, #fff); color: var(--text-main); width: 100%; max-width: 380px; border-radius: 14px; padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
#uiPromptModal h3 { margin: 0 0 12px; font-size: 16px; }
#uiPromptModal input, #uiPromptModal textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--input-bg); color: var(--text-main); font: inherit; }
#uiPromptModal .up-btns { display: flex; gap: 10px; margin-top: 14px; }
#uiPromptModal .up-btns button { flex: 1; padding: 11px; border-radius: 8px; border: 0; font-weight: 600; cursor: pointer; font-size: 14px; }
#uiPromptModal .up-ok { background: var(--primary); color: #fff; }
#uiPromptModal .up-cancel { background: var(--btn-ghost-bg, #eef2f7); color: var(--text-main); border: 1px solid var(--border) !important; }
#uiPromptModal .up-opts { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
#uiPromptModal .up-opts button { padding: 11px; border-radius: 8px; border: 1px solid var(--border); background: var(--input-bg); color: var(--text-main); cursor: pointer; font-size: 14px; }
#uiPromptModal .up-opts button:hover { border-color: var(--primary); color: var(--primary); }
.page-h1 { font-size: 32px; font-weight: 800; margin: 0 0 14px; letter-spacing: -.5px; }
@media (max-width: 768px) { .page-h1 { font-size: 24px; } }
.dc-login-tip { max-width: 1080px; margin: 0 auto 14px; padding: 12px 16px; border-radius: 10px; background: rgba(17,17,16,.12); border: 1px solid rgba(17,17,16,.35); color: var(--text-main); font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dc-login-tip a { color: var(--primary); font-weight: 700; text-decoration: none; }

/* ===== 阶段1：移动端触屏适配 ===== */
@media (max-width: 768px) {
  .wrap { padding: 0 12px; }
  .hero h1 { font-size: 24px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 14px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tabs .tab { flex: 0 0 auto; }
  .toolbar { flex-wrap: wrap; gap: 8px; }
  .toolbar input.grow { min-width: 100%; }
  .row { flex-direction: column; }
  .row > .field { width: 100% !important; }
  table { font-size: 13px; }
  .modal-body { max-width: 96vw !important; max-height: 88vh; overflow-y: auto; }
  .status-select { max-width: 110px; }
  #kanbanBoard { grid-template-columns: repeat(4, minmax(200px, 1fr)); }
  .btn.big { width: 100%; padding: 14px; font-size: 16px; }
}
/* 触屏设备加大点击区 */
@media (pointer: coarse) {
  .tab, .btn, .icon-btn { min-height: 40px; }
  .grid .card { cursor: pointer; }
  .kanban-card { min-height: 96px; }
}
/* 分享卡片样式（移动端分享用） */
.share-card { width: 320px; background: linear-gradient(135deg, #1e293b, #0f172a); border: 1px solid rgba(17,17,16,0.5); border-radius: 16px; padding: 24px; color: #f8fafc; text-align: center; }
.share-card .sc-title { font-size: 20px; font-weight: 800; }
.share-card .sc-sub { color: #94a3b8; font-size: 14px; margin: 6px 0 16px; }
.share-card .sc-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.15); }
.share-card .sc-price { color: var(--primary); font-size: 24px; font-weight: 800; margin: 12px 0; }
.share-card .sc-note { color: #94a3b8; font-size: 12px; margin-top: 12px; }
/* 下单流程 */
.flow-title { font-size: 18px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 12px; }
.flow-title small { color: var(--text-muted); font-size: 13px; font-weight: 400; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 12px 0 8px; }
.step { background: var(--glass-bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-align: center; }
.step .no { color: var(--primary); font-weight: 700; font-size: 13px; }
.step .t { font-size: 14px; font-weight: 600; margin-top: 6px; }
.step .d { color: var(--text-muted); font-size: 12px; margin-top: 4px; }
/* ===== 案例 / 评价 补充样式 ===== */
.case-card small { display:block; margin-top:3px; font-size:12px; font-weight:400; color:rgba(255,255,255,.82); }
.case-card { cursor: pointer; }
.case-count { position:absolute; top:10px; right:10px; z-index:2; background:rgba(0,0,0,.55); color:#fff; font-size:11px; padding:3px 8px; border-radius:999px; }
.cg-thumb { width:64px; height:46px; object-fit:cover; border-radius:8px; cursor:pointer; border:2px solid transparent; flex:0 0 auto; }
.cg-thumb.active { border-color:#111110; }
#caseGalleryModal .modal-body { background: transparent !important; }
.case-card-big { height: 230px; }
#caseGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { #caseGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { #caseGrid { grid-template-columns: 1fr; } }
.review-empty { grid-column: 1 / -1; text-align: center; padding: 26px 16px; color: var(--text-muted); font-size: 14px; background: var(--glass-bg); border: 1px dashed var(--border); border-radius: 14px; }
@media (max-width: 1024px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .case-grid { grid-template-columns: 1fr; } .case-card-big { height: 190px; } }
/* ===== 首页门店位置：信息卡 ===== */
.store-loading { padding:18px 16px; color:var(--text-muted); font-size:14px; }
.store-wrap { display:grid; grid-template-columns:1fr; gap:18px; margin-bottom:26px; }
.store-card { background:var(--card); border:1px solid var(--border); border-radius:16px; padding:22px 24px; display:flex; flex-direction:column; gap:16px; box-shadow:0 6px 24px rgba(15,23,42,.06); }
.store-head { display:flex; align-items:center; gap:14px; }
.store-badge { width:52px; height:52px; flex-shrink:0; border-radius:14px; background:linear-gradient(135deg,#111110,var(--n37-accent,#39FF8F)); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 18px rgba(17,17,16,.28); }
.store-badge svg { width:26px; height:26px; }
.store-name { font-size:18px; font-weight:700; color:var(--text-main); line-height:1.35; }
.store-tag { display:inline-block; margin-top:6px; font-size:12px; padding:2px 9px; border-radius:999px; background:rgba(17,17,16,.12); color:#111110; font-weight:600; }
.store-rows { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.store-rows li { display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--text-muted); line-height:1.55; }
.store-rows li svg { width:18px; height:18px; flex-shrink:0; margin-top:2px; color:#111110; }
.store-rows a { color:var(--text-main); text-decoration:none; }
.store-rows a:hover { color:#111110; }
.store-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:auto; padding-top:4px; }
.store-wrap.with-qr { grid-template-columns:minmax(0,1fr) 238px; }
.store-qr { background:var(--card); border:1px solid var(--border); border-radius:16px; padding:16px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; box-shadow:0 6px 24px rgba(15,23,42,.06); }
.store-qr img { width:168px; height:168px; object-fit:contain; background:#fff; padding:6px; border:1px solid var(--border); border-radius:10px; display:block; }
.store-qr-text { font-size:13px; color:var(--text-muted); text-align:center; line-height:1.5; }
@media (max-width:820px) {
  .store-wrap, .store-wrap.with-qr { grid-template-columns:1fr; }
  .store-card { padding:18px 18px; }
  .store-qr img { width:150px; height:150px; }
}

/* ===== 首页改版 v2：首屏 / 快速报价 / 物料卡 / 案例评价 / 手机底栏 ===== */
.hero2 { padding: 28px 0 4px; }
.hero2-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 26px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(17,17,16,.12); color: var(--primary); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.hero2-title { margin: 14px 0 10px; font-size: 38px; line-height: 1.22; font-weight: 800; letter-spacing: -.5px; text-align: left; }
.hero2-title .hl { color: var(--primary); }
.hero2-sub { margin: 0 0 20px; color: var(--text-muted); font-size: 15px; max-width: 560px; }
.hero2-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero2-ctas .btn.big { width: auto; margin-top: 0; padding: 0 26px; }
.hero2-trust { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; color: var(--text-muted); font-size: 13px; }
.hero2-trust b { color: var(--text-main); font-weight: 600; }
/* 快速报价卡 */
.qcard2 { background: var(--card-solid, var(--card)); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: 0 18px 50px rgba(15,23,42,.10); }
.qcard2 h3 { margin: 0 0 4px; font-size: 17px; }
.qcard2 > p { margin: 0 0 14px; color: var(--text-muted); font-size: 13px; }
.qc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qc-row .field { margin: 0 0 12px; }
.qcard2 .field > span { font-size: 12px; }
.qc-result { margin-top: 6px; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(17,17,16,.10), rgba(17,17,16,.04)); border: 1px solid rgba(17,17,16,.25); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.qc-result small { display: block; color: var(--text-muted); font-size: 12px; }
.qc-result b { font-size: 24px; color: var(--primary); }
.qc-result .btn { padding: 10px 18px; height: auto; font-size: 14px; }
/* 服务承诺 */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 4px; }
.promise > div { background: var(--card-solid, var(--card)); border: 1px solid var(--border); border-radius: 14px; padding: 13px 16px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; box-shadow: var(--glass-shadow); }
.promise i { display: flex; width: 34px; height: 34px; border-radius: 10px; background: rgba(17,17,16,.12); align-items: center; justify-content: center; font-style: normal; flex-shrink: 0; }
/* 区块标题 */
.sec-head { display: flex; align-items: baseline; gap: 10px; margin: 30px 0 14px; flex-wrap: wrap; }
.sec-head .sec-title { margin: 0; }
.sec-sub { color: var(--text-muted); font-size: 13px; }
/* 物料卡 v2 */
#productGrid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
#productGrid .card { padding: 0; overflow: hidden; gap: 0; }
.pcard-img { height: 150px; background: var(--box-bg, #eef2f7) center/cover no-repeat; }
.pcard-img.placeholder { display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; font-weight: 700; background: linear-gradient(135deg, rgba(148,163,184,.16), rgba(148,163,184,.06)); }
.pcard-img.placeholder span { opacity: .85; }
.pcard-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 6px; }
.pcard-name { font-size: 16px; font-weight: 700; color: var(--text-main); display: block; line-height: 1.35; }
.pcard-note { display: flex; align-items: center; min-height: 20px; }
.pcard-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary); background: rgba(17,17,16,.12); border-radius: 6px; padding: 2px 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pcard-price { margin-top: 2px; display: flex; align-items: baseline; gap: 4px; }
.pcard-price b { color: var(--primary); font-size: 20px; font-weight: 800; }
.pcard-price small { color: var(--text-muted); font-size: 12px; }
.pcard-act { margin-top: 6px; height: 34px; border-radius: 9px; border: 1px solid rgba(17,17,16,.5); color: var(--primary); background: transparent; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all .18s; }
#productGrid .card:hover .pcard-act { background: var(--primary); border-color: transparent; color: #fff; }
#productGrid .card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15,23,42,.12); }
/* 流程紧凑条 */
.flow-strip { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 22px 0 4px; padding: 12px 16px; background: var(--glass-bg); border: 1px solid var(--border); border-radius: 12px; color: var(--text-muted); font-size: 13px; }
.flow-strip > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.flow-strip b { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: rgba(17,17,16,.14); color: var(--primary); align-items: center; justify-content: center; font-size: 11px; }
/* 表单瘦身 */
.form-tip { margin: -6px 0 14px; color: var(--text-muted); font-size: 13px; }
.more-toggle { width: 100%; margin: 8px 0 10px; padding: 12px 14px; border: 1px solid rgba(17,17,16,.35); border-radius: 12px; background: linear-gradient(180deg, rgba(17,17,16,.07), rgba(17,17,16,.02)); color: var(--text-main); cursor: pointer; display: flex; align-items: center; gap: 12px; text-align: left; transition: all .18s; font-family: inherit; }
.more-toggle:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(17,17,16,.12); transform: translateY(-1px); }
.more-toggle .mt-ico { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px; background: linear-gradient(135deg,#111110,var(--n37-accent,#39FF8F)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 6px 14px rgba(17,17,16,.25); }
.more-toggle .mt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.more-toggle .mt-txt b { font-size: 14px; font-weight: 700; color: var(--text-main); }
.more-toggle .mt-txt small { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more-toggle .mt-chev { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--primary); background: rgba(17,17,16,.12); padding: 5px 10px; border-radius: 999px; }
.more-toggle .mt-chev i { font-style: normal; font-size: 11px; transition: transform .2s; }
.more-toggle.open { border-color: var(--primary); background: linear-gradient(180deg, rgba(17,17,16,.13), rgba(17,17,16,.05)); }
.more-toggle.open .mt-chev i { transform: rotate(180deg); }
@media (max-width: 560px) { .more-toggle .mt-txt small { white-space: normal; } }
/* 案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case-card { position: relative; border-radius: 16px; overflow: hidden; height: 190px; background: #0f172a center/cover no-repeat; box-shadow: var(--glass-shadow); }
.case-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2,6,23,.78)); z-index: 1; }
.case-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; background: #0f172a; }
.case-card b { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; font-size: 14px; z-index: 2; }
/* 评价 */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card { background: var(--card-solid, var(--card)); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; box-shadow: var(--glass-shadow); }
.review-stars { color: #B7791F; font-size: 13px; letter-spacing: 1px; }
.review-card p { margin: 8px 0 12px; font-size: 14px; color: var(--text-main); line-height: 1.7; }
.review-who { display: flex; align-items: center; gap: 9px; color: var(--text-muted); font-size: 12px; }
.review-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#cbd5e1,#94a3b8); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; }
/* 手机底部操作条 */
.mbar { display: none; }
@media (max-width: 1024px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2-title { font-size: 30px; }
  .promise { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .review-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { padding-bottom: 68px; }
  .hero2 { padding-top: 14px; }
  .hero2-title { font-size: 26px; }
  .hero2-sub { font-size: 14px; }
  .hero2-ctas .btn.big { flex: 1 1 auto; padding: 0 16px; font-size: 15px; }
  #productGrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-img { height: 110px; }
  .pcard-body { padding: 10px 11px 12px; }
  .pcard-name { font-size: 14px; }
  .pcard-price b { font-size: 17px; }
  .pcard-act { height: 32px; font-size: 12px; }
  .case-grid, .review-grid { grid-template-columns: 1fr; }
  .case-card { height: 170px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); gap: 9px; }
  .mbar-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 11px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; font-family: inherit; }
  .mbar-btn.call { background: rgba(17,17,16,.12); color: var(--primary); text-decoration: none; }
  .mbar-btn.wx { background: #e8f7ee; color: #15803d; }
  .mbar-btn.go { background: var(--primary); color: #fff; }
  html[data-theme="original"] .mbar { background: rgba(15,23,42,.95); border-top-color: rgba(255,255,255,.12); }
  html[data-theme="original"] .mbar-btn.wx { background: rgba(34,197,94,.16); color: #86efac; }
}

/* ===== 2026-11 UI 优化（P0/P1） ===== */
#caseListAll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#reviewGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcard-price, .pcard-price small { white-space: nowrap; }
.pcard-price small { font-size: 11px; }
.skel { border-radius: 16px; height: 300px; background: linear-gradient(90deg, rgba(148,163,184,.10) 25%, rgba(148,163,184,.20) 37%, rgba(148,163,184,.10) 63%); background-size: 400% 100%; animation: skelShine 1.4s ease infinite; }
@keyframes skelShine { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 2px; }
.dc-chip { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--btn-ghost-bg); color: var(--text-muted); cursor: pointer; }
.dc-chip:hover { color: var(--primary); border-color: var(--primary); }
@media (max-width: 1024px) {
  #caseListAll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #reviewGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  #viewAdmin > section.hero { padding: 2px 0 0 !important; }
  #viewAdmin > section.hero .page-h1 { font-size: 20px !important; }
  #viewAdmin > section.hero p { display: none !important; }
  #viewAdmin .tabs { margin-top: 10px; }
  #adminPanel .tab-group-label { display: none; }
  #adminPanel .tab-group { margin-right: 6px; padding-right: 6px; }
  #adminPanel .tab { padding: 8px 10px; font-size: 13px; }
  .toolbar { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; align-items: stretch; }
  .toolbar > .grow, .toolbar > input, .toolbar > select { grid-column: 1 / -1; width: 100%; }
  .toolbar > button { width: 100%; }
  #loginBox { margin: 14px auto 24px !important; }
  #productAdminList td[data-label="排序"] { padding: 10px 0; }
  #productAdminList td[data-label="排序"] > div { flex-direction: row !important; gap: 12px !important; }
  #productAdminList td[data-label="排序"]::before { width: auto; }
  #caseListAll { grid-template-columns: 1fr; }
  #reviewGrid { grid-template-columns: 1fr; }
  .case-card-big { height: 200px; }
  }

/* ===== 2026-11 UI 优化（第二批） ===== */
.store-open { display: inline-block; margin: 6px 0 0 6px; font-size: 12px; padding: 2px 9px; border-radius: 999px; font-weight: 700; }
.store-open.on { background: rgba(34,197,94,.14); color: #16a34a; }
.store-open.off { background: rgba(148,163,184,.18); color: #64748b; }
html[data-theme="original"] .store-open.on { color: #4ade80; }
html[data-theme="original"] .store-open.off { color: #94a3b8; }
.store-pin-pulse { animation: pinPulse 2.2s ease-out infinite; transform-origin: 205px 128px; }
@keyframes pinPulse { 0% { opacity: .9; transform: scale(.7); } 70% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; transform: scale(1.5); } }
.review-summary { font-size: 13px; color: var(--text-muted); margin-left: 4px; }
.review-summary b { color: #B7791F; font-size: 16px; }
.skel-case { height: 190px; }
.fhint { display: none; color: #f87171; font-size: 12px; font-style: normal; margin-top: 5px; }
.field.bad input, .field.bad textarea { border-color: #f87171 !important; box-shadow: 0 0 0 3px rgba(248,113,113,.14) !important; }
.dim-presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 2px; }
.dim-tip { font-size: 12px; color: var(--text-muted); }
.dim-chip { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--btn-ghost-bg); color: var(--text-main); cursor: pointer; }
.dim-chip:hover, .dim-chip.on { border-color: var(--primary); color: var(--primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.card[data-pid], .case-card, .review-card { transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.card[data-pid]:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,23,42,.12); }
.case-card:hover { filter: brightness(1.06); }
.nav-link:focus-visible, .top-nav a:focus-visible { outline-offset: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
/* ===== 2026-11 UI 优化（第三批） ===== */
.promo-row { display: flex; gap: 12px; flex-wrap: wrap; }
.promo-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; border: 1px dashed rgba(17,17,16,.55); background: linear-gradient(135deg, rgba(17,17,16,.10), rgba(17,17,16,.03)); color: var(--text-main); cursor: pointer; text-align: left; font-family: inherit; transition: all .18s; }
.promo-chip:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,17,16,.16); }
.pc-tag { background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; padding: 4px 9px; border-radius: 8px; white-space: nowrap; }
.pc-name { font-size: 14px; font-weight: 700; }
.pc-cond { font-size: 12px; color: var(--text-muted); }
.pc-code { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--primary); border: 1px dashed rgba(17,17,16,.5); border-radius: 6px; padding: 2px 7px; }
.flow-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 22px 0 6px; }
.flow-step { display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; border-radius: 14px; background: var(--card-solid, var(--card)); border: 1px solid var(--border); box-shadow: 0 4px 16px rgba(15,23,42,.05); }
.fs-ico { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; background: rgba(17,17,16,.12); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.flow-step b { display: block; font-size: 13.5px; color: var(--text-main); line-height: 1.4; }
.flow-step small { display: block; margin-top: 3px; font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.case-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 4px; }
.filter-chip { font-size: 13px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--btn-ghost-bg); color: var(--text-muted); cursor: pointer; font-family: inherit; }
.filter-chip em { font-style: normal; opacity: .65; font-size: 12px; margin-left: 2px; }
.filter-chip:hover { color: var(--primary); border-color: var(--primary); }
.filter-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-chip.on em { opacity: .85; }
.back-top { position: fixed; right: 18px; bottom: 92px; z-index: 95; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--card-solid, var(--card)); color: var(--text-main); font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 26px rgba(15,23,42,.18); }
.back-top:hover { color: var(--primary); border-color: var(--primary); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qc-hint { font-size: 14px !important; color: var(--text-muted) !important; font-weight: 500 !important; }
@media (max-width: 1024px) { .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow-step:last-child { grid-column: 1 / -1; } }
@media (max-width: 768px) {
  .promo-row { flex-direction: column; }
  .promo-chip { width: 100%; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step:last-child { grid-column: auto; }
  .back-top { bottom: 84px; right: 14px; width: 40px; height: 40px; }
}

/* ===== 2026-11 UI 优化（第四批） ===== */
@media (max-width: 768px) { #siteFooter { font-size: 12px !important; padding: 14px 8px !important; } }

/* ===== 2026-11 UI 优化（第五批） ===== */
/* ===== 2026-11 UI 优化（第六批：FAQ / 服务范围 / 订单筛选） ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card-solid, var(--card)); border: 1px solid var(--border); border-radius: 14px; padding: 4px 16px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 14px 0; font-size: 14.5px; font-weight: 700; color: var(--text-main); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '＋'; color: var(--primary); font-size: 18px; font-weight: 700; flex: 0 0 auto; transition: transform .18s; }
.faq-item[open] summary::after { content: '－'; }
.faq-item p { margin: 0 0 14px; color: var(--text-muted); font-size: 13.5px; line-height: 1.75; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tags span { font-size: 13px; color: var(--text-muted); background: var(--btn-ghost-bg); border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; }
.status-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.s-chip { font-size: 13px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--btn-ghost-bg); color: var(--text-muted); cursor: pointer; font-family: inherit; }
.s-chip:hover { color: var(--primary); border-color: var(--primary); }
.s-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 768px) { .faq-item summary { font-size: 14px; } .area-tags span { font-size: 12.5px; padding: 5px 11px; } }

/* ===== 2026-11 UI 优化（第七批：FAQ 两栏 / 评价图片 / 订单卡） ===== */
.faq-area-wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 28px; }
.faq-area-wrap > section { margin-top: 0 !important; }
.rv-upload { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 1px dashed var(--border); border-radius: 10px; background: var(--input-bg); color: var(--text-muted); font-size: 13px; cursor: pointer; }
.rv-upload input { display: none; }
.rv-upload:hover { border-color: var(--primary); color: var(--primary); }
.rv-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rv-thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-thumb button { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(15,23,42,.72); color: #fff; font-size: 11px; line-height: 20px; cursor: pointer; padding: 0; }
.review-imgs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.review-imgs img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); cursor: zoom-in; }
@media (max-width: 900px) { .faq-area-wrap { grid-template-columns: 1fr; } }
/* 悬浮联系方式（桌面） */
.float-contact { position: fixed; right: 18px; bottom: 154px; z-index: 96; display: flex; flex-direction: column; gap: 10px; }
.fc-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--card-solid, var(--card)); color: var(--text-main); font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; box-shadow: 0 10px 26px rgba(15,23,42,.18); }
.fc-btn:hover { transform: translateY(-2px); }
.fc-btn.call { background: var(--primary); border-color: transparent; color: #fff; }
.fc-btn.wx { color: #16a34a; }
@media (max-width: 768px) { .float-contact { display: none; } }

/* 微信按钮统一品牌绿 #07C160 */
#heroWxBtn, #faWx, #areaWx { background: #07C160 !important; border-color: #07C160 !important; color: #fff !important; }
#heroWxBtn:hover, #faWx:hover, #areaWx:hover { background: #06AD56 !important; border-color: #06AD56 !important; color: #fff !important; }
.fc-btn.wx { background: #07C160 !important; border-color: transparent !important; color: #fff !important; }
.fc-btn.wx:hover { background: #06AD56 !important; color: #fff !important; }
.mbar-btn.wx { background: #07C160 !important; color: #fff !important; }
.mbar-btn.wx:hover { background: #06AD56 !important; }
html[data-theme="original"] .mbar-btn.wx { background: #07C160 !important; color: #fff !important; }

/* 图片可点开放大 */
#mContent .m-prod-img img, .store-qr img { cursor: zoom-in; }

/* 评价筛选 */
.review-filter { display: flex; gap: 8px; margin: 0 0 12px; }
.review-filter .filter-chip { font-size: 13px; }

/* 服务承诺卡（FAQ 右列） */
.area-card { margin-top: 14px; background: var(--card-solid, var(--card)); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.area-card b { display: block; font-size: 14px; margin-bottom: 10px; }
.area-card ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 7px; color: var(--text-muted); font-size: 13px; }
.area-card-cta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--text-muted); font-size: 13px; }
.area-card-cta .btn { padding: 6px 12px; font-size: 13px; }
.btn.wx-green, .area-card-cta .btn.wx-green { background: #07C160 !important; border-color: #07C160 !important; color: #fff !important; }
.btn.wx-green:hover { background: #06AD56 !important; border-color: #06AD56 !important; }
.area-card.trust-card { padding: 20px 20px 16px; }
.area-card.trust-card ul li { font-size: 13.5px; }
.area-note { margin: 12px 0 0; font-size: 12px; color: var(--text-muted); }

@media (max-width: 768px) {
  #adminList tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 10px; padding: 12px 14px; }
  #adminList td { display: block; width: auto; padding: 2px 0 !important; border: none !important; text-align: left !important; }
  #adminList td::before { display: none !important; }
  #adminList td > div, #adminList td > span, #adminList td > b, #adminList td > a { flex: none; text-align: left; word-break: break-word; }
  #adminList td[data-label="订单信息"] { grid-column: 1 / -1; font-size: 13px; }
  #adminList td[data-label="客户信息"] { grid-column: 1; font-size: 13px; }
  #adminList td[data-label="金额"] { grid-column: 2; text-align: right !important; }
  #adminList td[data-label="金额"] > div { text-align: right; }
  #adminList td[data-label="明细"] { grid-column: 1 / -1; font-size: 12px; color: var(--text-muted); max-height: 34px; overflow: hidden; }
  #adminList td[data-label="状态"] { grid-column: 1; align-self: center; }
  #adminList td[data-label="操作"] { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px dashed var(--glass-border) !important; padding-top: 8px !important; margin-top: 4px; }
}
.form-grid { display: block; max-width: none; margin: 0; }
.form-main { min-width: 0; }
.form-aside .fa-card { position: sticky; top: 84px; background: var(--card-solid, var(--card)); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 6px 24px rgba(15,23,42,.06); }
.fa-card b { display: block; font-size: 15px; margin-bottom: 12px; }
.fa-card ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 9px; color: var(--text-muted); font-size: 13.5px; }
.fa-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fa-note { margin: 12px 0 0; font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.store-promise { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.store-promise span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(17,17,16,.08); color: var(--primary); border: 1px solid rgba(17,17,16,.18); }
#caseGrid .case-card { height: 180px; background-position: center 35%; }
.hero2-stats { gap: 8px; }
.hero2-stats .hs-item { display: inline-flex; align-items: baseline; gap: 3px; background: rgba(17,17,16,.07); border: 1px solid rgba(17,17,16,.18); color: var(--text-muted); border-radius: 999px; padding: 4px 12px; }
.qa-title { flex: 0 0 auto; white-space: nowrap; }
@media (min-width: 769px) {
  #viewAdmin > section.hero { padding: 4px 0 0 !important; }
  #viewAdmin > section.hero .page-h1 { font-size: 26px !important; margin: 0 0 4px !important; }
  #viewAdmin > section.hero p { margin: 0 !important; }
  #adminPanel .tabs { margin: 10px 0 12px; }
  #adminPanel .tab { padding: 6px 10px; font-size: 13px; }
  #adminPanel .tab-group-label { font-size: 10px; opacity: .38; }
}
@media (max-width: 1024px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-aside { display: none; }
}
@media (max-width: 768px) {
  .flow-steps { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 0 2px 8px; -webkit-overflow-scrolling: touch; }
  .flow-step { flex: 0 0 78%; scroll-snap-align: start; }
  .flow-step:last-child { grid-column: auto; }
  .store-qr { flex-direction: row; justify-content: center; gap: 14px; padding: 14px; }
  .store-qr img { width: 112px; height: 112px; }
  .store-qr-text { text-align: left; max-width: 170px; }
  #adminList tbody { gap: 12px; }
  #adminList tr { padding: 12px 14px; }
  #adminList td { padding: 7px 0; font-size: 13px; }
  #adminList td::before { width: 66px; font-size: 12px; }
  #adminList td[data-label="订单信息"] > div { font-size: 13px; }
  #adminList td[data-label="明细"] { padding: 6px 0; }
  #adminList td[data-label="明细"] > div { max-height: 38px; overflow: hidden; }
  #adminList td[data-label="金额"] { padding: 6px 0; }
  #adminList td[data-label="操作"] { padding-top: 8px; }
  .admin-quick .qa-title { display: none; }
  .hero2-stats { gap: 6px; }
  .hero2-stats .hs-item { padding: 3px 9px; }
}
#shareModal .modal-body { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
.hero2-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; color: var(--text-muted); font-size: 13px; }
.hero2-stats b { color: var(--primary); font-size: 15px; font-weight: 800; margin-right: 2px; }
.hs-dot { opacity: .4; }
.m-prod-img { margin-bottom: 14px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--input-bg); }
.m-prod-img img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.m-prod-meta { font-size: 13px; color: var(--text-muted); margin: -4px 0 14px; }
.m-prod-meta b { color: var(--primary); font-size: 17px; font-weight: 800; }
.sc-next { margin: 14px 0 4px; padding: 12px 14px; border-radius: 12px; background: rgba(17,17,16,.08); border: 1px solid rgba(17,17,16,.28); text-align: left; }
.sc-next b { font-size: 13px; color: var(--primary); }
.sc-next ol { margin: 6px 0 0; padding-left: 18px; color: var(--text-muted); font-size: 12.5px; line-height: 1.8; }
.admin-quick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.qa-title { font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: .04em; margin-right: 2px; }
.qa-btn { font-size: 13px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--btn-ghost-bg); color: var(--text-main); cursor: pointer; font-family: inherit; transition: all .16s; }
.qa-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
@media (max-width: 768px) { .admin-quick { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; } .qa-btn { flex: 0 0 auto; } }


/* ===== 后台布局 v2：左侧分组导航 ===== */
#adminPanel[data-layout="1"] { display: flex; align-items: flex-start; gap: 18px; margin-top: 14px; }
.admin-side { flex: 0 0 220px; position: sticky; top: 12px; }
.admin-side-brand { position: relative; overflow: hidden; background: var(--card); color: var(--text-main); border: 1px solid var(--border); border-bottom: 0; border-radius: 14px 14px 0 0; padding: 14px 16px; }
.admin-side-brand::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--primary); }
.admin-side-brand b { display: block; font-size: 15px; letter-spacing: .02em; color: var(--text-main); }
.admin-side-brand span { display: block; font-size: 11px; color: var(--text-muted); opacity: 1; margin-top: 3px; }
.admin-side-title { font-size: 11px; letter-spacing: .12em; color: var(--text-muted); background: var(--card); border: 1px solid var(--border); border-top: 0; border-bottom: 0; padding: 9px 16px 3px; }
.admin-side .tabs { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 2px; margin: 0; padding: 6px 8px 10px; position: static; max-height: calc(100vh - 60px); overflow-y: auto; overflow-x: hidden; background: var(--card); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 6px 24px rgba(15, 23, 42, .06); }
.admin-side .tabs::-webkit-scrollbar { width: 5px; }
.admin-side .tabs::-webkit-scrollbar-thumb { background: rgba(148,163,184,.35); border-radius: 99px; }
.admin-side .tabs .tab-group { display: block; width: 100%; margin: 0; padding: 0; border: 0; }
.admin-side .tabs .tab-group + .tab-group { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--border); }
.admin-side .tabs .tab-group-label { display: block; margin: 6px 10px 4px; font-size: 10.5px; letter-spacing: .12em; opacity: .55; }
.admin-side .tabs .tab { width: 100%; justify-content: flex-start; text-align: left; border: 0; border-left: 3px solid transparent; border-radius: 9px; padding: 9px 10px; margin: 1px 0; font-size: 13.5px; color: var(--text-muted); }
.admin-side .tabs .tab:hover { background: var(--btn-ghost-bg, rgba(148,163,184,.10)); color: var(--text-main); }
.admin-side .tabs .tab.active { border-left-color: var(--primary); background: var(--btn-ghost-bg, rgba(17,17,16,.10)); color: var(--primary); font-weight: 800; }
.admin-side .tabs .tab svg { width: 15px; height: 15px; opacity: .9; }
.admin-main { flex: 1 1 auto; min-width: 0; }
.admin-page-title { font-size: 19px; font-weight: 800; margin: 2px 0 12px; color: var(--text-main); }
.admin-page-title:empty { display: none; }
.admin-main .admin-quick { margin: 0 0 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 9px 12px; }
.admin-main > div[id^="tab"] > .toolbar { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
/* ===== 生图套餐页 ===== */
.ds-wrap { max-width: 1168px; }
.ds-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 2px 0 16px; }
.ds-head h2 { display: none; }
.ds-head p { margin: 4px 0 0; color: var(--text-muted); font-size: 12.5px; }
.ds-tabs { display: flex; gap: 4px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 4px; }
.ds-tab { border: 0; background: none; color: var(--text-muted); font: inherit; font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 8px; cursor: pointer; }
.ds-tab:hover { color: var(--text-main); background: var(--btn-ghost-bg, rgba(148,163,184,.10)); }
.ds-tab.active { background: var(--primary); color: #fff; }
html[data-theme="neon"] .ds-tab.active { color: #12002B; }
.ds-pane { display: none; }
.ds-pane.active { display: block; }
.ds-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; align-items: start; }
.ds-pane[data-ds-pane="overview"] .ds-grid-2 { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); }
.ds-grid-wide-left { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.ds-card { margin: 0; padding: 16px 18px; }
.ds-card .settings-card-title { margin: 0 0 4px; }
.ds-hint { font-size: 12px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.6; }
.ds-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ds-card-head .ds-hint { margin-bottom: 10px; }
.ds-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 12px; margin-top: 12px; }
.ds-form-grid .field { margin: 0; }
.ds-form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.ds-form-title { font-size: 13px; font-weight: 700; margin: 0 0 2px; }
.ds-divider { height: 1px; background: var(--border); margin: 14px 0 2px; }
.ds-check { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.ds-check input { width: auto; }
.ds-inline-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ds-inline-actions select { padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--input-bg); color: var(--text-main); }
.ds-credit-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; align-items: end; margin-top: 10px; }
.ds-credit-form .field:nth-child(3) { grid-column: 1 / -1; }
.ds-credit-form > button { grid-column: 1 / -1; justify-self: start; }
.ds-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; font-size: 13px; }
.ds-row:last-child { border-bottom: 0; }
.ds-row-actions { margin-left: auto; display: flex; gap: 8px; }
.ds-tpl-row { align-items: flex-start; }
.ds-tpl-main { flex: 1 1 180px; min-width: 0; }
.ds-tpl-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ds-tpl-prompt { font-size: 12px; color: var(--text-muted); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1100px) {
  .ds-grid-2, .ds-pane[data-ds-pane="overview"] .ds-grid-2, .ds-grid-wide-left { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ds-form-grid, .ds-credit-form { grid-template-columns: 1fr; }
  .ds-tabs { width: 100%; }
  .ds-tab { flex: 1; text-align: center; }
}
/* ===== 设置类页面 & 其余列表统一 ===== */
/* 页面标题已显示模块名，隐藏工具栏里重复的加粗标题 */
.admin-main > div[id^="tab"] > .toolbar > span[style*="font-weight:700"] { display: none; }
#tabLogs > div:first-child[style*="font-weight:700"] { display: none; }
/* 订单看板：4 列自适应，窄屏 2 列，避免第 4 列被裁切 */
#kanbanBoard { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px !important; align-items: stretch !important; }
#kanbanBoard .kanban-col { min-height: 240px; }
@media (max-width: 1200px) { #kanbanBoard { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { #kanbanBoard { grid-template-columns: 1fr !important; } }

.settings-wrap > h2 { display: none; }
.settings-grid { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; }
@media (max-width: 1000px) { .settings-grid { grid-template-columns: 1fr; } }
.admin-main div[id^="tab"] h4 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 22px 0 10px; }
.admin-main div[id^="tab"] h4::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--primary); }
#productionList, #staffList, #taskList, #storeList, #couponList, #memberLevelList, #salesList, #errorLogList, #opsLogList, #invoiceApplyList, #quoteApproveList, #capacityCalendar {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 14px; box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
#productionList table, #staffList table, #taskList table, #storeList table, #couponList table, #memberLevelList table, #salesList table, #errorLogList table, #opsLogList table, #invoiceApplyList table, #quoteApproveList table, #capacityCalendar table { box-shadow: none; border: 0; background: transparent; backdrop-filter: none; }
#productionList th, #productionList td, #staffList th, #staffList td, #taskList th, #taskList td, #storeList th, #storeList td, #couponList th, #couponList td, #memberLevelList th, #memberLevelList td, #salesList th, #salesList td, #errorLogList th, #errorLogList td, #opsLogList th, #opsLogList td, #invoiceApplyList th, #invoiceApplyList td, #quoteApproveList th, #quoteApproveList td, #capacityCalendar th, #capacityCalendar td { padding: 12px 14px; }
#productionList th, #staffList th, #taskList th, #storeList th, #couponList th, #memberLevelList th, #salesList th, #errorLogList th, #opsLogList th, #invoiceApplyList th, #quoteApproveList th, #capacityCalendar th { position: sticky; top: 0; z-index: 2; background: var(--card); }
#productionList .empty, #staffList .empty, #taskList .empty, #storeList .empty, #couponList .empty, #salesList .empty, #errorLogList .empty, #opsLogList .empty, #invoiceApplyList .empty, #quoteApproveList .empty { padding: 44px 16px; }
#kanbanBoard { margin-bottom: 6px; }
#kanbanBoard .kanban-col { box-shadow: 0 4px 16px rgba(15,23,42,.05); }
#kanbanLegend { font-size: 12px; line-height: 1.9; padding: 0 4px; }
/* ===== 列表页统一（订单 / 客户 / 日志等） ===== */
.list-head { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px 12px; margin-bottom: 14px; box-shadow: 0 4px 16px rgba(15,23,42,.04); }
.list-head-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.list-desc { margin: 0; color: var(--text-muted); font-size: 12.5px; line-height: 1.65; padding-top: 5px; }
.list-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.list-head-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.list-head-filters .grow { flex: 1; min-width: 220px; }
.list-head-filters input, .list-head-filters select { height: 38px; }
.list-head .status-chips { margin: 10px 0 0; padding: 0; border: 0; }
.list-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(15,23,42,.04); }
.list-card #adminList, .list-card #customerList { overflow-x: auto; }
.list-card #adminList table, .list-card #customerList table { box-shadow: none; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; }
.list-card #adminList th, .list-card #adminList td, .list-card #customerList th, .list-card #customerList td { padding: 12px 14px; }
.list-card #adminList th, .list-card #customerList th { position: sticky; top: 0; z-index: 2; background: var(--card); border-bottom: 1px solid var(--border); }
.list-card #adminList tbody tr:hover, .list-card #customerList tbody tr:hover { background: var(--btn-ghost-bg, rgba(148,163,184,.08)); }
.list-card .empty { padding: 48px 16px; }
.list-card .pager { margin: 0; padding: 10px 14px; border-top: 1px solid var(--border); justify-content: flex-end; }
@media (max-width: 640px) {
  .list-head { padding: 12px; }
  .list-head-filters .grow { min-width: 100%; }
  .list-head-actions { width: 100%; }
  .list-card .pager { justify-content: center; }
}
/* ===== 产能日历 / 看板趋势图 ===== */
#capacityCalendar { padding: 16px 18px; }
.cap-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.cap-head b { font-size: 14px; }
.cap-head input { padding: 6px 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--input-bg); color: var(--text-main); }
.cap-week { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; font-size: 11px; color: var(--text-muted); text-align: center; margin-bottom: 6px; }
.cap-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.cap-cell { min-height: 58px; border-radius: 9px; background: var(--input-bg); border: 1px solid var(--border); padding: 7px 8px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.cap-cell.weekend { background: rgba(148,163,184,.06); }
.cap-cell.has { border-color: rgba(16,185,129,.5); background: rgba(16,185,129,.08); }
.cap-cell.cap-blank { background: transparent; border-color: transparent; }
.cap-day { font-size: 11px; color: var(--text-muted); }
.cap-count { font-size: 12px; font-weight: 700; color: #94a3b8; }
.cap-cell.has .cap-count { color: #10b981; }
.cap-dot { position: absolute; right: 8px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #10b981; }
.cap-empty { margin-top: 10px; font-size: 12px; color: var(--text-muted); text-align: center; padding: 10px; border: 1px dashed var(--border); border-radius: 8px; }
#tabDashboard .settings-card:has(#dashTrend){display:flex;flex-direction:column}
#dashTrend{flex:1;display:flex;min-height:0}
.dash-bars { display:flex; align-items:stretch; gap:12px; flex:1; min-height:200px; padding:16px 6px 0; }
.dash-bar-col { flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:6px; }
.dash-bar-val { font-size:11px; color:var(--text-muted); height:14px; white-space:nowrap; font-weight:500; }
.dash-bar-track { width:100%; max-width:44px; flex:1; min-height:120px; display:flex; align-items:flex-end; justify-content:center; padding:3px; box-sizing:border-box; background:var(--bg-sunken); border:1px solid var(--line); border-radius:8px; }
.dash-bar { width:100%; border-radius:6px; background:linear-gradient(180deg,var(--primary-hover,var(--n37-accent,#39FF8F)),var(--primary,#111110)); min-height:4px; }
.dash-bar.zero { background:var(--line-strong); height:4px !important; }
.dash-bar-day { font-size:11px; color:var(--text-muted); white-space:nowrap; }
#tabDashboard .settings-card:has(#dashTrend) { grid-column: span 2; }
#tabDashboard .settings-card:has(#dashRecent) { grid-column: 1 / -1; }
#dashRecent { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 8px; }
#dashRecent > div { border-bottom: 0 !important; }
@media (max-width: 1200px) { #tabDashboard .settings-card:has(#dashTrend) { grid-column: span 1; } }
@media (max-width: 640px) { .dash-bars { gap: 6px; height:auto; min-height:170px; } .dash-bar-track { max-width:34px; min-height:100px; } .dash-bar-val { display: none; } }
/* ===== 空状态 / 商品物料表格 ===== */
.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:56px 20px;text-align:center;color:var(--text-muted)}
.empty-state .empty-ico{font-size:34px;line-height:1;opacity:.85}
.empty-state b{font-size:15px;color:var(--text-main)}
.empty-state p{margin:0;font-size:12.5px;max-width:360px;line-height:1.6}
.p-thumb{width:40px;height:40px;border-radius:9px;overflow:hidden;background:var(--box-bg);border:1px solid var(--border);flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;position:relative}
.p-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.p-thumb-fallback{display:none;font-size:15px;font-weight:800;color:var(--text-muted)}
.p-thumb.empty .p-thumb-fallback{display:block}
.prod-cell{display:flex;align-items:center;gap:10px;min-width:0}
.prod-sub{font-size:11px;color:var(--text-muted);margin-top:2px}
.sort-box{display:flex;flex-direction:column;gap:1px;align-items:center;background:var(--btn-ghost-bg);border:1px solid var(--border);border-radius:7px;padding:2px;width:26px}
.sort-btn{width:20px;height:14px;padding:0;border:0;background:transparent;color:var(--text-muted);border-radius:4px;font-size:9px;line-height:1;cursor:pointer}
.sort-btn:hover{background:var(--card);color:var(--n37-accent,#39FF8F)}
.sort-btn:disabled{opacity:.25;cursor:not-allowed}
#productAdminList .row-actions{flex-wrap:nowrap}
#productAdminList th:last-child,#productAdminList td:last-child{min-width:150px;white-space:nowrap}
.row-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}
.btn.danger{color:#f87171;border-color:rgba(248,113,113,.3)}
.stock-num{font-weight:700}
.stock-num.low{color:#f87171}
#productAdminList td,#materialList td{padding:10px 14px}
#productAdminList th,#materialList th{padding:10px 14px}
/* 数据看板 KPI：3×2 对齐，避免第 6 张单独换行 */
#dashKpis { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 1200px) { #dashKpis { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { #dashKpis { grid-template-columns: 1fr !important; } }
@media (max-width: 1024px) {
  #adminPanel[data-layout="1"] { flex-direction: column; gap: 12px; }
  .admin-side { flex: 0 0 auto; width: 100%; position: static; }
  .admin-side-brand { border-radius: 12px 12px 0 0; padding: 10px 14px; }
  .admin-side-brand span { display: none; }
  .admin-side-title { display: none; }
  .admin-side .tabs { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; max-height: none; padding: 6px; border-top: 1px solid var(--border); border-radius: 0 0 12px 12px; }
  .admin-side .tabs .tab-group { display: inline-flex; width: auto; margin: 0 6px 0 0; padding: 0 6px 0 0; border: 0; border-right: 1px solid var(--border); }
  .admin-side .tabs .tab-group:last-child { border-right: 0; }
  .admin-side .tabs .tab-group-label { display: none; }
  .admin-side .tabs .tab { width: auto; white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
  .admin-side .tabs .tab.active { border-bottom-color: var(--primary); border-left-color: transparent; background: none; }
  .admin-main { width: 100%; }
}


/* ===== UI v3 设计系统：统一字体 / 输入 / 按钮 / 表格 / 卡片 ===== */
:root{
  --ui-border:#e9edf4; --ui-border-strong:#dfe4ee;
  --ui-text:#101828; --ui-muted:#667085; --ui-muted-2:#98a2b3;
  --ui-radius:14px; --ui-radius-sm:9px;
  --ui-shadow:0 1px 2px rgba(16,24,40,.03), 0 10px 28px rgba(16,24,40,.045);
  --ui-font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei",sans-serif;
}
html[data-theme="dark"]{ --ui-border:rgba(255,255,255,.10); --ui-border-strong:rgba(255,255,255,.16); --ui-shadow:0 10px 28px rgba(0,0,0,.28); }
body{ font-family:var(--ui-font); font-size:14px; -webkit-font-smoothing:antialiased; }
#adminPanel{ font-family:var(--ui-font); }
/* 页面标题 */
#adminPanel .admin-page-title{ font-size:20px !important; line-height:1.35; font-weight:800; letter-spacing:-.01em; margin:2px 0 16px !important; color:var(--text-main); }
/* 卡片统一 */
#adminPanel .list-card, #adminPanel .settings-card, #adminPanel .toolbar, #adminPanel .admin-quick, #adminPanel .list-head, #adminPanel .stat, #adminPanel #capacityCalendar, #adminPanel #productionList, #adminPanel #quoteApproveList{
  background:var(--card); border:1px solid var(--ui-border); border-radius:var(--ui-radius); box-shadow:var(--ui-shadow);
}
#adminPanel .list-head{ padding:16px 18px; margin-bottom:14px; }
#adminPanel .settings-card{ padding:18px 20px; }
#adminPanel .list-head-top{ gap:14px; }
#adminPanel .list-desc{ font-size:13px !important; line-height:1.65; color:var(--ui-muted) !important; padding-top:2px; }
#adminPanel .list-head b{ font-size:14.5px; letter-spacing:-.005em; }
/* 输入框 / 下拉 / 文本域 */
#adminPanel input:not([type=checkbox]):not([type=radio]):not([type=file]),
#adminPanel select, #adminPanel textarea{
  height:38px; padding:0 12px; border:1px solid var(--ui-border-strong); border-radius:var(--ui-radius-sm);
  background:var(--input-bg); color:var(--text-main); font-size:13px; font-family:inherit;
  box-shadow:0 1px 2px rgba(16,24,40,.02); transition:border-color .15s, box-shadow .15s;
}
#adminPanel textarea{ height:auto; padding:10px 12px; line-height:1.65; }
#adminPanel input:focus, #adminPanel select:focus, #adminPanel textarea:focus{
  outline:0; border-color:var(--n37-accent,#39FF8F); box-shadow:0 0 0 3px rgba(17,17,16,.12);
}
#adminPanel ::placeholder{ color:var(--ui-muted-2); opacity:1; }
#adminPanel input[placeholder*="搜索"], #adminPanel input[placeholder*="关键词"]{
  padding-left:34px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:11px center; background-size:15px;
}
/* 按钮 */
#adminPanel .btn{
  height:36px; padding:0 14px; border-radius:var(--ui-radius-sm); font-size:13px; font-weight:600;
  display:inline-flex; align-items:center; justify-content:center; gap:6px; border:1px solid transparent;
  transition:background .15s, border-color .15s, box-shadow .15s, color .15s; box-shadow:none; white-space:nowrap;
}
#adminPanel .btn.sm{ height:30px; padding:0 11px; font-size:12.5px; border-radius:8px; }
#adminPanel .btn.primary{ background:linear-gradient(180deg,var(--n37-accent,#39FF8F),#111110); color:#fff; border-color:#111110; box-shadow:0 1px 2px rgba(17,17,16,.28); }
#adminPanel .btn.primary:hover{ background:linear-gradient(180deg,#111110,#000000); box-shadow:0 2px 6px rgba(17,17,16,.28); }
#adminPanel .btn.ghost{ background:var(--card); border-color:var(--ui-border-strong); color:var(--text-main); }
#adminPanel .btn.ghost:hover{ background:var(--hover-bg); border-color:var(--ui-border-strong); }
#adminPanel .btn.danger{ background:#fff; border-color:rgba(217,45,32,.24); color:#d92d20; }
#adminPanel .btn.danger:hover{ background:#fef3f2; }
#adminPanel .btn:focus-visible{ outline:2px solid var(--primary); outline-offset:2px; }
#adminPanel .op-ico{ width:32px; height:32px; min-width:32px; border-radius:8px; background:var(--card); border:1px solid var(--ui-border); color:var(--ui-muted); box-shadow:none; }
#adminPanel .op-ico:hover{ border-color:var(--n37-accent,#39FF8F); color:var(--n37-accent,#39FF8F); background:rgba(17,17,16,.06); }
/* 表格 */
#adminPanel table{ width:100%; border-collapse:separate; border-spacing:0; font-size:13px; }
#adminPanel table th{
  padding:11px 16px !important; font-size:12px !important; font-weight:600 !important; letter-spacing:.02em;
  color:var(--ui-muted) !important; background:var(--th-bg) !important; border-bottom:1px solid var(--ui-border) !important;
  white-space:nowrap; vertical-align:middle;
}
#adminPanel table td{
  padding:13px 16px !important; font-size:13px !important; border-bottom:1px solid var(--ui-border) !important;
  vertical-align:middle; color:var(--text-main);
}
#adminPanel table tbody tr:hover td{ background:rgba(17,17,16,.025); }
#adminPanel table tbody tr:last-child td{ border-bottom:0 !important; }
#adminPanel table td{ font-variant-numeric:tabular-nums; }
#adminPanel table td b, #adminPanel table td strong{ font-weight:650; }
#adminPanel .badge, #adminPanel .tag{ height:22px; padding:0 8px; border-radius:6px; font-size:11.5px; font-weight:600; display:inline-flex; align-items:center; }
/* 侧栏 */
#adminPanel .admin-side{ flex:0 0 226px; }
#adminPanel .admin-side-brand{ padding:15px 16px 13px; border-radius:14px 14px 0 0; }
#adminPanel .admin-side-brand b{ font-size:16px; letter-spacing:-.01em; }
#adminPanel .admin-side-brand span{ font-size:11.5px; color:var(--ui-muted); }
#adminPanel .tabs{ padding:8px 8px 10px; }
#adminPanel .admin-side .tabs .tab{ height:38px; padding:0 10px; font-size:13px; gap:8px; border-radius:8px; font-weight:600; color:#475467; }
#adminPanel .admin-side .tabs .tab:hover{ background:var(--hover-bg); }
#adminPanel .admin-side .tabs .tab.active{ font-weight:700; background:rgba(17,17,16,.08); color:var(--n37-accent,#39FF8F); }
#adminPanel .admin-side .tabs .tab svg{ width:16px; height:16px; }
/* 列表头操作区 */
#adminPanel .list-head-actions{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
#adminPanel .list-head-actions input, #adminPanel .list-head-actions select{ height:36px; width:auto; min-width:150px; }
#adminPanel .list-head-actions .btn{ height:36px; }
#adminPanel .list-head-filters{ gap:8px; }
/* 看板 */
#adminPanel #dashKpis > div{ padding:16px 16px !important; border-radius:12px !important; }
#adminPanel #dashKpis > div > div:first-child{ font-size:12.5px !important; color:var(--ui-muted) !important; }
#adminPanel #dashKpis > div > div:last-child{ font-size:23px !important; letter-spacing:-.01em; font-variant-numeric:tabular-nums; }
#adminPanel .admin-quick{ padding:10px 12px !important; border-radius:12px !important; }
#adminPanel .qa-btn{ height:32px; padding:0 12px; border-radius:8px; border:1px solid var(--ui-border); background:var(--card); font-size:12.5px; font-weight:600; }
#adminPanel .qa-btn:hover{ border-color:var(--n37-accent,#39FF8F); color:var(--n37-accent,#39FF8F); }
/* 弹窗 */
#adminPanel .modal-content{ border-radius:16px; padding:20px 22px; }
#adminPanel .modal-content .field{ margin:12px 0; }
#adminPanel .modal-content .field > span{ font-size:12.5px; color:var(--ui-muted); }

/* ===== UI v3.1 精修：无重复标题 / 侧栏滚动 / KPI 一排 / 操作按钮组 ===== */
body.admin-mode .hero { display:none !important; }
#adminPanel .admin-side{ max-height:calc(100vh - 88px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:rgba(148,163,184,.4) transparent; padding-right:2px; }
#adminPanel .admin-side::-webkit-scrollbar{ width:5px; }
#adminPanel .admin-side::-webkit-scrollbar-thumb{ background:rgba(148,163,184,.35); border-radius:99px; }
#adminPanel .admin-page-title{ margin-top:0 !important; font-size:21px !important; }
#adminPanel .admin-side-brand span{ display:block; margin-top:2px; }
/* KPI：宽屏一排 6 个 */
@media (min-width:1280px){ #adminPanel #dashKpis{ grid-template-columns:repeat(6,minmax(0,1fr)) !important; gap:10px !important; } }
@media (max-width:1279px){ #adminPanel #dashKpis{ grid-template-columns:repeat(3,minmax(0,1fr)) !important; } }
/* 操作按钮组：合并成一个轻量工具条 */
#adminPanel .op-group{ background:var(--card); border:1px solid var(--ui-border); border-radius:10px; padding:3px; gap:1px; box-shadow:0 1px 2px rgba(16,24,40,.03); }
#adminPanel .op-group .op-ico{ width:30px; height:30px; min-width:30px; border:0; border-radius:7px; background:transparent; }
#adminPanel .op-group .op-ico:hover{ background:rgba(17,17,16,.09); color:var(--n37-accent,#39FF8F); }
#adminPanel .op-group .op-ico svg{ width:15px; height:15px; }
/* 状态下拉紧凑 */
#adminPanel select.status-select{ height:32px; font-size:12.5px; border-radius:8px; min-width:96px; padding:0 28px 0 10px; }
/* 快捷操作更轻 */
#adminPanel .admin-quick{ background:transparent !important; border:0 !important; box-shadow:none !important; padding:0 2px 6px !important; gap:4px; align-items:center; }
#adminPanel .admin-quick > span{ font-size:12px !important; color:var(--ui-muted) !important; font-weight:600 !important; margin-right:4px; }
#adminPanel .qa-btn{ height:30px; padding:0 10px; border-radius:7px; border:0; background:transparent; color:#475467; font-size:12.5px; font-weight:500; }
#adminPanel .qa-btn:hover{ background:var(--hover-bg); color:var(--text-main); }
/* 列表页底部计数与空状态留白 */
#adminPanel .list-card{ overflow:hidden; }
#adminPanel .list-card > div[style*="共"]{ padding:10px 16px !important; }

/* ===== UI v3.2 页面头 / 侧栏紧凑 / 操作组 ===== */
#adminPanel .admin-page-title{ margin:2px 0 4px !important; }
#adminPanel .admin-page-desc{ font-size:13px; color:var(--ui-muted); margin:0 0 16px; line-height:1.6; }
#adminPanel .admin-page-desc:empty{ display:none; }
#adminPanel .admin-side .tabs .tab{ height:27px; margin:0; font-size:12px; }
#adminPanel .admin-side .tab-group{ padding-top:4px; margin-top:2px; }
#adminPanel .admin-side .tab-group-label{ margin:5px 0 2px; font-size:10px; line-height:14px; }
#adminPanel .admin-side .tabs{ padding:6px 6px 8px; }
#adminPanel .admin-side{ padding-bottom:8px; }
#adminPanel .admin-side-brand span{ display:none; }
#adminPanel .admin-side-brand{ padding:12px 16px 10px; }
#adminPanel .admin-side .tabs .ga, #adminPanel .admin-side .tabs .group-label{ padding:5px 10px 1px; }
#adminPanel .admin-side .tabs .ga, #adminPanel .admin-side .tabs .group-label{ padding:8px 10px 3px; font-size:10.5px; }
#adminPanel .admin-side{ max-height:calc(100vh - 76px); }
#adminPanel .admin-side-brand{ padding:13px 16px 11px; }
#adminPanel .admin-side-brand b{ font-size:15px; }
#adminPanel .op-group{ flex-wrap:nowrap !important; }
#adminPanel .op-group .op-ico{ width:28px; height:28px; min-width:28px; }
#adminPanel table td[data-label="操作"]{ white-space:nowrap; }

/* ===== 看板状态分布条 ===== */
#adminPanel .dash-status{ display:flex; flex-direction:column; gap:14px; padding:4px 0 2px; }
#adminPanel .ds-row{ display:flex; align-items:center; gap:10px; }
#adminPanel .ds-dot{ width:8px; height:8px; border-radius:50%; flex:0 0 auto; }
#adminPanel .ds-name{ width:54px; font-size:12.5px; color:var(--text-muted); flex:0 0 auto; }
#adminPanel .ds-track{ flex:1; height:7px; border-radius:99px; background:var(--th-bg); overflow:hidden; }
#adminPanel .ds-fill{ height:100%; border-radius:99px; transition:width .3s; }
#adminPanel .ds-num{ width:52px; text-align:right; font-size:12.5px; font-variant-numeric:tabular-nums; }

/* ===== UI v3.4：暗色适配 + 移动端 ===== */
html:not([data-theme="light"]){ --ui-muted:#98a2b3; --ui-muted-2:#7b8496; --ui-text:#e5e7eb; --ui-border:rgba(255,255,255,.10); --ui-border-strong:rgba(255,255,255,.16); }
html:not([data-theme="light"]) #adminPanel .admin-side .tabs .tab{ color:#98a2b3; }
html:not([data-theme="light"]) #adminPanel .admin-side .tabs .tab.active{ color:var(--n37-accent,#39FF8F); }
html:not([data-theme="light"]) #adminPanel .list-desc{ color:#98a2b3 !important; }
html:not([data-theme="light"]) #adminPanel .admin-page-desc{ color:#98a2b3; }
html:not([data-theme="light"]) #adminPanel .btn.ghost{ color:#e5e7eb; }
html:not([data-theme="light"]) #adminPanel table th{ color:#98a2b3 !important; }
html:not([data-theme="light"]) #adminPanel .op-ico{ color:#98a2b3; }
@media (max-width:768px){
  body{ overflow-x:hidden; }
  #adminPanel .admin-side{ flex:0 0 auto !important; height:auto !important; max-height:none; overflow:visible; padding-bottom:0; }
  #adminPanel .admin-side-brand{ display:none; }
  #adminPanel .admin-side .tabs{ display:flex; flex-wrap:nowrap; overflow-x:auto; gap:4px; padding:6px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  #adminPanel .admin-side .tabs::-webkit-scrollbar{ display:none; }
  #adminPanel .admin-side .tabs .tab{ flex:0 0 auto; height:34px; padding:0 11px; font-size:12.5px; }
  #adminPanel .admin-side .tab-group{ display:contents; }
  #adminPanel .admin-side .tab-group-label{ display:none; }
  #adminPanel .admin-page-title{ font-size:19px !important; }
  #adminPanel .admin-page-desc{ font-size:12.5px; margin-bottom:12px; }
  #adminPanel #dashKpis{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:8px !important; }
  #adminPanel #dashKpis > div{ padding:12px 12px !important; min-width:0; }
  #adminPanel #dashKpis > div > div:last-child{ font-size:19px !important; overflow-wrap:anywhere; }
  #adminPanel .admin-main .toolbar{ flex-wrap:wrap; }
  #adminPanel .admin-main .toolbar .btn{ flex:1 1 auto; }
}

/* ===== 暗色后台配色修复（原版 / 霓虹主题） ===== */
html:not([data-theme="light"]) #adminPanel .settings-card-title,
html:not([data-theme="light"]) #adminPanel .settings-title,
html:not([data-theme="light"]) #adminPanel h2,
html:not([data-theme="light"]) #adminPanel h3,
html:not([data-theme="light"]) #adminPanel h4,
html:not([data-theme="light"]) #adminPanel .admin-page-title,
html:not([data-theme="light"]) #adminPanel .sec-title,
html:not([data-theme="light"]) #adminPanel .list-head b,
html:not([data-theme="light"]) #adminPanel .toolbar b,
html:not([data-theme="light"]) #adminPanel .stat b{ color:#e5e7eb !important; }
html:not([data-theme="light"]) #adminPanel .list-desc,
html:not([data-theme="light"]) #adminPanel .admin-page-desc,
html:not([data-theme="light"]) #adminPanel .form-tip,
html:not([data-theme="light"]) #adminPanel .hint,
html:not([data-theme="light"]) #adminPanel .settings-card p,
html:not([data-theme="light"]) #adminPanel .muted{ color:#94a3b8 !important; }
html:not([data-theme="light"]) #adminPanel label,
html:not([data-theme="light"]) #adminPanel .field > span{ color:#cbd5e1 !important; }
html:not([data-theme="light"]) #adminPanel table th{ color:#94a3b8 !important; }
html:not([data-theme="light"]) #adminPanel .btn.ghost{ background:#1e293b !important; border-color:rgba(255,255,255,.14) !important; color:#e5e7eb !important; }
html:not([data-theme="light"]) #adminPanel .btn.ghost:hover{ background:#273449 !important; }
html:not([data-theme="light"]) #adminPanel .btn.danger{ background:rgba(217,45,32,.10) !important; border-color:rgba(248,113,113,.35) !important; color:#fca5a5 !important; }
html:not([data-theme="light"]) #adminPanel .list-card,
html:not([data-theme="light"]) #adminPanel .settings-card,
html:not([data-theme="light"]) #adminPanel .toolbar,
html:not([data-theme="light"]) #adminPanel .list-head,
html:not([data-theme="light"]) #adminPanel .stat,
html:not([data-theme="light"]) #adminPanel #capacityCalendar,
html:not([data-theme="light"]) #adminPanel #productionList,
html:not([data-theme="light"]) #adminPanel #quoteApproveList{ background:var(--card) !important; border-color:var(--border) !important; }
html:not([data-theme="light"]) #adminPanel .admin-side .tabs .tab{ color:#98a2b3; }
html:not([data-theme="light"]) #adminPanel .admin-side .tabs .tab.active{ color:var(--n37-accent,#39FF8F); }
html:not([data-theme="light"]) #adminPanel .admin-page-desc,
html:not([data-theme="light"]) #adminPanel .admin-side-brand span{ color:#94a3b8 !important; }
html:not([data-theme="light"]) #adminPanel .qa-btn{ color:#cbd5e1 !important; }
html:not([data-theme="light"]) #adminPanel .qa-btn:hover{ color:#fff !important; background:rgba(255,255,255,.08) !important; }
html:not([data-theme="light"]) #adminPanel .admin-quick > span{ color:#94a3b8 !important; }
body.admin-mode .topbar .btn.ghost{ background:var(--btn-ghost-bg, rgba(255,255,255,.08)) !important; color:var(--text-main) !important; border-color:var(--border) !important; }

/* 后台内容区宽度统一（1366 等笔记本屏幕不再挤压） */
#viewAdmin.wrap{ max-width:1200px !important; width:100%; }
@media (max-width:1440px){ #viewAdmin.wrap{ max-width:1200px !important; } }

/* ===== 布局收口：侧栏吸附 / 按钮对齐 ===== */
/* 侧栏不要钻到吸顶导航下面；矮屏改为随页面滚动，所有菜单可到达 */
#adminPanel .admin-side{ top:74px !important; max-height:calc(100vh - 88px); }
@media (max-height: 900px){
  #adminPanel .admin-side{ position:static !important; top:auto !important; max-height:none !important; overflow:visible !important; }
}
/* 页面主操作按钮宽度统一 */
#orderForm .btn.primary.big{ width:100% !important; max-width:none !important; }
/* 设置页上传/删除按钮统一高度，不再一大一小 */
#tabSettings .settings-card label.btn,
#tabSettings .settings-card .btn{ height:36px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center; }
#tabSettings .settings-card label.btn{ width:100%; }
#tabSettings .settings-card .logo-upload-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }

/* ===== 控件高度统一（输入框与按钮同高，横向严格对齐） ===== */
#adminPanel .btn{ height:38px; }
#adminPanel .btn.sm{ height:30px; }
#adminPanel .list-head-actions, #adminPanel .list-head-filters, #adminPanel .toolbar{ align-items:center; }
#adminPanel .list-head-actions > *, #adminPanel .list-head-filters > *, #adminPanel .toolbar > *{ height:38px; }
#adminPanel .list-head-actions .btn, #adminPanel .list-head-filters .btn, #adminPanel .toolbar .btn{ height:38px; }
#adminPanel .list-head-actions .btn.sm, #adminPanel .toolbar .btn.sm{ height:32px; }
#adminPanel .list-head-actions input, #adminPanel .list-head-actions select,
#adminPanel .list-head-filters input, #adminPanel .list-head-filters select,
#adminPanel .toolbar input, #adminPanel .toolbar select{ height:38px; }

/* ===== 顶栏控件对齐 / 对比度收口 ===== */
#adminPanel .topbar .top-actions{ align-items:center; gap:8px; }
#adminPanel .topbar .top-actions > *{ height:34px !important; min-width:34px; padding:0 10px !important; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; box-sizing:border-box; }
#adminPanel .topbar .top-actions .btn{ height:34px !important; }
#adminPanel .topbar #userGreeting, body.admin-mode .topbar #userGreeting{ color:#475467; }
#adminPanel .admin-side .tabs .tab.active{ color:var(--n37-accent,#39FF8F); }
html:not([data-theme="light"]) #adminPanel .admin-side .tabs .tab.active{ color:var(--n37-accent,#39FF8F); }
#adminPanel .qa-btn{ color:#475467; }

/* ===== 对比度收口 v2 ===== */
body.admin-mode .topbar .top-actions{ align-items:center; gap:8px; }
body.admin-mode .topbar .top-actions > *{ height:34px !important; min-width:34px; padding:0 10px !important; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; box-sizing:border-box; }
body.admin-mode .topbar .top-actions .btn{ height:34px !important; }
body.admin-mode .topbar #userGreeting{ color:#475467 !important; }
#adminPanel .admin-side .tabs .tab.active{ color:#9a3412; }
#adminPanel .admin-side .tabs .tab.active span{ color:inherit !important; }
html:not([data-theme="light"]) #adminPanel .admin-side .tabs .tab.active{ color:#fdba74; }
body:not(.admin-mode) #orderForm a{ color:var(--n37-accent,#39FF8F) !important; }
body:not(.admin-mode) .sec-more{ color:var(--n37-accent,#39FF8F) !important; }
body:not(.admin-mode) #reviewSummary b{ color:var(--n37-accent,#39FF8F) !important; }
body:not(.admin-mode) #moreToggleChev{ color:var(--n37-accent,#39FF8F) !important; }
#viewDesign .dc-ratio.active .rc-label{ color:#fff !important; opacity:1 !important; }
#viewDesign .btn.ghost{ color:#475467 !important; }



/* 平台专属模块：默认在商户后台隐藏，仅代登录配置时显示 */
#adminPanel .admin-side .tabs .tab.platform-only{display:none!important}
body.impersonating #adminPanel .admin-side .tabs .tab.platform-only{display:flex!important}



#productAdminList .sort-input{width:46px!important;height:30px!important;min-height:30px!important;padding:0 4px!important;font-size:12px!important;border-radius:7px!important;text-align:center!important;box-sizing:border-box!important}
#productAdminList td[data-label="排序"]{width:70px!important}
#productAdminList th:first-child{width:70px!important}



/* ===== 手机端体验优化 v6 ===== */
@media (max-width: 768px){
  body:not(.admin-mode) .topbar{position:sticky!important;top:0;z-index:80}
  body:not(.admin-mode) .top-nav{overflow-x:auto!important;flex-wrap:nowrap!important;gap:2px!important;padding:2px 8px 8px!important;scrollbar-width:none}
  body:not(.admin-mode) .top-nav::-webkit-scrollbar{display:none}
  body:not(.admin-mode) .top-nav a{flex:0 0 auto!important;height:34px!important;font-size:13px!important;padding:0 10px!important}
  body:not(.admin-mode) #viewShop .hero2{padding:24px 16px!important;margin-top:10px!important;border-radius:18px!important}
  body:not(.admin-mode) #viewShop .hero2-title{font-size:27px!important;line-height:1.2!important;letter-spacing:-.03em!important;margin:14px 0 12px!important}
  body:not(.admin-mode) #viewShop .hero-badge{font-size:11px!important;height:26px!important;padding:0 10px!important}
  body:not(.admin-mode) #viewShop .hero2-sub{font-size:14px!important;line-height:1.7!important;margin-bottom:16px!important}
  body:not(.admin-mode) #viewShop .hero2-ctas{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:18px!important}
  body:not(.admin-mode) #viewShop .hero2-ctas .btn{height:44px!important;font-size:14px!important;padding:0 10px!important}
  body:not(.admin-mode) #viewShop .hero2-stats{display:none!important}
  body:not(.admin-mode) #viewShop .hero2-trust{gap:8px!important;margin-top:14px!important;font-size:12px!important}
  body:not(.admin-mode) #viewShop .qcard2{margin-top:18px!important;padding:16px!important;border-radius:16px!important}
  body:not(.admin-mode) #viewShop .qcard2 h3{font-size:15px!important}
  body:not(.admin-mode) .sec-head{margin:36px 0 22px!important}
  body:not(.admin-mode) .sec-title{font-size:24px!important}
  body:not(.admin-mode) .mbar{background:rgba(255,255,255,.97)!important;border-top:1px solid var(--line)!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;gap:8px!important}
  body:not(.admin-mode) .mbar-btn{height:46px!important;border-radius:10px!important;font-size:14px!important;gap:7px!important;border:1px solid transparent!important}
  body:not(.admin-mode) .mbar-btn svg{width:18px;height:18px}
  body:not(.admin-mode) .mbar-btn.call{background:var(--bg-sunken)!important;color:var(--ink-900)!important;border-color:var(--line)!important}
  body:not(.admin-mode) .mbar-btn.wx{background:var(--surface)!important;color:var(--ink-900)!important;border-color:var(--line-strong)!important}
  body:not(.admin-mode) .mbar-btn.go{background:var(--ink-900)!important;color:#fff!important}
  body:not(.admin-mode) .mbar-btn.go svg{color:var(--accent-500)}
  /* 商户后台移动端：抽屉导航 */
  body.admin-mode .top-nav{display:none!important}
  body.admin-mode .topbar .top-actions{gap:6px!important}
  #adminMenuBtn{display:none}
  body.admin-mode #adminMenuBtn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--line-strong);border-radius:9px;background:var(--surface);color:var(--ink-700);margin-right:6px;cursor:pointer}
  body.admin-mode #adminPanel[data-layout="1"]{display:block!important;margin-top:8px!important}
  body.admin-mode .admin-side{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:286px!important;max-height:100vh!important;z-index:400!important;background:var(--surface)!important;box-shadow:0 24px 80px rgba(17,17,16,.24)!important;border-radius:0 18px 18px 0!important;padding:14px!important;overflow-y:auto!important;transform:translateX(-105%);transition:transform .22s ease!important;display:block!important}
  body.admin-mode.mobile-nav-open .admin-side{transform:translateX(0)!important}
  body.admin-mode .admin-side-brand{border-radius:12px!important;border-bottom:1px solid var(--line)!important;margin-bottom:6px!important}
  body.admin-mode .admin-side-title{display:none!important}
  body.admin-mode .admin-side .tabs{display:flex!important;flex-direction:column!important;max-height:none!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;gap:2px!important}
  body.admin-mode .admin-side .tabs .tab{width:100%!important;height:42px!important;justify-content:flex-start!important;padding:0 12px!important;font-size:14px!important;border-radius:9px!important}
  body.admin-mode .admin-side-overlay{position:fixed;inset:0;background:rgba(17,17,16,.38);z-index:390;opacity:0;pointer-events:none;transition:opacity .18s}
  body.admin-mode.mobile-nav-open .admin-side-overlay{opacity:1;pointer-events:auto}
  body.admin-mode .list-head{padding:14px!important}
  body.admin-mode .list-desc{display:none!important}
  body.admin-mode .list-head-actions .btn,body.admin-mode .list-head-filters .btn{height:34px!important;font-size:13px!important}
  body.admin-mode .list-head-filters{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  body.admin-mode #adminPanel .list-card td{padding:10px 12px!important}
  body.admin-mode .admin-page-title{font-size:22px!important}
  body.admin-mode .admin-page-desc{font-size:12px!important;margin-bottom:14px!important}
  /* 平台后台移动端：横向导航 */
  .shell{display:block!important}
  .side-card{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;overflow-x:auto!important;width:auto!important;max-width:100%!important;padding:8px!important;border-radius:12px!important;position:static!important;margin-bottom:12px!important}
  .side-head,.side-note{display:none!important}
  .side-item{flex:0 0 auto!important;width:auto!important;height:36px!important;padding:0 11px!important;white-space:nowrap!important;border-left:0!important;border-radius:8px!important;font-size:13px!important}
  .side-item .side-ico{width:15px!important;height:15px!important}
  .main{padding:0 12px 24px!important}
  .pane-head h1{font-size:22px!important}
  .pane-head p{font-size:12px!important}
}



@media (max-width:768px){
 html body.admin-mode #adminPanel .admin-side{position:fixed!important;top:0!important;left:0!important;bottom:0!important;height:100vh!important;max-height:100vh!important;z-index:400!important;width:286px!important;padding:14px!important;background:var(--surface)!important;overflow-y:auto!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;display:block!important}
 html body.admin-mode.mobile-nav-open #adminPanel .admin-side{transform:translateX(0)!important}
}



/* 手机端物料区：2 列卡片，图片/价格/按钮更舒展 */
@media (max-width:768px){
  html body:not(.admin-mode) #viewShop #productGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  html body:not(.admin-mode) #viewShop #productGrid .card{border-radius:14px!important;overflow:hidden;display:flex!important;flex-direction:column!important}
  html body:not(.admin-mode) #viewShop #productGrid .pcard-body{display:flex!important;flex-direction:column!important;flex:1!important}
  html body:not(.admin-mode) #viewShop #productGrid .pcard-act{margin-top:auto!important}
  html body:not(.admin-mode) #viewShop .pcard-img{height:124px!important}
  html body:not(.admin-mode) #viewShop .pcard-body{padding:12px!important}
  html body:not(.admin-mode) #viewShop .pcard-name{font-size:15px!important;line-height:1.35!important;margin-bottom:3px!important}
  html body:not(.admin-mode) #viewShop .pcard-sub,
  html body:not(.admin-mode) #viewShop .pcard-price small{font-size:11px!important}
  html body:not(.admin-mode) #viewShop .pcard-price b{font-size:19px!important}
  html body:not(.admin-mode) #viewShop .pcard-act{display:flex!important;width:100%!important;height:36px!important;margin-top:8px!important;border:1px solid var(--line-strong)!important;border-radius:8px!important;background:var(--surface)!important;color:var(--ink-900)!important;justify-content:center!important;align-items:center!important;font-size:13px!important;font-weight:600!important;padding:0!important}
  html body:not(.admin-mode) #viewShop .pcard-act::after{content:" →"}
  html body:not(.admin-mode) #viewShop .pcard-tag{font-size:10px!important;height:20px!important;line-height:20px!important;padding:0 7px!important}
}



/* 手机端：发票与优惠券合并为一行左右分割 */
@media (max-width:768px){
  html body:not(.admin-mode) #orderForm .chk-group{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:stretch!important;gap:8px!important;flex-direction:row!important;width:100%!important}
  html body:not(.admin-mode) #orderForm .chk-group .chk-box{width:auto!important;min-width:0!important;min-height:42px!important;padding:0 10px!important;display:flex!important;align-items:center!important;gap:7px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--surface)!important;margin:0!important;white-space:nowrap!important;font-size:13px!important}
  html body:not(.admin-mode) #orderForm .chk-group .coupon-row2{width:100%!important;min-width:0!important;min-height:42px!important;padding:0 10px!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:6px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--surface)!important;margin:0!important}
  html body:not(.admin-mode) #orderForm .chk-group .coupon-row2 > span:first-child{display:none!important}
  html body:not(.admin-mode) #orderForm .chk-group .coupon-row2::before{content:'优惠券';font-size:11px!important;color:var(--ink-500)!important;flex:0 0 auto!important;white-space:nowrap!important}
  html body:not(.admin-mode) #orderForm .chk-group .coupon-row2 > span:last-child{display:none!important}
  html body:not(.admin-mode) #orderForm .chk-group .coupon-row2 #f_coupon{flex:1!important;width:auto!important;min-width:0!important;height:32px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;text-align:left!important;font-size:13px!important;background:transparent!important;padding:0 2px!important}
  html body:not(.admin-mode) #orderForm .chk-group .chk-box input[type="checkbox"]{width:16px!important;height:16px!important;margin:0!important;flex:0 0 auto!important}
  html body:not(.admin-mode) #orderForm #couponPreview{grid-column:1/-1!important}
}


@media (min-width:769px){body.admin-mode #adminMenuBtn{display:none!important}}


/* 充值订单 · 模块化套餐卡 */
.credits-panel{background:var(--surface,#fff);border:1px solid var(--border,rgba(15,23,42,.08));border-radius:18px;padding:22px 24px;margin-bottom:16px;box-shadow:0 10px 28px rgba(15,23,42,.045)}
.credits-panel-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.credits-panel-icon{width:40px;height:40px;border-radius:11px;background:#F2F4F7;color:#111110;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.credits-panel-icon svg{width:19px;height:19px}
.credits-panel-copy h3{margin:0;font-size:16px;font-weight:750;color:var(--text-main,#111);letter-spacing:-.01em}
.credits-panel-copy p{margin:4px 0 0;font-size:12.5px;line-height:1.6;color:var(--text-muted,#64748b)}
.balance-strip{display:flex;align-items:center;gap:22px;flex-wrap:wrap;background:#F8F9FB;border:1px solid var(--border,rgba(15,23,42,.07));border-radius:12px;padding:13px 16px;margin-bottom:16px}
.balance-block{display:flex;flex-direction:column;gap:2px}
.balance-label{font-size:11px;font-weight:650;letter-spacing:.04em;color:var(--text-muted,#64748b)}
.balance-value{display:flex;align-items:baseline;gap:5px;line-height:1.1}
.balance-value b{font-size:28px;font-weight:800;letter-spacing:-.04em;color:var(--primary,#111110)}
.balance-value small{font-size:12px;color:var(--text-muted,#64748b)}
.balance-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:11.5px;color:var(--text-muted,#64748b);line-height:1.6;border-left:1px solid var(--border,rgba(15,23,42,.1));padding-left:22px}
.balance-meta span{display:inline-flex;align-items:center}
.balance-meta span+span::before{content:"";width:3px;height:3px;border-radius:50%;background:#cbd5e1;margin-right:8px}
.pkg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(178px,1fr));gap:12px;margin:0 0 18px}
.pkg-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:188px;padding:16px;border:1px solid var(--border,rgba(15,23,42,.1));border-radius:14px;background:var(--surface,#fff);color:var(--text-main,#111);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;font-family:inherit}
.pkg-card:hover{transform:translateY(-2px);border-color:#cfd5dd;box-shadow:0 12px 26px rgba(15,23,42,.09)}
.pkg-card-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.pkg-tag{min-height:19px;display:inline-flex;align-items:center;padding:0 7px;border-radius:999px;background:#F1F3F5;color:#475569;font-size:9.5px;font-weight:700;letter-spacing:.04em}
.pkg-card.featured .pkg-tag{background:rgba(255,255,255,.92)!important;color:#111110!important;border:0!important}
.pkg-arrow{font-size:13px;color:#94a3b8}
.pkg-card.featured .pkg-arrow{color:rgba(255,255,255,.65)}
.pkg-name{font-size:12.5px;font-weight:600;color:var(--text-muted,#64748b);margin-bottom:6px}
.pkg-amount{display:flex;align-items:baseline;gap:5px;line-height:1;margin-bottom:10px}
.pkg-amount b{font-size:31px;font-weight:800;letter-spacing:-.05em;color:var(--text-main,#111)}
.pkg-amount small{font-size:11px;color:var(--text-muted,#64748b)}
.pkg-price{display:flex;align-items:baseline;gap:7px;margin-top:auto;padding-top:10px;border-top:1px solid var(--border,rgba(15,23,42,.08));width:100%}
.pkg-price b{font-size:16px;font-weight:750;color:var(--text-main,#111)}
.pkg-price small{font-size:10.5px;color:var(--text-muted,#64748b)}
.pkg-card-foot{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:11px;font-weight:600;color:var(--text-muted,#64748b)}
.pkg-card-foot span{font-size:14px;color:#111;transition:transform .18s}
.pkg-card:hover .pkg-card-foot span{transform:translateX(3px)}
.pkg-card.featured{background:#111110;color:#fff;border-color:#111110;box-shadow:0 12px 26px rgba(15,23,42,.16)}
.pkg-card.featured .pkg-name,.pkg-card.featured .pkg-amount small,.pkg-card.featured .pkg-price small,.pkg-card.featured .pkg-card-foot{color:rgba(255,255,255,.62)}
.pkg-card.featured .pkg-amount b,.pkg-card.featured .pkg-price b{color:#fff}
.pkg-card.featured .pkg-price{border-top-color:rgba(255,255,255,.14)}
.pkg-card.featured .pkg-card-foot span{color:#fff}
.pkg-empty{grid-column:1/-1;padding:22px;border:1px dashed var(--border,rgba(15,23,42,.12));border-radius:12px;text-align:center;font-size:12.5px;color:var(--text-muted,#64748b)}
.credits-orders{overflow:hidden}
.credits-orders .credits-panel-icon{background:#F2F4F7}
@media(max-width:700px){.credits-panel{padding:18px 16px;border-radius:14px}.balance-meta{border-left:0;padding-left:0;width:100%;border-top:1px solid var(--border);padding-top:10px}.pkg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pkg-card{min-height:176px;padding:13px}.pkg-amount b{font-size:27px}.pkg-price b{font-size:14px}}
@media(max-width:430px){.pkg-grid{grid-template-columns:1fr}}



#caseGalleryModal .modal-body.cg-shell{max-width:min(1000px,94vw)!important;background:#0B0C0E!important;background-color:#0B0C0E!important;border:1px solid #24252A!important;border-radius:18px!important;box-shadow:0 30px 90px rgba(0,0,0,.7)!important;padding:18px!important;color:#F4F3EF!important;animation:cgIn .24s cubic-bezier(.22,.9,.3,1) both!important}
@keyframes cgIn{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
#caseGalleryModal .cg-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
#caseGalleryModal #cgTitle{font-size:16px!important;font-weight:800!important;color:#F7F6F2!important;line-height:1.4;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#caseGalleryModal .cg-meta{display:flex;align-items:center;gap:10px;flex:0 0 auto}
#caseGalleryModal #cgCount{font-size:12px!important;color:#A9A7A0!important;letter-spacing:.02em}
#caseGalleryModal .cg-close{width:32px!important;height:32px!important;border-radius:9px!important;border:1px solid #2A2B31!important;background:#1A1B1F!important;color:#D9D7D0!important;font-size:17px!important;line-height:1!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:all .16s ease!important}
#caseGalleryModal .cg-close:hover{background:#24252A!important;color:#fff!important;border-color:#3A3B44!important}
#caseGalleryModal .cg-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:220px;background:#050607;border:1px solid #202126;border-radius:14px;overflow:hidden}
#caseGalleryModal #cgImg{max-width:100%!important;max-height:70vh!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important;border-radius:0!important;background:transparent!important}
#caseGalleryModal .cg-nav{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:42px!important;height:42px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.18)!important;background:rgba(10,11,14,.62)!important;color:#fff!important;font-size:24px!important;line-height:1!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;backdrop-filter:blur(8px)!important;transition:all .16s ease!important;z-index:2}
#caseGalleryModal .cg-nav:hover{background:var(--n37-accent,#39FF8F)!important;border-color:var(--n37-accent,#39FF8F)!important;transform:translateY(-50%) scale(1.06)!important}
#caseGalleryModal .cg-prev{left:14px!important}#caseGalleryModal .cg-next{right:14px!important}
#caseGalleryModal .cg-thumbs{display:flex!important;gap:8px!important;margin-top:12px!important;overflow-x:auto!important;justify-content:center!important;padding:2px 0 4px!important;scrollbar-width:none}
#caseGalleryModal .cg-thumbs::-webkit-scrollbar{display:none}
#caseGalleryModal .cg-thumb{width:64px!important;height:48px!important;object-fit:cover!important;border-radius:8px!important;border:1px solid #2A2B31!important;cursor:pointer!important;opacity:.65!important;transition:opacity .16s ease,border-color .16s ease,transform .16s ease!important;flex:0 0 auto}
#caseGalleryModal .cg-thumb:hover{opacity:1!important;transform:translateY(-1px)!important}
#caseGalleryModal .cg-thumb.active{opacity:1!important;border-color:#8B8CF6!important;box-shadow:0 0 0 2px rgba(57,255,143,.22)!important}
@media(max-width:640px){#caseGalleryModal .modal-body.cg-shell{padding:12px!important;border-radius:14px!important}#caseGalleryModal #cgTitle{font-size:14px!important}#caseGalleryModal .cg-head{margin-bottom:9px!important}#caseGalleryModal #cgImg{max-height:58vh!important}#caseGalleryModal .cg-nav{width:36px!important;height:36px!important;font-size:20px!important}#caseGalleryModal .cg-prev{left:8px!important}#caseGalleryModal .cg-next{right:8px!important}#caseGalleryModal .cg-thumb{width:54px!important;height:42px!important}}



/* ===== 全站轻量动效层（只动 transform / opacity） ===== */
@keyframes siteBarIn{from{transform:translateY(110%)}to{transform:none}}
@keyframes siteFloatIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes sitePulse{0%,100%{box-shadow:0 0 0 0 rgba(57,255,143,.0)}50%{box-shadow:0 0 0 6px rgba(57,255,143,.10)}}
.brand-logo{transition:transform .28s cubic-bezier(.22,1,.36,1)}
.brand:hover .brand-logo{transform:scale(1.06) rotate(-2deg)}
.top-nav a{position:relative}
.top-nav a::after{content:"";position:absolute;left:14px;right:14px;bottom:4px;height:1.5px;border-radius:2px;background:currentColor;opacity:.65;transform:scaleX(0);transform-origin:left center;transition:transform .24s cubic-bezier(.22,1,.36,1)}
.top-nav a:hover::after,.top-nav a.active::after{transform:scaleX(1)}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:scale(.975)}
.case-card,.review-card,.store-card,.v5-step,.dc-card,.pcard,.promo-chip{transition:transform .24s cubic-bezier(.22,1,.36,1),box-shadow .24s ease,border-color .24s ease}
.case-card:hover,.review-card:hover,.store-card:hover,.v5-step:hover,.dc-card:hover{transform:translateY(-3px)}
.case-card{overflow:hidden}
.case-img{transition:transform .5s cubic-bezier(.22,1,.36,1)}
.case-card:hover .case-img{transform:scale(1.045)}
.review-card:hover{border-color:rgba(57,255,143,.55)!important}
#productGrid .pcard:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(0,0,0,.24)}
#mBar{animation:siteBarIn .38s cubic-bezier(.22,1,.36,1) both}
#floatContact{animation:siteFloatIn .45s .20s cubic-bezier(.22,1,.36,1) both}
#floatContact .fc-btn:hover{transform:translateY(-2px) scale(1.04)!important}
#floatContact .fc-btn:active{transform:scale(.96)!important}
.back-top{transition:opacity .2s ease,transform .2s ease,background .2s ease}
.back-top:not([hidden]){animation:siteFloatIn .3s ease both}
.filter-chip,.dim-chip,.dc-ratio,.dc-count,.sub-tab{transition:transform .16s ease,background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease!important}
.filter-chip:active,.dim-chip:active,.dc-ratio:active,.dc-count:active{transform:scale(.97)}
.modal .modal-body{will-change:transform,opacity}
.toast{will-change:transform,opacity}
@media(prefers-reduced-motion:reduce){
  .brand-logo,.top-nav a::after,.btn,.case-card,.review-card,.store-card,.v5-step,.dc-card,.pcard,.promo-chip,.case-img,#mBar,#floatContact,.back-top,.filter-chip,.dim-chip,.dc-ratio,.dc-count,.sub-tab{animation:none!important;transition:none!important;transform:none!important}
}



#footerLines{display:flex;justify-content:center;align-items:center;gap:6px 18px;flex-wrap:wrap}
#footerLines .foot-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}
@media(max-width:768px){
  #siteFooter{padding:18px 14px 24px!important}
  #footerLines{display:flex!important;flex-direction:column!important;gap:7px!important;align-items:center!important;line-height:1.65!important;font-size:12.5px!important}
  #footerLines .foot-row{display:flex!important;width:100%!important;justify-content:center!important;flex-wrap:wrap!important;gap:3px 8px!important;text-align:center!important}
  #footerLines{font-size:11.5px!important}
  #footerLines .foot-row-main{font-size:11px!important;color:var(--text-muted)!important;gap:0 10px!important;flex-wrap:nowrap!important;white-space:nowrap!important}
  #footerLines .foot-row-main > span[style]{display:none!important}
  #footerLines .foot-row-main span,#footerLines .foot-row-main a{white-space:nowrap!important}
  #footerLines .foot-row-links{font-size:12px!important;gap:2px 6px!important}
  #footerLines .foot-row-links a{padding:1px 2px!important}
  #footerLines .foot-row-links > span[style]{margin:0 3px!important}
}



@media(max-width:768px){
  body.admin-mode.mobile-nav-open{overflow:hidden!important}
  body.admin-mode .admin-crumb{display:none!important}
  html body.admin-mode #adminPanel .admin-side{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(84vw,310px)!important;max-height:100vh!important;z-index:400!important;background:#0B0C0E!important;background-color:#0B0C0E!important;border:0!important;border-right:1px solid #24252A!important;border-radius:0 18px 18px 0!important;padding:16px 12px 24px!important;overflow-y:auto!important;overflow-x:hidden!important;box-shadow:0 30px 90px rgba(0,0,0,.6)!important;transform:translateX(-105%)!important;transition:transform .22s cubic-bezier(.22,1,.36,1)!important;display:block!important;color:#D9D7D0!important}
  html body.admin-mode.mobile-nav-open #adminPanel .admin-side{transform:translateX(0)!important}
  html body.admin-mode #adminPanel .admin-side .admin-side-brand{display:block!important;width:100%!important;background:#111214!important;border:1px solid #24252A!important;border-radius:12px!important;padding:15px 46px 14px 16px!important;margin:0 0 12px!important;color:#F4F3EF!important}
  html body.admin-mode #adminPanel .admin-side .admin-side-brand b{display:block!important;font-size:16px!important;color:#F7F6F2!important}
  html body.admin-mode #adminPanel .admin-side .admin-side-brand span{display:block!important;font-size:11px!important;color:#9C9A93!important;margin-top:3px!important}
  html body.admin-mode #adminPanel .admin-side .admin-side-title{display:block!important;font-size:10.5px!important;letter-spacing:.12em!important;color:#77756E!important;padding:6px 8px 8px!important;background:transparent!important}
  html body.admin-mode #adminPanel .admin-side .tabs{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:3px!important;width:100%!important;max-height:none!important;padding:0!important;margin:0!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
  html body.admin-mode #adminPanel .admin-side .tab-group{display:block!important;width:100%!important;margin:0 0 8px!important;padding:0!important;border:0!important}
  html body.admin-mode #adminPanel .admin-side .tab-group-label{display:block!important;margin:8px 10px 5px!important;font-size:10px!important;color:#6F6D66!important;letter-spacing:.12em!important}
  html body.admin-mode #adminPanel .admin-side .tabs .tab{display:flex!important;width:100%!important;height:44px!important;min-height:44px!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;padding:0 12px!important;font-size:14px!important;font-weight:600!important;border:0!important;border-left:3px solid transparent!important;border-radius:9px!important;color:#A9A7A0!important;background:transparent!important}
  html body.admin-mode #adminPanel .admin-side .tabs .tab svg{width:17px!important;height:17px!important;flex:0 0 auto!important}
  html body.admin-mode #adminPanel .admin-side .tabs .tab:hover{background:#15171C!important;color:#fff!important}
  html body.admin-mode #adminPanel .admin-side .tabs .tab.active{background:rgba(57,255,143,.20)!important;color:#fff!important;border-left-color:#8B8CF6!important}
  body.admin-mode .admin-drawer-close{position:absolute!important;top:20px!important;right:16px!important;width:30px!important;height:30px!important;border:1px solid #2A2B31!important;border-radius:8px!important;background:#1A1B1F!important;color:#D9D7D0!important;font-size:16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;z-index:2}
  body.admin-mode .admin-drawer-close:hover{background:#24252A!important;color:#fff!important}
  body.admin-mode .admin-side-overlay{background:rgba(0,0,0,.55)!important}
}



/* 平台专属菜单：商户后台手机抽屉也隐藏，仅平台代登录后显示 */
@media(max-width:768px){
  html body.admin-mode #adminPanel .admin-side .tabs .tab.platform-only{display:none!important}
  html body.admin-mode.impersonating #adminPanel .admin-side .tabs .tab.platform-only{display:flex!important}
}



/* 手机商户后台：紧凑排版，减少无效留白 */
@media(max-width:768px){
  html body.admin-mode #viewAdmin{padding:12px 10px 28px!important}
  html body.admin-mode #viewAdmin > section.hero{padding:0 0 4px!important;margin-bottom:6px!important}
  html body.admin-mode #viewAdmin .admin-page-title{font-size:20px!important;line-height:1.3!important;margin:0 0 2px!important}
  html body.admin-mode #viewAdmin .admin-page-desc{font-size:11.5px!important;line-height:1.55!important;margin:0 0 8px!important}
  html body.admin-mode #viewAdmin .list-head{padding:12px!important;margin-bottom:8px!important;border-radius:12px!important}
  html body.admin-mode #viewAdmin .list-head-top{gap:8px!important}
  html body.admin-mode #viewAdmin .list-head-actions{gap:6px!important}
  html body.admin-mode #viewAdmin .list-head-filters{gap:6px!important;margin-top:8px!important}
  html body.admin-mode #viewAdmin .list-card{margin-bottom:10px!important;border-radius:12px!important}
  html body.admin-mode #viewAdmin .settings-card{padding:14px!important;margin-bottom:10px!important;border-radius:12px!important}
  html body.admin-mode #viewAdmin .settings-card-title{font-size:15px!important;margin:0 0 8px!important}
  html body.admin-mode #viewAdmin .field{margin:8px 0!important}
  html body.admin-mode #viewAdmin .field > span{font-size:12px!important;margin-bottom:4px!important}
  html body.admin-mode #viewAdmin input,
  html body.admin-mode #viewAdmin select{height:36px!important;padding:0 10px!important;font-size:12.5px!important}
  html body.admin-mode #viewAdmin textarea{padding:8px 10px!important;font-size:12.5px!important}
  html body.admin-mode #viewAdmin .btn.sm{height:32px!important;font-size:12px!important;padding:0 11px!important}
  html body.admin-mode #viewAdmin .toolbar{gap:6px!important;margin-bottom:10px!important}
  html body.admin-mode #viewAdmin table td{padding:8px 10px!important}
  html body.admin-mode #viewAdmin table th{padding:8px 10px!important}
  html body.admin-mode #productAdminList td,
  html body.admin-mode #materialList td,
  html body.admin-mode #customerList td,
  html body.admin-mode #staffList td{padding:7px 10px!important}
  html body.admin-mode #productAdminList td[data-label="排序"],
  html body.admin-mode #materialList td[data-label="排序"]{padding:7px 10px!important}
  html body.admin-mode #adminPanel .pager{padding:8px!important;gap:6px!important}
  html body.admin-mode #adminPanel .empty{padding:18px 12px!important}
  html body.admin-mode #adminPanel .list-head{padding:12px!important}
  html body.admin-mode #adminPanel .list-head-actions .btn,
  html body.admin-mode #adminPanel .list-head-filters .btn{height:32px!important;font-size:12px!important}
}



/* 关闭按钮只在手机抽屉显示，桌面侧栏不显示 */
.admin-drawer-close{display:none!important}
@media(max-width:768px){
  body.admin-mode .admin-drawer-close{display:inline-flex!important}
}



/* 下单成功弹窗：跟随 A/B 主题 */
#shareModal .modal-body.sc-modal{max-width:420px!important;width:calc(100% - 32px)!important;max-height:92vh!important;overflow-y:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
#shareModal .success-card{position:relative;background:var(--card-solid,#fff);border:1px solid var(--border,#E7E2D8);border-radius:20px;padding:28px 24px 22px;text-align:center;color:var(--text-main,#171614);box-shadow:0 28px 80px rgba(0,0,0,.22)}
#shareModal .sc-close{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:8px;border:1px solid var(--border,#E7E2D8);background:var(--btn-ghost-bg,rgba(0,0,0,.04));color:var(--text-muted,#7D8594);font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .16s ease}
#shareModal .sc-close:hover{background:var(--border,#E7E2D8);color:var(--text-main,#171614)}
#shareModal .sc-check{width:58px;height:58px;border-radius:50%;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;background:rgba(34,197,94,.12);color:#16a34a;font-size:28px;font-weight:800;box-shadow:0 0 0 7px rgba(34,197,94,.06)}
#shareModal .sc-title{margin:0;font-size:22px;line-height:1.3;font-weight:800;letter-spacing:-.02em;color:var(--text-main,#171614)}
#shareModal .sc-sub{margin:5px 0 0;font-size:12.5px;color:var(--text-muted,#8B93A7)}
#shareModal .sc-sub b{color:var(--text-main,#344054);font-weight:650}
#shareModal .sc-amount{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 10px;padding:13px 15px;border-radius:13px;background:var(--btn-ghost-bg,rgba(57,255,143,.06));border:1px solid var(--border,#EDF0F5);text-align:left}
#shareModal .sc-amount span{font-size:12.5px;color:var(--text-muted,#7D8594)}
#shareModal .sc-amount strong{font-size:25px;line-height:1.2;font-weight:800;color:var(--n37-accent,#39FF8F);font-variant-numeric:tabular-nums}
#shareModal .sc-info{border-top:1px solid var(--border,#EDF0F5);border-bottom:1px solid var(--border,#EDF0F5);padding:4px 0;margin:2px 0 12px}
#shareModal .sc-info-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:7px 2px;font-size:13px}
#shareModal .sc-info-row span{color:var(--text-muted,#8B93A7)}
#shareModal .sc-info-row b{color:var(--text-main,#344054);font-weight:650;text-align:right;word-break:break-word}
#shareModal .sc-discount{color:#16a34a!important}
#shareModal .sc-next{margin:0 0 14px;padding:12px 14px;border-radius:12px;background:var(--btn-ghost-bg,rgba(57,255,143,.05));border:1px solid var(--border,#EDF0F5);text-align:left}
#shareModal .sc-next b{display:block;font-size:12px;color:var(--n37-accent,#39FF8F);margin-bottom:5px}
#shareModal .sc-next ol{margin:0;padding-left:17px;color:var(--text-muted,#667085);font-size:12.5px;line-height:1.8}
#shareModal .sc-actions{display:flex;flex-direction:column;gap:8px}
#shareModal .sc-actions .btn{width:100%;height:42px;font-size:13.5px;border-radius:10px}
#shareModal .sc-share{background:var(--n37-accent,#39FF8F)!important;border-color:var(--n37-accent,#39FF8F)!important;color:#fff!important;box-shadow:0 8px 20px rgba(57,255,143,.24)!important}
#shareModal .sc-share:hover{background:#6F6BFF!important;border-color:#6F6BFF!important}
#shareModal .sc-secondary{display:flex;gap:8px}
#shareModal .sc-secondary .btn{flex:1;min-width:0}
#shareModal .sc-note{margin:10px 0 0;font-size:11.5px;line-height:1.6;color:var(--text-muted,#9AA1B2)}
#shareModal .sc-warn{color:#D6452F;text-align:left}
body[data-layout="b"] #shareModal .success-card{box-shadow:0 28px 90px rgba(0,0,0,.62)}
@media(max-width:420px){
  #shareModal .modal-body.sc-modal{width:calc(100% - 20px)!important}
  #shareModal .success-card{padding:24px 16px 18px;border-radius:16px}
  #shareModal .sc-title{font-size:20px}
  #shareModal .sc-amount strong{font-size:22px}
  #shareModal .sc-next{padding:10px 12px}
}



/* 下单成功弹窗：版式 B 深色适配 */
body[data-layout="b"] #shareModal .success-card{background:#111214!important;background-color:#111214!important;border-color:#24252A!important;color:#F4F3EF!important;box-shadow:0 28px 90px rgba(0,0,0,.65)!important}
body[data-layout="b"] #shareModal .sc-title{color:#F7F6F2!important}
body[data-layout="b"] #shareModal .sc-sub{color:#9C9A93!important}
body[data-layout="b"] #shareModal .sc-sub b{color:#E7E5DF!important}
body[data-layout="b"] #shareModal .sc-close{background:#1A1B1F!important;border-color:#2A2B31!important;color:#D9D7D0!important}
body[data-layout="b"] #shareModal .sc-close:hover{background:#24252A!important;color:#fff!important}
body[data-layout="b"] #shareModal .sc-amount{background:#0C0D0F!important;border-color:#24252A!important}
body[data-layout="b"] #shareModal .sc-amount span{color:#9C9A93!important}
body[data-layout="b"] #shareModal .sc-amount strong{color:#C9C9FF!important}
body[data-layout="b"] #shareModal .sc-info{border-color:#24252A!important}
body[data-layout="b"] #shareModal .sc-info-row span{color:#9C9A93!important}
body[data-layout="b"] #shareModal .sc-info-row b{color:#E7E5DF!important}
body[data-layout="b"] #shareModal .sc-next{background:#0C0D0F!important;border-color:#24252A!important}
body[data-layout="b"] #shareModal .sc-next b{color:#C9C9FF!important}
body[data-layout="b"] #shareModal .sc-next ol{color:#B9B7AF!important}
body[data-layout="b"] #shareModal .sc-actions .btn.ghost{background:#0C0D0F!important;border-color:#2A2B31!important;color:#D9D7D0!important}
body[data-layout="b"] #shareModal .sc-actions .btn.ghost:hover{background:#191B21!important;border-color:#8B8CF6!important;color:#fff!important}
body[data-layout="b"] #shareModal .sc-note{color:#8E8C85!important}
body[data-layout="b"] #shareModal .sc-warn{color:#FF8F7A!important}



/* 耗材库存：入库 / 流水 / 删除 始终同一行 */
#materialList .row-actions{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-end!important;gap:6px!important;width:100%!important}
#materialList .row-actions .btn{flex:0 0 auto!important;white-space:nowrap!important;min-width:60px!important;padding:0 12px!important}
@media(min-width:769px){
  #materialList td:last-child,#materialList th:last-child{width:240px!important;min-width:240px!important}
}



/* 客户中心订单：操作按钮强制单行 */
#ccBody .cc-order-actions{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;justify-content:flex-end!important;align-items:center!important;width:100%!important;white-space:nowrap!important}
#ccBody .cc-order-actions .btn{flex:0 0 auto!important;height:30px!important;min-height:30px!important;padding:0 9px!important;font-size:12px!important;white-space:nowrap!important;line-height:1!important}
@media(max-width:420px){
  #ccBody .cc-order-actions{gap:4px!important}
  #ccBody .cc-order-actions .btn{padding:0 8px!important;font-size:11.5px!important}
}



/* 客户自助中心：加宽显示 */
#custCenterModal .modal-body{max-width:760px!important;max-height:92vh!important}
@media(min-width:769px){
  #custCenterModal .modal-body{width:calc(100% - 48px)!important}
}
@media(max-width:768px){
  #custCenterModal{padding:8px!important}
  #custCenterModal .modal-body{max-width:100%!important;width:100%!important;max-height:94vh!important;border-radius:16px!important}
  #custCenterModal .modal-head{padding:16px 18px!important}
  #custCenterModal .modal-content{padding:14px 14px 20px!important}
}



/* 客户中心订单标题不换行 */
#ccBody > div:first-child{flex-wrap:nowrap!important;gap:10px!important}
#ccBody > div:first-child > b{white-space:nowrap!important;flex:0 0 auto!important}
#ccBody #cc_status{flex:0 1 190px!important;width:auto!important;min-width:0!important}
@media(max-width:420px){#ccBody #cc_status{flex:1 1 auto!important;max-width:220px!important}}



/* 商家后台登录页 */
body:not(.admin-mode) #viewAdmin > section.hero{display:none!important}
#loginBox.merchant-login{max-width:none!important;margin:clamp(22px,4vw,46px) auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
#loginBox .ml-card{width:min(920px,100%);margin:0 auto;display:grid;grid-template-columns:1.02fr .98fr;border-radius:24px;overflow:hidden;border:1px solid #e7e2d8;background:#fffdf9;box-shadow:0 30px 90px rgba(32,28,22,.14)}
#loginBox .ml-brand{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:34px 34px 26px;color:#f7f5ff;background:radial-gradient(600px 320px at 90% 5%,rgba(57,255,143,.38),transparent 66%),radial-gradient(400px 300px at 8% 96%,rgba(21,154,107,.19),transparent 64%),linear-gradient(155deg,#1b1b25,#121318 58%,#0f1216)}
#loginBox .ml-brand::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.10) 1px,transparent 1px);background-size:22px 22px;opacity:.28;mask-image:linear-gradient(180deg,#000,transparent 74%)}
#loginBox .ml-brand-top{position:relative;display:flex;align-items:center;gap:11px}
#loginBox .ml-logo{width:42px;height:42px;padding:4px;border-radius:12px;background:#fff;overflow:hidden;flex:0 0 auto;box-shadow:0 8px 22px rgba(0,0,0,.2)}
#loginBox .ml-logo img{width:100%;height:100%;object-fit:contain;display:block;border-radius:8px}
#loginBox .ml-brand-top b{display:block;font-size:16px;font-weight:800;line-height:1.3}
#loginBox .ml-brand-top span{display:block;font-size:9.5px;letter-spacing:.15em;color:#9c99a8;margin-top:2px;font-weight:650}
#loginBox .ml-brand-main{position:relative;margin:auto 0}
#loginBox .ml-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:9.5px;font-weight:750;letter-spacing:.17em;color:#a9a6ff;margin-bottom:13px}
#loginBox .ml-eyebrow i{width:6px;height:6px;border-radius:50%;background:var(--n37-accent,#39FF8F);box-shadow:0 0 0 4px rgba(57,255,143,.16)}
#loginBox .ml-brand-main h2{margin:0;font-size:34px;line-height:1.22;letter-spacing:-.045em;font-weight:800;color:#fff}
#loginBox .ml-brand-main h2 em{font-style:normal;background:linear-gradient(90deg,#c9c9ff,var(--n37-accent,#39FF8F) 62%,#b7f5d9);-webkit-background-clip:text;background-clip:text;color:transparent}
#loginBox .ml-brand-main p{margin:15px 0 0;font-size:12.5px;line-height:1.8;color:#b4b1bf;max-width:350px}
#loginBox .ml-features{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:22px}
#loginBox .ml-feature{display:flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid rgba(255,255,255,.10);border-radius:9px;background:rgba(255,255,255,.045);font-size:11.5px;color:#d8d5e2}
#loginBox .ml-feature svg{width:14px;height:14px;color:#a9a6ff;flex:0 0 auto}
#loginBox .ml-brand-foot{position:relative;font-size:10.5px;color:#797684;border-top:1px solid rgba(255,255,255,.10);padding-top:14px}
#loginBox .ml-panel{display:flex;flex-direction:column;justify-content:center;padding:36px 38px 28px;min-width:0;background:linear-gradient(180deg,#fffdfa,#fcfaf5)}
#loginBox .ml-head .ml-eyebrow{color:var(--n37-accent,#39FF8F);margin-bottom:7px}
#loginBox .ml-head .ml-eyebrow.dark::before{content:"";width:18px;height:1.5px;background:var(--n37-accent,#39FF8F);border-radius:2px}
#loginBox .ml-head h2{margin:0;font-size:28px;line-height:1.25;letter-spacing:-.035em;font-weight:800;color:#17181c}
#loginBox .ml-head p{margin:6px 0 0;font-size:12px;color:#7e7a71;line-height:1.65}
#loginBox .ml-form{margin-top:22px;display:flex;flex-direction:column;gap:13px}
#loginBox .ml-field{display:flex;flex-direction:column;gap:5px}
#loginBox .ml-field > span{font-size:12px;font-weight:650;color:#4d4942;display:flex;align-items:center;gap:6px}
#loginBox .ml-field > span small{font-size:9.5px;font-weight:500;color:#a39e94}
#loginBox .ml-input{position:relative;display:flex;align-items:center}
#loginBox .ml-input > svg{position:absolute;left:13px;width:16px;height:16px;color:#a7a298;pointer-events:none}
#loginBox .ml-input input{width:100%;height:44px;padding:0 13px 0 38px;border:1px solid #e2ded5;border-radius:10px;background:#fffdf9;color:#1d1f24;font-size:13.5px;font-family:inherit;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}
#loginBox .ml-input input::placeholder{color:#b4afa4}
#loginBox .ml-input input:hover{border-color:#d4cfc3}
#loginBox .ml-input input:focus{border-color:var(--n37-accent,#39FF8F);background:#fff;box-shadow:0 0 0 3px rgba(57,255,143,.10)}
#loginBox .ml-input:has(.ml-pwd) input{padding-right:42px}
#loginBox .ml-pwd{position:absolute;right:7px;width:29px;height:29px;border:0;border-radius:7px;background:transparent;color:#a39e94;display:flex;align-items:center;justify-content:center;cursor:pointer}
#loginBox .ml-pwd:hover{background:#f2efe8;color:var(--n37-accent,#39FF8F)}
#loginBox .ml-pwd svg{width:15px;height:15px}
#loginBox .ml-hint{font-size:10px;color:#a6a197;line-height:1.55}
#loginBox .ml-submit{height:45px;margin-top:4px;border:0;border-radius:10px;background:linear-gradient(135deg,#6560e6,var(--n37-accent,#39FF8F));color:#fff;font-size:14px;font-weight:750;font-family:inherit;cursor:pointer;box-shadow:0 10px 24px rgba(57,255,143,.24);transition:transform .16s,filter .16s,box-shadow .16s}
#loginBox .ml-submit:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 13px 28px rgba(57,255,143,.30)}
#loginBox .ml-submit:active{transform:none}
#loginBox .ml-links{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:15px;padding-top:12px;border-top:1px solid #eeeae2;font-size:11.5px}
#loginBox .ml-links a{color:var(--n37-accent,#39FF8F);text-decoration:none;font-weight:650}
#loginBox .ml-links a:hover{text-decoration:underline}
#loginBox .ml-links span{width:1px;height:11px;background:#e0dbd1}
#loginBox .ml-note{margin:12px 0 0;font-size:10px;text-align:center;color:#a6a197}
@media(max-width:860px){
  #loginBox.merchant-login{margin:18px auto!important}
  #loginBox .ml-card{grid-template-columns:1fr;border-radius:20px}
  #loginBox .ml-brand{padding:24px 24px 20px;gap:18px}
  #loginBox .ml-brand-main h2{font-size:27px}
  #loginBox .ml-brand-main p{display:none}
  #loginBox .ml-features{display:none}
  #loginBox .ml-brand-foot{display:none}
  #loginBox .ml-panel{padding:28px 24px 24px}
}
@media(max-width:520px){
  #loginBox.merchant-login{margin:12px 12px 24px!important}
  #loginBox .ml-card{border-radius:16px}
  #loginBox .ml-brand{padding:19px 18px 17px;gap:14px}
  #loginBox .ml-brand-top b{font-size:14px}
  #loginBox .ml-brand-main h2{font-size:23px}
  #loginBox .ml-panel{padding:24px 18px 22px}
  #loginBox .ml-head h2{font-size:25px}
}
/* 版式 B 深色登录 */
body[data-layout="b"] #loginBox .ml-card{background:#111214!important;border-color:#24252A!important;box-shadow:0 30px 90px rgba(0,0,0,.58)!important}
body[data-layout="b"] #loginBox .ml-panel{background:linear-gradient(180deg,#111214,#0D0E12)!important}
body[data-layout="b"] #loginBox .ml-head h2{color:#F7F6F2!important}
body[data-layout="b"] #loginBox .ml-head p{color:#9C9A93!important}
body[data-layout="b"] #loginBox .ml-field > span{color:#D9D7D0!important}
body[data-layout="b"] #loginBox .ml-field > span small,
body[data-layout="b"] #loginBox .ml-hint,
body[data-layout="b"] #loginBox .ml-note{color:#8E8C85!important}
body[data-layout="b"] #loginBox .ml-input > svg,
body[data-layout="b"] #loginBox .ml-pwd{color:#8E8C85!important}
body[data-layout="b"] #loginBox .ml-input input{background:#0C0D0F!important;border-color:#2A2B31!important;color:#F4F3EF!important}
body[data-layout="b"] #loginBox .ml-input input::placeholder{color:#77756E!important}
body[data-layout="b"] #loginBox .ml-input input:focus{border-color:#8B8CF6!important;box-shadow:0 0 0 3px rgba(57,255,143,.16)!important}
body[data-layout="b"] #loginBox .ml-pwd:hover{background:#1A1B1F!important;color:#C9C9FF!important}
body[data-layout="b"] #loginBox .ml-links{border-color:#24252A!important}
body[data-layout="b"] #loginBox .ml-links a{color:#C9C9FF!important}
body[data-layout="b"] #loginBox .ml-links span{background:#34353D!important}



/* 客户中心登录页 */
#custCenterModal .cust-login{display:grid;grid-template-columns:.92fr 1.08fr;border:1px solid #e7e2d8;border-radius:18px;overflow:hidden;background:#fffdf9}
#custCenterModal .cl-side{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:24px;padding:26px 24px 22px;color:#f7f5ff;background:radial-gradient(460px 260px at 92% 4%,rgba(57,255,143,.38),transparent 66%),radial-gradient(340px 260px at 5% 98%,rgba(21,154,107,.18),transparent 64%),linear-gradient(155deg,#1b1b25,#121318 58%,#0f1216)}
#custCenterModal .cl-side::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.10) 1px,transparent 1px);background-size:21px 21px;opacity:.28;mask-image:linear-gradient(180deg,#000,transparent 75%)}
#custCenterModal .cl-brand{position:relative;display:flex;align-items:center;gap:9px}
#custCenterModal .cl-logo{width:36px;height:36px;padding:3px;border-radius:10px;background:#fff;overflow:hidden;flex:0 0 auto;box-shadow:0 6px 18px rgba(0,0,0,.2)}
#custCenterModal .cl-logo img{width:100%;height:100%;object-fit:contain;display:block;border-radius:7px}
#custCenterModal .cl-brand b{display:block;font-size:14px;font-weight:800;line-height:1.3}
#custCenterModal .cl-brand span{display:block;font-size:8.5px;letter-spacing:.14em;color:#9c99a8;margin-top:2px;font-weight:650}
#custCenterModal .cl-side-main{position:relative;margin:auto 0}
#custCenterModal .cl-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:8.5px;font-weight:750;letter-spacing:.14em;color:#a9a6ff;margin-bottom:10px}
#custCenterModal .cl-eyebrow i{width:5px;height:5px;border-radius:50%;background:var(--n37-accent,#39FF8F);box-shadow:0 0 0 3px rgba(57,255,143,.16)}
#custCenterModal .cl-side-main h2{margin:0;font-size:25px;line-height:1.25;letter-spacing:-.035em;font-weight:800;color:#fff}
#custCenterModal .cl-side-main p{margin:10px 0 0;font-size:11.5px;line-height:1.7;color:#b6b3c1;max-width:280px}
#custCenterModal .cl-features{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:16px}
#custCenterModal .cl-feature{display:flex;align-items:center;gap:6px;min-height:32px;padding:6px 8px;border:1px solid rgba(255,255,255,.10);border-radius:8px;background:rgba(255,255,255,.045);font-size:10.5px;color:#d8d5e2}
#custCenterModal .cl-feature svg{width:13px;height:13px;color:#a9a6ff;flex:0 0 auto}
#custCenterModal .cl-side-foot{position:relative;font-size:9.5px;color:#797684;border-top:1px solid rgba(255,255,255,.10);padding-top:11px}
#custCenterModal .cl-main{display:flex;flex-direction:column;justify-content:center;padding:26px 26px 22px;min-width:0;background:linear-gradient(180deg,#fffdfa,#fcfaf5)}
#custCenterModal .cl-head .cl-eyebrow{color:var(--n37-accent,#39FF8F);margin-bottom:6px}
#custCenterModal .cl-head .cl-eyebrow.dark::before{content:"";width:16px;height:1.5px;background:var(--n37-accent,#39FF8F);border-radius:2px}
#custCenterModal .cl-head h3{margin:0;font-size:24px;line-height:1.3;letter-spacing:-.03em;font-weight:800;color:#17181c}
#custCenterModal .cl-head p{margin:5px 0 0;font-size:11.5px;line-height:1.65;color:#7e7a71}
#custCenterModal .cl-form{margin-top:17px;display:flex;flex-direction:column;gap:10px}
#custCenterModal .cl-field{display:flex;flex-direction:column;gap:5px;min-width:0}
#custCenterModal .cl-field > span{font-size:11.5px;font-weight:650;color:#4d4942}
#custCenterModal .cl-input{position:relative;display:flex;align-items:center}
#custCenterModal .cl-input > svg{position:absolute;left:12px;width:15px;height:15px;color:#a7a298;pointer-events:none}
#custCenterModal .cl-input input{width:100%;height:41px;padding:0 12px 0 35px;border:1px solid #e2ded5;border-radius:9px;background:#fffdf9;color:#1d1f24;font-size:12.5px;font-family:inherit;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}
#custCenterModal .cl-input input::placeholder{color:#b4afa4}
#custCenterModal .cl-input input:focus{border-color:var(--n37-accent,#39FF8F);background:#fff;box-shadow:0 0 0 3px rgba(57,255,143,.10)}
#custCenterModal .cl-captcha-row{display:grid;grid-template-columns:1fr 116px;gap:8px;align-items:end}
#custCenterModal .cl-captcha-img{height:41px;width:116px;object-fit:cover;border-radius:9px;border:1px solid #e2ded5;cursor:pointer;background:#f7f4ed;display:block}
#custCenterModal .cl-btn{height:41px;margin-top:2px;border:0;border-radius:9px;background:linear-gradient(135deg,#6560e6,var(--n37-accent,#39FF8F));color:#fff;font-size:12.5px;font-weight:750;font-family:inherit;cursor:pointer;box-shadow:0 8px 20px rgba(57,255,143,.22);transition:transform .16s,filter .16s,box-shadow .16s}
#custCenterModal .cl-btn:hover{transform:translateY(-1px);filter:brightness(1.04)}
#custCenterModal .cl-btn:disabled{opacity:.55;cursor:wait;transform:none;filter:none}
#custCenterModal .cl-agree{display:flex;align-items:flex-start;gap:7px;font-size:10.5px;line-height:1.6;color:#8f8a80;cursor:pointer;margin-top:1px}
#custCenterModal .cl-agree input{position:absolute;opacity:0;pointer-events:none}
#custCenterModal .cl-box{width:15px;height:15px;flex:0 0 auto;margin-top:1px;border:1px solid #d6d1c6;border-radius:4px;background:#fffdf9;position:relative;transition:all .16s}
#custCenterModal .cl-agree input:checked + .cl-box{background:var(--n37-accent,#39FF8F);border-color:var(--n37-accent,#39FF8F)}
#custCenterModal .cl-agree input:checked + .cl-box::after{content:"";position:absolute;left:4px;top:1px;width:5px;height:8px;border:solid #fff;border-width:0 1.7px 1.7px 0;transform:rotate(42deg)}
#custCenterModal .cl-agree a{color:var(--n37-accent,#39FF8F);text-decoration:none;font-weight:650}
#custCenterModal .cl-agree a:hover{text-decoration:underline}
#custCenterModal .cl-msg{min-height:16px;font-size:11px;line-height:1.6;word-break:break-all}
#custCenterModal .cl-code-box{display:flex;flex-direction:column;gap:9px;margin-top:2px;padding-top:10px;border-top:1px dashed #e9e4da}
#custCenterModal .cl-note{margin:13px 0 0;font-size:9.5px;text-align:center;color:#a6a197;line-height:1.6}
body[data-layout="b"] #custCenterModal .cust-login{background:#111214!important;border-color:#24252A!important}
body[data-layout="b"] #custCenterModal .cl-main{background:linear-gradient(180deg,#111214,#0D0E12)!important}
body[data-layout="b"] #custCenterModal .cl-head h3{color:#F7F6F2!important}
body[data-layout="b"] #custCenterModal .cl-head p{color:#9C9A93!important}
body[data-layout="b"] #custCenterModal .cl-field > span{color:#D9D7D0!important}
body[data-layout="b"] #custCenterModal .cl-input > svg{color:#8E8C85!important}
body[data-layout="b"] #custCenterModal .cl-input input{background:#0C0D0F!important;border-color:#2A2B31!important;color:#F4F3EF!important}
body[data-layout="b"] #custCenterModal .cl-input input::placeholder{color:#77756E!important}
body[data-layout="b"] #custCenterModal .cl-input input:focus{border-color:#8B8CF6!important;box-shadow:0 0 0 3px rgba(57,255,143,.16)!important}
body[data-layout="b"] #custCenterModal .cl-captcha-img{border-color:#2A2B31!important;background:#0C0D0F!important}
body[data-layout="b"] #custCenterModal .cl-agree{color:#9C9A93!important}
body[data-layout="b"] #custCenterModal .cl-box{border-color:#3A3B44!important;background:#0C0D0F!important}
body[data-layout="b"] #custCenterModal .cl-agree a{color:#C9C9FF!important}
body[data-layout="b"] #custCenterModal .cl-code-box{border-color:#24252A!important}
body[data-layout="b"] #custCenterModal .cl-note{color:#8E8C85!important}
@media(max-width:720px){
  #custCenterModal .cust-login{grid-template-columns:1fr;border-radius:14px}
  #custCenterModal .cl-side{padding:18px 17px 15px;gap:11px}
  #custCenterModal .cl-side-main h2{font-size:21px}
  #custCenterModal .cl-side-main p{display:none}
  #custCenterModal .cl-features{display:none}
  #custCenterModal .cl-side-foot{display:none}
  #custCenterModal .cl-main{padding:20px 17px 18px}
  #custCenterModal .cl-head h3{font-size:21px}
  #custCenterModal .cl-captcha-row{grid-template-columns:1fr 100px}
  #custCenterModal .cl-captcha-img{width:100px}
}



/* 后台设置：图片本身就是上传入口，不再显示上传文字 */
.settings-img-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.settings-img-upload{position:relative;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;border-radius:9px;border:1px solid var(--border);background:var(--input-bg);overflow:hidden;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease}
.settings-img-upload input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;z-index:2}
.settings-img-upload img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}
.settings-img-upload:hover{border-color:var(--n37-accent,#39FF8F);box-shadow:0 0 0 3px rgba(57,255,143,.12)}
.settings-img-upload:active{transform:scale(.98)}
body .shell .settings-img-upload{background:#0C0D0F!important;border-color:#2A2B31!important}
body .shell .settings-img-upload:hover{border-color:#8B8CF6!important;box-shadow:0 0 0 3px rgba(57,255,143,.16)!important}



/* 网站 Logo / 门店二维码：纯图标删除按钮 */
.settings-img-del{width:30px!important;height:30px!important;padding:0!important;border-radius:8px!important;border:1px solid #F2D3CC!important;background:#FFF8F6!important;color:#D6452F!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;flex:0 0 auto!important;transition:background .16s ease,border-color .16s ease,color .16s ease}
.settings-img-del svg{width:15px!important;height:15px!important;display:block!important}
.settings-img-del:hover{background:#FDEDE9!important;border-color:#E0A69A!important;color:#B42318!important}
.settings-img-del:disabled{opacity:.5!important;cursor:wait!important}
body .shell .settings-img-del{background:#1A1211!important;border-color:#4A2A26!important;color:#FF8F7A!important}
body .shell .settings-img-del:hover{background:#2A1714!important;border-color:#FF8F7A!important}



/* 门店位置：左侧信息 / 右侧二维码+说明 */
.store-location-grid{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px;align-items:start;margin-top:8px}
.store-info-col{display:flex;flex-direction:column;gap:10px;min-width:0}
.store-info-col .field{margin:0!important}
.store-qr-col{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--box-bg)}
.store-qr-upload{width:140px!important;height:140px!important;border-radius:10px!important}
.store-qr-caption{font-size:11.5px;color:var(--text-muted);text-align:center;line-height:1.5}
.store-qr-col .field{margin:2px 0 0!important;width:100%}
@media(max-width:800px){
  .store-location-grid{grid-template-columns:1fr;gap:14px}
  .store-qr-col{width:100%;align-items:flex-start}
  .store-qr-upload{width:130px!important;height:130px!important}
  .store-qr-caption{text-align:left}
}



/* 门店位置卡片独占整行，内部左右布局更舒展 */
@media(min-width:801px){#tabSettings .store-location-card{grid-column:1/-1!important}}



/* 网站设置：整行卡片 + 均衡分栏 */
#tabSettings .settings-grid{grid-template-columns:1fr!important;gap:16px!important}
#tabSettings .basic-info-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
#tabSettings .basic-col{display:flex;flex-direction:column;gap:11px;min-width:0}
#tabSettings .basic-col .field{margin:0!important}
#tabSettings .store-location-card{grid-column:auto!important}
#tabSettings .store-location-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 210px;gap:18px;align-items:start;margin-top:10px}
#tabSettings .store-col{display:flex;flex-direction:column;gap:10px;min-width:0}
#tabSettings .store-col-head{font-size:10.5px;font-weight:750;letter-spacing:.10em;color:var(--text-muted);line-height:1.4;margin-bottom:1px}
#tabSettings .store-col .field{margin:0!important}
#tabSettings .store-qr-col{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:13px;border:1px solid var(--border);border-radius:12px;background:var(--box-bg)}
#tabSettings .store-qr-upload{width:170px!important;height:170px!important;border-radius:10px!important}
#tabSettings .store-qr-caption{font-size:11.5px;color:var(--text-muted);text-align:center;line-height:1.5}
#tabSettings .store-qr-col .field{width:100%;margin:2px 0 0!important}
@media(max-width:1000px){
  #tabSettings .store-location-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  #tabSettings .store-qr-col{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;flex-wrap:wrap}
  #tabSettings .store-qr-upload{width:140px!important;height:140px!important}
  #tabSettings .store-qr-caption{text-align:left;min-width:90px}
  #tabSettings .store-qr-col .field{width:100%;max-width:420px;margin:0!important}
}
@media(max-width:780px){
  #tabSettings .basic-info-grid{grid-template-columns:1fr;gap:12px}
  #tabSettings .store-location-grid{grid-template-columns:1fr;gap:14px}
  #tabSettings .store-qr-col{grid-column:auto;align-items:flex-start}
  #tabSettings .store-qr-upload{width:140px!important;height:140px!important}
}



/* 基本信息：店名与 Logo 左右排，导航菜单整行在下方 */
#tabSettings .basic-top-row{display:grid;grid-template-columns:minmax(0,1fr) 124px;gap:18px;align-items:start;margin-bottom:12px}
#tabSettings .basic-top-row .field{margin:0!important;min-width:0}
#tabSettings .basic-logo-field{min-width:0}
#tabSettings .basic-logo-field .settings-img-row{justify-content:flex-start}
#tabSettings .basic-nav-field{margin:0!important;display:flex!important;flex-direction:column;gap:6px}
#tabSettings .basic-nav-field textarea{width:100%!important}
@media(max-width:520px){
  #tabSettings .basic-top-row{grid-template-columns:minmax(0,1fr) 88px;gap:12px}
}



/* 门店二维码区：图片与文字居中同一轴线 */
#tabSettings .store-qr-col{align-items:center!important;text-align:center!important}
#tabSettings .store-qr-caption{width:100%!important;text-align:center!important}
#tabSettings .store-qr-col .field{text-align:center!important;width:100%!important}
#tabSettings .store-qr-col .field > span{display:block!important;width:100%!important;text-align:center!important}
#tabSettings .store-qr-col .field input{width:100%!important;text-align:center!important}
@media(max-width:1000px){
  #tabSettings .store-qr-col{flex-direction:column!important;align-items:center!important;justify-content:center!important}
  #tabSettings .store-qr-caption{text-align:center!important;min-width:0!important}
  #tabSettings .store-qr-col .field{max-width:100%!important}
}
@media(max-width:780px){
  #tabSettings .store-qr-col{align-items:center!important}
  #tabSettings .store-qr-caption{text-align:center!important}
}



/* 网站 Logo 字段：文案两行居中，图片与文字居中对齐 */
#tabSettings .basic-logo-field{align-items:center!important;text-align:center!important}
#tabSettings .basic-logo-field > .logo-field-label{display:block!important;width:100%!important;text-align:center!important;line-height:1.5!important}
#tabSettings .basic-logo-field > .logo-field-label small{display:block!important;font-size:10.5px!important;font-weight:500!important;color:var(--text-muted)!important;letter-spacing:0!important;line-height:1.45!important;white-space:nowrap!important}
#tabSettings .basic-logo-field .settings-img-row{justify-content:center!important;width:100%!important}



/* 网站设置：保存按钮跟随标题，进入页面即可操作 */
#tabSettings .settings-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:2px 2px 14px;border-bottom:1px solid var(--border)}
#tabSettings .settings-head .settings-title{margin:0!important;padding:0!important;border:0!important;line-height:1.35}
#tabSettings .settings-head-tip{margin:4px 0 0;font-size:11.5px;line-height:1.5;color:var(--text-muted)}
#tabSettings .settings-save-top{height:38px!important;min-width:112px;flex:0 0 auto;border-radius:9px}
@media(max-width:600px){
  #tabSettings .settings-head{align-items:flex-start;gap:10px}
  #tabSettings .settings-head .settings-title{font-size:18px!important}
  #tabSettings .settings-save-top{height:36px!important;min-width:100px;font-size:12.5px}
  #tabSettings .settings-head-tip{font-size:10.5px}
}



/* 网站设置：移除重复标题，保存按钮右侧对齐 */
#tabSettings .settings-head{justify-content:flex-end!important}



/* 首页门店卡片：信息层级重排 */
#storeInfo .store-card{padding:24px!important;gap:15px!important;border-radius:18px!important}
#storeInfo .store-head{align-items:flex-start!important;gap:13px!important}
#storeInfo .store-badge{width:54px!important;height:54px!important;border-radius:15px!important}
#storeInfo .store-head-main{flex:1 1 auto;min-width:0}
#storeInfo .store-title-line{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;min-width:0}
#storeInfo .store-title-line .store-name{flex:1 1 auto;min-width:0;font-size:18px!important;letter-spacing:-.01em}
#storeInfo .store-title-line .store-open{flex:0 0 auto;margin:0!important;padding:3px 9px!important;font-size:11px!important;line-height:1.5!important;display:inline-flex!important;align-items:center!important;gap:5px!important;white-space:nowrap}
#storeInfo .store-title-line .store-open::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;display:inline-block}
#storeInfo .store-tag-line{margin-top:6px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#storeInfo .store-tag{margin-top:0!important;padding:2px 9px!important;font-size:11px!important;line-height:1.7!important;border-radius:999px!important}
#storeInfo .store-rows{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px 14px!important;padding-top:14px!important;border-top:1px solid var(--border)!important}
#storeInfo .store-rows li:first-child{grid-column:1/-1}
#storeInfo .store-rows li{gap:9px!important;font-size:13.5px!important;line-height:1.6!important;min-width:0}
#storeInfo .store-rows li svg{width:16px!important;height:16px!important;margin-top:3px!important;flex:0 0 auto!important;opacity:.8}
#storeInfo .store-rows li span,#storeInfo .store-rows li a{min-width:0;overflow-wrap:anywhere}
#storeInfo .store-rows li a{font-weight:600!important}
#storeInfo .store-promise{padding-top:13px!important;border-top:1px solid var(--border)!important;gap:7px!important;display:flex!important;flex-wrap:wrap}
#storeInfo .store-promise span{font-size:11.5px!important;padding:3px 10px!important;border-radius:999px!important}
@media(max-width:560px){
  #storeInfo .store-card{padding:18px!important}
  #storeInfo .store-rows{grid-template-columns:1fr!important;gap:9px!important}
  #storeInfo .store-rows li:first-child{grid-column:auto}
}



/* 门店信息：地址 / 电话 / 营业时间 同一行 */
#storeInfo .store-rows{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,1fr)!important;gap:10px 14px!important;align-items:start!important}
#storeInfo .store-rows li:first-child{grid-column:auto!important}
#storeInfo .store-rows li{min-width:0!important}
#storeInfo .store-rows li + li{border-left:1px solid var(--border)!important;padding-left:14px!important}
@media(max-width:560px){
  #storeInfo .store-rows{grid-template-columns:1fr!important;gap:9px!important}
  #storeInfo .store-rows li + li{border-left:0!important;padding-left:0!important}
}



/* 门店信息一行：去掉竖分隔线，改用留白区分 */
#storeInfo .store-rows{gap:10px 22px!important}
#storeInfo .store-rows li + li{border-left:0!important;padding-left:0!important}
#storeInfo .store-rows li{line-height:1.6!important}



/* 门店卡片：移除上下两条横分隔线 */
#storeInfo .store-rows{border-top:0!important;padding-top:0!important}
#storeInfo .store-promise{border-top:0!important;padding-top:0!important}
#storeInfo .store-card{gap:16px!important}



/* 门店信息：三张轻量信息卡 */
#storeInfo .store-rows{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(0,.95fr) minmax(0,.95fr)!important;gap:9px!important;padding:0!important;border:0!important}
#storeInfo .store-rows li{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;padding:9px 11px!important;border:1px solid transparent!important;border-radius:12px!important;background:var(--box-bg)!important;transition:background .18s ease,border-color .18s ease,transform .18s ease!important}
#storeInfo .store-rows li:hover{background:var(--hover-bg)!important;border-color:var(--border)!important;transform:translateY(-1px)!important}
#storeInfo .si-ico{width:30px!important;height:30px!important;border-radius:9px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;background:rgba(57,255,143,.10)!important;color:var(--n37-accent,#39FF8F)!important}
#storeInfo .si-ico svg{width:15px!important;height:15px!important;margin:0!important;opacity:1!important;color:inherit!important}
#storeInfo .si-phone .si-ico{background:rgba(21,154,107,.11)!important;color:#159A6B!important}
#storeInfo .si-hours .si-ico{background:rgba(183,121,31,.12)!important;color:#B7791F!important}
#storeInfo .si-copy{display:flex!important;flex-direction:column!important;min-width:0!important;gap:1px!important}
#storeInfo .si-lbl{font-size:9.5px!important;line-height:1.3!important;color:var(--text-muted)!important;letter-spacing:.03em!important;white-space:nowrap!important}
#storeInfo .si-val{font-size:12.5px!important;line-height:1.45!important;color:var(--text-main)!important;overflow-wrap:anywhere!important}
#storeInfo .si-val a{color:var(--text-main)!important;text-decoration:none!important;font-weight:650!important}
#storeInfo .si-val a:hover{color:var(--n37-accent,#39FF8F)!important}
@media(max-width:560px){
  #storeInfo .store-rows{grid-template-columns:1fr!important;gap:7px!important}
  #storeInfo .store-rows li{padding:8px 10px!important}
}



/* 门店信息三卡片：版式 B 深色适配 */
body[data-layout="b"] #storeInfo .store-rows li{background:#15171C!important;border-color:#24252A!important}
body[data-layout="b"] #storeInfo .store-rows li:hover{background:#1A1D23!important;border-color:#34363E!important}
body[data-layout="b"] #storeInfo .si-lbl{color:#8E8C85!important}
body[data-layout="b"] #storeInfo .si-val{color:#E7E5DF!important}
body[data-layout="b"] #storeInfo .si-val a{color:#E7E5DF!important}
body[data-layout="b"] #storeInfo .si-val a:hover{color:#C9C9FF!important}
body[data-layout="b"] #storeInfo .si-address .si-ico{background:rgba(57,255,143,.15)!important;color:#C9C9FF!important}
body[data-layout="b"] #storeInfo .si-phone .si-ico{background:rgba(52,211,153,.13)!important;color:#6EE7B7!important}
body[data-layout="b"] #storeInfo .si-hours .si-ico{background:rgba(251,191,36,.13)!important;color:#FBBF24!important}



body[data-layout="b"] #storeInfo .si-phone .si-val a{color:#E7E5DF!important}
body[data-layout="b"] #storeInfo .si-phone .si-val a:hover{color:#C9C9FF!important}



/* 订单管理：单行图标操作，去冗余装饰 */
#adminList .op-group{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;width:auto!important;max-width:none!important}
#adminList .op-group .op-ico{width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--line-strong)!important;border-radius:7px!important;background:#fff!important;color:var(--ink-700)!important;font-size:0!important;gap:0!important;flex:0 0 auto!important}
#adminList .op-group .op-ico svg{width:14px!important;height:14px!important;flex:0 0 auto!important}
#adminList .op-group .op-ico:hover{background:var(--brand-50)!important;border-color:var(--brand-300)!important;color:var(--brand-700)!important;transform:translateY(-1px)!important}
#adminList .op-group .op-ico.success{color:#12805C!important;border-color:#BFE4D6!important}
#adminList .op-group .op-ico.info{color:#3D6FB4!important;border-color:#C9D9EE!important}
#adminList .op-group .op-ico.danger{color:#B42318!important;border-color:#E9BDB8!important}
#adminList .op-group .op-ico.danger:hover{background:#FDF0EE!important;border-color:#D6452F!important}
#adminList .op-group .op-label{display:none!important}
#adminList td[data-label="操作"],#adminList th:last-child{width:270px!important;min-width:270px!important}
#adminList .order-op-legend{display:none!important}
@media(max-width:768px){
  #adminList .op-group{flex-wrap:nowrap!important;width:auto!important;max-width:none!important;justify-content:flex-end!important}
  #adminList .op-group .op-ico{height:30px!important;width:30px!important;min-width:30px!important;padding:0!important}
}



/* 客户确认链接弹窗 */
#confirmLinkModal .cf-modal{max-width:560px!important;width:calc(100% - 32px)!important;padding:0!important;overflow:hidden!important;border-radius:20px!important;border:1px solid #E7E2D8!important;background:#FFFDF9!important;box-shadow:0 30px 90px rgba(32,28,22,.22)!important}
#confirmLinkModal .cf-head{display:flex;align-items:center;gap:12px;padding:22px 24px 16px;border-bottom:1px solid #EFEAE1;background:linear-gradient(180deg,#FFFDF9,#FCFAF5)}
#confirmLinkModal .cf-head-icon{width:40px;height:40px;flex:0 0 auto;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(57,255,143,.10);color:var(--n37-accent,#39FF8F)}
#confirmLinkModal .cf-head-icon svg{width:19px;height:19px}
#confirmLinkModal .cf-head-text{flex:1;min-width:0}
#confirmLinkModal .cf-head-text h3{margin:0;font-size:17px;line-height:1.35;font-weight:800;letter-spacing:-.02em;color:#17181C}
#confirmLinkModal .cf-head-text p{margin:3px 0 0;font-size:11.5px;line-height:1.5;color:#8E8A80}
#confirmLinkModal .cf-close{width:30px!important;height:30px!important;flex:0 0 auto;border-radius:8px!important;background:#F3F0E9!important;color:#8E8A80!important;font-size:15px!important}
#confirmLinkModal .cf-close:hover{background:#EAE6DD!important;color:#1D1F24!important}
#confirmLinkModal .cf-body{padding:18px 24px 22px}
#confirmLinkModal .cf-steps{display:flex;align-items:center;gap:8px;margin-bottom:16px}
#confirmLinkModal .cf-step{display:flex;align-items:center;gap:7px;min-width:0;flex:1}
#confirmLinkModal .cf-step-num{width:24px;height:24px;flex:0 0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#EEECFF;color:var(--n37-accent,#39FF8F);font-size:11px;font-weight:800}
#confirmLinkModal .cf-step b{display:block;font-size:11.5px;line-height:1.35;font-weight:700;color:#3B3832;white-space:nowrap}
#confirmLinkModal .cf-step small{display:block;font-size:9.5px;line-height:1.4;color:#A39E94;white-space:nowrap}
#confirmLinkModal .cf-step-line{width:14px;height:1px;flex:0 0 auto;background:#E5E0D6}
#confirmLinkModal .cf-link-card{padding:14px;border:1px solid #E7E2D8;border-radius:14px;background:#FBF9F4}
#confirmLinkModal .cf-link-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
#confirmLinkModal .cf-link-label{font-size:11px;font-weight:700;letter-spacing:.02em;color:#6B665D}
#confirmLinkModal .cf-link-badge{font-size:9.5px;font-weight:650;color:#12805C;background:#EAF7F1;border:1px solid #CFEADF;border-radius:999px;padding:2px 7px}
#confirmLinkModal .cf-link-url{word-break:break-all;font-size:12.5px;line-height:1.65;color:var(--n37-accent,#39FF8F);background:#FFFDF9;border:1px solid #E7E2D8;border-radius:9px;padding:10px 11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;max-height:78px;overflow:auto}
#confirmLinkModal .cf-copy-btn{width:100%;height:42px;margin-top:10px;border:0;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:7px;background:linear-gradient(135deg,#6560E6,var(--n37-accent,#39FF8F))!important;color:#FFF!important;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;box-shadow:0 8px 20px rgba(57,255,143,.22);transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}
#confirmLinkModal .cf-copy-btn svg{width:15px;height:15px}
#confirmLinkModal .cf-copy-btn:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 11px 25px rgba(57,255,143,.28)}
#confirmLinkModal .cf-copy-btn:active{transform:none}
#confirmLinkModal .cf-note{display:flex;align-items:flex-start;gap:8px;margin-top:13px;padding:0 1px}
#confirmLinkModal .cf-note svg{width:14px;height:14px;flex:0 0 auto;margin-top:2px;color:#A39E94}
#confirmLinkModal .cf-note p{margin:0;font-size:10.5px;line-height:1.7;color:#8E8A80}
#confirmLinkModal .cf-note strong{color:#4D4942;font-weight:700}
body[data-layout="b"] #confirmLinkModal .cf-modal{background:#111214!important;border-color:#24252A!important;box-shadow:0 30px 90px rgba(0,0,0,.58)!important}
body[data-layout="b"] #confirmLinkModal .cf-head{background:linear-gradient(180deg,#131418,#0F1013)!important;border-color:#24252A!important}
body[data-layout="b"] #confirmLinkModal .cf-head-text h3{color:#F7F6F2!important}
body[data-layout="b"] #confirmLinkModal .cf-head-text p{color:#9C9A93!important}
body[data-layout="b"] #confirmLinkModal .cf-head-icon{background:rgba(57,255,143,.14)!important;color:#C9C9FF!important}
body[data-layout="b"] #confirmLinkModal .cf-close{background:#1A1B1F!important;color:#9C9A93!important}
body[data-layout="b"] #confirmLinkModal .cf-close:hover{background:#24252A!important;color:#F7F6F2!important}
body[data-layout="b"] #confirmLinkModal .cf-step-num{background:rgba(57,255,143,.16)!important;color:#C9C9FF!important}
body[data-layout="b"] #confirmLinkModal .cf-step b{color:#E7E5DF!important}
body[data-layout="b"] #confirmLinkModal .cf-step small{color:#8E8C85!important}
body[data-layout="b"] #confirmLinkModal .cf-step-line{background:#2A2B31!important}
body[data-layout="b"] #confirmLinkModal .cf-link-card{background:#0C0D0F!important;border-color:#24252A!important}
body[data-layout="b"] #confirmLinkModal .cf-link-label{color:#B8B4AA!important}
body[data-layout="b"] #confirmLinkModal .cf-link-badge{background:rgba(52,211,153,.10)!important;border-color:rgba(52,211,153,.26)!important;color:#6EE7B7!important}
body[data-layout="b"] #confirmLinkModal .cf-link-url{background:#111318!important;border-color:#2A2B31!important;color:#C9C9FF!important}
body[data-layout="b"] #confirmLinkModal .cf-note svg,body[data-layout="b"] #confirmLinkModal .cf-note p{color:#8E8C85!important}
body[data-layout="b"] #confirmLinkModal .cf-note strong{color:#D9D7D0!important}
@media(max-width:600px){
  #confirmLinkModal .cf-modal{width:calc(100% - 20px)!important;border-radius:16px!important}
  #confirmLinkModal .cf-head{padding:18px 18px 14px;gap:10px}
  #confirmLinkModal .cf-head-icon{width:36px;height:36px}
  #confirmLinkModal .cf-body{padding:15px 18px 18px}
  #confirmLinkModal .cf-steps{gap:5px;margin-bottom:13px}
  #confirmLinkModal .cf-step{gap:5px}
  #confirmLinkModal .cf-step-num{width:21px;height:21px;font-size:10px}
  #confirmLinkModal .cf-step b{font-size:10.5px}
  #confirmLinkModal .cf-step small{display:none}
  #confirmLinkModal .cf-step-line{width:7px}
  #confirmLinkModal .cf-link-url{font-size:12px;max-height:88px}
}



/* 设计稿版本弹窗 */
#verModal .ver-modal{max-width:560px!important;width:calc(100% - 32px)!important;padding:0!important;overflow:hidden!important;border-radius:20px!important;border:1px solid #E7E2D8!important;background:#FFFDF9!important;box-shadow:0 30px 90px rgba(32,28,22,.22)!important}
#verModal .ver-head{display:flex;align-items:center;gap:12px;padding:22px 24px 16px;border-bottom:1px solid #EFEAE1;background:linear-gradient(180deg,#FFFDF9,#FCFAF5)}
#verModal .ver-head-icon{width:40px;height:40px;flex:0 0 auto;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(57,255,143,.10);color:var(--n37-accent,#39FF8F)}
#verModal .ver-head-icon svg{width:19px;height:19px}
#verModal .ver-head-text{flex:1;min-width:0}
#verModal .ver-head-text h3{margin:0;font-size:17px;line-height:1.35;font-weight:800;letter-spacing:-.02em;color:#17181C}
#verModal .ver-head-text p{margin:3px 0 0;font-size:11px;line-height:1.5;color:#8E8A80}
#verModal .ver-close{width:30px!important;height:30px!important;flex:0 0 auto;border-radius:8px!important;background:#F3F0E9!important;color:#8E8A80!important;font-size:15px!important}
#verModal .ver-close:hover{background:#EAE6DD!important;color:#1D1F24!important}
#verModal .ver-body{padding:17px 24px 22px;max-height:calc(100vh - 150px);overflow-y:auto}
#verModal .ver-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px}
#verModal .ver-section-head span{font-size:12px;font-weight:750;color:#3B3832;line-height:1.4}
#verModal .ver-section-head small{font-size:9.5px;color:#A39E94;line-height:1.4}
#verModal .ver-list{margin-bottom:15px}
#verModal .ver-item{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 13px;margin-bottom:7px;border:1px solid #EEE9DF;border-radius:12px;background:#FBF9F4;transition:border-color .16s ease,background .16s ease}
#verModal .ver-item:hover{border-color:#DDD9F5;background:#FCFBFF}
#verModal .ver-item-main{min-width:0;flex:1}
#verModal .ver-item-top{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:4px}
#verModal .ver-item .badge{font-size:9px!important;padding:2px 7px!important;border-radius:5px!important;margin:0!important;line-height:1.6!important}
#verModal .ver-item-file{display:inline-block;color:var(--n37-accent,#39FF8F);text-decoration:none;font-size:12px;font-weight:650;line-height:1.55;word-break:break-all}
#verModal .ver-item-file:hover{text-decoration:underline}
#verModal .ver-item-note{margin-top:3px;font-size:10.5px;line-height:1.6;color:#8E8A80}
#verModal .ver-del{flex:0 0 auto;border:1px solid #F2D3CC;background:#FFF8F6;color:#C05A4A;border-radius:7px;padding:5px 9px;font-size:10.5px;font-weight:650;cursor:pointer;font-family:inherit;transition:.16s ease}
#verModal .ver-del:hover{background:#FDEDE9;color:#B42318}
#verModal .ver-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:20px 10px;margin-bottom:2px;border:1px dashed #E7E2D8;border-radius:12px;background:#FCFAF5;color:#A39E94;text-align:center}
#verModal .ver-empty svg{width:24px;height:24px;color:#C4BFB4;margin-bottom:2px}
#verModal .ver-empty b{font-size:11.5px;font-weight:700;color:#8E8A80}
#verModal .ver-empty span{font-size:10px;color:#B0ABA1}
#verModal .ver-upload{padding-top:14px;border-top:1px solid #EFEAE1}
#verModal .ver-drop{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:19px 14px;margin-bottom:12px;border:1.5px dashed #D9D4E7;border-radius:13px;background:#FBFAFF;cursor:pointer;transition:.18s ease;text-align:center}
#verModal .ver-drop:hover{border-color:#B9B4E8;background:#F7F5FF}
#verModal .ver-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
#verModal .ver-drop-icon{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#EEECFF;color:var(--n37-accent,#39FF8F);margin-bottom:1px}
#verModal .ver-drop-icon svg{width:17px;height:17px}
#verModal .ver-drop-title{max-width:100%;font-size:12px;font-weight:700;line-height:1.5;color:#3B3832;word-break:break-all}
#verModal .ver-drop-sub{font-size:9.5px;line-height:1.5;color:#A39E94}
#verModal .ver-field{display:flex!important;flex-direction:column;gap:5px;margin-bottom:10px}
#verModal .ver-field span{font-size:10.5px;font-weight:650;color:#5F5A52}
#verModal .ver-field input{width:100%;height:38px;border:1px solid #E2DED5;border-radius:9px;background:#FFFDF9;color:#1D1F24;padding:0 11px;font-family:inherit;font-size:12px;outline:none;transition:.16s ease}
#verModal .ver-field input:focus{border-color:var(--n37-accent,#39FF8F);box-shadow:0 0 0 3px rgba(57,255,143,.10);background:#fff}
#verModal .ver-check{display:flex!important;align-items:center!important;gap:7px;margin:0 0 14px;font-size:10.5px;line-height:1.5;color:#8E8A80;cursor:pointer;user-select:none}
#verModal .ver-check input{position:absolute;opacity:0;pointer-events:none}
#verModal .ver-check-box{width:15px;height:15px;flex:0 0 auto;border:1px solid #D6D1C6;border-radius:4px;background:#FFFDF9;position:relative;transition:.16s ease}
#verModal .ver-check input:checked + .ver-check-box{background:var(--n37-accent,#39FF8F);border-color:var(--n37-accent,#39FF8F)}
#verModal .ver-check input:checked + .ver-check-box::after{content:"";position:absolute;left:4px;top:1px;width:5px;height:8px;border:solid #fff;border-width:0 1.7px 1.7px 0;transform:rotate(42deg)}
#verModal .ver-submit{width:100%;height:41px;border:0;border-radius:10px;background:linear-gradient(135deg,#6560E6,var(--n37-accent,#39FF8F));color:#fff;font-size:12.5px;font-weight:750;font-family:inherit;cursor:pointer;box-shadow:0 8px 20px rgba(57,255,143,.22);transition:.16s ease}
#verModal .ver-submit:hover{transform:translateY(-1px);filter:brightness(1.04)}
#verModal .ver-submit:disabled{opacity:.6;transform:none;cursor:wait}
body[data-layout="b"] #verModal .ver-modal{background:#111214!important;border-color:#24252A!important;box-shadow:0 30px 90px rgba(0,0,0,.58)!important}
body[data-layout="b"] #verModal .ver-head{background:linear-gradient(180deg,#131418,#0F1013)!important;border-color:#24252A!important}
body[data-layout="b"] #verModal .ver-head-text h3{color:#F7F6F2!important}
body[data-layout="b"] #verModal .ver-head-text p{color:#9C9A93!important}
body[data-layout="b"] #verModal .ver-head-icon{background:rgba(57,255,143,.14)!important;color:#C9C9FF!important}
body[data-layout="b"] #verModal .ver-close{background:#1A1B1F!important;color:#9C9A93!important}
body[data-layout="b"] #verModal .ver-section-head span{color:#E7E5DF!important}
body[data-layout="b"] #verModal .ver-section-head small{color:#8E8C85!important}
body[data-layout="b"] #verModal .ver-item{background:#15171C!important;border-color:#2A2B31!important}
body[data-layout="b"] #verModal .ver-item:hover{border-color:#3D3B5A!important;background:#191A20!important}
body[data-layout="b"] #verModal .ver-item-file{color:#C9C9FF!important}
body[data-layout="b"] #verModal .ver-item-note{color:#8E8C85!important}
body[data-layout="b"] #verModal .ver-del{background:#1A1211!important;border-color:#4A2A26!important;color:#FF8F7A!important}
body[data-layout="b"] #verModal .ver-empty{background:#0C0D0F!important;border-color:#2A2B31!important;color:#8E8C85!important}
body[data-layout="b"] #verModal .ver-empty b{color:#B8B4AA!important}
body[data-layout="b"] #verModal .ver-upload{border-color:#24252A!important}
body[data-layout="b"] #verModal .ver-drop{background:#0C0D0F!important;border-color:#34314A!important}
body[data-layout="b"] #verModal .ver-drop:hover{background:#101117!important;border-color:#55518A!important}
body[data-layout="b"] #verModal .ver-drop-icon{background:#1D1B2E!important;color:#C9C9FF!important}
body[data-layout="b"] #verModal .ver-drop-title{color:#D9D7D0!important}
body[data-layout="b"] #verModal .ver-drop-sub{color:#77756E!important}
body[data-layout="b"] #verModal .ver-field span{color:#B8B4AA!important}
body[data-layout="b"] #verModal .ver-field input{background:#0C0D0F!important;border-color:#2A2B31!important;color:#F4F3EF!important}
body[data-layout="b"] #verModal .ver-check{color:#9C9A93!important}
body[data-layout="b"] #verModal .ver-check-box{background:#0C0D0F!important;border-color:#3A3B44!important}
body[data-layout="b"] #verModal .ver-check input:checked + .ver-check-box{background:var(--n37-accent,#39FF8F)!important;border-color:var(--n37-accent,#39FF8F)!important}
@media(max-width:600px){
  #verModal .ver-modal{width:calc(100% - 20px)!important;border-radius:16px!important}
  #verModal .ver-head{padding:18px 18px 14px;gap:10px}
  #verModal .ver-head-icon{width:36px;height:36px}
  #verModal .ver-body{padding:14px 18px 18px;max-height:calc(100vh - 130px)}
  #verModal .ver-drop{padding:16px 12px}
}



/* 操作日志弹窗 */
#logModal .log-modal{max-width:560px!important;width:calc(100% - 32px)!important;padding:0!important;overflow:hidden!important;border-radius:20px!important;border:1px solid #E7E2D8!important;background:#FFFDF9!important;box-shadow:0 30px 90px rgba(32,28,22,.22)!important}
#logModal .log-head{display:flex;align-items:center;gap:12px;padding:22px 24px 16px;border-bottom:1px solid #EFEAE1;background:linear-gradient(180deg,#FFFDF9,#FCFAF5)}
#logModal .log-head-icon{width:40px;height:40px;flex:0 0 auto;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(57,255,143,.10);color:var(--n37-accent,#39FF8F)}
#logModal .log-head-icon svg{width:19px;height:19px}
#logModal .log-head-text{flex:1;min-width:0}
#logModal .log-head-text h3{margin:0;font-size:17px;line-height:1.35;font-weight:800;letter-spacing:-.02em;color:#17181C}
#logModal .log-head-text p{margin:3px 0 0;font-size:11px;line-height:1.5;color:#8E8A80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#logModal .log-close{width:30px!important;height:30px!important;flex:0 0 auto;border-radius:8px!important;background:#F3F0E9!important;color:#8E8A80!important;font-size:15px!important}
#logModal .log-close:hover{background:#EAE6DD!important;color:#1D1F24!important}
#logModal .log-body{padding:17px 24px 22px;max-height:calc(100vh - 160px);overflow-y:auto}
#logModal .log-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
#logModal .log-section-head span{font-size:12px;font-weight:750;color:#3B3832}
#logModal .log-section-head small{font-size:9.5px;color:#A39E94}
#logModal .log-content{min-height:120px}
#logModal .log-loading{padding:30px 10px;text-align:center;font-size:11.5px;color:#A39E94}
#logModal .log-item{position:relative;display:flex;gap:12px;padding-bottom:15px}
#logModal .log-item:last-child{padding-bottom:0}
#logModal .log-item::before{content:"";position:absolute;left:5px;top:13px;bottom:-1px;width:1px;background:#EEE9DF}
#logModal .log-item:last-child::before{display:none}
#logModal .log-dot{width:11px;height:11px;flex:0 0 auto;border-radius:50%;border:2px solid #C9C5ED;background:#FFFDF9;margin-top:3px;position:relative;z-index:1;box-sizing:border-box}
#logModal .log-item:first-child .log-dot{border-color:var(--n37-accent,#39FF8F);background:var(--n37-accent,#39FF8F);box-shadow:0 0 0 3px rgba(57,255,143,.12)}
#logModal .log-main{min-width:0;flex:1}
#logModal .log-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:3px}
#logModal .log-time{font-size:10px;line-height:1.4;color:#A39E94;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
#logModal .log-op{font-size:9px;line-height:1.4;font-weight:650;color:var(--n37-accent,#39FF8F);background:#F0EEFF;border:1px solid #E4E0FA;border-radius:999px;padding:1px 7px}
#logModal .log-detail{font-size:12px;line-height:1.65;color:#3B3832;overflow-wrap:anywhere}
#logModal .log-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:30px 12px;border:1px dashed #E7E2D8;border-radius:12px;background:#FCFAF5;text-align:center}
#logModal .log-empty svg{width:24px;height:24px;color:#C4BFB4;margin-bottom:2px}
#logModal .log-empty b{font-size:11.5px;font-weight:700;color:#8E8A80}
#logModal .log-empty span{font-size:10px;color:#B0ABA1}
body[data-layout="b"] #logModal .log-modal{background:#111214!important;border-color:#24252A!important;box-shadow:0 30px 90px rgba(0,0,0,.58)!important}
body[data-layout="b"] #logModal .log-head{background:linear-gradient(180deg,#131418,#0F1013)!important;border-color:#24252A!important}
body[data-layout="b"] #logModal .log-head-text h3{color:#F7F6F2!important}
body[data-layout="b"] #logModal .log-head-text p{color:#9C9A93!important}
body[data-layout="b"] #logModal .log-head-icon{background:rgba(57,255,143,.14)!important;color:#C9C9FF!important}
body[data-layout="b"] #logModal .log-close{background:#1A1B1F!important;color:#9C9A93!important}
body[data-layout="b"] #logModal .log-section-head span{color:#E7E5DF!important}
body[data-layout="b"] #logModal .log-section-head small{color:#8E8C85!important}
body[data-layout="b"] #logModal .log-item::before{background:#2A2B31!important}
body[data-layout="b"] #logModal .log-dot{background:#111214!important;border-color:#46436A!important}
body[data-layout="b"] #logModal .log-item:first-child .log-dot{background:#8B8CF6!important;border-color:#8B8CF6!important}
body[data-layout="b"] #logModal .log-time{color:#8E8C85!important}
body[data-layout="b"] #logModal .log-op{color:#C9C9FF!important;background:rgba(57,255,143,.14)!important;border-color:rgba(57,255,143,.24)!important}
body[data-layout="b"] #logModal .log-detail{color:#D9D7D0!important}
body[data-layout="b"] #logModal .log-empty{background:#0C0D0F!important;border-color:#2A2B31!important}
body[data-layout="b"] #logModal .log-empty b{color:#B8B4AA!important}
body[data-layout="b"] #logModal .log-empty span{color:#77756E!important}
@media(max-width:600px){
  #logModal .log-modal{width:calc(100% - 20px)!important;border-radius:16px!important}
  #logModal .log-head{padding:18px 18px 14px;gap:10px}
  #logModal .log-head-icon{width:36px;height:36px}
  #logModal .log-body{padding:14px 18px 18px;max-height:calc(100vh - 130px)}
}



/* 派单弹窗 */
#dispatchModal .dp-modal{max-width:560px!important;width:calc(100% - 32px)!important;padding:0!important;overflow:hidden!important;border-radius:20px!important;border:1px solid #E7E2D8!important;background:#FFFDF9!important;box-shadow:0 30px 90px rgba(32,28,22,.22)!important}
#dispatchModal .dp-head{display:flex;align-items:center;gap:12px;padding:22px 24px 16px;border-bottom:1px solid #EFEAE1;background:linear-gradient(180deg,#FFFDF9,#FCFAF5)}
#dispatchModal .dp-head-icon{width:40px;height:40px;flex:0 0 auto;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(57,255,143,.10);color:var(--n37-accent,#39FF8F)}
#dispatchModal .dp-head-icon svg{width:19px;height:19px}
#dispatchModal .dp-head-text{flex:1;min-width:0}
#dispatchModal .dp-head-text h3{margin:0;font-size:17px;line-height:1.35;font-weight:800;letter-spacing:-.02em;color:#17181C}
#dispatchModal .dp-head-text p{margin:3px 0 0;font-size:11px;line-height:1.5;color:#8E8A80}
#dispatchModal .dp-close{width:30px!important;height:30px!important;flex:0 0 auto;border-radius:8px!important;background:#F3F0E9!important;color:#8E8A80!important;font-size:15px!important}
#dispatchModal .dp-close:hover{background:#EAE6DD!important;color:#1D1F24!important}
#dispatchModal .dp-body{padding:17px 24px 20px;max-height:calc(100vh - 200px);overflow-y:auto}
#dispatchModal .dp-order{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-radius:9px;background:#F7F4FF;border:1px solid #E8E4FA;margin-bottom:16px}
#dispatchModal .dp-order-label{font-size:9.5px;font-weight:700;letter-spacing:.05em;color:#8E8A80}
#dispatchModal .dp-order-id{font-size:11.5px;font-weight:750;color:var(--n37-accent,#39FF8F);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
#dispatchModal .dp-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 9px}
#dispatchModal .dp-section-head span{font-size:12px;font-weight:750;color:#3B3832}
#dispatchModal .dp-section-head small{font-size:9.5px;color:#A39E94}
#dispatchModal .dp-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:1px}
#dispatchModal .dp-field{display:flex!important;flex-direction:column;gap:5px;margin-bottom:10px;min-width:0}
#dispatchModal .dp-field span{font-size:10.5px;font-weight:650;color:#5F5A52}
#dispatchModal .dp-field input,#dispatchModal .dp-field select,#dispatchModal .dp-field textarea{width:100%;min-height:38px;border:1px solid #E2DED5;border-radius:9px;background:#FFFDF9;color:#1D1F24;padding:8px 11px;font-family:inherit;font-size:12px;line-height:1.5;outline:none;transition:.16s ease;resize:vertical}
#dispatchModal .dp-field select{height:38px;padding:0 9px}
#dispatchModal .dp-field input::placeholder,#dispatchModal .dp-field textarea::placeholder{color:#B4AFA4}
#dispatchModal .dp-field input:focus,#dispatchModal .dp-field select:focus,#dispatchModal .dp-field textarea:focus{border-color:var(--n37-accent,#39FF8F);box-shadow:0 0 0 3px rgba(57,255,143,.10);background:#fff}
#dispatchModal .dp-check{display:flex!important;align-items:flex-start!important;gap:8px;margin:2px 0 0;padding:10px 11px;border:1px solid #EEE9DF;border-radius:11px;background:#FBF9F4;cursor:pointer;user-select:none;transition:.16s ease}
#dispatchModal .dp-check:hover{border-color:#DDD9F5;background:#FCFBFF}
#dispatchModal .dp-check input{position:absolute;opacity:0;pointer-events:none}
#dispatchModal .dp-check-box{width:16px;height:16px;flex:0 0 auto;margin-top:1px;border:1px solid #D6D1C6;border-radius:4px;background:#FFFDF9;position:relative;transition:.16s ease}
#dispatchModal .dp-check input:checked + .dp-check-box{background:var(--n37-accent,#39FF8F);border-color:var(--n37-accent,#39FF8F)}
#dispatchModal .dp-check input:checked + .dp-check-box::after{content:"";position:absolute;left:4px;top:1px;width:5px;height:8px;border:solid #fff;border-width:0 1.7px 1.7px 0;transform:rotate(42deg)}
#dispatchModal .dp-check-text{display:flex;flex-direction:column;gap:1px;min-width:0}
#dispatchModal .dp-check-text b{font-size:11px;font-weight:700;color:#4D4942}
#dispatchModal .dp-check-text small{font-size:9.5px;line-height:1.5;color:#A39E94}
#dispatchModal .dp-foot{display:flex;gap:9px;align-items:center;padding:12px 24px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #EFEAE1;background:#FCFAF5}
#dispatchModal .dp-auto{height:38px;padding:0 13px;border:1px solid #E1DCD2;border-radius:9px;background:#FFFDF9;color:#6B665D;font-size:11.5px;font-weight:700;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;transition:.16s ease;flex:0 0 auto}
#dispatchModal .dp-auto svg{width:13px;height:13px}
#dispatchModal .dp-auto:hover{background:#F7F3EC;border-color:#D4CEC2;color:#3B3832}
#dispatchModal .dp-submit{height:38px;flex:1;border:0;border-radius:9px;background:linear-gradient(135deg,#6560E6,var(--n37-accent,#39FF8F));color:#fff;font-size:12.5px;font-weight:750;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;box-shadow:0 8px 20px rgba(57,255,143,.22);transition:.16s ease}
#dispatchModal .dp-submit svg{width:14px;height:14px}
#dispatchModal .dp-submit:hover{transform:translateY(-1px);filter:brightness(1.04)}
#dispatchModal .dp-submit:active{transform:none}
body[data-layout="b"] #dispatchModal .dp-modal{background:#111214!important;border-color:#24252A!important;box-shadow:0 30px 90px rgba(0,0,0,.58)!important}
body[data-layout="b"] #dispatchModal .dp-head{background:linear-gradient(180deg,#131418,#0F1013)!important;border-color:#24252A!important}
body[data-layout="b"] #dispatchModal .dp-head-text h3{color:#F7F6F2!important}
body[data-layout="b"] #dispatchModal .dp-head-text p{color:#9C9A93!important}
body[data-layout="b"] #dispatchModal .dp-head-icon{background:rgba(57,255,143,.14)!important;color:#C9C9FF!important}
body[data-layout="b"] #dispatchModal .dp-close{background:#1A1B1F!important;color:#9C9A93!important}
body[data-layout="b"] #dispatchModal .dp-order{background:rgba(57,255,143,.09)!important;border-color:rgba(57,255,143,.20)!important}
body[data-layout="b"] #dispatchModal .dp-order-label{color:#8E8C85!important}
body[data-layout="b"] #dispatchModal .dp-order-id{color:#C9C9FF!important}
body[data-layout="b"] #dispatchModal .dp-section-head span{color:#E7E5DF!important}
body[data-layout="b"] #dispatchModal .dp-section-head small{color:#8E8C85!important}
body[data-layout="b"] #dispatchModal .dp-field span{color:#B8B4AA!important}
body[data-layout="b"] #dispatchModal .dp-field input,body[data-layout="b"] #dispatchModal .dp-field select,body[data-layout="b"] #dispatchModal .dp-field textarea{background:#0C0D0F!important;border-color:#2A2B31!important;color:#F4F3EF!important}
body[data-layout="b"] #dispatchModal .dp-check{background:#0C0D0F!important;border-color:#24252A!important}
body[data-layout="b"] #dispatchModal .dp-check-box{background:#111214!important;border-color:#3A3B44!important}
body[data-layout="b"] #dispatchModal .dp-check input:checked + .dp-check-box{background:var(--n37-accent,#39FF8F)!important;border-color:var(--n37-accent,#39FF8F)!important}
body[data-layout="b"] #dispatchModal .dp-check-text b{color:#D9D7D0!important}
body[data-layout="b"] #dispatchModal .dp-check-text small{color:#8E8C85!important}
body[data-layout="b"] #dispatchModal .dp-foot{background:#0F1013!important;border-color:#24252A!important}
body[data-layout="b"] #dispatchModal .dp-auto{background:#15171C!important;border-color:#2A2B31!important;color:#B8B4AA!important}
@media(max-width:600px){
  #dispatchModal .dp-modal{width:calc(100% - 20px)!important;border-radius:16px!important}
  #dispatchModal .dp-head{padding:18px 18px 14px;gap:10px}
  #dispatchModal .dp-head-icon{width:36px;height:36px}
  #dispatchModal .dp-body{padding:15px 18px 18px;max-height:calc(100vh - 170px)}
  #dispatchModal .dp-foot{padding:10px 18px calc(12px + env(safe-area-inset-bottom))}
  #dispatchModal .dp-auto{padding:0 10px;font-size:11px}
}



/* 订单看板 */
#tabKanban .kb-head{border-radius:14px!important;margin-bottom:12px!important}
#tabKanban .kb-head .list-desc{font-size:12px!important;line-height:1.6!important}
#kanbanAlerts.kb-alerts{display:none;flex-wrap:wrap;gap:6px;margin-bottom:12px}
#kanbanAlerts .kb-alert{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:8px;background:#FDF0EE;border:1px solid #F2D3CC;color:#B42318;font-size:11.5px;font-weight:650;line-height:1.5}
#kanbanBoard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch;overflow:visible;padding-bottom:0}
#kanbanBoard .kanban-col{display:flex;flex-direction:column;min-width:0;min-height:270px;padding:12px;border-radius:15px;border:1px solid #EDE8DF;background:#FBF9F4;--kb-accent:#9A958B;--kb-soft:#F3F0E9;transition:background .18s ease,border-color .18s ease}
#kanbanBoard .kanban-col[data-col="待核价"]{--kb-accent:#B7791F;--kb-soft:#FBF1DB;background:#FDFAF2;border-color:#F0E4C9}
#kanbanBoard .kanban-col[data-col="已核价"]{--kb-accent:var(--n37-accent,#39FF8F);--kb-soft:#EEECFF;background:#FBFAFF;border-color:#E4E0F7}
#kanbanBoard .kanban-col[data-col="待付款"]{--kb-accent:#C0563F;--kb-soft:#FDEEE9;background:#FFFBF9;border-color:#F2DDD5}
#kanbanBoard .kanban-col[data-col="制作中"]{--kb-accent:#12805C;--kb-soft:#EAF7F1;background:#F9FDFB;border-color:#D8EEE5}
#kanbanBoard .kanban-col:hover{border-color:var(--kb-accent)}
#kanbanBoard .kb-col-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:1px 2px 11px}
#kanbanBoard .kb-col-title{display:flex;align-items:center;gap:7px;min-width:0;font-size:12.5px;font-weight:750;color:#3B3832;line-height:1.35}
#kanbanBoard .kb-col-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:var(--kb-accent);box-shadow:0 0 0 3px var(--kb-soft)}
#kanbanBoard .kb-col-count{min-width:22px;height:21px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--kb-soft);color:var(--kb-accent);font-size:10.5px;font-weight:800}
#kanbanBoard .kanban-body{display:flex;flex-direction:column;gap:8px;flex:1;min-height:80px}
#kanbanBoard .kanban-card{background:#FFFDF9;border:1px solid #EDE8DF;border-radius:11px;padding:10px 12px;cursor:grab;box-shadow:0 2px 6px rgba(32,28,22,.04);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
#kanbanBoard .kanban-card:hover{transform:translateY(-1px);border-color:var(--kb-accent);box-shadow:0 6px 16px rgba(32,28,22,.08)}
#kanbanBoard .kanban-card.is-overdue{border-color:#EAB8AE;box-shadow:inset 3px 0 0 #D56A57,0 2px 6px rgba(32,28,22,.04)}
#kanbanBoard .kb-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:4px}
#kanbanBoard .kb-card-id{font-size:10px;line-height:1.4;font-weight:650;letter-spacing:.01em;color:#A39E94;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
#kanbanBoard .kb-overdue{flex:0 0 auto;padding:1px 6px;border-radius:999px;background:#FDF0EE;border:1px solid #F2D3CC;color:#B42318;font-size:9px;font-weight:700;line-height:1.6}
#kanbanBoard .kb-card-name{font-size:13px;line-height:1.45;font-weight:750;color:#2B2925;overflow-wrap:anywhere}
#kanbanBoard .kb-card-contact{margin-top:3px;font-size:10.5px;line-height:1.5;color:#8E8A80;display:flex;align-items:center;gap:5px;flex-wrap:wrap;overflow-wrap:anywhere}
#kanbanBoard .kb-card-sales{padding:1px 5px;border-radius:4px;background:#F5F1E9;color:#7A756B;font-size:9.5px;font-weight:600}
#kanbanBoard .kb-card-bottom{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-top:8px;flex-wrap:wrap}
#kanbanBoard .kb-card-amount{font-size:14px;line-height:1.3;font-weight:800;letter-spacing:-.02em;color:var(--kb-accent)}
#kanbanBoard .kb-card-deadline{padding:1px 6px;border-radius:5px;background:#F7F3EC;color:#8E8A80;font-size:9px;font-weight:600;line-height:1.6;white-space:nowrap}
#kanbanBoard .is-overdue .kb-card-deadline{background:#FDF0EE;color:#B42318}
#kanbanBoard .kb-card-debt{margin-top:5px;font-size:10px;line-height:1.4;color:#C0563F;font-weight:650}
#kanbanBoard .kb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;min-height:140px;padding:18px 10px;border:1px dashed #E4DED4;border-radius:10px;background:rgba(255,255,255,.35);text-align:center}
#kanbanBoard .kb-empty svg{width:22px;height:22px;color:#C4BFB4;margin-bottom:1px}
#kanbanBoard .kb-empty b{font-size:11px;font-weight:700;color:#A39E94}
#kanbanBoard .kb-empty span{font-size:9.5px;color:#B8B3A9}
#tabKanban .kb-legend{margin-top:12px;padding:9px 12px;border:1px solid #EDE8DF;border-radius:10px;background:#FBF9F4;color:#9A958B;font-size:10.5px;line-height:1.7}
#tabKanban .kb-legend b{color:#5F5A52}
body[data-layout="b"] #kanbanBoard .kanban-col{background:#111214!important;border-color:#24252A!important}
body[data-layout="b"] #kanbanBoard .kanban-col[data-col="待核价"]{background:rgba(183,121,31,.06)!important;border-color:rgba(183,121,31,.20)!important;--kb-soft:rgba(183,121,31,.14);--kb-accent:#E3B35C}
body[data-layout="b"] #kanbanBoard .kanban-col[data-col="已核价"]{background:rgba(57,255,143,.06)!important;border-color:rgba(57,255,143,.20)!important;--kb-soft:rgba(57,255,143,.15);--kb-accent:#B9B6FF}
body[data-layout="b"] #kanbanBoard .kanban-col[data-col="待付款"]{background:rgba(192,86,63,.06)!important;border-color:rgba(192,86,63,.20)!important;--kb-soft:rgba(192,86,63,.14);--kb-accent:#F0A08F}
body[data-layout="b"] #kanbanBoard .kanban-col[data-col="制作中"]{background:rgba(18,128,92,.07)!important;border-color:rgba(18,128,92,.22)!important;--kb-soft:rgba(18,128,92,.16);--kb-accent:#6BE0B4}
body[data-layout="b"] #kanbanBoard .kb-col-title{color:#D9D7D0!important}
body[data-layout="b"] #kanbanBoard .kanban-card{background:#15171C!important;border-color:#2A2B31!important;box-shadow:0 2px 8px rgba(0,0,0,.24)!important}
body[data-layout="b"] #kanbanBoard .kb-card-name{color:#E7E5DF!important}
body[data-layout="b"] #kanbanBoard .kb-card-contact{color:#8E8C85!important}
body[data-layout="b"] #kanbanBoard .kb-card-sales{background:#24252A!important;color:#B8B4AA!important}
body[data-layout="b"] #kanbanBoard .kb-card-deadline{background:#1A1B1F!important;color:#9C9A93!important}
body[data-layout="b"] #kanbanBoard .kb-empty{background:rgba(255,255,255,.02)!important;border-color:#2A2B31!important}
body[data-layout="b"] #tabKanban .kb-legend{background:#111214!important;border-color:#24252A!important;color:#8E8C85!important}
body[data-layout="b"] #tabKanban .kb-legend b{color:#D9D7D0!important}
@media(max-width:1200px){#kanbanBoard{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){#kanbanBoard{grid-template-columns:1fr!important}#kanbanBoard .kanban-col{min-height:190px}}



/* 看板列数：1200 仍保持四列，窄屏再降为两列 */
@media(max-width:1200px){#kanbanBoard{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1100px){#kanbanBoard{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){#kanbanBoard{grid-template-columns:1fr!important}}



/* 核价审批 */
#tabQuoteApprove #quoteApproveList{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;margin:0!important}
#tabQuoteApprove .qa-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
#tabQuoteApprove .qa-stat{padding:12px 14px;border:1px solid #EDE8DF;border-radius:12px;background:#FFFDF9;box-shadow:0 4px 14px rgba(32,28,22,.04);display:flex;flex-direction:column;gap:2px;min-width:0}
#tabQuoteApprove .qa-stat span{font-size:10px;font-weight:650;letter-spacing:.04em;color:#A39E94}
#tabQuoteApprove .qa-stat b{font-size:20px;line-height:1.3;font-weight:850;letter-spacing:-.03em;color:var(--n37-accent,#39FF8F);overflow-wrap:anywhere}
#tabQuoteApprove .qa-stat b.neg{color:#C0563F}
#tabQuoteApprove .qa-stat b.pos{color:#12805C}
#tabQuoteApprove .qa-stat small{font-size:9px;color:#B0ABA1;line-height:1.4}
#tabQuoteApprove .qa-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:12px}
#tabQuoteApprove .qa-loading{padding:38px 10px;text-align:center;font-size:11.5px;color:#A39E94}
#tabQuoteApprove .qa-card{display:flex;flex-direction:column;gap:10px;padding:15px 16px;border:1px solid #EDE8DF;border-radius:15px;background:#FFFDF9;box-shadow:0 5px 18px rgba(32,28,22,.045);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
#tabQuoteApprove .qa-card:hover{transform:translateY(-1px);border-color:#DCD5F0;box-shadow:0 9px 24px rgba(32,28,22,.07)}
#tabQuoteApprove .qa-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
#tabQuoteApprove .qa-order{font-size:11px;font-weight:700;color:#A39E94;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.4;overflow-wrap:anywhere}
#tabQuoteApprove .qa-customer{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:3px;font-size:12.5px;font-weight:700;color:#2B2925}
#tabQuoteApprove .qa-customer span{font-size:10px;font-weight:500;color:#A39E94}
#tabQuoteApprove .qa-pill{flex:0 0 auto;padding:3px 8px;border-radius:999px;background:#F0EEFF;border:1px solid #DDD9FA;color:var(--n37-accent,#39FF8F);font-size:9.5px;font-weight:700;line-height:1.6}
#tabQuoteApprove .qa-pill.warning{background:#FFF7E8;border-color:#F0DDBB;color:#A87016}
#tabQuoteApprove .qa-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 11px;border-radius:10px;background:#FBF9F4;border:1px solid #F1ECE3}
#tabQuoteApprove .qa-metrics > div{display:flex;flex-direction:column;gap:1px;min-width:0}
#tabQuoteApprove .qa-metrics span{font-size:9px;color:#A39E94;line-height:1.4}
#tabQuoteApprove .qa-metrics b{font-size:12px;font-weight:750;color:#3B3832;line-height:1.4;overflow-wrap:anywhere}
#tabQuoteApprove .qa-metrics b.pos{color:#12805C}
#tabQuoteApprove .qa-metrics b.neg{color:#B42318}
#tabQuoteApprove .qa-margin{display:flex;align-items:center;gap:9px}
#tabQuoteApprove .qa-bar{height:6px;flex:1;min-width:0;border-radius:999px;background:#F0EBE2;overflow:hidden}
#tabQuoteApprove .qa-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#8B8CF6,var(--n37-accent,#39FF8F))}
#tabQuoteApprove .qa-bar.warning i{background:linear-gradient(90deg,#F0B35A,#D28B2E)}
#tabQuoteApprove .qa-margin > span{flex:0 0 auto;font-size:9.5px;color:#A39E94;white-space:nowrap}
#tabQuoteApprove .qa-margin b{font-weight:750;color:var(--n37-accent,#39FF8F)}
#tabQuoteApprove .qa-margin b.neg{color:#B42318}
#tabQuoteApprove .qa-actions{display:flex;gap:7px;margin-top:1px}
#tabQuoteApprove .qa-approve,#tabQuoteApprove .qa-reject{flex:1;height:34px;border-radius:8px;font-family:inherit;font-size:11px;font-weight:700;cursor:pointer;transition:.16s ease}
#tabQuoteApprove .qa-approve{border:0;background:linear-gradient(135deg,#6560E6,var(--n37-accent,#39FF8F));color:#fff;box-shadow:0 5px 14px rgba(57,255,143,.18)}
#tabQuoteApprove .qa-approve:hover{filter:brightness(1.04);transform:translateY(-1px)}
#tabQuoteApprove .qa-reject{border:1px solid #E9BDB8;background:#FFF8F6;color:#B42318}
#tabQuoteApprove .qa-reject:hover{background:#FDEDE9;border-color:#D6452F}
#tabQuoteApprove .qa-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:52px 16px;border:1px dashed #E7E2D8;border-radius:15px;background:#FCFAF5;text-align:center}
#tabQuoteApprove .qa-empty-ico{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#EAF7F1;color:#12805C;margin-bottom:2px}
#tabQuoteApprove .qa-empty-ico svg{width:21px;height:21px}
#tabQuoteApprove .qa-empty b{font-size:13px;font-weight:750;color:#5F5A52}
#tabQuoteApprove .qa-empty span{font-size:10.5px;color:#A39E94}
body[data-layout="b"] #tabQuoteApprove .qa-stat,body[data-layout="b"] #tabQuoteApprove .qa-card{background:#111214!important;border-color:#24252A!important;box-shadow:0 4px 14px rgba(0,0,0,.24)!important}
body[data-layout="b"] #tabQuoteApprove .qa-customer{color:#E7E5DF!important}
body[data-layout="b"] #tabQuoteApprove .qa-customer span,body[data-layout="b"] #tabQuoteApprove .qa-order{color:#8E8C85!important}
body[data-layout="b"] #tabQuoteApprove .qa-stat span,body[data-layout="b"] #tabQuoteApprove .qa-stat small{color:#8E8C85!important}
body[data-layout="b"] #tabQuoteApprove .qa-metrics{background:#15171C!important;border-color:#24252A!important}
body[data-layout="b"] #tabQuoteApprove .qa-metrics span{color:#8E8C85!important}
body[data-layout="b"] #tabQuoteApprove .qa-metrics b{color:#D9D7D0!important}
body[data-layout="b"] #tabQuoteApprove .qa-metrics b.pos{color:#6EE7B7!important}
body[data-layout="b"] #tabQuoteApprove .qa-metrics b.neg{color:#FCA5A5!important}
body[data-layout="b"] #tabQuoteApprove .qa-bar{background:#24252A!important}
body[data-layout="b"] #tabQuoteApprove .qa-margin > span{color:#8E8C85!important}
body[data-layout="b"] #tabQuoteApprove .qa-approve,body[data-layout="b"] #tabQuoteApprove .qa-reject{background:#15171C!important;border-color:#2A2B31!important}
body[data-layout="b"] #tabQuoteApprove .qa-approve{background:linear-gradient(135deg,#6560E6,var(--n37-accent,#39FF8F))!important;border:0!important;color:#fff!important}
body[data-layout="b"] #tabQuoteApprove .qa-empty{background:#0C0D0F!important;border-color:#2A2B31!important}
body[data-layout="b"] #tabQuoteApprove .qa-empty b{color:#B8B4AA!important}

/* 生产排期 */
#tabProduction #productionList{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;margin:0!important}
#tabProduction .prod-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
#tabProduction .prod-stat{padding:12px 14px;border:1px solid #EDE8DF;border-radius:12px;background:#FFFDF9;box-shadow:0 4px 14px rgba(32,28,22,.04);display:flex;align-items:baseline;gap:3px;flex-wrap:wrap}
#tabProduction .prod-stat span{flex:1 1 100%;font-size:10px;font-weight:650;letter-spacing:.04em;color:#A39E94}
#tabProduction .prod-stat b{font-size:20px;line-height:1.3;font-weight:850;letter-spacing:-.03em;color:#B7791F}
#tabProduction .prod-stat small{font-size:9.5px;color:#B0ABA1}
#tabProduction .prod-stat.doing b{color:var(--n37-accent,#39FF8F)}
#tabProduction .prod-stat.done b{color:#12805C}
#tabProduction .prod-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:12px}
#tabProduction .prod-loading{padding:38px 10px;text-align:center;font-size:11.5px;color:#A39E94}
#tabProduction .prod-card{display:flex;align-items:stretch;gap:11px;padding:12px 13px;border:1px solid #EDE8DF;border-radius:14px;background:#FFFDF9;box-shadow:0 5px 18px rgba(32,28,22,.045);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
#tabProduction .prod-card:hover{transform:translateY(-1px);border-color:#DCD5F0;box-shadow:0 9px 24px rgba(32,28,22,.07)}
#tabProduction .prod-date{flex:0 0 58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-radius:10px;background:#F7F4FF;border:1px solid #E9E5FA;padding:7px 5px;text-align:center}
#tabProduction .prod-date b{font-size:13px;font-weight:800;color:var(--n37-accent,#39FF8F);line-height:1.3;letter-spacing:-.01em}
#tabProduction .prod-date span{font-size:9px;color:#9A958B;line-height:1.4}
#tabProduction .prod-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;justify-content:center}
#tabProduction .prod-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
#tabProduction .prod-order{font-size:10px;line-height:1.4;font-weight:650;color:#A39E94;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tabProduction .prod-status{flex:0 0 auto;padding:2px 7px;border-radius:999px;font-size:9px;font-weight:700;line-height:1.6}
#tabProduction .prod-status.wait{background:#FFF7E8;border:1px solid #F0DDBB;color:#A87016}
#tabProduction .prod-status.doing{background:#F0EEFF;border:1px solid #DDD9FA;color:var(--n37-accent,#39FF8F)}
#tabProduction .prod-status.done{background:#EAF7F1;border:1px solid #CFEADF;color:#12805C}
#tabProduction .prod-customer{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;font-weight:700;color:#2B2925;line-height:1.45;overflow-wrap:anywhere}
#tabProduction .prod-customer span{font-size:9.5px;font-weight:500;color:#A39E94}
#tabProduction .prod-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:9.5px;color:#A39E94}
#tabProduction .prod-meta b{font-weight:700;color:#5F5A52}
#tabProduction .prod-state-btn{flex:0 0 auto;align-self:center;height:29px;padding:0 8px;border:1px solid #E1DCD2;border-radius:7px;background:#FFFDF9;color:#6B665D;font-size:9.5px;font-weight:700;font-family:inherit;cursor:pointer;transition:.16s ease;white-space:nowrap}
#tabProduction .prod-state-btn:hover{background:#F7F3EC;border-color:#D4CEC2;color:#3B3832}
#tabProduction .prod-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:52px 16px;border:1px dashed #E7E2D8;border-radius:15px;background:#FCFAF5;text-align:center}
#tabProduction .prod-empty-ico{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#F7F2E9;color:#B7791F;margin-bottom:2px}
#tabProduction .prod-empty-ico svg{width:21px;height:21px}
#tabProduction .prod-empty b{font-size:13px;font-weight:750;color:#5F5A52}
#tabProduction .prod-empty span{font-size:10.5px;color:#A39E94}
#tabProduction .prod-calendar{background:#FFFDF9!important;border:1px solid #E7E2D8!important;border-radius:16px!important;box-shadow:0 6px 20px rgba(32,28,22,.045)!important;padding:16px 17px!important;margin-top:14px!important}
#tabProduction .cap-head{margin-bottom:12px}
#tabProduction .cap-head b{font-size:13.5px!important;font-weight:800;color:#1F1D1A}
#tabProduction .cap-head .muted{font-size:10px;color:#A39E94}
#tabProduction .cap-head input[type="month"]{height:30px;border:1px solid #E7E2D8;border-radius:7px;background:#FBF9F4;color:#4D4942;font-family:inherit;font-size:11px;padding:0 8px}
#tabProduction .cap-week{gap:5px;font-size:9.5px;color:#A39E94;margin-bottom:6px}
#tabProduction .cap-grid{gap:5px}
#tabProduction .cap-cell{min-height:58px;border-radius:9px;background:#FBF9F4;border:1px solid #F1ECE3;padding:7px 8px;gap:3px}
#tabProduction .cap-cell.weekend{background:#F8F5EE}
#tabProduction .cap-cell.has{background:#EFF8F3;border-color:#CFEADF}
#tabProduction .cap-day{font-size:10px;color:#A39E94;font-weight:600}
#tabProduction .cap-count{font-size:10.5px;font-weight:700;color:#B8B3A9}
#tabProduction .cap-cell.has .cap-count{color:#12805C}
#tabProduction .cap-dot{width:5px;height:5px;background:#34B383;top:8px;right:8px}
#tabProduction .cap-empty{margin-top:9px;font-size:10px;color:#A39E94;border-color:#E7E2D8;border-radius:8px;padding:9px}
body[data-layout="b"] #tabProduction .prod-stat,body[data-layout="b"] #tabProduction .prod-card{background:#111214!important;border-color:#24252A!important;box-shadow:0 4px 14px rgba(0,0,0,.24)!important}
body[data-layout="b"] #tabProduction .prod-stat span,body[data-layout="b"] #tabProduction .prod-stat small{color:#8E8C85!important}
body[data-layout="b"] #tabProduction .prod-date{background:rgba(57,255,143,.12)!important;border-color:rgba(57,255,143,.22)!important}
body[data-layout="b"] #tabProduction .prod-date b{color:#C9C9FF!important}
body[data-layout="b"] #tabProduction .prod-order,body[data-layout="b"] #tabProduction .prod-customer span,body[data-layout="b"] #tabProduction .prod-meta{color:#8E8C85!important}
body[data-layout="b"] #tabProduction .prod-customer{color:#E7E5DF!important}
body[data-layout="b"] #tabProduction .prod-meta b{color:#D9D7D0!important}
body[data-layout="b"] #tabProduction .prod-state-btn{background:#15171C!important;border-color:#2A2B31!important;color:#B8B4AA!important}
body[data-layout="b"] #tabProduction .prod-empty{background:#0C0D0F!important;border-color:#2A2B31!important}
body[data-layout="b"] #tabProduction .prod-empty b{color:#B8B4AA!important}
body[data-layout="b"] #tabProduction .prod-calendar{background:#111214!important;border-color:#24252A!important;box-shadow:0 6px 20px rgba(0,0,0,.24)!important}
body[data-layout="b"] #tabProduction .cap-head b{color:#F7F6F2!important}
body[data-layout="b"] #tabProduction .cap-head input[type="month"]{background:#15171C!important;border-color:#2A2B31!important;color:#D9D7D0!important}
body[data-layout="b"] #tabProduction .cap-cell{background:#15171C!important;border-color:#24252A!important}
body[data-layout="b"] #tabProduction .cap-cell.weekend{background:#121318!important}
body[data-layout="b"] #tabProduction .cap-cell.has{background:rgba(18,128,92,.12)!important;border-color:rgba(18,128,92,.26)!important}
body[data-layout="b"] #tabProduction .cap-day,body[data-layout="b"] #tabProduction .cap-count{color:#8E8C85!important}
body[data-layout="b"] #tabProduction .cap-cell.has .cap-count{color:#6EE7B7!important}
@media(max-width:1000px){
  #tabQuoteApprove .qa-list,#tabProduction .prod-list{grid-template-columns:1fr}
}
@media(max-width:640px){
  #tabQuoteApprove .qa-stats,#tabProduction .prod-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  #tabQuoteApprove .qa-stat,#tabProduction .prod-stat{padding:9px 10px}
  #tabQuoteApprove .qa-stat b,#tabProduction .prod-stat b{font-size:16px}
  #tabQuoteApprove .qa-card{padding:13px}
  #tabQuoteApprove .qa-metrics{gap:6px;padding:8px 9px}
  #tabQuoteApprove .qa-metrics b{font-size:11px}
  #tabProduction .prod-card{padding:10px}
  #tabProduction .prod-date{flex-basis:52px}
  #tabProduction .prod-state-btn{padding:0 7px}
  #tabProduction .cap-cell{min-height:50px;padding:5px 6px}
}



/* 产能日历：网站风格月份切换 */
#tabProduction .cap-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;flex-wrap:wrap}
#tabProduction .cap-head-title{display:flex;align-items:baseline;gap:8px;min-width:0;flex-wrap:wrap}
#tabProduction .cap-head-title b{font-size:14px!important;font-weight:800;color:#1F1D1A;letter-spacing:-.01em}
#tabProduction .cap-head-title .muted{font-size:10.5px;color:#A39E94;white-space:nowrap}
#tabProduction .cap-controls{display:flex;align-items:center;gap:7px;flex:0 0 auto}
#tabProduction .cap-month-nav{display:flex;align-items:center;gap:2px;height:32px;padding:2px;border:1px solid #E7E2D8;border-radius:9px;background:#FBF9F4}
#tabProduction .cap-nav-btn{width:26px;height:26px;padding:0;border:0;border-radius:7px;background:transparent;color:#8E8A80;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.16s ease}
#tabProduction .cap-nav-btn svg{width:14px;height:14px}
#tabProduction .cap-nav-btn:hover{background:#FFFDF9;color:var(--n37-accent,#39FF8F);box-shadow:0 1px 4px rgba(32,28,22,.08)}
#tabProduction .cap-month-label{min-width:82px;padding:0 4px;text-align:center;font-size:11.5px;font-weight:700;line-height:26px;color:#3B3832;white-space:nowrap}
#tabProduction .cap-this{height:32px;padding:0 10px;border:1px solid #E7E2D8;border-radius:9px;background:#FFFDF9;color:#6B665D;font-family:inherit;font-size:10.5px;font-weight:700;cursor:pointer;transition:.16s ease;white-space:nowrap}
#tabProduction .cap-this:hover{background:#F4F2FF;border-color:#DCD8F5;color:var(--n37-accent,#39FF8F)}
body[data-layout="b"] #tabProduction .cap-head-title b{color:#F7F6F2!important}
body[data-layout="b"] #tabProduction .cap-head-title .muted{color:#8E8C85!important}
body[data-layout="b"] #tabProduction .cap-month-nav{background:#15171C!important;border-color:#2A2B31!important}
body[data-layout="b"] #tabProduction .cap-nav-btn{color:#9C9A93!important}
body[data-layout="b"] #tabProduction .cap-nav-btn:hover{background:#24252A!important;color:#C9C9FF!important}
body[data-layout="b"] #tabProduction .cap-month-label{color:#D9D7D0!important}
body[data-layout="b"] #tabProduction .cap-this{background:#15171C!important;border-color:#2A2B31!important;color:#B8B4AA!important}
body[data-layout="b"] #tabProduction .cap-this:hover{background:rgba(57,255,143,.12)!important;border-color:rgba(57,255,143,.24)!important;color:#C9C9FF!important}
@media(max-width:640px){
  #tabProduction .cap-head{align-items:flex-start;flex-direction:column;gap:8px}
  #tabProduction .cap-controls{width:100%}
  #tabProduction .cap-month-nav{flex:1;justify-content:space-between}
  #tabProduction .cap-month-label{flex:1}
  #tabProduction .cap-this{flex:0 0 auto}
}



/* 后台列表页统一视觉：物料 / 耗材 / 公告 / 内容 / 客户 / 安装 / 员工 / 业绩 / 门店 / 营销 */
#adminPanel .admin-page-title{position:relative;padding-left:13px}
#adminPanel .admin-page-title::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:17px;border-radius:2px;background:linear-gradient(180deg,#8B8CF6,var(--n37-accent,#39FF8F))}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .list-head,
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .toolbar{background:linear-gradient(180deg,var(--card,#FFFDF9),color-mix(in srgb,var(--card,#FFFDF9) 94%,var(--n37-accent,#39FF8F) 6%))!important;border:1px solid var(--border,#E7E2D8)!important;border-radius:15px!important;box-shadow:0 5px 20px rgba(32,28,22,.045)!important;padding:15px 18px!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .list-desc{font-size:12px!important;line-height:1.7!important;color:var(--text-muted)!important;padding-top:2px!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .list-card{background:var(--card,#FFFDF9)!important;border:1px solid var(--border,#E7E2D8)!important;border-radius:16px!important;box-shadow:0 6px 22px rgba(32,28,22,.05)!important;overflow:hidden!important;margin-bottom:14px!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) table{border-collapse:separate!important;border-spacing:0!important;width:100%!important;background:transparent!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) thead th{background:var(--box-bg,#FBF9F4)!important;color:var(--text-muted)!important;font-size:10.5px!important;font-weight:700!important;letter-spacing:.045em!important;padding:11px 16px!important;border-bottom:1px solid var(--border,#EEE9DF)!important;position:static!important;white-space:nowrap!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) tbody td{padding:13px 16px!important;border-bottom:1px solid var(--border,#F4F0E8)!important;font-size:12.5px!important;line-height:1.55!important;vertical-align:middle!important;color:var(--text-main)!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) tbody tr:last-child td{border-bottom:0!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) tbody tr{transition:background .15s ease}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) tbody tr:hover{background:var(--hover-bg,rgba(57,255,143,.035))!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .btn.sm,
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .btn.ghost.sm{height:30px!important;padding:0 11px!important;border-radius:8px!important;font-size:11px!important;font-weight:650!important;border-color:var(--border,#E1DCD2)!important;background:var(--card,#FFFDF9)!important;color:var(--text-main)!important;box-shadow:none!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .btn.primary.sm{background:linear-gradient(135deg,#6560E6,var(--n37-accent,#39FF8F))!important;border:0!important;color:#fff!important;box-shadow:0 5px 14px rgba(57,255,143,.18)!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .tag,
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .badge{border-radius:999px!important;font-size:9.5px!important;font-weight:650!important;padding:2px 8px!important;line-height:1.6!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .empty,
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .empty-state{padding:48px 20px!important;background:var(--box-bg,#FCFAF5)!important;border:1px dashed var(--border,#E7E2D8)!important;border-radius:14px!important;margin:14px!important;text-align:center!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .empty-state .empty-ico{width:46px!important;height:46px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:var(--card,#FFFDF9)!important;border:1px solid var(--border,#EEE9DF)!important;font-size:21px!important;margin-bottom:2px!important;box-shadow:0 4px 12px rgba(32,28,22,.04)!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .empty-state b{font-size:14px!important;font-weight:750!important;color:var(--text-main)!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .empty-state p{font-size:11px!important;color:var(--text-muted)!important;max-width:340px!important;line-height:1.7!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .settings-card{background:var(--card,#FFFDF9)!important;border:1px solid var(--border,#E7E2D8)!important;border-radius:16px!important;box-shadow:0 5px 20px rgba(32,28,22,.045)!important;padding:19px 20px!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .settings-card-title{font-size:14px!important;font-weight:800!important;letter-spacing:-.01em!important;margin-bottom:12px!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .field input,
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .field select,
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .field textarea{height:38px!important;border-radius:9px!important;border-color:var(--border,#E2DED5)!important;font-size:12px!important;background:var(--card,#FFFDF9)!important}
:is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .field textarea{height:auto!important}
#adminPanel .admin-quick{gap:5px!important;padding:0 0 12px!important}
#adminPanel .admin-quick .qa-btn{height:29px!important;padding:0 10px!important;border-radius:999px!important;border:1px solid var(--border,#E7E2D8)!important;background:var(--card,#FFFDF9)!important;color:var(--text-muted)!important;font-size:11px!important;font-weight:600!important;box-shadow:0 2px 6px rgba(32,28,22,.03)!important}
#adminPanel .admin-quick .qa-btn:hover{background:var(--hover-bg,rgba(57,255,143,.05))!important;border-color:var(--border,#DCD5F0)!important;color:var(--text-main)!important}
/* 商品缩略图 */
#tabProducts .p-thumb{width:42px!important;height:42px!important;border-radius:10px!important;border-color:var(--border,#E7E2D8)!important}
#tabProducts .sort-input{width:38px!important;height:30px!important;border-radius:7px!important;text-align:center!important;border-color:var(--border,#E7E2D8)!important;background:var(--card,#FFFDF9)!important;color:var(--text-main)!important}
#tabProducts .sort-box{background:var(--box-bg,#FBF9F4)!important;border-color:var(--border,#E7E2D8)!important;border-radius:7px!important}
/* 营销工具页签 */
#tabMarketing .ds-tabs,
#tabMarketing .marketing-tabs{background:var(--box-bg,#FBF9F4)!important;border:1px solid var(--border,#E7E2D8)!important;border-radius:10px!important;padding:3px!important}
#tabMarketing .ds-tab{border-radius:7px!important;font-size:11.5px!important;font-weight:650!important;height:30px!important}
/* 门店页调拨区 */
#tabStores .settings-card{padding:20px 22px!important}
#tabStores .settings-card-title{font-size:15px!important}
@media(max-width:768px){
  :is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .list-head{padding:12px!important}
  :is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) thead th,
  :is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) tbody td{padding:10px 11px!important}
  :is(#tabProducts,#tabMaterials,#tabAnnounce,#tabContent,#tabCustomers,#tabTasks,#tabStaffs,#tabSales,#tabStores,#tabMarketing) .empty-state{margin:10px!important;padding:34px 14px!important}
}



/* ===== 全站动效增强 ===== */
@keyframes motionFadeUp{from{opacity:0;transform:translateY(24px) scale(.988);filter:blur(3px)}to{opacity:1;transform:none;filter:none}}
@keyframes motionScaleIn{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
@keyframes motionFade{from{opacity:0}to{opacity:1}}
@keyframes motionModalIn{from{opacity:0;transform:translateY(18px) scale(.975)}to{opacity:1;transform:none}}
@keyframes auroraShift{0%{transform:translate3d(-4%,-2%,0) scale(1)}50%{transform:translate3d(5%,3%,0) scale(1.08)}100%{transform:translate3d(-2%,6%,0) scale(1.02)}}
@keyframes gradientFlow{0%{background-position:0% 50%}100%{background-position:300% 50%}}
@keyframes floatY{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes ctaGlow{0%,100%{box-shadow:0 10px 24px rgba(57,255,143,.22)}50%{box-shadow:0 14px 34px rgba(57,255,143,.38)}}
@keyframes shineSweep{0%{left:-85%}100%{left:125%}}
@keyframes rowIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes tabIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes navUnderline{from{transform:scaleX(0)}to{transform:scaleX(1)}}
html.motion-ready .motion-reveal{opacity:0;transform:translateY(26px) scale(.988);filter:blur(3px);transition:opacity .7s cubic-bezier(.22,.9,.22,1),transform .7s cubic-bezier(.22,.9,.22,1),filter .7s ease;transition-delay:var(--motion-delay,0ms);will-change:opacity,transform}
html.motion-ready .motion-reveal.is-visible{opacity:1;transform:none;filter:none}
/* 首屏光晕 / 渐变字 */
#viewShop .hero2{position:relative;isolation:isolate}
#viewShop .hero2::before{content:"";position:absolute;z-index:-1;width:58vw;height:58vw;max-width:780px;max-height:780px;right:-18%;top:-28%;border-radius:50%;background:radial-gradient(circle at 35% 35%,rgba(57,255,143,.34),rgba(57,255,143,.15) 42%,transparent 70%);filter:blur(8px);animation:auroraShift 16s ease-in-out infinite alternate;pointer-events:none}
#viewShop .hero2-title .hl{background:linear-gradient(90deg,var(--n37-accent,#39FF8F),#8B5CF6,#38BDF8,var(--n37-accent,#39FF8F))!important;background-size:300% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;animation:gradientFlow 6s linear infinite}
#viewShop .hero-badge{animation:floatY 5.5s ease-in-out infinite}
#viewShop .hero2-ctas .btn.primary{animation:ctaGlow 4s ease-in-out infinite}
/* 前端卡片悬浮 / 扫光 */
#viewShop .card,#viewShop .case-card,#viewShop .review-card,#viewShop .store-card{transition:transform .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s ease,border-color .32s ease}
#viewShop .card:hover,#viewShop .case-card:hover,#viewShop .review-card:hover,#viewShop .store-card:hover{transform:translateY(-6px);box-shadow:0 18px 44px rgba(17,17,16,.12);border-color:rgba(57,255,143,.28)}
#viewShop .pcard-img{position:relative;overflow:hidden}
#viewShop .pcard-img::after{content:"";position:absolute;top:-10%;bottom:-10%;left:-85%;width:55%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.36),transparent);transform:skewX(-18deg);transition:left .7s ease;pointer-events:none}
#viewShop .card:hover .pcard-img::after{left:125%}
#viewShop .pcard-img img,#viewShop .case-card img{transition:transform .7s cubic-bezier(.2,.8,.2,1),filter .5s ease}
#viewShop .card:hover .pcard-img img,#viewShop .case-card:hover img{transform:scale(1.045)}
#viewShop .case-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.26));opacity:0;transition:opacity .3s ease;pointer-events:none}
#viewShop .case-card:hover::after{opacity:1}
/* 按钮扫光 */
#viewShop .btn.primary,.admin-main .btn.primary{position:relative;overflow:hidden}
#viewShop .btn.primary::after,.admin-main .btn.primary::after{content:"";position:absolute;top:-20%;bottom:-20%;left:-80%;width:50%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);transform:skewX(-18deg);pointer-events:none;transition:left .65s ease}
#viewShop .btn.primary:hover::after,.admin-main .btn.primary:hover::after{left:130%}
/* 顶部导航细微反馈 */
#viewShop .top-nav a,.topbar .top-nav a{position:relative}
#viewShop .top-nav a::after,.topbar .top-nav a::after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--n37-accent,#39FF8F),#8B8CF6);transform:scaleX(0);transform-origin:left;transition:transform .28s ease}
#viewShop .top-nav a:hover::after,.topbar .top-nav a:hover::after{transform:scaleX(1)}
html.site-scrolled .topbar{box-shadow:0 8px 30px rgba(17,17,16,.10);backdrop-filter:blur(14px)}
html.site-scrolled .topbar .wrap{transition:padding .25s ease}
/* 后台：页签切换 / 卡片 / 表格逐行 */
.admin-main > div[id^="tab"]:not([hidden]){animation:tabIn .38s cubic-bezier(.2,.8,.2,1) both}
#adminPanel tbody tr{animation:rowIn .36s cubic-bezier(.2,.8,.2,1) both}
#adminPanel tbody tr:nth-child(2){animation-delay:.035s}
#adminPanel tbody tr:nth-child(3){animation-delay:.07s}
#adminPanel tbody tr:nth-child(4){animation-delay:.105s}
#adminPanel tbody tr:nth-child(5){animation-delay:.14s}
#adminPanel tbody tr:nth-child(6){animation-delay:.175s}
#adminPanel tbody tr:nth-child(n+7){animation-delay:.2s}
#adminPanel .settings-card,.admin-main .settings-card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
#adminPanel .settings-card:hover,.admin-main .settings-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(32,28,22,.07);border-color:rgba(57,255,143,.18)}
#adminPanel .kanban-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
#adminPanel .kanban-card:hover{transform:translateY(-2px)}
/* 弹窗入场 */
.modal:not([hidden]) .modal-mask{animation:motionFade .28s ease both}
.modal:not([hidden]) .modal-body{animation:motionModalIn .42s cubic-bezier(.2,.85,.2,1) both}
/* 减少动画偏好 */
@media(prefers-reduced-motion:reduce){
  html.motion-ready .motion-reveal{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}
  #viewShop .hero2::before,#viewShop .hero-badge,#viewShop .hero2-ctas .btn.primary,#viewShop .hero2-title .hl{animation:none!important}
  #viewShop .card,#viewShop .case-card,#viewShop .review-card,#viewShop .store-card,.modal:not([hidden]) .modal-body,.admin-main > div[id^="tab"]:not([hidden]),#adminPanel tbody tr{animation:none!important;transition:none!important;transform:none!important}
  #viewShop .card:hover,#viewShop .case-card:hover,#viewShop .review-card:hover,#viewShop .store-card:hover{transform:none!important}
}



/* 平台专属菜单：商户后台始终隐藏，平台代登录也不再显示 */
#adminPanel .admin-side .tabs .tab.platform-only,
body.impersonating #adminPanel .admin-side .tabs .tab.platform-only,
html body.admin-mode.impersonating #adminPanel .admin-side .tabs .tab.platform-only{display:none!important}



/* P0-1 手机端底部操作条不再撑破页面 */
@media(max-width:640px){
  body:not(.admin-mode) .mbar{width:100%!important;max-width:100vw!important;box-sizing:border-box!important;overflow:hidden!important}
  body:not(.admin-mode) .mbar-btn{min-width:0!important;padding:0 6px!important}
  body:not(.admin-mode) .mbar-btn span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}
@media(max-width:380px){
  body:not(.admin-mode) .mbar{gap:6px!important;padding-left:8px!important;padding-right:8px!important}
  body:not(.admin-mode) .mbar-btn{gap:4px!important;font-size:12.5px!important}
  body:not(.admin-mode) .mbar-btn svg{width:16px!important;height:16px!important}
}
/* P0-3 主按钮统一品牌紫 */
.btn.primary{box-shadow:0 4px 14px rgba(57,255,143,.24)!important}
.btn.primary:hover{box-shadow:0 6px 20px rgba(57,255,143,.32)!important}
/* P0-4 订单操作：主操作 + 更多 */
#adminList .op-group{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;width:auto!important;max-width:none!important}
#adminList .op-group .op-ico{width:auto!important;min-width:0!important;height:31px!important;padding:0 9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;border:1px solid var(--line-strong,#E1DCD2)!important;border-radius:8px!important;background:var(--card,#FFFDF9)!important;color:var(--ink-700,#4D4942)!important;font-size:11px!important;font-weight:650!important;line-height:1!important;flex:0 0 auto!important;box-shadow:none!important}
#adminList .op-group .op-ico svg{width:13px!important;height:13px!important;flex:0 0 auto!important}
#adminList .op-group .op-ico .op-label{display:inline!important;white-space:nowrap!important}
#adminList .op-group .op-ico:hover{background:var(--brand-50,#F0EEFF)!important;border-color:var(--brand-300,#C9C5ED)!important;color:var(--brand-700,var(--n37-accent,#2BE07C))!important}
#adminList .op-group .op-ico.success{color:#12805C!important;border-color:#BFE4D6!important}
#adminList .op-group .op-ico.danger{color:#B42318!important;border-color:#E9BDB8!important}
#adminList .op-group .op-ico.danger:hover{background:#FDF0EE!important}
#adminList .op-more{position:relative;flex:0 0 auto;margin:0}
#adminList .op-more-summary{list-style:none;height:31px;padding:0 10px;border:1px solid var(--line-strong,#E1DCD2);border-radius:8px;background:var(--card,#FFFDF9);color:var(--ink-700,#4D4942);font-size:11px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;user-select:none}
#adminList .op-more-summary::-webkit-details-marker{display:none}
#adminList .op-more[open] .op-more-summary{background:var(--brand-50,#F0EEFF);border-color:var(--brand-300,#C9C5ED);color:var(--brand-700,var(--n37-accent,#2BE07C))}
#adminList .op-more-menu{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:210px;padding:6px;margin-top:6px;border:1px solid var(--border,#E7E2D8);border-radius:10px;background:var(--card,#FFFDF9);box-shadow:0 10px 24px rgba(32,28,22,.10);position:absolute;right:0;top:100%;z-index:5}
#adminList .op-more[open] .op-more-menu{display:grid}
#adminList .op-more-menu .op-ico{width:100%!important;justify-content:flex-start!important;padding:0 7px!important}
#adminList td[data-label="操作"],#adminList th:last-child{width:260px!important;min-width:260px!important}
@media(max-width:768px){
  #adminList .op-group{justify-content:flex-end!important;flex-wrap:wrap!important}
  #adminList .op-ico{height:34px!important;padding:0 9px!important;font-size:11px!important}
  #adminList .op-more-summary{height:34px!important}
}



/* P0-1/P0-3 最终覆盖：手机横向溢出 & 品牌紫主按钮 & 订单更多菜单改为文档流 */
@media(max-width:768px){
  html,body{overflow-x:hidden!important;max-width:100%!important}
  #viewShop .hero2{overflow:hidden!important}
}
:root,html[data-theme="light"],html[data-theme="original"],html[data-theme="neon"]{--primary:var(--n37-accent,#39FF8F)!important;--primary-hover:var(--n37-accent,#2BE07C)!important}
.btn.primary,button.btn.primary,body:not(.admin-mode) .btn.primary{background:var(--n37-accent,#39FF8F)!important;border-color:var(--n37-accent,#39FF8F)!important;color:#fff!important}
.btn.primary:hover,button.btn.primary:hover,body:not(.admin-mode) .btn.primary:hover{background:var(--n37-accent,#2BE07C)!important;border-color:var(--n37-accent,#2BE07C)!important}
#adminList .op-group .op-more[open]{flex:1 1 100%!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;margin-top:3px}
#adminList .op-more-menu{position:static!important;right:auto!important;top:auto!important;z-index:auto!important;width:100%!important;max-width:250px!important;margin-top:5px!important}



/* 客户版 App：报价首页 + 客户中心 + 底部导航 */
html.customer-app-mode body{padding-bottom:calc(70px + env(safe-area-inset-bottom))!important}
html.customer-app-mode #mBar,
html.customer-app-mode #backTop,
html.customer-app-mode #annModal{display:none!important}
.customer-tabbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:120;background:rgba(255,253,249,.96);backdrop-filter:blur(16px);border-top:1px solid #E7E2D8;padding:6px 8px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;box-shadow:0 -10px 30px rgba(32,28,22,.08)}
html.customer-app-mode .customer-tabbar{display:flex}
.customer-tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:transparent;color:#9A958C;font:650 10px Inter,"PingFang SC","Microsoft YaHei",sans-serif;padding:5px 4px;cursor:pointer}
.customer-tabbar button svg{width:20px;height:20px;stroke-width:1.8}
.customer-tabbar button.active{color:var(--n37-accent,#39FF8F)}
.customer-tabbar button.active svg{stroke:var(--n37-accent,#39FF8F)}
.customer-tabbar button:active{transform:scale(.96)}
html.customer-app-mode #custCenterModal:not([hidden]){display:flex!important;align-items:stretch;justify-content:stretch;padding:0!important;background:#F4F1EA;z-index:200}
html.customer-app-mode #custCenterModal .modal-mask{display:none!important}
html.customer-app-mode #custCenterModal .modal-body{width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;display:flex;flex-direction:column;overflow:hidden}
html.customer-app-mode #custCenterModal .modal-head{flex:0 0 auto;padding-top:max(12px,env(safe-area-inset-top))!important;padding-bottom:12px!important}
html.customer-app-mode #custCenterModal .modal-content{flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
html.customer-app-mode #siteFooter{padding-bottom:calc(80px + env(safe-area-inset-bottom))!important}



/* 收款设置：全宽卡片 */
#tabSettings .pay-settings-card{grid-column:1/-1!important}
#tabSettings .pay-settings-card .pay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:2px 0 14px}
#tabSettings .pay-qr-box{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;border:1px solid var(--border);border-radius:11px;background:var(--box-bg)}
#tabSettings .pay-qr-box b{font-size:12px;color:var(--text-main)}
#tabSettings .pay-qr-upload{width:112px!important;height:112px!important;border-radius:9px!important}
#tabSettings .pay-qr-upload img{object-fit:contain;background:#fff}
#tabSettings .pay-qr-placeholder{font-size:10px;color:var(--text-muted);text-align:center;line-height:1.4;padding:0 8px}
#tabSettings .pay-qr-box p{margin:0;font-size:10px;line-height:1.55;color:var(--text-muted)}
#tabSettings .pay-bank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#tabSettings .pay-bank-grid .field{margin:0!important;min-width:0}
#tabSettings .pay-actions{display:flex;align-items:center;gap:10px;margin-top:13px;padding-top:12px;border-top:1px solid var(--border)}
@media(max-width:700px){
  #tabSettings .pay-settings-card .pay-grid{grid-template-columns:1fr 1fr;gap:9px}
  #tabSettings .pay-qr-upload{width:100%!important;height:108px!important}
  #tabSettings .pay-bank-grid{grid-template-columns:1fr;gap:8px}
}



#viewCreator[hidden], .creator-modal[hidden]{display:none!important}
.creator-view{background:var(--bg-base,#F4F1EA);color:var(--text-main,#17181C);min-height:70vh;padding-bottom:48px}
.creator-hero{background:radial-gradient(900px 500px at 80% -20%,rgba(57,255,143,.18),transparent 60%),#0B0C0A;color:#fff;padding:58px 0 46px;position:relative;overflow:hidden}
.creator-hero:after{content:"";position:absolute;right:-120px;top:-120px;width:460px;height:460px;border-radius:50%;border:1px solid rgba(57,255,143,.18)}
.creator-hero .wrap{position:relative;z-index:1}
.creator-kicker{font-size:10px;font-weight:850;letter-spacing:.18em;color:var(--n37-accent,#39FF8F);margin-bottom:16px}
.creator-hero h1{font-size:clamp(34px,5.4vw,64px);line-height:1.08;letter-spacing:-.055em;margin:0 0 17px;font-weight:900;color:#fff}
.creator-hero p{max-width:670px;font-size:15px;line-height:1.9;color:rgba(255,255,255,.62);margin:0}
.creator-hero-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:23px;font-size:12px;color:rgba(255,255,255,.55)}
.creator-hero-meta span{display:inline-flex;align-items:center;gap:6px}
.creator-hero-link{color:var(--n37-accent,#39FF8F);font-weight:750;text-decoration:none}
.creator-body{padding-top:26px}
.creator-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.creator-filters{display:flex;gap:7px;flex-wrap:wrap}
.creator-chip{border:1px solid var(--border,#E7E2D8);background:var(--surface,#fff);color:var(--text-muted,#746F64);border-radius:999px;padding:7px 14px;font:600 12px var(--font,sans-serif);cursor:pointer}
.creator-chip.active{background:#0B0C0A;border-color:#0B0C0A;color:var(--n37-accent,#39FF8F)}
.creator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.creator-card{border:1px solid var(--border,#E7E2D8);background:var(--surface,#fff);border-radius:16px;overflow:hidden;cursor:pointer;transition:.18s;min-width:0}
.creator-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(17,17,16,.12)}
.creator-card-img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#0B0C0A}
.creator-card-body{padding:12px 13px 13px}
.creator-card-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.creator-card-title{font-size:14px;line-height:1.45;font-weight:800;margin:0 0 5px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.creator-card-author{font-size:11px;color:var(--text-muted,#746F64);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.creator-card-meta{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:11px;color:var(--text-muted,#746F64);flex-wrap:wrap}
.creator-card-meta b{color:var(--primary,var(--n37-accent,#39FF8F));font-size:13px}
.creator-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;padding-top:10px;border-top:1px solid var(--border,#E7E2D8)}
.creator-card-price{font-size:12px;font-weight:800;color:var(--primary,var(--n37-accent,#39FF8F))}
.creator-card-price.free{color:#159A6B}
.creator-card-btn{border:0;border-radius:8px;background:var(--primary,var(--n37-accent,#39FF8F));color:#fff;font:700 11px var(--font,sans-serif);padding:7px 10px;cursor:pointer;white-space:nowrap}
.creator-card-btn.mine{background:#0B0C0A;color:var(--n37-accent,#39FF8F)}
.creator-card-btn.owned{background:#EAF6F0;color:#159A6B}
.creator-empty{grid-column:1/-1;border:1px dashed var(--border,#E7E2D8);border-radius:16px;padding:60px 20px;text-align:center;color:var(--text-muted,#746F64);font-size:13px}
.creator-modal{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:16px}
.creator-mask{position:absolute;inset:0;background:rgba(5,6,4,.72);backdrop-filter:blur(6px)}
.creator-modal-card{position:relative;z-index:1;width:min(760px,100%);max-height:92vh;overflow:auto;background:var(--surface,#fff);border:1px solid var(--border,#E7E2D8);border-radius:18px;padding:18px;box-shadow:0 30px 100px rgba(0,0,0,.35)}
.creator-modal-close{position:absolute;right:12px;top:12px;z-index:2;width:30px;height:30px;border:0;border-radius:50%;background:var(--bg-sunken,#F4F0EA);color:var(--text-main,#17181C);font-size:19px;line-height:1;cursor:pointer}
.creator-detail-img{width:100%;max-height:390px;object-fit:contain;background:#0B0C0A;border-radius:12px;display:block}
.creator-detail-title{font-size:22px;font-weight:900;margin:14px 0 5px;line-height:1.35}
.creator-detail-meta{font-size:12px;color:var(--text-muted,#746F64);display:flex;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.creator-detail-desc{font-size:13px;line-height:1.8;color:var(--text-muted,#746F64);margin-bottom:12px;white-space:pre-wrap}
.creator-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0 16px}
.creator-detail-actions .btn{height:38px;font-size:12px}
.creator-like-btn{background:transparent;border:1px solid var(--border,#E7E2D8);color:var(--text-main,#17181C);border-radius:9px;padding:8px 12px;font:700 12px var(--font,sans-serif);cursor:pointer}
.creator-like-btn.on{background:#FDEEF1;border-color:#F4B8C4;color:#D6452F}
.creator-comment-box{border-top:1px solid var(--border,#E7E2D8);padding-top:14px}
.creator-comment-title{font-size:13px;font-weight:800;margin-bottom:9px}
.creator-comment-list{display:flex;flex-direction:column;gap:8px;max-height:220px;overflow:auto;margin-bottom:10px}
.creator-comment-item{background:var(--bg-sunken,#F4F0EA);border-radius:9px;padding:8px 10px;font-size:12px;line-height:1.65}
.creator-comment-item b{display:block;font-size:11px;color:var(--text-main,#17181C);margin-bottom:2px}
.creator-comment-form{display:flex;gap:7px}
.creator-comment-form input{flex:1;min-width:0;height:36px;border:1px solid var(--border,#E7E2D8);border-radius:8px;padding:0 10px;background:var(--input-bg,#fff);color:var(--text-main,#17181C);font:13px var(--font,sans-serif)}
.creator-publish-card{width:min(520px,100%)}
.creator-publish-title{font-size:19px;font-weight:900;margin:2px 0 14px}
.creator-publish-preview img{width:100%;max-height:230px;object-fit:contain;background:#0B0C0A;border-radius:10px;display:block;margin-bottom:12px}
.creator-publish-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.creator-publish-hint{font-size:11px;line-height:1.7;color:var(--text-muted,#746F64);margin:8px 0 12px}
.creator-publish-actions{display:flex;justify-content:flex-end;gap:8px}
@media(max-width:900px){.creator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .creator-hero{padding:38px 0 32px}.creator-hero h1{font-size:34px}.creator-hero p{font-size:13.5px}
  .creator-body{padding-top:18px}.creator-grid{grid-template-columns:1fr;gap:12px}
  .creator-card{display:grid;grid-template-columns:126px minmax(0,1fr);border-radius:13px}
  .creator-card-img{height:100%;aspect-ratio:auto;min-height:126px}
  .creator-card-body{padding:10px 11px}
  .creator-card-foot{margin-top:7px;padding-top:7px}
  .creator-modal{padding:8px}.creator-modal-card{padding:14px;border-radius:14px;max-height:94vh}
  .creator-detail-title{font-size:19px}.creator-publish-row{grid-template-columns:1fr}
}



/* 99 元出图入口 + 留资钩子 + 报价单打印 */
.lead99-strip{margin-top:14px;padding:13px 14px;border:1px solid rgba(57,255,143,.28);border-radius:14px;background:linear-gradient(135deg,rgba(57,255,143,.10),rgba(57,255,143,.035));display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.lead99-strip>div{min-width:0;flex:1 1 100%;display:flex;flex-direction:column;gap:3px}
.lead99-strip b{font-size:14px;color:var(--text-main,#17181c);line-height:1.35;white-space:normal}
.lead99-strip span{font-size:12px;line-height:1.55;color:var(--text-muted,#746f64)}
#lead99Btn{flex:1 1 100%;width:100%;background:var(--primary,var(--n37-accent,#39FF8F));border-color:var(--primary,var(--n37-accent,#39FF8F));color:#fff;-webkit-text-fill-color:#fff!important;height:42px;padding:0 16px;border-radius:11px;font-size:13.5px;font-weight:800;box-shadow:0 8px 20px rgba(57,255,143,.22)}
#lead99Btn:hover{filter:brightness(1.06)}
.lead-submit,.lead-skip,.lead-modal-x{-webkit-text-fill-color:currentColor!important}
.lead-submit{color:#fff!important;-webkit-text-fill-color:#fff!important}
#qc_btn,#heroQuoteBtn,#heroWxBtn{-webkit-text-fill-color:currentColor!important}
/* H1 唯一化：案例页/共创页标题改 h2 后沿用原视觉 */
.creator-hero .creator-title{font-size:clamp(34px,5.4vw,64px);line-height:1.08;letter-spacing:-.055em;margin:0 0 17px;font-weight:900;color:#fff}
.creator-hero .creator-title em{font-style:normal;color:var(--n37-accent,#39FF8F)}
#viewCreator .creator-hero .creator-title{color:var(--text-main,#17181C)!important}
#viewCreator .creator-hero .creator-title em{color:var(--primary,var(--n37-accent,#39FF8F))!important}
body[data-layout="b"] #viewCreator .creator-hero .creator-title{color:#F7F6F2!important}
@media(max-width:640px){.creator-hero .creator-title{font-size:34px}}
.lead-modal .modal-body{max-width:480px;max-height:92vh;overflow:auto;border-radius:18px}
.lead-modal-head{padding:22px 24px 6px;position:relative}
.lead-modal-kicker{font-size:11px;letter-spacing:.12em;font-weight:800;color:var(--primary,var(--n37-accent,#39FF8F));margin-bottom:8px}
.lead-modal-head h3{margin:0 0 7px;font-size:22px;line-height:1.3;color:var(--text-main,#17181c)}
.lead-modal-head p{margin:0;color:var(--text-muted,#746f64);font-size:13px;line-height:1.7}
.lead-modal-x{position:absolute;right:12px;top:12px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(0,0,0,.06);color:var(--text-muted);font-size:19px;cursor:pointer}
.lead-modal-body{padding:10px 24px 22px}
.lead-modal .field{margin:11px 0}
.lead-modal .field>span{font-size:12.5px;font-weight:700}
.lead-contact-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lead-modal input,.lead-modal textarea{width:100%;box-sizing:border-box;border:1px solid var(--border,#E7E2D8);background:var(--input-bg,#fff);color:var(--text-main,#17181c);border-radius:10px;padding:10px 11px;font:13px var(--font,sans-serif);outline:none}
.lead-modal input:focus,.lead-modal textarea:focus{border-color:var(--primary,var(--n37-accent,#39FF8F));box-shadow:0 0 0 3px rgba(57,255,143,.12)}
.lead-modal textarea{resize:vertical;min-height:58px}
.lead-submit{width:100%;height:44px;border:0;border-radius:11px;background:var(--primary,var(--n37-accent,#39FF8F));color:#fff;font-size:14px;font-weight:800;cursor:pointer;margin-top:4px}
.lead-submit:disabled{opacity:.55;cursor:wait}
.lead-skip{width:100%;background:transparent;border:0;color:var(--text-muted,#746f64);font-size:12.5px;padding:9px;cursor:pointer;text-decoration:underline}
.lead-err{display:none;color:#D6452F;font-size:12px;line-height:1.6;margin:4px 0 0}
.lead-err.show{display:block}
.lead-privacy{font-size:11px;line-height:1.6;color:var(--text-muted,#9a958b);margin:8px 0 0}
.lead-success{display:none;text-align:center;padding:14px 0 4px}
.lead-success.show{display:block}
.lead-success .ic{width:52px;height:52px;border-radius:50%;background:rgba(34,197,94,.12);color:#16a34a;display:flex;align-items:center;justify-content:center;font-size:26px;margin:0 auto 10px}
.lead-success b{display:block;font-size:18px;color:var(--text-main,#17181c);margin-bottom:5px}
.lead-success p{font-size:12.5px;color:var(--text-muted,#746f64);line-height:1.7;margin:0 0 12px}
.lead-success .lead-submit{max-width:300px;margin:0 auto}
.quote-pdf-btn{margin-top:12px!important}
#n37Print{display:none}
@media(max-width:640px){
  .lead99-strip{padding:12px;gap:9px;border-radius:13px}
  .lead99-strip>div{flex:1 1 100%}
  #lead99Btn{width:100%}
  .lead-modal .modal-body{max-width:100%;border-radius:18px 18px 0 0;max-height:94vh}
  .lead-modal-head{padding:20px 18px 4px}
  .lead-modal-body{padding:8px 18px 18px}
  .lead-contact-row{grid-template-columns:1fr}
}
@media print{
  body *{visibility:hidden!important}
  #n37Print,#n37Print *{visibility:visible!important}
  #n37Print{display:block!important;position:absolute;left:0;top:0;width:100%;padding:28px 34px;box-sizing:border-box;background:#fff;color:#17181c;font-family:"Microsoft YaHei",Arial,sans-serif}
  #n37Print .qp-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #17181c;padding-bottom:14px}
  #n37Print .qp-brand{font-size:24px;font-weight:900;letter-spacing:.06em}
  #n37Print .qp-brand small{display:block;font-size:11px;font-weight:400;letter-spacing:.08em;color:#666;margin-top:4px}
  #n37Print .qp-meta{text-align:right;font-size:11.5px;line-height:1.8;color:#555}
  #n37Print h2{font-size:20px;margin:20px 0 12px}
  #n37Print table{width:100%;border-collapse:collapse;margin:12px 0;font-size:12.5px}
  #n37Print th,#n37Print td{border:1px solid #ddd;padding:9px 10px;text-align:left}
  #n37Print th{background:#f4f2ed;font-weight:700}
  #n37Print .qp-total{text-align:right;font-size:16px;font-weight:900;margin:10px 0 18px}
  #n37Print .qp-note{font-size:11px;color:#666;line-height:1.8;border-top:1px solid #ddd;padding-top:12px}
}



/* 案例 / 评价 跑马灯：两侧渐隐收窄，避免文字被切 */
.marquee-wrap{
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 2%,#000 98%,transparent 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0,#000 2%,#000 98%,transparent 100%)!important;
}
/* 案例卡：加底部渐变压暗，标题可读 */
.case-card{position:relative!important;overflow:hidden!important}
.case-card::after{
  content:'';position:absolute;left:0;right:0;bottom:0;height:58%;
  background:linear-gradient(180deg,rgba(8,8,12,0),rgba(8,8,12,.88));
  pointer-events:none;z-index:1
}
.case-card > *{position:relative;z-index:2}
/* 案例图不拉伸 */
.case-card img,.case-img img{
  width:100%!important;height:100%!important;object-fit:cover!important;display:block!important
}
/* 评价卡更轻的阴影，边界清楚 */
.review-card{box-shadow:0 8px 24px rgba(11,11,15,.08)!important;border:1px solid #E7E7E2!important}
/* 评价头像不被压扁 */
.review-avatar img,img.review-avatar{object-fit:cover!important;border-radius:50%!important}



/* 收紧区块上下空隙（之前主题皮肤 + 原样式叠加导致大空白） */
body section{padding-top:clamp(26px,3vw,54px)!important;padding-bottom:clamp(26px,3vw,54px)!important}
body .sec-head{margin-bottom:clamp(14px,1.8vw,26px)!important}
/* 案例标题与卡的间距 */
body .case-grid,body .marquee-wrap{margin-top:clamp(12px,1.6vw,24px)!important}
/* 提交订单卡与下方案例区之间不留大沟 */
body .order-form,body .qcard2,body form{margin-bottom:0!important}



    .dc-tabs{display:flex;gap:10px;margin:0 auto 18px;max-width:1080px;}
    .dc-panel{max-width:1080px;margin:0 auto 20px;}
    .dc-panel[hidden]{display:none;}
    .dc-body{display:flex;gap:18px;align-items:stretch;}
    .dc-left{flex:0 0 360px;min-width:300px;}
    .dc-right{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:12px;background:var(--card);padding:12px;}
    .dc-preview{flex:1 1 auto;overflow-y:auto;max-height:640px;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;align-content:start;}
    .dc-cost-line{text-align:center;color:var(--text-muted);font-size:12px;margin-top:8px;line-height:1.6}.dc-cost-line b{color:var(--primary);font-size:14px}.dc-preview-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:260px;color:var(--text-muted);font-size:13px;border:1px dashed var(--border);border-radius:10px;text-align:center;padding:20px;}
    .dc-res-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.dc-res{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 9px;border:1px solid var(--border);border-radius:9px;background:var(--btn-ghost-bg);color:var(--text-main);cursor:pointer;text-align:left}.dc-res b{font-size:14px;line-height:1.1}.dc-res small{font-size:9px;color:var(--text-muted);white-space:nowrap}.dc-res.active{border-color:var(--primary);background:rgba(57,255,143,.10)}.dc-res.active b{color:var(--primary)}.dc-ratios{display:grid;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:8px;}
    .dc-ratio{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px 4px;min-height:54px;}
    .dc-ratio .rc-shape{display:block;border:2px solid currentColor;border-radius:3px;opacity:.85;box-sizing:border-box;}
    .dc-ratio .rc-label{font-size:11px;line-height:1;opacity:.8;}
    .dc-ratio.active{background:var(--primary,#2f6fed);color:#fff;border-color:var(--primary,#2f6fed);}
    .dc-ratio.active .rc-shape{border-color:#fff;}
    .dc-err{color:#f87171;font-size:12px;margin-top:8px;text-align:center;min-height:16px;}
    .dc-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:10px;}
    .dc-card{position:relative;}
    .dc-card img{width:100%;border-radius:8px;cursor:zoom-in;display:block;}
    .dc-label{position:absolute;top:8px;left:8px;z-index:2;background:rgba(17,17,16,.92);color:#fff;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;}
    .dc-loading{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:260px;border:1px dashed var(--border);border-radius:12px;color:var(--text-muted);font-size:14px;text-align:center;padding:24px;}
    .dc-spinner{width:38px;height:38px;border-radius:50%;border:3px solid rgba(17,17,16,.2);border-top-color:#111110;animation:dcSpin .8s linear infinite;}
    @keyframes dcSpin{to{transform:rotate(360deg)}}
    .dc-loading b{color:var(--primary);font-size:16px;}
    .dc-loading small{font-size:12px;opacity:.8;}
    .dc-err-card{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:220px;border:1px solid rgba(248,113,113,.35);background:rgba(248,113,113,.06);border-radius:12px;padding:22px;text-align:center;font-size:13px;color:#f87171;}
    .dc-err-card .dc-err-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;}
    .dc-prompt-meta{margin-top:6px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--text-muted);}
    .dc-clear-prompt{border:none;background:none;color:var(--text-muted);font-size:11px;cursor:pointer;padding:2px 4px;border-radius:6px;font-family:inherit;transition:color .15s,background .15s;}
    .dc-clear-prompt:hover{color:var(--primary);background:rgba(17,17,16,.08);}
    /* 收款码上传 */
    .payqr-upload{position:relative;display:block;width:150px;height:150px;border:1px dashed var(--border);border-radius:12px;overflow:hidden;cursor:pointer;background:#fff;transition:border-color .15s,box-shadow .15s;}
    .payqr-upload:hover{border-color:var(--primary);box-shadow:0 0 0 3px rgba(17,17,16,.12);}
    .payqr-upload img{width:100%;height:100%;object-fit:contain;display:block;}
    .payqr-upload.empty img{display:none;}
    .payqr-upload .payqr-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#94a3b8;font-size:12px;background:#fff;line-height:1.5;}
    .payqr-upload:not(.empty) .payqr-empty{display:none;}
    .payqr-upload .payqr-overlay{position:absolute;left:0;right:0;bottom:0;background:rgba(15,23,42,.62);color:#fff;font-size:12px;padding:5px 0;text-align:center;opacity:0;transition:opacity .15s;}
    .payqr-upload:hover .payqr-overlay{opacity:1;}
    .payqr-upload.loading::after{content:'上传中…';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.86);color:#334155;font-size:13px;font-weight:700;}
    html[data-theme="neon"] .payqr-upload{background:#fff;border-color:rgba(57,255,143,.35);}
    html[data-theme="neon"] .payqr-upload:hover{border-color:var(--n37-accent,#39FF8F);box-shadow:0 0 0 3px rgba(57,255,143,.18);}
    .dc-chips .dc-chip{cursor:pointer;}
    .dc-chips .dc-chip.on{background:var(--primary);border-color:var(--primary);color:#fff;}
    @media (max-width:860px){.dc-body{flex-direction:column;}.dc-left{flex:auto;}}
  
/* ===================== 2026-11-14 丝滑动效系统 ===================== */
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
[id] { scroll-margin-top: 84px; }
@media (max-width: 768px) { [id] { scroll-margin-top: 68px; } }

/* 区块进场：淡入 + 上浮 */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-card { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); }
.reveal-card.is-in { opacity: 1; transform: none; }

/* 首屏文字逐条上浮 + 报价卡 */
@keyframes legoUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero2-left > * { animation: legoUp .6s cubic-bezier(.22,1,.36,1) both; }
.hero2-left > *:nth-child(1) { animation-delay: .02s; }
.hero2-left > *:nth-child(2) { animation-delay: .08s; }
.hero2-left > *:nth-child(3) { animation-delay: .14s; }
.hero2-left > *:nth-child(4) { animation-delay: .2s; }
.hero2-left > *:nth-child(5) { animation-delay: .26s; }
.hero2-left > *:nth-child(6) { animation-delay: .32s; }
.hero2 .qcard2 { animation: legoUp .7s .12s cubic-bezier(.22,1,.36,1) both; }

/* 视图切换淡入（替代生硬跳转） */
@keyframes legoView { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#viewShop, #viewDesign, #viewCases, #viewAdmin { animation: legoView .22s ease-out; }

/* 吸顶导航滚动时轻微阴影 */
.topbar { transition: box-shadow .25s ease, background .25s ease; }
.topbar.scrolled { box-shadow: 0 8px 28px rgba(15,23,42,.10); }

/* 交互反馈 */
.btn, .pcard-act, .dim-chip, .filter-chip, .tab, .pcard { transition: transform .16s ease, box-shadow .22s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:active, .pcard-act:active, .dim-chip:active, .filter-chip:active { transform: scale(.97); }
#productGrid .card:hover .pcard-img img { transform: scale(1.06); }

/* 弹窗淡入缩放 */
@keyframes legoModal { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes legoFade { from { opacity: 0; } to { opacity: 1; } }
.modal:not([hidden]) .modal-body { animation: legoModal .22s cubic-bezier(.22,1,.36,1); }
.modal:not([hidden]) .modal-mask { animation: legoFade .2s ease; }

/* FAQ 展开 */
@keyframes legoFadeUp { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq details[open] > p, details[open] > p { animation: legoFadeUp .25s ease; }

/* Toast */
@keyframes legoToast { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.toast { animation: legoToast .25s cubic-bezier(.22,1,.36,1); }

/* 用户系统偏好：减少动效 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-card, .hero2-left > *, .hero2 .qcard2, #viewShop, #viewDesign, #viewCases, #viewAdmin, .modal-body, .modal-mask, .toast {
    animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important;
  }
}



.ann-modal{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:20px;}
.ann-modal[hidden]{display:none!important;}
.ann-mask{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);animation:annFade .22s ease}
.ann-card{position:relative;width:min(520px,100%);max-height:86vh;display:flex;flex-direction:column;background:var(--card,#fff);border:1px solid var(--border,rgba(0,0,0,.08));border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.25);overflow:hidden;animation:annPop .3s cubic-bezier(.2,.9,.25,1.05)}
.ann-x{position:absolute;top:14px;right:14px;width:32px;height:32px;border:none;border-radius:50%;background:var(--input-bg,rgba(0,0,0,.05));color:var(--text-muted,#777);font-size:19px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s;z-index:3}
.ann-x:hover{background:rgba(0,0,0,.09);color:var(--text,#111)}
.ann-head{display:flex;align-items:flex-start;gap:14px;padding:24px 26px 8px;background:linear-gradient(135deg,rgba(17,17,16,.13),rgba(17,17,16,0) 62%)}
.ann-ico{flex:0 0 auto;width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;background:linear-gradient(135deg,#111110,var(--n37-accent,#39FF8F));box-shadow:0 8px 20px rgba(17,17,16,.35)}
.ann-head-txt{min-width:0;padding-right:26px}
.ann-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;color:#111110;margin-bottom:5px}
.ann-title{margin:0;font-size:19px;line-height:1.4;font-weight:800;color:var(--text,#111);word-break:break-word}
.ann-body{padding:8px 26px 6px;font-size:14.5px;line-height:1.85;color:var(--text,#222);white-space:pre-wrap;word-break:break-word;overflow:auto;max-height:44vh}
.ann-body:empty{display:none}
.ann-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 26px 22px}
.ann-meta{font-size:12px;color:var(--text-muted,#888)}
.ann-btn{flex:0 0 auto;border:none;border-radius:12px;padding:11px 28px;font-size:14px;font-weight:700;color:#fff;cursor:pointer;background:linear-gradient(135deg,#111110,var(--n37-accent,#39FF8F));box-shadow:0 8px 20px rgba(17,17,16,.32);transition:transform .15s,box-shadow .15s}
.ann-btn:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(17,17,16,.42)}
.ann-btn:active{transform:translateY(0)}
@keyframes annFade{from{opacity:0}to{opacity:1}}
@keyframes annPop{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
@media (max-width:520px){
  .ann-modal{padding:14px}
  .ann-card{border-radius:16px;max-height:90vh}
  .ann-head{padding:20px 18px 6px;gap:11px}
  .ann-ico{width:40px;height:40px;font-size:19px;border-radius:12px}
  .ann-title{font-size:17px}
  .ann-body{padding:6px 18px 4px;font-size:14px}
  .ann-foot{padding:12px 18px 18px;flex-direction:column-reverse;align-items:stretch;gap:10px}
  .ann-btn{width:100%;padding:12px}
  .ann-meta{text-align:center}
}



#adminList table{min-width:1120px}
#adminList .op-group{display:flex!important;flex-wrap:wrap!important;gap:6px!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;justify-content:flex-start!important}
#adminList .op-group .op-ico{width:auto!important;min-width:0!important;height:30px!important;padding:0 9px!important;border:1px solid var(--line-strong)!important;border-radius:7px!important;background:#fff!important;color:var(--ink-700)!important;font-size:12px!important;display:inline-flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important}
#adminList .op-group .op-ico:hover{background:var(--brand-50)!important;border-color:var(--brand-300)!important;color:var(--brand-700)!important;transform:none!important}
#adminList .op-group .op-ico svg{width:14px!important;height:14px!important;flex:0 0 auto!important}
#adminList .op-group .op-label{font-size:11.5px!important;font-weight:500!important;line-height:1!important}
#adminList .op-group .op-ico.danger{color:#B42318!important;border-color:#E9BDB8!important}
#adminList .op-group .op-ico.danger:hover{background:#FDF0EE!important}
.order-op-legend{margin:10px 16px 14px;padding:10px 12px;border:1px dashed var(--line);border-radius:10px;background:#FDFBF8;color:var(--ink-500);font-size:12px;line-height:1.8}
.order-op-legend b{color:var(--ink-800);font-weight:600}
@media(max-width:768px){#adminList table{min-width:900px}#adminList .op-group .op-ico{height:32px!important;padding:0 9px!important}}



/* 订单操作：单行轻量图标 */
#adminList table{min-width:0!important}
#adminList .op-group{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:3px!important;width:auto!important;max-width:none!important}
#adminList .op-group .op-ico{width:29px!important;min-width:29px!important;height:29px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#8E8A80!important;font-size:0!important;gap:0!important;flex:0 0 auto!important;box-shadow:none!important;transition:background .16s ease,color .16s ease,border-color .16s ease!important}
#adminList .op-group .op-ico svg{width:14px!important;height:14px!important;flex:0 0 auto!important}
#adminList .op-group .op-ico:hover{background:#F3F1EA!important;border-color:#E6E2D8!important;color:#1D1F24!important;transform:none!important}
#adminList .op-group .op-ico.success{color:#4C8B72!important}
#adminList .op-group .op-ico.success:hover{background:#EFF8F3!important;border-color:#CDE7DA!important;color:#12805C!important}
#adminList .op-group .op-ico.info{color:#6D82A8!important}
#adminList .op-group .op-ico.info:hover{background:#F1F5FB!important;border-color:#D6E1F0!important;color:#3D6FB4!important}
#adminList .op-group .op-ico.danger{color:#C07A70!important}
#adminList .op-group .op-ico.danger:hover{background:#FDF0EE!important;border-color:#EFD2CC!important;color:#B42318!important}
#adminList .op-group .op-label{display:none!important}
#adminList td[data-label="操作"],#adminList th:last-child{width:225px!important;min-width:225px!important}
#adminList th:last-child{text-align:right!important}
#adminList .order-op-legend{display:none!important}
@media(max-width:768px){
  #adminList .op-group{gap:2px!important;justify-content:flex-end!important;width:auto!important;max-width:none!important}
  #adminList .op-group .op-ico{height:30px!important;width:30px!important;min-width:30px!important;padding:0!important}
}



/* 右下角联系按钮：一体化浅色工具条 */
.float-contact{position:fixed!important;right:20px!important;bottom:24px!important;z-index:96!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;padding:6px!important;background:rgba(255,255,255,.96)!important;border:1px solid #E6E4DC!important;border-radius:999px!important;box-shadow:0 10px 28px rgba(17,17,16,.10)!important;backdrop-filter:blur(10px)!important}
.float-contact .fc-btn{width:auto!important;height:38px!important;min-width:0!important;padding:0 14px!important;border-radius:999px!important;border:1px solid transparent!important;background:transparent!important;color:#3B3330!important;font-size:13px!important;font-weight:600!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;box-shadow:none!important;cursor:pointer!important;text-decoration:none!important;transition:background .18s ease,color .18s ease!important}
.float-contact .fc-btn svg{width:16px!important;height:16px!important;flex:0 0 auto!important}
.float-contact .fc-btn.call{background:#111110!important;color:#fff!important}
.float-contact .fc-btn.call:hover{background:#000!important;transform:none!important}
.float-contact .fc-btn.wx{background:#EFFAF3!important;color:#137A3B!important;border-color:#D8F0DF!important}
.float-contact .fc-btn.wx:hover{background:#E2F6EA!important;transform:none!important}
body.admin-mode .float-contact{display:none!important}
@media(max-width:768px){.float-contact{display:none!important}}



/* 右下角联系按钮：保留圆形，缩小图标 */
.float-contact{position:fixed!important;right:18px!important;bottom:154px!important;z-index:96!important;display:flex!important;flex-direction:column!important;gap:9px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}
.float-contact .fc-btn{width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;font-size:0!important;box-shadow:0 4px 14px rgba(17,17,16,.14)!important;border:1px solid transparent!important;cursor:pointer!important;text-decoration:none!important;transition:transform .16s ease,box-shadow .16s ease!important}
.float-contact .fc-btn:hover{transform:translateY(-1px)!important;box-shadow:0 6px 16px rgba(17,17,16,.18)!important}
.float-contact .fc-btn svg{width:15px!important;height:15px!important;flex:0 0 auto!important}
.float-contact .fc-btn span{display:none!important}
.float-contact .fc-btn.call{background:#111110!important;color:#fff!important;border-color:#111110!important}
.float-contact .fc-btn.wx{background:#fff!important;color:#07C160!important;border-color:#E6E4DC!important}
body.admin-mode .float-contact{display:none!important}
@media(max-width:768px){.float-contact{display:none!important}}



body:not(.admin-mode) .float-contact .fc-btn.call{background:#111110!important;color:#fff!important;border:1px solid #111110!important;box-shadow:0 4px 14px rgba(17,17,16,.14)!important}
body:not(.admin-mode) .float-contact .fc-btn.wx{background:#fff!important;color:#07C160!important;border:1px solid #E6E4DC!important;box-shadow:0 4px 14px rgba(17,17,16,.14)!important}
body:not(.admin-mode) .float-contact .fc-btn:hover{transform:translateY(-1px)!important}
body:not(.admin-mode) .float-contact .fc-btn.call:hover{background:#000!important}
body:not(.admin-mode) .float-contact .fc-btn.wx:hover{background:#F4FBF6!important;color:#06AD56!important}



/* 后台移动端菜单按钮：默认全站隐藏，仅在后台手机端显示 */
#adminMenuBtn{display:none!important}
@media(max-width:768px){body.admin-mode #adminMenuBtn{display:inline-flex!important}}


#topNav{min-height:36px}


/* 首页门店信息卡：左对齐，覆盖 public.css 的居中 */
#storeInfo.store-wrap .store-card{align-items:stretch!important;text-align:left!important}
#storeInfo .store-head{align-items:center!important;justify-content:flex-start!important;text-align:left!important}
#storeInfo .store-head > div{text-align:left!important;min-width:0}
#storeInfo .store-name{text-align:left!important}
#storeInfo .store-tag{text-align:left!important}
#storeInfo .store-rows li{justify-content:flex-start!important;align-items:flex-start!important;text-align:left!important}
#storeInfo .store-promise{justify-content:flex-start!important;text-align:left!important}
#storeInfo .store-promise span{text-align:left}



/* 微信按钮统一微信绿 */
body:not(.admin-mode) #heroWxBtn{background:#07C160!important;border-color:#07C160!important;color:#fff!important}
body:not(.admin-mode) #heroWxBtn:hover{background:#06AD56!important;border-color:#06AD56!important;color:#fff!important}
body:not(.admin-mode) .float-contact .fc-btn.wx{background:#07C160!important;color:#fff!important;border:1px solid #07C160!important;box-shadow:0 4px 14px rgba(7,193,96,.28)!important}
body:not(.admin-mode) .float-contact .fc-btn.wx:hover{background:#06AD56!important;color:#fff!important;border-color:#06AD56!important}



#storeInfo .store-badge.has-logo{background:#fff!important;border:1px solid var(--border)!important;box-shadow:none!important;padding:4px!important;overflow:hidden}
#storeInfo .store-badge.has-logo svg{display:none!important}
#storeInfo .store-badge.has-logo img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:10px!important;display:block!important}



/* 商户后台侧栏：深色导航 */
#adminPanel .admin-side{background:#111110!important;border:1px solid #24232A!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 10px 30px rgba(17,17,16,.14)!important}
#adminPanel .admin-side-brand{background:#111110!important;color:#F4F3EF!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;border-radius:0!important;padding:16px 16px 14px!important}
#adminPanel .admin-side-brand b{color:#F4F3EF!important}
#adminPanel .admin-side-brand span{color:#8B857D!important}
#adminPanel .admin-side-brand::before{background:linear-gradient(180deg,#8B8CF6,var(--n37-accent,#39FF8F))!important}
#adminPanel .admin-side-title{background:#111110!important;color:#8B857D!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.07)!important;padding:12px 16px 6px!important}
#adminPanel .admin-side .tabs{background:#111110!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:8px 8px 12px!important}
#adminPanel .admin-side .tabs::-webkit-scrollbar-thumb{background:rgba(255,255,255,.16)!important}
#adminPanel .admin-side .tabs .tab-group + .tab-group{border-top:1px dashed rgba(255,255,255,.10)!important;margin-top:8px!important;padding-top:8px!important}
#adminPanel .admin-side .tabs .tab-group-label{color:#7A746C!important;opacity:1!important;margin:7px 10px 4px!important;font-size:10px!important;letter-spacing:.14em!important}
#adminPanel .admin-side .tabs .tab{color:#B9B4AC!important;background:transparent!important;height:36px!important;border-radius:9px!important;border-left:3px solid transparent!important;padding:0 10px!important;font-weight:500!important}
#adminPanel .admin-side .tabs .tab svg{color:#8B857D!important;opacity:1!important}
#adminPanel .admin-side .tabs .tab:hover{background:rgba(255,255,255,.07)!important;color:#F4F3EF!important}
#adminPanel .admin-side .tabs .tab:hover svg{color:#F4F3EF!important}
#adminPanel .admin-side .tabs .tab.active{background:rgba(57,255,143,.20)!important;color:#FFFFFF!important;border-left-color:#A5A3FF!important;font-weight:700!important}
#adminPanel .admin-side .tabs .tab.active svg{color:#A5A3FF!important}
#adminPanel .admin-side .tabs .tab.active span{color:#FFFFFF!important}
@media(max-width:1024px){
  #adminPanel .admin-side{background:#111110!important;border-radius:14px!important}
  #adminPanel .admin-side-brand{padding:12px 14px!important;border-radius:14px 14px 0 0!important}
  #adminPanel .admin-side .tabs{flex-direction:row!important;overflow-x:auto!important;padding:6px!important;border-radius:0 0 14px 14px!important}
  #adminPanel .admin-side .tabs .tab-group{display:inline-flex!important;border-right:1px solid rgba(255,255,255,.10)!important}
  #adminPanel .admin-side .tabs .tab{height:34px!important;border-left:0!important;border-bottom:2px solid transparent!important;border-radius:7px!important;padding:0 10px!important;white-space:nowrap!important}
  #adminPanel .admin-side .tabs .tab.active{background:rgba(57,255,143,.20)!important;border-bottom-color:#A5A3FF!important;border-left-color:transparent!important}
}


@media(max-width:768px){
html body.admin-mode #adminPanel .admin-side{background:#111110!important;border-color:#24232A!important}
html body.admin-mode #adminPanel .admin-side .tabs{background:#111110!important}
html body.admin-mode #adminPanel .admin-side-brand{background:#111110!important;border-bottom-color:rgba(255,255,255,.08)!important}
}


/* 订单操作菜单：文档流展开，避免被表格容器裁切 */
#adminList .op-group{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;width:auto!important;max-width:none!important}
#adminList .op-more{position:relative!important;flex:0 0 auto!important;margin:0!important}
#adminList .op-more[open]{display:block!important;flex:0 0 100%!important;width:100%!important;margin-top:2px!important}
#adminList .op-more-summary{list-style:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:31px!important;padding:0 10px!important;border:1px solid var(--line-strong,#E1DCD2)!important;border-radius:8px!important;background:var(--card,#FFFDF9)!important;color:var(--ink-700,#4D4942)!important;font-size:11px!important;font-weight:650!important;cursor:pointer!important}
#adminList .op-more-summary::-webkit-details-marker{display:none!important}
#adminList .op-more[open] .op-more-summary{background:var(--brand-50,#F0EEFF)!important;border-color:var(--brand-300,#C9C5ED)!important;color:var(--brand-700,var(--n37-accent,#2BE07C))!important}
#adminList .op-more-menu{position:static!important;inset:auto!important;display:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;width:100%!important;max-width:240px!important;padding:6px!important;margin-top:5px!important;border:1px solid var(--border,#E7E2D8)!important;border-radius:10px!important;background:var(--card,#FFFDF9)!important;box-shadow:0 8px 20px rgba(32,28,22,.10)!important;z-index:auto!important}
#adminList .op-more[open] .op-more-menu{display:grid!important}
#adminList .op-more-menu .op-ico{width:100%!important;min-width:0!important;height:30px!important;justify-content:flex-start!important;padding:0 7px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#adminList .op-more-menu .op-ico .op-label{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#adminList .op-ico.op-primary-action{background:var(--brand-50,#F0EEFF)!important;border-color:var(--brand-200,#DDD9FA)!important;color:var(--brand-700,var(--n37-accent,#2BE07C))!important}
#adminList .op-ico.op-primary-action:hover{background:#E7E4FF!important;border-color:var(--brand-300,#C9C5ED)!important}



/* 订单更多菜单：浮层显示，避免撑高表格行 */
#tabOrders .list-card{overflow:visible!important}
#adminList .op-group{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important}
#adminList .op-more{position:relative!important;flex:0 0 auto!important;margin:0!important}
#adminList .op-more[open]{display:block!important;flex:0 0 auto!important;width:auto!important;margin:0!important}
#adminList .op-more-menu{position:absolute!important;right:0!important;top:calc(100% + 6px)!important;left:auto!important;display:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;width:210px!important;max-width:none!important;padding:6px!important;margin:0!important;border:1px solid var(--border,#E7E2D8)!important;border-radius:10px!important;background:var(--card,#FFFDF9)!important;box-shadow:0 14px 30px rgba(32,28,22,.14)!important;z-index:80!important}
#adminList .op-more[open] .op-more-menu{display:grid!important}
#adminList .op-more-menu .op-ico{width:100%!important;min-width:0!important;height:30px!important;justify-content:flex-start!important;padding:0 7px!important;overflow:hidden!important}
#adminList .op-more-menu .op-ico .op-label{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}



/* P1：订单表密度 / 金额对齐 / 筛选层级 / 登录框尺寸 */
#adminList tbody td{padding:10px 12px!important;vertical-align:middle!important}
#adminList thead th{padding:10px 12px!important}
#adminList td[data-label="金额"],#adminList th:nth-child(4){text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}
#adminList td[data-label="金额"] > div,#adminList td[data-label="金额"] > span{text-align:right!important}
#orderStatusChips .s-chip{background:#FFFDF9!important;border:1px solid #E7E2D8!important;color:#6B665D!important;height:31px!important}
#orderStatusChips .s-chip:hover{border-color:#C9C5ED!important;color:var(--n37-accent,#39FF8F)!important}
#orderStatusChips .s-chip.on{background:#EEECFF!important;border-color:#DDD9FA!important;color:var(--n37-accent,#39FF8F)!important;font-weight:700!important}
#loginBox .ml-input input{height:44px!important}
#loginBox .ml-submit{height:44px!important}



/* 主按钮唯一：微信咨询降级为描边次按钮，仅保留绿色图标 */
#heroWxBtn{background:var(--card,#FFFDF9)!important;border:1px solid var(--border,#E7E2D8)!important;color:var(--text-main,#3B3832)!important;box-shadow:none!important}
#heroWxBtn:hover{background:var(--hover-bg,#F7F3EC)!important;border-color:var(--border,#DCD5C8)!important;color:var(--text-main,#1F1D1A)!important}
#heroWxBtn svg{color:#07C160!important}
body:not(.admin-mode) .mbar-btn.wx{background:var(--surface,#FFFDF9)!important;border:1px solid var(--border,#E7E2D8)!important;color:#15803D!important}
body:not(.admin-mode) .mbar-btn.wx svg{color:#07C160!important}



body:not(.admin-mode) #heroWxBtn,
body:not(.admin-mode) #heroWxBtn:hover{background:var(--card,#FFFDF9)!important;border:1px solid var(--border,#E7E2D8)!important;color:var(--text-main,#3B3832)!important;box-shadow:none!important}
body:not(.admin-mode) #heroWxBtn svg{color:#07C160!important}



/* 订单操作：单行轻量图标，主操作高亮，删除分离 */
#tabOrders .list-card{overflow:visible!important}
#adminList .op-group{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;width:auto!important;max-width:none!important}
#adminList .op-group .op-ico{width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--line-strong,#E1DCD2)!important;border-radius:7px!important;background:var(--card,#FFFDF9)!important;color:var(--ink-700,#4D4942)!important;font-size:0!important;box-shadow:none!important;flex:0 0 auto!important}
#adminList .op-group .op-ico svg{width:14px!important;height:14px!important;flex:0 0 auto!important}
#adminList .op-group .op-label{display:none!important}
#adminList .op-group .op-ico:hover{background:var(--brand-50,#F0EEFF)!important;border-color:var(--brand-300,#C9C5ED)!important;color:var(--brand-700,var(--n37-accent,#2BE07C))!important}
#adminList .op-group .op-ico.success{color:#12805C!important;border-color:#BFE4D6!important}
#adminList .op-group .op-ico.info{color:#3D6FB4!important;border-color:#C9D9EE!important}
#adminList .op-group .op-ico.danger{color:#B42318!important;border-color:#E9BDB8!important;margin-left:4px!important}
#adminList .op-group .op-ico.danger:hover{background:#FDF0EE!important;border-color:#D6452F!important}
#adminList td[data-label="操作"],#adminList th:last-child{width:280px!important;min-width:280px!important}
#adminList td[data-label="操作"]{vertical-align:middle!important}



#imgViewer.img-viewer-simple .img-viewer-actions{display:none!important}
#imgViewer.img-viewer-simple{cursor:zoom-out}



/* 底部操作栏图标尺寸锁定：避免加载瞬间/极窄屏被 SVG 默认尺寸或 flex 拉伸 */
body:not(.admin-mode) .mbar-btn{overflow:hidden!important;min-width:0!important}
body:not(.admin-mode) .mbar-btn svg{
  width:18px!important;height:18px!important;
  min-width:18px!important;min-height:18px!important;
  max-width:18px!important;max-height:18px!important;
  flex:0 0 18px!important;display:block!important;
  transform:none!important;aspect-ratio:1/1!important;
}
@media(max-width:380px){
  body:not(.admin-mode) .mbar-btn svg{
    width:16px!important;height:16px!important;
    min-width:16px!important;min-height:16px!important;
    max-width:16px!important;max-height:16px!important;
    flex:0 0 16px!important;
  }
}



/* 底部主 CTA 与全站品牌紫统一 */
body:not(.admin-mode) .mbar-btn.go{background:var(--n37-accent,#39FF8F)!important;border-color:var(--n37-accent,#39FF8F)!important;color:#fff!important;box-shadow:0 5px 16px rgba(57,255,143,.24)!important}
body:not(.admin-mode) .mbar-btn.go:hover{background:var(--n37-accent,#2BE07C)!important;border-color:var(--n37-accent,#2BE07C)!important;color:#fff!important}
body:not(.admin-mode) .mbar-btn.go svg{color:#fff!important}



/* 手机端门店三张信息卡：图标与文字统一左对齐基准 */
@media(max-width:560px){
  #storeInfo .store-rows li,
  #storeInfo .store-rows li + li{padding:8px 10px!important}
}



/* 生图预览查看器 */
#imgViewer{position:fixed!important;inset:0!important;z-index:9999!important;background:rgba(8,9,11,.94)!important;backdrop-filter:blur(10px)!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;padding:56px 20px 96px!important}
#imgViewerImg{max-width:92vw;max-height:calc(100vh - 170px);border-radius:10px;box-shadow:0 24px 70px rgba(0,0,0,.55);cursor:zoom-in;user-select:none;touch-action:none;transition:transform .18s ease;will-change:transform}
#imgViewerImg.iv-zoomed{cursor:grab}
#imgViewerImg.iv-dragging{transition:none;cursor:grabbing}
.iv-close{position:fixed;top:20px;right:22px;width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10001;transition:.16s ease}
.iv-close:hover{background:rgba(255,255,255,.16);transform:rotate(90deg)}
.iv-close svg{width:18px;height:18px}
.iv-toolbar{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:7px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(20,21,26,.88);backdrop-filter:blur(16px);box-shadow:0 16px 44px rgba(0,0,0,.4);z-index:10001;max-width:calc(100vw - 28px)}
.iv-zoom{display:flex;align-items:center;gap:2px}
.iv-btn{height:34px;padding:0 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#D9D7D0;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:650;font-family:inherit;text-decoration:none;cursor:pointer;transition:.16s ease;white-space:nowrap}
.iv-btn svg{width:15px;height:15px;flex:0 0 auto}
.iv-btn:hover{background:rgba(255,255,255,.10);color:#fff}
.iv-zoom-btn{width:32px;padding:0}
.iv-zoom-label{min-width:46px;height:32px;border:0;background:transparent;color:#B8B4AA;font-size:10.5px;font-weight:700;font-family:inherit;cursor:pointer;border-radius:7px}
.iv-zoom-label:hover{background:rgba(255,255,255,.08);color:#fff}
.iv-sep{width:1px;height:20px;background:rgba(255,255,255,.13);margin:0 2px;flex:0 0 auto}
.iv-size{font-size:9.5px;color:#8E8C85;white-space:nowrap;padding:0 4px}
.iv-download{background:linear-gradient(135deg,#6560E6,var(--n37-accent,#39FF8F));border-color:transparent;color:#fff!important;box-shadow:0 6px 16px rgba(57,255,143,.28)}
.iv-download:hover{background:linear-gradient(135deg,#736EF0,#6560E6)!important;color:#fff!important}
.iv-hint{position:fixed;left:50%;bottom:6px;transform:translateX(-50%);font-size:9.5px;color:rgba(255,255,255,.38);white-space:nowrap;z-index:10000}
#imgViewer.img-viewer-simple{padding:20px!important;cursor:zoom-out}
#imgViewer.img-viewer-simple #imgViewerImg{max-width:92vw;max-height:86vh;cursor:zoom-out;transform:none!important;transition:none!important}
#imgViewer.img-viewer-simple .iv-close,
#imgViewer.img-viewer-simple .iv-toolbar,
#imgViewer.img-viewer-simple .iv-hint{display:none!important}
@media(max-width:600px){
  #imgViewer{padding:48px 10px 88px!important}
  .iv-toolbar{bottom:16px;padding:5px;gap:2px}
  .iv-btn{padding:0 7px;gap:0}
  .iv-btn span{display:none}
  .iv-btn svg{width:16px;height:16px}
  .iv-close{top:12px;right:12px;width:34px;height:34px}
  .iv-size{display:none}
  .iv-sep{display:none}
  .iv-hint{bottom:4px}
}



.iv-btn.iv-ai{background:rgba(57,255,143,.14);border-color:rgba(57,255,143,.3);color:#D8D6FF}
.iv-btn.iv-ai:hover{background:rgba(57,255,143,.24);color:#fff}



/* AI 设计工具面板 */
.ai-tools-mask{position:fixed;inset:0;z-index:10010;background:rgba(8,9,11,.72);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px}
.ai-tools-panel{width:min(620px,94vw);max-height:88vh;overflow:auto;background:#17181C;border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:20px;color:#F2F1EC;box-shadow:0 30px 90px rgba(0,0,0,.55);animation:aiToolIn .22s ease both}
@keyframes aiToolIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.ai-tools-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.ai-tools-head b{display:block;font-size:18px;letter-spacing:.2px}
.ai-tools-head span{display:block;margin-top:3px;font-size:11.5px;color:#8E8C85}
.ai-tools-x{width:32px;height:32px;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:transparent;color:#B8B4AA;font-size:20px;line-height:1;cursor:pointer}
.ai-tools-x:hover{background:rgba(255,255,255,.08);color:#fff}
.ai-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ai-tool{text-align:left;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);border-radius:13px;padding:13px;color:#F2F1EC;cursor:pointer;font-family:inherit;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.ai-tool:hover{background:rgba(57,255,143,.12);border-color:rgba(57,255,143,.4);transform:translateY(-1px)}
.ai-tool-ico{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:rgba(57,255,143,.16);color:#C9C9FF;margin-bottom:9px}
.ai-tool-ico svg{width:16px;height:16px}
.ai-tool b{display:block;font-size:13.5px;font-weight:750}
.ai-tool em{display:block;margin-top:4px;font-style:normal;font-size:11px;line-height:1.55;color:#97948C}
.ai-tool-wide{grid-column:1/-1}
.ai-tools-note{margin:14px 0 0;font-size:10.5px;line-height:1.6;color:#7F7C75}
/* AI 文案结果 */
.ai-copy-mask{position:fixed;inset:0;z-index:10020;background:rgba(8,9,11,.6);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:20px}
.ai-copy-panel{width:min(560px,94vw);max-height:88vh;display:flex;flex-direction:column;background:#FFFDF9;color:#1F1D1A;border:1px solid #E7E2D8;border-radius:20px;box-shadow:0 30px 90px rgba(0,0,0,.35);overflow:hidden}
.ai-copy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 14px;border-bottom:1px solid #EEEAE2}
.ai-copy-head b{display:block;font-size:17px}
.ai-copy-head span{display:block;margin-top:3px;font-size:11px;color:#8E8A80}
.ai-copy-x{width:30px;height:30px;border:1px solid #E7E2D8;border-radius:50%;background:#FFFDF9;color:#6B665D;font-size:19px;line-height:1;cursor:pointer}
.ai-copy-body{padding:6px 20px 8px;overflow:auto}
.ai-copy-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:10px;align-items:start;padding:12px 0;border-bottom:1px dashed #EEEAE2}
.ai-copy-label{font-size:11px;font-weight:750;color:var(--n37-accent,#39FF8F);padding-top:2px}
.ai-copy-text{font-size:13px;line-height:1.7;white-space:pre-wrap;word-break:break-word}
.ai-copy-mini{border:1px solid #E7E2D8;background:#F7F4EE;color:#5F5A52;border-radius:7px;font-size:10.5px;padding:4px 8px;cursor:pointer;font-family:inherit;white-space:nowrap}
.ai-copy-mini:hover{border-color:#C9C5ED;color:var(--n37-accent,#39FF8F)}
.ai-copy-slogans{padding:12px 0 4px}
.ai-copy-slogan{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0 7px 64px;font-size:13px;line-height:1.5}
.ai-copy-slogan span{flex:1;min-width:0}
.ai-copy-foot{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px 18px;border-top:1px solid #EEEAE2;background:#FCFAF5}
.ai-copy-empty{padding:30px 0;text-align:center;font-size:13px;color:#8E8A80}
@media(max-width:600px){
  .ai-tools-panel{padding:16px}
  .ai-tools-grid{gap:8px}
  .ai-tool{padding:11px}
  .ai-tool b{font-size:12.5px}
  .ai-tool em{font-size:10.5px}
  .ai-copy-row{grid-template-columns:54px minmax(0,1fr) auto;gap:8px}
  .ai-copy-slogan{padding-left:54px}
  .ai-copy-head,.ai-copy-body,.ai-copy-foot{padding-left:15px;padding-right:15px}
}



/* 登录框：图标绝对定位，输入文字必须让出左侧空间 */
#loginBox .ml-input input{padding:0 14px 0 40px!important}
#loginBox .ml-input input#lg_pass{padding-right:44px!important}
#loginBox .ml-input > svg{pointer-events:none!important}
#loginBox .ml-pwd{right:8px!important}



/* 客户中心登录输入框：同样给左侧图标让位 */
#custCenterModal .cl-input input{padding:0 14px 0 35px!important}
#custCenterModal .cl-input:has(.cl-captcha-img) input{padding-right:12px!important}



/* 公共 AI 模板库 */
.dc-lib-mask{position:fixed;inset:0;z-index:10030;background:rgba(20,18,14,.55);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px}
.dc-lib-panel{width:min(980px,95vw);max-height:88vh;display:flex;flex-direction:column;background:#FFFDF9;border:1px solid #E7E2D8;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.3);overflow:hidden;animation:dcLibIn .22s ease both}
@keyframes dcLibIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
.dc-lib-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:20px 22px 14px;border-bottom:1px solid #EEEAE2}
.dc-lib-head b{display:block;font-size:18px;color:#1F1D1A;letter-spacing:-.01em}
.dc-lib-head span{display:block;margin-top:4px;font-size:11px;line-height:1.6;color:#8E8A80}
.dc-lib-x{width:32px;height:32px;border:1px solid #E7E2D8;border-radius:50%;background:#FFFDF9;color:#6B665D;font-size:20px;line-height:1;cursor:pointer}
.dc-lib-x:hover{background:#F7F4EE;color:#1F1D1A}
.dc-lib-tabs{display:flex;gap:4px;padding:12px 22px 0;background:#FCFAF5}
.dc-lib-tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:9px 12px;font-family:inherit;font-size:12px;font-weight:700;color:#8E8A80;cursor:pointer}
.dc-lib-tab em{font-style:normal;font-size:10px;font-weight:600;color:#A39E94;margin-left:3px}
.dc-lib-tab.active{border-bottom-color:var(--n37-accent,#39FF8F);color:var(--n37-accent,#39FF8F)}
.dc-lib-body{padding:16px 22px 22px;overflow:auto;background:#FCFAF5}
.dc-lib-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dc-lib-card{background:#FFFDF9;border:1px solid #E7E2D8;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:transform .16s,box-shadow .16s,border-color .16s}
.dc-lib-card:hover{transform:translateY(-2px);border-color:#C9C5ED;box-shadow:0 12px 26px rgba(57,255,143,.10)}
.dc-lib-cover{position:relative;height:118px;background:linear-gradient(135deg,#EEECFF,#F7F4EE);overflow:hidden;flex:0 0 auto}
.dc-lib-cover img{width:100%;height:100%;object-fit:cover;display:block}
.dc-lib-cat{position:absolute;left:8px;top:8px;background:rgba(20,18,14,.62);color:#fff;font-size:9px;font-weight:700;padding:3px 7px;border-radius:999px;backdrop-filter:blur(4px)}
.dc-lib-copy{padding:10px 11px 0;flex:1 1 auto;min-width:0}
.dc-lib-copy b{display:block;font-size:12.5px;color:#1F1D1A;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dc-lib-copy p{margin:5px 0 0;font-size:10.5px;line-height:1.55;color:#8E8A80;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dc-lib-actions{display:flex;gap:6px;padding:10px 11px 11px}
.dc-lib-actions .btn{flex:1;justify-content:center;height:29px;padding:0 6px;font-size:10.5px;white-space:nowrap}
.dc-lib-empty{padding:50px 20px;text-align:center;font-size:12px;color:#8E8A80}
@media(max-width:800px){.dc-lib-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-lib-panel{max-height:92vh}.dc-lib-head{padding:16px 16px 12px}.dc-lib-tabs{padding:10px 16px 0}.dc-lib-body{padding:12px 16px 18px}}
@media(max-width:480px){.dc-lib-mask{padding:10px}.dc-lib-panel{border-radius:18px}.dc-lib-grid{gap:9px}.dc-lib-cover{height:96px}.dc-lib-copy b{font-size:11.5px}.dc-lib-actions{flex-direction:column}.dc-lib-actions .btn{width:100%}}



/* 提示词标题行：AI 优化按钮右上角 */
.field > span.dc-prompt-head{display:flex!important;align-items:center;justify-content:space-between!important;gap:10px!important;width:100%!important;min-width:0!important}
.dc-prompt-head > span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dc-prompt-head .dc-polish{height:26px!important;padding:0 9px!important;font-size:10.5px!important;border-radius:7px!important;flex:0 0 auto!important;white-space:nowrap!important;line-height:1!important}
@media(max-width:480px){.dc-prompt-head .dc-polish{height:24px!important;padding:0 7px!important;font-size:10px!important}}



.dc-lib-cover-prompt{background:linear-gradient(135deg,#17181C,#252433);display:flex;align-items:center;justify-content:center}
.dc-lib-prompt-mark{font-size:13px;font-weight:800;letter-spacing:.22em;color:rgba(201,201,255,.55)}



/* 设计中心：模板选择 + 公共库工具条 */
.dc-src-bar{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;margin-top:2px!important;min-width:0!important}
.dc-src-select{flex:1 1 auto!important;min-width:0!important;width:auto!important;height:34px!important;padding:0 30px 0 11px!important;border:1px solid var(--border,#E7E2D8)!important;border-radius:9px!important;background-color:var(--input-bg,#FFFDF9)!important;color:var(--text,#1F1D1A)!important;font-size:12px!important;font-family:inherit!important;appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238E8A80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 9px center!important;text-overflow:ellipsis!important;white-space:nowrap!important;outline:none!important}
.dc-src-select:focus{border-color:var(--n37-accent,#39FF8F)!important;box-shadow:0 0 0 3px rgba(57,255,143,.10)!important}
.dc-src-actions{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important}
.dc-src-btn{height:34px!important;padding:0 9px!important;border:1px solid #DDD9FA!important;border-radius:9px!important;background:#F4F2FF!important;color:var(--n37-accent,#2BE07C)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;font-family:inherit!important;font-size:11px!important;font-weight:700!important;cursor:pointer!important;white-space:nowrap!important;transition:background .16s,border-color .16s,transform .16s!important}
.dc-src-btn:hover{background:#ECE9FF!important;border-color:#C9C5ED!important;transform:translateY(-1px)}
.dc-src-btn:active{transform:translateY(0)}
.dc-src-btn svg{width:13px!important;height:13px!important;flex:0 0 auto!important}
.dc-src-btn-prompt{border-color:#E7D9C7!important;background:#FBF5EA!important;color:#9A6B2F!important}
.dc-src-btn-prompt:hover{background:#F6EBD9!important;border-color:#DEC9A8!important}
@media(max-width:430px){.dc-src-actions{gap:4px!important}.dc-src-btn{padding:0 7px!important;font-size:10.5px!important}.dc-src-select{font-size:11.5px!important}}



/* 设计中心模板下拉：用 ID 权重覆盖后台/全局输入框规则 */
#dcT2I_tpls,#dcI2I_tpls{height:34px!important;min-height:34px!important;padding:0 30px 0 11px!important;border:1px solid var(--border,#E7E2D8)!important;border-radius:9px!important;background-color:var(--input-bg,#FFFDF9)!important;color:var(--text,#1F1D1A)!important;font-size:12px!important;font-family:inherit!important;appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238E8A80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 9px center!important;text-overflow:ellipsis!important;white-space:nowrap!important;outline:none!important}
#dcT2I_tpls:focus,#dcI2I_tpls:focus{border-color:var(--n37-accent,#39FF8F)!important;box-shadow:0 0 0 3px rgba(57,255,143,.10)!important}



/* AI 优化提示词：更醒目的品牌紫渐变小按钮 */
.dc-prompt-head .dc-polish{
  height:28px!important;min-height:28px!important;padding:0 10px!important;
  border:1px solid #D6D1FF!important;border-radius:999px!important;
  background:linear-gradient(135deg,#F1EEFF,#E7E3FF)!important;
  color:var(--n37-accent,#2BE07C)!important;font-family:inherit!important;font-size:10.5px!important;font-weight:750!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  cursor:pointer!important;white-space:nowrap!important;flex:0 0 auto!important;
  box-shadow:0 2px 8px rgba(57,255,143,.12)!important;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.dc-prompt-head .dc-polish svg{width:12px!important;height:12px!important;color:var(--n37-accent,#39FF8F)!important;flex:0 0 auto!important}
.dc-prompt-head .dc-polish:hover{background:linear-gradient(135deg,#E9E5FF,#DDD8FF)!important;border-color:#C4BFFF!important;transform:translateY(-1px)!important;box-shadow:0 5px 14px rgba(57,255,143,.20)!important}
.dc-prompt-head .dc-polish:active{transform:translateY(0)!important}
.dc-prompt-head .dc-polish:disabled{opacity:.65!important;cursor:wait!important;transform:none!important;box-shadow:none!important}
.dc-polish-loading{display:inline-flex;align-items:center;gap:4px}
.dc-polish-loading::before{content:"";width:8px;height:8px;border:1.5px solid rgba(57,255,143,.28);border-top-color:var(--n37-accent,#39FF8F);border-radius:50%;animation:dcPolishSpin .7s linear infinite}
@keyframes dcPolishSpin{to{transform:rotate(360deg)}}
@media(max-width:430px){.dc-prompt-head .dc-polish{height:26px!important;min-height:26px!important;padding:0 8px!important;font-size:10px!important}.dc-prompt-head .dc-polish svg{width:11px!important;height:11px!important}}



/* 首页案例 / 评价：参考 WorksHub 的无限横向滚动 */
.marquee-wrap{position:relative;width:100%;overflow:hidden;padding:4px 0 6px;--mq-gap:14px;--mq-speed:58s;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%)}
.marquee-reviews{--mq-speed:66s}
.marquee-track{display:flex!important;width:max-content!important;grid-template-columns:none!important;gap:0!important;animation:mqScroll var(--mq-speed) linear infinite!important;will-change:transform}
.marquee-group{display:flex;align-items:stretch;gap:var(--mq-gap);padding-right:var(--mq-gap);flex:0 0 auto}
.marquee-wrap:hover .marquee-track,.marquee-wrap:focus-within .marquee-track{animation-play-state:paused!important}
.marquee-cases .case-card{width:310px!important;min-width:310px!important;height:200px!important;flex:0 0 310px!important;border-radius:15px!important;overflow:hidden!important;cursor:pointer}
.marquee-reviews .review-card{width:310px!important;min-width:310px!important;flex:0 0 310px!important;height:auto!important;min-height:180px!important;display:flex!important;flex-direction:column!important}
.marquee-track .skel{width:310px!important;min-width:310px!important;flex:0 0 310px!important;height:200px!important}
.marquee-track .review-empty{flex:1 0 100%;width:100%!important;min-height:150px;display:flex;align-items:center;justify-content:center}
.marquee-cases .case-card img.case-img{transition:transform .55s cubic-bezier(.22,1,.36,1)}
.marquee-cases .case-card:hover img.case-img{transform:scale(1.055)}
.marquee-reviews .review-card:hover{border-color:rgba(57,255,143,.55)!important}
@keyframes mqScroll{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@media(max-width:1024px){.marquee-cases .case-card,.marquee-reviews .review-card,.marquee-track .skel{width:280px!important;min-width:280px!important;flex-basis:280px!important}.marquee-wrap{--mq-gap:12px}}
@media(max-width:640px){.marquee-cases .case-card{width:min(76vw,280px)!important;min-width:min(76vw,280px)!important;flex-basis:min(76vw,280px)!important;height:180px!important}.marquee-reviews .review-card{width:min(82vw,300px)!important;min-width:min(82vw,300px)!important;flex-basis:min(82vw,300px)!important}.marquee-wrap{--mq-gap:10px;--mq-speed:48s}.marquee-reviews{--mq-speed:54s}}
@media(prefers-reduced-motion:reduce){
  .marquee-wrap{-webkit-mask-image:none;mask-image:none;overflow-x:auto;scrollbar-width:none}
  .marquee-wrap::-webkit-scrollbar{display:none}
  .marquee-track{animation:none!important;width:max-content!important}
  .marquee-group:nth-child(2){display:none}
}



.wm-logo-upload{position:relative}
.wm-upload-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:10px;line-height:1.35;color:#8E8A80;pointer-events:none;text-align:center;padding:0 6px}
.wm-settings-card .settings-img-upload img{object-fit:contain}



/* 生图水印：左右排版 */
.wm-settings-card .wm-layout{display:grid;grid-template-columns:minmax(0,1fr) 236px;gap:22px;align-items:start;margin:2px 0 4px}
.wm-settings-card .wm-text-col{min-width:0}
.wm-settings-card .wm-logo-col{min-width:0;padding-left:20px;border-left:1px solid var(--border,#E7E2D8)}
.wm-settings-card .wm-col-label{display:block;font-size:12px;font-weight:650;color:#4D4942;margin-bottom:6px}
.wm-settings-card .wm-logo-col .settings-img-row{gap:10px}
.wm-settings-card .wm-logo-col .ds-hint{font-size:10.5px;line-height:1.55;color:#8E8A80}
@media(max-width:680px){
  .wm-settings-card .wm-layout{grid-template-columns:1fr;gap:14px}
  .wm-settings-card .wm-logo-col{padding-left:0;border-left:0;border-top:1px solid var(--border,#E7E2D8);padding-top:14px}
}



/* 网站设置：桌面双列，水印 + 基本信息并排，门店卡整行 */
@media(min-width:1001px){
  #tabSettings .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;align-items:start!important}
  #tabSettings .wm-settings-card{grid-column:auto!important}
  #tabSettings .basic-info-card{grid-column:auto!important}
  #tabSettings .store-location-card{grid-column:1/-1!important}
}
/* 半宽水印卡内，文字与 Logo 仍保持左右，但 Logo 列略收窄 */
@media(min-width:1001px){
  #tabSettings .wm-settings-card .wm-layout{grid-template-columns:minmax(0,1fr) 200px!important;gap:16px!important}
  #tabSettings .wm-settings-card .wm-logo-col{padding-left:16px!important}
}



/* 网站设置：基本信息在左，水印在右；门店卡最后整行 */
#tabSettings .basic-info-card{order:1!important}
#tabSettings .wm-settings-card{order:2!important}
#tabSettings .store-location-card{order:3!important}



/* 生图水印卡：标题/开关一行，文字与Logo分区，底部保存 */
.wm-settings-card{padding:20px 22px!important}
.wm-settings-card .wm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #EEEAE2;padding-bottom:13px}
.wm-settings-card .wm-head .settings-card-title{border-bottom:0;padding-bottom:0;margin:0;font-size:16px}
.wm-settings-card .wm-head .ds-hint{margin:5px 0 0;max-width:36ch;font-size:10.5px;line-height:1.6}
.wm-switch{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;cursor:pointer;user-select:none;margin-top:2px}
.wm-switch input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.wm-switch > span{width:36px;height:20px;border-radius:999px;background:#DED9CE;position:relative;transition:background .18s ease;flex:0 0 auto}
.wm-switch > span::after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:transform .18s cubic-bezier(.22,1,.36,1)}
.wm-switch input:checked + span{background:var(--n37-accent,#39FF8F)}
.wm-switch input:checked + span::after{transform:translateX(16px)}
.wm-switch input:focus-visible + span{box-shadow:0 0 0 3px rgba(57,255,143,.16)}
.wm-switch em{font-style:normal;font-size:10.5px;font-weight:650;color:#6B665D;white-space:nowrap}
.wm-settings-card .wm-panel-grid{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:18px;align-items:start;margin-top:15px}
.wm-settings-card .wm-panel-text{min-width:0}
.wm-settings-card .wm-panel-logo{min-width:0;padding-left:16px;border-left:1px solid #EEEAE2;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.wm-settings-card .wm-col-label{font-size:10.5px;font-weight:750;letter-spacing:.04em;color:#6B665D}
.wm-settings-card .wm-panel-logo .settings-img-upload{width:78px!important;height:58px!important}
.wm-settings-card .wm-panel-logo .ds-hint{font-size:9.5px;line-height:1.45;margin:0;color:#9A958C}
.wm-settings-card .wm-actions{display:flex;align-items:center;gap:10px;border-top:1px solid #EEEAE2;padding-top:13px;margin-top:15px}
.wm-settings-card .wm-actions .btn{height:34px;padding:0 14px}
@media(max-width:560px){
  .wm-settings-card{padding:16px!important}
  .wm-settings-card .wm-head{gap:10px;padding-bottom:12px}
  .wm-settings-card .wm-head .ds-hint{max-width:none;font-size:10px}
  .wm-settings-card .wm-panel-grid{grid-template-columns:1fr;gap:13px;margin-top:13px}
  .wm-settings-card .wm-panel-logo{padding-left:0;border-left:0;border-top:1px solid #EEEAE2;padding-top:12px;display:grid;grid-template-columns:78px minmax(0,1fr);grid-template-areas:"label label" "upload hint";align-items:center;column-gap:12px;row-gap:5px}
  .wm-settings-card .wm-col-label{grid-area:label}
  .wm-settings-card .wm-panel-logo .settings-img-upload{grid-area:upload}
  .wm-settings-card .wm-panel-logo .ds-hint{grid-area:hint}
}



/* ===== 首页流程 / 功能卡：布局与可见性兜底 ===== */
/* 流程与功能卡不做延迟隐藏，避免滚动观察器失效时整块消失 */
html.motion-ready .v5-step.motion-reveal,
html.motion-ready .v5-bcard.motion-reveal,
html.motion-ready .v5-hoard.motion-reveal {
  opacity:1!important; transform:none!important; filter:none!important;
}
/* 中间宽度：标题与说明改上下排，避免右侧被挤空 */
@media (max-width:760px){
  body:not(.admin-mode) .v5-sec-head{flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important}
  body:not(.admin-mode) .v5-desc{max-width:none!important;text-align:left!important}
}
/* 旧内核/嵌入式浏览器不支持 grid 时的降级 */
@supports not (display:grid){
  body:not(.admin-mode) .v5-steps{display:flex!important;flex-wrap:wrap!important}
  body:not(.admin-mode) .v5-step{flex:1 1 220px;min-width:0;border-right:0!important;border-bottom:1px solid var(--line)!important;padding:22px 16px 22px 0!important}
  body:not(.admin-mode) .v5-bento{display:flex!important;flex-wrap:wrap!important}
  body:not(.admin-mode) .v5-bcard{flex:1 1 300px;min-width:0}
}
/* 打印/另存 PDF 时强制显示全部内容 */
@media print{
  html.motion-ready .motion-reveal{opacity:1!important;transform:none!important;filter:none!important}
  body:not(.admin-mode) .v5-sec-head{display:block!important}
  body:not(.admin-mode) .v5-desc{margin-top:8px!important;max-width:none!important}
  body:not(.admin-mode) .v5-steps{display:grid!important;grid-template-columns:repeat(4,1fr)!important}
  body:not(.admin-mode) .v5-step{break-inside:avoid;border-right:0!important}
  body:not(.admin-mode) .v5-bento{display:grid!important;grid-template-columns:repeat(2,1fr)!important}
  body:not(.admin-mode) .v5-bcard{break-inside:avoid}
}



/* 商户后台手机端：保留顶部菜单（AI设计中心 / 案例 / 客户中心等） */
@media(max-width:768px){
  body.admin-mode .topbar .wrap{
    height:auto!important;
    min-height:56px!important;
    padding-top:8px!important;
    padding-bottom:5px!important;
    flex-wrap:wrap!important;
    row-gap:4px!important;
  }
  body.admin-mode .topbar .brand{order:1!important;flex:0 1 auto!important}
  body.admin-mode #adminMenuBtn{order:2!important;margin-right:0!important;flex:0 0 auto!important}
  body.admin-mode .topbar .top-actions{order:3!important;margin-left:auto!important;flex:0 0 auto!important}
  body.admin-mode .topbar .top-nav{
    display:flex!important;
    order:4!important;
    flex:0 0 100%!important;
    width:100%!important;
    margin:0!important;
    padding:3px 0 0!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    gap:3px!important;
    scrollbar-width:none!important;
    border-top:1px solid rgba(120,120,120,.12)!important;
  }
  body.admin-mode .topbar .top-nav::-webkit-scrollbar{display:none!important}
  body.admin-mode .topbar .top-nav a{
    flex:0 0 auto!important;
    height:31px!important;
    padding:0 9px!important;
    font-size:11.5px!important;
    border-radius:6px!important;
  }
  body.admin-mode .topbar .top-nav a svg{display:none!important}
  body.admin-mode .topbar .top-nav .active{background:rgba(57,255,143,.10)!important}
}
/* 客户版：顶部菜单始终保留 */
body.customer-app-mode .topbar{display:block!important}
body.customer-app-mode .topbar .top-nav{display:flex!important}
@media(max-width:768px){
  body.customer-app-mode .topbar .wrap{height:auto!important;min-height:56px!important;flex-wrap:wrap!important;padding-top:7px!important;padding-bottom:5px!important;row-gap:4px!important}
  body.customer-app-mode .topbar .brand{order:1!important}
  body.customer-app-mode .topbar .top-actions{order:2!important;margin-left:auto!important}
  body.customer-app-mode .topbar .top-nav{display:flex!important;order:3!important;flex:0 0 100%!important;width:100%!important;margin:0!important;padding:2px 0 0!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:3px!important;border-top:1px solid rgba(120,120,120,.12)!important;scrollbar-width:none!important}
  body.customer-app-mode .topbar .top-nav::-webkit-scrollbar{display:none!important}
  body.customer-app-mode .topbar .top-nav a{flex:0 0 auto!important;height:31px!important;padding:0 9px!important;font-size:11.5px!important;border-radius:6px!important}
  body.customer-app-mode .topbar .top-nav a svg{display:none!important}
}



/* Windows 桌面端 / 后台：顶部菜单和平台页脚统一显示 */
body.admin-mode #siteFooter,
body.customer-app-mode #siteFooter,
body.admin-mode.mobile-nav-open #siteFooter{display:block!important}
body.admin-mode #siteFooter{margin-top:18px!important;border-top:1px solid var(--border,#e7e2d8)!important;background:var(--card,#fff)!important}
body.customer-app-mode #siteFooter{margin-top:8px!important}
@media(min-width:769px){
  body.admin-mode .topbar .top-nav{
    display:flex!important;
    align-items:center!important;
    gap:2px!important;
    margin-left:8px!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    scrollbar-width:none!important;
  }
  body.admin-mode .topbar .top-nav::-webkit-scrollbar{display:none!important}
  body.admin-mode .topbar .top-nav a{
    height:34px!important;
    padding:0 10px!important;
    border-radius:7px!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:6px!important;
    flex:0 0 auto!important;
    font-size:12.5px!important;
    font-weight:650!important;
    color:#475467!important;
    text-decoration:none!important;
  }
  body.admin-mode .topbar .top-nav a:hover{background:#f4f5f9!important;color:#17181c!important}
  body.admin-mode .topbar .top-nav a.active{background:rgba(57,255,143,.10)!important;color:var(--n37-accent,#39FF8F)!important}
  body.admin-mode .topbar .top-nav a svg{width:15px!important;height:15px!important;display:inline-block!important}
}



/* 深色主题：底部客户导航、流程卡、后台侧栏统一深色，避免白块 */
html[data-theme="original"] .customer-tabbar,
html[data-theme="neon"] .customer-tabbar{
  background: var(--topbar-bg, rgba(15,23,42,.96))!important;
  border-top-color: var(--border)!important;
  box-shadow: 0 -10px 30px rgba(0,0,0,.42)!important;
  backdrop-filter: blur(18px)!important;
  -webkit-backdrop-filter: blur(18px)!important;
}
html[data-theme="original"] .customer-tabbar button,
html[data-theme="neon"] .customer-tabbar button{color: var(--text-muted)!important}
html[data-theme="original"] .customer-tabbar button.active,
html[data-theme="neon"] .customer-tabbar button.active{color: var(--primary)!important}
html[data-theme="original"] .customer-tabbar button.active svg,
html[data-theme="neon"] .customer-tabbar button.active svg{stroke: var(--primary)!important}
html[data-theme="original"] .v5-step,
html[data-theme="neon"] .v5-step{
  background: var(--glass-bg)!important;
  border-color: var(--border)!important;
}
html[data-theme="original"] .admin-side .tabs,
html[data-theme="neon"] .admin-side .tabs,
html[data-theme="original"] .admin-side-title,
html[data-theme="neon"] .admin-side-title{
  background: var(--glass-bg)!important;
  border-color: var(--border)!important;
}
/* 登录后手机端始终保留后台菜单按钮（返回首页后仍可重新进入后台） */
@media(max-width:768px){
  body.has-auth #adminMenuBtn{display:inline-flex!important}
}



/* 版式 B：深色页面内的流程卡与底部客户导航必须跟随深色，不再露白 */
body:not(.admin-mode)[data-layout="b"] .v5-step{
  background:#111214!important;
  border-color:#24252A!important;
}
body:not(.admin-mode)[data-layout="b"] .v5-step h3{color:#F4F3EF!important}
body:not(.admin-mode)[data-layout="b"] .v5-step p{color:#9C9A93!important}
body:not(.admin-mode)[data-layout="b"] .v5-step .n{color:#A5A6FF!important}
body:not(.admin-mode)[data-layout="b"] .v5-steps{border-top-color:rgba(255,255,255,.12)!important}
body:not(.admin-mode)[data-layout="b"] .customer-tabbar{
  background:rgba(8,9,10,.96)!important;
  border-top-color:rgba(255,255,255,.1)!important;
  box-shadow:0 -10px 30px rgba(0,0,0,.5)!important;
}
body:not(.admin-mode)[data-layout="b"] .customer-tabbar button{color:#8E8C85!important}
body:not(.admin-mode)[data-layout="b"] .customer-tabbar button.active{color:#A5A6FF!important}
body:not(.admin-mode)[data-layout="b"] .customer-tabbar button.active svg{stroke:#A5A6FF!important}
/* 深色主题（如启用）：同样使用实体深色，避免 tokens 的白色变量覆盖 */
html[data-theme="neon"] .v5-step{background:#2D0869!important;border-color:rgba(57,255,143,.18)!important}
html[data-theme="neon"] .v5-step h3{color:#F7F6F2!important}
html[data-theme="neon"] .v5-step p{color:#CDBBF5!important}
html[data-theme="original"] .v5-step{background:#111827!important;border-color:#243244!important}
html[data-theme="original"] .v5-step h3{color:#F8FAFC!important}
html[data-theme="original"] .v5-step p{color:#94A3B8!important}
html[data-theme="neon"] .customer-tabbar{background:rgba(30,4,70,.96)!important;border-top-color:rgba(57,255,143,.2)!important}
html[data-theme="original"] .customer-tabbar{background:rgba(15,23,42,.96)!important;border-top-color:rgba(255,255,255,.12)!important}
html[data-theme="neon"] .customer-tabbar button,html[data-theme="original"] .customer-tabbar button{color:#9C9A93!important}
html[data-theme="neon"] .customer-tabbar button.active,html[data-theme="original"] .customer-tabbar button.active{color:#A5A6FF!important}



/* 后台登录态也显示版式切换（Windows/Android/Web 三端共用） */
body.admin-mode #layoutToggle.layout-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:34px!important;
  min-width:34px!important;
  padding:0 10px!important;
  border:1px solid var(--border,#E7E2D8)!important;
  border-radius:8px!important;
  background:var(--btn-ghost-bg,#FFF)!important;
  color:var(--text-main,#17181C)!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
body.admin-mode #layoutToggle.layout-toggle:hover{
  border-color:var(--primary,var(--n37-accent,#39FF8F))!important;
  color:var(--primary,var(--n37-accent,#39FF8F))!important;
}
@media(max-width:768px){
  body.admin-mode #layoutToggle.layout-toggle{
    height:31px!important;
    padding:0 8px!important;
    font-size:11px!important;
    border-radius:7px!important;
  }
}



/* 前台滚动容器修正：body 不再成为 overflow 滚动容器，顶部导航保持吸顶 */
html{overflow-x:clip!important}
body:not(.admin-mode){overflow-x:clip!important;overflow-y:visible!important}
body.admin-mode.mobile-nav-open{overflow:hidden!important}
@media(max-width:768px){
  body:not(.admin-mode){overflow-x:clip!important}
}



@media(max-width:768px){
  body.has-auth .topbar .wrap{
    height:auto!important;min-height:56px!important;
    padding-top:8px!important;padding-bottom:6px!important;
    flex-wrap:wrap!important;row-gap:4px!important;
  }
  body.has-auth #adminMenuBtn{
    order:-1!important;
    flex:0 0 auto!important;
    margin:0 8px 0 0!important;
  }
  body.has-auth .topbar .brand{order:0!important;flex:0 0 auto!important}
  body.has-auth .topbar .top-actions{order:2!important;margin-left:auto!important;flex:0 0 auto!important}
  body.has-auth .topbar .top-nav{
    display:flex!important;
    order:3!important;
    flex:0 0 100%!important;
    width:100%!important;
    margin:0!important;
    padding:3px 0 0!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    gap:3px!important;
    scrollbar-width:none!important;
    border-top:1px solid rgba(120,120,120,.12)!important;
  }
  body.has-auth .topbar .top-nav::-webkit-scrollbar{display:none!important}
  body.has-auth .topbar .top-nav a{
    flex:0 0 auto!important;height:31px!important;padding:0 9px!important;
    font-size:11.5px!important;border-radius:6px!important;
  }
  body.has-auth .topbar .top-nav a svg{display:none!important}
}



/* 手机端充值订单：两列紧凑卡片，不再一条一列 */
@media(max-width:700px){
  #creditsOrderList.credits-order-list > table{display:block!important;border:0!important;background:transparent!important;margin:0!important;box-shadow:none!important}
  #creditsOrderList.credits-order-list > table > thead{display:none!important}
  #creditsOrderList.credits-order-list > table > tbody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  #creditsOrderList.credits-order-list tr{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;
    min-width:0!important;padding:9px!important;margin:0!important;background:var(--card,#fff)!important;
    border:1px solid var(--border,#E7E2D8)!important;border-radius:10px!important;box-shadow:none!important;
  }
  #creditsOrderList.credits-order-list td{
    display:flex!important;justify-content:space-between!important;align-items:flex-start!important;
    gap:5px!important;width:100%!important;padding:2px 0!important;border:0!important;
    text-align:right!important;font-size:11px!important;line-height:1.35!important;min-width:0!important;
  }
  #creditsOrderList.credits-order-list td::before{
    width:auto!important;flex:0 0 auto!important;padding:0!important;border:0!important;
    font-size:9.5px!important;line-height:1.4!important;color:var(--text-muted,#8E8A80)!important;
  }
  #creditsOrderList.credits-order-list td[data-label="订单"]{flex-direction:column!important;align-items:flex-start!important;gap:1px!important;padding-bottom:5px!important}
  #creditsOrderList.credits-order-list td[data-label="订单"]::before{display:none!important}
  #creditsOrderList.credits-order-list td[data-label="订单"] b{font-size:10.5px!important;word-break:break-all!important;text-align:left!important}
  #creditsOrderList.credits-order-list td[data-label="订单"] .prod-sub{font-size:9.5px!important;text-align:left!important}
  #creditsOrderList.credits-order-list td[data-label="操作"]{
    flex-direction:row!important;justify-content:flex-end!important;align-items:center!important;
    padding-top:5px!important;margin-top:3px!important;border-top:1px solid var(--border,#E7E2D8)!important;
  }
  #creditsOrderList.credits-order-list td[data-label="操作"]::before{display:none!important}
  #creditsOrderList.credits-order-list .btn{height:27px!important;padding:0 8px!important;font-size:10px!important;border-radius:6px!important}
  #dsOrderList{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
  }
  #dsOrderList .ds-row{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;
    min-width:0!important;padding:9px!important;margin:0!important;background:var(--card,#fff)!important;
    border:1px solid var(--border,#E7E2D8)!important;border-radius:10px!important;font-size:11px!important;line-height:1.35!important;
  }
  #dsOrderList .ds-row > span:first-child{font-size:9.5px!important;word-break:break-all!important;color:var(--text-muted,#8E8A80)!important}
  #dsOrderList .ds-row > b{font-size:12px!important}
  #dsOrderList .ds-row > span{font-size:11px!important}
  #dsOrderList .ds-row .tag{font-size:9px!important;padding:2px 5px!important}
  #dsOrderList .ds-row-actions{
    margin-left:0!important;width:100%!important;justify-content:flex-end!important;
    padding-top:5px!important;margin-top:3px!important;border-top:1px solid var(--border,#E7E2D8)!important;gap:5px!important;
  }
  #dsOrderList .ds-row-actions .btn{height:27px!important;padding:0 8px!important;font-size:10px!important;border-radius:6px!important}
}
@media(max-width:360px){
  #creditsOrderList.credits-order-list > table > tbody,#dsOrderList{grid-template-columns:1fr!important}
}



/* 手机端页脚：三行，不是三列 */
@media(max-width:768px){
  #footerLines .foot-grid{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:100%!important}
  #footerLines .foot-col{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:3px 12px!important;width:100%!important;padding:0!important;text-align:center!important}
  #footerLines .foot-col-info{border-left:0!important;border-right:0!important;padding:0!important;font-size:9.5px!important;color:var(--text-muted)!important;word-break:normal!important;overflow-wrap:normal!important}
  #footerLines .foot-col-info span,#footerLines .foot-col-info a{display:inline!important;max-width:none!important}
  #footerLines .foot-col-info .foot-sep{display:inline!important}
  #footerLines .foot-col-products a,#footerLines .foot-col-legal a{font-size:10.5px!important}
}
/* 手机端登录态顶部栏高度跟随菜单行，避免盖住页面内容 */
@media(max-width:768px){
  body.has-auth .topbar{height:auto!important;min-height:0!important;padding:0!important}
  body.has-auth .topbar .wrap{height:auto!important;min-height:56px!important}
  body.admin-mode .topbar{height:auto!important;min-height:0!important}
}



.creator-hero-wrap{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:42px;align-items:end}
.creator-hero-copy{min-width:0}
.creator-hero h1 em{font-style:normal;color:var(--n37-accent,#39FF8F)}
.creator-hero-panel{background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));border:1px solid rgba(57,255,143,.22);border-radius:18px;padding:20px 20px 18px;color:#fff;position:relative;overflow:hidden}
.creator-hero-panel:before{content:"";position:absolute;right:-70px;top:-90px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(57,255,143,.24),transparent 66%)}
.creator-panel-kicker{display:block;font-size:9px;letter-spacing:.16em;font-weight:850;color:var(--n37-accent,#39FF8F);margin-bottom:8px}
.creator-hero-panel>b{display:block;font-size:18px;line-height:1.45;letter-spacing:-.02em;margin-bottom:17px;max-width:280px}
.creator-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;position:relative;z-index:1}
.creator-stats div{border-top:1px solid rgba(255,255,255,.13);padding-top:10px}
.creator-stats span{display:block;font-size:10px;color:rgba(255,255,255,.48);margin-bottom:3px}
.creator-stats strong{font-size:24px;line-height:1;font-weight:900;letter-spacing:-.04em}
.creator-hero-panel small{display:block;font-size:10px;color:rgba(255,255,255,.44);margin-top:14px}
.creator-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px}
.creator-section-head span{display:block;font-size:9px;font-weight:850;letter-spacing:.17em;color:#1E9E68;margin-bottom:6px}
.creator-section-head h2{font-size:30px;line-height:1.1;letter-spacing:-.045em;margin:0;color:var(--text-main,#17181C)}
.creator-section-head p{font-size:12px;line-height:1.7;color:var(--text-muted,#746F64);margin:0;max-width:280px;text-align:right}
.creator-view{background:var(--bg-base,#F4F1EA)!important}
.creator-card{border-radius:14px!important;border-color:var(--border,#E7E2D8)!important;box-shadow:0 1px 0 rgba(17,17,16,.03)}
.creator-card-body{padding:13px 14px 14px!important}
.creator-card-title{font-size:14.5px!important;letter-spacing:-.015em}
.creator-card-price{font-size:13px!important}
.creator-chip{font-family:var(--font,sans-serif)}
.creator-empty{background:rgba(255,255,255,.5)}
@media(max-width:900px){
  .creator-hero-wrap{grid-template-columns:1fr!important;gap:24px!important;align-items:start}
  .creator-hero-panel{max-width:520px}
}
@media(max-width:600px){
  .creator-hero-wrap{gap:20px!important}
  .creator-hero-panel{padding:15px 14px!important;border-radius:14px!important}
  .creator-hero-panel>b{font-size:15px!important;margin-bottom:12px!important}
  .creator-stats strong{font-size:21px!important}
  .creator-section-head{align-items:flex-start!important;flex-direction:column!important;gap:6px!important;margin-bottom:14px!important}
  .creator-section-head h2{font-size:25px!important}
  .creator-section-head p{text-align:left!important;max-width:none!important;font-size:11.5px!important}
}



/* 手机端生图批发 / 短信额度套餐：两列紧凑 */
@media(max-width:700px){
  #wsPackages.pkg-grid,
  #smsWsPackages.pkg-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin-bottom:10px!important;
  }
  #wsPackages .pkg-card,
  #smsWsPackages .pkg-card{
    min-height:0!important;
    padding:10px 11px!important;
    border-radius:12px!important;
  }
  #wsPackages .pkg-card-top,
  #smsWsPackages .pkg-card-top{margin-bottom:5px!important}
  #wsPackages .pkg-tag,
  #smsWsPackages .pkg-tag{font-size:8.5px!important;padding:2px 5px!important}
  #wsPackages .pkg-arrow,
  #smsWsPackages .pkg-arrow{font-size:11px!important}
  #wsPackages .pkg-name,
  #smsWsPackages .pkg-name{font-size:11.5px!important;line-height:1.35!important;margin-bottom:5px!important}
  #wsPackages .pkg-amount,
  #smsWsPackages .pkg-amount{gap:3px!important;margin-bottom:7px!important}
  #wsPackages .pkg-amount b,
  #smsWsPackages .pkg-amount b{font-size:24px!important}
  #wsPackages .pkg-amount small,
  #smsWsPackages .pkg-amount small{font-size:9.5px!important}
  #wsPackages .pkg-price,
  #smsWsPackages .pkg-price{padding-top:7px!important;margin-bottom:7px!important}
  #wsPackages .pkg-price b,
  #smsWsPackages .pkg-price b{font-size:13px!important}
  #wsPackages .pkg-price small,
  #smsWsPackages .pkg-price small{font-size:9px!important}
  #wsPackages .pkg-card-foot,
  #smsWsPackages .pkg-card-foot{font-size:9.5px!important}
}
@media(max-width:360px){
  #wsPackages.pkg-grid,
  #smsWsPackages.pkg-grid{gap:6px!important}
  #wsPackages .pkg-card,
  #smsWsPackages .pkg-card{padding:8px 9px!important}
  #wsPackages .pkg-amount b,
  #smsWsPackages .pkg-amount b{font-size:21px!important}
}



/* 手机端页脚：两行。第一行公司/备案，第二行平台入口 */
@media(max-width:768px){
  #footerLines .foot-grid{
    display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
    align-items:center!important;justify-content:center!important;gap:5px 9px!important;width:100%!important;
  }
  #footerLines .foot-col-info{
    order:-1!important;flex:0 0 100%!important;width:100%!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;
    gap:0 5px!important;padding:0 0 5px!important;border:0!important;
    font-size:9.5px!important;line-height:1.55!important;color:var(--text-muted)!important;
    word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important;
  }
  #footerLines .foot-col-info span,#footerLines .foot-col-info a{display:inline!important;max-width:none!important}
  #footerLines .foot-col-info .foot-sep{display:inline!important;margin:0 2px!important}
  #footerLines .foot-col-products,
  #footerLines .foot-col-legal{display:contents!important}
  #footerLines .foot-col-products a,
  #footerLines .foot-col-legal a{
    display:inline-flex!important;font-size:10.5px!important;line-height:1.5!important;padding:0!important;white-space:nowrap!important;
  }
}
/* 创作中心：去掉荧光绿，统一主页暖白/墨黑/紫色 */
#viewCreator .creator-hero{
  background:radial-gradient(760px 430px at 78% -20%,rgba(57,255,143,.16),transparent 66%),var(--bg-base,#F4F1EA)!important;
  color:var(--text-main,#17181C)!important;
  border-bottom:1px solid var(--border,#E7E2D8)!important;
  padding:56px 0 44px!important;
}
#viewCreator .creator-hero:after{border-color:rgba(57,255,143,.14)!important;background:transparent!important}
#viewCreator .creator-kicker{color:var(--primary,var(--n37-accent,#39FF8F))!important}
#viewCreator .creator-hero h1{color:var(--text-main,#17181C)!important}
#viewCreator .creator-hero h1 em{color:var(--primary,var(--n37-accent,#39FF8F))!important}
#viewCreator .creator-hero p{color:var(--text-muted,#746F64)!important}
#viewCreator .creator-hero-meta{color:var(--text-muted,#746F64)!important}
#viewCreator .creator-hero-link{color:var(--primary,var(--n37-accent,#39FF8F))!important}
#viewCreator .creator-hero-panel{
  background:var(--surface,#FFFDF9)!important;
  border:1px solid var(--border,#E7E2D8)!important;
  box-shadow:0 18px 46px rgba(32,28,22,.08)!important;
  color:var(--text-main,#17181C)!important;
}
#viewCreator .creator-hero-panel:before{background:radial-gradient(circle,rgba(57,255,143,.13),transparent 66%)!important}
#viewCreator .creator-panel-kicker{color:var(--primary,var(--n37-accent,#39FF8F))!important}
#viewCreator .creator-hero-panel>b{color:var(--text-main,#17181C)!important}
#viewCreator .creator-stats div{border-top-color:var(--border,#E7E2D8)!important}
#viewCreator .creator-stats span{color:var(--text-muted,#746F64)!important}
#viewCreator .creator-stats strong{color:var(--text-main,#17181C)!important}
#viewCreator .creator-hero-panel small{color:var(--text-muted,#746F64)!important}
#viewCreator .creator-section-head span{color:var(--primary,var(--n37-accent,#39FF8F))!important}
#viewCreator .creator-chip.active{background:var(--primary,var(--n37-accent,#39FF8F))!important;border-color:var(--primary,var(--n37-accent,#39FF8F))!important;color:#fff!important}
#viewCreator .creator-card-btn.mine{background:var(--text-main,#17181C)!important;color:#fff!important}
#viewCreator .creator-card-price{color:var(--primary,var(--n37-accent,#39FF8F))!important}



@media(max-width:768px){
  #footerLines .foot-grid{
    display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
    align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;
  }
  #footerLines .foot-col{
    display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
    align-items:center!important;justify-content:center!important;
    flex:0 0 100%!important;width:100%!important;gap:3px 10px!important;
    padding:0!important;border:0!important;text-align:center!important;
  }
  #footerLines .foot-col-info{
    order:-1!important;flex:0 0 100%!important;width:100%!important;
    font-size:9.5px!important;line-height:1.55!important;color:var(--text-muted)!important;
    border:0!important;padding:0!important;white-space:normal!important;
  }
  #footerLines .foot-col-info span,#footerLines .foot-col-info a{display:inline!important;max-width:none!important}
  #footerLines .foot-col-info .foot-sep{display:inline!important;margin:0 2px!important}
  #footerLines .foot-col-products{order:0!important;display:flex!important;flex:0 0 100%!important}
  #footerLines .foot-col-legal{order:1!important;display:flex!important;flex:0 0 100%!important}
  #footerLines .foot-col-products a,
  #footerLines .foot-col-legal a{
    display:inline-flex!important;font-size:10.5px!important;line-height:1.55!important;
    padding:0!important;white-space:nowrap!important;
  }
}



.creator-earnings-card{width:min(620px,100%)!important}
.creator-earnings-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.creator-earnings-stats div{border:1px solid var(--border,#E7E2D8);border-radius:10px;padding:10px;background:var(--bg-sunken,#F4F0EA)}
.creator-earnings-stats span{display:block;font-size:10px;color:var(--text-muted,#746F64);margin-bottom:4px}
.creator-earnings-stats strong{font-size:18px;color:var(--primary,var(--n37-accent,#39FF8F));line-height:1.1}
.creator-earnings-list{display:flex;flex-direction:column;gap:7px;max-height:420px;overflow:auto}
.creator-earnings-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;border-bottom:1px solid var(--border,#E7E2D8);padding:9px 0;font-size:12px}
.creator-earnings-row:last-child{border-bottom:0}
.creator-earnings-row b{display:block;font-size:12px;line-height:1.4}
.creator-earnings-row small{display:block;font-size:9.5px;color:var(--text-muted,#746F64);margin-top:2px}
.creator-earnings-row>div:last-child{text-align:right;flex:0 0 auto}
.creator-earnings-row>div:last-child b{color:#159A6B}
@media(max-width:600px){.creator-earnings-stats{grid-template-columns:1fr 1fr}.creator-earnings-stats div:last-child{grid-column:1/-1}}



/* 商户后台登录页：统一为首页暖白/墨黑/紫色 */
html body #loginBox .ml-card{border-color:#E7E2D8!important;background:#FFFDF9!important;box-shadow:0 26px 80px rgba(32,28,22,.10)!important}
html body #loginBox .ml-brand{
  background:radial-gradient(560px 320px at 90% 4%,rgba(57,255,143,.16),transparent 66%),radial-gradient(420px 300px at 5% 96%,rgba(57,255,143,.07),transparent 64%),linear-gradient(155deg,#F2EFFB,#FFFDF9 65%)!important;
  color:#111110!important;border-right:1px solid #E7E2D8!important
}
html body #loginBox .ml-brand::before{background-image:radial-gradient(rgba(57,255,143,.16) 1px,transparent 1px)!important;opacity:.22!important}
html body #loginBox .ml-brand-top b{color:#111110!important;font-size:15px!important}
html body #loginBox .ml-brand-top span{color:#746F64!important;font-size:9px!important;letter-spacing:.16em!important}
html body #loginBox .ml-logo{background:#fff!important;border:1px solid #E7E2D8!important;box-shadow:0 8px 20px rgba(32,28,22,.06)!important}
html body #loginBox .ml-eyebrow{color:var(--n37-accent,#39FF8F)!important}
html body #loginBox .ml-eyebrow i{background:var(--n37-accent,#39FF8F)!important;box-shadow:0 0 0 4px rgba(57,255,143,.12)!important}
html body #loginBox .ml-brand-main h2{color:#111110!important}
html body #loginBox .ml-brand-main h2 em{color:var(--n37-accent,#39FF8F)!important;font-style:normal!important}
html body #loginBox .ml-brand-main p{color:#746F64!important}
html body #loginBox .ml-feature{background:#FFFDF9!important;border:1px solid #E7E2D8!important;color:#3B3831!important;box-shadow:0 2px 8px rgba(32,28,22,.03)!important}
html body #loginBox .ml-feature svg{color:var(--n37-accent,#39FF8F)!important}
html body #loginBox .ml-brand-foot{color:#8E887B!important;border-top:1px solid #E7E2D8!important}
html body #loginBox .ml-panel{background:#FFFDF9!important}
html body #loginBox .ml-head .ml-eyebrow.dark{color:var(--n37-accent,#39FF8F)!important}
html body #loginBox .ml-head .ml-eyebrow.dark i{background:var(--n37-accent,#39FF8F)!important}
html body #loginBox .ml-head h2{color:#111110!important}
html body #loginBox .ml-head p{color:#746F64!important}
html body #loginBox .ml-field span{color:#3B3831!important}
html body #loginBox .ml-field small{color:#8E887B!important}
html body #loginBox .ml-input{background:#fff!important;border-color:#E7E2D8!important}
html body #loginBox .ml-input input{color:#111110!important;background:transparent!important}
html body #loginBox .ml-input svg{color:#8E887B!important}
html body #loginBox #lgBtn{background:var(--n37-accent,#39FF8F)!important;border-color:var(--n37-accent,#39FF8F)!important;color:#fff!important;box-shadow:0 8px 20px rgba(57,255,143,.18)!important}
html body #loginBox #lgBtn:hover{background:var(--n37-accent,#2BE07C)!important;border-color:var(--n37-accent,#2BE07C)!important}
html body #loginBox .ml-links a,html body #loginBox a{color:var(--n37-accent,#39FF8F)!important}
html body #loginBox .ml-note{color:#8E887B!important}



/* 商户后台外壳：统一暖白/墨黑/紫色 */
body.admin-mode #adminPanel .admin-side{background:transparent!important}
body.admin-mode #adminPanel .admin-side-brand{background:#FFFDF9!important;border:1px solid #E7E2D8!important;border-bottom:0!important;color:#111110!important}
body.admin-mode #adminPanel .admin-side-brand b{color:#111110!important}
body.admin-mode #adminPanel .admin-side-brand span{color:#746F64!important}
body.admin-mode #adminPanel .admin-side-title{background:#FFFDF9!important;border-color:#E7E2D8!important;color:#8E887B!important}
body.admin-mode #adminPanel .admin-side .tabs{background:#FFFDF9!important;border:1px solid #E7E2D8!important;border-top:0!important;box-shadow:0 6px 24px rgba(32,28,22,.045)!important}
body.admin-mode #adminPanel .admin-side .tabs .tab-group-label{color:#8E887B!important}
body.admin-mode #adminPanel .admin-side .tabs .tab{color:#56534A!important;border-left-color:transparent!important}
body.admin-mode #adminPanel .admin-side .tabs .tab:hover{background:#F7F4ED!important;color:#111110!important}
body.admin-mode #adminPanel .admin-side .tabs .tab.active{background:#F0EFFC!important;color:var(--n37-accent,#39FF8F)!important;border-left-color:var(--n37-accent,#39FF8F)!important}
body.admin-mode #adminPanel .admin-side .tabs .tab.active span{color:var(--n37-accent,#39FF8F)!important}
body.admin-mode #adminPanel .admin-side .tabs .tab svg{color:currentColor!important}
body.admin-mode #adminPanel .admin-main{color:#111110!important}
body.admin-mode #adminPanel .admin-page-title{color:#111110!important}
body.admin-mode #adminPanel .admin-page-desc{color:#746F64!important}



/* 商户后台左侧菜单：固定深色，不随版式/主题切换变浅 */
body.admin-mode #adminPanel .admin-side-brand,
body.admin-mode #adminPanel .admin-side-title,
body.admin-mode #adminPanel .admin-side .tabs,
html[data-theme] body.admin-mode #adminPanel .admin-side-brand,
html[data-theme] body.admin-mode #adminPanel .admin-side-title,
html[data-theme] body.admin-mode #adminPanel .admin-side .tabs{
  background:#111110!important;
  border-color:#26241F!important;
  color:#F5F3EC!important;
  box-shadow:none!important;
}
body.admin-mode #adminPanel .admin-side-brand{border:1px solid #26241F!important;border-bottom:0!important;border-radius:14px 14px 0 0!important}
body.admin-mode #adminPanel .admin-side-title{border-left:1px solid #26241F!important;border-right:1px solid #26241F!important;border-top:0!important;border-bottom:0!important;color:#8E887B!important}
body.admin-mode #adminPanel .admin-side .tabs{border:1px solid #26241F!important;border-top:0!important;border-radius:0 0 14px 14px!important}
body.admin-mode #adminPanel .admin-side-brand b{color:#F7F6F2!important}
body.admin-mode #adminPanel .admin-side-brand span{color:#9C9A93!important}
body.admin-mode #adminPanel .admin-side .tabs .tab-group-label,
body.admin-mode #adminPanel .admin-side .tabs .ga{color:#74716A!important}
body.admin-mode #adminPanel .admin-side .tabs .tab{
  color:#B9B7AF!important;background:transparent!important;border-left:3px solid transparent!important;
}
body.admin-mode #adminPanel .admin-side .tabs .tab:hover{background:rgba(255,255,255,.065)!important;color:#F7F6F2!important}
body.admin-mode #adminPanel .admin-side .tabs .tab.active{
  background:rgba(57,255,143,.20)!important;color:#D8D7FF!important;border-left-color:#8B8CF6!important;font-weight:750!important;
}
body.admin-mode #adminPanel .admin-side .tabs .tab.active span{color:#D8D7FF!important}
body.admin-mode #adminPanel .admin-side .tabs .tab svg{color:currentColor!important;opacity:.92!important}
body.admin-mode #adminPanel .admin-side .tabs::-webkit-scrollbar-thumb{background:rgba(255,255,255,.16)!important}
@media(max-width:768px){
  body.admin-mode #adminPanel .admin-side{background:#111110!important;border-right:1px solid #26241F!important}
}



/* 深色侧栏无缝衔接 */
body.admin-mode #adminPanel .admin-side{background:#111110!important;border-radius:14px!important;padding:0!important;overflow:hidden!important}
body.admin-mode #adminPanel .admin-side-brand{border-radius:14px 14px 0 0!important}
body.admin-mode #adminPanel .admin-side-title{border-bottom:1px solid #26241F!important}
body.admin-mode #adminPanel .admin-side .tabs{margin-top:0!important;border-radius:0 0 14px 14px!important}
body.admin-mode #adminPanel .admin-side .tab-group + .tab-group{border-top:1px dashed #2A2823!important}
body.admin-mode #adminPanel .admin-side .tabs .ga,body.admin-mode #adminPanel .admin-side .tabs .group-label{color:#74716A!important}



#dcHistoryList{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important;gap:12px!important}
#dcHistoryList .dc-hist-actions{display:flex!important;gap:5px!important;margin-top:6px!important;min-width:0!important}
#dcHistoryList .dc-hist-actions>.btn{
  flex:1 1 0!important;min-width:0!important;height:29px!important;
  font-size:10.5px!important;line-height:1!important;padding:0 3px!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  border-radius:7px!important;
}
#dcHistoryList .dc-hist-actions>.dc-del{flex:0 0 34px!important;color:#f87171!important;font-size:10.5px!important}
#dcHistoryList .dc-hist-card{min-width:0!important}
@media(min-width:1300px){#dcHistoryList{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))!important}}
@media(max-width:700px){
  #dcHistoryList{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  #dcHistoryList .dc-hist-actions{gap:4px!important}
  #dcHistoryList .dc-hist-actions>.btn{height:28px!important;font-size:10px!important;padding:0 2px!important}
  #dcHistoryList .dc-hist-actions>.dc-del{flex-basis:30px!important}
}
@media(max-width:360px){#dcHistoryList{grid-template-columns:1fr!important}}



/* 页脚链接间距：Windows 宽屏和手机端统一 */
#footerLines .foot-grid{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important}
#footerLines .foot-col{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:4px 12px!important;width:100%!important;min-width:0!important;text-align:center!important}
#footerLines .foot-col-info{gap:2px 7px!important;font-size:9.5px!important;color:var(--text-muted,#746F64)!important}
#footerLines .foot-col-info span,#footerLines .foot-col-info a{display:inline-flex!important;white-space:nowrap!important}
#footerLines .foot-col-info .foot-sep{display:inline!important;margin:0 1px!important}
#footerLines .foot-col-products a,#footerLines .foot-col-legal a{display:inline-flex!important;align-items:center!important;white-space:nowrap!important;padding:0!important;font-size:10.5px!important;line-height:1.6!important}



/* ===== 版式 B：创作中心 / 分辨率卡片 / 公共模板与提示词库 深色适配 ===== */
body[data-layout="b"] #viewCreator.creator-view,body[data-layout="b"] #viewCreator{background:#0C0D0F!important;color:#F4F3EF!important}
body[data-layout="b"] #viewCreator .creator-hero{
  background:radial-gradient(760px 430px at 78% -20%,rgba(57,255,143,.20),transparent 66%),#0C0D0F!important;
  color:#F4F3EF!important;border-bottom:1px solid #24252A!important
}
body[data-layout="b"] #viewCreator .creator-hero:after{border-color:rgba(57,255,143,.22)!important}
body[data-layout="b"] #viewCreator .creator-kicker{color:#C9C9FF!important}
body[data-layout="b"] #viewCreator .creator-hero h1{color:#F7F6F2!important}
body[data-layout="b"] #viewCreator .creator-hero p{color:#9C9A93!important}
body[data-layout="b"] #viewCreator .creator-hero-meta{color:#8E8C85!important}
body[data-layout="b"] #viewCreator .creator-hero-link{color:#C9C9FF!important}
body[data-layout="b"] #viewCreator .creator-hero-panel{
  background:linear-gradient(180deg,#15171C,#111214)!important;border:1px solid #2A2B31!important;
  box-shadow:0 24px 60px rgba(0,0,0,.35)!important;color:#F4F3EF!important
}
body[data-layout="b"] #viewCreator .creator-panel-kicker{color:#C9C9FF!important}
body[data-layout="b"] #viewCreator .creator-hero-panel>b{color:#F7F6F2!important}
body[data-layout="b"] #viewCreator .creator-stats div{border-top-color:#2A2B31!important}
body[data-layout="b"] #viewCreator .creator-stats span{color:#8E8C85!important}
body[data-layout="b"] #viewCreator .creator-stats strong{color:#F4F3EF!important}
body[data-layout="b"] #viewCreator .creator-hero-panel small{color:#8E8C85!important}
body[data-layout="b"] #viewCreator .creator-body{background:#0C0D0F!important}
body[data-layout="b"] #viewCreator .creator-section-head span{color:#C9C9FF!important}
body[data-layout="b"] #viewCreator .creator-section-head h2{color:#F7F6F2!important}
body[data-layout="b"] #viewCreator .creator-section-head p{color:#8E8C85!important}
body[data-layout="b"] #viewCreator .creator-toolbar{border-color:#24252A!important}
body[data-layout="b"] #viewCreator .creator-filters{gap:7px!important}
body[data-layout="b"] #viewCreator .creator-chip{
  background:#15171C!important;border-color:#2A2B31!important;color:#B9B7AF!important
}
body[data-layout="b"] #viewCreator .creator-chip:hover{border-color:#4A4B57!important;color:#F4F3EF!important}
body[data-layout="b"] #viewCreator .creator-chip.active{
  background:var(--n37-accent,#39FF8F)!important;border-color:#8B8CF6!important;color:#fff!important
}
body[data-layout="b"] #viewCreator .creator-grid{background:transparent!important}
body[data-layout="b"] #viewCreator .creator-card{
  background:#111214!important;border-color:#24252A!important;color:#F4F3EF!important;
  box-shadow:0 10px 28px rgba(0,0,0,.20)!important
}
body[data-layout="b"] #viewCreator .creator-card:hover{border-color:#3A3B46!important;box-shadow:0 18px 42px rgba(0,0,0,.38)!important}
body[data-layout="b"] #viewCreator .creator-card-img{background:#0C0D0F!important}
body[data-layout="b"] #viewCreator .creator-card-title{color:#F4F3EF!important}
body[data-layout="b"] #viewCreator .creator-card-author,
body[data-layout="b"] #viewCreator .creator-card-meta{color:#9C9A93!important}
body[data-layout="b"] #viewCreator .creator-card-price{color:#C9C9FF!important}
body[data-layout="b"] #viewCreator .creator-card-foot{border-color:#24252A!important}
body[data-layout="b"] #viewCreator .creator-card-btn{
  background:#1A1B21!important;border:1px solid #34363E!important;color:#E7E5DF!important
}
body[data-layout="b"] #viewCreator .creator-card-btn:hover{border-color:#8B8CF6!important;color:#fff!important}
body[data-layout="b"] #viewCreator .creator-empty{color:#8E8C85!important}
body[data-layout="b"] #viewCreator .creator-earnings-card{
  background:#111214!important;border-color:#24252A!important;color:#F4F3EF!important
}
body[data-layout="b"] #viewCreator .creator-earnings-row{border-color:#24252A!important}
body[data-layout="b"] #viewCreator .creator-modal-card{
  background:#111214!important;border-color:#24252A!important;color:#F4F3EF!important;
  box-shadow:0 30px 90px rgba(0,0,0,.65)!important
}
body[data-layout="b"] #viewCreator .creator-modal-close{background:#1A1B1F!important;border-color:#2A2B31!important;color:#D9D7D0!important}
body[data-layout="b"] #viewCreator .creator-modal-card .field{color:#B9B7AF!important}
body[data-layout="b"] #viewCreator .creator-modal-card input,
body[data-layout="b"] #viewCreator .creator-modal-card textarea,
body[data-layout="b"] #viewCreator .creator-modal-card select{
  background:#0C0D0F!important;border-color:#2A2B31!important;color:#F4F3EF!important
}
body[data-layout="b"] #viewCreator .creator-detail-title,
body[data-layout="b"] #viewCreator .creator-detail-meta,
body[data-layout="b"] #viewCreator .creator-detail-desc{color:#E7E5DF!important}
body[data-layout="b"] #viewCreator .creator-comment-item{border-color:#24252A!important;background:#0C0D0F!important;color:#D9D7D0!important}
/* 输出清晰度卡片 */
body[data-layout="b"] .dc-res{
  background:#15171C!important;border-color:#2A2B31!important;color:#E7E5DF!important
}
body[data-layout="b"] .dc-res:hover{border-color:#4A4B57!important;background:#1A1C22!important}
body[data-layout="b"] .dc-res b{color:#F4F3EF!important}
body[data-layout="b"] .dc-res small{color:#8E8C85!important}
body[data-layout="b"] .dc-res.active{
  border-color:#8B8CF6!important;background:rgba(57,255,143,.22)!important;
  box-shadow:0 0 0 1px rgba(57,255,143,.25) inset!important
}
body[data-layout="b"] .dc-res.active b{color:#C9C9FF!important}
body[data-layout="b"] .dc-res.active small{color:#B9B7AF!important}
/* 公共模板库 / 公共提示词库 */
body[data-layout="b"] .dc-lib-panel{
  background:#111214!important;border-color:#2A2B31!important;
  box-shadow:0 30px 90px rgba(0,0,0,.65)!important
}
body[data-layout="b"] .dc-lib-head{border-color:#24252A!important}
body[data-layout="b"] .dc-lib-head b{color:#F7F6F2!important}
body[data-layout="b"] .dc-lib-head span{color:#8E8C85!important}
body[data-layout="b"] .dc-lib-x{background:#1A1B1F!important;border-color:#2A2B31!important;color:#C9C7C0!important}
body[data-layout="b"] .dc-lib-x:hover{background:#24252A!important;color:#fff!important}
body[data-layout="b"] .dc-lib-tabs{border-color:#24252A!important}
body[data-layout="b"] .dc-lib-tab{color:#8E8C85!important}
body[data-layout="b"] .dc-lib-tab em{color:#77756E!important}
body[data-layout="b"] .dc-lib-tab.active{color:#C9C9FF!important;border-bottom-color:#8B8CF6!important}
body[data-layout="b"] .dc-lib-body{background:#0C0D0F!important}
body[data-layout="b"] .dc-lib-card{background:#15171C!important;border-color:#2A2B31!important}
body[data-layout="b"] .dc-lib-card:hover{border-color:#4A4B57!important;box-shadow:0 12px 26px rgba(0,0,0,.35)!important}
body[data-layout="b"] .dc-lib-cover{background:linear-gradient(135deg,#1A1B22,#111214)!important}
body[data-layout="b"] .dc-lib-copy b{color:#F4F3EF!important}
body[data-layout="b"] .dc-lib-copy p{color:#9C9A93!important}
body[data-layout="b"] .dc-lib-actions .btn{
  background:#0C0D0F!important;border-color:#34363E!important;color:#D9D7D0!important
}
body[data-layout="b"] .dc-lib-actions .btn:hover{border-color:#8B8CF6!important;color:#fff!important;background:#191B21!important}
body[data-layout="b"] .dc-lib-empty{color:#8E8C85!important}



/* ===== 版式 B 补充：员工登录左栏 ===== */
body[data-layout="b"] #loginBox .ml-brand{
  background:radial-gradient(560px 400px at 10% 0%,rgba(57,255,143,.18),transparent 62%),linear-gradient(160deg,#15171C,#0C0D0F)!important;
  border-right:1px solid #24252A!important;color:#F4F3EF!important
}
body[data-layout="b"] #loginBox .ml-brand-top b{color:#F7F6F2!important}
body[data-layout="b"] #loginBox .ml-brand-top span{color:#8E8C85!important}
body[data-layout="b"] #loginBox .ml-eyebrow{color:#C9C9FF!important}
body[data-layout="b"] #loginBox .ml-eyebrow i{background:#C9C9FF!important}
body[data-layout="b"] #loginBox .ml-brand-main h2{color:#F7F6F2!important}
body[data-layout="b"] #loginBox .ml-brand-main h2 em{color:#C9C9FF!important}
body[data-layout="b"] #loginBox .ml-brand-main p{color:#9C9A93!important}
body[data-layout="b"] #loginBox .ml-feature{
  background:#15171C!important;border-color:#2A2B31!important;color:#D9D7D0!important
}
body[data-layout="b"] #loginBox .ml-feature svg{color:#A5A6FF!important}
body[data-layout="b"] #loginBox .ml-brand-foot{color:#8E8C85!important;border-color:#24252A!important}
/* ===== 版式 B 补充：创作中心详情 / 收益弹窗（挂载在 body 下） ===== */
body[data-layout="b"] .creator-modal-card{
  background:#111214!important;border-color:#24252A!important;color:#F4F3EF!important;
  box-shadow:0 30px 90px rgba(0,0,0,.65)!important
}
body[data-layout="b"] .creator-modal-close{background:#1A1B1F!important;border-color:#2A2B31!important;color:#D9D7D0!important}
body[data-layout="b"] .creator-modal-close:hover{background:#24252A!important;color:#fff!important}
body[data-layout="b"] .creator-detail-title{color:#F7F6F2!important}
body[data-layout="b"] .creator-detail-meta,
body[data-layout="b"] .creator-detail-desc{color:#B9B7AF!important}
body[data-layout="b"] .creator-detail-img{background:#0C0D0F!important;border-color:#2A2B31!important}
body[data-layout="b"] .creator-detail-actions{border-color:#24252A!important}
body[data-layout="b"] .creator-detail-actions .btn{
  background:#15171C!important;border-color:#34363E!important;color:#E7E5DF!important
}
body[data-layout="b"] .creator-like-btn{background:#15171C!important;border-color:#34363E!important;color:#D9D7D0!important}
body[data-layout="b"] .creator-like-btn.is-liked{background:rgba(57,255,143,.18)!important;border-color:#8B8CF6!important;color:#C9C9FF!important}
body[data-layout="b"] .creator-comment-box,
body[data-layout="b"] .creator-comment-form{border-color:#24252A!important;background:#0C0D0F!important}
body[data-layout="b"] .creator-comment-title{color:#D9D7D0!important}
body[data-layout="b"] .creator-comment-list,
body[data-layout="b"] .creator-comment-item{color:#B9B7AF!important}
body[data-layout="b"] .creator-comment-item{background:#111214!important;border-color:#24252A!important}
body[data-layout="b"] .creator-publish-card .field{color:#B9B7AF!important}
body[data-layout="b"] .creator-publish-card input,
body[data-layout="b"] .creator-publish-card textarea,
body[data-layout="b"] .creator-publish-card select{background:#0C0D0F!important;border-color:#2A2B31!important;color:#F4F3EF!important}
body[data-layout="b"] .creator-publish-hint{color:#8E8C85!important}
body[data-layout="b"] .creator-earnings-card{background:#111214!important;border-color:#24252A!important;color:#F4F3EF!important}
body[data-layout="b"] .creator-publish-title,
body[data-layout="b"] .creator-earnings-card .creator-publish-title{color:#F7F6F2!important}
body[data-layout="b"] .creator-earnings-stats > div{background:#15171C!important;border-color:#2A2B31!important;color:#F4F3EF!important}
body[data-layout="b"] .creator-earnings-stats span{color:#8E8C85!important}
body[data-layout="b"] .creator-earnings-stats b{color:#C9C9FF!important}
body[data-layout="b"] .creator-earnings-row{background:#0C0D0F!important;border-color:#24252A!important;color:#B9B7AF!important}
body[data-layout="b"] .creator-earnings-row b{color:#E7E5DF!important}
/* ===== 版式 B 补充：AI 设计中心 ===== */
body[data-layout="b"] #viewDesign{background:#0C0D0F!important;color:#F4F3EF!important}
body[data-layout="b"] #viewDesign .page-h1,
body[data-layout="b"] #viewDesign .hero h2{color:#F7F6F2!important}
body[data-layout="b"] #viewDesign .hero p,
body[data-layout="b"] #viewDesign .page-sub{color:#9C9A93!important}
body[data-layout="b"] #viewDesign .dc-login-tip{
  background:#111214!important;border-color:#2A2B31!important;color:#F4F3EF!important
}
body[data-layout="b"] #viewDesign .dc-login-tip b{color:#F7F6F2!important}
body[data-layout="b"] #viewDesign .dc-login-tip p{color:#9C9A93!important}
body[data-layout="b"] #viewDesign .dc-tip-icon{background:rgba(57,255,143,.18)!important;color:#C9C9FF!important}
body[data-layout="b"] #dcBalanceBar{
  background:#111214!important;border-color:#2A2B31!important;color:#D9D7D0!important
}
body[data-layout="b"] #dcBalanceBar span{color:#D9D7D0!important}
body[data-layout="b"] #dcBalanceBar #dcBalanceTip{color:#8E8C85!important}
body[data-layout="b"] #viewDesign .dc-panel,
body[data-layout="b"] #viewDesign .form-box{
  background:#111214!important;border-color:#24252A!important;color:#F4F3EF!important
}
body[data-layout="b"] #viewDesign .dc-right{
  background:#111214!important;border-color:#24252A!important
}
body[data-layout="b"] #viewDesign .dc-preview-empty,
body[data-layout="b"] #viewDesign .dc-loading{color:#8E8C85!important;border-color:#2A2B31!important}
body[data-layout="b"] #viewDesign .dc-card{
  background:#15171C!important;border-color:#2A2B31!important;color:#F4F3EF!important
}
body[data-layout="b"] #viewDesign .dc-hist-card{
  background:#15171C!important;border-color:#2A2B31!important;color:#D9D7D0!important
}
body[data-layout="b"] #viewDesign .dc-hist-card > div{color:#B9B7AF!important}
body[data-layout="b"] #viewDesign .dc-hist-card [style*="color:var(--text)"]{color:#F4F3EF!important}
body[data-layout="b"] #viewDesign .dc-hist-card [style*="color:var(--text-muted)"]{color:#9C9A93!important}
body[data-layout="b"] #viewDesign .dc-hist-actions .btn,
body[data-layout="b"] #viewDesign .dc-hist-actions .dc-del{
  background:#0C0D0F!important;border-color:#34363E!important;color:#D9D7D0!important
}
body[data-layout="b"] #viewDesign .dc-hist-actions .btn:hover{background:#191B21!important;border-color:#8B8CF6!important;color:#fff!important}
body[data-layout="b"] #viewDesign .dc-hist-actions .dc-del{color:#F87171!important}
body[data-layout="b"] #viewDesign .dc-chip,
body[data-layout="b"] #viewDesign .dc-style-chip{
  background:#15171C!important;border-color:#2A2B31!important;color:#D9D7D0!important
}
body[data-layout="b"] #viewDesign .dc-chip.active,
body[data-layout="b"] #viewDesign .dc-style-chip.active{
  background:rgba(57,255,143,.22)!important;border-color:#8B8CF6!important;color:#C9C9FF!important
}
body[data-layout="b"] #viewDesign .dc-count{
  background:#15171C!important;border-color:#2A2B31!important;color:#D9D7D0!important
}
body[data-layout="b"] #viewDesign .dc-count.active{background:var(--n37-accent,#39FF8F)!important;border-color:#8B8CF6!important;color:#fff!important}
body[data-layout="b"] #viewDesign .dc-label{background:rgba(0,0,0,.72)!important;color:#fff!important}
body[data-layout="b"] #viewDesign .dc-cost-line{color:#8E8C85!important}
body[data-layout="b"] #viewDesign .dc-src-select,
body[data-layout="b"] #viewDesign .dc-src-btn{
  background:#15171C!important;border-color:#2A2B31!important;color:#D9D7D0!important
}
body[data-layout="b"] #viewDesign .dc-src-btn:hover{border-color:#8B8CF6!important;color:#fff!important}
body[data-layout="b"] #viewDesign .dc-tabs .btn.ghost{background:#15171C!important;border-color:#2A2B31!important;color:#D9D7D0!important}



/* 版式 B：创作中心弹窗输入/按钮、设计中心小按钮与历史操作 */
body[data-layout="b"] .creator-modal-card input,
body[data-layout="b"] .creator-modal-card textarea,
body[data-layout="b"] .creator-modal-card select{
  background:#0C0D0F!important;border-color:#2A2B31!important;color:#F4F3EF!important;
  box-shadow:none!important
}
body[data-layout="b"] .creator-modal-card input::placeholder,
body[data-layout="b"] .creator-modal-card textarea::placeholder{color:#77756E!important}
body[data-layout="b"] .creator-modal-card .btn:not(.primary){
  background:#15171C!important;border-color:#34363E!important;color:#D9D7D0!important
}
body[data-layout="b"] .creator-modal-card .btn:not(.primary):hover{
  background:#191B21!important;border-color:#8B8CF6!important;color:#fff!important
}
body[data-layout="b"] .creator-modal-card .btn.primary{
  background:var(--n37-accent,#39FF8F)!important;border-color:#8B8CF6!important;color:#fff!important
}
body[data-layout="b"] .creator-modal-card .btn.primary:hover{background:#6F6BFF!important}
body[data-layout="b"] .creator-comment-form,
body[data-layout="b"] .creator-comment-box{background:#0C0D0F!important;border-color:#24252A!important}
body[data-layout="b"] .creator-comment-form input,
body[data-layout="b"] .creator-comment-form textarea{
  background:#111214!important;border-color:#2A2B31!important;color:#F4F3EF!important
}
body[data-layout="b"] .creator-comment-form button{
  background:var(--n37-accent,#39FF8F)!important;border-color:#8B8CF6!important;color:#fff!important
}
body[data-layout="b"] .creator-detail-actions .btn,
body[data-layout="b"] .creator-detail-actions button{
  background:#15171C!important;border-color:#34363E!important;color:#D9D7D0!important
}
body[data-layout="b"] .creator-like-btn{background:#15171C!important;border-color:#34363E!important;color:#D9D7D0!important}
body[data-layout="b"] .creator-comment-item{border-color:#24252A!important;background:#111214!important;color:#B9B7AF!important}
body[data-layout="b"] .creator-comment-title{color:#D9D7D0!important}
/* 设计中心：小按钮 / 历史操作 */
body[data-layout="b"] #viewDesign .dc-polish{
  background:#15171C!important;border-color:#2A2B31!important;color:#C9C9FF!important
}
body[data-layout="b"] #viewDesign .dc-polish:hover{border-color:#8B8CF6!important;background:#191B21!important}
body[data-layout="b"] #viewDesign .dc-clear-prompt{color:#9C9A93!important}
body[data-layout="b"] #viewDesign .dc-clear-prompt:hover{color:#C9C9FF!important}
body[data-layout="b"] #viewDesign .dc-src-select{background:#15171C!important;border-color:#2A2B31!important;color:#D9D7D0!important}
body[data-layout="b"] #viewDesign .dc-src-btn{background:#15171C!important;border-color:#2A2B31!important;color:#D9D7D0!important}
body[data-layout="b"] #viewDesign .dc-src-btn:hover{border-color:#8B8CF6!important;color:#fff!important}
body[data-layout="b"] #viewDesign .dc-src-btn-prompt{background:#15171C!important;border-color:#2A2B31!important;color:#D9D7D0!important}
body[data-layout="b"] #viewDesign .dc-clear-prompt{background:transparent!important}
body[data-layout="b"] #viewDesign .dc-hist-actions>.btn,
body[data-layout="b"] #viewDesign #dcHistoryList .dc-hist-actions>.btn{
  background:#0C0D0F!important;border-color:#34363E!important;color:#D9D7D0!important
}
body[data-layout="b"] #viewDesign .dc-hist-actions>.btn.primary,
body[data-layout="b"] #viewDesign .dc-hist-actions>.btn:hover{
  background:#191B21!important;border-color:#8B8CF6!important;color:#fff!important
}
body[data-layout="b"] #viewDesign .dc-hist-actions>.dc-del{background:#0C0D0F!important;border-color:#34363E!important;color:#F87171!important}
body[data-layout="b"] #viewDesign #dcHistoryList .dc-hist-card > div[style]{color:#B9B7AF!important}
body[data-layout="b"] #viewDesign #dcHistoryList .dc-hist-card .dc-hist-actions{margin-top:2px!important}



/* 版式 B：覆盖全站高优先级浅色表单规则 */
html body[data-layout="b"]:not(.admin-mode) input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body[data-layout="b"]:not(.admin-mode) select,
html body[data-layout="b"]:not(.admin-mode) textarea{
  background:#0C0D0F!important;
  background-color:#0C0D0F!important;
  color:#F4F3EF!important;
  border-color:#2A2B31!important;
  box-shadow:none!important;
}
html body[data-layout="b"]:not(.admin-mode) input::placeholder,
html body[data-layout="b"]:not(.admin-mode) textarea::placeholder{color:#77756E!important}
html body[data-layout="b"] .creator-modal-card input,
html body[data-layout="b"] .creator-modal-card textarea,
html body[data-layout="b"] .creator-modal-card select{
  background:#0C0D0F!important;background-color:#0C0D0F!important;color:#F4F3EF!important;border-color:#2A2B31!important
}
html body[data-layout="b"] .creator-comment-form input,
html body[data-layout="b"] .creator-comment-form textarea{
  background:#111214!important;background-color:#111214!important;color:#F4F3EF!important;border-color:#2A2B31!important
}



/* 版式 B：顶部通知 + 登录输入框外壳（消除白色三角） */
body[data-layout="b"] #platformNotice{
  background:#111214!important;border-color:#2A2B31!important;color:#E7E5DF!important
}
body[data-layout="b"] #platformNotice #pnTitle{color:#F7F6F2!important}
body[data-layout="b"] #platformNotice #pnContent{color:#9C9A93!important}
body[data-layout="b"] #platformNotice #pnClose{
  background:var(--n37-accent,#39FF8F)!important;color:#fff!important;border:1px solid #8B8CF6!important
}
body[data-layout="b"] #impersonateBar{
  background:#211A10!important;border-color:#4A3A20!important;color:#FBBF24!important
}
body[data-layout="b"] #impersonateBar #impExitBtn{background:#B45309!important;color:#fff!important}
body[data-layout="b"] #loginBox .ml-input{
  background:#0C0D0F!important;border-color:#2A2B31!important
}
body[data-layout="b"] #loginBox .ml-input:focus-within{border-color:#8B8CF6!important}
body[data-layout="b"] #loginBox .ml-input input{
  background:transparent!important;color:#F4F3EF!important
}



/* 版式 B：手机端菜单排版对齐版式 A */
@media(max-width:768px){
  body[data-layout="b"]:not(.admin-mode):not(.customer-app-mode) .topbar .wrap{
    padding-left:10px!important;padding-right:10px!important;align-items:center!important
  }
  body[data-layout="b"]:not(.admin-mode):not(.customer-app-mode) .topbar .top-nav{
    height:34px!important;min-height:34px!important;max-height:34px!important;
    align-items:center!important;flex:1 1 auto!important;padding:0 8px!important;
    overflow-x:auto!important;flex-wrap:nowrap!important;gap:2px!important;
    scrollbar-width:none!important
  }
  body[data-layout="b"]:not(.admin-mode):not(.customer-app-mode) .topbar .top-nav::-webkit-scrollbar{display:none!important}
  body[data-layout="b"]:not(.admin-mode):not(.customer-app-mode) .topbar .top-nav a{
    flex:0 0 auto!important;height:34px!important;padding:0 10px!important;
    font-size:13px!important;border-radius:7px!important
  }
  /* 客户版 App：与 A 版一致，顶部品牌/操作一行，菜单另起一行 */
  body[data-layout="b"].customer-app-mode .topbar{display:block!important}
  body[data-layout="b"].customer-app-mode .topbar .wrap{
    height:auto!important;min-height:56px!important;flex-wrap:wrap!important;
    padding:7px 10px 5px!important;row-gap:4px!important
  }
  body[data-layout="b"].customer-app-mode .topbar .brand{order:1!important}
  body[data-layout="b"].customer-app-mode .topbar .top-actions{order:2!important;margin-left:auto!important}
  body[data-layout="b"].customer-app-mode .topbar .top-nav{
    display:flex!important;order:3!important;flex:0 0 100%!important;width:100%!important;
    margin:0!important;padding:2px 0 0!important;overflow-x:auto!important;
    flex-wrap:nowrap!important;gap:3px!important;scrollbar-width:none!important;
    border-top:1px solid rgba(120,120,120,.12)!important
  }
  body[data-layout="b"].customer-app-mode .topbar .top-nav::-webkit-scrollbar{display:none!important}
  body[data-layout="b"].customer-app-mode .topbar .top-nav a{
    flex:0 0 auto!important;height:31px!important;padding:0 9px!important;
    font-size:11.5px!important;border-radius:6px!important
  }
  body[data-layout="b"].customer-app-mode .topbar .top-nav a svg{display:none!important}
}
/* 版式 B：底部电话 / 微信 / 立即报价 */
html body[data-layout="b"]:not(.admin-mode) #mBar.mbar{
  background:rgba(17,18,20,.97)!important;border-top:1px solid #24252A!important;
  box-shadow:0 -10px 30px rgba(0,0,0,.35)!important
}
html body[data-layout="b"]:not(.admin-mode) #mBar .mbar-btn.call{
  background:#15171C!important;border-color:#2A2B31!important;color:#C9C9FF!important
}
html body[data-layout="b"]:not(.admin-mode) #mBar .mbar-btn.wx{
  background:#15171C!important;border-color:#2A2B31!important;color:#86EFAC!important
}
html body[data-layout="b"]:not(.admin-mode) #mBar .mbar-btn.go{
  background:var(--n37-accent,#39FF8F)!important;border-color:#8B8CF6!important;color:#fff!important
}
/* 版式 B：客户版 App 底部导航 */
html body[data-layout="b"].customer-app-mode .customer-tabbar{
  background:rgba(17,18,20,.97)!important;border-top-color:#24252A!important;
  box-shadow:0 -10px 30px rgba(0,0,0,.35)!important
}
html body[data-layout="b"].customer-app-mode .customer-tabbar button{color:#8E8C85!important}
html body[data-layout="b"].customer-app-mode .customer-tabbar button.active{color:#C9C9FF!important}
html body[data-layout="b"].customer-app-mode .customer-tabbar button.active svg{stroke:#C9C9FF!important}



/* 创作中心字号整体放大一档 */
#viewCreator .creator-kicker{font-size:10.5px!important}
#viewCreator .creator-hero p{font-size:16px!important;line-height:1.9!important;max-width:700px!important}
#viewCreator .creator-hero-meta{font-size:13px!important;gap:20px!important}
#viewCreator .creator-hero-link{font-size:13px!important}
#viewCreator .creator-panel-kicker{font-size:10px!important}
#viewCreator .creator-hero-panel>b{font-size:19px!important;line-height:1.5!important}
#viewCreator .creator-stats span{font-size:11px!important}
#viewCreator .creator-stats strong{font-size:26px!important}
#viewCreator .creator-hero-panel small{font-size:11px!important;line-height:1.6!important}
#viewCreator .creator-section-head span{font-size:10px!important}
#viewCreator .creator-section-head h2{font-size:32px!important;line-height:1.15!important}
#viewCreator .creator-section-head p{font-size:13px!important;line-height:1.75!important;max-width:340px!important}
#viewCreator .creator-chip{font-size:13px!important;padding:8px 15px!important}
#viewCreator .creator-card-body{padding:14px 15px 15px!important}
#viewCreator .creator-card-title{font-size:15.5px!important;line-height:1.45!important}
#viewCreator .creator-card-author{font-size:12px!important}
#viewCreator .creator-card-meta{font-size:12px!important;gap:12px!important;margin-top:11px!important}
#viewCreator .creator-card-price{font-size:14px!important}
#viewCreator .creator-card-btn{font-size:12px!important;height:32px!important}
#viewCreator .creator-empty{font-size:14px!important;line-height:1.8!important}
/* 创作中心弹窗 */
body .creator-modal-card .creator-detail-title{font-size:21px!important;line-height:1.4!important}
body .creator-modal-card .creator-detail-meta{font-size:13px!important;gap:14px!important}
body .creator-modal-card .creator-detail-desc{font-size:14px!important;line-height:1.8!important}
body .creator-modal-card .creator-detail-actions .btn{font-size:12.5px!important;height:38px!important}
body .creator-modal-card .creator-comment-title{font-size:14px!important}
body .creator-modal-card .creator-comment-item{font-size:13px!important;line-height:1.7!important}
body .creator-modal-card .creator-comment-form input{font-size:14px!important;height:38px!important}
body .creator-modal-card .creator-comment-form button{font-size:13px!important;height:38px!important}
body .creator-publish-title{font-size:20px!important}
body .creator-publish-card .field{font-size:13px!important}
body .creator-publish-card input,body .creator-publish-card select,body .creator-publish-card textarea{font-size:13.5px!important}
body .creator-earnings-stats span{font-size:11px!important}
body .creator-earnings-stats b{font-size:18px!important}
body .creator-earnings-row{font-size:13px!important;line-height:1.7!important}
@media(max-width:600px){
  #viewCreator .creator-hero p{font-size:14.5px!important}
  #viewCreator .creator-section-head h2{font-size:27px!important}
  #viewCreator .creator-section-head p{font-size:12.5px!important}
  #viewCreator .creator-card-title{font-size:14.5px!important}
  #viewCreator .creator-card-author,#viewCreator .creator-card-meta{font-size:11.5px!important}
  body .creator-modal-card .creator-detail-title{font-size:19px!important}
  body .creator-modal-card .creator-detail-desc{font-size:13px!important}
}



/* 页脚文字整体放大 */
html body #footerLines .foot-col-info{
  font-size:11px!important;line-height:1.7!important
}
html body #footerLines .foot-col-info span,
html body #footerLines .foot-col-info a{font-size:11px!important}
html body #footerLines .foot-col-products a,
html body #footerLines .foot-col-legal a{
  font-size:12px!important;line-height:1.7!important
}
html body #footerLines .foot-col{gap:5px 14px!important}
html body #footerLines .foot-grid{gap:7px!important}
@media(max-width:768px){
  html body #footerLines .foot-col-info{font-size:10.5px!important;line-height:1.65!important}
  html body #footerLines .foot-col-info span,
  html body #footerLines .foot-col-info a{font-size:10.5px!important}
  html body #footerLines .foot-col-products a,
  html body #footerLines .foot-col-legal a{font-size:11.5px!important;line-height:1.65!important}
  html body #footerLines .foot-col{gap:4px 12px!important}
}


.dc-res-group{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
.dc-res-group .dc-res{min-width:0!important;padding:8px 5px!important;border-radius:10px!important}
.dc-res-group .dc-res b{font-size:14px!important;line-height:1.2}
.dc-res-group .dc-res small{font-size:9px!important;line-height:1.4!important;white-space:nowrap}
@media(max-width:640px){.dc-res-group .dc-res{padding:7px 3px!important}.dc-res-group .dc-res small{font-size:8px!important}}



.dc-video-drop{border:1.5px dashed var(--border);border-radius:12px;padding:10px;background:var(--input-bg);transition:.18s;cursor:pointer}
.dc-video-drop.dragover{border-color:var(--n37-accent,#39FF8F);background:rgba(57,255,143,.08)}
.dc-video-drop-inner{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);font-size:12px;cursor:pointer;min-height:54px}
.dc-video-drop-inner input{position:absolute;opacity:0;pointer-events:none}
.dc-video-ref-info{display:none;margin-top:8px;align-items:center;gap:8px;font-size:12px;color:var(--text-muted)}
.dc-video-ref-info img{width:52px;height:52px;object-fit:cover;border-radius:8px;border:1px solid var(--border)}
.dc-ref-picker{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:24px}
.dc-ref-picker-card{background:var(--surface,#fff);border:1px solid var(--border);border-radius:18px;width:min(880px,96vw);max-height:82vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.dc-ref-picker-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--border);font-weight:700}
.dc-ref-picker-body{overflow:auto;padding:14px 18px}
.dc-ref-picker-group{font-size:12px;color:var(--text-muted);font-weight:700;margin:10px 0 8px}
.dc-ref-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.dc-ref-picker-grid button{padding:0;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface,#fff);cursor:pointer}
.dc-ref-picker-grid img{width:100%;height:100px;object-fit:cover;display:block}
.dc-ref-picker-empty{font-size:13px;color:var(--text-muted);padding:30px 0;text-align:center}

.dc-video-res-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.dc-video-res{border:1px solid var(--border);border-radius:10px;background:var(--input-bg);color:var(--text);padding:8px 4px;cursor:pointer;text-align:center;line-height:1.25}
.dc-video-res b{display:block;font-size:13px}
.dc-video-res small{display:block;font-size:8.5px;color:var(--text-muted);margin-top:2px;white-space:nowrap}
.dc-video-res.active{border-color:var(--primary,var(--n37-accent,#39FF8F));background:rgba(57,255,143,.12);box-shadow:0 0 0 1px rgba(57,255,143,.15) inset}
.dc-video-res.active b{color:var(--primary,var(--n37-accent,#39FF8F))}
@media(max-width:640px){.dc-video-res small{font-size:8px}}
.dc-video-aspect-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.dc-video-aspect{border:1px solid var(--border);border-radius:10px;background:var(--input-bg);color:var(--text);padding:8px 4px;cursor:pointer;text-align:center;line-height:1.25}
.dc-video-aspect b{display:block;font-size:13px}
.dc-video-aspect small{display:block;font-size:8px;color:var(--text-muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dc-video-aspect.active{border-color:var(--primary,var(--n37-accent,#39FF8F));background:rgba(57,255,143,.12);box-shadow:0 0 0 1px rgba(57,255,143,.15) inset}
.dc-video-aspect.active b{color:var(--primary,var(--n37-accent,#39FF8F))}
@media(max-width:640px){.dc-video-aspect small{font-size:7.5px}}



  #n37LeadBar{position:fixed;left:0;right:0;bottom:0;z-index:9997;display:flex;align-items:center;
    justify-content:center;gap:14px;padding:12px 18px;background:rgba(11,11,15,.94);
    backdrop-filter:blur(12px);border-top:2px solid #39FF8F;font-family:inherit}
  #n37LeadBar .txt{color:#fff;font-size:15px;font-weight:700;letter-spacing:.01em}
  #n37LeadBar .txt b{color:#39FF8F}
  #n37LeadBar .mini{color:#9AA0A8;font-size:12.5px}
  #n37LeadBar button{border:0;cursor:pointer;border-radius:999px;padding:11px 22px;font-size:14.5px;
    font-weight:800;background:#39FF8F;color:#04240F;font-family:inherit}
  #n37LeadBar button:hover{filter:brightness(1.05)}
  #n37LeadBar .close{background:transparent;color:#9AA0A8;font-size:20px;padding:0 6px;line-height:1}
  @media(max-width:720px){
    #n37LeadBar{flex-wrap:wrap;gap:8px;padding:10px 12px}
    #n37LeadBar .txt{font-size:13.5px}
    #n37LeadBar .mini{display:none}
    #n37LeadBar button{padding:9px 16px;font-size:13.5px}
  }
  #n37LeadMask{display:none;position:fixed;inset:0;z-index:9998;background:rgba(6,6,10,.72);
    backdrop-filter:blur(6px);align-items:center;justify-content:center;padding:20px}
  #n37LeadMask.on{display:flex}
  #n37LeadCard{width:min(440px,94vw);background:#fff;border-radius:20px;padding:26px 24px;position:relative}
  #n37LeadCard h3{margin:0 0 6px;font-size:22px;font-weight:900;color:#0B0B0F;letter-spacing:-.01em}
  #n37LeadCard p{margin:0 0 16px;font-size:14px;color:#6B6B76;line-height:1.7}
  #n37LeadCard p b{color:#1A8F55}
  #n37LeadCard label{display:block;font-size:13px;color:#4A4A55;font-weight:700;margin:12px 0 6px}
  #n37LeadCard input,#n37LeadCard textarea{width:100%;box-sizing:border-box;border:1px solid #D6D6D0;
    border-radius:12px;padding:12px 14px;font-size:15px;font-family:inherit;color:#0B0B0F;outline:none}
  #n37LeadCard input:focus,#n37LeadCard textarea:focus{border-color:#39FF8F;box-shadow:0 0 0 3px rgba(57,255,143,.2)}
  #n37LeadCard .sub{margin-top:18px;width:100%;border:0;border-radius:999px;padding:14px;font-size:16px;
    font-weight:800;background:#39FF8F;color:#04240F;cursor:pointer;font-family:inherit}
  #n37LeadCard .sub:disabled{opacity:.6;cursor:default}
  #n37LeadCard .tip{margin-top:10px;font-size:12.5px;color:#8A8A96;text-align:center;min-height:18px}
  #n37LeadCard .x{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:24px;
    color:#B8B8C0;cursor:pointer;line-height:1}



.cl-tabs{display:flex;gap:6px;margin:2px 0 14px;background:rgba(255,255,255,.04);padding:4px;border-radius:999px;border:1px solid rgba(255,255,255,.08)}
.cl-tab{flex:1;height:38px;border:0;border-radius:999px;background:transparent;color:#B9C2D8;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;transition:.18s}
.cl-tab.active{background:#39FF8F;color:#04240F;font-weight:800}
.cl-hint{margin:10px 2px 0;font-size:12.5px;line-height:1.65;color:#8A8A9A}
