:root {
  --bg: #f2f5fa;
  --card: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --accent: #2563eb;
  --accent-soft: #eff4ff;
  --agree: #12b76a;
  --agree-soft: #e9f9f1;
  --disagree: #f04438;
  --disagree-soft: #fdecea;
  --abstain: #7d8899;
  --abstain-soft: #eef1f5;
  --shadow: 0 6px 24px rgba(16, 24, 40, 0.07);
  --radius: 16px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

button, input { font-family: inherit; font-size: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 18px 60px; }
.wrap.narrow { max-width: 680px; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 18px 10px; max-width: 1080px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.brand .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft);
}
.hint { color: var(--muted); font-size: 13px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.card + .card { margin-top: 16px; }
.card h2 { margin: 0 0 4px; font-size: 16px; }
.card p.sub { margin: 0 0 16px; color: var(--muted); font-size: 13px; }

label.field { display: block; margin-bottom: 14px; }
label.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input[type="text"], input[type="password"], input[type="file"], input[type="number"], select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); outline: none;
}
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; font-weight: 600;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #1d4fd8; }
.btn.ghost:hover { background: #f8fafc; }
.btn.danger { color: var(--disagree); border-color: #f5c2bd; }
.btn.danger:hover { background: var(--disagree-soft); }
.btn.small { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row.end { justify-content: flex-end; }

.grid-admin { display: grid; grid-template-columns: 360px 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .grid-admin { grid-template-columns: 1fr; } }

.session-list { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: auto; }
.session-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  background: #fff; transition: border-color .15s, background .15s;
}
.session-item:hover { border-color: #c7d7fb; }
.session-item.active { border-color: var(--accent); background: var(--accent-soft); }
.session-item .t { font-weight: 600; font-size: 14px; }
.session-item .m { font-size: 12px; color: var(--muted); }

.tag {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent);
}
.tag.open { background: var(--agree-soft); color: #067647; }
.tag.closed { background: #f2f4f7; color: var(--muted); }

.linkbox {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: #f8fafc; border: 1px dashed var(--line); border-radius: 10px;
  font-size: 13px; word-break: break-all;
}
.linkbox code { flex: 1; color: var(--accent); }

.qr { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.qr img { width: 148px; height: 148px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }

/* ---------- 汇总 ---------- */
.sum-item {
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.sum-item:last-child { border-bottom: none; }
.sum-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.sum-index {
  flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft);
  color: var(--accent); font-size: 12px; font-weight: 700; display: inline-flex;
  align-items: center; justify-content: center; margin-right: 8px;
}
.sum-title { font-weight: 600; font-size: 14px; }
.sum-total { color: var(--muted); font-size: 12px; white-space: nowrap; }
.sum-fields { margin: 6px 0 10px; padding-left: 34px; color: var(--muted); font-size: 12.5px; }
.sum-fields b { color: var(--ink); font-weight: 500; }

.bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: #eef1f5; }
.bar i { display: block; height: 100%; }
.bar .b-agree { background: var(--agree); }
.bar .b-disagree { background: var(--disagree); }
.bar .b-abstain { background: var(--abstain); }

.statline { display: flex; gap: 14px; margin-top: 7px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.statline b { font-weight: 700; }
.statline .s-agree b { color: var(--agree); }
.statline .s-disagree b { color: var(--disagree); }

/* ---------- 手机投票页 ---------- */
.vote-head {
  position: sticky; top: 0; z-index: 20; background: rgba(242, 245, 250, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  padding: 14px 18px 12px;
}
.vote-head .title { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.view-switch {
  display: flex; gap: 3px; padding: 3px; background: #e7ecf5;
  border-radius: 9px; flex: none;
}
.vs-btn {
  border: none; background: transparent; color: var(--muted); cursor: pointer;
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 7px;
  font-family: inherit;
}
.vs-btn.on { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.head-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.doc-btn {
  border: 1px solid var(--line); background: #fff; color: var(--accent);
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 9px;
  cursor: pointer; font-family: inherit; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}
.doc-btn:active { background: #f1f5fd; }
.vote-head-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap.narrow { padding-bottom: 140px; }
.vote-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.progress { flex: 1; height: 6px; border-radius: 99px; background: #e2e8f4; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }

.item-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; margin-bottom: 14px;
  scroll-margin-top: 96px;
}
.item-card.voted { border-color: #cfe9dc; }
.item-top { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.item-no {
  flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft);
  color: var(--accent); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.item-name { font-size: 16px; font-weight: 650; line-height: 1.45; }
.item-more { margin-top: 4px; }
.item-more .kv { display: flex; gap: 8px; font-size: 13px; padding: 3px 0; }
.item-more .kv .k { flex: none; width: 96px; color: var(--muted); }
.item-more .kv .v { flex: 1; color: var(--ink); word-break: break-word; white-space: pre-wrap; }

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.choice {
  appearance: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 12px; padding: 13px 4px; font-size: 15px; font-weight: 600; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: all .15s ease;
}
.choice small { font-size: 11px; font-weight: 500; color: var(--muted); }
.choice:active { transform: scale(.97); }
.choice[data-choice="agree"].on { border-color: var(--agree); background: var(--agree-soft); color: #067647; }
.choice[data-choice="disagree"].on { border-color: var(--disagree); background: var(--disagree-soft); color: #b42318; }
.choice[data-choice="abstain"].on { border-color: var(--abstain); background: var(--abstain-soft); color: #475467; }
.choice:disabled { opacity: .5; }

.vote-counts { margin-top: 10px; font-size: 12px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.vote-counts .s-agree b { color: var(--agree); }
.vote-counts .s-disagree b { color: var(--disagree); }

/* ---------- 表格视图 ---------- */
.vote-table-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow-x: auto;
}
.vote-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vote-table th {
  background: #f7f9fc; color: var(--muted); font-weight: 600; font-size: 12px;
  padding: 9px 6px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.vote-table th:nth-child(2) { text-align: left; }
.vote-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.vote-table tr:last-child td { border-bottom: none; }
.vote-table .tt-no { width: 34px; text-align: center; color: var(--muted); font-size: 12px; }
.vote-table .tt-name-cell { min-width: 130px; }
.vote-table .tt-name { font-weight: 600; font-size: 13.5px; line-height: 1.4; }
.vote-table .tt-more { margin-top: 3px; color: var(--muted); font-size: 11.5px; }
.vote-table .tt-choice-cell { width: 62px; text-align: center; }
.tb-choice {
  appearance: none; width: 100%; padding: 7px 4px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--muted); cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 600;
}
.tb-choice.on[data-choice="agree"] { background: var(--agree-soft); border-color: var(--agree); color: #067647; }
.tb-choice.on[data-choice="disagree"] { background: var(--disagree-soft); border-color: var(--disagree); color: #b42318; }
.tb-choice.on[data-choice="abstain"] { background: var(--abstain-soft); border-color: var(--abstain); color: #475467; }
.tb-choice:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 底部提交条 ---------- */
.submit-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(16, 24, 40, .08);
}
.submit-info { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.submit-count { font-size: 12.5px; color: var(--muted); }
.bulk-row { display: flex; gap: 6px; flex-wrap: wrap; }
.bulk-row .btn { padding: 5px 9px; font-size: 12px; }
#submitBtn { flex: none; padding: 11px 22px; }
@media (max-width: 420px) {
  .submit-bar { gap: 10px; padding-left: 12px; padding-right: 12px; }
  #submitBtn { padding: 11px 16px; }
}

.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---------- 口令遮罩 ---------- */
.gate {
  position: fixed; inset: 0; z-index: 100; background: rgba(16, 24, 40, .55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.gate.hidden { display: none; }
.gate-box { background: #fff; border-radius: 18px; padding: 26px 22px; width: 100%; max-width: 360px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.gate-box h3 { margin: 0 0 4px; font-size: 18px; }
.gate-box p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.gate-box input { width: 100%; text-align: center; letter-spacing: 6px; font-size: 20px; font-weight: 600; padding: 13px; }
.gate-box .btn { width: 100%; margin-top: 14px; }
.gate-err { color: var(--disagree); font-size: 13px; min-height: 20px; margin-top: 8px; text-align: center; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: #101828; color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; opacity: 0; pointer-events: none; transition: all .22s ease; z-index: 200;
  max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #b42318; }

/* ---------- 大屏 ---------- */
.board-body {
  background: radial-gradient(1200px 600px at 20% -10%, #1e3a8a 0%, #0b1220 55%, #070b14 100%);
  color: #e8eefc; min-height: 100vh;
}
.board-wrap { max-width: 1280px; margin: 0 auto; padding: 30px 26px 50px; }
.board-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 8px; }
.board-title { font-size: 30px; font-weight: 700; margin: 0; letter-spacing: .5px; }
.board-sub { color: #93a4c7; font-size: 14px; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; margin-top: 22px; }
.board-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px; padding: 18px 20px;
}
.board-card .no { color: #7ea6ff; font-size: 13px; font-weight: 700; }
.board-card .name { font-size: 19px; font-weight: 650; margin: 6px 0 14px; line-height: 1.45; }
.board-card .nums { display: flex; gap: 22px; align-items: baseline; margin-bottom: 10px; }
.board-card .nums div { text-align: center; }
.board-card .nums b { display: block; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.board-card .nums span { font-size: 12px; color: #93a4c7; }
.board-card .nums .agree b { color: #3ddc97; }
.board-card .nums .disagree b { color: #ff7a6e; }
.board-card .nums .abstain b { color: #b6c0d4; }
.board-card .bar { background: rgba(255,255,255,.1); height: 10px; }
@media (max-width: 720px) { .board-grid { grid-template-columns: 1fr; } }

/* ---------- 投票密码 ---------- */
.mode-row { gap: 8px; }
.radio {
  display: flex; align-items: center; gap: 7px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  cursor: pointer; font-size: 13.5px;
}
.radio input { accent-color: var(--accent); margin: 0; }

.doc-panel {
  margin-top: 16px; padding: 14px; border: 1px solid var(--line);
  border-radius: 12px; background: #fbfcfe;
}
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.doc-head b { font-size: 14px; margin-right: 8px; }
.ticket-panel {
  margin-top: 16px; padding: 14px; border: 1px solid var(--line);
  border-radius: 12px; background: #fbfcfe;
}
.ticket-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ticket-head b { font-size: 14px; margin-right: 8px; }
.ticket-list {
  margin-top: 10px; max-height: 300px; overflow: auto;
  display: flex; flex-direction: column; gap: 6px;
}
.ticket-row {
  display: flex; align-items: center; gap: 12px; padding: 7px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 9px; font-size: 13px;
}
.ticket-row.used { background: #f7f9fc; }
.ticket-row .tk-seq { flex: none; width: 34px; color: var(--muted); font-size: 12px; }
.ticket-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700; letter-spacing: 1px; font-size: 14px;
}
.ticket-row .tk-state { flex: 1; color: var(--muted); }

/* ---------- 已投票人数 ---------- */
.people-box {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin-bottom: 16px;
  border: 1px solid #d8e4fb; border-radius: 14px;
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
}
.people-main { color: #1f3b73; font-variant-numeric: tabular-nums; white-space: nowrap; }
.people-main b { font-size: 40px; line-height: 1; font-weight: 800; }
.people-main span { font-size: 18px; font-weight: 600; color: #5b7196; }
.people-label { font-size: 13px; color: #3f5878; font-weight: 600; }
.people-sub { margin-top: 2px; font-size: 12.5px; color: #7d8ca6; }
.people-mini { padding: 3px 8px; border-radius: 999px; background: #eef4ff; color: #1f3b73; }

/* ---------- 选项编辑 ---------- */
.choice-editor { display: flex; flex-direction: column; gap: 8px; }
.choice-edit-row { display: flex; align-items: center; gap: 8px; }
.choice-edit-row input {
  flex: 1; padding: 8px 10px; border: 1px solid #d8e1ef; border-radius: 8px; font: inherit;
}

/* ---------- 第 4-6 个自定义选项配色 ---------- */
.bar .b-o4 { background: #4ea1ff; }
.bar .b-o5 { background: #ffb84d; }
.bar .b-o6 { background: #b58cff; }
.statline .s-o4 b { color: #4ea1ff; }
.statline .s-o5 b { color: #ffb84d; }
.statline .s-o6 b { color: #b58cff; }
.vote-counts .s-o4 b { color: #4ea1ff; }
.vote-counts .s-o5 b { color: #ffb84d; }
.vote-counts .s-o6 b { color: #b58cff; }
.board-card .nums .o4 b { color: #4ea1ff; }
.board-card .nums .o5 b { color: #ffb84d; }
.board-card .nums .o6 b { color: #b58cff; }

/* ------------------------------------------------ 子投票（一个会议 N 个子投票） */
.ballot-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.ballot-tab {
  display: flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; font-size: 13px;
}
.ballot-tab:hover { border-color: #c7d7fb; }
.ballot-tab.on { border-color: var(--accent); background: var(--accent-soft); }
.ballot-tab .bt-no {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #eef1f5; color: var(--muted); font-size: 11px; font-weight: 700;
}
.ballot-tab.on .bt-no { background: var(--accent); color: #fff; }
.ballot-tab .bt-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ballot-tab .bt-meta { color: var(--muted); font-size: 12px; white-space: nowrap; }

.ballot-config {
  margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 12px; background: #fbfcfe;
}
.ballot-config summary { cursor: pointer; font-weight: 600; font-size: 13.5px; }
.ballot-config summary::marker { color: var(--muted); }

/* 手机端子投票列表 */
#ballotList { padding-bottom: 60px; }
.ballot-tip { color: var(--muted); font-size: 13px; margin: 4px 0 12px; }
.ballot-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 12px; cursor: pointer;
  transition: border-color .15s ease, transform .08s ease;
}
.ballot-card:active { transform: scale(.99); }
.ballot-card.done { border-color: #cfe9dc; }
.ballot-card.closed { background: #f8f9fb; }
.bc-head { display: flex; align-items: center; gap: 10px; }
.bc-no {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700;
}
.bc-name { flex: 1; font-size: 16px; font-weight: 650; line-height: 1.4; }
.bc-meta { margin-top: 8px; color: var(--muted); font-size: 12.5px; }

/* 手机端返回按钮 */
.head-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.head-left .title { flex: 1; min-width: 0; }
.back-btn {
  flex: none; width: 30px; height: 30px; padding: 0; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.back-btn:active { transform: scale(.95); }

/* 大屏子投票切换 */
.board-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.board-tab {
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #c8d6f0; cursor: pointer; font-size: 14px;
}
.board-tab:hover { background: rgba(255,255,255,.12); }
.board-tab.on { background: #2f6bff; border-color: #2f6bff; color: #fff; }

/* ------------------------------------------------ 议题附件 */
.attach-box {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 10px; padding-left: 34px;
}
.attach-label { flex: none; color: var(--muted); font-size: 12px; }
.attach-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc;
  font-size: 12.5px;
}
.attach-chip a {
  max-width: 240px; color: var(--accent); text-decoration: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.attach-chip i { color: var(--muted); font-style: normal; font-size: 11.5px; }
.attach-del {
  border: none; background: transparent; color: var(--muted); cursor: pointer;
  font-size: 15px; line-height: 1; padding: 0 2px;
}
.attach-del:hover { color: var(--disagree); }

/* 手机端议题附件 */
.attach-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.attach-link {
  display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
  padding: 4px 9px; border-radius: 8px; background: var(--accent-soft); color: var(--accent);
  font-size: 12.5px; text-decoration: none; word-break: break-all;
}
.attach-link i { flex: none; color: var(--muted); font-style: normal; font-size: 11px; }
.attach-link:active { opacity: .8; }

/* ------------------------------------------------ 账号与权限 */
.top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.top-actions .hint { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-list { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow: auto; }
.account-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.account-info { min-width: 0; }
.account-name { font-weight: 600; font-size: 13.5px; word-break: break-all; }
.account-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.account-ops { display: flex; gap: 6px; flex-wrap: wrap; flex: none; }
.account-ops .btn { padding: 5px 9px; font-size: 12px; border-radius: 8px; }
@media (max-width: 720px) {
  .account-item { flex-direction: column; align-items: stretch; }
  .account-ops { justify-content: flex-end; }
}

/* ------------------------------------------------ 品牌标识（晨风数字医疗 · CF Voting） */
.brand-logo { height: 28px; width: auto; border-radius: 6px; object-fit: contain; display: block; }
.vote-logo { height: 20px; width: auto; border-radius: 5px; object-fit: contain; flex: none; }
.site-foot {
  max-width: 1080px; margin: 10px auto 28px; padding: 0 18px;
  color: var(--muted); font-size: 12px; text-align: center;
}
.vote-foot { padding: 4px 14px 96px; color: var(--muted); font-size: 11.5px; text-align: center; }
.board-brand {
  position: fixed; right: 22px; bottom: 18px; display: flex; align-items: center; gap: 10px;
  opacity: .55; pointer-events: none; color: #cfdcff; font-size: 13px; font-weight: 600; line-height: 1.35;
}
.board-brand img { height: 32px; width: auto; border-radius: 6px; object-fit: contain; display: block; }
.board-brand small { display: block; font-size: 10.5px; font-weight: 400; color: #93a4c7; }
.print-logo { height: 26px; width: auto; border-radius: 6px; object-fit: contain; display: block; }
@media (max-width: 720px) {
  .board-brand { right: 12px; bottom: 10px; opacity: .45; font-size: 12px; }
  .board-brand img { height: 26px; width: auto; }
}

/* ---------- 工具类 ---------- */
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.hidden { display: none !important; }
