.accounting-review { min-width: 0; }
.accounting-review h2 { font-size: 20px; }
.accounting-review h3 { font-size: 17px; margin: 24px 0 10px; }
.accounting-review h4 { font-size: 14px; margin: 18px 0 8px; }
.accounting-review p, .accounting-review td, .accounting-history li { overflow-wrap: anywhere; }
.accounting-summary, .accounting-filters, .accounting-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.accounting-summary { justify-content: space-between; }
.accounting-filters { margin-bottom: 20px; }
.accounting-filters label { display: grid; gap: 6px; min-width: 180px; }
.accounting-review table { width: 100%; border-collapse: collapse; min-width: 680px; }
.accounting-review th, .accounting-review td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #dce3e0; }
.accounting-review th { background: #edf3f0; color: #35483f; font-size: 12px; }
.accounting-source { padding: 4px 0 14px; border-bottom: 1px solid #dce3e0; }
.accounting-source > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 0; list-style: none; }
.accounting-source > summary::-webkit-details-marker { display: none; }
.accounting-source > summary::before { content: '›'; display: inline-block; width: 14px; color: #6e6576; transition: transform .15s ease; }
.accounting-source[open] > summary::before { transform: rotate(90deg); }
.accounting-source-head { display: grid; gap: 2px; flex: 1 1 240px; }
.accounting-source-head span { font-size: 12.5px; color: #59655f; font-weight: 400; }
.accounting-source-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.accounting-source-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 10px 14px; }
.accounting-source-actions small { color: #59655f; }
.accounting-source .muted { color: #59655f; font-size: 13px; margin: 0 0 0 14px; }
.accounting-totals { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 24px; }
.accounting-totals dt { font-size: 12px; color: #59655f; }
.accounting-totals dd { margin: 4px 0; font-weight: 600; }
.accounting-actions { margin-top: 20px; display: grid; gap: 10px; }
.accounting-review textarea { display: block; width: 100%; max-width: 100%; box-sizing: border-box; }
.accounting-review textarea, .accounting-review select, .accounting-review input:not([type="checkbox"]) { font: inherit; color: inherit; background: var(--surface, #fff); border: 1px solid var(--line, #dce3e0); border-radius: 6px; padding: 9px 11px; }
.accounting-review textarea:focus, .accounting-review select:focus, .accounting-review input:focus { outline: 2px solid var(--accent-teal, #2f6f68); outline-offset: 2px; }
.accounting-toggle { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
.accounting-toggle input { width: 18px; height: 18px; }
.accounting-history { padding-left: 20px; }
.accounting-history li { padding: 12px 0; border-bottom: 1px solid #dce3e0; }
.accounting-history p { white-space: pre-wrap; margin: 6px 0; }
.accounting-closure { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #dce3e0; }
.accounting-review summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
@media (max-width: 600px) {
  .accounting-filters label { min-width: 0; width: 100%; }
  .accounting-buttons .button { max-width: 100%; white-space: normal; }
  .accounting-summary { align-items: flex-start; }
}
