html[data-embedded],html[data-embedded] body,html[data-embedded] #app{height:100%;overflow:hidden}
html[data-embedded] .demo-bar,html[data-embedded] [data-view],html[data-embedded] .demo-hint{display:none}
html[data-embedded] #app>main{height:100%;min-height:0;overflow:hidden}
html[data-embedded] .patient-stage{height:100%;padding:18px 22px 12px;min-height:0;overflow:hidden}
html[data-embedded] .patient{height:100%;display:flex;flex-direction:column;min-height:0}
html[data-embedded] .patient-top{flex:0 0 34px;margin:0 0 18px}
html[data-embedded] .patient-body{flex:1;min-height:0;overflow:hidden;position:relative}
html[data-embedded] .patient>.nurse-notice{flex-shrink:0;margin:12px 0 0;padding:10px 12px;font-size:10px;line-height:1.4;border-radius:11px}
html[data-embedded] .patient h1{font-size:32px;line-height:1.12;margin-bottom:10px}
html[data-embedded] .patient .intro{font-size:12px;line-height:1.55}
html[data-embedded] .eyebrow{font-size:10px;margin-bottom:8px}
html[data-embedded] .patient .sub-title{font-size:28px;line-height:1.18}
html[data-embedded] .service-grid{margin-top:22px;gap:11px}
html[data-embedded] .service-card{min-height:133px;padding:17px 15px}
html[data-embedded] .service-icon{width:36px;height:36px;margin-bottom:13px;border-radius:11px}
html[data-embedded] .service-card h3{font-size:15px;line-height:1.3;margin-bottom:5px}
html[data-embedded] .service-card p{font-size:10px;line-height:1.45}
html[data-embedded] .request-shortcut{margin-top:16px;padding:13px 15px}
html[data-embedded] .back{margin-bottom:16px;font-size:11px}
html[data-embedded] .option-list{margin:20px 0;gap:10px}
html[data-embedded] .option{padding:15px;min-height:65px}
html[data-embedded] .option-title{font-size:13px}
html[data-embedded] .option-desc{font-size:10px}
html[data-embedded] .field{margin:22px 0}
html[data-embedded] .field textarea{min-height:112px;font-size:12px}
html[data-embedded] .field-help{gap:12px;line-height:1.5;font-size:10px}
html[data-embedded] .field-help span:first-child{max-width:260px}
html[data-embedded] .field-help span:last-child{white-space:nowrap}
html[data-embedded] .summary{margin:18px 0;padding:16px}
html[data-embedded] .summary-head{margin-bottom:12px}
html[data-embedded] .summary-head .service-icon{margin:0}
html[data-embedded] .summary-row{padding:8px 0;font-size:11px}
html[data-embedded] .summary-note{padding:8px 0 0;font-size:11px;line-height:1.5;max-height:58px;overflow:auto;scrollbar-width:thin}
html[data-embedded] .patient[data-route=status] .back{margin-bottom:8px}
html[data-embedded] .patient[data-route=status] .status-icon{width:42px;height:42px;margin:0 0 9px}
html[data-embedded] .patient[data-route=status] .status-icon svg{width:23px;height:23px}
html[data-embedded] .patient[data-route=status] .status-ref{font-size:9px;margin-bottom:5px}
html[data-embedded] .patient[data-route=status] h1{font-size:25px;margin-bottom:6px;line-height:1.15}
html[data-embedded] .patient[data-route=status] .intro{font-size:11px;line-height:1.5}
html[data-embedded] .patient[data-route=status] .summary{padding:12px 14px;margin:12px 0}
html[data-embedded] .patient[data-route=status] .summary-head{margin-bottom:5px}
html[data-embedded] .patient[data-route=status] .summary-head strong{font-size:13px}
html[data-embedded] .patient[data-route=status] .summary-row{padding:5px 0;font-size:10px}
html[data-embedded] .patient[data-route=status] .summary-note{max-height:33px;font-size:10px;padding-top:4px}
html[data-embedded] .timeline{margin:12px 0;padding:14px 18px}
html[data-embedded] .timeline-step{min-height:0;padding:0 0 14px 30px;line-height:1.2}
html[data-embedded] .timeline-step:last-child{padding-bottom:0}
html[data-embedded] .timeline-step strong{font-size:11px}
html[data-embedded] .timeline-step small{font-size:9px;margin-top:3px}
html[data-embedded] .patient-status-actions{gap:3px}
html[data-embedded] .patient-status-actions .secondary,html[data-embedded] .patient-status-actions .primary{min-height:40px;padding:10px}
html[data-embedded] .text-action{padding:9px;font-size:10px;border-radius:8px}
html[data-embedded] .request-note{font-size:10px;padding:9px 12px;margin:9px 0;max-height:48px;overflow:auto;scrollbar-width:thin}
html[data-embedded] .patient[data-route=requests] .patient-body{display:flex;flex-direction:column}
html[data-embedded] .patient-request-list{min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin;margin:14px 0;overscroll-behavior:contain}
html[data-embedded] .patient[data-route=requests] .back{align-self:flex-start}
html[data-embedded] .workspace{height:100%;min-height:0;overflow:hidden;align-items:stretch}
html[data-embedded] .sidebar{height:100%;width:186px;overflow:hidden;padding:26px 14px;flex-shrink:0}
html[data-embedded] .sidebar-bottom{padding-top:24px}
html[data-embedded] .sidebar .workspace-label{font-size:8px;padding:0 10px;margin:3px 0 32px}
html[data-embedded] .sidebar .brand{padding:0 10px}
html[data-embedded] .workspace-body{height:100%;display:flex;flex-direction:column;min-width:0;overflow:hidden}
html[data-embedded] .workspace-top{height:58px;flex:0 0 58px;padding:0 25px}
html[data-embedded] .staff-main{padding:25px;flex:1;min-height:0;width:100%;margin:0;display:flex;flex-direction:column;overflow:hidden}
html[data-embedded] .staff-heading{margin-bottom:22px;flex-shrink:0}
html[data-embedded] .staff-heading h1{font-size:28px}
html[data-embedded] .staff-heading .eyebrow{margin-bottom:6px}
html[data-embedded] .stats{gap:12px;margin-bottom:22px;flex-shrink:0}
html[data-embedded] .stat{padding:16px 18px}
html[data-embedded] .stat strong{font-size:27px}
html[data-embedded] .stat small{display:block;margin:5px 0 0}
html[data-embedded] .queue:not(.activity-list){flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
html[data-embedded] .queue-toolbar{flex-shrink:0;padding:13px 15px;min-height:64px}
html[data-embedded] #queue-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
html[data-embedded] .table-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
html[data-embedded] th{position:sticky;top:0;z-index:1}
html[data-embedded] td,html[data-embedded] th{padding:16px 14px}
html[data-embedded] .queue-footer{flex-shrink:0;padding:13px 16px}
html[data-embedded] .staff-main>p.tiny{flex-shrink:0;margin-top:12px!important;font-size:9px}
html[data-embedded] .activity-list{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
html[data-embedded] .setup-grid{grid-template-columns:1fr 1fr;min-height:0;flex:1;overflow:auto;scrollbar-width:thin;gap:12px}
html[data-embedded] .setup-card{padding:18px}
html[data-embedded] .setup-card p{font-size:11px;margin-bottom:12px}
html[data-embedded] .setup-card p:last-child{margin-top:12px!important}
html[data-embedded] .setup-card .service-icon{margin-bottom:10px}
html[data-embedded] .modal{display:flex;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden}
html[data-embedded] .detail-events{min-height:0;overflow:auto;max-height:200px;scrollbar-width:thin}
html[data-embedded] .detail-meta{gap:14px;padding:14px;margin:14px 0}
html[data-embedded] .detail-notes{max-height:110px;overflow:auto;scrollbar-width:thin}
html[data-embedded] .modal-top,html[data-embedded] .modal-actions{flex-shrink:0}
html[data-embedded] .patient[data-route=status] .summary-row{display:none}html[data-embedded] .patient[data-route=status] .summary-head{margin-bottom:0}html[data-embedded] .patient[data-route=status] .timeline{padding:12px 18px;margin:10px 0}html[data-embedded] .patient[data-route=status] .timeline-step{padding-bottom:13px}html[data-embedded] .patient[data-route=status] .timeline-step:last-child{padding-bottom:0}
