/* ============================================================
   绿球展业 · 会展服务后台 — 样式
   ============================================================ */
:root {
  --brand: #4ba2b4;
  --brand-600: #3d8f9f;
  --brand-700: #427e8a;
  --brand-deep: #2f5f68;
  --brand-deep2: #24474e;
  --brand-soft: #eaf4f6;
  --brand-mist: #f5f9fa;

  --ink: #181615;
  --ink-2: #3d3a37;
  --muted: #6b6864;
  --faint: #97928c;

  --bg: #fcf9f7;
  --line: #ece7e2;
  --line-2: #f2efe9;
  --card: #ffffff;

  --red: #c9564f;
  --red-soft: #fbe6e4;
  --amber: #c98a3e;
  --amber-soft: #f8eedd;
  --blue: #4f86b8;
  --blue-soft: #e6eff7;
  --green-soft: #eaf4f6;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(3, 3, 2, .05), 0 1px 6px rgba(3, 3, 2, .04);
  --shadow-md: 0 6px 24px rgba(3, 3, 2, .08);
  --shadow-lg: 0 18px 60px rgba(3, 3, 2, .16);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
button, input, select, textarea { font-family: inherit; font-size: 14px; }
button { cursor: pointer; border: none; background: none; color: inherit; }
a { color: var(--brand-600); text-decoration: none; }
img { display: block; }
::placeholder { color: var(--faint); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 15px; border-radius: 9px;
  font-weight: 600; font-size: 13.5px; white-space: nowrap;
  border: 1px solid transparent; transition: all .15s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff;
  box-shadow: 0 4px 12px rgba(75, 162, 180, .25); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
.btn-soft { background: var(--brand-soft); color: var(--brand-700); }
.btn-soft:hover:not(:disabled) { background: #d9efe4; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover:not(:disabled) { border-color: #c9d6d0; background: #fcf9f7; }
.btn-danger-soft { background: var(--red-soft); color: var(--red); }
.btn-danger-soft:hover { background: #fbdada; }
.btn-lg { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 7px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- 徽标 / 状态 ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px;
  border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line-2);
  color: var(--muted);
}
.chip svg { width: 13px; height: 13px; }
.chip.pub { background: var(--green-soft); color: var(--brand-700); }
.chip.draft { background: var(--amber-soft); color: var(--amber); }
.chip.closed { background: #f0f1f1; color: #8a9391; }
.chip.views { background: var(--blue-soft); color: var(--blue); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 布局骨架 ---------- */
.shell { display: flex; height: 100vh; overflow: hidden; }

.side {
  width: 236px; flex: none; background: linear-gradient(180deg, #2f5f68, #073529 78%, #062b21);
  color: #cfe9de; display: flex; flex-direction: column; padding: 0 0 14px;
}
.side-brand { display: flex; align-items: center; gap: 11px; padding: 20px 18px 16px; }
.brand-logo { width: 42px; height: 42px; border-radius: 12px; background: #fff; padding: 4px; }
.brand-txt { line-height: 1.25; }
.brand-txt b { display: block; color: #fff; font-size: 16px; letter-spacing: .5px; }
.brand-txt span { font-size: 11.5px; color: #9cc7b5; }

.side-nav { flex: 1; overflow: auto; padding: 6px 12px; }
.side-nav::-webkit-scrollbar { width: 0; }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; margin-bottom: 2px;
  border-radius: 10px; color: #b7d9c9; font-weight: 500; transition: all .15s; position: relative;
}
.nav-item svg { width: 18px; height: 18px; }
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #e6f6ee; }
.nav-item.active { background: rgba(255, 255, 255, .11); color: #fff; }
.nav-item.active::before {
  content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px;
  border-radius: 0 3px 3px 0; background: #35d394;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #35d394; margin-left: auto;
}
.nav-label {
  margin: 18px 12px 7px; font-size: 11px; letter-spacing: 2px; color: #6fa894; font-weight: 600;
}
.ph-item {
  display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: 10px;
  color: #6fa894; font-size: 13px; margin-bottom: 2px;
}
.ph-item svg { width: 16px; height: 16px; opacity: .8; }
.ph-item i { margin-left: auto; font-style: normal; font-size: 10px; background: rgba(255,255,255,.08);
  color: #8dbca9; padding: 2px 7px; border-radius: 99px; }
.side-foot { padding: 12px 18px 2px; border-top: 1px solid rgba(255,255,255,.07); }
.btn-side-ext {
  display: flex; align-items: center; gap: 8px; color: #b9e0cf; font-size: 13px; font-weight: 500;
  padding: 8px 4px;
}
.btn-side-ext:hover { color: #fff; }
.ver { font-size: 11px; color: #52897a; margin: 6px 4px 2px; }

/* ---------- 主区 ---------- */
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar {
  height: 60px; flex: none; background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; gap: 16px; z-index: 5;
}
.crumb { font-weight: 700; font-size: 16px; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.crumb .sub { font-weight: 500; color: var(--muted); font-size: 13px; }
.top-actions { display: flex; align-items: center; gap: 10px; }

.content { flex: 1; overflow: auto; padding: 24px 26px 60px; }
.view { max-width: 1280px; margin: 0 auto; }
.view:not(.hidden) { animation: fadeUp .22s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-h {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 20px;
  border-bottom: 1px solid var(--line-2); gap: 12px;
}
.card-h h3 { margin: 0; font-size: 15.5px; }
.card-h .hint { color: var(--muted); font-size: 12.5px; margin-left: 10px; font-weight: 400; }
.card-b { padding: 20px; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head h2 { margin: 0 0 4px; font-size: 21px; letter-spacing: .3px; }
.page-head p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- 仪表盘 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-card { padding: 18px 20px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; gap: 14px; align-items: center; position: relative; overflow: hidden; }
.stat-card::after { content:""; position: absolute; right: -26px; top: -26px; width: 90px; height: 90px;
  border-radius: 50%; background: radial-gradient(circle, rgba(75, 162, 180,.07), transparent 70%); }
.stat-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.stat-ic svg { width: 22px; height: 22px; }
.stat-ic.green { background: var(--brand-soft); color: var(--brand-700); }
.stat-ic.blue { background: var(--blue-soft); color: var(--blue); }
.stat-ic.amber { background: var(--amber-soft); color: var(--amber); }
.stat-ic.ink { background: #f2efe9; color: var(--ink-2); }
.stat-num { font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: .2px; }
.stat-num small { font-size: 14px; font-weight: 600; color: var(--faint); margin-left: 2px; }
.stat-lbl { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 16px; }
.sec-tag-row { display:flex; align-items:center; justify-content:space-between; }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px dashed var(--line-2); }
.list-plain li:last-child { border-bottom: none; }
.mini-logo { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft);
  display: grid; place-items: center; color: var(--brand-700); flex: none; }
.mini-logo img { width: 30px; height: 30px; border-radius: 7px; }
.li-main { flex: 1; min-width: 0; }
.li-main b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-main span { font-size: 12px; color: var(--muted); }
.li-act { display: flex; gap: 6px; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  color: var(--muted); border: 1px solid transparent; transition: all .15s;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { background: var(--line-2); color: var(--ink); border-color: var(--line); }
.icon-btn.danger:hover { background: var(--red-soft); color: var(--red); border-color: #f6d4d4; }
.icon-btn.green:hover { background: var(--brand-soft); color: var(--brand-700); border-color: #d7ebef; }

.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: var(--shadow-sm); position: relative;
}
.mod-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.mod-ic svg { width: 20px; height: 20px; }
.mod-card h4 { margin: 0 0 4px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.mod-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; min-height: 40px; }
.mod-tag { position: absolute; top: 14px; right: 14px; font-size: 11px; }
.mod-card.live { cursor: pointer; transition: all .18s; }
.mod-card.live:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c4e6d4; }

/* ---------- 表单列表 ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search {
  display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  height: 36px; padding: 0 13px; border-radius: 9px; width: 300px; color: var(--faint);
}
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(75, 162, 180,.12); }
.search svg { width: 16px; height: 16px; }
.search input { border: none; outline: none; flex: 1; background: none; }
.filter-group { display: flex; background: #ecef ed; background: #f2efe9; border-radius: 9px; padding: 3px; gap: 2px; }
.filter-group button { padding: 6px 13px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.filter-group button.active { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }

/* 新建表单 · 模板选择 */
.tpl-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.tpl-card { text-align:left; background:#fff; border:1.5px solid var(--line); border-radius:14px;
  padding:18px 18px 14px; cursor:pointer; display:flex; flex-direction:column; gap:6px;
  transition:border-color .15s, box-shadow .15s; }
.tpl-card:hover { border-color: var(--brand-700); box-shadow: var(--shadow-sm); }
.tpl-ic { width:40px; height:40px; border-radius:10px; background:#eef7f2; color:var(--brand-700);
  display:flex; align-items:center; justify-content:center; margin-bottom:4px; }
.tpl-ic svg { width:20px; height:20px; }
.tpl-card b { font-size:15px; }
.tpl-card p { margin:0; font-size:12.5px; color:var(--muted); line-height:1.55; }
.tpl-go { margin-top:8px; font-size:12px; font-weight:700; color:var(--brand-700);
  display:inline-flex; align-items:center; gap:4px; }
.tpl-go svg { width:13px; height:13px; transform:rotate(180deg); }

.forms-table { width: 100%; border-collapse: collapse; }
.forms-table th {
  text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 13px 14px;
  border-bottom: 1px solid var(--line); background: #fcf9f7;
}
.forms-table td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.forms-table tr:hover td { background: #fcf9f7; }
.f-title { display: flex; align-items: center; gap: 12px; }
.f-logo { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft);
  display: grid; place-items: center; color: var(--brand-700); flex: none; overflow: hidden; }
.f-logo img { width: 30px; height: 30px; border-radius: 7px; }
.f-title b { display: block; font-size: 14px; max-width: 360px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.f-title span { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }
.cell-num { font-weight: 700; font-size: 15px; }
.cell-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.f-ops { display: flex; gap: 4px; }
.tag-lbl { display: inline-block; font-size: 12px; color: var(--brand-700); background: var(--brand-soft);
  padding: 2px 9px; border-radius: 6px; margin-right: 6px; }

.empty {
  text-align: center; padding: 64px 20px; color: var(--muted);
}
.empty svg { width: 52px; height: 52px; color: var(--faint); stroke-width: 1.4; }
.empty b { display: block; margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.empty p { margin: 6px 0 18px; font-size: 13px; }
.tip-note { background: #fffdf5; border: 1px solid #f2e6c8; color: #8a6d2a; padding: 10px 14px;
  border-radius: 10px; font-size: 12.5px; margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; line-height:1.6;}
.tip-note svg { width: 15px; height: 15px; margin-top: 2px; flex: none; }

/* ---------- 模态 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(8, 28, 20, .44); z-index: 60;
  display: grid; place-items: center; backdrop-filter: blur(3px); }
.modal { width: 480px; max-width: calc(100vw - 40px); background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); max-height: calc(100vh - 60px); display: flex; flex-direction: column;
  animation: pop .18s ease; }
.modal.wide { width: 860px; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px);} to { opacity:1; transform:none;} }
.modal-h { padding: 18px 22px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 12px; }
.modal-h h3 { margin: 0; font-size: 16px; }
.modal-h .x { margin-left: auto; }
.modal-b { padding: 22px; overflow: auto; }
.modal-f { padding: 14px 22px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- 分享 ---------- */
.share-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; align-items: start; }
.share-qr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; text-align: center; }
.share-qr img { width: 166px; height: 166px; }
.share-qr p { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.qrbox-scan { display:flex; flex-direction:column; align-items:center; gap:6px; }
.share-info { min-width: 0; }
.copy-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.copy-row input { flex: 1 1 240px; min-width: 0; height: 40px; border: 1px solid var(--line);
  border-radius: 9px; padding: 0 13px;
  font-size: 13px; font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--ink-2);
  background: #fcf9f7; }
.copy-row input:focus { outline: none; border-color: var(--brand); }
.copy-row .btn { flex: none; }
.kv { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px 12px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.step-note { display:flex; gap:10px; background: var(--brand-mist); border:1px solid #d7ebe1;
  border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.step-note svg { width: 16px; height:16px; color: var(--brand-700); margin-top:2px; flex:none; }

/* ---------- 设计器 ---------- */
.view-editor { max-width: none; height: 100%; display: flex; flex-direction: column; padding-bottom: 0; }
.ed-bar {
  display: flex; align-items: center; gap: 14px; padding: 0 4px 16px; flex-wrap: wrap;
}
.ed-title-box { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 260px; }
.ed-title-input {
  border: 1px solid transparent; background: transparent; font-size: 19px; font-weight: 800;
  width: min(560px, 100%); padding: 6px 10px; border-radius: 9px; color: var(--ink);
}
.ed-title-input:hover { border-color: var(--line); background: #fff; }
.ed-title-input:focus { outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(75, 162, 180,.12); }
.ed-status-chip { font-size: 12px; color: var(--muted); }
.ed-actions { display: flex; gap: 8px; margin-left: auto; }

.ed-body { flex: 1; display: grid; grid-template-columns: 208px minmax(0, 1fr) 292px; gap: 16px;
  min-height: 0; }
.ed-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.ed-col-left { padding: 14px; overflow: auto; }
.ed-col-title { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: 1px;
  margin-bottom: 10px; display:flex; align-items: baseline; justify-content:space-between;}
.ed-col-title span { font-weight: 400; letter-spacing: 0; }
.palette { display: flex; flex-direction: column; gap: 8px; }
.pal-btn {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  border: 1px dashed var(--line); background: #fcf9f7; color: var(--ink-2); transition: all .14s;
  text-align: left;
}
.pal-btn svg { width: 17px; height: 17px; color: var(--brand); }
.pal-btn:hover { border-color: var(--brand); border-style: solid; background: var(--brand-soft);
  color: var(--brand-700); transform: translateX(2px); }
.pal-btn b { display:block; font-size: 13px; }
.pal-btn span { font-size: 11px; color: var(--muted); display: block; }

.ed-col-center { overflow: auto; padding: 18px 24px 40px; display: block; background: var(--bg); border-color: transparent;
  box-shadow: none; }
.ed-hint-bar { font-size: 12px; color: var(--muted); display:flex; align-items:center; gap:8px;
  background:#eef5f1; border:1px solid #deebe4; padding: 8px 12px; border-radius: 10px; margin-bottom: 16px;}
.ed-hint-bar svg { width: 14px; height:14px; color: var(--brand); }
.canvas-head { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 26px; text-align: center; box-shadow: var(--shadow-sm); }
.canvas-head .ch-logo { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 12px;
  background: #fff; padding: 6px; box-shadow: var(--shadow-sm); display:flex;}
.canvas-head .ch-logo img { width: 100%; height: 100%; object-fit: contain; }
.ch-logo.none { display:none; }
.canvas-head h2 { margin: 0 0 6px; font-size: 21px; }
.canvas-head p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }

.q-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-top: 16px;
  box-shadow: var(--shadow-sm); position: relative; transition: all .14s;
}
.q-card:hover { border-color: #c6ddd2; }
.q-card.sel { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(75, 162, 180,.14); }
.q-card .dragbar { position: absolute; left: -20px; top: 0; bottom: 0; width: 18px;
  display: grid; place-items: center; color: var(--faint); cursor: grab; opacity: 0; transition: all .14s;}
.q-card:hover .dragbar { opacity: 1; }
.q-card .dragbar:hover { color: var(--brand); }
.q-body { padding: 18px 20px 14px; }
.q-label { display: flex; align-items: flex-start; gap: 8px; font-weight: 700; font-size: 15px; line-height: 1.5; }
.q-label .req { color: var(--red); margin-left: 2px; }
.q-help { color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.q-input, .q-area, .q-select { border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px;
  width: 100%; margin-top: 12px; background: #fcf9f7; color: var(--muted); font-size: 13px; }
.q-choice { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.q-choice label { display: flex; align-items: center; gap: 9px; cursor: pointer; color: var(--ink-2); }
.q-choice input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; }
.q-choice .opt-txt { font-size: 13.5px; }
.q-card .q-bar {
  display: flex; justify-content: flex-end; gap: 2px; border-top: 1px solid var(--line-2);
  padding: 6px 8px; background: #fcf9f7; border-radius: 0 0 14px 14px;
}
.q-card .q-bar .icon-btn { width: 28px; height: 28px; }
.notice-card { background: var(--brand-mist); border: 1px dashed #bfe0d0; border-radius: 12px;
  padding: 12px 16px; margin-top: 16px; font-size: 13px; color: var(--brand-deep); display:flex; gap:9px;}
.notice-card svg { width: 16px; height:16px; color: var(--brand); margin-top:1px; flex:none; }
.btn-add-bottom { margin: 18px auto 0; display: flex; border-style: dashed; }

.ed-col-right { min-width: 0; }
.seg { display: flex; border-bottom: 1px solid var(--line); background: #f8faf9; }
.seg-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 4px;
  font-size: 12.5px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.seg-btn svg { width: 15px; height: 15px; }
.seg-btn.active { color: var(--brand-700); border-bottom-color: var(--brand); background: #fff; }
.seg-panel { padding: 16px; overflow: auto; flex: 1; }
.seg-panel::-webkit-scrollbar { width: 0; }
.f-group { margin-bottom: 16px; }
.f-group > label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; letter-spacing: .3px; }
.f-group > label .opt { color: var(--faint); font-weight: 400; }
.ctl-input, .ctl-area, .ctl-select {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px;
  background: #fff; color: var(--ink); transition: all .15s;
}
.ctl-input:focus, .ctl-area:focus, .ctl-select:focus { outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(75, 162, 180,.12); }
.ctl-area { resize: vertical; min-height: 74px; }
.switch { position: relative; display: inline-flex; align-items: center; cursor: pointer; gap: 10px; }
.switch input { position: absolute; opacity: 0; }
.switch .trk { width: 36px; height: 21px; border-radius: 99px; background: #d6ddd9; position: relative; transition: all .2s; }
.switch .trk::after { content: ""; position: absolute; left: 2px; top: 2px; width: 17px; height: 17px;
  border-radius: 50%; background: #fff; transition: all .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .trk { background: var(--brand); }
.switch input:checked + .trk::after { transform: translateX(15px); }
.switch span { font-size: 13px; color: var(--ink-2); }
.radio-row { display: flex; flex-direction: column; gap: 7px; }
.radio-row label { display: flex; align-items: center; gap: 9px; font-size: 13.5px; cursor: pointer; }
.radio-row input { accent-color: var(--brand); width: 15px; height: 15px; margin: 0; }
.opt-editor { display: flex; flex-direction: column; gap: 8px; }
.opt-line { display: flex; gap: 7px; align-items: center; }
.opt-line input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; }
.opt-line .grip { color: var(--faint); cursor: grab; }
.opt-line .icon-btn { width: 28px; height: 28px; }
.color-ctl { display: flex; align-items: center; gap: 9px; }
.color-ctl input[type="color"] { width: 40px; height: 32px; border: 1px solid var(--line); border-radius: 8px;
  padding: 2px; background: #fff; cursor: pointer; }
.color-ctl input[type="text"] { flex: 1; }
.logo-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.logo-opt { flex: 1; min-width: 120px; border: 1.5px solid var(--line); border-radius: 11px; padding: 10px;
  text-align: center; cursor: pointer; color: var(--muted); font-size: 12px; transition: all .15s; background:#fff;}
.logo-opt img { width: 40px; height: 40px; margin: 0 auto 7px; border-radius: 9px; }
.logo-opt .lo-none { width: 40px; height: 40px; border-radius: 9px; background: #f1f4f3; margin: 0 auto 7px;
  display: grid; place-items: center; color: var(--faint); }
.logo-opt.sel { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(75, 162, 180,.12); color: var(--brand-700); }
.logo-opt:hover { border-color: var(--brand); }
.upload-area { border: 1.5px dashed var(--line); border-radius: 11px; padding: 14px; text-align: center;
  color: var(--muted); cursor: pointer; transition: all .15s; margin-top: 9px; background:#fcf9f7;}
.upload-area:hover { border-color: var(--brand); background: var(--brand-mist); color: var(--brand-700); }
.upload-area svg { width: 20px; height: 20px; margin: 0 auto 6px; }
.upload-area p { margin: 0; font-size: 12px; }
.preview-line { display: flex; align-items: center; gap: 11px; margin-top: 10px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.preview-line img { width: 40px; height: 40px; border-radius: 8px; }
.preview-line .info { flex: 1; }
.preview-line .info b { display: block; font-size: 13px; }
.preview-line .info span { font-size: 11.5px; color: var(--muted); }

/* ---------- 统计 ---------- */
.stats-top { display:flex; align-items:center; gap: 12px; flex-wrap:wrap; }
.stats-top select { max-width: 420px; }
.kpi-row { display:grid; grid-template-columns: repeat(4,1fr); gap:14px; margin-bottom:16px; }
.kpi { background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 18px; box-shadow: var(--shadow-sm);}
.kpi .lb { color: var(--muted); font-size:12.5px; display:flex; align-items:center; gap:6px; }
.kpi .lb svg { width:14px; height:14px; }
.kpi .num { font-size:26px; font-weight:800; margin-top:6px; }
.kpi .num small { font-size: 13px; color: var(--faint); font-weight:600;}
.stats-cols { display:grid; grid-template-columns: 1.25fr 1fr; gap:16px; align-items:start; }
.trend { display:flex; align-items:flex-end; gap:6px; height: 170px; padding-top: 10px; }
.trend-col { flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; height:100%; justify-content:flex-end; min-width:0;}
.trend-col .bar { width: 70%; max-width:34px; background: linear-gradient(180deg,#2cc98b,#4ba2b4); border-radius: 6px 6px 3px 3px; min-height:2px; transition: height .5s cubic-bezier(.2,.8,.2,1); position:relative;}
.trend-col .bar.empty { background:#e6ebe9; }
.trend-col:hover .bar { filter: brightness(.94); }
.trend-col .cnt { font-size: 10px; color: var(--muted); font-weight:700; height:12px;}
.trend-col .lbl { font-size: 10.5px; color: var(--muted); }
.trend-col.today .lbl { color: var(--brand-700); font-weight:700; }
.chart-block { margin-bottom: 18px; }
.chart-block h4 { margin: 0 0 6px; font-size: 13.5px; display:flex; align-items:center; gap:8px;}
.chart-block h4 .tag { margin-left:auto; font-weight: 600;}
.dist-row { margin-bottom: 12px; }
.dist-head { display:flex; justify-content:space-between; font-size: 12.5px; margin-bottom: 6px; color: var(--ink-2);}
.dist-head b { font-weight:700; }
.dist-head span { color: var(--muted); }
.dist-track { height: 22px; background: #f0f3f2; border-radius: 7px; overflow: hidden; position: relative; }
.dist-fill { height: 100%; background: linear-gradient(90deg,#16b573,#4ba2b4); border-radius: 7px; min-width: 2px;
  transition: width .4s ease; position:relative;}
.dist-fill .pct { position:absolute; right:8px; top:50%; transform:translateY(-50%); font-size:10.5px;
  font-weight:800; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.2); }
.dist-row.opt-other .dist-fill { background: #9db6ad; }
.avg-badge { display:inline-flex; align-items:center; gap:6px; font-weight:800; color: var(--amber); }

.table-wrap { overflow-x: auto; }
.card > .table-wrap { border-radius: inherit; overflow-y: hidden; }
.sub-table { width:100%; border-collapse: collapse; font-size: 13px; }
.sub-table th { text-align:left; font-weight:600; color:var(--muted); font-size:12px; padding:9px 10px;
  border-bottom:1px solid var(--line); background:#fcf9f7; position:sticky; top:0;}
.sub-table td { padding:10px; border-bottom:1px solid var(--line-2); vertical-align:top; }
.sub-table tr:hover td { background:#fcf9f7; }
.sub-val { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display:inline-block; vertical-align:bottom;}
.pager { display:flex; align-items:center; justify-content:center; gap:10px; padding:14px 0 2px; color:var(--muted); font-size:12.5px; }
.pager .btn { height: 30px; padding: 0 11px; font-size:12.5px; }

/* ---------- 品牌 / 设置 ---------- */
.brand-grid { display:grid; grid-template-columns: 1fr 1fr; gap:16px; align-items:start; }
.brand-preview-card { position: sticky; top: 24px; }
.bp-head { border-radius: 16px 16px 0 0; padding: 22px 24px; display:flex; align-items:center; gap:16px; }
.bp-head.light { background:#fff; border-bottom:1px solid var(--line); }
.bp-head.brand { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color:#fff; }
.bp-head.deep { background: linear-gradient(135deg, #2f5f68, #05281f); color:#fff; }
.bp-logo { width:58px; height:58px; border-radius: 16px; background:#fff; padding:5px; box-shadow:var(--shadow-sm); flex:none;}
.bp-head.brand .bp-logo, .bp-head.deep .bp-logo { box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.bp-logo img { width:100%; height:100%; object-fit:contain; border-radius: 10px;}
.bp-name b { font-size: 19px; display:block; }
.bp-name span { font-size: 12.5px; opacity: .82; display:block; margin-top:3px; }
.bp-name .ghost { color: var(--muted); opacity:.7;}
.bp-body { background:#f7f9f8; border-radius: 0 0 16px 16px; padding: 20px 24px; }
.bp-q { background:#fff; border:1px solid var(--line); border-radius:12px; padding:13px 16px; margin-bottom:12px;}
.bp-q .lab { font-size:13px; font-weight:700; display:flex; align-items:center; gap:6px;}
.bp-q .lab .req{ color:var(--red); }
.bp-q .in { border:1px solid var(--line); background:#fff; border-radius:8px; padding:9px 12px; margin-top:10px; color:var(--muted); font-size:13px;}
.bp-q .opt-line-pv { display:flex; gap:14px; margin-top:12px; color:var(--ink-2); font-size:13px;}
.swatch-row { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.swatch { width:30px; height:30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor:pointer; transition: transform .12s; }
.swatch.sel { box-shadow: 0 0 0 2px var(--brand); transform: scale(1.1); }
.color-row { display:flex; align-items:center; gap:10px; margin-top:10px; }
.support-line { display:flex; align-items:center; gap:10px; padding:11px 14px; border:1px solid var(--line); border-radius: 10px; background:#fff;}
.support-line img { width: 26px; height: 26px; border-radius: 6px; }
.support-line .tx { font-size: 12.5px; color: var(--muted); flex:1; }
.support-line .tx b { color: var(--ink); }

/* ---------- Toast ---------- */
.toasts { position: fixed; top: 20px; right: 22px; z-index: 99; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px; min-width: 230px; max-width: 360px;
  animation: slideIn .25s ease; font-weight: 600; font-size: 13.5px;
}
.toast svg { width: 18px; height: 18px; }
.toast.ok { color: var(--brand-700); } .toast.ok svg { color: var(--brand); }
.toast.err { color: var(--red); } .toast.err svg { color: var(--red); }
.toast.out { animation: slideOut .2s ease forwards; }
@keyframes slideIn { from { opacity:0; transform: translateX(30px);} to {opacity:1; transform:none;} }
@keyframes slideOut { to { opacity:0; transform: translateX(30px);} }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .side { width: 68px; }
  .side-brand .brand-txt, .nav-item span, .nav-label, .ph-item span, .ph-item i,
  .side-foot .btn-side-ext, .ver { display: none; }
  .side-brand { justify-content: center; padding: 18px 0 12px; }
  .side-nav { padding: 6px; }
  .nav-item { justify-content: center; padding: 11px; }
  .nav-item.active::before { left: -6px; }
  .ph-item { justify-content: center; padding: 9px; }
  .ed-body { grid-template-columns: 172px minmax(0,1fr) 264px; }
}
@media (max-width: 900px) {
  .two-col, .stats-cols, .brand-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-body { grid-template-columns: 1fr; overflow:auto; }
  .ed-col-left, .ed-col-right { display:none; }
  .ed-bar { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .modal, .modal.wide { width: calc(100vw - 24px); }
  .modal-b { padding: 16px; }
  .share-grid { grid-template-columns: 1fr; gap: 16px; }
  .share-qr { width: 100%; max-width: 220px; margin: 0 auto; }
  .copy-row input { flex: 1 1 100%; }
  .kv { grid-template-columns: 76px minmax(0, 1fr); }
}


/* ================= 账号与权限（新增） ================= */
.tb-user {
  display: flex; align-items: center; gap: 9px; margin-left: auto; padding-left: 16px;
  border-left: 1px solid var(--line); white-space: nowrap;
}
.tb-ava {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.tb-tx { display: flex; flex-direction: column; line-height: 1.25; margin-right: 2px; }
.tb-tx b { font-size: 13px; color: var(--ink); max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.tb-tx span { font-size: 11px; color: var(--muted); }
.tb-user .icon-btn { padding: 5px; }
.tb-user .icon-btn:hover { background: var(--red-soft); color: var(--red); }

.u-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 18px; }
.u-stat { display: flex; align-items: center; gap: 12px; padding: 15px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.u-stat .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.u-stat .n { font-size: 22px; font-weight: 800; line-height: 1.1; }
.u-stat .l { color: var(--muted); font-size: 12px; }

.role-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 700; white-space: nowrap; }
.role-super { background: linear-gradient(135deg, #b45309, #92400e); color: #fff; }
.role-user { background: var(--brand-soft); color: var(--brand-700); }

.perm-tags { display: flex; flex-wrap: wrap; gap: 5px; max-width: 380px; }
.perm-tag { font-size: 11.5px; padding: 2px 8px; border-radius: 6px;
  background: #eef3f1; color: #2c5344; border: 1px solid #dce8e2; }
.perm-tag.all { background: var(--amber-soft); color: #8a5a06; border-color: #f0dfb9; }
.perm-none { color: var(--faint); font-size: 12px; }

.u-ava { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 14px; flex: none;
  background: linear-gradient(135deg, #3d8f9f, #427e8a); }
.u-ava.super { background: linear-gradient(135deg, #d97706, #92400e); }
.u-main { display: flex; align-items: center; gap: 11px; min-width: 0; }
.u-main b { display: block; font-size: 14px; }
.u-main .un { color: var(--muted); font-size: 12px; }

.cb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 4px 0 2px; }
.cb-grid label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.cb-grid input { width: 16px; height: 16px; accent-color: var(--brand-700); }
.preset-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.preset-row .btn { font-size: 12px; padding: 5px 12px; }
.hint-badge { display: flex; gap: 8px; align-items: flex-start; background: var(--amber-soft);
  color: #7c5206; border-radius: 10px; padding: 9px 12px; font-size: 12.5px; line-height: 1.6; }
.hint-badge svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.lock-note { color: var(--muted); font-size: 12px; margin-top: 6px; }
.off-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--red); }
/* ===== 投标风险审查（企脉图谱模块） ===== */
#view-risk .risk-frame { padding: 0; overflow: hidden; }
#view-risk iframe { width: 100%; height: calc(100vh - 150px); min-height: 560px; border: 0; display: block; background: #fff; }
@media (max-width: 900px) { #view-risk iframe { min-height: 460px; } }

/* ===== 会展工具箱 · 会展项目 & 活动报名 ===== */
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-left: auto; flex: none; }
.skeleton { color: var(--muted); font-size: 13px; padding: 28px 0; text-align: center; }
.evt-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.evt-mini .em { background: #f7f5f2; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.evt-mini .em.hi { background: var(--amber-soft); border-color: #f0dfae; }
.evt-mini .em b { display: block; font-size: 22px; font-weight: 800; color: var(--ink); }
.evt-mini .em span { font-size: 12px; color: var(--muted); }

/* 项目卡片 */
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.pj-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: all .18s; }
.pj-card:hover { border-color: #d7ebef; box-shadow: 0 8px 22px rgba(10, 60, 40, .08); transform: translateY(-1px); }
.pj-top { display: flex; align-items: flex-start; gap: 11px; }
.pj-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-700);
  display: grid; place-items: center; flex: none; }
.pj-ic svg { width: 19px; height: 19px; }
.pj-name { min-width: 0; flex: 1; }
.pj-name b { display: block; font-size: 15.5px; }
.pj-name span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.pj-name span svg { width: 13px; height: 13px; flex: none; }
.pj-sub { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12.5px; margin: 10px 0 12px; }
.pj-sub svg { width: 14px; height: 14px; color: var(--faint); flex: none; }
.pj-bar-hd { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); }
.pj-bar-hd b { font-size: 14px; color: var(--ink); }
.pj-bar-hd b small { color: var(--faint); font-weight: 600; margin-left: 6px; font-size: 11.5px; }
.pj-track { height: 7px; border-radius: 99px; background: #f2efe9; margin-top: 7px; overflow: hidden; }
.pj-track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #12b981, #0a7f56); }
.pj-track.full i { background: linear-gradient(90deg, #f0a72c, #d97706); }
.pj-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px;
  padding-top: 12px; border-top: 1px dashed var(--line); }
.pj-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pj-ops { display: flex; gap: 4px; }

/* 详情页 Tab */
.pj-tabbar { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 6px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.pj-tab { display: flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--muted); }
.pj-tab svg { width: 16px; height: 16px; }
.pj-tab em { font-style: normal; font-size: 11.5px; background: #f2efe9; color: var(--ink-2);
  border-radius: 99px; padding: 1px 7px; }
.pj-tab.active { background: var(--brand-soft); color: var(--brand-700); }
.pj-tab.active em { background: #fff; color: var(--brand-700); }

/* 报名名单 */
.seg-inline { display: inline-flex; gap: 3px; background: #f2efe9; border-radius: 9px; padding: 3px; }
.seg-inline button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--muted); }
.seg-inline button em { font-style: normal; font-size: 11px; background: #fff; color: var(--muted);
  border-radius: 99px; padding: 0 6px; }
.seg-inline button.active { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }
.seg-inline button.active em { background: var(--brand-soft); color: var(--brand-700); }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 20px; background: #f8fbfa; border-bottom: 1px solid var(--line); }
.sheet-ops { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sheet-ops .btn { height: 30px; padding: 0 11px; font-size: 12.5px; }
.cb-inline { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.cb-inline input { width: 15px; height: 15px; accent-color: var(--brand); }
.sg-table th, .sg-table td { vertical-align: middle; }
.sg-table input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--brand); }
.sg-no { font-size: 12px; color: var(--ink-2); background: #f4f7f6; border-radius: 6px; padding: 2px 7px; }
.sg-val { display: inline-block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-detail-hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.switch-row { display: flex; gap: 26px; flex-wrap: wrap; margin: 4px 0 16px; }
.danger-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.danger-row b { font-size: 14px; }
.tag-lbl.link:hover { background: #d9efe4; }
.pick-list { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow: auto; }
.pick-row { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 11px;
  padding: 11px 13px; cursor: pointer; }
.pick-row:hover { border-color: #d7ebef; background: #fcf9f7; }
.pick-row.sel { border-color: var(--brand); background: var(--brand-mist); }
.pick-row input { accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.pick-row b { display: block; font-size: 13.5px; }
.pick-row span { color: var(--muted); font-size: 12px; }
.pick-row .lock { font-style: normal; color: var(--amber); font-size: 12px; margin-left: 8px; }
/* 数字签到 · 核销 */
.ck-verify { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ck-verify .search { min-width: 320px; }
.ck-tip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px;
  font-size: 12.5px; color: var(--muted); background: #f7f5f2; border: 1px dashed var(--line);
  border-radius: 10px; padding: 9px 12px; }
.ck-tip svg { width: 15px; height: 15px; }
.ck-alert { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px;
  border-radius: 12px; font-size: 13px; border: 1px solid var(--line); background: #f7f5f2; }
.ck-alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.ck-alert.ok { background: var(--brand-soft); border-color: rgba(75, 162, 180, .25); }
.ck-alert.ok svg { color: var(--brand); }
.ck-alert.warn { background: #fff8e9; border-color: rgba(214, 158, 46, .32); }
.ck-alert.warn svg { color: var(--amber); }
.ck-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* 电子座位图（支持全屏） */
.seat-wrap { display: flex; gap: 16px; align-items: flex-start; }
.seat-main { flex: 1; min-width: 0; }
.seat-side { width: 330px; flex: none; }
/* 后台座位图：座位按姓名宽度排版（默认 --seatw ≈ 2.4 倍格高） */
.seat-map { --seat: 30px; --seatw: calc(var(--seat) * 2.4); }
.seat-legend { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 12.5px; color: var(--muted); }
.seat-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px;
  vertical-align: -1px; border: 1px solid var(--line); background: #fff; }
.seat-legend i.k-vip { background: #fbf0dd; border-color: #eddcbb; }
.seat-legend i.k-staff { background: #e6eeff; border-color: #cfdcf7; }
.seat-legend i.k-blocked { background: #eceeed; border-color: #dfe4e2; }
.seat-legend i.taken { background: var(--brand); border-color: var(--brand); }
.seat-zone { margin-bottom: 20px; }
.seat-zone h4 { margin: 0 0 10px; font-size: 13px; color: #33463e; display: flex; gap: 8px; align-items: center; }
.seat-zone h4 em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 12px; }
.seat-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.seat-row .rl { width: 32px; flex: none; font-size: 11.5px; color: #9aaba3; text-align: right; }
.seat-colhead { margin-bottom: 3px; }
.seat-colhead .rl { visibility: hidden; }
.seat-colhead .ch { width: var(--seatw); flex: none; text-align: center; font-size: 10.5px;
  color: #9aaba3; line-height: 1; overflow: hidden; }
.seat { width: var(--seatw); height: var(--seat); border-radius: 6px; border: 1px solid var(--line);
  background: #fff; font-size: 11px; color: #5b6b64; cursor: pointer; padding: 0 5px; flex: none;
  display: block; line-height: calc(var(--seat) - 2px); text-align: center;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  transition: transform .1s, box-shadow .1s; }
.seat:hover { border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(75, 162, 180, .18); }
.seat.k-vip { background: #fbf0dd; border-color: #eddcbb; color: #a9761a; }
.seat.k-staff { background: #e6eeff; border-color: #cfdcf7; color: #3b5aa8; }
.seat.k-blocked { background: repeating-linear-gradient(45deg, #f7f5f2, #f7f5f2 4px, #ece7e2 4px, #ece7e2 8px);
  color: #9fada7; cursor: not-allowed; font-size: 9px; letter-spacing: 0; }
.seat.taken { background: var(--brand); border-color: var(--brand); color: #fff; }
.seat.taken.k-vip { background: #e6a23c; border-color: #e6a23c; color: #fff; }
.seat.taken.k-staff { background: #5677c9; border-color: #5677c9; color: #fff; }
.seat.sel { outline: 2px solid var(--brand-700); outline-offset: 1px; }
.seat.named { font-weight: 600; font-size: 11.5px; letter-spacing: .01em; }
/* 拖拽排座：拖动中淡化，落点虚线提示（绿=移到空位，橙=与已排座互换） */
.seat.dragging { opacity: .4; }
.seat.drop-ok { outline: 2px dashed var(--brand); outline-offset: 1px; background: var(--brand-soft); }
.seat.drop-swap { outline: 2px dashed #e6a23c; outline-offset: 1px; }
.seat-pick-list button.dragging { opacity: .4; }
.seat.hit { animation: seatHit 1.2s ease-in-out 2; }
@keyframes seatHit { 0%, 100% { box-shadow: 0 0 0 0 rgba(75, 162, 180, .5); } 50% { box-shadow: 0 0 0 9px rgba(75, 162, 180, 0); } }
.seat-stage { text-align: center; margin: 4px 0 18px; }
.seat-stage span { display: inline-block; min-width: 46%; padding: 6px 20px; border-radius: 8px;
  background: #f2efe9; color: #7b8a84; font-size: 12px; letter-spacing: .32em; }
.seat-scroll { overflow: auto; max-height: 62vh; padding: 4px 2px 8px; }
.seat-side .f-group { margin-bottom: 12px; }
.seat-side .ctl-input, .seat-side select { width: 100%; }
.seat-ops { display: flex; flex-wrap: wrap; gap: 8px; }
.seat-manual { display: flex; flex-direction: column; gap: 8px; }
.seat-manual .btn { align-self: flex-start; }
.seat-manual .ctl-input { width: 100%; }
.zone-row { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr .8fr 36px; gap: 8px; align-items: center; margin-bottom: 8px; }
.zone-row input, .zone-row select { height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 9px;
  font-size: 12.5px; color: var(--ink); background: #fcf9f7; width: 100%; }
.zone-row .zl { font-size: 11.5px; color: var(--muted); text-align: center; }
.guest-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.guest-line:last-child { border-bottom: 0; }
.guest-line .gm { flex: 1; min-width: 0; }
.guest-line .gm b { display: block; font-size: 13px; }
.guest-line .gm span { font-size: 11.5px; color: var(--muted); }
.seat-pick-list { max-height: 210px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; }
.seat-pick-list button { display: block; width: 100%; text-align: left; border: 0; background: none; cursor: pointer;
  padding: 8px 10px; font-size: 12.5px; color: var(--ink); border-bottom: 1px solid var(--line); }
.seat-pick-list button:last-child { border-bottom: 0; }
.seat-pick-list button:hover { background: var(--brand-soft); }
/* ===== 会场座位图 · 全屏大屏（可切换三套主题，均为浅色，不使用黑色底） ===== */
.seat-full { position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate; color: var(--sf-text); background: var(--sf-bg);
  font-variant-numeric: tabular-nums; }
/* 主题一：科技蓝 —— 浅蓝青底 + 网格 + 光晕 + HUD 角标 */
.seat-full[data-theme="tech"] {
  --sf-bg: linear-gradient(155deg, #eef7fe 0%, #e2f1fb 44%, #e9f8f6 100%);
  --sf-text: #0b3a4a; --sf-muted: #4d7b8d; --sf-faint: #8bafbd;
  --sf-line: rgba(12, 96, 128, .16); --sf-panel: rgba(255, 255, 255, .74);
  --sf-accent: #4ba2b4; --sf-accent-2: #06b6a4; --sf-glow: rgba(8, 145, 178, .3);
  --sf-grid: rgba(12, 96, 128, .07); --sf-grid-op: .62;
  --sf-deco: radial-gradient(58% 48% at 10% 0%, rgba(14, 165, 233, .22), transparent 68%),
             radial-gradient(50% 42% at 90% 4%, rgba(6, 182, 164, .2), transparent 70%);
  --sf-head: linear-gradient(90deg, rgba(8, 145, 178, .1), rgba(6, 182, 164, .04));
  --sf-seat: #ffffff; --sf-seat-line: #b6d6e5; --sf-seat-text: #2b6b80;
  --sf-taken: linear-gradient(180deg, #17a5ba, #0b7f97); --sf-taken-line: #0b7285;
  --sf-vip: #fff8e6; --sf-vip-line: #efd08c; --sf-vip-text: #a06a12;
  --sf-vip-taken: linear-gradient(180deg, #f0b552, #dd9526); --sf-vip-taken-line: #d18f22;
  --sf-staff: #eef3ff; --sf-staff-line: #c6d4f6; --sf-staff-text: #40539c;
  --sf-staff-taken: linear-gradient(180deg, #6c8ce0, #4f6bc4); --sf-staff-taken-line: #4f6bc4;
  --sf-blocked: repeating-linear-gradient(45deg, #eef6f9, #eef6f9 5px, #e3eef4 5px, #e3eef4 10px);
  --sf-blocked-line: #d3e2ea; --sf-blocked-text: #93aeb9;
  --sf-stage: linear-gradient(90deg, rgba(8, 145, 178, .1), rgba(6, 182, 164, .18), rgba(8, 145, 178, .1));
  --sf-stage-text: #12657c;
}
/* 主题二：生态绿 —— 浅绿底 + 光斑 + 圆润亲和的绿球品牌色 */
.seat-full[data-theme="eco"] {
  --sf-bg: linear-gradient(155deg, #f5fdf7 0%, #e4f7ec 46%, #effbf3 100%);
  --sf-text: #10382a; --sf-muted: #4f7a68; --sf-faint: #8cb2a1;
  --sf-line: rgba(12, 122, 80, .16); --sf-panel: rgba(255, 255, 255, .76);
  --sf-accent: #4ba2b4; --sf-accent-2: #3ecf8e; --sf-glow: rgba(75, 162, 180, .3);
  --sf-grid: rgba(12, 122, 80, .06); --sf-grid-op: .5;
  --sf-deco: radial-gradient(55% 46% at 8% 2%, rgba(62, 207, 142, .26), transparent 70%),
             radial-gradient(48% 40% at 92% 6%, rgba(75, 162, 180, .17), transparent 72%),
             radial-gradient(46% 36% at 50% 106%, rgba(62, 207, 142, .2), transparent 72%);
  --sf-head: linear-gradient(90deg, rgba(75, 162, 180, .1), rgba(62, 207, 142, .05));
  --sf-seat: #ffffff; --sf-seat-line: #bfe3d1; --sf-seat-text: #2c6b52;
  --sf-taken: linear-gradient(180deg, #17b174, #0a8b58); --sf-taken-line: #0a8b58;
  --sf-vip: #fff9e6; --sf-vip-line: #eed89a; --sf-vip-text: #a07a12;
  --sf-vip-taken: linear-gradient(180deg, #f0bb52, #d99f28); --sf-vip-taken-line: #cf9824;
  --sf-staff: #eef4f2; --sf-staff-line: #cbdcd6; --sf-staff-text: #4a6b60;
  --sf-staff-taken: linear-gradient(180deg, #7f9c93, #64827a); --sf-staff-taken-line: #64827a;
  --sf-blocked: repeating-linear-gradient(45deg, #f5f9fa, #f5f9fa 5px, #e4efe9 5px, #e4efe9 10px);
  --sf-blocked-line: #d5e5dd; --sf-blocked-text: #94b0a4;
  --sf-stage: linear-gradient(90deg, rgba(75, 162, 180, .1), rgba(62, 207, 142, .2), rgba(75, 162, 180, .1));
  --sf-stage-text: #0d6b48;
}
/* 主题三：党建红 —— 米白底 + 中国红与金色 + 光芒射线 */
.seat-full[data-theme="party"] {
  --sf-bg: linear-gradient(158deg, #fff9f6 0%, #ffefea 46%, #fff8f1 100%);
  --sf-text: #6d1220; --sf-muted: #9c6559; --sf-faint: #c69c91;
  --sf-line: rgba(190, 24, 50, .18); --sf-panel: rgba(255, 255, 255, .8);
  --sf-accent: #c8102e; --sf-accent-2: #d8a12a; --sf-glow: rgba(200, 16, 46, .28);
  --sf-grid: rgba(190, 24, 50, .05); --sf-grid-op: 0;
  --sf-deco: radial-gradient(78% 58% at 50% -12%, rgba(216, 161, 42, .3), transparent 70%),
             conic-gradient(from 200deg at 50% -10%, rgba(200, 16, 46, .1), transparent 18%,
               rgba(200, 16, 46, .08) 34%, transparent 46%, rgba(216, 161, 42, .12) 70%, transparent 84%),
             radial-gradient(46% 34% at 6% 102%, rgba(200, 16, 46, .1), transparent 72%);
  --sf-head: linear-gradient(90deg, rgba(200, 16, 46, .1), rgba(216, 161, 42, .1));
  --sf-seat: #fffdfb; --sf-seat-line: #eec7bd; --sf-seat-text: #a8402f;
  --sf-taken: linear-gradient(180deg, #e23a2e, #c3102a); --sf-taken-line: #ad0f26;
  --sf-vip: #fff8e4; --sf-vip-line: #e8c46a; --sf-vip-text: #a9761a;
  --sf-vip-taken: linear-gradient(180deg, #e0b03d, #c8901c); --sf-vip-taken-line: #bf881a;
  --sf-staff: #fdf3ea; --sf-staff-line: #eddbc6; --sf-staff-text: #9a6f4a;
  --sf-staff-taken: linear-gradient(180deg, #d9a86a, #bd8a4e); --sf-staff-taken-line: #bd8a4e;
  --sf-blocked: repeating-linear-gradient(45deg, #fbe9e6, #fbe9e6 5px, #f5e2df 5px, #f5e2df 10px);
  --sf-blocked-line: #eed9d0; --sf-blocked-text: #c1978c;
  --sf-stage: linear-gradient(90deg, rgba(200, 16, 46, .12), rgba(216, 161, 42, .22), rgba(200, 16, 46, .12));
  --sf-stage-text: #9c1226;
}
/* 背景装饰层：光晕 / 射线 + 网格，全部浮在内容之下 */
.seat-full::before { content: ''; position: absolute; inset: 0; background-image: var(--sf-deco); pointer-events: none; }
.seat-full::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--sf-grid-op, .55);
  background-image: linear-gradient(var(--sf-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--sf-grid) 1px, transparent 1px);
  background-size: 54px 54px, 54px 54px; }
.seat-full > * { position: relative; z-index: 1; }
.seat-full-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; flex-wrap: wrap;
  border-bottom: 1px solid var(--sf-line); background: var(--sf-panel);
  backdrop-filter: blur(10px); box-shadow: 0 10px 30px -22px var(--sf-glow); }
.seat-full-h::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--sf-accent), var(--sf-accent-2), var(--sf-accent)); }
.seat-full-h h3 { margin: 0; font-size: 15px; color: var(--sf-text); }
.seat-full-h .muted { color: var(--sf-muted) !important; }
.seat-full-h .search { background: rgba(255, 255, 255, .85); border-color: var(--sf-line); }
.seat-full-h .search input, .seat-full-h .search svg { color: var(--sf-text); }
.seat-full-main { flex: 1; display: flex; min-height: 0; }
.seat-full-b { flex: 1; min-width: 0; overflow: auto; padding: 22px 22px 44px; }
/* 全屏排座侧栏：仅「排座模式」显示，展示模式下完全隐藏 */
.seat-full-side { display: none; }
.seat-full.edit .seat-full-side { display: block; width: 348px; flex: none; overflow: auto;
  padding: 20px 16px 40px; border-left: 1px solid var(--sf-line); background: var(--sf-panel);
  backdrop-filter: blur(10px); }
.seat-full.edit .seat-full-side .muted { color: var(--sf-muted) !important; }
.sf-side-card { border: 1px solid var(--sf-line); border-radius: 14px; padding: 14px; color: var(--sf-text);
  background: rgba(255, 255, 255, .72); box-shadow: 0 14px 30px -26px var(--sf-glow); }
.sf-side-card + .sf-side-card { margin-top: 12px; }
.sf-side-card h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; color: var(--sf-text); }
.sf-side-card h4 svg { color: var(--sf-accent); }
.sf-side-chip { margin-left: auto; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  color: var(--sf-accent); background: rgba(255, 255, 255, .9); border: 1px solid var(--sf-line); }
.sf-side-who { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.sf-side-who b { font-size: 17px; color: var(--sf-accent); }
.sf-side-guest { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px;
  padding: 8px 10px; border-radius: 10px; background: var(--sf-head); }
.sf-side-guest b { color: var(--sf-text); }
.sf-side-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sf-side-search { display: flex; margin-bottom: 10px; }
.sf-side-list { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow: auto; }
.sf-side-list button { text-align: left; padding: 8px 10px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--sf-line); background: rgba(255, 255, 255, .92); color: var(--sf-text);
  font-size: 12.5px; transition: border-color .15s, transform .1s; }
.sf-side-list button:hover { border-color: var(--sf-accent); transform: translateX(2px); }
.sf-side-list button.dragging { opacity: .4; }
.sf-side-tip { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px;
  border-radius: 12px; font-size: 12px; line-height: 1.6; color: var(--sf-muted); border: 1px dashed var(--sf-line); }
.sf-side-tip svg { flex: none; margin-top: 2px; color: var(--sf-accent); }
.seat-full.edit .seat-full-side .f-group label { color: var(--sf-muted); }
.seat-full.edit .seat-full-side .ctl-input { background: rgba(255, 255, 255, .92); color: var(--sf-text);
  border-color: var(--sf-line); }
.seat-full.edit .seat { cursor: grab; }
.seat-full.edit .seat:active { cursor: grabbing; }
.seat-full.edit .seat.dragging { opacity: .4; }
.seat-full.edit .seat.drop-ok { outline: 2px dashed var(--sf-accent); outline-offset: 2px;
  background: rgba(255, 255, 255, .42); box-shadow: 0 10px 20px -14px var(--sf-glow); }
.seat-full.edit .seat.drop-swap { outline: 2px dashed var(--sf-vip-taken-line); outline-offset: 2px; }

/* 姓名牌：210mm×280mm 可打印三角立牌设置与预览 */
.namecard-setting { display: flex; gap: 20px; align-items: flex-start; }
.namecard-form { flex: 1; min-width: 0; }
.namecard-preview { flex: none; width: 420px; text-align: center; }
.namecard-preview canvas { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; box-shadow: 0 10px 30px -20px rgba(0,0,0,.2); cursor: grab; }
.namecard-preview canvas:active { cursor: grabbing; }
.namecard-preview .muted { margin-top: 8px; }
.namecard-actions { display: flex; gap: 10px; margin: 14px 0 10px; }
.namecard-actions .btn { flex: 1; justify-content: center; }
input[type="color"].ctl-input { width: 64px; height: 36px; padding: 2px; cursor: pointer; }

/* 背景色预设 */
.namecard-presets { display: flex; gap: 10px; flex-wrap: wrap; }
.nc-color { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; padding: 0; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .15s, box-shadow .15s; }
.nc-color:hover { transform: scale(1.1); }
.nc-color.active { border-color: #fff; box-shadow: 0 0 0 2px var(--brand), 0 2px 6px rgba(0,0,0,.2); }
.nc-color span { position: absolute; inset: 0; border-radius: 50%; background: inherit; }

/* 背景图上传行 */
.nc-file-row { display: flex; gap: 10px; align-items: center; }
.nc-file-row .ctl-input { flex: 1; }

@media (max-width: 860px) {
  .namecard-setting { flex-direction: column; }
  .namecard-preview { width: 100%; }
}

.seat-full .seat-map { --seat: 34px; --seatw: calc(var(--seat) * 2.4);
  width: max-content; margin: 0 auto; }
/* 大屏：整块居中、统一列宽、显示姓名与行列编号；四角 HUD 框线 */
.seat-full .seat-zone { width: max-content; margin-left: auto; margin-right: auto; }
.seat-full .seat-zone h4 { justify-content: center; }
.seat-full .seat-row .rl { width: 44px; font-size: 13px; }
.seat-full .seat-colhead .ch { font-size: 12px; }
.seat-full .seat-map-big { position: relative; padding: 20px 14px 12px; border-radius: 20px;
  border: 1px dashed var(--sf-line); }
.seat-full .seat { width: var(--seatw); height: var(--seat); display: block; padding: 0 6px;
  border-radius: 8px; font-size: 13px; line-height: calc(var(--seat) - 2px); text-align: center;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.seat-full .seat.named { font-weight: 700; }
.seat-full .seat.aisle { font-size: 11px; }
.seat-full-title { text-align: center; margin-bottom: 20px; }
.seat-full-title h2 { margin: 0; font-size: 23px; color: var(--sf-text); letter-spacing: .04em; }
.seat-full-title p { margin: 8px 0 0; color: var(--sf-muted); font-size: 13px; }
.seat-full .seat { cursor: pointer; }
/* 座位配色全部走主题变量，语义不变（空位 / 已排座 / 贵宾 / 工作席 / 通道） */
.seat-full .seat { background: var(--sf-seat); border-color: var(--sf-seat-line); color: var(--sf-seat-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 2px 6px -4px rgba(16, 60, 80, .35); }
.seat-full .seat.taken { background: var(--sf-taken); border-color: var(--sf-taken-line); color: #fff;
  box-shadow: 0 4px 12px -7px var(--sf-glow); }
.seat-full .seat.k-vip { background: var(--sf-vip); border-color: var(--sf-vip-line); color: var(--sf-vip-text); }
.seat-full .seat.taken.k-vip { background: var(--sf-vip-taken); border-color: var(--sf-vip-taken-line); color: #fff; }
.seat-full .seat.k-staff { background: var(--sf-staff); border-color: var(--sf-staff-line); color: var(--sf-staff-text); }
.seat-full .seat.taken.k-staff { background: var(--sf-staff-taken); border-color: var(--sf-staff-taken-line); color: #fff; }
.seat-full .seat.k-blocked { background: var(--sf-blocked); border-color: var(--sf-blocked-line); color: var(--sf-blocked-text); }
.seat-full .seat:hover { border-color: var(--sf-accent); transform: translateY(-2px);
  box-shadow: 0 12px 22px -14px var(--sf-glow); }
.seat-full .seat.sel { outline: 2px solid var(--sf-accent); outline-offset: 2px; }
.seat-full .seat.hit { animation: sfHit 1.3s ease-in-out 2; }
@keyframes sfHit { 0%, 100% { box-shadow: 0 0 0 0 var(--sf-glow); } 50% { box-shadow: 0 0 0 12px transparent; } }
.seat-full .seat-row .rl { color: var(--sf-faint); }
.seat-full .seat-colhead .ch { color: var(--sf-faint); }
.seat-full .seat-stage span { background: var(--sf-stage); color: var(--sf-stage-text);
  border: 1px solid var(--sf-line); border-radius: 999px; font-weight: 600; }
.seat-full .seat-zone h4 { color: var(--sf-text); }
.seat-full .seat-zone h4 em { color: var(--sf-muted); }
.seat-full .seat-legend { color: var(--sf-muted); }
.seat-full .seat-legend i { border-color: var(--sf-seat-line); background: var(--sf-seat); }
.seat-full .seat-legend i.taken { background: var(--sf-taken); border-color: var(--sf-taken-line); }
.seat-full .seat-legend i.k-vip { background: var(--sf-vip); border-color: var(--sf-vip-line); }
.seat-full .seat-legend i.k-staff { background: var(--sf-staff); border-color: var(--sf-staff-line); }
.seat-full .seat-legend i.k-blocked { background: var(--sf-blocked); border-color: var(--sf-blocked-line); }
/* 大屏选座信息条 */
.seat-full-sel { display: none; width: max-content; max-width: 100%; margin: 0 auto 16px;
  padding: 10px 20px; border-radius: 999px; background: var(--sf-panel); border: 1px solid var(--sf-line);
  color: var(--sf-text); font-size: 13px; align-items: center; gap: 8px;
  box-shadow: 0 12px 30px -20px var(--sf-glow); backdrop-filter: blur(8px); }
.seat-full-sel.on { display: flex; }
.seat-full-sel svg { color: var(--sf-accent); }
.seat-full-sel b { font-size: 15px; color: var(--sf-accent); letter-spacing: .02em; }
.seat-full-sel .sub { color: var(--sf-muted); font-size: 12.5px; }
/* 主题切换器：色点在上、名称在下，整体水平垂直居中 */
.sf-themes { display: inline-flex; align-items: stretch; gap: 4px; padding: 4px; border-radius: 12px;
  align-self: center; background: rgba(255, 255, 255, .8); border: 1px solid var(--sf-line); }
.sf-themes button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-width: 60px; height: 42px; padding: 4px 10px;
  border: 0; border-radius: 9px; background: transparent; color: var(--sf-muted);
  font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s; }
.sf-themes button i { flex: none; width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
.sf-themes button[data-k="tech"] i { background: linear-gradient(135deg, #4ba2b4, #06b6a4); }
.sf-themes button[data-k="eco"] i { background: linear-gradient(135deg, #4ba2b4, #3ecf8e); }
.sf-themes button[data-k="party"] i { background: linear-gradient(135deg, #c8102e, #d8a12a); }
.sf-themes button:hover { background: rgba(255, 255, 255, .9); color: var(--sf-text); }
.sf-themes button.on { background: var(--sf-accent); color: #fff; box-shadow: 0 8px 18px -10px var(--sf-glow); }
.sf-themes button.on i { border-color: rgba(255, 255, 255, .55); }

@media (max-width: 1100px) {
  .seat-wrap { flex-direction: column; }
  .seat-side { width: 100%; }
}


/* ============================================================
   会展工具箱 · 电子票务（建票 · 售票 · 验票一体化）
   ============================================================ */
.ph-hint { font-size: 11.5px; line-height: 1.65; color: var(--faint); padding: 9px 10px 2px; }
.tk-scan { position: relative; border-radius: 14px; overflow: hidden; background: #0f1a16; }
.tk-scan video { width: 100%; max-height: 56vh; display: block; object-fit: cover; }
.tk-scan::after { content: ''; position: absolute; inset: 14% 12%; border: 2px solid rgba(126, 240, 192, .9);
  border-radius: 14px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .28); }
.tk-et-list { display: grid; gap: 10px; }
.tk-et { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; background: #fcf9f7; }
.tk-et img { width: 68px; height: 68px; flex: none; border-radius: 8px; background: #fff; }
.tk-et > div { flex: 1; min-width: 0; }
.tk-et b { font-size: 13.5px; letter-spacing: .04em; }
.tk-code { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--brand-700);
  background: var(--brand-50, #eefaf4); border: 1px dashed var(--brand-300, #9fe0c2);
  border-radius: 8px; padding: 2px 8px; }
.tk-ttl { color: var(--brand-700); font-variant-numeric: tabular-nums; }
.tk-log { display: grid; gap: 8px; }
.tk-log-r { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2);
  border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.tk-log-r:last-child { border-bottom: 0; padding-bottom: 0; }
.tk-log-r .chip { flex: none; }


/* ============================================================
   会展工具箱 · 演讲嘉宾 · Call for Speakers
   ============================================================ */
.spk-subtab { background: #f7fbf9; box-shadow: none; }
.spk-subtab .pj-tab { padding: 7px 13px; font-size: 13px; }
.spk-subtab .pj-tab svg { width: 15px; height: 15px; }

.spk-table th { white-space: nowrap; }
.spk-table td { vertical-align: middle; }
.spk-topic { display: block; max-width: 320px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-weight: 600; color: var(--ink); }
.spk-link { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.spk-code { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; color: var(--brand-700);
  background: var(--brand-soft); border-radius: 7px; padding: 2px 8px; white-space: nowrap; }

.spk-stars { display: inline-flex; align-items: center; gap: 3px; font-size: 12px;
  color: #e2a53b; letter-spacing: 1px; white-space: nowrap; }
.spk-stars b { color: var(--ink); font-size: 12px; letter-spacing: 0; margin-left: 3px;
  font-variant-numeric: tabular-nums; }

.spk-bar { height: 6px; border-radius: 99px; background: #f2efe9; overflow: hidden; }
.spk-bar i { display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #34c184, var(--brand)); transition: width .3s; }

.spk-flow { display: grid; gap: 14px; padding: 16px 20px 18px; }
.spk-alert { display: flex; gap: 10px; align-items: flex-start; margin: 14px 20px 0;
  padding: 12px 14px; border-radius: 11px; background: #fff9ec; border: 1px solid #f3e2bd;
  color: #8a6212; font-size: 12.5px; }
.spk-alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* 投稿评审卡片 */
.spk-rv { border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; background: #fff; }
.spk-rv-h { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.spk-rv-h > div:first-child { flex: 1 1 320px; min-width: 0; }
.spk-rv-t { font-size: 14.5px; }
.spk-rv-side { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.spk-rv-sum { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-2);
  background: #fcf9f7; border-radius: 9px; padding: 9px 12px; }
.spk-rv-list { display: grid; gap: 6px; margin-top: 11px; }
.spk-rv-item { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 12.5px;
  color: var(--ink-2); border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.spk-rv-item:last-child { border-bottom: 0; padding-bottom: 0; }
.spk-rv-item > b { color: var(--brand-700); font-variant-numeric: tabular-nums; }
.spk-rv-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--line); }
.spk-rv-gap { flex: 1 1 auto; }
.spk-rv-head { padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }

/* 行程卡片 */
.spk-tv { border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; background: #fff; }
.spk-tv-h { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.spk-tv-h > div:first-child { flex: 1 1 320px; min-width: 0; }
.spk-tv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.spk-tv-cell { background: #fcf9f7; border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 11px; }
.spk-tv-cell span { display: block; font-size: 11.5px; color: var(--muted); }
.spk-tv-cell b { display: block; margin-top: 3px; font-size: 13px; }
.spk-tv-cell i { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 设置页 */
.spk-cfg { display: grid; gap: 16px; }
.spk-cfg-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px;
  box-shadow: var(--shadow-sm); }
.spk-cfg-bar > div { flex: 1 1 280px; }
.spk-cfg-bar b { font-size: 14.5px; }
.spk-link-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.spk-link-row .ctl-input { flex: 1 1 300px; min-width: 0; font-size: 12.5px; }
.spk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; }
.spk-stat { background: #fcf9f7; border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px;
  text-align: center; }
.spk-stat b { display: block; font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; }
.spk-stat b small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.spk-stat span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.spk-code-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
  padding: 11px 14px; border-radius: 11px; background: var(--brand-soft);
  border: 1px dashed var(--brand-300, #9fe0c2); color: var(--brand-700); font-size: 13px; }
.spk-code-box > div { flex: 1 1 260px; min-width: 0; }
.spk-code-box svg { width: 18px; height: 18px; flex: none; }

@media (max-width: 900px) {
  .spk-tv-grid { grid-template-columns: 1fr; }
  .spk-topic { max-width: 200px; }
}

/* ============================================================
   营销物料中心（物料库 / 项目关联 / 使用统计 / 分类管理）
   ============================================================ */
.req { color: var(--red); margin-left: 2px; }

.mkt-filters { display: flex; flex-direction: column; gap: 9px; padding: 14px 0 6px; }
.mkt-filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mkt-filter-row .lbl { flex: none; width: 34px; font-size: 12.5px; color: var(--muted); }
.mkt-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  font-size: 12.5px; cursor: pointer; transition: all .16s; }
.mkt-pill:hover { border-color: var(--brand); color: var(--brand-700); }
.mkt-pill.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.mkt-pill svg { width: 14px; height: 14px; }
.mkt-pill em { font-style: normal; font-size: 11.5px; opacity: .72; }

.mkt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
.mkt-card { position: relative; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--card); overflow: hidden; transition: box-shadow .18s, border-color .18s, transform .18s; }
.mkt-card:hover { box-shadow: var(--shadow-md); border-color: #cfe6db; transform: translateY(-1px); }
.mkt-card.sel { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.mkt-cb { position: absolute; top: 8px; right: 8px; z-index: 3; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 7px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); }
.mkt-cb input { width: 15px; height: 15px; accent-color: var(--brand); cursor: pointer; }
.mkt-thumb { position: relative; height: 138px; background: var(--brand-mist); cursor: pointer;
  display: grid; place-items: center; overflow: hidden; }
.mkt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mkt-ph { color: #b9cdc5; }
.mkt-ph svg { width: 40px; height: 40px; }
.mkt-badge { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 6px; font-size: 11.5px; background: rgba(18, 35, 28, .72); color: #fff; }
.mkt-badge svg { width: 12px; height: 12px; }
.mkt-badge.warn { top: auto; bottom: 8px; left: 8px; background: var(--amber); }
.mkt-badge.ok { top: auto; bottom: 8px; left: auto; right: 8px; background: var(--brand); }
.mkt-body { padding: 11px 12px 12px; }
.mkt-title { display: block; font-size: 13.5px; line-height: 1.4; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.mkt-meta { margin-top: 4px; font-size: 11.5px; color: var(--muted); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.mkt-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.mkt-tag { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 5px;
  background: var(--line-2); color: var(--ink-2); font-size: 11px; }
.mkt-tag svg { width: 11px; height: 11px; }
.mkt-tag.ch { background: var(--blue-soft); color: var(--blue); }
.mkt-tag.none { background: var(--amber-soft); color: var(--amber); }
.mkt-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--muted); }
.mkt-proj { display: inline-flex; align-items: center; gap: 4px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.mkt-proj svg, .mkt-nums svg { width: 12px; height: 12px; }
.mkt-nums { flex: none; display: inline-flex; align-items: center; gap: 3px; }
.mkt-ops { display: flex; gap: 2px; padding: 6px 8px; border-top: 1px solid var(--line-2); background: #fcf9f7; }
.mkt-ops .icon-btn { width: 30px; height: 30px; }
.mkt-ops .icon-btn svg { width: 15px; height: 15px; }
.mkt-ops .icon-btn.danger { color: var(--red); }

.mkt-link-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 16px; margin-top: 14px; align-items: start; }
.mkt-proj-row { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 12px;
  border: none; border-radius: 10px; background: transparent; cursor: pointer; text-align: left;
  font-size: 13px; color: var(--ink-2); }
.mkt-proj-row:hover { background: var(--brand-mist); }
.mkt-proj-row.on { background: var(--brand-soft); color: var(--brand-700); font-weight: 600; }
.mkt-proj-row svg { width: 16px; height: 16px; flex: none; }
.mkt-proj-row span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkt-proj-row em { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 999px;
  background: rgba(0, 0, 0, .05); }
.mkt-side .dist-row:last-child, .mkt-main .dist-row:last-child { margin-bottom: 0; }
.mkt-rows { display: flex; flex-direction: column; }
.mkt-row { display: flex; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line-2); }
.mkt-row:last-child { border-bottom: none; }
.mkt-row-ic { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--brand-mist);
  display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.mkt-row-ic svg { width: 20px; height: 20px; }
.mkt-row-ic img { width: 100%; height: 100%; object-fit: cover; }
.mkt-row-main { flex: 1; min-width: 0; }
.mkt-row-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.mkt-row-top b { font-size: 13.5px; }
.mkt-row-ops { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.mkt-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mkt-ed-col { min-width: 0; }
.mkt-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mkt-drop { display: grid; place-items: center; gap: 4px; padding: 24px 14px; text-align: center;
  border: 1.5px dashed var(--line); border-radius: var(--r-md); background: var(--brand-mist);
  color: var(--muted); cursor: pointer; transition: all .16s; }
.mkt-drop:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-soft); }
.mkt-drop svg { width: 26px; height: 26px; }
.mkt-drop b { font-size: 13px; color: var(--ink); }
.mkt-drop span { font-size: 11.5px; }
.mkt-file-ok { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand-700); font-size: 12.5px; }
.mkt-file-ok svg { width: 15px; height: 15px; flex: none; }
.mkt-file-ok b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-chks { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-chk { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); cursor: pointer; transition: all .16s; }
.mk-chk input { accent-color: var(--brand); cursor: pointer; }
.mk-chk:hover { border-color: var(--brand); }
.mk-chk:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-700); }

.mkt-pv-img { display: grid; place-items: center; background: #f2f5f3; border-radius: var(--r-md); padding: 12px; }
.mkt-pv-img img { max-width: 100%; max-height: 46vh; border-radius: 8px; }
.mkt-pv-video { width: 100%; max-height: 46vh; border-radius: var(--r-md); background: #000; }
.mkt-pv-link, .mkt-pv-doc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px; border-radius: var(--r-md); background: var(--brand-mist); }
.mkt-pv-link > div { flex: 1 1 260px; min-width: 0; }
.mkt-pv-link > svg, .mkt-pv-doc > svg { width: 22px; height: 22px; color: var(--brand-700); flex: none; }
.mkt-pv-doc { flex-direction: column; text-align: center; }
.mkt-pv-copy { display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  padding: 16px; border-radius: var(--r-md); background: var(--brand-mist); }
.mkt-pv-copy > svg { width: 22px; height: 22px; color: var(--brand-700); align-self: center; }
.mkt-copy-box { white-space: pre-wrap; font-size: 13px; line-height: 1.75; color: var(--ink-2);
  max-height: 220px; overflow: auto; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; }
.mkt-alert { display: flex; gap: 8px; padding: 11px 13px; border-radius: 10px;
  background: var(--amber-soft); color: #8a5b00; font-size: 12.5px; line-height: 1.6; }
.mkt-alert svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

.mkt-grid-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 9px; }
.mkt-mini { display: block; padding: 0; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: var(--card); cursor: pointer; text-align: left; }
.mkt-mini:hover { border-color: var(--brand); }
.mkt-mini img { display: block; width: 100%; height: 74px; object-fit: cover; background: var(--brand-mist); }
.mkt-mini .mk-ph { display: grid; place-items: center; width: 100%; height: 74px;
  background: var(--brand-mist); color: var(--muted); }
.mkt-mini .mk-ph svg { width: 22px; height: 22px; }
.mkt-mini span { display: block; padding: 7px 8px; font-size: 11.5px; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1180px) {
  .mkt-editor { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .mkt-link-wrap { grid-template-columns: 1fr; }
  .mkt-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .mkt-row { flex-wrap: wrap; }
  .mkt-row-ops { width: 100%; justify-content: flex-start; }
}

/* ============================================================
   会议官网 · 招商云展厅（site 模块）
   ============================================================ */
.site-intro { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap;
  padding: 22px 24px; border-radius: var(--r-lg); margin-bottom: 16px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 170% at 88% 0%, rgba(43, 125, 224, .30), transparent 58%),
    linear-gradient(120deg, #2f5f68, #0a6b52 55%, #0b8071);
  color: #fff; box-shadow: var(--shadow-md); }
.site-intro::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 230px; height: 230px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 68%); }
.site-intro .si-txt { flex: 1; min-width: 280px; position: relative; z-index: 1; }
.site-intro h2 { margin: 0 0 8px; font-size: 19px; letter-spacing: .4px; }
.site-intro p { margin: 0; max-width: 780px; font-size: 13px; line-height: 2; color: rgba(255, 255, 255, .82); }
.site-intro .si-act { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.site-intro .si-act .btn-ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .32); color: #fff; }
.site-intro .si-act .btn-ghost:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .5); }
.site-intro .si-act .btn-primary { background: #fff; color: var(--brand-700); box-shadow: 0 6px 18px rgba(0, 0, 0, .16); }

.site-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.site-tip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.site-tip svg { width: 15px; height: 15px; color: var(--faint); }

/* ---------- 官网卡片列表 ---------- */
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.site-card { display: flex; flex-direction: column; overflow: hidden; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: all .18s ease; }
.site-card:hover { transform: translateY(-2px); border-color: #cfe0d9; box-shadow: var(--shadow-md); }
.sc-cover { position: relative; height: 132px; display: grid; place-items: center; color: rgba(255, 255, 255, .74);
  background: linear-gradient(135deg, #2f5f68, #0b8071); background-size: cover; background-position: center; }
.sc-cover svg { width: 34px; height: 34px; }
.sc-chip { position: absolute; left: 12px; top: 12px; height: 22px; padding: 0 10px; border-radius: 999px;
  display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; color: #fff; }
.sc-chip.pub { background: rgba(75, 162, 180, .92); }
.sc-chip.draft { background: rgba(224, 147, 10, .94); }
.sc-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.sc-body > b { font-size: 15px; line-height: 1.5; }
.sc-sub { font-size: 12.5px; line-height: 1.65; color: var(--ink-2); }
.sc-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); }
.sc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }

/* ---------- 选择官网 ---------- */
.site-pick { display: flex; flex-direction: column; gap: 10px; }
.sp-i { display: flex; flex-direction: column; gap: 4px; padding: 13px 15px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: all .15s; }
.sp-i:hover { border-color: var(--brand); background: var(--brand-mist); }
.sp-i b { font-size: 14px; }
.sp-i span { font-size: 12px; color: var(--muted); }

.info-note { display: flex; gap: 10px; padding: 13px 15px; font-size: 13px; line-height: 1.8;
  color: var(--ink-2); background: var(--brand-mist); border: 1px solid #d8ebe2; border-radius: var(--r-md); }
.info-note svg { width: 18px; height: 18px; margin-top: 2px; color: var(--brand-600); }
.info-note b { color: var(--brand-700); }
.ns-check { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 13px;
  line-height: 1.7; color: var(--ink-2); cursor: pointer; }
.ns-check input { margin-top: 3px; accent-color: var(--brand); }

/* ---------- 编辑器头部 / 栏目导航 ---------- */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; margin-bottom: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.sh-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sh-l b { display: block; font-size: 16px; line-height: 1.5; }
.sh-l span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.sh-r { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.icon-btn.x { background: var(--brand-mist); border: 1px solid var(--line); border-radius: 9px; }

.site-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; margin-bottom: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.site-tabs::-webkit-scrollbar { height: 4px; }
.site-tabs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.site-tab { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: all .15s; }
.site-tab svg { width: 15px; height: 15px; }
.site-tab:hover { background: var(--brand-mist); }
.site-tab.on { background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff;
  box-shadow: 0 4px 12px rgba(75, 162, 180, .24); }
.site-tab em { display: inline-flex; align-items: center; justify-content: center; min-width: 17px; height: 17px;
  padding: 0 5px; border-radius: 999px; font-size: 11px; font-style: normal;
  background: var(--line-2); color: var(--muted); }
.site-tab.on em { background: rgba(255, 255, 255, .28); color: #fff; }
.site-pane { display: flex; flex-direction: column; gap: 14px; }

/* ---------- 主题 / 图片选择 ---------- */
.theme-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.tp { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; font-size: 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: all .15s; }
.tp:hover { border-color: #bfd8cc; }
.tp.on { border-color: var(--brand); background: var(--brand-mist); color: var(--brand-700); font-weight: 600; }
.tp-dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }

.img-pick { display: flex; flex-direction: column; gap: 10px; padding: 12px;
  background: var(--brand-mist); border: 1px dashed var(--line); border-radius: var(--r-md); }
.ip-prev { height: 118px; background-size: cover; background-position: center;
  border: 1px solid var(--line); border-radius: 10px; }
.ip-empty { height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; font-size: 12px; color: var(--muted); background: #fff;
  border: 1px dashed var(--line); border-radius: 10px; }
.ip-empty svg { width: 22px; height: 22px; color: var(--faint); }
.ip-act { display: flex; gap: 8px; }
.ip-url { width: 100%; }

/* ---------- 栏目开关 ---------- */
.site-sec-list { display: flex; flex-direction: column; gap: 14px; }
.site-sec-grp { display: flex; flex-direction: column; gap: 8px; }
.site-sec-grp .grp-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.site-sec-grp .grp-h span { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.site-sec-grp .grp-b { display: flex; flex-direction: column; gap: 8px; }
.site-sec { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.site-sec-n { font-size: 12px; color: var(--muted); white-space: nowrap; }
.site-sec .sec-mv { font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 5px 10px; white-space: nowrap; }
.site-sec .sec-mv:hover { color: var(--brand); border-color: var(--brand); }

/* 站内报名开关与表单信息 */
.sgn-row { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 2px 0; }
.sgn-row > span { font-size: 13px; color: var(--ink-2); }
.sgn-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding: 10px 12px;
  background: #F7FAFC; border: 1px solid var(--line); border-radius: 10px; }
.sgn-meta b { font-size: 13px; }
.sgn-meta span { font-size: 12px; color: var(--muted); }
.sgn-meta a { color: var(--brand); }
.sw { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px;
  background: #d6ddd9; transition: background .2s; }
.sw i { position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); transition: transform .2s; }
.sw.on { background: var(--brand); }
.sw.on i { transform: translateX(16px); }

/* ---------- 分享 / 入口 ---------- */
.share-flex { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.share-qrcode { flex: none; width: 156px; padding: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md); }
.share-qrcode img { width: 100%; height: auto; }
.share-info { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 12px; }
.share-act { display: flex; gap: 8px; flex-wrap: wrap; }
.entry-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.entry-list span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px;
  font-size: 12.5px; color: var(--ink-2); background: var(--brand-mist);
  border: 1px solid var(--line); border-radius: 999px; word-break: break-all; }
.entry-list svg { width: 14px; height: 14px; color: var(--brand-600); }

/* ---------- 访问数据 ---------- */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding: 0 4px; }
.bar-i { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end;
  justify-content: center; gap: 3px; padding-bottom: 22px; }
.bar-i span { position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  font-size: 10.5px; color: var(--faint); white-space: nowrap; }
.bar-v, .bar-p { width: 9px; min-height: 3px; border-radius: 4px 4px 2px 2px; }
.bar-v { background: #dfe6e3; }
.bar-p { background: linear-gradient(180deg, #16c184, var(--brand-600)); }
.top-list { display: flex; flex-direction: column; gap: 8px; }
.top-i { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: 13px;
  background: var(--brand-mist); border-radius: 10px; }
.top-i em { flex: none; width: 20px; height: 20px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: 6px; font-size: 11.5px; font-style: normal;
  font-weight: 700; background: var(--brand-soft); color: var(--brand-700); }
.top-i > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-i i { flex: none; font-style: normal; font-size: 12px; color: var(--muted); }
.top-i b { flex: none; font-size: 12.5px; color: var(--brand-700); }

/* ---------- 内容条目 ---------- */
.ki-list { display: flex; flex-direction: column; gap: 10px; }
.ki { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px;
  padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: all .15s; }
.ki:hover { border-color: #cfe0d9; box-shadow: var(--shadow-sm); }
.ki.off { opacity: .58; background: var(--brand-mist); }
.ki-th { width: 64px; height: 56px; border-radius: 9px; background: var(--brand-mist) center/cover no-repeat;
  display: grid; place-items: center; color: var(--faint); border: 1px solid var(--line-2); }
.ki-th svg { width: 20px; height: 20px; }
.ki-b { min-width: 0; }
.ki-b > b { display: block; font-size: 14px; line-height: 1.6; word-break: break-word; }
.ki-b .pin { display: inline-flex; align-items: center; height: 17px; padding: 0 6px; margin-right: 6px;
  font-size: 10.5px; font-style: normal; font-weight: 700; color: #fff;
  background: var(--amber); border-radius: 4px; vertical-align: 1px; }
.ki-b > span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ki-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.ki-act { display: flex; align-items: center; gap: 4px; }
.ki-act .icon-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- 弹窗：图集 / 指标 ---------- */
.thumb-list { display: flex; flex-wrap: wrap; gap: 10px; }
.th { position: relative; width: 92px; height: 92px; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; }
.th-img { width: 100%; height: 100%; background-size: cover; background-position: center; }
.th-x { position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; }
.th-x svg { width: 12px; height: 12px; stroke-width: 2.4; }
.th-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 92px; height: 92px; font-size: 11.5px; color: var(--muted); background: var(--brand-mist);
  border: 1px dashed var(--line); border-radius: 10px; }
.th-add:hover { border-color: var(--brand); color: var(--brand-700); }
.th-add svg { width: 16px; height: 16px; }

.row-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.row-i { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 8px; }

/* ---------- 空状态 ---------- */
.empty-load { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 56px 20px; font-size: 13px; text-align: center; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.empty-load svg { width: 28px; height: 28px; color: var(--faint); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .site-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 900px) {
  .site-intro { padding: 18px; }
  .site-intro .si-act { width: 100%; }
  .site-grid { grid-template-columns: 1fr; }
  .site-head { padding: 12px 14px; }
  .sh-r { width: 100%; }
  .ki { grid-template-columns: 56px 1fr; }
  .ki-th { width: 56px; height: 50px; }
  .ki-act { grid-column: 1 / -1; justify-content: flex-end; }
  .share-flex { gap: 14px; }
  .share-qrcode { width: 130px; }
  .row-i { grid-template-columns: 1fr; }
}

/* ---------- 表单栅格（官网编辑器） ---------- */
.s2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.s3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 900px) { .s2, .s3 { grid-template-columns: 1fr; } }
