.material-help-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #95b1c3;
  border-radius: 50%;
  background: #e6eef3;
  color: #395566;
  font:
    italic 700 24px/1 Georgia,
    serif;
  cursor: pointer;
}
.material-help-button:hover {
  background: #d4e2eb;
}
.material-help-button:focus-visible {
  outline: 3px solid #c79340;
  outline-offset: 3px;
}
.material-help-dialog {
  width: min(530px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: 88dvh;
  padding: 22px;
  border: 1px solid #c0d1db;
  border-radius: 20px;
  background: #fffef9;
  color: #2a3f4c;
  overflow: auto;
}
.material-help-dialog::backdrop {
  background: #1f2d3699;
}
.material-help-dialog .dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.material-help-dialog .dialog-head h2 {
  font-size: 23px;
  line-height: 1.25;
  margin: 0;
}
.material-help-dialog .dialog-head button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 25px;
}
.material-help-dialog p,
.material-help-dialog li {
  font-size: 15px;
  line-height: 1.6;
}
.material-help-dialog ol {
  padding-left: 24px;
  margin: 14px 0;
}
.material-help-dialog li + li {
  margin-top: 12px;
}
.material-help-dialog .help-note {
  font-size: 13px;
  color: #4e738a;
  background: #e6eef3;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 0;
}
@media (max-width: 380px) {
  .material-help-dialog {
    padding: 18px;
  }
  .material-help-dialog .dialog-head h2 {
    font-size: 21px;
  }
}
@media print {
  .material-help-button,
  .material-help-dialog {
    display: none !important;
  }
}

/* Matching navigation for both parent material tools. */
.material-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 24px;
}
.material-nav > .back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  color: #2a3f4c;
  text-decoration: none;
  white-space: nowrap;
}
.material-nav .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.material-nav .materials-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #9fb9c9;
  border-radius: 12px;
  background: #e3ecf1;
  color: #2a3f4c;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.material-nav .materials-button:hover {
  background: #d3e1ea;
}
@media (max-width: 600px) {
  .material-nav {
    padding: 15px 14px;
  }
}
