:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18352e;background:#f3f7f5;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}.test-page{width:min(1080px,100% - 32px);margin:28px auto 56px}.test-header,.top-actions{display:flex;align-items:center;gap:12px}.test-header{justify-content:space-between;margin-bottom:12px}.top-actions{justify-content:flex-end;flex-wrap:wrap}.top-actions a{padding:9px 12px;border-radius:999px;background:#eaf3ed;color:#276047;text-decoration:none;font-size:.88rem;font-weight:650}.eyebrow{margin:0 0 5px;color:#638076;font-size:.75rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}h1{margin:0;font-size:clamp(1.8rem,4vw,2.55rem);letter-spacing:-.04em}h2{margin:0;font-size:1.25rem}.status{min-height:24px;color:#4d6e63}.status.error{color:#a43d34}.card,.chat-card{border:1px solid #dce6e1;border-radius:18px;background:#fff;box-shadow:0 8px 28px #17312c0a}.login-card{max-width:440px;margin:36px auto;padding:24px}.login-card form label{display:block;margin:16px 0 8px;font-weight:650}.login-card input{width:100%;min-height:44px;padding:10px;border:1px solid #c9d8d0;border-radius:9px;font:inherit}.login-card form button{width:100%;margin-top:16px}.notice{display:flex;flex-direction:column;gap:7px;margin:16px 0 10px;padding:16px 18px;border:1px solid #d8e8dc;border-radius:14px;background:#eef8f0;line-height:1.5}.privacy-note{margin:8px 2px 14px;color:#60766e;font-size:.86rem;line-height:1.5}.chat-card{overflow:hidden}.chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #e4ebe6;background:#fff}.chat-toolbar>div{display:grid;gap:4px}.chat-toolbar span{color:#71847c;font-size:.83rem}.primary,.secondary,.quiet{min-height:42px;padding:9px 15px;border:0;border-radius:10px;font:inherit;font-weight:650;cursor:pointer}.primary{background:#176347;color:white}.secondary{background:#e8f3ec;color:#1d6049}.quiet{background:transparent;color:#376b54}.primary:disabled,.secondary:disabled{opacity:.5;cursor:not-allowed}.messages{display:flex;flex-direction:column;gap:12px;min-height:310px;max-height:56vh;overflow:auto;margin:0;padding:20px;list-style:none;background-color:#f4f8f5;background-image:radial-gradient(#e0eae3 1px,transparent 1px);background-size:20px 20px}.message{display:flex;max-width:min(82%,720px)}.message.patient{align-self:flex-end}.message.bot,.message.system{align-self:flex-start}.bubble{padding:12px 15px;border:1px solid #e0e8e2;border-radius:16px;background:#fff;box-shadow:0 2px 7px #1634290c}.patient .bubble{border-color:#cce4d5;border-bottom-right-radius:5px;background:#e8f7ed}.bot .bubble{border-bottom-left-radius:5px}.system .bubble{border-style:dashed;background:#f8faf8;color:#5f7169}.bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.quick-actions button{padding:8px 12px;border:1px solid #bcd9c7;border-radius:9px;background:#f3faf5;color:#1e694b;font:inherit;font-size:.9rem;cursor:pointer}.empty-state{padding:4px 20px 20px;color:#71847c;text-align:center;font-size:.9rem}.typing{padding:0 20px 12px;color:#71847c;font-size:.85rem}.composer{display:flex;align-items:flex-end;gap:10px;padding:14px;border-top:1px solid #e4ebe6;background:white}.composer textarea{flex:1;min-height:44px;max-height:140px;resize:vertical;padding:11px 13px;border:1px solid #c9d8d0;border-radius:12px;font:inherit;line-height:1.4}.composer textarea:focus,.login-card input:focus,button:focus-visible{outline:3px solid #8fd2ad;outline-offset:2px}.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}.hidden{display:none!important}@media(max-width:650px){.test-page{width:min(100% - 20px,1080px);margin-top:20px}.test-header{align-items:flex-start;flex-direction:column}.top-actions{justify-content:flex-start}.chat-toolbar{align-items:flex-start;flex-direction:column}.chat-toolbar button{width:100%}.messages{min-height:260px;padding:14px}.message{max-width:92%}.composer{align-items:stretch;flex-direction:column}.composer .primary{width:100%}}