:root{--brand:#2767c9;--navy:#182e49;--muted:#60758b;--rule:#e1e9f0;--paper:#fff;--base:#f4f7fa;--radius:16px;font-family:Inter,"PingFang SC","Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;font-size:16px;color:var(--navy);background:var(--base);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}a,button{color:inherit;-webkit-tap-highlight-color:transparent}a{text-decoration:none}button{border:0;background:none;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,select,textarea,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #70a6f2;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3,b,strong{font-weight:650}small{font-size:.8rem}img{max-width:100%}.icon{width:1.36rem;height:1.36rem;object-fit:contain;flex:none;vertical-align:middle}.art{display:block}.chevron{width:15px;opacity:.65;margin-left:auto}#header{background:#fff;border-bottom:1px solid var(--rule)}.header-inner{max-width:1320px;margin:auto;min-height:85px;padding:0 46px;display:flex;align-items:center;gap:40px}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand img{width:43px}.brand span{display:grid;gap:3px}.brand strong{font-size:21px;letter-spacing:.06em;line-height:1.2}.brand small{font-size:9px;font-weight:700;letter-spacing:.18em;color:#65798e}.navlink{display:flex;align-items:center;justify-content:center;gap:6px;position:relative;white-space:nowrap}.header-tools{margin-left:auto;display:flex;align-items:center;gap:15px}.header-tools button,.bell{display:flex;gap:7px;align-items:center;justify-content:center;white-space:nowrap}.headsearch,.headsenior{font-size:13px}.headsearch{background:#f3f6f9;color:#62768a;padding:10px 15px;border-radius:24px}.headsearch img,.headsenior img{width:17px}.headsenior{color:#4f6074;padding:8px 0}.bell{border-left:1px solid var(--rule);padding:7px 0 7px 17px;position:relative}.bell i{position:absolute;right:2px;top:6px;background:#ff8a75;width:7px;height:7px;border-radius:100%}#main{margin:0 auto;max-width:1320px;padding:23px 46px 48px;min-height:70vh}.contextrow,.contextrow>span,.datestamp{display:flex;align-items:center}.contextrow{justify-content:space-between;color:#607388;font-size:13px;margin-bottom:16px}.contextrow i,.eyebrow i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#69b893;margin-right:8px}.datestamp{gap:6px;font-variant-numeric:tabular-nums}.datestamp .icon{width:15px}.hero-layout{display:grid;grid-template-columns:minmax(0,2.28fr) minmax(248px,1fr);gap:19px}.hero,.patient-card{border-radius:17px;overflow:hidden;position:relative;isolation:isolate}.hero{background:linear-gradient(105deg,#e1edfc 0%,#e5f0fc 44%,#d1e6fb 100%);min-height:226px;border:1px solid #d7e5f4}.heroimage{position:absolute;z-index:-1;right:-3%;width:66%;height:112%;bottom:-5%;object-fit:contain;object-position:right bottom}.hero-2 .heroimage{height:100%;bottom:0;right:0;width:44%;object-fit:cover;mask-image:linear-gradient(90deg,transparent,#000 22%)}.herotext{padding:28px 0 30px 31px;width:56%}.eyebrow{font-size:12px;display:inline-flex;align-items:center;color:#3b6089;border:1px solid #bdcfe5;border-radius:20px;padding:4px 11px;background:#f2f7ff9c;line-height:1.2}.eyebrow i{width:6px;height:6px;margin-right:6px}.herotext h1{font-size:clamp(25px,2.5vw,38px);letter-spacing:.01em;margin:11px 0 6px;color:#193e69;line-height:1.36}.herotext p{font-size:15px;color:#54718e}.herocta,.codebutton,.soft,.textlink,.more{display:inline-flex;align-items:center;gap:6px}.herocta{color:#255895;font-size:13px;font-weight:650;margin-top:19px}.herocta .icon,.more .icon{width:14px}.dots{position:absolute;bottom:8px;right:17px;display:flex}.dot{padding:7px 3px;display:grid;place-items:center}.dot span{width:5px;height:5px;border-radius:5px;background:#7d9cb980}.dot.active span{width:15px;background:#4779b7}.patient-card{background:#2a5b9a;color:white;padding:25px 25px 24px;display:flex;flex-direction:column;justify-content:space-between;min-height:192px}.card-grid-art{position:absolute;inset:0;z-index:-1;overflow:hidden;background:linear-gradient(115deg,transparent 32%,#4b84bf 118%)}.card-grid-art:after,.card-grid-art:before{content:"";position:absolute;border-radius:50%;width:240px;height:240px;right:-135px;top:-65px;border:1px solid #c1e2ff34;box-shadow:0 0 0 13px #bbdeff12,0 0 0 27px #bbdeff10,0 0 0 40px #bbdeff12,0 0 0 54px #bbdeff10,0 0 0 68px #bbdeff10,0 0 0 82px #bbdeff10}.card-grid-art:before{width:95px;height:95px;right:-35px;top:150px;opacity:.5}.card-top,.cardbottom,.cardperson{display:flex;align-items:center;gap:8px}.card-top>.icon,.codebutton .icon,.card-switch .icon{filter:brightness(0) invert(1)}.card-top>b{font-size:14px;font-weight:550}.card-switch{margin-left:auto;color:#edf5ff;font-size:12px;display:flex;align-items:center;gap:2px}.card-switch .icon{width:12px}.cardperson{margin:17px 0 10px}.cardperson strong{font-size:28px;letter-spacing:.04em}.tag{display:inline-flex;align-items:center;line-height:1.6;background:#eaf4ef;color:#347653;font-size:12px;padding:1px 7px;border-radius:5px;white-space:nowrap}.cardperson .tag{border:1px solid #a9cbed5c;background:#ffffff14;color:white}.cardbottom{justify-content:space-between}.cardbottom>span{font:12px ui-monospace,Consolas,monospace;letter-spacing:.06em;color:#d3e6ff}.codebutton{padding:8px 11px;background:#ffffff1a;border:1px solid #e2f0ff60;border-radius:8px;color:white;font-size:12px}.codebutton img{width:15px}.home-section-head{margin:26px 0 15px}.home-section-head>div,.section-title,.section-title h2,.home-section-head h2{display:flex;align-items:center}.home-section-head h2,.section-title h2{font-size:19px;line-height:1.45;letter-spacing:.02em}.home-section-head i,.section-title h2:before{content:"";height:15px;width:4px;border-radius:3px;background:var(--brand);margin-right:9px}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.quick{position:relative;display:flex;align-items:center;border-radius:15px;padding:22px 21px;height:138px;overflow:hidden;isolation:isolate;border:1px solid var(--qborder);transition:transform .18s,box-shadow .18s;background:var(--qbg)}.quick:hover{transform:translateY(-2px);box-shadow:0 6px 16px #27426c0a}.blue{--qbg:#eaf2ff;--qborder:#d8e6fa;--qtext:#305b99}.mint{--qbg:#e8f5ee;--qborder:#d7eadf;--qtext:#307857}.violet{--qbg:#eeedfa;--qborder:#e2dff3;--qtext:#655c9a}.quick h3{font-size:22px;color:var(--qtext)}.quick p{font-size:13px;color:#53677a;margin:6px 0 12px}.quick>.art{position:absolute;width:37%;height:90%;right:5%;top:8%;z-index:-1}.circle-arrow{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#ffffffb8}.circle-arrow .icon{width:15px}.mint .circle-arrow img{filter:hue-rotate(270deg)}.violet .circle-arrow img{filter:hue-rotate(25deg)}.home-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:20px;margin-top:22px}.panel{background:white;border:1px solid var(--rule);border-radius:var(--radius);padding:23px 24px;margin-bottom:18px;min-width:0}.section-title{justify-content:space-between;gap:9px;margin-bottom:14px}.more{font-size:13px;color:#61758a;font-weight:450;flex:none}.more:hover,.textlink:hover{color:var(--brand)}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 8px}.grid-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px 0;font-size:14px;font-weight:550;line-height:1.5;border-radius:10px}.grid-entry:hover{background:#f6f9fd}.iconwell{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#f0f5fc}.iconwell img{width:29px;height:29px}.grid-entry:has(img[src*="treat"]) .iconwell,.grid-entry:has(img[src*="checkup"]) .iconwell,.grid-entry:has(img[src*="insurance"]) .iconwell,.grid-entry:has(img[src*="leaf"]) .iconwell{background:#ecf5ee}.newsrow{display:flex;align-items:center;gap:13px;padding:12px 0;border-bottom:1px solid #edf1f5}.newsrow:first-of-type{padding-top:5px}.newsrow:last-child{border-bottom:0;padding-bottom:0}.newsrow>.art{width:74px;height:52px;object-fit:cover;border-radius:7px;flex:none}.newsrow>span{min-width:0;display:grid;gap:5px}.newsrow small,.article>small{color:#547fab;font-size:11px;letter-spacing:.035em}.newsrow b{font-size:14px;line-height:1.5;font-weight:600}.guides{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.listitem,.recordrow{width:100%;display:flex;align-items:center;text-align:left;gap:13px;min-height:56px;padding:13px 0;border-bottom:1px solid #edf1f5}.listitem:last-child,.recordrow:last-child{border-bottom:0}.listitem>span:not(.tag),.recordrow>div{flex:1;min-width:0}.listitem b,.recordrow b,.personrow b{font-size:15px;font-weight:600}.listitem small,.recordrow small,.personrow small,.cartrow small{display:block;color:var(--muted);line-height:1.5;margin-top:4px;font-size:12px}.listitem>.icon:first-child{width:23px;height:23px}.listitem:hover,.recordrow:hover{color:var(--brand)}.recordrow>.tag{margin-left:auto}.recordrow>.chevron{margin-left:0}.guides .listitem{min-height:48px}.guides .listitem:nth-last-child(-n+2){border-bottom:0}#bottom{display:none}
#main.detail-main{max-width:840px}#main.hub-main{max-width:1140px}.breadcrumb{display:flex;align-items:center;gap:10px;margin:1px 0 20px;color:#61778a;font-size:13px}.breadcrumb button{display:flex;align-items:center;gap:3px;padding:6px 0}.breadcrumb button img{width:14px}.breadcrumb i{height:14px;width:1px;background:#cbd6e0}.breadcrumb b{color:var(--navy);font-weight:500}.pagetitle,.pageintro h2{font-size:28px;line-height:1.4;margin:10px 0 18px}.pageintro,.welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.patientbar{width:100%;padding:14px 17px;display:flex;align-items:center;gap:12px;background:#eaf2fc;border:1px solid #d6e5f6;border-radius:12px;font-size:14px;color:#3b658a;margin-bottom:16px}.patientbar b{margin-left:5px;color:#244b76}.herocta,.more,.textlink{min-height:32px}.primary,.secondary,.soft,.filebutton{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 19px;border-radius:10px;font-size:14px;font-weight:600;line-height:1.5;cursor:pointer}.primary{background:var(--brand);color:#fff;border:1px solid var(--brand)}.primary .icon{filter:brightness(0) invert(1);width:17px;height:17px}.secondary{background:#fff;border:1px solid #cbd9e7;color:#365d87}.soft,.textlink{background:#eef4fc;color:var(--brand);font-size:13px}.textlink{padding:4px 11px;border-radius:6px}.panel>.primary,.panel>.secondary,.panel>.more,.panel>form>.primary,.panel>.textlink{margin:12px 8px 0 0}.primary:hover{filter:brightness(.95)}.panel>h3,.panel>p{margin:12px 0}.section-title .more{margin:0}.panel .section-title:only-child{margin-bottom:0}.searchbox{display:flex;align-items:center;gap:10px;border:1px solid #cfdde9;background:#fff;padding:5px 6px 5px 13px;border-radius:11px}.searchbox input{min-width:0;border:0;outline:none;padding:8px 0;flex:1;background:none;color:var(--navy)}.searchbox button{background:var(--brand);color:white;padding:8px 15px;border-radius:8px;font-size:14px}.chips,.dates{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 9px;scrollbar-width:thin}.chips{margin:7px 0 10px}.chip,.dates a{flex:none;white-space:nowrap;background:#f1f5f9;border:1px solid transparent;border-radius:8px;padding:7px 12px;color:#53677b;font-size:13px}.chip.selected,.dates .selected,.slot:hover:enabled{color:var(--brand);border-color:#acc9ef;background:#eaf2ff}.dates a{flex:1;padding:9px 7px;text-align:center}.dates b,.dates small{display:block}.dates small{margin-bottom:3px;font-size:11px}.slotgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.slot{border:1px solid #d4e1ec;border-radius:10px;padding:12px 8px;background:#f9fbfd;color:#244f77}.slot b,.slot small{display:block}.slot small{margin-top:5px;color:#63798e;font-size:11px}.note,.bodycopy,.dialogcopy,.article p{font-size:14px;color:#546b80;line-height:1.85;overflow-wrap:anywhere}.note{background:#f4f7fa;padding:10px 13px;border-radius:8px;margin:13px 0}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 12px;gap:10px}.empty>span,.avatar{display:grid;place-items:center;background:#eef4fc;border-radius:16px;width:52px;height:52px}.empty>span img,.avatar img{width:34px;height:34px}.empty p{font-size:13px;color:#62778b;line-height:1.7}.facts{margin:9px 0}.facts>div{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf1f5;font-size:14px}.facts dt{color:var(--muted);flex:none}.facts dd{text-align:right;margin:0;overflow-wrap:anywhere}.formrow,.actions,.personrow,.cartrow{display:flex;align-items:center;gap:10px}.field{display:grid;gap:7px;font-size:14px;margin:14px 0}.field>span{font-weight:550}.field input,.field select,.field textarea{width:100%;min-width:0;border:1px solid #cbd9e5;border-radius:8px;background:#fff;padding:11px 12px;color:var(--navy);min-height:43px}.field textarea{resize:vertical}.field small{color:var(--muted)}input[type=checkbox]{accent-color:var(--brand);width:17px;height:17px}.agree,.switchrow{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.65;padding:10px 0}.switchrow{justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--rule)}.switchrow input{appearance:none;width:38px;height:22px;border-radius:22px;background:#d3dbe5;position:relative}.switchrow input:checked{background:var(--brand)}.switchrow input:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:white}.switchrow input:checked:after{left:19px}.field input::placeholder,.field textarea::placeholder{color:#768899}.filebutton{position:relative}.filebutton input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.iconbtn{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#f0f4f8}.iconbtn img{width:18px}.personrow,.cartrow{border-bottom:1px solid var(--rule);padding:12px 0;justify-content:space-between}.personrow .more{margin-left:auto}.amount,.ticket-number{text-align:center;padding:21px 0}.amount small,.ticket-number small,.codecard small{display:block;color:var(--muted);margin-bottom:7px}.amount strong,.ticket-number strong{font-size:34px;font-weight:650;letter-spacing:.03em;color:#2b5c91}.amount i{font-size:19px;font-style:normal;margin-right:4px}.featureart{width:88px;height:80px;float:right}.profile,.health-hero,.storehero,.about-cover{display:flex;position:relative;align-items:center;min-height:126px;border-radius:16px;padding:24px 28px;margin-bottom:18px;background:#e5f0fa;overflow:hidden}.profile{gap:14px}.profile .iconbtn{margin-left:auto}.hub-main>.patient-card{margin-bottom:18px;max-width:100%}.health-hero,.storehero,.about-cover{min-height:180px;background:#e6f0e7;isolation:isolate}.health-hero>img,.storehero>img,.about-cover>img{position:absolute;right:0;height:100%;width:42%;object-fit:cover;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 28%)}.health-hero h2,.storehero h2,.about-cover h2{margin:7px 0;font-size:26px}.health-hero p,.storehero p{font-size:14px;color:#546e65}.health-hero .primary{margin-top:14px}.about-cover{background:#e2eefb}.about-cover img{object-fit:contain;width:65%}.mapart{height:170px;width:100%;background:#e4eff9;border-radius:10px}.article>.art,.productcover>.art{width:100%;height:190px;object-fit:cover;border-radius:12px;margin-bottom:18px}.article h2{font-size:25px;margin:7px 0}.article h3{font-size:18px;margin:19px 0 5px}.article p{margin:8px 0}.productrow{display:flex;gap:15px;align-items:center;padding:13px 0;border-bottom:1px solid #edf1f5}.productrow .art{width:84px;height:70px;object-fit:cover;border-radius:8px}.productrow h3{font-size:17px;margin:4px 0 6px}.productrow small{color:var(--muted)}.stepper{display:flex;align-items:center;gap:12px}.stepper button{width:32px;height:32px;border:1px solid var(--rule);border-radius:8px;color:var(--brand)}.codecard{display:grid;justify-items:center;gap:10px;padding:18px 4px}.codecard>.art,.loginbrand{width:44px}.codecard .qr{width:174px;height:174px}.codecard strong{font:600 27px ui-monospace,monospace;letter-spacing:.15em}.bubble,.published{background:#edf4fc;padding:12px 16px;border-radius:12px;margin:10px 0;font-size:14px;overflow-wrap:anywhere}.pennant{background:#90473e;color:#fff1c5;text-align:center;border:4px double #e2c591;border-radius:4px 4px 26px 26px;padding:22px 16px;margin-bottom:14px}.pennant h2{margin:10px 0}.uploadpreview{max-height:150px;display:block}.loginbrand{margin-bottom:15px}.panel details{border-bottom:1px solid var(--rule);padding:14px 0}.panel summary{cursor:pointer}.panel details p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:10px}dialog{border:0;background:white;border-radius:18px;padding:22px;color:var(--navy);max-width:min(440px,94vw);width:100%;max-height:85dvh;box-shadow:0 15px 60px #142e4c38}dialog::backdrop{background:#12284460}dialog[open]{animation:appear .16s ease-out}.sheethead{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.sheethead h2{font-size:20px}.dialogcopy{margin-bottom:18px}.actions>*{flex:1}.sheethead~.primary{margin-top:13px}body:has(dialog[open]){overflow:hidden}#toast{position:fixed;z-index:12;bottom:90px;left:50%;transform:translate(-50%,8px);padding:11px 17px;border-radius:10px;background:#203750ed;color:white;font-size:14px;line-height:1.5;opacity:0;visibility:hidden;pointer-events:none;transition:.16s;max-width:90vw;width:max-content}#toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}[hidden]{display:none!important}.senior{font-size:19px}.senior .grid-entry,.senior .listitem b,.senior .primary,.senior .field,.senior .chip,.senior .note,.senior .slot,.senior .facts>div{font-size:1.15rem}.senior .grid-entry{padding:20px 0;background:white}.senior .service-grid{gap:10px}.senior .welcome{margin:20px 0}.senior .welcome h1{font-size:26px}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}



.header-inner{gap:18px}.header-inner,#main{padding-left:26px;padding-right:26px}.header-tools{gap:10px}.headsearch span{display:none}.headsearch{padding:8px}.hero-layout{grid-template-columns:minmax(0,1.9fr) minmax(234px,1fr)}.quick{padding:18px 17px}.quick>.art{right:0;width:37%}.home-columns{grid-template-columns:minmax(0,1.4fr) minmax(268px,1fr)}.panel{padding:20px}.cardbottom{flex-wrap:wrap}.patient-card{padding:20px}.brand strong{font-size:19px}
.header-inner{min-height:65px}.header-tools{gap:15px}.header-inner,#main{padding-left:19px;padding-right:19px}#main{padding-bottom:calc(90px + env(safe-area-inset-bottom))}#bottom{position:fixed;z-index:5;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);padding:5px max(6px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #dce6ef;backdrop-filter:blur(12px)}#bottom .navlink{flex-direction:column;font-size:11px;gap:1px;min-height:45px;color:#66798e}#bottom .current{color:var(--brand);font-weight:650}#bottom img{width:22px;height:22px}.hero-layout{gap:12px}.herotext{padding-left:20px}.quick{height:124px}.quick h3{font-size:19px}.quick p{font-size:12px}.quick-grid,.home-columns{gap:12px}.home-columns{grid-template-columns:minmax(0,1.2fr) minmax(235px,1fr)}.newsrow>.art{width:52px;height:45px}.panel{padding:17px}.guides{gap:0 10px}.newsrow{gap:8px}.home-section-head{margin-top:19px}
:root{--radius:14px}.header-inner{min-height:62px;padding:0 15px;gap:8px}.brand{gap:8px}.brand img{width:35px}.brand strong{font-size:17px;letter-spacing:.04em}.brand small{font-size:7px;letter-spacing:.16em}.brand span{gap:2px}.header-tools{gap:9px}.headsenior{font-size:12px;gap:3px}.headsenior img{width:17px}.headsearch{background:none;padding:5px}.headsearch img{width:18px}.bell{padding:5px 1px 5px 6px;border:0}.bell img{width:19px}#main{padding:13px 14px calc(84px + env(safe-area-inset-bottom))}.contextrow{margin:0 1px 10px;font-size:11px}.contextrow i{width:5px;height:5px;margin-right:5px}.datestamp .icon{width:12px}.hero-layout{display:flex;flex-direction:column;gap:9px}.hero{min-height:155px;border-radius:14px}.herotext{padding:17px 0 16px 16px;width:64%}.herotext h1{font-size:24px;line-height:1.35;margin:8px 0 4px;letter-spacing:0}.herotext p{font-size:12px}.eyebrow{font-size:10px;padding:3px 8px}.herocta{font-size:12px;margin-top:8px;min-height:26px}.heroimage{width:66%;height:95%;right:-9%;bottom:-5%}.hero-2 .heroimage{width:41%}.dots{bottom:3px;right:10px}.patient-card{padding:14px 16px;min-height:116px}.hero-layout .patient-card{min-height:64px;display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:10px 13px;border-radius:12px}.hero-layout .card-top{grid-column:1;grid-row:1;gap:5px}.hero-layout .card-top>.icon{width:15px;height:15px}.hero-layout .card-top b{font-size:11px;line-height:1.3;color:#d7e7fb}.hero-layout .card-switch{margin:0;font-size:10px;min-height:22px}.hero-layout .cardperson{grid-column:1;grid-row:2;margin:0;gap:6px}.hero-layout .cardperson strong{font-size:17px}.hero-layout .cardperson .tag{font-size:9px;padding:0 4px}.hero-layout .cardbottom{grid-column:2;grid-row:1/3;justify-content:flex-end;align-self:center}.hero-layout .cardbottom>span{display:none}.hero-layout .codebutton{font-size:11px;padding:7px}.home-section-head{margin:17px 0 10px}.home-section-head h2,.section-title h2{font-size:17px}.home-section-head i,.section-title h2:before{height:13px;width:3px;margin-right:7px}.quick-grid{gap:7px}.quick{height:124px;padding:10px 4px 9px;justify-content:center;align-items:flex-end;text-align:center;border-radius:12px}.quick>div{width:100%}.quick>.art{width:78px;height:66px;right:50%;transform:translateX(50%);top:4px}.quick h3{font-size:16px;line-height:1.5}.quick p{font-size:10px;margin:3px 0 2px;color:#526578}.circle-arrow{display:none}.home-columns{display:flex;flex-direction:column;gap:0;margin-top:13px}.home-columns>div{display:contents}.home-columns>div:first-child>.panel:nth-child(2){order:3}.home-columns>div:last-child>.panel:nth-child(2){order:4}.panel{padding:15px;margin-bottom:12px}.section-title{margin-bottom:9px}.more{font-size:11px}.more .icon{width:11px}.service-grid{gap:2px}.grid-entry{font-size:12px;padding:7px 1px;gap:5px}.iconwell{width:36px;height:36px;border-radius:12px}.iconwell img{width:26px;height:26px}.home-columns .service-grid .grid-entry{padding:7px 0 8px}.newsrow{padding:9px 0;gap:10px}.newsrow>.art{width:63px;height:43px}.newsrow b{font-size:13px}.newsrow small{font-size:10px}.newsrow>span{gap:2px}.breadcrumb{margin:0 0 12px;font-size:12px}.pagetitle,.pageintro h2{font-size:23px;margin:4px 0 14px}.pageintro{display:block;margin-bottom:12px}.searchbox{width:100%}.searchbox input{font-size:14px}.patientbar{padding:11px 13px;font-size:13px;margin-bottom:11px}.dates a{min-width:44px;padding:7px 4px}.dates{gap:4px}.slotgrid{gap:7px}.ticket-number strong,.amount strong{font-size:29px}.health-hero,.storehero,.about-cover,.profile{padding:18px;margin-bottom:12px}.health-hero h2,.storehero h2,.about-cover h2{font-size:22px}.health-hero p,.storehero p{font-size:12px}.profile{min-height:95px}.profile h2{font-size:23px}.health-hero>img,.storehero>img{width:43%}.chip{padding:8px 10px;font-size:12px}.hub-main .patient-card{margin-bottom:12px}.field input,.field select,.field textarea{font-size:16px}.article>.art,.productcover>.art{height:150px}.section-title .more{min-height:22px}.newsrow .chevron{width:12px}dialog{border-radius:18px 18px 0 0;max-width:100%;width:100%;margin:auto 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom))}.welcome{align-items:flex-start}.senior .grid-entry{font-size:18px}.senior .service-grid{grid-template-columns:repeat(2,1fr)}
@media(max-width:360px){#main{padding-left:10px;padding-right:10px}.header-inner{padding:0 10px}.header-tools{gap:5px}.herotext h1{font-size:22px}.quick h3{font-size:15px}.quick p{font-size:9px}.heroimage{right:-12%}.grid-entry{font-size:11px}.senior .headsenior{font-size:11px}.card-switch{padding:0}.quick{height:117px}}


/* Visual palette sampled from the supplied mobile references. */
:root{--brand:#467bfd;--navy:#202737;--muted:#697381;--rule:#e7eaf1;--base:#f5f6fa;color:var(--navy)}.header-inner{min-height:74px}.brand strong{color:#162439}.home #header{background:#457bfd;border:0}.home .brand strong,.home .brand small,.home .headsenior,.home .headsearch{color:#fff}.home .brand small{opacity:.84}.home .brand>.art{background:#fff;border-radius:13px;padding:2px}.home .headsearch{background:#ffffff22}.home .headsenior img,.home .headsearch img,.home .bell img{filter:brightness(0) invert(1)}.home .bell{border-color:#ffffff52}#main.home-main{padding-top:0}.searchmast{position:relative;isolation:isolate;color:#fff}.searchmast:before{content:"";position:absolute;z-index:-1;inset:0 calc(50% - min(50vw, var(--phone-half)));background:#457bfd}.mast-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:143px;padding:10px 0 23px}.mastcopy span{display:flex;align-items:center;gap:3px;font-size:12px;color:#f5f8ff}.mastcopy .icon{width:15px;filter:brightness(0) invert(1)}.mastcopy h1{font-size:34px;line-height:1.35;letter-spacing:.055em;margin:4px 0}.mastcopy p{font-size:14px;color:#e8f0ff}.mast-engine{width:min(57%,620px)}.mast-engine .searchbox{border:0;border-radius:32px;padding:5px 6px 5px 16px;box-shadow:0 3px 12px #1f4aad14}.mast-engine .searchbox button{border-radius:25px;background:#447bfc;padding:8px 24px}.mast-engine .searchbox input{color:#273345}.mast-engine .searchbox>.icon{width:18px}.popular{display:flex;gap:18px;margin:9px 13px 0;font-size:12px;color:#f0f5ff}.popular a:hover{text-decoration:underline}.service-home{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(265px,1fr);gap:21px;padding-top:22px}.services-board,.patient-pocket{background:white;border-radius:16px;border:1px solid #e7eaf0}.services-board{padding:12px 22px 17px}.major-services{display:grid;grid-template-columns:repeat(3,1fr);padding:3px 0 17px}.major-service{text-align:center;display:flex;align-items:center;flex-direction:column;padding:8px 3px 0}.service-art{display:block;object-fit:contain}.major-service img{width:89px;height:89px;transition:transform .18s}.major-service:hover img{transform:translateY(-3px)}.major-service h2{font-size:22px;line-height:1.5;letter-spacing:.035em;color:#222c43;margin-top:4px}.major-service p{font-size:13px;margin:3px 0 0;color:#6c7583}.appointment-strip{display:flex;align-items:center;gap:10px;background:#eaf1ff;border:1px solid #dbe7ff;border-radius:10px;padding:12px 15px;color:#2d4462}.appointment-strip b{font-size:15px}.appointment-strip>span{font-size:13px;color:#61718a}.appointment-strip>.icon:first-child{width:23px;height:23px}.common-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));row-gap:7px;margin-top:16px}.common-entry{display:flex;align-items:center;flex-direction:column;gap:5px;padding:5px 2px;color:#283144;font-size:14px}.common-entry img{width:40px;height:40px}.common-entry:hover,.major-service:hover h2{color:var(--brand)}.patient-side{min-width:0}.patient-pocket{padding:18px 19px;margin-bottom:16px;background:linear-gradient(115deg,#edf3ff,#f8faff);border-color:#dce6fa}.pocket-top,.pocket-user,.pocket-top>span,.pocket-code{display:flex;align-items:center}.pocket-top,.pocket-user{justify-content:space-between;gap:10px}.pocket-top>span{gap:7px;color:#385790;font-size:14px;font-weight:600}.pocket-top .more{padding:0;font-size:12px}.pocket-top .icon{width:20px}.pocket-top .more img{width:13px}.pocket-user{margin-top:18px}.pocket-user b{font-size:22px;margin-right:7px}.pocket-user .tag{background:#dfeaff;color:#3e64a1;font-size:11px}.pocket-user small{display:block;color:#596e8a;font:12px ui-monospace,Consolas,monospace;margin-top:6px;letter-spacing:.08em}.pocket-code{background:white;border:1px solid #d8e4fa;color:#346dd7;border-radius:9px;flex-direction:column;padding:6px 8px;gap:3px;font-size:10px}.pocket-code img{width:23px;height:23px}.patient-side .panel{padding:18px 20px}.editorial-banner{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;aspect-ratio:4/1;min-height:156px;margin:16px 0;padding:13px clamp(18px,4%,36px);border:1px solid #d8e8eb;border-radius:15px;background:#edf5f7;color:#213a51}
.editorial-banner::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgb(255 255 255 / 70%) 0% 27%,rgb(255 255 255 / 59%) 35%,rgb(255 255 255 / 17%) 50%,rgb(255 255 255 / 0%) 60%)}
.tea-copy{position:relative;z-index:2}.tea-copy h2{font-size:23px;letter-spacing:.015em;line-height:1.4}.tea-copy p{font-size:13px;color:#30485a;margin-top:4px}
.tea-illustration{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:75% 36%;pointer-events:none}
.tea-action{display:inline-flex;align-items:center;gap:7px;margin-top:12px;white-space:nowrap;border-radius:18px;background:#fff;border:1px solid #c1d8ef;padding:4px 12px;color:#285f94;font-size:13px;font-weight:600}
.tea-action .icon{width:12px;height:12px}
.guide-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.guide-tile{position:relative;overflow:hidden;background:#f1f6ff;min-height:80px;padding:13px 12px;border-radius:8px}.guide-tile b,.guide-tile small{display:block;position:relative;z-index:1}.guide-tile b{font-size:15px}.guide-tile small{margin-top:4px;font-size:12px;color:#5b7189}.guide-tile>.icon{position:absolute;right:6px;bottom:3px;width:32px;height:32px;opacity:.30}.health-hero,.storehero,.about-cover{background:#edf5ff}.blue,.mint,.violet{--qbg:#f5f6fa;--qborder:transparent;--qtext:#283449}.tag{color:#3d7730;background:#eff7e9}.primary{background:var(--brand);min-height:44px;border-radius:12px;font-size:15px;font-weight:650}.featureart{object-fit:contain}.barcode{width:168px;height:29px}.attachment{display:block;max-height:185px;border-radius:10px;margin:8px 0;object-fit:contain}.bubble.incoming{background:#ecf6e9}.bubble small{font-size:11px;color:var(--muted)}.bubble p{margin:5px 0}.opform{margin-bottom:12px}.patient-services,.mast-engine{min-width:0}.home .welcome{color:var(--navy)}.brand small{color:#58677b}.section-title h2:before{background:#5487ff}

.service-home{grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr);gap:12px}.services-board{padding:10px 12px}.major-service img{width:71px;height:71px}.major-service h2{font-size:19px}.patient-side .panel{padding:15px}.pocket-user b{font-size:19px}
.home #header .header-inner{min-height:57px}.home .brand strong{font-size:17px}.home .brand>.art{width:34px;padding:1px;border-radius:10px}.home .headsearch{display:none}.home .headsenior{background:#ffffff20;padding:4px 7px;border-radius:15px}.home .bell{border:0}.mast-inner{display:block;min-height:0;padding:2px 0 14px}.mastcopy{display:none}.mast-engine{width:100%}.mast-engine .searchbox{padding:3px 4px 3px 13px;gap:7px;height:38px}.mast-engine .searchbox input{padding:5px 0;font-size:13px}.mast-engine .searchbox button{padding:5px 14px;font-size:12px}.popular{display:none}.searchmast:after{content:"";position:absolute;inset:100% calc(50% - min(50vw, var(--phone-half))) auto;background:linear-gradient(#457bfd55,#f5f6fa);height:26px;z-index:-1}.service-home{display:flex;flex-direction:column;gap:0;padding-top:7px}.patient-services,.patient-side{display:contents}.services-board{order:1;padding:0 0 3px;background:transparent;border:0;border-radius:0}.major-services{padding:4px 0 12px;gap:4px}.major-service{padding:2px 0 0}.major-service img{width:68px;height:68px}.major-service h2{font-size:17px;letter-spacing:.015em;margin:0}.major-service p{font-size:11px;color:#697583;margin-top:3px}.appointment-strip{padding:10px 12px;gap:8px;min-height:43px}.appointment-strip b{font-size:14px}.appointment-strip>span{font-size:12px}.appointment-strip>.icon:first-child{width:22px}.common-grid{margin-top:12px;row-gap:7px}.common-entry{font-size:12px;gap:5px;padding:4px 0}.common-entry img{width:34px;height:34px}.editorial-banner{order:2;aspect-ratio:3.5/1;min-height:118px;margin:12px 0;padding:10px 16px;gap:6px}.tea-copy h2{font-size:18px}.tea-copy p{font-size:12px;margin-top:3px}.tea-action{font-size:12px;margin-top:8px;padding:3px 11px}.home-guides{order:3;margin-bottom:12px}.patient-pocket{order:4;padding:13px 14px;margin:0 0 12px}.patient-side .panel{order:6}.patient-side>.panel:last-child{order:5}.guide-tiles{gap:6px}.guide-tile{min-height:69px;padding:10px 8px}.guide-tile b{font-size:13px}.guide-tile small{font-size:10px}.guide-tile>.icon{width:27px}.pocket-top .more{min-height:24px}.pocket-user{margin-top:8px}.pocket-user b{font-size:19px}.pocket-code{flex-direction:row;font-size:11px}.pocket-code img{width:18px}.services-board .major-service{min-height:102px}.home-guides .section-title h2{font-size:16px}.home-guides .section-title{margin-bottom:10px}


.iconwell:has(.service-art){width:42px;height:42px;background:transparent!important}.iconwell>.service-art{width:39px;height:39px}.guide-tile>.service-art{position:absolute;right:4px;bottom:-4px;width:44px;height:44px;opacity:.62}.guide-tile b,.guide-tile small{max-width:85%}.hub-main>.patient-pocket{margin-bottom:16px}.home .brand>.art{padding:3px}.card-switch,.headsenior,.bell,.dot,.more{position:relative}.card-switch:before,.headsenior:before,.bell:before,.dot:before,.more:before{content:"";position:absolute;inset:-5px 0}.guide-tile:focus-visible{outline-offset:0}.home #header .headsenior:hover{background:#ffffff29;border-radius:20px}.guide-tiles .guide-tile{isolation:isolate}.guide-tile>.service-art{z-index:-1}.header-inner{padding-top:env(safe-area-inset-top)}.guide-tile>.service-art{width:36px;height:36px;bottom:-2px;opacity:.5}.iconwell:has(.service-art){width:37px;height:37px}.iconwell>.service-art{width:34px;height:34px}.mast-engine .searchbox button{min-height:30px}.guide-tile small{max-width:92%}


.major-service h2{font-size:18px}.major-service p{font-size:12px}.common-entry{font-size:14px;gap:6px}.common-grid{row-gap:10px;margin-top:15px}.appointment-strip>span{font-size:12px}.grid-entry{font-size:13px}.guide-tile b{font-size:14px}.common-entry img{width:33px;height:33px}


.uploadbox{display:flex;align-items:center;flex-wrap:wrap;gap:7px;border:1px dashed #b8cef2;border-radius:10px;background:#f6f9ff;padding:14px;position:relative;color:#365da0;cursor:pointer}.uploadbox b{font-size:14px}.uploadbox small{font-size:11px;color:#61748f}.field .uploadbox input{position:absolute;inset:0;height:100%;opacity:0;cursor:pointer}.filepreview:not(:empty){display:flex;gap:8px;align-items:center;font-size:12px;overflow-wrap:anywhere}.filepreview img{width:51px;height:51px;object-fit:cover;border-radius:7px}.filepreview .soft{margin-left:auto;flex:none}.uploadbox:focus-within{outline:2px solid #5a87dc}.panel>.listitem+.note{margin-top:12px}.personrow .avatar{background:#e6eeff}


.home #header,.searchmast:before{background:var(--brand)}.searchmast:before{background:linear-gradient(180deg,var(--brand) 0%,#6491fd 62%,#a7c0fc 100%)}.searchmast:after{background:linear-gradient(#a7c0fc,transparent);height:25px}.service-home{position:relative}.major-service img{position:relative}

/* Homepage service entrances and patient identity card */
.major-services{gap:10px}
.major-service{justify-content:center;border-radius:15px;padding:10px 4px 13px;background:linear-gradient(155deg,#e4eeff,#f5f8ff);border:1px solid #dbe7ff}
.guide-tiles .guide-tile{min-height:115px;padding:15px;display:flex;flex-direction:column;align-items:flex-start}
.guide-tile b{font-size:17px}.guide-tile small{font-size:12px}
.guide-tiles .guide-tile>.service-art{width:58px;height:58px;right:8px;bottom:3px;opacity:1;z-index:0}
.patient-pocket{isolation:isolate;position:relative;overflow:hidden;border:1px solid #d7e6f5;min-height:170px;padding:21px 23px;color:#263f5d;background:linear-gradient(115deg,#f3f8fe,#e9f3fc 68%,#e0eefb)}
.patient-pocket:before,.patient-pocket:after{content:"";position:absolute;pointer-events:none;border-radius:50%;border:1px solid #fff9;width:290px;height:290px;right:-155px;top:-142px;z-index:-1}
.patient-pocket:after{width:360px;height:360px;right:-175px;top:-174px;border-width:12px;border-color:#ffffff36}
.pocket-top>span{font-size:18px;color:#31577d;letter-spacing:.025em}
.pocket-top .more{color:#436584;background:#ffffff78;border:1px solid #d0e0ef;border-radius:20px;padding:5px 9px;min-height:32px}
.pocket-user{margin-top:20px}.pocket-user b{font-size:26px;color:#243e5a}
.pocket-user .tag{color:#3e6386;background:#dbeafa;border:none}
.pocket-user small{font-size:13px;line-height:1.6;color:#536b84}
.pocket-code{background:white;border-color:#bad4ef;color:#245d9a;font-weight:650;min-width:72px;padding:8px 10px;font-size:12px;gap:4px}
.pocket-code img{width:28px;height:28px}
[data-route=card] .codecard{max-width:440px;margin:auto;background:linear-gradient(#edf4ff,#fff 65%);border:1px solid #d5e3f9;border-radius:18px;padding:24px 12px}
[data-route=card] .codecard .qr{width:min(215px,92%);height:auto}

/* Registration: date picker and department directory */
.clinic-calendar{background:linear-gradient(115deg,#214d97,#3374c8);color:white;border-radius:18px;padding:22px 24px 18px;margin-bottom:12px}
.clinic-calendar-head,.receipt-total{display:flex;align-items:center;justify-content:space-between;gap:12px}
.clinic-calendar-head small{font-size:13px;color:#dceaff}.clinic-calendar h2,.consult-cover h2{font-size:25px;margin:3px 0 0;line-height:1.35}
.calendar-records{color:white;background:#ffffff16;border:1px solid #ffffff50;border-radius:20px;padding:7px 13px;font-size:13px}
.clinic-calendar .dates{margin:19px 0 0;padding:0 0 3px;gap:6px}
.clinic-calendar .dates a{flex:1 0 0;min-width:38px;padding:9px 2px;border:1px solid #ffffff38;border-radius:10px;color:white;background:transparent;text-align:center}
.clinic-calendar .dates a small,.clinic-calendar .dates a b{color:inherit;display:block}
.clinic-calendar .dates a small{font-size:11px}.clinic-calendar .dates a b{font-size:14px;margin-top:4px}
.clinic-calendar .dates a.selected{background:#fff;color:#215bac;border-color:#fff}
.clinic-book .patientbar,.consult-lobby .patientbar,.fees-desk .patientbar{background:white;border-color:#dee7ef}
.dept-browser{overflow:hidden;border-radius:16px;border:1px solid #dce6f0;background:white}
.dept-browser h2{padding:18px 20px;font-size:18px;margin:0}
.dept-layout{display:grid;grid-template-columns:minmax(95px,24%) minmax(0,1fr);border-top:1px solid #e5eaf1}
.dept-layout nav{background:#eef3fa;padding:6px 0}
.dept-layout nav a{display:block;padding:15px 12px;color:#526582;border-inline-start:3px solid transparent;font-size:14px}
.dept-layout nav .active{color:#205fb1;background:white;border-color:#3273c9;font-weight:700}
.dept-choice.listitem{margin:0;padding:15px 12px;min-height:66px;gap:6px}
.dept-choice small,.bill-charge small{display:block;color:#68798b;font-size:12px;margin-top:3px}
.dept-choice .availability{margin-left:auto;flex:none;font-size:11px;color:#697b8f}
.dept-choice .available{color:#246a5a}
.clinic-book .slot:not(:disabled){background:#eff5ff;border-color:#c7daf7}
.clinic-book .slot:not(:disabled) b{color:#215dab}

/* Consultation: primary asynchronous visit, alternate modes and recent conversations */
.consult-cover{display:flex;align-items:center;min-height:216px;overflow:hidden;padding:28px;border-radius:18px;background-color:#d7eeeb;background-image:linear-gradient(90deg,#d5efea 12%,#d5efeaee 35%,#d5efea00 68%),url('art/teleconsult.webp');background-repeat:no-repeat;background-position:center,right 18%;background-size:cover,auto 148%;color:#154c46}
.consult-cover h2{font-size:32px;color:#124940}.consult-cover p{font-size:14px;margin:6px 0 21px;color:#366059}
.consult-start{display:inline-flex;align-items:center;gap:21px;background:#17695e;border-radius:25px;color:#fff;font-weight:650;padding:10px 17px;font-size:14px}.consult-start i{font:18px/1 sans-serif}
.consult-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 18px}
.consult-mode{display:flex;gap:12px;align-items:center;padding:17px 14px;border-radius:14px;border:1px solid #dce8e6;background:white}
.consult-mode img{width:46px;height:46px}.consult-mode b,.consult-mode small,.consult-empty small{display:block}.consult-mode b{font-size:16px}.consult-mode small,.consult-empty small{font-size:12px;color:#5d706e;margin-top:4px}
.consult-empty{display:flex;gap:15px;align-items:center;background:#f3f8f7;border-radius:11px;padding:18px;font-size:14px;color:#324e4a}.consult-empty img{width:28px;height:28px}
.consult-resources,.fee-links{display:flex;align-items:stretch;gap:10px}
.consult-resources a,.fee-links a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 8px;font-size:14px;border-radius:12px;background:white;border:1px solid #e0e8ee}
.consult-resources img,.fee-links img{width:21px;height:21px}



/* Payment: itemized statement */
.fees-desk>.chips{margin:12px 0}.fee-receipt,.fee-transfer{position:relative;background:white;border:1px solid #dce5ef;border-radius:16px;overflow:hidden}
.receipt-total{padding:22px 24px;background:#ecf3fc;border-bottom:1px dashed #b9cce1}
.receipt-total small{font-size:14px;color:#47627d}.receipt-total strong{display:block;font:650 38px/1.3 Arial,sans-serif;letter-spacing:-.025em;margin-top:2px;color:#1c436c}
.receipt-total i{font:normal 20px Arial,sans-serif;margin-right:5px}.receipt-total>span{font-size:13px;color:#496781;background:#fff;padding:5px 10px;border-radius:20px}
.fee-receipt .bill-charge{width:100%;padding:17px 20px;text-align:left;gap:8px}
.bill-charge strong{margin-left:auto;font:600 17px Arial,sans-serif;color:#223d59}
.fee-receipt>.empty,.fee-transfer{padding:16px}.fee-links{margin-top:15px}.fee-links a{flex-direction:column}.fee-links b{font-weight:550}

  .major-services{gap:7px;padding:5px 0 11px}.services-board .major-service{padding:8px 1px 10px;min-height:117px}.major-service img{width:56px;height:56px}
  .major-service h2{font-size:17px}.major-service p{font-size:11px}
  .service-home>.patient-side>.patient-pocket{order:2;margin:10px 0 2px}.service-home .editorial-banner{order:4;margin-top:0}.service-home .home-guides{order:3;margin-top:10px}
  .patient-pocket{min-height:151px;padding:16px 18px}.pocket-user{margin-top:14px}.pocket-code{flex-direction:column}
  .guide-tiles .guide-tile{min-height:104px;padding:11px 9px}.guide-tiles .guide-tile>.service-art{width:47px;height:47px;bottom:3px;right:6px}.guide-tile b{font-size:15px}.guide-tile small{font-size:11px}
  .clinic-calendar{padding:16px 12px 12px}.clinic-calendar h2{font-size:22px}.clinic-calendar .dates{gap:4px}.clinic-calendar .dates a b{font-size:12px}
  .dept-layout{grid-template-columns:98px minmax(0,1fr)}.dept-layout nav a{font-size:13px;padding:15px 8px}.dept-choice.listitem{padding:13px 9px}
  .consult-cover{min-height:176px;padding:18px;background-position:center,right top;background-size:cover,auto 117%}
  .consult-cover h2{font-size:26px}.consult-cover p{font-size:12px;margin:6px 0 18px}
  .consult-mode{gap:6px;padding:13px 7px}.consult-mode img{width:37px;height:37px}.consult-mode b{font-size:15px}
  .receipt-total{padding:18px}.fee-receipt .bill-charge{padding:15px}

@media(max-width:360px){.dept-choice.listitem{flex-wrap:wrap}.dept-choice .availability{font-size:10px}.clinic-calendar .dates{overflow-x:auto}.consult-mode small{font-size:11px}.guide-tiles .guide-tile{min-height:110px}}

.clinic-next{display:block;text-align:center;padding:12px 8px;border-top:1px solid #e2eaf3;font-size:13px;color:#235faa;background:#f7faff}

/* Standard-mode type for the electronic patient card. */
body:not(.senior) .patient-pocket .pocket-top>span{font-size:16px}
body:not(.senior) .patient-pocket .pocket-user b{font-size:20px}

  body:not(.senior) .patient-pocket .pocket-top>span{font-size:15px}
  body:not(.senior) .patient-pocket .pocket-user b{font-size:18px}


/* Shared navigation: mobile tabs own the page title; desktop keeps the global nav. */
#header .header-inner{min-height:64px;gap:22px}
#header .brand{gap:9px}
#header .brand>.art{width:34px;height:34px;object-fit:contain}
#header .brand strong{font-size:18px;letter-spacing:.015em}
.mobile-page-heading{display:none}


.route-back,.header-more{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;flex:none;padding:0;border-radius:11px}
.route-back .icon{width:19px;height:19px}
.header-more{position:relative;color:#4c6078}
.menu-dots{width:4px;height:4px;border-radius:50%;background:currentColor;box-shadow:-7px 0 currentColor,7px 0 currentColor}
.unread-dot{position:absolute;right:6px;top:8px;width:6px;height:6px;border-radius:50%;background:#da6655}
.home .header-more{color:white}
#header .header-tools{gap:8px}
#header .headsenior{min-height:38px;padding:4px 10px}
.utility-actions{display:grid}
.utility-row{width:100%;display:flex;align-items:center;gap:12px;padding:14px 8px;text-align:left;border-bottom:1px solid #e6ebf1;font-size:15px;color:#2a4057}
.utility-row:last-child{border-bottom:0}.utility-row img{width:20px;height:20px}
.utility-row small{margin-left:auto;color:#64788f;font-size:12px}

  #header .header-inner{min-height:52px;padding-inline:16px;gap:6px}
  body:not(.home) #header .brand{display:none}
  .mobile-page-heading{display:flex;align-items:center;gap:4px;min-width:0}
  .mobile-page-heading h1{margin:0;font-size:18px;line-height:1.4;font-weight:650;color:#24374c;overflow-wrap:anywhere}
  .mobile-page-heading .route-back{margin-left:-10px;width:36px}
  .senior .mobile-page-heading h1{font-size:22px}
  #header .header-more{margin-right:-6px}
  #header .brand strong{font-size:17px}
  #header .brand>.art{width:32px;height:32px}
  #header .headsenior{min-height:36px}


/* Mobile service hubs */
.module-title,.schedule-heading,.member-top,.member-main,.member-footer,.member-next{display:flex;align-items:center;justify-content:space-between;gap:10px}
.module-title{margin-bottom:13px}
.module-title h2{margin:0;font-size:19px;line-height:1.4;letter-spacing:-.025em;color:var(--ink)}
.module-title .more,.schedule-directory>.more{display:inline-flex;align-items:center;min-height:36px;font-size:12px;color:#536d85}
.clinic-book,.consult-hub,.member-center{--hub-line:#e2e8f1;--hub-radius:16px;--hub-blue:var(--brand,#457bfd);--hub-tint:#eaf2ff;--ink:#1d3048;--muted:#51647d}
.schedule-intro{padding:0 1px 14px}
.schedule-heading{position:relative;isolation:isolate;min-height:114px;margin:0;padding:0 10px 3px;overflow:visible}
.schedule-heading small{font-size:13px;color:#425e7e}
.schedule-heading h2{margin:3px 0 0;color:var(--ink);font-size:clamp(30px,min(8.4vw, 38.64px),37px);font-weight:700;line-height:1.2;letter-spacing:-.045em}
.schedule-dates.dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin:0;padding:5px;background:rgba(255,255,255,.86);border:1px solid #fff;border-radius:var(--hub-radius);box-shadow:0 5px 18px #254b7810;overflow:visible}
.schedule-dates.dates a{min-width:0;padding:9px 0 8px;display:grid;place-content:center;gap:4px;background:transparent;border:0;border-radius:13px;color:#455f77;text-align:center}
.schedule-dates.dates a small{font-size:11px;color:inherit}.schedule-dates.dates a b{font:650 21px/1.2 Arial,sans-serif;color:inherit}
.schedule-dates.dates a.selected{background:var(--hub-blue);color:white}
.hub-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--hub-blue);color:white;border:0;border-radius:12px;min-height:44px;padding:0 14px;font-family:inherit;font-weight:650;font-size:15px;line-height:1.3}
.hub-primary:active,.consult-method:first-child:active .hub-primary{filter:brightness(.94)}
.member-identity{padding:3px 16px 0;border-radius:var(--hub-radius);background:#e8f1ff;border:1px solid #dce8fa}
.member-top>span,.member-switch,.member-footer a{display:flex;align-items:center;gap:6px}
.member-top>span{color:var(--ink);font-size:15px;font-weight:650}.member-top>span img{width:18px;height:18px}
.member-switch,.member-footer a{min-height:44px;color:#3c5776;font-size:13px}
.member-switch{padding:0}.member-switch .chevron,.member-footer .chevron{margin:0;width:12px;height:12px}
.member-main{padding:11px 0 16px}.member-main>div{min-width:0}.member-main h2{display:inline;margin-right:6px;font-size:19px;color:var(--ink);overflow-wrap:anywhere}
.member-main .tag{color:#335c91;background:#f4f8ff;border:1px solid #c5d9fa;border-radius:6px;font-size:11px;padding:0 6px}
.member-main small{display:block;margin-top:6px;color:#344f6d;font:14px/1.5 Consolas,monospace;letter-spacing:.07em}
.member-code{flex:none}.member-code img{width:19px;height:19px;background:#fff;border-radius:4px}.member-code b{font:inherit}
.member-footer{justify-content:center;border-top:1px solid #ceddf3}.member-footer .icon:first-child{width:17px;height:17px}
.member-visits,.member-tools{background:#fff;border-radius:var(--hub-radius)}
.member-visits{padding:15px 12px 8px;margin:18px 0 20px}.member-visits .module-title{margin:0 3px 8px}
.member-visits .service-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.member-visits .grid-entry{font-size:13px}
.member-next{margin:4px 0 9px;padding:10px 12px;background:#edf6fa;border-radius:11px;color:#244e67;font-size:13px}
.member-next small,.member-next b{display:block}.member-next small{font-size:11px;color:#547486}.visit-when{margin-left:auto;font-variant-numeric:tabular-nums}.member-next .chevron{width:12px;height:12px}
.member-help{margin-bottom:18px}.member-help .module-title{margin:0 3px 9px}
.member-certificates{border-top:1px solid var(--hub-line);display:grid;grid-template-columns:1fr 1fr;margin-top:8px;padding-top:5px}
.member-certificates a{display:flex;align-items:center;gap:7px;min-height:44px;padding:0 6px;color:#38536d;font-size:13px}
.member-certificates .service-art{height:25px;width:25px}.member-certificates .chevron,.member-inbox .chevron{width:12px;height:12px;margin-left:auto}
.member-inbox{display:flex;align-items:center;gap:12px;border-radius:16px;margin:-7px 0 21px;padding:16px;background:var(--hub-tint);color:var(--ink)}
.member-inbox .service-art{width:36px;height:36px}.member-inbox b,.member-inbox small{display:block}.member-inbox b{font-size:16px}.member-inbox small{margin-top:4px;font-size:12px;color:var(--muted)}
.member-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:3px 13px;column-gap:15px}
.member-tools a{min-width:0;display:flex;align-items:center;gap:8px;min-height:47px;color:#40586d;font-size:13px}
.member-tools a:nth-child(n+3){border-top:1px solid var(--hub-line)}.member-tools .icon:first-child{width:17px;height:17px}.member-tools .chevron{width:12px;height:12px;margin-left:auto}

 body:has(main:is([data-route=book],[data-route=booking],[data-route=consult],[data-route=me])){position:relative;isolation:isolate;background:#f5f7fb}
 body:has(.clinic-book){--masthead-scene:url('art/masthead-arrival.webp');--scene-height:244px}

 
 body:has(main[data-route=booking]):before{
   content:"";position:absolute;inset:0 0 auto;z-index:-1;height:var(--scene-height);pointer-events:none;
   background-image:linear-gradient(to top,#f5f7fb 0%,rgba(245,247,251,.9) 3%,transparent 27%),linear-gradient(90deg,rgba(242,249,253,.7),rgba(242,249,253,.36) 36%,transparent 65%),var(--masthead-scene);
   background-repeat:no-repeat;background-position:center;background-size:cover
 }
 .schedule-heading{min-height:133px}
 body:has(main:is([data-route=book],[data-route=booking],[data-route=consult],[data-route=me])) #header{background:transparent;border-color:transparent}
 #main:is([data-route=book],[data-route=booking],[data-route=consult],[data-route=me]){padding-top:4px}

@media(max-width:359px){.dept-name{gap:5px}.clinic-filters{gap:12px}.consult-method:not(:first-child){padding-inline:10px}.consult-files a{padding-inline:9px}}
.senior .member-main h2{font-size:26px}.senior .member-tools a,.senior .member-switch,.senior .method-text b,.senior .member-visits .grid-entry{font-size:18px}

/* Full-width mobile service scenes */
.scene-hub{--ink:#142b48;--muted:#506780;--blue:#1678f5;--line:#e1eaf6;--pale:#edf5ff;color:var(--ink);display:grid;gap:12px;padding-bottom:10px}
.scene-copy{min-height:100px;display:flex;flex-direction:column;justify-content:flex-start;padding:10px 6px 14px;pointer-events:none}
.scene-copy h1{font-size:clamp(28px,min(7.9vw, 36.34px),35px);line-height:1.22;font-weight:750;letter-spacing:.005em;margin:0}
.scene-copy p{margin:7px 0 0;font-size:14px;font-weight:500;line-height:1.5;color:#304d69}
.hub-block,.scene-strip,.scene-entry{border:1px solid rgba(255,255,255,.93);border-radius:18px;box-shadow:0 4px 16px #2868a209}
.hub-block{padding:11px 13px 13px;background:linear-gradient(120deg,#ffffffef,#f6fafff5)}
.hub-block-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 9px;min-height:36px}
.hub-block-head h2{display:flex;align-items:center;gap:8px;margin:0;color:var(--ink);font-size:18px;line-height:1.4;font-weight:700}
.hub-block-head h2 .icon{width:20px;height:20px}
.hub-block-head .more,.booking-hub>.more{display:inline-flex;justify-content:center;align-items:center;gap:3px;min-height:36px;color:#3e5775;font-size:13px;white-space:nowrap;padding:0}
.booking-hub>.more{min-height:44px}
.book-week,.book-departments{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.book-week a,.book-departments a,.time-choice span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;color:#263c59;background:linear-gradient(150deg,#fff,#eef5ff);border:1px solid #dce8f8;border-radius:12px}
.book-week a{min-height:54px}.book-week a small{font-size:12px}.book-week a b{font:600 15px/1.1 Arial,sans-serif}
.book-departments{grid-template-columns:repeat(4,minmax(0,1fr))}
.book-departments a{min-height:66px;font-size:13px;font-weight:600}.book-departments img{width:26px;height:26px}
.book-week a.is-picked,.book-departments a.is-picked,.time-choice input:checked+span,.reserve-now{color:white;background:linear-gradient(140deg,#399bf9,#176df5 85%);border-color:transparent;box-shadow:0 3px 8px #2779ea1c}
.book-departments a.is-picked img,.reserve-now img{filter:brightness(0) invert(1)}
.booking-provider{display:flex;align-items:center;gap:12px;min-height:64px}.booking-provider>.service-art,.booking-provider .attachment{object-fit:contain;width:54px;height:54px;border-radius:13px;background:#eaf3ff;padding:5px}
.booking-provider .attachment{object-fit:cover;padding:0}.booking-provider span{min-width:0;flex:1}.booking-provider b,.booking-provider small{display:block}
.booking-provider b{font-size:17px}.booking-provider small{line-height:1.5;font-size:12px;color:var(--muted)}.booking-provider em{align-self:flex-start;margin-top:7px;font-size:12px;font-style:normal;padding:3px 8px;color:#225da7;border-radius:20px;background:#e6f0ff}
.booking-offer+.booking-offer{border-top:1px solid var(--line);padding-top:14px;margin-top:15px}
.offer-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:10px 0}
.time-choice{position:relative;cursor:pointer}.time-choice input{position:absolute;opacity:0}.time-choice span{min-height:44px;font:600 15px/1.2 Arial,sans-serif;border-radius:9px}.time-choice input:focus-visible+span{outline:2px solid #164c98;outline-offset:2px}
.reserve-now{display:flex;align-items:center;justify-content:center;gap:11px;min-height:44px;width:100%;font-size:16px;font-weight:650;border-radius:12px}.reserve-now .icon{height:17px;width:17px}
.no-clinic-slots{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;font-size:13px;color:var(--muted)}
.sheet-days{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:10px}
.entry-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.scene-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:0;padding:14px 13px;min-height:158px;background:linear-gradient(135deg,#fff,#eef5ff)}
.scene-entry-main{background:linear-gradient(143deg,#167af0,#2d8df6);color:white}
.scene-entry>.service-art{width:78px;height:70px;object-fit:contain;margin:0 0 7px}
.scene-entry b{font-size:20px;line-height:1.3;font-weight:700}.scene-entry small{font-size:12px;line-height:1.5;color:#425c78;margin-top:4px}.scene-entry-main small{color:white}
.scene-strip{display:flex;align-items:center;gap:9px;min-height:48px;padding:7px 13px;background:#ffffffdf}.scene-strip .service-art{width:25px;height:25px}.scene-strip b{font-size:15px}.scene-strip small{margin-left:auto;font-size:12px;color:var(--muted);text-align:right}.scene-strip .chevron{width:13px;height:13px;margin:0}
.consult-reservation{min-height:94px;padding:13px 19px;gap:15px;background:linear-gradient(115deg,#edf5ff,#fff 80%);border-color:#d9e8fb}
.consult-reservation .service-art{width:60px;height:60px;object-fit:contain;flex:none}
.consult-reservation b,.consult-reservation small{display:block;text-align:left}
.consult-reservation b{font-size:19px;line-height:1.4}
.consult-reservation small{font-size:13px;margin:3px 0 0}
.consult-reservation .chevron{margin-left:auto;width:16px;height:16px}
.scene-hub .hub-idle{display:flex;align-items:center;margin:0;padding:12px;background:#f0f5fc;border-radius:11px;color:var(--muted);font-size:13px;min-height:46px;line-height:1.55}
.scene-hub .recordrow{padding:10px 3px}.scene-hub .recordrow>div{min-width:0}.scene-hub .recordrow small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-hub .recordrow .tag{flex:none}
.scene-tools{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:6px}
.scene-tools a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:70px;padding:5px 1px;background:#f2f7fd;border-radius:11px;color:var(--ink);font-size:13px;text-align:center}
.scene-tools img{width:34px;height:34px;object-fit:contain}

 body:has(.scene-hub){position:relative;isolation:isolate;background:#edf4fc}
 body:has(.booking-hub){--hub-art:url('art/hub-registration-scene.webp')}
 body:has(.consultation-hub){--hub-art:url('art/hub-consultation-scene.webp?v=28');--consult-header-height:clamp(218px,min(60vw, 276px),340px)}
 body:has(.wellness-hub){--hub-art:url('art/health-records-desktop.webp?v=23');--health-header-height:clamp(150px,min(44vw, 202.4px),250px)}
 body:has(main .scene-hub)::before{content:'';position:absolute;inset:0 0 auto;z-index:-1;height:clamp(178px,min(52vw, 239.2px),230px);background:linear-gradient(0deg,#edf4fc,transparent 28%),var(--hub-art) center/cover no-repeat;pointer-events:none}
 body:has(main .consultation-hub)::before{height:var(--consult-header-height);background:linear-gradient(0deg,#edf4fc,transparent 16%),var(--hub-art) center 28%/cover no-repeat}
 .consultation-hub .scene-copy{min-height:calc(var(--consult-header-height) - 63px);justify-content:flex-start;padding-top:clamp(14px,min(5.5vw, 25.3px),32px)}
 body:has(main .wellness-hub)::before{height:var(--health-header-height);background:linear-gradient(0deg,#edf4fc,transparent 16%),var(--hub-art) right bottom/cover no-repeat}
 .wellness-hub .scene-copy{min-height:calc(var(--health-header-height) - 52px)}
 body:has(main .scene-hub) #header{border:0;background:transparent}
 body:has(main .scene-hub) #header .header-inner{min-height:39px}
 #main:has(.scene-hub){padding-top:0}

@media(max-width:359px){.scene-hub{gap:9px}.scene-copy{min-height:91px}.scene-copy p{font-size:12px}.scene-entry{padding:14px 10px;min-height:144px}.scene-entry b{font-size:18px}.scene-entry small{font-size:11px}.hub-block{padding-inline:10px}.book-week,.book-departments{gap:4px}.book-departments a{font-size:12px}.hub-block-head h2{font-size:16px}}
.senior .scene-copy p,.senior .scene-entry small,.senior .hub-idle,.senior .scene-tools a,.senior .book-departments a{font-size:16px}.senior .hub-block-head h2,.senior .scene-entry b{font-size:22px}


/* Shared patient-facing controls and empty states */
.primary, .reserve-now {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  justify-content: center;
}
.panel > .primary, .panel > form > .primary { margin-inline: 0; }
.actions { flex-wrap: wrap; }
.actions > .secondary { flex: 0 1 auto; }
.actions > .primary { flex: 1 1 9em; width: auto; }
.empty-state {
  gap: 7px;
  padding: 24px 0 18px;
  text-align: center;
}
.empty-state .empty-art { width: 84px; height: 78px; object-fit: contain; margin-bottom: 3px; }
.empty-state > b { font-size: 16px; font-weight: 650; color: #344861; }
.empty-state > p { max-width: 27em; padding: 0 8px; margin: 0; line-height: 1.65; color: #576b80; }
.empty-state > .primary { margin-top: 9px; }
.hub-block .empty-state, .booking-offer .empty-state { padding: 12px 0 8px; }
.hub-block .empty-art, .booking-offer .empty-art { width: 62px; height: 57px; }
.doctor-portrait { display: block; flex: none; object-fit: cover; border-radius: 14px; width: 54px; height: 54px; }
.booking-provider .doctor-portrait { width: 60px; height: 64px; }
.listitem > .doctor-portrait { width: 48px; height: 48px; border-radius: 12px; }
.portrait-detail { width: 88px; height: 88px; margin: 8px 0 12px; }
.member-tools { grid-template-columns: minmax(0, 1fr); padding: 2px 16px; }
.member-tools a { min-height: 52px; gap: 12px; font-size: 16px; color: #243950; }
.member-tools a + a { border-top: 1px solid var(--hub-line); }
.member-tools .icon:first-child { width: 24px; height: 24px; }
.member-tools .chevron { width: 15px; height: 15px; }
.card-top > .icon, .codebutton .icon, .card-switch .icon,
.mint .circle-arrow img, .violet .circle-arrow img, .mastcopy .icon,
.home .headsenior img, .home .headsearch img, .home .bell img { filter: none; }
.primary .icon, .reserve-now .icon, .book-departments a.is-picked img {
  filter: none;
  background: #f2f7ff;
  border-radius: 50%;
  padding: 2px;
}
.primary .icon, .reserve-now .icon { width: 20px; height: 20px; }

/* Large-type, two-column service navigation */
.elder-home { display: grid; gap: 20px; padding-top: 16px; }
.elder-home .patient-pocket { order: 0; margin: 0; }
.elder-home .pocket-top > span { font-size: 19px; }
.elder-home .pocket-top .more { font-size: 16px; min-height: 44px; }
.elder-home .pocket-user b { font-size: 27px; }
.elder-home .pocket-user small, .elder-home .tag { font-size: 16px; }
.elder-home .pocket-code { font-size: 16px; padding: 7px 12px; }
.elder-home .pocket-code .icon { width: 30px; height: 30px; }
.elder-services h2 { margin: 0 0 10px 3px; font-size: 23px; color: #203653; line-height: 1.4; }
.elder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.elder-entry {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; min-height: 132px; padding: 12px 6px;
  border: 1px solid #dbe7f3; border-radius: 18px;
  background: linear-gradient(160deg, #fff 42%, #eff6ff); color: #192e47;
}
.elder-entry .service-art { width: 72px; height: 68px; object-fit: contain; }
.elder-entry b { font-size: 23px; line-height: 1.35; }
.elder-services:last-child .elder-entry { background: white; }
.senior #header .headsenior { font-size: 16px; min-height: 44px; }
.senior .service-grid, .senior .member-visits .service-grid,
.senior .scene-tools, .senior .book-departments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.senior .service-grid .grid-entry, .senior .scene-tools a, .senior .book-departments a { font-size: 19px; line-height: 1.4; min-height: 94px; }
.senior .grid-entry .iconwell, .senior .grid-entry .iconwell img,
.senior .scene-tools img { width: 53px; height: 53px; }
.senior .book-departments .icon { width: 35px; height: 35px; }
.senior .scene-entry > .service-art { width: 88px; height: 80px; }
.senior .listitem { min-height: 60px; }
.senior .listitem > .icon:first-child, .senior .member-tools .icon:first-child,
.senior .utility-row > .icon:first-child { width: 30px; height: 30px; }
.senior .member-tools a, .senior .primary, .senior .secondary,
.senior .reserve-now, .senior .field input, .senior .field select, .senior .field textarea,
.senior .empty-state > b, .senior .booking-provider b { font-size: 20px; }
.senior .member-tools a, .senior .primary, .senior .reserve-now { min-height: 54px; }
.senior .empty-state p, .senior .recordrow small, .senior .listitem small,
.senior .booking-provider small, .senior .scene-strip small { font-size: 16px; }
.senior .empty-art { width: 88px; height: 82px; }
.senior #bottom .navlink { min-height: 54px; font-size: 16px; }
.senior #bottom .icon { width: 28px; height: 28px; }


/* One mobile canvas for both reading modes, including fixed controls. */
:root { --phone-width: 460px; --phone-half: calc(var(--phone-width) / 2); background: #e9edf3; }
body { max-width: var(--phone-width); margin-inline: auto; background: var(--base); min-height: 100dvh; }
#bottom, #sheet { width: min(100%, var(--phone-width)); margin-inline: auto; }
#sheet { inset-inline: 0; }
#toast { max-width: min(90vw, 420px); }
.service-home { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.service-home > *, .service-home .home-guides, .service-home .editorial-banner {
  order: initial;
  margin-block: 0;
}
.service-home .editorial-banner { width: 100%; min-width: 0; }
.home-guides .guide-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.expert-showcase { min-width: 0; padding-inline: 14px; }
.expert-showcase .section-title { margin-bottom: 12px; }
.example-caption { font-size: 11px; font-weight: 400; color: #67798b; }
.expert-showcase .more { margin-left: auto; }
.expert-rail {
  display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c3d8ef transparent;
  margin-inline: -2px; padding: 2px 2px 6px; scroll-padding-inline: 2px;
}
.expert-card {
  flex: 0 0 76%; max-width: 278px; min-width: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 12px; padding: 13px;
  border: 1px solid #dce8f4; border-radius: 15px; color: var(--navy);
  background: linear-gradient(155deg, #edf5ff, #fafcff 62%);
}
.expert-heading { display: flex; align-items: center; gap: 12px; }
.expert-card .doctor-portrait {
  width: 70px; height: 80px; object-fit: cover; object-position: center 30%; border-radius: 10px;
}
.expert-info { display: grid; justify-items: start; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.expert-info b { color: #1b324d; font-size: 20px; line-height: 1.25; }
.expert-info > span { font-size: 13px; color: #465c73; }
.expert-info small { font-size: 12px; color: #356293; background: #e3eefb; padding: 2px 7px; border-radius: 6px; }
.expert-bio { border-top: 1px solid #dce6f0; padding-top: 8px; display: grid; gap: 3px; }
.expert-bio strong { font-size: 12px; color: #3f5d79; font-weight: 600; }
.expert-bio > span {
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; color: #354b60;
}
.expert-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; }
.senior .expert-card { flex-basis: 87%; max-width: 345px; padding: 15px; }
.senior .expert-card .doctor-portrait { width: 84px; height: 96px; }
.senior .expert-info b, .senior .expert-showcase h2 { font-size: 23px; }
.senior .expert-info small, .senior .expert-info > span, .senior .expert-showcase .more,
.senior .expert-bio strong { font-size: 17px; }
.senior .expert-bio > span { font-size: 18px; }
.senior .expert-showcase .example-caption { font-size: 14px; }
