:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
  color: #233344;
  background: #f3f6f9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

.portal-header {
  min-height: 50px;
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 3vw, 40px);
  padding: 0 clamp(14px, 2vw, 28px);
  background: #416ca9;
  color: #fff;
}

.portal-title {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}

.portal-mark {
  align-self: center;
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 2px solid rgb(255 255 255 / 85%);
  border-radius: 50%;
  background: #65b9c9;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  text-decoration: none;
}

.portal-navigation {
  display: flex;
  align-items: stretch;
  flex: 1;
  justify-content: space-between;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.portal-navigation::-webkit-scrollbar {
  display: none;
}

.portal-nav-link,
.portal-search {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  padding: 0 clamp(7px, 1.15vw, 16px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.portal-nav-link {
  flex-direction: column;
  gap: 3px;
}

.portal-nav-link:hover,
.portal-nav-link:focus-visible,
.portal-search:hover,
.portal-search:focus-visible {
  background: #365d96;
}

.portal-nav-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.portal-search {
  flex: 0 0 42px;
}

.site-header {
  min-height: 58px;
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 0 18px;
  background: #438dcc;
  color: #fff;
}

.site-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.top-navigation {
  display: flex;
  align-items: stretch;
  flex: 1;
}

.top-dropdown,
.top-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 15px;
  color: #fff;
  text-decoration: none;
}

.top-dropdown:hover,
.top-dropdown[open],
.top-link:hover,
.top-link:focus-visible {
  background: #367db8;
}

.top-dropdown > summary {
  cursor: pointer;
  list-style: none;
}

.top-dropdown > summary::-webkit-details-marker,
.nested-dropdown > summary::-webkit-details-marker {
  display: none;
}

.top-dropdown > summary::after {
  display: inline-block;
  margin-left: 8px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  content: "";
  transform: translateY(2px);
}

.top-dropdown > .dropdown-menu {
  top: 100%;
  left: 0;
}

.dropdown-menu {
  position: absolute;
  z-index: 20;
  display: none;
  min-width: 205px;
  margin: 0;
  padding: 5px 0;
  border: 1px solid #d2d7dc;
  border-radius: 0 0 4px 4px;
  background: #fff;
  box-shadow: 0 5px 12px rgb(22 43 62 / 18%);
  color: #263746;
  list-style: none;
}

.top-dropdown:hover > .dropdown-menu,
.top-dropdown:focus-within > .dropdown-menu,
.top-dropdown[open] > .dropdown-menu,
.nested-dropdown:hover > .dropdown-menu,
.nested-dropdown:focus-within > .dropdown-menu,
.nested-dropdown[open] > .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu a,
.nested-dropdown > summary {
  display: block;
  padding: 10px 14px;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.nested-dropdown > summary:hover,
.dropdown-menu a:focus-visible {
  background: #e9f2f9;
}

.nested-dropdown > summary {
  list-style: none;
}

.nested-dropdown > summary::after {
  float: right;
  margin: 5px 0 0 15px;
  border: 4px solid transparent;
  border-left-color: #536373;
  content: "";
}

.nested-dropdown > .dropdown-menu {
  top: -6px;
  left: 100%;
}

.admin-link {
  align-self: center;
  margin-left: auto;
  padding: 9px 13px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.admin-link:hover,
.admin-link:focus-visible {
  background: #367db8;
}

.page-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  max-width: 1480px;
  margin: 20px auto;
  padding: 0 18px;
}

.sidebar,
.welcome-panel,
.content-panel {
  border: 1px solid #e1e6eb;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(30 55 78 / 8%);
}

.sidebar {
  align-self: start;
  overflow: hidden;
}

.sidebar h2 {
  margin: 0;
  padding: 14px 15px;
  font-size: 16px;
}

.sidebar nav {
  display: grid;
}

.sidebar-link {
  padding: 12px 15px;
  color: #263746;
  font-size: 13px;
  text-decoration: none;
}

.sidebar-link:hover,
.sidebar-link:focus-visible {
  background: #e9f2f9;
}

.sidebar-link.is-active {
  background: #416ca9;
  color: #fff;
}

.main-content {
  min-width: 0;
}

.welcome-panel {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 6vw, 64px);
  background: linear-gradient(120deg, #fff 20%, #edf6fc);
}

.eyebrow {
  margin: 0 0 8px;
  color: #367db8;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #233f5c;
  font-size: clamp(25px, 4vw, 38px);
}

.welcome-copy {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.6;
}

.setup-note {
  max-width: 720px;
  padding: 12px 14px;
  border-left: 4px solid #438dcc;
  background: #f3f8fc;
  line-height: 1.5;
}

.home-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.home-shortcuts a {
  padding: 12px 15px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(30 55 78 / 8%);
  color: #286ca4;
  font-weight: 700;
  text-decoration: none;
}

.home-shortcuts a:hover,
.home-shortcuts a:focus-visible {
  background: #e9f2f9;
}

.breadcrumb {
  margin: 0 0 12px;
  color: #5a6876;
  font-size: 14px;
}

.breadcrumb a {
  color: #286ca4;
}

.content-panel {
  min-height: 260px;
  padding: clamp(20px, 4vw, 38px);
}

.content-panel h1 {
  margin-bottom: 18px;
  font-size: 28px;
}

.spmb-infographic-page {
  min-width: 320px;
  min-height: 100vh;
  background: #fff;
}

.spmb-infographic-page main {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.spmb-infographic-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.spmb-database {
  min-width: 0;
  padding: 10px 0 18px;
}

.spmb-recapitulation {
  min-width: 0;
  padding: 12px 0 18px;
}

.spmb-recapitulation h1 {
  margin: 0 0 12px;
  color: #263746;
  font-size: 17px;
  font-weight: 500;
}

.recap-filter {
  margin-bottom: 18px;
}

.recap-filter label {
  display: grid;
  width: 260px;
  gap: 5px;
  color: #52616e;
  font-size: 11px;
  font-weight: 700;
}

.recap-filter-controls {
  display: flex;
  gap: 7px;
}

.recap-filter select {
  width: 220px;
  height: 32px;
  padding: 5px 9px;
  border: 1px solid #d7dde2;
  border-radius: 4px;
  background: #fff;
  color: #6e7780;
  font: inherit;
}

.recap-filter button {
  width: 32px;
  height: 32px;
  border: 1px solid #d7dde2;
  border-radius: 4px;
  background: #fff;
  color: #66727d;
}

.recap-selected-status {
  min-height: 34px;
  display: flex;
  align-items: center;
  margin: -8px 0 8px;
  padding: 7px 10px;
  border: 1px solid #dfe4e8;
  border-radius: 4px;
  background: #fff;
  color: #52616e;
  font-size: 12px;
}

.recap-table-row {
  cursor: pointer;
}

.recap-table-row:hover,
.recap-table-row.is-selected {
  background: #e7f1f9;
}

.recap-school-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #263746;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.recap-toolbar {
  min-height: 86px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(25px, 5vw, 70px);
  padding: 10px 20px 14px;
  border-bottom: 1px solid #dfe4e8;
}

.recap-toolbar button {
  width: 64px;
  display: grid;
  justify-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #5f6c78;
  font: 12px Arial, sans-serif;
  cursor: default;
}

.recap-toolbar button > span:first-child {
  min-height: 27px;
  color: #7a8792;
  font-size: 29px;
  line-height: 1;
}

.recap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 0;
  padding-top: 16px;
  border-top: 1px solid #edf0f2;
}

.recap-table-scroll {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe4e8;
  border-right: 0;
  background: #fff;
}

.recap-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 11px;
}

.recap-table th,
.recap-table td {
  height: 34px;
  padding: 6px 8px;
  border-right: 1px solid #dfe4e8;
  border-bottom: 1px solid #dfe4e8;
  color: #263746;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recap-table th:nth-child(1),
.recap-table td:nth-child(1) {
  width: 8%;
}

.recap-table th:nth-child(2),
.recap-table td:nth-child(2) {
  width: 38%;
}

.recap-table th:nth-child(3),
.recap-table td:nth-child(3) {
  width: 27%;
}

.recap-table th:nth-child(4),
.recap-table td:nth-child(4) {
  width: 27%;
}

.recap-table th {
  background: #fafbfd;
  font-weight: 700;
}

.recap-table tbody tr:nth-child(even) {
  background: #edf3f8;
}

.recap-table th:nth-child(1),
.recap-table td:nth-child(1),
.recap-table th:nth-child(3),
.recap-table td:nth-child(3),
.recap-table th:nth-child(4),
.recap-table td:nth-child(4) {
  text-align: center;
}

.recap-chart {
  min-width: 0;
  display: grid;
  align-content: start;
  padding: 10px 4px 4px 16px;
  border: 1px solid #dfe4e8;
  border-left: 1px solid #dfe4e8;
  background: #fff;
}

.recap-chart-row {
  min-height: 37px;
  display: grid;
  grid-template-columns: 175px minmax(220px, 1fr);
  align-items: center;
  gap: 8px;
  color: #52616e;
  font-size: 10px;
}

.recap-chart-row.is-selected {
  background: #edf5fb;
  outline: 2px solid #79aeda;
  outline-offset: 2px;
}

.recap-chart-name {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recap-chart-bars {
  display: grid;
  gap: 3px;
}

.recap-chart-track {
  position: relative;
  height: 8px;
  background: #eef1f4;
}

.recap-chart-bar {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 3px;
  background: #66a9dd;
}

.recap-chart-bar--failed {
  background: #72bc54;
}

.recap-chart-track small {
  position: absolute;
  top: -2px;
  left: calc(100% + 3px);
  color: #263746;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.database-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 16px;
  margin: 14px 0 18px;
}

.database-summary-card {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 5px;
  color: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 12%);
}

.database-summary-card svg {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.database-summary-card div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.database-summary-card strong {
  font-size: 17px;
  line-height: 1;
}

.database-summary-card span {
  max-width: 190px;
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
}

.database-summary-card--yellow {
  background: #ffbd2e;
}

.database-summary-card--red {
  background: #ed604f;
}

.database-summary-card--green {
  background: #1e9d9a;
}

.database-summary-card--blue {
  background: #4967ae;
}

.database-filter {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid #d5d9de;
  border-radius: 5px;
  background: #fff;
}

.database-filter-heading {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-bottom: 1px solid #e4e6e8;
  color: #41474c;
}

.filter-toggle,
.filter-add,
.filter-settings,
.filter-refresh,
.database-actions button,
.database-search select {
  min-height: 30px;
  border: 1px solid #d6dade;
  border-radius: 4px;
  background: #fff;
  color: #41474c;
  font: inherit;
}

.filter-toggle,
.filter-add,
.filter-settings,
.filter-refresh {
  min-width: 30px;
}

.filter-add {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.filter-settings {
  margin-left: auto;
  color: #477db5;
}

.database-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 7px 10px;
  padding: 10px;
}

.database-filter-status {
  margin: 0;
  padding: 0 10px 9px;
  color: #64717c;
  font-size: 11px;
}

.database-filters label {
  display: grid;
  gap: 4px;
  color: #303840;
  font-size: 12px;
  font-weight: 700;
}

.database-filters select,
.database-search input {
  width: 100%;
  min-width: 0;
  height: 31px;
  padding: 5px 10px;
  border: 1px solid #d8dce0;
  border-radius: 4px;
  background: #fff;
  color: #777;
  font: inherit;
  font-weight: 400;
}

.filter-refresh {
  align-self: end;
  width: 36px;
  color: #45515b;
  font-size: 20px;
}

.database-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0 4px;
}

.database-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.database-actions button {
  padding: 6px 11px;
  font-size: 13px;
}

.database-action-dropdown {
  position: relative;
}

.database-action-dropdown > summary {
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid #d6dade;
  border-radius: 4px;
  background: #fff;
  color: #41474c;
  cursor: pointer;
  font-size: 13px;
  list-style: none;
  text-transform: uppercase;
}

.database-action-dropdown > summary::-webkit-details-marker {
  display: none;
}

.database-action-dropdown > ul {
  position: absolute;
  z-index: 25;
  top: calc(100% + 3px);
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 5px 0;
  border: 1px solid #d3d7db;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(22 43 62 / 18%);
  list-style: none;
}

.database-action-dropdown > ul button {
  width: 100%;
  border: 0;
  border-radius: 0;
  text-align: left;
  text-transform: none;
}

.database-action-dropdown > ul button:disabled {
  background: #fff;
  color: #4a4f54;
  opacity: .7;
}

.database-action-dropdown[open] > summary {
  background: #eef4f9;
}

.database-import-trigger {
  display: grid;
  width: 38px;
  min-height: 31px;
  padding: 6px;
  place-items: center;
}

.database-import-trigger svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.database-actions .database-primary {
  border-color: #4a79b0;
  background: #5a85bb;
  color: #fff;
}

.database-actions button:disabled,
.database-filters select:disabled,
.database-search input:disabled {
  cursor: not-allowed;
  opacity: .8;
}

.database-search {
  display: flex;
  width: min(310px, 42%);
  min-width: 150px;
}

.database-search select {
  width: 36px;
  flex: 0 0 36px;
  border-radius: 4px 0 0 4px;
}

.database-search input {
  border-radius: 0;
}

.database-search button {
  min-width: 38px;
  border-color: #48b5d3;
  border-radius: 0 4px 4px 0;
  background: #48b5d3;
  color: #fff;
  font-size: 20px;
}

.database-scroll-hint {
  margin: 0 4px 5px;
  color: #66717b;
  font-size: 12px;
}

.database-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d7dadd;
  background: #fff;
  scrollbar-gutter: stable;
}

.database-table {
  width: max-content;
  min-width: 5200px;
  border-collapse: collapse;
  color: #30353a;
  font-size: 12px;
}

.database-table th,
.database-table td {
  padding: 9px 8px;
  border-right: 1px solid #d7dadd;
  border-bottom: 1px solid #d7dadd;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.database-table th {
  position: sticky;
  top: 0;
  background: #f7f8f9;
  font-weight: 700;
  white-space: nowrap;
}

.database-table th:nth-child(5),
.database-table th:nth-child(6),
.database-table th:nth-child(20),
.database-table th:nth-child(21),
.database-table th:nth-child(24) {
  min-width: 190px;
}

.database-table th:nth-child(1),
.database-table th:nth-child(4),
.database-table th:nth-child(15),
.database-table th:nth-child(16) {
  min-width: 55px;
}

.database-table th:first-child,
.database-table .database-selection {
  min-width: 38px;
  width: 38px;
  text-align: center;
}

.database-selection input,
.database-table th:first-child input {
  margin: 0;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.database-row-actions {
  display: flex;
  gap: 4px;
  white-space: nowrap;
}

.database-row-actions button {
  display: grid;
  width: 23px;
  height: 23px;
  padding: 3px;
  place-items: center;
  border: 1px solid #d5d9de;
  border-radius: 3px;
  background: #fff;
  color: #333;
}

.database-row-actions button:disabled {
  cursor: not-allowed;
  opacity: .8;
}

.database-row-actions svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.database-status {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
}

.database-status--neutral {
  background: #aab1b7;
}

.projects-page {
  min-width: 0;
  padding: 2px 0 22px;
  color: #27323b;
}

.projects-summary {
  width: min(244px, 100%);
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px 4px;
  padding: 8px 12px;
  border: 1px solid #df4a3e;
  border-radius: 4px;
  background: #f24438;
  color: #fff;
}

.projects-summary-icon {
  font-size: 20px;
}

.projects-summary div {
  display: grid;
  gap: 1px;
  font-size: 11px;
}

.projects-summary strong {
  font-size: 14px;
}

.projects-filter {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #d6dade;
  border-radius: 4px;
  background: #fff;
}

.projects-filter-heading {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-bottom: 1px solid #e5e7e9;
  background: #f7f7f7;
  font-size: 12px;
}

.projects-filter-heading button,
.projects-checklist button,
.projects-upload,
.projects-search select {
  min-width: 24px;
  height: 24px;
  border: 1px solid #d6dade;
  border-radius: 3px;
  background: #fff;
  color: #40484e;
}

.projects-filter-settings {
  margin-left: auto;
  color: #4a78b6 !important;
}

.projects-active-filters {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
}

.projects-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border: 1px solid #dfe3e7;
  border-radius: 3px;
  background: #fbfcfd;
  font-size: 11px;
}

.projects-filter-chip select {
  max-width: 145px;
  border: 0;
  background: transparent;
  color: #303840;
  font: inherit;
}

.projects-filter-chip button,
.projects-checklist .projects-clear-checklist {
  padding: 0;
  border: 0;
  background: transparent;
  color: #477db5;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.projects-checklist {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 11px;
}

.projects-checklist label {
  font-weight: 700;
}

.projects-checklist select {
  width: 90px;
  height: 27px;
  padding: 4px 8px;
  border: 1px solid #d6dade;
  border-radius: 4px;
  background: #fff;
  color: #68737d;
  font-size: 11px;
}

.projects-checklist .projects-reset {
  width: 32px;
  height: 27px;
}

.projects-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.projects-action-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.projects-add,
.projects-print-menu > summary,
.projects-upload,
.projects-search button {
  min-height: 31px;
  padding: 6px 11px;
  border: 1px solid #d5d9de;
  border-radius: 4px;
  background: #fff;
  color: #3d454c;
  font-size: 12px;
  cursor: pointer;
}

.projects-add {
  border-color: #4b79b2;
  background: #5a85bb;
  color: #fff;
}

.projects-print-menu {
  position: relative;
}

.projects-print-menu > summary {
  list-style: none;
  text-transform: uppercase;
}

.projects-print-menu > summary::-webkit-details-marker {
  display: none;
}

.projects-print-menu ul {
  position: absolute;
  z-index: 4;
  top: 100%;
  left: 0;
  min-width: 130px;
  margin: 3px 0 0;
  padding: 4px;
  border: 1px solid #d5d9de;
  background: #fff;
  list-style: none;
}

.projects-print-menu ul button {
  width: 100%;
  padding: 7px;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.projects-upload {
  width: 32px;
  padding: 4px;
}

.projects-search {
  width: min(250px, 42%);
  display: flex;
}

.projects-search select {
  width: 30px;
  border-radius: 4px 0 0 4px;
}

.projects-search input {
  min-width: 0;
  width: 100%;
  height: 31px;
  padding: 5px 9px;
  border: 1px solid #d6dade;
  border-left: 0;
  font-size: 12px;
}

.projects-search button {
  min-width: 32px;
  padding: 3px;
  border-color: #42b6d2;
  border-radius: 0 4px 4px 0;
  background: #42b6d2;
  color: #fff;
  font-size: 18px;
}

.projects-notice {
  min-height: 0;
  margin: 0;
  color: #52616e;
  font-size: 12px;
}

.projects-notice:not(:empty) {
  margin: 0 0 8px;
  padding: 7px 9px;
  border: 1px solid #d8e3ee;
  border-radius: 3px;
  background: #f5f9fc;
}

.projects-table-scroll {
  position: relative;
  overflow: auto;
  max-height: 65vh;
  border: 1px solid #d7dadd;
  background: #fff;
}

.projects-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: #202a32;
  font-size: 11px;
}

.projects-table th,
.projects-table td {
  height: 28px;
  padding: 4px 6px;
  border-right: 1px solid #d7dadd;
  border-bottom: 1px solid #d7dadd;
  text-align: left;
  white-space: nowrap;
}

.projects-table th {
  position: sticky;
  z-index: 1;
  top: 0;
  background: #f3f4f5;
  font-weight: 600;
}

.projects-table tbody tr:nth-child(even) {
  background: #f7f7f7;
}

.projects-table tbody tr:hover {
  background: #eef5fb;
}

.projects-select-column,
.projects-table td:first-child {
  width: 34px;
  text-align: center !important;
}

.projects-options-column {
  min-width: 66px;
}

.project-row-action {
  width: 19px;
  height: 19px;
  margin-right: 3px;
  padding: 0;
  border: 1px solid #cdd2d7;
  border-radius: 3px;
  background: #fff;
  color: #303840;
  line-height: 16px;
  cursor: pointer;
}

.project-name-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #286ca4;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.project-status {
  display: inline-block;
  min-width: 34px;
  padding: 2px 4px;
  border-radius: 3px;
}

