/* DOVYR Market Pulse Experience 2.0. Scoped to Market mode only. */
.dash-main.mp2-mode{background:#090d0f!important;overflow-y:auto!important;}
.dash-main.mp2-mode .mp2-shell{box-sizing:border-box;max-width:1460px;margin:0 auto;padding:26px 28px 32px;color:#f1f2ed;font-family:inherit;--mp-edge:#2a3235;--mp-muted:#929da1;--mp-acid:#d8ff3e;}
.dash-main.mp2-mode .mp2-shell *{box-sizing:border-box;}
.dash-main.mp2-mode .mp2-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;padding-bottom:20px;border-bottom:1px solid var(--mp-edge);}
.dash-main.mp2-mode .mp2-eyebrow{font-size:9px;font-weight:750;letter-spacing:.16em;color:#859195;}
.dash-main.mp2-mode .mp2-hero h1{margin:7px 0 6px;font-size:32px;font-weight:670;letter-spacing:-.052em;line-height:1.1;color:#f3f2ec;}
.dash-main.mp2-mode .mp2-title-dot{color:#d8ff3e;}
.dash-main.mp2-mode .mp2-hero p{font-size:12px;color:#a0aaae;margin:0;line-height:1.55;}
.dash-main.mp2-mode .mp2-provider{display:inline-flex;gap:8px;align-items:center;border:1px solid #334038;border-radius:8px;padding:9px 11px;background:#121b16;white-space:nowrap;}
.dash-main.mp2-mode .mp2-provider i{width:6px;height:6px;border-radius:50%;background:#8cae92;}
.dash-main.mp2-mode .mp2-provider span{font-size:9px;font-weight:750;letter-spacing:.1em;color:#b2c2b5;}
.dash-main.mp2-mode .mp2-workspace{display:grid;gap:20px;margin-top:20px;}
.dash-main.mp2-mode .mp2-monitor,.dash-main.mp2-mode .mp2-macro,.dash-main.mp2-mode .mp2-prices{min-width:0;}
.dash-main.mp2-mode .mp2-section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 12px;}
.dash-main.mp2-mode .mp2-section-title h2{margin:5px 0 0;font-size:19px;color:#f2f0e9;letter-spacing:-.035em;font-weight:610;line-height:1.2;}
.dash-main.mp2-mode .mp2-hint{font-size:10px;color:#8d9a9f;text-align:right;}
.dash-main.mp2-mode .mp2-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px;}
.dash-main.mp2-mode .mp2-filters button{height:30px;padding:0 13px;border:1px solid #2b3337;border-radius:8px;background:#141a1d;color:#b8c0c3;font-size:11px;font-weight:600;cursor:pointer;transition:background .1s,border-color .1s,color .1s;}
.dash-main.mp2-mode .mp2-filters button.is-selected{border-color:#637532;background:#232b19;color:#dbff60;}
.dash-main.mp2-mode .mp2-filters button:hover,.dash-main.mp2-mode .mp2-filters button:focus-visible{border-color:#657970;outline:none;}
.dash-main.mp2-mode .mp2-asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.dash-main.mp2-mode .mp2-asset{display:flex;flex-direction:column;min-width:0;min-height:255px;padding:14px 14px 11px;border:1px solid #2b3437;background:linear-gradient(180deg,#111719,#0e1315);border-radius:12px;transition:background .13s ease,border-color .13s ease;}
.dash-main.mp2-mode .mp2-asset:hover{border-color:#4d5b58;background:linear-gradient(180deg,#151b1d,#101619);}
.dash-main.mp2-mode .mp2-asset-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;}
.dash-main.mp2-mode .mp2-asset-head strong{display:block;font-size:13px;letter-spacing:.005em;font-weight:700;color:#eef1ed;line-height:1.3;}
.dash-main.mp2-mode .mp2-asset-head small{display:block;font-size:10px;margin-top:3px;color:#89969a;}
.dash-main.mp2-mode .mp2-group-label{font-size:9px;font-weight:600;border:1px solid #293336;border-radius:7px;padding:4px 7px;color:#8d9a9e;}
.dash-main.mp2-mode .mp2-mini{height:160px;flex:1;min-height:160px;margin:12px -4px 4px;overflow:hidden;--tv-widget-background-color:transparent;--tv-widget-accent-color:#d8ff3e;--tv-widget-text-color:#e4e9e7;--tv-widget-font-family:inherit;color-scheme:dark;}
.dash-main.mp2-mode tv-mini-chart{display:block;width:100%;height:100%;min-height:160px;color-scheme:dark;}
.dash-main.mp2-mode .mp2-asset-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #242d2f;padding-top:9px;min-height:30px;}
.dash-main.mp2-mode .mp2-asset-foot span{font-size:9px;color:#829197;}
.dash-main.mp2-mode .mp2-asset-foot button{border:0;background:none;cursor:pointer;color:#c7d7cf;font-size:10px;white-space:nowrap;}
.dash-main.mp2-mode .mp2-asset-foot button:hover{color:#d8ff3e;}
.dash-main.mp2-mode .mp2-provider-status{font-size:10px;color:#7f8b90;margin-top:9px;line-height:1.5;}
.dash-main.mp2-mode .mp2-macro,.dash-main.mp2-mode .mp2-prices{border-top:1px solid var(--mp-edge);padding-top:18px;}
.dash-main.mp2-mode .mp2-description{font-size:11px;color:#8f9ba0;margin:0 0 13px;line-height:1.5;}
.dash-main.mp2-mode .mp2-fx-host,.dash-main.mp2-mode .mp2-detail-table{min-height:300px;padding:12px;border:1px solid #2b3437;border-radius:12px;background:#101619;color-scheme:dark;--tv-widget-background-color:#101619;--tv-widget-text-color:#dee5e3;--tv-widget-accent-color:#d8ff3e;}
.dash-main.mp2-mode .mp2-fx-host tv-forex-table{display:block;width:100%;min-height:290px;}
.dash-main.mp2-mode .mp2-detail-table tv-market-data{display:block;width:100%;min-height:320px;}
.dash-main.mp2-mode .mp2-loading{display:flex;align-items:center;justify-content:center;text-align:center;min-height:100px;font-size:11px;color:#8b9b9e;}
.dash-main.mp2-mode .mp2-footer{display:flex;justify-content:space-between;gap:14px;padding:18px 0 4px;border-top:1px solid var(--mp-edge);font-size:10px;color:#879497;line-height:1.5;}
.dash-main.mp2-mode .mp2-footer span:first-child{color:#b5c7bd;white-space:nowrap;letter-spacing:.1em;font-size:9px;font-weight:700;}
.dash-main.mp2-mode .mp2-detail-curtain{position:fixed;inset:0;background:rgba(0,0,0,.67);z-index:9999;display:flex;justify-content:flex-end;padding:10px;}
.dash-main.mp2-mode .mp2-detail{width:min(570px,100%);max-height:100%;background:#0d1316;border:1px solid #354044;border-radius:14px;overflow:auto;padding:22px;box-shadow:0 12px 40px rgba(0,0,0,.3);}
.dash-main.mp2-mode .mp2-detail-heading{display:flex;align-items:start;justify-content:space-between;gap:10px;border-bottom:1px solid #263033;padding-bottom:16px;}
.dash-main.mp2-mode .mp2-detail-heading h2{margin:7px 0 3px;font-size:26px;color:#f1eee6;}
.dash-main.mp2-mode .mp2-detail-heading p{color:#98a5a8;font-size:12px;margin:0;}
.dash-main.mp2-mode .mp2-detail-heading button{width:32px;height:32px;background:#192023;color:#e5e8e8;border:1px solid #303a3d;border-radius:9px;font-size:20px;cursor:pointer;}
.dash-main.mp2-mode .mp2-detail-chart{height:320px;margin-top:18px;color-scheme:dark;}
.dash-main.mp2-mode .mp2-detail-chart tv-mini-chart{height:100%;}
.dash-main.mp2-mode .mp2-detail p{font-size:12px;color:#9ba7ab;line-height:1.6;margin:16px 0;}
.dash-main.mp2-mode .mp2-detail a{color:#d8ff3e;font-size:12px;text-decoration:none;}
@media(max-width:1250px){.dash-main.mp2-mode .mp2-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.dash-main.mp2-mode .mp2-shell{padding:22px 19px 28px;}}
@media(max-width:780px){.dash-main.mp2-mode .mp2-asset-grid{grid-template-columns:1fr;}.dash-main.mp2-mode .mp2-hero{align-items:flex-start;flex-direction:column}.dash-main.mp2-mode .mp2-section-title{align-items:flex-start;flex-direction:column;gap:5px}.dash-main.mp2-mode .mp2-hint{text-align:left}.dash-main.mp2-mode .mp2-footer{flex-direction:column}.dash-main.mp2-mode .mp2-asset{min-height:240px;}}
@media(prefers-reduced-motion:reduce){.dash-main.mp2-mode .mp2-asset,.dash-main.mp2-mode .mp2-filters button{transition:none!important}}
/* Market Pulse 2.1 — search, saved watchlist, progressive widgets. */
.dash-main.mp2-mode .mp21-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:8px 0 12px;flex-wrap:wrap}
.dash-main.mp2-mode .mp21-search{display:flex;flex-direction:column;gap:6px;min-width:min(100%,290px);max-width:420px;flex:1}
.dash-main.mp2-mode .mp21-search span{font-size:9px;font-weight:700;color:#89969b;letter-spacing:.12em;text-transform:uppercase}
.dash-main.mp2-mode .mp21-search input{height:36px;width:100%;border-radius:8px;border:1px solid #313b3d;background:#131a1c;color:#f2f0e9;padding:0 12px;font-family:inherit;font-size:12px;outline:none}
.dash-main.mp2-mode .mp21-search input:focus{border-color:#718b52;box-shadow:0 0 0 2px rgba(216,255,62,.06)}
.dash-main.mp2-mode .mp21-search input::placeholder{color:#7f8d91}
.dash-main.mp2-mode .mp21-toolbar-note{font-size:10px;color:#829096;margin-bottom:9px}
.dash-main.mp2-mode .mp21-fav-count{margin-left:4px;color:#bac5bc;font-size:9px;font-variant-numeric:tabular-nums}
.dash-main.mp2-mode .mp21-results-row{display:flex;justify-content:space-between;gap:8px;margin:5px 0 10px;color:#919da1;font-size:10px}
.dash-main.mp2-mode .mp2-asset-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-shrink:0}
.dash-main.mp2-mode .mp21-star{width:30px;height:30px;border-radius:8px;border:1px solid #333c3e;background:#171d1f;color:#7e8a8e;font-size:19px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:border-color .12s,color .12s,background .12s}
.dash-main.mp2-mode .mp21-star:hover,.dash-main.mp2-mode .mp21-star:focus-visible{outline:none;color:#e6eea5;border-color:#77844d}
.dash-main.mp2-mode .mp21-star.is-favorite{color:#d8ff3e;background:#20271a;border-color:#465636}
.dash-main.mp2-mode .mp21-load-row{display:flex;justify-content:center;align-items:center;gap:15px;padding:18px 0 3px}
.dash-main.mp2-mode .mp21-load-row button{height:37px;padding:0 18px;border:1px solid #3a4741;border-radius:9px;background:#1a221b;color:#e2ebdf;font-size:11px;font-weight:650;cursor:pointer}
.dash-main.mp2-mode .mp21-load-row button:hover,.dash-main.mp2-mode .mp21-load-row button:focus-visible{border-color:#8ba859;color:#d8ff3e;outline:none}
.dash-main.mp2-mode .mp21-load-row span{margin-left:10px;color:#d8ff3e}
.dash-main.mp2-mode .mp21-load-row small{color:#8c999c;font-size:10px}
.dash-main.mp2-mode .mp21-empty{grid-column:1/-1;border:1px dashed #354145;border-radius:12px;padding:30px 20px;text-align:center;background:#101618}
.dash-main.mp2-mode .mp21-empty strong{color:#e8ece9;font-size:13px;font-weight:610}
.dash-main.mp2-mode .mp21-empty p{color:#8f9da1;font-size:11px;margin:9px auto 0;max-width:390px;line-height:1.6}
.dash-main.mp2-mode .mp21-chart-slot tv-mini-chart{display:block;width:100%;height:100%;min-height:160px;color-scheme:dark}
.dash-main.mp2-mode .mp21-shell .mp2-group-label{white-space:nowrap}
@media(max-width:850px){.dash-main.mp2-mode .mp21-toolbar-note{display:none}.dash-main.mp2-mode .mp2-asset-top-actions{gap:4px}.dash-main.mp2-mode .mp21-search{max-width:none}}
@media(prefers-reduced-motion:reduce){.dash-main.mp2-mode .mp21-star{transition:none}}


/* Market Pulse 2.1 Patch 02 — independent scrolling & unobstructed widget cards.
   The original Dashboard has grid/overflow rules that are not suitable for this long page. */
.dash-main.dovyr-market-mode.mp2-mode {
  display:block!important;
  height:calc(100dvh - 65px)!important;
  max-height:calc(100dvh - 65px)!important;
  min-height:0!important;
  overflow:hidden!important;
}
.dash-main.dovyr-market-mode.mp2-mode > .mp21-scroll-viewport {
  display:block;
  box-sizing:border-box;
  width:100%;
  height:100%;
  min-height:0;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  scrollbar-gutter:stable;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(173,186,184,.43) transparent;
}
.dash-main.dovyr-market-mode.mp2-mode .mp21-scroll-viewport::-webkit-scrollbar {width:10px;}
.dash-main.dovyr-market-mode.mp2-mode .mp21-scroll-viewport::-webkit-scrollbar-track {background:#0b1012;}
.dash-main.dovyr-market-mode.mp2-mode .mp21-scroll-viewport::-webkit-scrollbar-thumb {background:#404e4e;border:2px solid #0b1012;border-radius:10px;}
.dash-main.dovyr-market-mode.mp2-mode .mp21-scroll-viewport::-webkit-scrollbar-thumb:hover {background:#667970;}
/* Mini charts are previews; native widgets may consume wheel gestures before Electron can scroll.
   The separate 'Explorar' control remains clickable and opens the interactive chart. */
.dash-main.mp2-mode .mp21-chart-slot {position:relative;}
.dash-main.mp2-mode .mp21-chart-slot::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:transparent;
  cursor:default;
}
.dash-main.mp2-mode .mp21-results-row{align-items:center;flex-wrap:wrap;}
.dash-main.mp2-mode .mp21-results-actions{display:flex;align-items:center;gap:12px;}
.dash-main.mp2-mode .mp21-results-actions button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:29px;padding:0 10px;border:1px solid #405047;border-radius:7px;
  color:#d8ff3e;background:#192118;font-family:inherit;font-size:10px;font-weight:600;cursor:pointer;
}
.dash-main.mp2-mode .mp21-results-actions button:hover,.dash-main.mp2-mode .mp21-results-actions button:focus-visible{
  border-color:#78934c;outline:none;background:#252e1c;
}
.dash-main.mp2-mode .mp2-asset {scroll-margin-top:18px;}
@media (max-height:560px){
  .dash-main.dovyr-market-mode.mp2-mode {height:calc(100dvh - 40px)!important;max-height:calc(100dvh - 40px)!important;}
}
