/* ============ 管理端 ============ */
body.admin-body { background: var(--bg); }
.shell { display: flex; min-height: 100dvh; }

/* 侧栏 */
.sidebar {
  width: 240px; flex: none; position: fixed; top: 0; left: 0; bottom: 0; z-index: 40;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(27, 91, 247, 0.28), transparent 60%),
    linear-gradient(180deg, #0a1e38 0%, #07182e 55%, #061322 100%);
  color: #fff; display: flex; flex-direction: column; padding: 22px 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.side-brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 24px; }
.side-brand .name { font-size: 14.5px; font-weight: 700; letter-spacing: 0.01em; }
.side-brand .sub { font-size: 9.5px; color: rgba(255, 255, 255, 0.42); letter-spacing: 0.14em; margin-top: 2px; }
.side-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.side-nav::-webkit-scrollbar { display: none; }
.side-label { font-size: 10px; color: rgba(255, 255, 255, 0.3); letter-spacing: 0.14em; padding: 10px 12px 6px; }
.side-item {
  display: flex; align-items: center; gap: 11px; height: 43px; padding: 0 12px; border-radius: 11px;
  color: rgba(255, 255, 255, 0.62); border: 0; background: transparent; font-size: 13.5px; font-weight: 500;
  transition: all 0.18s var(--ease); text-align: left; position: relative;
}
.side-item .ico { width: 19px; height: 19px; opacity: 0.85; }
.side-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.side-item.on {
  background: linear-gradient(90deg, rgba(47, 116, 255, 0.28), rgba(47, 116, 255, 0.08));
  color: #fff; box-shadow: inset 0 0 0 1px rgba(90, 140, 255, 0.22);
}
.side-item.on::before {
  content: ""; position: absolute; left: -14px; top: 12px; bottom: 12px; width: 3px;
  border-radius: 0 3px 3px 0; background: #4d87ff;
}
.side-item .badge {
  margin-left: auto; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.side-foot { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 14px 6px 0; margin-top: 10px; }
.side-user { display: flex; align-items: center; gap: 9px; padding: 6px; border-radius: 10px; }
.side-user:hover { background: rgba(255, 255, 255, 0.06); }
.side-user .avatar { width: 32px; height: 32px; font-size: 11px; }
.side-user b { display: block; font-size: 12.5px; font-weight: 600; }
.side-user span { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.4); margin-top: 1px; }
.side-user .out { margin-left: auto; color: rgba(255, 255, 255, 0.4); }
.side-user .out:hover { color: #fff; }

/* 主区 */
.main { flex: 1; margin-left: 240px; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 66px; flex: none; display: flex; align-items: center; gap: 18px; padding: 0 28px;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30;
}
.crumb { font-size: 12px; color: var(--soft); display: flex; align-items: center; gap: 6px; }
.crumb b { color: var(--ink-2); font-weight: 600; }
.top-search { margin-left: auto; position: relative; width: 240px; }
.top-search .input { height: 38px; border-radius: 10px; padding-left: 38px; font-size: 13px; background: #f5f8fc; }
.top-search .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--soft); width: 16px; height: 16px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-user { display: flex; align-items: center; gap: 9px; padding-left: 12px; border-left: 1px solid var(--line); margin-left: 4px; }
.top-user b { font-size: 12.5px; }
.top-user span { display: block; font-size: 10.5px; color: var(--soft); }
.content { padding: 24px 28px 44px; max-width: 1560px; width: 100%; margin: 0 auto; }

/* 页头 */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.page-head p { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.page-head .actions { display: flex; gap: 9px; align-items: center; }

/* 统计卡 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card {
  background: #fff; border-radius: 16px; padding: 17px 18px; border: 1px solid rgba(15, 29, 51, 0.045);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.stat-card .st-top { display: flex; align-items: center; justify-content: space-between; }
.stat-card .si { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.stat-card .si.blue { background: var(--brand-50); color: var(--brand); }
.stat-card .si.amber { background: var(--amber-50); color: #c07d00; }
.stat-card .si.purple { background: var(--purple-50); color: var(--purple); }
.stat-card .si.teal { background: var(--teal-50); color: #0a9c8d; }
.stat-card .num { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin-top: 12px; }
.stat-card .num small { font-size: 12px; font-weight: 600; color: var(--soft); margin-left: 4px; letter-spacing: 0; }
.stat-card .lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat-card .foot { font-size: 11px; color: var(--soft); margin-top: 10px; display: flex; align-items: center; gap: 5px; }
.stat-card .foot b { color: var(--brand); font-weight: 600; }
.stat-card .arr { position: absolute; right: 14px; bottom: 10px; color: var(--brand); opacity: 0.5; }

/* 看板布局 */
.dash-grid { display: grid; grid-template-columns: 1.62fr 1fr; gap: 14px; margin-top: 14px; }
.dash-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel {
  background: #fff; border-radius: 16px; border: 1px solid rgba(15, 29, 51, 0.045);
  box-shadow: var(--shadow-sm); padding: 18px 20px;
}
.panel-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel-title { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.panel-title .ico { color: var(--brand); width: 17px; height: 17px; }
.panel-more { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 2px; cursor: pointer; }

/* 柱状图 */
.chart { display: flex; align-items: flex-end; gap: 10px; height: 132px; padding: 4px 2px 0; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; justify-content: flex-end; }
.chart .col i {
  display: block; width: 100%; max-width: 34px; border-radius: 7px 7px 3px 3px; min-height: 4px;
  background: linear-gradient(180deg, #6a97ff, #2a68f6); transition: all .3s; position: relative;
}
.chart .col:hover i { filter: brightness(1.06); }
.chart .col span { font-size: 10.5px; color: var(--soft); }
.chart .col b { font-size: 11px; font-weight: 600; color: var(--ink-2); }
.chart .col.today i { background: linear-gradient(180deg, #12b76a, #0a9c5d); }
.chart-summary { display: flex; gap: 20px; padding-top: 10px; margin-top: 10px; border-top: 1px dashed var(--line); }
.chart-summary div { font-size: 11px; color: var(--muted); }
.chart-summary b { display: block; font-size: 16px; color: var(--ink); margin-top: 1px; }

/* 待办 */
.todo-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2);
}
.todo-row:last-child { border-bottom: 0; padding-bottom: 0; }
.todo-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.todo-ic.amber { background: var(--amber-50); color: #c07d00; }
.todo-ic.purple { background: var(--purple-50); color: var(--purple); }
.todo-ic.blue { background: var(--brand-50); color: var(--brand); }
.todo-main { flex: 1; min-width: 0; }
.todo-main b { font-size: 12.5px; font-weight: 600; display: block; }
.todo-main span { font-size: 11px; color: var(--soft); display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo-row .btn { flex: none; }
.todo-empty { padding: 22px 0; text-align: center; color: var(--soft); font-size: 12.5px; }

/* 评价卡 */
.score-big { display: flex; align-items: flex-end; gap: 8px; }
.score-big b { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.score-big span { font-size: 12px; color: var(--soft); padding-bottom: 3px; }
.stars { display: flex; gap: 2px; color: #f5a524; margin-top: 6px; }
.stars .ico { width: 14px; height: 14px; fill: #f5a524; stroke: #f5a524; }
.score-meta { display: flex; gap: 18px; margin-top: 12px; }
.score-meta div { font-size: 11px; color: var(--muted); }
.score-meta b { display: block; font-size: 16px; color: var(--ink); margin-top: 1px; }
.quote {
  margin-top: 14px; padding: 11px 12px; background: #f8fafd; border-radius: 10px; font-size: 12px;
  color: var(--ink-2); line-height: 1.65; border-left: 3px solid var(--brand);
}
.quote span { display: block; font-size: 10.5px; color: var(--soft); margin-top: 5px; }

/* 人员动态 */
.dyn-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.dyn-row:last-child { border-bottom: 0; }
.dyn-row .avatar { width: 30px; height: 30px; font-size: 11px; }
.dyn-main { flex: 1; min-width: 0; }
.dyn-main b { font-size: 12.5px; font-weight: 600; }
.dyn-main span { display: block; font-size: 10.5px; color: var(--soft); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dyn-status { font-size: 10.5px; color: var(--muted); text-align: right; }
.dyn-status i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 4px; }
.dyn-status i.idle { background: #c7d2e2; }

/* 工具条 */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.filters { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.search-box { position: relative; width: 260px; }
.search-box .input { height: 38px; padding-left: 36px; font-size: 13px; border-radius: 10px; background: #fff; }
.search-box .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--soft); }
.select.sm { height: 38px; width: auto; min-width: 120px; border-radius: 10px; background-color: #fff; font-size: 13px; }
.count-note { font-size: 12px; color: var(--soft); }

/* 工单表 */
.table-card { background: #fff; border-radius: 16px; border: 1px solid rgba(15, 29, 51, 0.045); box-shadow: var(--shadow-sm); overflow: hidden; }
.table-card .table-wrap { overflow: auto; }
.table-card table.tb { min-width: 1000px; }
.table-card table.tb thead th { padding: 13px 16px; background: #f9fbfe; }
.table-card table.tb td:first-child .td-main { white-space: nowrap; }
.table-card table.tb tbody td { padding: 14px 16px; }
.cell-title { font-weight: 600; font-size: 13px; color: var(--ink); max-width: 300px; }
.cell-sub { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.id-code { font-size: 11.5px; color: var(--soft); letter-spacing: 0.02em; }
.person-cell { display: flex; align-items: center; gap: 7px; }
.person-cell .avatar { width: 26px; height: 26px; font-size: 10px; }
.status-cell { min-width: 104px; }

/* 项目卡 */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pcard {
  background: #fff; border-radius: 16px; padding: 18px; border: 1px solid rgba(15, 29, 51, 0.045);
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s;
  display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11, 27, 51, 0.1); }
.pcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pcard h3 { font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.pcard .addr { font-size: 11.5px; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.pcard .addr .ico { width: 12px; height: 12px; }
.pcard .prog-block { margin-top: 14px; }
.pcard .prog-label { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.pcard .prog-label b { color: var(--ink-2); }
.pcard .pmeta { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.pcard .pmeta .who { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.pcard .pmeta .who .avatar { width: 24px; height: 24px; font-size: 9px; }
.pcard .pcode { font-size: 10.5px; color: var(--soft); letter-spacing: 0.04em; }

/* 审核 / 签单 */
.tabs-line { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs-line button {
  border: 0; background: transparent; padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--muted);
  position: relative; border-radius: 8px 8px 0 0;
}
.tabs-line button.on { color: var(--brand); }
.tabs-line button.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--brand); border-radius: 2px; }
.review-list { display: flex; flex-direction: column; gap: 10px; }
.review-item {
  background: #fff; border-radius: 14px; border: 1px solid rgba(15, 29, 51, 0.05); padding: 16px 18px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm);
}
.review-item .ri-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.ri-ic.order { background: var(--brand-50); color: var(--brand); }
.ri-ic.progress { background: var(--teal-50); color: #0a9c8d; }
.ri-ic.project { background: var(--purple-50); color: var(--purple); }
.review-item .ri-main { flex: 1; min-width: 0; }
.review-item h4 { font-size: 13.5px; font-weight: 700; }
.review-item .ri-sub { font-size: 11.5px; color: var(--muted); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }
.review-item .ri-actions { display: flex; gap: 7px; flex: none; }
.type-tag { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: #f1f4f9; color: var(--muted); }
.signature-thumb {
  width: 96px; height: 42px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px;
  background: #fbfdff; cursor: zoom-in; padding: 3px 5px;
}
.feedback-card {
  background: #fff; border-radius: 14px; border: 1px solid rgba(15, 29, 51, 0.05); padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.feedback-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.feedback-text { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; margin-top: 9px; }
.feedback-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 11px; color: var(--soft); }
.code-check { display: flex; gap: 8px; align-items: center; }
.code-check .input { width: 300px; height: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* 员工 */
.staff-cell { display: flex; align-items: center; gap: 10px; }
.staff-cell .avatar { width: 34px; height: 34px; }
.staff-cell b { font-size: 13px; display: block; }
.staff-cell span { font-size: 11px; color: var(--soft); }
.skill-row { display: flex; gap: 4px; flex-wrap: wrap; max-width: 190px; }
.status-dot { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.status-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.status-dot.off i { background: #c7d2e2; }

/* 设置 */
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; }
.info-list .item label { font-size: 11.5px; color: var(--soft); }
.info-list .item b { display: block; font-size: 13.5px; margin-top: 3px; font-weight: 600; }
.admin-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.admin-row:last-child { border-bottom: 0; }
.admin-row .grow b { font-size: 13px; display: block; }
.admin-row .grow span { font-size: 11px; color: var(--soft); }

/* 登录 */
.login-page { min-height: 100dvh; display: grid; grid-template-columns: 1.05fr 0.95fr; background: #fff; }
.login-left {
  position: relative; overflow: hidden; color: #fff; padding: 48px 52px; display: flex; flex-direction: column;
  background:
    radial-gradient(120% 90% at 90% 0%, #2f74ff 0%, #123a6b 42%, #07182e 78%);
}
.login-left::before {
  content: ""; position: absolute; inset: 0; opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(90% 70% at 70% 10%, #000, transparent 75%);
}
.login-left > * { position: relative; }
.login-left .brand { display: flex; align-items: center; gap: 12px; }
.login-left .brand .name { font-size: 15px; font-weight: 700; }
.login-left .brand .sub { font-size: 10px; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.12em; }
.login-left .mid { margin: auto 0; }
.login-left h1 { font-size: 38px; line-height: 1.32; font-weight: 700; letter-spacing: -0.02em; }
.login-left h1 em { font-style: normal; color: #7fb0ff; }
.login-left .desc { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-top: 16px; line-height: 1.9; max-width: 420px; }
.login-feats { display: flex; gap: 26px; margin-top: 38px; }
.login-feat { display: flex; gap: 9px; align-items: flex-start; }
.login-feat .fi {
  width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12); display: grid; place-items: center; color: #9dc0ff;
}
.login-feat b { font-size: 12px; font-weight: 600; display: block; }
.login-feat span { font-size: 10.5px; color: rgba(255, 255, 255, 0.42); display: block; margin-top: 2px; }
.login-left .foot { font-size: 10.5px; color: rgba(255, 255, 255, 0.32); letter-spacing: 0.04em; }
.login-right { display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-form { width: 100%; max-width: 360px; }
.login-form .eyebrow { font-size: 11px; color: var(--brand); font-weight: 700; letter-spacing: 0.14em; }
.login-form h2 { font-size: 26px; font-weight: 700; margin-top: 8px; letter-spacing: -0.02em; }
.login-form .lead { font-size: 12.5px; color: var(--muted); margin-top: 7px; margin-bottom: 26px; }
.login-form .field + .field { margin-top: 14px; }
.login-form .btn-block { margin-top: 22px; }
.demo-box { margin-top: 22px; padding: 12px 14px; background: #f7fafd; border: 1px dashed var(--line); border-radius: 11px; }
.demo-box .dt { font-size: 10.5px; color: var(--soft); letter-spacing: 0.08em; margin-bottom: 7px; }
.demo-box .dr { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); padding: 3px 0; }
.demo-box .dr b { color: var(--ink-2); font-weight: 600; }
.login-copy { font-size: 10.5px; color: var(--soft); text-align: center; margin-top: 26px; }

/* 人员选择 */
.staff-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 9px; }
.pick-card {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fbfcff; cursor: pointer; transition: all 0.16s;
}
.pick-card:hover { border-color: #cdd9ea; }
.pick-card.on { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 4px 12px rgba(27, 91, 247, 0.08); }
.pick-card.off { opacity: 0.5; }
.pick-card .grow b { display: block; font-size: 13px; }
.pick-card .grow span { display: block; font-size: 11px; color: var(--soft); margin-top: 1px; }
.pick-card .right { line-height: 1.4; }
.stars .ico.off { fill: none; stroke: #d8e0ec; }

/* 顶部角标与物料 */
.top-badge {
  position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--red); color: #fff; font-size: 9px; font-style: normal;
  display: grid; place-items: center; border: 1.5px solid #fff; font-weight: 700;
}
.mat-item-list { margin-top: 10px; }
.mat-item-row {
  display: flex; align-items: baseline; gap: 12px; padding: 7px 0;
  border-bottom: 1px dashed var(--line-2); font-size: 12.5px; color: var(--ink-2);
}
.mat-item-row > span:first-child { flex: 1; min-width: 0; }
.mat-item-row em { font-style: normal; color: var(--soft); font-size: 10.5px; margin-left: 5px; }
.mat-item-row > span:nth-child(2) { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.mat-item-row b { width: 82px; text-align: right; font-weight: 600; }
.mat-item-total {
  display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px;
  padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);
}
.mat-item-total b { font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.bill-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.bill-line .grow b { display: block; font-size: 12.5px; }
.bill-line .grow span { display: block; font-size: 10.5px; color: var(--soft); margin-top: 2px; }
.bill-line .input { height: 38px; }
.bill-line > b { font-size: 12.5px; }
.price-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.price-row .grow b { display: block; font-size: 12.5px; }
.price-row .grow span { display: block; font-size: 10.5px; color: var(--soft); margin-top: 2px; }
.price-row .input { width: 120px; height: 36px; }
.bill-save { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.bill-save input { width: 15px; height: 15px; accent-color: var(--brand); }

/* 空面板 */
.panel .empty { padding: 24px 10px; }

@media (max-width: 1280px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .sidebar { width: 74px; padding: 20px 10px 14px; }
  .side-brand { padding: 0 6px 20px; justify-content: center; }
  .side-brand .name, .side-brand .sub, .side-label, .side-item span, .side-item .badge { display: none; }
  .side-item { justify-content: center; padding: 0; }
  .side-item.on::before { left: -10px; }
  .side-foot .side-user .grow, .side-user .out { display: none; }
  .side-user { justify-content: center; }
  .main { margin-left: 74px; }
  .login-page { grid-template-columns: 1fr; }
  .login-left { display: none; }
}
@media (max-width: 760px) {
  .top-search { display: none; }
  .content { padding: 18px 16px 40px; }
  .stat-grid, .project-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .topbar { padding: 0 16px; }
}

/* 客户月报预览 */
.report-preview { font-size: 12px; color: var(--ink-2); line-height: 1.65; }
.report-preview .head { display: flex; justify-content: space-between; gap: 18px; border-bottom: 2px solid #0b1b33; padding-bottom: 12px; }
.report-preview h1 { font-size: 19px; color: var(--ink); margin: 0 0 4px; }
.report-preview h2 { font-size: 14px; color: var(--ink); margin: 20px 0 8px; }
.report-preview .muted { color: var(--soft); }
.report-preview table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.report-preview th, .report-preview td { border: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; }
.report-preview th { background: #eef3fb; font-weight: 600; }
.report-preview .right { text-align: right; }
.report-preview .total { margin-top: 14px; text-align: right; font-size: 15px; font-weight: 700; color: var(--ink); }
.report-preview .sign { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; }
.report-preview .sign div { flex: 1; border-top: 1px solid #9aa8bb; padding-top: 8px; color: var(--soft); }
.report-preview .note { margin-top: 18px; color: var(--soft); line-height: 1.7; font-size: 11px; }

/* 表单草稿提示 */
.draft-tip {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 8px 10px;
  background: #fff8e6; border: 1px solid #f2d38b; border-radius: 9px;
  font-size: 12px; color: #8a6a1c;
}
.draft-tip span { flex: 1; }
/* 开单单价输入 */
.bill-price-label { font-size: 11px; color: var(--soft); flex: none; }
/* 补录物料行 */
.am-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.am-row .input { height: 36px; }
.am-row .am-name { flex: 1; min-width: 0; }