:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: #e5e7eb;
  --line-2: #eef0f3;
  --text: #1f2937;
  --text-2: #6b7280;
  --text-3: #9ca3af;
  --pri: #2563eb;
  --pri-d: #1d4ed8;
  --pri-l: #eff6ff;
  --ok: #059669;
  --ok-l: #ecfdf5;
  --warn: #d97706;
  --warn-l: #fffbeb;
  --bad: #dc2626;
  --bad-l: #fef2f2;
  --radius: 10px;
  --sh: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0; height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pri); text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 14px; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

/* ---------------- 登录 ---------------- */
#login {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f6f8 45%, #ecfdf5 100%);
  z-index: 500;
}
.login-box {
  width: 380px; background: #fff; border-radius: 16px; padding: 36px 34px 30px;
  box-shadow: 0 10px 40px rgba(16, 24, 40, .10), 0 2px 8px rgba(16, 24, 40, .04);
}
.login-box .brand { font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.login-box .sub { color: var(--text-2); margin-top: 6px; font-size: 13px; }
.login-box .field { margin-top: 18px; }
.login-box .tip { margin-top: 16px; font-size: 12px; color: var(--text-3); line-height: 1.7; }

/* ---------------- 布局 ---------------- */
#app { display: none; height: 100%; }
#app.on { display: flex; }

.side {
  width: 208px; flex: 0 0 208px; background: #fff; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; height: 100%;
}
.side .logo {
  padding: 20px 18px 16px; font-weight: 700; font-size: 15px; letter-spacing: .3px;
  border-bottom: 1px solid var(--line-2);
}
.side .logo small { display: block; font-weight: 400; color: var(--text-3); font-size: 11px; margin-top: 3px; letter-spacing: 0; }
.nav { padding: 10px 8px; flex: 1; overflow-y: auto; }
.nav a {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px;
  color: var(--text-2); font-size: 13.5px; margin-bottom: 2px; transition: .12s;
}
.nav a:hover { background: #f3f4f6; color: var(--text); }
.nav a.on { background: var(--pri-l); color: var(--pri-d); font-weight: 600; }
.nav a svg { width: 16px; height: 16px; flex: 0 0 16px; opacity: .85; }
.nav .grp { font-size: 11px; color: var(--text-3); padding: 14px 11px 6px; letter-spacing: .5px; }
.side .foot { padding: 12px 14px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--text-2); }
.side .foot .who { font-weight: 600; color: var(--text); }
.side .foot .row { display: flex; gap: 8px; margin-top: 8px; }
.side .foot a { font-size: 12px; color: var(--text-2); cursor: pointer; }
.side .foot a:hover { color: var(--pri); }

.main { flex: 1; overflow-y: auto; height: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 22px 26px 70px; }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.head h2 { font-size: 19px; }
.head .desc { color: var(--text-2); font-size: 12.5px; margin-top: 4px; }
.head .right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------------- 组件 ---------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh); }
.card + .card { margin-top: 14px; }
.card-h {
  padding: 13px 16px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.card-h h3 { font-size: 14px; }
.card-h .n { color: var(--text-3); font-weight: 400; font-size: 12.5px; margin-left: 6px; }
.card-b { padding: 16px; }
.card-b.tight { padding: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 7px;
  border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer;
  font-size: 13px; font-weight: 500; transition: .12s; white-space: nowrap;
}
.btn:hover { background: #f9fafb; border-color: #d1d5db; }
.btn:active { transform: translateY(.5px); }
.btn.pri { background: var(--pri); border-color: var(--pri); color: #fff; }
.btn.pri:hover { background: var(--pri-d); border-color: var(--pri-d); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.ok:hover { filter: brightness(.94); }
.btn.danger { color: var(--bad); border-color: #fecaca; background: #fff; }
.btn.danger:hover { background: var(--bad-l); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn.ghost:hover { background: #f3f4f6; }
.btn.sm { padding: 4px 10px; font-size: 12.5px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

input[type=text], input[type=password], input[type=email], input[type=date],
input[type=time], input[type=number], input[type=datetime-local], select, textarea {
  width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px;
  background: #fff; outline: none; transition: .12s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--pri); box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}
textarea { resize: vertical; min-height: 34px; line-height: 1.55; }
label.f { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 5px; font-weight: 500; }
.field { margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }

.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 20px;
  font-size: 11.5px; font-weight: 500; background: #f3f4f6; color: var(--text-2);
}
.chip.blue { background: var(--pri-l); color: var(--pri-d); }
.chip.green { background: var(--ok-l); color: var(--ok); }
.chip.red { background: var(--bad-l); color: var(--bad); }
.chip.amber { background: var(--warn-l); color: var(--warn); }
.chip.gray { background: #f3f4f6; color: var(--text-2); }

.banner {
  display: flex; gap: 10px; padding: 11px 14px; border-radius: 8px; font-size: 13px;
  line-height: 1.65; margin-bottom: 14px; align-items: flex-start;
}
.banner.info { background: var(--pri-l); color: #1e40af; }
.banner.ok { background: var(--ok-l); color: #065f46; }
.banner.warn { background: var(--warn-l); color: #92400e; }
.banner.bad { background: var(--bad-l); color: #991b1b; }
.banner b { font-weight: 600; }

table.tb { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tb th {
  text-align: left; padding: 9px 12px; background: #fafbfc; color: var(--text-2);
  font-weight: 600; font-size: 12px; border-bottom: 1px solid var(--line);
  white-space: nowrap; position: sticky; top: 0; z-index: 1;
}
table.tb td { padding: 8px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.tb tr:last-child td { border-bottom: none; }
table.tb tbody tr:hover { background: #fcfdfe; }
table.tb td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.tb td.nw, table.tb th.nw { white-space: nowrap; }
table.tb td.w220 { min-width: 200px; max-width: 300px; word-break: break-word; }
table.tb td.w260 { min-width: 220px; max-width: 340px; word-break: break-word; }
table.tb td.w160 { min-width: 140px; max-width: 240px; word-break: break-word; }
.scroll { overflow: auto; max-height: 66vh; border-radius: 0 0 var(--radius) var(--radius); }
.scroll.flat { max-height: none; }

/* 周报总览：按状态给左边框上色 */
.ov-card { border-left: 3px solid var(--line); margin-bottom: 12px; }
.ov-card.st-submitted { border-left-color: #86c9a8; }
.ov-card.st-draft { border-left-color: #f3b0b0; }
.ov-card.st-empty { border-left-color: #e5e7eb; }
.ov-card .card-b.tight { border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }

.empty { padding: 34px 16px; text-align: center; color: var(--text-3); font-size: 13px; }
.muted { color: var(--text-2); }
.tiny { font-size: 12px; color: var(--text-3); }
.mono { font-variant-numeric: tabular-nums; }

.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(16px);
  background: #111827; color: #fff; padding: 10px 20px; border-radius: 24px; font-size: 13px;
  opacity: 0; pointer-events: none; transition: .22s; z-index: 900; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  max-width: 70vw;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--bad); }

/* 周报条目 */
.rp-item { border-bottom: 1px solid var(--line-2); padding: 12px 16px; display: grid;
  grid-template-columns: 210px 1fr; gap: 16px; }
.rp-item:last-child { border-bottom: none; }
.rp-item.done { background: #fcfefd; }
.rp-item .left .t { font-weight: 600; font-size: 13.5px; line-height: 1.5; word-break: break-word; }
.rp-item .left .m { margin-top: 6px; display: flex; gap: 5px; flex-wrap: wrap; }
.rp-item .right { display: grid; grid-template-columns: 1fr 190px; gap: 10px 12px; }
.rp-item .right .full { grid-column: 1 / -1; }
.rp-item .mini { font-size: 11.5px; color: var(--text-3); margin-bottom: 3px; }
.rp-item textarea { min-height: 52px; }
.rp-item .del { color: var(--text-3); cursor: pointer; font-size: 12px; }
.rp-item .del:hover { color: var(--bad); }

/* 进度条 */
.pg { height: 5px; background: #eef0f3; border-radius: 4px; overflow: hidden; margin-top: 6px; }
.pg > i { display: block; height: 100%; background: var(--pri); border-radius: 4px; }

/* 统计块 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat .k { font-size: 12px; color: var(--text-2); }
.stat .v { font-size: 22px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .s { font-size: 11.5px; color: var(--text-3); margin-top: 3px; }

/* 节假日日历 */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .h { text-align: center; font-size: 11.5px; color: var(--text-3); padding-bottom: 4px; }
.cal .d {
  border: 1px solid var(--line); border-radius: 7px; padding: 7px 8px; min-height: 52px;
  background: #fff; font-size: 12px;
}
.cal .d.off { background: #fafbfc; color: var(--text-3); }
.cal .d.hol { background: var(--bad-l); border-color: #fecaca; }
.cal .d.hol .nm { color: var(--bad); }
.cal .d.mk { background: var(--warn-l); border-color: #fde68a; }
.cal .d.mk .nm { color: var(--warn); }
.cal .d .dd { font-weight: 600; }
.cal .d .nm { font-size: 10.5px; color: var(--text-2); margin-top: 2px; line-height: 1.3; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a {
  padding: 9px 14px; font-size: 13.5px; color: var(--text-2); border-bottom: 2px solid transparent;
  cursor: pointer; margin-bottom: -1px;
}
.tabs a.on { color: var(--pri); border-bottom-color: var(--pri); font-weight: 600; }

/* 模态 */
.mask {
  position: fixed; inset: 0; background: rgba(17, 24, 39, .35); display: none;
  align-items: center; justify-content: center; z-index: 800; padding: 20px;
}
.mask.on { display: flex; }
.modal {
  background: #fff; border-radius: 12px; width: 560px; max-width: 100%; max-height: 90vh;
  display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.modal .h { padding: 16px 20px; border-bottom: 1px solid var(--line-2); font-weight: 600; }
.modal .b { padding: 18px 20px; overflow-y: auto; }
.modal .f { padding: 13px 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 8px; }

.sml { font-size: 12px; color: var(--text-3); line-height: 1.6; }
.hr { height: 1px; background: var(--line-2); margin: 16px 0; }
.flex { display: flex; gap: 8px; align-items: center; }
.flex.wrap { flex-wrap: wrap; }
.sp { flex: 1; }
.w100 { width: 100%; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }

/* ---------------- 手机端 / 小屏 ---------------- */
.mnav { display: none; }

.mitem {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 8px; border-bottom: 1px solid var(--line-2);
  text-decoration: none; color: inherit; cursor: pointer;
}
.mitem:last-child { border-bottom: none; }
.mitem .mt { font-size: 14px; font-weight: 500; }
.mitem .ms { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.mitem .ma { color: var(--text-3); font-size: 18px; line-height: 1; }
.mwho { font-size: 12px; color: var(--text-2); padding: 2px 8px 8px; }

@media (max-width: 860px) {
  .side { display: none; }
  .wrap { padding: 14px 12px 78px; }

  /* 底部标签栏 */
  .mnav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; height: 56px;
    background: #fff; border-top: 1px solid var(--line); z-index: 300;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mnav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; font-size: 10.5px; color: var(--text-2); cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .mnav a.on { color: var(--pri); }
  .mnav a svg { width: 19px; height: 19px; }

  /* 卡片头：允许换行，避免标题旁塞输入框 */
  .card-h { flex-wrap: wrap; gap: 8px; }
  .card-h h3 { font-size: 13.5px; }
  .card-h h3 .n { display: block; margin-left: 0; margin-top: 3px; line-height: 1.5; }
  .card-h > .flex { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
  .card-h .flex input[type=text] { flex: 1 1 120px; width: auto; min-width: 0; }
  .card-h .flex .btn { flex: 0 0 auto; }

  /* 顶部 */
  .head { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 14px; }
  .head h2 { font-size: 17px; }
  .head .desc { font-size: 12px; }
  .head .right { flex-wrap: wrap; gap: 6px; }
  .head .right select { width: 100% !important; min-width: 0 !important; }
  .head .right .btn { padding: 6px 11px; font-size: 12.5px; }
  .btn { padding: 6px 12px; }
  .btn.sm { padding: 5px 9px; }

  /* 表单与栅格 */
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat { padding: 11px 12px; }
  .stat .v { font-size: 19px; }

  /* 16px 防 iOS 聚焦自动放大 */
  input[type=text], input[type=password], input[type=email], input[type=date],
  input[type=time], input[type=number], input[type=datetime-local], select, textarea {
    font-size: 16px;
  }

  /* 登录 */
  #login { padding: 16px; }
  .login-box { width: 380px; max-width: 100%; padding: 28px 22px 24px; }

  /* 周报条目 */
  .rp-item { grid-template-columns: 1fr; gap: 10px; padding: 12px; border-bottom: 7px solid var(--bg); }
  .rp-item:last-child { border-bottom: none; }
  .rp-item .right { grid-template-columns: 1fr; }
  .rp-item .left .t { font-size: 14px; }

  /* 弹窗变底部抽屉 */
  .mask { align-items: flex-end; padding: 0; }
  .modal { width: 100%; max-width: 100%; max-height: 90vh; border-radius: 14px 14px 0 0; }
  .modal .b { padding: 14px 16px; }

  /* 日历 */
  .cal { gap: 3px; }
  .cal .h { font-size: 10px; }
  .cal .d { min-height: 40px; padding: 4px 3px; font-size: 11px; }
  .cal .d .nm { font-size: 9px; }

  .toast { bottom: 72px; max-width: 86vw; }
}

/* 表格在手机上转成卡片 */
@media (max-width: 720px) {
  .scroll { max-height: none; }
  table.tb thead { display: none; }
  table.tb, table.tb tbody, table.tb tr, table.tb td { display: block; width: 100%; }
  table.tb tr {
    border: 1px solid var(--line); border-radius: 9px; margin-bottom: 8px;
    padding: 7px 11px; background: #fff;
  }
  table.tb tr:last-child { margin-bottom: 0; }
  table.tb tbody tr:hover { background: #fff; }
  table.tb td {
    display: block; position: relative; border: none; text-align: left;
    padding: 3px 0 3px 78px; min-height: 22px;
  }
  table.tb td[data-label]::before {
    content: attr(data-label);
    position: absolute; left: 0; top: 3px; width: 70px;
    color: var(--text-3); font-size: 11px; line-height: 1.7;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  table.tb td[colspan] { display: block; }
  table.tb td[colspan]::before { display: none; }
  table.tb td.nw { white-space: normal; }
  table.tb td.num { text-align: left; }
  table.tb td.w220, table.tb td.w260, table.tb td.w160 { min-width: 0; max-width: none; }
  table.tb td .pg { width: 88px; }
}

/* ==================== 视觉精装修（v1.6 叠加层，仅改观感不动布局） ==================== */

/* 全局：字体渲染与选中色 */
::selection { background: rgba(37, 99, 235, .16); }
body { letter-spacing: .1px; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #d3d8de; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #b8bfc7; }
::-webkit-scrollbar-track { background: transparent; }

/* 登录页：玻璃卡片 + 呼吸光斑 */
#login {
  background:
    radial-gradient(600px 320px at 12% 18%, rgba(99, 102, 241, .14), transparent 60%),
    radial-gradient(520px 300px at 88% 82%, rgba(16, 185, 129, .12), transparent 60%),
    linear-gradient(135deg, #eef2ff 0%, #f6f7fb 48%, #ecfdf5 100%);
}
.login-box {
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 20px 60px rgba(31, 41, 55, .14), 0 4px 14px rgba(31, 41, 55, .06);
  backdrop-filter: blur(6px);
}
.login-box .brand::before {
  content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, #6366f1, #2563eb); margin-right: 9px;
  transform: rotate(45deg); vertical-align: 1px;
}

/* 侧边栏：渐变底 + 活动项指示条 */
.side {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border-right-color: #e9ecf1;
}
.side .logo { font-size: 15.5px; }
.side .logo::before {
  content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #2563eb); margin-right: 8px;
}
.nav a { position: relative; border-radius: 9px; }
.nav a.on { background: linear-gradient(90deg, var(--pri-l), #e4edff); }
.nav a.on::before {
  content: ''; position: absolute; left: -8px; top: 20%; bottom: 20%; width: 3px;
  border-radius: 3px; background: linear-gradient(180deg, #6366f1, #2563eb);
}
.nav a svg { transition: .15s; }
.nav a.on svg { opacity: 1; color: var(--pri); }

/* 卡片：更柔的圆角 + 悬浮微抬 + 顶部高光 */
.card {
  border-radius: 12px; border-color: #e9ecf1;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 4px 14px rgba(16, 24, 40, .05);
  transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 10px 28px rgba(16, 24, 40, .08); }
.card-h { background: linear-gradient(180deg, #fcfdff, #ffffff); }
.card-h h3 { font-size: 14px; letter-spacing: .2px; }

/* 按钮：主按钮渐变 + 光泽 */
.btn { border-radius: 8px; }
.btn.pri {
  background: linear-gradient(180deg, #3b76f0, #2563eb);
  box-shadow: 0 1px 2px rgba(37, 99, 235, .35);
}
.btn.pri:hover {
  background: linear-gradient(180deg, #3468da, #1d4ed8);
  box-shadow: 0 2px 6px rgba(37, 99, 235, .4);
}
.btn.ok {
  background: linear-gradient(180deg, #10b47e, #059669);
  box-shadow: 0 1px 2px rgba(5, 150, 105, .3);
}

/* 页标题：更清晰 */
.head h2 { font-size: 20px; letter-spacing: .2px; }
.head h2::after {
  content: ''; display: block; width: 26px; height: 3px; border-radius: 2px; margin-top: 6px;
  background: linear-gradient(90deg, #6366f1, #2563eb, transparent);
}

/* 统计卡：彩色顶边 + 数字渐变色 */
.stats { gap: 13px; }
.stat {
  border-radius: 12px; border-color: #e9ecf1; position: relative; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.stat::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #6366f1, #2563eb, #38bdf8);
}
.stat:nth-child(2)::before { background: linear-gradient(90deg, #10b981, #059669, #6ee7b7); }
.stat:nth-child(3)::before { background: linear-gradient(90deg, #f59e0b, #d97706, #fcd34d); }
.stat:nth-child(4)::before { background: linear-gradient(90deg, #f43f5e, #dc2626, #fda4af); }
.stat:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16, 24, 40, .09); }
.stat .v { font-size: 24px; letter-spacing: .3px; }

/* 表格：表头大写间距感 + 行悬停柔和 */
table.tb th { background: #f8fafd; color: #7a8494; text-transform: none; letter-spacing: .3px; }
table.tb tbody tr { transition: background .1s; }
table.tb tbody tr:hover { background: #f7faff; }

/* 徽章：更精致 */
.chip { border: 1px solid transparent; padding: 2px 9px; }
.chip.blue { border-color: #dbe7ff; }
.chip.green { border-color: #d3f0e3; }
.chip.red { border-color: #fcdcdc; }
.chip.amber { border-color: #fdeecb; }
.chip.gray { border-color: #e7eaee; }

/* 横幅：左侧色条 */
.banner { border-radius: 9px; position: relative; padding-left: 16px; }
.banner::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px;
}
.banner.info::before { background: #3b76f0; }
.banner.ok::before { background: #059669; }
.banner.warn::before { background: #d97706; }
.banner.bad::before { background: #dc2626; }

/* 进度条：渐变 + 动效 */
.pg { height: 6px; border-radius: 6px; background: #edf0f4; }
.pg > i {
  border-radius: 6px;
  background: linear-gradient(90deg, #6366f1, #2563eb);
  transition: width .35s ease;
}

/* 周报条目：更松的呼吸感 */
.rp-item { padding: 13px 18px; }
.rp-item.done .left .t { color: #374151; }

/* 模态：更利落 */
.modal { border-radius: 14px; box-shadow: 0 24px 64px rgba(15, 23, 42, .24); }
.mask { background: rgba(15, 23, 42, .42); backdrop-filter: blur(2px); }

/* Toast：玻璃暗色 */
.toast {
  background: rgba(17, 24, 39, .92); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .08);
}

/* 日历：更细腻 */
.cal .d { border-radius: 9px; transition: .12s; }
.cal .d:not(.off):hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(16, 24, 40, .08); }

/* tabs */
.tabs a { padding: 9px 15px; transition: .12s; }
.tabs a:hover { color: var(--text); }
