.oi-chat-shell{min-height:calc(100vh - 64px);background:linear-gradient(180deg,#f8fafc,#f1f5f9);color:#0f172a;font-family:var(--font-sans,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif);align-items:center;padding:1.25rem 1rem 2rem}.oi-chat-container,.oi-chat-shell{display:flex;flex-direction:column}.oi-chat-container{width:100%;max-width:760px;background:#ffffff;border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 12px 36px -12px rgba(15,23,42,.08);min-height:78vh;max-height:86vh;overflow:hidden}.oi-chat-header{padding:1rem 1.35rem;border-bottom:1px solid #f1f5f9;background:#ffffff;justify-content:space-between;gap:1rem;flex-wrap:wrap}.oi-brand-row,.oi-chat-header{display:flex;align-items:center}.oi-brand-row{gap:.85rem}.oi-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid #0d9488;flex-shrink:0}.oi-brand-title{font-size:1.05rem;font-weight:700;color:#0f172a;margin:0;display:flex;align-items:center;gap:.45rem}.oi-status-dot{width:8px;height:8px;border-radius:50%;background:#10b981;display:inline-block}.oi-brand-subtitle{font-size:.8rem;color:#64748b;margin:.15rem 0 0}.oi-header-actions{display:flex;align-items:center;gap:.5rem}.oi-step-pill{font-size:.75rem;font-weight:600;color:#0f766e;background:#f0fdfa;border:1px solid #99f6e4;padding:.3rem .7rem;border-radius:999px}.oi-ghost-btn{background:transparent;border:1px solid #e2e8f0;color:#475569;font-size:.76rem;font-weight:600;padding:.35rem .75rem;border-radius:999px;cursor:pointer;transition:all .15s ease}.oi-ghost-btn:hover{background:#f8fafc;color:#0f172a;border-color:#cbd5e1}.oi-progress-bar{width:100%;height:3px;background:#f1f5f9}.oi-progress-fill{height:100%;background:linear-gradient(90deg,#0d9488,#10b981);transition:width .35s ease}.oi-safety-banner{margin:.85rem 1.25rem 0;padding:1rem 1.15rem;border-radius:14px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;font-size:.88rem;line-height:1.5}.oi-messages-stream{flex:1 1;overflow-y:auto;padding:1.35rem;display:flex;flex-direction:column;gap:1rem;scroll-behavior:smooth}.oi-msg-row{display:flex;gap:.75rem;align-items:flex-start;max-width:88%}.oi-msg-row.user{align-self:flex-end;flex-direction:row-reverse}.oi-msg-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;border:1px solid #cbd5e1;flex-shrink:0;margin-top:.15rem}.oi-bubble{padding:.9rem 1.1rem;border-radius:18px;font-size:.94rem;line-height:1.58;white-space:pre-wrap}.oi-bubble.assistant{background:#f8fafc;border:1px solid #e2e8f0;color:#1e293b;border-top-left-radius:6px}.oi-bubble.user{background:#0f766e;color:#ffffff;border-top-right-radius:6px}.oi-starter-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem;padding-left:2.5rem}.oi-chip{background:#ffffff;border:1px solid #cbd5e1;color:#334155;font-size:.8rem;padding:.45rem .85rem;border-radius:999px;cursor:pointer;transition:all .15s ease;text-align:left}.oi-chip:hover{border-color:#0d9488;color:#0f766e;background:#f0fdfa}.oi-synthesis-card{margin-top:.5rem;background:#f0fdfa;border:1px solid #99f6e4;border-radius:18px;padding:1.35rem;color:#0f172a}.oi-synthesis-card h3{margin:0 0 .5rem;font-size:1.08rem;color:#0f766e}.oi-synthesis-section{background:#ffffff;border:1px solid #e2e8f0;border-radius:12px;padding:.9rem 1rem;margin-top:.75rem}.oi-synthesis-section h4{margin:0 0 .4rem;font-size:.86rem;text-transform:uppercase;letter-spacing:.03em;color:#0f766e}.oi-composer{padding:.9rem 1.25rem;border-top:1px solid #e2e8f0;background:#ffffff;display:flex;flex-direction:column;gap:.55rem}.oi-composer-row{display:flex;gap:.65rem;align-items:flex-end}.oi-textarea{flex:1 1;resize:none;border:1px solid #cbd5e1;border-radius:14px;padding:.75rem .95rem;font-size:.94rem;font-family:inherit;color:#0f172a;background:#f8fafc;min-height:48px;max-height:130px}.oi-textarea:focus{outline:none;border-color:#0d9488;background:#ffffff;box-shadow:0 0 0 3px rgba(13,148,136,.12)}.oi-send-btn{background:#0d9488;color:#ffffff;border:none;border-radius:14px;padding:.78rem 1.25rem;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .15s ease;white-space:nowrap}.oi-send-btn:hover:not(:disabled){background:#0f766e}.oi-send-btn:disabled{opacity:.55;cursor:not-allowed}.oi-composer-footer{display:flex;justify-content:space-between;align-items:center;font-size:.74rem;color:#64748b;flex-wrap:wrap;gap:.5rem}.oi-demographic-card{background:#f8fafc;border:1px solid #cbd5e1;border-left:4px solid #0d9488;border-radius:16px;padding:1rem 1.15rem;margin:.25rem 0 .35rem 2.5rem;display:flex;flex-direction:column;gap:.75rem}.oi-demographic-title{font-size:.86rem;font-weight:700;color:#0f172a;margin:0}.oi-demographic-subtitle{font-size:.77rem;color:#64748b;margin:-.45rem 0 0}.oi-demographic-grid{display:flex;flex-wrap:wrap;gap:.85rem;align-items:flex-end}.oi-demo-field{display:flex;flex-direction:column;gap:.3rem}.oi-demo-label{font-size:.74rem;font-weight:600;color:#475569}.oi-pill-group{display:flex;gap:.35rem;flex-wrap:wrap}.oi-pill-btn{background:#ffffff;border:1px solid #cbd5e1;color:#334155;font-size:.77rem;font-weight:600;padding:.36rem .75rem;border-radius:999px;cursor:pointer;transition:all .15s ease}.oi-pill-btn.active{background:#0d9488;border-color:#0d9488;color:#ffffff}.oi-age-input{width:86px;border:1px solid #cbd5e1;border-radius:10px;padding:.36rem .6rem;font-size:.82rem;background:#ffffff;color:#0f172a}.oi-direct-answer-card{background:#ecfdf5;border:1px solid #6ee7b7;border-left:4px solid #059669;border-radius:14px;padding:.75rem .95rem;margin-bottom:.6rem;color:#064e3b;font-size:.88rem;line-height:1.52}.oi-direct-answer-badge{display:inline-block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#047857;margin-bottom:.25rem}.oi-quick-controls-tray{padding:.65rem 1.25rem .35rem;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.45rem}.oi-quick-controls-header{display:flex;justify-content:space-between;align-items:center;font-size:.74rem;font-weight:600;color:#475569}.oi-options-row{display:flex;flex-wrap:wrap;gap:.45rem}.oi-option-chip{background:#ffffff;border:1px solid #cbd5e1;color:#1e293b;font-size:.8rem;font-weight:500;padding:.42rem .82rem;border-radius:999px;cursor:pointer;transition:all .15s ease;text-align:left}.oi-option-chip:hover{border-color:#0d9488;background:#f0fdfa}.oi-option-chip.selected{background:#0f766e;border-color:#0f766e;color:#ffffff;font-weight:600}.oi-option-chip.exclusive.selected{background:#475569;border-color:#475569;color:#ffffff}.oi-confirm-multi-btn{align-self:flex-start;background:#0d9488;color:#ffffff;border:none;border-radius:999px;padding:.42rem .95rem;font-size:.78rem;font-weight:700;cursor:pointer}.oi-s6-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-top:.75rem}.oi-urgency-badge{display:inline-block;font-size:.69rem;font-weight:700;padding:.18rem .55rem;border-radius:999px;background:#e0f2fe;color:#0369a1;margin-top:.25rem}.oi-clinical-print-sheet{display:none}@media (max-width:640px){.oi-chat-shell{padding:0}.oi-chat-container{border-radius:0;border:none;min-height:calc(100vh - 56px);max-height:none}.oi-msg-row{max-width:95%}.oi-demographic-card,.oi-starter-chips{padding-left:.85rem;margin-left:0}.oi-s6-grid{grid-template-columns:1fr}}@media print{@page{size:A4 portrait;margin:12mm 14mm}body{background:#ffffff!important}.oi-chat-container,.public-bot,footer,header,nav{display:none!important}.oi-chat-shell{padding:0!important;background:#ffffff!important;min-height:auto!important}.oi-clinical-print-sheet{display:block!important;width:100%;color:#0f172a;font-family:Inter,Segoe UI,Roboto,sans-serif;font-size:9.5pt;line-height:1.45}.oi-pdf-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #0f766e;padding-bottom:8px;margin-bottom:10px}.oi-pdf-meta-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;background:#f8fafc;padding:7px 10px;margin-bottom:10px;font-size:8.5pt}.oi-pdf-block,.oi-pdf-meta-bar{border:1px solid #cbd5e1;border-radius:8px}.oi-pdf-block{padding:8px 11px;margin-bottom:8px;page-break-inside:avoid}.oi-pdf-block h4{margin:0 0 4px;font-size:9.5pt;color:#0f766e;text-transform:uppercase;letter-spacing:.03em}.oi-pdf-two-col{display:grid;grid-template-columns:1fr 1fr;gap:8px}.oi-pdf-alarm-box{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:7px 10px;color:#991b1b;margin-bottom:8px;page-break-inside:avoid}.oi-pdf-footer{margin-top:8px;padding-top:6px;border-top:1px solid #cbd5e1;font-size:7.8pt;color:#475569;display:flex;justify-content:space-between}}