design.css 39.2 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632
/* 令牌唯一真源:@uj/design-tokens/tokens.css(main.tsx 先于本文件引入)。
   本文件只做主壳的布局与组件外观,不再重复定义任何 --uj-* 变量。 */

* {
  box-sizing: border-box;
}

/* 纤细克制的滚动条 */
* {
  scrollbar-width: thin;
  scrollbar-color: #c9d2e0 transparent;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #c9d2e0;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #aeb9cc;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* 品牌渐变 */
.uj-brand-gradient {
  background: linear-gradient(160deg, #0b1437 0%, #16245a 100%);
}

/* 自绘 SideNav 后这一块已无对应 DOM:原先覆盖 .ant-menu-inline 选中态的三条规则
   连同「圆角/高度由 Menu token 下发」的注释一并删除,不留死规则当假证据。
   侧栏现在的全部样式在下面「侧栏导航(自绘 SideNav)」段。 */

/* ============ 登录页 ============ */
.uj-login-wrap {
  min-height: 100vh;
  display: flex;
}
.uj-login-aside {
  position: relative;
  overflow: hidden;
  width: 38%;
  max-width: 520px;
  min-width: 360px;
  /* 墙面:底色斜向渐变;贴近地面处(底部)压一层暗,使"墙根"在转角前先入阴影,转角更成立 */
  background:
    linear-gradient(180deg, rgba(2, 6, 18, 0) 74%, rgba(2, 6, 18, 0.4) 100%),
    linear-gradient(160deg, #0b1437 0%, #16245a 100%);
  color: #fff;
  padding: 44px 44px 20px;
  display: flex;
  flex-direction: column;
}
/* 背景光斑移到伪元素:JSX 里少两个 div,层级由 z-index 统一收口(内容 z-index:1) */
.uj-login-aside::before,
.uj-login-aside::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.uj-login-aside::before {
  width: 280px;
  height: 280px;
  right: -60px;
  top: -40px;
  background: #2b5ce6;
  opacity: 0.3;
}
.uj-login-aside::after {
  width: 220px;
  height: 220px;
  left: -40px;
  bottom: -30px;
  background: #5b8def;
  opacity: 0.24;
}
.uj-login-brand,
.uj-login-greet,
.uj-login-hero {
  position: relative;
  z-index: 1;
}
/* 品牌区:压到「页眉」层级,不再和大标题抢戏;右侧渐隐细线把这一行收住 */
.uj-login-brand {
  display: flex;
  align-items: center;
  gap: var(--uj-space-module, 10px);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.92);
}
.uj-login-brand::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}
/* 招呼 + 日期:上移靠近 logo,作为页眉下的次级信息行,左对齐与品牌区对齐 */
.uj-login-greet {
  text-align: right;
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.62);
}
/* ---- 门店覆盖点阵(左栏下半部分背景层,非小卡片;左淡右深) ---- */
.uj-login-coverage {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  /* 顶部渐隐,使点阵带自然融入上方墙面,不出现硬边 */
  -webkit-mask-image: linear-gradient(to top, #000 70%, transparent 100%);
  mask-image: linear-gradient(to top, #000 70%, transparent 100%);
}
.uj-login-coverage svg {
  display: block;
  /* width:100% + height:auto:高度由 viewBox 宽高比(600×340)决定,永远不拉伸、不裁切、左右到边 */
  shape-rendering: geometricPrecision;
}
/* 点阵中 1–2 个活跃节点的光晕扩散(雷达 ping),克制不抢戏;尊重 reduced-motion */
@keyframes cov-ping {
  0% {
    transform: scale(0.5);
    opacity: 0.6;
  }
  70% {
    opacity: 0.12;
  }
  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}
.uj-cov-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: cov-ping 3.4s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .uj-cov-pulse {
    animation: none;
    opacity: 0;
  }
}
/* 右上留白楔形区点缀星点的轻微闪烁,克制不抢戏;尊重 reduced-motion */
@keyframes cov-twinkle {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.95;
  }
}
.uj-cov-star-tw {
  animation: cov-twinkle 2.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .uj-cov-star-tw {
    animation: none;
  }
}
/* ---- 底部主张区(主张标题) ---- */
/* margin-top:auto 把 brand+greet 顶到上方、hero+foot 整体下沉到底部,中部留白 */
.uj-login-hero {
  margin-top: auto;
}
/* 底部主张区:价值点列表左对齐;门店覆盖点阵已改为 aside 下半部分背景层(见 LoginCoverage),hero 的 margin-top:auto 把整块沉到底部 */
.uj-login-foot {
  margin-top: 28px;
  /* 内下边距把价值点列表与底部留出 18px 间隙 */
  padding-bottom: 18px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
/* 墙地转角地面条已移除:下半部分已由门店覆盖点阵背景承担,aside 自身底部渐变提供收口;
   点阵右深左淡,无需再加一条粗地平线 */
.uj-login-foot::before {
  display: none;
}
.uj-login-hero::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #5b8def, rgba(91, 141, 239, 0));
  margin-bottom: 16px;
}
.uj-login-hero h1 {
  font-size: 26px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
  color: #fff;
}
/* 价值点:左栏底部脚注区,竖向排列,填补时钟左侧空白 */
.uj-login-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 210px;
}
.uj-login-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.uj-login-feats .dot {
  margin-top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5b8def;
  flex: none;
  box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.15);
}
.uj-login-feats .txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.uj-login-feats b {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}
.uj-login-feats i {
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}
.uj-login-main {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f4f6fa;
  padding: 40px;
}
/* 右侧背景点缀:两枚低透明度柔光圆斑 + 极淡点阵,克制不抢眼 */
.uj-login-main::before,
.uj-login-main::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.uj-login-main::before {
  width: 360px;
  height: 360px;
  right: -80px;
  top: -100px;
  background: rgba(91, 141, 239, 0.16);
}
.uj-login-main::after {
  width: 320px;
  height: 320px;
  left: -90px;
  bottom: -120px;
  background: rgba(43, 92, 230, 0.12);
}
.uj-login-main {
  background-image: radial-gradient(rgba(20, 36, 90, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.uj-login-card {
  position: relative;
  z-index: 1;
  width: 440px;
  max-width: 100%;
  background: #fff;
  border-radius: var(--uj-radius-lg, 8px);
  padding: 44px 40px;
  box-shadow: var(--uj-shadow-pop);
  border: 1px solid var(--uj-border, #e6ebf2);
}
/* 浏览器「记住密码」自动填充后,输入框出现默认淡色背景(淡蓝/淡黄),与白色卡片不搭。
   autofill 的淡色必须用 inset 阴影盖——普通 background 改不掉它。
   Chrome 聚焦态改用标准 :autofill(无前缀)伪类,故 :-webkit-autofill 与 :autofill 都要覆盖,
   否则一聚焦淡色就重现。文字/光标保持深色,保证账号密码可读。 */
.uj-login-card input:-webkit-autofill,
.uj-login-card input:-webkit-autofill:hover,
.uj-login-card input:-webkit-autofill:focus,
.uj-login-card input:-webkit-autofill:active,
.uj-login-card input:autofill,
.uj-login-card input:autofill:hover,
.uj-login-card input:autofill:focus,
.uj-login-card input:autofill:active {
  -webkit-text-fill-color: #1f2d4d !important;
  caret-color: #1f2d4d !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  transition:
    background-color 9999s ease-in-out 0s,
    color 9999s ease-in-out 0s;
}
@media (max-width: 880px) {
  .uj-login-aside {
    display: none;
  }
}

/* ============ 应用骨架:Sider ============ */
.uj-sider {
  position: relative;
  display: flex;
  flex-direction: column;
  /* 三层背景:品牌区一道极淡的径向光弧(不是横贯整条的亮带)+ 自上而下收敛的近实色。
     菜单区保持近实色保证可读性,层次交给光弧、左缘标尺、章节刻度与激活域淡染。 */
  background:
    radial-gradient(132% 46% at -10% -6%, rgba(43, 92, 230, 0.28), rgba(43, 92, 230, 0) 66%),
    linear-gradient(180deg, #0b1437 0%, #0d1739 52%, #09112e 100%);
  box-shadow: 4px 0 20px -14px rgba(6, 12, 38, 0.5);
  /* 侧栏已改为自绘 SideNav(layouts/SideNav.tsx):所有几何量由下面的 .uj-* 规则定义,
     不再依赖 ConfigProvider 的 Menu token,也不覆盖任何 .ant-* 组件内部盒模型。 */
}
/* 左缘 1px 索引标尺:与章节刻度同一套语言,给纯色侧栏一条可读的纵向基准。
   z-index: 0 保证它压在背景上、但不盖住任何刻度与文字。 */
.uj-sider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 56px;
  bottom: 46px;
  width: 1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(91, 141, 239, 0.3),
    rgba(198, 220, 255, 0.07) 26%,
    rgba(198, 220, 255, 0.07) 74%,
    rgba(91, 141, 239, 0.12)
  );
}
.uj-sider > .ant-layout-sider-children {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 品牌区 */
.uj-sider-brand {
  height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--uj-space-module, 10px);
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.uj-sider-brand.is-collapsed {
  justify-content: center;
  padding: 0;
}
.uj-sider-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
}
.uj-sider-brand-text .t {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  /* 中文标题不放大字距;0.5px 只给字标一点呼吸,不再是旧版 1px */
  letter-spacing: 0.5px;
}
.uj-sider-brand-text .s {
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  letter-spacing: 0.6px;
  /* uppercase 只作用于这行英文副标,中文菜单一律不用 */
  text-transform: uppercase;
}

/* ============ 侧栏导航(自绘 SideNav) ============
   章节头是固定四列网格:20px 图标 / 1fr 标题槽 / auto 域计数 / 12px 展开指示。
   所有一级行的标题槽起点与宽度完全一致、右端也对齐到同一条线,
   3/4/5 字标题的长度差被槽内留白吸收,不再表现为右边缘参差。
   中文字距一律 0 —— 旧版 .ant-menu-submenu-title 的 letter-spacing: 2px
   会把字数差按字数线性放大,那才是「不协调」的直接来源。 */
.uj-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 0 18px;
  scrollbar-width: none;
}
.uj-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* 长菜单的上下滚动边界提示:只在真的还有内容时出现 */
.uj-nav-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 26px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}
.uj-nav-fade.is-on {
  opacity: 1;
}
.uj-nav-fade.is-top {
  top: 56px;
  background: linear-gradient(180deg, rgba(11, 20, 55, 0.96), rgba(11, 20, 55, 0));
}
.uj-nav-fade.is-bottom {
  bottom: 46px;
  background: linear-gradient(0deg, rgba(10, 18, 48, 0.96), rgba(10, 18, 48, 0));
}

/* 区段标 / 分区线 */
.uj-zone-label {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}
.uj-zone-sep {
  height: 1px;
  margin: 10px 14px 12px;
  background: rgba(198, 220, 255, 0.09);
}

/* 工作台单入口(hideTitle 组,平铺到顶层) */
.uj-solo {
  position: relative;
  height: 38px;
  width: calc(100% - 16px);
  margin: 0 8px 4px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.66);
  text-align: left;
  cursor: pointer;
}
/* hover = 选中态的低强度预览:同一条品牌蓝光楔、同样的四个停靠点,每档约 4 成强度。
   不加短刻度与亮环 —— 那两个只属于「当前页」,hover 只预告可点,不伪造位置。
   :not(.is-active) 显式排除当前项,避免依赖规则先后顺序。 */
