/* ===== 变量 ===== */
:root, [data-theme="light"] {
  --bg: #f5f5f7; --surface: #ffffff; --border: #e8e8ec;
  --text: #1d1d1f; --text-muted: #86868b;
  --primary: #2b6ed7; --primary-hover: #1a5ab8;
  --danger: #d73a3a; --danger-hover: #b82a2a; --success: #2ea043;
  --sidebar-bg: #fafafc; --sidebar-hover: #f0f0f4;
  --radius-sm: 8px; --radius: 12px; --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.08);
  --font: "Segoe UI","PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;
}

[data-theme="dark"] {
  --bg: #1a1a1e; --surface: #25252b; --border: #353540;
  --text: #e4e4e8; --text-muted: #8e8e98;
  --primary: #4d8ff7; --primary-hover: #3a7be0;
  --danger: #f05555; --danger-hover: #d73a3a; --success: #3fb950;
  --sidebar-bg: #1e1e24; --sidebar-hover: #2a2a34;
  --shadow: 0 1px 3px rgba(0,0,0,.3); --shadow-lg: 0 4px 24px rgba(0,0,0,.4);
}

/* ===== 基础 ===== */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

html, body {
  height: 100%; font-family: var(--font); font-size: 15px;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* ===== 侧边栏 ===== */
.app-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 220px; min-height: 100vh; flex-shrink: 0;
  background: var(--sidebar-bg); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 16px 12px;
}
.sidebar__brand {
  display: flex; align-items: center; gap: 10px; padding: 0 10px; margin-bottom: 28px;
}
.sidebar__logo {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.sidebar__logo-img { width: 100%; height: 100%; object-fit: contain; }
.sidebar__title { font-size: 17px; font-weight: 600; color: var(--text); }
.sidebar__ver { font-size: 11px; color: var(--text-muted); margin-left: 4px; }
.sidebar__nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sidebar__link {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: var(--radius-sm); font-size: 14px; color: var(--text-muted);
  transition: all .1s;
}
.sidebar__link:hover { background: var(--sidebar-hover); color: var(--text); }
.sidebar__link--active { background: var(--primary); color: #fff; }
.sidebar__link--active:hover { background: var(--primary-hover); color: #fff; }
.sidebar__icon { font-size: 15px; width: 20px; text-align: center; }
.sidebar__tool-btn i { font-size: 15px; }
.sidebar__logout i { font-size: 14px; }

/* 侧边栏二级导航 */
.sidebar__subnav { margin: 0 0 0 20px; border-left: 1px solid var(--border); padding-left: 8px; }
.sidebar__sublink {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px;
  border-radius: 6px; font-size: 13px; color: var(--text-muted); transition: all .1s;
}
.sidebar__sublink:hover { background: var(--sidebar-hover); color: var(--text); }
.sidebar__sublink--active { color: var(--primary); font-weight: 500; }
.sidebar__sublink i { width: 16px; font-size: 13px; text-align: center; }
.sidebar__footer { border-top: 1px solid var(--border); padding-top: 12px; }
.sidebar__user {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px;
  border-radius: var(--radius-sm);
}
.sidebar__avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--text-muted); flex-shrink: 0;
  overflow: hidden; position: relative;
}
.sidebar__avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sidebar__name {
  flex: 1; font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sidebar__logout { font-size: 14px; color: var(--text-muted); padding: 4px; border-radius: 4px; }
.sidebar__logout:hover { color: var(--danger); }

/* ===== 侧边栏底部主题按钮 ===== */
.sidebar__theme-btn {
  width: 100%; height: 36px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; color: var(--text-muted); font-size: 16px; cursor: pointer;
  margin-bottom: 8px; transition: color .12s;
}
.sidebar__theme-btn:hover { color: var(--text); }

/* ===== 折线图 ===== */
.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.chart-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px 12px;
}
.chart-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.chart-card__title { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.chart-card__pct { font-size: 13px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.chart-canvas { width: 100%; height: auto; display: block; }
.chart-tooltip {
  position: fixed; display: none; pointer-events: none; z-index: 9999;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 10px; font-size: 12px;
  color: var(--text); white-space: nowrap; box-shadow: var(--shadow-lg);
  line-height: 1.6;
}
.chart-card__legend { display: flex; gap: 16px; margin-top: 6px; font-size: 12px; color: var(--text-muted); }
.chart-card__legend span { display: inline-flex; align-items: center; gap: 4px; }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }

/* ===== Stats 卡片 ===== */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 24px;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px; display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow .12s;
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-card__num { font-size: 28px; font-weight: 700; color: var(--text); line-height: 1; }
.stat-card__label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .3px; }
.stat-card--warn .stat-card__num { color: var(--danger); }
.stat-card--info .stat-card__num { color: var(--primary); }
.stat-card--sys .stat-card__num { font-size: 22px; color: var(--text-muted); }

/* ===== 侧边栏工具按钮行 ===== */
.sidebar__tool-row {
  display: flex; gap: 6px; margin-bottom: 8px;
}
.sidebar__tool-btn {
  flex: 1; height: 36px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; color: var(--text-muted); font-size: 16px; cursor: pointer;
  transition: color .12s;
}
.sidebar__tool-btn:hover { color: var(--text); }

/* ===== Settings 卡片 ===== */
.settings-section-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
}
.settings-section-body .field { margin-bottom: 12px; }

