.vn-queue-toggle,#vn-mobile-next{display:none}
@media(max-width:760px){
 body.workframe .shell>.ws-toolbar{min-height:54px;gap:4px}
 body.workframe .ws-toggle{min-width:44px;min-height:44px;flex-basis:44px}
 body.workframe .ws-toolbar .header-right button{min-height:44px;padding-inline:8px}
 body.workframe .ws-toolbar .header-right{min-width:0}
 body.workframe .ws-toolbar .demo-pill{display:none}
 body.workframe #workspace-sidebar nav a.ws-link,body.workframe #workspace-sidebar .ws-ai-chat{min-height:45px}
 body.workframe #main{padding-inline:max(9px,env(safe-area-inset-left))}
 body.workframe .vn-studio .vn-hero{flex-direction:row;align-items:center;flex-wrap:wrap;padding:8px 10px;gap:5px;margin-bottom:6px}
 body.workframe .vn-studio .vn-hero h1{font-size:1.64rem;margin:1px 0 0}
 .vn-hero-copy>p,.vn-hero-actions>button{display:none}
 .vn-hero-actions a{min-height:44px;padding:5px 8px;font-size:.81rem}
 .vn-frame{grid-template-columns:minmax(0,1fr);gap:6px}
 .vn-queue{padding:0;overflow:visible;border-radius:10px}
 .vn-queue-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:47px;text-align:left;gap:7px;padding:6px 9px;border:0;border-radius:9px;background:#fff;color:#1f6248}
 .vn-queue-toggle strong,.vn-queue-toggle small{display:block}.vn-queue-toggle small{font-size:.76rem;color:#527162}
 .vn-queue-toggle>span:last-child{font-size:1.1rem}.vn-queue-open .vn-queue-toggle>span:last-child{transform:rotate(180deg)}
 #vn-queue-content{padding:0 8px 8px}.vn-queue:not(.vn-queue-open) #vn-queue-content{display:none}
 #vn-queue-content>header{display:none}
 .vn-patient-list{max-height:210px;display:grid;overflow:auto;padding:2px}
 .vn-patient-list button{min-height:48px}.vn-filters button{min-height:44px}
 .vn-studio .vn-search input{font-size:16px;min-height:44px}
 .vn-studio .vn-work{overflow:visible;border-radius:10px}
 body.workframe .vn-studio .vn-patient-head{grid-template-columns:36px minmax(0,1fr);padding:8px;gap:4px 8px;border-radius:10px 10px 0 0}
 .vn-avatar.vn-avatar-large{width:36px;height:36px}.vn-patient-head .vn-kicker{font-size:.68rem}.vn-patient-head h2{font-size:1.35rem;margin:1px 0 2px}
 .vn-patient-head p{font-size:.83rem}.vn-patient-head p+p{font-size:.77rem}
 .vn-patient-head .vn-meta{grid-column:2;display:flex;flex-wrap:wrap;justify-items:start;gap:4px}
 body.workframe .vn-studio .vn-steps{display:flex;flex-wrap:nowrap;overflow:auto;overscroll-behavior-inline:contain;padding:5px 7px;gap:4px}
 body.workframe .vn-studio .vn-steps button{flex:0 0 auto;min-height:44px;padding:5px 8px;font-size:.81rem}
 .vn-studio .vn-steps button span{display:none}
 body.workframe .vn-studio .vn-pane{padding:8px}
 .vn-pane-capture .bh-panehead h3,.td-note-content .bh-panehead h3{font-size:1.18rem;margin:3px 0}
 .vn-pane-capture .bh-panehead p,.td-note-content .bh-panehead p{font-size:.85rem;line-height:1.4;margin:0 0 7px}
 body.workframe :is(.vn-studio,.td-quick-note) .pt-voice{padding:8px;border-radius:10px}
 :is(.vn-studio,.td-quick-note) .pt-voice-top{gap:6px}
 :is(.vn-studio,.td-quick-note) .pt-voice-top p{display:none}
 :is(.vn-studio,.td-quick-note) .pt-voice h4{font-size:1rem}
 :is(.vn-studio,.td-quick-note) .pt-voice-meter:not(.active){display:none}
 :is(.vn-studio,.td-quick-note) .pt-voice details{margin-top:3px}
 :is(.vn-studio,.td-quick-note) .pt-voice .pt-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px}
 :is(.vn-studio,.td-quick-note) .pt-voice button{min-height:46px;white-space:normal;justify-content:center}
 body.workframe :is(.vn-studio,.td-quick-note) :is(textarea,input:not([type=checkbox])){font-size:16px;line-height:1.4}
 body.workframe :is(.vn-studio,.td-quick-note) #bh-intake{min-height:145px;scroll-margin:65px 0 78px}
 body.workframe .vn-pane-capture .vn-capture-submit{position:sticky;bottom:0;z-index:4;margin:5px -8px -8px;padding:7px 8px max(7px,env(safe-area-inset-bottom));background:#f7fcf9;border-top:1px solid #d1e6d9}
 .vn-capture-submit button{min-height:47px;width:100%}
 .vn-studio .bh-review-grid .bh-evidence>div{min-width:0}.vn-studio :is(.bh-actions button,.bh-actions a),.td-note-content .bh-actions button{min-height:44px}
 .vn-studio .bh-evidence pre,.td-note-content .bh-evidence pre{white-space:pre-wrap;overflow-wrap:anywhere}
 body.workframe .td-quick-note[open]{position:fixed;inset:0;width:100%;height:100dvh;max-height:100dvh;max-width:none;margin:0;border:0;border-radius:0;display:flex;flex-direction:column;overflow:hidden}
 .td-quick-note .td-popup-top{position:relative;flex:none;padding:9px 11px max(7px,env(safe-area-inset-top));align-items:center}
 body.workframe .td-quick-note .td-popup-top h2{font-size:1.42rem;margin:1px 0 3px}
 .td-quick-note .td-popup-close{min-height:44px;min-width:44px}
 .td-quick-note .td-note-content{flex:1;min-height:0;overflow:auto;padding:9px 11px}
 .td-quick-note .td-popup-bottom{flex:none;position:relative;min-height:57px;padding:6px 10px max(7px,env(safe-area-inset-bottom));gap:6px}
 .td-quick-note[data-note-step=capture] .vn-draft-saved,.td-quick-note .vn-capture-submit{display:none}
 .td-quick-note[data-note-step=capture] #vn-mobile-next{display:block;flex:1}
 #vn-mobile-next button,.td-quick-note .td-popup-done{min-height:44px}#vn-mobile-next button{width:100%}
 body:has(.vn-pane-capture) .bc-launch{bottom:max(75px,calc(env(safe-area-inset-bottom) + 67px))}
 body:has(.vn-studio) .bc-launch{min-width:46px;min-height:46px;padding:8px;justify-content:center}
 body:has(.vn-studio) .bc-launch>span{display:none}
 .bc-panel{max-height:calc(100dvh - 13px)}
 #bc-input{font-size:16px}
 .pc-page :is(button,.field-directions){min-height:44px}
}
@media(max-width:480px){
 body.workframe .td-content .td-highlight-card{min-width:0}
 body.workframe .td-hero-actions :is(.td-primary,.td-secondary){min-height:44px}
 .rp-exports button,.rp-library button{min-height:46px}
 .pt-clean .pt-controls-top :is(.pt-views,.pt-day-switch) button{min-height:44px}
 .pt-clean .pt-controls-search input,.pt-clean .pt-controls-search select{font-size:16px}
}
@media print{.vn-queue-toggle,#vn-mobile-next{display:none!important}}
