/* Amethyst + pearl. Existing TalkMed identity and patient flows are preserved. */
:root{
 --care-violet:#70449b;--care-lilac:#f0e8fa;--care-lilac-border:#d9c3ed;
 --light-amethyst:#7247a7;--light-deep:#503176;--light-ink:#213b53;
 --light-pearl:#fdfcff;--light-aqua:#d5f3ed;
}
body{background:radial-gradient(ellipse at 90% 0,#e5d7f5 0,transparent 48%),radial-gradient(ellipse at 0 80%,#d8f1ec 0,transparent 48%),#edf1f7}
.topbar{background:#ffffffdf;border-bottom:1px solid #ffffff;box-shadow:0 4px 22px #51377805;backdrop-filter:blur(18px)}
#main{background:radial-gradient(ellipse at 97% 2%,#e9daf58a 0,transparent 35%),radial-gradient(ellipse at 0 46%,#dbf6ed66 0,transparent 35%),linear-gradient(140deg,#fcfdff,#fbfaff 52%,#f8fcfb);border-color:#ffffff;box-shadow:0 20px 70px #5a3c8410,0 1px 0 #fff inset}
.sidebar .identity strong{color:#374d66}.sidebar-foot{background:linear-gradient(140deg,#e6f5ee,#e9e1f6);border-color:#ffffffc9;box-shadow:0 7px 22px #59458207}.sidebar-foot strong{color:#594078}
.nav-button.active{background:linear-gradient(120deg,#087d85 0%,#496292 56%,#754aa4 100%);box-shadow:0 7px 19px #67419222,0 1px 0 #ffffff30 inset}.nav-button.active:hover{background:linear-gradient(120deg,#0a6c77,#6b429b);color:white}
.role-switch{background:#f0edf6;border-color:#e8e1f0}.role-switch button[aria-pressed=true],.role-switch button[aria-pressed=true]:hover{color:#6a4790;background:white;box-shadow:0 3px 12px #6c4b8f12}
/* A pearl edge changes color around the contact card, without affecting its content. */
.care-contact{isolation:isolate;border:1px solid transparent;border-radius:30px;background:radial-gradient(ellipse at 100% 0,#e7d6f9a6 0,transparent 49%) padding-box,linear-gradient(142deg,#ffffffed 30%,#fcf9ff 70%,#f0faf8) padding-box,linear-gradient(135deg,#ffffff,#d9c1ef 35%,#ffffff 57%,#bee6df 83%,#eee0fa) border-box;box-shadow:0 22px 60px #71509916,0 6px 18px #b191d70d,0 1px 0 white inset;backdrop-filter:blur(14px);overflow:hidden}
.care-contact:after{display:none}
.care-contact:before{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(110deg,transparent 28%,#ffffffa6 42%,#fff 48%,#ffffff4d 54%,transparent 68%);transform:translateX(-125%);opacity:0;pointer-events:none}
.care-contact>:not(.light-dust){position:relative;z-index:1}
.care-contact-heading{padding-bottom:9px}.care-contact-heading .eyebrow{color:#704798;font-size:.75rem;font-weight:600;letter-spacing:.13em}.care-contact h2{color:#49366d;font-size:clamp(1.7rem,2.2vw,2rem);line-height:1.28}
.care-doctor{padding-top:14px}.care-doctor .avatar{border:3px solid white;outline:1px solid #d4c0e7;box-shadow:0 10px 25px #704a9720,0 0 0 7px #f5edfcbd;background:#e8f2f7}.care-doctor h3{color:#303d5e}.care-doctor p{color:#576985}
.care-doctor-meta .verification-badge{border-color:#d7c8e9;color:#654189;background:#f8f3ffcc}.care-doctor-meta .verification-badge:hover{background:#eee2fa;border-color:#b99bda}.care-doctor-meta>span{color:#66748b}
.care-languages{padding-top:2px;color:#516d80}.care-availability{width:fit-content;max-width:100%;padding:8px 12px;background:#eaf7f0b8;border:1px solid #d6ecdf;border-radius:11px;font-size:.8125rem;line-height:1.6}
.care-conversation-note{background:linear-gradient(120deg,#efe5fa,#f6f1fc 70%,#f4faf9);border:1px solid #dfceef;padding:18px;border-radius:18px;box-shadow:0 1px 0 #fff inset}.care-conversation-note p{color:#60467c;line-height:1.8}.care-note-icon{color:#8756af}
.care-contact>.btn-primary{background:linear-gradient(112deg,#6f44a2,#8653b3 57%,#6d4b9a);color:#fff;border-color:#7549a4;box-shadow:0 9px 23px #784cab2b,0 1px 0 #ffffff45 inset;min-height:54px;letter-spacing:.005em;transition:box-shadow .25s,transform .25s,background .25s}
.care-contact>.btn-primary:hover{background:linear-gradient(112deg,#63368f,#7c49a8 58%,#5f3d8a);box-shadow:0 13px 29px #784cab38,0 1px 0 #ffffff3d inset;transform:translateY(-1px)}
.care-contact>.btn-primary:active{transform:translateY(0);box-shadow:0 4px 13px #754daa26}.care-send-note{color:#6c7189;font-size:.8125rem;line-height:1.8}.care-profile-link{color:#775294;font-size:.875rem}.care-all-doctors{border-color:#e5dcec;color:#466d81;font-size:.875rem}
/* Light points stay near the edges, behind text, and never intercept interaction. */
/* Visible, permanent glitter on the margins. The reading area stays clear. */
.light-dust{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden;border-radius:inherit;background:
 radial-gradient(circle at 76% 1.6%,#9c75be 0 1px,transparent 1.8px),radial-gradient(circle at 83% 2.8%,#ffffff 0 2px,transparent 2.8px),
 radial-gradient(circle at 88% 1.2%,#a37bc2 0 1.5px,transparent 2.2px),radial-gradient(circle at 94% 3.8%,#b18acb 0 2px,transparent 2.8px),
 radial-gradient(circle at 98% 8%,#8e64b4 0 1.4px,transparent 2px),radial-gradient(circle at 94.5% 11.5%,#fff 0 2.4px,transparent 3.3px),
 radial-gradient(circle at 98% 15%,#ab84c7 0 2px,transparent 2.7px),radial-gradient(circle at 96% 21%,#8659ab 0 1px,transparent 1.8px),
 radial-gradient(circle at 98% 30%,#b194d2 0 1.6px,transparent 2.3px),radial-gradient(circle at 97% 44%,#fff 0 2px,transparent 2.8px),
 radial-gradient(circle at 98.5% 64%,#9c78bd 0 1.6px,transparent 2.5px),radial-gradient(circle at 96% 68%,#fff 0 2px,transparent 3px),
 radial-gradient(circle at 98% 73%,#aa85c6 0 1px,transparent 1.8px),radial-gradient(circle at 2% 77%,#a27dc0 0 1.4px,transparent 2.1px),
 radial-gradient(circle at 4% 82%,#fff 0 2px,transparent 2.8px),radial-gradient(circle at 2% 87%,#9770b5 0 1.8px,transparent 2.5px),
 radial-gradient(circle at 5% 92%,#b49acd 0 1.5px,transparent 2.2px),radial-gradient(circle at 8% 97%,#a981c5 0 1.5px,transparent 2.3px),
 radial-gradient(circle at 14% 98%,#fff 0 2.4px,transparent 3.2px),radial-gradient(circle at 21% 97.8%,#9c79bd 0 1px,transparent 1.8px),
 radial-gradient(circle at 29% 99%,#c1a4d8 0 1.5px,transparent 2.3px)}
.light-dust i,.welcome-glitter i{position:absolute;display:block;width:18px;height:18px;opacity:1;pointer-events:none;background:
 radial-gradient(ellipse 12% 50% at 50% 50%,#ffffff 0 15%,#9162b5 25%,#b99bd780 62%,transparent 95%),
 radial-gradient(ellipse 50% 12% at 50% 50%,#ffffff 0 15%,#9162b5 25%,#b99bd780 62%,transparent 95%);
 filter:drop-shadow(0 0 3px #b58dd24d)}
.light-dust i:nth-child(1){top:2%;right:10%;width:24px;height:24px}.light-dust i:nth-child(2){top:12%;right:1.5%;width:18px;height:18px}.light-dust i:nth-child(3){bottom:9%;left:1%;width:20px;height:20px}.light-dust i:nth-child(4){bottom:28%;right:1%;width:15px;height:15px}.light-dust i:nth-child(5){top:.9%;right:23%;width:12px;height:12px}.light-dust i:nth-child(6){bottom:.6%;left:18%;width:16px;height:16px}
.welcome-glitter{position:absolute;top:-3px;right:0;width:78px;height:47px;pointer-events:none;background:
 radial-gradient(circle at 25% 14%,#9670b8 0 1px,transparent 1.8px),radial-gradient(circle at 45% 65%,#c0a0d8 0 1.7px,transparent 2.3px),
 radial-gradient(circle at 83% 20%,#a77bc5 0 1.2px,transparent 2px),radial-gradient(circle at 72% 88%,#9366b8 0 1px,transparent 1.8px),
 radial-gradient(circle at 6% 64%,#c4a8dc 0 1.5px,transparent 2.2px),radial-gradient(circle at 97% 65%,#ad8bcb 0 1px,transparent 1.8px)}
.welcome-glitter i:nth-child(1){width:26px;height:26px;top:9px;left:15px}.welcome-glitter i:nth-child(2){width:15px;height:15px;top:0;right:13px}.welcome-glitter i:nth-child(3){width:13px;height:13px;right:5px;bottom:2px}
/* Amethyst headline and translucent choices, retaining turquoise as an anchor. */
.care-welcome{position:relative}.care-welcome>.eyebrow{color:#6e558e;font-weight:600;letter-spacing:.14em}.care-welcome h1{color:#283e56;line-height:1.16;letter-spacing:-.035em}.care-welcome h1 em{color:#7950a8;text-shadow:0 5px 25px #b698d217}
.care-intro{color:#5c7085;font-size:1.0625rem;line-height:1.85}.care-needs legend{font-size:.9375rem;color:#344f67}
.care-need{background:#ffffffb5;border-color:#dedfeb;box-shadow:0 4px 14px #5c3e7b05,0 1px 0 #fff inset;backdrop-filter:blur(8px)}.care-need:hover{background:#fff;border-color:#b3a0cf;box-shadow:0 9px 23px #74559410}
.care-need.selected{border-color:#8ac8be;background:linear-gradient(115deg,#e0f5ed,#f4fcfa);box-shadow:0 7px 24px #087d7810,0 1px 0 #fff inset}
.care-need:nth-of-type(2){border-color:#ded3ed}.care-need:nth-of-type(2).selected{background:linear-gradient(115deg,#e9dcf8,#f9f4fe);border-color:#b490d4;box-shadow:0 7px 24px #7752a017,0 1px 0 #fff inset}.care-need:nth-of-type(2) .care-need-icon{background:linear-gradient(140deg,#e6d6f7,#f4edfc);color:#744ca0;box-shadow:0 3px 9px #70489b0d}.care-need:nth-of-type(2).selected .care-need-icon{background:#dccaef;color:#653b94}
.care-need:nth-of-type(3) .care-need-icon{color:#4e6d98;background:linear-gradient(140deg,#e4eaf8,#f0f7fc)}.care-need strong{color:#304f68}.care-need small{color:#60778a;font-size:.875rem}
.care-topline .pseudonym-pill{background:#ffffffba;border-color:#e0d9eb;color:#6d538b;box-shadow:0 4px 12px #66458808}.care-topline .pseudonym-pill svg{color:#9270ac}.care-bottom{border-color:#dddde9}.care-bottom strong{color:#675181}
.entry-choices{background:#efebf4a1;border:1px solid #ffffff;border-radius:17px;padding:5px;box-shadow:0 3px 13px #60488408,0 1px 0 #ddd1e633 inset}.entry-choices button{font-size:.875rem}.entry-choices button[aria-pressed=true]{background:linear-gradient(120deg,#fff,#faf5ff);border-color:#dbcaee;color:#704891;box-shadow:0 4px 12px #70439712,0 1px 0 #fff inset}
/* Carry the pearl finish into existing follow-up and education surfaces. */
.care-section-heading h2{color:#3f3b60}.care-section-heading .violet-kicker{color:#785499;font-size:.75rem;letter-spacing:.11em}.care-section-heading .text-link{font-size:.875rem}
.guide-card{border:1px solid transparent;background:linear-gradient(145deg,#fff,#f0e7fa) padding-box,linear-gradient(140deg,#fff,#d4bbe9) border-box;box-shadow:0 8px 25px #694b8b08,0 1px 0 white inset;border-radius:22px}.guide-card:nth-child(2){background:linear-gradient(145deg,#fff,#e7f5ef) padding-box,linear-gradient(140deg,#fff,#bfe3d9) border-box}.guide-card:nth-child(3){background:linear-gradient(145deg,#fff,#ececfb) padding-box,linear-gradient(140deg,#fff,#d1cbe9) border-box}.guide-card:hover{border-color:#bba0d3;box-shadow:0 15px 30px #70479315}
.guide-card h3{color:#403956;font-size:1.0625rem}.guide-card p{font-size:.9375rem;line-height:1.75;color:#5d7084}.guide-link{font-size:.875rem;color:#745191}.guide-icon{border-color:#dac4ee;background:linear-gradient(135deg,#e4d3f5,#f7f1fd);color:#794ba6;box-shadow:0 4px 12px #7751a00d,0 1px 0 #fff inset}
.request-card{border:1px solid #dcd6e9;background:linear-gradient(110deg,#fff 50%,#f4eefb);box-shadow:0 8px 24px #67468c09}.request-card-icon{background:linear-gradient(135deg,#e5d6f5,#f5edfc);color:#78519d;border:1px solid #e2d0f0}.request-status{font-size:.875rem}.request-status.status-waiting,.request-status.status-orientation{background:#ede2f8;color:#67458e}.request-card small,.request-card>span:nth-child(2)>span{font-size:.8125rem}
.care-form{border-color:#ddd6e8;background:linear-gradient(135deg,#fff 70%,#f9f5fd);box-shadow:0 12px 30px #6d4c8d09}.care-form .btn-primary{background:linear-gradient(110deg,#0b7a81,#526091 60%,#734ba0);border-color:#52658d;box-shadow:0 7px 19px #70529820}.care-form .btn-primary:hover{background:linear-gradient(110deg,#096a75,#66428f)}.care-form label:not(.care-check),.care-check{font-size:.875rem}.care-form label small,.care-demo-note{font-size:.8125rem}
.conversation-head{background:linear-gradient(110deg,#e1f3ef,#ece2f7);border-color:#ded9e9}.chat-log{background:radial-gradient(ellipse at 100% 3%,#e8d9f55c,transparent 55%),#f8fbfd}.conversation-starters button{border-color:#dcd0e8;background:#f8f3fc;color:#6a4a89}.conversation-starters button:hover{border-color:#b69acb;background:#eee1f8}.mine .bubble{background:linear-gradient(125deg,#087c81,#426887 65%,#715095)}
.oncologist-card{border-color:#dedbe9;box-shadow:0 8px 24px #5e458509}.oncologist-card:hover{border-color:#c2a7d9;box-shadow:0 17px 38px #6b4b9015}.oncologist-cover{background:linear-gradient(120deg,#e2f3ed,#ede4f8);border-color:#e1dbea}.physician-chen .oncologist-cover,.physician-kovac .oncologist-cover,.physician-moreau .oncologist-cover{background:linear-gradient(120deg,#e6eaf6,#eee0fa 75%,#f8f4fd)}
.oncologist-photo>.avatar{outline:1px solid #d8c7e7;box-shadow:0 8px 21px #7453931b}.network-strip{background:linear-gradient(112deg,#086f80,#3b608d 65%,#72449c);border-color:#ffffff2e;box-shadow:0 12px 28px #62518d1a}.directory-controls{border-color:#ffffff;background:#ffffffdb;box-shadow:0 8px 26px #75548d09}.directory-tools .search:focus-within{border-color:#a188bd;box-shadow:0 0 0 3px #e8def6}
.care-contact .btn:focus-visible,.care-need:focus-visible,.guide-card:focus-visible,.request-card:focus-visible,.entry-choices button:focus-visible{outline:3px solid #8b62b3;outline-offset:4px}
/* One short arrival of light, then a still, restful surface. No looping animation. */
@keyframes pearl-arrival{0%{transform:translateX(-125%);opacity:0}18%{opacity:.2}70%{opacity:.18}100%{transform:translateX(125%);opacity:0}}
@keyframes light-settle{0%{opacity:.72;transform:scale(.9)}48%{opacity:1;transform:scale(1.12)}100%{opacity:1;transform:scale(1)}}
.page-enter .care-contact:before{animation:pearl-arrival 3.8s .3s ease-in-out both}.page-enter .light-dust i,.page-enter .welcome-glitter i{animation:light-settle 3.2s .2s ease-in-out both}.page-enter .light-dust i:nth-child(2){animation-delay:.5s}.page-enter .light-dust i:nth-child(3){animation-delay:.8s}
@media(hover:hover){.care-contact:hover .light-dust i{opacity:1;transition:opacity .6s}.care-contact:hover{box-shadow:0 25px 65px #7150991c,0 6px 18px #b191d70d,0 1px 0 white inset}}
@media(min-width:1550px){.care-contact{padding:34px;border-radius:33px}}
@media(max-width:1150px){.care-contact{border-radius:27px}.care-contact h2{font-size:1.75rem}.care-need small{font-size:.875rem}}
@media(max-width:740px){
 body{background:#eee8f5}.topbar{background:linear-gradient(110deg,#fff 35%,#f3ebfb);border-bottom:0;backdrop-filter:none;box-shadow:none}
 #main{background:radial-gradient(ellipse at 100% 0,#e6d4f578 0,transparent 34%),radial-gradient(ellipse at 0 45%,#ddf3ed70,transparent 38%),#fbfcfe;box-shadow:0 -5px 25px #71489008}
 .care-welcome h1{font-size:2.4rem;line-height:1.18}.care-intro{font-size:1rem;line-height:1.8}.care-welcome>.eyebrow{font-size:.75rem}
 .care-contact{border-radius:27px;padding:25px 23px;gap:16px}.care-contact h2{font-size:1.9rem}.care-contact-heading{padding-bottom:6px}.care-doctor{padding-top:9px}.care-doctor h3{font-size:1.1875rem}.care-conversation-note{padding:16px}.care-conversation-note p{font-size:1rem}.care-contact>.btn-primary{font-size:1rem;min-height:54px}.care-send-note{font-size:.8125rem}.light-dust i:nth-child(1){right:10%;top:1.3%}.welcome-glitter{top:-7px;width:64px;height:40px}.welcome-glitter i:nth-child(1){width:24px;height:24px;left:7px;top:9px}
 .care-topline>span{font-size:.875rem}.care-topline .pseudonym-pill{font-size:.8125rem;line-height:1.5}.care-needs legend{font-size:.9375rem}.care-need{min-height:64px;border-radius:18px}.care-need strong{font-size:1rem}.care-need-icon{width:37px;height:38px;border-radius:13px}
 .home-entry{margin-bottom:22px}.entry-choices button{font-size:.875rem;min-height:46px}
 .guide-card{padding:21px 19px;border-radius:20px}.guide-card h3{font-size:1rem}.guide-card p{font-size:.875rem;line-height:1.8}.guide-link{font-size:.875rem}.care-section-heading .text-link{font-size:.875rem;max-width:125px;line-height:1.6}.care-section-heading .violet-kicker{font-size:.75rem;line-height:1.6}
 .request-card small,.request-card>span:nth-child(2)>span{font-size:.8125rem;line-height:1.6}.request-status{font-size:.875rem}.care-help-footer{font-size:.8125rem}.care-help-footer .text-link{font-size:.875rem}
 .mobile-nav{background:#fffffff0;border-color:#e4d9ef;box-shadow:0 12px 32px #60408120,0 0 0 5px #ffffff87;backdrop-filter:blur(20px)}.mobile-nav button{color:#746481;font-size:.875rem}.mobile-nav button.active{color:#fff;background:linear-gradient(135deg,#167d88,#656097 70%,#784da5);box-shadow:0 6px 17px #76559b29,0 1px 0 #ffffff35 inset}.mobile-nav button.active svg{color:#fff}
}
@media(max-width:370px){.care-welcome h1{font-size:2.18rem}.care-contact{padding:23px 19px}.care-contact h2{font-size:1.75rem}.care-need strong{font-size:.9375rem}.care-topline{flex-wrap:wrap}.care-topline>span{max-width:none}.care-section-heading{flex-wrap:wrap}.care-section-heading .text-link{max-width:none;text-align:left}.guide-card{padding:19px 16px}}
@media(prefers-reduced-motion:reduce){.care-contact:before{display:none}.page-enter .light-dust i,.page-enter .welcome-glitter i{animation:none!important}.care-contact>.btn-primary,.light-dust i{transition:none!important}.care-contact>.btn-primary:hover{transform:none}}
@media(forced-colors:active){.light-dust,.welcome-glitter,.care-contact:before{display:none}.care-contact,.care-need,.guide-card,.request-card{background:Canvas;border:1px solid CanvasText}.care-welcome h1 em{color:CanvasText}.care-contact>.btn-primary{background:ButtonFace;color:ButtonText;border-color:ButtonText}}
