/* POC-only layout on top of docs/design/felt.css. Works at 390 px and 1440 px. */
.shell{max-width:600px;margin:0 auto;padding:20px 16px 40px;display:flex;flex-direction:column;gap:14px;box-sizing:border-box;min-height:100vh}
.disclosure{margin:0}
.banner{background:#FFF4E5;color:#7A4B00;border-radius:16px;padding:12px 16px}
.banner.err{background:#FDECEE;color:#8A1C2B}
.screen[hidden]{display:none!important}
.langs{display:flex;gap:6px}
.langs[hidden]{display:none}
.chip{min-height:36px;min-width:44px;border-radius:999px;border:1.5px solid #C4C9D6;background:#fff;color:#0F1424;font-weight:600;cursor:pointer}
.chip[aria-pressed="true"]{background:#2E4A8A;border-color:#2E4A8A;color:#fff}
.chip:disabled{opacity:.5;cursor:default}
.check{display:flex;gap:10px;align-items:flex-start;line-height:22px}
.check input{width:20px;height:20px;margin:1px 0 0}
.label{margin:6px 0 0;font-weight:600}
.scale{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.scale button{min-height:48px;border-radius:16px;border:1.5px solid #C4C9D6;background:#fff;font-size:17px;font-weight:600;cursor:pointer;color:#0F1424}
.scale button[aria-pressed="true"]{background:#2E4A8A;border-color:#2E4A8A;color:#fff}
.scale-legend{display:flex;justify-content:space-between;margin:-4px 0 0}
.btn:disabled{background:#ECEEF4;color:#586078;cursor:default}
.talkbar{display:flex;justify-content:space-between;font-variant-numeric:tabular-nums}
#timer.low{color:#8A1C2B;font-weight:600}
.log{display:flex;flex-direction:column;gap:10px}
.msg{max-width:88%;line-height:24px}
.msg.felt{align-self:flex-start}
.msg.felt .ai{padding:12px 14px}
.msg.felt p{margin:0}
.msg.felt .q{font-weight:600}
.msg.user{align-self:flex-end;background:#2E4A8A;color:#fff;border-radius:20px 20px 6px 20px;padding:10px 14px;white-space:pre-wrap}
.dot.speaking{background-size:118%;animation:feltPulse 1.8s ease-in-out infinite}
.composer{display:flex;flex-direction:column;gap:10px;position:sticky;bottom:0;background:#F7F5F2;padding:8px 0 12px}
.composer textarea{width:100%;box-sizing:border-box;border:1.5px solid #C4C9D6;border-radius:16px;padding:12px 14px;font-size:16px;resize:vertical;background:#fff}
.composer textarea:disabled{background:#ECEEF4}
.chipf{background:#fff;border-radius:999px;padding:6px 12px;font-size:14px;box-shadow:0 1px 2px rgba(15,20,36,.06)}
.beforeafter{font-family:Merriweather,Georgia,serif;font-size:40px;line-height:48px;margin:0}
.debug{background:#fff;border-radius:16px;padding:10px 14px;margin-top:auto}
.debug summary{cursor:pointer;font-weight:600}
.debug pre{white-space:pre-wrap;word-break:break-word;margin:6px 0;font-size:12px;line-height:16px;border-top:1px solid #E3E6EE;padding-top:6px}
@media (min-width:900px){.shell{padding-top:40px}}
/* felt.css sets font-family:inherit on button/input/select only; textarea needs it too. */
textarea{font-family:inherit}
.talker{width:96px;height:96px;margin:4px auto 0;transition:transform .4s ease,opacity .4s ease;opacity:.55;transform:scale(.92)}
.talker svg{width:100%;height:100%;display:block}
.talker.speaking{opacity:1;transform:scale(1)}
/* the talker only moves while Felt speaks */
.talker:not(.speaking) svg *{animation-play-state:paused!important}
@media (prefers-reduced-motion: reduce){.talker{transition:none}}
.debug pre.hl{font-weight:600;color:#2E4A8A}
.support{background:#2E4A8A;color:#fff;border-radius:16px;padding:12px 16px;font-weight:600}
.support a{color:#fff}
.voicebox{align-items:stretch}
.voicebox[hidden],.composer[hidden]{display:none!important}
.listening{display:flex;align-items:center;gap:8px;margin:0;color:#586078}
.micdot{width:10px;height:10px;border-radius:50%;background:#C4C9D6}
.voicebox.on .micdot{background:#D64545;animation:feltPulse 1.2s ease-in-out infinite}
.hint{margin:0;text-align:center}
.msg.user.live{background:#fff;color:#0F1424;border:1.5px dashed #C4C9D6;font-style:italic}
.msg.user.live:empty::before{content:"…"}
.codeform{display:flex;flex-direction:column;gap:10px}
.codeform input{min-height:48px;border:1.5px solid #C4C9D6;border-radius:16px;padding:0 14px;font-size:17px;background:#fff}
.err-text{color:#8A1C2B;margin:0}
