.invoice-register [data-invoice-register-toolbar] {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.invoice-register-filter {
  width: min(100%, 290px);
  min-width: 0;
}
.invoice-register-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.invoice-register-actions .icon-button,
.invoice-register-dialog .icon-button {
  display: inline-grid;
  min-width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
}
.invoice-register-range { padding-inline: 5px; font-size: 13px; white-space: nowrap; }
.invoice-register table { min-width: 1010px; }
.invoice-register td.num, .invoice-register-date {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.invoice-register-gross { font-weight: 650; }
.invoice-register-party { min-width: 110px; overflow-wrap: anywhere; }
.invoice-register-unreconciled { color: #536564; }
.invoice-register-number {
  min-height: 28px;
  padding: 0;
  border: 0;
  color: #006659;
  background: transparent;
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.invoice-register-number:hover { text-decoration: underline; }
.invoice-register-number:focus-visible { outline: 2px solid #008477; outline-offset: 2px; }
.invoice-register-dialog {
  color: #172321;
  background: #fff;
  border: 1px solid #d5e0de;
  border-radius: 8px;
  width: min(780px, calc(100% - 24px));
  max-height: 82dvh;
  padding: 0;
  overflow: auto;
}
.invoice-register-dialog::backdrop { background: #13282466; }
.invoice-register-dialog > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #dce5e3;
}
.invoice-register-dialog h2 {
  margin: 0;
  font-size: 20px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.invoice-register-detail { padding: 12px 16px 16px; }
.invoice-register-detail h3 { margin: 16px 0 6px; font-size: 15px; }
.invoice-register-detail p { margin: 0; }
.invoice-register-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
}
.invoice-register-summary:not(:first-child) {
  padding-top: 10px;
  margin-top: 8px;
}
.invoice-register-summary dt { color: #536564; font-size: 12px; }
.invoice-register-summary dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.invoice-register-detail .invoice-register-positions { border-radius: 6px; box-shadow: none; }
.invoice-register-detail table { width: 100%; table-layout: auto; }
.invoice-register-detail :is(th, td) { height: auto; padding-block: 7px; }
.invoice-register-detail table th,
.invoice-register-detail table td:first-child { white-space: normal; overflow-wrap: anywhere; }
.invoice-register-detail table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .invoice-register-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invoice-register-detail td, .invoice-register-detail th { padding-inline: 5px; }
}
