.admin-payment-panel{padding:16px 18px}.admin-payment-header{margin-bottom:12px}.admin-payment-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;align-items:start}.admin-payment-form .field{min-width:0}.admin-payment-form .field label{margin-bottom:5px}.admin-payment-form select,.admin-payment-form input{min-height:40px}.admin-payment-form .field-hint{margin-top:4px;font-size:10px;line-height:1.35}.admin-payment-submit{grid-column:1/-1;display:flex;justify-content:flex-end;margin-top:0}.admin-payment-submit .button{min-width:230px}.date-shortcuts{display:flex;gap:5px;margin-top:6px}.date-shortcuts button{padding:4px 8px;border:1px solid #d7e2ef;border-radius:7px;color:#52647a;background:#f8fafc;font-size:9px;font-weight:800;cursor:pointer}.date-shortcuts button:hover{border-color:#93b4df;color:#1d4ed8;background:#eff6ff}.billing-reset-panel{margin-top:14px;border:1px solid #fecaca;border-radius:13px;background:#fffafa}.billing-reset-panel>summary{display:flex;gap:8px;align-items:center;padding:11px 14px;color:#b42318;font-size:11px;font-weight:850;cursor:pointer;list-style:none}.billing-reset-panel>summary::-webkit-details-marker{display:none}.billing-reset-panel>summary .icon{width:15px;height:15px}.billing-reset-content{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:end;padding:0 14px 14px;border-top:1px solid #fee2e2}.billing-reset-content>div{padding-top:12px}.billing-reset-content strong{display:block;color:#7f1d1d;font-size:11px}.billing-reset-content p{max-width:760px;margin:4px 0 0;color:#8d4b4b;font-size:9px;line-height:1.45}.billing-reset-content form{display:flex;gap:8px;align-items:end}.billing-reset-content label{display:grid;gap:4px;color:#7f1d1d;font-size:9px;font-weight:800}.billing-reset-content input{width:145px;min-height:36px;border-color:#fecaca;background:#fff}.billing-location-invoice{grid-column:1/-1;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:9px 10px;border:1px solid #e2eaf3;border-radius:10px;background:#f8fbff}.billing-location-invoice small,.billing-location-invoice strong,.billing-location-invoice span{display:block}.billing-location-invoice small{color:#75869b;font-size:8px;font-weight:800;text-transform:uppercase}.billing-location-invoice strong{margin-top:2px;color:#29384d;font-size:10px}.billing-location-invoice span{margin-top:1px;color:#66778c;font-size:8px}.billing-location-invoice-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.payu-invoice-recipient{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-width:210px;padding:7px 8px 7px 10px;border:1px solid #e2eaf3;border-radius:10px;background:#f8fbff}.payu-invoice-recipient>div{min-width:0}.payu-invoice-recipient span,.payu-invoice-recipient strong,.payu-invoice-recipient small{display:block}.payu-invoice-recipient span{color:#8391a4;font-size:7px;font-weight:850;text-transform:uppercase}.payu-invoice-recipient strong{overflow:hidden;margin-top:2px;color:#314158;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.payu-invoice-recipient small{margin-top:1px;color:#718096;font-size:8px}.payu-invoice-edit{display:inline-flex;gap:4px;align-items:center;justify-content:center;min-height:29px;padding:0 8px;border:1px solid #cbdcf0;border-radius:8px;color:#245da8;background:#fff;font-size:8px;font-weight:850;cursor:pointer;white-space:nowrap}.payu-invoice-edit:hover{border-color:#8fb5e6;background:#eff6ff}.payu-invoice-edit .icon{width:11px;height:11px}

.location-invoice-reset{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:12px 18px 0;padding:10px 12px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff}.location-invoice-reset strong,.location-invoice-reset small{display:block}.location-invoice-reset strong{color:#1e3a5f;font-size:10px}.location-invoice-reset small{margin-top:2px;color:#5f7390;font-size:8px}.location-invoice-reset .button{flex:0 0 auto}@media(max-width:620px){.location-invoice-reset{align-items:stretch;flex-direction:column}.location-invoice-reset .button{width:100%}}

.invoice-details-backdrop{align-items:center;overflow-y:auto;padding:16px}.invoice-details-modal{height:min(760px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);margin:auto}.invoice-details-modal>.company-plan-form{flex:1 1 auto;min-height:0}.invoice-details-modal-body{padding-top:18px}.invoice-details-modal .company-modal-actions{flex:0 0 auto}@media(max-width:620px){.invoice-details-backdrop{align-items:start;padding:8px}.invoice-details-modal{width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.invoice-details-modal>.company-modal-header{padding:17px 16px 14px}.invoice-details-modal .company-modal-header .panel-title{font-size:19px}.invoice-details-modal-body{padding:14px 16px}.invoice-details-modal .company-modal-actions{padding:12px 16px}}

/* Laptop-first compact invoice workspace. */
.invoice-admin-screen{gap:10px;padding-bottom:18px}.invoice-overview{padding:12px 15px;border-radius:13px}.invoice-overview-icon{width:40px;height:40px;flex-basis:40px;border-radius:11px}.invoice-overview h2{font-size:17px}.invoice-overview p:last-child{margin-top:3px;line-height:1.3}.invoice-connection{min-width:205px;padding:8px 10px}.invoice-kpis{gap:8px}.invoice-kpis article{padding:9px 12px;border-radius:11px}.invoice-kpis strong{margin:3px 0 1px;font-size:17px}.invoice-toolbar{padding:9px 10px;border-radius:11px}.invoice-search input,.invoice-filters select,.invoice-toolbar .button{height:36px;min-height:36px}.invoice-list{gap:7px}.invoice-card{border-radius:12px}.invoice-card-header{padding:8px 12px}.invoice-document-title>span{width:30px;height:30px;flex-basis:30px;border-radius:8px}.invoice-card-body{grid-template-columns:minmax(190px,.75fr) minmax(0,2.25fr);gap:12px;padding:9px 12px}.invoice-customer{grid-template-columns:32px minmax(0,1fr);gap:8px}.invoice-customer-avatar{width:32px;height:32px;border-radius:9px}.invoice-details-grid{gap:6px}.invoice-details-grid>div{padding:6px 8px;border-radius:8px}.invoice-card-footer{padding:7px 12px}.invoice-card-footer .compact-button{min-height:31px;padding:6px 9px;font-size:8px}.invoice-alert{margin:0 12px 8px;padding:7px 9px}.invoice-manual-form{margin-top:8px;padding-top:8px}.invoice-empty{padding:28px 18px}

@media(max-width:1100px){.admin-payment-form{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-card-body{grid-template-columns:minmax(180px,.7fr) minmax(0,2.3fr)}.invoice-details-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){.admin-payment-form{grid-template-columns:1fr}.admin-payment-submit{grid-column:auto}.admin-payment-submit .button{width:100%;min-width:0}.billing-reset-content{grid-template-columns:1fr}.billing-reset-content form{align-items:stretch;flex-direction:column}.billing-reset-content input{width:100%}.billing-location-invoice{align-items:flex-start;flex-direction:column}.invoice-card-body{grid-template-columns:1fr}.invoice-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
