design.css 164 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 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577
/**
 * 全局设计变量 + 内部组件库(@hm/ui)的样式。
 *
 * 组件样式放在全局而不是 @hm/ui 包内,是个有意的取舍:这是单应用的内部组件库,
 * 不需要被第三方消费,全局 CSS 变量 + 语义类名已经足够,还能让主题切换只改一处。
 * 若将来要发包给别的项目,再拆 CSS-in-JS 或 CSS Module 不迟。
 *
 * 色值取自深城交官网主样式表(详见 src/features/heatmap/map/palette.ts 的说明)。
 */

:root {
  --hm-primary: #4653a2;
  --hm-primary-hover: #4c58aa;
  --hm-primary-light: #5c6fb4;
  --hm-primary-soft: #b8bddc;
  --hm-primary-deep: #222b5f;
  --hm-primary-wash: rgba(70, 83, 162, 0.08);
  --hm-primary-wash-strong: rgba(70, 83, 162, 0.16);

  --hm-accent-cyan: #28a7e1;
  --hm-accent-sky: #0ac9f5;
  --hm-accent-gold: #fcc929;
  --hm-accent-gold-deep: #c99a18;

  --hm-bg: #f5f6f9;
  --hm-surface: #ffffff;
  --hm-surface-sunken: #fafbfd;
  --hm-border: #e4e4e4;
  --hm-divider: #ededed;

  --hm-text-1: #222222;
  --hm-text-2: #555a66;
  --hm-text-3: #8c8c8c;

  --hm-error: #e5484d;
  --hm-warn: #d97706;

  --hm-shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px -12px rgba(16, 24, 40, 0.14);
  --hm-shadow-pop: 0 12px 40px -12px rgba(16, 24, 40, 0.24);
  --hm-radius: 10px;
  --hm-radius-lg: 14px;

  /* 悬浮毛玻璃层:地图全屏后,顶栏与左右操作区以玻璃卡片浮在地图之上。
     侧栏更通透(低不透明度 + 高模糊),顶栏取更深的冷灰底,压住整页顶部视觉重量。 */
  --hm-dock-w: 372px; /* 左侧「黑点清单」通栏宽度,与右栏同宽,两缘对称 */
  /* 右下角那颗读数胶囊(.hm-map__stat-chip)的实测外框高:6+6 内边距 + 1+1 边框
     + 11px 文字的一行 ≈ 30px。清单通栏拉开时,密度图例要让到它上面,就按这个高度抬。 */
  --hm-chip-h: 30px;
  /* 右缘竖向页签的宽度。2026-11-02 傍晚页签整体撤除后置 0。
   * 不删这个变量:地图浮层有 9 处 `calc(... + var(--hm-tab-w) + ...)` 的避让公式,
   * 置零让它们自动退化到「只让开 rail-gap」,逐条改算式比置零更容易算错一位。 */
  --hm-tab-w: 0px;
  --hm-rail-gap: 16px; /* 玻璃卡片与视口边缘的留白 */
  --hm-header-h: 60px;

  /* ── 地图上的层叠阶梯(2026-11-02 收口) ──────────────────────────────
   *
   * 为什么要有这套数字:地图上同时能站 5 块浮层(工具条 / 图例 / 右下胶囊 /
   * 黑点清单 / 概览卡),此前每块各自写 z-index,谁挡谁全凭当初写那行时的手感。
   * 结果是「筛选面板压住概览」「概览压住清单」这类事一个接一个地冒。
   *
   * 阶梯只回答一个问题:**谁该压在谁上面**。它不负责解决遮挡 ——
   * 遮挡一律靠让位(见下面 .hm-cockpit 的容器收缩与 OverviewLayer 的安全区夹取)。
   * 层级的用途是让"让位"这件事在视觉上成立:临时面板压在常驻读数上,
   * 是因为此刻手上正在操作它;手一松,它就退回自己的位置。
   *
   * 相邻两级至少差 1,留出空隙是为了以后插层不用重排全表。
   */
  --hm-z-hud: 12; /* 常驻仪表:工具条 / 图例 / 右下胶囊。只被让位,不被人操作抢 */
  --hm-z-dock: 16; /* 产出通栏:黑点清单。占据整条左缘,位置不可让 */
  --hm-z-read: 17; /* 常驻读数:概览卡。唯一可拖,也唯一需要自己找地方站 */
  --hm-z-panel: 18; /* 瞬时面板:维度值面板。展开的几十秒里它是操作焦点 */
  --hm-z-lift: 24; /* 被手拿起来的东西:拖动中的概览卡 */
  --hm-z-chrome: 30; /* 前臺:顶栏 / 抽屉 / 全局弹层 */

  --hm-glass-side: rgba(255, 255, 255, 0.62);
  --hm-glass-side-strong: rgba(255, 255, 255, 0.78);
  --hm-glass-drawer: rgba(255, 255, 255, 0.74);
  --hm-glass-border: rgba(255, 255, 255, 0.6);
  --hm-glass-blur: blur(20px) saturate(150%);
  --hm-glass-shadow: 0 8px 32px -8px rgba(16, 24, 40, 0.28);

  --hm-glass-header: linear-gradient(
    180deg,
    rgba(30, 41, 82, 0.86) 0%,
    rgba(38, 50, 96, 0.74) 100%
  );
}

/*
 * 拖动 / 缩放地图期间的那一拍:整页玻璃**彻底不模糊**,只留压实过的底色。
 *
 * 为什么要单独开这一档:backdrop-filter 的开销是「每帧把它身后那块区域重新采样、
 * 再按半径卷积一遍」,而这个项目底下一整块全屏 WebGL 地图。地图一动,顶栏(整屏宽)、
 * 右栏面板、左侧清单、三个把手、图例、读数胶囊、抽屉全都要各自重模糊一次,
 * 半径还是 20px —— 这是拖动卡顿里最大的一笔单项开销,而且它跟数据量无关,空图也卡。
 *
 * 类名由地图的手势事件挂 / 摘(见 MapStage 的 hm-map-busy 那段),松手后过一拍才恢复,
 * 因为松手紧接着就是重新聚合与重喂热力。静止时的外观与原来完全一致,这一档只在按住时存在。
 *
 * 底色同步压实是必要的:只把模糊拿掉会让玻璃在移动中的地图上读成「变透明」,
 * 而移动中的底色本来就读不出细节 —— 宁可玻璃实在一点。
 *
 * ⚠️ 这一档现在是 `none`(原先是 blur(4px)),是按「先量出这一笔值多少钱」的要求试出来的:
 * 4px 那档虽然只是原来的五分之一,但它仍然是一张参与合成的模糊表面,每一帧都要重新采样一遍;
 * 而拖动途中读不出材质差别 —— 画面正糊着走。要恢复旧手感,把这一行改回
 * `blur(4px) saturate(150%)` 即可,别的地方都不用动。
 */
html.hm-map-busy {
  --hm-glass-blur: none;
  --hm-glass-side: rgba(255, 255, 255, 0.84);
  --hm-glass-side-strong: rgba(255, 255, 255, 0.9);
  --hm-glass-drawer: rgba(255, 255, 255, 0.88);
  --hm-glass-header: linear-gradient(
    180deg,
    rgba(30, 41, 82, 0.93) 0%,
    rgba(38, 50, 96, 0.86) 100%
  );
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  height: 100%;
  margin: 0;
  /* 最外层永远不滚:这是全屏地图应用,页面级滚动条从来不该出现。
   * 滚动只允许长在各容器自己身上——抽屉正文(长清单)、侧栏面板、空态引导弹窗
   * 都有自己的 overflow。曾出现过「鼠标移到抽屉、屏幕右缘冒出横竖滚动条」:
   * 那是抽屉(position:fixed 贴屏幕右缘)自己的滚动条贴在屏幕边缘,观感像全局的;
   * 这里再把文档级滚动整体关死,任何容器溢出都不可能把它变成页面滚动条。
   * 代价:溢出内容被裁而不是可达——本应用没有需要页面滚动的界面。 */
  overflow: hidden;
}

body {
  background: var(--hm-bg);
  color: var(--hm-text-1);
  font-family:
    'PingFang SC',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Microsoft YaHei',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 纤细克制的滚动条。
 *
 * 拇指用品牌深靛蓝的半透明,而不是浅蓝灰:侧栏是浅色玻璃,浅色拇指落在上面
 * 几乎看不见 —— 这一版布局把「能不能滚」当成了主要交互,滚动条就是它的入口提示,
 * 看不见等于没有。半透明深靛在浅色底上够清楚,又不会像纯黑那样压住玻璃质感。 */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 43, 95, 0.32) transparent;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(34, 43, 95, 0.32);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 43, 95, 0.5);
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* ------------------------------- Panel ------------------------------- */

.hm-panel {
  background: var(--hm-glass-side);
  border: 1px solid var(--hm-glass-border);
  border-radius: var(--hm-radius-lg);
  box-shadow: var(--hm-glass-shadow);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  overflow: hidden;
}

.hm-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 10px;
  background: var(--hm-glass-side-strong);
  border-bottom: 1px solid var(--hm-glass-border);
}

.hm-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hm-text-1);
  letter-spacing: 0.2px;
}

.hm-panel__accent {
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--hm-primary) 0%, var(--hm-accent-cyan) 100%);
}

.hm-panel__extra {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--hm-text-3);
}

/*
 * 「收起」那颗:面板标题行、地图图例、抽屉标题行共用一颗。
 *
 * 为什么给它实底和描边,而不是沿用右上角那颗淡色小叉:这一颗要解决的正是
 * 「这块玻璃挡住了地图,我得先把它挪开」,而淡色小叉在整页毛玻璃上几乎看不出能按。
 * 两个字 + 一截朝向箭头,收向哪一侧由箭头说;复开的地方写在悬浮里,
 * 因为收起之后找不到回来的路,等于没人敢按第一下。
 * flex-shrink 归零:面板标题行挤的时候(黑点清单那行还有口径读数)先压字号,
 * 不许把出口压没。
 */
.hm-collapse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 3px 9px;
  font: inherit;
  font-size: 11px;
  line-height: 1.4;
  color: var(--hm-text-2);
  background: var(--hm-glass-side-strong);
  border: 1px solid var(--hm-glass-border);
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.hm-collapse:hover {
  color: var(--hm-primary);
  background: var(--hm-glass-side-strong);
}

.hm-collapse:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 2px;
}

/* 一截朝右的尖角(border 两笔 + 旋转),方向由 --left/--right/--down 三个修饰符改 */
.hm-collapse__chev {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.hm-collapse--right .hm-collapse__chev {
  transform: rotate(-45deg);
}

.hm-collapse--left .hm-collapse__chev {
  transform: rotate(135deg);
}

.hm-collapse--down .hm-collapse__chev {
  transform: rotate(45deg);
}

/* 收起来的图例变回左下一枚小牌:留着色阶一小截,让人认出收起的就是这一条 */
.hm-map__legend-chip {
  position: absolute;
  left: calc(var(--hm-rail-gap) + 2px);
  bottom: var(--hm-rail-gap);
  z-index: var(--hm-z-hud);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  font: inherit;
  font-size: 11px;
  color: var(--hm-text-2);
  background: var(--hm-glass-side);
  border: 1px solid var(--hm-glass-border);
  border-radius: 999px;
  box-shadow: var(--hm-glass-shadow);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  cursor: pointer;
  /* 与整张图例同速同规则:清单通栏拉开时照样往右挪一列,见下面 .hm-body.is-dock-open */
  transition:
    left 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    bottom 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-map__legend-chip:hover {
  color: var(--hm-primary);
  background: var(--hm-glass-side-strong);
}

.hm-map__legend-chip:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 2px;
}

.hm-map__legend-chip-ramp {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    #2b4ac7 0%,
    #18a8ff 22%,
    #7ade3c 52%,
    #ffce00 68%,
    #ff2a2a 92%
  );
}

/* 尖角朝上:这一枚是「往上摊开」,和收起那颗朝下正好成一对 */
.hm-map__legend-chip .hm-collapse__chev {
  transform: rotate(-135deg);
}

.hm-panel__body {
  padding: 14px;
}

.hm-panel__body--flush {
  padding: 0;
}

/* 这里原来有 `.hm-panel--minor { flex-grow: 0.55 }`(可操作清单优先于参考性概览),已删。
 *
 * 删的理由不是「用不上」,而是它会让面板永远铺不满:flex-grow 小于 1 时,
 * 弹性空间不是按「比例分完」,而是只分发 grow 之和那么多份(CSS Flexbox §9.7:
 * Σgrow < 1 时剩余空间留在行里不分配)。一栏一次只挂一个面板,栏高 713px,
 * grow 0.55 就恰好只吃到 391px —— 剩下的三百多像素是一段空玻璃,
 * 而内容被压在 343px 的 body 里出滚动条,看着像「高度被谁限制了」。
 * 多个面板共处一栏时权重才有意义;单面板一律 grow 1,观感和左通栏对齐。 */

.hm-panel--fluid > .hm-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* 贴边 body(清单类):标题行与排序说明钉住,只有列表滚 ——
 * 滚起来之后「按什么排序」这句话不该跟着滑走。 */
.hm-panel--fluid > .hm-panel__body--flush {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hm-panel--fluid > .hm-panel__body--flush > * {
  flex: 0 0 auto;
}

.hm-panel--fluid > .hm-panel__body--flush > .hm-hot {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ------------------------------- StatTile ------------------------------- */

.hm-stat-grid {
  display: grid;
  gap: 10px;
}

.hm-stat {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--hm-glass-border);
  border-radius: var(--hm-radius);
}

.hm-stat__label {
  font-size: 12px;
  color: var(--hm-text-3);
  margin-bottom: 4px;
}

.hm-stat__value {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}

.hm-stat__unit {
  font-size: 12px;
  font-weight: 500;
  margin-left: 3px;
  color: var(--hm-text-3);
}

.hm-stat__hint {
  margin-top: 4px;
  font-size: 11px;
  color: var(--hm-text-3);
  line-height: 1.5;
}

/*
 * 可点的读数块(命中案件 / 热力点位数):整块是 button,不再另设「查看」文字 ——
 * 数字本身就是被点的那个东西,再加一行动作提示等于把同一个入口说两遍。
 * 底下是地图,光靠浅底不足以声明「点得下去」,所以 hover 时给数字加一条虚线下划线:
 * 虚线(而非实线)是「此处可点、点了不是跳走」的通用记号。
 */
.hm-stat--link {
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}

.hm-stat--link:hover {
  background: var(--hm-primary-wash);
  border-color: var(--hm-primary-wash-strong);
}

.hm-stat--link:hover .hm-stat__value {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hm-stat--link:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 2px;
}

/* ------------------------------- Field ------------------------------- */

.hm-field {
  margin-bottom: 14px;
}

.hm-field:last-child {
  margin-bottom: 0;
}

.hm-field__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.hm-field__text {
  font-size: 12px;
  color: var(--hm-text-2);
  font-weight: 500;
}

.hm-field__text.is-active {
  color: var(--hm-primary);
  font-weight: 600;
}

.hm-field__tip {
  font-size: 11px;
  color: var(--hm-text-3);
}

.hm-field__control {
  width: 100%;
}

/* ------------------------------- BrandMark ------------------------------- */

.hm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hm-brand__mark {
  display: block;
  filter: drop-shadow(0 4px 10px rgba(70, 83, 162, 0.28));
}

.hm-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  white-space: nowrap;
}

.hm-brand__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hm-text-1);
  letter-spacing: 0.6px;
}

