/* Approved Messages layout; the existing theme controls every color. */
.ask-page{display:flex;height:min(78dvh,56rem);border-radius:24px;background:var(--bg);border-color:var(--border-soft)}
.ask-main{flex:1}.ask-chat{position:relative;background:var(--bg);min-width:0}.ask-head{border:0;padding:.75rem 1rem;gap:.6rem}.ask-word{letter-spacing:.035em}.ask-head .ask-title{font-size:.78rem;color:var(--muted);max-width:20ch}.ask-icon,.ask-quiet,.ask-gold{border-radius:999px}.ask-tools{flex-shrink:0}.ask-icon{padding:.4rem .65rem;min-height:36px}
.forge-guide{border:0;padding:.1rem .8rem .6rem}.forge-guide .forge-speaker{flex-direction:column;gap:.3rem;text-align:center}.forge-guide .forge-speaker img{width:48px;height:48px}.forge-speaker small{margin-top:.05rem}.ask-allow{justify-content:center;border:0;background:none;padding:.2rem .8rem .5rem;font-size:.72rem}.ask-log{gap:.7rem;padding:.8rem 1.2rem 1.4rem;min-height:2rem!important;max-height:none!important}
.ask-me{max-width:82%;border:0;border-radius:23px 23px 6px 23px;background:var(--gold-fill-bright);color:var(--on-gold);padding:.7rem .95rem;line-height:1.5}.ask-att{color:inherit;opacity:.75}.ask-bot{position:relative;align-self:flex-start;max-width:calc(88% - 38px);margin-left:38px;border:0;background:var(--surface-hi);border-radius:23px 23px 23px 6px;padding:.75rem 1rem}.forge-avatar{position:absolute;left:-38px;bottom:0;width:29px;height:29px;object-fit:cover;border-radius:50%}.ask-bot>.forge-avatar{bottom:3px}.ask-bot .ask-fb{font-size:.7rem}.ask-bot .ask-checks{border:0;padding:0;margin-top:.7rem}.ask-checks .ck{background:none;border:0;padding:0}.ask-md p:first-child{margin-top:0}.ask-md p:last-child{margin-bottom:0}.ask-md h4{font-family:inherit;letter-spacing:0;text-transform:none;font-size:.95rem}
.forge-ack{position:relative;align-self:flex-start;max-width:calc(88% - 38px);margin-left:38px;background:var(--surface-hi);border:0;border-radius:23px 23px 23px 6px;padding:.65rem .95rem}.forge-handoff.forge-ack{margin-top:0;margin-bottom:0}.forge-handoff:not(.forge-ack){border:0;color:var(--muted);padding:.2rem 0;margin:0 0 0 38px}.ask-wait{border:0;border-radius:23px;padding:.85rem 1rem;margin-left:38px;background:var(--surface-hi);min-height:24px}.ask-wait>span:empty{display:none}.ask-dots{gap:5px}.ask-dots i{width:7px;height:7px;background:var(--muted)}.ask-small{line-height:1.5}.ask-no,.ask-prop{border-radius:18px}.forge-earlier{align-self:center}
.ask-comp{border:0;padding:.65rem 1rem .9rem;gap:.5rem}.ask-input-box{border-radius:26px;background:var(--surface-hi);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;padding:5px}.ask-input-box textarea{min-height:44px;padding:.65rem .75rem;resize:none;max-height:8rem;line-height:1.4}.ask-input-toolbar{padding:0;gap:0;align-items:center}.ask-input-spacer{display:none}.ask-input-action{border-radius:50%;padding:.4rem;min-width:44px}.ask-input-toolbar .ask-input-action>span{display:none}.ask-input-toolbar .ask-send{width:44px;height:44px;min-width:44px;padding:0;border-radius:50%;font-size:24px;background:var(--gold-fill-bright)}.ask-input-toolbar .ask-stop{font-size:18px}.ask-input-attachments,.ask-input-listening{grid-column:1/-1}.ask-input-menu{border-radius:16px}.ask-input-menu .ask-input-action{border-radius:10px}.ask-input-menu .ask-input-action>span{display:block}.ask-starters{justify-content:center}.ask-starters button{padding:.35rem .65rem}.ask-input-listening .ask-input-action>span{display:block}
@media(max-width:760px){.ask-wrap{padding:.5rem!important}.ask-wrap>.lede,.ask-wrap>h1{display:none}.ask-page{height:calc(100dvh - 10rem);border-radius:22px;grid-template-rows:none}.ask-head .ask-title{display:none}.ask-log{padding:.65rem .8rem 1rem}.ask-comp{padding:.5rem .65rem .7rem}.ask-bot,.forge-ack{max-width:calc(94% - 38px)}.forge-guide .forge-speaker img{width:40px;height:40px}.forge-guide{padding-bottom:.35rem}.ask-head{padding:.5rem .8rem}}
@media(pointer:coarse){.ask-icon,.forge-chat-controls button{min-height:44px}.forge-chats-head button{min-height:44px}}

.ask-input-menu{left:auto;right:0}
.ask-input-menu{width:min(210px,calc(100vw - 9rem))}

/* Conversation-first header approved 2026-10-16. Portraits remain in the thread. */
.ask-wrap{max-width:none;margin:0;padding:0!important}.ask-page{height:calc(100dvh - 7rem);border:0;border-radius:0}.ask-head{min-height:52px;padding:4px 22px;border-bottom:1px solid var(--border-soft);flex-wrap:nowrap;flex-shrink:0}.ask-head .ask-word{font-size:1.15rem;margin:0}.ask-head .ask-title,.ask-head .ask-about{display:none}.ask-log,.ask-comp{width:100%;max-width:none;box-sizing:border-box;margin-left:auto;margin-right:auto}.ask-log{gap:23px;padding-top:32px}.forge-avatar{width:34px;height:34px;left:-44px;top:0;bottom:auto!important}.ask-bot,.forge-ack{margin-left:44px;max-width:calc(94% - 44px);border-radius:5px 20px 20px 20px}.forge-name{position:absolute;left:0;top:-1.45rem;font-size:.75rem;font-weight:600;color:var(--muted)}.ask-bot:has(>.forge-name),.forge-ack:has(>.forge-name){margin-top:1.45rem}.forge-chats>.ask-allow{flex-shrink:0;justify-content:flex-start;border-top:1px solid var(--border-soft);padding:.8rem .3rem 0;margin-top:.5rem;text-align:left}.ask-head .ask-icon{min-height:36px}.ask-main .ask-chat{flex:1}.ask-page .ask-main{width:100%}
@media(max-width:760px){.ask-page{border-radius:0;height:calc(100dvh - 8rem)}.ask-head{padding:4px 14px}.ask-log{padding-top:24px}.ask-comp{padding-bottom:14px}}
@media(pointer:coarse){.ask-head .ask-icon{min-height:44px}}

.forge-chats>.ask-about{flex-shrink:0;max-width:100%;margin-bottom:.5rem}
