@import '/assets/rent-payment-calendar/resource.a6158962ac2d.css';
.payment-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}
.payment-results {
  min-width: 0;
}
.payment-results h2 {
  margin-top: 0;
}
.clamp-rule {
  border-left: 3px solid var(--action);
  padding: 0.5rem 1rem;
  background: #e8eefc;
}
.amount-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  min-height: 46px;
  cursor: pointer;
}
.amount-choice input {
  width: 22px;
  min-height: 22px;
  flex-shrink: 0;
}
.table-scroll {
  overflow-x: auto;
  max-height: 36rem;
}
table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  background: white;
}
caption {
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted);
  padding-bottom: 0.75rem;
}
th,
td {
  text-align: left;
  padding: 0.8rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: #e8eefc;
}
td:nth-child(2) {
  white-space: nowrap;
  font-weight: 600;
}
#schedule-label {
  overflow-wrap: anywhere;
}
.export-actions {
  margin-top: 1rem;
}
@media (max-width: 850px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #edf2ff;
    --muted: #bbc7dc;
    --paper: #131c2b;
    --line: #40516b;
    --action: #9cbbff;
    --good: #8ce8af;
  }
  .site-header,
  form,
  input,
  select,
  button,
  table {
    background: #1d293d;
  }
  button[type='submit'] {
    background: #1d4ed8;
  }
  th,
  .clamp-rule {
    background: #293c60;
  }
  .field-error,
  #errors {
    color: #ffb4b4;
  }
  .skip {
    background: #1d293d;
  }
}
@media print {
  :root {
    --ink: #000;
    --muted: #333;
    --paper: #fff;
    --line: #aaa;
  }
  table {
    min-width: 0;
  }
  body,
  table,
  th {
    background: white;
    color: black;
  }
  .payment-layout {
    display: block;
  }
  form,
  .intro,
  .explanation,
  .export-actions,
  #export-note {
    display: none;
  }
  .table-scroll {
    overflow: visible;
    max-height: none;
  }
  thead {
    display: table-header-group;
  }
  tr {
    break-inside: avoid;
  }
}