.hm-brand__subtitle {
  font-size: 9px;
  font-weight: 500;
  color: var(--hm-text-3);
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

/* ------------------------------- SplitBar ------------------------------- */

.hm-splitbar {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hm-splitbar__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/*
 * 榜上可点的每一行(点它 = 看这一区/这一街的案件清单)。整行是 button,
 * 键盘 Tab + Enter 才进得去,焦点环也能自然出现 —— 给 div 挂 onClick 做不到。
 *
 * 左右各撑 6px 内衬让浅底有个边界可读,再用等值负边距收回来:
 * 行高和行距(.hm-splitbar 的 gap)都归父容器管,加不加这层内衬,榜的排布一模一样。
 * 上下不给内衬,否则浅底会把 9px 的行距吃掉,hover 时两行的底色几乎贴上。
 */
.hm-splitbar__row--link {
  font: inherit;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0 6px;
  margin: 0 -6px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.16s ease;
}

.hm-splitbar__row--link:hover {
  background: var(--hm-primary-wash);
}

.hm-splitbar__row--link:hover .hm-splitbar__label {
  color: var(--hm-primary);
}

.hm-splitbar__row--link:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 1px;
}

/* 0 起那一档照样画出来(数量不能凭空消失),但它后面没有清单可看,所以不接成能点的 */
.hm-splitbar__row--link:disabled {
  cursor: default;
}

.hm-splitbar__row--link:disabled:hover {
  background: transparent;
}

.hm-splitbar__row--link:disabled:hover .hm-splitbar__label {
  color: var(--hm-text-2);
}

.hm-splitbar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.hm-splitbar__label {
  color: var(--hm-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-splitbar__value {
  color: var(--hm-text-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.hm-splitbar__value em {
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  color: var(--hm-text-3);
  margin-left: 5px;
}

.hm-splitbar__track {
  height: 5px;
  background: var(--hm-divider);
  border-radius: 3px;
  overflow: hidden;
}

.hm-splitbar__fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/*
 * 榜末那条「地址里读不出区名/街道名」的记录数:一行话,不给条形、不给占比。
 *
 * 为什么到这里为止不再画条:这一档和上面的名次不同量。它的长短由地址填写质量决定,
 * 跟单个区、单条街道放进同一把尺子,要么把确认项压成看不出长短的一截(按它归一),
 * 要么画到封顶和榜首一样长(按榜首归一)—— 两种都会让人怀疑数据出错。
 * 起数必须留着(量不能没有下落,否则短榜会被读成「全市就这几处」),
 * 但比较只留给榜内。虚线 + 降到 text-3 表示它在榜外,不是第 N 名:
 * 排名色一次都不出现,避免同一套编码被读成名次。
 */
.hm-splitbar__unresolved {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--hm-divider);
  font-size: 12px;
  color: var(--hm-text-3);
}

.hm-splitbar__unresolved b {
  color: var(--hm-text-2);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.hm-splitbar__unresolved i {
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  color: var(--hm-text-3);
  margin-left: 2px;
}

/* 抽屉里的表下面没有榜上那圈留白,虚线要自己撑开一点,才不像紧贴着表格最后一行 */
.hm-splitbar__unresolved--drawer {
  margin-top: 14px;
  padding-top: 12px;
  font-size: 12.5px;
}

/*
 * 「地址里读不出区名/街道名」那一档也能点:它背后确实有一批案件,只是归不到某个地名上。
 * 虚线是这一档「在榜外」的身份标记,接成按钮时四边默认描边去掉、上边这条留着;
 * 内衬只往左右和下面撑,padding-top 交给上面那条规则(榜单 10px / 抽屉 12px),
 * 免得这里一个简写把抽屉里刻意放开的间距又收回去。
 */
.hm-splitbar__unresolved--link {
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px dashed var(--hm-divider);
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 4px;
  border-radius: 0 0 7px 7px;
  cursor: pointer;
  transition: background 0.16s ease;
}

.hm-splitbar__unresolved--link:hover {
  background: var(--hm-primary-wash);
}

/* 数字是这一档唯一的结论,hover 时提一级颜色,其余文字仍留在榜外的灰度里 */
.hm-splitbar__unresolved--link:hover b {
  color: var(--hm-primary);
}

.hm-splitbar__unresolved--link:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 1px;
}

/*
 * 车辆画像:每一维一张卡 —— 两条 100% 构成条(本批 / 全市)+ 图例数字。
 *
 * 为什么是「整条 100%」而不是「每档一根条」:单根条没有参照系,8.5% 算大算小看不出来,
 * 各维档数不同、条长也互不可比。整条铺满 100% 之后,每一段的宽窄就是它在这一维里的占比,
 * 自带参照;上下两条用同一把 0–100% 的尺子,只是分母一个取本批、一个取全市(固定不变)。
 */
.hm-vhint {
  line-height: 1.75;
  margin-bottom: 10px;
}

.hm-vhint b {
  color: var(--hm-text-1);
  font-weight: 600;
  margin: 0 1px;
}

.hm-vcards {
  display: grid;
  /* 卡内图例固定要 150px 宽(名字 + 三列数字),整卡最低 280。
     在右栏那种 ~380 的窄容器里自然落成单列,到深潜的宽屏才并两列 ——
     写死 1fr 1fr 的话,窄屏下四列数字会把档名挤成一个字。 */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.hm-vcard {
  background: var(--hm-surface);
  border: 1px solid var(--hm-divider);
  border-radius: 12px;
  padding: 10px 11px 8px;
  box-shadow: 0 1px 2px rgba(34, 43, 95, 0.04);
}

.hm-vcard__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.hm-vcard__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-vcard__cap {
  font-size: 10.5px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* —— 构成条 —— */
.hm-vcard__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hm-vcard__bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hm-vcard__bar-tag {
  flex: 0 0 22px;
  font-size: 10px;
  color: var(--hm-text-3);
  letter-spacing: 0.02em;
}

.hm-vcard__bar-tag.is-m {
  color: var(--hm-primary-deep);
  font-weight: 600;
}

/* 全市那条整体压淡:它是参照,不是主角;真要读数看图例里那一列 */
.hm-vcard__bar-row.is-base .hm-vcard__stack {
  opacity: 0.5;
}

.hm-vcard__stack {
  flex: 1 1 auto;
  display: flex;
  height: 9px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--hm-surface-sunken);
}

.hm-vcard__seg {
  display: block;
  height: 100%;
  min-width: 0;
  transition: width 0.3s ease;
}

/* 段与段之间留一道极细的白缝,同色系相邻时也分得开 */
.hm-vcard__seg + .hm-vcard__seg {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.85);
}

/* —— 图例:档位 / 本批 / 全市 / 偏离 —— */
.hm-vcard__lgs {
  margin-top: 7px;
  display: flex;
  flex-direction: column;
}

.hm-vcard__lgcap,
.hm-vcard__lg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px 46px 40px;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.hm-vcard__lgcap {
  padding: 0 4px 3px;
  border-bottom: 1px solid var(--hm-divider);
  color: var(--hm-text-3);
}

.hm-vcard__lgcap span + span,
.hm-vcard__lg > span:not(.hm-vcard__lg-name) {
  text-align: right;
}

.hm-vcard__lg {
  width: 100%;
  padding: 3px 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease;
}

.hm-vcard__lg:hover {
  background: var(--hm-primary-wash);
}

.hm-vcard__lg:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 1px;
}

.hm-vcard__lg-name {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--hm-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-vcard__lg:hover .hm-vcard__lg-name {
  color: var(--hm-primary);
}

.hm-vcard__lg-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex: 0 0 auto;
}

.hm-vcard__lg-m {
  color: var(--hm-text-1);
  font-weight: 600;
}

.hm-vcard__lg-b {
  color: var(--hm-text-3);
}

.hm-vcard__lg-d {
  font-weight: 600;
}

/* 偏离的正负不用 +/− 号去认,直接用颜色:红=比全市更集中(这一类车在这批里偏多),青=偏少 */
.hm-vcard__lg-d.is-up {
  color: var(--hm-error);
}

.hm-vcard__lg-d.is-down {
  color: var(--hm-accent-cyan);
}

.hm-vcard__lg-d.is-flat {
  color: var(--hm-text-3);
  font-weight: 500;
}

/* 「其他 N 档」是合起来的,不可点:它不对应清单里的一档 */
.hm-vcard__lg.is-rest {
  cursor: default;
  color: var(--hm-text-3);
}

.hm-vcard__lg.is-rest:hover {
  background: transparent;
}

/*
 * 「未填写」排在卡末、用虚线与上面隔开:它衡量源表填没填,不是一种车辆属性,
 * 不进构成条也不排名次 —— 漏填多少取决于填报,不取决于路面风险。
 */
.hm-vcard__blank {
  margin-top: 8px;
  width: 100%;
  border: none;
  border-top: 1px dashed var(--hm-divider);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--hm-text-3);
  padding: 5px 4px 0;
}

.hm-vcard__blank:hover {
  color: var(--hm-text-2);
}

/* —— 时间形态追加块(P7 卡片化 + 星期标数 + 高峰高亮) —— */
.hm-timex {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hm-timex__card {
  background: var(--hm-surface);
  border: 1px solid var(--hm-divider);
  border-radius: 12px;
  padding: 11px 13px;
  box-shadow: 0 1px 2px rgba(34, 43, 95, 0.04);
}

.hm-timex__ht {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-text-1);
  margin-bottom: 8px;
}

.hm-timex__tag {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--hm-accent-gold);
  background: rgba(252, 201, 41, 0.14);
  border-radius: 999px;
  padding: 1px 8px;
}

.hm-timex__hero {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hm-timex__hero b {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--hm-primary-deep);
  font-variant-numeric: tabular-nums;
}
.hm-timex__hero span {
  font-size: 12px;
  color: var(--hm-text-3);
}

.hm-timex__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 84px;
}

.hm-timex__bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
}
.hm-timex__bar-fill {
  width: 100%;
  max-width: 30px;
  background: var(--hm-primary-soft);
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  transition: height 0.2s ease;
}
.hm-timex__bar-fill.is-wd {
  background: var(--hm-accent-cyan);
  opacity: 0.78;
}
.hm-timex__bar.is-peak .hm-timex__bar-fill {
  background: var(--hm-primary);
}
.hm-timex__bar.is-peak .hm-timex__bar-fill.is-wd {
  background: var(--hm-accent-cyan);
  opacity: 1;
}
.hm-timex__bar-n {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-text-1);
  font-variant-numeric: tabular-nums;
}
.hm-timex__bar.is-peak .hm-timex__bar-n {
  color: var(--hm-primary-deep);
}
.hm-timex__bar-l {
  font-size: 10.5px;
  color: var(--hm-text-3);
  white-space: nowrap;
}


/*
 * 榜下的「查看全部」:文字按钮,不做成实心块。
 * 两块榜(区域分布 / 高频街道)共用一个长相,桶卡底部那个「查看全部」也是它 ——
 * 同一个动线(点开→右缘抽屉)就该是同一个入口样式。
 */
.hm-board__more {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.hm-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  border: none;
  background: transparent;
  color: var(--hm-primary);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.hm-more:hover {
  color: var(--hm-primary-hover);
  text-decoration: underline;
}

/* 箭头比文字再小一号:入口的视觉重量留在文字上,图标只做方向提示 */
.hm-more .anticon {
  font-size: 10px;
}

/* 抽屉表格里「与榜首相比」那一列的短条:和面板榜上的条形同一套尺寸,
   只是这里长条换成 6px 高的定宽轨道(列宽写死在组件里) */
.hm-board__bar {
  height: 6px;
  border-radius: 3px;
  background: var(--hm-divider);
  overflow: hidden;
}

.hm-board__bar > div {
  height: 100%;
  border-radius: 3px;
}

/* --------------------------- 概览里的分类标题 --------------------------- */

/*
 * 右栏现在挂了七块各自独立的榜(集中度、区域、时段形状、街道、道路、点位、时间),
 * 标题都是一样大小的灰字,扫过去要先认出「这是哪一类」才能读下面的数 ——
 * 所以每类标题前给一个固定小图标,让「类」在视觉上先立起来。
 *
 * 图标只做区分,不抢读数:尺寸跟正文一样(12px)、颜色是主色压淡,
 * 榜上那些案件数、百分比仍然是行里最显眼的东西。这条规矩和黑点行里的数字高亮同一出处
 * (见 .hm-hot__line em i:一个位置只留一个最要紧的读数,其余都给它让路)。
 */
.hm-sect {
  display: flex;
  align-items: center;
  gap: 6px;
  /* 小节标题比正文重一档:一屏多块读数时,先认标题再看数,层级才立得住 */
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--hm-text-1);
}

.hm-sect__ico {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1;
  color: var(--hm-primary);
  opacity: 0.68;
}

/*
 * 「在地图上看」:一张榜的入口,放在分类标题行右端(抽屉里放标题右侧)。
 *
 * 为什么不跟「查看全部」挤在同一行末尾:那两颗讲的是两件相反的事 —— 一颗把榜摊在屏幕上、
 * 一颗把榜摊在抽屉里,同排就会读成「二选一」。标题行右端正好和标题自己对齐,
 * 一眼就知道这颗管的是上面这张榜。
 *
 * 右栏净宽 372px,标题最长那行(「反复出险的位置(TOP 5)」)留出这颗还剩得下;
 * 这颗因此不许换行、也不给图标,宽度全靠那五个字。
 *
 * 禁用态不消失、也不降透明度:它是「数据还没到 / 这一筛就没记录」的说明载体,
 * 藏起来就等于让人以为入口没了(悬浮说明由外层 span 承担,禁用按钮自己不触发鼠标事件)。
 */
.hm-spot-entry-wrap {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.hm-spot-entry-wrap--section {
  margin-left: auto;
}

.hm-spot-entry {
  padding: 2px 4px;
  border: none;
  background: transparent;
  color: var(--hm-primary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
}

.hm-spot-entry--board {
  font-size: 12px;
}

.hm-spot-entry:hover:not(:disabled) {
  color: var(--hm-primary-hover);
  text-decoration: underline;
}

.hm-spot-entry:focus-visible {
  outline: 1px solid var(--hm-accent-cyan);
  outline-offset: 1px;
}

.hm-spot-entry:disabled {
  color: var(--hm-text-3);
  cursor: not-allowed;
}

/* --------------------------- 区 × 时段(交叉表) --------------------------- */

/*
 * 面板上的时段矩阵:一行一个区,六档时段 + 夜间占比。
 *
 * 为什么折成 6 档而不是直接画 24 格:右栏 372px,扣掉区名和夜间那一列只剩 ~250px,
 * 24 格每格 10px,既写不下数字也读不出深浅 —— 那就不是图,是一片糊。
 * 6 档一格 ~40px,数字放得下,深浅也比得出来(分档口径见 dims.ts 的 TIME_BANDS)。
 * 完整的 24 格留给抽屉(.hm-matrix),那里最宽 616px、最窄 392px(宽度见
 * src/layout/drawerWidth.ts),窄到格子读不出来时那张自己横向滚(见 .hm-matrix-scroll)。
 *
 * 底色走地图上那条「案件密度」色阶(越挤越往红),并按「本行自己的最大值」归一,
 * 不是全表归一:这一张表比的是各区的时段形状,全表归一时案件少的区整行只剩色阶的冷端,
 * 看着像「没时间特征」,而它只是量小。取色与字色都由 palette.ts 那两个函数给,
 * 面板这张和抽屉那张 24 格矩阵共用一处逻辑,不会两边各一套红。
 *
 * 字色跟着底色的实际亮度翻:色阶的暖端是亮黄(深字对比 12:1,白字只有 1.3:1),
 * 炽红端反过来(白字 4.6:1,深字 3.5:1),所以不能写死 —— 规则见 densityCellInk,
 * 最低那一档也有约 4:1(钉在 palette.test.ts)。0 起那格不涂色阶,用分隔灰。
 */
.hm-cross,
.hm-matrix {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hm-cross__head,
.hm-cross__row {
  display: grid;
  grid-template-columns: 58px repeat(6, minmax(0, 1fr)) 42px;
  gap: 3px;
  align-items: center;
}

.hm-cross__head {
  font-size: 10px;
  color: var(--hm-text-3);
}

.hm-cross__band {
  text-align: center;
  white-space: nowrap;
}

.hm-cross__name {
  font-size: 11px;
  color: var(--hm-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-cross__cell {
  height: 22px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--hm-text-1);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: box-shadow 0.14s ease;
}

/* 0 起那一格照画(形状不能缺口),但它后面没有名单可看,所以只收掉指针与描边 */
.hm-cross__cell:disabled,
.hm-cross__cell.is-empty {
  color: var(--hm-text-3);
  cursor: default;
}

.hm-cross__cell:not(:disabled):hover {
  box-shadow: inset 0 0 0 1.5px var(--hm-primary);
}

.hm-cross__cell:not(:disabled):focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 1px;
}

.hm-cross__night {
  font-size: 11px;
  color: var(--hm-text-2);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ------------------------- 反复出险的位置(点位榜) ------------------------- */

/*
 * 一行一处位置:名次、位置串、天数/起数/跨度/近 30 天、末案日期。
 *
 * 与 .hm-splitbar 那些行的区别是它没有条形 —— 这一张榜的名次来自「出险天数」,
 * 条形要画的长度和排名依据不是同一个量,画出来只会让人拿条去对名次。
 * 天数直接写在最前面加粗,它就是这一行的尺子。
 */
.hm-place {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hm-place__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  padding: 5px 6px;
  margin: 0 -6px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease;
}

.hm-place__row:hover {
  background: var(--hm-primary-wash);
}

.hm-place__row:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 1px;
}

.hm-place__rank {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-place__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hm-place__name {
  font-size: 12px;
  color: var(--hm-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-place__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--hm-text-3);
}

.hm-place__meta b {
  color: var(--hm-primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hm-place__meta em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

/* 末案日期单独靠右:一行里它是「这件事还新不新」的答案,跟左边的量不是同一件事 */
.hm-place__last {
  margin-left: auto;
  flex: 0 0 auto;
  text-align: right;
  font-size: 11px;
  color: var(--hm-text-2);
  font-variant-numeric: tabular-nums;
}

.hm-place__last em {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: var(--hm-text-3);
}

/* ---------------------- 抽屉里的完整矩阵(区 × 24 小时) ---------------------- */

.hm-matrix__head,
.hm-matrix__row {
  display: grid;
  /* 区名 76(原来 96)、夜间 44(原来 52):抽屉变窄之后先收这两头的固定列,
     24 格那一串是内容本身,能不动就不动 */
  grid-template-columns: 76px repeat(24, minmax(0, 1fr)) 44px;
  gap: 2px;
  align-items: center;
}

/*
 * 宽屏时矩阵整张铺得开(一格 20px 上下);抽屉窄到 392 那一档时一格只剩十来像素,
 * 深浅还是深浅,但「哪一格是本区的高峰」已经读不出来了 —— 而这张表读的就是形状。
 * 所以给它一条横向滚的退路:格子守住 16px 以上的可辨识度,超出的部分横向移动,
 * 竖向滚动仍然只有抽屉 body 那一条(口径同时间分布抽屉那段注释)。
 */
.hm-matrix-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

.hm-matrix-scroll .hm-matrix {
  min-width: 560px;
}

.hm-matrix__hour {
  font-size: 9px;
  color: var(--hm-text-3);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.hm-matrix__name {
  font-size: 12px;
  color: var(--hm-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-matrix__cell {
  height: 20px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  transition: box-shadow 0.14s ease;
}

.hm-matrix__cell:disabled {
  cursor: default;
}

.hm-matrix__cell:not(:disabled):hover {
  box-shadow: inset 0 0 0 1.5px var(--hm-primary);
}

.hm-matrix__cell:not(:disabled):focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 1px;
}

/* 表末那一行合计:底色留着,说明它是全部区加起来的时段形状,不是又一个区 */
.hm-matrix__row--total {
  margin-top: 4px;
  padding-top: 5px;
  border-top: 1px solid var(--hm-divider);
}

.hm-matrix__row--total .hm-matrix__name {
  color: var(--hm-text-1);
  font-weight: 600;
}

.hm-splitbar__empty {
  font-size: 12px;
  color: var(--hm-text-3);
  text-align: center;
  padding: 12px 0;
}

/* ------------------------------- Empty ------------------------------- */

.hm-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 12px;
  color: var(--hm-text-3);
  text-align: center;
}

.hm-empty--compact {
  padding: 14px 8px;
}

.hm-empty__icon {
  opacity: 0.4;
}

.hm-empty__title {
  font-size: 13px;
  color: var(--hm-text-2);
}

.hm-empty__desc {
  font-size: 11px;
  line-height: 1.6;
  max-width: 260px;
}

/* ------------------------------- 布局壳 ------------------------------- */

.hm-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.hm-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--hm-header-h);
  padding: 0 20px;
  /* P9:顶栏从「浅玻璃」压成「深城交蓝渐变」,更像企业级数据平台的名牌条,
     不再是浮着的一块半透明灰 —— 正式感主要来自这一条。 */
  background: linear-gradient(105deg, rgba(20, 27, 66, 0.97) 0%, rgba(42, 54, 110, 0.95) 55%, rgba(58, 74, 140, 0.93) 100%);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: var(--hm-z-chrome);
  box-shadow: 0 8px 28px -14px rgba(12, 18, 40, 0.62);
}

/* 底缘左段那一截渐变线:登录卡顶缘「接入」线的同款,压住顶栏下边。
   只做 240px 短的一截再向右淡出 —— 整条实线会跟 border-bottom 抢,读成两条平行线。 */
.hm-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: auto;
  height: 2px;
  border-radius: 0;
  /* 顶栏底缘一条贯穿全宽的冷色→金强调线:专业大屏常见的那道「数据线」,
     比原来只走 240px 再淡出更有收束感。 */
  background: linear-gradient(
    90deg,
    var(--hm-accent-cyan) 0%,
    var(--hm-primary) 46%,
    var(--hm-accent-gold) 100%
  );
  opacity: 0.9;
  pointer-events: none;
}

/* 深底顶栏内的文字统一转亮,保证在毛玻璃之上的可读性 */
.hm-header .hm-brand__title {
  color: #f4f6ff;
  /* 与登录页同一笔字距(那边 2px,顶栏窄、收一点):品牌名拉开后,
     深玻璃顶栏读起来更像一块铭牌,而不是页面上随意的一行字。 */
  letter-spacing: 1.4px;
}

.hm-header .hm-brand__subtitle {
  color: rgba(226, 232, 255, 0.62);
}

.hm-header__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* 品牌与项目标题之间的测距线:一枚金色准星压在两段细线当中。
 *
 * 登录页标题前那枚十字标的同族,这里换成横向读法:横线由中间的金色向两侧淡出,
 * 竖痕只留准星那 9px。全页只有这一处金色记号,与品牌标记右下角那个点位点同一个意思。 */
.hm-header__axis {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 13px;
}

.hm-header__axis::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(203, 214, 245, 0.34) 28%,
    rgba(252, 201, 41, 0.85) 50%,
    rgba(203, 214, 245, 0.34) 72%,
    transparent
  );
}

.hm-header__axis::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 22.5px;
  width: 1px;
  height: 9px;
  background: rgba(252, 201, 41, 0.9);
  box-shadow: 0 0 10px rgba(252, 201, 41, 0.5);
}

.hm-header__context {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hm-header__context-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #f7f9ff;
  white-space: nowrap;
}

.hm-header__context-sub {
  font-size: 11.5px;
  letter-spacing: 0.2px;
  color: rgba(226, 232, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* 深色玻璃顶栏里的图标按钮:亮色描边胶囊,hover 提亮 */
.hm-header .hm-header__icon-btn {
  color: rgba(232, 237, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.hm-header .hm-header__icon-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* 导入按钮带文字,比纯图标按钮留更多左右内距 */
.hm-header .hm-header__import-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 30px;
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   导入预览报告
   ---------------------------------------------------------------------------
   三段式:摘要(一行大数)→ 自动判定(一行一类)→ 可选剔除(默认折叠)。

   判定依据不再逐行摊开念:行内按剩余宽度截断,完整版与样例折进 ⓘ 气泡。
   这段话只在「要复核这一类的判据」时才需要读全,平时摊开会把弹窗撑到两屏高 ——
   需要逐条核对时还有导出的剔除清单 CSV,那里一条都不少。
   --------------------------------------------------------------------------- */

.hm-import-report {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px;
}

/* ---------- 摘要:原始 → 入库 的大数,以及剔除 / 拒收两枚计数 ---------- */

.hm-ic__summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(240, 244, 255, 0.7);
  border: 1px solid var(--hm-glass-border);
}

.hm-ic__flow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.hm-ic__flow-label {
  font-size: 12px;
  color: var(--hm-text-3);
}

.hm-ic__flow-num {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--hm-text-2);
  font-variant-numeric: tabular-nums;
}

.hm-ic__flow-num--kept {
  color: var(--hm-primary);
}

.hm-ic__flow-arrow {
  font-size: 14px;
  color: var(--hm-text-3);
  margin: 0 2px;
}

.hm-ic__chip {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--hm-text-3);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--hm-divider);
}

.hm-ic__chip[data-on='1'] {
  color: #d4380d;
  background: rgba(212, 56, 13, 0.08);
  border-color: rgba(212, 56, 13, 0.24);
}

.hm-ic__chip--muted {
  margin-left: 0;
}

.hm-ic__sub {
  font-size: 11px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

/* ---------- 分组骨架 ---------- */

.hm-ic__sec {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hm-ic__sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.hm-ic__sec-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-ic__sec-total {
  font-size: 11px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-ic__sec-note {
  font-size: 11px;
  color: var(--hm-warn);
}

/** 常显的判定口径:灰字说明,别用警示色,否则每次打开都像出了错 */
.hm-ic__sec-hint {
  font-size: 11px;
  line-height: 1.5;
  color: var(--hm-text-3);
}

/** 折叠头整行可点 —— 只让箭头可点的话命中区太小 */
.hm-ic__sec-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}

.hm-ic__sec-toggle .anticon {
  font-size: 10px;
  color: var(--hm-text-3);
}

.hm-ic__sec-badge {
  margin-left: auto;
  font-size: 11px;
  color: var(--hm-text-3);
}

.hm-ic__sec-badge[data-on='1'] {
  color: var(--hm-primary);
  font-weight: 600;
}

/* ---------- 自动判定:一行一类,整块包一层边框 ---------- */

.hm-ic__rows {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hm-divider);
  border-radius: 8px;
  overflow: hidden;
}

/**
 * 五列:控件 / 类名 / 判定依据(吃掉剩余宽度并截断)/ 条数 / ⓘ。
 * 依据列给 minmax(0, 1fr) 而不是 auto —— auto 会为了放完整句把前面几列挤扁。
 */
.hm-ic__row {
  display: grid;
  grid-template-columns: 20px auto minmax(0, 1fr) 52px 18px;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 8px;
  font-size: 12px;
  color: var(--hm-text-2);
  background: rgba(255, 255, 255, 0.5);
}

.hm-ic__row + .hm-ic__row {
  border-top: 1px solid var(--hm-divider);
}

/** 0 条的那一类淡掉:留着是为了口径完整(换一批数据它就可能不是 0) */
.hm-ic__row[data-zero='1'] {
  opacity: 0.5;
}

.hm-ic__lock {
  font-size: 12px;
  color: var(--hm-text-3);
}

.hm-ic__row-label {
  color: var(--hm-text-1);
  white-space: nowrap;
}

.hm-ic__row-reason {
  font-size: 11px;
  color: var(--hm-text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-ic__row-count {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--hm-text-1);
}

/** 默认勾选剔除的行:左侧金条 + 浅金底,整行比其余类更跳 */
.hm-ic__row[data-default='1'] {
  background: rgba(252, 201, 41, 0.12);
  box-shadow: inset 3px 0 0 var(--hm-accent-gold-deep);
}

/** 「默认剔除」徽标:金色胶囊,提示这条默认就被剔、可取消 */
.hm-ic__row-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #6b4e00;
  background: var(--hm-accent-gold);
  white-space: nowrap;
  cursor: help;
  vertical-align: middle;
}

.hm-ic__row-badge:hover {
  background: var(--hm-accent-gold-deep);
  color: #fff;
}

.hm-ic__info {
  font-size: 12px;
  color: var(--hm-text-3);
  cursor: help;
}

.hm-ic__info:hover {
  color: var(--hm-primary);
}

.hm-ic__muted {
  color: var(--hm-text-3);
}

/* ---------- 可选剔除:两列网格,标签列自动对齐 ---------- */

.hm-ic__opt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 10px;
  padding: 10px 12px;
  border: 1px solid var(--hm-divider);
  border-radius: 8px;
  font-size: 12px;
}

.hm-ic__opt-label {
  color: var(--hm-text-1);
  white-space: nowrap;
}

.hm-ic__opt-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--hm-text-2);
}

