.help-component { display:inline-flex; flex:0 0 auto; vertical-align:middle; }
.help-trigger { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; min-width:24px; padding:0; margin:0; border:0; border-radius:50%; background:transparent; color:var(--color-muted); }
.help-trigger .icon { width:18px; height:18px; }
.help-trigger:hover, .help-trigger[aria-expanded=true] { background:var(--color-accent-soft); color:var(--color-primary); }
.help-trigger:focus-visible { outline:2px solid var(--color-focus); outline-offset:2px; }
.help-popover { position:fixed; z-index:110; width:max-content; max-width:min(330px,calc(100vw - 24px)); overflow:auto; padding:var(--space-3) var(--space-3); border:1px solid var(--color-border); border-radius:var(--radius-panel); background:var(--color-surface); box-shadow:var(--shadow-popover); color:var(--color-text); font-size:var(--font-label); font-weight:var(--weight-normal); line-height:1.5; text-align:left; white-space:normal; overflow-wrap:anywhere; cursor:auto; }
.help-popover[hidden] { display:none; }
.field-heading { flex-wrap:wrap; }
th .help-trigger { vertical-align:middle; }
@media (max-width:760px), (pointer:coarse) { .help-trigger { width:32px; height:32px; min-width:32px; } }
/* Card-style mobile tables still expose their shared column explanations. */
@media (max-width:980px) {
  .booking-table thead.help-columns { display:block; }
  .booking-table .help-columns tr { display:flex; flex-wrap:wrap; gap:var(--space-3); margin-bottom:var(--space-2); }
  .booking-table .help-columns th:not([data-help-column]) { display:none; }
  .booking-table .help-columns th[data-help-column] { display:flex; align-items:center; gap:var(--space-1); width:auto; padding:var(--space-1); border:0; background:transparent; }
}
@media (max-width:760px) {
  .owner-table thead.help-columns { display:block; }
  .owner-table .help-columns tr { display:flex; margin-bottom:var(--space-2); }
  .owner-table .help-columns th:not([data-help-column]) { display:none; }
  .owner-table .help-columns th[data-help-column] { display:flex; align-items:center; gap:var(--space-1); width:auto; padding:var(--space-1); border:0; background:transparent; }
}
@media print { .help-component { display:none; } }
