:root{--bg:#f5f8f7;--panel:#fff;--ink:#152522;--muted:#6f7f7b;--line:#dfe9e6;--brand:#0e8b76;--brand2:#0a6f60;--soft:#eaf7f3;--danger:#b64252}*{box-sizing:border-box}body,html{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}.chatPage{height:100dvh;display:grid;grid-template-columns:280px minmax(0,1fr);overflow:hidden}.chatSidebar{background:#10211e;color:#fff;display:flex;flex-direction:column;padding:18px 14px;border-right:1px solid rgba(255,255,255,.07)}.mobileBrand,.sidebarBrand{display:flex;align-items:center;gap:10px}.sidebarBrand{padding:4px 8px 18px}.mobileBrand span,.sidebarBrand span,.welcomeMark{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#19ad94,#0b7564);color:#fff;font-weight:900}.sidebarBrand b{font-size:18px}.newChat{height:46px;border:1px solid rgba(255,255,255,.15);border-radius:13px;background:rgba(255,255,255,.07);color:#fff;text-align:left;padding:0 14px;cursor:pointer}.newChat:hover{background:rgba(255,255,255,.12)}.historyTitle{padding:22px 10px 8px;color:#7f9993;text-transform:uppercase;font-size:11px;letter-spacing:.08em}.historyList{display:grid;grid-gap:4px;gap:4px;overflow:auto}.historyList button{border:0;border-radius:10px;background:transparent;color:#bdcfca;text-align:left;padding:10px 11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.historyList button.active,.historyList button:hover{background:rgba(255,255,255,.09);color:#fff}.guestHistory{padding:12px 10px;color:#8ea39e;font-size:13px;line-height:1.55}.sidebarAccount{margin-top:auto;padding:14px 4px 2px;border-top:1px solid rgba(255,255,255,.1);display:grid;grid-gap:10px;gap:10px}.sidebarAccount>div{display:grid;grid-gap:3px;gap:3px}.sidebarAccount span{font-size:12px;color:#8fa7a1}.sidebarAccount a,.sidebarAccount button{border:0;background:transparent;color:#bed0cb;text-align:left;padding:0;cursor:pointer;font-size:13px}.loginButton{padding:11px!important;border-radius:10px!important;background:var(--brand)!important;color:#fff!important;text-align:center!important}.chatWorkspace{min-width:0;height:100dvh;display:grid;grid-template-rows:64px minmax(0,1fr) auto;background:radial-gradient(circle at 70% 0,#e8f6f2 0,transparent 34%),var(--bg)}.chatTopbar{display:flex;align-items:center;gap:12px;padding:0 20px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.chatTopbar select{margin-left:auto;border:1px solid var(--line);border-radius:10px;background:#fff;padding:9px 12px;color:var(--ink)}.limitBadge{padding:8px 11px;border-radius:999px;background:#fff3da;color:#8a5c11;font-size:12px;font-weight:700}.limitBadge.unlimited{background:var(--soft);color:var(--brand2)}.menuButton,.mobileBrand{display:none}.chatScroll{overflow:auto}.welcome{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px 130px;text-align:center}.welcomeMark{width:52px;height:52px;border-radius:17px;font-size:20px}.welcome h1{margin:22px 0 10px;font-size:clamp(32px,4vw,52px);letter-spacing:-.04em}.welcome>p{max-width:680px;margin:0;color:var(--muted);font-size:17px;line-height:1.65}.promptGrid{width:min(760px,100%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin-top:32px}.promptGrid button{min-height:80px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.88);padding:16px;text-align:left;color:var(--ink);display:flex;justify-content:space-between;gap:14px;cursor:pointer;box-shadow:0 8px 30px rgba(34,72,66,.04)}.promptGrid button:hover{border-color:#a7d7ce;transform:translateY(-1px)}.promptGrid span{color:var(--brand)}.freeNotice{margin-top:24px;display:grid;grid-gap:3px;gap:3px;color:var(--muted);font-size:13px}.freeNotice b{color:var(--brand2)}.messageStream{width:min(900px,100%);margin:0 auto;padding:30px 22px 150px}.chatMessage{display:grid;grid-template-columns:40px minmax(0,1fr);grid-gap:15px;gap:15px;padding:20px 0}.chatMessage.user{border-bottom:1px solid var(--line)}.messageIcon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#dce9e6;color:#48605b;font-size:11px;font-weight:800}.assistant .messageIcon{background:linear-gradient(145deg,#18a68f,#08705f);color:#fff}.messageBody{min-width:0}.messageText{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.messageText.plainText{white-space:pre-wrap}.messageText.markdownText{white-space:normal}.answerMeta{display:grid;grid-gap:12px;gap:12px;margin-top:16px}.specialty{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-radius:14px;background:var(--soft);border:1px solid #cfe9e2}.specialty span{font-size:12px;color:var(--brand2)}.specialty.urgency-emergency,.specialty.urgency-urgent{background:#fff2f4;border-color:#f1ccd2}.flags{display:grid;grid-gap:7px;gap:7px;padding:14px;border-radius:14px;background:#fff8ec;border:1px solid #f2dfba}.flags span{font-size:13px;color:#765e39}.clinicList{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.clinicHeading{display:flex;justify-content:space-between;padding:12px 15px;background:#f4f8f7;border-bottom:1px solid var(--line)}.clinicHeading span{font-size:10px;color:var(--muted);text-transform:uppercase}.clinicList article{display:grid;grid-template-columns:42px 1fr auto;grid-gap:12px;gap:12px;align-items:center;padding:14px 15px;border-bottom:1px solid var(--line)}.clinicList article:last-child{border-bottom:0}.clinicLetter{width:42px;height:42px;border-radius:13px;background:var(--soft);color:var(--brand);display:grid;place-items:center;font-weight:800}.clinicList article>div:nth-child(2){display:grid;grid-gap:3px;gap:3px}.clinicList article small,.clinicList article span{color:var(--muted);font-size:12px}.clinicList article a{padding:9px 12px;border-radius:10px;background:var(--brand);color:#fff;text-decoration:none;font-size:13px}.typing{display:flex;gap:5px;padding-top:12px}.typing i{width:7px;height:7px;border-radius:50%;background:var(--brand);animation:pulse 1.1s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,to{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}.chatError{margin:14px 0;padding:13px 14px;border-radius:12px;background:#fff0f2;color:var(--danger);display:flex;justify-content:space-between;gap:12px}.chatError button{border:0;border-radius:8px;background:var(--danger);color:#fff;padding:7px 10px}.composerDock{padding:12px 20px 14px;background:linear-gradient(180deg,rgba(245,248,247,0),rgba(245,248,247,.94) 25%,var(--bg) 55%)}.chatComposer{width:min(900px,100%);margin:0 auto;display:flex;align-items:flex-end;gap:10px;padding:8px;border:1px solid #cfded9;border-radius:20px;background:#fff;box-shadow:0 14px 40px rgba(29,66,59,.12)}.chatComposer textarea{flex:1 1;min-height:46px;max-height:180px;resize:none;border:0;outline:0;padding:11px 13px;font-size:16px;background:transparent}.chatComposer>button{width:44px;height:44px;border:0;border-radius:14px;background:var(--brand);color:#fff;font-size:22px;cursor:pointer}.chatComposer>button:disabled{opacity:.35}.composerDock small{display:block;text-align:center;color:#8d9996;margin-top:8px;font-size:11px}.sidebarBackdrop{display:none}.modalBackdrop{position:fixed;inset:0;z-index:50;background:rgba(9,24,21,.55);display:grid;place-items:center;padding:20px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.authModal{position:relative;width:min(430px,100%);border-radius:24px;background:#fff;padding:30px;box-shadow:0 30px 90px rgba(0,0,0,.28)}.authModal h2{margin:18px 0 6px}.authModal p{margin:0 0 20px;color:var(--muted);line-height:1.5}.authModal form{display:grid;grid-gap:11px;gap:11px}.authModal input{height:48px;border:1px solid var(--line);border-radius:12px;padding:0 13px}.authModal form button{height:48px;border:0;border-radius:12px;background:var(--brand);color:#fff;font-weight:700}.modalClose{position:absolute;right:16px;top:14px;font-size:27px;color:var(--muted)}.modalClose,.switchAuth{border:0;background:transparent}.switchAuth{width:100%;margin-top:14px;color:var(--brand2);cursor:pointer}.authError{padding:10px;border-radius:10px;background:#fff0f2;color:var(--danger);font-size:13px}@media (max-width:800px){.inlineClinicScroller,.sponsoredClinicScroller{scrollbar-width:none}.inlineClinicScroller::-webkit-scrollbar,.sponsoredClinicScroller::-webkit-scrollbar{display:none}.chatPage{display:block}.chatSidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:min(86vw,320px);transform:translateX(-105%);transition:.25s}.chatSidebar.open{transform:translateX(0)}.sidebarBackdrop{display:block;position:fixed;z-index:35;inset:0;border:0;background:rgba(5,18,15,.45)}.chatTopbar{height:60px;padding:0 12px}.menuButton{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:var(--soft);color:var(--brand2);font-size:18px}.mobileBrand{display:flex}.mobileBrand b{font-size:15px}.mobileBrand span{width:32px;height:32px;border-radius:10px;font-size:12px}.chatTopbar select{max-width:120px;padding:8px}.limitBadge{display:none}.welcome{justify-content:flex-start;padding:70px 16px 120px}.welcome h1{font-size:34px}.welcome>p{font-size:15px}.promptGrid{grid-template-columns:1fr}.messageStream{padding:18px 14px 130px}.chatMessage{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:16px 0}.messageIcon{width:34px;height:34px;border-radius:10px}.messageText{font-size:16px}.clinicList article{grid-template-columns:36px 1fr}.clinicLetter{width:36px;height:36px}.clinicList article a{grid-column:2;width:max-content}.composerDock{padding:9px 10px calc(10px + env(safe-area-inset-bottom))}.chatComposer{border-radius:17px}.composerDock small{font-size:9px;padding:0 10px}.authModal{padding:24px;border-radius:20px}}.inlineFlags{margin-top:14px}.osmAttribution{margin-top:18px;padding:12px 4px;color:var(--muted);font-size:11px;line-height:1.5;text-align:center}.osmAttribution a{color:var(--brand2);text-decoration:underline}.legalModalBackdrop{padding:20px;overflow-y:auto}.legalNoticeModal{width:min(620px,100%);margin:auto;padding:34px;border:1px solid rgba(14,139,118,.14);border-radius:26px;background:#fff;box-shadow:0 30px 90px rgba(18,42,37,.22)}.legalNoticeMark{display:grid;place-items:center;width:48px;height:48px;margin-bottom:18px;border-radius:15px;background:linear-gradient(145deg,#19ad94,#0b7564);color:#fff;font-weight:900}.legalNoticeEyebrow{display:block;margin-bottom:7px;color:var(--brand);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.legalNoticeModal h2{margin:0;color:var(--ink);font-size:27px;line-height:1.2;letter-spacing:-.025em}.legalNoticeLead{margin:13px 0 20px;color:var(--muted);font-size:15px;line-height:1.65}.legalNoticeWarning{padding:17px 18px;border:1px solid #f0dfb6;border-radius:16px;background:#fff9eb}.legalNoticeWarning strong{color:#77520d}.legalNoticeWarning p{margin:7px 0 0;color:#725f3b;font-size:14px;line-height:1.55}.legalConsentList,.registrationConsents{display:grid;grid-gap:13px;gap:13px;margin:20px 0}.legalConsentList label,.registrationConsents label{display:flex;align-items:flex-start;gap:11px;color:#465853;font-size:13px;line-height:1.5;cursor:pointer}.legalConsentList input,.registrationConsents input{width:18px!important;height:18px!important;min-width:18px;margin:2px 0 0!important;padding:0!important;accent-color:var(--brand)}.legalConsentList a,.registrationConsents a{color:var(--brand2);font-weight:700;text-decoration:none}.legalConsentList a:hover,.registrationConsents a:hover{text-decoration:underline}.legalAcceptButton{width:100%;height:48px;border:0;border-radius:14px;background:var(--brand);color:#fff;font-weight:800;cursor:pointer}.legalAcceptButton:hover:not(:disabled){background:var(--brand2)}.legalAcceptButton:disabled{cursor:not-allowed;opacity:.45}.legalNoticeModal>small{display:block;margin-top:14px;color:var(--muted);font-size:11px;line-height:1.5;text-align:center}@media (max-width:640px){.legalModalBackdrop{align-items:flex-end;padding:0}.legalNoticeModal{width:100%;max-height:94dvh;padding:25px 20px;overflow-y:auto;border-radius:24px 24px 0 0}.legalNoticeModal h2{font-size:23px}}.legalAgeNotice{margin:0 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:13px;background:#f7faf9;color:var(--muted);font-size:12px;line-height:1.55}.historyItem{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;grid-gap:4px;gap:4px}.historyItem>button:first-child{width:100%}.historyItem .historyDelete{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:transparent;color:#78908a;font-size:18px;cursor:pointer;opacity:0;transition:opacity .15s ease,background .15s ease,color .15s ease}.historyItem .historyDelete:focus-visible,.historyItem:hover .historyDelete{opacity:1}.historyItem .historyDelete:hover{background:rgba(255,255,255,.1);color:#fff}@media (max-width:900px){.historyItem .historyDelete{opacity:1}}.registeredClinicLabel{display:inline-flex;align-items:center;width:-moz-fit-content;width:fit-content;margin-top:4px;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:600;background:#eef7f3;color:#23765a}.markdownText>:first-child{margin-top:0}.markdownText>:last-child{margin-bottom:0}.markdownText p{margin:0 0 6px}.messageText p:empty{display:none}.markdownText h2,.markdownText h3,.markdownText h4{margin:12px 0 4px;line-height:1.3;letter-spacing:-.015em;color:inherit}.markdownText h2{font-size:17px}.markdownText h3,.markdownText h4{font-size:15px}.markdownText strong{font-weight:700}.markdownText ol,.markdownText ul{margin:0 0 7px;padding-left:21px}.markdownText li{margin:1px 0;padding-left:2px}.markdownText li>p{margin:0}.markdownText h2+ol,.markdownText h2+p,.markdownText h2+ul,.markdownText h3+ol,.markdownText h3+p,.markdownText h3+ul,.markdownText h4+ol,.markdownText h4+p,.markdownText h4+ul,.markdownText p+ol,.markdownText p+ul{margin-top:0}.markdownText ol+h2,.markdownText ol+h3,.markdownText ol+h4,.markdownText ul+h2,.markdownText ul+h3,.markdownText ul+h4{margin-top:10px}.markdownText ol+p,.markdownText ul+p{margin-top:4px}.markdownText li ol,.markdownText li ul{margin:2px 0}.markdownText blockquote{margin:8px 0;padding:7px 11px;border-left:3px solid var(--brand);background:var(--soft)}.markdownText blockquote>:last-child{margin-bottom:0}.inlineRecommendations{min-width:0;margin-top:20px;padding:14px 0 2px;border-top:1px solid var(--line)}.inlineRecommendationsHeader{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:11px}.inlineRecommendationsHeader>div{min-width:0;display:grid;grid-gap:3px;gap:3px}.inlineRecommendationsHeader span{color:var(--muted);font-size:11px;font-weight:600}.inlineRecommendationsHeader b{color:var(--ink);font-size:14px}.inlineRecommendationsHeader small{flex:0 0 auto;color:var(--brand2);font-size:10px;white-space:nowrap}.inlineClinicScroller,.sponsoredClinicScroller{display:flex;gap:10px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:2px 2px 8px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#bcd8d1 transparent}.inlineClinicScroller::-webkit-scrollbar,.sponsoredClinicScroller::-webkit-scrollbar{height:5px}.inlineClinicScroller::-webkit-scrollbar-thumb,.sponsoredClinicScroller::-webkit-scrollbar-thumb{border-radius:999px;background:#bcd8d1}.inlineClinicScroller::-webkit-scrollbar-track,.sponsoredClinicScroller::-webkit-scrollbar-track{background:transparent}.recommendationClinicCard{flex:0 0 285px;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;gap:11px;padding:14px;border:1px solid #dce8e5;border-radius:16px;background:#fff;box-shadow:0 7px 24px rgba(24,67,59,.055)}.recommendationClinicCard:hover{border-color:#abd4cb}.recommendationClinicCard.sponsored{border-color:#a9d9ce;background:linear-gradient(145deg,#fbfefd,#f2faf8)}.recommendationClinicTop{min-width:0;display:flex;align-items:center;gap:10px}.recommendationClinicLetter{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--soft);color:var(--brand);font-size:14px;font-weight:800}.recommendationClinicCard.sponsored
.recommendationClinicLetter{background:#dff3ee}.recommendationClinicTitle{min-width:0;display:grid;grid-gap:2px;gap:2px}.recommendationClinicTitle strong{overflow:hidden;color:var(--ink);font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.recommendationClinicTitle span{color:var(--brand2);font-size:10px}.recommendationClinicAddress{min-width:0;display:grid;grid-template-columns:16px minmax(0,1fr);grid-gap:6px;gap:6px;color:var(--muted);font-size:11px;line-height:1.45}.recommendationClinicCompactAddress{min-width:0;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.recommendationClinicPhone{width:max-content;color:var(--brand2);font-size:12px;font-weight:650;text-decoration:none}.recommendationClinicBottom{min-height:34px;margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}.recommendationClinicPrice{color:var(--ink);font-size:12px;font-weight:700}.recommendationClinicAction{flex:0 0 auto;min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:10px;background:var(--brand);color:#fff;font-size:11px;font-weight:750;text-decoration:none;transition:background .16s ease,transform .16s ease}.recommendationClinicAction:hover{background:var(--brand2);transform:translateY(-1px)}.sponsoredClinicsStrip{width:min(900px,100%);margin:0 auto 7px;padding:7px 9px 3px;border:1px solid rgba(14,139,118,.16);border-radius:16px;background:rgba(255,255,255,.88);box-shadow:0 7px 25px rgba(29,66,59,.055);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.sponsoredStripHeading{display:flex;align-items:center;gap:8px;padding:0 2px 6px}.sponsoredStripHeading>span{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:999px;background:#e2f4ef;color:var(--brand2);font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.sponsoredStripHeading small{display:inline;margin:0;padding:0;text-align:left;color:var(--muted);font-size:10px}.sponsoredClinicScroller{padding-bottom:5px}.recommendationClinicCard.compact{flex-basis:245px;min-height:82px;gap:6px;padding:9px 10px;border-radius:13px;box-shadow:none}.recommendationClinicCard.compact
.recommendationClinicLetter{width:32px;height:32px;border-radius:9px;font-size:12px}.recommendationClinicCard.compact
.recommendationClinicTitle strong{font-size:12px}.recommendationClinicCard.compact
.recommendationClinicBottom{min-height:29px}.recommendationClinicCard.compact
.recommendationClinicAction{min-height:29px;padding:0 10px;border-radius:8px;font-size:10px}.recommendationClinicCard.compact
.recommendationClinicPrice{font-size:10px}@media (max-width:800px){.inlineRecommendations{margin-top:16px}.inlineRecommendationsHeader{align-items:flex-start;flex-direction:column;gap:3px}.inlineRecommendationsHeader small{white-space:normal}.recommendationClinicCard{flex-basis:min(270px,calc(100vw - 76px))}.sponsoredClinicsStrip{margin-bottom:7px;padding:7px 8px 3px;border-radius:14px}.sponsoredStripHeading{padding-bottom:5px}.recommendationClinicCard.compact{flex-basis:min(230px,calc(100vw - 52px));min-height:78px}.composerDock{padding:8px 10px calc(10px + env(safe-area-inset-bottom))}}@media (max-width:480px){.inlineClinicScroller,.sponsoredClinicScroller{gap:8px}.recommendationClinicCard{padding:12px}.recommendationClinicCard.compact{flex-basis:218px}.sponsoredStripHeading small{display:none}}