Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/blob/main/crates/spark-cockpit-rs/static/style.css # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / crates / spark-cockpit-rs / static / style.css` 1736 lines ยท 34286 bytes Raw Blame History 1 /* ========================================================================= */ 2 /* ALLEN HARNESS (SPARK COCKPIT) DESIGN TOKENS */ 3 /* Same family as the public AIEN sites: warm neutrals, amber accent, green */ 4 /* PASS, red FAIL, system fonts, 14 px card radius, hairline borders. Dark */ 5 /* first because this is an operator tool; the light theme is the sites' */ 6 /* warm off-white. The variable names kept their old "blue" spelling so the */ 7 /* rest of this sheet did not have to change; the accent is amber. */ 8 /* ========================================================================= */ 9 10 :root { 11 /* Dark theme (default) */ 12 --bg-app: #141311; 13 --bg-sidebar: #1b1916; 14 --bg-surface: #1b1916; 15 --bg-surface-elevated: #25221e; 16 --bg-surface-hover: rgba(255, 255, 255, 0.07); 17 --bg-input: #2a2622; 18 --bg-card: #1f1c19; 19 --bg-bubble-incoming: #25221e; 20 --bg-bubble-outgoing: #8a5207; 21 22 --border-subtle: #332f29; 23 --border-strong: #4a443b; 24 --border-focus: #f2a93b; 25 26 --text-primary: #ece7dd; 27 --text-secondary: #b9b1a3; 28 --text-muted: #857d70; 29 --text-inverse: #141311; 30 --text-link: #f2a93b; 31 32 --accent-blue: #f2a93b; 33 --accent-blue-hover: #f7bb5e; 34 --accent-blue-dim: rgba(242, 169, 59, 0.16); 35 36 --status-emerald: #3ea85a; 37 --status-emerald-dim: rgba(62, 168, 90, 0.16); 38 --status-amber: #f2a93b; 39 --status-amber-dim: rgba(242, 169, 59, 0.16); 40 --status-crimson: #e0474f; 41 --status-crimson-dim: rgba(224, 71, 79, 0.16); 42 43 --radius-bubble: 18px; 44 --radius-capsule: 26px; 45 --radius-card: 14px; 46 --radius-pill: 9999px; 47 --radius-btn: 10px; 48 49 --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 50 --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace; 51 52 --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.25); 53 --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.35); 54 --shadow-capsule: 0 4px 20px rgba(0, 0, 0, 0.3); 55 56 --sidebar-width: 260px; 57 --sidebar-collapsed-width: 72px; 58 --drawer-width: 440px; 59 --header-height: 56px; 60 } 61 62 body.light-theme { 63 /* Light theme: the public sites' warm off-white page and near-black ink */ 64 --bg-app: #f6f1e8; 65 --bg-sidebar: #fbf8f2; 66 --bg-surface: #ffffff; 67 --bg-surface-elevated: #f3eee4; 68 --bg-surface-hover: rgba(0, 0, 0, 0.05); 69 --bg-input: #f1ebe0; 70 --bg-card: #ffffff; 71 --bg-bubble-incoming: #f3eee4; 72 --bg-bubble-outgoing: #b86e0a; 73 74 --border-subtle: #ddd5c6; 75 --border-strong: #c9bfae; 76 --border-focus: #b86e0a; 77 78 --text-primary: #171512; 79 --text-secondary: #5e574c; 80 --text-muted: #8a8274; 81 --text-inverse: #ffffff; 82 --text-link: #b86e0a; 83 84 --accent-blue: #b86e0a; 85 --accent-blue-hover: #9a5a06; 86 --accent-blue-dim: rgba(184, 110, 10, 0.12); 87 88 --status-emerald: #2f8f4a; 89 --status-crimson: #c9303a; 90 91 --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); 92 --shadow-elevated: 0 6px 16px rgba(0, 0, 0, 0.12); 93 --shadow-capsule: 0 4px 16px rgba(0, 0, 0, 0.08); 94 } 95 96 * { 97 box-sizing: border-box; 98 margin: 0; 99 padding: 0; 100 } 101 102 html, body { 103 width: 100%; 104 height: 100%; 105 overflow: hidden; 106 background-color: var(--bg-app); 107 color: var(--text-primary); 108 font-family: var(--font-system); 109 font-size: 14px; 110 line-height: 1.5; 111 -webkit-font-smoothing: antialiased; 112 } 113 114 /* Custom Scrollbars */ 115 ::-webkit-scrollbar { 116 width: 6px; 117 height: 6px; 118 } 119 ::-webkit-scrollbar-track { 120 background: transparent; 121 } 122 ::-webkit-scrollbar-thumb { 123 background: var(--border-subtle); 124 border-radius: var(--radius-pill); 125 } 126 ::-webkit-scrollbar-thumb:hover { 127 background: var(--border-strong); 128 } 129 130 /* App Root Shell */ 131 .muse-app { 132 display: flex; 133 width: 100vw; 134 height: 100vh; 135 overflow: hidden; 136 background-color: var(--bg-app); 137 } 138 139 /* ========================================================================= */ 140 /* LEFT SIDEBAR (NAVIGATION & THREADS) */ 141 /* ========================================================================= */ 142 .muse-sidebar { 143 display: flex; 144 flex-direction: column; 145 width: var(--sidebar-width); 146 height: 100%; 147 background-color: var(--bg-sidebar); 148 border-right: 1px solid var(--border-subtle); 149 flex-shrink: 0; 150 transition: width 0.2s cubic-bezier(0.14, 1, 0.34, 1); 151 z-index: 30; 152 } 153 154 .muse-sidebar.collapsed { 155 width: var(--sidebar-collapsed-width); 156 } 157 158 .sidebar-header { 159 display: flex; 160 align-items: center; 161 justify-content: space-between; 162 padding: 12px 14px; 163 height: var(--header-height); 164 border-bottom: 1px solid var(--border-subtle); 165 } 166 167 .agent-identity { 168 display: flex; 169 align-items: center; 170 gap: 10px; 171 text-decoration: none; 172 cursor: pointer; 173 overflow: hidden; 174 } 175 176 .avatar-ring { 177 position: relative; 178 width: 36px; 179 height: 36px; 180 flex-shrink: 0; 181 } 182 183 .agent-avatar { 184 width: 100%; 185 height: 100%; 186 border-radius: 50%; 187 object-fit: cover; 188 border: 2px solid var(--accent-blue); 189 } 190 191 .online-indicator { 192 position: absolute; 193 bottom: 0; 194 right: 0; 195 width: 10px; 196 height: 10px; 197 background-color: var(--status-emerald); 198 border: 2px solid var(--bg-sidebar); 199 border-radius: 50%; 200 } 201 202 .agent-labels { 203 display: flex; 204 flex-direction: column; 205 overflow: hidden; 206 } 207 208 .agent-name { 209 font-size: 15px; 210 font-weight: 700; 211 letter-spacing: -0.01em; 212 color: var(--text-primary); 213 line-height: 1.2; 214 } 215 216 .agent-subtitle { 217 font-size: 11px; 218 color: var(--text-secondary); 219 white-space: nowrap; 220 } 221 222 .muse-sidebar.collapsed .agent-labels { 223 display: none; 224 } 225 226 .new-chat-btn { 227 width: 32px; 228 height: 32px; 229 border-radius: 50%; 230 background-color: var(--bg-surface-hover); 231 color: var(--text-primary); 232 display: flex; 233 align-items: center; 234 justify-content: center; 235 border: none; 236 cursor: pointer; 237 transition: background 0.15s ease; 238 } 239 240 .new-chat-btn:hover { 241 background-color: var(--border-subtle); 242 } 243 244 .new-chat-btn svg { 245 width: 18px; 246 height: 18px; 247 } 248 249 .sidebar-nav { 250 display: flex; 251 flex-direction: column; 252 padding: 10px 8px; 253 gap: 4px; 254 } 255 256 .nav-item { 257 display: flex; 258 align-items: center; 259 gap: 12px; 260 width: 100%; 261 padding: 9px 12px; 262 border-radius: var(--radius-btn); 263 background: transparent; 264 border: none; 265 color: var(--text-secondary); 266 font-size: 13.5px; 267 font-weight: 500; 268 cursor: pointer; 269 transition: background 0.15s ease, color 0.15s ease; 270 position: relative; 271 text-align: left; 272 } 273 274 .nav-item:hover { 275 background-color: var(--bg-surface-hover); 276 color: var(--text-primary); 277 } 278 279 .nav-item.active { 280 background-color: var(--accent-blue-dim); 281 color: var(--accent-blue); 282 font-weight: 600; 283 } 284 285 .nav-icon { 286 width: 20px; 287 height: 20px; 288 flex-shrink: 0; 289 } 290 291 .nav-label { 292 white-space: nowrap; 293 } 294 295 .nav-badge { 296 margin-left: auto; 297 font-size: 11px; 298 font-weight: 600; 299 padding: 1px 7px; 300 border-radius: var(--radius-pill); 301 background-color: var(--border-subtle); 302 color: var(--text-primary); 303 } 304 305 .nav-item.active .nav-badge { 306 background-color: var(--accent-blue); 307 color: #fff; 308 } 309 310 .muse-sidebar.collapsed .nav-label, 311 .muse-sidebar.collapsed .nav-badge { 312 display: none; 313 } 314 315 .sidebar-section { 316 display: flex; 317 flex-direction: column; 318 padding: 12px 10px 4px 10px; 319 flex-grow: 1; 320 overflow: hidden; 321 } 322 323 .section-title { 324 font-size: 11px; 325 font-weight: 700; 326 letter-spacing: 0.05em; 327 color: var(--text-muted); 328 padding: 0 6px 8px 6px; 329 } 330 331 .muse-sidebar.collapsed .sidebar-section { 332 display: none; 333 } 334 335 .threads-list { 336 display: flex; 337 flex-direction: column; 338 gap: 2px; 339 overflow-y: auto; 340 } 341 342 .thread-item { 343 display: flex; 344 align-items: center; 345 justify-content: space-between; 346 padding: 8px 10px; 347 border-radius: var(--radius-btn); 348 cursor: pointer; 349 transition: background 0.15s ease; 350 font-size: 13px; 351 color: var(--text-secondary); 352 } 353 354 .thread-item:hover { 355 background-color: var(--bg-surface-hover); 356 color: var(--text-primary); 357 } 358 359 .thread-item.active { 360 background-color: var(--bg-surface-hover); 361 color: var(--text-primary); 362 font-weight: 600; 363 } 364 365 .thread-title { 366 overflow: hidden; 367 text-overflow: ellipsis; 368 white-space: nowrap; 369 } 370 371 .thread-time { 372 font-size: 11px; 373 color: var(--text-muted); 374 flex-shrink: 0; 375 } 376 377 .sidebar-footer { 378 display: flex; 379 align-items: center; 380 justify-content: space-between; 381 padding: 10px 12px; 382 border-top: 1px solid var(--border-subtle); 383 background-color: var(--bg-sidebar); 384 } 385 386 .system-pills { 387 display: flex; 388 align-items: center; 389 gap: 6px; 390 flex-wrap: wrap; 391 } 392 393 .sys-pill { 394 display: flex; 395 align-items: center; 396 gap: 4px; 397 padding: 3px 7px; 398 border-radius: var(--radius-pill); 399 background-color: var(--bg-surface-hover); 400 border: 1px solid var(--border-subtle); 401 font-size: 11px; 402 font-weight: 600; 403 color: var(--text-secondary); 404 } 405 406 .pill-dot { 407 width: 6px; 408 height: 6px; 409 border-radius: 50%; 410 background-color: var(--status-emerald); 411 } 412 413 .tpm-pill .pill-badge { 414 color: var(--status-emerald); 415 } 416 417 .muse-sidebar.collapsed .system-pills { 418 display: none; 419 } 420 421 .icon-btn { 422 background: transparent; 423 border: none; 424 color: var(--text-secondary); 425 cursor: pointer; 426 padding: 6px; 427 border-radius: 50%; 428 display: flex; 429 align-items: center; 430 justify-content: center; 431 transition: background 0.15s ease, color 0.15s ease; 432 } 433 434 .icon-btn:hover { 435 background-color: var(--bg-surface-hover); 436 color: var(--text-primary); 437 } 438 439 .theme-toggle svg { 440 width: 18px; 441 height: 18px; 442 } 443 444 body.dark-theme .icon-moon { 445 display: none; 446 } 447 body.dark-theme .icon-sun { 448 display: block; 449 } 450 body.light-theme .icon-sun { 451 display: none; 452 } 453 body.light-theme .icon-moon { 454 display: block; 455 } 456 457 /* ========================================================================= */ 458 /* MAIN STAGE (CONVERSATION & SCREENS) */ 459 /* ========================================================================= */ 460 .muse-main { 461 display: flex; 462 flex-direction: column; 463 flex-grow: 1; 464 height: 100%; 465 position: relative; 466 overflow: hidden; 467 } 468 469 .stage-header { 470 display: flex; 471 align-items: center; 472 justify-content: space-between; 473 height: var(--header-height); 474 padding: 0 18px; 475 background-color: var(--bg-surface); 476 border-bottom: 1px solid var(--border-subtle); 477 flex-shrink: 0; 478 z-index: 10; 479 } 480 481 .stage-left { 482 display: flex; 483 align-items: center; 484 gap: 12px; 485 } 486 487 .menu-toggle svg { 488 width: 20px; 489 height: 20px; 490 } 491 492 .agent-status-card { 493 display: flex; 494 align-items: center; 495 gap: 10px; 496 } 497 498 .status-avatar-wrap { 499 position: relative; 500 width: 32px; 501 height: 32px; 502 } 503 504 .status-avatar { 505 width: 100%; 506 height: 100%; 507 border-radius: 50%; 508 object-fit: cover; 509 } 510 511 .status-pulse-dot { 512 position: absolute; 513 bottom: -1px; 514 right: -1px; 515 width: 9px; 516 height: 9px; 517 border-radius: 50%; 518 background-color: var(--status-emerald); 519 border: 2px solid var(--bg-surface); 520 } 521 522 .status-text-wrap { 523 display: flex; 524 flex-direction: column; 525 } 526 527 .status-title-row { 528 display: flex; 529 align-items: center; 530 gap: 8px; 531 } 532 533 .status-agent-name { 534 font-size: 14px; 535 font-weight: 700; 536 color: var(--text-primary); 537 } 538 539 .status-model-badge { 540 font-size: 11px; 541 font-weight: 500; 542 color: var(--text-secondary); 543 background-color: var(--bg-surface-hover); 544 padding: 1px 6px; 545 border-radius: var(--radius-pill); 546 border: 1px solid var(--border-subtle); 547 } 548 549 .transparency-status-pill { 550 display: flex; 551 align-items: center; 552 gap: 5px; 553 font-size: 11.5px; 554 color: var(--status-emerald); 555 font-weight: 500; 556 } 557 558 .pulse-indicator { 559 width: 6px; 560 height: 6px; 561 border-radius: 50%; 562 background-color: var(--status-emerald); 563 box-shadow: 0 0 6px var(--status-emerald); 564 animation: pulse-glow 2s infinite ease-in-out; 565 } 566 567 @keyframes pulse-glow { 568 0%, 100% { opacity: 1; transform: scale(1); } 569 50% { opacity: 0.4; transform: scale(0.85); } 570 } 571 572 .stage-actions { 573 display: flex; 574 align-items: center; 575 gap: 8px; 576 } 577 578 .stage-btn { 579 display: inline-flex; 580 align-items: center; 581 gap: 6px; 582 padding: 6px 12px; 583 border-radius: var(--radius-btn); 584 background-color: var(--bg-surface-hover); 585 border: 1px solid var(--border-subtle); 586 color: var(--text-primary); 587 font-size: 13px; 588 font-weight: 500; 589 cursor: pointer; 590 transition: all 0.15s ease; 591 } 592 593 .stage-btn:hover { 594 background-color: var(--border-subtle); 595 } 596 597 .stage-btn.primary { 598 background-color: var(--accent-blue); 599 border-color: var(--accent-blue); 600 color: #fff; 601 } 602 603 .stage-btn.primary:hover { 604 background-color: var(--accent-blue-hover); 605 } 606 607 .action-count-badge { 608 background-color: var(--status-amber); 609 color: #000; 610 font-size: 10px; 611 font-weight: 700; 612 padding: 1px 5px; 613 border-radius: var(--radius-pill); 614 } 615 616 .views-viewport { 617 position: relative; 618 flex-grow: 1; 619 height: calc(100% - var(--header-height)); 620 overflow: hidden; 621 } 622 623 .muse-view { 624 display: none; 625 width: 100%; 626 height: 100%; 627 position: absolute; 628 top: 0; 629 left: 0; 630 } 631 632 .muse-view.active { 633 display: flex; 634 flex-direction: column; 635 } 636 637 /* ========================================================================= */ 638 /* CHAT STREAM & MESSAGES */ 639 /* ========================================================================= */ 640 .chat-scroll-area { 641 flex-grow: 1; 642 overflow-y: auto; 643 padding: 24px 20px 140px 20px; 644 display: flex; 645 flex-direction: column; 646 gap: 20px; 647 max-width: 860px; 648 margin: 0 auto; 649 width: 100%; 650 } 651 652 .chat-hero { 653 display: flex; 654 flex-direction: column; 655 align-items: center; 656 text-align: center; 657 padding: 40px 10px 20px 10px; 658 margin-bottom: 10px; 659 } 660 661 .hero-logo-wrap { 662 width: 58px; 663 height: 58px; 664 border-radius: 50%; 665 padding: 3px; 666 background: var(--accent-blue); 667 margin-bottom: 16px; 668 box-shadow: 0 4px 16px var(--accent-blue-dim); 669 } 670 671 .hero-logo { 672 width: 100%; 673 height: 100%; 674 border-radius: 50%; 675 object-fit: cover; 676 background-color: #fff; 677 } 678 679 .hero-greeting { 680 font-size: 26px; 681 font-weight: 700; 682 letter-spacing: -0.02em; 683 margin-bottom: 8px; 684 color: var(--text-primary); 685 } 686 687 .hero-sub { 688 font-size: 14.5px; 689 color: var(--text-secondary); 690 max-width: 540px; 691 margin-bottom: 24px; 692 } 693 694 .hero-suggestions { 695 display: grid; 696 grid-template-columns: repeat(2, 1fr); 697 gap: 10px; 698 width: 100%; 699 max-width: 680px; 700 } 701 702 .suggestion-chip { 703 display: flex; 704 align-items: center; 705 gap: 10px; 706 padding: 12px 14px; 707 background-color: var(--bg-card); 708 border: 1px solid var(--border-subtle); 709 border-radius: var(--radius-card); 710 color: var(--text-primary); 711 font-size: 13px; 712 font-weight: 500; 713 text-align: left; 714 cursor: pointer; 715 transition: all 0.15s ease; 716 box-shadow: var(--shadow-card); 717 } 718 719 .suggestion-chip:hover { 720 border-color: var(--accent-blue); 721 transform: translateY(-1px); 722 } 723 724 .chip-icon { 725 font-size: 16px; 726 } 727 728 .messages-list { 729 display: flex; 730 flex-direction: column; 731 gap: 16px; 732 } 733 734 .message-row { 735 display: flex; 736 gap: 10px; 737 max-width: 85%; 738 } 739 740 .message-row.user-row { 741 align-self: flex-end; 742 flex-direction: row-reverse; 743 } 744 745 .message-row.agent-row { 746 align-self: flex-start; 747 } 748 749 .msg-avatar { 750 width: 32px; 751 height: 32px; 752 border-radius: 50%; 753 object-fit: cover; 754 flex-shrink: 0; 755 margin-top: 4px; 756 } 757 758 .message-bubble { 759 padding: 12px 16px; 760 font-size: 14px; 761 line-height: 1.5; 762 box-shadow: var(--shadow-card); 763 word-break: break-word; 764 } 765 766 .user-row .message-bubble { 767 background-color: var(--bg-bubble-outgoing); 768 color: var(--text-inverse); 769 border-radius: 18px 18px 4px 18px; 770 } 771 772 .agent-row .message-bubble { 773 background-color: var(--bg-bubble-incoming); 774 color: var(--text-primary); 775 border-radius: 18px 18px 18px 4px; 776 border: 1px solid var(--border-subtle); 777 } 778 779 /* Thought / Reasoning Drawer */ 780 .thought-box { 781 background-color: rgba(0, 0, 0, 0.15); 782 border: 1px solid var(--border-subtle); 783 border-radius: 8px; 784 padding: 8px 12px; 785 margin-bottom: 10px; 786 font-size: 12.5px; 787 color: var(--text-secondary); 788 } 789 790 .thought-header { 791 display: flex; 792 align-items: center; 793 justify-content: space-between; 794 cursor: pointer; 795 font-weight: 600; 796 user-select: none; 797 } 798 799 .thought-content { 800 margin-top: 8px; 801 padding-top: 6px; 802 border-top: 1px solid var(--border-subtle); 803 font-family: var(--font-mono); 804 font-size: 12px; 805 white-space: pre-wrap; 806 } 807 808 /* Tool execution disclosure */ 809 .tool-disclosure { 810 display: inline-flex; 811 align-items: center; 812 gap: 6px; 813 background-color: var(--bg-surface-elevated); 814 border: 1px solid var(--border-subtle); 815 border-radius: var(--radius-pill); 816 padding: 4px 10px; 817 font-size: 12px; 818 color: var(--text-secondary); 819 margin: 6px 0; 820 cursor: pointer; 821 } 822 823 .tool-disclosure:hover { 824 border-color: var(--border-strong); 825 } 826 827 /* Inline Approval Card */ 828 .approval-card { 829 background-color: var(--bg-card); 830 border: 1px solid var(--status-amber); 831 border-radius: var(--radius-card); 832 padding: 14px 16px; 833 margin: 10px 0; 834 display: flex; 835 flex-direction: column; 836 gap: 8px; 837 box-shadow: 0 4px 14px rgba(247, 185, 40, 0.15); 838 } 839 840 .approval-header { 841 display: flex; 842 align-items: center; 843 justify-content: space-between; 844 } 845 846 .approval-title { 847 font-size: 14px; 848 font-weight: 700; 849 color: var(--text-primary); 850 display: flex; 851 align-items: center; 852 gap: 6px; 853 } 854 855 .approval-badge { 856 font-size: 11px; 857 font-weight: 700; 858 padding: 2px 7px; 859 border-radius: var(--radius-pill); 860 background-color: var(--status-amber-dim); 861 color: var(--status-amber); 862 } 863 864 .approval-desc { 865 font-size: 13px; 866 color: var(--text-secondary); 867 } 868 869 .approval-cmd { 870 background-color: rgba(0, 0, 0, 0.25); 871 border: 1px solid var(--border-subtle); 872 border-radius: 6px; 873 padding: 8px 10px; 874 font-family: var(--font-mono); 875 font-size: 12px; 876 color: #38bdf8; 877 overflow-x: auto; 878 } 879 880 .approval-actions { 881 display: flex; 882 gap: 10px; 883 margin-top: 4px; 884 } 885 886 .btn-approve { 887 background-color: var(--status-emerald); 888 color: #fff; 889 border: none; 890 padding: 6px 14px; 891 border-radius: var(--radius-btn); 892 font-weight: 600; 893 font-size: 12.5px; 894 cursor: pointer; 895 transition: opacity 0.15s; 896 } 897 898 .btn-reject { 899 background-color: var(--status-crimson); 900 color: #fff; 901 border: none; 902 padding: 6px 14px; 903 border-radius: var(--radius-btn); 904 font-weight: 600; 905 font-size: 12.5px; 906 cursor: pointer; 907 transition: opacity 0.15s; 908 } 909 910 .btn-approve:hover, .btn-reject:hover { 911 opacity: 0.9; 912 } 913 914 /* Code Blocks in Chat */ 915 pre.code-canvas { 916 background-color: #121314; 917 border: 1px solid var(--border-subtle); 918 border-radius: 8px; 919 padding: 12px; 920 margin: 10px 0; 921 overflow-x: auto; 922 font-family: var(--font-mono); 923 font-size: 12.5px; 924 color: #f1f5f9; 925 position: relative; 926 } 927 928 /* ========================================================================= */ 929 /* PROMPT CAPSULE (META MUSE INPUT BAR) */ 930 /* ========================================================================= */ 931 .prompt-capsule-wrapper { 932 position: absolute; 933 bottom: 0; 934 left: 0; 935 right: 0; 936 padding: 12px 20px 16px 20px; 937 display: flex; 938 flex-direction: column; 939 align-items: center; 940 background: linear-gradient(to top, var(--bg-app) 75%, transparent); 941 pointer-events: none; 942 } 943 944 .prompt-capsule { 945 pointer-events: auto; 946 display: flex; 947 align-items: flex-end; 948 gap: 8px; 949 width: 100%; 950 max-width: 780px; 951 background-color: var(--bg-input); 952 border: 1px solid var(--border-subtle); 953 border-radius: var(--radius-capsule); 954 padding: 8px 12px 8px 14px; 955 box-shadow: var(--shadow-capsule); 956 transition: border-color 0.15s ease, box-shadow 0.15s ease; 957 } 958 959 .prompt-capsule:focus-within { 960 border-color: var(--border-focus); 961 box-shadow: 0 4px 20px var(--accent-blue-dim); 962 } 963 964 .capsule-tool-btn { 965 background: transparent; 966 border: none; 967 color: var(--text-secondary); 968 cursor: pointer; 969 width: 34px; 970 height: 34px; 971 border-radius: 50%; 972 display: flex; 973 align-items: center; 974 justify-content: center; 975 flex-shrink: 0; 976 transition: background 0.15s ease, color 0.15s ease; 977 } 978 979 .capsule-tool-btn:hover { 980 background-color: var(--bg-surface-hover); 981 color: var(--text-primary); 982 } 983 984 .capsule-tool-btn svg { 985 width: 19px; 986 height: 19px; 987 } 988 989 .capsule-textarea { 990 flex-grow: 1; 991 background: transparent; 992 border: none; 993 outline: none; 994 resize: none; 995 color: var(--text-primary); 996 font-family: var(--font-system); 997 font-size: 14.5px; 998 line-height: 1.45; 999 max-height: 160px; 1000 padding: 6px 4px; 1001 } 1002 1003 .capsule-textarea::placeholder { 1004 color: var(--text-muted); 1005 } 1006 1007 .capsule-right-actions { 1008 display: flex; 1009 align-items: center; 1010 gap: 6px; 1011 flex-shrink: 0; 1012 } 1013 1014 .send-circle-btn { 1015 width: 36px; 1016 height: 36px; 1017 border-radius: 50%; 1018 background-color: var(--accent-blue); 1019 color: #fff; 1020 border: none; 1021 display: flex; 1022 align-items: center; 1023 justify-content: center; 1024 cursor: pointer; 1025 transition: background 0.15s ease, transform 0.1s ease; 1026 } 1027 1028 .send-circle-btn:hover { 1029 background-color: var(--accent-blue-hover); 1030 transform: scale(1.05); 1031 } 1032 1033 .send-circle-btn svg { 1034 width: 17px; 1035 height: 17px; 1036 margin-left: 2px; 1037 } 1038 1039 .prompt-meta-note { 1040 font-size: 11px; 1041 color: var(--text-muted); 1042 margin-top: 6px; 1043 letter-spacing: -0.01em; 1044 } 1045 1046 /* ========================================================================= */ 1047 /* VIEWS: FEED, GOALS, ARTIFACTS, MEMORY */ 1048 /* ========================================================================= */ 1049 .view-content-wrapper { 1050 padding: 24px 30px; 1051 overflow-y: auto; 1052 height: 100%; 1053 } 1054 1055 .view-header-row { 1056 display: flex; 1057 align-items: center; 1058 justify-content: space-between; 1059 margin-bottom: 24px; 1060 gap: 16px; 1061 } 1062 1063 .view-heading { 1064 font-size: 22px; 1065 font-weight: 700; 1066 letter-spacing: -0.02em; 1067 color: var(--text-primary); 1068 } 1069 1070 .view-subheading { 1071 font-size: 13.5px; 1072 color: var(--text-secondary); 1073 margin-top: 4px; 1074 } 1075 1076 /* Feed Grid */ 1077 .feed-grid { 1078 display: grid; 1079 grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 1080 gap: 16px; 1081 } 1082 1083 .feed-card { 1084 background-color: var(--bg-card); 1085 border: 1px solid var(--border-subtle); 1086 border-radius: var(--radius-card); 1087 padding: 18px; 1088 box-shadow: var(--shadow-card); 1089 display: flex; 1090 flex-direction: column; 1091 justify-content: space-between; 1092 gap: 12px; 1093 transition: transform 0.15s ease, border-color 0.15s ease; 1094 } 1095 1096 .feed-card:hover { 1097 transform: translateY(-2px); 1098 border-color: var(--accent-blue); 1099 } 1100 1101 .feed-card-header { 1102 display: flex; 1103 align-items: center; 1104 justify-content: space-between; 1105 } 1106 1107 .feed-card-badge { 1108 font-size: 11px; 1109 font-weight: 700; 1110 padding: 2px 7px; 1111 border-radius: var(--radius-pill); 1112 background-color: var(--bg-surface-hover); 1113 color: var(--text-secondary); 1114 } 1115 1116 .feed-card-badge.online { 1117 background-color: var(--status-emerald-dim); 1118 color: var(--status-emerald); 1119 } 1120 1121 .feed-card-badge.pending { 1122 background-color: var(--status-amber-dim); 1123 color: var(--status-amber); 1124 } 1125 1126 .feed-card-title { 1127 font-size: 15px; 1128 font-weight: 600; 1129 color: var(--text-primary); 1130 } 1131 1132 .feed-card-summary { 1133 font-size: 13px; 1134 color: var(--text-secondary); 1135 line-height: 1.45; 1136 } 1137 1138 /* Goals Dashboard */ 1139 .goals-container { 1140 display: grid; 1141 grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); 1142 gap: 18px; 1143 } 1144 1145 .goal-card { 1146 background-color: var(--bg-card); 1147 border: 1px solid var(--border-subtle); 1148 border-radius: var(--radius-card); 1149 padding: 20px; 1150 box-shadow: var(--shadow-card); 1151 display: flex; 1152 flex-direction: column; 1153 gap: 14px; 1154 } 1155 1156 .goal-card-top { 1157 display: flex; 1158 align-items: center; 1159 justify-content: space-between; 1160 } 1161 1162 .goal-title { 1163 font-size: 16px; 1164 font-weight: 700; 1165 color: var(--text-primary); 1166 } 1167 1168 .goal-progress-wrap { 1169 display: flex; 1170 flex-direction: column; 1171 gap: 6px; 1172 } 1173 1174 .goal-progress-bar-track { 1175 width: 100%; 1176 height: 6px; 1177 background-color: var(--border-subtle); 1178 border-radius: var(--radius-pill); 1179 overflow: hidden; 1180 } 1181 1182 .goal-progress-bar-fill { 1183 height: 100%; 1184 background-color: var(--accent-blue); 1185 border-radius: var(--radius-pill); 1186 transition: width 0.3s ease; 1187 } 1188 1189 .goal-milestones-list { 1190 display: flex; 1191 flex-direction: column; 1192 gap: 8px; 1193 margin-top: 4px; 1194 } 1195 1196 .milestone-row { 1197 display: flex; 1198 align-items: center; 1199 gap: 8px; 1200 font-size: 13px; 1201 color: var(--text-secondary); 1202 } 1203 1204 .milestone-check { 1205 cursor: pointer; 1206 accent-color: var(--accent-blue); 1207 } 1208 1209 /* Artifacts Library */ 1210 .artifacts-grid { 1211 display: grid; 1212 grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 1213 gap: 14px; 1214 } 1215 1216 .artifact-card { 1217 background-color: var(--bg-card); 1218 border: 1px solid var(--border-subtle); 1219 border-radius: var(--radius-card); 1220 padding: 16px; 1221 box-shadow: var(--shadow-card); 1222 display: flex; 1223 flex-direction: column; 1224 gap: 10px; 1225 cursor: pointer; 1226 transition: all 0.15s ease; 1227 } 1228 1229 .artifact-card:hover { 1230 transform: translateY(-2px); 1231 border-color: var(--accent-blue); 1232 } 1233 1234 .artifact-card-icon { 1235 width: 32px; 1236 height: 32px; 1237 border-radius: 8px; 1238 background-color: var(--accent-blue-dim); 1239 color: var(--accent-blue); 1240 display: flex; 1241 align-items: center; 1242 justify-content: center; 1243 } 1244 1245 .artifact-card-title { 1246 font-size: 14px; 1247 font-weight: 600; 1248 color: var(--text-primary); 1249 overflow: hidden; 1250 text-overflow: ellipsis; 1251 white-space: nowrap; 1252 } 1253 1254 /* Memory Browser */ 1255 .search-wrap { 1256 display: flex; 1257 gap: 8px; 1258 width: 440px; 1259 } 1260 1261 .search-input { 1262 flex-grow: 1; 1263 background-color: var(--bg-input); 1264 border: 1px solid var(--border-subtle); 1265 border-radius: var(--radius-btn); 1266 padding: 8px 12px; 1267 color: var(--text-primary); 1268 font-size: 13.5px; 1269 outline: none; 1270 } 1271 1272 .search-input:focus { 1273 border-color: var(--accent-blue); 1274 } 1275 1276 .memory-grid { 1277 display: grid; 1278 grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); 1279 gap: 16px; 1280 } 1281 1282 .memory-card { 1283 background-color: var(--bg-card); 1284 border: 1px solid var(--border-subtle); 1285 border-radius: var(--radius-card); 1286 padding: 18px; 1287 box-shadow: var(--shadow-card); 1288 display: flex; 1289 flex-direction: column; 1290 gap: 10px; 1291 } 1292 1293 .memory-name { 1294 font-size: 14.5px; 1295 font-weight: 700; 1296 color: var(--text-primary); 1297 font-family: var(--font-mono); 1298 } 1299 1300 .memory-content { 1301 font-size: 13px; 1302 color: var(--text-secondary); 1303 line-height: 1.45; 1304 } 1305 1306 /* Terminal View */ 1307 .terminal-container { 1308 display: flex; 1309 flex-direction: column; 1310 height: 100%; 1311 background-color: #0b0f17; 1312 padding: 16px; 1313 font-family: var(--font-mono); 1314 } 1315 1316 .terminal-bar { 1317 display: flex; 1318 align-items: center; 1319 justify-content: space-between; 1320 padding-bottom: 12px; 1321 border-bottom: 1px solid #1e293b; 1322 margin-bottom: 12px; 1323 } 1324 1325 .term-title { 1326 font-size: 12px; 1327 font-weight: 700; 1328 letter-spacing: 0.05em; 1329 color: #38bdf8; 1330 } 1331 1332 .term-scroll { 1333 flex-grow: 1; 1334 overflow-y: auto; 1335 font-size: 13px; 1336 line-height: 1.4; 1337 color: #f8fafc; 1338 white-space: pre-wrap; 1339 word-break: break-all; 1340 } 1341 1342 .term-input-line { 1343 display: flex; 1344 align-items: center; 1345 gap: 8px; 1346 padding-top: 10px; 1347 border-top: 1px solid #1e293b; 1348 } 1349 1350 .term-prompt { 1351 color: #10b981; 1352 font-size: 13px; 1353 } 1354 1355 .term-cmd-input { 1356 flex-grow: 1; 1357 background: transparent; 1358 border: none; 1359 outline: none; 1360 color: #fff; 1361 font-family: var(--font-mono); 1362 font-size: 13px; 1363 } 1364 1365 /* ========================================================================= */ 1366 /* RIGHT WORKSPACE DRAWER (ARTIFACTS & APPROVALS) */ 1367 /* ========================================================================= */ 1368 .muse-drawer { 1369 width: var(--drawer-width); 1370 height: 100%; 1371 background-color: var(--bg-surface); 1372 border-left: 1px solid var(--border-subtle); 1373 display: none; 1374 flex-direction: column; 1375 flex-shrink: 0; 1376 z-index: 20; 1377 } 1378 1379 .muse-drawer.open { 1380 display: flex; 1381 } 1382 1383 .drawer-header { 1384 display: flex; 1385 align-items: center; 1386 justify-content: space-between; 1387 height: var(--header-height); 1388 padding: 0 14px; 1389 border-bottom: 1px solid var(--border-subtle); 1390 } 1391 1392 .drawer-tabs { 1393 display: flex; 1394 gap: 4px; 1395 } 1396 1397 .drawer-tab { 1398 background: transparent; 1399 border: none; 1400 padding: 6px 10px; 1401 border-radius: var(--radius-btn); 1402 font-size: 13px; 1403 font-weight: 500; 1404 color: var(--text-secondary); 1405 cursor: pointer; 1406 transition: all 0.15s ease; 1407 } 1408 1409 .drawer-tab:hover { 1410 background-color: var(--bg-surface-hover); 1411 color: var(--text-primary); 1412 } 1413 1414 .drawer-tab.active { 1415 background-color: var(--bg-surface-hover); 1416 color: var(--accent-blue); 1417 font-weight: 600; 1418 } 1419 1420 .drawer-tab .badge { 1421 font-size: 10px; 1422 background-color: var(--status-amber); 1423 color: #000; 1424 padding: 1px 5px; 1425 border-radius: var(--radius-pill); 1426 font-weight: 700; 1427 } 1428 1429 .drawer-body { 1430 flex-grow: 1; 1431 overflow-y: auto; 1432 padding: 16px; 1433 } 1434 1435 .drawer-pane { 1436 display: none; 1437 } 1438 1439 .drawer-pane.active { 1440 display: block; 1441 } 1442 1443 .artifact-empty-state { 1444 display: flex; 1445 flex-direction: column; 1446 align-items: center; 1447 justify-content: center; 1448 height: 300px; 1449 text-align: center; 1450 color: var(--text-muted); 1451 gap: 12px; 1452 } 1453 1454 .empty-icon { 1455 width: 48px; 1456 height: 48px; 1457 color: var(--border-strong); 1458 } 1459 1460 .artifact-title-bar { 1461 display: flex; 1462 align-items: center; 1463 justify-content: space-between; 1464 margin-bottom: 10px; 1465 } 1466 1467 .artifact-filename { 1468 font-size: 14px; 1469 font-weight: 700; 1470 font-family: var(--font-mono); 1471 color: var(--text-primary); 1472 } 1473 1474 .artifact-pre { 1475 background-color: #121314; 1476 border: 1px solid var(--border-subtle); 1477 border-radius: 8px; 1478 padding: 12px; 1479 font-family: var(--font-mono); 1480 font-size: 12.5px; 1481 color: #f1f5f9; 1482 overflow-x: auto; 1483 white-space: pre-wrap; 1484 } 1485 1486 /* Modals */ 1487 .modal-backdrop { 1488 position: fixed; 1489 top: 0; 1490 left: 0; 1491 right: 0; 1492 bottom: 0; 1493 background-color: rgba(0, 0, 0, 0.6); 1494 display: flex; 1495 align-items: center; 1496 justify-content: center; 1497 z-index: 100; 1498 backdrop-filter: blur(4px); 1499 } 1500 1501 .modal-card { 1502 width: 100%; 1503 max-width: 500px; 1504 background-color: var(--bg-surface); 1505 border: 1px solid var(--border-subtle); 1506 border-radius: var(--radius-card); 1507 box-shadow: var(--shadow-elevated); 1508 display: flex; 1509 flex-direction: column; 1510 overflow: hidden; 1511 } 1512 1513 .modal-card-header { 1514 display: flex; 1515 align-items: center; 1516 justify-content: space-between; 1517 padding: 16px 20px; 1518 border-bottom: 1px solid var(--border-subtle); 1519 } 1520 1521 .modal-card-body { 1522 padding: 20px; 1523 display: flex; 1524 flex-direction: column; 1525 gap: 12px; 1526 } 1527 1528 .modal-label { 1529 font-size: 12px; 1530 font-weight: 600; 1531 color: var(--text-secondary); 1532 letter-spacing: 0.02em; 1533 } 1534 1535 .modal-input, .modal-textarea { 1536 background-color: var(--bg-input); 1537 border: 1px solid var(--border-subtle); 1538 border-radius: var(--radius-btn); 1539 padding: 8px 12px; 1540 color: var(--text-primary); 1541 font-family: var(--font-system); 1542 font-size: 13.5px; 1543 outline: none; 1544 } 1545 1546 .modal-input:focus, .modal-textarea:focus { 1547 border-color: var(--accent-blue); 1548 } 1549 1550 .modal-card-footer { 1551 display: flex; 1552 justify-content: flex-end; 1553 gap: 10px; 1554 padding: 14px 20px; 1555 border-top: 1px solid var(--border-subtle); 1556 background-color: var(--bg-sidebar); 1557 } 1558 1559 /* ========================================================================= */ 1560 /* LIVE STATE ON THE WELCOME */ 1561 /* ========================================================================= */ 1562 .hero-live { 1563 display: grid; 1564 grid-template-columns: repeat(4, minmax(0, 1fr)); 1565 gap: 10px; 1566 width: 100%; 1567 max-width: 680px; 1568 margin-bottom: 22px; 1569 text-align: left; 1570 } 1571 1572 .live-card { 1573 display: flex; 1574 flex-direction: column; 1575 gap: 3px; 1576 min-width: 0; 1577 padding: 12px 14px; 1578 background-color: var(--bg-card); 1579 border: 1px solid var(--border-subtle); 1580 border-radius: var(--radius-card); 1581 } 1582 1583 .live-card-judge { 1584 grid-column: 1 / -1; 1585 } 1586 1587 .live-card.is-bad { 1588 border-color: var(--status-crimson); 1589 } 1590 1591 .live-card.is-attention { 1592 border-color: var(--accent-blue); 1593 } 1594 1595 .live-label { 1596 font-size: 11px; 1597 font-weight: 600; 1598 letter-spacing: 0.04em; 1599 text-transform: uppercase; 1600 color: var(--text-muted); 1601 } 1602 1603 .live-value { 1604 font-size: 18px; 1605 font-weight: 700; 1606 letter-spacing: -0.01em; 1607 color: var(--text-primary); 1608 overflow-wrap: anywhere; 1609 } 1610 1611 .live-note { 1612 font-size: 12px; 1613 color: var(--text-secondary); 1614 } 1615 1616 .tabular-nums { 1617 font-variant-numeric: tabular-nums; 1618 } 1619 1620 .verdict-pass { color: var(--status-emerald); } 1621 .verdict-fail { color: var(--status-crimson); } 1622 .verdict-blocked { color: var(--status-amber); } 1623 .verdict-no-verdict { color: var(--text-muted); } 1624 1625 .status-model-badge.is-offline { 1626 color: var(--status-crimson); 1627 border-color: var(--status-crimson); 1628 } 1629 1630 /* ========================================================================= */ 1631 /* PHONES AND NARROW WINDOWS (under 820 px) */ 1632 /* The rail leaves the flow and slides in over a backdrop; the drawer takes */ 1633 /* the full width; cards stack; nothing scrolls sideways at 390 px. */ 1634 /* ========================================================================= */ 1635 .sidebar-backdrop { 1636 display: none; 1637 } 1638 1639 @media (max-width: 820px) { 1640 .muse-sidebar { 1641 position: fixed; 1642 top: 0; 1643 left: 0; 1644 bottom: 0; 1645 width: min(300px, 86vw); 1646 transform: translateX(-100%); 1647 transition: transform 0.2s ease; 1648 box-shadow: var(--shadow-elevated); 1649 } 1650 1651 .muse-sidebar.collapsed { 1652 width: min(300px, 86vw); 1653 } 1654 1655 .muse-sidebar.open { 1656 transform: translateX(0); 1657 } 1658 1659 .sidebar-backdrop.show { 1660 display: block; 1661 position: fixed; 1662 inset: 0; 1663 background: rgba(0, 0, 0, 0.45); 1664 z-index: 25; 1665 } 1666 1667 .muse-main { 1668 width: 100%; 1669 min-width: 0; 1670 } 1671 1672 .stage-header { 1673 padding: 0 10px; 1674 gap: 6px; 1675 } 1676 1677 .stage-btn span:not(.action-count-badge) { 1678 display: none; 1679 } 1680 1681 .status-model-badge { 1682 max-width: 38vw; 1683 overflow: hidden; 1684 text-overflow: ellipsis; 1685 white-space: nowrap; 1686 } 1687 1688 .chat-hero { 1689 padding: 24px 0 12px 0; 1690 } 1691 1692 .hero-greeting { 1693 font-size: 22px; 1694 } 1695 1696 .hero-live { 1697 grid-template-columns: repeat(2, minmax(0, 1fr)); 1698 } 1699 1700 .hero-suggestions { 1701 grid-template-columns: 1fr; 1702 } 1703 1704 .prompt-capsule-wrapper { 1705 padding: 8px 10px 12px 10px; 1706 } 1707 1708 .view-content-wrapper { 1709 padding: 16px; 1710 } 1711 1712 .view-header-row { 1713 flex-direction: column; 1714 align-items: stretch; 1715 } 1716 1717 .muse-drawer { 1718 position: fixed; 1719 inset: 0; 1720 width: 100%; 1721 z-index: 40; 1722 } 1723 } 1724 1725 @media (max-width: 420px) { 1726 .hero-live { 1727 grid-template-columns: 1fr; 1728 } 1729 } 1730 1731 /* Header buttons keep their icon at every width; on phones the icon is all that shows. */ 1732 .stage-btn svg { 1733 width: 16px; 1734 height: 16px; 1735 flex-shrink: 0; 1736 }