/* Dados Pro uses the same light/dark preference and lime actions as the app. */
html body.pro-screen .chart-history-scroll{max-height:none;overflow:visible;border:1px solid var(--pro-border);border-radius:12px;margin-top:14px}
html body.pro-screen .chart-history-table{table-layout:fixed;width:100%;min-width:0;font-size:13px}
html body.pro-screen .chart-history-table :is(th,td){padding:12px 10px;white-space:normal;overflow-wrap:anywhere;line-height:1.4;font-variant-numeric:tabular-nums}
html body.pro-screen .chart-history-table th{position:static;background:var(--pro-soft);font-size:12px;color:var(--pro-muted)}
html body.pro-screen .chart-history-table :is(th,td):first-child{text-align:left;width:42%}
html body.pro-screen .chart-history-table time span,html body.pro-screen .chart-history-table time small{display:block}
html body.pro-screen .chart-history-table time small{margin-top:3px;font-size:12px;color:var(--pro-muted)}
html body.pro-screen .chart-history-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}
html body.pro-screen .chart-history-pagination span{font-size:12px;color:var(--pro-muted);white-space:nowrap}
html body.pro-screen .chart-history-pagination button{font-size:12px!important;padding:8px!important}
html body.pro-screen .chart-history-table.is-ohlc :is(th,td):first-child{width:24%}
@media(max-width:600px){html body.pro-screen .chart-history-table.is-ohlc thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}html body.pro-screen .chart-history-table.is-ohlc tbody{display:block}html body.pro-screen .chart-history-table.is-ohlc tr{display:grid;grid-template-columns:1fr 1fr;padding:12px;gap:10px;border-bottom:1px solid var(--pro-border)}html body.pro-screen .chart-history-table.is-ohlc td{display:block;text-align:left;width:auto;padding:0;border:0}html body.pro-screen .chart-history-table.is-ohlc td:first-child{grid-column:1/-1;width:auto}html body.pro-screen .chart-history-table.is-ohlc td:not(:first-child)::before{content:attr(data-label);display:block;color:var(--pro-muted);font-size:12px;margin-bottom:3px}html body.pro-screen .chart-history-table.is-ohlc time{display:flex;gap:8px;align-items:center}html body.pro-screen .chart-history-table.is-ohlc time small{margin:0}}
html body.pro-screen #pro-chart{background:var(--pro-surface);color:var(--pro-text);border-color:var(--pro-border)}
html body.pro-screen #pro-chart h2{color:var(--pro-text)}
html body.pro-screen #pro-chart .pro-section-heading p{color:var(--pro-muted)}
html body.pro-screen #pro-chart .pro-section-heading a{color:var(--pro-text)}
html body.pro-screen :is(.pro-map-stats article,.pro-map-detail,.pro-period,.pro-map-volume){background:var(--pro-soft);color:var(--pro-text);border-color:var(--pro-border)}
html body.pro-screen .pro-volume-map.is-readable .pro-volume-tile{background:var(--pro-surface);color:var(--pro-text);border-color:var(--pro-border)}
html body.pro-screen .pro-volume-map.is-readable .pro-volume-tile :is(strong,span,em){color:var(--pro-text)}
html body.pro-screen .pro-volume-map.is-readable .pro-volume-tile.up small{color:#16734d}
html body.pro-screen .pro-volume-map.is-readable .pro-volume-tile.down small{color:#ab302d}
html[data-theme=dark] body.pro-screen .pro-volume-map.is-readable .pro-volume-tile.up small{color:#85e0b5}
html[data-theme=dark] body.pro-screen .pro-volume-map.is-readable .pro-volume-tile.down small{color:#ffa4a0}
html body.pro-screen .pro-chart-actions button{height:44px;white-space:nowrap}
html body.pro-screen .pro-dashboard button:disabled{background:var(--pro-soft)!important;color:var(--pro-muted)!important;opacity:.7!important}
html body.pro-screen{--pro-bg:#f6f7f3;--pro-surface:#fff;--pro-soft:#f0f3ec;--pro-text:#182219;--pro-muted:#526154;--pro-border:#d7dfd3;background:var(--pro-bg);color:var(--pro-text)}
html[data-theme=dark] body.pro-screen{--pro-bg:#181a20;--pro-surface:#1e2329;--pro-soft:#2b3139;--pro-text:#eaecef;--pro-muted:#b7bdc6;--pro-border:#363e4a}
html body.pro-screen main{background:var(--pro-bg)}
html body.pro-screen :is(.pro-dashboard,.pro-heading h1,.pro-panel h2,.pro-method summary){color:var(--pro-text)}
html body.pro-screen :is(.pro-panel,.pro-summary article,.pro-signal-cards article,.pro-map-side,.pro-chart-frame,.professional-chart .financial-chart,.professional-chart th,.professional-chart td){background:var(--pro-surface);color:var(--pro-text);border-color:var(--pro-border)}
html body.pro-screen .pro-panel{border-radius:16px;padding:20px}
html body.pro-screen :is(.pro-heading p,.pro-section-heading p,.pro-controls label,.pro-footnote,#pro-status,.pro-signal-cards small,.pro-chart-stats span,.professional-chart>p,.professional-chart details,.pro-map-note,.pro-map-reading,.pro-map-stats small,.pro-map-stats span){color:var(--pro-muted);font-size:13px;line-height:1.6}
html body.pro-screen :is(.pro-heading a,.pro-section-heading a,.pro-panel>a){color:var(--pro-text)}
html body.pro-screen :is(.pro-summary strong,.pro-signal-cards strong,.pro-signal-cards h3,.pro-signal-cards li>span,.pro-chart-stats strong){color:var(--pro-text)}
html body.pro-screen :is(.pro-signal-cards li,.pro-map-stats article,.professional-chart details,.pro-table-wrap){border-color:var(--pro-border)}
html body.pro-screen :is(.pro-controls input,.pro-controls select,.professional-chart .chart-toolbar select){box-sizing:border-box;background:var(--pro-surface);color:var(--pro-text);border:1px solid var(--pro-border);height:44px;min-height:44px;border-radius:10px;padding:8px 12px;font-size:16px;max-width:100%}
html body.pro-screen .pro-dashboard button:not(.pro-volume-tile){box-sizing:border-box;background:var(--pro-surface);color:var(--pro-text);border:1px solid var(--pro-border);border-radius:9px;min-height:44px;padding:8px 12px;font-size:14px;line-height:1.2;font-weight:600}
html body.pro-screen .pro-dashboard button:not(.pro-volume-tile):hover:not(:disabled){background:var(--pro-soft);border-color:#85996a}
html body.pro-screen .pro-dashboard button:disabled{opacity:1;background:var(--pro-soft);color:var(--pro-muted);border-color:var(--pro-border);cursor:not-allowed}
html body.pro-screen .pro-dashboard :is(button[aria-pressed=true],.chart-primary-action){background:#dcff00!important;color:#17200b!important;border-color:#dcff00!important}
html body.pro-screen :is(.pro-nav a,.pro-chart-periods,.pro-table th,.pro-table th:first-child,.professional-chart .chart-readout,.pro-map-toolbar,.pro-help){background:var(--pro-soft);color:var(--pro-text);border-color:var(--pro-border)}
html body.pro-screen .pro-nav a{border-radius:9px;min-height:44px;display:inline-flex;align-items:center;padding:8px 14px;font-size:14px;box-sizing:border-box}
html body.pro-screen .pro-nav a:first-child{background:#dcff00;color:#17200b}
html body.pro-screen :is(.pro-table td,.pro-table td:first-child){background:var(--pro-surface);color:var(--pro-text);border-color:var(--pro-border);font-size:13px}
html body.pro-screen .pro-table small{color:var(--pro-muted)}
html body.pro-screen .pro-table tr:hover td{background:var(--pro-soft)}
html body.pro-screen .pro-chart-periods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;width:100%;max-width:480px;border-radius:12px;box-sizing:border-box}
html body.pro-screen .pro-chart-periods button{padding:8px 4px;white-space:nowrap;border-color:transparent}
html body.pro-screen .professional-chart .chart-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px 0;border-color:var(--pro-border)}
html body.pro-screen .professional-chart .chart-toolbar label{font-size:13px;color:var(--pro-muted);min-width:0;gap:7px}
html body.pro-screen .professional-chart .chart-toolbar select{width:100%;min-width:0}
html body.pro-screen .pro-chart-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
html body.pro-screen .pro-chart-actions button{min-width:0}
html body.pro-screen .professional-chart :is(.financial-chart text){fill:var(--pro-muted)}
html body.pro-screen .professional-chart :is(.chart-readout,.data-note){font-size:13px;line-height:1.6}
html body.pro-screen .professional-chart:fullscreen,html body.pro-screen .professional-chart.chart-expanded{background:var(--pro-bg);color:var(--pro-text)}
html body.pro-screen :focus-visible{outline:2px solid #819735;outline-offset:3px}
html body.pro-screen .app-tabs{background:var(--pro-surface);border-color:var(--pro-border)}
html body.pro-screen .app-tabs a{color:var(--pro-muted)}
html body.pro-screen .pro-signal-cards li>.up{color:#16734d}html body.pro-screen .pro-signal-cards li>.down{color:#ab302d}
html[data-theme=dark] body.pro-screen .pro-signal-cards li>.up{color:#85e0b5}html[data-theme=dark] body.pro-screen .pro-signal-cards li>.down{color:#ffa4a0}
@media(max-width:650px){html body.pro-screen .pro-panel{padding:16px}html body.pro-screen .pro-chart-actions{grid-template-columns:repeat(3,minmax(0,1fr))}html body.pro-screen .pro-chart-actions button{font-size:13px;padding:8px 4px}html body.pro-screen .pro-chart-stats strong{font-size:17px}html body.pro-screen .professional-chart{margin-top:16px}}
/* Shared identities stay compact in tables and ranking cards. */
.pro-dashboard .market-identity-part,.pro-dashboard .market-pair{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;vertical-align:middle}
.pro-dashboard .market-identity-part img{width:22px;height:22px;object-fit:contain;flex-shrink:0}
.pro-dashboard .pro-table td:first-child>small{margin-top:8px}
html[data-theme=dark] body.pro-screen .pro-dashboard :is(button[aria-pressed=true],.chart-primary-action){background:#eaecef!important;color:#111!important;border-color:#eaecef!important}
html[data-theme=dark] body.pro-screen .pro-nav a:first-child{background:#eaecef;color:#111}
html[data-theme=dark] body.pro-screen .pro-dashboard button:not(.pro-volume-tile):hover:not(:disabled){border-color:#6e7c8f}
html[data-theme=dark] body.pro-screen :focus-visible{outline-color:#eaecef}
html body.pro-screen :is(.pro-learning,.pro-learning-grid article,.pro-learning-grid details,.pro-reading-example){background:var(--pro-soft);color:var(--pro-text);border-color:var(--pro-border)}
html body.pro-screen .pro-learning :is(h3,summary){color:var(--pro-text)}
html body.pro-screen .pro-learning :is(p,small){color:var(--pro-muted)}
html body.pro-screen :is(.pro-heading .eyebrow,.pro-dot,.pro-map-legend span,.pro-summary span,.pro-panel>p){color:var(--pro-muted)}
html body.pro-screen .pro-map-volume strong{color:var(--pro-text)}
html body.pro-screen .pro-summary small{color:var(--pro-muted)}
html body.pro-screen #pro-map-total{color:var(--pro-text)}
html body.pro-screen #pro-signals-source{color:var(--pro-muted)}
html body.pro-screen .pro-map-stats strong{color:var(--pro-text)!important}
html body.pro-screen .pro-panel>p{color:var(--pro-muted)!important}
html[data-theme=dark] body.pro-screen .pro-dashboard :is(button[aria-pressed=true],.chart-primary-action){background:#dfff19!important;color:#181a20!important;border-color:#dfff19!important}
html[data-theme=dark] body.pro-screen .pro-nav a:first-child{background:#dfff19;color:#181a20}
