@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');
:root{--teal:#51978f;--teal-dark:#347f78;--teal-pale:#effbf8;--ink:#172b42;--muted:#728198;--line:#e4e8ed;--paper:#f6f8fa;--white:#fff;--red:#d64d48;--purple:#8d39dc;--shadow:0 2px 4px #13243b12,0 7px 20px #13243b08}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px 'DM Sans',system-ui,sans-serif}.app-shell{min-height:100vh;padding-bottom:92px}.app-header{background:#fff;min-height:64px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;padding:10px 22px}.header-inner{width:min(960px,100%);display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{font:800 19px Manrope,sans-serif;color:var(--teal-dark)}.brand small{display:block;font:500 11px 'DM Sans',sans-serif;color:var(--muted);margin-top:2px}.header-actions{display:flex;align-items:center;gap:10px}.demo-pill{font-size:11px;background:#f1f5f7;color:#6d7c8d;border-radius:20px;padding:7px 11px}.emergency{background:var(--red);color:white;border:0;border-radius:10px;padding:12px 20px;font-weight:700;cursor:pointer;box-shadow:var(--shadow)}
main{width:min(960px,100%);margin:0 auto;padding:24px 22px 32px}.hero{background:linear-gradient(115deg,#52988f,#5291a3);color:white;border-radius:0 0 20px 20px;margin:-24px -22px 28px;padding:32px max(22px,calc((100% - 800px)/2));}.hero h1{font:800 27px Manrope,sans-serif;margin:0}.hero p{margin:4px 0 0;color:#e7f5f4}.hero-row{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.usage{margin-top:24px;background:#ffffff22;border-radius:14px;padding:15px 18px}.usage-top{display:flex;justify-content:space-between;margin-bottom:9px;color:#e8f7f5}.usage-count{font-weight:700;background:#ffffff30;border-radius:9px;padding:5px 12px}.progress{height:9px;background:#ffffff40;border-radius:9px;overflow:hidden}.progress span{display:block;width:0;height:100%;background:#e1f4ef;border-radius:9px}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.quick-card,.card,.provider-card{background:white;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.quick-card{min-height:142px;padding:22px 24px;cursor:pointer}.quick-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #13243b14}.quick-icon{width:48px;height:48px;display:grid;place-items:center;color:white;border-radius:16px;font-size:23px;margin-bottom:20px;background:linear-gradient(135deg,#64b7a5,#4b91ab)}.quick-icon.blue{background:linear-gradient(135deg,#5d7ff1,#5145dc)}.quick-icon.purple{background:linear-gradient(135deg,#ac4ee5,#cc3290)}.quick-icon.orange{background:linear-gradient(135deg,#ef9e32,#dc682d)}.quick-card h2{font-size:17px;margin:0 0 3px}.quick-card p{color:var(--muted);margin:0;font-size:14px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 13px}.section-head h2{font:700 19px Manrope,sans-serif;margin:0}.link-button{border:0;background:transparent;color:var(--teal-dark);font:inherit;cursor:pointer}.assessment-list{display:grid;gap:10px}.assessment{padding:14px 16px;display:flex;align-items:center;gap:14px}.pulse{height:44px;width:44px;border-radius:13px;background:#f0f3f8;display:grid;place-items:center;color:#64748b}.assessment-title{font-weight:600}.assessment-date{font-size:13px;color:var(--muted);margin-top:3px}.badge{margin-left:auto;border-radius:9px;padding:7px 12px;background:#fff3c8;color:#a76000;font-size:13px;font-weight:600}.badge.blue{background:#e4edff;color:#3657cc}.badge.green{background:#e4f6eb;color:#29754d}.badge.red{background:#fee7e5;color:#b12f2a}.hipaa-note{text-align:center;color:#8898ae;font-size:13px;margin:30px 0 0}.bottom-nav{position:fixed;z-index:5;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:8px 10px max(8px,env(safe-area-inset-bottom));display:flex;justify-content:center}.nav-inner{width:min(600px,100%);display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.nav-item{border:0;background:transparent;color:#75839a;border-radius:14px;padding:9px 4px 8px;cursor:pointer;font:600 12px 'DM Sans',sans-serif;display:grid;justify-items:center;gap:5px}.nav-item .nav-icon{font-size:21px;line-height:22px}.nav-item.active{background:var(--teal-pale);color:var(--teal-dark)}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:4px 0 22px}.page-heading h1{font:800 25px Manrope,sans-serif;margin:0}.page-heading p{margin:4px 0 0;color:var(--muted)}.card{padding:22px;margin-bottom:16px}.card h2{font:700 20px Manrope,sans-serif;margin:0}.card h3{font-size:16px;margin:0 0 10px}.field{display:grid;gap:8px;margin:16px 0}.field label{font-size:14px;font-weight:600;color:#42546b}.field input,.field textarea,.field select{width:100%;border:1px solid #dfe5eb;border-radius:9px;padding:13px 14px;font:inherit;color:var(--ink);background:white}.field textarea{min-height:116px;resize:vertical}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{border:0;background:#f0f3f7;border-radius:24px;padding:10px 14px;font:inherit;cursor:pointer;color:#334155}.primary-button{border:0;background:var(--teal);color:white;border-radius:9px;padding:13px 18px;font:700 15px 'DM Sans',sans-serif;cursor:pointer;width:100%}.muted-note{font-size:13px;color:var(--muted);text-align:center;line-height:1.6;margin-top:15px}.search-row{display:grid;grid-template-columns:1fr 190px 52px;gap:10px;margin-bottom:18px}.search-row input,.search-row select{border:1px solid var(--line);border-radius:9px;padding:12px;font:inherit;background:white}.tabs{display:flex;background:#f0f2f5;border-radius:12px;padding:4px;width:max-content;margin:18px 0}.tab{border:0;background:transparent;border-radius:9px;padding:9px 17px;font:600 14px 'DM Sans',sans-serif;color:#65748b;cursor:pointer}.tab.active{background:white;color:#1d2939;box-shadow:var(--shadow)}.provider-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.provider-card{padding:17px}.provider-top,.provider-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.provider-type{font-size:12px;background:#fff3c6;color:#965800;padding:5px 9px;border-radius:8px}.provider-card h3{font-size:17px;margin:12px 0 8px}.provider-detail{font-size:14px;color:#60718a;margin:8px 0}.provider-actions{margin-top:13px}.provider-actions button,.secondary-button{border:1px solid var(--line);background:white;border-radius:9px;padding:10px 12px;font:600 13px 'DM Sans',sans-serif;cursor:pointer;flex:1}.provider-actions .book{background:var(--teal);color:white;border-color:var(--teal)}.gradient-tele{background:linear-gradient(110deg,#923be0,#bd3290);color:white;border-radius:18px;padding:24px;margin-bottom:24px}.credit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#ffffff20;border-radius:13px;padding:16px;margin-top:20px}.credit-row button{background:white;border:0;border-radius:9px;padding:11px 16px;font-weight:700;cursor:pointer}.provider-wide{display:flex;align-items:center;gap:15px}.avatar{width:57px;height:57px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#9e48de,#cc4798);color:white;font-weight:700;font-size:18px;flex:0 0 auto}.provider-copy{flex:1}.provider-copy h3{margin:0 0 3px}.provider-copy p{margin:0;color:var(--muted)}.visit-steps{display:grid;gap:17px}.visit-step{display:flex;gap:14px;align-items:flex-start}.step-num{width:38px;height:38px;background:#f1e8ff;color:var(--purple);border-radius:50%;display:grid;place-items:center;font-size:18px}.empty-state{text-align:center;padding:52px 20px;color:var(--muted)}.empty-state .big-icon{font-size:46px;color:#cbd5e1}.profile-tabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%;margin:12px 0 22px}.profile-tabs .tab{width:100%}.profile-field{margin:0 0 15px}.profile-field label{display:block;font-weight:600;margin-bottom:7px}.profile-field input,.profile-field select{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;font:inherit}.button-row{display:flex;gap:12px;margin-top:18px}.button-row button{flex:1}.disclaimer{background:#fff8e9;border:1px solid #f5e7c3;border-radius:11px;padding:13px;color:#795e32;line-height:1.5;font-size:13px;margin-top:15px}.alert-box{background:#fff0ef;border:1px solid #f2c9c6;color:#9d302b;padding:15px;border-radius:10px}.modal{border:0;border-radius:16px;max-width:480px;width:calc(100% - 32px);padding:24px;box-shadow:0 20px 80px #10182855}.modal::backdrop{background:#13243b70}.toast{position:fixed;z-index:10;bottom:100px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#172b42;color:#fff;border-radius:10px;padding:12px 17px;font-size:14px;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:620px){.app-header{display:none}main{padding:18px 15px 24px}.hero{margin:-18px -15px 20px;padding:25px 17px}.hero h1{font-size:23px}.hero .emergency{padding:10px 12px;font-size:13px}.usage{margin-top:18px}.quick-grid{gap:11px}.quick-card{padding:17px;min-height:130px}.quick-icon{width:42px;height:42px;margin-bottom:15px}.quick-card h2{font-size:15px}.quick-card p{font-size:12px}.section-head h2{font-size:17px}.page-heading h1{font-size:22px}.page-heading p{font-size:13px}.page-heading .emergency{padding:10px 12px;font-size:13px}.search-row{grid-template-columns:1fr 52px}.search-row select{grid-column:1/-1;grid-row:2}.provider-list{grid-template-columns:1fr}.card{padding:18px}.provider-actions button{padding:10px 7px}.nav-item{font-size:11px}.button-row{flex-direction:column}.profile-tabs .tab{padding:9px 4px;font-size:13px}.location-row{align-items:flex-start;flex-direction:column;gap:7px}}
.provider-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.insurance-tag{font-size:11px;color:#287d4d;border:1px solid #ccefd6;border-radius:8px;padding:5px 8px}.filter-check{display:flex;align-items:center;gap:10px;padding:12px 4px;border-top:1px solid var(--line);font-size:14px}.filter-check input{width:18px;height:18px;accent-color:var(--teal)}.modal .button-row{margin-top:20px}.location-row{display:flex;align-items:center;gap:12px;margin-top:12px;color:var(--muted);font-size:12px}.location-row .secondary-button{flex:0 0 auto}
.symptom-chat-card{padding:0;overflow:hidden}.chat-demo-label{padding:12px 18px;background:#f0f7f6;border-bottom:1px solid var(--line);font-size:12px;color:#526d6b}.chat-thread{display:grid;gap:14px;padding:18px;max-height:390px;overflow-y:auto}.chat-message{max-width:88%;border-radius:14px;padding:11px 14px}.chat-message.assistant{justify-self:start;background:#f1f4f8}.chat-message.user{justify-self:end;background:#e3f4f0}.chat-speaker{font-size:11px;font-weight:700;color:#607189}.chat-message p{margin:5px 0 0;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.symptom-composer{border-top:1px solid var(--line);padding:16px 18px}.symptom-composer label{display:block;margin-bottom:8px;font-size:14px;font-weight:600;color:#42546b}.symptom-composer textarea{width:100%;min-height:88px;resize:vertical;border:1px solid #dfe5eb;border-radius:9px;padding:12px 14px;font:inherit;color:var(--ink)}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.composer-footer span{font-size:12px;color:var(--muted)}.composer-footer .primary-button{width:auto;min-width:112px}.symptom-chat-card>.disclaimer{margin:0;padding:12px 18px 18px;border-top:1px solid var(--line)}
.symptom-chip-label{margin:12px 0 8px;font-size:13px;color:var(--muted)}
.chat-demo-label p{margin:6px 0 0;line-height:1.45}.ai-status{display:block;color:#9b5b12;font-size:13px}.ai-status.connected{color:#28754c}.chat-sources{display:grid;gap:5px;border-top:1px solid #d9e2e8;margin-top:10px;padding-top:8px;font-size:12px}.chat-sources strong{color:#44566c}.chat-sources a{color:#276eaa;overflow-wrap:anywhere;text-decoration:underline}
@media(max-width:620px){.chat-message{max-width:96%}.composer-footer{align-items:flex-start;flex-direction:column}.composer-footer .primary-button{width:100%}}
.chat-error{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 18px;padding:12px;border:1px solid #efc8c5;border-radius:9px;background:#fff5f4;color:#8d302a}.chat-error .secondary-button{flex:0 0 auto;padding:8px 14px}
.chat-page-heading{align-items:flex-start}.chat-header-actions{flex:0 0 auto}
.visit-prep-modal{max-width:680px}.visit-prep-label{display:block;margin:12px 0 8px;font-weight:700}.visit-prep-text{width:100%;min-height:340px;resize:vertical;border:1px solid var(--line);border-radius:9px;padding:13px;font:14px/1.55 ui-monospace,Consolas,monospace;color:var(--ink);white-space:pre-wrap}.visit-prep-modal .button-row{flex-wrap:wrap}.visit-prep-modal .button-row button{min-width:130px}
@media(max-width:620px){.chat-page-heading{flex-wrap:wrap}.chat-header-actions{width:100%;justify-content:flex-start}.chat-header-actions button{padding:9px 12px;font-size:13px}}

/* Live nearby-care map */
.care-map{height:420px;min-height:320px;margin:12px 0 18px;border:1px solid var(--line);border-radius:14px;overflow:hidden;z-index:0}.distance-label{font-size:13px;color:#42546b;font-weight:600}.small-note{font-size:12px;color:var(--muted)}.loading-note{padding:12px 15px;background:#f0f7f6;border-radius:9px;color:#315e57}.provider-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.search-row .primary-button{width:auto;white-space:nowrap}.provider-card h3{overflow-wrap:anywhere}@media(max-width:620px){.care-map{height:340px}.search-row{flex-wrap:wrap}.search-row input{min-width:0;flex:1 1 100%}.search-row .primary-button{width:100%}}