.project-status--new {
  color: #252525;
}

.project-status--open {
  background: #e8f4ff;
  color: #286ca4;
}

.project-status--waiting {
  background: #fff2d6;
  color: #79500d;
}

.project-status--done {
  background: #e2f4e8;
  color: #217342;
}

.projects-empty {
  margin: 0;
  padding: 24px;
  color: #68737d;
  text-align: center;
  font-size: 12px;
}

.projects-storage-note {
  margin: 6px 2px;
  color: #7a848c;
  font-size: 10px;
}

.project-dialog {
  width: min(480px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid #ccd3d9;
  border-radius: 6px;
  color: #27323b;
  box-shadow: 0 10px 35px rgb(0 0 0 / 24%);
}

.project-dialog::backdrop {
  background: rgb(0 0 0 / 38%);
}

.project-form header,
.project-form footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #e1e5e8;
}

.project-form header h2 {
  margin: 0;
  font-size: 17px;
}

.project-form header button {
  border: 0;
  background: transparent;
  color: #68737d;
  font-size: 22px;
  cursor: pointer;
}

.project-form-fields {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.project-form-fields label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
}

.project-form-fields input,
.project-form-fields select {
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #cfd6dc;
  border-radius: 4px;
  background: #fff;
  color: #27323b;
  font: inherit;
  font-weight: 400;
}