.hm-ic__opt-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hm-ic__opt-text b {
  color: var(--hm-text-1);
  font-variant-numeric: tabular-nums;
}

.hm-ic__num {
  width: 64px;
}

.hm-ic__opt-warn {
  grid-column: 1 / -1;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--hm-warn);
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.28);
}

/* ---------- 收尾 ---------- */

.hm-ic__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.hm-ic__note {
  font-size: 11px;
  color: var(--hm-text-3);
}

/* ---------- ⓘ 气泡:判定依据全文 + 样例 ---------- */

.hm-ic__popover {
  max-width: 380px;
}

.hm-ic__pop {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 336px;
}

/**
 * F 类的气泡里带换行(先说判定依据,再另起一行念「半径比阈值更决定剔多少」)。
 * HTML 会把 \n 折叠成空格,得显式留白。
 */
.hm-ic__pop-reason {
  font-size: 12px;
  line-height: 1.6;
  color: var(--hm-text-2);
  white-space: pre-line;
}

.hm-ic__pop-title {
  padding-top: 6px;
  border-top: 1px dashed var(--hm-divider);
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-text-3);
}

.hm-ic__pop-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hm-ic__pop-item {
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.03);
}

.hm-ic__pop-addr {
  font-size: 12px;
  line-height: 1.4;
  color: var(--hm-text-1);
  word-break: break-all;
}

.hm-ic__pop-note {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--hm-text-3);
}

/* 顶栏内的小胶囊改为半透明亮色,贴合深色玻璃背景 */
.hm-header .hm-map__stat-chip {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(232, 237, 255, 0.82);
  box-shadow: none;
}

.hm-header .hm-map__stat-chip b {
  color: #ffffff;
}

.hm-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  z-index: 10;
  /* 操作区展开时被占掉的横向宽度。地图上的浮层统一按它避让:
     收起时归零,浮层滑回视口边,展开时再让开。 */
  --hm-rail-inset: 0px;
  /* 概览浮层的定宽。必须显式给:卡里是 4 列 KPI 网格,
     宽度若交给内容撑,换一批数字就会整卡跳宽,拖动时的贴边吸附也失去参照。 */
  --hm-ck-w: 340px;
}

/* ------------------------- 右侧操作区:竖向页签 + 单面板 ------------------------- */

/* 右缘的竖向页签与它那块面板,2026-11-02 傍晚已整体撤除。
 *
 * 撤的理由:右缘只要还站着一列把手,地图上的所有浮层(工具条 / 图例 / 右下胶囊 /
 * 概览卡)都得按它往回收一截,而这截宽度换来的只是一个 340 宽的参数面板。
 * 参数现在住在概览浮层的第二页(见 .hm-ck__tab),右缘归零、地图满宽。
 *
 * 读这段历史时注意:`--hm-tab-w` 与 `--hm-rail-inset` 仍留在算式里(已置 0),
 * 地图浮层的 9 处避让公式都拿它们当加数,逐条改算式比置零更容易算错。
 */

/* 左侧通栏:黑点降噪的产出(清单)单独占一缘。
 *
 * 原先它挂在右栏底部,于是「二十几行清单」和「四根滑杆」抢同一列高度:
 * 想看排名得滚过长清单,想调强度得先滚回顶部,调完再滚下来核对 —— 
 * 一个本该 2 秒完成的循环要滚三次。拆成左产出 / 右旋钮后同屏互相看得见。
 *
 * 通栏(top/bottom 都钉住)而不是自适应高度:清单条数由「清单条数」滑杆决定,
 * 高度跟着内容长会让左缘边界不停跳动;固定成一条,滚动的责任交给列表本身。
 *
 * 上下都钉到视口边(吃满整屏高度):底部原先让开 150px 给密度图例,等于为了一个
 * 小卡片把清单截短一截。现在改成图例自己往右挪一列让位(见 .hm-body.is-dock-open
 * .hm-map__legend),清单才拿得到它该要的整屏。 */
.hm-dock {
  position: absolute;
  /* 顶边由 HotspotDock 实测维度条下沿后写进 --hm-dock-top。
     原来钉在 --hm-rail-gap(16px),和维度条同一条起跑线,清单拉开时标题行
     和「收起」按钮正好被筛选条骑住 —— 而那颗按钮是关掉清单的唯一出口。
     56px 是维度条收拢时的兜底值(16 起 + 32 高 + 8 间距)。 */
  top: var(--hm-dock-top, 56px);
  bottom: var(--hm-rail-gap);
  left: var(--hm-rail-gap);
  width: var(--hm-dock-w);
  z-index: var(--hm-z-dock);
  display: flex;
  flex-direction: column;
  min-height: 0;
  transform: translateX(calc(-100% - var(--hm-rail-gap) * 2));
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.15s ease;
}

.hm-dock.is-open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

/* 面板吃满整栏高度,内部再让 .hm-hot 自己滚(滚动样式见 .hm-panel--fluid) */
.hm-dock > .hm-panel--fluid {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

/*
 * 清单收起来之后贴在屏幕左缘的那条把手。
 *
 * 它只在「本该有清单、却被它那颗收起收了」的时候出现(见 OperationRail 的条件),
 * 平时不往屏上加一颗没用的东西。位置钉在竖向中间:清单通栏本来就吃满整屏,
 * 回来时从同一头滑出最合手,也不会和左下的密度图例抢地方。
 */
.hm-dock-handle {
  position: absolute;
  left: var(--hm-rail-gap);
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--hm-z-dock);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  font: inherit;
  font-size: 12px;
  color: var(--hm-text-2);
  background: var(--hm-glass-side);
  border: 1px solid var(--hm-glass-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-glass-shadow);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    transform 0.18s ease;
}

.hm-dock-handle:hover {
  color: var(--hm-primary);
  background: var(--hm-glass-side-strong);
  transform: translate(2px, -50%);
}

.hm-dock-handle:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 2px;
}

/* 尖角朝右:这一按是把清单从左边往屏内拉出来 */
.hm-dock-handle__chev {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

/* ------------------------------- 地图区 ------------------------------- */

.hm-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  border-radius: 0;
  background: var(--hm-surface);
  box-shadow: none;
}

.hm-map__canvas {
  width: 100%;
  height: 100%;
}

.hm-map__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 246, 249, 0.72);
  backdrop-filter: blur(2px);
  z-index: var(--hm-z-chrome);
}

/*
 * 密度图例的宽度是确定的:文案行有 max-width 180,加 12×2 内边距 + 1×2 边框 = 206px,
 * 不随文案长短晃 —— 下面所有让位阈值都按这个 206 算。
 */
.hm-map__legend {
  position: absolute;
  /* 常驻左缘;清单通栏拉开时往右挪一列,具体见下面 .hm-body.is-dock-open 的三段。
     这里一度反对往右躲:曾经挪 388px 结果在 884~1050px 压到右栏(实测重叠 172px),
     于是改成让清单自己缩短。现在清单要吃满整屏高度,躲的责任只能回到图例身上 ——
     那段让不开的区间靠「窄到塞不下就收起浮层」的老规矩兜住,同样是纯 CSS 判定。 */
  left: calc(var(--hm-rail-gap) + 2px);
  bottom: var(--hm-rail-gap);
  z-index: var(--hm-z-hud);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: var(--hm-glass-side);
  border: 1px solid var(--hm-glass-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-glass-shadow);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  /* 跟清单同速:清单已经到位、图例还在慢慢挪,看着散 */
  transition:
    left 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    bottom 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 标题行左右分栏:左边讲口径,右边那颗收整张图例。
   图例总宽仍按 206 那一套算(色阶 168 与说明 180 谁长听谁的),
   这一行最宽只到 180 出头,不会因为多了一颗按钮就把下面的让位阈值重核一遍。 */
.hm-map__legend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hm-map__legend-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-text-2);
  letter-spacing: 0.3px;
}

.hm-map__legend-bar {
  width: 168px;
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(
    90deg,
    #2b4ac7 0%,
    #18a8ff 20%,
    #00e0ce 38%,
    #7ade3c 52%,
    #ffce00 66%,
    #ff7600 80%,
    #ff2a2a 90%,
    #e2004a 100%
  );
}

.hm-map__legend-scale {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--hm-text-3);
  margin-top: -2px;
}

.hm-map__legend-hint {
  font-size: 10px;
  color: var(--hm-text-3);
  line-height: 1.5;
  max-width: 180px;
}

/*
 * 清单通栏拉开后,密度图例的三档让位。
 *
 * 挪去的落点是固定的一个值:16 + 372 + 16 = 404(清单右缘外一格里)。不做成
 * 「贴着清单右缘流式跟随」,因为那样图例会在拖动窗口的过程里一路横着追清单,
 * 而它需要的只是「别压在清单身上」,不是「跟着清单走」。
 * 图例恒定 206 宽 → 右缘落在 610,下面两条阈值都由这个 610 推出来。
 *
 * 每一段都同时写给整张图例和收成小牌的那一枚:它们是同一块东西的两种形态,
 * 只让位给展开态的话,收起之后小牌还压在清单底下 —— 而收起本来就是为了让开位置。
 */
@media (min-width: 1081px) {
  .hm-body.is-dock-open .hm-map__legend,
  .hm-body.is-dock-open .hm-map__legend-chip {
    left: calc(var(--hm-rail-gap) * 2 + var(--hm-dock-w));
  }
}

/* 833~1080:清单 372 拉开后,图例要站在清单右侧(404 起、宽 206),
 * 而右下那颗胶囊 nowrap 实测 299,两者在 vw ≲ 1060 时会叠在一起。
 * 2026-11-02 傍晚右缘页签撤掉后,这一段的宽度账少算了一截「右栏 444」,
 * 但结论没变:这么窄的时候「清单 + 图例 + 胶囊」三者放不下。
 *
 * 这一段收掉的是图例(口径说明,同样内容浮层里也有),
 * 而不是牺牲清单 —— 清单是降噪的产出,正被看的那一份。
 * 833 以下不用处理:清单本来就显示不出来(见文末 max-width:832 的退路)。 */
@media (min-width: 833px) and (max-width: 1080px) {
  .hm-body.is-dock-open .hm-map__legend,
  .hm-body.is-dock-open .hm-map__legend-chip {
    display: none;
  }
}

/* 1141~1380:右下那颗读数胶囊活着的区间(1140 以下它已经跟着清单收起)。它 nowrap、
 * 实测 299 宽,右缘让开右栏 444、左缘落在 vw − 743 —— 1360 以下会和挪过来的图例挤进
 * 同一行。上限抬到 1380 是给胶囊留一格余量:它会随命中数的位数变宽。
 * (标签改成书面说法后短了一两个字,实测宽度只会更小,所以这些阈值现在是偏保守的上限,
 *   不会突然出现「按阈值让开了、实际还压着」。)
 *
 * 这里是「抬一行」而不是「收起一个」:两个都只是浮层,谁也没有非占住底缘不可,
 * 分行就能都留着 —— 比让图例或读数凭空消失诚实。 */
