.budget-space { padding: 26px; }
.budget-space-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.budget-space-heading h2 { font-size: 19px; }
.budget-live { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #5d7950; }
.budget-live i { width: 6px; height: 6px; border-radius: 50%; background: #7a9a61; }
.budget-space-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 30px; }
.current-budget-card { padding: 24px; border: 1px solid #e4ebdd; border-radius: 18px; background: linear-gradient(130deg, #f1f5eb, #fafbf7); min-width: 0; }
.current-budget-identity { display: flex; align-items: center; gap: 15px; }
.current-budget-identity > div { min-width: 0; }
.current-budget-identity .avatar { width: 58px; height: 58px; flex-shrink: 0; border-radius: 16px; font-size: 23px; background: #dfe9d5; }
.budget-kind { font-size: 9px; font-weight: 800; letter-spacing: 1.1px; color: #86967a; }
.current-budget-identity h3 { margin: 7px 0 5px; font-size: 23px; letter-spacing: -.6px; line-height: 1.35; overflow-wrap: anywhere; }
.current-budget-identity p { margin: 0; color: #7b8872; font-size: 12px; overflow-wrap: anywhere; }
.budget-role { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 8px; background: #fff; border: 1px solid #e0e8d8; font-size: 11px; font-weight: 700; margin-top: 20px; color: #5c7750; }
.budget-role svg { width: 16px; height: 16px; }
.budget-people { display: flex; align-items: center; gap: 12px; padding: 19px 0; margin-top: 18px; border-top: 1px solid #e0e7d9; }
.budget-people-avatars { display: flex; padding-left: 5px; flex-shrink: 0; }
.budget-people-avatars .avatar { margin-left: -5px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #f4f7ee; font-size: 12px; }
.budget-people > div:last-child { min-width: 0; }
.budget-people b { font-size: 12px; display: block; }
.budget-people small { display: block; margin-top: 5px; font-size: 11px; line-height: 1.6; color: #85917c; }
.budget-current-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.budget-current-actions button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; }
.budget-current-actions svg { width: 17px; height: 17px; flex-shrink: 0; }
.budget-picker { min-width: 0; padding-top: 5px; }
.budget-picker h3 { margin: 0; font-size: 14px; }
.budget-picker > p { font-size: 12px; color: var(--muted); margin: 8px 0 20px; }
.budget-option-list, .budget-invite-list { display: grid; gap: 10px; }
.budget-invite-list { margin-top: 20px; }
.budget-option { display: flex; align-items: center; text-align: left; width: 100%; gap: 12px; padding: 16px; min-height: 78px; background: #fafbf8; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.budget-option:hover { background: #f2f6eb; border-color: #b6c8a5; }
.budget-option.is-current { background: #f0f5e9; border-color: #9bb685; box-shadow: 0 3px 10px #35563806; }
.budget-option .avatar { width: 40px; height: 40px; border-radius: 12px; }
.budget-option-copy { flex: 1; min-width: 0; }
.budget-option-copy b { display: block; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.budget-option-copy small { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 4px; }
.budget-option-state { display: flex; align-items: center; gap: 5px; flex-shrink: 0; font-size: 10px; color: #899780; }
.is-current .budget-option-state { color: #577440; font-weight: 700; }
.budget-option-state svg { width: 17px; height: 17px; }
.budget-picker-note { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 18px; }
.budget-reset-trigger { display: flex; align-items: center; gap: 7px; margin-top: 18px; padding: 10px 0; min-height: 44px; background: transparent; font-size: 11px; color: #ac5e53; }
.budget-reset-trigger:hover { color: #893f35; }
.budget-reset-trigger .category-svg { width: 16px; height: 16px; }
.reset-warning { display: flex; gap: 12px; padding: 16px; border: 1px solid #f2dbd5; background: #fff6f3; border-radius: 14px; color: #a35345; margin: 22px 0; }
.reset-warning p { font-size: 12px; line-height: 1.7; margin: 6px 0 0; }
.reset-warning b { font-size: 13px; }
.reset-balances { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.reset-balances > div { display: grid; gap: 8px; background: #f7f9f4; border: 1px solid var(--line); border-radius: 12px; padding: 13px; }
.reset-balances span, .reset-balances small { color: var(--muted); font-size: 10px; }
.reset-balances b { font-size: 12px; overflow-wrap: anywhere; }
.reset-inventory { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; margin: 18px 0; }
.reset-code { display: grid; gap: 10px; text-align: center; background: #f5f7f1; border: 1px dashed #cdd9bf; border-radius: 14px; padding: 20px; margin: 24px 0; }
.reset-code span { font-size: 12px; }
.reset-code strong { font: 700 30px ui-monospace,monospace; letter-spacing: 8px; padding-left: 8px; color: #37644b; }
.reset-code small { color: var(--muted); font-size: 10px; line-height: 1.6; }
.reset-actions { display: flex; gap: 10px; }
.reset-actions button { flex: 1; min-height: 44px; }
.reset-submit { background: #a34f43; }
.reset-submit:hover { background: #893f35; }
.reset-done { display: grid; place-items: center; text-align: center; margin: 30px 0; line-height: 1.8; }
.reset-done > .category-svg { width: 42px; height: 42px; color: #638752; }
@media (max-width: 380px) { .reset-balances { grid-template-columns: 1fr; } .reset-balances > div { grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; } }
@media (max-width: 900px) {
  .budget-space-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .budget-space { padding: 18px; }
  .budget-space-heading { flex-wrap: wrap; margin-bottom: 18px; }
  .budget-space-heading h2 { font-size: 17px; }
  .budget-live { font-size: 10px; }
  .current-budget-card { padding: 18px; }
  .current-budget-identity { gap: 12px; }
  .current-budget-identity h3 { font-size: 20px; }
  .current-budget-identity .avatar { width: 48px; height: 48px; border-radius: 14px; }
  .budget-current-actions button { width: 100%; }
  .budget-option { gap: 9px; padding: 12px; }
  .budget-option-state > span { display: none; }
  .budget-option:not(.is-current) .budget-option-state > span { display: block; }
  .budget-option-copy b { font-size: 12px; }
}
