:root{--ink:#191207;--ink-raised:#241a0c;--ink-line:#3a2c15;--text:#f4ece0;--text-muted:#b3a58c;--text-faint:#8d8067;--gold:#e0ac3c;--gold-deep:#b27a0e;--danger:#ea8a7a;--radius:18px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--ink);color:var(--text);-webkit-font-smoothing:antialiased}.muted{color:var(--text-muted)}.small{font-size:.8rem}.centered{text-align:center}.standalone{padding-top:40vh}.gate{text-align:center;flex-direction:column;align-items:center;gap:.75rem;max-width:26rem;margin:0 auto;padding:25vh 1.5rem 0;display:flex}.gate h1{letter-spacing:-.02em;color:var(--gold);margin:0;font-size:2rem}.primary{background:linear-gradient(180deg, var(--gold), var(--gold-deep));color:#1d1503;border-radius:999px;margin-top:.5rem;padding:.7rem 1.25rem;font-weight:650;text-decoration:none;display:inline-block}.chat{max-width:46rem;height:100%;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);flex-direction:column;margin:0 auto;display:flex}.chat-header{border-bottom:1px solid var(--ink-line);justify-content:space-between;align-items:baseline;gap:1rem;padding:.9rem 1rem;display:flex}.chat-header h1{letter-spacing:.02em;color:var(--gold);margin:0;font-size:1.15rem}.transcript{flex-direction:column;flex:1;gap:.9rem;min-height:0;padding:1rem;display:flex;overflow-y:auto}.empty{text-align:center;max-width:22rem;margin:auto}.empty-title{margin-bottom:.35rem;font-size:1.05rem}.day-separator{justify-content:center;display:flex}.day-separator span{color:var(--text-muted);background:var(--ink-raised);border-radius:999px;padding:.2rem .7rem;font-size:.72rem}.row{align-items:flex-start;gap:.6rem;display:flex}.row-user{flex-direction:row-reverse}.avatar{text-transform:uppercase;letter-spacing:.04em;border-radius:50%;flex-shrink:0;place-items:center;width:1.9rem;height:1.9rem;font-size:.62rem;display:grid}.avatar-user{background:var(--gold);color:#1d1503}.avatar-assistant{background:var(--ink-line);color:var(--gold)}.bubble-column{flex-direction:column;max-width:80%;display:flex}.row-user .bubble-column{align-items:flex-end}.bubble{border-radius:var(--radius);padding:.6rem .85rem;font-size:.94rem;line-height:1.45}.bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.bubble-user{background:linear-gradient(180deg, var(--gold), var(--gold-deep));color:#1d1503;border-top-right-radius:.35rem}.bubble-assistant{background:var(--ink-raised);border-top-left-radius:.35rem}.timestamp{color:var(--text-faint);margin:.2rem .3rem 0;font-size:.68rem}.typing{align-items:center;gap:.28rem;display:flex}.typing span{background:var(--gold);border-radius:50%;width:.4rem;height:.4rem;animation:1.1s ease-in-out infinite pulse}.typing span:nth-child(2){animation-delay:.16s}.typing span:nth-child(3){animation-delay:.32s}@keyframes pulse{0%,70%,to{opacity:.25}35%{opacity:1}}@media (prefers-reduced-motion:reduce){.typing span{opacity:.6;animation:none}}.composer{border-top:1px solid var(--ink-line);padding:.6rem 1rem .9rem}.error-line{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.4rem;display:flex}.error-line p{color:var(--danger);margin:0;font-size:.8rem}.composer-row{align-items:flex-end;gap:.5rem;display:flex}textarea{resize:none;border-radius:var(--radius);border:1px solid var(--ink-line);background:var(--ink-raised);min-height:2.6rem;max-height:8rem;color:inherit;font:inherit;flex:1;padding:.65rem .8rem;font-size:.94rem}textarea:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}button{font:inherit;cursor:pointer}.ghost{color:var(--text-muted);background:0 0;border:none;border-radius:8px;padding:.25rem .4rem;font-size:.8rem}.ghost:hover{color:var(--gold)}.send{background:linear-gradient(180deg, var(--gold), var(--gold-deep));border:none;border-radius:50%;flex-shrink:0;place-items:center;width:2.6rem;height:2.6rem;display:grid}.send svg{fill:#1d1503;width:1.15rem;height:1.15rem}.send:disabled{opacity:.4;cursor:default}
