.panel-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid currentColor;
  border-radius: .5rem;
  padding: .25rem .65rem;
  background: transparent;
  color: inherit;
  font: 600 .86rem/1.2 system-ui, sans-serif;
  cursor: pointer;
}
.panel-help-button:focus-visible { outline: 3px solid #0699c6; outline-offset: 2px; }
.panel-help-dialog-trigger { margin: .25rem 0; }
.panel-control-tip {
  position: fixed;
  inset: auto;
  z-index: 2147483600;
  width: max-content;
  max-width: min(23rem, calc(100vw - 16px));
  box-sizing: border-box;
  margin: 0;
  padding: .65rem .85rem;
  border: 1px solid #7a96a6;
  border-radius: .5rem;
  background: #163345;
  color: #fff;
  box-shadow: 0 .2rem .8rem #142b3d33;
  font: 400 .92rem/1.45 system-ui, sans-serif;
  white-space: normal;
  text-align: start;
  overflow-wrap: anywhere;
}
.panel-control-tip[hidden], .panel-help-guide:not([open]) { display: none; }
dialog.panel-help-guide {
  position: fixed;
  inset: 0;
  width: min(34rem, calc(100vw - 2rem));
  max-width: 100%;
  max-height: min(78dvh, 48rem);
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: auto;
  padding: 0 1.2rem 1.2rem;
  border: 1px solid #96acb8;
  border-radius: .8rem;
  background: #fff;
  color: #1a3345;
  font: 400 1rem/1.5 system-ui, sans-serif;
}
.panel-help-guide::backdrop { background: #07162680; }
.panel-help-guide .panel-help-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: 1rem 0 .65rem;
  border-bottom: 1px solid #b4c5ce;
  background: inherit;
  background-color: #fff;
}
.panel-help-head h2 { margin: 0; font-size: 1.18rem; color: inherit; }
.panel-help-guide dl { display: block; margin: 0; }
.panel-help-guide dt { margin: .85rem 0 .2rem; font-weight: 700; }
.panel-help-guide dd { margin: 0; line-height: 1.5; }
:is([data-theme="dark"], .theme-dark, .dark) .panel-help-guide,
:is([data-theme="dark"], .theme-dark, .dark) .panel-help-head { background-color: #172b3a; color: #eff7fa; }
@media (pointer: coarse) { .panel-help-button { min-height: 40px; } }
@media print { .panel-control-tip, .panel-help-button, .panel-help-guide { display: none !important; } }
