/* Light palette for shared tokens and legacy workspace/diagram colors.
   Dark literals stay as fallbacks in their original stylesheets. */
:root[data-theme="light"]{
color-scheme:light;
--bg:#f3f6f8;--rail:#edf2f5;--panel:#fff;--panel2:#eaf0f4;
--line:#c5d2da;--line2:#9eafb9;--text:#18313f;--muted:#465f6d;--dim:#58717e;
--teal:#087761;--amber:#8a5a00;--red:#b43832;--violet:#7041ae;--blue:#1f6494;
--tone-85bddd:hsl(202 56% 32% / 100%);
--tone-d8b86e:hsl(42 58% 36% / 100%);
--tone-b89bdf:hsl(266 52% 32% / 100%);
--tone-102530:hsl(201 25% 95% / 100%);
--tone-adc5ce:hsl(196 25% 20% / 100%);
--tone-a6bec7:hsl(196 23% 20% / 100%);
--tone-2a4550:hsl(197 25% 92% / 100%);
--tone-b8cdd3:hsl(193 23% 20% / 100%);
--tone-dfc48a:hsl(41 57% 32% / 100%);
--tone-34505d:hsl(199 25% 73% / 100%);
--tone-102b35:hsl(196 25% 94% / 100%);
--tone-527b79:hsl(177 20% 71% / 100%);
--tone-70dec6:hsl(167 63% 32% / 100%);
--tone-99854d:hsl(44 33% 36% / 100%);
--tone-e5c976:hsl(45 68% 32% / 100%);
--tone-a1684d:hsl(19 35% 36% / 100%);
--tone-f4a071:hsl(22 75% 32% / 100%);
--tone-49616b:hsl(198 19% 72% / 100%);
--tone-b7cad0:hsl(194 21% 20% / 100%);
--tone-abc1c9:hsl(196 22% 20% / 100%);
--tone-b7ccd1:hsl(192 22% 20% / 100%);
--tone-142c37:hsl(199 25% 94% / 100%);
--tone-e5f0f1:hsl(185 30% 20% / 100%);
--tone-567583:hsl(199 21% 70% / 100%);
--tone-0b202c:hsl(202 25% 95% / 100%);
--tone-405e6c:hsl(199 25% 72% / 100%);
--tone-e4eef1:hsl(194 32% 20% / 100%);
--tone-b6cdd5:hsl(195 27% 20% / 100%);
--tone-aa99cc:hsl(260 33% 20% / 100%);
--tone-132b3a:hsl(203 25% 94% / 100%);
--tone-e0d1a8:hsl(44 47% 32% / 100%);
--tone-18333e:hsl(197 25% 94% / 100%);
--tone-102c38:hsl(198 25% 94% / 100%);
--tone-edf5f5:hsl(180 29% 20% / 100%);
--tone-607e88:hsl(195 17% 36% / 100%);
--tone-b6cbd0:hsl(192 22% 20% / 100%);
--tone-456675:hsl(199 25% 71% / 100%);
--tone-698292:hsl(203 16% 36% / 100%);
--tone-c7dade:hsl(190 26% 20% / 100%);
--tone-52727a:hsl(192 20% 71% / 100%);
--tone-17343e:hsl(195 25% 94% / 100%);
--tone-e6efed:hsl(167 22% 20% / 100%);
--tone-244854:hsl(195 25% 92% / 100%);
--tone-9eccc9:hsl(176 31% 20% / 100%);
--tone-a7dfdc:hsl(177 47% 32% / 100%);
--tone-c2d7d3:hsl(169 21% 20% / 100%);
--tone-5b7786:hsl(201 19% 36% / 100%);
--tone-233948:hsl(204 25% 93% / 100%);
--tone-182b3a:hsl(206 25% 94% / 100%);
--tone-2f4654:hsl(203 25% 91% / 100%);
--tone-64808e:hsl(200 17% 36% / 100%);
--tone-18303d:hsl(201 25% 94% / 100%);
--tone-5d7783:hsl(199 17% 36% / 100%);
--tone-0a1720:hsl(205 25% 96% / 100%);
--tone-10212d:hsl(205 25% 95% / 100%);
--tone-8198a7:hsl(204 18% 36% / 100%);
--tone-57707c:hsl(199 18% 71% / 100%);
--tone-2b404c:hsl(202 25% 92% / 100%);
--tone-324d5b:hsl(200 25% 73% / 100%);
--tone-2e4757:hsl(203 25% 73% / 100%);
--tone-79929e:hsl(199 16% 36% / 100%);
--tone-fff:hsl(0 0% 20% / 100%);
--tone-8cafbd:hsl(197 27% 36% / 100%);
--tone-07141e:hsl(206 25% 96% / 100%);
--tone-0b1922:hsl(203 25% 96% / 100%);
--tone-294452:hsl(200 25% 92% / 100%);
--tone-597783:hsl(197 19% 36% / 100%);
--tone-526974:hsl(199 17% 71% / 100%);
--tone-91a5ad:hsl(197 15% 36% / 100%);
--tone-a4b7be:hsl(196 17% 20% / 100%);
--tone-899ba3:hsl(198 12% 36% / 100%);
--tone-486775:hsl(199 24% 71% / 100%);
--tone-102631:hsl(200 25% 95% / 100%);
--tone-4f6e7b:hsl(198 22% 71% / 100%);
--tone-253b48:hsl(202 25% 92% / 100%);
--tone-88a4b1:hsl(199 21% 36% / 100%);
--tone-678ca0:hsl(201 23% 36% / 100%);
--tone-8a9090:hsl(180 3% 36% / 100%);
--tone-657d87:hsl(198 14% 36% / 100%);
--tone-3b505d:hsl(203 22% 73% / 100%);
--tone-49616d:hsl(200 20% 72% / 100%);
--tone-173747:hsl(200 25% 93% / 100%);
--tone-587685:hsl(200 20% 36% / 100%);
--tone-68909e:hsl(196 22% 36% / 100%);
--tone-a8a28b:hsl(48 14% 36% / 100%);
--tone-847f69:hsl(49 11% 36% / 100%);
--tone-625f51:hsl(49 9% 72% / 100%);
--tone-887e68:hsl(41 13% 36% / 100%);
--tone-1b3440:hsl(199 25% 93% / 100%);
--tone-8d8d72:hsl(60 11% 36% / 100%);
--tone-b3c6cf:hsl(199 23% 20% / 100%);
--tone-bd9378:hsl(23 34% 36% / 100%);
--tone-a8a88d:hsl(60 13% 36% / 100%);
--tone-a89a6d:hsl(46 25% 36% / 100%);
--tone-776c4b:hsl(45 23% 71% / 100%);
--tone-9fadb3:hsl(198 12% 20% / 100%);
--tone-566970:hsl(196 13% 71% / 100%);
--tone-263f4e:hsl(203 25% 92% / 100%);
--tone-b5bfc0:hsl(185 8% 20% / 100%);
--tone-a3b0b1:hsl(184 8% 20% / 100%);
--tone-6a92a7:hsl(201 26% 36% / 100%);
--tone-43687d:hsl(202 25% 71% / 100%);
--tone-304a58:hsl(201 25% 73% / 100%);
--tone-617583:hsl(205 15% 36% / 100%);
--tone-b2b5a0:hsl(69 12% 20% / 100%);
--tone-768b94:hsl(198 12% 36% / 100%);
--tone-71848a:hsl(194 10% 36% / 100%);
--tone-c0b88d:hsl(51 29% 20% / 100%);
--tone-a4aaa0:hsl(96 6% 36% / 100%);
--tone-677a7d:hsl(188 10% 36% / 100%);
--tone-afbec4:hsl(197 15% 20% / 100%);
--tone-26434b:hsl(193 25% 92% / 100%);
--tone-9c9678:hsl(50 15% 36% / 100%);
--tone-376172:hsl(197 25% 72% / 100%);
--tone-4a98ac:hsl(192 40% 36% / 100%);
--tone-7d929d:hsl(201 14% 36% / 100%);
--tone-ffce72:hsl(39 75% 32% / 100%);
--tone-bc9ef6:hsl(260 75% 32% / 100%);
--tone-fb7973:hsl(3 75% 32% / 100%);
--tone-77b8e3:hsl(204 66% 32% / 100%);
--tone-7c98a5:hsl(199 19% 36% / 100%);
--tone-0b1e2b:hsl(204 25% 95% / 100%);
--tone-435e6e:hsl(202 24% 72% / 100%);
--tone-e6eef0:hsl(192 25% 20% / 100%);
--tone-a3bdc9:hsl(199 26% 20% / 100%);
--tone-153342:hsl(200 25% 94% / 100%);
--tone-d0c99f:hsl(51 34% 20% / 100%);
--tone-0c2330:hsl(202 25% 95% / 100%);
--tone-afc4ca:hsl(193 20% 20% / 100%);
--tone-7c9aa7:hsl(198 20% 36% / 100%);
--tone-70dec64d:hsl(167 63% 32% / 30%);
--tone-cad:hsl(280 43% 32% / 100%);
--tone-b6b193:hsl(51 19% 36% / 100%);
--tone-9bb6c4:hsl(200 26% 20% / 100%);
--tone-edf7fa:hsl(194 57% 32% / 100%);
--tone-1a3d4b:hsl(197 25% 93% / 100%);
--tone-101f29:hsl(204 25% 95% / 100%);
--tone-e6f0ee:hsl(168 25% 20% / 100%);
--tone-42545e:hsl(201 18% 72% / 100%);
--tone-0009:rgb(22 43 57 / 15%);
--tone-020b11c9:hsl(204 25% 97% / 79%);
--tone-1c303b:hsl(201 25% 94% / 100%);
--tone-c5d4d9:hsl(195 21% 20% / 100%);
--tone-41565f:hsl(198 19% 72% / 100%);
--tone-9bb0b9:hsl(198 18% 20% / 100%);
--tone-091720:hsl(203 25% 96% / 100%);
--tone-e4eeee:hsl(180 23% 20% / 100%);
--tone-3e555f:hsl(198 21% 72% / 100%);
--tone-ffb5ac:hsl(7 75% 32% / 100%);
--tone-29404b:hsl(199 25% 92% / 100%);
--tone-d8e8e8:hsl(180 26% 20% / 100%);
--tone-a8bdc6:hsl(198 21% 20% / 100%);
--tone-aebfc7:hsl(199 18% 20% / 100%);
--tone-3e5362:hsl(205 23% 72% / 100%);
--tone-c8d8de:hsl(196 25% 20% / 100%);
--tone-e8c88d:hsl(39 66% 32% / 100%);
--tone-71613e:hsl(41 25% 72% / 100%);
--tone-8fcaff:hsl(208 75% 32% / 100%);
--tone-355e7d:hsl(206 25% 72% / 100%);
--tone-d3b8ef:hsl(269 63% 32% / 100%);
--tone-67547a:hsl(270 18% 71% / 100%);
--tone-85bce8:hsl(207 68% 32% / 100%);
--tone-9ab0bb:hsl(200 20% 20% / 100%);
--tone-162d39:hsl(201 25% 94% / 100%);
--tone-86bde8:hsl(206 68% 32% / 100%);
--tone-b8dbff:hsl(210 75% 32% / 100%);
--tone-385560:hsl(197 25% 73% / 100%);
--tone-9fbbc4:hsl(195 24% 20% / 100%);
--tone-ecf4f0:hsl(150 27% 20% / 100%);
--tone-183441:hsl(199 25% 93% / 100%);
--tone-365765:hsl(198 25% 73% / 100%);
--tone-567680:hsl(194 20% 70% / 100%);
--tone-112b38:hsl(200 25% 94% / 100%);
--tone-c8ddde:hsl(183 25% 20% / 100%);
--tone-365b68:hsl(196 25% 72% / 100%);
--tone-081e29:hsl(200 25% 96% / 100%);
--tone-52646b:hsl(197 13% 71% / 100%);
--tone-26333b:hsl(203 22% 93% / 100%);
--tone-8ea8b0:hsl(194 18% 36% / 100%);
--tone-9fbbc3:hsl(193 23% 20% / 100%);
--tone-65828c:hsl(195 16% 36% / 100%);
--tone-183c49:hsl(196 25% 93% / 100%);
--tone-476976:hsl(197 25% 71% / 100%);
--tone-c8a371:hsl(34 44% 36% / 100%);
--tone-dfc9a5:hsl(37 48% 32% / 100%);
--tone-486973:hsl(194 23% 71% / 100%);
--tone-173642:hsl(197 25% 93% / 100%);
--tone-9fc4ca:hsl(188 29% 20% / 100%);
--tone-bdd3d5:hsl(185 22% 20% / 100%);
--tone-15303c:hsl(198 25% 94% / 100%);
--tone-dfeded:hsl(180 28% 20% / 100%);
--tone-acc8ce:hsl(191 26% 20% / 100%);
--tone-7895a0:hsl(197 17% 36% / 100%);
--tone-4b6571:hsl(199 20% 71% / 100%);
--tone-17323e:hsl(198 25% 94% / 100%);
--tone-0008:rgb(22 43 57 / 13%);
--tone-7997a0:hsl(194 17% 36% / 100%);
--tone-e5efd8:hsl(86 42% 32% / 100%);
--tone-0a202b:hsl(200 25% 95% / 100%);
--tone-456673:hsl(197 25% 72% / 100%);
--tone-dcebed:hsl(187 32% 20% / 100%);
--tone-b4cbcf:hsl(189 22% 20% / 100%);
--tone-365560:hsl(196 25% 73% / 100%);
--tone-a5c1c7:hsl(191 23% 20% / 100%);
--tone-172f3a:hsl(199 25% 94% / 100%);
--tone-c5dddd:hsl(180 26% 20% / 100%);
--tone-07131b:hsl(204 25% 96% / 100%);
--tone-07141c:hsl(203 25% 96% / 100%);
--tone-0b1d27:hsl(201 25% 95% / 100%);
--tone-25414d:hsl(198 25% 92% / 100%);
--tone-385762:hsl(196 25% 73% / 100%);
--tone-e8f2ef:hsl(162 28% 20% / 100%);
--tone-a8bbc0:hsl(193 16% 20% / 100%);
--tone-718c96:hsl(196 15% 36% / 100%);
--tone-ecdc9b:hsl(48 68% 32% / 100%);
--tone-10202a:hsl(203 25% 95% / 100%);
--tone-081824:hsl(206 25% 96% / 100%);
--tone-07141b:hsl(201 25% 96% / 100%);
--tone-0b1c23:hsl(198 25% 96% / 100%);
--tone-294653:hsl(199 25% 92% / 100%);
--tone-64b4b2:hsl(179 35% 36% / 100%);
--tone-6c9fa3:hsl(184 23% 36% / 100%);
--tone-66929a:hsl(189 20% 36% / 100%);
--tone-15313b:hsl(196 25% 94% / 100%);
--tone-f4f8f4:hsl(120 22% 20% / 100%);
--tone-829da4:hsl(192 16% 36% / 100%);
--tone-27404b:hsl(198 25% 92% / 100%);
--tone-91aeb2:hsl(187 18% 36% / 100%);
--tone-7897a1:hsl(195 18% 36% / 100%);
--tone-83bebd:hsl(179 31% 36% / 100%);
--tone-102834:hsl(200 25% 95% / 100%);
--tone-091923:hsl(203 25% 96% / 100%);
--tone-28414d:hsl(199 25% 92% / 100%);
--tone-84abb2:hsl(189 23% 36% / 100%);
--tone-4a7480:hsl(193 25% 71% / 100%);
--tone-789aa3:hsl(193 19% 36% / 100%);
--tone-e7eecb:hsl(72 51% 32% / 100%);
--tone-aeaf82:hsl(61 22% 36% / 100%);
--tone-89aaa9:hsl(178 16% 36% / 100%);
--tone-527780:hsl(192 22% 71% / 100%);
--tone-d1dfdc:hsl(167 18% 20% / 100%);
--tone-38515b:hsl(197 24% 73% / 100%);
--tone-0a1b25:hsl(202 25% 96% / 100%);
--tone-0005:rgb(22 43 57 / 8%);
--tone-0e242e:hsl(199 25% 95% / 100%);
--tone-9db5b7:hsl(185 15% 20% / 100%);
--tone-45616b:hsl(196 22% 72% / 100%);
--tone-091b24:hsl(200 25% 96% / 100%);
--tone-91aaaf:hsl(190 16% 36% / 100%);
--tone-2a4952:hsl(194 25% 92% / 100%);
--tone-e8f8f5:hsl(169 53% 32% / 100%);
--tone-477782:hsl(191 25% 71% / 100%);
--tone-102d38:hsl(197 25% 94% / 100%);
--tone-d2ebe5:hsl(166 38% 20% / 100%);
--tone-1a4b53:hsl(188 25% 92% / 100%);
--tone-72b8b9:hsl(181 34% 36% / 100%);
--tone-244451:hsl(197 25% 92% / 100%);
--tone-15313d:hsl(198 25% 94% / 100%);
--tone-07141d:hsl(205 25% 96% / 100%);
--tone-06141ca8:hsl(202 25% 96% / 66%);
--tone-06141c88:hsl(202 25% 96% / 53%);
--tone-7eb8b7:hsl(179 29% 36% / 100%);
--tone-0a1e29dc:hsl(201 25% 95% / 86%);
--tone-32525d:hsl(195 25% 73% / 100%);
--tone-b8cdcc:hsl(177 17% 20% / 100%);
--tone-57808a:hsl(192 23% 36% / 100%);
--tone-3e6571:hsl(194 25% 72% / 100%);
--tone-071219:hsl(203 25% 96% / 100%);
--tone-0b2530:hsl(198 25% 95% / 100%);
--tone-041017:hsl(202 25% 97% / 100%);
--tone-557582:hsl(197 21% 70% / 100%);
--tone-51d9b999:hsl(166 64% 36% / 60%);
--tone-15333e:hsl(196 25% 94% / 100%);
--tone-6b9e9b:hsl(176 21% 36% / 100%);
--tone-517682:hsl(195 23% 71% / 100%);
--tone-ce9f69:hsl(32 51% 36% / 100%);
--tone-edd0a4:hsl(36 67% 32% / 100%);
--tone-0007:rgb(22 43 57 / 12%);
--tone-edca8b:hsl(39 73% 32% / 100%);
--tone-020b14:hsl(210 25% 97% / 100%);
--tone-426577:hsl(200 25% 71% / 100%);
--tone-5a8791:hsl(191 23% 36% / 100%);
--tone-6f9ba7:hsl(193 24% 36% / 100%);
--tone-8bb7bd:hsl(187 27% 36% / 100%);
--tone-102936:hsl(201 25% 94% / 100%);
--tone-89b1b1:hsl(180 20% 36% / 100%);
--tone-d2c899:hsl(49 39% 20% / 100%);
--tone-7f9ba5:hsl(196 17% 36% / 100%);
--tone-76b9ea:hsl(205 73% 32% / 100%);
--tone-0e313c:hsl(194 25% 94% / 100%);
--tone-d8eff5:hsl(192 59% 32% / 100%);
--tone-a9c4cc:hsl(194 26% 20% / 100%);
--tone-72939c:hsl(193 18% 36% / 100%);
--tone-91b2bc:hsl(194 24% 20% / 100%);
--tone-102a34:hsl(197 25% 95% / 100%);
--tone-e4f1ed:hsl(162 32% 20% / 100%);
--tone-e8f3ed:hsl(147 31% 20% / 100%);
--tone-0b2029:hsl(198 25% 95% / 100%);
--tone-a7c4c7:hsl(186 22% 20% / 100%);
--tone-d7eaff:hsl(212 75% 32% / 100%);
--tone-2d4a55:hsl(197 25% 91% / 100%);
--tone-0d222c:hsl(199 25% 95% / 100%);
--tone-bdd0cf:hsl(177 17% 20% / 100%);
--tone-72909a:hsl(195 17% 36% / 100%);
--tone-102934:hsl(198 25% 95% / 100%);
--tone-0a202a:hsl(199 25% 95% / 100%);
--tone-82abb2:hsl(189 24% 36% / 100%);
--tone-adc4c8:hsl(189 20% 20% / 100%);
--tone-4a6a73:hsl(193 22% 71% / 100%);
--tone-c7d7d5:hsl(173 17% 20% / 100%);
--tone-1c3340:hsl(202 25% 93% / 100%);
--tone-f4e6bd:hsl(45 71% 32% / 100%);
--tone-c8eee4:hsl(164 53% 32% / 100%);
--tone-ffd1c9:hsl(9 75% 32% / 100%);
--tone-d1e7f3:hsl(201 59% 32% / 100%);
--tone-32505a:hsl(195 25% 73% / 100%);
--tone-9cc0c2:hsl(183 24% 20% / 100%);
--tone-b4ccca:hsl(175 19% 20% / 100%);
--tone-718f9b:hsl(197 17% 36% / 100%);
--tone-e3f0eb:hsl(157 30% 20% / 100%);
--tone-c7d8d6:hsl(173 18% 20% / 100%);
--tone-2c4a56:hsl(197 25% 91% / 100%);
--tone-0b202b:hsl(201 25% 95% / 100%);
--tone-44616a:hsl(194 22% 72% / 100%);
--tone-e0ad5640:hsl(38 65% 36% / 25%);
--tone-819ea5:hsl(192 17% 36% / 100%);
--tone-d0deda:hsl(163 18% 20% / 100%);
--tone-173846:hsl(198 25% 93% / 100%);
--tone-5d8991:hsl(189 22% 36% / 100%);
--tone-edf5ed:hsl(120 29% 20% / 100%);
--tone-235361:hsl(194 25% 91% / 100%);
--tone-93c5c4:hsl(179 30% 20% / 100%);
--tone-a8c4c8:hsl(188 23% 20% / 100%);
--tone-152c38:hsl(201 25% 94% / 100%);
--tone-4a6c7d:hsl(200 25% 71% / 100%);
--tone-214359:hsl(204 25% 92% / 100%);
--tone-14323b:hsl(194 25% 94% / 100%);
--tone-53878a:hsl(183 25% 36% / 100%);
--tone-d3eee5:hsl(160 44% 32% / 100%);
--tone-342a2d:hsl(342 11% 93% / 100%);
--tone-996e70:hsl(357 17% 36% / 100%);
--tone-ffe0d7:hsl(14 75% 32% / 100%);
--tone-dbe8c5:hsl(82 43% 32% / 100%);
--tone-839f92:hsl(152 13% 36% / 100%);
--tone-809ba4:hsl(195 17% 36% / 100%);
--tone-2c4953:hsl(195 25% 92% / 100%);
--tone-c8d9d5:hsl(166 18% 20% / 100%);
--tone-2d4c59:hsl(198 25% 73% / 100%);
--tone-0d222d:hsl(201 25% 95% / 100%);
--tone-89a7ad:hsl(190 18% 36% / 100%);
--tone-496570:hsl(197 21% 71% / 100%);
--tone-87a3a9:hsl(191 17% 36% / 100%);
--tone-132d38:hsl(198 25% 94% / 100%);
--tone-748d98:hsl(198 15% 36% / 100%);
--tone-e9dba8:hsl(47 60% 32% / 100%);
--tone-ffc46e99:hsl(36 75% 32% / 60%);
--tone-4b737a:hsl(189 24% 71% / 100%);
--tone-183946:hsl(197 25% 93% / 100%);
--tone-e0efeb:hsl(164 32% 20% / 100%);
--tone-28515e:hsl(194 25% 73% / 100%);
--tone-829da5:hsl(194 16% 36% / 100%);
--tone-bdd3c7:hsl(147 20% 20% / 100%);
--tone-66b4db:hsl(200 62% 36% / 100%);
--tone-143c52:hsl(201 25% 93% / 100%);
--tone-5c9fbd:hsl(199 42% 36% / 100%);
--tone-e0b96e:hsl(39 65% 32% / 100%);
--tone-3b3024:hsl(31 24% 93% / 100%);
--tone-aa8a51:hsl(38 35% 36% / 100%);
--tone-c494d1:hsl(287 40% 20% / 100%);
--tone-382941:hsl(278 23% 93% / 100%);
--tone-956aa4:hsl(284 24% 36% / 100%);
--tone-294753:hsl(197 25% 92% / 100%);
--tone-c6dad9:hsl(177 21% 20% / 100%);
--tone-35525e:hsl(198 25% 73% / 100%);
--tone-102733:hsl(201 25% 95% / 100%);
--tone-b8ced0:hsl(185 20% 20% / 100%);
--tone-f3f6f3:hsl(120 14% 20% / 100%);
--tone-2a4551:hsl(198 25% 92% / 100%);
--tone-0c2531:hsl(199 25% 95% / 100%);
--tone-b9c9cb:hsl(187 15% 20% / 100%);
--tone-29454f:hsl(196 25% 92% / 100%);
--tone-a9c4c6:hsl(184 20% 20% / 100%);
--tone-eef4ef:hsl(130 21% 20% / 100%);
--tone-819fa6:hsl(191 17% 36% / 100%);
--tone-9ab4b8:hsl(188 17% 20% / 100%);
--tone-adc4c7:hsl(187 19% 20% / 100%);
--tone-3a5b66:hsl(195 25% 72% / 100%);
--tone-9aa582:hsl(79 16% 36% / 100%);
--tone-24383d:hsl(192 25% 93% / 100%);
--tone-e8ebd4:hsl(68 37% 20% / 100%);
--tone-40514d:hsl(166 12% 73% / 100%);
--tone-d3d8b4:hsl(68 32% 20% / 100%);
--tone-819ca5:hsl(195 17% 36% / 100%);
--tone-9aa387:hsl(79 13% 36% / 100%);
--tone-10252e:hsl(198 25% 95% / 100%);
--tone-eaf1e8:hsl(107 24% 20% / 100%);
--tone-03101ab3:hsl(206 25% 97% / 70%);
--tone-4d665f:hsl(163 14% 72% / 100%);
--tone-18313a:hsl(196 25% 94% / 100%);
--tone-c9cd9d:hsl(65 32% 20% / 100%);
--tone-7a9694:hsl(176 12% 36% / 100%);
--tone-e4eeea:hsl(156 23% 20% / 100%);
--tone-36515a:hsl(195 25% 73% / 100%);
--tone-d5e2da:hsl(143 18% 20% / 100%);
--tone-3b5559:hsl(188 20% 73% / 100%);
--tone-ecedcb:hsl(62 49% 32% / 100%);
--tone-c4d6d1:hsl(163 18% 20% / 100%);
--tone-1d3b44:hsl(194 25% 93% / 100%);
--tone-385862:hsl(194 25% 73% / 100%);
--tone-1b343d:hsl(196 25% 94% / 100%);
--tone-e2ece7:hsl(150 21% 20% / 100%);
--tone-a7c4c4:hsl(180 20% 20% / 100%);
--tone-132b34:hsl(196 25% 94% / 100%);
--tone-465e5e:hsl(180 15% 72% / 100%);
--tone-9fa67e:hsl(71 18% 36% / 100%);
--tone-354642:hsl(166 14% 92% / 100%);
--tone-f0f0d4:hsl(60 48% 32% / 100%);
--tone-4b6058:hsl(157 12% 72% / 100%);
--tone-597677:hsl(182 14% 71% / 100%);
--tone-c0dad7:hsl(173 26% 20% / 100%);
--tone-b7cbd0:hsl(192 21% 20% / 100%);
--tone-8aabb2:hsl(191 21% 36% / 100%);
--tone-eff5ee:hsl(111 26% 20% / 100%);
--tone-8caeb1:hsl(185 19% 36% / 100%);
--tone-2c4955:hsl(198 25% 91% / 100%);
--tone-b5cacc:hsl(185 18% 20% / 100%);
--tone-edf4ee:hsl(129 24% 20% / 100%);
--tone-203d48:hsl(197 25% 93% / 100%);
--tone-b5ccce:hsl(185 20% 20% / 100%);
--tone-506874:hsl(200 18% 71% / 100%);
--tone-c5d9dc:hsl(188 25% 20% / 100%);
--tone-1a313d:hsl(201 25% 94% / 100%);
--tone-95e2c9:hsl(161 57% 32% / 100%);
--tone-163b38:hsl(175 25% 94% / 100%);
--tone-54877a:hsl(165 23% 70% / 100%);
--tone-ffe09b:hsl(41 75% 32% / 100%);
--tone-3c3423:hsl(41 25% 93% / 100%);
--tone-88764b:hsl(42 25% 71% / 100%);
--tone-ffc1b5:hsl(10 75% 32% / 100%);
--tone-482d30:hsl(353 23% 92% / 100%);
--tone-a4696b:hsl(358 24% 36% / 100%);
--tone-d2b5fd:hsl(264 75% 32% / 100%);
--tone-322c47:hsl(253 23% 92% / 100%);
--tone-857399:hsl(268 16% 36% / 100%);
--tone-afd3f5:hsl(209 75% 32% / 100%);
--tone-213b53:hsl(209 25% 92% / 100%);
--tone-607f9e:hsl(210 24% 36% / 100%);
--tone-315360:hsl(197 25% 73% / 100%);
--tone-102a35:hsl(198 25% 94% / 100%);
--tone-a6c0c5:hsl(190 21% 20% / 100%);
--tone-31515d:hsl(196 25% 73% / 100%);
--tone-14303b:hsl(197 25% 94% / 100%);
--tone-8eb4bb:hsl(189 25% 36% / 100%);
--tone-edf3ee:hsl(130 20% 20% / 100%);
--tone-355363:hsl(201 25% 73% / 100%);
--tone-547681:hsl(195 21% 70% / 100%);
--tone-c9dddf:hsl(185 26% 20% / 100%);
--tone-a3bdc1:hsl(188 19% 20% / 100%);
--tone-9fc0c5:hsl(188 25% 20% / 100%);
--tone-40606b:hsl(195 25% 72% / 100%);
--tone-2d4955:hsl(198 25% 91% / 100%);
--tone-dce9e7:hsl(171 23% 20% / 100%);
--tone-2b4a56:hsl(197 25% 91% / 100%);
--tone-9cbdc3:hsl(189 25% 20% / 100%);
--tone-dce8e7:hsl(175 21% 20% / 100%);
--tone-dde8e5:hsl(164 19% 20% / 100%);
--tone-a5bec2:hsl(188 19% 20% / 100%);
--tone-30515d:hsl(196 25% 73% / 100%);
--tone-afc7ca:hsl(187 20% 20% / 100%);
--tone-607e89:hsl(196 18% 36% / 100%);
--tone-e1ebe6:hsl(150 20% 20% / 100%);
--tone-9ebdc2:hsl(188 23% 20% / 100%);
--tone-102e3a:hsl(197 25% 94% / 100%);
--tone-b1cace:hsl(188 23% 20% / 100%);
--tone-a9c5c9:hsl(188 23% 20% / 100%);
--tone-43616d:hsl(197 24% 72% / 100%);
--tone-abc4c7:hsl(186 20% 20% / 100%);
--tone-436271:hsl(200 25% 72% / 100%);
--tone-b1cdd1:hsl(188 26% 20% / 100%);
--tone-eef2eb:hsl(94 21% 20% / 100%);
--tone-4b7d83:hsl(186 25% 71% / 100%);
--tone-a4c0c5:hsl(189 22% 20% / 100%);
--tone-a7c1c6:hsl(190 21% 20% / 100%);
--tone-3a555b:hsl(191 22% 73% / 100%);
--tone-e3e9d0:hsl(74 36% 20% / 100%);
--tone-bad0cd:hsl(172 19% 20% / 100%);
--tone-eff1dc:hsl(66 43% 32% / 100%);
--tone-c8dad4:hsl(160 20% 20% / 100%);
--tone-718078:hsl(148 6% 36% / 100%);
--tone-c2c494:hsl(63 29% 20% / 100%);
--tone-1c343c:hsl(195 25% 94% / 100%);
--tone-e5e9c9:hsl(68 42% 32% / 100%);
--tone-c9dbd4:hsl(157 20% 20% / 100%);
--tone-e7eddf:hsl(86 28% 20% / 100%);
--tone-b8c7a5:hsl(86 23% 20% / 100%);
--tone-5b7775:hsl(176 13% 71% / 100%);
--tone-b7d0cc:hsl(170 21% 20% / 100%);
--tone-45605f:hsl(178 16% 72% / 100%);
--tone-9fc6c4:hsl(177 25% 20% / 100%);
--tone-c0c29a:hsl(63 25% 20% / 100%);
--tone-4a6257:hsl(153 14% 72% / 100%);
--tone-f4f5de:hsl(63 53% 32% / 100%);
--tone-5b796a:hsl(150 14% 71% / 100%);
--tone-d3dfcb:hsl(96 24% 20% / 100%);
--tone-f1f0c8:hsl(59 59% 32% / 100%);
--tone-9bb6b6:hsl(180 16% 20% / 100%);
--tone-698884:hsl(172 13% 36% / 100%);
--tone-cbdfd4:hsl(147 24% 20% / 100%);
--tone-2d4850:hsl(194 25% 92% / 100%);
--tone-a2d8d2:hsl(173 41% 32% / 100%);
--tone-244652:hsl(196 25% 92% / 100%);
--tone-dce7e8:hsl(185 21% 20% / 100%);
--tone-102a36:hsl(199 25% 94% / 100%);
--tone-476371:hsl(200 23% 72% / 100%);
--tone-acc4cd:hsl(196 25% 20% / 100%);
--tone-9de3db:hsl(173 56% 32% / 100%);
--tone-1c414c:hsl(194 25% 93% / 100%);
--tone-3b5a69:hsl(200 25% 72% / 100%);
--tone-142f3c:hsl(200 25% 94% / 100%);
--tone-e4eff1:hsl(189 32% 20% / 100%);
--tone-b8ccd4:hsl(197 25% 20% / 100%);
--tone-bbd0d8:hsl(197 27% 20% / 100%);
--tone-173643:hsl(198 25% 93% / 100%);
--tone-466471:hsl(198 23% 72% / 100%);
--tone-294c59:hsl(196 25% 91% / 100%);
--tone-b5d9dc:hsl(185 36% 20% / 100%);
--tone-a8e6da:hsl(168 55% 32% / 100%);
--tone-91c7c0:hsl(172 33% 20% / 100%);
--tone-9a9bac:hsl(237 10% 36% / 100%);
--tone-172c39:hsl(203 25% 94% / 100%);
--tone-1c3440:hsl(200 25% 93% / 100%);
--tone-436270:hsl(199 25% 72% / 100%);
--tone-e7eef0:hsl(193 23% 20% / 100%);
--tone-618892:hsl(192 20% 36% / 100%);
--tone-346475:hsl(196 25% 72% / 100%);
--tone-19313d:hsl(200 25% 94% / 100%);
--tone-0b222c:hsl(198 25% 95% / 100%);
--tone-304c58:hsl(198 25% 73% / 100%);
--tone-b3cdd0:hsl(186 24% 20% / 100%);
--tone-edf4f1:hsl(154 24% 20% / 100%);
--tone-16303c:hsl(199 25% 94% / 100%);
--tone-57717c:hsl(198 18% 71% / 100%);
--tone-10252f:hsl(199 25% 95% / 100%);
--tone-294956:hsl(197 25% 92% / 100%);
--tone-b4cbcc:hsl(183 19% 20% / 100%);
--tone-edab78:hsl(26 75% 32% / 100%);
--tone-7cb9e3:hsl(204 65% 32% / 100%);
--tone-879a9f:hsl(193 11% 36% / 100%);
--tone-c4abef:hsl(262 68% 32% / 100%);
--tone-8eafb8:hsl(193 23% 36% / 100%);
--tone-426674:hsl(197 25% 72% / 100%);
--tone-244754:hsl(196 25% 92% / 100%);
--tone-eff5f2:hsl(150 23% 20% / 100%);
--tone-8eafb5:hsl(189 21% 36% / 100%);
--tone-345e6a:hsl(193 25% 72% / 100%);
--tone-18343f:hsl(197 25% 94% / 100%);
--tone-55707c:hsl(198 19% 71% / 100%);
--tone-071923:hsl(201 25% 96% / 100%);
--tone-0006:rgb(22 43 57 / 10%);
--tone-6d8e98:hsl(194 17% 36% / 100%);
--tone-aac2c6:hsl(189 20% 20% / 100%);
--tone-80a59e:hsl(169 17% 36% / 100%);
--tone-c5dddc:hsl(178 26% 20% / 100%);
--tone-73a596:hsl(162 22% 36% / 100%);
--tone-8eb6ac:hsl(165 22% 36% / 100%);
--tone-23414c:hsl(196 25% 92% / 100%);
--tone-587884:hsl(196 20% 36% / 100%);
--tone-385661:hsl(196 25% 73% / 100%);
--tone-799ca2:hsl(189 18% 36% / 100%);
--tone-c2b3db:hsl(263 36% 20% / 100%);
--tone-c7d9df:hsl(195 27% 20% / 100%);
--tone-102731:hsl(198 25% 95% / 100%);
--tone-33515d:hsl(197 25% 73% / 100%);
--tone-7fa7b4:hsl(195 26% 36% / 100%);
--tone-456a7c:hsl(200 25% 71% / 100%);
--tone-c5c2a1:hsl(55 24% 20% / 100%);
--tone-a5b9c3:hsl(200 20% 20% / 100%);
--tone-a9cbcc:hsl(182 26% 20% / 100%);
--tone-496673:hsl(199 22% 71% / 100%);
--tone-132b37:hsl(200 25% 94% / 100%);
--tone-a5bfc4:hsl(190 21% 20% / 100%);
}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:86px;padding:8px 12px;border:1px solid var(--line2);border-radius:5px;background:var(--panel);color:var(--text);font-size:.8rem;font-weight:700;white-space:nowrap}.theme-toggle:hover{background:var(--panel2)}.theme-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
:root[data-theme="light"] .workspace{background:radial-gradient(circle at 52% 20%,#fff,#f3f6f8 80%)}
:root[data-theme="light"] .rail{background:linear-gradient(180deg,#f5f8fa,#eaf0f4)}
:root[data-theme="light"] .map-canvas{background:#eef3f6}
:root[data-theme="light"] .cad-top{fill:#c5d3dc}
:root[data-theme="light"] .cad-front{fill:#9fafbb}
:root[data-theme="light"] .cad-right{fill:#8295a3}
:root[data-theme="light"] .cad-back{fill:#adbdc7}
:root[data-theme="light"] .floor-slab .cad-top{fill:#e0e8ed;stroke:#8499a7}
:root[data-theme="light"] .floor-slab .cad-front{fill:#bdccd6}
:root[data-theme="light"] .floor-slab .cad-right{fill:#a9bbc7}
:root[data-theme="light"] .cad-grid{stroke:#526e80;opacity:.2}
:root[data-theme="light"] .cad-label{fill:#173443}
:root[data-theme="light"] .cad-meta{fill:#425e6c}
:root[data-theme="light"] .belt-deck{fill:#8299a8;stroke:#425c6c}
:root[data-theme="light"] .belt-side{fill:#a9bdc9;stroke:#425c6c}
:root[data-theme="light"] .belt-shadow{fill:#b9cbd5;stroke:#627c8d}
:root[data-theme="light"] .belt-rail{stroke:#38576a}
:root[data-theme="light"] .belt-roller{stroke:#38576a}
:root[data-theme="light"] button:focus-visible,:root[data-theme="light"] a:focus-visible,:root[data-theme="light"] [role="button"]:focus-visible{outline-color:#1f6494}
:root[data-theme="light"] svg [fill="#70dec6"]{fill:hsl(167 63% 32% / 100%)}
:root[data-theme="light"] svg [stroke="#70dec6"]{stroke:hsl(167 63% 32% / 100%)}
:root[data-theme="light"] svg [fill="#ffce72"]{fill:hsl(39 75% 32% / 100%)}
:root[data-theme="light"] svg [stroke="#ffce72"]{stroke:hsl(39 75% 32% / 100%)}
:root[data-theme="light"] svg [fill="#607b88"]{fill:hsl(200 17% 36% / 100%)}
:root[data-theme="light"] svg [stroke="#607b88"]{stroke:hsl(200 17% 36% / 100%)}
:root[data-theme="light"] svg [fill="#173946"]{fill:hsl(197 25% 93% / 100%)}
:root[data-theme="light"] svg [stroke="#173946"]{stroke:hsl(197 25% 93% / 100%)}
:root[data-theme="light"] svg [fill="#c2d4d8"]{fill:hsl(191 22% 20% / 100%)}
:root[data-theme="light"] svg [stroke="#c2d4d8"]{stroke:hsl(191 22% 20% / 100%)}
:root[data-theme="light"] svg [fill="#020a10"]{fill:hsl(206 25% 97% / 100%)}
:root[data-theme="light"] svg [stroke="#020a10"]{stroke:hsl(206 25% 97% / 100%)}
:root[data-theme="light"] svg [fill="#edab78"]{fill:hsl(26 75% 32% / 100%)}
:root[data-theme="light"] svg [stroke="#edab78"]{stroke:hsl(26 75% 32% / 100%)}
:root[data-theme="light"] svg [fill="#7cb9e3"]{fill:hsl(204 65% 32% / 100%)}
:root[data-theme="light"] svg [stroke="#7cb9e3"]{stroke:hsl(204 65% 32% / 100%)}
:root[data-theme="light"] svg [fill="#879a9f"]{fill:hsl(193 11% 36% / 100%)}
:root[data-theme="light"] svg [stroke="#879a9f"]{stroke:hsl(193 11% 36% / 100%)}
:root[data-theme="light"] svg [fill="#c4abef"]{fill:hsl(262 68% 32% / 100%)}
:root[data-theme="light"] svg [stroke="#c4abef"]{stroke:hsl(262 68% 32% / 100%)}
:root[data-theme="light"] svg [fill="#bcccd1"]{fill:hsl(194 19% 20% / 100%)}
:root[data-theme="light"] svg [stroke="#bcccd1"]{stroke:hsl(194 19% 20% / 100%)}
:root[data-theme="light"] svg [fill="#c9dae0"]{fill:hsl(196 27% 20% / 100%)}
:root[data-theme="light"] svg [stroke="#c9dae0"]{stroke:hsl(196 27% 20% / 100%)}
:root[data-theme="light"] svg [fill="#e0eef0"]{fill:hsl(188 35% 20% / 100%)}
:root[data-theme="light"] svg [stroke="#e0eef0"]{stroke:hsl(188 35% 20% / 100%)}
:root[data-theme="light"] svg [fill="#fb7973"]{fill:hsl(3 75% 32% / 100%)}
:root[data-theme="light"] svg [stroke="#fb7973"]{stroke:hsl(3 75% 32% / 100%)}
:root[data-theme="light"] svg [fill="#77b8e3"]{fill:hsl(204 66% 32% / 100%)}
:root[data-theme="light"] svg [stroke="#77b8e3"]{stroke:hsl(204 66% 32% / 100%)}
:root[data-theme="light"] svg [fill="#112f3b"]{fill:hsl(197 25% 94% / 100%)}
:root[data-theme="light"] svg [stroke="#112f3b"]{stroke:hsl(197 25% 94% / 100%)}
:root[data-theme="light"] svg [fill="#dcefed"]{fill:hsl(174 37% 20% / 100%)}
:root[data-theme="light"] svg [stroke="#dcefed"]{stroke:hsl(174 37% 20% / 100%)}
:root[data-theme="light"] svg [fill="#bbd3d7"]{fill:hsl(189 26% 20% / 100%)}
:root[data-theme="light"] svg [stroke="#bbd3d7"]{stroke:hsl(189 26% 20% / 100%)}
:root[data-theme="light"] svg [fill="#ff7200"]{fill:hsl(27 65% 36% / 100%)}
:root[data-theme="light"] svg [stroke="#ff7200"]{stroke:hsl(27 65% 36% / 100%)}
:root[data-theme="light"] svg [fill="#ffe200"]{fill:hsl(53 65% 36% / 100%)}
:root[data-theme="light"] svg [stroke="#ffe200"]{stroke:hsl(53 65% 36% / 100%)}
:root[data-theme="light"] svg [fill="#9ba5aa"]{fill:hsl(200 8% 36% / 100%)}
:root[data-theme="light"] svg [stroke="#9ba5aa"]{stroke:hsl(200 8% 36% / 100%)}
:root[data-theme="light"] svg [fill="#c8d5ee"]{fill:hsl(219 53% 32% / 100%)}
:root[data-theme="light"] svg [stroke="#c8d5ee"]{stroke:hsl(219 53% 32% / 100%)}
:root[data-theme="light"] svg [fill="#f00000"]{fill:hsl(0 65% 36% / 100%)}
:root[data-theme="light"] svg [stroke="#f00000"]{stroke:hsl(0 65% 36% / 100%)}
:root[data-theme="light"] svg [fill="#0754c5"]{fill:hsl(216 25% 71% / 100%)}
:root[data-theme="light"] svg [stroke="#0754c5"]{stroke:hsl(216 25% 71% / 100%)}
:root[data-theme="light"] svg [fill="#ffbd6d"]{fill:hsl(33 75% 32% / 100%)}
:root[data-theme="light"] svg [stroke="#ffbd6d"]{stroke:hsl(33 75% 32% / 100%)}
:root[data-theme="light"] svg [fill="#eef2f4"]{fill:hsl(200 21% 20% / 100%)}
:root[data-theme="light"] svg [stroke="#eef2f4"]{stroke:hsl(200 21% 20% / 100%)}
:root[data-theme="light"] svg [fill="#19313d"]{fill:hsl(200 25% 94% / 100%)}
:root[data-theme="light"] svg [stroke="#19313d"]{stroke:hsl(200 25% 94% / 100%)}
:root[data-theme="light"] svg [fill="#203d49"]{fill:hsl(198 25% 93% / 100%)}
:root[data-theme="light"] svg [stroke="#203d49"]{stroke:hsl(198 25% 93% / 100%)}
:root[data-theme="light"] svg [fill="#64818e"]{fill:hsl(199 17% 36% / 100%)}
:root[data-theme="light"] svg [stroke="#64818e"]{stroke:hsl(199 17% 36% / 100%)}
:root[data-theme="light"] svg [fill="#b5c7ce"]{fill:hsl(197 20% 20% / 100%)}
:root[data-theme="light"] svg [stroke="#b5c7ce"]{stroke:hsl(197 20% 20% / 100%)}
:root[data-theme="light"] svg [fill="#f3f6f8"]{fill:hsl(204 26% 20% / 100%)}
:root[data-theme="light"] svg [stroke="#f3f6f8"]{stroke:hsl(204 26% 20% / 100%)}
:root[data-theme="light"] svg [fill="#07131b"]{fill:hsl(204 25% 96% / 100%)}
:root[data-theme="light"] svg [stroke="#07131b"]{stroke:hsl(204 25% 96% / 100%)}
:root[data-theme="light"] svg [fill="#1b3742"]{fill:hsl(197 25% 93% / 100%)}
:root[data-theme="light"] svg [stroke="#1b3742"]{stroke:hsl(197 25% 93% / 100%)}
:root[data-theme="light"] svg [fill="#0b202b"]{fill:hsl(201 25% 95% / 100%)}
:root[data-theme="light"] svg [stroke="#0b202b"]{stroke:hsl(201 25% 95% / 100%)}
:root[data-theme="light"] svg [fill="#49636d"]{fill:hsl(197 20% 72% / 100%)}
:root[data-theme="light"] svg [stroke="#49636d"]{stroke:hsl(197 20% 72% / 100%)}
:root[data-theme="light"] svg [fill="#4a6873"]{fill:hsl(196 22% 71% / 100%)}
:root[data-theme="light"] svg [stroke="#4a6873"]{stroke:hsl(196 22% 71% / 100%)}
:root[data-theme="light"] svg [fill="#08141e"]{fill:hsl(207 25% 96% / 100%)}
:root[data-theme="light"] svg [stroke="#08141e"]{stroke:hsl(207 25% 96% / 100%)}
:root[data-theme="light"] svg [fill="#41616d"]{fill:hsl(196 25% 72% / 100%)}
:root[data-theme="light"] svg [stroke="#41616d"]{stroke:hsl(196 25% 72% / 100%)}
:root[data-theme="light"] [style*="--node:#70dec6"]{--node:#087761!important}
:root[data-theme="light"] [style*="--node:#ffce72"]{--node:#8a5a00!important}
:root[data-theme="light"] [style*="--node:#fb7973"]{--node:#b43832!important}
:root[data-theme="light"] [style*="--node:#77b8e3"]{--node:#1f6494!important}
:root[data-theme="light"] [style*="--node:#bc9ef6"]{--node:#7041ae!important}

/* Keep the added control inside the existing mobile shell. */
@media(max-width:1060px){.app-shell{grid-template-columns:minmax(0,1fr)}.rail{min-width:0;max-width:100%}}
:root[data-theme="light"] [style*="--lamp:#70dec6"]{--lamp:#087761!important}
:root[data-theme="light"] [style*="--lamp:#ffce72"]{--lamp:#8a5a00!important}
:root[data-theme="light"] [style*="--lamp:#fb7973"]{--lamp:#b43832!important}
:root[data-theme="light"] [style*="--lamp:#77b8e3"]{--lamp:#1f6494!important}
