.pedelec-events-card { width: 250px; max-width: 100%; height: 190px; min-height: 190px; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 14px; overflow: hidden; border: 1px solid #e4e6eb; border-radius: 8px; background: #fff; font-family: Inter, system-ui, sans-serif; }
.pedelec-events-header { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.pedelec-events-header h2 { margin: 0; color: #344054; font-size: 13px; font-weight: 700; line-height: 22px; letter-spacing: -.02em; }
.pedelec-status-badge { height: 20px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 0 8px; border-radius: 999px; color: #667085; background: #f2f4f7; font-size: 8.5px; font-weight: 700; line-height: 20px; }
.pedelec-status-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
.pedelec-status-badge.running { color: #027a48; background: #ecfdf3; }
.pedelec-status-badge.waiting_tool_result { color: #b54708; background: #fdf0dc; }
.pedelec-status-badge.done { color: #027a48; background: #ecfdf3; }
.pedelec-status-badge.error { color: #b42318; background: #fef3f2; }
.pedelec-status-badge.ended, .pedelec-status-badge.idle { color: #667085; background: #f2f4f7; }
.pedelec-events-meta { height: 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; margin: 0; overflow: hidden; color: #98a2b3; font-size: 8.5px; font-weight: 500; line-height: 11px; white-space: nowrap; }
.pedelec-events-meta-primary { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; }
.pedelec-events-meta span { overflow: hidden; text-overflow: ellipsis; }
.pedelec-events-meta > span:last-child { color: #b0b7c3; font-size: 8px; font-weight: 500; }
.pedelec-events-meta .pedelec-events-session { color: #98a2b3; }
.pedelec-events-list { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.pedelec-events-empty { margin: 0; padding: 13px 0; color: #98a2b3; font-size: 10px; }
.pedelec-event-row { height: 38px; box-sizing: border-box; display: grid; grid-template-columns: 3px minmax(0, 1fr); column-gap: 7px; align-items: center; border-top: 1px solid #f0f1f3; }
.pedelec-event-row.result { width: 100%; margin: 0; padding: 0; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 0; appearance: none; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pedelec-event-row.result:hover { background: #fafbff; }
.pedelec-event-row.result:focus-visible { outline: 2px solid #84adff; outline-offset: -2px; }
.pedelec-event-accent { width: 3px; height: 24px; align-self: center; border-radius: 999px; background: #315fea; }
.pedelec-event-row.status .pedelec-event-accent { background: #315fea; }
.pedelec-event-row.tool .pedelec-event-accent { background: #7a5af8; }
.pedelec-event-row.result .pedelec-event-accent { background: #0e9384; }
.pedelec-event-row.result.failure .pedelec-event-accent { background: #f04438; }
.pedelec-event-row.done .pedelec-event-accent { background: #12b76a; }
.pedelec-event-row.error .pedelec-event-accent { background: #f04438; }
.pedelec-event-row.ended .pedelec-event-accent { background: #98a2b3; }
.pedelec-event-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pedelec-event-headline, .pedelec-event-details { min-width: 0; display: flex; align-items: center; }
.pedelec-event-headline { height: 14px; gap: 5px; }
.pedelec-event-details { height: 14px; gap: 6px; }
.pedelec-event-badge { height: 14px; box-sizing: border-box; display: inline-flex; align-items: center; flex: 0 0 auto; padding: 0 5px; border-radius: 4px; font-size: 7.5px; font-weight: 700; line-height: 14px; letter-spacing: .02em; }
.pedelec-event-badge.status { color: #315fea; background: #eef4ff; }
.pedelec-event-badge.tool { color: #6941c6; background: #f2eeff; }
.pedelec-event-badge.result { color: #067a6f; background: #e6f7f4; }
.pedelec-event-badge.result.failure { color: #b42318; background: #fef3f2; }
.pedelec-event-badge.done { color: #027a48; background: #ecfdf3; }
.pedelec-event-badge.error { color: #b42318; background: #fef3f2; }
.pedelec-event-badge.ended { color: #667085; background: #f2f4f7; }
.pedelec-event-headline strong, .pedelec-event-details small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pedelec-event-headline strong { flex: 1 1 auto; color: #344054; font-size: 8.5px; font-weight: 650; line-height: 14px; }
.pedelec-event-details small { flex: 1 1 auto; color: #98a2b3; font-size: 7.5px; font-weight: 500; line-height: 14px; }
.pedelec-event-secondary { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; min-width: 0; margin-left: auto; color: #b0b7c3; font-size: 7px; font-weight: 500; line-height: 14px; white-space: nowrap; }
.pedelec-event-secondary.local { color: #0e9384; font-weight: 700; }
.pedelec-event-row.result.failure .pedelec-event-secondary.local { color: #b42318; }
.pedelec-event-secondary time { flex: 0 0 auto; }
.terminal .pedelec-events-card { width: 100%; max-width: 100%; height: 220px; min-height: 220px; margin: 18px 0; }
.preview-card { background: #fff; border: 1px solid #e4e6eb; border-radius: 12px; overflow: hidden; }
.preview-label { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; color: #667085; border-bottom: 1px solid #e4e6eb; font-size: 12px; }
.viewport { position: relative; min-height: 390px; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 50% 38%, #5b6576, #22262e 65%); aspect-ratio: 4 / 3; }
.viewport-grid { position: absolute; inset: auto 0 0; height: 43%; z-index: -2; opacity: .36; background: linear-gradient(#7e8a99 1px, transparent 1px), linear-gradient(90deg, #7e8a99 1px, transparent 1px); background-size: 28px 28px; transform: perspective(220px) rotateX(59deg) scale(1.8); transform-origin: bottom; }
.viewport-controls { position: absolute; display: flex; gap: 5px; right: 13px; top: 13px; z-index: 3; pointer-events: none; }
.viewport-controls button { pointer-events: auto; }
.icon-button.dark { color: #fff; background: rgb(10 15 22 / .45); }
.viewport-caption { position: absolute; bottom: 14px; left: 16px; color: #e5e7eb; font-size: 12px; z-index: 3; pointer-events: none; }
.viewport-caption small { display: block; margin-top: 3px; color: #aeb7c4; }
.preview-note { margin: 0; padding: 11px 16px; color: #667085; background: #fbfcfe; font-size: 12px; line-height: 1.4; }
.runtime-preview-mount { position: absolute; z-index: 2; inset: 0; pointer-events: auto; }
.runtime-preview-mount:empty { pointer-events: none; }
  .preview-object-menu { position: fixed; z-index: 8; width: 240px; overflow: hidden; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; box-shadow: 0 12px 28px rgb(16 24 40 / .22); }
  .preview-object-menu-heading { padding: 10px 12px 7px; color: #667085; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.preview-object-menu button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; width: 100%; padding: 9px 12px; border: 0; color: #344054; background: #fff; text-align: left; cursor: pointer; }
.preview-object-menu button + button { border-top: 1px solid #eef0f3; }
.preview-object-menu button:hover, .preview-object-menu button:focus-visible { background: #f8f9fd; color: #2948ae; }
.preview-object-menu-name { min-width: 0; overflow-wrap: anywhere; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 700; }
.preview-object-menu-kind { color: #667085; font-size: 11px; }
  .preview-object-menu-action { grid-column: 1 / -1; color: #667085; font-size: 11px; }
  .preview-object-menu-debug { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 8px 12px 10px; border-top: 1px solid #eef0f3; color: #667085; font-size: 11px; }
  .preview-object-menu-debug span:last-child { min-width: 0; overflow-wrap: anywhere; font-family: "JetBrains Mono", ui-monospace, monospace; }
.preview-object-feedback { position: fixed; z-index: 9; right: 18px; bottom: 18px; margin: 0; padding: 10px 13px; border: 1px solid #ccebdc; border-radius: 8px; color: #146c4a; background: #f0fbf5; box-shadow: 0 8px 20px rgb(16 24 40 / .14); font-size: 12px; }
.state-page .preview-card { margin: 18px 0; }
@media (max-width: 760px) {
  .viewport { min-height: 315px; }
  .result-layout .preview-card { margin-bottom: 18px; }
}
.reference-strip { padding: 18px; background: #fff; border: 1px solid #e4e6eb; border-radius: 12px; }
.reference-thumbnails { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; padding-bottom: 2px; }
.reference-thumb { display: block; appearance: none; font: inherit; cursor: pointer; width: 150px; padding: 0 0 8px; flex: 0 0 auto; overflow: hidden; text-align: left; color: #344054; border: 1px solid #e4e6eb; border-radius: 8px; background: #fff; }
.reference-thumb.primary { border-color: #a7b9f4; }
.reference-thumb:hover { border-color: #9eb1ee; background: #f8f9fd; }
.thumbnail-art, .reference-art { display: grid; place-items: center; overflow: hidden; color: #667085; font-size: 42px; background: #f2f4f7; }
.thumbnail-art { height: 78px; }
.reference-art { height: 108px; border-radius: 7px; }
.reference-thumb:nth-child(2) .thumbnail-art { background: linear-gradient(135deg, #d8d1c7, #a78e78); }
.reference-thumb:nth-child(3) .thumbnail-art { background: linear-gradient(135deg, #d6ddd4, #8aa194); }
.thumb-role { display: inline-block; margin: 8px 8px 3px; color: #667085; font-size: 10px; }
.reference-thumb strong { display: block; padding: 0 8px; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reference-cards { display: grid; gap: 12px; margin-top: 20px; }
.reference-card { display: grid; grid-template-columns: 150px minmax(0, 1fr) 34px; gap: 16px; padding: 12px; border: 1px solid #e4e6eb; border-radius: 11px; background: #fff; }
.reference-card.primary { border-color: #a7b9f4; }
.reference-card h2 { margin: 9px 0 3px; font-size: 14px; }
.reference-card p { margin: 0; color: #667085; font-size: 12px; }
.reference-card .primary-note { margin-top: 8px; color: #3152bd; }
.reference-card .button { margin-top: 9px; min-height: 30px; padding: 4px 8px; }
.reference-art img, .thumbnail-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.reference-image-fallback { padding: 8px; color: #667085; font-size: 11px; text-align: center; }
.reference-preview-modal { width: min(1000px, calc(100vw - 32px)); }
.dialog-content.reference-preview-dialog { padding: 20px; }
.reference-preview-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.reference-preview-header h2 { margin: 7px 0 0; overflow-wrap: anywhere; }
.reference-preview-image { display: grid; place-items: center; min-height: 180px; max-height: min(72vh, 760px); margin-top: 18px; padding: 12px; overflow: hidden; border: 1px solid #e4e6eb; border-radius: 9px; background: #f8f9fb; }
.reference-preview-image img { display: block; max-width: 100%; max-height: min(72vh, 760px); object-fit: contain; }
.reference-preview-image .reference-image-fallback { min-height: 120px; display: grid; place-items: center; }
.reference-preview-details { display: grid; gap: 12px; margin: 16px 0 0; }
.reference-preview-details div { padding-top: 11px; border-top: 1px solid #eef0f3; }
.reference-preview-details dt { color: #667085; font-size: 11px; font-weight: 700; }
.reference-preview-details dd { margin: 4px 0 0; color: #344054; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.add-tile { min-height: 105px; border: 1px dashed #b8c2d0; border-radius: 11px; color: #667085; background: transparent; }
.add-tile span, .add-tile small { display: block; }
.add-tile span { margin-bottom: 4px; color: #3e63dd; font-size: 26px; }
.add-tile small { margin-top: 4px; color: #98a2b3; }
.add-tile:hover, .add-tile.drag-active { border-color: #3e63dd; background: #f3f6ff; }
.add-tile.drag-active { color: #3152bd; box-shadow: inset 0 0 0 2px rgb(62 99 221 / .12); }
@media (max-width: 760px) {
  .reference-card { grid-template-columns: 105px minmax(0, 1fr) 28px; gap: 10px; }
  .reference-art { height: 90px; }
}
.workspace-overlay { position: fixed; z-index: 4; inset: 66px 0 0; display: grid; place-items: start center; padding: clamp(24px, 8vh, 90px) 18px 24px; background: rgb(16 24 40 / .38); }
.workspace-overlay-card { width: min(620px, 100%); max-height: calc(100vh - 120px); overflow: auto; padding: 28px; border: 1px solid #e4e6eb; border-radius: 14px; background: #fff; box-shadow: 0 22px 60px rgb(16 24 40 / .24); }
.workspace-overlay-card h1 { margin: 8px 0; font-size: 25px; letter-spacing: -.04em; }
.workspace-overlay-card h2 { margin: 24px 0 10px; font-size: 14px; }
.workspace-overlay-card > p:not(.eyebrow) { color: #667085; font-size: 13px; line-height: 1.55; }
.workspace-overlay-card label { display: block; margin: 14px 0; color: #344054; font-size: 12px; font-weight: 700; }
.workspace-overlay-card select { display: block; width: 100%; margin-top: 6px; padding: 9px; border: 1px solid #d0d5dd; border-radius: 7px; background: #fff; color: #344054; }
.workspace-name { color: #1b1f27 !important; font-size: 20px !important; font-weight: 800; }
.recent-workspaces { display: grid; gap: 8px; }
.recent-workspace-link { display: grid; gap: 4px; width: 100%; padding: 11px 12px; border: 1px solid #e4e6eb; border-radius: 8px; background: #fff; color: #344054; text-align: left; font-size: 12px; overflow-wrap: anywhere; }
.recent-workspace-link:hover { border-color: #9eb1ee; background: #f8f9fd; }
.recent-workspace-link small { color: #98a2b3; font-size: 10px; }
:root { font-family: "Noto Sans TC", Inter, system-ui, sans-serif; color: #1b1f27; background: #f3f4f6; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, select, input[type="radio"] { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgb(62 99 221 / .38); outline-offset: 2px; }
.app-shell { min-height: 100vh; }
.topbar { height: 66px; padding: 0 clamp(16px, 4vw, 56px); display: flex; align-items: center; gap: 18px; background: #fff; border-bottom: 1px solid #e4e6eb; }
.brand { color: #1b1f27; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 8px; }.topbar-divider { height: 22px; width: 1px; background: #e4e6eb; }.project-title { margin: 0; color: #667085; font-size: 14px; }.topbar-controls { margin-left: auto; display: flex; align-items: center; gap: 10px; }.icon-button { border: 0; background: transparent; color: #344054; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; font-size: 19px; }.icon-button:hover { background: #f3f4f6; }.status-pill { display: inline-flex; gap: 7px; align-items: center; padding: 6px 10px; border: 1px solid #dce3f8; border-radius: 999px; color: #3152bd; background: #eef2fd; font-size: 12px; font-weight: 700; white-space: nowrap; }.status-dot { width: 7px; height: 7px; border-radius: 99px; background: currentColor; }.status-pill.ready, .status-pill.completed { color: #17845a; background: #e7f5ee; border-color: #ccebdc; }.status-pill.waiting { color: #b54708; background: #fdf0dc; border-color: #f3d8ab; }.status-pill.working { color: #3e63dd; }
.button { min-height: 38px; padding: 8px 13px; border: 1px solid #d0d5dd; border-radius: 8px; color: #344054; background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 7px; }.button:hover:not(:disabled) { background: #f9fafb; }.button.primary { color: #fff; border-color: #3e63dd; background: #3e63dd; }.button.primary:hover:not(:disabled) { background: #3152bd; }.button.success { color: #fff; border-color: #17845a; background: #17845a; }.button.success:hover:not(:disabled) { background: #146c4a; }.button.danger { color: #b42318; border-color: #f2c5c0; background: #fff; }.button.danger:hover:not(:disabled) { color: #fff; background: #c0392b; border-color: #c0392b; }.button:disabled { cursor: not-allowed; color: #98a2b3; border-color: #e4e6eb; background: #f3f4f6; }
.workspace, .input-layout, .result-layout, .state-page { width: min(1440px, 100%); margin: 0 auto; padding: 28px clamp(16px, 3vw, 42px) 48px; }.workspace { display: grid; grid-template-columns: 255px minmax(440px, 1fr) 315px; gap: 22px; }.left-rail, .right-rail, .main-column, .input-manager, .result-column { min-width: 0; }.accepted-summary, .workflow-card, .task-panel, .history, .request-panel, .readiness, .session-settings, .completion-summary, .snapshot-inspector, .setup-guidance, .error-notice { background: #fff; border: 1px solid #e4e6eb; border-radius: 12px; }.accepted-summary, .workflow-card, .task-panel, .history, .request-panel, .readiness, .session-settings, .completion-summary, .snapshot-inspector { padding: 18px; }.left-rail > *, .right-rail > *, .main-column > * { margin-bottom: 18px; }.eyebrow { margin: 0; color: #3e63dd; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.accepted-summary > p:not(.eyebrow) { margin: 6px 0 14px; font-size: 12px; color: #667085; }.chip-grid, .retained { display: flex; gap: 7px; flex-wrap: wrap; }.revision-chip, .retained span { padding: 4px 7px; border: 1px solid #e4e6eb; border-radius: 6px; background: #f9fafb; font-size: 11px; color: #667085; }.revision-chip strong { color: #344054; }.accepted-summary small { display: block; margin-top: 13px; color: #98a2b3; font-size: 11px; }.workflow-card h2, .history h2, .readiness h2, .session-settings h2, .snapshot-inspector h2 { margin: 0 0 14px; font-size: 14px; }.milestones { padding: 0; margin: 0 0 16px; list-style: none; }.milestones li { display: flex; align-items: center; gap: 9px; padding: 8px 0; color: #667085; font-size: 13px; }.milestones li > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #d0d5dd; border-radius: 50%; font-size: 11px; }.milestones .done > span { color: #fff; background: #17845a; border-color: #17845a; }.milestones .active { color: #1b1f27; font-weight: 700; }.milestones .active > span { color: #3e63dd; background: #eef2fd; border-color: #3e63dd; }.state-list { margin: 0; border-top: 1px solid #eef0f3; padding-top: 10px; }.state-list div { display: grid; grid-template-columns: 75px 1fr; gap: 8px; margin: 7px 0; font-size: 12px; }.state-list dt { color: #98a2b3; }.state-list dd { margin: 0; color: #344054; font-family: "JetBrains Mono", ui-monospace, monospace; overflow-wrap: anywhere; }.section-heading { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; }.section-heading h1, .section-heading h2 { margin: 4px 0 5px; font-size: 21px; letter-spacing: -.03em; }.section-heading h2 { font-size: 15px; }.section-heading p { margin: 0; max-width: 630px; color: #667085; font-size: 13px; line-height: 1.55; }.count { display: inline-block; margin-left: 5px; padding: 2px 6px; color: #667085; border: 1px solid #e4e6eb; border-radius: 99px; font-size: 11px; font-weight: 600; vertical-align: middle; }.task-panel { display: grid; grid-template-columns: 27px 1fr; gap: 10px; }.task-panel .button { grid-column: 2; justify-self: start; }.task-icon { display: grid; place-items: center; width: 27px; height: 27px; color: #3e63dd; background: #eef2fd; border-radius: 7px; font-weight: 800; }.task-panel h2, .request-panel h2 { margin: 3px 0 5px; font-size: 14px; }.task-panel p, .request-panel p { margin: 0 0 6px; color: #667085; font-size: 12px; line-height: 1.5; }.task-panel small { color: #98a2b3; font-family: "JetBrains Mono", monospace; font-size: 10px; }.history ol { padding: 0; margin: 0; list-style: none; }.history li { display: flex; gap: 9px; padding: 10px 0; border-top: 1px solid #eef0f3; }.history li > span { color: #3e63dd; font-size: 10px; padding-top: 3px; }.history strong, .history small { display: block; font-size: 12px; }.history small { margin-top: 3px; color: #98a2b3; }.request-panel { position: relative; }.request-panel .task-icon { float: left; margin-right: 9px; }.request-counter { color: #b54708 !important; font-weight: 800; }.saved-warning { padding: 9px; color: #7a4c0a !important; background: #fdf0dc; border-radius: 7px; }.question-card { margin: 12px 0; padding: 12px; border-left: 3px solid #3e63dd; background: #f8f9fd; }.question-card p { margin-top: 5px; color: #344054; }.request-panel fieldset, .dialog-content fieldset { margin: 13px 0; padding: 0; border: 0; }.request-panel legend, .dialog-content legend, .field-label { color: #344054; font-size: 12px; font-weight: 700; }.choice { display: flex; align-items: center; gap: 8px; margin: 8px 0; padding: 9px; border: 1px solid #e4e6eb; border-radius: 7px; color: #344054; font-size: 13px; }.choice:has(input:checked) { color: #2948ae; border-color: #9eb1ee; background: #eef2fd; }.choice small { color: #667085; font-weight: 400; }.field-label { display: block; }.field-label textarea, .field-label input, .session-settings input, .session-settings select { width: 100%; margin-top: 6px; padding: 9px; color: #344054; border: 1px solid #d0d5dd; border-radius: 7px; background: #fff; font-size: 13px; }.field-label textarea { min-height: 70px; resize: vertical; }.request-panel > .button { width: 100%; margin-top: 10px; }.input-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; }.role-badge, .verified, .accepted-badge { display: inline-block; margin-right: 6px; padding: 3px 6px; border-radius: 5px; font-size: 10px; font-weight: 800; }.role-badge.primary { color: #3152bd; background: #eef2fd; }.role-badge.supplementary { color: #667085; background: #f2f4f7; }.verified, .accepted-badge { color: #17845a; background: #e7f5ee; }.readiness ul { padding: 0; margin: 0 0 14px; list-style: none; }.readiness li { margin: 11px 0; color: #344054; font-size: 13px; }.readiness li.blocked { color: #b54708; }.readiness .button { width: 100%; }.disabled-reason { color: #b54708; font-size: 12px; line-height: 1.45; }.session-settings { margin-top: 18px; }.session-settings label { display: block; margin: 12px 0; color: #344054; font-size: 12px; font-weight: 700; }.inherited { float: right; color: #667085; font-size: 10px; font-weight: 500; }.session-settings p, .field-note { margin: 10px 0 0; color: #667085; font-size: 11px; line-height: 1.5; }.setup-guidance { width: min(650px, 100%); padding: 22px; }.setup-guidance h1, .state-page h1, .completion-summary h1 { margin: 7px 0; font-size: 23px; letter-spacing: -.04em; }.setup-guidance > div:first-child { padding-left: 38px; position: relative; }.warning-icon { display: grid; place-items: center; width: 26px; height: 26px; color: #b54708; background: #fdf0dc; border-radius: 50%; font-weight: 900; }.setup-guidance .warning-icon { position: absolute; left: 0; top: 1px; }.setup-guidance > p { color: #667085; font-size: 13px; }.setup-guidance article { margin-top: 16px; padding: 14px; border: 1px solid #f3d8ab; border-radius: 8px; background: #fffbf5; }.setup-guidance article p { margin: 5px 0 10px; color: #667085; font-size: 13px; }.setup-detail { padding: 10px; background: #f9fafb; border-radius: 7px; line-height: 1.45; }.guidance-actions, .dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }.result-layout { display: grid; grid-template-columns: minmax(450px, 1fr) minmax(380px, .9fr); align-items: start; gap: 24px; }.completion-summary { margin-bottom: 18px; }.completion-summary .task-icon { float: left; margin-right: 10px; color: #17845a; background: #e7f5ee; }.completion-summary > p { clear: both; margin: 16px 0; color: #667085; line-height: 1.55; }.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); margin: 15px 0 18px; }.stat-row div { padding: 0 12px; border-left: 1px solid #e4e6eb; }.stat-row div:first-child { padding-left: 0; border-left: 0; }.stat-row strong, .stat-row span { display: block; }.stat-row strong { color: #3e63dd; font-size: 22px; }.stat-row span { margin-top: 4px; color: #667085; font-size: 11px; }.snapshot-inspector h2:not(:first-child) { margin-top: 22px; }.snapshot-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid #eef0f3; font-size: 12px; }.snapshot-row strong, .snapshot-row small { display: block; }.snapshot-row small, .snapshot-row.muted { color: #98a2b3; }.state-page { width: min(920px, 100%); }.state-page > h1 + p { margin-top: 0; color: #667085; }.state-page .snapshot-inspector { margin-top: 18px; }.error-notice { margin: 17px 0; padding: 15px; border-color: #f2c5c0; background: #fffafa; }.error-notice strong { color: #b42318; }.error-notice p { margin: 5px 0 0; color: #667085; line-height: 1.5; }.terminal .error-notice { border-color: #f3d8ab; background: #fffbf5; }.terminal .error-notice strong { color: #b54708; }.terminal .retained { margin: 12px 0; }.modal-backdrop { position: fixed; z-index: 5; inset: 0; display: grid; place-items: center; padding: 18px; background: rgb(16 24 40 / .45); }.modal { width: min(660px, 100%); max-height: calc(100vh - 36px); overflow: auto; border-radius: 13px; background: #fff; box-shadow: 0 22px 60px rgb(16 24 40 / .32); }.dialog-content { padding: 23px; }.dialog-content h2 { margin: 6px 0; font-size: 21px; }.dialog-content > p { color: #667085; font-size: 13px; line-height: 1.5; }.upload-box { display: block; margin: 18px 0; color: #344054; font-size: 12px; font-weight: 700; }.upload-box input { display: none; }.upload-box span { display: block; margin-top: 7px; padding: 25px; color: #667085; border: 1px dashed #9cacc2; border-radius: 8px; text-align: center; font-weight: 500; }.upload-box small { color: #98a2b3; }.dialog-content .warning-icon { margin-bottom: 8px; }
.upload-box > span, .upload-preview { display: block; margin-top: 7px; padding: 25px; color: #667085; border: 1px dashed #9cacc2; border-radius: 8px; text-align: center; font-weight: 500; }
.upload-box.has-file { cursor: pointer; }
.upload-preview { min-height: 180px; padding: 12px; }
.upload-preview img { display: block; width: 100%; max-height: 260px; margin: 0 auto 10px; object-fit: contain; }
.upload-preview strong, .upload-preview small { display: block; overflow-wrap: anywhere; }
.upload-preview small { margin-top: 4px; }
.upload-preview p { display: grid; min-height: 130px; margin: 0 0 10px; place-items: center; color: #b54708; background: #fffbf5; border-radius: 5px; }
.upload-box.preview-failed .upload-preview { border-color: #f3d8ab; }
.choice:has(input:disabled) { cursor: not-allowed; color: #98a2b3; border-color: #e4e6eb; background: #f9fafb; }
.choice:has(input:disabled) small { color: #98a2b3; }
@media (max-width: 1120px) { .workspace { grid-template-columns: 225px minmax(0, 1fr); }.right-rail { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.right-rail > * { margin: 0; }.input-layout { grid-template-columns: minmax(0, 1fr) 270px; } }
@media (max-width: 760px) { .topbar { height: auto; min-height: 62px; flex-wrap: wrap; padding-block: 10px; gap: 10px; }.topbar-divider { display: none; }.project-title { order: 3; width: 100%; }.topbar-controls { margin-left: auto; }.topbar-controls .icon-button { display: none; }.workspace, .input-layout, .result-layout { display: block; padding-top: 18px; }.left-rail, .right-rail, .main-column, .input-side, .result-column { margin-bottom: 18px; }.right-rail { display: block; }.right-rail > * { margin-bottom: 18px; }.section-heading { display: block; }.section-heading .button { margin-top: 13px; }.stat-row { grid-template-columns: 1fr; gap: 10px; }.stat-row div { padding-left: 0; border-left: 0; }.status-pill { max-width: 145px; overflow: hidden; text-overflow: ellipsis; }.dialog-actions, .guidance-actions { flex-direction: column-reverse; }.dialog-actions .button, .guidance-actions .button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
.completion-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.completion-export-error { margin: 10px 0 0 !important; }
.session-control { border: 0; padding: 8px; color: #344054; background: transparent; font-size: 13px; }
.workspace-persistence-warning { position: fixed; z-index: 3; right: 18px; bottom: 18px; margin: 0; padding: 9px 12px; border: 1px solid #f3d8ab; border-radius: 8px; color: #7a4c0a; background: #fffbf5; box-shadow: 0 8px 25px rgb(16 24 40 / .12); font-size: 12px; }
@media (max-width: 760px) { .session-control { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

.snapshot-inspector {
    margin-bottom: 18px;
}
.model-revisions { overflow: hidden; }
.model-revisions > .section-heading { margin-bottom: 10px; }
.model-revisions ol { max-height: min(430px, 48vh); overflow-y: auto; margin: 0 -6px; padding: 0 6px; list-style: none; }
.render-revision-row { margin: 0; border-top: 1px solid #eef0f3; }
.render-revision-row button { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; width: 100%; padding: 9px 4px; border: 1px solid transparent; border-radius: 8px; color: #344054; background: transparent; text-align: left; cursor: pointer; }
.render-revision-row button:disabled { cursor: default; opacity: .68; }
.render-revision-row button:not(:disabled):hover { background: #f8f9fd; }
.render-revision-row.selected button { border-color: #8ea4ee; background: #eef2fd; }
.render-revision-row.current .render-revision-title strong { color: #2948ae; }
.render-revision-thumbnail { display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border: 1px solid #e4e6eb; border-radius: 7px; background: #f2f4f7; }
.render-revision-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumbnail-placeholder { color: #98a2b3; font-size: 18px; }
.thumbnail-placeholder.failed { color: #667085; }
.render-revision-copy { min-width: 0; padding-top: 1px; }
.render-revision-title { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; }
.render-revision-title strong { overflow-wrap: anywhere; }
.render-revision-title em { flex: none; padding: 2px 5px; color: #17845a; border-radius: 4px; background: #e7f5ee; font-size: 9px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.render-revision-copy small { display: block; margin-top: 3px; color: #667085; font-size: 10px; line-height: 1.35; }
