/* "Ask Arrow" bar and chat panel on /internet (2026-11-08). Dark in both site themes, like the reference. */
.ask{--ask-bg:#070708;--ask-line:rgba(255,255,255,.14);--ask-text:#f2f2f3;--ask-mute:rgba(255,255,255,.58);--ask-chip:#161618;font:inherit;color:var(--ask-text)}
/* selected text in the assistant: soft white, not the site's orange */
.ask ::selection{background:rgba(255,255,255,.28);color:#fff}
.ask-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ask svg{width:20px;height:20px;flex:none}

/* the floating bar */
.ask-bar{position:fixed;z-index:70;left:50%;bottom:24px;width:min(720px,calc(100vw - 32px));translate:-50% 140%;opacity:0;pointer-events:none;
  transition:translate .45s cubic-bezier(.16,.84,.24,1),opacity .3s,width .3s cubic-bezier(.16,.84,.24,1);background:var(--ask-bg);border:1px solid var(--ask-line);border-radius:12px;
  box-shadow:0 18px 50px -18px rgba(0,0,0,.8);padding:0}
.ask.is-shown .ask-bar{translate:-50% 0;opacity:1;pointer-events:auto}
.ask.is-open .ask-bar{translate:-50% 140%;opacity:0;pointer-events:none}
.ask-row{display:flex;align-items:center;gap:12px;height:56px;padding:0 10px 0 18px}
.ask-mark{flex:none;width:24px;height:19px;background:#fff;-webkit-mask:url(/assets/img/mark-a.png) center/contain no-repeat;mask:url(/assets/img/mark-a.png) center/contain no-repeat}   /* the A from the logo, in white (user's choice over the red, 2026-11-09) */
.ask-in{flex:1;min-width:0;height:100%;border:0;background:transparent;color:var(--ask-text);font:inherit;font-size:16px;outline:none;transition:opacity .2s}
.ask-in::placeholder{color:var(--ask-mute);opacity:1;transition:opacity .2s}
.ask-in.is-swap::placeholder{opacity:0}
.ask-send{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:var(--ask-mute);cursor:pointer}
.ask-send:hover,.ask-send:focus-visible{color:#fff;background:rgba(255,255,255,.08);outline:none}

/* starter questions, shown while the bar has focus */
.ask-chips{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px 10px 0}
.ask.is-focus .ask-chips{display:grid}
.ask.is-focus .ask-bar{width:min(880px,calc(100vw - 32px))}
.ask-chip{display:flex;align-items:center;gap:12px;min-height:54px;padding:0 16px;border:1px solid rgba(255,255,255,.08);border-radius:6px;background:var(--ask-chip);
  color:var(--ask-text);font:inherit;font-size:15px;font-weight:500;text-align:left;cursor:pointer;transition:background .15s,border-color .15s}
.ask-chip:hover,.ask-chip:focus-visible{background:#202023;border-color:rgba(255,255,255,.22);outline:none}
.ask-chip svg{color:var(--ask-mute)}

/* the chat panel */
.ask-panel{position:fixed;z-index:80;left:50%;bottom:24px;translate:-50% 0;width:min(880px,calc(100vw - 32px));height:min(640px,calc(100vh - 120px));
  display:flex;flex-direction:column;background:#000;border:1px solid var(--ask-line);border-radius:14px;box-shadow:0 30px 80px -20px rgba(0,0,0,.9);overflow:hidden;
  animation:askUp .4s cubic-bezier(.16,.84,.24,1)}
.ask-panel[hidden]{display:none}
@keyframes askUp{from{opacity:0;translate:-50% 24px}to{opacity:1;translate:-50% 0}}
.ask-wave{position:absolute;left:0;bottom:70px;width:62%;height:46%;pointer-events:none;z-index:0}
.ask-close{position:absolute;z-index:2;top:12px;right:12px;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:#fff;cursor:pointer}
.ask-close:hover,.ask-close:focus-visible{background:rgba(255,255,255,.08);outline:none}
.ask-log{position:relative;z-index:1;flex:1;overflow-y:auto;margin-top:58px;padding:8px 24px 16px;display:flex;flex-direction:column;gap:18px;scrollbar-width:thin;scrollbar-color:#333 transparent}
.ask-me{align-self:flex-end;max-width:min(78%,560px);padding:10px 14px;border-radius:8px;background:#262628;font-size:15.5px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.ask-bot{max-width:min(92%,700px);font-size:15.5px;line-height:1.6}
.ask-think{user-select:none;display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:14px;color:var(--ask-mute)}
.ask-think span{color:rgba(255,255,255,.4)}
.ask-think .ask-dots{width:16px;height:16px;stroke-width:2.4}
.ask-think.is-live .ask-dots{animation:askPulse 1.2s ease-in-out infinite}
@keyframes askPulse{50%{opacity:.35}}
.ask-md p{margin:0 0 10px}
.ask-md p:last-child{margin-bottom:0}
.ask-md ul{margin:0 0 10px;padding-left:20px}
.ask-md li{margin:2px 0}
.ask-md b{font-weight:700;color:#fff}
.ask-md a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);text-underline-offset:3px}
.ask-md a:hover{text-decoration-color:#fff}
.ask-foot{position:relative;z-index:1;padding:0 12px 10px;background:linear-gradient(transparent,#000 30%)}
.ask-foot .ask-row{border-top:1px solid rgba(255,255,255,.06);padding-top:6px;height:60px}
.ask-note{margin:0 8px;font-size:11.5px;line-height:1.45;color:rgba(255,255,255,.42)}
.ask-note a{color:rgba(255,255,255,.62)}

@media (max-width:760px){
  .ask-bar{bottom:12px;width:calc(100vw - 24px)}
  .ask-chips{grid-template-columns:1fr;gap:8px}
  .ask-chip{min-height:46px}
  .ask-panel{left:0;bottom:0;translate:none;width:100vw;height:100dvh;border-radius:0;border:0;animation:none}
  .ask-log{margin-top:56px;padding:4px 16px 12px}
  .ask-foot{padding-bottom:max(10px,env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){.ask-bar{transition:none}.ask-panel{animation:none}.ask-think.is-live .ask-dots{animation:none}}
@media print{.ask{display:none}}

/* inline under the hero cards (2026-11-09). The root is a zero-size box at the page's top-left, so the bar's
   absolute position is in page coordinates that askbar.ts measures (--ask-x/y/w). It always sits there and scrolls
   with the page; it no longer docks at the bottom of the window (so the page needs no extra bottom padding). */
.ask{position:absolute;top:0;left:0;width:0;height:0}
.ask-spot{height:58px;margin-top:16px}
.ask.is-inline .ask-bar,.ask.is-inline.is-focus .ask-bar{position:absolute;left:var(--ask-x);top:var(--ask-y);bottom:auto;width:var(--ask-w);translate:none;
  display:flex;flex-direction:column-reverse;border-radius:0;transition:opacity .3s}
.ask.is-inline .ask-chips{padding:0 10px 10px}
/* opened from the bar under the cards: the panel takes the bar's place and width, square like the cards (askbar.ts anchor()) */
@media (min-width:761px){
  .ask.is-anchored .ask-panel{left:var(--ap-x);width:var(--ap-w);bottom:var(--ap-b);height:var(--ap-h);translate:none;border-radius:0;animation:askOpen .35s cubic-bezier(.16,.84,.24,1)}
}
@keyframes askOpen{from{opacity:0;clip-path:inset(calc(100% - 58px) 0 0 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
@media (prefers-reduced-motion:reduce){.ask.is-anchored .ask-panel{animation:none}}
/* out of the way while the hero's address search is in use (askbar.ts) */
.ask.is-away .ask-bar{opacity:0;pointer-events:none;visibility:hidden;transition:opacity .2s,visibility 0s .2s}
.ask.is-inline .ask-chip{border-radius:0}