.project-form footer {
  justify-content: flex-end;
  border-top: 1px solid #e1e5e8;
  border-bottom: 0;
}

.project-form footer button {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #ccd3d9;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.project-form footer .project-save {
  border-color: #4b79b2;
  background: #5a85bb;
  color: #fff;
}

.database-table .database-empty {
  padding: 24px;
  color: #66717b;
  text-align: center;
}

.database-disclaimer {
  margin: 8px 4px;
  color: #697681;
  font-size: 12px;
}

.database-selection-status {
  margin: 7px 4px;
  color: #52616e;
  font-size: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.database-import-dialog {
  width: min(760px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid #cfd4d9;
  border-radius: 5px;
  color: #303840;
  box-shadow: 0 8px 30px rgb(0 0 0 / 25%);
}

.database-import-dialog::backdrop {
  background: rgb(0 0 0 / 35%);
}

.import-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #e1e4e7;
}

.import-dialog-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.import-dialog-close {
  min-width: 32px;
  min-height: 32px;
  border: 1px solid #d6dade;
  border-radius: 4px;
  background: #fff;
  color: #444;
  cursor: pointer;
}

.import-dialog-header .import-dialog-close {
  min-width: 28px;
  min-height: 28px;
  border: 0;
  font-size: 22px;
}

.import-dialog-content {
  padding: 12px 20px 20px;
}

.import-dialog-content > p {
  margin: 8px 0 16px;
  font-size: 13px;
}

.import-guidance {
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid #b8dff0;
  border-radius: 4px;
  background: #e2f3fa;
  color: #31749a;
  font-size: 13px;
  line-height: 1.5;
}

.import-guidance ul {
  margin: 5px 0;
  padding-left: 22px;
}

.import-guidance p {
  margin: 8px 0 0;
}

.import-option,
.import-file {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 10px auto;
  max-width: 560px;
  font-size: 13px;
}

.import-option select,
.import-file input {
  min-width: 0;
  width: 100%;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid #d4d8dc;
  border-radius: 4px;
  background: #fff;
}

.import-option select:disabled,
.import-file input:disabled {
  background: #f3f4f5;
  color: #727980;
}

.import-file small {
  grid-column: 2;
  margin-top: -6px;
  color: #747d85;
}

.import-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #e1e4e7;
}

.import-dialog-actions button {
  min-width: 66px;
  padding: 7px 12px;
}

.import-dialog-actions .import-continue {
  border: 1px solid #4a79b0;
  border-radius: 4px;
  background: #5a85bb;
  color: #fff;
}

.import-dialog-actions .import-continue:disabled {
  cursor: not-allowed;
  opacity: .65;
}