@media (min-width: 1141px) and (max-width: 1380px) {
  .hm-body.is-dock-open .hm-map__legend,
  .hm-body.is-dock-open .hm-map__legend-chip {
    bottom: calc(var(--hm-rail-gap) + var(--hm-chip-h) + 8px);
  }
}

.hm-map__toolbar {
  position: absolute;
  right: calc(var(--hm-rail-gap) + var(--hm-tab-w) + var(--hm-rail-inset) + 10px);
  top: var(--hm-rail-gap);
  z-index: var(--hm-z-hud);
  /* 跟右栏同速:浮层慢半拍会在面板已经到位后还在往右滑,看着散 */
  transition: right 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.hm-map__stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--hm-glass-side);
  border: 1px solid var(--hm-glass-border);
  border-radius: 999px;
  box-shadow: var(--hm-glass-shadow);
  font-size: 11px;
  color: var(--hm-text-2);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  white-space: nowrap;
}

.hm-map__stat-chip b {
  color: var(--hm-text-1);
  font-variant-numeric: tabular-nums;
}

/*
 * 工具条收起后的两种残留态:平时是一枚数字钮,聚焦期间是一颗「退出聚焦」。
 *
 * 两者都沿用胶囊的玻璃质感,高度也压在同一档:`--hm-chip-h` 是按「6+6 内边距 + 1+1 边框
 * + 11px 文字」量出来的 30px,密度图例让位时读的就是它。收起态如果换一个高度,
 * 图例的抬升量要跟着重算,而我并不想为了「少显示两个数」去动那条避让公式。
 */
.hm-map__chip-mini {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  background: var(--hm-glass-side);
  border: 1px solid var(--hm-glass-border);
  border-radius: 999px;
  box-shadow: var(--hm-glass-shadow);
  font-size: 11px;
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  white-space: nowrap;
}

/*
 * 只剩一个数的那颗钮。
 *
 * 不写「命中」二字也不写「起」:收起的本意是让屏幕干净,留三个字等于没收起。
 * 数字本身就在原来的位置上,第二次打开时看到的是同一个数,位置即语义 ——
 * 会点它的人已经知道这是命中数(tooltip 里写着)。
 */
.hm-map__count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--hm-chip-h);
  min-width: 46px;
  padding: 0 11px;
  background: var(--hm-glass-side);
  border: 1px solid var(--hm-glass-border);
  border-radius: 999px;
  box-shadow: var(--hm-glass-shadow);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-text-1);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.hm-map__count-pill:hover {
  color: var(--hm-primary);
  border-color: var(--hm-primary);
}

.hm-map__count-pill:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 3px;
}

/*
 * 工具条里可点的两块读数(命中 / 点位)。
 *
 * 做成按钮但长得和原来的纯文字一模一样:不加内衬、不改字号,字间距靠和胶囊同样的 8px 间隙,
 * 所以工具条的实测宽度没有变化(design.css 上面写着的让位阈值 760 / 1140 不必重核)。
 * 可点暗示与风险概览的读数块同一套做法:hover 时数字下一条虚线、字色转主题色。
 */
.hm-map__stat-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  white-space: nowrap;
  cursor: pointer;
}

.hm-map__stat-link:hover:not(:disabled) {
  color: var(--hm-primary);
}

.hm-map__stat-link:hover:not(:disabled) b {
  color: var(--hm-primary);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hm-map__stat-link:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 0 处的点位没有格子可列,按钮留着但收掉手的形状:读数本身还是要看得见 */
.hm-map__stat-link:disabled {
  cursor: default;
  color: var(--hm-text-3);
}

.hm-map__stat-link:disabled b {
  color: var(--hm-text-3);
}

/*
 * 聚焦期间工具条那一截:来源 + 退出。
 *
 * 来源那一串(例如「高频街道 · 榜单前 6 条街道」)比原来的三个读数长,而整句都该看得见,
 * 所以给它一个上限宽度并截断 —— 完整一句在悬停里,退出这一动作留在屏上直接点得到。
 * 上限按「整颗胶囊不比原来那颗宽」来定:design.css 里那几段让位阈值(760 / 974 / 1140 / 1380)
 * 都是照工具条实测 277px 算的,聚焦这一截要是更宽,那些阈值就得全部重核一遍。
 */
.hm-map__focus-label {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--hm-text-1);
}

/* 退出按钮与那两块可点读数同一套长相:不加内衬、不改字号,只在 hover 时给虚线下划线 */
.hm-map__focus-exit {
  padding: 0;
  font: inherit;
  color: var(--hm-primary);
  background: none;
  border: 0;
  white-space: nowrap;
  cursor: pointer;
}

.hm-map__focus-exit:hover {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hm-map__focus-exit:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 右下角热力权重胶囊:默认让开右侧操作栏,右栏收起时贴回视口边 */
.hm-map__foot {
  position: absolute;
  right: calc(var(--hm-rail-gap) + var(--hm-tab-w) + var(--hm-rail-inset) + 10px);
  bottom: var(--hm-rail-gap);
  z-index: var(--hm-z-hud);
  /* 跟右栏同速:浮层慢半拍会在面板已经到位后还在往右滑,看着散 */
  transition: right 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 两栏都拉开时,中间只剩一条缝,浮层更没地方站。
 *
 * 左清单 372 + 右面板连把手 444 = 832,视口要再宽出「胶囊 299 + 留白 8 + 图例
 * 那一侧的呼吸位」才容得下浮层,算下来是 ~1140px。窄于此的话,工具条会从右栏
 * 左边一路伸进清单底下(实测 900px 下 toolbar 左缘 182、清单右缘 388,被 z-index
 * 更高的清单压掉一半),读不清也点不到。
 *
 * 清单只在「黑点降噪」开着时出现,此时让清单说话:收起地图浮层不丢功能
 * (同一组读数在浮层里也有一份)。
 * 图例在这个区间另有安排:它要往右挪一列才躲得开吃满整屏的清单,见上面
 * .hm-body.is-dock-open 那三段。 */
@media (max-width: 1140px) {
  .hm-body.is-dock-open .hm-map__toolbar,
  .hm-body.is-dock-open .hm-map__foot {
    display: none;
  }
}

/* 左侧通栏的退路:清单宽 372,窄于 ~832px 时它和「看得见的地图」只能二选一,
 * 保住地图,清单收起(降噪开关和参数都在浮层里,收起不丢功能)。
 * 图例不用跟着动:清单没了它就没有要躲的东西,退回常驻左缘即可
 * (上面那三段 .hm-body.is-dock-open 规则都带 min-width:833,正是为了这条线)。 */
@media (max-width: 832px) {
  .hm-dock {
    display: none;
  }
}

.hm-map__stat-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hm-accent-cyan);
}

/* ------------------------------- 桶弹窗 ------------------------------- */

/* 这张卡是「点出来的读数」,随点随开,必须压在所有常驻浮层之上 ——
 * 它不在上面那套阶梯里,40 是故意留在表外的值:阶梯描述的是常驻层的秩序,
 * 而它是用户刚刚点名要看的东西,任何常驻层都该给它让路。 */
.hm-bucket-card {
  position: absolute;
  z-index: 40;
  width: 328px;
  background: var(--hm-glass-side);
  border: 1px solid var(--hm-glass-border);
  border-radius: var(--hm-radius-lg);
  box-shadow: var(--hm-glass-shadow);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  overflow: hidden;
  animation: hm-pop 0.16s ease-out;
}

@keyframes hm-pop {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hm-bucket-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(48, 58, 124, 0.94) 0%, rgba(70, 83, 162, 0.88) 100%);
  border-bottom: 1px solid var(--hm-glass-border);
  color: #fff;
}

/* 头部数字加一层极淡投影:半透明玻璃底下,白字在亮色热力/浅色底图上更稳 */
.hm-bucket-card__count {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  /* 头部数字加一层极淡投影:半透明玻璃底下,白字在亮色热力/浅色底图上更稳 */
  text-shadow: 0 1px 2px rgba(16, 24, 40, 0.4);
}

.hm-bucket-card__count span {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

.hm-bucket-card__body {
  padding: 10px 12px;
  max-height: 268px;
  overflow-y: auto;
}

.hm-bucket-card__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--hm-divider);
}

.hm-bucket-card__row:last-child {
  border-bottom: none;
}

.hm-bucket-card__row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hm-bucket-card__case {
  font-size: 11px;
  color: var(--hm-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.1px;
}

.hm-bucket-card__time {
  font-size: 10px;
  color: var(--hm-text-3);
  white-space: nowrap;
}

.hm-bucket-card__addr {
  font-size: 11px;
  color: var(--hm-text-2);
  line-height: 1.5;
}

.hm-bucket-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid var(--hm-glass-border);
  background: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  color: var(--hm-text-3);
}

/* ------------------------------- 迷你图 ------------------------------- */

.hm-mini {
  width: 100%;
  display: block;
}

.hm-hist {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 62px;
}

.hm-hist__col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  height: 100%;
  cursor: default;
}

.hm-hist__bar {
  width: 100%;
  min-height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--hm-primary-soft);
  transition: background 0.15s ease;
}

.hm-hist__col:hover .hm-hist__bar {
  background: var(--hm-primary);
}

.hm-hist__col.is-peak .hm-hist__bar {
  background: linear-gradient(180deg, var(--hm-accent-cyan) 0%, var(--hm-primary) 100%);
}

.hm-hist__label {
  font-size: 9px;
  color: var(--hm-text-3);
  transform: scale(0.92);
  white-space: nowrap;
}

/*
 * 24 小时柱:柱子 hover 变实色这件事本来就有,这一层只补「它是入口」——
 * 指针、整列宽的极浅底衬(说明点的是这个小时段的全部,不是柱顶那一截),
 * 以及底部刻度跟着一起提色。padding 归零是必须的:button 的默认内边距会把 24 等分挤歪。
 */
.hm-hist__col--link {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 3px 3px 0 0;
}

.hm-hist__col--link:hover {
  background: var(--hm-primary-wash);
}

.hm-hist__col--link:hover .hm-hist__label {
  color: var(--hm-primary);
}

.hm-hist__col--link:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 1px;
}

/* ------------------------------- 加载态 ------------------------------- */

.hm-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--hm-text-2);
  font-size: 13px;
}

.hm-loading__ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--hm-primary-wash-strong);
  border-top-color: var(--hm-primary);
  animation: hm-spin 0.8s linear infinite;
}

@keyframes hm-spin {
  to {
    transform: rotate(360deg);
  }
}

.hm-progress {
  width: 220px;
  height: 4px;
  border-radius: 2px;
  background: var(--hm-divider);
  overflow: hidden;
}

.hm-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--hm-primary) 0%, var(--hm-accent-cyan) 100%);
  transition: width 0.2s ease;
}

/* ------------------------------- 引导卡 ------------------------------- */

.hm-guide {
  max-width: 560px;
  padding: 22px 24px;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-lg);
  box-shadow: var(--hm-shadow-pop);
}

.hm-guide__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hm-text-1);
  margin-bottom: 10px;
}

.hm-guide__badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: var(--hm-primary-wash);
  color: var(--hm-primary);
}

.hm-guide__text {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--hm-text-2);
}

.hm-guide__hint {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--hm-radius);
  background: var(--hm-primary-wash);
  border-left: 3px solid var(--hm-primary);
  font-size: 12px;
  line-height: 1.7;
  color: var(--hm-text-2);
}

.hm-guide__code {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--hm-radius);
  background: var(--hm-primary-deep);
  color: #cdd6f5;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 11.5px;
  line-height: 1.75;
  white-space: pre;
  overflow-x: auto;
}

/* 空态引导弹窗正文(MapStage › EmptyImportModal) */
.hm-empty-modal p {
  margin: 0 0 12px;
  line-height: 1.75;
  font-size: 13px;
  color: var(--hm-text-2);
}
.hm-empty-modal p:last-child {
  margin-bottom: 0;
}
.hm-empty-modal code {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--hm-primary-deep);
  color: #cdd6f5;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 12px;
}

/* ------------------------------- 其它 ------------------------------- */

.hm-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
  border-bottom: 1px dashed var(--hm-divider);
}

.hm-kv:last-child {
  border-bottom: none;
}

.hm-kv__k {
  color: var(--hm-text-3);
}

.hm-kv__v {
  color: var(--hm-text-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hm-dict-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: var(--hm-primary-wash);
  color: var(--hm-primary);
  border: 1px solid transparent;
}

.hm-perf {
  font-variant-numeric: tabular-nums;
}

/* ------------------------------- 明细抽屉(毛玻璃) ------------------------------- */
/*
 * 抽屉是 antd 组件,样式靠运行时注入,这里用 rootClassName 作用域覆盖,
 * 让内容区 / 头部 / 表格都透出被模糊的地图底色,与左右操作栏、桶卡保持同一套玻璃语言。
 * 内容底不透明度取 0.74(比侧栏略高),保证密集表格仍清晰可读。
 */
.hm-drawer-glass .ant-drawer-section,
.hm-drawer-glass .ant-drawer-content {
  background: var(--hm-glass-drawer) !important;
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  box-shadow: var(--hm-glass-shadow);
}

.hm-drawer-glass .ant-drawer-header {
  background: var(--hm-glass-side-strong) !important;
  border-bottom: 1px solid var(--hm-glass-border) !important;
}

/*
 * 抽屉宽度现在跟着视口变(见 src/layout/drawerWidth.ts),窄到 392 时标题那句
 * 「反复出险位置 · 宝安区 西乡街道 …」必然放不下。没有下面这几行会发生的是:
 * antd 把标题那格按内容撑开,右侧那颗「在地图上看这一项」被挤到换行或压扁,
 * 而标题自己一个字都没截 —— 整张抽屉的头部看起来像坏了。
 * 规矩是「标题可截、按钮不许被挤」:标题吃剩下的宽度,按钮固定占自己的位置。
 */
.hm-drawer-glass .ant-drawer-header {
  align-items: flex-start;
  gap: 8px;
}

.hm-drawer-glass .ant-drawer-header-title,
.hm-drawer-glass .ant-drawer-header-title .ant-drawer-title {
  min-width: 0;
}

.hm-drawer-glass .ant-drawer-extra {
  flex: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* 主标题 + 副标题上下叠(组件见 @hm/ui 的 DrawerTitle)。字号比原来小一档:
   14px 的主标题在 392 宽的头部里一行放不下七八个字,而副标题本来就只是注脚。 */
.hm-drawer-title {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  font-size: 13px;
}

.hm-drawer-title__main,
.hm-drawer-title__note {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-drawer-title__note {
  font-size: 11px;
  font-weight: 400;
  color: var(--hm-text-3);
}

.hm-drawer-glass .ant-drawer-header-title .ant-drawer-title {
  color: var(--hm-text-1) !important;
  font-weight: 600;
}

.hm-drawer-glass .ant-drawer-body {
  background: transparent !important;
}

/*
 * 抽屉层横向滚动条:这是「鼠标移到右侧抽屉、整页冒出横向+纵向滚动条」的根因。
 *
 * antd v6 的抽屉内容容器 .ant-drawer-section(以及 .ant-drawer-body)默认都是
 * overflow:auto,而抽屉是 position:fixed 挂在 body、贴着屏幕右缘,它的滚动条看着就像
 * 页面在滚;覆盖式滚动条又只在 hover 时才显形,所以「一放鼠标就出现」。
 * 列宽已全部给定值(见 CaseListDrawer 的 caseColumns,含出险地点按抽屉宽算出),
 * 表格总宽刚好等于正文宽,本不该横滚;这里再把横向显式关死,作为兜底,
 * 纵向仍交给 body 单独滚(长表格唯一滚动区,表头 sticky)。
 * section 这一层原本也是 auto,会和 body 套出双层滚动条,横向一并收掉。 */
.hm-drawer-glass .ant-drawer-section {
  overflow-x: hidden;
}
.hm-drawer-glass .ant-drawer-body {
  overflow-x: hidden;
}

/*
 * 这里原本有一条 `.hm-drawer-glass .ant-drawer-mask`:深色半透 + blur(2px)。
 * 四张抽屉现在都传 `mask={false}`(antd 根本不再渲染那个节点,见「抽屉一律不带遮罩」那条规矩:
 * 压着地图的半透明层会让人以为地图打不开),规则于是成了死代码。
 * 留着它不只是占几行:以后谁想给某张抽屉重新加遮罩,会连带继承一份「每帧重新模糊整屏」的开销 ——
 * 抽屉身后同样是那块全屏 WebGL 地图,而拖动卡顿里最大的一笔单项开销就是 backdrop-filter。
 * 真要加遮罩,先按 `hm-map-busy` 那套在手势期把它降下来。
 */

/* 表格整体透明化,行悬浮用品牌色淡染,避免实心白块破坏玻璃质感 */
.hm-drawer-glass .ant-table,
.hm-drawer-glass .ant-table-container,
.hm-drawer-glass .ant-table-content,
.hm-drawer-glass .ant-table-wrapper,
.hm-drawer-glass .ant-table-thead > tr > th,
.hm-drawer-glass .ant-table-tbody > tr > td {
  background: transparent !important;
}

.hm-drawer-glass .ant-table-thead > tr > th {
  color: var(--hm-text-2) !important;
  border-bottom: 1px solid var(--hm-glass-border) !important;
}

/* 表头钉住:抽屉 body 是唯一的滚动区(表格不再设 scroll.y),所以表头得自己 sticky,
 * 否则往下滚几行就认不出哪列是案件号了。
 * 底衬必须补回强玻璃并重新模糊 —— 上面那条规则把 th 设成了 transparent,
 * 静态时无所谓,一旦 sticky 就有行从表头底下穿过,透明表头等于让两层文字叠在一起。 */
.hm-drawer-glass .ant-table-thead > tr > th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--hm-glass-side-strong) !important;
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
}

.hm-drawer-glass .ant-table-tbody > tr > td {
  color: var(--hm-text-1);
  border-bottom: 1px solid var(--hm-divider) !important;
}

/*
 * 单元格横向留白收到 6px(antd 默认 8,一页六列就是 96px)。
 * 抽屉最窄那一档正文只有 360px 可用,这 96 相当于整整一列 —— 与其让地址列被挤到
 * 只剩省略号,不如把留白收紧:数字与短中文在 6px 下照样不粘字。
 */
.hm-drawer-glass .ant-table-thead > tr > th,
.hm-drawer-glass .ant-table-tbody > tr > td {
  padding-inline: 6px;
}

/*
 * 地址 + 案件号两行一格(案件清单与明细抽屉共用这一种长相)。
 *
 * 案件号是 15~24 位纯数字(见 scripts/preprocess.mjs 的校验),单占一列要 168px 才不断行,
 * 比地址那一列还宽 —— 而它恰恰是信息量最低的一列(人看的是地点,念的是案件号)。
 * 换行压在地址下面、字号降一档、颜色走 text-3,两行就够;地址那一行仍然整行可读,
 * 完整地址在悬浮说明里。窄抽屉因此能同时保住「读得出地点」和「抄得走案件号」。
 */
.hm-case-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.hm-case-cell__addr {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--hm-text-1);
}

