.statement-heading,.statement-card-heading,.statement-account{display:flex;align-items:center;justify-content:space-between;gap:1rem}.statement-heading{margin-bottom:1.5rem}.statement-heading h2{margin:0}.statement-heading p{margin:.5rem 0 0}.statement-filters{display:grid;grid-template-columns:1fr 12rem 1fr;gap:1rem;margin-bottom:1.25rem}.statement-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}.statement-count{grid-column:1/-1;margin:0;color:var(--muted,#6c7480)}.statement-card{border:1px solid var(--border,#d9e0e8);border-radius:14px;background:var(--surface,#fff);padding:1.25rem}.statement-open{border:0;background:none;font-size:1.1rem;font-weight:650;color:inherit;text-align:left;padding:0}.statement-period{font-variant-numeric:tabular-nums;color:var(--muted,#6c7480);margin:.65rem 0 1rem}.statement-card .values{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.statement-card .values dd{font-variant-numeric:tabular-nums}.statement-next{font-weight:600;margin-bottom:.4rem}.statement-account{padding:1rem 0;border-bottom:1px solid var(--border,#d9e0e8);flex-wrap:wrap}.statement-account strong{min-width:10rem}.statement-account .muted{flex:1}.statement-settings{margin-top:1.5rem}.statement-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.statement-evidence{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;border:1px solid var(--border,#d9e0e8);border-radius:10px;padding:1rem}.statement-form .toolbar{margin-top:1.25rem}.statement-preview{border:1px solid var(--border,#d9e0e8);border-radius:12px;padding:1rem;margin:1rem 0}.statement-history{padding:.8rem 0;border-bottom:1px solid var(--border,#d9e0e8)}.statement-history small{display:block;margin:.4rem 0}.statement-form .field:has(textarea){grid-column:1/-1}@media(max-width:700px){.statement-heading{align-items:flex-start;flex-direction:column}.statement-filters,.statement-form-grid,.statement-evidence{grid-template-columns:1fr}.statement-list{grid-template-columns:1fr}.statement-account{align-items:flex-start}.statement-card{padding:1rem}.statement-account .muted{flex-basis:100%}}

.statement-checkbox{display:flex;align-items:center;gap:.65rem;min-height:44px}.statement-checkbox input{order:-1;width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px}.statement-confirmation{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;border:1px solid var(--border,#d9e0e8);border-radius:10px;padding:1rem}.statement-confirmation[hidden],.statement-evidence[hidden]{display:none}.statement-form-grid>p{grid-column:1/-1}@media(max-width:700px){.statement-confirmation{grid-template-columns:1fr}}

.statement-invoice-panel{margin-top:1.5rem}.statement-invoice-card{border:1px solid var(--border,#d9e0e8);border-radius:12px;padding:1rem;margin:1rem 0;background:var(--surface,#fff)}.statement-invoice-card h4{font-size:1rem;margin:0 0 1rem;overflow-wrap:anywhere}.statement-invoice-card .values{grid-template-columns:repeat(2,minmax(0,1fr))}.statement-invoice-table{max-width:100%;overflow-x:auto;margin:1rem 0}.statement-invoice-table table{width:100%;border-collapse:collapse;font-size:.875rem}.statement-invoice-table th,.statement-invoice-table td{padding:.65rem;text-align:left;border-bottom:1px solid var(--border,#d9e0e8);vertical-align:top;min-width:5.5rem}.statement-invoice-table th:first-child{min-width:12rem}.statement-invoice-table td button{display:block;min-height:36px}.statement-invoice-form-detail,.statement-invoice-form-fields{grid-column:1/-1;min-width:0}.statement-invoice-form-fields,.statement-invoice-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.statement-invoice-facts{grid-column:1/-1;border:1px solid var(--border,#d9e0e8);border-radius:10px;padding:1rem}.statement-invoice-facts p,.statement-invoice-form-fields>p{grid-column:1/-1}.statement-invoice-facts input[readonly]{background:var(--subtle,#f4f6f8);color:inherit}.statement-invoice-panel>.field{margin-top:1rem}.statement-invoice-panel .notice{overflow-wrap:anywhere}@media(max-width:700px){.statement-invoice-card{padding:.85rem}.statement-invoice-form-fields,.statement-invoice-facts{grid-template-columns:1fr}.statement-invoice-card .values{grid-template-columns:1fr}.statement-invoice-table th,.statement-invoice-table td{padding:.55rem}.statement-invoice-panel>.toolbar{align-items:stretch;flex-direction:column}}

.statement-invoice-card dd,.statement-invoice-form-detail dd{overflow-wrap:anywhere;min-width:0}.statement-invoice-facts .field,.statement-invoice-form-fields .field{min-width:0}

.statement-invoice-table td small{display:block;margin-top:.35rem;max-width:18rem;white-space:normal;overflow-wrap:anywhere}
