/* ============================================================
   大连市妇女儿童医疗中心（集团）标识管理及更换系统 — Web 端设计变量与基础样式
   ============================================================ */
:root {
  /* 品牌主色（医院标准蓝） */
  --primary: #1A5FB4;
  --primary-hover: #17509C;
  --primary-active: #12427F;
  --primary-light: #E8F1FB;
  --primary-border: #B9D3F0;

  /* 语义化状态色 */
  --success: #2E9E5B;
  --success-light: #E6F6EC;
  --warning: #D98E04;
  --warning-light: #FCF3E0;
  --danger: #D64545;
  --danger-light: #FBEAEA;
  --info: #5B6B7F;
  --info-light: #EEF1F5;
  --purple: #7A5AF8;
  --purple-light: #EFEAFE;
  --cyan: #0E8FA3;
  --cyan-light: #E2F5F8;

  /* 中性色层级 */
  --text-primary: #1F2937;
  --text-regular: #374151;
  --text-secondary: #6B7280;
  --text-placeholder: #9CA3AF;
  --text-disabled: #C4CBD4;

  --bg-page: #F3F5F9;
  --bg-card: #FFFFFF;
  --bg-hover: #F6F8FB;
  --bg-table-header: #F8FAFC;
  --bg-disabled: #F2F4F7;

  --border-base: #E3E8EF;
  --border-light: #EDF1F6;
  --border-dark: #CBD3DD;

  /* 尺寸与圆角 */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --sidebar-width: 216px;
  --topbar-height: 56px;

  /* 阴影 */
  --shadow-card: 0 1px 3px rgba(16, 42, 79, 0.06), 0 1px 2px rgba(16, 42, 79, 0.04);
  --shadow-pop: 0 6px 24px rgba(16, 42, 79, 0.14);

  --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

/* ---------- 布局骨架 ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, #123C73 0%, #1A5FB4 100%);
  color: #D8E6F8;
  position: fixed; top: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column;
  z-index: 100;
}
.sidebar .brand {
  height: var(--topbar-height);
  display: flex; align-items: center; gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.sidebar .brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff; flex: none;
}
.sidebar .brand .name { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.35; }
.sidebar .menu { flex: 1; overflow-y: auto; padding: 10px 0; }
.sidebar .menu-group-title { padding: 12px 18px 6px; font-size: 12px; color: rgba(255,255,255,0.5); }
.sidebar .menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; font-size: 13.5px; color: #C9DCF4;
  cursor: pointer; position: relative;
  transition: background .15s ease;
  user-select: none;
}
.sidebar .menu-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar .menu-item.active { background: rgba(255,255,255,0.14); color: #fff; font-weight: 600; }
.sidebar .menu-item.active::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #fff;
}
.sidebar .menu-item .mi-icon { width: 18px; text-align: center; flex: none; opacity: .9; }
.sidebar .menu-item .mi-badge {
  margin-left: auto; background: var(--danger); color: #fff;
  font-size: 11px; border-radius: 9px; padding: 1px 7px; line-height: 16px;
}

.main-area { flex: 1; margin-left: var(--sidebar-width); display: flex; flex-direction: column; min-width: 0; }
.topbar {
  height: var(--topbar-height);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-base);
  display: flex; align-items: center; padding: 0 24px;
  position: sticky; top: 0; z-index: 90;
}
.topbar .page-title { font-size: 16px; font-weight: 600; }
.topbar .top-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.topbar .notify-btn { position: relative; cursor: pointer; color: var(--text-secondary); font-size: 18px; }
.topbar .notify-btn:hover { color: var(--primary); }
.topbar .notify-btn .dot {
  position: absolute; top: -4px; right: -6px; background: var(--danger);
  color: #fff; font-size: 10px; border-radius: 8px; padding: 0 5px; line-height: 15px;
}
.topbar .user-chip { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text-regular); }
.topbar .user-chip .avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.content { padding: 20px 24px 32px; flex: 1; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); border: 1px solid var(--border-light);
  padding: 18px 20px; margin-bottom: 16px;
}
.card .card-title {
  font-size: 15px; font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.card .card-title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--primary); }

/* ---------- 统计卡片 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border-light); box-shadow: var(--shadow-card);
  padding: 16px 18px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.stat-card .stat-label { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.stat-card .stat-value { font-size: 30px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat-card .stat-extra { font-size: 12px; color: var(--text-placeholder); margin-top: 4px; }
.stat-card.c-blue   .stat-value { color: var(--primary); }
.stat-card.c-orange .stat-value { color: var(--warning); }
.stat-card.c-purple .stat-value { color: var(--purple); }
.stat-card.c-green  .stat-value { color: var(--success); }
.stat-card.c-cyan   .stat-value { color: var(--cyan); }

/* ---------- 状态标签（双端语义统一） ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; line-height: 20px; padding: 0 9px;
  border-radius: 10px; white-space: nowrap; font-weight: 500;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-wait-audit      { color: var(--warning); background: var(--warning-light); }   /* 待审核 */
.tag-audit-rejected  { color: var(--danger);  background: var(--danger-light); }    /* 审核驳回 */
.tag-wait-design     { color: var(--purple);  background: var(--purple-light); }    /* 待设计 */
.tag-designing       { color: var(--primary); background: var(--primary-light); }   /* 设计中 */
.tag-wait-confirm    { color: var(--cyan);    background: var(--cyan-light); }      /* 待确认设计 */
.tag-design-rejected { color: #C2410C;        background: #FDEEE3; }                /* 设计驳回 */
.tag-wait-produce    { color: #B45309;        background: #FDF0DC; }                /* 待制作 */
.tag-installing      { color: #0F766E;        background: #E0F5F1; }                /* 安装中 */
.tag-completed       { color: var(--success); background: var(--success-light); }   /* 已完成 */
.tag-cancelled       { color: var(--text-placeholder); background: var(--info-light); } /* 已取消 */

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 16px; border-radius: var(--radius-md);
  font-size: 13.5px; cursor: pointer; border: 1px solid transparent;
  transition: all .15s ease; user-select: none; white-space: nowrap;
  font-family: var(--font-family);
}
.btn:disabled { cursor: not-allowed; opacity: .55; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); }
.btn-primary:active:not(:disabled) { background: var(--primary-active); }
.btn-default { background: #fff; color: var(--text-regular); border-color: var(--border-dark); }
.btn-default:hover:not(:disabled) { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #B93A3A; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover:not(:disabled) { background: #26854C; }
.btn-text { background: none; border: none; color: var(--primary); height: auto; padding: 2px 6px; }
.btn-text:hover:not(:disabled) { color: var(--primary-hover); background: var(--primary-light); border-radius: var(--radius-sm); }
.btn-text.danger { color: var(--danger); }
.btn-text.danger:hover:not(:disabled) { background: var(--danger-light); }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12.5px; }
.btn-lg { height: 40px; padding: 0 24px; font-size: 14.5px; }

/* ---------- 表单 ---------- */
.form-row { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-bottom: 14px; }
.form-item { display: flex; flex-direction: column; gap: 6px; }
.form-item .form-label { font-size: 13px; color: var(--text-regular); }
.form-item .form-label .req { color: var(--danger); margin-right: 2px; }
.form-item .form-err { font-size: 12px; color: var(--danger); min-height: 16px; }
.input, .select, .textarea {
  height: 34px; padding: 0 11px; border: 1px solid var(--border-dark);
  border-radius: var(--radius-md); font-size: 13.5px; color: var(--text-primary);
  background: #fff; outline: none; transition: border .15s ease, box-shadow .15s ease;
  font-family: var(--font-family); min-width: 200px;
}
.textarea { height: auto; min-height: 84px; padding: 8px 11px; resize: vertical; line-height: 1.6; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--primary); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,95,180,0.12); }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--bg-disabled); color: var(--text-disabled); cursor: not-allowed; }
.input.error, .select.error, .textarea.error { border-color: var(--danger); }
.input.error:focus { box-shadow: 0 0 0 3px rgba(214,69,69,0.12); }

