.trade-page { display: grid; gap: 10px; }
.workspace:has(.trade-page:not([hidden])) > #runtime-banner { display: none; }
.trade-chart-controls input:focus, .trade-chart-controls select:focus, .trade-ticket-field input:focus, .trade-ticket-field select:focus, .watchlist-add-form input:focus { border-color: #8eb95b; outline: 2px solid rgb(173 221 106 / 12%); }
.mexc-product-bar { display: flex; min-height: 46px; align-items: center; gap: 10px; padding: 7px 12px; }
.mexc-product-bar[hidden] { display: none !important; }
.mexc-product-bar > label { color: var(--quiet); font-size: 8px; font-weight: 730; letter-spacing: .08em; }
.mexc-product-bar > select { min-width: 145px; height: 31px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 6px; background: #0a140f; color: var(--text); font-size: 9px; }
.mexc-product-bar > span { margin-left: auto; color: var(--quiet); font-size: 8px; }
.trade-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); align-items: start; gap: 10px; }
.trade-chart-panel { min-width: 0; }
.trade-chart-provider { display: inline-flex; min-height: 23px; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid #315641; border-radius: 6px; background: #142019; color: #a6e4b8; font-size: 8px; font-weight: 680; white-space: nowrap; }
.trade-chart-provider.is-waiting { border-color: #465448; background: #191d19; color: #b9c0b9; }
.trade-chart-provider.is-loading { border-color: #705e35; background: #252116; color: #e7cf90; }
.trade-chart-provider.is-error { border-color: #67413f; background: #291d1e; color: #f0aaa3; }
.trade-provider-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--green); }
.trade-chart-provider.is-waiting .trade-provider-dot { background: #88948b; }
.trade-chart-provider.is-loading .trade-provider-dot { background: #e7bf5d; }
.trade-chart-provider.is-error .trade-provider-dot { background: #e47b73; }
.trade-chart-controls { display: grid; grid-template-columns: minmax(160px, 1fr) 92px auto; align-items: end; gap: 6px 8px; padding: 6px 9px; border-bottom: 1px solid var(--line); background: #0d1518; }
.trade-chart-controls > label { display: grid; min-width: 0; gap: 3px; color: #c5d0c9; font-size: 8px; font-weight: 650; }
.trade-chart-field-label { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 5px; }
.trade-chart-field-label > small { overflow: hidden; color: var(--quiet); font-size: 7px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.trade-symbol-field { grid-column: 1; grid-row: 1; }
.trade-timeframe-field { grid-column: 2; grid-row: 1; }
.trade-chart-controls input, .trade-chart-controls select, .trade-ticket-field input, .trade-ticket-field select, .watchlist-add-form input { width: 100%; min-width: 0; height: 31px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 7px; background: #0a140f; color: var(--text); font: inherit; font-size: 10px; }
.trade-chart-controls input::placeholder { color: #74827a; }
.trade-chart-control-actions { display: flex; grid-column: 3; grid-row: 1; align-items: center; gap: 5px; }
.trade-chart-control-actions .button { display: inline-flex; min-height: 31px; align-items: center; justify-content: center; gap: 4px; padding: 0 8px; font-size: 9px; white-space: nowrap; }
.trade-chart-control-actions .button > span:first-child { font-size: 14px; line-height: 1; }
.trade-chart-frame-wrap { position: relative; min-height: 500px; height: min(63vh, 640px); background: #0b1117; }
.trade-chart-reading { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 7px 12px; border-bottom: 1px solid var(--line); background: #0e161b; }
.trade-chart-reading[hidden] { display: none !important; }
.trade-chart-reading p { min-width: 0; margin: 0; color: #cbd8d0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; line-height: 1.5; }
.trade-chart-reading p[data-direction="naik"] { color: #a6e4b8; }
.trade-chart-reading p[data-direction="turun"] { color: #f0aaa3; }
.trade-chart-reading small { flex: 0 0 auto; color: var(--quiet); font-size: 8px; }
.trade-chart-toolbar { position: absolute; z-index: 4; top: 50%; left: 8px; width: auto; padding: 4px; transform: translateY(-50%); border: 1px solid rgb(85 105 91 / 72%); border-radius: 10px; background: rgb(11 18 20 / 92%); box-shadow: 0 8px 24px rgb(0 0 0 / 24%); backdrop-filter: blur(10px); }
.trade-chart-view-tools, .trade-chart-indicators { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 5px; }
.trade-chart-view-tools { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
.trade-chart-indicators { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.trade-chart-view-tools button, .trade-chart-indicators button { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; gap: 5px; padding: 0 9px; border: 1px solid #34443a; border-radius: 7px; background: #111a1d; color: #c2cec6; cursor: pointer; font: 600 9px/1 system-ui, sans-serif; }
.trade-chart-view-tools button { width: 34px; min-width: 34px; min-height: 34px; flex: 0 0 34px; padding: 0; }
.trade-chart-view-tools button > span:first-child { color: #dce9d6; font-size: 12px; font-weight: 750; }
.trade-chart-view-tools button:hover, .trade-chart-indicators button:hover { border-color: #617d69; color: #edf5ef; }
.trade-chart-indicators button[aria-pressed="false"] { opacity: .52; }
.trade-chart-indicators button:focus-visible, .trade-chart-view-tools button:focus-visible { outline: 2px solid #8eb95b; outline-offset: 1px; }
.trade-chart-overlay { position: absolute; z-index: 3; top: 8px; left: 56px; display: grid; width: max-content; max-width: calc(100% - 64px); gap: 3px; padding: 4px 5px; border: 1px solid rgb(85 105 91 / 65%); border-radius: 7px; background: rgb(11 18 20 / 90%); box-shadow: 0 5px 16px rgb(0 0 0 / 16%); }
.trade-chart-market-meta { display: flex; min-width: 0; align-items: center; gap: 6px; }
.trade-chart-market-meta > strong { overflow: hidden; color: #e1eae4; font: 650 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.trade-chart-market-meta .trade-chart-provider { min-height: 17px; padding: 0 5px; font-size: 7px; }
.trade-chart-updated { overflow: hidden; max-width: 132px; color: #87968c; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.trade-chart-floating-indicators { width: max-content; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.trade-chart-floating-indicators button { min-height: 23px; flex: 0 0 auto; gap: 4px; padding: 0 6px; border-radius: 5px; font-size: 8px; }
.indicator-key { width: 7px; height: 7px; border-radius: 50%; background: #d7dcd8; }
.indicator-key.ma-high { background: #e8b85c; }
.indicator-key.ma-low { background: #68b8ed; }
.indicator-key.stoch-rsi { background: #c4a7ff; }
.trade-chart-widget { width: 100%; height: 100%; min-height: inherit; }
.trade-chart-widget canvas { display: block; width: 100%; height: 100%; outline: none; cursor: grab; touch-action: none; }
.trade-chart-widget canvas:active { cursor: grabbing; }
.trade-chart-widget canvas:focus-visible { outline: 2px solid #8eb95b; outline-offset: -3px; }
.trade-chart-placeholder { position: absolute; z-index: 2; inset: 0; display: grid; align-content: center; justify-items: center; gap: 9px; padding: 16px; background: #0b1117; color: var(--muted); text-align: center; pointer-events: none; }
.trade-chart-placeholder[hidden] { display: none; }
.trade-chart-placeholder strong { color: #d8e2db; font-size: 12px; font-weight: 700; }
.trade-chart-placeholder > span:last-child { max-width: 320px; font-size: 10px; line-height: 1.5; }
.trade-chart-loader { display: block; width: 19px; height: 19px; border: 2px solid #314239; border-top-color: var(--accent); border-radius: 50%; animation: trade-spin .8s linear infinite; }
@keyframes trade-spin { to { transform: rotate(360deg); } }
.trade-chart-disclaimer { margin: 0; padding: 8px 11px 10px; color: var(--quiet); font-size: 8px; line-height: 1.5; }
.trade-ticket-panel { position: sticky; top: 10px; }
.trade-ticket-body { display: grid; gap: 10px; padding: 11px; }
.trade-ticket-symbol { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 9px; }
.trade-ticket-symbol strong { color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; font-weight: 650; }
.trade-side-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.trade-side-toggle button { min-height: 39px; border: 1px solid #34443a; border-radius: 7px; background: #101914; color: #a8b5ac; cursor: pointer; font-size: 10px; font-weight: 680; }
.trade-side-toggle button[aria-pressed="true"][data-trade-side="buy"] { border-color: #3d7550; background: #14291b; color: #a6e4b8; }
.trade-side-toggle button[aria-pressed="true"][data-trade-side="sell"] { border-color: #744a46; background: #2a1c1d; color: #f0aaa3; }
.trade-ticket-field { display: grid; min-width: 0; gap: 5px; color: #b8c5bd; font-size: 8px; font-weight: 630; }
.trade-ticket-field[hidden] { display: none !important; }
.trade-ticket-field input, .trade-ticket-field select { height: 36px; font-size: 10px; }
.trade-allocation-panel { display: grid; gap: 7px; padding: 9px; border: 1px solid #34443a; border-radius: 7px; background: #0d1612; }
.trade-allocation-panel[hidden] { display: none !important; }
.trade-allocation-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #cbd8d0; font-size: 9px; font-weight: 650; }
.trade-allocation-label output { color: #c9e6a5; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.trade-allocation-panel input[type="range"] { width: 100%; height: 24px; margin: 0; accent-color: #a6d46d; cursor: pointer; }
.trade-allocation-estimate { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.trade-allocation-estimate span { min-width: 0; color: var(--muted); font-size: 8px; }
.trade-allocation-estimate strong { color: #dce9d6; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; text-align: right; }
.trade-allocation-panel > small { color: var(--quiet); font-size: 8px; line-height: 1.4; }
.trade-futures-options { display: grid; gap: 8px; }
.trade-futures-options[hidden] { display: none !important; }
.trade-ticket-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.trade-order-notice { display: grid; gap: 4px; padding: 9px; border: 1px solid #4a4230; border-radius: 7px; background: #242219; }
.trade-order-notice strong { color: #e7cd8c; font-size: 9px; font-weight: 680; }
.trade-order-notice span { color: #b8ac89; font-size: 8px; line-height: 1.45; }
.trade-order-notice.is-connected { border-color: #315641; background: #142019; }
.trade-order-notice.is-connected strong, .trade-order-notice.is-connected span { color: #a6e4b8; }
.trade-order-notice.is-error { border-color: #67413f; background: #291d1e; }
.trade-order-notice.is-error strong, .trade-order-notice.is-error span { color: #f0aaa3; }
.trade-assistant-condition { display: grid; gap: 4px; padding: 9px; border: 1px solid #4d5936; border-radius: 7px; background: #20251b; }
.trade-assistant-condition[hidden] { display: none !important; }
.trade-assistant-condition strong { color: #dce8ac; font-size: 9px; }
.trade-assistant-condition span { color: #c1cba4; font-size: 8px; line-height: 1.45; }
.trade-submit-button { width: 100%; min-height: 38px; }
.trade-submit-button:disabled { cursor: not-allowed; opacity: .5; }
.trade-open-orders-block { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.trade-open-orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #cbd8d0; font-size: 9px; }
.trade-open-orders { display: grid; gap: 5px; }
.trade-open-order { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px; border: 1px solid #29383b; border-radius: 6px; background: #0c1416; }
.trade-open-order-details { display: grid; min-width: 0; gap: 2px; }
.trade-open-order-details strong { overflow: hidden; color: #dce6de; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.trade-open-order-details span, .trade-open-order-details small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.trade-open-orders-empty { margin: 0; padding: 7px; color: var(--quiet); font-size: 8px; }
.trade-order-dialog { width: min(420px, calc(100vw - 28px)); max-width: none; padding: 0; border: 1px solid #34443a; border-radius: 10px; background: #10181b; color: var(--text); box-shadow: 0 24px 80px rgb(0 0 0 / 55%); }
.trade-order-dialog::backdrop { background: rgb(3 8 7 / 78%); backdrop-filter: blur(3px); }
.trade-order-dialog-body { display: grid; gap: 10px; padding: 16px; }
.trade-order-dialog-body h2 { margin: 0; font-size: 15px; }
.trade-order-dialog-body > p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.trade-order-confirm-details { display: grid; grid-template-columns: minmax(100px, .75fr) minmax(0, 1fr); gap: 6px 10px; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #0b1215; }
.trade-order-confirm-details dt { color: var(--quiet); font-size: 8px; }
.trade-order-confirm-details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #dce6de; font-size: 9px; font-weight: 650; }
.trade-order-dialog-actions { display: flex; justify-content: flex-end; gap: 7px; }
.trade-ticket-footnote { margin: -2px 0 0; color: var(--quiet); font-size: 8px; line-height: 1.45; }
.watchlist-panel { overflow: hidden; }
.watchlist-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px 13px; }
.watchlist-heading-copy { min-width: 0; }
.watchlist-heading-copy .section-eyebrow { color: #91b98f; }
.watchlist-heading-copy h2 { margin: 4px 0 3px; color: #e7f0e9; font-size: 15px; font-weight: 680; letter-spacing: -.02em; }
.watchlist-heading-copy p { margin: 0; color: #8d9c92; font-size: 9px; line-height: 1.5; }
.watchlist-heading-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.watchlist-heading-actions .count-tag { display: inline-flex; min-height: 26px; align-items: center; gap: 4px; padding: 0 9px; color: #b9c8bd; }
.watchlist-heading-actions .count-tag > span { color: #e4eee6; font-variant-numeric: tabular-nums; }
.watchlist-refresh-button { display: inline-grid; width: 29px; height: 29px; place-items: center; border: 1px solid #33443b; border-radius: 7px; background: #111a16; color: #bfcec2; cursor: pointer; font-size: 17px; line-height: 1; transition: background .16s, border-color .16s, color .16s; }
.watchlist-refresh-button:hover { border-color: #62826a; background: #17251c; color: #e1f0e4; }
.watchlist-refresh-button:disabled { cursor: wait; opacity: .7; }
.watchlist-refresh-button.is-loading > span { animation: watchlist-spin .9s linear infinite; }
@keyframes watchlist-spin { to { transform: rotate(360deg); } }
.watchlist-market-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 0 17px 12px; }
.watchlist-summary-item { display: flex; min-height: 47px; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid rgb(171 204 183 / 10%); border-radius: 8px; background: linear-gradient(110deg, rgb(255 255 255 / 2.4%), rgb(255 255 255 / .4%)); }
.watchlist-summary-item strong { color: #e6efe8; font: 650 16px/1 ui-monospace, SFMono-Regular, Consolas, monospace; font-variant-numeric: tabular-nums; }
.watchlist-summary-item span { color: #89988e; font-size: 7px; font-weight: 750; letter-spacing: .11em; }
.watchlist-summary-item.is-up strong { color: #80daa0; }
.watchlist-summary-item.is-down strong { color: #f18b82; }
.watchlist-toolbar { display: flex; min-height: 31px; align-items: center; padding: 0 13px; border-top: 1px solid rgb(174 210 194 / 8%); background: #101715; }
.watchlist-table-heading { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) 100px minmax(105px, .7fr) 95px 68px; align-items: center; gap: 11px; color: #718078; font-size: 7px; font-weight: 750; letter-spacing: .09em; }
.watchlist-table-heading span:nth-child(2) { text-align: center; }
.watchlist-table-heading span:nth-child(3), .watchlist-table-heading span:nth-child(4) { text-align: right; }
.watchlist-updated { flex: 0 0 auto; color: #77867d; font-size: 8px; font-variant-numeric: tabular-nums; }
.watchlist-add-form { display: grid; grid-template-columns: 165px minmax(150px, 1fr) auto; align-items: center; gap: 9px; padding: 10px 13px; border-top: 1px solid rgb(174 210 194 / 8%); border-bottom: 1px solid var(--line); background: #0d1512; }
.watchlist-add-copy { display: grid; gap: 3px; }
.watchlist-add-form > .watchlist-add-copy label { color: #d3ded6; font-size: 9px; font-weight: 680; }
.watchlist-add-copy small { color: #7d8c82; font-size: 7px; }
.watchlist-add-form input { height: 33px; }
.watchlist-add-form input::placeholder { color: #718078; }
.watchlist-add-form .button { min-height: 33px; gap: 5px; padding-inline: 11px; }
.watchlist-add-form .button > span:first-child { font-size: 13px; line-height: 1; }
.watchlist-list { display: grid; }
.watchlist-row { display: grid; min-height: 64px; grid-template-columns: minmax(0, 1fr) 100px minmax(105px, .7fr) 95px 68px; align-items: center; gap: 11px; padding: 8px 13px; border-bottom: 1px solid rgb(174 210 194 / 7%); transition: background .15s; }
.watchlist-row:hover { background: rgb(255 255 255 / 1.7%); }
.watchlist-row:last-child { border-bottom: 0; }
.watchlist-symbol-copy { display: grid; min-width: 0; gap: 3px; }
.watchlist-name-line { display: flex; min-width: 0; align-items: center; gap: 6px; }
.watchlist-symbol-copy strong { overflow: hidden; color: #e4eee7; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.watchlist-source-tag { flex: 0 0 auto; padding: 2px 4px; border: 1px solid rgb(153 179 160 / 17%); border-radius: 4px; color: #91a298; font-size: 6px; font-weight: 750; letter-spacing: .06em; }
.watchlist-symbol-copy small { overflow: hidden; color: #849289; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.watchlist-sparkline { display: block; width: 92px; height: 30px; justify-self: center; overflow: visible; }
.watchlist-price-block, .watchlist-change { display: grid; min-width: 0; justify-items: end; gap: 3px; font-variant-numeric: tabular-nums; }
.watchlist-price-block strong { overflow: hidden; max-width: 100%; color: #e2ebe4; font: 600 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.watchlist-price-block small { overflow: hidden; max-width: 100%; color: #74837a; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.watchlist-change strong { color: #98a59c; font: 700 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.watchlist-change small { color: #74837a; font-size: 6px; font-weight: 750; letter-spacing: .08em; }
.watchlist-change.is-up strong { color: #82dca1; }
.watchlist-change.is-down strong { color: #f18b82; }
.watchlist-row.is-unavailable .watchlist-price-block small { color: #b49f76; }
.watchlist-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.watchlist-chart-link { display: inline-flex; min-height: 27px; align-items: center; padding: 0 8px; border: 1px solid #33473b; border-radius: 6px; background: #142019; color: #b8d3bd; font-size: 8px; font-weight: 680; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.watchlist-chart-link:hover { border-color: #66846b; background: #1b2b20; color: #e4f2e6; }
.watchlist-remove { display: inline-grid; width: 26px; height: 27px; flex: 0 0 26px; place-items: center; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #849187; cursor: pointer; font-size: 16px; line-height: 1; }
.watchlist-remove:hover { border-color: #604140; background: #271c1d; color: #f0aaa3; }
.watchlist-empty { display: grid; justify-items: center; gap: 6px; padding: 32px 16px; color: var(--muted); text-align: center; }
.watchlist-empty-icon { color: #9dcc84; font-size: 28px; line-height: 1; }
.watchlist-empty strong { color: #dbe7de; font-size: 11px; }
.watchlist-empty p { max-width: 320px; margin: 0; color: #829087; font-size: 8px; line-height: 1.5; }
.watchlist-footnote { margin: 0; padding: 8px 13px; border-top: 1px solid rgb(174 210 194 / 7%); color: #748178; font-size: 7px; line-height: 1.4; }

@media (max-width: 1000px) {
  .trade-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .trade-chart-frame-wrap { min-height: 430px; }
}
@media (max-width: 760px) {
  .trade-layout { grid-template-columns: minmax(0, 1fr); }
  .trade-ticket-panel { position: static; }
  .trade-chart-frame-wrap { height: 480px; }
  .watchlist-table-heading { display: none; }
  .watchlist-row { grid-template-columns: minmax(0, 1fr) 82px minmax(90px, .75fr) 76px; gap: 7px; padding: 8px 10px; }
  .watchlist-row-actions { grid-column: 1 / -1; justify-content: flex-end; margin-top: -3px; }
  .watchlist-symbol-copy { grid-row: 1; }
  .watchlist-sparkline { width: 78px; height: 28px; grid-column: 2; grid-row: 1; }
  .watchlist-price-block { grid-column: 3; grid-row: 1; }
  .watchlist-change { grid-column: 4; grid-row: 1; }
}
@media (max-width: 600px) {
  .mexc-product-bar { align-items: flex-start; flex-wrap: wrap; }
  .mexc-product-bar > span { width: 100%; margin-left: 0; }
  .trade-chart-controls { grid-template-columns: minmax(0, 1fr) 82px; gap: 5px 7px; padding: 6px 8px; }
  .trade-symbol-field { grid-column: 1; grid-row: 1; }
  .trade-timeframe-field { grid-column: 2; grid-row: 1; }
  .trade-chart-control-actions { display: grid; grid-column: 1 / -1; grid-row: 2; grid-template-columns: 1fr 1fr; }
  .trade-chart-control-actions .button { min-height: 32px; }
  .trade-chart-reading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .trade-chart-toolbar { top: 50%; left: 6px; padding: 4px; transform: translateY(-50%); }
  .trade-chart-view-tools button { width: 36px; min-width: 36px; min-height: 36px; flex-basis: 36px; }
  .trade-chart-overlay { top: 6px; left: 54px; max-width: calc(100% - 60px); gap: 2px; padding: 3px 4px; }
  .trade-chart-market-meta { gap: 5px; }
  .trade-chart-market-meta > strong { font-size: 8px; }
  .trade-chart-market-meta .trade-chart-provider { min-height: 16px; font-size: 7px; }
  .trade-chart-floating-indicators button { min-height: 22px; padding: 0 5px; font-size: 7px; }
  .trade-chart-indicators { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
  .trade-chart-indicators button { flex: 0 0 auto; min-height: 29px; }
  .trade-chart-indicators.trade-chart-floating-indicators button { min-height: 22px; }
  .trade-chart-frame-wrap { height: 410px; min-height: 360px; }
  .trade-chart-widget { min-height: 360px; }
  .trade-ticket-body { gap: 9px; padding: 10px; }
  .trade-side-toggle button { min-height: 44px; }
  .watchlist-heading { padding: 13px 12px 11px; }
  .watchlist-market-summary { gap: 5px; padding: 0 12px 10px; }
  .watchlist-summary-item { min-height: 40px; gap: 6px; padding: 6px 7px; }
  .watchlist-summary-item strong { font-size: 14px; }
  .watchlist-summary-item span { font-size: 6px; }
  .watchlist-toolbar { align-items: flex-start; padding: 8px 11px; }
  .watchlist-table-heading { display: none; }
  .watchlist-updated { display: none; }
  .watchlist-add-form { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; padding: 9px 11px; }
  .watchlist-add-copy { grid-column: 1 / -1; }
  .watchlist-add-form input { height: 36px; }
  .watchlist-add-form .button { min-height: 36px; }
  .watchlist-row { grid-template-columns: minmax(0, 1fr) 78px minmax(92px, .75fr) 76px; gap: 7px; padding: 8px 10px; }
  .watchlist-sparkline { width: 75px; height: 27px; }
  .watchlist-row-actions { grid-column: 1 / -1; justify-content: flex-end; margin-top: -3px; }
  .watchlist-symbol-copy { grid-row: 1; }
  .watchlist-price-block { grid-column: 3; grid-row: 1; }
  .watchlist-change { grid-column: 4; grid-row: 1; }
  .watchlist-sparkline { grid-column: 2; grid-row: 1; }
  .watchlist-chart-link { min-height: 25px; }
  .watchlist-remove { height: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .trade-chart-loader { animation: none; }
}
