/* Real warning rows share one treatment; financial signs and period states keep their own meaning. */
:root{--alert-row-bg:#642738;--alert-row-hover:#783044;--alert-row-text:#ffd6df;--alert-row-line:#a45166}
html:root.dashboard-type body :is(.data-table,.modal-card table,.history-table-wrap table,.ops-table) tr[data-warning-row="true"]>:is(td,th){
  background:var(--alert-row-bg);color:var(--alert-row-text);border-color:var(--alert-row-line)
}
html:root.dashboard-type body :is(.data-table,.modal-card table,.history-table-wrap table,.ops-table) tr[data-warning-row="true"]:is(:hover,.is-selected)>:is(td,th){
  background:var(--alert-row-hover)
}
html:root.dashboard-type body tr[data-warning-row="true"] :is(.table-project,.table-company,.badge,.up,.down,.muted,.history-row-button,.history-rate-cell,.history-status,.ops-link,.ops-btn,.btn,.ops-state,.ops-amber,.ops-danger,.ops-count,.metrics-company,small,strong,b){
  color:var(--alert-row-text)
}
html:root.dashboard-type body tr[data-warning-row="true"] :is(.badge,.history-status,.ops-state,.ops-amber,.ops-danger){background:transparent}
html:root.dashboard-type body .project-preview-row.is-warning,html:root.dashboard-type body .ops-warning{
  background:var(--alert-row-bg);border-color:var(--alert-row-line);color:var(--alert-row-text)
}
html:root.dashboard-type body .project-preview-row.is-warning:is(:hover,:focus-visible),html:root.dashboard-type body .ops-warning:is(:hover,:focus-visible){background:var(--alert-row-hover);border-color:var(--alert-row-text)}
html:root.dashboard-type body .project-preview-row.is-warning :is(.project-preview-order,.project-preview-info>strong,.project-preview-info>small,.project-preview-info>small>span,.project-preview-value>strong,.project-preview-value>strong>small,.project-preview-value>span,.project-preview-arrow),
html:root.dashboard-type body .ops-warning :is(strong,small,.ops-warning-top,.ops-warning-status,.ops-amber,.ops-danger,span){color:var(--alert-row-text)}
html:root.dashboard-type body .project-preview-row.is-warning .project-preview-track i{background:var(--alert-row-text)}
html:root.dashboard-type body .collection-trend-period.is-warning .collection-point{fill:var(--red,#ff96a4);stroke:var(--alert-row-bg)}
html:root.dashboard-type body .collection-trend-period.is-warning .collection-point-halo{fill:var(--red,#ff96a4)}
html:root.dashboard-type body .history-summary .history-warning-text,html:root.dashboard-type body .history-status.is-warning,html:root.dashboard-type body .project-preview-overview .has-warning strong{color:var(--red,#ff96a4)}
html:root.dashboard-type body .history-warning-key:before{border-color:var(--red,#ff96a4)!important}
html:root.dashboard-type body .collection-warning-line{stroke:var(--red,#ff96a4)}
.warning-row-explanation{display:block;margin-top:3px;font-size:12px;line-height:1.4;white-space:normal;min-width:7em}

html:root.dashboard-type body td.warning-reason-cell{min-width:240px;max-width:360px;white-space:normal;line-height:1.5}

html:root.dashboard-type body #projectFeeTable #projectFeeSummary tr[data-warning-row="true"] :is(td,th,small,span){color:var(--alert-row-text)}

html:root.dashboard-type body .ops-warning :is(.ops-amber,.ops-danger){background:transparent;border-color:var(--alert-row-line)}

html:root.dashboard-type body tr[data-warning-row="true"] :is(.ops-btn,.btn){background:transparent;border-color:var(--alert-row-line)}
