/* Help center at /agenthelp. Stands alone (no site.css). Docs layout: top bar, guide list, article, "on this page". Phone first. */
:root {
  --bg: #faf8f3; --panel: #ffffff; --ink: #1c1a17; --muted: #6a655c; --line: #e8e2d5; --soft: #f1ede3;
  --accent: #5a23d6; --accent-dark: #4317a8; --accent-soft: #efe9fd;
  --ok: #1f7a4d; --no: #b3261e;
  --cat: #5a23d6; --cat-soft: #efe9fd;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --top: 64px;
}
.cat-basics { --cat: #3d3a34; --cat-soft: #efece4; }
.cat-all { --cat: #3d3a34; --cat-soft: #efece4; }
.cat-start { --cat: #5a23d6; --cat-soft: #efe9fd; }
.cat-health { --cat: #1f7a4d; --cat-soft: #e1f2e7; }
.cat-time { --cat: #1d5fbf; --cat-soft: #e3edfb; }
.cat-money { --cat: #8f5b00; --cat-soft: #fbefd0; }
.cat-home { --cat: #bf4128; --cat-soft: #fde8e1; }
.cat-learning { --cat: #0d7474; --cat-soft: #dcf2f0; }
.cat-business { --cat: #a8326f; --cat-soft: #fbe5ef; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); }
body.ah { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
.ah h1, .ah h2, .ah h3, .ah p, .ah ol, .ah ul, .ah figure { margin: 0; }
.ah ol, .ah ul { padding: 0; }
.ah a { color: var(--accent); text-underline-offset: 3px; }
.ah img { max-width: 100%; }
.ah [hidden] { display: none !important; }
.ah :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ah-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff !important; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.lang-pending body { visibility: hidden; animation: ah-reveal 0s 1.5s forwards; }
@keyframes ah-reveal { to { visibility: visible; } }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ah code { font: 600 0.92em var(--mono); background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }

/* Buttons */
.ah-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 16px; font: 600 15px/1.2 var(--sans); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; text-decoration: none; }
.ah-btn:hover { border-color: var(--ink); }

/* Top bar */
.ah-top { position: sticky; top: 0; z-index: 30; background: rgba(250, 248, 243, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ah-top-in { max-width: 1440px; margin-inline: auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ah-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; text-decoration: none; font: 600 21px/1 var(--serif); margin-right: auto; }
.ah-brand img { width: 36px; height: 36px; border-radius: 8px; }
.ah-top-gap { display: none; }
.ah-nav { display: flex; align-items: center; gap: 8px; }
.ah-nav a { display: none; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; padding: 0 8px; }
.ah-nav a:hover { color: var(--ink); }
.ah-menu-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ah-q { position: relative; order: 3; flex: 1 1 100%; display: flex; align-items: center; }
.ah-q > .ic { position: absolute; left: 13px; color: var(--muted); pointer-events: none; }
.ah-q input, .ah-search input { width: 100%; font: 16px/1.3 var(--sans); color: var(--ink); background: var(--panel); border: 1px solid var(--line); -webkit-appearance: none; appearance: none; }
.ah-q input { min-height: 44px; padding: 8px 40px; border-radius: 10px; }
.ah-q input:focus, .ah-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ah-q kbd { display: none; position: absolute; right: 10px; font: 600 12px/1 var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; background: var(--bg); }
.ah-q-list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px rgba(40, 30, 10, 0.16); max-height: 70vh; overflow-y: auto; }
.ah-q-list a, .ah-q-none { display: grid; gap: 1px; padding: 10px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.3; }
.ah-q-list a small, .ah-q-none { font-weight: 400; font-size: 13.5px; color: var(--muted); }
.ah-q-list a:hover, .ah-q-list a.is-active { background: var(--soft); }

/* Shell */
.ah-shell, .ah-wrap { max-width: 1440px; margin-inline: auto; padding-inline: 16px; }
.ah-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 20px 64px; }
.ah-wrap { max-width: 1160px; padding-block: 8px 72px; }

/* Guide list: drop-down on phones, sidebar on wide screens */
.ah-menu { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px; font-size: 15px; }
.js .ah-menu { display: none; }
.js .ah-menu.open { display: block; }
.ah-menu ol { list-style: none; }
.ah-menu-group { margin-top: 14px; }
.ah-menu-title { display: flex; align-items: center; gap: 8px; padding: 6px 10px; font-weight: 700; font-size: 13.5px; color: var(--cat); }
.ah-menu a { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 10px 7px 12px; border-radius: 8px; color: #45413a; text-decoration: none; line-height: 1.3; }
.ah-menu-group a { margin-left: 8px; border-left: 2px solid var(--line); border-radius: 0 8px 8px 0; }
.ah-menu a:hover { background: var(--soft); color: var(--ink); }
.ah-menu a[aria-current="page"] { background: var(--cat-soft); color: var(--cat); font-weight: 650; border-left-color: var(--cat); }
.ah-menu-home { font-weight: 650; }
.ah-menu-site { margin-top: 12px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; color: var(--muted) !important; }

/* Article */
.ah-article { min-width: 0; max-width: 740px; }
.ah-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--cat); }
.ah-crumb a { color: var(--muted); font-weight: 500; text-decoration: none; }
.ah-crumb a:hover { color: var(--ink); text-decoration: underline; }
.ah-crumb > span[aria-hidden] { color: #b9b2a3; font-weight: 400; }
.ah h1 { font: 600 clamp(32px, 7vw, 46px)/1.08 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.ah-article h1 { margin-top: 12px; }
.ah .lede { margin-top: 14px; font-size: 19px; line-height: 1.5; color: #4a463f; }
.ah-article > h2, .ah .wt-title, .ah .ah-h2 { font: 600 25px/1.2 var(--serif); letter-spacing: -0.01em; margin-top: 44px; margin-bottom: 14px; }
.ah-article > h2::before, .wt-title::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--cat); margin-bottom: 12px; }
.ah-article > h3 { font-size: 18px; margin-top: 26px; margin-bottom: 8px; }
.ah-article > p { margin-top: 12px; }

/* Labels: works today, ask us to turn it on, not available yet */
.ah-tag { display: inline-block; font: 600 12.5px/1.4 var(--sans); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.ah-tag-today { background: #e1f2e7; color: var(--ok); }
.ah-tag-addon { background: var(--accent-soft); color: var(--accent-dark); }
.ah-tag-later { background: #fbefd0; color: #6f4e00; }

/* Steps: a numbered line down the side */
.ah-steps { list-style: none; counter-reset: ahstep; display: grid; }
.ah-steps > li { counter-increment: ahstep; position: relative; padding: 2px 0 22px 50px; }
.ah-steps > li::before { content: counter(ahstep); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--cat-soft); color: var(--cat); display: grid; place-items: center; font: 700 15px/1 var(--sans); }
.ah-steps > li::after { content: ""; position: absolute; left: 15px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.ah-steps > li:last-child { padding-bottom: 0; }
.ah-steps > li:last-child::after { display: none; }
.ah-list { padding-left: 1.25em !important; display: grid; gap: 8px; }
.ah-list li::marker { color: var(--cat); }
.ah-checks { list-style: none; padding-left: 0 !important; gap: 10px; }
.ah-checks li { position: relative; padding-left: 34px; }
.ah-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--cat-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1a17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.5 3.5L17 9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Callouts */
.ah-note { display: flex; gap: 12px; margin-top: 18px; border: 1px solid #d9e9df; background: #eef7f1; border-radius: 14px; padding: 14px 16px; font-size: 16px; line-height: 1.5; }
.ah-note > .ic { margin-top: 3px; color: var(--ok); width: 20px; height: 20px; }
.ah-note > div { min-width: 0; }
.ah-note-label { font-weight: 700; }
.ah-note-addon { background: var(--accent-soft); border-color: #dccff9; }
.ah-note-addon > .ic { color: var(--accent); }
.ah-note-wont { background: #fcedea; border-color: #f3d3cd; }
.ah-note-wont > .ic { color: var(--no); }
.ah-note-demo { background: #fdf3d9; border-color: #efdcaa; }
.ah-note-demo > .ic { color: #8f5b00; }
.ah-note-care { background: var(--panel); border-color: var(--line); }
.ah-note-care > .ic { color: var(--ink); }

/* Texts to copy: each one looks like a message you are about to send */
.ah-copies { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.ah-copy { display: flex; align-items: center; gap: 10px; }
.ah-copy > .ah-copy-text, .ah-cmd { flex: 1; min-width: 0; background: var(--cat-soft); border-radius: 18px 18px 18px 6px; padding: 11px 16px; line-height: 1.45; }
.ah-copy-btn { flex: none; min-width: 84px; border-radius: 999px; }
.ah-copy-btn.is-done { background: #e1f2e7; border-color: #b5dcc6; color: var(--ok); }
.ah-cmd code { font-size: 17px; background: var(--panel); }
.ah-cmd p { color: #4a463f; font-size: 15.5px; margin-top: 4px; }

/* Chat bubbles */
.ah-chat, .wt { margin: 16px 0 0; }
.ah-video { max-width: 440px; margin-top: 22px; }
.ah-video video { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); box-shadow: 0 10px 30px rgba(40, 30, 10, 0.06); }
html[lang="es"] .ah-v-en, html:not([lang="es"]) .ah-v-es { display: none; }
.ah-video figcaption, .ah-chat figcaption, .wt figcaption, .wt-reduced { font-size: 14px; color: var(--muted); margin-top: 8px; }
.ah-thread, .wt-thread { display: flex; flex-direction: column; gap: 8px; padding: 16px 12px; background: var(--panel); }
.ah-chat .ah-thread { border: 1px solid var(--line); border-radius: 22px; max-width: 440px; box-shadow: 0 10px 30px rgba(40, 30, 10, 0.06); }
.msg { max-width: 84%; padding: 9px 14px; border-radius: 18px; font-size: 16px; line-height: 1.4; }
.msg-you { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg-bot { align-self: flex-start; background: var(--soft); color: var(--ink); border-bottom-left-radius: 6px; }
.msg-note { align-self: center; max-width: 92%; text-align: center; font-size: 13.5px; color: var(--muted); padding: 4px 8px; }
.msg-photo { display: flex; align-items: flex-end; width: 190px; max-width: 100%; height: 120px; margin: 2px 0 8px; padding: 8px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: linear-gradient(#fff, #fff) 14px 16px / 60% 6px no-repeat, linear-gradient(#fff, #fff) 14px 32px / 78% 6px no-repeat, linear-gradient(#fff, #fff) 14px 48px / 70% 6px no-repeat, linear-gradient(#fff, #fff) 14px 64px / 44% 6px no-repeat, #cfc4ee; }
.msg-card { display: grid; gap: 0; margin: 2px 0 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 190px; font-size: 14px; }
.msg-card strong { font-size: 16px; margin-bottom: 4px; }
.msg-card span { border-top: 1px solid var(--line); padding: 5px 0; }

/* Walkthrough */
.wt-phone { max-width: 440px; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--panel); box-shadow: 0 18px 44px rgba(40, 30, 10, 0.1); }
.wt-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg); font-weight: 650; font-size: 15px; }
.wt-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 600 14px/1 var(--mono); }
.wt-thread { position: relative; }
.wt-typing, .wt-poster, .wt-controls, .wt-reduced { display: none; }
.wt-capwrap { max-width: 440px; margin-top: 12px; }
.wt-caphead { font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.wt-caps { padding-left: 1.4em !important; display: grid; gap: 6px; font-size: 16px; }
.wt-static .wt-reduced { display: block; max-width: 440px; }
.wt-ready .wt-thread { height: 400px; overflow-y: auto; overscroll-behavior: contain; }
.wt-ready [data-step] { display: none; }
.wt-ready [data-step].shown { display: block; animation: ah-pop 0.25s ease-out; }
.wt-ready .wt-typing.on { display: flex; gap: 5px; align-items: center; padding: 14px; }
.wt-typing span { width: 8px; height: 8px; border-radius: 50%; background: #9a9486; animation: ah-dot 1s infinite ease-in-out; }
.wt-typing span:nth-child(2) { animation-delay: 0.15s; }
.wt-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ah-dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes ah-pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
.wt-ready.wt-idle .wt-poster { display: flex; position: absolute; inset: 0; margin: auto; width: max-content; max-width: 90%; height: 60px; align-items: center; gap: 12px; padding: 0 26px 0 20px; background: var(--accent); color: #fff; border: 0; border-radius: 999px; font: 650 18px/1 var(--sans); cursor: pointer; box-shadow: 0 10px 24px rgba(90, 35, 214, 0.28); }
.wt-poster:hover { background: var(--accent-dark); }
.wt-poster-icon { width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.wt-ready .wt-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 440px; margin-top: 10px; }
.wt-play { background: var(--accent); border-color: var(--accent); color: #fff; min-width: 96px; }
.wt-play:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.wt-count { margin-left: auto; font: 600 13px/1 var(--mono); color: var(--muted); }
.wt-ready .wt-capwrap { min-height: 84px; background: var(--cat-soft); border-radius: 14px; padding: 12px 14px; }
.wt-ready .wt-caphead { display: none; }
.wt-ready .wt-caps { list-style: none; padding-left: 0 !important; font-size: 17px; font-weight: 600; }
.wt-ready .wt-caps li { display: none; }
.wt-ready .wt-caps li.current { display: block; }
.wt-ready.wt-done .wt-caphead { display: block; }
.wt-ready.wt-done .wt-caps { list-style: decimal; padding-left: 1.4em !important; font-size: 16px; font-weight: 400; }
.wt-ready.wt-done .wt-caps li { display: list-item; }
.wt-ready.wt-idle .wt-capwrap { display: none; }

/* Previous and next, help box */
.ah-pager { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.ah-pager a { display: grid; gap: 2px; min-height: 68px; align-content: center; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color 0.15s, transform 0.15s; }
.ah-pager a:hover { border-color: var(--cat); transform: translateY(-2px); }
.ah-pager-dir { font-size: 13.5px; color: var(--muted); }
.ah-pager-title { font-weight: 650; }
.ah-pager-next { text-align: right; }
.ah-stuck { margin-top: 28px; background: var(--soft); border-radius: 16px; padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: start; }
.ah-stuck > .ic { grid-row: span 3; width: 26px; height: 26px; margin-top: 3px; color: var(--accent); }
.ah-stuck h2 { font: 600 20px/1.25 var(--serif); }
.ah-stuck p { color: #4a463f; font-size: 16px; }
.ah-contact { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ah-support { background: var(--accent); border-color: var(--accent); color: #fff !important; }

/* On this page */
.ah-toc { display: none; }

/* Hub: hero */
.ah-hero { border-bottom: 1px solid var(--line); background: radial-gradient(900px 380px at 88% 0%, #efe9fd 0%, rgba(239, 233, 253, 0) 70%), radial-gradient(700px 320px at 0% 100%, #fbefd0 0%, rgba(251, 239, 208, 0) 70%), var(--bg); }
.ah-hero-in { max-width: 1160px; margin-inline: auto; padding: 36px 16px 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.ah-hero-copy { min-width: 0; }
.ah-eyebrow { font-weight: 700; font-size: 14.5px; color: var(--accent); margin-bottom: 10px; }
.ah-hero h1 { font-size: clamp(34px, 8vw, 54px); }
.ah-search { position: relative; margin-top: 24px; display: flex; align-items: center; max-width: 600px; }
.ah-search > .ic { position: absolute; left: 18px; width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.ah-search input { min-height: 60px; padding: 12px 18px 12px 52px; font-size: 18px; border-radius: 16px; box-shadow: 0 10px 30px rgba(40, 30, 10, 0.08); }
.ah-search input::placeholder, .ah-q input::placeholder { color: #8a8478; }
.ah-pops { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.ah-pop { min-height: 36px; padding: 5px 13px; font: 500 14.5px/1.2 var(--sans); color: var(--ink); background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.ah-pop:hover { border-color: var(--accent); color: var(--accent); }
.ah-langrow { margin-top: 18px; }
.ah-lang-big { background: transparent; border: 0; padding: 0; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.ah-hero-phone { min-width: 0; justify-self: center; width: 100%; max-width: 360px; }
.ah-hero-phone .wt-phone { transform: rotate(1.5deg); }
.ah-hero-phone .ah-thread { min-height: 300px; }
.ah-hero-phone .msg { animation: ah-pop 0.45s ease-out both; }
.ah-demo-1 { animation-delay: 0.5s !important; }
.ah-demo-2 { animation-delay: 1.7s !important; }
.ah-demo-3 { animation-delay: 3.2s !important; }
.ah-demo-4 { animation-delay: 4.3s !important; }

/* Hub: topics and guide cards */
.ah .ah-h2 { margin-top: 40px; margin-bottom: 16px; }
.ah-q input::-webkit-search-cancel-button { margin-right: 26px; }
.ah-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ah-tile { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px; text-align: left; font: 600 16px/1.2 var(--sans); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.ah-tile:hover { transform: translateY(-2px); border-color: var(--cat); box-shadow: 0 8px 20px rgba(40, 30, 10, 0.08); }
.ah-tile[aria-pressed="true"] { background: var(--cat-soft); border-color: var(--cat); box-shadow: inset 0 0 0 1px var(--cat); }
.ah-tile-name { flex: 1; min-width: 0; }
.ah-tile-n { font: 600 13px/1 var(--mono); color: var(--muted); }
.ah-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--cat-soft); color: var(--cat); display: grid; place-items: center; }
.ah-ic .ic { width: 20px; height: 20px; }
.ah-ic-num { font: 700 15px/1 var(--sans); }
.ah-legend { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14.5px; color: var(--muted); }
.ah-cards { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 8px; }
.ah-cards-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-bottom: 4px; }
.ah-cards-head h2 { font: 600 24px/1.2 var(--serif); }
.ah-card-item { min-width: 0; }
.ah-card { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink) !important; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.ah-card:hover { transform: translateY(-3px); border-color: var(--cat); box-shadow: 0 12px 28px rgba(40, 30, 10, 0.09); }
.ah-card-body { flex: 1; display: grid; gap: 4px; justify-items: start; min-width: 0; }
.ah-card-title { font-size: 17.5px; line-height: 1.25; }
.ah-card-desc { color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.ah-card-go { margin-top: 10px; color: var(--cat); opacity: 0; transform: translateX(-6px); transition: opacity 0.15s, transform 0.15s; }
.ah-card:hover .ah-card-go { opacity: 1; transform: none; }
.ah-empty { margin-top: 14px; display: grid; gap: 12px; justify-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.ah-hub .ah-note, .ah-hub .ah-stuck { max-width: 740px; }
.ah-hub .ah-note { margin-top: 40px; }
.ah-hub .ah-menu { margin: 12px 16px; }

/* Footer */
.ah-foot { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ah-foot-in { max-width: 1160px; margin-inline: auto; padding: 22px 16px 36px; display: grid; gap: 8px; }
.ah-foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ah-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }

@media (min-width: 560px) {
  .ah-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ah-pager { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 700px) {
  .ah-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ah-q { order: 0; flex: 0 1 420px; margin-inline: 16px auto; }
  .ah-q kbd { display: block; }
  .ah-brand { margin-right: 0; }
  .ah-top-gap { display: block; flex: 1; }
  .ah-nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (min-width: 960px) {
  .ah-menu-btn { display: none; }
  .ah-top-in, .ah-shell { padding-inline: 28px; }
  .ah-shell { grid-template-columns: 270px minmax(0, 1fr); gap: 56px; padding-block: 0 80px; }
  .ah-article { padding-top: 40px; }
  .ah-guide .ah-menu, .js .ah-guide .ah-menu { display: block; position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow-y: auto; background: none; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 24px 16px 40px 0; }
  .ah-guide .ah-menu a { min-height: 34px; padding-block: 5px; }
  .ah-hub .ah-menu, .js .ah-hub .ah-menu.open { display: none; }
  .ah-hero-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; padding: 64px 28px 68px; }
  .ah-wrap, .ah-foot-in { padding-inline: 28px; }
  .ah-tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .ah-tile { flex-direction: column; align-items: flex-start; min-height: 104px; padding: 14px; font-size: 15px; }
  .ah-tile-n { position: absolute; }
  .ah-tile { position: relative; }
  .ah-tile-n { top: 16px; right: 14px; }
  .ah-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1240px) {
  .ah-shell { grid-template-columns: 270px minmax(0, 740px) 210px; justify-content: space-between; }
  .ah-toc:not([hidden]) { display: block; position: sticky; top: calc(var(--top) + 40px); align-self: start; max-height: calc(100vh - var(--top) - 60px); overflow-y: auto; font-size: 14.5px; }
  .ah-toc-title { font-weight: 700; margin-bottom: 8px; }
  .ah-toc ol { list-style: none; border-left: 2px solid var(--line); }
  .ah-toc a { display: block; padding: 6px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
  .ah-toc a:hover { color: var(--ink); }
  .ah-toc a.is-current { color: var(--cat); border-left-color: var(--cat); font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  .wt-ready [data-step].shown, .ah-hero-phone .msg { animation: none; }
  .wt-typing span { animation: none; }
  .ah-card, .ah-tile, .ah-pager a { transition: none; }
}

/* Suggested tools: an app to get, then the text to send */
.ah-tools-lede { color: #4a463f; }
.ah-tools { list-style: none; display: grid; gap: 14px; margin-top: 14px; }
.ah-tool { display: grid; min-width: 0; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.ah-tool p, .ah-tool a, .ah-tool h3 { min-width: 0; overflow-wrap: anywhere; }
.ah-tool-head { display: flex; align-items: flex-start; gap: 12px; }
.ah-tool h3 { font-size: 19px; line-height: 1.25; }
.ah-tool-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.ah-gets { display: flex; flex-wrap: wrap; gap: 8px; }
.ah-get { border-radius: 999px; }
.ah .ah-get { color: var(--ink); }
.ah .ah-get-main { background: var(--ink); border-color: var(--ink); color: #fff; }
.ah .ah-get-main:hover { background: #000; }
.ah-tool-steps { padding-left: 1.3em !important; display: grid; gap: 6px; font-size: 16px; }
.ah-tool-steps li::marker { color: var(--cat); font-weight: 700; }
.ah-tool-then { font-weight: 700; font-size: 15px; margin-bottom: -6px !important; }
.ah-tool .ah-copies { margin-top: 0; }
.ah-tool-limit { font-size: 14.5px; color: var(--muted); }

/* Hub: the "easy way" banner */
.ah-easy { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink) !important; --cat: #5a23d6; --cat-soft: #efe9fd; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.ah-easy:hover { transform: translateY(-2px); border-color: var(--cat); box-shadow: 0 10px 24px rgba(40, 30, 10, 0.08); }
.ah-easy-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ah-easy-body strong { font: 600 20px/1.25 var(--serif); }
.ah-easy-body span { color: #4a463f; font-size: 16px; line-height: 1.45; }
.ah-easy .ah-card-go { opacity: 1; transform: none; margin-top: 0; }

/* Picker: choose a thing, see the one easy way */
.ah-pick { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 14px; }
.ah-pick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ah-pick-btn { min-height: 44px; padding: 8px 14px; font: 600 15px/1.2 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.ah-pick-btn:hover { border-color: var(--cat); }
.ah-pick-btn[aria-pressed="true"] { background: var(--cat); border-color: var(--cat); color: #fff; }
.ah-pick-panel { display: grid; gap: 12px; }
.ah-pick-how { font-size: 18px; line-height: 1.5; }
.ah-pick .ah-copies { margin-top: 0; }

/* Hub: "made by AI" note. Plain text block, one quoted request. */
.ah-made { margin-top: 44px; max-width: 68ch; display: grid; gap: 14px; }
.ah-made p { color: #3a362f; }
.ah-made-q { margin: 4px 0; padding: 18px 20px; background: var(--accent-soft); border-radius: 18px; display: grid; gap: 6px; }
.ah-made-q p { font: 600 clamp(20px, 4.6vw, 24px)/1.3 var(--serif); color: var(--ink); }
.ah-made-q footer { font-size: 15px; color: var(--muted); }