/* 筛选栏 */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px;
  padding: 14px 16px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); margin-bottom: 14px;
}
.filter-bar .form-item { min-width: 0; }
.filter-bar .input, .filter-bar .select { min-width: 160px; }
.filter-bar .filter-actions { display: flex; gap: 8px; margin-left: auto; }

/* ---------- 表格 ---------- */
.table-wrap { background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border-light); box-shadow: var(--shadow-card); overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table thead th {
  background: var(--bg-table-header); color: var(--text-secondary);
  font-weight: 600; text-align: left; padding: 11px 14px;
  border-bottom: 1px solid var(--border-base); white-space: nowrap;
  position: sticky; top: 0;
}
.table tbody td { padding: 11px 14px; border-bottom: 1px solid var(--border-light); color: var(--text-regular); }
.table tbody tr:hover { background: var(--bg-hover); }
.table tbody tr:last-child td { border-bottom: none; }
.table .col-no { color: var(--primary); font-weight: 600; cursor: pointer; white-space: nowrap; }
.table .col-no:hover { text-decoration: underline; }
.table .cell-main { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 分页 ---------- */
.pagination { display: flex; align-items: center; gap: 6px; padding: 12px 16px; justify-content: flex-end; flex-wrap: wrap; }
.pagination .pg-info { font-size: 13px; color: var(--text-secondary); margin-right: auto; }
.pagination .pg-btn {
  min-width: 30px; height: 30px; padding: 0 8px;
  border: 1px solid var(--border-base); background: #fff; border-radius: var(--radius-sm);
  cursor: pointer; font-size: 13px; color: var(--text-regular);
}
.pagination .pg-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pagination .pg-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .pg-btn:disabled { color: var(--text-disabled); cursor: not-allowed; background: var(--bg-disabled); }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 32, 56, 0.45);
  display: none; align-items: center; justify-content: center; z-index: 1000;
  backdrop-filter: blur(2px);
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); width: 520px; max-width: 94vw;
  max-height: 88vh; display: flex; flex-direction: column; box-shadow: var(--shadow-pop);
  animation: modalIn .18s ease;
}
.modal.modal-lg { width: 760px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal .modal-header {
  padding: 14px 20px; border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; font-size: 15px; font-weight: 600;
}
.modal .modal-close { margin-left: auto; cursor: pointer; color: var(--text-placeholder); font-size: 18px; line-height: 1; border: none; background: none; }
.modal .modal-close:hover { color: var(--text-primary); }
.modal .modal-body { padding: 18px 20px; overflow-y: auto; flex: 1; }
.modal .modal-footer { padding: 12px 20px; border-top: 1px solid var(--border-light); display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border-base); }
.timeline-item { position: relative; padding-bottom: 18px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .tl-dot {
  position: absolute; left: -22px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; border: 3px solid var(--primary-light); background: var(--primary);
}
.timeline-item.tl-success .tl-dot { background: var(--success); border-color: var(--success-light); }
.timeline-item.tl-danger .tl-dot { background: var(--danger); border-color: var(--danger-light); }
.timeline-item.tl-warning .tl-dot { background: var(--warning); border-color: var(--warning-light); }
.timeline-item.tl-info .tl-dot { background: var(--info); border-color: var(--info-light); }
.timeline-item .tl-title { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.timeline-item .tl-meta { font-size: 12px; color: var(--text-placeholder); margin-top: 2px; }
.timeline-item .tl-content { font-size: 13px; color: var(--text-regular); margin-top: 5px; background: var(--bg-hover); border-radius: var(--radius-md); padding: 8px 10px; line-height: 1.6; }

/* ---------- 描述列表 ---------- */
.desc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; }
.desc-item { display: flex; border-bottom: 1px solid var(--border-light); min-height: 42px; }
.desc-item.full { grid-column: 1 / -1; }
.desc-item .desc-label { width: 118px; flex: none; background: var(--bg-table-header); color: var(--text-secondary); font-size: 13px; padding: 10px 12px; border-right: 1px solid var(--border-light); }
.desc-item .desc-value { flex: 1; padding: 10px 12px; font-size: 13.5px; color: var(--text-primary); line-height: 1.6; word-break: break-all; }

/* ---------- 附件 ---------- */
.file-list { display: flex; flex-direction: column; gap: 8px; }
.file-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  background: var(--bg-hover); font-size: 13px;
}
.file-item .fi-icon { font-size: 18px; flex: none; }
.file-item .fi-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .fi-size { color: var(--text-placeholder); font-size: 12px; flex: none; }
.file-item .fi-actions { display: flex; gap: 4px; flex: none; }

