/* ============ 信息安全建设闭环管理系统 ============ */
:root {
  --bg: #eef3f7;
  --surface: #fff;
  --ink: #13222e;
  --muted: #52677a;
  --line: #d7e0ea;
  --accent: #1260d3;
  --accent-deep: #0b44a4;
  --accent-soft: rgba(18, 96, 211, .12);
  --aside: #0b2438;
  --aside-ink: #cfe0ef;
  --ok: #0e8a5c;
  --warn: #c07a12;
  --danger: #c0392b;
  --shadow: 0 12px 30px rgba(18, 34, 46, .10);
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: radial-gradient(ellipse 90% 55% at 8% -8%, rgba(18, 96, 211, .10), transparent 52%), linear-gradient(180deg, #f7fafc, var(--bg));
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: .82rem; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.grow { flex: 1; }

/* ---------- 登录 ---------- */
.login-shell {
  min-height: 100vh; display: grid; grid-template-columns: minmax(300px, 42%) 1fr;
  background: linear-gradient(160deg, #071b2c, #0b2438 60%, #10365a);
}
.login-left {
  padding: 40px 38px; background: linear-gradient(165deg, #ffffff, #eaf1f8);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.login-eyebrow { margin: 0; font-size: .74rem; letter-spacing: .18em; color: var(--accent-deep); font-weight: 800; }
.login-brand { margin: 0; font-size: 1.7rem; font-weight: 900; line-height: 1.35; }
.login-slogan { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.login-form label { display: block; font-size: .82rem; margin: 12px 0 5px; color: var(--muted); }
.login-form input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none;
}
.login-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.login-msg { color: var(--danger); min-height: 1.3em; font-size: .85rem; margin-top: 6px; }
.login-right { padding: 34px; color: #dbe9f5; overflow: auto; }
.login-right h2 { font-size: 1.05rem; }
.demo-hint { color: rgba(219, 233, 245, .7); font-size: .8rem; margin: 10px 0 14px; }
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.role-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px; padding: 12px; cursor: pointer; transition: .15s;
}
.role-card:hover { border-color: #5aa7f0; background: rgba(90, 167, 240, .12); }
.role-card strong { display: block; }
.role-card small { display: block; margin-top: 4px; font-size: .74rem; opacity: .72; line-height: 1.5; min-height: 3.2em; }
.role-card .role-line { font-size: .74rem; opacity: .55; margin-top: 6px; }

/* ---------- 布局 ---------- */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.aside {
  background: var(--aside); color: var(--aside-ink); padding: 16px 12px;
  display: flex; flex-direction: column; gap: 10px; position: sticky; top: 0; height: 100vh; overflow: auto;
}
.brand-block { display: flex; gap: 10px; align-items: center; padding: 2px 6px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mark {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px;
  background: linear-gradient(135deg, #2f86e8, #0b44a4); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.1rem;
}
.brand-block strong { display: block; font-size: .92rem; line-height: 1.3; }
.brand-block p { margin: 3px 0 0; font-size: .72rem; opacity: .6; }
.menu { display: flex; flex-direction: column; gap: 2px; }
.menu .m-group { font-size: .7rem; opacity: .5; letter-spacing: .08em; padding: 12px 10px 4px; }
.menu button {
  width: 100%; text-align: left; background: transparent; border: 0; color: inherit;
  padding: 9px 12px; border-radius: 9px; display: flex; gap: 8px; align-items: center; font-size: .88rem;
}
.menu button.active, .menu button:hover { background: rgba(47, 134, 232, .22); color: #fff; }
.menu .ico { width: 16px; text-align: center; opacity: .85; font-size: .95rem; }
.aside .aside-foot { margin-top: auto; font-size: .72rem; opacity: .55; padding: 8px 6px; line-height: 1.6; }

.main-wrap { display: flex; flex-direction: column; min-width: 0; }
.header {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 22px; background: rgba(255,255,255,.78); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20;
}
.header h2 { margin: 0; font-size: 1.1rem; }
.header .sub { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.h-actions { display: flex; gap: 8px; align-items: center; }
.bell-wrap { position: relative; }
.bell {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; font-size: 1.05rem;
}
.bell .dot {
  position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; border-radius: 9px;
  background: var(--danger); color: #fff; font-size: .66rem; display: grid; place-items: center; padding: 0 4px;
}
.content { padding: 18px 22px 44px; max-width: 1500px; }

/* ---------- 通用控件 ---------- */
.btn {
  border: 0; border-radius: 10px; padding: 9px 16px; background: var(--accent); color: #fff;
  font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: .15s;
}
.btn:hover { background: var(--accent-deep); }
.btn.sm { padding: 5px 10px; font-size: .8rem; border-radius: 8px; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn.warn { background: var(--warn); }
.btn.warn:hover { background: #9e640e; }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: #9d2c20; }
.btn.ok { background: var(--ok); }
.btn.ok:hover { background: #0a6d49; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.input, select.input, textarea.input {
  padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
  background: #fff; outline: none; min-width: 0;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { line-height: 1.6; }

.tag {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; white-space: nowrap;
  background: #eef2f7; color: var(--muted); border: 1px solid transparent;
}
.tag.ok { background: rgba(14,138,92,.12); color: var(--ok); }
.tag.warn { background: rgba(192,122,18,.13); color: #9a620e; }
.tag.danger { background: rgba(192,57,43,.12); color: var(--danger); }
.tag.accent { background: var(--accent-soft); color: var(--accent-deep); }
.tag.risk-h { background: rgba(192,57,43,.14); color: var(--danger); font-weight: 700; }
.tag.risk-m { background: rgba(192,122,18,.15); color: #9a620e; font-weight: 700; }
.tag.risk-l { background: rgba(14,138,92,.13); color: var(--ok); }
.tag.grade1 { background: rgba(192,57,43,.13); color: var(--danger); }
.tag.grade2 { background: rgba(192,122,18,.15); color: #9a620e; }
.tag.grade3 { background: #eef2f7; color: var(--muted); }

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); margin-bottom: 16px;
}
.panel h3 { margin: 0 0 12px; font-size: 1rem; }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }

/* ---------- 表格 ---------- */
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { border-bottom: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: middle; }
th { color: var(--muted); font-weight: 600; background: #f7fafc; white-space: nowrap; }
tbody tr:hover { background: #f4f8fd; }
tbody tr.click { cursor: pointer; }
.tr-weak { color: var(--muted); }
.pager { display: flex; align-items: center; gap: 10px; margin-top: 12px; justify-content: flex-end; }
.pager .info { color: var(--muted); font-size: .8rem; }

/* ---------- 卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.card .k { color: var(--muted); font-size: .8rem; }
.card .v { font-size: 1.9rem; font-weight: 800; margin-top: 6px; letter-spacing: .5px; }
.card .sub { color: var(--muted); font-size: .78rem; margin-top: 6px; }
.card .bar-tone { position: absolute; inset: 0 auto 0 0; width: 5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1100px) { .grid-2 { grid-template-columns: 1fr; } }
.chart { display: flex; flex-direction: column; gap: 10px; }
.chart .c-row { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; font-size: .85rem; }
.chart .c-bar { background: #edf2f8; border-radius: 6px; height: 22px; overflow: hidden; }
.chart .c-bar i { display: block; height: 100%; border-radius: 6px; }
.chart .c-n { text-align: right; font-weight: 700; color: var(--muted); font-size: .82rem; }

/* 阶段条 */
.steps-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 8px 0 14px; }
.steps-bar .st {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; text-align: center;
  font-size: .8rem; color: var(--muted);
}
.steps-bar .st.done { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; }
.steps-bar .st b { display: block; font-size: .95rem; }

/* ---------- 详情 / 弹层 ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(7, 20, 31, .45); z-index: 60;
  display: grid; place-items: center; padding: 20px;
}
.modal {
  background: #fff; border-radius: 16px; width: min(760px, 96vw); max-height: 90vh;
  overflow: auto; box-shadow: 0 24px 60px rgba(0,0,0,.28); animation: pop .16s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-head {
  position: sticky; top: 0; background: #fff; padding: 16px 20px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 10px; align-items: center; z-index: 2;
}
.modal-head h3 { font-size: 1.05rem; }
.modal-body { padding: 18px 20px 22px; }
.modal-foot { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; position: sticky; bottom: 0; background: #fff; }
.x-btn { border: 0; background: transparent; font-size: 1.3rem; color: var(--muted); line-height: 1; padding: 4px 8px; }
.x-btn:hover { color: var(--danger); }

/* 详情键值 */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 18px; }
.d-item .lb { font-size: .74rem; color: var(--muted); margin-bottom: 3px; }
.d-item .vl { font-size: .9rem; line-height: 1.6; word-break: break-word; }
.d-item.full { grid-column: 1 / -1; }

/* 表单 */
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 16px; }
.form-grid .fg { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; color: var(--muted); }
.form-grid .fg.full { grid-column: 1 / -1; }
.form-grid .fg .req::after { content: ' *'; color: var(--danger); }
.fg input, .fg select, .fg textarea { width: 100%; }
.check-list { display: flex; flex-wrap: wrap; gap: 8px; background: #f8fafd; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.check-list label { display: inline-flex; gap: 6px; align-items: center; font-size: .84rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; cursor: pointer; }
.check-list label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.readonly-chip {
  background: #f4f6f9; border-radius: 8px; padding: 8px 10px; font-size: .86rem; color: var(--muted);
  border: 1px dashed var(--line); width: 100%;
}

/* 通知面板 */
.notif-panel { display: flex; flex-direction: column; gap: 8px; }
.notif-item {
  display: flex; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.notif-item .n-ico { font-size: 1.1rem; }
.notif-item .n-body { flex: 1; min-width: 0; }
.notif-item .n-title { font-weight: 600; font-size: .88rem; }
.notif-item .n-content { color: var(--muted); font-size: .82rem; margin-top: 3px; line-height: 1.6; }
.notif-item .n-time { font-size: .72rem; color: var(--muted); white-space: nowrap; margin-top: 4px; }
.notif-item.unread { border-color: var(--accent); background: rgba(18, 96, 211, .05); }

/* 待办 */
.todo-list { display: flex; flex-direction: column; gap: 8px; }
.todo-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff;
}
.todo-item .todo-main { flex: 1; min-width: 0; }
.todo-item .todo-title { font-size: .88rem; }
.todo-item .todo-meta { color: var(--muted); font-size: .76rem; margin-top: 3px; }

/* 图例/圆点 */
.legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; }

/* 安全提示带 */
.sec-note {
  background: linear-gradient(120deg, #e8f1fc, #f6f0e8);
  border: 1px solid #cdddf1; border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: .86rem; line-height: 1.7; color: #25405c;
}

/* ============ 优化版增强 ============ */

/* ---------- 水印 ---------- */
.wm {
  position: fixed; inset: 0; z-index: 38; pointer-events: none;
  opacity: .16; mix-blend-mode: multiply; background-repeat: repeat;
}
.login-shell .wm, .wm { z-index: 38; }

/* ---------- 布局：头/折叠 ---------- */
.brand-block { position: relative; padding-right: 30px; }
.brand-txt { min-width: 0; }
.side-fold {
  position: absolute; right: 2px; top: 2px; width: 24px; height: 24px;
  border: 0; border-radius: 8px; background: rgba(255,255,255,.1); color: var(--aside-ink);
  font-size: 1.15rem; line-height: 1; display: grid; place-items: center;
}
.side-fold:hover { background: rgba(47,134,232,.35); color: #fff; }
.shell.mini { grid-template-columns: 66px 1fr; }
.shell.mini .brand-block { padding: 2px 4px 12px; justify-content: center; }
.shell.mini .brand-txt,
.shell.mini .menu button span:not(.ico),
.shell.mini .aside-foot p { display: none; }
.shell.mini .menu button { justify-content: center; padding: 10px 4px; }
.shell.mini .m-group { text-align: center; padding: 10px 0 4px; font-size: 0; }
.shell.mini .m-group::first-letter { font-size: .72rem; visibility: visible; }
.shell.mini .aside-foot { display: grid; place-items: center; }
.shell.mini .aside-foot .copy-link { writing-mode: vertical-rl; font-size: .66rem; }
.shell.mini .side-fold { position: static; }
.aside .copy-link {
  color: rgba(207,224,239,.65); text-decoration: none; font-size: .7rem; line-height: 1.8;
}
.aside .copy-link:hover { color: #fff; text-decoration: underline; }

.head-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.back-btn {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: 1.35rem; line-height: 1; color: var(--muted);
}
.back-btn:hover { color: var(--accent-deep); border-color: var(--accent); background: var(--accent-soft); }
.head-tit { min-width: 0; }
.who-chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft);
  color: var(--accent-deep); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 600;
  white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis;
}
.help-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--muted); font-weight: 800; font-size: .95rem;
}
.help-btn:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

/* ---------- 顶部快捷操作 ---------- */
.h-quick { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.q-btn {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 6px 12px; font-size: .8rem;
}
.q-btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.q-btn.hot { background: var(--accent-soft); border-color: rgba(18,96,211,.4); color: var(--accent-deep); }
.q-btn .q-ico { font-size: .92rem; }
.q-num {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--danger); color: #fff; font-size: .68rem; display: inline-grid; place-items: center;
}
.q-btn.warn-q .q-num { background: var(--warn); }
.q-btn .q-num.zero { background: #c8d2dc; }

/* ---------- 底部页脚 ---------- */
.main-wrap { min-height: 100vh; }
.content { flex: 1; }
.app-foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 12px 22px; border-top: 1px solid var(--line); background: rgba(255,255,255,.72);
  color: var(--muted); font-size: .76rem;
}
.app-foot a { color: var(--muted); }
.app-foot a:hover { color: var(--accent-deep); text-decoration: underline; }
.app-foot .sep { opacity: .5; }

/* ---------- 结果定位条 ---------- */
.ctx-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;
  background: linear-gradient(120deg, #e8f1fc, #eef7fb); border: 1px solid #cdddf1;
  border-left: 4px solid var(--accent); border-radius: 10px; padding: 9px 14px; font-size: .84rem; color: #25405c;
}
.ctx-bar b { color: var(--accent-deep); }
.ctx-chip {
  display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 11px; font-size: .78rem; color: var(--ink);
}
.ctx-chip .x { cursor: pointer; color: var(--muted); font-weight: 700; }
.ctx-chip .x:hover { color: var(--danger); }

/* ---------- 日期区间 / 快捷 ---------- */
.d-range { display: inline-flex; align-items: center; gap: 4px; }
.d-range input { width: 136px; }
.d-range .til { color: var(--muted); font-size: .76rem; padding: 0 2px; }
.mini-btns { display: inline-flex; gap: 4px; }
.mini-btns button {
  border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 2px 8px;
  font-size: .72rem; color: var(--muted);
}
.mini-btns button:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---------- 分页增强 ---------- */
.pager { gap: 6px; }
.pager .pg {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .82rem;
}
.pager .pg.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.pager .pg:disabled { opacity: .45; }
.pager .pg-ell { color: var(--muted); padding: 0 2px; }
.pager select { width: auto; }

/* ---------- 表内操作 ---------- */
.row-ops { white-space: nowrap; }
.row-ops a { margin-right: 2px; }

/* ---------- 表单：地区三联动 / 电话 ---------- */
.region-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.region-row select { width: 100%; }
input.phone-invalid { border-color: var(--danger) !important; }

/* ---------- 导入 / 导出 ---------- */
.io-panel { display: flex; flex-direction: column; gap: 10px; }
.io-step { border: 1px dashed var(--line); border-radius: 10px; padding: 12px; font-size: .84rem; color: #444; background: #fbfcfe; }
.io-step b { color: var(--ink); }
.io-step code { background: #eef3fa; padding: 1px 6px; border-radius: 6px; font-size: .8rem; }
.io-report { max-height: 260px; overflow: auto; }
.io-report .bad { color: var(--danger); }
.io-report .row { padding: 3px 0; font-size: .8rem; border-bottom: 1px dashed var(--line); }
.io-sample { background: #0e1b28; color: #bfe3ff; border-radius: 10px; padding: 12px 14px; font-size: .74rem; line-height: 1.75; overflow: auto; white-space: pre; }
.io-report-ul { margin: 4px 0 0 18px; padding: 0; color: var(--danger); font-size: .78rem; line-height: 1.75; max-height: 150px; overflow: auto; }
.io-report-ul li { margin: 2px 0; }
.ok-txt { color: var(--ok); }
.mono { font-family: ui-monospace, Consolas, 'Courier New', monospace; }
input.phone-invalid, textarea.phone-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 2px rgba(180,35,24,.08); }
.region-row select.input { height: auto; }

/* ---------- 详情可读性 ---------- */
.detail-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 22px; }
.detail-sec { grid-column: 1 / -1; margin-top: 4px; }
.detail-sec .sec-t {
  display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--accent-deep);
  font-weight: 700; margin: 4px 0 10px;
}
.detail-sec .sec-t::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.modal .read-text { white-space: pre-wrap; line-height: 1.9; font-size: .9rem; color: var(--ink); background: #fbfcfe; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }

/* ---------- 帮助抽屉 ---------- */
.help-mask { position: fixed; inset: 0; background: rgba(7,20,31,.32); z-index: 70; }
.help-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 94vw); z-index: 71;
  background: #fff; box-shadow: -16px 0 44px rgba(0,0,0,.16); overflow: auto;
  animation: drawerIn .2s ease; display: flex; flex-direction: column;
}
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } }
.help-head {
  position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border-bottom: 1px solid var(--line); background: #fff; z-index: 2;
}
.help-head h3 { font-size: 1.02rem; }
.help-body { padding: 6px 18px 28px; font-size: .86rem; line-height: 1.85; color: #333; }
.help-body h4 { margin: 18px 0 6px; font-size: .9rem; color: var(--accent-deep); }
.help-body .h-intro { color: var(--muted); margin: 2px 0 6px; }
.help-body ul { margin: 4px 0 0; padding-left: 18px; }
.help-body li { margin: 4px 0; }
.help-body .fields-hint { background: #f4f8fd; border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.help-body .req { color: var(--danger); }

/* 空态按钮区 */
.empty-actions { margin-top: 12px; display: flex; gap: 10px; justify-content: center; }

@media (max-width: 1100px) {
  .h-quick .q-txt { display: none; }
  .q-btn { padding: 6px 9px; }
}
@media (max-width: 960px) {
  .app-foot { justify-content: center; text-align: center; }
  .help-drawer { width: 100%; }
}


/* 移动端基础适配 */
@media (max-width: 960px) {
  .shell, .shell.mini { grid-template-columns: 1fr; }
  .aside { position: static; height: auto; flex-direction: row; overflow: auto; align-items: center; gap: 8px; padding: 8px 12px; }
  .aside .brand-block { border-bottom: 0; padding-right: 4px; }
  .brand-txt { display: none; }
  .side-fold { display: none; }
  .aside-foot { display: none; }
  .menu { flex-direction: row; overflow: auto; }
  .m-group { display: none; }
  .login-shell { grid-template-columns: 1fr; }
}
