.finance-operations-workspace {
  container-type: inline-size;
}
/* The campus name may be longer than the teacher welcome subtitle. */
:root .welcome.finance-operations-hero .finance-campus-name {
  white-space: normal;
  overflow-wrap: anywhere;
}
.finance-operations-workspace .finance-report-tabs[hidden] {
  display: none;
}
.finance-operations-workspace .finance-module-links button,
.finance-operations-workspace .finance-module-card button {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--control-radius, 9px);
  background: #fff;
  color: var(--accent-foreground, var(--deep));
  font-size: 15px;
  font-weight: 600;
}
.finance-operations-modules button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent, white);
  border-color: var(--accent);
}
.finance-operations-workspace .finance-report-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
}
.finance-operations-workspace .finance-report-heading h2,
.finance-operations-workspace .finance-module-content h2 {
  margin: 0;
  font-size: 20px;
  color: var(--deep);
}
.finance-operations-workspace .finance-report-heading p,
.finance-operations-workspace .finance-net-formula,
.finance-operations-workspace .finance-module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.finance-operations-workspace .workspace-operation > .table-scroll > .data-table {
  width: 100%;
  min-width: min-content;
  max-width: none;
  table-layout: auto;
  font-variant-numeric: tabular-nums;
}
.finance-operations-workspace .workspace-operation .data-table :is(th, td) {
  padding: 0 8px;
  height: 52px;
  background: #fff;
  color: var(--deep);
  border-width: 0 0 1px;
  border-style: solid;
  border-color: var(--border);
  text-align: center;
  font-size: 16px;
  font-weight: 450;
}
.finance-operations-workspace .workspace-operation .data-table th,
.finance-operations-workspace .workspace-net .data-table > tbody > tr:last-child td {
  height: 44px;
  background: var(--tint);
  font-size: 14px;
  font-weight: 600;
  color: var(--deep);
}
.finance-operations-workspace .workspace-operation .data-table .workspace-count,
.finance-operations-workspace .workspace-operation .data-table .workspace-month {
  min-height: 44px;
  color: inherit;
  font: inherit;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 5px;
}
.finance-operations-workspace .workspace-operation .data-table .workspace-count[aria-expanded="true"] {
  color: var(--accent-foreground, var(--deep));
  text-decoration: underline;
  text-underline-offset: 4px;
}
.finance-operations-workspace .finance-report-month,
.finance-operations-workspace .workspace-student-counts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.finance-operations-workspace .finance-report-month .finance-month-step {
  width: 32px;
  min-height: 44px;
  flex-shrink: 0;
  color: var(--accent-foreground, var(--deep));
  font: 22px/1 system-ui;
}
.finance-operations-workspace .finance-report-month .workspace-month {
  width: auto !important;
}
.finance-operations-workspace .workspace-operation .workspace-student-row td {
  height: 44px;
  background: color-mix(in srgb, var(--tint) 65%, var(--surface));
  font-size: 14px;
}
.finance-operations-workspace .workspace-student-row .workspace-detail-name,
.finance-operations-workspace .workspace-student-row .workspace-detail-partner {
  display: inline;
  text-align: center;
}
.finance-operations-workspace .workspace-student-row .workspace-detail-partner::before {
  content: " · ";
}
.finance-operations-workspace .workspace-operation .data-table .num {
  color: inherit;
  text-align: center;
  white-space: nowrap;
}
.finance-operations-workspace .finance-net-formula {
  margin-top: 12px;
}
.finance-operations-workspace .finance-operations-modules {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  padding: 0;
  border: 0;
}
.finance-operations-workspace .finance-operations-modules h2 {
  margin: 0;
}
.finance-operations-workspace [data-work="finance-module-directory"] {
  min-height: 44px;
  padding: 0;
  font-size: 17px;
  color: var(--deep);
}
.finance-operations-workspace [data-work="finance-module-directory"]::after {
  content: " ›";
  color: var(--muted);
}
.finance-operations-workspace .finance-module-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.finance-operations-workspace .finance-module-cards {
  display: grid;
  width: 100%;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
}
.finance-operations-workspace .finance-module-card,
.finance-operations-workspace .finance-module-content {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius, 12px);
  background: #fff;
}
.finance-operations-workspace .finance-module-card h3 {
  margin: 0;
  font-size: 18px;
}
.finance-operations-workspace .finance-module-card p {
  margin-block: 12px;
}
.finance-operations-workspace .finance-module-card button {
  width: 100%;
}
@container (max-width: 620px) {
  .finance-operations-workspace .finance-report-month {
    gap: 0;
  }
  .finance-operations-workspace .finance-report-month .finance-month-step {
    width: 24px;
    padding: 0;
    font-size: 18px;
  }
  .finance-operations-workspace .finance-report-month .workspace-month {
    padding-inline: 0;
  }
  .finance-operations-workspace .finance-report-heading {
    display: none;
  }
  .finance-operations-workspace .workspace-operation .data-table :is(th, td) {
    padding-inline: 2px;
    height: 54px;
    font-size: 14px;
  }
  .finance-operations-workspace .workspace-operation .data-table th {
    height: 44px;
    font-size: 13px;
    white-space: nowrap;
  }
  .finance-operations-workspace .workspace-operation .workspace-student-row td {
    font-size: 13px;
    padding-block: 6px;
  }
  .finance-operations-workspace .workspace-student-row .workspace-detail-name,
  .finance-operations-workspace .workspace-student-row .workspace-detail-partner {
    display: block;
  }
  .finance-operations-workspace .workspace-student-row .workspace-detail-partner::before {
    content: none;
  }
  .finance-operations-workspace .finance-operations-modules {
    display: grid;
    gap: 5px;
  }
  .finance-operations-workspace .finance-module-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