@media (max-width: 920px) {
  .database-summary,
  .recap-grid {
    grid-template-columns: 1fr;
  }

  .recap-chart {
    min-width: 0;
  }

  .database-summary {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }

  .portal-header {
    gap: 14px;
  }

  .portal-title {
    font-size: 15px;
  }

  .portal-nav-link,
  .portal-search {
    padding-right: 8px;
    padding-left: 8px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 0 14px;
    padding-bottom: 8px;
  }

  .site-brand {
    min-height: 54px;
  }

  .top-navigation {
    flex: 1 1 100%;
    flex-wrap: wrap;
  }

  .top-dropdown,
  .top-link {
    min-height: 42px;
    padding: 0 10px;
  }

  .admin-link {
    margin: 5px 8px 5px auto;
  }

  .database-filters {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
}

@media (max-width: 640px) {
  .database-summary {
    grid-template-columns: 1fr;
  }

  .portal-header {
    gap: 10px;
    padding: 0 10px;
  }

  .portal-title {
    font-size: 13px;
  }

  .portal-mark {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .portal-nav-link {
    min-width: 66px;
    font-size: 9px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 12px auto;
    padding: 0 12px;
  }

  .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-dropdown > .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  .top-dropdown {
    flex-wrap: wrap;
  }

  .top-dropdown[open] {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .top-dropdown[open] > summary {
    align-self: flex-start;
    padding: 12px 0;
  }

  .nested-dropdown > .dropdown-menu {
    position: static;
    margin: 0 0 0 12px;
    box-shadow: none;
  }

  .dropdown-menu a,
  .nested-dropdown > summary {
    white-space: normal;
  }

  .database-filters {
    grid-template-columns: 1fr;
  }

  .database-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .database-search {
    width: 100%;
  }

  .import-option,
  .import-file {
    grid-template-columns: 1fr;
  }

  .import-file small {
    grid-column: 1;
    margin-top: -5px;
  }
}

.spreadsheet-menubar {
  position: relative;
  z-index: 30;
  display: flex;
  gap: 13px;
}

.spreadsheet-menu-item {
  position: relative;
}

.spreadsheet-menu-popup {
  position: absolute;
  top: 28px;
  left: 0;
  width: 230px;
  overflow: hidden;
  border: 1px solid #d9dde1;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(41 52 61 / 16%);
  color: #555;
  font-size: 11px;
}

.spreadsheet-edit-menu {
  left: 0;
  width: 255px;
}

.spreadsheet-view-menu {
  left: 0;
  width: 255px;
}

.spreadsheet-data-menu {
  left: 0;
  width: 330px;
}

.spreadsheet-tools-menu {
  left: 0;
  width: 255px;
}

.spreadsheet-menu-popup button {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: #fff;
  padding: 7px 14px;
  color: #555;
  text-align: left;
}

.spreadsheet-menu-popup button:hover {
  background: #f1f3f4;
}

.spreadsheet-menu-popup hr {
  margin: 3px 0;
  border: 0;
  border-top: 1px solid #e5e7e9;
}

.spreadsheet-menu-popup kbd {
  color: #9aa1a6;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.spreadsheet-add-rows {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e2e5e8;
  background: #fff;
  padding: 5px 58px;
  color: #4d555c;
  font-size: 13px;
}

.spreadsheet-add-rows strong {
  color: #5577b2;
}

.spreadsheet-add-rows input {
  width: 72px;
  height: 31px;
  border: 1px solid #5577b2;
  border-radius: 3px;
  text-align: center;
}

.spreadsheets-page {
  min-width: 0;
}

.spreadsheets-window {
  overflow: hidden;
  border: 1px solid #d8dee4;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 10px rgb(28 45 60 / 8%);
}

.spreadsheets-titlebar {
  min-height: 70px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px 7px;
  border-bottom: 1px solid #edf0f2;
}

.spreadsheet-app-icon {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 8px;
  background: #20a464;
  color: #fff;
  font-size: 28px;
}

.spreadsheets-title {
  min-width: 0;
  flex: 1;
}

.spreadsheets-title > strong {
  display: block;
  margin: 2px 0 7px;
  overflow: hidden;
  color: #30343a;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spreadsheets-title > div {
  display: flex;
  gap: 13px;
}

.spreadsheets-title button,
.spreadsheets-toolbar button,
.spreadsheets-title-actions button {
  border: 0;
  background: transparent;
  color: #4d555c;
  cursor: pointer;
  font-size: 11px;
}

.spreadsheets-title-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.spreadsheet-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #6a9b41;
  color: #fff;
  font-weight: 700;
}

.spreadsheets-toolbar,
.spreadsheet-namebar,
.spreadsheet-searchbar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e2e5e8;
  background: #fff;
}

.spreadsheets-toolbar {
  min-height: 43px;
  gap: 5px;
  padding: 5px 10px;
}

.spreadsheets-toolbar button {
  min-height: 30px;
  padding: 5px 8px;
  border-radius: 3px;
}

.spreadsheets-toolbar button:hover,
.spreadsheets-title button:hover {
  background: #edf1f4;
}

.spreadsheet-toolbar-divider {
  width: 1px;
  height: 24px;
  margin: 0 4px;
  background: #dfe3e6;
}

.spreadsheets-toolbar select {
  height: 30px;
  border: 0;
  background: #fff;
  color: #4d555c;
  font-size: 11px;
}

.spreadsheet-view {
  margin-left: 8px;
  color: #1d73c9 !important;
}

.spreadsheet-searchbar {
  gap: 8px;
  padding: 6px 10px;
}

.spreadsheet-search {
  width: 260px;
  height: 32px;
  border: 1px solid #bfc7cd;
  border-radius: 3px;
  padding: 5px 8px;
}

.spreadsheet-search-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.spreadsheet-namebar {
  height: 39px;
  gap: 8px;
  padding: 4px 10px;
}

.spreadsheet-cell-name {
  width: 55px;
  height: 28px;
  border: 0;
  background: #f7f8f9;
  text-align: center;
}

.spreadsheet-fx {
  color: #7b858d;
  font-family: Georgia, serif;
  font-style: italic;
}

.spreadsheet-formula {
  height: 28px;
  min-width: 0;
  flex: 1;
  border: 0;
  border-left: 1px solid #edf0f2;
  padding: 5px 8px;
}

.spreadsheet-status {
  min-height: 21px;
  margin: 0;
  padding: 3px 10px;
  background: #fafafa;
  color: #6d777f;
  font-size: 11px;
}

.spreadsheet-scroll {
  height: 560px;
  overflow: auto;
  background: #fff;
}

.spreadsheet-grid {
  width: max-content;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: #40474d;
  font-size: 11px;
}

.spreadsheet-grid th,
.spreadsheet-grid td {
  width: 105px;
  min-width: 105px;
  height: 27px;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  padding: 4px 7px;
}

.spreadsheet-grid thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 25px;
  background: #f6f6f6;
  color: #777;
  text-align: center;
  font-weight: 500;
}

.spreadsheet-corner,
.spreadsheet-row-header {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 38px !important;
  min-width: 38px !important;
  background: #f6f6f6;
  color: #777;
  text-align: center;
  font-weight: 500;
}

.spreadsheet-grid thead .spreadsheet-corner {
  z-index: 4;
}

.spreadsheet-cell {
  overflow: hidden;
  background: #fff;
  outline: none;
  white-space: nowrap;
}

.spreadsheet-cell.is-active {
  box-shadow: inset 0 0 0 2px #1a73e8;
  background: #fff;
}

.spreadsheet-cell.is-search-match {
  background: #fff2a8;
}

.spreadsheet-footer {
  height: 42px;
  display: flex;
  align-items: center;
  border-top: 1px solid #e2e5e8;
  background: #fff;
  padding: 4px 8px;
}

.spreadsheet-menu,
.spreadsheet-add-tab {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #667078;
}

.spreadsheet-tabs {
  display: flex;
  align-items: stretch;
  height: 34px;
}

.spreadsheet-tab {
  min-width: 80px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #5577b2;
  cursor: pointer;
  font-weight: 700;
}

.spreadsheet-tab.is-active {
  border-bottom-color: #16a05d;
  background: #eef7f2;
}

.spreadsheets-masthead {
  min-height: 154px;
  margin: 0 10px;
  padding: 8px 8% 7px;
  border-radius: 0 0 4px 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(30 55 78 / 10%);
  color: #141414;
  text-align: center;
}

.spreadsheets-masthead-main {
  min-height: 92px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 12px;
  border-bottom: 4px solid #222;
}

.spreadsheets-masthead-copy {
  display: grid;
  gap: 1px;
  line-height: 1.18;
}

.spreadsheets-masthead-copy strong {
  font-family: Georgia, serif;
  font-size: clamp(14px, 2.1vw, 22px);
}

.spreadsheets-masthead-copy b {
  font-family: Georgia, serif;
  font-size: clamp(15px, 2.2vw, 24px);
}

.spreadsheets-masthead-copy small {
  font-size: clamp(9px, 1.15vw, 12px);
}

