styles.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545
  1. :root {
  2. --ink: #1b2430;
  3. --muted: #5c6b7a;
  4. --line: #e2d9cc;
  5. --paper: #f6f1e8;
  6. --card: #fffdf8;
  7. --teal: #0e6e68;
  8. --teal-ink: #084843;
  9. --amber: #9a5b12;
  10. --red: #8f2d2d;
  11. --green: #1d6b45;
  12. --shadow: 0 10px 30px rgba(40, 32, 20, 0.06);
  13. font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  14. }
  15. * { box-sizing: border-box; }
  16. body { margin: 0; color: var(--ink); background: var(--paper); }
  17. button, input, select, textarea { font: inherit; color: inherit; }
  18. button { cursor: pointer; }
  19. h1, h2, h3, p { margin: 0; }
  20. .login {
  21. min-height: 100vh;
  22. display: grid;
  23. grid-template-columns: 320px 1fr;
  24. }
  25. .login-side {
  26. background: var(--teal-ink);
  27. color: #f3efe6;
  28. padding: 48px 36px;
  29. }
  30. .login-side h1 { font-size: 28px; font-weight: 650; letter-spacing: 0.04em; }
  31. .login-side p { margin-top: 16px; line-height: 1.7; color: #d5ebe8; }
  32. .login-main { padding: 40px 48px 64px; }
  33. .login-main h2 { font-size: 20px; font-weight: 640; }
  34. .persona-grid {
  35. margin-top: 20px;
  36. display: grid;
  37. grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  38. gap: 12px;
  39. }
  40. .persona {
  41. text-align: left;
  42. background: var(--card);
  43. border: 1px solid var(--line);
  44. border-radius: 12px;
  45. padding: 14px 16px;
  46. box-shadow: var(--shadow);
  47. }
  48. .persona strong { display: block; font-size: 16px; }
  49. .persona span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
  50. .persona:hover { border-color: var(--teal); }
  51. .shell { min-height: 100vh; display: grid; grid-template-columns: 220px 1fr; }
  52. .nav {
  53. background: #172028;
  54. color: #e7e1d6;
  55. padding: 22px 14px;
  56. display: flex;
  57. flex-direction: column;
  58. gap: 4px;
  59. }
  60. .brand { padding: 0 8px 16px; font-weight: 650; letter-spacing: 0.06em; }
  61. .nav button {
  62. background: transparent;
  63. border: 0;
  64. color: inherit;
  65. text-align: left;
  66. border-radius: 8px;
  67. padding: 9px 10px;
  68. width: 100%;
  69. font-size: 14px;
  70. cursor: pointer;
  71. }
  72. .nav button.active, .nav button:hover { background: rgba(255, 255, 255, 0.08); }
  73. .nav .nav-group {
  74. font-size: 12px;
  75. letter-spacing: 0.08em;
  76. text-transform: uppercase;
  77. color: #8ea0a0;
  78. padding: 14px 10px 6px;
  79. cursor: pointer;
  80. display: flex;
  81. justify-content: space-between;
  82. align-items: center;
  83. user-select: none;
  84. }
  85. .nav .nav-group:hover { background: transparent; color: #c2d3d1; }
  86. .nav .nav-group .caret { font-size: 11px; transition: transform 0.18s ease; }
  87. .nav .nav-group.open .caret { transform: rotate(0deg); }
  88. .nav .nav-sub { padding-left: 12px; display: flex; flex-direction: column; gap: 2px; }
  89. .nav .nav-sub.closed { display: none; }
  90. .nav .nav-sub .nav-leaf { font-size: 13.5px; color: #d1c8ba; padding: 7px 10px; }
  91. .nav .nav-sub .nav-leaf.active {
  92. background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  93. color: #fff;
  94. }
  95. .nav .who { margin-top: auto; padding: 12px 8px 0; font-size: 13px; color: #b7c4c2; line-height: 1.5; }
  96. .nav .who button { margin-top: 8px; border: 1px solid rgba(255,255,255,0.2); width: 100%; }
  97. .main { padding: 22px 28px 48px; min-width: 0; }
  98. .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
  99. .top h1 { font-size: 22px; font-weight: 650; }
  100. .top p { color: var(--muted); margin-top: 4px; font-size: 13px; }
  101. .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
  102. .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
  103. .card, .panel {
  104. background: var(--card);
  105. border: 1px solid var(--line);
  106. border-radius: 14px;
  107. box-shadow: var(--shadow);
  108. }
  109. .card { padding: 14px 16px; }
  110. .card b { display: block; font-size: 22px; margin-top: 4px; word-break: break-word; }
  111. .card span { color: var(--muted); font-size: 13px; }
  112. .panel { padding: 16px 18px; margin-bottom: 14px; overflow-x: auto; min-width: 0; }
  113. .panel h2 { font-size: 16px; margin-bottom: 10px; }
  114. .panel > .note { margin-top: 8px; }
  115. table { width: 100%; border-collapse: collapse; font-size: 14px; }
  116. th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
  117. td.wrap { white-space: normal; min-width: 240px; }
  118. th { color: var(--muted); font-weight: 550; font-size: 12px; }
  119. tr.clickable { cursor: pointer; }
  120. tr.clickable:hover { background: #f3efe6; }
  121. .pill {
  122. display: inline-block;
  123. border-radius: 999px;
  124. padding: 2px 8px;
  125. font-size: 12px;
  126. background: #efe7da;
  127. white-space: nowrap;
  128. }
  129. .pill.ok { background: #e5f4ea; color: var(--green); }
  130. .pill.wait { background: #fff1d6; color: var(--amber); }
  131. .pill.bad { background: #fde8e4; color: var(--red); }
  132. .pill.run { background: #e5f3f2; color: var(--teal-ink); }
  133. .btn, .btn.ghost {
  134. border-radius: 8px;
  135. padding: 7px 12px;
  136. border: 1px solid var(--teal);
  137. background: var(--teal);
  138. color: white;
  139. white-space: nowrap;
  140. }
  141. .btn.ghost { background: transparent; color: var(--teal-ink); }
  142. .btn.warn { background: var(--red); border-color: var(--red); }
  143. .btn:disabled { opacity: 0.45; cursor: not-allowed; }
  144. label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
  145. input, select, textarea {
  146. width: 100%;
  147. max-width: 420px;
  148. border: 1px solid var(--line);
  149. background: white;
  150. border-radius: 8px;
  151. padding: 8px 10px;
  152. }
  153. input[type="checkbox"], input[type="radio"] { width: auto; max-width: none; margin: 0; }
  154. td select, .row select { width: auto; min-width: 96px; max-width: 200px; }
  155. .row input { width: auto; }
  156. textarea { min-height: 88px; max-width: 560px; }
  157. .form-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
  158. /* 多列表单 */
  159. .form-grid {
  160. display: grid;
  161. grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  162. gap: 0 18px;
  163. }
  164. .form-grid label { margin-top: 8px; }
  165. .form-grid .form-actions { grid-column: 1 / -1; }
  166. /* 对象存储键列表 / 材料列表 */
  167. ul.files {
  168. margin: 8px 0 0;
  169. padding: 0;
  170. list-style: none;
  171. }
  172. ul.files li {
  173. padding: 6px 10px;
  174. background: #f7f2e8;
  175. border: 1px solid var(--line);
  176. border-radius: 8px;
  177. margin-bottom: 6px;
  178. font-size: 13px;
  179. word-break: break-all;
  180. }
  181. /* 复选列表(成员范围、企业直选) */
  182. .checklist {
  183. display: grid;
  184. grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  185. gap: 2px 18px;
  186. margin-top: 6px;
  187. }
  188. label.ck {
  189. display: flex;
  190. align-items: center;
  191. gap: 7px;
  192. font-size: 14px;
  193. font-weight: normal;
  194. color: var(--ink);
  195. margin: 4px 0;
  196. line-height: 1.5;
  197. }
  198. label.ck .note { font-weight: normal; }
  199. /* 区域树 */
  200. ul.tree {
  201. list-style: none;
  202. margin: 0;
  203. padding: 0;
  204. }
  205. ul.tree ul.tree { padding-left: 24px; }
  206. .tree-node {
  207. display: flex;
  208. align-items: center;
  209. gap: 8px;
  210. padding: 2px 0;
  211. }
  212. .tree-select {
  213. background: transparent;
  214. border: 1px solid transparent;
  215. border-radius: 8px;
  216. padding: 5px 10px;
  217. color: var(--ink);
  218. }
  219. .tree-select:hover { background: #f3efe6; }
  220. .tree-node.on .tree-select {
  221. background: var(--teal);
  222. border-color: var(--teal);
  223. color: #fff;
  224. }
  225. .lv {
  226. font-size: 12px;
  227. color: var(--teal-ink);
  228. background: #e5f3f2;
  229. border-radius: 6px;
  230. padding: 1px 7px;
  231. white-space: nowrap;
  232. }
  233. .cnt { font-size: 12px; color: var(--muted); white-space: nowrap; }
  234. /* 范围配置里的勾选树 */
  235. ul.tree.check label.ck { margin: 5px 0; }
  236. ul.tree.check ul.tree { margin: 2px 0; }
  237. .note { color: var(--muted); font-size: 13px; line-height: 1.6; }
  238. .alert {
  239. background: #fff4ec;
  240. border: 1px solid #f0d2bc;
  241. color: #7a3e12;
  242. border-radius: 12px;
  243. padding: 10px 12px;
  244. margin-bottom: 12px;
  245. font-size: 14px;
  246. line-height: 1.6;
  247. }
  248. .toast {
  249. position: fixed;
  250. right: 20px;
  251. bottom: 20px;
  252. background: var(--ink);
  253. color: white;
  254. padding: 12px 14px;
  255. border-radius: 10px;
  256. max-width: 320px;
  257. box-shadow: var(--shadow);
  258. font-size: 14px;
  259. line-height: 1.5;
  260. }
  261. .split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; align-items: start; }
  262. .log { margin: 0; padding-left: 18px; color: var(--muted); }
  263. .log li { margin: 4px 0; line-height: 1.6; }
  264. @media (max-width: 900px) {
  265. .login, .shell, .split { grid-template-columns: 1fr; }
  266. .login-side { padding: 28px 22px; }
  267. }
  268. /* ================= 交互与视觉增强 ================= */
  269. /* 全局过渡基类,给常见可交互元素 */
  270. button, .card, .panel, tr.clickable, .tree-select, label.ck {
  271. transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 120ms ease, box-shadow 180ms ease;
  272. }
  273. input, select, textarea { transition: border-color 180ms ease, box-shadow 180ms ease; }
  274. /* 侧栏:折叠子菜单过渡(用 max-height 替代 display:none) */
  275. .nav .nav-sub { overflow: hidden; transition: max-height 220ms ease, opacity 220ms ease; max-height: 600px; opacity: 1; }
  276. .nav .nav-sub.closed { max-height: 0; opacity: 0; }
  277. /* 侧栏叶子按钮活跃态:左侧竖条 + 更强对比 */
  278. .nav .nav-sub .nav-leaf.active {
  279. position: relative;
  280. background: rgba(14, 110, 104, 0.22);
  281. color: #fff;
  282. padding-left: 14px;
  283. }
  284. .nav .nav-sub .nav-leaf.active::before {
  285. content: "";
  286. position: absolute; left: -12px; top: 4px; bottom: 4px; width: 3px;
  287. background: #19d0c0; border-radius: 2px;
  288. }
  289. .nav .nav-sub .nav-leaf:hover { color: #fff; background: rgba(255,255,255,0.06); }
  290. /* 顶层叶子按钮(如"概览""审计日志")活跃态 */
  291. .nav > button.nav-leaf.active {
  292. background: rgba(14, 110, 104, 0.22);
  293. color: #fff;
  294. }
  295. /* 折叠 caret 旋转 */
  296. .nav .nav-group .caret { transform: rotate(-90deg); }
  297. .nav .nav-group.open .caret { transform: rotate(0deg); }
  298. /* 按钮:focus-visible + 按下态 */
  299. .btn:focus-visible, button:focus-visible,
  300. .persona:focus-visible, .tree-select:focus-visible {
  301. outline: 2px solid var(--teal);
  302. outline-offset: 2px;
  303. }
  304. .btn:active { transform: translateY(1px); }
  305. /* 表格:thead 底线 + hover 高亮 + 斑马纹 */
  306. table { border-radius: 10px; overflow: hidden; }
  307. thead th {
  308. background: #faf4e8;
  309. border-bottom: 2px solid var(--line);
  310. padding: 10px 10px;
  311. position: sticky; top: 0; z-index: 1;
  312. }
  313. tbody tr:nth-child(even) td { background: #fbf7ee; }
  314. tbody tr.clickable:hover td, tbody tr:hover td {
  315. background: #f0e8d6 !important;
  316. }
  317. /* 表单 focus glow */
  318. input:focus, select:focus, textarea:focus {
  319. border-color: var(--teal);
  320. box-shadow: 0 0 0 3px rgba(14, 110, 104, 0.14);
  321. outline: none;
  322. }
  323. /* panel / card 入场动画 */
  324. @keyframes fadeInUp {
  325. from { opacity: 0; transform: translateY(6px); }
  326. to { opacity: 1; transform: none; }
  327. }
  328. .panel, .card, .alert, .persona { animation: fadeInUp 300ms ease both; }
  329. .panel:nth-child(2) { animation-delay: 40ms; }
  330. .panel:nth-child(3) { animation-delay: 80ms; }
  331. .panel:nth-child(4) { animation-delay: 120ms; }
  332. /* toast 滑入 */
  333. .toast {
  334. animation: slideInRight 280ms ease both;
  335. }
  336. @keyframes slideInRight {
  337. from { opacity: 0; transform: translateX(24px); }
  338. to { opacity: 1; transform: none; }
  339. }
  340. /* 登录 persona 悬停抬升 */
  341. .persona { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
  342. .persona:hover {
  343. transform: translateY(-2px);
  344. box-shadow: 0 14px 32px rgba(40, 32, 20, 0.12);
  345. border-color: var(--teal);
  346. }
  347. /* webkit 滚动条 */
  348. ::-webkit-scrollbar { width: 10px; height: 10px; }
  349. ::-webkit-scrollbar-track { background: transparent; }
  350. ::-webkit-scrollbar-thumb { background: #d7ccba; border-radius: 5px; }
  351. ::-webkit-scrollbar-thumb:hover { background: #b9ac95; }
  352. .panel::-webkit-scrollbar-thumb { background: #d7ccba; }
  353. /* pill hover 微动(可交互的情况下) */
  354. .pill { cursor: default; }
  355. /* 区域树选中节点加 glow */
  356. .tree-node.on .tree-select {
  357. box-shadow: 0 0 0 2px rgba(14,110,104,0.2);
  358. }
  359. /* 区域树操作菜单 */
  360. .tree-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; position: relative; }
  361. .tree-head h2 { margin: 0; }
  362. .tree-node { position: relative; }
  363. .node-menu-btn {
  364. background: transparent; border: 1px solid transparent; border-radius: 6px;
  365. color: var(--muted); font-weight: 700; font-size: 15px; line-height: 1;
  366. padding: 3px 7px; margin-left: 2px;
  367. }
  368. .node-menu-btn:hover { background: #efe7da; color: var(--ink); }
  369. .tree-node.on .node-menu-btn { color: #fff; }
  370. .tree-node.on .node-menu-btn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
  371. .node-menu {
  372. position: absolute; top: 100%; left: 0; z-index: 30;
  373. background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  374. box-shadow: 0 12px 32px rgba(40, 32, 20, 0.16);
  375. padding: 4px; min-width: 176px;
  376. display: flex; flex-direction: column; gap: 2px;
  377. }
  378. .node-menu button {
  379. text-align: left; background: transparent; border: 0; border-radius: 7px;
  380. padding: 7px 10px; font-size: 13.5px;
  381. }
  382. .node-menu button:hover { background: #f3efe6; }
  383. .node-menu button.danger { color: var(--red); }
  384. .node-menu button.danger:hover { background: #fde8e4; }
  385. /* 区域树面板:不裁剪溢出内容,保证节点下拉菜单完整显示 */
  386. .panel.uncut { overflow: visible; }
  387. /* 区域管理页:主区纵向铺满视口,左右两栏拉伸到底,区域树底部与窗口底部对齐 */
  388. .main.stretch { display: flex; flex-direction: column; padding-bottom: 22px; }
  389. .main.stretch .top { flex: none; }
  390. .main.stretch .region-split { flex: 1 1 auto; align-items: stretch; }
  391. .main.stretch .region-split > .panel.uncut { display: flex; flex-direction: column; }
  392. .main.stretch .region-split > .panel.uncut > ul.tree { flex: 1 1 auto; }
  393. .icon-btn {
  394. background: transparent; border: 1px solid var(--line); border-radius: 7px;
  395. color: var(--muted); font-size: 14px; line-height: 1;
  396. padding: 5px 8px; margin-left: 6px;
  397. }
  398. .icon-btn:hover { background: #efe7da; color: var(--ink); }
  399. .icon-btn.danger:hover { background: #fde8e4; color: var(--red); }
  400. /* 区域详情卡片标题旁的"被引用"小标签:随标题行内显示,不占独立高度 */
  401. .ref-tag {
  402. display: inline-block; vertical-align: 2px; margin-left: 8px;
  403. font-size: 12px; font-weight: 500; color: var(--red);
  404. background: #fde8e4; border-radius: 6px; padding: 2px 7px; cursor: help;
  405. }
  406. /* 弹窗 */
  407. .modal-overlay {
  408. position: fixed; inset: 0; z-index: 50;
  409. background: rgba(23, 32, 40, 0.45);
  410. display: flex; align-items: center; justify-content: center;
  411. padding: 20px;
  412. animation: fadeIn 160ms ease both;
  413. }
  414. @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  415. .modal {
  416. background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  417. padding: 20px 22px; width: 100%; max-width: 480px;
  418. box-shadow: 0 20px 60px rgba(20, 16, 10, 0.28);
  419. }
  420. .modal h3 { font-size: 17px; margin-bottom: 10px; }
  421. .modal label { margin-top: 2px; }
  422. .modal input, .modal select { max-width: 100%; }
  423. /* 初始密码:输入框与「自动生成」按钮同行,等宽字体便于分辨易混字符 */
  424. .pwd-row { display: flex; align-items: center; gap: 8px; }
  425. .pwd-row input {
  426. flex: 1; min-width: 0; max-width: none;
  427. font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px;
  428. }
  429. .pwd-row input.flash { animation: pwdFlash 520ms ease both; }
  430. @keyframes pwdFlash { from { background: #dff3ef; border-color: var(--teal); } to { background: white; border-color: var(--line); } }
  431. /* 工单流程:状态筛选 tabs */
  432. .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
  433. .tab {
  434. display: inline-flex; align-items: center; gap: 6px;
  435. border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  436. padding: 6px 14px; font-size: 13px; color: var(--muted);
  437. transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
  438. }
  439. .tab b { font-size: 12px; color: inherit; opacity: 0.75; }
  440. .tab:hover { border-color: var(--teal); color: var(--teal-ink); transform: translateY(-1px); }
  441. .tab.active { background: var(--teal-ink); border-color: var(--teal-ink); color: #f3efe6; }
  442. .tab.active b { opacity: 0.9; }
  443. /* 工单流程:状态流转指示 */
  444. .flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
  445. .fstep {
  446. display: inline-flex; align-items: center;
  447. border: 1px solid var(--line); border-radius: 999px;
  448. padding: 3px 12px; font-size: 12px; color: var(--muted); background: var(--card);
  449. }
  450. .fstep.done { border-color: #bcd9c8; color: var(--green); background: #e5f4ea; }
  451. .fstep.now { border-color: var(--teal); color: var(--teal-ink); background: #e5f3f2; font-weight: 600; }
  452. .fstep.bad { border-color: #eac4bc; color: var(--red); background: #fde8e4; }
  453. .farrow { color: var(--muted); font-size: 12px; }
  454. .fstep.clickable {
  455. cursor: pointer; border-style: dashed; border-color: var(--teal); color: var(--teal-ink);
  456. transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  457. }
  458. .fstep.clickable:hover {
  459. transform: translateY(-1px);
  460. background: #eef7f5;
  461. box-shadow: 0 0 0 2px rgba(14, 110, 104, 0.15);
  462. }
  463. /* ===== 区域管理:概况卡片 + 钻取列表 ===== */
  464. /* 右栏允许收缩到 fr 份额以内,宽表格在 panel 内部横向滚动,避免挤压左侧区域树 */
  465. .region-over { min-height: 0; min-width: 0; }
  466. .ov-grid {
  467. display: grid;
  468. grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  469. gap: 14px;
  470. align-content: start;
  471. }
  472. button.ov-card {
  473. text-align: left;
  474. width: 100%;
  475. display: flex;
  476. flex-direction: column;
  477. gap: 6px;
  478. cursor: pointer;
  479. border: 1px solid var(--line);
  480. }
  481. button.ov-card:hover {
  482. border-color: var(--teal);
  483. transform: translateY(-2px);
  484. box-shadow: 0 14px 32px rgba(40, 32, 20, 0.12);
  485. }
  486. .ov-card .ov-title { color: var(--muted); font-size: 13.5px; }
  487. .ov-card b { font-size: 30px; margin: 2px 0; line-height: 1.1; word-break: break-word; }
  488. .ov-card .ov-sub { color: var(--muted); font-size: 12.5px; line-height: 1.55; min-height: 36px; }
  489. .ov-card .ov-go { color: var(--teal-ink); font-size: 12.5px; margin-top: 2px; }
  490. .ov-head .row { margin-bottom: 2px; }
  491. /* 危险色 ghost 按钮 */
  492. .btn.danger { background: transparent; color: var(--red); border-color: var(--red); }
  493. .btn.danger:hover { background: #fde8e4; }
  494. /* 概况卡片与右侧钻取视图入场动画(保持既有动效) */
  495. .ov-card { animation: fadeInUp 300ms ease both; }
  496. /* 列表筛选条:区域/付款周期下拉框与名称文本框排在表头上方,底部对齐 */
  497. .filters {
  498. display: flex;
  499. flex-wrap: wrap;
  500. gap: 10px 16px;
  501. align-items: flex-end;
  502. margin: 6px 0 12px;
  503. }
  504. .filters .f-item label { margin: 0 0 4px; }
  505. .filters .f-item select,
  506. .filters .f-item input { width: auto; min-width: 200px; max-width: 320px; }