/* Quiet hierarchy, aligned with the three existing palettes. */
@media screen {
 html[data-theme] .fin601-table .fin52-scroll table > tbody > tr > td {
  background:var(--row599-paper);border-bottom:1px solid var(--row599-line);color:var(--u598-text);
 }
 html[data-theme] .fin601-table .fin52-scroll table > tbody > tr.fin601-month > td {
  padding:0;background:var(--row599-heading);border-top:1px solid var(--u598-line);
 }
 .fin601-month button {
  display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:8px 14px;
  text-align:left;border:0;border-radius:0;background:transparent;color:var(--u598-strong);cursor:pointer;
 }
 .fin601-month b {font-size:14px;letter-spacing:.01em}
 .fin601-month-count,.fin601-month small {font-size:11px;color:var(--u598-muted);font-weight:400}
 .fin601-month small {margin-left:auto}
 html[data-theme] .fin601-table .fin52-scroll table > tbody > tr.fin601-category > td {
  padding:0;background:var(--row599-stage);
 }
 .fin601-category-row {display:flex;align-items:center;gap:14px;min-height:40px;padding:5px 14px 5px 24px}
 .fin601-category-row .fin52-toggle {flex:1;display:flex;align-items:center;gap:8px;min-width:0;padding:3px 0;color:var(--u598-text)}
 .fin601-category-row .fin52-toggle b {font-size:12px;font-weight:600;white-space:normal;text-align:left}
 .fin601-category-row .fin52-toggle small {font-size:10px;color:var(--u598-muted);white-space:nowrap}
 .fin601-category-row svg {width:14px;height:14px;color:var(--u598-muted)}
 .fin601-totals {display:grid;grid-auto-flow:column;grid-template-rows:auto auto;column-gap:14px;min-width:110px;text-align:right;font-variant-numeric:tabular-nums}
 .fin601-totals b {font-size:12px;color:var(--u598-text);white-space:nowrap}
 .fin601-totals small {font-size:9px;color:var(--u598-muted);white-space:nowrap}
 .fin601-review {padding:1px 5px;border:1px solid var(--u598-warn-border);border-radius:4px;color:var(--u598-warn);font-size:9px}
 html[data-theme] .fin601-table .fin52-scroll table > tbody > tr[data-finance601-title]:hover > td,
 html[data-theme] .fin601-table .fin52-scroll table > tbody > tr.fin601-category:hover > td {background:var(--row599-hover)}
 .fin601-month button:hover {background:var(--row599-stage-hover)}
 .fin601-table .fx19-parcel-tag {display:none}
 .fin601-table .fin52-branch {padding-left:18px;color:var(--u598-muted)}
 .fin601-table .fin52-cancelled {opacity:.7}
 .fin601-table .p600-status {background:var(--u598-surface)}
 .inss646-summary-caption {display:block;font-size:10px;color:var(--u598-muted);line-height:1.4}
 .inss646-detail {display:grid;gap:12px}
 .inss646-context {display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--u598-muted)}
 .inss646-context strong {font-size:14px;color:var(--u598-strong)}
 .inss646-filter {display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:0}
 .inss646-filter>label:first-child {display:grid;flex:1;gap:5px;min-width:200px;font-size:11px;color:var(--u598-muted)}
 .inss646-filter input[type=search] {width:100%;min-height:34px}
 .inss646-check {display:flex;align-items:center;gap:6px;min-height:34px;font-size:12px;white-space:nowrap}
 .inss646-check input {width:16px;height:16px;min-height:0;margin:0;accent-color:var(--u598-accent)}
 .inss646-totals {display:flex;flex-wrap:wrap;gap:12px 28px;padding:12px 14px;border:1px solid var(--u598-line);border-radius:8px;background:var(--u598-surface)}
 .inss646-totals>div {display:grid;gap:3px}
 .inss646-totals small,.inss646-totals span {font-size:11px;color:var(--u598-muted)}
 .inss646-totals strong {font-size:18px;font-variant-numeric:tabular-nums;color:var(--u598-strong)}
 .inss646-count,.inss646-note {font-size:11px;line-height:1.5;color:var(--u598-muted);margin:10px 0}
 .inss646-scroll {max-width:100%;overflow:auto;border:1px solid var(--u598-line);border-radius:8px}
 .inss646-table {width:100%;border-collapse:collapse;text-align:left;font-size:12px}
 .inss646-table th {padding:9px 10px;background:var(--row599-heading);font-size:10px;font-weight:600;color:var(--u598-muted);white-space:nowrap}
 .inss646-table td {padding:7px 10px;border-top:1px solid var(--u598-line);vertical-align:middle;background:var(--u598-surface)}
 .inss646-table th:first-child {width:36%}
 .inss646-table td:not(:first-child) {white-space:nowrap}
 .inss646-table tbody tr:hover td {background:var(--row599-hover)}
 .inss646-person {display:block;line-height:1.45;color:var(--u598-text)}
 .inss646-money {text-align:right;font-variant-numeric:tabular-nums}
 .inss646-state {font-size:11px;color:var(--u598-muted)}
 .inss646-state.is-realized {color:var(--u598-accent)}
 .inss646-cancelled {opacity:.7}
 .inss646-empty {padding:22px 12px;text-align:center;color:var(--u598-muted);border:1px dashed var(--u598-line);border-radius:8px}
 @media(max-width:700px) {
  .fin601-category-row{padding-left:12px;gap:8px}
  .fin601-category-row .fin52-toggle{flex-wrap:wrap;gap:5px}
  .fin601-month-count{margin-left:auto}
  .fin601-month small{display:none}
  .fin601-totals{column-gap:7px;min-width:92px}
  .inss646-table {min-width:660px}
  .inss646-totals {gap:12px 20px}
 }
}
