/* Ask SRM (js/ask.js): the floating button, the assistant panel and the answer blocks, in the
   See inside SRM look (css/dusk.css). Self-contained: every class starts with ask-, and the colours
   are the dusk values under their own names, so the file works on any page. */
:root {
  --ask-ink: #f6efe9; --ask-dim: rgba(246, 239, 233, .70); --ask-faint: rgba(246, 239, 233, .56);
  --ask-line: rgba(255, 222, 196, .16); --ask-line-2: rgba(255, 222, 196, .28);
  --ask-glow: #ffd6a8; --ask-glow-soft: rgba(255, 200, 140, .55); --ask-cream: #f3e7dc;
  --ask-glass-b: rgba(255, 240, 230, .18);
  --ask-f: Geist, Inter, Arial, sans-serif; --ask-mono: "Geist Mono", ui-monospace, Menlo, monospace;
}
/* The site's High contrast setting (css/menu.css, html.nm-hc) also lifts the panel's quieter text */
html.nm-hc { --ask-dim: rgba(246, 239, 233, .92); --ask-faint: rgba(246, 239, 233, .82); }
html.nm-hc .ask-panel { background: #0d0a10; }
.ask-ui, .ask-ui * { box-sizing: border-box; }
.ask-ui { font-family: var(--ask-f); color: var(--ask-ink); -webkit-font-smoothing: antialiased; }
.ask-ui :focus-visible { outline: 2px solid var(--ask-glow); outline-offset: 3px; border-radius: 6px; }
.ask-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ask-dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ask-glow); box-shadow: 0 0 14px 3px var(--ask-glow-soft); }

/* The floating button */
.ask-launch { font-family: var(--ask-f); position: fixed; z-index: 40; right: max(16px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 12px)); display: inline-flex; align-items: center; gap: 11px; min-height: 48px; padding: 0 20px 0 18px; border-radius: 999px; border: 1px solid rgba(255, 240, 230, .26); background: linear-gradient(180deg, rgba(60, 45, 64, .74), rgba(26, 19, 32, .82)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 36px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); font-size: 15px; font-weight: 400; line-height: 1; letter-spacing: -.005em; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ask-launch:hover { border-color: rgba(255, 236, 220, .46); }
.ask-launch:focus-visible { border-radius: 999px; }
.ask-launch[aria-expanded="true"] { visibility: hidden; opacity: 0; }
@media (min-width: 860px) { .ask-launch { right: 24px; bottom: 24px; } }

/* Phones: the last line of the page footer clears the button */
@media (max-width: 860px) { html.ask-on .dk-foot { padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom, 0px)); } }

/* The panel: a glass column on the right, a full-height sheet on phones */
.ask-panel { position: fixed; z-index: 1000; top: 16px; right: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; border: 1px solid var(--ask-glass-b); background: linear-gradient(180deg, rgba(40, 30, 44, .92), rgba(16, 12, 20, .95)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 30px 80px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(26px) saturate(1.2); backdrop-filter: blur(26px) saturate(1.2); font-size: 16px; line-height: 1.55; font-weight: 300; }
.ask-panel[hidden], .ask-scrim[hidden] { display: none; }
.ask-panel:focus { outline: none; }
.ask-panel.ask-in { animation: ask-in .2s ease-out; }
@keyframes ask-in { from { transform: translateX(14px); } to { transform: none; } }
.ask-scrim { position: fixed; inset: 0; z-index: 999; background: rgba(5, 4, 8, .62); }

.ask-head { flex: none; display: flex; align-items: center; gap: 4px; min-height: 64px; padding: 8px 8px 8px 22px; border-bottom: 1px solid var(--ask-line); }
.ask-title { flex: 1; display: flex; align-items: center; gap: 12px; margin: 0; font-size: 17px; font-weight: 400; letter-spacing: -.01em; line-height: 1.2; }
.ask-hbtn { font-family: var(--ask-f); display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ask-dim); font-size: 14px; font-weight: 400; cursor: pointer; }
.ask-hbtn[hidden] { display: none; }
.ask-hbtn:hover { background: rgba(255, 240, 232, .08); color: var(--ask-ink); }
.ask-close { padding: 0; }

