html[data-theme-surface=patient-chat]{--ui-accent:var(--deployment-brand-strong,#0f5954);--ui-accent-hover:color-mix(in srgb, var(--ui-accent) 84%, #000);--ui-accent-soft:color-mix(in srgb, var(--ui-accent) 7%, #fff);--ui-accent-border:color-mix(in srgb, var(--ui-accent) 28%, #fff)}:root{--intake-header-h:76px}body,html{overscroll-behavior:none;background-color:var(--ui-canvas);height:100%;overflow:hidden}.intake-page-main{width:100%;height:calc(var(--vvh,100dvh) - var(--intake-header-h));max-height:calc(var(--vvh,100dvh) - var(--intake-header-h));padding-top:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));box-sizing:border-box;flex-direction:column;transition:height .25s,max-height .25s,padding-top .25s;display:flex;overflow:hidden}@media (width>=640px){.intake-page-main{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}}.intake-page-wrap{flex-direction:column;flex:1;gap:8px;width:100%;max-width:640px;min-height:0;margin:0 auto;display:flex}.intake-card{flex-direction:column;flex:1;width:100%;min-height:0;display:flex;overflow:hidden}.chat-window{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex-direction:column;flex:1;gap:12px;min-height:60px;padding:20px;display:flex;overflow-y:auto}.chat-bubble{border-radius:var(--ui-radius);white-space:pre-wrap;max-width:84%;padding:12px 16px;font-size:14px;line-height:1.55;animation:.2s ease-out forwards bubbleIn}@keyframes bubbleIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.chat-bubble,.chip-container,.message-delivery-status{animation:none!important}.typing-dot{opacity:.7;animation:none!important}.message-delivery-status.sending i{animation:none!important}.intake-page-main{transition:none!important}}.chat-bubble.typing-indicator{align-items:center;gap:4px;padding:14px 16px;display:flex}.typing-dot{background-color:var(--ui-muted);opacity:.35;border-radius:50%;width:7px;height:7px;animation:1.15s cubic-bezier(.23,1,.32,1) infinite typingPulse}.typing-dot:first-child{animation-delay:-.3s}.typing-dot:nth-child(2){animation-delay:-.15s}.typing-dot:nth-child(3){animation-delay:0s}@keyframes typingPulse{0%,to{opacity:.35}50%{opacity:1}}.chat-bubble.bot{background-color:var(--ui-surface-soft);color:var(--ui-text);border-bottom-left-radius:4px;align-self:flex-start}.chat-bubble.user{background-color:var(--ui-accent);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.eligibility-override{border:1px solid color-mix(in srgb, var(--ui-accent) 35%, transparent);border-radius:var(--ui-radius);background:var(--ui-surface-soft);color:var(--ui-text);align-self:stretch;padding:14px 16px;font-size:14px;line-height:1.5}.eligibility-override label{cursor:pointer;align-items:flex-start;gap:10px;margin-top:10px;display:flex}.eligibility-override input{width:18px;height:18px;accent-color:var(--ui-accent);flex:none;margin-top:2px}.eligibility-override-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.outgoing-message{flex-direction:column;align-self:flex-end;align-items:flex-end;gap:4px;max-width:84%;display:flex}.outgoing-message .chat-bubble.user{max-width:100%}.message-delivery-status{min-height:16px;color:var(--ui-muted);align-items:center;gap:5px;padding-right:2px;font-size:10px;line-height:1;display:inline-flex}.message-delivery-status.sending i{animation:.8s ease-in-out infinite deliveryFly}.message-delivery-status.sent{color:var(--ui-success);animation:.2s ease-out deliveryConfirmed}.message-delivery-status.failed{color:var(--ui-danger)}@keyframes deliveryFly{0%{opacity:.45;transform:translate(-3px)rotate(-6deg)}50%{opacity:1;transform:translate(3px)rotate(3deg)}to{opacity:.45;transform:translate(-3px)rotate(-6deg)}}@keyframes deliveryConfirmed{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.voice-delivery-row{align-self:flex-end;padding:2px 2px 0}.chat-bubble.emergency{background-color:var(--ui-danger-soft);color:var(--ui-danger);border:1px solid var(--ui-danger-border);border-bottom-left-radius:4px;align-self:flex-start;font-weight:500}.chat-bubble.summary{background-color:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-border);align-self:stretch;max-width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px}.chat-system-notice{border-radius:var(--ui-radius);text-align:center;align-self:stretch;max-width:100%;padding:10px 16px;font-size:12px;font-weight:500;line-height:1.5}.chat-system-notice--danger{background-color:var(--ui-danger-soft);color:var(--ui-danger);border:1px solid var(--ui-danger-border)}.chat-system-notice--intro{flex-direction:column;align-items:center;gap:4px;padding:4px 16px 8px;display:flex}.chat-system-notice--voice{background-color:var(--ui-surface);color:var(--ui-text-soft)}.chat-system-notice--status{background-color:var(--ui-surface-soft);width:auto;max-width:min(92%,420px);color:var(--ui-text-soft);border:1px solid var(--ui-border);align-self:center;padding:6px 12px}.intake-startup-panel{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:min(100%,500px);color:var(--ui-text);box-shadow:var(--ui-shadow-card);align-self:stretch;margin:auto;padding:22px;animation:.2s ease-out forwards bubbleIn;position:relative;overflow:hidden}.intake-startup-icon{background:var(--ui-accent-soft);width:42px;height:42px;color:var(--ui-accent);border-radius:14px;justify-content:center;align-items:center;margin-bottom:16px;font-size:17px;display:flex}.intake-startup-title{margin:0;font-size:18px;font-weight:700;line-height:1.35}.intake-startup-copy{color:var(--ui-text-soft);margin:8px 0 0;font-size:13px;line-height:1.55}.intake-startup-status{border-top:1px solid var(--ui-border);color:var(--ui-text-soft);align-items:center;gap:9px;margin-top:18px;padding-top:16px;font-size:12px;font-weight:600;display:flex}.intake-startup-spinner{border:2px solid var(--ui-accent-border);border-top-color:var(--ui-accent);border-radius:50%;flex:none;width:15px;height:15px;animation:.8s linear infinite intakeStartupSpin}@keyframes intakeStartupSpin{to{transform:rotate(360deg)}}.intake-startup-actions{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.intake-startup-actions .btn{letter-spacing:0;flex:148px;min-height:38px;padding:0 16px;font-size:13px;font-weight:600}.intake-startup-actions .btn i{font-size:11px}.intake-startup-status[hidden],.intake-startup-actions[hidden]{display:none}@media (prefers-reduced-motion:reduce){.intake-startup-panel,.intake-startup-spinner{animation:none!important}}@media (width<=420px){.intake-startup-panel{padding:20px}.intake-startup-actions{flex-direction:column}.intake-startup-actions .btn{flex-basis:auto;width:100%}}.chip-container{flex-wrap:wrap;gap:8px;margin-top:2px;animation:.2s ease-out forwards bubbleIn;display:flex}.chip-multiselect-hint{color:var(--ui-muted);margin:2px 2px 0;font-size:11px;font-weight:500}.chat-chip{background-color:var(--ui-surface);border:1px solid var(--ui-border);color:var(--ui-text);cursor:pointer;user-select:none;border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}@media (hover:hover) and (pointer:fine){.chat-chip:hover{border-color:var(--ui-accent-border)}}.chat-chip.selected{background-color:var(--ui-accent-soft);color:var(--ui-accent);border-color:var(--ui-accent-border);font-weight:600}.chat-chip.selected:before{content:"";border:2px solid;border-width:0 2px 2px 0;flex:none;width:5px;height:9px;margin:-2px 1px 1px 2px;transform:rotate(45deg)}.chat-chip.chat-chip--more,.chat-chip.chat-chip--other{opacity:.82;border-style:dashed}@media (hover:hover) and (pointer:fine){.chat-chip.chat-chip--more:hover,.chat-chip.chat-chip--other:hover{opacity:1}}.chat-chip-filter{border:1px solid var(--ui-border);background:var(--ui-surface);width:100%;color:var(--ui-text);border-radius:10px;margin:2px 2px 6px;padding:8px 12px;font-family:inherit;font-size:16px;display:block}.chat-chip-filter:focus-visible{border-color:var(--ui-accent-border);outline:none}.chat-input-wrap{flex:1;align-items:center;min-width:0;display:flex;position:relative}.chat-input-wrap .chat-input-lock{color:var(--ui-muted);pointer-events:none;font-size:11px;position:absolute;left:15px}.chat-input-area{border-top:1px solid var(--ui-border);touch-action:none;align-items:center;gap:10px;padding:14px 16px;display:flex}.chat-input-area textarea{box-sizing:border-box;border:1px solid var(--ui-border);background-color:var(--ui-surface-soft);width:100%;min-height:42px;max-height:120px;color:var(--ui-text);resize:none;touch-action:none;border-radius:22px;outline:0;padding:10px 52px 10px 34px;font-family:inherit;font-size:16px;line-height:1.35;transition:border-color .15s,background-color .15s,box-shadow .15s;overflow-y:auto}.windows-platform .chat-input-area textarea::-webkit-scrollbar{width:0;height:0}.chat-input-area textarea:focus{background-color:var(--ui-surface);border-color:var(--ui-accent-border);box-shadow:0 0 0 3px var(--ui-accent-soft)}.chat-input-area textarea:disabled{opacity:.6}.composer-action{z-index:2;touch-action:none;border-radius:50%;justify-content:center;align-items:center;width:32px;min-width:32px;height:32px;padding:0;display:flex;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.composer-recording-status{background:var(--ui-surface-soft);color:var(--ui-danger);z-index:1;border-radius:22px;align-items:center;gap:8px;padding:0 46px 0 14px;font-size:13px;font-weight:600;display:none;position:absolute;inset:1px}.composer-recording-status.active{display:flex}.commercial-recording-label{display:none}.recording-cancel{color:var(--ui-muted);cursor:pointer;background:0 0;border:0;padding:4px}.chat-mic-btn{flex-shrink:0;width:42px;height:42px;padding:0;font-size:15px}.chat-mic-btn.composer-action{width:32px;min-width:32px;height:32px}.chat-mic-btn.recording{background-color:var(--ui-danger);color:#fff;border-color:var(--ui-danger);animation:1.4s ease-in-out infinite micPulse}@keyframes micPulse{0%,to{box-shadow:0 0 0 0 var(--ui-danger-soft)}50%{box-shadow:0 0 0 8px #0000}}@media (prefers-reduced-motion:reduce){.chat-mic-btn.recording{animation:none}}body.keyboard-open #header-placeholder,body.keyboard-open .intake-copyright{display:none}body.keyboard-open .intake-page-main{padding-top:0}nn .commercial-chat-only{display:none!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]){--commercial-chat-header-h:70px;--commercial-composer-h:118px;--commercial-chat-bottom-gap:48px}html[data-theme-surface=patient-chat],html[data-theme-surface=patient-chat] body{background:var(--ui-canvas);height:100%;color:var(--ui-text)}html[data-theme-surface=patient-chat] body,html[data-theme-surface=patient-chat] button,html[data-theme-surface=patient-chat] textarea,html[data-theme-surface=patient-chat] select{font-family:var(--ui-font)}html[data-theme-surface=patient-chat] body{background-image:none}html[data-theme-surface=patient-chat],html[data-theme-surface=patient-chat] body{width:100%;max-width:100%;overflow-x:hidden}html[data-theme-surface=patient-chat] .intake-page-main,html[data-theme-surface=patient-chat] .intake-page-wrap,html[data-theme-surface=patient-chat] .intake-card,html[data-theme-surface=patient-chat] .chat-window,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-wrap{min-width:0;max-width:100%}html[data-theme-surface=patient-chat] .commercial-chat-only{display:flex!important}html[data-theme-surface=patient-chat] #header-placeholder,html[data-theme-surface=patient-chat] .intake-copyright{display:none!important}html[data-theme-surface=patient-chat] .commercial-chat-masthead{z-index:50;min-height:var(--commercial-chat-header-h);padding:max(10px, env(safe-area-inset-top,0px)) 18px 10px;border-bottom:1px solid color-mix(in srgb, var(--ui-border) 84%, transparent);background:color-mix(in srgb, var(--ui-surface) 88%, transparent);backdrop-filter:blur(20px)saturate(130%);align-items:center;position:fixed;inset:0 0 auto}html[data-theme-surface=patient-chat] .commercial-chat-masthead-inner{justify-content:space-between;align-items:center;gap:16px;width:min(1040px,100%);margin:0 auto;display:flex}html[data-theme-surface=patient-chat] .commercial-chat-brand{min-width:0;color:var(--ui-text);align-items:center;gap:11px;text-decoration:none;display:flex}html[data-theme-surface=patient-chat] .commercial-chat-brand img{object-fit:contain;background:var(--ui-surface);border-radius:11px;flex:none;width:38px;height:38px}html[data-theme-surface=patient-chat] .commercial-chat-brand-copy{flex-direction:column;min-width:0;line-height:1.15;display:flex}html[data-theme-surface=patient-chat] .commercial-chat-brand-name{font-family:var(--ui-font);letter-spacing:-.015em;text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;font-weight:720;overflow:hidden}html[data-theme-surface=patient-chat] .commercial-chat-wordmark{align-items:center;gap:.25rem;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:1rem;line-height:1;display:inline-flex}html[data-theme-surface=patient-chat] .commercial-chat-brand-word.primary{letter-spacing:-.025em;color:var(--ui-text);font-weight:800}html[data-theme-surface=patient-chat] .commercial-chat-brand-word.secondary{letter-spacing:.025em;color:var(--ui-accent);font-weight:300}html[data-theme-surface=patient-chat] .commercial-chat-brand-word.intake{letter-spacing:-.015em;font-weight:620}@media (width>=640px){html[data-theme-surface=patient-chat] .commercial-chat-wordmark{font-size:1.125rem}}html[data-theme-surface=patient-chat] .commercial-chat-brand-subtitle{color:var(--ui-muted);margin-top:3px;font-size:.7rem;font-weight:600}html[data-theme-surface=patient-chat] .commercial-chat-header-actions{align-items:center;gap:8px;display:flex;position:relative}html[data-theme-surface=patient-chat] .commercial-chat-security{border:1px solid var(--ui-border-strong);background:var(--ui-surface-soft);color:var(--ui-text-soft);border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:.72rem;font-weight:650;display:inline-flex}html[data-theme-surface=patient-chat] .commercial-chat-security i{color:var(--ui-success)}html[data-theme-surface=patient-chat] .commercial-chat-icon-btn{border:1px solid var(--ui-border);background:var(--ui-surface);width:40px;min-width:40px;height:40px;color:var(--ui-text);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}@media (hover:hover) and (pointer:fine){html[data-theme-surface=patient-chat] .commercial-chat-icon-btn:hover{background:var(--ui-surface-soft)}}html[data-theme-surface=patient-chat] .commercial-chat-menu{border:1px solid var(--ui-border);background:var(--ui-surface);width:min(310px,100vw - 28px);box-shadow:var(--ui-shadow-dialog);border-radius:16px;padding:10px;position:absolute;top:calc(100% + 10px);right:0;display:block!important}html[data-theme-surface=patient-chat] .commercial-chat-menu[hidden]{display:none!important}html[data-theme-surface=patient-chat] .commercial-chat-menu-heading{color:var(--ui-muted);letter-spacing:.055em;text-transform:uppercase;padding:6px 8px 9px;font-size:.68rem;font-weight:750}html[data-theme-surface=patient-chat] .commercial-chat-menu-row,html[data-theme-surface=patient-chat] .commercial-chat-menu-action{width:100%;min-height:44px;color:var(--ui-text);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:10px;font-size:.84rem;display:flex}html[data-theme-surface=patient-chat] button.commercial-chat-menu-action{cursor:pointer}@media (hover:hover) and (pointer:fine){html[data-theme-surface=patient-chat] button.commercial-chat-menu-action:hover{background:var(--ui-surface-soft)}}html[data-theme-surface=patient-chat] .commercial-chat-menu-action[hidden],html[data-theme-surface=patient-chat] .commercial-chat-icon-btn[hidden],html[data-theme-surface=patient-chat] .commercial-chat-menu-divider[hidden]{display:none!important}html[data-theme-surface=patient-chat] .commercial-chat-menu-action i,html[data-theme-surface=patient-chat] .commercial-chat-menu-row i{width:20px;color:var(--ui-muted);text-align:center}html[data-theme-surface=patient-chat] .commercial-chat-menu-divider{background:var(--ui-border-strong);height:1px;margin:7px 4px}html[data-theme-surface=patient-chat] .intake-page-main{height:var(--vvh,100dvh);max-height:var(--vvh,100dvh);padding:var(--commercial-chat-header-h) 0 0;transition:none;overflow:hidden}html[data-theme-surface=patient-chat] .intake-page-wrap{gap:0;width:100%;max-width:none;margin:0}html[data-theme-surface=patient-chat] .intake-card{width:100%;box-shadow:none;background:0 0;border:0;border-radius:0}html[data-theme-surface=patient-chat] .chat-window{box-sizing:border-box;width:100%;scroll-padding-bottom:calc(var(--commercial-composer-h) + var(--commercial-chat-bottom-gap));overflow-anchor:none;overscroll-behavior-y:contain;gap:18px;padding:38px max(20px,50vw - 390px) 0;overflow-x:hidden}html[data-theme-surface=patient-chat] .chat-window:after{content:"";width:100%;min-height:calc(var(--commercial-composer-h) + var(--commercial-chat-bottom-gap));flex:0 0 calc(var(--commercial-composer-h) + var(--commercial-chat-bottom-gap));pointer-events:none;display:block}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-bubble{box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word;min-width:0;font-size:.98rem;line-height:1.65}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-bubble.bot{border:1px solid var(--ui-border);background:var(--ui-surface);width:fit-content;max-width:min(100%,720px);box-shadow:var(--ui-shadow-card);border-radius:20px 20px 20px 6px;align-self:flex-start;padding:14px 18px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-bubble.typing-indicator{width:fit-content;min-width:64px;max-width:max-content}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-bubble.user{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);max-width:min(78%,620px);color:var(--ui-text);border-radius:18px 18px 5px;padding:11px 16px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .outgoing-message{max-width:min(78%,620px)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .outgoing-message .chat-bubble.user{max-width:100%}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-bubble.summary,html[data-theme-surface=patient-chat] .eligibility-override{border:1px solid var(--ui-border);background:var(--ui-surface);width:min(100%,720px);max-width:100%;box-shadow:var(--ui-shadow-card);border-radius:16px;padding:18px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-bubble.emergency{border:1px solid var(--ui-danger-border);background:var(--ui-danger-soft);width:min(100%,720px);max-width:100%;color:var(--ui-danger);border-radius:14px;padding:16px 18px}html[data-theme-surface=patient-chat] .chat-system-notice,html[data-theme-surface=patient-chat] .voice-delivery-row,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-container,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-multiselect-hint{width:min(100%,720px)}html[data-theme-surface=patient-chat] .chat-system-notice{text-align:center;border-radius:13px;align-self:center;margin-inline:auto;font-size:.78rem}html[data-theme-surface=patient-chat] .chat-system-notice--intro{text-align:center;justify-content:center}html[data-theme-surface=patient-chat] .chat-system-notice--emergency-header{grid-template-columns:18px minmax(0,1fr) 18px;align-items:center;column-gap:8px;display:grid}html[data-theme-surface=patient-chat] .chat-system-notice--emergency-header>i{grid-area:1/1;justify-self:center}html[data-theme-surface=patient-chat] .chat-system-notice--emergency-header>span{text-align:center;grid-area:1/2;min-width:0}html[data-theme-surface=patient-chat] .chat-system-notice--emergency-header:after{content:"";grid-area:1/3;width:18px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-chip{border-color:var(--ui-border);background:var(--ui-surface);max-width:100%;min-height:42px;font-family:var(--ui-font);white-space:normal;overflow-wrap:anywhere;border-radius:13px;padding:9px 15px;font-size:.84rem;font-weight:600;box-shadow:0 2px 8px #1c2b3609}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact{contain:inline-size;overscroll-behavior-x:contain;scrollbar-width:none;flex:100%;width:100%;min-width:0;max-width:100%;overflow:auto hidden;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),#0000)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-container:has(>.chip-compact){min-width:0;max-width:100%}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact::-webkit-scrollbar{display:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact__rows{flex-direction:column;gap:6px;width:max-content;padding:2px 36px 2px 0;display:flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact__row{gap:6px;display:flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact__cell{display:flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact .chat-chip{white-space:nowrap;overflow-wrap:normal;border-radius:11px;min-height:36px;padding:6px 12px;font-size:.8rem}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact__hint{width:max-content;color:var(--ui-muted);margin:4px 2px 0;font-size:11px;font-weight:500;position:sticky;left:0}@media (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact{scrollbar-width:thin;flex-wrap:wrap;gap:6px;max-height:166px;padding:2px 0 20px;display:flex;overflow:hidden auto;-webkit-mask-image:linear-gradient(#000 calc(100% - 28px),#0000);mask-image:linear-gradient(#000 calc(100% - 28px),#0000)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact__rows,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact__row{display:contents}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-compact__hint{display:none}}html[data-theme-surface=patient-chat] .ay-intake-app .chat-chip.selected:before{content:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-chip.selected{border-color:var(--ui-accent);background:color-mix(in srgb, var(--ui-accent) 16%, var(--ui-surface));color:var(--ui-accent-hover);box-shadow:inset 0 0 0 1px var(--ui-accent-border), 0 2px 8px #1c2b3609}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-chip.is-primary{border-color:var(--ui-accent-fill,var(--ui-accent));background:var(--ui-accent-fill,var(--ui-accent));color:var(--ui-on-accent,#fff);box-shadow:0 7px 18px color-mix(in srgb, var(--ui-accent) 22%, transparent)}@media (hover:hover) and (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-chip.is-primary:hover{border-color:var(--ui-accent-fill-hover,var(--ui-accent-hover));background:var(--ui-accent-fill-hover,var(--ui-accent-hover));color:var(--ui-on-accent,#fff)}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .chat-chip.is-primary,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .chat-chip.is-primary:focus-visible{border-color:var(--ui-accent-fill,var(--ui-accent));background:var(--ui-accent-fill,var(--ui-accent));color:var(--ui-on-accent,#fff)}html[data-theme-surface=patient-chat] .btn-primary{border-color:var(--ui-accent);background:var(--ui-accent);color:#fff}html[data-theme-surface=patient-chat].dark .btn-primary{color:#fff}html[data-theme-surface=patient-chat] .btn-secondary{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}html[data-theme-surface=patient-chat] .intake-startup-panel{border:1px solid var(--ui-border);background:color-mix(in srgb, var(--ui-surface) 94%, transparent);width:min(620px,100%);box-shadow:var(--ui-shadow-popover);border-radius:22px;margin:auto;padding:34px;animation:none}html[data-theme-surface=patient-chat] .intake-startup-icon{background:var(--ui-accent-soft);color:var(--ui-accent-hover)}html[data-theme-surface=patient-chat] .intake-startup-title{font-family:var(--ui-font);letter-spacing:-.025em}html[data-theme-surface=patient-chat] .intake-startup-actions .btn{border-radius:12px;min-height:44px;font-size:.86rem}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area{z-index:45;left:50%;bottom:max(16px, env(safe-area-inset-bottom,0px));border:1px solid color-mix(in srgb, var(--ui-border) 90%, transparent);background:color-mix(in srgb, var(--ui-surface) 90%, transparent);backdrop-filter:blur(22px)saturate(135%);box-sizing:border-box;border-radius:22px;flex-direction:column;width:min(780px,100% - 32px);min-height:96px;padding:10px 12px;position:fixed;transform:translate(-50%);box-shadow:0 18px 54px #1a2d3a29}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .chat-input-area{box-shadow:0 20px 58px #00000070}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-wrap{grid-template-rows:auto 44px;grid-template-columns:minmax(0,1fr) 44px 44px;align-items:center;gap:8px;width:100%;display:grid;position:relative}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.has-chat-tools .chat-input-wrap{grid-template-columns:44px minmax(0,1fr) 44px 44px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-wrap .chat-input-lock{display:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area textarea{min-height:46px;max-height:150px;color:var(--ui-text);-ms-overflow-style:none;scrollbar-width:none;background:0 0;border:0;border-radius:13px;grid-area:1/1/auto/-1;padding:12px 14px;font-size:1rem;line-height:1.4}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area textarea::-webkit-scrollbar{width:0;height:0;display:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area textarea:focus{background:var(--ui-surface-soft);box-shadow:none;border:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area:focus-within{border-color:var(--ui-accent-border);box-shadow:0 0 0 3px color-mix(in srgb, var(--ui-accent) 22%, transparent), 0 18px 54px #1a2d3a29}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area textarea:focus-visible{box-shadow:none;outline:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .chat-input-area:focus-within{box-shadow:0 0 0 3px color-mix(in srgb, var(--ui-accent) 24%, transparent), 0 20px 58px #00000070}html[data-theme-surface=patient-chat] .composer-meta{grid-area:2/1;align-items:center;gap:9px;min-width:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.has-chat-tools .composer-meta{grid-column:2}html[data-theme-surface=patient-chat] .composer-tools-btn{border:1px solid var(--ui-border-strong);background:var(--ui-surface-soft);width:44px;min-width:44px;height:44px;color:var(--ui-text-soft);cursor:pointer;border-radius:50%;grid-area:2/1;justify-content:center;align-items:center;padding:0;position:relative;display:inline-flex!important}html[data-theme-surface=patient-chat] .composer-attachment-count{box-sizing:border-box;border:2px solid var(--ui-surface);background:var(--ui-accent);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:.625rem;font-weight:750;line-height:1;display:inline-flex;position:absolute;top:-5px;right:-5px}html[data-theme-surface=patient-chat] .composer-attachment-count[hidden],html[data-theme-surface=patient-chat] .composer-tools-btn[hidden]{display:none!important}html[data-theme-surface=patient-chat] .composer-tools-btn[aria-expanded=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent-hover)}@media (hover:hover) and (pointer:fine){html[data-theme-surface=patient-chat] .composer-tools-btn:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent-hover)}}html[data-theme-surface=patient-chat] .composer-tools-menu{z-index:70;border:1px solid var(--ui-border);background:var(--ui-surface);width:max-content;min-width:205px;box-shadow:var(--ui-shadow-dialog);border-radius:14px;gap:3px;padding:6px;position:absolute;bottom:calc(100% + 10px);left:0;display:grid!important}html[data-theme-surface=patient-chat] .composer-tools-menu[hidden]{display:none!important}html[data-theme-surface=patient-chat] .composer-tools-menu button{min-height:42px;color:var(--ui-text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:9px 11px;font-size:.8rem;display:flex}html[data-theme-surface=patient-chat] .composer-tools-menu button:focus-visible{background:var(--ui-surface-soft)}@media (hover:hover) and (pointer:fine){html[data-theme-surface=patient-chat] .composer-tools-menu button:hover{background:var(--ui-surface-soft)}}html[data-theme-surface=patient-chat] .composer-tools-menu button[hidden]{display:none!important}html[data-theme-surface=patient-chat] .composer-language,html[data-theme-surface=patient-chat] .composer-security-status{min-height:34px;color:var(--ui-muted);white-space:nowrap;border-radius:10px;align-items:center;gap:7px;padding:6px 9px;font-size:.7rem;font-weight:650;display:inline-flex}html[data-theme-surface=patient-chat] .composer-security-status i{color:var(--ui-text-soft);transition:color .16s}html[data-theme-surface=patient-chat] .composer-security-status.is-ai-connected i{color:var(--ui-success)}html[data-theme-surface=patient-chat] .composer-language{border:1px solid var(--ui-border-strong);background:var(--ui-surface-soft);color:var(--ui-text-soft);cursor:pointer}html[data-theme-surface=patient-chat] .composer-language[hidden]{display:none!important}html[data-theme-surface=patient-chat] .composer-action{border-radius:50%;grid-row:2;width:44px;min-width:44px;height:44px;position:static;top:auto;right:auto;transform:none}html[data-theme-surface=patient-chat] #micBtn,html[data-theme-surface=patient-chat] #sendBtn{grid-column:3}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.has-chat-tools #micBtn,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.has-chat-tools #sendBtn{grid-column:4}html[data-theme-surface=patient-chat] #sendBtn{border-radius:50%}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area #sendBtn:active,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area #micBtn:active{filter:brightness(.97);transform:scale(.985)}html[data-theme-surface=patient-chat] .composer-attachment-tray{flex-wrap:wrap;gap:6px;width:100%;display:flex!important}html[data-theme-surface=patient-chat] .composer-attachment-tray[hidden]{display:none!important}html[data-theme-surface=patient-chat] .composer-attachment-chip{border:1px solid var(--ui-border-strong);background:var(--ui-surface-soft);max-width:100%;min-height:32px;color:var(--ui-text-soft);border-radius:999px;align-items:center;gap:7px;padding:5px 6px 5px 10px;font-size:.7rem;display:inline-flex}html[data-theme-surface=patient-chat] .composer-attachment-chip span{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}html[data-theme-surface=patient-chat] .composer-attachment-chip button{width:24px;height:24px;color:var(--ui-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}html[data-theme-surface=patient-chat] .composer-recording-status{box-sizing:border-box;background:var(--ui-danger-soft);border-radius:22px;grid-area:2/1/auto/-2;width:100%;height:44px;min-height:44px;padding:0 0 0 12px;position:static;inset:auto}html[data-theme-surface=patient-chat] .commercial-recording-label{display:inline}html[data-theme-surface=patient-chat] .composer-recording-status #recordingTimer{font-variant-numeric:tabular-nums}html[data-theme-surface=patient-chat] .composer-recording-status .recording-cancel{border-radius:50%;justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;margin-left:auto;display:inline-flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.is-recording .composer-tools-btn,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.is-recording .composer-meta,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.is-transcribing .composer-tools-btn,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.is-transcribing .composer-meta{display:none!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.is-recording #micBtn{border-radius:50%;grid-column:-2/-1}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.is-transcribing .composer-recording-status{color:var(--ui-text-soft);background:var(--ui-surface-soft);grid-column:1/-1}html[data-theme-surface=patient-chat] #inlineRestartBtn{border-radius:13px;min-height:46px;font-size:.86rem}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area.is-restart-only{justify-content:center}html[data-theme-surface=patient-chat] .commercial-chat-dialog-backdrop{z-index:80;background:#09121885;justify-content:center;align-items:center;padding:20px;position:fixed;inset:0;display:flex!important}html[data-theme-surface=patient-chat] .commercial-chat-dialog-backdrop[hidden]{display:none!important}html[data-theme-surface=patient-chat] .commercial-chat-dialog{border:1px solid var(--ui-border);background:var(--ui-surface);width:min(500px,100%);box-shadow:var(--ui-shadow-dialog);border-radius:18px;padding:22px}html[data-theme-surface=patient-chat] .commercial-chat-dialog h2{font-family:var(--ui-font);letter-spacing:-.02em;margin:0;font-size:1.12rem}html[data-theme-surface=patient-chat] .commercial-chat-dialog p{color:var(--ui-text-soft);margin:9px 0 0;font-size:.86rem;line-height:1.55}html[data-theme-surface=patient-chat] .commercial-chat-dialog-actions{justify-content:flex-end;gap:9px;margin-top:18px;display:flex}html[data-theme-surface=patient-chat] .commercial-chat-dialog-actions .btn{border-radius:11px;min-width:92px;min-height:42px;padding:9px 18px;font-size:.8rem}html[data-theme-surface=patient-chat] body.keyboard-open .commercial-chat-masthead{display:none!important}html[data-theme-surface=patient-chat] body.keyboard-open .intake-page-main{padding-top:0}html[data-theme-surface=patient-chat] body.keyboard-open .chat-input-area{width:min(780px,100% - 16px);margin:0 auto max(8px, env(safe-area-inset-bottom,0px));flex:none;position:relative;bottom:auto;left:auto;transform:none}html[data-theme-surface=patient-chat] body.keyboard-open .chat-window:after{flex-basis:12px;min-height:12px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .chat-bubble.bot{background:#2d3437;border-color:#505b60;box-shadow:0 7px 22px #00000038}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .chat-chip{color:var(--ui-text-soft);box-shadow:none;background:#171d1f;border-color:#344044}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .chat-chip:focus-visible{border-color:var(--ui-accent-border);color:var(--ui-text);background:#20292c}@media (hover:hover) and (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .chat-chip:hover{border-color:var(--ui-accent-border);color:var(--ui-text);background:#20292c}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .chat-chip.selected{border-color:var(--ui-accent);background:color-mix(in srgb, var(--ui-accent) 30%, #171d1f);color:var(--ui-text);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--ui-accent) 72%, transparent)}html[data-theme-surface=patient-chat].dark .btn-primary{color:#fff;background:#176d65;border-color:#2a9188}html[data-theme-surface=patient-chat].dark .btn-primary:focus-visible{color:#fff;background:#207e75;border-color:#3fa99f}@media (hover:hover) and (pointer:fine){html[data-theme-surface=patient-chat].dark .btn-primary:hover{color:#fff;background:#207e75;border-color:#3fa99f}}@media (width<=640px){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]){--commercial-chat-header-h:64px;--commercial-chat-bottom-gap:34px}html[data-theme-surface=patient-chat] .commercial-chat-masthead{padding-inline:12px}html[data-theme-surface=patient-chat] body{background-color:var(--ui-canvas);background-image:none}html[data-theme-surface=patient-chat] .commercial-chat-brand img{width:34px;height:34px}html[data-theme-surface=patient-chat] .commercial-chat-security span{display:none}html[data-theme-surface=patient-chat] .commercial-chat-security{justify-content:center;width:38px;height:38px;padding:0}html[data-theme-surface=patient-chat] .chat-window{padding:24px 16px 0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-bubble{font-size:.94rem}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-bubble.user,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .outgoing-message{max-width:86%}html[data-theme-surface=patient-chat] .intake-startup-panel{border-radius:18px;padding:24px 20px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-input-area{bottom:max(8px, env(safe-area-inset-bottom,0px));border-radius:22px;width:calc(100% - 16px);min-height:96px;padding:10px 12px}html[data-theme-surface=patient-chat] .composer-tools-menu{left:0}html[data-theme-surface=patient-chat] .composer-attachment-tray{padding-inline:4px}html[data-theme-surface=patient-chat] .composer-security-status span{display:none}html[data-theme-surface=patient-chat] .composer-security-status{padding-inline:9px}}@media (width<=390px){html[data-theme-surface=patient-chat] .commercial-chat-brand-subtitle{display:none}html[data-theme-surface=patient-chat] .composer-security-status{padding-inline:5px}html[data-theme-surface=patient-chat] .commercial-chat-dialog-actions{flex-direction:column-reverse}html[data-theme-surface=patient-chat] .commercial-chat-dialog-actions .btn{width:100%}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-transcript{align-content:start;gap:18px;width:min(100%,720px);margin:0 auto;display:grid}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-conversation{flex-direction:column;min-height:100%;display:flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-conversation>.ay-intake-response-composer,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-conversation>.ay-intake-multi-actions{margin-top:auto}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-chip-container,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-chip-container+.chip-multiselect-hint{width:min(100%,720px);margin-inline:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer{z-index:5;width:min(100%,780px);padding:10px 12px max(10px, env(safe-area-inset-bottom,0px));border:1px solid color-mix(in srgb, var(--ui-border) 90%, transparent);background:color-mix(in srgb, var(--ui-surface) 92%, transparent);backdrop-filter:blur(18px)saturate(130%);border-radius:22px;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;margin:0 auto;position:sticky;bottom:0;box-shadow:0 18px 54px #1a2d3a29}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-field{background:0 0;border:0;border-radius:13px;grid-column:1/-1;min-height:46px;padding:12px 14px;font-size:1rem;line-height:1.4}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-field:focus{background:var(--ui-surface-soft);box-shadow:none;border:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-voice,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-validation,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-actions{grid-column:1/-1}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-actions{justify-content:space-between}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-actions .ay-button--primary{min-width:108px}@media (prefers-reduced-motion:reduce){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-chip-container .chat-chip{animation:.12s linear both ay-chat-enter-reduced}}@keyframes ay-chat-enter-reduced{0%{opacity:0}to{opacity:1}}html[data-theme-surface=patient-chat] .ay-intake-app{--ayah-ease-kb:cubic-bezier(.32, .72, 0, 1);height:100dvh;padding-bottom:max(0px, var(--ayah-keyboard-inset,0px))}html[data-theme-surface=patient-chat] .ay-intake-header{background:var(--ui-surface);backdrop-filter:none;transition:opacity .14s cubic-bezier(.23,1,.32,1),transform .18s cubic-bezier(.23,1,.32,1);overflow:hidden}html[data-theme-surface=patient-chat] .ay-intake-main{scroll-padding-bottom:16px;overflow-x:clip}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-conversation{padding-bottom:max(8px, env(safe-area-inset-bottom,0px));gap:10px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble{animation:.24s cubic-bezier(.23,1,.32,1) both ay-chat-enter}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble.is-assistant,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble.bot{transform-origin:0 100%}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble.is-patient,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble.user{transform-origin:100% 100%}@keyframes ay-chat-enter{0%{opacity:0;filter:blur(2px);transform:translateY(10px)scale(.98)}to{opacity:1;filter:none;transform:none}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-chip-container{animation:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-chip-container .chat-chip{animation:.2s cubic-bezier(.23,1,.32,1) backwards ay-chip-enter;animation-delay:calc(60ms + 30ms * var(--chip-index,0))}@keyframes ay-chip-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-shell{border:1px solid var(--ui-border-strong);background:var(--ui-surface);border-radius:15px;align-items:flex-end;gap:5px;min-width:0;min-height:48px;padding:4px;transition:border-color .16s ease-out,box-shadow .16s ease-out;display:flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-shell:focus-within{border-color:var(--ui-accent-border);box-shadow:0 0 0 3px var(--ui-accent-soft)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-shell:has(.ay-intake-voice:not(.ay-intake-voice--idle)){align-items:center}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-shell--field-only{padding-inline:8px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-field{resize:none;border-radius:0;flex:auto;min-width:0;min-height:40px;max-height:128px;padding:9px 7px;overflow-y:auto;box-shadow:none!important;background:0 0!important;border:0!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-icon,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__start.is-compact{width:40px;min-width:40px;height:40px;min-height:40px;color:var(--ui-text-soft);background:0 0;border:0;border-radius:50%;flex:0 0 40px;place-items:center;padding:0;display:grid}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-icon svg,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__start.is-compact svg,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-menu svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (hover:hover) and (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-icon:hover,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__start.is-compact:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-send-button{background:var(--ui-accent);color:#fff;transition:background-color .14s ease-out,transform .14s cubic-bezier(.23,1,.32,1)}@media (hover:hover) and (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-send-button:hover{background:var(--ui-accent-hover);color:#fff}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-send-button:active{transform:scale(.96)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-send-button:disabled{background:var(--ui-surface-muted);color:var(--ui-muted)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-wrap{flex:none;position:relative}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-menu{z-index:12;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);width:min(235px,100vw - 32px);box-shadow:var(--ui-shadow-popover);transform-origin:0 100%;gap:4px;padding:7px;animation:.16s cubic-bezier(.23,1,.32,1) both ay-attach-menu-in;display:grid;position:absolute;bottom:calc(100% + 9px);left:-4px}@keyframes ay-attach-menu-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-menu button{border-radius:var(--ui-radius-sm);min-height:40px;color:var(--ui-text);font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:9px;padding:8px 9px;font-size:.78rem;font-weight:650;display:flex}@media (hover:hover) and (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-menu button:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-menu button:disabled{opacity:.5;color:var(--ui-text);cursor:default;background:0 0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-menu small{color:var(--ui-muted);padding:2px 9px 5px;font-size:.65rem;line-height:1.4}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-attachments{text-align:left;flex-wrap:wrap;justify-content:flex-start;align-self:flex-start;gap:6px;width:100%;margin:0;padding:0 2px;list-style:none;display:flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-attachments li{border:1px solid var(--ui-border);background:var(--ui-surface-soft);min-width:0;max-width:240px;color:var(--ui-text-soft);border-radius:999px;align-items:center;gap:6px;padding:4px;font-size:.67rem;display:inline-flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attachment-thumb{object-fit:cover;background:var(--ui-surface);border-radius:50%;flex:0 0 30px;width:30px;height:30px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attachment-icon{background:var(--ui-surface);width:30px;height:30px;color:var(--ui-muted);border-radius:50%;flex:0 0 30px;place-items:center;display:grid}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attachment-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-attachments li span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-attachments li button{width:24px;height:24px;color:var(--ui-muted);background:0 0;border:0;border-radius:50%;flex:0 0 24px;padding:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-eyebrow{z-index:3;border:1px solid var(--ui-border);background:var(--ui-surface);width:max-content;max-width:calc(100% - 24px);color:var(--ui-text-soft);text-align:center;pointer-events:none;border-radius:14px;margin:0 auto;padding:6px 12px;font-size:.72rem;font-weight:560;line-height:1.35;animation:.16s ease-out both ay-eyebrow-in;position:absolute;bottom:calc(100% + 8px);left:0;right:0;box-shadow:0 6px 20px #1a2d3a1f}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-eyebrow.is-error{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}@keyframes ay-eyebrow-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-eyebrow{animation:none}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice--failed,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice--review{justify-content:flex-end}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attachment-status{color:var(--ui-muted);padding-inline:5px;font-size:.66rem;line-height:1.4}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-navigation{min-height:26px;padding-inline:4px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-navigation .ay-button{min-height:26px;color:var(--ui-muted);box-shadow:none;background:0 0;border:0;padding:3px 6px;font-size:.66rem}@media (hover:hover) and (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-navigation .ay-button:hover{background:var(--ui-surface-soft);color:var(--ui-text)}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-voice{flex:0 auto;min-width:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice--recording{color:var(--ui-danger)}@keyframes ay-recording-pulse{50%{opacity:.35}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__stop-icon{background:currentColor;border-radius:2px;width:10px;height:10px;display:inline-block}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__status,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__error{flex:1;font-size:.69rem;line-height:1.4}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .ay-intake-composer-shell{background:#171d1f}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .ay-intake-response-composer{box-shadow:0 16px 42px #00000061}@media (width<=1023.98px),(hover:none) and (pointer:coarse){html[data-theme-surface=patient-chat] .ay-intake-main{padding-inline:10px;padding-bottom:6px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-transcript{gap:13px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer{border-radius:16px;width:100%;padding:6px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-shell{border-radius:14px}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=patient-chat] .ay-intake-app,html[data-theme-surface=patient-chat] .ay-intake-header,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-menu,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice--recording:before{transition:none;animation:none}}html[data-theme-surface=patient-chat] .ay-intake-main{padding:24px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));scroll-padding-bottom:calc(var(--commercial-composer-h) + var(--commercial-chat-bottom-gap))}html[data-theme-surface=patient-chat] .ay-intake-startup.intake-startup-panel{width:min(620px,100%);min-height:0;box-shadow:var(--ui-shadow-popover);border-radius:22px;margin:auto;padding:34px}html[data-theme-surface=patient-chat] .ay-intake-startup__actions .ay-button--secondary{border-color:var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-text)}html[data-theme-surface=patient-chat] .ay-intake-main .ay-button--quiet,html[data-theme-surface=patient-chat] .commercial-chat-dialog .ay-button--secondary{border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-text)}@media (hover:hover) and (pointer:fine){html[data-theme-surface=patient-chat] .ay-intake-main .ay-button--quiet:hover,html[data-theme-surface=patient-chat] .commercial-chat-dialog .ay-button--secondary:hover{border-color:var(--ui-accent-border);background:var(--ui-surface-soft)}}html[data-theme-surface=patient-chat] .ay-intake-header-actions{position:relative}html[data-theme-surface=patient-chat] .ay-intake-header{overflow:visible}html[data-theme-surface=patient-chat] .ay-intake-menu-button{border:1px solid var(--ui-border);background:var(--ui-surface);width:40px;min-width:40px;height:40px;color:var(--ui-text);border-radius:50%;place-items:center;padding:0;display:inline-grid}html[data-theme-surface=patient-chat] .ay-intake-menu-button svg,html[data-theme-surface=patient-chat] .commercial-chat-menu-action svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 20px;width:20px;height:20px}html[data-theme-surface=patient-chat] .ay-intake-menu-button[aria-expanded=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}@media (hover:hover) and (pointer:fine){html[data-theme-surface=patient-chat] .ay-intake-menu-button:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}}html[data-theme-surface=patient-chat] .ay-intake-menu.commercial-chat-menu{z-index:70}html[data-theme-surface=patient-chat] .ay-intake-header-language{display:inline-flex;position:relative}html[data-theme-surface=patient-chat] .ay-intake-header-language__button{border:1px solid var(--ui-border);background:var(--ui-surface);width:44px;min-width:44px;height:40px;min-height:44px;color:var(--ui-text);font:inherit;white-space:nowrap;cursor:pointer;border-radius:50%;justify-content:center;align-items:center;gap:6px;padding:0;font-size:.78rem;font-weight:650;display:inline-flex}html[data-theme-surface=patient-chat] .ay-intake-header-language__name{display:none}@media (width>=768px){html[data-theme-surface=patient-chat] .ay-intake-header-language__button{border-radius:22px;width:auto;padding:0 14px 0 11px}html[data-theme-surface=patient-chat] .ay-intake-header-language__name{display:inline}}html[data-theme-surface=patient-chat] .ay-intake-header-language__button svg{flex:0 0 18px;width:18px;height:18px}html[data-theme-surface=patient-chat] .ay-intake-header-language__button.is-open{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}@media (hover:hover) and (pointer:fine){html[data-theme-surface=patient-chat] .ay-intake-header-language__button:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}}html[data-theme-surface=patient-chat] .ay-intake-header-language__button{transition-property:transform,background-color,border-color,color,box-shadow;transition-duration:.14s;transition-timing-function:cubic-bezier(.23,1,.32,1)}html[data-theme-surface=patient-chat] .ay-intake-header-language__button:active{transform:scale(.97)}@media (prefers-reduced-motion:reduce){html[data-theme-surface=patient-chat] .ay-intake-header-language__button:active{transform:none}}html[data-theme-surface=patient-chat] .ay-intake-header-language__menu{z-index:70;transform-origin:100% 0;width:168px;animation:.16s cubic-bezier(.23,1,.32,1) both ay-header-language-menu-in;inset:calc(100% + 10px) 0 auto auto}@media (prefers-reduced-motion:reduce){html[data-theme-surface=patient-chat] .ay-intake-header-language__menu{animation:none}}@keyframes ay-header-language-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}html[data-theme-surface=patient-chat] .ay-intake-menu.commercial-chat-menu .commercial-chat-menu-heading,html[data-theme-surface=patient-chat] .ay-intake-menu.commercial-chat-menu .commercial-chat-menu-divider{display:block}html[data-theme-surface=patient-chat] .commercial-chat-menu-action svg{color:var(--ui-muted)}html[data-theme-surface=patient-chat] .ay-intake-app.is-startup .ay-intake-main{padding-bottom:calc(var(--commercial-composer-h) + var(--commercial-chat-bottom-gap) + 16px)}html[data-theme-surface=patient-chat] .ay-intake-inactive-composer{pointer-events:none}html[data-theme-surface=patient-chat] .ay-intake-inactive-composer .ay-intake-field,html[data-theme-surface=patient-chat] .ay-intake-inactive-composer .ay-intake-composer-icon{opacity:.62}html[data-theme-surface=patient-chat] .commercial-chat-dialog-backdrop{animation:.15s ease-out both ay-dialog-backdrop-in}html[data-theme-surface=patient-chat] .commercial-chat-dialog{animation:.18s cubic-bezier(.23,1,.32,1) both ay-dialog-in}@keyframes ay-dialog-backdrop-in{0%{opacity:0}}@keyframes ay-dialog-in{0%{opacity:0;transform:translateY(6px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (pointer:coarse){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-conversation{justify-content:flex-end}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-conversation{width:min(100%,780px);max-width:none;min-height:100%;padding-bottom:calc(var(--commercial-composer-h) + var(--commercial-chat-bottom-gap));margin-inline:auto}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-transcript{gap:18px;width:100%}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-transcript .outgoing-message{justify-self:end;width:fit-content}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble.is-assistant{border:1px solid var(--ui-border);background:var(--ui-surface);width:fit-content;max-width:min(100%,720px);box-shadow:var(--ui-shadow-card);border-radius:20px 20px 20px 6px;padding:14px 18px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble.is-patient{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);max-width:100%;color:var(--ui-text);box-shadow:none;border-radius:18px 18px 5px;padding:11px 16px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area{z-index:45;--ayah-composer-bottom:max(16px, env(safe-area-inset-bottom,0px));left:50%;bottom:var(--ayah-composer-bottom);width:min(780px,100% - 32px);min-height:96px;transform:translate3d(-50%, calc(var(--ayah-keyboard-inset,0px) * -1 + var(--ayah-keyboard-on,0) * (var(--ayah-composer-bottom) - 8px)), 0);transition:transform .26s var(--ayah-ease-kb,cubic-bezier(.32, .72, 0, 1)), border-color .16s ease-out, box-shadow .16s ease-out;border:1px solid color-mix(in srgb, var(--ui-border) 90%, transparent);background:color-mix(in srgb, var(--ui-surface) 90%, transparent);backdrop-filter:blur(22px)saturate(135%);border-radius:22px;flex-direction:column;gap:7px;margin:0;padding:10px 12px;display:flex;position:fixed;box-shadow:0 18px 54px #1a2d3a29}html.ayah-shell-lock[data-theme-surface=patient-chat],html.ayah-shell-lock[data-theme-surface=patient-chat] body{overscroll-behavior:none;height:100%;overflow:hidden}html.ayah-shell-lock[data-theme-surface=patient-chat] .ay-intake-app{height:var(--ayah-shell-h,100dvh);max-height:var(--ayah-shell-h,100dvh);top:0;left:0;right:0;top:var(--ayah-shell-top,0px);padding-bottom:0;position:fixed;transform:none}html.ayah-shell-lock:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area{touch-action:none;margin-inline:auto;transition:border-color .16s ease-out,box-shadow .16s ease-out;position:absolute;left:0;right:0;transform:none}html.ayah-shell-lock:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-dock{display:contents}html.ayah-shell-lock:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area textarea{touch-action:pan-y}html.ayah-shell-lock.ayah-shell-animate[data-theme-surface=patient-chat] .ay-intake-app{transition:height .26s var(--ayah-ease-kb,cubic-bezier(.32, .72, 0, 1)), top .26s var(--ayah-ease-kb,cubic-bezier(.32, .72, 0, 1)), grid-template-rows .26s var(--ayah-ease-kb,cubic-bezier(.32, .72, 0, 1))}html.ayah-shell-lock.ayah-shell-animate:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area{transition:bottom .26s var(--ayah-ease-kb,cubic-bezier(.32, .72, 0, 1)), border-color .16s ease-out, box-shadow .16s ease-out}@media (prefers-reduced-motion:reduce){html.ayah-shell-lock.ayah-shell-animate[data-theme-surface=patient-chat] .ay-intake-app,html.ayah-shell-lock.ayah-shell-animate:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area{transition:none}}html.ayah-shell-lock.ayah-shell-keyboard:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area{bottom:8px}html.ayah-shell-lock[data-theme-surface=patient-chat] .ay-intake-header{min-height:0}html.ayah-shell-lock.ayah-shell-keyboard[data-theme-surface=patient-chat] .ay-intake-app{grid-template-rows:0 minmax(0,1fr)}html.ayah-shell-lock.ayah-shell-keyboard[data-theme-surface=patient-chat] .ay-intake-header{opacity:0;visibility:hidden;transition:opacity .12s ease-out,visibility 0s linear .12s}html.ayah-keyboard-tracking:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area{transition:border-color .16s ease-out,box-shadow .16s ease-out}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area:focus-within{border-color:var(--ui-accent-border);box-shadow:0 0 0 3px var(--ui-accent-soft), 0 18px 54px #1a2d3a29}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap{width:100%;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-rows:auto 44px;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;padding:0;display:grid}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-field{width:100%;min-height:46px;max-height:150px;color:var(--ui-text);resize:none;border-radius:13px;grid-area:1/1/auto/-1;padding:12px 14px;font-size:1rem;line-height:1.4;overflow-y:hidden;box-shadow:none!important;background:0 0!important;border:0!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-field:focus{background:var(--ui-surface-soft)!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-field{caret-color:var(--ui-accent)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-attach-wrap,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer>.ay-intake-composer-shell>.ay-intake-attach-button{grid-area:2/1}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap{position:relative}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-action-slot{grid-area:2/3;justify-self:end;place-items:center;width:44px;height:44px;display:grid}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-voice{display:contents}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-action-slot>.ay-intake-send-button,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-action-slot .ay-intake-voice__start{grid-area:1/1;transition:opacity .12s ease-out,transform .12s ease-out,visibility}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-action-slot.is-voice>.ay-intake-send-button,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-action-slot.is-send .ay-intake-voice__start{visibility:hidden;pointer-events:none;transition:opacity .12s ease-out,visibility 0s linear .12s;opacity:0!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-action-slot .ay-intake-voice__start:active,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-action-slot.is-send>.ay-intake-send-button:not(:disabled):active{transform:scale(.92)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-action-slot>.ay-intake-send-button:not(:disabled){background:var(--ui-accent-fill);color:var(--ui-on-accent,#fff)}@media (hover:hover) and (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-action-slot>.ay-intake-send-button:not(:disabled):hover{background:var(--ui-accent-fill-hover)}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-voice--idle .ay-intake-voice__start.is-compact,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-voice--review .ay-intake-voice__start.is-compact{box-shadow:none;background:0 0;border:0!important}@media (hover:hover) and (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-voice--idle .ay-intake-voice__start.is-compact:hover{background:var(--ui-accent-soft)}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-field,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-attach-wrap,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell>.ay-intake-language,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-security{transition:opacity .22s ease-out,visibility}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell:has(.ay-intake-voice__panel)>.ay-intake-field,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell:has(.ay-intake-voice__panel)>.ay-intake-attach-wrap,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell:has(.ay-intake-voice__panel)>.ay-intake-language,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell:has(.ay-intake-voice__panel)>.ay-intake-composer-security{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease-out,visibility 0s linear .12s}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel{z-index:2;min-width:0;color:var(--ui-text);align-items:center;gap:8px;padding:0;animation:.24s cubic-bezier(.23,1,.32,1) both ay-voice-session-in;display:flex;position:absolute;inset:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice--closing .ay-intake-voice__panel{pointer-events:none;animation:.15s cubic-bezier(.23,1,.32,1) both ay-voice-session-out}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel--recording{color:var(--ui-danger)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel--transcribing{color:var(--ui-text-soft);gap:10px;padding-inline:14px;font-size:.95rem;font-weight:560}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel--failed{justify-content:flex-end;gap:4px;padding-inline:4px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel--failed .ay-button.ay-button--quiet{min-height:36px;box-shadow:none;color:var(--ui-text-soft);background:0 0;border:0;border-radius:18px;padding:0 12px;font-size:.84rem;font-weight:650}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel--failed .ay-button.ay-button--quiet:first-of-type:not(:last-of-type){color:var(--ui-accent)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__shimmer{animation:1.6s ease-in-out infinite ay-voice-breathe}@keyframes ay-voice-breathe{0%,to{opacity:.55}50%{opacity:1}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__bars{align-items:center;gap:3px;height:18px;margin-left:6px;display:inline-flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__bars i{opacity:.55;background:currentColor;border-radius:2px;width:3px;height:100%;animation:1s ease-in-out infinite ay-voice-bar;transform:scaleY(.28)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__bars i:nth-child(2){animation-delay:.16s}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__bars i:nth-child(3){animation-delay:.32s}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__bars i:nth-child(4){animation-delay:.1s}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__bars i:nth-child(5){animation-delay:.24s}@keyframes ay-voice-bar{0%,to{transform:scaleY(.28)}50%{transform:scaleY(1)}}@keyframes ay-recording-ring{0%{box-shadow:0 0 0 0 color-mix(in srgb, var(--ui-danger) 42%, transparent)}to{box-shadow:0 0 0 9px #0000}}@keyframes ay-voice-session-in{0%{opacity:0;transform:translateY(4px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes ay-voice-session-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(2px)scale(.99)}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__recording-state{flex:auto;justify-content:center;align-items:center;gap:9px;min-width:0;display:inline-flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__dot{background:var(--ui-danger);border-radius:50%;flex:0 0 10px;width:10px;height:10px;animation:1.2s ease-in-out infinite ay-recording-pulse,1.2s ease-out infinite ay-recording-ring}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__timer{color:var(--ui-danger);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;flex:none;font-weight:650;overflow:hidden}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel .ay-intake-voice__cancel.ay-button{box-shadow:none;width:40px;min-width:40px;height:40px;min-height:40px;color:var(--ui-text-soft);white-space:nowrap;background:0 0;border:0;border-radius:50%;flex:0 0 40px;place-items:center;padding:0;display:grid}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__cancel svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:18px;height:18px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel .ay-intake-voice__stop.ay-button{box-shadow:none;background:var(--ui-danger);color:#fff;border-color:#0000;border-radius:50%;flex:0 0 40px;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;display:grid}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .ay-intake-voice__panel .ay-intake-voice__stop.ay-button{background:color-mix(in srgb, var(--ui-danger) 62%, #1a0605);color:#fff}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-security{min-width:0;color:var(--ui-text-soft);grid-area:2/2;align-items:center;gap:9px;font-size:.78rem;font-weight:650;display:inline-flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-security svg,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .message-delivery-status svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 20px;width:20px;height:20px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .message-delivery-status svg{stroke-width:2px;flex:0 0 14px;width:14px;height:14px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-security.is-error{color:var(--ui-danger)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-security.is-saving{color:var(--ui-muted)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-shell:not(:has(>.ay-intake-attach-wrap,>.ay-intake-attach-button))>.ay-intake-composer-security{grid-column:1/3;padding-left:14px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap:has(>.ay-intake-language){grid-template-columns:44px max-content minmax(0,1fr) 44px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap:has(>.ay-intake-language)>.ay-intake-language{grid-area:2/2;justify-self:start}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap:has(>.ay-intake-language)>.ay-intake-composer-security{grid-column:3;padding-left:4px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap:has(>.ay-intake-language)>.ay-intake-action-slot{grid-column:4}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap:has(>.ay-intake-language):not(:has(>.ay-intake-attach-wrap)){grid-template-columns:max-content minmax(0,1fr) 44px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap:has(>.ay-intake-language):not(:has(>.ay-intake-attach-wrap))>.ay-intake-language{grid-column:1}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap:has(>.ay-intake-language):not(:has(>.ay-intake-attach-wrap))>.ay-intake-composer-security{grid-column:2}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap:has(>.ay-intake-language):not(:has(>.ay-intake-attach-wrap))>.ay-intake-action-slot{grid-column:3}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language{display:inline-flex;position:relative}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__button{width:112px;min-height:36px;color:var(--ui-text-soft);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:7px;padding:0 10px 0 8px;font-size:.78rem;font-weight:650;display:inline-flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__button svg{flex:0 0 18px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__button.is-open{background:var(--ui-accent-soft);color:var(--ui-accent)}@media (hover:hover) and (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__button:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__menu{transform-origin:0 100%;width:168px;left:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__item{justify-content:space-between}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__item.is-selected{color:var(--ui-accent)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__item svg{flex:0 0 16px;width:16px;height:16px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__options{gap:2px;padding:0 0 4px 29px;display:grid}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__toggle[aria-expanded=true]{color:var(--ui-accent)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .message-delivery-status button{min-height:28px;color:inherit;font:inherit;background:0 0;border:1px solid;border-radius:8px;padding:3px 7px;font-weight:700}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .message-delivery-status.sent{animation:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .delivery-mark__track{stroke:var(--ui-accent-border);transition:opacity .16s ease-out}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .delivery-mark__arc{stroke:var(--ui-accent);stroke-dasharray:25 75;transform-origin:12px 12px;transition:stroke .2s ease-out;animation:1.15s linear infinite delivery-spin}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .delivery-mark__check{stroke-dasharray:1;stroke-dashoffset:1px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .message-delivery-status.sent .delivery-mark__track{opacity:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .message-delivery-status.sent .delivery-mark__arc{stroke:currentColor;animation:1.15s linear infinite paused delivery-spin,.22s cubic-bezier(.23,1,.32,1) forwards delivery-ring-close}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .message-delivery-status.sent .delivery-mark__check{animation:.18s cubic-bezier(.23,1,.32,1) .14s forwards delivery-check-draw}@keyframes delivery-spin{to{transform:rotate(360deg)}}@keyframes delivery-ring-close{to{stroke-dasharray:100 0}}@keyframes delivery-check-draw{to{stroke-dashoffset:0}}@keyframes deliveryWaiting{0%,to{opacity:1}50%{opacity:.45}}html[data-theme-surface=patient-chat] .ay-intake-ai-error{width:min(100%,720px);margin-inline:auto}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .ay-intake-bubble.chat-bubble.is-assistant{background:#2d3437;border-color:#505b60;box-shadow:0 7px 22px #00000038}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .ay-intake-response-composer.chat-input-area{box-shadow:0 20px 58px #00000070}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]).dark .ay-intake-response-composer.chat-input-area:focus-within{box-shadow:0 0 0 3px var(--ui-accent-soft), 0 20px 58px #00000070}@media (width<=1023.98px),(hover:none) and (pointer:coarse){html[data-theme-surface=patient-chat] .ay-intake-main{padding:24px 16px 0}html[data-theme-surface=patient-chat] .ay-intake-startup.intake-startup-panel{border-radius:18px;padding:24px 20px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area{--ayah-composer-bottom:max(8px, env(safe-area-inset-bottom,0px));bottom:var(--ayah-composer-bottom);border-radius:22px;width:min(780px,100% - 16px);padding:10px 12px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-security span{display:none}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=patient-chat] .ay-intake-app,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area{transition-duration:0s}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .delivery-mark__arc{animation:none!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .message-delivery-status.sending .delivery-mark{animation:1.2s ease-in-out infinite deliveryWaiting}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .message-delivery-status.sent .delivery-mark__arc{stroke-dasharray:100 0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .message-delivery-status.sent .delivery-mark__check{stroke-dashoffset:0;animation:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .typing-dot,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice:not(.ay-intake-voice--idle),html[data-theme-surface=patient-chat] .commercial-chat-dialog-backdrop,html[data-theme-surface=patient-chat] .commercial-chat-dialog{animation:none!important;transform:none!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__dot{opacity:1!important;animation:none!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__shimmer,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__bars i{animation:none!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__bars i{transform:scaleY(.6)}}@media (width<=1023.98px),(hover:none) and (pointer:coarse){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer.chat-input-area{border-radius:22px;gap:6px;min-height:0;padding:2px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell.chat-input-wrap{grid-template-rows:auto;grid-template-columns:36px minmax(0,1fr) 36px;align-items:end;gap:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-field{border-radius:0;grid-area:1/2;min-height:36px;padding:7px 4px;line-height:1.3}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-field:focus{background:0 0!important}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-shell:not(:has(.ay-intake-attach-button))>.ay-intake-field{grid-column:1/3;padding-left:16px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-attach-wrap,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer>.ay-intake-composer-shell>.ay-intake-attach-button{grid-area:1/1}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-action-slot{grid-area:1/3;width:36px;height:36px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-security{display:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]){--commercial-chat-bottom-gap:16px}html[data-theme-surface=patient-chat] .ay-intake-main{padding:12px 12px 0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-conversation{gap:8px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-transcript{gap:10px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble.is-assistant{border-radius:16px 16px 16px 4px;max-width:84%;padding:8px 12px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-transcript .outgoing-message{max-width:80%}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble.is-patient{border-radius:16px 16px 4px;padding:7px 12px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble p{font-size:15px;line-height:1.42}html[data-theme-surface=patient-chat] .chat-system-notice{padding:7px 12px;font-size:.74rem;line-height:1.4}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-chip-container{gap:6px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-chip{border-radius:12px;min-height:36px;padding:6px 12px;font-size:.82rem}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-icon,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-voice__start.is-compact{flex-basis:36px;width:36px;min-width:36px;height:36px;min-height:36px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-composer-icon svg,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-response-composer .ay-intake-voice__start.is-compact svg{width:19px;height:19px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel .ay-intake-voice__cancel.ay-button,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__panel .ay-intake-voice__stop.ay-button{flex-basis:36px;width:36px;min-width:36px;height:36px;min-height:36px}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-button svg{transition:transform .24s cubic-bezier(.23,1,.32,1)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-button.is-open svg{transform:rotate(45deg)}@media (prefers-reduced-motion:reduce){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-attach-button svg{transition:none}}html[data-theme-surface=patient-chat] .ay-intake-loading{place-content:center;justify-items:center;gap:20px;min-height:100%;animation:.26s cubic-bezier(.23,1,.32,1) .24s both ay-loading-in;display:grid}html[data-theme-surface=patient-chat] .ay-intake-loading__mark{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;width:88px;height:88px;overflow:visible}html[data-theme-surface=patient-chat] .ay-intake-loading__track{stroke:var(--ui-accent-border)}html[data-theme-surface=patient-chat] .ay-intake-loading__arc{stroke:var(--ui-accent);stroke-dasharray:64 188;transform-origin:48px 48px;animation:1.15s linear infinite ay-loading-spin}html[data-theme-surface=patient-chat] .ay-intake-loading__pulse{stroke:var(--ui-accent);stroke-dasharray:1;stroke-dashoffset:1px;animation:1.8s cubic-bezier(.45,0,.2,1) infinite ay-loading-trace}html[data-theme-surface=patient-chat] .ay-intake-loading__label{color:var(--ui-text-soft);letter-spacing:.01em;text-align:center;margin:0;font-size:15px;font-weight:600;line-height:1.3}@keyframes ay-loading-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes ay-loading-spin{to{transform:rotate(360deg)}}@keyframes ay-loading-trace{0%{stroke-dashoffset:1px}55%{stroke-dashoffset:0}to{stroke-dashoffset:-1px}}@keyframes ay-loading-breathe{0%,to{opacity:.55}50%{opacity:1}}@media (width<=640px){html[data-theme-surface=patient-chat] .ay-intake-loading__mark{width:76px;height:76px}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=patient-chat] .ay-intake-loading,html[data-theme-surface=patient-chat] .ay-intake-loading__arc{animation:none}html[data-theme-surface=patient-chat] .ay-intake-loading__pulse{stroke-dashoffset:0;animation:none}html[data-theme-surface=patient-chat] .ay-intake-loading__mark{animation:2.2s ease-in-out infinite ay-loading-breathe}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-transcript .ay-intake-eyebrow{width:fit-content;max-width:100%;box-shadow:none;text-align:left;pointer-events:auto;border-radius:14px 14px 14px 4px;justify-self:start;margin:0;padding:8px 12px;font-size:max(.78rem,12px);position:static}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-chip,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-icon,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__start,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-send-button{position:relative}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-chip:after{content:"";position:absolute;inset:-4px 0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-composer-icon:after,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-voice__start:after,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-send-button:after{content:"";position:absolute;inset:-4px}html[data-theme-surface=patient-chat] .ay-intake-menu-button{width:44px}html[data-theme-surface=patient-chat] .ay-intake-wordmark small,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chip-multiselect-hint{font-size:max(.72rem,12px)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]):not(.dark) .ay-intake-field::placeholder{color:#5f6d73;opacity:1}.ay-intake-trust{color:var(--ui-muted);text-align:center;justify-content:center;align-items:center;gap:6px;margin:0;font-size:max(.72rem,12px);line-height:1.4;display:flex}.ay-intake-trust svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble.is-settled,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-chip-container.is-settled,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-chip-container.is-settled .chat-chip{animation:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-chip,html[data-theme-surface=patient-chat] .ay-intake-review__edit,html[data-theme-surface=patient-chat] .commercial-chat-menu-action,html[data-theme-surface=patient-chat] .ay-intake-menu-button{transition-property:transform,background-color,border-color,color,box-shadow;transition-duration:.14s;transition-timing-function:cubic-bezier(.23,1,.32,1)}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-chip:active,html[data-theme-surface=patient-chat] .ay-intake-review__edit:active,html[data-theme-surface=patient-chat] .commercial-chat-menu-action:active,html[data-theme-surface=patient-chat] .ay-intake-menu-button:active{transform:scale(.97)}@media (prefers-reduced-motion:reduce){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .chat-chip:active,html[data-theme-surface=patient-chat] .ay-intake-review__edit:active,html[data-theme-surface=patient-chat] .commercial-chat-menu-action:active,html[data-theme-surface=patient-chat] .ay-intake-menu-button:active{transform:none}}@media (width>=1024px) and (hover:hover),(width>=1024px) and (pointer:fine){.ay-intake-trust{display:none}}html[data-theme-surface=patient-chat] .ay-intake-composer--sent{justify-content:center;align-items:center;min-height:96px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-new-chat{border:1px solid var(--ui-accent-border);background:var(--ui-accent);color:#fff;width:100%;min-height:44px;font:inherit;cursor:pointer;border-radius:13px;padding:10px 16px;font-weight:700;transition:transform .14s cubic-bezier(.23,1,.32,1),opacity .14s ease-out,background-color .14s ease-out}html[data-theme-surface=patient-chat] .ay-intake-portal-link{box-sizing:border-box;text-align:center;justify-content:center;align-items:center;text-decoration:none;display:flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-new-chat:focus-visible{outline:3px solid var(--ui-accent-soft);outline-offset:2px}@media (hover:hover) and (pointer:fine){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-new-chat:hover{background:var(--ui-accent-hover,var(--ui-accent))}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-new-chat:active{transform:translateY(1px)}html[data-theme-surface=patient-chat] .ay-intake-consent-card{gap:8px;width:min(100%,720px);display:grid}html[data-theme-surface=patient-chat] .ay-intake-consent-card>p{margin:0}html[data-theme-surface=patient-chat] .ay-intake-consent__disclosure{color:var(--ui-text-soft);margin:0;padding-top:4px;font-size:.9rem;line-height:1.5}html[data-theme-surface=patient-chat] .ay-intake-consent__links{white-space:nowrap;width:min(100%,720px);color:var(--ui-muted);text-align:center;flex-wrap:nowrap;justify-content:center;align-items:center;gap:2px;margin:0 auto;padding-top:0;font-size:clamp(.68rem,3vw,.75rem);line-height:1.4;display:flex}html[data-theme-surface=patient-chat] .ay-intake-consent__link{align-items:center;min-height:44px;display:inline-flex}html[data-theme-surface=patient-chat] .ay-intake-consent__link a{min-height:44px;color:inherit;text-underline-offset:3px;align-items:center;padding:8px 4px;text-decoration:underline;display:inline-flex}html[data-theme-surface=patient-chat] .ay-intake-consent__link a:focus-visible{outline:3px solid var(--ui-accent-soft);outline-offset:1px;border-radius:6px}html[data-theme-surface=patient-chat] .ay-intake-consent__separator{color:var(--ui-muted);padding-inline:1px}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-typing{text-align:left;justify-content:flex-start;place-self:flex-start start;align-items:center;gap:4px;width:fit-content;min-width:58px;min-height:50px;margin-inline:0;display:flex}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-bubble.chat-bubble.ay-intake-typing{animation:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-typing .typing-dot{width:6px;height:6px}@media (width<=1023.98px),(hover:none) and (pointer:coarse){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-typing{justify-content:center;min-height:36px}html[data-theme-surface=patient-chat] .ay-intake-composer--sent{min-height:44px;padding:2px}}@media (prefers-reduced-motion:reduce){html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-new-chat{transition:none}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-new-chat:active{transform:none}}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__menu[data-long],html[data-theme-surface=patient-chat] .ay-intake-header-language__menu[data-long],html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__options[data-long]{overscroll-behavior:contain;max-height:min(60vh,420px);overflow-y:auto}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__item .ay-intake-language__label{overflow-wrap:anywhere;text-align:left;min-width:0}html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__secondary,html:is([data-theme-surface=patient-chat],[data-theme-surface=patient-portal]) .ay-intake-language__sep{color:var(--ui-muted);font-weight:500}html[data-theme-surface=patient-chat]{--ay-font-arabic:"Quicksand", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;--ay-font-urdu:"Quicksand", "Noto Nastaliq Urdu", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;--ay-font-myanmar:"Quicksand", "Noto Sans Myanmar", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;--ay-font-devanagari:"Quicksand", "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif}html[data-theme-surface=patient-chat] [lang]:lang(ar),html[data-theme-surface=patient-chat] [lang]:lang(fa),html[data-theme-surface=patient-chat] [lang]:lang(ps){font-family:var(--ay-font-arabic)}html[data-theme-surface=patient-chat] [lang]:lang(ur){font-family:var(--ay-font-urdu)}html[data-theme-surface=patient-chat] [lang]:lang(my){font-family:var(--ay-font-myanmar)}html[data-theme-surface=patient-chat] [lang]:lang(hi),html[data-theme-surface=patient-chat] [lang]:lang(ne){font-family:var(--ay-font-devanagari)}html[data-theme-surface=patient-chat] [lang]:is(:lang(ur-Latn),:lang(hi-Latn),:lang(ne-Latn),:lang(ar-Latn),:lang(fa-Latn),:lang(ps-Latn),:lang(my-Latn)){font-family:var(--ui-font)}html[data-theme-surface=patient-chat] .ay-intake-bubble.chat-bubble[lang|=ur][data-script=native],html[data-theme-surface=patient-chat] .ay-intake-bubble.chat-bubble[lang|=ur][data-script=native] p{line-height:2.1}html[data-theme-surface=patient-chat] .ay-intake-bubble.chat-bubble:lang(my):not(:lang(my-Latn)),html[data-theme-surface=patient-chat] .ay-intake-bubble.chat-bubble:lang(my):not(:lang(my-Latn)) p{line-height:1.9}