/* Minimalist 2026 help trigger — replaces oversized 3D goat overhang on work surfaces while keeping full guide access. */
:root { --alpi-size: 38px; --alpi-greeting-size: 42px; --alpi-gap: 16px; --alpi-bottom: var(--alpi-gap); --alpi-clear: calc(var(--alpi-bottom) + var(--alpi-size) + 14px); }
:root:has(#app :is(form.card-pad > .form-actions:last-child, .card-pad > form:last-child > .form-actions:last-child, .form-actions-sticky, .editor-rail, .bu-statusbar, .ab-layout)) { --alpi-bottom: 108px; }
.alpi-launcher { position: fixed; z-index: calc(var(--z-toast) - 3); right: var(--alpi-gap); bottom: var(--alpi-bottom); width: var(--alpi-size); height: var(--alpi-size); display: grid; place-items: center; padding: 0; border: 1px solid rgba(11, 18, 17, .1); border-radius: var(--radius-full); background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--accent); box-shadow: 0 4px 14px rgba(10, 18, 17, .10); cursor: pointer; }
.alpi-launcher::before { content: "?"; font: 700 15px/1 var(--font-sans, sans-serif); color: var(--accent); }
.alpi-art { display: block; object-fit: contain; object-position: center; user-select: none; pointer-events: none; }
.alpi-launcher > .alpi-art { display: none; }
.auth-alpi.alpi-art { object-fit: contain; }
.empty-alpi.alpi-art { object-fit: contain; }
.alpi-launcher:hover { border-color: var(--petrol-7); background: #FFFFFF; box-shadow: 0 8px 22px rgba(0, 122, 102, .18); }
.alpi-launcher:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.alpi-launcher[aria-expanded="true"] { border-color: var(--accent); background: var(--petrol-2); }
.alpi-launcher.is-greeting { width: var(--alpi-greeting-size); height: var(--alpi-greeting-size); }
.alpi-launcher[hidden] { display: none; }
/* Never on login, dialogs, or while the help panel is open. */
body:not(:has(#app .topbar)) .alpi-launcher, body:has(dialog[open]) .alpi-launcher, body:has(.guide-panel:not([hidden])) .alpi-launcher { display: none; }
html:has(.alpi-launcher:not([hidden])) { scroll-padding-bottom: var(--alpi-clear); }
html:has(.alpi-launcher:not([hidden])):has(.editor-rail) { scroll-padding-bottom: calc(var(--alpi-clear) + 56px); }
body:has(.alpi-launcher:not([hidden])) .toast-region { bottom: var(--alpi-clear); }
@media (prefers-reduced-motion: no-preference) {
  .alpi-launcher { transition: translate 140ms ease-out, box-shadow 140ms ease-out, border-color 140ms ease-out, bottom 160ms ease-out; }
  .alpi-launcher:is(:hover, :focus-visible) { translate: 0 -2px; }
}
@media (forced-colors: active) { .alpi-launcher { border: 1px solid ButtonText; } }
@media print { .alpi-launcher { display: none !important; } }
