/* 爱倍力腰部慢性疲劳电刺激理疗系统 - 样式表 */
:root {
  --primary: #1d4ed8;
  --primary-strong: #1e3a8a;
  --primary-soft: #dbeafe;
  --accent: #14b8a6;
  --warning: #d97706;
  --danger: #dc2626;
  --success: #15803d;
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-soft: #475569;
  --text-mute: #64748b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(15,23,42,0.06);
  --shadow-strong: 0 4px 24px rgba(15,23,42,0.10);
  --fs-base: 16px;
  --fs-sm: 15px;
  --fs-title: 22px;
  --fs-stat: 28px;
  --fs-section: 18px;
  --nav-width: 220px;
  --header-height: 64px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

button {
  font-family: inherit; font-size: var(--fs-base);
  cursor: pointer; border: 0; border-radius: var(--radius-sm);
  padding: 10px 18px; min-height: 40px;
  background: var(--primary); color: #fff;
  transition: filter 0.15s ease;
}
button:hover { filter: brightness(1.08); }
button.secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
button.danger { background: var(--danger); }
button.warning { background: var(--warning); }
button.ghost { background: transparent; color: var(--primary); }

input, select, textarea {
  font-family: inherit; font-size: var(--fs-base);
  padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #fff; min-height: 40px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary-soft); border-color: var(--primary); }
label { display: block; font-size: var(--fs-sm); color: var(--text-soft); margin-bottom: 6px; }

/* login */
.login-wrap { min-height: 100vh; background: linear-gradient(135deg, #0b1220 0%, #14233f 50%, #0e3a3a 100%); padding: 28px; }
.login-shell { max-width: 1320px; margin: 0 auto; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 18px; backdrop-filter: blur(4px); }
.login-topbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px; color: #e2e8f0; font-size: var(--fs-sm); border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 18px; }
.login-topbar-l { display: flex; align-items: center; gap: 12px; }
.login-topbar-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.login-pulse { width: 10px; height: 10px; border-radius: 50%; background: #14b8a6; box-shadow: 0 0 0 0 rgba(20,184,166,0.7); animation: abl-pulse 1.6s infinite; }
@keyframes abl-pulse { 0% { box-shadow: 0 0 0 0 rgba(20,184,166,0.7);} 100% { box-shadow: 0 0 0 10px rgba(20,184,166,0);} }
.login-system-name { font-weight: 700; color: #fff; font-size: 16px; letter-spacing: 0.5px; }
.login-version { color: #94a3b8; font-size: 13px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,0.16); margin-left: 4px; }
.login-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.08); font-size: 13px; }
.login-clock { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #fde68a; padding: 4px 10px; background: rgba(0,0,0,0.25); border-radius: 6px; }
.login-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; min-height: 640px; }
.login-poster { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #1e3a8a, #0f766e); color: #fff; padding: 36px 32px; display: flex; align-items: stretch; }
.login-poster-bg { position: absolute; inset: 0; pointer-events: none; }
.poster-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 2px, transparent 2px 16px), radial-gradient(circle at 20% 80%, rgba(20,184,166,0.4), transparent 50%), radial-gradient(circle at 80% 20%, rgba(167,139,250,0.4), transparent 50%); }
.poster-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0)); }
.login-poster-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; }
.poster-eyebrow { font-size: 13px; letter-spacing: 4px; color: rgba(255,255,255,0.7); text-transform: uppercase; }
.poster-title { font-size: 38px; line-height: 1.25; margin: 12px 0 14px; font-weight: 800; letter-spacing: 1px; }
.poster-desc { color: rgba(255,255,255,0.86); font-size: 15px; line-height: 1.85; max-width: 520px; }
.poster-feat { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.poster-feat li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #f1f5f9; }
.feat-dot { width: 8px; height: 8px; border-radius: 50%; }
.poster-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.ps-item { background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 14px 12px; text-align: center; }
.ps-num { font-size: 24px; font-weight: 700; color: #fff; line-height: 1.1; }
.ps-num span { font-size: 14px; color: #fde68a; margin-left: 2px; }
.ps-lbl { color: rgba(255,255,255,0.78); font-size: 13px; margin-top: 4px; }
.login-form-card { background: #fff; border-radius: 14px; padding: 32px 32px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-strong); }
.login-form-head { border-bottom: 1px dashed var(--border); padding-bottom: 16px; margin-bottom: 18px; }
.login-badge { display: inline-block; background: var(--primary-soft); color: var(--primary); padding: 4px 10px; border-radius: 999px; font-size: 12px; margin-bottom: 8px; font-weight: 600; }
.login-form-head h2 { margin: 0 0 4px; font-size: 24px; }
.login-form-head .lead { color: var(--text-soft); margin: 0; font-size: 14px; }
.login-form-body .row { margin-bottom: 16px; }
.login-hint { font-size: 13px; color: var(--text-soft); margin-top: 4px; min-height: 18px; }
.login-quick { background: var(--surface-2); border: 1px dashed var(--border); border-radius: 12px; padding: 14px; margin: 6px 0 16px; }
.login-quick-title { font-size: 13px; color: var(--text-soft); margin-bottom: 10px; }
.login-quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.quick-card { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #fff; border: 1px solid var(--border); border-radius: 8px; text-align: left; min-height: 0; cursor: pointer; transition: all 0.15s; }
.quick-card:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(29,78,216,0.10); }
.quick-card .qc-avatar { width: 30px; height: 30px; border-radius: 8px; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.quick-card .qc-body { display: flex; flex-direction: column; line-height: 1.2; }
.quick-card .qc-name { font-size: 14px; color: var(--text); font-weight: 600; }
.quick-card .qc-no { font-size: 12px; color: var(--text-soft); }
.login-form-body .actions { display: flex; gap: 12px; margin-top: 8px; }
.login-form-body .actions button { flex: 1; }
.login-tip { font-size: 13px; color: var(--text-mute); margin-top: 14px; }
.login-msg { margin-top: 10px; font-size: 14px; min-height: 20px; }
.login-form-foot { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; color: var(--text-mute); font-size: 12px; border-top: 1px dashed var(--border); }
@media (max-width: 1024px) {
  .login-main { grid-template-columns: 1fr; }
  .login-poster { padding: 24px; }
  .poster-title { font-size: 30px; }
  .poster-stats { grid-template-columns: repeat(2, 1fr); }
  .login-form-card { padding: 24px; }
}
@media (max-width: 720px) {
  .login-topbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .login-quick-grid { grid-template-columns: 1fr; }
}

/* shell */
.app-shell { display: flex; min-height: 100vh; }
.app-nav { width: var(--nav-width); background: linear-gradient(180deg, #0f172a, #1e3a8a); color: #cbd5e1; padding: 24px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; flex-shrink: 0; }
.app-nav .brand { display: flex; align-items: center; gap: 10px; padding: 0 20px 16px; font-size: 16px; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.1); line-height: 1.4; }
.app-nav .brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(20,184,166,0.25); }
.app-nav .nav-section { margin-top: 12px; }
.app-nav .nav-title { padding: 10px 20px 4px; font-size: var(--fs-sm); color: #94a3b8; }
.app-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 20px; color: #cbd5e1; font-size: var(--fs-base); }
.app-nav a:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.app-nav a.active { background: rgba(20,184,166,0.18); color: #fff; border-left: 3px solid var(--accent); }
.app-nav .nav-icon { width: 22px; height: 22px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border-radius: 6px; font-size: 14px; }
.app-main { flex: 1; display: flex; flex-direction: column; }
.app-header { height: var(--header-height); background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 28px; justify-content: space-between; position: sticky; top: 0; z-index: 5; }
.app-header .crumb { color: var(--text-soft); font-size: var(--fs-base); }
.app-header .crumb b { color: var(--text); margin-left: 6px; }
.app-header .user-pill { display: flex; align-items: center; gap: 10px; background: var(--surface-2); padding: 8px 14px; border-radius: 999px; font-size: var(--fs-sm); }
.app-header .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-sm); font-weight: 600; }
.app-content { padding: 28px; flex: 1; }
.page-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.page-title h1 { margin: 0; font-size: var(--fs-title); }
.page-title .sub { color: var(--text-soft); font-size: var(--fs-sm); margin-top: 4px; }
.page-title .actions { display: flex; gap: 10px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card-title { font-size: var(--fs-section); font-weight: 600; margin: 0 0 14px; }
.card-title .meta { color: var(--text-soft); font-size: var(--fs-sm); font-weight: 400; margin-left: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stat-card { padding: 18px; }
.stat-card .label { color: var(--text-soft); font-size: var(--fs-sm); }
.stat-card .value { font-size: var(--fs-stat); font-weight: 700; color: var(--text); margin: 6px 0 4px; line-height: 1.1; }
.stat-card .value small { font-size: 15px; color: var(--text-soft); margin-left: 4px; font-weight: 400; }
.stat-card .trend { font-size: var(--fs-sm); color: var(--text-mute); }
.stat-card .trend.up { color: var(--success); }
.stat-card .trend.down { color: var(--danger); }
.stat-card .desc { font-size: var(--fs-sm); color: var(--text-mute); margin-top: 4px; }
.stat-card .ico { width: 36px; height: 36px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 16px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); }
table th, table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
table th { background: var(--surface-2); color: var(--text-soft); font-weight: 600; }
table tr:hover td { background: rgba(29,78,216,0.04); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: var(--fs-sm); background: var(--primary-soft); color: var(--primary); margin-right: 4px; }
.tag.warn { background: #fef3c7; color: #b45309; }
.tag.ok { background: #dcfce7; color: var(--success); }
.tag.danger { background: #fee2e2; color: var(--danger); }
.tag.muted { background: #e2e8f0; color: #334155; }
.toolbar { display: flex; gap: 12px; align-items: end; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .field { min-width: 160px; }
.toolbar .field-grow { flex: 1; min-width: 200px; }
.toolbar .spacer { flex: 1; }
.toolbar button { min-height: 40px; }
.chart-box { height: 260px; position: relative; padding: 10px 0 0; }
.bar-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.bar-row .name { width: 110px; color: var(--text-soft); font-size: var(--fs-sm); }
.bar-row .bar { background: var(--primary); height: 18px; border-radius: 4px; min-width: 4px; }
.bar-row .val { color: var(--text); font-size: var(--fs-sm); }
.schedule { display: flex; flex-direction: column; gap: 8px; }
.schedule .item { display: grid; grid-template-columns: 90px 1fr 120px 80px 100px; gap: 10px; align-items: center; padding: 10px 14px; background: var(--surface-2); border-radius: var(--radius-sm); font-size: var(--fs-sm); }
.schedule .item .time { color: var(--primary); font-weight: 600; }
.alert { display: flex; gap: 12px; padding: 12px 14px; background: #fff7ed; border-left: 3px solid var(--warning); border-radius: var(--radius-sm); font-size: var(--fs-sm); margin-bottom: 8px; }
.alert.medium { background: #fff7ed; border-color: var(--warning); }
.alert.high { background: #fef2f2; border-color: var(--danger); }
.alert .time { color: var(--text-mute); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.detail-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.detail-row .k { color: var(--text-soft); }
.detail-row .v { color: var(--text); font-weight: 500; }
.modal-mask { position: fixed; inset: 0; background: rgba(15,23,42,0.4); display: flex; align-items: center; justify-content: center; z-index: 99; }
.modal { width: 720px; max-width: 92%; background: #fff; border-radius: var(--radius); padding: 24px; max-height: 86vh; overflow: auto; }
.modal h2 { margin: 0 0 16px; font-size: var(--fs-section); }
.pager { display: flex; gap: 6px; justify-content: flex-end; margin-top: 12px; }
.pager .info { color: var(--text-soft); font-size: var(--fs-sm); padding: 8px 12px; }
.dot-status { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot-status.running { background: var(--success); }
.dot-status.paused { background: var(--warning); }
.dot-status.fault { background: var(--danger); }
@media (max-width: 1280px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col, .three-col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .login-card { grid-template-columns: 1fr; }
  .app-nav { display: none; }
  .page-title { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* === 页面专属可视化（用于让每个列表页的截图差异化） === */
.section-h { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.section-h h2 { margin:0; font-size: 18px; font-weight: 600; }
.section-h .meta { color: var(--text-soft); font-size: 13px; }

/* 总控：英雄条 + 在岗岗位 */
.hero-banner { display:flex; justify-content:space-between; align-items:center; padding: 20px 24px; margin-bottom: 16px; background: linear-gradient(120deg, #1d4ed8 0%, #0f766e 100%); color: #fff; border-radius: var(--radius); }
.hero-banner .hb-eyebrow { font-size: 12px; letter-spacing: 3px; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.hero-banner .hb-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.hero-banner .hb-desc { color: rgba(255,255,255,0.85); font-size: 14px; }
.hero-banner .hb-right { display:flex; gap: 10px; flex-wrap: wrap; }
.hero-banner .hb-pill { display:inline-flex; align-items:center; gap: 6px; padding: 6px 12px; background: rgba(0,0,0,0.25); border-radius: 999px; font-size: 13px; }
.role-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.role-card { display: flex; align-items: stretch; gap: 0; background: var(--surface-2); border-radius: 10px; border: 1px solid var(--border); overflow: hidden; }
.role-card .rc-bar { width: 4px; }
.role-card .rc-body { padding: 10px 12px; flex: 1; }
.role-card .rc-name { font-size: 13px; color: var(--text-soft); }
.role-card .rc-count { font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.1; }
.role-card .rc-count small { font-size: 12px; color: var(--text-soft); margin-left: 2px; font-weight: 400; }
.role-card .rc-duty { font-size: 12px; color: var(--text-mute); margin-top: 4px; }
@media (max-width: 1280px) { .role-grid { grid-template-columns: repeat(3, 1fr); } }

/* 预约排程：时间轴 */
.timeline-board { display: grid; grid-template-columns: 90px 1fr; gap: 0; }
.timeline-board .tl-hours { display: flex; flex-direction: column; }
.timeline-board .tl-hour { height: 36px; color: var(--text-soft); font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.timeline-board .tl-track { position: relative; background: var(--surface-2); border-radius: 8px; min-height: 360px; }
.timeline-board .tl-row { position: absolute; left: 6px; right: 6px; height: 30px; padding: 4px 8px; border-radius: 6px; font-size: 13px; color: #fff; display:flex; align-items:center; gap:8px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.timeline-board .tl-room { position: absolute; top: 6px; bottom: 6px; left: 4px; right: 4px; border-left: 1px dashed var(--border); }
.legend-row { display:flex; gap:16px; font-size:13px; color: var(--text-soft); margin-top: 10px; flex-wrap: wrap; }
.legend-row .lg { display:flex; align-items:center; gap:6px; }
.legend-row .sw { width: 12px; height: 12px; border-radius: 3px; }

/* 协议：波形 */
.wave-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wave-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; display:flex; flex-direction: column; gap: 8px; }
.wave-card .wave-svg { background: var(--surface-2); border-radius: 8px; height: 70px; }
.wave-card .wave-name { font-weight: 600; }
.wave-card .wave-meta { display:flex; gap: 8px; font-size: 12px; color: var(--text-soft); flex-wrap: wrap; }
.wave-card .wave-meta span { background: var(--primary-soft); color: var(--primary); padding: 2px 8px; border-radius: 999px; }

/* 随访：趋势线 */
.recover-trend { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.recover-trend svg { width: 100%; height: 220px; }
.recover-legend { display:flex; gap:18px; font-size:13px; color: var(--text-soft); margin-top: 8px; flex-wrap: wrap; }
.recover-legend .lg { display:flex; align-items:center; gap:6px; }
.recover-legend .sw { width:14px; height:4px; border-radius:2px; }

/* 设备：健康环 */
.device-ring-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.device-ring { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; display:flex; gap: 12px; align-items: center; }
.device-ring .ring-svg { width: 64px; height: 64px; }
.device-ring .ring-info { display:flex; flex-direction: column; gap: 2px; min-width: 0; }
.device-ring .ring-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-ring .ring-meta { font-size: 12px; color: var(--text-soft); }
.device-ring .ring-state { display:inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; }

/* 电极片：库存条 */
.stock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stock-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.stock-card .sc-head { display:flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.stock-card .sc-name { font-weight: 600; }
.stock-card .sc-spec { color: var(--text-soft); font-size: 12px; }
.stock-bar { background: var(--surface-2); height: 12px; border-radius: 6px; overflow: hidden; }
.stock-bar .fill { height: 100%; background: linear-gradient(90deg, #14b8a6, #1d4ed8); }
.stock-bar .fill.warn { background: linear-gradient(90deg, #fbbf24, #d97706); }
.stock-card .sc-foot { display:flex; justify-content: space-between; font-size: 12px; color: var(--text-soft); margin-top: 6px; }

/* 维护：日历 */
.mt-cal { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.mt-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.mt-day { background: var(--surface-2); border-radius: 8px; padding: 10px 8px; min-height: 80px; display: flex; flex-direction: column; gap: 4px; border: 1px solid transparent; }
.mt-day.weekend { background: #f8fafc; }
.mt-day.today { border-color: var(--primary); background: var(--primary-soft); }
.mt-day .d-date { font-size: 12px; color: var(--text-soft); }
.mt-day .d-num { font-size: 16px; font-weight: 700; }
.mt-day .d-evt { font-size: 12px; padding: 2px 6px; border-radius: 4px; background: #fff; border: 1px solid var(--border); }
.mt-day .d-evt.fault { background: #fee2e2; color: var(--danger); border-color: #fecaca; }
.mt-day .d-evt.quarterly { background: #ede9fe; color: #6d28d9; border-color: #ddd6fe; }
.mt-day .d-evt.daily { background: #dcfce7; color: var(--success); border-color: #bbf7d0; }

/* 审计：时间流 */
.audit-flow { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.audit-flow .af-row { display: grid; grid-template-columns: 110px 90px 1fr 90px 80px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.audit-flow .af-row:last-child { border-bottom: 0; }
.audit-flow .af-time { color: var(--text-soft); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.audit-flow .af-act { font-weight: 600; }
.audit-flow .af-target { color: var(--text); }
.audit-flow .af-result { text-align: right; }
.audit-flow .af-detail { color: var(--text-soft); font-size: 13px; }

/* 配置：分类树 */
.cfg-tree { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cfg-cat { background: var(--surface-2); border-radius: 10px; padding: 12px; border: 1px solid var(--border); }
.cfg-cat h4 { margin: 0 0 8px; font-size: 14px; color: var(--primary); }
.cfg-cat .cfg-row { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; border-bottom: 1px dotted var(--border); }
.cfg-cat .cfg-row:last-child { border-bottom: 0; }
.cfg-cat .cfg-row .k { color: var(--text); }
.cfg-cat .cfg-row .v { color: var(--text-soft); }