.masthead-emblem {
  width: 66px;
  height: 74px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 2px solid #d5b333;
  border-radius: 46% 46% 48% 48% / 25% 25% 68% 68%;
  background: linear-gradient(145deg, #16823d, #f3d54c);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 2px #23421f;
}

.masthead-emblem--education {
  width: 68px;
  height: 68px;
  border-color: #53b9d1;
  border-radius: 50%;
  background: #d7f2f7;
  color: #17627c;
  font-size: 32px;
  text-shadow: none;
}

.spreadsheets-masthead h1 {
  margin: 7px 0 0;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.2;
}

.spreadsheets-announcement {
  height: 25px;
  overflow: hidden;
  margin: 0 10px 8px;
  background: #fff;
  color: #344353;
  font-size: 11px;
  line-height: 25px;
  white-space: nowrap;
}

.spreadsheets-announcement span {
  display: inline-block;
  min-width: 100%;
  animation: spreadsheet-announcement-scroll 38s linear infinite;
}

@keyframes spreadsheet-announcement-scroll {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

.spreadsheets-portal-page .page-layout,
.spmb-home-page .page-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  max-width: none;
  margin: 8px auto;
  padding: 0 4px;
}

.spreadsheets-portal-page .sidebar,
.spmb-home-page .sidebar {
  display: block;
  align-self: start;
}

.spreadsheets-portal-page .main-content,
.spmb-home-page .main-content {
  width: 100%;
  min-width: 0;
}

.spreadsheets-portal-page .sidebar h2,
.spmb-home-page .sidebar h2 {
  padding: 10px 11px;
  font-size: 13px;
}

.spreadsheets-portal-page .sidebar-link,
.spmb-home-page .sidebar-link {
  padding: 8px 10px;
  font-size: 10px;
}

.spreadsheets-portal-page .spreadsheets-page {
  padding-top: 0;
}

.spmb-home-infographic {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.spmb-home-page .portal-header {
  background: #102c47;
}

.home-contact-strip {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px clamp(14px, 4vw, 48px);
  background: #367db5;
  color: #fff;
  font-size: 11px;
}

.home-contact-strip > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.home-contact-strip a {
  color: inherit;
  text-decoration: none;
}

.home-contact-login {
  flex: 0 0 auto;
  font-weight: 700;
}

.home-landing-page .page-layout {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 18px 36px;
}

.home-landing-page .sidebar {
  display: none;
}

.home-landing-page .main-content {
  width: 100%;
  min-width: 0;
}

.spmb-home-infographic {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.spmb-landing {
  display: grid;
  gap: 42px;
  padding-bottom: 22px;
  color: #233344;
}

.spmb-landing-hero {
  position: relative;
  display: grid;
  min-height: 340px;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 82% 50%, rgb(255 255 255 / 18%) 0 110px, transparent 112px),
    linear-gradient(115deg, #123f69 0%, #2779b5 58%, #61bad3 100%);
  color: #fff;
}

.spmb-landing-hero::before,
.spmb-landing-hero::after {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.spmb-landing-hero::before {
  top: -110px;
  right: -80px;
  width: 410px;
  height: 410px;
}

.spmb-landing-hero::after {
  right: 12%;
  bottom: -240px;
  width: 460px;
  height: 460px;
}

.spmb-landing-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.spmb-landing-eyebrow {
  margin: 0 0 9px;
  color: #e6bd4b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.spmb-landing-hero h1 {
  max-width: 660px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.1;
}

.spmb-landing-hero-copy > p:not(.spmb-landing-eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgb(255 255 255 / 88%);
  font-size: 14px;
  line-height: 1.7;
}

.spmb-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.spmb-landing-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.spmb-landing-button--primary {
  background: #e9bd42;
  color: #183a58;
}

.spmb-landing-button--outline {
  border-color: rgb(255 255 255 / 65%);
  color: #fff;
}

.spmb-landing-visual {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
}

.spmb-landing-orbit {
  position: absolute;
  display: block;
  border: 1px solid rgb(255 255 255 / 36%);
  border-radius: 50%;
}

.spmb-landing-orbit--large {
  width: 210px;
  height: 210px;
}

.spmb-landing-orbit--small {
  width: 150px;
  height: 150px;
  background: rgb(255 255 255 / 8%);
}

.spmb-landing-visual-card {
  position: relative;
  display: grid;
  width: min(230px, 90%);
  min-height: 150px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 8px;
  background: rgb(16 54 88 / 50%);
  box-shadow: 0 14px 35px rgb(10 35 59 / 22%);
  text-align: center;
  transform: rotate(-4deg);
}

.spmb-landing-visual-card strong {
  font-size: 27px;
  letter-spacing: .12em;
}

.spmb-landing-visual-card span {
  margin: 3px 0 10px;
  font-size: 11px;
}

.spmb-landing-visual-card b {
  color: #f5ce54;
  font-size: 29px;
}

.spmb-landing-section-heading {
  margin-bottom: 20px;
  text-align: center;
}

.spmb-landing-section-heading .spmb-landing-eyebrow,
.spmb-landing-information-card .spmb-landing-eyebrow {
  color: #347eaf;
}

.spmb-landing-section-heading h2,
.spmb-landing-information-card h2 {
  margin: 0 0 8px;
  color: #1b456b;
  font-size: clamp(20px, 2.8vw, 28px);
}

.spmb-landing-section-heading > p:last-child,
.spmb-landing-information-card > p:not(.spmb-landing-eyebrow) {
  margin: 0;
  color: #647587;
  font-size: 13px;
  line-height: 1.6;
}

.spmb-landing-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.spmb-landing-service {
  position: relative;
  display: grid;
  min-height: 180px;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid #e0e9f0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(18 50 76 / 5%);
  color: #233344;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.spmb-landing-service:hover,
.spmb-landing-service:focus-visible {
  transform: translateY(-3px);
  border-color: #83b4d7;
  box-shadow: 0 9px 22px rgb(18 50 76 / 10%);
}

.spmb-landing-service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #eaf5fb;
  color: #2672a8;
  font-size: 11px;
  font-weight: 700;
}

.spmb-landing-service strong {
  color: #1e4e75;
  font-size: 14px;
}

.spmb-landing-service > span:nth-of-type(2) {
  color: #6b7b89;
  font-size: 11px;
  line-height: 1.5;
}

.spmb-landing-service > b {
  position: absolute;
  right: 18px;
  bottom: 13px;
  color: #3787bb;
  font-size: 20px;
}

.spmb-landing-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
  align-items: center;
  gap: 30px;
  padding: 28px clamp(20px, 4vw, 42px);
  border-left: 4px solid #e8bd48;
  background: #f0f6fa;
}

.spmb-landing-about h2 {
  max-width: 470px;
  margin: 0;
  color: #1b456b;
  font-size: clamp(20px, 2.8vw, 28px);
  line-height: 1.25;
}

.spmb-landing-about > p {
  margin: 0;
  color: #586d7f;
  font-size: 13px;
  line-height: 1.7;
}

.spmb-landing-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.spmb-landing-news-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  padding: 19px;
  border: 1px solid #e0e9f0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(18 50 76 / 5%);
  color: #233344;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.spmb-landing-news-card:hover,
.spmb-landing-news-card:focus-visible {
  transform: translateY(-3px);
  border-color: #83b4d7;
  box-shadow: 0 9px 22px rgb(18 50 76 / 10%);
}

.spmb-landing-news-card > span {
  color: #3582b4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}

.spmb-landing-news-card h3 {
  margin: 11px 0 7px;
  color: #1e4e75;
  font-size: 15px;
}

.spmb-landing-news-card p {
  margin: 0 0 18px;
  color: #68798a;
  font-size: 11px;
  line-height: 1.55;
}

.spmb-landing-news-card b {
  margin-top: auto;
  color: #2874a9;
  font-size: 11px;
}

.spmb-landing-information {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
  gap: 16px;
}

.spmb-landing-information-card {
  padding: 22px;
  border: 1px solid #dce7ef;
  border-radius: 5px;
  background: #f5f9fc;
}

.spmb-landing-information-card h2 {
  font-size: 19px;
}

.spmb-landing-information-card > a {
  display: inline-block;
  margin: 13px 15px 0 0;
  color: #216a9c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.spmb-landing-help {
  background: #fff;
}

.spmb-landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-radius: 5px;
  background: #163d60;
  color: #fff;
}

.spmb-landing-footer strong {
  font-size: 15px;
}

.spmb-landing-footer p {
  margin: 5px 0 0;
  color: rgb(255 255 255 / 75%);
  font-size: 11px;
}

.spmb-landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.spmb-landing-footer a {
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}

.admission-flow-header {
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #173d62, #245f86);
  color: #fff;
}

.admission-flow-header h1 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: 28px;
}

.admission-flow-header p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgb(255 255 255 / 78%);
}

.admission-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admission-flow-step {
  min-height: 128px;
  padding: 16px;
  border: 1px solid #dbe4ec;
  border-radius: 7px;
  background: #fff;
  color: #29445f;
  text-decoration: none;
}

.admission-flow-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 50%;
  background: #edf3f7;
  font-weight: 800;
}