.uj-solo:not(.is-active):hover {
  background: linear-gradient(
    90deg,
    rgba(43, 92, 230, 0.12) 0%,
    rgba(43, 92, 230, 0.04) 30%,
    rgba(43, 92, 230, 0.01) 62%,
    rgba(43, 92, 230, 0) 82%
  );
  color: #fff;
}
.uj-solo-ico {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 17px;
}
.uj-solo-txt {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}
/* 选中页:从左端短刻度向右淡出的「光楔」,取代贯穿整行的等宽蓝色长条。
   左端 3px×16px 短刻度 + 节点亮环 + 文字提亮,三重信号都不占满整行。 */
.uj-solo.is-active {
  color: #fff;
  background: linear-gradient(
    90deg,
    rgba(43, 92, 230, 0.28) 0%,
    rgba(43, 92, 230, 0.1) 30%,
    rgba(43, 92, 230, 0.02) 62%,
    rgba(43, 92, 230, 0) 82%
  );
}
.uj-solo.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  border-radius: 0 2px 2px 0;
  background: var(--uj-brand-light, #5b8def);
  box-shadow: 0 0 10px -2px rgba(91, 141, 239, 0.7);
}
.uj-solo.is-active .uj-solo-ico {
  color: var(--uj-brand-light, #5b8def);
}

/* 业务域章节头 */
/* 组内紧密、组间分明:间距预算主要花在章节之间,
   而不是给 12 个二级项逐个加 gap(那样长菜单会失控)。 */
.uj-chapter {
  position: relative;
  margin-bottom: 10px;
}
.uj-chapter + .uj-chapter {
  margin-top: 6px;
}
.uj-chap-head {
  position: relative;
  height: 36px;
  width: calc(100% - 16px);
  margin: 0 8px;
  padding: 0 10px 0 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
}
.uj-chap-head:hover {
  background: linear-gradient(
    90deg,
    rgba(43, 92, 230, 0.12) 0%,
    rgba(43, 92, 230, 0.04) 30%,
    rgba(43, 92, 230, 0.01) 62%,
    rgba(43, 92, 230, 0) 82%
  );
  color: #fff;
}
/* 左缘章节刻度:把纯色侧栏读成一册带书脊刻度的目录。
   未激活章只留 2×10px 极淡刻痕,激活章才拉长成整段蓝刻度。 */
.uj-chap-head::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 10px;
  border-radius: 0 2px 2px 0;
  background: rgba(198, 220, 255, 0.1);
  transition: background 180ms ease;
}
/* hover 的刻痕转品牌蓝但仍是 10px 短刻:与激活章的拉长蓝刻度同族、不同长度 */
.uj-chap-head:hover::before {
  background: rgba(91, 141, 239, 0.5);
}
.uj-chap-ico {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
}
.uj-chap-head:hover .uj-chap-ico {
  color: rgba(255, 255, 255, 0.82);
}
/* 固定标题槽:起点与宽度由四列网格保证,字数差被槽内留白吸收 */
.uj-chap-label {
  font-size: 13px;
  /* font-weight: 600; */
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 右端真实子项数(等宽数字),同时预告该域展开后的长度 */
/* 域计数退到背景层:位置与等宽仍是锚点,但不再用亮色抢标题 */
.uj-chap-count {
  font-size: 11px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: rgba(198, 220, 255, 0.12);
  min-width: 16px;
  text-align: right;
  transition: color 160ms ease;
}
/* 只在交互时短暂提亮,静态视图里计数始终退在标题之后 */
.uj-chap-head:hover .uj-chap-count {
  color: rgba(198, 220, 255, 0.58);
}
.uj-chap-chev {
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.34);
  transition: transform 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.uj-chapter.is-open .uj-chap-chev {
  transform: rotate(90deg);
}
.uj-chapter.is-current .uj-chap-head {
  color: #fff;
}
.uj-chapter.is-current .uj-chap-ico {
  color: var(--uj-brand-light, #5b8def);
}
.uj-chapter.is-current .uj-chap-count {
  color: rgba(198, 220, 255, 0.62);
}
/* 激活域:把通用短刻痕拉长成整段蓝刻度(全侧栏唯一的重音) */
.uj-chapter.is-current .uj-chap-head::before {
  top: 6px;
  bottom: 6px;
  height: auto;
  transform: none;
  background: var(--uj-brand-light, #5b8def);
}

/* 章节体 + 竖向导轨:把「这一章里的这些页」串成一组 */
.uj-chap-body {
  position: relative;
  padding: 6px 0 8px;
}
/* 激活域一层极淡的染色:域 > 页 两级光,不再靠整行实底铺满 */
.uj-chapter.is-current .uj-chap-body {
  background: linear-gradient(90deg, rgba(43, 92, 230, 0.06), rgba(43, 92, 230, 0) 64%);
}
/* 导轨与短横压到 0.09:12 条短横连成一排时 0.16 会形成发亮的虚线带 */
.uj-chap-body::before {
  content: '';
  position: absolute;
  left: 23px;
  top: -4px;
  bottom: 16px;
  width: 1px;
  background: rgba(198, 220, 255, 0.04);
}
.uj-chapter.is-current .uj-chap-body::before {
  background: rgba(91, 141, 239, 0.08);
}

/* 二级项:不渲染语义图标,统一用导轨上的节点。
   12 个各不相同的线性图标在 34px 行里会形成锯齿边,且 iconMap 白名单
   会让后端新增页面漏登记时静默回落。选中信号也由该节点承担。 */
.uj-leaf {
  position: relative;
  height: 36px;
  width: calc(100% - 16px);
  margin: 0 8px;
  padding: 0 10px 0 26px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.58);
  text-align: left;
  cursor: pointer;
}
/* 从导轨接到节点的短横,让层级是真连起来的而不是两条平行线 */
.uj-leaf::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: rgba(198, 220, 255, 0.04);
}
.uj-chapter.is-current .uj-leaf::before {
  background: rgba(91, 141, 239, 0.08);
}
/* hover 与选中共用一条光楔,只是强度约 4 成;当前项不参与 hover 反馈 */
.uj-leaf:not(.is-active):hover {
  background: linear-gradient(
    90deg,
    rgba(43, 92, 230, 0.12) 0%,
    rgba(43, 92, 230, 0.04) 30%,
    rgba(43, 92, 230, 0.01) 62%,
    rgba(43, 92, 230, 0) 82%
  );
  color: rgba(255, 255, 255, 0.92);
}
/* 只点亮 hover 这一根的短横,不会让 12 根连成亮带 */
.uj-leaf:not(.is-active):hover::before {
  background: rgba(91, 141, 239, 0.24);
}
.uj-leaf-node {
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
}
.uj-leaf-node::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition:
    background 160ms ease,
    box-shadow 160ms ease;
}
/* 节点圆点也走品牌蓝递进:hover 淡蓝 → 选中亮蓝 + 亮环 */
.uj-leaf:not(.is-active):hover .uj-leaf-node::after {
  background: rgba(91, 141, 239, 0.62);
}
.uj-leaf-txt {
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 选中页:从左端短刻度向右淡出的「光楔」,取代贯穿整行的等宽蓝色长条。
   左端 3px×16px 短刻度 + 节点亮环 + 文字提亮,三重信号都不占满整行。 */
.uj-leaf.is-active {
  color: #fff;
  background: linear-gradient(
    90deg,
    rgba(43, 92, 230, 0.28) 0%,
    rgba(43, 92, 230, 0.1) 30%,
    rgba(43, 92, 230, 0.02) 62%,
    rgba(43, 92, 230, 0) 82%
  );
}
.uj-leaf.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  border-radius: 0 2px 2px 0;
  background: var(--uj-brand-light, #5b8def);
  box-shadow: 0 0 10px -2px rgba(91, 141, 239, 0.7);
}
.uj-leaf.is-active .uj-leaf-txt {
  font-weight: 500;
}
/* 选中项那根短横仍是章内最亮的,但压一档避免刺眼 */
.uj-leaf.is-active::before {
  background: rgba(91, 141, 239, 0.78);
}
.uj-leaf.is-active .uj-leaf-node::after {
  background: var(--uj-brand-light, #5b8def);
  box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.22);
}

/* 底部系统区:折叠控制收回导航容器内,信息条只显示真实登录角色 */
.uj-sider-foot {
  flex: none;
  height: 46px;
  border-top: 1px solid rgba(198, 220, 255, 0.09);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}
.uj-fold-btn {
  width: 28px;
  height: 28px;
  flex: none;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  /* 尺寸由内联 SVG 的 15px 决定,不再靠 font-size 撑 antd 图标 */
  cursor: pointer;
}
.uj-fold-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.uj-foot-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
}
.uj-foot-meta .n {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uj-foot-meta .e {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
}

/* 键盘焦点:所有导航按钮共用一条可见焦点环 */
.uj-sider button:focus-visible,
.uj-nav-popover button:focus-visible {
  outline: 2px solid var(--uj-brand-light, #5b8def);
  outline-offset: 2px;
}

/* 折叠态(68px 图标栏):只留图标,两条区段标收成一条线 */
.uj-sider.is-collapsed .uj-nav-fade,
.uj-sider.is-collapsed .uj-zone-label,
.uj-sider.is-collapsed .uj-chap-label,
.uj-sider.is-collapsed .uj-chap-count,
.uj-sider.is-collapsed .uj-chap-chev,
.uj-sider.is-collapsed .uj-solo-txt,
.uj-sider.is-collapsed .uj-foot-meta {
  display: none;
}
.uj-sider.is-collapsed .uj-zone-sep {
  margin: 10px 18px 12px;
}
.uj-sider.is-collapsed .uj-chap-head,
.uj-sider.is-collapsed .uj-solo {
  grid-template-columns: 20px;
  justify-content: center;
  padding: 0;
  gap: 0;
}
.uj-sider.is-collapsed .uj-sider-foot {
  justify-content: center;
  padding: 0;
}
/* 折叠态唯一的位置信号,加粗一档才看得见 */
.uj-sider.is-collapsed .uj-chapter.is-current .uj-chap-head::before {
  width: 3px;
}

/* 折叠态子项浮层:portal 到 body,避开 .ant-layout-sider 的 overflow: hidden */
.uj-nav-popover {
  position: fixed;
  left: 76px;
  z-index: 1100;
  min-width: 184px;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: 6px;
  background: #101b42;
  border: 1px solid rgba(198, 220, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 32px -10px rgba(2, 6, 20, 0.7);
}
.uj-pop-title {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
  padding: 6px 10px 8px;
  letter-spacing: 0.5px;
}
.uj-pop-item {
  position: relative;
  display: block;
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
/* 折叠态浮层与展开态共用同一套 hover / 选中语言,不能留一版旧的整行实底 */
.uj-pop-item:not(.is-active):hover {
  background: linear-gradient(
    90deg,
    rgba(43, 92, 230, 0.12) 0%,
    rgba(43, 92, 230, 0.04) 30%,
    rgba(43, 92, 230, 0.01) 62%,
    rgba(43, 92, 230, 0) 82%
  );
  color: #fff;
}
.uj-pop-item.is-active {
  background: linear-gradient(
    90deg,
    rgba(43, 92, 230, 0.28) 0%,
    rgba(43, 92, 230, 0.1) 30%,
    rgba(43, 92, 230, 0.02) 62%,
    rgba(43, 92, 230, 0) 82%
  );
  color: #fff;
}
.uj-pop-item.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 0 2px 2px 0;
  background: var(--uj-brand-light, #5b8def);
  box-shadow: 0 0 8px -2px rgba(91, 141, 239, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .uj-chap-chev,
  .uj-chap-head::before,
  .uj-chap-count,
  .uj-nav-fade,
  .uj-leaf-node::after {
    transition: none;
  }
}

/* ============ 应用骨架:Header ============ */
/* 实底白 + 1px 实线:去掉毛玻璃(半透明 + blur 是「柔」的主要来源之一),
   企业后台的头部要「压得住」页面,而不是飘在内容上。 */
.uj-header {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 20px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--uj-border, #e6ebf2);
}
.uj-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
/* 折叠按钮已移入侧栏底部(.uj-fold-btn),Header 里不再有 .uj-header-fold。 */
/* 面包屑:antd Breadcrumb 承载结构,这里只定字号(末级=页题,其余=分组) */
.uj-header-crumb {
  white-space: nowrap;
}
.uj-crumb-parent {
  font-size: 13px;
  color: #8a94a6;
}
.uj-crumb-current {
  font-size: 16px;
  font-weight: 600;
  color: #1d2533;
}

/* 全局搜索:矩形输入框 + 实描边,与控件体系同一套圆角(不再用 999px 胶囊) */
.uj-header-search {
  position: relative;
  flex: 1;
  max-width: 420px;
  margin-inline: auto;
}
.uj-header-search .ant-input-affix-wrapper {
  height: 34px;
  background: #fff;
  border-radius: var(--uj-radius-md, 6px);
  padding: 0 12px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}
.uj-header-search .ant-input-affix-wrapper .ant-input {
  height: auto;
}
.uj-header-search .ant-input-affix-wrapper:hover,
.uj-header-search .ant-input-affix-wrapper-focused {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(43, 92, 230, 0.14);
}
.uj-header-search-kbd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  font-size: 11px;
  color: #8a94a6;
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: var(--uj-radius-sm, 4px);
  padding: 3px 7px;
  pointer-events: none;
}

/* 右侧操作区 */
.uj-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
/* 图标按钮:antd Button type="text" 承载交互,这里只压掉默认内边距并定品牌悬浮色 */
.uj-header-icon-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: var(--uj-radius-md, 6px);
  background: transparent !important;
  color: #4a5568;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uj-header-icon-btn:hover {
  background: #f2f4f9 !important;
  color: #2b5ce6 !important;
}
.uj-header-divider {
  width: 1px;
  height: 22px;
  background: #e8ecf3;
  margin-inline: 2px;
}
.uj-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 8px 4px 4px;
  border-radius: var(--uj-radius-md, 6px);
  transition: background 0.2s ease;
}
.uj-header-user:hover {
  background: #f2f4f9;
}
.uj-header-user-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.uj-header-user-text .n {
  font-size: 13px;
  font-weight: 600;
  color: #1d2533;
}
.uj-header-user-text .r {
  font-size: 11px;
  color: #8a94a6;
}

/* ============ 工作台 Dashboard(重设计 2026-11-12) ============
   概念:运营驾驶舱首页。真实数据只来自后端分页接口的 total(待我审批 / 我的提交 / 在架门店),
   按权限过滤;不展示任何伪造 KPI / 趋势。视觉沿用全站深蓝企业语言,不在首页铺深色大块。 */

.uj-deck {
  display: flex;
  flex-direction: column;
  gap: var(--uj-space-module, 10px);
}

/* 报头:白卡 + 1px 实描边 + 干脆短影;左缘一道品牌光楔作「命令台」点睛,不铺满整块。 */
.uj-deck-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--uj-radius-card, 10px);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--uj-border, #e6ebf2);
  box-shadow: var(--uj-shadow-card);
}
.uj-deck-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--uj-primary, #2b5ce6), var(--uj-brand-light, #5b8def));
  box-shadow: 0 0 10px -2px rgba(43, 92, 230, 0.6);
}
.uj-deck-hero-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.uj-deck-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.2px;
  font-weight: 500;
  color: var(--uj-primary, #2b5ce6);
}
.uj-deck-brand-mark {
  width: 16px;
  height: 16px;
  border-radius: var(--uj-radius-sm, 4px);
  flex: none;
  background: linear-gradient(135deg, #2b5ce6, #5b8def);
  box-shadow: 0 2px 6px rgba(43, 92, 230, 0.3);
}
.uj-deck-greeting {
  font-size: 22px;
  font-weight: 700;
  color: var(--uj-text-1, #1d2533);
  line-height: 1.25;
  margin: 10px 0 4px;
}
.uj-deck-sub {
  font-size: 13px;
  color: var(--uj-text-3, #8a94a6);
  margin: 0;
}
.uj-deck-meta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex: none;
}
.uj-deck-chip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 132px;
  padding: 8px 12px;
  border-radius: var(--uj-radius-md, 6px);
  background: var(--uj-surface-2, #f8fafc);
  border: 1px solid var(--uj-border, #e6ebf2);
}
.uj-deck-chip-label {
  font-size: 11px;
  color: var(--uj-text-3, #8a94a6);
}
.uj-deck-chip-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--uj-text-1, #1d2533);
  word-break: break-all;
}

/* 运营概览:三张真实计数卡片(权限门控,无权限不出现) */
.uj-deck-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--uj-space-module, 10px);
}
.uj-deck-stat {
  position: relative;
  overflow: hidden;
  border-radius: var(--uj-radius-card, 10px);
  padding: 16px;
  background: #fff;
  border: 1px solid var(--uj-border, #e6ebf2);
  box-shadow: var(--uj-shadow-card);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  text-align: left;
}
.uj-deck-stat:hover {
  transform: translateY(-1px);
  box-shadow: var(--uj-shadow-raise);
  border-color: rgba(43, 92, 230, 0.4);
}
.uj-deck-stat:focus-visible {
  outline: 2px solid var(--uj-brand-light, #5b8def);
  outline-offset: 2px;
}
.uj-deck-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.uj-deck-stat-ico {
  width: 36px;
  height: 36px;
  border-radius: var(--uj-radius-md, 6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.uj-deck-stat--info .uj-deck-stat-ico {
  background: var(--uj-info-soft, #eef3ff);
  color: var(--uj-info, #2b5ce6);
}
.uj-deck-stat--success .uj-deck-stat-ico {
  background: var(--uj-success-soft, #e9f7ef);
  color: var(--uj-success, #16a34a);
}
.uj-deck-stat--neutral .uj-deck-stat-ico {
  background: var(--uj-neutral-soft, #f2f4f8);
  color: var(--uj-text-2, #4a5568);
}
.uj-deck-stat-go {
  font-size: 12px;
  color: var(--uj-primary, #2b5ce6);
  display: flex;
  align-items: center;
  gap: 2px;
}
.uj-deck-stat-label {
  margin-top: 12px;
  font-size: 13px;
  color: var(--uj-text-3, #8a94a6);
}
.uj-deck-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--uj-text-1, #1d2533);
  line-height: 1.15;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.uj-deck-stat-value.is-loading {
  color: transparent;
  border-radius: var(--uj-radius-sm, 4px);
  background: linear-gradient(90deg, #eef1f6 25%, #f6f8fb 37%, #eef1f6 63%);
  background-size: 400% 100%;
  animation: uj-deck-shimmer 1.3s ease-in-out infinite;
  min-height: 32px;
  max-width: 120px;
}
.uj-deck-stat-value.is-error {
  font-size: 22px;
  color: var(--uj-text-4, #b3bac7);
}
.uj-deck-stat-retry {
  margin-top: 6px;
  font-size: 12px;
  color: var(--uj-primary, #2b5ce6);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
@keyframes uj-deck-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* 主区:快捷开始(左,2fr) + 右栏(1fr) */
.uj-deck-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--uj-space-module, 10px);
  align-items: start;
}
.uj-deck-launch {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.uj-deck-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--uj-text-3, #8a94a6);
  margin-bottom: 10px;
}
.uj-deck-group-title::before {
  content: '';
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--uj-brand-light, #5b8def);
}
.uj-deck-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--uj-space-module, 10px);
}
.uj-deck-quick {
  position: relative;
  border-radius: var(--uj-radius-card, 10px);
  padding: 16px;
  background: #fff;
  border: 1px solid var(--uj-border, #e6ebf2);
  box-shadow: var(--uj-shadow-card);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  text-align: left;
}
.uj-deck-quick:hover {
  transform: translateY(-1px);
  box-shadow: var(--uj-shadow-raise);
  border-color: rgba(43, 92, 230, 0.4);
}
.uj-deck-quick:focus-visible {
  outline: 2px solid var(--uj-brand-light, #5b8def);
  outline-offset: 2px;
}
.uj-deck-quick-ico {
  width: 34px;
  height: 34px;
  border-radius: var(--uj-radius-md, 6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: var(--uj-primary-soft, #eef3ff);
  color: var(--uj-primary, #2b5ce6);
  margin-bottom: 10px;
}
.uj-deck-quick-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--uj-text-1, #1d2533);
}
.uj-deck-quick-desc {
  font-size: 12px;
  color: var(--uj-text-3, #8a94a6);
  line-height: 1.5;
  margin-top: 4px;
  min-height: 36px;
}
.uj-deck-quick-go {
  font-size: 12px;
  color: var(--uj-primary, #2b5ce6);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* 右栏 */
.uj-deck-rail {
  display: flex;
  flex-direction: column;
  gap: var(--uj-space-module, 10px);
}
.uj-deck-sec {
  border-radius: var(--uj-radius-card, 10px);
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--uj-border, #e6ebf2);
  box-shadow: var(--uj-shadow-card);
}
.uj-deck-sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.uj-deck-sec-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--uj-radius-md, 6px);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.uj-deck-sec--security .uj-deck-sec-icon {
  background: var(--uj-warning-soft, #fdf3e5);
  color: var(--uj-warning, #d97706);
}
.uj-deck-sec-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--uj-text-1, #1d2533);
}
.uj-deck-sec-desc {
  font-size: 12px;
  color: var(--uj-text-3, #8a94a6);
  margin-top: 2px;
}
.uj-deck-sec-body {
  margin-top: 12px;
}

/* 上架流程指引:竖向步骤 */
.uj-deck-steps {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.uj-deck-step {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding-bottom: 14px;
}
.uj-deck-step:last-child {
  padding-bottom: 0;
}
.uj-deck-step-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.uj-deck-step-node {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--uj-primary-soft, #eef3ff);
  color: var(--uj-primary, #2b5ce6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  z-index: 1;
}
.uj-deck-step:not(:last-child) .uj-deck-step-rail::after {
  content: '';
  position: absolute;
  top: 24px;
  bottom: -2px;
  width: 1px;
  background: var(--uj-border, #e6ebf2);
}
.uj-deck-step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--uj-text-1, #1d2533);
  line-height: 24px;
}
.uj-deck-step-desc {
  display: block;
  font-size: 12px;
  color: var(--uj-text-3, #8a94a6);
  margin-top: 2px;
}

@media (max-width: 1100px) {
  .uj-deck-main {
    grid-template-columns: 1fr;
  }
  .uj-deck-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .uj-deck-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .uj-deck-meta {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .uj-deck-stats {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .uj-deck-stat,
  .uj-deck-quick {
    transition: none;
  }
  .uj-deck-stat-value.is-loading {
    animation: none;
  }
}

/* ============ 个人资料页 ============ */
.uj-profile {
  display: flex;
  flex-direction: column;
  gap: var(--uj-space-module, 10px);
}

/* 顶部身份横幅 */
.uj-profile-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 12px 14px;
}
.uj-profile-hero-id {
  display: flex;
  align-items: center;
  gap: 12px;
}
.uj-profile-avatar {
  background: linear-gradient(135deg, #2b5ce6, #5b8def);
  box-shadow: 0 3px 10px rgba(43, 92, 230, 0.28);
  flex: none;
}
.uj-profile-name {
  font-size: 18px;
  font-weight: 600;
  color: #1d2533;
  line-height: 1.3;
}
.uj-profile-account {
  font-size: 13px;
}
.uj-profile-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.uj-profile-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}
.uj-profile-chip-label {
  font-size: 12px;
  color: #8a94a6;
}
.uj-profile-chip-value {
  font-size: 13px;
  font-weight: 500;
  color: #1d2533;
}

/* 下方双栏(强制等高) */
.uj-profile-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  gap: var(--uj-space-module, 10px);
  align-items: stretch;
}
.uj-profile-info,
.uj-profile-security {
  display: flex;
  flex-direction: column;
}
.uj-profile-card-title {
  font-weight: 600;
  font-size: 15px;
  color: #1d2533;
}
.uj-profile-rows {
  flex: 1 1 auto;
  margin-top: 4px;
}
.uj-profile-roles {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
.uj-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #f0f3f8;
  font-size: 13px;
}
.uj-profile-row:last-child {
  border-bottom: none;
}
.uj-profile-label {
  color: #8a94a6;
  flex: none;
}
.uj-profile-value {
  color: #1d2533;
  text-align: right;
  word-break: break-all;
}
.uj-profile-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #eef1f6;
  font-size: 12px;
  line-height: 1.6;
  color: #aab2c0;
}

@media (max-width: 1100px) {
  .uj-profile-grid {
    grid-template-columns: 1fr;
  }
}