:root{color-scheme:light;--canvas: #fbfcfd;--surface: #ffffff;--surface-raised: #f6f8fa;--surface-hover: #f1f4f7;--surface-active: #edf1f5;--border: #e1e5e9;--border-strong: #c8ced5;--text: #20262d;--muted: #59636e;--subtle: #67717b;--accent: #c14a37;--accent-hover: #aa3f2e;--accent-ink: #ffffff;--accent-soft: rgba(193, 74, 55, .1);--accent-border: rgba(193, 74, 55, .32);--focus: #3778bd;--success: #287a4e;--success-soft: rgba(40, 122, 78, .09);--warning: #946100;--warning-soft: rgba(148, 97, 0, .09);--danger: #c94747;--danger-soft: rgba(201, 71, 71, .08);--info: #306ca8;--info-soft: rgba(48, 108, 168, .08);--shadow-lg: 0 18px 48px rgba(31, 39, 47, .1);--shadow-md: 0 8px 24px rgba(31, 39, 47, .07);--shadow-sm: 0 2px 8px rgba(31, 39, 47, .05);--radius-lg: 10px;--radius-md: 8px;--radius-sm: 6px;--sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;--mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace}:root[data-theme=dark]{color-scheme:dark;--canvas: #15191e;--surface: #181d22;--surface-raised: #1c2228;--surface-hover: #21272e;--surface-active: #252c33;--border: #282f36;--border-strong: #37414b;--text: #edf0f2;--muted: #aab1b8;--subtle: #7f8993;--accent: #ef7b66;--accent-hover: #f18d7a;--accent-ink: #24100c;--accent-soft: rgba(239, 123, 102, .09);--accent-border: rgba(239, 123, 102, .28);--focus: #78aee6;--success: #62c98a;--success-soft: rgba(98, 201, 138, .07);--warning: #e4b45b;--warning-soft: rgba(228, 180, 91, .07);--danger: #ef7a7a;--danger-soft: rgba(239, 122, 122, .07);--info: #82afe2;--info-soft: rgba(130, 175, 226, .07);--shadow-lg: 0 18px 48px rgba(0, 0, 0, .24);--shadow-md: 0 8px 24px rgba(0, 0, 0, .18);--shadow-sm: 0 2px 8px rgba(0, 0, 0, .12)}*{box-sizing:border-box}html,body{min-height:100%}body{margin:0;background:var(--canvas);color:var(--text);font:14px/1.5 var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,textarea,select{font:inherit}button,input,textarea,select,[contenteditable=true]{color:var(--text)}button{-webkit-user-select:none;user-select:none}button,a,input,textarea,select,[tabindex]:not([tabindex="-1"]){outline:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{box-shadow:0 0 0 3px #78b7ff47;border-color:var(--focus)!important}::selection{background:#ff806b47}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--border-strong);border:3px solid transparent;border-radius:999px;background-clip:padding-box}::-webkit-scrollbar-track{background:transparent}.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}.mono{font-family:var(--mono)}.muted{color:var(--muted)}.subtle{color:var(--subtle)}.grow{flex:1 1 auto}.row{display:flex;align-items:center;gap:10px}.wrap{flex-wrap:wrap}.ui-button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-raised);color:var(--text);padding:6px 11px;cursor:pointer;font-weight:620;font-size:13px;white-space:nowrap;transition:background .15s ease,border-color .15s ease,transform .15s ease}.ui-button:hover:not(:disabled){background:var(--surface-hover);border-color:var(--border-strong)}.ui-button:active:not(:disabled){transform:translateY(1px)}.ui-button:disabled{opacity:.5;cursor:not-allowed}.ui-button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.ui-button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.ui-button.primary:disabled{opacity:1;background:var(--surface-active);border-color:var(--border);color:var(--subtle)}.ui-button.ghost{background:transparent;border-color:transparent}.ui-button.danger{color:var(--danger);border-color:#ff747459;background:var(--danger-soft)}.ui-button.small{min-height:30px;padding:4px 9px;font-size:12.5px}.ui-button.icon-only{width:34px;min-width:34px;padding:0}.ui-button.compact-icon{min-height:26px;width:26px;min-width:26px;padding:0;border-radius:6px}.ui-icon{width:16px;height:16px;display:block;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ui-input,.ui-textarea,.ui-select{width:100%;min-height:40px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--canvas);padding:8px 11px;transition:border-color .15s ease,background .15s ease}.ui-textarea{resize:vertical;min-height:110px;line-height:1.6}.ui-input::placeholder,.ui-textarea::placeholder{color:var(--subtle)}.ui-input:hover,.ui-textarea:hover,.ui-select:hover{border-color:var(--border-strong)}.ui-input.invalid,.ui-textarea.invalid{border-color:var(--danger)}.field-label{display:block;margin:0 0 7px;color:var(--muted);font-weight:650;font-size:13px}.field-hint{margin-top:6px;color:var(--subtle);font-size:12.5px}.field-error{min-height:19px;margin-top:4px;color:var(--danger);font-size:12.5px}.ui-input.is-invalid,.ui-textarea.is-invalid,.ui-select.is-invalid{border-color:var(--danger)}.ui-input.is-invalid:focus,.ui-textarea.is-invalid:focus,.ui-select.is-invalid:focus{box-shadow:0 0 0 3px #ff747433}.badge,.status-badge{display:inline-flex;align-items:center;gap:5px;min-height:21px;border-radius:5px;border:0;padding:2px 6px;color:var(--muted);background:var(--surface-raised);font-size:12px;line-height:1.2;white-space:nowrap}.status-badge.success{color:var(--success);background:var(--success-soft)}.status-badge.warning{color:var(--warning);background:var(--warning-soft)}.status-badge.danger{color:var(--danger);background:var(--danger-soft)}.status-badge.info{color:var(--info);background:var(--info-soft)}.vendor-dot{width:8px;height:8px;border-radius:50%;flex:none}.ui-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md)}.section-heading{margin:0;font-size:16px;line-height:1.35;letter-spacing:-.01em}.section-copy{margin:5px 0 0;color:var(--muted);font-size:13px}.page-heading{margin:0;font-size:20px;line-height:1.25;letter-spacing:-.02em}body.app-page{height:100vh;overflow:hidden}#app{height:100%}.app-shell{display:flex;height:100%;min-width:960px;background:var(--canvas)}.app-rail{width:56px;flex:none;display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 0;background:var(--surface-raised);border-right:1px solid var(--border)}.brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:var(--accent);color:var(--accent-ink)}.rail-button{position:relative;width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}.rail-button:hover{color:var(--text);background:var(--surface-hover)}.rail-button[aria-current=page]{color:var(--accent);background:var(--accent-soft)}.rail-tooltip{position:absolute;z-index:80;top:50%;left:calc(100% + 9px);width:max-content;transform:translate(3px,-50%);visibility:hidden;opacity:0;pointer-events:none;padding:5px 8px;border:1px solid var(--border-strong);border-radius:6px;background:var(--surface-raised);color:var(--text);box-shadow:var(--shadow-md);font-size:12px;font-weight:600;line-height:1.3;transition:opacity .12s ease,transform .12s ease,visibility .12s}.rail-button:hover .rail-tooltip,.rail-button:focus-visible .rail-tooltip{visibility:visible;opacity:1;transform:translateY(-50%)}.rail-avatar{margin-top:auto;border-radius:50%;font-weight:750;font-size:13px;background:var(--surface-active);color:var(--text);border:1px solid var(--border-strong)}.rail-avatar[aria-current=page]{border-color:transparent}.workspace-sidebar{width:var(--workspace-sidebar-width, 264px);flex:none;min-width:0;display:flex;flex-direction:column;min-height:0;position:relative;background:var(--surface);border-right:1px solid var(--border)}.sidebar-header{padding:15px 13px 10px}.project-switcher-wrap{position:relative;flex:1;min-width:0}.workspace-sidebar.is-collapsed{overflow:visible;border-right-color:transparent}.workspace-sidebar.is-collapsed .sidebar-header,.workspace-sidebar.is-collapsed .sidebar-tree{display:none}.sidebar-resizer{position:absolute;z-index:20;top:0;right:-5px;width:10px;height:100%;cursor:col-resize;touch-action:none}.sidebar-resizer:after{content:"";position:absolute;top:0;bottom:0;left:4px;width:1px;background:transparent;transition:background .12s ease,width .12s ease}.sidebar-resizer:hover:after,.sidebar-resizer:focus-visible:after,.sidebar-resizer.is-dragging:after{width:2px;background:var(--accent)}.project-switcher{width:100%;min-height:34px;display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-raised);color:var(--text);padding:6px 9px;cursor:pointer;font-weight:650;font-size:13px;text-align:left}.project-switcher:hover{background:var(--surface-hover);border-color:var(--border-strong)}.project-switcher .grow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-switcher .ui-icon:first-child{color:var(--muted)}.project-menu{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:60;display:flex;flex-direction:column;gap:4px;max-height:calc(100dvh - 72px);padding:5px;overflow:hidden;background:var(--surface);border:1px solid var(--border-strong);border-radius:8px;box-shadow:var(--shadow-md)}.project-menu-list{display:grid;gap:2px;min-height:0;overflow-y:auto;overscroll-behavior:contain}.project-menu-actions{display:grid;flex:none;gap:2px}.project-menu-item{width:100%;min-height:32px;display:flex;align-items:center;gap:8px;border:0;border-radius:6px;background:transparent;color:var(--text);padding:6px 9px;cursor:pointer;font-size:13px;text-align:left}.project-menu-item:hover{background:var(--surface-hover)}.project-menu-item[aria-checked=true]{background:var(--accent-soft);font-weight:650}.project-menu-sep{height:1px;margin:4px 2px;background:var(--border)}.row-actions{position:relative;display:flex}.row-menu{top:calc(100% + 4px);left:auto;right:0;width:max-content;min-width:148px}.project-menu-item.danger,.project-menu-item.danger .ui-icon{color:var(--danger)}.manage-project-row{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--border)}.manage-project-row:last-child{border-bottom:0}.manage-project-row .ui-input{flex:1;min-width:0}.manage-project-row .badge{flex:none}.sidebar-tools{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:11px}.search-wrap{position:relative}.search-wrap .ui-icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--subtle)}.search-wrap .ui-input{padding-left:34px;min-height:36px}.sidebar-tree{flex:1;min-height:0;overflow:auto;padding:4px 8px 18px}.tree-project-selection{min-height:34px;display:flex;align-items:center;gap:8px;margin:0 2px 4px;padding:3px 8px;border-bottom:1px solid var(--border);color:var(--muted);cursor:pointer;font-size:12.5px;font-weight:650}.tree-project-selection:hover{color:var(--text);background:var(--surface-hover)}.tree-project-selection:has(input:disabled){cursor:not-allowed;color:var(--subtle)}.tree-list,.tree-list ul{list-style:none;margin:0;padding:0}.tree-collection{margin:0}.tree-collection>.tree-list{margin-top:-4px}.tree-row{width:100%;min-height:34px;display:flex;align-items:center;gap:7px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);text-align:left;cursor:pointer;padding:6px 8px}.tree-row:hover{background:var(--surface-hover);color:var(--text)}.tree-row.collection{min-height:32px;padding-block:0;color:var(--text)}.tree-collection-checkbox{flex:none;width:16px;height:16px;margin:0 2px 0 0;accent-color:var(--accent);cursor:pointer}.tree-collection-checkbox:disabled{cursor:not-allowed}.tree-row.template{padding:2px 2px 2px 22px;gap:5px}.tree-row.template:hover{background:transparent}.tree-template-checkbox{flex:none;width:16px;height:16px;margin:0;accent-color:var(--accent);cursor:pointer}.tree-template-checkbox:disabled{cursor:not-allowed}.tree-toggle{width:24px;height:30px;flex:none;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--subtle);cursor:pointer}.tree-toggle:hover{color:var(--text);background:var(--surface-hover)}.tree-toggle[aria-expanded=true] .tree-chevron{transform:rotate(90deg)}.tree-toggle-ghost{width:24px;flex:none}.tree-row-main{flex:1;min-width:0;min-height:32px;display:flex;align-items:center;gap:7px;border:0;border-radius:6px;background:transparent;color:var(--muted);text-align:left;cursor:pointer;padding:4px 8px 4px 4px;font:inherit}.tree-row-main:hover{color:var(--text);background:var(--surface-hover)}.tree-row-main[aria-current=page]{color:var(--text);background:var(--accent-soft);box-shadow:inset 2px 0 0 var(--accent)}.tree-row-main .grow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-count{flex:none;color:var(--subtle);font-size:12px;font-weight:400}.tree-target{min-height:31px;padding-left:54px;font-size:12.5px}.tree-target label{min-width:0;display:flex;align-items:center;gap:7px;cursor:pointer}.tree-target .target-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-empty{padding:20px 12px;color:var(--subtle);text-align:center;font-size:13px}.sidebar-tree:has(.tree-empty){display:flex;flex-direction:column}.sidebar-tree .tree-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.tree-chevron{transition:transform .15s ease}.tree-row[aria-expanded=true] .tree-chevron{transform:rotate(90deg)}.workspace-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.document-tabs{min-height:43px;flex:none;display:flex;align-items:end;gap:2px;padding:5px 12px 0;background:var(--surface);border-bottom:1px solid var(--border)}.document-tab{min-height:37px;max-width:260px;display:inline-flex;align-items:center;gap:7px;border:0;border-radius:0;padding:7px 11px;background:transparent;color:var(--muted);cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-tab:hover{color:var(--text);background:var(--surface-hover)}.document-tab[aria-current=page]{color:var(--text);background:transparent;box-shadow:inset 0 -2px 0 var(--accent)}.document-tab .close{opacity:.55}.document-tab:hover .close{opacity:1}.project-run-action{flex:1 1 auto;margin-left:auto;margin-right:12px;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:7px;padding-bottom:4px}.context-bar{flex:none;min-height:52px;display:flex;align-items:center;gap:16px;padding:7px 12px;background:var(--surface);border-bottom:1px solid var(--border)}.content-tabs{display:flex;align-items:center;gap:2px;flex:none}.content-tab{min-height:37px;border:0;border-radius:0;padding:7px 10px;background:transparent;color:var(--muted);cursor:pointer;font-weight:620}.content-tab:hover{color:var(--text);background:var(--surface-hover)}.content-tab[aria-pressed=true]{color:var(--text);background:transparent;box-shadow:inset 0 -2px 0 var(--accent)}.tab-count{color:var(--subtle);font-size:12px;margin-left:3px}.run-controls{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:1}.run-summary{color:var(--subtle);font-size:12px;white-space:nowrap}.run-block-reason{min-width:0;max-width:320px;display:inline-flex;align-items:center;gap:5px;overflow:hidden;color:var(--warning);font-size:12.5px;white-space:nowrap;text-overflow:ellipsis}.target-summary{min-height:32px;display:inline-flex;align-items:center;gap:7px;flex:none;padding:4px 8px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--muted);cursor:pointer;font-size:12.5px;font-weight:600}.target-summary:hover{color:var(--text);background:var(--surface-hover)}.target-dot-stack{display:inline-flex;align-items:center;padding-left:3px}.target-dot-stack .vendor-dot{width:9px;height:9px;margin-left:-3px;border:2px solid var(--surface)}.workspace-content{flex:1;min-height:0;overflow:auto;background:var(--canvas)}.content-wrap{width:100%;margin:0;padding:clamp(18px,1.35vw,26px)}.page-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:14px}.page-header .actions{margin-left:auto;display:flex;gap:8px}.form-card{padding:18px}.form-section+.form-section{margin-top:18px}.prompt-textarea{min-height:138px;font-family:var(--sans)}.template-workspace{height:max(600px,calc(100vh - 196px));display:grid;grid-template-columns:minmax(0,1fr) clamp(286px,20vw,330px);gap:22px;min-height:0}.prompt-canvas{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:transparent;border:0}.template-namebar{flex:none;display:grid;grid-template-columns:92px minmax(280px,1fr);align-items:center;gap:12px;padding:0 0 14px;border-bottom:1px solid var(--border);background:transparent}.template-name-copy{min-width:0;display:flex;align-items:center;gap:10px}.template-name-copy strong,.template-name-copy span{display:block}.template-name-copy span:not(.section-icon){margin-top:2px;color:var(--subtle);font-size:12px}.template-name-field{min-width:0}.template-name-field .ui-input{min-height:36px;background:var(--surface)}.prompt-panes{flex:1;min-height:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:12px;background:transparent;padding-top:12px}.prompt-pane{min-width:0;min-height:280px;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.prompt-pane-head{flex:none;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px;border-bottom:1px solid var(--border)}.prompt-pane-head>div{min-width:0;display:flex;align-items:center;gap:9px}.prompt-pane-head .section-heading{margin:0;font-size:14px}.prompt-role{display:inline-flex;align-items:center;min-height:18px;padding:0;border:0;border-radius:0;font:700 12px/1 var(--mono);letter-spacing:.06em}.prompt-role.system,.prompt-role.user{color:var(--subtle);background:transparent}.editor-stat{flex:none;color:var(--subtle);font:12px/1.4 var(--mono);white-space:nowrap}.prompt-pane .prompt-textarea{flex:1;min-height:0;padding:14px;border:0;border-radius:0;background:var(--surface);resize:none;line-height:1.62}.prompt-pane .prompt-textarea:focus-visible{position:relative;z-index:1;box-shadow:inset 0 0 0 2px var(--focus)}.prompt-pane-foot{flex:none;padding:8px 14px;border-top:1px solid var(--border);color:var(--subtle);font-size:12px}.template-inspector{min-width:0;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:0;padding-left:22px;background:transparent;border:0;border-left:1px solid var(--border);border-radius:0}.inspector-section{padding:3px 0 20px}.inspector-section+.inspector-section{padding-top:20px;border-top:1px solid var(--border)}.inspector-card{padding:16px}.inspector-defaults{flex:1}.variable-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.variable-coverage-list{display:grid;gap:7px;margin:12px 0}.variable-coverage-row{min-width:0;display:flex;align-items:center;gap:7px}.variable-coverage-row .badge{min-width:0;max-width:calc(100% - 54px);overflow:hidden;text-overflow:ellipsis}.autosave-state{display:inline-flex;align-items:center;gap:6px;color:var(--subtle);font-size:12.5px}.inheritance-stack{display:grid;gap:8px;margin-top:12px}.inheritance-step{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12.5px}.inheritance-step strong{color:var(--text)}.inheritance-copy{margin:14px 0 0;color:var(--subtle);font-size:12px;line-height:1.6}.parameter-editor{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.parameter-row{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:3px 4px 3px 8px;border:1px solid var(--border);border-radius:6px;background:var(--surface)}.parameter-row input{border:0;background:transparent;min-width:0;color:var(--text);font:12.5px/1.4 var(--mono)}.parameter-row .param-key{width:112px;color:var(--muted)}.parameter-row .param-value{width:58px}.parameter-row input:focus-visible{box-shadow:inset 0 -2px 0 var(--focus)}.table-shell{overflow:auto;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.data-table{width:100%;border-collapse:separate;border-spacing:0;min-width:780px}.data-table th{position:sticky;top:0;z-index:2;background:var(--surface-raised);color:var(--muted);text-align:left;font-size:12.5px;font-weight:700;padding:10px 12px;border-bottom:1px solid var(--border)}.data-table td{padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover td{background:var(--surface-hover)}.data-table .catalog-params-row:hover td{background:var(--surface-raised)}.data-table .catalog-params-row td{padding:0;background:var(--surface-raised)}.catalog-params{padding:10px 12px 12px;border-top:1px solid var(--border)}.catalog-params .field-hint{display:block;margin-bottom:8px}.catalog-concurrency{display:flex;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}.catalog-concurrency .field-label{margin:0;white-space:nowrap}.catalog-concurrency .ui-input{width:110px}.catalog-concurrency .field-hint{margin:0}.data-table tr.disabled{opacity:.62}.data-table .sticky-col{position:sticky;left:0;z-index:1;background:var(--surface)}.data-table th.sticky-col{z-index:3;background:var(--surface-raised)}.case-workspace{height:max(560px,calc(100vh - 205px));display:grid;grid-template-columns:minmax(0,var(--case-list-fr, 1.25fr)) 14px minmax(0,var(--case-editor-fr, .75fr));gap:0;min-height:0}.case-list-panel,.case-editor{min-width:0;min-height:0;overflow:hidden}.case-list-panel[data-covered=true],.case-editor[data-covered=true]{display:none}.case-list-panel{grid-column:1}.case-splitter{grid-column:2;position:relative;min-width:14px;cursor:col-resize;touch-action:none}.case-editor{grid-column:3}.case-splitter:before{content:"";position:absolute;top:0;right:6px;bottom:0;left:6px;background:var(--border-strong);transition:inset .12s,background .12s}.case-splitter:hover:before,.case-splitter:focus-visible:before{inset-inline:5px;background:var(--accent)}.case-list-panel{display:flex;flex-direction:column}.case-list-head{flex:none;min-height:62px;display:flex;align-items:center;gap:12px;padding:11px 13px;border-bottom:1px solid var(--border)}.case-list-head>div:first-child{min-width:150px}.case-list-head strong{display:block}.case-list-head span:not(.badge){display:block;margin-top:2px;color:var(--muted);font-size:12.5px}.variable-pills{min-width:0;margin-left:auto;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:5px}.secondary-action{flex:none;background:var(--surface);border-color:var(--border-strong);color:var(--text);font-weight:700;box-shadow:var(--shadow-sm)}.secondary-action:hover:not(:disabled){color:var(--accent-hover);background:var(--accent-soft);border-color:var(--accent-border)}.secondary-action:disabled{opacity:1;color:var(--subtle);background:var(--surface-raised);border-color:var(--border);box-shadow:none}.case-list-scroll{flex:1;min-height:0;overflow:auto}.pagination-bar{flex:none;min-height:45px;display:flex;align-items:center;justify-content:center;gap:10px;padding:7px 10px;border-top:1px solid var(--border);color:var(--muted);font-size:12.5px}.history-pagination{justify-content:flex-end}.data-table.case-table{min-width:650px}.case-table th:nth-child(1){width:190px}.case-table th:nth-child(3){width:112px}.case-table th:nth-child(4){width:94px}.case-table tbody tr{cursor:pointer}.case-table tr.active td{background:transparent}.case-table tr.active .sticky-col{box-shadow:inset 2px 0 0 var(--focus)}.case-name-button{width:100%;min-width:0;display:block;border:0;background:transparent;color:var(--text);padding:2px 0;text-align:left;cursor:pointer}.case-name-button strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.case-name-button span{display:block;margin-top:2px;color:var(--subtle);font-size:12px}.case-variable-summary{min-width:0;display:flex;align-items:center;gap:8px}.case-variable-names{min-width:0;overflow:hidden;color:var(--subtle);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.compact-switch{transform:scale(.9);transform-origin:left center}.case-editor{display:flex;flex-direction:column}.case-editor.empty-state{align-items:center;justify-content:center;gap:8px;padding:32px 20px;text-align:center;color:var(--subtle)}.case-editor.empty-state .ui-icon{width:26px;height:26px}.case-editor.empty-state .section-copy{margin:0}.case-editor-head{flex:none;display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid var(--border)}.case-editor-head .grow{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:10px}.case-editor-head .field-label{margin:0}.case-editor-head .ui-input{min-height:34px;padding-block:5px}.case-editor-scroll{flex:1;min-height:0;overflow:auto;padding:10px 12px}.case-field+.case-field{margin-top:8px}.case-field-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.case-field-head .field-label{min-width:0;margin-bottom:3px;overflow:hidden;text-overflow:ellipsis}.case-editor-value{min-height:80px;padding-block:6px;resize:vertical}.case-editor-value.short{height:44px;min-height:44px}.case-preview-panel{margin-top:10px}.case-preview{max-height:260px;overflow:auto}.case-editor-actions{flex:none;display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;border-top:1px solid var(--border);background:var(--surface-raised)}.table-actions{display:flex;gap:8px;justify-content:flex-end}.preview-panel{margin-top:14px;overflow:hidden}.preview-panel summary{cursor:pointer;list-style:none;padding:13px 15px;color:var(--muted);font-weight:650}.preview-panel summary::-webkit-details-marker{display:none}.preview-body{border-top:1px solid var(--border);padding:14px 15px}.model-list-head{min-height:52px;display:flex;align-items:center;gap:12px;margin-bottom:12px;padding:0 2px 10px;border-bottom:1px solid var(--border)}.model-list-head>div:first-child{min-width:0}.model-list-head strong{display:block}.model-list-head span{display:block;margin-top:2px;color:var(--muted);font-size:12.5px}.model-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:12px}.model-card{padding:15px;min-width:0}.model-card.selected{border-color:var(--border);box-shadow:inset 2px 0 0 var(--accent)}.model-card-head{display:flex;align-items:flex-start;gap:10px}.model-card-title{min-width:0;flex:1}.model-card-title strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-card-title span{color:var(--subtle);font-size:12.5px}.model-card-body{margin-top:13px;padding-top:12px;border-top:1px solid var(--border)}.history-toolbar{min-height:42px;display:flex;align-items:center;gap:16px;margin-bottom:12px}.history-toolbar-summary{display:flex;align-items:center;gap:9px}.history-toolbar-summary strong{color:var(--text);font-size:14px;letter-spacing:-.01em}.history-toolbar-summary:before{content:"";width:4px;height:24px;border-radius:999px;background:var(--accent)}.history-filters{margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.history-search{position:relative;display:inline-flex;align-items:center}.history-search .ui-icon{position:absolute;left:9px;color:var(--subtle);pointer-events:none}.history-search .ui-input{width:210px;min-height:34px;padding:5px 9px 5px 28px;font-size:12.5px}.history-filter-control{position:relative}.history-filter-control .history-filter-trigger{width:auto}.history-filter-control .history-filter-menu{width:max-content;min-width:100%}.history-filters .history-group-control{width:auto;margin-left:0}.history-group-control{position:relative;width:112px;margin-left:auto}.history-group-trigger,.history-filter-trigger{width:100%;height:32px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:0 9px 0 11px;color:var(--text);cursor:pointer;font:inherit;font-size:12.5px;text-align:left;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.history-group-trigger:hover,.history-group-trigger[aria-expanded=true],.history-filter-trigger:hover,.history-filter-trigger[aria-expanded=true]{background:var(--surface-hover)}.history-group-trigger:hover,.history-filter-trigger:hover{border-color:var(--border-strong)}.history-group-trigger:focus-visible,.history-filter-trigger:focus-visible{outline:0;border-color:var(--focus);box-shadow:0 0 0 3px #78b7ff2e}.history-group-trigger-value,.history-filter-trigger-value{color:var(--text);font-weight:500;white-space:nowrap}.history-group-trigger .ui-icon,.history-filter-trigger .ui-icon{color:var(--subtle);transition:transform .15s ease}.history-group-trigger[aria-expanded=true] .ui-icon,.history-filter-trigger[aria-expanded=true] .ui-icon{transform:rotate(180deg)}.history-group-menu,.history-filter-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:70;width:100%;display:grid;gap:2px;padding:5px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-md)}.history-group-menu [role=option],.history-filter-menu [role=option]{width:100%;min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;border-radius:6px;background:transparent;padding:6px 9px;color:var(--text);cursor:pointer;font:inherit;font-size:12.5px;text-align:left}.history-group-menu [role=option]:hover,.history-group-menu [role=option]:focus-visible,.history-filter-menu [role=option]:hover,.history-filter-menu [role=option]:focus-visible{background:var(--surface-hover);outline:0}.history-group-menu [role=option][aria-selected=true],.history-filter-menu [role=option][aria-selected=true]{background:var(--accent-soft);font-weight:650}.history-group-menu [role=option] .ui-icon,.history-filter-menu [role=option] .ui-icon{color:var(--accent)}.history-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.history-layout.with-detail{grid-template-columns:minmax(0,1fr) minmax(340px,460px);align-items:start}.batch-group{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);transition:border-color .15s ease,box-shadow .15s ease}.batch-group+.batch-group{margin-top:8px}.batch-group:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.batch-heading{width:100%;min-height:68px;display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:12px;padding:12px 14px;border:0;background:var(--surface);color:var(--muted);font:inherit;text-align:left;cursor:pointer}.batch-heading:hover{background:var(--surface-raised)}.batch-heading-main{min-width:0;display:flex;align-items:center;gap:10px}.batch-heading-main strong{color:var(--text);font-size:13px}.batch-heading-main>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.run-heading-text{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.run-heading-text .run-title{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.run-heading-text .run-time{color:var(--subtle);font-size:12px;font-weight:400}.batch-chevron{flex:none;transition:transform .15s ease}.batch-heading[aria-expanded=true] .batch-chevron{transform:rotate(90deg)}.batch-overview{color:var(--muted);font-size:12px;white-space:nowrap}.batch-outcome{color:var(--success);font-size:12px;white-space:nowrap}.batch-outcome.has-issues{color:var(--warning)}.batch-records{border-top:1px solid var(--border);background:var(--surface-raised)}.history-subgroup+.history-subgroup{border-top:1px solid var(--border-strong)}.history-subgroup-heading{min-height:38px;display:flex;align-items:center;gap:8px;padding:7px 16px 7px 42px;background:var(--surface-raised);color:var(--muted);font-size:12px}.history-subgroup-heading strong{color:var(--text);font-size:12.5px}.history-subgroup-heading span{margin-left:auto}.history-list{overflow:hidden}.history-row{width:100%;display:grid;grid-template-columns:28px 82px minmax(150px,1.3fr) 88px auto 34px;align-items:center;gap:9px;min-height:47px;padding:7px 9px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);text-align:left}.history-row:last-child{border-bottom:0}.history-row:hover{background:var(--surface-hover)}.history-row.active{background:transparent;box-shadow:inset 3px 0 0 var(--focus)}.batch-records .history-row{padding-left:42px}.history-model{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-metrics{display:flex;align-items:center;gap:5px;justify-content:flex-end}.metric-pill{display:inline-flex;align-items:center;gap:4px;color:var(--muted);background:transparent;border:0;border-radius:0;padding:0;font-size:12px;white-space:nowrap}.metric-pill+.metric-pill:before{content:"·";margin-right:2px;color:var(--border-strong)}.record-detail{position:sticky;top:0;display:flex;flex-direction:column;min-height:0;padding:0;max-height:calc(100vh - 250px);overflow:hidden;box-shadow:var(--shadow-sm)}.record-output{margin:12px 0 0;padding:12px;background:var(--canvas);border:1px solid var(--border);border-radius:8px;white-space:pre-wrap;font:13px/1.65 var(--mono)}.record-detail-head{flex:none;padding:20px 24px 16px;border-bottom:1px solid var(--border)}.record-detail-title{font-size:15px;letter-spacing:-.01em}.record-detail-head .section-copy{margin-top:5px}.record-detail-metrics{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.record-detail-metrics .performance-warning{color:var(--warning);background:var(--warning-soft)}.record-detail-tabs{flex:none;display:flex;align-items:center;gap:24px;min-height:52px;padding:0 24px;border-bottom:1px solid var(--border)}.record-detail-tabs button{align-self:stretch;position:relative;border:0;background:transparent;padding:0 2px;color:var(--muted);cursor:pointer;font:inherit;font-weight:650}.record-detail-tabs button:hover{color:var(--text)}.record-detail-tabs button[aria-selected=true]{color:var(--accent)}.record-detail-tabs button[aria-selected=true]:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;border-radius:2px 2px 0 0;background:var(--accent)}.record-detail-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;padding:0 24px 24px}.record-detail-params{flex:none;display:flex;align-items:flex-start;gap:12px;padding:14px 2px;border-bottom:1px solid var(--border)}.record-detail-label{flex:none;padding-top:2px;color:var(--muted);font-size:12.5px;font-weight:650}.record-detail-pane-head{flex:none;display:flex;align-items:center;justify-content:flex-end;min-height:48px;padding:0 2px}.record-detail-pane-head strong{font-size:13.5px}.record-detail-pane-head>span{color:var(--subtle);font:12px var(--mono)}.record-detail-pane-actions{display:flex;align-items:center;gap:2px}.record-detail-pane-actions .ui-button{min-height:28px;padding:3px 7px;color:var(--muted);font-size:12px}.record-detail-pane-actions .ui-button.is-active{color:var(--accent);background:var(--accent-soft)}.record-detail-body>.record-output,.record-detail-body>pre.record-output{flex:1;min-height:240px;margin:0;overflow:auto}.record-detail-body>.record-output.no-wrap,.record-detail-body>pre.record-output.no-wrap{white-space:pre;overflow-wrap:normal}.run-heading-row{position:relative}.run-heading-row .batch-heading{min-width:0;padding-right:52px;grid-template-columns:minmax(0,1fr) auto}.run-heading-row>.ui-button{position:absolute;z-index:1;top:50%;right:10px;margin:-17px 0 0}.compare-header{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.compare-side{padding:13px 15px}.compare-side strong{display:block}.compare-side span{color:var(--muted);font-size:12.5px}.compare-section{margin-top:18px}.compare-section h3{margin:0 0 9px;font-size:14px}.compare-table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden}.compare-table th,.compare-table td{padding:9px 11px;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.compare-table th:last-child,.compare-table td:last-child{border-right:0}.compare-table tr:last-child td{border-bottom:0}.compare-table th{color:var(--muted);background:var(--surface-raised);text-align:left;font-size:12.5px}.winner{color:var(--success);font-weight:750}.diff-shell{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.diff-row{display:grid;grid-template-columns:42px minmax(0,1fr) 42px minmax(0,1fr);border-bottom:1px solid var(--border)}.diff-row:last-child{border-bottom:0}.diff-line-no{padding:7px 8px;color:var(--subtle);background:var(--surface-raised);text-align:right;font:12px/1.55 var(--mono)}.diff-cell{min-height:36px;padding:7px 10px;white-space:pre-wrap;word-break:break-word;font:12.5px/1.55 var(--mono)}.diff-cell.left{border-right:1px solid var(--border)}.diff-cell.add{background:#54ce861a;color:var(--text)}.diff-cell.remove{background:#ff74741a;color:var(--text)}.diff-cell.empty{background:var(--surface-raised)}.result-splitter{height:6px;flex:none;background:var(--surface-raised);border-top:1px solid var(--border);cursor:row-resize}.result-splitter:hover{background:var(--accent)}.result-dock{flex:none;min-height:0;display:flex;flex-direction:column;background:var(--surface);border-top:1px solid var(--border)}.result-dock[hidden],.result-splitter[hidden]{display:none}.result-dock.maximized{flex:1}.workspace-main.results-max .workspace-content{display:none}.result-dock-head{min-height:44px;flex:none;display:flex;align-items:center;gap:10px;padding:6px 12px;border-bottom:1px solid var(--border)}.result-dock-title{font-size:14px}.dock-disclosure{background:transparent;border-color:transparent}.result-dock-body{min-height:0;overflow:auto;padding:12px}.result-group+.result-group{margin-top:16px}.result-group-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--muted);font-size:12.5px}.result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:10px}.result-card{min-width:0;overflow:hidden}.result-card-head{padding:11px 12px 8px;border-bottom:0;background:transparent}.result-card-title{display:flex;align-items:center;gap:8px;min-width:0}.result-card-title strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px}.result-card-sub{display:flex;align-items:center;gap:6px;margin-top:8px}.result-card-metrics{display:flex;flex-wrap:wrap;gap:5px;padding:0 12px 9px;border-bottom:1px solid var(--border)}.result-card-output{margin:0;min-height:108px;max-height:230px;overflow:auto;padding:11px 12px;white-space:pre-wrap;word-break:break-word;font:13px/1.65 var(--mono)}.stream-caret:after{content:"";display:inline-block;width:7px;height:15px;margin-left:2px;background:var(--accent);vertical-align:-2px;animation:blink 1s steps(1) infinite}@keyframes blink{50%{opacity:0}}.status-line{min-height:26px;flex:none;display:flex;align-items:center;gap:12px;padding:2px 12px;border-top:1px solid var(--border);background:var(--canvas);color:var(--subtle);font-size:12px}.module-page{flex:1;min-width:0;min-height:0;overflow:auto;padding:24px}.module-wrap{max-width:1220px;margin:0 auto}.module-head{display:flex;align-items:flex-start;gap:18px;margin-bottom:18px}.module-head .actions{margin-left:auto;display:flex;gap:8px}.project-page{padding:clamp(28px,4vw,58px)}.project-page .module-wrap{width:100%;max-width:1360px}.history-page{overflow:hidden;padding:18px 20px 18px 24px}.history-page .module-wrap{width:100%;max-width:none;height:100%;display:flex;flex-direction:column}.history-page-head{margin-bottom:24px}.history-page-head .page-heading{font-size:clamp(24px,2.1vw,30px);letter-spacing:-.035em}.history-page-head .section-copy{margin-top:7px}.history-page .history-layout{flex:1;min-height:0}.history-layout.runs-split,.history-layout.runs-split.with-detail{grid-template-columns:430px minmax(0,1fr);gap:0;align-items:stretch;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.runs-split .history-list{height:100%;max-height:100%;overflow:auto;scrollbar-gutter:stable;padding:0;border:0;border-right:1px solid var(--border);border-radius:0;box-shadow:none}.runs-split .record-detail{position:static;height:100%;max-height:none;overflow:hidden;border:0;border-radius:0;box-shadow:none}.history-navigator-head{position:sticky;top:0;z-index:7;min-height:78px;display:flex;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border);background:var(--surface)}.history-navigator-head h1{margin:0;font-size:21px;line-height:1.2;letter-spacing:-.025em}.history-navigator-head p{margin:5px 0 0;color:var(--subtle);font-size:12.5px}.runs-split .history-toolbar{position:sticky;top:78px;z-index:6;min-height:0;display:flex;align-items:stretch;flex-direction:column;gap:10px;margin:0;padding:16px;border-bottom:1px solid var(--border);background:var(--surface)}.runs-split .history-toolbar-summary{min-height:30px;justify-content:space-between}.runs-split .history-toolbar-summary:before{display:none}.runs-split .history-toolbar-summary strong{color:var(--muted);font-size:12.5px;font-weight:650}.runs-split .history-toolbar-summary .ui-button{min-height:28px;padding:3px 7px;font-size:12px}.runs-split .history-filters{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0}.runs-split .history-search{grid-column:auto;width:100%}.runs-split .history-search .ui-input,.runs-split .history-filter-control,.runs-split .history-filter-trigger,.runs-split .history-group-control,.runs-split .history-group-trigger{width:100%}.runs-split .history-filters>.ui-button{width:100%;min-width:0}.runs-split .history-pagination{margin:0;padding:10px 14px}.runs-split .batch-group{border:0;border-radius:0;box-shadow:none}.runs-split .batch-group+.batch-group{margin-top:8px;border-top:1px solid var(--border)}.runs-split .batch-group:hover{border-color:var(--border);box-shadow:none}.runs-split .batch-heading{min-height:54px;padding:8px 14px;background:var(--surface-raised)}.runs-split .batch-heading:hover{background:var(--surface-active)}.runs-split .run-heading-row>.destructive-icon{opacity:0;transition:opacity .12s ease}.runs-split .run-heading-row .batch-heading>.status-badge{transition:transform .12s ease}.runs-split .run-heading-row:hover>.destructive-icon,.runs-split .run-heading-row>.destructive-icon:focus-visible{opacity:1}.runs-split .run-heading-row:hover .batch-heading>.status-badge,.runs-split .run-heading-row:has(>.destructive-icon:focus-visible) .batch-heading>.status-badge{transform:translate(-38px)}.runs-split .batch-records{background:var(--surface)}.run-result-view{display:flex;align-items:center;gap:10px;min-height:42px;padding:6px 12px 6px 28px;border-bottom:1px solid var(--border);background:var(--surface)}.run-result-view>span{flex:none;color:var(--subtle);font-size:11.5px}.run-result-segments{display:inline-flex;min-width:0;padding:2px;border-radius:7px;background:var(--surface-raised)}.run-result-segments button{min-height:26px;border:0;border-radius:5px;background:transparent;padding:3px 9px;color:var(--muted);cursor:pointer;font:inherit;font-size:11.5px}.run-result-segments button:hover{color:var(--text)}.run-result-segments button[aria-pressed=true]{background:var(--surface);color:var(--accent);font-weight:700;box-shadow:var(--shadow-sm)}.runs-split .history-subgroup-heading{min-height:32px;padding:5px 12px 5px 28px}.runs-split .batch-records .history-row{padding-left:28px}.runs-split .history-row{position:relative;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"state case time actions" ". model model actions";column-gap:8px;row-gap:1px;min-height:48px;padding-top:5px;padding-bottom:5px}.runs-split .history-row>.status-badge{align-self:center;justify-self:start;min-height:18px;padding:1px 5px;font-size:11px}.runs-split .history-row>.badge{align-self:end;border-radius:0;background:transparent;padding:0;color:var(--text);font-size:12.5px;font-weight:620}.runs-split .history-row>.history-model{align-self:center;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.runs-split .history-row>.history-model strong{font-size:12px;font-weight:600}.runs-split .history-row>.history-model .muted{font-size:12px}.runs-split .history-row>.history-metrics{display:none}.runs-split .history-row>.history-time{align-self:end;white-space:nowrap;font-size:11px}.runs-split .history-row>.history-row-actions{grid-row:1 / 3;align-self:center}.runs-split .history-detail-button{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;width:auto;min-width:0;height:auto;justify-content:center;gap:0;padding:0;border:0;border-radius:0;overflow:hidden;opacity:0;font-size:0}.runs-split .history-detail-button:focus-visible{border-color:transparent!important;box-shadow:none}.runs-split .history-row-actions .destructive-icon{position:relative;z-index:2;opacity:0;transition:opacity .12s ease}.runs-split .history-row:hover .destructive-icon,.runs-split .history-row .destructive-icon:focus-visible{opacity:1}.runs-split .history-row:hover{background:var(--surface-hover)}.runs-split .history-row.active{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.runs-split .history-row.active:hover{background:var(--accent-soft)}.runs-split .history-row:focus-within{box-shadow:inset 3px 0 0 var(--accent)}.run-detail-placeholder{height:100%;display:grid;place-content:center;justify-items:center;gap:12px;padding:40px;color:var(--subtle);text-align:center;background:radial-gradient(circle at center,var(--accent-soft) 0,transparent 25%)}.run-detail-placeholder-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:var(--accent-soft);color:var(--accent)}.run-detail-placeholder strong{color:var(--text);font-size:15px}.run-detail-placeholder p{max-width:30ch;margin:-3px 0 0;line-height:1.7}.history-empty{flex:1;min-height:0;display:grid;place-items:center;padding:48px 24px}.history-empty-content{display:flex;flex-direction:column;align-items:center;max-width:460px;text-align:center}.history-empty-icon{width:56px;height:56px;display:grid;place-items:center;margin-bottom:18px;border-radius:50%;background:var(--accent-soft);color:var(--accent)}.history-empty h2{margin:0;color:var(--text);font-size:20px;line-height:1.35;letter-spacing:-.015em}.history-empty p{max-width:38ch;margin:9px 0 0;color:var(--muted);font-size:14px;line-height:1.7}.history-empty-action{margin-top:22px;text-decoration:none}.project-page-head{padding-bottom:22px;border-bottom:1px solid var(--border)}.project-page-head .page-heading{margin:0 0 7px;font-size:28px}.project-account-hint{margin:8px 0 0;color:var(--subtle);font-size:12.5px}.project-toolbar{display:flex;align-items:center;gap:10px;margin-top:22px}.project-toolbar>label{width:168px}.project-toolbar .project-search{position:relative;width:min(340px,32vw)}.project-search>.ui-icon{position:absolute;z-index:1;top:50%;left:12px;transform:translateY(-50%);color:var(--subtle);pointer-events:none}.project-search .ui-input{padding-left:36px;background:var(--surface)}.project-toolbar .ui-select{min-height:40px;background:var(--surface)}.project-toolbar-spacer{flex:1}.project-results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 12px}.project-results-head>div{display:flex;align-items:baseline;gap:9px}.project-results-head h2{margin:0;font-size:15px}.project-results-head span{color:var(--muted);font-size:12px}.project-view-switcher{display:flex;gap:2px;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.project-view-switcher .ui-button{width:30px;height:30px;min-height:30px;border-radius:5px}.project-view-switcher .ui-button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;align-items:stretch}.project-card{position:relative;min-height:176px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;overflow:visible;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.project-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.project-card.is-menu-open{z-index:20}.project-card.is-current{border-color:var(--accent-border);background:linear-gradient(145deg,var(--accent-soft),var(--surface) 44%)}.project-card-hit-area{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;width:100%;border:0;border-radius:inherit;background:transparent;cursor:pointer}.project-card-hit-area:focus-visible{box-shadow:0 0 0 3px #78b7ff47}.project-card-head{grid-column:1 / -1;display:flex;align-items:center;gap:10px;min-width:0;padding:16px 16px 10px;pointer-events:none}.project-card-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:var(--accent-soft);color:var(--accent)}.project-card-title{min-width:0}.project-card-title-line{min-width:0;display:flex;align-items:center;gap:7px}.project-card-title h2{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.project-card-stats{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,1fr);margin:0 16px;padding:10px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);pointer-events:none}.project-card-stats>div{padding:0 10px;border-left:1px solid var(--border)}.project-card-stats>div:first-child{padding-left:0;border-left:0}.project-card-stats strong,.project-card-stats span{display:block}.project-card-stats strong{font-size:17px;line-height:1.1}.project-card-stats span{margin-top:4px;color:var(--muted);font-size:12px}.project-empty-summary{align-self:center;color:var(--subtle)!important}.project-last-used{z-index:2;align-self:center;min-width:0;padding:10px 0 10px 16px;pointer-events:none}.project-last-used span,.project-last-used strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px}.project-last-used span{color:var(--subtle)}.project-last-used strong{margin-top:1px;color:var(--muted);font-weight:570}.project-list-status{display:none}.project-card-actions{z-index:3;align-self:end;display:flex;align-items:center;justify-content:flex-end;gap:2px;padding:7px 8px 7px 4px}.project-card-actions .ui-button{min-height:30px}.project-more{position:relative}.project-more-menu{position:absolute;z-index:30;top:calc(100% + 5px);right:0;width:max-content;min-width:176px;padding:5px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-md)}.project-more-menu button{width:100%;min-height:34px;display:flex;align-items:center;gap:8px;border:0;border-radius:6px;background:transparent;padding:7px 9px;color:var(--text);cursor:pointer;text-align:left}.project-more-menu button:hover:not(:disabled){background:var(--surface-hover)}.project-more-menu button.danger{color:var(--danger)}.project-more-menu button:disabled{opacity:.45;cursor:not-allowed}.project-menu-hint{display:block;max-width:210px;padding:6px 9px 5px;color:var(--subtle);font-size:11px;line-height:1.4}.project-list-head{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(280px,1.3fr) minmax(150px,.65fr) minmax(110px,.5fr) 180px;gap:16px;padding:0 12px 8px;border-bottom:1px solid var(--border);color:var(--subtle);font-size:11.5px;font-weight:650}.project-grid.is-list{display:grid;grid-template-columns:1fr;gap:0;background:transparent}.project-grid.is-list .project-card{min-height:66px;display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(280px,1.3fr) minmax(150px,.65fr) minmax(110px,.5fr) 180px;grid-template-rows:1fr;gap:16px;align-items:center;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;box-shadow:none;transform:none}.project-grid.is-list .project-card:last-child{border-bottom:0}.project-grid.is-list .project-card:hover{background:var(--surface-hover);box-shadow:none}.project-grid.is-list .project-card.is-current{background:linear-gradient(90deg,var(--accent-soft),transparent 44%);box-shadow:inset 3px 0 0 var(--accent)}.project-grid.is-list .project-card-head{grid-column:1;min-width:0;padding:8px 12px}.project-grid.is-list .project-card-icon{width:30px;height:30px;border-radius:7px;background:transparent}.project-grid.is-list .project-card-stats{grid-column:2;display:flex;align-items:center;gap:13px;margin:0;padding:0;border:0}.project-grid.is-list .project-card-stats>div{display:flex;align-items:baseline;gap:4px;padding:0;border:0}.project-grid.is-list .project-card-stats strong{font-size:13px}.project-grid.is-list .project-card-stats span{margin:0;font-size:11.5px}.project-grid.is-list .project-last-used{grid-column:3;padding:0}.project-grid.is-list .project-last-used span{display:none}.project-grid.is-list .project-last-used strong{margin:0}.project-grid.is-list .project-list-status{grid-column:4;display:block;z-index:2;color:var(--muted);font-size:12px;pointer-events:none}.project-grid.is-list .project-card-title-line .badge{display:none}.project-grid.is-list .project-card-actions{grid-column:5;align-self:center;width:auto;margin:0;padding:8px 4px 8px 0}.project-grid.is-list .project-card-actions .ui-button{padding:4px 7px}.project-no-results{min-height:240px;display:grid;place-items:center;align-content:center;gap:7px;border:1px dashed var(--border);border-radius:var(--radius-md);color:var(--subtle);text-align:center}.project-no-results strong{color:var(--text);font-size:14px}.project-no-results span{font-size:12.5px}@media (max-width: 1180px){.project-toolbar{flex-wrap:wrap}.project-toolbar-spacer{display:none}.project-list-head,.project-grid.is-list .project-card{grid-template-columns:minmax(230px,1.3fr) minmax(250px,1fr) minmax(130px,.7fr) 170px}.project-list-head span:nth-child(4){display:none}.project-grid.is-list .project-list-status{display:none}.project-grid.is-list .project-card-actions{grid-column:4}}.notice{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);color:var(--muted)}.notice strong{color:var(--text)}.notice .dismiss{margin-left:auto}.privacy-notice{padding:8px 14px;align-items:center;font-size:13px}.privacy-notice>.ui-icon{color:var(--subtle)}.usage-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.usage-item{padding:12px 14px}.usage-strip .usage-item{border:0;border-radius:0;background:transparent}.usage-strip .usage-item+.usage-item{border-left:1px solid var(--border)}.usage-value{display:flex;align-items:baseline;gap:5px;font-size:18px;font-weight:800}.usage-value span{color:var(--subtle);font-size:12px;font-weight:600}.usage-label{margin-top:2px;color:var(--muted);font-size:12.5px}.settings-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:14px;min-height:580px;margin-top:14px}.settings-page{overflow:hidden}.settings-page .module-wrap{width:100%;max-width:none;height:100%;display:flex;flex-direction:column}.settings-page .settings-layout{flex:1;min-height:0}.provider-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden}.provider-search{padding:12px;border-bottom:1px solid var(--border)}.provider-list{flex:1;min-height:0;overflow:auto;padding:7px}.provider-create-action{flex:none;padding:10px 12px;border-top:1px solid var(--border)}.provider-item{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) 56px;align-items:center;gap:9px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--text);padding:9px;text-align:left;cursor:pointer}.provider-item:hover{background:var(--surface-hover)}.provider-item[aria-pressed=true]{background:var(--surface-active);border-color:transparent;box-shadow:inset 2px 0 0 var(--border-strong)}.provider-logo{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;color:#fff;overflow:hidden}.provider-logo-detail{background:var(--accent-soft);color:var(--accent)}.provider-brand-mark{font-size:17px;font-weight:800;line-height:1;letter-spacing:-.06em}.provider-brand-mark.provider-logo-detail{color:#fff}.provider-custom-mark,.provider-custom-mark.provider-logo-detail{background:var(--surface-active);color:var(--muted)}.provider-glyph{width:19px;height:19px;display:block;flex:none}.provider-name{display:block;font-weight:720}.provider-url{display:block;color:var(--subtle);font:12px/1.35 var(--mono);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.provider-state{width:56px;color:var(--subtle);font-size:12px;text-align:center;white-space:nowrap}.provider-state.is-disabled{padding:2px 0;border-radius:4px;background:var(--surface-raised)}.provider-detail{min-width:0;display:flex;flex-direction:column;overflow:hidden}.provider-detail-head{flex:none;display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.provider-detail-scroll{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;padding:16px}.provider-detail-scroll>.provider-detail-section:first-child{margin-top:0}.provider-section+.provider-section{margin-top:18px}.provider-section-title{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:14px}.verification-state{display:flex;align-items:center;gap:6px;margin-top:11px;color:var(--subtle);font-size:12.5px}.verification-state span+span{margin-left:4px}.field-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:12px}.input-action{display:flex;gap:7px}.key-actions{display:flex;justify-content:flex-end;gap:4px;margin-top:5px}.catalog-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}.catalog-heading .provider-section-title{flex:1;margin:0}.catalog-heading .muted{font-size:12.5px;white-space:nowrap}.catalog-add-input{width:260px;min-height:36px}.provider-ext-label{margin-top:16px}.sticky-actions{flex:none;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px 14px;border-top:1px solid var(--border);background:var(--surface-raised)}.unsaved{margin-right:auto;color:var(--warning);font-size:12.5px}.switch{position:relative;width:42px;height:24px;display:inline-block}.switch input{position:absolute;opacity:0;pointer-events:none}.switch span{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:999px;background:var(--border-strong);cursor:pointer;transition:.18s}.switch span:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.18s;box-shadow:0 1px 4px #00000040}.switch input:checked+span{background:var(--muted)}.switch input:checked+span:after{transform:translate(18px)}.switch input:focus-visible+span{box-shadow:0 0 0 3px #78b7ff47}.destructive-icon{color:var(--muted);background:transparent;border-color:transparent}.destructive-icon:hover:not(:disabled){color:var(--danger);background:var(--danger-soft);border-color:transparent}.editable-cell{cursor:pointer}.editable-cell:hover{box-shadow:inset 0 0 0 1px var(--border-strong)}.cell-input{min-height:30px;padding:4px 8px;font-size:12.5px;background:var(--canvas)}.account-page .module-wrap{width:100%;max-width:none;margin:0}.account-head{align-items:center}.account-head>.status-badge{margin-left:auto}.account-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:14px;margin-top:14px;align-items:start}.account-main-column,.account-side-column{min-width:0;display:grid;gap:14px}.account-actions{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:14px;align-items:stretch}.account-actions>.account-card{min-height:150px}.account-card{padding:17px}.profile-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:14px}.account-overview{min-height:106px;padding:18px 20px}.profile-avatar{width:56px;height:56px;display:grid;place-items:center;border-radius:16px;background:var(--surface-active);color:var(--muted);font-size:20px;font-weight:820}.profile-name-row{display:flex;align-items:center;gap:8px}.inline-name{max-width:180px;border:1px solid transparent;background:transparent;font-weight:780;font-size:16px;padding:4px 6px;border-radius:6px}.inline-name:hover{border-color:var(--border);background:var(--surface-raised)}.profile-help{margin:8px 0 0;color:var(--subtle);font-size:12px}.profile-summary{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px}.profile-summary>div{min-width:0;padding:5px 0 5px 16px;border-left:1px solid var(--border)}.profile-summary span,.profile-summary strong{display:block}.profile-summary span{color:var(--subtle);font-size:12px}.profile-summary strong{margin-top:2px;font-size:13px}.success-text{color:var(--text)}.security-form{display:grid;gap:14px;margin-top:17px}.security-code-field{max-width:560px}.password-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.danger-card{border-color:var(--border);background:var(--surface)}.account-page .status-badge.success{color:var(--muted)}:root[data-theme=dark] .account-overview{background:var(--surface)}:root[data-theme=dark] .ui-input,:root[data-theme=dark] .ui-textarea,:root[data-theme=dark] .ui-select{background:var(--surface-raised)}body.auth-page{min-height:100vh}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(380px,1fr) minmax(480px,560px)}.auth-story{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:36px 48px;background:var(--canvas);border-right:1px solid var(--border)}.auth-story:before{display:none}.auth-story>*{position:relative}.auth-wordmark{display:flex;align-items:center}.auth-promise{max-width:610px;margin:auto 0}.auth-promise h1{max-width:520px;margin:0;font-size:clamp(32px,3.2vw,46px);line-height:1.1;letter-spacing:-.035em}.auth-promise h1 span{color:var(--accent)}.auth-promise p{max-width:520px;margin:18px 0 0;color:var(--muted);font-size:16px;line-height:1.65}.auth-points{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}.auth-point{padding:0 14px 0 0;border:0;border-right:1px solid var(--border);border-radius:0;background:transparent}.auth-point:last-child{border-right:0}.auth-point strong{display:block;font-size:13px}.auth-point span{display:block;margin-top:3px;color:var(--subtle);font-size:12px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:28px;background:var(--canvas)}.auth-card{width:min(420px,100%)}.auth-heading{margin:0;font-size:26px;letter-spacing:-.025em}.auth-subheading{margin:7px 0 22px;color:var(--muted);font-size:14px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:20px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.auth-tab{min-height:38px;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-weight:700}.auth-tab[aria-pressed=true]{background:var(--surface-active);color:var(--text)}.auth-field{margin-bottom:13px}.auth-field .ui-input,.security-form .ui-input{font-size:16px}.password-wrap{position:relative}.password-wrap .ui-input{padding-right:45px}.password-toggle{position:absolute;right:4px;top:3px}.auth-between{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 17px}.checkbox-label{display:inline-flex;align-items:center;gap:7px;color:var(--muted);cursor:pointer;font-size:13px}input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}.text-button{border:0;background:transparent;color:var(--info);padding:2px;cursor:pointer;font-weight:650;font-size:13px}.text-button:hover{text-decoration:underline}.auth-primary{width:100%;min-height:44px;font-size:14px}.code-row{display:grid;grid-template-columns:1fr auto;gap:8px}.privacy-note{display:flex;align-items:flex-start;gap:8px;margin:2px 0 16px;padding:10px 11px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--muted);font-size:12.5px}.auth-switch{margin-top:17px;color:var(--muted);text-align:center;font-size:13px}.auth-success{text-align:center;padding:10px 0}.success-mark{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 16px;border-radius:18px;background:var(--success-soft);color:var(--success)}.auth-live{min-height:18px;margin:-5px 0 9px;color:var(--info);font-size:12.5px}.toast-region{position:fixed;right:18px;bottom:18px;z-index:3000;display:grid;gap:8px;pointer-events:none}.toast-region-assertive{bottom:auto;top:18px}.toast{min-width:260px;max-width:380px;display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface-raised);color:var(--text);box-shadow:var(--shadow-md);animation:toast-in .18s ease}.toast.success{border-color:#54ce8666}.toast.warning{border-color:#f4bd5573}.toast.danger{border-color:#ff747473}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:grid;place-items:center;padding:20px;background:#03070bb8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{width:min(520px,100%);max-height:min(720px,90vh);overflow:auto;padding:18px;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}.modal[tabindex="-1"]:focus,.modal[tabindex="-1"]:focus-visible{outline:none;box-shadow:var(--shadow-lg)}.modal-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:15px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.target-picker-list{margin-top:3px;border-top:1px solid var(--border)}.target-picker-row{min-height:45px;display:flex;align-items:center;gap:10px;padding:8px 2px;border-bottom:1px solid var(--border);cursor:pointer}.target-picker-row:hover{background:var(--surface-raised)}@media (max-width: 1450px){.case-workspace{height:auto;grid-template-columns:1fr;gap:14px}.case-splitter{display:none}.case-list-panel,.case-editor{grid-column:1}.case-list-panel[data-covered=true],.case-editor[data-covered=true]{display:flex}.case-list-panel{max-height:380px}.case-editor{min-height:560px}}@media (max-width: 959px){body.app-page{overflow-x:auto;overflow-y:hidden}}@media (max-width: 1120px){.workspace-sidebar{width:238px}.context-bar{align-items:flex-start;flex-wrap:wrap}.run-controls{flex-basis:100%;justify-content:flex-start}.project-run-action{max-width:min(62vw,680px)}.selected-targets{justify-content:flex-start}.template-workspace{height:auto;grid-template-columns:1fr}.prompt-canvas{min-height:680px}.template-inspector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.history-layout.with-detail{grid-template-columns:1fr}.record-detail{position:relative;max-height:none}.settings-layout{grid-template-columns:260px minmax(0,1fr)}.account-dashboard,.account-actions{grid-template-columns:1fr}}@media (max-width: 760px){.template-namebar,.profile-card,.password-pair,.template-inspector{grid-template-columns:1fr}.profile-summary{width:100%}}@media (max-width: 900px){.auth-shell{grid-template-columns:1fr}.auth-story{display:none}.auth-panel{min-height:100vh}}@media (max-height: 760px){.auth-panel{align-items:flex-start;padding-top:22px;overflow:auto}.auth-card{padding-bottom:22px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}#root{height:100vh}.field-row{display:grid;gap:12px;grid-template-columns:1fr 1fr}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.empty-hint{padding:34px 20px;text-align:center;color:var(--subtle)}.empty-art{display:flex;width:52px;height:52px;align-items:center;justify-content:center;margin:0 auto 16px;border-radius:14px;background:var(--accent-soft);color:var(--accent)}.empty-art .ui-icon{width:24px;height:24px}.empty-hint .section-copy{max-width:32em;margin:6px auto 0;line-height:1.7}.empty-actions{margin-top:22px}.workspace-content.is-empty{display:flex;flex-direction:column}.workspace-content.is-empty .empty-hint{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:9vh}.param-pairs{display:grid;gap:8px}.provider-detail-section{margin-top:18px}.provider-detail-section .field-label{margin-bottom:6px}.catalog-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;margin-bottom:8px}.result-card-actions{display:flex;gap:6px;align-items:center}.metric-token{font-family:var(--mono);font-size:11.5px}.history-detail-block+.history-detail-block{margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}.run-reason{color:var(--warning);font-size:12.5px}.target-chip-param{display:inline-flex;gap:4px;align-items:center}.landing-page,.legal-page{min-height:100vh;display:flex;flex-direction:column}.landing-page{background:radial-gradient(circle at 76% 7%,color-mix(in srgb,var(--accent) 7%,transparent) 0,transparent 28%),linear-gradient(180deg,color-mix(in srgb,var(--surface-raised) 42%,transparent) 0,transparent 28%)}.landing-header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px max(24px,calc((100vw - 1360px)/2));border-bottom:1px solid var(--border)}.landing-header .brand-lockup{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}.wordmark{font-family:var(--mono);font-weight:800;font-size:18px;letter-spacing:-.055em;font-variant-ligatures:none}.wordmark span{color:var(--accent)}.landing-nav{display:flex;align-items:center;gap:10px}.landing-nav-links{display:flex;align-items:center;gap:22px;margin-right:14px}.landing-nav-links a{color:var(--muted);font-size:13px;text-decoration:none}.landing-nav-links a:hover{color:var(--text)}.landing-nav>.ui-button.primary{min-height:36px;padding:6px 14px;box-shadow:0 8px 22px color-mix(in srgb,var(--accent) 24%,transparent)}.landing-nav a,.landing-cta a{text-decoration:none}.landing-main{flex:1}.landing-hero{max-width:1360px;margin:0 auto;padding:clamp(38px,6vh,68px) 24px 22px}.landing-hero-inner{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:clamp(28px,4vw,64px)}.landing-tagline,.landing-section-eyebrow{margin:0 0 10px;color:var(--accent);font-weight:750;font-size:12px;letter-spacing:.08em}.landing-hero h1{margin:0;font-size:clamp(38px,4.5vw,62px);line-height:1.1;letter-spacing:-.045em}.landing-hero h1 span{display:block;color:var(--text)}.landing-copy{margin:20px 0 0;max-width:490px;color:var(--muted);font-size:16px;line-height:1.75}.landing-cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-start;margin-top:28px}.landing-cta .ui-button{min-height:46px;padding:10px 20px;font-size:14px}.landing-cta .ui-button.primary{box-shadow:0 10px 28px color-mix(in srgb,var(--accent) 28%,transparent)}.landing-cta-secondary{display:inline-flex;align-items:center;gap:6px}.landing-hero-trust{display:inline-flex;align-items:center;gap:7px;margin:16px 0 0;color:var(--subtle);font-size:12.5px}.landing-hero-trust .ui-icon{color:var(--info)}.landing-section{max-width:1360px;margin:0 auto;padding:42px 24px}.landing-section h2{margin:0 0 8px;font-size:clamp(24px,2.3vw,31px);letter-spacing:-.03em}.landing-section>p{margin:0;color:var(--muted)}.landing-showcase{width:100%;min-width:0;max-width:100%;margin:0;overflow:hidden;border:1px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--surface-raised);box-shadow:var(--shadow-lg)}.landing-showcase-toolbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:11px 14px;border-bottom:1px solid var(--border);color:var(--subtle);font-size:11.5px}.landing-showcase-title,.landing-showcase-status{display:inline-flex;align-items:center;gap:6px}.landing-showcase-title{color:var(--text);font-weight:700}.landing-showcase-title .ui-icon{color:var(--accent)}.landing-showcase-status{justify-self:end;color:var(--success);font-weight:650;opacity:0;animation:landing-status-arrive .3s ease 2.05s forwards}.landing-showcase-status i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 color-mix(in srgb,var(--success) 40%,transparent);animation:landing-status-pulse 1.4s ease-out 2s 2}.landing-showcase-prompt{margin:12px 14px;padding:11px 12px;border:1px solid var(--border);background:var(--surface)}.landing-showcase-prompt>span{color:var(--subtle);font-family:var(--mono);font-size:10px;text-transform:uppercase}.landing-showcase-prompt p{margin:5px 0 0;color:var(--text);font-size:12.5px;line-height:1.55}.landing-showcase-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 14px 9px}.landing-showcase-progress span{height:2px;overflow:hidden;background:var(--border)}.landing-showcase-progress span:after{content:"";display:block;width:100%;height:100%;background:var(--accent);transform:translate(-101%);animation:landing-progress 1s ease forwards}.landing-showcase-progress span:nth-child(2):after{animation-delay:.55s}.landing-showcase-progress span:nth-child(3):after{animation-delay:1.1s}.landing-showcase-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 14px 14px}.landing-result-card{min-width:0;padding:12px;border:1px solid color-mix(in srgb,var(--border-strong) 64%,var(--border));background:linear-gradient(155deg,color-mix(in srgb,var(--surface-raised) 74%,var(--surface)) 0,var(--surface) 72%);box-shadow:0 8px 24px #00000012;opacity:.38;transform:translateY(5px);animation:landing-result-arrive .48s ease forwards}.landing-result-card.result-1{animation-delay:.22s}.landing-result-card.result-2{animation-delay:.78s}.landing-result-card.result-3{animation-delay:1.34s}.landing-result-card header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px}.landing-result-card header>span:nth-child(2){min-width:0}.landing-result-card header strong,.landing-result-card header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.landing-result-card header strong{font-size:11.5px}.landing-result-card header small{margin-top:1px;color:var(--subtle);font-size:9.5px}.landing-result-card header>.ui-icon{color:var(--success)}.landing-result-card .provider-glyph-host{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:var(--muted);opacity:.82}.landing-result-card>p{min-height:58px;margin:11px 0;color:var(--text);font-size:11.5px;line-height:1.65;clip-path:inset(0 100% 0 0);animation:landing-output-reveal .72s steps(8,end) forwards}.landing-result-card.result-1>p{animation-delay:.48s}.landing-result-card.result-2>p{animation-delay:1.04s}.landing-result-card.result-3>p{animation-delay:1.6s}.landing-result-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}.landing-result-card dl{opacity:0;animation:landing-metrics-arrive .36s ease forwards}.landing-result-card.result-1 dl{animation-delay:.9s}.landing-result-card.result-2 dl{animation-delay:1.46s}.landing-result-card.result-3 dl{animation-delay:2.02s}.landing-result-card dl>div{min-width:0}.landing-result-card dt{overflow:hidden;color:var(--subtle);font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.landing-result-card dd{margin:2px 0 0;color:var(--text);font-family:var(--mono);font-size:9.5px}.landing-showcase figcaption{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border-top:1px solid var(--border);color:var(--muted);font-size:11.5px}.landing-showcase figcaption .ui-icon{color:var(--accent)}.landing-capabilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.landing-capability{min-height:164px;box-sizing:border-box;padding:24px;border-color:color-mix(in srgb,var(--border-strong) 56%,var(--border));background:linear-gradient(155deg,var(--surface-raised),var(--surface));box-shadow:0 10px 30px #0000000e}.landing-capability>.ui-icon{width:36px;height:36px;box-sizing:border-box;padding:8px;border-radius:10px;background:var(--accent-soft);color:var(--accent)}.landing-capability h3{margin:14px 0 0;font-size:16px;letter-spacing:-.015em}.landing-capability p{margin:8px 0 0;color:var(--muted);font-size:13.5px;line-height:1.7}.landing-providers{padding-top:18px}.landing-provider-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.landing-provider-list>span{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid color-mix(in srgb,var(--border-strong) 56%,var(--border));border-radius:var(--radius-sm);background:linear-gradient(155deg,var(--surface-raised),var(--surface));color:var(--muted);font-size:13px;font-weight:650;box-shadow:0 5px 16px #0000000a}.landing-provider-list .provider-glyph-host{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;color:var(--muted);opacity:.7;filter:saturate(.35)}.landing-provider-note{margin-top:12px!important;color:var(--subtle)!important;font-size:12.5px}.landing-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:24px}.landing-step{padding:18px;border-color:color-mix(in srgb,var(--border-strong) 56%,var(--border));background:linear-gradient(155deg,var(--surface-raised),var(--surface));box-shadow:0 10px 30px #0000000d}.landing-step-no{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:12.5px;font-weight:750}.landing-step strong{display:block;margin-top:10px;font-size:14.5px}.landing-step p{margin:6px 0 0;color:var(--muted);font-size:13.5px;line-height:1.7}.landing-security{padding-top:26px}.landing-byok{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);align-items:center;gap:34px;padding:24px 26px;border:1px solid color-mix(in srgb,var(--accent) 38%,var(--border));border-radius:var(--radius-lg);background:var(--surface-raised)}.landing-byok .landing-section-eyebrow{margin-bottom:8px}.landing-byok h2{margin:0;font-size:21px}.landing-byok p{margin:8px 0 0;color:var(--muted);font-size:13.5px;line-height:1.7}.landing-byok-points{display:grid;grid-template-columns:1fr;gap:5px;margin:12px 0 0;padding:0;list-style:none;color:var(--text);font-size:13px}.landing-byok-points li{display:flex;align-items:flex-start;gap:7px;line-height:1.55}.landing-byok-points li:before{content:"✓";flex:none;color:var(--accent);font-weight:800}.landing-byok-flow{padding:16px;border:1px solid var(--border);background:var(--surface)}.landing-flow-main{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}.landing-flow-node{display:flex;align-items:center;gap:8px;min-width:0;padding:10px;border:1px solid var(--border);background:var(--surface-raised)}.landing-flow-node>.ui-icon{flex:none;color:var(--info)}.landing-flow-node span,.landing-flow-node strong,.landing-flow-node small{display:block;min-width:0}.landing-flow-node strong{font-size:12px}.landing-flow-node small{margin-top:2px;color:var(--subtle);font-size:9.5px}.landing-flow-arrow{display:flex;flex-direction:column;align-items:center;color:var(--accent)}.landing-flow-arrow span{color:var(--subtle);font-size:9px;white-space:nowrap}.landing-flow-bypass{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:11px;padding-top:11px;border-top:1px dashed var(--border);color:var(--muted);font-size:11px}.landing-flow-bypass .ui-icon{color:var(--info)}.landing-flow-bypass strong{color:var(--accent)}.landing-closing{display:flex;flex-direction:column;align-items:center;padding:28px 24px 42px;text-align:center}.landing-closing>p{margin:0;font-size:20px;font-weight:750;letter-spacing:-.02em}.landing-closing .landing-cta{margin-top:14px}.site-footer{flex:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 18px;margin-top:26px;padding:20px 24px;border-top:1px solid var(--border);color:var(--subtle);font-size:12.5px}.site-footer-links{display:flex;gap:16px}.site-footer a{color:var(--muted);text-decoration:none}.site-footer a:hover{color:var(--text);text-decoration:underline}@keyframes landing-progress{to{transform:translate(0)}}@keyframes landing-result-arrive{to{opacity:1;transform:translateY(0)}}@keyframes landing-output-reveal{to{clip-path:inset(0 0 0 0)}}@keyframes landing-metrics-arrive{to{opacity:1}}@keyframes landing-status-arrive{to{opacity:1}}@keyframes landing-status-pulse{60%{box-shadow:0 0 0 7px color-mix(in srgb,var(--success) 0%,transparent)}to{box-shadow:0 0 0 0 transparent}}@media (prefers-reduced-motion: reduce){.landing-showcase-status i,.landing-showcase-progress span:after,.landing-result-card,.landing-showcase-status,.landing-result-card>p,.landing-result-card dl{animation:none}.landing-showcase-status{opacity:1}.landing-showcase-progress span:after{transform:none}.landing-result-card{opacity:1;transform:none}.landing-result-card>p{clip-path:none}.landing-result-card dl{opacity:1}}@media (max-width: 640px){.landing-header{padding:14px 20px}.landing-nav{gap:4px}.landing-nav>.ui-button.primary{padding:6px 10px;font-size:12.5px}.landing-nav>.ui-button.ghost{padding:6px 8px;font-size:12.5px}.landing-hero{padding-left:20px;padding-right:20px}.landing-showcase{margin-top:12px;border-radius:var(--radius-md)}.landing-showcase-toolbar{grid-template-columns:1fr auto}.landing-showcase-toolbar>span:nth-child(2){display:none}.landing-showcase-results{width:100%;max-width:100%;box-sizing:border-box;grid-template-columns:repeat(3,205px);overflow-x:auto}.landing-showcase figcaption{align-items:flex-start;padding:9px 12px;font-size:10.5px;text-align:left}.landing-capabilities,.landing-steps{grid-template-columns:1fr}.landing-section{padding:34px 20px}.landing-byok{padding:20px}.landing-byok-points{grid-template-columns:1fr;gap:6px}.landing-closing{padding-bottom:28px}}@media (max-width: 960px){.landing-nav-links{display:none}}@media (max-width: 900px){.landing-hero{max-width:760px;padding-top:clamp(44px,9vh,72px);text-align:center}.landing-hero-inner{grid-template-columns:1fr;gap:34px}.landing-copy{margin-left:auto;margin-right:auto}.landing-cta,.landing-hero-trust{justify-content:center}.landing-showcase{max-width:700px;margin:0 auto}.landing-byok{grid-template-columns:1fr;gap:22px}}@media (min-width: 641px) and (max-width: 900px){.landing-capabilities{grid-template-columns:repeat(3,minmax(0,1fr))}.landing-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}.legal-body{flex:1;width:100%;max-width:760px;margin:0 auto;padding:40px 24px 48px}.legal-body h1{margin:0;font-size:28px;letter-spacing:-.02em}.legal-updated{margin:8px 0 26px;color:var(--subtle);font-size:12.5px}.legal-body section{margin-top:24px}.legal-body h2{margin:0 0 10px;font-size:16px}.legal-body section p{margin:8px 0;color:var(--muted);line-height:1.8}.privacy-note a{color:var(--info);font-weight:650;text-decoration:none}.privacy-note a:hover{text-decoration:underline}.loading-block{padding:28px;text-align:center;color:var(--subtle)}.app-shell{overflow:hidden}.app-rail a{text-decoration:none}.workspace-content{container-type:inline-size}.plain-fieldset{min-width:0;margin:12px 0 0;padding:0;border:0}.document-tabs{overflow-x:auto;align-items:center}.document-tab{flex:none;display:flex;padding:0}.document-tab-main{display:flex;align-items:center;gap:7px;min-width:0;max-width:215px;padding:8px 10px;border:0;background:transparent;color:inherit;cursor:pointer}.document-tab-main .grow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-tab>.close{flex:none;margin-right:4px}.context-bar{flex-wrap:wrap;gap:4px}.run-controls{flex-basis:100%;width:100%;padding:6px 0}.project-run-action{flex:1 1 auto;justify-content:flex-end;padding-bottom:0}.run-controls>.ui-button,.run-summary{flex-shrink:0}.selected-targets{display:flex;align-items:center;gap:6px;flex:1;min-width:0;overflow-x:auto}.selected-targets .target-chip{flex:none;white-space:nowrap}.run-block-reason{white-space:normal;max-width:260px}.prompt-pane .prompt-textarea{width:100%;font-size:16px}.prompt-pane-head{flex-wrap:wrap}.template-namebar{grid-template-columns:92px minmax(0,1fr)}.prompt-panes{grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr))}.param-pairs{margin-top:12px;min-width:0}.param-pairs .parameter-row{display:grid;grid-template-columns:minmax(0,1.3fr) auto minmax(0,1fr) 30px;width:100%}.param-pairs .parameter-row input{width:100%;min-height:28px}.param-pairs .field-error{grid-column:1 / -1}.tree-target{display:flex;align-items:center;gap:7px;padding-right:8px;cursor:pointer}.tree-target input{flex:none}.tree-row.collection .tree-row-main{color:var(--text)}.row-actions .ui-button{opacity:0;transition:opacity .12s ease}.tree-row:hover .row-actions .ui-button,.tree-row:focus-within .row-actions .ui-button,.row-actions .ui-button[aria-expanded=true]{opacity:1}.tree-target .target-name{min-width:0}.model-grid,.result-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))}.model-card-title strong,.result-card-title strong{white-space:normal;overflow-wrap:anywhere}.result-dock-body{flex:1}.result-dock-body[hidden]{display:none}.result-splitter{touch-action:none}.result-card-head{display:flex;gap:6px;align-items:center}.result-card-title{flex:1}.result-card-sub{min-width:0}.record-output{overflow-wrap:anywhere}.history-list{min-width:0}.history-row{grid-template-columns:auto minmax(120px,.7fr) minmax(180px,1fr) minmax(280px,1.5fr) auto auto;grid-template-areas:"state case model metrics time actions"}.history-row>.status-badge{grid-area:state}.history-row>.badge{grid-area:case;max-width:100%;justify-self:start;overflow:hidden;text-overflow:ellipsis}.history-row>.history-model{grid-area:model;padding:4px 0;white-space:normal;overflow-wrap:anywhere}.history-row>.history-metrics{grid-area:metrics;flex-wrap:wrap;white-space:normal;justify-content:flex-start}.history-row>.history-time{grid-area:time;color:var(--subtle);font-size:12px}.history-row>.history-row-actions{grid-area:actions}.history-row-actions{display:flex;align-items:center;gap:4px}.history-layout.with-detail{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr)}.history-layout.with-detail:not(.runs-split) .history-row{grid-template-columns:auto minmax(0,.7fr) minmax(0,1.3fr) auto;grid-template-areas:"state case model actions" "time metrics metrics actions"}.history-toolbar,.batch-heading{flex-wrap:wrap}.data-table.case-table{table-layout:fixed;min-width:520px}.case-table th:first-child{width:150px}.case-table th:nth-child(3){width:78px}.case-variable-summary{overflow:hidden}.case-field .ui-textarea{font-size:16px}.page-header .actions{flex-shrink:0}@container (max-width: 800px){.history-layout.with-detail{grid-template-columns:minmax(0,1fr)}.history-layout.runs-split,.history-layout.runs-split.with-detail{grid-template-columns:minmax(0,1fr);align-items:start;overflow:auto}.runs-split .history-list,.runs-split .record-detail,.runs-split .run-detail-placeholder{height:auto;overflow:visible}.runs-split .history-list{border-right:0;border-bottom:1px solid var(--border)}.runs-split .run-detail-placeholder{min-height:320px}.record-detail{position:static;max-height:none}}
