feat: per-episode caps, graceful stream errors, multi-model cached runs, Electronics hybrid judge, multi-stage Docker build (repo e4b5ac6)
bae32d1 verified | :root { | |
| color-scheme: light; | |
| --brand-magenta: #d6007e; | |
| --brand-magenta-2: #ec4aa6; | |
| --brand-purple: #3a2b8f; | |
| --gradient: linear-gradient(135deg, #d6007e 0%, #7b2ea8 55%, #3a2b8f 100%); | |
| --ink: #16131f; | |
| --ink-2: #57526b; | |
| --muted: #8b86a0; | |
| --page: #f1f0f6; | |
| --panel: #ffffff; | |
| --panel-2: #f6f5fb; | |
| --panel-3: #eeecf5; | |
| --line: rgb(20 18 28 / 10%); | |
| --line-strong: rgb(20 18 28 / 16%); | |
| --success: #0b8f41; | |
| --warning: #b57200; | |
| --danger: #c13746; | |
| --blue: #2a78d6; | |
| --shadow: 0 1px 2px rgb(20 18 28 / 6%), 0 10px 34px rgb(20 18 28 / 8%); | |
| font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| } | |
| * { box-sizing: border-box; } | |
| [hidden] { display: none ; } | |
| html, body { height: 100%; } | |
| body { | |
| display: flex; | |
| overflow: hidden; | |
| flex-direction: column; | |
| margin: 0; | |
| color: var(--ink); | |
| background: var(--page); | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| .topbar { | |
| display: flex; | |
| align-items: center; | |
| gap: .9rem; | |
| padding: 1.1rem 1.25rem; | |
| color: #fff; | |
| background: var(--gradient); | |
| box-shadow: 0 4px 20px rgb(58 43 143 / 16%); | |
| } | |
| .brand-mark { | |
| display: grid; | |
| width: 2.8rem; | |
| height: 2.8rem; | |
| place-items: center; | |
| color: var(--brand-magenta); | |
| background: #fff; | |
| border-radius: 12px; | |
| font-size: 1.25rem; | |
| font-weight: 900; | |
| } | |
| h1, h2, h3, p { margin-top: 0; } | |
| h1 { margin-bottom: .1rem; font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.025em; } | |
| h2 { margin-bottom: 0; font-size: 1.25rem; } | |
| h3 { margin-bottom: .8rem; font-size: 1rem; } | |
| .eyebrow { margin-bottom: .25rem; color: var(--brand-magenta); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; } | |
| .topbar .eyebrow { color: rgb(255 255 255 / 76%); } | |
| .header-flow { margin: 0; color: rgb(255 255 255 / 76%); font-size: .76rem; } | |
| .workspace { | |
| display: grid; | |
| min-height: 0; | |
| flex: 1; | |
| grid-template-columns: minmax(270px, 320px) minmax(480px, 1fr) minmax(280px, 340px); | |
| gap: .9rem; | |
| width: 100%; | |
| padding: .8rem 1.25rem; | |
| } | |
| .left-card, .conversation, .evaluation-panel { | |
| background: var(--panel); | |
| border: 1px solid var(--line); | |
| border-radius: 16px; | |
| box-shadow: var(--shadow); | |
| } | |
| .activity-panel { | |
| display: grid; | |
| min-height: 0; | |
| height: 100%; | |
| overflow: hidden; | |
| grid-template-rows: auto minmax(0, 1fr) auto; | |
| gap: .7rem; | |
| } | |
| .left-card { padding: .9rem 1rem; } | |
| .activity-box { min-height: 0; padding: .68rem .9rem; } | |
| .activity-box .panel-heading { padding-bottom: .45rem; } | |
| .activity-progress { padding-top: .45rem; } | |
| .progress-summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .55rem; } | |
| .progress-summary strong { font-size: .76rem; } | |
| .progress-summary span { color: var(--muted); font-size: .68rem; font-weight: 750; } | |
| .progress-track { height: .7rem; overflow: hidden; background: var(--panel-3); border: 1px solid var(--line); border-radius: 999px; } | |
| .progress-fill { display: block; width: 0; height: 100%; background: var(--gradient); border-radius: inherit; transition: width .35s ease; } | |
| .activity-stage-detail { min-height: 2.6em; margin: .6rem 0 .5rem; color: var(--muted); font-size: .7rem; line-height: 1.4; } | |
| .run-provenance:empty { display: none; } | |
| .conversation { display: flex; min-height: 0; height: 100%; flex-direction: column; padding: 1rem 1.15rem; overflow: hidden; } | |
| .evaluation-panel { display: flex; min-width: 0; min-height: 0; height: 100%; flex-direction: column; gap: .75rem; padding: 1rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } | |
| .panel-heading { padding-bottom: .7rem; border-bottom: 1px solid var(--line); } | |
| .conversation-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; } | |
| .section-heading, .result-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; } | |
| .section-heading h3 { margin-bottom: 0; } | |
| label { display: block; margin: 1rem 0 .4rem; font-size: .76rem; font-weight: 800; } | |
| select, button { font: inherit; } | |
| select { width: 100%; padding: .75rem; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line-strong); border-radius: 10px; } | |
| button { border: 0; cursor: pointer; font-weight: 750; } | |
| button:focus-visible, select:focus-visible { outline: 3px solid rgb(214 0 126 / 28%); outline-offset: 2px; } | |
| button:disabled { cursor: wait; opacity: .52; } | |
| select:disabled { cursor: wait; opacity: .62; } | |
| .scenario-picker label { margin-top: 0; font-size: 1rem; } | |
| .scenario-picker select { margin-top: .15rem; } | |
| .customer-context-card { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } | |
| .customer-context-card .panel-heading { padding-bottom: .45rem; } | |
| .customer-context-list { display: grid; gap: .42rem; margin: .55rem 0; padding: 0; list-style: none; } | |
| .customer-context-item { padding: .45rem .52rem; background: var(--panel-2); border-radius: 8px; } | |
| .customer-context-item strong, .customer-context-item span { display: block; } | |
| .customer-context-item strong { margin-bottom: .12rem; color: var(--brand-purple); font-size: .64rem; } | |
| .customer-context-item span { color: var(--ink-2); font-size: .68rem; line-height: 1.35; } | |
| .customer-context-technical { padding-top: .42rem; border-top: 1px solid var(--line); } | |
| .customer-context-technical summary { cursor: pointer; color: var(--brand-purple); font-size: .65rem; font-weight: 800; } | |
| .customer-context-technical pre { max-height: 9rem; margin: .5rem 0 0; overflow: auto; color: var(--ink-2); font: .62rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; } | |
| .run-controls { display: flex; align-items: flex-end; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; } | |
| .workflow-control { min-width: 0; margin: 0; padding: 0; border: 0; } | |
| .workflow-control legend { margin-bottom: .22rem; padding: 0; color: var(--muted); font-size: .62rem; font-weight: 800; text-transform: uppercase; } | |
| .workflow-toggle { display: flex; padding: .2rem; background: var(--panel-2); border: 1px solid var(--line-strong); border-radius: 10px; } | |
| .workflow-option { padding: .45rem .68rem; color: var(--muted); background: transparent; border-radius: 7px; font-size: .7rem; } | |
| .workflow-option.is-active { color: #fff; background: var(--brand-purple); } | |
| .model-control select { width: auto; min-width: 11rem; padding: .45rem .68rem; font-size: .72rem; } | |
| .workflow-option[data-available="false"] { cursor: not-allowed; opacity: .52; } | |
| .workflow-option:disabled:not([data-available="false"]) { cursor: wait; } | |
| #generate-button { padding: .76rem 1.05rem; color: #fff; background: var(--gradient); border-radius: 10px; box-shadow: 0 5px 15px rgb(123 46 168 / 18%); } | |
| #generate-button:hover:not(:disabled) { filter: saturate(1.12) brightness(.95); } | |
| .reward-cluster { position: relative; display: flex; align-items: center; gap: .38rem; } | |
| .reward-highlight { display: flex; align-items: center; gap: .45rem; padding: .42rem .65rem; color: #fff; background: var(--gradient); border-radius: 9px; } | |
| .reward-highlight span { font-size: .62rem; font-weight: 750; text-transform: uppercase; } | |
| .reward-highlight strong { font-size: .9rem; } | |
| .reward-info { position: relative; } | |
| .reward-info button { display: grid; width: 1.35rem; height: 1.35rem; padding: 0; place-items: center; color: var(--brand-purple); background: var(--panel); border: 1px solid rgb(58 43 143 / 25%); border-radius: 50%; font-size: .7rem; font-weight: 900; } | |
| .reward-info p { position: absolute; z-index: 4; top: calc(100% + .45rem); right: 0; width: 15rem; margin: 0; padding: .65rem; visibility: hidden; opacity: 0; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); font-size: .68rem; font-weight: 500; line-height: 1.45; transform: translateY(-3px); transition: opacity .15s ease, transform .15s ease; } | |
| .reward-info:hover p, .reward-info:focus-within p { visibility: visible; opacity: 1; transform: none; } | |
| .chat-panel { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: .65rem; } | |
| .conversation-window { min-height: 0; flex: 1; overflow-y: auto; padding: 0 1rem 1rem; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; scrollbar-gutter: stable; overscroll-behavior: contain; } | |
| .pane-placeholder { margin: 0; padding: .7rem; color: var(--muted); font-size: .7rem; line-height: 1.4; text-align: center; } | |
| .muted { color: var(--muted); font-size: .78rem; line-height: 1.5; } | |
| .chat { display: grid; gap: .9rem; padding: 1.15rem 0; } | |
| .message { max-width: min(86%, 760px); padding: .9rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 3px 14px rgb(20 18 28 / 5%); line-height: 1.55; animation: rise .32s ease; } | |
| .message p { margin: 0; white-space: pre-line; } | |
| .message-label { display: block; margin-bottom: .32rem; color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; } | |
| .message-user { justify-self: end; background: #efe9fb; border-color: transparent; border-bottom-right-radius: 4px; } | |
| .message-system { border-bottom-left-radius: 4px; } | |
| .message-action { background: rgb(214 0 126 / 6%); border-color: rgb(214 0 126 / 18%); border-bottom-left-radius: 4px; } | |
| .message-verifier { background: rgb(42 120 214 / 6%); border-color: rgb(42 120 214 / 18%); border-bottom-left-radius: 4px; } | |
| .message-creative { display: grid; width: min(92%, 760px); max-width: none; justify-items: start; background: #fff; border-color: rgb(58 43 143 / 20%); } | |
| .creative-title { font-size: .82rem; } | |
| .message-creative .card-image { width: 100%; max-height: none; margin: .7rem 0; } | |
| .download-ad-button { padding: .62rem .85rem; color: #fff; background: var(--gradient); border-radius: 8px; font-size: .7rem; box-shadow: 0 4px 12px rgb(123 46 168 / 16%); } | |
| .download-ad-button:hover { filter: saturate(1.12) brightness(.95); } | |
| @keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } } | |
| .agent-work-card { display: grid; gap: .38rem; } | |
| .agent-work-title { font-size: .82rem; } | |
| .agent-work-summary { color: var(--ink-2); font-size: .76rem; } | |
| .agent-output { margin-top: .35rem ; padding: .65rem; background: rgb(255 255 255 / 72%); border-radius: 8px; font-size: .76rem; } | |
| .run-complete-divider { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .62rem; text-transform: uppercase; } | |
| .run-complete-line { height: 1px; flex: 1; background: var(--line-strong); } | |
| .run-complete-card { display: flex; width: min(86%, 760px); align-items: center; gap: .7rem; padding: .75rem .85rem; color: var(--success); background: rgb(11 143 65 / 6%); border: 1px solid rgb(11 143 65 / 20%); border-radius: 11px; } | |
| .run-complete-icon { display: grid; width: 1.7rem; height: 1.7rem; flex: 0 0 auto; place-items: center; color: #fff; background: var(--success); border-radius: 50%; font-weight: 900; } | |
| .run-complete-card strong { display: block; font-size: .76rem; } | |
| .run-complete-card p { margin: .08rem 0 0; color: var(--ink-2); font-size: .68rem; } | |
| .tool-call { margin-top: .45rem; overflow: hidden; background: var(--panel); border: 1px solid rgb(58 43 143 / 16%); border-radius: 9px; } | |
| .tool-call-header { display: flex; align-items: center; gap: .55rem; padding: .58rem .65rem .3rem; } | |
| .tool-icon { display: grid; width: 1.8rem; height: 1.8rem; flex: 0 0 auto; place-items: center; color: #fff; background: var(--brand-purple); border-radius: 8px; font-size: .76rem; font-weight: 900; } | |
| .tool-title { min-width: 0; flex: 1; font-size: .73rem; } | |
| .tool-summary { padding: 0 .65rem .5rem; color: var(--muted); font-size: .68rem; line-height: 1.4; } | |
| .tool-result-list { display: grid; gap: .35rem; margin: 0 .65rem .55rem; padding: 0; list-style: none; } | |
| .tool-result-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .12rem .5rem; padding: .45rem .5rem; background: rgb(90 63 182 / 6%); border-radius: 7px; } | |
| .tool-result-title { min-width: 0; font-size: .68rem; } | |
| .tool-result-status { color: var(--accent-dark); font-size: .61rem; font-weight: 700; text-align: right; } | |
| .tool-result-detail { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .62rem; line-height: 1.35; } | |
| .tool-status { flex: 0 0 auto; padding: .28rem .45rem; color: var(--brand-purple); background: rgb(58 43 143 / 7%); border-radius: 999px; font-size: .6rem; font-weight: 850; text-transform: uppercase; } | |
| .tool-call[data-status="completed"] .tool-status { color: var(--success); background: rgb(11 143 65 / 9%); } | |
| .tool-call[data-status="failed"] .tool-status { color: var(--danger); background: rgb(193 55 70 / 9%); } | |
| .tool-technical { padding: .45rem .65rem; border-top: 1px solid var(--line); } | |
| .tool-technical summary { cursor: pointer; color: var(--brand-purple); font-size: .67rem; font-weight: 800; } | |
| .tool-technical pre { max-height: 15rem; margin: .6rem 0 .2rem; overflow: auto; color: var(--ink-2); font: .66rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; } | |
| .thinking-dots { display: inline-flex; gap: 5px; margin-left: .35rem; vertical-align: middle; } | |
| .thinking-dots i { width: 6px; height: 6px; background: var(--brand-magenta); border-radius: 50%; animation: thinking 1.15s infinite; } | |
| .thinking-dots i:nth-child(2) { animation-delay: .18s; } | |
| .thinking-dots i:nth-child(3) { animation-delay: .36s; } | |
| @keyframes thinking { 0%, 65%, 100% { opacity: .25; transform: translateY(0); } 32% { opacity: 1; transform: translateY(-3px); } } | |
| .result-section { padding: .65rem; } | |
| .run-status { display: flex; align-items: center; gap: .65rem; min-height: 2.4rem; margin-bottom: .55rem; padding: .55rem .75rem; color: var(--brand-purple); background: rgb(123 46 168 / 7%); border: 1px solid rgb(123 46 168 / 18%); border-radius: 10px; font-size: .74rem; font-weight: 750; } | |
| .activity-dot { width: .7rem; height: .7rem; flex: 0 0 auto; background: var(--brand-magenta); border-radius: 50%; animation: activity-pulse 1.1s ease-in-out infinite; } | |
| @keyframes activity-pulse { 50% { opacity: .35; transform: scale(.72); } } | |
| .run-provenance { color: var(--muted); font-size: .72rem; } | |
| .activity-progress .run-provenance { display: block; padding-top: .5rem; border-top: 1px solid var(--line); line-height: 1.4; } | |
| .scoring-rubric { min-height: 0; } | |
| .evaluation-rubric { margin-bottom: .65rem; padding: .65rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; } | |
| .rubric-flow { display: grid; grid-template-columns: 1fr; align-items: stretch; gap: .4rem; } | |
| .rubric-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; margin-bottom: .55rem; } | |
| .rubric-heading-row h2 { margin-bottom: 0; } | |
| .rubric-stage { padding: .55rem .65rem; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; } | |
| .rubric-stage-heading { display: flex; align-items: center; gap: .55rem; } | |
| .rubric-stage-heading div, .rubric-stage-heading strong, .rubric-stage-heading span { display: block; } | |
| .rubric-stage-heading strong { font-size: .75rem; } | |
| .rubric-stage-heading div > span { margin-top: .08rem; color: var(--muted); font-size: .64rem; } | |
| .rubric-stage-heading .rubric-step { display: grid; width: 1.35rem; height: 1.35rem; flex: 0 0 auto; padding: 0; place-items: center; color: #fff; background: var(--brand-purple); border-radius: 50%; font-size: .65rem; font-weight: 850; line-height: 1; text-align: center; } | |
| .weight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; margin-top: .4rem; } | |
| .weight-grid span { padding: .38rem .45rem; color: var(--ink-2); background: var(--panel); border-radius: 7px; font-size: .62rem; line-height: 1.3; } | |
| .weight-grid strong { color: var(--brand-purple); } | |
| .rubric-connector { display: grid; place-items: center; color: var(--brand-magenta); font-size: .8rem; transform: rotate(90deg); } | |
| .gate-list { display: grid; gap: .22rem; margin: .4rem 0 0; padding: 0; list-style: none; } | |
| .gate-list li { padding: .3rem .42rem; background: var(--panel); border-left: 3px solid; border-radius: 6px; } | |
| .gate-list strong, .gate-list span { display: block; } | |
| .gate-list strong { font-size: .64rem; } | |
| .gate-list span { margin-top: .06rem; color: var(--muted); font-size: .61rem; } | |
| .gate-keep { border-color: var(--success); } | |
| .gate-cap { border-color: var(--warning); } | |
| .gate-stop { border-color: var(--danger); } | |
| .rubric-note { margin: .3rem 0 0; color: var(--ink-2); font-size: .59rem; line-height: 1.3; } | |
| .card-image { display: block; width: min(100%, 960px); max-height: 14rem; height: auto; margin: .6rem auto; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); } | |
| .score-summary { display: flex; gap: 2.5rem; margin: 1rem 0; padding: 1.05rem 1.2rem; color: #fff; background: var(--gradient); border-radius: 12px; } | |
| .score-summary div { display: grid; gap: .2rem; } | |
| .score-summary strong { font-size: 1.45rem; } | |
| .score-label { color: rgb(255 255 255 / 72%); font-size: .67rem; font-weight: 800; text-transform: uppercase; } | |
| .score-caption { color: rgb(255 255 255 / 78%); font-size: .7rem; } | |
| .heading-with-tag { display: flex; min-width: 0; align-items: center; gap: .45rem; flex-wrap: wrap; } | |
| .model-tag { max-width: 100%; padding: .16rem .4rem; overflow: hidden; color: var(--muted); background: rgb(58 43 143 / 5%); border: 1px solid rgb(58 43 143 / 10%); border-radius: 999px; font-size: .54rem; font-weight: 650; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; } | |
| .evaluation-heading { flex: 0 0 auto; } | |
| .evaluation-reward, | |
| .evaluation-breakdown, | |
| .evaluation-verifiers { padding: .75rem; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; } | |
| .evaluation-section-heading { margin-bottom: .55rem; } | |
| .evaluation-section-heading h3 { margin-bottom: 0; } | |
| .evaluation-reward .reward-cluster { justify-content: space-between; } | |
| #reward-state { margin: .55rem 0 0; color: var(--muted); font-size: .68rem; line-height: 1.4; } | |
| .reward-calculation { display: grid; gap: .38rem; margin-bottom: .65rem; } | |
| .calculation-row { display: grid; gap: .16rem; padding: .48rem .55rem; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; } | |
| .calculation-label { color: var(--ink-2); font-size: .64rem; text-transform: capitalize; } | |
| .calculation-math { color: var(--brand-purple); font: 700 .65rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; } | |
| .calculation-total { border-color: rgb(58 43 143 / 24%); } | |
| .calculation-adjustment { border-color: rgb(214 0 126 / 22%); } | |
| .checks-list .check, | |
| .judge-scores .judge-score, | |
| .reward-calculation .calculation-row { | |
| opacity: 0; | |
| transform: translateY(6px); | |
| animation: evaluation-reveal .34s ease forwards; | |
| animation-delay: calc(var(--reveal-index, 0) * 90ms); | |
| } | |
| @keyframes evaluation-reveal { | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .checks-list .check, | |
| .judge-scores .judge-score, | |
| .reward-calculation .calculation-row { | |
| opacity: 1; | |
| transform: none; | |
| animation: none; | |
| } | |
| } | |
| .evaluation-card { | |
| display: flex; | |
| min-width: 0; | |
| min-height: 0; | |
| flex-direction: column; | |
| padding: 1rem; | |
| overflow: hidden; | |
| background: var(--panel-2); | |
| border: 1px solid var(--line-strong); | |
| border-radius: 12px; | |
| } | |
| .evaluation-card-header { padding-bottom: .75rem; border-bottom: 1px solid var(--line); } | |
| .evaluation-card-header .eyebrow { margin-bottom: .3rem; } | |
| .evaluation-card-header h3 { margin-bottom: .65rem; } | |
| .evaluation-card-content { flex: 1; } | |
| .score-help, .provisional-note { margin: 0 0 .55rem; color: var(--ink-2); font-size: .72rem; line-height: 1.45; } | |
| .provisional-note { color: var(--warning); } | |
| .checks-list { display: grid; gap: .5rem; padding: 0; list-style: none; } | |
| .check { padding: .7rem; border: 1px solid var(--line); border-radius: 9px; font-size: .76rem; line-height: 1.45; } | |
| .check strong { display: block; margin-bottom: .2rem; } | |
| .check-pass { border-left: 4px solid var(--success); } | |
| .check-fail { border-left: 4px solid var(--danger); } | |
| .judge-score { margin-bottom: .9rem; } | |
| .judge-label { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .3rem; font-size: .77rem; font-weight: 750; text-transform: capitalize; } | |
| .judge-explanation { margin: .35rem 0 0; color: var(--ink-2); font-size: .72rem; line-height: 1.45; } | |
| .score-track { height: 7px; overflow: hidden; background: var(--panel-3); border-radius: 999px; } | |
| .score-fill { height: 100%; background: var(--gradient); } | |
| .evaluation-card > .chat-technical, | |
| .evaluation-details-slot > .chat-technical { | |
| width: 100%; | |
| max-width: none; | |
| } | |
| .evaluation-card > .chat-technical { | |
| margin-top: auto; | |
| } | |
| .evaluation-details-slot { | |
| display: grid; | |
| grid-template-columns: 1fr; | |
| margin-top: .8rem; | |
| } | |
| .evaluation-details-slot:empty { display: none; } | |
| .chat-technical { width: min(86%, 760px); padding: .75rem .9rem; background: rgb(58 43 143 / 5%); border: 1px solid rgb(58 43 143 / 16%); border-radius: 11px; } | |
| .chat-technical summary { cursor: pointer; color: var(--brand-purple); font-size: .74rem; font-weight: 800; } | |
| .chat-technical[open] summary { margin-bottom: .7rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); } | |
| .chat-technical section { min-width: 0; padding: .7rem; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; } | |
| .technical-grid { display: grid; grid-template-columns: 1fr; gap: .65rem; } | |
| .chat-technical h3 { margin-bottom: .45rem; font-size: .72rem; } | |
| .chat-technical pre { max-height: 18rem; margin: 0; overflow: auto; color: var(--ink-2); font: .68rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; } | |
| .error-message { margin-top: 1rem; padding: .9rem; color: #7e1420; background: #fdecee; border: 1px solid #edb4bb; border-radius: 10px; } | |
| footer { display: none; } | |
| @media (max-width: 1179px) { | |
| html, body { height: auto; } | |
| body { min-height: 100vh; overflow: auto; } | |
| .workspace { min-height: auto; flex: none; grid-template-columns: 1fr; } | |
| .activity-panel { display: contents; } | |
| .scenario-picker { order: 1; } | |
| .customer-context-card { order: 2; } | |
| .activity-box { order: 3; } | |
| .conversation { order: 4; height: 44rem; min-height: 0; } | |
| .evaluation-panel { order: 5; height: auto; max-height: none; overflow: visible; } | |
| .run-controls { width: 100%; justify-content: flex-start; } | |
| .technical-grid { grid-template-columns: 1fr; } | |
| } | |
| @media (max-width: 780px) { | |
| .conversation-heading, .section-heading, .result-heading { align-items: flex-start; flex-direction: column; } | |
| .message { max-width: 95%; } | |
| #generate-button { flex: 1; } | |
| } | |
| @media (min-width: 1180px) and (max-height: 820px) { | |
| .topbar { gap: .65rem; padding: .42rem 1rem; } | |
| .topbar .eyebrow, .header-flow { display: none; } | |
| .brand-mark { width: 2.1rem; height: 2.1rem; border-radius: 9px; font-size: 1rem; } | |
| h1 { margin: 0; font-size: 1.45rem; } | |
| .workspace { gap: .6rem; padding: .45rem .8rem; } | |
| .left-card { padding: .65rem .8rem; } | |
| .activity-panel { gap: .5rem; } | |
| .scenario-picker .eyebrow { display: none; } | |
| .scenario-picker label { font-size: .88rem; } | |
| .scenario-picker select { padding: .5rem .6rem; } | |
| .conversation { padding: .7rem .85rem; } | |
| .conversation-heading { padding-bottom: .45rem; } | |
| .conversation-heading .eyebrow { margin-bottom: .12rem; } | |
| .conversation-heading h2 { font-size: 1.08rem; } | |
| .evaluation-panel { gap: .5rem; padding: .65rem; } | |
| .run-status { min-height: 2rem; margin-bottom: .4rem; padding: .4rem .6rem; } | |
| .conversation-window { padding: 0 .75rem .75rem; } | |
| .chat { gap: .65rem; padding: .75rem 0; } | |
| .message { max-width: min(78%, 680px); padding: .58rem .68rem; line-height: 1.4; } | |
| .message-action, .agent-work-card { max-width: min(72%, 640px); } | |
| .message-label { margin-bottom: .2rem; font-size: .58rem; } | |
| .agent-work-card { gap: .24rem; } | |
| .agent-work-title { font-size: .75rem; } | |
| .agent-work-summary { font-size: .69rem; } | |
| .agent-output { margin-top: .22rem ; padding: .48rem; font-size: .69rem; } | |
| .tool-call { margin-top: .3rem; } | |
| .tool-call-header { padding: .42rem .5rem .22rem; } | |
| .tool-icon { width: 1.5rem; height: 1.5rem; border-radius: 6px; font-size: .66rem; } | |
| .tool-title { font-size: .67rem; } | |
| .tool-summary { padding: 0 .5rem .38rem; font-size: .62rem; } | |
| .tool-status { padding: .2rem .34rem; font-size: .54rem; } | |
| .tool-technical { padding: .35rem .5rem; } | |
| .run-complete-card { width: min(78%, 680px); padding: .58rem .68rem; } | |
| .activity-progress { padding-top: .45rem; } | |
| .customer-context-list { gap: .28rem; margin: .38rem 0; } | |
| .customer-context-item { padding: .32rem .42rem; } | |
| .activity-stage-detail { min-height: 1.4em; margin: .35rem 0 .25rem; } | |
| .rubric-heading-row { margin-bottom: .35rem; } | |
| .rubric-stage { padding: .42rem .55rem; } | |
| .rubric-stage-heading div > span { display: none; } | |
| .weight-grid { margin-top: .28rem; } | |
| .weight-grid span { padding: .28rem .35rem; } | |
| .gate-list { margin-top: .28rem; } | |
| .gate-list li { padding: .22rem .35rem; } | |
| .rubric-note { margin-top: .2rem; } | |
| } | |
| @media (max-width: 480px) { | |
| .score-summary { flex-direction: column; gap: .8rem; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { | |
| scroll-behavior: auto ; | |
| animation-duration: .01ms ; | |
| animation-iteration-count: 1 ; | |
| transition-duration: .01ms ; | |
| } | |
| } | |