.car-dialog{display:none}
@media screen{
 .car-dialog,.car-dialog *{box-sizing:border-box}
 .car-dialog{position:fixed;inset:0;width:min(1380px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--border-strong,#bfd0e5);border-radius:20px;background:var(--surface-solid,#fff);color:var(--text,#10213d);font:inherit;line-height:1.7;text-align:right;box-shadow:0 20px 80px #10213d40;overflow:hidden}
 .car-dialog[open]{display:flex;flex-direction:column}.car-dialog::backdrop{background:#10213d88}
 .car-dialog [hidden]{display:none!important}
 .car-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid var(--border,#dce4ee);flex:0 0 auto}
 .car-head h2{margin:0;font-size:1.2rem;line-height:1.7;overflow-wrap:anywhere}.car-head p{font-size:.88rem;color:var(--text-soft,#52647a);margin:3px 0 0}.car-close{flex:0 0 auto}
 .car-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 24px}
 .car-dialog h3{font-size:1rem;margin:24px 0 8px}.car-dialog p{overflow-wrap:anywhere}
 .car-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:9px 14px;border:1px solid var(--border-strong,#bfd0e5);border-radius:9px;background:var(--surface-solid,#fff);color:var(--text,#10213d);font:inherit;font-weight:700;line-height:1.5;cursor:pointer;white-space:normal}
 .car-primary{background:var(--primary,#1b56c4);border-color:var(--primary,#1b56c4);color:#fff}.car-button:disabled{opacity:.5;cursor:default}
 .car-dialog :is(button,input,select,[tabindex]):focus-visible{outline:3px solid #719cfa;outline-offset:3px}
 .car-controls{padding:14px;border:1px solid var(--border,#dce4ee);border-radius:12px;background:var(--surface-muted,#f5f8fc)}
 .car-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px;align-items:end}
 .car-dialog label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:.92rem;font-weight:700}
 .car-dialog input,.car-dialog select{min-width:0;width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--border-strong,#bfd0e5);border-radius:9px;background:var(--surface-solid,#fff);color:var(--text,#10213d);font:inherit}.car-dialog input[type=date]{direction:ltr;text-align:left}
 .car-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.car-actions .car-primary{margin-inline-start:auto}
 .car-status{min-height:28px;margin:14px 0 8px;color:var(--text-soft,#52647a);font-size:.9rem}.car-error{padding:12px 14px;border:1px solid #e3a7a7;border-radius:10px;color:var(--danger,#9d2020);background:#fff4f4}
 .car-totals{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:10px}.car-totals>div{padding:12px;border:1px solid var(--border,#dce4ee);border-radius:11px;background:var(--surface-muted,#f5f8fc);min-width:0}.car-totals span{display:block;color:var(--text-soft,#52647a);font-size:.8rem;overflow-wrap:anywhere}.car-totals strong{display:block;font-size:1.5rem;font-variant-numeric:tabular-nums;line-height:1.5}.car-totals>div:first-child{background:#eaf1ff;border-color:#a8c0ef}.car-totals>div:nth-child(2){background:#edf8f2;border-color:#b8deca}
 .car-muted{font-size:.84rem;color:var(--text-soft,#52647a);margin:8px 0}
 .car-table-wrap{max-width:100%;min-width:0;overflow:auto;margin:10px 0;border:1px solid var(--border,#dce4ee);border-radius:10px}
 .car-dialog table{width:100%;border-collapse:collapse;font-size:.83rem}.car-employees{min-width:960px}.car-details{min-width:1220px;table-layout:fixed}.car-details th:nth-child(1){width:4%}.car-details th:nth-child(2){width:12%}.car-details th:nth-child(3){width:12%}.car-details th:nth-child(4){width:15%}.car-details th:nth-child(5){width:12%}.car-details th:nth-child(6){width:13%}.car-details th:nth-child(7){width:10%}.car-details th:nth-child(8){width:22%}
 .car-dialog th,.car-dialog td{padding:11px 12px;border-bottom:1px solid var(--border,#dce4ee);text-align:right;vertical-align:top;line-height:1.8;overflow-wrap:anywhere}.car-dialog thead{background:var(--surface-muted,#f5f8fc)}.car-dialog tbody tr:last-child>:is(th,td){border-bottom:0}.car-dialog td small{display:block;color:var(--text-soft,#52647a);font-size:.78rem}.car-dialog .car-number{text-align:center;font-variant-numeric:tabular-nums}.car-note{white-space:pre-wrap;overflow-wrap:anywhere}.car-outcome{display:inline-block;font-size:.8rem;font-weight:700}.car-outcome-contacted,.car-outcome-promised_payment{color:#1b6b43}.car-outcome-no_answer{color:#80510b}.car-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:16px 0}.car-pagination span{font-size:.85rem;color:var(--text-soft,#52647a)}.car-empty{padding:30px 12px;text-align:center;background:var(--surface-muted,#f5f8fc);border-radius:12px}
 @media(max-width:1150px){.car-totals{grid-template-columns:repeat(3,minmax(0,1fr))}}
 @media(max-width:640px){.car-dialog{width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.car-head,.car-content{padding:14px}.car-head{gap:10px}.car-head h2{font-size:1.05rem}.car-head p{font-size:.8rem}.car-controls{padding:12px}.car-filters{grid-template-columns:1fr}.car-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.car-totals>div{padding:10px 12px}.car-actions{gap:8px}.car-actions .car-primary{margin-inline-start:0;flex:1 1 100%}.car-actions>.car-button{flex:1 1 auto}.car-dialog th,.car-dialog td{padding:9px 10px}}
}
.car-account-action{min-width:110px}.car-dialog .car-account-action{position:sticky;inset-inline-end:0;background:var(--surface-solid,#fff);border-inline-start:1px solid var(--border,#dce4ee)}.car-dialog .car-details th.car-account-action{width:120px}.car-account-action .car-button{white-space:nowrap}
@media print{.car-dialog,.car-account-action{display:none!important}}
