Spaces:
Sleeping
Sleeping
File size: 64,550 Bytes
1642ffb 023c4d6 b31b0fe cc151a4 b31b0fe 79e11ca | 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 | /* Manrope is self-hosted under the SIL Open Font License; see assets/manrope/OFL.txt. */
@font-face {
font-family: Manrope;
src: url("./assets/manrope/Manrope-Variable.ttf") format("truetype");
font-weight: 200 800;
font-style: normal;
font-display: swap;
}
:root {
color-scheme: light;
--font-heading: Manrope, "Helvetica Neue", Arial, sans-serif;
--font-body: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-family: var(--font-body);
font-synthesis: none;
color: #15191e;
background: #fff;
--ink: #15191e;
--muted: #60666c;
--faint: #737980;
--paper: #ffffff;
--paper-deep: #f4f5f5;
--line: #d6d9db;
--line-strong: #a9afb3;
--accent: #176448;
--accent-dark: #104b36;
--accent-soft: #edf6f1;
--accent-on-dark: #88d4ac;
--night: #14242f;
--amber: #7b571c;
--amber-soft: #faf4e7;
--page-gutter: 28px;
--header-height: 80px;
}
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: #b9bec2 transparent; }
html, body, #root { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { min-width: 320px; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, input, textarea, summary, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible,
a:focus-visible, [role="button"]:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled, input:disabled, textarea:disabled { cursor: not-allowed; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3, .floating-panel-title > strong { font-family: var(--font-heading); }
code { font-family: var(--font-body); }
svg { flex-shrink: 0; }
::selection { color: white; background: var(--accent); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px; background: var(--ink); color: white; font-size: 12px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.app-shell { position: relative; height: 100dvh; overflow: hidden; }
/* Keep the original mark in a compact utility header; the workspace has no rail. */
.observatory-mark { display: block; width: 56px; height: 56px; color: var(--ink); }
.observatory-mark svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.05; }
.observatory-mark:hover { color: var(--accent); }
.site-header {
position: fixed;
z-index: 50;
inset: 0 var(--page-gutter) auto;
height: var(--header-height);
display: flex;
align-items: center;
gap: 28px;
border-bottom: 1px dotted var(--line-strong);
background: var(--paper);
}
.header-session { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-results, .brief-open-intelligence { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 7px 10px; border: 1px solid var(--accent); background: white; color: var(--accent); font-size: 10px; cursor: pointer; }
.header-results:disabled, .brief-open-intelligence:disabled { color: var(--faint); border-color: var(--line); }
.header-results:hover:not(:disabled), .brief-open-intelligence:hover:not(:disabled) { background: var(--accent-soft); }
.header-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.header-status > i, .sample-rate > i, .connection-state > i { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: #9ba1a5; }
.status-running > i, .connection-connected > i { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.header-stop { min-width: 90px; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--accent); border-radius: 0; background: var(--accent); color: white; font-size: 11px; font-weight: 600; cursor: pointer; }
.header-stop:hover:not(:disabled) { background: var(--accent-dark); }
.header-stop:disabled { border-color: var(--line); background: transparent; color: var(--faint); }
.workspace {
/* Absolute positioning keeps the viewport-bounded grid without creating a
stacking context that traps its canonical floating video below the header. */
position: absolute;
inset: calc(var(--header-height) + 25px) var(--page-gutter) 28px;
display: grid;
grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.4fr) minmax(0, 1fr);
gap: 22px;
overflow: hidden;
}
.workspace-panel { min-width: 0; min-height: 0; background: var(--paper); }
.eyebrow { margin-bottom: 9px; color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; }
.column-heading, .media-stage-heading, .decision-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.column-heading h1, .media-stage-heading h1 { font-size: clamp(19px, 1.65vw, 26px); font-weight: 750; line-height: 1.1; letter-spacing: -0.05em; text-transform: uppercase; }
.column-heading h1, .media-stage-heading h1 { scroll-margin-top: calc(var(--header-height) + 18px); }
.column-heading h1:focus, .media-stage-heading h1:focus { outline-offset: 5px; }
.column-intro { color: var(--muted); font-size: 10px; line-height: 1.6; }
/* Independently scrolling holdings; no desktop page scroll. */
.portfolio-panel { display: flex; flex-direction: column; gap: 16px; padding-right: 16px; border-right: 1px dotted var(--line-strong); overflow: hidden; }
.allocation-total { display: grid; justify-items: end; color: var(--accent); }
.allocation-total strong { font-size: 19px; font-weight: 400; line-height: 1.2; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.allocation-total span { margin-top: 4px; color: var(--faint); font-size: 7px; text-transform: uppercase; letter-spacing: 0.05em; }
.allocation-total.is-valid strong { color: var(--ink); }
.holdings-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; display: grid; align-content: start; padding-right: 5px; }
.holding-card { position: relative; padding: 13px 0 16px; border-top: 1px dotted var(--line-strong); }
.holding-card-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: var(--faint); font-size: 8px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.icon-button { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 0; background: transparent; color: var(--faint); cursor: pointer; }
.icon-button:hover:not(:disabled) { background: var(--accent-soft); color: var(--accent); }
.icon-button:disabled { opacity: 0.4; }
.asset-combobox { position: relative; z-index: 2; }
.holding-card:focus-within { z-index: 5; }
.asset-search-field { height: 37px; display: flex; align-items: center; gap: 8px; padding: 0 9px; border: 1px solid var(--line); background: white; color: var(--faint); }
.asset-search-field:focus-within { border-color: var(--accent); }
.asset-search-field.is-invalid { border-color: var(--accent); background: var(--accent-soft); }
.asset-search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-spinner { width: 12px; height: 12px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.asset-results { position: absolute; z-index: 30; top: calc(100% + 3px); right: 0; left: 0; max-height: 240px; overflow-y: auto; padding: 4px; border: 1px solid var(--line-strong); background: white; box-shadow: 0 8px 24px #14242f18; }
.asset-results button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 9px 6px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.asset-results button:hover { background: var(--accent-soft); }
.asset-results button > span { min-width: 0; color: var(--muted); font-size: 9px; text-align: right; }
.asset-results button > span:first-child { text-align: left; }
.asset-results strong { display: block; color: var(--ink); font-size: 11px; }
.asset-results small { display: block; overflow: hidden; margin-top: 2px; color: var(--faint); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.fallback-label, .asset-search-message { padding: 7px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.fallback-label { background: var(--amber-soft); color: var(--amber); }
.fallback-label strong { display: inline; margin-right: 5px; color: var(--amber); font-size: 8px; text-transform: uppercase; }
.holding-summary { display: grid; grid-template-columns: minmax(0, 1fr) 58px; align-items: end; gap: 8px; margin-top: 10px; }
.holding-summary > div { min-width: 0; }
.holding-summary > div strong, .holding-summary > div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holding-summary > div strong { font-size: 10px; font-weight: 600; }
.holding-summary > div span { margin-top: 4px; color: var(--faint); font-size: 8px; }
.holding-summary label { position: relative; display: grid; }
.holding-summary label > span { margin-bottom: 4px; color: var(--faint); font-size: 8px; }
.holding-summary input { width: 100%; height: 30px; padding: 0 18px 0 6px; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); font-size: 10px; font-variant-numeric: tabular-nums; }
.holding-summary label.is-invalid input { border-color: var(--accent); background: var(--accent-soft); }
.holding-summary label b { position: absolute; right: 6px; bottom: 8px; color: var(--faint); font-size: 8px; font-weight: 400; }
.portfolio-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dotted var(--line-strong); }
.add-holding-button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 7px; min-height: 35px; padding: 0 10px; border: 1px solid var(--ink); background: white; color: var(--ink); font-size: 10px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.add-holding-button:hover:not(:disabled) { color: white; background: var(--ink); }
.add-holding-button:disabled { opacity: 0.5; }
.position-count { color: var(--faint); font-size: 8px; line-height: 1.5; text-align: right; }
.portfolio-validation { min-height: 14px; color: var(--accent); font-size: 9px; font-weight: 500; }
/* The dark media stage is the workspace's visual anchor. */
.center-panel { display: flex; flex-direction: column; gap: 17px; overflow: hidden; }
.media-stage { flex: 0 0 51%; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.media-stage-heading { flex: 0 0 auto; align-items: flex-end; }
.sample-rate { display: inline-flex; align-items: center; gap: 5px; padding-bottom: 3px; color: var(--muted); font-size: 8px; white-space: nowrap; }
.sample-rate > i { background: var(--accent); }
.source-tabs { flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); padding: 0; border-bottom: 1px dotted var(--line-strong); }
.source-tabs button { position: relative; height: 34px; display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; padding: 0 2px; border: 0; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.source-tabs button[aria-selected="true"] { color: var(--accent); }
.source-tabs button[aria-selected="true"]::after { position: absolute; content: ""; right: 24px; bottom: -1px; left: 0; height: 2px; background: var(--accent); }
.source-tabs button:disabled { opacity: 0.55; }
.media-surface { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--night); }
.media-surface > video, .direct-media-state > video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: var(--night); }
.compact-dropzone, .media-empty-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; color: #c6ced4; text-align: center; cursor: pointer; }
.compact-dropzone { background: var(--night); isolation: isolate; }
.compact-dropzone::before { content: ""; position: absolute; z-index: -1; width: 72%; aspect-ratio: 1; border: 1px solid #ffffff0c; border-radius: 50%; box-shadow: 0 0 0 38px #ffffff03, 0 0 0 76px #ffffff02; }
.compact-dropzone::after { content: ""; position: absolute; inset: 12px; z-index: -1; border: 1px solid #ffffff12; }
.compact-dropzone:focus-within { outline: 2px solid var(--accent-on-dark); outline-offset: -5px; }
.compact-dropzone:hover { background-color: #1b303c; }
.compact-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.compact-dropzone svg, .media-empty-state svg { color: var(--accent-on-dark); }
.compact-dropzone strong { color: white; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; }
.compact-dropzone span, .media-empty-state p { max-width: 300px; color: #b6c2ca; font-size: 10px; line-height: 1.55; }
.media-overlay-caption { position: absolute; right: 0; bottom: 0; left: 0; min-height: 36px; display: flex; align-items: center; gap: 9px; padding: 5px 9px; background: #14242feb; color: #c6ced4; font-size: 9px; }
.media-overlay-caption span:first-child { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; color: white; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.media-overlay-caption span:nth-child(2) { flex: 1; white-space: nowrap; }
.media-overlay-caption button { min-height: 27px; padding: 0 9px; border: 1px solid #7d909d; background: transparent; color: white; font-size: 9px; cursor: pointer; }
.direct-media-state { height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 7px; padding: 12px; }
.direct-media-state > label { color: #c6ced4; font-size: 9px; }
.direct-url-field { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #7d909d; color: #bac8d2; }
.direct-url-field:focus-within { border-color: var(--accent-on-dark); }
.direct-url-field.is-invalid { border-color: #e2c58d; }
.direct-url-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: white; font-size: 10px; }
.inline-error { color: #e2c58d; font-size: 9px; }
.playback-boundary { position: relative; min-height: 0; display: grid; grid-template-rows: auto minmax(200px, 1fr); gap: 7px; overflow-y: auto; color: #c6ced4; }
.playback-boundary-copy { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; }
.playback-boundary strong { color: white; font-size: 10px; }
.playback-boundary p { margin-top: 4px; color: #b6c2ca; font-size: 9px; line-height: 1.5; }
.playback-boundary svg { color: var(--accent-on-dark); }
.playback-sync-player { width: 100%; height: 100%; min-height: 200px; border: 1px solid #7d909d; background: #0b161e; }
.media-privacy-line { flex: 0 0 auto; color: var(--faint); font-size: 8px; line-height: 1.55; }
.workspace-notice { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; padding: 8px; border-left: 2px solid var(--accent); background: var(--accent-soft); color: var(--accent-dark); font-size: 9px; line-height: 1.5; }
.workspace-notice.is-warning { border-color: var(--amber); background: var(--amber-soft); color: var(--amber); }
/* Public evidence, arranged like an institute's numbered research bulletin. */
.decision-support { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 15px; border-top: 1px dotted var(--line-strong); }
.decision-header { flex: 0 0 auto; align-items: flex-end; }
.decision-header h2 { font-size: 17px; font-weight: 750; letter-spacing: -0.04em; text-transform: uppercase; }
.decision-runtime { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; padding-bottom: 2px; color: var(--faint); font-size: 8px; font-variant-numeric: tabular-nums; }
.connection-state { display: inline-flex; align-items: center; gap: 5px; text-transform: capitalize; }
.decision-warning { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 7px; background: var(--amber-soft); color: var(--amber); font-size: 9px; line-height: 1.5; }
.decision-grid { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 0; }
.decision-stage { min-width: 0; min-height: 0; overflow-y: auto; padding: 11px 10px; border-top: 1px dotted var(--line-strong); }
.decision-stage:nth-child(odd) { padding-left: 0; border-right: 1px dotted var(--line-strong); }
.decision-stage header { display: flex; align-items: baseline; gap: 7px; margin-bottom: 8px; }
.decision-stage header > span { color: var(--accent); font-size: 8px; font-variant-numeric: tabular-nums; }
.decision-stage header > div { min-width: 0; }
.decision-stage header strong { display: block; font-size: 10px; font-weight: 650; line-height: 1.4; }
.decision-stage header code { display: block; overflow: hidden; margin-top: 4px; color: var(--faint); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.decision-stage > p { color: var(--muted); font-size: 10px; line-height: 1.6; }
.decision-placeholder { color: var(--faint) !important; }
.decision-stage ul { margin: 7px 0 0; padding-left: 14px; }
.decision-stage li { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.impact-lines { display: grid; gap: 5px; margin-top: 7px; }
.impact-lines p { color: var(--accent-dark); font-size: 9px; line-height: 1.5; }
.fallback-chip { display: inline-flex; margin-top: 6px; padding: 4px; background: var(--amber-soft); color: var(--amber); font-size: 7px; text-transform: uppercase; }
.synthesis-stage { background: var(--paper-deep); }
.synthesis-stage > small { display: block; margin-top: 8px; color: var(--accent); font-size: 8px; line-height: 1.5; }
.decision-footer { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; color: var(--faint); font-size: 8px; line-height: 1.5; }
.decision-footer > span:last-child { flex-basis: 100%; }
/* Inputs scroll independently on short screens; actions always remain available. */
.control-panel { display: flex; flex-direction: column; gap: 18px; padding-left: 17px; border-left: 1px dotted var(--line-strong); overflow: hidden; }
.control-heading { position: relative; flex: 0 0 auto; }
.run-state { position: absolute; top: 1px; right: 0; color: var(--faint); font-size: 7px; text-transform: uppercase; letter-spacing: 0.025em; }
.run-state-running { color: var(--accent); }
.control-fields { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 2px 5px 4px 2px; overflow-y: auto; }
.control-fields > * { flex: 0 0 auto; }
.compact-field { display: grid; gap: 7px; }
.compact-field > span { font-size: 10px; font-weight: 600; line-height: 1.5; }
.compact-field textarea, .manual-transcript textarea { width: 100%; resize: none; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); font-size: 11px; line-height: 1.6; }
.compact-field textarea { height: 88px; padding: 10px; }
.compact-field textarea:focus, .manual-transcript textarea:focus { border-color: var(--accent); }
.compact-field small { color: var(--faint); font-size: 8px; line-height: 1.5; }
.manual-transcript { border-top: 1px dotted var(--line-strong); border-bottom: 1px dotted var(--line-strong); }
.manual-transcript summary { min-height: 35px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; list-style: none; cursor: pointer; }
.manual-transcript summary::-webkit-details-marker { display: none; }
.manual-transcript[open] summary svg { transform: rotate(90deg); }
.manual-transcript textarea { height: 76px; padding: 8px; margin-bottom: 8px; }
.audio-toggle { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 9px; padding: 2px 0; cursor: pointer; }
.audio-toggle > input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track { position: relative; width: 30px; height: 17px; border: 1px solid var(--line-strong); background: white; }
.toggle-track i { position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; background: var(--line-strong); transition: transform 140ms; }
.audio-toggle.is-on .toggle-track { border-color: var(--accent); background: var(--accent); }
.audio-toggle.is-on .toggle-track i { background: white; transform: translateX(13px); }
.audio-toggle input:focus-visible + .toggle-track { outline: 2px solid var(--accent); outline-offset: 3px; }
.audio-toggle:has(input:disabled) { opacity: 0.6; cursor: not-allowed; }
.audio-toggle strong { display: block; font-size: 10px; font-weight: 600; line-height: 1.5; }
.audio-toggle small { display: block; margin-top: 3px; color: var(--faint); font-size: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.compact-warning { padding: 8px; background: var(--amber-soft); color: var(--amber); font-size: 9px; line-height: 1.5; }
.runtime-credentials { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 10px; border: 1px solid var(--line); background: var(--paper-deep); }
.runtime-credentials legend { padding: 0 5px; color: var(--ink); font-size: 9px; font-weight: 600; }
.runtime-credentials > p { grid-column: 1 / -1; color: var(--muted); font-size: 8px; line-height: 1.5; }
.runtime-credentials label { min-width: 0; display: grid; align-content: end; gap: 5px; }
.runtime-credentials label span { color: var(--muted); font-size: 8px; line-height: 1.5; }
.runtime-credentials input { width: 100%; height: 34px; min-width: 0; padding: 0 7px; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); font-size: 9px; }
.runtime-credentials input:focus { border-color: var(--accent); }
.runtime-credentials > small { grid-column: 1 / -1; color: var(--faint); font-size: 8px; line-height: 1.6; overflow-wrap: anywhere; }
.runtime-credentials > small.runtime-url-guidance.is-invalid { color: var(--accent); font-weight: 600; }
.runtime-credentials > small.runtime-url-guidance.is-valid { color: var(--muted); }
.model-lane-stack { display: grid; }
.model-lane-stack > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 8px; min-height: 47px; padding: 9px 0; border-bottom: 1px dotted var(--line-strong); }
.model-lane-stack > div:first-child { border-top: 1px dotted var(--line-strong); }
.model-lane-stack span { display: flex; align-items: center; gap: 7px; min-width: 0; }
.model-lane-stack b { color: var(--accent); font-size: 8px; font-weight: 500; }
.model-lane-stack strong { font-size: 9px; font-weight: 600; }
.model-lane-stack code { grid-column: 1 / -1; grid-row: 2; overflow-wrap: anywhere; padding-left: 17px; color: var(--faint); font-size: 8px; line-height: 1.5; }
.model-lane-stack em { grid-column: 2; grid-row: 1; color: var(--faint); font-size: 8px; font-style: normal; white-space: nowrap; }
.model-lane-stack em.is-ready { color: var(--accent); }
.control-actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px dotted var(--line-strong); }
.control-error { max-height: 80px; overflow-y: auto; padding: 8px; border-left: 2px solid var(--accent); background: var(--accent-soft); color: var(--accent-dark); font-size: 9px; line-height: 1.5; }
.readiness-strip { display: flex; flex-wrap: wrap; gap: 4px 11px; }
.readiness-strip span { display: inline-flex; align-items: center; gap: 4px; min-height: 18px; color: var(--faint); font-size: 8px; }
.readiness-strip span.is-ready { color: var(--accent); }
.authorization-check { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; line-height: 1.5; cursor: pointer; }
.authorization-check input { position: absolute; opacity: 0; pointer-events: none; }
.authorization-check > span { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); background: white; color: transparent; }
.authorization-check input:checked + span { border-color: var(--accent); background: var(--accent); color: white; }
.authorization-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.authorization-check:has(input:disabled) { cursor: not-allowed; }
.primary-run-button { flex: 0 0 auto; min-height: 43px; display: inline-flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: white; font-size: 11px; font-weight: 500; cursor: pointer; }
.primary-run-button:hover:not(:disabled) { border-color: var(--accent); background: var(--accent); }
.primary-run-button.is-stop { border-color: var(--accent); background: var(--accent); }
.primary-run-button:disabled { border-color: var(--line); background: var(--paper-deep); color: var(--faint); }
.cost-boundary { color: var(--faint); font-size: 8px; line-height: 1.55; }
/* The same mounted player changes layout, never playback identity. */
.floating-panel.is-embedded, .floating-panel.is-embedded > .floating-panel-body { display: contents; }
.floating-panel.is-dormant { display: none; }
.floating-panel.is-floating, .floating-panel.is-panel-closed {
position: fixed;
container: analysis-panel / inline-size;
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
border: 1px solid var(--ink);
background: var(--paper);
box-shadow: 0 20px 65px #14242f30, 0 2px 9px #14242f15;
transition: opacity 130ms, box-shadow 130ms, transform 130ms;
}
.floating-panel.is-floating:focus-within { box-shadow: 0 20px 65px #14242f40, 0 0 0 1px var(--accent); }
.floating-panel.is-panel-closed { visibility: hidden; opacity: 0; pointer-events: none; transform: translateX(calc(100vw + 100%)); }
.floating-panel-header { position: relative; z-index: 3; flex: 0 0 64px; min-width: 0; display: grid; grid-template-columns: 12px minmax(80px, 1fr) auto auto 26px; align-items: center; gap: 9px; padding: 8px 10px; border-bottom: 1px solid var(--ink); background: var(--night); color: white; cursor: move; touch-action: none; user-select: none; }
.floating-panel-grip { display: grid; grid-template-columns: repeat(2, 2px); gap: 3px; justify-content: center; }
.floating-panel-grip i { width: 2px; height: 2px; background: #9aaab4; }
.floating-panel-title { min-width: 0; }
.floating-panel-title > span, .floating-panel-title > strong, .floating-panel-title > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.floating-panel-title > span { margin-bottom: 3px; color: var(--accent-on-dark); font-size: 7px; letter-spacing: 0.1em; text-transform: uppercase; }
.floating-panel-title > strong { font-size: 13px; font-weight: 650; letter-spacing: -0.02em; text-transform: uppercase; }
.floating-panel-title > small { margin-top: 3px; color: #b7c2ca; font-size: 8px; }
.floating-panel-active { display: inline-flex; align-items: center; gap: 6px; color: #c6ced4; font-size: 8px; white-space: nowrap; }
.floating-panel-active i, .analysis-panel-dock-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-on-dark); }
.floating-panel-stop, .floating-panel-close { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ffffff60; color: white; cursor: pointer; }
.floating-panel-stop { min-height: 32px; gap: 6px; padding: 0 10px; background: var(--accent); font-size: 9px; font-weight: 600; white-space: nowrap; }
.floating-panel-stop:hover:not(:disabled) { background: var(--accent-dark); }
.floating-panel-stop:disabled { opacity: 0.55; }
.floating-panel-close { width: 26px; height: 30px; border-color: transparent; background: transparent; font-size: 22px; line-height: 1; }
.floating-panel-close:hover { border-color: #ffffff50; }
.floating-panel-body { flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden; }
.floating-panel-video .floating-panel-body { background: var(--night); }
.floating-panel-resize { position: absolute; z-index: 6; right: 0; bottom: 0; width: 28px; height: 28px; display: grid; align-content: end; justify-content: end; gap: 2px; padding: 0 4px 4px 0; color: var(--accent); cursor: nwse-resize; touch-action: none; }
.floating-panel-resize i { display: block; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.floating-panel-resize i:nth-child(1) { width: 5px; margin-left: 9px; }
.floating-panel-resize i:nth-child(2) { width: 9px; margin-left: 5px; }
.floating-panel-resize i:nth-child(3) { width: 14px; }
.media-stage.is-popup-media { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 0; }
.is-popup-media .media-stage-heading, .is-popup-media .source-tabs, .is-popup-media .media-privacy-line { display: none; }
.is-popup-media .media-surface { flex: 1 1 auto; width: 100%; min-height: 0; border: 0; }
.is-popup-media .direct-media-state { height: 100%; display: block; padding: 0; }
.is-popup-media .direct-media-state > label, .is-popup-media .direct-url-field, .is-popup-media .inline-error { display: none; }
.is-popup-media .direct-media-state > video, .is-popup-media .playback-boundary, .is-popup-media .playback-sync-player { width: 100%; height: 100%; }
.is-popup-media .playback-boundary { display: block; }
.is-popup-media .playback-boundary-copy { display: none; }
.live-intelligence { height: 100%; min-height: 0; display: flex; flex-direction: column; background: var(--paper); }
.live-intelligence-status { flex: 0 0 34px; display: flex; align-items: center; gap: 11px; padding: 0 13px; border-bottom: 1px dotted var(--line-strong); color: var(--faint); font-size: 9px; font-variant-numeric: tabular-nums; text-transform: capitalize; }
.live-intelligence-status > span:nth-child(3) { margin-left: auto; }
.intelligence-phase { color: var(--accent); }
.intelligence-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; border-bottom: 1px dotted var(--line-strong); }
.intelligence-toolbar > div { display: flex; gap: 6px; flex-wrap: wrap; }
.intelligence-toolbar button { min-height: 32px; padding: 6px 8px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 11px; cursor: pointer; }
.intelligence-toolbar button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.intelligence-diagnostics-note { padding: 7px 12px; color: var(--muted); background: var(--paper-deep); font-size: 10px; line-height: 1.5; }
.intelligence-timing-details { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.intelligence-timing-details summary { color: var(--accent); cursor: pointer; }
.intelligence-timing-details > span, .intelligence-timing-details > p { display: block; margin-top: 6px; }
.intelligence-empty { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px; color: var(--faint); text-align: center; }
.intelligence-empty svg { color: var(--accent); }
.intelligence-empty strong { color: var(--ink); font-size: 14px; font-weight: 500; }
.intelligence-empty p { max-width: 390px; font-size: 11px; line-height: 1.6; }
.intelligence-log { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; margin: 0; padding: 14px 18px 18px 12px; list-style: none; }
.intelligence-event { min-width: 0; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 11px; }
.intelligence-event-marker { position: relative; display: flex; flex-direction: column; align-items: center; }
.intelligence-event-marker::after { content: ""; flex: 1 1 auto; width: 0; min-height: 10px; border-left: 1px dotted var(--line-strong); }
.intelligence-event:last-child .intelligence-event-marker::after { border-color: transparent; }
.intelligence-event-marker > span { width: 24px; height: 24px; display: grid; place-items: center; color: var(--accent); font-size: 10px; font-variant-numeric: tabular-nums; }
.intelligence-event-marker > i { width: 4px; height: 4px; margin: 4px 0; border-radius: 50%; background: var(--accent); }
.intelligence-event > article { min-width: 0; margin-bottom: 12px; padding: 8px 0 14px; border-bottom: 1px dotted var(--line-strong); background: white; }
.intelligence-event-synthesis > article { padding: 12px; background: var(--paper-deep); }
.intelligence-event-warning > article { padding: 12px; background: var(--amber-soft); }
.intelligence-event article > header, .intelligence-event article > footer { display: flex; align-items: center; gap: 8px; }
.intelligence-event article > header { justify-content: space-between; }
.intelligence-event-stage { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 8px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.intelligence-event-time { color: var(--faint); font-size: 8px; font-variant-numeric: tabular-nums; }
.intelligence-event h3 { margin-top: 9px; font-size: 15px; font-weight: 650; }
.intelligence-event article > p { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.intelligence-detail-list, .intelligence-recommendations { display: grid; gap: 6px; margin: 10px 0 0; padding-left: 17px; }
.intelligence-detail-list li, .intelligence-recommendations li { color: var(--muted); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.intelligence-recommendations li::marker { color: var(--accent); }
.intelligence-uncertainty { display: grid; gap: 4px; margin-top: 10px; padding: 8px; background: var(--amber-soft); color: var(--amber); font-size: 9px; line-height: 1.6; }
.intelligence-event article > footer { flex-wrap: wrap; margin-top: 9px; color: var(--faint); font-size: 8px; }
.intelligence-event article > footer code { max-width: 100%; overflow-wrap: anywhere; font-size: 8px; }
.intelligence-event article > footer b { color: var(--accent); font-size: 7px; font-weight: 500; text-transform: uppercase; }
.intelligence-disclosure { flex: 0 0 auto; padding: 9px 12px; border-top: 1px dotted var(--line-strong); color: var(--faint); font-size: 8px; line-height: 1.5; }
.analysis-panel-dock { position: fixed; z-index: 220; right: 50%; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 13px; border: 1px solid #ffffff30; background: var(--night); box-shadow: 0 8px 28px #14242f30; color: white; transform: translateX(50%); }
.analysis-panel-dock-status { display: inline-flex; align-items: center; gap: 8px; margin-right: 4px; color: #c6ced4; font-size: 9px; white-space: nowrap; }
.analysis-panel-dock button { min-height: 31px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid #ffffff50; background: transparent; color: white; font-size: 9px; cursor: pointer; white-space: nowrap; }
.analysis-panel-dock button:hover:not(:disabled) { background: #ffffff12; }
.analysis-panel-dock .analysis-panel-dock-stop { border-color: var(--accent); background: var(--accent); }
.analysis-panel-dock button:disabled { opacity: 0.5; }
/* Resized panels need compact controls even on a wide desktop viewport. */
@container analysis-panel (max-width: 480px) {
.floating-panel-header { grid-template-columns: 10px minmax(0, 1fr) auto 26px; gap: 6px; padding-inline: 8px; }
.floating-panel-active { display: none; }
.floating-panel-title > strong { font-size: 11px; }
.floating-panel-stop { padding-inline: 7px; font-size: 8px; }
}
@media (max-height: 800px) and (min-width: 901px) {
.portfolio-panel { gap: 12px; }
.column-intro { font-size: 9px; }
.control-panel { gap: 12px; }
.control-fields { gap: 11px; }
.compact-field textarea { height: 73px; }
.decision-support { gap: 9px; padding-top: 12px; }
.decision-stage { padding-block: 9px; }
}
@media (max-width: 1200px) and (min-width: 901px) {
:root { --page-gutter: 20px; }
.workspace { gap: 16px; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr) minmax(0, 1.1fr); }
.portfolio-panel { padding-right: 12px; }
.control-panel { padding-left: 12px; }
.column-heading h1, .media-stage-heading h1 { font-size: 18px; }
.sample-rate { font-size: 7px; }
.run-state { position: static; max-width: 50px; font-size: 7px; text-align: right; }
.decision-header h2 { font-size: 14px; }
.runtime-credentials { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
:root { --header-height: 72px; --page-gutter: 24px; }
html, body, #root { height: auto; min-height: 100%; overflow: auto; }
.app-shell { height: auto; min-height: 100dvh; overflow: visible; }
.site-header { left: var(--page-gutter); gap: 18px; }
.observatory-mark { width: 48px; height: 48px; }
.header-session { gap: 10px; }
.workspace { position: static; display: grid; grid-template-columns: 1fr; gap: 34px; margin: calc(var(--header-height) + 24px) var(--page-gutter) 28px; overflow: visible; }
.workspace-panel { overflow: visible; }
.portfolio-panel { height: 600px; padding: 0; border: 0; }
.column-heading h1, .media-stage-heading h1 { font-size: 25px; }
.column-intro { font-size: 12px; }
.holding-card { padding-block: 15px; }
.holding-summary > div strong, .asset-search-field input { font-size: 12px; }
.center-panel { min-height: 870px; gap: 22px; }
.media-stage { flex: 0 0 390px; }
.decision-support { min-height: 440px; }
.control-panel { padding: 25px 0 0; border: 0; border-top: 1px dotted var(--line-strong); }
.control-fields { overflow: visible; padding: 2px; }
.compact-field textarea { height: 115px; }
.compact-field > span, .audio-toggle strong, .manual-transcript summary { font-size: 12px; }
.compact-field textarea, .manual-transcript textarea, .runtime-credentials input { font-size: 16px; }
.model-lane-stack code { font-size: 10px; }
.runtime-credentials { gap: 12px; padding: 14px; }
.runtime-credentials legend { font-size: 11px; }
.runtime-credentials > p, .runtime-credentials > small, .runtime-credentials label span { font-size: 10px; }
.authorization-check { font-size: 11px; }
.primary-run-button { min-height: 48px; font-size: 13px; }
.cost-boundary { font-size: 10px; }
.floating-panel-header { grid-template-columns: 10px minmax(72px, 1fr) auto 25px; gap: 6px; padding-inline: 8px; }
.floating-panel-active { display: none; }
.floating-panel-title > span { font-size: 6px; }
.floating-panel-title > small { font-size: 7px; }
.analysis-panel-dock { right: 8px; left: 8px; justify-content: center; flex-wrap: wrap; transform: none; }
.analysis-panel-dock-status { display: none; }
}
@media (max-width: 520px) {
:root { --page-gutter: 18px; }
.header-status { display: none; }
.header-session { gap: 6px; }
.header-results { max-width: 112px; font-size: 9px; }
.header-stop { min-width: 68px; height: 34px; }
.decision-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, minmax(145px, auto)); }
.decision-stage, .decision-stage:nth-child(odd) { padding: 14px 10px; border-right: 0; }
.decision-stage header strong, .decision-stage > p { font-size: 11px; }
.decision-stage header code { font-size: 8px; }
.decision-support { min-height: 720px; }
.decision-header h2 { font-size: 16px; }
.center-panel { min-height: 1140px; }
.runtime-credentials { grid-template-columns: 1fr; }
.floating-panel-stop { padding: 0 7px; font-size: 8px; }
.floating-panel-title > strong { font-size: 11px; }
.live-intelligence-status { font-size: 8px; }
.intelligence-event-stage, .intelligence-event-time { font-size: 7px; }
}
.playback-progress { flex: 0 0 auto; padding: 10px 12px; color: var(--ink); background: var(--paper, #fff); border-top: 1px solid var(--line); }
.playback-progress > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font: 11px/1.4 var(--font-body); }
.playback-progress strong { color: var(--accent); font-weight: 600; }
.playback-progress progress { display: block; width: 100%; height: 4px; margin-top: 9px; border: 0; accent-color: var(--accent); pointer-events: none; }
.playback-progress progress::-webkit-progress-bar { background: var(--line); }
.playback-progress progress::-webkit-progress-value { background: var(--accent); }
.audio-lane-status { flex: 0 0 auto; margin: 0; padding: 8px 12px; background: var(--paper, #fff); color: var(--muted); font-size: 10px; line-height: 1.5; border-top: 1px dotted var(--line); overflow-wrap: anywhere; }
.audio-lane-status strong { color: var(--accent); margin-right: 6px; }
.run-report { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 24px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.7; }
.run-report h2 { font-size: 30px; margin: 4px 0 12px; letter-spacing: -0.04em; }
.run-report h3 { font-size: 17px; margin: 12px 0 8px; }
.run-report section { margin-block: 22px; }
.run-report p { overflow-wrap: anywhere; }
.run-report ul, .run-report ol { padding-left: 24px; margin: 10px 0; }
.run-report li { padding-block: 5px; }
.run-report-summary { font-size: 15px; }
.run-report-actions { padding: 16px; background: var(--accent-wash, #eef6f2); border-left: 3px solid var(--accent); }
.run-report-caveat, .run-report-empty { padding: 12px 16px; background: #f4f5f5; border-left: 2px solid var(--line-strong); font-size: 12px; }
.run-report-coverage { display: flex; gap: 8px 18px; flex-wrap: wrap; padding: 10px 0; border-block: 1px dotted var(--line-strong); color: var(--accent); font-size: 11px; }
.run-report-coverage-note, .run-report-disclosure { font-size: 11px; color: var(--muted); }
.run-report-provenance, .run-report-prior { margin-block: 16px; padding-block: 10px; border-block: 1px dotted var(--line); font-size: 11px; overflow-wrap: anywhere; }
.run-report summary { cursor: pointer; color: var(--accent); }
.run-report-prior article { padding-block: 14px; border-top: 1px solid var(--line); }
.header-recommendations { background: var(--accent); color: #fff; }
@media (max-width: 520px) {
.header-session:has(.header-recommendations) { display: grid; grid-template-columns: minmax(0, 1fr) 58px; gap: 3px 6px; }
.header-session:has(.header-recommendations) .header-results { height: 26px; min-height: 26px; max-width: 150px; grid-column: 1; padding: 3px 7px; }
.header-session:has(.header-recommendations) .header-stop { grid-column: 2; grid-row: 1 / 3; min-width: 58px; }
.run-report { padding: 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* Recreation: original layout and assets, with comfortably readable type. */
.omnai-recreation .workspace { overflow: visible; }
.omnai-recreation .workspace-panel { overflow-y: auto; padding-bottom: 18px; }
.omnai-recreation .portfolio-panel { gap: 15px; overflow: hidden; }
.omnai-recreation .column-intro { font-size: 12px; line-height: 1.65; }
.omnai-recreation .eyebrow { font-size: 10px; line-height: 1.4; }
.omnai-recreation .header-results, .omnai-recreation .header-status { font-size: 11px; }
.omnai-recreation .header-stop { font-size: 13px; }
.omnai-recreation .allocation-total span { font-size: 9px; }
.omnai-recreation .holding-card-topline { font-size: 10px; }
.holding-field { display: grid; gap: 6px; color: var(--muted); font-size: 11px; margin-bottom: 10px; }
.holding-field input, .holding-field select { width: 100%; min-width: 0; min-height: 36px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: white; font-size: 12px; }
.holding-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.weight-field { grid-template-columns: 1fr 80px; align-items: center; }
.secondary-button, .text-button { border: 1px solid var(--line-strong); background: white; color: var(--ink); font-size: 12px; min-height: 36px; padding: 8px 12px; cursor: pointer; }
.secondary-button:hover:not(:disabled), .text-button:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.text-button { border: 0; font-size: 11px; white-space: nowrap; padding: 4px; }
.validation-note { color: var(--amber); background: var(--amber-soft); padding: 9px; font-size: 11px; line-height: 1.6; }
.source-column, .research-column { display: flex; flex-direction: column; gap: 18px; }
.research-column { padding-left: 18px; border-left: 1px dotted var(--line-strong); }
.omnai-recreation .source-tabs { display: flex; gap: 6px; flex: 0 0 auto; }
.omnai-recreation .source-tabs button { flex: 1; padding: 9px 8px; min-height: 38px; font-size: 11px; background: white; border: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.omnai-recreation .source-tabs button[aria-pressed=true] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.file-picker { display: grid; gap: 8px; padding: 12px; border: 1px dashed var(--line-strong); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.file-picker input { width: 100%; font-size: 11px; }
.file-picker input::file-selector-button { margin-right: 12px; padding: 7px; border: 1px solid var(--line-strong); border-radius: 0; color: var(--ink); background: var(--paper-deep); font: inherit; cursor: pointer; }
.url-picker { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.url-picker input, .url-picker button { min-width: 0; border: 1px solid var(--line); background: white; padding: 10px; font-size: 12px; }
.url-picker p { grid-column: 1/-1; font-size: 11px; color: var(--muted); line-height: 1.5; }
.canonical-media-slot { min-height: 245px; }
.canonical-media { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--night); }
.canonical-media video { display: block; width: 100%; min-height: 180px; flex: 1; min-width: 0; object-fit: contain; max-height: 420px; }
.is-floating .canonical-media video { min-height: 0; max-height: none; }
.video-empty { position: absolute; inset: 0 0 58px; display: grid; align-content: center; justify-items: center; gap: 10px; background: var(--night); color: #aebbc3; pointer-events: none; font-size: 11px; }
.video-empty span { font-family: var(--font-heading); font-size: 20px; color: white; }
.media-privacy-note, .research-disclosure { color: var(--muted); font-size: 11px; line-height: 1.65; }
.source-findings { border-top: 1px dotted var(--line-strong); padding-top: 18px; }
.source-findings h2 { font-size: 18px; letter-spacing: -.03em; }
.source-reference { color: var(--accent); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.findings-empty { min-height: 150px; padding-block: 24px; border-bottom: 1px dotted var(--line-strong); }
.findings-empty p { font-size: 14px; margin-bottom: 10px; }
.findings-empty span { font-size: 12px; line-height: 1.7; color: var(--muted); }
.finding { margin-top: 16px; padding-bottom: 18px; border-bottom: 1px dotted var(--line-strong); }
.finding > p:nth-child(2) { margin-top: 8px; font-size: 13px; line-height: 1.8; }
.finding details { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.finding summary { cursor: pointer; color: var(--accent); }
.objective-field { display: grid; gap: 10px; font-size: 12px; color: var(--muted); }
.objective-field textarea { width: 100%; padding: 12px; resize: vertical; min-height: 145px; border: 1px solid var(--line); color: var(--ink); background: white; font-size: 13px; line-height: 1.7; }
.model-description { padding-block: 17px; border-block: 1px dotted var(--line-strong); }
.model-description strong { display: block; font-size: 12px; font-weight: 600; margin: 10px 0 7px; }
.model-description p:not(.eyebrow), .session-mode p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.session-mode { border-left: 2px solid var(--accent); padding: 10px 12px; background: var(--accent-soft); }
.session-mode span { display: block; font-size: 12px; color: var(--accent); margin-bottom: 7px; }
.media-authorization { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.media-authorization input { margin-top: 4px; width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--accent); }
.visible-error { position: relative; padding: 12px 28px 12px 12px; border-left: 2px solid var(--amber); background: var(--amber-soft); color: var(--amber); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.visible-error button { position: absolute; right: 4px; top: 4px; color: inherit; font-size: 18px; background: transparent; border: 0; cursor: pointer; }
.omnai-recreation .primary-run-button { min-height: 47px; font-size: 13px; }
.omnai-recreation .cost-boundary { font-size: 11px; }
.session-metrics { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 0; padding-block: 16px; border-block: 1px dotted var(--line-strong); font-size: 11px; }
.session-metrics dt { color: var(--muted); }.session-metrics dd { margin: 0; font-variant-numeric: tabular-nums; }
.omnai-recreation .floating-panel-title > span { font-size: 9px; }.omnai-recreation .floating-panel-title > small { font-size: 10px; }
.omnai-recreation .floating-panel-active { font-size: 10px; }.omnai-recreation .floating-panel-stop { font-size: 11px; }
.omnai-recreation .floating-panel-header { min-height: 72px; }
.omnai-recreation .intelligence-event-stage, .omnai-recreation .intelligence-event-time, .omnai-recreation .intelligence-event article > footer { font-size: 10px; }
.omnai-recreation .intelligence-disclosure { font-size: 10px; line-height: 1.6; }
.diagnostics-log { flex: 1; overflow: auto; padding: 18px; font-size: 12px; line-height: 1.8; }
.diagnostics-log > p { color: var(--muted); }.diagnostics-log article { padding-block: 16px; border-bottom: 1px dotted var(--line-strong); }.diagnostics-log strong { color: var(--accent); font-weight: 500; }.diagnostics-log h3 { margin-top: 16px; }
.implication-details { margin: 12px 0; font-size: 12px; }.implication-details dt { color: var(--accent); margin-top: 10px; }.implication-details dd { margin: 4px 0 0; }
.login-field { display: grid; gap: 10px; }.login-field label { display: grid; gap: 7px; font-size: 12px; }.login-field input { min-width: 0; padding: 10px; border: 1px solid var(--line); }
@media (max-width: 1200px) and (min-width: 901px) { .omnai-recreation .workspace { grid-template-columns: minmax(0,.82fr) minmax(0,1.4fr) minmax(0,1fr); gap: 22px; }.omnai-recreation .column-heading h1 { font-size: 20px; }.omnai-recreation .column-heading { flex-wrap: wrap; }.holding-fields { grid-template-columns: 1fr; gap: 0; }.omnai-recreation .floating-panel-active { display: none; }.omnai-recreation .floating-panel-header { grid-template-columns: 12px 1fr auto 26px; } }
@media (max-width: 900px) { .omnai-recreation .workspace-panel { overflow: visible; }.omnai-recreation .portfolio-panel { height: auto; max-height: none; }.omnai-recreation .holdings-list { overflow: visible; }.research-column { padding: 24px 0 0; border-left: 0; border-top: 1px dotted var(--line-strong); }.canonical-media-slot { min-height: 280px; }.omnai-recreation .floating-panel-active { display: none; }.omnai-recreation .floating-panel-header { grid-template-columns: 8px 1fr auto 26px; }.source-column { padding-top: 22px; border-top: 1px dotted var(--line-strong); }.holding-field input, .holding-field select, .objective-field textarea, .url-picker input { font-size: 16px; } }
@media (max-width: 520px) { .omnai-recreation .header-session { display: grid; grid-template-columns: 1fr 62px; gap: 4px 8px; }.omnai-recreation .header-results { grid-column: 1; min-height: 25px; padding: 4px 7px; font-size: 10px; max-width: none; }.omnai-recreation .header-stop { grid-column: 2; grid-row: 1/3; min-width: 62px; }.omnai-recreation .floating-panel-stop { font-size: 10px; }.omnai-recreation .floating-panel-title > small { display: none; }.omnai-recreation .floating-panel-title > strong { font-size: 12px; } }
/* Public text must stay readable; narrow layouts scroll instead of shrinking. */
.omnai-recreation .eyebrow, .omnai-recreation .allocation-total span,
.omnai-recreation .holding-card-topline, .omnai-recreation .holding-field,
.omnai-recreation .source-reference, .omnai-recreation .media-privacy-note,
.omnai-recreation .research-disclosure, .omnai-recreation .cost-boundary,
.omnai-recreation .session-metrics, .omnai-recreation .findings-empty span,
.omnai-recreation .finding details, .omnai-recreation .validation-note,
.omnai-recreation .floating-panel-title > span, .omnai-recreation .floating-panel-title > small,
.omnai-recreation .floating-panel-active, .omnai-recreation .intelligence-event-stage,
.omnai-recreation .intelligence-event-time, .omnai-recreation .intelligence-event article > footer,
.omnai-recreation .intelligence-disclosure, .omnai-recreation .run-report-disclosure,
.omnai-recreation .playback-progress > div, .omnai-recreation .audio-lane-status { font-size: 12px; line-height: 1.65; }
.omnai-recreation .header-results, .omnai-recreation .header-stop,
.omnai-recreation .header-status, .omnai-recreation .secondary-button,
.omnai-recreation .text-button, .omnai-recreation .source-tabs button,
.omnai-recreation .floating-panel-stop, .omnai-recreation .intelligence-toolbar button,
.omnai-recreation .file-picker, .omnai-recreation .file-picker input,
.omnai-recreation .holding-field input, .omnai-recreation .holding-field select { font-size: 13px; }
.omnai-recreation .column-intro, .omnai-recreation .objective-field,
.omnai-recreation .objective-field textarea, .omnai-recreation .model-description strong,
.omnai-recreation .model-description p:not(.eyebrow), .omnai-recreation .session-mode p,
.omnai-recreation .session-mode span, .omnai-recreation .media-authorization,
.omnai-recreation .visible-error, .omnai-recreation .finding > p:nth-child(2),
.omnai-recreation .intelligence-event article > p, .omnai-recreation .run-report,
.omnai-recreation .implication-details,
.omnai-recreation .diagnostics-log,
.omnai-recreation .run-report-caveat { font-size: 14px; line-height: 1.75; }
.omnai-recreation .run-report-summary { font-size: 16px; }
.omnai-recreation .floating-panel-active { display: none; }
.omnai-recreation .floating-panel-header { grid-template-columns: 10px minmax(0, 1fr) auto 26px; min-height: 82px; }
.omnai-recreation .floating-panel-title > small { display: none; }
.omnai-recreation .header-status { display: inline-flex; }
@media (max-width: 520px) { .omnai-recreation { --header-height: 96px; }.omnai-recreation .header-results, .omnai-recreation .header-stop, .omnai-recreation .floating-panel-stop { font-size: 12px; }.omnai-recreation .header-results { min-height: 27px; }.omnai-recreation .source-reference { font-size: 12px; }.omnai-recreation .header-status { grid-column: 1 / -1; grid-row: 3; justify-self: end; } }
/* Public findings share one evidence ledger; no agent conversation surface. */
.full-findings { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 24px; font-size: 14px; line-height: 1.75; }
.full-findings h2 { font-size: 22px; line-height: 1.3; margin-bottom: 14px; }
.full-findings > .secondary-button { margin: 20px 0; }
.portfolio-findings { padding-top: 24px; margin-top: 24px; border-top: 1px dotted var(--line-strong); }
.portfolio-findings > p, .instrument-reference { color: var(--muted); }
.public-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.75; }
.evidence-channel { margin-top: 12px; }
.evidence-channel h3 { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 5px; }
.evidence-channel p { font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.finding .public-text { margin-top: 10px; }
.latest-implications { margin-top: 24px; padding-top: 20px; border-top: 1px dotted var(--line-strong); }
.latest-implications p { font-size: 14px; line-height: 1.75; margin-top: 14px; }
.latest-implications .text-button { margin-top: 12px; white-space: normal; text-align: left; }
.instrument-reference { font-size: 12px; }
@media (max-width: 520px) { .full-findings { padding: 18px; }.source-findings .column-heading { flex-wrap: wrap; }.omnai-recreation .header-session { column-gap: 6px; } }
.login-field button { padding: 8px 13px; border: 1px solid var(--accent); background: var(--accent); color: white; font-size: 12px; cursor: pointer; }
.original-findings { margin-block: 18px; padding-block: 14px; border-block: 1px dotted var(--line-strong); }
.original-findings p { margin-top: 14px; }
/* Deterministic instrument lookup shares the holdings column's editorial form. */
.instrument-picker { margin-bottom: 14px; }
.instrument-picker > label { margin-bottom: 6px; }
.instrument-search { display: block; width: 100%; min-width: 0; min-height: 38px; padding: 8px 9px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--paper); color: var(--ink); font-size: 13px; }
.instrument-directory-results { margin-top: 6px; border: 1px solid var(--line-strong); background: var(--paper); }
.directory-count, .directory-empty { padding: 9px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.directory-count { border-bottom: 1px dotted var(--line-strong); }
.instrument-directory-results ul { max-height: 248px; overflow-y: auto; list-style: none; margin: 0; padding: 0; }
.instrument-directory-results li { padding: 11px 9px; border-bottom: 1px dotted var(--line); cursor: pointer; }
.instrument-directory-results li:last-child { border-bottom: 0; }
.instrument-directory-results li[aria-selected=true] { background: var(--accent-soft); }
.instrument-directory-results strong { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--accent); }
.instrument-directory-results strong span { color: var(--muted); font-size: 11px; font-weight: 400; }
.directory-name { display: block; font-size: 13px; line-height: 1.6; margin-top: 5px; overflow-wrap: anywhere; }
.instrument-directory-results small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.instrument-provenance, .custom-instrument-note { margin-bottom: 14px; font-size: 12px; line-height: 1.65; color: var(--muted); }
.instrument-provenance { padding: 10px 0; border-block: 1px dotted var(--line-strong); }
.instrument-provenance a { display: inline-block; color: var(--accent); margin: 6px 10px 6px 0; }
.instrument-provenance span { display: inline-block; }
.instrument-provenance p:last-child { font-size: 11px; }
@media (max-width: 900px) { .instrument-search { font-size: 16px; } }
.directory-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 10px; border-bottom: 1px dotted var(--line-strong); }
.directory-filters label { display: grid; gap: 6px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.directory-filters select { width: 100%; min-width: 0; padding: 7px 5px; border: 1px solid var(--line); border-radius: 0; font-size: 12px; color: var(--ink); background: var(--paper); }
.directory-match-reason { display: block; margin-top: 7px; font-size: 12px; line-height: 1.6; color: var(--accent-dark); overflow-wrap: anywhere; }
.directory-pagination { display: flex; justify-content: space-between; gap: 8px; padding: 9px; border-top: 1px dotted var(--line-strong); }
.directory-pagination button { padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 0; font-size: 12px; background: var(--paper); color: var(--accent); cursor: pointer; }
.directory-pagination button:disabled { color: var(--faint); cursor: not-allowed; }
.directory-scope { padding: 9px; color: var(--muted); font-size: 11px; line-height: 1.65; border-top: 1px dotted var(--line); }
@media (max-width: 900px) { .directory-filters select { font-size: 16px; } }
/* Selected holdings stay compact; unfinished additions are separate drafts. */
.portfolio-allocation-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.portfolio-allocation-tools p { flex: 1 1 130px; font-size: 12px; line-height: 1.65; }
.portfolio-allocation-tools .secondary-button { flex: 0 0 auto; }
.allocation-ready, .allocation-total.is-complete { color: var(--accent); }
.allocation-pending, .allocation-total.is-incomplete { color: var(--amber); }
.holding-remove { flex: 0 0 auto; min-height: 36px; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--paper); color: var(--ink); font-size: 12px; cursor: pointer; }
.holding-remove:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.holding-remove:disabled, .holding-weight-actions button:disabled { opacity: .5; cursor: not-allowed; }
.selected-instrument { margin: 10px 0 14px; }
.selected-instrument h2 { font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.selected-instrument p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.selected-instrument .text-button { margin-top: 7px; padding-left: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.holding-change-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 12px; }
.omnai-recreation .weight-field { grid-template-columns: minmax(0, 1fr) 106px; margin-bottom: 0; }
.allocation-input { display: flex; align-items: center; border: 1px solid var(--line-strong); background: var(--paper); }
.allocation-input:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.omnai-recreation .allocation-input input { width: 100%; min-width: 0; min-height: 42px; border: 0; padding: 9px 4px 9px 10px; background: transparent; font-variant-numeric: tabular-nums; }
.allocation-input input:focus { outline: none; }
.allocation-input > span { padding-right: 10px; color: var(--muted); font-size: 13px; }
.holding-weight-actions { display: flex; justify-content: flex-end; margin: 4px 0 10px; }
.holding-weight-actions button { min-height: 34px; color: var(--accent); }
.holding-details { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.65; }
.holding-details summary { padding: 7px 0; cursor: pointer; }
.holding-details[open] summary { margin-bottom: 10px; }
.holding-details .instrument-provenance { margin-bottom: 0; }
.holding-error { padding: 9px; margin: 8px 0; color: var(--amber); background: var(--amber-soft); font-size: 12px; line-height: 1.65; }
.portfolio-draft-note, .portfolio-empty, .portfolio-holding-count, .session-start-help { color: var(--muted); font-size: 12px; line-height: 1.65; }
.holding-draft { border-top-style: solid; border-top-color: var(--accent); }
.holding-draft .holding-card-topline > span { color: var(--accent); letter-spacing: .04em; }
@media (max-width: 900px) {
.holding-remove { min-height: 44px; padding-inline: 14px; }
.omnai-recreation .allocation-input input { font-size: 16px; }
.holding-change-actions .text-button, .selected-instrument .text-button, .holding-weight-actions .text-button { min-height: 44px; }
}
/* Live public text retains the workspace editorial styling. */
.live-observation { border-left: 2px solid var(--accent); padding-left: 16px; margin: 24px 0; }
.live-observation > .eyebrow { color: var(--accent); }
.live-observation .finding { margin-top: 0; }
|