.help-hero {
  align-items: end;
}

.help-actions,
.help-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.help-actions {
  justify-content: flex-end;
  align-self: end;
}

.help-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 8px;
  padding: 9px 14px;
  color: #fff;
  background: rgba(12, 42, 75, .42);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.help-action:hover,
.help-action:focus-visible {
  border-color: var(--cac-gold);
  outline-color: var(--cac-gold);
}

.help-section {
  margin: 16px 0;
}

.help-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.help-steps {
  list-style: none;
  counter-reset: help-step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
}

.help-steps li {
  counter-increment: help-step;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--panel-2);
}

.help-steps li::before {
  content: counter(help-step);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cac-navy);
  background: var(--cac-gold);
  font-weight: 900;
}

.help-steps strong,
.help-page-group strong {
  color: var(--ink);
}

.help-steps span,
.help-page-group span {
  color: var(--muted);
}

.help-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.help-caution {
  margin: 14px 0 0;
  border-left: 4px solid var(--cac-gold);
  padding: 10px 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--cac-gold) 12%, var(--panel-2));
}

.help-page-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.help-page-group {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--panel-2);
}

.help-page-group h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 16px;
}

.help-page-group a {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}

.help-page-group a:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.help-page-group a:last-child {
  padding-bottom: 0;
}

.help-page-group a:hover strong,
.help-page-group a:focus-visible strong {
  color: var(--blue-700);
  text-decoration: underline;
}

.help-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

.help-definitions > div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--panel-2);
}

.help-definitions dt {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 900;
}

.help-definitions dd {
  margin: 0;
  color: var(--muted);
}

.compact-definitions,
.troubleshooting-list {
  grid-template-columns: 1fr;
}

.help-support-actions {
  margin-top: 16px;
}

.help-support-actions .help-action {
  color: var(--blue-900);
  border-color: var(--cac-blue);
  background: var(--panel-2);
}

.help-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 4px;
  padding: 14px 2px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .help-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-page-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .help-topic-grid,
  .help-page-groups,
  .help-definitions,
  .help-steps {
    grid-template-columns: 1fr;
  }

  .help-actions {
    width: 100%;
    justify-content: stretch;
  }

  .help-actions .help-action,
  .help-support-actions .help-action {
    width: 100%;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #172033;
    background: #fff;
    font-size: 10pt;
  }

  .app-shell {
    display: block;
  }

  .sidebar,
  .help-actions,
  .help-support-actions,
  .report-problem {
    display: none !important;
  }

  main {
    padding: 0;
  }

  .hero {
    min-height: 0;
    margin: 0 0 14px;
    border: 0;
    border-bottom: 2px solid #1e4e79;
    border-radius: 0;
    padding: 0 0 14px;
    color: #172033;
    background: #fff !important;
    box-shadow: none;
  }

  .hero .eyebrow,
  .hero .lede,
  .hero .title-data-date {
    color: #536174;
  }

  .hero h1 {
    max-width: none;
    color: #172033;
    font-size: 25pt;
  }

  .panel,
  .help-page-group,
  .help-steps li,
  .help-definitions > div {
    color: #172033;
    border-color: #cad6e2;
    background: #fff;
    box-shadow: none;
  }

  .panel,
  .help-page-group,
  .help-definitions > div,
  .help-steps li {
    break-inside: avoid;
  }

  .help-topic-grid,
  .help-page-groups {
    gap: 10px;
  }

  .help-steps span,
  .help-page-group span,
  .help-definitions dd,
  .help-footer {
    color: #536174;
  }

  .help-caution {
    background: #fff8df;
  }

  a {
    color: #1e4e79;
  }
}
