/* Preserve portal palettes; give white tables their own readable text colors. */
html[data-clientportal=true] .admin-workspace .table-wrap,
html[data-admin=workspace] .admin-workspace .table-wrap {
  --text:#25314b; --muted:#52617a; --line:#d8dfeb;
  background:#fff; color:#25314b; color-scheme:light;
}
html[data-clientportal=true] .admin-workspace table,
html[data-admin=workspace] .admin-workspace table {color:#25314b}
html[data-clientportal=true] .admin-workspace th,
html[data-admin=workspace] .admin-workspace th {background:#f3f5fa;color:#46536b}
html[data-clientportal=true] .admin-workspace td,
html[data-admin=workspace] .admin-workspace td {color:#25314b;border-color:#d8dfeb}
html[data-clientportal=true] .admin-workspace .table-wrap .muted,
html[data-clientportal=true] .admin-workspace .table-wrap .help,
html[data-admin=workspace] .admin-workspace .table-wrap .muted,
html[data-admin=workspace] .admin-workspace .table-wrap .help {color:#52617a}
html[data-clientportal=true] .admin-workspace .table-wrap a:not(.btn),
html[data-admin=workspace] .admin-workspace .table-wrap a:not(.btn) {color:#5131a5}
/* Light surfaces must not inherit a dark portal's white labels. */
html #dialog .table-wrap {--text:#25314b;--muted:#52617a;--line:#d8dfeb;background:#fff;color:#25314b}
html #dialog table,html #dialog td {color:#25314b}
html #dialog th {background:#f3f5fa;color:#46536b}
html[data-view=public] .public-plans .plan {display:flex;flex-direction:column;height:100%}
html[data-view=public] .public-plans .plan .price {margin-top:auto;margin-bottom:0;line-height:1.3;min-height:42px}
html[data-view=public] .public-plans .plan .price-caption {margin:6px 0 22px;min-height:20px;line-height:20px}
html[data-view=public] .public-plans .plan .plan-order {margin-top:0;min-height:48px;height:48px;padding:12px;display:flex;align-items:center;justify-content:center}
html[data-view=public] .public-plans .plan .plan-order:disabled {opacity:1;cursor:default}