.hm-case-cell__no {
  color: var(--hm-text-3);
  font-size: 11px;
  line-height: 1.35;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

/* 行展开后的「车辆维度卡」:把 11 个车辆字段从主表搬到这里,用卡片 + 网格呈现,
   避免主表被 11 列撑爆横向滚动条。浅底浮起、细描边,与抽屉的淡玻璃体系同调。 */
.hm-vdetail {
  margin: 8px 4px 10px;
  padding: 12px 14px 14px;
  background: var(--hm-surface-sunken);
  border: 1px solid var(--hm-divider);
  border-radius: var(--hm-radius-lg);
}

.hm-vdetail__head {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--hm-text-2);
  margin-bottom: 10px;
}

.hm-vdetail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px 18px;
}

.hm-vdetail__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hm-vdetail__k {
  font-size: 11px;
  color: var(--hm-text-3);
  letter-spacing: 0.01em;
}

.hm-vdetail__v {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-text-1);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 淡玻璃斑马纹:偶数行叠一层更亮的半透明白,在透明表格上勾出节奏又不破坏质感 */
.hm-drawer-glass .ant-table-tbody > tr:nth-child(even) > td {
  background: rgba(255, 255, 255, 0.42) !important;
}

.hm-drawer-glass .ant-table-tbody > tr.ant-table-row:hover > td,
.hm-drawer-glass .ant-table-tbody > tr > td.ant-table-cell-row-hover {
  background: rgba(70, 83, 162, 0.14) !important;
}

.hm-drawer-glass .ant-table-placeholder .ant-table-cell {
  background: transparent !important;
}

/* ------------------------------- 时间分布抽屉 ------------------------------- */
/*
 * 「查看全部 · 时间分布」:一次一种切法(按天 / 按星期 / 按小时)× 一种读法
 * (柱状图 / 折线图 / 清单)。抽屉 body 仍然是唯一的竖向滚动区(这里不设任何
 * max-height + overflow-y),只有图横向超宽时它自己横向滚 —— 横向和竖向各一条,
 * 不会套出双层滚动。
 */

/* 两组切换:左边换切法、右边换读法,中间拉开、各自贴左右缘,一眼能看出是两件事。
   底衬沿用清单筛钮那张浅卡片,同一种「压在说明和图之间的附加层」 */
.hm-time-ctl {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 12px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--hm-glass-border);
  border-radius: var(--hm-radius);
}

.hm-time-ctl__cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hm-time-ctl__cell--right {
  align-items: flex-end;
}

.hm-time-ctl__label {
  font-size: 11px;
  color: var(--hm-text-3);
}

/* 口径行:说清分母、比的是谁、怎么读,避免「按天的柱子比按小时的高」被读成重要性 */
.hm-time-foot {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--hm-text-3);
}

/*
 * 图本体(柱状 / 折线共用一张 SVG)。
 *
 * 颜色只分四层:数据(品牌靛)、参照(浅靛虚线 = 平均)、峰值(金色,只用在这一处)、
 * 悬停(整列一层 wash)。没有第二套色阶,长短与高低是这两张图真正的读数手段。
 */
.hm-tc {
  margin-top: 2px;
}

/*
 * 读数行:鼠标停在哪一档,那一档的数字就写在这里,而不是每根柱子上贴一个 ——
 * 一百八十天贴一百八十个数,谁也读不了。min-height 撑住空档,
 * 免得「有悬停 / 没悬停」之间把下面的图上下推。
 */
.hm-tc__readout {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  min-height: 22px;
  margin-bottom: 6px;
  font-size: 11.5px;
  color: var(--hm-text-2);
  font-variant-numeric: tabular-nums;
}

.hm-tc__readout-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-tc__readout-value {
  font-size: 14px;
  color: var(--hm-primary);
}

.hm-tc__readout-bit {
  color: var(--hm-text-3);
}

/* 「点一下看这一档的案件清单」只在悬停时出现:平时它是重复说明,悬停时它正好接住下一句想问的话 */
.hm-tc__readout-cta {
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-primary);
}

.hm-tc__readout-idle {
  color: var(--hm-text-3);
}

/* 档数多、图比窗口宽时才有这句:让人知道右边还有内容,而不是图到此为止 */
.hm-tc__scroll-hint {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--hm-text-3);
}

.hm-tc__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
}

.hm-tc__svg {
  display: block;
}

/* 悬停那一档的整列底衬:读数行说的是哪一列,不用眼睛在上下两处之间来回确认 */
.hm-tc__band {
  fill: var(--hm-primary-wash);
}

.hm-tc__axis {
  stroke: var(--hm-primary-wash-strong);
  stroke-width: 1;
}

.hm-tc__bar {
  fill: var(--hm-primary);
}

/* 0 起也留一截极淡的桩:那是「这一段确实没有案件」这个事实,
   什么都不画就成了「图坏了 / 数据缺了」,也数不出总档数 */
.hm-tc__bar--empty {
  fill: var(--hm-primary-wash-strong);
}

.hm-tc__peak {
  fill: var(--hm-accent-gold-deep);
}

.hm-tc__line {
  fill: none;
  stroke: var(--hm-primary);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.hm-tc__area {
  fill: var(--hm-primary);
  opacity: 0.08;
}

.hm-tc__dot {
  fill: var(--hm-surface);
  stroke: var(--hm-primary);
  stroke-width: 1.4;
}

.hm-tc__dot--peak {
  fill: var(--hm-accent-gold-deep);
  stroke: var(--hm-accent-gold-deep);
}

.hm-tc__dot--hover {
  fill: var(--hm-primary);
  stroke: var(--hm-surface);
  stroke-width: 1.6;
}

/* 参照平均的虚线:不是坐标刻度,是「比平时多还是少」这个判断的落点 */
.hm-tc__mean {
  stroke: var(--hm-primary-soft);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.hm-tc__mean-label,
.hm-tc__tick {
  font-size: 10px;
  fill: var(--hm-text-3);
}

/* 命中区摊在最后:一整列从上到下都好点,不必瞄准柱子那一截。
   fill 用 transparent 而不是 none —— none 的话鼠标穿过去,点在两柱之间 */
.hm-tc__hit {
  fill: transparent;
}

.hm-tc__hit--link {
  cursor: pointer;
}

.hm-tc__hit:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: -2px;
}

/* 抽屉里的 antd 表格(榜单、点位清单、时间分布的清单形态)整行可点:只补指针,
   底色沿用 antd 自己的行 hover —— 换成本项目的 wash 会和表头、斑马纹变成两套灰 */
.hm-row--link {
  cursor: pointer;
}

/* ------------------------------- 清单抽屉 ------------------------------- */

/*
 * 案件清单顶部的筛钮区(行政区 / 街道 / 报案时间 / 关键词)。
 *
 * 它是「在清单内再筛一次」,不是右侧筛选的复刻,所以长相要能一眼看出是一层附加的东西:
 * 一张浅底卡片压在说明下面、表格上面,比右侧 Field 更紧(11px 标签、小一号控件)。
 * 区与街道各占半宽成一对,时间和关键词各自通栏 —— 前者要放多选框,后者要放整条日期区间。
 */
.hm-roster-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  margin-bottom: 12px;
  padding: 10px 12px 8px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--hm-glass-border);
  border-radius: var(--hm-radius);
}

.hm-roster-bar__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hm-roster-bar__cell--wide {
  grid-column: 1 / -1;
}

.hm-roster-bar__label {
  font-size: 11px;
  color: var(--hm-text-3);
}

/* 时间档与日期区间是同一件事的两种粒度,横着排、放不下就换行,别挤成半截控件 */
.hm-roster-bar__time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/*
 * 卡片底部那行「右侧筛选:…」是口径回执:让人看清这份清单是从哪个窗口切出来的,
 * 右边那颗「清空附加筛选」只作用于本卡片。它和上面的控件隔一条虚线,
 * 表示它是说明 + 出口,不是第五个筛钮。
 */
.hm-roster-bar__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
  padding-top: 7px;
  border-top: 1px dashed var(--hm-divider);
  font-size: 11px;
  color: var(--hm-text-3);
}

/* 表格下面那行:清单只读的承诺 + 时间跨度 + 取数耗时,字号与灰度和口径回执同一档 */
.hm-roster-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--hm-divider);
  font-size: 11px;
  color: var(--hm-text-3);
}

/*
 * 行末的「在地图上定位这一处」标记。
 *
 * 它点在整行(点开案件明细)之外,所以得有自己的可点样子:默认走 text-3 的灰,
 * 悬停才变主题色 —— 一列全亮会把视线从「地点」拽到「按钮」上。
 * 反色只在按下时给一下,用来确认「点中了这一行」。
 */
.hm-locate {
  color: var(--hm-text-3) !important;
  transition: color 0.14s ease;
}

.hm-locate:hover {
  color: var(--hm-primary) !important;
}

.hm-locate:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 1px;
}

/* ------------------------------- 黑点降噪 ------------------------------- */

/* 面板里的说明性文字。统一走 text-3 + 12px,避免每个面板自己定一套灰度 */
.hm-hint {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--hm-text-3);
}

.hm-hint--note {
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--hm-primary-wash);
  color: var(--hm-text-2);
}

/* 高级参数:标签定宽 + 滑杆占余量,四行下来必须严格对齐才不像临时堆的 */
.hm-adv {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hm-adv__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--hm-text-3);
}

.hm-adv__row > span {
  flex: 0 0 56px;
}

.hm-adv__row .ant-slider {
  flex: 1 1 auto;
  margin: 6px 4px 2px;
}

/* 分析结论条:滤掉了多少、留下多少,是这一功能唯一的「效果证明」,所以做成一行紧凑读数 */
.hm-analysis-sum {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 9px;
  background: var(--hm-primary-wash);
  font-size: 11.5px;
  color: var(--hm-text-2);
}

.hm-analysis-sum b {
  color: var(--hm-primary-deep);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hm-analysis-sum__ratio {
  font-style: normal;
  color: var(--hm-text-3);
}

.hm-analysis-sum__ms {
  margin-left: auto;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

/* --------------------------- 降噪算法说明 ---------------------------
   折叠在降噪面板里的一段说明。刻意不做成 Drawer/Modal:这段内容的用处是
   「看图时顺手核对口径」,弹层会打断读图,而常驻又挤掉滑杆的空间。

   展开后不自己套滚动容器 —— 面板 body 已经可滚,嵌套滚动在这个宽度里
   只会让人找不到该滚哪一层。 */
.hm-algo {
  margin: 2px 0 12px;
  border: 1px solid var(--hm-divider);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.hm-algo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  text-align: left;
  color: var(--hm-text-2);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition:
    color 0.15s,
    background 0.15s;
}

.hm-algo__head:hover {
  color: var(--hm-primary);
  background: var(--hm-primary-wash);
}

.hm-algo__chev {
  flex: 0 0 auto;
  font-size: 10px;
  color: var(--hm-text-3);
  transition: transform 0.22s ease;
}

.hm-algo.is-open .hm-algo__chev {
  transform: rotate(180deg);
}

.hm-algo__body {
  padding: 2px 10px 11px;
}

/* 一句话结论放在三段细节之前:多数人只要读到这一行就够了,
   剩下的分支是给「数字为什么和颜色对不上」这类追问准备的。 */
.hm-algo__tldr {
  margin: 2px 0 10px;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--hm-primary-wash);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--hm-text-1);
}

.hm-algo__sec + .hm-algo__sec {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed var(--hm-divider);
}

.hm-algo__sec-title {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--hm-primary-deep);
}

.hm-algo__steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: hm-algo-step;
  font-size: 11.5px;
  line-height: 1.68;
  color: var(--hm-text-2);
}

.hm-algo__steps > li {
  position: relative;
  padding-left: 19px;
}

.hm-algo__steps > li::before {
  counter-increment: hm-algo-step;
  content: counter(hm-algo-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--hm-primary-wash-strong);
  color: var(--hm-primary-deep);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}

/* 「容易误读」那节没有先后顺序,编号反而是误导,换成警示点 */
.hm-algo__steps--plain > li::before {
  content: '';
  top: 8px;
  left: 4px;
  width: 6px;
  height: 6px;
  background: var(--hm-warn);
}

.hm-algo__steps b,
.hm-algo__marks b {
  color: var(--hm-primary-deep);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hm-algo__marks {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}

.hm-algo__marks > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.hm-algo__marks dt {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--hm-primary-deep);
}

.hm-algo__marks dd {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.68;
  color: var(--hm-text-2);
}

/* ------------------------------- 黑点清单 ------------------------------- */

.hm-hot__meta {
  font-size: 11px;
  color: var(--hm-text-3);
}

.hm-hot__sort {
  padding: 8px 14px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--hm-text-3);
  border-bottom: 1px dashed var(--hm-divider);
}

.hm-hot__loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 14px;
  font-size: 12px;
  color: var(--hm-text-3);
}

.hm-hot {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 整行是个 button:键盘可达、焦点环自然出现,比给 div 挂 onClick 正确 */
.hm-hot__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  font: inherit;
  text-align: left;
  color: inherit;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hm-divider);
  cursor: pointer;
  transition: background 0.16s ease;
}

.hm-hot__row:hover {
  background: var(--hm-primary-wash);
}

.hm-hot__row.is-active {
  background: var(--hm-primary-wash-strong);
  box-shadow: inset 2px 0 0 var(--hm-primary);
}

