:root{color-scheme:light;--market-bg: #f4f6f8;--market-surface: #fff;--market-surface-2: #f8fafc;--market-line: #dfe6ed;--market-text: #263746;--market-muted: #6f7e8b;--market-blue: #3d7da8;--market-blue-dark: #2e668d;--market-green: #258b58;--market-red: #c6534f;--market-yellow: #af7916;font-family:Arial,Microsoft YaHei,sans-serif;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--market-bg);color:var(--market-text)}button,input,select{font:inherit}.market-shell{width:100%;padding:3px 5px 5px}.market-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 12px;border:1px solid var(--market-line);background:var(--market-surface)}.toolbar-group{display:flex;align-items:center;gap:10px}.settings-save-status{color:var(--market-muted);font-size:11px}.settings-save-status.saved{color:var(--market-green)}.settings-save-status.pending,.settings-save-status.saving{color:var(--market-yellow)}.settings-save-status.error{color:var(--market-red)}.action-button,.category-tab,.clear-monitor{border:1px solid var(--market-line);cursor:pointer}.action-button{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;background:transparent;color:var(--market-text);font-size:12px;text-decoration:none}.primary-action{border-color:var(--market-blue-dark);background:var(--market-blue-dark);color:#fff}.primary-action:hover{background:#397ca9}.action-button:disabled{cursor:wait;opacity:.6}.toolbar-group label{display:flex;align-items:center;gap:7px;color:var(--market-muted);font-size:12px}.toolbar-group select{min-width:70px;height:32px;padding:0 7px;border:1px solid var(--market-line);border-radius:2px;background:var(--market-surface-2);color:var(--market-text)}.range-stats-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0;margin:4px 0 0;padding:7px 10px;border:1px solid var(--market-line);background:var(--market-surface)}.range-stats-title{margin-right:2px;color:var(--market-muted);font-size:11px}.range-mode-label{color:var(--market-muted);font-size:11px}.range-mode-switch{display:inline-flex;overflow:hidden;border:1px solid var(--market-line);border-radius:3px}.range-mode-switch button{min-height:24px;padding:0 8px;border:0;background:var(--market-surface);color:var(--market-muted);cursor:pointer;font-size:11px}.range-mode-switch button+button{border-left:1px solid var(--market-line)}.range-mode-switch button[aria-pressed=true]{background:#edf5fa;color:var(--market-blue-dark);font-weight:700}.range-mode-switch button:focus-visible{position:relative;z-index:1;outline:2px solid #91bdd5;outline-offset:-2px}.range-stats-options label{display:inline-flex;align-items:center;gap:5px;color:var(--market-text);font-size:11px;cursor:pointer}.range-stats-options input{margin:0;accent-color:var(--market-blue-dark)}.range-stats-cell{font-size:10px;line-height:1.55}.range-stats-cell span{display:block}.range-stats-cell .range-high{color:var(--market-green)}.range-stats-cell .range-low{color:var(--market-red)}.range-stats-cell.range-return{font-size:12px;font-weight:700}.range-stats-cell.range-return.positive{color:var(--market-green)}.range-stats-cell.range-return.negative{color:var(--market-red)}.market-hours-button{display:inline-flex;align-items:center;gap:6px}.market-hours-button-icon{color:#3d9bff;font-size:17px;line-height:1}.market-hours-button-session{color:var(--market-blue-dark);font-size:12px;font-variant-numeric:tabular-nums}.alert-panel{display:flex;align-items:baseline;gap:10px;margin-top:12px;padding:10px 12px;border-left:3px solid var(--market-yellow);background:#fff8e8;color:#765613;font-size:12px}.alert-panel[hidden]{display:none}.alert-panel strong{color:var(--market-yellow)}.stocks-feed-debug{margin-top:12px;padding:10px 12px;border:1px solid var(--market-line);background:var(--market-surface);color:var(--market-text);font-size:12px}.stocks-feed-debug pre{max-height:320px;overflow:auto;margin:8px 0 0;color:var(--market-muted);font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap}.stocks-feed-debug[hidden]{display:none}.category-tabs{display:flex;gap:2px;margin-top:5px;overflow-x:auto;border-bottom:1px solid var(--market-line);scrollbar-width:thin}.category-tab{position:relative;bottom:-1px;flex:0 0 auto;padding:10px 17px;background:transparent;color:var(--market-muted);font-size:12px}.category-tab:hover{color:var(--market-text)}.category-tab.active{border-color:var(--market-line) var(--market-line) var(--market-surface);background:var(--market-surface);color:var(--market-blue-dark)}.category-tab.has-triggered{border-color:#e8d39b;background:#fff8e8;color:#805a12;font-weight:700}.category-tab.has-triggered.active{border-color:#e8d39b #e8d39b var(--market-surface);background:#fff8e8;color:#805a12}.category-trigger-count{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#f1ddb0;color:#704b0d;font-size:10px;line-height:1}.quotes-section{border:1px solid var(--market-line);border-top:0;background:var(--market-surface)}.quotes-scroll{overflow-x:auto}.quotes-table{width:max-content;border-collapse:collapse;table-layout:auto;font-size:12px;font-variant-numeric:tabular-nums}.quotes-table col{width:auto}.quotes-table col.column-range{width:104px}.quotes-table th,.quotes-table td{height:56px;padding:0 6px;border-bottom:1px solid #e7edf2;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quotes-table th{height:38px;background:#f7fafc;color:var(--market-muted);font-size:11px;font-weight:700}.sort-button{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit}.sort-button:after{content:"↕";color:#a5b1bb;font-size:12px;line-height:1}.sort-button:hover,.sort-button:focus-visible{color:var(--market-blue-dark)}.sort-button:focus-visible{outline:2px solid #91bdd5;outline-offset:2px}.sort-button.is-sorted:after{color:var(--market-blue-dark)}.sort-button.is-sorted[data-direction=asc]:after{content:"↑"}.sort-button.is-sorted[data-direction=desc]:after{content:"↓"}.quotes-table th:first-child,.quotes-table td:first-child,.quotes-table th:nth-child(2),.quotes-table td:nth-child(2){text-align:left}.quotes-table tbody tr:hover{background:#f5f9fc}.quotes-table tbody tr.is-pinned:not(.is-triggered){background:#f6fafc;box-shadow:inset 2px 0 #d3e3ec}.quotes-table tbody tr.is-pinned:not(.is-triggered):hover{background:#eef5f9}.quotes-table tbody tr.is-triggered{background:#fff8e8;box-shadow:inset 3px 0 0 var(--market-yellow)}.symbol-cell strong,.symbol-cell small,.price-cell>span,.price-cell>small,.metric-cell>span,.metric-cell>small{display:block}.symbol-heading{display:flex;align-items:center;gap:4px;min-height:20px}.symbol-cell strong{color:var(--market-text);font-size:13px}.quote-pin-button{display:inline-grid;flex:0 0 22px;width:22px;height:22px;place-items:center;padding:0;border:0;border-radius:3px;background:transparent;color:#a5afb7;cursor:pointer}.quote-pin-button svg{width:16px;height:16px;fill:currentColor}.quote-pin-button:hover,.quote-pin-button:focus-visible{background:#f1f4f6;color:#68757e;outline:none}.quote-pin-button.is-pinned{color:#d39a00}.quote-pin-button.is-pinned:hover,.quote-pin-button.is-pinned:focus-visible{background:#fff7d9;color:#b78200}.symbol-cell small,.price-cell .session-label{display:block;margin-top:3px;color:var(--market-muted);font-size:10px;font-weight:400}.price-cell .session-label{margin-left:auto;padding-left:0;padding-right:0}.session-kline-trigger{width:100%;padding:0;border:0;background:transparent;text-align:right;cursor:pointer;color:inherit;font:inherit;font-size:10px}.session-kline-trigger:hover,.session-kline-trigger:focus-visible{text-decoration:underline}.price-cell,.metric-cell{font-weight:700}.metric-primary{line-height:1.2}.current-session-label{margin-right:4px;font-size:10px;font-weight:400}.current-session-label.session-pre{color:var(--market-blue-dark)}.current-session-label.session-post{color:#8d6419}.current-session-label.session-overnight{color:#6b5aa6}.current-session-label.session-regular{color:var(--market-muted)}.metric-secondary{margin-top:4px;color:var(--market-muted);font-size:10px;font-weight:400;line-height:1.2}.metric-secondary.positive,.metric-secondary.negative{color:var(--market-muted)}.session-name{margin-right:5px;color:var(--market-muted)}.price-cell .session-label{font-weight:400}.price-cell .session-pre .session-name{color:var(--market-blue-dark)}.price-cell .session-post .session-name{color:#8d6419}.price-cell .session-overnight .session-name{color:#6b5aa6}.session-dialog-trigger{width:100%;padding:0;border:0;background:transparent;cursor:pointer;text-align:right}.session-dialog-trigger:hover .session-name,.session-dialog-trigger:focus-visible .session-name{text-decoration:underline}.positive{color:var(--market-green)}.negative{color:var(--market-red)}.monitor-input,.condition-select{height:32px;border:1px solid var(--market-line);border-radius:2px;background:var(--market-surface-2);color:var(--market-text)}.monitor-input{width:92px}.monitor-hit-summary{display:block;margin-top:3px;color:var(--market-muted);font-size:10px}.monitor-levels-list{max-height:none;overflow:visible;padding:0 0 10px}.monitor-alert-section{margin-top:14px;padding:12px;border:1px solid #d9e5ec;border-radius:5px;background:#fbfdfe}.monitor-alert-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.monitor-alert-heading strong{font-size:12px}.monitor-alert-heading span{color:var(--market-muted);font-size:10px}.monitor-level-table-wrap{min-width:0;overflow-x:auto}.monitor-level-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;font-size:11px}.monitor-level-table th{padding:7px 8px;color:var(--market-muted);font-weight:500;text-align:left}.monitor-level-table th:nth-child(1){width:12%}.monitor-level-table th:nth-child(2){width:19%}.monitor-level-table th:nth-child(3){width:13%}.monitor-level-table th:nth-child(4){width:22%}.monitor-level-table th:nth-child(5){width:10%}.monitor-level-table th:nth-child(6){width:15%}.monitor-level-table th:nth-child(7){width:44px}.monitor-level-table td{padding:7px 8px;vertical-align:middle}.monitor-level-table tbody tr.is-triggered{background:#fff8e8;box-shadow:inset 3px 0 0 var(--market-yellow)}.monitor-level-table tbody tr.is-triggered td{background:#fff8e8}.monitor-level-table input,.monitor-level-table select,.monitor-level-add input,.monitor-level-add select{width:100%;min-width:0;height:32px;padding:0 7px;border:1px solid var(--market-line);border-radius:2px;background:var(--market-surface-2);color:var(--market-text)}.monitor-level-table .monitor-level-created,.monitor-level-hit-count{color:var(--market-muted);font-size:10px;white-space:nowrap}.monitor-level-table .remove-monitor-level{display:block;margin:auto}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.monitor-level-add label{display:grid;gap:4px;color:var(--market-muted);font-size:10px}.monitor-level-empty{margin:0;padding:10px 0;color:var(--market-muted);font-size:12px}.monitor-level-add{display:grid;grid-template-columns:minmax(105px,.8fr) minmax(140px,1fr) minmax(150px,1fr) auto;align-items:end;gap:8px;margin:0;padding:10px 0 0;border:0}.monitor-level-add legend{padding:0 6px 0 0;color:var(--market-text);font-size:11px}.monitor-level-add .action-button{min-height:32px}.condition-select{width:88px}.monitor-input{padding:0 8px;text-align:right}.monitor-input::placeholder{color:#9aa8b3;text-align:left}.condition-select{padding:0 6px}.alert-settings-cell{min-width:88px;text-align:center!important}.change-alert-button{min-width:68px;height:28px;padding:0 8px;border:1px solid #d7dfe6;background:#f3f6f8;color:#758390;cursor:pointer;font-size:11px}.change-alert-button:hover,.change-alert-button:focus-visible{border-color:#91bdd5;color:var(--market-blue-dark)}.change-alert-button.is-configured{border-color:#b9d9ec;background:#edf7fc;color:#276d93}.status-tag{display:inline-block;min-width:52px;padding:4px 7px;border:1px solid transparent;border-radius:2px;color:var(--market-muted);font-size:11px;line-height:1.2;text-align:center}.status-tag.unset{border-color:#d7dfe6;background:#f3f6f8;color:#758390}.status-tag.watching{border-color:#b9d9ec;background:#edf7fc;color:#276d93}.status-tag.pending{border-color:#ead6a8;background:#fff8e8;color:#8b671d}.status-tag.triggered{border-color:#e5b6b3;background:#fff0ef;color:#b84540;font-weight:700}.clear-column{text-align:center!important}.clear-monitor{width:25px;height:25px;padding:0;background:transparent;color:var(--market-muted);font-size:17px;line-height:20px}.clear-monitor:hover{border-color:var(--market-red);color:var(--market-red)}.change-alert-dialog{width:min(860px,calc(100vw - 24px));max-height:min(820px,calc(100vh - 24px));overflow-y:auto;padding:0;border:1px solid #cfdbe4;border-radius:8px;background:var(--market-surface);color:var(--market-text);box-shadow:0 20px 55px #1e31403d}.change-alert-dialog::backdrop{background:#16242f57}.change-alert-dialog form{padding:20px}.change-alert-dialog-header{display:flex;align-items:start;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--market-line)}.change-alert-dialog-header-actions{display:flex;align-items:center;gap:6px}.dialog-preview-button{min-height:28px;padding:0 10px;border:1px solid #c4d9e5;border-radius:3px;background:#f1f8fc;color:var(--market-blue-dark);cursor:pointer;font-size:11px}.dialog-preview-button:hover,.dialog-preview-button:focus-visible{border-color:#7fb1ce;background:#e4f2f9;outline:none}.change-alert-dialog-kicker{margin-bottom:4px;color:var(--market-blue-dark);font-size:10px;font-weight:700;letter-spacing:.08em}.change-alert-dialog-header h2{margin:0;font-size:18px;line-height:1.2}.change-alert-dialog-header p{margin:5px 0 0;color:var(--market-muted);font-size:11px}.dialog-close{width:28px;height:28px;padding:0;border:1px solid transparent;background:transparent;color:var(--market-muted);cursor:pointer;font-size:20px;line-height:1}.dialog-close:hover,.dialog-close:focus-visible{border-color:var(--market-line);color:var(--market-text)}.change-alert-chart{margin-top:14px;padding:12px;border:1px solid #d9e5ec;border-radius:5px;background:#fbfdfe}.change-alert-chart-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:5px}.change-alert-chart-heading div{display:flex;align-items:baseline;gap:8px}.change-alert-chart-controls{display:flex;align-items:center;gap:10px}.change-alert-chart-controls label{display:flex;align-items:center;gap:5px;color:var(--market-muted);font-size:10px}.chart-interval-buttons{display:inline-flex;gap:3px}.chart-interval-buttons button{min-width:30px;height:25px;padding:0 5px;border:1px solid #ccd9e2;border-radius:3px;background:#fff;color:var(--market-muted);cursor:pointer;font-size:10px}.chart-interval-buttons button[aria-pressed=true]{border-color:#7fb1ce;background:#e4f2f9;color:var(--market-blue-dark);font-weight:700}.change-alert-chart-heading strong{font-size:12px}.change-alert-chart-heading small,.change-alert-chart-meta{color:var(--market-muted);font-size:10px}.change-alert-chart-heading>span{color:var(--market-blue-dark);font-size:13px;font-variant-numeric:tabular-nums}.change-alert-chart-svg{display:block;width:100%;height:150px;overflow:visible}.chart-grid-line{stroke:#dce6ec;stroke-width:1}.chart-line{fill:none;stroke:#2f7fa8;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.chart-dot{fill:#e9b82e;stroke:#fff;stroke-width:2}.chart-level-line{stroke-width:1.4;stroke-dasharray:5 4;opacity:.9}.chart-level-line.is-above{stroke:#d99a18}.chart-level-line.is-below{stroke:#2f83a8}.chart-level-label{font-size:10px;font-weight:600}.chart-level-label.is-above{fill:#b47700}.chart-level-label.is-below{fill:#216b8b}.chart-legend-swatch{display:inline-block;width:14px;height:2px;margin:0 3px;vertical-align:middle}.chart-legend-swatch.is-above{background:#d99a18}.chart-legend-swatch.is-below{background:#2f83a8}.kline-dialog{width:min(700px,calc(100vw - 20px));max-height:min(780px,calc(100vh - 16px));padding:0;border:0;border-radius:12px;overflow:auto;background:#fff;color:var(--market-text);box-shadow:0 18px 46px #0f1b2452}.kline-dialog::backdrop{background:#0b0e118c}.kline-content{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 18px 18px}.kline-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.kline-kicker{color:var(--market-muted);font-size:11px}.kline-header h2{margin:2px 0 0;font-size:20px;line-height:1.2}.kline-header p{margin:3px 0 0;color:var(--market-muted);font-size:12px}.kline-close{width:28px;height:28px;padding:0;border:0;background:transparent;color:var(--market-muted);cursor:pointer;font-size:26px;line-height:24px}.kline-close:hover,.kline-close:focus-visible{color:#111}.kline-header-actions{display:flex;align-items:center;gap:2px}.kline-icon-button{width:28px;height:28px;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--market-muted);cursor:pointer;font-size:15px;line-height:1}.kline-icon-button:hover,.kline-icon-button:focus-visible{border-color:var(--market-line);color:#111}.kline-dialog.is-maximized{width:calc(100vw - 10px);height:calc(100vh - 10px);max-height:none;border-radius:8px}.kline-dialog.is-maximized .kline-svg{height:calc(100vh - 215px)}.kline-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.kline-session-tabs{display:inline-flex;overflow:hidden;border:1px solid var(--market-line);border-radius:3px}.kline-session-tabs[hidden]{display:none}.kline-session-tabs button{min-height:26px;padding:0 11px;border:0;background:#fff;color:var(--market-muted);cursor:pointer;font-size:11px}.kline-session-tabs button+button{border-left:1px solid var(--market-line)}.kline-session-tabs button:hover,.kline-session-tabs button:focus-visible{background:#f2f6f9}.kline-session-tabs button[aria-pressed=true]{background:#111;color:#fff;font-weight:700}.kline-readout{display:flex;flex-wrap:wrap;gap:4px 12px;color:#111;font-size:12px;font-variant-numeric:tabular-nums}.kline-readout b{font-weight:700}.kline-readout .kline-readout-empty{color:var(--market-muted);font-weight:400}.kline-svg{display:block;width:100%;height:260px;border:1px solid #e3e3e3;background:#fff;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.kline-svg.is-dragging{cursor:grabbing}.kline-crosshair.is-hidden{display:none}.kline-crosshair-line{stroke:#111;stroke-width:1;stroke-dasharray:3 3;pointer-events:none}.kline-crosshair-tag{fill:#111}.kline-crosshair-tag-text{fill:#fff;font-size:10px;font-variant-numeric:tabular-nums;text-anchor:middle}.kline-tip-bg{fill:#fff;stroke:#111;stroke-width:1}.kline-tip-text{fill:#111;font-size:10px;font-variant-numeric:tabular-nums}.kline-level-line{stroke:var(--market-blue-dark);stroke-width:1;stroke-dasharray:6 3}.kline-level-chip{fill:var(--market-blue-dark)}.kline-level-chip-off{fill:#7e93a3}.kline-level-text{fill:#fff;font-size:9px;text-anchor:middle;font-variant-numeric:tabular-nums}.kline-heading{min-width:0}.kline-title-line{display:flex;align-items:center;gap:10px;min-width:0}.kline-title-line h2{flex:0 0 auto}.kline-siblings{display:flex;align-items:center;gap:4px;flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:thin}.kline-siblings[hidden]{display:none}.kline-header-actions,.kline-icon-button,.kline-close{flex:0 0 auto}.kline-sibling{flex:0 0 auto;height:22px;padding:0 8px;border:1px solid var(--market-line);border-radius:3px;background:#fff;color:var(--market-muted);cursor:pointer;font-size:11px;line-height:20px;white-space:nowrap}.kline-sibling:hover,.kline-sibling:focus-visible{border-color:var(--market-blue-dark);color:var(--market-blue-dark)}.kline-sibling.is-active{border-color:#111;background:#111;color:#fff;font-weight:700}.kline-levels-toggle{height:25px;padding:0 9px;border:1px solid #ccd9e2;border-radius:3px;background:#fff;color:var(--market-muted);cursor:pointer;font-size:11px}.kline-levels-toggle:hover,.kline-levels-toggle:focus-visible{background:#f2f6f9;color:#111}.kline-levels-toggle[aria-pressed=true]{border-color:var(--market-blue-dark);background:#eaf2f8;color:var(--market-blue-dark);font-weight:700}#kline-hint{color:#9aa6ae}.kline-live{color:#1f7a3d;font-weight:700}.kline-live[hidden]{display:none}.kline-live-dot{fill:#111;stroke:#fff;stroke-width:1;animation:kline-live-pulse 1.8s ease-in-out infinite}@keyframes kline-live-pulse{0%,to{opacity:1}50%{opacity:.25}}@media(prefers-reduced-motion:reduce){.kline-live-dot{animation:none}}.kline-zoom{display:inline-flex;overflow:hidden;border:1px solid #ccd9e2;border-radius:3px}.kline-zoom button{min-width:28px;height:25px;padding:0 5px;border:0;background:#fff;color:var(--market-muted);cursor:pointer;font-size:11px}.kline-zoom button+button{border-left:1px solid #ccd9e2}.kline-zoom button:hover,.kline-zoom button:focus-visible{background:#f2f6f9;color:#111}.kline-grid{stroke:#e9e9e9;stroke-width:1}.kline-axis-line{stroke:#d5d5d5;stroke-width:1}.kline-axis-text{fill:#3c3c3c;font-size:10px;font-variant-numeric:tabular-nums}.kline-time-text{fill:#6d6d6d;font-size:10px;text-anchor:middle}.kline-wick{stroke:#111;stroke-width:1}.kline-body-up{fill:#fff;stroke:#111;stroke-width:1}.kline-body-down{fill:#111;stroke:#111;stroke-width:1}.kline-last-line{stroke:#111;stroke-width:1;stroke-dasharray:3 3}.kline-last-label{fill:#111;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}.kline-empty-text{fill:var(--market-muted);font-size:12px;text-anchor:middle}.kline-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:var(--market-muted);font-size:11px}.change-alert-chart-meta{display:flex;justify-content:space-between;gap:10px}.change-alert-rule-section{margin-top:16px;padding:12px;border:1px solid #d9e5ec;border-radius:5px;background:#fbfdfe}.change-alert-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}.change-alert-section-heading strong{font-size:12px}.change-alert-section-heading span{color:var(--market-muted);font-size:10px}.change-alert-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.change-alert-form-grid label{display:grid;gap:5px;color:var(--market-muted);font-size:11px}.change-alert-form-grid select,.change-alert-form-grid input{width:100%;height:34px;padding:0 8px;border:1px solid #ccd9e2;border-radius:3px;background:#fff;color:var(--market-text)}.change-alert-form-grid select:focus,.change-alert-form-grid input:focus,.monitor-level-table input:focus,.monitor-level-table select:focus,.monitor-level-add input:focus,.monitor-level-add select:focus{border-color:#7fb1ce;outline:2px solid #e5f2f9;outline-offset:0}.change-alert-preview{margin:10px 0 0;padding:8px 10px;border:0;border-radius:3px;background:#edf6fb;color:var(--market-blue-dark);font-size:11px;line-height:1.4}.change-alert-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--market-line)}.change-alert-dialog-actions>div{display:flex;gap:8px}.dialog-danger-button{min-height:32px;padding:0 8px;border:1px solid transparent;background:transparent;color:var(--market-red);cursor:pointer;font-size:11px}.dialog-danger-button:hover,.dialog-danger-button:focus-visible{border-color:#e5b6b3;background:#fff0ef}.market-hours-dialog{width:min(520px,calc(100vw - 24px));max-height:min(760px,calc(100vh - 16px));padding:0;border:0;border-radius:16px;overflow:hidden;background:#202630;color:#eaecef;box-shadow:0 18px 46px #0000006b}.market-hours-dialog::backdrop{background:#0b0e11ad}.market-hours-content{padding:20px 24px 24px}.market-hours-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.market-hours-heading{display:flex;align-items:flex-start;gap:8px}.market-hours-icon{width:20px;padding-top:3px;color:#3d9bff;font-size:21px;line-height:1}.market-hours-icon.is-pre,.market-hours-legend-icon.is-pre{color:#f0a51a}.market-hours-icon.is-regular,.market-hours-legend-dot.is-regular{color:#00c879}.market-hours-icon.is-post,.market-hours-legend-icon.is-post{color:#a565ff}.market-hours-icon.is-overnight,.market-hours-legend-icon.is-overnight{color:#3d9bff}.market-hours-icon.is-closed,.market-hours-legend-icon.is-closed{color:#707a8a}.market-hours-heading h2{margin:0;font-size:24px;line-height:1.2}.market-hours-heading p{margin:3px 0 0;color:#eaecef;font-size:15px;font-weight:700}.market-hours-heading .market-hours-countdown{color:#929aa5;font-size:14px;font-weight:400}.market-hours-close{width:28px;height:28px;padding:0;border:0;background:transparent;color:#eaecef;cursor:pointer;font-size:34px;font-weight:200;line-height:24px}.market-hours-close:hover,.market-hours-close:focus-visible{color:#fff}.market-hours-timeline{position:relative;margin-top:15px;padding-top:34px}.market-hours-axis{position:relative;height:27px;margin:0 8px 0 50px;color:#929aa5;font-size:11px}.market-hours-axis span{position:absolute;transform:translate(-50%)}.market-hours-marker{position:absolute;z-index:2;top:30px;bottom:0;width:1px;border-left:1px dashed #707a8a;pointer-events:none}.market-hours-marker-label{position:absolute;z-index:3;top:0;transform:translate(-50%);padding:2px 6px;border-radius:4px;background:#4f5867;color:#eaecef;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}.market-hours-marker,.market-hours-marker-label{display:block}.market-hours-rows{display:grid;gap:8px}.market-hours-row{display:flex;align-items:center;gap:10px;min-height:32px;padding:5px 8px;border-radius:6px}.market-hours-row.is-today{background:#29313d}.market-hours-day{width:32px;flex:0 0 32px;color:#eaecef;font-size:16px;white-space:nowrap}.market-hours-track{position:relative;flex:1;height:5px}.market-hours-segment{position:absolute;top:0;height:5px;border-radius:3px}.market-hours-segment.is-pre{background:#f0a51a}.market-hours-segment.is-regular{background:#00c879}.market-hours-segment.is-post{background:#a565ff}.market-hours-segment.is-overnight{background:#3d9bff}.market-hours-segment.is-closed{background:#333b47}.market-hours-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 18px;margin-top:23px;padding:0 8px}.market-hours-legend>div{display:flex;align-items:flex-start;gap:8px;min-width:0}.market-hours-legend-icon,.market-hours-legend-dot{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;font-size:16px;line-height:1}.market-hours-legend-dot{width:10px;height:10px;margin:3px;border-radius:50%;background:currentColor}.market-hours-legend strong,.market-hours-legend small{display:block}.market-hours-legend strong{color:#eaecef;font-size:13px;font-weight:400}.market-hours-legend small{margin-top:2px;color:#929aa5;font-size:11px}.quotes-empty{margin:0;padding:22px;color:var(--market-muted);text-align:center;font-size:12px}.quotes-empty[hidden]{display:none}.catalog-dialog{width:min(1060px,calc(100vw - 24px));max-height:min(780px,calc(100vh - 24px));padding:0;border:1px solid var(--market-line);background:var(--market-surface);color:var(--market-text);box-shadow:0 18px 46px #1e314038}.catalog-dialog::backdrop{background:#16242f57}.catalog-dialog-content{max-height:min(780px,calc(100vh - 24px));overflow:auto;padding:18px}.catalog-dialog-header,.catalog-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.catalog-dialog-header{padding-bottom:14px;border-bottom:1px solid var(--market-line)}.catalog-dialog-header h2,.catalog-form-heading h3{margin:0}.catalog-dialog-header h2{font-size:17px}.catalog-dialog-header p,.catalog-form-heading p{margin:5px 0 0;color:var(--market-muted);font-size:11px}.catalog-symbol-form{margin-top:16px;padding:15px;border:1px solid #cddfe9;background:#f8fbfd}.catalog-symbol-form[hidden]{display:none}.catalog-form-heading h3{font-size:14px}.catalog-form-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr 1fr;gap:12px;margin-top:14px}.catalog-form-grid label{display:grid;gap:6px;color:var(--market-text);font-size:11px;font-weight:700}.catalog-form-grid input,.catalog-form-grid select,.catalog-search input{min-width:0;height:34px;padding:0 9px;border:1px solid #cbd5de;border-radius:2px;background:#fff;color:var(--market-text);font-size:12px}.catalog-form-grid input:focus,.catalog-form-grid select:focus,.catalog-search:focus-within{border-color:var(--market-blue);outline:2px solid #dcecf6}.catalog-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px}.catalog-form-status{min-height:16px;margin-right:auto;color:var(--market-muted);font-size:11px}.catalog-form-status.error{color:var(--market-red)}.catalog-form-status.saved{color:var(--market-green)}.catalog-toolbar{display:flex;align-items:center;gap:10px;padding:14px 0 10px}.catalog-search{display:flex;width:min(330px,100%);align-items:center;gap:7px;padding:0 9px;border:1px solid #cbd5de;background:#fff}.catalog-search span{color:var(--market-muted);font-size:18px;line-height:1}.catalog-search input{width:100%;padding:0;border:0;outline:0}.catalog-result-count{margin-left:auto;color:var(--market-muted);font-size:11px}.catalog-category-tabs{display:flex;gap:4px;min-width:0;overflow-x:auto;padding-bottom:10px;border-bottom:1px solid var(--market-line);scrollbar-width:thin}.catalog-category-tab{flex:0 0 auto;height:28px;padding:0 11px;border:1px solid transparent;border-radius:2px;background:transparent;color:var(--market-muted);cursor:pointer;font-size:11px;white-space:nowrap}.catalog-category-tab:hover,.catalog-category-tab.is-active{border-color:#c8dce9;background:#edf5fa;color:var(--market-blue-dark)}.catalog-category-tab.is-active{font-weight:700}.catalog-table-wrap{overflow-x:auto;border-top:1px solid var(--market-line)}.catalog-table{width:100%;min-width:760px;border-collapse:collapse;font-size:12px}.catalog-table th,.catalog-table td{height:44px;padding:0 12px;border-bottom:1px solid #edf0f2;text-align:left;white-space:nowrap}.catalog-table th{background:#f3f6f8;color:#62717d;font-size:11px;font-weight:700}.catalog-table tbody tr:nth-child(2n){background:#fbfcfd}.catalog-table tbody tr:hover{background:#f1f7fb}.catalog-symbol-code{color:#2e5f7b;font-weight:800;letter-spacing:.02em}.catalog-symbol-name{color:#3d4c56}.catalog-symbol-meta{color:var(--market-muted);font-size:11px}.catalog-status-tag{display:inline-flex;align-items:center;height:22px;padding:0 7px;border:1px solid #b9ddc8;background:#f1faf4;color:var(--market-green);font-size:10px}.catalog-status-tag.is-hidden{border-color:#e4c5a7;background:#fff8f0;color:#a26b39}.catalog-row-actions{display:flex;align-items:center;gap:4px}.catalog-row-action{display:inline-grid;width:28px;height:28px;place-items:center;padding:0;border:1px solid transparent;border-radius:3px;background:transparent;color:#62717d;cursor:pointer}.catalog-row-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.catalog-row-action:hover,.catalog-row-action:focus-visible{border-color:#c8dce9;background:#edf5fa;color:var(--market-blue-dark);outline:none}.catalog-row-action.is-favorite{color:#b2762f}.catalog-row-action.is-favorite svg{fill:#fff4dd}.catalog-row-action[data-catalog-pinned] svg{fill:currentColor;stroke:none}.catalog-row-action.is-pinned{color:#d39a00}.catalog-row-action.is-danger{color:var(--market-red)}.catalog-row-action.is-danger:hover,.catalog-row-action.is-danger:focus-visible{border-color:#edc8c5;background:#fff2f1}.catalog-category-manager{margin:0 0 12px;padding:14px;border:1px solid var(--market-line);background:#f8fafb}.catalog-category-manager[hidden]{display:none}.catalog-category-manager-heading h3{margin:0;font-size:13px}.catalog-category-manager-heading p{margin:4px 0 12px;color:var(--market-muted);font-size:11px}.catalog-category-create{display:flex;align-items:center;gap:8px;padding-bottom:12px;border-bottom:1px solid var(--market-line)}.catalog-category-create label{flex:0 0 auto;color:var(--market-text);font-size:11px;font-weight:700}.catalog-category-create input,.catalog-category-editor-row input{min-width:0;height:32px;padding:0 9px;border:1px solid #cbd5de;border-radius:2px;background:#fff;color:var(--market-text);font-size:12px}.catalog-category-create input{width:min(280px,100%)}.catalog-category-editor-list{display:grid;gap:4px;max-height:300px;overflow:auto;padding:10px 0}.catalog-category-editor-row{display:grid;grid-template-columns:minmax(120px,190px) minmax(140px,1fr) auto;align-items:center;gap:8px;min-height:34px}.catalog-category-editor-code{overflow:hidden;color:var(--market-muted);font:11px ui-monospace,SFMono-Regular,Consolas,monospace;text-overflow:ellipsis}.catalog-category-order-actions{display:flex;gap:3px}.catalog-category-order-button{width:28px;height:28px;padding:0;border:1px solid var(--market-line);border-radius:2px;background:#fff;color:var(--market-muted);cursor:pointer;font-size:14px}.catalog-category-order-button:hover:not(:disabled),.catalog-category-order-button:focus-visible{border-color:#c8dce9;background:#edf5fa;color:var(--market-blue-dark);outline:none}.catalog-category-order-button:disabled{opacity:.4;cursor:default}.catalog-category-manager-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid var(--market-line)}.catalog-category-status{color:var(--market-muted);font-size:11px}.catalog-category-status.error{color:var(--market-red)}.catalog-category-status.saved{color:var(--market-green)}.catalog-empty{margin:0;padding:38px 18px;color:var(--market-muted);text-align:center;font-size:12px}.catalog-empty[hidden]{display:none}.catalog-page{min-height:100vh}.catalog-page .market-shell>:not(#catalog-dialog){display:none!important}.catalog-page #catalog-dialog{position:static;inset:auto;display:block;width:100%;max-width:none;max-height:none;margin:0;border:0;box-shadow:none}.catalog-page #catalog-dialog::backdrop{display:none}.catalog-page .catalog-dialog-content{max-height:none;overflow:visible;padding:18px}@media(max-width:720px){.market-shell{padding:3px 5px 5px}.market-toolbar{align-items:stretch;flex-direction:column;gap:9px}.toolbar-group,.range-stats-options{flex-wrap:wrap}.settings-save-status{min-height:16px}.category-tab{flex:1;padding:10px 8px}.quotes-table{min-width:0}.change-alert-dialog-actions{align-items:stretch;flex-direction:column}.change-alert-dialog{width:min(520px,calc(100vw - 16px));max-height:calc(100vh - 16px)}.change-alert-dialog form{padding:16px}.change-alert-section-heading{align-items:flex-start;flex-direction:column;gap:2px}.change-alert-form-grid{grid-template-columns:1fr;gap:8px}.monitor-level-table{min-width:640px}.monitor-level-add{grid-template-columns:1fr 1fr}.monitor-level-add .action-button{grid-column:1 / -1}.change-alert-dialog-actions>div{justify-content:end}.catalog-dialog-content{padding:14px}.catalog-toolbar{align-items:stretch;flex-direction:column}.catalog-search{width:100%}.catalog-result-count{margin-left:0}.catalog-form-grid{grid-template-columns:1fr}.catalog-form-actions{align-items:stretch;flex-direction:column}.catalog-form-status{margin-right:0}.catalog-category-create{align-items:stretch;flex-direction:column}.catalog-category-create input{width:100%}.catalog-category-editor-row{grid-template-columns:minmax(80px,1fr) minmax(120px,1.5fr) auto}.market-hours-content{padding:16px 16px 20px}.market-hours-heading h2{font-size:21px}.market-hours-heading p{font-size:13px}.market-hours-heading .market-hours-countdown{font-size:12px}.market-hours-legend{gap:15px 9px;padding:0}}
