.tree-mask-lab { padding:1rem 1.2rem;border:1px solid var(--line);border-radius:10px;background:var(--card);margin:1.3rem 0; }
.tree-mask-lab fieldset { border:0;padding:0;margin:0;min-width:0; }
.tree-mask-lab legend { font-weight:700;margin-bottom:.5rem; }
.tree-mask-lab label { display:flex;align-items:center;gap:.65rem;min-height:44px;cursor:pointer;font-size:.95rem; }
.tree-mask-lab input { width:1.1rem;height:1.1rem;accent-color:var(--brand);flex-shrink:0; }
.tree-mask-lab input:focus-visible { outline:3px solid var(--brand);outline-offset:4px; }
.tree-mask-lab .calculation { padding:.8rem;margin:1rem 0;background:var(--bg); }
.leaf-weights { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem; }
.leaf-weights div { padding:.65rem;border:1px solid var(--line);border-radius:7px;background:var(--bg);text-align:center; }
.leaf-weights strong,.leaf-weights span { display:block; }
.leaf-weights span { color:var(--brand);font-variant-numeric:tabular-nums;margin-top:.35rem; }
@media(max-width:520px) { .tree-mask-lab {padding:.8rem;} .leaf-weights {grid-template-columns:repeat(2,minmax(0,1fr));} }
.shap-notes .customer-data table { min-width:0;table-layout:fixed;font-variant-numeric:tabular-nums; }
.shap-notes .customer-data th,.shap-notes .customer-data td { padding:.65rem .55rem; }
.shap-notes .customer-data th:nth-child(1) { width:18%; }
.shap-notes .customer-data th:nth-child(2) { width:24%; }
.shap-notes .customer-data th:nth-child(3) { width:22%; }
.shap-notes .customer-data th:nth-child(4) { width:16%; }
.shap-notes .customer-data th:nth-child(5) { width:20%; }
.shap-notes .customer-data td:last-child { text-align:right; }
.shap-notes .customer-data .explained-customer { background:var(--card); }
.shap-notes .customer-averages li { padding:.3rem 0; }
.shap-notes .money { white-space:nowrap; }
@media(max-width:520px) {
  .shap-notes .customer-data table { font-size:.76rem; }
  .shap-notes .customer-data th,.shap-notes .customer-data td { padding:.55rem .22rem; }
  .shap-notes .customer-data caption { font-size:.82rem; }
}
