.tmdt-snapshot{--dt-text:#1d1d1f;--dt-muted:#77777f;--dt-line:#e5e5ea;--dt-panel:#f5f5f7;--dt-card:#fff;--dt-green:#16845b;--dt-red:#d92f52;color:var(--dt-text);font:14px/1.45 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif!important;text-align:left!important;letter-spacing:normal;border:1px solid var(--dt-line);background:var(--dt-card);border-radius:20px;padding:26px;margin:0 0 34px;box-shadow:0 5px 24px #00000004;min-width:0;box-sizing:border-box;overflow:hidden}
[data-tm-theme=dark] .tmdt-snapshot{--dt-text:#f5f5f7;--dt-muted:#a1a1aa;--dt-line:#3c3c3f;--dt-panel:#2c2c2e;--dt-card:#222224;--dt-green:#55d79b;--dt-red:#ff6b85;box-shadow:none}
.tmdt-snapshot *{box-sizing:border-box}.tmdt-snapshot h2,.tmdt-snapshot h3,.tmdt-snapshot p{font-family:inherit!important;letter-spacing:normal!important;text-align:left!important;hyphens:none!important}.tmdt-snapshot p{margin:0!important;font-size:inherit;line-height:1.5}.tmdt-snapshot a{cursor:pointer;color:#007aff;text-decoration:none}.tmdt-snapshot a:hover{text-decoration:underline}.tmdt-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.tmdt-eyebrow{font-size:10px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--dt-muted)}.tmdt-header h2{font-size:24px!important;font-weight:650!important;line-height:1.2!important;margin:5px 0 7px!important}.tmdt-header p{font-size:12px!important;color:var(--dt-muted)}.tmdt-day-link{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:500;white-space:nowrap;padding:8px 11px;border-radius:9px;background:var(--dt-panel)}.tmdt-day-link span{font-size:17px;line-height:1}.tmdt-comparison{color:var(--dt-muted);font-size:12px!important;margin:-6px 0 18px!important}.tmdt-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--dt-panel);border-radius:13px;padding:17px 8px;margin-bottom:25px;gap:4px}.tmdt-metric{padding:0 10px;min-width:0}.tmdt-metric:not(:first-child){border-left:1px solid var(--dt-line)}.tmdt-metric>span{display:block;color:var(--dt-muted);font-size:11px;margin-bottom:5px}.tmdt-metric strong{display:block;font-size:21px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap}.tmdt-snapshot .is-positive{color:var(--dt-green)}.tmdt-snapshot .is-negative{color:var(--dt-red)}.tmdt-section-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 9px;gap:12px}.tmdt-section-heading h3{font-size:14px!important;font-weight:600!important;line-height:1.4!important;margin:0!important}.tmdt-section-heading>span{font-size:11px;color:var(--dt-muted)}.tmdt-position{padding:17px 0;border-bottom:1px solid var(--dt-line);margin:0}.tmdt-position-main{display:flex;justify-content:space-between;align-items:center;gap:18px}.tmdt-instrument{display:flex;align-items:center;gap:12px;min-width:0}.tmdt-icon,.tmdt-art-fallback{height:38px;width:38px;flex:0 0 38px;border-radius:50%;object-fit:contain;margin:0!important}.tmdt-art-fallback{display:inline-flex;align-items:center;justify-content:center;background:var(--dt-panel);font-size:18px;font-weight:600}.tmdt-name-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;row-gap:5px}.tmdt-name-row>strong{font-size:17px;font-weight:600;line-height:1.25}.tmdt-direction,.tmdt-leverage{border-radius:20px;white-space:nowrap;font-size:10px;font-weight:650;padding:3px 8px;letter-spacing:.02em;line-height:1.3}.tmdt-direction{text-transform:uppercase;background:#12845614;color:var(--dt-green)}.tmdt-direction.short{background:#d92f5210;color:var(--dt-red)}.tmdt-leverage{background:var(--dt-panel);color:var(--dt-muted)}.tmdt-snapshot .tmdt-quantity{color:var(--dt-muted);font-size:13px!important;margin-top:4px!important}.tmdt-position-values{text-align:right;flex-shrink:0;font-variant-numeric:tabular-nums}.tmdt-position-values>strong{display:block;font-size:19px;font-weight:600;line-height:1.35}.tmdt-value-label,.tmdt-roi-label{display:block;color:var(--dt-muted);font-size:10px;line-height:1.5}.tmdt-pnl{font-size:14px;font-weight:550;margin-top:2px;white-space:nowrap}.tmdt-delta-label{font-size:10px}.tmdt-trade-meta{display:flex;align-items:center;gap:7px 14px;flex-wrap:wrap;margin-top:4px;padding-left:50px;color:var(--dt-muted);font-size:10px}.tmdt-trade-state{font-weight:600}.tmdt-trade-state.is-open:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--dt-green);margin:0 5px 1px 0}.tmdt-empty{color:var(--dt-muted);font-size:12px!important;padding:10px 0}.tmdt-badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tmdt-badge{border:1px solid var(--dt-line);border-radius:12px;padding:12px;align-self:start;background:var(--dt-card);min-width:0}.tmdt-badge summary{cursor:pointer;display:flex;gap:11px;align-items:center;list-style:none}.tmdt-badge summary::-webkit-details-marker{display:none}.tmdt-badge-art{width:44px;height:44px;object-fit:contain;flex:0 0 44px;margin:0!important}.tmdt-badge summary>span{display:grid;gap:3px}.tmdt-badge strong{font-size:12px;font-weight:600}.tmdt-badge span>span,.tmdt-badge small{font-size:10px;color:var(--dt-muted);line-height:1.4}.tmdt-badge-description{font-size:12px!important;margin-top:12px!important;color:var(--dt-muted)}.tmdt-caption{margin-top:23px;padding-top:15px;border-top:1px solid var(--dt-line);color:var(--dt-muted);font-size:10px;line-height:1.55}.tmdt-caption>span{display:block;margin-top:4px}.tmdt-snapshot button,.tmdt-snapshot summary{cursor:pointer}
.tmdt-editor{flex:0 1 auto;min-height:0;max-height:43%;overflow:auto;border-bottom:1px solid var(--tm-border,#e5e5ea);background:var(--tm-panel,#f5f5f7)}.tmdt-editor-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 28px;position:sticky;top:0;z-index:1;background:inherit}.tmdt-switch{display:flex;align-items:center;gap:9px;font:500 12px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;cursor:pointer;color:inherit}.tmdt-switch input{position:absolute;opacity:0;width:1px;height:1px}.tmdt-switch-track{width:30px;height:18px;border-radius:12px;background:#b5b5ba;position:relative;flex:0 0 30px;transition:background .15s}.tmdt-switch-track:after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.tmdt-switch input:checked+.tmdt-switch-track{background:#34c759}.tmdt-switch input:checked+.tmdt-switch-track:after{transform:translateX(12px)}.tmdt-switch input:focus-visible+.tmdt-switch-track{outline:3px solid #007aff;outline-offset:3px}.tmdt-editor-content{padding:0 28px 16px}.tmdt-editor-note,.tmdt-editor-status{font:11px/1.45 -apple-system,BlinkMacSystemFont,sans-serif;color:#77777f;margin:0 0 8px}.tmdt-editor-status[role=alert]{color:#d92f52}.tmdt-preview-details>summary{cursor:pointer;color:#007aff;font-size:12px;font-weight:500;margin:8px 0}.tmdt-editor-preview .tmdt-snapshot{margin:0;border-radius:14px;padding:20px}.tmdt-editor-preview [aria-busy=true]{opacity:.7}.tmdt-editor [hidden]{display:none!important}.tmdt-editor-bar button{appearance:none;-webkit-appearance:none;font:500 11px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;padding:6px 10px;cursor:pointer;color:#007aff;background:#fff;border:1px solid #d1d1d6;border-radius:7px;box-shadow:0 1px 2px #0000000a}.tmdt-editor-bar button:disabled{opacity:.5;cursor:default}.tmdt-editor-bar button:hover:not(:disabled){background:#f0f0f4}[data-tm-theme=dark] .tmdt-editor-bar button{background:#3a3a3c;border-color:#505054;color:#64a7ff}[data-tm-theme=dark] .tmdt-editor-bar button:hover:not(:disabled){background:#48484a}.tmdt-with-stats .tm-editor-metadata{max-height:27%}
[data-tm-theme=dark] .tmdt-editor{background:#252527;border-color:#3c3c3f;color:#f5f5f7}[data-tm-theme=dark] .tmdt-editor-note,[data-tm-theme=dark] .tmdt-editor-status{color:#a1a1aa}[data-tm-theme=dark] .tmdt-editor-status[role=alert]{color:#ff6b85}
@media(max-width:760px){.tmdt-snapshot{border-radius:15px;padding:18px;margin-bottom:26px}.tmdt-header{gap:10px;align-items:flex-start}.tmdt-header h2{font-size:22px!important}.tmdt-header p{font-size:11px!important}.tmdt-day-link{font-size:11px;padding:7px 8px}.tmdt-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 6px;padding:16px 8px}.tmdt-metric:nth-child(3){border-left:0}.tmdt-metric strong{display:block;font-size:21px}.tmdt-position-main{gap:10px}.tmdt-instrument{gap:8px}.tmdt-icon,.tmdt-art-fallback{width:30px;height:30px;flex-basis:30px}.tmdt-name-row{gap:5px}.tmdt-name-row>strong{font-size:15px}.tmdt-direction,.tmdt-leverage{font-size:9px;padding:3px 6px}.tmdt-position-values>strong{font-size:17px}.tmdt-pnl{font-size:12px}.tmdt-snapshot .tmdt-quantity{font-size:12px!important}.tmdt-trade-meta{padding-left:0;font-size:9px;gap:5px 10px}.tmdt-badges{grid-template-columns:1fr}.tmdt-editor-bar{padding:10px 16px;gap:8px}.tmdt-switch{font-size:11px}.tmdt-editor-content{padding:0 12px 12px}.tmdt-editor-preview .tmdt-snapshot{padding:13px}.tmdt-editor{max-height:40%}}
@media(prefers-reduced-motion:reduce){.tmdt-switch-track,.tmdt-switch-track:after{transition:none}}

.tmdt-editor-tools{grid-column:1/-1}.tmdt-editor-tools .tmdt-editor-bar{padding:0;position:static;justify-content:flex-start;gap:12px}.tmdt-editor-tools .tmdt-editor-status{margin:0;flex:1;min-width:0}.tmdt-editor-block{cursor:default;margin:0 0 1em!important}.tmdt-editor-block .tmdt-snapshot{margin-bottom:0}.tmdt-editor-block:focus{outline:2px solid #007aff;outline-offset:2px}.tmdt-loading{border:1px solid #e5e5ea;border-radius:12px;padding:24px;color:#8e8e93;font:13px -apple-system,BlinkMacSystemFont,sans-serif}[data-tm-theme=dark] .tmdt-loading{border-color:#3c3c3f;background:#222224}

.tmdt-position:last-of-type{border-bottom:0;padding-bottom:0}

html[data-tm-theme=dark] body.mce-content-body{background:#1c1c1e!important;color:#f5f5f7!important}

/* Keep the stats control in the same quiet, compact toolbar as formatting. */
.tm-editor-writing .mce-btn.mce-tmdt-toolbar-button{color:#50575e!important;background:transparent!important;border:1px solid transparent!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important}
.tm-editor-writing .mce-btn.mce-tmdt-toolbar-button:hover,.tm-editor-writing .mce-btn.mce-tmdt-toolbar-button.mce-active,.tm-editor-writing .mce-btn.mce-tmdt-toolbar-button.mce-expanded{background:var(--tm-selected,#e5e5ea)!important}
.tm-editor-writing .mce-tmdt-toolbar-button>button{display:inline-flex;align-items:center;justify-content:center;vertical-align:top;width:28px;height:26px;padding:3px 4px!important;border:0!important;border-radius:4px;background:transparent!important;box-shadow:none!important;color:inherit!important;text-shadow:none!important}
.tm-editor-writing .mce-tmdt-toolbar-button>button.mce-open{width:16px;padding:0!important;border-left:0!important}
.tm-editor-writing .mce-tmdt-toolbar-button>button:focus-visible{outline:2px solid var(--tm-blue,#007aff);outline-offset:-1px}
.tm-editor-writing .mce-tmdt-toolbar-button .mce-i-tmdt-chart{display:block;width:20px;height:20px;background:currentColor;color:inherit!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='12' width='4' height='9' rx='1'/%3E%3Crect x='10' y='3' width='4' height='18' rx='1'/%3E%3Crect x='17' y='8' width='4' height='13' rx='1'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='12' width='4' height='9' rx='1'/%3E%3Crect x='10' y='3' width='4' height='18' rx='1'/%3E%3Crect x='17' y='8' width='4' height='13' rx='1'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.tm-editor-writing .mce-tmdt-toolbar-button .mce-i-tmdt-chart:before{content:none}
.tm-editor-writing .mce-tmdt-toolbar-button .mce-caret{display:block;color:inherit!important;box-sizing:border-box;width:6px;height:6px;margin:0 1px 3px 0!important;border:0!important;border-right:1.5px solid currentColor!important;border-bottom:1.5px solid currentColor!important;transform:rotate(45deg)}
.tm-editor-writing .mce-tmdt-toolbar-button.mce-expanded .mce-caret{transform:rotate(225deg);margin-bottom:-2px!important}
.tm-editor-writing .mce-tmdt-toolbar-button.mce-disabled{opacity:.45}
html[data-tm-theme=dark] .tm-editor-writing .mce-btn.mce-tmdt-toolbar-button{color:#d3d3d7!important}

/* Saved close charts: one expanded position at a time, with local candle data. */
.tmdt-snapshot [hidden],.tmdt-candle-tooltip[hidden]{display:none!important}
.tmdt-filter-bar{display:flex;justify-content:flex-end;margin:0 0 16px}.tmdt-filter-bar select{appearance:none;-webkit-appearance:none;cursor:pointer!important;color:var(--dt-text);font:500 13px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;border:0;border-radius:9px;padding:8px 32px 8px 12px;max-width:100%;background:var(--dt-panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%238e8e93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center/12px no-repeat}
.tmdt-position-expandable{padding:0!important;position:relative;transition:background-color .15s,border-radius .15s;cursor:pointer!important}.tmdt-position-expandable *{cursor:pointer!important}.tmdt-position-expandable:hover{background:var(--dt-panel);border-radius:12px}.tmdt-snapshot .tmdt-position-toggle{all:unset;box-sizing:border-box;display:block;width:100%;padding:17px 8px;color:inherit;font:inherit;text-align:left;cursor:pointer!important}.tmdt-snapshot .tmdt-position-toggle:focus-visible,.tmdt-chart-wrap:focus-visible,.tmdt-filter-bar select:focus-visible{outline:2px solid #007aff;outline-offset:3px;border-radius:10px}
.tmdt-position-expandable[data-expanded=true]{background:var(--dt-card);border:1px solid var(--dt-line);border-radius:22px;margin:14px 0 18px;box-shadow:0 10px 28px #00000009;padding:20px 18px 6px!important}.tmdt-position-expandable[data-expanded=true]:last-of-type{border-bottom:1px solid var(--dt-line)}.tmdt-position-expandable[data-expanded=true] .tmdt-position-toggle{padding:19px 3px 12px}.tmdt-expand-chevron{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-left:auto;margin-right:5px;margin-top:-4px;flex:0 0 6px}.tmdt-position-expandable[data-expanded=true] .tmdt-expand-chevron{transform:rotate(225deg);margin-top:3px}
.tmdt-chart-toolbar{display:flex;justify-content:flex-end;margin-bottom:19px}.tmdt-timeframe{background:var(--dt-panel);border-radius:18px;padding:6px 15px;font-size:12px;font-weight:600;color:var(--dt-muted)}.tmdt-chart-wrap{position:relative;width:100%;line-height:0;touch-action:pan-y}.tmdt-snapshot .tmdt-chart-image{display:block;width:100%!important;height:auto!important;max-width:100%!important;aspect-ratio:15/8;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain}.tmdt-snapshot .tmdt-chart-dark{display:none}.tmdt-chart-crosshair{position:absolute;top:0;bottom:0;border-left:1px dashed #8e8e9390;pointer-events:none;z-index:1}.tmdt-protections{display:none;align-items:baseline;gap:5px;margin:4px 0 0 50px;font-size:12px;font-variant-numeric:tabular-nums}.tmdt-protections>span:first-child{font-weight:550;margin-right:2px}.tmdt-protection-values{font-weight:600;white-space:nowrap}.tmdt-protection-separator{color:var(--dt-muted)}[data-expanded=true] .tmdt-protections{display:flex}
[data-tm-theme=dark] .tmdt-chart-light{display:none}[data-tm-theme=dark] .tmdt-chart-dark{display:block}[data-tm-theme=dark] .tmdt-position-expandable[data-expanded=true]{box-shadow:none}
.tmdt-candle-tooltip{position:fixed;z-index:2147483647;pointer-events:none;width:330px;max-width:calc(100vw - 16px);padding:14px 16px;color:#484851;background:rgba(255,255,255,.97);border:1px solid #e5e5ea;border-radius:15px;box-shadow:0 10px 32px #0000001c;box-sizing:border-box;font:12px/1.5 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;text-align:left;letter-spacing:normal;backdrop-filter:blur(16px)}.tmdt-candle-time{font-size:11px;color:#8e8e93;margin-bottom:9px}.tmdt-candle-values{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px;margin:0}.tmdt-candle-values>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}.tmdt-candle-values dt{font-size:10px;color:#8e8e93;font-weight:400}.tmdt-candle-values dd{margin:0;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.tmdt-candle-partial{font-size:10px;color:#8e8e93;margin-top:9px}[data-tm-theme=dark] .tmdt-candle-tooltip{color:#e8e8ed;background:rgba(44,44,46,.97);border-color:#4a4a4e;box-shadow:0 10px 30px #0005}[data-tm-theme=dark] .tmdt-candle-time,[data-tm-theme=dark] .tmdt-candle-values dt,[data-tm-theme=dark] .tmdt-candle-partial{color:#a1a1aa}
@media(max-width:760px){.tmdt-position-expandable[data-expanded=true]{padding:16px 9px 4px!important;border-radius:17px}.tmdt-snapshot .tmdt-position-toggle{padding-left:4px;padding-right:4px}.tmdt-protections{margin-left:38px;font-size:11px}.tmdt-chart-toolbar{margin-bottom:14px}.tmdt-timeframe{padding:5px 13px;font-size:11px}.tmdt-candle-tooltip{width:305px;padding:12px;font-size:11px}.tmdt-candle-values{gap:4px 12px}}

.tmdt-snapshot .tmdt-position .tmdt-trade-meta{display:none}.tmdt-snapshot .tmdt-position[data-expanded=true] .tmdt-trade-meta{display:flex}.tmdt-quantity .tmdt-trade-state{font-size:10px;margin-left:7px}

/* An unavailable upstream chart does not prevent a complete stats preview. */
.tmdt-chart-unavailable{padding:16px 12px;color:var(--dt-muted);background:var(--dt-panel);border-radius:10px;font-size:12px;text-align:center}
.tmdt-editor-notice{text-align:left!important;letter-spacing:normal;display:flex;align-items:center;gap:16px;border:1px solid #e5e5ea;border-radius:12px;padding:14px 16px;margin-bottom:12px;background:#f5f5f7;color:#6e6e73;font:13px/1.5 -apple-system,BlinkMacSystemFont,sans-serif}.tmdt-editor-notice span{flex:1}.tmdt-editor-notice button{appearance:none;-webkit-appearance:none;flex-shrink:0;border:0;border-radius:8px;padding:7px 12px;background:#fff;color:#007aff;font:500 13px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;cursor:pointer;box-shadow:0 1px 3px #0000000a}.tmdt-editor-notice button:focus-visible{outline:2px solid #007aff;outline-offset:2px}.tmdt-editor-notice button:disabled{opacity:.5;cursor:default}[data-tm-theme=dark] .tmdt-editor-notice{background:#2c2c2e;border-color:#3c3c3f;color:#a1a1aa}[data-tm-theme=dark] .tmdt-editor-notice button{background:#3a3a3c;color:#64a7ff}

/* A separate, quieter row of completed-trade statistics. */
.tmdt-snapshot{container-type:inline-size;container-name:trading-card}
.tmdt-snapshot .tmdt-badge .tmdt-badge-description{font-size:12px!important;line-height:1.65!important;text-align:justify!important;margin:18px 0 0!important;color:var(--dt-muted);hyphens:auto!important}
.tmdt-snapshot .tmdt-metrics.tmdt-performance{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:-13px;gap:4px;padding:16px 8px}
.tmdt-snapshot .tmdt-performance .tmdt-metric{padding:0 9px;border-left:0}
.tmdt-snapshot .tmdt-performance .tmdt-metric:not(:first-child){border-left:1px solid var(--dt-line)}
.tmdt-performance .tmdt-metric strong{font-size:19px}
.tmdt-performance .tmdt-metric-label{font-size:11px}
@container trading-card (max-width:560px){
 .tmdt-snapshot .tmdt-metrics.tmdt-performance{grid-template-columns:minmax(0,1fr);gap:18px}
 .tmdt-snapshot .tmdt-performance .tmdt-metric:not(:first-child){border-left:0}
}
.tm-message-body .tmdt-snapshot,.tm-message-body .tmdt-snapshot *{-webkit-user-select:none!important;user-select:none!important}
.tmdt-trades-disclosure{margin:0 0 20px;border:0}
.tmdt-snapshot .tmdt-trades-summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer!important;padding:11px 12px;margin:0 -12px;border-radius:10px;color:var(--dt-text);font-size:14px;font-weight:600;transition:background-color .15s}
.tmdt-trades-summary::-webkit-details-marker{display:none}
.tmdt-trades-summary::marker{content:''}
.tmdt-trades-summary *{cursor:pointer!important}
.tmdt-trades-summary:hover{background:var(--dt-panel)}
.tmdt-trades-summary:focus-visible{outline:2px solid #007aff;outline-offset:2px}
.tmdt-trades-count{color:var(--dt-muted);font-size:12px;font-weight:400;font-variant-numeric:tabular-nums}
.tmdt-snapshot .tmdt-trades-chevron{display:block;flex:0 0 16px;margin-left:auto;margin-right:1px;width:16px;height:16px;border:0;color:var(--dt-muted);fill:none;transform:none;transition:transform .15s}
.tmdt-trades-disclosure[open]>.tmdt-trades-summary .tmdt-trades-chevron{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.tmdt-trades-summary,.tmdt-trades-chevron{transition:none}}

/* Shared button and badge hover surfaces. */
.tmdt-snapshot{--dt-hover:#ebebf0}
[data-tm-theme=dark] .tmdt-snapshot{--dt-hover:#38383a}
.tmdt-snapshot .tmdt-day-link{transition:background-color .15s ease}
.tmdt-snapshot .tmdt-day-link:hover,.tmdt-snapshot .tmdt-day-link:focus-visible{text-decoration:none;background:var(--dt-hover)}
@media(prefers-reduced-motion:reduce){.tmdt-snapshot .tmdt-day-link{transition:none}}

.tmdt-snapshot .tmdt-badge{transition:background-color .15s ease}
.tmdt-snapshot .tmdt-badge:has(>summary:hover),.tmdt-snapshot .tmdt-badge:has(>summary:focus-visible){background:var(--dt-hover)}
/* Keep adjacent list separators outside a highlighted, collapsed position. */
.tmdt-positions>.tmdt-position-expandable:not([data-expanded=true]):hover,
.tmdt-positions>.tmdt-position:not([data-expanded=true]):has(+.tmdt-position-expandable:not([data-expanded=true]):hover){border-bottom-color:transparent}
@media(prefers-reduced-motion:reduce){.tmdt-snapshot .tmdt-badge{transition:none}}

/* Equal rhythm from the instrument title through its expanded details. */
.tmdt-position-expandable[data-expanded=true] .tmdt-position-main{align-items:flex-end}
