:root{color:#17211c;background:#f4f7f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,textarea{font:inherit}.app-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.chat-panel{width:min(100%,960px);height:min(820px,calc(100vh - 48px));display:grid;grid-template-rows:auto 1fr auto auto;overflow:hidden;background:#fff;border:1px solid #d7e0d4;border-radius:8px;box-shadow:0 18px 60px #1a2b201f}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #e2e8df}.eyebrow{margin:0 0 4px;color:#4f6b5a;font-size:.82rem;font-weight:700;text-transform:uppercase}h1{margin:0;font-size:clamp(1.35rem,2vw,2rem);line-height:1.15}.provider-pill{display:inline-flex;align-items:center;gap:8px;max-width:280px;padding:8px 10px;border:1px solid #c8d8c3;border-radius:999px;color:#244331;background:#eef7eb;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-list{overflow-y:auto;padding:20px;background:#f8faf7}.message{width:fit-content;max-width:min(76%,680px);margin-bottom:14px;padding:12px 14px;border-radius:8px;border:1px solid #dde6da;background:#fff}.message.user{margin-left:auto;color:#fff;border-color:#246b45;background:#27734b}.message.assistant{margin-right:auto}.message-meta{margin-bottom:4px;font-size:.78rem;font-weight:800;opacity:.72}.message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.error-box{margin:0 20px 12px;padding:10px 12px;border:1px solid #f0b7b7;border-radius:8px;color:#7a1f1f;background:#fff2f2}.composer{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px 20px 20px;border-top:1px solid #e2e8df;background:#fff}.composer textarea{width:100%;min-height:48px;max-height:160px;resize:vertical;padding:12px 14px;border:1px solid #cbd8c7;border-radius:8px;color:#17211c;background:#fff}.composer textarea:focus{outline:3px solid rgba(39,115,75,.2);border-color:#27734b}.composer button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:104px;border:0;border-radius:8px;color:#fff;background:#27734b;font-weight:800;cursor:pointer}.composer button:disabled{cursor:not-allowed;opacity:.55}.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}@media(max-width:640px){.app-shell{padding:0}.chat-panel{height:100vh;border:0;border-radius:0}.chat-header{align-items:flex-start;flex-direction:column}.provider-pill{max-width:100%}.message{max-width:92%}.composer{grid-template-columns:1fr}.composer button{min-height:48px}}