.img-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.img-thumb {
  width: 96px; height: 96px; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border-light); cursor: pointer; position: relative;
  background: var(--bg-hover);
  display: flex; align-items: center; justify-content: center;
}
.img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-thumb .img-fallback { font-size: 12px; color: var(--text-placeholder); text-align: center; padding: 4px; }

/* 版本卡片 */
.version-card { border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 12px 14px; margin-bottom: 10px; }
.version-card.current { border-color: var(--primary-border); background: var(--primary-light); }
.version-card .vc-head { display: flex; align-items: center; gap: 10px; }
.version-card .vc-tag { background: var(--primary); color: #fff; font-size: 12px; border-radius: 4px; padding: 1px 8px; }
.version-card .vc-tag.old { background: var(--text-placeholder); }
.version-card .vc-meta { font-size: 12px; color: var(--text-secondary); }
.version-card .vc-note { font-size: 13px; color: var(--text-regular); margin-top: 8px; line-height: 1.6; }
.version-card .vc-actions { margin-top: 8px; display: flex; gap: 4px; flex-wrap: wrap; }

/* ---------- 页签 ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-base); margin-bottom: 14px; flex-wrap: wrap; }
.tabs .tab {
  padding: 9px 18px; cursor: pointer; font-size: 14px; color: var(--text-regular);
  border-bottom: 2px solid transparent; margin-bottom: -1px; user-select: none;
  display: flex; align-items: center; gap: 6px;
}
.tabs .tab:hover { color: var(--primary); }
.tabs .tab.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.tabs .tab .tab-count { background: var(--danger); color: #fff; font-size: 11px; border-radius: 9px; padding: 0 6px; line-height: 16px; }
.tabs .tab .tab-count.gray { background: var(--text-placeholder); }

/* ---------- 提示与空态 ---------- */
.toast-box { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: rgba(31, 41, 55, 0.92); color: #fff; padding: 9px 20px;
  border-radius: var(--radius-md); font-size: 13.5px; box-shadow: var(--shadow-pop);
  animation: toastIn .2s ease; display: flex; align-items: center; gap: 8px; max-width: 70vw;
}
.toast.success { background: rgba(46, 158, 91, 0.95); }
.toast.error { background: rgba(214, 69, 69, 0.95); }
.toast.warning { background: rgba(217, 142, 4, 0.95); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.empty {
  padding: 48px 20px; text-align: center; color: var(--text-placeholder);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty .empty-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--bg-hover);
  display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--text-disabled);
}
.empty .empty-text { font-size: 13.5px; }