.hm-hot__rank {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 0 5px;
  border-radius: 7px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hm-hot__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hm-hot__place {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-hot__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 11.5px;
  color: var(--hm-text-2);
}

.hm-hot__line b {
  font-size: 13px;
  color: var(--hm-primary-deep);
  font-variant-numeric: tabular-nums;
}

.hm-hot__line em {
  font-style: normal;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-hot__line--sub {
  font-size: 11px;
}

.hm-hot__spark {
  display: block;
  margin-top: 2px;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

/*
 * 清单行里的关键数字高亮。
 *
 * 一行念了七八个读数,全用同一号灰字,要看的那个数得跟着一串说法里逐个找。这里分两级拎出来:
 * 1) 每个读数后面那个数(<i>)从标签词里分离:正文色、半粗,前后的说法和单位仍是浅灰小字。
 * 2) 当前「排序依据」真正用来排名的那一列(.is-key)再上主色、加重,
 *    高亮指的数和清单顶部那句排名说明念的是同一个 —— 换档位,高亮跟着换,名次就有看得见的依据。
 * 曾经在这里给「偏离幅度」那一列单独配过一套中性灰,现在分数已按要求撤下,
 * 排名依据也跟着删掉那一档,界面上不再出现没有对应读数的排序。
 * 红橙蓝仍然只属于左侧的名次徽标和趋势线;这里只用主色,避免造出第二套排名。
 */
.hm-hot__line em i {
  font-style: normal;
  color: var(--hm-text-1);
  font-weight: 600;
}

.hm-hot__line em.is-key,
.hm-hot__line em.is-key i {
  color: var(--hm-primary-deep);
}

.hm-hot__line em.is-key i {
  font-weight: 700;
}

.hm-hot__line b.is-key {
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
 * 三域分层(B):L1 右栏常驻读数 · L2 地图上的维度导航 · L3 70% 深潜抽屉
 *
 * 这套样式的唯一目的是给「参数很多」分域,而不是给每一个参数发一张卡:
 *   - L2(.hm-nav)是浮在地图上的一横条,十一个车辆维在屏上永远只占一横条;
 *   - 24 小时那条(.hm-ribbon)搬到底缘通栏,因为它是横向数据,且点它变的是地图;
 *   - L3(.hm-deep*)才允许密集,用多列网格铺,默认关。
 * 三条都服务于同一条硬规矩:地图是主体,其余都是浮在它上面的、能让位的。
 * ========================================================================== */

/* ---------- L2 维度导航:地图左上缘的一横条 ---------- */
.hm-nav {
  position: absolute;
  left: var(--hm-rail-gap);
  /* 顶栏在地图之外(flex 布局的另一行),所以这里从地图自己的上缘起算 */
  top: var(--hm-rail-gap);
  z-index: var(--hm-z-panel);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  max-width: calc(100% - var(--hm-rail-inset) - var(--hm-tab-w) - 220px);
}

.hm-nav__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.hm-nav__chip {
  border: 1px solid var(--hm-glass-border);
  background: var(--hm-glass-side);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  box-shadow: var(--hm-glass-shadow);
  color: var(--hm-text-2);
  font-size: 12px;
  line-height: 1;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.hm-nav__chip:hover {
  background: var(--hm-glass-side-strong);
  color: var(--hm-text-1);
}

/* 选中的那一维:主色实底。同屏十一颗里只能有一颗是这个样子,所以它是位置信号不是强调 */
.hm-nav__chip.is-on {
  background: var(--hm-primary);
  border-color: var(--hm-primary);
  color: #fff;
}

/* 已生效的筛选:留一圈主色描边,说明「地图现在被这一维切过」 */
.hm-nav__chip.is-filtered {
  border-color: var(--hm-primary);
  color: var(--hm-primary-deep);
}

.hm-nav__chip--more {
  color: var(--hm-text-3);
}

.hm-nav__sep {
  width: 1px;
  height: 18px;
  background: var(--hm-glass-border);
  margin: 0 2px;
}

.hm-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  margin-left: 5px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--hm-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hm-nav__clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--hm-error-soft, #f3c2c4);
  background: var(--hm-surface);
  color: var(--hm-error, #d4380d);
  font-size: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  margin-left: 4px;
  transition: background 0.16s ease;
}
.hm-nav__clear:hover {
  background: rgba(229, 72, 77, 0.08);
}
.hm-nav__clear-x {
  font-size: 10px;
}

/* 选中维度的各档位面板:浮出来而不是常驻,是这一条能保持「一横条」的原因 */
.hm-nav__panel {
  padding: 9px 11px;
  background: var(--hm-glass-side-strong);
  border: 1px solid var(--hm-glass-border);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-glass-shadow);
  max-width: 540px;
}

.hm-nav__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hm-nav__panel-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-text-1);
}
.hm-nav__panel-sub {
  font-size: 11px;
  color: var(--hm-text-3);
}
.hm-nav__panel-clear {
  margin-left: auto;
  border: none;
  background: transparent;
  color: var(--hm-text-3);
  font-size: 11.5px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
}
.hm-nav__panel-clear:hover {
  background: var(--hm-primary-wash);
  color: var(--hm-primary-deep);
}

.hm-nav__values {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hm-nav__val {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border: 1px solid transparent;
  background: var(--hm-surface);
  color: var(--hm-text-1);
  font-size: 12px;
  padding: 7px 11px;
  min-height: 34px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.hm-nav__val:hover {
  border-color: var(--hm-primary-soft);
}
.hm-nav__val.is-on {
  background: var(--hm-primary);
  color: #fff;
  border-color: var(--hm-primary);
}
.hm-nav__val-name {
  font-weight: 500;
}
.hm-nav__val-n {
  font-size: 11px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}
.hm-nav__val.is-on .hm-nav__val-n {
  color: rgba(255, 255, 255, 0.8);
}
.hm-nav__val--blank {
  cursor: default;
  color: var(--hm-text-3);
  background: var(--hm-surface-sunken);
}

/* ---------- 24 小时时间轴:底缘通栏 ---------- */
.hm-ribbon {
  position: absolute;
  /* 让开左下角那张密度图例(宽 206 + 缘距),否则两者叠在屏幕左下互相压字 */
  left: 230px;
  right: calc(var(--hm-rail-inset) + var(--hm-tab-w) + 16px);
  bottom: 12px;
  z-index: var(--hm-z-panel);
  padding: 8px 12px 6px;
  background: var(--hm-glass-side);
  border: 1px solid var(--hm-glass-border);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  box-shadow: var(--hm-glass-shadow);
  border-radius: var(--hm-radius);
  transition: right 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 内联变体:深潜时间页签里用它代替常驻底缘。取消绝对定位、占满抽屉正文宽,
   于是 24 小时形态随深潜抽屉一起出现,而不再永久压住地图底缘。 */
.hm-ribbon--inline {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  margin: 0 0 14px;
}

.hm-ribbon__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 5px;
  line-height: 1;
}

.hm-ribbon__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-ribbon__note {
  font-size: 11px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-ribbon__track {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: end;
  gap: 3px;
  height: 42px;
}

.hm-ribbon__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hm-ribbon__bar {
  display: block;
  width: 100%;
  /* 高度由 JS 按起数写死在行内:这条轴读的就是长短,交给 CSS 反而要再传一次数 */
  height: calc(max(var(--u) * 34px, 2px));
  border-radius: 3px 3px 0 0;
  opacity: 0.9;
  transition: opacity 0.14s ease;
}

.hm-ribbon__cell:hover .hm-ribbon__bar,
.hm-ribbon__cell.is-peak .hm-ribbon__bar {
  opacity: 1;
}

.hm-ribbon__tick {
  margin-top: 3px;
  font-size: 10px;
  color: var(--hm-text-3);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* 清单通栏拉开时左下已经是它的地盘,时间轴整体让位:
   黑点降噪那一屏左右都有操作区,底缘再压一条会把地图挤成一条缝 */
.hm-body.is-dock-open .hm-ribbon {
  display: none;
}

/* ---------- L3 深潜抽屉(70%):允许密集,多列网格 ---------- */
.hm-deep__grid {
  display: grid;
  /* min() 兜住窄屏:写死 420px 会在 <420 的容器里横向溢出(手机整屏时就会遇到)。
     门槛从 420 降到 400 是为了 1280 这一档:抽屉 896 - 内边距 48 - 间距 16 = 832,
     400 两列正好铺得下,420 就掉成单列 —— 而 1280 是最常见的笔记本宽度,
     深潜是否两列并排,差别是「一屏读完」和「滚两屏」。 */
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 16px;
  align-items: start;
}

.hm-deep__card {
  padding: 12px 14px;
  background: var(--hm-surface-sunken);
  border: 1px solid var(--hm-divider);
  border-radius: var(--hm-radius);
}

.hm-deep__h {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-deep__tip {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--hm-text-2);
}

.hm-deep__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.hm-deep__table th {
  padding: 4px 6px;
  font-weight: 500;
  color: var(--hm-text-2);
  text-align: left;
  white-space: nowrap;
}

.hm-deep__table td {
  padding: 3px 5px;
  color: var(--hm-text-1);
  font-variant-numeric: tabular-nums;
}

.hm-deep__table td.is-name {
  white-space: nowrap;
  font-weight: 500;
}

.hm-deep__table tr.is-link {
  cursor: pointer;
}

.hm-deep__table tr.is-link:hover td {
  background: var(--hm-primary-wash);
}

.hm-deep__table td .is-empty {
  color: var(--hm-text-3);
}

.hm-deep__cell {
  display: block;
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.hm-deep__cell.is-static {
  cursor: default;
  text-align: right;
}

.hm-deep__minibar {
  display: inline-block;
  width: 56px;
  height: 6px;
  margin-right: 6px;
  background: var(--hm-divider);
  border-radius: 3px;
  overflow: hidden;
  vertical-align: middle;
}

.hm-deep__minibar i {
  display: block;
  height: 100%;
  background: var(--hm-primary);
}

/* ---------- 概览卡:地图上唯一一块可以自己找地方站的浮层 ---------- */
.hm-cockpit {
  position: absolute;
  inset: 0;
  z-index: var(--hm-z-read);
  /* 容器不吃事件:中心那块要能照常拖地图、点格子 */
  pointer-events: none;
  /* 左边界只为一件事存在:清单拉开时整块地让出去(见下一条规则)。
     给过渡是因为「让位」必须被看见 —— 瞬移会让人以为自己刚才碰到了什么。 */
  transition: left 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/*
 * 左缘归清单。
 *
 * 清单是一条通栏,它不是浮层、没有别的落脚点,整条左缘是它唯一的地盘。
 * 概览卡有三种站位(停左 / 停右 / 自由),逐个去 clamp 必然漏一种
 * (这一版之前就是漏了自由态:把卡拖到左边,一开降噪就压在清单上)。
 * 所以改在容器上收:容器左边界右移,卡片无论站哪儿都跟着让开,
 * 位置关系一点不用重算,坐标也还是同一套(拖动换算读的就是这个容器)。
 */
.hm-body.is-dock-open .hm-cockpit {
  left: calc(var(--hm-rail-gap) * 2 + var(--hm-dock-w));
}

.hm-cockpit__bar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: var(--hm-glass-side-strong);
  border: 1px solid var(--hm-glass-border);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  box-shadow: var(--hm-glass-shadow);
  border-radius: 999px;
  pointer-events: auto;
}

.hm-cockpit__brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-cockpit__meta {
  font-size: 12px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-cockpit__exit {
  border: 1px solid var(--hm-primary-soft);
  background: transparent;
  color: var(--hm-primary-deep);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.hm-cockpit__exit:hover {
  background: var(--hm-primary-wash);
}

.hm-cockpit__slot {
  position: absolute;
  width: var(--hm-ck-w);
  pointer-events: auto;
  /* 停靠切换、被值面板推开、清单让位这三种位移都走这条过渡:
     位置变了要看得见它是「移过去」的,而不是「刚才那块不见了、这儿冒出一块」。 */
  transition:
    left 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    right 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 拖动时不要过渡:过渡会让卡片黏在指针后面,手感变糊 */
.hm-cockpit__slot.is-dragging {
  transition: none;
}

/*
 * 停靠:横向由这一条钉住,纵向由使用者的拖动高度决定(top 走行内样式)。
 *
 * 左右两侧各自有主:
 *   左缘 = 维度条的地盘(top 16,展开值面板后向下长),清单拉开时整条左缘归清单;
 *   右缘 = 工具条的地盘(top 16,竖排两块)。
 * 所以本卡不再靠「层级比谁低」忍让,而是由 OverviewLayer 量出这两块的实际外框,
 * 横向相交就把顶边压到它们下沿之下(safeY)。CSS 只负责站位,避让在 JS 里按实测算。
 * 默认停右侧:右侧的障碍只有工具条那 90 来像素,左侧的障碍会随筛选长到 200+。
 */
.hm-cockpit__slot.is-left {
  left: 16px;
  right: auto;
}

.hm-cockpit__slot.is-right {
  right: calc(var(--hm-rail-gap) + var(--hm-tab-w) + var(--hm-rail-inset) + 12px);
  left: auto;
}

/* 自由态:横向也走行内 left,两个方向都听指针的 */
.hm-cockpit__slot.is-free {
  left: auto;
  right: auto;
}

.hm-cockpit__slot.is-dragging {
  /* 拖动中抬到维度条之上:它现在是手上正在搬的东西,别被别的浮层压住 */
  z-index: var(--hm-z-lift);
}

.hm-cockpit__slot.is-dragging .hm-ck {
  box-shadow: 0 18px 48px -18px rgba(16, 24, 40, 0.42);
  border-color: var(--hm-primary-soft);
}

/* 维度导航挂在地图左上:它是地图的旋钮,位置固定,不随概览卡移动.
 *
 * 2026-11-02 之前这里还有 `.hm-cockpit__nav`(把导航挪到底缘居中),
 * 那是「驾驶舱 / 普通」两套模式并存时的产物。两套模式合并成一套后,
 * 没有任何组件再产出这个类名,规则留着只会误导后来改样式的人,已删。 */

.hm-ck {
  padding: 12px 14px;
  background: var(--hm-glass-side-strong);
  border: 1px solid var(--hm-glass-border);
  backdrop-filter: var(--hm-glass-blur);
  -webkit-backdrop-filter: var(--hm-glass-blur);
  box-shadow: var(--hm-glass-shadow);
  border-radius: var(--hm-radius-lg);
}

.hm-ck__t {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-ck__more {
  border: none;
  background: transparent;
  color: var(--hm-primary);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.hm-ck__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.hm-ck__kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.hm-ck__kpi b {
  font-size: 20px;
  line-height: 1.1;
  color: var(--hm-primary-deep);
  font-variant-numeric: tabular-nums;
}

.hm-ck__kpi span {
  font-size: 11px;
  color: var(--hm-text-3);
}

/* —— 概览浮层专属结构(在 .hm-ck 毛玻璃卡上叠加) —— */
.hm-ck--overview {
  /* 宽度跟着外层槽位走(--hm-ck-w):窄屏时槽位收到 272,
     这里若还硬写 340 就会溢出卡片边框 */
  width: 100%;
  /* 高度上限跟着自己的顶边走:被值面板 / 工具条推下去多少就少多少。
     原来钉死 100vh − 136,一旦被推到 y=210,底部那 150px 就伸出屏幕外,
     被 .hm-body 的 overflow:hidden 裁掉 —— 裁掉的往往正好是最下面那块
     「黑点降噪」开关,看着像功能不见了。--hm-slot-top 由 OverviewLayer 实时写入。 */
  max-height: calc(100vh - var(--hm-header-h) - var(--hm-slot-top, 64px) - 16px);
  overflow: auto;
}

.hm-ck__sub {
  font-weight: 400;
  font-size: 11px;
  color: var(--hm-text-3);
  margin-left: 6px;
  /* 页签 + 副行 + 两颗按钮在 340px 里并排,宽度不够时让它自己截断,
     而不是把右侧的图钉和关闭挤出卡片 —— 那两个是唯一的出口,不能被挤走 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 浮层自己的页签:概览 / 降噪。
 *
 * 右缘那条竖排把手撤掉之后,「翻页」这件事收进卡片内部:
 * 调一次降噪强度要立刻翻回来看「计入黑点 N 起」变没变,
 * 两页挨在一起才做得到;隔着屏幕两端就变成来回找。
 * 也因为它在卡片里,不再需要给地图浮层让出那 46px 的把手位。 */
.hm-ck__tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  background: var(--hm-surface-sunken);
  border: 1px solid var(--hm-divider);
  border-radius: 8px;
}

.hm-ck__tab {
  border: 0;
  background: transparent;
  padding: 4px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--hm-text-2);
  border-radius: 6px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.hm-ck__tab:hover {
  color: var(--hm-primary);
  background: var(--hm-primary-wash);
}

.hm-ck__tab.is-on {
  color: #ffffff;
  background: linear-gradient(180deg, var(--hm-primary) 0%, var(--hm-primary-deep) 100%);
}

.hm-ck__tab:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 2px;
}

/* 嵌进浮层的降噪面板:外壳(玻璃底、边框、阴影、圆角)全部压平。
 * 外面已经有一层卡了,卡里再套一张带阴影的卡,看上去像两张卡叠着,
 * 而且第二层的 14px 内边距会把 340px 的宽度再吃掉一圈。 */
.hm-tune {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

/* 面板头只剩那颗开关(标题由卡片页签代劳),所以只留一条细分隔线 */
.hm-tune > .hm-panel__head {
  justify-content: flex-end;
  padding: 0 0 8px;
  margin-bottom: 10px;
  background: transparent;
  border-bottom: 1px solid var(--hm-divider);
}

.hm-tune > .hm-panel__body {
  padding: 0;
}

/* 标题栏兼作拖动把手:整条都能按住搬,按到右边的按钮不算拖(见 OverviewLayer) */
.hm-ck__t.is-drag {
  cursor: grab;
  user-select: none;
  touch-action: none;
  margin-bottom: 8px;
}

.hm-ck__t.is-drag:active {
  cursor: grabbing;
}

.hm-ck__title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}

/* 六点抓手:不抢眼,但它存在的意思就是「这块能搬」 */
.hm-ck__grip {
  font-size: 12px;
  color: var(--hm-text-3);
  transition: color 0.15s ease;
}

.hm-ck__t.is-drag:hover .hm-ck__grip {
  color: var(--hm-primary);
}

.hm-ck__acts {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.hm-ck__waiting {
  font-size: 12px;
  line-height: 1.65;
  color: var(--hm-text-3);
  padding: 4px 0 2px;
}

.hm-ck__close {
  border: none;
  background: transparent;
  color: var(--hm-text-3);
  cursor: pointer;
  font-size: 12px;
  padding: 3px 5px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s, color 0.15s;
}
.hm-ck__close:hover {
  background: var(--hm-primary-wash);
  color: var(--hm-primary-deep);
}

/* KPI 小卡:每卡一块底色,左侧色条区分语义;可点的(命中案件)整卡是按钮 */
.hm-ck__kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--hm-surface-sunken);
  border: 1px solid var(--hm-divider);
  border-left: 3px solid var(--hm-primary);
}
.hm-ck__kpi.is-gold {
  border-left-color: var(--hm-accent-gold);
}
.hm-ck__kpi.is-cyan {
  border-left-color: var(--hm-accent-cyan);
}
.hm-ck__kpi.is-link {
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.hm-ck__kpi.is-link:hover {
  background: var(--hm-primary-wash);
}
.hm-ck__kpi-label {
  font-size: 11px;
  color: var(--hm-text-3);
  line-height: 1.2;
}
.hm-ck__kpi-value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--hm-text-1);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.hm-ck__kpi.is-primary .hm-ck__kpi-value {
  color: var(--hm-primary-deep);
}
.hm-ck__kpi.is-gold .hm-ck__kpi-value {
  color: #b9830a;
}
.hm-ck__kpi.is-cyan .hm-ck__kpi-value {
  color: #0e7ea6;
}
.hm-ck__kpi-sub {
  font-size: 10.5px;
  color: var(--hm-text-3);
  line-height: 1.2;
}

.hm-ck__block {
  margin-top: 12px;
}
.hm-ck__block-t {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hm-text-1);
  margin-bottom: 6px;
}
.hm-ck__block-t .hm-ck__more {
  margin-left: auto;
}

/* —— 概览浮层里的「动手」块(黑点降噪) ——
   与上面的读数之间拉一条虚线:从「看数」切到「开关一件事」,这根线是那句「不同属一组的
   元素之间不要建立关系」的落点,没有它,开关会读成又一条读数。 */
.hm-ck__block--act {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--hm-divider);
}

.hm-ck__block--act .hm-ck__block-t {
  margin-bottom: 4px;
}

.hm-ck__block--act .hm-ck__block-t .ant-switch {
  margin-left: auto;
}

.hm-ck__note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--hm-text-3);
}

.hm-ck__note b {
  color: var(--hm-text-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 同一块里的次级入口:不做成按钮,避免与上面那几个 KPI 卡抢层级 */
.hm-ck__link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 6px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  color: var(--hm-primary);
  cursor: pointer;
  transition: color 0.15s ease;
}

.hm-ck__link:hover {
  color: var(--hm-primary-deep);
  text-decoration: underline;
}

.hm-ck__link:focus-visible {
  outline: 2px solid var(--hm-accent-cyan);
  outline-offset: 2px;
  border-radius: 3px;
}

.hm-ck__rank {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hm-ck__rank-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--hm-divider);
  background: transparent;
  cursor: pointer;
  padding: 6px 0;
  text-align: left;
}
.hm-ck__rank-row:last-child {
  border-bottom: none;
}
.hm-ck__rank-row:hover {
  background: var(--hm-primary-wash);
}
.hm-ck__rank-no {
  font-weight: 700;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.hm-ck__rank-name {
  font-size: 13px;
  color: var(--hm-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hm-ck__rank-score {
  font-weight: 800;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.hm-ck__ne {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--hm-divider);
  font-size: 12px;
  color: var(--hm-text-2);
}
.hm-ck__ne b {
  color: var(--hm-accent-cyan);
  font-variant-numeric: tabular-nums;
}


.hm-ck__note {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--hm-text-2);
}

.hm-ck__rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hm-ck__row {
  display: grid;
  grid-template-columns: 14px 64px 30px 1fr;
  align-items: center;
  gap: 6px;
}

.hm-ck__seq {
  font-size: 11px;
  color: var(--hm-text-3);
}

.hm-ck__name {
  font-size: 12px;
  color: var(--hm-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-ck__score {
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 一条多段条:总长 = 分数(一眼比出谁更险),段宽 = 四项成分占比,四色固定身份色 */
.hm-ck__mix {
  display: flex;
  gap: 2px;
  height: 8px;
  min-width: 6px;
  border-radius: 4px;
  overflow: hidden;
}

.hm-ck__mix i {
  display: block;
  height: 100%;
}

.hm-ck__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hm-ck__bar {
  display: grid;
  grid-template-columns: 72px 1fr 44px;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.hm-ck__bar b {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--hm-primary-deep);
}

.hm-ck__track {
  display: block;
  height: 8px;
  background: var(--hm-divider);
  border-radius: 4px;
  overflow: hidden;
}

.hm-ck__track i {
  display: block;
  height: 100%;
  border-radius: 4px;
}

.hm-ck__hours {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 56px;
}

.hm-ck__hour {
  flex: 1;
  border-radius: 2px 2px 0 0;
  opacity: 0.9;
}

.hm-ck__hour.is-peak {
  opacity: 1;
  box-shadow: 0 0 0 1px var(--hm-primary);
}

.hm-ck__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  font-size: 10px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

/* 窄屏收窄:340px 在这类宽度上会把地图压成一条,KPI 仍要能并排读,所以只缩到 272 */
@media (max-width: 1180px) {
  .hm-body {
    --hm-ck-w: 272px;
  }
}

/* ===========================================================================
   浮层管理面板(顶栏「图层」按钮点开的那一块)
   ===========================================================================
   为什么这个面板值得单独写样式,而不是直接用 antd 的 Popover 默认外观:
   它列的是「屏上哪几块地现在属于谁」,五行文字要一眼扫完。默认样式每行只有
   一个控件 + 名字,读起来是五个并列的选项;这里每行是「名字 / 位置说明 / 开关」
   三段结构,说明文字退后一档,扫的时候先读到名字,需要时再读说明。

   视觉纪律:整块只有品牌蓝一种强调色(开关的开启态),没有第二种颜色 ——
   这一层是工具,不该在视觉上和地图抢注意力。
   =========================================================================== */

/* 顶栏那一颗按钮上的角标:收起了几层。数字本身就是信息,不做彩色底 */
.hm-header__layers-btn {
  position: relative;
}

.hm-header__layers-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 7px;
  background: var(--hm-accent-gold);
  color: var(--hm-primary-deep);
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.hm-layers {
  width: 288px;
  /* 负边距吃掉 antd Popover 的默认内边距,让面板自己控制留白节奏 */
  margin: -12px;
  padding: 12px 12px 10px;
}

.hm-layers__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hm-divider);
}

.hm-layers__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-layers__stat {
  font-size: 11px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-layers__list {
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
}

.hm-layers__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--hm-divider);
}

.hm-layers__row:last-child {
  border-bottom: 0;
}

/* 当前没内容可显示的那一行(黑点清单且未开降噪):整行退后,但名字仍要读得清 */
.hm-layers__row.is-dormant .hm-layers__label,
.hm-layers__row.is-dormant .hm-layers__note {
  color: var(--hm-text-3);
}

.hm-layers__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hm-layers__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-layers__tag {
  padding: 0 5px;
  border-radius: 4px;
  background: var(--hm-primary-wash);
  color: var(--hm-primary);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 15px;
}

.hm-layers__note {
  font-size: 11px;
  line-height: 1.4;
  color: var(--hm-text-3);
}

.hm-layers__foot {
  margin-top: 10px;
}

.hm-layers__hint {
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--hm-text-3);
}

/* ===========================================================================
   概览卡口径带:这张卡里所有数字的分母
   ===========================================================================
   它不是装饰条,是「我在看哪一刀数据」的唯一答案。所以:
   · 标签用品牌蓝浅底 —— 与卡里其它读数(白底 / 深字)区分开,一眼看出「这排是可操作的条件」;
   · × 单独做成一个按钮,与正文分开 —— 点正文是「看一下」(区标签会让地图飞过去),
     点 × 才是「取消」。两个动作挤在一个按钮上,人一定会误删筛选;
   · 右侧「命中 / 全部」始终在位,让「筛掉了多少」这件事不必点开任何东西就能读。
   =========================================================================== */

.hm-ck__ctx {
  margin: 8px 0 10px;
  padding: 7px 0 8px;
  border-top: 1px solid var(--hm-divider);
  border-bottom: 1px solid var(--hm-divider);
}

.hm-ck__ctx-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.hm-ck__ctx-chip {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  border-radius: 6px;
  background: var(--hm-primary-wash);
  color: var(--hm-primary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
}

.hm-ck__ctx-body {
  display: inline-flex;
  align-items: center;
  padding: 4px 2px 4px 7px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  max-width: 168px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 正文可点(区标签):加一点悬停下划线,说明"这块还能再点一下" */
.hm-ck__ctx-body.is-peek {
  cursor: pointer;
  padding-right: 4px;
}

.hm-ck__ctx-body.is-peek:hover {
  text-decoration: underline;
}

.hm-ck__ctx-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: transparent;
  color: var(--hm-primary);
  font-size: 9px;
  cursor: pointer;
  opacity: 0.62;
  transition: background 0.14s ease, opacity 0.14s ease;
}

.hm-ck__ctx-x:hover {
  background: var(--hm-primary-wash-strong);
  opacity: 1;
}

/* 无筛选时的一句话:不加底色,读起来是"状态"而不是"控件" */
.hm-ck__ctx-none {
  font-size: 11px;
  color: var(--hm-text-3);
}

.hm-ck__ctx-hit {
  margin-left: auto;
  padding-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-text-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 着色维:不进筛选标签那一列,单独一行退后的说明 */
.hm-ck__ctx-shade {
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--hm-text-3);
}

.hm-ck__ctx-shade b {
  color: var(--hm-text-2);
  font-weight: 600;
}

/* 深潜每页的主榜通栏:一页只允许一块,其余归因并排在下面。
   没有这一条时四块等宽并排,读的人不知道该从哪块看起 —— 平均用力等于没有重点。 */
.hm-deep__wide {
  grid-column: 1 / -1;
}

/* ============================================================================
 * 五区栅格(2026-11-02)
 *
 * 上一版是「地图全屏铺底 + 浮层叠上去」。那种模型下每加一块内容,就要为它补一套
 * 避让:`--hm-dock-top` 由 JS 实测维度条下沿写回、safeTop 量工具条与值面板的外框、
 * 三档像素断点(760 / 974 / 1140)各写一遍让位规则。这些规则全是「谁压住谁」的
 * 临时约定,彼此不知道对方存在,改一处就要回头重算另一处。
 *
 * 栅格把「谁在哪」变成布局的事实:左 320 / 中 1fr / 右 360 / 底 132。
 * 于是避让这件事从「计算」变成「不存在」—— 地图永远不会被浮层压住,因为它根本
 * 不在浮层下面,它就在自己的格子里。
 *
 * 三条尺寸各有用意:
 *   · 左 320:概览卡的四块 KPI 在这个宽度上排 2×2 刚好,再窄就要折行,再宽就是浪费
 *   · 右 360:时段柱图与点位清单的舒适宽度;低于 320 会出现文字挤压
 *   · 底 132:够画 30 根柱 + 一行刻度 + 一行读数,又不至于把地图压矮
 * ========================================================================== */

.hm-body {
  display: grid;
  grid-template-columns: var(--hm-left-w) minmax(0, 1fr) var(--hm-right-w);
  /* 2026-11-02:底栏取消(走势挪进右栏),于是这里从「两行」变成「一行」——
     地图直接吃到屏幕底缘。原来那行 132px 是给 30 根柱子留的,而它一天只看两三次。 */
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: 'left stage right';
  /* 三栏宽度走变量而不是写死在模板里:左栏收起时只要把 --hm-left-w 置 0,
     中间那格(minmax(0,1fr))会自己吃回这块面积。没有谁需要去通知地图「你变宽了」。 */
  --hm-left-w: 320px;
  --hm-right-w: 360px;
  background: var(--hm-surface-sunken);
}

/* 左栏收起。不删 DOM 也不改组件,只是这一列宽度归零 —— 于是「收起」这个动作
   在布局层面就是一次重算,而不是一次状态广播。 */
.hm-body.is-left-off {
  --hm-left-w: 0px;
}

.hm-body .hm-rail--left {
  grid-area: left;
}

.hm-body .hm-rail--right {
  grid-area: right;
}

.hm-body .hm-stage {
  grid-area: stage;
}

/* ------------------------------- 左右栏 ------------------------------- */

.hm-rail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--hm-surface);
}

.hm-rail--left {
  border-right: 1px solid var(--hm-border);
}

.hm-rail--right {
  border-left: 1px solid var(--hm-border);
}

/* 左栏:概览卡以 docked 形态进来,外壳是这一层。滚动责任给容器而不是卡片,
   否则卡片内部的 sticky 标题栏会跟着内容一起滚走。 */
.hm-rail__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
}

.hm-rail__scroll {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
}

.hm-rail__sec {
  min-width: 0;
}

/* 栏内的板块标题。与深潜抽屉里的 .hm-deep__h 同一个层级,但字更小:
   常驻栏是「一直在那儿」的东西,标题喊得太响会在地图和栏之间抢注意力。 */
.hm-rail__h {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hm-text-2);
  letter-spacing: 0.3px;
}

/* 常驻栏里的概览卡要「不像一张卡」:栏本身已经是容器,
   卡再套卡就是两个边框、两层阴影,读起来像贴在墙上的一张贴纸。
   所以玻璃与投影全摘掉,只留内部排版。 */
.hm-rail .hm-ck {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* 4 列 KPI 在 320 的栏里会挤成 4 个「8,4…」——折成 2×2,数字才读得全 */
.hm-rail .hm-ck__kpis {
  grid-template-columns: repeat(2, 1fr);
}

/* 栏内卡片的标题栏不许拖:它已经不是浮层了(拖拽逻辑也已在 docked 形态下不挂) */
.hm-rail .hm-ck__t.is-drag {
  cursor: default;
}

/* ------------------------------- 地图主区 ------------------------------- */

/* 地图的定位上下文从 .hm-body 换成这一格:MapStage 内部所有绝对定位的浮层
   (图例 / 工具条 / 右下胶囊 / 桶卡)一行代码都不用改,它们只是换了个参照物。 */
.hm-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

/* ------------------------------- 按天走势 ------------------------------- */

/* 走势图现在住在右栏(见 RightRail)。它原先是底栏那 132px 横带的主角,
   现在和别的归因块同宽:宽度由栏决定(实测,不写死),高度由这里给死 ——
   30 个点 + 一行刻度 + 一行读数,118px 刚刚好,再多就是白占地方。 */
.hm-trend {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 16px 8px;
  gap: 6px;
}

.hm-trend--rail {
  height: 118px;
  padding: 0;
  gap: 4px;
}

.hm-trend--empty {
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--hm-text-3);
}

.hm-trend__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}

.hm-trend__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--hm-text-1);
  letter-spacing: 0.3px;
}

.hm-trend__unit {
  margin-left: 8px;
  font-weight: 400;
  color: var(--hm-text-3);
}

.hm-trend__facts {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 11.5px;
  color: var(--hm-text-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hm-trend__facts b {
  color: var(--hm-text-1);
  font-weight: 600;
}

.hm-trend__at {
  color: var(--hm-text-3);
  margin-left: 2px;
}

.hm-trend__pick {
  color: var(--hm-primary);
}

.hm-trend__sep {
  width: 1px;
  height: 10px;
  background: var(--hm-border);
}

/* 绘图区:柱子从底往上长,均值线横穿其后。
   给 overflow-x 是为了窄屏时能横向滚 —— 30 根柱挤到 3px 宽就只剩一片噪声。 */
.hm-trend__plot {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.hm-trend__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
  min-width: 100%;
}

.hm-trend__bar {
  flex: 1 1 0;
  min-width: 6px;
  border: 0;
  border-radius: 2px 2px 0 0;
  background: color-mix(in srgb, var(--hm-primary) 42%, transparent);
  padding: 0;
  cursor: default;
  transition: background 0.12s ease;
}

.hm-trend__bar.is-peak {
  background: var(--hm-primary);
}

.hm-trend__bar.is-hover {
  background: var(--hm-accent-cyan, var(--hm-primary));
}

.hm-trend__bar:focus-visible {
  outline: 2px solid var(--hm-accent-cyan, var(--hm-primary));
  outline-offset: 1px;
}

/* 均值线:一条虚线 + 右端一枚小标。压在柱子后面(z-index 0 对柱子的 1),
   它是一条参照,不该比数据本身更响。 */
.hm-trend__avg {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  border-top: 1px dashed var(--hm-border);
  pointer-events: none;
}

.hm-trend__avg span {
  position: absolute;
  right: 0;
  top: -14px;
  font-size: 10px;
  color: var(--hm-text-3);
  background: var(--hm-surface);
  padding: 0 3px;
}

.hm-trend__bars {
  position: relative;
  z-index: 1;
}

.hm-trend__axis {
  display: flex;
  gap: 3px;
  flex: 0 0 auto;
  font-size: 10px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-trend__tick {
  flex: 1 1 0;
  min-width: 6px;
  white-space: nowrap;
  overflow: visible;
  text-align: center;
  transform: translateX(-50%);
}

/* ------------------------- 栅格化后必须覆盖的两条旧规则 ------------------------- */

/*
 * 1) 卡片自带的高度上限在栏里会把滚动做成两层。
 *
 * `.hm-ck--overview` 原本有一条 `max-height: calc(100vh - 顶栏 - 槽位顶边 - 16px)`
 * 加 `overflow:auto` —— 那是为了浮层被工具条推下去时别把底部的降噪开关顶出屏幕。
 * 进了左栏之后,「槽位顶边」这个概念不存在了,这条上限约等于整个视口高,
 * 于是卡片内部再滚一次,而外层 `.hm-rail__stack` 也在滚 —— 滚轮落在哪一层取决于
 * 指针位置,读起来像是「有时候能滚有时候卡住」。滚动只该由栏负责。
 */
.hm-rail .hm-ck--overview {
  max-height: none;
  overflow: visible;
}

/*
 * 2) 清单拉开时,图例的让位距离要按新的参照重算。
 *
 * 旧算式(媒体查询里那几段)是 `left: gap*2 + --hm-dock-w`,成立的前提是
 * 图例与清单共用「视口左缘」这一条基准线。栅格化后图例的基准线变成了地图主区的左缘,
 * 而清单仍然从画面左缘起算、并且压住了整个左栏 —— 两套基准之间差了正好一个左栏宽。
 * 不减这一项,图例会往右多挪一个栏宽(实测约 350px),落在毫无理由的位置上。
 */
.hm-body.is-dock-open .hm-map__legend,
.hm-body.is-dock-open .hm-map__legend-chip {
  left: calc(var(--hm-dock-w) - var(--hm-left-w) + var(--hm-rail-gap) + 2px);
}

/* --------------------------- 右栏:反复出险点位列表 --------------------------- */

.hm-rail__note {
  margin-bottom: 8px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--hm-text-3);
}

.hm-rail__empty {
  padding: 16px 12px;
  border: 1px dashed var(--hm-border);
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--hm-text-3);
  text-align: center;
}

.hm-place {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-place__row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 4px;
  border: 0;
  border-bottom: 1px solid var(--hm-divider);
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.hm-place__row:hover {
  background: var(--hm-surface-sunken);
}

.hm-place__row:focus-visible {
  outline: 2px solid var(--hm-primary);
  outline-offset: -2px;
  border-radius: 6px;
}

/* 名次:前三位给主题色,其余退灰。三档是因为「该先看哪几处」通常就是前三 */
.hm-place__no {
  flex: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.hm-place li:nth-child(-n + 3) .hm-place__no {
  color: var(--hm-primary);
}

.hm-place__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1 1 auto;
}

.hm-place__name {
  font-size: 12px;
  color: var(--hm-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-place__meta {
  font-size: 10.5px;
  color: var(--hm-text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-place__n {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--hm-text-1);
  font-variant-numeric: tabular-nums;
}

.hm-place__n i {
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  color: var(--hm-text-3);
  margin-left: 1px;
}

.hm-rail__more {
  width: 100%;
  margin-top: 8px;
  padding: 6px 8px;
  border: 1px solid var(--hm-border);
  border-radius: 8px;
  background: transparent;
  color: var(--hm-text-2);
  font-size: 11.5px;
  cursor: pointer;
}

.hm-rail__more:hover {
  border-color: var(--hm-primary);
  color: var(--hm-primary);
}

/* ============================================================================
 * 2026-11-02 图表换型:钟盘 / 面积 / 量表 / 强度带 / 散点
 *
 * 上一轮的问题是**柱状图几乎全是**:30 根日柱、24 根小时柱、6 根时段柱、7 根星期柱,
 * 再加四条横向 minibar。同一个形状被反复用了五遍,读者要靠标题分辨图表在说什么 ——
 * 形状本身不再携带任何信息,只是「又一个条形」。
 *
 * 这一轮的规则只有一条:**形状要由数据的关系决定**。
 *   · 一天是圆的 → 钟盘(时间是有周期的,直线排开就把「次日 0 点接回 22 点」切断了)
 *   · 趋势有斜率 → 面积(问的是走势,不是某天的绝对高)
 *   · 比例有端点 → 半环(0 与 100 是两个可以校准的位置,条形的长度不能校准)
 *   · 两维要分象限 → 散点(横条只有一个维度,永远分不出四类)
 *   · 七日像日历 → 强度带(周历本来就是七个格子,不是七根柱子)
 *   · 归因要可拆 → 分段条(这一处仍用条,因为它要表达的是「总和由哪几段凑成」)
 *
 * 颜色一律沿用既有令牌(主色 / 青 / 金 / 红),不新增色相 ——
 * 图型换了五套,若配色也跟着换五套,屏上就会同时存在五种「红」。
 * ========================================================================== */

/* -------------------------------- 24 小时钟盘 -------------------------------- */

.hm-dial {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hm-dial__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.hm-dial__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--hm-text-1);
  letter-spacing: 0.3px;
}

/* 读数行跟着悬停换字,宽度会跳 —— 固定成不换行的单行省略,避免盘面跟着上下抖 */
.hm-dial__note {
  font-size: 11px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-dial__stage {
  display: flex;
  justify-content: center;
}

.hm-dial__svg {
  width: 100%;
  max-width: 236px;
  height: auto;
  display: block;
  overflow: visible;
}

/* 中心盘:先用表面色挖空,扇区从 R_IN 起,中间那道 3px 缝就是这样出来的 */
.hm-dial__hole {
  fill: var(--hm-surface);
}

/* 夜间带画在数据区之外:它标的是「哪几个小时算夜里」,与扇区长度(案件多少)是两件事 */
.hm-dial__night {
  fill: rgba(70, 83, 162, 0.16);
}

.hm-dial__tick-n {
  font-size: 9.5px;
  fill: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-dial__seg {
  cursor: pointer;
  transition: opacity 0.12s ease;
}

.hm-dial__seg:hover,
.hm-dial__seg.is-hover {
  opacity: 0.76;
}

.hm-dial__hero {
  font-size: 21px;
  font-weight: 700;
  fill: var(--hm-primary-deep);
  font-variant-numeric: tabular-nums;
}

.hm-dial__sub {
  font-size: 9.5px;
  fill: var(--hm-text-3);
}

.hm-dial__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 10.5px;
  color: var(--hm-text-2);
  font-variant-numeric: tabular-nums;
}

.hm-dial__key {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hm-dial__key-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block;
}

.hm-dial__key-dot.is-night {
  background: rgba(70, 83, 162, 0.38);
}

.hm-dial__key-dot.is-peak {
  background: var(--hm-accent-gold);
}

.hm-dial__hint {
  margin-left: auto;
  color: var(--hm-text-3);
}

/* 深潜里的宽屏形态:盘放左,图例放右,把一整块通栏用起来。
   左栏(320)不加这个类,那边盘居中、下面一行图例,竖着排刚好。 */
.hm-dial--inline {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  grid-template-areas:
    'head head'
    'stage foot';
  align-items: center;
  gap: 8px 20px;
}

.hm-dial--inline .hm-dial__head {
  grid-area: head;
}

.hm-dial--inline .hm-dial__stage {
  grid-area: stage;
}

.hm-dial--inline .hm-dial__svg {
  max-width: 300px;
}

.hm-dial--inline .hm-dial__foot {
  grid-area: foot;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}

.hm-dial--inline .hm-dial__hint {
  margin-left: 0;
}

/* 深潜抽屉在窄屏上会被压到 640,两列放不下 —— 退回竖排,不能让盘被压扁 */
@media (max-width: 860px) {
  .hm-dial--inline {
    display: flex;
    flex-direction: column;
  }
}

/* ------------------------------- 底栏面积图 ------------------------------- */

.hm-trend__svg {
  display: block;
}

.hm-trend__line {
  fill: none;
  stroke: var(--hm-primary);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* 移动平均:虚 + 更细。它是参照,不是主角 —— 与实线同粗细会让人分不清哪条是原始数据 */
.hm-trend__ma {
  fill: none;
  stroke: var(--hm-accent-cyan);
  stroke-width: 1.3;
  stroke-dasharray: 4 3;
  stroke-linejoin: round;
}

.hm-trend__avgline {
  stroke: var(--hm-border);
  stroke-dasharray: 2 3;
  stroke-width: 1;
}

.hm-trend__peakline {
  stroke: rgba(252, 201, 41, 0.8);
  stroke-width: 1;
}

.hm-trend__peakdot {
  fill: var(--hm-accent-gold);
  stroke: #fff;
  stroke-width: 1.5;
}

.hm-trend__peaklabel {
  font-size: 9.5px;
  font-weight: 700;
  fill: var(--hm-accent-gold-deep);
  font-variant-numeric: tabular-nums;
}

.hm-trend__cursor {
  stroke: var(--hm-text-3);
  stroke-dasharray: 2 2;
  stroke-width: 1;
}

.hm-trend__hoverdot {
  fill: var(--hm-primary);
  stroke: #fff;
  stroke-width: 1.5;
}

/* 刻度从 flex 改成绝对定位:现在每个刻度要对准面积图上的某一天,
   flex 均分会让刻度与数据点错开半格(首尾两天尤其明显)。 */
.hm-trend__axis {
  position: relative;
  display: block;
  height: 14px;
  flex: 0 0 auto;
  font-size: 10px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-trend__tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  min-width: 0;
  flex: none;
}

/* -------------------------------- 半环量表 -------------------------------- */

.hm-gauge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hm-gauge__svg {
  width: 112px;
  height: auto;
  flex: 0 0 auto;
}

.hm-gauge__track {
  fill: none;
  stroke: var(--hm-divider);
  stroke-width: 9;
  stroke-linecap: round;
}

.hm-gauge__arc {
  fill: none;
  stroke: var(--hm-primary);
  stroke-width: 9;
  stroke-linecap: round;
}

.hm-gauge__num {
  font-size: 24px;
  font-weight: 700;
  fill: var(--hm-primary-deep);
  font-variant-numeric: tabular-nums;
}

.hm-gauge__unit {
  font-size: 12px;
  font-weight: 600;
  fill: var(--hm-text-3);
}

.hm-gauge__side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hm-gauge__side b {
  font-size: 15px;
  font-weight: 700;
  color: var(--hm-text-1);
  font-variant-numeric: tabular-nums;
}

.hm-gauge__side span {
  font-size: 11px;
  color: var(--hm-text-3);
}

.hm-gauge__side i {
  font-style: normal;
  font-size: 10.5px;
  color: var(--hm-text-3);
}

/* ------------------------------ 时段 100% 分段带 ------------------------------ */

.hm-band__track {
  display: flex;
  gap: 3px;
  height: 26px;
}

/* flex-basis 0 + 按占比给 grow:段的宽度就是这一档占全天的比例。
   若用 width:%,段之间那 3px 缝会一起被算进宽度,六段加起来超过 100% 而溢出。 */
.hm-band__seg {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 6px;
  border-radius: 5px;
  background: rgba(70, 83, 162, 0.2);
  overflow: hidden;
}

.hm-band__seg em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--hm-primary-deep);
  white-space: nowrap;
}

.hm-band__seg.is-peak {
  background: var(--hm-primary);
}

.hm-band__seg.is-peak em {
  color: #fff;
}

.hm-band__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-band__item {
  display: inline-flex;
  gap: 4px;
}

.hm-band__item b {
  font-weight: 600;
  color: var(--hm-text-2);
}

/* -------------------------------- 星期强度带 -------------------------------- */

.hm-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.hm-week__col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hm-week__cell {
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 高峰那一格用金色内描边,不换底色:底色已经在编码多少,再换一次颜色就说不清了 */
.hm-week__cell.is-peak {
  box-shadow: inset 0 0 0 2px var(--hm-accent-gold);
}

.hm-week__label {
  text-align: center;
  font-size: 10px;
  color: var(--hm-text-3);
}

/* --------------------------------- 四象限散点 --------------------------------- */

.hm-scat {
  width: 100%;
  height: auto;
  display: block;
}

.hm-scat__axis {
  stroke: var(--hm-border);
  stroke-width: 1;
}

.hm-scat__cut {
  stroke: var(--hm-border);
  stroke-dasharray: 3 3;
  stroke-width: 1;
}

.hm-scat__cut-label {
  font-size: 9.5px;
  fill: var(--hm-text-3);
}

.hm-scat__tick {
  font-size: 9.5px;
  fill: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-scat__axis-name {
  font-size: 10px;
  fill: var(--hm-text-3);
}

.hm-scat__pt {
  cursor: pointer;
}

.hm-scat__pt circle {
  fill: rgba(40, 167, 225, 0.3);
  stroke: var(--hm-accent-cyan);
  stroke-width: 1.4;
  transition: fill 0.12s ease;
}

/* 右上象限(量大且电动化高)换红:这一角的区是「新能源已经是主矛盾」的那一批 */
.hm-scat__pt circle.is-quad {
  fill: rgba(229, 72, 77, 0.24);
  stroke: #e5484d;
}

.hm-scat__pt:hover circle {
  fill: rgba(40, 167, 225, 0.62);
}

.hm-scat__pt:hover circle.is-quad {
  fill: rgba(229, 72, 77, 0.5);
}

.hm-scat__name {
  font-size: 10px;
  font-weight: 600;
  fill: var(--hm-text-2);
  pointer-events: none;
}

/* -------------------------------- 综合风险指数 -------------------------------- */

.hm-risk {
  margin-top: 12px;
  border: 1px solid var(--hm-divider);
  border-radius: 12px;
  background: var(--hm-surface);
  padding: 10px 12px;
}

.hm-risk__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.hm-risk__mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(70, 83, 162, 0.1);
  color: var(--hm-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.hm-risk__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-text-1);
}

.hm-risk__scale {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--hm-text-3);
}

.hm-risk__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 6px;
  font-size: 10.5px;
  color: var(--hm-text-2);
}

.hm-risk__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /* 四项各挂着自己的分母说明(见 StatsPanel 的 TIPS):鼠标移上去要能看出这里有事可看 */
  cursor: help;
}

.hm-risk__legend-item i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.hm-risk__legend-item b {
  font-weight: 600;
  color: var(--hm-text-3);
}

.hm-risk__note {
  margin: 0 0 6px;
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--hm-text-3);
}

.hm-risk__note b {
  color: var(--hm-text-2);
  font-weight: 600;
}

.hm-risk__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 四列 + 一行通栏轨道:名字占满剩余宽度,分数固定在右上,
   轨道压在下面横跨整行 —— 读的时候是一条一条往下扫,不是一格一格看 */
.hm-risk__row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto auto;
  grid-template-areas:
    'rank name count score'
    'track track track track'
    'parts parts parts parts';
  gap: 4px 8px;
  align-items: center;
  width: 100%;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid var(--hm-divider);
  background: none;
  text-align: left;
  cursor: pointer;
}

.hm-risk__list li:last-child .hm-risk__row {
  border-bottom: 0;
}

.hm-risk__row:hover {
  background: var(--hm-surface-sunken);
}

.hm-risk__rank {
  grid-area: rank;
  font-size: 12px;
  font-weight: 700;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-risk__rank.is-top {
  color: var(--hm-primary);
}

.hm-risk__name {
  grid-area: name;
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-risk__count {
  grid-area: count;
  font-size: 10.5px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-risk__score {
  grid-area: score;
  min-width: 30px;
  text-align: right;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

/* 绝对刻度轨道:底色就是 0–100 的整条轴。右侧留白 = 离满分还差多少,
   这层信息在「按榜上最高分缩放」的画法里是看不见的。 */
.hm-risk__track {
  grid-area: track;
  position: relative;
  height: 7px;
  margin-top: 3px;
  border-radius: 4px;
  background: var(--hm-surface-sunken);
  overflow: hidden;
}

.hm-risk__fill {
  display: flex;
  gap: 1.5px;
  height: 100%;
}

.hm-risk__fill i {
  display: block;
  height: 100%;
}

.hm-risk__grid {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
}

/* ------------------------------ 在地图上看(深潜内) ------------------------------ */

.hm-maplink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid var(--hm-border);
  border-radius: 999px;
  background: transparent;
  font-size: 10.5px;
  color: var(--hm-text-2);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.hm-maplink:hover:not(:disabled) {
  border-color: var(--hm-primary);
  color: var(--hm-primary);
  background: rgba(70, 83, 162, 0.06);
}

/* 已经在铺这一维:按钮就是「收起」,所以它得看起来是按下去了 */
.hm-maplink.is-active {
  border-color: var(--hm-primary);
  background: var(--hm-primary);
  color: #fff;
}

.hm-maplink:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hm-maplink .anticon {
  font-size: 11px;
}

/* 写回筛选那一种用虚线边:它改口径(分母会变),与「只是铺个形状」不是同一件事,
   两个动作长得一样,是这套界面里最容易被当成 bug 的那种设计 */
.hm-maplink--scope {
  border-style: dashed;
}

/* --------------------------- 深潜每一块的地图入口行 --------------------------- */

/*
 * 深潜里六块内容各自的「跟地图怎么对上」那一行:左一句这一块在讲什么、右一颗入口。
 *
 * 为什么要逐块给一颗:深潜抽屉占 70% 屏宽,右边**始终**留着一条地图 —— 地图一直在场,
 * 而这里的表、矩阵、散点没有一处能让它动一下。人读完「某某区 78 分」只能退出去、
 * 再去筛选面板勾上这个区。这一行把那两步并成一步。
 *
 * 不放进抽屉标题(那里只有一颗位置,说不清下面六七块各是哪一维),
 * 也不做成悬浮球(会压住表)。就贴在每一块自己头顶上:谁的内容、谁的入口。
 */
.hm-board-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

/* 左边那句必须能被读成「这一块是什么」,所以给它正文的最小字号,
   但字重与颜色压住 —— 它是说明,不是标题,不能和上面的卡片标题抢 */
.hm-board-head__note {
  min-width: 0;
  flex: 1;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--hm-text-3);
}

/* 名字即按钮:矩阵行首的区名、位置榜的位置名都走这一条。
   去掉按钮的默认外观,只留下「悬停时颜色变成入口色」这一个信号 ——
   加边框或加下划线会让一整列名字看起来像一整列链接,反而不知道该点哪个。 */
.hm-matrix__name.is-link {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  /* 只接字体族:字号与颜色仍由上面那条 .hm-matrix__name 说了算。
     写成 `font: inherit` 会连字号一起清掉(按钮的 font 是整套简写),
     这一列就跟着父元素变成默认 14px,比旁边的小时数字粗一号。 */
  font-family: inherit;
  color: var(--hm-text-2);
  cursor: pointer;
  transition: color 0.12s ease;
}

.hm-matrix__name.is-link:hover {
  color: var(--hm-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 标题即入口那一版(深潜的卡片头):说明句可有可无,入口一律贴右。
   没有这一段的话,标题后面紧跟着一颗圆按钮,看起来像标题后缀而不是一个动作。 */
.hm-board-head > .hm-maplink {
  margin-left: auto;
}

/* 卡片头里的 h4 与入口同一行,所以它自己的下边距交出去给这一行 */
.hm-board-head > .hm-deep__h {
  margin: 0;
}

/* 表格首列的名字当按钮用(车种 × 时段档:写回车辆筛选)。
   与矩阵行首那一颗同一套外观,只是不在矩阵里 —— 编号相同,按下去的结果不同,
   所以这里只留文字变色,不加任何边框,避免被读成「另一颗地图按钮」。 */
.hm-deep__name-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.12s ease;
}

.hm-deep__name-btn:hover {
  color: var(--hm-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ----------------------- 右栏:区 / 街道 / 道路 排名 ----------------------- */

/*
 * 三张地理排名榜(右栏常驻版)。改版时它们只剩深潜抽屉一个入口,而深潜默认是关的 ——
 * 等于把「哪个区最多、哪条街最多」这三句最常被问的话锁进了二级页。
 *
 * 一次只显示一张(页签切),不并排:360px 里并排三张表,每张只剩一格数字的宽度。
 * 每行四列:名次 / 名称(街道带上所属区)/ 起数 / 占本批。
 * 占比这一列是这次加的 —— 只报起数的话,跨维度比较(区与街道)会让人按数的大小错判。
 */
.hm-geo__tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

/* 页签自己不带弹性:「在地图上看」贴右,靠 margin-left:auto,与别的入口行同一套对齐 */
.hm-geo__tabs .hm-maplink {
  margin-left: auto;
}

.hm-geo {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-geo__row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 52px 44px;
  gap: 6px;
  align-items: baseline;
  width: 100%;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid var(--hm-divider);
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease;
}

.hm-geo__row:hover {
  background: var(--hm-surface-sunken);
}

.hm-geo > li:last-child .hm-geo__row {
  border-bottom: 0;
}

/* 名次:前三名给主色。这张栏里没有柱条,名次就是唯一的「排序」信号,
   所以它必须能一眼分出前三 —— 全是灰色数字时,人得逐行读数字才知道谁在前面。 */
.hm-geo__no {
  font-size: 11px;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

.hm-geo__no.is-top {
  color: var(--hm-primary);
  font-weight: 700;
}

.hm-geo__name {
  font-size: 12px;
  color: var(--hm-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 所属区:街道榜上同名街道分属两个区,不写区名就会出现两行看着一模一样的街名 */
.hm-geo__parent {
  margin-left: 6px;
  font-size: 10px;
  font-style: normal;
  color: var(--hm-text-3);
}

.hm-geo__n {
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  color: var(--hm-text-1);
  font-variant-numeric: tabular-nums;
}

.hm-geo__pct {
  font-size: 10.5px;
  text-align: right;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
}

/* 栏里那一版走势图:横向只有 330 上下,读数行要压一档字号 ——
   悬停时会多出第三组读数(日期 + 起数),字号不压就会被栏缘切掉半句。 */
.hm-trend--rail .hm-trend__facts {
  font-size: 11px;
  gap: 8px;
}

/* ------------------- 风险榜每行的四项贡献分解(常显) ------------------- */

/*
 * 这一行回答两个被当场追问过的问题:
 *   「这一项到底给了几分」—— 条再宽,也说不出 14 还是 4;
 *   「那实际是多少起案子」—— 占比没有分子,读者只能猜。
 *
 * 所以每行下面摆四格:色点 · 项名 · 贡献分 · 分子/分母。
 * 四格相加严格等于右边大字的总分(取整走最大余数法,见 StatsPanel 的 wholePoints),
 * 于是读者可以当场自己加一遍 —— 这张榜最怕的不是分数高,是分数来历不明。
 */
.hm-risk__parts {
  grid-area: parts;
  display: flex;
  flex-wrap: wrap;
  gap: 1px 14px;
  margin-top: 3px;
}

/* 每格自己会换行:宽版(深潜通栏)四个一行,窄到 320 时两个一行两排。
   用 flex 的换行而不是固定四列 —— 容器宽度随抽屉变化,视口断点管不到它。 */
.hm-risk__part {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex: 1 1 150px;
  min-width: 0;
  font-size: 9.5px;
  line-height: 1.65;
  color: var(--hm-text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hm-risk__part i {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  transform: translateY(-1px);
}

.hm-risk__part-name {
  color: var(--hm-text-2);
}

/* 贡献分用成分自己的颜色:四格连起来就是上面那条四色条的文字版,不用再回头对图例 */
.hm-risk__part b {
  font-size: 10.5px;
  font-weight: 700;
}

/* 分子 / 分母:比项名再淡一档 —— 它是「凭什么」,不该和「给了几分」抢同一层注意力 */
.hm-risk__part-sub {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--hm-text-3);
}

/* 窄屏(抽屉整屏那一档)收紧内边距:24px 在 375 上吃掉 13% 的宽度,
   而这些宽度对表格和解说是立刻能用的。只改深潜自己,不碰别的抽屉。 */
@media (max-width: 720px) {
  .hm-deep .ant-drawer-body {
    padding: 14px 16px;
  }

  .hm-deep .ant-drawer-header {
    padding: 12px 14px;
  }

  /* 四个页签在 375 上会挤:让它横向滚动而不是压成很窄的四格 */
  .hm-deep .ant-segmented {
    max-width: 100%;
    overflow-x: auto;
  }
}