:root{--panel-header-height: 40px;color:#101010;background:#e5e5e5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea,select{font:inherit}input[type=checkbox],input[type=radio]{accent-color:#111}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #111;outline-offset:2px}button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:32px;min-height:32px;border:1px solid #161616;border-radius:6px;color:#111;background:#fff;cursor:pointer}button:hover{background:#f2f2f2}button:disabled{color:#8d8d8d;border-color:#999;cursor:not-allowed}select,input,textarea{min-height:32px;border:1px solid #171717;border-radius:6px;color:#111;background:#fff}.app-shell{display:grid;grid-template-rows:68px 12px minmax(498px,1fr);min-height:100vh;background:#a6a6a6}.top-app-bar{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.32fr) minmax(0,1.22fr);gap:0;align-items:center;min-height:68px;padding:12px 9px 10px;background:#a6a6a6}.toolbar-group{display:flex;gap:8px;align-items:center;min-width:0}.top-app-bar button:not(.system-orb){width:42px;min-width:42px;height:42px;min-height:42px;border-radius:8px;padding:0}.brand-search{position:relative;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto auto;gap:6px;align-items:center;min-width:0;height:42px;padding:0 10px;border:1px solid #111;border-radius:8px;background:#fff;grid-column:1;margin:0 4px}.brand-search.has-error{border-color:#8a1f1f}.brand-mark{font-size:13px;font-weight:800;letter-spacing:0}.search-divider{width:1px;height:16px;background:#c8c8c8}.brand-search input{width:100%;min-width:0;border:0;outline:0}.top-app-bar .brand-search .search-submit-button,.top-app-bar .brand-search .search-dropdown-button{width:24px;min-width:24px;height:24px;min-height:24px;padding:0;border:0;background:transparent}.top-app-bar .brand-search .search-submit-button:hover,.top-app-bar .brand-search .search-dropdown-button:hover,.top-app-bar .brand-search .search-dropdown-button.active{background:transparent}.top-app-bar .brand-search .search-dropdown-button.active svg{transform:rotate(180deg)}.symbol-search-dropdown{position:absolute;top:calc(100% + 6px);left:0;z-index:50;display:flex;flex-direction:column;width:min(360px,calc(100vw - 20px));max-height:308px;overflow:auto;padding:6px;border:1px solid #111;border-radius:8px;background:#fff;box-shadow:0 10px 26px #0000002e}.top-app-bar .brand-search .symbol-search-option{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;align-items:center;width:100%;min-width:0;height:auto;min-height:34px;padding:6px 7px;border:0;border-radius:6px;background:transparent;color:#111;text-align:left}.top-app-bar .brand-search .symbol-search-option:hover,.top-app-bar .brand-search .symbol-search-option[aria-selected=true]{background:#111;color:#fff}.symbol-search-option strong,.symbol-search-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.symbol-search-option strong{font-size:12px}.symbol-search-option span,.symbol-search-empty{font-size:10px}.symbol-search-empty{padding:8px;color:#666;font-weight:800;text-align:center}.search-error-message{position:absolute;top:calc(100% + 3px);left:8px;z-index:3;max-width:calc(100% - 16px);overflow:hidden;color:#8a1f1f;font-size:10px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.favorite-layout-strip{display:grid;grid-template-columns:repeat(4,42px);justify-content:end;gap:8px;min-width:0;grid-column:2;margin:0 4px}.favorite-layout-button{min-width:42px;min-height:42px;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.favorite-layout-button.filled{background:#fff}.favorite-layout-button.active,.toggle-button.active{background:#111;color:#fff}.top-right-controls{display:flex;justify-content:flex-start;gap:12px;grid-column:3;margin:0 4px;min-width:0;padding-left:42px}.account-toolbar{flex:1 1 auto;justify-content:flex-end;overflow:hidden}.account-label{min-width:0;max-width:112px;overflow:hidden;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.headline-alert-strip{display:flex;flex-direction:column;justify-content:center;grid-column:4;height:42px;min-width:0;margin:0 4px;padding:5px 10px;overflow:hidden;border:1px solid #111;border-radius:8px;background:#fff;line-height:1.2}.headline-alert-strip span,.headline-alert-strip strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.headline-alert-strip span{color:#555;font-size:11px}.headline-alert-strip strong{color:#111;font-size:12px}.market-ticker{display:flex;align-items:center;min-width:0;height:12px;padding:0 9px;overflow:hidden;background:#a6a6a6;color:#222;font-size:10px;font-weight:700;line-height:12px}.market-ticker-position{display:flex;align-items:center;height:12px;min-width:100%;transform:translateY(-1px)}.market-ticker-track{display:flex;align-items:center;gap:26px;min-width:max-content;animation:market-ticker-scroll 34s linear infinite;white-space:nowrap}.market-ticker-group{display:inline-flex;align-items:center;gap:26px}.market-ticker-item{display:inline-flex;align-items:center;gap:6px}.market-ticker-item strong{font-size:10px}.market-up{color:#0d6b3d}.market-down{color:#8a1f1f}@keyframes market-ticker-scroll{0%{transform:translate(0)}to{transform:translate(calc(-50% - 13px))}}.workspace-area{min-width:0;padding:0 9px 14px;background:#a6a6a6}.layout-frame{--bento-row-height: calc((100vh - 95px)/5) ;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.32fr) minmax(0,1.22fr);grid-template-rows:repeat(5,minmax(0,1fr));height:calc(100vh - 95px);min-height:498px;background:#a6a6a6}.panel-card{z-index:1;position:relative;display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;margin:4px;overflow:hidden;border:1px solid #111;border-radius:8px;background:#fff;box-shadow:0 1px #00000038}.panel-card.selected{z-index:5}.panel-card.selected:after{content:"";position:absolute;z-index:30;top:0;right:0;bottom:0;left:0;border:3px solid #111;border-radius:8px;pointer-events:none}.layout-preview-card{z-index:4;min-width:0;min-height:0;margin:4px;border:2px solid rgba(17,17,17,.28);border-radius:8px;background:#ffffff2e;box-shadow:inset 0 0 0 1px #1111111f;pointer-events:none}.layout-preview-card.replace{border-color:#11111185;background:#ffffff47}.layout-preview-card.blocked{border-color:#11111180;background:#11111124;background-image:repeating-linear-gradient(-45deg,#1111111f 0,#1111111f 6px,#ffffff1a 6px,#ffffff1a 12px)}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:8px;height:var(--panel-header-height);min-height:var(--panel-header-height);padding:6px 8px;overflow:hidden;border-bottom:1px solid #111;background:#f7f7f7;cursor:grab}.panel-card.dragging .panel-header{cursor:grabbing}.panel-card.pinned .panel-header{cursor:default}.panel-title-block{display:flex;flex-direction:column;min-width:0;line-height:1.1}.panel-title-block strong,.panel-title-block span,.panel-chart-meta,.panel-chart-meta em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-title-block strong{font-size:13px}.panel-title-block span{margin-top:3px;color:#555;font-size:11px}.chart-title-block{flex-direction:row;align-items:center;gap:8px}.chart-title-block strong{flex:0 0 auto;font-size:20px;line-height:1}.panel-chart-meta{display:grid;min-width:0;line-height:1.05}.panel-chart-meta span,.panel-chart-meta em{margin-top:0;color:#555;font-size:10px;font-style:normal}.panel-chart-meta span{font-weight:800}.panel-chart-meta em{margin-top:2px;color:#777;font-size:9px;font-weight:400}.panel-actions{display:flex;align-items:center;flex:0 0 auto;gap:4px}.panel-actions button,.system-orb{min-width:26px;min-height:26px;padding:0;border-radius:5px}.panel-market-metrics{display:grid;align-items:center;justify-items:end;min-width:66px;max-width:96px;min-height:26px;margin-right:30px;padding:0 5px;overflow:hidden;border-radius:5px;color:#111;line-height:1}.panel-market-metrics strong,.panel-market-metrics span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-market-metrics strong{font-size:13px}.panel-market-metrics span{margin-top:2px;font-size:10px;font-weight:800}.panel-market-metrics.up span{color:#0f8a4b}.panel-market-metrics.down span{color:#b33a3a}.panel-market-metrics.offline{color:#777}.panel-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:0;padding:12px;overflow:hidden;color:#444;text-align:center}.panel-placeholder span,.panel-placeholder small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-panel{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:#fff}.chart-toolbar{display:flex;align-items:center;gap:4px;min-width:0;padding:4px 6px;border-bottom:1px solid #d2d2d2;background:#fff}.chart-toolbar{position:relative;z-index:6;display:grid;grid-template-columns:minmax(0,1fr) auto;height:30px;padding-left:4.5px;padding-right:8px;overflow:visible}.chart-toolbar-scroll{display:flex;align-items:center;gap:4px;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.chart-toolbar-scroll::-webkit-scrollbar{display:none}.chart-stream-status{display:inline-flex;align-items:center;height:22px;min-width:42px;max-width:72px;padding:0 6px;overflow:hidden;border:1px solid #b8b8b8;border-radius:5px;color:#444;background:#f8f8f8;font-size:10px;font-weight:700;line-height:1;text-overflow:ellipsis;white-space:nowrap}.chart-stream-status.live{border-color:#0f7a3a;color:#0f7a3a;background:#edf8f0}.chart-stream-status.idle{border-color:#9a6a14;color:#7b520d;background:#fff7e6}.chart-stream-status.stale,.chart-stream-status.error{border-color:#b42318;color:#9f1f15;background:#fff0ee}.chart-symbol-control,.chart-tool-group{display:flex;align-items:center;gap:4px;flex:0 0 auto;min-width:0}.chart-symbol-control select{height:22px;min-height:22px;padding:0 4px;font-size:11px}.chart-toolbar button,.chart-drawing-rail button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;min-width:24px;height:22px;min-height:22px;padding:0;border-radius:5px}.chart-toolbar button.active,.chart-drawing-rail button.active{color:#fff;background:#111}.chart-hover-tooltip{position:fixed;z-index:1200;max-width:180px;padding:4px 6px;overflow:hidden;border:1px solid #111;border-radius:5px;background:#fffffffa;box-shadow:0 1px 4px #00000029;color:#111;font-size:10px;font-weight:700;line-height:1;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.chart-hover-tooltip.bottom{transform:translate(-50%)}.chart-hover-tooltip.right{transform:translateY(-50%)}.chart-marker-line-icon{display:block;width:1.5px;height:9px;border-radius:999px;background:currentColor}.chart-trend-line-icon,.chart-trend-extension-svg{display:block;width:15px;height:15px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chart-trend-extension-svg circle{fill:currentColor;stroke:none}.chart-comparison-overlay-icon{fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}.chart-comparison-overlay-icon rect{fill:#fff}.chart-comparison-overlay-icon .chart-comparison-back,.chart-comparison-overlay-icon .chart-comparison-back-line{opacity:.48}.chart-right-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0;padding-left:4px;background:#fff}.chart-preview-actions{display:flex;align-items:center;gap:4px}.chart-right-actions>button,.chart-preview-actions button{width:26px;min-width:26px}.chart-popover-anchor{position:relative;display:inline-flex;align-items:center}.chart-dropdown{position:absolute;z-index:30;top:calc(100% + 6px);left:0;display:grid;gap:6px;min-width:116px;max-width:190px;padding:7px;border:1px solid #111;border-radius:6px;background:#fff;box-shadow:0 3px 10px #0000002e}.chart-floating-dropdown{position:fixed;z-index:1000}.chart-right-actions .chart-dropdown,.chart-comparison-tools .chart-dropdown{right:0;left:auto}.chart-dropdown input[type=text],.chart-dropdown input:not([type]){min-width:0;height:23px;padding:0 6px;border:1px solid #8b8b8b;border-radius:5px;font-size:11px;font-weight:700}.chart-checkbox-row{display:flex;align-items:center;gap:6px;color:#111;font-size:11px;font-weight:800;white-space:nowrap}.chart-checkbox-row input{width:13px;height:13px;margin:0}.chart-label-editor,.chart-comparison-picker{grid-template-columns:minmax(0,1fr) auto}.chart-dropdown button{display:inline-flex;align-items:center;justify-content:center;width:24px;min-width:24px;height:23px;min-height:23px;padding:0;border-radius:5px}.chart-comparison-options{display:grid;grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.chart-comparison-options button{width:auto;min-width:0;height:22px;padding:0 6px;font-size:10px;font-weight:800}.chart-comparison-options button.active{color:#fff;background:#111}.chart-comparison-empty{grid-column:1 / -1;color:#777;font-size:10px;font-weight:800;text-align:center}.chart-preview-button.active{color:#fff;background:#111}.chart-apply-preview-button:not(:disabled):hover{border-color:#8a1f1f;color:#fff;background:#8a1f1f}.chart-preview-button.pulse:not(:disabled){animation:chart-preview-pulse 1.1s ease-out 1}@keyframes chart-preview-pulse{0%{box-shadow:0 0 #11111173}50%{box-shadow:0 0 0 5px #11111129}to{box-shadow:0 0 #1110}}.chart-body{display:grid;grid-template-columns:34px minmax(0,1fr);min-width:0;min-height:0;padding:4px 8px 4px 0}.chart-drawing-rail{z-index:5;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;min-height:0;padding:4px;overflow:visible;border-right:1px solid #d2d2d2;background:#fff;scrollbar-width:none}.chart-tool-slot{position:relative;flex:0 0 auto;width:24px;height:22px}.chart-tool-slot>button{position:relative;z-index:1}.chart-trend-extension-menu{position:absolute;top:0;left:calc(100% + 6px);z-index:30;display:flex;gap:4px;padding:2px;border:1px solid #111;border-radius:6px;background:#fffffffa;box-shadow:0 2px 7px #00000029}.chart-drawing-rail::-webkit-scrollbar{display:none}.chart-canvas-wrap{min-width:0;min-height:0;overflow:hidden}.chart-panel canvas{display:block;width:100%;height:100%;touch-action:none}.system-area{z-index:2;position:relative;display:grid;grid-template-rows:minmax(0,1fr);grid-column:5;grid-row:1 / span 5;margin:4px;overflow:hidden;border:1px solid #111;border-radius:8px;background:#f9f9f9}.system-panel-close{position:absolute;top:8px;right:8px;z-index:4;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;border:0;border-radius:0;background:transparent}.system-panel-close:hover{background:transparent}.system-orb-rail{display:grid;grid-column:5;grid-template-columns:repeat(7,1fr);align-items:center;justify-items:center;gap:0;min-width:0;margin:0 4px;padding:0;border:0;background:transparent}.system-orb{width:min(42px,100%);aspect-ratio:1;min-width:0;min-height:0;border-radius:999px}.system-orb.selected{outline:2px solid #111;outline-offset:2px}.system-orb.spacer{border:0;background:transparent;pointer-events:none}.system-orb img{width:92%;height:92%;pointer-events:none}.boundary-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;pointer-events:none}.boundary-guide{position:absolute;min-width:0;min-height:0;padding:0;border:0;background:transparent;pointer-events:auto;touch-action:none}.boundary-guide:hover{background:transparent}.boundary-guide span{display:block;border-radius:999px;background:#11111142;opacity:0;transition:opacity .12s ease}.boundary-guide:hover span,.boundary-guide:active span{opacity:1}.boundary-guide.vertical{width:18px;transform:translate(-50%);cursor:col-resize}.boundary-guide.vertical span{width:5px;height:100%;margin:0 auto}.boundary-guide.horizontal{height:18px;transform:translateY(-50%);cursor:row-resize}.boundary-guide.horizontal span{width:100%;height:5px;margin:auto 0}.system-mode-content{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;overflow:hidden}.agent-mode-content{grid-template-rows:auto minmax(0,1fr);padding-bottom:0}.settings-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0}.settings-tabs{display:grid;grid-template-columns:repeat(4,1fr);align-items:center;gap:5px;height:var(--panel-header-height);min-height:var(--panel-header-height);padding:6px 42px 6px 8px;overflow:hidden;border-bottom:1px solid #111;background:#fff}.settings-tabs button{min-height:28px;padding:0 6px;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.settings-tabs button.active,.menu-settings-list button:hover{background:#111;color:#fff}.system-mode-header{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0;height:var(--panel-header-height);min-height:var(--panel-header-height);padding:6px 42px 6px 8px;overflow:hidden;border-bottom:1px solid #111;background:#fff;line-height:1.1}.system-mode-header strong,.system-mode-header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.system-mode-header strong{font-size:13px}.system-mode-header span{color:#555;font-size:11px}.watchlist-list,.layout-settings,.panel-catalog-list,.agent-settings-list,.menu-settings-list{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;overflow:auto;padding:10px}.watchlist-row,.layout-record-row,.panel-catalog-item,.agent-settings-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:7px;border:1px solid #111;border-radius:6px;background:#fff}.watchlist-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(64px,max-content);align-items:center;column-gap:10px;width:100%;min-height:44px;padding:7px;text-align:left}.watchlist-empty{color:#777;font-size:11px;font-weight:800;text-align:center}.panel-catalog-item{flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-height:50px;cursor:grab;text-align:left}.panel-catalog-item:active{cursor:grabbing}.panel-catalog-item strong,.panel-catalog-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-catalog-item strong{font-size:12px}.panel-catalog-item span{color:#555;font-size:10px}.watchlist-row.active{background:#f1f1f1;color:#111;box-shadow:inset 0 0 0 1px #111}.watchlist-symbol-cell,.watchlist-quote-cell{display:grid;min-width:0}.watchlist-symbol-cell{max-width:100%}.watchlist-quote-cell{justify-items:end;min-width:64px;white-space:nowrap}.watchlist-symbol-cell strong,.watchlist-symbol-cell em,.watchlist-quote-cell strong,.watchlist-quote-cell em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.watchlist-symbol-cell strong,.watchlist-quote-cell strong{font-size:12px;font-style:normal}.watchlist-symbol-cell em,.watchlist-quote-cell em{font-size:10px;font-style:normal}.watchlist-symbol-cell em{color:#555}.watchlist-quote-cell em{color:#111;font-weight:700}.watchlist-change-empty{color:#777}.order-ticket{display:grid;align-content:start;gap:8px;width:100%;height:100%;min-width:0;min-height:0;padding:8px;overflow:auto;background:transparent}.order-ticket-header,.order-status-box>div,.order-event-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}.order-ticket-header strong,.order-ticket-header span,.order-status-box strong,.order-status-box span,.order-event-row strong,.order-event-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-ticket-header strong{font-size:12px}.order-ticket-header span,.order-status-box span,.order-event-row span{color:#555;font-size:10px;font-weight:800}.order-side-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.order-side-control button,.order-submit-button{min-width:0;height:30px;min-height:30px;padding:0 8px;font-size:11px;font-weight:800}.order-side-control button.active,.order-submit-button:not(:disabled){color:#fff;background:#111}.order-submit-button .spin{animation:agent-chat-spin .9s linear infinite}.order-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}.order-field-grid label{display:grid;gap:3px;min-width:0}.order-field-grid label:first-child,.order-field-grid label:last-child{grid-column:1 / -1}.order-field-grid span{color:#555;font-size:10px;font-weight:800}.order-field-grid input,.order-field-grid select{width:100%;min-width:0;height:30px;min-height:30px;padding:0 7px;font-size:11px;font-weight:800}.order-status-box,.order-event-list{display:grid;gap:5px;min-width:0;padding-top:6px;border-top:1px solid #d2d2d2}.order-status-box strong,.order-event-row strong{font-size:10px}.order-error{min-width:0;overflow:hidden;color:#8a1f1f;font-size:10px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.spin{animation:order-spin .9s linear infinite}@keyframes order-spin{to{transform:rotate(360deg)}}.panel-watchlist-star.active{color:#111}.settings-section-title{margin-top:4px;color:#555;font-size:11px;font-weight:800;text-transform:uppercase}.layout-record-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto auto;padding:6px}.layout-record-name,.saved-layout-name-button{justify-content:flex-start;min-width:0;overflow:hidden;padding:0 8px;text-overflow:ellipsis;white-space:nowrap}.add-layout-button,.menu-settings-list button{justify-content:flex-start;width:100%;padding:0 10px}.agent-settings-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;padding:7px}.agent-settings-summary{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;justify-content:flex-start;gap:8px;width:100%;min-width:0;padding:0;border:0;background:transparent;text-align:left}.agent-settings-summary:hover{background:transparent;color:inherit}.agent-settings-summary img{width:28px;height:28px;object-fit:contain}.agent-settings-name{min-width:0;overflow:hidden;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.agent-settings-row.editing{background:#f7f7f7}.agent-settings-editor{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-width:0}.agent-icon-edit-button{width:32px;min-width:32px;height:32px;min-height:32px;padding:2px;border:1px solid #111;border-radius:5px;background:#fff}.agent-icon-edit-button img{width:100%;height:100%;object-fit:contain}.agent-name-input{width:100%;min-width:0;height:28px;padding:0 7px;border:1px solid #111;border-radius:5px;background:#fff;font-size:12px;font-weight:800}.agent-delete-button{min-height:28px;padding:0 8px;font-size:11px}.agent-description-input{grid-column:1 / -1;width:100%;min-height:58px;padding:7px;border:1px solid #111;border-radius:5px;background:#fff;font-size:11px;line-height:1.35;resize:vertical}.empty-layout-note{color:#555;font-size:13px}.agent-chat-panel{display:grid;grid-template-rows:minmax(0,1fr) minmax(104px,calc(var(--bento-row-height, 124px) - 8px));min-width:0;min-height:0;padding:0;overflow:hidden;background:transparent}.agent-chat-messages{display:flex;flex-direction:column;gap:7px;min-width:0;min-height:0;overflow:auto;padding:10px 8px 8px}.agent-chat-messages.empty{align-items:center;justify-content:center}.agent-chat-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:min(100%,220px);min-width:0;padding:14px;color:#333;text-align:center}.agent-chat-empty-state img{width:64px;height:64px;object-fit:contain}.agent-chat-empty-state strong,.agent-chat-empty-state span,.agent-chat-empty-state small{max-width:100%;overflow:hidden;text-overflow:ellipsis}.agent-chat-empty-state strong{font-size:13px}.agent-chat-empty-state span,.agent-chat-empty-state small{display:-webkit-box;color:#555;font-size:11px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:3}.agent-chat-empty-state small{color:#8a1f1f;-webkit-line-clamp:4}.agent-auth-button{width:auto;min-width:0;min-height:30px;height:30px;padding:0 10px;background:#111;color:#fff;font-size:11px;font-weight:800}.agent-chat-message{min-width:0;max-width:92%;padding:7px 8px;border:1px solid #111;border-radius:7px;background:#fff;color:#111;font-size:12px;line-height:1.35;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.agent-chat-message.user{align-self:flex-end;background:#111;color:#fff}.agent-chat-message.system{align-self:center;max-width:100%;border-color:#777;color:#444;background:#ececec;font-size:11px}.agent-chat-composer{display:grid;grid-template-rows:var(--panel-header-height) minmax(0,1fr);min-width:0;min-height:0;border-top:1px solid #111;background:#fff}.agent-chat-reference{display:grid;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:8px;min-width:0;height:var(--panel-header-height);min-height:var(--panel-header-height);padding:6px 8px;overflow:hidden;border-bottom:1px solid #111;font-size:11px;line-height:1.1}.agent-chat-reference-list{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden}.agent-chat-reference-token{display:inline-flex;align-items:center;max-width:100%;height:20px;min-width:0;padding:0 7px;overflow:hidden;border:1px solid #111;border-radius:5px;background:#fff;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.agent-chat-signal{justify-self:center;width:13px;height:13px;border:1.5px solid #111;border-radius:999px}.agent-chat-signal.error{background:transparent}.agent-chat-signal.waiting{background:#111}.agent-chat-signal.thinking{background:#111;animation:agent-chat-signal-pulse .9s ease-in-out infinite}.agent-chat-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;min-width:0;min-height:0;padding:8px;background:#fff}.agent-chat-input-row textarea{min-width:0;width:100%;height:100%;min-height:0;padding:7px;resize:none;font-size:12px}.agent-chat-input-row button{align-self:stretch;width:34px;min-width:34px;height:100%;min-height:0;padding:0}.agent-chat-input-row .lucide-loader-circle{animation:agent-chat-spin .9s linear infinite}@keyframes agent-chat-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes agent-chat-signal-pulse{0%,to{opacity:.28;transform:scale(.82)}50%{opacity:1;transform:scale(1.12)}}.app-error-boundary{min-height:100vh;display:grid;place-items:center;padding:24px;background:#a7a7a7;color:#111}.app-error-panel{width:min(520px,100%);border:1px solid #111111;border-radius:8px;background:#fff;padding:20px;box-shadow:0 12px 40px #00000024}.app-error-kicker{margin:0 0 8px;font-size:11px;font-weight:700;text-transform:uppercase}.app-error-panel h1{margin:0 0 10px;font-size:20px}.app-error-panel p{margin:0 0 12px;line-height:1.5}.app-error-panel pre{max-height:160px;overflow:auto;margin:0 0 14px;padding:10px;border:1px solid #d8d8d8;border-radius:6px;background:#f4f4f4;white-space:pre-wrap;word-break:break-word}.app-error-panel button{border:1px solid #111111;border-radius:6px;background:#111;color:#fff;padding:8px 14px;font-weight:700;cursor:pointer}@media(max-width:1100px){.app-shell{grid-template-rows:auto 12px minmax(620px,1fr)}.top-app-bar{grid-template-columns:1fr;height:auto}.brand-search,.top-right-controls,.favorite-layout-strip,.headline-alert-strip,.system-orb-rail{grid-column:1 / -1}.top-right-controls{padding-left:0}.favorite-layout-strip{justify-content:start}.layout-frame{--bento-row-height: 124px ;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.15fr) minmax(0,1.05fr);height:620px;min-height:620px}.system-area{margin:6px}}
