/* https://site.invalid/style/chapter-helper-r5.css */
@scope (html[data-site-styles~="f1f629dfd9092103"]) {/* Helper polish; uses the standard panel's existing 56px artwork column. */
#iot-chapter-help-dialog .iot-side-panel__icon:where(:scope, *) { color: var(--help-link); }
#iot-chapter-help-dialog .iot-side-panel__actions:where(:scope, *) { flex-direction: column; align-items: flex-start; gap: 5px; max-width: 12rem; }
#iot-chapter-help-dialog a.iot-chapter-helper__secondary:where(:scope, *) {
  display: inline-flex; align-items: center; box-sizing: border-box;
  min-height: 24px; margin: 0; padding: 2px 0; border: 0;
  color: var(--help-link); background: transparent; font-size: .75rem;
  line-height: 1.35; font-weight: 600; text-decoration: none;
}
#iot-chapter-help-dialog a.iot-chapter-helper__secondary:hover:where(:scope, *) { color: var(--help-ink); }
/* A two-colour ring stays visible beside both white canvas and dark content.
   The teal outline is >3:1 against its white inner ring in either colour scheme. */
#iot-chapter-helper .iot-chapter-helper__launcher:where(:scope, *) { border-radius: 16px; }
#iot-chapter-helper .iot-chapter-helper__launcher:focus-visible:where(:scope, *) {
  outline: 3px solid #185e5b; outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff; opacity: 1;
}
/* Native dialog focus restoration can inherit :focus-visible from a control.
   Last-input tracking is the fallback where focus({focusVisible:false}) is ignored. */
#iot-chapter-helper[data-help-input="pointer"] .iot-chapter-helper__launcher:focus-visible:where(:scope, *) {
  outline: none; box-shadow: none;
}
@media (forced-colors: active) {
  #iot-chapter-helper .iot-chapter-helper__launcher:focus-visible:where(:scope, *) { outline-color: Highlight; }
}
}
