.pl-help-button {
  position: fixed;
  right: 18px;
  top: 16px;
  z-index: 1001;
  background: #123d35;
  color: white;
  border: 1px solid white;
  border-radius: 24px;
  padding: 12px 18px;
  font: 600 14px system-ui;
  cursor: pointer;
}
.pl-help-dialog {
  box-sizing: border-box;
  width: min(560px, 94vw);
  max-height: 85vh;
  max-height: 85dvh;
  overflow: auto;
  border: 1px solid #b7cbc2;
  border-radius: 18px;
  padding: 24px;
  color: #123d35;
  background: white;
  font: 15px/1.5 system-ui;
}
.pl-help-dialog *, .pl-help-dialog *::before, .pl-help-dialog *::after {
  box-sizing: border-box;
}
.pl-help-dialog::backdrop { background: #0006; }
.pl-help-dialog .pl-help-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.pl-help-dialog h2 {
  margin: 0;
  padding: 0;
  font: 700 clamp(24px, 5vw, 32px)/1.2 system-ui;
  color: #123d35;
}
.pl-help-dialog button {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #b7cbc2;
  border-radius: 12px;
  background: #edf5ef;
  color: #123d35;
  font: 500 14px/1.4 system-ui;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transform: none;
  cursor: pointer;
}
.pl-help-dialog button:hover { background: #deece2; }
.pl-help-dialog button:focus-visible, .pl-help-dialog input:focus-visible {
  outline: 2px solid #125c53;
  outline-offset: 3px;
}
.pl-help-dialog button.pl-help-close {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font: 400 30px/1 system-ui;
}
.pl-help-dialog button.pl-help-close:hover { background: #edf5ef; }
.pl-help-dialog input {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid #b7cbc2;
  border-radius: 10px;
  font: 400 15px/1.4 system-ui;
  color: #123d35;
  background: white;
}
.pl-help-dialog .pl-help-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
  margin: 18px 0;
}
.pl-help-dialog .pl-help-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pl-help-dialog .pl-help-topics button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}
.pl-help-dialog [role=log] {
  max-height: 30vh;
  overflow: auto;
  overflow-wrap: anywhere;
}
.pl-help-dialog [role=log] p { margin: 12px 0; }
.pl-help-button.pl-help-inline { position: static; flex-shrink: 0; z-index: auto; }
body > header { gap: 14px; }
.nav .nav-link { margin-left: auto; }
@media (max-width: 600px) {
  .pl-help-button { top: 8px; right: 8px; padding: 8px 10px; font-size: 12px; }
  .standard-chat-header, .standard-top-actions { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .pl-help-dialog { padding: 18px; }
  .pl-help-dialog .pl-help-topics, .pl-help-dialog .pl-help-form { grid-template-columns: minmax(0, 1fr); }
}