.alert { border-radius: var(--radius-md); padding: 10px 14px; font-size: 13px; line-height: 1.6; display: flex; gap: 8px; margin-bottom: 14px; }
.alert.info { background: var(--primary-light); color: #14467E; border: 1px solid var(--primary-border); }
.alert.warning { background: var(--warning-light); color: #925E03; border: 1px solid #F0DCA8; }
.alert.danger { background: var(--danger-light); color: #A13232; border: 1px solid #F0C2C2; }
.alert.success { background: var(--success-light); color: #1F7040; border: 1px solid #BDE5CC; }

/* ---------- 登录页 ---------- */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0F3A6E 0%, #1A5FB4 55%, #2E7BD6 100%);
  padding: 24px;
}
.login-card {
  width: 400px; max-width: 94vw; background: #fff; border-radius: 14px;
  box-shadow: 0 18px 60px rgba(8, 30, 60, 0.35); overflow: hidden;
}
.login-card .login-head {
  padding: 28px 32px 20px; text-align: center;
  background: linear-gradient(180deg, #F4F9FF 0%, #fff 100%);
  border-bottom: 1px solid var(--border-light);
}
.login-card .login-head .h-logo {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 14px;
  background: var(--primary); color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.login-card .login-head .h-title { font-size: 17px; font-weight: 700; color: var(--text-primary); }
.login-card .login-head .h-sub { font-size: 12.5px; color: var(--text-secondary); margin-top: 5px; }
.login-card .login-body { padding: 24px 32px 30px; }
.login-card .login-body .form-item { margin-bottom: 14px; }
.login-card .login-body .input { width: 100%; height: 40px; }
.login-tabs { display: flex; background: var(--bg-hover); border-radius: var(--radius-md); padding: 3px; margin-bottom: 18px; }
.login-tabs .lt {
  flex: 1; text-align: center; padding: 7px 0; font-size: 13.5px; cursor: pointer;
  border-radius: var(--radius-sm); color: var(--text-secondary); user-select: none;
}
.login-tabs .lt.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: var(--shadow-card); }
.login-tip { font-size: 12px; color: var(--text-placeholder); line-height: 1.8; margin-top: 14px; background: var(--bg-hover); border-radius: var(--radius-md); padding: 10px 12px; }

/* ---------- 图表容器 ---------- */
.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chart-box { height: 300px; position: relative; }
.chart-box canvas { width: 100%; height: 100%; }

/* ---------- 杂项 ---------- */
.row-flex { display: flex; align-items: center; gap: 10px; }
.row-flex .spacer { flex: 1; }
.text-secondary { color: var(--text-secondary); font-size: 13px; }
.text-muted { color: var(--text-placeholder); font-size: 12.5px; }
.text-danger { color: var(--danger); }
.mono { font-variant-numeric: tabular-nums; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mb-16 { margin-bottom: 16px; }
.divider { height: 1px; background: var(--border-light); margin: 16px 0; }
.copy-chip { cursor: pointer; }
.copy-chip:hover { color: var(--primary); }

/* 上传进度 */
.upload-progress { height: 6px; background: var(--bg-disabled); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.upload-progress .up-bar { height: 100%; background: var(--primary); border-radius: 3px; transition: width .2s ease; }

/* 通知下拉 */
.notify-panel {
  position: absolute; top: 46px; right: 0; width: 340px; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); z-index: 500;
  border: 1px solid var(--border-light); overflow: hidden;
}
.notify-panel .np-head { padding: 12px 16px; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; }
.notify-panel .np-list { max-height: 360px; overflow-y: auto; }
.notify-panel .np-item { padding: 10px 16px; border-bottom: 1px solid var(--border-light); cursor: pointer; display: flex; gap: 10px; }
.notify-panel .np-item:hover { background: var(--bg-hover); }
.notify-panel .np-item.unread { background: var(--primary-light); }
.notify-panel .np-item .np-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); flex: none; margin-top: 6px; }
.notify-panel .np-item .np-dot.read { background: transparent; }
.notify-panel .np-item .np-title { font-size: 13px; color: var(--text-primary); line-height: 1.5; }
.notify-panel .np-item .np-time { font-size: 12px; color: var(--text-placeholder); margin-top: 3px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1400px) {
  .content { padding: 16px 18px 28px; }
  .chart-row { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .desc-grid { grid-template-columns: 1fr; }
  .filter-bar .filter-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 900px) {
  :root { --sidebar-width: 64px; }
  .sidebar .brand .name, .sidebar .menu-item span.mi-text, .sidebar .menu-group-title { display: none; }
  .sidebar .menu-item { justify-content: center; padding: 12px 0; }
  .sidebar .menu-item .mi-badge { position: absolute; right: 6px; top: 4px; margin-left: 0; }
}
