Spaces:
Running
Running
File size: 89,748 Bytes
da5cba1 6abb7be da5cba1 6abb7be da5cba1 | 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 | /* MiMo RL Environment Explorer. One stylesheet: tokens, base, components, then one block per view. */
/* ── tokens ─────────────────────────────────────────────────────────── */
:root {
--bg: #fafafa;
--surface: #ffffff;
--surface-2: #f4f4f5;
--surface-3: #e9e9ec;
--border: #e6e6ea;
--border-strong: #d2d2d8;
--text: #18181b;
--muted: #55555e;
--faint: #8b8b94;
--primary: #18181b;
--on-primary: #ffffff;
--focus: #2563eb;
--ok: #15803d;
--warn: #b45309;
--bad: #c2410c;
--err: #dc2626;
--live: #2563eb;
--shadow-sm: 0 1px 2px rgba(16, 16, 24, .05);
--shadow: 0 1px 2px rgba(16, 16, 24, .04), 0 6px 20px -6px rgba(16, 16, 24, .10);
--shadow-lg: 0 24px 64px -12px rgba(16, 16, 24, .28), 0 2px 6px rgba(16, 16, 24, .06);
--c-code: #2f6bdc;
--c-webdev: #d23f78;
--c-cyber: #d9701f;
--c-music: #7c4ee4;
--c-general: #0f8f6a;
/* rollouts side by side (A-D): the reference palette's first four categorical slots, validated for both themes */
--s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
--r-sm: 6px;
--r: 10px;
--r-lg: 14px;
--wrap: 1600px;
--gutter: 32px;
--header-h: 56px;
--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #0b0b0d; --surface: #131316; --surface-2: #1a1a1e; --surface-3: #232328; --border: #25252b; --border-strong: #34343c;
--text: #ececef; --muted: #a3a3ad; --faint: #72727c; --primary: #ececef; --on-primary: #111113; --focus: #60a5fa;
--ok: #4ade80; --warn: #fbbf24; --bad: #fb923c; --err: #f87171; --live: #60a5fa;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px -8px rgba(0, 0, 0, .6);
--shadow-lg: 0 24px 64px -12px rgba(0, 0, 0, .75);
--c-code: #6b9cf5; --c-webdev: #f0719f; --c-cyber: #f39a52; --c-music: #a58bfa; --c-general: #3cc79c;
--s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--bg: #0b0b0d; --surface: #131316; --surface-2: #1a1a1e; --surface-3: #232328; --border: #25252b; --border-strong: #34343c;
--text: #ececef; --muted: #a3a3ad; --faint: #72727c; --primary: #ececef; --on-primary: #111113; --focus: #60a5fa;
--ok: #4ade80; --warn: #fbbf24; --bad: #fb923c; --err: #f87171; --live: #60a5fa;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px -8px rgba(0, 0, 0, .6);
--shadow-lg: 0 24px 64px -12px rgba(0, 0, 0, .75);
--c-code: #6b9cf5; --c-webdev: #f0719f; --c-cyber: #f39a52; --c-music: #a58bfa; --c-general: #3cc79c;
--s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
color-scheme: dark;
}
/* ── base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
margin: 0; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column;
font: 14px/1.55 var(--font); font-feature-settings: "cv11", "ss01", "ss03"; -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -.011em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.prose a, a.u { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 2px; }
.prose a:hover, a.u:hover { text-decoration-color: currentColor; }
code, kbd, .mono { font-family: var(--mono); font-size: .88em; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--focus) 22%, transparent); }
.ic { flex: none; display: inline-block; vertical-align: -3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.page { padding-top: 24px; padding-bottom: 72px; }
.muted { color: var(--muted); } .faint { color: var(--faint); }
.sm { font-size: 13px; } .xs { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
.grow { flex: 1; }
.noscroll { overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* ── progress bar (route loads and long fetches) ────────────────────── */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--focus); box-shadow: 0 0 8px var(--focus); transition: width .25s ease, opacity .3s ease .1s; }
/* ── header ─────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(12px);
-webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--border); }
.top-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; white-space: nowrap; }
.logo { flex: none; display: block; }
.lg-bg { fill: var(--primary); } .lg-on { fill: var(--on-primary); } .lg-off { fill: var(--on-primary); fill-opacity: .12; } .lg-acc { fill: var(--focus); }
.brand .name span { color: var(--muted); font-weight: 500; }
.brand .name span.long { color: inherit; font-weight: inherit; }
.nav .short { display: none; }
.nav { display: flex; gap: 2px; height: 100%; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); }
.nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--text); }
.nav .count { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--live); background: color-mix(in srgb, var(--live) 12%, transparent);
border-radius: 99px; padding: 1px 7px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
/* ── buttons, inputs ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 8px; white-space: nowrap;
border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-weight: 500; font-size: 13.5px; cursor: pointer;
box-shadow: var(--shadow-sm); transition: background .12s, border-color .12s, opacity .12s; }
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn.primary:hover { opacity: .88; background: var(--primary); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--muted); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.danger { color: var(--err); }
.btn.danger:hover { background: color-mix(in srgb, var(--err) 8%, var(--surface)); border-color: color-mix(in srgb, var(--err) 40%, var(--border-strong)); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; gap: 6px; }
.btn.lg { height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn .spinner { border-color: color-mix(in srgb, currentColor 30%, transparent); border-top-color: currentColor; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid transparent; background: transparent;
color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.link { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.link:hover { color: var(--text); }
.input { width: 100%; height: 38px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
outline: none; transition: border-color .12s, box-shadow .12s; }
.input:focus { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent); }
.input::placeholder { color: var(--faint); }
.input.mono { font-family: var(--mono); font-size: 13px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12.5px; font-weight: 600; }
.field > span em { font-style: normal; font-weight: 400; color: var(--faint); }
/* ── small parts ────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap;
color: var(--dc, var(--text)); background: color-mix(in srgb, var(--dc, var(--text)) 11%, transparent); }
.badge .ic { vertical-align: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dc, var(--faint)); display: inline-block; flex: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; color: var(--muted);
background: var(--surface-2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chip.outline { background: transparent; border: 1px solid var(--border); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 5px; border: 1px solid var(--border-strong);
border-bottom-width: 2px; font-size: 11px; color: var(--faint); background: var(--surface); }
.status { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap;
color: var(--muted); background: var(--surface-2); }
.status .ic { vertical-align: 0; }
.status.live { color: var(--live); background: color-mix(in srgb, var(--live) 11%, transparent); }
.status.s-done { color: var(--ok); background: color-mix(in srgb, var(--ok) 11%, transparent); }
.status.s-failed, .status.s-interrupted { color: var(--err); background: color-mix(in srgb, var(--err) 10%, transparent); }
.reward { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 22px; padding: 0 7px; border-radius: 6px;
font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.reward.full { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.reward.part { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.reward.zero { color: var(--err); background: color-mix(in srgb, var(--err) 10%, transparent); }
.reward.none { color: var(--faint); font-weight: 500; font-size: 12px; white-space: nowrap; }
.note-box { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r); font-size: 13px; line-height: 1.5;
background: var(--surface-2); color: var(--muted); }
.note-box .ic { margin-top: 1px; color: var(--faint); }
.note-box b { color: var(--text); font-weight: 600; }
.note-box.warn { background: color-mix(in srgb, var(--warn) 9%, var(--surface)); color: var(--text); }
.note-box.warn .ic { color: var(--warn); }
.note-box.err { background: color-mix(in srgb, var(--err) 8%, var(--surface)); color: var(--text); }
.note-box.err .ic { color: var(--err); }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; font-size: 13px; }
.kv dt { color: var(--faint); } .kv dd { margin: 0; overflow-wrap: anywhere; }
.kv code { font-size: 12.5px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); margin-bottom: 14px; min-width: 0; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--text); }
.crumbs .ic { color: var(--border-strong); }
.crumbs span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12px; }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 48px 16px; color: var(--muted); }
.empty-state .ic { color: var(--faint); margin-bottom: 4px; }
.empty-state h3 { color: var(--text); font-size: 15px; }
.empty-state p { max-width: 420px; font-size: 13.5px; }
.empty-state .btn { margin-top: 8px; }
.err-text { color: var(--err); }
/* ── loading ────────────────────────────────────────────────────────── */
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } }
.sk { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%);
background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.sk.line { height: 12px; } .sk.title { height: 22px; } .sk.block { height: 100%; }
.sk-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 10px; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--text); animation: spin .7s linear infinite;
display: inline-block; flex: none; }
.spinner.lg { width: 20px; height: 20px; }
.loading-row { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; padding: 12px 0; }
i.pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; animation: pulse 1.4s ease-in-out infinite; }
/* opacity only: a transform animation that keeps its end state makes this the containing block for every
fixed element inside the page (the phone filter sheet would pin to the page, not the screen) */
.fade-in { animation: fade .22s ease backwards; } /* not `both`: a kept animation makes a stacking context, and full views inside would sit under the header */
.boot { display: grid; place-items: center; min-height: 60vh; animation: fade .4s ease .25s both; }
/* ── cards and sections ─────────────────────────────────────────────── */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.panel-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.panel-h h2, .panel-h h3 { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.panel-h h2 .ic, .panel-h h3 .ic { color: var(--faint); }
.panel-h .aside { margin-left: auto; font-size: 12.5px; color: var(--faint); text-align: right; }
.panel-b { padding: 16px 18px; }
.sec-label { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin: 18px 0 8px; }
.sec-label:first-child { margin-top: 0; }
/* tables */
.tbl { overflow: auto; border: 1px solid var(--border); border-radius: var(--r); max-height: 70vh; background: var(--surface); }
.tbl table { border-collapse: collapse; font-size: 12.5px; width: max-content; min-width: 100%; }
.tbl th, .tbl td { padding: 7px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; max-width: 440px; overflow-wrap: anywhere; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { background: var(--surface-2); position: sticky; top: 0; font-weight: 600; color: var(--muted); z-index: 1; }
.tbl.sheet { max-height: calc(88vh - 160px); }
.modal-body > .tbl { max-height: calc(92vh - 150px); }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet thead th { text-align: center; color: var(--faint); font-weight: 500; font-size: 11px; padding: 4px 8px; }
.sheet tbody th { position: sticky; left: 0; background: var(--surface-2); color: var(--faint); font-weight: 500; font-size: 11px; text-align: right; padding: 6px 8px; min-width: 40px; }
.sheet thead th:first-child { position: sticky; left: 0; z-index: 2; }
.sheet td { border-right: 1px solid var(--border); white-space: nowrap; max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
.sheet td.num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet td.span { max-width: none; font-weight: 600; border-right: 0; }
.sheet td.fx { color: var(--faint); font-family: var(--mono); font-size: 11.5px; }
.sheet td.fx span { color: var(--c-code); margin-right: 4px; font-style: italic; }
.sheet tr.gap td, .sheet tr.gap th { padding: 0; height: 6px; background: var(--surface-2); }
/* code */
pre { margin: 0; }
.code-block, .prose pre, .io pre, .ev pre { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; overflow: auto;
font: 12.5px/1.55 var(--mono); max-height: 480px; tab-size: 2; }
pre.wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
pre.diff .da { color: var(--ok); } pre.diff .dd { color: var(--err); } pre.diff .dh { color: var(--faint); font-weight: 600; } pre.diff .dc { color: var(--c-code); }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.disclose { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); padding: 6px 0; }
.disclose:hover { color: var(--text); }
.disclose .ic { transition: transform .15s; }
details[open] > .disclose .ic.chev { transform: rotate(90deg); }
/* prose (task briefs, agent messages) */
.prose { font-size: 14.5px; line-height: 1.7; overflow-wrap: anywhere; color: var(--text); }
.prose > :first-child { margin-top: 0; } .prose > :last-child { margin-bottom: 0; }
.prose p { margin: .7em 0; }
.prose h4 { font-size: 14.5px; margin: 1.2em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: .6em 0; }
.prose li { margin: .2em 0; }
.prose code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.prose pre code { background: none; padding: 0; }
.prose .tbl { margin: .8em 0; }
/* ── modal, dialog, menu, toast, tooltip ────────────────────────────── */
.scrim { position: fixed; inset: 0; background: rgba(9, 9, 12, .45); z-index: 50; animation: fade .15s; }
.modal { position: fixed; inset: 4vh max(3vw, calc((100vw - 1320px) / 2)); z-index: 55; background: var(--surface); border: 1px solid var(--border);
border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: rise .18s ease; }
.modal-bar { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--border); min-height: 52px; }
.modal-bar .ic.kind { color: var(--faint); }
.modal-bar #modal-title { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.modal-body { overflow: auto; padding: 18px; flex: 1; }
.dialog { position: fixed; z-index: 60; left: 50%; top: 12vh; transform: translateX(-50%); width: min(440px, calc(100vw - 32px)); background: var(--surface);
border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: rise .18s ease; }
.dialog-h { display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 0; }
.dialog-h h2 { font-size: 16px; }
.dialog-h p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.dialog-h .icon-btn { margin: -6px -8px 0 auto; }
.dialog-b { padding: 18px 20px 20px; display: grid; gap: 14px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; }
.or::before, .or::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.fine { font-size: 12px; color: var(--faint); line-height: 1.5; }
.fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--border-strong); }
.menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 240px; background: var(--surface); border: 1px solid var(--border);
border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px; animation: rise .14s ease; }
.menu-h { padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.menu-h b { display: block; font-size: 13.5px; }
.menu-h span { font-size: 12px; color: var(--faint); }
.menu a, .menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 10px; border-radius: 6px; border: 0; background: none;
cursor: pointer; font-size: 13.5px; color: var(--text); text-align: left; }
.menu a:hover, .menu button:hover { background: var(--surface-2); }
.menu .ic { color: var(--faint); }
.acct { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 4px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface);
cursor: pointer; font-size: 13px; font-weight: 500; }
.acct-btn:hover { border-color: var(--border-strong); }
.acct-btn img, .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); flex: none; }
.acct-btn .ic { color: var(--faint); }
.tooltip { position: fixed; z-index: 90; pointer-events: none; background: var(--primary); color: var(--on-primary); font-size: 12px; padding: 6px 9px;
border-radius: 7px; box-shadow: var(--shadow-lg); max-width: 280px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 95; display: flex; align-items: center; gap: 8px;
background: var(--primary); color: var(--on-primary); padding: 9px 14px; border-radius: 9px; font-size: 13px; box-shadow: var(--shadow-lg);
max-width: min(560px, calc(100vw - 32px)); animation: rise .18s ease; }
/* ── footer ─────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--border); color: var(--faint); font-size: 12.5px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 20px; padding-bottom: 28px; }
.foot a { color: var(--muted); } .foot a:hover { color: var(--text); }
/* ═════════════════════════ EXPLORE ═════════════════════════════════ */
.ex-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 28px 0 18px; }
.ex-head h1 { font-size: 24px; letter-spacing: -.02em; }
.ex-head p { color: var(--muted); margin-top: 6px; max-width: 720px; font-size: 14.5px; }
.ex-stats { display: flex; gap: 28px; }
.ex-stats div { display: grid; }
.ex-stats b { font-size: 20px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ex-stats span { font-size: 12px; color: var(--faint); }
.domains { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.dom { position: relative; text-align: left; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); cursor: pointer;
transition: border-color .12s, box-shadow .12s; display: grid; gap: 2px; min-width: 0; }
.dom:hover { border-color: var(--border-strong); }
.dom[aria-selected="true"] { border-color: var(--dc, var(--text)); box-shadow: inset 0 0 0 1px var(--dc, var(--text)); }
.dom .name { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; }
.dom .name .ic { color: var(--dc, var(--muted)); }
.dom .n { font-size: 20px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.dom .of { font-size: 12px; font-weight: 500; color: var(--faint); }
.dom .ver { font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-card { margin-bottom: 18px; }
.map-card summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.map-card summary h2 { font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.map-card summary .ic.chev { color: var(--faint); transition: transform .15s; }
.map-card[open] summary .ic.chev { transform: rotate(90deg); }
.map-card summary .hint { margin-left: auto; font-size: 12px; color: var(--faint); }
.map { position: relative; height: 240px; margin: 0 16px 16px; }
.map svg { display: block; width: 100%; height: 100%; }
.cell rect { transition: opacity .15s; cursor: pointer; }
.cell:hover rect { opacity: .85; }
.cell.dim rect { opacity: .25; }
.cell text { pointer-events: none; font-family: var(--font); }
.cell .lbl { font-size: 12px; font-weight: 600; }
.cell .cnt { font-size: 11px; font-variant-numeric: tabular-nums; opacity: .8; }
.cell .dname { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 8px; align-items: center; padding: 10px 0;
background: linear-gradient(var(--bg) 75%, transparent); }
.search { position: relative; flex: 1; min-width: 0; }
.search > .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search input { width: 100%; height: 40px; padding: 0 44px 0 38px; border-radius: 9px; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong);
outline: none; font-size: 14px; box-shadow: var(--shadow-sm); transition: border-color .12s, box-shadow .12s; }
.search input:focus { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 16%, transparent); }
.search input::placeholder { color: var(--faint); }
.search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.toolbar .btn { height: 40px; }
.layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 28px; padding-bottom: 64px; }
.filters { position: sticky; top: calc(var(--header-h) + 62px); align-self: start; max-height: calc(100vh - var(--header-h) - 78px); overflow: hidden auto; padding: 2px 8px 12px 6px; margin-left: -6px; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 13px; margin: 2px 0 8px; }
.facet { border-top: 1px solid var(--border); padding: 12px 0 8px; }
.facet h3 { margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.facet > summary { display: flex; align-items: center; gap: 8px; padding: 2px 0 6px; }
.facet > summary .fsel { font-size: 11.5px; color: var(--focus); font-weight: 500; }
.facet > summary .ic.chev { margin-left: auto; color: var(--faint); transition: transform .15s; }
.facet:not([open]) > summary .ic.chev { transform: rotate(-90deg); }
.facet:not([open]) { padding-bottom: 4px; }
.sheet-scrim, .sheet-foot { display: none; }
.opt { display: flex; align-items: center; gap: 9px; width: calc(100% + 12px); padding: 4px 6px; margin: 0 -6px; border-radius: 6px; background: none; border: 0;
cursor: pointer; text-align: left; font-size: 13px; color: var(--text); }
.opt:hover { background: var(--surface-2); }
.opt .box { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--border-strong); flex: none; display: grid; place-items: center; background: var(--surface); }
.opt[aria-pressed="true"] .box { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.opt .lab { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt .c { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.opt.zero { opacity: .45; }
.facet .link { margin-top: 4px; font-size: 12.5px; }
.sheet-head { display: none; }
.only-mobile { display: none; }
.results-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 30px; margin: 2px 0 10px; }
.results-head .count { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.results-head .order { font-size: 12.5px; color: var(--faint); display: inline-flex; align-items: center; gap: 5px; }
.active { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 6px 0 10px; border-radius: 99px; background: var(--surface);
border: 1px solid var(--border-strong); font-size: 12.5px; cursor: pointer; max-width: 100%; }
.pill:hover { background: var(--surface-2); }
.pill span { color: var(--faint); }
.pill .ic { color: var(--faint); }
.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 10px; }
.card { display: flex; flex-direction: column; height: 100%; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
transition: border-color .12s, box-shadow .12s, transform .12s; min-width: 0; }
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.card .row1 { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); margin-bottom: 6px; min-width: 0; }
.card .row1 .dn { font-weight: 600; color: var(--dc); display: inline-flex; align-items: center; gap: 5px; }
.card .row1 .cat { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.card .row1 .ic { color: var(--dc); }
.card .t { font-size: 14.5px; font-weight: 600; line-height: 1.4; letter-spacing: -.006em; overflow-wrap: anywhere;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .s { font-size: 13px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; line-height: 1.5;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .chips { margin-top: auto; padding-top: 10px; }
mark { background: color-mix(in srgb, #f5c542 42%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.sentinel { height: 1px; }
.more-row { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 0 8px; }
/* ═════════════════════════ TASK ════════════════════════════════════ */
.tp-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 22px; }
.tp-head .kick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tp-head h1 { font-size: 26px; line-height: 1.25; letter-spacing: -.022em; max-width: 980px; overflow-wrap: anywhere; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 13px; color: var(--muted); }
.facts > span { display: inline-flex; align-items: center; gap: 6px; }
.facts .ic { color: var(--faint); }
.facts b { color: var(--text); font-weight: 600; }
.tp-grid { display: grid; grid-template-columns: 184px minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1px; font-size: 13px; }
.toc p { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin: 0 0 6px 10px; }
.toc a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 6px; color: var(--muted); }
.toc a:hover { color: var(--text); background: var(--surface-2); }
.toc a.on { color: var(--text); background: var(--surface-2); font-weight: 500; }
.toc a em { font-style: normal; font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.tp-body { display: grid; gap: 16px; min-width: 0; }
.tp-sec { scroll-margin-top: calc(var(--header-h) + 16px); min-width: 0; }
.tp-sec > .panel-b > :first-child { margin-top: 0; }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 16px; }
.stat { background: var(--surface-2); border-radius: var(--r); padding: 10px 12px; min-width: 0; }
.stat span { display: block; font-size: 11.5px; color: var(--faint); margin-bottom: 2px; }
.stat b { font-weight: 600; overflow-wrap: anywhere; }
.brief-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.brief-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.systems { display: grid; gap: 8px; }
.sys { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.sys > summary { display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.sys > summary:hover { background: var(--surface-2); }
.sys > summary .ic.chev { color: var(--faint); transition: transform .15s; }
.sys[open] > summary .ic.chev { transform: rotate(90deg); }
.sys > summary b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sys > summary .meta { margin-left: auto; font-size: 12px; color: var(--faint); white-space: nowrap; }
.sys[open] > summary { border-bottom: 1px solid var(--border); }
.sys-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; padding: 14px; }
.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tools li { min-width: 0; }
.sig { font-size: 12.5px; color: var(--text); overflow-wrap: anywhere; }
.sig span { color: var(--faint); }
.tools p { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.tables { display: grid; gap: 6px; align-content: start; }
.tbl-btn { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface);
cursor: pointer; text-align: left; min-width: 0; }
.tbl-btn:hover { border-color: var(--border-strong); background: var(--surface-2); }
.tbl-btn .ic { color: var(--faint); }
.tbl-btn b { font: 500 12.5px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.tbl-btn span { font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 8px; }
.file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface);
cursor: pointer; text-align: left; min-width: 0; }
.file:hover { border-color: var(--border-strong); background: var(--surface-2); }
.file .fi { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: color-mix(in srgb, var(--kc, var(--faint)) 12%, transparent);
color: var(--kc, var(--faint)); flex: none; }
.file .fx { display: grid; min-width: 0; }
.file .fn { font-size: 13px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.file .fs { font-size: 11.5px; color: var(--faint); }
.k-spreadsheet { --kc: var(--c-general); } .k-document, .k-pdf { --kc: var(--c-code); } .k-slides { --kc: var(--c-cyber); }
.k-image { --kc: var(--c-music); } .k-web { --kc: var(--c-webdev); }
.lead { font-size: 14px; line-height: 1.6; }
.steps { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 13.5px; line-height: 1.55; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2);
font-size: 11.5px; font-weight: 600; color: var(--muted); }
.steps code { font-size: 12px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checks li { border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; }
.checks li p { margin-top: 4px; font-size: 13.5px; }
.ck-top { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--faint); }
.tier { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.t-critical { color: var(--bad); } .t-important { color: var(--warn); } .t-sanity { color: var(--faint); }
.w { margin-left: auto; display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.w i { display: block; height: 4px; width: 56px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.w i b { display: block; height: 100%; background: var(--dc); }
.target { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-top: 14px; }
.parts { margin-top: 16px; border-top: 1px solid var(--border); }
.rpart { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.rpart-h b { display: block; font-size: 13.5px; }
.rpart-h span { font-size: 12px; color: var(--faint); }
.rpart dl { margin: 0; display: grid; gap: 8px; }
.rpart dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; font-size: 13px; }
.rpart dt { font-weight: 500; }
.rpart dd { margin: 0; color: var(--muted); }
.rpart dl div:only-child { grid-template-columns: minmax(0, 1fr); }
.rpart dl div:only-child dt { display: none; }
.feat-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px 24px; margin-top: 12px; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) auto; font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--border); column-gap: 10px; }
.feat b { font-weight: 500; font-size: 13px; }
.feat span { color: var(--muted); grid-column: 1; }
.feat span code { font-size: 11px; color: var(--faint); }
.feat em { grid-row: 1; grid-column: 2; font-style: normal; color: var(--faint); font-variant-numeric: tabular-nums; }
.pm { font-variant-numeric: tabular-nums; white-space: nowrap; } .pm .a { color: var(--ok); } .pm .d { color: var(--err); }
.gated { margin-top: 14px; }
/* the run panel */
.tp-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; max-height: calc(100dvh - var(--header-h) - 32px); overflow: auto; scrollbar-width: thin; }
/* a long unbreakable value (an image digest, a URL) wraps instead of widening the side column past the page */
.tp-side, .rp-side { min-width: 0; grid-template-columns: minmax(0, 1fr); } /* one column, the track's width: a long name inside wraps */
.runbox, .runbox .panel-b { min-width: 0; }
.runbox .panel-b { grid-template-columns: minmax(0, 1fr); }
.runbox p, .runbox .intro, .runbox .fine { overflow-wrap: anywhere; }
.tp-side code, .rp-side code, .tp-side .mono, .rp-side .mono { overflow-wrap: anywhere; }
.runbox .panel-b { display: grid; gap: 14px; }
.runbox .intro { font-size: 13px; color: var(--muted); line-height: 1.5; }
.estimate { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; font-size: 13px; }
.estimate .row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; }
.estimate .row + .row { border-top: 1px solid var(--border); }
.estimate .row span { color: var(--muted); }
.estimate .row b { font-variant-numeric: tabular-nums; font-weight: 600; }
.estimate .row.total { background: var(--surface-2); }
.estimate .why { padding: 8px 12px; font-size: 12px; color: var(--faint); border-top: 1px solid var(--border); line-height: 1.5; }
.runbox .fine { text-align: center; }
.runbox .seg.src { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.runbox .seg.src button { justify-content: center; }
.byo { display: grid; gap: 12px; }
.byo .fine { text-align: left; }
.field > span .link { float: right; font-size: 12px; font-weight: 500; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
select.input { appearance: none; padding-right: 30px; cursor: pointer;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b8b94' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-repeat: no-repeat; background-position: right 10px center; }
.adv { border: 1px solid var(--border); border-radius: var(--r); padding: 2px 12px; }
.adv[open] { padding-bottom: 12px; }
.adv > summary { padding: 8px 0; }
.adv-sum { margin-left: auto; font-size: 11.5px; font-weight: 400; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 10px; }
.adv-grid .field > span { font-weight: 500; font-size: 12px; color: var(--muted); }
.adv-grid .input { height: 34px; }
.runlist { display: grid; }
.runrow { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 10px 2px; font-size: 13px;
border-bottom: 1px solid var(--border); }
.runrow:last-child { border-bottom: 0; }
.runrow:hover .m { text-decoration: underline; }
.runrow .m { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.runrow .c, .runrow .w2 { color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
/* model picker */
.picker { position: relative; }
.pk-btn { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left;
padding: 8px 12px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; box-shadow: var(--shadow-sm); }
.pk-btn:hover, .pk-btn[aria-expanded="true"] { border-color: var(--text); }
.pk-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-org { font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-btn .pk-org { grid-row: 2; }
.pk-price { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-btn .pk-price, .pk-btn .ic { grid-row: 1 / span 2; }
.pk-btn .ic { color: var(--faint); }
.pk-pop { position: absolute; z-index: 35; right: 0; width: 440px; max-width: calc(100vw - 32px); top: calc(100% + 6px); background: var(--surface);
border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: rise .14s ease; overflow: hidden; }
.pk-search { position: relative; border-bottom: 1px solid var(--border); }
.pk-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.pk-q { width: 100%; height: 42px; border: 0; background: transparent; color: var(--text); padding: 0 12px 0 36px; outline: none; font-size: 13.5px; }
.pk-list { max-height: 360px; overflow: auto; padding: 4px 6px 6px; }
.pk-group { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); padding: 10px 8px 4px; }
.pk-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; text-align: left; padding: 7px 8px; border: 0; border-radius: 7px;
background: none; cursor: pointer; }
.pk-row:hover, .pk-row.act { background: var(--surface-2); }
.pk-row.sel { background: var(--surface-2); }
.pk-row .ic.tick { color: var(--text); vertical-align: -2px; margin-left: 4px; }
.pk-row .pk-name { font-weight: 500; }
.pk-row .pk-meta { font-size: 11.5px; color: var(--faint); grid-column: 1; }
.pk-row .pk-org b { color: var(--c-music); font-weight: 600; }
.pk-row .pk-price { grid-row: 1 / span 3; grid-column: 2; align-self: center; }
.pk-note { font-size: 11.5px; color: var(--faint); padding: 10px 14px; line-height: 1.45; border-top: 1px solid var(--border); background: var(--surface-2); }
/* file previews */
.pv-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.pv-tabs button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--surface); border-radius: 7px; padding: 5px 11px;
font-size: 12.5px; cursor: pointer; }
.pv-tabs button:hover { border-color: var(--border-strong); }
.pv-tabs button[aria-selected="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.pv-tabs button em { font-style: normal; font-size: 10.5px; opacity: .6; }
.pv-frame { width: 100%; height: calc(92vh - 150px); border: 1px solid var(--border); border-radius: var(--r); background: #fff; }
.pv-img { text-align: center; } .pv-img img { max-width: 100%; border-radius: var(--r); border: 1px solid var(--border); }
.pv-doc { max-width: 860px; margin: 0 auto; font-size: 14px; line-height: 1.7; }
.pv-doc h3, .pv-doc h4, .pv-doc h5 { margin: 1.2em 0 .4em; }
.pv-doc p { margin: .6em 0; }
.pv-slides { columns: 3 340px; column-gap: 10px; }
.pv-slides .slide { break-inside: avoid; margin-bottom: 10px; }
.slide { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; border: 1px solid var(--border); border-radius: var(--r); padding: 14px; font-size: 13px; background: var(--surface); }
.slide .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--surface-2); color: var(--faint); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.slide b { display: block; font-size: 14px; margin-bottom: 6px; line-height: 1.35; }
.slide p { margin-top: 5px; color: var(--muted); font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.slide .tbl { margin-top: 10px; max-height: 260px; }
.pv-foot { margin-top: 10px; font-size: 12px; color: var(--faint); }
/* ═════════════════════════ RUN ═════════════════════════════════════ */
.rp-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 18px; }
.rp-head .kick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rp-head .kick .when { font-size: 12.5px; color: var(--faint); display: inline-flex; align-items: center; gap: 5px; }
.rp-head h1 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
.rp-head h1 a:hover { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.rp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.rp-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.stepper { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); margin-bottom: 20px; background: var(--surface); border: 1px solid var(--border);
border-radius: var(--r-lg); overflow: hidden; }
.step { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 8px; align-items: center; padding: 11px 14px; min-width: 0; }
.step + .step { border-left: 1px solid var(--border); }
.step .mk { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border-strong); color: var(--faint); background: var(--surface); }
.step b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step .t { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.step em { grid-column: 2 / -1; font-style: normal; font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step.ok .mk { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.step.bad .mk { background: var(--err); border-color: var(--err); color: var(--surface); }
.step.on { background: color-mix(in srgb, var(--live) 5%, var(--surface)); }
.step.on .mk { border-color: var(--live); }
.step.on .mk::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.2s ease-in-out infinite; }
.step.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--live); }
.step.off b { color: var(--faint); font-weight: 500; }
.rp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.tl-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tl-bar h2 { font-size: 15px; }
.tl-bar .n { font-size: 12.5px; color: var(--faint); }
.tl-bar .tools-right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.switch { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); cursor: pointer; user-select: none; }
.switch input { appearance: none; width: 28px; height: 16px; border-radius: 99px; background: var(--surface-3); position: relative; cursor: pointer; margin: 0; transition: background .15s; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .15s; }
.switch input:checked { background: var(--live); }
.switch input:checked::after { transform: translateX(12px); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.ev { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) 52px; column-gap: 10px; align-items: start; padding: 5px 0; animation: rise .2s ease both; }
.ev.still { animation: none; }
.ev > .ei { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border);
color: var(--faint); }
.ev > .ts { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; padding-top: 7px; white-space: nowrap; text-align: right; }
.ev > .eb { min-width: 0; }
.ev-text .msg { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 14px; font-size: 14px; line-height: 1.65; }
.ev-text > .ei { color: var(--text); }
.ev-tool details, .ev-log details, .ev-think details, .ev-diff details { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); min-width: 0; }
.ev details > summary { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 10px; min-height: 30px; font-size: 13px; }
.ev details > summary:hover { background: var(--surface-2); }
.ev details[open] > summary { border-bottom: 1px solid var(--border); }
.ev details > summary b { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ev details > summary code { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.ev details > summary .ms { font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.ev details > summary .ic.chev { color: var(--faint); transition: transform .15s; }
.ev details[open] > summary .ic.chev { transform: rotate(90deg); }
.ev details > .io, .ev details > pre { margin: 10px; }
.ev details > pre { border: 0; }
.io h5 { margin: 10px 0 5px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 600; }
.io h5:first-child { margin-top: 0; }
.io pre { max-height: 340px; }
.ev-tool.mcp > .ei { color: var(--c-general); border-color: color-mix(in srgb, var(--c-general) 35%, var(--border)); }
.ev-tool.bad > .ei { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, var(--border)); }
.ev-think > .ei { color: var(--c-music); }
.ev .peek { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--faint); font-size: 12.5px; font-style: italic; }
.ev .prompt-text { margin: 10px 12px 0; padding: 12px 14px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; }
.ev .prompt-note { margin: 8px 12px 12px; font-size: 12px; color: var(--faint); }
.ev .thought { margin: 10px 12px 12px; font-size: 13px; line-height: 1.65; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; }
.ev-diff > .ei { color: var(--c-code); }
.ev-err > .ei { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, var(--border)); }
.ev-err .eb { color: var(--err); font-size: 13.5px; padding-top: 5px; }
.ev-img .eb b { font-size: 13px; }
.ev-img img { display: block; max-width: 100%; max-height: 640px; object-fit: cover; object-position: top; border: 1px solid var(--border); border-radius: var(--r); margin-top: 6px; }
.ev-live > .ei { color: var(--live); border-color: color-mix(in srgb, var(--live) 40%, var(--border)); }
.ev-live .eb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 5px; }
.tl-empty { padding: 20px 0 0 38px; color: var(--muted); font-size: 13px; }
.rp-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.grade .panel-b, .costcard .panel-b { display: grid; gap: 12px; }
.score { display: flex; align-items: baseline; gap: 10px; }
.big { font-size: 44px; font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.big.full { color: var(--ok); } .big.part { color: var(--warn); } .big.zero { color: var(--err); } .big.none { color: var(--faint); }
.score .of { font-size: 13px; color: var(--faint); }
.meter { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: currentColor; }
.gsum { font-size: 13.5px; }
.gchecks { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--border); }
.gchecks li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; font-size: 13px; padding: 8px 10px; background: var(--surface); }
.gchecks .mk { padding-top: 1px; } .gchecks .ok .mk { color: var(--ok); } .gchecks .bad .mk { color: var(--err); } .gchecks .na .mk { color: var(--faint); }
.gchecks b { font-weight: 500; overflow-wrap: anywhere; }
.gchecks .meta { display: block; font-size: 11px; color: var(--faint); margin-top: 1px; }
.gchecks p { margin: 3px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.gchecks .sc { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12.5px; }
.shot { display: block; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; max-height: 240px; }
.shot img { display: block; width: 100%; object-fit: cover; object-position: top; }
.shot:hover { border-color: var(--border-strong); }
.notes > summary { padding: 4px 0; }
.notes p { margin: 8px 0 0; line-height: 1.6; font-size: 13px; overflow-wrap: anywhere; color: var(--muted); }
.big-cost { font-size: 28px; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cost-split { display: flex; height: 6px; border-radius: 99px; overflow: hidden; background: var(--surface-3); }
.cost-split i { display: block; height: 100%; }
.cost-split .m { background: var(--c-code); } .cost-split .s { background: var(--c-cyber); }
.legend { display: grid; gap: 6px; font-size: 13px; }
.legend div { display: flex; align-items: center; gap: 8px; }
.legend div span:first-of-type { color: var(--muted); }
.legend div b { margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; }
.legend .sw { width: 8px; height: 8px; border-radius: 2px; flex: none; }
/* ═════════════════════════ ROLLOUTS ════════════════════════════════ */
.page-h { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
.page-h h1 { font-size: 24px; letter-spacing: -.02em; }
.page-h p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.page-h .ex-stats { margin-left: auto; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 12px; max-width: 100%; overflow-x: auto; }
.seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; border-radius: 6px; padding: 5px 12px; font-size: 13px; font-weight: 500;
color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button span { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.rs-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.rs-row { display: grid; grid-template-columns: 196px minmax(0, 1fr) minmax(0, 200px) 84px 72px 110px; gap: 16px; align-items: center; padding: 11px 16px;
font-size: 13px; border-top: 1px solid var(--border); }
.rs-row.head { border-top: 0; background: var(--surface-2); font-size: 11.5px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; padding-top: 8px; padding-bottom: 8px; }
a.rs-row:hover { background: var(--surface-2); }
.rs-task { display: grid; min-width: 0; }
.rs-task b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-task em { font-style: normal; font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.rs-model { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-cost { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.rs-when { font-size: 12.5px; color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.rs-when em { display: block; font-style: normal; }
/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1240px) {
.tp-grid { grid-template-columns: minmax(0, 1fr) 340px; }
.toc { display: none; }
.domains { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sys-in { grid-template-columns: minmax(0, 1fr); }
.rpart { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 1100px) {
.brand .name .long { display: none; }
}
@media (max-width: 900px) {
.brand .name { display: none; }
.top-inner { gap: 14px; }
}
@media (max-width: 1024px) {
:root { --gutter: 24px; }
.tp-grid, .rp-grid { grid-template-columns: minmax(0, 1fr); }
.tp-side, .rp-side { position: static; max-height: none; overflow: visible; }
.tp-side { order: -1; }
.rp-side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.ex-stats { display: none; }
.rs-row { grid-template-columns: 186px minmax(0, 1fr) 84px 72px; }
.rs-row .rs-model, .rs-row .rs-when { display: none; }
}
@media (max-width: 760px) {
:root { --gutter: 16px; --header-h: 52px; }
body { font-size: 14px; }
.page { padding-top: 16px; }
.top-inner { gap: 12px; }
.brand .name { display: none; }
.nav a { padding: 0 8px; font-size: 13.5px; }
.nav .long { display: none; }
.nav .short { display: inline; }
.acct-btn .name, .acct-btn .ic { display: none; }
.acct-btn { padding: 0 3px; }
.signin .long { display: none; }
.ex-head { padding: 18px 0 12px; }
.ex-head h1 { font-size: 20px; }
.ex-head p { font-size: 13.5px; }
.domains { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.dom { padding: 10px 12px; }
.dom .ver { display: none; }
.dom .n { font-size: 17px; margin-top: 2px; }
.map { height: 220px; margin: 0 10px 10px; }
.map-card summary .hint { display: none; }
.search kbd { display: none; }
.search input { padding-right: 12px; }
.toolbar .btn .long { display: none; }
.only-mobile { display: inline-flex; }
.layout { grid-template-columns: minmax(0, 1fr); }
.filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 80vh; z-index: 45; background: var(--surface); border-top: 1px solid var(--border);
border-radius: 16px 16px 0 0; padding: 0 16px 24px; box-shadow: var(--shadow-lg); transform: translateY(105%); transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.filters.open { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--surface); padding: 14px 0 10px; z-index: 1; }
.sheet-head b { font-size: 15px; }
.filters-head { display: none; }
.tp-head h1 { font-size: 21px; }
.rp-head h1 { font-size: 19px; }
.panel-h, .panel-b { padding-left: 14px; padding-right: 14px; }
.panel-h .aside { display: none; }
.stepper { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.step { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 10px 4px; row-gap: 4px; }
.step b { font-size: 11.5px; max-width: 100%; }
.step .t, .step em { display: none; }
.ev { grid-template-columns: 28px minmax(0, 1fr); }
.ev > .ts { display: none; }
.rp-actions { margin-left: 0; }
.rs-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; padding: 12px 14px; }
.rs-row.head { display: none; }
.rs-row .rs-status { grid-column: 1 / -1; grid-row: 1; }
.rs-row .rs-task { grid-row: 2; }
.rs-row .rs-reward, .rs-row .rs-cost { grid-row: 2; }
.runrow { grid-template-columns: auto auto minmax(0, 1fr); }
.runrow .c, .runrow .w2 { display: none; }
.modal { inset: 0; border-radius: 0; border: 0; }
.dialog { top: auto; bottom: 0; transform: translateX(-50%); width: 100vw; border-radius: 16px 16px 0 0; }
.kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
.kv dd { margin-bottom: 8px; }
.rpart dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
.foot .wrap { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { transition: none !important; animation: none !important; }
}
/* ── community & visibility ─────────────────────────────────────────── */
.status.vis-public { color: var(--c-general); background: color-mix(in srgb, var(--c-general) 11%, transparent); }
.status.vis-private { color: var(--muted); background: var(--surface-2); }
.vis { display: grid; gap: 8px; }
.vis .seg { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.vis .seg button { justify-content: center; }
.hist { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; align-items: end; height: 72px; }
.hist i { display: block; border-radius: 3px 3px 0 0; background: color-mix(in srgb, var(--dc, var(--focus)) 70%, var(--surface)); min-height: 2px; }
.hist-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); margin-top: 4px; }
.cm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-bottom: 14px; }
.cm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; align-items: start; }
.mtable { width: 100%; border-collapse: collapse; font-size: 13px; }
.mtable th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; padding: 0 8px 6px 0; }
.mtable td { padding: 7px 8px 7px 0; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.mtable td:first-child { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtable .bar { display: inline-block; height: 6px; border-radius: 3px; background: var(--c-general); vertical-align: 1px; margin-right: 6px; }
.meta-card dl { margin: 0; }
.meta-card .kv { grid-template-columns: max-content minmax(0, 1fr); }
.report { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.report:hover { color: var(--text); }
.cm-list .runrow { grid-template-columns: auto minmax(0, 1fr) auto auto auto auto; }
.cm-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.cm-filters .input { width: auto; min-width: 180px; height: 34px; }
@media (max-width: 1024px) { .cm-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .cm-list .runrow { grid-template-columns: auto minmax(0, 1fr) auto; } .cm-list .runrow .c, .cm-list .runrow .w2, .cm-list .runrow .sm-hide { display: none; } }
.rt { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; height: 560px; }
.rt-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--border); background: var(--surface-2); }
.rt-search { position: relative; border-bottom: 1px solid var(--border); }
.rt-search .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.rt-search input { width: 100%; height: 36px; border: 0; background: transparent; padding: 0 10px 0 30px; outline: none; font-size: 13px; color: var(--text); }
.rt-tree, .rt-tree ul { list-style: none; margin: 0; padding: 0; }
.rt-tree { overflow: auto; flex: 1; padding: 4px 0; }
.rt-tree ul { padding-left: 14px; }
.rt-dir, .rt-file { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; padding: 3px 10px; cursor: pointer; font-size: 12.5px; color: var(--text); text-align: left; min-width: 0; }
.rt-dir:hover, .rt-file:hover { background: var(--surface-3); }
.rt-dir span, .rt-file span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-dir em, .rt-file em { font-style: normal; font-size: 10.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.rt-dir .ic, .rt-file .ic { color: var(--faint); }
.rt-dir .ic.chev { transition: transform .12s; }
.rt-dir[aria-expanded="true"] .ic.chev { transform: rotate(90deg); }
.rt-dir span { font-weight: 500; }
.rt-file span { font-family: var(--mono); font-size: 12px; }
.rt-file.dim { color: var(--faint); cursor: default; }
.rt-file.on { background: color-mix(in srgb, var(--focus) 14%, transparent); }
.rt-view { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.rt-view .empty-state { margin: auto; }
.rt-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--faint); }
.rt-head code { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.rt-body { flex: 1; overflow: auto; min-height: 0; }
.rt-body > .sk, .rt-body > span { margin: 12px 14px; }
.rt-code { margin: 0; padding: 10px 0; font: 12.5px/1.6 var(--mono); tab-size: 4; }
.rt-code .ln { display: inline-block; width: 44px; padding-right: 12px; margin-right: 12px; text-align: right; color: var(--faint); border-right: 1px solid var(--border); user-select: none; }
@media (max-width: 760px) { .rt { grid-template-columns: minmax(0, 1fr); height: auto; } .rt-side { max-height: 300px; border-right: 0; border-bottom: 1px solid var(--border); } .rt-view { height: 420px; } }
.rs-status { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cm-filters .search .ic { left: 10px; }
.cm-filters .search input { padding-left: 32px; height: 34px; }
#cm-view { margin-bottom: 14px; }
@media (max-width: 480px) {
.nav a[data-nav="rewards"] { display: none; } /* four tabs don't fit; the footer and every Grading section link to it */
.signin .txt { display: none; }
.signin { padding: 0 10px; }
.nav a { padding: 0 6px; }
.top-inner { gap: 8px; }
}
@media (max-width: 360px) {
:root { --gutter: 12px; }
.logo { width: 26px; height: 26px; }
.nav a { padding: 0 5px; font-size: 13px; }
.top-inner { gap: 6px; }
.icon-btn { width: 30px; }
}
/* ── Explore on phones: the list starts on the first screen; filters are a real bottom sheet ───────────── */
@media (max-width: 760px) {
.ex-head { padding: 14px 0 10px; }
.ex-head p { display: none; }
.domains { display: flex; overflow-x: auto; gap: 6px; margin: 0 calc(-1 * var(--gutter)) 10px; padding: 0 var(--gutter) 2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.domains::-webkit-scrollbar { display: none; }
.dom { flex: none; grid-template-columns: auto auto; align-items: center; column-gap: 8px; padding: 7px 12px; border-radius: 99px; scroll-snap-align: start; }
.dom .name { font-size: 13px; }
.dom .n { font-size: 13px; font-weight: 500; color: var(--faint); margin: 0; }
.dom .of { display: none; }
.map-card { margin-bottom: 8px; }
.map-card summary { padding: 9px 14px; }
.toolbar { padding: 8px 0; }
.results-head { margin-bottom: 8px; }
.list { gap: 8px; }
.card { padding: 12px 14px; }
.card .t { font-size: 14px; }
.card .s { -webkit-line-clamp: 1; font-size: 12.5px; }
.card .chips { flex-wrap: nowrap; overflow: hidden; padding-top: 8px; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.sheet-scrim { display: block; position: fixed; inset: 0; z-index: 44; background: rgba(9, 9, 12, .5); animation: fade .15s; }
.sheet-scrim[hidden] { display: none; }
.filters { display: flex; flex-direction: column; padding: 0; max-height: 82vh; overflow: hidden; }
.filters .sheet-head { flex: none; padding: 12px 8px 10px 18px; border-bottom: 1px solid var(--border); position: static; }
.filters .sheet-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 99px; background: var(--border-strong); }
.filters #facets { flex: 1; overflow-y: auto; padding: 4px 18px 8px; overscroll-behavior: contain; }
.filters .facet { padding: 10px 0 6px; }
.filters .opt { padding: 8px 6px; font-size: 14px; }
.sheet-foot { display: flex; flex: none; gap: 8px; padding: 10px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); }
.sheet-foot .btn { height: 42px; }
}
/* ── Community ───────────────────────────────────────────────────────────── */
.cm-figs { display: flex; flex-wrap: wrap; gap: 0; margin: 2px 0 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cm-figs > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 28px 12px 0; margin-right: 28px; border-right: 1px solid var(--border); }
.cm-figs > div:last-child { border-right: 0; }
.cm-figs b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cm-figs b small { font-size: 13px; font-weight: 400; color: var(--faint); }
.cm-figs span { font-size: 12px; color: var(--muted); }
.cm-board { margin-bottom: 18px; }
.cm-tablewrap { overflow-x: auto; }
.cm-lb { min-width: 640px; }
.cm-lb th.r, .cm-lb td.r { text-align: right; font-variant-numeric: tabular-nums; }
.cm-lb td.best, .cm-lb .cm-cell.best { font-weight: 650; color: var(--text); }
.cm-lb .cm-cell { color: var(--muted); font-variant-numeric: tabular-nums; }
.cm-lb .cm-cell:hover { color: var(--text); }
.cm-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.cm-filters .input { width: auto; min-width: 150px; height: 34px; }
.cm-filters .search { flex: 1; min-width: 180px; }
.cm-filters .search .ic { left: 10px; }
.cm-filters .search input { padding-left: 32px; height: 34px; }
.cm-more { position: relative; }
.cm-more > summary { list-style: none; height: 34px; }
.cm-more > summary::-webkit-details-marker { display: none; }
.cm-pop { position: absolute; right: 0; top: 40px; z-index: 20; display: grid; gap: 8px; padding: 10px; min-width: 240px;
background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.cm-pop .input { width: 100%; }
.cm-active { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 4px; margin-bottom: 10px; }
.cm-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 7px 0 9px; border-radius: 6px; border: 1px solid var(--border);
background: var(--surface-2); color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
.cm-pill:hover { border-color: var(--border-strong); }
.cm-list .runrow { grid-template-columns: auto minmax(0, 1fr) 56px auto auto auto auto; }
/* a task's rollouts: the same six cells on every row (yours add a visibility badge to the first), so the model's name
always gets the wide column */
.cm-list .runrow.trow { grid-template-columns: auto minmax(0, 1fr) auto auto auto auto; }
.runrow.trow .lead { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 760px) { .cm-list .runrow.trow { grid-template-columns: auto minmax(0, 1fr) auto auto; } }
.cm-list .runrow .t { display: flex; }
.cm-shot { flex: none; width: 56px; height: 36px; object-fit: cover; object-position: top; border-radius: 4px; border: 1px solid var(--border); background: var(--surface-2); }
@media (max-width: 760px) {
.cm-figs > div { padding-right: 16px; margin-right: 16px; } .cm-figs b { font-size: 17px; }
.cm-filters .seg { overflow-x: auto; max-width: 100%; } .cm-filters .input { flex: 1; min-width: 0; }
.cm-pop { right: auto; left: 0; } .cm-shot { display: none; }
}
.cm-list .runrow > .reward { min-width: 44px; justify-content: center; text-align: center; }
@media (max-width: 760px) { .cm-list .runrow { grid-template-columns: auto minmax(0, 1fr) auto; } }
@media (max-width: 760px) {
.cm-list .runrow .t { display: none; }
.cm-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 4px; }
.cm-figs > div { border-right: 0; margin-right: 0; padding: 10px 8px 10px 0; }
}
/* ═════════════════════════ COMPARE ═════════════════════════════════ */
/* Rollouts of one task side by side. A rollout is a letter plus its colour key; text stays in the text colours. */
.cmp-tag { display: inline-flex; align-items: center; gap: 5px; font-weight: 650; font-size: 12.5px; color: var(--text); flex: none; }
.cmp-tag i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.cmp-head .facts { gap: 8px 16px; }
.cmp-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); }
.cmp-note .ic { color: var(--faint); flex: none; }
.cmp-add > summary { height: 28px; }
.cmp-pop { left: 0; right: auto; top: 34px; width: min(460px, calc(100vw - 32px)); max-height: min(60vh, 520px); overflow: auto; gap: 2px; padding: 6px; }
.cmp-pop .sec-label, .cmp-pick .sec-label { margin: 8px 6px 4px; }
.cmp-cand { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 7px 8px; border: 0;
border-radius: 7px; background: none; text-align: left; font-size: 13px; cursor: pointer; }
.cmp-cand:hover:not(:disabled) { background: var(--surface-2); }
.cmp-cand:disabled { cursor: default; opacity: .55; }
.cmp-cand .m { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-pick { display: grid; gap: 2px; max-width: 640px; }
.cmp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-bottom: 16px; }
.cmp-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 8px 8px 10px 12px; display: grid; gap: 6px; min-width: 0; }
.cmp-col.gone { background: var(--surface-2); }
.cmp-col-h { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cmp-col-h .m { flex: 1; min-width: 0; font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-col-h a.m:hover { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--border-strong); }
.cmp-col-h .icon-btn { width: 26px; height: 26px; margin: -2px 0; color: var(--faint); }
.cmp-col-b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.cmp-sec { margin-bottom: 16px; scroll-margin-top: calc(var(--header-h) + 60px); }
/* tables: one label column, then one column per rollout */
/* wide tables scroll sideways behind the sticky labels; a soft edge on the right says there is more */
.cmp-tw { overflow-x: auto; background: linear-gradient(to left, var(--surface) 16px, transparent) right / 30px 100% no-repeat local,
linear-gradient(to left, color-mix(in srgb, var(--text) 10%, transparent), transparent) right / 12px 100% no-repeat scroll; }
.cmp-crumbs .tid { font-family: var(--mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cmp-crumbs b { font-weight: 500; color: var(--muted); white-space: nowrap; }
.cmp-crumbs .sep { display: contents; }
.cmp-t { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; min-width: calc(200px + var(--n) * 136px); }
.cmp-t th, .cmp-t td { text-align: left; vertical-align: top; padding: 7px 12px 7px 0; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.cmp-t thead th { border-top: 0; padding-top: 0; font-weight: 400; }
.cmp-t thead th .m { margin-left: 6px; color: var(--muted); font-size: 12.5px; }
.cmp-t tbody th { width: 200px; font-weight: 400; color: var(--muted); position: sticky; left: 0; background: var(--surface); z-index: 1; }
.cmp-t thead th:first-child { width: 200px; }
.cmp-t td { font-variant-numeric: tabular-nums; }
.cmp-t td code { font-size: 12px; }
.cmp-t tr.grp th { position: static; padding: 16px 0 6px; border-top: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.cmp-t tbody tr.grp:first-child th { padding-top: 4px; }
.cmp-t tr.same td { color: var(--faint); }
.cmp-t tr.same td .reward, .cmp-t tr.same td .status { opacity: .7; }
.cmp-t.hide-same tr.same { display: none; }
.cmp-t .best { font-weight: 650; color: var(--text); }
.cmp-t tr.split th, .cmp-t tr.split td { background: var(--surface-2); }
.cmp-t tr.total th, .cmp-t tr.total td { border-top-color: var(--border-strong); }
.cmp-ck { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; white-space: nowrap; }
.cmp-ck.ok .ic { color: var(--ok); } .cmp-ck.bad .ic { color: var(--err); } .cmp-ck.na .ic { color: var(--faint); }
.cmp-msg { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.cmp-files .da { color: var(--ok); } .cmp-files .dd { color: var(--err); }
/* columns of content */
.cmp-grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 14px; align-items: start; }
.cmp-cell { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.cmp-cell > * { min-width: 0; }
.cmp-cell-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.cmp-final { background: var(--surface-2); border-radius: var(--r); padding: 10px 14px; font-size: 13.5px; line-height: 1.6; max-height: 340px; overflow: auto; overflow-wrap: anywhere; }
.cmp-final > * + * { margin-top: 8px; }
.cmp-diff > summary { gap: 8px; }
.cmp-diff { min-width: 0; }
.cmp-diff pre { max-height: 520px; max-width: 100%; margin-top: 6px; font-size: 12px; }
.cmp-shots { margin-bottom: 16px; }
.cmp-shots figure { margin: 0; display: grid; gap: 6px; min-width: 0; }
.cmp-shots figcaption { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.cmp-shots .shot { max-height: 420px; }
.cmp-shots .shot.none { display: grid; place-items: center; height: 160px; color: var(--faint); font-size: 13px; background: var(--surface-2); }
.cmp .prompt-text { margin-top: 8px; padding: 12px 14px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto;
background: var(--surface-2); border-radius: var(--r); }
/* chart */
.cmp-chart-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 6px; }
.cmp-chart-bar .seg { margin: 0 0 0 auto; }
.cmp-chart { width: 100%; height: 240px; touch-action: pan-y; } /* a sideways drag moves the crosshair, not the page */
.cmp-chart svg { display: block; overflow: visible; }
.cmp-chart .grid { stroke: var(--border); stroke-width: 1; }
.cmp-chart .base { stroke: var(--border-strong); stroke-width: 1; }
.cmp-chart .tick { fill: var(--faint); font-size: 11px; font-variant-numeric: tabular-nums; }
.cmp-chart .ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.cmp-chart .end { stroke: var(--surface); stroke-width: 2; }
.cmp-chart .lbl { fill: var(--text); font-size: 12px; font-weight: 650; }
.cmp-chart .hair { stroke: var(--border-strong); stroke-width: 1; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.cmp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cmp-legend i { width: 14px; height: 2px; border-radius: 1px; }
.cmp-legend b { color: var(--text); font-weight: 650; }
.cmp-tip-h { font-size: 11px; opacity: .75; margin-bottom: 3px; }
.cmp-tip-r { display: flex; align-items: baseline; gap: 8px; }
.cmp-tip-r b { font-variant-numeric: tabular-nums; }
.cmp-tip-r span { display: inline-flex; align-items: center; gap: 5px; opacity: .8; }
.cmp-tip-r i { width: 8px; height: 8px; border-radius: 2px; }
/* traces */
.cmp-tabs { display: none; }
.cmp-tabs button { gap: 8px; }
.cmp-tcol { min-width: 0; }
.cmp-th { display: flex; align-items: center; gap: 8px; min-width: 0; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid var(--border); position: sticky; top: calc(var(--header-h) + 45px); z-index: 2; background: var(--surface); padding-top: 6px; }
.cmp-th .m { flex: 1; min-width: 0; font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-th .m:hover { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--border-strong); }
.cmp-tl .ev { grid-template-columns: 26px minmax(0, 1fr) 44px; column-gap: 8px; }
.cmp-tl .ev > .ei { width: 26px; height: 26px; }
.cmp-tl .timeline::before { left: 12px; }
.cmp-tl .ev-img img { max-height: 420px; }
/* the task page: pick rollouts from its lists */
.runsel { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; border-bottom: 1px solid var(--border); }
.runsel:last-child { border-bottom: 0; }
.runsel > .runrow { border-bottom: 0; }
.pick { display: grid; place-items: center; height: 100%; cursor: pointer; }
.pick input { width: 15px; height: 15px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.pick input:disabled { cursor: not-allowed; opacity: .4; }
.sec-label .hint { margin-left: 8px; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 12px; }
.cmp-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 10px;
padding: 8px 8px 8px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); font-size: 13px;
max-width: calc(100vw - 24px); }
.cmp-bar > span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cmp-bar b { color: var(--text); }
/* sections, and the slim bar that follows once the rollout cards scroll away */
.cmp-jumps { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.cmp-jumps a { color: var(--muted); }
.cmp-jumps a:hover { color: var(--text); }
.cmp-jumps.cmp-toc { margin: -2px 0 14px; }
.cmp-strip { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 25; border-bottom: 1px solid var(--border);
background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.6) blur(12px);
opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.cmp-strip.on { opacity: 1; visibility: visible; transform: none; }
.cmp-strip-in { display: flex; align-items: center; gap: 16px; height: 44px; }
.cmp-strip-runs { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.cmp-strip-runs::-webkit-scrollbar { display: none; }
.cmp-chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 4px 0 9px; border: 1px solid var(--border); border-radius: 8px;
background: var(--surface); font-size: 12.5px; white-space: nowrap; flex: none; max-width: 240px; }
.cmp-chip:hover { border-color: var(--border-strong); }
.cmp-chip .m { overflow: hidden; text-overflow: ellipsis; min-width: 0; color: var(--muted); }
.cmp-chip .reward { height: 20px; min-width: 32px; }
.cmp-strip .cmp-jumps { margin-left: auto; flex-wrap: nowrap; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .cmp-strip { transition: none; } }
@media (max-width: 1240px) { .cmp-strip .cmp-jumps a:nth-child(n+5) { display: none; } }
@media (max-width: 1024px) {
.cmp-strip .cmp-jumps { display: none; }
.cmp-tabs { display: inline-flex; }
.cmp-tl { grid-template-columns: minmax(0, 1fr); }
.cmp-tl .cmp-tcol:not(.on) { display: none; }
.cmp-th { position: static; }
}
@media (max-width: 760px) {
.cmp-grid:not(.cmp-tl) { grid-template-columns: minmax(0, 1fr); }
.cmp .panel-b { padding: 14px; }
.cmp .panel-h { padding: 12px 14px; }
.cmp-crumbs .home, .cmp-crumbs .sep { display: none; }
.cmp-cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.cmp-t tbody th, .cmp-t thead th:first-child { width: 112px; }
.cmp-t { min-width: calc(112px + var(--n) * 118px); font-size: 12.5px; }
.cmp-t thead th .m { display: none; }
.cmp-strip-in { height: 42px; }
.cmp-chip { max-width: 170px; }
.cmp-jumps.cmp-toc { gap: 4px 14px; }
.cmp-chart-bar .seg { margin-left: 0; }
.cmp-bar { bottom: 12px; gap: 6px; padding-left: 12px; }
}
/* ── reward design: formulas, rules, judge prompts, the agent prompt ── */
.formula { margin: 14px 0 0; font-size: 13px; }
.formula code { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 3px 8px; display: inline-block; overflow-wrap: anywhere; }
.rules { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 5px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.bands { display: grid; gap: 14px; margin: 8px 0 4px; }
.bands b { font-size: 13px; font-weight: 500; }
.bands ol { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; }
.bands li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; font-size: 12.5px; color: var(--muted); }
.bands li span:first-child { color: var(--faint); font-variant-numeric: tabular-nums; }
.pr-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 8px; }
.pr-h .sec-label { margin: 0; }
.pr-task { font: inherit; color: var(--faint); background: var(--surface-3); border: 0; border-radius: 4px; padding: 0 4px; cursor: pointer; }
.pr-task:hover { color: var(--text); }
.rw-tbl { max-height: none; }
.rw-tbl table { width: 100%; min-width: 960px; }
.rw-tbl th, .rw-tbl td { max-width: none; }
.rw-tbl td:first-child, .rw-tbl .nw { white-space: nowrap; overflow-wrap: normal; }
.rw-tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.rw-dom { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.rw-dom .ic { color: var(--faint); }
|