:root {
  color-scheme: light;
  --help-text: #17233c;
  --help-muted: #526173;
  --help-border: #d8e0eb;
  --help-blue: #1769aa;
  --help-blue-dark: #114f80;
  --help-soft: #f7f9fc;
  --help-card: #ffffff;
  --help-signal: #0f766e;
  --help-warning: #8a5a00;
}

.help-shell,
.help-shell * {
  box-sizing: border-box;
}

.help-shell {
  color: var(--help-text);
  font-family: var(--chemrytiq-font, "Lato", "Helvetica Neue", Arial, sans-serif);
  font-size: 13px;
  line-height: 1.42;
}

.help-shell * {
  font-family: inherit;
  letter-spacing: 0;
}

.help-shell a {
  color: var(--help-blue-dark);
}

.help-shell {
  width: 100%;
  margin: 0;
  padding: 0;
}

.help-header,
.help-nav,
.help-content,
.help-footer {
  border: 1px solid var(--help-border);
  background: var(--help-card);
}

.help-header {
  border-radius: 8px 8px 0 0;
  padding: 18px 20px;
}

.help-back {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #b8d3ef;
  border-radius: 6px;
  padding: 0 12px;
  background: #edf6ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.help-kicker {
  display: block;
  margin-top: 14px;
  color: #1565c0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.help-header h1 {
  margin: 4px 0 8px;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 600;
}

.help-header p {
  max-width: 820px;
  margin: 0;
  color: var(--help-muted);
}

.help-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-top: 0;
  padding: 10px 16px;
}

.help-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid #cbd9e8;
  border-radius: 6px;
  padding: 0 12px;
  background: #f8fbff;
  color: #28425c;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.help-nav a.is-active {
  border-color: var(--help-blue-dark);
  background: var(--help-blue);
  color: #ffffff;
}

.help-content {
  border-top: 0;
  padding: 20px;
}

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

.help-section:last-child {
  margin-bottom: 0;
}

.help-section h2 {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
}

.help-section h3 {
  margin: 16px 0 7px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.help-section p {
  margin: 0 0 10px;
  color: var(--help-muted);
}

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

.help-card,
.help-callout,
.help-step {
  border: 1px solid var(--help-border);
  border-radius: 6px;
  background: var(--help-soft);
  padding: 12px;
}

.help-card strong,
.help-step strong {
  display: block;
  margin-bottom: 5px;
  color: var(--help-text);
  font-size: 13px;
  font-weight: 700;
}

.help-card p,
.help-step p,
.help-callout p {
  margin-bottom: 0;
}

.help-callout {
  border-color: #a7d8d2;
  background: #f0fdfa;
}

.help-list,
.help-steps {
  margin: 0;
  padding-left: 20px;
}

.help-list li,
.help-steps li {
  margin: 0 0 9px;
  color: var(--help-muted);
}

.help-steps li::marker {
  color: var(--help-blue-dark);
  font-weight: 700;
}

.help-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--help-border);
  border-radius: 6px;
  background: #ffffff;
}

.help-table th,
.help-table td {
  border-bottom: 1px solid var(--help-border);
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

.help-table th {
  background: #f1f7fd;
  color: var(--help-text);
  font-size: 12px;
}

.help-table tr:last-child td {
  border-bottom: 0;
}

.help-footer {
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 12px 20px;
  color: var(--help-muted);
  font-size: 12px;
}

.help-center {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px 28px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.module-card {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--help-border);
  border-radius: 6px;
  background: #ffffff;
  padding: 12px;
  color: var(--help-text);
  text-decoration: none;
}

.module-card:hover,
.module-card:focus {
  border-color: #8fbce8;
  background: #f7fbff;
}

.module-card.is-empty {
  background: #fbfdff;
}

.module-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.module-description {
  display: block;
  margin: 8px 0 12px;
  color: var(--help-muted);
}

.module-status {
  display: inline-flex;
  align-self: flex-start;
  min-height: 26px;
  align-items: center;
  border: 1px solid #cbd9e8;
  border-radius: 6px;
  padding: 0 10px;
  background: #f1f7fd;
  color: #28425c;
  font-weight: 700;
  font-size: 12px;
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.module-actions a {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid #cbd9e8;
  border-radius: 6px;
  padding: 0 10px;
  background: #f1f7fd;
  color: #28425c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.module-actions a:hover,
.module-actions a:focus {
  border-color: #8fbce8;
  background: #e9f3fc;
}

.help-shell code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid #d7e3ef;
  border-radius: 5px;
  padding: 1px 5px;
  background: #f8fafc;
  color: #24364d;
  font-size: 12px;
}

.help-shell .help-section > p:first-of-type {
  max-width: 940px;
}

.help-table td:first-child,
.help-table th:first-child {
  width: 22%;
  color: #17233c;
  font-weight: 700;
}

@media (max-width: 760px) {
  .help-shell {
    width: min(100% - 18px, 1120px);
    padding-top: 12px;
  }

  .help-center {
    width: 100%;
    padding: 12px;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .help-header h1 {
    font-size: 22px;
  }

  .help-content,
  .help-header {
    padding: 16px;
  }
}
