@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');
body.hp3-patient{background:linear-gradient(155deg,#eafaff,#f8ffff 45%,#d9fff2)!important;color:#0c294b;font-family:Inter,system-ui,sans-serif}body.hp3-patient main{max-width:920px;margin:15px auto 110px;padding:0 16px}body.hp3-patient .top{background:#fff;color:#102d4c;border-bottom:1px solid #d8efee;box-shadow:none;padding:14px max(18px,calc((100% - 920px)/2))}body.hp3-patient .brand-mark{background:linear-gradient(145deg,#21d991,#007c64);color:#fff;border:0;border-radius:12px}body.hp3-patient .brand small{color:#098e73}body.hp3-patient .toplinks .back{color:#0b776c}body.hp3-patient .bottom{display:none!important}.v11-menu-button{position:absolute;top:17px;right:18px;background:#e2f8f2;color:#057e6f;font-size:24px;width:48px;height:46px;padding:0;z-index:11}.v11-welcome{background:linear-gradient(105deg,#d9faff 5%,#b4f7e7 55%,#e7ffff);border:1px solid #b6e9e8;border-radius:22px;min-height:166px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;padding:20px;position:relative}.v11-welcome-person{display:flex;align-items:center;gap:15px;position:relative;z-index:1}.v11-avatar{background:linear-gradient(140deg,#11c99a,#087f70);border:4px solid #fff;border-radius:50%;height:70px;width:70px;display:grid;place-items:center;font-size:28px;font-weight:900;color:#fff;flex:none;box-shadow:0 3px 10px #0a76653d}.v11-welcome small{color:#1e5265;font-weight:700}.v11-welcome h1{font-size:clamp(20px,4vw,29px);margin:3px 0 9px;color:#092b51;overflow-wrap:anywhere}.v11-green-pill{display:inline-block;background:linear-gradient(120deg,#16c76b,#008e67);color:#fff;border-radius:25px;padding:7px 14px;font-size:12px;font-weight:800}.v11-hospital{width:145px;height:140px;flex:none;margin-right:-15px;opacity:.9}.v11-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}.v11-quick a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:110px;text-align:center;background:#fff;border:1px solid #d1eef2;border-radius:17px;color:#092d55;font-size:12px;font-weight:800;padding:10px 5px;box-shadow:0 6px 16px #159ca21c}.v11-icon{font-size:29px;line-height:1}.v11-icon.green{color:#00a06e}.v11-icon.blue{color:#2359d5}.v11-icon.purple{color:#a028cd}.v11-panel{background:#fff;border:1px solid #d0e8eb;border-radius:21px;padding:20px;margin:16px 0;box-shadow:0 9px 24px #096b8a12}.v11-panel h2{font-size:19px;color:#102e4e}.v11-panel-head{background:linear-gradient(110deg,#009f6e,#06c5a5);color:#fff;margin:-20px -20px 17px;padding:15px 20px;border-radius:20px 20px 0 0;display:flex;justify-content:space-between;align-items:center}.v11-panel-head h2{color:#fff;margin:0}.v11-panel-head a{color:#fff;font-size:13px;font-weight:800}.v11-appointment-row{display:flex;align-items:center;gap:12px;background:#f0fbfc;padding:13px;border-radius:15px}.v11-doctor-badge{display:grid;place-items:center;background:#c9f3e8;border-radius:13px;width:50px;height:50px;font-size:26px;color:#009a76;flex:none}.v11-appointment-row>div:nth-child(2){flex:1;min-width:0}.v11-appointment-row strong,.v11-list-row strong{display:block;color:#0c2b4d;font-weight:800}.v11-appointment-row small,.v11-list-row small{display:block;color:#657c8c;margin-top:5px;overflow-wrap:anywhere}.v11-status{font-size:11px;font-weight:800;color:#a05d00;background:#fff0c7;border-radius:14px;padding:8px;max-width:120px;text-align:center}.v11-panel-actions{margin-top:14px}.v11-primary{display:inline-flex;padding:12px 17px;background:linear-gradient(120deg,#0ec68e,#008e72);color:#fff;border-radius:11px;font-weight:800;font-size:13px}.v11-page-title{font-size:25px;margin:20px 0;color:#0d3156}.v11-list-row{display:flex;align-items:center;gap:12px;justify-content:space-between;border-bottom:1px solid #e0eef1;padding:15px 0;color:#0b3654}.v11-list-row:last-child{border-bottom:0}.v11-list-row>div{min-width:0;flex:1}.v11-list-row a{font-weight:800}.v11-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:16px 0}.v11-facts>div{background:#f1f8fb;border-radius:13px;padding:12px;min-width:0}.v11-facts small{display:block;color:#647f8b;font-weight:700}.v11-facts strong{display:block;overflow-wrap:anywhere;margin-top:6px}.v11-progress{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;margin:20px 0 12px;gap:0}.v11-progress li{text-align:center;position:relative;color:#8095a7;font-weight:700;font-size:10px}.v11-progress li:not(:last-child):after{content:'';position:absolute;top:16px;left:calc(50% + 17px);width:calc(100% - 34px);height:3px;background:#d6e2e7}.v11-progress li.done:after{background:#0db28a}.v11-progress li>span{display:grid;place-items:center;margin:0 auto 9px;border:3px solid #c6d6e0;border-radius:50%;width:35px;height:35px;font-size:13px;background:#fff}.v11-progress li.done>span{background:#0ca67e;border-color:#0ca67e;color:white}.v11-progress li.current>span{border-color:#efa91a;animation:v11pulse 2s infinite}.v11-progress small{display:block;font-size:10px}.v11-guide{background:#eaf9f4;border-left:4px solid #08a888;padding:13px;border-radius:12px;margin-top:15px;font-family:'Hind Siliguri',sans-serif}.v11-guide p{margin:7px 0 0;line-height:1.7}.v11-profile{text-align:center}.v11-profile .v11-avatar{margin:0 auto}.v11-form label{display:block;margin:15px 0;font-weight:700}.v11-form input{display:block;width:100%;padding:12px;border:1px solid #bcd5dd;border-radius:11px;margin-top:7px}.v11-form button{background:linear-gradient(120deg,#0dc895,#008a70)}.v11-bottom{position:fixed;bottom:max(8px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 20px),650px);background:#fff;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #d5eaee;border-radius:21px;padding:7px;box-shadow:0 7px 24px #0d4d682b;z-index:10}.v11-bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#17385a;font-size:11px;font-weight:800;border-radius:14px;min-width:0;padding:8px 2px}.v11-bottom a.active{background:linear-gradient(120deg,#12c78f,#008c70);color:#fff}.v11-nav-icon{font-size:25px}.v11-overlay{position:fixed;inset:0;background:#052b39a6;z-index:20}.v11-overlay[hidden]{display:none}.v11-drawer{position:fixed;left:0;top:0;bottom:0;width:min(85vw,330px);background:#fff;z-index:21;transform:translateX(-105%);transition:transform .22s ease;box-shadow:0 10px 40px #052b394d;overflow:auto}.v11-drawer.open{transform:translateX(0)}.v11-drawer-head{background:linear-gradient(125deg,#007e76,#02a579);color:white;padding:30px 20px 22px;display:flex;flex-direction:column;gap:7px}.v11-drawer-head .v11-avatar{height:60px;width:60px}.v11-drawer-head small{color:#e2fffa}.v11-drawer-head button{position:absolute;top:10px;right:10px;background:transparent;font-size:29px;padding:4px 10px}.v11-drawer nav{padding:14px}.v11-drawer nav a{display:block;padding:13px 14px;border-radius:10px;font-weight:750;color:#183a55}.v11-drawer nav a.active{background:#d9f9ed;color:#008c6c}.v11-drawer form{padding:0 20px}.v11-drawer form button{background:#fff0f0;color:#c22b36;width:100%}body.v11-menu-open{overflow:hidden}@keyframes v11pulse{50%{box-shadow:0 0 0 8px #f4b31c22}}@media(max-width:550px){body.hp3-patient main{padding:0 12px}.v11-welcome{padding:15px 12px;min-height:136px}.v11-avatar{height:58px;width:58px}.v11-hospital{width:100px;height:110px;opacity:.65}.v11-quick{gap:7px}.v11-quick a{font-size:10px;min-height:92px;padding:8px 3px}.v11-panel{padding:15px}.v11-panel-head{margin:-15px -15px 15px;padding:14px}.v11-status{font-size:10px}.v11-appointment-row{gap:8px}.v11-progress small{font-size:9px}.v11-progress li>span{width:30px;height:30px}.v11-progress li:not(:last-child):after{top:14px;left:calc(50% + 15px);width:calc(100% - 30px)}}@media(prefers-reduced-motion:reduce){.v11-progress li.current>span,.v11-drawer{animation:none;transition:none}}

/* V11.1 screenshot-driven refinement */
body.hp3-patient .v11-welcome{box-shadow:0 12px 30px rgba(5,136,136,.10)}
body.hp3-patient .v111-list-panel{padding:18px 20px}
body.hp3-patient .v111-list-panel h2{margin:0 0 9px;font-size:19px}
body.hp3-patient .v111-list-panel .v11-list-row{padding:13px 0;min-height:72px}
body.hp3-patient .v111-list-panel:has(.v11-list-row) {margin-bottom:12px}
body.hp3-patient .v11-list-row{flex-wrap:wrap}
body.hp3-patient .v11-list-row>div{flex-basis:50%}
body.hp3-patient .v11-list-row .v11-status{white-space:normal}
body.hp3-patient .v111-ref{overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums;letter-spacing:.01em}
body.hp3-patient .v111-copy{display:inline-flex;background:#e0f8f1;color:#087b6a;border:1px solid #b7e9da;border-radius:9px;padding:7px 12px;font-size:12px;font-weight:800;margin-top:9px;cursor:pointer}
body.hp3-patient .v111-doctor-row{background:linear-gradient(120deg,#e9fcf8,#effaff);border:1px solid #d2f1ec}
body.hp3-patient .v111-progress{position:relative;margin:26px 0 20px}
body.hp3-patient .v111-progress li.done>span{box-shadow:0 0 0 5px rgba(16,184,142,.11)}
body.hp3-patient .v111-progress li.current>span{color:#a56a00;background:#fffaf0;box-shadow:0 0 0 5px rgba(243,176,25,.12)}
body.hp3-patient .v111-progress li.done:after{background:linear-gradient(90deg,#08a77d,#20d6a2)}
body.hp3-patient .v11-panel .v11-facts strong{font-size:clamp(13px,3.5vw,17px);line-height:1.4}
body.hp3-patient .v11-page-title{letter-spacing:-.03em}
@media(max-width:550px){body.hp3-patient .v111-list-panel{padding:16px}body.hp3-patient .v111-list-panel .v11-list-row{gap:9px}body.hp3-patient .v11-facts>div{padding:12px 10px}body.hp3-patient .v11-progress small{line-height:1.3;font-size:9px}body.hp3-patient .v11-panel h2{line-height:1.25}}
@media(prefers-reduced-motion:reduce){body.hp3-patient .v111-progress li.current>span{animation:none}}
