/* ============ 县域医共体药品采购管理系统 · 主题 ============ */
:root {
  --brand: #1f6fb2;
  --brand-600: #1a5f9c;
  --brand-050: #eaf2fa;
  --teal: #16a394;
  --teal-050: #e6f6f4;
  --ink: #1b2a3a;
  --ink-2: #43566b;
  --muted: #8496a8;
  --line: #e4ecf3;
  --bg: #f3f7fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(24, 62, 99, 0.07);
  --shadow-hover: 0 10px 26px rgba(24, 62, 99, 0.12);
}

* { box-sizing: border-box; }

html, body, #app { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #c6d5e2; border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ================= 登录 ================= */
.login-shell { min-height: 100vh; }
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background:
    radial-gradient(900px 520px at 6% 6%, rgba(31, 111, 178, 0.16), transparent 60%),
    radial-gradient(760px 520px at 96% 92%, rgba(22, 163, 148, 0.16), transparent 58%),
    linear-gradient(128deg, #0c2036 0%, #123a5c 48%, #16506e 100%);
}
.login-brand {
  color: #eaf2f8;
  padding: 62px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-brand::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.04), 0 0 0 130px rgba(255, 255, 255, 0.03);
}
.login-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: 1px; width: fit-content;
  backdrop-filter: blur(4px);
}
.login-title {
  font-size: 38px; line-height: 1.35; font-weight: 800;
  margin: 26px 0 14px; letter-spacing: 1px;
  background: linear-gradient(96deg, #ffffff, #b9e4f7 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.login-title span { display: block; }
.login-desc { color: #b7cfe2; font-size: 14.5px; line-height: 1.9; max-width: 520px; }
.login-points { margin-top: 34px; display: grid; gap: 13px; }
.login-point { display: flex; gap: 11px; align-items: flex-start; color: #d6e6f2; font-size: 13.5px; }
.login-point i {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(22, 163, 148, 0.24); color: #7fe3d6;
  display: grid; place-items: center; font-size: 11px; font-style: normal; margin-top: 1px;
}
.login-panel {
  background: rgba(255, 255, 255, 0.97);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 28px;
  border-radius: 26px 0 0 26px;
  box-shadow: -20px 0 60px rgba(4, 20, 36, 0.22);
}
.login-card { width: 100%; max-width: 366px; }
.login-card h2 { margin: 0 0 6px; font-size: 23px; color: var(--ink); letter-spacing: 0.5px; }
.login-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.login-form .el-input__wrapper { padding: 10px 14px; }
.login-tip { margin-top: 22px; color: var(--muted); font-size: 12.5px; line-height: 1.9; }
.login-tip b { color: var(--brand); font-weight: 600; }
.login-switch { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }
.login-switch a { color: var(--brand); text-decoration: none; cursor: pointer; }

/* ================= 主框架 ================= */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 224px; flex: none;
  background: linear-gradient(178deg, #0f2c47 0%, #123a5c 55%, #14506d 100%);
  color: #dbe8f3;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  transition: width 0.18s ease;
}
.app-shell.collapsed .sidebar { width: 76px; }

.brand { display: flex; align-items: center; gap: 11px; padding: 20px 18px 16px; }
.brand-logo {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: linear-gradient(140deg, #2f95d6, #16a394);
  color: #fff; font-weight: 800; font-size: 17px;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(22, 163, 148, 0.3);
}
.brand-txt { display: flex; flex-direction: column; overflow: hidden; }
.brand-txt b { font-size: 15px; color: #fff; letter-spacing: 0.4px; white-space: nowrap; }
.brand-txt span { font-size: 11px; color: #8fb4cf; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.menu { flex: 1; overflow-y: auto; padding: 4px 10px 14px; }
.menu::-webkit-scrollbar { width: 0; }
.menu-label {
  font-size: 11px; color: #7ea3c0; letter-spacing: 1.4px;
  padding: 16px 10px 7px;
}
.menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; margin: 2px 0;
  border-radius: 9px; color: #c9dcec; font-size: 13.5px;
  cursor: pointer; text-decoration: none; position: relative;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.menu-item .el-icon { font-size: 16px; flex: none; }
.menu-item:hover { background: rgba(255, 255, 255, 0.08); color: #fff; transform: translateX(2px); }
.menu-item.active {
  background: linear-gradient(96deg, rgba(47, 149, 214, 0.95), rgba(22, 163, 148, 0.9));
  color: #fff; font-weight: 600;
  box-shadow: 0 8px 18px rgba(13, 46, 70, 0.36);
}
.menu-item .badge {
  margin-left: auto; background: #ff7043; color: #fff;
  font-style: normal; font-size: 11px; line-height: 17px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; text-align: center;
}
.app-shell.collapsed .menu-item { justify-content: center; padding: 11px 0; }
.sidebar-foot { padding: 12px 18px 16px; font-size: 11px; color: #6f94b1; border-top: 1px solid rgba(255, 255, 255, 0.07); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  height: 62px; flex: none;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; gap: 12px;
  position: sticky; top: 0; z-index: 90;
  backdrop-filter: blur(8px);
}
.topbar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.collapse-btn { font-size: 19px; color: var(--ink-2); cursor: pointer; }
.collapse-btn:hover { color: var(--brand); }
.crumb { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.crumb-root { color: var(--muted); }
.crumb-sep { color: #cbd8e4; }
.crumb-now { color: var(--ink); font-weight: 600; font-size: 14px; }

.topbar-right { display: flex; align-items: center; gap: 14px; }
.org-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-050); color: var(--brand-600);
  padding: 6px 11px; border-radius: 8px; font-size: 12.5px; max-width: 230px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.icon-btn { font-size: 17px; color: var(--ink-2); }
.user-chip { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.avatar {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(140deg, #2f95d6, #16a394);
  color: #fff; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(31, 111, 178, 0.25);
}
.user-meta { display: flex; flex-direction: column; line-height: 1.25; }
.user-meta b { font-size: 13px; color: var(--ink); }
.user-meta small { font-size: 11.5px; color: var(--muted); }

.content { flex: 1; padding: 20px 22px 30px; max-width: 1680px; width: 100%; }

/* 备份告警横幅：常驻顶部，直到处理完成或本会话手动关闭 */
.bk-banner { display: flex; align-items: center; gap: 8px; margin: -6px 0 14px; padding: 9px 12px;
  background: #fdf1f0; border: 1px solid #f3c9c5; border-left: 4px solid #d9534f; border-radius: 6px;
  color: #8a2a26; font-size: 13px; }
.bk-banner .bk-ico { color: #d9534f; font-size: 15px; }
.bk-banner .bk-txt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-banner .bk-go { color: #b23b35; font-weight: 600; }
.bk-banner .bk-close { cursor: pointer; color: #b98b88; }
.bk-banner .bk-close:hover { color: #8a2a26; }
.bk-banner.warn { background: #fff9ee; border-color: #f6e3c2; border-left-color: #e08b2d; color: #7a5a24; }
.bk-banner.warn .bk-ico { color: #e08b2d; }
.bk-banner.warn .bk-go { color: #a97a1f; }
.bk-banner.warn .bk-close { color: #c3ac86; }
.bk-banner.warn .bk-close:hover { color: #7a5a24; }

/* ================= 页面通用 ================= */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.page-title { font-size: 20px; font-weight: 700; letter-spacing: 0.3px; display: flex; align-items: center; gap: 9px; }
.page-title small { font-size: 12.5px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.page-actions { display: flex; gap: 9px; flex-wrap: wrap; }

.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid rgba(228, 236, 243, 0.7);
  padding: 18px 18px 14px; margin-bottom: 16px;
}
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-title::before {
  content: ""; width: 4px; height: 15px; border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), var(--teal));
}
.card-title small { font-weight: 400; color: var(--muted); font-size: 12px; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }
.toolbar .el-input, .toolbar .el-select { width: 180px; }
.toolbar .el-date-editor { width: 150px; }

/* 统计卡 */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat {
  background: var(--card); border-radius: var(--radius); padding: 16px 16px 14px;
  display: flex; gap: 13px; align-items: flex-start;
  box-shadow: var(--shadow); border: 1px solid rgba(228, 236, 243, 0.8);
  position: relative; overflow: hidden; transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.stat::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--c); opacity: 0.07;
}
.stat-icon {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-size: 19px;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, #ffffff);
}
.stat-label { font-size: 12.5px; color: var(--muted); }
.stat-value { font-size: 24px; font-weight: 700; letter-spacing: 0.4px; margin-top: 3px; color: var(--ink); }
.stat-value small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 3px; }
.stat-hint { font-size: 11.5px; color: #9aabbc; margin-top: 4px; }

/* 表格 */
.el-table { --el-table-border-color: #edf2f7; --el-table-header-bg-color: #f6f9fc; border-radius: 10px; }
.el-table th.el-table__cell { font-weight: 700; color: #40566d; background: #f6f9fc !important; }
.el-table td.el-table__cell { padding: 9px 0; }
.el-table__row:hover > td.el-table__cell { background: #f7fbfe !important; }

.el-button { border-radius: 9px; }
.el-button--primary { --el-button-bg-color: var(--brand); --el-button-border-color: var(--brand); }
.el-button--primary:hover { --el-button-hover-bg-color: #2f86c8; --el-button-hover-border-color: #2f86c8; }
.el-input__wrapper, .el-select__wrapper, .el-textarea__inner { border-radius: 9px; }
.el-dialog { border-radius: 16px; }
.el-dialog__header { padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-right: 0; }
.el-drawer__header { margin-bottom: 10px; font-weight: 700; color: var(--ink); }
.el-tag { border-radius: 7px; }
.el-card { border-radius: var(--radius); }

/* 表单布局 */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.el-form-item__label { color: #506478; font-weight: 500; }

/* 流程 */
.flow-wrap { padding: 4px 2px; }
.flow-state { margin-left: 8px; font-size: 11.5px; padding: 1px 7px; border-radius: 20px; background: #eef3f8; color: #6b7f92; }
.flow-state.approved { background: #e8f7f0; color: #1a9c6b; }
.flow-state.rejected { background: #fdecec; color: #d9534f; }
.flow-state.pending { background: #fff5e6; color: #c47c14; }
.flow-comment { font-size: 12.5px; color: #6b7f92; margin-top: 4px; line-height: 1.7; }
.flow-total { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* 明细表只读 */
.readonly-table .el-input__wrapper { background: #f8fafc; }
.money { font-variant-numeric: tabular-nums; font-weight: 600; }
.text-muted { color: var(--muted); }
.text-red { color: #d9534f; }
.text-teal { color: var(--teal); }
.text-brand { color: var(--brand); }
.warn-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #f0a640; margin-right: 5px; }

.empty-pad { padding: 26px 0; }

/* 汇总表格 */
.summary-org-cell { font-size: 12px; color: #5d7186; }
.summary-org-cell b { color: var(--ink); font-weight: 600; }

/* 段标题 */
.section-title { font-size: 13.5px; font-weight: 700; color: var(--brand-600); margin: 6px 0 12px; display: flex; align-items: center; gap: 7px; }
.section-title::before { content: ""; width: 3px; height: 13px; background: var(--brand); border-radius: 2px; }

/* ================= 移动端 ================= */
.mobile-shell { min-height: 100vh; background: #eff4f9; padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
.m-top {
  background: linear-gradient(135deg, #1f6fb2 0%, #2e8fc4 100%);
  color: #fff;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 14px;
  border-radius: 0 0 14px 14px;
  box-sizing: border-box;
  position: relative; overflow: hidden;
}
.m-top::after { content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.m-top h1 { font-size: 16px; margin: 0 0 3px; font-weight: 700; line-height: 1.35; }
.m-top p { margin: 0; font-size: 11.5px; color: rgba(255, 255, 255, 0.82); }
.m-user { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; }
.m-user .m-avatar { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.m-body { padding: 12px 14px calc(96px + env(safe-area-inset-bottom)); margin-top: 0; position: relative; z-index: 1; }
.m-info { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #5d7186; background: #eaf1f8; border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; }
.m-info b { color: var(--brand); font-weight: 600; }
.m-scroll { max-height: 56vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.nav-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid #edf2f7; border-radius: 9px; background: #fbfdff; margin-bottom: 8px; }
.nav-row .nav-origin { flex: 1; font-size: 12.5px; color: #5d7186; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trend-chart { padding-top: 6px; }
.trend-svg { width: 100%; height: 190px; display: block; }
.trend-axis { display: flex; justify-content: space-between; padding: 2px 6px 0; font-size: 11.5px; color: #7b8fa4; }
.trend-val { display: flex; justify-content: space-between; padding: 3px 6px 0; font-size: 11.5px; color: #1f6fb2; font-weight: 600; }
.m-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: #fff; border-radius: 14px; padding: 14px 8px; box-shadow: 0 8px 20px rgba(20, 60, 100, 0.1); }
.m-stat { text-align: center; }
.m-stat b { display: block; font-size: 20px; color: var(--brand); }
.m-stat span { font-size: 11px; color: var(--muted); }
.m-card { background: #fff; border-radius: 14px; margin-top: 12px; padding: 14px; box-shadow: 0 4px 14px rgba(20, 60, 100, 0.06); }
.m-card h3 { margin: 0 0 10px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.m-card h3 a { font-size: 12px; color: var(--brand); text-decoration: none; font-weight: 400; }
.m-list { display: grid; gap: 10px; }
.m-item { border: 1px solid #eef3f8; border-radius: 11px; padding: 11px 12px; background: #fbfdff; }
.m-item .t { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; }
.m-item .s { font-size: 12px; color: var(--muted); margin-top: 5px; display: flex; justify-content: space-between; gap: 8px; }
.m-empty { text-align: center; color: var(--muted); font-size: 12.5px; padding: 18px 0; }
.m-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(var(--m-tabs, 4), 1fr); align-items: end;
  padding: 6px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(10px);
}
.m-tab { min-width: 0; text-align: center; color: #92a4b6; font-size: 11px; cursor: pointer;
  white-space: nowrap; }
.m-tab .el-icon { font-size: 20px; display: block; margin: 0 auto 2px; }
.m-tab.active { color: var(--brand); font-weight: 600; }
/* 中间自定义入口：圆形凸起主按钮，始终位于底部导航正中 */
.m-tab.m-center { position: relative; }
.m-tab.m-center .el-icon {
  width: 36px; height: 36px; border-radius: 50%; margin: -16px auto 1px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1f6fb2, #2e8fc4); color: #fff; font-size: 19px;
  box-shadow: 0 6px 14px rgba(31, 111, 178, 0.3);
}
.m-tab.m-center .el-icon svg { width: 19px; height: 19px; }
.m-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.m-actions .el-button { flex: 1 1 calc(50% - 4px); min-width: 0; padding: 0 8px; }
.m-actions .el-button + .el-button { margin-left: 0; }
.m-actions .el-button:only-child { flex: 1 1 100%; }
.m-actions .el-button:nth-child(3):last-child { flex: 1 1 100%; }
.m-form .el-form-item { margin-bottom: 12px; }
.m-form .el-form-item__label { font-size: 12.5px; }
.m-back { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 13px; text-decoration: none; margin-bottom: 10px; }
.m-fab { position: fixed; right: 18px; bottom: 86px; z-index: 98; }
.m-fab .el-button { width: 52px; height: 52px; border-radius: 50%; font-size: 22px; box-shadow: 0 10px 22px rgba(31, 111, 178, 0.35); }
.m-seg { display: flex; background: #eaf1f8; border-radius: 10px; padding: 3px; margin-bottom: 12px; }
.m-seg span { flex: 1; text-align: center; font-size: 12.5px; padding: 7px 0; border-radius: 8px; color: #5d7186; }
.m-seg span.on { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 2px 8px rgba(20, 60, 100, 0.08); }

/* ================= 工作台 ================= */
.trend { display: flex; align-items: flex-end; gap: 14px; height: 168px; padding: 8px 4px 0; }
.trend-item { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.trend-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.trend-bar {
  width: 62%; max-width: 56px; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #46a3dc, #1f6fb2 70%, #1a5f9c);
  position: relative; transition: height 0.4s ease; min-height: 6px;
}
.trend-bar:hover { filter: brightness(1.06); }
.trend-val { position: absolute; top: -19px; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: #6b7f92; white-space: nowrap; }
.trend-label { font-size: 11.5px; color: #6b7f92; margin-top: 8px; text-align: center; line-height: 1.5; }
.trend-label span { display: block; color: #9aabbc; font-size: 10.5px; }

.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.todo-list { display: grid; gap: 8px; }
.todo-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px;
  border: 1px solid #eef3f8; border-radius: 10px; background: #fbfdff; cursor: pointer;
  font-size: 13px; transition: border-color 0.15s ease, transform 0.15s ease;
}
.todo-item:hover { border-color: #bcd8ec; transform: translateX(2px); }
.todo-tag { font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: #eaf2fa; color: #1f6fb2; }
.todo-tag.urgent { background: #fdeeea; color: #d9653f; }
.todo-name { flex: 1; color: #43566b; }
.todo-item .el-icon { color: #a9bccc; }

.low-list { display: grid; gap: 8px; }
.low-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid #fbeceb; border-radius: 10px; background: #fffafa; }
.low-main b { font-size: 13px; }
.low-main span { display: block; font-size: 11.5px; color: #9aabbc; margin-top: 3px; }
.low-num { font-size: 12px; color: #9aabbc; white-space: nowrap; }
.low-num b { color: #d9534f; font-size: 15px; }

/* 分页 */
.pager { display: flex; justify-content: flex-end; padding: 14px 2px 4px; }

/* 填报 */
.pick-sum { font-size: 12.5px; color: #6b7f92; }
.pick-sum b { color: var(--brand); font-size: 14px; }
.drug-name { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.drug-sub { font-size: 11.5px; color: #9aabbc; margin-top: 2px; }
.drawer-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }

/* 汇总 */
.sum-org { font-size: 11.5px; color: #7a8fa3; }
.sum-qty { font-variant-numeric: tabular-nums; }

/* 报告 */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 8px; }
.metric {
  border-radius: 12px; padding: 14px 15px; background: #f8fbfe; border: 1px solid #e9f1f7;
}
.metric .k { font-size: 12px; color: #7a8fa3; display: flex; align-items: center; gap: 5px; }
.metric .v { font-size: 22px; font-weight: 700; color: #1f4e79; margin-top: 6px; }
.metric .v small { font-size: 12px; color: #7a8fa3; font-weight: 400; margin-left: 3px; }
.metric .n { font-size: 11px; color: #9aabbc; margin-top: 5px; line-height: 1.6; }

.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 12.5px; }
.bar-row .bar-label { width: 150px; color: #506478; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row .bar-track { flex: 1; height: 10px; border-radius: 6px; background: #eef4f9; overflow: hidden; }
.bar-row .bar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #46a3dc, #16a394); }
.bar-row .bar-num { width: 92px; text-align: right; color: #43566b; font-variant-numeric: tabular-nums; }

/* 角色权限 */
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.role-card { border: 1px solid #e9f1f7; border-radius: 12px; padding: 14px; background: #fbfdff; cursor: pointer; transition: all 0.16s ease; }
.role-card:hover { border-color: #b9d6e4; box-shadow: 0 6px 16px rgba(31, 111, 178, 0.08); }
.role-card.active { border-color: var(--brand); background: #f4fafe; }
.role-card h4 { margin: 0 0 6px; font-size: 14px; }
.role-card p { margin: 0; font-size: 12px; color: #8a9aa8; line-height: 1.7; }
.perm-group { border-bottom: 1px dashed #edf2f7; padding-bottom: 10px; margin-bottom: 10px; }
.perm-group:last-child { border-bottom: none; }
.perm-group h5 { margin: 0 0 8px; font-size: 12.5px; color: #1f4e79; }
.perm-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 10px; }

/* 审批链配置 */
.flow-step {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #e9f1f7;
  border-radius: 10px; background: #fbfdff; margin-bottom: 9px;
}
.flow-step .no {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, #2f95d6, #16a394); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.flow-step .grow { flex: 1; display: flex; gap: 10px; flex-wrap: wrap; }
.flow-step .el-input { width: 200px; }
.flow-step .el-select { width: 190px; }

/* 字段设置 */
.field-row { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; padding: 9px 10px; border-bottom: 1px solid #f1f5f9; }
.field-row:last-child { border-bottom: none; }
.field-row .name { flex: 0 0 170px; width: 170px; font-size: 13px; font-weight: 600; }
.field-row .key { flex: 0 0 132px; width: 132px; font-size: 11.5px; color: #9aabbc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field-row .text-muted { flex: 0 0 auto; white-space: nowrap; font-size: 12px; }
.field-row .el-input-number { width: 96px; flex: 0 0 96px; }
.field-row .el-checkbox { flex: 0 0 auto; margin-right: 0; white-space: nowrap; }
.field-row .el-select { flex: 0 0 auto; }
@media (max-width: 1240px) { .field-row { flex-wrap: wrap; row-gap: 8px; } }

/* 表格：操作按钮不换行、间距收紧 */
.el-table .el-button { white-space: nowrap; }
.el-table .el-button + .el-button { margin-left: 6px; }

/* 空状态 */
.el-empty__description p { color: #9aabbc; }

/* 响应式 */
@media (max-width: 1180px) {
  .form-grid { grid-template-columns: 1fr; }
  .content { padding: 16px; }
  .org-chip { display: none; }
}
@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-panel { border-radius: 0; }
  .user-meta { display: none; }
}
/* 收起态统一样式（不再依赖视口宽度，改由 .app-shell.collapsed 控制） */
.app-shell.collapsed .brand-txt,
.app-shell.collapsed .menu-label,
.app-shell.collapsed .menu-item span,
.app-shell.collapsed .sidebar-foot,
.app-shell.collapsed .menu-search { display: none; }
.app-shell.collapsed .menu-item { justify-content: center; }

/* 消息提醒顶部提示条 */
.notice-strip {
  display: flex; align-items: center; gap: 8px;
  background: #fff7e6; border: 1px solid #ffe1b3; color: #8a5b00;
  padding: 9px 14px; border-radius: 10px; margin-bottom: 12px;
  font-size: 13px; cursor: pointer;
}
.notice-strip b { color: #d46b08; font-weight: 700; }
.notice-strip .notice-strip-more { margin-left: auto; color: #d46b08; font-weight: 600; }
.icon-txt { font-size: 12.5px; margin-left: 3px; }
.notice-strip-empty { background: #f4f8fc; border-color: #e3ecf5; color: #5d7186; }
.notice-strip-empty .notice-strip-more { color: #1f6fb2; }

/* 手机端消息角标 */
.m-tab { position: relative; }
.m-dot {
  position: absolute; top: -2px; left: 50%; margin-left: 4px;
  min-width: 15px; height: 15px; line-height: 15px; padding: 0 4px;
  border-radius: 8px; background: #f56c6c; color: #fff;
  font-size: 10px; font-weight: 700; text-align: center; box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(245, 108, 108, .5);
}
.m-num {
  display: inline-block; min-width: 18px; height: 18px; line-height: 18px;
  padding: 0 5px; border-radius: 9px; background: #f56c6c; color: #fff;
  font-size: 11px; font-weight: 700; text-align: center; box-sizing: border-box;
}

/* ================= A 档：界面规范统一 ================= */
/* 状态标签：统一尺寸、圆角、字重，避免各页面高低不齐 */
.el-tag { border-radius: 6px; font-size: 12px; font-weight: 500; }
.el-table .cell .el-tag,
.el-table .cell .el-tag--small { height: 22px; line-height: 20px; padding: 0 8px; }
/* 表格：表头统一底色、数字等宽、空态柔和 */
.el-table th.el-table__cell { background: #f5f9fd !important; color: var(--ink-2) !important; font-weight: 600 !important; }
.el-table { font-variant-numeric: tabular-nums; }
.el-table .el-table__empty-text { color: var(--muted); font-size: 13px; }
/* 筛选条：重置按钮与查询按钮同一视觉重量 */
.toolbar .el-button + .el-button { margin-left: 0; }
.toolbar .el-input, .toolbar .el-select { min-width: 160px; }
/* 页面主标题与辅助说明的层级 */
.page-title small { margin-left: 2px; }

/* ================= C档：视觉 token（统一尺度与常用组件样式） ================= */
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 14px; --fs-lg: 16px; --fs-xl: 20px;
  --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 14px;
  --ctl-h: 34px; --ctl-h-sm: 28px;
  --line-strong: #d7e3ee;
  --shadow-1: 0 2px 8px rgba(24, 62, 99, 0.06);
  --shadow-2: 0 8px 24px rgba(24, 62, 99, 0.10);
  --focus-ring: 0 0 0 2px rgba(31, 111, 178, 0.18);
}

.app-shell { font-size: var(--fs-md); }
.app-shell .el-button { height: var(--ctl-h); padding: 0 14px; font-size: var(--fs-sm); border-radius: var(--radius-md); }
.app-shell .el-button--small { height: var(--ctl-h-sm); padding: 0 10px; font-size: var(--fs-xs); }
.app-shell .el-button--primary { box-shadow: 0 2px 6px rgba(31, 111, 178, 0.18); }
.app-shell .el-input__wrapper,
.app-shell .el-select__wrapper { min-height: var(--ctl-h); border-radius: var(--radius-md); box-shadow: 0 0 0 1px var(--line) inset; }
.app-shell .el-input__wrapper.is-focus,
.app-shell .el-select__wrapper.is-focused { box-shadow: var(--focus-ring), 0 0 0 1px var(--brand) inset; }
.app-shell .el-table { font-size: var(--fs-sm); }
.app-shell .el-table th.el-table__cell { height: 40px; background: #f5f9fd !important; font-weight: 600; color: var(--ink-2); }
.app-shell .el-table td.el-table__cell { height: 44px; }
.app-shell .el-table .cell { line-height: 1.4; }
.app-shell .card { border-radius: var(--radius-xl); box-shadow: var(--shadow-1); padding: var(--space-4) var(--space-4) var(--space-3); }
.app-shell .page-title { font-size: var(--fs-xl); }
.app-shell .page-title small { font-size: var(--fs-xs); }
.app-shell .toolbar { gap: var(--space-2); margin-bottom: var(--space-3); }
.app-shell .pager { padding-top: var(--space-3); }
.app-shell .el-dialog { border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.app-shell .el-dialog__title { font-size: var(--fs-lg); font-weight: 600; }
.app-shell .el-tag { border-radius: var(--radius-sm); }
.app-shell .el-drawer__header { margin-bottom: 0; padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); font-weight: 600; }
/* ================= C档第二层：① 手机端精修 ② 登录与侧栏 ③ 统计卡与图表 ================= */

/* ① 手机端：卡片、明细行、分段控件、底部导航、详情抽屉 */
.mobile-shell .m-card { border-radius: 16px; padding: 15px 14px 13px; box-shadow: 0 2px 10px rgba(20, 60, 100, 0.06); }
.mobile-shell .m-card h3 { font-size: 14px; letter-spacing: 0.2px; margin-bottom: 11px; }
.mobile-shell .m-item { border-radius: 12px; padding: 12px 13px; }
.mobile-shell .m-item .t { font-size: 13.5px; letter-spacing: 0.1px; }
.mobile-shell .m-item .s { font-size: 12px; line-height: 1.5; }
.mobile-shell .m-num,
.mobile-shell .m-stat b,
.mobile-shell .m-item .t b { font-variant-numeric: tabular-nums; }
.mobile-shell .m-info { border-radius: 10px; font-size: 12.5px; }
.mobile-shell .m-seg { border-radius: 12px; padding: 4px; }
.mobile-shell .m-seg span { padding: 8px 0; font-size: 13px; border-radius: 9px; }
.mobile-shell .m-empty { font-size: 12.5px; color: var(--muted); text-align: center; padding: 20px 0; }
.mobile-shell .m-tabbar { box-shadow: 0 -6px 18px rgba(20, 60, 100, 0.06); }
.mobile-shell .m-tab { font-size: 11.5px; }
.mobile-shell .m-tab .el-icon { font-size: 19px; margin-bottom: 3px; }
.mobile-shell .m-actions .el-button { height: 38px; font-size: 13.5px; border-radius: 10px; }
.mobile-shell .m-top h1 { font-size: 16.5px; }
.mobile-shell .m-top p { font-size: 11.5px; }
/* 药品详情抽屉：顶部圆角 + 抓握条 + 内边距 */
.el-drawer.btt { border-radius: 18px 18px 0 0; }
.el-drawer.btt .el-drawer__body { padding: 0 16px 20px; }
.el-drawer.btt .el-drawer__body::before {
  content: ""; display: block; width: 38px; height: 4px; border-radius: 2px;
  background: #dce7f1; margin: 8px auto 12px;
}

/* ② 登录页与侧边栏品牌区 */
.login-shell .login-panel { border-radius: 24px 0 0 24px; }
.login-shell .login-card h2 { font-size: 24px; letter-spacing: 0.4px; }
.login-shell .login-form .el-input__wrapper { height: 42px; border-radius: 10px; }
.login-shell .login-form .el-button { height: 42px; border-radius: 10px; font-size: 14.5px; }
.login-shell .login-form .el-button--primary { box-shadow: 0 8px 18px rgba(31, 111, 178, 0.24); }
.login-shell .login-point i { border-radius: 999px; }
.app-shell .brand-logo { border-radius: 12px; letter-spacing: 0.5px; }
.app-shell .brand-txt b { font-size: 15px; letter-spacing: 0.5px; }
.app-shell .menu-label { letter-spacing: 1.2px; padding-top: 18px; }
.app-shell .menu-item { border-radius: 8px; }
.app-shell .sidebar-foot { letter-spacing: 0.2px; }

/* ③ 统计卡与图表：数字对齐、卡片规格统一、图表配色一致 */
.app-shell .stat { border-radius: var(--radius-xl); box-shadow: var(--shadow-1); padding: 16px 16px 15px; }
.app-shell .stat:hover { box-shadow: var(--shadow-2); }
.app-shell .stat-icon { border-radius: 11px; }
.app-shell .stat-value { font-variant-numeric: tabular-nums; font-size: 23px; }
.app-shell .stat-label { font-size: 12.5px; }
.app-shell .stat-hint { font-size: 11.5px; color: #9aabbc; }
.app-shell .metric-grid .metric { border-radius: var(--radius-xl); box-shadow: var(--shadow-1); border: 1px solid rgba(228, 236, 243, 0.8); }
.app-shell .metric .v { font-variant-numeric: tabular-nums; color: #1b3f63; }
.app-shell .trend-bar { border-radius: 9px 9px 4px 4px; }
.app-shell .bar-legend, .app-shell .trend-legend { font-size: 12px; color: var(--muted); }
.app-shell .money, .app-shell .sum-qty { font-variant-numeric: tabular-nums; }


/* ============ 履约评估看板 / 独立大屏 ============ */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.grid-cards .stat { padding: 16px 18px; }
.grid-cards .stat .k { font-size: 12.5px; color: var(--muted); }
.grid-cards .stat .v { font-size: 26px; font-weight: 700; color: var(--ink); margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.grid-cards .stat .v em { font-size: 13px; font-weight: 400; color: var(--muted); font-style: normal; margin-left: 3px; }
.grid-cards .stat .t { font-size: 11.5px; color: #95a7b8; }
.bar-row { cursor: default; }
.bar-row .rank-no { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center;
  border-radius: 6px; background: #eef4f9; color: #5b7288; font-size: 11px; font-style: normal; margin-right: 6px; }
.bar-row:hover .bar-fill { filter: saturate(1.15) brightness(1.03); }
.trend-bars { display: flex; align-items: flex-end; gap: 6px; height: 168px; padding: 8px 4px 0; }
.trend-bars .tb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.trend-bars .tb-val { font-size: 11px; color: #6b8299; font-variant-numeric: tabular-nums; height: 14px; }
.trend-bars .tb-col { width: 60%; max-width: 34px; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #7ec5e4, #2f9bd8); }
.trend-bars .tb-col.up { background: linear-gradient(180deg, #6fd3c1, #16a394); }
.trend-bars .tb-col.down { background: linear-gradient(180deg, #f0b48a, #e0736b); }
.trend-bars .tb-col.empty { background: repeating-linear-gradient(45deg, #eef2f6, #eef2f6 4px, #dfe7ef 4px, #dfe7ef 8px); }
.trend-bars .tb-lb { font-size: 11px; color: #8a9bad; }

/* 独立展示窗口：隐藏侧栏与顶栏，整屏给看板 */
.app-shell.board-full .sidebar, .app-shell.board-full .topbar { display: none; }
.app-shell.board-full .main { margin-left: 0; }
.app-shell.board-full .content { padding: 18px 22px 28px; max-width: 1680px; margin: 0 auto; }
.board-page .page-head { margin-bottom: 14px; }
.board-page .page-title { font-size: 22px; }
.board-page .grid-cards .stat .v { font-size: 32px; }
.board-page .trend-bars { height: 220px; }

/* 手机端评分条与提示 */
.m-bar { height: 6px; border-radius: 4px; background: #eef4f9; overflow: hidden; margin: 6px 0 5px; }
.m-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #46a3dc, #16a394); }
.m-tip { font-size: 11.5px; color: #93a5b7; line-height: 1.5; margin-top: 8px; }
.m-seg.m-seg6 { flex-wrap: wrap; }
.m-seg.m-seg6 span { flex: 0 0 31.5%; margin: 2px 0.5%; }
.m-seg.m-seg8 { flex-wrap: wrap; }
.m-seg.m-seg8 span { flex: 0 0 23.5%; margin: 2px 0.5%; }

/* 近三期对比（PC 明细表 & 手机端） */
.mini3 { display: flex; align-items: center; gap: 6px; }
.mini3 .m3 { display: inline-flex; flex-direction: column; align-items: center; min-width: 42px;
  padding: 3px 5px; border-radius: 7px; background: #f2f7fb; line-height: 1.25; }
.mini3 .m3 i { font-style: normal; font-size: 10.5px; color: #94a6b8; }
.mini3 .m3 b { font-size: 12.5px; color: #3f566c; font-variant-numeric: tabular-nums; }
.mini3 .m3d { font-size: 11.5px; font-weight: 600; padding: 2px 6px; border-radius: 6px; }
.mini3 .m3d.up { color: #12897c; background: #e8f7f3; }
.mini3 .m3d.down { color: #d4553f; background: #fdeeea; }
.m-mini3 { display: flex; gap: 6px; margin-top: 5px; flex-wrap: wrap; }
.m-mini3 span { font-size: 11.5px; color: #5f7488; background: #f1f6fa; border-radius: 6px; padding: 2px 7px; }
.m-mini3 b { color: #34495d; }

/* 独立展示窗口顶部信息条（去掉工具栏与按钮） */
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 20px; margin-bottom: 14px; border-radius: 14px;
  background: linear-gradient(100deg, #0f6f96, #16a394); color: #fff; box-shadow: 0 6px 18px rgba(16, 90, 120, .18); }
.board-head .bh-left { display: flex; align-items: center; gap: 12px; }
.board-head .bh-logo { width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 9px;
  background: rgba(255,255,255,.18); font-weight: 700; font-size: 15px; }
.board-head h1 { font-size: 21px; font-weight: 700; margin: 0; letter-spacing: .5px; }
.board-head p { margin: 2px 0 0; font-size: 12.5px; opacity: .86; }
.board-head .bh-right { display: flex; align-items: baseline; gap: 8px; }
.board-head .bh-right b { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.board-head .bh-right span { font-size: 12.5px; opacity: .9; }
.board-head .bh-right em { font-style: normal; font-size: 11.5px; opacity: .75; margin-left: 10px; }
.board-page .card { box-shadow: 0 3px 12px rgba(24, 60, 90, .06); }
.board-page .page-head { display: none; }

/* 独立看板：全屏小图标（仅 full 模式，低调不抢眼） */
.board-head .bh-fs{flex:none;width:26px;height:26px;line-height:26px;text-align:center;border-radius:7px;
  font-size:15px;color:rgba(255,255,255,.75);background:rgba(255,255,255,.14);cursor:pointer;margin-left:14px;
  user-select:none;transition:.15s;}
.board-head .bh-fs:hover{color:#fff;background:rgba(255,255,255,.28);}
/* 独立看板纯净模式：隐藏消息条与卡片内的文字按钮 */
.board-page .notice-strip{display:none !important;}
.board-page .card-head .el-button{display:none !important;}
/* 手机端：采购分析指标宫格 / 迷你柱状 / 副标题 */
.m-card h3 .m-sub{font-weight:400;font-size:12px;color:#8a94a6;}
.m-mgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px;}
.m-mcell{background:#f6f8fb;border-radius:10px;padding:8px 8px 6px;text-align:center;}
.m-mcell b{display:block;font-size:15px;color:#1f2d3d;letter-spacing:-.2px;}
.m-mcell b small{font-size:11px;font-weight:500;margin-left:1px;}
.m-mcell span{display:block;margin-top:2px;font-size:11px;color:#8a94a6;}
.m-bars{display:flex;align-items:flex-end;gap:6px;height:86px;padding:4px 2px 0;border-bottom:1px dashed #e6ebf2;margin-bottom:10px;}
.m-bar-item{flex:1;display:flex;flex-direction:column;align-items:center;height:100%;justify-content:flex-end;}
.m-bar-item i{width:100%;max-width:26px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#5aa7e8,#2f7fd0);}
.m-bar-item span{font-size:11px;color:#8a94a6;margin-top:4px;}
/* 手机首页指标：可点击态 */
.m-stat.m-stat-go{cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .12s;}
.m-stat.m-stat-go:active{transform:scale(.96);opacity:.85;}
/* 手机：返回按钮 / 浮动快捷导航 */
.m-top{position:relative;}
.m-back{display:inline-flex;align-items:center;gap:2px;padding:4px 10px 4px 8px;margin-bottom:6px;
  border-radius:999px;background:rgba(255,255,255,.18);color:#fff;font-size:12px;cursor:pointer;
  -webkit-tap-highlight-color:transparent;}
.m-back:active{background:rgba(255,255,255,.30);}
.m-fab{position:fixed;right:14px;bottom:calc(74px + env(safe-area-inset-bottom));width:44px;height:44px;
  border-radius:50%;background:linear-gradient(145deg,#2f7fd0,#1f6fb2);color:#fff;display:flex;
  align-items:center;justify-content:center;font-size:20px;box-shadow:0 6px 18px rgba(31,111,178,.42);
  z-index:2100;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .15s,opacity .2s;
  opacity:.78;}
.m-fab:active{transform:scale(.94);opacity:1;}
.m-sheet-mask{position:fixed;inset:0;background:rgba(16,24,40,.42);z-index:2200;}
.m-sheet{position:fixed;left:0;right:0;bottom:0;background:#fff;border-radius:18px 18px 0 0;
  padding:14px 16px calc(16px + env(safe-area-inset-bottom));z-index:2201;box-shadow:0 -8px 26px rgba(16,24,40,.18);}
.m-sheet-head{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:12px;}
.m-sheet-head a{color:#1f6fb2;font-size:13px;}
.m-sheet-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.m-sheet-cell{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px;
  background:#f6f8fb;border-radius:12px;font-size:13px;color:#1f2d3d;cursor:pointer;
  -webkit-tap-highlight-color:transparent;}
.m-sheet-cell:active{background:#e9f1fb;}
.m-sheet-cell .el-icon{font-size:20px;color:#1f6fb2;}
.m-sheet-foot{margin-top:12px;}
.m-sheet-btn{text-align:center;padding:10px;border-radius:12px;background:#eef4fc;color:#1f6fb2;font-size:14px;cursor:pointer;}
/* 手机：浮动快捷圆圈组（无面板，直接是一排小圆） */
.m-orb-mask{position:fixed;inset:0;background:rgba(16,24,40,.20);z-index:2190;}
.m-orb-wrap{position:fixed;right:14px;bottom:calc(132px + env(safe-area-inset-bottom));z-index:2201;
  display:flex;flex-direction:column;gap:10px;align-items:flex-end;}
.m-orb-item{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.m-orb{width:42px;height:42px;border-radius:50%;background:#fff;color:#1f6fb2;display:flex;
  align-items:center;justify-content:center;font-size:18px;box-shadow:0 4px 12px rgba(16,24,40,.22);
  transition:transform .14s;}
.m-orb:active{transform:scale(.92);}
.m-orb-lbl{font-size:12px;color:#fff;background:rgba(16,24,40,.62);padding:3px 9px;border-radius:999px;
  white-space:nowrap;}
.m-orb-back .el-icon{font-size:17px;}
/* 手机：快捷圆圈环绕大圆钮呈扇形展开 */
.m-orb-mask{position:fixed;inset:0;background:rgba(16,24,40,.18);z-index:2190;}
.m-orb-wrap{position:fixed;right:14px;bottom:calc(74px + env(safe-area-inset-bottom));width:46px;height:46px;
  z-index:2201;pointer-events:none;}
.m-orb-item{position:absolute;left:2px;top:2px;width:42px;height:42px;pointer-events:auto;
  cursor:pointer;-webkit-tap-highlight-color:transparent;animation:mOrb .18s ease-out both;}
.m-orb{width:42px;height:42px;border-radius:50%;background:#fff;color:#1f6fb2;display:flex;
  align-items:center;justify-content:center;font-size:18px;box-shadow:0 4px 12px rgba(16,24,40,.24);
  transition:transform .14s;}
.m-orb:active{transform:scale(.9);}
.m-orb-lbl{position:absolute;right:46px;top:50%;transform:translateY(-50%);font-size:11px;color:#fff;
  background:rgba(16,24,40,.66);padding:2px 8px;border-radius:999px;white-space:nowrap;pointer-events:none;}
/* 以右下大圆为圆心、半径 82px 的 5 点扇形（180°→90°） */
.m-orb-item.i1{transform:translate(-82px,0);}
.m-orb-item.i2{transform:translate(-75.7px,-31.4px);}
.m-orb-item.i3{transform:translate(-58px,-58px);}
.m-orb-item.i4{transform:translate(-31.4px,-75.7px);}
.m-orb-item.i5{transform:translate(0,-82px);}
.m-orb-item.i2{animation-delay:.03s;}
.m-orb-item.i3{animation-delay:.06s;}
.m-orb-item.i4{animation-delay:.09s;}
.m-orb-item.i5{animation-delay:.12s;}
@keyframes mOrb{from{opacity:0;}to{opacity:1;}}
/* 大圆常显 + 展开态（旋转变叉） */
.m-fab.on{background:linear-gradient(145deg,#e05a5a,#c9403f);box-shadow:0 6px 18px rgba(201,64,63,.42);}
/* 预警看板：条形分布 / 分档块 */
.board-cols{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;margin-bottom:16px;}
@media (max-width:1180px){.board-cols{grid-template-columns:1fr;}}
.abars{padding:4px 2px 0;}
.abar-row{display:flex;align-items:center;gap:10px;margin-bottom:12px;}
.abar-name{width:104px;flex:none;font-size:13px;color:#42526e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.abar-track{flex:1;height:14px;background:#f0f3f8;border-radius:8px;overflow:hidden;}
.abar-track i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#7fb3ea,#2f7fd0);}
.abar-track i.ab-expiry{background:linear-gradient(90deg,#f6c26b,#e08b2d);}
.abar-track i.ab-shortage{background:linear-gradient(90deg,#f29b9b,#d9534f);}
.abar-track i.ab-low_stock{background:linear-gradient(90deg,#8fd8cf,#16a394);}
.abar-val{flex:none;width:120px;text-align:right;font-size:13px;color:#1f2d3d;}
.abar-val small{color:#8a94a6;font-weight:400;font-size:11px;}
.bucket-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.bucket{border-radius:12px;padding:12px 10px;text-align:center;background:#f6f8fb;}
.bucket b{display:block;font-size:22px;color:#1f2d3d;}
.bucket span{font-size:12px;color:#8a94a6;}
.bucket.danger{background:#fdeeee;} .bucket.danger b{color:#d9534f;}
.bucket.warn{background:#fdf4e7;} .bucket.warn b{color:#e08b2d;}
.bucket.ok{background:#eef8f6;} .bucket.ok b{color:#16a394;}
.trend-bar.bar-quiet{background:#e6ebf2;}
.board-page .el-tabs{margin-top:4px;}
/* 手机版：预警分段（7 段横滑）+ 分档 */
.m-seg.m-seg7{overflow-x:auto;-webkit-overflow-scrolling:touch;gap:4px;}
.m-seg.m-seg7 span{white-space:nowrap;flex:none;padding:6px 10px;font-size:13px;}
.m-seg4{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;}
.m-segcell{background:#f5f7fb;border-radius:10px;padding:8px 4px;text-align:center;}
.m-segcell b{display:block;font-size:18px;color:#1f2d3d;line-height:1.2;}
.m-segcell span{font-size:11px;color:#8a94a6;}
.m-segcell.danger{background:#fdeeee;} .m-segcell.danger b{color:#d9534f;}
.m-segcell.warn{background:#fdf4e7;} .m-segcell.warn b{color:#e08b2d;}
.m-segcell.ok{background:#eef8f6;} .m-segcell.ok b{color:#16a394;}
.m-mgrid.m-mgrid2{grid-template-columns:repeat(2,1fr);}
.m-grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0 0;}
.m-cell{background:#f5f7fb;border-radius:10px;padding:10px 8px;text-align:center;}
.m-cell b{display:block;font-size:19px;color:#1f6d3f;line-height:1.2;}
.m-cell span{font-size:11.5px;color:#8a94a6;}
/* ===== 后台菜单：规范分组 + 自动伸缩 ===== */
.menu-search{display:flex;align-items:center;gap:6px;margin:2px 10px 8px;padding:6px 9px;
  border-radius:9px;background:rgba(255,255,255,.09);color:#9fc0d8;}
.menu-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#e6f1f8;font-size:12.5px;}
.menu-search input::placeholder{color:#89a9c1;}
.menu-search .el-icon{font-size:13px;flex:none;}
.menu-search .ms-clear{cursor:pointer;}
.menu-group{display:flex;align-items:center;gap:6px;padding:12px 10px 6px;cursor:pointer;user-select:none;}
.menu-group .mg-name{font-size:11.5px;letter-spacing:1.2px;color:#8fb2cc;font-weight:600;}
.menu-group .mg-count{font-size:10px;color:#6f94b1;background:rgba(255,255,255,.07);
  border-radius:8px;padding:0 5px;line-height:15px;}
.menu-group .mg-arrow{margin-left:auto;font-size:12px;color:#7ea3c0;transition:transform .16s ease;}
.menu-group .mg-arrow.open{transform:rotate(90deg);}
.menu-group:hover .mg-name{color:#cfe6f5;}
.menu-empty{padding:14px 10px;font-size:12px;color:#7ea3c0;}

.sb-resizer{width:5px;flex:none;cursor:col-resize;background:transparent;position:relative;z-index:5;}
.sb-resizer::after{content:'';position:absolute;left:2px;top:0;bottom:0;width:1px;background:rgba(15,44,71,.12);}
.sb-resizer:hover::after,.sb-resizer.dragging::after{background:rgba(47,149,214,.6);width:2px;}
.app-shell.collapsed .sidebar{width:64px;}
.sidebar-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.sidebar-foot .sb-toggle{cursor:pointer;font-size:14px;color:#8fb2cc;}
.sidebar-foot .sb-toggle:hover{color:#fff;}
.menu-item .menu-tip{
  position:absolute;left:56px;top:50%;transform:translateY(-50%) translateX(-4px);
  background:#0f2c47;color:#eaf4fb;font-size:12px;padding:5px 9px;border-radius:7px;
  white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease;
  box-shadow:0 6px 16px rgba(3,20,35,.35);z-index:20;
}
.menu-item.tip:hover .menu-tip{opacity:1;transform:translateY(-50%) translateX(0);}
.menu-split{height:1px;margin:7px 12px;background:rgba(255,255,255,.10);}
/* 自动伸缩开关 */
.sidebar-foot .sb-fs{display:flex;align-items:center;gap:9px;}
.sidebar-foot .sb-auto{cursor:pointer;font-size:14px;color:#7ea3c0;transition:color .15s ease;}
.sidebar-foot .sb-auto.on{color:#38c9b0;}
.sidebar-foot .sb-auto:hover{color:#fff;}
/* ===== 登录页 V2：左品牌 42% / 右卡片居中 ===== */
.login-shell{min-height:100vh;}
.login-page.login-v2{
  display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr);
  min-height:100vh;background:#f2f5f9;
}
.login-v2 .login-brand{
  position:relative;overflow:hidden;padding:0;display:block;
  background:linear-gradient(165deg,#0d2a44 0%,#123c5c 52%,#0f455f 100%);
  color:#fff;
}
.login-v2 .lb-glow{position:absolute;border-radius:50%;pointer-events:none;}
.login-v2 .lb-glow.g1{width:520px;height:520px;right:-170px;bottom:-190px;
  background:radial-gradient(circle,rgba(47,149,214,.42),rgba(47,149,214,0) 68%);}
.login-v2 .lb-glow.g2{width:360px;height:360px;left:-140px;bottom:60px;
  background:radial-gradient(circle,rgba(22,163,148,.32),rgba(22,163,148,0) 70%);}
.login-v2 .lb-inner{position:relative;z-index:2;padding:56px 56px 0;max-width:640px;height:100%;display:flex;flex-direction:column;justify-content:center;}
.login-v2 .lb-top{display:flex;align-items:center;gap:12px;margin-bottom:34px;}
.login-v2 .lb-logo{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  font-size:18px;font-weight:800;color:#fff;
  background:linear-gradient(140deg,#2f95d6,#16a394);box-shadow:0 8px 18px rgba(16,120,150,.35);}
.login-v2 .lb-name{display:flex;flex-direction:column;}
.login-v2 .lb-name b{font-size:16px;letter-spacing:.5px;}
.login-v2 .lb-name span{font-size:12px;color:#9fc1d6;margin-top:3px;}
.login-v2 .login-badge{display:none;}
.login-v2 .login-title{font-size:40px;line-height:1.25;font-weight:800;letter-spacing:1px;margin-bottom:16px;}
.login-v2 .login-title span{display:block;}
.login-v2 .login-desc{color:#b7cfe2;font-size:14px;line-height:1.9;max-width:520px;}
.login-v2 .login-points{margin-top:30px;display:grid;gap:12px;}
.login-v2 .login-point{display:flex;gap:11px;align-items:flex-start;color:#d6e6f2;font-size:13.5px;}
.login-v2 .login-point i{flex:none;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;
  font-style:normal;font-size:12px;font-weight:700;color:#0d2a44;
  background:linear-gradient(140deg,#9fe0d6,#57b9ee);margin-top:1px;}
.login-v2 .lb-foot{position:absolute;left:56px;bottom:26px;font-size:12px;color:#7fa2bb;z-index:2;}

.login-v2 .login-panel{display:flex;align-items:center;justify-content:center;position:relative;padding:48px 40px;}
.login-v2 .login-card{
  width:100%;max-width:404px;background:#fff;border-radius:18px;padding:36px 34px 28px;
  box-shadow:0 18px 48px rgba(16,42,67,.10),0 2px 8px rgba(16,42,67,.05);
  border:1px solid #eef2f7;
}
.login-v2 .lc-head h2{margin:0 0 6px;font-size:26px;letter-spacing:.5px;color:#16283a;}
.login-v2 .lc-head p{margin:0 0 24px;color:#8494a5;font-size:13px;}
.login-v2 .login-err{display:flex;align-items:center;gap:7px;margin-bottom:16px;padding:9px 12px;
  border-radius:9px;background:#fff1f0;border:1px solid #ffd7d3;color:#c9362b;font-size:12.5px;}
.login-v2 .lf-label{font-size:12.5px;color:#5d7186;margin:0 2px 6px;display:flex;align-items:center;gap:8px;}
.login-v2 .lf-caps{font-style:normal;color:#c98000;font-size:11.5px;}
.login-v2 .login-form .el-form-item{margin-bottom:16px;}
.login-v2 .login-form .el-input__wrapper{height:48px;border-radius:10px;padding:0 14px;
  box-shadow:0 0 0 1px #dfe7f0 inset;transition:box-shadow .16s ease;}
.login-v2 .login-form .el-input__wrapper:hover{box-shadow:0 0 0 1px #c9d8e6 inset;}
.login-v2 .login-form .el-input__wrapper.is-focus{box-shadow:0 0 0 2px rgba(31,111,178,.35) inset;}
.login-v2 .login-btn{
  width:100%;height:48px;margin-top:6px;border:0;border-radius:10px;cursor:pointer;
  color:#fff;font-size:15.5px;letter-spacing:3px;font-weight:600;
  background:linear-gradient(96deg,#1f6fb2,#2f95d6 55%,#16a394);
  box-shadow:0 10px 22px rgba(31,111,178,.28);
  display:flex;align-items:center;justify-content:center;gap:8px;
  transition:transform .12s ease,box-shadow .16s ease,filter .16s ease;
}
.login-v2 .login-btn:hover{filter:brightness(1.04);box-shadow:0 12px 26px rgba(31,111,178,.34);}
.login-v2 .login-btn:active{transform:translateY(1px);}
.login-v2 .login-btn.loading{opacity:.86;cursor:default;letter-spacing:1px;}
.login-v2 .lb-spin{animation:lspin 1s linear infinite;font-size:15px;}
@keyframes lspin{to{transform:rotate(360deg);}}
.login-v2 .login-extra{display:flex;align-items:center;justify-content:space-between;margin-top:16px;font-size:12.5px;color:#7b8fa4;}
.login-v2 .lf-remember{display:flex;align-items:center;gap:6px;cursor:pointer;user-select:none;}
.login-v2 .lf-remember input{width:14px;height:14px;accent-color:#1f6fb2;}
.login-v2 .login-extra a{color:#1f6fb2;cursor:pointer;text-decoration:none;}
.login-v2 .login-extra a:hover{text-decoration:underline;}
.login-v2 .lc-foot{margin-top:22px;padding-top:14px;border-top:1px dashed #e8eef5;font-size:11.5px;color:#a1b0bf;text-align:center;}
.login-v2 .login-copy{position:absolute;bottom:22px;left:0;right:0;text-align:center;font-size:11.5px;color:#a1b0bf;}

@media (max-width:1500px){
  .login-v2 .lb-inner{padding:44px 40px 0;}
  .login-v2 .login-title{font-size:34px;}
  .login-v2 .lb-foot{left:40px;}
}
@media (max-width:1180px){
  .login-v2 .login-title{font-size:30px;}
  .login-v2 .lb-inner{padding:36px 32px 0;}
  .login-v2 .lb-foot{left:32px;}
}

/* 移动端：单列，紧凑卡片 + 顶部品牌 */
@media (max-width:900px){
  .login-page.login-v2{grid-template-columns:1fr;min-height:100dvh;
    background:linear-gradient(170deg,#0d2a44 0%,#123c5c 42%,#f2f5f9 42%,#f2f5f9 100%);}
  .login-v2 .login-brand{display:flex;align-items:center;justify-content:center;
    background:transparent;padding:26px 20px 18px;overflow:visible;}
  .login-v2 .lb-glow{display:none;}
  .login-v2 .lb-inner{padding:0;max-width:420px;width:100%;align-items:center;text-align:center;}
  .login-v2 .lb-top{margin-bottom:0;flex-direction:column;gap:10px;}
  .login-v2 .lb-logo{width:52px;height:52px;border-radius:14px;font-size:22px;}
  .login-v2 .lb-name{align-items:center;}
  .login-v2 .lb-name b{font-size:17px;color:#fff;}
  .login-v2 .lb-name span{color:#a8c7db;}
  .login-v2 .login-title,.login-v2 .login-desc,.login-v2 .login-points,.login-v2 .lb-foot{display:none;}
  .login-v2 .login-panel{padding:0 16px 24px;align-items:flex-start;}
  .login-v2 .login-card{max-width:440px;margin-top:18px;padding:24px 20px 20px;border-radius:16px;
    box-shadow:0 12px 32px rgba(16,42,67,.12);}
  .login-v2 .lc-head h2{font-size:20px;}
  .login-v2 .lc-head p{margin-bottom:18px;font-size:12.5px;}
  .login-v2 .login-form .el-input__wrapper{height:46px;}
  .login-v2 .login-form .el-input__inner{font-size:16px;}
  .login-v2 .login-btn{height:46px;font-size:15px;}
  .login-v2 .login-copy{position:static;margin-top:18px;text-align:center;}
}
/* 移动端登录页：面板纵向排列，卡片满宽 */
@media (max-width:900px){
  .login-v2 .login-panel{flex-direction:column;align-items:stretch;padding:0 16px 20px;}
  .login-v2 .login-card{width:100%;max-width:none;margin-top:14px;}
  .login-v2 .login-copy{position:static;margin-top:16px;}
  .login-v2 .lb-name span{max-width:300px;}
  .login-v2 .login-extra{flex-wrap:wrap;gap:6px;}
}
/* ===== 登录页 V3：深色星空底 + 蓝卡（左品牌主视觉 / 右表单） ===== */
.login-page.login-v3{
  min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 24px;
  background-color:#070b24;
  background-image:
    radial-gradient(1.3px 1.3px at 40px 60px, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(1.1px 1.1px at 120px 30px, rgba(255,255,255,.45), transparent 70%),
    radial-gradient(1.6px 1.6px at 90px 120px, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(1.2px 1.2px at 180px 90px, rgba(255,255,255,.35), transparent 70%),
    radial-gradient(900px 640px at 82% 4%, rgba(112,84,205,.34), transparent 70%),
    radial-gradient(820px 560px at 6% 96%, rgba(28,96,205,.30), transparent 72%),
    linear-gradient(155deg,#0a1030 0%,#06091f 46%,#0a0f2b 100%);
  background-size:220px 190px,260px 230px,300px 270px,340px 300px,auto,auto,auto;
  background-repeat:repeat,repeat,repeat,repeat,no-repeat,no-repeat,no-repeat;
}
.lg-stage{width:960px;max-width:min(960px,96vw);}
.lg-card{display:flex;background:#fff;border-radius:12px;overflow:hidden;
  box-shadow:0 24px 70px rgba(0,0,0,.55);min-height:500px;}
.lg-left{width:520px;flex:none;position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(160deg,#3b8ff5 0%,#2a74e8 45%,#1656c9 100%);}
.lg-left-txt{position:relative;z-index:3;padding:46px 46px 0;}
.lg-lines span{display:block;font-size:31px;font-weight:800;letter-spacing:2px;line-height:1.36;
  text-shadow:0 2px 10px rgba(10,45,110,.28);}
.lg-band{margin:20px 0 12px;display:inline-block;max-width:100%;padding:7px 14px;border-radius:3px;
  background:rgba(255,255,255,.16);font-size:13px;letter-spacing:.5px;color:#eaf4ff;}
.lg-company{font-size:12.5px;color:#d5e8ff;letter-spacing:.5px;}
.lg-art{position:absolute;left:0;right:0;bottom:0;height:330px;
  background:url(../img/login-art.jpg) center bottom/cover no-repeat;}
.lg-art::before{content:"";position:absolute;inset:0 0 auto 0;height:120px;
  background:linear-gradient(180deg,rgba(42,116,232,.95),rgba(42,116,232,0));}

.lg-right{flex:1;min-width:0;padding:38px 40px 0;display:flex;flex-direction:column;}
.lg-brand{text-align:center;margin-bottom:24px;}
.lg-brand h2{margin:0;font-size:23px;font-weight:700;letter-spacing:1.5px;color:#16233c;}
.lg-brand p{margin:8px 0 0;font-size:12.5px;color:#9aa6bd;letter-spacing:.5px;}

.lg-err{margin-bottom:12px;padding:8px 10px;border-radius:6px;background:#fff2f0;
  border:1px solid #ffd8d2;color:#d4380d;font-size:12.5px;display:flex;align-items:center;gap:6px;}
.lg-field{margin-bottom:14px;}
.lg-field .el-input__wrapper{height:46px;border-radius:6px;background:#eff3fb;box-shadow:none;padding:0 12px;}
.lg-field .el-input__wrapper:hover{background:#e9eff9;}
.lg-field .el-input__wrapper.is-focus{box-shadow:0 0 0 1px #2a74e8 inset;background:#fff;}
.lg-field .el-input__inner{font-size:14.5px;}
.lg-code{display:flex;gap:10px;align-items:stretch;}
.lg-code .el-input{flex:1;min-width:0;}
.lg-captcha{width:118px;flex:none;height:46px;border-radius:6px;object-fit:contain;cursor:pointer;padding:0;
  background:#eff3fb;display:flex;align-items:center;justify-content:center;font-size:12.5px;color:#2a74e8;}
.lg-tip{font-size:12px;color:#9aa6bd;margin:2px 0 10px;}
.lg-remember{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#7b86a0;
  cursor:pointer;user-select:none;margin-bottom:16px;}
.lg-remember input{width:14px;height:14px;accent-color:#2a74e8;}
.lg-btn{height:46px;border:0;border-radius:6px;cursor:pointer;color:#fff;font-size:16px;letter-spacing:6px;
  font-weight:500;background:linear-gradient(90deg,#3aa6f5,#1c7ee6);
  box-shadow:0 8px 22px rgba(28,126,230,.28);
  display:flex;align-items:center;justify-content:center;gap:8px;
  transition:filter .15s ease,box-shadow .15s ease,transform .1s ease;}
.lg-btn:hover{filter:brightness(1.05);box-shadow:0 10px 26px rgba(28,126,230,.34);}
.lg-btn:active{transform:translateY(1px);}
.lg-btn.loading{opacity:.85;cursor:default;letter-spacing:2px;}
.lg-spin{animation:lgspin 1s linear infinite;}
@keyframes lgspin{to{transform:rotate(360deg);}}
.lg-links{text-align:center;margin-top:auto;padding:26px 0 30px;font-size:13px;}
.lg-links a{color:#2a74e8;cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #9fc4f5;}

.lg-contact{text-align:center;margin-top:18px;font-size:13px;color:#8d99b6;}
.lg-contact a{color:#cbd6ea;text-decoration:none;margin:0 8px;}
.lg-contact a:hover{color:#fff;}
.lg-contact i{color:#3c4570;font-style:normal;}
.lg-copy{text-align:center;margin-top:8px;font-size:12.5px;color:#69718f;}

@media (max-width:1180px){
  .lg-card{min-height:470px;}
  .lg-left{width:440px;}
  .lg-lines span{font-size:27px;}
  .lg-left-txt{padding:38px 34px 0;}
  .lg-art{height:290px;}
}

/* 手机端：蓝头 + 白卡 下沉叠压 */
@media (max-width:900px){
  .login-page.login-v3{display:block;padding:0;background:#f6f7f9;min-height:100dvh;}
  .lg-stage{width:100%;max-width:none;}
  .lg-card{display:block;background:transparent;border-radius:0;box-shadow:none;min-height:0;overflow:visible;}
  .lg-left{width:auto;min-height:186px;padding:0;display:flex;align-items:center;justify-content:center;
    background:linear-gradient(180deg,#2f8bf3 0%,#1677ff 100%);}
  .lg-left-txt{padding:34px 22px 0;text-align:center;}
  .lg-lines span{font-size:23px;letter-spacing:1px;line-height:1.3;}
  .lg-band{margin:10px 0 0;background:transparent;padding:0;font-size:12.5px;color:#dbeaff;}
  .lg-company,.lg-art{display:none;}
  .lg-right{background:#fff;border-radius:16px 16px 0 0;padding:24px 18px 26px;margin-top:-26px;
    box-shadow:0 -2px 12px rgba(20,60,140,.07);}
  .lg-brand{text-align:left;margin-bottom:18px;}
  .lg-brand h2{font-size:19px;letter-spacing:1px;}
  .lg-brand p{font-size:12px;margin-top:6px;}
  .lg-field .el-input__wrapper{height:46px;background:#f4f6fa;border-radius:8px;}
  .lg-field .el-input__inner{font-size:16px;}
  .lg-field.lg-code{flex-wrap:nowrap;}
  .lg-captcha{width:106px;height:46px;border-radius:8px;}
  .lg-tip{font-size:12px;margin-bottom:8px;}
  .lg-btn{height:48px;border-radius:10px;letter-spacing:8px;font-size:16.5px;}
  .lg-links{padding:20px 0 6px;}
  .lg-contact{display:grid;gap:10px;padding:2px 0 0;}
  .lg-contact a{display:flex;align-items:center;justify-content:space-between;margin:0;
    background:#fff;border-radius:10px;padding:0 16px;height:44px;font-size:13.5px;color:#2b3648;
    box-shadow:0 1px 4px rgba(20,50,110,.06);}
  .lg-contact a:first-child::after{content:"点击加好友";font-size:12px;color:#9aa6bd;}
  .lg-contact a:last-child::after{content:"点击拨号";font-size:12px;color:#9aa6bd;}
  .lg-contact i{display:none;}
  .lg-copy{margin-top:14px;font-size:12px;color:#a4adc0;}
}
.lg-lab{display:none;}
@media (max-width:900px){
  .lg-lab{display:block;font-size:12.5px;color:#6b7789;margin:0 2px 6px;}
  .lg-lab + .lg-field{margin-bottom:14px;}
}
/* 手机端 V3 修正：白卡内缩圆角、隐藏重复品牌 */
@media (max-width:900px){
  .login-page.login-v3{padding:0;background:#f6f7f9;}
  .lg-stage{padding:0 14px;}
  .lg-left{margin:0 -14px;min-height:178px;}
  .lg-brand{display:none;}
  .lg-right{margin:-24px 0 0;border-radius:16px;padding:22px 16px 22px;
    box-shadow:0 8px 26px rgba(18,52,120,.12);}
  .lg-lab{margin-top:2px;}
  .lg-contact{margin-top:14px;padding:0;}
  .lg-copy{margin:12px 0 22px;padding:0 10px;line-height:1.7;}
}
@media (max-width:900px){
  .lg-right{position:relative;z-index:2;}
}
/* 指标口径说明（采购分析） */
.notes-list{display:flex;flex-direction:column;gap:8px;}
.note-row{display:flex;gap:12px;font-size:12.5px;line-height:1.6;padding:6px 10px;border-radius:6px;background:#f6f9fc;}
.note-k{flex:0 0 132px;color:#33506d;font-weight:600;}
.note-v{flex:1;color:#5a7188;}
@media (max-width:900px){
  .note-row{flex-direction:column;gap:2px;}
  .note-k{flex:none;}
}
