/* ============================================================
   辰煜生产工作台 —— 外壳样式
   ============================================================ */
:root {
  --brand: #1F4E79;
  --brand-2: #2E6CA4;
  --brand-3: #4C9BE8;
  --bg: #F4F6FA;
  --panel: #FFFFFF;
  --line: #E2E8F0;
  --line-2: #EDF1F6;
  --ink: #16273A;
  --ink-2: #46586D;
  --ink-3: #8795A7;
  --ok: #2C9A6E;
  --warn: #C9891B;
  --danger: #C94040;
  --side-w: 232px;
  --top-h: 56px;
  --shadow-sm: 0 1px 2px rgba(22, 39, 58, .05);
  --shadow-md: 0 6px 22px rgba(22, 39, 58, .09);
  --radius: 12px;
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ---------------- 侧栏 ---------------- */
.hub-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side-w);
  background: linear-gradient(180deg, #112C47 0%, #0C2036 100%);
  display: flex;
  flex-direction: column;
  z-index: 40;
  box-shadow: 2px 0 12px rgba(9, 23, 38, .16);
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.side-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #4C9BE8, #2E6CA4);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 2px 8px rgba(76, 155, 232, .32);
}
.side-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.side-brand-text b { color: #EDF4FB; font-size: 15px; letter-spacing: 1.5px; }
.side-brand-text em {
  color: #7E9BB8;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1.2px;
  margin-top: 3px;
  white-space: nowrap;
}

.side-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px 10px;
}
.side-group {
  color: #617E9C;
  font-size: 11px;
  letter-spacing: 1.2px;
  padding: 14px 10px 7px;
}
.side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 11px;
  margin-bottom: 3px;
  border-radius: 8px;
  color: #B7C9DA;
  font-size: 13.5px;
  position: relative;
  transition: background .15s, color .15s;
}
.side-item .ico { flex: none; opacity: .82; }
.side-item:hover { background: rgba(255, 255, 255, .06); color: #E4EEF8; }
.side-item.active {
  background: rgba(46, 108, 164, .34);
  color: #FFFFFF;
}
.side-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #58A6F0;
}
.side-item.active .ico { opacity: 1; }

