/* Shared by the shell, reports and native dialogs. Colors and spacing are from Leo 10. */
#lite-hover-tip {
  position:fixed;inset:0 auto auto 0;z-index:100;box-sizing:border-box;
  width:max-content;max-width:min(300px,calc(100vw - 16px));max-height:calc(100dvh - 16px);
  padding:8px 11px;border:0;border-radius:8px;background:#1c1c24;color:#fff;
  font:400 12.5px/1.6 var(--sans);text-align:left;white-space:pre-line;
  overflow-wrap:anywhere;overflow:hidden;pointer-events:none;box-shadow:0 8px 24px rgb(0 0 0 / 25%);
}
#lite-hover-tip[hidden] {display:none}
#lite-hover-tip b {display:block;color:var(--accent);font-weight:700}
:root[data-theme=dark] #lite-hover-tip {background:#2f2f35;border:1px solid var(--char-line);box-shadow:0 8px 24px rgb(0 0 0 / 50%)}
/* The legacy panel still handles explicit pinning and its close button. */
.interactive-chart .chart-readout.active:not(.pinned) {display:none}
:root {--hover-tab:#e8e8ee;--hover-row:#f7f7fa;--hover-year:#fff3a6;--hover-plot:rgba(46,46,56,.035)}
:root[data-theme=dark] {--hover-tab:var(--raised);--hover-row:#27272b;--hover-year:rgba(255,230,0,.2);--hover-plot:rgba(255,255,255,.04)}
@media (hover:hover) {
  .lite-rail :is(.nav button,.rail-bottom>button):hover:not(.active),
  .user-menu-button:hover,.user-menu-popup button:hover:not(:disabled),.dialog-x:hover,.ops-xbutton:hover,
  .result-workspace .result-directory button:hover:not([aria-pressed=true],.active),
  .account-filters button:hover:not(.active,[aria-pressed=true]),
  select option:hover:not(:disabled,:checked) {background:var(--subtle);color:var(--ink)}
  .module-tabs button:hover:not(.active,[aria-pressed=true]) {background:var(--hover-tab);color:var(--ink)}
  :is(input:not([type=checkbox],[type=radio],[type=file]),select,textarea):enabled:hover {border-color:var(--hover-line)}
  .theme-control:hover {border-color:var(--faint)}
  .result-workspace .report-statement-table tbody tr:hover :is(th,td):not(.observed-year) {background:var(--hover-row)}
  .result-workspace .report-statement-table tbody tr:hover .observed-year {background:var(--hover-year)}
  .scenario-premium-hit button[data-scenario-year]:hover,.scenario-yield-hits button[data-scenario-year]:hover,
  .result-workspace .overview-year-column[data-trend-year]:hover {background:var(--hover-plot)}
  .topic-annual g[data-year-choice]:hover>rect[fill=transparent] {fill:var(--hover-plot)}
  .topic-ring circle[data-tip]:hover,.scenario-donut circle[data-tip]:hover {opacity:.8}
  :is(.result-workspace,.chart-modal) .donut-chart:hover .chart-donut-segment:not(:hover) {opacity:1}
  :is(.result-workspace,.chart-modal) .donut-chart .chart-donut-segment:hover {opacity:.8}
}
