.vd .patient{flex-direction:column;flex:1;justify-content:center;gap:clamp(12px,2.6vh,24px);width:min(1020px,100% - 48px);min-height:0;padding:clamp(14px,2.6vh,24px) 0 clamp(14px,3vh,28px);display:flex}.vd .card{border:1px solid var(--line);background:#fff;border-radius:20px;box-shadow:0 1px 2px #08233f0d,0 8px 22px #08233f0f}.vd .p-head{flex:none;align-items:center;gap:16px;padding:12px 20px 12px 14px;display:flex}.vd .p-back{border:1.5px solid var(--line);background:var(--soft);color:var(--brand-deep);font:700 14px var(--font-display);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:9px 15px 9px 11px;display:flex}.vd .p-back svg{width:18px;height:18px}.vd .p-back:hover{background:var(--brand);color:#fff;border-color:var(--brand)}.vd .p-back:focus-visible,.vd .p-btn:focus-visible,.vd .sheet-x:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.vd .p-avatar{aspect-ratio:1;background:var(--brand-deep);width:clamp(52px,8vh,68px);box-shadow:0 0 0 4px #fff, 0 0 0 5.5px var(--line);border-radius:50%;flex:none;place-items:center;display:grid}.vd .p-avatar svg{fill:none;width:46%;height:46%;stroke:var(--accent);stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round}.vd .p-id{flex:1;min-width:0}.vd .p-file{font:600 13px var(--font-body);color:var(--muted);align-items:center;gap:7px;display:flex}.vd .p-file .vd-brand-chip{font-size:12px}.vd .p-id h2{font:800 clamp(24px, 4.4vh, 36px)/1.05 var(--font-display);letter-spacing:-.02em;margin:2px 0 0}.vd .p-id p{color:var(--muted);margin:3px 0 0;font-size:15px}.vd .p-owner{text-align:right;color:var(--muted);flex:none;font-size:14px}.vd .p-owner b{color:var(--ink);font:700 17px var(--font-display);display:block}.vd .p-status{flex:none;grid-template-columns:1fr 1fr;gap:14px;display:grid}.vd .s-card{border-left:7px solid var(--line);cursor:default;flex-direction:column;gap:10px;padding:14px 18px;display:flex}.vd .s-card.late{border-left-color:#d64541}.vd .s-card.ok{border-left-color:#2f9e6b}.vd .s-card.soon{border-left-color:var(--accent)}.vd .s-top{align-items:center;gap:12px;display:flex}.vd .s-ico{width:44px;height:44px}.vd .s-ico svg{width:22px;height:22px}.vd .s-title{font:800 clamp(17px, 2.6vh, 21px) var(--font-display);flex:1}.vd .s-facts{grid-template-columns:1.35fr 1fr 1fr;gap:14px;display:grid}.vd .s-facts span{color:var(--muted);font-size:12.5px;display:block}.vd .s-facts b{white-space:nowrap;margin-top:1px;font-size:15.5px;font-weight:700;display:block}.vd .chip{font:800 clamp(14px, 2.2vh, 18px) var(--font-display);white-space:nowrap;border-radius:999px;flex:none;padding:7px 14px}.vd .chip.late{color:#b3261e;background:#fdeceb}.vd .chip.ok{color:#1b7a4a;background:#e5f5ec}.vd .chip.soon{color:#8a5a00;background:#fff3d9}.vd .chip.neutral{color:var(--muted);background:#eef2f1}.vd .p-grid{flex:none;grid-template-columns:repeat(6,1fr);gap:14px;display:grid}.vd .p-btn{cursor:pointer;height:clamp(74px,12vh,104px);font-family:var(--font-body);color:var(--ink);text-align:left;grid-column:span 2;align-items:center;gap:14px;padding:0 20px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex}.vd .p-btn:nth-child(n+4){grid-column:span 3}.vd .p-btn:hover{border-color:var(--brand);transform:translateY(-3px);box-shadow:0 12px 28px #0a41742e}.vd .p-ico{aspect-ratio:1;width:clamp(44px,6.5vh,56px)}.vd .p-ico svg{width:46%;height:46%}.vd .p-btn:hover .p-ico{background:var(--brand);color:#fff}.vd .p-txt{flex-direction:column;gap:2px;min-width:0;display:flex}.vd .p-txt strong{font:800 clamp(18px, 2.8vh, 24px) var(--font-display);letter-spacing:-.01em}.vd .p-txt span{color:var(--muted);font-size:14px}.vd .home-btn{z-index:31;position:absolute;top:clamp(14px,3vh,30px);left:22px}.vd .sheet{z-index:40;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#001d3961;place-items:center;padding:18px;display:grid;position:absolute;inset:0}.vd .sheet-box{background:#fff;border-radius:24px;width:min(1000px,100%);max-height:100%;padding:0 22px 18px;overflow:auto;box-shadow:0 30px 60px #0000004d}.vd .sheet-top{z-index:2;border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:14px;margin-bottom:14px;padding:16px 0 12px;display:flex;position:sticky;top:0}.vd .sheet-title{flex:1;min-width:0}.vd .sheet-title h3{font:800 22px var(--font-display);letter-spacing:-.01em;margin:0}.vd .sheet-title p{color:var(--muted);margin:2px 0 0;font-size:13px}.vd .sheet-x{border:1.5px solid var(--line);background:var(--soft);width:40px;height:40px;color:var(--brand-deep);cursor:pointer;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.vd .sheet-x svg{width:20px;height:20px}.vd .sheet-x:hover{background:var(--brand);color:#fff}.vd .rec{border:1px solid var(--line);background:#fbfdff;border-radius:18px;margin-bottom:14px;padding:14px 16px 16px}.vd .rec header{align-items:center;gap:12px;margin-bottom:12px;display:flex}.vd .rec-date{font:700 13px var(--font-body);background:var(--brand-deep);color:#fff;white-space:nowrap;border-radius:8px;padding:5px 11px}.vd .rec h4{font:800 18px var(--font-display);letter-spacing:-.01em;flex:1;margin:0}.vd .rec .chip{padding:5px 12px;font-size:13px}.vd .rec-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:11px 18px;margin:0;display:grid}.vd .rec-grid .wide{grid-column:span 2}.vd .rec-grid dt{color:var(--muted);font-size:12px}.vd .rec-grid dd{overflow-wrap:anywhere;margin:2px 0 0;font-size:15px;font-weight:600}.vd .mini{border-collapse:collapse;width:100%;margin-top:14px;font-size:14px}.vd .mini th{text-align:left;color:var(--brand-deep);background:var(--soft);padding:8px 10px;font-size:12px;font-weight:700}.vd .mini th:first-child{border-radius:8px 0 0 8px}.vd .mini th:last-child{border-radius:0 8px 8px 0}.vd .mini td{border-bottom:1px solid var(--line);padding:8px 10px}.vd .mini td.ok{color:#1b7a4a;font-weight:700}.vd .mini td.late{color:#b3261e;font-weight:700}.vd .rec-note{color:var(--muted);margin:12px 0 0;font-size:14px}.vd .sheet-note{color:var(--muted);margin:4px 0 0;font-size:12.5px}.vd .vd-main.in-detail{padding-top:0}.vd .detail{flex-direction:column;flex:1;gap:12px;width:min(1120px,100% - 40px);min-height:0;padding:clamp(10px,2vh,18px) 0 14px;display:flex}.vd .d-bar{flex:none;align-items:center;gap:12px;display:flex}.vd .d-crumbs{text-align:right;color:var(--muted);flex:1;font-size:14px}.vd .crumb{color:var(--brand);font:700 14px var(--font-body);cursor:pointer;background:0 0;border:0;padding:0}.vd .crumb:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:4px}.vd .d-crumbs b{color:var(--ink);font-weight:700}.vd .d-title{flex:none;align-items:center;gap:14px;display:flex}.vd .d-title .s-ico{width:54px;height:54px}.vd .d-title .s-ico svg{width:26px;height:26px}.vd .d-title h2{font:800 clamp(22px, 3.8vh, 32px)/1.05 var(--font-display);letter-spacing:-.02em;margin:0}.vd .d-title p{color:var(--muted);margin:3px 0 0;font-size:14.5px}.vd .d-body{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);align-items:start;gap:18px;min-height:0;padding:2px 6px 6px 2px;display:grid;overflow:auto}.vd .g-panel{max-height:calc(100dvh - 210px);padding:16px 18px 8px;position:sticky;top:0;overflow:auto}.vd .d-body,.vd .g-panel{scrollbar-width:none;-ms-overflow-style:none}.vd .d-body::-webkit-scrollbar{width:0;height:0;display:none}.vd .g-panel::-webkit-scrollbar{width:0;height:0;display:none}.vd:has(>.vd-main.in-detail){background-attachment:fixed;min-height:100dvh;position:relative;inset:auto;overflow:visible}@media (width>=761px){.vd:has(>.vd-main.in-detail)>.vd-dock{align-self:start;height:100dvh;position:sticky;top:0}}@media (width<=760px){.vd:has(>.vd-main.in-detail)>.vd-dock-left{position:sticky;top:0}.vd:has(>.vd-main.in-detail)>.vd-dock-right{align-self:end;position:sticky;bottom:0}}html:has(.vd-main.in-detail){scrollbar-width:none}html:has(.vd-main.in-detail)::-webkit-scrollbar{width:0;display:none}body:has(.vd-main.in-detail)::-webkit-scrollbar{width:0;display:none}.vd .detail{flex:none;width:calc(100% - clamp(16px,2.4vw,40px));max-width:none}.vd .d-body{flex:none;padding:2px 0 14px;overflow:visible}.vd .g-panel{max-height:none;top:12px;overflow:visible}@media (height<=720px){.vd .g-panel{position:static}}@media (width<=900px){.vd .d-body{grid-template-columns:minmax(0,1fr)}.vd .g-panel{order:0;position:static}}@media (prefers-reduced-motion:no-preference){@supports (animation-timeline:scroll()){.vd:has(>.vd-main.in-detail){animation:linear both history-pattern-drift;animation-timeline:scroll(root);animation-range:0 4000px}@keyframes history-pattern-drift{0%{background-position-y:0}to{background-position-y:-2000px}}}}.vd .g-head h3{font:800 20px var(--font-display);letter-spacing:-.01em;margin:0}.vd .g-head p{color:var(--muted);margin:3px 0 12px;font-size:13.5px}.vd .g-pick{margin-bottom:14px;position:relative}.vd .g-btn{border:1.5px solid var(--brand);width:100%;color:var(--brand-deep);font:700 15px var(--font-display);cursor:pointer;text-align:left;background:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;display:flex}.vd .g-btn:hover{background:var(--soft)}.vd .g-btn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.vd .g-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px;transition:transform .15s}.vd .g-btn[aria-expanded=true] svg{transform:rotate(180deg)}.vd .g-menu{z-index:6;border:1px solid var(--line);background:#fff;border-radius:14px;max-height:300px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 16px 36px #001d3938}.vd .g-opt{cursor:pointer;border-radius:10px;align-items:center;gap:10px;padding:8px 10px;font-size:15px;display:flex}.vd .g-opt:hover{background:var(--soft)}.vd .g-opt input{accent-color:var(--brand);width:17px;height:17px;margin:0}.vd .g-opt small{color:var(--muted);margin-left:auto;font-size:12px}.vd .g-foot{border-top:1px solid var(--line);justify-content:space-between;margin-top:4px;padding:6px 10px 4px;display:flex}.vd .g-foot button{color:var(--brand);font:700 13px var(--font-display);cursor:pointer;background:0 0;border:0;padding:4px 0}.vd .g-chart{border:1px solid var(--line);background:#fbfdff;border-radius:16px;margin-bottom:12px;padding:10px 12px 6px}.vd .g-chart-head{align-items:center;gap:10px;margin-bottom:2px;display:flex}.vd .g-chart-head b{font:800 16px var(--font-display);flex:1}.vd .g-chart-head span.lat{color:var(--muted);font-size:13px}.vd .g-chart svg{width:100%;height:auto;display:block}.vd .g-chart svg circle{transition:r .12s}.vd .g-chart svg circle:hover{r:7.5}.vd .g-empty{color:var(--muted);padding:20px 6px 14px;font-size:14.5px}@media (width<=760px){.vd .detail{width:calc(100% - 20px)}.vd .d-body{grid-template-columns:1fr}.vd .g-panel{max-height:none;position:static}.vd .d-crumbs{display:none}.vd .d-bar{justify-content:space-between}}.vd .g-chart-head{flex-wrap:wrap}.vd .g-icon{border:1.5px solid var(--line);color:var(--brand-deep);font:700 12.5px var(--font-display);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:6px;padding:5px 11px;display:inline-flex}.vd .g-icon:hover{background:var(--brand);color:#fff;border-color:var(--brand)}.vd .g-icon:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.vd .g-icon svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.vd .chip.zc-g{color:#1b7a4a;background:#e5f5ec}.vd .chip.zc-y{color:#8a5a00;background:#fff3d9}.vd .chip.zc-r{color:#b3261e;background:#fdeceb}.vd .zlegend{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 2px;display:flex}.vd .zchip{border:1.5px solid var(--line);font:700 13px var(--font-display);color:var(--ink);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:7px;padding:5px 12px 5px 9px;display:inline-flex}.vd .zchip i{border-radius:50%;width:12px;height:12px;display:block}.vd .zchip.z-g i{background:#2f9e6b}.vd .zchip.z-y i{background:#e5a512}.vd .zchip.z-r i{background:#d64541}.vd .zchip.on.z-g{background:#e5f5ec;border-color:#2f9e6b}.vd .zchip.on.z-y{background:#fff3d9;border-color:#e5a512}.vd .zchip.on.z-r{background:#fdeceb;border-color:#d64541}.vd .zchip:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.vd .zhint{color:var(--muted);margin-left:auto;font-size:12px}.vd .g-chart svg [data-pt],.vd .g-chart svg [data-zone]{cursor:pointer}.vd .g-info{background:var(--soft);border-radius:12px;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:6px;padding:10px 12px;font-size:14.5px;display:flex}.vd .gi-date{font-weight:700}.vd .gi-sub{color:var(--muted);flex-basis:100%;font-size:13px}.vd .g-tip{color:var(--muted);margin:6px 2px 4px;font-size:13px}.vd .g-why{border-left:6px solid;border-radius:12px;margin-top:8px;padding:10px 14px 6px}.vd .g-why.zc-g{background:#eaf7f0;border-color:#2f9e6b}.vd .g-why.zc-y{background:#fff7e3;border-color:#e5a512}.vd .g-why.zc-r{background:#fdeeed;border-color:#d64541}.vd .g-why h5{font:800 14.5px var(--font-display);margin:0 0 4px}.vd .g-why ul{margin:0;padding:0;list-style:none}.vd .g-why li{border-top:1px dashed #00000024;padding:7px 0;font-size:14px}.vd .g-why li:first-child{border-top:0}.vd .g-why li span{margin-top:2px;font-weight:500;display:block}.vd .g-why p{margin:0 0 6px;font-size:14px}.vd .big-layer{z-index:90;background:#001d398c;place-items:center;padding:14px;display:grid;position:fixed;inset:0}.vd .big-box{background:#fff;border-radius:22px;width:min(1180px,100%);max-height:100%;padding:14px 22px 18px;overflow:auto;box-shadow:0 30px 60px #00000059}.vd .big-box .g-chart{background:0 0;border:0;margin:0;padding:0}.vd .big-box .g-chart-head b{font-size:24px}.vd .big-box .g-chart-head .lat{font-size:15px}.vd .big-box .g-chart .chip{font-size:14px}.vd .big-box .zchip{padding:7px 15px 7px 11px;font-size:14.5px}.vd .big-box .g-info{font-size:16px}.vd .big-box .g-why li,.vd .big-box .g-why p{font-size:15.5px}.vd .big-layer:fullscreen{background:#fff;padding:0}.vd .big-layer:fullscreen .big-box{width:100%;height:100%;max-height:none;box-shadow:none;border-radius:0;padding:20px 36px}.vd .g-opt{text-align:left;width:100%;font-family:var(--font-body);color:var(--ink);background:0 0;border:0}.vd .g-opt[aria-selected=true]{background:var(--soft);font-weight:700}.vd .g-opt:focus-visible{outline:3px solid var(--accent);outline-offset:-2px}.vd .chk{width:18px;height:18px;color:var(--brand);flex:none}.vd .chk svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.vd .g-sep{background:var(--line);height:1px;margin:4px 8px}.vd .g-btn small{color:var(--muted);font-size:12.5px;font-weight:500}.vd .g-chart{border:1px solid var(--line);background:linear-gradient(#fff 0%,#f8fbfa 100%);border-radius:26px;margin-bottom:14px;padding:18px 18px 12px;box-shadow:0 1px 2px #08233f0d,0 14px 30px #08233f12}.vd .gc-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.vd .gc-name{font:600 14.5px var(--font-body);color:var(--muted)}.vd .gc-big{font:800 clamp(34px, 5.2vh, 46px)/1.05 var(--font-display);letter-spacing:-.03em;margin-top:2px}.vd .gc-big small{font:600 15px var(--font-body);letter-spacing:0;color:var(--muted);margin-left:6px}.vd .gc-pill{border:1.5px solid var(--line);font:700 13px var(--font-display);background:#e9f0f6;border-radius:999px;align-items:center;gap:7px;margin-top:9px;padding:5px 13px 5px 11px;display:inline-flex}.vd .gc-pill svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.vd .gc-date{color:var(--muted);margin-top:8px;font-size:13px}.vd .gc-side{flex-direction:column;flex:none;align-items:flex-end;gap:8px;display:flex}.vd .g-chart .chip{padding:5px 13px;font-size:13px}.vd .g-chart svg{margin-top:2px;overflow:visible}.vd .gc-meta{flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:9px;display:flex}.vd .gc-meta .gc-pill,.vd .gc-meta .gc-date{margin-top:0}.vd .g-panel .g-head p,.vd .g-chart:not(.big) .gc-name,.vd .g-chart:not(.big) .g-tip{display:none}@media (height<=860px){.vd .d-title p{display:none}.vd .d-title .s-ico{width:44px;height:44px}.vd .d-title h2{font-size:26px}.vd .detail{gap:8px}}.vd .g-panel .g-head h3{margin-bottom:10px}.vd .g-panel{max-height:calc(100dvh - 150px)}.vd .big-box .g-chart{padding:6px 4px 4px}.vd .big-box .gc-big{font-size:clamp(44px,7vh,64px)}.vd .big-box .gc-name{font-size:17px}.vd .big-box .gc-pill,.vd .big-box .gc-date{font-size:15px}.vd .bill-btn{border:1.5px solid var(--brand);color:var(--brand);font:700 13px var(--font-display);cursor:pointer;background:#fff;border-radius:999px;flex:none;align-items:center;gap:6px;padding:5px 12px;transition:background .15s,color .15s;display:inline-flex}.vd .bill-btn:hover,.vd .bill-btn:focus-visible{background:var(--brand);color:#fff;outline:none}.vd .bill-btn svg,.vd .rc-btn svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.vd .receipt-layer{z-index:50;background:#001d398c;place-items:center;padding:18px;display:grid;position:absolute;inset:0}.vd .receipt-box{border-top:7px solid var(--brand-deep);background:#fff;border-radius:18px;width:min(450px,100%);max-height:100%;padding:20px 24px 18px;font-size:14px;overflow:auto;box-shadow:0 30px 60px #00000059}.vd .rc-head{border-bottom:2px dashed var(--line);align-items:center;gap:12px;padding-bottom:12px;display:flex}.vd .rc-logo{background:var(--brand-deep);border-radius:50%;flex:none;place-items:center;width:46px;height:46px;display:grid}.vd .rc-logo svg{fill:none;width:22px;height:22px;stroke:var(--accent);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.vd .rc-clinic{font:800 18px var(--font-display);letter-spacing:-.01em}.vd .rc-sub{color:var(--muted);align-items:center;gap:6px;margin-top:2px;font-size:12.5px;display:flex}.vd .rc-sub .vd-brand-chip{font-size:11.5px}.vd .rc-title{color:var(--muted);justify-content:space-between;align-items:baseline;margin:14px 0 8px;font-weight:600;display:flex}.vd .rc-title b{font:800 20px var(--font-display);color:var(--ink)}.vd .rc-meta{grid-template-columns:1fr 1fr;gap:8px 14px;margin:0 0 12px;display:grid}.vd .rc-meta dt{color:var(--muted);font-size:12px}.vd .rc-meta dd{margin:1px 0 0;font-weight:600}.vd .rc-items{border-collapse:collapse;width:100%}.vd .rc-items th{text-align:left;color:var(--brand-deep);background:var(--soft);padding:7px 8px;font-size:12px}.vd .rc-items td{border-bottom:1px dashed var(--line);padding:8px}.vd .rc-items th:nth-child(n+2),.vd .rc-items td:nth-child(n+2){text-align:right;white-space:nowrap}.vd .rc-total{border-top:2px solid var(--brand-deep);font:800 20px var(--font-display);justify-content:space-between;align-items:baseline;margin-top:10px;padding:12px 0 10px;display:flex}.vd .rc-total span{font-size:15px;font-weight:700}.vd .rc-pay{align-items:center;gap:22px;display:flex}.vd .rc-pay span{color:var(--muted);font-size:12px;display:block}.vd .rc-pay b{font-weight:700;display:block}.vd .rc-paid{color:#1b7a4a;font:800 18px var(--font-display);border:2.5px solid #1b7a4a;border-radius:10px;margin-left:auto;padding:3px 14px;transform:rotate(-8deg)}.vd .rc-thanks{text-align:center;color:var(--muted);border-top:2px dashed var(--line);margin:16px 0 12px;padding-top:12px;font-size:13px}.vd .rc-actions{justify-content:center;gap:10px;display:flex}.vd .rc-btn{background:var(--brand);color:#fff;font:700 14px var(--font-display);cursor:pointer;border:0;border-radius:999px;align-items:center;gap:7px;padding:10px 20px;display:inline-flex}.vd .rc-btn:hover{background:var(--brand-deep)}.vd .rc-btn.ghost{background:var(--soft);color:var(--brand-deep)}.vd .rc-btn.ghost:hover{background:#cfe1f0}.vd .rc-btn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}@media (height<=760px){.vd .p-head{padding-top:8px;padding-bottom:8px}.vd .p-id p{display:none}.vd .s-card{padding:10px 16px}.vd .p-txt span{display:none}}@media (width<=760px){.vd .patient{width:calc(100% - 24px);overflow:auto}.vd .p-head{flex-wrap:wrap}.vd .p-owner{text-align:left;width:100%}.vd .p-status{grid-template-columns:1fr}.vd .s-card{flex-wrap:wrap}.vd .p-grid{grid-template-rows:none;grid-template-columns:repeat(2,1fr);grid-auto-rows:minmax(110px,1fr)}.vd .p-btn,.vd .p-btn:nth-child(n+4){grid-column:span 1}.vd .p-txt span{display:block}.vd .s-facts{grid-template-columns:1fr 1fr}.vd .rec-grid .wide{grid-column:span 1}.vd .home-btn{align-self:flex-start;margin:0 0 10px 14px;position:static}}.vd .p-ico,.vd .s-ico{background:var(--soft);color:var(--brand-deep);border-radius:50%;flex:none;place-items:center;display:grid}.vd .rc-logo-img{object-fit:contain;flex:none;width:50px;height:48px}.vd a.p-back,.vd a.p-btn,.vd a.crumb{text-decoration:none}.vd a.p-back{width:max-content}.vd .crumb:hover{text-decoration:underline}.vd .gc-pill svg,.vd .g-icon svg,.vd .bill-btn svg,.vd .rc-btn svg{flex:none}@media print{:is(html:has(.vd .receipt-box),body:has(.vd .receipt-box)){height:auto!important;overflow:visible!important}body:has(.vd .receipt-box) *{visibility:hidden}.vd{position:static;overflow:visible}.vd .receipt-box,.vd .receipt-box *{visibility:visible}.vd .receipt-layer{background:0 0;position:absolute;inset:0}.vd .receipt-box{box-shadow:none;max-height:none;position:absolute;top:16px;left:50%;overflow:visible;transform:translate(-50%)}.vd .rc-actions{display:none}}@media (width<=760px){.vd .patient{justify-content:flex-start}.vd .p-status{grid-template-columns:minmax(0,1fr)}.vd .p-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vd .p-btn{gap:10px;padding:0 14px}.vd .p-txt strong{font-size:18px}.vd .s-top{flex-wrap:wrap}.vd .s-facts b{white-space:normal}.vd .d-body{flex-direction:column;gap:14px;display:flex}.vd .d-records{min-width:0}.vd .g-panel{max-height:none;overflow:visible}.vd .rec header{flex-wrap:wrap}.vd .rec h4{flex-basis:calc(100% - 130px)}.vd .rec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vd .mini{font-size:12.5px}.vd .mini th,.vd .mini td{padding:7px 6px}.vd .gc-top{flex-wrap:wrap}.vd .gc-side{flex-direction:row;align-items:center}}.vd .g-chart:not(.big) svg{max-height:300px}@media (width>=901px){.vd .d-body{grid-template-columns:minmax(0,1fr) minmax(0,.72fr)}}.vd .g-chart:not(.big) svg{width:100%;max-height:200px}.vd .g-panel{padding:12px 14px 6px}.vd .g-chart:not(.big) .gc-big{font-size:28px}.vd .gc-top{flex-wrap:wrap}.vd .gc-main{flex:14rem;min-width:0}.vd .gc-pill,.vd .g-icon{white-space:nowrap;flex:none;width:auto;min-width:max-content}.vd .gc-pill{max-width:100%}.vd .g-stack{flex-direction:column;gap:14px;display:flex}.vd .g-stack-item{border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px 12px 6px}.vd .g-stack-title{font:700 14px var(--font-display);color:var(--brand-deep);margin:0 0 4px}.vd .g-stack-title small{font:500 12px var(--font-body);color:var(--muted)}.vd .g-stack-item .g-chart:not(.big)>svg{max-height:170px}.vd .g-chart .gc-pill svg,.vd .g-chart .g-icon svg,.vd .g-chart:not(.big) .gc-pill svg,.vd .g-chart:not(.big) .g-icon svg{flex:none;width:15px;height:15px;max-height:none;margin:0}@media (width>=901px){.vd .g-stack{gap:6px}.vd .g-stack-item{background:0 0;border:0;padding:0}.vd .g-stack-title{margin:2px 2px 3px;font-size:13px}.vd .g-stack-item .g-chart{box-shadow:none;background:#fbfdff;border-radius:14px;margin:0;padding:6px 12px 2px}.vd .g-stack-item .gc-top{flex-wrap:nowrap;align-items:center;gap:8px}.vd .g-stack-item .gc-main{flex-wrap:wrap;flex:auto;align-items:center;gap:4px 10px;display:flex}.vd .g-stack-item .gc-big{margin:0;font-size:26px}.vd .g-stack-item .gc-big small{margin-left:3px;font-size:12px}.vd .g-stack-item .gc-meta{gap:2px 8px;margin-top:0}.vd .g-stack-item .gc-pill{padding:2px 9px 2px 8px;font-size:11.5px}.vd .g-stack-item .gc-date{font-size:11px}.vd .g-stack-item .gc-side{flex-direction:row;align-items:center;gap:6px}.vd .g-stack-item .g-chart .chip{padding:2px 9px;font-size:11.5px}.vd .g-stack-item .g-icon{gap:0;padding:5px;font-size:0}.vd .g-stack-item .zlegend{gap:5px;margin:4px 0 0}.vd .g-stack-item .zchip{padding:2px 9px;font-size:11.5px}.vd .g-stack-item .zhint{display:none}.vd .g-stack-item .g-chart:not(.big)>svg{max-height:clamp(110px,50dvh - 200px,270px)}.vd .g-panel{flex-direction:column;height:calc(100dvh - 150px);max-height:none;display:flex;overflow:hidden}.vd .g-panel .g-stack{flex:1 1 0;min-height:0}.vd .g-stack-item,.vd .g-stack-item .g-chart{flex-direction:column;flex:1 1 0;min-height:0;display:flex}.vd .g-stack-item .g-chart:not(.big)>svg{flex:1 1 0;width:100%;height:auto;min-height:60px;max-height:none}}
