/* 融合系统升级版 · 主题（2026-11-13）
   放在 bos.css、oa.css、craft.css 之后加载；主系统直接引用，业务、薪酬模块页面由 suite.py 注入同一份。
   方向：清爽、亲和、圆润。一块墨蓝“封面”放最要紧的数，白纸放要办的事。
   形状：一律圆角方形（控件 12px、区块 14–22px），不用胶囊、不用圆圈。
   颜色：品牌墨蓝 + 品牌金（金只做标记）+ 中性浅灰；绿只表示已办，红只表示出错和赤字。
   旧样式（bos.css）里 !important 很多，所以这里的选择器都带 html body 前缀，颜色类属性带 !important。 */
@font-face { font-family: "Manrope"; src: url("/static/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --paper: #FFFFFF; --mist: #F2F3F5; --mist-2: #E8EAEE;
  --ink: #0F1828; --ink-2: #4B5263; --ink-3: #8C909A;
  --navy: #0B1F3E; --navy-2: #163463;
  --gold-on-navy: #C9A04B; --gold-deep: #9B7327;
  --ok: #2E7651; --bad: #C2412B;
  --num: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --zh: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --r: 12px; --r-l: 16px; --r-xl: 22px;
  --ease: cubic-bezier(.23, 1, .32, 1); --move: cubic-bezier(.32, .72, 0, 1);
  --hd-h: 105px;
  /* 接管旧样式的变量，让没单独改到的地方也跟着换色 */
  --brand: #0B1F3E; --brand-600: #163463; --brand-700: #0B1F3E; --brand-50: #F2F3F5; --brand-100: #E8EAEE;
  --ink-900: #0F1828; --ink-600: #4B5263; --ink-400: #8C909A;
  --line: #E6E8EC; --line-light: #EEF0F3; --bg: #FFFFFF; --card: #FFFFFF;
  --green: #2E7651; --green-bg: rgba(46,118,81,.1); --red: #C2412B; --red-bg: rgba(194,65,43,.08);
  --orange: #9B7327; --orange-bg: #F2F3F5; --gold: #9B7327; --gold-bg: #F2F3F5;
  --blue: #0B1F3E; --blue-bg: #F2F3F5; --brown: #0B1F3E; --brown-bg: #F2F3F5; --teal: #0B1F3E; --teal-bg: #F2F3F5; --purple: #0B1F3E; --purple-bg: #F2F3F5;
  --gray: #8C909A; --gray-bg: #F2F3F5; --radius: 12px;
  --shadow: none; --gilt: #C9A04B; --spine: #0B1F3E;
  --font: "Manrope", "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
}
html, html body { background: var(--paper) !important; }
html body { color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.6; }
html body .ambient-canvas, html body .main::before { display: none !important; }
html body ::selection { background: rgba(201,160,75,.3); }
html body .num, html body td.amount, html body th.amount, html body .amount, html body .kpi-value { font-family: var(--num); font-variant-numeric: tabular-nums; }
html body .muted { color: var(--ink-3) !important; }
html body .link { color: var(--navy) !important; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-decoration-color .16s var(--ease); }
html body .link:hover { text-decoration-color: var(--gold-on-navy); }

/* ———— 顶栏：工作域 + 当前域的页面 ———— */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.hd-r1 { display: flex; align-items: center; gap: 36px; height: 60px; padding: 0 36px; max-width: 1480px; margin: 0 auto; }
.hd-mark { display: flex; align-items: center; gap: 10px; font: 700 16px var(--zh); letter-spacing: .08em; color: var(--ink); flex: none; }
.hd-mark img { width: 30px; height: 30px; border-radius: 9px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .18s var(--ease); }
.hd-mark:hover img { transform: scale(1.06); }
.hd-doms { position: relative; display: flex; gap: 6px; }
.hd-doms button { position: relative; z-index: 1; height: 36px; padding: 0 16px; border: 0; background: none; border-radius: var(--r); font: 14px var(--zh); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .16s var(--ease), transform .1s var(--ease); }
.hd-doms button:hover { color: var(--ink); }
.hd-doms button:active { transform: scale(.97); }
.hd-doms button.on { color: #fff; font-weight: 700; }
.hd-doms button sup { font: 700 10px var(--num); color: var(--gold-deep); margin-left: 3px; vertical-align: 6px; }
.hd-doms button.on sup { color: var(--gold-on-navy); }
.hd-doms .hl { position: absolute; top: 0; left: 0; height: 36px; border-radius: var(--r); background: var(--navy); transition: transform .4s var(--move), width .4s var(--move); }
.hd-tools { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.hd-tools > button, .hd-tools > a { position: relative; height: 36px; min-width: 36px; padding: 0 10px; border: 0; background: none; border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-2); font: 13px var(--zh); cursor: pointer; transition: background-color .16s var(--ease), color .16s var(--ease); }
.hd-tools > button:hover, .hd-tools > a:hover { background: var(--mist); color: var(--ink); }
.hd-tools > button:hover .mv-search { transform: scale(1.1) rotate(-8deg); }
.hd-tools kbd { font: 600 11px/1 var(--num); padding: 3px 6px; border-radius: 6px; background: var(--mist); color: var(--ink-3); }
.hd-bell i { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 3px; background: var(--gold-on-navy); box-shadow: 0 0 0 2px #fff; }
.hd-me { padding: 0 !important; }
html body .hd-me .avatar { width: 34px; height: 34px; border-radius: var(--r); background: var(--mist); color: var(--navy); font: 700 13px var(--zh); box-shadow: none; }
html body .avatar, html body .avatar img { border-radius: var(--r); }
html body .avatar-lg, html body .avatar-lg img { border-radius: 18px !important; }
.hd-sub { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; min-height: 44px; padding: 0 36px; max-width: 1480px; margin: 0 auto; }
.hd-sub a { font: 13.5px var(--zh); color: var(--ink-3); white-space: nowrap; padding: 11px 0; transition: color .16s var(--ease); animation: subIn .3s var(--ease) backwards; }
.hd-sub a:hover { color: var(--ink); }
.hd-sub a.on { color: var(--ink); font-weight: 700; }
.hd-sub a em { font: 700 11px var(--num); font-style: normal; color: var(--gold-deep); margin-left: 4px; }
.hd-sub .grp { flex: none; white-space: nowrap; font: 11.5px var(--zh); color: #B4B8C0; letter-spacing: .14em; padding-left: 14px; border-left: 1px solid var(--line); animation: subIn .3s var(--ease) backwards; }
.hd-sub .grp:first-of-type { padding-left: 0; border-left: 0; }
.hd-sub .ul { position: absolute; top: 0; left: 0; height: 2px; border-radius: 2px; background: var(--gold-on-navy); transition: transform .36s var(--move), width .36s var(--move); pointer-events: none; }
@keyframes subIn { from { opacity: 0; transform: translateY(4px); } }

/* ———— 页面骨架 ———— */
html body .main.main { margin: 0 auto !important; padding: 0 36px 72px !important; max-width: 1480px !important; min-height: calc(100vh - var(--hd-h)); background: none !important; }
html body .main.main.bleed { max-width: none !important; padding: 0 !important; }
html body .main > section { padding: 0 !important; }
.host .main > section { animation: pIn .32s var(--ease) backwards !important; }
@keyframes pIn { from { opacity: 0; transform: translateY(10px); } }
html body .mod-frame { position: fixed; left: 0; right: 0; top: var(--hd-h); bottom: 0; background: var(--paper); }
html body .mod-frame.loading::after { background: var(--gold-on-navy); }
html body .nav-dim { position: fixed; inset: 0 0 auto 0; width: auto; height: var(--hd-h); z-index: 45; }
html body .page-head { margin: 34px 0 22px !important; align-items: flex-end; gap: 20px; }
html body .page-head h1, html body .page-head h2 { font: 700 30px/1.2 var(--zh) !important; letter-spacing: .02em !important; color: var(--ink) !important; }
html body .page-head .sub { font: 13px/1.7 var(--zh) !important; color: var(--ink-3) !important; margin-top: 6px !important; max-width: 70ch; }
html body .page-head .actions, html body .actions { gap: 8px; flex-wrap: wrap; border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
html body h3, html body h4 { color: var(--ink); }

/* ———— 按钮：圆角 12 ———— */
html body .btn { height: auto; min-height: 38px; padding: 8px 16px; border: 0 !important; border-radius: var(--r) !important; background: var(--mist) !important; color: var(--ink) !important; box-shadow: none !important;
  font: 500 13.5px var(--zh); letter-spacing: .03em; transition: background-color .16s var(--ease), color .16s var(--ease), transform .1s var(--ease), box-shadow .16s var(--ease) !important; }
html body .btn:hover { background: var(--mist-2) !important; }
html body .btn:active:not(:disabled) { transform: scale(.97); }
html body .btn:disabled { opacity: .4; cursor: not-allowed; }
html body .btn-primary, html body .btn.btn-primary { background: var(--navy) !important; color: #fff !important; }
html body .btn-primary:hover, html body .btn.btn-primary:hover { background: var(--navy-2) !important; }
html body .btn-danger, html body .btn.btn-danger { background: transparent !important; color: var(--bad) !important; box-shadow: inset 0 0 0 1px rgba(194,65,43,.35) !important; }
html body .btn-danger:hover, html body .btn.btn-danger:hover { background: rgba(194,65,43,.07) !important; }
html body .btn-text, html body .btn.btn-text { background: transparent !important; color: var(--navy) !important; min-height: 0; padding: 4px 8px; }
html body .btn-text:hover { background: var(--mist) !important; }
html body .btn-sm, html body .btn.btn-sm { min-height: 30px; padding: 4px 12px; font-size: 12.5px; border-radius: 10px !important; }

/* ———— 输入：浅灰底，聚焦时白底金边 ———— */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), html body select, html body textarea {
  border: 1px solid transparent !important; border-radius: var(--r) !important; background-color: var(--mist) !important; color: var(--ink) !important; box-shadow: none !important;
  font-family: var(--font); transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease) !important; }
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):hover, html body select:hover, html body textarea:hover { background-color: var(--mist-2) !important; }
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):focus, html body select:focus, html body textarea:focus {
  background-color: #fff !important; border-color: var(--gold-on-navy) !important; box-shadow: 0 0 0 4px rgba(201,160,75,.16) !important; outline: 0; }
html body input::placeholder, html body textarea::placeholder { color: #A7ABB4 !important; }
html body input[readonly], html body input:disabled, html body select:disabled, html body textarea:disabled { color: var(--ink-3) !important; }
html body input[type=checkbox], html body input[type=radio] { accent-color: var(--navy); }
html body .form-grid label, html body .f { color: var(--ink-2); font-size: 12.5px; }
html body .chk { color: var(--ink-2); }

/* ———— 分段切换：浅灰槽里一块白色滑块（滑动由 motion.js 接管） ———— */
html body .tabs, html body .subtabs { display: inline-flex !important; gap: 0 !important; padding: 4px !important; margin-bottom: 18px; border: 0 !important; border-radius: 14px !important; background: var(--mist) !important; box-shadow: none !important; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
html body .tabs > *, html body .subtabs > * { position: relative; isolation: isolate; flex: none; min-height: 0 !important; height: auto !important; padding: 6px 14px !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important; background: none !important; box-shadow: none !important;
  font: 13px var(--zh) !important; letter-spacing: .03em !important; color: var(--ink-2) !important; white-space: nowrap; cursor: pointer; transition: color .16s var(--ease) !important; }
html body .tabs > *:hover, html body .subtabs > *:hover { color: var(--ink) !important; }
html body .tabs > .active, html body .subtabs > .active { color: var(--ink) !important; font-weight: 700 !important; }
html body .tabs > .active::before, html body .subtabs > .active::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(15,24,40,.08), 0 0 0 1px rgba(15,24,40,.04);
  transform-origin: 0 50%; transform: translateX(var(--fx, 0px)) scaleX(var(--fs, 1)); transition: transform .34s var(--move); animation: none; }
html body .tabs > .noflip::before, html body .subtabs > .noflip::before { transition: none !important; }
html body .tabs > *::after, html body .subtabs > *::after { display: none !important; }

/* ———— 区块：不要卡片框 ———— */
html body .card, html body .table-card { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 30px; overflow: visible; transform: none !important; }
html body .card:hover, html body .table-card:hover { background: none !important; box-shadow: none !important; }
html body .card > b:first-child, html body .card > .row:first-child > b:first-child { font: 700 15px var(--zh); color: var(--ink); }
html body .fin-grid { gap: 48px; }
html body .note { border: 0 !important; border-radius: 14px !important; background: var(--mist) !important; color: var(--ink-2) !important; padding: 12px 16px !important; font-size: 13px; line-height: 1.75; }
html body .note.warn { background: var(--mist) !important; color: var(--ink) !important; box-shadow: inset 3px 0 0 var(--gold-on-navy); }   /* 提醒条不用米黄底（看着发粉），只在左边留一道金 */
html body .foot, html body .modal-actions { border-top: 1px solid var(--line) !important; }

/* ———— 表格：只有横线，悬停整行浅灰、两端圆角 ———— */
html body table { font-size: 13px; border-collapse: separate; border-spacing: 0; }
html body th { background: none !important; color: var(--ink-3) !important; font: 400 12px var(--zh) !important; letter-spacing: .08em !important; padding: 10px 14px; border-bottom: 1px solid var(--line) !important; white-space: nowrap; }
html body td { padding: 13px 14px; border-bottom: 1px solid var(--line) !important; color: var(--ink); transition: background-color .16s var(--ease); }
html body table > tr:last-child td, html body tbody tr:last-child td { border-bottom: 1px solid var(--line) !important; }
html body tbody tr.clickable, html body table > tr.clickable { transform: none !important; box-shadow: none !important; transition: none !important; }
html body tbody tr.clickable:hover, html body table > tr.clickable:hover { background: none !important; transform: none !important; box-shadow: none !important; }
html body tr.clickable:hover > td { background: var(--mist) !important; }
html body tr.clickable:hover > td:first-child { border-radius: 14px 0 0 14px; }
html body tr.clickable:hover > td:last-child { border-radius: 0 14px 14px 0; }
html body td .td-main { font-weight: 700; color: var(--ink); }
html body td .td-sub { color: var(--ink-3); }
html body .table-wrap { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html body .desc-grid { border-top: 1px solid var(--line) !important; }
html body .desc-grid > div { border-bottom: 1px solid var(--line) !important; padding: 11px 2px; }
html body .empty { color: var(--ink-3); }

/* ———— 指标：一条浅灰带，不是一格格卡片 ———— */
html body .kpi-grid { gap: 0 !important; padding: 6px; border-radius: 20px; background: var(--mist); margin-bottom: 30px; }
html body .kpi { background: none !important; border: 0 !important; border-radius: 14px !important; box-shadow: none !important; padding: 16px 18px !important; transform: none !important; transition: background-color .2s var(--ease) !important; }
html body .kpi::after, html body .kpi::before { display: none !important; }
html body .kpi[style*="cursor"]:hover, html body .kpi.kpi-click:hover { background: #fff !important; }
html body .kpi .kpi-label { color: var(--ink-3) !important; font: 12.5px var(--zh) !important; letter-spacing: .04em !important; }
html body .kpi .kpi-value { color: var(--ink) !important; font: 800 24px/1.3 var(--num) !important; letter-spacing: -.02em !important; }
html body .kpi .kpi-value small { font: 400 12px var(--zh) !important; color: var(--ink-3) !important; margin-left: 4px; letter-spacing: 0; }
html body .kpi .kpi-ic { background: none !important; color: var(--gold-deep) !important; width: auto; height: auto; border-radius: 0; }
html body .kpi .kpi-foot { color: var(--ink-3); }

/* ———— 状态：小方点 + 一个词 ———— */
html body .st, html body [class*="st-"].st { gap: 8px; font: 13px var(--zh); color: var(--ink-2) !important; background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
html body .st::before { width: 8px; height: 8px; border-radius: 3px !important; background: #C9CDD6 !important; }
html body .st-green::before { background: var(--ok) !important; }
html body .st-orange::before { background: var(--gold-on-navy) !important; }
html body .st-red::before { background: var(--bad) !important; }
html body .st-blue::before, html body .st-purple::before, html body .st-teal::before { background: var(--navy) !important; }
html body .badge, html body [class*="badge-"] { border: 0 !important; border-radius: 8px !important; background: var(--mist) !important; color: var(--ink-2) !important; padding: 2px 9px; font: 12px var(--zh); letter-spacing: .04em !important; }
html body .progress { background: var(--mist) !important; border-radius: 4px; }
html body .progress i { background: var(--navy) !important; border-radius: 4px; }
html body .progress i.ok { background: var(--ok) !important; } html body .progress i.warn { background: var(--gold-on-navy) !important; }
html body td.err, html body .neg { color: var(--bad) !important; }

/* ———— 弹窗、确认、提示 ———— */
html body .modal-mask, html body .confirm-mask, html body .risk-drawer-mask { background: rgba(11,31,62,.26) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; animation: fadeIn .26s var(--ease) backwards; }
html body .modal { border: 0 !important; border-radius: var(--r-xl) !important; padding: 26px 28px !important; background: #fff !important; box-shadow: 0 40px 100px -30px rgba(11,31,62,.5) !important; animation: popIn .3s var(--move) both !important; }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
html body .modal h3 { font: 700 19px var(--zh) !important; color: var(--ink) !important; margin-bottom: 18px; letter-spacing: .02em !important; }
html body .modal-close { border-radius: 10px; color: var(--ink-3); transition: background-color .16s var(--ease), color .16s var(--ease); }
html body .modal-close:hover { background: var(--mist); color: var(--ink); }
html body .modal-close:hover .ic { transform: rotate(90deg); }
html body .confirm-card { border: 0 !important; border-radius: var(--r-xl) !important; box-shadow: 0 40px 100px -30px rgba(11,31,62,.5) !important; background: #fff !important; }
html body .confirm-icon { border-radius: 12px !important; }
html body .toast { top: auto !important; bottom: 26px !important; border: 0 !important; border-radius: 14px !important; background: var(--navy) !important; color: #fff !important; padding: 12px 18px !important; font: 13.5px var(--zh) !important;
  backdrop-filter: none !important; box-shadow: 0 16px 40px -18px rgba(11,31,62,.6) !important; animation: toastUp .32s var(--move) backwards !important; }
html body .toast.err { background: var(--bad) !important; }
@keyframes toastUp { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ———— 工作台：双页 ———— */
.board { display: grid; grid-template-columns: minmax(380px, 5fr) 7fr; min-height: calc(100vh - var(--hd-h)); }
.cover { background: var(--navy); color: #fff; padding: 38px 44px 34px; display: flex; flex-direction: column; position: sticky; top: var(--hd-h); height: calc(100vh - var(--hd-h)); min-height: 600px; }
.cover .cv-d { font: 13px var(--zh); color: rgba(255,255,255,.6); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cover .cv-d b { color: #fff; font-family: var(--num); font-weight: 700; }
.cv-seg { position: relative; display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.08); }
.cv-seg button { position: relative; z-index: 1; height: 30px; padding: 0 14px; border: 0; background: none; border-radius: 10px; font: 13px var(--zh); color: rgba(255,255,255,.62); cursor: pointer; transition: color .16s var(--ease); }
.cv-seg button.on { color: var(--navy); font-weight: 700; }
.cv-seg .hl { position: absolute; top: 4px; left: 0; height: 30px; border-radius: 10px; background: var(--gold-on-navy); transition: transform .34s var(--move), width .34s var(--move); }
.cover .cv-big { font: 800 88px/1 var(--num); letter-spacing: -.045em; margin: 44px 0 8px -4px; display: flex; align-items: flex-start; white-space: nowrap; }
.cover .cv-big sup { font-size: 26px; margin: 10px 8px 0 0; color: var(--gold-on-navy); font-weight: 700; }
.cover .cv-big small { font: 700 26px var(--zh); align-self: flex-end; margin: 0 0 10px 8px; color: rgba(255,255,255,.6); letter-spacing: 0; }
.cover .cv-cap { font: 13px var(--zh); color: rgba(255,255,255,.6); }
.cover .cv-say { font: 15px/1.95 var(--zh); color: rgba(255,255,255,.82); margin-top: 20px; max-width: 27em; }
.cover .cv-say b { color: var(--gold-on-navy); font-family: var(--num); font-weight: 700; }
.cv-bars { display: flex; align-items: flex-end; gap: 6px; height: 124px; margin-top: auto; padding-top: 28px; }
.cv-bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.cv-bars i { display: block; width: 100%; min-height: 3px; border-radius: 6px 6px 3px 3px; background: rgba(255,255,255,.16); transform-origin: bottom; transition: height .5s var(--move), background-color .3s var(--ease); animation: barUp .6s var(--move) backwards; }
.cv-bars div.on i { background: var(--gold-on-navy); }
.cv-bars div:hover i { background: rgba(255,255,255,.34); } .cv-bars div.on:hover i { background: #DDB862; }
.cv-bars span { font: 10.5px var(--num); color: rgba(255,255,255,.42); }
@keyframes barUp { from { transform: scaleY(.08); } }
.cv-date { margin-top: auto; font: 800 120px/1 var(--num); letter-spacing: -.05em; color: rgba(255,255,255,.08); }
.cv-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.cv-foot a { display: block; font: 12px var(--zh); color: rgba(255,255,255,.55); border-radius: 10px; padding: 4px 6px; margin: -4px -6px; transition: background-color .16s var(--ease); cursor: pointer; }
.cv-foot a:hover { background: rgba(255,255,255,.07); }
.cv-foot b { display: block; font: 700 17px var(--num); color: #fff; margin-top: 2px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-foot b small { font: 400 12px var(--zh); color: rgba(255,255,255,.55); margin-left: 3px; }
.desk { padding: 34px 44px 64px; min-width: 0; }
.dk-greet { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dk-greet h1 { font: 700 26px var(--zh); letter-spacing: .02em; color: var(--ink); } .dk-greet h1 span { color: var(--ink-3); font-weight: 400; }
.dk-todos { display: grid; gap: 2px; }
.dk-td { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 15px 18px; border-radius: 14px; cursor: pointer; color: inherit; transition: background-color .2s var(--ease); animation: subIn .36s var(--ease) backwards; }
.dk-td:nth-child(2) { animation-delay: 30ms; } .dk-td:nth-child(3) { animation-delay: 60ms; } .dk-td:nth-child(4) { animation-delay: 90ms; } .dk-td:nth-child(5) { animation-delay: 120ms; } .dk-td:nth-child(n+6) { animation-delay: 150ms; }
.dk-td:hover { background: var(--mist); }
.dk-td .tt { display: flex; align-items: baseline; gap: 12px; }
.dk-td .tag { font: 12px var(--zh); color: var(--ink-3); letter-spacing: .1em; min-width: 30px; }
.dk-td b { font: 700 15px var(--zh); color: var(--ink); } .dk-td small { display: block; font: 12.5px var(--zh); color: var(--ink-3); margin: 3px 0 0 42px; }
.dk-td .rt { display: flex; align-items: center; gap: 16px; }
.dk-td .c { font: 800 26px/1 var(--num); letter-spacing: -.03em; min-width: 28px; text-align: right; color: var(--ink); transition: color .2s var(--ease); }
.dk-td .goto { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; background: var(--navy); color: #fff; font: 12.5px var(--zh); opacity: 0; transform: translateX(-8px); transition: opacity .2s var(--ease), transform .26s var(--move); pointer-events: none; }
.dk-td:hover .goto, .dk-td:focus-visible .goto { opacity: 1; transform: none; }
.dk-td:hover .c { color: var(--gold-deep); }
.dk-none { padding: 18px; border-radius: 14px; background: var(--mist); color: var(--ink-2); font: 14px var(--zh); }
.dk-blk { margin-top: 38px; }
.dk-blk > h3 { font: 700 15px var(--zh); margin-bottom: 14px; display: flex; gap: 10px; align-items: baseline; color: var(--ink); }
.dk-blk > h3 span { font: 12.5px var(--zh); color: var(--ink-3); font-weight: 400; } .dk-blk > h3 a { margin-left: auto; font: 12.5px var(--zh); font-weight: 400; }
.dk-quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.dk-quick button { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 16px 16px 14px; border: 0; border-radius: 16px; background: var(--mist); font: 13.5px var(--zh); color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .1s var(--ease); }
.dk-quick button .ic { color: var(--gold-deep); }
.dk-quick button:hover { background: var(--navy); color: #fff; } .dk-quick button:hover .ic { color: var(--gold-on-navy); transform: translateY(-2px); }
.dk-quick button:active { transform: scale(.97); }
.dk-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding: 6px; border-radius: 20px; background: var(--mist); }
.dk-nums a { display: block; padding: 14px 16px; border-radius: 14px; color: inherit; cursor: pointer; transition: background-color .2s var(--ease); }
.dk-nums a:hover { background: #fff; }
.dk-nums span { font: 12.5px var(--zh); color: var(--ink-3); } .dk-nums b { display: block; font: 800 22px/1.35 var(--num); letter-spacing: -.02em; color: var(--ink); }
.dk-nums b small { font: 400 12px var(--zh); color: var(--ink-3); margin-left: 4px; letter-spacing: 0; } .dk-nums em { font: 12px var(--zh); font-style: normal; color: var(--ink-3); }
.dk-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.dk-li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; margin: 0 -12px; border-radius: 12px; font: 13.5px var(--zh); color: var(--ink); cursor: pointer; transition: background-color .16s var(--ease); }
.dk-li:hover { background: var(--mist); }
.dk-li i { flex: none; width: 8px; height: 8px; border-radius: 3px; background: #D5D8DE; } .dk-li i.on { background: var(--gold-on-navy); }
.dk-li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dk-li time { font: 12px var(--num); color: var(--ink-3); }
.dk-today { font: 14px/2 var(--zh); color: var(--ink-2); } .dk-today b { color: var(--ink); }

/* 数字逐位滚动 */
.odo { display: inline-block; overflow: hidden; height: 1em; line-height: 1em; vertical-align: top; }
.odo .col { display: flex; flex-direction: column; transition: transform .55s var(--move); }
.odo .col span { display: block; height: 1em; }
.odo-host { display: inline-flex; align-items: flex-start; height: 1em; line-height: 1em; overflow: hidden; }

/* ———— 搜索面板（⌘K） ———— */
.cmd-scrim { position: fixed; inset: 0; z-index: 300; background: rgba(255,255,255,.55); animation: fadeIn .2s var(--ease) backwards; }
.cmd { position: fixed; left: 50%; top: 14vh; width: min(600px, calc(100vw - 32px)); z-index: 301; background: #fff; border-radius: var(--r-xl); box-shadow: 0 40px 100px -30px rgba(11,31,62,.5), 0 0 0 1px rgba(15,24,40,.06); overflow: hidden;
  transform-origin: 50% 0; animation: cmdIn .24s var(--move) backwards; }
@keyframes cmdIn { from { opacity: 0; transform: translate(-50%, -8px) scale(.98); } to { transform: translate(-50%, 0); } }
.cmd { transform: translate(-50%, 0); }
.cmd .q { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
html body .cmd .q input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]) { flex: 1; border: 0 !important; background: none !important; box-shadow: none !important; padding: 0; font: 16px var(--zh); color: var(--ink) !important; border-radius: 0 !important; }
.cmd .q kbd { font: 600 11px/1 var(--num); padding: 3px 6px; border-radius: 6px; background: var(--mist); color: var(--ink-3); }
.cmd ul { list-style: none; max-height: 360px; overflow-y: auto; padding: 8px; margin: 0; }
.cmd li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font: 14px var(--zh); cursor: pointer; color: var(--ink-2); }
.cmd li small { margin-left: auto; font-size: 12px; color: var(--ink-3); letter-spacing: .08em; }
.cmd li.on { background: var(--navy); color: #fff; } .cmd li.on small, .cmd li.on .ic { color: var(--gold-on-navy); }
.cmd .none { padding: 26px; text-align: center; color: var(--ink-3); font: 13.5px var(--zh); }

/* ———— 登录：同样的双页 ———— */
.lg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100vh; background: #fff; }
.lg-cover { background: var(--navy); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; }
.lg-cover .lg-logo { display: flex; align-items: center; gap: 12px; font: 700 17px var(--zh); letter-spacing: .1em; }
.lg-cover .lg-logo img { width: 38px; height: 38px; border-radius: 11px; background: #fff; object-fit: contain; }
.lg-cover h1 { font: 700 40px/1.3 var(--zh); letter-spacing: .02em; margin-top: auto; }
.lg-cover h1 span { color: var(--gold-on-navy); }
.lg-cover p { font: 15px/1.9 var(--zh); color: rgba(255,255,255,.66); margin-top: 16px; max-width: 26em; }
.lg-cover ul { list-style: none; display: grid; gap: 2px; margin: 36px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.lg-cover li { padding: 8px 0; font: 13px/1.7 var(--zh); color: rgba(255,255,255,.55); animation: subIn .5s var(--ease) backwards; }
.lg-cover li:nth-child(2) { animation-delay: 80ms; } .lg-cover li:nth-child(3) { animation-delay: 160ms; }
.lg-cover li b { display: block; color: #fff; font-size: 14.5px; font-weight: 500; }
.lg-cover .lg-co { margin-top: 36px; font: 12px var(--zh); color: rgba(255,255,255,.4); letter-spacing: .06em; }
.lg-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.lg-box { width: min(380px, 100%); animation: pIn .5s var(--ease) backwards .1s; }
.lg-box h2 { font: 700 30px var(--zh); letter-spacing: .02em; color: var(--ink); }
.lg-box > p { font: 13.5px/1.8 var(--zh); color: var(--ink-3); margin: 8px 0 28px; }
.lg-box label.lg-f { display: block; font: 12.5px var(--zh); color: var(--ink-2); margin-bottom: 16px; }
.lg-box .lg-in { position: relative; margin-top: 6px; }
html body .lg-box .lg-in input { width: 100%; height: 46px; padding: 0 44px 0 14px; font-size: 15px; }
.lg-box .lg-eye { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border: 0; background: none; border-radius: 10px; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; transition: background-color .16s var(--ease), color .16s var(--ease); }
.lg-box .lg-eye:hover { background: #fff; color: var(--ink); }
.lg-box .lg-row { display: flex; justify-content: space-between; align-items: center; font: 13px var(--zh); color: var(--ink-2); margin: 4px 0 22px; }
.lg-box .lg-row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; }
html body .lg-box .lg-row input[type=checkbox] { width: 16px; height: 16px; flex: none; margin: 0; }
html body .lg-box .lg-go { width: 100%; min-height: 48px; font-size: 15px; letter-spacing: .3em; justify-content: center; }
.lg-box .lg-ft { margin-top: 36px; font: 12px var(--zh); color: var(--ink-3); }

/* ———— 沿用的小组件换成新样子 ———— */
html body .setup-list a, html body .post-row, html body .todo-row { border-radius: 12px; border-top: 0; }
html body .setup-list a:hover, html body .post-row:hover, html body .todo-row:hover { background: var(--mist); }
html body .setup-list .tick { border-radius: 7px; border-color: #C9CDD6; }
html body .setup-list a.done .tick { background: var(--ok); border-color: var(--ok); }
html body .post-row .dot { border-radius: 3px; } html body .post-row .dot.on { background: var(--gold-on-navy); }
html body .org-card { border: 0; border-radius: 10px; background: var(--mist); }
html body .org li { border-left-color: var(--line); } html body .org li::before { border-top-color: var(--line); }
html body .bar-row i { background: var(--navy); border-radius: 4px; height: 8px; }
html body .nav-badge { background: var(--navy); border-radius: 8px; }
html body .search-pop { border: 0; border-radius: 16px; box-shadow: 0 30px 70px -30px rgba(11,31,62,.45), 0 0 0 1px rgba(15,24,40,.06); }
html body .search-pop a.sp-item { border-radius: 10px; } html body .search-pop a.sp-item:hover { background: var(--mist); }
html body hr { border: 0; border-top: 1px solid var(--line); }

/* ———— 业务、薪酬模块里自带边框的面板：去掉边框、阴影和渐变，换成浅灰圆角块（带 #app 是为了压过模块自己的 !important） ———— */
html body #app :is(.dashboard-todo, .credit-news-panel, .dash-panel, .risk-engine-flow, .chain-command-center, .risk-customer-card, .customer-chain, .risk-judgment-band, .brown-feature-card, .orange-summary-card,
  .perf-department, .ai-route-panel, .model-runtime-card, .lead-empty, .funnel-lite-hero, .perf-month-card, .perf-task, .report-section, .share-editor-section, .m-item, .ai-stat, .test-box, .metric-pill, .flow-card, .task-card,
  .recommend-card, .dc-card, .review-result, .ai-box, .gate-panel, .control-room, .action-stack, .score-panel, .dash-hero, .filter-panel, .department-item, .permission-row, .action-row, .ai-route-grid > article) {
  border: 0 !important; box-shadow: none !important; background: var(--mist) !important; background-image: none !important; border-radius: 20px !important; transform: none !important; }
html body #app :is(.risk-kpi, .funnel-lite-score, .challenge, .hero-kicker, .chain-stage-grid > div, .review-architecture-strip > div, .risk-engine-flow > div, .hero-signal-strip > span, .risk-engine-metrics > span, .risk-signal-grid > div,
  .funnel-lite-next > button, .risk-view-tabs > button, .col-company) {
  border: 0 !important; box-shadow: none !important; background: #fff !important; background-image: none !important; border-radius: 14px !important; }
html body #app :is(.permission-row, .action-row, .department-item) { border-radius: 14px !important; }
html body #app :is(.review-architecture-strip > div, .chain-stage-grid > div, .hero-signal-strip > span, .risk-engine-metrics > span, .col-company) { background: var(--mist) !important; }
html body #app .risk-engine-flow > div, html body #app .risk-signal-grid > div { background: #fff !important; }
html body #app [class*="tone-"] { background-image: none !important; }
html body #app :is(.perf-alert, .perf-note, .form-note, .product-template-note, .formal-run-note, .ai-cache-note, .brief-note, .analysis-candidate-banner, .textin-usage-warn) { border: 0 !important; box-shadow: none !important; border-radius: 14px !important; background: var(--mist) !important; color: var(--ink-2) !important; }
html body #app :is(.order-contract-error, .product-change-error, .product-match-warning) { border: 0 !important; border-radius: 14px !important; background: rgba(194,65,43,.07) !important; color: var(--bad) !important; }
html body .dashboard-head { border: 0 !important; background: none !important; box-shadow: none !important; }
html body .type-tag { border: 0 !important; border-radius: 8px !important; background: var(--mist) !important; color: var(--ink-2) !important; }
html body .team-editable { background: none !important; }
html body .team-editable:hover { background: var(--mist) !important; }

@keyframes fadeIn { from { opacity: 0; } }

/* ———— 手机 ———— */
@media (max-width: 900px) {
  .hd-r1 { padding: 0 14px; gap: 10px; height: 56px; }
  .hd-mark span { display: none; }
  .hd-doms { overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
  .hd-doms button { padding: 0 12px; }
  .hd-tools .txt, .hd-tools kbd, .hd-out, .hd-bell { display: none !important; }
  .hd-doms button { padding: 0 11px !important; }
  .hd-sub { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 0 16px; gap: 0 20px; }
  html body .main.main { padding: 0 16px 60px !important; }
  html body .main.main.bleed { padding: 0 !important; }
  html body .page-head { margin: 24px 0 18px !important; } html body .page-head h1, html body .page-head h2 { font-size: 26px !important; }
  .board { grid-template-columns: minmax(0, 1fr); }
  .cover { position: static; height: auto; min-height: 0; padding: 26px 20px 24px; }
  .cover .cv-big { font-size: 60px; margin-top: 26px; } .cover .cv-big sup { font-size: 20px; margin-top: 6px; } .cover .cv-big small { font-size: 18px; margin-bottom: 6px; }
  .cv-bars { height: 90px; margin-top: 26px; } .cv-date { font-size: 72px; margin-top: 24px; }
  .desk { padding: 26px 16px 50px; }
  .dk-td { padding: 14px 10px; } .dk-td small { margin-left: 0; } .dk-td .goto { display: none; }
  .dk-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dk-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  html body .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body .fin-grid { gap: 0; }
  .lg { grid-template-columns: minmax(0, 1fr); }
  .lg-cover { padding: 28px 24px; } .lg-cover h1 { font-size: 26px; margin-top: 28px; } .lg-cover ul, .lg-cover .lg-co, .lg-cover p { display: none; }
  .lg-form { padding: 32px 20px 48px; align-items: flex-start; }
  html body .modal { padding: 22px 18px !important; border-radius: 18px !important; }
  html body .toast { bottom: 18px !important; max-width: calc(100vw - 32px); }
}
@media (prefers-reduced-motion: reduce) { html body *, html body *::before, html body *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media print { .hd, .cmd, .cmd-scrim { display: none !important; } }

/* ———— 单据详情：转交、加签、分享面板 ———— */
.flow-more { margin-top: 8px; padding: 14px 16px; background: var(--mist, #F2F3F5); border-radius: 14px; display: grid; gap: 12px; }
.flow-more > .row { gap: 10px; flex-wrap: wrap; }
.flow-more > .row > b { flex: 0 0 76px; font-weight: 600; font-size: 13px; line-height: 32px; }
.flow-more .col { display: grid; gap: 8px; flex: 1 1 260px; min-width: 0; }
.mono { font-family: Manrope, ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
@media (max-width: 900px) { .flow-more > .row > b { flex-basis: 100%; line-height: 1.4; } .flow-more select[multiple] { width: 100% !important; } }
html body .flow-more :is(.btn, select) { background: #fff !important; }
html body .flow-more select[multiple] { border-radius: 12px; padding: 6px; }
html body .desc-grid a.link { text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* 关联签单：查找结果列表 */
.pick-list { margin-top: 8px; display: grid; gap: 4px; max-height: 220px; overflow: auto; }
.pick-list > button { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; text-align: left; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--mist, #F2F3F5); cursor: pointer; font: inherit; color: inherit; transition: background-color .18s var(--ease); }
.pick-list > button:hover, .pick-list > button:focus-visible { background: #E6E8EC; }

/* ———— 工作台风景卡片：按节气换照片；大图当主视觉，问候语和节气进度叠在画面上 ———— */
.scene { position: relative; margin: 0 0 26px; height: clamp(240px, 30vh, 340px); border-radius: 22px; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: sceneIn 1.4s var(--move) backwards; transition: transform 1.2s var(--move); }
.scene:hover img { transform: scale(1.03); }
@keyframes sceneIn { from { transform: scale(1.08); opacity: 0; } }
/* 压暗只为了让字看得清：上面压一点给节气名，下面压多一点给问候语 */
.scene::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,31,62,.62) 0%, rgba(11,31,62,.34) 22%, rgba(11,31,62,0) 44%, rgba(11,31,62,0) 50%, rgba(11,31,62,.78) 100%); }
.scene.plain::after { display: none; }
.sc-term { position: absolute; top: 22px; left: 26px; display: flex; align-items: baseline; gap: 12px; animation: riseIn .5s var(--ease) .15s backwards; }
.sc-term b { font: 700 30px/1 var(--zh); letter-spacing: .14em; text-shadow: 0 1px 12px rgba(11,31,62,.35); }
.sc-term span { font: 13px var(--zh); letter-spacing: .2em; color: #fff; text-shadow: 0 1px 10px rgba(11,31,62,.45); padding-left: 12px; border-left: 2px solid var(--gold-on-navy); }
.scene figcaption { position: absolute; left: 26px; right: 26px; bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; animation: riseIn .5s var(--ease) .25s backwards; }
.scene h1 { font: 700 26px/1.3 var(--zh); letter-spacing: .02em; color: #fff; margin: 0; text-wrap: balance; }
.scene h1 span { font-weight: 400; color: rgba(255,255,255,.86); }
.sc-gauge { flex: 0 1 300px; min-width: 200px; }
.sc-gauge .ticks { display: flex; gap: 3px; height: 16px; align-items: flex-end; }
.sc-gauge .ticks i { flex: 1; height: 8px; border-radius: 2px; background: rgba(255,255,255,.28); transition: height .3s var(--ease); }
.sc-gauge .ticks i.on { background: rgba(255,255,255,.86); }
.sc-gauge .ticks i.now { height: 16px; background: var(--gold-on-navy); }
.sc-gauge span { display: block; margin-top: 8px; font: 12.5px var(--zh); color: rgba(255,255,255,.82); letter-spacing: .04em; }
.sc-gauge span b { font: 700 13px var(--num); color: #fff; }
.sc-credit { position: absolute; top: 24px; right: 22px; font: 11px var(--zh); color: rgba(255,255,255,.6); letter-spacing: .04em; }
/* 没有照片时：墨蓝底上放一个很大的节气名当画面 */
.scene.plain .sc-term { top: auto; bottom: 84px; }
.scene.plain::before { content: ''; position: absolute; right: -40px; top: -60px; width: 320px; height: 320px; border-radius: 56px; background: rgba(255,255,255,.045); transform: rotate(18deg); z-index: -1; }
@media (max-width: 900px) {
  .scene { height: 260px; border-radius: 18px; margin-bottom: 20px; }
  .sc-term { top: 18px; left: 18px; } .sc-term b { font-size: 24px; }
  .scene figcaption { left: 18px; right: 18px; bottom: 16px; } .scene h1 { font-size: 20px; }
  .sc-gauge { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .scene img, .sc-term, .scene figcaption { animation: none; } .scene:hover img { transform: none; } }
.scene h1, .sc-gauge span { text-shadow: 0 1px 10px rgba(11,31,62,.5); }

/* ======== 工作台（11-14 改版）：浅灰底上的柔和白卡片，一张品牌蓝渐变主卡当主角 ========
   参考用户给的 dashboard：顶上一排小数、左边白色清单、右边渐变大卡里放大数和走势；青绿色换成 logo 的墨蓝往亮蓝过渡。 */
:root { --bd-bg: #ECEEF2; --blue: #2459AE; --sky: #86AEEA; --soft: 0 1px 2px rgba(15,24,40,.04), 0 10px 28px rgba(15,24,40,.05); }
.bd { background: var(--bd-bg); min-height: calc(100vh - var(--hd-h)); padding: 30px 36px 64px; }
.bd-in { max-width: 1408px; margin: 0 auto; }
.bd-card { background: #fff; border-radius: 24px; box-shadow: var(--soft); }
/* 标题行 */
.bd-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 22px; }
.bd-top small { font: 12.5px var(--zh); color: var(--ink-3); letter-spacing: .04em; }
.bd-top h1 { font: 400 34px/1.2 var(--zh); letter-spacing: .04em; color: var(--ink); margin: 4px 0 0; }
.bd-top dl { display: flex; gap: 34px; margin: 0; }
.bd-top dt { font: 11px var(--zh); color: var(--ink-3); letter-spacing: .08em; } .bd-top dd { margin: 3px 0 0; font: 500 13.5px var(--zh); color: var(--ink); font-variant-numeric: tabular-nums; }
/* 一排小数 */
.bd-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.bd-kpis a { display: block; padding: 16px 20px 15px; border-radius: 20px; background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), var(--soft); color: inherit; cursor: pointer;
  transition: transform .22s var(--ease), background-color .22s var(--ease); animation: riseIn .4s var(--ease) backwards; }
.bd-kpis a:nth-child(2) { animation-delay: 40ms; } .bd-kpis a:nth-child(3) { animation-delay: 80ms; } .bd-kpis a:nth-child(4) { animation-delay: 120ms; } .bd-kpis a:nth-child(5) { animation-delay: 160ms; }
.bd-kpis a:hover { background: #fff; transform: translateY(-2px); } .bd-kpis a:active { transform: scale(.98); }
.bd-kpis span { display: block; font: 11.5px var(--zh); color: var(--ink-3); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-kpis b { display: block; margin-top: 8px; font: 500 28px/1.1 var(--num); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-kpis b small { font: 400 12.5px var(--zh); color: var(--ink-3); margin-left: 6px; letter-spacing: 0; }
/* 主区：左白右蓝 */
.bd-main { display: grid; grid-template-columns: minmax(300px, 4fr) 8fr; gap: 14px; align-items: stretch; }
.bd-side { padding: 22px 22px 24px; }
.bd-card h3 { display: flex; align-items: baseline; gap: 6px; font: 500 16px var(--zh); color: var(--ink); margin: 22px 0 12px; letter-spacing: .02em; }
.bd-card h3:first-child { margin-top: 0; }
.bd-card h3 i { font: 400 14px var(--num); font-style: normal; color: var(--ink-3); } .bd-card h3 a { margin-left: auto; font: 12.5px var(--zh); color: var(--ink-3); } .bd-card h3 a:hover { color: var(--ink); }
.bd-card h3 span { margin-left: auto; font: 12.5px var(--zh); color: var(--ink-3); }
.bd-todos { display: grid; gap: 6px; }
.bd-todos a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); color: inherit; cursor: pointer;
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease), transform .12s var(--ease); }
.bd-todos a:hover { background: var(--navy); box-shadow: none; color: #fff; } .bd-todos a:active { transform: scale(.985); }
.bd-todos .g { font: 11px var(--zh); color: var(--ink-3); letter-spacing: .08em; } .bd-todos a:hover .g { color: rgba(255,255,255,.6); }
.bd-todos .n { font: 13.5px var(--zh); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-todos b { min-width: 26px; height: 24px; padding: 0 8px; border-radius: 9px; background: var(--mist); font: 600 12.5px/24px var(--num); text-align: center; color: var(--ink); transition: background-color .18s var(--ease); }
.bd-todos a:hover b { background: #fff; color: var(--navy); }
.bd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-chips button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 12px; border: 0; border-radius: 12px; background: none; box-shadow: inset 0 0 0 1px var(--line); font: 13px var(--zh); color: var(--ink); cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease), transform .12s var(--ease); }
.bd-chips button .ic { color: var(--blue); transition: color .18s var(--ease), transform .18s var(--ease); }
.bd-chips button:hover { background: var(--navy); color: #fff; box-shadow: none; } .bd-chips button:hover .ic { color: #fff; transform: translateY(-1px); } .bd-chips button:active { transform: scale(.96); }
.bd-today, .bd-empty { font: 13.5px/1.9 var(--zh); color: var(--ink-2); margin: 0; } .bd-today b { color: var(--ink); font-weight: 600; }
/* 蓝色渐变主卡：墨蓝打底，右上角透出亮蓝 */
.bd-hero { position: relative; border-radius: 24px; padding: 22px 28px 26px; color: #fff; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 520px;
  background: radial-gradient(90% 80% at 100% 0%, rgba(134,174,234,.95) 0%, rgba(134,174,234,0) 62%), radial-gradient(70% 60% at 0% 100%, rgba(36,89,174,.55) 0%, rgba(36,89,174,0) 70%), linear-gradient(155deg, #0B1F3E 0%, #14397A 52%, #2459AE 100%);
  box-shadow: 0 18px 40px rgba(20,57,122,.22); }
.bh-top { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.16); }
.bh-find { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 38px; padding: 0; border: 0; background: none; color: rgba(255,255,255,.72); font: 15px var(--zh); cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; transition: color .18s var(--ease); }
.bh-find:hover { color: #fff; } .bh-find .ic { flex: none; }
.bh-find kbd { margin-left: 4px; padding: 2px 7px; border-radius: 7px; background: rgba(255,255,255,.14); font: 11px var(--num); color: rgba(255,255,255,.8); }
.bd-hero .cv-seg { background: rgba(255,255,255,.12); } .bd-hero .cv-seg .hl { background: #fff; } .bd-hero .cv-seg button.on { color: var(--navy); }
.bh-cap { display: block; margin-top: 26px; font: 13px var(--zh); color: rgba(255,255,255,.72); letter-spacing: .04em; }
.bh-big { display: flex; align-items: flex-start; margin: 8px 0 0 -3px; font: 500 76px/1 var(--num); letter-spacing: -.04em; white-space: nowrap; }
.bh-big sup { font-size: 24px; font-weight: 500; margin: 9px 8px 0 0; color: rgba(255,255,255,.72); } .bh-big small { align-self: flex-end; margin: 0 0 9px 8px; font: 400 22px var(--zh); color: rgba(255,255,255,.72); letter-spacing: 0; }
.bh-say { margin: 14px 0 0; max-width: 34em; font: 14px/1.9 var(--zh); color: rgba(255,255,255,.82); } .bh-say b { font: 600 14px var(--num); color: #fff; }
/* 走势：一排圆头小柱，当前期实心白，其余用斜纹 */
.bh-wave { display: flex; align-items: flex-end; gap: 8px; height: 108px; margin-top: auto; padding-top: 26px; }
.bh-wave div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.bh-wave i { display: block; width: 100%; border-radius: 10px; transform-origin: bottom; animation: barUp .6s var(--move) backwards;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.42) 0 2px, rgba(255,255,255,.14) 2px 5px); transition: height .5s var(--move); }
.bh-wave div.on i { background: #fff; } .bh-wave div:hover i { background: rgba(255,255,255,.6); } .bh-wave div.on:hover i { background: #fff; }
.bh-wave span { font: 10.5px var(--num); color: rgba(255,255,255,.6); } .bh-wave div.on span { color: #fff; font-weight: 700; }
@keyframes barUp { from { transform: scaleY(0); } }
.bd-hero h4 { display: flex; align-items: baseline; margin: 26px 0 10px; font: 500 15px var(--zh); color: #fff; letter-spacing: .02em; } .bd-hero h4 a { margin-left: auto; font: 12.5px var(--zh); color: rgba(255,255,255,.7); } .bd-hero h4 a:hover { color: #fff; }
.bh-wave + h4 { margin-top: 22px; }
.bh-rows { display: grid; gap: 6px; }
.bh-rows a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px 0 16px; border-radius: 14px; background: rgba(255,255,255,.12); color: #fff; font: 13.5px var(--zh); cursor: pointer; transition: background-color .18s var(--ease), transform .12s var(--ease); }
.bh-rows a:hover { background: rgba(255,255,255,.2); } .bh-rows a:active { transform: scale(.99); }
.bh-rows a > i { flex: none; width: 8px; height: 8px; border-radius: 3px; background: rgba(255,255,255,.3); } .bh-rows a > i.on { background: #fff; }
.bh-rows span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-rows .ic { opacity: .5; transition: transform .18s var(--ease), opacity .18s var(--ease); } .bh-rows a:hover .ic { opacity: 1; transform: translateX(3px); }
.bh-rows p { margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.1); font: 13px var(--zh); color: rgba(255,255,255,.72); }
/* 下排：风景卡 + 公告 */
.bd-low { display: grid; grid-template-columns: 8fr minmax(300px, 4fr); gap: 14px; margin-top: 14px; }
.bd-low .scene { margin: 0; height: auto; min-height: 280px; border-radius: 24px; box-shadow: var(--soft); }
.bd-posts { padding: 22px 22px 18px; } .bd-posts .dk-li { margin: 0 -10px; padding: 9px 10px; }
.bd-chart { margin-top: 14px; padding: 22px 24px; }
/* 顶栏的工作域切换：深色条里一块白色滑块（参考图的做法） */
.hd-doms { padding: 4px; border-radius: 16px; background: var(--navy); gap: 2px; }
.hd-doms button { height: 34px; color: rgba(255,255,255,.72); } .hd-doms button:hover { color: #fff; }
.hd-doms button.on { color: var(--navy); } .hd-doms .hl { top: 4px; height: 34px; background: #fff; border-radius: 12px; }
.hd-doms button sup { color: var(--gold-on-navy); } .hd-doms button.on sup { color: var(--gold-deep); }
@media (max-width: 1100px) { .bd-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bd-main, .bd-low { grid-template-columns: minmax(0, 1fr); } .bd-hero { min-height: 0; } }
@media (max-width: 900px) {
  .bd { padding: 18px 14px 48px; } .bd-top h1 { font-size: 26px; } .bd-top dl { gap: 22px; }
  .bd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .bd-kpis a { padding: 14px 16px; border-radius: 18px; } .bd-kpis b { font-size: 24px; }
  .bd-kpis a:first-child { grid-column: 1 / -1; }
  .bd-card, .bd-hero, .bd-low .scene { border-radius: 20px; } .bd-hero { padding: 18px 18px 20px; } .bh-big { font-size: 52px; } .bh-big sup { font-size: 18px; margin-top: 6px; }
  .bh-top { flex-wrap: wrap; } .bh-find kbd { display: none; } .bh-wave { gap: 5px; height: 90px; margin-top: 22px; } .bd-low .scene { min-height: 250px; }
}
@media (prefers-reduced-motion: reduce) { .bd-kpis a, .bh-wave i { animation: none; } .bd-kpis a:hover { transform: none; } }

.bd-kpis { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.bh-big, .bd-kpis b { font-variant-numeric: tabular-nums; }
.bd-low { grid-template-columns: minmax(0, 1fr); } .bd-low .scene { min-height: 300px; }
.bd-side .dk-li { margin: 0 -10px; padding: 9px 10px; }
.bd-hero { min-height: 0; }
@media (max-width: 1100px) { .bd-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .bd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bd-low .scene { min-height: 250px; } }
@media (max-width: 1100px) { .bd-hero { order: -1; } }

/* ======== 全站统一成工作台的样子（11-14）：浅灰底、柔和白卡片、细字重标题与数字；主系统和内置的业务、薪酬模块共用 ======== */
html, html body { background: var(--bd-bg) !important; }
html body .mod-frame { background: var(--bd-bg); }
.hd { background: rgba(255,255,255,.97); }
html body .page-head { margin: 30px 0 20px !important; }
html body .page-head h1, html body .page-head h2 { font: 400 32px/1.2 var(--zh) !important; letter-spacing: .04em !important; }
/* 区块回到卡片：白底、大圆角、很轻的阴影 */
html body .card, html body .table-card { background: #fff !important; border-radius: 22px !important; box-shadow: var(--soft) !important; padding: 22px 24px !important; margin-bottom: 14px; }
html body .card:hover, html body .table-card:hover { background: #fff !important; box-shadow: var(--soft) !important; }
html body .table-card { padding: 10px 12px 6px !important; overflow: hidden; }
html body .card > .table-wrap, html body .table-card > .table-wrap { margin: 0; }
html body :is(.card, .table-card, .modal, .bd-card) :is(.card, .table-card) { background: var(--mist) !important; box-shadow: none !important; border-radius: 16px !important; padding: 14px 16px !important; }
html body .modal .card:hover { background: var(--mist) !important; box-shadow: none !important; }
html body table > tr:last-child td, html body tbody tr:last-child td { border-bottom: 0 !important; }
html body .fin-grid { gap: 14px; }
/* 指标：一排柔和小卡，小标签 + 细字重大数 */
html body .kpi-grid { gap: 12px !important; padding: 0; border-radius: 0; background: none; margin-bottom: 14px; }
html body .kpi { background: rgba(255,255,255,.72) !important; border-radius: 20px !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), var(--soft) !important; padding: 16px 20px 15px !important; }
html body .kpi[style*="cursor"]:hover, html body .kpi.kpi-click:hover { background: #fff !important; transform: translateY(-2px) !important; }
html body .kpi .kpi-label { font: 11.5px var(--zh) !important; }
html body .kpi .kpi-value { font: 500 26px/1.25 var(--num) !important; margin-top: 6px; }
html body .kpi .kpi-ic { color: var(--blue) !important; }
/* 灰底上的控件：白底细边 */
html body .btn { background: #fff !important; box-shadow: inset 0 0 0 1px var(--line) !important; }
html body .btn:hover { background: #fff !important; box-shadow: inset 0 0 0 1px #C9CDD6 !important; }
html body .btn-primary, html body .btn.btn-primary { background: var(--navy) !important; box-shadow: none !important; }
html body .btn-primary:hover, html body .btn.btn-primary:hover { background: var(--navy-2) !important; box-shadow: none !important; }
html body .btn-text, html body .btn.btn-text { background: transparent !important; box-shadow: none !important; }
html body .btn-text:hover { background: rgba(15,24,40,.05) !important; box-shadow: none !important; }
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), html body select, html body textarea { background-color: #fff !important; border-color: var(--line) !important; }
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):hover, html body select:hover, html body textarea:hover { background-color: #fff !important; border-color: #C9CDD6 !important; }
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):focus, html body select:focus, html body textarea:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 4px rgba(36,89,174,.14) !important; }
html body .cmd .q input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]) { border: 0 !important; box-shadow: none !important; }
/* 分段切换：白槽里一块墨蓝滑块 */
html body .tabs, html body .subtabs { background: #fff !important; box-shadow: var(--soft) !important; border-radius: 16px !important; margin-bottom: 14px; }
html body .tabs > *, html body .subtabs > * { border-radius: 12px !important; padding: 7px 16px !important; }
html body .tabs > .active, html body .subtabs > .active { color: #fff !important; font-weight: 500 !important; }
html body .tabs > .active::before, html body .subtabs > .active::before { background: var(--navy); border-radius: 12px; box-shadow: none; }
html body :is(.card, .table-card, .modal) :is(.tabs, .subtabs) { background: var(--mist) !important; box-shadow: none !important; }
/* 提醒条：灰底上用半透明白，卡片和弹窗里用浅灰 */
html body .note { background: rgba(255,255,255,.72) !important; }
html body .note.warn { background: rgba(255,255,255,.72) !important; }
html body :is(.card, .table-card, .modal, .bd-card) .note { background: var(--mist) !important; }
html body .toolbar { margin-bottom: 14px; }
html body .badge, html body [class*="badge-"] { background: var(--mist) !important; }
html body .org-card { background: #fff; box-shadow: var(--soft); }
html body .hd-sub .ul { background: var(--navy); }
/* 业务、薪酬模块：外层面板是白卡片，里面的小块用浅灰 */
html body #app :is(.dashboard-todo, .credit-news-panel, .dash-panel, .risk-engine-flow, .chain-command-center, .risk-customer-card, .customer-chain, .risk-judgment-band, .brown-feature-card, .orange-summary-card,
  .perf-department, .ai-route-panel, .model-runtime-card, .lead-empty, .funnel-lite-hero, .perf-month-card, .perf-task, .report-section, .share-editor-section, .m-item, .ai-stat, .test-box, .metric-pill, .flow-card, .task-card,
  .recommend-card, .dc-card, .review-result, .ai-box, .gate-panel, .control-room, .action-stack, .score-panel, .dash-hero, .filter-panel, .department-item, .permission-row, .action-row, .ai-route-grid > article) {
  background: #fff !important; box-shadow: var(--soft) !important; border-radius: 22px !important; }
html body #app :is(.risk-kpi, .funnel-lite-score, .challenge, .hero-kicker, .chain-stage-grid > div, .review-architecture-strip > div, .risk-engine-flow > div, .hero-signal-strip > span, .risk-engine-metrics > span, .risk-signal-grid > div,
  .funnel-lite-next > button, .risk-view-tabs > button, .col-company) { background: var(--mist) !important; }
html body #app .risk-engine-flow > div, html body #app .risk-signal-grid > div { background: var(--mist) !important; }
html body #app :is(.card, .table-card, .modal, .dash-panel, .report-section) :is(.dashboard-todo, .dash-panel, .m-item, .ai-stat, .test-box, .metric-pill, .flow-card, .task-card, .recommend-card, .dc-card, .perf-task, .permission-row, .action-row, .department-item, .ai-box) {
  background: var(--mist) !important; box-shadow: none !important; border-radius: 16px !important; }
html body #app :is(.permission-row, .action-row, .department-item) { border-radius: 16px !important; }
html body #app :is(.perf-alert, .perf-note, .form-note, .product-template-note, .formal-run-note, .ai-cache-note, .brief-note, .analysis-candidate-banner, .textin-usage-warn) { background: rgba(255,255,255,.72) !important; }
/* 登录：左边换成和工作台主卡一样的蓝色渐变 */
.lg { background: var(--bd-bg); }
.lg-cover { margin: 14px 0 14px 14px; border-radius: 28px; box-shadow: 0 18px 40px rgba(20,57,122,.22);
  background: radial-gradient(90% 70% at 100% 0%, rgba(134,174,234,.95) 0%, rgba(134,174,234,0) 62%), radial-gradient(70% 60% at 0% 100%, rgba(36,89,174,.55) 0%, rgba(36,89,174,0) 70%), linear-gradient(155deg, #0B1F3E 0%, #14397A 52%, #2459AE 100%); }
.lg-cover h1 { font-weight: 400; } .lg-cover h1 span { color: #fff; font-weight: 700; }
.lg-cover p { color: rgba(255,255,255,.78); } .lg-cover li { color: rgba(255,255,255,.7); } .lg-cover ul { border-top-color: rgba(255,255,255,.18); } .lg-cover .lg-co { color: rgba(255,255,255,.6); }
.lg-box { width: min(420px, 100%); padding: 34px 32px 28px; border-radius: 26px; background: #fff; box-shadow: var(--soft); }
.lg-box h2 { font-weight: 400; letter-spacing: .04em; }
@media (max-width: 900px) { html body .card { padding: 18px 16px !important; border-radius: 20px !important; } html body .table-card { padding: 6px 6px 4px !important; }
  .lg-cover { margin: 10px; border-radius: 22px; } .lg-box { padding: 26px 20px 22px; } }
/* 业务概览里残留的米色流程条和金色线索数字块 */
html body #app .funnel-stage-strip { background: var(--mist) !important; background-image: none !important; border: 0 !important; }
html body #app .funnel-stage-strip button { background: none !important; border: 0 !important; box-shadow: none !important; }
html body #app .lead-count-badge { background: var(--navy) !important; background-image: none !important; border: 0 !important; box-shadow: none !important; border-radius: 16px !important; color: #fff !important; }
html body #app .lead-count-badge :is(b, span, small) { color: #fff !important; }
html body #app .funnel-lite-flow { background: var(--mist) !important; background-image: none !important; border-top: 0 !important; }
html body #app .funnel-lite-flow button::before { background: #D5D8DE !important; }
html body #app .funnel-lite-facts em { background: var(--mist) !important; }
html body #app .lead-count-badge, html body #app [class*="lead-count"] { background-image: none !important; }

/* ================= 玻璃态（11-15）：当季风景虚化当背景，页面元素是浮在上面的玻璃；白天 / 夜晚两版按时间切换 =================
   颜色只取自 logo：墨蓝 #232937 与金 #B89C6E。白天是白玻璃，夜晚主系统是深玻璃；业务、薪酬模块自带大量深色文字，夜晚保持浅色玻璃、只把背景压暗。 */
@font-face { font-family: "Urbanist"; src: local("Urbanist"); }
:root {
  --navy: #232937; --navy-2: #34405A; --gold-on-navy: #B89C6E; --gold-deep: #8E7243; --blue: #8E7243;
  --brand: #232937; --brand-600: #34405A; --brand-700: #232937; --spine: #232937; --gilt: #B89C6E;
  --wash: linear-gradient(180deg, rgba(236,240,247,.8) 0%, rgba(226,232,243,.62) 46%, rgba(214,223,238,.74) 100%);
  --g: rgba(255,255,255,.58); --g-hi: rgba(255,255,255,.78); --g-brd: rgba(255,255,255,.8); --g-in: rgba(255,255,255,.5); --g-chip: rgba(255,255,255,.62); --g-solid: rgba(250,251,253,.9);
  --g-deep: rgba(24,33,54,.74); --g-shadow: 0 1px 1px rgba(20,27,43,.04), 0 12px 36px rgba(20,27,43,.12); --g-blur: blur(24px) saturate(165%);
  --soft: var(--g-shadow); --line: rgba(35,41,55,.1); --line-light: rgba(35,41,55,.07); --mist: rgba(35,41,55,.055); --mist-2: rgba(35,41,55,.1);
}
html[data-tone="night"] { --wash: linear-gradient(180deg, rgba(14,19,31,.78) 0%, rgba(17,24,40,.62) 46%, rgba(12,17,29,.84) 100%); --g-shadow: 0 1px 1px rgba(0,0,0,.2), 0 16px 44px rgba(0,0,0,.34); }
html[data-tone="night"]:not(.host) { --g: rgba(244,246,250,.88); --g-hi: rgba(250,251,253,.95); --g-chip: rgba(255,255,255,.7); }
html[data-tone="night"].host {
  color-scheme: dark;
  --ink: #F2F4F8; --ink-2: rgba(242,244,248,.78); --ink-3: rgba(242,244,248,.56); --ink-900: #F2F4F8; --ink-600: rgba(242,244,248,.78); --ink-400: rgba(242,244,248,.56);
  --g: rgba(34,44,68,.52); --g-hi: rgba(52,64,96,.66); --g-brd: rgba(255,255,255,.14); --g-in: rgba(255,255,255,.07); --g-chip: rgba(255,255,255,.09); --g-solid: rgba(28,36,56,.92);
  --g-deep: rgba(184,156,110,.2); --line: rgba(255,255,255,.13); --line-light: rgba(255,255,255,.08); --mist: rgba(255,255,255,.07); --mist-2: rgba(255,255,255,.13);
  --navy: #46557A; --navy-2: #56678F; --gold-deep: #D9C196; --ok: #7FD6AA; --green: #7FD6AA; --bad: #F0907C; --red: #F0907C;
}
html { background: #DDE4EF !important; } html[data-tone="night"] { background: #0E1320 !important; }
html body { background: transparent !important; position: relative; }
html::before { content: ""; position: fixed; inset: 0; z-index: -2; background: var(--scene-bg, none) center / cover no-repeat; transform: scale(1.04); }
html::after { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--wash); transition: background .6s var(--ease); }
html body .mod-frame, .bd, .lg { background: transparent !important; }
html body .mod-frame iframe { background: transparent; }

/* 玻璃面：卡片、表格卡、指标、提醒条、页签槽、模块面板 */
html body .card, html body .table-card, .bd-card, html body .kpi, html body .tabs, html body .subtabs, html body .note, html body .note.warn, html body .org-card,
html body #app :is(.dashboard-todo, .credit-news-panel, .dash-panel, .risk-engine-flow, .chain-command-center, .risk-customer-card, .customer-chain, .risk-judgment-band, .brown-feature-card, .orange-summary-card,
  .perf-department, .ai-route-panel, .model-runtime-card, .lead-empty, .funnel-lite-hero, .perf-month-card, .perf-task, .report-section, .share-editor-section, .m-item, .ai-stat, .test-box, .metric-pill, .flow-card, .task-card,
  .recommend-card, .dc-card, .review-result, .ai-box, .gate-panel, .control-room, .action-stack, .score-panel, .dash-hero, .filter-panel, .department-item, .permission-row, .action-row, .ai-route-grid > article) {
  background: var(--g) !important; -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); border: 1px solid var(--g-brd) !important; box-shadow: var(--g-shadow), inset 0 1px 0 var(--g-in) !important; }
html body .card:hover, html body .table-card:hover { background: var(--g) !important; box-shadow: var(--g-shadow), inset 0 1px 0 var(--g-in) !important; }
html body .kpi[style*="cursor"]:hover, html body .kpi.kpi-click:hover { background: var(--g-hi) !important; }
html body :is(.card, .table-card, .modal, .bd-card) :is(.card, .table-card), html body :is(.card, .table-card, .modal, .bd-card) .note,
html body #app :is(.card, .table-card, .modal, .dash-panel, .report-section) :is(.dashboard-todo, .dash-panel, .m-item, .ai-stat, .test-box, .metric-pill, .flow-card, .task-card, .recommend-card, .dc-card, .perf-task, .permission-row, .action-row, .department-item, .ai-box) {
  background: var(--g-chip) !important; -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--g-brd) !important; box-shadow: none !important; }
html body :is(.card, .table-card, .modal) :is(.tabs, .subtabs) { background: var(--g-chip) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
html body .note.warn { box-shadow: var(--g-shadow), inset 3px 0 0 var(--gold-on-navy) !important; }
html body .kpi .kpi-ic { color: var(--gold-deep) !important; }
/* 顶栏 */
.hd { background: var(--g) !important; -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); border-bottom: 1px solid var(--g-brd); box-shadow: 0 8px 30px rgba(20,27,43,.08); }
.hd-mark img.mk { width: 30px; height: 33px; border-radius: 0; background: none; object-fit: contain; } .hd-mark img.wd { height: 18px; width: auto; border-radius: 0; background: none; }
.hd-mark { display: flex; align-items: center; gap: 10px; }
html[data-tone="night"] .hd-mark { padding: 5px 10px 5px 8px; border-radius: 13px; background: rgba(255,255,255,.92); }
.hd-doms { background: var(--g-chip); border: 1px solid var(--g-brd); }
.hd-doms button { color: var(--ink-2); } .hd-doms button:hover { color: var(--ink); } .hd-doms button.on { color: #fff; }
.hd-doms .hl { background: #232937; box-shadow: 0 6px 16px rgba(20,27,43,.28); }
html[data-tone="night"] .hd-doms .hl { background: #B89C6E; } html[data-tone="night"] .hd-doms button.on { color: #141B2B; } html[data-tone="night"] .hd-doms button.on sup { color: #141B2B; }
.hd-tools > button:hover, .hd-tools > a:hover { background: var(--g-chip); } .hd-tools kbd { background: var(--mist-2); color: var(--ink-2); }
html body .hd-me .avatar { background: #232937; color: #fff; } .hd-bell i { box-shadow: none; }
.hd-sub .ul { background: var(--gold-on-navy); } .hd-sub .grp { color: var(--ink-3); border-left-color: var(--line); }
.hd-tone { display: flex; padding: 3px; border-radius: 12px; background: var(--g-chip); border: 1px solid var(--g-brd); margin-right: 4px; }
.hd-tone button { height: 28px; padding: 0 10px; border: 0; background: none; border-radius: 9px; font: 12px var(--zh); color: var(--ink-3); cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease); }
.hd-tone button.on { background: var(--g-hi); color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px rgba(20,27,43,.12); }
/* 控件 */
html body .btn { background: var(--g-chip) !important; box-shadow: inset 0 0 0 1px var(--g-brd) !important; color: var(--ink) !important; }
html body .btn:hover { background: var(--g-hi) !important; box-shadow: inset 0 0 0 1px var(--g-brd), 0 6px 16px rgba(20,27,43,.1) !important; }
html body .btn-primary, html body .btn.btn-primary { background: #232937 !important; color: #fff !important; box-shadow: 0 6px 16px rgba(20,27,43,.22) !important; }
html body .btn-primary:hover, html body .btn.btn-primary:hover { background: #34405A !important; }
html[data-tone="night"].host body .btn-primary, html[data-tone="night"].host body .btn.btn-primary { background: #B89C6E !important; color: #141B2B !important; }
html[data-tone="night"].host body .btn-primary:hover, html[data-tone="night"].host body .btn.btn-primary:hover { background: #CDB48A !important; }
html body .btn-text, html body .btn.btn-text { background: transparent !important; box-shadow: none !important; color: var(--ink) !important; }
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), html body select, html body textarea { background-color: var(--g-chip) !important; border-color: var(--g-brd) !important; color: var(--ink) !important; }
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):hover, html body select:hover, html body textarea:hover { background-color: var(--g-hi) !important; border-color: var(--g-brd) !important; }
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):focus, html body select:focus, html body textarea:focus { background-color: var(--g-hi) !important; border-color: var(--gold-on-navy) !important; box-shadow: 0 0 0 4px rgba(184,156,110,.2) !important; }
html body input::placeholder, html body textarea::placeholder { color: var(--ink-3) !important; }
html body .cmd .q input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]) { background: none !important; border: 0 !important; box-shadow: none !important; }
html[data-tone="night"].host select option { background: #1C2438; color: #F2F4F8; }
html body .tabs > *, html body .subtabs > * { color: var(--ink-2) !important; } html body .tabs > *:hover, html body .subtabs > *:hover { color: var(--ink) !important; }
html body .tabs > .active, html body .subtabs > .active { color: #fff !important; }
html body .tabs > .active::before, html body .subtabs > .active::before { background: #232937; box-shadow: 0 6px 14px rgba(20,27,43,.24); }
html[data-tone="night"].host body .tabs > .active, html[data-tone="night"].host body .subtabs > .active { color: #141B2B !important; }
html[data-tone="night"].host body .tabs > .active::before, html[data-tone="night"].host body .subtabs > .active::before { background: #B89C6E; }
html body .badge, html body [class*="badge-"], html body .type-tag { background: var(--mist-2) !important; color: var(--ink-2) !important; }
html body .link { color: var(--ink) !important; }
html body tr.clickable:hover > td { background: var(--g-chip) !important; }
html body .page-head h1, html body .page-head h2 { font-weight: 300 !important; color: var(--ink) !important; }
html body .page-head .sub { color: var(--ink-3) !important; }
html.host body, html.host body :is(h3, h4, b, strong, label, p, li, dt, dd, summary) { color: var(--ink); }
html.host body .muted, html.host body .small.muted { color: var(--ink-3) !important; }
html.host body .form-grid label, html.host body .f, html.host body .chk { color: var(--ink-2); }
/* 弹窗、搜索面板、提示：更实一点的玻璃，保证表单看得清 */
html body .modal-mask, html body .confirm-mask, html body .risk-drawer-mask { background: rgba(14,19,31,.34) !important; -webkit-backdrop-filter: blur(6px) !important; backdrop-filter: blur(6px) !important; }
html body .modal, html body .confirm-card, .cmd, html body .search-pop { background: var(--g-solid) !important; -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); border: 1px solid var(--g-brd) !important; box-shadow: 0 40px 100px -30px rgba(14,19,31,.6), inset 0 1px 0 var(--g-in) !important; }
html body .modal h3 { color: var(--ink) !important; font-weight: 500 !important; }
.cmd-scrim { background: rgba(14,19,31,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cmd li { color: var(--ink-2); } .cmd li.on { background: #232937; color: #fff; } .cmd .q { border-bottom-color: var(--line); }
html body .toast { background: rgba(28,36,56,.92) !important; -webkit-backdrop-filter: blur(20px) !important; backdrop-filter: blur(20px) !important; border: 1px solid rgba(255,255,255,.16) !important; }
/* 夜晚：图表里的墨蓝换成金，深色条看得见 */
html[data-tone="night"].host svg [fill="#232937"] { fill: #E4CFA6; } html[data-tone="night"].host svg [stroke="#E6E8EC"] { stroke: rgba(255,255,255,.1); }
html[data-tone="night"].host svg text { fill: rgba(242,244,248,.6); }
html[data-tone="night"].host body .progress i, html[data-tone="night"].host body .bar-row i { background: #B89C6E !important; }
html[data-tone="night"].host body .st { color: var(--ink-2) !important; }
/* 模块里的小块 */
html body #app :is(.risk-kpi, .funnel-lite-score, .challenge, .hero-kicker, .chain-stage-grid > div, .review-architecture-strip > div, .risk-engine-flow > div, .hero-signal-strip > span, .risk-engine-metrics > span, .risk-signal-grid > div,
  .funnel-lite-next > button, .risk-view-tabs > button, .col-company, .funnel-lite-flow, .funnel-lite-facts em) { background: var(--g-chip) !important; }
html body .dashboard-head::before { color: var(--ink) !important; font-weight: 300 !important; }
@media (prefers-reduced-transparency: reduce) { html body .card, html body .table-card, .bd-card, html body .kpi, .hd { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--g-solid) !important; } }

/* ———— 工作台（玻璃态） ———— */
.bd-top h1 { font: 300 40px/1.18 var(--zh); letter-spacing: .04em; color: var(--ink); } .bd-top h1 b { font-weight: 600; }
.bd-top small, .bd-top dt { color: var(--ink-3); } .bd-top dd { color: var(--ink); }
.bd-card { background: var(--g); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); border: 1px solid var(--g-brd); box-shadow: var(--g-shadow), inset 0 1px 0 var(--g-in); border-radius: 26px; }
.bd-card h3 { color: var(--ink); } .bd-card h3 i, .bd-card h3 a, .bd-card h3 span { color: var(--ink-3); }
.gk { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.gk a { position: relative; display: block; padding: 18px 20px 16px; border-radius: 22px; overflow: hidden; color: var(--ink); cursor: pointer;
  background: var(--g); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); border: 1px solid var(--g-brd); box-shadow: var(--g-shadow), inset 0 1px 0 var(--g-in);
  transition: transform .3s var(--ease), background-color .3s var(--ease); animation: riseIn .5s var(--ease) backwards; }
.gk a:nth-child(2) { animation-delay: 50ms; } .gk a:nth-child(3) { animation-delay: 100ms; } .gk a:nth-child(4) { animation-delay: 150ms; } .gk a:nth-child(5) { animation-delay: 200ms; }
.gk a:hover { transform: translateY(-3px); background: var(--g-hi); } .gk a:active { transform: scale(.98); }
.gk span { display: block; font: 12px var(--zh); color: var(--ink-3); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gk b { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; font: 400 30px/1.1 var(--num); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gk b small { font: 400 13px var(--zh); color: var(--ink-3); letter-spacing: 0; }
.gk em { display: inline-flex; margin-top: 10px; padding: 2px 8px; border-radius: 8px; background: var(--mist-2); font: 500 12px var(--num); font-style: normal; color: var(--ink-2); max-width: calc(100% - 92px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gk em.good { background: rgba(30,122,82,.13); color: #1E7A52; } html[data-tone="night"] .gk em.good { color: #8FDDB5; background: rgba(127,214,170,.14); }
.gk svg.sp { position: absolute; right: 16px; bottom: 16px; width: 84px; height: 34px; overflow: visible; }
.gk svg.sp path { fill: none; stroke: #232937; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } html[data-tone="night"] .gk svg.sp path { stroke: #B89C6E; }
.gk svg.sp circle { fill: #B89C6E; stroke: var(--g-hi); stroke-width: 2; }
.bd-side { display: flex; flex-direction: column; gap: 22px; } .bd-side h3 { margin: 0 0 12px; }
.gt { display: grid; gap: 8px; }
.gt a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 16px; background: var(--g-chip); border: 1px solid var(--g-brd); color: var(--ink); cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease); }
.gt a:hover { transform: translateX(4px); background: var(--g-hi); box-shadow: 0 8px 20px rgba(20,27,43,.1); }
.gt .av { width: 36px; height: 36px; border-radius: 12px; background: #232937; color: #fff; display: grid; place-items: center; }
html[data-tone="night"] .gt .av { background: rgba(184,156,110,.24); color: #E7D2AA; }
.gt b { display: block; font: 500 14px var(--zh); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gt small { display: block; font: 12px var(--zh); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt .n { min-width: 30px; height: 26px; padding: 0 9px; border-radius: 10px; background: var(--mist-2); font: 600 13px/26px var(--num); text-align: center; }
.gt a:first-child .n { background: #B89C6E; color: #141B2B; }
.bd-chips button { background: var(--g-chip); box-shadow: none; border: 1px solid var(--g-brd); color: var(--ink); height: 36px; border-radius: 13px; }
.bd-chips button .ic { color: var(--gold-deep); }
.bd-chips button:hover { background: #232937; color: #fff; border-color: transparent; } .bd-chips button:hover .ic { color: #B89C6E; }
html[data-tone="night"] .bd-chips button .ic { color: #B89C6E; } html[data-tone="night"] .bd-chips button:hover { background: #B89C6E; color: #141B2B; } html[data-tone="night"] .bd-chips button:hover .ic { color: #141B2B; }
.gp { display: flex; align-items: center; gap: 12px; } .gp .stack { display: flex; flex: none; }
.gp .stack span { width: 32px; height: 32px; margin-left: -8px; border-radius: 11px; display: grid; place-items: center; font: 600 12px var(--zh); color: #fff; background: #232937; border: 2px solid var(--g-hi); }
.gp .stack span:first-child { margin-left: 0; } .gp .stack span:nth-child(2) { background: #8E7243; } .gp .stack span:nth-child(3) { background: #5B6B8C; } .gp .stack span:nth-child(4) { background: #7A8499; }
.gp p { margin: 0; font: 13px/1.6 var(--zh); color: var(--ink-2); } .gp p b { color: var(--ink); font-weight: 600; }
.bd-empty, .bd-today { color: var(--ink-2); }
/* 深玻璃主卡 */
.bd-hero { background: rgba(24,33,54,.74); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); border: 1px solid rgba(255,255,255,.16); border-radius: 26px;
  box-shadow: 0 20px 50px rgba(20,27,43,.28), inset 0 1px 0 rgba(255,255,255,.14); padding: 22px 28px 26px; }
html[data-tone="night"] .bd-hero { background: rgba(9,13,23,.58); border-color: rgba(214,190,150,.26); }
.bd-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(184,156,110,.42), rgba(184,156,110,0)); pointer-events: none; z-index: -1; }
.bd-hero::after { content: ""; position: absolute; left: -80px; bottom: -200px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(120,150,210,.3), rgba(120,150,210,0)); pointer-events: none; z-index: -1; }
.bh-top { padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.14); justify-content: space-between; }
.bh-cap { margin: 0; color: rgba(255,255,255,.72); }
.bd-hero .cv-seg { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); } .bd-hero .cv-seg .hl { background: #fff; } .bd-hero .cv-seg button.on { color: #141B2B; }
.bh-big { margin-top: 26px; font: 300 84px/1 var(--num); letter-spacing: -.035em; }
.bh-big sup { color: #B89C6E; font-weight: 400; }
.bh-big em { align-self: flex-end; margin: 0 0 12px 14px; font: 500 13px var(--num); font-style: normal; letter-spacing: 0; padding: 3px 10px; border-radius: 9px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.86); }
.bh-big em.good { background: rgba(127,214,170,.18); color: #A6E8C6; }
.bh-wave { height: 132px; gap: 9px; }
.bh-wave div.on i { background: linear-gradient(180deg, #E4CFA6, #B89C6E); box-shadow: 0 8px 22px rgba(184,156,110,.4); }
.bh-wave div.on:hover i { background: linear-gradient(180deg, #E4CFA6, #B89C6E); }
.bh-rows a { height: 46px; padding: 0 14px 0 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.08); }
.bh-rows a > i { width: 30px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.16); display: grid; place-items: center; font: 600 12px var(--zh); font-style: normal; color: #fff; }
.bh-rows a > i.on { background: rgba(184,156,110,.5); }
.bh-rows time { font: 500 12px var(--num); color: rgba(255,255,255,.66); }
/* 下排：风景卡 + 本周 */
.bd-low { grid-template-columns: 8fr minmax(300px, 4fr); }
.bd-low .scene { min-height: 300px; border: 1px solid var(--g-brd); box-shadow: var(--g-shadow); border-radius: 26px; }
.bd-low .scene::after { background: linear-gradient(180deg, rgba(20,27,43,.52) 0%, rgba(20,27,43,0) 40%, rgba(20,27,43,0) 52%, rgba(20,27,43,.5) 100%); }
.bd-low .scene figcaption { left: 18px; right: 18px; bottom: 18px; padding: 14px 18px; border-radius: 18px; align-items: center; gap: 14px 28px;
  background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border: 1px solid rgba(255,255,255,.3); }
.bd-low .scene h2 { margin: 0; flex: 1 1 360px; font: 400 21px/1.45 var(--zh); letter-spacing: .02em; color: #fff; text-wrap: pretty; text-shadow: 0 1px 10px rgba(20,27,43,.4); }
.bd-low .scene h2 b { font-weight: 600; }
.gc { padding: 22px; } .gc h3 { margin: 0 0 14px; }
.wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 14px; }
.wk div { position: relative; padding: 8px 0 11px; border-radius: 13px; text-align: center; transition: background-color .2s var(--ease); }
.wk small { display: block; font: 11px var(--zh); color: var(--ink-3); } .wk b { display: block; margin-top: 2px; font: 500 16px var(--num); color: var(--ink); }
.wk div.mk::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 2px; background: #B89C6E; }
.wk div.on { background: #232937; box-shadow: 0 8px 18px rgba(20,27,43,.24); } .wk div.on small, .wk div.on b { color: #fff; }
html[data-tone="night"] .wk div.on { background: #B89C6E; } html[data-tone="night"] .wk div.on small, html[data-tone="night"] .wk div.on b { color: #141B2B; } html[data-tone="night"] .wk div.on.mk::after { background: #141B2B; }
.gc .ev { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 9px 8px; margin: 0 -8px; border-top: 1px solid var(--line); border-radius: 10px; font: 13.5px var(--zh); color: var(--ink); transition: background-color .2s var(--ease); }
.gc .ev:first-of-type { border-top: 0; } .gc a.ev:hover { background: var(--g-chip); }
.gc .ev time { font: 500 13px var(--num); color: var(--ink-3); } .gc .ev small { display: block; font: 12px var(--zh); color: var(--ink-3); }
.dk-li { color: var(--ink); } .dk-li:hover { background: var(--g-chip); } .dk-li time { color: var(--ink-3); }
/* 登录 */
.lg-cover .lg-logo img.mk { width: 34px; height: 37px; border-radius: 0; background: none; } .lg-cover .lg-logo img.wd { height: 20px; width: auto; border-radius: 0; background: none; }
.lg-cover .lg-logo { padding: 8px 14px 8px 10px; border-radius: 16px; background: rgba(255,255,255,.92); align-self: flex-start; }
.lg-cover { background: rgba(24,33,54,.74) !important; -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); border: 1px solid rgba(255,255,255,.16); position: relative; overflow: hidden; isolation: isolate; }
.lg-cover::before { content: ""; position: absolute; right: -140px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(closest-side, rgba(184,156,110,.4), rgba(184,156,110,0)); z-index: -1; }
.lg-cover h1 span { color: #E4CFA6; }
.lg-box { background: var(--g) !important; -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); border: 1px solid var(--g-brd); box-shadow: var(--g-shadow), inset 0 1px 0 var(--g-in); color: var(--ink); }
.lg-box h2 { color: var(--ink); } .lg-box > p, .lg-box .lg-ft { color: var(--ink-3); } .lg-box label.lg-f, .lg-box .lg-row { color: var(--ink-2); }
@media (max-width: 1100px) { .bd-low { grid-template-columns: minmax(0, 1fr); } .gk { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hd-mark img.wd { display: none; } html[data-tone="night"] .hd-mark { padding: 4px 6px; }
  .hd-tone button:not(.on) { display: none; } .hd-tone { margin-right: 0; }
  .bd-top h1 { font-size: 28px; }
  .gk { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .gk a { padding: 14px 16px; border-radius: 20px; } .gk b { font-size: 24px; } .gk svg.sp { display: none; } .gk em { max-width: 100%; } .gk a:first-child { grid-column: 1 / -1; }
  .bd-card, .bd-hero, .bd-low .scene { border-radius: 22px; } .bh-big { font-size: 54px; } .bh-big em { margin-bottom: 6px; } .bh-wave { height: 100px; gap: 5px; }
  .bd-low .scene { min-height: 320px; } .bd-low .scene h2 { font-size: 17px; flex-basis: 100%; }
}
/* 业务、薪酬模块的页面自带大量深色文字，夜晚不整页变黑：背景换成暮色灰，玻璃仍是浅色，字照样看得清 */
html[data-tone="night"]:not(.host) { background: #B6C0D1 !important; --wash: linear-gradient(180deg, rgba(190,200,217,.84) 0%, rgba(172,184,205,.74) 50%, rgba(160,173,196,.82) 100%); }
/* 夜晚：旧样式里写死的深色字（金额列、姓名、清单、空状态、时钟）换成浅色 */
html[data-tone="night"].host body .main, html[data-tone="night"].host body .card, html[data-tone="night"].host body .table-card, html[data-tone="night"].host body .modal { color: var(--ink); }
html[data-tone="night"].host body td, html[data-tone="night"].host body td.amount, html[data-tone="night"].host body .td-main, html[data-tone="night"].host body .kpi-value,
html[data-tone="night"].host body .post-row .t, html[data-tone="night"].host body .bar-row span, html[data-tone="night"].host body .card.empty, html[data-tone="night"].host body .row,
html[data-tone="night"].host body .desc-grid > div { color: var(--ink) !important; }
html[data-tone="night"].host body th, html[data-tone="night"].host body th.amount, html[data-tone="night"].host body .td-sub, html[data-tone="night"].host body .desc-grid > div > span:first-child { color: var(--ink-3) !important; }
html[data-tone="night"].host svg text { fill: rgba(242,244,248,.62); }
/* 数字等宽，大数和翻牌数字不跳 */
.bh-big, .bh-big .odo, .gk b { font-variant-numeric: tabular-nums; }
/* logo：去掉旧样式留下的白底方框 */
html body .hd-mark img.mk, html body .hd-mark img.wd { box-shadow: none !important; background: none !important; border-radius: 0 !important; }
html body .hd-mark img.mk { width: auto; height: 34px; } html body .hd-mark img.wd { height: 19px; }
.lg-cover .lg-logo { padding: 12px 18px; } .lg-cover .lg-logo img.full { height: 64px; width: auto; display: block; }
@media (max-width: 900px) { .lg-cover .lg-logo img.full { height: 48px; } }
html[data-tone="night"].host body, html[data-tone="night"].host body .card { color: var(--ink) !important; }
/* logo 完全镂空：不垫任何底色。浅色背景用原色，深色背景（夜晚顶栏、登录页深色面板）用反白版：墨蓝变白、金色不变 */
html body .hd-mark, html[data-tone="night"] .hd-mark { padding: 0 !important; margin: 0; background: none !important; box-shadow: none !important; }
html body .hd-mark img.dk { display: none; }
html[data-tone="night"].host body .hd-mark img.lt { display: none; } html[data-tone="night"].host body .hd-mark img.dk { display: block; }
.lg-cover .lg-logo { padding: 0 !important; background: none !important; box-shadow: none !important; }
.lg-cover .lg-logo img.full { height: 72px; }
@media (max-width: 900px) { html body .hd-mark img.wd { display: none !important; } .lg-cover .lg-logo img.full { height: 52px; } }
html body .lg-cover .lg-logo img, html body .lg-cover .lg-logo img.full { background: none !important; border-radius: 0 !important; box-shadow: none !important; width: auto; }

/* ———— 登录页品牌面板（11-15）：内容取自文化页与 bos 登录页——愿景当标题，价值观四条，品质正循环一条链，底部系统名与备案 ———— */
.lg-cover { display: flex; flex-direction: column; gap: 0; padding: 44px 52px 34px !important; }
.lg-cover > * { position: relative; z-index: 1; }
.lg-vision { margin-top: auto; padding-top: 40px; }
.lg-eye-brow { display: flex; align-items: center; gap: 10px; font: 500 13px var(--zh); color: #E4CFA6; letter-spacing: .14em; }
.lg-eye-brow i { width: 26px; height: 2px; border-radius: 2px; background: #B89C6E; }
.lg-eye-brow span { font: 500 11px var(--num); letter-spacing: .22em; color: rgba(255,255,255,.5); }
html body .lg-cover h1 { margin: 18px 0 0 !important; font: 300 46px/1.28 var(--zh) !important; letter-spacing: .06em !important; color: #fff !important; text-wrap: balance; }
html body .lg-cover h1 b { font-weight: 600; color: #E4CFA6; letter-spacing: .1em; }
html body .lg-cover .lg-vision p { margin: 18px 0 0; max-width: 24em; font: 14.5px/1.85 var(--zh); color: rgba(255,255,255,.76); }
.lg-values { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.lg-values h4 { margin: 0 0 14px; font: 500 12px var(--zh); letter-spacing: .2em; color: rgba(255,255,255,.55); }
.lg-values dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin: 0; }
.lg-values dt { display: flex; align-items: baseline; gap: 8px; font: 600 15px var(--zh); color: #fff; letter-spacing: .06em; }
.lg-values dt small { font: 500 10.5px var(--num); letter-spacing: .08em; color: rgba(228,207,166,.78); white-space: nowrap; }
.lg-values dd { margin: 4px 0 0; font: 12.5px/1.65 var(--zh); color: rgba(255,255,255,.62); }
.lg-loop { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; }
.lg-loop ol { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.lg-loop li { display: flex; align-items: center; font: 500 13px var(--zh); letter-spacing: .12em; color: rgba(255,255,255,.86); animation: subIn .5s var(--ease) backwards; }
.lg-loop li:first-child { color: #E4CFA6; font-weight: 600; }
.lg-loop li + li::before { content: ""; width: 22px; height: 1px; margin: 0 10px; background: linear-gradient(90deg, rgba(228,207,166,.25), rgba(228,207,166,.8)); }
.lg-loop li:nth-child(2) { animation-delay: 80ms; } .lg-loop li:nth-child(3) { animation-delay: 160ms; } .lg-loop li:nth-child(4) { animation-delay: 240ms; } .lg-loop li:nth-child(5) { animation-delay: 320ms; }
.lg-loop span { font: 11px var(--zh); letter-spacing: .14em; color: rgba(255,255,255,.45); }
html body .lg-cover .lg-co { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap;
  font: 12px var(--zh); color: rgba(255,255,255,.6); letter-spacing: .04em; }
.lg-cover .lg-co b { font-weight: 500; color: rgba(255,255,255,.86); letter-spacing: .12em; margin-right: 6px; }
.lg-cover .lg-co em { font: 11px var(--num); font-style: normal; color: rgba(255,255,255,.42); letter-spacing: .04em; }
.lg-cover ul, .lg-cover > p { display: none; }
@media (max-height: 820px) and (min-width: 901px) { .lg-values dd { display: none; } .lg-values dl { gap: 12px 28px; } html body .lg-cover h1 { font-size: 40px !important; } }
@media (max-width: 900px) {
  .lg-cover { padding: 24px 22px 24px !important; }
  .lg-vision { margin-top: 0; padding-top: 26px; }
  html body .lg-cover h1 { font-size: 28px !important; margin-top: 12px !important; } html body .lg-cover .lg-vision p { font-size: 13px; margin-top: 10px; }
  .lg-values, .lg-loop, html body .lg-cover .lg-co { display: none; }
}
html body .lg-cover .lg-vision p { max-width: 30em; text-wrap: pretty; }
html body .lg-cover .lg-co { display: block; }
.lg-cover .lg-co em { display: block; margin-top: 4px; }

/* ======== 工作台重排（11-15）：风景页头 → 现在要办的 → 经营数字 → 动态 ======== */
.bn { position: relative; margin: 0 0 14px; height: clamp(290px, 36vh, 380px); border-radius: 28px; overflow: hidden; color: #fff; isolation: isolate; background: #232937;
  border: 1px solid var(--g-brd); box-shadow: var(--g-shadow); animation: riseIn .6s var(--ease) backwards; }
.bn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; z-index: -2; animation: sceneIn 1.4s var(--move) backwards; transition: transform 1.6s var(--move); }
.bn:hover img { transform: scale(1.03); }
.bn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,27,43,.5) 0%, rgba(20,27,43,0) 34%, rgba(20,27,43,0) 42%, rgba(20,27,43,.74) 100%); }
.bn.plain::after { background: radial-gradient(90% 80% at 100% 0%, rgba(184,156,110,.35), rgba(184,156,110,0) 60%); }
.bn-top { position: absolute; top: 24px; left: 30px; right: 30px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bn .sc-term { position: static; animation: none; }
.bn .sc-term b { font: 600 32px/1 var(--zh); letter-spacing: .14em; text-shadow: 0 1px 12px rgba(20,27,43,.35); }
.bn .sc-term span { color: #fff; text-shadow: 0 1px 10px rgba(20,27,43,.45); }
.bn-date { text-align: right; font: 13px var(--zh); color: rgba(255,255,255,.88); text-shadow: 0 1px 10px rgba(20,27,43,.45); }
.bn-date b { font: 500 24px/1 var(--num); color: #fff; letter-spacing: -.01em; margin-right: 4px; }
.bn-date span { display: block; margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.78); letter-spacing: .06em; }
.bn figcaption { position: absolute; left: 30px; right: 22px; bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; animation: riseIn .6s var(--ease) .2s backwards; }
.bn h1 { margin: 0; flex: 1 1 480px; max-width: 30em; font: 300 30px/1.42 var(--zh); letter-spacing: .02em; color: #fff; text-wrap: pretty; text-shadow: 0 2px 14px rgba(20,27,43,.45); }
.bn h1 b { font-weight: 600; }
.bn-meta { flex: 0 1 320px; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border: 1px solid rgba(255,255,255,.3); }
.bn-meta .sc-gauge { flex: none; min-width: 0; } .bn-meta .sc-gauge span { text-shadow: none; }
.bn-away { display: flex; align-items: center; gap: 10px; font: 12.5px var(--zh); color: rgba(255,255,255,.9); }
.bn-away .stack { display: flex; } .bn-away .stack span { width: 26px; height: 26px; margin-left: -6px; border-radius: 9px; display: grid; place-items: center; font: 600 11px var(--zh); background: #232937; border: 2px solid rgba(255,255,255,.6); }
.bn-away .stack span:first-child { margin-left: 0; } .bn-away .stack span:nth-child(2) { background: #8E7243; } .bn-away .stack span:nth-child(3) { background: #5B6B8C; } .bn-away .stack span:nth-child(4) { background: #7A8499; }
/* 现在要办的 */
.bd-act, .bd-biz { display: grid; grid-template-columns: 8fr minmax(300px, 4fr); gap: 14px; margin-bottom: 14px; align-items: stretch; }
.bd-todo { padding: 22px; display: flex; flex-direction: column; gap: 16px; } .bd-todo h3 { margin: 0; }
.bd-todo .gt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bd-quick { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.bd-quick > span { font: 12px var(--zh); color: var(--ink-3); letter-spacing: .14em; white-space: nowrap; }
.gc h3 { margin: 0 0 14px; }
/* 经营数字 */
.gk { margin: 0 0 14px; }
.bd-biz .bd-hero { display: flex; flex-direction: column; min-height: 0; }
.bd-biz .bh-wave { margin-top: auto; padding-top: 26px; }
/* 动态 */
.bd-feed { padding: 22px; display: flex; flex-direction: column; gap: 20px; } .bd-feed h3 { margin: 0 0 8px; }
.bd-feed .dk-li { margin: 0 -10px; padding: 8px 10px; }
@media (max-width: 1100px) { .bd-act, .bd-biz { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .bd-todo .gt { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .bn { height: auto; min-height: 340px; border-radius: 22px; }
  .bn-top { top: 18px; left: 18px; right: 18px; } .bn .sc-term b { font-size: 24px; } .bn-date b { font-size: 18px; } .bn-date span { display: none; }
  .bn figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; } .bn h1 { font-size: 19px; flex-basis: 100%; } .bn-meta { flex-basis: 100%; padding: 12px 14px; }
}
html.host body .bn b, html.host body .bn h1, html.host body .bn span { color: #fff; }
html.host body .bn .bn-date span { color: rgba(255,255,255,.78); }
@media (max-width: 900px) {
  .bn { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; height: auto; min-height: 0; padding: 18px; }
  .bn-top, .bn figcaption { position: static; }
  .bn figcaption { gap: 14px; }
  .bn::after { background: linear-gradient(180deg, rgba(20,27,43,.42) 0%, rgba(20,27,43,.12) 30%, rgba(20,27,43,.8) 100%); }
}
@media (max-width: 900px) { .bn::after { background: linear-gradient(180deg, rgba(20,27,43,.45) 0%, rgba(20,27,43,.4) 30%, rgba(20,27,43,.84) 100%); } .bn h1 { text-shadow: 0 1px 3px rgba(20,27,43,.5), 0 2px 16px rgba(20,27,43,.5); } }

/* 并行核对期提示条（融合系统影子模式） */
.shadow-bar { position: sticky; top: var(--hd-h); z-index: 29; padding: 8px 16px; text-align: center; font: 13px/1.5 var(--zh); letter-spacing: .04em; color: #fff; background: rgba(35,41,55,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
html[data-tone="night"] .shadow-bar { background: rgba(184,156,110,.85); color: #141B2B; }

/* ———— 动效 02：审批流程条（通过画勾、流程线描到下一位）+ 凭证审核画勾 ————
   颜色用 --ok / --bad（和“同意”“驳回”状态点同色）；旧业务样式把 --green、--red 改成了墨蓝，不能用 */
.fl-wrap { overflow-x: auto; margin: 2px 0 12px; padding: 4px 2px 2px; }
.fl { display: flex; align-items: flex-start; min-width: min-content; }
.fl-node { flex: none; width: 68px; display: grid; justify-items: center; gap: 5px; text-align: center; }
.fl-box { position: relative; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; border: 1.5px solid var(--line); background: var(--g-hi, #fff); color: var(--ink-3); font: 600 12px/1 var(--num); }
.fl-nm { font: 12px/1.3 var(--zh); color: var(--ink-2); }
.fl-st { font: 11px/1.2 var(--zh); color: var(--ink-3); min-height: 13px; }
.fl-node.done .fl-box { border-color: transparent; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); } .fl-node.done .fl-st { color: var(--ok); }
.fl-node.cc .fl-box { border-color: transparent; background: rgba(184,156,110,.16); color: #8E7243; } .fl-node.cc .fl-st { color: #8E7243; }
html[data-tone="night"] .fl-node.cc .fl-box, html[data-tone="night"] .fl-node.cc .fl-st { color: #D2B88C; }
.fl-node.stop .fl-box { border-color: transparent; background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); } .fl-node.stop .fl-st { color: var(--bad); }
.fl-node.cur .fl-box { border-color: var(--ink); color: var(--ink); }
.fl-node.cur .fl-box::after { content: ""; position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; border-radius: 2px; background: #B89C6E; }
.fl-node.cur .fl-nm { color: var(--ink); font-weight: 600; }
.tk { width: 16px; height: 16px; display: block; }
.tk path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.fl-link { position: relative; flex: 1 1 24px; min-width: 24px; height: 0; margin-top: 15px; border-top: 1.5px dashed var(--line); }
.fl-link i { position: absolute; left: 0; right: 0; top: -1.5px; height: 1.5px; border-radius: 1px; background: var(--ok); transform: scaleX(0); transform-origin: 0 50%; }
.fl-link.on i { transform: none; }
.fl-link.on.anim i { animation: flDraw .45s cubic-bezier(.2,.8,.2,1) var(--delay, 0s) both; }
.fl-node.anim:is(.done, .cc, .stop) .fl-box { animation: flOk .3s cubic-bezier(.2,.8,.2,1) var(--delay, 0s) both; }
.fl-node.anim.done .tk path { animation: flTick .5s cubic-bezier(.2,.8,.2,1) calc(var(--delay, 0s) + .1s) both; }
.fl-node.anim.cur .fl-box { animation: flCur .32s cubic-bezier(.3,1.4,.5,1) var(--delay, 0s) both; }
.fl-node.anim .fl-st { animation: flRun .3s var(--delay, 0s) both; }
@keyframes flDraw { from { transform: scaleX(0); } }
@keyframes flTick { from { stroke-dashoffset: 1; } }
@keyframes flOk { from { background: transparent; border-color: var(--line); } }
@keyframes flCur { from { opacity: .3; transform: scale(.8); } }
@keyframes flRun { from { opacity: 0; transform: translateY(3px); } }
.ok-tick { display: inline-block; vertical-align: -2px; margin-right: 3px; } .ok-tick .tk { width: 12px; height: 12px; }
.ok-tick.draw .tk path { animation: flTick .5s cubic-bezier(.2,.8,.2,1) .1s both; }

/* ———— 动效 03：新事项弹进来、办完的落下去，后面的顺着补位；数字变了跳两下 ———— */
html body .fx-host { position: relative; }
html body .fx-enter-active { animation: fxIn .32s cubic-bezier(.3,1.4,.5,1) both !important; }
html body .fx-leave-active { animation: fxOut .22s cubic-bezier(.5,0,.8,.3) both !important; pointer-events: none; }
html body .fx-move { transition: transform .24s cubic-bezier(.7,0,.2,1) !important; }
@keyframes fxIn { 0% { opacity: 0; transform: translateY(-6px) scale(.94); } }
@keyframes fxOut { to { opacity: 0; transform: translateY(8px) rotate(-2deg) scale(.92); } }
.bd-todo h3 i, .hd-sub a em { display: inline-block; }
html body .nudge { animation: nudge .9s cubic-bezier(.3,0,.3,1) !important; }
@keyframes nudge { 0%, 100% { transform: none; } 18% { transform: translateY(-6px); } 34% { transform: none; } 46% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) {
  html body :is(.fx-enter-active, .fx-leave-active, .nudge), .fl-node.anim *, .fl-link.anim i, .ok-tick.draw path { animation: none !important; }
  html body .fx-move { transition: none !important; }
}

/* ---------- 深度融合（11-15）：员工档案一人一页、系统设置里内嵌的模块参数 ---------- */
html body .kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 14px; margin: 6px 0 4px; }
html body .kv-grid > div { display: flex; flex-direction: column; gap: 4px; padding: 11px 14px; border-radius: 14px; background: var(--g); border: 1px solid var(--g-brd); }
html body .kv-grid span { font-size: 12px; letter-spacing: .04em; color: var(--ink-3); }
html body .kv-grid b { font-weight: 600; font-size: 14px; color: var(--ink); word-break: break-all; }
html body .mod-embed { margin-top: 14px; border-radius: 18px; overflow: hidden; }
html body .mod-embed iframe { display: block; width: 100%; height: calc(100vh - var(--hd-h, 120px) - 230px); min-height: 620px; border: 0; background: transparent; }
@media (max-width: 760px) { html body .kv-grid { grid-template-columns: 1fr 1fr; } html body .mod-embed iframe { min-height: 70vh; } }
