/* ================= 鼎账房工资条系统 ================= */
:root {
  --navy: #1b3a6b;
  --navy-light: #2c5aa0;
  --navy-pale: #eef3fa;
  --line: #dfe6ef;
  --text: #1f2937;
  --text-2: #5b6b7f;
  --text-3: #8f9bab;
  --bg: #f4f6f9;
  --red: #c62828;
  --green: #1a7f4b;
  --orange: #c77700;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(27, 58, 107, .08), 0 4px 16px rgba(27, 58, 107, .06);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-light); text-decoration: none; }

/* ---------- 布局 ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 20px; }
.wrap-sm { max-width: 720px; margin: 0 auto; padding: 16px; }

.topbar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 0 20px;
  box-shadow: 0 2px 12px rgba(27,58,107,.18);
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; height: 58px;
}
.brand { font-size: 16px; font-weight: 600; letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
.brand small { font-weight: 400; opacity: .7; font-size: 12px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: rgba(255,255,255,.82); padding: 7px 14px; border-radius: 8px;
  font-size: 14px; transition: .18s;
}
.nav a:hover { background: rgba(255,255,255,.13); color: #fff; }
.nav a.on { background: rgba(255,255,255,.2); color: #fff; font-weight: 500; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; margin-bottom: 18px;
}
.card-title {
  font-size: 15px; font-weight: 600; color: var(--navy);
  margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card-title .sub { font-size: 12px; color: var(--text-3); font-weight: 400; }

/* ---------- 统计卡 ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat {
  background: #fff; border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow); border-left: 3px solid var(--navy-light);
}
.stat .k { font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.stat .v { font-size: 24px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.stat .v small { font-size: 13px; font-weight: 400; color: var(--text-3); }
.stat.r { border-left-color: var(--red); }
.stat.g { border-left-color: var(--green); }
.stat.o { border-left-color: var(--orange); }
/* 顶部重点项卡片：与员工端 .slip-net、显示项设置页手机预览保持一致（居中） */
.stat.center { text-align: center; padding: 18px; }
.stat.center .k { font-size: 12.5px; margin-bottom: 8px; }
.stat.center .v { font-size: 30px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.stat.center .v .cur { font-size: 19px; font-weight: 600; margin-right: 2px; }
/* 可点击的统计卡（概览页跳转用） */
a.stat.click {
  display: block; text-decoration: none; color: inherit;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer; position: relative;
}
a.stat.click:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 58, 107, .14);
  background: var(--navy-pale);
}
a.stat.click:hover .k { color: var(--navy-light); }
a.stat.click:active { transform: translateY(0); }
a.stat.click .go {
  float: right; font-size: 13px; color: var(--text-3);
  transition: transform .12s ease, color .12s ease;
}
a.stat.click:hover .go { color: var(--navy-light); transform: translateX(2px); }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th {
  text-align: left; padding: 10px 12px; background: var(--navy-pale);
  color: var(--navy); font-weight: 600; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.tbl td { padding: 10px 12px; border-bottom: 1px solid #f0f3f7; }
.tbl tr:hover td { background: #fafbfd; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }

/* ---------- 状态标签 ---------- */
.tag {
  display: inline-block; padding: 2px 9px; border-radius: 20px;
  font-size: 12px; line-height: 1.7; white-space: nowrap;
}
.tag.ok   { background: #e6f5ec; color: var(--green); }
.tag.no   { background: #fdeaea; color: var(--red); }
.tag.wait { background: #f0f2f5; color: var(--text-3); }
.tag.mid  { background: #fff4e0; color: var(--orange); }
.tag.warn { background: #fff1e0; color: #d97706; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px; border: 1px solid transparent;
  background: var(--navy-light); color: #fff; font-size: 14px;
  cursor: pointer; transition: .18s; font-family: inherit; white-space: nowrap;
}
.btn:hover { background: var(--navy); }
.btn.ghost { background: #fff; color: var(--navy-light); border-color: var(--line); }
.btn.ghost:hover { background: var(--navy-pale); }
.btn.danger { background: #fff; color: var(--red); border-color: #f2d5d5; }
.btn.danger:hover { background: #fdeaea; }
.btn.sm { padding: 5px 11px; font-size: 13px; }
.btn.lg { padding: 12px 26px; font-size: 15px; width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.field .hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
input[type=text], input[type=password], input[type=file], select, textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  color: var(--text); background: #fff; transition: .18s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(44,90,160,.1);
}

/* ---------- 提示 ---------- */
.flash {
  padding: 11px 16px; border-radius: 8px; margin-bottom: 14px; font-size: 13.5px;
}
.flash.success { background: #e6f5ec; color: #14663c; border-left: 3px solid var(--green); }
.flash.error   { background: #fdeaea; color: #96201f; border-left: 3px solid var(--red); }
.flash.warning { background: #fff4e0; color: #8f5600; border-left: 3px solid var(--orange); }
.flash.info    { background: var(--navy-pale); color: var(--navy); border-left: 3px solid var(--navy-light); }

.notice {
  background: var(--navy-pale); border-radius: 10px; padding: 14px 16px;
  font-size: 13px; color: var(--navy); line-height: 1.75;
}
.notice code {
  background: rgba(27,58,107,.09); padding: 1px 6px; border-radius: 4px;
  font-size: 12.5px;
}

/* ---------- 进度条 ---------- */
.bar { height: 6px; background: #eef1f5; border-radius: 3px; overflow: hidden; margin-top: 5px; }
.bar > i { display: block; height: 100%; background: var(--green); border-radius: 3px; transition: width .4s; }
.bar.b > i { background: var(--navy-light); }

/* ---------- 工资条（员工端） ---------- */
.slip { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.slip-head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; padding: 22px 20px; text-align: center;
}
.slip-head .t { font-size: 15px; opacity: .92; letter-spacing: 1px; }
.slip-head .m { font-size: 26px; font-weight: 600; margin: 6px 0 2px; letter-spacing: .5px; }
.slip-head .n { font-size: 13px; opacity: .8; }

.slip-net {
  background: #fff; margin: -14px 16px 0; border-radius: 12px;
  padding: 16px; text-align: center; box-shadow: 0 3px 14px rgba(27,58,107,.12);
  position: relative;
}
.slip-net .k { font-size: 12.5px; color: var(--text-3); }
.slip-net .v { font-size: 30px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.slip-net .v .cur { font-size: 19px; margin-right: 2px; font-weight: 600; }
.row .v .cur { font-size: 12px; margin-right: 1px; color: var(--text-3); font-weight: 400; }

.grp { margin: 16px; }
.grp-h {
  font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px;
  padding-left: 9px; border-left: 3px solid var(--navy-light);
}
.grp-body { background: #fbfcfe; border-radius: 10px; padding: 4px 14px; }
.row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed #e8edf3; font-size: 13.5px; }
.row:last-child { border-bottom: none; }
.row .k { color: var(--text-2); }
.row .v { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.row .v.money { color: var(--text); }
.row.hl .v { color: var(--navy); font-weight: 600; }
.row.minus .v { color: var(--red); }

.sum { margin: 16px; background: #f7f9fc; border-radius: 10px; padding: 6px 14px; }
.sign-box { margin: 16px; padding-bottom: 26px; }

.sign-btn {
  width: 100%; padding: 14px; border-radius: 10px; border: none;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; font-size: 16px; font-weight: 500; cursor: pointer;
  font-family: inherit; box-shadow: 0 4px 14px rgba(27,58,107,.28);
}
.sign-btn:active { transform: translateY(1px); }
.sign-btn:disabled { background: #cfd8e3; box-shadow: none; }
.signed-tip {
  text-align: center; padding: 14px; background: #e6f5ec; border-radius: 10px;
  color: var(--green); font-size: 14px; font-weight: 500;
}
/* 确认期天数提示（员工端工资条） */
.days-tip {
  margin-top: 12px; padding: 10px 14px; border-radius: 10px;
  background: var(--navy-pale); border: 1px solid #d7e3f3;
  color: var(--navy); font-size: 13px; text-align: center; line-height: 1.6;
}
.days-tip b { font-size: 15px; color: var(--navy-light); }
.days-tip .dt { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 3px; }
.days-tip.warn { background: #fff5e8; border-color: #ffd9a8; color: #a15c00; }
.days-tip.warn b { color: #d97706; }

/* ---------- 登录页 ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: linear-gradient(160deg, #eef3fa 0%, #f4f6f9 60%);
}
.login-box {
  width: 100%; max-width: 380px; background: #fff; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(27,58,107,.13); padding: 34px 30px;
}
.login-box .logo { text-align: center; margin-bottom: 26px; }
.login-box .logo .ic {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; font-weight: 600;
}
.login-box .logo h1 { font-size: 18px; margin: 0 0 4px; color: var(--navy); font-weight: 600; }
.login-box .logo p { margin: 0; font-size: 12.5px; color: var(--text-3); }

/* ---------- 二维码容器 ---------- */
.qr-box {
  width: 100%; min-height: 300px; display: flex; align-items: center;
  justify-content: center; border: 1px dashed var(--line); border-radius: 12px;
  background: #fbfcfe; margin-bottom: 18px;
}
#login_container { display: flex; align-items: center; justify-content: center; }
.qr-fallback { display: none; text-align: center; padding: 10px; }

/* ---------- 钉钉内打开：不扫码，直接授权登录 ---------- */
.dt-login-box {
  text-align: center; border: 1px dashed var(--line); border-radius: 12px;
  background: #fbfcfe; padding: 26px 20px; margin-bottom: 16px;
}
.dt-login-box .dt-title {
  margin: 14px 0 6px; font-size: 15px; font-weight: 600; color: var(--navy);
}
.dt-login-box .dt-sub {
  margin: 0 0 18px; font-size: 12.5px; color: var(--text-3); line-height: 1.6;
}
.btn-dt {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; font-size: 14.5px; font-weight: 500; text-decoration: none;
  box-shadow: 0 4px 14px rgba(27,58,107,.28);
}
.btn-dt:active { transform: translateY(1px); }
.dt-spinner {
  width: 30px; height: 30px; margin: 0 auto; border-radius: 50%;
  border: 3px solid #dde4ee; border-top-color: var(--navy);
  animation: dtsk .8s linear infinite;
}
@keyframes dtsk { to { transform: rotate(360deg); } }

/* ---------- 员工列表卡 ---------- */
.mlist { display: flex; flex-direction: column; gap: 10px; }

/* ==================== 员工主页（2026-09-18） ==================== */
/* 个人卡 */
.emp-hero {
  background: linear-gradient(135deg, #1b3a6b 0%, #2c5aa0 100%);
  color: #fff; border: none; border-radius: 14px;
}
.emp-hero .eh-in { display: flex; align-items: center; gap: 14px; }
.emp-hero .eh-av {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: rgba(255,255,255,.18); display: flex; align-items: center;
  justify-content: center; font-size: 19px; font-weight: 600;
}
.emp-hero .eh-tx { flex: 1; min-width: 0; }
.emp-hero .eh-nm { font-size: 16px; font-weight: 600; }
.emp-hero .eh-sub { font-size: 12.5px; opacity: .78; }
.emp-hero .eh-out { color: rgba(255,255,255,.75); font-size: 12.5px; text-decoration: none; }

/* 本月工资条大卡（★ 不显示金额 —— 用户明确要求，2026-09-18） */
.cur-card { text-align: center; padding: 22px 20px 20px; }
.cur-head {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 16px;
}
.cur-label {
  font-size: 12.5px; font-weight: 700; color: var(--navy);
  background: #e8eefb; border-radius: 20px; padding: 3px 12px;
}
.cur-ym { font-size: 13px; color: var(--text-3); }
.cur-status { display: flex; align-items: center; justify-content: center;
  gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.cur-tip { font-size: 12px; color: var(--text-3); }
.cur-btn {
  display: block; padding: 13px; border-radius: 10px; text-decoration: none;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; font-size: 15px; font-weight: 500;
  box-shadow: 0 4px 14px rgba(27,58,107,.28);
}
.cur-btn:active { transform: translateY(1px); }
.cur-note { margin: 12px 0 0; font-size: 12px; color: var(--text-3); line-height: 1.6; }

/* 历史查询：月份下拉 + 查询按钮 */
.qrow { display: flex; gap: 10px; align-items: stretch; }
.msel {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--text);
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fbfcfe; outline: none; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2354607a' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 34px;
}
.msel:focus { border-color: var(--navy); background-color: #fff; }
.qbtn {
  flex: none; font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer;
  padding: 0 22px; border: none; border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  box-shadow: 0 4px 14px rgba(27,58,107,.28);
}
.qbtn:active { transform: translateY(1px); }
.qtip { margin: 12px 0 0; font-size: 12px; color: var(--text-3); text-align: center; }
.mitem {
  background: #fff; border-radius: 12px; padding: 16px 18px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.mitem .m { flex: 1; }
.mitem .m .ym { font-size: 15px; font-weight: 600; color: var(--navy); }
.mitem .m .n { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.mitem .amt { font-size: 17px; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.mitem .amt::before { content: "¥"; font-size: 12px; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 54px 20px; color: var(--text-3); }
.empty .ic { font-size: 40px; opacity: .3; margin-bottom: 12px; }

/* ---------- 移动端 ---------- */
@media (max-width: 640px) {
  .wrap { padding: 12px; }
  .card { padding: 16px; border-radius: 10px; }
  .topbar-inner { height: 52px; gap: 10px; }
  .brand { font-size: 14px; }
  .brand small { display: none; }
  .nav a { padding: 6px 10px; font-size: 13px; }
  .stat .v { font-size: 20px; }
  .tbl th, .tbl td { padding: 8px 9px; font-size: 12.5px; }
  .slip-head .m { font-size: 22px; }
  .slip-net .v { font-size: 26px; }
}

/* ================= 显示项设置：双栏 + 手机预览 ================= */
.disp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 1080px) {
  .disp-layout { grid-template-columns: 1fr; }
}

/* ---------- 手机外壳 ---------- */
.phone {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: #16192a;
  border-radius: 40px;
  padding: 11px;
  box-shadow: 0 18px 50px rgba(27, 58, 107, .26), 0 0 0 1px rgba(255,255,255,.06) inset;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 22px; background: #16192a;
  border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-screen {
  background: #f4f6f9;
  border-radius: 30px;
  overflow: hidden;
  height: 660px;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
}
.phone-screen::-webkit-scrollbar { width: 5px; }
.phone-screen::-webkit-scrollbar-thumb { background: #c9d3e0; border-radius: 3px; }

.phone-status {
  height: 30px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; font-size: 11px; color: #8f9bab; background: #eef2f7;
}
.phone-status .dots { display: flex; gap: 3px; align-items: center; }
.phone-status .dots i { width: 4px; height: 4px; border-radius: 50%; background: #b9c3d0; display: block; }

/* ---------- 预览内的项（可交互） ---------- */
.pv-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px dashed #e8edf3;
  font-size: 13px; cursor: grab;
}
.pv-row:last-child { border-bottom: none; }
.pv-row .pk { color: var(--text-2); flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-row .pv { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.pv-row .pact { display: flex; gap: 3px; opacity: 0; transition: .15s; }
.pv-row:hover .pact { opacity: 1; }
.pv-row.dragging { opacity: .4; }
.pv-row.drop-hint { box-shadow: 0 -2px 0 var(--navy-light); }

/* 预览里标注：本员工工资表里没有这一列 */
.pv-miss {
  font-size: 10.5px; font-weight: 500; padding: 1px 5px; border-radius: 4px;
  margin-left: 5px; white-space: nowrap; vertical-align: 1px;
  background: #fdf4e3; color: #c9821a; border: 1px solid #f2e0bc;
}
.pv-miss.on { background: #eef2f7; color: #8f9bab; border-color: #e2e8f0; }

.pv-btn {
  border: none; background: #eef2f7; color: var(--text-2);
  width: 22px; height: 22px; border-radius: 6px; cursor: pointer;
  font-size: 12px; line-height: 1; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit;
}
.pv-btn:hover { background: var(--navy-pale); color: var(--navy); }

.pv-hidden-box {
  margin: 14px 16px 40px; padding: 10px 12px;
  border: 1px dashed #cfd8e3; border-radius: 10px; background: #fbfcfe;
}
.pv-hidden-box .t {
  font-size: 11.5px; color: var(--text-3); margin-bottom: 6px;
  display: flex; justify-content: space-between; align-items: center;
}
.pv-hidden-item {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 3px 9px; font-size: 11.5px; color: var(--text-2);
  margin: 0 4px 5px 0; cursor: pointer;
}
.pv-hidden-item:hover { border-color: var(--navy-light); color: var(--navy-light); }
.pv-hidden-item .plus { color: var(--green); font-weight: 600; }

.pv-group-h {
  font-size: 11.5px; font-weight: 600; color: var(--navy);
  margin: 12px 0 4px; padding-left: 7px; border-left: 2px solid var(--navy-light);
}

/* ---------- 左栏配置表紧凑化 ---------- */
.cfg-tbl td { padding: 6px 8px !important; vertical-align: middle; }
.cfg-tbl input[type=text], .cfg-tbl select { padding: 4px 7px !important; font-size: 12.5px !important; }
.cfg-name { color: var(--text-3); font-size: 12px; }

.disp-toolbar {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin-bottom: 16px; position: sticky; top: 0; z-index: 5;
  background: #fff; padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- 工资条详情页：每项「是否显示」开关 ---------- */
.row .off-tip { font-size: 11px; color: var(--text-3); font-weight: 400; }
.row.off .k, .row.off .v { opacity: .5; }

.eye {
  display: inline-flex; align-items: center;
  margin-left: 10px; padding: 2px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 500; font-family: inherit;
  line-height: 1.7; cursor: pointer; vertical-align: middle;
  border: 1px solid var(--line); background: #fff; color: var(--text-3);
  transition: background .15s, color .15s, border-color .15s;
}
.eye:hover { border-color: var(--navy-light); color: var(--navy); }
.eye.on  { background: #e6f5ec; border-color: #bfe3cd; color: var(--green); }
.eye.off { background: #f0f2f5; border-color: var(--line); color: var(--text-3); }
.eye:disabled { opacity: .5; cursor: wait; }

#eye-tip {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%);
  background: var(--navy); color: #fff; font-size: 12.5px;
  padding: 8px 18px; border-radius: 20px; opacity: 0;
  transition: opacity .25s; pointer-events: none; z-index: 99;
  box-shadow: 0 6px 20px rgba(27,58,107,.25);
}

/* 本机=离线备份 的顶部横幅（云端不会有，靠 OFFLINE_BACKUP.txt 触发） */
.offline-bar {
  background: #b3261e; color: #fff; font-size: 13px; line-height: 1.5;
  padding: 9px 18px; text-align: center;
}
.offline-bar b { margin-right: 6px; }
.offline-bar a { color: #fff; text-decoration: underline; font-weight: 600; }
.offline-bar span { opacity: .88; }