.side-foot {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 12px 12px 14px;
}
.side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(76, 155, 232, .22);
  border: 1px solid rgba(76, 155, 232, .4);
  color: #CFE4F7;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex: none;
}
.su-info { display: flex; flex-direction: column; min-width: 0; }
.su-info b {
  color: #E7F0F9;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.su-info em {
  font-style: normal;
  font-size: 11px;
  color: #7F9AB4;
  margin-top: 2px;
}
.side-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  margin-top: 6px;
  border-radius: 7px;
  color: #8FA9C2;
  font-size: 12px;
  background: rgba(255, 255, 255, .04);
}
.side-logout:hover { color: #E7F0F9; background: rgba(255, 255, 255, .09); }

.side-mask { display: none; }

/* ---------------- 主区 ---------------- */
.hub-main {
  margin-left: var(--side-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hub-topbar {
  height: var(--top-h);
  flex: none;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.hub-menu-btn {
  display: none;
  width: 34px;
  height: 30px;
  border: 0;
  background: transparent;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.hub-menu-btn span {
  display: block;
  height: 2px;
  background: #6B7C8F;
  border-radius: 2px;
}
.hub-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 600;
  min-width: 0;
}
.crumb-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.crumb-now { color: var(--ink); }
.crumb-sep { color: #C3CDD9; }
.crumb-page { color: var(--ink-3); font-weight: 500; }

/* 顶栏常驻标签：当前业务模块内的页面切换 */
.hub-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: none;
}
.hub-tabs::-webkit-scrollbar { height: 0; }
.hub-tab {
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: #5A6B7C;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.hub-tab:hover { background: #F1F5F9; color: #263445; }
.hub-tab.active {
  background: var(--mod-tint, #EAF2FA);
  color: var(--mod-color, #1F6FB2);
  font-weight: 600;
}
.hub-top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hub-weather {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #43566B;
  white-space: nowrap;
}
.hub-weather .w-city { color: #8A99A8; }
.hub-weather .w-text { font-weight: 600; }
.hub-clock {
  font-size: 12.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  letter-spacing: .3px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.hub-content { padding: 22px 24px 32px; flex: 1; }

.muted { color: var(--ink-3); }
.mono { font-variant-numeric: tabular-nums; }

/* ---------------- 首页 ---------------- */
.home-hero {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(112deg, #1B4670 0%, #27639B 62%, #2E7CB8 100%);
  color: #fff;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(27, 70, 112, .22);
}
.home-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -70px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0) 68%);
}
.hero-hello { font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.hero-sub { margin-top: 9px; font-size: 13px; color: rgba(255, 255, 255, .76); letter-spacing: .4px; }
.hero-actions { margin-top: 18px; display: flex; gap: 9px; flex-wrap: wrap; }
.hero-btn {
  height: 33px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  color: #F2F7FC;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  transition: background .15s, transform .15s;
}
.hero-btn:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.hero-btn.primary { background: #FFFFFF; color: #1B4670; border-color: #FFFFFF; font-weight: 600; }
.hero-btn.primary:hover { background: #EAF3FC; }
.hero-day { text-align: right; z-index: 1; flex: none; }
.hero-day-num { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: 1px; }
.hero-day-meta { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .7); letter-spacing: 1.5px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-3);
  opacity: .85;
}
.stat-card:hover { border-color: #CBD9E8; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card.off::before { background: #D5DDE6; }
.st-label { font-size: 12.5px; color: var(--ink-3); letter-spacing: .5px; }
.st-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.st-value em { font-style: normal; font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 5px; }
.st-hint { font-size: 12px; color: var(--ink-3); }
.stat-card.skeleton .st-value { color: #C3CDD9; }

.notice-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  background: #FFFBF2;
  border: 1px solid #F2E3C3;
  border-radius: 10px;
  font-size: 13px;
  color: #7A5B1B;
}
.notice-ico { color: #C9891B; display: flex; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 12px;
}
.section-head h2 { font-size: 16px; margin: 0; letter-spacing: .6px; }
.section-hint { font-size: 12px; color: var(--ink-3); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.module-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  min-height: 196px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--mc, var(--brand-2));
}
.mc-top { display: flex; align-items: center; justify-content: space-between; }
.mc-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--mt, #EEF3F9);
  color: var(--mc, var(--brand-2));
  display: grid;
  place-items: center;
  transition: background .18s, color .18s;
}
.module-card:hover .mc-icon { background: var(--mc, var(--brand-2)); color: #fff; }
.mc-badge { font-size: 11px; color: var(--ink-3); background: #F4F7FA; border-radius: 20px; padding: 3px 9px; }
.module-card h3 { font-size: 16.5px; margin: 15px 0 7px; letter-spacing: .5px; }
.module-card p { margin: 0; font-size: 12.8px; line-height: 1.65; color: var(--ink-2); flex: 1; }
.mc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 11px; }
.mc-tag { font-size: 11px; color: var(--mc, var(--brand-2)); background: var(--mt, #EEF3F9); padding: 3px 8px; border-radius: 5px; }
.mc-foot {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
}
.mc-foot .ico { color: var(--mc, var(--brand-2)); transition: transform .18s; }
.module-card:hover .mc-foot .ico { transform: translateX(3px); }
.module-card.ghost {
  border-style: dashed;
  background: #FAFBFD;
  --mc: #7C8DA2;
  --mt: #F1F4F8;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.quick-item {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12.8px;
  color: var(--ink-2);
  transition: border-color .15s, background .15s, color .15s;
}
.quick-item:hover { border-color: #C3D3E5; background: #FBFCFF; color: var(--ink); }
.qi-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }

/* ---------------- 模块外壳 ---------------- */
.hub-content.shell-content {
  padding: 0;
  height: calc(100vh - var(--top-h));
  display: flex;
  flex-direction: column;
}
/* 顶栏右侧动作按钮（模块页专用） */
.top-actions { display: flex; align-items: center; gap: 7px; }
.top-action {
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #FBFCFE;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.top-action:hover { border-color: #C3D3E5; color: var(--ink); background: #fff; }
.top-action svg { flex: none; }
.module-frame {
  flex: 1;
  width: 100%;
  border: 0;
  display: block;
  background: #F6F8FB;
}

/* ---------------- 管理页 ---------------- */
.hub-content.admin-content { padding: 20px 24px 30px; }
.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-head h2 { margin: 0; font-size: 18px; letter-spacing: .5px; }
.admin-head p { margin: 5px 0 0; font-size: 12.5px; color: var(--ink-3); }
.admin-tabs { display: flex; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 4px; border-radius: 9px; }
.atab { padding: 7px 14px; border-radius: 6px; font-size: 12.5px; color: var(--ink-3); }
.atab:hover { color: var(--ink-2); background: #F6F8FB; }
.atab.active { background: var(--brand); color: #fff; font-weight: 600; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
  flex-wrap: wrap;
}
.panel-title { font-size: 14px; font-weight: 600; letter-spacing: .4px; }
.panel-body { padding: 16px 18px; }
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 13px 18px;
  border-top: 1px solid var(--line-2);
  background: #FCFDFE;
}

.btn-primary {
  height: 33px;
  padding: 0 15px;
  border-radius: 7px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .15s;
}
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn-primary.sm { height: 28px; padding: 0 11px; font-size: 12px; border-radius: 6px; }
.btn-ghost {
  height: 33px;
  padding: 0 15px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
}
.btn-ghost:hover { border-color: #C3D3E5; color: var(--ink); }
.link-btn { border: 0; background: none; color: var(--brand-2); font-size: 12.5px; padding: 0 6px; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--danger); }

.table-wrap { overflow: auto; max-height: calc(100vh - 300px); }
.data-table { width: 100%; border-collapse: collapse; font-size: 12.8px; }
.data-table th {
  position: sticky;
  top: 0;
  background: #F8FAFC;
  color: var(--ink-2);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  z-index: 2;
}
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: middle; }
.data-table tr:hover td { background: #FBFCFE; }
.data-table .empty { text-align: center; color: var(--ink-3); padding: 28px; }
.ta-r { text-align: right; }
.w-90 { width: 90px; }
.w-120 { width: 120px; }
.w-220 { width: 220px; }
.ellipsis { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chip { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 20px; background: #F1F4F8; color: var(--ink-2); }
.chip-blue { background: #EAF1FA; color: #245A8D; }
.chip-green { background: #E8F5EE; color: #1F7A55; }
.chip-teal { background: #E7F4F1; color: #1F7A6A; }
.chip-gray { background: #F1F3F6; color: #8795A7; }
.chip-red { background: #FBEBEB; color: #B33A3A; }

.mini-input {
  width: 64px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 8px;
  font-size: 12.5px;
  color: var(--ink);
  background: #fff;
}
.mini-input.wide { width: 100%; }
.mini-input:focus { outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 3px rgba(76, 155, 232, .12); }

.switch { display: inline-flex; position: relative; width: 38px; height: 21px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span {
  position: absolute;
  inset: 0;
  background: #D7DEE7;
  border-radius: 20px;
  transition: background .18s;
  cursor: pointer;
}
.switch span::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform .18s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}
.switch input:checked + span { background: var(--brand-2); }
.switch input:checked + span::after { transform: translateX(17px); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.fld { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--ink-2); }
.fld span { color: var(--ink-3); font-size: 12px; }
.fld input, .fld select {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
}
.fld input:focus, .fld select:focus { outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 3px rgba(76, 155, 232, .12); }
.fld.chk { flex-direction: row; align-items: center; gap: 8px; }
.fld.chk input { width: 15px; height: 15px; accent-color: var(--brand-2); }
.fld.chk span { color: var(--ink-2); }

.badge { font-size: 11.5px; padding: 3px 10px; border-radius: 20px; background: #F1F4F8; color: var(--ink-3); }
.badge.ok { background: #E8F5EE; color: #1F7A55; }
.badge.warn { background: #FDF3E3; color: #9A6A14; }

.hint-box { border-top: 1px dashed var(--line-2); font-size: 12.3px; color: var(--ink-2); line-height: 1.9; }
.hint-box p { margin: 0; }
.hint-box b { color: var(--ink); }

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 27, 44, .42);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  width: 440px;
  max-width: 100%;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 20px 50px rgba(10, 25, 42, .26);
  overflow: hidden;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-2);
}
.modal-head h3 { margin: 0; font-size: 14.5px; }
.modal-head button { border: 0; background: none; font-size: 20px; color: var(--ink-3); line-height: 1; }
.modal-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 13px 18px;
  border-top: 1px solid var(--line-2);
  background: #FCFDFE;
}
.modal-msg { font-size: 12px; color: var(--ink-3); min-height: 16px; }
.modal-msg.ok { color: var(--ok); }
.modal-msg.err { color: var(--danger); }

.pick-chip {
  display: inline-flex;
  align-items: center;
  max-width: 216px;
  padding: 0 10px;
  height: 30px;
  border: 1px solid #d8dee8;
  background: #fff;
  border-radius: 6px;
  color: #2b3a55;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pick-chip:hover { border-color: #2f6fed; color: #2f6fed; background: #f4f8ff; }
.pick-chip.empty { color: #98a2b3; }

/* ---------------- 登录页 ---------------- */
.login-body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 15% 12%, rgba(58, 120, 186, .34), rgba(58, 120, 186, 0) 70%),
    radial-gradient(900px 500px at 88% 88%, rgba(30, 90, 140, .3), rgba(30, 90, 140, 0) 70%),
    linear-gradient(135deg, #0A1F33 0%, #102E4C 55%, #0C2338 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.login-wrap {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(4, 16, 28, .45);
}
.login-brand {
  padding: 48px 44px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, #173F65 0%, #1F5B8C 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.login-brand::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
}
.lb-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .24);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}
.login-brand h1 { font-size: 26px; margin: 26px 0 10px; letter-spacing: 1.5px; font-weight: 700; }
.lb-sub { font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .72); margin: 0; letter-spacing: .5px; }
.lb-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.lb-chips span {
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .17);
  color: rgba(255, 255, 255, .85);
}
.lb-foot { margin-top: auto; padding-top: 30px; font-size: 11.5px; color: rgba(255, 255, 255, .55); line-height: 1.8; }
.lb-ver { color: rgba(255, 255, 255, .38); }

.login-panel { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.lp-head h2 { margin: 0; font-size: 20px; letter-spacing: .6px; }
.lp-head p { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.lp-error {
  margin-top: 18px;
  padding: 10px 13px;
  border-radius: 8px;
  background: #FDEDED;
  border: 1px solid #F5D3D3;
  color: #B33A3A;
  font-size: 12.5px;
}
.lp-warn {
  margin-top: 14px;
  padding: 10px 13px;
  border-radius: 8px;
  background: #FFF8EC;
  border: 1px solid #F1E1C0;
  color: #8C6519;
  font-size: 12.3px;
  line-height: 1.6;
}
.lp-form { margin-top: 22px; display: flex; flex-direction: column; gap: 15px; }
.lp-field { display: flex; flex-direction: column; gap: 7px; }
.lp-field span { font-size: 12px; color: var(--ink-3); letter-spacing: .4px; }
.lp-field input {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 13px;
  font-size: 14px;
  color: var(--ink);
  background: #FBFCFE;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.lp-field input:focus {
  outline: none;
  border-color: var(--brand-3);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(76, 155, 232, .14);
}
.lp-row { display: flex; align-items: center; justify-content: space-between; }
.lp-check { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.lp-check input { width: 15px; height: 15px; accent-color: var(--brand-2); }
.lp-tip { font-size: 11.5px; color: var(--ink-3); }
.lp-submit {
  height: 44px;
  border: 0;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 4px;
  transition: background .16s, transform .16s;
}
.lp-submit:hover { background: var(--brand-2); transform: translateY(-1px); }
.lp-divider {
  position: relative;
  text-align: center;
  margin: 22px 0 14px;
  color: var(--ink-3);
  font-size: 11.5px;
}
.lp-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line-2);
}
.lp-divider span { position: relative; background: #fff; padding: 0 10px; }
.lp-wecom {
  height: 42px;
  border: 1px solid #CBE3D9;
  border-radius: 9px;
  background: #F0F9F5;
  color: #1F7A55;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.lp-wecom:hover { background: #E5F5EE; }
.lp-note { margin: 12px 0 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.7; }
.lp-note.warn { color: #9A6A14; }

/* ---------------- 错误页 ---------------- */
.error-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A1F33, #102E4C);
}
.err-box { text-align: center; color: #fff; padding: 30px; }
.err-code { font-size: 72px; font-weight: 700; letter-spacing: 2px; opacity: .85; }
.err-msg { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.err-actions { margin-top: 26px; display: flex; gap: 10px; justify-content: center; }
.err-btn {
  height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}
.err-btn.primary { background: #fff; color: #14405F; border-color: #fff; font-weight: 600; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
  .card-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --top-h: 52px; }
  .hub-tabs { display: none; }
  .hub-sidebar {
    transform: translateX(-100%);
    transition: transform .22s ease;
    width: 250px;
  }
  body.side-open .hub-sidebar { transform: translateX(0); }
  .side-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 24, 40, .45);
    z-index: 35;
  }
  body.side-open .side-mask { display: block; }
  .hub-main { margin-left: 0; }
  .hub-menu-btn { display: flex; }
  .hub-topbar { padding: 0 14px; }
  .hub-content { padding: 14px 14px 26px; }
  .home-hero { padding: 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-hello { font-size: 20px; }
  .hero-day { display: none; }
  .stats-row { grid-template-columns: 1fr; gap: 10px; }
  .quick-grid { grid-template-columns: 1fr; }
  .module-card { min-height: 0; padding: 16px 18px; }
  .top-action span { display: none; }
  .top-action { padding: 0 8px; }
  .hub-weather { display: none; }
  .login-wrap { grid-template-columns: 1fr; max-width: 440px; }
  .login-brand { padding: 30px 28px; }
  .login-brand h1 { font-size: 21px; margin-top: 18px; }
  .lb-foot { display: none; }
  .login-panel { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .hub-content.shell-content { height: calc(100vh - var(--top-h)); }
  .admin-tabs { width: 100%; overflow-x: auto; }
}
