.warehouse-help-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}
.warehouse-help-row:is(legend) { width: fit-content; }
.warehouse-help-row > label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font: inherit;
}
.warehouse-help-field { display: grid; min-width: 0; gap: .38rem; }
.studio-field > .warehouse-help-row > label { color: #34475d; font-size: .79rem; font-weight: 700; }
.warehouse-help-trigger {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--blue, #3366a8);
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
  touch-action: manipulation;
}
.warehouse-help-trigger:hover,
.warehouse-help-trigger[aria-expanded="true"] {
  border-color: var(--line, #d7dee8);
  background: var(--blue-soft, #edf4fc);
}
.warehouse-help-trigger:focus-visible,
.warehouse-help-close:focus-visible {
  outline: 3px solid var(--focus, #2f7dd1);
  outline-offset: 2px;
}
.warehouse-help-popup {
  position: fixed;
  z-index: 10000;
  inset: auto;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 16px));
  max-height: calc(100vh - 16px);
  margin: 0;
  padding: 18px 58px 18px 18px;
  border: 1px solid var(--line, #d7dee8);
  border-radius: 14px;
  background: var(--surface, #fff);
  color: var(--ink, #1f2933);
  box-shadow: 0 12px 36px rgba(21, 39, 67, .2);
  font: 400 14px/1.5 Inter, ui-sans-serif, system-ui, sans-serif;
  text-align: start;
  overflow: auto;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
}
.warehouse-help-popup[hidden] { display: none !important; }
.warehouse-help-popup::backdrop { background: transparent; pointer-events: none; }
.warehouse-help-heading { display: block; margin: 0 0 8px; color: var(--brand-strong, #0d1a2d); font-size: 15px; line-height: 1.35; }
.warehouse-help-body { margin: 0; white-space: pre-line; }
.warehouse-help-close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--surface-soft, #f3f6fa);
  color: var(--brand, #152743);
  font: 400 24px/1 system-ui, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
}
@media (max-width: 1080px) {
  .warehouse-help-row.header-sync { display: none; }
}
@media print {
  .warehouse-help-trigger, .warehouse-help-popup { display: none !important; }
}
