/* Final readability pass shared by every accounting screen. */
#app{max-width:none;width:100%}
p,small,.muted{line-height:1.55}
.heading p,.field small,.field>.muted,.project-link-help{font-size:12.5px}
.field label{font-size:13.5px;line-height:1.35}
.field input,.field select,.field textarea{font-size:14px}
.field textarea{line-height:1.55;resize:vertical}
.notice{font-size:13.5px}
.card{scrollbar-color:#9fb4a5 #eef3ef;scrollbar-width:thin}
.card::-webkit-scrollbar{height:11px;width:11px}.card::-webkit-scrollbar-track{background:#eef3ef}.card::-webkit-scrollbar-thumb{background:#9fb4a5;border:2px solid #eef3ef;border-radius:999px}
.card th{font-size:12.5px;white-space:nowrap;word-break:keep-all;letter-spacing:-.01em}
.card td{font-size:13.5px;word-break:keep-all;overflow-wrap:anywhere}
.card td.money{overflow-wrap:normal}
.card tbody tr:focus-within>td{background:#e8f3eb!important}
.card tbody td:last-child,.card tbody td:nth-last-child(2){white-space:nowrap}
.link{min-height:28px;padding:4px 5px!important;border-radius:6px}
.link:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid rgba(47,107,78,.24);outline-offset:2px}
.pill{padding:5px 9px}
.empty{font-size:14px;line-height:1.6}
dialog form{overflow:visible}
dialog .modal-head{position:sticky;top:-26px;z-index:30;margin:-4px -4px 0;padding:4px 4px 15px;background:#fff}
dialog .modal-actions{position:sticky;bottom:-26px;z-index:30;margin:23px -4px -4px;padding:18px 4px 4px;background:#fff}
.modal-actions button{min-height:42px;padding:10px 16px}
.batch-expense-section,.reimbursement-fields{background:#fbfdfb}
.withholding-summary{border:1px solid #deebe1}
.cash-purpose-label{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#edf5ee;color:#28573d;font-size:12px;font-weight:750;white-space:nowrap}
@media(max-width:800px){
  .card table{min-width:720px}
  dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}
  dialog form{padding:20px 16px}
  dialog .modal-head{top:-20px;margin:-4px -1px 0;padding-top:4px}
  dialog .modal-actions{bottom:-20px;margin:20px -1px -4px}
  .fields{gap:13px}
}