/* ===== Toggle 滑块 ===== */
.toggle-slider { display: inline-flex; align-items: center; cursor: pointer; }
.toggle-slider input { display: none; }
.toggle-slider__track {
  position: relative; width: 44px; height: 24px; border-radius: 12px;
  background: var(--border); transition: background .2s;
}
.toggle-slider__track::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15);
  transition: transform .2s;
}
.toggle-slider input:checked + .toggle-slider__track { background: var(--primary); }
.toggle-slider input:checked + .toggle-slider__track::after { transform: translateX(20px); }

/* ===== Toast 弹窗 ===== */
.toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  padding: 12px 28px; border-radius: var(--radius-sm); font-size: 14px;
  z-index: 200; pointer-events: none;
  animation: toast-in .25s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(-10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.toast--success { background: var(--success); color: #fff; }
.toast--error { background: var(--danger); color: #fff; }

/* ===== 审计工具栏 ===== */
.audit-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ===== 主内容 ===== */
.admin-main { flex: 1; padding: 28px 32px; overflow: auto; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-header h2 { font-size: 20px; font-weight: 600; }

/* ===== 消息 / 字段 / 按钮 ===== */
.msg {
  padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px;
}
.msg--error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
[data-theme="dark"] .msg--error { background: #2d1517; border-color: #4a2020; }

.field { margin-bottom: 16px; }
.field__label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.field__input {
  width: 100%; height: 40px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font: inherit; font-size: 14px;
  outline: none; transition: border-color .15s;
}
.field__input:focus { border-color: var(--primary); }
.field__input::placeholder { color: var(--text-muted); }
.field__select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%2386868b' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px; }
.field__hint { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.field__checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.field__checkbox input { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.field--row { display: flex; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 20px; border: none; border-radius: var(--radius-sm);
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--bg); color: var(--text); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: var(--danger-hover); }
.btn--full { width: 100%; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }

/* ===== 设置页 / 登录页 ===== */
.setup-page, .login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; }
.setup-card, .login-card {
  width: 100%; max-width: 460px; padding: 40px 36px;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.setup-header, .login-card { text-align: center; }
.setup-logo, .login-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius);
  margin-bottom: 16px; overflow: hidden;
}
.setup-logo-img, .login-logo-img { width: 100%; height: 100%; object-fit: contain; }
.setup-header h1, .login-card h1 { font-size: 22px; font-weight: 600; }
.setup-desc, .login-desc { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.login-form { text-align: left; }

.steps { display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.steps__item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.steps__num {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; background: var(--bg); color: var(--text-muted); border: 2px solid var(--border);
}
.steps__item--active .steps__num { background: var(--primary); color: #fff; border-color: var(--primary); }
.steps__label { font-size: 12px; color: var(--text-muted); }
.steps__item--active .steps__label { color: var(--primary); font-weight: 500; }
.steps__line { width: 48px; height: 2px; background: var(--border); margin: 0 8px; margin-top: -18px; }

.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; }
.radio:hover { border-color: var(--primary); }
.radio input[type=radio] { display: none; }
.radio input:checked + .radio__mark { border-color: var(--primary); }
.radio__mark { width: 18px; height: 18px; border: 2px solid var(--border); border-radius: 50%; flex-shrink: 0; margin-top: 2px; position: relative; }
.radio input:checked + .radio__mark::after { content: ''; position: absolute; top: 3px; left: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.radio__text { display: flex; flex-direction: column; gap: 2px; }
.radio__text strong { font-size: 14px; font-weight: 500; }
.radio__text small { font-size: 12px; color: var(--text-muted); }
.mysql-fields { padding: 4px 0 0; margin-bottom: 16px; }

/* 欢迎 / 成功 */
.setup-welcome, .setup-success { text-align: center; padding: 8px 0; }
.setup-welcome__icon { display: block; margin: 0 auto 20px; }

/* ===== 表格 ===== */
.table-wrap { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(128,128,128,.03); }
.table .user-cell { display: flex; align-items: center; gap: 10px; }
.table .user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--text-muted); overflow: hidden; position: relative; }
.table .user-avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.badge--super { background: #fef3c7; color: #92400e; }
.badge--admin { background: #dbeafe; color: #1e40af; }
.badge--user { background: #f3f4f6; color: #374151; }
.badge--system { background: var(--bg); color: var(--text-muted); font-size: 11px; margin-left: 6px; }
.badge--inh { background: #ede9fe; color: #6d28d9; font-size: 11px; margin-left: 6px; }
.badge--active { background: #dcfce7; color: #166534; }
.badge--inactive { background: #fee2e2; color: #991b1b; }
[data-theme="dark"] .badge--super { background: #3b2f10; color: #fbbf24; }
[data-theme="dark"] .badge--admin { background: #0f2942; color: #60a5fa; }
[data-theme="dark"] .badge--active { background: #0d2b14; color: #4ade80; }
[data-theme="dark"] .badge--inactive { background: #2d1515; color: #f87171; }

.table-actions { display: flex; gap: 6px; }

/* ===== 分页 ===== */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; }
.pager button { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.pager button:hover { border-color: var(--primary); }
.pager button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

/* ===== 弹窗 ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.modal__card { position: relative; width: 100%; max-width: 440px; padding: 28px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal__card--small { max-width: 380px; }
.modal__card--wide { max-width: 640px; max-height: 80vh; overflow-y: auto; }
.modal__title { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.empty { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 14px; }

/* ===== 权限网格 ===== */
.perm-grid { display: grid; gap: 16px; }
.perm-cat { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 16px; }
.perm-cat__title { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.perm-item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; margin: 2px; border-radius: var(--radius-sm); font-size: 13px; cursor: pointer; }
.perm-item:hover { background: var(--surface); }
.perm-item input { display: none; }
.perm-item__dot { width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--border); flex-shrink: 0; }
.perm-item input:checked + .perm-item__dot { background: var(--primary); border-color: var(--primary); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 5L4.5 7L7.5 3' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 10px; background-position: center; background-repeat: no-repeat; }
.perm-item--disabled { opacity: .6; cursor: not-allowed; }
.perm-item--disabled:hover { background: transparent; }

.inh-note { color: var(--primary); font-size: 12px; }
.admin-header__hint { font-weight: 400; font-size: 14px; color: var(--text-muted); }

/* ===== 晋升路线卡片 ===== */
.track-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
.track-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.track-card__desc { color: var(--text-muted); font-size: 13px; margin-left: 8px; }
.track-card__route { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 10px 14px; background: var(--bg); border-radius: var(--radius-sm); }
.track-dot { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 500; }
.track-arrow { color: var(--text-muted); margin: 0 2px; font-size: 14px; }
.track-stage-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; min-height: 40px; }
.track-stage { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: grab; }
.track-stage--dragging { opacity: .4; }
.track-stage__idx { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.track-stage__name { flex: 1; font-size: 14px; }
.track-stage__del { border: none; background: none; color: var(--danger); font-size: 18px; cursor: pointer; padding: 0 4px; }
.track-stage__del:hover { opacity: .7; }
.track-stage-empty { color: var(--text-muted); font-size: 13px; padding: 8px 0; }
.track-add-row { display: flex; gap: 8px; align-items: center; }
.track-add-select { flex: 1; }

/* ===== 邮件卡片 ===== */
.email-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
.email-card__header { display: flex; align-items: center; justify-content: space-between; }
.email-card__meta { color: var(--text-muted); font-size: 12px; margin-left: 8px; }

/* ===== 证件管理工具栏 ===== */
.admin-toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.admin-toolbar .field__input { width: auto; }

/* ===== 证件类型标签（彩色） ===== */
.cred-type-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.cred-type-ZG { background: rgba(59,130,246,.15); color: #3b82f6; }
.cred-type-XK { background: rgba(34,197,94,.15); color: #22c55e; }
.cred-type-ZS { background: rgba(139,92,246,.15); color: #8b5cf6; }
.cred-type-JZ { background: rgba(245,158,11,.15); color: #f59e0b; }
.cred-type-RZ { background: rgba(6,182,212,.15); color: #06b6d4; }
.cred-type-PS { background: rgba(236,72,153,.15); color: #ec4899; }
.cred-type-SQ { background: rgba(249,115,22,.15); color: #f97316; }
.cred-type-ZM { background: rgba(163,163,163,.15); color: #a3a3a3; }
.cred-type-TX { background: rgba(16,185,129,.15); color: #10b981; }
.cred-type-RY { background: rgba(239,68,68,.15); color: #ef4444; }

/* ===== 状态标签 ===== */
.badge--success { background: #dcfce7; color: #166534; }
.badge--danger { background: #fee2e2; color: #991b1b; }
.badge--warn { background: #fef3c7; color: #92400e; }
.badge--info { background: #dbeafe; color: #1e40af; }
.badge--muted { background: var(--bg); color: var(--text-muted); }
[data-theme="dark"] .badge--success { background: #0d2b14; color: #4ade80; }
[data-theme="dark"] .badge--danger { background: #2d1515; color: #f87171; }
[data-theme="dark"] .badge--warn { background: #3b2f10; color: #fbbf24; }
[data-theme="dark"] .badge--info { background: #0f2942; color: #60a5fa; }

/* ===== 申请审核卡片列表 ===== */
.app-list { display: flex; flex-direction: column; gap: 8px; }
.app-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.app-card__header { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.app-card__cred-name { font-weight: 600; font-size: 15px; color: var(--text); }
.app-card__body { padding: 14px 18px; font-size: 14px; color: var(--text-muted); display: flex; flex-direction: column; gap: 6px; }
.app-card__info { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.app-card__msg { margin-top: 4px; padding: 8px 12px; border-radius: var(--radius-sm); background: rgba(77,143,247,.08); font-size: 13px; color: var(--text); }
.app-card__actions { padding: 14px 18px; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: flex-end; }