.ask-log { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 24px 22px 10px; }
.ask-log:focus-visible { outline-offset: -2px; border-radius: 0; }
.ask-intro[hidden] { display: none; }
.ask-intro-h { margin: 0 0 12px; font-size: 26px; font-weight: 300; letter-spacing: -.03em; line-height: 1.16; }
.ask-intro-p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ask-dim); }
.ask-notice { display: flex; align-items: baseline; gap: 12px; margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 214, 168, .30); background: rgba(255, 214, 168, .06); font-size: 15px; line-height: 1.5; font-weight: 400; color: var(--ask-ink); }
.ask-notice[hidden] { display: none; }
.ask-notice::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ask-glow); box-shadow: 0 0 10px 2px var(--ask-glow-soft); transform: translateY(-2px); }
.ask-label { margin: 26px 0 8px; font: 500 10.5px/1.4 var(--ask-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ask-faint); }
.ask-starters { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ask-line-2); }
.ask-starter { font-family: var(--ask-f); color: var(--ask-ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 58px; padding: 10px 2px 10px 0; border: 0; border-bottom: 1px solid var(--ask-line); background: none; font-size: 15.5px; font-weight: 400; line-height: 1.4; text-align: left; cursor: pointer; }
.ask-starter svg { flex: none; color: var(--ask-faint); }
.ask-starter:hover { color: var(--ask-glow); }
.ask-starter:hover svg { color: var(--ask-glow); }

/* Conversation */
.ask-turns { margin: 0; padding: 0; list-style: none; }
.ask-turn { padding: 4px 0 24px; }
.ask-turn + .ask-turn { padding-top: 24px; border-top: 1px solid var(--ask-line); }
.ask-qrow { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.ask-q { max-width: 88%; margin: 0; padding: 10px 15px; border-radius: 16px 16px 4px 16px; border: 1px solid rgba(255, 236, 220, .18); background: rgba(255, 236, 220, .10); font-size: 15.5px; font-weight: 400; line-height: 1.45; overflow-wrap: anywhere; }
.ask-who { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 500 10.5px/1.4 var(--ask-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 226, 200, .70); }
.ask-who .ask-dot { width: 6px; height: 6px; box-shadow: 0 0 10px 2px var(--ask-glow-soft); }

/* Answer block: used in the panel and on the search page */
.ask-res { font-family: var(--ask-f); }
.ask-text { margin: 0; font-size: 16.5px; line-height: 1.6; font-weight: 300; color: var(--ask-ink); white-space: pre-line; overflow-wrap: anywhere; }
.ask-loading .ask-text { display: flex; align-items: center; gap: 12px; color: var(--ask-dim); }
.ask-loading .ask-text::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ask-glow); box-shadow: 0 0 10px 2px var(--ask-glow-soft); animation: ask-breathe 2.4s ease-in-out infinite; }
@keyframes ask-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.ask-res[data-state="offline"] .ask-text, .ask-res[data-state="limited"] .ask-text, .ask-res[data-state="paused"] .ask-text, .ask-res[data-state="error"] .ask-text, .ask-res[data-state="offtopic"] .ask-text { color: var(--ask-dim); }
.ask-note { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--ask-dim); }
.ask-note a, .ask-text a { color: var(--ask-glow); text-decoration-color: rgba(255, 214, 168, .45); text-underline-offset: 3px; }
.ask-note a { display: inline-flex; align-items: center; min-height: 44px; }
.ask-srcs { margin-top: 18px; }
.ask-srcs .ask-label { margin: 0 0 6px; }
.ask-srcs ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ask-line-2); }
.ask-srcs li { border-bottom: 1px solid var(--ask-line); }
.ask-src { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 0; color: var(--ask-ink); text-decoration: none; }
.ask-src-i { flex: none; display: flex; color: rgba(255, 226, 200, .5); }
.ask-src-b { flex: 1; min-width: 0; }
.ask-src-t { display: block; font-size: 15px; font-weight: 400; line-height: 1.35; overflow-wrap: anywhere; }
.ask-src-m { display: flex; gap: 0 8px; margin-top: 3px; font: 400 11.5px/1.35 var(--ask-mono); letter-spacing: .01em; color: var(--ask-faint); white-space: nowrap; }
.ask-src-p { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ask-src-d { flex: none; }
.ask-src-p + .ask-src-d::before { content: "\00b7"; margin-right: 8px; }
.ask-src-go { flex: none; display: flex; color: var(--ask-faint); }
.ask-src:hover .ask-src-t { color: var(--ask-glow); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ask-src:hover .ask-src-go { color: var(--ask-glow); }
.ask-tel { display: flex; align-items: center; gap: 12px; min-height: 52px; margin: -2px 0 8px 26px; padding: 6px 14px; border-radius: 12px; border: 1px solid rgba(255, 214, 168, .30); background: rgba(255, 214, 168, .06); color: var(--ask-ink); text-decoration: none; }
.ask-tel svg { flex: none; color: var(--ask-glow); }
.ask-tel span { display: flex; flex-direction: column; }
.ask-tel-l { font-size: 13px; color: var(--ask-dim); line-height: 1.35; }
.ask-tel b { font-size: 16px; font-weight: 500; letter-spacing: .01em; color: var(--ask-glow); }
.ask-fb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--ask-dim); }
.ask-fb > span { margin-right: 4px; }
.ask-fb > span:focus { outline: none; }
.ask-fb-b { font-family: var(--ask-f); min-width: 56px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255, 240, 230, .18); background: rgba(255, 240, 232, .05); color: var(--ask-ink); font-size: 14.5px; font-weight: 400; cursor: pointer; }
.ask-fb-b:hover { border-color: rgba(255, 236, 220, .42); background: rgba(255, 236, 220, .10); }
.ask-ts { margin-top: 12px; min-height: 65px; }