.admission-flow-step strong,
.admission-flow-step small {
  display: block;
}

.admission-flow-step strong {
  margin-bottom: 5px;
  font-size: 15px;
}

.admission-flow-step small {
  color: #6d7c89;
  line-height: 1.5;
}

.admission-flow-step.is-active {
  border-color: #efbd4a;
  box-shadow: 0 5px 18px rgb(29 70 104 / 10%);
}

.admission-flow-step.is-active > span {
  background: #efbd4a;
  color: #173d62;
}

.admission-flow-detail {
  margin-top: 12px;
  padding: 22px;
  border: 1px solid #dfe7ed;
  border-radius: 8px;
  background: #fff;
}

.admission-flow-kicker {
  margin: 0 0 6px;
  color: #ad7b18;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.admission-flow-detail h2,
.admission-flow-summary h2 {
  margin: 0 0 16px;
  color: #173d62;
}

.admission-flow-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr);
  gap: 18px;
}

.admission-flow-columns ol,
.admission-flow-columns ul {
  margin: 8px 0 0;
  padding-left: 20px;
  line-height: 1.75;
}

.admission-flow-columns aside {
  padding: 16px;
  border-radius: 7px;
  background: #f4f7fa;
}

.admission-flow-columns aside h3 {
  margin-top: 0;
}

.admission-flow-columns aside a {
  color: #1c5f88;
  font-weight: 700;
}

.admission-result-list {
  list-style: none;
  padding: 0 !important;
}

.admission-result-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  margin-bottom: 8px;
  padding: 10px;
  border-bottom: 1px solid #edf1f4;
}

.admission-flow-summary {
  margin-top: 14px;
  padding: 18px 22px;
  border-left: 4px solid #efbd4a;
  background: #fffaf0;
}

.admission-flow-summary h2 {
  margin-bottom: 4px;
  font-size: 16px;
}

.admission-flow-summary p {
  margin: 0;
  color: #536779;
}

.admission-form-panel {
  max-width: 920px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid #e0e7ed;
  border-radius: 8px;
  background: #fff;
}

.admission-form-panel > header {
  margin-bottom: 20px;
}

.admission-form-panel > header h1 {
  margin: 0 0 7px;
  color: #173d62;
}

.admission-form-panel > header p:last-child {
  margin: 0;
  color: #657587;
  line-height: 1.6;
}

.admission-form,
.admission-status-search {
  display: grid;
  gap: 16px;
}

.admission-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admission-form label,
.admission-status-search label {
  display: grid;
  gap: 6px;
  color: #40596e;
  font-size: 12px;
  font-weight: 700;
}

.admission-form input,
.admission-form select,
.admission-form textarea,
.admission-status-search input {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid #cbd6df;
  border-radius: 5px;
  background: #fff;
  color: #233344;
  font: inherit;
}

.admission-form-wide {
  grid-column: 1 / -1;
}

.admission-form-note {
  margin: 0;
  color: #657587;
  font-size: 12px;
  line-height: 1.6;
}

.admission-form button,
.admission-status-search button {
  justify-self: start;
  padding: 11px 17px;
  border: 0;
  border-radius: 5px;
  background: #1d5b82;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.admission-status-search {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  margin-bottom: 22px;
}

.admission-status-result {
  padding: 18px;
  border-left: 4px solid #e3b747;
  border-radius: 5px;
  background: #f6f8fa;
}

.admission-status-result > div {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
  color: #617282;
  font-size: 12px;
}

.admission-status-result > div strong {
  color: #173d62;
  font-size: 20px;
}

.admission-status-result dl {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) 1.3fr;
  gap: 8px 14px;
  margin: 0;
  font-size: 12px;
}

.admission-status-result dt {
  color: #657587;
}

.admission-status-result dd {
  margin: 0;
  font-weight: 700;
}

.admission-status-empty {
  padding: 14px;
  border-radius: 5px;
  background: #fff3d4;
  color: #795512;
}

.admission-messages {
  max-width: 920px;
  margin: 0 auto 15px;
}

.admission-message {
  padding: 12px 15px;
  border-radius: 5px;
  background: #eaf3f8;
  color: #1e5579;
  font-size: 13px;
}

.admission-message--error {
  background: #fae9e9;
  color: #9a3338;
}

.admission-message--success {
  background: #e5f4eb;
  color: #277248;
}

