:root {
  --bg: #f4f6fa;
  --card: #ffffff;
  --line: #e8ebf1;
  --line-strong: #dbe1ea;
  --text: #141a24;
  --muted: #6b7688;
  --brand: #2f6fed;
  --brand-2: #4b8bfb;
  --brand-soft: #eef4ff;
  --brand-line: #cfe0ff;
  --danger: #d94040;
  --danger-soft: #fdeeee;
  --ok: #0f9d58;
  --ok-soft: #e9f7f0;
  --warn: #b26a00;
  --warn-soft: #fdf3e3;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 26px -16px rgba(16, 24, 40, .22);
  --shadow-lg: 0 24px 60px -20px rgba(24, 45, 95, .28), 0 2px 6px rgba(24, 45, 95, .06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0; height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
button, input, select, textarea { font-family: inherit; font-size: 14px; }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); }
:focus-visible { outline: 2px solid rgba(47, 111, 237, .45); outline-offset: 1px; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #cdd4e0; border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #b6c0d0; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------------- 布局 ---------------- */
.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 224px; flex: 0 0 224px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 60%, #f8fafd 100%);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}

.brand {
  display: flex; align-items: center; gap: 11px;
  padding: 18px 16px 16px;
  border-bottom: 1px solid var(--line);
}
.brand .logo-img {
  width: 36px; height: 36px; border-radius: 10px;
  object-fit: contain; flex: 0 0 36px;
  box-shadow: 0 4px 12px -4px rgba(47, 111, 237, .5);
  background: #fff;
}
.brand .txt { min-width: 0; }
.brand .name {
  font-weight: 650; font-size: 14.5px; letter-spacing: .2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand .sub {
  font-size: 11px; color: #98a2b3; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nav { padding: 12px 10px; display: flex; flex-direction: column; gap: 3px; flex: 1; overflow-y: auto; }
.nav .group {
  font-size: 11px; color: #a0a9b8; padding: 12px 10px 6px;
  letter-spacing: 1px; font-weight: 500;
}
.nav a {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 9px;
  color: #3f4756; font-size: 13.5px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: #f2f5fa; color: #1c2331; }
.nav a.active {
  background: linear-gradient(90deg, rgba(47, 111, 237, .13), rgba(47, 111, 237, .045));
  color: var(--brand); font-weight: 600;
}
.nav a.active::before {
  content: ""; position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 16px; border-radius: 3px; background: var(--brand);
}
.nav a .ico { width: 16px; height: 16px; flex: 0 0 16px; opacity: .8; }
.nav a.active .ico { opacity: 1; }

.side-foot {
  padding: 11px 16px 15px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: #a0a9b8;
}
.side-foot .mono { color: #8b95a6; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  height: 60px; flex: 0 0 60px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.5) blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
  padding: 0 22px; position: sticky; top: 0; z-index: 20;
}
.topbar h1 { font-size: 16px; font-weight: 600; letter-spacing: .2px; white-space: nowrap; }
.topbar .spacer { flex: 1; }
.content { padding: 20px 22px 44px; max-width: 1560px; width: 100%; }

/* 顶部状态 */
.vault-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 20px; font-size: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  cursor: pointer; user-select: none; transition: .15s; white-space: nowrap;
}
.vault-pill:hover { border-color: var(--line-strong); }
.vault-pill.unlocked { background: var(--ok-soft); border-color: #bfe6d2; color: #0b7a45; }
.vault-pill.locked { background: #f7f8fa; }
.vault-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #b9bec8; }
.vault-pill.unlocked .dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(15, 157, 88, .12); }

.userbox { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #3f4756; white-space: nowrap; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #e9f0ff, #dbe7ff); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 600;
  border: 1px solid #d8e5ff;
}
.userbox .uinfo { line-height: 1.25; }
.userbox .uname { font-weight: 500; }
.userbox .role { font-size: 11px; color: var(--muted); }

/* ---------------- 通用组件 ---------------- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card .card-head {
  padding: 14px 17px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.card .card-head h3 { font-size: 14px; letter-spacing: .2px; }
.card .card-body { padding: 17px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; padding: 0 13px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: #fff; color: #2c313a;
  cursor: pointer; white-space: nowrap; transition: background .14s, border-color .14s, box-shadow .14s, transform .1s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: #f7f9fc; border-color: #cfd7e3; }
.btn:active { transform: translateY(.5px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(135deg, #4b8bfb, #2f6fed);
  border-color: #2f6fed; color: #fff;
  box-shadow: 0 6px 14px -8px rgba(47, 111, 237, .9);
}
.btn-primary:hover { background: linear-gradient(135deg, #5b97ff, #2864e0); border-color: #2864e0; }
.btn-danger { background: #fff; border-color: #f0c8c8; color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); border-color: #eaa9a9; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; }
.btn-ghost { border-color: transparent; background: transparent; box-shadow: none; }
.btn-ghost:hover { background: #f1f4f9; border-color: transparent; }
.btn-eye { padding: 0 7px; font-size: 13px; }

.input, .select, textarea.input {
  height: 34px; padding: 0 11px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text);
  outline: none; max-width: 100%;
  transition: border-color .14s, box-shadow .14s;
}
textarea.input { height: auto; padding: 9px 11px; resize: vertical; min-height: 64px; }
.input:hover, .select:hover { border-color: #c9d2e0; }
.input:focus, .select:focus, textarea.input:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3.5px rgba(47, 111, 237, .13);
}
.input::placeholder { color: #a8b0bf; }

.toolbar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 14px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.toolbar .grow { flex: 1; min-width: 8px; }

.table-wrap { overflow: auto; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
table.grid { width: 100%; border-collapse: collapse; font-size: 13px; }
table.grid th {
  text-align: left; font-weight: 600; color: #5a6473; background: #f8fafd;
  padding: 10px 9px; border-bottom: 1px solid var(--line); white-space: nowrap;
  position: sticky; top: 0; z-index: 1; font-size: 12.5px;
}
table.grid td { padding: 10px 9px; border-bottom: 1px solid #f1f3f7; vertical-align: middle; white-space: nowrap; }
table.grid td.wrap { white-space: normal; }
table.grid tbody tr { transition: background .12s; }
table.grid tbody tr:hover { background: #f7faff; }
table.grid tr:last-child td { border-bottom: none; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; font-size: 12.5px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.ellipsis { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 20px; font-size: 12px; line-height: 18px;
  background: #f1f3f6; color: #4b5261; white-space: nowrap;
}
.badge.green { background: var(--ok-soft); color: #0b7a45; }
.badge.blue { background: #eaf1ff; color: #1e56c9; }
.badge.orange { background: var(--warn-soft); color: #a05d00; }
.badge.red { background: var(--danger-soft); color: #b52f2f; }
.badge.gray { background: #f1f3f6; color: #6b7280; }
.badge.purple { background: #f3edff; color: #6b3fc4; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; box-shadow: var(--shadow);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.stat:hover { transform: translateY(-2px); border-color: var(--brand-line); box-shadow: 0 12px 28px -18px rgba(24, 45, 95, .34); }
.stat .label { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat .value { font-size: 27px; font-weight: 650; margin-top: 6px; letter-spacing: -.6px; }
.stat .foot { font-size: 12px; color: #98a2b3; margin-top: 5px; }
.stat.accent .value { color: var(--brand); }
.stat.warn .value { color: var(--warn); }
.stat.danger .value { color: var(--danger); }

.pager { display: flex; align-items: center; gap: 8px; padding: 12px 2px; font-size: 13px; color: var(--muted); }
.pager .spacer { flex: 1; }

.empty { padding: 46px 12px; text-align: center; color: var(--muted); font-size: 13px; }
.empty .big { font-size: 30px; opacity: .35; margin-bottom: 8px; }

/* ---------------- 弹层 ---------------- */
#modalRoot { position: fixed; inset: 0; z-index: 100; display: none; }
#modalRoot.on { display: block; }
.modal-mask { position: absolute; inset: 0; background: rgba(17, 24, 39, .45); backdrop-filter: blur(2px); }
.modal {
  position: relative; margin: 6vh auto 0; background: #fff; border-radius: 14px;
  width: min(720px, calc(100vw - 32px)); max-height: 86vh; display: flex; flex-direction: column;
  box-shadow: 0 30px 70px -24px rgba(16, 24, 40, .45); animation: pop .18s cubic-bezier(.2, .8, .3, 1);
}
.modal.wide { width: min(1040px, calc(100vw - 32px)); }
.modal.narrow { width: min(440px, calc(100vw - 32px)); }
@keyframes pop { from { transform: translateY(10px) scale(.985); opacity: 0 } to { transform: none; opacity: 1 } }
.modal-head { padding: 16px 19px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.modal-head h3 { font-size: 15px; }
.modal-head .x { margin-left: auto; cursor: pointer; color: #9aa1ad; font-size: 17px; line-height: 1; padding: 5px; border-radius: 7px; }
.modal-head .x:hover { background: #f1f3f6; color: #333; }
.modal-body { padding: 19px; overflow: auto; }
.modal-foot {
  padding: 13px 19px; border-top: 1px solid var(--line);
  display: flex; gap: 8px; justify-content: flex-end;
  background: #fcfdff; border-radius: 0 0 14px 14px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; color: #4b5261; margin-bottom: 5px; }
.field label .req { color: var(--danger); margin-left: 2px; }
.field .input, .field .select { width: 100%; }
.hint { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.6; }

/* 单选卡片（导出选项等） */
.pick {
  display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff;
  font-size: 13px; line-height: 1.45; transition: border-color .15s, background .15s;
}
.pick:hover { border-color: var(--brand-line); }
.pick:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pick input { margin-top: 2px; }
.pick .hint { margin: 2px 0 0; }

/* Toast */
#toasts { position: fixed; top: 14px; right: 14px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #23272f; color: #fff; padding: 10px 15px; border-radius: 9px;
  font-size: 13px; box-shadow: 0 12px 30px rgba(16, 24, 40, .26);
  animation: slidein .2s cubic-bezier(.2, .8, .3, 1);
}
.toast.err { background: #b52f2f; }
.toast.ok { background: #10793f; }
@keyframes slidein { from { transform: translateX(14px); opacity: 0 } to { transform: none; opacity: 1 } }

/* 密码查看 */
.secret {
  font-family: "SFMono-Regular", Consolas, monospace; font-size: 15px;
  background: #f7f9fc; border: 1px dashed var(--line-strong); border-radius: 9px;
  padding: 14px 16px; word-break: break-all; user-select: all; letter-spacing: .3px;
}
.mask { letter-spacing: 2px; color: #9aa1ad; }

/* ---------------- 登录 / 初始化 ---------------- */
.auth-page {
  min-height: 100vh; display: grid; place-items: center;
  padding: 28px 20px; position: relative; overflow: hidden;
  background:
    radial-gradient(980px 560px at 8% -10%, #dfe9ff 0%, rgba(223, 233, 255, 0) 62%),
    radial-gradient(820px 520px at 102% 4%, #dcf2ec 0%, rgba(220, 242, 236, 0) 58%),
    linear-gradient(165deg, #f7faff 0%, #ecf1f9 52%, #e4eaf6 100%);
}
.auth-aura { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.auth-page::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(47, 111, 237, .13) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(1000px 620px at 50% 42%, transparent 34%, #000 88%);
  mask-image: radial-gradient(1000px 620px at 50% 42%, transparent 34%, #000 88%);
}
.auth-aura i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(80px); opacity: .5;
  animation: drift 22s ease-in-out infinite alternate;
}
.auth-aura i:nth-child(1) { width: 460px; height: 460px; background: #a8c8ff; top: -170px; left: -110px; }
.auth-aura i:nth-child(2) { width: 400px; height: 400px; background: #bfe6dc; bottom: -180px; right: -90px; animation-delay: -7s; }
.auth-aura i:nth-child(3) { width: 300px; height: 300px; background: #cfd8ff; top: 40%; right: 24%; opacity: .34; animation-delay: -13s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -18px, 0) scale(1.06); }
}

.auth-card {
  position: relative; z-index: 1;
  width: 392px; max-width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fdfeff 100%);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 22px;
  padding: 38px 34px 34px;
  box-shadow: 0 1px 1px rgba(23, 43, 90, .04), 0 34px 70px -30px rgba(23, 43, 90, .45);
}
.auth-card::before {
  content: ""; position: absolute; inset: -8% -14% -22%; z-index: -1;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(47, 111, 237, .14), rgba(47, 111, 237, 0) 72%);
}
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 26px; }
.auth-logo {
  width: 64px; height: 64px; border-radius: 17px; object-fit: contain;
  background: #fff; box-shadow: 0 14px 30px -14px rgba(47, 111, 237, .85);
}
.auth-name {
  font-size: 21px; font-weight: 650; letter-spacing: .8px;
  text-align: center; line-height: 1.35; max-width: 100%; word-break: break-word;
}
.auth-lead { font-size: 13px; color: var(--muted); text-align: center; margin: -6px 0 18px; line-height: 1.65; }

.auth-field {
  display: flex; align-items: center; gap: 9px;
  height: 44px; padding: 0 13px; margin-bottom: 11px;
  border: 1px solid #e3e8f1; background: #fff; border-radius: 11px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.auth-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 111, 237, .11); }
.auth-field svg { width: 17px; height: 17px; flex: 0 0 17px; color: #a3adbd; }
.auth-field:focus-within svg { color: var(--brand); }
.auth-field input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: none;
  background: transparent; font-size: 14.5px; color: var(--text);
}
.auth-field input::placeholder { color: #a8b0bf; }
.auth-captcha { display: flex; gap: 10px; align-items: stretch; }
.auth-captcha .auth-field { flex: 1; min-width: 0; margin-bottom: 11px; }
.captcha-img {
  flex: 0 0 132px; width: 132px; height: 44px; margin-bottom: 11px;
  border-radius: 11px; border: 1px solid #e3e8f1; background: #f4f6fb;
  cursor: pointer; display: block; transition: border-color .15s;
}
.captcha-img:hover { border-color: var(--brand-line); }
.auth-note { font-size: 12px; color: #8b96a8; margin: -2px 0 12px; }
.auth-submit {
  width: 100%; height: 44px; margin-top: 5px;
  border: 0; border-radius: 11px; cursor: pointer;
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 3px;
  background: linear-gradient(135deg, #4b8bfb, #2f6fed);
  box-shadow: 0 14px 26px -14px rgba(47, 111, 237, .95);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.auth-submit:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 18px 30px -14px rgba(47, 111, 237, .95); }
.auth-submit:active { transform: translateY(0); }
.auth-err {
  background: #fef2f2; color: #c03434; border: 1px solid #f8d7d7;
  border-radius: 10px; padding: 9px 13px; font-size: 13px; margin-bottom: 14px; line-height: 1.5;
}
.auth-card.shake { animation: shake .42s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

/* ---------------- 品牌设置 ---------------- */
.brand-editor { display: flex; gap: 20px; align-items: flex-start; }
.brand-preview { flex: 0 0 104px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.brand-preview img {
  width: 84px; height: 84px; border-radius: 20px; object-fit: contain;
  background: #fff; border: 1px solid var(--line); padding: 2px;
  box-shadow: 0 8px 20px -12px rgba(24, 45, 95, .5);
}
.brand-preview .hint { text-align: center; margin: 0; }
.brand-fields { flex: 1; min-width: 0; }
@media (max-width: 720px) {
  .brand-editor { flex-direction: column; }
  .brand-preview { flex-direction: row; align-items: center; }
}

/* 导入向导 */
.map-grid { display: grid; grid-template-columns: 108px 1fr; gap: 8px 10px; align-items: center; }
.map-grid .muted { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wiz-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 22px; }
.wiz-grid > * { min-width: 0; }
.preview-table { max-height: 230px; overflow: auto; border: 1px solid var(--line); border-radius: 9px; }
.preview-table table { font-size: 12px; }
.preview-table th, .preview-table td { padding: 6px 8px; white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; padding: 2px 7px; border-radius: 6px; background: #f1f3f6; font-size: 11.5px; color: #4b5261; white-space: nowrap; }
.chip-region { background: #eef4ff; color: #2f5fc4; font-weight: 500; letter-spacing: .2px; }
.chip-plat { max-width: 118px; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: middle; }
.acct-inline { color: #8a919d; }

.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 92px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; }
.bar { height: 8px; border-radius: 5px; background: #eef1f5; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #6aa6ff, #2f6fed); }
.bar-row .n { text-align: right; color: var(--muted); font-size: 12px; }

/* 表格操作列按钮 */
.act-btns { display: flex; gap: 4px; }
.act-btns .btn { padding: 0 7px; font-size: 12px; }

/* 宝塔地址链接 */
.panel-link {
  display: inline-block; max-width: 146px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; vertical-align: bottom; color: var(--brand);
}
.panel-link:hover { text-decoration: underline; }

/* 项目合并弹窗 */
.sug-list { display: flex; flex-direction: column; gap: 6px; }
.sug-row {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: #fcfdff;
}
.sug-top { display: flex; align-items: center; gap: 10px; }
.sug-names { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.sug-eq { color: var(--warn); }
.sug-score { font-size: 12px; color: var(--warn); background: var(--warn-soft); border-radius: 12px; padding: 1px 8px; flex-shrink: 0; }
.sug-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.mck-list { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 9px; padding: 4px; }
.mck-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.mck-row:hover { background: #f6f8fb; }

/* 提醒消息预览 */
.preview-md {
  white-space: pre-wrap; word-break: break-word; font-size: 13px; line-height: 1.7;
  background: #f7f9fc; border: 1px dashed var(--line-strong); border-radius: 9px;
  padding: 14px 16px; max-height: 420px; overflow: auto;
}

.split { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; align-items: start; }

@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; }
  .sidebar { width: 64px; flex-basis: 64px; }
  .brand .txt, .nav a span, .nav .group { display: none; }
  .brand { justify-content: center; padding: 16px 8px; }
  .nav a { justify-content: center; }
  .nav a.active::before { display: none; }
  .side-foot { display: none; }
}
@media (max-width: 720px) {
  .content { padding: 14px 12px 36px; }
  .topbar { padding: 0 12px; gap: 10px; }
  .userbox .uinfo { display: none; }
  .auth-card { padding: 28px 22px 24px; }
}
