.account-allocation{container:account-allocation / inline-size;min-width:0;line-height:1.7}
.account-allocation *{min-width:0}
.account-allocation bdi{font-variant-numeric:tabular-nums}
.allocation-intro{border:1px solid #cbd8e0;background:#f3f7fa;border-radius:12px;padding:20px;margin-bottom:16px}
.allocation-intro h2{font-size:21px;margin:0 0 5px}.allocation-intro p{margin:6px 0;font-size:14px}
.allocation-rules{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.allocation-rules>div{display:flex;flex-direction:column;padding:12px 16px;background:white;border-radius:8px;border-inline-start:4px solid #527a95}
.allocation-rules>div:last-child{border-color:#ae791e}.allocation-rules span{font-size:13px}
.allocation-filter{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;align-items:end;padding:16px;border:1px solid #d6dfe5;border-radius:12px;background:white;margin-bottom:16px}
.allocation-filter label{margin:0;font-size:13px}.allocation-filter input,.allocation-filter select{margin-top:5px}
.allocation-filter-actions{display:flex;gap:8px;grid-column:1/-1}.allocation-filter>small{grid-column:1/-1;color:#526575}
.allocation-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.allocation-metrics>div{border:1px solid #d6dfe5;background:white;border-radius:10px;padding:16px}
.allocation-metrics span{display:block;font-size:13px}.allocation-metrics strong{display:block;font-size:23px;margin-top:5px}.allocation-metrics small{font-size:12px}
.allocation-section-title{font-size:17px;margin:22px 0 12px}
.allocation-receipt{border:2px solid #bdcdd8;border-radius:12px;background:white;margin-bottom:18px;overflow:hidden}
.allocation-receipt>header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;background:#f6f9fb;border-bottom:1px solid #cdd8df}
.allocation-receipt h3{font-size:16px;line-height:1.6;overflow-wrap:anywhere;margin:4px 0}
.allocation-method{display:inline-block;font-weight:700;font-size:12px;background:#dfeaf1;color:#24445a;border-radius:5px;padding:2px 9px}
.allocation-status{font-size:12px;color:#526575}.allocation-total{flex-shrink:0;text-align:left}.allocation-total>small{display:block;font-size:12px}.allocation-total strong{font-size:25px;white-space:nowrap}.allocation-total strong small{font-size:12px}
.allocation-dates{display:flex;flex-wrap:wrap;gap:12px;padding:12px 18px;border-bottom:1px solid #dce4e9}.allocation-dates>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:5px 10px;border-radius:6px}.allocation-dates span{font-size:13px}.allocation-dates time{font-weight:700}.allocation-effective{background:#eef3f7}
.allocation-distribution{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 18px}.allocation-distribution span{font-size:13px}
.account-allocation .allocation-table{width:100%;table-layout:fixed;white-space:normal;font-size:14px}
.allocation-table caption{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
.account-allocation .allocation-table th{font-size:12px;font-weight:700;background:#eef3f7;color:#344957;padding:10px 12px;border:1px solid #cdd8df;line-height:1.7}
.account-allocation .allocation-table td{padding:12px;border:1px solid #dce4e9;vertical-align:top;overflow-wrap:anywhere;line-height:1.8}
.allocation-table th:first-child{width:34%}.allocation-table td strong{display:block;font-weight:700;font-size:14px}.allocation-table td small{display:block;font-size:12px;color:#526575}.allocation-paid{font-weight:700;font-size:16px}.allocation-table time{font-size:12px}
.allocation-closed{color:#176043;font-size:12px;font-weight:700;display:inline-block;background:#e8f4ed;padding:3px 7px;border-radius:5px}.allocation-open{font-weight:700;color:#72511b}
.allocation-invoice-value{display:block;font-size:13px;color:#24445a;margin:3px 0}.allocation-invoice-value bdi{font-weight:700;white-space:nowrap}
.allocation-incentives{padding:0 18px 12px}.allocation-incentives summary{color:#3d596e;font-size:13px}.allocation-incentives p{font-size:13px;margin:4px 0}.allocation-incentives ul{list-style:none;padding:0;margin:10px 0}.allocation-incentives li{padding:9px 0;border-top:1px solid #dce4e9;overflow-wrap:anywhere;font-size:13px}.allocation-incentives li>span,.allocation-incentives li>small{display:block}.allocation-incentives li>small{color:#647480}
.allocation-pending{border-color:#dfcba2}.allocation-pending>header{background:#fffaf0}.allocation-pending .allocation-method{background:#f5e9cd;color:#735419}.allocation-message{padding:16px 18px;margin:0;font-size:14px;background:#fafbf9;border-radius:8px}
.allocation-noncash{padding:16px;background:white;border:1px solid #cdd8df;border-radius:12px;margin-top:20px}.allocation-noncash summary{font-size:14px}
@container account-allocation (max-width:760px){.allocation-filter{grid-template-columns:1fr 1fr}.allocation-metrics{gap:8px}.allocation-metrics>div{padding:12px}.allocation-metrics strong{font-size:20px}.allocation-table th:first-child{width:30%}}
@container account-allocation (max-width:580px){.allocation-rules{grid-template-columns:1fr;gap:8px}.allocation-intro{padding:14px}.allocation-receipt>header{padding:12px;align-items:start;flex-wrap:wrap}.allocation-total strong{font-size:23px}.allocation-receipt h3{font-size:15px}.allocation-dates{padding:10px}.allocation-distribution{padding:12px}.allocation-metrics{grid-template-columns:1fr}.allocation-metrics>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.allocation-metrics strong{margin:0}.allocation-table,.allocation-table tbody{display:block}.allocation-table thead{display:none}.account-allocation .allocation-table tr{display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:2px solid #c5d3dd;padding:4px 10px}.account-allocation .allocation-table td{display:block;width:auto;border:0;padding:8px;overflow-wrap:anywhere}.allocation-table td:first-child{grid-column:1/-1}.allocation-table td::before{content:attr(data-label);display:block;color:#647480;font-size:11px;font-weight:400;margin-bottom:4px}.allocation-table td:first-child::before{display:none}.allocation-incentives{padding:0 12px 10px}.allocation-noncash{padding:12px}}
@container account-allocation (max-width:340px){.allocation-filter{grid-template-columns:1fr}.allocation-rules>div{padding:10px}.account-allocation .allocation-table tr{padding:4px}}
