/* Ask Veyora (#/ask, js/pages_ask.js). White, black and the brand orange. */
.ask-page{display:flex;flex-direction:column;max-width:860px;margin:0 auto;min-height:calc(100vh - 220px);min-height:calc(100dvh - 220px)}
.ask-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ask-head .pagetitle{flex:0 1 auto;margin:0;padding-bottom:4px;border-bottom:3px solid var(--vx-ink)}
.ask-head .page-title-back,.ask-head .asc-head-text{flex:0 1 auto;width:auto;min-width:0}
.ask-head-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.ask-log{flex:1;display:flex;flex-direction:column;gap:12px;padding:20px 0;min-height:240px}
.ask-msg{display:flex;scroll-margin-bottom:120px}
.ask-msg--user{justify-content:flex-end}
.ask-bubble{max-width:min(640px,85%);padding:12px 16px;border-radius:16px;font-size:16px;line-height:1.5;overflow-wrap:anywhere;white-space:normal}
.ask-msg--user .ask-bubble{background:#000;color:#fff;border-bottom-right-radius:4px}
.ask-msg--bot .ask-bubble{background:#fff;color:#000;border:1px solid #e5e5e5;border-bottom-left-radius:4px}
.ask-bubble--error{border-color:var(--bad,#b91c1c)!important;color:var(--bad,#b91c1c)!important}
.ask-starters{display:flex;flex-wrap:wrap;gap:10px;align-content:flex-start}
.ask-starter{background:#fff;color:#000;border:1px solid var(--vx-ink);border-radius:999px;padding:10px 16px;font:inherit;font-size:15px;font-weight:600;cursor:pointer;text-align:start}
.ask-starter:hover,.ask-starter:focus-visible{background:#fdf0e8}
.ask-off{color:var(--muted,#64748b);font-size:16px}
/* Before Claude is connected, the one line a question gets (js/pages_ask.js). */
.ask-note{align-self:center;margin:0;scroll-margin-bottom:120px;color:var(--muted,#64748b);font-size:14px;line-height:1.4;text-align:center}
.ask-form{position:sticky;bottom:0;display:flex;gap:10px;align-items:flex-end;padding:12px 0 16px;background:var(--bg,#fafbfc)}
.ask-input{flex:1;min-height:56px;max-height:200px;resize:vertical;font:inherit;font-size:16px;line-height:1.4;padding:14px 16px;border:1.5px solid #cfcfcf;border-radius:14px;background:#fff;color:#000}
.ask-input:focus{outline:none;border-color:var(--vx-ink);box-shadow:0 0 0 3px rgba(29,29,31,.2)}
.ask-send{min-height:56px;padding:0 24px;font-size:16px;border-radius:14px;background:#000;color:#fff}
.ask-form .ask-send:focus-visible{outline:3px solid var(--vx-ink);outline-offset:3px}
.ask-dots{display:inline-flex;gap:5px;align-items:center;height:20px}
.ask-dots i{width:7px;height:7px;border-radius:50%;background:var(--vx-ink);animation:ask-dot 1s infinite ease-in-out}
.ask-dots i:nth-child(2){animation-delay:.15s}
.ask-dots i:nth-child(3){animation-delay:.3s}
@keyframes ask-dot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.ask-dots i{animation:none;opacity:.7}}
@media (max-width:640px){
  .ask-page{min-height:calc(100vh - 200px);min-height:calc(100dvh - 200px)}
  .ask-bubble{max-width:92%;font-size:15.5px}
  .ask-form{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));bottom:64px}
  .ask-send{padding:0 18px}
}
/* The WhatsApp button would sit on the Send button; this page has its own way to ask. */
body:has(.ask-page) .shell-wa{display:none}
@media (max-width:640px){.ask-msg,.ask-note{scroll-margin-bottom:190px}}
/* History: the person's past chats, newest first. */
.ask-history{display:flex;flex-direction:column;gap:8px}
.ask-past{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;width:100%;min-height:52px;padding:12px 16px;background:#fff;color:#000;border:1px solid #e5e5e5;border-radius:12px;font:inherit;font-size:15.5px;text-align:start;cursor:pointer}
.ask-past:hover,.ask-past:focus-visible{border-color:var(--vx-ink)}
.ask-past-title{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:600}
.ask-past-when{flex:none;color:var(--muted,#64748b);font-size:14px;white-space:nowrap}
.ask-more{align-self:center;margin-top:4px}
.ask-head-actions[hidden],.ask-form[hidden]{display:none}
@media (max-width:640px){.ask-head-actions .btn{min-height:44px;padding:0 16px}}
