/* ==========================================================================
   Ask Coach Black — AI chat module (v3, chat-app style)
   Variants: app (full-screen page) · drawer (floating window) · launch (home) · full / inline (boxed)
   ========================================================================== */
.as, .as-fab, .as-drawer {
  --as-ink: var(--ink, #0a1d30); --as-navy: var(--navy, #0c2a46); --as-sun: var(--sun, #f2c517);
  --as-sky: var(--sky-deep, #0079b0); --as-text: #1d2a36; --as-muted: #67737f; --as-line: rgba(10,29,48,.1);
  --as-soft: #f4f1ea; --as-side: #f7f5f0; --as-col: 768px;
}
.as { display: flex; flex-direction: column; min-height: 0; position: relative; background: #fff; color: var(--as-text);
  font-family: var(--font-body, Manrope, system-ui, sans-serif); border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(10,29,48,.45), 0 0 0 1px var(--as-line); -webkit-font-smoothing: antialiased; }
.as *, .as *::before, .as *::after { box-sizing: border-box; }
.as button { font: inherit; color: inherit; }
.as svg { flex: none; }
.as--full { height: min(820px, calc(100vh - 150px)); min-height: 600px; }
.as--inline { height: 640px; }
.as--drawer { height: 100%; border-radius: 0; box-shadow: none; }
.as-iconbtn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 0; border-radius: 11px; background: none; color: var(--as-muted); cursor: pointer; transition: background .2s, color .2s; text-decoration: none; }
.as-iconbtn:hover { background: rgba(10,29,48,.06); color: var(--as-ink); }
.as-iconbtn svg { width: 20px; height: 20px; }

/* boxed header (drawer / full / inline) */
.as-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--as-line); flex: none; }
.as-ava { position: relative; width: 40px; height: 40px; flex: none; }
.as-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.as-ava__dot { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.as-head__txt { flex: 1; min-width: 0; line-height: 1.25; }
.as-head__txt b { display: block; font-size: 16px; font-weight: 800; color: var(--as-ink); }
.as-head__txt small { font-size: 12.5px; color: var(--as-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.as-head__act { display: flex; gap: 2px; }

/* conversation scroller */
.as-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 18px 28px; scroll-behavior: auto; -webkit-overflow-scrolling: touch; }
.as-log::-webkit-scrollbar { width: 10px; } .as-log::-webkit-scrollbar-thumb { background: rgba(10,29,48,.14); border-radius: 10px; border: 3px solid #fff; }
.as.is-empty .as-log { display: flex; flex-direction: column; }

/* empty state */
.as-empty { margin: auto 0; text-align: center; padding: 8px 0; animation: as-in .5s both; }
.as-empty__ava { position: relative; display: inline-block; width: 60px; height: 60px; margin-bottom: 14px; }
.as-empty__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--as-sun); }
.as-empty__ava i { position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(242,197,23,.5); animation: as-ring 2.8s infinite; }
.as-empty__t { font-family: var(--font-display, Fraunces, Georgia, serif); font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; color: var(--as-ink); margin: 0 0 8px; }
.as-empty__t em { font-style: italic; color: var(--as-sky); }
.as-empty__p { margin: 0 auto 18px; max-width: 46ch; font-size: 15px; line-height: 1.55; color: var(--as-muted); }

.as-roles { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0 0 14px; font-size: 13px; color: var(--as-muted); }
.as-roles > span { font-weight: 700; margin-right: 2px; }
.as-chip { border: 1px solid var(--as-line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px !important; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s; }
.as-chip:hover { border-color: rgba(10,29,48,.3); }
.as-chip.is-on { background: var(--as-ink); border-color: var(--as-ink); color: #fff !important; }

.as-starters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; text-align: left; }
.as-start { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid var(--as-line); border-radius: 16px; background: #fff; cursor: pointer; text-align: left; min-width: 0;
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s; }
.as-start:hover { border-color: var(--a); transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(10,29,48,.35); }
.as-start__i { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--t); color: var(--a); }
.as-start__i svg { width: 18px; height: 18px; }
.as-start__t { min-width: 0; line-height: 1.3; }
.as-start__t b { display: block; font-size: 14px; font-weight: 700; color: var(--as-ink); }
.as-start__t i { display: block; font-style: normal; font-size: 12px; color: var(--as-muted); margin-top: 2px; }

/* turns */
.as-turn { padding: 6px 0 26px; }
.as-turn + .as-turn { border-top: 0; }
.as-turn.is-fill { min-height: calc(var(--as-h, 600px) - 40px); }
.as-u { display: flex; justify-content: flex-end; animation: as-in .35s both; }
.as-u__b { max-width: min(80%, 560px); background: var(--as-soft); color: var(--as-ink); padding: 11px 17px; border-radius: 22px 22px 6px 22px; font-size: 15.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }

.as-a { margin-top: 22px; animation: as-in .4s both; }
.as-a__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 10px; }
.as-a__ava { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--as-sun); }
.as-a__ava img { width: 100%; height: 100%; object-fit: cover; }
.as-a__head > b { font-size: 14.5px; font-weight: 800; color: var(--as-ink); }
.as-rules { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.as-rule { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; background: var(--t); color: var(--a); font-size: 11.5px; font-weight: 800; letter-spacing: .01em; border: 0; }
.as-rule svg { width: 13px; height: 13px; }
.as-rule--btn { cursor: pointer; padding: 8px 12px; font-size: 13px; transition: transform .2s; } .as-rule--btn:hover { transform: translateY(-1px); }

.as-a__body { font-size: 15.5px; line-height: 1.7; color: var(--as-text); overflow-wrap: anywhere; }
.as-a__body h3 { font-family: var(--font-body, Manrope, sans-serif); font-size: 18px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; color: var(--as-ink); margin: 0 0 8px; }
.as-a__body p { margin: 0 0 14px; }
.as-a__body ol { margin: 0 0 14px; padding-left: 1.3em; } .as-a__body li { margin: 0 0 6px; }
.as-a__body strong { font-weight: 800; color: var(--as-ink); background: linear-gradient(transparent 62%, rgba(242,197,23,.42) 0); }
.as-a__body a { color: var(--as-sky); }
.as-a__body .as-cite { display: inline-flex; align-items: center; gap: 10px; margin: 2px 0 6px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid rgba(242,197,23,.45); background: linear-gradient(135deg, rgba(242,197,23,.14), rgba(242,197,23,.04)); color: var(--as-ink); font-size: 13px; line-height: 1.3; text-decoration: none; transition: border-color .2s, transform .2s; max-width: 100%; }
.as-a__body .as-cite:hover { border-color: rgba(242,197,23,.9); transform: translateY(-1px); }
.as-a__body .as-cite svg { flex: none; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--as-ink); color: #f2c517; fill: none; stroke: currentColor; stroke-width: 2; }
.as-a__body .as-cite span { display: flex; flex-direction: column; min-width: 0; font-weight: 700; }
.as-a__body .as-cite em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; opacity: .6; }
.as-note { padding: 10px 14px; border-left: 3px solid var(--as-sun); background: #fffaea; border-radius: 0 12px 12px 0; font-size: 14.5px; }
.as-a.is-streaming .as-a__body > :last-child::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 5px; border-radius: 50%; background: var(--as-ink); vertical-align: middle; animation: as-pulse-dot 1s infinite; }

