.agency-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.agency-print{background:#fff;border:1px solid #dce4eb;border-radius:12px;padding:24px}.agency-heading h2{margin:8px 0;font-size:23px}.agency-heading p{margin:6px 0;color:#526577;font-size:13px}.agency-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;border-top:1px solid #dce4eb;border-bottom:1px solid #dce4eb;padding:18px 0}.agency-totals span{display:block;color:#526577;font-size:12px}.agency-totals strong{font-size:24px}.agency-totals>div:last-child strong{color:#007f79}.agency-section{margin:26px 0}.agency-section h3{font-size:16px;margin-bottom:12px}.agency-annual{min-width:1600px}.agency-agent-link{background:none;border:0;padding:0;text-align:left;color:#007f79;font-weight:650}.agency-agent-table td:first-child{min-width:160px}.agency-agent-table tfoot th{border-top:2px solid #dce4eb}.agency-footnote{font-size:11px;color:#526577;margin-top:20px}.agency-page>.card{margin-top:18px}#agency-details td{vertical-align:top}#agency-details .table-wrap{margin:16px 0}
@media screen and (max-width:700px){.agency-print{padding:16px}.agency-totals{grid-template-columns:1fr;gap:12px}.agency-totals>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.agency-totals strong{font-size:20px}.agency-heading h2{font-size:20px}.agency-actions button{flex:1 1 auto}}
@media print{
 @page agency-report{size:letter landscape;margin:12mm}
 body:has(.agency-page){page:agency-report}
 body:has(.agency-page) .agency-print{border:0;padding:0;margin:0;border-radius:0;font-size:9px}
 body:has(.agency-page) .sidebar,body:has(.agency-page) .topbar,body:has(.agency-page) .mobile-tabs,body:has(.agency-page) .page-head,body:has(.agency-page) .no-print{display:none!important}
 body:has(.agency-page) .workspace,body:has(.agency-page) #content{margin:0;padding:0;max-width:none;width:auto}
 .agency-print .table-wrap{overflow:visible}.agency-print table{width:100%;min-width:0;table-layout:fixed;font-size:8px}
 .agency-print .agency-annual{font-size:6.7px}.agency-print th,.agency-print td{padding:5px 3px;white-space:normal;overflow-wrap:anywhere}
 .agency-print .agency-agent-table th:first-child,.agency-print .agency-agent-table td:first-child{width:100px;min-width:0}
 .agency-print h2{font-size:18px}.agency-print h3{font-size:12px;break-after:avoid}.agency-print p,.agency-print .note{font-size:8px}
 .agency-print thead{display:table-header-group}.agency-print tfoot{display:table-row-group}.agency-print tr{break-inside:avoid}.agency-print .agency-totals{break-inside:avoid;margin:15px 0;padding:12px 0}.agency-print .agency-totals strong{font-size:18px}.agency-print .agency-footnote{font-size:8px}.agency-print .alert{font-size:9px}
}
