body {
  background: #f7f8fb;
  color: #1f2937;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

a {
  color: #0f5f9c;
}

.navbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #d9dee8;
  display: flex;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0 1.25rem;
}

.navbar-start,
.navbar-end {
  align-items: center;
  display: flex;
  gap: .75rem;
}

.navbar-end {
  margin-left: auto;
}

.navbar-item {
  color: #253041;
  text-decoration: none;
}

.section {
  padding: 2rem 1.25rem;
}

.container {
  margin: 0 auto;
  max-width: 1100px;
}

.title {
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.subtitle {
  color: #4b5563;
  margin: -.5rem 0 1.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.box,
.panel {
  background: #ffffff;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  padding: 1rem;
}

.button {
  background: #ffffff;
  border: 1px solid #b8c0cc;
  border-radius: 6px;
  color: #1f2937;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  padding: .55rem .85rem;
  text-decoration: none;
}

.button.is-primary {
  background: #1565a9;
  border-color: #1565a9;
  color: #ffffff;
}

.button.is-text {
  border-color: transparent;
}

.notification {
  border-radius: 6px;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
}

.notification.is-info {
  background: #e8f2ff;
  border: 1px solid #bdd7ff;
}

.notification.is-error {
  background: #feecec;
  border: 1px solid #facaca;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
}

.field-note,
.field small {
  color: #4b5563;
}

.field small {
  display: block;
  margin-top: .35rem;
}

.field-supplement {
  background: #f8fafc;
  border: 1px solid #d9dee8;
  border-radius: 6px;
  margin-top: .5rem;
  padding: .65rem .75rem;
}

.field-supplement summary {
  cursor: pointer;
  font-weight: 600;
}

.field-supplement table {
  margin-top: .65rem;
}

input,
select,
textarea {
  border: 1px solid #b8c0cc;
  border-radius: 6px;
  box-sizing: border-box;
  font: inherit;
  max-width: 100%;
  padding: .5rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
}

.errorlist {
  color: #b42318;
}

table {
  background: #ffffff;
  border-collapse: collapse;
  width: 100%;
}

.chart-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-bottom: 1.5rem;
}

.chart-panel {
  background: #ffffff;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  padding: 1rem;
}

.analytics-chart {
  min-height: 360px;
}

dialog {
  border: 1px solid #9aa5b5;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(31, 41, 55, .2);
  max-width: 520px;
  padding: 1.25rem;
}

dialog::backdrop {
  background: rgba(31, 41, 55, .35);
}

th,
td {
  border-bottom: 1px solid #d9dee8;
  padding: .65rem;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 760px) {
  .navbar,
  .navbar-start,
  .navbar-end {
    align-items: flex-start;
    flex-direction: column;
  }

  .navbar-end {
    margin-left: 0;
  }
}
