:root{--gold:#ffb300;--gold-deep:#c98400;--soli-orange:#f08a24;--ink:#141414;--muted:#6b6560;--wash:#fff9f0;--line:rgba(20,16,8,0.08);--card:#ffffff;--shadow:0 18px 50px rgba(70,42,0,0.08);--chat-col:40rem}*{box-sizing:border-box}body,html{margin:0;min-height:100%;font-family:Plus Jakarta Sans,ui-sans-serif,system-ui,sans-serif;color:var(--ink);background:var(--wash)}body{min-height:100vh}a{color:inherit;text-decoration:none}button,input{font:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chat-app{min-height:100vh;display:flex;flex-direction:column;background-color:var(--wash);background-image:radial-gradient(ellipse 78% 42% at 50% 0,rgba(255,209,106,.28),transparent 62%),repeating-linear-gradient(-32deg,rgba(201,132,0,.07) 0 1px,transparent 1px 13px)}.chat-nav{position:-webkit-sticky;position:sticky;top:0;z-index:40;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;grid-gap:16px;gap:16px;min-height:68px;padding:12px 28px;background:rgba(255,255,255,.92);border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.chat-burger{justify-self:start;width:40px;height:40px;margin:0;padding:0;border:0;background:transparent;color:var(--ink);cursor:pointer;display:grid;grid-gap:5px;gap:5px;align-content:center;justify-items:center}.chat-burger span{display:block;width:18px;height:2px;border-radius:1px;background:currentColor;transform-origin:center;transition:transform .18s ease,opacity .18s ease}.chat-app.menu-open .chat-burger span:first-child{transform:translateY(7px) rotate(45deg)}.chat-app.menu-open .chat-burger span:nth-child(2){opacity:0}.chat-app.menu-open .chat-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.chat-burger:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:8px}.chat-nav-brand{justify-self:center;display:flex;align-items:center}.chat-nav-logo{width:36px;height:36px;object-fit:contain}.chat-nav-login{justify-self:end;font-weight:700;font-size:.95rem;padding:8px 4px}.chat-nav-login:hover{color:var(--gold-deep)}.chat-scrim{position:fixed;inset:0;z-index:45;border:0;margin:0;padding:0;background:rgba(20,16,8,.28);opacity:0;pointer-events:none;transition:opacity .2s ease;cursor:pointer}.chat-scrim.is-open{opacity:1;pointer-events:auto}.chat-history{position:fixed;top:0;left:0;bottom:0;z-index:50;width:min(320px,86vw);display:flex;flex-direction:column;padding:24px 18px 28px;background:#fff;border-right:1px solid var(--line);box-shadow:8px 0 36px rgba(40,24,0,.08);transform:translateX(-105%);transition:transform .22s ease;overflow-y:auto}.chat-history.is-open{transform:translateX(0)}.chat-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.chat-history-label{margin:0;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.chat-history-close{width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer}.chat-history-close:hover{background:var(--wash)}.chat-history-empty{margin:8px 4px 0;line-height:1.55;color:var(--muted);font-size:.92rem}.chat-history-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.chat-history-item{width:100%;text-align:left;display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--wash);cursor:pointer}.chat-history-item:hover:enabled{border-color:rgba(255,179,0,.45);background:#fff}.chat-history-item:disabled{opacity:.55;cursor:not-allowed}.chat-history-item-label{font-size:.86rem;font-weight:700;color:var(--ink)}.chat-history-item-text{font-size:.78rem;line-height:1.45;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.chat-app.menu-open{overflow:hidden}.chat-shell{flex:1 1;display:flex;min-height:0}.chat-panel{flex:1 1;min-width:0;display:flex;flex-direction:column;background:transparent}.soli-avatar{display:block;flex-shrink:0}.chat-thread{flex:1 1;display:flex;flex-direction:column;gap:16px;width:min(var(--chat-col),100%);margin-inline:auto;padding:24px;overflow-y:auto}.chat-empty{max-width:520px;margin:auto;padding:12px 0 24px;text-align:center}.chat-empty h1{margin:0 0 12px;font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.05}.chat-empty p{margin:0 auto;max-width:42ch;line-height:1.65;color:var(--muted)}.chat-row{display:flex;align-items:flex-end;gap:10px;max-width:100%}.chat-row-user{align-self:flex-end;flex-direction:row-reverse}.chat-row-assistant{align-self:flex-start}.chat-bubble{max-width:100%;padding:14px 16px;border-radius:22px;border:1px solid var(--line);background:#fff}.chat-bubble-user{border-color:rgba(255,179,0,.28);background:linear-gradient(180deg,#ffd16a,#ffb300)}.chat-bubble-assistant{background:rgba(255,255,255,.95)}.chat-bubble-pending{opacity:.85}.chat-bubble-label{display:inline-block;margin-bottom:6px;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.chat-bubble-body p{margin:0;line-height:1.6}.chat-bubble-body p+p{margin-top:8px}.chat-error{margin:0;color:#9a3a25;font-weight:600}.chat-actions{display:flex;flex-direction:column;gap:12px;width:min(var(--chat-col),100%);margin-inline:auto;padding:0 24px 24px}.chat-privacy{margin:0;text-align:center;font-size:.72rem;line-height:1.4;color:var(--muted)}.chat-privacy a{color:inherit;text-decoration:underline;text-underline-offset:2px}.chat-privacy a:hover{color:var(--ink)}.chat-prompts{display:flex;flex-direction:column;gap:8px}.chat-prompts-label{margin:0;font-size:.65rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.chat-chips{display:flex;flex-wrap:wrap;gap:6px}.chat-chip{min-height:28px;padding:0 10px;border:1px solid rgba(20,20,20,.08);border-radius:999px;background:rgba(255,255,255,.95);color:var(--ink);font-size:.78rem;font-weight:600;cursor:pointer;transition:border-color .12s ease,background .12s ease}.chat-chip:hover:enabled{border-color:rgba(255,179,0,.5);background:#fff}.chat-chip:disabled{opacity:.55;cursor:not-allowed}.chat-composer{padding:8px 8px 8px 12px;border:1px solid rgba(20,20,20,.08);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:var(--shadow)}.chat-composer-field{position:relative;display:block;min-width:0}.chat-composer input{width:100%;min-height:48px;padding:0 52px 0 8px;border:0;outline:0;background:transparent;color:var(--ink)}.chat-composer input::placeholder{color:#8d857e}.chat-composer-send{position:absolute;top:50%;right:4px;transform:translateY(-50%);width:40px;height:40px;margin:0;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff7ea;cursor:pointer}.chat-composer input:disabled,.chat-composer-send:disabled{cursor:not-allowed;opacity:.45}.chat-composer-send:hover:enabled{background:#1f1a14}.chat-composer-send:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.login-page{max-width:420px;margin:12vh auto;padding:24px}.login-page h1{margin:0 0 12px}.login-page p{margin:0 0 20px;color:var(--muted);line-height:1.6}.login-page a{font-weight:700;color:var(--gold-deep)}@media (max-width:900px){.chat-nav{padding:12px 16px}.chat-panel{min-height:60vh}}@media (max-width:640px){.chat-nav-logo{width:30px;height:30px}.chat-actions,.chat-thread{padding-left:16px;padding-right:16px}}