@media (max-width: 700px) {
  .admission-status-search {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .admission-form-grid {
    grid-template-columns: 1fr;
  }

  .admission-form-wide {
    grid-column: auto;
  }

  .admission-status-result dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admission-status-result dd {
    margin-bottom: 8px;
  }
}

@media (max-width: 900px) {
  .spmb-landing-hero {
    grid-template-columns: 1fr;
  }

  .spmb-landing-visual {
    display: none;
  }
}

@media (max-width: 700px) {
  .admission-flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admission-flow-columns {
    grid-template-columns: 1fr;
  }

  .admission-result-list li {
    grid-template-columns: 1fr;
  }

  .home-contact-strip {
    align-items: flex-start;
  }

  .home-contact-strip > div {
    display: grid;
    gap: 4px;
  }

  .spmb-landing-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spmb-landing-information {
    grid-template-columns: 1fr;
  }

  .spmb-landing-about {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .spmb-landing-news-grid {
    grid-template-columns: 1fr;
  }

  .spmb-landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .home-landing-page .page-layout {
    padding: 14px 10px 26px;
  }

  .home-contact-strip {
    font-size: 10px;
  }

  .spmb-landing-hero {
    min-height: 300px;
    padding: 24px 19px;
  }

  .spmb-landing-service-grid {
    grid-template-columns: 1fr;
  }
}

.spmb-guidance > h1 {
  margin: 0 0 6px;
  color: #33465e;
  font-size: 24px;
}

.spmb-guidance {
  font-size: 13px;
  line-height: 1.5;
}

.spmb-guidance section {
  margin: 16px 0;
}

.spmb-guidance section h2 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 400;
}

.spmb-guidance section p {
  margin: 0 0 3px;
}

.spmb-guidance ul {
  margin: 0;
  padding-left: 22px;
}

.spmb-guidance mark {
  background: #ffefce;
  color: inherit;
}

.capacity-glossary {
  width: calc(100% - 32px);
  margin: 16px auto;
  border-collapse: collapse;
  color: #344353;
  font-size: 12px;
}

.capacity-glossary th,
.capacity-glossary td {
  border: 1px solid #cbd2d8;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.capacity-glossary thead th {
  background: #d3d9df;
  text-align: center;
}

.capacity-glossary tbody th {
  width: 25%;
  text-decoration: underline;
}

.spmb-guidance-acknowledgement {
  margin-top: 18px;
}

.spmb-guidance-question {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.spmb-guidance-question span {
  color: #c62828;
}

.spmb-guidance-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.spmb-guidance-check input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.spmb-guidance-acknowledgement > p {
  margin: 8px 0;
  color: #66717b;
  font-size: 11px;
}

.spmb-guidance-acknowledgement button {
  border: 0;
  border-radius: 4px;
  background: #1673d1;
  padding: 8px 16px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.spmb-guidance-acknowledgement button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.spmb-guidance-link-button {
  display: inline-block;
  border-radius: 4px;
  background: #1673d1;
  padding: 8px 16px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.spmb-guidance-link-button:hover,
.spmb-guidance-link-button:focus-visible {
  background: #0e5eaf;
}

.bansos-privacy-note {
  color: #66717b;
  font-size: 11px;
}

.bansos-validation-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 85% 12%, rgb(183 235 214 / 45%), transparent 34%),
    linear-gradient(135deg, #e8f5f2, #edf4fb 55%, #f5f8fc);
}

.bansos-validation-page .spmb-guidance {
  border-color: #d3e8df;
  background: linear-gradient(145deg, #fff, #f8fcfa);
  box-shadow: 0 8px 26px rgb(34 91 76 / 10%);
}

.bansos-validation-page .sidebar-link.is-active {
  background: linear-gradient(110deg, #147b68, #36a887);
  color: #fff;
}

.bansos-validation-page .spmb-guidance section h2 {
  color: #256c5a;
  font-weight: 700;
}

.spmb-ai-preview {
  margin: 20px 0;
  padding: 16px;
  border-left: 3px solid #1a73e8;
  background: #f8fafd;
}

.spmb-ai-preview p {
  margin: 5px 0 12px;
  color: #66717b;
  font-size: 12px;
}

.spmb-ai-preview a {
  color: #1a73e8;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.spmb-ai-preview a:hover,
.spmb-ai-preview a:focus-visible {
  text-decoration: underline;
}

.spmb-guidance-acknowledgement .spmb-guidance-status {
  color: #216e39;
  font-weight: 700;
}

@media (max-width: 640px) {
  .spmb-guidance > h1 {
    font-size: 20px;
  }

  .capacity-glossary {
    width: 100%;
    font-size: 11px;
  }

  .capacity-glossary th,
  .capacity-glossary td {
    padding: 7px;
  }
}

.spreadsheets-portal-page .spreadsheet-scroll {
  height: calc(100vh - 300px);
  min-height: 250px;
}

.spreadsheet-toolbar-tools {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.spreadsheet-toolbar-menu {
  position: relative;
}

.spreadsheet-sheet-tools {
  min-width: 40px;
}

.spreadsheet-toolbar-popup {
  position: absolute;
  top: 34px;
  left: 0;
  z-index: 31;
  min-width: 150px;
  padding: 5px 0;
  border: 1px solid #d9dde1;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(41 52 61 / 16%);
}

.spreadsheet-toolbar-popup button {
  width: 100%;
  min-height: 32px;
  border: 0;
  background: #fff;
  padding: 6px 12px;
  text-align: left;
}

.spreadsheet-toolbar-popup button:hover {
  background: #f1f3f4;
}

.spreadsheet-toolbar-collapse {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 18px !important;
}

.spreadsheets-window.is-toolbar-collapsed .spreadsheet-toolbar-tools {
  display: none;
}

.spreadsheets-window.is-toolbar-collapsed .spreadsheets-toolbar {
  min-height: 20px;
}

@media (max-width: 900px) {
  .spreadsheets-title > div button:nth-child(n + 5),
  .spreadsheets-title-actions button,
  .spreadsheet-scroll {
    height: 470px;
  }

  .spreadsheet-view span {
    display: none;
  }
}

@media (max-width: 640px) {
  .spreadsheets-masthead {
    min-height: 120px;
    margin: 0 5px;
    padding: 6px 5px;
  }

  .spreadsheets-masthead-main {
    min-height: 78px;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 4px;
    border-bottom-width: 3px;
  }

  .masthead-emblem,
  .masthead-emblem--education {
    width: 40px;
    height: 44px;
    font-size: 10px;
  }

  .masthead-emblem--education {
    height: 40px;
    font-size: 23px;
  }

  .spreadsheets-masthead-copy strong {
    font-size: 11px;
  }

  .spreadsheets-masthead-copy b {
    font-size: 11px;
  }

  .spreadsheets-masthead-copy small {
    font-size: 8px;
  }

  .spreadsheets-masthead h1 {
    font-size: 14px;
  }

  .spreadsheets-announcement {
    margin: 0 5px 6px;
    font-size: 9px;
  }

  .spreadsheets-portal-page .page-layout,
  .spmb-home-page .page-layout {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 8px auto;
    padding: 0 8px;
  }

  .spreadsheets-portal-page .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print {
  .portal-header,
  .site-header,
  .sidebar,
  .spreadsheets-titlebar,
  .spreadsheets-toolbar,
  .spreadsheet-namebar,
  .spreadsheet-status,
  .spreadsheet-footer {
    display: none !important;
  }

  .page-layout {
    display: block;
    margin: 0;
    padding: 0;
  }

  .spreadsheet-scroll {
    height: auto;
    overflow: visible;
  }
}

.google-search-page {
  color: #202124;
  background: #fff;
  font-family: Arial, sans-serif;
}

.google-search-page .portal-header,
.google-search-page .site-header,
.google-search-page .sidebar {
  display: none;
}

.google-search-page .page-layout {
  display: block;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.google-search-page .main-content {
  min-height: 100vh;
}

.google-search-shell {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 100vh;
}

.google-search-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-height: calc(100vh - 16px);
  margin: 8px 0 8px 6px;
  padding: 24px 0;
  background: #f8fafd;
}

.google-search-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.google-search-rail-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #3c4043;
}

.google-search-rail-link:hover,
.google-search-rail-link:focus-visible {
  background: #e8f0fe;
}

.google-search-rail-link svg,
.google-search-submit svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.google-search-main {
  min-width: 0;
}

.google-search-topbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 3vw, 36px);
}

.google-search-tabs {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  white-space: nowrap;
}

.google-search-tabs button,
.google-search-ai-link,
.google-search-more summary {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #5f6368;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.google-search-tabs .google-search-ai-link {
  color: #202124;
}

.google-search-tabs button:hover,
.google-search-tabs button:focus-visible,
.google-search-more summary:hover,
.google-search-more summary:focus-visible {
  color: #202124;
}

.google-search-tabs button.is-active {
  color: #202124;
  font-weight: 600;
}

.google-search-more {
  position: relative;
}

.google-search-more summary {
  list-style: none;
}

.google-search-more summary::-webkit-details-marker {
  display: none;
}

.google-search-more summary::after {
  content: "⌄";
  margin-left: 5px;
}

.google-search-more-menu {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: -12px;
  display: grid;
  min-width: 120px;
  padding: 6px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(60 64 67 / 18%);
}

.google-search-more-menu a {
  padding: 9px;
  border-radius: 5px;
  color: #3c4043;
  font-size: 13px;
  text-decoration: none;
}

.google-search-more-menu a:hover,
.google-search-more-menu a:focus-visible {
  background: #f1f3f4;
}

.google-search-external-note {
  color: #5f6368;
  font-size: 12px;
  white-space: nowrap;
}

.google-search-content {
  width: min(100% - 36px, 730px);
  margin: 25px auto 0;
}

.google-search-content h1 {
  margin: 0 0 36px;
  color: #202124;
  font-size: clamp(27px, 4vw, 32px);
  font-weight: 400;
  text-align: center;
}

.google-search-form {
  min-height: 108px;
  padding: 15px 11px 10px 18px;
  border: 1px solid #dadce0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(60 64 67 / 12%);
}

.google-search-prompt {
  display: block;
}

.google-search-prompt input {
  width: 100%;
  min-height: 35px;
  padding: 4px 0;
  border: 0;
  outline: 0;
  color: #202124;
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.google-search-prompt input::placeholder {
  color: #5f6368;
  opacity: 1;
}

.google-search-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.google-search-plus {
  display: grid;
  width: 42px;
  height: 36px;
  place-items: center;
  border-radius: 20px;
  background: #f1f3f4;
  color: #202124;
  font-size: 24px;
  line-height: 1;
}

.google-search-submit {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3c4043;
  cursor: pointer;
}

.google-search-submit:hover,
.google-search-submit:focus-visible {
  background: #f1f3f4;
}

.google-search-suggestions {
  display: grid;
  gap: 4px;
  margin: 17px 8px 0;
}

.google-search-suggestions button {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5f6368;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.google-search-suggestions button:hover,
.google-search-suggestions button:focus-visible {
  background: #f1f3f4;
}

.google-search-suggestions button span {
  color: #68717d;
  font-size: 20px;
}

@media (max-width: 640px) {
  .google-search-shell {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .google-search-topbar {
    min-height: 68px;
    padding: 0 12px;
  }

  .google-search-tabs {
    gap: 12px;
    overflow-x: auto;
  }

  .google-search-tabs button,
  .google-search-ai-link,
  .google-search-more summary {
    font-size: 12px;
  }

  .google-search-external-note {
    display: none;
  }

  .google-search-content {
    width: calc(100% - 24px);
    margin-top: 38px;
  }

  .google-search-content h1 {
    margin-bottom: 28px;
  }

  .google-search-suggestions button {
    font-size: 13px;
  }
}

.complaint-portal-page {
  color: #303943;
  background: #fff;
  font-size: 12px;
}

.complaint-portal-page .site-header {
  display: none;
}

.complaint-portal-page .spreadsheets-masthead {
  min-height: 145px;
  margin: 0 8px;
  padding: 6px 6% 7px;
}

.complaint-portal-page .spreadsheets-masthead-main {
  min-height: 90px;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
}

.complaint-portal-page .spreadsheets-masthead h1 {
  margin-top: 6px;
  font-size: clamp(14px, 1.8vw, 18px);
}

.complaint-portal-page .spreadsheets-announcement {
  margin: 0 8px 8px;
}

.complaint-portal-page .page-layout {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  max-width: none;
  margin: 12px 0 22px;
  padding: 0 24px 0 0;
}

.complaint-portal-page .sidebar h2 {
  padding: 10px 8px;
  font-size: 13px;
}

.complaint-portal-page .sidebar-link {
  padding: 9px 10px;
  font-size: 11px;
}

.complaint-portal-page .main-content {
  min-width: 0;
}

.complaint-page {
  width: min(100%, 900px);
  padding: 10px 12px 30px;
}

.complaint-inline-masthead {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  width: min(100%, 430px);
  margin: 2px auto 28px;
  color: #111;
  text-align: center;
}

.complaint-inline-masthead > div {
  display: grid;
  gap: 1px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
}

.complaint-inline-masthead strong {
  font-size: 11px;
}

.complaint-inline-masthead b {
  font-size: 10px;
}

.complaint-inline-masthead small {
  font-family: Arial, sans-serif;
  font-size: 7px;
}

.complaint-inline-masthead h1 {
  margin: 4px 0 0;
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.complaint-inline-emblem {
  display: grid;
  width: 40px;
  height: 45px;
  place-items: center;
  justify-self: center;
  border: 2px solid #d5b333;
  border-radius: 45%;
  background: linear-gradient(145deg, #16823d, #f3d54c);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.complaint-inline-emblem--education {
  width: 42px;
  height: 42px;
  border-color: #53b9d1;
  border-radius: 50%;
  background: #d7f2f7;
  color: #17627c;
  font-size: 6px;
}

.complaint-form {
  display: grid;
  gap: 8px;
}

.complaint-field-label {
  display: block;
  margin-top: 8px;
  color: #4a535c;
  font-size: 12px;
}

.complaint-form input[type="text"],
.complaint-form input[type="tel"] {
  width: min(100%, 360px);
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid #d5d8dc;
  border-radius: 3px;
  font: inherit;
}

.complaint-recipient {
  display: grid;
  gap: 5px;
  margin: 8px 0 12px;
  padding: 0;
  border: 0;
}

.complaint-recipient legend {
  margin-bottom: 4px;
  padding: 0;
  color: #4a535c;
}

.complaint-recipient label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 17px;
  cursor: pointer;
}

.complaint-recipient input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #416ca9;
}

.complaint-editor {
  overflow: hidden;
  border: 1px solid #d5d8dc;
  background: #fff;
}

.complaint-editor-toolbar {
  display: flex;
  min-height: 54px;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 5px 8px;
  border-bottom: 1px solid #d5d8dc;
  background: #f7f7f7;
}

.complaint-editor-toolbar button {
  min-width: 25px;
  height: 24px;
  padding: 2px 5px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #444;
  font: inherit;
  cursor: pointer;
}

.complaint-editor-toolbar button:hover,
.complaint-editor-toolbar button:focus-visible {
  background: #e6e9ed;
}

.complaint-editor-content {
  min-height: 145px;
  padding: 8px;
  outline: none;
  overflow-wrap: anywhere;
}

.complaint-editor-content:focus {
  box-shadow: inset 0 0 0 1px #8ab4f8;
}

.complaint-editor-footer {
  display: flex;
  min-height: 21px;
  justify-content: flex-end;
  padding: 3px 8px;
  border-top: 1px solid #e1e4e8;
  background: #f7f7f7;
  color: #555;
  font-size: 10px;
}

.complaint-file-input {
  width: fit-content;
  max-width: 100%;
  font: inherit;
}

.complaint-file-list {
  min-height: 16px;
  color: #59636e;
  overflow-wrap: anywhere;
}

.complaint-notice {
  margin: 12px 0 0;
  padding: 10px;
  border-left: 3px solid #e6a700;
  background: #fff8e1;
  color: #5f4b1d;
  line-height: 1.5;
}

.complaint-submit {
  width: fit-content;
  padding: 8px 16px;
  border: 0;
  border-radius: 4px;
  background: #416ca9;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.complaint-submit:hover,
.complaint-submit:focus-visible {
  background: #315886;
}

.complaint-form-status {
  min-height: 18px;
  margin: 0;
  color: #9a3d25;
  font-weight: 700;
}

@media (max-width: 640px) {
  .complaint-portal-page .spreadsheets-masthead {
    padding: 6px 8px;
  }

  .complaint-portal-page .spreadsheets-masthead-main {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
  }

  .complaint-portal-page .masthead-emblem {
    width: 38px;
    height: 42px;
    font-size: 9px;
  }

  .complaint-portal-page .masthead-emblem--education {
    font-size: 6px;
  }

  .complaint-portal-page .spreadsheets-masthead-copy small {
    font-size: 8px;
  }

  .complaint-portal-page .spreadsheets-masthead h1 {
    font-size: 13px;
  }

  .complaint-inline-masthead {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 4px;
    margin-bottom: 20px;
  }

  .complaint-inline-emblem {
    width: 32px;
    height: 36px;
    font-size: 7px;
  }

  .complaint-inline-emblem--education {
    font-size: 5px;
  }

  .complaint-inline-masthead strong {
    font-size: 9px;
  }

  .complaint-inline-masthead b {
    font-size: 8px;
  }

  .complaint-inline-masthead small {
    font-size: 6px;
  }

  .complaint-inline-masthead h1 {
    font-size: 8px;
  }

  .complaint-portal-page .page-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 12px 0;
    padding: 0 10px;
  }

  .complaint-portal-page .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .complaint-page {
    padding: 5px 0 24px;
  }
}

.check-data-page {
  color: #344353;
  background: #fff;
}

.check-data-page .site-header {
  display: none;
}

.check-data-page .spreadsheets-masthead {
  min-height: 135px;
  margin: 0 8px;
  padding: 6px 6% 7px;
}

.check-data-page .spreadsheets-masthead-main {
  min-height: 88px;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
}

.check-data-page .spreadsheets-masthead h1 {
  margin-top: 5px;
  font-size: clamp(14px, 1.8vw, 18px);
}

.check-data-page .spreadsheets-announcement {
  margin: 0 8px 8px;
}

.check-data-page .page-layout {
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 28px;
  max-width: none;
  margin: 12px 0 22px;
  padding: 0 24px 0 8px;
}

.check-data-page .sidebar h2 {
  padding: 10px 10px;
  font-size: 13px;
}

.check-data-page .sidebar-link {
  display: block;
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.35;
  text-decoration: none;
}

.check-data-page .sidebar-link.is-unavailable {
  color: #263746;
  cursor: default;
}

.check-data-page .sidebar-link.is-unavailable:hover {
  background: transparent;
}

.check-status-panel {
  padding-top: 4px;
}

.check-status-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #344353;
  font-size: 11px;
  line-height: 1.5;
}

.check-status-table th,
.check-status-table td {
  border: 1px solid #cbd2d8;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.check-status-table thead th {
  background: #d3d9df;
  font-weight: 700;
  text-align: center;
}

.check-status-table tbody th {
  width: 23%;
  font-weight: 400;
}

.check-status-table td {
  text-align: justify;
}

.check-status-table td p {
  margin: 0 0 12px;
}

.check-status-table td p:last-child {
  margin-bottom: 0;
}

.check-status-legend {
  margin-top: 14px;
  color: #344353;
  font-size: 12px;
  line-height: 1.5;
}

.check-status-legend p {
  margin: 0 0 8px;
}

.check-status-legend ol {
  margin: 0;
  padding-left: 24px;
}

.check-data-page .spmb-guidance-acknowledgement {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .check-data-page .spreadsheets-masthead {
    padding: 6px 8px;
  }

  .check-data-page .spreadsheets-masthead-main {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
  }

  .check-data-page .masthead-emblem {
    width: 38px;
    height: 42px;
    font-size: 9px;
  }

  .check-data-page .masthead-emblem--education {
    font-size: 6px;
  }

  .check-data-page .spreadsheets-masthead-copy small {
    font-size: 8px;
  }

  .check-data-page .spreadsheets-masthead h1 {
    font-size: 13px;
  }

  .check-data-page .page-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 12px 0;
    padding: 0 10px;
  }

  .check-data-page .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-status-table {
    font-size: 10px;
  }

  .check-status-table th,
  .check-status-table td {
    padding: 7px;
  }
}
