/* ============================================================
   采智工作台 · 设计系统 v3  (登录后全站深度美化)
   —— 设计变量 / 玻璃拟态 / 动效 ——
   ============================================================ */
:root {
  --bg:        #eef3fb;
  --card:      #ffffff;
  --card-soft: rgba(255,255,255,.75);
  --line:      #e4eaf5;
  --ink:       #1e3350;
  --ink-2:     #46608a;
  --muted:     #8aa0bf;
  --brand:     #1d4ed8;
  --brand-2:   #3057d9;
  --brand-soft:#eaf1ff;
  --ok:        #15803d;
  --ok-soft:   #dcfce7;
  --warn:      #b45309;
  --warn-soft: #fef3c7;
  --danger:    #b91c1c;
  --danger-soft:#fee2e2;
  --violet:    #7c3aed;
  --teal:      #0f766e;
  --radius:    14px;
  --shadow:    0 10px 30px rgba(25,55,140,.08);
  --shadow-hi: 0 16px 44px rgba(25,55,140,.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 14px/1.65 "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
/* 光晕放到 body::before 独立图层：fixed 定位随视口铺满全屏，
   规避长页面 background-attachment:fixed 只绘制首屏、下半截纯色的渲染缺陷 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 85% -10%, #dbe7ff 0%, transparent 55%),
    radial-gradient(700px 380px at -10% 30%, #dff3ec 0%, transparent 50%),
    radial-gradient(600px 300px at 70% 110%, #e9e0fb 0%, transparent 55%);
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; filter: brightness(1.08); }
::selection { background: #c8d9ff; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #c3d2ea; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }
::-webkit-scrollbar-track { background: transparent; }

/* ======================= 顶栏 ======================= */
.topbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 16px;
  padding: 0 22px; height: 58px; color: #fff;
  background: linear-gradient(100deg, rgba(21,52,138,.96), rgba(37,87,217,.96) 55%, rgba(59,109,240,.96));
  box-shadow: 0 6px 24px rgba(21,52,138,.28), inset 0 -1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.topbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px;
  letter-spacing: .4px; text-shadow: 0 1px 6px rgba(0,0,0,.18); }
.topbar .brand img { height: 32px; background: #fff; border-radius: 8px; padding: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.topbar .spacer { flex: 1; }
.topbar .user-area { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.topbar .user-area > a, .topbar .user-area > .geo-clock {
  padding: 5px 11px; border-radius: 20px; color: #fff; transition: background .15s; white-space: nowrap; }
.topbar .user-area > a:hover { background: rgba(255,255,255,.16); }
.topbar .geo-clock { display: inline-flex; align-items: center; gap: 8px; opacity: .95; }
.topbar .geo { background: rgba(255,255,255,.18); padding: 3px 11px; border-radius: 20px; font-size: 12.5px; }
.topbar .ver { background: rgba(255,255,255,.16); padding: 2px 10px; border-radius: 20px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .3px; }

/* ======================= 布局 ======================= */
.wrap { display: flex; min-height: calc(100vh - 58px); align-items: flex-start; }
.sidebar {
  width: 196px; flex-shrink: 0; position: sticky; top: 14px;
  margin: 14px 0 14px 14px; padding: 10px 8px 16px;
  background: var(--card-soft); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.sidebar::before {
  content: "工作台导航"; display: block; margin: 6px 12px 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--muted);
}
.sidebar a {
  display: flex; align-items: center; gap: 9px; margin: 3px 6px;
  padding: 8.5px 12px; border-radius: 10px; color: var(--ink-2); font-size: 13.5px;
  transition: background .15s, color .15s, transform .12s;
}
.sidebar a:hover { background: var(--brand-soft); color: var(--brand); transform: translateX(2px); }
.sidebar a.on {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(29,78,216,.30);
}
.sidebar a.on::after { content: "›"; margin-left: auto; opacity: .8; }
.main { flex: 1; padding: 18px 24px 8px; min-width: 0; animation: fadeIn .38s ease backwards; }
.page-title { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 18px; flex-wrap: wrap; }
.page-title h2 { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: .3px; }
.footer { text-align: center; color: var(--muted); font-size: 12px; padding: 18px 0 26px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* 注意：.main 的入场动画不能带 transform —— 带 transform 的动画容器
   会成为内部 position:fixed 弹窗遮罩的定位基准，导致遮罩只盖住内容区（上下分层） */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ======================= KPI 卡片 ======================= */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 13px; margin-bottom: 20px; }
.card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 0 13px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 15px 16px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hi); }
.card::before {
  content: "📊"; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 21px;
  background: linear-gradient(160deg, var(--brand-soft), #f6f9ff); box-shadow: inset 0 0 0 1px #dbe6fb;
}
.card.c-orange::before { content: "⏳"; background: linear-gradient(160deg,#ffeddc,#fff7ef); box-shadow: inset 0 0 0 1px #fcdfc4; }
.card.c-green::before  { content: "✅"; background: linear-gradient(160deg,#dcf5e6,#f2fbf5); box-shadow: inset 0 0 0 1px #bfe9cf; }
.card.c-red::before    { content: "🚨"; background: linear-gradient(160deg,#fde3e3,#fff4f4); box-shadow: inset 0 0 0 1px #f6c4c4; }
.card.c-purple::before { content: "🏭"; background: linear-gradient(160deg,#efe4fd,#f8f2ff); box-shadow: inset 0 0 0 1px #dcc8f7; }
.card.c-teal::before   { content: "💰"; background: linear-gradient(160deg,#d5f3f0,#effcfa); box-shadow: inset 0 0 0 1px #afe6e0; }
.card b { display: block; font-size: 25px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.card span { color: var(--muted); font-size: 12.5px; }
.card.c-blue b   { color: var(--brand); }  .card.c-green b { color: var(--ok); }
.card.c-orange b { color: #c2530a; }       .card.c-red b   { color: var(--danger); }
.card.c-purple b { color: var(--violet); } .card.c-teal b  { color: var(--teal); }
.card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px;
  border-radius: 50%; background: radial-gradient(circle, rgba(29,78,216,.06), transparent 70%); z-index: 0; }
.card > div { min-width: 0; position: relative; z-index: 1; }

/* ======================= 面板 ======================= */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; margin-bottom: 18px; box-shadow: var(--shadow); }
.panel h3 { display: flex; align-items: center; gap: 8px; font-size: 15.5px; margin-bottom: 12px; color: var(--ink); }
.panel h3::before { content: ""; width: 4px; height: 16px; border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2)); }

/* ======================= 表格 ======================= */
table.grid { width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--card); border-radius: 16px; border: 1px solid var(--line);
  overflow: hidden; box-shadow: var(--shadow); }
.grid th, .grid thead td {
  background: #f4f7fd; color: var(--ink-2); font-size: 12px; font-weight: 700;
  letter-spacing: .6px; padding: 11px 10px; text-align: left; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.grid td { padding: 10px; border-bottom: 1px solid #eef2f8; font-size: 13.5px; }
.grid tbody tr:last-child td { border-bottom: 0; }
.grid tbody tr { transition: background .12s; }
.grid tbody tr:hover td { background: #f6f9ff; }
.grid .num { text-align: right; font-variant-numeric: tabular-nums; }
.grid .act a { font-size: 13px; margin-right: 8px; }
.grid .act .btn { margin-right: 8px; }
.grid del.muted, .muted { color: var(--muted); font-size: 12.5px; }
.grid td input, .grid td select { min-width: 100px; padding: 5px 8px !important; font-size: 13px; border-radius: 8px; }

/* ======================= 快速编辑控件 ======================= */
.qe input, .qe select { width: 118px; }

/* ======================= 交期颜色（5/7/10/15 天） ======================= */
.due-low, .due-mid, .due-high, .due-danger, .due-over {
  display: inline-block; border-radius: 20px; padding: 2px 11px 2px 9px;
  font-size: 12px; font-weight: 600; line-height: 1.7; white-space: nowrap; }
.due-low::before, .due-mid::before, .due-high::before, .due-danger::before, .due-over::before {
  content: "●"; margin-right: 5px; font-size: 9px; vertical-align: 1px; }
.due-low    { background: #e4f7e9; color: #14532d; outline: 1px solid #bfe9cf; }
.due-mid    { background: #fdf3d7; color: #713f12; outline: 1px solid #f2e2a1; }
.due-high   { background: #ffe8d6; color: #7c2d12; outline: 1px solid #fcd2ae; }
.due-danger { background: #ffdede; color: #7f1d1d; outline: 1px solid #fcc3c3; }
.due-over   { background: #3b0d0d; color: #ffb4b4; outline: 1px solid #5c1717; }

/* ======================= 状态徽标 ======================= */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px;
  border-radius: 20px; font-size: 12px; font-weight: 600; }
.tag::before { content: "●"; font-size: 8px; }
.tag.ok   { background: var(--ok-soft);   color: #166534; }
.tag.run  { background: #e0e7ff;          color: #3730a3; }
.tag.warn { background: var(--warn-soft); color: #92400e; }
.tag.gray { background: #e6ecf5;          color: #64748b; }
.tag.red  { background: var(--danger-soft); color: #991b1b; }

/* ======================= 表单控件 ======================= */
input[type=text], input[type=password], input[type=email], input[type=number], input[type=date],
input[type=file], select, textarea {
  padding: 8.5px 12px; border: 1.5px solid #d9e2f1; border-radius: 10px; font-size: 13.5px;
  width: 100%; background: #fff; color: var(--ink);
  transition: border .15s, box-shadow .15s, background .15s;
}
textarea { min-height: 74px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(29,78,216,.10);
}
label.lb { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin: 12px 0 5px; }

/* ======================= 按钮 ======================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  padding: 8.5px 19px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 6px 14px rgba(29,78,216,.25); transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 20px rgba(29,78,216,.32); }
.btn:active { transform: translateY(0); }
.btn.green { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 6px 14px rgba(21,128,61,.25); }
.btn.green:hover { box-shadow: 0 10px 20px rgba(21,128,61,.32); }
.btn.red { background: linear-gradient(135deg, #ef4444, #b91c1c); box-shadow: 0 6px 14px rgba(185,28,28,.22); }
.btn.red:hover { box-shadow: 0 10px 20px rgba(185,28,28,.30); }
.btn.gray { background: linear-gradient(135deg, #64748b, #475569); box-shadow: 0 6px 14px rgba(71,85,105,.22); }
.btn.ghost { background: #fff; color: var(--brand); border: 1.5px solid #bcccEa; box-shadow: none; }
.btn.ghost:hover { background: var(--brand-soft); box-shadow: none; }
.btn.sm { padding: 5px 13px; font-size: 12.5px; border-radius: 8px; }

/* ======================= 工具条 / 内联表单 ======================= */
.toolbar { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; flex-wrap: wrap;
  background: var(--card-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 12px; box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.toolbar input, .toolbar select { width: auto; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form > * { width: auto !important; }

/* ======================= 弹窗 ======================= */
.modal-mask { position: fixed; inset: 0; background: rgba(18,36,76,.42); backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center; z-index: 100;
  overflow: auto; padding: 44px 12px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 18px; width: 580px; max-width: 96vw; padding: 24px 28px;
  box-shadow: var(--shadow-hi); animation: pop .22s ease both; }
.modal h3 { margin-bottom: 12px; color: var(--ink); font-size: 17px; }
.modal h3::before { content: "✦"; color: var(--brand); margin-right: 7px; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: none; } }

/* ======================= 文件选择区（导入弹窗） ======================= */
.file-drop { position: relative; border: 2px dashed #c6d5ee; border-radius: 14px;
  background: #fafcff; padding: 20px 16px; text-align: center; cursor: pointer;
  transition: border .15s, background .15s, box-shadow .15s; }
.file-drop:hover { border-color: var(--brand); background: #f5f8ff; }
.file-drop.drag { border-color: var(--brand); background: #eaf1ff;
  box-shadow: 0 0 0 4px rgba(29,78,216,.10); }
.file-drop.ok  { border-style: solid; border-color: #bfe9cf; background: #f4fcf7; }
.file-drop.bad { border-style: solid; border-color: #f6c4c4; background: #fff7f7; }
.file-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; padding: 0; border: 0; background: none; }
.fd-idle { display: flex; align-items: center; justify-content: center; gap: 10px;
  pointer-events: none; }
.fd-ico { font-size: 26px; }
.fd-txt { color: var(--muted); font-size: 13px; }
.fd-txt b { color: var(--brand); font-weight: 700; }
.fd-picked { display: flex; align-items: center; justify-content: center; gap: 10px;
  pointer-events: none; font-size: 13.5px; color: #166534; }
.file-drop.bad .fd-picked { color: #991b1b; }
.fd-name { font-weight: 600; word-break: break-all; }
.fd-clear { pointer-events: auto; border: 1px solid #dbe4f1; background: #fff; color: #64748b;
  border-radius: 8px; width: 24px; height: 24px; cursor: pointer; font-size: 12px; line-height: 1; }
.fd-clear:hover { background: #fee2e2; border-color: #f6c4c4; color: #991b1b; }

/* ======================= Flash 提示 ======================= */
.flash { margin-bottom: 14px; }
.flash div { padding: 11px 15px; border-radius: 12px; margin-bottom: 9px; font-size: 13.5px;
  box-shadow: var(--shadow); animation: fadeUp .3s ease both; }
.flash .ok  { background: var(--ok-soft);  color: #166534; border-left: 4px solid var(--ok); }
.flash .err { background: var(--danger-soft); color: #991b1b; border-left: 4px solid var(--danger); }

/* ======================= 分页 ======================= */
.pager { display: flex; gap: 9px; justify-content: center; margin: 16px 0; }
.pager a { background: #fff; border: 1px solid #d7e0ee; border-radius: 10px; padding: 5px 15px;
  color: var(--ink-2); font-size: 13px; transition: all .15s; box-shadow: var(--shadow); }
.pager a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager span { color: var(--muted); padding: 5px 12px; font-size: 13px; }

/* ======================= Tab 胶囊 ======================= */
.tabs { display: inline-flex; gap: 5px; background: #eef2f9; border-radius: 22px; padding: 4px; }
.tabs a { padding: 5.5px 16px; border-radius: 18px; color: var(--ink-2); font-size: 13px;
  transition: all .15s; }
.tabs a.on { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  box-shadow: 0 4px 12px rgba(29,78,216,.28); }
.tabs a:not(.on):hover { background: #fff; }

/* 通用 */
.muted { color: var(--muted); font-size: 12.5px; }
.msg-badge { position: relative; }
.msg-badge .dot { position: absolute; top: -7px; left: 34px; background: #dc2626; color: #fff;
  border-radius: 10px; font-size: 10px; padding: 1px 6px; box-shadow: 0 2px 6px rgba(220,38,38,.4); }

/* ======================= 登录/注册/找回密码（分屏品牌页） ======================= */
.auth-body { background: #f6f8fd; }
.auth-shell { display: flex; min-height: 100vh; }
.auth-side { flex: 1.15; position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(158deg, #16255f 0%, #1d4ed8 58%, #3b6df0 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 7vh 6vw; }
.auth-side .blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.auth-side .b1 { width: 420px; height: 420px; right: -140px; top: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,.04)); }
.auth-side .b2 { width: 320px; height: 320px; left: -100px; bottom: -110px;
  background: radial-gradient(circle at 60% 60%, rgba(125,211,252,.28), rgba(125,211,252,.05)); }
.auth-side .b3 { width: 140px; height: 140px; right: 18%; bottom: 14%;
  background: rgba(255,255,255,.10); }
.auth-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800;
  letter-spacing: .5px; margin-bottom: 6vh; position: relative; z-index: 2; }
.auth-brand img { height: 34px; background: #fff; border-radius: 8px; padding: 3px; }
.auth-side h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.35; font-weight: 800;
  margin: 0 0 14px; position: relative; z-index: 2; }
.auth-side .auth-sub { color: rgba(255,255,255,.82); font-size: 14.5px; line-height: 1.8;
  max-width: 430px; position: relative; z-index: 2; }
.auth-feats { list-style: none; margin: 4.5vh 0 0; padding: 0; position: relative; z-index: 2; }
.auth-feats li { margin: 13px 0; font-size: 14px; color: rgba(255,255,255,.94);
  display: flex; gap: 10px; align-items: baseline; }
.auth-feats li::before { content: "✔"; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; }
.auth-meta { margin-top: 6vh; font-size: 12.5px; color: rgba(255,255,255,.65); position: relative; z-index: 2; }
.auth-form-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 5vh 5vw;
  background: radial-gradient(1000px 500px at 100% 0%, #eaf1ff 0%, transparent 60%),
              radial-gradient(800px 400px at 0% 100%, #e8f7f2 0%, transparent 55%); }
.auth-card { width: 430px; max-width: 94vw; background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px); border: 1px solid #e8eef8; border-radius: 18px;
  box-shadow: 0 18px 50px rgba(23,66,160,.10); padding: 34px 36px 26px; }
.auth-card h2 { font-size: 22px; color: var(--ink); margin: 0 0 4px; }
.auth-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.auth-card label.lb { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 14px 0 6px; }
.auth-card input, .auth-card select, .auth-card textarea { border-radius: 10px; padding: 11px 13px;
  border: 1.5px solid #d9e2f1; transition: border .15s, box-shadow .15s; }
.auth-card input:focus, .auth-card select:focus { border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(29,78,216,.10); }
.composer { display: flex; gap: 8px; align-items: center; }
.composer input { flex: 1; }
.composer .at { color: var(--muted); font-weight: 700; }
.composer select { width: 160px !important; }
.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 46px; width: 100%; }
.pwd-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 17px; line-height: 1; }
.pwd-toggle:hover { color: var(--brand); }
.pwd-hint { text-align: right; margin-top: 7px; }
.pwd-hint a { font-size: 12.5px; }
.captcha-row { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.captcha-row input { flex: 1; }
.cap-box { flex-shrink: 0; text-align: center; cursor: pointer; }
.cap-box svg, .cap-box img { display: block; border-radius: 10px; border: 1px solid #dbe4f1; }
.cap-box small { display: block; color: #9db1cc; font-size: 11px; margin-top: 3px; }
.btn-auth { width: 100%; justify-content: center; margin-top: 20px; padding: 13px;
  font-size: 15.5px; font-weight: 700; border-radius: 12px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  box-shadow: 0 8px 20px rgba(29,78,216,.35); transition: transform .12s, box-shadow .12s; }
.btn-auth:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(29,78,216,.42); }
.auth-links { text-align: center; margin-top: 16px; font-size: 13.5px; color: #6b83a8; }
.auth-links a { color: var(--brand); font-weight: 600; }
.auth-links .dotline { margin: 0 10px; color: #c7d4e8; }
.auth-foot { text-align: center; color: #9db1cc; font-size: 12px; margin-top: 20px; }
.alert-ok  { background: var(--ok-soft); color: #166534; padding: 11px 14px; border-radius: 10px;
  font-size: 13.5px; margin-bottom: 14px; line-height: 1.7; }
.alert-err { background: var(--danger-soft); color: #991b1b; padding: 11px 14px; border-radius: 10px;
  font-size: 13.5px; margin-bottom: 14px; line-height: 1.7; }

/* ======================= 响应式 ======================= */
@media (max-width: 880px) {
  .topbar .geo-clock { display: none; }
  .sidebar { display: none; }
  .auth-side { display: none; }
  .auth-form-wrap { padding: 4vh 4vw; }
  .auth-card { padding: 26px 22px 20px; }
}
@media print {
  .topbar, .sidebar, .toolbar, .pager, .footer, .tabs { display: none !important; }
  body { background: #fff; }
  body::before { display: none; }
  .grid { box-shadow: none; }
}
