/* 抖音续火花系统 - 样式（科技蓝 + 圆角卡片，对齐 dy.44mz.cn 风格） */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --bg: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --danger: #dc2626;
  --ok: #16a34a;
  --warn: #d97706;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(15,23,42,.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* 头部 */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--text); }
.logo-mark { font-size: 22px; }
.site-nav { display: flex; gap: 16px; align-items: center; }
.site-nav a { color: var(--muted); font-size: 14px; }
.site-nav a:hover { color: var(--primary); }

/* 按钮 */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--primary); color: #fff; border: none; border-radius: 10px; padding: 10px 20px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #fff; color: var(--primary); border: 1px solid var(--primary-light); border-radius: 10px; padding: 9px 18px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn-ghost:hover { background: var(--primary-light); }
.btn-danger { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--danger); border: 1px solid #fecaca; border-radius: 8px; padding: 6px 12px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.btn-danger:hover { background: #fef2f2; }
.btn-warn { display: inline-flex; align-items: center; justify-content: center; background: var(--warn); color: #fff; border: none; border-radius: 10px; padding: 10px 20px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: 7px; }
.btn-block { display: flex; width: 100%; margin: 6px 0; }

/* 首页 Hero */
.hero { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); padding: 72px 0; text-align: center; }
.hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.hero .grad { background: linear-gradient(90deg, var(--primary), #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 20px; }
.hero-badges { display: flex; gap: 18px; justify-content: center; color: var(--muted); font-size: 13px; flex-wrap: wrap; }

/* 通用区块 */
.section { padding: 40px 0; }
.section-title { text-align: center; font-size: 26px; font-weight: 800; margin-bottom: 24px; }
.feature-grid, .price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 卡片 */
.card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.card h3 { margin-bottom: 10px; font-size: 16px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.feature { text-align: center; }
.feat-icon { font-size: 30px; margin-bottom: 8px; }
.step { text-align: center; }
.step b { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary); border-radius: 50%; font-size: 18px; margin-bottom: 8px; }
.price-card { text-align: center; }
.price-amount { font-size: 32px; font-weight: 800; color: var(--primary); }
.price-original { font-size: 13px; color: var(--muted); }
.price-days { font-size: 14px; color: var(--muted); }
.price-desc { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--text); }
.security-note .card { background: var(--primary-light); border-color: #bfdbfe; }

/* 表单 */
.auth-wrap { padding: 60px 0; display: flex; justify-content: center; }
.auth-card { width: 400px; max-width: 100%; }
.auth-title { text-align: center; margin-bottom: 18px; }
.form label { display: block; margin-bottom: 12px; font-size: 14px; color: var(--text); font-weight: 500; }
.form input, .form textarea, .form select { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; margin-top: 6px; outline: none; transition: .2s; background: #fff; font-family: inherit; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-row { display: flex; gap: 10px; }
.form-row > label { flex: 1; }
.auth-foot { text-align: center; margin-top: 14px; font-size: 14px; color: var(--muted); }

/* 提示 */
.alert { padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
.alert-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert-ok { background: #f0fdf4; color: var(--ok); border: 1px solid #bbf7d0; }
.alert-warn { background: #fffbeb; color: var(--warn); border: 1px solid #fde68a; }
.notice { background: var(--primary-light); color: var(--primary-dark); border: 1px solid #bfdbfe; border-radius: 10px; padding: 10px 16px; margin: 12px 0; font-size: 14px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mt { margin-top: 12px; }

/* 控制台布局 */
.app-layout { display: flex; min-height: 100vh; }
.sidebar { width: 220px; background: #fff; border-right: 1px solid var(--border); display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 30; transition: width .25s; }
.app-body.collapsed .sidebar { width: 64px; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); }
.sidebar-toggle { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--muted); }
.side-nav { flex: 1; padding: 12px 8px; overflow-y: auto; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; margin-bottom: 2px; }
.side-nav a:hover { background: var(--bg); color: var(--text); }
.side-nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.nav-ico { font-size: 16px; width: 20px; text-align: center; }
.nav-admin { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 10px; }
.sidebar-foot { padding: 12px; border-top: 1px solid var(--border); font-size: 13px; }
.user-chip { color: var(--muted); }
.nav-logout { display: block; margin-top: 6px; color: var(--danger); }
.app-main { flex: 1; margin-left: 220px; padding: 20px 24px; min-height: 100vh; }
.app-body.collapsed .app-main { margin-left: 64px; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-topbar h1 { font-size: 22px; }
.vip-badge { background: #fef3c7; color: #92400e; border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.vip-badge.warn { background: #fee2e2; color: var(--danger); }
.app-content { max-width: 1000px; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { color: var(--muted); font-weight: 600; font-size: 13px; background: var(--bg); }
.table tr:last-child td { border-bottom: none; }
.ops { display: flex; gap: 6px; flex-wrap: wrap; }

/* 标签 */
.tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; background: var(--bg); color: var(--muted); }
.tag-ok { background: #dcfce7; color: var(--ok); }
.tag-fail { background: #fee2e2; color: var(--danger); }

/* 统计 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--primary); }
.stat span { color: var(--muted); font-size: 13px; }

/* 工具条 */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; }
.inline-form input, .inline-form select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; }
.empty { text-align: center; color: var(--muted); padding: 40px; }
.quick-actions { display: flex; flex-direction: column; gap: 8px; }
.avatar { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-light); color: var(--primary); align-items: center; justify-content: center; font-size: 16px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.acc-cell { display: flex; align-items: center; gap: 8px; }

/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(15,23,42,.45); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal { background: #fff; border-radius: 16px; width: 480px; max-width: 92vw; max-height: 88vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; }
.modal-close { background: none; border: none; font-size: 22px; color: var(--muted); cursor: pointer; }
.modal-body { padding: 20px; }
.tabs-mini { display: flex; gap: 8px; margin-bottom: 14px; }
.tab-mini { flex: 1; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; font-size: 14px; }
.tab-mini.active { background: var(--primary-light); color: var(--primary); border-color: #bfdbfe; font-weight: 600; }
.qr-wrap { display: flex; justify-content: center; margin-bottom: 12px; }
.qr-box { width: 220px; height: 220px; border: 1px dashed var(--border); display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 12px; overflow: hidden; }
.code-out { margin-top: 10px; background: var(--bg); border-radius: 10px; padding: 10px; font-family: monospace; font-size: 13px; max-height: 220px; overflow-y: auto; }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 14px; align-items: center; padding-top: 12px; font-size: 14px; }

/* 页脚 */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 24px 0; text-align: center; color: var(--muted); font-size: 13px; margin-top: 40px; }

/* 移动端 */
@media (max-width: 900px) {
  .feature-grid, .price-grid, .steps-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .sidebar { width: 64px; }
  .app-main { margin-left: 64px; padding: 16px; }
  .brand-name, .nav-txt { display: none; }
  .sidebar-head .logo-text { display: none; }
  .side-nav a { justify-content: center; }
  .hero h1 { font-size: 30px; }
  .hero { padding: 48px 0; }
}
@media (max-width: 480px) {
  .feature-grid, .price-grid, .steps-grid, .stat-grid { grid-template-columns: 1fr 1fr; }
  .card { padding: 14px; }
  .table { font-size: 13px; }
  .app-topbar { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============ 控制台仪表盘（1:1 对齐 dy.44mz.cn） ============ */
.app-body { background: #F5F7FB; }
.app-body .app-main { background: #F5F7FB; }
.app-content { max-width: 1120px; }

/* 侧边栏用户卡 */
.side-user { display: flex; align-items: center; gap: 10px; margin: 12px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #2563EB, #60A5FA); color: #fff; }
.side-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; border: 2px solid rgba(255,255,255,.6); flex-shrink: 0; }
.side-user-info { min-width: 0; }
.side-user-name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user-vip { font-size: 12px; opacity: .85; margin-top: 2px; }
.side-add { margin-top: 8px; background: var(--primary-light); color: var(--primary) !important; font-weight: 600; }
.side-legal { font-size: 11px; color: var(--muted); line-height: 1.5; margin-bottom: 6px; }

/* 顶栏 */
.topbar-right { display: flex; align-items: center; gap: 10px; }
.time-capsule { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--border); color: var(--muted); font-size: 13px; padding: 6px 14px; border-radius: 20px; }

/* 欢迎横幅 */
.welcome-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(135deg, #2563EB, #60A5FA); border-radius: 20px; padding: 26px 30px; color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,.25); margin-bottom: 18px; flex-wrap: wrap; }
.welcome-greet { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sys-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 4px 12px; }
.sys-ok .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.35); }
.welcome-sub { margin-top: 8px; font-size: 14px; opacity: .95; }
.welcome-stats { margin-top: 14px; font-size: 13px; opacity: .9; display: flex; gap: 10px; }
.welcome-stats b { font-size: 16px; }
.welcome-stats .sep { opacity: .5; }
.balance-card { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 16px; padding: 16px 22px; text-align: center; min-width: 180px; backdrop-filter: blur(4px); }
.balance-label { font-size: 13px; opacity: .9; }
.balance-num { font-size: 30px; font-weight: 800; margin: 6px 0 10px; }
.btn-recharge { display: inline-block; background: #fff; color: #2563EB; font-weight: 700; font-size: 14px; border-radius: 10px; padding: 8px 26px; }
.btn-recharge:hover { background: #f0f4ff; }

/* 快捷操作三卡 */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.quick-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; text-decoration: none; color: var(--text); transition: .2s; box-shadow: var(--shadow); }
.quick-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,23,42,.1); border-color: #bfdbfe; }
.quick-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.ico-blue { background: #dbeafe; }
.ico-green { background: #dcfce7; }
.ico-orange { background: #ffedd5; }
.quick-name { font-size: 16px; font-weight: 700; }
.quick-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.quick-go { font-size: 13px; color: #2563EB; font-weight: 600; margin-top: 10px; }

/* 个人信息卡 */
.profile-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 18px; }
.profile-left { display: flex; align-items: center; gap: 14px; }
.profile-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #2563EB, #60A5FA); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; flex-shrink: 0; }
.profile-name { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.profile-vip { font-size: 11px; background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #fff; padding: 2px 8px; border-radius: 20px; font-weight: 700; }
.profile-mail { font-size: 13px; color: var(--muted); margin-top: 4px; }
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pstat { background: #F5F7FB; border-radius: 14px; padding: 14px; text-align: center; }
.pstat b { display: block; font-size: 24px; font-weight: 800; color: #2563EB; }
.pstat span { font-size: 13px; color: var(--muted); }
.profile-sec { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 18px; }
.sec-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.pwd-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.pwd-form .form-row { flex: 1; min-width: 320px; }
.pwd-form .form-row label { margin-bottom: 0; }

/* 最近记录 */
.recent-card .recent-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.recent-head h3 { margin: 0; }
.modal-sm { width: 380px; }

@media (max-width: 900px) {
  .quick-grid { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
  .welcome-banner { padding: 20px; }
  .balance-card { min-width: 140px; }
}

/* ============ v3 1:1 对齐 dy.44mz.cn 仪表盘（覆盖旧控制台样式） ============ */
.app-body { background: #F5F5F5 !important; }
.app-body .app-main { background: #F5F5F5 !important; margin-left: 220px; padding: 0; min-height: 100vh; }
.app-body.collapsed .app-main { margin-left: 64px; }
.app-content { max-width: 1280px; margin: 0 auto; }
.dashboard { background: #fff; padding: 32px 36px 48px; }

/* 顶栏：仅右上时间胶囊 */
.app-topbar { display: flex; justify-content: flex-end; padding: 16px 36px 0; margin-bottom: 0; }
.time-capsule { display: inline-flex; align-items: center; background: #f3f4f6; border-radius: 999px; color: #6b7280; font-size: 13px; padding: 6px 16px; }

/* 侧边栏 */
.sidebar { background: #fff; width: 220px; box-shadow: 2px 0 12px rgba(15,23,42,0.04); border-right: none; }
.sidebar-head { display: none; }
.side-user { display: flex; align-items: center; gap: 12px; margin: 16px 14px 8px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #EEF4FF, #F5F9FF 60%, #FBFDFF); }
.side-avatar { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, #2563EB, #60A5FA); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.side-user-info { min-width: 0; }
.side-user-name { font-size: 15px; font-weight: 700; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user-vip { font-size: 12px; color: #f59e0b; margin-top: 2px; font-weight: 600; }
.side-nav { flex: 1; padding: 4px 10px 8px; overflow-y: auto; }
.nav-group { font-size: 12px; color: #9ca3af; font-weight: 600; padding: 14px 10px 6px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 12px; color: #4B5563; font-size: 14px; margin-bottom: 2px; position: relative; }
.side-nav a:hover { background: #F3F4F6; color: #111827; }
.side-nav a.active { color: #2563EB; font-weight: 600; background: #EFF6FF; box-shadow: inset 2px 0 0 #2563EB; }
.side-add { background: #EFF6FF !important; color: #2563EB !important; font-weight: 600; }
.nav-sub { font-size: 11px; color: #93a5c0; font-weight: 400; }
.sidebar-foot { padding: 10px; border-top: 1px solid #F3F4F6; }
.side-collapse { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: none; color: #6b7280; font-size: 13px; cursor: pointer; padding: 8px 10px; border-radius: 10px; }
.side-collapse:hover { background: #F3F4F6; }

/* 欢迎横幅 */
.dashboard-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, #2563EB, #3B82F6 55%, #60A5FA); border-radius: 20px; padding: 36px 40px; color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,.25); flex-wrap: wrap; }
.dh-greet { font-size: 28px; font-weight: 800; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sys-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.2); border-radius: 999px; padding: 5px 14px; color: rgba(255,255,255,0.95); }
.sys-badge svg { display: inline-block; }
.dh-sub { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,0.85); }
.balance-card { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3); border-radius: 18px; padding: 18px 22px; text-align: center; min-width: 170px; }
.balance-label { font-size: 13px; color: rgba(255,255,255,0.82); }
.balance-num { font-size: 32px; font-weight: 800; color: #fff; margin: 8px 0 12px; }
.btn-recharge { display: inline-block; background: #fff; color: #2563EB; font-weight: 700; font-size: 14px; border-radius: 10px; padding: 9px 28px; box-shadow: rgba(15,23,42,0.18) 0 6px 16px 0; }
.btn-recharge:hover { background: #f0f4ff; }

/* 快捷操作 */
.section-title { font-size: 17px; font-weight: 700; color: #18181B; margin: 26px 0 14px; }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.action-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 20px; padding: 20px; text-decoration: none; color: var(--text); box-shadow: rgba(24,24,27,0.04) 0 2px 12px 0; transition: .2s; display: block; }
.action-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,23,42,.08); }
.action-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.action-ico { width: 46px; height: 46px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.act-blue { background: #EFF6FF; }
.act-green { background: linear-gradient(135deg, #059669, #34D399); }
.act-orange { background: #FFFBEB; }
.action-arrow { font-size: 22px; color: #d1d5db; font-weight: 300; }
.action-name { font-size: 16px; font-weight: 700; color: #18181B; }
.action-desc { font-size: 13px; color: #6b7280; margin-top: 6px; }
.action-go { font-size: 13px; color: #2563EB; font-weight: 600; margin-top: 12px; }

/* 双卡 */
.double-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.info-card, .pwd-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 20px; padding: 28px 32px; box-shadow: rgba(24,24,27,0.04) 0 2px 12px 0; }
.info-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.info-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #2563EB, #60A5FA); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex-shrink: 0; }
.info-name { font-size: 17px; font-weight: 800; color: #18181B; }
.info-mail { font-size: 13px; color: #6b7280; margin-top: 3px; }
.info-fields { border-top: 1px solid #F3F4F6; border-bottom: 1px solid #F3F4F6; }
.ifield { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid #F3F4F6; font-size: 14px; }
.ifield:last-child { border-bottom: none; }
.ifield span { color: #6b7280; }
.ifield b { color: #18181B; font-weight: 600; }
.ifield b.hl { color: #2563EB; font-weight: 800; }
.info-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.imetric { background: #FAFAFA; border-radius: 14px; padding: 12px; text-align: center; }
.imetric b { display: block; font-size: 22px; font-weight: 800; color: #18181B; }
.imetric b.ok { color: #16a34a; }
.imetric span { font-size: 12px; color: #6b7280; }
.pwd-title { font-size: 17px; font-weight: 700; color: #18181B; margin-bottom: 14px; }
.pwd-sec { display: flex; align-items: center; gap: 12px; background: #FAFAFA; border-radius: 14px; padding: 14px; margin-bottom: 16px; }
.pwd-lock { width: 40px; height: 40px; border-radius: 12px; background: #EFF6FF; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.pwd-sec-title { font-size: 15px; font-weight: 700; color: #18181B; }
.pwd-sec-desc { font-size: 12px; color: #6b7280; margin-top: 3px; }

/* 最近记录 */
.recent-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 20px; padding: 24px 28px; margin-top: 20px; box-shadow: rgba(24,24,27,0.04) 0 2px 12px 0; }
.recent-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.recent-head h3 { margin: 0; font-size: 16px; color: #18181B; }

/* 通知弹窗正文 */
.notice-line { line-height: 1.8; color: #374151; }

/* 折叠态 */
.app-body.collapsed .side-user-info, .app-body.collapsed .nav-group, .app-body.collapsed .nav-sub, .app-body.collapsed .collapse-txt { display: none; }
.app-body.collapsed .side-user { justify-content: center; padding: 10px; }
.app-body.collapsed .side-nav a { justify-content: center; font-size: 0; }
.app-body.collapsed .side-nav a::after { content: "•"; font-size: 14px; }
.app-body.collapsed .sidebar-foot { padding: 6px; }

@media (max-width: 900px) {
  .action-grid { grid-template-columns: 1fr; }
  .double-grid { grid-template-columns: 1fr; }
  .dashboard { padding: 20px 16px; }
  .dashboard-header { padding: 24px 20px; }
  .app-main { padding: 0; }
  .app-topbar { padding: 12px 16px 0; }
  .app-content { padding: 0 0 24px; }
}
