/* PDCA 工作安排管理系统 · 界面样式 */
:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --ink: #1b2434;
  --ink-2: #465166;
  --muted: #7e8798;
  --line: #e6eaf2;
  --pri: #2f6df6;
  --pri-d: #1f55d0;
  --p: #2f6df6;
  --d: #12a179;
  --c: #e0872b;
  --a: #8b5cf6;
  --danger: #e04b4b;
  --sidebar: #111b2b;
  --shadow: 0 1px 2px rgba(17, 27, 43, .04), 0 8px 24px rgba(17, 27, 43, .06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.6 -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pri); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 600; }
.muted { color: var(--muted); font-size: 12.5px; }
.mono { font-family: "SFMono-Regular", Consolas, "Courier New", monospace; font-size: 12px; color: var(--ink-2); }
.red { color: var(--danger) !important; }

/* ---------- 布局 ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 236px; flex: 0 0 236px;
  background: linear-gradient(180deg, #142136 0%, #0e1726 100%);
  color: #dfe7f4;
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 20px 18px 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
.brand .logo {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, #2f6df6, #12a179);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; letter-spacing: .5px; color: #fff;
}
.brand .t { font-size: 15px; font-weight: 700; color: #fff; }
.brand .s { font-size: 9.5px; letter-spacing: 1.6px; color: #7f93b3; margin-top: 2px; }

.nav { flex: 1; padding: 12px 10px; overflow-y: auto; }
.nav-group { font-size: 11px; color: #62748f; padding: 10px 12px 6px; letter-spacing: 1px; }
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; margin-bottom: 2px;
  border-radius: 8px; color: #c3cfe3; font-size: 13.5px;
  position: relative;
}
.nav a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.nav a.active { background: linear-gradient(90deg, rgba(47,109,246,.22), rgba(47,109,246,.05)); color: #fff; }
.nav a.active::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  border-radius: 2px; background: #5b8dff;
}
.nav .ico { width: 18px; text-align: center; font-size: 14px; opacity: .85; }
.nav .txt { flex: 1; }
.nav .num {
  min-width: 20px; height: 18px; line-height: 18px; text-align: center;
  font-size: 11px; border-radius: 9px; background: rgba(255,255,255,.14); color: #e8eefb; padding: 0 6px;
}
.nav .num.red { background: #e04b4b; color: #fff !important; }

.side-foot { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.07); }
.side-foot .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(91,141,255,.22);
  color: #cfe0ff; display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.side-foot .nm { font-size: 13px; color: #eaf0fb; }
.side-foot .sub { font-size: 11px; color: #7f93b3; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 58px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; padding: 0 20px;
  position: sticky; top: 0; z-index: 20;
}
.topbar .title { font-size: 15px; font-weight: 600; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar .date { color: var(--muted); font-size: 12.5px; }
.burger { display: none; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink-2); }
.badge { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: #fff1f1; color: var(--danger); font-weight: 600; }
.badge.orange { background: #fff5e8; color: #c1731b; }

.content { padding: 20px 22px 40px; }

/* ---------- 按钮 / 表单 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 13px; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: .15s;
}
.btn:hover { border-color: #cfd7e6; background: #fafbfe; text-decoration: none; }
.btn.primary { background: var(--pri); border-color: var(--pri); color: #fff; font-weight: 600; }
.btn.primary:hover { background: var(--pri-d); border-color: var(--pri-d); }
.btn.danger { color: var(--danger); border-color: #f4cccc; background: #fff7f7; }
.btn.ghost { background: transparent; color: var(--ink-2); }
.btn.sm { height: 29px; padding: 0 11px; font-size: 12.5px; border-radius: 7px; }
.btn.block { width: 100%; height: 40px; font-size: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.field label em { color: var(--danger); font-style: normal; }
.field input[type=text], .field input[type=password], .field input[type=date], .field input[type=number],
.field input[type=file], .field select, .field textarea, .filters input, .filters select, .inline-form input, .inline-form select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 11px; font: inherit; font-size: 13px; color: var(--ink);
  background: #fff; outline: none; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus, .filters input:focus, .filters select:focus {
  border-color: #a9c1fb; box-shadow: 0 0 0 3px rgba(47,109,246,.1);
}
.field textarea { resize: vertical; }
.field .hint { font-size: 11.5px; color: var(--muted); }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.chk input { width: 15px; height: 15px; accent-color: var(--pri); }

.flash { padding: 10px 14px; border-radius: 9px; margin-bottom: 16px; font-size: 13px; }
.flash.ok { background: #eafaf3; color: #0c7d5c; border: 1px solid #c9efdf; }
.flash.error { background: #fff3f3; color: #b93434; border: 1px solid #f6d5d5; }

/* ---------- 页头 ---------- */
.page-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.page-head h1 { font-size: 22px; letter-spacing: -.2px; }
.page-head p { margin: 4px 0 0; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inline-form { display: flex; align-items: center; gap: 8px; }
.inline-form select, .inline-form input { height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; background: #fff; }

/* ---------- 卡片 ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card-hd { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.card-hd h2 { font-size: 15px; flex: 1; min-width: 0; }
.card-hd small { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 6px; }
.card-hd .link { margin-left: auto; }
.link { font-size: 12.5px; }
button.link {
  background: none; border: 0; padding: 0; margin-left: 10px;
  font: inherit; font-size: 12.5px; color: var(--pri); cursor: pointer;
}
button.link:hover { text-decoration: underline; }
button.link.danger { color: var(--danger); }
.empty { padding: 26px 10px; text-align: center; color: var(--muted); font-size: 13px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-side { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }

/* ---------- 工作台 ---------- */
.cyclebar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.cy {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  border-left: 4px solid var(--pri);
}
.cy:hover { transform: translateY(-1px); text-decoration: none; }
.cy .cc {
  width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; color: #fff;
}
.cy .cl b { display: block; font-size: 14px; }
.cy .cl i { font-style: normal; font-size: 12px; color: var(--muted); }
.cy-p .cc { background: var(--p); } .cy-p { border-left-color: var(--p); }
.cy-d .cc { background: var(--d); } .cy-d { border-left-color: var(--d); }
.cy-c .cc { background: var(--c); } .cy-c { border-left-color: var(--c); }
.cy-a .cc { background: var(--a); } .cy-a { border-left-color: var(--a); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.kpi .kl { font-size: 12.5px; color: var(--muted); }
.kpi .kv { font-size: 30px; font-weight: 700; line-height: 1.25; letter-spacing: -.5px; }
.kpi .kv .unit { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.kpi .kx { font-size: 12px; color: var(--muted); }
.kpi.warn { border-color: #f6d5d5; background: #fffafa; }
.kpi.warn .kv { color: var(--danger); }

.todo-list { padding: 6px 0; }
.todo { display: flex; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #f1f3f8; color: var(--ink); }
.todo:last-child { border-bottom: 0; }
.todo:hover { background: #fafbfe; text-decoration: none; }
.todo .tl { flex: 1; min-width: 0; }
.todo .tt { font-size: 14px; font-weight: 600; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo .tm { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.todo .tr { width: 190px; flex: 0 0 190px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.due { font-size: 12px; color: var(--ink-2); background: #f1f5ff; padding: 2px 8px; border-radius: 6px; }
.due.over { background: #fff0f0; color: var(--danger); font-weight: 600; }
.due.soon { background: #fff7e8; color: #b96a12; }

.alert-list { padding: 4px 0; }
.alert-row { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid #f1f3f8; }
.alert-row:last-child { border-bottom: 0; }
.ad {
  width: 48px; height: 44px; flex: 0 0 48px; border-radius: 9px; background: #f1f5ff; color: var(--pri);
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; line-height: 1.1;
}
.ad small { font-size: 10px; font-weight: 400; }
.ad.over { background: #fff0f0; color: var(--danger); }
.ad.soon { background: #fff7e8; color: #b96a12; }
.ad + .ac { flex: 1; min-width: 0; }
.ad .ac a { font-size: 13.5px; }

.bars { padding: 14px 18px; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bar-row .bl { width: 110px; flex: 0 0 110px; font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row .bv { flex: 1; height: 8px; background: #eef1f7; border-radius: 5px; overflow: hidden; }
.bar-row .bv i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #5b8dff, #2f6df6); }
.bar-row .bn { width: 28px; text-align: right; font-weight: 600; font-size: 12.5px; }

.feed { padding: 8px 18px 16px; }
.feed-item { display: flex; gap: 12px; padding: 10px 0; position: relative; }
.feed-item .dot { width: 9px; height: 9px; border-radius: 50%; background: #b9c8e6; margin-top: 7px; flex: 0 0 9px; }
.feed-item .fc > div { font-size: 13.5px; }
.feed-item .ftext { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- 徽标 / 进度 ---------- */
.st { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.st-p { background: #eaf1ff; color: var(--p); }
.st-d { background: #e6f7f1; color: var(--d); }
.st-c { background: #fdf1e2; color: #bd6a14; }
.st-a { background: #f2ecff; color: #7345e0; }

.pill { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: #f1f3f8; color: var(--ink-2); }
.ps-draft { background: #f1f3f8; color: #6b7488; }
.ps-doing { background: #e8f8f2; color: #0c8a65; }
.ps-checking { background: #fdf1e2; color: #bd6a14; }
.ps-acting { background: #f2ecff; color: #7345e0; }
.ps-closed { background: #eef1f7; color: #667089; }
.ps-blocked { background: #fff0f0; color: #c23a3a; }
.pp-urgent { background: #ffe9e9; color: #d13333; font-weight: 600; }
.pp-high { background: #fff3e3; color: #c1731b; }
.pp-mid { background: #eef3ff; color: #3a63c4; }
.pp-low { background: #f1f3f8; color: #77808f; }
.pill.dim { background: #f6f7fa; color: #8b93a3; }
.pill.cyc { background: #eef7ff; color: #2b74b8; }
.pill.pv-pill { background: #eaf1ff; color: var(--pri); }
.pill.at-standard { background: #e8f8f2; color: #0c8a65; }
.pill.at-fix { background: #fff3e3; color: #c1731b; }
.pill.at-spread { background: #eef3ff; color: #3a63c4; }
.pill.at-next { background: #f2ecff; color: #7345e0; }
.pill.at-drop { background: #f1f3f8; color: #77808f; }

.progress { display: flex; align-items: center; gap: 8px; }
.pbar { flex: 1; height: 7px; background: #eef1f7; border-radius: 4px; overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 4px; transition: width .3s; }
.pbar.low i { background: #c9d3e6; }
.pbar.mid i { background: #6f9bfa; }
.pbar.good i { background: #12a179; }
.pbar.full i { background: linear-gradient(90deg, #12a179, #22c08f); }
.pv { font-size: 11.5px; color: var(--muted); width: 34px; text-align: right; }

/* ---------- 筛选 / 表格 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.filters input[type=text] { width: 230px; height: 34px; }
.filters select { width: 128px; height: 34px; }
.filters .chk { margin: 0 4px; }

.table-wrap { overflow-x: auto; }
.table-wrap .tbl { min-width: 680px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl thead th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: #fafbfe; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl tbody td { padding: 11px 14px; border-bottom: 1px solid #f1f3f8; vertical-align: middle; font-size: 13px; }
.tbl tbody tr:hover { background: #fcfdff; }
.tbl tbody tr.closed { opacity: .72; }
.tbl.compact tbody td, .tbl.compact thead th { padding: 8px 12px; }
.t-title { font-weight: 600; font-size: 13.5px; }
.t-title a { color: var(--ink); }
.t-title a:hover { color: var(--pri); text-decoration: none; }
.t-sub { display: flex; gap: 6px; align-items: center; margin-top: 3px; flex-wrap: wrap; }
.due-mini { font-size: 11px; color: var(--muted); }
.due-mini.over { color: var(--danger); font-weight: 600; }
.due-mini.soon { color: #b96a12; }

/* 工作列表（响应式行卡片） */
.task-list { overflow: hidden; }
.tlist-head {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 136px 146px 104px;
  gap: 10px; padding: 11px 18px; background: #fafbfe;
  border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.task-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 136px 146px 104px;
  gap: 10px; padding: 13px 18px; align-items: center;
  border-bottom: 1px solid #f1f3f8; color: var(--ink); text-decoration: none;
}
.task-row:last-child { border-bottom: 0; }
.task-row:hover { background: #fbfcff; text-decoration: none; }
.task-row.closed { opacity: .7; }
.tr-num { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tr-main { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.tr-main .t-title { font-size: 14px; }
.tr-main .t-sub { margin-top: 0; }
.tr-dept b { display: block; font-weight: 600; font-size: 13px; }
.tr-dept i { font-style: normal; font-size: 12px; color: var(--muted); }
.tr-due { display: flex; flex-direction: column; gap: 2px; }
.tr-due b { font-size: 12.5px; font-weight: 600; }

.pager { display: flex; gap: 6px; justify-content: center; margin: 4px 0 20px; }.pager a { min-width: 32px; height: 32px; line-height: 32px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font-size: 13px; }
.pager a.active { background: var(--pri); border-color: var(--pri); color: #fff; font-weight: 600; }
.pager a:hover { text-decoration: none; border-color: #c8d4ea; }

/* ---------- 详情页 ---------- */
.detail-head { padding: 18px 22px; }
.dh-top { display: flex; gap: 16px; align-items: flex-start; }
.dh-l { flex: 1; min-width: 0; }
.dh-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.dh-l h1 { font-size: 24px; letter-spacing: -.3px; line-height: 1.35; }
.dh-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.dh-meta b { color: var(--ink-2); }
.dh-r { display: flex; gap: 8px; flex: 0 0 auto; }

.dh-progress { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.dp-label { font-size: 12px; color: var(--muted); }
.dp-bar { flex: 1; height: 10px; background: #eef1f7; border-radius: 6px; overflow: hidden; }
.dp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #5b8dff, #2f6df6); border-radius: 6px; transition: width .4s; }
.dp-bar i.full { background: linear-gradient(90deg, #12a179, #22c08f); }
.dp-num { font-size: 18px; font-weight: 700; width: 54px; text-align: right; }

.stage-flow { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.sf { display: flex; align-items: center; gap: 7px; }
.sf .sfdot {
  width: 26px; height: 26px; border-radius: 50%; background: #f1f3f8; color: #9aa3b4;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; border: 2px solid transparent;
}
.sf .sflabel { font-size: 12px; color: var(--muted); }
.sf.done .sfdot { background: #eaf7f2; color: #12a179; }
.sf.done .sflabel { color: var(--ink-2); }
.sf.cur .sfdot { background: var(--pri); color: #fff; box-shadow: 0 0 0 4px rgba(47,109,246,.13); }
.sf.cur .sflabel { color: var(--pri); font-weight: 600; }
.sfline { height: 2px; width: 46px; background: #eef1f7; border-radius: 1px; }
.sfline.done { background: #b9d8cc; }

.stage-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.stage-actions form { display: inline; }
.close-box { display: none; margin-top: 14px; padding: 14px; background: #fafbfe; border: 1px solid var(--line); border-radius: 10px; }
.close-box.open { display: block; }
.close-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.close-form .field { flex: 1; min-width: 240px; margin-bottom: 0; }

.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.dmain { min-width: 0; }
.dside .side-card { position: static; }

.p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; }
.pcell { background: #fafbfe; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.pcell .pl { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.pcell .pc { font-size: 13px; color: var(--ink-2); }

.timeline { padding: 16px 20px 4px; }
.tl-item { display: flex; gap: 14px; padding-bottom: 12px; }
.tl-date { width: 72px; flex: 0 0 72px; font-size: 12px; color: var(--muted); padding-top: 2px; }
.tl-body { flex: 1; border-left: 2px solid #e8edf7; padding: 0 0 14px 16px; position: relative; }
.tl-body::before { content: ""; position: absolute; left: -6px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #b9c8e6; }
.tl-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.tl-text { font-size: 13px; color: var(--ink-2); }
.tl-block { margin-top: 6px; background: #fff7f5; border: 1px dashed #f2cdc4; border-radius: 8px; padding: 7px 10px; font-size: 12.5px; color: #a7553f; }
.tl-block span { font-weight: 700; margin-right: 6px; }

.filechip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; background: #f4f7fd; border: 1px solid #e3eaf8; color: #3a63c4; border-radius: 6px; padding: 2px 8px; margin: 4px 6px 0 0; }
.filechip:hover { background: #eaf1ff; text-decoration: none; }

.addbox { margin: 8px 18px 18px; border: 1px dashed #d7deee; border-radius: 10px; background: #fcfdff; }
.addbox summary { cursor: pointer; padding: 10px 14px; font-size: 13px; color: var(--pri); font-weight: 600; list-style: none; }
.addbox summary::-webkit-details-marker { display: none; }
.addbox[open] summary { border-bottom: 1px dashed #d7deee; }
.addform { padding: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .col-2 { grid-column: span 2; }
.form-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; }
.form-foot .spacer { flex: 1; }
.addform .form-foot { padding: 0; margin-top: 4px; }

.form-card > form { padding: 0 18px 18px; }
.form-sec { padding: 4px 18px 0; }
.sec-t { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 14px 0 12px; }
.sc { width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
.sc.p { background: var(--p); } .sc.d { background: var(--d); } .sc.c { background: var(--c); } .sc.a { background: var(--a); }

.co-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.co-item { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px; cursor: pointer; background: #fff; }
.co-item input { accent-color: var(--pri); }
.co-item:has(input:checked) { border-color: #a9c1fb; background: #f2f7ff; color: var(--pri); }

.check-list { padding: 14px 18px; }
.check-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; background: #fff; }
.check-item.ok { border-left: 4px solid var(--d); }
.check-item.warn { border-left: 4px solid var(--c); }
.check-item.bad { border-left: 4px solid var(--danger); }
.ci-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.ci-res { font-weight: 700; font-size: 13px; }
.check-item.ok .ci-res { color: var(--d); }
.check-item.warn .ci-res { color: #bd6a14; }
.check-item.bad .ci-res { color: var(--danger); }
.ci-score { font-size: 12px; background: #f6f7fa; border-radius: 6px; padding: 1px 7px; color: var(--ink-2); }
.ci-row { display: flex; gap: 8px; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.ci-row label { flex: 0 0 46px; color: var(--muted); }

.act-list { padding: 14px 18px; }
.act-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.ai-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 5px; }
.ai-text { font-size: 13px; color: var(--ink-2); }

.side-card .card-hd { padding: 12px 16px; }
.info-rows { padding: 6px 16px 14px; }
.ir { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #f0f3f9; font-size: 12.5px; }
.ir:last-child { border-bottom: 0; }
.ir span { width: 84px; flex: 0 0 84px; color: var(--muted); }
.ir b { font-weight: 600; color: var(--ink-2); }
.tips { padding: 14px 16px; font-size: 12.5px; color: var(--ink-2); }
.tips p { margin: 0 0 8px; }
.tips p:last-child { margin-bottom: 0; }
.tips b { color: var(--pri); }
.rel { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }

/* ---------- 看板 ---------- */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; }
.kcol { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.khead { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-bottom: 3px solid var(--pri); background: #fafbfe; }
.kdot { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 12px; background: var(--pri); }
.khead h3 { font-size: 13px; flex: 1; }
.kcount { font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.kh-p { border-bottom-color: var(--p); } .kh-p .kdot { background: var(--p); }
.kh-d { border-bottom-color: var(--d); } .kh-d .kdot { background: var(--d); }
.kh-c { border-bottom-color: var(--c); } .kh-c .kdot { background: var(--c); }
.kh-a { border-bottom-color: var(--a); } .kh-a .kdot { background: var(--a); }
.kbody { padding: 10px; min-height: 180px; display: flex; flex-direction: column; gap: 8px; transition: background .15s; }
.kbody.drag-over { background: #f2f7ff; outline: 2px dashed #a9c1fb; outline-offset: -6px; border-radius: 8px; }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; box-shadow: 0 1px 2px rgba(17,27,43,.04); cursor: grab; }
.kcard[draggable=true]:hover { border-color: #c8d6ef; box-shadow: 0 4px 12px rgba(17,27,43,.08); }
.kcard.dragging { opacity: .45; }
.kc-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 5px; }
.kc-title { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.45; margin-bottom: 6px; }
.kc-title:hover { color: var(--pri); text-decoration: none; }
.kc-meta { display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--muted); margin-bottom: 7px; }
.kcard .progress { margin-bottom: 7px; }
.kc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; }
.kempty { padding: 20px 8px; text-align: center; color: #b4bccb; font-size: 12.5px; border: 1px dashed #e6eaf2; border-radius: 8px; }
.kanban-tip { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- 日历 ---------- */
.cal-wrap { padding: 0; overflow: hidden; }
.cal-head { display: grid; grid-template-columns: repeat(7, 1fr); background: #fafbfe; border-bottom: 1px solid var(--line); }
.cal-head div { padding: 10px; text-align: center; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-cell { min-height: 104px; border-right: 1px solid #f1f3f8; border-bottom: 1px solid #f1f3f8; padding: 7px 8px; position: relative; }
.cal-cell.blank { background: #fbfcfe; }
.cal-cell.h1 { background: #fbfcff; }
.cal-cell.h2 { background: #f5f9ff; }
.cal-cell.h3 { background: #edf4ff; }
.cal-cell.today { box-shadow: inset 0 0 0 2px #a9c1fb; background: #f7faff; }
.cal-d { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; display: flex; justify-content: space-between; }
.cal-n { font-size: 10px; font-weight: 400; color: #fff; background: #9fb6dd; border-radius: 8px; padding: 0 5px; }
.cal-items { display: flex; flex-direction: column; gap: 3px; }
.cal-item { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--ink-2); padding: 2px 4px; border-radius: 4px; background: rgba(255,255,255,.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-item:hover { text-decoration: none; background: #fff; }
.cal-item i { width: 5px; height: 5px; border-radius: 50%; flex: 0 0 5px; }
.cal-item i.p { background: var(--p); } .cal-item i.d { background: var(--d); } .cal-item i.c { background: var(--c); } .cal-item i.a { background: var(--a); }
.cal-item.done { color: #a4acbb; text-decoration: line-through; }
.cal-item.over { color: var(--danger); }
.cal-more { font-size: 10.5px; color: var(--muted); padding: 1px 4px; }
.cal-legend { display: flex; gap: 16px; font-size: 12px; color: var(--ink-2); align-items: center; padding: 4px 4px 20px; flex-wrap: wrap; }
.cal-legend .lg { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.cal-legend .lg.p { background: var(--p); } .cal-legend .lg.d { background: var(--d); } .cal-legend .lg.c { background: var(--c); } .cal-legend .lg.a { background: var(--a); }

/* ---------- 统计 ---------- */
.donut-wrap { display: flex; align-items: center; gap: 24px; padding: 20px; }
.donut { width: 170px; height: 170px; border-radius: 50%; position: relative; flex: 0 0 170px; }
.donut-hole { position: absolute; inset: 26px; background: #fff; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-hole b { font-size: 26px; }
.donut-hole small { font-size: 11.5px; color: var(--muted); }
.donut-legend { flex: 1; }
.dl-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12.5px; }
.dl-row i { width: 8px; height: 8px; border-radius: 2px; }
.dl-row span { flex: 1; color: var(--ink-2); }
.dl-row b { width: 34px; text-align: right; }
.dl-row em { font-style: normal; color: var(--muted); width: 42px; text-align: right; font-size: 11.5px; }

.trend { display: flex; gap: 14px; align-items: flex-end; padding: 20px 20px 10px; height: 210px; }
.tr-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.tr-bars { display: flex; gap: 3px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.trb { width: 13px; border-radius: 3px 3px 0 0; min-height: 2px; transition: height .3s; }
.trb.new { background: #9fbcfd; }
.trb.done { background: #22c08f; }
.tr-lab { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.tr-num { font-size: 11px; color: var(--ink-2); }
.legend-inline { display: flex; gap: 16px; padding: 0 20px 16px; font-size: 11.5px; color: var(--muted); }
.legend-inline i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; }
.b-new { background: #9fbcfd; } .b-done { background: #22c08f; }

.rank { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 6px; background: #f1f3f8; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.rank.r1 { background: #fff0e0; color: #c26a10; }
.rank.r2 { background: #f0f4fb; color: #4a658c; }
.rank.r3 { background: #f5efec; color: #8a6a52; }

/* ---------- 登录页 ---------- */
.login-body { background: linear-gradient(135deg, #0f1b2e 0%, #17294a 50%, #10243d 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px; }
.login-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; max-width: 980px; width: 100%; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.login-hero { background: linear-gradient(160deg, #16233a, #0f1b2e); color: #dce6f7; padding: 44px 46px; }
.ring { display: flex; gap: 8px; margin-bottom: 26px; }
.ring .seg { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 16px; }
.ring .seg.p { background: linear-gradient(135deg, #4b83ff, #2f6df6); }
.ring .seg.d { background: linear-gradient(135deg, #22c08f, #12a179); }
.ring .seg.c { background: linear-gradient(135deg, #f2a54a, #e0872b); }
.ring .seg.a { background: linear-gradient(135deg, #a583f8, #8b5cf6); }
.login-hero h1 { font-size: 27px; color: #fff; letter-spacing: -.3px; line-height: 1.4; }
.login-hero .org { color: #8fa6c8; font-size: 13px; margin: 6px 0 26px; letter-spacing: .5px; }
.cycle { list-style: none; padding: 0; margin: 0; }
.cycle li { font-size: 13px; color: #b8c8e2; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.07); }
.cycle b { display: inline-block; width: 20px; color: #fff; }
.login-card { background: #fff; padding: 44px 44px 36px; display: flex; flex-direction: column; justify-content: center; }
.login-card h2 { font-size: 20px; margin-bottom: 4px; }
.login-card .muted { margin: 0 0 22px; }
.login-card .field { margin-bottom: 16px; }
.login-card .btn.block { margin-top: 6px; }
.login-card .tip { font-size: 11.5px; color: var(--muted); margin-top: 18px; line-height: 1.7; background: #f7f9fd; border-radius: 8px; padding: 10px 12px; }
.login-card.center { max-width: 480px; border-radius: 14px; text-align: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .grid-2, .detail-grid { grid-template-columns: 1fr; }
  .grid-side { grid-template-columns: 1fr; }
  .kpis, .cyclebar { grid-template-columns: repeat(2, 1fr); }
  .kanban { grid-template-columns: repeat(2, 1fr); }
  .detail-grid .dside { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; left: 0; top: 0; z-index: 40; transform: translateX(-100%); transition: .2s; }
  .sidebar.open { transform: translateX(0); }
  .burger { display: block; }
  .cal-grid, .cal-head { min-width: 700px; }
  .cal-wrap { overflow-x: auto; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-hero { display: none; }
  .kanban { grid-template-columns: 1fr; }
  .filters input[type=text] { width: 100%; }
  .dh-top { flex-direction: column; }
  .p-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .col-2 { grid-column: span 1; }
  .topbar .date { display: none; }
  .tlist-head { display: none; }
  .task-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; }
  .task-row .tr-num { display: none; }
  .tr-dept { display: flex; align-items: center; gap: 8px; }
  .tr-dept b { display: inline; font-size: 12.5px; }
  .tr-due { flex-direction: row; justify-content: space-between; align-items: center; }
  .tr-due b { font-size: 12px; color: var(--muted); font-weight: 400; }
}

/* ---------- 手机端专项适配 ---------- */
.side-exit { display: none; margin-left: auto; font-size: 12px; color: #9fb4d4; }
.side-exit:hover { color: #fff; text-decoration: none; }

.cal-agenda { display: none; }
.ca-row { display: flex; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #f1f3f8; }
.ca-row:last-child { border-bottom: 0; }
.ca-date { width: 70px; flex: 0 0 70px; text-align: center; }
.ca-date b { display: block; font-size: 16px; line-height: 1.3; color: var(--ink); }
.ca-date span { font-size: 10px; color: var(--muted); white-space: nowrap; }
.ca-date.today b { color: var(--pri); }
.ca-items { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 1px; }
.ca-item { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink); text-decoration: none; }
.ca-item i { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 6px; }
.ca-item i.p { background: var(--p); } .ca-item i.d { background: var(--d); }
.ca-item i.c { background: var(--c); } .ca-item i.a { background: var(--a); }
.ca-item .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-item.closed .t { color: #a4acbb; text-decoration: line-through; }
.ca-item.over .t { color: var(--danger); }
.ca-empty { font-size: 11.5px; color: var(--muted); }

/* 看板移动端阶段切换（触屏无拖拽） */
.kc-move { display: none; align-items: center; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #eef1f7; }
.kc-move label { font-size: 11.5px; color: var(--muted); }
.kc-move select {
  flex: 1; height: 32px; border: 1px solid var(--line); border-radius: 7px;
  font-size: 13px; background: #fff; color: var(--ink); padding: 0 8px;
}

@media (max-width: 860px) {
  .side-exit { display: inline-flex; }
  .kc-move { display: flex; }
}

@media (max-width: 620px) {
  body { overflow-x: hidden; }
  .content { padding: 14px 12px 34px; }
  .topbar { height: 54px; padding: 0 10px; gap: 8px; }
  .topbar .title { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar .right { gap: 6px; flex: 0 0 auto; }
  .topbar .right .badge { font-size: 11px; padding: 2px 6px; }
  .topbar .right .btn { height: 30px; padding: 0 10px; font-size: 12.5px; }
  .burger { font-size: 20px; line-height: 1; padding: 6px 2px; }

  .sidebar { width: 80%; max-width: 300px; }
  .nav a { padding: 11px 12px; font-size: 14px; }
  .side-foot { padding: 12px 14px; }

  .page-head { flex-direction: column; gap: 10px; margin-bottom: 14px; }
  .page-head h1 { font-size: 18px; }
  .page-head p { font-size: 12.5px; margin-top: 2px; }
  .head-actions { margin-left: 0; width: 100%; gap: 8px; }
  .head-actions > .btn, .head-actions > a.btn { flex: 1 1 0; }
  .head-actions form { flex: 1 1 100%; }
  .inline-form select { width: 100%; }

  .kpis, .cyclebar { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kpi { padding: 12px 13px; }
  .kpi .kv { font-size: 24px; }
  .kpi .kx { font-size: 11.5px; }
  .cy { padding: 10px 11px; gap: 9px; }
  .cy .cc { width: 30px; height: 30px; font-size: 14px; }
  .cy .cl b { font-size: 12.5px; }
  .cy .cl i { font-size: 11px; }

  .card { border-radius: 10px; margin-bottom: 14px; }
  .card-hd { padding: 12px 13px; gap: 8px; }
  .card-hd h2 { font-size: 14px; }
  .grid-2, .grid-side, .detail-grid { gap: 12px; min-width: 0; }
  .grid-2 > *, .grid-side > *, .detail-grid > *, .kpis > *, .cyclebar > *,
  .todo > *, .alert-row > *, .head-actions > * { min-width: 0; }
  .inline-form { min-width: 0; flex-wrap: wrap; width: 100%; }
  .inline-form input { flex: 1 1 calc(48% - 8px); width: auto; min-width: 0; }
  .inline-form select { flex: 1 1 100%; width: 100%; min-width: 0; }
  .inline-form .btn { flex: 0 0 auto; }

  .todo { flex-direction: column; gap: 8px; padding: 11px 13px; }
  .todo .tt { white-space: normal; }
  .todo .tr { width: 100%; flex: 0 0 auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .todo .tr .progress { flex: 1; }
  .alert-row { flex-wrap: wrap; gap: 8px; padding: 10px 13px; }
  .alert-row .ad { width: 42px; height: 40px; font-size: 14px; }
  .alert-row .ac { flex: 1 1 130px; }
  .bars { padding: 12px 13px; }
  .bar-row .bl { width: 76px; flex-basis: 76px; font-size: 11.5px; }
  .feed { padding: 4px 13px 12px; }

  .filters { gap: 8px; }
  .filters input[type=text] { width: 100%; }
  .filters select { width: calc(50% - 4px); flex: 1 1 calc(50% - 4px); }
  .filters .btn { flex: 1 1 0; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .table-wrap .tbl { min-width: 560px; }
  .tbl thead th, .tbl tbody td { padding: 9px 10px; font-size: 12.5px; }

  /* 账号 / 部门列表：手机上转成卡片 */
  .table-wrap:has(.tbl-cards), .table-wrap.card-cards { overflow: visible; }
  .tbl-cards { min-width: 0 !important; }
  .tbl-cards thead { display: none; }
  .tbl-cards tbody tr { display: block; padding: 11px 13px; border-bottom: 1px solid #f1f3f8; }
  .tbl-cards tbody tr:last-child { border-bottom: 0; }
  .tbl-cards tbody td { display: flex; align-items: baseline; gap: 10px; padding: 3px 0; border: 0; font-size: 12.5px; }
  .tbl-cards tbody td::before {
    content: attr(data-label); flex: 0 0 58px; color: var(--muted); font-size: 11.5px;
  }
  .tbl-cards tbody td[data-label="姓名"] { padding-bottom: 6px; }
  .tbl-cards tbody td[data-label="姓名"]::before { display: none; }
  .tbl-cards tbody td[data-label="姓名"] b { font-size: 15px; }
  .tbl-cards tbody td[data-label="操作"] { padding-top: 7px; }
  .tbl-cards tbody td[data-label="操作"] .link { margin-left: 0; margin-right: 14px; }

  .task-row { padding: 12px 13px; gap: 7px; }
  .task-row .t-title { font-size: 13.5px; }
  .tr-dept { flex-wrap: wrap; row-gap: 2px; }

  .detail-head { padding: 14px; }
  .dh-l h1 { font-size: 19px; }
  .dh-meta { gap: 6px 12px; font-size: 12px; }
  .dh-r { width: 100%; gap: 8px; }
  .dh-r .btn, .dh-r form { flex: 1 1 0; }
  .dh-r form .btn { width: 100%; }
  .dh-progress { gap: 8px; margin-top: 12px; padding-top: 12px; }
  .dp-num { width: 46px; font-size: 16px; }
  .stage-flow { flex-wrap: wrap; row-gap: 8px; margin-top: 12px; }
  .sfline { width: 18px; }
  .sf .sflabel { font-size: 11px; }
  .stage-actions { gap: 8px; }
  .stage-actions form { flex: 1 1 100%; }
  .stage-actions form .btn, .stage-actions > .btn { width: 100%; }
  .close-form { gap: 10px; }
  .close-form .field { min-width: 100%; }
  .close-form .field[style] { max-width: none !important; }
  .close-form .btn { width: 100%; }

  .p-grid { padding: 12px 13px; gap: 10px; }
  .timeline { padding: 12px 13px 2px; }
  .tl-item { gap: 8px; }
  .tl-date { width: 58px; flex-basis: 58px; font-size: 11px; }
  .tl-body { padding-left: 12px; }
  .addbox { margin: 6px 12px 14px; }
  .addform { padding: 12px 0; }
  .form-foot { flex-wrap: wrap; }
  .form-foot .btn, .addform .form-foot .btn { flex: 1 1 100%; }
  .check-list, .act-list { padding: 12px 13px; }
  .check-item, .act-item { padding: 10px 11px; }
  .ci-row { flex-direction: column; gap: 2px; }
  .ci-row label { flex: none; width: auto; }
  .tips, .info-rows { padding-left: 13px; padding-right: 13px; }

  .kanban { gap: 10px; }
  .kbody { min-height: 110px; padding: 8px; }
  .kcard { padding: 9px 10px; }
  .kc-title { font-size: 12.5px; }

  .cal-head, .cal-grid { display: none; }
  .cal-agenda { display: block; }
  .cal-wrap { overflow: visible; }
  .cal-legend { gap: 10px; padding: 4px 0 16px; }

  .donut-wrap { flex-direction: column; gap: 14px; padding: 14px; }
  .donut { width: 140px; height: 140px; flex-basis: 140px; }
  .donut-hole b { font-size: 20px; }
  .donut-legend { width: 100%; }
  .trend { padding: 14px 12px 6px; height: 170px; gap: 6px; }
  .trb { width: 8px; }
  .tr-bars { gap: 2px; }
  .tr-lab { font-size: 10px; }
  .legend-inline { padding: 0 12px 12px; gap: 10px; }

  .login-body { padding: 24px 14px; align-items: flex-start; }
  .login-wrap { border-radius: 14px; }
  .login-card { padding: 26px 20px 24px; }
  .login-card h2 { font-size: 18px; }
  .login-card .tip { font-size: 11px; }

  .field input, .field select, .field textarea, .filters input, .filters select,
  .inline-form input, .inline-form select { font-size: 16px; }
}

@media (max-width: 430px) {
  .topbar .right .badge { display: none; }
  .topbar .right .exit-btn { display: none; }
  .topbar .new-btn { padding: 0 11px; }
  .topbar .new-btn .btxt { display: none; }
  .topbar .new-btn .plus { font-size: 15px; }
  .kpis { gap: 8px; }
  .kpi { padding: 11px 12px; }
  .kpi .kv { font-size: 22px; }
  .page-head h1 { font-size: 17px; }
  .filters select { flex-basis: 100%; width: 100%; }
  .sf .sflabel { display: none; }
  .sfline { width: 14px; }
  .dh-l h1 { font-size: 17px; }
  .kc-foot { font-size: 10.5px; }
  .tl-date { width: 50px; flex-basis: 50px; }
  .ca-date { width: 62px; flex-basis: 62px; }
}