/* Question box */
.ask-form { flex: none; margin: 0; padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ask-line); background: rgba(10, 8, 14, .38); }
.ask-field { display: flex; align-items: flex-end; gap: 8px; padding: 5px 5px 5px 16px; border-radius: 14px; border: 1px solid rgba(255, 244, 236, .22); background: linear-gradient(180deg, rgba(255, 244, 236, .09), rgba(255, 244, 236, .03)); }
.ask-field:focus-within { border-color: rgba(255, 214, 168, .70); box-shadow: 0 0 0 1px rgba(255, 214, 168, .45); }
.ask-field textarea { flex: 1; font-family: var(--ask-f); min-width: 0; height: 44px; min-height: 44px; max-height: 132px; margin: 0; padding: 11px 0; border: 0; background: none; outline: none; resize: none; font-size: 16px; font-weight: 400; line-height: 22px; color: var(--ask-ink); }
.ask-field textarea::placeholder { color: var(--ask-faint); opacity: 1; }
.ask-send { font-family: var(--ask-f); flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 11px; background: var(--ask-cream); color: #1a1218; cursor: pointer; }
.ask-send[aria-disabled="true"] { opacity: .45; cursor: default; }
.ask-foot { margin: 9px 2px 0; font-size: 12.5px; line-height: 1.45; color: var(--ask-faint); }

/* Turnstile check for callers that give it no place */
.ask-check { position: fixed; z-index: 1001; left: 50%; bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 12px)); width: min(380px, calc(100vw - 32px)); transform: translateX(-50%); padding: 16px 16px 12px; border-radius: 16px; border: 1px solid var(--ask-glass-b); background: linear-gradient(180deg, rgba(40, 30, 44, .96), rgba(16, 12, 20, .97)); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.ask-check-t { margin: 0; font-size: 15px; line-height: 1.5; }

/* Phones: a full-height sheet over a dim page */
@media (max-width: 599px) {
  .ask-panel { top: calc(env(safe-area-inset-top, 0px) + 10px); left: 0; right: 0; bottom: 0; width: auto; border-radius: 20px 20px 0 0; border-bottom: 0; }
  .ask-panel.ask-in { animation-name: ask-up; }
  .ask-head { padding-left: 18px; }
  .ask-log { padding: 20px 18px 10px; }
  .ask-intro-h { font-size: 24px; }
  .ask-form { padding-left: 12px; padding-right: 12px; }
}
@keyframes ask-up { from { transform: translateY(18px); } to { transform: none; } }
html.ask-lock, html.ask-lock body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .ask-panel.ask-in { animation: none; }
  .ask-loading .ask-text::before { animation: none; }
}
@media print { .ask-launch, .ask-panel, .ask-scrim, .ask-check { display: none !important; } }
