/* Retire the former global-header shortcut, including during a scoped preview. */
[data-hh-tutorial-guide] { display: none; }
.hh-section-tutorial-controls { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; margin-inline-start: 16px; vertical-align: baseline; font-weight: 400; letter-spacing: normal; text-transform: none; }
.hh-section-tutorial-controls > button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 24px; padding: 0; border: 0; border-radius: 0; color: var(--hh-color-text-secondary); background: transparent; font: inherit; font-size: 12px; line-height: 20px; cursor: pointer; }
.hh-section-tutorial-controls > button:hover { color: var(--hh-color-text-primary); text-decoration: underline; }
.hh-section-tutorial-controls>.hh-section-tutorial-more{width:22px}.hh-section-tutorial-more:after{content:"";width:var(--control-chevron-size);height:var(--control-chevron-size);background:var(--control-chevron-image) center / var(--control-chevron-size) no-repeat}

.hh-section-video-dialog { box-sizing: border-box; width: min(880px, calc(100vw - 32px), calc((100dvh - 32px) * 16 / 9)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: black; }
.hh-section-video-dialog::backdrop { background: var(--hh-popup-backdrop-color); }
.hh-section-video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: inherit; background: black; }
.hh-section-video-close { position: absolute; z-index: 1; inset-block-start: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px; color: var(--hh-color-text-secondary); background: transparent; font: inherit; font-size: 25px; line-height: 1; cursor: pointer; }
.hh-section-video-close:hover { color: var(--hh-color-text-primary); }

.hh-section-tutorial-menu { position: fixed; inset: auto; z-index: var(--z-popover); box-sizing: border-box; width: max-content; max-width: calc(100vw - 16px); max-height: min(340px, calc(100dvh - 16px)); margin: 0; padding: 6px; overflow: auto; border: 1px solid var(--app-surface-border-color); border-radius: 8px; color: var(--hh-color-text-primary); background: var(--hh-ui-surface); font: inherit; }
.hh-section-tutorial-menu > button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 4px; color: inherit; background: transparent; font: inherit; text-align: start; cursor: pointer; }
.hh-section-tutorial-menu > button:is(:hover, :focus-visible) { background: var(--surface-muted); }


/* Person-record selection follows Pipeline's search-row checkbox. Keep these
   selectors explicit: permission, filter and form-option controls are excluded. */
:root input[type='checkbox'].hh-record-selection {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-grid;
  box-sizing: border-box;
  flex: 0 0 16px;
  width: 16px;
  min-width: 16px;
  max-width: 16px;
  height: 16px;
  min-height: 16px;
  max-height: 16px;
  padding: 0;
  border: 1px solid var(--hh-palette-d7d7d7);
  border-radius: 4px;
  background: var(--surface-raised);
  box-shadow: none;
  cursor: pointer;
}
:root input[type='checkbox'].hh-record-selection::after {
  content: '';
  position: absolute;
  inset: 0;
  display: block;
  box-sizing: content-box;
  margin: auto;
  width: 6px;
  height: 3px;
  border: 1.5px solid transparent;
  border-left-color: var(--color-white);
  border-bottom-color: var(--color-white);
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
}
:root input[type='checkbox'].hh-record-selection:is(:checked, :indeterminate) {
  border-color: var(--hh-palette-202124);
  background: var(--hh-palette-202124);
}
:root input[type='checkbox'].hh-record-selection:checked::after {
  transform: rotate(-45deg) scale(1);
}
:root input[type='checkbox'].hh-record-selection:indeterminate::after {
  inset: 50% auto auto 50%;
  margin: -1px 0 0 -3.5px;
  width: 7px;
  height: 0;
  border: 0;
  background: var(--color-white);
  transform: scaleX(1);
}
:root input[type='checkbox'].hh-record-selection:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
@media (forced-colors: active) {
:root input[type='checkbox'].hh-record-selection {
    appearance: auto;
  }
:root input[type='checkbox'].hh-record-selection::after {
    content: none;
  }
}
