/* bulk expenses: one clean line of short labels, inputs aligned */
.bulk-expenses-row{align-items:end!important}
.bulk-expenses-row label{white-space:nowrap;font-size:.8rem!important}
.bulk-expenses-row label>span,.bulk-expenses-row label{overflow:hidden;text-overflow:ellipsis}
.bulk-expenses-row .bulk-remove{align-self:end}
.bulk-extra-fields summary{font-size:.85rem;color:#4E5875}
/* shared link + table */
.acv-ch-link{background:none;border:0;padding:0;font:inherit;color:#1F5E8C;font-weight:600;cursor:pointer;text-align:left}
.acv-ch-link:hover{text-decoration:underline}
.acv-ch-table-wrap{overflow-x:auto}
.acv-ch-table{width:100%;border-collapse:collapse;font-size:14px}
.acv-ch-table th{text-align:left;font-size:12px;font-weight:600;color:#4E5875;background:#F4F2EC;padding:9px 10px;white-space:nowrap}
.acv-ch-table td{padding:10px;border-bottom:1px solid #E6E1D6;vertical-align:middle;color:#11152A}
.acv-ch-table .num{text-align:right;white-space:nowrap}
.acv-ch-table tbody tr{cursor:pointer}.acv-ch-table tbody tr:hover{background:#FAF8F3}
.acv-ch-empty{color:#4E5875;padding:12px 0}
/* client home */
.acv-ch{position:fixed;inset:0;z-index:70;background:#F4F2EC;display:flex;flex-direction:column;overflow:auto}
.acv-ch-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 20px;background:#fff;border-bottom:1px solid #E6E1D6;position:sticky;top:0;z-index:1}
.acv-ch-title{display:flex;gap:12px;align-items:center}.acv-ch-title strong{display:block;font-size:20px}.acv-ch-title small{color:#4E5875}
.acv-ch-actions{display:flex;gap:8px;flex-wrap:wrap}
.acv-ch-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.acv-ch-top{padding:16px 20px 0}
.acv-ch-tile{background:#fff;border:1px solid #E6E1D6;border-radius:10px;padding:12px 14px}.acv-ch-tile span{display:block;font-size:12px;color:#4E5875}.acv-ch-tile strong{font-size:20px}
.acv-ch-tile.good strong{color:#2F7A4A}
.acv-ch-tabs{display:flex;gap:4px;padding:14px 20px 0;border-bottom:1px solid #E6E1D6;overflow-x:auto}
.acv-ch-tabs button{border:0;background:none;padding:10px 14px;font:inherit;font-weight:600;color:#4E5875;border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap}
.acv-ch-tabs button[aria-selected=true]{color:#11152A;border-bottom-color:#11152A}
.acv-ch-body{padding:16px 20px 120px}
.acv-ch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;align-items:start}
.acv-ch-card{background:#fff;border:1px solid #E6E1D6;border-radius:12px;padding:16px}
.acv-ch-card h3{margin:0 0 10px;font-size:16px}
.acv-ch-card dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0}.acv-ch-card dt{color:#4E5875;font-size:13px}.acv-ch-card dd{margin:0;word-break:break-word}
.acv-ch-credit{border-top:1px solid #E6E1D6;padding:10px 0;display:grid;gap:8px}.acv-ch-credit:first-of-type{border-top:0}
.acv-ch-credit-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.acv-ch-credit small{color:#4E5875}
.acv-ch-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.acv-ch-form label{display:grid;gap:4px;font-size:12px;color:#4E5875;flex:1;min-width:130px}
.acv-ch-form input,.acv-ch-form select{min-height:38px;border:1px solid #d8dbcf;border-radius:8px;padding:0 10px;background:#fff;font:inherit;color:#11152A}
.acv-ch-feed{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.acv-ch-feed li{background:#fff;border:1px solid #E6E1D6;border-radius:10px;padding:10px 12px}
.acv-ch-feed-top{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#4E5875}.acv-ch-feed p{margin:4px 0 0}.acv-ch-note{white-space:pre-wrap}
/* receipts: list, own pages for view and edit */
.acv-receipt-workspace .acv-rl td{color:#11152A}
.acv-rl-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap;cursor:default}
.acv-rp-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.acv-rp-bar h2{margin:0;font-size:20px;flex:1}
.acv-rp-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.acv-rp-danger{max-width:820px;margin:16px auto 0;display:flex;gap:12px;flex-wrap:wrap}
.acv-rp-paper{max-width:820px;margin:0 auto;background:#fff;border:1px solid #E6E1D6;border-radius:6px;padding:32px 36px;color:#11152A}
.acv-rp-co strong{font-size:20px}.acv-rp-co p{margin:2px 0;color:#4E5875;font-size:13px}
.acv-rp-title{text-align:center;font-size:18px;letter-spacing:.06em;margin:28px 0 22px;border-top:1px solid #D9D4C7;padding-top:22px}
.acv-rp-top{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:flex-start}
.acv-rp-top dl{display:grid;grid-template-columns:auto 1fr;gap:10px 22px;margin:0;flex:1;min-width:260px}.acv-rp-top dt{color:#4E5875}.acv-rp-top dd{margin:0;font-weight:600;border-bottom:1px solid #D9D4C7;padding-bottom:2px}
.acv-rp-amt{background:#3E8E5A;color:#fff;border-radius:4px;padding:18px 22px;text-align:center;min-width:200px}.acv-rp-amt span{display:block;font-size:13px}.acv-rp-amt strong{font-size:22px}
.acv-rp-from{margin:26px 0 18px;display:grid;gap:4px}.acv-rp-from span,.acv-rp-label{color:#4E5875;font-size:13px;font-weight:600;display:block;margin-bottom:6px}.acv-rp-from .acv-ch-link{font-size:17px}
.acv-rp-over{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #D9D4C7;margin-top:14px;padding-top:12px}
.acv-rp-notes{margin-top:18px}.acv-rp-notes p{margin:0;white-space:pre-wrap}
@media (max-width:640px){.acv-rp-paper{padding:18px}.acv-ch-bar,.acv-ch-top,.acv-ch-tabs,.acv-ch-body{padding-left:16px;padding-right:16px}}