.as-try { margin: 4px 0 14px; padding: 14px 16px 8px; border-radius: 16px; background: #fffbef; border: 1px solid rgba(242,197,23,.45); }
.as-try__h { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9a7400; }
.as-try__h svg { width: 16px; height: 16px; }
.as-try ol { list-style: none; margin: 0; padding: 0; }
.as-tick { display: flex; align-items: flex-start; gap: 11px; width: 100%; padding: 7px 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: 15px !important; line-height: 1.5; color: var(--as-text); }
.as-tick > span { width: 21px; height: 21px; flex: none; margin-top: 1px; border-radius: 7px; border: 1.6px solid rgba(10,29,48,.3); background: #fff; display: grid; place-items: center; color: transparent; transition: all .2s; }
.as-tick > span svg { width: 13px; height: 13px; stroke-width: 3; }
.as-tick.is-on > span { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.as-tick.is-on { color: var(--as-muted); text-decoration: line-through; text-decoration-color: rgba(10,29,48,.3); }
.as-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.as-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; margin: 0 0 6px; }
.as-link { display: grid; grid-template-columns: 34px 1fr 16px; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--as-line); text-decoration: none; color: inherit; transition: border-color .2s, background .2s; }
.as-link:hover { border-color: var(--as-sky); background: #f6fbfe; }
.as-link > span { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 10px; background: var(--as-ink); color: var(--as-sun); display: grid; place-items: center; } .as-link > span svg { width: 17px; height: 17px; }
.as-link b { font-size: 13.5px; font-weight: 800; color: var(--as-ink); line-height: 1.25; } .as-link i { grid-column: 2; font-style: normal; font-size: 12px; color: var(--as-muted); }
.as-link__go { grid-column: 3; grid-row: 1 / 3; width: 16px; height: 16px; color: var(--as-muted); }

.as-actions { display: flex; align-items: center; gap: 2px; margin: 6px 0 0 -6px; flex-wrap: wrap; }
.as-act { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; color: var(--as-muted); cursor: pointer; transition: background .2s, color .2s; }
.as-act:hover { background: rgba(10,29,48,.06); color: var(--as-ink); }
.as-act svg { width: 17px; height: 17px; }
.as-act.is-on, .as-act.is-done { color: var(--as-sky); }
.as-fbnote { font-size: 12.5px; color: var(--as-muted); margin-left: 6px; } .as-fbnote a { color: var(--as-sky); }

.as-follow { margin-top: 18px; border-top: 1px solid var(--as-line); }
.as-follow__h { margin: 14px 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--as-muted); }
.as-follow__q { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 4px; border: 0; border-bottom: 1px solid var(--as-line); background: none; cursor: pointer; text-align: left; font-size: 15px !important; font-weight: 600; color: var(--as-ink); transition: color .2s, padding .25s; }
.as-follow__q svg { width: 16px; height: 16px; color: var(--as-sky); }
.as-follow__q:hover { color: var(--as-sky); padding-left: 10px; }
.as-wait { opacity: 0; transform: translateY(8px); pointer-events: none; }
.as-x { transition: opacity .45s, transform .5s cubic-bezier(.22,1,.36,1); }

/* thinking */
.as-a.is-thinking .as-a__ava { animation: as-pulse 1.4s infinite; }
.as-shimmer { font-size: 14.5px; font-weight: 700; background: linear-gradient(90deg, #8a96a3 0%, #8a96a3 40%, var(--as-ink) 50%, #8a96a3 60%, #8a96a3 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: as-shimmer 1.6s linear infinite; }

/* lead capture */
.as-lead { display: flex; gap: 12px; margin: 22px 0 0; padding: 16px; border-radius: 18px; background: var(--as-navy); color: #dbe6f0; animation: as-in .5s both; }
.as-lead__ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(242,197,23,.16); color: var(--as-sun); display: grid; place-items: center; } .as-lead__ico svg { width: 20px; height: 20px; }
.as-lead > div { flex: 1; min-width: 0; }
.as-lead b { color: #fff; font-size: 15px; } .as-lead p { margin: 4px 0 10px; font-size: 13.5px; line-height: 1.5; }
.as-lead__form { display: flex; gap: 6px; }
.as-lead__form input { flex: 1; min-width: 0; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; padding: 0 12px; font: 500 14px var(--font-body, sans-serif); }
.as-lead__form input::placeholder { color: rgba(255,255,255,.5); }
.as-lead__form .btn { height: 40px; }
.as-lead__note { margin: 0 !important; font-size: 13px !important; } .as-lead__note.is-ok { color: #9be7b9; } .as-lead__note.is-err { color: #ffb4a3; }

/* composer */
.as-dock { flex: none; padding: 0 14px 10px; background: #fff; position: relative; }
.as-dock::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 28px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.as-compose { position: relative; border: 1px solid rgba(10,29,48,.16); border-radius: 24px; background: #fff; box-shadow: 0 10px 30px -18px rgba(10,29,48,.35); transition: border-color .2s, box-shadow .2s; }
.as-compose:focus-within { border-color: rgba(10,29,48,.32); box-shadow: 0 12px 34px -16px rgba(10,29,48,.4), 0 0 0 4px rgba(242,197,23,.22); }
.as-input { display: block; width: 100%; resize: none; border: 0; outline: 0; background: none; padding: 14px 18px 4px; font: 500 16px/1.5 var(--font-body, Manrope, sans-serif); color: var(--as-ink); max-height: 200px; }
.as-input::placeholder { color: #8b96a1; }
.as-compose__bar { display: flex; align-items: center; gap: 6px; padding: 4px 8px 8px 16px; }
.as-compose__hint { margin-right: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--as-muted); }
.as-compose__hint svg { width: 15px; height: 15px; color: #d6a700; }
.as-mic, .as-send { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s, color .2s; }
.as-mic { background: none; color: var(--as-muted); } .as-mic:hover { background: rgba(10,29,48,.06); color: var(--as-ink); }
.as-mic svg { width: 19px; height: 19px; }
.as-send { background: var(--as-ink); color: #fff; }
.as-send svg { width: 18px; height: 18px; stroke-width: 2.4; }
.as-send:not(:disabled):hover { transform: scale(1.06); background: #000; }
.as-send:disabled { background: #e3e0d9; color: #fff; cursor: default; }
.as.is-listening .as-mic { background: #d9452b; color: #fff; animation: as-pulse-red 1.4s infinite; }
.as-fine { margin: 8px 0 0; text-align: center; font-size: 11.5px; line-height: 1.45; color: #8b96a1; }
.as-fine a { color: inherit; text-decoration: underline; }

/* ==========================================================================
   APP — full-screen chat page (ask-steve.html)
   ========================================================================== */
html.as-app-page, html.as-app-page body { height: 100%; overflow: hidden; background: #fff; margin: 0; }
.as--app { position: fixed; inset: 0; z-index: 1; display: grid; grid-template-columns: 280px minmax(0, 1fr); border-radius: 0; box-shadow: none; height: 100dvh; }
.as-side { display: flex; flex-direction: column; min-height: 0; background: var(--as-side); border-right: 1px solid var(--as-line); padding: 14px 12px 12px; }
.as-side__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 4px 18px; }
.as-side__logo { display: block; flex: 1; min-width: 0; }
.as-side__logo img { display: block; width: 100%; max-width: 236px; height: auto; }
.as-side__x { display: none; }
.as-newchat { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--as-line); background: #fff; cursor: pointer; font-size: 14.5px !important; font-weight: 800; color: var(--as-ink) !important; box-shadow: 0 6px 16px -12px rgba(10,29,48,.4); transition: border-color .2s, transform .2s; }
.as-newchat:hover { border-color: rgba(10,29,48,.3); transform: translateY(-1px); }
.as-newchat svg { width: 18px; height: 18px; }
.as-side__scroll { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -6px; padding: 0 6px; }
.as-side__h { margin: 22px 8px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8b96a1; }
.as-hist, .as-side__links { list-style: none; margin: 0; padding: 0; }
.as-hist li { position: relative; display: flex; border-radius: 10px; }
.as-hist li:hover, .as-hist li.is-on { background: rgba(10,29,48,.065); }
.as-hist__go { flex: 1; min-width: 0; padding: 9px 10px; border: 0; background: none; cursor: pointer; text-align: left; font-size: 14px !important; color: var(--as-text); }
.as-hist__go span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-hist li.is-on .as-hist__go { font-weight: 700; color: var(--as-ink); }
.as-hist__x { width: 32px; border: 0; background: none; color: var(--as-muted); cursor: pointer; opacity: 0; display: grid; place-items: center; }
.as-hist__x svg { width: 15px; height: 15px; }
.as-hist li:hover .as-hist__x, .as-hist__x:focus-visible { opacity: 1; } .as-hist__x:hover { color: #c2410c; }
.as-hist__none { padding: 6px 10px; font-size: 13.5px; color: #8b96a1; }
.as-side__links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--as-text); }
.as-side__links a:hover { background: rgba(10,29,48,.065); color: var(--as-ink); }
.as-side__links svg { width: 18px; height: 18px; color: var(--as-sky); }
.as-side__me { display: flex; align-items: center; gap: 10px; padding: 12px 8px 2px; border-top: 1px solid var(--as-line); margin-top: 8px; }
.as-side__me img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.as-side__me span { line-height: 1.3; } .as-side__me b { display: block; font-size: 14px; color: var(--as-ink); } .as-side__me small { font-size: 12.5px; color: var(--as-muted); }
.as-veil { display: none; }

.as-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100dvh; background: #fff; }
.as-top { flex: none; height: 60px; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.as-top__menu { display: none; }
.as-model { position: relative; }
.as-model__btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 0; border-radius: 12px; background: none; cursor: pointer; transition: background .2s; }
.as-model__btn:hover, .as-model__btn[aria-expanded="true"] { background: rgba(10,29,48,.06); }
.as-model__btn b { font-size: 17px; font-weight: 800; color: var(--as-ink); }
.as-model__role { font-size: 14px; color: var(--as-muted); font-weight: 600; }
.as-model__btn svg { width: 16px; height: 16px; color: var(--as-muted); }
.as-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 270px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -20px rgba(10,29,48,.4), 0 0 0 1px var(--as-line); animation: as-in .2s both; }
.as-menu p { margin: 4px 10px 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8b96a1; }
.as-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer; font-size: 14.5px !important; font-weight: 600; text-align: left; }
.as-menu button:hover { background: rgba(10,29,48,.06); }
.as-menu button svg { width: 17px; height: 17px; color: var(--as-sky); opacity: 0; } .as-menu button[aria-checked="true"] svg { opacity: 1; }
.as-top__act { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.as-top__site { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--as-line); text-decoration: none; font-size: 13.5px; font-weight: 700; color: var(--as-ink); transition: border-color .2s; }
.as-top__site:hover { border-color: rgba(10,29,48,.3); } .as-top__site svg { width: 16px; height: 16px; }

.as--app .as-log { padding: 18px 24px 40px; }
.as--app .as-log > * { width: 100%; max-width: var(--as-col); margin-left: auto; margin-right: auto; }
.as--app .as-dock { padding: 0 24px 12px; }
.as-dock__in { max-width: var(--as-col); margin: 0 auto; }
.as--app .as-a__in { padding-left: 40px; }
.as--app .as-a__body { font-size: 16.5px; line-height: 1.75; }
.as--app .as-a__body h3 { font-size: 20px; }
.as--app .as-u__b { font-size: 16px; }
.as--app .as-input { font-size: 16.5px; padding: 16px 20px 6px; min-height: 58px; }
.as--app .as-send { width: 38px; height: 38px; }

/* empty: greeting + composer centred like a fresh chat */
.as--app.is-empty .as-log { flex: 0 0 auto; margin-top: auto; overflow: visible; padding-bottom: 22px; }
.as--app.is-empty .as-dock { margin-bottom: auto; padding-bottom: 7vh; }
.as--app.is-empty .as-dock::before { display: none; }
.as--app .as-empty__ava { width: 72px; height: 72px; margin-bottom: 18px; }
.as--app .as-empty__t { font-size: clamp(30px, 3.4vw, 42px); }
.as--app .as-empty__p { font-size: 16px; margin-bottom: 0; }
.as-sugg:empty { display: none; }
.as-sugg { margin-top: 14px; }
.as--app .as-starters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.as--app.is-empty .as-fine { margin-top: 18px; }

@media (max-width: 960px) {
  .as--app { grid-template-columns: minmax(0, 1fr); }
  .as-side { position: fixed; z-index: 40; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); transform: translateX(-102%); transition: transform .38s cubic-bezier(.22,1,.36,1), box-shadow .38s; visibility: hidden; }
  .as--app.side-open .as-side { transform: none; visibility: visible; box-shadow: 0 0 60px -10px rgba(4,14,26,.4); }
  .as-veil { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(6,18,32,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .as--app.side-open .as-veil { opacity: 1; pointer-events: auto; }
  .as-side__x, .as-top__menu { display: inline-grid; }
}
@media (max-width: 640px) {
  .as-top { padding: 0 8px; height: 56px; }
  .as-model__role, .as-top__site span { display: none; }
  .as-top__site { padding: 8px 10px; }
  .as--app .as-log { padding: 12px 16px 32px; }
  .as--app .as-dock { padding: 0 12px 8px; }
  .as--app .as-a__in { padding-left: 0; }
  .as--app .as-a__body { font-size: 16px; }
  .as--app .as-starters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as--app .as-start:nth-child(n+5) { display: none; }
  .as-start__t i { display: none; }
  .as--app.is-empty .as-dock { padding-bottom: 12px; }
  .as-compose__hint { font-size: 0; } .as-compose__hint svg { width: 17px; height: 17px; }
  .as-u__b { max-width: 88%; }
}

/* drawer + boxed variants */
.as--drawer .as-starters, .as--full .as-starters, .as--inline .as-starters { grid-template-columns: 1fr; }
.as--drawer .as-empty, .as--full .as-empty, .as--inline .as-empty { margin-top: 10px; }

/* ==========================================================================
   LAUNCH — home page starting point (asking opens the full page)
   ========================================================================== */
.as--launch { padding: 24px; border-radius: 28px; }
.as--launch .as-log { overflow: visible; padding: 0; flex: none; display: block; }
.as--launch .as-dock { padding: 16px 0 0; } .as--launch .as-dock::before { display: none; }
.as-launch__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.as-launch__head .as-empty__ava { width: 48px; height: 48px; margin: 0; flex: none; }
.as-launch__head p { margin: 0; font-family: var(--font-display, Fraunces, Georgia, serif); font-size: 21px; line-height: 1.3; color: var(--as-ink); }
.as-launch__head em { color: var(--as-sky); }
.as--launch .as-roles { justify-content: flex-start; }
.as-launch__cont { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--as-sky); text-decoration: none; }
.as-launch__cont svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .as--launch { padding: 18px; } .as--launch .as-starters { grid-template-columns: 1fr; } .as-launch__head p { font-size: 18px; } }

/* floating launcher */
.as-fab { position: fixed; right: 24px; bottom: 24px; z-index: 140; display: flex; align-items: center; gap: 14px; padding: 10px 30px 10px 10px; border-radius: 999px; border: 0; cursor: pointer;
  background: #fff; color: var(--ink, #0a1d30); box-shadow: 0 0 0 1px rgba(10,29,48,.08), 0 22px 46px -18px rgba(10,29,48,.55);
  opacity: 0; transform: translateY(20px) scale(.96); visibility: hidden; transition: opacity .4s, transform .5s cubic-bezier(.22,1,.36,1), visibility 0s .5s, box-shadow .3s; font-family: var(--font-body, sans-serif); }
.as-fab.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .5s cubic-bezier(.22,1,.36,1), visibility 0s, box-shadow .3s; }
.as-fab:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--sun, #f2c517), 0 26px 50px -18px rgba(10,29,48,.6); }
.as-fab__ava { position: relative; width: 64px; height: 64px; border-radius: 50%; padding: 2px; background: conic-gradient(from 210deg, #ffd43b, #ff9e5e, #0fa6df, #ffd43b); flex: none; }
.as-fab__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.as-fab__ava i { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(242,197,23,.6); animation: as-ring 2.6s infinite; }
.as-fab__txt { text-align: left; line-height: 1.2; }
.as-fab__txt b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; } .as-fab__txt small { font-size: 14px; color: var(--muted, #5d6b78); }
.to-top { bottom: 124px !important; }
@media (max-width: 720px) {
  .as-fab { right: 16px; bottom: 16px; padding: 5px; } .as-fab__txt { display: none; }
  .to-top { bottom: 100px !important; }
}

/* drawer */
.as-scrim { position: fixed; inset: 0; z-index: 290; background: rgba(6,18,32,.45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.as-scrim.is-open { opacity: 1; }
.as-drawer { position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(470px, calc(100vw - 24px)); z-index: 300; border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(4,14,26,.7); transform: translateX(calc(100% + 30px)); transition: transform .45s cubic-bezier(.22,1,.36,1); background: #fff; }
.as-drawer.is-open { transform: none; }
html.as-locked, html.as-locked body { overflow: hidden; }
@media (max-width: 560px) { .as-drawer { top: 0; right: 0; bottom: 0; width: 100vw; border-radius: 0; } }


/* ---------- Home teaser (light) ---------- */
.ask-home { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 85% 10%, rgba(255,212,59,.28), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(15,166,223,.12), transparent 60%), var(--sand, #f1ece2); }
.ask-home__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.ask-home h2 em { color: var(--sky-deep, #0079b0); }
.ask-home__pts { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.ask-home__pts li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text, #1a2633); }
.ask-home__pts svg { width: 22px; height: 22px; color: var(--sun-deep, #e0a800); flex: none; margin-top: 2px; }
.ask-home__glow { display: none; }
.ask-home .as--inline { height: 620px; }
@media (max-width: 1024px) { .ask-home__grid { grid-template-columns: 1fr; } }
.as-drawer { background: #fff; }
body[data-page="ask"] .cu-launch { display: none !important; }

@keyframes as-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes as-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes as-pulse-dot { 0%, 100% { transform: scale(.7); opacity: .5; } 50% { transform: scale(1); opacity: 1; } }
@keyframes as-pulse { 0% { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--as-sun), 0 0 0 3.5px rgba(242,197,23,.6); } 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--as-sun), 0 0 0 12px rgba(242,197,23,0); } }
@keyframes as-pulse-red { 0% { box-shadow: 0 0 0 0 rgba(217,69,43,.5); } 70% { box-shadow: 0 0 0 9px rgba(217,69,43,0); } 100% { box-shadow: 0 0 0 0 rgba(217,69,43,0); } }
@keyframes as-ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .as *, .as-fab *, .as-drawer { animation: none !important; transition: none !important; } }

/* send button: white arrow on the dark circle (beats the generic `.as button { color: inherit }`) */
.as .as-send { color: #fff; }
.as .as-send svg { stroke: currentColor; }
.as .as-send:disabled { background: #e3e0d9; color: #fff; }
.as .as-send:not(:disabled) { background: var(--as-ink); box-shadow: 0 6px 16px -6px rgba(10,29,48,.55); }
.as .as-send:not(:disabled):hover { background: #000; }
.as .as-mic { color: var(--as-muted); }
.as.is-listening .as-mic { color: #fff; }

/* v3.2 · "Read more from Steve" — articles and lessons the answer drew on */
.as-read { margin-top: 14px; display: grid; gap: 8px; }
.as-read__h { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--as-muted, #5d6b78); }
.as-read__h svg { width: 15px; height: 15px; color: #0079b0; }
.as-readlink { position: relative; display: grid; gap: 3px; padding: 12px 40px 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--as-line, rgba(10,29,48,.1)); border-left: 3px solid #0fa6df; text-decoration: none; color: inherit; transition: border-color .2s, background .2s, transform .25s; }
.as-readlink:hover { background: #f4fbfe; transform: translateX(2px); }
.as-readlink i { font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0079b0; }
.as-readlink b { font-size: 14.5px; line-height: 1.35; color: #0a1d30; }
.as-readlink .as-link__go { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: #0a1d30; opacity: .5; }
.as-read + .as-links { margin-top: 12px; }

/* ---- cleaner answers (ABD Tools › Ask Coach Black › Answers) ---- */
.as-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 2px 0 4px; padding-top: 12px; border-top: 1px solid rgba(10,29,48,.07); font-size: 13px; }
.as-src__h { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--as-muted); margin-right: 2px; }
.as-src a { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 11px 5px 7px; border-radius: 999px; background: rgba(10,29,48,.045); color: var(--as-ink); text-decoration: none; font-weight: 600; line-height: 1.3; transition: background .2s, color .2s; }
.as-src a:hover { background: rgba(242,197,23,.22); }
.as-src a svg { flex: none; width: 16px; height: 16px; color: #b88700; }
.as-src a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 420px; }
.as-a__in > .as-src + .as-actions { margin-top: 4px; }
.as-model[data-solo] .as-model__btn { pointer-events: none; }
.as-model[data-solo] .as-model__btn svg, .as-model[data-solo] .as-model__role { display: none; }
.as-side__me[hidden], .as-side__links[hidden] { display: none !important; }

/* Role picker on the full page (2 Nov 2026) */
.as-who { margin: 24px auto 0; max-width: 780px; }
.as-who__q { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--as-muted); margin: 0 0 12px; }
.as-who__q b { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a6500; background: #fff3c2; padding: 4px 9px; border-radius: 999px; }
.as-who__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.as-who__opt { position: relative; text-align: left; padding: 14px 36px 13px 14px; border-radius: 16px; background: #fff; border: 1.5px solid rgba(10,29,48,.12); cursor: pointer; font: inherit; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; }
.as-who__opt:hover { border-color: #0fa6df; transform: translateY(-2px); }
.as-who__opt:focus-visible { outline: 2px solid #0079b0; outline-offset: 2px; }
.as-who__opt b { display: block; font-size: 14.5px; font-weight: 700; color: #0a1d30; line-height: 1.3; }
.as-who__opt small { display: block; font-size: 12.5px; color: var(--as-muted); margin-top: 3px; line-height: 1.35; }
.as-who__opt i { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(10,29,48,.22); display: grid; place-items: center; }
.as-who__opt i svg { width: 12px; height: 12px; opacity: 0; }
.as-who__opt.is-on { border-color: #0079b0; background: #f1f9fd; box-shadow: 0 0 0 3px rgba(15,166,223,.16); }
.as-who__opt.is-on i { background: #0079b0; border-color: #0079b0; color: #fff; }
.as-who__opt.is-on i svg { opacity: 1; }
@media (max-width: 640px) { .as-who { margin-top: 18px; } .as-who__opts { grid-template-columns: 1fr 1fr; gap: 8px; } .as-who__opt { padding: 11px 32px 11px 12px; } .as-who__opt small { display: none; } .as-who__q { font-size: 13.5px; } }
