:root {
  --navy: #073552;
  --navy2: #052b44;
  --blue: #0e86bd;
  --orange: #df9c37;
  --ink: #123047;
  --muted: #668092;
  --line: #d9e4ea;
  --bg: #f4f7f9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px Arial,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 500;
  color: var(--navy);
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 700;
}
input,
select {
  border: 1px solid #cbdbe4;
  border-radius: 8px;
  background: white;
  padding: 11px;
  color: var(--ink);
}
.primary,
.button {
  border: 0;
  border-radius: 7px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.primary {
  background: var(--blue);
  color: white;
}
.button {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.17em;
  font-weight: 800;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 44% 56%;
  background: #fff;
}
.brand {
  padding: 56px 64px;
  color: #fff;
  background: linear-gradient(150deg, var(--navy2), #075276);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: #fff;
}
.logo b {
  font: italic 48px Georgia;
}
.logo span {
  font: 17px Georgia;
}
.brand i {
  display: block;
  width: 46px;
  height: 4px;
  background: var(--orange);
}
.brand h1 {
  color: #fff;
  font-size: 62px;
  line-height: 1.03;
  margin: 24px 0 18px;
}
.brand p {
  font-size: 18px;
  color: #dce9f0;
}
.loginForm {
  display: grid;
  place-items: center;
}
.loginForm form {
  width: min(430px, 80%);
}
.loginForm h2 {
  font-size: 42px;
  margin: 10px 0 25px;
}
.loginForm label {
  margin: 16px 0;
}
.loginForm input,
.loginForm button {
  width: 100%;
  height: 52px;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 270px 1fr;
}
.shell > aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 270px;
  background: var(--navy2);
  padding: 34px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.shell aside .logo b {
  font-size: 35px;
}
.person {
  display: flex;
  gap: 12px;
  align-items: center;
  border-block: 1px solid #1c4c67;
  margin-top: 28px;
  padding: 22px 9px;
}
.person > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dbeaf1;
  color: var(--navy);
  font-weight: bold;
}
.person div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.person small {
  color: #7eb1cc;
}
.shell nav {
  display: grid;
  gap: 7px;
  margin-top: 22px;
}
.shell nav a,
.logout {
  padding: 16px;
  border-radius: 8px;
  color: #abc4d2;
  text-decoration: none;
  font-weight: 700;
}
.shell nav a.active {
  background: #124864;
  color: #fff;
  border-left: 3px solid var(--orange);
}
.logout {
  margin-top: auto;
}
.work {
  grid-column: 2;
  min-width: 0;
}
.work > header {
  height: 87px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.work > header div {
  display: flex;
  flex-direction: column;
}
.content {
  padding: 38px 42px 60px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 26px;
  gap: 20px;
}
.heading h1 {
  font-size: 42px;
  margin: 7px 0 5px;
}
.heading > div > p:last-child {
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 10px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.chartCard {
  padding: 25px;
}
.chartCard h2 {
  font-size: 27px;
}
.chartCard p {
  color: var(--muted);
  margin-top: 6px;
}
.chartCard canvas {
  width: 100%;
  height: 270px;
  margin-top: 15px;
}
.dashboardActions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.period {
  display: flex;
  margin: 0;
}
.period label {
  min-width: 118px;
}
.filters {
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: end;
  overflow: visible;
}
.filters label:first-of-type {
  flex: 1;
}
.filters input,
.filters select {
  min-width: 140px;
}
.count {
  color: var(--muted);
  margin: 14px 5px;
}
.table {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 1100px;
}
th {
  background: #f1f5f7;
  color: #60798a;
  text-align: left;
  text-transform: uppercase;
  font-size: 11px;
  padding: 14px;
}
td {
  padding: 15px 14px;
  border-top: 1px solid var(--line);
  white-space: nowrap;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.pill {
  border-radius: 99px;
  padding: 7px 10px;
  font-weight: 800;
  font-size: 12px;
}
.due {
  background: #fff0e1;
  color: #bb5c08;
}
.paid {
  background: #e5f6f0;
  color: #14745f;
}
.delete {
  border: 0;
  border-radius: 7px;
  background: #fff0ee;
  padding: 8px;
}
.notice,
.alert {
  padding: 13px 16px;
  border-radius: 8px;
  margin-bottom: 17px;
}
.notice {
  background: #e5f6f0;
  color: #14745f;
}
.alert {
  background: #fff0ee;
  color: #a3322a;
}
dialog {
  border: 0;
  border-radius: 14px;
  width: min(820px, calc(100vw - 30px));
  max-width: 820px;
  overflow-x: hidden;
  box-shadow: 0 20px 60px #052b4450;
}
dialog::backdrop {
  background: #052b4475;
}
.modal {
  padding: 20px;
  max-width: 100%;
  overflow: hidden;
}
.modal h2 {
  font-size: 32px;
  margin: 8px 0 20px;
}
.close {
  float: right;
  border: 0;
  background: none;
  font-size: 25px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
.grid label,
.grid input,
.grid select {
  min-width: 0;
  width: 100%;
}
.autocompleteField {
  position: relative;
}
.autocompleteSuggestions {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 3px);
  left: 0;
  right: 0;
  max-height: 230px;
  overflow-y: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 30px #052b4425;
}
.autocompleteSuggestions[hidden] {
  display: none;
}
.autocompleteSuggestions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}
.autocompleteSuggestions button:last-child {
  border-bottom: 0;
}
.suggestionName {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.suggestionOffice {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.autocompleteSuggestions button:hover,
.autocompleteSuggestions button:focus {
  background: #eaf5fa;
}
.editLink {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
}
.full {
  grid-column: 1/-1;
}
.collection {
  padding: 25px;
}
.collection h2 {
  margin: 28px 0 14px;
}
.pending {
  overflow: auto;
}
.pendingHead,
.pendingRow {
  min-width: 1050px;
  display: grid;
  grid-template-columns: 25px 80px 1.5fr 1fr 1fr 120px 120px;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border-bottom: 1px solid var(--line);
}
.pendingHead {
  font-size: 11px;
  color: var(--muted);
}
.pendingRow input {
  width: 110px;
}
.emptyReport {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.tabs button {
  padding: 11px 14px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.tabs .active {
  color: var(--blue);
  border-bottom: 3px solid var(--blue);
  font-weight: 700;
}
.configPanel[hidden] {
  display: none;
}
.configTools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.configTools label {
  width: min(420px, 100%);
}
.compactTable table {
  min-width: 720px;
}
.compactTable th,
.compactTable td {
  padding: 10px 13px;
}
.accountForm {
  display: grid;
  gap: 14px;
}
.accountForm .close {
  justify-self: end;
}
.accountForm h2 {
  margin-top: -35px;
  padding-right: 35px;
}
.importPage {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 60px;
}
.importHeading {
  margin: 28px 0 24px;
}
.importHeading h1 {
  margin: 7px 0 6px;
  font-size: 42px;
}
.importHeading > p:last-child,
.importIntro,
.muted {
  color: var(--muted);
}
.importTabs a {
  padding: 11px 14px;
  color: var(--muted);
  text-decoration: none;
}
.importTabs a.active {
  color: var(--blue);
  border-bottom: 3px solid var(--blue);
  font-weight: 700;
}
.importCard,
.importPreview {
  padding: 24px;
}
.importCard h2,
.importPreview h2 {
  margin: 7px 0 20px;
  font-size: 29px;
}
.importCard form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.uploadField {
  padding: 18px;
  border: 1px dashed var(--blue);
  border-radius: 9px;
  background: #f7fbfd;
}
.uploadField small {
  color: var(--muted);
  font-weight: 400;
}
.infoBox {
  padding: 15px 17px;
  border: 1px solid #9ed5ee;
  border-radius: 8px;
  background: #eef8fc;
  color: #17648a;
}
.importActions,
.previewFooter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.importPreview {
  margin-top: 18px;
}
.importPreview table {
  min-width: 760px;
}
.previewFooter {
  margin-top: 18px;
}
.errorPreview td:last-child {
  color: #a3322a;
}
.importTabs {
  display: flex;
  flex-wrap: wrap;
}
.unappliedSection {
  margin-top: 30px;
}
.compactHeading {
  margin-bottom: 14px;
}
.compactHeading h2 {
  margin: 4px 0;
  font-size: 30px;
}
.unappliedTable {
  min-width: 1000px;
}
#apply-collection-modal {
  width: min(1120px, calc(100vw - 30px));
  max-width: 1120px;
}
.applyCollectionForm {
  width: auto;
  max-width: none;
}
.applyPending {
  margin: 20px 0;
}
@media (max-width: 1000px) {
  .charts {
    grid-template-columns: 1fr;
  }
  .filters {
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  .login {
    grid-template-columns: 1fr;
  }
  .brand {
    display: none;
  }
  .shell {
    display: block;
  }
  .shell > aside {
    position: static;
    width: auto;
  }
  .shell nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .work {
    grid-column: auto;
  }
  .content {
    padding: 25px 15px;
  }
  .heading {
    align-items: start;
    flex-direction: column;
  }
  .dashboardActions {
    justify-content: flex-start;
  }
  .charts {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .configTools {
    align-items: stretch;
    flex-direction: column;
  }
  .work > header {
    padding: 0 18px;
  }
}
