.sbw .sbw-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 20px; }
.sbw .sbw-card { background: #f7f7f9; border: 1px solid #e3e3e8; border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.sbw .sbw-card__label { font-size: 13px; color: #555; }
.sbw .sbw-card__value { font-size: 22px; line-height: 1.2; }
.sbw .sbw-card__hint { font-size: 12px; color: #777; }

.sbw .sbw-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #e3e3e8; margin-bottom: 18px; }
.sbw .sbw-tabs a { padding: 9px 14px; text-decoration: none; border-radius: 8px 8px 0 0; color: #444; }
.sbw .sbw-tabs a.is-active { background: #111; color: #fff; }

.sbw .sbw-box { background: #fffbea; border: 1px solid #f0e2a0; border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; }
.sbw .sbw-accounts { margin: 8px 0 12px 18px; }
.sbw .sbw-accounts li { margin-bottom: 8px; }

.sbw .sbw-form p { margin-bottom: 14px; }
.sbw .sbw-form label { display: block; margin-bottom: 4px; font-weight: 600; }
.sbw .sbw-form input[type="text"],
.sbw .sbw-form input[type="number"],
.sbw .sbw-form select { width: 100%; max-width: 420px; }

.sbw .sbw-scroll { overflow-x: auto; }
.sbw .sbw-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.sbw .sbw-table th, .sbw .sbw-table td { padding: 8px 10px; border-bottom: 1px solid #ececf0; text-align: left; vertical-align: top; }
.sbw .sbw-plus { color: #1a7f37; font-weight: 600; white-space: nowrap; }
.sbw .sbw-minus { color: #b42318; font-weight: 600; white-space: nowrap; }

.sbw .sbw-badge { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 12px; font-weight: 600; background: #eee; color: #444; }
.sbw .sbw-badge--pending { background: #fff1cc; color: #8a5a00; }
.sbw .sbw-badge--approved, .sbw .sbw-badge--paid { background: #d9f3e1; color: #14602c; }
.sbw .sbw-badge--rejected { background: #fde2e0; color: #9b1c12; }

.sbw .sbw-pager { display: flex; gap: 6px; flex-wrap: wrap; }
.sbw .sbw-pager a { padding: 4px 10px; border: 1px solid #ddd; border-radius: 6px; text-decoration: none; }
.sbw .sbw-pager a.is-active { background: #111; color: #fff; border-color: #111; }

.sbw .sbw-neg, .sbw-neg { color: #b42318; font-weight: 600; }
.sbw-warn { background: #fde9e7; border: 1px solid #f1b4ae; color: #8a1c12; border-radius: 8px; padding: 10px 14px; margin: 10px 0; }
.sbw-credit-box p { margin: 6px 0; }
.sbw-modal-overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, .55); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sbw-modal { background: #fff; color: #222; max-width: 520px; width: 100%; max-height: 90vh; overflow: auto; border-radius: 12px; padding: 22px 24px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.sbw-modal h3 { margin-top: 0; }
.sbw-modal .sbw-accounts { margin: 6px 0 6px 18px; }
.sbw-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
@media print { .sbw-modal-overlay, .sbw-tabs, .sbw-actions { display: none !important; } }
