/* Acopad UI helpers — visual enhancement only. */
.acopad-ui-helper-tooltip{
  position:fixed;z-index:100000;max-width:min(22rem,calc(100vw - 2rem));padding:.55rem .7rem;
  border:1px solid var(--acopad-ui-border);border-radius:.55rem;background:var(--acopad-ui-surface);
  color:var(--acopad-ui-text);box-shadow:0 10px 30px rgba(15,23,42,.18);font-size:.8125rem;
  line-height:1.45;pointer-events:none;opacity:0;transform:translateY(2px);transition:opacity .12s ease,transform .12s ease;
}
.acopad-ui-helper-tooltip[data-open="1"]{opacity:1;transform:translateY(0)}
.acopad-help-trigger{display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;padding:0;border:0;border-radius:999px;background:transparent;color:var(--acopad-ui-muted);cursor:help}
.acopad-help-trigger:hover{background:var(--acopad-ui-surface-alt);color:var(--acopad-ui-text)}
.acopad-help-trigger:focus-visible,[data-acopad-help]:focus-visible{outline:3px solid var(--acopad-ui-focus);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.acopad-ui-helper-tooltip{transition:none}}
html[data-acopad-reduce-motion="1"] .acopad-ui-helper-tooltip{transition:none}

/* R29 — reusable contextual guidance primitives. */
.acopad-title-with-help{display:flex;align-items:center;gap:.45rem;min-width:0}
.acopad-title-with-help>h1,.acopad-title-with-help>h2,.acopad-title-with-help>h3,.acopad-title-with-help>h4{margin:0}
.acopad-field-label{display:flex;align-items:center;gap:.35rem;min-width:0}
.acopad-field-label__text{min-width:0}
.acopad-field-label .acopad-help-trigger{flex:0 0 auto}
.acopad-help-trigger{width:1.45rem;height:1.45rem;border:1px solid color-mix(in srgb,var(--acopad-ui-border) 80%,transparent);background:color-mix(in srgb,var(--acopad-ui-surface-alt) 72%,transparent);font-size:.72rem;font-weight:800;line-height:1}
.acopad-help-trigger:hover{border-color:color-mix(in srgb,var(--acopad-ui-accent) 28%,var(--acopad-ui-border));background:color-mix(in srgb,var(--acopad-ui-accent) 7%,var(--acopad-ui-surface-alt));color:var(--acopad-ui-accent)}
