/* ASK PHXEL: shared site tokens and typography. */
.ask-launcher {
    position: fixed;
    right: max(20px, env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 99;
    min-height: 48px;
    padding: 14px 18px;
    border: 1px solid var(--black);
    background: var(--lime);
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
}
.ask-launcher span { margin-left: 16px; }
.ask-launcher:hover, .ask-send:hover { background: var(--white); }
.ask-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: max(20px, env(safe-area-inset-right, 0px));
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    width: min(440px, calc(100% - 40px));
    max-height: calc(100vh - 102px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 102px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
    overflow: hidden;
    border: 1px solid var(--muted);
    border-top: 3px solid var(--lime);
    background: var(--black);
    color: var(--white);
}
.ask-panel[hidden] { display: none; }
.ask-header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--black); }
.ask-header .eyebrow { margin: 0; font-size: 13px; }
.ask-close { min-height: 44px; padding: 8px; border: 1px solid var(--line); background: transparent; color: var(--white); font: 700 13px/1.5 "Courier New", monospace; }
.ask-close span { margin-left: 8px; font-size: 20px; }
.ask-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px; }
.ask-panel h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.05; letter-spacing: -.05em; scroll-margin-top: 90px; }
.ask-panel .ask-intro { margin-top: 16px; font-size: 16px; line-height: 1.6; }
.ask-options { display: grid; margin-top: 24px; border-top: 1px solid var(--line); }
.ask-options :is(button, a) { display: block; width: 100%; min-height: 48px; padding: 13px 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--white); text-align: left; overflow-wrap: anywhere; font: 700 14px/1.5 "Courier New", monospace; }
.ask-options :is(button, a):hover, .ask-close:hover { color: var(--lime); border-color: var(--lime); }
.ask-composer { margin-top: 24px; }
.ask-composer label { display: block; margin-bottom: 12px; font-size: 16px; line-height: 1.5; }
.ask-input-row { display: flex; gap: 8px; }
.ask-notice { margin: 12px 0 0; color: var(--muted); font: inherit; font-size: 13px; line-height: 1.6; }
.ask-input-row input { min-width: 0; width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--muted); border-radius: 0; background: var(--black); color: var(--white); font: inherit; font-size: 16px; }
.ask-send { flex-shrink: 0; min-height: 48px; padding: 12px; border: 1px solid var(--lime); background: var(--lime); color: var(--black); font: 700 14px/1.5 "Courier New", monospace; }
.ask-panel :focus-visible, .ask-launcher:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.ask-panel :is(button, input, a, .ask-intro) { scroll-margin-block: 90px 16px; }
/* No animated opening or scrolling: reduced-motion users get the same instant shell. */
@media (max-width: 480px) {
    .ask-launcher { right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
    .ask-panel { right: max(12px, env(safe-area-inset-right, 0px)); left: max(12px, env(safe-area-inset-left, 0px)); width: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
    .ask-header { padding-inline: 16px; }
    .ask-body { padding: 20px 16px; }
}
