Spaces:
Running
Running
File size: 54,786 Bytes
53d0a86 | 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 | /* Decision Foundation Studio. Shared Vela 2.0 direction: deep-space dark,
a warm amber horizon, Geist typography and translucent glass controls. */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
color-scheme: dark;
--bg: #0b0910;
--bg-subtle: rgba(255,255,255,.055);
--bg-soft: #17131f;
--ink: #f3eee8;
--ink-2: #d9d2dc;
--ink-3: #a9a1b2;
--line: rgba(255,255,255,.10);
--line-soft: rgba(255,255,255,.065);
--line-strong: rgba(255,255,255,.19);
--accent: #f2b47a;
--accent-strong: #f6c99d;
--accent-bright: #ec8a5a;
--accent-wash: rgba(242,180,122,.08);
--accent-ring: rgba(242,180,122,.25);
--grad: linear-gradient(92deg,#f6d1a4 0%,#f0a46c 45%,#e97a5c 80%,#e2657c 100%);
--ok: #7fd8b3;
--warn: #f2b47a;
--bad: #ff8a9c;
--idle: #8a8296;
--track: rgba(255,255,255,.085);
--font: "Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
--mono: "Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
--nav-h: 60px;
--pad: clamp(16px, 3vw, 40px);
--max: 1240px;
--radius: 12px;
--radius-l: 18px;
--radius-xl: 24px;
--shadow-card: 0 1px 0 rgba(255,255,255,.035) inset,0 24px 60px rgba(0,0,0,.3);
--shadow-pop: 0 1px 0 rgba(255,255,255,.045) inset,0 24px 56px rgba(0,0,0,.55);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
margin: 0;
min-width: 320px;
background: var(--bg);
color: var(--ink);
font: 400 15px/1.5 var(--font);
font-optical-sizing: auto;
letter-spacing: -0.006em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
code, kbd, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(242,180,122,.2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: #1d1420; font-size: 13px; text-decoration: none; }
.skip-link:focus { top: 12px; }
/* Controls */
.button {
display: inline-flex; align-items: center; justify-content: center; gap: 10px;
height: 40px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px;
font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.button-primary { background: var(--grad); color: #1d1420; box-shadow: 0 8px 28px rgba(236,138,90,.22); }
.button-primary:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 10px 32px rgba(236,138,90,.32); }
.button-primary:active { transform: scale(0.98); }
.button-primary:disabled { background: var(--bg-subtle); color: var(--idle); box-shadow: none; cursor: not-allowed; transform: none; }
.button-quiet {
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
height: 32px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft);
color: var(--ink-2); font-weight: 500; font-size: 13px; line-height: 1; text-decoration: none; white-space: nowrap;
cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.button-quiet:hover { background: var(--bg-subtle); border-color: var(--line-strong); color: var(--ink); }
.button-quiet:disabled { opacity: 0.45; cursor: not-allowed; }
.button-quiet[aria-pressed="true"] { background: var(--accent-wash); border-color: var(--accent); color: var(--accent); }
.button-quiet.small, .small { height: 28px; padding: 0 11px; font-size: 12.5px; }
.text-link { color: var(--accent); font-weight: 500; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.icon-button {
display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px;
background: none; color: var(--ink-3); font-size: 18px; line-height: 1; cursor: pointer; transition: background-color 0.15s, color 0.15s;
}
.icon-button:hover:not(:disabled) { background: var(--bg-subtle); color: var(--ink); }
.icon-button:disabled { opacity: 0.3; cursor: not-allowed; }
.chevron { flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-3); transform: rotate(-90deg); transition: transform 0.2s var(--ease); }
[aria-expanded="true"] > .chevron { transform: none; }
.segmented { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg-subtle); }
.segmented button {
height: 32px; padding: 0 15px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2);
font-weight: 500; font-size: 13.5px; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"], .segmented button.selected { background: var(--grad); color: #1d1420; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 0.5px rgba(0, 0, 0, 0.05); }
.segmented.small { padding: 2px; }
.segmented.small button { height: 24px; padding: 0 10px; font-size: 12px; }
.count {
display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 7px;
border-radius: 999px; background: var(--bg-subtle); color: var(--ink-2); font-weight: 600; font-size: 11.5px; font-variant-numeric: tabular-nums;
}
.badge { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 10.5px; letter-spacing: 0.01em; white-space: nowrap; }
.badge-reasoning { border-color: rgba(242,180,122,.35); background: var(--accent-wash); color: var(--accent); }
.status-dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--idle); }
[data-readiness="ready"] .status-dot, [data-readiness="ready"].status-dot { background: var(--ok); }
[data-readiness="working"] .status-dot { background: var(--accent); }
[data-readiness="loading"] .status-dot, [data-readiness="checking"] .status-dot { background: var(--warn); animation: breathe 1.6s ease-in-out infinite; }
[data-readiness="checking"] .status-dot { background: var(--idle); }
@keyframes breathe { 50% { opacity: 0.35; } }
/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,9,16,.75); border-bottom: 1px solid var(--line); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav-inner { display: flex; align-items: center; gap: 32px; max-width: var(--max); height: var(--nav-h); margin: 0 auto; padding: 0 var(--pad); }
.brand { display: flex; align-items: center; gap: 14px; flex: none; color: var(--ink); text-decoration: none; }
.brand-logo { display: block; width: auto; height: 26px; }
.brand-rule { width: 1px; height: 20px; background: var(--line-strong); }
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: -0.015em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.connection { display: inline-flex; align-items: center; gap: 8px; max-width: 280px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--bg-subtle); color: var(--ink-2); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.connection span { overflow: hidden; text-overflow: ellipsis; }
.connection i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--idle); }
.connection.connected i { background: var(--ok); box-shadow: 0 0 0 3px rgba(30, 158, 87, 0.14); }
.connection.pending i { background: var(--warn); animation: breathe 1.6s ease-in-out infinite; }
/* The launch horizon and the model family share the reference Studio's visual language. */
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.eyebrow { margin: 0; color: var(--accent); font: 500 10.5px/1.5 var(--mono); letter-spacing: .22em; text-transform: uppercase; }
.hero { position: relative; display: flex; align-items: center; justify-content: center; height: clamp(560px,calc(100svh - var(--nav-h)),880px); overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 50% 42%,rgba(14,11,20,.38),transparent 70%),linear-gradient(180deg,rgba(11,9,16,.55),transparent 22%,transparent 72%,var(--bg)); }
.hero-glow { position: absolute; left: 63%; top: 16%; z-index: -1; width: 240px; height: 240px; margin: -120px; border-radius: 50%; background: radial-gradient(circle,#fff 0 1.5px,rgba(255,240,225,.45) 3px,rgba(255,220,200,.12) 28%,transparent 62%); animation: twinkle 6s ease-in-out infinite; }
.hero-glow::before,.hero-glow::after { content: ""; position: absolute; left: 50%; top: 50%; }
.hero-glow::before { width: 240px; height: 1px; margin: -.5px 0 0 -120px; background: linear-gradient(90deg,transparent,rgba(255,245,235,.7),transparent); }
.hero-glow::after { width: 1px; height: 80px; margin: -40px 0 0 -.5px; background: linear-gradient(transparent,rgba(255,245,235,.7),transparent); }
.hero-copy { display: flex; flex-direction: column; align-items: center; margin-top: -2vh; padding: 0 16px; text-align: center; }
.hero h1 { margin: 14px 0 18px; color: #fffaf3; font: 700 clamp(64px,9vw,148px)/.95 var(--font); letter-spacing: -.05em; filter: drop-shadow(0 6px 30px rgba(10,8,15,.35)); }
.hero-sub { margin: 0; color: #f4efe9; font: 450 clamp(18px,2vw,32px)/1.2 var(--font); letter-spacing: -.015em; }
.hero-tag { margin: 10px 0 0; color: #cfc6bd; font: 400 clamp(13px,1.15vw,17px)/1.4 var(--font); }
.hero-sizes { margin: 18px 0 0; color: var(--accent); font: 500 clamp(11px,1vw,14px)/1.7 var(--mono); letter-spacing: .3em; }
.hero-sizes:empty { display: none; }
.hero-attribution { display: flex; align-items: center; gap: 10px; margin-top: clamp(34px,6vh,64px); color: var(--ink); font-weight: 650; font-size: 26px; text-decoration: none; letter-spacing: -.03em; }
.hero-attribution img { width: clamp(260px,30vw,430px); height: auto; filter: drop-shadow(0 4px 18px rgba(10,8,15,.35)); }
.hero-actions { margin-top: clamp(30px,5vh,52px); }
.hero-cta { height: 44px; padding: 0 22px; border-color: rgba(255,255,255,.3); background: rgba(20,14,26,.38); color: var(--ink); font-size: 13.5px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-cta span { color: var(--accent); margin-left: 8px; }
.hero-cta:hover { border-color: var(--accent); background: rgba(20,14,26,.6); }
.family { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 10px; }
.family-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; align-items: end; }
.family h2 { margin: 0; font: 700 clamp(30px,3.6vw,48px)/1.05 var(--font); letter-spacing: -.035em; }
.family-head p { margin: 0; color: var(--ink-3); font-size: 15px; line-height: 1.65; }
.primitives { display: flex; gap: 24px; flex-wrap: wrap; margin: 18px 0 0; }
.primitives dt { color: var(--accent); font: 500 10px/1.5 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.primitives dd { margin: 3px 0 0; color: var(--ink-3); font-size: 12px; }
.lineup { position: relative; margin: 30px 0 0; padding: 22px 0 10px; overflow: hidden; }
.lineup-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--ink-3); font: 500 10px var(--mono); letter-spacing: .15em; text-transform: uppercase; }
#lineup-title { color: var(--accent); }
.lineup-meta { color: var(--ink-3); }
.lineup-stage { position: relative; display: grid; grid-auto-columns: minmax(0,1fr); grid-auto-flow: column; gap: 8px; margin-top: 24px; isolation: isolate; }
.lineup-stage::before { content: ""; position: absolute; z-index: -1; left: -35%; right: -35%; top: 37%; height: 500px; border-radius: 50%; border-top: 1px solid rgba(242,180,122,.65); box-shadow: 0 -12px 36px rgba(236,138,90,.20); background: radial-gradient(18% 100px at 50% 0,rgba(255,196,145,.12),transparent 75%); pointer-events: none; }
.size-option { container-type: inline-size; position: relative; display: grid; justify-items: center; min-width: 0; padding: 8px 0 12px; border: 1px solid transparent; border-radius: 14px; background: transparent; cursor: pointer; }
.orb-wrap { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 166px; padding-bottom: 28px; }
.orb { --size: calc(36px + var(--d) * 80px); display: block; width: var(--size); height: var(--size); max-width: 85cqi; max-height: 85cqi; border-radius: 50%; background: radial-gradient(circle at 34% 24%,#fff6e9 0%,#dbc0a5 18%,#9a7385 47%,#30253f 76%); box-shadow: inset 0 0 0 1px rgba(255,232,204,.55),0 0 22px rgba(242,180,122,.16),0 18px 38px -16px rgba(236,138,90,.6); transition: transform .45s var(--ease),box-shadow .45s var(--ease); }
.size-option:hover .orb { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(255,232,204,.8),0 0 32px rgba(242,180,122,.4); }
.size-option[aria-pressed="true"] .orb { box-shadow: inset 0 0 0 1px rgba(255,242,228,.8),0 0 40px rgba(242,180,122,.5),0 18px 38px -16px rgba(236,138,90,.7); }
.size-name { margin-top: 8px; color: var(--ink); font: 700 clamp(20px,2.5vw,32px)/1.1 var(--font); letter-spacing: -.03em; }
.size-label { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--ink-3); font: 500 11px var(--mono); letter-spacing: .06em; }
.size-option[aria-pressed="true"] .size-name { color: var(--accent); }
.size-option:focus-visible { outline-offset: -2px; }
.lineup-detail { display: grid; justify-content: center; gap: 3px; min-height: 42px; margin: 20px 0 0; color: var(--ink-3); font-size: 12px; text-align: center; }
.lineup-detail b { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink-2); font-weight: 550; font-size: 13px; }
.lineup-generation { padding: 2px 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg-subtle); color: var(--ink-3); font: 500 10px var(--mono); }
.lineup-foot { margin: 8px 0 0; color: var(--ink-3); font: 400 10px/1.7 var(--mono); letter-spacing: .05em; text-align: center; }
@keyframes twinkle { 50% { opacity: .45; transform: scale(.96); } }
/* Studio */
.studio { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.studio-card {
display: grid; grid-template-columns: minmax(0, 1fr);
grid-template-areas: "bar" "actions" "scenarios" "note" "work";
overflow: clip; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015)); box-shadow: var(--shadow-card);
}
.studio-bar { grid-area: bar; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 0; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.mode-description { min-width: 0; margin: 0; overflow: hidden; color: var(--ink-3); font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; }
.studio-actions { grid-area: actions; display: flex; align-items: center; gap: 16px; padding: 16px 22px; }
.engine { position: relative; display: flex; align-items: center; gap: 12px; margin-right: auto; }
.model-trigger {
display: flex; align-items: center; gap: 11px; min-width: 214px; height: 46px; padding: 0 12px 0 14px;
border: 1px solid var(--line); border-radius: 13px; background: var(--bg-soft); text-align: left; cursor: pointer;
transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.model-trigger:hover:not(:disabled) { border-color: var(--line-strong); background: var(--bg-soft); }
.model-trigger[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.model-trigger:disabled { cursor: default; }
.model-trigger[data-single="true"] .chevron { display: none; }
.model-trigger .chevron { margin-left: 16px; width: 16px; height: 16px; color: var(--accent); transform: none; }
.model-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.model-picker-label,.scenario-label { color: var(--accent); font: 500 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.model-identity { display: grid; gap: 3px; min-width: 0; }
.model-name-line { position: relative; display: flex; align-items: baseline; gap: 6px; font-weight: 600; font-size: 15px; line-height: 1.1; letter-spacing: -0.015em; white-space: nowrap; }
.model-name-ghost { position: absolute; left: 0; top: 0; pointer-events: none; }
.model-size { color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.model-sub { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 11.5px; line-height: 1; white-space: nowrap; }
.model-version { padding: 2px 5px; border-radius: 5px; background: var(--bg-subtle); color: var(--ink-2); font-weight: 600; font-size: 10.5px; }
.model-sub .badge { height: 16px; padding: 0 6px; font-size: 10px; }
.engine .status-dot { width: 8px; height: 8px; }
.engine[data-state="ready"] .status-dot, .engine[data-state="complete"] .status-dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(30, 158, 87, 0.14); }
.engine[data-state="running"] .status-dot, .engine[data-state="submitting"] .status-dot, .engine[data-state="queued"] .status-dot, .engine[data-state="busy"] .status-dot { background: var(--accent); animation: breathe 1s ease-in-out infinite; }
.engine[data-state="loading"] .status-dot, .engine[data-state="switching"] .status-dot, .engine[data-state="reconnecting"] .status-dot { background: var(--warn); animation: breathe 1.4s ease-in-out infinite; }
.engine[data-state="error"] .status-dot { background: var(--bad); }
.auto-label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; user-select: none; }
.auto-label input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; width: 32px; height: 20px; border-radius: 999px; background: #403647; transition: background-color 0.2s var(--ease); }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-soft); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.25s var(--ease); }
.auto-label input:checked + .switch { background: var(--accent); }
.auto-label input:checked + .switch::after { transform: translateX(12px); }
.auto-label input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 2px; }
.run-button { height: 46px; padding: 0 16px 0 20px; font-size: 14.5px; }
.run-button kbd { padding: 3px 6px; border-radius: 6px; background: rgba(0, 0, 0, 0.2); color: #fff; font: 500 11px/1 var(--font); }
.run-button:disabled kbd { background: rgba(0, 0, 0, 0.05); color: #8e8e93; }
.scenario-bar { grid-area: scenarios; display: flex; align-items: center; gap: 16px; min-width: 0; padding: 2px 20px 14px; border-bottom: 1px solid var(--line); }
.scenario-summary { flex: none; color: var(--ink-3); font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.example-list { display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 2px; mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.example-list::-webkit-scrollbar { display: none; }
.example-button { flex: none; height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-weight: 500; font-size: 13px; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.example-button:hover { border-color: var(--line-strong); color: var(--ink); }
.example-button.selected { border-color: var(--accent); background: var(--accent-wash); color: var(--accent); }
.offline-note { grid-area: note; display: flex; align-items: center; gap: 12px; margin: 14px 20px 0; padding: 12px 12px 12px 16px; border-radius: 14px; background: var(--bg-subtle); color: var(--ink-2); font-size: 13.5px; }
.offline-note p { flex: 1; margin: 0; }
.offline-note b { color: var(--ink); font-weight: 600; }
.workbench { --panel-height: 720px; grid-area: work; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); grid-template-rows: minmax(0,1fr); height: var(--panel-height); max-height: var(--panel-height); min-height: 0; overflow: hidden; }
.workbench[data-mode="batch"] { grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); }
.pane { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; max-height: var(--panel-height); overflow: hidden; }
.pane-head { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 14px 20px 8px; }
.pane-head h2 { display: flex; align-items: baseline; gap: 10px; margin: 0; font-weight: 600; font-size: 15px; letter-spacing: -0.012em; }
.pane-index { color: var(--ink-3); font: 500 11px/1 var(--mono); }
.pane-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pane-scroll { position: relative; flex: 1; min-height: 0; overflow: auto; scrollbar-gutter: stable; padding: 2px 20px 22px; overscroll-behavior: contain; }
.pane-scroll:focus-visible { outline-offset: -3px; }
.scenario-line { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; font-size: 13px; }
#scenario-category { color: var(--accent); font-weight: 600; }
#scenario-title { color: var(--ink-3); }
.pass { position: relative; background: var(--line); }
.pass-line { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--accent-bright), transparent); background-size: 100% 40%; background-repeat: no-repeat; opacity: 0; }
.pass-node {
position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); padding: 10px 4px;
border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); color: var(--ink-3); writing-mode: vertical-rl;
font-weight: 600; font-size: 10px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
box-shadow: 0 2px 8px rgba(16, 16, 20, 0.05); transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.studio-card:is([data-state="running"], [data-state="submitting"], [data-state="queued"], [data-state="loading"]) .pass-line { opacity: 1; animation: pass-flow 1.15s var(--ease) infinite; }
.studio-card:is([data-state="running"], [data-state="submitting"], [data-state="queued"]) .pass-node { border-color: rgba(242,180,122,.4); color: var(--accent); box-shadow: 0 0 0 5px var(--accent-wash); }
.studio-card[data-state="complete"] .pass-node { color: var(--ink); }
@keyframes pass-flow { from { background-position: 0 -60%; } to { background-position: 0 160%; } }
/* Inputs */
.state-input, .context-text, .question-text {
display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); color: var(--ink);
resize: vertical; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.state-input { height: 240px; min-height: 240px; max-height: 240px; resize: none; padding: 14px 16px; font-size: 15px; line-height: 1.55; }
.state-input:focus, .context-text:focus, .question-text:focus, .question-body input:focus, .context-editor input:focus, .criterion input:focus { outline: none; border-color: var(--accent); background: var(--bg-soft); box-shadow: 0 0 0 4px var(--accent-wash); }
.field-foot, .list-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.field-hint { margin: 8px 0 0; color: var(--ink-3); font-size: 12.5px; }
.field-error { margin: 8px 0 0; color: var(--bad); font-size: 12.5px; }
.field-label { display: block; margin-bottom: 8px; color: var(--ink-2); font-size: 13px; }
.field-label code { font-size: 12px; }
#input-budget { margin-top: 18px; }
.questions-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 10px; }
.questions-toggle { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 2px; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.questions-toggle h3 { margin: 0; font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.add-menu { position: relative; }
.add-options { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: grid; width: 280px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); box-shadow: var(--shadow-pop); }
.add-options button { display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font-size: 13px; text-align: left; cursor: pointer; }
.add-options button:hover, .add-options button:focus-visible { background: var(--bg-subtle); color: var(--ink); outline: none; }
.add-options .type-tag { width: 58px; justify-content: center; }
.type-tag { display: inline-flex; flex: none; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--bg-subtle); color: var(--ink-2); font-weight: 600; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.question-list { overflow: clip; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.question-card + .question-card { border-top: 1px solid var(--line-soft); }
.question-head { display: flex; align-items: center; padding-right: 6px; }
.question-toggle { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding: 11px 6px 11px 12px; border: 0; background: none; text-align: left; cursor: pointer; }
.question-head:hover { background: var(--bg-soft); }
.question-summary { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.question-summary-id { flex: none; max-width: 46%; overflow: hidden; color: var(--ink); font: 500 12.5px/1.3 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.question-summary-text { min-width: 0; overflow: hidden; color: var(--ink-3); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.question-card.is-open { background: var(--bg-soft); }
.question-body { display: grid; gap: 12px; padding: 2px 14px 16px 36px; }
.field { display: grid; gap: 6px; }
.field > span { color: var(--ink-3); font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; }
.question-body input, .context-editor input, .criterion input {
width: 100%; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-soft); font-size: 13.5px;
transition: border-color 0.2s, box-shadow 0.2s;
}
.question-id { font-family: var(--mono) !important; font-size: 12.5px !important; }
.question-text { padding: 9px 11px; background: var(--bg-soft); font-size: 13.5px; line-height: 1.5; }
.criteria-list { display: grid; gap: 6px; }
.criterion { display: grid; grid-template-columns: 22px minmax(0, 0.85fr) minmax(0, 1.6fr) 30px; align-items: center; gap: 6px; }
.score-criteria .criterion { grid-template-columns: 22px minmax(0, 1fr) 30px; }
.criterion-tag { color: var(--ink-3); font: 600 11px/1 var(--mono); text-align: center; }
.option-name { font-family: var(--mono) !important; font-size: 12.5px !important; }
.criteria-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: 12px; }
.noul-details summary { color: var(--ink-2); font-size: 13px; cursor: pointer; }
.noul-details[open] summary { margin-bottom: 8px; }
.noul-details .criterion { grid-template-columns: 34px minmax(0, 1fr); margin-top: 6px; }
.context-list { overflow: clip; border: 1px solid var(--line); border-radius: var(--radius); }
.context-item + .context-item { border-top: 1px solid var(--line-soft); }
.context-row { display: flex; align-items: center; padding-right: 6px; }
.context-row:hover { background: var(--bg-soft); }
.context-open { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding: 11px 6px 11px 12px; border: 0; background: none; text-align: left; cursor: pointer; }
.context-row-id { flex: none; max-width: 40%; overflow: hidden; color: var(--ink); font: 500 12.5px/1.3 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.context-preview { min-width: 0; overflow: hidden; color: var(--ink-3); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.context-item.is-open { background: var(--bg-soft); }
.context-editor { display: grid; gap: 10px; padding: 2px 14px 14px 36px; }
.context-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.inline-field { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.inline-field input { width: 180px; font-family: var(--mono); font-size: 12.5px; }
.context-text { min-height: 110px; padding: 10px 12px; background: var(--bg-soft); font-size: 13.5px; line-height: 1.5; }
/* Results */
.run-status { display: flex; align-items: center; gap: 8px; min-height: 18px; margin: 0 20px 10px; color: var(--ink-3); font-size: 12.5px; }
.status-led { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--idle); }
.run-status.running .status-led { background: var(--accent); animation: breathe 0.9s ease-in-out infinite; }
.run-status.error .status-led { background: var(--bad); }
.results-pane::before {
content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 2px; opacity: 0;
background: linear-gradient(90deg, transparent, var(--accent-bright), var(--accent), transparent); background-size: 40% 100%; background-repeat: no-repeat;
transition: opacity 0.3s;
}
.studio-card:is([data-state="running"], [data-state="submitting"], [data-state="queued"], [data-state="loading"]) .results-pane::before { opacity: 1; animation: progress 1.15s var(--ease) infinite; }
@keyframes progress { from { background-position: -60% 0; } to { background-position: 160% 0; } }
#results { transition: opacity 0.3s var(--ease), filter 0.3s; }
#results.stale { opacity: 0.45; filter: saturate(0.4); }
.results-lede { margin: 0 0 12px; color: var(--ink-3); font-size: 12.5px; }
.decisions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.decisions.single-decision { grid-template-columns: minmax(0, 1fr); }
.decision {
display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px 16px 15px;
border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft);
transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.decision-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.decision-id { min-width: 0; overflow: hidden; color: var(--ink); font: 500 12.5px/1.3 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.decision-kind { flex: none; color: var(--ink-3); font-weight: 600; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; }
.decision-question { display: -webkit-box; margin: -4px 0 0; overflow: hidden; color: var(--ink-3); font-size: 12.5px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.decision-answer { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; padding-top: 2px; }
.decision-value { min-width: 0; overflow: hidden; color: var(--ink); font-weight: 650; font-size: 22px; line-height: 1.15; letter-spacing: -0.025em; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.decision-value em { color: var(--ink-3); font-style: normal; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.decision-value.is-empty { color: var(--line-strong); }
.decision-meta { flex: none; color: var(--ink-3); font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.decision.is-pending .decision-meta { font-weight: 400; }
.dist { display: grid; gap: 8px; }
.dist-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; color: var(--ink-3); font-size: 12.5px; }
.dist-row .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dist-row .pct { font-variant-numeric: tabular-nums; }
.track { grid-column: 1 / -1; display: block; height: 4px; overflow: hidden; border-radius: 4px; background: var(--track); }
.fill { display: block; width: calc(var(--p) * 100%); height: 100%; border-radius: inherit; background: #716477; transform-origin: left center; }
.dist-row.is-top { color: var(--ink); }
.dist-row.is-top .label { font-weight: 600; }
.dist-row.is-top .fill { background: var(--grad); }
.gauge { position: relative; height: 8px; overflow: hidden; border-radius: 8px; background: var(--track); }
.gauge-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: inherit; background: var(--accent); transform-origin: left center; }
.gauge.is-no .gauge-fill { background: #87778f; }
.gauge-mid { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(255,255,255,.24); }
.gauge-scale { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.levels { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; padding-bottom: 10px; }
.level { display: grid; grid-template-rows: auto 46px auto; gap: 5px; min-width: 0; color: var(--ink-3); font-size: 11.5px; text-align: center; }
.level-pct { font-variant-numeric: tabular-nums; }
.level-bar { position: relative; display: block; border-radius: 6px; background: var(--track); overflow: hidden; }
.level-bar span { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--p) * 100%); min-height: 0; border-radius: 4px 4px 0 0; background: #716477; transform-origin: bottom center; }
.level-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.level-name b { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.level.is-top { color: var(--ink); }
.level.is-top .level-bar span { background: var(--grad); }
.level.is-top .level-name { font-weight: 600; }
.levels.is-dense .level-name { font-size: 0; }
.levels.is-dense .level-name b { font-size: 11px; }
.level-marker { position: absolute; left: var(--x); bottom: 0; width: 0; height: 0; transform: translateX(-50%); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 6px solid var(--ink); transition: left 0.6s var(--ease); }
.is-settled .decision, .detail-grid .decision { animation: settle 0.5s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
.is-settled .fill, .is-settled .gauge-fill, .detail-grid .fill, .detail-grid .gauge-fill { animation: grow-x 0.8s var(--ease) both; animation-delay: calc(var(--i) * 35ms + 80ms); }
.is-settled .level-bar span, .detail-grid .level-bar span { animation: grow-y 0.8s var(--ease) both; animation-delay: calc(var(--i) * 35ms + 80ms); }
@keyframes settle { from { opacity: 0; transform: translateY(6px); } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes grow-y { from { transform: scaleY(0); } }
.error-message { padding: 16px; border: 1px solid rgba(226,101,124,.35); border-radius: 14px; background: rgba(226,101,124,.09); color: var(--ink-2); font-size: 13.5px; }
.error-message b { color: var(--bad); }
.result-table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
.result-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.result-table th, .result-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.result-table thead th { position: sticky; top: 0; z-index: 1; background: rgba(23,19,31,.97); backdrop-filter: blur(8px); white-space: nowrap; }
.th-id { display: block; color: var(--ink); font: 500 12px/1.3 var(--mono); }
.th-kind { display: block; margin-top: 2px; color: var(--ink-3); font-weight: 600; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.result-row { cursor: pointer; transition: background-color 0.15s; }
.result-row:hover, .result-row:focus-within { background: var(--bg-soft); }
.row-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px 2px 0; border: 0; border-radius: 6px; background: none; color: var(--ink); font: 500 12.5px/1.3 var(--mono); white-space: nowrap; cursor: pointer; }
.cell-value { display: block; max-width: 220px; overflow: hidden; color: var(--ink); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cell-value em { color: var(--ink-3); font-style: normal; font-weight: 500; }
.cell-meta { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.result-detail-row td { padding: 14px; background: var(--bg-soft); }
.timing { display: flex; align-items: center; gap: 28px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.metric { display: grid; gap: 2px; }
.metric span { color: var(--ink-3); font-weight: 600; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; }
.metric b { color: var(--ink); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.metric small { color: var(--ink-3); font-weight: 500; font-size: 11.5px; }
.timing-foot { margin-left: auto; color: var(--ink-3); font-size: 12.5px; text-align: right; }
/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 136px) var(--pad) 0; }
.section-head h2 { margin: 0; font-weight: 650; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -0.035em; }
.section-head p { max-width: 38em; margin: 14px 0 0; color: var(--ink-3); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; }
.model-table-wrap { position: relative; margin-top: 36px; overflow-x: auto; }
.model-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.model-table thead th { padding: 0 16px 12px; border-bottom: 1px solid var(--line-strong); color: var(--ink-3); font-weight: 600; font-size: 11.5px; letter-spacing: 0.05em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.model-table td, .model-table tbody th { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.model-table .group-row th { padding: 30px 16px 10px; border-bottom: 1px solid var(--line); }
.group-row span { color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.group-row small { margin-left: 10px; color: var(--ink-3); font-size: 12.5px; font-weight: 400; }
.model-row { transition: background-color 0.2s; }
.model-row:hover { background: var(--bg-soft); }
.model-row.is-selected { background: var(--accent-wash); }
.model-row th { font-weight: 400; }
.model-cell { display: flex; align-items: center; gap: 8px; }
.codename { color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -0.012em; }
.model-desc { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; }
.num { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.readiness { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.row-actions { white-space: nowrap; text-align: right !important; }
.compact-only { display: none; }
.size-inline { color: var(--ink-3); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.row-actions .button-quiet { margin-right: 14px; }
.footer { margin-top: clamp(88px, 11vw, 148px); border-top: 1px solid var(--line); background: var(--bg-subtle); }
.footer-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px 40px; max-width: var(--max); margin: 0 auto; padding: 36px var(--pad) 44px; }
.footer-brand img { display: block; width: auto; height: 30px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 26px; }
.footer-links a { color: var(--ink-2); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-note { grid-column: 1 / -1; max-width: 62em; margin: 0; color: var(--ink-3); font-size: 12px; }
/* Overlays */
.model-popover { position: fixed; z-index: 80; overflow: auto; padding: 6px; border: 1px solid var(--line); border-radius: 18px; background: rgba(23,19,31,.98); box-shadow: var(--shadow-pop); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); animation: pop-in 0.18s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(0.985); } }
.model-popover[data-side="above"] { animation-name: pop-in-above; }
@keyframes pop-in-above { from { opacity: 0; transform: translateY(4px) scale(0.985); } }
.model-group + .model-group { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line-soft); }
.model-group-label { padding: 10px 10px 6px; color: var(--ink-3); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.model-option { display: grid; grid-template-columns: 8px minmax(0, 1fr) 16px; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 11px; background: none; text-align: left; cursor: pointer; }
.model-option:hover, .model-option:focus-visible { background: var(--bg-subtle); outline: none; }
.model-option:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.model-option[aria-selected="true"] { background: var(--accent-wash); }
.model-option-copy { display: grid; gap: 3px; min-width: 0; }
.model-option-title { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 14px; }
.model-option-name { font-weight: 600; letter-spacing: -0.01em; }
.model-option-size { color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.model-option-state { margin-left: auto; color: var(--ink-3); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.model-option-meta { overflow: hidden; color: var(--ink-3); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.model-option-check { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.model-option[aria-selected="true"] .model-option-check { opacity: 1; }
.model-option[data-readiness="ready"] .status-dot { background: var(--ok); }
.model-option[data-readiness="loading"] .status-dot { background: var(--warn); }
.model-option[data-readiness="working"] .status-dot { background: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; max-width: min(560px, calc(100vw - 32px)); padding: 12px 18px; transform: translateX(-50%); border-radius: 14px; background: rgba(29, 29, 31, 0.94); color: #fff; font-size: 13.5px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22); backdrop-filter: blur(12px); animation: toast-in 0.3s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }
dialog { width: min(560px, calc(100vw - 32px)); padding: 26px 28px; border: 0; border-radius: 22px; background: var(--bg-soft); color: var(--ink); box-shadow: var(--shadow-pop); }
dialog::backdrop { background: rgba(0, 0, 0, 0.24); backdrop-filter: blur(4px); }
dialog p { color: var(--ink-2); font-size: 14px; }
dialog pre { margin: 0; padding: 14px 16px; overflow: auto; border-radius: 12px; background: var(--bg-subtle); font-size: 12.5px; line-height: 1.6; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog-head h2 { margin: 0; font-weight: 650; font-size: 21px; letter-spacing: -0.02em; }
/* Foundation Studio details. */
body { background: radial-gradient(1000px 540px at 85% 35%,rgba(164,84,110,.08),transparent 60%),radial-gradient(900px 500px at 10% 70%,rgba(110,72,150,.09),transparent 60%),radial-gradient(1px 1px at 12% 18%,rgba(255,255,255,.45),transparent 65%),radial-gradient(1px 1px at 63% 9%,rgba(255,255,255,.3),transparent 65%),var(--bg); background-size: auto,auto,700px 700px,700px 700px,auto; }
.brand { gap: 10px; }
.brand-logo { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(242,180,122,.2)); }
.brand-name { font-weight: 650; font-size: 19px; letter-spacing: -.02em; }
.studio-tag { padding: 4px 6px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink-3); font: 500 9px var(--mono); letter-spacing: .22em; }
.nav-inner { max-width: none; gap: 24px; }
.nav-links { gap: 20px; align-items: center; }
.nav-links a span { color: var(--accent); }
.motion-toggle { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg-subtle); font-size: 12px; }
.connection { min-width: 0; max-width: 225px; font: 500 10.5px var(--mono); }
.studio { padding-top: 56px; }
.studio-heading { margin: 0 0 24px; }
.studio-heading h2 { margin: 10px 0 12px; font: 700 clamp(30px,3.6vw,46px)/1.08 var(--font); letter-spacing: -.035em; }
.studio-heading p { margin: 0; color: var(--ink-3); font-size: 14px; }
.studio-card { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mode-tabs { border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.model-trigger { background: rgba(255,255,255,.025); }
.model-sub { color: var(--ink-3); }
.state-input,.question-text,.context-text { background: rgba(0,0,0,.18); }
.question-list,.decision { background: rgba(255,255,255,.02); }
.run-button kbd { background: rgba(29,20,32,.12); color: #3a2530; font-family: var(--mono); }
.run-button:disabled kbd { color: var(--idle); }
.gauge-fill,.dist-row.is-top .fill { background: var(--grad); }
.pane-index,.pane-head h2,.scenario-summary,.run-status,.field-foot { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; }
.pane-head h2 { letter-spacing: .08em; text-transform: uppercase; }
.pane-index { color: var(--accent); }
.section { padding-top: 76px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.footer-brand img { width: 142px; height: auto; }
.footer-title { margin: 0; color: var(--ink-2); font-size: 13px; }
.footer-inner { grid-template-columns: minmax(0,1fr) auto; gap: 14px 30px; }
.footer-brand { grid-column: 1; }
.footer-title { grid-column: 1; grid-row: 2; }
.footer-links { grid-column: 2; grid-row: 1 / 3; max-width: 570px; align-content: center; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; transition: none !important; }
/* Responsive */
@media (max-width: 900px) {
.studio-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "actions" "scenarios" "note" "work"; }
.studio-bar { padding: 14px 16px 12px; }
.studio-bar .mode-description { display: none; }
.scenario-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 0 16px 14px; }
.studio-actions {
position: sticky; top: var(--nav-h); z-index: 30; justify-content: space-between; gap: 10px; padding: 10px 12px;
border-bottom: 1px solid var(--line); background: rgba(17,13,23,.95); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.engine { flex: 1; min-width: 0; }
.model-trigger { width: 100%; min-width: 0; }
.workbench, .workbench[data-mode="batch"] { --panel-height: 560px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; height: auto; max-height: none; overflow: visible; }
.pane { height: var(--panel-height); max-height: var(--panel-height); overflow: hidden; }
.pane-scroll { overflow: auto; overscroll-behavior-y: auto; padding: 2px 16px 22px; }
.pane-head { padding: 14px 16px 8px; }
.run-status { margin: 0 16px 10px; }
.pass { height: 1px; }
.pass-node { padding: 6px 10px; writing-mode: horizontal-tb; letter-spacing: 0.05em; }
.pass-line { background: linear-gradient(90deg, transparent, var(--accent-bright), transparent); background-size: 40% 100%; }
@keyframes pass-flow { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.timing { flex-wrap: wrap; gap: 14px 24px; padding: 12px 16px; }
.timing-foot { flex-basis: 100%; margin-left: 0; text-align: left; }
}
@media (max-width: 760px) {
.family-head { grid-template-columns: minmax(0,1fr); gap: 20px; }
.family h2 br { display: none; }
.family h2 br::after { content: " "; }
.nav-links { gap: 12px; }
.nav-links a:not([target]) { display: none; }
.connection { display: none; }
.hero-attribution { font-size: 24px; }
.footer-links { grid-column: 1; grid-row: auto; }
.footer-title { grid-row: auto; }
.nav-inner { gap: 14px; }
.connection { margin-left: auto; max-width: 46vw; }
.footer-inner { grid-template-columns: minmax(0, 1fr); }
.footer-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
:root { --pad: 18px; --nav-h: 52px; }
body { font-size: 14.5px; }
.brand-logo { width: 26px; height: 26px; }
.studio-tag { display: none; }
.nav-links a { font-size: 11px; }
.nav-links { gap: 9px; }
.nav-inner { gap: 10px; }
.hero h1 { font-size: clamp(48px,12vw,72px); }
.hero-sub { font-size: clamp(16px,4.3vw,22px); }
.hero-sizes { max-width: 30em; letter-spacing: .12em; font-size: 10px; }
.family { padding-top: 36px; }
.lineup-stage { gap: 2px; }
.orb-wrap { height: 98px; padding-bottom: 18px; }
.size-name { font-size: clamp(10px,2.7vw,17px); }
.size-label { font-size: 9px; gap: 3px; }
.size-label .status-dot { width: 4px; height: 4px; }
.primitives { gap: 14px; }
.primitives dd { font-size: 11px; }
.lineup-head { font-size: 9px; letter-spacing: .08em; }
.lineup-detail { padding-inline: 8px; font-size: 11px; }
.studio { padding-top: 42px; }
.studio-heading { padding: 0 8px; }
.studio-heading h2 { font-size: 30px; }
.studio-heading p { font-size: 13px; }
.footer-title { font-size: 12px; }
.brand { gap: 10px; }
.brand-rule { height: 16px; }
.brand-name { font-size: 14px; }
.connection { width: 30px; padding: 0; justify-content: center; }
.connection span { display: none; }
.studio { padding: 0 10px; }
.studio-card { border-radius: 22px; }
.mode-tabs { display: flex; width: 100%; }
.mode-tabs button { flex: 1; padding: 0 6px; font-size: 13px; }
.studio-bar { flex-direction: column; align-items: stretch; gap: 10px; }
.studio-bar .mode-description { text-align: center; }
.auto-label { flex-direction: column; gap: 4px; font-size: 10px; font-weight: 600; color: var(--ink-3); }
.run-button { padding: 0 14px; }
.run-button kbd { display: none; }
.model-trigger { padding: 0 10px 0 12px; gap: 9px; }
.model-picker-label { display: none; }
.scenario-summary { display: none; }
.scenario-label { font-size: 9px; }
.decisions { grid-template-columns: minmax(0, 1fr); }
.criterion { grid-template-columns: 18px minmax(0, 0.8fr) minmax(0, 1.2fr) 28px; }
.question-body, .context-editor { padding-left: 14px; }
.question-summary-id { max-width: 52%; }
.section-head p { font-size: 16px; }
.model-table-wrap { margin-top: 24px; overflow: visible; }
.model-table { min-width: 0; }
.model-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.model-table tbody, .model-table .group-row, .model-table .group-row th { display: block; }
.model-table .group-row th { padding: 26px 2px 10px; }
.model-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 14px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.model-row.is-selected { margin: 0 -10px; padding: 14px 12px; border-radius: 12px; }
.model-row > th, .model-row > td { padding: 0; border: 0; }
.model-row > th { grid-row: 1 / span 2; min-width: 0; }
.model-row > td:nth-of-type(-n + 3) { display: none; }
.model-row > td { justify-self: end; }
.row-actions .button-quiet { margin-right: 10px; }
.compact-only { display: inline; }
.model-desc.compact-only { display: block; }
.wide-only { display: none; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
.studio-card .pass-line, .studio-card .results-pane::before { animation: none !important; }
.studio-card:is([data-state="running"], [data-state="submitting"], [data-state="queued"], [data-state="loading"]) .pass-line { opacity: 0.6; background-position: 0 50%; }
}
/* Archive notice: this Space replays recorded results and points to Decision 3.0. */
.archive-notice { position: relative; z-index: 60; padding: 10px var(--pad); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 138, 76, .16), rgba(150, 110, 255, .16)); color: var(--ink); font-size: 13.5px; line-height: 1.55; text-align: center; }
.archive-notice p { max-width: var(--max); margin: 0 auto; }
.archive-notice a { color: var(--accent); font-weight: 600; text-underline-offset: 2px; }
|