/* ============================================================
 * 黎民康水设备维护保养管理系统（LMK Water Equipment Maintenance Management System）
 * 版权所有 (C) 2026 陕西黎民康水处理设备有限公司  保留所有权利。
 * Copyright (C) 2026 Shaanxi Liminkang Water Treatment Equipment Co., Ltd.
 * All Rights Reserved.
 *
 * 本软件为原创作品，受《中华人民共和国著作权法》及国际著作权公约保护。
 * 未经著作权人书面许可，任何单位或个人不得复制、修改、反编译、二次分发、
 * 或将其用于商业用途。违者将依法追究法律责任。
 *
 * 授权联系：13772496889    首次发布：2026-09-18
 * ============================================================ */
/*LMKWM:{"owner":"LMK","company":"Shaanxi Liminkang Water Treatment Equipment Co., Ltd.","contact":"13772496889","release":"2026-09-18","build":"v1.0.0","file":"assets/style.css","key":"2E53F0A636C810A363D3D78B"}*/
/*ZW:​‌‌​‌​​‌​‌‌‌​​‌‌‌​‌‌​​​​‌‌‌‌‌​‌‌​​‌‌‌‌‌​​‌‌‌​​‌​‌​​‌‌‌‌‌‌​‌​​‌​​*/


























/* 设备维保管理 —— 全局样式（浅色主题） */
:root {
  --bg: #f4f6f9;
  --panel: #ffffff;
  --line: #e3e8ef;
  --line-strong: #cfd8e3;
  --text: #1f2937;
  --text-dim: #6b7280;
  --text-faint: #9aa4b2;
  --brand: #1d6fd6;
  --brand-dark: #155cb3;
  --brand-soft: #e8f1fc;
  --ok: #12885b;
  --ok-soft: #e6f6ef;
  --warn: #b26a00;
  --warn-soft: #fdf3e2;
  --danger: #c02b2b;
  --danger-soft: #fdecec;
  --grey-soft: #eef1f5;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

/* ---------- 登录 ---------- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, #eef4fb 0%, #f7f9fc 55%, #eef7f4 100%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .08);
  padding: 30px 28px 26px;
}
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.auth-logo .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #1d6fd6, #17a2b8);
  color: #fff; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.auth-card h1 { font-size: 19px; }
.auth-sub { color: var(--text-dim); font-size: 12.5px; margin: 6px 0 20px; }
.tabs { display: flex; gap: 4px; background: var(--grey-soft); padding: 4px; border-radius: 9px; margin-bottom: 18px; }
.tabs button {
  flex: 1; border: 0; background: transparent; padding: 8px 6px; border-radius: 7px;
  font-size: 13px; color: var(--text-dim); cursor: pointer; font-family: inherit;
}
.tabs button.on { background: #fff; color: var(--brand); font-weight: 600; box-shadow: var(--shadow); }

/* ---------- 表单 ---------- */
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 12.5px; color: var(--text-dim); margin-bottom: 5px; }
.field .hint { font-size: 11.5px; color: var(--text-faint); margin-top: 4px; }
input[type=text], input[type=password], input[type=email], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: #fff; color: var(--text); font-size: 13.5px; font-family: inherit; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29,111,214,.12); }
textarea { min-height: 62px; resize: vertical; }
select { cursor: pointer; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.inline { display: flex; gap: 8px; align-items: flex-end; }
.inline > * { flex: 1; }
.inline > .shrink { flex: 0 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--text); font-size: 13.5px; font-family: inherit;
  cursor: pointer; white-space: nowrap; transition: .15s;
}
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-danger { color: var(--danger); border-color: #f0c4c4; }
.btn-danger:hover { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
.btn-sm { padding: 5px 11px; font-size: 12.5px; border-radius: 7px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- 骨架 ---------- */
.topbar {
  background: var(--panel); border-bottom: 1px solid var(--line);
  padding: 0 20px; height: 56px; display: flex; align-items: center; gap: 14px;
  position: sticky; top: 0; z-index: 30;
}
.topbar .mark {
  width: 30px; height: 30px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, #1d6fd6, #17a2b8); display: flex; align-items: center; justify-content: center;
}
.topbar .title { font-size: 15px; font-weight: 600; }
.topbar .badge-role {
  font-size: 11.5px; padding: 2px 8px; border-radius: 20px; background: var(--brand-soft); color: var(--brand-dark);
}
.topbar .spacer { flex: 1; }
.topbar .who { font-size: 12.5px; color: var(--text-dim); }

.nav {
  background: var(--panel); border-bottom: 1px solid var(--line);
  padding: 0 20px; display: flex; gap: 2px; overflow-x: auto; position: sticky; top: 56px; z-index: 29;
}
.nav button {
  border: 0; background: transparent; padding: 12px 14px; font-size: 13.5px; color: var(--text-dim);
  cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; font-family: inherit;
}
.nav button:hover { color: var(--text); }
.nav button.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.nav .dot {
  display: inline-block; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 5px;
  background: var(--danger); color: #fff; border-radius: 8px; font-size: 10.5px; line-height: 16px; text-align: center;
}

.main { padding: 18px 20px 60px; max-width: 1320px; margin: 0 auto; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h3 { font-size: 14.5px; }
.card-head .spacer { flex: 1; }
.card-head .sub { font-size: 12.5px; color: var(--text-dim); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.stat .k { font-size: 12.5px; color: var(--text-dim); }
.stat .v { font-size: 26px; font-weight: 700; line-height: 1.25; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat .u { font-size: 12.5px; color: var(--text-faint); font-weight: 400; margin-left: 2px; }
.stat.danger .v { color: var(--danger); }
.stat.warn .v { color: var(--warn); }
.stat.ok .v { color: var(--ok); }

/* ---------- 表格 ---------- */
.tw { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: #f8fafc; color: var(--text-dim); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
tbody tr:hover { background: #fafcff; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.nowrap, th.nowrap { white-space: nowrap; }
.empty { padding: 30px; text-align: center; color: var(--text-faint); font-size: 13px; }

.tag { display: inline-block; padding: 1px 8px; border-radius: 20px; font-size: 11.5px; white-space: nowrap; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.danger { background: var(--danger-soft); color: var(--danger); }
.tag.grey { background: var(--grey-soft); color: var(--text-dim); }
.tag.brand { background: var(--brand-soft); color: var(--brand-dark); }

.bar { height: 6px; border-radius: 4px; background: var(--grey-soft); overflow: hidden; min-width: 60px; }
.bar > i { display: block; height: 100%; border-radius: 4px; background: var(--ok); }
.bar.warn > i { background: var(--warn); }
.bar.danger > i { background: var(--danger); }

/* ---------- 机组卡片 ---------- */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.mcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mcard .mh { padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.mcard .mh .n { font-size: 14px; font-weight: 600; }
.mcard .mh .m { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.mcard .items { padding: 4px 0; }
.mcard .it { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px dashed var(--line); }
.mcard .it:last-child { border-bottom: 0; }
.mcard .it .in { flex: 1; min-width: 0; }
.mcard .it .in .t { font-size: 13px; }
.mcard .it .in .s { font-size: 11.5px; color: var(--text-faint); margin-top: 1px; }

/* ---------- 弹层 ---------- */
.mask { position: fixed; inset: 0; background: rgba(17,24,39,.45); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; z-index: 100; overflow-y: auto; }
.modal { background: #fff; border-radius: 12px; width: 100%; max-width: 560px; box-shadow: 0 20px 50px rgba(16,24,40,.2); }
.modal.wide { max-width: 760px; }
.modal .mh { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.modal .mh h3 { font-size: 15px; flex: 1; }
.modal .mh .x { border: 0; background: transparent; font-size: 20px; color: var(--text-faint); cursor: pointer; line-height: 1; }
.modal .mb { padding: 18px 20px; }
.modal .mf { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- 提示 ---------- */
.toast-wrap { position: fixed; top: 16px; right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast { background: #fff; border: 1px solid var(--line-strong); border-left: 3px solid var(--brand); border-radius: 8px; padding: 10px 14px; font-size: 13px; box-shadow: 0 6px 20px rgba(16,24,40,.12); max-width: 380px; }
.toast.err { border-left-color: var(--danger); }
.toast.ok { border-left-color: var(--ok); }

.notice { padding: 12px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; }
.notice.info { background: var(--brand-soft); color: var(--brand-dark); }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.danger { background: var(--danger-soft); color: var(--danger); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }

.loading { display: flex; align-items: center; justify-content: center; min-height: 60vh; color: var(--text-dim); font-size: 13.5px; gap: 10px; }
.spin { width: 18px; height: 18px; border: 2px solid var(--line-strong); border-top-color: var(--brand); border-radius: 50%; animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.small { font-size: 12px; }
.mono { font-family: Consolas, Monaco, monospace; letter-spacing: .5px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.filters .f { min-width: 150px; }
.filters .f label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 4px; }
.codebox { display: flex; align-items: center; gap: 8px; }
.codebox code { background: var(--brand-soft); color: var(--brand-dark); padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; }

/* ---------- 开通方式选择 / 品牌 ---------- */
.pick-box { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; background: #fbfcfe; }
.pick-box .pick-h { font-size: 13.5px; font-weight: 600; color: var(--brand-dark); margin-bottom: 4px; }
.pick-box .pick-d { font-size: 12.5px; color: var(--text-dim); margin-bottom: 12px; line-height: 1.65; }
.brandline { text-align: center; font-size: 12px; color: var(--text-faint); margin-top: 16px; letter-spacing: .3px; }
.brandfoot {
  max-width: 1320px; margin: 6px auto 0; padding: 16px 20px 26px;
  text-align: center; font-size: 12px; color: var(--text-faint);
  border-top: 1px solid var(--line);
}
.brandfoot b { display: block; color: var(--brand-dark); font-size: 13px; margin-bottom: 3px; letter-spacing: .5px; }
.brandfoot span { display: block; }
.brandfoot .disc { margin-top: 6px; color: #a8b0bb; font-size: 11.5px; line-height: 1.6; }
.terms {
  white-space: pre-wrap; word-break: break-word; font-family: inherit;
  font-size: 12.5px; line-height: 1.85; color: var(--text); margin: 0;
  max-height: 56vh; overflow-y: auto; background: #fbfcfe;
  border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px;
}
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-dim); margin-top: 4px; cursor: pointer; }
.agree input { margin: 3px 0 0; flex: 0 0 auto; width: 15px; height: 15px; }

/* ---------- 广告 / 优惠推送 ---------- */
.adbar {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(100deg, #fff6e6, #fffaf2);
  border: 1px solid #f2dcb3; border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.adbar-l {
  flex: 0 0 auto; background: #e8890c; color: #fff; font-size: 12px;
  padding: 3px 9px; border-radius: 20px; letter-spacing: 1px;
}
.adbar-m { flex: 1; min-width: 0; }
.adbar-t { font-size: 13.5px; font-weight: 600; color: #8a5a00; }
.adbar-b { font-size: 12.5px; color: #a07c3a; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adcard { border-left: 3px solid #e8890c; }
.adbody { font-size: 13.5px; line-height: 1.85; color: var(--text); white-space: pre-wrap; }
.adfoot { margin-top: 10px; font-size: 13.5px; color: var(--text-dim); }
.adfoot b { color: #c26a00; font-size: 15px; letter-spacing: .5px; }

/* ---------- 信息核实：警告条 / 待核实卡片 / 停用页 ---------- */
.modbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--warn-soft); border: 1px solid #f0d9a8; border-left: 4px solid var(--warn);
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px;
}
.modbar.done { background: var(--ok-soft); border-color: #bfe6d5; border-left-color: var(--ok); }
.modbar.danger { background: var(--danger-soft); border-color: #f0c7c7; border-left-color: var(--danger); }
.modbar.danger .modbar-t { color: var(--danger); }
.modbar.update { background: var(--brand-soft); border-color: #cfe0f5; border-left-color: var(--brand); margin: 12px 16px; }
.modbar.update .modbar-t { color: var(--brand-dark); }
.modbar-t { width: 100%; font-weight: 600; color: var(--warn); }
.modbar.done .modbar-t { color: var(--ok); }
.modbar-b { flex: 1; min-width: 220px; font-size: 13px; line-height: 1.65; color: var(--text-dim); }

.modbox {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fcfdff; padding: 12px 14px; margin-bottom: 12px;
}
.modbox-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.modbox-f { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.modbox .tw { margin: 0; }
.modnew { background: var(--brand-soft); font-weight: 600; }
.replyrow { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.replyrow:last-child { border-bottom: none; }

.steps { display: grid; gap: 10px; }
.step { display: flex; gap: 10px; align-items: baseline; font-size: 13px; line-height: 1.7; color: var(--text-dim); }
.step b { flex: 0 0 78px; color: var(--text); }

.blockwrap { display: flex; justify-content: center; padding: 28px 12px 60px; }
.blockcard {
  width: 100%; max-width: 620px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 26px 24px;
}
.blockicon {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 12px;
  background: var(--danger-soft); color: var(--danger);
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700;
}
.blockcard h2 { margin: 0 0 6px; font-size: 20px; color: var(--text); }
.blocksub { margin-bottom: 14px; font-size: 13px; color: var(--text-dim); }
.blockacts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 720px) {
  .main { padding: 12px 12px 60px; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .topbar { padding: 0 12px; }
  .nav { padding: 0 8px; }
  .stat .v { font-size: 22px; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  th, td { padding: 8px 7px; font-size: 12.5px; }
}
/*--LMK-ORIGINAL-END--*/
