:root{--app-viewport-height: 100vh;--chrome-scale: .75;--topbar-height: 37px;--status-height: 28px;--side-width: 43px;--dense-font: 11px;--control-font: 15px;--theme-transition: .22s ease;color:#d1d4dc;background:#131722;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@supports (height: 100dvh){:root{--app-viewport-height: 100dvh}}*{box-sizing:border-box}html,body{width:100%;height:var(--app-viewport-height);min-height:var(--app-viewport-height);overflow:hidden}body{min-width:320px;margin:0;background:#131722}#root{width:100%;height:var(--app-viewport-height);overflow:hidden}button,input,select{font:inherit}input[type=number]{appearance:textfield;-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{margin:0;appearance:none;-webkit-appearance:none}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38}.terminal{display:grid;grid-template-columns:var(--side-width) minmax(0,1fr);grid-template-rows:var(--topbar-height) minmax(0,1fr) var(--status-height);width:100vw;height:var(--app-viewport-height);max-height:var(--app-viewport-height);overflow:hidden;color:#d1d4dc;background:#131722;transition:color var(--theme-transition),background-color var(--theme-transition)}.terminal.drawingbar-collapsed{grid-template-columns:0 minmax(0,1fr)}.terminal.drawingbar-collapsed .chart-stage,.terminal.drawingbar-collapsed .statusbar{grid-column:1 / -1}.topbar,.drawingbar,.statusbar,.chart-stage,#kline-chart,.menu-button,.symbol,.symbol-trigger,.symbol-exchange,.symbol-plus,.timeframes,.timeframes button,.action-button,.compact-action,.tool-button,.status-icon,.timezone-button,.range-shortcuts button,.chart-type-menu,.chart-type-item,.dropdown-menu,.drawing-menu,.drawing-menu-item,.drawing-actionbar,.drawing-popover,.drawing-action,.drawing-menu-row,.price-scale-menu,.price-scale-menu-item,.modal,.modal select,.search-input,.indicator-params-input,.indicator-param-input,.indicator-choice,.exchange-tab,.ticker-row,.indicator-row,.secondary-button,.row-actions button,.indicator-param-control button,.indicator-add-param,.chart-indicator-chip,.history-loader,.chart-notice{transition:color var(--theme-transition),background-color var(--theme-transition),border-color var(--theme-transition),box-shadow var(--theme-transition),opacity var(--theme-transition)}.topbar{position:relative;z-index:20;display:flex;grid-column:1 / -1;align-items:stretch;min-width:0;min-height:var(--topbar-height);overflow:visible;overscroll-behavior-x:contain;scrollbar-width:none;border-bottom:1px solid #2a2e39;background:#0f0f0f}.topbar::-webkit-scrollbar{display:none}.icon-button,.menu-button,.action-button,.timeframes button,.tool-button,.symbol-plus,.status-icon,.timezone-button{display:inline-flex;align-items:center;justify-content:center;color:#d1d4dc;background:transparent}.icon-button svg,.action-button svg,.tool-button svg,.status-icon svg,.symbol-plus svg{flex:0 0 auto}.menu-button{width:var(--side-width);min-width:var(--side-width);min-height:var(--topbar-height);color:#cfd3dc;border-right:1px solid #2a2e39}.symbol{display:flex;flex:0 1 150px;align-items:center;min-width:0;padding:0 7px;border-right:1px solid #2a2e39}.symbol-trigger{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:1 1 auto;min-width:0;max-width:136px;height:26px;padding:0 9px;overflow:hidden;border-radius:14px;color:#d1d4dc;background:#3a3a3a;font-size:13px;font-weight:700;line-height:1;letter-spacing:0;outline:0;text-overflow:ellipsis;white-space:nowrap}.symbol-name{min-width:0;overflow:hidden;text-overflow:ellipsis}.symbol-exchange{flex:0 0 auto;color:#9598a1;font-size:9px;font-weight:600}.symbol-plus{width:23px;height:23px;border:1px solid #d1d4dc;border-radius:50%;color:#d1d4dc}.timeframes{display:flex;align-items:center;min-width:0;gap:2px;padding:0 8px;overflow:visible;overscroll-behavior-x:contain;scrollbar-width:none;border-right:1px solid #2a2e39}.timeframes::-webkit-scrollbar,.top-actions::-webkit-scrollbar{display:none}.timeframes button{flex:0 0 auto;min-width:29px;height:28px;border-radius:6px;color:#d1d4dc;font-size:13px;font-weight:500;letter-spacing:0}.timeframe-dropdown{position:relative;flex:0 0 auto}.timeframes .timeframe-more{display:grid;place-items:center;min-width:28px;padding:0}.timeframe-menu{position:absolute;z-index:9;top:calc(100% + 6px);right:0;display:grid;min-width:66px;padding:6px 0;border:1px solid rgba(54,58,69,.78);border-radius:5px;background:#1f1f1f;box-shadow:0 18px 42px #00000073}.timeframes .timeframe-menu-item{justify-content:flex-start;width:100%;min-width:0;height:30px;padding:0 14px;border-radius:0;text-align:left}.timeframes button.active,.indicator-choice.selected,.ticker-row.selected{color:#fff;background:#4a4a4a}.top-actions{display:flex;flex:1 0 auto;align-items:stretch;min-width:0}.action-button{flex:0 0 auto;gap:6px;min-height:var(--topbar-height);padding:0 11px;border-right:1px solid #2a2e39;color:#d1d4dc;white-space:nowrap;font-size:var(--control-font);font-weight:450}.theme-toggle{gap:6px;padding:0 9px}.theme-toggle-track{--theme-toggle-inset: 3px;--theme-toggle-thumb-size: 17px;--theme-toggle-travel: 20px;position:relative;display:inline-grid;grid-template-columns:1fr 1fr;align-items:center;width:43px;height:23px;border:1px solid #363a45;border-radius:999px;background:#161a24}.theme-toggle-icon{position:relative;z-index:1;display:grid;place-items:center;color:#787b86}.theme-toggle-thumb{position:absolute;top:50%;left:var(--theme-toggle-inset);width:var(--theme-toggle-thumb-size);height:var(--theme-toggle-thumb-size);border-radius:50%;background:#d1d4dc;box-shadow:0 1px 4px #00000061;transform:translateY(-50%);transition:transform .18s ease,background-color var(--theme-transition),box-shadow var(--theme-transition)}.theme-dark .theme-toggle-thumb{transform:translate(var(--theme-toggle-travel),-50%);background:#2a2e39}.theme-dark .theme-toggle-moon{color:#fff}.theme-light .theme-toggle-sun{color:#131722}.theme-toggle-label{min-width:30px;text-align:left}.theme-light .theme-toggle-track{border-color:#d5d9e2;background:#eef1f6}.theme-light .theme-toggle-thumb{background:#fff;box-shadow:0 1px 4px #13172233}.chart-type-dropdown{position:relative;flex:0 0 auto}.chart-type-trigger{cursor:pointer}.chart-type-menu{position:fixed;z-index:9;display:grid;width:238px;padding:7px 0;border:1px solid rgba(54,58,69,.78);border-radius:5px;color:#d1d4dc;background:#1f1f1f;box-shadow:0 18px 42px #00000073}.chart-type-item{display:grid;grid-template-columns:35px minmax(0,1fr);align-items:center;min-height:39px;padding:0 13px;color:#d1d4dc;background:transparent;text-align:left;font-size:13px;letter-spacing:0}.chart-type-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-type-item:hover,.chart-type-item.active{color:#fff;background:#2f2f2f}.compact-action{width:38px;min-width:38px;min-height:var(--topbar-height);color:#787b86}.top-spacer{flex:1;min-width:12px}.dropdown{position:relative}.dropdown summary{list-style:none}.dropdown summary::-webkit-details-marker{display:none}.dropdown-menu{position:absolute;z-index:4;top:var(--topbar-height);left:0;width:201px;padding:8px;border:1px solid #363a45;border-radius:5px;background:#1e222d;box-shadow:0 14px 36px #00000061}.indicator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.indicator-grid button{min-height:27px;border-radius:3px;color:#d1d4dc;background:#2a2e39}.drawingbar{position:relative;z-index:6;display:flex;flex-direction:column;align-items:center;gap:5px;grid-row:2 / -1;padding:8px 0;border-right:1px solid #2a2e39;background:#0f0f0f}.tool-button{position:relative;width:35px;height:32px;min-width:35px;min-height:30px;border-radius:6px;color:#d1d4dc}.drawingbar-icon{display:block;flex:0 0 auto;color:currentColor}.drawingbar-icon svg{display:block;width:100%;height:100%}.drawingbar-icon svg [fill]:not([fill=none]){fill:currentColor}.drawingbar-icon svg [stroke]:not([stroke=none]){stroke:currentColor}.drawing-tool-group{position:relative}.tool-button.grouped{overflow:hidden}.drawing-tool-main{z-index:1}.tool-group-arrow{position:absolute;z-index:2;top:50%;right:-14px;display:grid;width:17px;height:24px;place-items:center;border-radius:4px;color:#787b86;background:#2a2a2a;opacity:0;pointer-events:auto;transform:translateY(-50%);transition:opacity .12s ease,color .12s ease,background .12s ease}.tool-group-arrow .drawingbar-icon{transition:transform .12s ease}.drawing-tool-group:hover .tool-group-arrow,.drawing-tool-group:focus-within .tool-group-arrow,.drawing-tool-group.open .tool-group-arrow{opacity:1}.drawing-tool-group.open .tool-group-arrow .drawingbar-icon{transform:rotate(180deg)}.tool-group-arrow:hover{color:#d1d4dc;background:#363636}.tool-group-arrow:disabled{cursor:not-allowed;opacity:0}.drawing-menu{position:absolute;z-index:8;top:0;left:calc(100% + 13px);display:grid;width:245px;max-height:min(580px,calc(100vh - 92px));padding:10px 0;overflow-y:auto;border:1px solid #363a45;border-radius:5px;color:#d1d4dc;background:#1f1f1f;box-shadow:0 18px 44px #0000006b}.drawing-menu p{margin:0;padding:0 16px 8px;color:#9598a1;font-size:11px;font-weight:600;letter-spacing:0;text-transform:uppercase}.drawing-menu-item{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:39px;padding:0 16px;color:#d1d4dc;background:transparent;text-align:left;font-size:13px;font-weight:450;letter-spacing:0}.drawing-menu-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shortcut-combo{display:inline-flex;align-items:center;gap:3px;min-width:0;padding:0;border:0;color:#9ca3af;background:transparent;font-family:inherit;font-size:11px;line-height:1.35;text-align:center}.shortcut-part{display:inline-flex;align-items:center;gap:3px}.shortcut-key{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:1px solid #3b404c;border-bottom-width:2px;border-radius:5px;color:#d1d4dc;background:#111;font-size:11px;line-height:1}.shortcut-plus{color:#9ca3af;font-size:12px;line-height:1}.drawing-menu-item:hover,.drawing-menu-item.active{color:#fff;background:#2a2e39}.drawing-menu-item:disabled{cursor:not-allowed;opacity:.4}.tool-button:hover,.action-button:hover,.icon-button:hover,.symbol-plus:hover,.timeframes button:hover,.status-icon:hover,.timezone-button:hover,.range-shortcuts button:hover{background:#2a2e39}.range-shortcuts button.active{color:#fff;background:#00559d;box-shadow:inset 0 0 0 1px #90caf9}.tool-button.active{color:#fff;background:#3b3b3b}.tool-button.danger:hover{color:#f23645;background:#f236451f}.tool-separator{width:29px;height:1px;margin:3px 0;background:#363a45}.up{color:#089981!important}.down{color:#f23645!important}.chart-stage{position:relative;grid-column:2;grid-row:2;min-width:0;min-height:0;background:#131722}#kline-chart{width:100%;height:100%;background:#131722;transition:background-color var(--theme-transition),filter .16s ease,opacity .16s ease}.chart-stage.timeframe-pending #kline-chart{filter:blur(2px);opacity:.7}.chart-stage.timeframe-pending:after{position:absolute;z-index:5;top:9px;left:50%;padding:5px 9px;border:1px solid #363a45;border-radius:3px;color:#d1d4dc;background:#1e222de0;box-shadow:0 6px 15px #00000038;content:"Updating timeframe...";font-size:9px;font-weight:700;pointer-events:none;transform:translate(-50%)}.price-scale-menu{position:fixed;z-index:12;display:grid;width:235px;padding:7px 0;border:1px solid rgba(54,58,69,.72);border-radius:8px;color:#d1d4dc;background:#1f1f1f;box-shadow:0 18px 42px #00000073,0 0 0 1px #0000001f}.price-scale-menu-item{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;min-height:43px;padding:0 15px 0 8px;color:#d1d4dc;background:transparent;text-align:left;font-size:13px;letter-spacing:0}.price-scale-menu-item:hover{color:#fff;background:#2f2f2f}.price-scale-menu-check{display:grid;place-items:center;width:22px;height:22px;color:#d1d4dc}.price-scale-menu-separator{height:1px;margin:6px 0;background:#3a3a3a}.chart-notice{position:absolute;z-index:4;top:9px;left:10px;padding:5px 8px;border:1px solid #363a45;border-radius:3px;color:#b2b5be;background:#131722c7;font-size:10px;pointer-events:none}.chart-notice.error{color:#f23645}.drawing-actionbar{position:absolute;z-index:7;display:flex;align-items:center;gap:1px;max-width:calc(100% - 14px);min-height:38px;padding:3px 6px;border:1px solid rgba(42,46,57,.72);border-radius:6px;color:#d1d4dc;background:#1f1f1ff5;box-shadow:0 10px 24px #00000057;transform:translate(-50%)}.drawing-actionbar-grip{display:grid;place-items:center;width:20px;height:30px;color:#6f737d;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.drawing-actionbar-grip:active{cursor:grabbing}.drawing-actionbar-item{position:relative;display:grid;place-items:center}.color-swatches{display:grid;grid-template-columns:repeat(5,16px);gap:4px;padding:3px 7px;border-left:1px solid #363a45;border-right:1px solid #363a45}.color-swatch{width:16px;height:16px;border:1px solid rgba(255,255,255,.18);border-radius:3px}.color-swatch.active{outline:2px solid #ffffff;outline-offset:2px}.drawing-popover{position:absolute;z-index:9;top:calc(100% + 7px);left:0;border:1px solid #363a45;border-radius:6px;color:#d1d4dc;background:#1f1f1f;box-shadow:0 16px 38px #0000006b}.color-popover{width:max-content}.shared-color-picker{display:grid;gap:10px;width:min(295px,calc(100vw - 56px));padding:12px}.shared-color-grid{display:grid;grid-template-columns:repeat(10,20px);gap:5px}.shared-color-grid .color-swatch{width:20px;height:20px;border:0;border-radius:4px}.shared-color-grid .color-swatch.active{outline:2px solid #e5e7eb;outline-offset:2px}.shared-color-divider{height:1px;background:#4a4a4a}.shared-color-custom{display:grid;place-items:center;justify-self:start;width:22px;height:22px;color:#d1d4dc;background:transparent}.shared-opacity-control{display:grid;gap:7px;color:#9598a1;font-size:12px;font-weight:700}.shared-opacity-row{display:grid;grid-template-columns:minmax(0,1fr) 64px;align-items:center;gap:10px}.shared-opacity-row input{width:100%}.shared-opacity-row output{display:grid;place-items:center;min-height:30px;border:1px solid #4b5563;border-radius:6px;color:#d1d4dc;background:#22242c;font-size:13px;font-weight:500}.drawing-action{position:relative;display:grid;place-items:center;width:30px;height:32px;border-radius:4px;color:#d1d4dc;background:transparent}.drawing-action:hover,.drawing-action.active{color:#fff;background:#2a2e39}.drawing-action.danger:hover{color:#f23645;background:#f236451f}.text-color-action{font-weight:800}.text-color-glyph{display:grid;place-items:center;font-size:17px;line-height:1}.border-color-glyph{display:block;width:17px;height:17px;border:2px solid currentColor;border-radius:4px;background:linear-gradient(currentColor,currentColor) left 3px top 3px / 4px 2px no-repeat,linear-gradient(currentColor,currentColor) left 3px top 3px / 2px 4px no-repeat,transparent;box-shadow:inset 0 0 0 1px #ffffff24}.inline-text-editor{position:absolute;z-index:13;min-width:92px;max-width:min(320px,calc(100% - 16px));height:auto;padding:3px 7px;border:1px solid rgba(41,98,255,.95);border-radius:4px;color:#fff;background:#2962ff;line-height:1.25;box-shadow:0 10px 24px #00000047}.inline-text-editor:focus{outline:2px solid rgba(41,98,255,.32);outline-offset:2px}.drawing-action-underline{position:absolute;right:7px;bottom:4px;left:7px;height:3px;border-radius:999px}.border-color-underline{right:8px;bottom:3px;left:8px}.line-button{grid-template-columns:28px auto;width:auto;min-width:70px;padding:0 9px;gap:6px;font-size:13px}.line-preview{display:block;width:28px;min-height:1px;border-radius:999px;background:currentColor}.line-width-value{color:#d1d4dc}.line-popover{display:grid;min-width:96px;padding:7px 0}.text-popover{display:grid;gap:12px;width:min(270px,calc(100vw - 28px));padding:12px}.drawing-text-field,.drawing-text-section{display:grid;gap:7px;color:#9598a1;font-size:11px;font-weight:700}.drawing-text-input{width:100%;height:32px;padding:0 10px;border:1px solid #4b5563;border-radius:5px;color:#d1d4dc;background:#22242c;font-size:13px}.drawing-text-input:focus{border-color:#2962ff;outline:none;box-shadow:0 0 0 2px #2962ff38}.drawing-text-size-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.drawing-text-size{display:grid;place-items:center;min-width:0;height:28px;border:1px solid #363a45;border-radius:4px;color:#d1d4dc;background:transparent;font-size:12px}.drawing-text-size:hover,.drawing-text-size.active{border-color:#2962ffb8;color:#fff;background:#2a2e39}.drawing-text-font-list{display:grid;margin:0 -12px -6px}.text-font-row{grid-template-columns:34px 1fr}.drawing-menu-row{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:10px;min-height:32px;padding:0 16px;color:#d1d4dc;background:transparent;text-align:left;font-size:13px}.drawing-menu-row:hover,.drawing-menu-row.active{color:#fff;background:#2a2e39}.history-loader{position:absolute;z-index:4;top:9px;padding:5px 8px;border:1px solid #363a45;border-radius:3px;color:#d1d4dc;background:#1e222deb;box-shadow:0 6px 15px #00000038;font-size:9px;font-weight:700}.history-loader.left{left:11px}.history-loader.right{right:11px}.chart-indicator-controls{position:absolute;z-index:3;inset:0;pointer-events:none}.chart-indicator-chip{position:absolute;left:8px;display:inline-flex;align-items:center;gap:1px;height:18px;padding:0 2px 0 4px;border:1px solid transparent;border-radius:3px;color:#d1d4dc;background:#13172270;pointer-events:auto}.chart-indicator-chip:hover{border-color:#363a45b8;background:#131722d1}.chart-indicator-chip.muted{opacity:.55}.chart-indicator-chip span{font-size:9px;font-weight:500;letter-spacing:0;line-height:1}.chart-indicator-chip button{display:grid;place-items:center;flex:0 0 16px;width:16px;height:16px;min-width:16px;padding:0;border:0;border-radius:3px;appearance:none;color:#9598a1;background:transparent;line-height:0}.chart-indicator-chip button:hover{color:#fff;background:#2a2e39}.statusbar{display:flex;grid-column:2;grid-row:3;align-items:center;justify-content:space-between;min-width:0;border-top:1px solid #2a2e39;background:#0f0f0f}.range-shortcuts{display:flex;align-items:center;min-width:0;overflow-x:auto;padding-left:8px}.range-shortcuts button{height:23px;min-width:30px;padding:0 5px;border-radius:3px;color:#d1d4dc;background:transparent;font-size:12px;font-weight:500}.status-actions{display:flex;align-items:center;gap:2px;padding:0 9px;color:#d1d4dc;font-size:12px;white-space:nowrap}.status-clock{min-width:46px;color:#b2b5be;font-variant-numeric:tabular-nums;text-align:right}.timezone-button{gap:2px;height:24px;padding:0 5px;border-radius:4px;color:#b2b5be;font-size:12px;font-weight:500}.status-icon{width:23px;height:23px;border-radius:4px}.modal-backdrop{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;overflow:auto;padding:12px;background:#0000007a}.modal{display:grid;width:min(330px,calc(100vw - 24px));max-height:min(570px,calc(100vh - 24px));gap:10px;padding:14px;border:1px solid #363a45;border-radius:6px;color:#d1d4dc;background:#1e222d;box-shadow:0 18px 53px #0000006b}.ticker-modal{width:min(560px,calc(100vw - 24px));max-height:min(610px,calc(100vh - 24px));gap:9px;padding:14px;overflow:hidden}.indicator-settings-modal{width:min(590px,calc(100vw - 27px));max-height:min(760px,calc(100vh - 24px));gap:15px;padding:16px;overflow:visible}.indicator-select-modal{width:min(510px,calc(100vw - 15px));max-height:min(615px,calc(100vh - 23px));gap:0;padding:0;overflow:hidden}.modal-header{display:flex;align-items:center;justify-content:space-between}.modal h2{margin:0;color:#d1d4dc;font-size:13px;font-weight:600;letter-spacing:0}.indicator-select-modal h2{font-size:17px}.modal h3{margin:0 0 9px;color:#9598a1;font-size:9px;font-weight:600;letter-spacing:0;text-transform:uppercase}.modal-kicker{margin:0 0 3px;color:#9598a1;font-size:9px;font-weight:600;letter-spacing:0;text-transform:uppercase}.modal label{display:grid;gap:6px;color:#b2b5be;font-size:11px;font-weight:600}.exchange-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.exchange-tab{min-height:30px;border:1px solid #363a45;border-radius:4px;color:#b2b5be;background:#131722;font-size:11px;font-weight:700}.exchange-tab.active{border-color:#2962ff;color:#fff;background:#2962ff}.exchange-tab:hover{border-color:#4c5261;background:#252a35}.exchange-tab.active:hover{border-color:#2962ff;background:#2962ff}.modal select,.search-input,.indicator-params-input,.indicator-param-input{width:100%;min-height:30px;padding:0 8px;border:1px solid #363a45;border-radius:4px;outline:0;color:#d1d4dc;background:#131722}.indicator-params-input,.indicator-param-input{min-height:32px;font-size:12px}.modal select:focus,.search-input:focus,.indicator-params-input:focus,.indicator-param-input:focus{border-color:#2962ff;box-shadow:0 0 0 1px #2962ff}.indicator-config-summary{display:grid;gap:4px;padding:10px;border:1px solid #363a45;border-radius:5px;background:#171b25}.indicator-config-summary strong{color:#d1d4dc;font-size:12px;font-weight:700}.indicator-config-summary span{color:#9598a1;font-size:10px;line-height:1.45}.indicator-param-list{display:grid;gap:10px;min-height:0;max-height:min(310px,calc(100vh - 265px));overflow-y:auto;padding-right:2px}.indicator-param-row{grid-template-columns:minmax(110px,1fr) minmax(140px,180px);align-items:center;gap:12px!important}.indicator-param-row span{min-width:0;color:#d1d4dc;font-size:12px;line-height:1.25}.indicator-param-control{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:6px}.indicator-param-control:has(button:disabled){grid-template-columns:minmax(0,1fr) 28px}.indicator-param-control button{display:grid;place-items:center;width:28px;height:36px;border-radius:4px;color:#b2b5be;background:#2a2e39}.indicator-param-control button:hover:not(:disabled){color:#f23645;background:#f2364524}.indicator-add-param{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:max-content;min-height:30px;padding:0 9px;border-radius:4px;color:#d1d4dc;background:#2a2e39;font-size:11px;font-weight:700}.indicator-add-param:hover{color:#fff;background:#363a45}.indicator-color-section{display:grid;gap:7px;padding:0}.indicator-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.indicator-color-section h3{margin-bottom:0}.indicator-color-list{display:grid;gap:6px}.indicator-color-row{grid-template-columns:minmax(110px,1fr) 40px;align-items:center;gap:12px!important;min-height:32px}.indicator-color-row>span{min-width:0;color:#d1d4dc;font-size:12px;line-height:1.25}.indicator-color-control{position:relative;display:grid;place-items:center;justify-self:end;min-width:40px}.indicator-color-trigger{display:grid;place-items:center;width:38px;height:36px;border-radius:4px;color:#d1d4dc;background:transparent}.indicator-color-trigger:hover,.indicator-color-trigger.active{background:#2a2e39}.indicator-color-swatch{width:20px;height:20px;border:1px solid rgba(255,255,255,.18);border-radius:4px}.indicator-color-popover{position:absolute;z-index:11;right:0;border:1px solid #363a45;border-radius:6px;color:#d1d4dc;background:#1f1f1f;box-shadow:0 16px 38px #0000006b}.indicator-color-popover.above{bottom:calc(100% + 7px)}.indicator-color-popover.below{top:calc(100% + 7px)}.indicator-color-popover .shared-color-picker{width:min(295px,calc(100vw - 54px))}.indicator-zone-list{display:grid;gap:6px}.indicator-zone-row,.indicator-threshold-row{display:grid;align-items:center;gap:6px}.indicator-zone-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 32px}.indicator-threshold-row{grid-template-columns:minmax(0,1fr) 40px 32px}.indicator-icon-action{display:grid;place-items:center;width:32px;height:36px;border-radius:4px;color:#b2b5be;background:#2a2e39}.indicator-icon-action:hover{color:#f23645;background:#f2364524}@media(max-width:620px){.indicator-settings-modal{width:calc(100vw - 18px);padding:14px}.indicator-param-row,.indicator-color-row,.indicator-zone-row,.indicator-threshold-row{grid-template-columns:1fr;justify-items:stretch}.indicator-color-control{justify-self:start}.indicator-zone-row,.indicator-threshold-row{grid-template-columns:minmax(0,1fr) 40px 32px}.indicator-zone-row .indicator-param-input:first-child,.indicator-threshold-row .indicator-param-input:first-child{grid-column:1 / -1}}.indicator-selection-list{display:grid;align-content:start;gap:4px;min-height:0;max-height:calc(min(615px,100vh - 23px) - 57px);padding:14px 17px 17px;overflow-y:auto;border-top:1px solid #363a45}.indicator-selection-group{display:grid;gap:0}.indicator-toggle{display:flex;align-items:center;width:100%;min-height:33px;gap:7px;padding:0;color:#d1d4dc;background:transparent;text-align:left;font-size:11px;line-height:1.25}.indicator-toggle:hover{color:#fff}.indicator-toggle.selected{color:#2962ff}.indicator-checkbox{display:grid;flex:0 0 auto;place-items:center;width:14px;height:14px;border:1px solid #787b86;border-radius:2px;color:#fff;background:transparent}.indicator-toggle.selected .indicator-checkbox{border-color:#2962ff;background:#2962ff}.indicator-list,.opened-indicators,.ticker-list{display:grid;align-content:start;gap:6px;min-height:0;max-height:390px;overflow-y:auto}.indicator-choice,.ticker-row,.indicator-row{display:flex;align-items:center;justify-content:space-between;min-height:30px;padding:0 9px;border:1px solid #363a45;border-radius:5px;color:#d1d4dc;background:#131722}.indicator-choice:hover,.ticker-row:hover{border-color:#4c5261;background:#252a35}.indicator-choice strong,.indicator-row span,.ticker-row span{color:#9598a1;font-size:10px}.indicator-row{cursor:default}.indicator-row>div:first-child{display:grid;gap:2px}.row-actions{display:flex;gap:3px}.row-actions button{display:grid;place-items:center;width:22px;height:22px;border-radius:3px;color:#b2b5be;background:#2a2e39}.row-actions button:hover{color:#fff;background:#363a45}.empty-state{margin:0;padding:14px;border:1px dashed #4c5261;border-radius:5px;color:#9598a1}.ticker-list{max-height:min(355px,calc(100vh - 235px));padding-right:2px}.ticker-row{position:relative;display:grid;grid-template-columns:34px minmax(0,1.45fr) minmax(104px,.75fr) 22px 16px;gap:9px;min-height:48px;padding:7px 9px;text-align:left}.ticker-row.selected{border-color:#2962ffd9;background:#2962ff1f;box-shadow:inset 3px 0 #2962ff}.ticker-assets{position:relative;display:block;width:32px;height:27px}.ticker-asset-logo,.ticker-exchange-logo{display:grid;place-items:center;overflow:hidden;border-radius:999px;color:#fff;background:#2a2e39;font-size:9px;font-weight:800}.ticker-asset-logo{position:absolute;width:23px;height:23px;border:2px solid #131722}.ticker-base-logo{left:0;top:0;z-index:2}.ticker-quote-logo{right:0;bottom:0}.ticker-asset-logo img,.ticker-exchange-logo img{width:100%;height:100%;object-fit:cover}.ticker-main,.ticker-tags{display:grid;min-width:0}.ticker-main{gap:2px}.ticker-main strong{min-width:0;overflow:hidden;color:#d1d4dc;font-size:14px;font-weight:650;letter-spacing:0;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.ticker-main span{min-width:0;overflow:hidden;color:#b2b5be;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.ticker-tags{justify-items:end;gap:3px;color:#9598a1}.ticker-tags span{max-width:100%;overflow:hidden;color:#9598a1;font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.ticker-tags span:last-child{color:#d1d4dc;font-weight:650}.ticker-exchange-logo{width:22px;height:22px;justify-self:end}.ticker-selected-icon{display:grid;place-items:center;width:16px;height:16px;align-self:center;justify-self:end;border-radius:999px;color:#fff;background:#2962ff}.ticker-search{position:relative;display:flex!important;align-items:center;gap:8px!important;min-height:34px;padding:0 9px;border:1px solid #363a45;border-radius:6px;color:#9598a1;background:#131722}.ticker-search .search-input{min-height:32px;padding:0;border:0;background:transparent;box-shadow:none}.ticker-search:focus-within{border-color:#2962ff;box-shadow:0 0 0 1px #2962ff}.ticker-search .search-input:focus{box-shadow:none}.ticker-search-spinner{flex:0 0 auto;animation:antigravity-spin 1.1s linear infinite}.ticker-list-meta{display:flex;align-items:center;justify-content:space-between;min-height:18px;gap:12px;color:#9598a1;font-size:10px;font-weight:650;text-transform:uppercase}.ticker-empty{display:grid;place-items:center;min-height:74px;border:1px dashed #4c5261;border-radius:6px;color:#9598a1;background:#13172270;font-size:12px}.ticker-load-more{min-height:32px;border:1px solid #363a45;border-radius:6px;color:#d1d4dc;background:#2a2e39;font-size:11px;font-weight:700}.ticker-load-more:hover:not(:disabled){color:#fff;background:#363a45}.ticker-load-more:disabled{cursor:default;opacity:.65}.modal-actions{display:flex;justify-content:flex-end;gap:6px}.primary-button,.secondary-button{min-height:29px;padding:0 11px;border-radius:4px;font-weight:700}.primary-button{color:#fff;background:#2962ff}.secondary-button{color:#d1d4dc;background:#2a2e39}.indicator-select-modal .modal-header{min-height:32px;padding:0 14px 0 17px}.indicator-select-modal .icon-button,.indicator-settings-modal .icon-button{color:#d1d4dc}.switch{display:flex!important;grid-template-columns:none;flex-direction:row;align-items:center}.switch input{width:14px;height:14px}.terminal.theme-light{color:#131722;background:#fff}.theme-light .topbar,.theme-light .drawingbar,.theme-light .statusbar{background:#f7f8fa}.theme-light .topbar,.theme-light .statusbar,.theme-light .menu-button,.theme-light .symbol,.theme-light .timeframes,.theme-light .action-button,.theme-light .drawingbar{border-color:#e0e3eb}.theme-light .icon-button,.theme-light .menu-button,.theme-light .action-button,.theme-light .timeframes button,.theme-light .chart-type-item,.theme-light .tool-button,.theme-light .drawing-menu-item,.theme-light .symbol-plus,.theme-light .status-icon,.theme-light .timezone-button,.theme-light .range-shortcuts button,.theme-light .indicator-toggle,.theme-light .indicator-choice,.theme-light .ticker-row,.theme-light .indicator-row,.theme-light .secondary-button,.theme-light .modal,.theme-light .modal h2,.theme-light .modal select,.theme-light .search-input,.theme-light .indicator-params-input,.theme-light .indicator-param-input{color:#131722}.theme-light .compact-action,.theme-light .modal h3,.theme-light .modal-kicker,.theme-light .modal label,.theme-light .indicator-choice strong,.theme-light .indicator-row span,.theme-light .ticker-row span,.theme-light .ticker-list-meta,.theme-light .ticker-tags,.theme-light .ticker-tags span,.theme-light .status-actions{color:#5d6675}.theme-light .chart-stage,.theme-light #kline-chart,.theme-light .modal select,.theme-light .search-input,.theme-light .ticker-search,.theme-light .indicator-params-input,.theme-light .indicator-param-input,.theme-light .indicator-choice,.theme-light .ticker-row,.theme-light .indicator-row{background:#fff}.theme-light .symbol-trigger,.theme-light .exchange-tab.active,.theme-light .timeframes button.active,.theme-light .range-shortcuts button.active,.theme-light .indicator-choice.selected,.theme-light .ticker-row.selected,.theme-light .tool-button.active{color:#111827;background:#e8ecf3}.theme-light .ticker-row.selected{border-color:#2962ffb3;background:#2962ff1a}.theme-light .symbol-exchange{color:#5d6675}.theme-light .exchange-tab{color:#5d6675;background:#fff}.theme-light .exchange-tab.active{color:#fff;background:#2962ff}.theme-light .symbol-plus,.theme-light .dropdown-menu,.theme-light .chart-type-menu,.chart-type-menu.theme-light,.theme-light .timeframe-menu,.theme-light .history-loader,.theme-light .modal,.theme-light .modal select,.theme-light .search-input,.theme-light .ticker-search,.theme-light .indicator-params-input,.theme-light .indicator-param-input,.theme-light .indicator-selection-list,.theme-light .indicator-choice,.theme-light .exchange-tab,.theme-light .ticker-row,.theme-light .indicator-row{border-color:#d5d9e2}.theme-light .dropdown-menu,.theme-light .chart-type-menu,.chart-type-menu.theme-light,.theme-light .drawing-actionbar,.theme-light .drawing-popover,.theme-light .drawing-menu,.theme-light .price-scale-menu,.theme-light .modal{background:#fff;box-shadow:0 18px 48px #0f172a29}.chart-type-menu.theme-light{color:#131722}.theme-light .indicator-config-summary{border-color:#d5d9e2;background:#f7f8fa}.theme-light .indicator-config-summary strong,.theme-light .indicator-param-row span,.theme-light .indicator-color-row>span{color:#131722}.theme-light .indicator-config-summary span{color:#5d6675}.theme-light .drawing-menu,.theme-light .drawing-popover{border-color:#d5d9e2}.theme-light .drawing-actionbar,.theme-light .chart-notice,.theme-light .chart-stage.timeframe-pending:after{color:#131722;border-color:#d5d9e2;background:#fff}.theme-light .drawing-actionbar strong{color:#131722}.theme-light .color-swatches{border-color:#d5d9e2}.theme-light .drawing-action{color:#131722}.theme-light .tool-group-arrow{color:#131722;background:#eef1f6;box-shadow:0 0 0 1px #d5d9e2e0}.theme-light .tool-group-arrow:hover{color:#111827;background:#e3e8f0}.theme-light .inline-text-editor{color:#fff;background:#2962ff}.theme-light .drawing-action:hover,.theme-light .drawing-action.active,.theme-light .drawing-menu-row:hover,.theme-light .drawing-menu-row.active{color:#111827;background:#eef1f6}.theme-light .line-width-value,.theme-light .drawing-menu-row,.theme-light .drawing-text-input,.theme-light .drawing-text-size,.theme-light .price-scale-menu-item,.theme-light .price-scale-menu-check{color:#131722}.theme-light .drawing-menu p,.theme-light .drawing-text-field,.theme-light .drawing-text-section{color:#5d6675}.theme-light .drawing-text-input{border-color:#d5d9e2;background:#fff}.theme-light .drawing-text-size{border-color:#d5d9e2}.theme-light .drawing-text-size:hover,.theme-light .drawing-text-size.active{color:#111827;background:#eef1f6}.theme-light .indicator-grid button,.theme-light .secondary-button,.theme-light .row-actions button,.theme-light .indicator-param-control button,.theme-light .indicator-icon-action,.theme-light .indicator-add-param,.theme-light .indicator-color-trigger:hover,.theme-light .indicator-color-trigger.active{color:#131722;background:#eef1f6}.theme-light .indicator-color-popover,.theme-light .shared-color-picker{border-color:#d5d9e2;background:#fff}.theme-light .shared-color-divider{background:#d5d9e2}.theme-light .shared-color-custom,.theme-light .shared-opacity-control,.theme-light .shared-opacity-row output{color:#131722}.theme-light .shared-opacity-row output{border-color:#d5d9e2;background:#f8fafc}.theme-light .shared-color-grid .color-swatch.active{outline-color:#2563eb}.theme-light .indicator-color-swatch,.theme-light .color-swatch{border-color:#0f172a24}.theme-light .indicator-icon-action:hover{color:#f23645;background:#f236451f}.theme-light .tool-button:hover,.theme-light .action-button:hover,.theme-light .chart-type-item:hover,.theme-light .chart-type-item.active,.theme-light .icon-button:hover,.theme-light .symbol-plus:hover,.theme-light .timeframes button:hover,.theme-light .timeframe-menu-item.active,.theme-light .status-icon:hover,.theme-light .timezone-button:hover,.theme-light .range-shortcuts button:hover,.theme-light .indicator-choice:hover,.theme-light .exchange-tab:hover,.theme-light .ticker-row:hover,.theme-light .drawing-menu-item:hover,.theme-light .drawing-menu-item.active,.theme-light .price-scale-menu-item:hover,.theme-light .row-actions button:hover{color:#111827;background:#eef1f6}.theme-light .ticker-asset-logo{border-color:#fff;background:#eef1f6}.theme-light .ticker-main strong,.theme-light .ticker-tags span:last-child{color:#111827}.theme-light .ticker-main span,.theme-light .ticker-search{color:#5d6675}.theme-light .ticker-empty{border-color:#c9d0dc;color:#5d6675;background:#eef1f6b8}.theme-light .ticker-load-more{border-color:#d5d9e2;color:#111827;background:#eef1f6}.theme-light .ticker-load-more:hover:not(:disabled){border-color:#c9d0dc;color:#111827;background:#e8ecf3}.theme-light .shortcut-key{border-color:#c9d0dc;color:#111827;background:#fff}.theme-light .shortcut-plus{color:#6b7280}.theme-light .tool-separator,.theme-light .price-scale-menu-separator{background:#d5d9e2}.theme-light .history-loader,.theme-light .chart-indicator-chip{color:#131722;background:#ffffffc2}.theme-light .chart-indicator-chip{border-color:#d5d9e2c7}.theme-light .chart-indicator-chip button{color:#5d6675}.theme-light .chart-indicator-chip button:hover{color:#131722;background:#eef1f6}.theme-light .modal-backdrop{background:#0f172a40}@media(prefers-reduced-motion:reduce){.terminal,.topbar,.drawingbar,.statusbar,.chart-stage,#kline-chart,.menu-button,.symbol,.symbol-trigger,.symbol-exchange,.symbol-plus,.timeframes,.timeframes button,.action-button,.compact-action,.tool-button,.status-icon,.timezone-button,.range-shortcuts button,.chart-type-menu,.chart-type-item,.dropdown-menu,.drawing-menu,.drawing-menu-item,.drawing-actionbar,.drawing-popover,.drawing-action,.drawing-menu-row,.price-scale-menu,.price-scale-menu-item,.modal,.modal select,.search-input,.indicator-params-input,.indicator-param-input,.indicator-choice,.exchange-tab,.ticker-row,.indicator-row,.secondary-button,.row-actions button,.indicator-param-control button,.indicator-add-param,.indicator-color-trigger,.indicator-color-popover,.chart-indicator-chip,.history-loader,.chart-notice,.chart-stage.timeframe-pending:after,.theme-toggle-thumb{transition:none}}@media(max-width:1060px){.terminal{--side-width: 38px;--status-height: 28px;grid-template-columns:var(--side-width) minmax(0,1fr) var(--side-width);grid-template-rows:var(--topbar-height) minmax(0,1fr) var(--status-height)}.menu-button{width:var(--side-width);min-width:var(--side-width)}.symbol{flex-basis:132px}.symbol-trigger{max-width:118px;font-size:13px}.timeframes{flex:0 0 auto;width:auto;padding:0 6px;border-right:1px solid #2a2e39}.timeframes button{min-width:27px;height:24px;font-size:11px}.top-actions{flex:0 0 auto;justify-content:flex-start}.action-button{padding:0 8px;font-size:11px}.tool-button{width:30px;min-width:30px}}@media(max-width:720px){.terminal{--side-width: 36px;grid-template-columns:var(--side-width) minmax(0,1fr);grid-template-rows:var(--topbar-height) minmax(0,1fr) var(--status-height)}.topbar{grid-column:1 / -1;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;touch-action:pan-x}.menu-button{scroll-snap-align:start;min-height:var(--topbar-height)}.action-button{scroll-snap-align:start;width:33px;min-width:33px;gap:0;padding:0;font-size:0}.theme-toggle{width:33px;min-width:33px;padding:0}.theme-toggle-track{display:inline-grid;grid-template-columns:1fr;width:auto;height:auto;border:0;border-radius:0;background:transparent}.theme-toggle-icon{display:none;color:currentColor}.theme-dark .theme-toggle-moon,.theme-light .theme-toggle-sun{display:grid;color:currentColor}.theme-toggle-thumb,.theme-toggle-label{display:none}.chart-type-trigger svg:last-child{display:none}.compact-action{display:inline-flex;scroll-snap-align:start;width:33px;min-width:33px;min-height:var(--topbar-height)}.top-spacer{display:none}.symbol{scroll-snap-align:start;flex:0 0 118px}.symbol-trigger{max-width:104px;height:23px;font-size:11px}.symbol-plus{width:21px;height:21px}.range-shortcuts button{min-width:26px;font-size:10px}.status-actions{gap:3px;padding:0 5px;font-size:9px}.status-clock{min-width:46px}.timezone-button{padding:0 3px;font-size:9px}.indicator-select-modal .modal-header{min-height:41px}}@media(max-width:520px){.terminal{--topbar-height: 36px;--side-width: 30px}.topbar{display:flex;align-items:stretch}.menu-button{flex:0 0 var(--side-width)}.symbol{flex:0 0 164px;min-height:var(--topbar-height);border-right:1px solid #2a2e39}.symbol-trigger{max-width:150px}.timeframes{flex:0 0 auto;scroll-snap-align:start;min-height:var(--topbar-height);padding:0 6px}.timeframes button{min-width:31px;height:26px;font-size:11px}.top-actions{flex:0 0 auto;justify-content:flex-start;min-height:var(--topbar-height);border-top:0}.chart-type-dropdown{position:relative;flex:0 0 auto}.chart-type-menu{width:min(238px,calc(100vw - 12px))}.action-button{width:38px;min-width:38px;min-height:32px}.theme-toggle{width:38px;min-width:38px}.ticker-modal{width:min(100vw - 12px,560px);max-height:min(610px,calc(100vh - 12px));gap:8px;padding:10px}.ticker-row{grid-template-columns:32px minmax(0,1fr) 22px 16px;gap:7px;min-height:46px;padding:7px}.ticker-tags{display:none}.ticker-main strong{font-size:13px}.ticker-main span{font-size:10px}.ticker-list{max-height:calc(100vh - 215px)}.ticker-search{min-height:32px}.ticker-search .search-input{min-height:30px}}@media(max-width:380px){.terminal{--side-width: 32px}.symbol{gap:5px;padding-right:5px}.symbol-plus{width:20px;height:20px}.timeframes{padding-inline:4px}.timeframes button{min-width:29px}.action-button{width:36px;min-width:36px}.ticker-modal{width:calc(100vw - 8px);max-height:calc(100vh - 8px);padding:9px}.ticker-row{grid-template-columns:29px minmax(0,1fr) 20px}.ticker-selected-icon{display:none}.ticker-assets{width:29px;height:24px}.ticker-asset-logo{width:21px;height:21px}}.indicator-settings-modal{grid-template-rows:auto auto minmax(0,1fr) auto;width:min(440px,calc(100vw - 32px));max-height:min(560px,calc(100vh - 24px));gap:0;padding:0;overflow:hidden;border:0;border-radius:6px;color:#d1d4dc;background:#1f1f1f}.indicator-settings-header{display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:16px 22px 5px}.indicator-settings-header h2{margin:0;color:#e0e3eb;font-size:22px;font-weight:700;line-height:1.1}.indicator-settings-header .icon-button{width:28px;height:28px;border-radius:4px}.indicator-settings-header .icon-button:hover{background:#2a2e39}.indicator-settings-tabs{position:relative;display:flex;gap:20px;height:28px;margin:0 22px;border-bottom:0}.indicator-settings-tabs:before{position:absolute;right:0;bottom:0;left:0;height:3px;border-radius:999px;background:#5a5a5a;content:""}.indicator-settings-tabs button{position:relative;z-index:1;height:28px;padding:0;border:0;outline:0;color:#d1d4dc;background:transparent;box-shadow:none;font-size:15px;font-weight:700}.indicator-settings-tabs button:focus,.indicator-settings-tabs button:focus-visible{outline:0;box-shadow:none}.indicator-settings-tabs button:after{position:absolute;right:0;bottom:0;left:0;height:3px;border-radius:999px;background:transparent;content:""}.indicator-settings-tabs button.active:after{background:#f0f3fa}.indicator-settings-body{min-height:0;overflow-y:auto;padding:18px 22px 16px}.indicator-settings-panel{display:grid;gap:18px}.tv-settings-section{display:grid;gap:12px}.tv-settings-section h3{margin:0;color:#909195;font-size:13px;font-weight:500;letter-spacing:0;text-transform:uppercase}.tv-settings-list,.tv-style-list{display:grid;gap:12px}.tv-settings-row{display:grid!important;grid-template-columns:minmax(120px,1fr) minmax(112px,138px);align-items:center;gap:0!important;color:#d1d4dc!important;font-size:13px!important;font-weight:400!important}.tv-settings-row>span:first-child,.tv-check-row span,.tv-style-row>span{min-width:0;color:#d1d4dc;font-size:13px;font-weight:400;line-height:1.2}.tv-control{width:100%;height:30px;min-height:30px;padding:0 9px;border:1px solid #4d4f52;border-radius:5px;outline:0;color:#d1d4dc;background:#1f1f1f;font-size:13px;font-weight:400}.tv-control:focus,.tv-line-trigger.active,.tv-swatch-trigger.active{border-color:#2962ff;box-shadow:0 0 0 1px #2962ff}.tv-control:disabled{opacity:1;color:#d1d4dc}.tv-select-shell{position:relative;display:block}.tv-select-shell select{appearance:none;padding-right:32px}.tv-select-shell svg{position:absolute;top:50%;right:10px;pointer-events:none;color:#8c8f96;transform:translateY(-50%)}.tv-select-shell.compact,.tv-style-controls{width:auto}.tv-select-shell.compact .tv-control{height:30px;min-height:30px;font-size:13px}.tv-input-with-action{display:grid;grid-template-columns:minmax(0,1fr) 22px;gap:6px}.tv-icon-action{display:grid;place-items:center;width:22px;height:30px;border-radius:5px;color:#9ca0a8;background:transparent}.tv-icon-action:hover:not(:disabled){color:#f23645;background:#f236451f}.tv-icon-action:disabled{opacity:.35}.tv-check-row{display:flex!important;align-items:center;gap:10px;color:#d1d4dc!important;font-size:13px!important;font-weight:400!important}.tv-check-row svg{color:#77797e}.tv-checkbox,.tv-checkbox-button{display:grid;flex:0 0 auto;place-items:center;width:30px;height:30px;padding:0;border:1px solid #e0e3eb;border-radius:6px;color:#1f1f1f;background:transparent;line-height:0}.tv-checkbox.checked,.tv-checkbox-button.checked{background:#f0f3fa}.tv-checkbox-button{cursor:pointer}.tv-inline-add{display:inline-flex;align-items:center;justify-content:center;justify-self:start;gap:6px;min-height:24px;padding:0;color:#d1d4dc;background:transparent;font-size:13px}.tv-inline-add:hover{color:#fff}.tv-style-row{position:relative;display:grid;grid-template-columns:30px minmax(116px,1fr) auto;align-items:center;gap:10px;min-height:30px}.tv-style-controls{display:grid;grid-template-columns:78px 88px;gap:10px}.tv-line-trigger{display:grid;grid-template-columns:22px minmax(28px,1fr);align-items:center;gap:7px;height:30px;padding:4px;border:1px solid #4d4f52;border-radius:5px;background:#1f1f1f}.tv-color-block,.tv-swatch-trigger span{display:block;width:22px;height:22px;border-radius:5px}.indicator-line-preview{display:block;width:30px;height:var(--preview-height, 2px);background:var(--preview-color, #d1d4dc)}.indicator-line-preview.dashed{height:2px;background:repeating-linear-gradient(to right,var(--preview-color, #d1d4dc) 0 11px,transparent 11px 18px)}.indicator-line-preview.dotted{height:3px;background:repeating-linear-gradient(to right,var(--preview-color, #d1d4dc) 0 3px,transparent 3px 9px)}.tv-swatch-trigger{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #4d4f52;border-radius:5px;background:#1f1f1f;line-height:0}.indicator-color-popover.tv-popover{position:fixed;z-index:12;top:var(--popover-top, 0);left:var(--popover-left, 0);overflow:hidden;width:min(340px,calc(100vw - 48px));border:0;border-radius:5px;background:#1f1f1f;box-shadow:0 14px 40px #00000052}.indicator-color-popover.tv-popover .shared-color-picker{width:100%}.tv-line-editor{display:grid;gap:10px;padding:0 14px 14px}.tv-line-editor>span{color:#9598a1;font-size:13px}.tv-segmented{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid #4d4f52;border-radius:6px}.tv-segmented button{display:grid;place-items:center;height:30px;border-right:1px solid #4d4f52;color:#d1d4dc;background:transparent}.tv-segmented button:last-child{border-right:0}.tv-segmented button.active{color:#1f1f1f;background:#f0f3fa}.tv-segmented button>span:not(.indicator-line-preview){width:62px;background:currentColor}.indicator-zone-row{position:relative;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px 22px;gap:10px}.indicator-threshold-row{position:relative;grid-template-columns:minmax(0,1fr) 30px 22px;gap:10px}.indicator-section-heading{align-items:center}.indicator-settings-footer{display:flex;align-items:center;justify-content:flex-end;min-height:54px;padding:10px 22px;border-top:1px solid #4d4f52}.indicator-settings-actions{display:flex;gap:10px}.tv-cancel-button,.tv-ok-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border-radius:5px;font-size:13px;font-weight:400}.tv-cancel-button{min-width:70px;border:1px solid #f0f3fa;color:#f0f3fa;background:#1f1f1f}.tv-ok-button{min-width:48px;color:#131722;background:#f0f3fa}.theme-light .indicator-settings-modal,.theme-light .tv-control,.theme-light .tv-line-trigger,.theme-light .tv-swatch-trigger,.theme-light .tv-cancel-button,.theme-light .indicator-color-popover.tv-popover{color:#131722;background:#fff}.theme-light .indicator-settings-header h2,.theme-light .indicator-settings-tabs button,.theme-light .tv-settings-row>span:first-child,.theme-light .tv-check-row span,.theme-light .tv-style-row>span{color:#131722}.theme-light .indicator-settings-tabs{border-bottom-color:#c7cbd1}.theme-light .indicator-settings-tabs:before{background:#f0f3fa}.theme-light .indicator-settings-tabs button.active:after{background:#333}.theme-light .tv-checkbox.checked,.theme-light .tv-checkbox-button.checked,.theme-light .tv-ok-button,.theme-light .tv-segmented button.active{background:#2962ff}.theme-light .tv-checkbox.checked,.theme-light .tv-checkbox-button.checked,.theme-light .tv-ok-button,.theme-light .tv-segmented button.active{color:#fff}.theme-light .tv-control,.theme-light .tv-line-trigger,.theme-light .tv-swatch-trigger,.theme-light .tv-segmented,.theme-light .tv-segmented button,.theme-light .indicator-settings-footer{border-color:#d5d9e2}.theme-light .tv-cancel-button{color:#131722;border-color:#131722}.theme-light .tv-settings-section h3,.theme-light .tv-line-editor>span,.theme-light .tv-select-shell svg,.theme-light .tv-check-row svg{color:#6b7280}.theme-light .indicator-color-popover.tv-popover{box-shadow:0 14px 40px #0f172a29}@keyframes antigravity-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.save-button.saving:disabled{opacity:.75;cursor:default;color:#787b86!important}.save-button.saving svg{animation:antigravity-spin 1.1s linear infinite}.save-button.saved:disabled{opacity:1;cursor:default;color:#089981!important;font-weight:550;text-shadow:0 0 8px rgba(8,153,129,.2)}.save-button.saved svg{color:#089981!important;transform:scale(1.1);transition:transform .25s cubic-bezier(.34,1.56,.64,1)}.theme-light .save-button.saved:disabled{color:#0c7f6e!important;text-shadow:0 0 8px rgba(12,127,110,.15)}.theme-light .save-button.saved svg{color:#0c7f6e!important}@media(max-width:640px){.indicator-settings-modal{width:min(440px,calc(100vw - 16px));max-height:calc(100vh - 16px)}.indicator-settings-header{padding:14px 16px 5px}.indicator-settings-tabs{margin:0 16px}.indicator-settings-body{padding:16px}.indicator-settings-footer{padding:10px 16px}}@media(max-width:520px){.indicator-settings-modal{width:100vw;max-height:100vh;border-radius:0}.indicator-settings-tabs{gap:18px}.tv-settings-row,.tv-style-row,.indicator-zone-row,.indicator-threshold-row{grid-template-columns:1fr;gap:10px!important}.tv-style-controls{grid-template-columns:minmax(0,1fr) 84px}.indicator-settings-footer{gap:6px;padding:10px 12px}.indicator-settings-actions{gap:6px}.tv-cancel-button{min-width:66px}.tv-ok-button{min-width:46px}}input,select,textarea{font-size:max(17px,1em)!important}
