:root{--bg:#FFFDFB;--card:#fff;--ink:#2B1519;--muted:#6b5459;--line:#EADBD6;--accent:#6D1D2C;--hover:#4B1320;--accent-ink:#fff;--chip:#F6EEEA}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.wrap{max-width:720px;margin:0 auto;padding:28px 18px 24px;display:flex;flex-direction:column;min-height:100vh}
.brand{margin:0;text-transform:uppercase;letter-spacing:.12em;font-size:12px;color:var(--accent);font-weight:600}
h1{margin:6px 0 8px;font-size:28px;line-height:1.2;font-weight:700}
.intro{margin:0 0 18px;color:var(--muted)}
body.embed .head,body.embed .flywheel,body.embed .foot{display:none}
html:has(body.embed),body.embed{height:100%}
body.embed{padding:6px;background:#FFFDFB;overflow:hidden}
body.embed .wrap{max-width:none;height:100%;min-height:0;margin:0;padding:24px;background:#FFFDFB;border:1px solid #EADBD6;border-radius:16px;overflow:hidden}
body.embed .ask{order:1;position:static;margin-top:0;padding:0 0 12px;background:none}
body.embed .starters{order:2;margin-top:0;padding-bottom:12px}
body.embed .log{order:3;flex:1;min-height:0;overflow-y:auto}
body.embed .note{order:4;flex:none}
body.embed .wrap{padding:16px 20px}
body.embed .ask{padding:0 0 8px}
body.embed .starters{padding-bottom:8px}
body.embed .log{gap:8px}
body.embed .msg.user{padding:6px 12px}
body.embed .msg.bot{padding:10px 12px}
body.embed .msg.bot p{margin:0 0 6px;line-height:1.4}
body.embed .group h2{margin:8px 0 4px}
body.embed .group:first-child h2{margin-top:4px}
body.embed .item{padding:6px 0}
body.embed .item .meta{margin:0 0 2px}
body.embed .item .why{line-height:1.4}
body.embed .item .go{margin-top:3px}
body.embed .note{margin:6px 0 0}

.log{display:flex;flex-direction:column;gap:10px}
.msg{padding:0}
.msg.user{align-self:flex-end;background:#F6EEEA;color:#2A1F1D;border:1px solid #EADBD6;padding:7px 12px;border-radius:16px 16px 4px 16px;max-width:85%}
.msg.bot{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.msg.bot p{margin:0 0 8px}
.group h2{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:10px 0 6px}
.item{border-top:1px solid var(--line);padding:8px 0}
.item:first-of-type{border-top:0}
.item a.t{color:var(--ink);font-weight:600;text-decoration:none}
.item a.t:hover,.item a.t:focus{color:var(--accent);text-decoration:underline}
.meta{font-size:13px;color:var(--muted);margin:1px 0 2px}
.why{font-size:14px;color:#4a3338;margin:0}
.go{display:inline-block;margin-top:4px;font-size:14px;color:var(--accent);font-weight:600}
.go.alt{margin-left:14px;font-weight:500}
.explicit{display:inline-block;font-size:11px;line-height:1;padding:2px 5px;border:1px solid currentColor;border-radius:3px;margin-left:6px;vertical-align:middle}
.starters{margin-top:18px}
.label{margin:0 0 8px;font-size:13px;color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--line);background:var(--chip);color:var(--ink);border-radius:999px;padding:7px 13px;font-size:14px;cursor:pointer}
.chip:hover{border-color:var(--accent)}
.go:hover{color:var(--hover)}
.ask button:hover{background:var(--hover)}
.ask{position:sticky;bottom:0;display:flex;gap:8px;margin-top:auto;padding:14px 0 8px;background:linear-gradient(transparent,var(--bg) 30%)}
.ask input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px 14px;font-size:16px;background:#fff;color:var(--ink)}
.ask button{border:0;border-radius:12px;padding:0 18px;background:var(--accent);color:var(--accent-ink);font-size:16px;font-weight:600;cursor:pointer}
:focus-visible{outline:3px solid #6D1D2C;outline-offset:2px}
.note{font-size:12px;color:var(--muted);margin:4px 0 0}
.foot{font-size:13px;color:var(--muted);margin-top:10px}
.foot a{color:var(--accent)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:420px){h1{font-size:24px}.wrap{padding:20px 14px}}

.flywheel{background:var(--chip);border:1px solid var(--line);border-radius:14px;padding:16px;margin:0 0 20px}
.flywheel h2{margin:0 0 4px;font-size:20px;line-height:1.25}
.fw-intro{margin:0 0 10px;color:var(--muted)}
.fw-list{list-style:none;margin:0;padding:0}
.fw-item{border-top:1px solid var(--line);padding:10px 0}
.fw-item:first-child{border-top:0}
.fw-item .meta{margin:0 0 2px}
.fw-item a.t{color:var(--ink);font-weight:600;text-decoration:none;overflow-wrap:anywhere}
.fw-item a.t:hover{color:var(--accent);text-decoration:underline}
.fw-item .go{margin:0 0 0 8px}
.foot p{margin:0 0 4px}
