/* Prompt bar outside the home: the app's ask bar (same sizes and colours as the home hero bar in build-story.css).
   Typing + send opens app.twinworks.com/sign-up with the prompt after the #. Markup: see prompt-bar.js. */
.tw-ask { display: grid; gap: 10px; justify-items: center; width: min(560px, 100%); margin: 26px auto 28px; text-align: left; }
.tw-ask__title { margin: 0; text-align: center; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: #0a0a0b; }
.tw-ask__bar { width: 100%; box-sizing: border-box; padding: 8px; border-radius: 28px; background: #fff; color: #0a0a0b; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.12); transition: box-shadow .2s; }
.tw-ask__bar:focus-within { box-shadow: 0 0 0 1px rgba(0,105,216,.45), 0 10px 30px rgba(0,0,0,.14); }
.tw-ask__row { display: flex; align-items: center; gap: 8px; }
.tw-ask .tw-mk { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #0a0a0b; color: #fff; display: grid; place-items: center; }
.tw-ask .tw-mk svg { width: 64%; height: 64%; transform: translateY(5%); }
.tw-ask .tw-mk i { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; border: 2px solid #fff; background: #22c55e; }
.tw-ask__bar input { flex: 1; min-width: 0; min-height: 40px; margin: 0; padding: 10px 4px; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; line-height: 20px; color: #0a0a0b; }
.tw-ask__bar input::placeholder { color: #71717a; }
.tw-ask .tab-hint { display: none; flex: none; padding: 2px 7px; border-radius: 6px; border: 1px solid #e4e4e7; background: #fafafa; color: #71717a; font: 500 11px/16px inherit; }
.tw-ask__bar input:placeholder-shown:focus ~ .tab-hint { display: inline-block; }
.tw-ask .send { flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #0a0a0b; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.tw-ask .send:hover { background: rgba(10,10,11,.85); }
.tw-ask .send svg { width: 16px; height: 16px; }
.tw-ask__try { display: flex; flex-wrap: wrap; gap: 6px; }
.tw-ask__try { justify-content: center; }
.tw-ask__try button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: #f4f4f5; color: #3f3f46; font: inherit; font-size: 13px; cursor: pointer; }
.tw-ask__try button svg { width: 14px; height: 14px; color: #71717a; }
.tw-ask__try button:hover { background: #e9e9ec; }
.tw-ask__try button[aria-pressed="true"] { background: #e8f0fe; color: #0b57d0; }
.tw-ask__try button[aria-pressed="true"] svg { color: #0b57d0; }
.tw-ask__go { display: none; }
@media (hover: none), (max-width: 920px) { .tw-ask .tab-hint { display: none !important; } }
@media (max-width: 600px) { .tw-ask { margin-top: 20px; } .tw-ask__title { font-size: 16px; } }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .tw-ask__title { color: #f4f4f5; }
  html:not([data-theme="light"]) .tw-ask__bar { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 10px 30px rgba(0,0,0,.5); }
  html:not([data-theme="light"]) .tw-ask__try button { background: rgba(255,255,255,.08); color: #d4d4d8; }
  html:not([data-theme="light"]) .tw-ask__try button:hover { background: rgba(255,255,255,.14); }
  html:not([data-theme="light"]) .tw-ask__try button[aria-pressed="true"] { background: rgba(59,130,246,.2); color: #93c5fd; }
}
