.sa-ledger, .sa-dialog { color: #243a33; }
.sa-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sa-heading h2, .sa-heading h3 { margin: 0; }
.sa-message { min-height: 24px; margin: 10px 0; color: #526456; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.sa-muted { color: #526456; line-height: 1.7; overflow-wrap: anywhere; }
.sa-summary { margin: 16px 0; font-weight: 600; line-height: 1.8; }
.sa-table-wrap { max-width: 100%; overflow-x: auto; }
.sa-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; font-size: 14px; }
.sa-table th, .sa-table td { padding: 12px 10px; border-bottom: 1px solid #dce4de; vertical-align: top; }
.sa-table th { color: #526456; white-space: nowrap; }
.sa-table td { font-variant-numeric: tabular-nums; }
.sa-code { overflow-wrap: anywhere; }
.sa-row-actions { white-space: nowrap; }
.sa-row-actions .sa-button + .sa-button { margin-left: 8px; }
.sa-ledger .sa-button, .sa-dialog .sa-button { min-height: 44px; padding: 8px 12px; border: 1px solid #bdcbbf; border-radius: 8px; background: #fffefa; color: #243a33; font: inherit; cursor: pointer; }
.sa-ledger .sa-button.primary, .sa-dialog .sa-button.primary, .sa-dialog .sa-button[aria-pressed='true'] { border-color: #17643e; background: #17643e; color: #fff; }
.sa-button:disabled { opacity: .55; cursor: default; }
.sa-button:focus-visible { outline: 2px solid #17643e; outline-offset: 3px; }
.sa-dialog { box-sizing: border-box; width: min(1040px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 32px); padding: 24px; border: 0; border-radius: 14px; background: #fffefa; box-shadow: 0 18px 60px rgb(15 36 24 / 24%); overflow: auto; }
.sa-dialog::backdrop { background: rgb(15 26 20 / 46%); }
.sa-dialog-heading { position: sticky; top: -24px; z-index: 1; padding: 8px 0; background: #fffefa; }
.sa-dialog-heading h2 { font-size: 23px; overflow-wrap: anywhere; }
.sa-confirm-dialog { width: min(480px, calc(100vw - 24px)); }
.sa-confirm-dialog > p { line-height: 1.8; }
.sa-actions, .sa-pages { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sa-pages { margin-top: 16px; }
.sa-pages > span { margin-right: auto; color: #526456; font-size: 13px; }
.sa-buyer strong, .sa-buyer small { display: block; }
.sa-buyer strong { font-weight: 600; }
.sa-buyer small { margin-top: 4px; font-size: 12px; color: #526456; }
@media (max-width: 600px) { .sa-dialog { padding: 18px 14px; } .sa-dialog-heading { top: -18px; } .sa-heading { gap: 10px; } .sa-pages > span { width: 100%; } }

.sa-ledger { min-width: 0; }
