html{height:100%;--mat-sys-background: light-dark(#faf9fd, #121316);--mat-sys-error: light-dark(#ba1a1a, #ffb4ab);--mat-sys-error-container: light-dark(#ffdad6, #93000a);--mat-sys-inverse-on-surface: light-dark(#f2f0f4, #2f3033);--mat-sys-inverse-primary: light-dark(#abc7ff, #005cbb);--mat-sys-inverse-surface: light-dark(#2f3033, #e3e2e6);--mat-sys-on-background: light-dark(#1a1b1f, #e3e2e6);--mat-sys-on-error: light-dark(#ffffff, #690005);--mat-sys-on-error-container: light-dark(#93000a, #ffdad6);--mat-sys-on-primary: light-dark(#ffffff, #002f65);--mat-sys-on-primary-container: light-dark(#00458f, #d7e3ff);--mat-sys-on-primary-fixed: light-dark(#001b3f, #001b3f);--mat-sys-on-primary-fixed-variant: light-dark(#00458f, #00458f);--mat-sys-on-secondary: light-dark(#ffffff, #283041);--mat-sys-on-secondary-container: light-dark(#3e4759, #dae2f9);--mat-sys-on-secondary-fixed: light-dark(#131c2b, #131c2b);--mat-sys-on-secondary-fixed-variant: light-dark(#3e4759, #3e4759);--mat-sys-on-surface: light-dark(#1a1b1f, #e3e2e6);--mat-sys-on-surface-variant: light-dark(#44474e, #e0e2ec);--mat-sys-on-tertiary: light-dark(#ffffff, #0001ac);--mat-sys-on-tertiary-container: light-dark(#0000ef, #e0e0ff);--mat-sys-on-tertiary-fixed: light-dark(#00006e, #00006e);--mat-sys-on-tertiary-fixed-variant: light-dark(#0000ef, #0000ef);--mat-sys-outline: light-dark(#74777f, #8e9099);--mat-sys-outline-variant: light-dark(#c4c6d0, #44474e);--mat-sys-primary: light-dark(#005cbb, #abc7ff);--mat-sys-primary-container: light-dark(#d7e3ff, #00458f);--mat-sys-primary-fixed: light-dark(#d7e3ff, #d7e3ff);--mat-sys-primary-fixed-dim: light-dark(#abc7ff, #abc7ff);--mat-sys-scrim: light-dark(#000000, #000000);--mat-sys-secondary: light-dark(#565e71, #bec6dc);--mat-sys-secondary-container: light-dark(#dae2f9, #3e4759);--mat-sys-secondary-fixed: light-dark(#dae2f9, #dae2f9);--mat-sys-secondary-fixed-dim: light-dark(#bec6dc, #bec6dc);--mat-sys-shadow: light-dark(#000000, #000000);--mat-sys-surface: light-dark(#faf9fd, #121316);--mat-sys-surface-bright: light-dark(#faf9fd, #38393c);--mat-sys-surface-container: light-dark(#efedf0, #1f2022);--mat-sys-surface-container-high: light-dark(#e9e7eb, #292a2c);--mat-sys-surface-container-highest: light-dark(#e3e2e6, #343537);--mat-sys-surface-container-low: light-dark(#f4f3f6, #1a1b1f);--mat-sys-surface-container-lowest: light-dark(#ffffff, #0d0e11);--mat-sys-surface-dim: light-dark(#dbd9dd, #121316);--mat-sys-surface-tint: light-dark(#005cbb, #abc7ff);--mat-sys-surface-variant: light-dark(#e0e2ec, #44474e);--mat-sys-tertiary: light-dark(#343dff, #bec2ff);--mat-sys-tertiary-container: light-dark(#e0e0ff, #0000ef);--mat-sys-tertiary-fixed: light-dark(#e0e0ff, #e0e0ff);--mat-sys-tertiary-fixed-dim: light-dark(#bec2ff, #bec2ff);--mat-sys-neutral-variant20: #2d3038;--mat-sys-neutral10: #1a1b1f;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 400 1rem / 1.5rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-body-large-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-body-medium-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-body-small-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-display-large-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-display-medium-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-display-small-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-headline-large-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-headline-medium-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-headline-small-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-label-large-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-label-medium-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-label-small-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-title-large-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-title-medium-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-title-small-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-checkbox-touch-target-display: block;--mat-checkbox-state-layer-size: 36px;--mat-chip-container-height: 28px;--mat-chip-touch-target-display: none;--mat-expansion-header-collapsed-state-height: 44px;--mat-expansion-header-expanded-state-height: 60px;--mat-fab-small-touch-target-display: ;--mat-fab-touch-target-display: block;--mat-button-filled-touch-target-display: block;--mat-button-filled-container-height: 36px;--mat-button-outlined-container-height: 36px;--mat-button-outlined-touch-target-display: block;--mat-button-protected-touch-target-display: block;--mat-button-protected-container-height: 36px;--mat-button-text-touch-target-display: block;--mat-button-text-container-height: 36px;--mat-button-tonal-container-height: 36px;--mat-button-tonal-touch-target-display: block;--mat-form-field-container-height: 52px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 14px;--mat-form-field-filled-with-label-container-padding-top: 22px;--mat-form-field-filled-with-label-container-padding-bottom: 6px;--mat-icon-button-touch-target-display: block;--mat-icon-button-state-layer-size: 36px;--mat-list-list-item-leading-icon-start-space: 12px;--mat-list-list-item-leading-icon-end-space: 12px;--mat-list-list-item-one-line-container-height: 44px;--mat-list-list-item-two-line-container-height: 60px;--mat-list-list-item-three-line-container-height: 84px;--mat-paginator-container-size: 52px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block;--mat-radio-touch-target-display: block;--mat-radio-state-layer-size: 36px;--mat-tab-container-height: 44px;--mat-select-arrow-transform: translateY(-8px);--mat-button-toggle-height: 40px;--mat-stepper-header-height: 68px;--mat-table-header-container-height: 52px;--mat-table-footer-container-height: 48px;--mat-table-row-item-container-height: 48px;--mat-toolbar-standard-height: 60px;--mat-toolbar-mobile-height: 52px;--mat-tree-node-min-height: 44px;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12}body{color-scheme:light dark;background-color:var(--mat-sys-surface-container-lowest);color:var(--mat-sys-on-surface);font:var(--mat-sys-body-medium);margin:0;min-height:100%}:root{--acg-ok: #1a7f4b;--acg-bad: #c0362c;--acg-warn: #a15c00;--acg-info: #2f5bea;--acg-sidebar: #161b2b;--acg-border: var(--mat-sys-outline-variant);--acg-muted: var(--mat-sys-on-surface-variant)}@media(prefers-color-scheme:dark){:root{--acg-ok: #4cc38a;--acg-bad: #f1857b;--acg-warn: #f0b35a;--acg-info: #8aa3ff;--acg-sidebar: #0b0e17}}*{box-sizing:border-box}h1{font:var(--mat-sys-headline-small);margin:0 0 1rem}h2{font:var(--mat-sys-title-large);margin:1.5rem 0 .6rem}h3{font:var(--mat-sys-title-medium);margin:1rem 0 .3rem}a{color:var(--mat-sys-primary);text-decoration:none}a:hover{text-decoration:underline}code,.code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem}.page-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.page-head h1{margin:0}.card{background:var(--mat-sys-surface-container-low);border:1px solid var(--acg-border);border-radius:12px;padding:1.1rem 1.2rem}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.9rem;margin-bottom:1.2rem}.stat .n{font-size:1.9rem;font-weight:700}.stat .l{color:var(--acg-muted);font-size:.85rem}.empty{text-align:center;color:var(--acg-muted);padding:2rem}.muted-text{color:var(--acg-muted)}.hint{font-weight:400;color:var(--acg-muted);font-size:.8rem}.warn-text{color:var(--acg-warn)}.bad-text{color:var(--acg-bad)}.help-box{color:var(--acg-muted);font-size:.85rem;line-height:1.45}.grid{display:grid;grid-template-columns:minmax(0,1fr);gap:.9rem}.grid>*{min-width:0}.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.9rem}.two>*{min-width:0}.row{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.row.end{justify-content:flex-end}.row.nowrap{flex-wrap:nowrap}.spacer{flex:1}.filters{display:flex;gap:.7rem;flex-wrap:wrap;margin-bottom:1rem;align-items:center}.filters .mat-mdc-form-field{min-width:200px}@media(max-width:800px){.two{grid-template-columns:1fr}}table.acg{width:100%;border-collapse:collapse;background:var(--mat-sys-surface-container-low);border:1px solid var(--acg-border);border-radius:12px;overflow:hidden}table.acg th,table.acg td{text-align:left;padding:.65rem .8rem;border-bottom:1px solid var(--acg-border);vertical-align:top}table.acg th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:var(--acg-muted);background:var(--mat-sys-surface-container)}table.acg tr:last-child td{border-bottom:0}table.acg tr.clickable{cursor:pointer}table.acg tr.clickable:hover td{background:var(--mat-sys-surface-container)}table.acg td.actions{white-space:nowrap;text-align:right}table.acg th.col-wide{width:40%}table.acg th.num-col,table.acg td.num-col{text-align:center;width:1%;white-space:nowrap}@media(max-width:800px){table.acg{display:block;overflow-x:auto}}.alert{padding:.7rem 1rem;border-radius:8px;margin:0 0 1rem;border:1px solid}.alert.error{color:var(--acg-bad);border-color:var(--acg-bad);background:color-mix(in srgb,var(--acg-bad) 10%,transparent)}.alert.info{color:var(--acg-info);border-color:var(--acg-info);background:color-mix(in srgb,var(--acg-info) 8%,transparent);font-size:.9rem}.alert.success{color:var(--acg-ok);border-color:var(--acg-ok);background:color-mix(in srgb,var(--acg-ok) 10%,transparent)}.badge{display:inline-block;padding:.1rem .55rem;border-radius:999px;font-size:.78rem;font-weight:600;border:1px solid currentColor;white-space:nowrap}.badge.ok{color:var(--acg-ok)}.badge.bad{color:var(--acg-bad)}.badge.warn{color:var(--acg-warn)}.badge.info{color:var(--acg-info)}.badge.muted{color:var(--acg-muted)}.kv{display:grid;grid-template-columns:150px 1fr;gap:.35rem 1rem;margin:0}.kv dt{color:var(--acg-muted)}.kv dd{margin:0;min-width:0;word-break:break-word}details pre,pre.out{background:var(--mat-sys-surface-container);padding:.7rem;border-radius:8px;overflow:auto;max-height:320px;font-size:.8rem;margin:.4rem 0 0;white-space:pre-wrap;word-break:break-word}.timeline{list-style:none;margin:0;padding:0;border-left:2px solid var(--acg-border)}.timeline li{padding:.15rem 0 .8rem 1rem;position:relative}.timeline li:before{content:"";position:absolute;left:-6px;top:.45rem;width:10px;height:10px;border-radius:50%;background:var(--acg-muted)}.timeline li.Error:before,.timeline li.Warning:before{background:var(--acg-bad)}.timeline li.Information:before{background:var(--mat-sys-primary)}.timeline .ev{font-weight:600}.timeline .t{color:var(--acg-muted);font-size:.78rem;margin-left:.5rem}.copy-box{display:flex;gap:.5rem;align-items:center}input.acg,select.acg,textarea.acg{font:inherit;padding:.45rem .65rem;border:1px solid var(--mat-sys-outline);border-radius:6px;background:transparent;color:inherit;width:100%}input.acg:focus,select.acg:focus,textarea.acg:focus{outline:2px solid var(--mat-sys-primary);outline-offset:-1px;border-color:transparent}input.acg:disabled,select.acg:disabled,textarea.acg:disabled{opacity:.6}textarea.acg{min-height:90px;resize:vertical}select.acg option{background:var(--mat-sys-surface);color:var(--mat-sys-on-surface)}label.field{display:grid;gap:.3rem;font-weight:600;font-size:.88rem}label.check{display:flex;align-items:center;gap:.5rem;font-weight:500}.step{border:1px solid var(--acg-border);border-radius:10px;padding:.8rem;display:grid;grid-template-columns:minmax(0,1fr);gap:.6rem;background:var(--mat-sys-surface-container-low)}.step-head{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.step-head .num{font-weight:700;color:var(--acg-muted);min-width:1.4rem}.step-head input.acg{flex:1;min-width:8rem;width:auto}.step-head select.acg{flex:2;min-width:8rem;width:auto}.step-summary{flex:1;min-width:0;display:flex;gap:.2rem .7rem;align-items:baseline;flex-wrap:wrap;cursor:pointer}.step-summary .step-args{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.step-warn{color:var(--acg-bad);font-size:.85rem}.args-editor{display:grid;grid-template-columns:minmax(0,1fr);gap:.7rem}.args-editor>*{min-width:0}.arg-field{display:grid;grid-template-columns:minmax(0,1fr);gap:.3rem}.arg-label{font-weight:600;font-size:.88rem;display:grid;gap:.1rem}.row.nowrap>input.acg,.row.nowrap>select.acg:not(.ins){flex:1;min-width:0;width:auto}select.acg.ins{width:auto;max-width:15rem;flex:0 0 auto;font-size:.85rem}.add-row>select.acg{flex:1 1 14rem;width:auto;min-width:0}.add-row>input.acg{flex:1 1 14rem;width:auto;min-width:0}.chips{list-style:none;margin:0 0 .5rem;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}.chip{display:inline-flex;align-items:center;gap:.4rem;border:1px solid var(--acg-border);border-radius:999px;padding:.15rem .25rem .15rem .75rem;background:var(--mat-sys-surface-container-low);font-size:.85rem}.chip.warn{border-color:var(--acg-warn)}.chip-x{border:0;background:transparent;color:var(--acg-muted);cursor:pointer;font:inherit;line-height:1;padding:.2rem .4rem;border-radius:999px}.chip-x:hover{color:var(--acg-bad)}.json-editor textarea{tab-size:2;white-space:pre;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem}.json-editor.invalid textarea{border-color:var(--acg-bad)}.json-status{display:flex;gap:.5rem;align-items:center;font-size:.8rem;margin-top:.25rem;color:var(--acg-ok);font-weight:500}.json-status.bad{color:var(--acg-bad)}.json-status .msg{flex:1}.btn-x{color:var(--acg-bad)}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:1rem}.card.login{width:min(400px,100%);display:grid;gap:1rem}.card.login h1{margin:0}.chat-shell{display:grid;grid-template-columns:300px 1fr;gap:1rem;align-items:start}.chat-side{padding:.9rem;display:grid;gap:.9rem}.chat-list{list-style:none;margin:0;padding:0;display:grid;gap:.25rem;max-height:calc(100vh - 330px);overflow-y:auto}.chat-list li{padding:.55rem .7rem;border-radius:8px;cursor:pointer;border:1px solid transparent}.chat-list li:hover{background:color-mix(in srgb,var(--mat-sys-primary) 8%,transparent)}.chat-list li.active{border-color:var(--mat-sys-primary);background:color-mix(in srgb,var(--mat-sys-primary) 10%,transparent)}.chat-list li strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-pane{padding:0;display:grid;grid-template-rows:auto 1fr auto;height:calc(100vh - 170px);min-height:420px;overflow:hidden}.chat-head{display:flex;align-items:center;gap:.6rem;padding:.8rem 1.1rem;border-bottom:1px solid var(--acg-border);flex-wrap:wrap}.chat-input{display:flex;gap:.6rem;padding:.8rem 1rem;border-top:1px solid var(--acg-border);align-items:end}.chat-input textarea{min-height:0;resize:none;flex:1}.msgs{overflow-y:auto;padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.55rem;min-height:0}.msgs-empty{margin:auto}.msg{display:flex}.msg.right{justify-content:flex-end}.msg.left{justify-content:flex-start}.bubble{max-width:min(640px,82%);padding:.55rem .8rem;border-radius:14px;border:1px solid var(--acg-border);background:var(--mat-sys-surface-container-low)}.msg.right .bubble{background:var(--mat-sys-primary);border-color:var(--mat-sys-primary);color:var(--mat-sys-on-primary);border-bottom-right-radius:4px}.msg.left .bubble{border-bottom-left-radius:4px}.bubble .text{white-space:pre-wrap;word-break:break-word}.bubble .who{font-size:.75rem;font-weight:700;opacity:.75;margin-bottom:.15rem}.bubble .meta{display:flex;gap:.6rem;align-items:center;font-size:.72rem;opacity:.75;margin-top:.25rem;flex-wrap:wrap}.msg.right .bubble a,.msg.right .bubble .badge{color:inherit}.msg.right .bubble a{text-decoration:underline}.msg-error{font-size:.78rem;margin-top:.25rem;color:var(--acg-bad)}.msg.right .msg-error{color:#ffd7d3}.bubble.typing{display:inline-flex;gap:.3rem;padding:.75rem .9rem}.bubble.typing span{width:7px;height:7px;border-radius:50%;background:var(--acg-muted);animation:typing 1.2s infinite ease-in-out}.bubble.typing span:nth-child(2){animation-delay:.15s}.bubble.typing span:nth-child(3){animation-delay:.3s}@keyframes typing{0%,60%,to{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media(max-width:800px){.chat-shell{grid-template-columns:1fr}.chat-pane{height:70vh}.chat-list{max-height:220px}}:root{--mat-button-filled-container-shape: 8px;--mat-button-outlined-container-shape: 8px;--mat-button-text-container-shape: 8px;--mat-button-filled-container-height: 36px;--mat-button-outlined-container-height: 36px}table.acg .mat-mdc-button-base,.step-head .mat-mdc-button-base,.row.nowrap .mat-mdc-button-base,.json-status .mat-mdc-button-base,.row.add-row .mat-mdc-button-base{--mat-button-outlined-container-height: 30px;--mat-button-filled-container-height: 30px;--mat-button-outlined-horizontal-padding: 12px;--mat-button-filled-horizontal-padding: 12px;min-width:0;font-size:.85rem;letter-spacing:0}.btn-x.mat-mdc-button-base{--mat-button-outlined-label-text-color: var(--acg-bad)}
