/* 鸿辉云供应链 ERP — WEB 端设计令牌与基础组件（1440 设计稿还原） */
:root {
  --brand: #1A6DFF;
  --brand-2: #7A5CFF;
  --brand-weak: #EAF1FF;
  --stock: #00A870;
  --stock-weak: #E8F8F3;
  --warn: #FF9F1C;
  --warn-weak: #FFF4E5;
  --danger: #E54545;
  --danger-weak: #FDECEC;
  --success-bg: #E8F8F3;
  --text: #0E1729;
  --text-2: #5A6478;
  --text-3: #98A2B3;
  --bg: #F4F6FA;
  --card: #FFFFFF;
  --line: #EEF1F6;
  --radius: 12px;
  --radius-sm: 8px;
  --sidebar: 200px;
  --topbar: 56px;
  --shadow: 0 2px 12px rgba(14, 23, 41, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-num: "DIN Alternate", "SF Mono", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text);
  background: var(--bg); font-size: 14px; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #D8DEE9; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 布局 ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar); flex: 0 0 var(--sidebar); background: #fff; color: var(--text);
  display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 20;
  border-right: 1px solid var(--line);
}
.sidebar .logo {
  height: var(--topbar); display: flex; align-items: center; gap: 10px; padding: 0 20px;
  font-size: 16px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar .logo .mark {
  width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.sidebar .logo small { display: block; font-size: 11px; font-weight: 400; color: #7E8CA6; }
.side-nav { flex: 1; overflow-y: auto; padding: 12px 0 24px; display: flex; flex-direction: column; gap: 2px; }
.side-nav .grp { padding: 12px 20px 4px; font-size: 11px; color: var(--text-3); letter-spacing: .5px; }
.side-nav a {
  display: flex; align-items: center; gap: 8px; height: 36px; margin: 0 12px; padding: 0 10px;
  border-radius: 8px; font-size: 13px; color: var(--text-2); cursor: pointer;
}
.side-nav a:hover { color: var(--text); background: var(--bg); }
.side-nav a.active { color: var(--brand); background: var(--brand-weak); font-weight: 600; }
.side-nav a .ic { width: 18px; text-align: center; opacity: .9; }
.sidebar .side-foot { padding: 10px 12px 14px; font-size: 12px; color: var(--text-2); }
/* S36 侧栏底部席位卡 */
.seat { background: var(--bg); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 5px; }
.seat .t { font-size: 11px; font-weight: 600; color: var(--text); }
.seat .s { font-size: 10px; color: var(--text-3); }
.seat .bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.seat .bar i { display: block; height: 100%; border-radius: 3px; background: var(--stock); }
.seat .who { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }

.main { margin-left: var(--sidebar); flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: var(--topbar); background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; padding: 0 20px; position: sticky; top: 0; z-index: 10;
}
.topbar .brand { display: flex; align-items: center; gap: 10px; }
.topbar .brand .mark {
  width: 28px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 700;
}
/* 品牌标识为图片资源时（与设计稿、小程序端统一） */
.topbar .brand img.mark { background: none; display: block; object-fit: contain; }
.topbar .brand .n { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.25; }
.topbar .brand .n small { display: block; font-size: 10px; font-weight: 400; color: var(--text-3); }
.topbar .spacer { flex: 1; }
.topbar .search {
  width: 260px; height: 32px; border-radius: 16px; background: var(--bg);
  display: flex; align-items: center; gap: 6px; padding: 0 12px; position: relative;
}
/* 搜索结果面板 */
.gsp {
  position: absolute; top: 40px; left: 0; width: 340px; z-index: 50;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px;
  box-shadow: 0 8px 24px rgba(14,23,41,.12); max-height: 380px; overflow: auto;
}
.gsp .it { padding: 8px 10px; border-radius: 6px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.gsp .it:hover { background: var(--bg); }
.gsp .it b { font-size: 13px; font-weight: 600; color: var(--text); }
.gsp .it span { font-size: 11px; color: var(--text-3); }
.gsp .none { padding: 16px; text-align: center; font-size: 12px; color: var(--text-3); }
.topbar .search input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-size: 12px; font-family: var(--font); color: var(--text);
}
.topbar .search .ic { color: var(--text-3); font-size: 13px; }
.topbar .crumb { font-size: 13px; color: var(--text-2); }
.topbar .crumb b { color: var(--text); font-weight: 600; }
.topbar .right { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-2); }
.topbar .avatar {
  width: 28px; height: 28px; border-radius: 14px; background: var(--brand-weak);
  color: var(--brand); display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.content { padding: 20px 24px; flex: 1; }
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.page-head h1 { margin: 0; font-size: 20px; font-weight: 600; }
.page-head .sub { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.actions { display: flex; gap: 10px; }

/* ---------- 卡片 ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 16px; }
.card.tight { padding: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.card-head .more { font-size: 13px; color: var(--brand); cursor: pointer; }
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- 统计卡 ---------- */
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.stat .label { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.stat .value { font-family: var(--font-num); font-size: 26px; font-weight: 700; margin-top: 8px; letter-spacing: .3px; }
.stat .delta { font-size: 12px; margin-top: 6px; color: var(--text-3); }
.stat .delta.up { color: var(--danger); }
.stat .delta.down { color: var(--stock); }
.stat.blue { background: linear-gradient(135deg, #1A6DFF, #4C8DFF); color: #fff; }
.stat.blue .label, .stat.blue .delta { color: rgba(255,255,255,.85); }
.stat.purple { background: linear-gradient(135deg, #7A5CFF, #9B84FF); color: #fff; }
.stat.purple .label, .stat.purple .delta { color: rgba(255,255,255,.85); }

/* ---------- 表格 ---------- */
.table-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th {
  background: #F8FAFD; font-size: 13px; font-weight: 500; color: var(--text-2);
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
tbody tr:hover { background: #FAFBFE; }
tbody tr:last-child td { border-bottom: none; }
td.num, th.num { text-align: right; font-family: var(--font-num); }
td .code { font-family: var(--font-num); color: var(--brand); cursor: pointer; }
.td-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.empty { padding: 60px 0; text-align: center; color: var(--text-3); font-size: 14px; }
.empty .ico { font-size: 40px; opacity: .35; margin-bottom: 10px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff;
  color: var(--text); font-size: 13px; cursor: pointer; font-family: var(--font); transition: .15s;
}
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: #0E5AE6; color: #fff; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); border-color: #F5C6C6; }
.btn.danger:hover { background: var(--danger-weak); border-color: var(--danger); color: var(--danger); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link { color: var(--brand); cursor: pointer; }
.link + .link { margin-left: 12px; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; line-height: 18px;
  background: #F0F3F8; color: var(--text-2);
}
.tag.blue { background: var(--brand-weak); color: var(--brand); }
.tag.green { background: var(--stock-weak); color: var(--stock); }
.tag.orange { background: var(--warn-weak); color: #D97706; }
.tag.red { background: var(--danger-weak); color: var(--danger); }
.tag.gray { background: #F0F3F8; color: var(--text-3); }
.tag.purple { background: #F0ECFF; color: var(--brand-2); }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--text-2); }
.field label .req { color: var(--danger); margin-right: 2px; }
.field input, .field select, .field textarea {
  height: 36px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 12px; font-size: 14px; font-family: var(--font); color: var(--text); background: #fff; outline: none;
}
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field .hint { font-size: 12px; color: var(--text-3); }

/* ---------- 筛选条 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.filters input, .filters select {
  height: 34px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 12px; font-size: 13px; font-family: var(--font); background: #fff; outline: none; min-width: 150px;
}
.filters input:focus, .filters select:focus { border-color: var(--brand); }

/* ---------- 描述列表 ---------- */
.desc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; }
.desc .item .k { font-size: 13px; color: var(--text-2); }
.desc .item .v { font-size: 14px; margin-top: 4px; word-break: break-all; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }

/* ---------- 步骤条 ---------- */
.steps { display: flex; align-items: center; margin-bottom: 24px; }
.steps .step { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; }
.steps .step .dot {
  width: 24px; height: 24px; border-radius: 50%; background: #EDEFF4; color: var(--text-3);
  display: grid; place-items: center; font-size: 12px;
}
.steps .step.on { color: var(--brand); }
.steps .step.on .dot { background: var(--brand); color: #fff; }
.steps .step.done .dot { background: var(--stock); color: #fff; }
.steps .line { flex: 1; height: 1px; background: var(--line); margin: 0 12px; min-width: 40px; }
.steps .line.done { background: var(--stock); }

/* ---------- 抽屉 / 弹层 ---------- */
.mask { position: fixed; inset: 0; background: rgba(14,23,41,.45); z-index: 100; display: flex; justify-content: flex-end; }
.drawer { width: 520px; background: #fff; height: 100%; display: flex; flex-direction: column; animation: slide .22s ease; }
@keyframes slide { from { transform: translateX(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer header { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.drawer .body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer footer { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.modal { margin: auto; width: 460px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.modal header { padding: 18px 20px 0; font-size: 16px; font-weight: 600; }
.modal .body { padding: 16px 20px; font-size: 14px; color: var(--text-2); }
.modal footer { padding: 12px 20px 18px; display: flex; justify-content: flex-end; gap: 10px; }
.close { cursor: pointer; color: var(--text-3); font-size: 18px; }

/* ---------- 分页 ---------- */
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px 16px; font-size: 13px; color: var(--text-2); }
.pager button {
  min-width: 30px; height: 30px; border: 1px solid var(--line); background: #fff;
  border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--text-2);
}
.pager button.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 提示 ---------- */
.toast {
  position: fixed; left: 50%; top: 24px; transform: translateX(-50%);
  background: #0E1729; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; z-index: 999;
}
.loading { padding: 40px; text-align: center; color: var(--text-3); font-size: 13px; }

/* ---------- 图表占位（纯 CSS 柱状） ---------- */
.bars { display: flex; align-items: flex-end; gap: 18px; height: 180px; padding: 10px 0; }
.bars .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bars .stack { width: 100%; display: flex; align-items: flex-end; gap: 4px; height: 150px; }
.bars .bar { flex: 1; border-radius: 4px 4px 0 0; min-height: 4px; }
.bars .bar.p { background: linear-gradient(180deg, #4C8DFF, var(--brand)); }
.bars .bar.s { background: linear-gradient(180deg, #9B84FF, var(--brand-2)); }
.bars .lab { font-size: 12px; color: var(--text-3); }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--text-2); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; }

/* ---------- 登录（S38-WEB登录页-双入口，1440×900；lp- 前缀） ---------- */
.login-page { min-height: 100vh; display: flex; }

/* 品牌区 560px：渐变 #0E4FC4(顶) → #1A6DFF(底)，pad 64/72/56，gap 24 */
.lp-brand {
  width: 560px; flex: 0 0 560px; color: #fff;
  background: linear-gradient(180deg, #0E4FC4 0%, #1A6DFF 100%);
  padding: 72px 64px 56px; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 24px;
}
.lp-logo { width: 64px; height: 64px; border-radius: 14px; display: block; }
.lp-name { font-size: 32px; font-weight: 700; line-height: 1.2; }
.lp-slogan { font-size: 15px; color: rgba(255, 255, 255, .85); }
.lp-flex { flex: 1; min-height: 24px; }
.lp-feat { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.lp-check {
  width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); color: #fff;
  font-size: 11px; line-height: 18px; text-align: center;
}
.lp-qr { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.lp-qr img { width: 84px; height: 84px; border-radius: 8px; display: block; background: #fff; padding: 4px; box-sizing: border-box; }
.lp-qr-tip { font-size: 12px; color: rgba(255, 255, 255, .8); line-height: 1.6; }

/* 登录区：表单 400px，gap 16 */
.lp-form-wrap { flex: 1; display: flex; align-items: center; justify-content: center; background: #fff; padding: 40px; }
.lp-form { width: 400px; display: flex; flex-direction: column; gap: 16px; }
.lp-title { font-size: 24px; font-weight: 700; color: var(--text); }
.lp-sub { font-size: 13px; color: var(--text-2); margin-top: -8px; }

/* 入口选择：卡片 圆角12，pad 14/12，gap 12 */
.lp-entries { display: flex; gap: 12px; }
.lp-entry {
  flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  cursor: pointer; display: flex; flex-direction: column; gap: 5px; background: #fff;
}
.lp-entry.on { border-color: var(--brand); background: #EAF1FF; }
.lp-entry-h { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.lp-entry.on .lp-entry-h { color: var(--brand); }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.lp-entry.on .lp-dot { background: var(--brand); }
.lp-entry-d { font-size: 11px; color: var(--text-2); line-height: 1.5; }

/* 输入：h44，圆角10，pad 14 */
.lp-field { height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0 14px; box-sizing: border-box; }
.lp-field input { width: 100%; height: 42px; border: none; outline: none; font-size: 13px; color: var(--text); background: transparent; }
.lp-field input::placeholder { color: #98A2B3; }
.lp-row { display: flex; gap: 10px; }
.lp-row .lp-field { flex: 1; }
.lp-code {
  width: 110px; flex: 0 0 110px; height: 44px; border: none; border-radius: 10px;
  background: #EAF1FF; color: var(--brand); font-size: 12px; font-weight: 600; cursor: pointer;
}
.lp-submit {
  height: 44px; border: none; border-radius: 10px; background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.lp-agree { font-size: 11px; color: var(--text-2); text-align: center; }
.lp-divider { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--text-2); }
.lp-divider i { flex: 1; height: 1px; background: var(--line); }
.lp-wx {
  height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer;
}
.lp-wx svg { width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .lp-brand { display: none; }
  .lp-form-wrap { padding: 24px; }
}
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs span { padding-bottom: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.tabs span.on { color: var(--brand); border-bottom: 2px solid var(--brand); font-weight: 600; }

/* ---------- S36 企业版工作台（专用，wb- 前缀） ---------- */
.wb-head { display: flex; align-items: center; justify-content: space-between; }
.wb-head .t { font-size: 18px; font-weight: 700; color: var(--text); }
.wb-head .s { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.wb-head .acts { display: flex; gap: 10px; }

.wb-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wb-kpi .k {
  background: #fff; border-radius: 10px; padding: 14px 16px; min-height: 96px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
}
.wb-kpi .k .lab { font-size: 12px; color: var(--text-2); }
.wb-kpi .k .row { display: flex; align-items: center; gap: 8px; }
.wb-kpi .k .v { font-family: var(--font-num); font-size: 22px; font-weight: 700; color: var(--text); }
.wb-kpi .k .v.warn { color: #FF8B00; }
.wb-kpi .k .sub { font-size: 11px; color: var(--text-3); }
.wb-pill { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 6px; font-size: 10px; font-weight: 600; }
.wb-pill.up { background: var(--stock-weak); color: var(--stock); }
.wb-pill.flat { background: #F0F3F8; color: var(--text-3); }
.wb-pill.warn { background: var(--warn-weak); color: #B25E00; }
.wb-pill.blue { background: var(--brand-weak); color: var(--brand); }

.wb-row { display: grid; gap: 16px; margin-top: 16px; align-items: start; }
.wb-row.r1 { grid-template-columns: 1fr 340px; }
.wb-row.r2 { grid-template-columns: 380px 1fr; }
.wb-card { background: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow); }
.wb-card .ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wb-card .ch h4 { margin: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.wb-card .unit { font-size: 11px; color: var(--text-3); }
.wb-card .more { font-size: 12px; color: var(--brand); cursor: pointer; }

.wb-bars { display: flex; align-items: flex-end; gap: 12px; height: 190px; margin-top: 14px; }
.wb-bars .b { width: 40px; border-radius: 4px; background: var(--brand-weak); min-height: 8px; }
.wb-bars .b.on { background: var(--brand); }
.wb-axis { display: flex; gap: 12px; margin-top: 6px; }
.wb-axis span { width: 40px; text-align: center; font-size: 10px; color: var(--text-3); }
.wb-axis span.on { color: var(--brand); }

.wb-struct { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.wb-struct .r { display: flex; align-items: center; gap: 8px; }
.wb-struct .nm { width: 64px; font-size: 12px; color: var(--text-2); }
.wb-struct .track { flex: 1; height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.wb-struct .track i { display: block; height: 100%; border-radius: 4px; }
.wb-struct .pv { width: 32px; text-align: right; font-size: 12px; color: var(--text); }

.wb-todo { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.wb-todo .i {
  height: 40px; border-radius: 8px; background: var(--bg); padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-2); cursor: pointer;
}
.wb-todo .i:hover { background: #EDF1F8; }
.wb-todo .i b { font-size: 14px; font-family: var(--font-num); }
.wb-todo .i b.o { color: #FF8B00; }
.wb-todo .i b.b { color: var(--brand); }
.wb-todo .i b.r { color: var(--danger); }

.wb-doc { margin-top: 10px; }
.wb-doc .h {
  display: flex; align-items: center; height: 32px; border-radius: 6px;
  background: var(--bg); font-size: 11px; color: var(--text-3);
}
.wb-doc .d {
  display: flex; align-items: center; height: 40px; font-size: 12px;
  color: var(--text); border-bottom: 1px solid var(--line); cursor: pointer;
}
.wb-doc .d:last-child { border-bottom: 0; }
.wb-doc .d:hover { background: #FAFBFE; }
.wb-doc span { padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-doc .c1 { width: 120px; font-family: var(--font-num); }
.wb-doc .c2 { width: 80px; color: var(--text-2); }
.wb-doc .c3 { flex: 1; color: var(--text-2); }
.wb-doc .c4 { width: 90px; font-family: var(--font-num); }
.wb-doc .c5 { width: 80px; }

.wb-notice {
  display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px;
  border-radius: 8px; background: var(--warn-weak); padding: 10px 14px;
  font-size: 12px; color: #B25E00; line-height: 1.5;
}

@media (max-width: 1280px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .desc { grid-template-columns: repeat(2, 1fr); }
  .wb-kpi { grid-template-columns: repeat(2, 1fr); }
  .wb-row.r1, .wb-row.r2 { grid-template-columns: 1fr; }
}
